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