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