@everymatrix/casino-categories-providers 1.60.0 → 1.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCategories-BLC8WVao.cjs +16 -0
- package/components/{CasinoCategories-CpYuQZ7U.js → CasinoCategories-Cl1vb7Iw.js} +474 -476
- package/components/{CasinoCategories-CkBZnT1R.js → CasinoCategories-GrgaECxI.js} +489 -491
- package/components/{CasinoCategoriesProviders-BG-FGTs-.cjs → CasinoCategoriesProviders-8HyBL4Bw.cjs} +1 -1
- package/components/{CasinoCategoriesProviders-De_6ATE1.js → CasinoCategoriesProviders-CXpOIgNg.js} +19 -19
- package/components/{CasinoCategoriesProviders-BDw-rk5g.js → CasinoCategoriesProviders-D4jrn9wT.js} +17 -17
- package/components/{CasinoProviders-DsL3JzjC.js → CasinoProviders-C4awh8Q2.js} +36 -36
- package/components/{CasinoProviders-DJlmVQlk.cjs → CasinoProviders-CHLIrxIw.cjs} +1 -1
- package/components/{CasinoProviders-Cm7soutR.js → CasinoProviders-DMLkADjv.js} +36 -36
- package/es2015/casino-categories-providers.cjs +1 -1
- package/es2015/casino-categories-providers.js +1 -1
- package/esnext/casino-categories-providers.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategories-DqO2b02B.cjs +0 -16
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function L() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function mt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ze() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function oe(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(mt);
|
|
11
11
|
}
|
|
12
12
|
function je(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function pt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let he;
|
|
19
19
|
function pe(e, t) {
|
|
20
20
|
return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function zt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function dt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function yt(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Wt(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(dt(t, r));
|
|
36
36
|
}
|
|
37
37
|
function v(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Zt(e, t, r) {
|
|
41
|
+
const n = Qt(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = O("style");
|
|
44
|
+
i.id = t, i.textContent = r, qt(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Qt(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function Jt(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function qt(e, t) {
|
|
58
58
|
return v(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -67,11 +67,11 @@ function J(e, t, r) {
|
|
|
67
67
|
function F(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function We(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function O(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
77
|
function R(e) {
|
|
@@ -80,27 +80,27 @@ function R(e) {
|
|
|
80
80
|
function $() {
|
|
81
81
|
return R(" ");
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function ci() {
|
|
84
84
|
return R("");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function bt(e, t, r, n) {
|
|
87
87
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
88
88
|
}
|
|
89
89
|
function H(e, t, r) {
|
|
90
90
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function gi(e, t, r) {
|
|
93
93
|
const n = t.toLowerCase();
|
|
94
94
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Jt(e) {
|
|
97
97
|
return Array.from(e.childNodes);
|
|
98
98
|
}
|
|
99
99
|
function D(e, t) {
|
|
100
100
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
101
101
|
t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function Yt(e) {
|
|
104
104
|
const t = {};
|
|
105
105
|
return e.childNodes.forEach(
|
|
106
106
|
/** @param {Element} node */
|
|
@@ -113,20 +113,20 @@ let ne;
|
|
|
113
113
|
function re(e) {
|
|
114
114
|
ne = e;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Kt() {
|
|
117
117
|
if (!ne)
|
|
118
118
|
throw new Error("Function called outside component initialization");
|
|
119
119
|
return ne;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
121
|
+
function er(e) {
|
|
122
|
+
Kt().$$.on_mount.push(e);
|
|
123
123
|
}
|
|
124
|
-
const X = [],
|
|
124
|
+
const X = [], we = [];
|
|
125
125
|
let z = [];
|
|
126
|
-
const
|
|
126
|
+
const Ze = [], tr = /* @__PURE__ */ Promise.resolve();
|
|
127
127
|
let Pe = !1;
|
|
128
|
-
function
|
|
129
|
-
Pe || (Pe = !0,
|
|
128
|
+
function rr() {
|
|
129
|
+
Pe || (Pe = !0, tr.then(I));
|
|
130
130
|
}
|
|
131
131
|
function Ne(e) {
|
|
132
132
|
z.push(e);
|
|
@@ -141,56 +141,56 @@ function I() {
|
|
|
141
141
|
try {
|
|
142
142
|
for (; k < X.length; ) {
|
|
143
143
|
const t = X[k];
|
|
144
|
-
k++, re(t),
|
|
144
|
+
k++, re(t), nr(t.$$);
|
|
145
145
|
}
|
|
146
146
|
} catch (t) {
|
|
147
147
|
throw X.length = 0, k = 0, t;
|
|
148
148
|
}
|
|
149
|
-
for (re(null), X.length = 0, k = 0;
|
|
150
|
-
|
|
149
|
+
for (re(null), X.length = 0, k = 0; we.length; )
|
|
150
|
+
we.pop()();
|
|
151
151
|
for (let t = 0; t < z.length; t += 1) {
|
|
152
152
|
const r = z[t];
|
|
153
153
|
Te.has(r) || (Te.add(r), r());
|
|
154
154
|
}
|
|
155
155
|
z.length = 0;
|
|
156
156
|
} while (X.length);
|
|
157
|
-
for (;
|
|
158
|
-
|
|
157
|
+
for (; Ze.length; )
|
|
158
|
+
Ze.pop()();
|
|
159
159
|
Pe = !1, Te.clear(), re(e);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function nr(e) {
|
|
162
162
|
if (e.fragment !== null) {
|
|
163
163
|
e.update(), oe(e.before_update);
|
|
164
164
|
const t = e.dirty;
|
|
165
165
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function ir(e) {
|
|
169
169
|
const t = [], r = [];
|
|
170
170
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
171
171
|
}
|
|
172
|
-
const
|
|
173
|
-
function
|
|
174
|
-
e && e.i && (
|
|
172
|
+
const sr = /* @__PURE__ */ new Set();
|
|
173
|
+
function or(e, t) {
|
|
174
|
+
e && e.i && (sr.delete(e), e.i(t));
|
|
175
175
|
}
|
|
176
176
|
function le(e) {
|
|
177
177
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function ar(e, t, r) {
|
|
180
180
|
const { fragment: n, after_update: i } = e.$$;
|
|
181
181
|
n && n.m(t, r), Ne(() => {
|
|
182
|
-
const s = e.$$.on_mount.map(
|
|
182
|
+
const s = e.$$.on_mount.map(mt).filter(je);
|
|
183
183
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
|
|
184
184
|
}), i.forEach(Ne);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function ur(e, t) {
|
|
187
187
|
const r = e.$$;
|
|
188
|
-
r.fragment !== null && (
|
|
188
|
+
r.fragment !== null && (ir(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
191
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
190
|
+
function hr(e, t) {
|
|
191
|
+
e.$$.dirty[0] === -1 && (X.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function lr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
194
194
|
const l = ne;
|
|
195
195
|
re(e);
|
|
196
196
|
const a = e.$$ = {
|
|
@@ -200,7 +200,7 @@ function fr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
200
200
|
props: s,
|
|
201
201
|
update: L,
|
|
202
202
|
not_equal: i,
|
|
203
|
-
bound:
|
|
203
|
+
bound: ze(),
|
|
204
204
|
// lifecycle
|
|
205
205
|
on_mount: [],
|
|
206
206
|
on_destroy: [],
|
|
@@ -209,28 +209,28 @@ function fr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
209
209
|
after_update: [],
|
|
210
210
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
211
211
|
// everything else
|
|
212
|
-
callbacks:
|
|
212
|
+
callbacks: ze(),
|
|
213
213
|
dirty: u,
|
|
214
214
|
skip_bound: !1,
|
|
215
215
|
root: t.target || l.$$.root
|
|
216
216
|
};
|
|
217
217
|
o && o(a.root);
|
|
218
218
|
let h = !1;
|
|
219
|
-
if (a.ctx = r ? r(e, t.props || {}, (
|
|
220
|
-
const d = p.length ? p[0] :
|
|
221
|
-
return a.ctx && i(a.ctx[
|
|
219
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
220
|
+
const d = p.length ? p[0] : f;
|
|
221
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && hr(e, c)), f;
|
|
222
222
|
}) : [], a.update(), h = !0, oe(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
223
223
|
if (t.hydrate) {
|
|
224
|
-
const
|
|
225
|
-
a.fragment && a.fragment.l(
|
|
224
|
+
const c = Jt(t.target);
|
|
225
|
+
a.fragment && a.fragment.l(c), c.forEach(F);
|
|
226
226
|
} else
|
|
227
227
|
a.fragment && a.fragment.c();
|
|
228
|
-
t.intro &&
|
|
228
|
+
t.intro && or(e.$$.fragment), ar(e, t.target, t.anchor), I();
|
|
229
229
|
}
|
|
230
230
|
re(l);
|
|
231
231
|
}
|
|
232
|
-
let
|
|
233
|
-
typeof HTMLElement == "function" && (
|
|
232
|
+
let yt;
|
|
233
|
+
typeof HTMLElement == "function" && (yt = class extends HTMLElement {
|
|
234
234
|
/** The Svelte component constructor */
|
|
235
235
|
$$ctor;
|
|
236
236
|
/** Slots */
|
|
@@ -272,7 +272,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
272
272
|
let s;
|
|
273
273
|
return {
|
|
274
274
|
c: function() {
|
|
275
|
-
s =
|
|
275
|
+
s = O("slot"), i !== "default" && H(s, "name", i);
|
|
276
276
|
},
|
|
277
277
|
/**
|
|
278
278
|
* @param {HTMLElement} target
|
|
@@ -289,12 +289,12 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
289
289
|
};
|
|
290
290
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
291
291
|
return;
|
|
292
|
-
const t = {}, r =
|
|
292
|
+
const t = {}, r = Yt(this);
|
|
293
293
|
for (const i of this.$$s)
|
|
294
294
|
i in r && (t[i] = [e(i)]);
|
|
295
295
|
for (const i of this.attributes) {
|
|
296
296
|
const s = this.$$g_p(i.name);
|
|
297
|
-
s in this.$$d || (this.$$d[s] =
|
|
297
|
+
s in this.$$d || (this.$$d[s] = ce(s, i.value, this.$$p_d, "toProp"));
|
|
298
298
|
}
|
|
299
299
|
for (const i in this.$$p_d)
|
|
300
300
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -312,7 +312,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
312
312
|
this.$$r = !0;
|
|
313
313
|
for (const i in this.$$p_d)
|
|
314
314
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
315
|
-
const s =
|
|
315
|
+
const s = ce(
|
|
316
316
|
i,
|
|
317
317
|
this.$$d[i],
|
|
318
318
|
this.$$p_d,
|
|
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
334
334
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
335
335
|
// and setting attributes through setAttribute etc, this is helpful
|
|
336
336
|
attributeChangedCallback(e, t, r) {
|
|
337
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
337
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
338
338
|
}
|
|
339
339
|
disconnectedCallback() {
|
|
340
340
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -347,7 +347,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
347
347
|
) || e;
|
|
348
348
|
}
|
|
349
349
|
});
|
|
350
|
-
function
|
|
350
|
+
function ce(e, t, r, n) {
|
|
351
351
|
const i = r[e]?.type;
|
|
352
352
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
353
353
|
return t;
|
|
@@ -376,8 +376,8 @@ function fe(e, t, r, n) {
|
|
|
376
376
|
return t;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
function
|
|
380
|
-
let o = class extends
|
|
379
|
+
function fr(e, t, r, n, i, s) {
|
|
380
|
+
let o = class extends yt {
|
|
381
381
|
constructor() {
|
|
382
382
|
super(e, r, i), this.$$p_d = t;
|
|
383
383
|
}
|
|
@@ -393,7 +393,7 @@ function gr(e, t, r, n, i, s) {
|
|
|
393
393
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
394
394
|
},
|
|
395
395
|
set(l) {
|
|
396
|
-
l =
|
|
396
|
+
l = ce(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
|
|
397
397
|
}
|
|
398
398
|
});
|
|
399
399
|
}), n.forEach((u) => {
|
|
@@ -405,7 +405,7 @@ function gr(e, t, r, n, i, s) {
|
|
|
405
405
|
}), e.element = /** @type {any} */
|
|
406
406
|
o, o;
|
|
407
407
|
}
|
|
408
|
-
class
|
|
408
|
+
class cr {
|
|
409
409
|
/**
|
|
410
410
|
* ### PRIVATE API
|
|
411
411
|
*
|
|
@@ -424,7 +424,7 @@ class mr {
|
|
|
424
424
|
$$set = void 0;
|
|
425
425
|
/** @returns {void} */
|
|
426
426
|
$destroy() {
|
|
427
|
-
|
|
427
|
+
ur(this, 1), this.$destroy = L;
|
|
428
428
|
}
|
|
429
429
|
/**
|
|
430
430
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -446,13 +446,13 @@ class mr {
|
|
|
446
446
|
* @returns {void}
|
|
447
447
|
*/
|
|
448
448
|
$set(t) {
|
|
449
|
-
this.$$set && !
|
|
449
|
+
this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
const
|
|
453
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
452
|
+
const gr = "4";
|
|
453
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gr);
|
|
454
454
|
const V = [];
|
|
455
|
-
function
|
|
455
|
+
function mr(e, t) {
|
|
456
456
|
return {
|
|
457
457
|
subscribe: ye(e, t).subscribe
|
|
458
458
|
};
|
|
@@ -461,7 +461,7 @@ function ye(e, t = L) {
|
|
|
461
461
|
let r;
|
|
462
462
|
const n = /* @__PURE__ */ new Set();
|
|
463
463
|
function i(u) {
|
|
464
|
-
if (
|
|
464
|
+
if (pt(e, u) && (e = u, r)) {
|
|
465
465
|
const l = !V.length;
|
|
466
466
|
for (const a of n)
|
|
467
467
|
a[1](), V.push(a, e);
|
|
@@ -488,96 +488,96 @@ function Y(e, t, r) {
|
|
|
488
488
|
if (!i.every(Boolean))
|
|
489
489
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
490
490
|
const s = t.length < 2;
|
|
491
|
-
return
|
|
491
|
+
return mr(r, (o, u) => {
|
|
492
492
|
let l = !1;
|
|
493
493
|
const a = [];
|
|
494
|
-
let h = 0,
|
|
495
|
-
const
|
|
494
|
+
let h = 0, c = L;
|
|
495
|
+
const f = () => {
|
|
496
496
|
if (h)
|
|
497
497
|
return;
|
|
498
|
-
|
|
498
|
+
c();
|
|
499
499
|
const d = t(n ? a[0] : a, o, u);
|
|
500
|
-
s ? o(d) :
|
|
500
|
+
s ? o(d) : c = je(d) ? d : L;
|
|
501
501
|
}, p = i.map(
|
|
502
|
-
(d, g) =>
|
|
502
|
+
(d, g) => dt(
|
|
503
503
|
d,
|
|
504
504
|
(E) => {
|
|
505
|
-
a[g] = E, h &= ~(1 << g), l &&
|
|
505
|
+
a[g] = E, h &= ~(1 << g), l && f();
|
|
506
506
|
},
|
|
507
507
|
() => {
|
|
508
508
|
h |= 1 << g;
|
|
509
509
|
}
|
|
510
510
|
)
|
|
511
511
|
);
|
|
512
|
-
return l = !0,
|
|
513
|
-
oe(p),
|
|
512
|
+
return l = !0, f(), function() {
|
|
513
|
+
oe(p), c(), l = !1;
|
|
514
514
|
};
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function pr(e) {
|
|
518
518
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
519
519
|
}
|
|
520
|
-
var
|
|
521
|
-
return
|
|
520
|
+
var dr = function(t) {
|
|
521
|
+
return br(t) && !yr(t);
|
|
522
522
|
};
|
|
523
|
-
function
|
|
523
|
+
function br(e) {
|
|
524
524
|
return !!e && typeof e == "object";
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function yr(e) {
|
|
527
527
|
var t = Object.prototype.toString.call(e);
|
|
528
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
528
|
+
return t === "[object RegExp]" || t === "[object Date]" || Er(e);
|
|
529
529
|
}
|
|
530
|
-
var
|
|
531
|
-
function
|
|
532
|
-
return e.$$typeof ===
|
|
530
|
+
var _r = typeof Symbol == "function" && Symbol.for, xr = _r ? Symbol.for("react.element") : 60103;
|
|
531
|
+
function Er(e) {
|
|
532
|
+
return e.$$typeof === xr;
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function vr(e) {
|
|
535
535
|
return Array.isArray(e) ? [] : {};
|
|
536
536
|
}
|
|
537
537
|
function ie(e, t) {
|
|
538
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? W(
|
|
538
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? W(vr(e), e, t) : e;
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function Tr(e, t, r) {
|
|
541
541
|
return e.concat(t).map(function(n) {
|
|
542
542
|
return ie(n, r);
|
|
543
543
|
});
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function Cr(e, t) {
|
|
546
546
|
if (!t.customMerge)
|
|
547
547
|
return W;
|
|
548
548
|
var r = t.customMerge(e);
|
|
549
549
|
return typeof r == "function" ? r : W;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function Hr(e) {
|
|
552
552
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
553
553
|
return Object.propertyIsEnumerable.call(e, t);
|
|
554
554
|
}) : [];
|
|
555
555
|
}
|
|
556
|
-
function
|
|
557
|
-
return Object.keys(e).concat(
|
|
556
|
+
function Qe(e) {
|
|
557
|
+
return Object.keys(e).concat(Hr(e));
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function _t(e, t) {
|
|
560
560
|
try {
|
|
561
561
|
return t in e;
|
|
562
562
|
} catch {
|
|
563
563
|
return !1;
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
function
|
|
567
|
-
return
|
|
566
|
+
function Ar(e, t) {
|
|
567
|
+
return _t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function Br(e, t, r) {
|
|
570
570
|
var n = {};
|
|
571
|
-
return r.isMergeableObject(e) &&
|
|
571
|
+
return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
|
|
572
572
|
n[i] = ie(e[i], r);
|
|
573
|
-
}),
|
|
574
|
-
|
|
573
|
+
}), Qe(t).forEach(function(i) {
|
|
574
|
+
Ar(e, i) || (_t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Cr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
575
575
|
}), n;
|
|
576
576
|
}
|
|
577
577
|
function W(e, t, r) {
|
|
578
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
578
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Tr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = ie;
|
|
579
579
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
580
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
580
|
+
return s ? n ? r.arrayMerge(e, t, r) : Br(e, t, r) : ie(t, r);
|
|
581
581
|
}
|
|
582
582
|
W.all = function(t, r) {
|
|
583
583
|
if (!Array.isArray(t))
|
|
@@ -586,8 +586,8 @@ W.all = function(t, r) {
|
|
|
586
586
|
return W(n, i, r);
|
|
587
587
|
}, {});
|
|
588
588
|
};
|
|
589
|
-
var
|
|
590
|
-
const
|
|
589
|
+
var Sr = W, Or = Sr;
|
|
590
|
+
const wr = /* @__PURE__ */ pr(Or);
|
|
591
591
|
/*! *****************************************************************************
|
|
592
592
|
Copyright (c) Microsoft Corporation.
|
|
593
593
|
|
|
@@ -629,7 +629,7 @@ var x = function() {
|
|
|
629
629
|
return t;
|
|
630
630
|
}, x.apply(this, arguments);
|
|
631
631
|
};
|
|
632
|
-
function
|
|
632
|
+
function Pr(e, t) {
|
|
633
633
|
var r = {};
|
|
634
634
|
for (var n in e)
|
|
635
635
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -645,55 +645,53 @@ function Ce(e, t, r) {
|
|
|
645
645
|
return e.concat(s || t);
|
|
646
646
|
}
|
|
647
647
|
function He(e, t) {
|
|
648
|
-
var r = t && t.cache ? t.cache :
|
|
648
|
+
var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : $r, i = t && t.strategy ? t.strategy : Ir;
|
|
649
649
|
return i(e, {
|
|
650
650
|
cache: r,
|
|
651
651
|
serializer: n
|
|
652
652
|
});
|
|
653
653
|
}
|
|
654
|
-
function
|
|
654
|
+
function Nr(e) {
|
|
655
655
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
656
656
|
}
|
|
657
|
-
function
|
|
658
|
-
var i =
|
|
657
|
+
function Lr(e, t, r, n) {
|
|
658
|
+
var i = Nr(n) ? n : r(n), s = t.get(i);
|
|
659
659
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function xt(e, t, r) {
|
|
662
662
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
663
663
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function Et(e, t, r, n, i) {
|
|
666
666
|
return r.bind(t, e, n, i);
|
|
667
667
|
}
|
|
668
|
-
function
|
|
669
|
-
var r = e.length === 1 ?
|
|
670
|
-
return
|
|
671
|
-
}
|
|
672
|
-
function $r(e, t) {
|
|
673
|
-
return ke(e, this, Tt, t.cache.create(), t.serializer);
|
|
668
|
+
function Ir(e, t) {
|
|
669
|
+
var r = e.length === 1 ? Lr : xt;
|
|
670
|
+
return Et(e, this, r, t.cache.create(), t.serializer);
|
|
674
671
|
}
|
|
675
|
-
function
|
|
676
|
-
return
|
|
672
|
+
function Mr(e, t) {
|
|
673
|
+
return Et(e, this, xt, t.cache.create(), t.serializer);
|
|
677
674
|
}
|
|
678
|
-
var
|
|
675
|
+
var $r = function() {
|
|
679
676
|
return JSON.stringify(arguments);
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
677
|
+
}, Rr = (
|
|
678
|
+
/** @class */
|
|
679
|
+
function() {
|
|
680
|
+
function e() {
|
|
681
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
682
|
+
}
|
|
683
|
+
return e.prototype.get = function(t) {
|
|
684
|
+
return this.cache[t];
|
|
685
|
+
}, e.prototype.set = function(t, r) {
|
|
686
|
+
this.cache[t] = r;
|
|
687
|
+
}, e;
|
|
688
|
+
}()
|
|
689
|
+
), Ur = {
|
|
691
690
|
create: function() {
|
|
692
|
-
return new
|
|
691
|
+
return new Rr();
|
|
693
692
|
}
|
|
694
693
|
}, Ae = {
|
|
695
|
-
variadic:
|
|
696
|
-
monadic: Rr
|
|
694
|
+
variadic: Mr
|
|
697
695
|
}, y;
|
|
698
696
|
(function(e) {
|
|
699
697
|
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";
|
|
@@ -706,43 +704,43 @@ var Z;
|
|
|
706
704
|
(function(e) {
|
|
707
705
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
708
706
|
})(Z || (Z = {}));
|
|
709
|
-
function
|
|
707
|
+
function qe(e) {
|
|
710
708
|
return e.type === T.literal;
|
|
711
709
|
}
|
|
712
|
-
function
|
|
710
|
+
function Dr(e) {
|
|
713
711
|
return e.type === T.argument;
|
|
714
712
|
}
|
|
715
|
-
function
|
|
713
|
+
function vt(e) {
|
|
716
714
|
return e.type === T.number;
|
|
717
715
|
}
|
|
718
|
-
function
|
|
716
|
+
function Tt(e) {
|
|
719
717
|
return e.type === T.date;
|
|
720
718
|
}
|
|
721
|
-
function
|
|
719
|
+
function Ct(e) {
|
|
722
720
|
return e.type === T.time;
|
|
723
721
|
}
|
|
724
|
-
function
|
|
722
|
+
function Ht(e) {
|
|
725
723
|
return e.type === T.select;
|
|
726
724
|
}
|
|
727
|
-
function
|
|
725
|
+
function At(e) {
|
|
728
726
|
return e.type === T.plural;
|
|
729
727
|
}
|
|
730
|
-
function
|
|
728
|
+
function Gr(e) {
|
|
731
729
|
return e.type === T.pound;
|
|
732
730
|
}
|
|
733
|
-
function
|
|
731
|
+
function Bt(e) {
|
|
734
732
|
return e.type === T.tag;
|
|
735
733
|
}
|
|
736
|
-
function
|
|
734
|
+
function St(e) {
|
|
737
735
|
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
738
736
|
}
|
|
739
737
|
function Ie(e) {
|
|
740
738
|
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
741
739
|
}
|
|
742
|
-
var
|
|
743
|
-
function
|
|
740
|
+
var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fr = /(?:[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;
|
|
741
|
+
function jr(e) {
|
|
744
742
|
var t = {};
|
|
745
|
-
return e.replace(
|
|
743
|
+
return e.replace(Fr, function(r) {
|
|
746
744
|
var n = r.length;
|
|
747
745
|
switch (r[0]) {
|
|
748
746
|
case "G":
|
|
@@ -831,36 +829,36 @@ function kr(e) {
|
|
|
831
829
|
return "";
|
|
832
830
|
}), t;
|
|
833
831
|
}
|
|
834
|
-
var
|
|
835
|
-
function
|
|
832
|
+
var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
833
|
+
function Vr(e) {
|
|
836
834
|
if (e.length === 0)
|
|
837
835
|
throw new Error("Number skeleton cannot be empty");
|
|
838
|
-
for (var t = e.split(
|
|
839
|
-
return
|
|
836
|
+
for (var t = e.split(kr).filter(function(f) {
|
|
837
|
+
return f.length > 0;
|
|
840
838
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
841
839
|
var s = i[n], o = s.split("/");
|
|
842
840
|
if (o.length === 0)
|
|
843
841
|
throw new Error("Invalid number skeleton");
|
|
844
842
|
for (var u = o[0], l = o.slice(1), a = 0, h = l; a < h.length; a++) {
|
|
845
|
-
var
|
|
846
|
-
if (
|
|
843
|
+
var c = h[a];
|
|
844
|
+
if (c.length === 0)
|
|
847
845
|
throw new Error("Invalid number skeleton");
|
|
848
846
|
}
|
|
849
847
|
r.push({ stem: u, options: l });
|
|
850
848
|
}
|
|
851
849
|
return r;
|
|
852
850
|
}
|
|
853
|
-
function
|
|
851
|
+
function Xr(e) {
|
|
854
852
|
return e.replace(/^(.*?)-/, "");
|
|
855
853
|
}
|
|
856
|
-
var
|
|
857
|
-
function
|
|
854
|
+
var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, Pt = /^(0+)$/;
|
|
855
|
+
function Ye(e) {
|
|
858
856
|
var t = {};
|
|
859
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
857
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wt, function(r, n, i) {
|
|
860
858
|
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)), "";
|
|
861
859
|
}), t;
|
|
862
860
|
}
|
|
863
|
-
function
|
|
861
|
+
function Nt(e) {
|
|
864
862
|
switch (e) {
|
|
865
863
|
case "sign-auto":
|
|
866
864
|
return {
|
|
@@ -900,7 +898,7 @@ function It(e) {
|
|
|
900
898
|
};
|
|
901
899
|
}
|
|
902
900
|
}
|
|
903
|
-
function
|
|
901
|
+
function Wr(e) {
|
|
904
902
|
var t;
|
|
905
903
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
906
904
|
notation: "engineering"
|
|
@@ -908,17 +906,17 @@ function Zr(e) {
|
|
|
908
906
|
notation: "scientific"
|
|
909
907
|
}, e = e.slice(1)), t) {
|
|
910
908
|
var r = e.slice(0, 2);
|
|
911
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
909
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pt.test(e))
|
|
912
910
|
throw new Error("Malformed concise eng/scientific notation");
|
|
913
911
|
t.minimumIntegerDigits = e.length;
|
|
914
912
|
}
|
|
915
913
|
return t;
|
|
916
914
|
}
|
|
917
|
-
function
|
|
918
|
-
var t = {}, r =
|
|
915
|
+
function Ke(e) {
|
|
916
|
+
var t = {}, r = Nt(e);
|
|
919
917
|
return r || t;
|
|
920
918
|
}
|
|
921
|
-
function
|
|
919
|
+
function Zr(e) {
|
|
922
920
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
923
921
|
var i = n[r];
|
|
924
922
|
switch (i.stem) {
|
|
@@ -942,7 +940,7 @@ function Qr(e) {
|
|
|
942
940
|
continue;
|
|
943
941
|
case "measure-unit":
|
|
944
942
|
case "unit":
|
|
945
|
-
t.style = "unit", t.unit =
|
|
943
|
+
t.style = "unit", t.unit = Xr(i.options[0]);
|
|
946
944
|
continue;
|
|
947
945
|
case "compact-short":
|
|
948
946
|
case "K":
|
|
@@ -954,12 +952,12 @@ function Qr(e) {
|
|
|
954
952
|
continue;
|
|
955
953
|
case "scientific":
|
|
956
954
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
|
957
|
-
return x(x({}, l),
|
|
955
|
+
return x(x({}, l), Ke(a));
|
|
958
956
|
}, {}));
|
|
959
957
|
continue;
|
|
960
958
|
case "engineering":
|
|
961
959
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
|
962
|
-
return x(x({}, l),
|
|
960
|
+
return x(x({}, l), Ke(a));
|
|
963
961
|
}, {}));
|
|
964
962
|
continue;
|
|
965
963
|
case "notation-simple":
|
|
@@ -1004,11 +1002,11 @@ function Qr(e) {
|
|
|
1004
1002
|
case "integer-width":
|
|
1005
1003
|
if (i.options.length > 1)
|
|
1006
1004
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1007
|
-
i.options[0].replace(
|
|
1005
|
+
i.options[0].replace(zr, function(l, a, h, c, f, p) {
|
|
1008
1006
|
if (a)
|
|
1009
1007
|
t.minimumIntegerDigits = h.length;
|
|
1010
1008
|
else {
|
|
1011
|
-
if (
|
|
1009
|
+
if (c && f)
|
|
1012
1010
|
throw new Error("We currently do not support maximum integer digits");
|
|
1013
1011
|
if (p)
|
|
1014
1012
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1017,32 +1015,32 @@ function Qr(e) {
|
|
|
1017
1015
|
});
|
|
1018
1016
|
continue;
|
|
1019
1017
|
}
|
|
1020
|
-
if (
|
|
1018
|
+
if (Pt.test(i.stem)) {
|
|
1021
1019
|
t.minimumIntegerDigits = i.stem.length;
|
|
1022
1020
|
continue;
|
|
1023
1021
|
}
|
|
1024
|
-
if (
|
|
1022
|
+
if (Je.test(i.stem)) {
|
|
1025
1023
|
if (i.options.length > 1)
|
|
1026
1024
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1027
|
-
i.stem.replace(
|
|
1028
|
-
return h === "*" ? t.minimumFractionDigits = a.length :
|
|
1025
|
+
i.stem.replace(Je, function(l, a, h, c, f, p) {
|
|
1026
|
+
return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1029
1027
|
});
|
|
1030
1028
|
var s = i.options[0];
|
|
1031
|
-
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t),
|
|
1029
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Ye(s)));
|
|
1032
1030
|
continue;
|
|
1033
1031
|
}
|
|
1034
|
-
if (
|
|
1035
|
-
t = x(x({}, t),
|
|
1032
|
+
if (wt.test(i.stem)) {
|
|
1033
|
+
t = x(x({}, t), Ye(i.stem));
|
|
1036
1034
|
continue;
|
|
1037
1035
|
}
|
|
1038
|
-
var o =
|
|
1036
|
+
var o = Nt(i.stem);
|
|
1039
1037
|
o && (t = x(x({}, t), o));
|
|
1040
|
-
var u =
|
|
1038
|
+
var u = Wr(i.stem);
|
|
1041
1039
|
u && (t = x(x({}, t), u));
|
|
1042
1040
|
}
|
|
1043
1041
|
return t;
|
|
1044
1042
|
}
|
|
1045
|
-
var
|
|
1043
|
+
var fe = {
|
|
1046
1044
|
"001": [
|
|
1047
1045
|
"H",
|
|
1048
1046
|
"h"
|
|
@@ -2457,13 +2455,13 @@ var ce = {
|
|
|
2457
2455
|
"h"
|
|
2458
2456
|
]
|
|
2459
2457
|
};
|
|
2460
|
-
function
|
|
2458
|
+
function Qr(e, t) {
|
|
2461
2459
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2462
2460
|
var i = e.charAt(n);
|
|
2463
2461
|
if (i === "j") {
|
|
2464
2462
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2465
2463
|
s++, n++;
|
|
2466
|
-
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a =
|
|
2464
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = qr(t);
|
|
2467
2465
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2468
2466
|
r += l;
|
|
2469
2467
|
for (; o-- > 0; )
|
|
@@ -2473,7 +2471,7 @@ function qr(e, t) {
|
|
|
2473
2471
|
}
|
|
2474
2472
|
return r;
|
|
2475
2473
|
}
|
|
2476
|
-
function
|
|
2474
|
+
function qr(e) {
|
|
2477
2475
|
var t = e.hourCycle;
|
|
2478
2476
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2479
2477
|
e.hourCycles && // @ts-ignore
|
|
@@ -2492,23 +2490,23 @@ function Jr(e) {
|
|
|
2492
2490
|
}
|
|
2493
2491
|
var r = e.language, n;
|
|
2494
2492
|
r !== "root" && (n = e.maximize().region);
|
|
2495
|
-
var i =
|
|
2493
|
+
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
2496
2494
|
return i[0];
|
|
2497
2495
|
}
|
|
2498
|
-
var Be,
|
|
2496
|
+
var Be, Jr = new RegExp("^".concat(Ot.source, "*")), Yr = new RegExp("".concat(Ot.source, "*$"));
|
|
2499
2497
|
function _(e, t) {
|
|
2500
2498
|
return { start: e, end: t };
|
|
2501
2499
|
}
|
|
2502
|
-
var
|
|
2500
|
+
var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, sn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, an = on ? Number.isSafeInteger : function(e) {
|
|
2503
2501
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2504
2502
|
}, Me = !0;
|
|
2505
2503
|
try {
|
|
2506
|
-
var
|
|
2507
|
-
Me = ((Be =
|
|
2504
|
+
var un = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2505
|
+
Me = ((Be = un.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
|
|
2508
2506
|
} catch {
|
|
2509
2507
|
Me = !1;
|
|
2510
2508
|
}
|
|
2511
|
-
var
|
|
2509
|
+
var et = Kr ? (
|
|
2512
2510
|
// Native
|
|
2513
2511
|
function(t, r, n) {
|
|
2514
2512
|
return t.startsWith(r, n);
|
|
@@ -2518,7 +2516,7 @@ var rt = en ? (
|
|
|
2518
2516
|
function(t, r, n) {
|
|
2519
2517
|
return t.slice(n, n + r.length) === r;
|
|
2520
2518
|
}
|
|
2521
|
-
), $e =
|
|
2519
|
+
), $e = en ? String.fromCodePoint : (
|
|
2522
2520
|
// IE11
|
|
2523
2521
|
function() {
|
|
2524
2522
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2530,9 +2528,9 @@ var rt = en ? (
|
|
|
2530
2528
|
}
|
|
2531
2529
|
return n;
|
|
2532
2530
|
}
|
|
2533
|
-
),
|
|
2531
|
+
), tt = (
|
|
2534
2532
|
// native
|
|
2535
|
-
|
|
2533
|
+
tn ? Object.fromEntries : (
|
|
2536
2534
|
// Ponyfill
|
|
2537
2535
|
function(t) {
|
|
2538
2536
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2542,7 +2540,7 @@ var rt = en ? (
|
|
|
2542
2540
|
return r;
|
|
2543
2541
|
}
|
|
2544
2542
|
)
|
|
2545
|
-
),
|
|
2543
|
+
), Lt = rn ? (
|
|
2546
2544
|
// Native
|
|
2547
2545
|
function(t, r) {
|
|
2548
2546
|
return t.codePointAt(r);
|
|
@@ -2556,7 +2554,7 @@ var rt = en ? (
|
|
|
2556
2554
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2557
2555
|
}
|
|
2558
2556
|
}
|
|
2559
|
-
),
|
|
2557
|
+
), hn = nn ? (
|
|
2560
2558
|
// Native
|
|
2561
2559
|
function(t) {
|
|
2562
2560
|
return t.trimStart();
|
|
@@ -2564,9 +2562,9 @@ var rt = en ? (
|
|
|
2564
2562
|
) : (
|
|
2565
2563
|
// Ponyfill
|
|
2566
2564
|
function(t) {
|
|
2567
|
-
return t.replace(
|
|
2565
|
+
return t.replace(Jr, "");
|
|
2568
2566
|
}
|
|
2569
|
-
),
|
|
2567
|
+
), ln = sn ? (
|
|
2570
2568
|
// Native
|
|
2571
2569
|
function(t) {
|
|
2572
2570
|
return t.trimEnd();
|
|
@@ -2574,26 +2572,26 @@ var rt = en ? (
|
|
|
2574
2572
|
) : (
|
|
2575
2573
|
// Ponyfill
|
|
2576
2574
|
function(t) {
|
|
2577
|
-
return t.replace(
|
|
2575
|
+
return t.replace(Yr, "");
|
|
2578
2576
|
}
|
|
2579
2577
|
);
|
|
2580
|
-
function
|
|
2578
|
+
function It(e, t) {
|
|
2581
2579
|
return new RegExp(e, t);
|
|
2582
2580
|
}
|
|
2583
2581
|
var Re;
|
|
2584
2582
|
if (Me) {
|
|
2585
|
-
var
|
|
2583
|
+
var rt = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2586
2584
|
Re = function(t, r) {
|
|
2587
2585
|
var n;
|
|
2588
|
-
|
|
2589
|
-
var i =
|
|
2586
|
+
rt.lastIndex = r;
|
|
2587
|
+
var i = rt.exec(t);
|
|
2590
2588
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2591
2589
|
};
|
|
2592
2590
|
} else
|
|
2593
2591
|
Re = function(t, r) {
|
|
2594
2592
|
for (var n = []; ; ) {
|
|
2595
|
-
var i =
|
|
2596
|
-
if (i === void 0 ||
|
|
2593
|
+
var i = Lt(t, r);
|
|
2594
|
+
if (i === void 0 || Mt(i) || mn(i))
|
|
2597
2595
|
break;
|
|
2598
2596
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2599
2597
|
}
|
|
@@ -2681,7 +2679,7 @@ var fn = (
|
|
|
2681
2679
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2682
2680
|
}, e.prototype.parseTagName = function() {
|
|
2683
2681
|
var t = this.offset();
|
|
2684
|
-
for (this.bump(); !this.isEOF() &&
|
|
2682
|
+
for (this.bump(); !this.isEOF() && gn(this.char()); )
|
|
2685
2683
|
this.bump();
|
|
2686
2684
|
return this.message.slice(t, this.offset());
|
|
2687
2685
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2710,7 +2708,7 @@ var fn = (
|
|
|
2710
2708
|
};
|
|
2711
2709
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2712
2710
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2713
|
-
!
|
|
2711
|
+
!cn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2714
2712
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2715
2713
|
if (this.isEOF() || this.char() !== 39)
|
|
2716
2714
|
return null;
|
|
@@ -2794,40 +2792,40 @@ var fn = (
|
|
|
2794
2792
|
var a = null;
|
|
2795
2793
|
if (this.bumpIf(",")) {
|
|
2796
2794
|
this.bumpSpace();
|
|
2797
|
-
var h = this.clonePosition(),
|
|
2798
|
-
if (
|
|
2799
|
-
return
|
|
2800
|
-
var
|
|
2801
|
-
if (
|
|
2795
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2796
|
+
if (c.err)
|
|
2797
|
+
return c;
|
|
2798
|
+
var f = ln(c.val);
|
|
2799
|
+
if (f.length === 0)
|
|
2802
2800
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2803
2801
|
var p = _(h, this.clonePosition());
|
|
2804
|
-
a = { style:
|
|
2802
|
+
a = { style: f, styleLocation: p };
|
|
2805
2803
|
}
|
|
2806
2804
|
var d = this.tryParseArgumentClose(i);
|
|
2807
2805
|
if (d.err)
|
|
2808
2806
|
return d;
|
|
2809
2807
|
var g = _(i, this.clonePosition());
|
|
2810
|
-
if (a &&
|
|
2811
|
-
var E =
|
|
2808
|
+
if (a && et(a?.style, "::", 0)) {
|
|
2809
|
+
var E = hn(a.style.slice(2));
|
|
2812
2810
|
if (u === "number") {
|
|
2813
|
-
var
|
|
2814
|
-
return
|
|
2815
|
-
val: { type: T.number, value: n, location: g, style:
|
|
2811
|
+
var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
|
2812
|
+
return c.err ? c : {
|
|
2813
|
+
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2816
2814
|
err: null
|
|
2817
2815
|
};
|
|
2818
2816
|
} else {
|
|
2819
2817
|
if (E.length === 0)
|
|
2820
2818
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2821
2819
|
var m = E;
|
|
2822
|
-
this.locale && (m =
|
|
2823
|
-
var
|
|
2820
|
+
this.locale && (m = Qr(E, this.locale));
|
|
2821
|
+
var f = {
|
|
2824
2822
|
type: Z.dateTime,
|
|
2825
2823
|
pattern: m,
|
|
2826
2824
|
location: a.styleLocation,
|
|
2827
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2825
|
+
parsedOptions: this.shouldParseSkeletons ? jr(m) : {}
|
|
2828
2826
|
}, C = u === "date" ? T.date : T.time;
|
|
2829
2827
|
return {
|
|
2830
|
-
val: { type: C, value: n, location: g, style:
|
|
2828
|
+
val: { type: C, value: n, location: g, style: f },
|
|
2831
2829
|
err: null
|
|
2832
2830
|
};
|
|
2833
2831
|
}
|
|
@@ -2854,10 +2852,10 @@ var fn = (
|
|
|
2854
2852
|
if (!this.bumpIf(":"))
|
|
2855
2853
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2856
2854
|
this.bumpSpace();
|
|
2857
|
-
var
|
|
2858
|
-
if (
|
|
2859
|
-
return
|
|
2860
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(), S =
|
|
2855
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2856
|
+
if (c.err)
|
|
2857
|
+
return c;
|
|
2858
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), S = c.val;
|
|
2861
2859
|
}
|
|
2862
2860
|
var A = this.tryParsePluralOrSelectOptions(t, u, r, P);
|
|
2863
2861
|
if (A.err)
|
|
@@ -2870,7 +2868,7 @@ var fn = (
|
|
|
2870
2868
|
val: {
|
|
2871
2869
|
type: T.select,
|
|
2872
2870
|
value: n,
|
|
2873
|
-
options:
|
|
2871
|
+
options: tt(A.val),
|
|
2874
2872
|
location: N
|
|
2875
2873
|
},
|
|
2876
2874
|
err: null
|
|
@@ -2878,7 +2876,7 @@ var fn = (
|
|
|
2878
2876
|
val: {
|
|
2879
2877
|
type: T.plural,
|
|
2880
2878
|
value: n,
|
|
2881
|
-
options:
|
|
2879
|
+
options: tt(A.val),
|
|
2882
2880
|
offset: S,
|
|
2883
2881
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2884
2882
|
location: N
|
|
@@ -2929,7 +2927,7 @@ var fn = (
|
|
|
2929
2927
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2930
2928
|
var n = [];
|
|
2931
2929
|
try {
|
|
2932
|
-
n =
|
|
2930
|
+
n = Vr(t);
|
|
2933
2931
|
} catch {
|
|
2934
2932
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
2935
2933
|
}
|
|
@@ -2938,19 +2936,19 @@ var fn = (
|
|
|
2938
2936
|
type: Z.number,
|
|
2939
2937
|
tokens: n,
|
|
2940
2938
|
location: r,
|
|
2941
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2939
|
+
parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
|
|
2942
2940
|
},
|
|
2943
2941
|
err: null
|
|
2944
2942
|
};
|
|
2945
2943
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2946
2944
|
for (var s, o = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
|
|
2947
2945
|
if (a.length === 0) {
|
|
2948
|
-
var
|
|
2946
|
+
var c = this.clonePosition();
|
|
2949
2947
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2950
|
-
var
|
|
2951
|
-
if (
|
|
2952
|
-
return
|
|
2953
|
-
h = _(
|
|
2948
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2949
|
+
if (f.err)
|
|
2950
|
+
return f;
|
|
2951
|
+
h = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
2954
2952
|
} else
|
|
2955
2953
|
break;
|
|
2956
2954
|
}
|
|
@@ -2986,7 +2984,7 @@ var fn = (
|
|
|
2986
2984
|
break;
|
|
2987
2985
|
}
|
|
2988
2986
|
var l = _(i, this.clonePosition());
|
|
2989
|
-
return s ? (o *= n,
|
|
2987
|
+
return s ? (o *= n, an(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
2990
2988
|
}, e.prototype.offset = function() {
|
|
2991
2989
|
return this.position.offset;
|
|
2992
2990
|
}, e.prototype.isEOF = function() {
|
|
@@ -3001,7 +2999,7 @@ var fn = (
|
|
|
3001
2999
|
var t = this.position.offset;
|
|
3002
3000
|
if (t >= this.message.length)
|
|
3003
3001
|
throw Error("out of bound");
|
|
3004
|
-
var r =
|
|
3002
|
+
var r = Lt(this.message, t);
|
|
3005
3003
|
if (r === void 0)
|
|
3006
3004
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3007
3005
|
return r;
|
|
@@ -3020,7 +3018,7 @@ var fn = (
|
|
|
3020
3018
|
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);
|
|
3021
3019
|
}
|
|
3022
3020
|
}, e.prototype.bumpIf = function(t) {
|
|
3023
|
-
if (
|
|
3021
|
+
if (et(this.message, t, this.offset())) {
|
|
3024
3022
|
for (var r = 0; r < t.length; r++)
|
|
3025
3023
|
this.bump();
|
|
3026
3024
|
return !0;
|
|
@@ -3042,7 +3040,7 @@ var fn = (
|
|
|
3042
3040
|
break;
|
|
3043
3041
|
}
|
|
3044
3042
|
}, e.prototype.bumpSpace = function() {
|
|
3045
|
-
for (; !this.isEOF() &&
|
|
3043
|
+
for (; !this.isEOF() && Mt(this.char()); )
|
|
3046
3044
|
this.bump();
|
|
3047
3045
|
}, e.prototype.peek = function() {
|
|
3048
3046
|
if (this.isEOF())
|
|
@@ -3055,28 +3053,28 @@ var fn = (
|
|
|
3055
3053
|
function Ue(e) {
|
|
3056
3054
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3057
3055
|
}
|
|
3058
|
-
function
|
|
3056
|
+
function cn(e) {
|
|
3059
3057
|
return Ue(e) || e === 47;
|
|
3060
3058
|
}
|
|
3061
|
-
function
|
|
3059
|
+
function gn(e) {
|
|
3062
3060
|
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;
|
|
3063
3061
|
}
|
|
3064
|
-
function
|
|
3062
|
+
function Mt(e) {
|
|
3065
3063
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3066
3064
|
}
|
|
3067
|
-
function
|
|
3065
|
+
function mn(e) {
|
|
3068
3066
|
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;
|
|
3069
3067
|
}
|
|
3070
3068
|
function De(e) {
|
|
3071
3069
|
e.forEach(function(t) {
|
|
3072
|
-
if (delete t.location,
|
|
3070
|
+
if (delete t.location, Ht(t) || At(t))
|
|
3073
3071
|
for (var r in t.options)
|
|
3074
3072
|
delete t.options[r].location, De(t.options[r].value);
|
|
3075
3073
|
else
|
|
3076
|
-
|
|
3074
|
+
vt(t) && St(t.style) || (Tt(t) || Ct(t)) && Ie(t.style) ? delete t.style.location : Bt(t) && De(t.children);
|
|
3077
3075
|
});
|
|
3078
3076
|
}
|
|
3079
|
-
function
|
|
3077
|
+
function pn(e, t) {
|
|
3080
3078
|
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3081
3079
|
var r = new fn(e, t).parse();
|
|
3082
3080
|
if (r.err) {
|
|
@@ -3101,7 +3099,7 @@ var xe = (
|
|
|
3101
3099
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3102
3100
|
}, t;
|
|
3103
3101
|
}(Error)
|
|
3104
|
-
),
|
|
3102
|
+
), nt = (
|
|
3105
3103
|
/** @class */
|
|
3106
3104
|
function(e) {
|
|
3107
3105
|
_e(t, e);
|
|
@@ -3110,7 +3108,7 @@ var xe = (
|
|
|
3110
3108
|
}
|
|
3111
3109
|
return t;
|
|
3112
3110
|
}(xe)
|
|
3113
|
-
),
|
|
3111
|
+
), dn = (
|
|
3114
3112
|
/** @class */
|
|
3115
3113
|
function(e) {
|
|
3116
3114
|
_e(t, e);
|
|
@@ -3119,7 +3117,7 @@ var xe = (
|
|
|
3119
3117
|
}
|
|
3120
3118
|
return t;
|
|
3121
3119
|
}(xe)
|
|
3122
|
-
),
|
|
3120
|
+
), bn = (
|
|
3123
3121
|
/** @class */
|
|
3124
3122
|
function(e) {
|
|
3125
3123
|
_e(t, e);
|
|
@@ -3128,125 +3126,125 @@ var xe = (
|
|
|
3128
3126
|
}
|
|
3129
3127
|
return t;
|
|
3130
3128
|
}(xe)
|
|
3131
|
-
),
|
|
3129
|
+
), w;
|
|
3132
3130
|
(function(e) {
|
|
3133
3131
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3134
|
-
})(
|
|
3135
|
-
function
|
|
3132
|
+
})(w || (w = {}));
|
|
3133
|
+
function yn(e) {
|
|
3136
3134
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3137
3135
|
var n = t[t.length - 1];
|
|
3138
|
-
return !n || n.type !==
|
|
3136
|
+
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3139
3137
|
}, []);
|
|
3140
3138
|
}
|
|
3141
|
-
function
|
|
3139
|
+
function _n(e) {
|
|
3142
3140
|
return typeof e == "function";
|
|
3143
3141
|
}
|
|
3144
3142
|
function ge(e, t, r, n, i, s, o) {
|
|
3145
|
-
if (e.length === 1 &&
|
|
3143
|
+
if (e.length === 1 && qe(e[0]))
|
|
3146
3144
|
return [
|
|
3147
3145
|
{
|
|
3148
|
-
type:
|
|
3146
|
+
type: w.literal,
|
|
3149
3147
|
value: e[0].value
|
|
3150
3148
|
}
|
|
3151
3149
|
];
|
|
3152
3150
|
for (var u = [], l = 0, a = e; l < a.length; l++) {
|
|
3153
3151
|
var h = a[l];
|
|
3154
|
-
if (
|
|
3152
|
+
if (qe(h)) {
|
|
3155
3153
|
u.push({
|
|
3156
|
-
type:
|
|
3154
|
+
type: w.literal,
|
|
3157
3155
|
value: h.value
|
|
3158
3156
|
});
|
|
3159
3157
|
continue;
|
|
3160
3158
|
}
|
|
3161
|
-
if (
|
|
3159
|
+
if (Gr(h)) {
|
|
3162
3160
|
typeof s == "number" && u.push({
|
|
3163
|
-
type:
|
|
3161
|
+
type: w.literal,
|
|
3164
3162
|
value: r.getNumberFormat(t).format(s)
|
|
3165
3163
|
});
|
|
3166
3164
|
continue;
|
|
3167
3165
|
}
|
|
3168
|
-
var
|
|
3169
|
-
if (!(i &&
|
|
3170
|
-
throw new
|
|
3171
|
-
var
|
|
3172
|
-
if (
|
|
3173
|
-
(!
|
|
3174
|
-
type: typeof
|
|
3175
|
-
value:
|
|
3166
|
+
var c = h.value;
|
|
3167
|
+
if (!(i && c in i))
|
|
3168
|
+
throw new bn(c, o);
|
|
3169
|
+
var f = i[c];
|
|
3170
|
+
if (Dr(h)) {
|
|
3171
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3172
|
+
type: typeof f == "string" ? w.literal : w.object,
|
|
3173
|
+
value: f
|
|
3176
3174
|
});
|
|
3177
3175
|
continue;
|
|
3178
3176
|
}
|
|
3179
|
-
if (
|
|
3177
|
+
if (Tt(h)) {
|
|
3180
3178
|
var p = typeof h.style == "string" ? n.date[h.style] : Ie(h.style) ? h.style.parsedOptions : void 0;
|
|
3181
3179
|
u.push({
|
|
3182
|
-
type:
|
|
3183
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3180
|
+
type: w.literal,
|
|
3181
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3184
3182
|
});
|
|
3185
3183
|
continue;
|
|
3186
3184
|
}
|
|
3187
|
-
if (
|
|
3185
|
+
if (Ct(h)) {
|
|
3188
3186
|
var p = typeof h.style == "string" ? n.time[h.style] : Ie(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3189
3187
|
u.push({
|
|
3190
|
-
type:
|
|
3191
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3188
|
+
type: w.literal,
|
|
3189
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3192
3190
|
});
|
|
3193
3191
|
continue;
|
|
3194
3192
|
}
|
|
3195
|
-
if (
|
|
3196
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3197
|
-
p && p.scale && (
|
|
3198
|
-
type:
|
|
3199
|
-
value: r.getNumberFormat(t, p).format(
|
|
3193
|
+
if (vt(h)) {
|
|
3194
|
+
var p = typeof h.style == "string" ? n.number[h.style] : St(h.style) ? h.style.parsedOptions : void 0;
|
|
3195
|
+
p && p.scale && (f = f * (p.scale || 1)), u.push({
|
|
3196
|
+
type: w.literal,
|
|
3197
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3200
3198
|
});
|
|
3201
3199
|
continue;
|
|
3202
3200
|
}
|
|
3203
|
-
if (
|
|
3201
|
+
if (Bt(h)) {
|
|
3204
3202
|
var d = h.children, g = h.value, E = i[g];
|
|
3205
|
-
if (!
|
|
3206
|
-
throw new
|
|
3203
|
+
if (!_n(E))
|
|
3204
|
+
throw new dn(g, "function", o);
|
|
3207
3205
|
var m = ge(d, t, r, n, i, s), C = E(m.map(function(S) {
|
|
3208
3206
|
return S.value;
|
|
3209
3207
|
}));
|
|
3210
3208
|
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(S) {
|
|
3211
3209
|
return {
|
|
3212
|
-
type: typeof S == "string" ?
|
|
3210
|
+
type: typeof S == "string" ? w.literal : w.object,
|
|
3213
3211
|
value: S
|
|
3214
3212
|
};
|
|
3215
3213
|
}));
|
|
3216
3214
|
}
|
|
3217
|
-
if (
|
|
3218
|
-
var B = h.options[
|
|
3215
|
+
if (Ht(h)) {
|
|
3216
|
+
var B = h.options[f] || h.options.other;
|
|
3219
3217
|
if (!B)
|
|
3220
|
-
throw new
|
|
3218
|
+
throw new nt(h.value, f, Object.keys(h.options), o);
|
|
3221
3219
|
u.push.apply(u, ge(B.value, t, r, n, i));
|
|
3222
3220
|
continue;
|
|
3223
3221
|
}
|
|
3224
|
-
if (
|
|
3225
|
-
var B = h.options["=".concat(
|
|
3222
|
+
if (At(h)) {
|
|
3223
|
+
var B = h.options["=".concat(f)];
|
|
3226
3224
|
if (!B) {
|
|
3227
3225
|
if (!Intl.PluralRules)
|
|
3228
3226
|
throw new xe(`Intl.PluralRules is not available in this environment.
|
|
3229
3227
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3230
3228
|
`, Q.MISSING_INTL_API, o);
|
|
3231
|
-
var P = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3229
|
+
var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3232
3230
|
B = h.options[P] || h.options.other;
|
|
3233
3231
|
}
|
|
3234
3232
|
if (!B)
|
|
3235
|
-
throw new
|
|
3236
|
-
u.push.apply(u, ge(B.value, t, r, n, i,
|
|
3233
|
+
throw new nt(h.value, f, Object.keys(h.options), o);
|
|
3234
|
+
u.push.apply(u, ge(B.value, t, r, n, i, f - (h.offset || 0)));
|
|
3237
3235
|
continue;
|
|
3238
3236
|
}
|
|
3239
3237
|
}
|
|
3240
|
-
return
|
|
3238
|
+
return yn(u);
|
|
3241
3239
|
}
|
|
3242
|
-
function
|
|
3240
|
+
function xn(e, t) {
|
|
3243
3241
|
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3244
3242
|
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3245
3243
|
}, {})) : e;
|
|
3246
3244
|
}
|
|
3247
|
-
function
|
|
3245
|
+
function En(e, t) {
|
|
3248
3246
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3249
|
-
return r[n] =
|
|
3247
|
+
return r[n] = xn(e[n], t[n]), r;
|
|
3250
3248
|
}, x({}, e)) : e;
|
|
3251
3249
|
}
|
|
3252
3250
|
function Se(e) {
|
|
@@ -3263,7 +3261,7 @@ function Se(e) {
|
|
|
3263
3261
|
}
|
|
3264
3262
|
};
|
|
3265
3263
|
}
|
|
3266
|
-
function
|
|
3264
|
+
function vn(e) {
|
|
3267
3265
|
return e === void 0 && (e = {
|
|
3268
3266
|
number: {},
|
|
3269
3267
|
dateTime: {},
|
|
@@ -3295,7 +3293,7 @@ function Tn(e) {
|
|
|
3295
3293
|
})
|
|
3296
3294
|
};
|
|
3297
3295
|
}
|
|
3298
|
-
var
|
|
3296
|
+
var Tn = (
|
|
3299
3297
|
/** @class */
|
|
3300
3298
|
function() {
|
|
3301
3299
|
function e(t, r, n, i) {
|
|
@@ -3309,8 +3307,8 @@ var Cn = (
|
|
|
3309
3307
|
var a = s.formatToParts(l);
|
|
3310
3308
|
if (a.length === 1)
|
|
3311
3309
|
return a[0].value;
|
|
3312
|
-
var h = a.reduce(function(
|
|
3313
|
-
return !
|
|
3310
|
+
var h = a.reduce(function(c, f) {
|
|
3311
|
+
return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3314
3312
|
}, []);
|
|
3315
3313
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3316
3314
|
}, this.formatToParts = function(l) {
|
|
@@ -3327,13 +3325,13 @@ var Cn = (
|
|
|
3327
3325
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3328
3326
|
var o = i || {};
|
|
3329
3327
|
o.formatters;
|
|
3330
|
-
var u =
|
|
3328
|
+
var u = Pr(o, ["formatters"]);
|
|
3331
3329
|
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3332
3330
|
} else
|
|
3333
3331
|
this.ast = t;
|
|
3334
3332
|
if (!Array.isArray(this.ast))
|
|
3335
3333
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3336
|
-
this.formats =
|
|
3334
|
+
this.formats = En(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
|
|
3337
3335
|
}
|
|
3338
3336
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3339
3337
|
get: function() {
|
|
@@ -3346,7 +3344,7 @@ var Cn = (
|
|
|
3346
3344
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3347
3345
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3348
3346
|
}
|
|
3349
|
-
}, e.__parse =
|
|
3347
|
+
}, e.__parse = pn, e.formats = {
|
|
3350
3348
|
number: {
|
|
3351
3349
|
integer: {
|
|
3352
3350
|
maximumFractionDigits: 0
|
|
@@ -3407,7 +3405,7 @@ var Cn = (
|
|
|
3407
3405
|
}, e;
|
|
3408
3406
|
}()
|
|
3409
3407
|
);
|
|
3410
|
-
function
|
|
3408
|
+
function Cn(e, t) {
|
|
3411
3409
|
if (t == null)
|
|
3412
3410
|
return;
|
|
3413
3411
|
if (t in e)
|
|
@@ -3428,60 +3426,60 @@ function Hn(e, t) {
|
|
|
3428
3426
|
n = void 0;
|
|
3429
3427
|
return n;
|
|
3430
3428
|
}
|
|
3431
|
-
const U = {},
|
|
3429
|
+
const U = {}, Hn = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), $t = (e, t) => {
|
|
3432
3430
|
if (t == null)
|
|
3433
3431
|
return;
|
|
3434
3432
|
if (t in U && e in U[t])
|
|
3435
3433
|
return U[t][e];
|
|
3436
3434
|
const r = Ee(t);
|
|
3437
3435
|
for (let n = 0; n < r.length; n++) {
|
|
3438
|
-
const i = r[n], s =
|
|
3436
|
+
const i = r[n], s = Bn(i, e);
|
|
3439
3437
|
if (s)
|
|
3440
|
-
return
|
|
3438
|
+
return Hn(e, t, s);
|
|
3441
3439
|
}
|
|
3442
3440
|
};
|
|
3443
|
-
let
|
|
3441
|
+
let ke;
|
|
3444
3442
|
const ae = ye({});
|
|
3445
|
-
function
|
|
3446
|
-
return
|
|
3443
|
+
function An(e) {
|
|
3444
|
+
return ke[e] || null;
|
|
3447
3445
|
}
|
|
3448
|
-
function
|
|
3449
|
-
return e in
|
|
3446
|
+
function Rt(e) {
|
|
3447
|
+
return e in ke;
|
|
3450
3448
|
}
|
|
3451
|
-
function
|
|
3452
|
-
if (!
|
|
3449
|
+
function Bn(e, t) {
|
|
3450
|
+
if (!Rt(e))
|
|
3453
3451
|
return null;
|
|
3454
|
-
const r =
|
|
3455
|
-
return
|
|
3452
|
+
const r = An(e);
|
|
3453
|
+
return Cn(r, t);
|
|
3456
3454
|
}
|
|
3457
|
-
function
|
|
3455
|
+
function Sn(e) {
|
|
3458
3456
|
if (e == null)
|
|
3459
3457
|
return;
|
|
3460
3458
|
const t = Ee(e);
|
|
3461
3459
|
for (let r = 0; r < t.length; r++) {
|
|
3462
3460
|
const n = t[r];
|
|
3463
|
-
if (
|
|
3461
|
+
if (Rt(n))
|
|
3464
3462
|
return n;
|
|
3465
3463
|
}
|
|
3466
3464
|
}
|
|
3467
|
-
function
|
|
3468
|
-
delete U[e], ae.update((r) => (r[e] =
|
|
3465
|
+
function Ut(e, ...t) {
|
|
3466
|
+
delete U[e], ae.update((r) => (r[e] = wr.all([r[e] || {}, ...t]), r));
|
|
3469
3467
|
}
|
|
3470
3468
|
Y(
|
|
3471
3469
|
[ae],
|
|
3472
3470
|
([e]) => Object.keys(e)
|
|
3473
3471
|
);
|
|
3474
|
-
ae.subscribe((e) =>
|
|
3472
|
+
ae.subscribe((e) => ke = e);
|
|
3475
3473
|
const me = {};
|
|
3476
3474
|
function On(e, t) {
|
|
3477
3475
|
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
3478
3476
|
}
|
|
3479
|
-
function
|
|
3477
|
+
function Dt(e) {
|
|
3480
3478
|
return me[e];
|
|
3481
3479
|
}
|
|
3482
|
-
function
|
|
3480
|
+
function wn(e) {
|
|
3483
3481
|
return Ee(e).map((t) => {
|
|
3484
|
-
const r =
|
|
3482
|
+
const r = Dt(t);
|
|
3485
3483
|
return [t, r ? [...r] : []];
|
|
3486
3484
|
}).filter(([, t]) => t.length > 0);
|
|
3487
3485
|
}
|
|
@@ -3489,31 +3487,31 @@ function Ge(e) {
|
|
|
3489
3487
|
return e == null ? !1 : Ee(e).some(
|
|
3490
3488
|
(t) => {
|
|
3491
3489
|
var r;
|
|
3492
|
-
return (r =
|
|
3490
|
+
return (r = Dt(t)) == null ? void 0 : r.size;
|
|
3493
3491
|
}
|
|
3494
3492
|
);
|
|
3495
3493
|
}
|
|
3496
|
-
function
|
|
3494
|
+
function Pn(e, t) {
|
|
3497
3495
|
return Promise.all(
|
|
3498
3496
|
t.map((n) => (On(e, n), n().then((i) => i.default || i)))
|
|
3499
|
-
).then((n) =>
|
|
3497
|
+
).then((n) => Ut(e, ...n));
|
|
3500
3498
|
}
|
|
3501
3499
|
const te = {};
|
|
3502
|
-
function
|
|
3500
|
+
function Gt(e) {
|
|
3503
3501
|
if (!Ge(e))
|
|
3504
3502
|
return e in te ? te[e] : Promise.resolve();
|
|
3505
|
-
const t =
|
|
3503
|
+
const t = wn(e);
|
|
3506
3504
|
return te[e] = Promise.all(
|
|
3507
3505
|
t.map(
|
|
3508
|
-
([r, n]) =>
|
|
3506
|
+
([r, n]) => Pn(r, n)
|
|
3509
3507
|
)
|
|
3510
3508
|
).then(() => {
|
|
3511
3509
|
if (Ge(e))
|
|
3512
|
-
return
|
|
3510
|
+
return Gt(e);
|
|
3513
3511
|
delete te[e];
|
|
3514
3512
|
}), te[e];
|
|
3515
3513
|
}
|
|
3516
|
-
const
|
|
3514
|
+
const Nn = {
|
|
3517
3515
|
number: {
|
|
3518
3516
|
scientific: { notation: "scientific" },
|
|
3519
3517
|
engineering: { notation: "engineering" },
|
|
@@ -3542,34 +3540,34 @@ const Ln = {
|
|
|
3542
3540
|
timeZoneName: "short"
|
|
3543
3541
|
}
|
|
3544
3542
|
}
|
|
3545
|
-
},
|
|
3543
|
+
}, Ln = {
|
|
3546
3544
|
fallbackLocale: null,
|
|
3547
3545
|
loadingDelay: 200,
|
|
3548
|
-
formats:
|
|
3546
|
+
formats: Nn,
|
|
3549
3547
|
warnOnMissingMessages: !0,
|
|
3550
3548
|
handleMissingMessage: void 0,
|
|
3551
3549
|
ignoreTag: !0
|
|
3552
|
-
},
|
|
3550
|
+
}, In = Ln;
|
|
3553
3551
|
function q() {
|
|
3554
|
-
return
|
|
3552
|
+
return In;
|
|
3555
3553
|
}
|
|
3556
|
-
const
|
|
3557
|
-
var
|
|
3554
|
+
const Oe = ye(!1);
|
|
3555
|
+
var Mn = Object.defineProperty, $n = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gn = (e, t) => {
|
|
3558
3556
|
for (var r in t || (t = {}))
|
|
3559
|
-
|
|
3560
|
-
if (
|
|
3561
|
-
for (var r of
|
|
3562
|
-
|
|
3557
|
+
Un.call(t, r) && st(e, r, t[r]);
|
|
3558
|
+
if (it)
|
|
3559
|
+
for (var r of it(t))
|
|
3560
|
+
Dn.call(t, r) && st(e, r, t[r]);
|
|
3563
3561
|
return e;
|
|
3564
|
-
},
|
|
3562
|
+
}, Fn = (e, t) => $n(e, Rn(t));
|
|
3565
3563
|
let Fe;
|
|
3566
3564
|
const de = ye(null);
|
|
3567
|
-
function
|
|
3565
|
+
function ot(e) {
|
|
3568
3566
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3569
3567
|
}
|
|
3570
3568
|
function Ee(e, t = q().fallbackLocale) {
|
|
3571
|
-
const r =
|
|
3572
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3569
|
+
const r = ot(e);
|
|
3570
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
|
|
3573
3571
|
}
|
|
3574
3572
|
function j() {
|
|
3575
3573
|
return Fe ?? void 0;
|
|
@@ -3577,22 +3575,22 @@ function j() {
|
|
|
3577
3575
|
de.subscribe((e) => {
|
|
3578
3576
|
Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3579
3577
|
});
|
|
3580
|
-
const
|
|
3581
|
-
if (e &&
|
|
3578
|
+
const jn = (e) => {
|
|
3579
|
+
if (e && Sn(e) && Ge(e)) {
|
|
3582
3580
|
const { loadingDelay: t } = q();
|
|
3583
3581
|
let r;
|
|
3584
3582
|
return typeof window < "u" && j() != null && t ? r = window.setTimeout(
|
|
3585
|
-
() =>
|
|
3583
|
+
() => Oe.set(!0),
|
|
3586
3584
|
t
|
|
3587
|
-
) :
|
|
3585
|
+
) : Oe.set(!0), Gt(e).then(() => {
|
|
3588
3586
|
de.set(e);
|
|
3589
3587
|
}).finally(() => {
|
|
3590
|
-
clearTimeout(r),
|
|
3588
|
+
clearTimeout(r), Oe.set(!1);
|
|
3591
3589
|
});
|
|
3592
3590
|
}
|
|
3593
3591
|
return de.set(e);
|
|
3594
|
-
}, K =
|
|
3595
|
-
set:
|
|
3592
|
+
}, K = Fn(Gn({}, de), {
|
|
3593
|
+
set: jn
|
|
3596
3594
|
}), ve = (e) => {
|
|
3597
3595
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3598
3596
|
return (n) => {
|
|
@@ -3600,20 +3598,20 @@ const kn = (e) => {
|
|
|
3600
3598
|
return i in t ? t[i] : t[i] = e(n);
|
|
3601
3599
|
};
|
|
3602
3600
|
};
|
|
3603
|
-
var
|
|
3601
|
+
var kn = Object.defineProperty, be = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
|
|
3604
3602
|
for (var r in t || (t = {}))
|
|
3605
|
-
|
|
3603
|
+
Ft.call(t, r) && at(e, r, t[r]);
|
|
3606
3604
|
if (be)
|
|
3607
3605
|
for (var r of be(t))
|
|
3608
|
-
|
|
3606
|
+
jt.call(t, r) && at(e, r, t[r]);
|
|
3609
3607
|
return e;
|
|
3610
3608
|
}, ee = (e, t) => {
|
|
3611
3609
|
var r = {};
|
|
3612
3610
|
for (var n in e)
|
|
3613
|
-
|
|
3611
|
+
Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3614
3612
|
if (e != null && be)
|
|
3615
3613
|
for (var n of be(e))
|
|
3616
|
-
t.indexOf(n) < 0 &&
|
|
3614
|
+
t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
|
|
3617
3615
|
return r;
|
|
3618
3616
|
};
|
|
3619
3617
|
const se = (e, t) => {
|
|
@@ -3621,21 +3619,21 @@ const se = (e, t) => {
|
|
|
3621
3619
|
if (e in r && t in r[e])
|
|
3622
3620
|
return r[e][t];
|
|
3623
3621
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3624
|
-
},
|
|
3622
|
+
}, Vn = ve(
|
|
3625
3623
|
(e) => {
|
|
3626
3624
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3627
3625
|
if (r == null)
|
|
3628
3626
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3629
3627
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
3630
3628
|
}
|
|
3631
|
-
),
|
|
3629
|
+
), Xn = ve(
|
|
3632
3630
|
(e) => {
|
|
3633
3631
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3634
3632
|
if (r == null)
|
|
3635
3633
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3636
3634
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3637
3635
|
}
|
|
3638
|
-
),
|
|
3636
|
+
), zn = ve(
|
|
3639
3637
|
(e) => {
|
|
3640
3638
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3641
3639
|
if (r == null)
|
|
@@ -3644,33 +3642,33 @@ const se = (e, t) => {
|
|
|
3644
3642
|
);
|
|
3645
3643
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3646
3644
|
}
|
|
3647
|
-
),
|
|
3645
|
+
), Wn = (e = {}) => {
|
|
3648
3646
|
var t = e, {
|
|
3649
3647
|
locale: r = j()
|
|
3650
3648
|
} = t, n = ee(t, [
|
|
3651
3649
|
"locale"
|
|
3652
3650
|
]);
|
|
3653
|
-
return
|
|
3654
|
-
},
|
|
3651
|
+
return Vn(Ve({ locale: r }, n));
|
|
3652
|
+
}, Zn = (e = {}) => {
|
|
3655
3653
|
var t = e, {
|
|
3656
3654
|
locale: r = j()
|
|
3657
3655
|
} = t, n = ee(t, [
|
|
3658
3656
|
"locale"
|
|
3659
3657
|
]);
|
|
3660
|
-
return
|
|
3661
|
-
},
|
|
3658
|
+
return Xn(Ve({ locale: r }, n));
|
|
3659
|
+
}, Qn = (e = {}) => {
|
|
3662
3660
|
var t = e, {
|
|
3663
3661
|
locale: r = j()
|
|
3664
3662
|
} = t, n = ee(t, [
|
|
3665
3663
|
"locale"
|
|
3666
3664
|
]);
|
|
3667
|
-
return
|
|
3668
|
-
},
|
|
3665
|
+
return zn(Ve({ locale: r }, n));
|
|
3666
|
+
}, qn = ve(
|
|
3669
3667
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3670
|
-
(e, t = j()) => new
|
|
3668
|
+
(e, t = j()) => new Tn(e, t, q().formats, {
|
|
3671
3669
|
ignoreTag: q().ignoreTag
|
|
3672
3670
|
})
|
|
3673
|
-
),
|
|
3671
|
+
), Jn = (e, t = {}) => {
|
|
3674
3672
|
var r, n, i, s;
|
|
3675
3673
|
let o = t;
|
|
3676
3674
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -3683,7 +3681,7 @@ const se = (e, t) => {
|
|
|
3683
3681
|
throw new Error(
|
|
3684
3682
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3685
3683
|
);
|
|
3686
|
-
let h =
|
|
3684
|
+
let h = $t(e, l);
|
|
3687
3685
|
if (!h)
|
|
3688
3686
|
h = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3689
3687
|
else if (typeof h != "string")
|
|
@@ -3692,28 +3690,28 @@ const se = (e, t) => {
|
|
|
3692
3690
|
), h;
|
|
3693
3691
|
if (!u)
|
|
3694
3692
|
return h;
|
|
3695
|
-
let
|
|
3693
|
+
let c = h;
|
|
3696
3694
|
try {
|
|
3697
|
-
|
|
3698
|
-
} catch (
|
|
3699
|
-
|
|
3695
|
+
c = qn(h, l).format(u);
|
|
3696
|
+
} catch (f) {
|
|
3697
|
+
f instanceof Error && console.warn(
|
|
3700
3698
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3701
|
-
|
|
3699
|
+
f.message
|
|
3702
3700
|
);
|
|
3703
3701
|
}
|
|
3704
|
-
return
|
|
3705
|
-
},
|
|
3702
|
+
return c;
|
|
3703
|
+
}, Yn = (e, t) => Qn(t).format(e), Kn = (e, t) => Zn(t).format(e), ei = (e, t) => Wn(t).format(e), ti = (e, t = j()) => $t(e, t), ri = Y([K, ae], () => Jn);
|
|
3704
|
+
Y([K], () => Yn);
|
|
3706
3705
|
Y([K], () => Kn);
|
|
3707
3706
|
Y([K], () => ei);
|
|
3708
|
-
Y([K], () => ti);
|
|
3709
|
-
|
|
3710
|
-
function ii(e, t) {
|
|
3707
|
+
Y([K, ae], () => ti);
|
|
3708
|
+
function ni(e, t) {
|
|
3711
3709
|
if (e) {
|
|
3712
3710
|
const r = document.createElement("style");
|
|
3713
3711
|
r.innerHTML = t, e.appendChild(r);
|
|
3714
3712
|
}
|
|
3715
3713
|
}
|
|
3716
|
-
function
|
|
3714
|
+
function ii(e, t) {
|
|
3717
3715
|
const r = new URL(t);
|
|
3718
3716
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3719
3717
|
const i = document.createElement("style");
|
|
@@ -3722,7 +3720,7 @@ function si(e, t) {
|
|
|
3722
3720
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3723
3721
|
});
|
|
3724
3722
|
}
|
|
3725
|
-
function
|
|
3723
|
+
function si(e, t, r) {
|
|
3726
3724
|
if (window.emMessageBus) {
|
|
3727
3725
|
const n = document.createElement("style");
|
|
3728
3726
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3730,13 +3728,13 @@ function oi(e, t, r) {
|
|
|
3730
3728
|
});
|
|
3731
3729
|
}
|
|
3732
3730
|
}
|
|
3733
|
-
function
|
|
3734
|
-
|
|
3731
|
+
function ut(e, t) {
|
|
3732
|
+
Ut(e, t);
|
|
3735
3733
|
}
|
|
3736
|
-
function
|
|
3734
|
+
function oi(e) {
|
|
3737
3735
|
K.set(e);
|
|
3738
3736
|
}
|
|
3739
|
-
const
|
|
3737
|
+
const ht = {
|
|
3740
3738
|
en: {
|
|
3741
3739
|
topCategories: "Top Categories",
|
|
3742
3740
|
otherCategories: "Other Categories",
|
|
@@ -3846,50 +3844,50 @@ const ct = {
|
|
|
3846
3844
|
games: "games"
|
|
3847
3845
|
}
|
|
3848
3846
|
};
|
|
3849
|
-
function
|
|
3850
|
-
|
|
3847
|
+
function ai(e) {
|
|
3848
|
+
Zt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
3851
3849
|
}
|
|
3852
|
-
function
|
|
3850
|
+
function lt(e, t, r) {
|
|
3853
3851
|
const n = e.slice();
|
|
3854
3852
|
return n[23] = t[r], n;
|
|
3855
3853
|
}
|
|
3856
|
-
function
|
|
3854
|
+
function ft(e, t, r) {
|
|
3857
3855
|
const n = e.slice();
|
|
3858
3856
|
return n[23] = t[r], n;
|
|
3859
3857
|
}
|
|
3860
|
-
function
|
|
3858
|
+
function ui(e) {
|
|
3861
3859
|
let t, r, n = (
|
|
3862
3860
|
/*$_*/
|
|
3863
3861
|
e[5]("topCategories") + ""
|
|
3864
3862
|
), i, s, o, u, l = (
|
|
3865
3863
|
/*$_*/
|
|
3866
3864
|
e[5]("otherCategories") + ""
|
|
3867
|
-
), a, h,
|
|
3865
|
+
), a, h, c = le(
|
|
3868
3866
|
/*topCategories*/
|
|
3869
3867
|
e[3]
|
|
3870
|
-
),
|
|
3871
|
-
for (let g = 0; g <
|
|
3872
|
-
|
|
3868
|
+
), f = [];
|
|
3869
|
+
for (let g = 0; g < c.length; g += 1)
|
|
3870
|
+
f[g] = ct(ft(e, c, g));
|
|
3873
3871
|
let p = le(
|
|
3874
3872
|
/*otherCategories*/
|
|
3875
3873
|
e[4]
|
|
3876
3874
|
), d = [];
|
|
3877
3875
|
for (let g = 0; g < p.length; g += 1)
|
|
3878
|
-
d[g] =
|
|
3876
|
+
d[g] = gt(lt(e, p, g));
|
|
3879
3877
|
return {
|
|
3880
3878
|
c() {
|
|
3881
|
-
t =
|
|
3882
|
-
for (let g = 0; g <
|
|
3883
|
-
|
|
3884
|
-
o = $(), u =
|
|
3879
|
+
t = O("div"), r = O("h4"), i = R(n), s = $();
|
|
3880
|
+
for (let g = 0; g < f.length; g += 1)
|
|
3881
|
+
f[g].c();
|
|
3882
|
+
o = $(), u = O("h4"), a = R(l), h = $();
|
|
3885
3883
|
for (let g = 0; g < d.length; g += 1)
|
|
3886
3884
|
d[g].c();
|
|
3887
3885
|
H(r, "class", "CategoryTitle"), H(u, "class", "CategoryTitle"), H(t, "class", "CasinoCategories");
|
|
3888
3886
|
},
|
|
3889
3887
|
m(g, E) {
|
|
3890
3888
|
J(g, t, E), v(t, r), v(r, i), v(t, s);
|
|
3891
|
-
for (let m = 0; m <
|
|
3892
|
-
|
|
3889
|
+
for (let m = 0; m < f.length; m += 1)
|
|
3890
|
+
f[m] && f[m].m(t, null);
|
|
3893
3891
|
v(t, o), v(t, u), v(u, a), v(t, h);
|
|
3894
3892
|
for (let m = 0; m < d.length; m += 1)
|
|
3895
3893
|
d[m] && d[m].m(t, null);
|
|
@@ -3899,18 +3897,18 @@ function hi(e) {
|
|
|
3899
3897
|
32 && n !== (n = /*$_*/
|
|
3900
3898
|
g[5]("topCategories") + "") && D(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3901
3899
|
105) {
|
|
3902
|
-
|
|
3900
|
+
c = le(
|
|
3903
3901
|
/*topCategories*/
|
|
3904
3902
|
g[3]
|
|
3905
3903
|
);
|
|
3906
3904
|
let m;
|
|
3907
|
-
for (m = 0; m <
|
|
3908
|
-
const C =
|
|
3909
|
-
|
|
3905
|
+
for (m = 0; m < c.length; m += 1) {
|
|
3906
|
+
const C = ft(g, c, m);
|
|
3907
|
+
f[m] ? f[m].p(C, E) : (f[m] = ct(C), f[m].c(), f[m].m(t, o));
|
|
3910
3908
|
}
|
|
3911
|
-
for (; m <
|
|
3912
|
-
|
|
3913
|
-
|
|
3909
|
+
for (; m < f.length; m += 1)
|
|
3910
|
+
f[m].d(1);
|
|
3911
|
+
f.length = c.length;
|
|
3914
3912
|
}
|
|
3915
3913
|
if (E & /*$_*/
|
|
3916
3914
|
32 && l !== (l = /*$_*/
|
|
@@ -3922,8 +3920,8 @@ function hi(e) {
|
|
|
3922
3920
|
);
|
|
3923
3921
|
let m;
|
|
3924
3922
|
for (m = 0; m < p.length; m += 1) {
|
|
3925
|
-
const C =
|
|
3926
|
-
d[m] ? d[m].p(C, E) : (d[m] =
|
|
3923
|
+
const C = lt(g, p, m);
|
|
3924
|
+
d[m] ? d[m].p(C, E) : (d[m] = gt(C), d[m].c(), d[m].m(t, null));
|
|
3927
3925
|
}
|
|
3928
3926
|
for (; m < d.length; m += 1)
|
|
3929
3927
|
d[m].d(1);
|
|
@@ -3931,15 +3929,15 @@ function hi(e) {
|
|
|
3931
3929
|
}
|
|
3932
3930
|
},
|
|
3933
3931
|
d(g) {
|
|
3934
|
-
g && F(t),
|
|
3932
|
+
g && F(t), We(f, g), We(d, g);
|
|
3935
3933
|
}
|
|
3936
3934
|
};
|
|
3937
3935
|
}
|
|
3938
|
-
function
|
|
3936
|
+
function hi(e) {
|
|
3939
3937
|
let t;
|
|
3940
3938
|
return {
|
|
3941
3939
|
c() {
|
|
3942
|
-
t =
|
|
3940
|
+
t = O("p"), t.textContent = "Loading, please wait...", H(t, "class", "Message");
|
|
3943
3941
|
},
|
|
3944
3942
|
m(r, n) {
|
|
3945
3943
|
J(r, t, n);
|
|
@@ -3950,11 +3948,11 @@ function li(e) {
|
|
|
3950
3948
|
}
|
|
3951
3949
|
};
|
|
3952
3950
|
}
|
|
3953
|
-
function
|
|
3951
|
+
function ct(e) {
|
|
3954
3952
|
let t, r, n, i, s, o, u, l = (
|
|
3955
3953
|
/*category*/
|
|
3956
3954
|
e[23].name + ""
|
|
3957
|
-
), a, h,
|
|
3955
|
+
), a, h, c, f = (
|
|
3958
3956
|
/*category*/
|
|
3959
3957
|
e[23].games.count + ""
|
|
3960
3958
|
), p, d, g = (
|
|
@@ -3972,14 +3970,14 @@ function mt(e) {
|
|
|
3972
3970
|
}
|
|
3973
3971
|
return {
|
|
3974
3972
|
c() {
|
|
3975
|
-
t =
|
|
3973
|
+
t = O("div"), r = O("img"), s = $(), o = O("div"), u = O("p"), a = R(l), h = $(), c = O("p"), p = R(f), d = $(), E = R(g), pe(r.src, n = /*category*/
|
|
3976
3974
|
e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
3977
3975
|
e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", m = "Category " + /*activecategory*/
|
|
3978
3976
|
(e[0] === /*category*/
|
|
3979
3977
|
e[23].id ? "Active" : ""));
|
|
3980
3978
|
},
|
|
3981
3979
|
m(S, A) {
|
|
3982
|
-
J(S, t, A), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o,
|
|
3980
|
+
J(S, t, A), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, p), v(c, d), v(c, E), C || (B = bt(t, "click", P), C = !0);
|
|
3983
3981
|
},
|
|
3984
3982
|
p(S, A) {
|
|
3985
3983
|
e = S, A & /*topCategories*/
|
|
@@ -3989,8 +3987,8 @@ function mt(e) {
|
|
|
3989
3987
|
e[23].name) && H(r, "alt", i), A & /*topCategories*/
|
|
3990
3988
|
8 && l !== (l = /*category*/
|
|
3991
3989
|
e[23].name + "") && D(a, l), A & /*topCategories*/
|
|
3992
|
-
8 &&
|
|
3993
|
-
e[23].games.count + "") && D(p,
|
|
3990
|
+
8 && f !== (f = /*category*/
|
|
3991
|
+
e[23].games.count + "") && D(p, f), A & /*$_*/
|
|
3994
3992
|
32 && g !== (g = /*$_*/
|
|
3995
3993
|
e[5]("games") + "") && D(E, g), A & /*activecategory, topCategories*/
|
|
3996
3994
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
@@ -4002,11 +4000,11 @@ function mt(e) {
|
|
|
4002
4000
|
}
|
|
4003
4001
|
};
|
|
4004
4002
|
}
|
|
4005
|
-
function
|
|
4003
|
+
function gt(e) {
|
|
4006
4004
|
let t, r, n, i, s, o, u, l = (
|
|
4007
4005
|
/*category*/
|
|
4008
4006
|
e[23].name + ""
|
|
4009
|
-
), a, h,
|
|
4007
|
+
), a, h, c, f = (
|
|
4010
4008
|
/*category*/
|
|
4011
4009
|
e[23].games.count + ""
|
|
4012
4010
|
), p, d, g = (
|
|
@@ -4024,14 +4022,14 @@ function pt(e) {
|
|
|
4024
4022
|
}
|
|
4025
4023
|
return {
|
|
4026
4024
|
c() {
|
|
4027
|
-
t =
|
|
4025
|
+
t = O("div"), r = O("img"), s = $(), o = O("div"), u = O("p"), a = R(l), h = $(), c = O("p"), p = R(f), d = $(), E = R(g), m = $(), pe(r.src, n = /*category*/
|
|
4028
4026
|
e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
4029
4027
|
e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", C = "Category " + /*activecategory*/
|
|
4030
4028
|
(e[0] === /*category*/
|
|
4031
4029
|
e[23].id ? "Active" : ""));
|
|
4032
4030
|
},
|
|
4033
4031
|
m(A, N) {
|
|
4034
|
-
J(A, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o,
|
|
4032
|
+
J(A, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, p), v(c, d), v(c, E), v(t, m), B || (P = bt(t, "click", S), B = !0);
|
|
4035
4033
|
},
|
|
4036
4034
|
p(A, N) {
|
|
4037
4035
|
e = A, N & /*otherCategories*/
|
|
@@ -4041,8 +4039,8 @@ function pt(e) {
|
|
|
4041
4039
|
e[23].name) && H(r, "alt", i), N & /*otherCategories*/
|
|
4042
4040
|
16 && l !== (l = /*category*/
|
|
4043
4041
|
e[23].name + "") && D(a, l), N & /*otherCategories*/
|
|
4044
|
-
16 &&
|
|
4045
|
-
e[23].games.count + "") && D(p,
|
|
4042
|
+
16 && f !== (f = /*category*/
|
|
4043
|
+
e[23].games.count + "") && D(p, f), N & /*$_*/
|
|
4046
4044
|
32 && g !== (g = /*$_*/
|
|
4047
4045
|
e[5]("games") + "") && D(E, g), N & /*activecategory, otherCategories*/
|
|
4048
4046
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
@@ -4054,18 +4052,18 @@ function pt(e) {
|
|
|
4054
4052
|
}
|
|
4055
4053
|
};
|
|
4056
4054
|
}
|
|
4057
|
-
function
|
|
4055
|
+
function li(e) {
|
|
4058
4056
|
let t;
|
|
4059
4057
|
function r(s, o) {
|
|
4060
4058
|
return (
|
|
4061
4059
|
/*isLoading*/
|
|
4062
|
-
s[2] ?
|
|
4060
|
+
s[2] ? hi : ui
|
|
4063
4061
|
);
|
|
4064
4062
|
}
|
|
4065
4063
|
let n = r(e), i = n(e);
|
|
4066
4064
|
return {
|
|
4067
4065
|
c() {
|
|
4068
|
-
t =
|
|
4066
|
+
t = O("div"), i.c();
|
|
4069
4067
|
},
|
|
4070
4068
|
m(s, o) {
|
|
4071
4069
|
J(s, t, o), i.m(t, null), e[17](t);
|
|
@@ -4082,17 +4080,17 @@ function ci(e) {
|
|
|
4082
4080
|
}
|
|
4083
4081
|
function fi(e, t, r) {
|
|
4084
4082
|
let n;
|
|
4085
|
-
|
|
4086
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl:
|
|
4083
|
+
Wt(e, ri, (b) => r(5, n = b));
|
|
4084
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
|
|
4087
4085
|
const g = [];
|
|
4088
4086
|
let E = [], m = [];
|
|
4089
|
-
Object.keys(
|
|
4090
|
-
|
|
4087
|
+
Object.keys(ht).forEach((b) => {
|
|
4088
|
+
ut(b, ht[b]);
|
|
4091
4089
|
});
|
|
4092
4090
|
const C = () => {
|
|
4093
|
-
fetch(
|
|
4091
|
+
fetch(c).then((M) => M.json()).then((M) => {
|
|
4094
4092
|
Object.keys(M).forEach((ue) => {
|
|
4095
|
-
|
|
4093
|
+
ut(ue, M[ue]);
|
|
4096
4094
|
});
|
|
4097
4095
|
}).catch((M) => {
|
|
4098
4096
|
console.log(M);
|
|
@@ -4104,32 +4102,32 @@ function fi(e, t, r) {
|
|
|
4104
4102
|
r(2, d = !1);
|
|
4105
4103
|
const ue = l.split(",").map((G) => G.trim());
|
|
4106
4104
|
g.push(...M.items);
|
|
4107
|
-
const
|
|
4108
|
-
r(3, E =
|
|
4105
|
+
const Xe = g.filter((G) => !ue.some((Xt) => G.flags?.indexOf(Xt) >= 0));
|
|
4106
|
+
r(3, E = Xe.filter((G) => G.isTopCategory === !0)), r(4, m = Xe.filter((G) => G.isTopCategory === !1));
|
|
4109
4107
|
});
|
|
4110
4108
|
}, P = (b) => {
|
|
4111
4109
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4112
4110
|
}, S = () => {
|
|
4113
|
-
|
|
4111
|
+
oi(o);
|
|
4114
4112
|
};
|
|
4115
|
-
|
|
4113
|
+
er(() => () => {
|
|
4116
4114
|
});
|
|
4117
4115
|
const A = (b) => P(b.id), N = (b) => P(b.id);
|
|
4118
|
-
function
|
|
4119
|
-
|
|
4116
|
+
function Vt(b) {
|
|
4117
|
+
we[b ? "unshift" : "push"](() => {
|
|
4120
4118
|
p = b, r(1, p);
|
|
4121
4119
|
});
|
|
4122
4120
|
}
|
|
4123
4121
|
return e.$$set = (b) => {
|
|
4124
|
-
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13,
|
|
4122
|
+
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
|
|
4125
4123
|
}, e.$$.update = () => {
|
|
4126
4124
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4127
4125
|
384 && i && s && B(), e.$$.dirty & /*translationurl*/
|
|
4128
|
-
8192 &&
|
|
4126
|
+
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4129
4127
|
512 && o && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4130
|
-
2050 && a && p &&
|
|
4131
|
-
4098 && h && p &&
|
|
4132
|
-
16386 &&
|
|
4128
|
+
2050 && a && p && ni(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4129
|
+
4098 && h && p && ii(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4130
|
+
16386 && f && p && si(p, `${f}.Style`);
|
|
4133
4131
|
}, [
|
|
4134
4132
|
u,
|
|
4135
4133
|
p,
|
|
@@ -4144,21 +4142,21 @@ function fi(e, t, r) {
|
|
|
4144
4142
|
l,
|
|
4145
4143
|
a,
|
|
4146
4144
|
h,
|
|
4147
|
-
f,
|
|
4148
4145
|
c,
|
|
4146
|
+
f,
|
|
4149
4147
|
A,
|
|
4150
4148
|
N,
|
|
4151
|
-
|
|
4149
|
+
Vt
|
|
4152
4150
|
];
|
|
4153
4151
|
}
|
|
4154
|
-
class
|
|
4152
|
+
class kt extends cr {
|
|
4155
4153
|
constructor(t) {
|
|
4156
|
-
super(),
|
|
4154
|
+
super(), lr(
|
|
4157
4155
|
this,
|
|
4158
4156
|
t,
|
|
4159
4157
|
fi,
|
|
4160
|
-
|
|
4161
|
-
|
|
4158
|
+
li,
|
|
4159
|
+
pt,
|
|
4162
4160
|
{
|
|
4163
4161
|
endpoint: 7,
|
|
4164
4162
|
datasource: 8,
|
|
@@ -4170,7 +4168,7 @@ class Xt extends mr {
|
|
|
4170
4168
|
translationurl: 13,
|
|
4171
4169
|
mbsource: 14
|
|
4172
4170
|
},
|
|
4173
|
-
|
|
4171
|
+
ai
|
|
4174
4172
|
);
|
|
4175
4173
|
}
|
|
4176
4174
|
get endpoint() {
|
|
@@ -4228,42 +4226,42 @@ class Xt extends mr {
|
|
|
4228
4226
|
this.$$set({ mbsource: t }), I();
|
|
4229
4227
|
}
|
|
4230
4228
|
}
|
|
4231
|
-
|
|
4232
|
-
const
|
|
4229
|
+
fr(kt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4230
|
+
const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4233
4231
|
__proto__: null,
|
|
4234
|
-
default:
|
|
4232
|
+
default: kt
|
|
4235
4233
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4236
4234
|
export {
|
|
4237
4235
|
K as $,
|
|
4238
|
-
|
|
4239
|
-
|
|
4236
|
+
We as A,
|
|
4237
|
+
ci as B,
|
|
4240
4238
|
pe as C,
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4239
|
+
mi as D,
|
|
4240
|
+
cr as S,
|
|
4241
|
+
Ut as a,
|
|
4242
|
+
Zt as b,
|
|
4243
|
+
fr as c,
|
|
4244
|
+
F as d,
|
|
4245
|
+
D as e,
|
|
4248
4246
|
I as f,
|
|
4249
4247
|
H as g,
|
|
4250
|
-
|
|
4251
|
-
|
|
4248
|
+
gi as h,
|
|
4249
|
+
lr as i,
|
|
4252
4250
|
J as j,
|
|
4253
4251
|
v as k,
|
|
4254
|
-
|
|
4255
|
-
|
|
4252
|
+
bt as l,
|
|
4253
|
+
O as m,
|
|
4256
4254
|
L as n,
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4255
|
+
$ as o,
|
|
4256
|
+
Wt as p,
|
|
4257
|
+
er as q,
|
|
4260
4258
|
oe as r,
|
|
4261
|
-
|
|
4259
|
+
pt as s,
|
|
4262
4260
|
R as t,
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4261
|
+
we as u,
|
|
4262
|
+
ri as v,
|
|
4263
|
+
ni as w,
|
|
4266
4264
|
ii as x,
|
|
4267
|
-
|
|
4265
|
+
si as y,
|
|
4268
4266
|
le as z
|
|
4269
4267
|
};
|