@everymatrix/casino-categories 1.74.3 → 1.74.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategories-AZ83p7Xt.js → CasinoCategories-BgHvZeVl.js} +318 -320
- package/components/CasinoCategories-ByGcAMRh.cjs +16 -0
- package/components/{CasinoCategories-DnQSYMb3.js → CasinoCategories-CXxuah2t.js} +455 -457
- package/es2015/casino-categories.cjs +1 -1
- package/es2015/casino-categories.js +1 -1
- package/esnext/casino-categories.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
- package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
- package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/components/CasinoCategories-C8HVlbqY.cjs +0 -16
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var He = (e, t, r) => t in e ?
|
|
1
|
+
var tr = Object.defineProperty, rr = Object.defineProperties;
|
|
2
|
+
var nr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ye = Object.getOwnPropertySymbols;
|
|
4
|
+
var ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? tr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
ir.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (Ye)
|
|
9
|
+
for (var r of Ye(t))
|
|
10
|
+
sr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, et = (e, t) => rr(e, nr(t));
|
|
13
13
|
var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var tt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
u(r.next(h));
|
|
@@ -27,32 +27,32 @@ var et = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-CX3MBBZL.js";
|
|
31
31
|
function L() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Ct(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function rt() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
39
|
function ue(e) {
|
|
40
|
-
e.forEach(
|
|
40
|
+
e.forEach(Ct);
|
|
41
41
|
}
|
|
42
42
|
function Xe(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Ht(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
48
|
let fe;
|
|
49
49
|
function be(e, t) {
|
|
50
50
|
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function or(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function At(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -61,20 +61,20 @@ function Ht(e, ...t) {
|
|
|
61
61
|
const r = e.subscribe(...t);
|
|
62
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
e.$$.on_destroy.push(
|
|
64
|
+
function ar(e, t, r) {
|
|
65
|
+
e.$$.on_destroy.push(At(t, r));
|
|
66
66
|
}
|
|
67
67
|
function v(e, t) {
|
|
68
68
|
e.appendChild(t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
const n =
|
|
70
|
+
function ur(e, t, r) {
|
|
71
|
+
const n = hr(e);
|
|
72
72
|
if (!n.getElementById(t)) {
|
|
73
73
|
const i = S("style");
|
|
74
|
-
i.id = t, i.textContent = r,
|
|
74
|
+
i.id = t, i.textContent = r, lr(n, i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function hr(e) {
|
|
78
78
|
if (!e)
|
|
79
79
|
return document;
|
|
80
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -84,7 +84,7 @@ function ur(e) {
|
|
|
84
84
|
t
|
|
85
85
|
) : e.ownerDocument;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function lr(e, t) {
|
|
88
88
|
return v(
|
|
89
89
|
/** @type {Document} */
|
|
90
90
|
e.head || e,
|
|
@@ -97,7 +97,7 @@ function K(e, t, r) {
|
|
|
97
97
|
function k(e) {
|
|
98
98
|
e.parentNode && e.parentNode.removeChild(e);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function nt(e, t) {
|
|
101
101
|
for (let r = 0; r < e.length; r += 1)
|
|
102
102
|
e[r] && e[r].d(t);
|
|
103
103
|
}
|
|
@@ -110,7 +110,7 @@ function G(e) {
|
|
|
110
110
|
function U() {
|
|
111
111
|
return G(" ");
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Bt(e, t, r, n) {
|
|
114
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
115
115
|
}
|
|
116
116
|
function I(e, t, r) {
|
|
@@ -120,14 +120,14 @@ function R(e, t, r) {
|
|
|
120
120
|
const n = t.toLowerCase();
|
|
121
121
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : I(e, t, r);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function fr(e) {
|
|
124
124
|
return Array.from(e.childNodes);
|
|
125
125
|
}
|
|
126
126
|
function F(e, t) {
|
|
127
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
128
128
|
t);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function cr(e) {
|
|
131
131
|
const t = {};
|
|
132
132
|
return e.childNodes.forEach(
|
|
133
133
|
/** @param {Element} node */
|
|
@@ -140,20 +140,20 @@ let se;
|
|
|
140
140
|
function ie(e) {
|
|
141
141
|
se = e;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function gr() {
|
|
144
144
|
if (!se)
|
|
145
145
|
throw new Error("Function called outside component initialization");
|
|
146
146
|
return se;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
|
|
148
|
+
function mr(e) {
|
|
149
|
+
gr().$$.on_mount.push(e);
|
|
150
150
|
}
|
|
151
151
|
const W = [], Le = [];
|
|
152
152
|
let Z = [];
|
|
153
|
-
const
|
|
153
|
+
const it = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
154
154
|
let Ie = !1;
|
|
155
155
|
function dr() {
|
|
156
|
-
Ie || (Ie = !0,
|
|
156
|
+
Ie || (Ie = !0, pr.then(M));
|
|
157
157
|
}
|
|
158
158
|
function Me(e) {
|
|
159
159
|
Z.push(e);
|
|
@@ -168,7 +168,7 @@ function M() {
|
|
|
168
168
|
try {
|
|
169
169
|
for (; X < W.length; ) {
|
|
170
170
|
const t = W[X];
|
|
171
|
-
X++, ie(t),
|
|
171
|
+
X++, ie(t), br(t.$$);
|
|
172
172
|
}
|
|
173
173
|
} catch (t) {
|
|
174
174
|
throw W.length = 0, X = 0, t;
|
|
@@ -181,43 +181,43 @@ function M() {
|
|
|
181
181
|
}
|
|
182
182
|
Z.length = 0;
|
|
183
183
|
} while (W.length);
|
|
184
|
-
for (;
|
|
185
|
-
|
|
184
|
+
for (; it.length; )
|
|
185
|
+
it.pop()();
|
|
186
186
|
Ie = !1, Ae.clear(), ie(e);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function br(e) {
|
|
189
189
|
if (e.fragment !== null) {
|
|
190
190
|
e.update(), ue(e.before_update);
|
|
191
191
|
const t = e.dirty;
|
|
192
192
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function yr(e) {
|
|
196
196
|
const t = [], r = [];
|
|
197
197
|
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
198
198
|
}
|
|
199
|
-
const
|
|
200
|
-
function
|
|
201
|
-
e && e.i && (
|
|
199
|
+
const _r = /* @__PURE__ */ new Set();
|
|
200
|
+
function xr(e, t) {
|
|
201
|
+
e && e.i && (_r.delete(e), e.i(t));
|
|
202
202
|
}
|
|
203
203
|
function ce(e) {
|
|
204
204
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Er(e, t, r) {
|
|
207
207
|
const { fragment: n, after_update: i } = e.$$;
|
|
208
208
|
n && n.m(t, r), Me(() => {
|
|
209
|
-
const s = e.$$.on_mount.map(
|
|
209
|
+
const s = e.$$.on_mount.map(Ct).filter(Xe);
|
|
210
210
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
|
|
211
211
|
}), i.forEach(Me);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function vr(e, t) {
|
|
214
214
|
const r = e.$$;
|
|
215
|
-
r.fragment !== null && (
|
|
215
|
+
r.fragment !== null && (yr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function Tr(e, t) {
|
|
218
218
|
e.$$.dirty[0] === -1 && (W.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Cr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
221
221
|
const h = se;
|
|
222
222
|
ie(e);
|
|
223
223
|
const a = e.$$ = {
|
|
@@ -227,7 +227,7 @@ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
227
227
|
props: s,
|
|
228
228
|
update: L,
|
|
229
229
|
not_equal: i,
|
|
230
|
-
bound:
|
|
230
|
+
bound: rt(),
|
|
231
231
|
// lifecycle
|
|
232
232
|
on_mount: [],
|
|
233
233
|
on_destroy: [],
|
|
@@ -236,28 +236,28 @@ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
236
236
|
after_update: [],
|
|
237
237
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
238
238
|
// everything else
|
|
239
|
-
callbacks:
|
|
239
|
+
callbacks: rt(),
|
|
240
240
|
dirty: u,
|
|
241
241
|
skip_bound: !1,
|
|
242
242
|
root: t.target || h.$$.root
|
|
243
243
|
};
|
|
244
244
|
o && o(a.root);
|
|
245
245
|
let l = !1;
|
|
246
|
-
if (a.ctx = r(e, t.props || {}, (c, f, ...
|
|
247
|
-
const
|
|
248
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] =
|
|
249
|
-
}), a.update(), l = !0, ue(a.before_update), a.fragment = n(a.ctx), t.target) {
|
|
246
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
247
|
+
const d = p.length ? p[0] : f;
|
|
248
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Tr(e, c)), f;
|
|
249
|
+
}) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
250
250
|
if (t.hydrate) {
|
|
251
|
-
const c =
|
|
251
|
+
const c = fr(t.target);
|
|
252
252
|
a.fragment && a.fragment.l(c), c.forEach(k);
|
|
253
253
|
} else
|
|
254
254
|
a.fragment && a.fragment.c();
|
|
255
|
-
t.intro &&
|
|
255
|
+
t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), M();
|
|
256
256
|
}
|
|
257
257
|
ie(h);
|
|
258
258
|
}
|
|
259
|
-
let
|
|
260
|
-
typeof HTMLElement == "function" && (
|
|
259
|
+
let St;
|
|
260
|
+
typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
261
261
|
constructor(t, r, n) {
|
|
262
262
|
super();
|
|
263
263
|
/** The Svelte component constructor */
|
|
@@ -294,7 +294,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
296
|
connectedCallback() {
|
|
297
|
-
return
|
|
297
|
+
return tt(this, null, function* () {
|
|
298
298
|
if (this.$$cn = !0, !this.$$c) {
|
|
299
299
|
let t = function(s) {
|
|
300
300
|
return () => {
|
|
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
318
318
|
};
|
|
319
319
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
320
320
|
return;
|
|
321
|
-
const r = {}, n =
|
|
321
|
+
const r = {}, n = cr(this);
|
|
322
322
|
for (const s of this.$$s)
|
|
323
323
|
s in n && (r[s] = [t(s)]);
|
|
324
324
|
for (const s of this.attributes) {
|
|
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
329
329
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
330
330
|
this.$$c = new this.$$ctor({
|
|
331
331
|
target: this.shadowRoot || this,
|
|
332
|
-
props: Ke(
|
|
332
|
+
props: et(Ke({}, this.$$d), {
|
|
333
333
|
$$slots: r,
|
|
334
334
|
$$scope: {
|
|
335
335
|
ctx: []
|
|
@@ -407,8 +407,8 @@ function me(e, t, r, n) {
|
|
|
407
407
|
return t;
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
function
|
|
411
|
-
let o = class extends
|
|
410
|
+
function Hr(e, t, r, n, i, s) {
|
|
411
|
+
let o = class extends St {
|
|
412
412
|
constructor() {
|
|
413
413
|
super(e, r, i), this.$$p_d = t;
|
|
414
414
|
}
|
|
@@ -438,7 +438,7 @@ function Cr(e, t, r, n, i, s) {
|
|
|
438
438
|
}), e.element = /** @type {any} */
|
|
439
439
|
o, o;
|
|
440
440
|
}
|
|
441
|
-
class
|
|
441
|
+
class Ar {
|
|
442
442
|
constructor() {
|
|
443
443
|
/**
|
|
444
444
|
* ### PRIVATE API
|
|
@@ -459,7 +459,7 @@ class Hr {
|
|
|
459
459
|
}
|
|
460
460
|
/** @returns {void} */
|
|
461
461
|
$destroy() {
|
|
462
|
-
|
|
462
|
+
vr(this, 1), this.$destroy = L;
|
|
463
463
|
}
|
|
464
464
|
/**
|
|
465
465
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -481,13 +481,13 @@ class Hr {
|
|
|
481
481
|
* @returns {void}
|
|
482
482
|
*/
|
|
483
483
|
$set(t) {
|
|
484
|
-
this.$$set && !
|
|
484
|
+
this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
const
|
|
488
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
487
|
+
const Br = "4";
|
|
488
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
|
|
489
489
|
const z = [];
|
|
490
|
-
function
|
|
490
|
+
function Sr(e, t) {
|
|
491
491
|
return {
|
|
492
492
|
subscribe: xe(e, t).subscribe
|
|
493
493
|
};
|
|
@@ -496,7 +496,7 @@ function xe(e, t = L) {
|
|
|
496
496
|
let r;
|
|
497
497
|
const n = /* @__PURE__ */ new Set();
|
|
498
498
|
function i(u) {
|
|
499
|
-
if (
|
|
499
|
+
if (Ht(e, u) && (e = u, r)) {
|
|
500
500
|
const h = !z.length;
|
|
501
501
|
for (const a of n)
|
|
502
502
|
a[1](), z.push(a, e);
|
|
@@ -523,7 +523,7 @@ function ee(e, t, r) {
|
|
|
523
523
|
if (!i.every(Boolean))
|
|
524
524
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
525
525
|
const s = t.length < 2;
|
|
526
|
-
return
|
|
526
|
+
return Sr(r, (o, u) => {
|
|
527
527
|
let h = !1;
|
|
528
528
|
const a = [];
|
|
529
529
|
let l = 0, c = L;
|
|
@@ -531,11 +531,11 @@ function ee(e, t, r) {
|
|
|
531
531
|
if (l)
|
|
532
532
|
return;
|
|
533
533
|
c();
|
|
534
|
-
const
|
|
535
|
-
s ? o(
|
|
536
|
-
},
|
|
537
|
-
(
|
|
538
|
-
|
|
534
|
+
const d = t(n ? a[0] : a, o, u);
|
|
535
|
+
s ? o(d) : c = Xe(d) ? d : L;
|
|
536
|
+
}, p = i.map(
|
|
537
|
+
(d, g) => At(
|
|
538
|
+
d,
|
|
539
539
|
(E) => {
|
|
540
540
|
a[g] = E, l &= ~(1 << g), h && f();
|
|
541
541
|
},
|
|
@@ -545,74 +545,74 @@ function ee(e, t, r) {
|
|
|
545
545
|
)
|
|
546
546
|
);
|
|
547
547
|
return h = !0, f(), function() {
|
|
548
|
-
ue(
|
|
548
|
+
ue(p), c(), h = !1;
|
|
549
549
|
};
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
|
-
function
|
|
553
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
552
|
+
function wr(e) {
|
|
553
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
554
554
|
}
|
|
555
|
-
var
|
|
556
|
-
return
|
|
555
|
+
var Or = function(t) {
|
|
556
|
+
return Pr(t) && !Nr(t);
|
|
557
557
|
};
|
|
558
|
-
function
|
|
558
|
+
function Pr(e) {
|
|
559
559
|
return !!e && typeof e == "object";
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function Nr(e) {
|
|
562
562
|
var t = Object.prototype.toString.call(e);
|
|
563
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
564
|
-
}
|
|
565
|
-
var Nr = typeof Symbol == "function" && Symbol.for, Lr = Nr ? Symbol.for("react.element") : 60103;
|
|
566
|
-
function Ir(e) {
|
|
567
|
-
return e.$$typeof === Lr;
|
|
563
|
+
return t === "[object RegExp]" || t === "[object Date]" || Mr(e);
|
|
568
564
|
}
|
|
565
|
+
var Lr = typeof Symbol == "function" && Symbol.for, Ir = Lr ? Symbol.for("react.element") : 60103;
|
|
569
566
|
function Mr(e) {
|
|
567
|
+
return e.$$typeof === Ir;
|
|
568
|
+
}
|
|
569
|
+
function $r(e) {
|
|
570
570
|
return Array.isArray(e) ? [] : {};
|
|
571
571
|
}
|
|
572
572
|
function oe(e, t) {
|
|
573
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Q(
|
|
573
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q($r(e), e, t) : e;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function Rr(e, t, r) {
|
|
576
576
|
return e.concat(t).map(function(n) {
|
|
577
577
|
return oe(n, r);
|
|
578
578
|
});
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function Ur(e, t) {
|
|
581
581
|
if (!t.customMerge)
|
|
582
582
|
return Q;
|
|
583
583
|
var r = t.customMerge(e);
|
|
584
584
|
return typeof r == "function" ? r : Q;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function Gr(e) {
|
|
587
587
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
588
588
|
return Object.propertyIsEnumerable.call(e, t);
|
|
589
589
|
}) : [];
|
|
590
590
|
}
|
|
591
|
-
function
|
|
592
|
-
return Object.keys(e).concat(
|
|
591
|
+
function st(e) {
|
|
592
|
+
return Object.keys(e).concat(Gr(e));
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function wt(e, t) {
|
|
595
595
|
try {
|
|
596
596
|
return t in e;
|
|
597
597
|
} catch (r) {
|
|
598
598
|
return !1;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
function
|
|
602
|
-
return
|
|
601
|
+
function Dr(e, t) {
|
|
602
|
+
return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function Fr(e, t, r) {
|
|
605
605
|
var n = {};
|
|
606
|
-
return r.isMergeableObject(e) &&
|
|
606
|
+
return r.isMergeableObject(e) && st(e).forEach(function(i) {
|
|
607
607
|
n[i] = oe(e[i], r);
|
|
608
|
-
}),
|
|
609
|
-
|
|
608
|
+
}), st(t).forEach(function(i) {
|
|
609
|
+
Dr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ur(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
610
610
|
}), n;
|
|
611
611
|
}
|
|
612
612
|
function Q(e, t, r) {
|
|
613
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
613
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Rr, r.isMergeableObject = r.isMergeableObject || Or, r.cloneUnlessOtherwiseSpecified = oe;
|
|
614
614
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
615
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
615
|
+
return s ? n ? r.arrayMerge(e, t, r) : Fr(e, t, r) : oe(t, r);
|
|
616
616
|
}
|
|
617
617
|
Q.all = function(t, r) {
|
|
618
618
|
if (!Array.isArray(t))
|
|
@@ -621,8 +621,8 @@ Q.all = function(t, r) {
|
|
|
621
621
|
return Q(n, i, r);
|
|
622
622
|
}, {});
|
|
623
623
|
};
|
|
624
|
-
var
|
|
625
|
-
const
|
|
624
|
+
var jr = Q, kr = jr;
|
|
625
|
+
const Vr = /* @__PURE__ */ wr(kr);
|
|
626
626
|
/*! *****************************************************************************
|
|
627
627
|
Copyright (c) Microsoft Corporation.
|
|
628
628
|
|
|
@@ -664,7 +664,7 @@ var x = function() {
|
|
|
664
664
|
return t;
|
|
665
665
|
}, x.apply(this, arguments);
|
|
666
666
|
};
|
|
667
|
-
function
|
|
667
|
+
function Xr(e, t) {
|
|
668
668
|
var r = {};
|
|
669
669
|
for (var n in e)
|
|
670
670
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -680,57 +680,55 @@ function Be(e, t, r) {
|
|
|
680
680
|
return e.concat(s || t);
|
|
681
681
|
}
|
|
682
682
|
function Se(e, t) {
|
|
683
|
-
var r = t && t.cache ? t.cache : qr, n = t && t.serializer ? t.serializer :
|
|
683
|
+
var r = t && t.cache ? t.cache : qr, n = t && t.serializer ? t.serializer : Jr, i = t && t.strategy ? t.strategy : Wr;
|
|
684
684
|
return i(e, {
|
|
685
685
|
cache: r,
|
|
686
686
|
serializer: n
|
|
687
687
|
});
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function zr(e) {
|
|
690
690
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
691
691
|
}
|
|
692
|
-
function
|
|
693
|
-
var i =
|
|
692
|
+
function Ot(e, t, r, n) {
|
|
693
|
+
var i = zr(n) ? n : r(n), s = t.get(i);
|
|
694
694
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function Pt(e, t, r) {
|
|
697
697
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
698
698
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
699
699
|
}
|
|
700
700
|
function ze(e, t, r, n, i) {
|
|
701
701
|
return r.bind(t, e, n, i);
|
|
702
702
|
}
|
|
703
|
-
function zr(e, t) {
|
|
704
|
-
var r = e.length === 1 ? wt : Ot;
|
|
705
|
-
return ze(e, this, r, t.cache.create(), t.serializer);
|
|
706
|
-
}
|
|
707
703
|
function Wr(e, t) {
|
|
708
|
-
|
|
704
|
+
var r = e.length === 1 ? Ot : Pt;
|
|
705
|
+
return ze(e, this, r, t.cache.create(), t.serializer);
|
|
709
706
|
}
|
|
710
707
|
function Zr(e, t) {
|
|
711
|
-
return ze(e, this,
|
|
708
|
+
return ze(e, this, Pt, t.cache.create(), t.serializer);
|
|
709
|
+
}
|
|
710
|
+
function Qr(e, t) {
|
|
711
|
+
return ze(e, this, Ot, t.cache.create(), t.serializer);
|
|
712
712
|
}
|
|
713
|
-
var
|
|
713
|
+
var Jr = function() {
|
|
714
714
|
return JSON.stringify(arguments);
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
}()
|
|
727
|
-
), qr = {
|
|
715
|
+
};
|
|
716
|
+
function We() {
|
|
717
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
718
|
+
}
|
|
719
|
+
We.prototype.get = function(e) {
|
|
720
|
+
return this.cache[e];
|
|
721
|
+
};
|
|
722
|
+
We.prototype.set = function(e, t) {
|
|
723
|
+
this.cache[e] = t;
|
|
724
|
+
};
|
|
725
|
+
var qr = {
|
|
728
726
|
create: function() {
|
|
729
|
-
return new
|
|
727
|
+
return new We();
|
|
730
728
|
}
|
|
731
729
|
}, we = {
|
|
732
|
-
variadic:
|
|
733
|
-
monadic:
|
|
730
|
+
variadic: Zr,
|
|
731
|
+
monadic: Qr
|
|
734
732
|
}, y;
|
|
735
733
|
(function(e) {
|
|
736
734
|
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";
|
|
@@ -743,40 +741,40 @@ var J;
|
|
|
743
741
|
(function(e) {
|
|
744
742
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
745
743
|
})(J || (J = {}));
|
|
746
|
-
function
|
|
744
|
+
function ot(e) {
|
|
747
745
|
return e.type === T.literal;
|
|
748
746
|
}
|
|
749
747
|
function Yr(e) {
|
|
750
748
|
return e.type === T.argument;
|
|
751
749
|
}
|
|
752
|
-
function
|
|
750
|
+
function Nt(e) {
|
|
753
751
|
return e.type === T.number;
|
|
754
752
|
}
|
|
755
|
-
function
|
|
753
|
+
function Lt(e) {
|
|
756
754
|
return e.type === T.date;
|
|
757
755
|
}
|
|
758
|
-
function
|
|
756
|
+
function It(e) {
|
|
759
757
|
return e.type === T.time;
|
|
760
758
|
}
|
|
761
|
-
function
|
|
759
|
+
function Mt(e) {
|
|
762
760
|
return e.type === T.select;
|
|
763
761
|
}
|
|
764
|
-
function
|
|
762
|
+
function $t(e) {
|
|
765
763
|
return e.type === T.plural;
|
|
766
764
|
}
|
|
767
765
|
function Kr(e) {
|
|
768
766
|
return e.type === T.pound;
|
|
769
767
|
}
|
|
770
|
-
function
|
|
768
|
+
function Rt(e) {
|
|
771
769
|
return e.type === T.tag;
|
|
772
770
|
}
|
|
773
|
-
function
|
|
771
|
+
function Ut(e) {
|
|
774
772
|
return !!(e && typeof e == "object" && e.type === J.number);
|
|
775
773
|
}
|
|
776
774
|
function Re(e) {
|
|
777
775
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
778
776
|
}
|
|
779
|
-
var
|
|
777
|
+
var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, en = /(?:[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;
|
|
780
778
|
function tn(e) {
|
|
781
779
|
var t = {};
|
|
782
780
|
return e.replace(en, function(r) {
|
|
@@ -890,14 +888,14 @@ function nn(e) {
|
|
|
890
888
|
function sn(e) {
|
|
891
889
|
return e.replace(/^(.*?)-/, "");
|
|
892
890
|
}
|
|
893
|
-
var
|
|
894
|
-
function
|
|
891
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
|
|
892
|
+
function ut(e) {
|
|
895
893
|
var t = {};
|
|
896
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
894
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
|
|
897
895
|
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)), "";
|
|
898
896
|
}), t;
|
|
899
897
|
}
|
|
900
|
-
function
|
|
898
|
+
function jt(e) {
|
|
901
899
|
switch (e) {
|
|
902
900
|
case "sign-auto":
|
|
903
901
|
return {
|
|
@@ -945,14 +943,14 @@ function an(e) {
|
|
|
945
943
|
notation: "scientific"
|
|
946
944
|
}, e = e.slice(1)), t) {
|
|
947
945
|
var r = e.slice(0, 2);
|
|
948
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
946
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
|
|
949
947
|
throw new Error("Malformed concise eng/scientific notation");
|
|
950
948
|
t.minimumIntegerDigits = e.length;
|
|
951
949
|
}
|
|
952
950
|
return t;
|
|
953
951
|
}
|
|
954
|
-
function
|
|
955
|
-
var t = {}, r =
|
|
952
|
+
function ht(e) {
|
|
953
|
+
var t = {}, r = jt(e);
|
|
956
954
|
return r || t;
|
|
957
955
|
}
|
|
958
956
|
function un(e) {
|
|
@@ -991,12 +989,12 @@ function un(e) {
|
|
|
991
989
|
continue;
|
|
992
990
|
case "scientific":
|
|
993
991
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
994
|
-
return x(x({}, h),
|
|
992
|
+
return x(x({}, h), ht(a));
|
|
995
993
|
}, {}));
|
|
996
994
|
continue;
|
|
997
995
|
case "engineering":
|
|
998
996
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
999
|
-
return x(x({}, h),
|
|
997
|
+
return x(x({}, h), ht(a));
|
|
1000
998
|
}, {}));
|
|
1001
999
|
continue;
|
|
1002
1000
|
case "notation-simple":
|
|
@@ -1041,38 +1039,38 @@ function un(e) {
|
|
|
1041
1039
|
case "integer-width":
|
|
1042
1040
|
if (i.options.length > 1)
|
|
1043
1041
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1044
|
-
i.options[0].replace(on, function(h, a, l, c, f,
|
|
1042
|
+
i.options[0].replace(on, function(h, a, l, c, f, p) {
|
|
1045
1043
|
if (a)
|
|
1046
1044
|
t.minimumIntegerDigits = l.length;
|
|
1047
1045
|
else {
|
|
1048
1046
|
if (c && f)
|
|
1049
1047
|
throw new Error("We currently do not support maximum integer digits");
|
|
1050
|
-
if (
|
|
1048
|
+
if (p)
|
|
1051
1049
|
throw new Error("We currently do not support exact integer digits");
|
|
1052
1050
|
}
|
|
1053
1051
|
return "";
|
|
1054
1052
|
});
|
|
1055
1053
|
continue;
|
|
1056
1054
|
}
|
|
1057
|
-
if (
|
|
1055
|
+
if (Ft.test(i.stem)) {
|
|
1058
1056
|
t.minimumIntegerDigits = i.stem.length;
|
|
1059
1057
|
continue;
|
|
1060
1058
|
}
|
|
1061
|
-
if (
|
|
1059
|
+
if (at.test(i.stem)) {
|
|
1062
1060
|
if (i.options.length > 1)
|
|
1063
1061
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1064
|
-
i.stem.replace(
|
|
1065
|
-
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1062
|
+
i.stem.replace(at, function(h, a, l, c, f, p) {
|
|
1063
|
+
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1066
1064
|
});
|
|
1067
1065
|
var s = i.options[0];
|
|
1068
|
-
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t),
|
|
1066
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ut(s)));
|
|
1069
1067
|
continue;
|
|
1070
1068
|
}
|
|
1071
|
-
if (
|
|
1072
|
-
t = x(x({}, t),
|
|
1069
|
+
if (Dt.test(i.stem)) {
|
|
1070
|
+
t = x(x({}, t), ut(i.stem));
|
|
1073
1071
|
continue;
|
|
1074
1072
|
}
|
|
1075
|
-
var o =
|
|
1073
|
+
var o = jt(i.stem);
|
|
1076
1074
|
o && (t = x(x({}, t), o));
|
|
1077
1075
|
var u = an(i.stem);
|
|
1078
1076
|
u && (t = x(x({}, t), u));
|
|
@@ -2532,20 +2530,20 @@ function ln(e) {
|
|
|
2532
2530
|
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
2533
2531
|
return i[0];
|
|
2534
2532
|
}
|
|
2535
|
-
var Oe, fn = new RegExp("^".concat(
|
|
2533
|
+
var Oe, fn = new RegExp("^".concat(Gt.source, "*")), cn = new RegExp("".concat(Gt.source, "*$"));
|
|
2536
2534
|
function _(e, t) {
|
|
2537
2535
|
return { start: e, end: t };
|
|
2538
2536
|
}
|
|
2539
|
-
var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String.fromCodePoint,
|
|
2537
|
+
var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String.fromCodePoint, pn = !!Object.fromEntries, dn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, yn = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, xn = _n ? Number.isSafeInteger : function(e) {
|
|
2540
2538
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2541
2539
|
}, Ue = !0;
|
|
2542
2540
|
try {
|
|
2543
|
-
var En =
|
|
2541
|
+
var En = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2544
2542
|
Ue = ((Oe = En.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
2545
2543
|
} catch (e) {
|
|
2546
2544
|
Ue = !1;
|
|
2547
2545
|
}
|
|
2548
|
-
var
|
|
2546
|
+
var lt = gn ? (
|
|
2549
2547
|
// Native
|
|
2550
2548
|
function(t, r, n) {
|
|
2551
2549
|
return t.startsWith(r, n);
|
|
@@ -2567,9 +2565,9 @@ var ht = gn ? (
|
|
|
2567
2565
|
}
|
|
2568
2566
|
return n;
|
|
2569
2567
|
}
|
|
2570
|
-
),
|
|
2568
|
+
), ft = (
|
|
2571
2569
|
// native
|
|
2572
|
-
|
|
2570
|
+
pn ? Object.fromEntries : (
|
|
2573
2571
|
// Ponyfill
|
|
2574
2572
|
function(t) {
|
|
2575
2573
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2579,7 +2577,7 @@ var ht = gn ? (
|
|
|
2579
2577
|
return r;
|
|
2580
2578
|
}
|
|
2581
2579
|
)
|
|
2582
|
-
),
|
|
2580
|
+
), kt = dn ? (
|
|
2583
2581
|
// Native
|
|
2584
2582
|
function(t, r) {
|
|
2585
2583
|
return t.codePointAt(r);
|
|
@@ -2614,23 +2612,23 @@ var ht = gn ? (
|
|
|
2614
2612
|
return t.replace(cn, "");
|
|
2615
2613
|
}
|
|
2616
2614
|
);
|
|
2617
|
-
function
|
|
2615
|
+
function Vt(e, t) {
|
|
2618
2616
|
return new RegExp(e, t);
|
|
2619
2617
|
}
|
|
2620
2618
|
var De;
|
|
2621
2619
|
if (Ue) {
|
|
2622
|
-
var
|
|
2620
|
+
var ct = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2623
2621
|
De = function(t, r) {
|
|
2624
2622
|
var n;
|
|
2625
|
-
|
|
2626
|
-
var i =
|
|
2623
|
+
ct.lastIndex = r;
|
|
2624
|
+
var i = ct.exec(t);
|
|
2627
2625
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2628
2626
|
};
|
|
2629
2627
|
} else
|
|
2630
2628
|
De = function(t, r) {
|
|
2631
2629
|
for (var n = []; ; ) {
|
|
2632
|
-
var i =
|
|
2633
|
-
if (i === void 0 ||
|
|
2630
|
+
var i = kt(t, r);
|
|
2631
|
+
if (i === void 0 || Xt(i) || Bn(i))
|
|
2634
2632
|
break;
|
|
2635
2633
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2636
2634
|
}
|
|
@@ -2837,14 +2835,14 @@ var Cn = (
|
|
|
2837
2835
|
var f = Tn(c.val);
|
|
2838
2836
|
if (f.length === 0)
|
|
2839
2837
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2840
|
-
var
|
|
2841
|
-
a = { style: f, styleLocation:
|
|
2838
|
+
var p = _(l, this.clonePosition());
|
|
2839
|
+
a = { style: f, styleLocation: p };
|
|
2842
2840
|
}
|
|
2843
|
-
var
|
|
2844
|
-
if (
|
|
2845
|
-
return
|
|
2841
|
+
var d = this.tryParseArgumentClose(i);
|
|
2842
|
+
if (d.err)
|
|
2843
|
+
return d;
|
|
2846
2844
|
var g = _(i, this.clonePosition());
|
|
2847
|
-
if (a &&
|
|
2845
|
+
if (a && lt(a == null ? void 0 : a.style, "::", 0)) {
|
|
2848
2846
|
var E = vn(a.style.slice(2));
|
|
2849
2847
|
if (u === "number") {
|
|
2850
2848
|
var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
|
@@ -2899,15 +2897,15 @@ var Cn = (
|
|
|
2899
2897
|
var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
|
|
2900
2898
|
if (H.err)
|
|
2901
2899
|
return H;
|
|
2902
|
-
var
|
|
2903
|
-
if (
|
|
2904
|
-
return
|
|
2900
|
+
var d = this.tryParseArgumentClose(i);
|
|
2901
|
+
if (d.err)
|
|
2902
|
+
return d;
|
|
2905
2903
|
var P = _(i, this.clonePosition());
|
|
2906
2904
|
return u === "select" ? {
|
|
2907
2905
|
val: {
|
|
2908
2906
|
type: T.select,
|
|
2909
2907
|
value: n,
|
|
2910
|
-
options:
|
|
2908
|
+
options: ft(H.val),
|
|
2911
2909
|
location: P
|
|
2912
2910
|
},
|
|
2913
2911
|
err: null
|
|
@@ -2915,7 +2913,7 @@ var Cn = (
|
|
|
2915
2913
|
val: {
|
|
2916
2914
|
type: T.plural,
|
|
2917
2915
|
value: n,
|
|
2918
|
-
options:
|
|
2916
|
+
options: ft(H.val),
|
|
2919
2917
|
offset: B,
|
|
2920
2918
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2921
2919
|
location: P
|
|
@@ -2994,20 +2992,20 @@ var Cn = (
|
|
|
2994
2992
|
if (h.has(a))
|
|
2995
2993
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2996
2994
|
a === "other" && (o = !0), this.bumpSpace();
|
|
2997
|
-
var
|
|
2995
|
+
var p = this.clonePosition();
|
|
2998
2996
|
if (!this.bumpIf("{"))
|
|
2999
2997
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3000
|
-
var
|
|
3001
|
-
if (
|
|
3002
|
-
return
|
|
3003
|
-
var g = this.tryParseArgumentClose(
|
|
2998
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
2999
|
+
if (d.err)
|
|
3000
|
+
return d;
|
|
3001
|
+
var g = this.tryParseArgumentClose(p);
|
|
3004
3002
|
if (g.err)
|
|
3005
3003
|
return g;
|
|
3006
3004
|
u.push([
|
|
3007
3005
|
a,
|
|
3008
3006
|
{
|
|
3009
|
-
value:
|
|
3010
|
-
location: _(
|
|
3007
|
+
value: d.val,
|
|
3008
|
+
location: _(p, this.clonePosition())
|
|
3011
3009
|
}
|
|
3012
3010
|
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
|
|
3013
3011
|
}
|
|
@@ -3038,7 +3036,7 @@ var Cn = (
|
|
|
3038
3036
|
var t = this.position.offset;
|
|
3039
3037
|
if (t >= this.message.length)
|
|
3040
3038
|
throw Error("out of bound");
|
|
3041
|
-
var r =
|
|
3039
|
+
var r = kt(this.message, t);
|
|
3042
3040
|
if (r === void 0)
|
|
3043
3041
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3044
3042
|
return r;
|
|
@@ -3057,7 +3055,7 @@ var Cn = (
|
|
|
3057
3055
|
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);
|
|
3058
3056
|
}
|
|
3059
3057
|
}, e.prototype.bumpIf = function(t) {
|
|
3060
|
-
if (
|
|
3058
|
+
if (lt(this.message, t, this.offset())) {
|
|
3061
3059
|
for (var r = 0; r < t.length; r++)
|
|
3062
3060
|
this.bump();
|
|
3063
3061
|
return !0;
|
|
@@ -3079,7 +3077,7 @@ var Cn = (
|
|
|
3079
3077
|
break;
|
|
3080
3078
|
}
|
|
3081
3079
|
}, e.prototype.bumpSpace = function() {
|
|
3082
|
-
for (; !this.isEOF() &&
|
|
3080
|
+
for (; !this.isEOF() && Xt(this.char()); )
|
|
3083
3081
|
this.bump();
|
|
3084
3082
|
}, e.prototype.peek = function() {
|
|
3085
3083
|
if (this.isEOF())
|
|
@@ -3098,7 +3096,7 @@ function Hn(e) {
|
|
|
3098
3096
|
function An(e) {
|
|
3099
3097
|
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;
|
|
3100
3098
|
}
|
|
3101
|
-
function
|
|
3099
|
+
function Xt(e) {
|
|
3102
3100
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3103
3101
|
}
|
|
3104
3102
|
function Bn(e) {
|
|
@@ -3106,11 +3104,11 @@ function Bn(e) {
|
|
|
3106
3104
|
}
|
|
3107
3105
|
function je(e) {
|
|
3108
3106
|
e.forEach(function(t) {
|
|
3109
|
-
if (delete t.location,
|
|
3107
|
+
if (delete t.location, Mt(t) || $t(t))
|
|
3110
3108
|
for (var r in t.options)
|
|
3111
3109
|
delete t.options[r].location, je(t.options[r].value);
|
|
3112
3110
|
else
|
|
3113
|
-
|
|
3111
|
+
Nt(t) && Ut(t.style) || (Lt(t) || It(t)) && Re(t.style) ? delete t.style.location : Rt(t) && je(t.children);
|
|
3114
3112
|
});
|
|
3115
3113
|
}
|
|
3116
3114
|
function Sn(e, t) {
|
|
@@ -3138,7 +3136,7 @@ var ve = (
|
|
|
3138
3136
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3139
3137
|
}, t;
|
|
3140
3138
|
}(Error)
|
|
3141
|
-
),
|
|
3139
|
+
), gt = (
|
|
3142
3140
|
/** @class */
|
|
3143
3141
|
function(e) {
|
|
3144
3142
|
Ee(t, e);
|
|
@@ -3178,8 +3176,8 @@ function Pn(e) {
|
|
|
3178
3176
|
function Nn(e) {
|
|
3179
3177
|
return typeof e == "function";
|
|
3180
3178
|
}
|
|
3181
|
-
function
|
|
3182
|
-
if (e.length === 1 &&
|
|
3179
|
+
function pe(e, t, r, n, i, s, o) {
|
|
3180
|
+
if (e.length === 1 && ot(e[0]))
|
|
3183
3181
|
return [
|
|
3184
3182
|
{
|
|
3185
3183
|
type: w.literal,
|
|
@@ -3188,7 +3186,7 @@ function de(e, t, r, n, i, s, o) {
|
|
|
3188
3186
|
];
|
|
3189
3187
|
for (var u = [], h = 0, a = e; h < a.length; h++) {
|
|
3190
3188
|
var l = a[h];
|
|
3191
|
-
if (
|
|
3189
|
+
if (ot(l)) {
|
|
3192
3190
|
u.push({
|
|
3193
3191
|
type: w.literal,
|
|
3194
3192
|
value: l.value
|
|
@@ -3213,35 +3211,35 @@ function de(e, t, r, n, i, s, o) {
|
|
|
3213
3211
|
});
|
|
3214
3212
|
continue;
|
|
3215
3213
|
}
|
|
3216
|
-
if (
|
|
3217
|
-
var
|
|
3214
|
+
if (Lt(l)) {
|
|
3215
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
|
|
3218
3216
|
u.push({
|
|
3219
3217
|
type: w.literal,
|
|
3220
|
-
value: r.getDateTimeFormat(t,
|
|
3218
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3221
3219
|
});
|
|
3222
3220
|
continue;
|
|
3223
3221
|
}
|
|
3224
|
-
if (
|
|
3225
|
-
var
|
|
3222
|
+
if (It(l)) {
|
|
3223
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3226
3224
|
u.push({
|
|
3227
3225
|
type: w.literal,
|
|
3228
|
-
value: r.getDateTimeFormat(t,
|
|
3226
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3229
3227
|
});
|
|
3230
3228
|
continue;
|
|
3231
3229
|
}
|
|
3232
|
-
if (
|
|
3233
|
-
var
|
|
3234
|
-
|
|
3230
|
+
if (Nt(l)) {
|
|
3231
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Ut(l.style) ? l.style.parsedOptions : void 0;
|
|
3232
|
+
p && p.scale && (f = f * (p.scale || 1)), u.push({
|
|
3235
3233
|
type: w.literal,
|
|
3236
|
-
value: r.getNumberFormat(t,
|
|
3234
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3237
3235
|
});
|
|
3238
3236
|
continue;
|
|
3239
3237
|
}
|
|
3240
|
-
if (
|
|
3241
|
-
var
|
|
3238
|
+
if (Rt(l)) {
|
|
3239
|
+
var d = l.children, g = l.value, E = i[g];
|
|
3242
3240
|
if (!Nn(E))
|
|
3243
3241
|
throw new wn(g, "function", o);
|
|
3244
|
-
var m =
|
|
3242
|
+
var m = pe(d, t, r, n, i, s), C = E(m.map(function(B) {
|
|
3245
3243
|
return B.value;
|
|
3246
3244
|
}));
|
|
3247
3245
|
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
|
|
@@ -3251,14 +3249,14 @@ function de(e, t, r, n, i, s, o) {
|
|
|
3251
3249
|
};
|
|
3252
3250
|
}));
|
|
3253
3251
|
}
|
|
3254
|
-
if (
|
|
3252
|
+
if (Mt(l)) {
|
|
3255
3253
|
var A = l.options[f] || l.options.other;
|
|
3256
3254
|
if (!A)
|
|
3257
|
-
throw new
|
|
3258
|
-
u.push.apply(u,
|
|
3255
|
+
throw new gt(l.value, f, Object.keys(l.options), o);
|
|
3256
|
+
u.push.apply(u, pe(A.value, t, r, n, i));
|
|
3259
3257
|
continue;
|
|
3260
3258
|
}
|
|
3261
|
-
if (
|
|
3259
|
+
if ($t(l)) {
|
|
3262
3260
|
var A = l.options["=".concat(f)];
|
|
3263
3261
|
if (!A) {
|
|
3264
3262
|
if (!Intl.PluralRules)
|
|
@@ -3269,8 +3267,8 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3269
3267
|
A = l.options[O] || l.options.other;
|
|
3270
3268
|
}
|
|
3271
3269
|
if (!A)
|
|
3272
|
-
throw new
|
|
3273
|
-
u.push.apply(u,
|
|
3270
|
+
throw new gt(l.value, f, Object.keys(l.options), o);
|
|
3271
|
+
u.push.apply(u, pe(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3274
3272
|
continue;
|
|
3275
3273
|
}
|
|
3276
3274
|
}
|
|
@@ -3351,7 +3349,7 @@ var $n = (
|
|
|
3351
3349
|
}, []);
|
|
3352
3350
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3353
3351
|
}, this.formatToParts = function(h) {
|
|
3354
|
-
return
|
|
3352
|
+
return pe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3355
3353
|
}, this.resolvedOptions = function() {
|
|
3356
3354
|
var h;
|
|
3357
3355
|
return {
|
|
@@ -3364,7 +3362,7 @@ var $n = (
|
|
|
3364
3362
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3365
3363
|
var o = i || {};
|
|
3366
3364
|
o.formatters;
|
|
3367
|
-
var u =
|
|
3365
|
+
var u = Xr(o, ["formatters"]);
|
|
3368
3366
|
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3369
3367
|
} else
|
|
3370
3368
|
this.ast = t;
|
|
@@ -3465,7 +3463,7 @@ function Rn(e, t) {
|
|
|
3465
3463
|
n = void 0;
|
|
3466
3464
|
return n;
|
|
3467
3465
|
}
|
|
3468
|
-
const D = {}, Un = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r),
|
|
3466
|
+
const D = {}, Un = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), zt = (e, t) => {
|
|
3469
3467
|
if (t == null)
|
|
3470
3468
|
return;
|
|
3471
3469
|
if (t in D && e in D[t])
|
|
@@ -3477,16 +3475,16 @@ const D = {}, Un = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][
|
|
|
3477
3475
|
return Un(e, t, s);
|
|
3478
3476
|
}
|
|
3479
3477
|
};
|
|
3480
|
-
let
|
|
3478
|
+
let Ze;
|
|
3481
3479
|
const he = xe({});
|
|
3482
3480
|
function Gn(e) {
|
|
3483
|
-
return
|
|
3481
|
+
return Ze[e] || null;
|
|
3484
3482
|
}
|
|
3485
|
-
function
|
|
3486
|
-
return e in
|
|
3483
|
+
function Wt(e) {
|
|
3484
|
+
return e in Ze;
|
|
3487
3485
|
}
|
|
3488
3486
|
function Dn(e, t) {
|
|
3489
|
-
if (!
|
|
3487
|
+
if (!Wt(e))
|
|
3490
3488
|
return null;
|
|
3491
3489
|
const r = Gn(e);
|
|
3492
3490
|
return Rn(r, t);
|
|
@@ -3497,28 +3495,28 @@ function Fn(e) {
|
|
|
3497
3495
|
const t = Te(e);
|
|
3498
3496
|
for (let r = 0; r < t.length; r++) {
|
|
3499
3497
|
const n = t[r];
|
|
3500
|
-
if (
|
|
3498
|
+
if (Wt(n))
|
|
3501
3499
|
return n;
|
|
3502
3500
|
}
|
|
3503
3501
|
}
|
|
3504
|
-
function
|
|
3505
|
-
delete D[e], he.update((r) => (r[e] =
|
|
3502
|
+
function Zt(e, ...t) {
|
|
3503
|
+
delete D[e], he.update((r) => (r[e] = Vr.all([r[e] || {}, ...t]), r));
|
|
3506
3504
|
}
|
|
3507
3505
|
ee(
|
|
3508
3506
|
[he],
|
|
3509
3507
|
([e]) => Object.keys(e)
|
|
3510
3508
|
);
|
|
3511
|
-
he.subscribe((e) =>
|
|
3512
|
-
const
|
|
3509
|
+
he.subscribe((e) => Ze = e);
|
|
3510
|
+
const de = {};
|
|
3513
3511
|
function jn(e, t) {
|
|
3514
|
-
|
|
3512
|
+
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3515
3513
|
}
|
|
3516
|
-
function
|
|
3517
|
-
return
|
|
3514
|
+
function Qt(e) {
|
|
3515
|
+
return de[e];
|
|
3518
3516
|
}
|
|
3519
3517
|
function kn(e) {
|
|
3520
3518
|
return Te(e).map((t) => {
|
|
3521
|
-
const r =
|
|
3519
|
+
const r = Qt(t);
|
|
3522
3520
|
return [t, r ? [...r] : []];
|
|
3523
3521
|
}).filter(([, t]) => t.length > 0);
|
|
3524
3522
|
}
|
|
@@ -3526,17 +3524,17 @@ function ke(e) {
|
|
|
3526
3524
|
return e == null ? !1 : Te(e).some(
|
|
3527
3525
|
(t) => {
|
|
3528
3526
|
var r;
|
|
3529
|
-
return (r =
|
|
3527
|
+
return (r = Qt(t)) == null ? void 0 : r.size;
|
|
3530
3528
|
}
|
|
3531
3529
|
);
|
|
3532
3530
|
}
|
|
3533
3531
|
function Vn(e, t) {
|
|
3534
3532
|
return Promise.all(
|
|
3535
3533
|
t.map((n) => (jn(e, n), n().then((i) => i.default || i)))
|
|
3536
|
-
).then((n) =>
|
|
3534
|
+
).then((n) => Zt(e, ...n));
|
|
3537
3535
|
}
|
|
3538
3536
|
const ne = {};
|
|
3539
|
-
function
|
|
3537
|
+
function Jt(e) {
|
|
3540
3538
|
if (!ke(e))
|
|
3541
3539
|
return e in ne ? ne[e] : Promise.resolve();
|
|
3542
3540
|
const t = kn(e);
|
|
@@ -3546,7 +3544,7 @@ function Qt(e) {
|
|
|
3546
3544
|
)
|
|
3547
3545
|
).then(() => {
|
|
3548
3546
|
if (ke(e))
|
|
3549
|
-
return
|
|
3547
|
+
return Jt(e);
|
|
3550
3548
|
delete ne[e];
|
|
3551
3549
|
}), ne[e];
|
|
3552
3550
|
}
|
|
@@ -3591,12 +3589,12 @@ function Y() {
|
|
|
3591
3589
|
return Wn;
|
|
3592
3590
|
}
|
|
3593
3591
|
const Ne = xe(!1);
|
|
3594
|
-
var Zn = Object.defineProperty, Qn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors,
|
|
3595
|
-
for (var r in t)
|
|
3596
|
-
qn.call(t, r) &&
|
|
3597
|
-
if (
|
|
3598
|
-
for (var r of
|
|
3599
|
-
Yn.call(t, r) &&
|
|
3592
|
+
var Zn = Object.defineProperty, Qn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kn = (e, t) => {
|
|
3593
|
+
for (var r in t || (t = {}))
|
|
3594
|
+
qn.call(t, r) && pt(e, r, t[r]);
|
|
3595
|
+
if (mt)
|
|
3596
|
+
for (var r of mt(t))
|
|
3597
|
+
Yn.call(t, r) && pt(e, r, t[r]);
|
|
3600
3598
|
return e;
|
|
3601
3599
|
}, ei = (e, t) => Qn(e, Jn(t));
|
|
3602
3600
|
let Ve;
|
|
@@ -3621,7 +3619,7 @@ const ti = (e) => {
|
|
|
3621
3619
|
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
|
3622
3620
|
() => Ne.set(!0),
|
|
3623
3621
|
t
|
|
3624
|
-
) : Ne.set(!0),
|
|
3622
|
+
) : Ne.set(!0), Jt(e).then(() => {
|
|
3625
3623
|
ye.set(e);
|
|
3626
3624
|
}).finally(() => {
|
|
3627
3625
|
clearTimeout(r), Ne.set(!1);
|
|
@@ -3637,20 +3635,20 @@ const ti = (e) => {
|
|
|
3637
3635
|
return i in t ? t[i] : t[i] = e(n);
|
|
3638
3636
|
};
|
|
3639
3637
|
};
|
|
3640
|
-
var ri = Object.defineProperty, _e = Object.getOwnPropertySymbols,
|
|
3638
|
+
var ri = Object.defineProperty, _e = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
|
|
3641
3639
|
for (var r in t || (t = {}))
|
|
3642
|
-
|
|
3640
|
+
qt.call(t, r) && bt(e, r, t[r]);
|
|
3643
3641
|
if (_e)
|
|
3644
3642
|
for (var r of _e(t))
|
|
3645
|
-
|
|
3643
|
+
Yt.call(t, r) && bt(e, r, t[r]);
|
|
3646
3644
|
return e;
|
|
3647
3645
|
}, re = (e, t) => {
|
|
3648
3646
|
var r = {};
|
|
3649
3647
|
for (var n in e)
|
|
3650
|
-
|
|
3648
|
+
qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3651
3649
|
if (e != null && _e)
|
|
3652
3650
|
for (var n of _e(e))
|
|
3653
|
-
t.indexOf(n) < 0 &&
|
|
3651
|
+
t.indexOf(n) < 0 && Yt.call(e, n) && (r[n] = e[n]);
|
|
3654
3652
|
return r;
|
|
3655
3653
|
};
|
|
3656
3654
|
const ae = (e, t) => {
|
|
@@ -3687,21 +3685,21 @@ const ae = (e, t) => {
|
|
|
3687
3685
|
} = t, n = re(t, [
|
|
3688
3686
|
"locale"
|
|
3689
3687
|
]);
|
|
3690
|
-
return ni(
|
|
3688
|
+
return ni(Qe({ locale: r }, n));
|
|
3691
3689
|
}, ai = (e = {}) => {
|
|
3692
3690
|
var t = e, {
|
|
3693
3691
|
locale: r = V()
|
|
3694
3692
|
} = t, n = re(t, [
|
|
3695
3693
|
"locale"
|
|
3696
3694
|
]);
|
|
3697
|
-
return ii(
|
|
3695
|
+
return ii(Qe({ locale: r }, n));
|
|
3698
3696
|
}, ui = (e = {}) => {
|
|
3699
3697
|
var t = e, {
|
|
3700
3698
|
locale: r = V()
|
|
3701
3699
|
} = t, n = re(t, [
|
|
3702
3700
|
"locale"
|
|
3703
3701
|
]);
|
|
3704
|
-
return si(
|
|
3702
|
+
return si(Qe({ locale: r }, n));
|
|
3705
3703
|
}, hi = Ce(
|
|
3706
3704
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3707
3705
|
(e, t = V()) => new $n(e, t, Y().formats, {
|
|
@@ -3720,7 +3718,7 @@ const ae = (e, t) => {
|
|
|
3720
3718
|
throw new Error(
|
|
3721
3719
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3722
3720
|
);
|
|
3723
|
-
let l =
|
|
3721
|
+
let l = zt(e, h);
|
|
3724
3722
|
if (!l)
|
|
3725
3723
|
l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3726
3724
|
else if (typeof l != "string")
|
|
@@ -3739,18 +3737,18 @@ const ae = (e, t) => {
|
|
|
3739
3737
|
);
|
|
3740
3738
|
}
|
|
3741
3739
|
return c;
|
|
3742
|
-
}, fi = (e, t) => ui(t).format(e), ci = (e, t) => ai(t).format(e), gi = (e, t) => oi(t).format(e), mi = (e, t = V()) =>
|
|
3740
|
+
}, fi = (e, t) => ui(t).format(e), ci = (e, t) => ai(t).format(e), gi = (e, t) => oi(t).format(e), mi = (e, t = V()) => zt(e, t), pi = ee([te, he], () => li);
|
|
3743
3741
|
ee([te], () => fi);
|
|
3744
3742
|
ee([te], () => ci);
|
|
3745
3743
|
ee([te], () => gi);
|
|
3746
3744
|
ee([te, he], () => mi);
|
|
3747
|
-
function
|
|
3748
|
-
|
|
3745
|
+
function yt(e, t) {
|
|
3746
|
+
Zt(e, t);
|
|
3749
3747
|
}
|
|
3750
|
-
function
|
|
3748
|
+
function di(e) {
|
|
3751
3749
|
te.set(e);
|
|
3752
3750
|
}
|
|
3753
|
-
const
|
|
3751
|
+
const _t = {
|
|
3754
3752
|
en: {
|
|
3755
3753
|
topCategories: "Top Categories",
|
|
3756
3754
|
otherCategories: "Other Categories",
|
|
@@ -3884,13 +3882,13 @@ function _i(e, t, r) {
|
|
|
3884
3882
|
}
|
|
3885
3883
|
}
|
|
3886
3884
|
function xi(e) {
|
|
3887
|
-
|
|
3885
|
+
ur(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}");
|
|
3888
3886
|
}
|
|
3889
|
-
function
|
|
3887
|
+
function xt(e, t, r) {
|
|
3890
3888
|
const n = e.slice();
|
|
3891
3889
|
return n[23] = t[r], n;
|
|
3892
3890
|
}
|
|
3893
|
-
function
|
|
3891
|
+
function Et(e, t, r) {
|
|
3894
3892
|
const n = e.slice();
|
|
3895
3893
|
return n[23] = t[r], n;
|
|
3896
3894
|
}
|
|
@@ -3906,21 +3904,21 @@ function Ei(e) {
|
|
|
3906
3904
|
e[3]
|
|
3907
3905
|
), f = [];
|
|
3908
3906
|
for (let g = 0; g < c.length; g += 1)
|
|
3909
|
-
f[g] = Et(
|
|
3910
|
-
let
|
|
3907
|
+
f[g] = vt(Et(e, c, g));
|
|
3908
|
+
let p = ce(
|
|
3911
3909
|
/*otherCategories*/
|
|
3912
3910
|
e[4]
|
|
3913
|
-
),
|
|
3914
|
-
for (let g = 0; g <
|
|
3915
|
-
|
|
3911
|
+
), d = [];
|
|
3912
|
+
for (let g = 0; g < p.length; g += 1)
|
|
3913
|
+
d[g] = Tt(xt(e, p, g));
|
|
3916
3914
|
return {
|
|
3917
3915
|
c() {
|
|
3918
3916
|
t = S("div"), r = S("h4"), i = G(n), s = U();
|
|
3919
3917
|
for (let g = 0; g < f.length; g += 1)
|
|
3920
3918
|
f[g].c();
|
|
3921
3919
|
o = U(), u = S("h4"), a = G(h), l = U();
|
|
3922
|
-
for (let g = 0; g <
|
|
3923
|
-
|
|
3920
|
+
for (let g = 0; g < d.length; g += 1)
|
|
3921
|
+
d[g].c();
|
|
3924
3922
|
I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
|
|
3925
3923
|
},
|
|
3926
3924
|
m(g, E) {
|
|
@@ -3928,8 +3926,8 @@ function Ei(e) {
|
|
|
3928
3926
|
for (let m = 0; m < f.length; m += 1)
|
|
3929
3927
|
f[m] && f[m].m(t, null);
|
|
3930
3928
|
v(t, o), v(t, u), v(u, a), v(t, l);
|
|
3931
|
-
for (let m = 0; m <
|
|
3932
|
-
|
|
3929
|
+
for (let m = 0; m < d.length; m += 1)
|
|
3930
|
+
d[m] && d[m].m(t, null);
|
|
3933
3931
|
},
|
|
3934
3932
|
p(g, E) {
|
|
3935
3933
|
if (E & /*$_*/
|
|
@@ -3942,8 +3940,8 @@ function Ei(e) {
|
|
|
3942
3940
|
);
|
|
3943
3941
|
let m;
|
|
3944
3942
|
for (m = 0; m < c.length; m += 1) {
|
|
3945
|
-
const C =
|
|
3946
|
-
f[m] ? f[m].p(C, E) : (f[m] =
|
|
3943
|
+
const C = Et(g, c, m);
|
|
3944
|
+
f[m] ? f[m].p(C, E) : (f[m] = vt(C), f[m].c(), f[m].m(t, o));
|
|
3947
3945
|
}
|
|
3948
3946
|
for (; m < f.length; m += 1)
|
|
3949
3947
|
f[m].d(1);
|
|
@@ -3953,22 +3951,22 @@ function Ei(e) {
|
|
|
3953
3951
|
32 && h !== (h = /*$_*/
|
|
3954
3952
|
g[5]("otherCategories") + "") && F(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3955
3953
|
113) {
|
|
3956
|
-
|
|
3954
|
+
p = ce(
|
|
3957
3955
|
/*otherCategories*/
|
|
3958
3956
|
g[4]
|
|
3959
3957
|
);
|
|
3960
3958
|
let m;
|
|
3961
|
-
for (m = 0; m <
|
|
3962
|
-
const C =
|
|
3963
|
-
|
|
3959
|
+
for (m = 0; m < p.length; m += 1) {
|
|
3960
|
+
const C = xt(g, p, m);
|
|
3961
|
+
d[m] ? d[m].p(C, E) : (d[m] = Tt(C), d[m].c(), d[m].m(t, null));
|
|
3964
3962
|
}
|
|
3965
|
-
for (; m <
|
|
3966
|
-
|
|
3967
|
-
|
|
3963
|
+
for (; m < d.length; m += 1)
|
|
3964
|
+
d[m].d(1);
|
|
3965
|
+
d.length = p.length;
|
|
3968
3966
|
}
|
|
3969
3967
|
},
|
|
3970
3968
|
d(g) {
|
|
3971
|
-
g && k(t),
|
|
3969
|
+
g && k(t), nt(f, g), nt(d, g);
|
|
3972
3970
|
}
|
|
3973
3971
|
};
|
|
3974
3972
|
}
|
|
@@ -3987,14 +3985,14 @@ function vi(e) {
|
|
|
3987
3985
|
}
|
|
3988
3986
|
};
|
|
3989
3987
|
}
|
|
3990
|
-
function
|
|
3988
|
+
function vt(e) {
|
|
3991
3989
|
let t, r, n, i, s, o, u, h = (
|
|
3992
3990
|
/*category*/
|
|
3993
3991
|
e[23].name + ""
|
|
3994
3992
|
), a, l, c, f = (
|
|
3995
3993
|
/*category*/
|
|
3996
3994
|
e[23].games.count + ""
|
|
3997
|
-
),
|
|
3995
|
+
), p, d, g = (
|
|
3998
3996
|
/*$_*/
|
|
3999
3997
|
e[5]("games") + ""
|
|
4000
3998
|
), E, m, C, A;
|
|
@@ -4009,14 +4007,14 @@ function Et(e) {
|
|
|
4009
4007
|
}
|
|
4010
4008
|
return {
|
|
4011
4009
|
c() {
|
|
4012
|
-
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"),
|
|
4010
|
+
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), be(r.src, n = /*category*/
|
|
4013
4011
|
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4014
4012
|
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
|
|
4015
4013
|
(e[0] === /*category*/
|
|
4016
4014
|
e[23].id ? "Active" : ""));
|
|
4017
4015
|
},
|
|
4018
4016
|
m(B, H) {
|
|
4019
|
-
K(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c,
|
|
4017
|
+
K(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, E), C || (A = Bt(t, "click", O), C = !0);
|
|
4020
4018
|
},
|
|
4021
4019
|
p(B, H) {
|
|
4022
4020
|
e = B, H & /*topCategories*/
|
|
@@ -4027,7 +4025,7 @@ function Et(e) {
|
|
|
4027
4025
|
8 && h !== (h = /*category*/
|
|
4028
4026
|
e[23].name + "") && F(a, h), H & /*topCategories*/
|
|
4029
4027
|
8 && f !== (f = /*category*/
|
|
4030
|
-
e[23].games.count + "") && F(
|
|
4028
|
+
e[23].games.count + "") && F(p, f), H & /*$_*/
|
|
4031
4029
|
32 && g !== (g = /*$_*/
|
|
4032
4030
|
e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
|
|
4033
4031
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
@@ -4039,14 +4037,14 @@ function Et(e) {
|
|
|
4039
4037
|
}
|
|
4040
4038
|
};
|
|
4041
4039
|
}
|
|
4042
|
-
function
|
|
4040
|
+
function Tt(e) {
|
|
4043
4041
|
let t, r, n, i, s, o, u, h = (
|
|
4044
4042
|
/*category*/
|
|
4045
4043
|
e[23].name + ""
|
|
4046
4044
|
), a, l, c, f = (
|
|
4047
4045
|
/*category*/
|
|
4048
4046
|
e[23].games.count + ""
|
|
4049
|
-
),
|
|
4047
|
+
), p, d, g = (
|
|
4050
4048
|
/*$_*/
|
|
4051
4049
|
e[5]("games") + ""
|
|
4052
4050
|
), E, m, C, A, O;
|
|
@@ -4061,14 +4059,14 @@ function vt(e) {
|
|
|
4061
4059
|
}
|
|
4062
4060
|
return {
|
|
4063
4061
|
c() {
|
|
4064
|
-
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"),
|
|
4062
|
+
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), m = U(), be(r.src, n = /*category*/
|
|
4065
4063
|
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4066
4064
|
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
|
|
4067
4065
|
(e[0] === /*category*/
|
|
4068
4066
|
e[23].id ? "Active" : ""));
|
|
4069
4067
|
},
|
|
4070
4068
|
m(H, P) {
|
|
4071
|
-
K(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c,
|
|
4069
|
+
K(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (O = Bt(t, "click", B), A = !0);
|
|
4072
4070
|
},
|
|
4073
4071
|
p(H, P) {
|
|
4074
4072
|
e = H, P & /*otherCategories*/
|
|
@@ -4079,7 +4077,7 @@ function vt(e) {
|
|
|
4079
4077
|
16 && h !== (h = /*category*/
|
|
4080
4078
|
e[23].name + "") && F(a, h), P & /*otherCategories*/
|
|
4081
4079
|
16 && f !== (f = /*category*/
|
|
4082
|
-
e[23].games.count + "") && F(
|
|
4080
|
+
e[23].games.count + "") && F(p, f), P & /*$_*/
|
|
4083
4081
|
32 && g !== (g = /*$_*/
|
|
4084
4082
|
e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
|
|
4085
4083
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
@@ -4119,45 +4117,45 @@ function Ti(e) {
|
|
|
4119
4117
|
}
|
|
4120
4118
|
function Ci(e, t, r) {
|
|
4121
4119
|
let n;
|
|
4122
|
-
|
|
4123
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t,
|
|
4120
|
+
ar(e, pi, (b) => r(5, n = b));
|
|
4121
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
|
|
4124
4122
|
const g = [];
|
|
4125
4123
|
let E = [], m = [];
|
|
4126
|
-
Object.keys(
|
|
4127
|
-
|
|
4124
|
+
Object.keys(_t).forEach((b) => {
|
|
4125
|
+
yt(b, _t[b]);
|
|
4128
4126
|
});
|
|
4129
4127
|
const C = () => {
|
|
4130
4128
|
fetch(c).then(($) => $.json()).then(($) => {
|
|
4131
4129
|
Object.keys($).forEach((le) => {
|
|
4132
|
-
|
|
4130
|
+
yt(le, $[le]);
|
|
4133
4131
|
});
|
|
4134
4132
|
}).catch(($) => {
|
|
4135
4133
|
console.log($);
|
|
4136
4134
|
});
|
|
4137
4135
|
}, A = () => {
|
|
4138
|
-
r(2,
|
|
4136
|
+
r(2, d = !0);
|
|
4139
4137
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4140
4138
|
b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
|
|
4141
|
-
r(2,
|
|
4139
|
+
r(2, d = !1);
|
|
4142
4140
|
const le = h.split(",").map((j) => j.trim());
|
|
4143
4141
|
g.push(...$.items);
|
|
4144
|
-
const
|
|
4145
|
-
var
|
|
4146
|
-
return ((
|
|
4142
|
+
const Je = g.filter((j) => !le.some((er) => {
|
|
4143
|
+
var qe;
|
|
4144
|
+
return ((qe = j.flags) == null ? void 0 : qe.indexOf(er)) >= 0;
|
|
4147
4145
|
}));
|
|
4148
|
-
r(3, E =
|
|
4146
|
+
r(3, E = Je.filter((j) => j.isTopCategory === !0)), r(4, m = Je.filter((j) => j.isTopCategory === !1));
|
|
4149
4147
|
});
|
|
4150
4148
|
}, O = (b) => {
|
|
4151
4149
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4152
4150
|
}, B = () => {
|
|
4153
|
-
|
|
4151
|
+
di(o);
|
|
4154
4152
|
};
|
|
4155
|
-
|
|
4153
|
+
mr(() => () => {
|
|
4156
4154
|
});
|
|
4157
4155
|
const H = (b) => O(b.id), P = (b) => O(b.id);
|
|
4158
|
-
function
|
|
4156
|
+
function Kt(b) {
|
|
4159
4157
|
Le[b ? "unshift" : "push"](() => {
|
|
4160
|
-
|
|
4158
|
+
p = b, r(1, p);
|
|
4161
4159
|
});
|
|
4162
4160
|
}
|
|
4163
4161
|
return e.$$set = (b) => {
|
|
@@ -4167,13 +4165,13 @@ function Ci(e, t, r) {
|
|
|
4167
4165
|
384 && i && s && A(), e.$$.dirty & /*translationurl*/
|
|
4168
4166
|
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4169
4167
|
512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4170
|
-
2050 && a &&
|
|
4171
|
-
4098 && l &&
|
|
4172
|
-
16386 && f &&
|
|
4168
|
+
2050 && a && p && bi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4169
|
+
4098 && l && p && yi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4170
|
+
16386 && f && p && _i(p, `${f}.Style`);
|
|
4173
4171
|
}, [
|
|
4174
4172
|
u,
|
|
4175
|
-
d,
|
|
4176
4173
|
p,
|
|
4174
|
+
d,
|
|
4177
4175
|
E,
|
|
4178
4176
|
m,
|
|
4179
4177
|
n,
|
|
@@ -4188,17 +4186,17 @@ function Ci(e, t, r) {
|
|
|
4188
4186
|
f,
|
|
4189
4187
|
H,
|
|
4190
4188
|
P,
|
|
4191
|
-
|
|
4189
|
+
Kt
|
|
4192
4190
|
];
|
|
4193
4191
|
}
|
|
4194
|
-
class Hi extends
|
|
4192
|
+
class Hi extends Ar {
|
|
4195
4193
|
constructor(t) {
|
|
4196
|
-
super(),
|
|
4194
|
+
super(), Cr(
|
|
4197
4195
|
this,
|
|
4198
4196
|
t,
|
|
4199
4197
|
Ci,
|
|
4200
4198
|
Ti,
|
|
4201
|
-
|
|
4199
|
+
Ht,
|
|
4202
4200
|
{
|
|
4203
4201
|
endpoint: 7,
|
|
4204
4202
|
datasource: 8,
|
|
@@ -4268,7 +4266,7 @@ class Hi extends Hr {
|
|
|
4268
4266
|
this.$$set({ mbsource: t }), M();
|
|
4269
4267
|
}
|
|
4270
4268
|
}
|
|
4271
|
-
|
|
4269
|
+
Hr(Hi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4272
4270
|
export {
|
|
4273
4271
|
Hi as default
|
|
4274
4272
|
};
|