@everymatrix/casino-categories 1.74.3 → 1.74.5
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-AZ83p7Xt.js → CasinoCategories-BgHvZeVl.js} +318 -320
- package/components/CasinoCategories-ByGcAMRh.cjs +16 -0
- package/components/{CasinoCategories-DnQSYMb3.js → CasinoCategories-CXxuah2t.js} +455 -457
- package/es2015/casino-categories.cjs +1 -1
- package/es2015/casino-categories.js +1 -1
- package/esnext/casino-categories.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
- package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
- package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/components/CasinoCategories-C8HVlbqY.cjs +0 -16
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
1
|
+
import "../stencil/ui-image-BW8AeEVd.js";
|
|
2
2
|
function N() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function bt(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Qe() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
10
|
function ae(e) {
|
|
11
|
-
e.forEach(
|
|
11
|
+
e.forEach(bt);
|
|
12
12
|
}
|
|
13
13
|
function ke(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function _t(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
19
|
let le;
|
|
20
|
-
function
|
|
20
|
+
function de(e, t) {
|
|
21
21
|
return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Zt(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function yt(e, ...t) {
|
|
27
27
|
if (e == null) {
|
|
28
28
|
for (const n of t)
|
|
29
29
|
n(void 0);
|
|
@@ -32,20 +32,20 @@ function _t(e, ...t) {
|
|
|
32
32
|
const r = e.subscribe(...t);
|
|
33
33
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
e.$$.on_destroy.push(
|
|
35
|
+
function Qt(e, t, r) {
|
|
36
|
+
e.$$.on_destroy.push(yt(t, r));
|
|
37
37
|
}
|
|
38
38
|
function v(e, t) {
|
|
39
39
|
e.appendChild(t);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
const n =
|
|
41
|
+
function Jt(e, t, r) {
|
|
42
|
+
const n = qt(e);
|
|
43
43
|
if (!n.getElementById(t)) {
|
|
44
44
|
const i = S("style");
|
|
45
|
-
i.id = t, i.textContent = r,
|
|
45
|
+
i.id = t, i.textContent = r, Yt(n, i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function qt(e) {
|
|
49
49
|
if (!e)
|
|
50
50
|
return document;
|
|
51
51
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -55,7 +55,7 @@ function Jt(e) {
|
|
|
55
55
|
t
|
|
56
56
|
) : e.ownerDocument;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Yt(e, t) {
|
|
59
59
|
return v(
|
|
60
60
|
/** @type {Document} */
|
|
61
61
|
e.head || e,
|
|
@@ -68,7 +68,7 @@ function Y(e, t, r) {
|
|
|
68
68
|
function j(e) {
|
|
69
69
|
e.parentNode && e.parentNode.removeChild(e);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Je(e, t) {
|
|
72
72
|
for (let r = 0; r < e.length; r += 1)
|
|
73
73
|
e[r] && e[r].d(t);
|
|
74
74
|
}
|
|
@@ -81,7 +81,7 @@ function U(e) {
|
|
|
81
81
|
function R() {
|
|
82
82
|
return U(" ");
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function xt(e, t, r, n) {
|
|
85
85
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
86
86
|
}
|
|
87
87
|
function L(e, t, r) {
|
|
@@ -91,14 +91,14 @@ function $(e, t, r) {
|
|
|
91
91
|
const n = t.toLowerCase();
|
|
92
92
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : L(e, t, r);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Kt(e) {
|
|
95
95
|
return Array.from(e.childNodes);
|
|
96
96
|
}
|
|
97
97
|
function D(e, t) {
|
|
98
98
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
99
99
|
t);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function er(e) {
|
|
102
102
|
const t = {};
|
|
103
103
|
return e.childNodes.forEach(
|
|
104
104
|
/** @param {Element} node */
|
|
@@ -111,20 +111,20 @@ let ie;
|
|
|
111
111
|
function ne(e) {
|
|
112
112
|
ie = e;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function tr() {
|
|
115
115
|
if (!ie)
|
|
116
116
|
throw new Error("Function called outside component initialization");
|
|
117
117
|
return ie;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
119
|
+
function rr(e) {
|
|
120
|
+
tr().$$.on_mount.push(e);
|
|
121
121
|
}
|
|
122
122
|
const z = [], Pe = [];
|
|
123
123
|
let W = [];
|
|
124
|
-
const
|
|
124
|
+
const qe = [], nr = /* @__PURE__ */ Promise.resolve();
|
|
125
125
|
let Ne = !1;
|
|
126
|
-
function
|
|
127
|
-
Ne || (Ne = !0,
|
|
126
|
+
function ir() {
|
|
127
|
+
Ne || (Ne = !0, nr.then(I));
|
|
128
128
|
}
|
|
129
129
|
function Le(e) {
|
|
130
130
|
W.push(e);
|
|
@@ -139,7 +139,7 @@ function I() {
|
|
|
139
139
|
try {
|
|
140
140
|
for (; V < z.length; ) {
|
|
141
141
|
const t = z[V];
|
|
142
|
-
V++, ne(t),
|
|
142
|
+
V++, ne(t), or(t.$$);
|
|
143
143
|
}
|
|
144
144
|
} catch (t) {
|
|
145
145
|
throw z.length = 0, V = 0, t;
|
|
@@ -152,11 +152,11 @@ function I() {
|
|
|
152
152
|
}
|
|
153
153
|
W.length = 0;
|
|
154
154
|
} while (z.length);
|
|
155
|
-
for (;
|
|
156
|
-
|
|
155
|
+
for (; qe.length; )
|
|
156
|
+
qe.pop()();
|
|
157
157
|
Ne = !1, Ce.clear(), ne(e);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function or(e) {
|
|
160
160
|
if (e.fragment !== null) {
|
|
161
161
|
e.update(), ae(e.before_update);
|
|
162
162
|
const t = e.dirty;
|
|
@@ -167,38 +167,38 @@ function sr(e) {
|
|
|
167
167
|
const t = [], r = [];
|
|
168
168
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
169
169
|
}
|
|
170
|
-
const
|
|
171
|
-
function
|
|
172
|
-
e && e.i && (
|
|
170
|
+
const ar = /* @__PURE__ */ new Set();
|
|
171
|
+
function ur(e, t) {
|
|
172
|
+
e && e.i && (ar.delete(e), e.i(t));
|
|
173
173
|
}
|
|
174
174
|
function fe(e) {
|
|
175
175
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function hr(e, t, r) {
|
|
178
178
|
const { fragment: n, after_update: i } = e.$$;
|
|
179
179
|
n && n.m(t, r), Le(() => {
|
|
180
|
-
const
|
|
181
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
180
|
+
const o = e.$$.on_mount.map(bt).filter(ke);
|
|
181
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
182
182
|
}), i.forEach(Le);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function lr(e, t) {
|
|
185
185
|
const r = e.$$;
|
|
186
186
|
r.fragment !== null && (sr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
e.$$.dirty[0] === -1 && (z.push(e),
|
|
188
|
+
function fr(e, t) {
|
|
189
|
+
e.$$.dirty[0] === -1 && (z.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function cr(e, t, r, n, i, o, s = null, u = [-1]) {
|
|
192
192
|
const l = ie;
|
|
193
193
|
ne(e);
|
|
194
194
|
const a = e.$$ = {
|
|
195
195
|
fragment: null,
|
|
196
196
|
ctx: [],
|
|
197
197
|
// state
|
|
198
|
-
props:
|
|
198
|
+
props: o,
|
|
199
199
|
update: N,
|
|
200
200
|
not_equal: i,
|
|
201
|
-
bound:
|
|
201
|
+
bound: Qe(),
|
|
202
202
|
// lifecycle
|
|
203
203
|
on_mount: [],
|
|
204
204
|
on_destroy: [],
|
|
@@ -207,28 +207,28 @@ function fr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
207
207
|
after_update: [],
|
|
208
208
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
209
209
|
// everything else
|
|
210
|
-
callbacks:
|
|
210
|
+
callbacks: Qe(),
|
|
211
211
|
dirty: u,
|
|
212
212
|
skip_bound: !1,
|
|
213
213
|
root: t.target || l.$$.root
|
|
214
214
|
};
|
|
215
|
-
|
|
215
|
+
s && s(a.root);
|
|
216
216
|
let h = !1;
|
|
217
|
-
if (a.ctx = r(e, t.props || {}, (c, f, ...
|
|
218
|
-
const
|
|
219
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] =
|
|
220
|
-
}), a.update(), h = !0, ae(a.before_update), a.fragment = n(a.ctx), t.target) {
|
|
217
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
218
|
+
const d = p.length ? p[0] : f;
|
|
219
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && fr(e, c)), f;
|
|
220
|
+
}) : [], a.update(), h = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
221
221
|
if (t.hydrate) {
|
|
222
|
-
const c =
|
|
222
|
+
const c = Kt(t.target);
|
|
223
223
|
a.fragment && a.fragment.l(c), c.forEach(j);
|
|
224
224
|
} else
|
|
225
225
|
a.fragment && a.fragment.c();
|
|
226
|
-
t.intro &&
|
|
226
|
+
t.intro && ur(e.$$.fragment), hr(e, t.target, t.anchor), I();
|
|
227
227
|
}
|
|
228
228
|
ne(l);
|
|
229
229
|
}
|
|
230
|
-
let
|
|
231
|
-
typeof HTMLElement == "function" && (
|
|
230
|
+
let Et;
|
|
231
|
+
typeof HTMLElement == "function" && (Et = class extends HTMLElement {
|
|
232
232
|
/** The Svelte component constructor */
|
|
233
233
|
$$ctor;
|
|
234
234
|
/** Slots */
|
|
@@ -267,32 +267,32 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
267
267
|
if (this.$$cn = !0, !this.$$c) {
|
|
268
268
|
let e = function(i) {
|
|
269
269
|
return () => {
|
|
270
|
-
let
|
|
270
|
+
let o;
|
|
271
271
|
return {
|
|
272
272
|
c: function() {
|
|
273
|
-
|
|
273
|
+
o = S("slot"), i !== "default" && L(o, "name", i);
|
|
274
274
|
},
|
|
275
275
|
/**
|
|
276
276
|
* @param {HTMLElement} target
|
|
277
277
|
* @param {HTMLElement} [anchor]
|
|
278
278
|
*/
|
|
279
279
|
m: function(l, a) {
|
|
280
|
-
Y(l,
|
|
280
|
+
Y(l, o, a);
|
|
281
281
|
},
|
|
282
282
|
d: function(l) {
|
|
283
|
-
l && j(
|
|
283
|
+
l && j(o);
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
};
|
|
287
287
|
};
|
|
288
288
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
289
289
|
return;
|
|
290
|
-
const t = {}, r =
|
|
290
|
+
const t = {}, r = er(this);
|
|
291
291
|
for (const i of this.$$s)
|
|
292
292
|
i in r && (t[i] = [e(i)]);
|
|
293
293
|
for (const i of this.attributes) {
|
|
294
|
-
const
|
|
295
|
-
|
|
294
|
+
const o = this.$$g_p(i.name);
|
|
295
|
+
o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
|
|
296
296
|
}
|
|
297
297
|
for (const i in this.$$p_d)
|
|
298
298
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -310,21 +310,21 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
310
310
|
this.$$r = !0;
|
|
311
311
|
for (const i in this.$$p_d)
|
|
312
312
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
313
|
-
const
|
|
313
|
+
const o = ge(
|
|
314
314
|
i,
|
|
315
315
|
this.$$d[i],
|
|
316
316
|
this.$$p_d,
|
|
317
317
|
"toAttribute"
|
|
318
318
|
);
|
|
319
|
-
|
|
319
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
320
320
|
}
|
|
321
321
|
this.$$r = !1;
|
|
322
322
|
};
|
|
323
323
|
this.$$c.$$.after_update.push(n), n();
|
|
324
324
|
for (const i in this.$$l)
|
|
325
|
-
for (const
|
|
326
|
-
const
|
|
327
|
-
this.$$l_u.set(
|
|
325
|
+
for (const o of this.$$l[i]) {
|
|
326
|
+
const s = this.$$c.$on(i, o);
|
|
327
|
+
this.$$l_u.set(o, s);
|
|
328
328
|
}
|
|
329
329
|
this.$$l = {};
|
|
330
330
|
}
|
|
@@ -374,8 +374,8 @@ function ge(e, t, r, n) {
|
|
|
374
374
|
return t;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
|
-
function
|
|
378
|
-
let
|
|
377
|
+
function gr(e, t, r, n, i, o) {
|
|
378
|
+
let s = class extends Et {
|
|
379
379
|
constructor() {
|
|
380
380
|
super(e, r, i), this.$$p_d = t;
|
|
381
381
|
}
|
|
@@ -386,7 +386,7 @@ function cr(e, t, r, n, i, s) {
|
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
388
|
return Object.keys(t).forEach((u) => {
|
|
389
|
-
Object.defineProperty(
|
|
389
|
+
Object.defineProperty(s.prototype, u, {
|
|
390
390
|
get() {
|
|
391
391
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
392
392
|
},
|
|
@@ -395,15 +395,15 @@ function cr(e, t, r, n, i, s) {
|
|
|
395
395
|
}
|
|
396
396
|
});
|
|
397
397
|
}), n.forEach((u) => {
|
|
398
|
-
Object.defineProperty(
|
|
398
|
+
Object.defineProperty(s.prototype, u, {
|
|
399
399
|
get() {
|
|
400
400
|
return this.$$c?.[u];
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
403
|
}), e.element = /** @type {any} */
|
|
404
|
-
|
|
404
|
+
s, s;
|
|
405
405
|
}
|
|
406
|
-
class
|
|
406
|
+
class mr {
|
|
407
407
|
/**
|
|
408
408
|
* ### PRIVATE API
|
|
409
409
|
*
|
|
@@ -422,7 +422,7 @@ class gr {
|
|
|
422
422
|
$$set = void 0;
|
|
423
423
|
/** @returns {void} */
|
|
424
424
|
$destroy() {
|
|
425
|
-
|
|
425
|
+
lr(this, 1), this.$destroy = N;
|
|
426
426
|
}
|
|
427
427
|
/**
|
|
428
428
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -444,11 +444,11 @@ class gr {
|
|
|
444
444
|
* @returns {void}
|
|
445
445
|
*/
|
|
446
446
|
$set(t) {
|
|
447
|
-
this.$$set && !
|
|
447
|
+
this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
|
-
const
|
|
451
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
450
|
+
const pr = "4";
|
|
451
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
|
|
452
452
|
const X = [];
|
|
453
453
|
function dr(e, t) {
|
|
454
454
|
return {
|
|
@@ -459,7 +459,7 @@ function ye(e, t = N) {
|
|
|
459
459
|
let r;
|
|
460
460
|
const n = /* @__PURE__ */ new Set();
|
|
461
461
|
function i(u) {
|
|
462
|
-
if (
|
|
462
|
+
if (_t(e, u) && (e = u, r)) {
|
|
463
463
|
const l = !X.length;
|
|
464
464
|
for (const a of n)
|
|
465
465
|
a[1](), X.push(a, e);
|
|
@@ -470,23 +470,23 @@ function ye(e, t = N) {
|
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function o(u) {
|
|
474
474
|
i(u(e));
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function s(u, l = N) {
|
|
477
477
|
const a = [u, l];
|
|
478
|
-
return n.add(a), n.size === 1 && (r = t(i,
|
|
478
|
+
return n.add(a), n.size === 1 && (r = t(i, o) || N), u(e), () => {
|
|
479
479
|
n.delete(a), n.size === 0 && r && (r(), r = null);
|
|
480
480
|
};
|
|
481
481
|
}
|
|
482
|
-
return { set: i, update:
|
|
482
|
+
return { set: i, update: o, subscribe: s };
|
|
483
483
|
}
|
|
484
484
|
function K(e, t, r) {
|
|
485
485
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
486
486
|
if (!i.every(Boolean))
|
|
487
487
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
488
|
-
const
|
|
489
|
-
return dr(r, (
|
|
488
|
+
const o = t.length < 2;
|
|
489
|
+
return dr(r, (s, u) => {
|
|
490
490
|
let l = !1;
|
|
491
491
|
const a = [];
|
|
492
492
|
let h = 0, c = N;
|
|
@@ -494,11 +494,11 @@ function K(e, t, r) {
|
|
|
494
494
|
if (h)
|
|
495
495
|
return;
|
|
496
496
|
c();
|
|
497
|
-
const
|
|
498
|
-
|
|
499
|
-
},
|
|
500
|
-
(
|
|
501
|
-
|
|
497
|
+
const d = t(n ? a[0] : a, s, u);
|
|
498
|
+
o ? s(d) : c = ke(d) ? d : N;
|
|
499
|
+
}, p = i.map(
|
|
500
|
+
(d, g) => yt(
|
|
501
|
+
d,
|
|
502
502
|
(E) => {
|
|
503
503
|
a[g] = E, h &= ~(1 << g), l && f();
|
|
504
504
|
},
|
|
@@ -508,74 +508,74 @@ function K(e, t, r) {
|
|
|
508
508
|
)
|
|
509
509
|
);
|
|
510
510
|
return l = !0, f(), function() {
|
|
511
|
-
ae(
|
|
511
|
+
ae(p), c(), l = !1;
|
|
512
512
|
};
|
|
513
513
|
});
|
|
514
514
|
}
|
|
515
|
-
function
|
|
516
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
515
|
+
function br(e) {
|
|
516
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
517
517
|
}
|
|
518
|
-
var
|
|
519
|
-
return
|
|
518
|
+
var _r = function(t) {
|
|
519
|
+
return yr(t) && !xr(t);
|
|
520
520
|
};
|
|
521
|
-
function
|
|
521
|
+
function yr(e) {
|
|
522
522
|
return !!e && typeof e == "object";
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function xr(e) {
|
|
525
525
|
var t = Object.prototype.toString.call(e);
|
|
526
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
527
|
-
}
|
|
528
|
-
var xr = typeof Symbol == "function" && Symbol.for, Er = xr ? Symbol.for("react.element") : 60103;
|
|
529
|
-
function vr(e) {
|
|
530
|
-
return e.$$typeof === Er;
|
|
526
|
+
return t === "[object RegExp]" || t === "[object Date]" || Tr(e);
|
|
531
527
|
}
|
|
528
|
+
var Er = typeof Symbol == "function" && Symbol.for, vr = Er ? Symbol.for("react.element") : 60103;
|
|
532
529
|
function Tr(e) {
|
|
530
|
+
return e.$$typeof === vr;
|
|
531
|
+
}
|
|
532
|
+
function Cr(e) {
|
|
533
533
|
return Array.isArray(e) ? [] : {};
|
|
534
534
|
}
|
|
535
|
-
function
|
|
536
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
535
|
+
function oe(e, t) {
|
|
536
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Cr(e), e, t) : e;
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function Hr(e, t, r) {
|
|
539
539
|
return e.concat(t).map(function(n) {
|
|
540
|
-
return
|
|
540
|
+
return oe(n, r);
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function Ar(e, t) {
|
|
544
544
|
if (!t.customMerge)
|
|
545
545
|
return Z;
|
|
546
546
|
var r = t.customMerge(e);
|
|
547
547
|
return typeof r == "function" ? r : Z;
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function Br(e) {
|
|
550
550
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
551
551
|
return Object.propertyIsEnumerable.call(e, t);
|
|
552
552
|
}) : [];
|
|
553
553
|
}
|
|
554
|
-
function
|
|
555
|
-
return Object.keys(e).concat(
|
|
554
|
+
function Ye(e) {
|
|
555
|
+
return Object.keys(e).concat(Br(e));
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function vt(e, t) {
|
|
558
558
|
try {
|
|
559
559
|
return t in e;
|
|
560
560
|
} catch {
|
|
561
561
|
return !1;
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
|
-
function
|
|
565
|
-
return
|
|
564
|
+
function Sr(e, t) {
|
|
565
|
+
return vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function wr(e, t, r) {
|
|
568
568
|
var n = {};
|
|
569
|
-
return r.isMergeableObject(e) &&
|
|
570
|
-
n[i] =
|
|
571
|
-
}),
|
|
572
|
-
|
|
569
|
+
return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
|
|
570
|
+
n[i] = oe(e[i], r);
|
|
571
|
+
}), Ye(t).forEach(function(i) {
|
|
572
|
+
Sr(e, i) || (vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ar(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
573
573
|
}), n;
|
|
574
574
|
}
|
|
575
575
|
function Z(e, t, r) {
|
|
576
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
577
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
578
|
-
return
|
|
576
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || _r, r.cloneUnlessOtherwiseSpecified = oe;
|
|
577
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
578
|
+
return o ? n ? r.arrayMerge(e, t, r) : wr(e, t, r) : oe(t, r);
|
|
579
579
|
}
|
|
580
580
|
Z.all = function(t, r) {
|
|
581
581
|
if (!Array.isArray(t))
|
|
@@ -584,8 +584,8 @@ Z.all = function(t, r) {
|
|
|
584
584
|
return Z(n, i, r);
|
|
585
585
|
}, {});
|
|
586
586
|
};
|
|
587
|
-
var
|
|
588
|
-
const
|
|
587
|
+
var Or = Z, Pr = Or;
|
|
588
|
+
const Nr = /* @__PURE__ */ br(Pr);
|
|
589
589
|
/*! *****************************************************************************
|
|
590
590
|
Copyright (c) Microsoft Corporation.
|
|
591
591
|
|
|
@@ -621,13 +621,13 @@ var x = function() {
|
|
|
621
621
|
return x = Object.assign || function(t) {
|
|
622
622
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
623
623
|
r = arguments[n];
|
|
624
|
-
for (var
|
|
625
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
624
|
+
for (var o in r)
|
|
625
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
626
626
|
}
|
|
627
627
|
return t;
|
|
628
628
|
}, x.apply(this, arguments);
|
|
629
629
|
};
|
|
630
|
-
function
|
|
630
|
+
function Lr(e, t) {
|
|
631
631
|
var r = {};
|
|
632
632
|
for (var n in e)
|
|
633
633
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -638,62 +638,60 @@ function Nr(e, t) {
|
|
|
638
638
|
}
|
|
639
639
|
function He(e, t, r) {
|
|
640
640
|
if (arguments.length === 2)
|
|
641
|
-
for (var n = 0, i = t.length,
|
|
642
|
-
(
|
|
643
|
-
return e.concat(
|
|
641
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
642
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
643
|
+
return e.concat(o || t);
|
|
644
644
|
}
|
|
645
645
|
function Ae(e, t) {
|
|
646
|
-
var r = t && t.cache ? t.cache : Gr, n = t && t.serializer ? t.serializer :
|
|
646
|
+
var r = t && t.cache ? t.cache : Gr, n = t && t.serializer ? t.serializer : Ur, i = t && t.strategy ? t.strategy : Mr;
|
|
647
647
|
return i(e, {
|
|
648
648
|
cache: r,
|
|
649
649
|
serializer: n
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function Ir(e) {
|
|
653
653
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
654
654
|
}
|
|
655
|
-
function
|
|
656
|
-
var i =
|
|
657
|
-
return typeof
|
|
655
|
+
function Tt(e, t, r, n) {
|
|
656
|
+
var i = Ir(n) ? n : r(n), o = t.get(i);
|
|
657
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
658
658
|
}
|
|
659
|
-
function
|
|
660
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
661
|
-
return typeof
|
|
659
|
+
function Ct(e, t, r) {
|
|
660
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
661
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
662
662
|
}
|
|
663
663
|
function Ve(e, t, r, n, i) {
|
|
664
664
|
return r.bind(t, e, n, i);
|
|
665
665
|
}
|
|
666
|
-
function Ir(e, t) {
|
|
667
|
-
var r = e.length === 1 ? vt : Tt;
|
|
668
|
-
return Ve(e, this, r, t.cache.create(), t.serializer);
|
|
669
|
-
}
|
|
670
666
|
function Mr(e, t) {
|
|
671
|
-
|
|
667
|
+
var r = e.length === 1 ? Tt : Ct;
|
|
668
|
+
return Ve(e, this, r, t.cache.create(), t.serializer);
|
|
672
669
|
}
|
|
673
670
|
function $r(e, t) {
|
|
674
|
-
return Ve(e, this,
|
|
671
|
+
return Ve(e, this, Ct, t.cache.create(), t.serializer);
|
|
672
|
+
}
|
|
673
|
+
function Rr(e, t) {
|
|
674
|
+
return Ve(e, this, Tt, t.cache.create(), t.serializer);
|
|
675
675
|
}
|
|
676
|
-
var
|
|
676
|
+
var Ur = function() {
|
|
677
677
|
return JSON.stringify(arguments);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
}()
|
|
690
|
-
), Gr = {
|
|
678
|
+
};
|
|
679
|
+
function Xe() {
|
|
680
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
681
|
+
}
|
|
682
|
+
Xe.prototype.get = function(e) {
|
|
683
|
+
return this.cache[e];
|
|
684
|
+
};
|
|
685
|
+
Xe.prototype.set = function(e, t) {
|
|
686
|
+
this.cache[e] = t;
|
|
687
|
+
};
|
|
688
|
+
var Gr = {
|
|
691
689
|
create: function() {
|
|
692
|
-
return new
|
|
690
|
+
return new Xe();
|
|
693
691
|
}
|
|
694
692
|
}, Be = {
|
|
695
|
-
variadic:
|
|
696
|
-
monadic:
|
|
693
|
+
variadic: $r,
|
|
694
|
+
monadic: Rr
|
|
697
695
|
}, _;
|
|
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,40 +704,40 @@ var Q;
|
|
|
706
704
|
(function(e) {
|
|
707
705
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
708
706
|
})(Q || (Q = {}));
|
|
709
|
-
function
|
|
707
|
+
function Ke(e) {
|
|
710
708
|
return e.type === T.literal;
|
|
711
709
|
}
|
|
712
710
|
function Dr(e) {
|
|
713
711
|
return e.type === T.argument;
|
|
714
712
|
}
|
|
715
|
-
function
|
|
713
|
+
function Ht(e) {
|
|
716
714
|
return e.type === T.number;
|
|
717
715
|
}
|
|
718
|
-
function
|
|
716
|
+
function At(e) {
|
|
719
717
|
return e.type === T.date;
|
|
720
718
|
}
|
|
721
|
-
function
|
|
719
|
+
function Bt(e) {
|
|
722
720
|
return e.type === T.time;
|
|
723
721
|
}
|
|
724
|
-
function
|
|
722
|
+
function St(e) {
|
|
725
723
|
return e.type === T.select;
|
|
726
724
|
}
|
|
727
|
-
function
|
|
725
|
+
function wt(e) {
|
|
728
726
|
return e.type === T.plural;
|
|
729
727
|
}
|
|
730
728
|
function Fr(e) {
|
|
731
729
|
return e.type === T.pound;
|
|
732
730
|
}
|
|
733
|
-
function
|
|
731
|
+
function Ot(e) {
|
|
734
732
|
return e.type === T.tag;
|
|
735
733
|
}
|
|
736
|
-
function
|
|
734
|
+
function Pt(e) {
|
|
737
735
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
738
736
|
}
|
|
739
737
|
function Me(e) {
|
|
740
738
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
741
739
|
}
|
|
742
|
-
var
|
|
740
|
+
var Nt = /[ \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
741
|
function kr(e) {
|
|
744
742
|
var t = {};
|
|
745
743
|
return e.replace(jr, function(r) {
|
|
@@ -838,10 +836,10 @@ function Xr(e) {
|
|
|
838
836
|
for (var t = e.split(Vr).filter(function(f) {
|
|
839
837
|
return f.length > 0;
|
|
840
838
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
841
|
-
var
|
|
842
|
-
if (
|
|
839
|
+
var o = i[n], s = o.split("/");
|
|
840
|
+
if (s.length === 0)
|
|
843
841
|
throw new Error("Invalid number skeleton");
|
|
844
|
-
for (var u =
|
|
842
|
+
for (var u = s[0], l = s.slice(1), a = 0, h = l; a < h.length; a++) {
|
|
845
843
|
var c = h[a];
|
|
846
844
|
if (c.length === 0)
|
|
847
845
|
throw new Error("Invalid number skeleton");
|
|
@@ -853,14 +851,14 @@ function Xr(e) {
|
|
|
853
851
|
function zr(e) {
|
|
854
852
|
return e.replace(/^(.*?)-/, "");
|
|
855
853
|
}
|
|
856
|
-
var
|
|
857
|
-
function
|
|
854
|
+
var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lt = /^(@+)?(\+|#+)?[rs]?$/g, Wr = /(\*)(0+)|(#+)(0+)|(0+)/g, It = /^(0+)$/;
|
|
855
|
+
function tt(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(Lt, 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 Mt(e) {
|
|
864
862
|
switch (e) {
|
|
865
863
|
case "sign-auto":
|
|
866
864
|
return {
|
|
@@ -908,14 +906,14 @@ 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)), !It.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 rt(e) {
|
|
916
|
+
var t = {}, r = Mt(e);
|
|
919
917
|
return r || t;
|
|
920
918
|
}
|
|
921
919
|
function Qr(e) {
|
|
@@ -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), rt(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), rt(a));
|
|
963
961
|
}, {}));
|
|
964
962
|
continue;
|
|
965
963
|
case "notation-simple":
|
|
@@ -1004,39 +1002,39 @@ 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(Wr, function(l, a, h, c, f,
|
|
1005
|
+
i.options[0].replace(Wr, function(l, a, h, c, f, p) {
|
|
1008
1006
|
if (a)
|
|
1009
1007
|
t.minimumIntegerDigits = h.length;
|
|
1010
1008
|
else {
|
|
1011
1009
|
if (c && f)
|
|
1012
1010
|
throw new Error("We currently do not support maximum integer digits");
|
|
1013
|
-
if (
|
|
1011
|
+
if (p)
|
|
1014
1012
|
throw new Error("We currently do not support exact integer digits");
|
|
1015
1013
|
}
|
|
1016
1014
|
return "";
|
|
1017
1015
|
});
|
|
1018
1016
|
continue;
|
|
1019
1017
|
}
|
|
1020
|
-
if (
|
|
1018
|
+
if (It.test(i.stem)) {
|
|
1021
1019
|
t.minimumIntegerDigits = i.stem.length;
|
|
1022
1020
|
continue;
|
|
1023
1021
|
}
|
|
1024
|
-
if (
|
|
1022
|
+
if (et.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 : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1025
|
+
i.stem.replace(et, 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
|
-
var
|
|
1031
|
-
|
|
1028
|
+
var o = i.options[0];
|
|
1029
|
+
o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), tt(o)));
|
|
1032
1030
|
continue;
|
|
1033
1031
|
}
|
|
1034
|
-
if (
|
|
1035
|
-
t = x(x({}, t),
|
|
1032
|
+
if (Lt.test(i.stem)) {
|
|
1033
|
+
t = x(x({}, t), tt(i.stem));
|
|
1036
1034
|
continue;
|
|
1037
1035
|
}
|
|
1038
|
-
var
|
|
1039
|
-
|
|
1036
|
+
var s = Mt(i.stem);
|
|
1037
|
+
s && (t = x(x({}, t), s));
|
|
1040
1038
|
var u = Zr(i.stem);
|
|
1041
1039
|
u && (t = x(x({}, t), u));
|
|
1042
1040
|
}
|
|
@@ -2461,12 +2459,12 @@ function Jr(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
|
-
for (var
|
|
2465
|
-
|
|
2466
|
-
var
|
|
2462
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2463
|
+
o++, n++;
|
|
2464
|
+
var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = qr(t);
|
|
2467
2465
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2468
2466
|
r += l;
|
|
2469
|
-
for (;
|
|
2467
|
+
for (; s-- > 0; )
|
|
2470
2468
|
r = a + r;
|
|
2471
2469
|
} else
|
|
2472
2470
|
i === "J" ? r += "H" : r += i;
|
|
@@ -2495,20 +2493,20 @@ function qr(e) {
|
|
|
2495
2493
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
2496
2494
|
return i[0];
|
|
2497
2495
|
}
|
|
2498
|
-
var Se, Yr = new RegExp("^".concat(
|
|
2496
|
+
var Se, Yr = new RegExp("^".concat(Nt.source, "*")), Kr = new RegExp("".concat(Nt.source, "*$"));
|
|
2499
2497
|
function y(e, t) {
|
|
2500
2498
|
return { start: e, end: t };
|
|
2501
2499
|
}
|
|
2502
|
-
var en = !!String.prototype.startsWith && "_a".startsWith("a", 1), tn = !!String.fromCodePoint, rn = !!Object.fromEntries, nn = !!String.prototype.codePointAt,
|
|
2500
|
+
var en = !!String.prototype.startsWith && "_a".startsWith("a", 1), tn = !!String.fromCodePoint, rn = !!Object.fromEntries, nn = !!String.prototype.codePointAt, on = !!String.prototype.trimStart, sn = !!String.prototype.trimEnd, an = !!Number.isSafeInteger, un = an ? Number.isSafeInteger : function(e) {
|
|
2503
2501
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2504
2502
|
}, $e = !0;
|
|
2505
2503
|
try {
|
|
2506
|
-
var hn =
|
|
2504
|
+
var hn = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2507
2505
|
$e = ((Se = hn.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
|
|
2508
2506
|
} catch {
|
|
2509
2507
|
$e = !1;
|
|
2510
2508
|
}
|
|
2511
|
-
var
|
|
2509
|
+
var nt = en ? (
|
|
2512
2510
|
// Native
|
|
2513
2511
|
function(t, r, n) {
|
|
2514
2512
|
return t.startsWith(r, n);
|
|
@@ -2523,26 +2521,26 @@ var rt = en ? (
|
|
|
2523
2521
|
function() {
|
|
2524
2522
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2525
2523
|
t[r] = arguments[r];
|
|
2526
|
-
for (var n = "", i = t.length,
|
|
2527
|
-
if (
|
|
2528
|
-
throw RangeError(
|
|
2529
|
-
n +=
|
|
2524
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
2525
|
+
if (s = t[o++], s > 1114111)
|
|
2526
|
+
throw RangeError(s + " is not a valid code point");
|
|
2527
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2530
2528
|
}
|
|
2531
2529
|
return n;
|
|
2532
2530
|
}
|
|
2533
|
-
),
|
|
2531
|
+
), it = (
|
|
2534
2532
|
// native
|
|
2535
2533
|
rn ? Object.fromEntries : (
|
|
2536
2534
|
// Ponyfill
|
|
2537
2535
|
function(t) {
|
|
2538
2536
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2539
|
-
var
|
|
2540
|
-
r[
|
|
2537
|
+
var o = i[n], s = o[0], u = o[1];
|
|
2538
|
+
r[s] = u;
|
|
2541
2539
|
}
|
|
2542
2540
|
return r;
|
|
2543
2541
|
}
|
|
2544
2542
|
)
|
|
2545
|
-
),
|
|
2543
|
+
), $t = nn ? (
|
|
2546
2544
|
// Native
|
|
2547
2545
|
function(t, r) {
|
|
2548
2546
|
return t.codePointAt(r);
|
|
@@ -2552,11 +2550,11 @@ var rt = en ? (
|
|
|
2552
2550
|
function(t, r) {
|
|
2553
2551
|
var n = t.length;
|
|
2554
2552
|
if (!(r < 0 || r >= n)) {
|
|
2555
|
-
var i = t.charCodeAt(r),
|
|
2556
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
2553
|
+
var i = t.charCodeAt(r), o;
|
|
2554
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2557
2555
|
}
|
|
2558
2556
|
}
|
|
2559
|
-
), ln =
|
|
2557
|
+
), ln = on ? (
|
|
2560
2558
|
// Native
|
|
2561
2559
|
function(t) {
|
|
2562
2560
|
return t.trimStart();
|
|
@@ -2566,7 +2564,7 @@ var rt = en ? (
|
|
|
2566
2564
|
function(t) {
|
|
2567
2565
|
return t.replace(Yr, "");
|
|
2568
2566
|
}
|
|
2569
|
-
), fn =
|
|
2567
|
+
), fn = sn ? (
|
|
2570
2568
|
// Native
|
|
2571
2569
|
function(t) {
|
|
2572
2570
|
return t.trimEnd();
|
|
@@ -2577,23 +2575,23 @@ var rt = en ? (
|
|
|
2577
2575
|
return t.replace(Kr, "");
|
|
2578
2576
|
}
|
|
2579
2577
|
);
|
|
2580
|
-
function
|
|
2578
|
+
function Rt(e, t) {
|
|
2581
2579
|
return new RegExp(e, t);
|
|
2582
2580
|
}
|
|
2583
2581
|
var Ue;
|
|
2584
2582
|
if ($e) {
|
|
2585
|
-
var
|
|
2583
|
+
var ot = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2586
2584
|
Ue = function(t, r) {
|
|
2587
2585
|
var n;
|
|
2588
|
-
|
|
2589
|
-
var i =
|
|
2586
|
+
ot.lastIndex = r;
|
|
2587
|
+
var i = ot.exec(t);
|
|
2590
2588
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2591
2589
|
};
|
|
2592
2590
|
} else
|
|
2593
2591
|
Ue = function(t, r) {
|
|
2594
2592
|
for (var n = []; ; ) {
|
|
2595
|
-
var i =
|
|
2596
|
-
if (i === void 0 ||
|
|
2593
|
+
var i = $t(t, r);
|
|
2594
|
+
if (i === void 0 || Ut(i) || pn(i))
|
|
2597
2595
|
break;
|
|
2598
2596
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2599
2597
|
}
|
|
@@ -2611,35 +2609,35 @@ var cn = (
|
|
|
2611
2609
|
return this.parseMessage(0, "", !1);
|
|
2612
2610
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2613
2611
|
for (var i = []; !this.isEOF(); ) {
|
|
2614
|
-
var
|
|
2615
|
-
if (
|
|
2616
|
-
var
|
|
2617
|
-
if (
|
|
2618
|
-
return
|
|
2619
|
-
i.push(
|
|
2612
|
+
var o = this.char();
|
|
2613
|
+
if (o === 123) {
|
|
2614
|
+
var s = this.parseArgument(t, n);
|
|
2615
|
+
if (s.err)
|
|
2616
|
+
return s;
|
|
2617
|
+
i.push(s.val);
|
|
2620
2618
|
} else {
|
|
2621
|
-
if (
|
|
2619
|
+
if (o === 125 && t > 0)
|
|
2622
2620
|
break;
|
|
2623
|
-
if (
|
|
2621
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2624
2622
|
var u = this.clonePosition();
|
|
2625
2623
|
this.bump(), i.push({
|
|
2626
2624
|
type: T.pound,
|
|
2627
2625
|
location: y(u, this.clonePosition())
|
|
2628
2626
|
});
|
|
2629
|
-
} else if (
|
|
2627
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2630
2628
|
if (n)
|
|
2631
2629
|
break;
|
|
2632
2630
|
return this.error(_.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
2633
|
-
} else if (
|
|
2634
|
-
var
|
|
2635
|
-
if (
|
|
2636
|
-
return
|
|
2637
|
-
i.push(
|
|
2631
|
+
} else if (o === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
|
|
2632
|
+
var s = this.parseTag(t, r);
|
|
2633
|
+
if (s.err)
|
|
2634
|
+
return s;
|
|
2635
|
+
i.push(s.val);
|
|
2638
2636
|
} else {
|
|
2639
|
-
var
|
|
2640
|
-
if (
|
|
2641
|
-
return
|
|
2642
|
-
i.push(
|
|
2637
|
+
var s = this.parseLiteral(t, r);
|
|
2638
|
+
if (s.err)
|
|
2639
|
+
return s;
|
|
2640
|
+
i.push(s.val);
|
|
2643
2641
|
}
|
|
2644
2642
|
}
|
|
2645
2643
|
}
|
|
@@ -2658,10 +2656,10 @@ var cn = (
|
|
|
2658
2656
|
err: null
|
|
2659
2657
|
};
|
|
2660
2658
|
if (this.bumpIf(">")) {
|
|
2661
|
-
var
|
|
2662
|
-
if (
|
|
2663
|
-
return
|
|
2664
|
-
var
|
|
2659
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
2660
|
+
if (o.err)
|
|
2661
|
+
return o;
|
|
2662
|
+
var s = o.val, u = this.clonePosition();
|
|
2665
2663
|
if (this.bumpIf("</")) {
|
|
2666
2664
|
if (this.isEOF() || !Ge(this.char()))
|
|
2667
2665
|
return this.error(_.INVALID_TAG, y(u, this.clonePosition()));
|
|
@@ -2670,7 +2668,7 @@ var cn = (
|
|
|
2670
2668
|
val: {
|
|
2671
2669
|
type: T.tag,
|
|
2672
2670
|
value: i,
|
|
2673
|
-
children:
|
|
2671
|
+
children: s,
|
|
2674
2672
|
location: y(n, this.clonePosition())
|
|
2675
2673
|
},
|
|
2676
2674
|
err: null
|
|
@@ -2686,16 +2684,16 @@ var cn = (
|
|
|
2686
2684
|
return this.message.slice(t, this.offset());
|
|
2687
2685
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
2688
2686
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2689
|
-
var
|
|
2690
|
-
if (s) {
|
|
2691
|
-
i += s;
|
|
2692
|
-
continue;
|
|
2693
|
-
}
|
|
2694
|
-
var o = this.tryParseUnquoted(t, r);
|
|
2687
|
+
var o = this.tryParseQuote(r);
|
|
2695
2688
|
if (o) {
|
|
2696
2689
|
i += o;
|
|
2697
2690
|
continue;
|
|
2698
2691
|
}
|
|
2692
|
+
var s = this.tryParseUnquoted(t, r);
|
|
2693
|
+
if (s) {
|
|
2694
|
+
i += s;
|
|
2695
|
+
continue;
|
|
2696
|
+
}
|
|
2699
2697
|
var u = this.tryParseLeftAngleBracket();
|
|
2700
2698
|
if (u) {
|
|
2701
2699
|
i += u;
|
|
@@ -2780,13 +2778,13 @@ var cn = (
|
|
|
2780
2778
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2781
2779
|
var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
|
|
2782
2780
|
this.bumpTo(i);
|
|
2783
|
-
var
|
|
2784
|
-
return { value: n, location:
|
|
2781
|
+
var o = this.clonePosition(), s = y(t, o);
|
|
2782
|
+
return { value: n, location: s };
|
|
2785
2783
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2786
|
-
var
|
|
2784
|
+
var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2787
2785
|
switch (u) {
|
|
2788
2786
|
case "":
|
|
2789
|
-
return this.error(_.EXPECT_ARGUMENT_TYPE, y(
|
|
2787
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, y(s, l));
|
|
2790
2788
|
case "number":
|
|
2791
2789
|
case "date":
|
|
2792
2790
|
case "time": {
|
|
@@ -2800,14 +2798,14 @@ var cn = (
|
|
|
2800
2798
|
var f = fn(c.val);
|
|
2801
2799
|
if (f.length === 0)
|
|
2802
2800
|
return this.error(_.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
2803
|
-
var
|
|
2804
|
-
a = { style: f, styleLocation:
|
|
2801
|
+
var p = y(h, this.clonePosition());
|
|
2802
|
+
a = { style: f, styleLocation: p };
|
|
2805
2803
|
}
|
|
2806
|
-
var
|
|
2807
|
-
if (
|
|
2808
|
-
return
|
|
2804
|
+
var d = this.tryParseArgumentClose(i);
|
|
2805
|
+
if (d.err)
|
|
2806
|
+
return d;
|
|
2809
2807
|
var g = y(i, this.clonePosition());
|
|
2810
|
-
if (a &&
|
|
2808
|
+
if (a && nt(a?.style, "::", 0)) {
|
|
2811
2809
|
var E = ln(a.style.slice(2));
|
|
2812
2810
|
if (u === "number") {
|
|
2813
2811
|
var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
|
@@ -2837,7 +2835,7 @@ var cn = (
|
|
|
2837
2835
|
type: u === "number" ? T.number : u === "date" ? T.date : T.time,
|
|
2838
2836
|
value: n,
|
|
2839
2837
|
location: g,
|
|
2840
|
-
style: (
|
|
2838
|
+
style: (o = a?.style) !== null && o !== void 0 ? o : null
|
|
2841
2839
|
},
|
|
2842
2840
|
err: null
|
|
2843
2841
|
};
|
|
@@ -2862,15 +2860,15 @@ var cn = (
|
|
|
2862
2860
|
var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
|
|
2863
2861
|
if (H.err)
|
|
2864
2862
|
return H;
|
|
2865
|
-
var
|
|
2866
|
-
if (
|
|
2867
|
-
return
|
|
2863
|
+
var d = this.tryParseArgumentClose(i);
|
|
2864
|
+
if (d.err)
|
|
2865
|
+
return d;
|
|
2868
2866
|
var P = y(i, this.clonePosition());
|
|
2869
2867
|
return u === "select" ? {
|
|
2870
2868
|
val: {
|
|
2871
2869
|
type: T.select,
|
|
2872
2870
|
value: n,
|
|
2873
|
-
options:
|
|
2871
|
+
options: it(H.val),
|
|
2874
2872
|
location: P
|
|
2875
2873
|
},
|
|
2876
2874
|
err: null
|
|
@@ -2878,7 +2876,7 @@ var cn = (
|
|
|
2878
2876
|
val: {
|
|
2879
2877
|
type: T.plural,
|
|
2880
2878
|
value: n,
|
|
2881
|
-
options:
|
|
2879
|
+
options: it(H.val),
|
|
2882
2880
|
offset: B,
|
|
2883
2881
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2884
2882
|
location: P
|
|
@@ -2887,7 +2885,7 @@ var cn = (
|
|
|
2887
2885
|
};
|
|
2888
2886
|
}
|
|
2889
2887
|
default:
|
|
2890
|
-
return this.error(_.INVALID_ARGUMENT_TYPE, y(
|
|
2888
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, y(s, l));
|
|
2891
2889
|
}
|
|
2892
2890
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2893
2891
|
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -2943,7 +2941,7 @@ var cn = (
|
|
|
2943
2941
|
err: null
|
|
2944
2942
|
};
|
|
2945
2943
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2946
|
-
for (var
|
|
2944
|
+
for (var o, s = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
|
|
2947
2945
|
if (a.length === 0) {
|
|
2948
2946
|
var c = this.clonePosition();
|
|
2949
2947
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -2956,37 +2954,37 @@ var cn = (
|
|
|
2956
2954
|
}
|
|
2957
2955
|
if (l.has(a))
|
|
2958
2956
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2959
|
-
a === "other" && (
|
|
2960
|
-
var
|
|
2957
|
+
a === "other" && (s = !0), this.bumpSpace();
|
|
2958
|
+
var p = this.clonePosition();
|
|
2961
2959
|
if (!this.bumpIf("{"))
|
|
2962
2960
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
2963
|
-
var
|
|
2964
|
-
if (
|
|
2965
|
-
return
|
|
2966
|
-
var g = this.tryParseArgumentClose(
|
|
2961
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
2962
|
+
if (d.err)
|
|
2963
|
+
return d;
|
|
2964
|
+
var g = this.tryParseArgumentClose(p);
|
|
2967
2965
|
if (g.err)
|
|
2968
2966
|
return g;
|
|
2969
2967
|
u.push([
|
|
2970
2968
|
a,
|
|
2971
2969
|
{
|
|
2972
|
-
value:
|
|
2973
|
-
location: y(
|
|
2970
|
+
value: d.val,
|
|
2971
|
+
location: y(p, this.clonePosition())
|
|
2974
2972
|
}
|
|
2975
|
-
]), l.add(a), this.bumpSpace(),
|
|
2973
|
+
]), l.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
|
|
2976
2974
|
}
|
|
2977
|
-
return u.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
2975
|
+
return u.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
2978
2976
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2979
2977
|
var n = 1, i = this.clonePosition();
|
|
2980
2978
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
2981
|
-
for (var
|
|
2979
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
2982
2980
|
var u = this.char();
|
|
2983
2981
|
if (u >= 48 && u <= 57)
|
|
2984
|
-
|
|
2982
|
+
o = !0, s = s * 10 + (u - 48), this.bump();
|
|
2985
2983
|
else
|
|
2986
2984
|
break;
|
|
2987
2985
|
}
|
|
2988
2986
|
var l = y(i, this.clonePosition());
|
|
2989
|
-
return
|
|
2987
|
+
return o ? (s *= n, un(s) ? { val: s, 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 cn = (
|
|
|
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 = $t(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 cn = (
|
|
|
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 (nt(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 cn = (
|
|
|
3042
3040
|
break;
|
|
3043
3041
|
}
|
|
3044
3042
|
}, e.prototype.bumpSpace = function() {
|
|
3045
|
-
for (; !this.isEOF() &&
|
|
3043
|
+
for (; !this.isEOF() && Ut(this.char()); )
|
|
3046
3044
|
this.bump();
|
|
3047
3045
|
}, e.prototype.peek = function() {
|
|
3048
3046
|
if (this.isEOF())
|
|
@@ -3061,22 +3059,22 @@ function gn(e) {
|
|
|
3061
3059
|
function mn(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 Ut(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 pn(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, St(t) || wt(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
|
+
Ht(t) && Pt(t.style) || (At(t) || Bt(t)) && Me(t.style) ? delete t.style.location : Ot(t) && De(t.children);
|
|
3077
3075
|
});
|
|
3078
3076
|
}
|
|
3079
|
-
function
|
|
3077
|
+
function dn(e, t) {
|
|
3080
3078
|
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3081
3079
|
var r = new cn(e, t).parse();
|
|
3082
3080
|
if (r.err) {
|
|
@@ -3094,8 +3092,8 @@ var Ee = (
|
|
|
3094
3092
|
function(e) {
|
|
3095
3093
|
xe(t, e);
|
|
3096
3094
|
function t(r, n, i) {
|
|
3097
|
-
var
|
|
3098
|
-
return
|
|
3095
|
+
var o = e.call(this, r) || this;
|
|
3096
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3099
3097
|
}
|
|
3100
3098
|
return t.prototype.toString = function() {
|
|
3101
3099
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3105,8 +3103,8 @@ var Ee = (
|
|
|
3105
3103
|
/** @class */
|
|
3106
3104
|
function(e) {
|
|
3107
3105
|
xe(t, e);
|
|
3108
|
-
function t(r, n, i,
|
|
3109
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE,
|
|
3106
|
+
function t(r, n, i, o) {
|
|
3107
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3110
3108
|
}
|
|
3111
3109
|
return t;
|
|
3112
3110
|
}(Ee)
|
|
@@ -3141,8 +3139,8 @@ function yn(e) {
|
|
|
3141
3139
|
function xn(e) {
|
|
3142
3140
|
return typeof e == "function";
|
|
3143
3141
|
}
|
|
3144
|
-
function me(e, t, r, n, i,
|
|
3145
|
-
if (e.length === 1 &&
|
|
3142
|
+
function me(e, t, r, n, i, o, s) {
|
|
3143
|
+
if (e.length === 1 && Ke(e[0]))
|
|
3146
3144
|
return [
|
|
3147
3145
|
{
|
|
3148
3146
|
type: w.literal,
|
|
@@ -3151,7 +3149,7 @@ function me(e, t, r, n, i, s, o) {
|
|
|
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 (Ke(h)) {
|
|
3155
3153
|
u.push({
|
|
3156
3154
|
type: w.literal,
|
|
3157
3155
|
value: h.value
|
|
@@ -3159,15 +3157,15 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3159
3157
|
continue;
|
|
3160
3158
|
}
|
|
3161
3159
|
if (Fr(h)) {
|
|
3162
|
-
typeof
|
|
3160
|
+
typeof o == "number" && u.push({
|
|
3163
3161
|
type: w.literal,
|
|
3164
|
-
value: r.getNumberFormat(t).format(
|
|
3162
|
+
value: r.getNumberFormat(t).format(o)
|
|
3165
3163
|
});
|
|
3166
3164
|
continue;
|
|
3167
3165
|
}
|
|
3168
3166
|
var c = h.value;
|
|
3169
3167
|
if (!(i && c in i))
|
|
3170
|
-
throw new _n(c,
|
|
3168
|
+
throw new _n(c, s);
|
|
3171
3169
|
var f = i[c];
|
|
3172
3170
|
if (Dr(h)) {
|
|
3173
3171
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
@@ -3176,35 +3174,35 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3176
3174
|
});
|
|
3177
3175
|
continue;
|
|
3178
3176
|
}
|
|
3179
|
-
if (
|
|
3180
|
-
var
|
|
3177
|
+
if (At(h)) {
|
|
3178
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Me(h.style) ? h.style.parsedOptions : void 0;
|
|
3181
3179
|
u.push({
|
|
3182
3180
|
type: w.literal,
|
|
3183
|
-
value: r.getDateTimeFormat(t,
|
|
3181
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3184
3182
|
});
|
|
3185
3183
|
continue;
|
|
3186
3184
|
}
|
|
3187
|
-
if (
|
|
3188
|
-
var
|
|
3185
|
+
if (Bt(h)) {
|
|
3186
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Me(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3189
3187
|
u.push({
|
|
3190
3188
|
type: w.literal,
|
|
3191
|
-
value: r.getDateTimeFormat(t,
|
|
3189
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3192
3190
|
});
|
|
3193
3191
|
continue;
|
|
3194
3192
|
}
|
|
3195
|
-
if (
|
|
3196
|
-
var
|
|
3197
|
-
|
|
3193
|
+
if (Ht(h)) {
|
|
3194
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Pt(h.style) ? h.style.parsedOptions : void 0;
|
|
3195
|
+
p && p.scale && (f = f * (p.scale || 1)), u.push({
|
|
3198
3196
|
type: w.literal,
|
|
3199
|
-
value: r.getNumberFormat(t,
|
|
3197
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3200
3198
|
});
|
|
3201
3199
|
continue;
|
|
3202
3200
|
}
|
|
3203
|
-
if (
|
|
3204
|
-
var
|
|
3201
|
+
if (Ot(h)) {
|
|
3202
|
+
var d = h.children, g = h.value, E = i[g];
|
|
3205
3203
|
if (!xn(E))
|
|
3206
|
-
throw new bn(g, "function",
|
|
3207
|
-
var m = me(
|
|
3204
|
+
throw new bn(g, "function", s);
|
|
3205
|
+
var m = me(d, t, r, n, i, o), C = E(m.map(function(B) {
|
|
3208
3206
|
return B.value;
|
|
3209
3207
|
}));
|
|
3210
3208
|
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
|
|
@@ -3214,25 +3212,25 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3214
3212
|
};
|
|
3215
3213
|
}));
|
|
3216
3214
|
}
|
|
3217
|
-
if (
|
|
3215
|
+
if (St(h)) {
|
|
3218
3216
|
var A = h.options[f] || h.options.other;
|
|
3219
3217
|
if (!A)
|
|
3220
|
-
throw new st(h.value, f, Object.keys(h.options),
|
|
3218
|
+
throw new st(h.value, f, Object.keys(h.options), s);
|
|
3221
3219
|
u.push.apply(u, me(A.value, t, r, n, i));
|
|
3222
3220
|
continue;
|
|
3223
3221
|
}
|
|
3224
|
-
if (
|
|
3222
|
+
if (wt(h)) {
|
|
3225
3223
|
var A = h.options["=".concat(f)];
|
|
3226
3224
|
if (!A) {
|
|
3227
3225
|
if (!Intl.PluralRules)
|
|
3228
3226
|
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3229
3227
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3230
|
-
`, J.MISSING_INTL_API,
|
|
3228
|
+
`, J.MISSING_INTL_API, s);
|
|
3231
3229
|
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3232
3230
|
A = h.options[O] || h.options.other;
|
|
3233
3231
|
}
|
|
3234
3232
|
if (!A)
|
|
3235
|
-
throw new st(h.value, f, Object.keys(h.options),
|
|
3233
|
+
throw new st(h.value, f, Object.keys(h.options), s);
|
|
3236
3234
|
u.push.apply(u, me(A.value, t, r, n, i, f - (h.offset || 0)));
|
|
3237
3235
|
continue;
|
|
3238
3236
|
}
|
|
@@ -3300,13 +3298,13 @@ var Cn = (
|
|
|
3300
3298
|
function() {
|
|
3301
3299
|
function e(t, r, n, i) {
|
|
3302
3300
|
r === void 0 && (r = e.defaultLocale);
|
|
3303
|
-
var
|
|
3301
|
+
var o = this;
|
|
3304
3302
|
if (this.formatterCache = {
|
|
3305
3303
|
number: {},
|
|
3306
3304
|
dateTime: {},
|
|
3307
3305
|
pluralRules: {}
|
|
3308
3306
|
}, this.format = function(l) {
|
|
3309
|
-
var a =
|
|
3307
|
+
var a = o.formatToParts(l);
|
|
3310
3308
|
if (a.length === 1)
|
|
3311
3309
|
return a[0].value;
|
|
3312
3310
|
var h = a.reduce(function(c, f) {
|
|
@@ -3314,20 +3312,20 @@ var Cn = (
|
|
|
3314
3312
|
}, []);
|
|
3315
3313
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3316
3314
|
}, this.formatToParts = function(l) {
|
|
3317
|
-
return me(
|
|
3315
|
+
return me(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3318
3316
|
}, this.resolvedOptions = function() {
|
|
3319
3317
|
var l;
|
|
3320
3318
|
return {
|
|
3321
|
-
locale: ((l =
|
|
3319
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3322
3320
|
};
|
|
3323
3321
|
}, this.getAst = function() {
|
|
3324
|
-
return
|
|
3322
|
+
return o.ast;
|
|
3325
3323
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3326
3324
|
if (this.message = t, !e.__parse)
|
|
3327
3325
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3328
|
-
var
|
|
3329
|
-
|
|
3330
|
-
var u =
|
|
3326
|
+
var s = i || {};
|
|
3327
|
+
s.formatters;
|
|
3328
|
+
var u = Lr(s, ["formatters"]);
|
|
3331
3329
|
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3332
3330
|
} else
|
|
3333
3331
|
this.ast = t;
|
|
@@ -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 = dn, e.formats = {
|
|
3350
3348
|
number: {
|
|
3351
3349
|
integer: {
|
|
3352
3350
|
maximumFractionDigits: 0
|
|
@@ -3417,9 +3415,9 @@ function Hn(e, t) {
|
|
|
3417
3415
|
for (let i = 0; i < r.length; i++)
|
|
3418
3416
|
if (typeof n == "object") {
|
|
3419
3417
|
if (i > 0) {
|
|
3420
|
-
const
|
|
3421
|
-
if (
|
|
3422
|
-
n = n[
|
|
3418
|
+
const o = r.slice(i, r.length).join(".");
|
|
3419
|
+
if (o in n) {
|
|
3420
|
+
n = n[o];
|
|
3423
3421
|
break;
|
|
3424
3422
|
}
|
|
3425
3423
|
}
|
|
@@ -3428,28 +3426,28 @@ function Hn(e, t) {
|
|
|
3428
3426
|
n = void 0;
|
|
3429
3427
|
return n;
|
|
3430
3428
|
}
|
|
3431
|
-
const G = {}, An = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r),
|
|
3429
|
+
const G = {}, An = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Gt = (e, t) => {
|
|
3432
3430
|
if (t == null)
|
|
3433
3431
|
return;
|
|
3434
3432
|
if (t in G && e in G[t])
|
|
3435
3433
|
return G[t][e];
|
|
3436
3434
|
const r = ve(t);
|
|
3437
3435
|
for (let n = 0; n < r.length; n++) {
|
|
3438
|
-
const i = r[n],
|
|
3439
|
-
if (
|
|
3440
|
-
return An(e, t,
|
|
3436
|
+
const i = r[n], o = Sn(i, e);
|
|
3437
|
+
if (o)
|
|
3438
|
+
return An(e, t, o);
|
|
3441
3439
|
}
|
|
3442
3440
|
};
|
|
3443
|
-
let
|
|
3441
|
+
let ze;
|
|
3444
3442
|
const ue = ye({});
|
|
3445
3443
|
function Bn(e) {
|
|
3446
|
-
return
|
|
3444
|
+
return ze[e] || null;
|
|
3447
3445
|
}
|
|
3448
|
-
function
|
|
3449
|
-
return e in
|
|
3446
|
+
function Dt(e) {
|
|
3447
|
+
return e in ze;
|
|
3450
3448
|
}
|
|
3451
3449
|
function Sn(e, t) {
|
|
3452
|
-
if (!
|
|
3450
|
+
if (!Dt(e))
|
|
3453
3451
|
return null;
|
|
3454
3452
|
const r = Bn(e);
|
|
3455
3453
|
return Hn(r, t);
|
|
@@ -3460,28 +3458,28 @@ function wn(e) {
|
|
|
3460
3458
|
const t = ve(e);
|
|
3461
3459
|
for (let r = 0; r < t.length; r++) {
|
|
3462
3460
|
const n = t[r];
|
|
3463
|
-
if (
|
|
3461
|
+
if (Dt(n))
|
|
3464
3462
|
return n;
|
|
3465
3463
|
}
|
|
3466
3464
|
}
|
|
3467
|
-
function
|
|
3468
|
-
delete G[e], ue.update((r) => (r[e] =
|
|
3465
|
+
function Ft(e, ...t) {
|
|
3466
|
+
delete G[e], ue.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
|
|
3469
3467
|
}
|
|
3470
3468
|
K(
|
|
3471
3469
|
[ue],
|
|
3472
3470
|
([e]) => Object.keys(e)
|
|
3473
3471
|
);
|
|
3474
|
-
ue.subscribe((e) =>
|
|
3475
|
-
const
|
|
3472
|
+
ue.subscribe((e) => ze = e);
|
|
3473
|
+
const pe = {};
|
|
3476
3474
|
function On(e, t) {
|
|
3477
|
-
|
|
3475
|
+
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3478
3476
|
}
|
|
3479
|
-
function
|
|
3480
|
-
return
|
|
3477
|
+
function jt(e) {
|
|
3478
|
+
return pe[e];
|
|
3481
3479
|
}
|
|
3482
3480
|
function Pn(e) {
|
|
3483
3481
|
return ve(e).map((t) => {
|
|
3484
|
-
const r =
|
|
3482
|
+
const r = jt(t);
|
|
3485
3483
|
return [t, r ? [...r] : []];
|
|
3486
3484
|
}).filter(([, t]) => t.length > 0);
|
|
3487
3485
|
}
|
|
@@ -3489,17 +3487,17 @@ function Fe(e) {
|
|
|
3489
3487
|
return e == null ? !1 : ve(e).some(
|
|
3490
3488
|
(t) => {
|
|
3491
3489
|
var r;
|
|
3492
|
-
return (r =
|
|
3490
|
+
return (r = jt(t)) == null ? void 0 : r.size;
|
|
3493
3491
|
}
|
|
3494
3492
|
);
|
|
3495
3493
|
}
|
|
3496
3494
|
function Nn(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) => Ft(e, ...n));
|
|
3500
3498
|
}
|
|
3501
3499
|
const re = {};
|
|
3502
|
-
function
|
|
3500
|
+
function kt(e) {
|
|
3503
3501
|
if (!Fe(e))
|
|
3504
3502
|
return e in re ? re[e] : Promise.resolve();
|
|
3505
3503
|
const t = Pn(e);
|
|
@@ -3509,7 +3507,7 @@ function jt(e) {
|
|
|
3509
3507
|
)
|
|
3510
3508
|
).then(() => {
|
|
3511
3509
|
if (Fe(e))
|
|
3512
|
-
return
|
|
3510
|
+
return kt(e);
|
|
3513
3511
|
delete re[e];
|
|
3514
3512
|
}), re[e];
|
|
3515
3513
|
}
|
|
@@ -3554,22 +3552,22 @@ function q() {
|
|
|
3554
3552
|
return Mn;
|
|
3555
3553
|
}
|
|
3556
3554
|
const Oe = ye(!1);
|
|
3557
|
-
var $n = Object.defineProperty, Rn = Object.defineProperties, Un = Object.getOwnPropertyDescriptors,
|
|
3558
|
-
for (var r in t)
|
|
3559
|
-
Gn.call(t, r) &&
|
|
3560
|
-
if (
|
|
3561
|
-
for (var r of
|
|
3562
|
-
Dn.call(t, r) &&
|
|
3555
|
+
var $n = Object.defineProperty, Rn = Object.defineProperties, Un = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
|
|
3556
|
+
for (var r in t || (t = {}))
|
|
3557
|
+
Gn.call(t, r) && ut(e, r, t[r]);
|
|
3558
|
+
if (at)
|
|
3559
|
+
for (var r of at(t))
|
|
3560
|
+
Dn.call(t, r) && ut(e, r, t[r]);
|
|
3563
3561
|
return e;
|
|
3564
3562
|
}, jn = (e, t) => Rn(e, Un(t));
|
|
3565
3563
|
let je;
|
|
3566
3564
|
const be = ye(null);
|
|
3567
|
-
function
|
|
3565
|
+
function ht(e) {
|
|
3568
3566
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3569
3567
|
}
|
|
3570
3568
|
function ve(e, t = q().fallbackLocale) {
|
|
3571
|
-
const r =
|
|
3572
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3569
|
+
const r = ht(e);
|
|
3570
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
|
|
3573
3571
|
}
|
|
3574
3572
|
function k() {
|
|
3575
3573
|
return je ?? void 0;
|
|
@@ -3584,7 +3582,7 @@ const kn = (e) => {
|
|
|
3584
3582
|
return typeof window < "u" && k() != null && t ? r = window.setTimeout(
|
|
3585
3583
|
() => Oe.set(!0),
|
|
3586
3584
|
t
|
|
3587
|
-
) : Oe.set(!0),
|
|
3585
|
+
) : Oe.set(!0), kt(e).then(() => {
|
|
3588
3586
|
be.set(e);
|
|
3589
3587
|
}).finally(() => {
|
|
3590
3588
|
clearTimeout(r), Oe.set(!1);
|
|
@@ -3600,23 +3598,23 @@ const kn = (e) => {
|
|
|
3600
3598
|
return i in t ? t[i] : t[i] = e(n);
|
|
3601
3599
|
};
|
|
3602
3600
|
};
|
|
3603
|
-
var Vn = Object.defineProperty, _e = Object.getOwnPropertySymbols,
|
|
3601
|
+
var Vn = Object.defineProperty, _e = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
|
|
3604
3602
|
for (var r in t || (t = {}))
|
|
3605
|
-
|
|
3603
|
+
Vt.call(t, r) && lt(e, r, t[r]);
|
|
3606
3604
|
if (_e)
|
|
3607
3605
|
for (var r of _e(t))
|
|
3608
|
-
|
|
3606
|
+
Xt.call(t, r) && lt(e, r, t[r]);
|
|
3609
3607
|
return e;
|
|
3610
3608
|
}, te = (e, t) => {
|
|
3611
3609
|
var r = {};
|
|
3612
3610
|
for (var n in e)
|
|
3613
|
-
|
|
3611
|
+
Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3614
3612
|
if (e != null && _e)
|
|
3615
3613
|
for (var n of _e(e))
|
|
3616
|
-
t.indexOf(n) < 0 &&
|
|
3614
|
+
t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
|
|
3617
3615
|
return r;
|
|
3618
3616
|
};
|
|
3619
|
-
const
|
|
3617
|
+
const se = (e, t) => {
|
|
3620
3618
|
const { formats: r } = q();
|
|
3621
3619
|
if (e in r && t in r[e])
|
|
3622
3620
|
return r[e][t];
|
|
@@ -3626,14 +3624,14 @@ const oe = (e, t) => {
|
|
|
3626
3624
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3627
3625
|
if (r == null)
|
|
3628
3626
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3629
|
-
return n && (i =
|
|
3627
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
3630
3628
|
}
|
|
3631
3629
|
), zn = Te(
|
|
3632
3630
|
(e) => {
|
|
3633
3631
|
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3634
3632
|
if (r == null)
|
|
3635
3633
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3636
|
-
return n ? i =
|
|
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
|
), Wn = Te(
|
|
3639
3637
|
(e) => {
|
|
@@ -3642,7 +3640,7 @@ const oe = (e, t) => {
|
|
|
3642
3640
|
throw new Error(
|
|
3643
3641
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3644
3642
|
);
|
|
3645
|
-
return n ? i =
|
|
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
|
), Zn = (e = {}) => {
|
|
3648
3646
|
var t = e, {
|
|
@@ -3650,42 +3648,42 @@ const oe = (e, t) => {
|
|
|
3650
3648
|
} = t, n = te(t, [
|
|
3651
3649
|
"locale"
|
|
3652
3650
|
]);
|
|
3653
|
-
return Xn(
|
|
3651
|
+
return Xn(We({ locale: r }, n));
|
|
3654
3652
|
}, Qn = (e = {}) => {
|
|
3655
3653
|
var t = e, {
|
|
3656
3654
|
locale: r = k()
|
|
3657
3655
|
} = t, n = te(t, [
|
|
3658
3656
|
"locale"
|
|
3659
3657
|
]);
|
|
3660
|
-
return zn(
|
|
3658
|
+
return zn(We({ locale: r }, n));
|
|
3661
3659
|
}, Jn = (e = {}) => {
|
|
3662
3660
|
var t = e, {
|
|
3663
3661
|
locale: r = k()
|
|
3664
3662
|
} = t, n = te(t, [
|
|
3665
3663
|
"locale"
|
|
3666
3664
|
]);
|
|
3667
|
-
return Wn(
|
|
3665
|
+
return Wn(We({ locale: r }, n));
|
|
3668
3666
|
}, qn = Te(
|
|
3669
3667
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3670
3668
|
(e, t = k()) => new Cn(e, t, q().formats, {
|
|
3671
3669
|
ignoreTag: q().ignoreTag
|
|
3672
3670
|
})
|
|
3673
3671
|
), Yn = (e, t = {}) => {
|
|
3674
|
-
var r, n, i,
|
|
3675
|
-
let
|
|
3676
|
-
typeof e == "object" && (
|
|
3672
|
+
var r, n, i, o;
|
|
3673
|
+
let s = t;
|
|
3674
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
3677
3675
|
const {
|
|
3678
3676
|
values: u,
|
|
3679
3677
|
locale: l = k(),
|
|
3680
3678
|
default: a
|
|
3681
|
-
} =
|
|
3679
|
+
} = s;
|
|
3682
3680
|
if (l == null)
|
|
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 = Gt(e, l);
|
|
3687
3685
|
if (!h)
|
|
3688
|
-
h = (
|
|
3686
|
+
h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
|
|
3689
3687
|
else if (typeof h != "string")
|
|
3690
3688
|
return console.warn(
|
|
3691
3689
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3702,18 +3700,18 @@ const oe = (e, t) => {
|
|
|
3702
3700
|
);
|
|
3703
3701
|
}
|
|
3704
3702
|
return c;
|
|
3705
|
-
}, Kn = (e, t) => Jn(t).format(e), ei = (e, t) => Qn(t).format(e), ti = (e, t) => Zn(t).format(e), ri = (e, t = k()) =>
|
|
3703
|
+
}, Kn = (e, t) => Jn(t).format(e), ei = (e, t) => Qn(t).format(e), ti = (e, t) => Zn(t).format(e), ri = (e, t = k()) => Gt(e, t), ni = K([ee, ue], () => Yn);
|
|
3706
3704
|
K([ee], () => Kn);
|
|
3707
3705
|
K([ee], () => ei);
|
|
3708
3706
|
K([ee], () => ti);
|
|
3709
3707
|
K([ee, ue], () => ri);
|
|
3710
|
-
function
|
|
3711
|
-
|
|
3708
|
+
function ft(e, t) {
|
|
3709
|
+
Ft(e, t);
|
|
3712
3710
|
}
|
|
3713
3711
|
function ii(e) {
|
|
3714
3712
|
ee.set(e);
|
|
3715
3713
|
}
|
|
3716
|
-
const
|
|
3714
|
+
const ct = {
|
|
3717
3715
|
en: {
|
|
3718
3716
|
topCategories: "Top Categories",
|
|
3719
3717
|
otherCategories: "Other Categories",
|
|
@@ -3823,13 +3821,13 @@ const ft = {
|
|
|
3823
3821
|
games: "games"
|
|
3824
3822
|
}
|
|
3825
3823
|
};
|
|
3826
|
-
function
|
|
3824
|
+
function oi(e, t) {
|
|
3827
3825
|
if (e) {
|
|
3828
3826
|
const r = document.createElement("style");
|
|
3829
3827
|
r.innerHTML = t, e.appendChild(r);
|
|
3830
3828
|
}
|
|
3831
3829
|
}
|
|
3832
|
-
function
|
|
3830
|
+
function si(e, t) {
|
|
3833
3831
|
const r = new URL(t);
|
|
3834
3832
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3835
3833
|
const i = document.createElement("style");
|
|
@@ -3847,13 +3845,13 @@ function ai(e, t, r) {
|
|
|
3847
3845
|
}
|
|
3848
3846
|
}
|
|
3849
3847
|
function ui(e) {
|
|
3850
|
-
|
|
3848
|
+
Jt(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 gt(e, t, r) {
|
|
3853
3851
|
const n = e.slice();
|
|
3854
3852
|
return n[23] = t[r], n;
|
|
3855
3853
|
}
|
|
3856
|
-
function
|
|
3854
|
+
function mt(e, t, r) {
|
|
3857
3855
|
const n = e.slice();
|
|
3858
3856
|
return n[23] = t[r], n;
|
|
3859
3857
|
}
|
|
@@ -3861,7 +3859,7 @@ function hi(e) {
|
|
|
3861
3859
|
let t, r, n = (
|
|
3862
3860
|
/*$_*/
|
|
3863
3861
|
e[5]("topCategories") + ""
|
|
3864
|
-
), i,
|
|
3862
|
+
), i, o, s, u, l = (
|
|
3865
3863
|
/*$_*/
|
|
3866
3864
|
e[5]("otherCategories") + ""
|
|
3867
3865
|
), a, h, c = fe(
|
|
@@ -3869,30 +3867,30 @@ function hi(e) {
|
|
|
3869
3867
|
e[3]
|
|
3870
3868
|
), f = [];
|
|
3871
3869
|
for (let g = 0; g < c.length; g += 1)
|
|
3872
|
-
f[g] = mt(
|
|
3873
|
-
let
|
|
3870
|
+
f[g] = pt(mt(e, c, g));
|
|
3871
|
+
let p = fe(
|
|
3874
3872
|
/*otherCategories*/
|
|
3875
3873
|
e[4]
|
|
3876
|
-
),
|
|
3877
|
-
for (let g = 0; g <
|
|
3878
|
-
|
|
3874
|
+
), d = [];
|
|
3875
|
+
for (let g = 0; g < p.length; g += 1)
|
|
3876
|
+
d[g] = dt(gt(e, p, g));
|
|
3879
3877
|
return {
|
|
3880
3878
|
c() {
|
|
3881
|
-
t = S("div"), r = S("h4"), i = U(n),
|
|
3879
|
+
t = S("div"), r = S("h4"), i = U(n), o = R();
|
|
3882
3880
|
for (let g = 0; g < f.length; g += 1)
|
|
3883
3881
|
f[g].c();
|
|
3884
|
-
|
|
3885
|
-
for (let g = 0; g <
|
|
3886
|
-
|
|
3882
|
+
s = R(), u = S("h4"), a = U(l), h = R();
|
|
3883
|
+
for (let g = 0; g < d.length; g += 1)
|
|
3884
|
+
d[g].c();
|
|
3887
3885
|
L(r, "class", "CategoryTitle"), L(u, "class", "CategoryTitle"), L(t, "class", "CasinoCategories");
|
|
3888
3886
|
},
|
|
3889
3887
|
m(g, E) {
|
|
3890
|
-
Y(g, t, E), v(t, r), v(r, i), v(t,
|
|
3888
|
+
Y(g, t, E), v(t, r), v(r, i), v(t, o);
|
|
3891
3889
|
for (let m = 0; m < f.length; m += 1)
|
|
3892
3890
|
f[m] && f[m].m(t, null);
|
|
3893
|
-
v(t,
|
|
3894
|
-
for (let m = 0; m <
|
|
3895
|
-
|
|
3891
|
+
v(t, s), v(t, u), v(u, a), v(t, h);
|
|
3892
|
+
for (let m = 0; m < d.length; m += 1)
|
|
3893
|
+
d[m] && d[m].m(t, null);
|
|
3896
3894
|
},
|
|
3897
3895
|
p(g, E) {
|
|
3898
3896
|
if (E & /*$_*/
|
|
@@ -3905,8 +3903,8 @@ function hi(e) {
|
|
|
3905
3903
|
);
|
|
3906
3904
|
let m;
|
|
3907
3905
|
for (m = 0; m < c.length; m += 1) {
|
|
3908
|
-
const C =
|
|
3909
|
-
f[m] ? f[m].p(C, E) : (f[m] =
|
|
3906
|
+
const C = mt(g, c, m);
|
|
3907
|
+
f[m] ? f[m].p(C, E) : (f[m] = pt(C), f[m].c(), f[m].m(t, s));
|
|
3910
3908
|
}
|
|
3911
3909
|
for (; m < f.length; m += 1)
|
|
3912
3910
|
f[m].d(1);
|
|
@@ -3916,22 +3914,22 @@ function hi(e) {
|
|
|
3916
3914
|
32 && l !== (l = /*$_*/
|
|
3917
3915
|
g[5]("otherCategories") + "") && D(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3918
3916
|
113) {
|
|
3919
|
-
|
|
3917
|
+
p = fe(
|
|
3920
3918
|
/*otherCategories*/
|
|
3921
3919
|
g[4]
|
|
3922
3920
|
);
|
|
3923
3921
|
let m;
|
|
3924
|
-
for (m = 0; m <
|
|
3925
|
-
const C =
|
|
3926
|
-
|
|
3922
|
+
for (m = 0; m < p.length; m += 1) {
|
|
3923
|
+
const C = gt(g, p, m);
|
|
3924
|
+
d[m] ? d[m].p(C, E) : (d[m] = dt(C), d[m].c(), d[m].m(t, null));
|
|
3927
3925
|
}
|
|
3928
|
-
for (; m <
|
|
3929
|
-
|
|
3930
|
-
|
|
3926
|
+
for (; m < d.length; m += 1)
|
|
3927
|
+
d[m].d(1);
|
|
3928
|
+
d.length = p.length;
|
|
3931
3929
|
}
|
|
3932
3930
|
},
|
|
3933
3931
|
d(g) {
|
|
3934
|
-
g && j(t),
|
|
3932
|
+
g && j(t), Je(f, g), Je(d, g);
|
|
3935
3933
|
}
|
|
3936
3934
|
};
|
|
3937
3935
|
}
|
|
@@ -3950,14 +3948,14 @@ function li(e) {
|
|
|
3950
3948
|
}
|
|
3951
3949
|
};
|
|
3952
3950
|
}
|
|
3953
|
-
function
|
|
3954
|
-
let t, r, n, i,
|
|
3951
|
+
function pt(e) {
|
|
3952
|
+
let t, r, n, i, o, s, u, l = (
|
|
3955
3953
|
/*category*/
|
|
3956
3954
|
e[23].name + ""
|
|
3957
3955
|
), a, h, c, f = (
|
|
3958
3956
|
/*category*/
|
|
3959
3957
|
e[23].games.count + ""
|
|
3960
|
-
),
|
|
3958
|
+
), p, d, g = (
|
|
3961
3959
|
/*$_*/
|
|
3962
3960
|
e[5]("games") + ""
|
|
3963
3961
|
), E, m, C, A;
|
|
@@ -3972,25 +3970,25 @@ function mt(e) {
|
|
|
3972
3970
|
}
|
|
3973
3971
|
return {
|
|
3974
3972
|
c() {
|
|
3975
|
-
t = S("div"), r = S("ui-image"),
|
|
3973
|
+
t = S("div"), r = S("ui-image"), o = R(), s = S("div"), u = S("p"), a = U(l), h = R(), c = S("p"), p = U(f), d = R(), E = U(g), de(r.src, n = /*category*/
|
|
3976
3974
|
e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
|
|
3977
|
-
e[23].name), $(r, "class", "CategoryImage"), L(
|
|
3975
|
+
e[23].name), $(r, "class", "CategoryImage"), L(s, "class", "CategoryTextContainer"), L(t, "class", m = "Category " + /*activecategory*/
|
|
3978
3976
|
(e[0] === /*category*/
|
|
3979
3977
|
e[23].id ? "Active" : ""));
|
|
3980
3978
|
},
|
|
3981
3979
|
m(B, H) {
|
|
3982
|
-
Y(B, t, H), v(t, r), v(t,
|
|
3980
|
+
Y(B, t, H), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, h), v(s, c), v(c, p), v(c, d), v(c, E), C || (A = xt(t, "click", O), C = !0);
|
|
3983
3981
|
},
|
|
3984
3982
|
p(B, H) {
|
|
3985
3983
|
e = B, H & /*topCategories*/
|
|
3986
|
-
8 && !
|
|
3984
|
+
8 && !de(r.src, n = /*category*/
|
|
3987
3985
|
e[23].icon) && $(r, "src", n), H & /*topCategories*/
|
|
3988
3986
|
8 && i !== (i = /*category*/
|
|
3989
3987
|
e[23].name) && $(r, "alt", i), H & /*topCategories*/
|
|
3990
3988
|
8 && l !== (l = /*category*/
|
|
3991
3989
|
e[23].name + "") && D(a, l), H & /*topCategories*/
|
|
3992
3990
|
8 && f !== (f = /*category*/
|
|
3993
|
-
e[23].games.count + "") && D(
|
|
3991
|
+
e[23].games.count + "") && D(p, f), H & /*$_*/
|
|
3994
3992
|
32 && g !== (g = /*$_*/
|
|
3995
3993
|
e[5]("games") + "") && D(E, g), H & /*activecategory, topCategories*/
|
|
3996
3994
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
@@ -4003,13 +4001,13 @@ function mt(e) {
|
|
|
4003
4001
|
};
|
|
4004
4002
|
}
|
|
4005
4003
|
function dt(e) {
|
|
4006
|
-
let t, r, n, i,
|
|
4004
|
+
let t, r, n, i, o, s, u, l = (
|
|
4007
4005
|
/*category*/
|
|
4008
4006
|
e[23].name + ""
|
|
4009
4007
|
), a, h, c, f = (
|
|
4010
4008
|
/*category*/
|
|
4011
4009
|
e[23].games.count + ""
|
|
4012
|
-
),
|
|
4010
|
+
), p, d, g = (
|
|
4013
4011
|
/*$_*/
|
|
4014
4012
|
e[5]("games") + ""
|
|
4015
4013
|
), E, m, C, A, O;
|
|
@@ -4024,25 +4022,25 @@ function dt(e) {
|
|
|
4024
4022
|
}
|
|
4025
4023
|
return {
|
|
4026
4024
|
c() {
|
|
4027
|
-
t = S("div"), r = S("ui-image"),
|
|
4025
|
+
t = S("div"), r = S("ui-image"), o = R(), s = S("div"), u = S("p"), a = U(l), h = R(), c = S("p"), p = U(f), d = R(), E = U(g), m = R(), de(r.src, n = /*category*/
|
|
4028
4026
|
e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
|
|
4029
|
-
e[23].name), $(r, "class", "CategoryImage"), L(
|
|
4027
|
+
e[23].name), $(r, "class", "CategoryImage"), L(s, "class", "CategoryTextContainer"), L(t, "class", C = "Category " + /*activecategory*/
|
|
4030
4028
|
(e[0] === /*category*/
|
|
4031
4029
|
e[23].id ? "Active" : ""));
|
|
4032
4030
|
},
|
|
4033
4031
|
m(H, P) {
|
|
4034
|
-
Y(H, t, P), v(t, r), v(t,
|
|
4032
|
+
Y(H, t, P), v(t, r), v(t, o), v(t, s), v(s, u), v(u, a), v(s, h), v(s, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (O = xt(t, "click", B), A = !0);
|
|
4035
4033
|
},
|
|
4036
4034
|
p(H, P) {
|
|
4037
4035
|
e = H, P & /*otherCategories*/
|
|
4038
|
-
16 && !
|
|
4036
|
+
16 && !de(r.src, n = /*category*/
|
|
4039
4037
|
e[23].icon) && $(r, "src", n), P & /*otherCategories*/
|
|
4040
4038
|
16 && i !== (i = /*category*/
|
|
4041
4039
|
e[23].name) && $(r, "alt", i), P & /*otherCategories*/
|
|
4042
4040
|
16 && l !== (l = /*category*/
|
|
4043
4041
|
e[23].name + "") && D(a, l), P & /*otherCategories*/
|
|
4044
4042
|
16 && f !== (f = /*category*/
|
|
4045
|
-
e[23].games.count + "") && D(
|
|
4043
|
+
e[23].games.count + "") && D(p, f), P & /*$_*/
|
|
4046
4044
|
32 && g !== (g = /*$_*/
|
|
4047
4045
|
e[5]("games") + "") && D(E, g), P & /*activecategory, otherCategories*/
|
|
4048
4046
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
@@ -4056,10 +4054,10 @@ function dt(e) {
|
|
|
4056
4054
|
}
|
|
4057
4055
|
function fi(e) {
|
|
4058
4056
|
let t;
|
|
4059
|
-
function r(
|
|
4057
|
+
function r(o, s) {
|
|
4060
4058
|
return (
|
|
4061
4059
|
/*isLoading*/
|
|
4062
|
-
|
|
4060
|
+
o[2] ? li : hi
|
|
4063
4061
|
);
|
|
4064
4062
|
}
|
|
4065
4063
|
let n = r(e), i = n(e);
|
|
@@ -4067,80 +4065,80 @@ function fi(e) {
|
|
|
4067
4065
|
c() {
|
|
4068
4066
|
t = S("div"), i.c();
|
|
4069
4067
|
},
|
|
4070
|
-
m(
|
|
4071
|
-
Y(
|
|
4068
|
+
m(o, s) {
|
|
4069
|
+
Y(o, t, s), i.m(t, null), e[17](t);
|
|
4072
4070
|
},
|
|
4073
|
-
p(
|
|
4074
|
-
n === (n = r(
|
|
4071
|
+
p(o, [s]) {
|
|
4072
|
+
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4075
4073
|
},
|
|
4076
4074
|
i: N,
|
|
4077
4075
|
o: N,
|
|
4078
|
-
d(
|
|
4079
|
-
|
|
4076
|
+
d(o) {
|
|
4077
|
+
o && j(t), i.d(), e[17](null);
|
|
4080
4078
|
}
|
|
4081
4079
|
};
|
|
4082
4080
|
}
|
|
4083
4081
|
function ci(e, t, r) {
|
|
4084
4082
|
let n;
|
|
4085
|
-
|
|
4086
|
-
let { endpoint: i = "" } = t, { datasource:
|
|
4083
|
+
Qt(e, ni, (b) => r(5, n = b));
|
|
4084
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "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(ct).forEach((b) => {
|
|
4088
|
+
ft(b, ct[b]);
|
|
4091
4089
|
});
|
|
4092
4090
|
const C = () => {
|
|
4093
4091
|
fetch(c).then((M) => M.json()).then((M) => {
|
|
4094
4092
|
Object.keys(M).forEach((he) => {
|
|
4095
|
-
|
|
4093
|
+
ft(he, M[he]);
|
|
4096
4094
|
});
|
|
4097
4095
|
}).catch((M) => {
|
|
4098
4096
|
console.log(M);
|
|
4099
4097
|
});
|
|
4100
4098
|
}, A = () => {
|
|
4101
|
-
r(2,
|
|
4102
|
-
const b = new URL(`${i}/v1/casino/groups/${
|
|
4103
|
-
b.searchParams.append("language",
|
|
4104
|
-
r(2,
|
|
4099
|
+
r(2, d = !0);
|
|
4100
|
+
const b = new URL(`${i}/v1/casino/groups/${o}`);
|
|
4101
|
+
b.searchParams.append("language", s), fetch(b).then((M) => M.json()).then((M) => {
|
|
4102
|
+
r(2, d = !1);
|
|
4105
4103
|
const he = l.split(",").map((F) => F.trim());
|
|
4106
4104
|
g.push(...M.items);
|
|
4107
|
-
const
|
|
4108
|
-
r(3, E =
|
|
4105
|
+
const Ze = g.filter((F) => !he.some((Wt) => F.flags?.indexOf(Wt) >= 0));
|
|
4106
|
+
r(3, E = Ze.filter((F) => F.isTopCategory === !0)), r(4, m = Ze.filter((F) => F.isTopCategory === !1));
|
|
4109
4107
|
});
|
|
4110
4108
|
}, O = (b) => {
|
|
4111
4109
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4112
4110
|
}, B = () => {
|
|
4113
|
-
ii(
|
|
4111
|
+
ii(s);
|
|
4114
4112
|
};
|
|
4115
|
-
|
|
4113
|
+
rr(() => () => {
|
|
4116
4114
|
});
|
|
4117
4115
|
const H = (b) => O(b.id), P = (b) => O(b.id);
|
|
4118
|
-
function
|
|
4116
|
+
function zt(b) {
|
|
4119
4117
|
Pe[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,
|
|
4122
|
+
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, o = b.datasource), "lang" in b && r(9, s = 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
|
-
384 && i &&
|
|
4125
|
+
384 && i && o && A(), e.$$.dirty & /*translationurl*/
|
|
4128
4126
|
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4129
|
-
512 &&
|
|
4130
|
-
2050 && a &&
|
|
4131
|
-
4098 && h &&
|
|
4132
|
-
16386 && f &&
|
|
4127
|
+
512 && s && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4128
|
+
2050 && a && p && oi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4129
|
+
4098 && h && p && si(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4130
|
+
16386 && f && p && ai(p, `${f}.Style`);
|
|
4133
4131
|
}, [
|
|
4134
4132
|
u,
|
|
4135
|
-
d,
|
|
4136
4133
|
p,
|
|
4134
|
+
d,
|
|
4137
4135
|
E,
|
|
4138
4136
|
m,
|
|
4139
4137
|
n,
|
|
4140
4138
|
O,
|
|
4141
4139
|
i,
|
|
4142
|
-
s,
|
|
4143
4140
|
o,
|
|
4141
|
+
s,
|
|
4144
4142
|
l,
|
|
4145
4143
|
a,
|
|
4146
4144
|
h,
|
|
@@ -4148,17 +4146,17 @@ function ci(e, t, r) {
|
|
|
4148
4146
|
f,
|
|
4149
4147
|
H,
|
|
4150
4148
|
P,
|
|
4151
|
-
|
|
4149
|
+
zt
|
|
4152
4150
|
];
|
|
4153
4151
|
}
|
|
4154
|
-
class gi extends
|
|
4152
|
+
class gi extends mr {
|
|
4155
4153
|
constructor(t) {
|
|
4156
|
-
super(),
|
|
4154
|
+
super(), cr(
|
|
4157
4155
|
this,
|
|
4158
4156
|
t,
|
|
4159
4157
|
ci,
|
|
4160
4158
|
fi,
|
|
4161
|
-
|
|
4159
|
+
_t,
|
|
4162
4160
|
{
|
|
4163
4161
|
endpoint: 7,
|
|
4164
4162
|
datasource: 8,
|
|
@@ -4228,7 +4226,7 @@ class gi extends gr {
|
|
|
4228
4226
|
this.$$set({ mbsource: t }), I();
|
|
4229
4227
|
}
|
|
4230
4228
|
}
|
|
4231
|
-
|
|
4229
|
+
gr(gi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4232
4230
|
export {
|
|
4233
4231
|
gi as C
|
|
4234
4232
|
};
|