@everymatrix/casino-providers 1.74.10 → 1.75.0
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/{CasinoProviders-LwC7cLP2.js → CasinoProviders-5KgLupng.js} +331 -333
- package/components/{CasinoProviders-ofpGnWLA.js → CasinoProviders-CwSc0dPe.js} +347 -349
- package/components/CasinoProviders-Dtz5nhD9.cjs +16 -0
- package/es2015/casino-providers.cjs +1 -1
- package/es2015/casino-providers.js +1 -1
- package/esnext/casino-providers.js +1 -1
- package/package.json +1 -1
- package/components/CasinoProviders-BYYBUFLe.cjs +0 -16
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function M() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function pt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ze() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function se(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(pt);
|
|
11
11
|
}
|
|
12
12
|
function De(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function dt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let ae;
|
|
19
|
-
function
|
|
19
|
+
function me(e, t) {
|
|
20
20
|
return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function kt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function gt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function pt(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 Vt(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(gt(t, r));
|
|
36
36
|
}
|
|
37
37
|
function y(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Xt(e, t, r) {
|
|
41
|
+
const n = zt(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = A("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, Wt(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function zt(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function Xt(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Wt(e, t) {
|
|
58
58
|
return y(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -67,7 +67,7 @@ function C(e, t, r) {
|
|
|
67
67
|
function I(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function We(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
@@ -80,23 +80,23 @@ function $(e) {
|
|
|
80
80
|
function R() {
|
|
81
81
|
return $(" ");
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Zt() {
|
|
84
84
|
return $("");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function bt(e, t, r, n) {
|
|
87
87
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
88
88
|
}
|
|
89
89
|
function S(e, t, r) {
|
|
90
90
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Qt(e) {
|
|
93
93
|
return Array.from(e.childNodes);
|
|
94
94
|
}
|
|
95
95
|
function D(e, t) {
|
|
96
96
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
97
97
|
t);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function qt(e) {
|
|
100
100
|
const t = {};
|
|
101
101
|
return e.childNodes.forEach(
|
|
102
102
|
/** @param {Element} node */
|
|
@@ -111,10 +111,10 @@ function re(e) {
|
|
|
111
111
|
}
|
|
112
112
|
const z = [], Ae = [];
|
|
113
113
|
let W = [];
|
|
114
|
-
const
|
|
114
|
+
const Ze = [], Jt = /* @__PURE__ */ Promise.resolve();
|
|
115
115
|
let Oe = !1;
|
|
116
|
-
function
|
|
117
|
-
Oe || (Oe = !0,
|
|
116
|
+
function Yt() {
|
|
117
|
+
Oe || (Oe = !0, Jt.then(G));
|
|
118
118
|
}
|
|
119
119
|
function we(e) {
|
|
120
120
|
W.push(e);
|
|
@@ -129,7 +129,7 @@ function G() {
|
|
|
129
129
|
try {
|
|
130
130
|
for (; V < z.length; ) {
|
|
131
131
|
const t = z[V];
|
|
132
|
-
V++, re(t),
|
|
132
|
+
V++, re(t), Kt(t.$$);
|
|
133
133
|
}
|
|
134
134
|
} catch (t) {
|
|
135
135
|
throw z.length = 0, V = 0, t;
|
|
@@ -142,43 +142,43 @@ function G() {
|
|
|
142
142
|
}
|
|
143
143
|
W.length = 0;
|
|
144
144
|
} while (z.length);
|
|
145
|
-
for (;
|
|
146
|
-
|
|
145
|
+
for (; Ze.length; )
|
|
146
|
+
Ze.pop()();
|
|
147
147
|
Oe = !1, xe.clear(), re(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Kt(e) {
|
|
150
150
|
if (e.fragment !== null) {
|
|
151
151
|
e.update(), se(e.before_update);
|
|
152
152
|
const t = e.dirty;
|
|
153
153
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function er(e) {
|
|
157
157
|
const t = [], r = [];
|
|
158
158
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
e && e.i && (
|
|
160
|
+
const tr = /* @__PURE__ */ new Set();
|
|
161
|
+
function rr(e, t) {
|
|
162
|
+
e && e.i && (tr.delete(e), e.i(t));
|
|
163
163
|
}
|
|
164
164
|
function ue(e) {
|
|
165
165
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function nr(e, t, r) {
|
|
168
168
|
const { fragment: n, after_update: i } = e.$$;
|
|
169
169
|
n && n.m(t, r), we(() => {
|
|
170
|
-
const s = e.$$.on_mount.map(
|
|
170
|
+
const s = e.$$.on_mount.map(pt).filter(De);
|
|
171
171
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : se(s), e.$$.on_mount = [];
|
|
172
172
|
}), i.forEach(we);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function ir(e, t) {
|
|
175
175
|
const r = e.$$;
|
|
176
|
-
r.fragment !== null && (
|
|
176
|
+
r.fragment !== null && (er(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
e.$$.dirty[0] === -1 && (z.push(e),
|
|
178
|
+
function sr(e, t) {
|
|
179
|
+
e.$$.dirty[0] === -1 && (z.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function or(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
182
182
|
const l = Fe;
|
|
183
183
|
re(e);
|
|
184
184
|
const u = e.$$ = {
|
|
@@ -188,7 +188,7 @@ function sr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
188
188
|
props: s,
|
|
189
189
|
update: M,
|
|
190
190
|
not_equal: i,
|
|
191
|
-
bound:
|
|
191
|
+
bound: ze(),
|
|
192
192
|
// lifecycle
|
|
193
193
|
on_mount: [],
|
|
194
194
|
on_destroy: [],
|
|
@@ -197,28 +197,28 @@ function sr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
197
197
|
after_update: [],
|
|
198
198
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
199
199
|
// everything else
|
|
200
|
-
callbacks:
|
|
200
|
+
callbacks: ze(),
|
|
201
201
|
dirty: a,
|
|
202
202
|
skip_bound: !1,
|
|
203
203
|
root: t.target || l.$$.root
|
|
204
204
|
};
|
|
205
205
|
o && o(u.root);
|
|
206
206
|
let h = !1;
|
|
207
|
-
if (u.ctx = r(e, t.props || {}, (c, f, ...g) => {
|
|
208
|
-
const
|
|
209
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
210
|
-
}), u.update(), h = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
207
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
|
|
208
|
+
const d = g.length ? g[0] : f;
|
|
209
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && sr(e, c)), f;
|
|
210
|
+
}) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
211
211
|
if (t.hydrate) {
|
|
212
|
-
const c =
|
|
212
|
+
const c = Qt(t.target);
|
|
213
213
|
u.fragment && u.fragment.l(c), c.forEach(I);
|
|
214
214
|
} else
|
|
215
215
|
u.fragment && u.fragment.c();
|
|
216
|
-
t.intro &&
|
|
216
|
+
t.intro && rr(e.$$.fragment), nr(e, t.target, t.anchor), G();
|
|
217
217
|
}
|
|
218
218
|
re(l);
|
|
219
219
|
}
|
|
220
|
-
let
|
|
221
|
-
typeof HTMLElement == "function" && (
|
|
220
|
+
let vt;
|
|
221
|
+
typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
222
222
|
/** The Svelte component constructor */
|
|
223
223
|
$$ctor;
|
|
224
224
|
/** Slots */
|
|
@@ -277,7 +277,7 @@ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
|
277
277
|
};
|
|
278
278
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
279
279
|
return;
|
|
280
|
-
const t = {}, r =
|
|
280
|
+
const t = {}, r = qt(this);
|
|
281
281
|
for (const i of this.$$s)
|
|
282
282
|
i in r && (t[i] = [e(i)]);
|
|
283
283
|
for (const i of this.attributes) {
|
|
@@ -364,8 +364,8 @@ function le(e, t, r, n) {
|
|
|
364
364
|
return t;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
let o = class extends
|
|
367
|
+
function ar(e, t, r, n, i, s) {
|
|
368
|
+
let o = class extends vt {
|
|
369
369
|
constructor() {
|
|
370
370
|
super(e, r, i), this.$$p_d = t;
|
|
371
371
|
}
|
|
@@ -393,7 +393,7 @@ function or(e, t, r, n, i, s) {
|
|
|
393
393
|
}), e.element = /** @type {any} */
|
|
394
394
|
o, o;
|
|
395
395
|
}
|
|
396
|
-
class
|
|
396
|
+
class ur {
|
|
397
397
|
/**
|
|
398
398
|
* ### PRIVATE API
|
|
399
399
|
*
|
|
@@ -412,7 +412,7 @@ class ar {
|
|
|
412
412
|
$$set = void 0;
|
|
413
413
|
/** @returns {void} */
|
|
414
414
|
$destroy() {
|
|
415
|
-
|
|
415
|
+
ir(this, 1), this.$destroy = M;
|
|
416
416
|
}
|
|
417
417
|
/**
|
|
418
418
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -434,12 +434,12 @@ class ar {
|
|
|
434
434
|
* @returns {void}
|
|
435
435
|
*/
|
|
436
436
|
$set(t) {
|
|
437
|
-
this.$$set && !
|
|
437
|
+
this.$$set && !kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
-
const
|
|
441
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
442
|
-
const
|
|
440
|
+
const hr = "4";
|
|
441
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hr);
|
|
442
|
+
const Qe = {
|
|
443
443
|
en: {
|
|
444
444
|
popularProviders: "Popular Suppliers",
|
|
445
445
|
otherProviders: "Other Suppliers",
|
|
@@ -549,7 +549,7 @@ const Ze = {
|
|
|
549
549
|
games: "games"
|
|
550
550
|
}
|
|
551
551
|
}, X = [];
|
|
552
|
-
function
|
|
552
|
+
function lr(e, t) {
|
|
553
553
|
return {
|
|
554
554
|
subscribe: ge(e, t).subscribe
|
|
555
555
|
};
|
|
@@ -558,7 +558,7 @@ function ge(e, t = M) {
|
|
|
558
558
|
let r;
|
|
559
559
|
const n = /* @__PURE__ */ new Set();
|
|
560
560
|
function i(a) {
|
|
561
|
-
if (
|
|
561
|
+
if (dt(e, a) && (e = a, r)) {
|
|
562
562
|
const l = !X.length;
|
|
563
563
|
for (const u of n)
|
|
564
564
|
u[1](), X.push(u, e);
|
|
@@ -585,7 +585,7 @@ function Y(e, t, r) {
|
|
|
585
585
|
if (!i.every(Boolean))
|
|
586
586
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
587
587
|
const s = t.length < 2;
|
|
588
|
-
return
|
|
588
|
+
return lr(r, (o, a) => {
|
|
589
589
|
let l = !1;
|
|
590
590
|
const u = [];
|
|
591
591
|
let h = 0, c = M;
|
|
@@ -593,16 +593,16 @@ function Y(e, t, r) {
|
|
|
593
593
|
if (h)
|
|
594
594
|
return;
|
|
595
595
|
c();
|
|
596
|
-
const
|
|
597
|
-
s ? o(
|
|
596
|
+
const d = t(n ? u[0] : u, o, a);
|
|
597
|
+
s ? o(d) : c = De(d) ? d : M;
|
|
598
598
|
}, g = i.map(
|
|
599
|
-
(
|
|
600
|
-
|
|
599
|
+
(d, m) => gt(
|
|
600
|
+
d,
|
|
601
601
|
(v) => {
|
|
602
|
-
u[
|
|
602
|
+
u[m] = v, h &= ~(1 << m), l && f();
|
|
603
603
|
},
|
|
604
604
|
() => {
|
|
605
|
-
h |= 1 <<
|
|
605
|
+
h |= 1 << m;
|
|
606
606
|
}
|
|
607
607
|
)
|
|
608
608
|
);
|
|
@@ -611,70 +611,70 @@ function Y(e, t, r) {
|
|
|
611
611
|
};
|
|
612
612
|
});
|
|
613
613
|
}
|
|
614
|
-
function
|
|
615
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
614
|
+
function fr(e) {
|
|
615
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
616
616
|
}
|
|
617
|
-
var
|
|
618
|
-
return
|
|
617
|
+
var cr = function(t) {
|
|
618
|
+
return mr(t) && !pr(t);
|
|
619
619
|
};
|
|
620
|
-
function
|
|
620
|
+
function mr(e) {
|
|
621
621
|
return !!e && typeof e == "object";
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function pr(e) {
|
|
624
624
|
var t = Object.prototype.toString.call(e);
|
|
625
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
626
|
-
}
|
|
627
|
-
var mr = typeof Symbol == "function" && Symbol.for, pr = mr ? Symbol.for("react.element") : 60103;
|
|
628
|
-
function gr(e) {
|
|
629
|
-
return e.$$typeof === pr;
|
|
625
|
+
return t === "[object RegExp]" || t === "[object Date]" || br(e);
|
|
630
626
|
}
|
|
627
|
+
var dr = typeof Symbol == "function" && Symbol.for, gr = dr ? Symbol.for("react.element") : 60103;
|
|
631
628
|
function br(e) {
|
|
629
|
+
return e.$$typeof === gr;
|
|
630
|
+
}
|
|
631
|
+
function vr(e) {
|
|
632
632
|
return Array.isArray(e) ? [] : {};
|
|
633
633
|
}
|
|
634
634
|
function ne(e, t) {
|
|
635
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
635
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(vr(e), e, t) : e;
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function _r(e, t, r) {
|
|
638
638
|
return e.concat(t).map(function(n) {
|
|
639
639
|
return ne(n, r);
|
|
640
640
|
});
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function Er(e, t) {
|
|
643
643
|
if (!t.customMerge)
|
|
644
644
|
return Z;
|
|
645
645
|
var r = t.customMerge(e);
|
|
646
646
|
return typeof r == "function" ? r : Z;
|
|
647
647
|
}
|
|
648
|
-
function
|
|
648
|
+
function xr(e) {
|
|
649
649
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
650
650
|
return Object.propertyIsEnumerable.call(e, t);
|
|
651
651
|
}) : [];
|
|
652
652
|
}
|
|
653
|
-
function
|
|
654
|
-
return Object.keys(e).concat(
|
|
653
|
+
function qe(e) {
|
|
654
|
+
return Object.keys(e).concat(xr(e));
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function _t(e, t) {
|
|
657
657
|
try {
|
|
658
658
|
return t in e;
|
|
659
659
|
} catch {
|
|
660
660
|
return !1;
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
|
-
function
|
|
664
|
-
return
|
|
663
|
+
function yr(e, t) {
|
|
664
|
+
return _t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function Pr(e, t, r) {
|
|
667
667
|
var n = {};
|
|
668
|
-
return r.isMergeableObject(e) &&
|
|
668
|
+
return r.isMergeableObject(e) && qe(e).forEach(function(i) {
|
|
669
669
|
n[i] = ne(e[i], r);
|
|
670
|
-
}),
|
|
671
|
-
|
|
670
|
+
}), qe(t).forEach(function(i) {
|
|
671
|
+
yr(e, i) || (_t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Er(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
672
672
|
}), n;
|
|
673
673
|
}
|
|
674
674
|
function Z(e, t, r) {
|
|
675
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
675
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || cr, r.cloneUnlessOtherwiseSpecified = ne;
|
|
676
676
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
677
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
677
|
+
return s ? n ? r.arrayMerge(e, t, r) : Pr(e, t, r) : ne(t, r);
|
|
678
678
|
}
|
|
679
679
|
Z.all = function(t, r) {
|
|
680
680
|
if (!Array.isArray(t))
|
|
@@ -683,8 +683,8 @@ Z.all = function(t, r) {
|
|
|
683
683
|
return Z(n, i, r);
|
|
684
684
|
}, {});
|
|
685
685
|
};
|
|
686
|
-
var
|
|
687
|
-
const
|
|
686
|
+
var Hr = Z, Tr = Hr;
|
|
687
|
+
const Sr = /* @__PURE__ */ fr(Tr);
|
|
688
688
|
/*! *****************************************************************************
|
|
689
689
|
Copyright (c) Microsoft Corporation.
|
|
690
690
|
|
|
@@ -726,7 +726,7 @@ var x = function() {
|
|
|
726
726
|
return t;
|
|
727
727
|
}, x.apply(this, arguments);
|
|
728
728
|
};
|
|
729
|
-
function
|
|
729
|
+
function Br(e, t) {
|
|
730
730
|
var r = {};
|
|
731
731
|
for (var n in e)
|
|
732
732
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -742,57 +742,55 @@ function ye(e, t, r) {
|
|
|
742
742
|
return e.concat(s || t);
|
|
743
743
|
}
|
|
744
744
|
function Pe(e, t) {
|
|
745
|
-
var r = t && t.cache ? t.cache : Ir, n = t && t.serializer ? t.serializer :
|
|
745
|
+
var r = t && t.cache ? t.cache : Ir, n = t && t.serializer ? t.serializer : Lr, i = t && t.strategy ? t.strategy : Or;
|
|
746
746
|
return i(e, {
|
|
747
747
|
cache: r,
|
|
748
748
|
serializer: n
|
|
749
749
|
});
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function Ar(e) {
|
|
752
752
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
753
753
|
}
|
|
754
|
-
function
|
|
755
|
-
var i =
|
|
754
|
+
function Et(e, t, r, n) {
|
|
755
|
+
var i = Ar(n) ? n : r(n), s = t.get(i);
|
|
756
756
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function xt(e, t, r) {
|
|
759
759
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
760
760
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
761
761
|
}
|
|
762
762
|
function je(e, t, r, n, i) {
|
|
763
763
|
return r.bind(t, e, n, i);
|
|
764
764
|
}
|
|
765
|
-
function Ar(e, t) {
|
|
766
|
-
var r = e.length === 1 ? _t : Et;
|
|
767
|
-
return je(e, this, r, t.cache.create(), t.serializer);
|
|
768
|
-
}
|
|
769
765
|
function Or(e, t) {
|
|
770
|
-
|
|
766
|
+
var r = e.length === 1 ? Et : xt;
|
|
767
|
+
return je(e, this, r, t.cache.create(), t.serializer);
|
|
771
768
|
}
|
|
772
769
|
function wr(e, t) {
|
|
773
|
-
return je(e, this,
|
|
770
|
+
return je(e, this, xt, t.cache.create(), t.serializer);
|
|
771
|
+
}
|
|
772
|
+
function Nr(e, t) {
|
|
773
|
+
return je(e, this, Et, t.cache.create(), t.serializer);
|
|
774
774
|
}
|
|
775
|
-
var
|
|
775
|
+
var Lr = function() {
|
|
776
776
|
return JSON.stringify(arguments);
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
}()
|
|
789
|
-
), Ir = {
|
|
777
|
+
};
|
|
778
|
+
function ke() {
|
|
779
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
780
|
+
}
|
|
781
|
+
ke.prototype.get = function(e) {
|
|
782
|
+
return this.cache[e];
|
|
783
|
+
};
|
|
784
|
+
ke.prototype.set = function(e, t) {
|
|
785
|
+
this.cache[e] = t;
|
|
786
|
+
};
|
|
787
|
+
var Ir = {
|
|
790
788
|
create: function() {
|
|
791
|
-
return new
|
|
789
|
+
return new ke();
|
|
792
790
|
}
|
|
793
791
|
}, He = {
|
|
794
|
-
variadic:
|
|
795
|
-
monadic:
|
|
792
|
+
variadic: wr,
|
|
793
|
+
monadic: Nr
|
|
796
794
|
}, _;
|
|
797
795
|
(function(e) {
|
|
798
796
|
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";
|
|
@@ -805,40 +803,40 @@ var Q;
|
|
|
805
803
|
(function(e) {
|
|
806
804
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
807
805
|
})(Q || (Q = {}));
|
|
808
|
-
function
|
|
806
|
+
function Je(e) {
|
|
809
807
|
return e.type === P.literal;
|
|
810
808
|
}
|
|
811
809
|
function Cr(e) {
|
|
812
810
|
return e.type === P.argument;
|
|
813
811
|
}
|
|
814
|
-
function
|
|
812
|
+
function yt(e) {
|
|
815
813
|
return e.type === P.number;
|
|
816
814
|
}
|
|
817
|
-
function
|
|
815
|
+
function Pt(e) {
|
|
818
816
|
return e.type === P.date;
|
|
819
817
|
}
|
|
820
|
-
function
|
|
818
|
+
function Ht(e) {
|
|
821
819
|
return e.type === P.time;
|
|
822
820
|
}
|
|
823
|
-
function
|
|
821
|
+
function Tt(e) {
|
|
824
822
|
return e.type === P.select;
|
|
825
823
|
}
|
|
826
|
-
function
|
|
824
|
+
function St(e) {
|
|
827
825
|
return e.type === P.plural;
|
|
828
826
|
}
|
|
829
827
|
function Mr(e) {
|
|
830
828
|
return e.type === P.pound;
|
|
831
829
|
}
|
|
832
|
-
function
|
|
830
|
+
function Bt(e) {
|
|
833
831
|
return e.type === P.tag;
|
|
834
832
|
}
|
|
835
|
-
function
|
|
833
|
+
function At(e) {
|
|
836
834
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
837
835
|
}
|
|
838
836
|
function Le(e) {
|
|
839
837
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
840
838
|
}
|
|
841
|
-
var
|
|
839
|
+
var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $r = /(?:[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;
|
|
842
840
|
function Rr(e) {
|
|
843
841
|
var t = {};
|
|
844
842
|
return e.replace($r, function(r) {
|
|
@@ -952,14 +950,14 @@ function Gr(e) {
|
|
|
952
950
|
function Dr(e) {
|
|
953
951
|
return e.replace(/^(.*?)-/, "");
|
|
954
952
|
}
|
|
955
|
-
var
|
|
956
|
-
function
|
|
953
|
+
var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, Fr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
|
|
954
|
+
function Ke(e) {
|
|
957
955
|
var t = {};
|
|
958
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
956
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wt, function(r, n, i) {
|
|
959
957
|
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)), "";
|
|
960
958
|
}), t;
|
|
961
959
|
}
|
|
962
|
-
function
|
|
960
|
+
function Lt(e) {
|
|
963
961
|
switch (e) {
|
|
964
962
|
case "sign-auto":
|
|
965
963
|
return {
|
|
@@ -1007,14 +1005,14 @@ function jr(e) {
|
|
|
1007
1005
|
notation: "scientific"
|
|
1008
1006
|
}, e = e.slice(1)), t) {
|
|
1009
1007
|
var r = e.slice(0, 2);
|
|
1010
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1008
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
|
|
1011
1009
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1012
1010
|
t.minimumIntegerDigits = e.length;
|
|
1013
1011
|
}
|
|
1014
1012
|
return t;
|
|
1015
1013
|
}
|
|
1016
|
-
function
|
|
1017
|
-
var t = {}, r =
|
|
1014
|
+
function et(e) {
|
|
1015
|
+
var t = {}, r = Lt(e);
|
|
1018
1016
|
return r || t;
|
|
1019
1017
|
}
|
|
1020
1018
|
function kr(e) {
|
|
@@ -1053,12 +1051,12 @@ function kr(e) {
|
|
|
1053
1051
|
continue;
|
|
1054
1052
|
case "scientific":
|
|
1055
1053
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1056
|
-
return x(x({}, l),
|
|
1054
|
+
return x(x({}, l), et(u));
|
|
1057
1055
|
}, {}));
|
|
1058
1056
|
continue;
|
|
1059
1057
|
case "engineering":
|
|
1060
1058
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1061
|
-
return x(x({}, l),
|
|
1059
|
+
return x(x({}, l), et(u));
|
|
1062
1060
|
}, {}));
|
|
1063
1061
|
continue;
|
|
1064
1062
|
case "notation-simple":
|
|
@@ -1116,25 +1114,25 @@ function kr(e) {
|
|
|
1116
1114
|
});
|
|
1117
1115
|
continue;
|
|
1118
1116
|
}
|
|
1119
|
-
if (
|
|
1117
|
+
if (Nt.test(i.stem)) {
|
|
1120
1118
|
t.minimumIntegerDigits = i.stem.length;
|
|
1121
1119
|
continue;
|
|
1122
1120
|
}
|
|
1123
|
-
if (
|
|
1121
|
+
if (Ye.test(i.stem)) {
|
|
1124
1122
|
if (i.options.length > 1)
|
|
1125
1123
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1126
|
-
i.stem.replace(
|
|
1124
|
+
i.stem.replace(Ye, function(l, u, h, c, f, g) {
|
|
1127
1125
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1128
1126
|
});
|
|
1129
1127
|
var s = i.options[0];
|
|
1130
|
-
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t),
|
|
1128
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Ke(s)));
|
|
1131
1129
|
continue;
|
|
1132
1130
|
}
|
|
1133
|
-
if (
|
|
1134
|
-
t = x(x({}, t),
|
|
1131
|
+
if (wt.test(i.stem)) {
|
|
1132
|
+
t = x(x({}, t), Ke(i.stem));
|
|
1135
1133
|
continue;
|
|
1136
1134
|
}
|
|
1137
|
-
var o =
|
|
1135
|
+
var o = Lt(i.stem);
|
|
1138
1136
|
o && (t = x(x({}, t), o));
|
|
1139
1137
|
var a = jr(i.stem);
|
|
1140
1138
|
a && (t = x(x({}, t), a));
|
|
@@ -2594,7 +2592,7 @@ function Xr(e) {
|
|
|
2594
2592
|
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
2595
2593
|
return i[0];
|
|
2596
2594
|
}
|
|
2597
|
-
var Te, zr = new RegExp("^".concat(
|
|
2595
|
+
var Te, zr = new RegExp("^".concat(Ot.source, "*")), Wr = new RegExp("".concat(Ot.source, "*$"));
|
|
2598
2596
|
function E(e, t) {
|
|
2599
2597
|
return { start: e, end: t };
|
|
2600
2598
|
}
|
|
@@ -2602,12 +2600,12 @@ var Zr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qr = !!String
|
|
|
2602
2600
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2603
2601
|
}, Ie = !0;
|
|
2604
2602
|
try {
|
|
2605
|
-
var rn =
|
|
2603
|
+
var rn = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2606
2604
|
Ie = ((Te = rn.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
|
|
2607
2605
|
} catch {
|
|
2608
2606
|
Ie = !1;
|
|
2609
2607
|
}
|
|
2610
|
-
var
|
|
2608
|
+
var tt = Zr ? (
|
|
2611
2609
|
// Native
|
|
2612
2610
|
function(t, r, n) {
|
|
2613
2611
|
return t.startsWith(r, n);
|
|
@@ -2629,7 +2627,7 @@ var et = Zr ? (
|
|
|
2629
2627
|
}
|
|
2630
2628
|
return n;
|
|
2631
2629
|
}
|
|
2632
|
-
),
|
|
2630
|
+
), rt = (
|
|
2633
2631
|
// native
|
|
2634
2632
|
qr ? Object.fromEntries : (
|
|
2635
2633
|
// Ponyfill
|
|
@@ -2641,7 +2639,7 @@ var et = Zr ? (
|
|
|
2641
2639
|
return r;
|
|
2642
2640
|
}
|
|
2643
2641
|
)
|
|
2644
|
-
),
|
|
2642
|
+
), It = Jr ? (
|
|
2645
2643
|
// Native
|
|
2646
2644
|
function(t, r) {
|
|
2647
2645
|
return t.codePointAt(r);
|
|
@@ -2676,23 +2674,23 @@ var et = Zr ? (
|
|
|
2676
2674
|
return t.replace(Wr, "");
|
|
2677
2675
|
}
|
|
2678
2676
|
);
|
|
2679
|
-
function
|
|
2677
|
+
function Ct(e, t) {
|
|
2680
2678
|
return new RegExp(e, t);
|
|
2681
2679
|
}
|
|
2682
2680
|
var Me;
|
|
2683
2681
|
if (Ie) {
|
|
2684
|
-
var
|
|
2682
|
+
var nt = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2685
2683
|
Me = function(t, r) {
|
|
2686
2684
|
var n;
|
|
2687
|
-
|
|
2688
|
-
var i =
|
|
2685
|
+
nt.lastIndex = r;
|
|
2686
|
+
var i = nt.exec(t);
|
|
2689
2687
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2690
2688
|
};
|
|
2691
2689
|
} else
|
|
2692
2690
|
Me = function(t, r) {
|
|
2693
2691
|
for (var n = []; ; ) {
|
|
2694
|
-
var i =
|
|
2695
|
-
if (i === void 0 ||
|
|
2692
|
+
var i = It(t, r);
|
|
2693
|
+
if (i === void 0 || Mt(i) || hn(i))
|
|
2696
2694
|
break;
|
|
2697
2695
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2698
2696
|
}
|
|
@@ -2902,31 +2900,31 @@ var on = (
|
|
|
2902
2900
|
var g = E(h, this.clonePosition());
|
|
2903
2901
|
u = { style: f, styleLocation: g };
|
|
2904
2902
|
}
|
|
2905
|
-
var
|
|
2906
|
-
if (
|
|
2907
|
-
return
|
|
2908
|
-
var
|
|
2909
|
-
if (u &&
|
|
2903
|
+
var d = this.tryParseArgumentClose(i);
|
|
2904
|
+
if (d.err)
|
|
2905
|
+
return d;
|
|
2906
|
+
var m = E(i, this.clonePosition());
|
|
2907
|
+
if (u && tt(u?.style, "::", 0)) {
|
|
2910
2908
|
var v = nn(u.style.slice(2));
|
|
2911
2909
|
if (a === "number") {
|
|
2912
2910
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
2913
2911
|
return c.err ? c : {
|
|
2914
|
-
val: { type: P.number, value: n, location:
|
|
2912
|
+
val: { type: P.number, value: n, location: m, style: c.val },
|
|
2915
2913
|
err: null
|
|
2916
2914
|
};
|
|
2917
2915
|
} else {
|
|
2918
2916
|
if (v.length === 0)
|
|
2919
|
-
return this.error(_.EXPECT_DATE_TIME_SKELETON,
|
|
2920
|
-
var
|
|
2921
|
-
this.locale && (
|
|
2917
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, m);
|
|
2918
|
+
var p = v;
|
|
2919
|
+
this.locale && (p = Vr(v, this.locale));
|
|
2922
2920
|
var f = {
|
|
2923
2921
|
type: Q.dateTime,
|
|
2924
|
-
pattern:
|
|
2922
|
+
pattern: p,
|
|
2925
2923
|
location: u.styleLocation,
|
|
2926
|
-
parsedOptions: this.shouldParseSkeletons ? Rr(
|
|
2924
|
+
parsedOptions: this.shouldParseSkeletons ? Rr(p) : {}
|
|
2927
2925
|
}, H = a === "date" ? P.date : P.time;
|
|
2928
2926
|
return {
|
|
2929
|
-
val: { type: H, value: n, location:
|
|
2927
|
+
val: { type: H, value: n, location: m, style: f },
|
|
2930
2928
|
err: null
|
|
2931
2929
|
};
|
|
2932
2930
|
}
|
|
@@ -2935,7 +2933,7 @@ var on = (
|
|
|
2935
2933
|
val: {
|
|
2936
2934
|
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
2937
2935
|
value: n,
|
|
2938
|
-
location:
|
|
2936
|
+
location: m,
|
|
2939
2937
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2940
2938
|
},
|
|
2941
2939
|
err: null
|
|
@@ -2961,15 +2959,15 @@ var on = (
|
|
|
2961
2959
|
var N = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
2962
2960
|
if (N.err)
|
|
2963
2961
|
return N;
|
|
2964
|
-
var
|
|
2965
|
-
if (
|
|
2966
|
-
return
|
|
2962
|
+
var d = this.tryParseArgumentClose(i);
|
|
2963
|
+
if (d.err)
|
|
2964
|
+
return d;
|
|
2967
2965
|
var b = E(i, this.clonePosition());
|
|
2968
2966
|
return a === "select" ? {
|
|
2969
2967
|
val: {
|
|
2970
2968
|
type: P.select,
|
|
2971
2969
|
value: n,
|
|
2972
|
-
options:
|
|
2970
|
+
options: rt(N.val),
|
|
2973
2971
|
location: b
|
|
2974
2972
|
},
|
|
2975
2973
|
err: null
|
|
@@ -2977,7 +2975,7 @@ var on = (
|
|
|
2977
2975
|
val: {
|
|
2978
2976
|
type: P.plural,
|
|
2979
2977
|
value: n,
|
|
2980
|
-
options:
|
|
2978
|
+
options: rt(N.val),
|
|
2981
2979
|
offset: T,
|
|
2982
2980
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2983
2981
|
location: b
|
|
@@ -3059,16 +3057,16 @@ var on = (
|
|
|
3059
3057
|
var g = this.clonePosition();
|
|
3060
3058
|
if (!this.bumpIf("{"))
|
|
3061
3059
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3062
|
-
var
|
|
3063
|
-
if (p.err)
|
|
3064
|
-
return p;
|
|
3065
|
-
var d = this.tryParseArgumentClose(g);
|
|
3060
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3066
3061
|
if (d.err)
|
|
3067
3062
|
return d;
|
|
3063
|
+
var m = this.tryParseArgumentClose(g);
|
|
3064
|
+
if (m.err)
|
|
3065
|
+
return m;
|
|
3068
3066
|
a.push([
|
|
3069
3067
|
u,
|
|
3070
3068
|
{
|
|
3071
|
-
value:
|
|
3069
|
+
value: d.val,
|
|
3072
3070
|
location: E(g, this.clonePosition())
|
|
3073
3071
|
}
|
|
3074
3072
|
]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
@@ -3100,7 +3098,7 @@ var on = (
|
|
|
3100
3098
|
var t = this.position.offset;
|
|
3101
3099
|
if (t >= this.message.length)
|
|
3102
3100
|
throw Error("out of bound");
|
|
3103
|
-
var r =
|
|
3101
|
+
var r = It(this.message, t);
|
|
3104
3102
|
if (r === void 0)
|
|
3105
3103
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3106
3104
|
return r;
|
|
@@ -3119,7 +3117,7 @@ var on = (
|
|
|
3119
3117
|
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);
|
|
3120
3118
|
}
|
|
3121
3119
|
}, e.prototype.bumpIf = function(t) {
|
|
3122
|
-
if (
|
|
3120
|
+
if (tt(this.message, t, this.offset())) {
|
|
3123
3121
|
for (var r = 0; r < t.length; r++)
|
|
3124
3122
|
this.bump();
|
|
3125
3123
|
return !0;
|
|
@@ -3141,7 +3139,7 @@ var on = (
|
|
|
3141
3139
|
break;
|
|
3142
3140
|
}
|
|
3143
3141
|
}, e.prototype.bumpSpace = function() {
|
|
3144
|
-
for (; !this.isEOF() &&
|
|
3142
|
+
for (; !this.isEOF() && Mt(this.char()); )
|
|
3145
3143
|
this.bump();
|
|
3146
3144
|
}, e.prototype.peek = function() {
|
|
3147
3145
|
if (this.isEOF())
|
|
@@ -3160,7 +3158,7 @@ function an(e) {
|
|
|
3160
3158
|
function un(e) {
|
|
3161
3159
|
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;
|
|
3162
3160
|
}
|
|
3163
|
-
function
|
|
3161
|
+
function Mt(e) {
|
|
3164
3162
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3165
3163
|
}
|
|
3166
3164
|
function hn(e) {
|
|
@@ -3168,11 +3166,11 @@ function hn(e) {
|
|
|
3168
3166
|
}
|
|
3169
3167
|
function Re(e) {
|
|
3170
3168
|
e.forEach(function(t) {
|
|
3171
|
-
if (delete t.location,
|
|
3169
|
+
if (delete t.location, Tt(t) || St(t))
|
|
3172
3170
|
for (var r in t.options)
|
|
3173
3171
|
delete t.options[r].location, Re(t.options[r].value);
|
|
3174
3172
|
else
|
|
3175
|
-
|
|
3173
|
+
yt(t) && At(t.style) || (Pt(t) || Ht(t)) && Le(t.style) ? delete t.style.location : Bt(t) && Re(t.children);
|
|
3176
3174
|
});
|
|
3177
3175
|
}
|
|
3178
3176
|
function ln(e, t) {
|
|
@@ -3200,7 +3198,7 @@ var ve = (
|
|
|
3200
3198
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3201
3199
|
}, t;
|
|
3202
3200
|
}(Error)
|
|
3203
|
-
),
|
|
3201
|
+
), it = (
|
|
3204
3202
|
/** @class */
|
|
3205
3203
|
function(e) {
|
|
3206
3204
|
be(t, e);
|
|
@@ -3231,17 +3229,17 @@ var ve = (
|
|
|
3231
3229
|
(function(e) {
|
|
3232
3230
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3233
3231
|
})(w || (w = {}));
|
|
3234
|
-
function
|
|
3232
|
+
function mn(e) {
|
|
3235
3233
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3236
3234
|
var n = t[t.length - 1];
|
|
3237
3235
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3238
3236
|
}, []);
|
|
3239
3237
|
}
|
|
3240
|
-
function
|
|
3238
|
+
function pn(e) {
|
|
3241
3239
|
return typeof e == "function";
|
|
3242
3240
|
}
|
|
3243
3241
|
function fe(e, t, r, n, i, s, o) {
|
|
3244
|
-
if (e.length === 1 &&
|
|
3242
|
+
if (e.length === 1 && Je(e[0]))
|
|
3245
3243
|
return [
|
|
3246
3244
|
{
|
|
3247
3245
|
type: w.literal,
|
|
@@ -3250,7 +3248,7 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3250
3248
|
];
|
|
3251
3249
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3252
3250
|
var h = u[l];
|
|
3253
|
-
if (
|
|
3251
|
+
if (Je(h)) {
|
|
3254
3252
|
a.push({
|
|
3255
3253
|
type: w.literal,
|
|
3256
3254
|
value: h.value
|
|
@@ -3275,7 +3273,7 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3275
3273
|
});
|
|
3276
3274
|
continue;
|
|
3277
3275
|
}
|
|
3278
|
-
if (
|
|
3276
|
+
if (Pt(h)) {
|
|
3279
3277
|
var g = typeof h.style == "string" ? n.date[h.style] : Le(h.style) ? h.style.parsedOptions : void 0;
|
|
3280
3278
|
a.push({
|
|
3281
3279
|
type: w.literal,
|
|
@@ -3283,7 +3281,7 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3283
3281
|
});
|
|
3284
3282
|
continue;
|
|
3285
3283
|
}
|
|
3286
|
-
if (
|
|
3284
|
+
if (Ht(h)) {
|
|
3287
3285
|
var g = typeof h.style == "string" ? n.time[h.style] : Le(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3288
3286
|
a.push({
|
|
3289
3287
|
type: w.literal,
|
|
@@ -3291,19 +3289,19 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3291
3289
|
});
|
|
3292
3290
|
continue;
|
|
3293
3291
|
}
|
|
3294
|
-
if (
|
|
3295
|
-
var g = typeof h.style == "string" ? n.number[h.style] :
|
|
3292
|
+
if (yt(h)) {
|
|
3293
|
+
var g = typeof h.style == "string" ? n.number[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
|
|
3296
3294
|
g && g.scale && (f = f * (g.scale || 1)), a.push({
|
|
3297
3295
|
type: w.literal,
|
|
3298
3296
|
value: r.getNumberFormat(t, g).format(f)
|
|
3299
3297
|
});
|
|
3300
3298
|
continue;
|
|
3301
3299
|
}
|
|
3302
|
-
if (
|
|
3303
|
-
var
|
|
3304
|
-
if (!
|
|
3305
|
-
throw new fn(
|
|
3306
|
-
var
|
|
3300
|
+
if (Bt(h)) {
|
|
3301
|
+
var d = h.children, m = h.value, v = i[m];
|
|
3302
|
+
if (!pn(v))
|
|
3303
|
+
throw new fn(m, "function", o);
|
|
3304
|
+
var p = fe(d, t, r, n, i, s), H = v(p.map(function(T) {
|
|
3307
3305
|
return T.value;
|
|
3308
3306
|
}));
|
|
3309
3307
|
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(T) {
|
|
@@ -3313,14 +3311,14 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3313
3311
|
};
|
|
3314
3312
|
}));
|
|
3315
3313
|
}
|
|
3316
|
-
if (
|
|
3314
|
+
if (Tt(h)) {
|
|
3317
3315
|
var B = h.options[f] || h.options.other;
|
|
3318
3316
|
if (!B)
|
|
3319
|
-
throw new
|
|
3317
|
+
throw new it(h.value, f, Object.keys(h.options), o);
|
|
3320
3318
|
a.push.apply(a, fe(B.value, t, r, n, i));
|
|
3321
3319
|
continue;
|
|
3322
3320
|
}
|
|
3323
|
-
if (
|
|
3321
|
+
if (St(h)) {
|
|
3324
3322
|
var B = h.options["=".concat(f)];
|
|
3325
3323
|
if (!B) {
|
|
3326
3324
|
if (!Intl.PluralRules)
|
|
@@ -3331,21 +3329,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3331
3329
|
B = h.options[O] || h.options.other;
|
|
3332
3330
|
}
|
|
3333
3331
|
if (!B)
|
|
3334
|
-
throw new
|
|
3332
|
+
throw new it(h.value, f, Object.keys(h.options), o);
|
|
3335
3333
|
a.push.apply(a, fe(B.value, t, r, n, i, f - (h.offset || 0)));
|
|
3336
3334
|
continue;
|
|
3337
3335
|
}
|
|
3338
3336
|
}
|
|
3339
|
-
return
|
|
3337
|
+
return mn(a);
|
|
3340
3338
|
}
|
|
3341
|
-
function
|
|
3339
|
+
function dn(e, t) {
|
|
3342
3340
|
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3343
3341
|
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3344
3342
|
}, {})) : e;
|
|
3345
3343
|
}
|
|
3346
3344
|
function gn(e, t) {
|
|
3347
3345
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3348
|
-
return r[n] =
|
|
3346
|
+
return r[n] = dn(e[n], t[n]), r;
|
|
3349
3347
|
}, x({}, e)) : e;
|
|
3350
3348
|
}
|
|
3351
3349
|
function Se(e) {
|
|
@@ -3426,7 +3424,7 @@ var vn = (
|
|
|
3426
3424
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3427
3425
|
var o = i || {};
|
|
3428
3426
|
o.formatters;
|
|
3429
|
-
var a =
|
|
3427
|
+
var a = Br(o, ["formatters"]);
|
|
3430
3428
|
this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
|
|
3431
3429
|
} else
|
|
3432
3430
|
this.ast = t;
|
|
@@ -3527,7 +3525,7 @@ function _n(e, t) {
|
|
|
3527
3525
|
n = void 0;
|
|
3528
3526
|
return n;
|
|
3529
3527
|
}
|
|
3530
|
-
const F = {}, En = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r),
|
|
3528
|
+
const F = {}, En = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), $t = (e, t) => {
|
|
3531
3529
|
if (t == null)
|
|
3532
3530
|
return;
|
|
3533
3531
|
if (t in F && e in F[t])
|
|
@@ -3539,16 +3537,16 @@ const F = {}, En = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][
|
|
|
3539
3537
|
return En(e, t, s);
|
|
3540
3538
|
}
|
|
3541
3539
|
};
|
|
3542
|
-
let
|
|
3540
|
+
let Ve;
|
|
3543
3541
|
const oe = ge({});
|
|
3544
3542
|
function xn(e) {
|
|
3545
|
-
return
|
|
3543
|
+
return Ve[e] || null;
|
|
3546
3544
|
}
|
|
3547
|
-
function
|
|
3548
|
-
return e in
|
|
3545
|
+
function Rt(e) {
|
|
3546
|
+
return e in Ve;
|
|
3549
3547
|
}
|
|
3550
3548
|
function yn(e, t) {
|
|
3551
|
-
if (
|
|
3549
|
+
if (!Rt(e))
|
|
3552
3550
|
return null;
|
|
3553
3551
|
const r = xn(e);
|
|
3554
3552
|
return _n(r, t);
|
|
@@ -3559,28 +3557,28 @@ function Pn(e) {
|
|
|
3559
3557
|
const t = _e(e);
|
|
3560
3558
|
for (let r = 0; r < t.length; r++) {
|
|
3561
3559
|
const n = t[r];
|
|
3562
|
-
if (
|
|
3560
|
+
if (Rt(n))
|
|
3563
3561
|
return n;
|
|
3564
3562
|
}
|
|
3565
3563
|
}
|
|
3566
|
-
function
|
|
3567
|
-
delete F[e], oe.update((r) => (r[e] =
|
|
3564
|
+
function Ut(e, ...t) {
|
|
3565
|
+
delete F[e], oe.update((r) => (r[e] = Sr.all([r[e] || {}, ...t]), r));
|
|
3568
3566
|
}
|
|
3569
3567
|
Y(
|
|
3570
3568
|
[oe],
|
|
3571
3569
|
([e]) => Object.keys(e)
|
|
3572
3570
|
);
|
|
3573
|
-
oe.subscribe((e) =>
|
|
3571
|
+
oe.subscribe((e) => Ve = e);
|
|
3574
3572
|
const ce = {};
|
|
3575
3573
|
function Hn(e, t) {
|
|
3576
3574
|
ce[e].delete(t), ce[e].size === 0 && delete ce[e];
|
|
3577
3575
|
}
|
|
3578
|
-
function
|
|
3576
|
+
function Gt(e) {
|
|
3579
3577
|
return ce[e];
|
|
3580
3578
|
}
|
|
3581
3579
|
function Tn(e) {
|
|
3582
3580
|
return _e(e).map((t) => {
|
|
3583
|
-
const r =
|
|
3581
|
+
const r = Gt(t);
|
|
3584
3582
|
return [t, r ? [...r] : []];
|
|
3585
3583
|
}).filter(([, t]) => t.length > 0);
|
|
3586
3584
|
}
|
|
@@ -3588,17 +3586,17 @@ function Ue(e) {
|
|
|
3588
3586
|
return e == null ? !1 : _e(e).some(
|
|
3589
3587
|
(t) => {
|
|
3590
3588
|
var r;
|
|
3591
|
-
return (r =
|
|
3589
|
+
return (r = Gt(t)) == null ? void 0 : r.size;
|
|
3592
3590
|
}
|
|
3593
3591
|
);
|
|
3594
3592
|
}
|
|
3595
3593
|
function Sn(e, t) {
|
|
3596
3594
|
return Promise.all(
|
|
3597
3595
|
t.map((n) => (Hn(e, n), n().then((i) => i.default || i)))
|
|
3598
|
-
).then((n) =>
|
|
3596
|
+
).then((n) => Ut(e, ...n));
|
|
3599
3597
|
}
|
|
3600
3598
|
const te = {};
|
|
3601
|
-
function
|
|
3599
|
+
function Dt(e) {
|
|
3602
3600
|
if (!Ue(e))
|
|
3603
3601
|
return e in te ? te[e] : Promise.resolve();
|
|
3604
3602
|
const t = Tn(e);
|
|
@@ -3608,7 +3606,7 @@ function Gt(e) {
|
|
|
3608
3606
|
)
|
|
3609
3607
|
).then(() => {
|
|
3610
3608
|
if (Ue(e))
|
|
3611
|
-
return
|
|
3609
|
+
return Dt(e);
|
|
3612
3610
|
delete te[e];
|
|
3613
3611
|
}), te[e];
|
|
3614
3612
|
}
|
|
@@ -3653,27 +3651,27 @@ function J() {
|
|
|
3653
3651
|
return On;
|
|
3654
3652
|
}
|
|
3655
3653
|
const Be = ge(!1);
|
|
3656
|
-
var wn = Object.defineProperty, Nn = Object.defineProperties, Ln = Object.getOwnPropertyDescriptors,
|
|
3657
|
-
for (var r in t)
|
|
3658
|
-
In.call(t, r) &&
|
|
3659
|
-
if (
|
|
3660
|
-
for (var r of
|
|
3661
|
-
Cn.call(t, r) &&
|
|
3654
|
+
var wn = Object.defineProperty, Nn = Object.defineProperties, Ln = Object.getOwnPropertyDescriptors, st = Object.getOwnPropertySymbols, In = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mn = (e, t) => {
|
|
3655
|
+
for (var r in t || (t = {}))
|
|
3656
|
+
In.call(t, r) && ot(e, r, t[r]);
|
|
3657
|
+
if (st)
|
|
3658
|
+
for (var r of st(t))
|
|
3659
|
+
Cn.call(t, r) && ot(e, r, t[r]);
|
|
3662
3660
|
return e;
|
|
3663
3661
|
}, $n = (e, t) => Nn(e, Ln(t));
|
|
3664
3662
|
let Ge;
|
|
3665
|
-
const
|
|
3666
|
-
function
|
|
3663
|
+
const pe = ge(null);
|
|
3664
|
+
function at(e) {
|
|
3667
3665
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3668
3666
|
}
|
|
3669
3667
|
function _e(e, t = J().fallbackLocale) {
|
|
3670
|
-
const r =
|
|
3671
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3668
|
+
const r = at(e);
|
|
3669
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
|
|
3672
3670
|
}
|
|
3673
3671
|
function k() {
|
|
3674
3672
|
return Ge ?? void 0;
|
|
3675
3673
|
}
|
|
3676
|
-
|
|
3674
|
+
pe.subscribe((e) => {
|
|
3677
3675
|
Ge = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3678
3676
|
});
|
|
3679
3677
|
const Rn = (e) => {
|
|
@@ -3683,14 +3681,14 @@ const Rn = (e) => {
|
|
|
3683
3681
|
return typeof window < "u" && k() != null && t ? r = window.setTimeout(
|
|
3684
3682
|
() => Be.set(!0),
|
|
3685
3683
|
t
|
|
3686
|
-
) : Be.set(!0),
|
|
3687
|
-
|
|
3684
|
+
) : Be.set(!0), Dt(e).then(() => {
|
|
3685
|
+
pe.set(e);
|
|
3688
3686
|
}).finally(() => {
|
|
3689
3687
|
clearTimeout(r), Be.set(!1);
|
|
3690
3688
|
});
|
|
3691
3689
|
}
|
|
3692
|
-
return
|
|
3693
|
-
}, K = $n(Mn({},
|
|
3690
|
+
return pe.set(e);
|
|
3691
|
+
}, K = $n(Mn({}, pe), {
|
|
3694
3692
|
set: Rn
|
|
3695
3693
|
}), Ee = (e) => {
|
|
3696
3694
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -3699,20 +3697,20 @@ const Rn = (e) => {
|
|
|
3699
3697
|
return i in t ? t[i] : t[i] = e(n);
|
|
3700
3698
|
};
|
|
3701
3699
|
};
|
|
3702
|
-
var Un = Object.defineProperty,
|
|
3700
|
+
var Un = Object.defineProperty, de = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
|
|
3703
3701
|
for (var r in t || (t = {}))
|
|
3704
|
-
|
|
3705
|
-
if (
|
|
3706
|
-
for (var r of
|
|
3707
|
-
|
|
3702
|
+
Ft.call(t, r) && ut(e, r, t[r]);
|
|
3703
|
+
if (de)
|
|
3704
|
+
for (var r of de(t))
|
|
3705
|
+
jt.call(t, r) && ut(e, r, t[r]);
|
|
3708
3706
|
return e;
|
|
3709
3707
|
}, ee = (e, t) => {
|
|
3710
3708
|
var r = {};
|
|
3711
3709
|
for (var n in e)
|
|
3712
|
-
|
|
3713
|
-
if (e != null &&
|
|
3714
|
-
for (var n of
|
|
3715
|
-
t.indexOf(n) < 0 &&
|
|
3710
|
+
Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3711
|
+
if (e != null && de)
|
|
3712
|
+
for (var n of de(e))
|
|
3713
|
+
t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
|
|
3716
3714
|
return r;
|
|
3717
3715
|
};
|
|
3718
3716
|
const ie = (e, t) => {
|
|
@@ -3749,21 +3747,21 @@ const ie = (e, t) => {
|
|
|
3749
3747
|
} = t, n = ee(t, [
|
|
3750
3748
|
"locale"
|
|
3751
3749
|
]);
|
|
3752
|
-
return Gn(
|
|
3750
|
+
return Gn(Xe({ locale: r }, n));
|
|
3753
3751
|
}, kn = (e = {}) => {
|
|
3754
3752
|
var t = e, {
|
|
3755
3753
|
locale: r = k()
|
|
3756
3754
|
} = t, n = ee(t, [
|
|
3757
3755
|
"locale"
|
|
3758
3756
|
]);
|
|
3759
|
-
return Dn(
|
|
3757
|
+
return Dn(Xe({ locale: r }, n));
|
|
3760
3758
|
}, Vn = (e = {}) => {
|
|
3761
3759
|
var t = e, {
|
|
3762
3760
|
locale: r = k()
|
|
3763
3761
|
} = t, n = ee(t, [
|
|
3764
3762
|
"locale"
|
|
3765
3763
|
]);
|
|
3766
|
-
return Fn(
|
|
3764
|
+
return Fn(Xe({ locale: r }, n));
|
|
3767
3765
|
}, Xn = Ee(
|
|
3768
3766
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3769
3767
|
(e, t = k()) => new vn(e, t, J().formats, {
|
|
@@ -3782,7 +3780,7 @@ const ie = (e, t) => {
|
|
|
3782
3780
|
throw new Error(
|
|
3783
3781
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3784
3782
|
);
|
|
3785
|
-
let h =
|
|
3783
|
+
let h = $t(e, l);
|
|
3786
3784
|
if (!h)
|
|
3787
3785
|
h = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3788
3786
|
else if (typeof h != "string")
|
|
@@ -3801,13 +3799,13 @@ const ie = (e, t) => {
|
|
|
3801
3799
|
);
|
|
3802
3800
|
}
|
|
3803
3801
|
return c;
|
|
3804
|
-
}, Wn = (e, t) => Vn(t).format(e), Zn = (e, t) => kn(t).format(e), Qn = (e, t) => jn(t).format(e), qn = (e, t = k()) =>
|
|
3802
|
+
}, Wn = (e, t) => Vn(t).format(e), Zn = (e, t) => kn(t).format(e), Qn = (e, t) => jn(t).format(e), qn = (e, t = k()) => $t(e, t), Jn = Y([K, oe], () => zn);
|
|
3805
3803
|
Y([K], () => Wn);
|
|
3806
3804
|
Y([K], () => Zn);
|
|
3807
3805
|
Y([K], () => Qn);
|
|
3808
3806
|
Y([K, oe], () => qn);
|
|
3809
|
-
function
|
|
3810
|
-
|
|
3807
|
+
function ht(e, t) {
|
|
3808
|
+
Ut(e, t);
|
|
3811
3809
|
}
|
|
3812
3810
|
function Yn(e) {
|
|
3813
3811
|
K.set(e);
|
|
@@ -3836,13 +3834,13 @@ function ti(e, t, r) {
|
|
|
3836
3834
|
}
|
|
3837
3835
|
}
|
|
3838
3836
|
function ri(e) {
|
|
3839
|
-
|
|
3837
|
+
Xt(e, "svelte-1bsli1q", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
|
|
3840
3838
|
}
|
|
3841
|
-
function
|
|
3839
|
+
function lt(e, t, r) {
|
|
3842
3840
|
const n = e.slice();
|
|
3843
3841
|
return n[21] = t[r], n;
|
|
3844
3842
|
}
|
|
3845
|
-
function
|
|
3843
|
+
function ft(e, t, r) {
|
|
3846
3844
|
const n = e.slice();
|
|
3847
3845
|
return n[21] = t[r], n;
|
|
3848
3846
|
}
|
|
@@ -3857,71 +3855,71 @@ function ni(e) {
|
|
|
3857
3855
|
/*topProviders*/
|
|
3858
3856
|
e[1]
|
|
3859
3857
|
), f = [];
|
|
3860
|
-
for (let
|
|
3861
|
-
f[
|
|
3858
|
+
for (let m = 0; m < c.length; m += 1)
|
|
3859
|
+
f[m] = ct(ft(e, c, m));
|
|
3862
3860
|
let g = ue(
|
|
3863
3861
|
/*otherProviders*/
|
|
3864
3862
|
e[2]
|
|
3865
|
-
),
|
|
3866
|
-
for (let
|
|
3867
|
-
|
|
3863
|
+
), d = [];
|
|
3864
|
+
for (let m = 0; m < g.length; m += 1)
|
|
3865
|
+
d[m] = mt(lt(e, g, m));
|
|
3868
3866
|
return {
|
|
3869
3867
|
c() {
|
|
3870
3868
|
t = A("h4"), n = $(r), i = R();
|
|
3871
|
-
for (let
|
|
3872
|
-
f[
|
|
3869
|
+
for (let m = 0; m < f.length; m += 1)
|
|
3870
|
+
f[m].c();
|
|
3873
3871
|
s = R(), o = A("h4"), l = $(a), u = R();
|
|
3874
|
-
for (let
|
|
3875
|
-
|
|
3876
|
-
h =
|
|
3872
|
+
for (let m = 0; m < d.length; m += 1)
|
|
3873
|
+
d[m].c();
|
|
3874
|
+
h = Zt(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
|
|
3877
3875
|
},
|
|
3878
|
-
m(
|
|
3879
|
-
C(
|
|
3880
|
-
for (let
|
|
3881
|
-
f[
|
|
3882
|
-
C(
|
|
3883
|
-
for (let
|
|
3884
|
-
p
|
|
3885
|
-
C(
|
|
3876
|
+
m(m, v) {
|
|
3877
|
+
C(m, t, v), y(t, n), C(m, i, v);
|
|
3878
|
+
for (let p = 0; p < f.length; p += 1)
|
|
3879
|
+
f[p] && f[p].m(m, v);
|
|
3880
|
+
C(m, s, v), C(m, o, v), y(o, l), C(m, u, v);
|
|
3881
|
+
for (let p = 0; p < d.length; p += 1)
|
|
3882
|
+
d[p] && d[p].m(m, v);
|
|
3883
|
+
C(m, h, v);
|
|
3886
3884
|
},
|
|
3887
|
-
p(
|
|
3885
|
+
p(m, v) {
|
|
3888
3886
|
if (v & /*$_*/
|
|
3889
3887
|
16 && r !== (r = /*$_*/
|
|
3890
|
-
|
|
3888
|
+
m[4]("popularProviders") + "") && D(n, r), v & /*openGameProviderPage, topProviders, $_*/
|
|
3891
3889
|
50) {
|
|
3892
3890
|
c = ue(
|
|
3893
3891
|
/*topProviders*/
|
|
3894
|
-
|
|
3892
|
+
m[1]
|
|
3895
3893
|
);
|
|
3896
|
-
let
|
|
3897
|
-
for (
|
|
3898
|
-
const H =
|
|
3899
|
-
f[
|
|
3894
|
+
let p;
|
|
3895
|
+
for (p = 0; p < c.length; p += 1) {
|
|
3896
|
+
const H = ft(m, c, p);
|
|
3897
|
+
f[p] ? f[p].p(H, v) : (f[p] = ct(H), f[p].c(), f[p].m(s.parentNode, s));
|
|
3900
3898
|
}
|
|
3901
|
-
for (;
|
|
3902
|
-
f[
|
|
3899
|
+
for (; p < f.length; p += 1)
|
|
3900
|
+
f[p].d(1);
|
|
3903
3901
|
f.length = c.length;
|
|
3904
3902
|
}
|
|
3905
3903
|
if (v & /*$_*/
|
|
3906
3904
|
16 && a !== (a = /*$_*/
|
|
3907
|
-
|
|
3905
|
+
m[4]("otherProviders") + "") && D(l, a), v & /*openGameProviderPage, otherProviders, $_*/
|
|
3908
3906
|
52) {
|
|
3909
3907
|
g = ue(
|
|
3910
3908
|
/*otherProviders*/
|
|
3911
|
-
|
|
3909
|
+
m[2]
|
|
3912
3910
|
);
|
|
3913
|
-
let
|
|
3914
|
-
for (
|
|
3915
|
-
const H =
|
|
3916
|
-
p
|
|
3911
|
+
let p;
|
|
3912
|
+
for (p = 0; p < g.length; p += 1) {
|
|
3913
|
+
const H = lt(m, g, p);
|
|
3914
|
+
d[p] ? d[p].p(H, v) : (d[p] = mt(H), d[p].c(), d[p].m(h.parentNode, h));
|
|
3917
3915
|
}
|
|
3918
|
-
for (;
|
|
3919
|
-
p
|
|
3920
|
-
|
|
3916
|
+
for (; p < d.length; p += 1)
|
|
3917
|
+
d[p].d(1);
|
|
3918
|
+
d.length = g.length;
|
|
3921
3919
|
}
|
|
3922
3920
|
},
|
|
3923
|
-
d(
|
|
3924
|
-
|
|
3921
|
+
d(m) {
|
|
3922
|
+
m && (I(t), I(i), I(s), I(o), I(u), I(h)), We(f, m), We(d, m);
|
|
3925
3923
|
}
|
|
3926
3924
|
};
|
|
3927
3925
|
}
|
|
@@ -3947,17 +3945,17 @@ function ii(e) {
|
|
|
3947
3945
|
}
|
|
3948
3946
|
};
|
|
3949
3947
|
}
|
|
3950
|
-
function
|
|
3948
|
+
function ct(e) {
|
|
3951
3949
|
let t, r, n, i, s, o, a, l = (
|
|
3952
3950
|
/*provider*/
|
|
3953
3951
|
e[21].name + ""
|
|
3954
3952
|
), u, h, c, f = (
|
|
3955
3953
|
/*provider*/
|
|
3956
3954
|
e[21].games.count + ""
|
|
3957
|
-
), g,
|
|
3955
|
+
), g, d, m = (
|
|
3958
3956
|
/*$_*/
|
|
3959
3957
|
e[4]("games") + ""
|
|
3960
|
-
), v,
|
|
3958
|
+
), v, p, H;
|
|
3961
3959
|
function B() {
|
|
3962
3960
|
return (
|
|
3963
3961
|
/*click_handler*/
|
|
@@ -3969,16 +3967,16 @@ function ft(e) {
|
|
|
3969
3967
|
}
|
|
3970
3968
|
return {
|
|
3971
3969
|
c() {
|
|
3972
|
-
t = A("div"), r = A("img"), s = R(), o = A("div"), a = A("p"), u = $(l), h = R(), c = A("p"), g = $(f),
|
|
3970
|
+
t = A("div"), r = A("img"), s = R(), o = A("div"), a = A("p"), u = $(l), h = R(), c = A("p"), g = $(f), d = R(), v = $(m), me(r.src, n = /*provider*/
|
|
3973
3971
|
e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
|
|
3974
3972
|
e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
|
|
3975
3973
|
},
|
|
3976
3974
|
m(O, T) {
|
|
3977
|
-
C(O, t, T), y(t, r), y(t, s), y(t, o), y(o, a), y(a, u), y(o, h), y(o, c), y(c, g), y(c,
|
|
3975
|
+
C(O, t, T), y(t, r), y(t, s), y(t, o), y(o, a), y(a, u), y(o, h), y(o, c), y(c, g), y(c, d), y(c, v), p || (H = bt(t, "click", B), p = !0);
|
|
3978
3976
|
},
|
|
3979
3977
|
p(O, T) {
|
|
3980
3978
|
e = O, T & /*topProviders*/
|
|
3981
|
-
2 && !
|
|
3979
|
+
2 && !me(r.src, n = /*provider*/
|
|
3982
3980
|
e[21].logo) && S(r, "src", n), T & /*topProviders*/
|
|
3983
3981
|
2 && i !== (i = /*provider*/
|
|
3984
3982
|
e[21].name) && S(r, "alt", i), T & /*topProviders*/
|
|
@@ -3986,25 +3984,25 @@ function ft(e) {
|
|
|
3986
3984
|
e[21].name + "") && D(u, l), T & /*topProviders*/
|
|
3987
3985
|
2 && f !== (f = /*provider*/
|
|
3988
3986
|
e[21].games.count + "") && D(g, f), T & /*$_*/
|
|
3989
|
-
16 &&
|
|
3990
|
-
e[4]("games") + "") && D(v,
|
|
3987
|
+
16 && m !== (m = /*$_*/
|
|
3988
|
+
e[4]("games") + "") && D(v, m);
|
|
3991
3989
|
},
|
|
3992
3990
|
d(O) {
|
|
3993
|
-
O && I(t),
|
|
3991
|
+
O && I(t), p = !1, H();
|
|
3994
3992
|
}
|
|
3995
3993
|
};
|
|
3996
3994
|
}
|
|
3997
|
-
function
|
|
3995
|
+
function mt(e) {
|
|
3998
3996
|
let t, r, n, i, s, o, a, l = (
|
|
3999
3997
|
/*provider*/
|
|
4000
3998
|
e[21].name + ""
|
|
4001
3999
|
), u, h, c, f = (
|
|
4002
4000
|
/*provider*/
|
|
4003
4001
|
e[21].games.count + ""
|
|
4004
|
-
), g,
|
|
4002
|
+
), g, d, m = (
|
|
4005
4003
|
/*$_*/
|
|
4006
4004
|
e[4]("games") + ""
|
|
4007
|
-
), v,
|
|
4005
|
+
), v, p, H, B;
|
|
4008
4006
|
function O() {
|
|
4009
4007
|
return (
|
|
4010
4008
|
/*click_handler_1*/
|
|
@@ -4016,16 +4014,16 @@ function ct(e) {
|
|
|
4016
4014
|
}
|
|
4017
4015
|
return {
|
|
4018
4016
|
c() {
|
|
4019
|
-
t = A("div"), r = A("img"), s = R(), o = A("div"), a = A("p"), u = $(l), h = R(), c = A("p"), g = $(f),
|
|
4017
|
+
t = A("div"), r = A("img"), s = R(), o = A("div"), a = A("p"), u = $(l), h = R(), c = A("p"), g = $(f), d = R(), v = $(m), p = R(), me(r.src, n = /*provider*/
|
|
4020
4018
|
e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
|
|
4021
4019
|
e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
|
|
4022
4020
|
},
|
|
4023
4021
|
m(T, N) {
|
|
4024
|
-
C(T, t, N), y(t, r), y(t, s), y(t, o), y(o, a), y(a, u), y(o, h), y(o, c), y(c, g), y(c,
|
|
4022
|
+
C(T, t, N), y(t, r), y(t, s), y(t, o), y(o, a), y(a, u), y(o, h), y(o, c), y(c, g), y(c, d), y(c, v), y(t, p), H || (B = bt(t, "click", O), H = !0);
|
|
4025
4023
|
},
|
|
4026
4024
|
p(T, N) {
|
|
4027
4025
|
e = T, N & /*otherProviders*/
|
|
4028
|
-
4 && !
|
|
4026
|
+
4 && !me(r.src, n = /*provider*/
|
|
4029
4027
|
e[21].logo) && S(r, "src", n), N & /*otherProviders*/
|
|
4030
4028
|
4 && i !== (i = /*provider*/
|
|
4031
4029
|
e[21].name) && S(r, "alt", i), N & /*otherProviders*/
|
|
@@ -4033,8 +4031,8 @@ function ct(e) {
|
|
|
4033
4031
|
e[21].name + "") && D(u, l), N & /*otherProviders*/
|
|
4034
4032
|
4 && f !== (f = /*provider*/
|
|
4035
4033
|
e[21].games.count + "") && D(g, f), N & /*$_*/
|
|
4036
|
-
16 &&
|
|
4037
|
-
e[4]("games") + "") && D(v,
|
|
4034
|
+
16 && m !== (m = /*$_*/
|
|
4035
|
+
e[4]("games") + "") && D(v, m);
|
|
4038
4036
|
},
|
|
4039
4037
|
d(T) {
|
|
4040
4038
|
T && I(t), H = !1, B();
|
|
@@ -4069,25 +4067,25 @@ function si(e) {
|
|
|
4069
4067
|
}
|
|
4070
4068
|
function oi(e, t, r) {
|
|
4071
4069
|
let n;
|
|
4072
|
-
|
|
4073
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { mbsource: h } = t, c = [], f = [], g = [],
|
|
4070
|
+
Vt(e, Jn, (b) => r(4, n = b));
|
|
4071
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { mbsource: h } = t, c = [], f = [], g = [], d = !1, m;
|
|
4074
4072
|
const v = () => {
|
|
4075
4073
|
fetch(u).then((L) => L.json()).then((L) => {
|
|
4076
4074
|
Object.keys(L).forEach((j) => {
|
|
4077
|
-
|
|
4075
|
+
ht(j, L[j]);
|
|
4078
4076
|
});
|
|
4079
4077
|
}).catch((L) => {
|
|
4080
4078
|
console.log(L);
|
|
4081
4079
|
});
|
|
4082
4080
|
};
|
|
4083
|
-
Object.keys(
|
|
4084
|
-
|
|
4081
|
+
Object.keys(Qe).forEach((b) => {
|
|
4082
|
+
ht(b, Qe[b]);
|
|
4085
4083
|
});
|
|
4086
|
-
const
|
|
4087
|
-
r(3,
|
|
4084
|
+
const p = () => {
|
|
4085
|
+
r(3, d = !0);
|
|
4088
4086
|
const b = new URL(`${i}/v1/casino/vendors`);
|
|
4089
4087
|
b.searchParams.append("datasource", s), b.searchParams.append("language", o), b.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games"), fetch(b).then((L) => L.json()).then((L) => {
|
|
4090
|
-
r(3,
|
|
4088
|
+
r(3, d = !1), c = L.items.map((U) => U), r(1, f = c.filter((U) => U.isTopVendor === !0)), r(2, g = c.filter((U) => U.isTopVendor === !1));
|
|
4091
4089
|
let j = [];
|
|
4092
4090
|
j = c.flatMap((U) => U.subVendors), g.push(...j.filter((U) => U.games.count > 0));
|
|
4093
4091
|
});
|
|
@@ -4106,24 +4104,24 @@ function oi(e, t, r) {
|
|
|
4106
4104
|
}, O = (b) => H(b.id, b.name, b.logo), T = (b) => H(b.id, b.name, b.logo);
|
|
4107
4105
|
function N(b) {
|
|
4108
4106
|
Ae[b ? "unshift" : "push"](() => {
|
|
4109
|
-
|
|
4107
|
+
m = b, r(0, m);
|
|
4110
4108
|
});
|
|
4111
4109
|
}
|
|
4112
4110
|
return e.$$set = (b) => {
|
|
4113
4111
|
"endpoint" in b && r(6, i = b.endpoint), "datasource" in b && r(7, s = b.datasource), "lang" in b && r(8, o = b.lang), "clientstyling" in b && r(9, a = b.clientstyling), "clientstylingurl" in b && r(10, l = b.clientstylingurl), "translationurl" in b && r(11, u = b.translationurl), "mbsource" in b && r(12, h = b.mbsource);
|
|
4114
4112
|
}, e.$$.update = () => {
|
|
4115
4113
|
e.$$.dirty & /*endpoint, lang, datasource*/
|
|
4116
|
-
448 && i && o && s &&
|
|
4114
|
+
448 && i && o && s && p(), e.$$.dirty & /*lang*/
|
|
4117
4115
|
256 && o && B(), e.$$.dirty & /*translationurl*/
|
|
4118
4116
|
2048 && u && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4119
|
-
513 && a &&
|
|
4120
|
-
1025 && l &&
|
|
4121
|
-
4097 && h &&
|
|
4117
|
+
513 && a && m && Kn(m, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4118
|
+
1025 && l && m && ei(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4119
|
+
4097 && h && m && ti(m, `${h}.Style`);
|
|
4122
4120
|
}, [
|
|
4123
|
-
|
|
4121
|
+
m,
|
|
4124
4122
|
f,
|
|
4125
4123
|
g,
|
|
4126
|
-
|
|
4124
|
+
d,
|
|
4127
4125
|
n,
|
|
4128
4126
|
H,
|
|
4129
4127
|
i,
|
|
@@ -4138,14 +4136,14 @@ function oi(e, t, r) {
|
|
|
4138
4136
|
N
|
|
4139
4137
|
];
|
|
4140
4138
|
}
|
|
4141
|
-
class ai extends
|
|
4139
|
+
class ai extends ur {
|
|
4142
4140
|
constructor(t) {
|
|
4143
|
-
super(),
|
|
4141
|
+
super(), or(
|
|
4144
4142
|
this,
|
|
4145
4143
|
t,
|
|
4146
4144
|
oi,
|
|
4147
4145
|
si,
|
|
4148
|
-
|
|
4146
|
+
dt,
|
|
4149
4147
|
{
|
|
4150
4148
|
endpoint: 6,
|
|
4151
4149
|
datasource: 7,
|
|
@@ -4201,7 +4199,7 @@ class ai extends ar {
|
|
|
4201
4199
|
this.$$set({ mbsource: t }), G();
|
|
4202
4200
|
}
|
|
4203
4201
|
}
|
|
4204
|
-
|
|
4202
|
+
ar(ai, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4205
4203
|
export {
|
|
4206
4204
|
ai as C
|
|
4207
4205
|
};
|