@everymatrix/casino-providers 1.86.3 → 1.86.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/CasinoProviders-B89EAnzR.cjs +3 -0
- package/components/{CasinoProviders-CY8sq6_T.js → CasinoProviders-CVEnVTrV.js} +549 -545
- package/components/{CasinoProviders-BkeGsHDc.js → CasinoProviders-eJAMNumv.js} +541 -537
- 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-DW6hh65X.cjs +0 -16
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
function M() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function mt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
6
|
function ze() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function oe(e) {
|
|
10
|
+
e.forEach(mt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function je(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function dt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
18
|
+
let ue;
|
|
19
19
|
function me(e, t) {
|
|
20
|
-
return e === t ? !0 : (
|
|
20
|
+
return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
|
|
21
21
|
}
|
|
22
22
|
function kt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
@@ -77,7 +77,7 @@ function A(e) {
|
|
|
77
77
|
function $(e) {
|
|
78
78
|
return document.createTextNode(e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function U() {
|
|
81
81
|
return $(" ");
|
|
82
82
|
}
|
|
83
83
|
function Zt() {
|
|
@@ -92,7 +92,7 @@ function S(e, t, r) {
|
|
|
92
92
|
function Qt(e) {
|
|
93
93
|
return Array.from(e.childNodes);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function F(e, t) {
|
|
96
96
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
97
97
|
t);
|
|
98
98
|
}
|
|
@@ -105,82 +105,82 @@ function qt(e) {
|
|
|
105
105
|
}
|
|
106
106
|
), t;
|
|
107
107
|
}
|
|
108
|
-
let
|
|
109
|
-
function
|
|
110
|
-
|
|
108
|
+
let ke;
|
|
109
|
+
function ne(e) {
|
|
110
|
+
ke = e;
|
|
111
111
|
}
|
|
112
|
-
const
|
|
113
|
-
let
|
|
112
|
+
const W = [], we = [];
|
|
113
|
+
let Z = [];
|
|
114
114
|
const Ze = [], Jt = /* @__PURE__ */ Promise.resolve();
|
|
115
|
-
let
|
|
115
|
+
let Ne = !1;
|
|
116
116
|
function Yt() {
|
|
117
|
-
|
|
117
|
+
Ne || (Ne = !0, Jt.then(D));
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
119
|
+
function Le(e) {
|
|
120
|
+
Z.push(e);
|
|
121
121
|
}
|
|
122
|
-
const
|
|
123
|
-
let
|
|
124
|
-
function
|
|
125
|
-
if (
|
|
122
|
+
const Pe = /* @__PURE__ */ new Set();
|
|
123
|
+
let X = 0;
|
|
124
|
+
function D() {
|
|
125
|
+
if (X !== 0)
|
|
126
126
|
return;
|
|
127
|
-
const e =
|
|
127
|
+
const e = ke;
|
|
128
128
|
do {
|
|
129
129
|
try {
|
|
130
|
-
for (;
|
|
131
|
-
const t =
|
|
132
|
-
|
|
130
|
+
for (; X < W.length; ) {
|
|
131
|
+
const t = W[X];
|
|
132
|
+
X++, ne(t), Kt(t.$$);
|
|
133
133
|
}
|
|
134
134
|
} catch (t) {
|
|
135
|
-
throw
|
|
135
|
+
throw W.length = 0, X = 0, t;
|
|
136
136
|
}
|
|
137
|
-
for (
|
|
138
|
-
|
|
139
|
-
for (let t = 0; t <
|
|
140
|
-
const r =
|
|
141
|
-
|
|
137
|
+
for (ne(null), W.length = 0, X = 0; we.length; )
|
|
138
|
+
we.pop()();
|
|
139
|
+
for (let t = 0; t < Z.length; t += 1) {
|
|
140
|
+
const r = Z[t];
|
|
141
|
+
Pe.has(r) || (Pe.add(r), r());
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
} while (
|
|
143
|
+
Z.length = 0;
|
|
144
|
+
} while (W.length);
|
|
145
145
|
for (; Ze.length; )
|
|
146
146
|
Ze.pop()();
|
|
147
|
-
|
|
147
|
+
Ne = !1, Pe.clear(), ne(e);
|
|
148
148
|
}
|
|
149
149
|
function Kt(e) {
|
|
150
150
|
if (e.fragment !== null) {
|
|
151
|
-
e.update(),
|
|
151
|
+
e.update(), oe(e.before_update);
|
|
152
152
|
const t = e.dirty;
|
|
153
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
153
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
function er(e) {
|
|
157
157
|
const t = [], r = [];
|
|
158
|
-
|
|
158
|
+
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
159
159
|
}
|
|
160
160
|
const tr = /* @__PURE__ */ new Set();
|
|
161
161
|
function rr(e, t) {
|
|
162
162
|
e && e.i && (tr.delete(e), e.i(t));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function he(e) {
|
|
165
165
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
166
166
|
}
|
|
167
167
|
function nr(e, t, r) {
|
|
168
168
|
const { fragment: n, after_update: i } = e.$$;
|
|
169
|
-
n && n.m(t, r),
|
|
170
|
-
const s = e.$$.on_mount.map(
|
|
171
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
172
|
-
}), i.forEach(
|
|
169
|
+
n && n.m(t, r), Le(() => {
|
|
170
|
+
const s = e.$$.on_mount.map(mt).filter(je);
|
|
171
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
|
|
172
|
+
}), i.forEach(Le);
|
|
173
173
|
}
|
|
174
174
|
function ir(e, t) {
|
|
175
175
|
const r = e.$$;
|
|
176
|
-
r.fragment !== null && (er(r.after_update),
|
|
176
|
+
r.fragment !== null && (er(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
177
177
|
}
|
|
178
178
|
function sr(e, t) {
|
|
179
|
-
e.$$.dirty[0] === -1 && (
|
|
179
|
+
e.$$.dirty[0] === -1 && (W.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
180
180
|
}
|
|
181
181
|
function or(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
182
|
-
const l =
|
|
183
|
-
|
|
182
|
+
const l = ke;
|
|
183
|
+
ne(e);
|
|
184
184
|
const u = e.$$ = {
|
|
185
185
|
fragment: null,
|
|
186
186
|
ctx: [],
|
|
@@ -207,15 +207,15 @@ function or(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
207
207
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
|
|
208
208
|
const d = g.length ? g[0] : f;
|
|
209
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,
|
|
210
|
+
}) : [], u.update(), h = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
211
211
|
if (t.hydrate) {
|
|
212
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 && rr(e.$$.fragment), nr(e, t.target, t.anchor),
|
|
216
|
+
t.intro && rr(e.$$.fragment), nr(e, t.target, t.anchor), D();
|
|
217
217
|
}
|
|
218
|
-
|
|
218
|
+
ne(l);
|
|
219
219
|
}
|
|
220
220
|
let vt;
|
|
221
221
|
typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
@@ -282,7 +282,7 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
|
282
282
|
i in r && (t[i] = [e(i)]);
|
|
283
283
|
for (const i of this.attributes) {
|
|
284
284
|
const s = this.$$g_p(i.name);
|
|
285
|
-
s in this.$$d || (this.$$d[s] =
|
|
285
|
+
s in this.$$d || (this.$$d[s] = fe(s, i.value, this.$$p_d, "toProp"));
|
|
286
286
|
}
|
|
287
287
|
for (const i in this.$$p_d)
|
|
288
288
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
|
300
300
|
this.$$r = !0;
|
|
301
301
|
for (const i in this.$$p_d)
|
|
302
302
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
303
|
-
const s =
|
|
303
|
+
const s = fe(
|
|
304
304
|
i,
|
|
305
305
|
this.$$d[i],
|
|
306
306
|
this.$$p_d,
|
|
@@ -322,7 +322,7 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
|
322
322
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
323
323
|
// and setting attributes through setAttribute etc, this is helpful
|
|
324
324
|
attributeChangedCallback(e, t, r) {
|
|
325
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
325
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
326
326
|
}
|
|
327
327
|
disconnectedCallback() {
|
|
328
328
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
|
335
335
|
) || e;
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
|
-
function
|
|
338
|
+
function fe(e, t, r, n) {
|
|
339
339
|
const i = r[e]?.type;
|
|
340
340
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
341
341
|
return t;
|
|
@@ -381,7 +381,7 @@ function ar(e, t, r, n, i, s) {
|
|
|
381
381
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
382
382
|
},
|
|
383
383
|
set(l) {
|
|
384
|
-
l =
|
|
384
|
+
l = fe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
|
385
385
|
}
|
|
386
386
|
});
|
|
387
387
|
}), n.forEach((a) => {
|
|
@@ -421,7 +421,7 @@ class ur {
|
|
|
421
421
|
* @returns {() => void}
|
|
422
422
|
*/
|
|
423
423
|
$on(t, r) {
|
|
424
|
-
if (!
|
|
424
|
+
if (!je(r))
|
|
425
425
|
return M;
|
|
426
426
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
427
427
|
return n.push(r), () => {
|
|
@@ -548,24 +548,24 @@ const Qe = {
|
|
|
548
548
|
loading: "Loading, please wait...",
|
|
549
549
|
games: "games"
|
|
550
550
|
}
|
|
551
|
-
},
|
|
551
|
+
}, z = [];
|
|
552
552
|
function lr(e, t) {
|
|
553
553
|
return {
|
|
554
|
-
subscribe:
|
|
554
|
+
subscribe: ve(e, t).subscribe
|
|
555
555
|
};
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function ve(e, t = M) {
|
|
558
558
|
let r;
|
|
559
559
|
const n = /* @__PURE__ */ new Set();
|
|
560
560
|
function i(a) {
|
|
561
561
|
if (dt(e, a) && (e = a, r)) {
|
|
562
|
-
const l = !
|
|
562
|
+
const l = !z.length;
|
|
563
563
|
for (const u of n)
|
|
564
|
-
u[1](),
|
|
564
|
+
u[1](), z.push(u, e);
|
|
565
565
|
if (l) {
|
|
566
|
-
for (let u = 0; u <
|
|
567
|
-
|
|
568
|
-
|
|
566
|
+
for (let u = 0; u < z.length; u += 2)
|
|
567
|
+
z[u][0](z[u + 1]);
|
|
568
|
+
z.length = 0;
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
}
|
|
@@ -580,7 +580,7 @@ function ge(e, t = M) {
|
|
|
580
580
|
}
|
|
581
581
|
return { set: i, update: s, subscribe: o };
|
|
582
582
|
}
|
|
583
|
-
function
|
|
583
|
+
function K(e, t, r) {
|
|
584
584
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
585
585
|
if (!i.every(Boolean))
|
|
586
586
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -594,20 +594,20 @@ function Y(e, t, r) {
|
|
|
594
594
|
return;
|
|
595
595
|
c();
|
|
596
596
|
const d = t(n ? u[0] : u, o, a);
|
|
597
|
-
s ? o(d) : c =
|
|
597
|
+
s ? o(d) : c = je(d) ? d : M;
|
|
598
598
|
}, g = i.map(
|
|
599
|
-
(d,
|
|
599
|
+
(d, p) => gt(
|
|
600
600
|
d,
|
|
601
601
|
(v) => {
|
|
602
|
-
u[
|
|
602
|
+
u[p] = v, h &= ~(1 << p), l && f();
|
|
603
603
|
},
|
|
604
604
|
() => {
|
|
605
|
-
h |= 1 <<
|
|
605
|
+
h |= 1 << p;
|
|
606
606
|
}
|
|
607
607
|
)
|
|
608
608
|
);
|
|
609
609
|
return l = !0, f(), function() {
|
|
610
|
-
|
|
610
|
+
oe(g), c(), l = !1;
|
|
611
611
|
};
|
|
612
612
|
});
|
|
613
613
|
}
|
|
@@ -615,12 +615,12 @@ function fr(e) {
|
|
|
615
615
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
616
616
|
}
|
|
617
617
|
var cr = function(t) {
|
|
618
|
-
return
|
|
618
|
+
return pr(t) && !mr(t);
|
|
619
619
|
};
|
|
620
|
-
function
|
|
620
|
+
function pr(e) {
|
|
621
621
|
return !!e && typeof e == "object";
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function mr(e) {
|
|
624
624
|
var t = Object.prototype.toString.call(e);
|
|
625
625
|
return t === "[object RegExp]" || t === "[object Date]" || br(e);
|
|
626
626
|
}
|
|
@@ -631,27 +631,27 @@ function br(e) {
|
|
|
631
631
|
function vr(e) {
|
|
632
632
|
return Array.isArray(e) ? [] : {};
|
|
633
633
|
}
|
|
634
|
-
function
|
|
635
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
634
|
+
function ie(e, t) {
|
|
635
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(vr(e), e, t) : e;
|
|
636
636
|
}
|
|
637
637
|
function _r(e, t, r) {
|
|
638
638
|
return e.concat(t).map(function(n) {
|
|
639
|
-
return
|
|
639
|
+
return ie(n, r);
|
|
640
640
|
});
|
|
641
641
|
}
|
|
642
642
|
function Er(e, t) {
|
|
643
643
|
if (!t.customMerge)
|
|
644
|
-
return
|
|
644
|
+
return Q;
|
|
645
645
|
var r = t.customMerge(e);
|
|
646
|
-
return typeof r == "function" ? r :
|
|
646
|
+
return typeof r == "function" ? r : Q;
|
|
647
647
|
}
|
|
648
|
-
function
|
|
648
|
+
function yr(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
653
|
function qe(e) {
|
|
654
|
-
return Object.keys(e).concat(
|
|
654
|
+
return Object.keys(e).concat(yr(e));
|
|
655
655
|
}
|
|
656
656
|
function _t(e, t) {
|
|
657
657
|
try {
|
|
@@ -660,71 +660,57 @@ function _t(e, t) {
|
|
|
660
660
|
return !1;
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function xr(e, t) {
|
|
664
664
|
return _t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
665
665
|
}
|
|
666
666
|
function Pr(e, t, r) {
|
|
667
667
|
var n = {};
|
|
668
668
|
return r.isMergeableObject(e) && qe(e).forEach(function(i) {
|
|
669
|
-
n[i] =
|
|
669
|
+
n[i] = ie(e[i], r);
|
|
670
670
|
}), qe(t).forEach(function(i) {
|
|
671
|
-
|
|
671
|
+
xr(e, i) || (_t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Er(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
672
672
|
}), n;
|
|
673
673
|
}
|
|
674
|
-
function
|
|
675
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || cr, r.cloneUnlessOtherwiseSpecified =
|
|
674
|
+
function Q(e, t, r) {
|
|
675
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || cr, r.cloneUnlessOtherwiseSpecified = ie;
|
|
676
676
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
677
|
-
return s ? n ? r.arrayMerge(e, t, r) : Pr(e, t, r) :
|
|
677
|
+
return s ? n ? r.arrayMerge(e, t, r) : Pr(e, t, r) : ie(t, r);
|
|
678
678
|
}
|
|
679
|
-
|
|
679
|
+
Q.all = function(t, r) {
|
|
680
680
|
if (!Array.isArray(t))
|
|
681
681
|
throw new Error("first argument should be an array");
|
|
682
682
|
return t.reduce(function(n, i) {
|
|
683
|
-
return
|
|
683
|
+
return Q(n, i, r);
|
|
684
684
|
}, {});
|
|
685
685
|
};
|
|
686
|
-
var Hr =
|
|
686
|
+
var Hr = Q, Tr = Hr;
|
|
687
687
|
const Sr = /* @__PURE__ */ fr(Tr);
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
692
|
-
purpose with or without fee is hereby granted.
|
|
693
|
-
|
|
694
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
695
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
696
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
697
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
698
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
699
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
700
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
701
|
-
***************************************************************************** */
|
|
702
|
-
var Ne = function(e, t) {
|
|
703
|
-
return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
688
|
+
var Ie = function(e, t) {
|
|
689
|
+
return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
704
690
|
r.__proto__ = n;
|
|
705
691
|
} || function(r, n) {
|
|
706
692
|
for (var i in n)
|
|
707
693
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
708
|
-
},
|
|
694
|
+
}, Ie(e, t);
|
|
709
695
|
};
|
|
710
|
-
function
|
|
696
|
+
function _e(e, t) {
|
|
711
697
|
if (typeof t != "function" && t !== null)
|
|
712
698
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
713
|
-
|
|
699
|
+
Ie(e, t);
|
|
714
700
|
function r() {
|
|
715
701
|
this.constructor = e;
|
|
716
702
|
}
|
|
717
703
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
718
704
|
}
|
|
719
|
-
var
|
|
720
|
-
return
|
|
705
|
+
var R = function() {
|
|
706
|
+
return R = Object.assign || function(t) {
|
|
721
707
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
722
708
|
r = arguments[n];
|
|
723
709
|
for (var s in r)
|
|
724
710
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
725
711
|
}
|
|
726
712
|
return t;
|
|
727
|
-
},
|
|
713
|
+
}, R.apply(this, arguments);
|
|
728
714
|
};
|
|
729
715
|
function Br(e, t) {
|
|
730
716
|
var r = {};
|
|
@@ -735,14 +721,14 @@ function Br(e, t) {
|
|
|
735
721
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
736
722
|
return r;
|
|
737
723
|
}
|
|
738
|
-
function
|
|
739
|
-
if (arguments.length === 2)
|
|
724
|
+
function He(e, t, r) {
|
|
725
|
+
if (r || arguments.length === 2)
|
|
740
726
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
741
727
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
742
|
-
return e.concat(s || t);
|
|
728
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
743
729
|
}
|
|
744
|
-
function
|
|
745
|
-
var r = t && t.cache ? t.cache :
|
|
730
|
+
function Te(e, t) {
|
|
731
|
+
var r = t && t.cache ? t.cache : Cr, n = t && t.serializer ? t.serializer : Lr, i = t && t.strategy ? t.strategy : wr;
|
|
746
732
|
return i(e, {
|
|
747
733
|
cache: r,
|
|
748
734
|
serializer: n
|
|
@@ -751,95 +737,103 @@ function Pe(e, t) {
|
|
|
751
737
|
function Ar(e) {
|
|
752
738
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
753
739
|
}
|
|
754
|
-
function
|
|
740
|
+
function Or(e, t, r, n) {
|
|
755
741
|
var i = Ar(n) ? n : r(n), s = t.get(i);
|
|
756
742
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
757
743
|
}
|
|
758
|
-
function
|
|
744
|
+
function Et(e, t, r) {
|
|
759
745
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
760
746
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
761
747
|
}
|
|
762
|
-
function
|
|
748
|
+
function yt(e, t, r, n, i) {
|
|
763
749
|
return r.bind(t, e, n, i);
|
|
764
750
|
}
|
|
765
|
-
function Or(e, t) {
|
|
766
|
-
var r = e.length === 1 ? Et : xt;
|
|
767
|
-
return je(e, this, r, t.cache.create(), t.serializer);
|
|
768
|
-
}
|
|
769
751
|
function wr(e, t) {
|
|
770
|
-
|
|
752
|
+
var r = e.length === 1 ? Or : Et;
|
|
753
|
+
return yt(e, this, r, t.cache.create(), t.serializer);
|
|
771
754
|
}
|
|
772
755
|
function Nr(e, t) {
|
|
773
|
-
return
|
|
756
|
+
return yt(e, this, Et, t.cache.create(), t.serializer);
|
|
774
757
|
}
|
|
775
758
|
var Lr = function() {
|
|
776
759
|
return JSON.stringify(arguments);
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
760
|
+
}, Ir = (
|
|
761
|
+
/** @class */
|
|
762
|
+
function() {
|
|
763
|
+
function e() {
|
|
764
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
765
|
+
}
|
|
766
|
+
return e.prototype.get = function(t) {
|
|
767
|
+
return this.cache[t];
|
|
768
|
+
}, e.prototype.set = function(t, r) {
|
|
769
|
+
this.cache[t] = r;
|
|
770
|
+
}, e;
|
|
771
|
+
}()
|
|
772
|
+
), Cr = {
|
|
788
773
|
create: function() {
|
|
789
|
-
return new
|
|
774
|
+
return new Ir();
|
|
790
775
|
}
|
|
791
|
-
},
|
|
792
|
-
variadic:
|
|
793
|
-
|
|
794
|
-
|
|
776
|
+
}, Se = {
|
|
777
|
+
variadic: Nr
|
|
778
|
+
}, de = function() {
|
|
779
|
+
return de = Object.assign || function(t) {
|
|
780
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
781
|
+
r = arguments[n];
|
|
782
|
+
for (var s in r)
|
|
783
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
784
|
+
}
|
|
785
|
+
return t;
|
|
786
|
+
}, de.apply(this, arguments);
|
|
787
|
+
};
|
|
788
|
+
var _;
|
|
795
789
|
(function(e) {
|
|
796
790
|
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";
|
|
797
791
|
})(_ || (_ = {}));
|
|
798
|
-
var
|
|
792
|
+
var x;
|
|
799
793
|
(function(e) {
|
|
800
794
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
801
|
-
})(
|
|
802
|
-
var
|
|
795
|
+
})(x || (x = {}));
|
|
796
|
+
var q;
|
|
803
797
|
(function(e) {
|
|
804
798
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
805
|
-
})(
|
|
799
|
+
})(q || (q = {}));
|
|
806
800
|
function Je(e) {
|
|
807
|
-
return e.type ===
|
|
801
|
+
return e.type === x.literal;
|
|
808
802
|
}
|
|
809
|
-
function
|
|
810
|
-
return e.type ===
|
|
803
|
+
function Mr(e) {
|
|
804
|
+
return e.type === x.argument;
|
|
811
805
|
}
|
|
812
|
-
function
|
|
813
|
-
return e.type ===
|
|
806
|
+
function xt(e) {
|
|
807
|
+
return e.type === x.number;
|
|
814
808
|
}
|
|
815
809
|
function Pt(e) {
|
|
816
|
-
return e.type ===
|
|
810
|
+
return e.type === x.date;
|
|
817
811
|
}
|
|
818
812
|
function Ht(e) {
|
|
819
|
-
return e.type ===
|
|
813
|
+
return e.type === x.time;
|
|
820
814
|
}
|
|
821
815
|
function Tt(e) {
|
|
822
|
-
return e.type ===
|
|
816
|
+
return e.type === x.select;
|
|
823
817
|
}
|
|
824
818
|
function St(e) {
|
|
825
|
-
return e.type ===
|
|
819
|
+
return e.type === x.plural;
|
|
826
820
|
}
|
|
827
|
-
function
|
|
828
|
-
return e.type ===
|
|
821
|
+
function $r(e) {
|
|
822
|
+
return e.type === x.pound;
|
|
829
823
|
}
|
|
830
824
|
function Bt(e) {
|
|
831
|
-
return e.type ===
|
|
825
|
+
return e.type === x.tag;
|
|
832
826
|
}
|
|
833
827
|
function At(e) {
|
|
834
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
828
|
+
return !!(e && typeof e == "object" && e.type === q.number);
|
|
835
829
|
}
|
|
836
|
-
function
|
|
837
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
830
|
+
function Ce(e) {
|
|
831
|
+
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
|
838
832
|
}
|
|
839
|
-
var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
840
|
-
function
|
|
833
|
+
var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rr = /(?:[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;
|
|
834
|
+
function Ur(e) {
|
|
841
835
|
var t = {};
|
|
842
|
-
return e.replace(
|
|
836
|
+
return e.replace(Rr, function(r) {
|
|
843
837
|
var n = r.length;
|
|
844
838
|
switch (r[0]) {
|
|
845
839
|
case "G":
|
|
@@ -928,11 +922,21 @@ function Rr(e) {
|
|
|
928
922
|
return "";
|
|
929
923
|
}), t;
|
|
930
924
|
}
|
|
931
|
-
var
|
|
932
|
-
function
|
|
925
|
+
var T = function() {
|
|
926
|
+
return T = Object.assign || function(t) {
|
|
927
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
928
|
+
r = arguments[n];
|
|
929
|
+
for (var s in r)
|
|
930
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
931
|
+
}
|
|
932
|
+
return t;
|
|
933
|
+
}, T.apply(this, arguments);
|
|
934
|
+
};
|
|
935
|
+
var Gr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
936
|
+
function Dr(e) {
|
|
933
937
|
if (e.length === 0)
|
|
934
938
|
throw new Error("Number skeleton cannot be empty");
|
|
935
|
-
for (var t = e.split(
|
|
939
|
+
for (var t = e.split(Gr).filter(function(f) {
|
|
936
940
|
return f.length > 0;
|
|
937
941
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
938
942
|
var s = i[n], o = s.split("/");
|
|
@@ -947,10 +951,10 @@ function Gr(e) {
|
|
|
947
951
|
}
|
|
948
952
|
return r;
|
|
949
953
|
}
|
|
950
|
-
function
|
|
954
|
+
function Fr(e) {
|
|
951
955
|
return e.replace(/^(.*?)-/, "");
|
|
952
956
|
}
|
|
953
|
-
var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
957
|
+
var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, jr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
|
|
954
958
|
function Ke(e) {
|
|
955
959
|
var t = {};
|
|
956
960
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wt, function(r, n, i) {
|
|
@@ -997,7 +1001,7 @@ function Lt(e) {
|
|
|
997
1001
|
};
|
|
998
1002
|
}
|
|
999
1003
|
}
|
|
1000
|
-
function
|
|
1004
|
+
function kr(e) {
|
|
1001
1005
|
var t;
|
|
1002
1006
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1003
1007
|
notation: "engineering"
|
|
@@ -1015,7 +1019,7 @@ function et(e) {
|
|
|
1015
1019
|
var t = {}, r = Lt(e);
|
|
1016
1020
|
return r || t;
|
|
1017
1021
|
}
|
|
1018
|
-
function
|
|
1022
|
+
function Vr(e) {
|
|
1019
1023
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1020
1024
|
var i = n[r];
|
|
1021
1025
|
switch (i.stem) {
|
|
@@ -1039,7 +1043,7 @@ function kr(e) {
|
|
|
1039
1043
|
continue;
|
|
1040
1044
|
case "measure-unit":
|
|
1041
1045
|
case "unit":
|
|
1042
|
-
t.style = "unit", t.unit =
|
|
1046
|
+
t.style = "unit", t.unit = Fr(i.options[0]);
|
|
1043
1047
|
continue;
|
|
1044
1048
|
case "compact-short":
|
|
1045
1049
|
case "K":
|
|
@@ -1050,13 +1054,13 @@ function kr(e) {
|
|
|
1050
1054
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1051
1055
|
continue;
|
|
1052
1056
|
case "scientific":
|
|
1053
|
-
t =
|
|
1054
|
-
return
|
|
1057
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1058
|
+
return T(T({}, l), et(u));
|
|
1055
1059
|
}, {}));
|
|
1056
1060
|
continue;
|
|
1057
1061
|
case "engineering":
|
|
1058
|
-
t =
|
|
1059
|
-
return
|
|
1062
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1063
|
+
return T(T({}, l), et(u));
|
|
1060
1064
|
}, {}));
|
|
1061
1065
|
continue;
|
|
1062
1066
|
case "notation-simple":
|
|
@@ -1101,7 +1105,7 @@ function kr(e) {
|
|
|
1101
1105
|
case "integer-width":
|
|
1102
1106
|
if (i.options.length > 1)
|
|
1103
1107
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1104
|
-
i.options[0].replace(
|
|
1108
|
+
i.options[0].replace(jr, function(l, u, h, c, f, g) {
|
|
1105
1109
|
if (u)
|
|
1106
1110
|
t.minimumIntegerDigits = h.length;
|
|
1107
1111
|
else {
|
|
@@ -1125,21 +1129,21 @@ function kr(e) {
|
|
|
1125
1129
|
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), "";
|
|
1126
1130
|
});
|
|
1127
1131
|
var s = i.options[0];
|
|
1128
|
-
s === "w" ? t =
|
|
1132
|
+
s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), Ke(s)));
|
|
1129
1133
|
continue;
|
|
1130
1134
|
}
|
|
1131
1135
|
if (wt.test(i.stem)) {
|
|
1132
|
-
t =
|
|
1136
|
+
t = T(T({}, t), Ke(i.stem));
|
|
1133
1137
|
continue;
|
|
1134
1138
|
}
|
|
1135
1139
|
var o = Lt(i.stem);
|
|
1136
|
-
o && (t =
|
|
1137
|
-
var a =
|
|
1138
|
-
a && (t =
|
|
1140
|
+
o && (t = T(T({}, t), o));
|
|
1141
|
+
var a = kr(i.stem);
|
|
1142
|
+
a && (t = T(T({}, t), a));
|
|
1139
1143
|
}
|
|
1140
1144
|
return t;
|
|
1141
1145
|
}
|
|
1142
|
-
var
|
|
1146
|
+
var le = {
|
|
1143
1147
|
"001": [
|
|
1144
1148
|
"H",
|
|
1145
1149
|
"h"
|
|
@@ -2554,13 +2558,13 @@ var he = {
|
|
|
2554
2558
|
"h"
|
|
2555
2559
|
]
|
|
2556
2560
|
};
|
|
2557
|
-
function
|
|
2561
|
+
function Xr(e, t) {
|
|
2558
2562
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2559
2563
|
var i = e.charAt(n);
|
|
2560
2564
|
if (i === "j") {
|
|
2561
2565
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2562
2566
|
s++, n++;
|
|
2563
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2567
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = zr(t);
|
|
2564
2568
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2565
2569
|
r += l;
|
|
2566
2570
|
for (; o-- > 0; )
|
|
@@ -2570,7 +2574,7 @@ function Vr(e, t) {
|
|
|
2570
2574
|
}
|
|
2571
2575
|
return r;
|
|
2572
2576
|
}
|
|
2573
|
-
function
|
|
2577
|
+
function zr(e) {
|
|
2574
2578
|
var t = e.hourCycle;
|
|
2575
2579
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2576
2580
|
e.hourCycles && // @ts-ignore
|
|
@@ -2589,23 +2593,23 @@ function Xr(e) {
|
|
|
2589
2593
|
}
|
|
2590
2594
|
var r = e.language, n;
|
|
2591
2595
|
r !== "root" && (n = e.maximize().region);
|
|
2592
|
-
var i =
|
|
2596
|
+
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2593
2597
|
return i[0];
|
|
2594
2598
|
}
|
|
2595
|
-
var
|
|
2599
|
+
var Be, Wr = new RegExp("^".concat(Ot.source, "*")), Zr = new RegExp("".concat(Ot.source, "*$"));
|
|
2596
2600
|
function E(e, t) {
|
|
2597
2601
|
return { start: e, end: t };
|
|
2598
2602
|
}
|
|
2599
|
-
var
|
|
2603
|
+
var Qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), qr = !!String.fromCodePoint, Jr = !!Object.fromEntries, Yr = !!String.prototype.codePointAt, Kr = !!String.prototype.trimStart, en = !!String.prototype.trimEnd, tn = !!Number.isSafeInteger, rn = tn ? Number.isSafeInteger : function(e) {
|
|
2600
2604
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2601
|
-
},
|
|
2605
|
+
}, Me = !0;
|
|
2602
2606
|
try {
|
|
2603
|
-
var
|
|
2604
|
-
|
|
2607
|
+
var nn = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2608
|
+
Me = ((Be = nn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
|
|
2605
2609
|
} catch {
|
|
2606
|
-
|
|
2610
|
+
Me = !1;
|
|
2607
2611
|
}
|
|
2608
|
-
var tt =
|
|
2612
|
+
var tt = Qr ? (
|
|
2609
2613
|
// Native
|
|
2610
2614
|
function(t, r, n) {
|
|
2611
2615
|
return t.startsWith(r, n);
|
|
@@ -2615,7 +2619,7 @@ var tt = Zr ? (
|
|
|
2615
2619
|
function(t, r, n) {
|
|
2616
2620
|
return t.slice(n, n + r.length) === r;
|
|
2617
2621
|
}
|
|
2618
|
-
),
|
|
2622
|
+
), $e = qr ? String.fromCodePoint : (
|
|
2619
2623
|
// IE11
|
|
2620
2624
|
function() {
|
|
2621
2625
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2629,7 +2633,7 @@ var tt = Zr ? (
|
|
|
2629
2633
|
}
|
|
2630
2634
|
), rt = (
|
|
2631
2635
|
// native
|
|
2632
|
-
|
|
2636
|
+
Jr ? Object.fromEntries : (
|
|
2633
2637
|
// Ponyfill
|
|
2634
2638
|
function(t) {
|
|
2635
2639
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2639,7 +2643,7 @@ var tt = Zr ? (
|
|
|
2639
2643
|
return r;
|
|
2640
2644
|
}
|
|
2641
2645
|
)
|
|
2642
|
-
), It =
|
|
2646
|
+
), It = Yr ? (
|
|
2643
2647
|
// Native
|
|
2644
2648
|
function(t, r) {
|
|
2645
2649
|
return t.codePointAt(r);
|
|
@@ -2653,7 +2657,7 @@ var tt = Zr ? (
|
|
|
2653
2657
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2654
2658
|
}
|
|
2655
2659
|
}
|
|
2656
|
-
),
|
|
2660
|
+
), sn = Kr ? (
|
|
2657
2661
|
// Native
|
|
2658
2662
|
function(t) {
|
|
2659
2663
|
return t.trimStart();
|
|
@@ -2661,9 +2665,9 @@ var tt = Zr ? (
|
|
|
2661
2665
|
) : (
|
|
2662
2666
|
// Ponyfill
|
|
2663
2667
|
function(t) {
|
|
2664
|
-
return t.replace(
|
|
2668
|
+
return t.replace(Wr, "");
|
|
2665
2669
|
}
|
|
2666
|
-
),
|
|
2670
|
+
), on = en ? (
|
|
2667
2671
|
// Native
|
|
2668
2672
|
function(t) {
|
|
2669
2673
|
return t.trimEnd();
|
|
@@ -2671,32 +2675,32 @@ var tt = Zr ? (
|
|
|
2671
2675
|
) : (
|
|
2672
2676
|
// Ponyfill
|
|
2673
2677
|
function(t) {
|
|
2674
|
-
return t.replace(
|
|
2678
|
+
return t.replace(Zr, "");
|
|
2675
2679
|
}
|
|
2676
2680
|
);
|
|
2677
2681
|
function Ct(e, t) {
|
|
2678
2682
|
return new RegExp(e, t);
|
|
2679
2683
|
}
|
|
2680
|
-
var
|
|
2681
|
-
if (
|
|
2684
|
+
var Re;
|
|
2685
|
+
if (Me) {
|
|
2682
2686
|
var nt = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2683
|
-
|
|
2687
|
+
Re = function(t, r) {
|
|
2684
2688
|
var n;
|
|
2685
2689
|
nt.lastIndex = r;
|
|
2686
2690
|
var i = nt.exec(t);
|
|
2687
2691
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2688
2692
|
};
|
|
2689
2693
|
} else
|
|
2690
|
-
|
|
2694
|
+
Re = function(t, r) {
|
|
2691
2695
|
for (var n = []; ; ) {
|
|
2692
2696
|
var i = It(t, r);
|
|
2693
|
-
if (i === void 0 || Mt(i) ||
|
|
2697
|
+
if (i === void 0 || Mt(i) || ln(i))
|
|
2694
2698
|
break;
|
|
2695
2699
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2696
2700
|
}
|
|
2697
|
-
return
|
|
2701
|
+
return $e.apply(void 0, n);
|
|
2698
2702
|
};
|
|
2699
|
-
var
|
|
2703
|
+
var an = (
|
|
2700
2704
|
/** @class */
|
|
2701
2705
|
function() {
|
|
2702
2706
|
function e(t, r) {
|
|
@@ -2720,14 +2724,14 @@ var on = (
|
|
|
2720
2724
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2721
2725
|
var a = this.clonePosition();
|
|
2722
2726
|
this.bump(), i.push({
|
|
2723
|
-
type:
|
|
2727
|
+
type: x.pound,
|
|
2724
2728
|
location: E(a, this.clonePosition())
|
|
2725
2729
|
});
|
|
2726
2730
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2727
2731
|
if (n)
|
|
2728
2732
|
break;
|
|
2729
2733
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
2730
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2734
|
+
} else if (s === 60 && !this.ignoreTag && Ue(this.peek() || 0)) {
|
|
2731
2735
|
var o = this.parseTag(t, r);
|
|
2732
2736
|
if (o.err)
|
|
2733
2737
|
return o;
|
|
@@ -2748,7 +2752,7 @@ var on = (
|
|
|
2748
2752
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2749
2753
|
return {
|
|
2750
2754
|
val: {
|
|
2751
|
-
type:
|
|
2755
|
+
type: x.literal,
|
|
2752
2756
|
value: "<".concat(i, "/>"),
|
|
2753
2757
|
location: E(n, this.clonePosition())
|
|
2754
2758
|
},
|
|
@@ -2760,12 +2764,12 @@ var on = (
|
|
|
2760
2764
|
return s;
|
|
2761
2765
|
var o = s.val, a = this.clonePosition();
|
|
2762
2766
|
if (this.bumpIf("</")) {
|
|
2763
|
-
if (this.isEOF() ||
|
|
2767
|
+
if (this.isEOF() || !Ue(this.char()))
|
|
2764
2768
|
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
2765
2769
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2766
2770
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2767
2771
|
val: {
|
|
2768
|
-
type:
|
|
2772
|
+
type: x.tag,
|
|
2769
2773
|
value: i,
|
|
2770
2774
|
children: o,
|
|
2771
2775
|
location: E(n, this.clonePosition())
|
|
@@ -2778,7 +2782,7 @@ var on = (
|
|
|
2778
2782
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
2779
2783
|
}, e.prototype.parseTagName = function() {
|
|
2780
2784
|
var t = this.offset();
|
|
2781
|
-
for (this.bump(); !this.isEOF() &&
|
|
2785
|
+
for (this.bump(); !this.isEOF() && hn(this.char()); )
|
|
2782
2786
|
this.bump();
|
|
2783
2787
|
return this.message.slice(t, this.offset());
|
|
2784
2788
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2802,12 +2806,12 @@ var on = (
|
|
|
2802
2806
|
}
|
|
2803
2807
|
var l = E(n, this.clonePosition());
|
|
2804
2808
|
return {
|
|
2805
|
-
val: { type:
|
|
2809
|
+
val: { type: x.literal, value: i, location: l },
|
|
2806
2810
|
err: null
|
|
2807
2811
|
};
|
|
2808
2812
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2809
2813
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2810
|
-
!
|
|
2814
|
+
!un(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2811
2815
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2812
2816
|
if (this.isEOF() || this.char() !== 39)
|
|
2813
2817
|
return null;
|
|
@@ -2841,12 +2845,12 @@ var on = (
|
|
|
2841
2845
|
r.push(n);
|
|
2842
2846
|
this.bump();
|
|
2843
2847
|
}
|
|
2844
|
-
return
|
|
2848
|
+
return $e.apply(void 0, r);
|
|
2845
2849
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2846
2850
|
if (this.isEOF())
|
|
2847
2851
|
return null;
|
|
2848
2852
|
var n = this.char();
|
|
2849
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2853
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), $e(n));
|
|
2850
2854
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2851
2855
|
var n = this.clonePosition();
|
|
2852
2856
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2862,7 +2866,7 @@ var on = (
|
|
|
2862
2866
|
case 125:
|
|
2863
2867
|
return this.bump(), {
|
|
2864
2868
|
val: {
|
|
2865
|
-
type:
|
|
2869
|
+
type: x.argument,
|
|
2866
2870
|
// value does not include the opening and closing braces.
|
|
2867
2871
|
value: i,
|
|
2868
2872
|
location: E(n, this.clonePosition())
|
|
@@ -2875,7 +2879,7 @@ var on = (
|
|
|
2875
2879
|
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
2876
2880
|
}
|
|
2877
2881
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2878
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2882
|
+
var t = this.clonePosition(), r = this.offset(), n = Re(this.message, r), i = r + n.length;
|
|
2879
2883
|
this.bumpTo(i);
|
|
2880
2884
|
var s = this.clonePosition(), o = E(t, s);
|
|
2881
2885
|
return { value: n, location: o };
|
|
@@ -2894,7 +2898,7 @@ var on = (
|
|
|
2894
2898
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2895
2899
|
if (c.err)
|
|
2896
2900
|
return c;
|
|
2897
|
-
var f =
|
|
2901
|
+
var f = on(c.val);
|
|
2898
2902
|
if (f.length === 0)
|
|
2899
2903
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
2900
2904
|
var g = E(h, this.clonePosition());
|
|
@@ -2903,37 +2907,37 @@ var on = (
|
|
|
2903
2907
|
var d = this.tryParseArgumentClose(i);
|
|
2904
2908
|
if (d.err)
|
|
2905
2909
|
return d;
|
|
2906
|
-
var
|
|
2910
|
+
var p = E(i, this.clonePosition());
|
|
2907
2911
|
if (u && tt(u?.style, "::", 0)) {
|
|
2908
|
-
var v =
|
|
2912
|
+
var v = sn(u.style.slice(2));
|
|
2909
2913
|
if (a === "number") {
|
|
2910
2914
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
2911
2915
|
return c.err ? c : {
|
|
2912
|
-
val: { type:
|
|
2916
|
+
val: { type: x.number, value: n, location: p, style: c.val },
|
|
2913
2917
|
err: null
|
|
2914
2918
|
};
|
|
2915
2919
|
} else {
|
|
2916
2920
|
if (v.length === 0)
|
|
2917
|
-
return this.error(_.EXPECT_DATE_TIME_SKELETON,
|
|
2918
|
-
var
|
|
2919
|
-
this.locale && (
|
|
2921
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, p);
|
|
2922
|
+
var m = v;
|
|
2923
|
+
this.locale && (m = Xr(v, this.locale));
|
|
2920
2924
|
var f = {
|
|
2921
|
-
type:
|
|
2922
|
-
pattern:
|
|
2925
|
+
type: q.dateTime,
|
|
2926
|
+
pattern: m,
|
|
2923
2927
|
location: u.styleLocation,
|
|
2924
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2925
|
-
},
|
|
2928
|
+
parsedOptions: this.shouldParseSkeletons ? Ur(m) : {}
|
|
2929
|
+
}, P = a === "date" ? x.date : x.time;
|
|
2926
2930
|
return {
|
|
2927
|
-
val: { type:
|
|
2931
|
+
val: { type: P, value: n, location: p, style: f },
|
|
2928
2932
|
err: null
|
|
2929
2933
|
};
|
|
2930
2934
|
}
|
|
2931
2935
|
}
|
|
2932
2936
|
return {
|
|
2933
2937
|
val: {
|
|
2934
|
-
type: a === "number" ?
|
|
2938
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
2935
2939
|
value: n,
|
|
2936
|
-
location:
|
|
2940
|
+
location: p,
|
|
2937
2941
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2938
2942
|
},
|
|
2939
2943
|
err: null
|
|
@@ -2944,9 +2948,9 @@ var on = (
|
|
|
2944
2948
|
case "select": {
|
|
2945
2949
|
var B = this.clonePosition();
|
|
2946
2950
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2947
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(B,
|
|
2951
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(B, de({}, B)));
|
|
2948
2952
|
this.bumpSpace();
|
|
2949
|
-
var O = this.parseIdentifierIfPossible(),
|
|
2953
|
+
var O = this.parseIdentifierIfPossible(), H = 0;
|
|
2950
2954
|
if (a !== "select" && O.value === "offset") {
|
|
2951
2955
|
if (!this.bumpIf(":"))
|
|
2952
2956
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
@@ -2954,7 +2958,7 @@ var on = (
|
|
|
2954
2958
|
var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2955
2959
|
if (c.err)
|
|
2956
2960
|
return c;
|
|
2957
|
-
this.bumpSpace(), O = this.parseIdentifierIfPossible(),
|
|
2961
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = c.val;
|
|
2958
2962
|
}
|
|
2959
2963
|
var N = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
2960
2964
|
if (N.err)
|
|
@@ -2965,7 +2969,7 @@ var on = (
|
|
|
2965
2969
|
var b = E(i, this.clonePosition());
|
|
2966
2970
|
return a === "select" ? {
|
|
2967
2971
|
val: {
|
|
2968
|
-
type:
|
|
2972
|
+
type: x.select,
|
|
2969
2973
|
value: n,
|
|
2970
2974
|
options: rt(N.val),
|
|
2971
2975
|
location: b
|
|
@@ -2973,10 +2977,10 @@ var on = (
|
|
|
2973
2977
|
err: null
|
|
2974
2978
|
} : {
|
|
2975
2979
|
val: {
|
|
2976
|
-
type:
|
|
2980
|
+
type: x.plural,
|
|
2977
2981
|
value: n,
|
|
2978
2982
|
options: rt(N.val),
|
|
2979
|
-
offset:
|
|
2983
|
+
offset: H,
|
|
2980
2984
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2981
2985
|
location: b
|
|
2982
2986
|
},
|
|
@@ -3026,16 +3030,16 @@ var on = (
|
|
|
3026
3030
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3027
3031
|
var n = [];
|
|
3028
3032
|
try {
|
|
3029
|
-
n =
|
|
3033
|
+
n = Dr(t);
|
|
3030
3034
|
} catch {
|
|
3031
3035
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3032
3036
|
}
|
|
3033
3037
|
return {
|
|
3034
3038
|
val: {
|
|
3035
|
-
type:
|
|
3039
|
+
type: q.number,
|
|
3036
3040
|
tokens: n,
|
|
3037
3041
|
location: r,
|
|
3038
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3042
|
+
parsedOptions: this.shouldParseSkeletons ? Vr(n) : {}
|
|
3039
3043
|
},
|
|
3040
3044
|
err: null
|
|
3041
3045
|
};
|
|
@@ -3060,9 +3064,9 @@ var on = (
|
|
|
3060
3064
|
var d = this.parseMessage(t + 1, r, n);
|
|
3061
3065
|
if (d.err)
|
|
3062
3066
|
return d;
|
|
3063
|
-
var
|
|
3064
|
-
if (
|
|
3065
|
-
return
|
|
3067
|
+
var p = this.tryParseArgumentClose(g);
|
|
3068
|
+
if (p.err)
|
|
3069
|
+
return p;
|
|
3066
3070
|
a.push([
|
|
3067
3071
|
u,
|
|
3068
3072
|
{
|
|
@@ -3083,7 +3087,7 @@ var on = (
|
|
|
3083
3087
|
break;
|
|
3084
3088
|
}
|
|
3085
3089
|
var l = E(i, this.clonePosition());
|
|
3086
|
-
return s ? (o *= n,
|
|
3090
|
+
return s ? (o *= n, rn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3087
3091
|
}, e.prototype.offset = function() {
|
|
3088
3092
|
return this.position.offset;
|
|
3089
3093
|
}, e.prototype.isEOF = function() {
|
|
@@ -3149,47 +3153,47 @@ var on = (
|
|
|
3149
3153
|
}, e;
|
|
3150
3154
|
}()
|
|
3151
3155
|
);
|
|
3152
|
-
function
|
|
3156
|
+
function Ue(e) {
|
|
3153
3157
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3154
3158
|
}
|
|
3155
|
-
function an(e) {
|
|
3156
|
-
return $e(e) || e === 47;
|
|
3157
|
-
}
|
|
3158
3159
|
function un(e) {
|
|
3160
|
+
return Ue(e) || e === 47;
|
|
3161
|
+
}
|
|
3162
|
+
function hn(e) {
|
|
3159
3163
|
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;
|
|
3160
3164
|
}
|
|
3161
3165
|
function Mt(e) {
|
|
3162
3166
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3163
3167
|
}
|
|
3164
|
-
function
|
|
3168
|
+
function ln(e) {
|
|
3165
3169
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3166
3170
|
}
|
|
3167
|
-
function
|
|
3171
|
+
function Ge(e) {
|
|
3168
3172
|
e.forEach(function(t) {
|
|
3169
3173
|
if (delete t.location, Tt(t) || St(t))
|
|
3170
3174
|
for (var r in t.options)
|
|
3171
|
-
delete t.options[r].location,
|
|
3175
|
+
delete t.options[r].location, Ge(t.options[r].value);
|
|
3172
3176
|
else
|
|
3173
|
-
|
|
3177
|
+
xt(t) && At(t.style) || (Pt(t) || Ht(t)) && Ce(t.style) ? delete t.style.location : Bt(t) && Ge(t.children);
|
|
3174
3178
|
});
|
|
3175
3179
|
}
|
|
3176
|
-
function
|
|
3177
|
-
t === void 0 && (t = {}), t =
|
|
3178
|
-
var r = new
|
|
3180
|
+
function fn(e, t) {
|
|
3181
|
+
t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3182
|
+
var r = new an(e, t).parse();
|
|
3179
3183
|
if (r.err) {
|
|
3180
3184
|
var n = SyntaxError(_[r.err.kind]);
|
|
3181
3185
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3182
3186
|
}
|
|
3183
|
-
return t?.captureLocation ||
|
|
3187
|
+
return t?.captureLocation || Ge(r.val), r.val;
|
|
3184
3188
|
}
|
|
3185
|
-
var
|
|
3189
|
+
var J;
|
|
3186
3190
|
(function(e) {
|
|
3187
3191
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3188
|
-
})(
|
|
3189
|
-
var
|
|
3192
|
+
})(J || (J = {}));
|
|
3193
|
+
var Ee = (
|
|
3190
3194
|
/** @class */
|
|
3191
3195
|
function(e) {
|
|
3192
|
-
|
|
3196
|
+
_e(t, e);
|
|
3193
3197
|
function t(r, n, i) {
|
|
3194
3198
|
var s = e.call(this, r) || this;
|
|
3195
3199
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3201,30 +3205,30 @@ var ve = (
|
|
|
3201
3205
|
), it = (
|
|
3202
3206
|
/** @class */
|
|
3203
3207
|
function(e) {
|
|
3204
|
-
|
|
3208
|
+
_e(t, e);
|
|
3205
3209
|
function t(r, n, i, s) {
|
|
3206
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3210
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
|
|
3207
3211
|
}
|
|
3208
3212
|
return t;
|
|
3209
|
-
}(
|
|
3210
|
-
),
|
|
3213
|
+
}(Ee)
|
|
3214
|
+
), cn = (
|
|
3211
3215
|
/** @class */
|
|
3212
3216
|
function(e) {
|
|
3213
|
-
|
|
3217
|
+
_e(t, e);
|
|
3214
3218
|
function t(r, n, i) {
|
|
3215
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3219
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3216
3220
|
}
|
|
3217
3221
|
return t;
|
|
3218
|
-
}(
|
|
3219
|
-
),
|
|
3222
|
+
}(Ee)
|
|
3223
|
+
), pn = (
|
|
3220
3224
|
/** @class */
|
|
3221
3225
|
function(e) {
|
|
3222
|
-
|
|
3226
|
+
_e(t, e);
|
|
3223
3227
|
function t(r, n) {
|
|
3224
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3228
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3225
3229
|
}
|
|
3226
3230
|
return t;
|
|
3227
|
-
}(
|
|
3231
|
+
}(Ee)
|
|
3228
3232
|
), w;
|
|
3229
3233
|
(function(e) {
|
|
3230
3234
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3235,10 +3239,10 @@ function mn(e) {
|
|
|
3235
3239
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3236
3240
|
}, []);
|
|
3237
3241
|
}
|
|
3238
|
-
function
|
|
3242
|
+
function dn(e) {
|
|
3239
3243
|
return typeof e == "function";
|
|
3240
3244
|
}
|
|
3241
|
-
function
|
|
3245
|
+
function ce(e, t, r, n, i, s, o) {
|
|
3242
3246
|
if (e.length === 1 && Je(e[0]))
|
|
3243
3247
|
return [
|
|
3244
3248
|
{
|
|
@@ -3255,7 +3259,7 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3255
3259
|
});
|
|
3256
3260
|
continue;
|
|
3257
3261
|
}
|
|
3258
|
-
if (
|
|
3262
|
+
if ($r(h)) {
|
|
3259
3263
|
typeof s == "number" && a.push({
|
|
3260
3264
|
type: w.literal,
|
|
3261
3265
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3264,9 +3268,9 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3264
3268
|
}
|
|
3265
3269
|
var c = h.value;
|
|
3266
3270
|
if (!(i && c in i))
|
|
3267
|
-
throw new
|
|
3271
|
+
throw new pn(c, o);
|
|
3268
3272
|
var f = i[c];
|
|
3269
|
-
if (
|
|
3273
|
+
if (Mr(h)) {
|
|
3270
3274
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3271
3275
|
type: typeof f == "string" ? w.literal : w.object,
|
|
3272
3276
|
value: f
|
|
@@ -3274,7 +3278,7 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3274
3278
|
continue;
|
|
3275
3279
|
}
|
|
3276
3280
|
if (Pt(h)) {
|
|
3277
|
-
var g = typeof h.style == "string" ? n.date[h.style] :
|
|
3281
|
+
var g = typeof h.style == "string" ? n.date[h.style] : Ce(h.style) ? h.style.parsedOptions : void 0;
|
|
3278
3282
|
a.push({
|
|
3279
3283
|
type: w.literal,
|
|
3280
3284
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
@@ -3282,14 +3286,14 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3282
3286
|
continue;
|
|
3283
3287
|
}
|
|
3284
3288
|
if (Ht(h)) {
|
|
3285
|
-
var g = typeof h.style == "string" ? n.time[h.style] :
|
|
3289
|
+
var g = typeof h.style == "string" ? n.time[h.style] : Ce(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3286
3290
|
a.push({
|
|
3287
3291
|
type: w.literal,
|
|
3288
3292
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3289
3293
|
});
|
|
3290
3294
|
continue;
|
|
3291
3295
|
}
|
|
3292
|
-
if (
|
|
3296
|
+
if (xt(h)) {
|
|
3293
3297
|
var g = typeof h.style == "string" ? n.number[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
|
|
3294
3298
|
g && g.scale && (f = f * (g.scale || 1)), a.push({
|
|
3295
3299
|
type: w.literal,
|
|
@@ -3298,16 +3302,16 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3298
3302
|
continue;
|
|
3299
3303
|
}
|
|
3300
3304
|
if (Bt(h)) {
|
|
3301
|
-
var d = h.children,
|
|
3302
|
-
if (!
|
|
3303
|
-
throw new
|
|
3304
|
-
var
|
|
3305
|
-
return
|
|
3305
|
+
var d = h.children, p = h.value, v = i[p];
|
|
3306
|
+
if (!dn(v))
|
|
3307
|
+
throw new cn(p, "function", o);
|
|
3308
|
+
var m = ce(d, t, r, n, i, s), P = v(m.map(function(H) {
|
|
3309
|
+
return H.value;
|
|
3306
3310
|
}));
|
|
3307
|
-
Array.isArray(
|
|
3311
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(H) {
|
|
3308
3312
|
return {
|
|
3309
|
-
type: typeof
|
|
3310
|
-
value:
|
|
3313
|
+
type: typeof H == "string" ? w.literal : w.object,
|
|
3314
|
+
value: H
|
|
3311
3315
|
};
|
|
3312
3316
|
}));
|
|
3313
3317
|
}
|
|
@@ -3315,38 +3319,38 @@ function fe(e, t, r, n, i, s, o) {
|
|
|
3315
3319
|
var B = h.options[f] || h.options.other;
|
|
3316
3320
|
if (!B)
|
|
3317
3321
|
throw new it(h.value, f, Object.keys(h.options), o);
|
|
3318
|
-
a.push.apply(a,
|
|
3322
|
+
a.push.apply(a, ce(B.value, t, r, n, i));
|
|
3319
3323
|
continue;
|
|
3320
3324
|
}
|
|
3321
3325
|
if (St(h)) {
|
|
3322
3326
|
var B = h.options["=".concat(f)];
|
|
3323
3327
|
if (!B) {
|
|
3324
3328
|
if (!Intl.PluralRules)
|
|
3325
|
-
throw new
|
|
3329
|
+
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3326
3330
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3327
|
-
`,
|
|
3331
|
+
`, J.MISSING_INTL_API, o);
|
|
3328
3332
|
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3329
3333
|
B = h.options[O] || h.options.other;
|
|
3330
3334
|
}
|
|
3331
3335
|
if (!B)
|
|
3332
3336
|
throw new it(h.value, f, Object.keys(h.options), o);
|
|
3333
|
-
a.push.apply(a,
|
|
3337
|
+
a.push.apply(a, ce(B.value, t, r, n, i, f - (h.offset || 0)));
|
|
3334
3338
|
continue;
|
|
3335
3339
|
}
|
|
3336
3340
|
}
|
|
3337
3341
|
return mn(a);
|
|
3338
3342
|
}
|
|
3339
|
-
function
|
|
3340
|
-
return t ?
|
|
3341
|
-
return r[n] =
|
|
3343
|
+
function gn(e, t) {
|
|
3344
|
+
return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3345
|
+
return r[n] = R(R({}, e[n]), t[n] || {}), r;
|
|
3342
3346
|
}, {})) : e;
|
|
3343
3347
|
}
|
|
3344
|
-
function
|
|
3348
|
+
function bn(e, t) {
|
|
3345
3349
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3346
|
-
return r[n] =
|
|
3347
|
-
},
|
|
3350
|
+
return r[n] = gn(e[n], t[n]), r;
|
|
3351
|
+
}, R({}, e)) : e;
|
|
3348
3352
|
}
|
|
3349
|
-
function
|
|
3353
|
+
function Ae(e) {
|
|
3350
3354
|
return {
|
|
3351
3355
|
create: function() {
|
|
3352
3356
|
return {
|
|
@@ -3360,39 +3364,39 @@ function Se(e) {
|
|
|
3360
3364
|
}
|
|
3361
3365
|
};
|
|
3362
3366
|
}
|
|
3363
|
-
function
|
|
3367
|
+
function vn(e) {
|
|
3364
3368
|
return e === void 0 && (e = {
|
|
3365
3369
|
number: {},
|
|
3366
3370
|
dateTime: {},
|
|
3367
3371
|
pluralRules: {}
|
|
3368
3372
|
}), {
|
|
3369
|
-
getNumberFormat:
|
|
3373
|
+
getNumberFormat: Te(function() {
|
|
3370
3374
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3371
3375
|
r[n] = arguments[n];
|
|
3372
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3376
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3373
3377
|
}, {
|
|
3374
|
-
cache:
|
|
3375
|
-
strategy:
|
|
3378
|
+
cache: Ae(e.number),
|
|
3379
|
+
strategy: Se.variadic
|
|
3376
3380
|
}),
|
|
3377
|
-
getDateTimeFormat:
|
|
3381
|
+
getDateTimeFormat: Te(function() {
|
|
3378
3382
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3379
3383
|
r[n] = arguments[n];
|
|
3380
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3384
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3381
3385
|
}, {
|
|
3382
|
-
cache:
|
|
3383
|
-
strategy:
|
|
3386
|
+
cache: Ae(e.dateTime),
|
|
3387
|
+
strategy: Se.variadic
|
|
3384
3388
|
}),
|
|
3385
|
-
getPluralRules:
|
|
3389
|
+
getPluralRules: Te(function() {
|
|
3386
3390
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3387
3391
|
r[n] = arguments[n];
|
|
3388
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3392
|
+
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3389
3393
|
}, {
|
|
3390
|
-
cache:
|
|
3391
|
-
strategy:
|
|
3394
|
+
cache: Ae(e.pluralRules),
|
|
3395
|
+
strategy: Se.variadic
|
|
3392
3396
|
})
|
|
3393
3397
|
};
|
|
3394
3398
|
}
|
|
3395
|
-
var
|
|
3399
|
+
var _n = (
|
|
3396
3400
|
/** @class */
|
|
3397
3401
|
function() {
|
|
3398
3402
|
function e(t, r, n, i) {
|
|
@@ -3411,7 +3415,7 @@ var vn = (
|
|
|
3411
3415
|
}, []);
|
|
3412
3416
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3413
3417
|
}, this.formatToParts = function(l) {
|
|
3414
|
-
return
|
|
3418
|
+
return ce(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3415
3419
|
}, this.resolvedOptions = function() {
|
|
3416
3420
|
var l;
|
|
3417
3421
|
return {
|
|
@@ -3425,12 +3429,12 @@ var vn = (
|
|
|
3425
3429
|
var o = i || {};
|
|
3426
3430
|
o.formatters;
|
|
3427
3431
|
var a = Br(o, ["formatters"]);
|
|
3428
|
-
this.ast = e.__parse(t,
|
|
3432
|
+
this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
|
|
3429
3433
|
} else
|
|
3430
3434
|
this.ast = t;
|
|
3431
3435
|
if (!Array.isArray(this.ast))
|
|
3432
3436
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3433
|
-
this.formats =
|
|
3437
|
+
this.formats = bn(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
|
|
3434
3438
|
}
|
|
3435
3439
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3436
3440
|
get: function() {
|
|
@@ -3443,7 +3447,7 @@ var vn = (
|
|
|
3443
3447
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3444
3448
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3445
3449
|
}
|
|
3446
|
-
}, e.__parse =
|
|
3450
|
+
}, e.__parse = fn, e.formats = {
|
|
3447
3451
|
number: {
|
|
3448
3452
|
integer: {
|
|
3449
3453
|
maximumFractionDigits: 0
|
|
@@ -3504,7 +3508,7 @@ var vn = (
|
|
|
3504
3508
|
}, e;
|
|
3505
3509
|
}()
|
|
3506
3510
|
);
|
|
3507
|
-
function
|
|
3511
|
+
function En(e, t) {
|
|
3508
3512
|
if (t == null)
|
|
3509
3513
|
return;
|
|
3510
3514
|
if (t in e)
|
|
@@ -3525,36 +3529,36 @@ function _n(e, t) {
|
|
|
3525
3529
|
n = void 0;
|
|
3526
3530
|
return n;
|
|
3527
3531
|
}
|
|
3528
|
-
const
|
|
3532
|
+
const j = {}, yn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), $t = (e, t) => {
|
|
3529
3533
|
if (t == null)
|
|
3530
3534
|
return;
|
|
3531
|
-
if (t in
|
|
3532
|
-
return
|
|
3533
|
-
const r =
|
|
3535
|
+
if (t in j && e in j[t])
|
|
3536
|
+
return j[t][e];
|
|
3537
|
+
const r = ye(t);
|
|
3534
3538
|
for (let n = 0; n < r.length; n++) {
|
|
3535
|
-
const i = r[n], s =
|
|
3539
|
+
const i = r[n], s = Pn(i, e);
|
|
3536
3540
|
if (s)
|
|
3537
|
-
return
|
|
3541
|
+
return yn(e, t, s);
|
|
3538
3542
|
}
|
|
3539
3543
|
};
|
|
3540
3544
|
let Ve;
|
|
3541
|
-
const
|
|
3545
|
+
const ae = ve({});
|
|
3542
3546
|
function xn(e) {
|
|
3543
3547
|
return Ve[e] || null;
|
|
3544
3548
|
}
|
|
3545
3549
|
function Rt(e) {
|
|
3546
3550
|
return e in Ve;
|
|
3547
3551
|
}
|
|
3548
|
-
function
|
|
3552
|
+
function Pn(e, t) {
|
|
3549
3553
|
if (!Rt(e))
|
|
3550
3554
|
return null;
|
|
3551
3555
|
const r = xn(e);
|
|
3552
|
-
return
|
|
3556
|
+
return En(r, t);
|
|
3553
3557
|
}
|
|
3554
|
-
function
|
|
3558
|
+
function Hn(e) {
|
|
3555
3559
|
if (e == null)
|
|
3556
3560
|
return;
|
|
3557
|
-
const t =
|
|
3561
|
+
const t = ye(e);
|
|
3558
3562
|
for (let r = 0; r < t.length; r++) {
|
|
3559
3563
|
const n = t[r];
|
|
3560
3564
|
if (Rt(n))
|
|
@@ -3562,55 +3566,55 @@ function Pn(e) {
|
|
|
3562
3566
|
}
|
|
3563
3567
|
}
|
|
3564
3568
|
function Ut(e, ...t) {
|
|
3565
|
-
delete
|
|
3569
|
+
delete j[e], ae.update((r) => (r[e] = Sr.all([r[e] || {}, ...t]), r));
|
|
3566
3570
|
}
|
|
3567
|
-
|
|
3568
|
-
[
|
|
3571
|
+
K(
|
|
3572
|
+
[ae],
|
|
3569
3573
|
([e]) => Object.keys(e)
|
|
3570
3574
|
);
|
|
3571
|
-
|
|
3572
|
-
const
|
|
3573
|
-
function
|
|
3574
|
-
|
|
3575
|
+
ae.subscribe((e) => Ve = e);
|
|
3576
|
+
const pe = {};
|
|
3577
|
+
function Tn(e, t) {
|
|
3578
|
+
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3575
3579
|
}
|
|
3576
3580
|
function Gt(e) {
|
|
3577
|
-
return
|
|
3581
|
+
return pe[e];
|
|
3578
3582
|
}
|
|
3579
|
-
function
|
|
3580
|
-
return
|
|
3583
|
+
function Sn(e) {
|
|
3584
|
+
return ye(e).map((t) => {
|
|
3581
3585
|
const r = Gt(t);
|
|
3582
3586
|
return [t, r ? [...r] : []];
|
|
3583
3587
|
}).filter(([, t]) => t.length > 0);
|
|
3584
3588
|
}
|
|
3585
|
-
function
|
|
3586
|
-
return e == null ? !1 :
|
|
3589
|
+
function De(e) {
|
|
3590
|
+
return e == null ? !1 : ye(e).some(
|
|
3587
3591
|
(t) => {
|
|
3588
3592
|
var r;
|
|
3589
3593
|
return (r = Gt(t)) == null ? void 0 : r.size;
|
|
3590
3594
|
}
|
|
3591
3595
|
);
|
|
3592
3596
|
}
|
|
3593
|
-
function
|
|
3597
|
+
function Bn(e, t) {
|
|
3594
3598
|
return Promise.all(
|
|
3595
|
-
t.map((n) => (
|
|
3599
|
+
t.map((n) => (Tn(e, n), n().then((i) => i.default || i)))
|
|
3596
3600
|
).then((n) => Ut(e, ...n));
|
|
3597
3601
|
}
|
|
3598
|
-
const
|
|
3602
|
+
const re = {};
|
|
3599
3603
|
function Dt(e) {
|
|
3600
|
-
if (!
|
|
3601
|
-
return e in
|
|
3602
|
-
const t =
|
|
3603
|
-
return
|
|
3604
|
+
if (!De(e))
|
|
3605
|
+
return e in re ? re[e] : Promise.resolve();
|
|
3606
|
+
const t = Sn(e);
|
|
3607
|
+
return re[e] = Promise.all(
|
|
3604
3608
|
t.map(
|
|
3605
|
-
([r, n]) =>
|
|
3609
|
+
([r, n]) => Bn(r, n)
|
|
3606
3610
|
)
|
|
3607
3611
|
).then(() => {
|
|
3608
|
-
if (
|
|
3612
|
+
if (De(e))
|
|
3609
3613
|
return Dt(e);
|
|
3610
|
-
delete
|
|
3611
|
-
}),
|
|
3614
|
+
delete re[e];
|
|
3615
|
+
}), re[e];
|
|
3612
3616
|
}
|
|
3613
|
-
const
|
|
3617
|
+
const An = {
|
|
3614
3618
|
number: {
|
|
3615
3619
|
scientific: { notation: "scientific" },
|
|
3616
3620
|
engineering: { notation: "engineering" },
|
|
@@ -3639,141 +3643,141 @@ const Bn = {
|
|
|
3639
3643
|
timeZoneName: "short"
|
|
3640
3644
|
}
|
|
3641
3645
|
}
|
|
3642
|
-
},
|
|
3646
|
+
}, On = {
|
|
3643
3647
|
fallbackLocale: null,
|
|
3644
3648
|
loadingDelay: 200,
|
|
3645
|
-
formats:
|
|
3649
|
+
formats: An,
|
|
3646
3650
|
warnOnMissingMessages: !0,
|
|
3647
3651
|
handleMissingMessage: void 0,
|
|
3648
3652
|
ignoreTag: !0
|
|
3649
|
-
},
|
|
3650
|
-
function
|
|
3651
|
-
return
|
|
3653
|
+
}, wn = On;
|
|
3654
|
+
function Y() {
|
|
3655
|
+
return wn;
|
|
3652
3656
|
}
|
|
3653
|
-
const
|
|
3654
|
-
var
|
|
3657
|
+
const Oe = ve(!1);
|
|
3658
|
+
var Nn = Object.defineProperty, Ln = Object.defineProperties, In = Object.getOwnPropertyDescriptors, st = Object.getOwnPropertySymbols, Cn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $n = (e, t) => {
|
|
3655
3659
|
for (var r in t || (t = {}))
|
|
3656
|
-
|
|
3660
|
+
Cn.call(t, r) && ot(e, r, t[r]);
|
|
3657
3661
|
if (st)
|
|
3658
3662
|
for (var r of st(t))
|
|
3659
|
-
|
|
3663
|
+
Mn.call(t, r) && ot(e, r, t[r]);
|
|
3660
3664
|
return e;
|
|
3661
|
-
},
|
|
3662
|
-
let
|
|
3663
|
-
const
|
|
3665
|
+
}, Rn = (e, t) => Ln(e, In(t));
|
|
3666
|
+
let Fe;
|
|
3667
|
+
const ge = ve(null);
|
|
3664
3668
|
function at(e) {
|
|
3665
3669
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3666
3670
|
}
|
|
3667
|
-
function
|
|
3671
|
+
function ye(e, t = Y().fallbackLocale) {
|
|
3668
3672
|
const r = at(e);
|
|
3669
3673
|
return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
|
|
3670
3674
|
}
|
|
3671
|
-
function
|
|
3672
|
-
return
|
|
3675
|
+
function V() {
|
|
3676
|
+
return Fe ?? void 0;
|
|
3673
3677
|
}
|
|
3674
|
-
|
|
3675
|
-
|
|
3678
|
+
ge.subscribe((e) => {
|
|
3679
|
+
Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3676
3680
|
});
|
|
3677
|
-
const
|
|
3678
|
-
if (e &&
|
|
3679
|
-
const { loadingDelay: t } =
|
|
3681
|
+
const Un = (e) => {
|
|
3682
|
+
if (e && Hn(e) && De(e)) {
|
|
3683
|
+
const { loadingDelay: t } = Y();
|
|
3680
3684
|
let r;
|
|
3681
|
-
return typeof window < "u" &&
|
|
3682
|
-
() =>
|
|
3685
|
+
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
|
3686
|
+
() => Oe.set(!0),
|
|
3683
3687
|
t
|
|
3684
|
-
) :
|
|
3685
|
-
|
|
3688
|
+
) : Oe.set(!0), Dt(e).then(() => {
|
|
3689
|
+
ge.set(e);
|
|
3686
3690
|
}).finally(() => {
|
|
3687
|
-
clearTimeout(r),
|
|
3691
|
+
clearTimeout(r), Oe.set(!1);
|
|
3688
3692
|
});
|
|
3689
3693
|
}
|
|
3690
|
-
return
|
|
3691
|
-
},
|
|
3692
|
-
set:
|
|
3693
|
-
}),
|
|
3694
|
+
return ge.set(e);
|
|
3695
|
+
}, ee = Rn($n({}, ge), {
|
|
3696
|
+
set: Un
|
|
3697
|
+
}), xe = (e) => {
|
|
3694
3698
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3695
3699
|
return (n) => {
|
|
3696
3700
|
const i = JSON.stringify(n);
|
|
3697
3701
|
return i in t ? t[i] : t[i] = e(n);
|
|
3698
3702
|
};
|
|
3699
3703
|
};
|
|
3700
|
-
var
|
|
3704
|
+
var Gn = Object.defineProperty, be = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
|
|
3701
3705
|
for (var r in t || (t = {}))
|
|
3702
3706
|
Ft.call(t, r) && ut(e, r, t[r]);
|
|
3703
|
-
if (
|
|
3704
|
-
for (var r of
|
|
3707
|
+
if (be)
|
|
3708
|
+
for (var r of be(t))
|
|
3705
3709
|
jt.call(t, r) && ut(e, r, t[r]);
|
|
3706
3710
|
return e;
|
|
3707
|
-
},
|
|
3711
|
+
}, te = (e, t) => {
|
|
3708
3712
|
var r = {};
|
|
3709
3713
|
for (var n in e)
|
|
3710
3714
|
Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3711
|
-
if (e != null &&
|
|
3712
|
-
for (var n of
|
|
3715
|
+
if (e != null && be)
|
|
3716
|
+
for (var n of be(e))
|
|
3713
3717
|
t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
|
|
3714
3718
|
return r;
|
|
3715
3719
|
};
|
|
3716
|
-
const
|
|
3717
|
-
const { formats: r } =
|
|
3720
|
+
const se = (e, t) => {
|
|
3721
|
+
const { formats: r } = Y();
|
|
3718
3722
|
if (e in r && t in r[e])
|
|
3719
3723
|
return r[e][t];
|
|
3720
3724
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3721
|
-
},
|
|
3725
|
+
}, Dn = xe(
|
|
3722
3726
|
(e) => {
|
|
3723
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3727
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3724
3728
|
if (r == null)
|
|
3725
3729
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3726
|
-
return n && (i =
|
|
3730
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
3727
3731
|
}
|
|
3728
|
-
),
|
|
3732
|
+
), Fn = xe(
|
|
3729
3733
|
(e) => {
|
|
3730
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3734
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3731
3735
|
if (r == null)
|
|
3732
3736
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3733
|
-
return n ? i =
|
|
3737
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3734
3738
|
}
|
|
3735
|
-
),
|
|
3739
|
+
), jn = xe(
|
|
3736
3740
|
(e) => {
|
|
3737
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3741
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3738
3742
|
if (r == null)
|
|
3739
3743
|
throw new Error(
|
|
3740
3744
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3741
3745
|
);
|
|
3742
|
-
return n ? i =
|
|
3746
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3743
3747
|
}
|
|
3744
|
-
),
|
|
3748
|
+
), kn = (e = {}) => {
|
|
3745
3749
|
var t = e, {
|
|
3746
|
-
locale: r =
|
|
3747
|
-
} = t, n =
|
|
3748
|
-
"locale"
|
|
3749
|
-
]);
|
|
3750
|
-
return Gn(Xe({ locale: r }, n));
|
|
3751
|
-
}, kn = (e = {}) => {
|
|
3752
|
-
var t = e, {
|
|
3753
|
-
locale: r = k()
|
|
3754
|
-
} = t, n = ee(t, [
|
|
3750
|
+
locale: r = V()
|
|
3751
|
+
} = t, n = te(t, [
|
|
3755
3752
|
"locale"
|
|
3756
3753
|
]);
|
|
3757
3754
|
return Dn(Xe({ locale: r }, n));
|
|
3758
3755
|
}, Vn = (e = {}) => {
|
|
3759
3756
|
var t = e, {
|
|
3760
|
-
locale: r =
|
|
3761
|
-
} = t, n =
|
|
3757
|
+
locale: r = V()
|
|
3758
|
+
} = t, n = te(t, [
|
|
3762
3759
|
"locale"
|
|
3763
3760
|
]);
|
|
3764
3761
|
return Fn(Xe({ locale: r }, n));
|
|
3765
|
-
}, Xn =
|
|
3762
|
+
}, Xn = (e = {}) => {
|
|
3763
|
+
var t = e, {
|
|
3764
|
+
locale: r = V()
|
|
3765
|
+
} = t, n = te(t, [
|
|
3766
|
+
"locale"
|
|
3767
|
+
]);
|
|
3768
|
+
return jn(Xe({ locale: r }, n));
|
|
3769
|
+
}, zn = xe(
|
|
3766
3770
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3767
|
-
(e, t =
|
|
3768
|
-
ignoreTag:
|
|
3771
|
+
(e, t = V()) => new _n(e, t, Y().formats, {
|
|
3772
|
+
ignoreTag: Y().ignoreTag
|
|
3769
3773
|
})
|
|
3770
|
-
),
|
|
3774
|
+
), Wn = (e, t = {}) => {
|
|
3771
3775
|
var r, n, i, s;
|
|
3772
3776
|
let o = t;
|
|
3773
3777
|
typeof e == "object" && (o = e, e = o.id);
|
|
3774
3778
|
const {
|
|
3775
3779
|
values: a,
|
|
3776
|
-
locale: l =
|
|
3780
|
+
locale: l = V(),
|
|
3777
3781
|
default: u
|
|
3778
3782
|
} = o;
|
|
3779
3783
|
if (l == null)
|
|
@@ -3782,7 +3786,7 @@ const ie = (e, t) => {
|
|
|
3782
3786
|
);
|
|
3783
3787
|
let h = $t(e, l);
|
|
3784
3788
|
if (!h)
|
|
3785
|
-
h = (s = (i = (n = (r =
|
|
3789
|
+
h = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3786
3790
|
else if (typeof h != "string")
|
|
3787
3791
|
return console.warn(
|
|
3788
3792
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3791,7 +3795,7 @@ const ie = (e, t) => {
|
|
|
3791
3795
|
return h;
|
|
3792
3796
|
let c = h;
|
|
3793
3797
|
try {
|
|
3794
|
-
c =
|
|
3798
|
+
c = zn(h, l).format(a);
|
|
3795
3799
|
} catch (f) {
|
|
3796
3800
|
f instanceof Error && console.warn(
|
|
3797
3801
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3799,24 +3803,24 @@ const ie = (e, t) => {
|
|
|
3799
3803
|
);
|
|
3800
3804
|
}
|
|
3801
3805
|
return c;
|
|
3802
|
-
},
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3806
|
+
}, Zn = (e, t) => Xn(t).format(e), Qn = (e, t) => Vn(t).format(e), qn = (e, t) => kn(t).format(e), Jn = (e, t = V()) => $t(e, t), Yn = K([ee, ae], () => Wn);
|
|
3807
|
+
K([ee], () => Zn);
|
|
3808
|
+
K([ee], () => Qn);
|
|
3809
|
+
K([ee], () => qn);
|
|
3810
|
+
K([ee, ae], () => Jn);
|
|
3807
3811
|
function ht(e, t) {
|
|
3808
3812
|
Ut(e, t);
|
|
3809
3813
|
}
|
|
3810
|
-
function
|
|
3811
|
-
|
|
3814
|
+
function Kn(e) {
|
|
3815
|
+
ee.set(e);
|
|
3812
3816
|
}
|
|
3813
|
-
function
|
|
3817
|
+
function ei(e, t) {
|
|
3814
3818
|
if (e) {
|
|
3815
3819
|
const r = document.createElement("style");
|
|
3816
3820
|
r.innerHTML = t, e.appendChild(r);
|
|
3817
3821
|
}
|
|
3818
3822
|
}
|
|
3819
|
-
function
|
|
3823
|
+
function ti(e, t) {
|
|
3820
3824
|
if (!e || !t)
|
|
3821
3825
|
return;
|
|
3822
3826
|
const r = new URL(t);
|
|
@@ -3827,7 +3831,7 @@ function ei(e, t) {
|
|
|
3827
3831
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3828
3832
|
});
|
|
3829
3833
|
}
|
|
3830
|
-
function
|
|
3834
|
+
function ri(e, t, r) {
|
|
3831
3835
|
if (window.emMessageBus) {
|
|
3832
3836
|
const n = document.createElement("style");
|
|
3833
3837
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3835,7 +3839,7 @@ function ti(e, t, r) {
|
|
|
3835
3839
|
});
|
|
3836
3840
|
}
|
|
3837
3841
|
}
|
|
3838
|
-
function
|
|
3842
|
+
function ni(e) {
|
|
3839
3843
|
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
3844
|
}
|
|
3841
3845
|
function lt(e, t, r) {
|
|
@@ -3846,86 +3850,86 @@ function ft(e, t, r) {
|
|
|
3846
3850
|
const n = e.slice();
|
|
3847
3851
|
return n[21] = t[r], n;
|
|
3848
3852
|
}
|
|
3849
|
-
function
|
|
3853
|
+
function ii(e) {
|
|
3850
3854
|
let t, r = (
|
|
3851
3855
|
/*$_*/
|
|
3852
3856
|
e[4]("popularProviders") + ""
|
|
3853
3857
|
), n, i, s, o, a = (
|
|
3854
3858
|
/*$_*/
|
|
3855
3859
|
e[4]("otherProviders") + ""
|
|
3856
|
-
), l, u, h, c =
|
|
3860
|
+
), l, u, h, c = he(
|
|
3857
3861
|
/*topProviders*/
|
|
3858
3862
|
e[1]
|
|
3859
3863
|
), f = [];
|
|
3860
|
-
for (let
|
|
3861
|
-
f[
|
|
3862
|
-
let g =
|
|
3864
|
+
for (let p = 0; p < c.length; p += 1)
|
|
3865
|
+
f[p] = ct(ft(e, c, p));
|
|
3866
|
+
let g = he(
|
|
3863
3867
|
/*otherProviders*/
|
|
3864
3868
|
e[2]
|
|
3865
3869
|
), d = [];
|
|
3866
|
-
for (let
|
|
3867
|
-
d[
|
|
3870
|
+
for (let p = 0; p < g.length; p += 1)
|
|
3871
|
+
d[p] = pt(lt(e, g, p));
|
|
3868
3872
|
return {
|
|
3869
3873
|
c() {
|
|
3870
|
-
t = A("h4"), n = $(r), i =
|
|
3871
|
-
for (let m = 0; m < f.length; m += 1)
|
|
3872
|
-
f[m].c();
|
|
3873
|
-
s = R(), o = A("h4"), l = $(a), u = R();
|
|
3874
|
-
for (let m = 0; m < d.length; m += 1)
|
|
3875
|
-
d[m].c();
|
|
3876
|
-
h = Zt(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
|
|
3877
|
-
},
|
|
3878
|
-
m(m, v) {
|
|
3879
|
-
C(m, t, v), y(t, n), C(m, i, v);
|
|
3874
|
+
t = A("h4"), n = $(r), i = U();
|
|
3880
3875
|
for (let p = 0; p < f.length; p += 1)
|
|
3881
|
-
f[p]
|
|
3882
|
-
|
|
3876
|
+
f[p].c();
|
|
3877
|
+
s = U(), o = A("h4"), l = $(a), u = U();
|
|
3883
3878
|
for (let p = 0; p < d.length; p += 1)
|
|
3884
|
-
d[p]
|
|
3885
|
-
|
|
3879
|
+
d[p].c();
|
|
3880
|
+
h = Zt(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
|
|
3881
|
+
},
|
|
3882
|
+
m(p, v) {
|
|
3883
|
+
C(p, t, v), y(t, n), C(p, i, v);
|
|
3884
|
+
for (let m = 0; m < f.length; m += 1)
|
|
3885
|
+
f[m] && f[m].m(p, v);
|
|
3886
|
+
C(p, s, v), C(p, o, v), y(o, l), C(p, u, v);
|
|
3887
|
+
for (let m = 0; m < d.length; m += 1)
|
|
3888
|
+
d[m] && d[m].m(p, v);
|
|
3889
|
+
C(p, h, v);
|
|
3886
3890
|
},
|
|
3887
|
-
p(
|
|
3891
|
+
p(p, v) {
|
|
3888
3892
|
if (v & /*$_*/
|
|
3889
3893
|
16 && r !== (r = /*$_*/
|
|
3890
|
-
|
|
3894
|
+
p[4]("popularProviders") + "") && F(n, r), v & /*openGameProviderPage, topProviders, $_*/
|
|
3891
3895
|
50) {
|
|
3892
|
-
c =
|
|
3896
|
+
c = he(
|
|
3893
3897
|
/*topProviders*/
|
|
3894
|
-
|
|
3898
|
+
p[1]
|
|
3895
3899
|
);
|
|
3896
|
-
let
|
|
3897
|
-
for (
|
|
3898
|
-
const
|
|
3899
|
-
f[
|
|
3900
|
+
let m;
|
|
3901
|
+
for (m = 0; m < c.length; m += 1) {
|
|
3902
|
+
const P = ft(p, c, m);
|
|
3903
|
+
f[m] ? f[m].p(P, v) : (f[m] = ct(P), f[m].c(), f[m].m(s.parentNode, s));
|
|
3900
3904
|
}
|
|
3901
|
-
for (;
|
|
3902
|
-
f[
|
|
3905
|
+
for (; m < f.length; m += 1)
|
|
3906
|
+
f[m].d(1);
|
|
3903
3907
|
f.length = c.length;
|
|
3904
3908
|
}
|
|
3905
3909
|
if (v & /*$_*/
|
|
3906
3910
|
16 && a !== (a = /*$_*/
|
|
3907
|
-
|
|
3911
|
+
p[4]("otherProviders") + "") && F(l, a), v & /*openGameProviderPage, otherProviders, $_*/
|
|
3908
3912
|
52) {
|
|
3909
|
-
g =
|
|
3913
|
+
g = he(
|
|
3910
3914
|
/*otherProviders*/
|
|
3911
|
-
|
|
3915
|
+
p[2]
|
|
3912
3916
|
);
|
|
3913
|
-
let
|
|
3914
|
-
for (
|
|
3915
|
-
const
|
|
3916
|
-
d[
|
|
3917
|
+
let m;
|
|
3918
|
+
for (m = 0; m < g.length; m += 1) {
|
|
3919
|
+
const P = lt(p, g, m);
|
|
3920
|
+
d[m] ? d[m].p(P, v) : (d[m] = pt(P), d[m].c(), d[m].m(h.parentNode, h));
|
|
3917
3921
|
}
|
|
3918
|
-
for (;
|
|
3919
|
-
d[
|
|
3922
|
+
for (; m < d.length; m += 1)
|
|
3923
|
+
d[m].d(1);
|
|
3920
3924
|
d.length = g.length;
|
|
3921
3925
|
}
|
|
3922
3926
|
},
|
|
3923
|
-
d(
|
|
3924
|
-
|
|
3927
|
+
d(p) {
|
|
3928
|
+
p && (I(t), I(i), I(s), I(o), I(u), I(h)), We(f, p), We(d, p);
|
|
3925
3929
|
}
|
|
3926
3930
|
};
|
|
3927
3931
|
}
|
|
3928
|
-
function
|
|
3932
|
+
function si(e) {
|
|
3929
3933
|
let t, r = (
|
|
3930
3934
|
/*$_*/
|
|
3931
3935
|
e[4]("loading") + ""
|
|
@@ -3940,7 +3944,7 @@ function ii(e) {
|
|
|
3940
3944
|
p(i, s) {
|
|
3941
3945
|
s & /*$_*/
|
|
3942
3946
|
16 && r !== (r = /*$_*/
|
|
3943
|
-
i[4]("loading") + "") &&
|
|
3947
|
+
i[4]("loading") + "") && F(n, r);
|
|
3944
3948
|
},
|
|
3945
3949
|
d(i) {
|
|
3946
3950
|
i && I(t);
|
|
@@ -3954,10 +3958,10 @@ function ct(e) {
|
|
|
3954
3958
|
), u, h, c, f = (
|
|
3955
3959
|
/*provider*/
|
|
3956
3960
|
e[21].games.count + ""
|
|
3957
|
-
), g, d,
|
|
3961
|
+
), g, d, p = (
|
|
3958
3962
|
/*$_*/
|
|
3959
3963
|
e[4]("games") + ""
|
|
3960
|
-
), v,
|
|
3964
|
+
), v, m, P;
|
|
3961
3965
|
function B() {
|
|
3962
3966
|
return (
|
|
3963
3967
|
/*click_handler*/
|
|
@@ -3969,42 +3973,42 @@ function ct(e) {
|
|
|
3969
3973
|
}
|
|
3970
3974
|
return {
|
|
3971
3975
|
c() {
|
|
3972
|
-
t = A("div"), r = A("img"), s =
|
|
3976
|
+
t = A("div"), r = A("img"), s = U(), o = A("div"), a = A("p"), u = $(l), h = U(), c = A("p"), g = $(f), d = U(), v = $(p), me(r.src, n = /*provider*/
|
|
3973
3977
|
e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
|
|
3974
3978
|
e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
|
|
3975
3979
|
},
|
|
3976
|
-
m(O,
|
|
3977
|
-
C(O, t,
|
|
3980
|
+
m(O, H) {
|
|
3981
|
+
C(O, t, H), 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), m || (P = bt(t, "click", B), m = !0);
|
|
3978
3982
|
},
|
|
3979
|
-
p(O,
|
|
3980
|
-
e = O,
|
|
3983
|
+
p(O, H) {
|
|
3984
|
+
e = O, H & /*topProviders*/
|
|
3981
3985
|
2 && !me(r.src, n = /*provider*/
|
|
3982
|
-
e[21].logo) && S(r, "src", n),
|
|
3986
|
+
e[21].logo) && S(r, "src", n), H & /*topProviders*/
|
|
3983
3987
|
2 && i !== (i = /*provider*/
|
|
3984
|
-
e[21].name) && S(r, "alt", i),
|
|
3988
|
+
e[21].name) && S(r, "alt", i), H & /*topProviders*/
|
|
3985
3989
|
2 && l !== (l = /*provider*/
|
|
3986
|
-
e[21].name + "") &&
|
|
3990
|
+
e[21].name + "") && F(u, l), H & /*topProviders*/
|
|
3987
3991
|
2 && f !== (f = /*provider*/
|
|
3988
|
-
e[21].games.count + "") &&
|
|
3989
|
-
16 &&
|
|
3990
|
-
e[4]("games") + "") &&
|
|
3992
|
+
e[21].games.count + "") && F(g, f), H & /*$_*/
|
|
3993
|
+
16 && p !== (p = /*$_*/
|
|
3994
|
+
e[4]("games") + "") && F(v, p);
|
|
3991
3995
|
},
|
|
3992
3996
|
d(O) {
|
|
3993
|
-
O && I(t),
|
|
3997
|
+
O && I(t), m = !1, P();
|
|
3994
3998
|
}
|
|
3995
3999
|
};
|
|
3996
4000
|
}
|
|
3997
|
-
function
|
|
4001
|
+
function pt(e) {
|
|
3998
4002
|
let t, r, n, i, s, o, a, l = (
|
|
3999
4003
|
/*provider*/
|
|
4000
4004
|
e[21].name + ""
|
|
4001
4005
|
), u, h, c, f = (
|
|
4002
4006
|
/*provider*/
|
|
4003
4007
|
e[21].games.count + ""
|
|
4004
|
-
), g, d,
|
|
4008
|
+
), g, d, p = (
|
|
4005
4009
|
/*$_*/
|
|
4006
4010
|
e[4]("games") + ""
|
|
4007
|
-
), v,
|
|
4011
|
+
), v, m, P, B;
|
|
4008
4012
|
function O() {
|
|
4009
4013
|
return (
|
|
4010
4014
|
/*click_handler_1*/
|
|
@@ -4016,37 +4020,37 @@ function mt(e) {
|
|
|
4016
4020
|
}
|
|
4017
4021
|
return {
|
|
4018
4022
|
c() {
|
|
4019
|
-
t = A("div"), r = A("img"), s =
|
|
4023
|
+
t = A("div"), r = A("img"), s = U(), o = A("div"), a = A("p"), u = $(l), h = U(), c = A("p"), g = $(f), d = U(), v = $(p), m = U(), me(r.src, n = /*provider*/
|
|
4020
4024
|
e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
|
|
4021
4025
|
e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
|
|
4022
4026
|
},
|
|
4023
|
-
m(
|
|
4024
|
-
C(
|
|
4027
|
+
m(H, N) {
|
|
4028
|
+
C(H, 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, m), P || (B = bt(t, "click", O), P = !0);
|
|
4025
4029
|
},
|
|
4026
|
-
p(
|
|
4027
|
-
e =
|
|
4030
|
+
p(H, N) {
|
|
4031
|
+
e = H, N & /*otherProviders*/
|
|
4028
4032
|
4 && !me(r.src, n = /*provider*/
|
|
4029
4033
|
e[21].logo) && S(r, "src", n), N & /*otherProviders*/
|
|
4030
4034
|
4 && i !== (i = /*provider*/
|
|
4031
4035
|
e[21].name) && S(r, "alt", i), N & /*otherProviders*/
|
|
4032
4036
|
4 && l !== (l = /*provider*/
|
|
4033
|
-
e[21].name + "") &&
|
|
4037
|
+
e[21].name + "") && F(u, l), N & /*otherProviders*/
|
|
4034
4038
|
4 && f !== (f = /*provider*/
|
|
4035
|
-
e[21].games.count + "") &&
|
|
4036
|
-
16 &&
|
|
4037
|
-
e[4]("games") + "") &&
|
|
4039
|
+
e[21].games.count + "") && F(g, f), N & /*$_*/
|
|
4040
|
+
16 && p !== (p = /*$_*/
|
|
4041
|
+
e[4]("games") + "") && F(v, p);
|
|
4038
4042
|
},
|
|
4039
|
-
d(
|
|
4040
|
-
|
|
4043
|
+
d(H) {
|
|
4044
|
+
H && I(t), P = !1, B();
|
|
4041
4045
|
}
|
|
4042
4046
|
};
|
|
4043
4047
|
}
|
|
4044
|
-
function
|
|
4048
|
+
function oi(e) {
|
|
4045
4049
|
let t;
|
|
4046
4050
|
function r(s, o) {
|
|
4047
4051
|
return (
|
|
4048
4052
|
/*isLoading*/
|
|
4049
|
-
s[3] === !0 ?
|
|
4053
|
+
s[3] === !0 ? si : ii
|
|
4050
4054
|
);
|
|
4051
4055
|
}
|
|
4052
4056
|
let n = r(e), i = n(e);
|
|
@@ -4067,14 +4071,14 @@ function si(e) {
|
|
|
4067
4071
|
}
|
|
4068
4072
|
};
|
|
4069
4073
|
}
|
|
4070
|
-
function
|
|
4074
|
+
function ai(e, t, r) {
|
|
4071
4075
|
let n;
|
|
4072
|
-
Vt(e,
|
|
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 = [], d = !1,
|
|
4076
|
+
Vt(e, Yn, (b) => r(4, n = b));
|
|
4077
|
+
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, p;
|
|
4074
4078
|
const v = () => {
|
|
4075
4079
|
fetch(u).then((L) => L.json()).then((L) => {
|
|
4076
|
-
Object.keys(L).forEach((
|
|
4077
|
-
ht(
|
|
4080
|
+
Object.keys(L).forEach((k) => {
|
|
4081
|
+
ht(k, L[k]);
|
|
4078
4082
|
});
|
|
4079
4083
|
}).catch((L) => {
|
|
4080
4084
|
console.log(L);
|
|
@@ -4083,49 +4087,49 @@ function oi(e, t, r) {
|
|
|
4083
4087
|
Object.keys(Qe).forEach((b) => {
|
|
4084
4088
|
ht(b, Qe[b]);
|
|
4085
4089
|
});
|
|
4086
|
-
const
|
|
4090
|
+
const m = () => {
|
|
4087
4091
|
r(3, d = !0);
|
|
4088
4092
|
const b = new URL(`${i}/v1/casino/vendors`);
|
|
4089
4093
|
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, d = !1), c = L.items.map((
|
|
4091
|
-
let
|
|
4092
|
-
|
|
4094
|
+
r(3, d = !1), c = L.items.map((G) => G), r(1, f = c.filter((G) => G.isTopVendor === !0)), r(2, g = c.filter((G) => G.isTopVendor === !1));
|
|
4095
|
+
let k = [];
|
|
4096
|
+
k = c.flatMap((G) => G.subVendors), g.push(...k.filter((G) => G.games.count > 0));
|
|
4093
4097
|
});
|
|
4094
|
-
},
|
|
4098
|
+
}, P = (b, L, k) => {
|
|
4095
4099
|
window.postMessage(
|
|
4096
4100
|
{
|
|
4097
4101
|
type: "OpenGameProvider",
|
|
4098
4102
|
providerId: b,
|
|
4099
4103
|
providerName: L,
|
|
4100
|
-
providerLogo:
|
|
4104
|
+
providerLogo: k
|
|
4101
4105
|
},
|
|
4102
4106
|
window.location.href
|
|
4103
4107
|
);
|
|
4104
4108
|
}, B = () => {
|
|
4105
|
-
|
|
4106
|
-
}, O = (b) =>
|
|
4109
|
+
Kn(o);
|
|
4110
|
+
}, O = (b) => P(b.id, b.name, b.logo), H = (b) => P(b.id, b.name, b.logo);
|
|
4107
4111
|
function N(b) {
|
|
4108
|
-
|
|
4109
|
-
|
|
4112
|
+
we[b ? "unshift" : "push"](() => {
|
|
4113
|
+
p = b, r(0, p);
|
|
4110
4114
|
});
|
|
4111
4115
|
}
|
|
4112
4116
|
return e.$$set = (b) => {
|
|
4113
4117
|
"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
4118
|
}, e.$$.update = () => {
|
|
4115
4119
|
e.$$.dirty & /*endpoint, lang, datasource*/
|
|
4116
|
-
448 && i && o && s &&
|
|
4120
|
+
448 && i && o && s && m(), e.$$.dirty & /*lang*/
|
|
4117
4121
|
256 && o && B(), e.$$.dirty & /*translationurl*/
|
|
4118
4122
|
2048 && u && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4119
|
-
513 && a &&
|
|
4120
|
-
1025 && l &&
|
|
4121
|
-
4097 && h &&
|
|
4123
|
+
513 && a && p && ei(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4124
|
+
1025 && l && p && ti(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4125
|
+
4097 && h && p && ri(p, `${h}.Style`);
|
|
4122
4126
|
}, [
|
|
4123
|
-
|
|
4127
|
+
p,
|
|
4124
4128
|
f,
|
|
4125
4129
|
g,
|
|
4126
4130
|
d,
|
|
4127
4131
|
n,
|
|
4128
|
-
|
|
4132
|
+
P,
|
|
4129
4133
|
i,
|
|
4130
4134
|
s,
|
|
4131
4135
|
o,
|
|
@@ -4134,17 +4138,17 @@ function oi(e, t, r) {
|
|
|
4134
4138
|
u,
|
|
4135
4139
|
h,
|
|
4136
4140
|
O,
|
|
4137
|
-
|
|
4141
|
+
H,
|
|
4138
4142
|
N
|
|
4139
4143
|
];
|
|
4140
4144
|
}
|
|
4141
|
-
class
|
|
4145
|
+
class ui extends ur {
|
|
4142
4146
|
constructor(t) {
|
|
4143
4147
|
super(), or(
|
|
4144
4148
|
this,
|
|
4145
4149
|
t,
|
|
4150
|
+
ai,
|
|
4146
4151
|
oi,
|
|
4147
|
-
si,
|
|
4148
4152
|
dt,
|
|
4149
4153
|
{
|
|
4150
4154
|
endpoint: 6,
|
|
@@ -4155,53 +4159,53 @@ class ai extends ur {
|
|
|
4155
4159
|
translationurl: 11,
|
|
4156
4160
|
mbsource: 12
|
|
4157
4161
|
},
|
|
4158
|
-
|
|
4162
|
+
ni
|
|
4159
4163
|
);
|
|
4160
4164
|
}
|
|
4161
4165
|
get endpoint() {
|
|
4162
4166
|
return this.$$.ctx[6];
|
|
4163
4167
|
}
|
|
4164
4168
|
set endpoint(t) {
|
|
4165
|
-
this.$$set({ endpoint: t }),
|
|
4169
|
+
this.$$set({ endpoint: t }), D();
|
|
4166
4170
|
}
|
|
4167
4171
|
get datasource() {
|
|
4168
4172
|
return this.$$.ctx[7];
|
|
4169
4173
|
}
|
|
4170
4174
|
set datasource(t) {
|
|
4171
|
-
this.$$set({ datasource: t }),
|
|
4175
|
+
this.$$set({ datasource: t }), D();
|
|
4172
4176
|
}
|
|
4173
4177
|
get lang() {
|
|
4174
4178
|
return this.$$.ctx[8];
|
|
4175
4179
|
}
|
|
4176
4180
|
set lang(t) {
|
|
4177
|
-
this.$$set({ lang: t }),
|
|
4181
|
+
this.$$set({ lang: t }), D();
|
|
4178
4182
|
}
|
|
4179
4183
|
get clientstyling() {
|
|
4180
4184
|
return this.$$.ctx[9];
|
|
4181
4185
|
}
|
|
4182
4186
|
set clientstyling(t) {
|
|
4183
|
-
this.$$set({ clientstyling: t }),
|
|
4187
|
+
this.$$set({ clientstyling: t }), D();
|
|
4184
4188
|
}
|
|
4185
4189
|
get clientstylingurl() {
|
|
4186
4190
|
return this.$$.ctx[10];
|
|
4187
4191
|
}
|
|
4188
4192
|
set clientstylingurl(t) {
|
|
4189
|
-
this.$$set({ clientstylingurl: t }),
|
|
4193
|
+
this.$$set({ clientstylingurl: t }), D();
|
|
4190
4194
|
}
|
|
4191
4195
|
get translationurl() {
|
|
4192
4196
|
return this.$$.ctx[11];
|
|
4193
4197
|
}
|
|
4194
4198
|
set translationurl(t) {
|
|
4195
|
-
this.$$set({ translationurl: t }),
|
|
4199
|
+
this.$$set({ translationurl: t }), D();
|
|
4196
4200
|
}
|
|
4197
4201
|
get mbsource() {
|
|
4198
4202
|
return this.$$.ctx[12];
|
|
4199
4203
|
}
|
|
4200
4204
|
set mbsource(t) {
|
|
4201
|
-
this.$$set({ mbsource: t }),
|
|
4205
|
+
this.$$set({ mbsource: t }), D();
|
|
4202
4206
|
}
|
|
4203
4207
|
}
|
|
4204
|
-
ar(
|
|
4208
|
+
ar(ui, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4205
4209
|
export {
|
|
4206
|
-
|
|
4210
|
+
ui as C
|
|
4207
4211
|
};
|