@everymatrix/casino-favorites-section 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSection-BMaCVR_5.js → CasinoFavoritesSection-BbAfqrjp.js} +437 -405
- package/components/{CasinoFavoritesSection-C_US6eLm.js → CasinoFavoritesSection-BnRCUetc.js} +577 -545
- package/components/CasinoFavoritesSection-uVv_6GgX.cjs +16 -0
- package/components/CasinoFilter-BAlRET3z.cjs +3 -0
- package/components/{CasinoFilter-CM4BfBTp.js → CasinoFilter-BLKx07_x.js} +389 -361
- package/components/{CasinoFilter-BIo4lkBK.js → CasinoFilter-CEbheVVU.js} +385 -359
- package/components/{CasinoGameThumbnail-xsHi7AOT.js → CasinoGameThumbnail-DqL5PpF3.js} +1289 -1338
- package/components/CasinoGameThumbnail-T3fZN1Gl.cjs +47 -0
- package/components/{CasinoGameThumbnail-DkNVsVYB.js → CasinoGameThumbnail-UwHivgu0.js} +1234 -1283
- package/components/{CasinoGamesCategorySection-C4IKrGad.js → CasinoGamesCategorySection-5jyRH8yY.js} +299 -292
- package/components/{CasinoGamesCategorySection-CMfbDbAd.js → CasinoGamesCategorySection-BvLgHejM.js} +298 -291
- package/components/{CasinoGamesCategorySection-Y6CPgHBF.cjs → CasinoGamesCategorySection-CcW4F72s.cjs} +1 -1
- package/components/{CasinoSort-DYcCL0Em.cjs → CasinoSort-CKe7Vrm3.cjs} +1 -1
- package/components/{CasinoSort-70HPavkh.js → CasinoSort-CPb5gLLA.js} +101 -101
- package/components/{CasinoSort-BNOilVtb.js → CasinoSort-CeHhMUhm.js} +111 -109
- package/es2015/casino-favorites-section.cjs +1 -1
- package/es2015/casino-favorites-section.js +1 -1
- package/esnext/casino-favorites-section.js +1 -1
- package/package.json +1 -1
- package/components/CasinoFavoritesSection-S0kNX3GO.cjs +0 -3
- package/components/CasinoFilter-gBPCz_Pi.cjs +0 -3
- package/components/CasinoGameThumbnail-zbL-qije.cjs +0 -47
package/components/{CasinoFavoritesSection-BMaCVR_5.js → CasinoFavoritesSection-BbAfqrjp.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function N() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function nt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Fe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function X(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(nt);
|
|
11
11
|
}
|
|
12
12
|
function Me(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function it(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let ne;
|
|
19
|
-
function
|
|
19
|
+
function qn(e, t) {
|
|
20
20
|
return e === t ? !0 : (ne || (ne = document.createElement("a")), ne.href = t, e === ne.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Ct(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function st(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,21 +31,22 @@ function nt(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Jn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(st(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Mt(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Rt(e, t, r) {
|
|
41
|
+
const n = $t(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = te("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, Ut(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
if (!e)
|
|
47
|
+
function $t(e) {
|
|
48
|
+
if (!e)
|
|
49
|
+
return document;
|
|
49
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
51
|
return t && /** @type {ShadowRoot} */
|
|
51
52
|
t.host ? (
|
|
@@ -53,8 +54,8 @@ function Mt(e) {
|
|
|
53
54
|
t
|
|
54
55
|
) : e.ownerDocument;
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
57
|
+
function Ut(e, t) {
|
|
58
|
+
return Mt(
|
|
58
59
|
/** @type {Document} */
|
|
59
60
|
e.head || e,
|
|
60
61
|
t
|
|
@@ -66,26 +67,26 @@ function le(e, t, r) {
|
|
|
66
67
|
function ee(e) {
|
|
67
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function Yn(e, t) {
|
|
70
71
|
for (let r = 0; r < e.length; r += 1)
|
|
71
72
|
e[r] && e[r].d(t);
|
|
72
73
|
}
|
|
73
74
|
function te(e) {
|
|
74
75
|
return document.createElement(e);
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
+
function Dt(e) {
|
|
77
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
+
function at(e) {
|
|
80
81
|
return document.createTextNode(e);
|
|
81
82
|
}
|
|
82
|
-
function Yn() {
|
|
83
|
-
return it(" ");
|
|
84
|
-
}
|
|
85
83
|
function Kn() {
|
|
86
|
-
return
|
|
84
|
+
return at(" ");
|
|
85
|
+
}
|
|
86
|
+
function ei() {
|
|
87
|
+
return at("");
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
+
function ti(e, t, r, n) {
|
|
89
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
90
91
|
}
|
|
91
92
|
function Re(e, t, r) {
|
|
@@ -95,20 +96,20 @@ function g(e, t, r) {
|
|
|
95
96
|
const n = t.toLowerCase();
|
|
96
97
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Re(e, t, r);
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function Gt(e) {
|
|
99
100
|
return Array.from(e.childNodes);
|
|
100
101
|
}
|
|
101
|
-
function
|
|
102
|
+
function ri(e, t) {
|
|
102
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
103
104
|
t);
|
|
104
105
|
}
|
|
105
|
-
function
|
|
106
|
+
function ni(e, t) {
|
|
106
107
|
e.value = t ?? "";
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
+
function ii(e, t, r) {
|
|
109
110
|
e.classList.toggle(t, !!r);
|
|
110
111
|
}
|
|
111
|
-
class
|
|
112
|
+
class si {
|
|
112
113
|
/**
|
|
113
114
|
* @private
|
|
114
115
|
* @default false
|
|
@@ -139,7 +140,7 @@ class ii {
|
|
|
139
140
|
* @returns {void}
|
|
140
141
|
*/
|
|
141
142
|
m(t, r, n = null) {
|
|
142
|
-
this.e || (this.is_svg ? this.e =
|
|
143
|
+
this.e || (this.is_svg ? this.e = Dt(
|
|
143
144
|
/** @type {keyof SVGElementTagNameMap} */
|
|
144
145
|
r.nodeName
|
|
145
146
|
) : this.e = te(
|
|
@@ -178,7 +179,7 @@ class ii {
|
|
|
178
179
|
this.n.forEach(ee);
|
|
179
180
|
}
|
|
180
181
|
}
|
|
181
|
-
function
|
|
182
|
+
function Ft(e) {
|
|
182
183
|
const t = {};
|
|
183
184
|
return e.childNodes.forEach(
|
|
184
185
|
/** @param {Element} node */
|
|
@@ -191,22 +192,23 @@ let J;
|
|
|
191
192
|
function q(e) {
|
|
192
193
|
J = e;
|
|
193
194
|
}
|
|
194
|
-
function
|
|
195
|
-
if (!J)
|
|
195
|
+
function jt() {
|
|
196
|
+
if (!J)
|
|
197
|
+
throw new Error("Function called outside component initialization");
|
|
196
198
|
return J;
|
|
197
199
|
}
|
|
198
|
-
function
|
|
199
|
-
|
|
200
|
+
function kt(e) {
|
|
201
|
+
jt().$$.on_mount.push(e);
|
|
200
202
|
}
|
|
201
203
|
const D = [], He = [];
|
|
202
204
|
let G = [];
|
|
203
|
-
const
|
|
205
|
+
const je = [], ot = /* @__PURE__ */ Promise.resolve();
|
|
204
206
|
let Te = !1;
|
|
205
|
-
function
|
|
206
|
-
Te || (Te = !0,
|
|
207
|
+
function ut() {
|
|
208
|
+
Te || (Te = !0, ot.then(H));
|
|
207
209
|
}
|
|
208
|
-
function
|
|
209
|
-
return
|
|
210
|
+
function ai() {
|
|
211
|
+
return ut(), ot;
|
|
210
212
|
}
|
|
211
213
|
function Se(e) {
|
|
212
214
|
G.push(e);
|
|
@@ -221,47 +223,49 @@ function H() {
|
|
|
221
223
|
try {
|
|
222
224
|
for (; $ < D.length; ) {
|
|
223
225
|
const t = D[$];
|
|
224
|
-
$++, q(t),
|
|
226
|
+
$++, q(t), Vt(t.$$);
|
|
225
227
|
}
|
|
226
228
|
} catch (t) {
|
|
227
229
|
throw D.length = 0, $ = 0, t;
|
|
228
230
|
}
|
|
229
|
-
for (q(null), D.length = 0, $ = 0; He.length; )
|
|
231
|
+
for (q(null), D.length = 0, $ = 0; He.length; )
|
|
232
|
+
He.pop()();
|
|
230
233
|
for (let t = 0; t < G.length; t += 1) {
|
|
231
234
|
const r = G[t];
|
|
232
235
|
be.has(r) || (be.add(r), r());
|
|
233
236
|
}
|
|
234
237
|
G.length = 0;
|
|
235
238
|
} while (D.length);
|
|
236
|
-
for (;
|
|
237
|
-
|
|
239
|
+
for (; je.length; )
|
|
240
|
+
je.pop()();
|
|
238
241
|
Te = !1, be.clear(), q(e);
|
|
239
242
|
}
|
|
240
|
-
function
|
|
243
|
+
function Vt(e) {
|
|
241
244
|
if (e.fragment !== null) {
|
|
242
245
|
e.update(), X(e.before_update);
|
|
243
246
|
const t = e.dirty;
|
|
244
247
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
245
248
|
}
|
|
246
249
|
}
|
|
247
|
-
function
|
|
250
|
+
function Xt(e) {
|
|
248
251
|
const t = [], r = [];
|
|
249
252
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
250
253
|
}
|
|
251
|
-
const
|
|
252
|
-
function
|
|
253
|
-
e && e.i && (
|
|
254
|
+
const zt = /* @__PURE__ */ new Set();
|
|
255
|
+
function ht(e, t) {
|
|
256
|
+
e && e.i && (zt.delete(e), e.i(t));
|
|
254
257
|
}
|
|
255
|
-
function
|
|
258
|
+
function oi(e) {
|
|
256
259
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
257
260
|
}
|
|
258
|
-
function
|
|
261
|
+
function ui(e, t) {
|
|
259
262
|
e.d(1), t.delete(e.key);
|
|
260
263
|
}
|
|
261
|
-
function
|
|
264
|
+
function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
262
265
|
let f = e.length, b = s.length, y = f;
|
|
263
266
|
const _ = {};
|
|
264
|
-
for (; y--; )
|
|
267
|
+
for (; y--; )
|
|
268
|
+
_[e[y].key] = y;
|
|
265
269
|
const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
|
|
266
270
|
for (y = b; y--; ) {
|
|
267
271
|
const c = m(i, s, y), I = r(c);
|
|
@@ -270,7 +274,7 @@ function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
270
274
|
}
|
|
271
275
|
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
272
276
|
function O(c) {
|
|
273
|
-
|
|
277
|
+
ht(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
274
278
|
}
|
|
275
279
|
for (; f && b; ) {
|
|
276
280
|
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
@@ -280,24 +284,25 @@ function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
280
284
|
const c = e[f];
|
|
281
285
|
w.has(c.key) || l(c, a);
|
|
282
286
|
}
|
|
283
|
-
for (; b; )
|
|
287
|
+
for (; b; )
|
|
288
|
+
O(T[b - 1]);
|
|
284
289
|
return X(S), T;
|
|
285
290
|
}
|
|
286
|
-
function
|
|
291
|
+
function Wt(e, t, r) {
|
|
287
292
|
const { fragment: n, after_update: i } = e.$$;
|
|
288
293
|
n && n.m(t, r), Se(() => {
|
|
289
|
-
const s = e.$$.on_mount.map(
|
|
294
|
+
const s = e.$$.on_mount.map(nt).filter(Me);
|
|
290
295
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
291
296
|
}), i.forEach(Se);
|
|
292
297
|
}
|
|
293
|
-
function
|
|
298
|
+
function Zt(e, t) {
|
|
294
299
|
const r = e.$$;
|
|
295
|
-
r.fragment !== null && (
|
|
300
|
+
r.fragment !== null && (Xt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
296
301
|
}
|
|
297
|
-
function
|
|
298
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
302
|
+
function Qt(e, t) {
|
|
303
|
+
e.$$.dirty[0] === -1 && (D.push(e), ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
299
304
|
}
|
|
300
|
-
function
|
|
305
|
+
function qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
301
306
|
const l = J;
|
|
302
307
|
q(e);
|
|
303
308
|
const u = e.$$ = {
|
|
@@ -307,7 +312,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
307
312
|
props: s,
|
|
308
313
|
update: N,
|
|
309
314
|
not_equal: i,
|
|
310
|
-
bound:
|
|
315
|
+
bound: Fe(),
|
|
311
316
|
// lifecycle
|
|
312
317
|
on_mount: [],
|
|
313
318
|
on_destroy: [],
|
|
@@ -316,7 +321,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
316
321
|
after_update: [],
|
|
317
322
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
318
323
|
// everything else
|
|
319
|
-
callbacks:
|
|
324
|
+
callbacks: Fe(),
|
|
320
325
|
dirty: o,
|
|
321
326
|
skip_bound: !1,
|
|
322
327
|
root: t.target || l.$$.root
|
|
@@ -325,19 +330,19 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
325
330
|
let h = !1;
|
|
326
331
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
327
332
|
const y = b.length ? b[0] : f;
|
|
328
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
333
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && Qt(e, m)), f;
|
|
329
334
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
330
335
|
if (t.hydrate) {
|
|
331
|
-
const m =
|
|
336
|
+
const m = Gt(t.target);
|
|
332
337
|
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
333
338
|
} else
|
|
334
339
|
u.fragment && u.fragment.c();
|
|
335
|
-
t.intro &&
|
|
340
|
+
t.intro && ht(e.$$.fragment), Wt(e, t.target, t.anchor), H();
|
|
336
341
|
}
|
|
337
342
|
q(l);
|
|
338
343
|
}
|
|
339
|
-
let
|
|
340
|
-
typeof HTMLElement == "function" && (
|
|
344
|
+
let lt;
|
|
345
|
+
typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
341
346
|
/** The Svelte component constructor */
|
|
342
347
|
$$ctor;
|
|
343
348
|
/** Slots */
|
|
@@ -396,7 +401,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
396
401
|
};
|
|
397
402
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
398
403
|
return;
|
|
399
|
-
const t = {}, r =
|
|
404
|
+
const t = {}, r = Ft(this);
|
|
400
405
|
for (const i of this.$$s)
|
|
401
406
|
i in r && (t[i] = [e(i)]);
|
|
402
407
|
for (const i of this.attributes) {
|
|
@@ -483,8 +488,8 @@ function se(e, t, r, n) {
|
|
|
483
488
|
return t;
|
|
484
489
|
}
|
|
485
490
|
}
|
|
486
|
-
function
|
|
487
|
-
let a = class extends
|
|
491
|
+
function Jt(e, t, r, n, i, s) {
|
|
492
|
+
let a = class extends lt {
|
|
488
493
|
constructor() {
|
|
489
494
|
super(e, r, i), this.$$p_d = t;
|
|
490
495
|
}
|
|
@@ -512,7 +517,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
512
517
|
}), e.element = /** @type {any} */
|
|
513
518
|
a, a;
|
|
514
519
|
}
|
|
515
|
-
class
|
|
520
|
+
class Yt {
|
|
516
521
|
/**
|
|
517
522
|
* ### PRIVATE API
|
|
518
523
|
*
|
|
@@ -531,7 +536,7 @@ class qt {
|
|
|
531
536
|
$$set = void 0;
|
|
532
537
|
/** @returns {void} */
|
|
533
538
|
$destroy() {
|
|
534
|
-
|
|
539
|
+
Zt(this, 1), this.$destroy = N;
|
|
535
540
|
}
|
|
536
541
|
/**
|
|
537
542
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -553,13 +558,13 @@ class qt {
|
|
|
553
558
|
* @returns {void}
|
|
554
559
|
*/
|
|
555
560
|
$set(t) {
|
|
556
|
-
this.$$set && !
|
|
561
|
+
this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
557
562
|
}
|
|
558
563
|
}
|
|
559
|
-
const
|
|
560
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
564
|
+
const Kt = "4";
|
|
565
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
|
|
561
566
|
const U = [];
|
|
562
|
-
function
|
|
567
|
+
function er(e, t) {
|
|
563
568
|
return {
|
|
564
569
|
subscribe: fe(e, t).subscribe
|
|
565
570
|
};
|
|
@@ -568,7 +573,7 @@ function fe(e, t = N) {
|
|
|
568
573
|
let r;
|
|
569
574
|
const n = /* @__PURE__ */ new Set();
|
|
570
575
|
function i(o) {
|
|
571
|
-
if (
|
|
576
|
+
if (it(e, o) && (e = o, r)) {
|
|
572
577
|
const l = !U.length;
|
|
573
578
|
for (const u of n)
|
|
574
579
|
u[1](), U.push(u, e);
|
|
@@ -590,12 +595,12 @@ function fe(e, t = N) {
|
|
|
590
595
|
}
|
|
591
596
|
return { set: i, update: s, subscribe: a };
|
|
592
597
|
}
|
|
593
|
-
function
|
|
598
|
+
function z(e, t, r) {
|
|
594
599
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
595
600
|
if (!i.every(Boolean))
|
|
596
601
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
597
602
|
const s = t.length < 2;
|
|
598
|
-
return
|
|
603
|
+
return er(r, (a, o) => {
|
|
599
604
|
let l = !1;
|
|
600
605
|
const u = [];
|
|
601
606
|
let h = 0, m = N;
|
|
@@ -606,7 +611,7 @@ function W(e, t, r) {
|
|
|
606
611
|
const y = t(n ? u[0] : u, a, o);
|
|
607
612
|
s ? a(y) : m = Me(y) ? y : N;
|
|
608
613
|
}, b = i.map(
|
|
609
|
-
(y, _) =>
|
|
614
|
+
(y, _) => st(
|
|
610
615
|
y,
|
|
611
616
|
(T) => {
|
|
612
617
|
u[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -621,70 +626,70 @@ function W(e, t, r) {
|
|
|
621
626
|
};
|
|
622
627
|
});
|
|
623
628
|
}
|
|
624
|
-
function
|
|
629
|
+
function tr(e) {
|
|
625
630
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
626
631
|
}
|
|
627
|
-
var
|
|
628
|
-
return
|
|
632
|
+
var rr = function(t) {
|
|
633
|
+
return nr(t) && !ir(t);
|
|
629
634
|
};
|
|
630
|
-
function
|
|
635
|
+
function nr(e) {
|
|
631
636
|
return !!e && typeof e == "object";
|
|
632
637
|
}
|
|
633
|
-
function
|
|
638
|
+
function ir(e) {
|
|
634
639
|
var t = Object.prototype.toString.call(e);
|
|
635
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
640
|
+
return t === "[object RegExp]" || t === "[object Date]" || or(e);
|
|
636
641
|
}
|
|
637
|
-
var
|
|
638
|
-
function
|
|
639
|
-
return e.$$typeof ===
|
|
642
|
+
var sr = typeof Symbol == "function" && Symbol.for, ar = sr ? Symbol.for("react.element") : 60103;
|
|
643
|
+
function or(e) {
|
|
644
|
+
return e.$$typeof === ar;
|
|
640
645
|
}
|
|
641
|
-
function
|
|
646
|
+
function ur(e) {
|
|
642
647
|
return Array.isArray(e) ? [] : {};
|
|
643
648
|
}
|
|
644
649
|
function Y(e, t) {
|
|
645
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
650
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
|
|
646
651
|
}
|
|
647
|
-
function
|
|
652
|
+
function hr(e, t, r) {
|
|
648
653
|
return e.concat(t).map(function(n) {
|
|
649
654
|
return Y(n, r);
|
|
650
655
|
});
|
|
651
656
|
}
|
|
652
|
-
function
|
|
657
|
+
function lr(e, t) {
|
|
653
658
|
if (!t.customMerge)
|
|
654
659
|
return F;
|
|
655
660
|
var r = t.customMerge(e);
|
|
656
661
|
return typeof r == "function" ? r : F;
|
|
657
662
|
}
|
|
658
|
-
function
|
|
663
|
+
function fr(e) {
|
|
659
664
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
660
665
|
return Object.propertyIsEnumerable.call(e, t);
|
|
661
666
|
}) : [];
|
|
662
667
|
}
|
|
663
|
-
function
|
|
664
|
-
return Object.keys(e).concat(
|
|
668
|
+
function ke(e) {
|
|
669
|
+
return Object.keys(e).concat(fr(e));
|
|
665
670
|
}
|
|
666
|
-
function
|
|
671
|
+
function ft(e, t) {
|
|
667
672
|
try {
|
|
668
673
|
return t in e;
|
|
669
674
|
} catch {
|
|
670
675
|
return !1;
|
|
671
676
|
}
|
|
672
677
|
}
|
|
673
|
-
function
|
|
674
|
-
return
|
|
678
|
+
function cr(e, t) {
|
|
679
|
+
return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
675
680
|
}
|
|
676
|
-
function
|
|
681
|
+
function mr(e, t, r) {
|
|
677
682
|
var n = {};
|
|
678
|
-
return r.isMergeableObject(e) &&
|
|
683
|
+
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
679
684
|
n[i] = Y(e[i], r);
|
|
680
|
-
}),
|
|
681
|
-
|
|
685
|
+
}), ke(t).forEach(function(i) {
|
|
686
|
+
cr(e, i) || (ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
682
687
|
}), n;
|
|
683
688
|
}
|
|
684
689
|
function F(e, t, r) {
|
|
685
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
690
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
686
691
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
687
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
692
|
+
return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
|
|
688
693
|
}
|
|
689
694
|
F.all = function(t, r) {
|
|
690
695
|
if (!Array.isArray(t))
|
|
@@ -693,13 +698,28 @@ F.all = function(t, r) {
|
|
|
693
698
|
return F(n, i, r);
|
|
694
699
|
}, {});
|
|
695
700
|
};
|
|
696
|
-
var
|
|
697
|
-
const
|
|
701
|
+
var gr = F, dr = gr;
|
|
702
|
+
const br = /* @__PURE__ */ tr(dr);
|
|
703
|
+
/*! *****************************************************************************
|
|
704
|
+
Copyright (c) Microsoft Corporation.
|
|
705
|
+
|
|
706
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
707
|
+
purpose with or without fee is hereby granted.
|
|
708
|
+
|
|
709
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
710
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
711
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
712
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
713
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
714
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
715
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
716
|
+
***************************************************************************** */
|
|
698
717
|
var Be = function(e, t) {
|
|
699
718
|
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
700
719
|
r.__proto__ = n;
|
|
701
720
|
} || function(r, n) {
|
|
702
|
-
for (var i in n)
|
|
721
|
+
for (var i in n)
|
|
722
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
703
723
|
}, Be(e, t);
|
|
704
724
|
};
|
|
705
725
|
function ce(e, t) {
|
|
@@ -715,99 +735,109 @@ var E = function() {
|
|
|
715
735
|
return E = Object.assign || function(t) {
|
|
716
736
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
717
737
|
r = arguments[n];
|
|
718
|
-
for (var s in r)
|
|
738
|
+
for (var s in r)
|
|
739
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
719
740
|
}
|
|
720
741
|
return t;
|
|
721
742
|
}, E.apply(this, arguments);
|
|
722
743
|
};
|
|
723
|
-
function
|
|
744
|
+
function pr(e, t) {
|
|
724
745
|
var r = {};
|
|
725
|
-
for (var n in e)
|
|
746
|
+
for (var n in e)
|
|
747
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
726
748
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
727
749
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
728
750
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
729
751
|
return r;
|
|
730
752
|
}
|
|
731
|
-
function
|
|
753
|
+
function li(e) {
|
|
732
754
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
733
|
-
if (r)
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
755
|
+
if (r)
|
|
756
|
+
return r.call(e);
|
|
757
|
+
if (e && typeof e.length == "number")
|
|
758
|
+
return {
|
|
759
|
+
next: function() {
|
|
760
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
761
|
+
}
|
|
762
|
+
};
|
|
739
763
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
740
764
|
}
|
|
741
|
-
function
|
|
765
|
+
function fi(e, t) {
|
|
742
766
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
743
|
-
if (!r)
|
|
767
|
+
if (!r)
|
|
768
|
+
return e;
|
|
744
769
|
var n = r.call(e), i, s = [], a;
|
|
745
770
|
try {
|
|
746
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
771
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
772
|
+
s.push(i.value);
|
|
747
773
|
} catch (o) {
|
|
748
774
|
a = { error: o };
|
|
749
775
|
} finally {
|
|
750
776
|
try {
|
|
751
777
|
i && !i.done && (r = n.return) && r.call(n);
|
|
752
778
|
} finally {
|
|
753
|
-
if (a)
|
|
779
|
+
if (a)
|
|
780
|
+
throw a.error;
|
|
754
781
|
}
|
|
755
782
|
}
|
|
756
783
|
return s;
|
|
757
784
|
}
|
|
758
785
|
function pe(e, t, r) {
|
|
759
|
-
if (r || arguments.length === 2)
|
|
760
|
-
(
|
|
761
|
-
|
|
786
|
+
if (r || arguments.length === 2)
|
|
787
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
788
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
789
|
+
return e.concat(s || t);
|
|
762
790
|
}
|
|
763
791
|
function ye(e, t) {
|
|
764
|
-
var r = t && t.cache ? t.cache :
|
|
792
|
+
var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : xr, i = t && t.strategy ? t.strategy : Er;
|
|
765
793
|
return i(e, {
|
|
766
794
|
cache: r,
|
|
767
795
|
serializer: n
|
|
768
796
|
});
|
|
769
797
|
}
|
|
770
|
-
function
|
|
798
|
+
function yr(e) {
|
|
771
799
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
772
800
|
}
|
|
773
|
-
function
|
|
774
|
-
var i =
|
|
801
|
+
function ct(e, t, r, n) {
|
|
802
|
+
var i = yr(n) ? n : r(n), s = t.get(i);
|
|
775
803
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
776
804
|
}
|
|
777
|
-
function
|
|
805
|
+
function mt(e, t, r) {
|
|
778
806
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
779
807
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
780
808
|
}
|
|
781
|
-
function
|
|
809
|
+
function $e(e, t, r, n, i) {
|
|
782
810
|
return r.bind(t, e, n, i);
|
|
783
811
|
}
|
|
784
|
-
function yr(e, t) {
|
|
785
|
-
var r = e.length === 1 ? pr : lt;
|
|
786
|
-
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
787
|
-
}
|
|
788
812
|
function Er(e, t) {
|
|
789
|
-
|
|
813
|
+
var r = e.length === 1 ? ct : mt;
|
|
814
|
+
return $e(e, this, r, t.cache.create(), t.serializer);
|
|
815
|
+
}
|
|
816
|
+
function vr(e, t) {
|
|
817
|
+
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
818
|
+
}
|
|
819
|
+
function _r(e, t) {
|
|
820
|
+
return $e(e, this, ct, t.cache.create(), t.serializer);
|
|
790
821
|
}
|
|
791
|
-
var
|
|
822
|
+
var xr = function() {
|
|
792
823
|
return JSON.stringify(arguments);
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
}()
|
|
805
|
-
), xr = {
|
|
824
|
+
};
|
|
825
|
+
function Ue() {
|
|
826
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
827
|
+
}
|
|
828
|
+
Ue.prototype.get = function(e) {
|
|
829
|
+
return this.cache[e];
|
|
830
|
+
};
|
|
831
|
+
Ue.prototype.set = function(e, t) {
|
|
832
|
+
this.cache[e] = t;
|
|
833
|
+
};
|
|
834
|
+
var Hr = {
|
|
806
835
|
create: function() {
|
|
807
|
-
return new
|
|
836
|
+
return new Ue();
|
|
808
837
|
}
|
|
809
838
|
}, Ee = {
|
|
810
|
-
variadic:
|
|
839
|
+
variadic: vr,
|
|
840
|
+
monadic: _r
|
|
811
841
|
}, d;
|
|
812
842
|
(function(e) {
|
|
813
843
|
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";
|
|
@@ -820,43 +850,43 @@ var j;
|
|
|
820
850
|
(function(e) {
|
|
821
851
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
822
852
|
})(j || (j = {}));
|
|
823
|
-
function
|
|
853
|
+
function Ve(e) {
|
|
824
854
|
return e.type === v.literal;
|
|
825
855
|
}
|
|
826
|
-
function
|
|
856
|
+
function Tr(e) {
|
|
827
857
|
return e.type === v.argument;
|
|
828
858
|
}
|
|
829
|
-
function
|
|
859
|
+
function gt(e) {
|
|
830
860
|
return e.type === v.number;
|
|
831
861
|
}
|
|
832
|
-
function
|
|
862
|
+
function dt(e) {
|
|
833
863
|
return e.type === v.date;
|
|
834
864
|
}
|
|
835
|
-
function
|
|
865
|
+
function bt(e) {
|
|
836
866
|
return e.type === v.time;
|
|
837
867
|
}
|
|
838
|
-
function
|
|
868
|
+
function pt(e) {
|
|
839
869
|
return e.type === v.select;
|
|
840
870
|
}
|
|
841
|
-
function
|
|
871
|
+
function yt(e) {
|
|
842
872
|
return e.type === v.plural;
|
|
843
873
|
}
|
|
844
|
-
function
|
|
874
|
+
function Sr(e) {
|
|
845
875
|
return e.type === v.pound;
|
|
846
876
|
}
|
|
847
|
-
function
|
|
877
|
+
function Et(e) {
|
|
848
878
|
return e.type === v.tag;
|
|
849
879
|
}
|
|
850
|
-
function
|
|
880
|
+
function vt(e) {
|
|
851
881
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
852
882
|
}
|
|
853
883
|
function Ae(e) {
|
|
854
884
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
855
885
|
}
|
|
856
|
-
var
|
|
857
|
-
function
|
|
886
|
+
var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Br = /(?:[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;
|
|
887
|
+
function Ar(e) {
|
|
858
888
|
var t = {};
|
|
859
|
-
return e.replace(
|
|
889
|
+
return e.replace(Br, function(r) {
|
|
860
890
|
var n = r.length;
|
|
861
891
|
switch (r[0]) {
|
|
862
892
|
case "G":
|
|
@@ -945,11 +975,11 @@ function Br(e) {
|
|
|
945
975
|
return "";
|
|
946
976
|
}), t;
|
|
947
977
|
}
|
|
948
|
-
var
|
|
949
|
-
function
|
|
978
|
+
var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
979
|
+
function Pr(e) {
|
|
950
980
|
if (e.length === 0)
|
|
951
981
|
throw new Error("Number skeleton cannot be empty");
|
|
952
|
-
for (var t = e.split(
|
|
982
|
+
for (var t = e.split(wr).filter(function(f) {
|
|
953
983
|
return f.length > 0;
|
|
954
984
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
955
985
|
var s = i[n], a = s.split("/");
|
|
@@ -964,17 +994,17 @@ function wr(e) {
|
|
|
964
994
|
}
|
|
965
995
|
return r;
|
|
966
996
|
}
|
|
967
|
-
function
|
|
997
|
+
function Nr(e) {
|
|
968
998
|
return e.replace(/^(.*?)-/, "");
|
|
969
999
|
}
|
|
970
|
-
var
|
|
971
|
-
function
|
|
1000
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
|
|
1001
|
+
function ze(e) {
|
|
972
1002
|
var t = {};
|
|
973
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1003
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
|
|
974
1004
|
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)), "";
|
|
975
1005
|
}), t;
|
|
976
1006
|
}
|
|
977
|
-
function
|
|
1007
|
+
function Tt(e) {
|
|
978
1008
|
switch (e) {
|
|
979
1009
|
case "sign-auto":
|
|
980
1010
|
return {
|
|
@@ -1014,7 +1044,7 @@ function xt(e) {
|
|
|
1014
1044
|
};
|
|
1015
1045
|
}
|
|
1016
1046
|
}
|
|
1017
|
-
function
|
|
1047
|
+
function Ir(e) {
|
|
1018
1048
|
var t;
|
|
1019
1049
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1020
1050
|
notation: "engineering"
|
|
@@ -1022,17 +1052,17 @@ function Or(e) {
|
|
|
1022
1052
|
notation: "scientific"
|
|
1023
1053
|
}, e = e.slice(1)), t) {
|
|
1024
1054
|
var r = e.slice(0, 2);
|
|
1025
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1055
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ht.test(e))
|
|
1026
1056
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1027
1057
|
t.minimumIntegerDigits = e.length;
|
|
1028
1058
|
}
|
|
1029
1059
|
return t;
|
|
1030
1060
|
}
|
|
1031
|
-
function
|
|
1032
|
-
var t = {}, r =
|
|
1061
|
+
function We(e) {
|
|
1062
|
+
var t = {}, r = Tt(e);
|
|
1033
1063
|
return r || t;
|
|
1034
1064
|
}
|
|
1035
|
-
function
|
|
1065
|
+
function Lr(e) {
|
|
1036
1066
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1037
1067
|
var i = n[r];
|
|
1038
1068
|
switch (i.stem) {
|
|
@@ -1056,7 +1086,7 @@ function Ir(e) {
|
|
|
1056
1086
|
continue;
|
|
1057
1087
|
case "measure-unit":
|
|
1058
1088
|
case "unit":
|
|
1059
|
-
t.style = "unit", t.unit =
|
|
1089
|
+
t.style = "unit", t.unit = Nr(i.options[0]);
|
|
1060
1090
|
continue;
|
|
1061
1091
|
case "compact-short":
|
|
1062
1092
|
case "K":
|
|
@@ -1068,12 +1098,12 @@ function Ir(e) {
|
|
|
1068
1098
|
continue;
|
|
1069
1099
|
case "scientific":
|
|
1070
1100
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1071
|
-
return E(E({}, l),
|
|
1101
|
+
return E(E({}, l), We(u));
|
|
1072
1102
|
}, {}));
|
|
1073
1103
|
continue;
|
|
1074
1104
|
case "engineering":
|
|
1075
1105
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1076
|
-
return E(E({}, l),
|
|
1106
|
+
return E(E({}, l), We(u));
|
|
1077
1107
|
}, {}));
|
|
1078
1108
|
continue;
|
|
1079
1109
|
case "notation-simple":
|
|
@@ -1118,7 +1148,7 @@ function Ir(e) {
|
|
|
1118
1148
|
case "integer-width":
|
|
1119
1149
|
if (i.options.length > 1)
|
|
1120
1150
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1121
|
-
i.options[0].replace(
|
|
1151
|
+
i.options[0].replace(Or, function(l, u, h, m, f, b) {
|
|
1122
1152
|
if (u)
|
|
1123
1153
|
t.minimumIntegerDigits = h.length;
|
|
1124
1154
|
else {
|
|
@@ -1131,27 +1161,27 @@ function Ir(e) {
|
|
|
1131
1161
|
});
|
|
1132
1162
|
continue;
|
|
1133
1163
|
}
|
|
1134
|
-
if (
|
|
1164
|
+
if (Ht.test(i.stem)) {
|
|
1135
1165
|
t.minimumIntegerDigits = i.stem.length;
|
|
1136
1166
|
continue;
|
|
1137
1167
|
}
|
|
1138
|
-
if (
|
|
1168
|
+
if (Xe.test(i.stem)) {
|
|
1139
1169
|
if (i.options.length > 1)
|
|
1140
1170
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1141
|
-
i.stem.replace(
|
|
1171
|
+
i.stem.replace(Xe, function(l, u, h, m, f, b) {
|
|
1142
1172
|
return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1143
1173
|
});
|
|
1144
1174
|
var s = i.options[0];
|
|
1145
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1175
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
|
|
1146
1176
|
continue;
|
|
1147
1177
|
}
|
|
1148
|
-
if (
|
|
1149
|
-
t = E(E({}, t),
|
|
1178
|
+
if (xt.test(i.stem)) {
|
|
1179
|
+
t = E(E({}, t), ze(i.stem));
|
|
1150
1180
|
continue;
|
|
1151
1181
|
}
|
|
1152
|
-
var a =
|
|
1182
|
+
var a = Tt(i.stem);
|
|
1153
1183
|
a && (t = E(E({}, t), a));
|
|
1154
|
-
var o =
|
|
1184
|
+
var o = Ir(i.stem);
|
|
1155
1185
|
o && (t = E(E({}, t), o));
|
|
1156
1186
|
}
|
|
1157
1187
|
return t;
|
|
@@ -2571,22 +2601,23 @@ var ie = {
|
|
|
2571
2601
|
"h"
|
|
2572
2602
|
]
|
|
2573
2603
|
};
|
|
2574
|
-
function
|
|
2604
|
+
function Cr(e, t) {
|
|
2575
2605
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2576
2606
|
var i = e.charAt(n);
|
|
2577
2607
|
if (i === "j") {
|
|
2578
2608
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2579
2609
|
s++, n++;
|
|
2580
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2610
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mr(t);
|
|
2581
2611
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2582
2612
|
r += l;
|
|
2583
2613
|
for (; a-- > 0; )
|
|
2584
2614
|
r = u + r;
|
|
2585
|
-
} else
|
|
2615
|
+
} else
|
|
2616
|
+
i === "J" ? r += "H" : r += i;
|
|
2586
2617
|
}
|
|
2587
2618
|
return r;
|
|
2588
2619
|
}
|
|
2589
|
-
function
|
|
2620
|
+
function Mr(e) {
|
|
2590
2621
|
var t = e.hourCycle;
|
|
2591
2622
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2592
2623
|
e.hourCycles && // @ts-ignore
|
|
@@ -2608,20 +2639,20 @@ function Cr(e) {
|
|
|
2608
2639
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2609
2640
|
return i[0];
|
|
2610
2641
|
}
|
|
2611
|
-
var ve,
|
|
2642
|
+
var ve, Rr = new RegExp("^".concat(_t.source, "*")), $r = new RegExp("".concat(_t.source, "*$"));
|
|
2612
2643
|
function p(e, t) {
|
|
2613
2644
|
return { start: e, end: t };
|
|
2614
2645
|
}
|
|
2615
|
-
var
|
|
2646
|
+
var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Vr = !!Number.isSafeInteger, Xr = Vr ? Number.isSafeInteger : function(e) {
|
|
2616
2647
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2617
2648
|
}, we = !0;
|
|
2618
2649
|
try {
|
|
2619
|
-
var
|
|
2620
|
-
we = ((ve =
|
|
2650
|
+
var zr = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2651
|
+
we = ((ve = zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
|
2621
2652
|
} catch {
|
|
2622
2653
|
we = !1;
|
|
2623
2654
|
}
|
|
2624
|
-
var
|
|
2655
|
+
var Ze = Ur ? (
|
|
2625
2656
|
// Native
|
|
2626
2657
|
function(t, r, n) {
|
|
2627
2658
|
return t.startsWith(r, n);
|
|
@@ -2631,7 +2662,7 @@ var We = $r ? (
|
|
|
2631
2662
|
function(t, r, n) {
|
|
2632
2663
|
return t.slice(n, n + r.length) === r;
|
|
2633
2664
|
}
|
|
2634
|
-
), Pe =
|
|
2665
|
+
), Pe = Dr ? String.fromCodePoint : (
|
|
2635
2666
|
// IE11
|
|
2636
2667
|
function() {
|
|
2637
2668
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2643,9 +2674,9 @@ var We = $r ? (
|
|
|
2643
2674
|
}
|
|
2644
2675
|
return n;
|
|
2645
2676
|
}
|
|
2646
|
-
),
|
|
2677
|
+
), Qe = (
|
|
2647
2678
|
// native
|
|
2648
|
-
|
|
2679
|
+
Gr ? Object.fromEntries : (
|
|
2649
2680
|
// Ponyfill
|
|
2650
2681
|
function(t) {
|
|
2651
2682
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2655,7 +2686,7 @@ var We = $r ? (
|
|
|
2655
2686
|
return r;
|
|
2656
2687
|
}
|
|
2657
2688
|
)
|
|
2658
|
-
),
|
|
2689
|
+
), St = Fr ? (
|
|
2659
2690
|
// Native
|
|
2660
2691
|
function(t, r) {
|
|
2661
2692
|
return t.codePointAt(r);
|
|
@@ -2669,7 +2700,7 @@ var We = $r ? (
|
|
|
2669
2700
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2670
2701
|
}
|
|
2671
2702
|
}
|
|
2672
|
-
), Wr =
|
|
2703
|
+
), Wr = jr ? (
|
|
2673
2704
|
// Native
|
|
2674
2705
|
function(t) {
|
|
2675
2706
|
return t.trimStart();
|
|
@@ -2677,9 +2708,9 @@ var We = $r ? (
|
|
|
2677
2708
|
) : (
|
|
2678
2709
|
// Ponyfill
|
|
2679
2710
|
function(t) {
|
|
2680
|
-
return t.replace(
|
|
2711
|
+
return t.replace(Rr, "");
|
|
2681
2712
|
}
|
|
2682
|
-
),
|
|
2713
|
+
), Zr = kr ? (
|
|
2683
2714
|
// Native
|
|
2684
2715
|
function(t) {
|
|
2685
2716
|
return t.trimEnd();
|
|
@@ -2687,32 +2718,32 @@ var We = $r ? (
|
|
|
2687
2718
|
) : (
|
|
2688
2719
|
// Ponyfill
|
|
2689
2720
|
function(t) {
|
|
2690
|
-
return t.replace(
|
|
2721
|
+
return t.replace($r, "");
|
|
2691
2722
|
}
|
|
2692
2723
|
);
|
|
2693
|
-
function
|
|
2724
|
+
function Bt(e, t) {
|
|
2694
2725
|
return new RegExp(e, t);
|
|
2695
2726
|
}
|
|
2696
2727
|
var Ne;
|
|
2697
2728
|
if (we) {
|
|
2698
|
-
var
|
|
2729
|
+
var qe = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2699
2730
|
Ne = function(t, r) {
|
|
2700
2731
|
var n;
|
|
2701
|
-
|
|
2702
|
-
var i =
|
|
2732
|
+
qe.lastIndex = r;
|
|
2733
|
+
var i = qe.exec(t);
|
|
2703
2734
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2704
2735
|
};
|
|
2705
2736
|
} else
|
|
2706
2737
|
Ne = function(t, r) {
|
|
2707
2738
|
for (var n = []; ; ) {
|
|
2708
|
-
var i =
|
|
2709
|
-
if (i === void 0 ||
|
|
2739
|
+
var i = St(t, r);
|
|
2740
|
+
if (i === void 0 || At(i) || Yr(i))
|
|
2710
2741
|
break;
|
|
2711
2742
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2712
2743
|
}
|
|
2713
2744
|
return Pe.apply(void 0, n);
|
|
2714
2745
|
};
|
|
2715
|
-
var
|
|
2746
|
+
var Qr = (
|
|
2716
2747
|
/** @class */
|
|
2717
2748
|
function() {
|
|
2718
2749
|
function e(t, r) {
|
|
@@ -2794,7 +2825,7 @@ var Zr = (
|
|
|
2794
2825
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2795
2826
|
}, e.prototype.parseTagName = function() {
|
|
2796
2827
|
var t = this.offset();
|
|
2797
|
-
for (this.bump(); !this.isEOF() &&
|
|
2828
|
+
for (this.bump(); !this.isEOF() && Jr(this.char()); )
|
|
2798
2829
|
this.bump();
|
|
2799
2830
|
return this.message.slice(t, this.offset());
|
|
2800
2831
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2823,7 +2854,7 @@ var Zr = (
|
|
|
2823
2854
|
};
|
|
2824
2855
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2825
2856
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2826
|
-
!
|
|
2857
|
+
!qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2827
2858
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2828
2859
|
if (this.isEOF() || this.char() !== 39)
|
|
2829
2860
|
return null;
|
|
@@ -2910,7 +2941,7 @@ var Zr = (
|
|
|
2910
2941
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2911
2942
|
if (m.err)
|
|
2912
2943
|
return m;
|
|
2913
|
-
var f =
|
|
2944
|
+
var f = Zr(m.val);
|
|
2914
2945
|
if (f.length === 0)
|
|
2915
2946
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2916
2947
|
var b = p(h, this.clonePosition());
|
|
@@ -2920,7 +2951,7 @@ var Zr = (
|
|
|
2920
2951
|
if (y.err)
|
|
2921
2952
|
return y;
|
|
2922
2953
|
var _ = p(i, this.clonePosition());
|
|
2923
|
-
if (u &&
|
|
2954
|
+
if (u && Ze(u?.style, "::", 0)) {
|
|
2924
2955
|
var T = Wr(u.style.slice(2));
|
|
2925
2956
|
if (o === "number") {
|
|
2926
2957
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
@@ -2932,12 +2963,12 @@ var Zr = (
|
|
|
2932
2963
|
if (T.length === 0)
|
|
2933
2964
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2934
2965
|
var w = T;
|
|
2935
|
-
this.locale && (w =
|
|
2966
|
+
this.locale && (w = Cr(T, this.locale));
|
|
2936
2967
|
var f = {
|
|
2937
2968
|
type: j.dateTime,
|
|
2938
2969
|
pattern: w,
|
|
2939
2970
|
location: u.styleLocation,
|
|
2940
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2971
|
+
parsedOptions: this.shouldParseSkeletons ? Ar(w) : {}
|
|
2941
2972
|
}, A = o === "date" ? v.date : v.time;
|
|
2942
2973
|
return {
|
|
2943
2974
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -2983,7 +3014,7 @@ var Zr = (
|
|
|
2983
3014
|
val: {
|
|
2984
3015
|
type: v.select,
|
|
2985
3016
|
value: n,
|
|
2986
|
-
options:
|
|
3017
|
+
options: Qe(O.val),
|
|
2987
3018
|
location: c
|
|
2988
3019
|
},
|
|
2989
3020
|
err: null
|
|
@@ -2991,7 +3022,7 @@ var Zr = (
|
|
|
2991
3022
|
val: {
|
|
2992
3023
|
type: v.plural,
|
|
2993
3024
|
value: n,
|
|
2994
|
-
options:
|
|
3025
|
+
options: Qe(O.val),
|
|
2995
3026
|
offset: x,
|
|
2996
3027
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2997
3028
|
location: c
|
|
@@ -3042,7 +3073,7 @@ var Zr = (
|
|
|
3042
3073
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3043
3074
|
var n = [];
|
|
3044
3075
|
try {
|
|
3045
|
-
n =
|
|
3076
|
+
n = Pr(t);
|
|
3046
3077
|
} catch {
|
|
3047
3078
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3048
3079
|
}
|
|
@@ -3051,7 +3082,7 @@ var Zr = (
|
|
|
3051
3082
|
type: j.number,
|
|
3052
3083
|
tokens: n,
|
|
3053
3084
|
location: r,
|
|
3054
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3085
|
+
parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
|
|
3055
3086
|
},
|
|
3056
3087
|
err: null
|
|
3057
3088
|
};
|
|
@@ -3099,7 +3130,7 @@ var Zr = (
|
|
|
3099
3130
|
break;
|
|
3100
3131
|
}
|
|
3101
3132
|
var l = p(i, this.clonePosition());
|
|
3102
|
-
return s ? (a *= n,
|
|
3133
|
+
return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3103
3134
|
}, e.prototype.offset = function() {
|
|
3104
3135
|
return this.position.offset;
|
|
3105
3136
|
}, e.prototype.isEOF = function() {
|
|
@@ -3114,7 +3145,7 @@ var Zr = (
|
|
|
3114
3145
|
var t = this.position.offset;
|
|
3115
3146
|
if (t >= this.message.length)
|
|
3116
3147
|
throw Error("out of bound");
|
|
3117
|
-
var r =
|
|
3148
|
+
var r = St(this.message, t);
|
|
3118
3149
|
if (r === void 0)
|
|
3119
3150
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3120
3151
|
return r;
|
|
@@ -3133,7 +3164,7 @@ var Zr = (
|
|
|
3133
3164
|
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);
|
|
3134
3165
|
}
|
|
3135
3166
|
}, e.prototype.bumpIf = function(t) {
|
|
3136
|
-
if (
|
|
3167
|
+
if (Ze(this.message, t, this.offset())) {
|
|
3137
3168
|
for (var r = 0; r < t.length; r++)
|
|
3138
3169
|
this.bump();
|
|
3139
3170
|
return !0;
|
|
@@ -3155,7 +3186,7 @@ var Zr = (
|
|
|
3155
3186
|
break;
|
|
3156
3187
|
}
|
|
3157
3188
|
}, e.prototype.bumpSpace = function() {
|
|
3158
|
-
for (; !this.isEOF() &&
|
|
3189
|
+
for (; !this.isEOF() && At(this.char()); )
|
|
3159
3190
|
this.bump();
|
|
3160
3191
|
}, e.prototype.peek = function() {
|
|
3161
3192
|
if (this.isEOF())
|
|
@@ -3168,29 +3199,30 @@ var Zr = (
|
|
|
3168
3199
|
function Oe(e) {
|
|
3169
3200
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3170
3201
|
}
|
|
3171
|
-
function
|
|
3202
|
+
function qr(e) {
|
|
3172
3203
|
return Oe(e) || e === 47;
|
|
3173
3204
|
}
|
|
3174
|
-
function
|
|
3205
|
+
function Jr(e) {
|
|
3175
3206
|
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;
|
|
3176
3207
|
}
|
|
3177
|
-
function
|
|
3208
|
+
function At(e) {
|
|
3178
3209
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3179
3210
|
}
|
|
3180
|
-
function
|
|
3211
|
+
function Yr(e) {
|
|
3181
3212
|
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;
|
|
3182
3213
|
}
|
|
3183
3214
|
function Ie(e) {
|
|
3184
3215
|
e.forEach(function(t) {
|
|
3185
|
-
if (delete t.location,
|
|
3216
|
+
if (delete t.location, pt(t) || yt(t))
|
|
3186
3217
|
for (var r in t.options)
|
|
3187
3218
|
delete t.options[r].location, Ie(t.options[r].value);
|
|
3188
|
-
else
|
|
3219
|
+
else
|
|
3220
|
+
gt(t) && vt(t.style) || (dt(t) || bt(t)) && Ae(t.style) ? delete t.style.location : Et(t) && Ie(t.children);
|
|
3189
3221
|
});
|
|
3190
3222
|
}
|
|
3191
|
-
function
|
|
3223
|
+
function Kr(e, t) {
|
|
3192
3224
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3193
|
-
var r = new
|
|
3225
|
+
var r = new Qr(e, t).parse();
|
|
3194
3226
|
if (r.err) {
|
|
3195
3227
|
var n = SyntaxError(d[r.err.kind]);
|
|
3196
3228
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3213,7 +3245,7 @@ var me = (
|
|
|
3213
3245
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3214
3246
|
}, t;
|
|
3215
3247
|
}(Error)
|
|
3216
|
-
),
|
|
3248
|
+
), Je = (
|
|
3217
3249
|
/** @class */
|
|
3218
3250
|
function(e) {
|
|
3219
3251
|
ce(t, e);
|
|
@@ -3222,7 +3254,7 @@ var me = (
|
|
|
3222
3254
|
}
|
|
3223
3255
|
return t;
|
|
3224
3256
|
}(me)
|
|
3225
|
-
),
|
|
3257
|
+
), en = (
|
|
3226
3258
|
/** @class */
|
|
3227
3259
|
function(e) {
|
|
3228
3260
|
ce(t, e);
|
|
@@ -3231,7 +3263,7 @@ var me = (
|
|
|
3231
3263
|
}
|
|
3232
3264
|
return t;
|
|
3233
3265
|
}(me)
|
|
3234
|
-
),
|
|
3266
|
+
), tn = (
|
|
3235
3267
|
/** @class */
|
|
3236
3268
|
function(e) {
|
|
3237
3269
|
ce(t, e);
|
|
@@ -3244,17 +3276,17 @@ var me = (
|
|
|
3244
3276
|
(function(e) {
|
|
3245
3277
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3246
3278
|
})(B || (B = {}));
|
|
3247
|
-
function
|
|
3279
|
+
function rn(e) {
|
|
3248
3280
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3249
3281
|
var n = t[t.length - 1];
|
|
3250
3282
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3251
3283
|
}, []);
|
|
3252
3284
|
}
|
|
3253
|
-
function
|
|
3285
|
+
function nn(e) {
|
|
3254
3286
|
return typeof e == "function";
|
|
3255
3287
|
}
|
|
3256
3288
|
function ae(e, t, r, n, i, s, a) {
|
|
3257
|
-
if (e.length === 1 &&
|
|
3289
|
+
if (e.length === 1 && Ve(e[0]))
|
|
3258
3290
|
return [
|
|
3259
3291
|
{
|
|
3260
3292
|
type: B.literal,
|
|
@@ -3263,14 +3295,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3263
3295
|
];
|
|
3264
3296
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3265
3297
|
var h = u[l];
|
|
3266
|
-
if (
|
|
3298
|
+
if (Ve(h)) {
|
|
3267
3299
|
o.push({
|
|
3268
3300
|
type: B.literal,
|
|
3269
3301
|
value: h.value
|
|
3270
3302
|
});
|
|
3271
3303
|
continue;
|
|
3272
3304
|
}
|
|
3273
|
-
if (
|
|
3305
|
+
if (Sr(h)) {
|
|
3274
3306
|
typeof s == "number" && o.push({
|
|
3275
3307
|
type: B.literal,
|
|
3276
3308
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3279,16 +3311,16 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3279
3311
|
}
|
|
3280
3312
|
var m = h.value;
|
|
3281
3313
|
if (!(i && m in i))
|
|
3282
|
-
throw new
|
|
3314
|
+
throw new tn(m, a);
|
|
3283
3315
|
var f = i[m];
|
|
3284
|
-
if (
|
|
3316
|
+
if (Tr(h)) {
|
|
3285
3317
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3286
3318
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3287
3319
|
value: f
|
|
3288
3320
|
});
|
|
3289
3321
|
continue;
|
|
3290
3322
|
}
|
|
3291
|
-
if (
|
|
3323
|
+
if (dt(h)) {
|
|
3292
3324
|
var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
|
|
3293
3325
|
o.push({
|
|
3294
3326
|
type: B.literal,
|
|
@@ -3296,7 +3328,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3296
3328
|
});
|
|
3297
3329
|
continue;
|
|
3298
3330
|
}
|
|
3299
|
-
if (
|
|
3331
|
+
if (bt(h)) {
|
|
3300
3332
|
var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3301
3333
|
o.push({
|
|
3302
3334
|
type: B.literal,
|
|
@@ -3304,18 +3336,18 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3304
3336
|
});
|
|
3305
3337
|
continue;
|
|
3306
3338
|
}
|
|
3307
|
-
if (
|
|
3308
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3339
|
+
if (gt(h)) {
|
|
3340
|
+
var b = typeof h.style == "string" ? n.number[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
|
|
3309
3341
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3310
3342
|
type: B.literal,
|
|
3311
3343
|
value: r.getNumberFormat(t, b).format(f)
|
|
3312
3344
|
});
|
|
3313
3345
|
continue;
|
|
3314
3346
|
}
|
|
3315
|
-
if (
|
|
3347
|
+
if (Et(h)) {
|
|
3316
3348
|
var y = h.children, _ = h.value, T = i[_];
|
|
3317
|
-
if (!
|
|
3318
|
-
throw new
|
|
3349
|
+
if (!nn(T))
|
|
3350
|
+
throw new en(_, "function", a);
|
|
3319
3351
|
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3320
3352
|
return x.value;
|
|
3321
3353
|
}));
|
|
@@ -3326,14 +3358,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3326
3358
|
};
|
|
3327
3359
|
}));
|
|
3328
3360
|
}
|
|
3329
|
-
if (
|
|
3361
|
+
if (pt(h)) {
|
|
3330
3362
|
var S = h.options[f] || h.options.other;
|
|
3331
3363
|
if (!S)
|
|
3332
|
-
throw new
|
|
3364
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3333
3365
|
o.push.apply(o, ae(S.value, t, r, n, i));
|
|
3334
3366
|
continue;
|
|
3335
3367
|
}
|
|
3336
|
-
if (
|
|
3368
|
+
if (yt(h)) {
|
|
3337
3369
|
var S = h.options["=".concat(f)];
|
|
3338
3370
|
if (!S) {
|
|
3339
3371
|
if (!Intl.PluralRules)
|
|
@@ -3344,21 +3376,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3344
3376
|
S = h.options[P] || h.options.other;
|
|
3345
3377
|
}
|
|
3346
3378
|
if (!S)
|
|
3347
|
-
throw new
|
|
3379
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3348
3380
|
o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3349
3381
|
continue;
|
|
3350
3382
|
}
|
|
3351
3383
|
}
|
|
3352
|
-
return
|
|
3384
|
+
return rn(o);
|
|
3353
3385
|
}
|
|
3354
|
-
function
|
|
3386
|
+
function sn(e, t) {
|
|
3355
3387
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3356
3388
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3357
3389
|
}, {})) : e;
|
|
3358
3390
|
}
|
|
3359
|
-
function
|
|
3391
|
+
function an(e, t) {
|
|
3360
3392
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3361
|
-
return r[n] =
|
|
3393
|
+
return r[n] = sn(e[n], t[n]), r;
|
|
3362
3394
|
}, E({}, e)) : e;
|
|
3363
3395
|
}
|
|
3364
3396
|
function _e(e) {
|
|
@@ -3375,7 +3407,7 @@ function _e(e) {
|
|
|
3375
3407
|
}
|
|
3376
3408
|
};
|
|
3377
3409
|
}
|
|
3378
|
-
function
|
|
3410
|
+
function on(e) {
|
|
3379
3411
|
return e === void 0 && (e = {
|
|
3380
3412
|
number: {},
|
|
3381
3413
|
dateTime: {},
|
|
@@ -3407,7 +3439,7 @@ function an(e) {
|
|
|
3407
3439
|
})
|
|
3408
3440
|
};
|
|
3409
3441
|
}
|
|
3410
|
-
var
|
|
3442
|
+
var un = (
|
|
3411
3443
|
/** @class */
|
|
3412
3444
|
function() {
|
|
3413
3445
|
function e(t, r, n, i) {
|
|
@@ -3439,13 +3471,13 @@ var on = (
|
|
|
3439
3471
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3440
3472
|
var a = i || {};
|
|
3441
3473
|
a.formatters;
|
|
3442
|
-
var o =
|
|
3474
|
+
var o = pr(a, ["formatters"]);
|
|
3443
3475
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3444
3476
|
} else
|
|
3445
3477
|
this.ast = t;
|
|
3446
3478
|
if (!Array.isArray(this.ast))
|
|
3447
3479
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3448
|
-
this.formats =
|
|
3480
|
+
this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
|
|
3449
3481
|
}
|
|
3450
3482
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3451
3483
|
get: function() {
|
|
@@ -3458,7 +3490,7 @@ var on = (
|
|
|
3458
3490
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3459
3491
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3460
3492
|
}
|
|
3461
|
-
}, e.__parse =
|
|
3493
|
+
}, e.__parse = Kr, e.formats = {
|
|
3462
3494
|
number: {
|
|
3463
3495
|
integer: {
|
|
3464
3496
|
maximumFractionDigits: 0
|
|
@@ -3519,7 +3551,7 @@ var on = (
|
|
|
3519
3551
|
}, e;
|
|
3520
3552
|
}()
|
|
3521
3553
|
);
|
|
3522
|
-
function
|
|
3554
|
+
function hn(e, t) {
|
|
3523
3555
|
if (t == null)
|
|
3524
3556
|
return;
|
|
3525
3557
|
if (t in e)
|
|
@@ -3540,60 +3572,60 @@ function un(e, t) {
|
|
|
3540
3572
|
n = void 0;
|
|
3541
3573
|
return n;
|
|
3542
3574
|
}
|
|
3543
|
-
const C = {},
|
|
3575
|
+
const C = {}, ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), wt = (e, t) => {
|
|
3544
3576
|
if (t == null)
|
|
3545
3577
|
return;
|
|
3546
3578
|
if (t in C && e in C[t])
|
|
3547
3579
|
return C[t][e];
|
|
3548
3580
|
const r = ge(t);
|
|
3549
3581
|
for (let n = 0; n < r.length; n++) {
|
|
3550
|
-
const i = r[n], s =
|
|
3582
|
+
const i = r[n], s = cn(i, e);
|
|
3551
3583
|
if (s)
|
|
3552
|
-
return
|
|
3584
|
+
return ln(e, t, s);
|
|
3553
3585
|
}
|
|
3554
3586
|
};
|
|
3555
|
-
let
|
|
3556
|
-
const
|
|
3557
|
-
function
|
|
3558
|
-
return
|
|
3587
|
+
let De;
|
|
3588
|
+
const W = fe({});
|
|
3589
|
+
function fn(e) {
|
|
3590
|
+
return De[e] || null;
|
|
3559
3591
|
}
|
|
3560
|
-
function
|
|
3561
|
-
return e in
|
|
3592
|
+
function Pt(e) {
|
|
3593
|
+
return e in De;
|
|
3562
3594
|
}
|
|
3563
|
-
function
|
|
3564
|
-
if (!
|
|
3595
|
+
function cn(e, t) {
|
|
3596
|
+
if (!Pt(e))
|
|
3565
3597
|
return null;
|
|
3566
|
-
const r =
|
|
3567
|
-
return
|
|
3598
|
+
const r = fn(e);
|
|
3599
|
+
return hn(r, t);
|
|
3568
3600
|
}
|
|
3569
|
-
function
|
|
3601
|
+
function mn(e) {
|
|
3570
3602
|
if (e == null)
|
|
3571
3603
|
return;
|
|
3572
3604
|
const t = ge(e);
|
|
3573
3605
|
for (let r = 0; r < t.length; r++) {
|
|
3574
3606
|
const n = t[r];
|
|
3575
|
-
if (
|
|
3607
|
+
if (Pt(n))
|
|
3576
3608
|
return n;
|
|
3577
3609
|
}
|
|
3578
3610
|
}
|
|
3579
|
-
function
|
|
3580
|
-
delete C[e],
|
|
3611
|
+
function gn(e, ...t) {
|
|
3612
|
+
delete C[e], W.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
|
|
3581
3613
|
}
|
|
3582
|
-
|
|
3583
|
-
[
|
|
3614
|
+
z(
|
|
3615
|
+
[W],
|
|
3584
3616
|
([e]) => Object.keys(e)
|
|
3585
3617
|
);
|
|
3586
|
-
|
|
3618
|
+
W.subscribe((e) => De = e);
|
|
3587
3619
|
const oe = {};
|
|
3588
|
-
function
|
|
3620
|
+
function dn(e, t) {
|
|
3589
3621
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3590
3622
|
}
|
|
3591
|
-
function
|
|
3623
|
+
function Nt(e) {
|
|
3592
3624
|
return oe[e];
|
|
3593
3625
|
}
|
|
3594
|
-
function
|
|
3626
|
+
function bn(e) {
|
|
3595
3627
|
return ge(e).map((t) => {
|
|
3596
|
-
const r =
|
|
3628
|
+
const r = Nt(t);
|
|
3597
3629
|
return [t, r ? [...r] : []];
|
|
3598
3630
|
}).filter(([, t]) => t.length > 0);
|
|
3599
3631
|
}
|
|
@@ -3601,31 +3633,31 @@ function Le(e) {
|
|
|
3601
3633
|
return e == null ? !1 : ge(e).some(
|
|
3602
3634
|
(t) => {
|
|
3603
3635
|
var r;
|
|
3604
|
-
return (r =
|
|
3636
|
+
return (r = Nt(t)) == null ? void 0 : r.size;
|
|
3605
3637
|
}
|
|
3606
3638
|
);
|
|
3607
3639
|
}
|
|
3608
|
-
function
|
|
3640
|
+
function pn(e, t) {
|
|
3609
3641
|
return Promise.all(
|
|
3610
|
-
t.map((n) => (
|
|
3611
|
-
).then((n) =>
|
|
3642
|
+
t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
|
|
3643
|
+
).then((n) => gn(e, ...n));
|
|
3612
3644
|
}
|
|
3613
3645
|
const Q = {};
|
|
3614
|
-
function
|
|
3646
|
+
function Ot(e) {
|
|
3615
3647
|
if (!Le(e))
|
|
3616
3648
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3617
|
-
const t =
|
|
3649
|
+
const t = bn(e);
|
|
3618
3650
|
return Q[e] = Promise.all(
|
|
3619
3651
|
t.map(
|
|
3620
|
-
([r, n]) =>
|
|
3652
|
+
([r, n]) => pn(r, n)
|
|
3621
3653
|
)
|
|
3622
3654
|
).then(() => {
|
|
3623
3655
|
if (Le(e))
|
|
3624
|
-
return
|
|
3656
|
+
return Ot(e);
|
|
3625
3657
|
delete Q[e];
|
|
3626
3658
|
}), Q[e];
|
|
3627
3659
|
}
|
|
3628
|
-
const
|
|
3660
|
+
const yn = {
|
|
3629
3661
|
number: {
|
|
3630
3662
|
scientific: { notation: "scientific" },
|
|
3631
3663
|
engineering: { notation: "engineering" },
|
|
@@ -3654,34 +3686,34 @@ const pn = {
|
|
|
3654
3686
|
timeZoneName: "short"
|
|
3655
3687
|
}
|
|
3656
3688
|
}
|
|
3657
|
-
},
|
|
3689
|
+
}, En = {
|
|
3658
3690
|
fallbackLocale: null,
|
|
3659
3691
|
loadingDelay: 200,
|
|
3660
|
-
formats:
|
|
3692
|
+
formats: yn,
|
|
3661
3693
|
warnOnMissingMessages: !0,
|
|
3662
3694
|
handleMissingMessage: void 0,
|
|
3663
3695
|
ignoreTag: !0
|
|
3664
|
-
},
|
|
3696
|
+
}, vn = En;
|
|
3665
3697
|
function V() {
|
|
3666
|
-
return
|
|
3698
|
+
return vn;
|
|
3667
3699
|
}
|
|
3668
3700
|
const xe = fe(!1);
|
|
3669
|
-
var
|
|
3701
|
+
var _n = Object.defineProperty, xn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
|
|
3670
3702
|
for (var r in t || (t = {}))
|
|
3671
|
-
|
|
3672
|
-
if (
|
|
3673
|
-
for (var r of
|
|
3674
|
-
|
|
3703
|
+
Tn.call(t, r) && Ke(e, r, t[r]);
|
|
3704
|
+
if (Ye)
|
|
3705
|
+
for (var r of Ye(t))
|
|
3706
|
+
Sn.call(t, r) && Ke(e, r, t[r]);
|
|
3675
3707
|
return e;
|
|
3676
|
-
},
|
|
3708
|
+
}, An = (e, t) => xn(e, Hn(t));
|
|
3677
3709
|
let Ce;
|
|
3678
3710
|
const ue = fe(null);
|
|
3679
|
-
function
|
|
3711
|
+
function et(e) {
|
|
3680
3712
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3681
3713
|
}
|
|
3682
3714
|
function ge(e, t = V().fallbackLocale) {
|
|
3683
|
-
const r =
|
|
3684
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3715
|
+
const r = et(e);
|
|
3716
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
|
3685
3717
|
}
|
|
3686
3718
|
function R() {
|
|
3687
3719
|
return Ce ?? void 0;
|
|
@@ -3689,22 +3721,22 @@ function R() {
|
|
|
3689
3721
|
ue.subscribe((e) => {
|
|
3690
3722
|
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3691
3723
|
});
|
|
3692
|
-
const
|
|
3693
|
-
if (e &&
|
|
3724
|
+
const wn = (e) => {
|
|
3725
|
+
if (e && mn(e) && Le(e)) {
|
|
3694
3726
|
const { loadingDelay: t } = V();
|
|
3695
3727
|
let r;
|
|
3696
3728
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3697
3729
|
() => xe.set(!0),
|
|
3698
3730
|
t
|
|
3699
|
-
) : xe.set(!0),
|
|
3731
|
+
) : xe.set(!0), Ot(e).then(() => {
|
|
3700
3732
|
ue.set(e);
|
|
3701
3733
|
}).finally(() => {
|
|
3702
3734
|
clearTimeout(r), xe.set(!1);
|
|
3703
3735
|
});
|
|
3704
3736
|
}
|
|
3705
3737
|
return ue.set(e);
|
|
3706
|
-
}, M = Bn(
|
|
3707
|
-
set:
|
|
3738
|
+
}, M = An(Bn({}, ue), {
|
|
3739
|
+
set: wn
|
|
3708
3740
|
}), de = (e) => {
|
|
3709
3741
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3710
3742
|
return (n) => {
|
|
@@ -3712,20 +3744,20 @@ const An = (e) => {
|
|
|
3712
3744
|
return i in t ? t[i] : t[i] = e(n);
|
|
3713
3745
|
};
|
|
3714
3746
|
};
|
|
3715
|
-
var
|
|
3747
|
+
var Pn = Object.defineProperty, he = Object.getOwnPropertySymbols, It = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
|
3716
3748
|
for (var r in t || (t = {}))
|
|
3717
|
-
|
|
3749
|
+
It.call(t, r) && tt(e, r, t[r]);
|
|
3718
3750
|
if (he)
|
|
3719
3751
|
for (var r of he(t))
|
|
3720
|
-
|
|
3752
|
+
Lt.call(t, r) && tt(e, r, t[r]);
|
|
3721
3753
|
return e;
|
|
3722
3754
|
}, Z = (e, t) => {
|
|
3723
3755
|
var r = {};
|
|
3724
3756
|
for (var n in e)
|
|
3725
|
-
|
|
3757
|
+
It.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3726
3758
|
if (e != null && he)
|
|
3727
3759
|
for (var n of he(e))
|
|
3728
|
-
t.indexOf(n) < 0 &&
|
|
3760
|
+
t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
|
|
3729
3761
|
return r;
|
|
3730
3762
|
};
|
|
3731
3763
|
const K = (e, t) => {
|
|
@@ -3733,21 +3765,21 @@ const K = (e, t) => {
|
|
|
3733
3765
|
if (e in r && t in r[e])
|
|
3734
3766
|
return r[e][t];
|
|
3735
3767
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3736
|
-
},
|
|
3768
|
+
}, Nn = de(
|
|
3737
3769
|
(e) => {
|
|
3738
3770
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3739
3771
|
if (r == null)
|
|
3740
3772
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3741
3773
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3742
3774
|
}
|
|
3743
|
-
),
|
|
3775
|
+
), On = de(
|
|
3744
3776
|
(e) => {
|
|
3745
3777
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3746
3778
|
if (r == null)
|
|
3747
3779
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3748
3780
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3749
3781
|
}
|
|
3750
|
-
),
|
|
3782
|
+
), In = de(
|
|
3751
3783
|
(e) => {
|
|
3752
3784
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3753
3785
|
if (r == null)
|
|
@@ -3756,33 +3788,33 @@ const K = (e, t) => {
|
|
|
3756
3788
|
);
|
|
3757
3789
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3758
3790
|
}
|
|
3759
|
-
),
|
|
3791
|
+
), Ln = (e = {}) => {
|
|
3760
3792
|
var t = e, {
|
|
3761
3793
|
locale: r = R()
|
|
3762
3794
|
} = t, n = Z(t, [
|
|
3763
3795
|
"locale"
|
|
3764
3796
|
]);
|
|
3765
|
-
return
|
|
3766
|
-
},
|
|
3797
|
+
return Nn(Ge({ locale: r }, n));
|
|
3798
|
+
}, Cn = (e = {}) => {
|
|
3767
3799
|
var t = e, {
|
|
3768
3800
|
locale: r = R()
|
|
3769
3801
|
} = t, n = Z(t, [
|
|
3770
3802
|
"locale"
|
|
3771
3803
|
]);
|
|
3772
|
-
return
|
|
3773
|
-
},
|
|
3804
|
+
return On(Ge({ locale: r }, n));
|
|
3805
|
+
}, Mn = (e = {}) => {
|
|
3774
3806
|
var t = e, {
|
|
3775
3807
|
locale: r = R()
|
|
3776
3808
|
} = t, n = Z(t, [
|
|
3777
3809
|
"locale"
|
|
3778
3810
|
]);
|
|
3779
|
-
return
|
|
3780
|
-
},
|
|
3811
|
+
return In(Ge({ locale: r }, n));
|
|
3812
|
+
}, Rn = de(
|
|
3781
3813
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3782
|
-
(e, t = R()) => new
|
|
3814
|
+
(e, t = R()) => new un(e, t, V().formats, {
|
|
3783
3815
|
ignoreTag: V().ignoreTag
|
|
3784
3816
|
})
|
|
3785
|
-
),
|
|
3817
|
+
), $n = (e, t = {}) => {
|
|
3786
3818
|
var r, n, i, s;
|
|
3787
3819
|
let a = t;
|
|
3788
3820
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3795,7 +3827,7 @@ const K = (e, t) => {
|
|
|
3795
3827
|
throw new Error(
|
|
3796
3828
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3797
3829
|
);
|
|
3798
|
-
let h =
|
|
3830
|
+
let h = wt(e, l);
|
|
3799
3831
|
if (!h)
|
|
3800
3832
|
h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3801
3833
|
else if (typeof h != "string")
|
|
@@ -3806,7 +3838,7 @@ const K = (e, t) => {
|
|
|
3806
3838
|
return h;
|
|
3807
3839
|
let m = h;
|
|
3808
3840
|
try {
|
|
3809
|
-
m =
|
|
3841
|
+
m = Rn(h, l).format(o);
|
|
3810
3842
|
} catch (f) {
|
|
3811
3843
|
f instanceof Error && console.warn(
|
|
3812
3844
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3814,23 +3846,23 @@ const K = (e, t) => {
|
|
|
3814
3846
|
);
|
|
3815
3847
|
}
|
|
3816
3848
|
return m;
|
|
3817
|
-
},
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
function
|
|
3849
|
+
}, Un = (e, t) => Mn(t).format(e), Dn = (e, t) => Cn(t).format(e), Gn = (e, t) => Ln(t).format(e), Fn = (e, t = R()) => wt(e, t), ci = z([M, W], () => $n);
|
|
3850
|
+
z([M], () => Un);
|
|
3851
|
+
z([M], () => Dn);
|
|
3852
|
+
z([M], () => Gn);
|
|
3853
|
+
z([M, W], () => Fn);
|
|
3854
|
+
function jn({ withLocale: e, translations: t }) {
|
|
3823
3855
|
M.subscribe((r) => {
|
|
3824
|
-
r == null && (
|
|
3856
|
+
r == null && (W.set(t), M.set(e));
|
|
3825
3857
|
});
|
|
3826
3858
|
}
|
|
3827
|
-
function
|
|
3859
|
+
function kn(e, t) {
|
|
3828
3860
|
if (e) {
|
|
3829
3861
|
const r = document.createElement("style");
|
|
3830
3862
|
r.innerHTML = t, e.appendChild(r);
|
|
3831
3863
|
}
|
|
3832
3864
|
}
|
|
3833
|
-
function
|
|
3865
|
+
function Vn(e, t) {
|
|
3834
3866
|
const r = new URL(t);
|
|
3835
3867
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3836
3868
|
const i = document.createElement("style");
|
|
@@ -3839,7 +3871,7 @@ function kn(e, t) {
|
|
|
3839
3871
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3840
3872
|
});
|
|
3841
3873
|
}
|
|
3842
|
-
function
|
|
3874
|
+
function Xn(e, t, r) {
|
|
3843
3875
|
if (window.emMessageBus) {
|
|
3844
3876
|
const n = document.createElement("style");
|
|
3845
3877
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3859,14 +3891,14 @@ if (typeof window < "u") {
|
|
|
3859
3891
|
}
|
|
3860
3892
|
};
|
|
3861
3893
|
};
|
|
3862
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3894
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-BvLgHejM.js").then(({ default: t }) => {
|
|
3863
3895
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3864
3896
|
});
|
|
3865
3897
|
}
|
|
3866
|
-
function
|
|
3867
|
-
|
|
3898
|
+
function zn(e) {
|
|
3899
|
+
Rt(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3868
3900
|
}
|
|
3869
|
-
function
|
|
3901
|
+
function rt(e) {
|
|
3870
3902
|
let t;
|
|
3871
3903
|
return {
|
|
3872
3904
|
c() {
|
|
@@ -4084,7 +4116,7 @@ function et(e) {
|
|
|
4084
4116
|
function Wn(e) {
|
|
4085
4117
|
let t, r = (
|
|
4086
4118
|
/*session*/
|
|
4087
|
-
e[4] &&
|
|
4119
|
+
e[4] && rt(e)
|
|
4088
4120
|
);
|
|
4089
4121
|
return {
|
|
4090
4122
|
c() {
|
|
@@ -4095,7 +4127,7 @@ function Wn(e) {
|
|
|
4095
4127
|
},
|
|
4096
4128
|
p(n, [i]) {
|
|
4097
4129
|
/*session*/
|
|
4098
|
-
n[4] ? r ? r.p(n, i) : (r =
|
|
4130
|
+
n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4099
4131
|
},
|
|
4100
4132
|
i: N,
|
|
4101
4133
|
o: N,
|
|
@@ -4104,9 +4136,9 @@ function Wn(e) {
|
|
|
4104
4136
|
}
|
|
4105
4137
|
};
|
|
4106
4138
|
}
|
|
4107
|
-
function
|
|
4139
|
+
function Zn(e, t, r) {
|
|
4108
4140
|
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
|
|
4109
|
-
|
|
4141
|
+
jn({ withLocale: "en", translations: {} }), kt(() => () => {
|
|
4110
4142
|
});
|
|
4111
4143
|
function O(c) {
|
|
4112
4144
|
He[c ? "unshift" : "push"](() => {
|
|
@@ -4117,9 +4149,9 @@ function zn(e, t, r) {
|
|
|
4117
4149
|
"endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, a = c.lang), "session" in c && r(4, o = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
|
|
4118
4150
|
}, e.$$.update = () => {
|
|
4119
4151
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4120
|
-
262208 && u && x &&
|
|
4121
|
-
262272 && h && x &&
|
|
4122
|
-
393216 && x &&
|
|
4152
|
+
262208 && u && x && kn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4153
|
+
262272 && h && x && Vn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4154
|
+
393216 && x && Xn(x, `${P}.Style`);
|
|
4123
4155
|
}, [
|
|
4124
4156
|
n,
|
|
4125
4157
|
i,
|
|
@@ -4143,14 +4175,14 @@ function zn(e, t, r) {
|
|
|
4143
4175
|
O
|
|
4144
4176
|
];
|
|
4145
4177
|
}
|
|
4146
|
-
class
|
|
4178
|
+
class Qn extends Yt {
|
|
4147
4179
|
constructor(t) {
|
|
4148
|
-
super(),
|
|
4180
|
+
super(), qt(
|
|
4149
4181
|
this,
|
|
4150
4182
|
t,
|
|
4151
|
-
|
|
4183
|
+
Zn,
|
|
4152
4184
|
Wn,
|
|
4153
|
-
|
|
4185
|
+
it,
|
|
4154
4186
|
{
|
|
4155
4187
|
endpoint: 0,
|
|
4156
4188
|
datasource: 1,
|
|
@@ -4171,7 +4203,7 @@ class Zn extends qt {
|
|
|
4171
4203
|
fetchviaevent: 16,
|
|
4172
4204
|
mbsource: 17
|
|
4173
4205
|
},
|
|
4174
|
-
|
|
4206
|
+
zn
|
|
4175
4207
|
);
|
|
4176
4208
|
}
|
|
4177
4209
|
get endpoint() {
|
|
@@ -4283,50 +4315,50 @@ class Zn extends qt {
|
|
|
4283
4315
|
this.$$set({ mbsource: t }), H();
|
|
4284
4316
|
}
|
|
4285
4317
|
}
|
|
4286
|
-
|
|
4318
|
+
Jt(Qn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4287
4319
|
export {
|
|
4288
4320
|
M as $,
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4321
|
+
ti as A,
|
|
4322
|
+
ri as B,
|
|
4323
|
+
Yn as C,
|
|
4324
|
+
X as D,
|
|
4325
|
+
ni as E,
|
|
4326
|
+
ci as F,
|
|
4327
|
+
qn as G,
|
|
4328
|
+
ii as H,
|
|
4329
|
+
ei as I,
|
|
4330
|
+
si as J,
|
|
4331
|
+
ai as K,
|
|
4332
|
+
hi as L,
|
|
4301
4333
|
g as M,
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4334
|
+
ui as N,
|
|
4335
|
+
Qn as O,
|
|
4336
|
+
Yt as S,
|
|
4337
|
+
li as _,
|
|
4306
4338
|
pe as a,
|
|
4307
|
-
|
|
4339
|
+
fi as b,
|
|
4308
4340
|
ce as c,
|
|
4309
|
-
|
|
4310
|
-
|
|
4341
|
+
W as d,
|
|
4342
|
+
gn as e,
|
|
4311
4343
|
H as f,
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4344
|
+
Jt as g,
|
|
4345
|
+
Rt as h,
|
|
4346
|
+
qt as i,
|
|
4347
|
+
te as j,
|
|
4348
|
+
le as k,
|
|
4349
|
+
ee as l,
|
|
4350
|
+
Jn as m,
|
|
4319
4351
|
N as n,
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4352
|
+
kt as o,
|
|
4353
|
+
Vn as p,
|
|
4354
|
+
He as q,
|
|
4355
|
+
kn as r,
|
|
4356
|
+
it as s,
|
|
4357
|
+
Xn as t,
|
|
4358
|
+
oi as u,
|
|
4359
|
+
Dt as v,
|
|
4360
|
+
Kn as w,
|
|
4361
|
+
at as x,
|
|
4362
|
+
Re as y,
|
|
4363
|
+
Mt as z
|
|
4332
4364
|
};
|