@everymatrix/casino-jackpot-banner 1.86.4 → 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/{CasinoJackpotBanner-DJKf4enm.js → CasinoJackpotBanner-BdoZB0BG.js} +767 -746
- package/components/CasinoJackpotBanner-D0MRvDYI.cjs +18 -0
- package/components/{CasinoJackpotBanner-CJqf4taC.js → CasinoJackpotBanner-DA_2QcAA.js} +793 -772
- package/es2015/casino-jackpot-banner.cjs +1 -1
- package/es2015/casino-jackpot-banner.js +1 -1
- package/esnext/casino-jackpot-banner.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
- package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
- package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-Daq38JGa.js} +2 -2
- package/components/CasinoJackpotBanner-DCKkU54Y.cjs +0 -18
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
1
|
+
import "../stencil/ui-image-Ch-GHki1.js";
|
|
2
2
|
function Z() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Tr(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Xt() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
e.forEach(
|
|
10
|
+
function Xe(e) {
|
|
11
|
+
e.forEach(Tr);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function $t(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function wr(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
19
|
let Ke;
|
|
20
20
|
function Q(e, t) {
|
|
21
21
|
return e === t ? !0 : (Ke || (Ke = document.createElement("a")), Ke.href = t, e === Ke.href);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function on(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function sn(e, ...t) {
|
|
27
27
|
if (e == null) {
|
|
28
28
|
for (const n of t)
|
|
29
29
|
n(void 0);
|
|
@@ -35,14 +35,14 @@ function on(e, ...t) {
|
|
|
35
35
|
function d(e, t) {
|
|
36
36
|
e.appendChild(t);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
const n =
|
|
38
|
+
function an(e, t, r) {
|
|
39
|
+
const n = un(e);
|
|
40
40
|
if (!n.getElementById(t)) {
|
|
41
41
|
const i = b("style");
|
|
42
|
-
i.id = t, i.textContent = r,
|
|
42
|
+
i.id = t, i.textContent = r, ln(n, i);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function un(e) {
|
|
46
46
|
if (!e)
|
|
47
47
|
return document;
|
|
48
48
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -52,20 +52,20 @@ function an(e) {
|
|
|
52
52
|
t
|
|
53
53
|
) : e.ownerDocument;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function ln(e, t) {
|
|
56
56
|
return d(
|
|
57
57
|
/** @type {Document} */
|
|
58
58
|
e.head || e,
|
|
59
59
|
t
|
|
60
60
|
), t.sheet;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function $(e, t, r) {
|
|
63
63
|
e.insertBefore(t, r || null);
|
|
64
64
|
}
|
|
65
65
|
function D(e) {
|
|
66
66
|
e.parentNode && e.parentNode.removeChild(e);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function cn(e, t) {
|
|
69
69
|
for (let r = 0; r < e.length; r += 1)
|
|
70
70
|
e[r] && e[r].d(t);
|
|
71
71
|
}
|
|
@@ -75,33 +75,33 @@ function b(e) {
|
|
|
75
75
|
function R(e) {
|
|
76
76
|
return document.createTextNode(e);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function C() {
|
|
79
79
|
return R(" ");
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function hn() {
|
|
82
82
|
return R("");
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function fn(e, t, r, n) {
|
|
85
85
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
86
86
|
}
|
|
87
87
|
function _(e, t, r) {
|
|
88
88
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function P(e, t, r) {
|
|
91
91
|
const n = t.toLowerCase();
|
|
92
92
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function pn(e) {
|
|
95
95
|
return Array.from(e.childNodes);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function G(e, t) {
|
|
98
98
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
99
99
|
t);
|
|
100
100
|
}
|
|
101
101
|
function et(e, t, r, n) {
|
|
102
102
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function dn(e) {
|
|
105
105
|
const t = {};
|
|
106
106
|
return e.childNodes.forEach(
|
|
107
107
|
/** @param {Element} node */
|
|
@@ -110,92 +110,92 @@ function pn(e) {
|
|
|
110
110
|
}
|
|
111
111
|
), t;
|
|
112
112
|
}
|
|
113
|
-
let
|
|
113
|
+
let Fe;
|
|
114
114
|
function $e(e) {
|
|
115
|
-
|
|
115
|
+
Fe = e;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
if (!
|
|
117
|
+
function Hr() {
|
|
118
|
+
if (!Fe)
|
|
119
119
|
throw new Error("Function called outside component initialization");
|
|
120
|
-
return
|
|
121
|
-
}
|
|
122
|
-
function dn(e) {
|
|
123
|
-
Tr().$$.on_mount.push(e);
|
|
120
|
+
return Fe;
|
|
124
121
|
}
|
|
125
122
|
function mn(e) {
|
|
126
|
-
|
|
123
|
+
Hr().$$.on_mount.push(e);
|
|
124
|
+
}
|
|
125
|
+
function bn(e) {
|
|
126
|
+
Hr().$$.on_destroy.push(e);
|
|
127
127
|
}
|
|
128
|
-
const Ae = [],
|
|
128
|
+
const Ae = [], Tt = [];
|
|
129
129
|
let Be = [];
|
|
130
|
-
const
|
|
131
|
-
let
|
|
132
|
-
function
|
|
133
|
-
|
|
130
|
+
const zt = [], gn = /* @__PURE__ */ Promise.resolve();
|
|
131
|
+
let wt = !1;
|
|
132
|
+
function yn() {
|
|
133
|
+
wt || (wt = !0, gn.then(O));
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Ht(e) {
|
|
136
136
|
Be.push(e);
|
|
137
137
|
}
|
|
138
|
-
const
|
|
138
|
+
const bt = /* @__PURE__ */ new Set();
|
|
139
139
|
let we = 0;
|
|
140
|
-
function
|
|
140
|
+
function O() {
|
|
141
141
|
if (we !== 0)
|
|
142
142
|
return;
|
|
143
|
-
const e =
|
|
143
|
+
const e = Fe;
|
|
144
144
|
do {
|
|
145
145
|
try {
|
|
146
146
|
for (; we < Ae.length; ) {
|
|
147
147
|
const t = Ae[we];
|
|
148
|
-
we++, $e(t),
|
|
148
|
+
we++, $e(t), vn(t.$$);
|
|
149
149
|
}
|
|
150
150
|
} catch (t) {
|
|
151
151
|
throw Ae.length = 0, we = 0, t;
|
|
152
152
|
}
|
|
153
|
-
for ($e(null), Ae.length = 0, we = 0;
|
|
154
|
-
|
|
153
|
+
for ($e(null), Ae.length = 0, we = 0; Tt.length; )
|
|
154
|
+
Tt.pop()();
|
|
155
155
|
for (let t = 0; t < Be.length; t += 1) {
|
|
156
156
|
const r = Be[t];
|
|
157
|
-
|
|
157
|
+
bt.has(r) || (bt.add(r), r());
|
|
158
158
|
}
|
|
159
159
|
Be.length = 0;
|
|
160
160
|
} while (Ae.length);
|
|
161
|
-
for (;
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
for (; zt.length; )
|
|
162
|
+
zt.pop()();
|
|
163
|
+
wt = !1, bt.clear(), $e(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function vn(e) {
|
|
166
166
|
if (e.fragment !== null) {
|
|
167
|
-
e.update(),
|
|
167
|
+
e.update(), Xe(e.before_update);
|
|
168
168
|
const t = e.dirty;
|
|
169
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
169
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function _n(e) {
|
|
173
173
|
const t = [], r = [];
|
|
174
174
|
Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
|
|
175
175
|
}
|
|
176
|
-
const
|
|
177
|
-
function
|
|
178
|
-
e && e.i && (
|
|
176
|
+
const En = /* @__PURE__ */ new Set();
|
|
177
|
+
function xn(e, t) {
|
|
178
|
+
e && e.i && (En.delete(e), e.i(t));
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Jt(e) {
|
|
181
181
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Sn(e, t, r) {
|
|
184
184
|
const { fragment: n, after_update: i } = e.$$;
|
|
185
|
-
n && n.m(t, r),
|
|
186
|
-
const o = e.$$.on_mount.map(
|
|
187
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
188
|
-
}), i.forEach(
|
|
185
|
+
n && n.m(t, r), Ht(() => {
|
|
186
|
+
const o = e.$$.on_mount.map(Tr).filter($t);
|
|
187
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Xe(o), e.$$.on_mount = [];
|
|
188
|
+
}), i.forEach(Ht);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Tn(e, t) {
|
|
191
191
|
const r = e.$$;
|
|
192
|
-
r.fragment !== null && (
|
|
192
|
+
r.fragment !== null && (_n(r.after_update), Xe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
e.$$.dirty[0] === -1 && (Ae.push(e),
|
|
194
|
+
function wn(e, t) {
|
|
195
|
+
e.$$.dirty[0] === -1 && (Ae.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
const l =
|
|
197
|
+
function Hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
198
|
+
const l = Fe;
|
|
199
199
|
$e(e);
|
|
200
200
|
const u = e.$$ = {
|
|
201
201
|
fragment: null,
|
|
@@ -204,7 +204,7 @@ function wn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
204
204
|
props: o,
|
|
205
205
|
update: Z,
|
|
206
206
|
not_equal: i,
|
|
207
|
-
bound:
|
|
207
|
+
bound: Xt(),
|
|
208
208
|
// lifecycle
|
|
209
209
|
on_mount: [],
|
|
210
210
|
on_destroy: [],
|
|
@@ -213,7 +213,7 @@ function wn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
213
213
|
after_update: [],
|
|
214
214
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
215
215
|
// everything else
|
|
216
|
-
callbacks:
|
|
216
|
+
callbacks: Xt(),
|
|
217
217
|
dirty: a,
|
|
218
218
|
skip_bound: !1,
|
|
219
219
|
root: t.target || l.$$.root
|
|
@@ -222,19 +222,19 @@ function wn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
222
222
|
let c = !1;
|
|
223
223
|
if (u.ctx = r ? r(e, t.props || {}, (p, h, ...g) => {
|
|
224
224
|
const x = g.length ? g[0] : h;
|
|
225
|
-
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), c &&
|
|
226
|
-
}) : [], u.update(), c = !0,
|
|
225
|
+
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), c && wn(e, p)), h;
|
|
226
|
+
}) : [], u.update(), c = !0, Xe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
227
227
|
if (t.hydrate) {
|
|
228
|
-
const p =
|
|
228
|
+
const p = pn(t.target);
|
|
229
229
|
u.fragment && u.fragment.l(p), p.forEach(D);
|
|
230
230
|
} else
|
|
231
231
|
u.fragment && u.fragment.c();
|
|
232
|
-
t.intro &&
|
|
232
|
+
t.intro && xn(e.$$.fragment), Sn(e, t.target, t.anchor), O();
|
|
233
233
|
}
|
|
234
234
|
$e(l);
|
|
235
235
|
}
|
|
236
|
-
let
|
|
237
|
-
typeof HTMLElement == "function" && (
|
|
236
|
+
let Ar;
|
|
237
|
+
typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
|
|
238
238
|
/** The Svelte component constructor */
|
|
239
239
|
$$ctor;
|
|
240
240
|
/** Slots */
|
|
@@ -283,7 +283,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
283
283
|
* @param {HTMLElement} [anchor]
|
|
284
284
|
*/
|
|
285
285
|
m: function(l, u) {
|
|
286
|
-
|
|
286
|
+
$(l, o, u);
|
|
287
287
|
},
|
|
288
288
|
d: function(l) {
|
|
289
289
|
l && D(o);
|
|
@@ -293,7 +293,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
293
293
|
};
|
|
294
294
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
295
295
|
return;
|
|
296
|
-
const t = {}, r =
|
|
296
|
+
const t = {}, r = dn(this);
|
|
297
297
|
for (const i of this.$$s)
|
|
298
298
|
i in r && (t[i] = [e(i)]);
|
|
299
299
|
for (const i of this.attributes) {
|
|
@@ -380,8 +380,8 @@ function nt(e, t, r, n) {
|
|
|
380
380
|
return t;
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
let s = class extends
|
|
383
|
+
function An(e, t, r, n, i, o) {
|
|
384
|
+
let s = class extends Ar {
|
|
385
385
|
constructor() {
|
|
386
386
|
super(e, r, i), this.$$p_d = t;
|
|
387
387
|
}
|
|
@@ -409,7 +409,7 @@ function Hn(e, t, r, n, i, o) {
|
|
|
409
409
|
}), e.element = /** @type {any} */
|
|
410
410
|
s, s;
|
|
411
411
|
}
|
|
412
|
-
class
|
|
412
|
+
class Bn {
|
|
413
413
|
/**
|
|
414
414
|
* ### PRIVATE API
|
|
415
415
|
*
|
|
@@ -428,7 +428,7 @@ class An {
|
|
|
428
428
|
$$set = void 0;
|
|
429
429
|
/** @returns {void} */
|
|
430
430
|
$destroy() {
|
|
431
|
-
|
|
431
|
+
Tn(this, 1), this.$destroy = Z;
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
434
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -437,7 +437,7 @@ class An {
|
|
|
437
437
|
* @returns {() => void}
|
|
438
438
|
*/
|
|
439
439
|
$on(t, r) {
|
|
440
|
-
if (
|
|
440
|
+
if (!$t(r))
|
|
441
441
|
return Z;
|
|
442
442
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
443
443
|
return n.push(r), () => {
|
|
@@ -450,11 +450,11 @@ class An {
|
|
|
450
450
|
* @returns {void}
|
|
451
451
|
*/
|
|
452
452
|
$set(t) {
|
|
453
|
-
this.$$set && !
|
|
453
|
+
this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
const
|
|
457
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
456
|
+
const Pn = "4";
|
|
457
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
|
|
458
458
|
/*! *****************************************************************************
|
|
459
459
|
Copyright (c) Microsoft Corporation.
|
|
460
460
|
|
|
@@ -469,43 +469,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
469
469
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
470
470
|
PERFORMANCE OF THIS SOFTWARE.
|
|
471
471
|
***************************************************************************** */
|
|
472
|
-
var
|
|
473
|
-
return
|
|
472
|
+
var At = function(e, t) {
|
|
473
|
+
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
474
474
|
r.__proto__ = n;
|
|
475
475
|
} || function(r, n) {
|
|
476
476
|
for (var i in n)
|
|
477
477
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
478
|
-
},
|
|
478
|
+
}, At(e, t);
|
|
479
479
|
};
|
|
480
|
-
function
|
|
480
|
+
function ze(e, t) {
|
|
481
481
|
if (typeof t != "function" && t !== null)
|
|
482
482
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
483
|
-
|
|
483
|
+
At(e, t);
|
|
484
484
|
function r() {
|
|
485
485
|
this.constructor = e;
|
|
486
486
|
}
|
|
487
487
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
488
488
|
}
|
|
489
|
-
|
|
490
|
-
return H = Object.assign || function(t) {
|
|
491
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
492
|
-
r = arguments[n];
|
|
493
|
-
for (var o in r)
|
|
494
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
495
|
-
}
|
|
496
|
-
return t;
|
|
497
|
-
}, H.apply(this, arguments);
|
|
498
|
-
};
|
|
499
|
-
function Pn(e, t) {
|
|
500
|
-
var r = {};
|
|
501
|
-
for (var n in e)
|
|
502
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
503
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
504
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
505
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
506
|
-
return r;
|
|
507
|
-
}
|
|
508
|
-
function Ht(e) {
|
|
489
|
+
function Bt(e) {
|
|
509
490
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
510
491
|
if (r)
|
|
511
492
|
return r.call(e);
|
|
@@ -517,7 +498,7 @@ function Ht(e) {
|
|
|
517
498
|
};
|
|
518
499
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
519
500
|
}
|
|
520
|
-
function
|
|
501
|
+
function Pt(e, t) {
|
|
521
502
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
522
503
|
if (!r)
|
|
523
504
|
return e;
|
|
@@ -537,22 +518,22 @@ function At(e, t) {
|
|
|
537
518
|
}
|
|
538
519
|
return o;
|
|
539
520
|
}
|
|
540
|
-
function
|
|
541
|
-
if (
|
|
521
|
+
function Ot(e, t, r) {
|
|
522
|
+
if (arguments.length === 2)
|
|
542
523
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
543
524
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
544
525
|
return e.concat(o || t);
|
|
545
526
|
}
|
|
546
|
-
function
|
|
527
|
+
function ce(e) {
|
|
547
528
|
return typeof e == "function";
|
|
548
529
|
}
|
|
549
|
-
function
|
|
530
|
+
function Br(e) {
|
|
550
531
|
var t = function(n) {
|
|
551
532
|
Error.call(n), n.stack = new Error().stack;
|
|
552
533
|
}, r = e(t);
|
|
553
534
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
554
535
|
}
|
|
555
|
-
var
|
|
536
|
+
var gt = Br(function(e) {
|
|
556
537
|
return function(r) {
|
|
557
538
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
558
539
|
` + r.map(function(n, i) {
|
|
@@ -561,13 +542,13 @@ var mt = Hr(function(e) {
|
|
|
561
542
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
562
543
|
};
|
|
563
544
|
});
|
|
564
|
-
function
|
|
545
|
+
function Lt(e, t) {
|
|
565
546
|
if (e) {
|
|
566
547
|
var r = e.indexOf(t);
|
|
567
548
|
0 <= r && e.splice(r, 1);
|
|
568
549
|
}
|
|
569
550
|
}
|
|
570
|
-
var
|
|
551
|
+
var ct = function() {
|
|
571
552
|
function e(t) {
|
|
572
553
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
573
554
|
}
|
|
@@ -579,7 +560,7 @@ var lt = function() {
|
|
|
579
560
|
if (s)
|
|
580
561
|
if (this._parentage = null, Array.isArray(s))
|
|
581
562
|
try {
|
|
582
|
-
for (var a =
|
|
563
|
+
for (var a = Bt(s), l = a.next(); !l.done; l = a.next()) {
|
|
583
564
|
var u = l.value;
|
|
584
565
|
u.remove(this);
|
|
585
566
|
}
|
|
@@ -596,22 +577,22 @@ var lt = function() {
|
|
|
596
577
|
else
|
|
597
578
|
s.remove(this);
|
|
598
579
|
var c = this.initialTeardown;
|
|
599
|
-
if (
|
|
580
|
+
if (ce(c))
|
|
600
581
|
try {
|
|
601
582
|
c();
|
|
602
583
|
} catch (y) {
|
|
603
|
-
o = y instanceof
|
|
584
|
+
o = y instanceof gt ? y.errors : [y];
|
|
604
585
|
}
|
|
605
586
|
var p = this._finalizers;
|
|
606
587
|
if (p) {
|
|
607
588
|
this._finalizers = null;
|
|
608
589
|
try {
|
|
609
|
-
for (var h =
|
|
590
|
+
for (var h = Bt(p), g = h.next(); !g.done; g = h.next()) {
|
|
610
591
|
var x = g.value;
|
|
611
592
|
try {
|
|
612
|
-
|
|
593
|
+
Zt(x);
|
|
613
594
|
} catch (y) {
|
|
614
|
-
o = o ?? [], y instanceof
|
|
595
|
+
o = o ?? [], y instanceof gt ? o = Ot(Ot([], Pt(o)), Pt(y.errors)) : o.push(y);
|
|
615
596
|
}
|
|
616
597
|
}
|
|
617
598
|
} catch (y) {
|
|
@@ -626,13 +607,13 @@ var lt = function() {
|
|
|
626
607
|
}
|
|
627
608
|
}
|
|
628
609
|
if (o)
|
|
629
|
-
throw new
|
|
610
|
+
throw new gt(o);
|
|
630
611
|
}
|
|
631
612
|
}, e.prototype.add = function(t) {
|
|
632
613
|
var r;
|
|
633
614
|
if (t && t !== this)
|
|
634
615
|
if (this.closed)
|
|
635
|
-
|
|
616
|
+
Zt(t);
|
|
636
617
|
else {
|
|
637
618
|
if (t instanceof e) {
|
|
638
619
|
if (t.closed || t._hasParent(this))
|
|
@@ -649,32 +630,28 @@ var lt = function() {
|
|
|
649
630
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
650
631
|
}, e.prototype._removeParent = function(t) {
|
|
651
632
|
var r = this._parentage;
|
|
652
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
633
|
+
r === t ? this._parentage = null : Array.isArray(r) && Lt(r, t);
|
|
653
634
|
}, e.prototype.remove = function(t) {
|
|
654
635
|
var r = this._finalizers;
|
|
655
|
-
r &&
|
|
636
|
+
r && Lt(r, t), t instanceof e && t._removeParent(this);
|
|
656
637
|
}, e.EMPTY = function() {
|
|
657
638
|
var t = new e();
|
|
658
639
|
return t.closed = !0, t;
|
|
659
640
|
}(), e;
|
|
660
|
-
}(),
|
|
661
|
-
function
|
|
662
|
-
return e instanceof
|
|
641
|
+
}(), Pr = ct.EMPTY;
|
|
642
|
+
function Or(e) {
|
|
643
|
+
return e instanceof ct || e && "closed" in e && ce(e.remove) && ce(e.add) && ce(e.unsubscribe);
|
|
663
644
|
}
|
|
664
|
-
function
|
|
665
|
-
|
|
645
|
+
function Zt(e) {
|
|
646
|
+
ce(e) ? e() : e.unsubscribe();
|
|
666
647
|
}
|
|
667
|
-
var
|
|
668
|
-
|
|
669
|
-
onStoppedNotification: null,
|
|
670
|
-
Promise: void 0,
|
|
671
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
672
|
-
useDeprecatedNextContext: !1
|
|
648
|
+
var On = {
|
|
649
|
+
Promise: void 0
|
|
673
650
|
}, Ln = {
|
|
674
651
|
setTimeout: function(e, t) {
|
|
675
652
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
676
653
|
r[n - 2] = arguments[n];
|
|
677
|
-
return setTimeout.apply(void 0,
|
|
654
|
+
return setTimeout.apply(void 0, Ot([e, t], Pt(r)));
|
|
678
655
|
},
|
|
679
656
|
clearTimeout: function(e) {
|
|
680
657
|
return clearTimeout(e);
|
|
@@ -686,19 +663,19 @@ function Cn(e) {
|
|
|
686
663
|
throw e;
|
|
687
664
|
});
|
|
688
665
|
}
|
|
689
|
-
function
|
|
666
|
+
function Qt() {
|
|
690
667
|
}
|
|
691
668
|
function it(e) {
|
|
692
669
|
e();
|
|
693
670
|
}
|
|
694
671
|
var Lr = function(e) {
|
|
695
|
-
|
|
672
|
+
ze(t, e);
|
|
696
673
|
function t(r) {
|
|
697
674
|
var n = e.call(this) || this;
|
|
698
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
675
|
+
return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = Mn, n;
|
|
699
676
|
}
|
|
700
677
|
return t.create = function(r, n, i) {
|
|
701
|
-
return new
|
|
678
|
+
return new Ct(r, n, i);
|
|
702
679
|
}, t.prototype.next = function(r) {
|
|
703
680
|
this.isStopped || this._next(r);
|
|
704
681
|
}, t.prototype.error = function(r) {
|
|
@@ -722,11 +699,7 @@ var Lr = function(e) {
|
|
|
722
699
|
this.unsubscribe();
|
|
723
700
|
}
|
|
724
701
|
}, t;
|
|
725
|
-
}(
|
|
726
|
-
function bt(e, t) {
|
|
727
|
-
return In.call(e, t);
|
|
728
|
-
}
|
|
729
|
-
var On = function() {
|
|
702
|
+
}(ct), In = function() {
|
|
730
703
|
function e(t) {
|
|
731
704
|
this.partialObserver = t;
|
|
732
705
|
}
|
|
@@ -757,27 +730,15 @@ var On = function() {
|
|
|
757
730
|
tt(r);
|
|
758
731
|
}
|
|
759
732
|
}, e;
|
|
760
|
-
}(),
|
|
761
|
-
|
|
733
|
+
}(), Ct = function(e) {
|
|
734
|
+
ze(t, e);
|
|
762
735
|
function t(r, n, i) {
|
|
763
736
|
var o = e.call(this) || this, s;
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
};
|
|
770
|
-
else {
|
|
771
|
-
var a;
|
|
772
|
-
o && Pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
773
|
-
return o.unsubscribe();
|
|
774
|
-
}, s = {
|
|
775
|
-
next: r.next && bt(r.next, a),
|
|
776
|
-
error: r.error && bt(r.error, a),
|
|
777
|
-
complete: r.complete && bt(r.complete, a)
|
|
778
|
-
}) : s = r;
|
|
779
|
-
}
|
|
780
|
-
return o.destination = new On(s), o;
|
|
737
|
+
return ce(r) || !r ? s = {
|
|
738
|
+
next: r ?? void 0,
|
|
739
|
+
error: n ?? void 0,
|
|
740
|
+
complete: i ?? void 0
|
|
741
|
+
} : s = r, o.destination = new In(s), o;
|
|
781
742
|
}
|
|
782
743
|
return t;
|
|
783
744
|
}(Lr);
|
|
@@ -789,9 +750,9 @@ function Nn(e) {
|
|
|
789
750
|
}
|
|
790
751
|
var Mn = {
|
|
791
752
|
closed: !0,
|
|
792
|
-
next:
|
|
753
|
+
next: Qt,
|
|
793
754
|
error: Nn,
|
|
794
|
-
complete:
|
|
755
|
+
complete: Qt
|
|
795
756
|
}, Rn = function() {
|
|
796
757
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
797
758
|
}();
|
|
@@ -805,7 +766,7 @@ function Dn(e) {
|
|
|
805
766
|
}, r);
|
|
806
767
|
};
|
|
807
768
|
}
|
|
808
|
-
var
|
|
769
|
+
var Yt = function() {
|
|
809
770
|
function e(t) {
|
|
810
771
|
t && (this._subscribe = t);
|
|
811
772
|
}
|
|
@@ -813,7 +774,7 @@ var Zt = function() {
|
|
|
813
774
|
var r = new e();
|
|
814
775
|
return r.source = this, r.operator = t, r;
|
|
815
776
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
816
|
-
var i = this, o =
|
|
777
|
+
var i = this, o = jn(t) ? t : new Ct(t, r, n);
|
|
817
778
|
return it(function() {
|
|
818
779
|
var s = i, a = s.operator, l = s.source;
|
|
819
780
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -826,8 +787,8 @@ var Zt = function() {
|
|
|
826
787
|
}
|
|
827
788
|
}, e.prototype.forEach = function(t, r) {
|
|
828
789
|
var n = this;
|
|
829
|
-
return r =
|
|
830
|
-
var s = new
|
|
790
|
+
return r = qt(r), new r(function(i, o) {
|
|
791
|
+
var s = new Ct({
|
|
831
792
|
next: function(a) {
|
|
832
793
|
try {
|
|
833
794
|
t(a);
|
|
@@ -851,7 +812,7 @@ var Zt = function() {
|
|
|
851
812
|
return Dn(t)(this);
|
|
852
813
|
}, e.prototype.toPromise = function(t) {
|
|
853
814
|
var r = this;
|
|
854
|
-
return t =
|
|
815
|
+
return t = qt(t), new t(function(n, i) {
|
|
855
816
|
var o;
|
|
856
817
|
r.subscribe(function(s) {
|
|
857
818
|
return o = s;
|
|
@@ -865,32 +826,32 @@ var Zt = function() {
|
|
|
865
826
|
return new e(t);
|
|
866
827
|
}, e;
|
|
867
828
|
}();
|
|
868
|
-
function
|
|
829
|
+
function qt(e) {
|
|
869
830
|
var t;
|
|
870
|
-
return (t = e ??
|
|
831
|
+
return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
|
|
871
832
|
}
|
|
872
833
|
function kn(e) {
|
|
873
|
-
return e &&
|
|
834
|
+
return e && ce(e.next) && ce(e.error) && ce(e.complete);
|
|
874
835
|
}
|
|
875
|
-
function
|
|
876
|
-
return e && e instanceof Lr || kn(e) &&
|
|
836
|
+
function jn(e) {
|
|
837
|
+
return e && e instanceof Lr || kn(e) && Or(e);
|
|
877
838
|
}
|
|
878
|
-
var
|
|
839
|
+
var Gn = Br(function(e) {
|
|
879
840
|
return function() {
|
|
880
841
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
881
842
|
};
|
|
882
843
|
}), Cr = function(e) {
|
|
883
|
-
|
|
844
|
+
ze(t, e);
|
|
884
845
|
function t() {
|
|
885
846
|
var r = e.call(this) || this;
|
|
886
847
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
887
848
|
}
|
|
888
849
|
return t.prototype.lift = function(r) {
|
|
889
|
-
var n = new
|
|
850
|
+
var n = new Kt(this, this);
|
|
890
851
|
return n.operator = r, n;
|
|
891
852
|
}, t.prototype._throwIfClosed = function() {
|
|
892
853
|
if (this.closed)
|
|
893
|
-
throw new
|
|
854
|
+
throw new Gn();
|
|
894
855
|
}, t.prototype.next = function(r) {
|
|
895
856
|
var n = this;
|
|
896
857
|
it(function() {
|
|
@@ -898,7 +859,7 @@ var jn = Hr(function(e) {
|
|
|
898
859
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
899
860
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
900
861
|
try {
|
|
901
|
-
for (var s =
|
|
862
|
+
for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
902
863
|
var l = a.value;
|
|
903
864
|
l.next(r);
|
|
904
865
|
}
|
|
@@ -947,20 +908,20 @@ var jn = Hr(function(e) {
|
|
|
947
908
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
948
909
|
}, t.prototype._innerSubscribe = function(r) {
|
|
949
910
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
950
|
-
return o || s ?
|
|
951
|
-
n.currentObservers = null,
|
|
911
|
+
return o || s ? Pr : (this.currentObservers = null, a.push(r), new ct(function() {
|
|
912
|
+
n.currentObservers = null, Lt(a, r);
|
|
952
913
|
}));
|
|
953
914
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
954
915
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
955
916
|
i ? r.error(o) : s && r.complete();
|
|
956
917
|
}, t.prototype.asObservable = function() {
|
|
957
|
-
var r = new
|
|
918
|
+
var r = new Yt();
|
|
958
919
|
return r.source = this, r;
|
|
959
920
|
}, t.create = function(r, n) {
|
|
960
|
-
return new
|
|
921
|
+
return new Kt(r, n);
|
|
961
922
|
}, t;
|
|
962
|
-
}(
|
|
963
|
-
|
|
923
|
+
}(Yt), Kt = function(e) {
|
|
924
|
+
ze(t, e);
|
|
964
925
|
function t(r, n) {
|
|
965
926
|
var i = e.call(this) || this;
|
|
966
927
|
return i.destination = r, i.source = n, i;
|
|
@@ -976,15 +937,15 @@ var jn = Hr(function(e) {
|
|
|
976
937
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
977
938
|
}, t.prototype._subscribe = function(r) {
|
|
978
939
|
var n, i;
|
|
979
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
940
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
|
|
980
941
|
}, t;
|
|
981
942
|
}(Cr), Ir = {
|
|
982
943
|
now: function() {
|
|
983
944
|
return (Ir.delegate || Date).now();
|
|
984
945
|
},
|
|
985
946
|
delegate: void 0
|
|
986
|
-
},
|
|
987
|
-
|
|
947
|
+
}, $n = function(e) {
|
|
948
|
+
ze(t, e);
|
|
988
949
|
function t(r, n, i) {
|
|
989
950
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
|
|
990
951
|
var o = e.call(this) || this;
|
|
@@ -1007,23 +968,23 @@ var jn = Hr(function(e) {
|
|
|
1007
968
|
}
|
|
1008
969
|
}, t;
|
|
1009
970
|
}(Cr);
|
|
1010
|
-
const
|
|
1011
|
-
if (
|
|
1012
|
-
const r = new
|
|
1013
|
-
|
|
971
|
+
const er = [], tr = {}, Fn = (e, t = 0) => {
|
|
972
|
+
if (er.indexOf(e) == -1) {
|
|
973
|
+
const r = new $n(t);
|
|
974
|
+
tr[e] = r, er.push(e);
|
|
1014
975
|
}
|
|
1015
|
-
return
|
|
976
|
+
return tr[e];
|
|
1016
977
|
}, He = [];
|
|
1017
978
|
function Vn(e, t) {
|
|
1018
979
|
return {
|
|
1019
|
-
subscribe:
|
|
980
|
+
subscribe: ht(e, t).subscribe
|
|
1020
981
|
};
|
|
1021
982
|
}
|
|
1022
|
-
function
|
|
983
|
+
function ht(e, t = Z) {
|
|
1023
984
|
let r;
|
|
1024
985
|
const n = /* @__PURE__ */ new Set();
|
|
1025
986
|
function i(a) {
|
|
1026
|
-
if (
|
|
987
|
+
if (wr(e, a) && (e = a, r)) {
|
|
1027
988
|
const l = !He.length;
|
|
1028
989
|
for (const u of n)
|
|
1029
990
|
u[1](), He.push(u, e);
|
|
@@ -1045,7 +1006,7 @@ function ct(e, t = Z) {
|
|
|
1045
1006
|
}
|
|
1046
1007
|
return { set: i, update: o, subscribe: s };
|
|
1047
1008
|
}
|
|
1048
|
-
function
|
|
1009
|
+
function Ie(e, t, r) {
|
|
1049
1010
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1050
1011
|
if (!i.every(Boolean))
|
|
1051
1012
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1059,9 +1020,9 @@ function Ne(e, t, r) {
|
|
|
1059
1020
|
return;
|
|
1060
1021
|
p();
|
|
1061
1022
|
const x = t(n ? u[0] : u, s, a);
|
|
1062
|
-
o ? s(x) : p =
|
|
1023
|
+
o ? s(x) : p = $t(x) ? x : Z;
|
|
1063
1024
|
}, g = i.map(
|
|
1064
|
-
(x, y) =>
|
|
1025
|
+
(x, y) => sn(
|
|
1065
1026
|
x,
|
|
1066
1027
|
(v) => {
|
|
1067
1028
|
u[y] = v, c &= ~(1 << y), l && h();
|
|
@@ -1072,7 +1033,7 @@ function Ne(e, t, r) {
|
|
|
1072
1033
|
)
|
|
1073
1034
|
);
|
|
1074
1035
|
return l = !0, h(), function() {
|
|
1075
|
-
|
|
1036
|
+
Xe(g), p(), l = !1;
|
|
1076
1037
|
};
|
|
1077
1038
|
});
|
|
1078
1039
|
}
|
|
@@ -1096,29 +1057,29 @@ function Yn(e) {
|
|
|
1096
1057
|
function qn(e) {
|
|
1097
1058
|
return Array.isArray(e) ? [] : {};
|
|
1098
1059
|
}
|
|
1099
|
-
function
|
|
1100
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1060
|
+
function Ve(e, t) {
|
|
1061
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Pe(qn(e), e, t) : e;
|
|
1101
1062
|
}
|
|
1102
1063
|
function Kn(e, t, r) {
|
|
1103
1064
|
return e.concat(t).map(function(n) {
|
|
1104
|
-
return
|
|
1065
|
+
return Ve(n, r);
|
|
1105
1066
|
});
|
|
1106
1067
|
}
|
|
1107
1068
|
function ei(e, t) {
|
|
1108
1069
|
if (!t.customMerge)
|
|
1109
|
-
return
|
|
1070
|
+
return Pe;
|
|
1110
1071
|
var r = t.customMerge(e);
|
|
1111
|
-
return typeof r == "function" ? r :
|
|
1072
|
+
return typeof r == "function" ? r : Pe;
|
|
1112
1073
|
}
|
|
1113
1074
|
function ti(e) {
|
|
1114
1075
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1115
1076
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1116
1077
|
}) : [];
|
|
1117
1078
|
}
|
|
1118
|
-
function
|
|
1079
|
+
function rr(e) {
|
|
1119
1080
|
return Object.keys(e).concat(ti(e));
|
|
1120
1081
|
}
|
|
1121
|
-
function
|
|
1082
|
+
function Nr(e, t) {
|
|
1122
1083
|
try {
|
|
1123
1084
|
return t in e;
|
|
1124
1085
|
} catch {
|
|
@@ -1126,129 +1087,179 @@ function Or(e, t) {
|
|
|
1126
1087
|
}
|
|
1127
1088
|
}
|
|
1128
1089
|
function ri(e, t) {
|
|
1129
|
-
return
|
|
1090
|
+
return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1130
1091
|
}
|
|
1131
1092
|
function ni(e, t, r) {
|
|
1132
1093
|
var n = {};
|
|
1133
|
-
return r.isMergeableObject(e) &&
|
|
1134
|
-
n[i] =
|
|
1135
|
-
}),
|
|
1136
|
-
ri(e, i) || (
|
|
1094
|
+
return r.isMergeableObject(e) && rr(e).forEach(function(i) {
|
|
1095
|
+
n[i] = Ve(e[i], r);
|
|
1096
|
+
}), rr(t).forEach(function(i) {
|
|
1097
|
+
ri(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Ve(t[i], r));
|
|
1137
1098
|
}), n;
|
|
1138
1099
|
}
|
|
1139
|
-
function
|
|
1140
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified =
|
|
1100
|
+
function Pe(e, t, r) {
|
|
1101
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Ve;
|
|
1141
1102
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1142
|
-
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) :
|
|
1103
|
+
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Ve(t, r);
|
|
1143
1104
|
}
|
|
1144
|
-
|
|
1105
|
+
Pe.all = function(t, r) {
|
|
1145
1106
|
if (!Array.isArray(t))
|
|
1146
1107
|
throw new Error("first argument should be an array");
|
|
1147
1108
|
return t.reduce(function(n, i) {
|
|
1148
|
-
return
|
|
1109
|
+
return Pe(n, i, r);
|
|
1149
1110
|
}, {});
|
|
1150
1111
|
};
|
|
1151
|
-
var ii =
|
|
1112
|
+
var ii = Pe, oi = ii;
|
|
1152
1113
|
const si = /* @__PURE__ */ Wn(oi);
|
|
1153
|
-
function
|
|
1154
|
-
|
|
1114
|
+
var It = function(e, t) {
|
|
1115
|
+
return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1116
|
+
r.__proto__ = n;
|
|
1117
|
+
} || function(r, n) {
|
|
1118
|
+
for (var i in n)
|
|
1119
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1120
|
+
}, It(e, t);
|
|
1121
|
+
};
|
|
1122
|
+
function ft(e, t) {
|
|
1123
|
+
if (typeof t != "function" && t !== null)
|
|
1124
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1125
|
+
It(e, t);
|
|
1126
|
+
function r() {
|
|
1127
|
+
this.constructor = e;
|
|
1128
|
+
}
|
|
1129
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1130
|
+
}
|
|
1131
|
+
var re = function() {
|
|
1132
|
+
return re = Object.assign || function(t) {
|
|
1133
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1134
|
+
r = arguments[n];
|
|
1135
|
+
for (var o in r)
|
|
1136
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1137
|
+
}
|
|
1138
|
+
return t;
|
|
1139
|
+
}, re.apply(this, arguments);
|
|
1140
|
+
};
|
|
1141
|
+
function ai(e, t) {
|
|
1142
|
+
var r = {};
|
|
1143
|
+
for (var n in e)
|
|
1144
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1145
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1146
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1147
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1148
|
+
return r;
|
|
1149
|
+
}
|
|
1150
|
+
function yt(e, t, r) {
|
|
1151
|
+
if (r || arguments.length === 2)
|
|
1152
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1153
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1154
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1155
|
+
}
|
|
1156
|
+
function vt(e, t) {
|
|
1157
|
+
var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : ci;
|
|
1155
1158
|
return i(e, {
|
|
1156
1159
|
cache: r,
|
|
1157
1160
|
serializer: n
|
|
1158
1161
|
});
|
|
1159
1162
|
}
|
|
1160
|
-
function
|
|
1163
|
+
function ui(e) {
|
|
1161
1164
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1162
1165
|
}
|
|
1163
|
-
function
|
|
1164
|
-
var i =
|
|
1166
|
+
function li(e, t, r, n) {
|
|
1167
|
+
var i = ui(n) ? n : r(n), o = t.get(i);
|
|
1165
1168
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1166
1169
|
}
|
|
1167
1170
|
function Mr(e, t, r) {
|
|
1168
1171
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1169
1172
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1170
1173
|
}
|
|
1171
|
-
function
|
|
1174
|
+
function Rr(e, t, r, n, i) {
|
|
1172
1175
|
return r.bind(t, e, n, i);
|
|
1173
1176
|
}
|
|
1174
|
-
function ui(e, t) {
|
|
1175
|
-
var r = e.length === 1 ? Nr : Mr;
|
|
1176
|
-
return kt(e, this, r, t.cache.create(), t.serializer);
|
|
1177
|
-
}
|
|
1178
|
-
function li(e, t) {
|
|
1179
|
-
return kt(e, this, Mr, t.cache.create(), t.serializer);
|
|
1180
|
-
}
|
|
1181
1177
|
function ci(e, t) {
|
|
1182
|
-
|
|
1178
|
+
var r = e.length === 1 ? li : Mr;
|
|
1179
|
+
return Rr(e, this, r, t.cache.create(), t.serializer);
|
|
1183
1180
|
}
|
|
1184
|
-
|
|
1185
|
-
return
|
|
1186
|
-
};
|
|
1187
|
-
function Gt() {
|
|
1188
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1181
|
+
function hi(e, t) {
|
|
1182
|
+
return Rr(e, this, Mr, t.cache.create(), t.serializer);
|
|
1189
1183
|
}
|
|
1190
|
-
|
|
1191
|
-
return
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1184
|
+
var fi = function() {
|
|
1185
|
+
return JSON.stringify(arguments);
|
|
1186
|
+
}, pi = (
|
|
1187
|
+
/** @class */
|
|
1188
|
+
function() {
|
|
1189
|
+
function e() {
|
|
1190
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1191
|
+
}
|
|
1192
|
+
return e.prototype.get = function(t) {
|
|
1193
|
+
return this.cache[t];
|
|
1194
|
+
}, e.prototype.set = function(t, r) {
|
|
1195
|
+
this.cache[t] = r;
|
|
1196
|
+
}, e;
|
|
1197
|
+
}()
|
|
1198
|
+
), di = {
|
|
1197
1199
|
create: function() {
|
|
1198
|
-
return new
|
|
1200
|
+
return new pi();
|
|
1199
1201
|
}
|
|
1200
|
-
},
|
|
1201
|
-
variadic:
|
|
1202
|
-
|
|
1203
|
-
|
|
1202
|
+
}, _t = {
|
|
1203
|
+
variadic: hi
|
|
1204
|
+
}, at = function() {
|
|
1205
|
+
return at = Object.assign || function(t) {
|
|
1206
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1207
|
+
r = arguments[n];
|
|
1208
|
+
for (var o in r)
|
|
1209
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1210
|
+
}
|
|
1211
|
+
return t;
|
|
1212
|
+
}, at.apply(this, arguments);
|
|
1213
|
+
};
|
|
1214
|
+
var S;
|
|
1204
1215
|
(function(e) {
|
|
1205
1216
|
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";
|
|
1206
1217
|
})(S || (S = {}));
|
|
1207
|
-
var
|
|
1218
|
+
var B;
|
|
1208
1219
|
(function(e) {
|
|
1209
1220
|
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";
|
|
1210
|
-
})(
|
|
1211
|
-
var
|
|
1221
|
+
})(B || (B = {}));
|
|
1222
|
+
var Oe;
|
|
1212
1223
|
(function(e) {
|
|
1213
1224
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1214
|
-
})(
|
|
1215
|
-
function
|
|
1216
|
-
return e.type ===
|
|
1217
|
-
}
|
|
1218
|
-
function pi(e) {
|
|
1219
|
-
return e.type === P.argument;
|
|
1225
|
+
})(Oe || (Oe = {}));
|
|
1226
|
+
function nr(e) {
|
|
1227
|
+
return e.type === B.literal;
|
|
1220
1228
|
}
|
|
1221
|
-
function
|
|
1222
|
-
return e.type ===
|
|
1229
|
+
function mi(e) {
|
|
1230
|
+
return e.type === B.argument;
|
|
1223
1231
|
}
|
|
1224
1232
|
function Ur(e) {
|
|
1225
|
-
return e.type ===
|
|
1233
|
+
return e.type === B.number;
|
|
1226
1234
|
}
|
|
1227
1235
|
function Dr(e) {
|
|
1228
|
-
return e.type ===
|
|
1236
|
+
return e.type === B.date;
|
|
1229
1237
|
}
|
|
1230
1238
|
function kr(e) {
|
|
1231
|
-
return e.type ===
|
|
1239
|
+
return e.type === B.time;
|
|
1240
|
+
}
|
|
1241
|
+
function jr(e) {
|
|
1242
|
+
return e.type === B.select;
|
|
1232
1243
|
}
|
|
1233
1244
|
function Gr(e) {
|
|
1234
|
-
return e.type ===
|
|
1245
|
+
return e.type === B.plural;
|
|
1235
1246
|
}
|
|
1236
|
-
function
|
|
1237
|
-
return e.type ===
|
|
1247
|
+
function bi(e) {
|
|
1248
|
+
return e.type === B.pound;
|
|
1238
1249
|
}
|
|
1239
|
-
function
|
|
1240
|
-
return e.type ===
|
|
1250
|
+
function $r(e) {
|
|
1251
|
+
return e.type === B.tag;
|
|
1241
1252
|
}
|
|
1242
1253
|
function Fr(e) {
|
|
1243
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1254
|
+
return !!(e && typeof e == "object" && e.type === Oe.number);
|
|
1244
1255
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1256
|
+
function Nt(e) {
|
|
1257
|
+
return !!(e && typeof e == "object" && e.type === Oe.dateTime);
|
|
1247
1258
|
}
|
|
1248
|
-
var
|
|
1249
|
-
function
|
|
1259
|
+
var Vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[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;
|
|
1260
|
+
function yi(e) {
|
|
1250
1261
|
var t = {};
|
|
1251
|
-
return e.replace(
|
|
1262
|
+
return e.replace(gi, function(r) {
|
|
1252
1263
|
var n = r.length;
|
|
1253
1264
|
switch (r[0]) {
|
|
1254
1265
|
case "G":
|
|
@@ -1337,11 +1348,21 @@ function bi(e) {
|
|
|
1337
1348
|
return "";
|
|
1338
1349
|
}), t;
|
|
1339
1350
|
}
|
|
1340
|
-
var
|
|
1341
|
-
function
|
|
1351
|
+
var L = function() {
|
|
1352
|
+
return L = Object.assign || function(t) {
|
|
1353
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1354
|
+
r = arguments[n];
|
|
1355
|
+
for (var o in r)
|
|
1356
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1357
|
+
}
|
|
1358
|
+
return t;
|
|
1359
|
+
}, L.apply(this, arguments);
|
|
1360
|
+
};
|
|
1361
|
+
var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1362
|
+
function _i(e) {
|
|
1342
1363
|
if (e.length === 0)
|
|
1343
1364
|
throw new Error("Number skeleton cannot be empty");
|
|
1344
|
-
for (var t = e.split(
|
|
1365
|
+
for (var t = e.split(vi).filter(function(h) {
|
|
1345
1366
|
return h.length > 0;
|
|
1346
1367
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1347
1368
|
var o = i[n], s = o.split("/");
|
|
@@ -1356,17 +1377,17 @@ function yi(e) {
|
|
|
1356
1377
|
}
|
|
1357
1378
|
return r;
|
|
1358
1379
|
}
|
|
1359
|
-
function
|
|
1380
|
+
function Ei(e) {
|
|
1360
1381
|
return e.replace(/^(.*?)-/, "");
|
|
1361
1382
|
}
|
|
1362
|
-
var
|
|
1363
|
-
function
|
|
1383
|
+
var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wr = /^(@+)?(\+|#+)?[rs]?$/g, xi = /(\*)(0+)|(#+)(0+)|(0+)/g, Xr = /^(0+)$/;
|
|
1384
|
+
function or(e) {
|
|
1364
1385
|
var t = {};
|
|
1365
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1386
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wr, function(r, n, i) {
|
|
1366
1387
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1367
1388
|
}), t;
|
|
1368
1389
|
}
|
|
1369
|
-
function
|
|
1390
|
+
function zr(e) {
|
|
1370
1391
|
switch (e) {
|
|
1371
1392
|
case "sign-auto":
|
|
1372
1393
|
return {
|
|
@@ -1406,7 +1427,7 @@ function Xr(e) {
|
|
|
1406
1427
|
};
|
|
1407
1428
|
}
|
|
1408
1429
|
}
|
|
1409
|
-
function
|
|
1430
|
+
function Si(e) {
|
|
1410
1431
|
var t;
|
|
1411
1432
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1412
1433
|
notation: "engineering"
|
|
@@ -1414,17 +1435,17 @@ function Ei(e) {
|
|
|
1414
1435
|
notation: "scientific"
|
|
1415
1436
|
}, e = e.slice(1)), t) {
|
|
1416
1437
|
var r = e.slice(0, 2);
|
|
1417
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1438
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xr.test(e))
|
|
1418
1439
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1419
1440
|
t.minimumIntegerDigits = e.length;
|
|
1420
1441
|
}
|
|
1421
1442
|
return t;
|
|
1422
1443
|
}
|
|
1423
|
-
function
|
|
1424
|
-
var t = {}, r =
|
|
1444
|
+
function sr(e) {
|
|
1445
|
+
var t = {}, r = zr(e);
|
|
1425
1446
|
return r || t;
|
|
1426
1447
|
}
|
|
1427
|
-
function
|
|
1448
|
+
function Ti(e) {
|
|
1428
1449
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1429
1450
|
var i = n[r];
|
|
1430
1451
|
switch (i.stem) {
|
|
@@ -1448,7 +1469,7 @@ function xi(e) {
|
|
|
1448
1469
|
continue;
|
|
1449
1470
|
case "measure-unit":
|
|
1450
1471
|
case "unit":
|
|
1451
|
-
t.style = "unit", t.unit =
|
|
1472
|
+
t.style = "unit", t.unit = Ei(i.options[0]);
|
|
1452
1473
|
continue;
|
|
1453
1474
|
case "compact-short":
|
|
1454
1475
|
case "K":
|
|
@@ -1459,13 +1480,13 @@ function xi(e) {
|
|
|
1459
1480
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1460
1481
|
continue;
|
|
1461
1482
|
case "scientific":
|
|
1462
|
-
t =
|
|
1463
|
-
return
|
|
1483
|
+
t = L(L(L({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1484
|
+
return L(L({}, l), sr(u));
|
|
1464
1485
|
}, {}));
|
|
1465
1486
|
continue;
|
|
1466
1487
|
case "engineering":
|
|
1467
|
-
t =
|
|
1468
|
-
return
|
|
1488
|
+
t = L(L(L({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1489
|
+
return L(L({}, l), sr(u));
|
|
1469
1490
|
}, {}));
|
|
1470
1491
|
continue;
|
|
1471
1492
|
case "notation-simple":
|
|
@@ -1510,7 +1531,7 @@ function xi(e) {
|
|
|
1510
1531
|
case "integer-width":
|
|
1511
1532
|
if (i.options.length > 1)
|
|
1512
1533
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1513
|
-
i.options[0].replace(
|
|
1534
|
+
i.options[0].replace(xi, function(l, u, c, p, h, g) {
|
|
1514
1535
|
if (u)
|
|
1515
1536
|
t.minimumIntegerDigits = c.length;
|
|
1516
1537
|
else {
|
|
@@ -1523,28 +1544,28 @@ function xi(e) {
|
|
|
1523
1544
|
});
|
|
1524
1545
|
continue;
|
|
1525
1546
|
}
|
|
1526
|
-
if (
|
|
1547
|
+
if (Xr.test(i.stem)) {
|
|
1527
1548
|
t.minimumIntegerDigits = i.stem.length;
|
|
1528
1549
|
continue;
|
|
1529
1550
|
}
|
|
1530
|
-
if (
|
|
1551
|
+
if (ir.test(i.stem)) {
|
|
1531
1552
|
if (i.options.length > 1)
|
|
1532
1553
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1533
|
-
i.stem.replace(
|
|
1554
|
+
i.stem.replace(ir, function(l, u, c, p, h, g) {
|
|
1534
1555
|
return c === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1535
1556
|
});
|
|
1536
1557
|
var o = i.options[0];
|
|
1537
|
-
o === "w" ? t =
|
|
1558
|
+
o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), or(o)));
|
|
1538
1559
|
continue;
|
|
1539
1560
|
}
|
|
1540
|
-
if (
|
|
1541
|
-
t =
|
|
1561
|
+
if (Wr.test(i.stem)) {
|
|
1562
|
+
t = L(L({}, t), or(i.stem));
|
|
1542
1563
|
continue;
|
|
1543
1564
|
}
|
|
1544
|
-
var s =
|
|
1545
|
-
s && (t =
|
|
1546
|
-
var a =
|
|
1547
|
-
a && (t =
|
|
1565
|
+
var s = zr(i.stem);
|
|
1566
|
+
s && (t = L(L({}, t), s));
|
|
1567
|
+
var a = Si(i.stem);
|
|
1568
|
+
a && (t = L(L({}, t), a));
|
|
1548
1569
|
}
|
|
1549
1570
|
return t;
|
|
1550
1571
|
}
|
|
@@ -2963,13 +2984,13 @@ var rt = {
|
|
|
2963
2984
|
"h"
|
|
2964
2985
|
]
|
|
2965
2986
|
};
|
|
2966
|
-
function
|
|
2987
|
+
function wi(e, t) {
|
|
2967
2988
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2968
2989
|
var i = e.charAt(n);
|
|
2969
2990
|
if (i === "j") {
|
|
2970
2991
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2971
2992
|
o++, n++;
|
|
2972
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2993
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hi(t);
|
|
2973
2994
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2974
2995
|
r += l;
|
|
2975
2996
|
for (; s-- > 0; )
|
|
@@ -2979,7 +3000,7 @@ function Si(e, t) {
|
|
|
2979
3000
|
}
|
|
2980
3001
|
return r;
|
|
2981
3002
|
}
|
|
2982
|
-
function
|
|
3003
|
+
function Hi(e) {
|
|
2983
3004
|
var t = e.hourCycle;
|
|
2984
3005
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2985
3006
|
e.hourCycles && // @ts-ignore
|
|
@@ -3001,20 +3022,20 @@ function Ti(e) {
|
|
|
3001
3022
|
var i = rt[n || ""] || rt[r || ""] || rt["".concat(r, "-001")] || rt["001"];
|
|
3002
3023
|
return i[0];
|
|
3003
3024
|
}
|
|
3004
|
-
var
|
|
3025
|
+
var Et, Ai = new RegExp("^".concat(Vr.source, "*")), Bi = new RegExp("".concat(Vr.source, "*$"));
|
|
3005
3026
|
function w(e, t) {
|
|
3006
3027
|
return { start: e, end: t };
|
|
3007
3028
|
}
|
|
3008
|
-
var
|
|
3029
|
+
var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String.fromCodePoint, Li = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ri = Mi ? Number.isSafeInteger : function(e) {
|
|
3009
3030
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3010
|
-
},
|
|
3031
|
+
}, Mt = !0;
|
|
3011
3032
|
try {
|
|
3012
|
-
var
|
|
3013
|
-
|
|
3033
|
+
var Ui = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3034
|
+
Mt = ((Et = Ui.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
|
|
3014
3035
|
} catch {
|
|
3015
|
-
|
|
3036
|
+
Mt = !1;
|
|
3016
3037
|
}
|
|
3017
|
-
var
|
|
3038
|
+
var ar = Pi ? (
|
|
3018
3039
|
// Native
|
|
3019
3040
|
function(t, r, n) {
|
|
3020
3041
|
return t.startsWith(r, n);
|
|
@@ -3024,7 +3045,7 @@ var or = Ai ? (
|
|
|
3024
3045
|
function(t, r, n) {
|
|
3025
3046
|
return t.slice(n, n + r.length) === r;
|
|
3026
3047
|
}
|
|
3027
|
-
),
|
|
3048
|
+
), Rt = Oi ? String.fromCodePoint : (
|
|
3028
3049
|
// IE11
|
|
3029
3050
|
function() {
|
|
3030
3051
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3036,9 +3057,9 @@ var or = Ai ? (
|
|
|
3036
3057
|
}
|
|
3037
3058
|
return n;
|
|
3038
3059
|
}
|
|
3039
|
-
),
|
|
3060
|
+
), ur = (
|
|
3040
3061
|
// native
|
|
3041
|
-
|
|
3062
|
+
Li ? Object.fromEntries : (
|
|
3042
3063
|
// Ponyfill
|
|
3043
3064
|
function(t) {
|
|
3044
3065
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3048,7 +3069,7 @@ var or = Ai ? (
|
|
|
3048
3069
|
return r;
|
|
3049
3070
|
}
|
|
3050
3071
|
)
|
|
3051
|
-
),
|
|
3072
|
+
), Jr = Ci ? (
|
|
3052
3073
|
// Native
|
|
3053
3074
|
function(t, r) {
|
|
3054
3075
|
return t.codePointAt(r);
|
|
@@ -3062,7 +3083,7 @@ var or = Ai ? (
|
|
|
3062
3083
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3063
3084
|
}
|
|
3064
3085
|
}
|
|
3065
|
-
),
|
|
3086
|
+
), Di = Ii ? (
|
|
3066
3087
|
// Native
|
|
3067
3088
|
function(t) {
|
|
3068
3089
|
return t.trimStart();
|
|
@@ -3070,9 +3091,9 @@ var or = Ai ? (
|
|
|
3070
3091
|
) : (
|
|
3071
3092
|
// Ponyfill
|
|
3072
3093
|
function(t) {
|
|
3073
|
-
return t.replace(
|
|
3094
|
+
return t.replace(Ai, "");
|
|
3074
3095
|
}
|
|
3075
|
-
),
|
|
3096
|
+
), ki = Ni ? (
|
|
3076
3097
|
// Native
|
|
3077
3098
|
function(t) {
|
|
3078
3099
|
return t.trimEnd();
|
|
@@ -3080,32 +3101,32 @@ var or = Ai ? (
|
|
|
3080
3101
|
) : (
|
|
3081
3102
|
// Ponyfill
|
|
3082
3103
|
function(t) {
|
|
3083
|
-
return t.replace(
|
|
3104
|
+
return t.replace(Bi, "");
|
|
3084
3105
|
}
|
|
3085
3106
|
);
|
|
3086
|
-
function
|
|
3107
|
+
function Zr(e, t) {
|
|
3087
3108
|
return new RegExp(e, t);
|
|
3088
3109
|
}
|
|
3089
|
-
var
|
|
3090
|
-
if (
|
|
3091
|
-
var
|
|
3092
|
-
|
|
3110
|
+
var Ut;
|
|
3111
|
+
if (Mt) {
|
|
3112
|
+
var lr = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3113
|
+
Ut = function(t, r) {
|
|
3093
3114
|
var n;
|
|
3094
|
-
|
|
3095
|
-
var i =
|
|
3115
|
+
lr.lastIndex = r;
|
|
3116
|
+
var i = lr.exec(t);
|
|
3096
3117
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3097
3118
|
};
|
|
3098
3119
|
} else
|
|
3099
|
-
|
|
3120
|
+
Ut = function(t, r) {
|
|
3100
3121
|
for (var n = []; ; ) {
|
|
3101
|
-
var i =
|
|
3102
|
-
if (i === void 0 ||
|
|
3122
|
+
var i = Jr(t, r);
|
|
3123
|
+
if (i === void 0 || Qr(i) || Fi(i))
|
|
3103
3124
|
break;
|
|
3104
3125
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3105
3126
|
}
|
|
3106
|
-
return
|
|
3127
|
+
return Rt.apply(void 0, n);
|
|
3107
3128
|
};
|
|
3108
|
-
var
|
|
3129
|
+
var ji = (
|
|
3109
3130
|
/** @class */
|
|
3110
3131
|
function() {
|
|
3111
3132
|
function e(t, r) {
|
|
@@ -3129,14 +3150,14 @@ var Di = (
|
|
|
3129
3150
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3130
3151
|
var a = this.clonePosition();
|
|
3131
3152
|
this.bump(), i.push({
|
|
3132
|
-
type:
|
|
3153
|
+
type: B.pound,
|
|
3133
3154
|
location: w(a, this.clonePosition())
|
|
3134
3155
|
});
|
|
3135
3156
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3136
3157
|
if (n)
|
|
3137
3158
|
break;
|
|
3138
3159
|
return this.error(S.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3139
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3160
|
+
} else if (o === 60 && !this.ignoreTag && Dt(this.peek() || 0)) {
|
|
3140
3161
|
var s = this.parseTag(t, r);
|
|
3141
3162
|
if (s.err)
|
|
3142
3163
|
return s;
|
|
@@ -3157,7 +3178,7 @@ var Di = (
|
|
|
3157
3178
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3158
3179
|
return {
|
|
3159
3180
|
val: {
|
|
3160
|
-
type:
|
|
3181
|
+
type: B.literal,
|
|
3161
3182
|
value: "<".concat(i, "/>"),
|
|
3162
3183
|
location: w(n, this.clonePosition())
|
|
3163
3184
|
},
|
|
@@ -3169,12 +3190,12 @@ var Di = (
|
|
|
3169
3190
|
return o;
|
|
3170
3191
|
var s = o.val, a = this.clonePosition();
|
|
3171
3192
|
if (this.bumpIf("</")) {
|
|
3172
|
-
if (this.isEOF() || !
|
|
3193
|
+
if (this.isEOF() || !Dt(this.char()))
|
|
3173
3194
|
return this.error(S.INVALID_TAG, w(a, this.clonePosition()));
|
|
3174
3195
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3175
3196
|
return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3176
3197
|
val: {
|
|
3177
|
-
type:
|
|
3198
|
+
type: B.tag,
|
|
3178
3199
|
value: i,
|
|
3179
3200
|
children: s,
|
|
3180
3201
|
location: w(n, this.clonePosition())
|
|
@@ -3187,7 +3208,7 @@ var Di = (
|
|
|
3187
3208
|
return this.error(S.INVALID_TAG, w(n, this.clonePosition()));
|
|
3188
3209
|
}, e.prototype.parseTagName = function() {
|
|
3189
3210
|
var t = this.offset();
|
|
3190
|
-
for (this.bump(); !this.isEOF() &&
|
|
3211
|
+
for (this.bump(); !this.isEOF() && $i(this.char()); )
|
|
3191
3212
|
this.bump();
|
|
3192
3213
|
return this.message.slice(t, this.offset());
|
|
3193
3214
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3211,12 +3232,12 @@ var Di = (
|
|
|
3211
3232
|
}
|
|
3212
3233
|
var l = w(n, this.clonePosition());
|
|
3213
3234
|
return {
|
|
3214
|
-
val: { type:
|
|
3235
|
+
val: { type: B.literal, value: i, location: l },
|
|
3215
3236
|
err: null
|
|
3216
3237
|
};
|
|
3217
3238
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3218
3239
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3219
|
-
!
|
|
3240
|
+
!Gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3220
3241
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3221
3242
|
if (this.isEOF() || this.char() !== 39)
|
|
3222
3243
|
return null;
|
|
@@ -3250,12 +3271,12 @@ var Di = (
|
|
|
3250
3271
|
r.push(n);
|
|
3251
3272
|
this.bump();
|
|
3252
3273
|
}
|
|
3253
|
-
return
|
|
3274
|
+
return Rt.apply(void 0, r);
|
|
3254
3275
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3255
3276
|
if (this.isEOF())
|
|
3256
3277
|
return null;
|
|
3257
3278
|
var n = this.char();
|
|
3258
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3279
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
|
|
3259
3280
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3260
3281
|
var n = this.clonePosition();
|
|
3261
3282
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3271,7 +3292,7 @@ var Di = (
|
|
|
3271
3292
|
case 125:
|
|
3272
3293
|
return this.bump(), {
|
|
3273
3294
|
val: {
|
|
3274
|
-
type:
|
|
3295
|
+
type: B.argument,
|
|
3275
3296
|
// value does not include the opening and closing braces.
|
|
3276
3297
|
value: i,
|
|
3277
3298
|
location: w(n, this.clonePosition())
|
|
@@ -3284,7 +3305,7 @@ var Di = (
|
|
|
3284
3305
|
return this.error(S.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3285
3306
|
}
|
|
3286
3307
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3287
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3308
|
+
var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
|
|
3288
3309
|
this.bumpTo(i);
|
|
3289
3310
|
var o = this.clonePosition(), s = w(t, o);
|
|
3290
3311
|
return { value: n, location: s };
|
|
@@ -3303,7 +3324,7 @@ var Di = (
|
|
|
3303
3324
|
var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
3304
3325
|
if (p.err)
|
|
3305
3326
|
return p;
|
|
3306
|
-
var h =
|
|
3327
|
+
var h = ki(p.val);
|
|
3307
3328
|
if (h.length === 0)
|
|
3308
3329
|
return this.error(S.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3309
3330
|
var g = w(c, this.clonePosition());
|
|
@@ -3313,25 +3334,25 @@ var Di = (
|
|
|
3313
3334
|
if (x.err)
|
|
3314
3335
|
return x;
|
|
3315
3336
|
var y = w(i, this.clonePosition());
|
|
3316
|
-
if (u &&
|
|
3317
|
-
var v =
|
|
3337
|
+
if (u && ar(u?.style, "::", 0)) {
|
|
3338
|
+
var v = Di(u.style.slice(2));
|
|
3318
3339
|
if (a === "number") {
|
|
3319
3340
|
var p = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3320
3341
|
return p.err ? p : {
|
|
3321
|
-
val: { type:
|
|
3342
|
+
val: { type: B.number, value: n, location: y, style: p.val },
|
|
3322
3343
|
err: null
|
|
3323
3344
|
};
|
|
3324
3345
|
} else {
|
|
3325
3346
|
if (v.length === 0)
|
|
3326
3347
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
3327
3348
|
var m = v;
|
|
3328
|
-
this.locale && (m =
|
|
3349
|
+
this.locale && (m = wi(v, this.locale));
|
|
3329
3350
|
var h = {
|
|
3330
|
-
type:
|
|
3351
|
+
type: Oe.dateTime,
|
|
3331
3352
|
pattern: m,
|
|
3332
3353
|
location: u.styleLocation,
|
|
3333
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3334
|
-
}, T = a === "date" ?
|
|
3354
|
+
parsedOptions: this.shouldParseSkeletons ? yi(m) : {}
|
|
3355
|
+
}, T = a === "date" ? B.date : B.time;
|
|
3335
3356
|
return {
|
|
3336
3357
|
val: { type: T, value: n, location: y, style: h },
|
|
3337
3358
|
err: null
|
|
@@ -3340,7 +3361,7 @@ var Di = (
|
|
|
3340
3361
|
}
|
|
3341
3362
|
return {
|
|
3342
3363
|
val: {
|
|
3343
|
-
type: a === "number" ?
|
|
3364
|
+
type: a === "number" ? B.number : a === "date" ? B.date : B.time,
|
|
3344
3365
|
value: n,
|
|
3345
3366
|
location: y,
|
|
3346
3367
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3351,9 +3372,9 @@ var Di = (
|
|
|
3351
3372
|
case "plural":
|
|
3352
3373
|
case "selectordinal":
|
|
3353
3374
|
case "select": {
|
|
3354
|
-
var
|
|
3375
|
+
var A = this.clonePosition();
|
|
3355
3376
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3356
|
-
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(
|
|
3377
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(A, at({}, A)));
|
|
3357
3378
|
this.bumpSpace();
|
|
3358
3379
|
var M = this.parseIdentifierIfPossible(), k = 0;
|
|
3359
3380
|
if (a !== "select" && M.value === "offset") {
|
|
@@ -3365,26 +3386,26 @@ var Di = (
|
|
|
3365
3386
|
return p;
|
|
3366
3387
|
this.bumpSpace(), M = this.parseIdentifierIfPossible(), k = p.val;
|
|
3367
3388
|
}
|
|
3368
|
-
var
|
|
3369
|
-
if (
|
|
3370
|
-
return
|
|
3389
|
+
var F = this.tryParsePluralOrSelectOptions(t, a, r, M);
|
|
3390
|
+
if (F.err)
|
|
3391
|
+
return F;
|
|
3371
3392
|
var x = this.tryParseArgumentClose(i);
|
|
3372
3393
|
if (x.err)
|
|
3373
3394
|
return x;
|
|
3374
3395
|
var J = w(i, this.clonePosition());
|
|
3375
3396
|
return a === "select" ? {
|
|
3376
3397
|
val: {
|
|
3377
|
-
type:
|
|
3398
|
+
type: B.select,
|
|
3378
3399
|
value: n,
|
|
3379
|
-
options:
|
|
3400
|
+
options: ur(F.val),
|
|
3380
3401
|
location: J
|
|
3381
3402
|
},
|
|
3382
3403
|
err: null
|
|
3383
3404
|
} : {
|
|
3384
3405
|
val: {
|
|
3385
|
-
type:
|
|
3406
|
+
type: B.plural,
|
|
3386
3407
|
value: n,
|
|
3387
|
-
options:
|
|
3408
|
+
options: ur(F.val),
|
|
3388
3409
|
offset: k,
|
|
3389
3410
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3390
3411
|
location: J
|
|
@@ -3435,16 +3456,16 @@ var Di = (
|
|
|
3435
3456
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3436
3457
|
var n = [];
|
|
3437
3458
|
try {
|
|
3438
|
-
n =
|
|
3459
|
+
n = _i(t);
|
|
3439
3460
|
} catch {
|
|
3440
3461
|
return this.error(S.INVALID_NUMBER_SKELETON, r);
|
|
3441
3462
|
}
|
|
3442
3463
|
return {
|
|
3443
3464
|
val: {
|
|
3444
|
-
type:
|
|
3465
|
+
type: Oe.number,
|
|
3445
3466
|
tokens: n,
|
|
3446
3467
|
location: r,
|
|
3447
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3468
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
|
|
3448
3469
|
},
|
|
3449
3470
|
err: null
|
|
3450
3471
|
};
|
|
@@ -3492,7 +3513,7 @@ var Di = (
|
|
|
3492
3513
|
break;
|
|
3493
3514
|
}
|
|
3494
3515
|
var l = w(i, this.clonePosition());
|
|
3495
|
-
return o ? (s *= n,
|
|
3516
|
+
return o ? (s *= n, Ri(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3496
3517
|
}, e.prototype.offset = function() {
|
|
3497
3518
|
return this.position.offset;
|
|
3498
3519
|
}, e.prototype.isEOF = function() {
|
|
@@ -3507,7 +3528,7 @@ var Di = (
|
|
|
3507
3528
|
var t = this.position.offset;
|
|
3508
3529
|
if (t >= this.message.length)
|
|
3509
3530
|
throw Error("out of bound");
|
|
3510
|
-
var r =
|
|
3531
|
+
var r = Jr(this.message, t);
|
|
3511
3532
|
if (r === void 0)
|
|
3512
3533
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3513
3534
|
return r;
|
|
@@ -3526,7 +3547,7 @@ var Di = (
|
|
|
3526
3547
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3527
3548
|
}
|
|
3528
3549
|
}, e.prototype.bumpIf = function(t) {
|
|
3529
|
-
if (
|
|
3550
|
+
if (ar(this.message, t, this.offset())) {
|
|
3530
3551
|
for (var r = 0; r < t.length; r++)
|
|
3531
3552
|
this.bump();
|
|
3532
3553
|
return !0;
|
|
@@ -3548,7 +3569,7 @@ var Di = (
|
|
|
3548
3569
|
break;
|
|
3549
3570
|
}
|
|
3550
3571
|
}, e.prototype.bumpSpace = function() {
|
|
3551
|
-
for (; !this.isEOF() &&
|
|
3572
|
+
for (; !this.isEOF() && Qr(this.char()); )
|
|
3552
3573
|
this.bump();
|
|
3553
3574
|
}, e.prototype.peek = function() {
|
|
3554
3575
|
if (this.isEOF())
|
|
@@ -3558,47 +3579,47 @@ var Di = (
|
|
|
3558
3579
|
}, e;
|
|
3559
3580
|
}()
|
|
3560
3581
|
);
|
|
3561
|
-
function
|
|
3582
|
+
function Dt(e) {
|
|
3562
3583
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3563
3584
|
}
|
|
3564
|
-
function ki(e) {
|
|
3565
|
-
return Nt(e) || e === 47;
|
|
3566
|
-
}
|
|
3567
3585
|
function Gi(e) {
|
|
3586
|
+
return Dt(e) || e === 47;
|
|
3587
|
+
}
|
|
3588
|
+
function $i(e) {
|
|
3568
3589
|
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;
|
|
3569
3590
|
}
|
|
3570
|
-
function
|
|
3591
|
+
function Qr(e) {
|
|
3571
3592
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3572
3593
|
}
|
|
3573
|
-
function
|
|
3594
|
+
function Fi(e) {
|
|
3574
3595
|
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;
|
|
3575
3596
|
}
|
|
3576
|
-
function
|
|
3597
|
+
function kt(e) {
|
|
3577
3598
|
e.forEach(function(t) {
|
|
3578
|
-
if (delete t.location,
|
|
3599
|
+
if (delete t.location, jr(t) || Gr(t))
|
|
3579
3600
|
for (var r in t.options)
|
|
3580
|
-
delete t.options[r].location,
|
|
3601
|
+
delete t.options[r].location, kt(t.options[r].value);
|
|
3581
3602
|
else
|
|
3582
|
-
|
|
3603
|
+
Ur(t) && Fr(t.style) || (Dr(t) || kr(t)) && Nt(t.style) ? delete t.style.location : $r(t) && kt(t.children);
|
|
3583
3604
|
});
|
|
3584
3605
|
}
|
|
3585
|
-
function
|
|
3586
|
-
t === void 0 && (t = {}), t =
|
|
3587
|
-
var r = new
|
|
3606
|
+
function Vi(e, t) {
|
|
3607
|
+
t === void 0 && (t = {}), t = at({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3608
|
+
var r = new ji(e, t).parse();
|
|
3588
3609
|
if (r.err) {
|
|
3589
3610
|
var n = SyntaxError(S[r.err.kind]);
|
|
3590
3611
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3591
3612
|
}
|
|
3592
|
-
return t?.captureLocation ||
|
|
3613
|
+
return t?.captureLocation || kt(r.val), r.val;
|
|
3593
3614
|
}
|
|
3594
|
-
var
|
|
3615
|
+
var Le;
|
|
3595
3616
|
(function(e) {
|
|
3596
3617
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3597
|
-
})(
|
|
3598
|
-
var
|
|
3618
|
+
})(Le || (Le = {}));
|
|
3619
|
+
var pt = (
|
|
3599
3620
|
/** @class */
|
|
3600
3621
|
function(e) {
|
|
3601
|
-
|
|
3622
|
+
ft(t, e);
|
|
3602
3623
|
function t(r, n, i) {
|
|
3603
3624
|
var o = e.call(this, r) || this;
|
|
3604
3625
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3607,155 +3628,155 @@ var ht = (
|
|
|
3607
3628
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3608
3629
|
}, t;
|
|
3609
3630
|
}(Error)
|
|
3610
|
-
),
|
|
3631
|
+
), cr = (
|
|
3611
3632
|
/** @class */
|
|
3612
3633
|
function(e) {
|
|
3613
|
-
|
|
3634
|
+
ft(t, e);
|
|
3614
3635
|
function t(r, n, i, o) {
|
|
3615
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3636
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
|
|
3616
3637
|
}
|
|
3617
3638
|
return t;
|
|
3618
|
-
}(
|
|
3619
|
-
),
|
|
3639
|
+
}(pt)
|
|
3640
|
+
), Wi = (
|
|
3620
3641
|
/** @class */
|
|
3621
3642
|
function(e) {
|
|
3622
|
-
|
|
3643
|
+
ft(t, e);
|
|
3623
3644
|
function t(r, n, i) {
|
|
3624
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3645
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
|
|
3625
3646
|
}
|
|
3626
3647
|
return t;
|
|
3627
|
-
}(
|
|
3628
|
-
),
|
|
3648
|
+
}(pt)
|
|
3649
|
+
), Xi = (
|
|
3629
3650
|
/** @class */
|
|
3630
3651
|
function(e) {
|
|
3631
|
-
|
|
3652
|
+
ft(t, e);
|
|
3632
3653
|
function t(r, n) {
|
|
3633
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3654
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
|
|
3634
3655
|
}
|
|
3635
3656
|
return t;
|
|
3636
|
-
}(
|
|
3637
|
-
),
|
|
3657
|
+
}(pt)
|
|
3658
|
+
), j;
|
|
3638
3659
|
(function(e) {
|
|
3639
3660
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3640
|
-
})(
|
|
3641
|
-
function
|
|
3661
|
+
})(j || (j = {}));
|
|
3662
|
+
function zi(e) {
|
|
3642
3663
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3643
3664
|
var n = t[t.length - 1];
|
|
3644
|
-
return !n || n.type !==
|
|
3665
|
+
return !n || n.type !== j.literal || r.type !== j.literal ? t.push(r) : n.value += r.value, t;
|
|
3645
3666
|
}, []);
|
|
3646
3667
|
}
|
|
3647
|
-
function
|
|
3668
|
+
function Ji(e) {
|
|
3648
3669
|
return typeof e == "function";
|
|
3649
3670
|
}
|
|
3650
3671
|
function ot(e, t, r, n, i, o, s) {
|
|
3651
|
-
if (e.length === 1 &&
|
|
3672
|
+
if (e.length === 1 && nr(e[0]))
|
|
3652
3673
|
return [
|
|
3653
3674
|
{
|
|
3654
|
-
type:
|
|
3675
|
+
type: j.literal,
|
|
3655
3676
|
value: e[0].value
|
|
3656
3677
|
}
|
|
3657
3678
|
];
|
|
3658
3679
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3659
3680
|
var c = u[l];
|
|
3660
|
-
if (
|
|
3681
|
+
if (nr(c)) {
|
|
3661
3682
|
a.push({
|
|
3662
|
-
type:
|
|
3683
|
+
type: j.literal,
|
|
3663
3684
|
value: c.value
|
|
3664
3685
|
});
|
|
3665
3686
|
continue;
|
|
3666
3687
|
}
|
|
3667
|
-
if (
|
|
3688
|
+
if (bi(c)) {
|
|
3668
3689
|
typeof o == "number" && a.push({
|
|
3669
|
-
type:
|
|
3690
|
+
type: j.literal,
|
|
3670
3691
|
value: r.getNumberFormat(t).format(o)
|
|
3671
3692
|
});
|
|
3672
3693
|
continue;
|
|
3673
3694
|
}
|
|
3674
3695
|
var p = c.value;
|
|
3675
3696
|
if (!(i && p in i))
|
|
3676
|
-
throw new
|
|
3697
|
+
throw new Xi(p, s);
|
|
3677
3698
|
var h = i[p];
|
|
3678
|
-
if (
|
|
3699
|
+
if (mi(c)) {
|
|
3679
3700
|
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3680
|
-
type: typeof h == "string" ?
|
|
3701
|
+
type: typeof h == "string" ? j.literal : j.object,
|
|
3681
3702
|
value: h
|
|
3682
3703
|
});
|
|
3683
3704
|
continue;
|
|
3684
3705
|
}
|
|
3685
|
-
if (
|
|
3686
|
-
var g = typeof c.style == "string" ? n.date[c.style] :
|
|
3706
|
+
if (Dr(c)) {
|
|
3707
|
+
var g = typeof c.style == "string" ? n.date[c.style] : Nt(c.style) ? c.style.parsedOptions : void 0;
|
|
3687
3708
|
a.push({
|
|
3688
|
-
type:
|
|
3709
|
+
type: j.literal,
|
|
3689
3710
|
value: r.getDateTimeFormat(t, g).format(h)
|
|
3690
3711
|
});
|
|
3691
3712
|
continue;
|
|
3692
3713
|
}
|
|
3693
|
-
if (
|
|
3694
|
-
var g = typeof c.style == "string" ? n.time[c.style] :
|
|
3714
|
+
if (kr(c)) {
|
|
3715
|
+
var g = typeof c.style == "string" ? n.time[c.style] : Nt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3695
3716
|
a.push({
|
|
3696
|
-
type:
|
|
3717
|
+
type: j.literal,
|
|
3697
3718
|
value: r.getDateTimeFormat(t, g).format(h)
|
|
3698
3719
|
});
|
|
3699
3720
|
continue;
|
|
3700
3721
|
}
|
|
3701
|
-
if (
|
|
3722
|
+
if (Ur(c)) {
|
|
3702
3723
|
var g = typeof c.style == "string" ? n.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
|
|
3703
3724
|
g && g.scale && (h = h * (g.scale || 1)), a.push({
|
|
3704
|
-
type:
|
|
3725
|
+
type: j.literal,
|
|
3705
3726
|
value: r.getNumberFormat(t, g).format(h)
|
|
3706
3727
|
});
|
|
3707
3728
|
continue;
|
|
3708
3729
|
}
|
|
3709
|
-
if (
|
|
3730
|
+
if ($r(c)) {
|
|
3710
3731
|
var x = c.children, y = c.value, v = i[y];
|
|
3711
|
-
if (!
|
|
3712
|
-
throw new
|
|
3732
|
+
if (!Ji(v))
|
|
3733
|
+
throw new Wi(y, "function", s);
|
|
3713
3734
|
var m = ot(x, t, r, n, i, o), T = v(m.map(function(k) {
|
|
3714
3735
|
return k.value;
|
|
3715
3736
|
}));
|
|
3716
3737
|
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(k) {
|
|
3717
3738
|
return {
|
|
3718
|
-
type: typeof k == "string" ?
|
|
3739
|
+
type: typeof k == "string" ? j.literal : j.object,
|
|
3719
3740
|
value: k
|
|
3720
3741
|
};
|
|
3721
3742
|
}));
|
|
3722
3743
|
}
|
|
3723
|
-
if (
|
|
3724
|
-
var
|
|
3725
|
-
if (!
|
|
3726
|
-
throw new
|
|
3727
|
-
a.push.apply(a, ot(
|
|
3744
|
+
if (jr(c)) {
|
|
3745
|
+
var A = c.options[h] || c.options.other;
|
|
3746
|
+
if (!A)
|
|
3747
|
+
throw new cr(c.value, h, Object.keys(c.options), s);
|
|
3748
|
+
a.push.apply(a, ot(A.value, t, r, n, i));
|
|
3728
3749
|
continue;
|
|
3729
3750
|
}
|
|
3730
3751
|
if (Gr(c)) {
|
|
3731
|
-
var
|
|
3732
|
-
if (!
|
|
3752
|
+
var A = c.options["=".concat(h)];
|
|
3753
|
+
if (!A) {
|
|
3733
3754
|
if (!Intl.PluralRules)
|
|
3734
|
-
throw new
|
|
3755
|
+
throw new pt(`Intl.PluralRules is not available in this environment.
|
|
3735
3756
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3736
|
-
`,
|
|
3757
|
+
`, Le.MISSING_INTL_API, s);
|
|
3737
3758
|
var M = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
|
|
3738
|
-
|
|
3759
|
+
A = c.options[M] || c.options.other;
|
|
3739
3760
|
}
|
|
3740
|
-
if (!
|
|
3741
|
-
throw new
|
|
3742
|
-
a.push.apply(a, ot(
|
|
3761
|
+
if (!A)
|
|
3762
|
+
throw new cr(c.value, h, Object.keys(c.options), s);
|
|
3763
|
+
a.push.apply(a, ot(A.value, t, r, n, i, h - (c.offset || 0)));
|
|
3743
3764
|
continue;
|
|
3744
3765
|
}
|
|
3745
3766
|
}
|
|
3746
|
-
return
|
|
3767
|
+
return zi(a);
|
|
3747
3768
|
}
|
|
3748
|
-
function
|
|
3749
|
-
return t ?
|
|
3750
|
-
return r[n] =
|
|
3769
|
+
function Zi(e, t) {
|
|
3770
|
+
return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3771
|
+
return r[n] = re(re({}, e[n]), t[n] || {}), r;
|
|
3751
3772
|
}, {})) : e;
|
|
3752
3773
|
}
|
|
3753
|
-
function
|
|
3774
|
+
function Qi(e, t) {
|
|
3754
3775
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3755
|
-
return r[n] =
|
|
3756
|
-
},
|
|
3776
|
+
return r[n] = Zi(e[n], t[n]), r;
|
|
3777
|
+
}, re({}, e)) : e;
|
|
3757
3778
|
}
|
|
3758
|
-
function
|
|
3779
|
+
function xt(e) {
|
|
3759
3780
|
return {
|
|
3760
3781
|
create: function() {
|
|
3761
3782
|
return {
|
|
@@ -3769,39 +3790,39 @@ function _t(e) {
|
|
|
3769
3790
|
}
|
|
3770
3791
|
};
|
|
3771
3792
|
}
|
|
3772
|
-
function
|
|
3793
|
+
function Yi(e) {
|
|
3773
3794
|
return e === void 0 && (e = {
|
|
3774
3795
|
number: {},
|
|
3775
3796
|
dateTime: {},
|
|
3776
3797
|
pluralRules: {}
|
|
3777
3798
|
}), {
|
|
3778
|
-
getNumberFormat:
|
|
3799
|
+
getNumberFormat: vt(function() {
|
|
3779
3800
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3780
3801
|
r[n] = arguments[n];
|
|
3781
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3802
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, yt([void 0], r, !1)))();
|
|
3782
3803
|
}, {
|
|
3783
|
-
cache:
|
|
3784
|
-
strategy:
|
|
3804
|
+
cache: xt(e.number),
|
|
3805
|
+
strategy: _t.variadic
|
|
3785
3806
|
}),
|
|
3786
|
-
getDateTimeFormat:
|
|
3807
|
+
getDateTimeFormat: vt(function() {
|
|
3787
3808
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3788
3809
|
r[n] = arguments[n];
|
|
3789
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3810
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, yt([void 0], r, !1)))();
|
|
3790
3811
|
}, {
|
|
3791
|
-
cache:
|
|
3792
|
-
strategy:
|
|
3812
|
+
cache: xt(e.dateTime),
|
|
3813
|
+
strategy: _t.variadic
|
|
3793
3814
|
}),
|
|
3794
|
-
getPluralRules:
|
|
3815
|
+
getPluralRules: vt(function() {
|
|
3795
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3796
3817
|
r[n] = arguments[n];
|
|
3797
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3818
|
+
return new ((t = Intl.PluralRules).bind.apply(t, yt([void 0], r, !1)))();
|
|
3798
3819
|
}, {
|
|
3799
|
-
cache:
|
|
3800
|
-
strategy:
|
|
3820
|
+
cache: xt(e.pluralRules),
|
|
3821
|
+
strategy: _t.variadic
|
|
3801
3822
|
})
|
|
3802
3823
|
};
|
|
3803
3824
|
}
|
|
3804
|
-
var
|
|
3825
|
+
var qi = (
|
|
3805
3826
|
/** @class */
|
|
3806
3827
|
function() {
|
|
3807
3828
|
function e(t, r, n, i) {
|
|
@@ -3816,7 +3837,7 @@ var Qi = (
|
|
|
3816
3837
|
if (u.length === 1)
|
|
3817
3838
|
return u[0].value;
|
|
3818
3839
|
var c = u.reduce(function(p, h) {
|
|
3819
|
-
return !p.length || h.type !==
|
|
3840
|
+
return !p.length || h.type !== j.literal || typeof p[p.length - 1] != "string" ? p.push(h.value) : p[p.length - 1] += h.value, p;
|
|
3820
3841
|
}, []);
|
|
3821
3842
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3822
3843
|
}, this.formatToParts = function(l) {
|
|
@@ -3833,13 +3854,13 @@ var Qi = (
|
|
|
3833
3854
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3834
3855
|
var s = i || {};
|
|
3835
3856
|
s.formatters;
|
|
3836
|
-
var a =
|
|
3837
|
-
this.ast = e.__parse(t,
|
|
3857
|
+
var a = ai(s, ["formatters"]);
|
|
3858
|
+
this.ast = e.__parse(t, re(re({}, a), { locale: this.resolvedLocale }));
|
|
3838
3859
|
} else
|
|
3839
3860
|
this.ast = t;
|
|
3840
3861
|
if (!Array.isArray(this.ast))
|
|
3841
3862
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3842
|
-
this.formats =
|
|
3863
|
+
this.formats = Qi(e.formats, n), this.formatters = i && i.formatters || Yi(this.formatterCache);
|
|
3843
3864
|
}
|
|
3844
3865
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3845
3866
|
get: function() {
|
|
@@ -3852,7 +3873,7 @@ var Qi = (
|
|
|
3852
3873
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3853
3874
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3854
3875
|
}
|
|
3855
|
-
}, e.__parse =
|
|
3876
|
+
}, e.__parse = Vi, e.formats = {
|
|
3856
3877
|
number: {
|
|
3857
3878
|
integer: {
|
|
3858
3879
|
maximumFractionDigits: 0
|
|
@@ -3913,7 +3934,7 @@ var Qi = (
|
|
|
3913
3934
|
}, e;
|
|
3914
3935
|
}()
|
|
3915
3936
|
);
|
|
3916
|
-
function
|
|
3937
|
+
function Ki(e, t) {
|
|
3917
3938
|
if (t == null)
|
|
3918
3939
|
return;
|
|
3919
3940
|
if (t in e)
|
|
@@ -3934,92 +3955,92 @@ function Yi(e, t) {
|
|
|
3934
3955
|
n = void 0;
|
|
3935
3956
|
return n;
|
|
3936
3957
|
}
|
|
3937
|
-
const de = {},
|
|
3958
|
+
const de = {}, eo = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Yr = (e, t) => {
|
|
3938
3959
|
if (t == null)
|
|
3939
3960
|
return;
|
|
3940
3961
|
if (t in de && e in de[t])
|
|
3941
3962
|
return de[t][e];
|
|
3942
|
-
const r =
|
|
3963
|
+
const r = dt(t);
|
|
3943
3964
|
for (let n = 0; n < r.length; n++) {
|
|
3944
|
-
const i = r[n], o =
|
|
3965
|
+
const i = r[n], o = ro(i, e);
|
|
3945
3966
|
if (o)
|
|
3946
|
-
return
|
|
3967
|
+
return eo(e, t, o);
|
|
3947
3968
|
}
|
|
3948
3969
|
};
|
|
3949
|
-
let
|
|
3950
|
-
const Je =
|
|
3951
|
-
function
|
|
3952
|
-
return
|
|
3970
|
+
let Ft;
|
|
3971
|
+
const Je = ht({});
|
|
3972
|
+
function to(e) {
|
|
3973
|
+
return Ft[e] || null;
|
|
3953
3974
|
}
|
|
3954
|
-
function
|
|
3955
|
-
return e in
|
|
3975
|
+
function qr(e) {
|
|
3976
|
+
return e in Ft;
|
|
3956
3977
|
}
|
|
3957
|
-
function
|
|
3958
|
-
if (!
|
|
3978
|
+
function ro(e, t) {
|
|
3979
|
+
if (!qr(e))
|
|
3959
3980
|
return null;
|
|
3960
|
-
const r =
|
|
3961
|
-
return
|
|
3981
|
+
const r = to(e);
|
|
3982
|
+
return Ki(r, t);
|
|
3962
3983
|
}
|
|
3963
|
-
function
|
|
3984
|
+
function no(e) {
|
|
3964
3985
|
if (e == null)
|
|
3965
3986
|
return;
|
|
3966
|
-
const t =
|
|
3987
|
+
const t = dt(e);
|
|
3967
3988
|
for (let r = 0; r < t.length; r++) {
|
|
3968
3989
|
const n = t[r];
|
|
3969
|
-
if (
|
|
3990
|
+
if (qr(n))
|
|
3970
3991
|
return n;
|
|
3971
3992
|
}
|
|
3972
3993
|
}
|
|
3973
|
-
function
|
|
3994
|
+
function Kr(e, ...t) {
|
|
3974
3995
|
delete de[e], Je.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
|
|
3975
3996
|
}
|
|
3976
|
-
|
|
3997
|
+
Ie(
|
|
3977
3998
|
[Je],
|
|
3978
3999
|
([e]) => Object.keys(e)
|
|
3979
4000
|
);
|
|
3980
|
-
Je.subscribe((e) =>
|
|
4001
|
+
Je.subscribe((e) => Ft = e);
|
|
3981
4002
|
const st = {};
|
|
3982
|
-
function
|
|
4003
|
+
function io(e, t) {
|
|
3983
4004
|
st[e].delete(t), st[e].size === 0 && delete st[e];
|
|
3984
4005
|
}
|
|
3985
|
-
function
|
|
4006
|
+
function en(e) {
|
|
3986
4007
|
return st[e];
|
|
3987
4008
|
}
|
|
3988
|
-
function
|
|
3989
|
-
return
|
|
3990
|
-
const r =
|
|
4009
|
+
function oo(e) {
|
|
4010
|
+
return dt(e).map((t) => {
|
|
4011
|
+
const r = en(t);
|
|
3991
4012
|
return [t, r ? [...r] : []];
|
|
3992
4013
|
}).filter(([, t]) => t.length > 0);
|
|
3993
4014
|
}
|
|
3994
|
-
function
|
|
3995
|
-
return e == null ? !1 :
|
|
4015
|
+
function jt(e) {
|
|
4016
|
+
return e == null ? !1 : dt(e).some(
|
|
3996
4017
|
(t) => {
|
|
3997
4018
|
var r;
|
|
3998
|
-
return (r =
|
|
4019
|
+
return (r = en(t)) == null ? void 0 : r.size;
|
|
3999
4020
|
}
|
|
4000
4021
|
);
|
|
4001
4022
|
}
|
|
4002
|
-
function
|
|
4023
|
+
function so(e, t) {
|
|
4003
4024
|
return Promise.all(
|
|
4004
|
-
t.map((n) => (
|
|
4005
|
-
).then((n) =>
|
|
4006
|
-
}
|
|
4007
|
-
const
|
|
4008
|
-
function
|
|
4009
|
-
if (!
|
|
4010
|
-
return e in
|
|
4011
|
-
const t =
|
|
4012
|
-
return
|
|
4025
|
+
t.map((n) => (io(e, n), n().then((i) => i.default || i)))
|
|
4026
|
+
).then((n) => Kr(e, ...n));
|
|
4027
|
+
}
|
|
4028
|
+
const Ge = {};
|
|
4029
|
+
function tn(e) {
|
|
4030
|
+
if (!jt(e))
|
|
4031
|
+
return e in Ge ? Ge[e] : Promise.resolve();
|
|
4032
|
+
const t = oo(e);
|
|
4033
|
+
return Ge[e] = Promise.all(
|
|
4013
4034
|
t.map(
|
|
4014
|
-
([r, n]) =>
|
|
4035
|
+
([r, n]) => so(r, n)
|
|
4015
4036
|
)
|
|
4016
4037
|
).then(() => {
|
|
4017
|
-
if (
|
|
4018
|
-
return
|
|
4019
|
-
delete
|
|
4020
|
-
}),
|
|
4038
|
+
if (jt(e))
|
|
4039
|
+
return tn(e);
|
|
4040
|
+
delete Ge[e];
|
|
4041
|
+
}), Ge[e];
|
|
4021
4042
|
}
|
|
4022
|
-
const
|
|
4043
|
+
const ao = {
|
|
4023
4044
|
number: {
|
|
4024
4045
|
scientific: { notation: "scientific" },
|
|
4025
4046
|
engineering: { notation: "engineering" },
|
|
@@ -4048,135 +4069,135 @@ const oo = {
|
|
|
4048
4069
|
timeZoneName: "short"
|
|
4049
4070
|
}
|
|
4050
4071
|
}
|
|
4051
|
-
},
|
|
4072
|
+
}, uo = {
|
|
4052
4073
|
fallbackLocale: null,
|
|
4053
4074
|
loadingDelay: 200,
|
|
4054
|
-
formats:
|
|
4075
|
+
formats: ao,
|
|
4055
4076
|
warnOnMissingMessages: !0,
|
|
4056
4077
|
handleMissingMessage: void 0,
|
|
4057
4078
|
ignoreTag: !0
|
|
4058
|
-
},
|
|
4059
|
-
function
|
|
4060
|
-
return
|
|
4079
|
+
}, lo = uo;
|
|
4080
|
+
function Ce() {
|
|
4081
|
+
return lo;
|
|
4061
4082
|
}
|
|
4062
|
-
const
|
|
4063
|
-
var
|
|
4083
|
+
const St = ht(!1);
|
|
4084
|
+
var co = Object.defineProperty, ho = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
|
|
4064
4085
|
for (var r in t || (t = {}))
|
|
4065
|
-
|
|
4066
|
-
if (
|
|
4067
|
-
for (var r of
|
|
4068
|
-
|
|
4086
|
+
po.call(t, r) && fr(e, r, t[r]);
|
|
4087
|
+
if (hr)
|
|
4088
|
+
for (var r of hr(t))
|
|
4089
|
+
mo.call(t, r) && fr(e, r, t[r]);
|
|
4069
4090
|
return e;
|
|
4070
|
-
},
|
|
4071
|
-
let
|
|
4072
|
-
const
|
|
4073
|
-
function
|
|
4091
|
+
}, go = (e, t) => ho(e, fo(t));
|
|
4092
|
+
let Gt;
|
|
4093
|
+
const ut = ht(null);
|
|
4094
|
+
function pr(e) {
|
|
4074
4095
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4075
4096
|
}
|
|
4076
|
-
function
|
|
4077
|
-
const r =
|
|
4078
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4097
|
+
function dt(e, t = Ce().fallbackLocale) {
|
|
4098
|
+
const r = pr(e);
|
|
4099
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
|
|
4079
4100
|
}
|
|
4080
4101
|
function ge() {
|
|
4081
|
-
return
|
|
4102
|
+
return Gt ?? void 0;
|
|
4082
4103
|
}
|
|
4083
|
-
|
|
4084
|
-
|
|
4104
|
+
ut.subscribe((e) => {
|
|
4105
|
+
Gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4085
4106
|
});
|
|
4086
|
-
const
|
|
4087
|
-
if (e &&
|
|
4088
|
-
const { loadingDelay: t } =
|
|
4107
|
+
const yo = (e) => {
|
|
4108
|
+
if (e && no(e) && jt(e)) {
|
|
4109
|
+
const { loadingDelay: t } = Ce();
|
|
4089
4110
|
let r;
|
|
4090
4111
|
return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
|
|
4091
|
-
() =>
|
|
4112
|
+
() => St.set(!0),
|
|
4092
4113
|
t
|
|
4093
|
-
) :
|
|
4094
|
-
|
|
4114
|
+
) : St.set(!0), tn(e).then(() => {
|
|
4115
|
+
ut.set(e);
|
|
4095
4116
|
}).finally(() => {
|
|
4096
|
-
clearTimeout(r),
|
|
4117
|
+
clearTimeout(r), St.set(!1);
|
|
4097
4118
|
});
|
|
4098
4119
|
}
|
|
4099
|
-
return
|
|
4100
|
-
},
|
|
4101
|
-
set:
|
|
4102
|
-
}),
|
|
4120
|
+
return ut.set(e);
|
|
4121
|
+
}, Ne = go(bo({}, ut), {
|
|
4122
|
+
set: yo
|
|
4123
|
+
}), mt = (e) => {
|
|
4103
4124
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4104
4125
|
return (n) => {
|
|
4105
4126
|
const i = JSON.stringify(n);
|
|
4106
4127
|
return i in t ? t[i] : t[i] = e(n);
|
|
4107
4128
|
};
|
|
4108
4129
|
};
|
|
4109
|
-
var
|
|
4130
|
+
var vo = Object.defineProperty, lt = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
4110
4131
|
for (var r in t || (t = {}))
|
|
4111
|
-
|
|
4112
|
-
if (
|
|
4113
|
-
for (var r of
|
|
4114
|
-
|
|
4132
|
+
rn.call(t, r) && dr(e, r, t[r]);
|
|
4133
|
+
if (lt)
|
|
4134
|
+
for (var r of lt(t))
|
|
4135
|
+
nn.call(t, r) && dr(e, r, t[r]);
|
|
4115
4136
|
return e;
|
|
4116
|
-
},
|
|
4137
|
+
}, Me = (e, t) => {
|
|
4117
4138
|
var r = {};
|
|
4118
4139
|
for (var n in e)
|
|
4119
|
-
|
|
4120
|
-
if (e != null &&
|
|
4121
|
-
for (var n of
|
|
4122
|
-
t.indexOf(n) < 0 &&
|
|
4140
|
+
rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4141
|
+
if (e != null && lt)
|
|
4142
|
+
for (var n of lt(e))
|
|
4143
|
+
t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
|
|
4123
4144
|
return r;
|
|
4124
4145
|
};
|
|
4125
|
-
const
|
|
4126
|
-
const { formats: r } =
|
|
4146
|
+
const We = (e, t) => {
|
|
4147
|
+
const { formats: r } = Ce();
|
|
4127
4148
|
if (e in r && t in r[e])
|
|
4128
4149
|
return r[e][t];
|
|
4129
4150
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4130
|
-
},
|
|
4151
|
+
}, _o = mt(
|
|
4131
4152
|
(e) => {
|
|
4132
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4153
|
+
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4133
4154
|
if (r == null)
|
|
4134
4155
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4135
|
-
return n && (i =
|
|
4156
|
+
return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
|
|
4136
4157
|
}
|
|
4137
|
-
),
|
|
4158
|
+
), Eo = mt(
|
|
4138
4159
|
(e) => {
|
|
4139
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4160
|
+
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4140
4161
|
if (r == null)
|
|
4141
4162
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4142
|
-
return n ? i =
|
|
4163
|
+
return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4143
4164
|
}
|
|
4144
|
-
),
|
|
4165
|
+
), xo = mt(
|
|
4145
4166
|
(e) => {
|
|
4146
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4167
|
+
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4147
4168
|
if (r == null)
|
|
4148
4169
|
throw new Error(
|
|
4149
4170
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4150
4171
|
);
|
|
4151
|
-
return n ? i =
|
|
4172
|
+
return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4152
4173
|
}
|
|
4153
|
-
),
|
|
4174
|
+
), So = (e = {}) => {
|
|
4154
4175
|
var t = e, {
|
|
4155
4176
|
locale: r = ge()
|
|
4156
|
-
} = t, n =
|
|
4177
|
+
} = t, n = Me(t, [
|
|
4157
4178
|
"locale"
|
|
4158
4179
|
]);
|
|
4159
|
-
return
|
|
4160
|
-
},
|
|
4180
|
+
return _o(Vt({ locale: r }, n));
|
|
4181
|
+
}, To = (e = {}) => {
|
|
4161
4182
|
var t = e, {
|
|
4162
4183
|
locale: r = ge()
|
|
4163
|
-
} = t, n =
|
|
4184
|
+
} = t, n = Me(t, [
|
|
4164
4185
|
"locale"
|
|
4165
4186
|
]);
|
|
4166
|
-
return
|
|
4167
|
-
},
|
|
4187
|
+
return Eo(Vt({ locale: r }, n));
|
|
4188
|
+
}, wo = (e = {}) => {
|
|
4168
4189
|
var t = e, {
|
|
4169
4190
|
locale: r = ge()
|
|
4170
|
-
} = t, n =
|
|
4191
|
+
} = t, n = Me(t, [
|
|
4171
4192
|
"locale"
|
|
4172
4193
|
]);
|
|
4173
|
-
return
|
|
4174
|
-
},
|
|
4194
|
+
return xo(Vt({ locale: r }, n));
|
|
4195
|
+
}, Ho = mt(
|
|
4175
4196
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4176
|
-
(e, t = ge()) => new
|
|
4177
|
-
ignoreTag:
|
|
4197
|
+
(e, t = ge()) => new qi(e, t, Ce().formats, {
|
|
4198
|
+
ignoreTag: Ce().ignoreTag
|
|
4178
4199
|
})
|
|
4179
|
-
),
|
|
4200
|
+
), Ao = (e, t = {}) => {
|
|
4180
4201
|
var r, n, i, o;
|
|
4181
4202
|
let s = t;
|
|
4182
4203
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4189,9 +4210,9 @@ const Xe = (e, t) => {
|
|
|
4189
4210
|
throw new Error(
|
|
4190
4211
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4191
4212
|
);
|
|
4192
|
-
let c =
|
|
4213
|
+
let c = Yr(e, l);
|
|
4193
4214
|
if (!c)
|
|
4194
|
-
c = (o = (i = (n = (r =
|
|
4215
|
+
c = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4195
4216
|
else if (typeof c != "string")
|
|
4196
4217
|
return console.warn(
|
|
4197
4218
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4200,7 +4221,7 @@ const Xe = (e, t) => {
|
|
|
4200
4221
|
return c;
|
|
4201
4222
|
let p = c;
|
|
4202
4223
|
try {
|
|
4203
|
-
p =
|
|
4224
|
+
p = Ho(c, l).format(a);
|
|
4204
4225
|
} catch (h) {
|
|
4205
4226
|
h instanceof Error && console.warn(
|
|
4206
4227
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4208,22 +4229,22 @@ const Xe = (e, t) => {
|
|
|
4208
4229
|
);
|
|
4209
4230
|
}
|
|
4210
4231
|
return p;
|
|
4211
|
-
},
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
window.emWidgets = { topic:
|
|
4218
|
-
const
|
|
4232
|
+
}, Bo = (e, t) => wo(t).format(e), Po = (e, t) => To(t).format(e), Oo = (e, t) => So(t).format(e), Lo = (e, t = ge()) => Yr(e, t);
|
|
4233
|
+
Ie([Ne, Je], () => Ao);
|
|
4234
|
+
Ie([Ne], () => Bo);
|
|
4235
|
+
Ie([Ne], () => Po);
|
|
4236
|
+
Ie([Ne], () => Oo);
|
|
4237
|
+
Ie([Ne, Je], () => Lo);
|
|
4238
|
+
window.emWidgets = { topic: Fn };
|
|
4239
|
+
const Co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4219
4240
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4220
|
-
function
|
|
4241
|
+
function Io(e, t) {
|
|
4221
4242
|
if (e) {
|
|
4222
4243
|
const r = document.createElement("style");
|
|
4223
4244
|
r.innerHTML = t, e.appendChild(r);
|
|
4224
4245
|
}
|
|
4225
4246
|
}
|
|
4226
|
-
function
|
|
4247
|
+
function No(e, t) {
|
|
4227
4248
|
if (!e || !t)
|
|
4228
4249
|
return;
|
|
4229
4250
|
const r = new URL(t);
|
|
@@ -4234,7 +4255,7 @@ function Io(e, t) {
|
|
|
4234
4255
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4235
4256
|
});
|
|
4236
4257
|
}
|
|
4237
|
-
function
|
|
4258
|
+
function Mo(e, t, r) {
|
|
4238
4259
|
if (window.emMessageBus) {
|
|
4239
4260
|
const n = document.createElement("style");
|
|
4240
4261
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4242,13 +4263,13 @@ function Oo(e, t, r) {
|
|
|
4242
4263
|
});
|
|
4243
4264
|
}
|
|
4244
4265
|
}
|
|
4245
|
-
function
|
|
4246
|
-
|
|
4266
|
+
function mr(e, t) {
|
|
4267
|
+
Kr(e, t);
|
|
4247
4268
|
}
|
|
4248
|
-
function
|
|
4249
|
-
|
|
4269
|
+
function Ro(e) {
|
|
4270
|
+
Ne.set(e);
|
|
4250
4271
|
}
|
|
4251
|
-
const
|
|
4272
|
+
const br = {
|
|
4252
4273
|
en: {
|
|
4253
4274
|
loadingText: "Loading, please wait..."
|
|
4254
4275
|
},
|
|
@@ -4286,27 +4307,27 @@ const dr = {
|
|
|
4286
4307
|
loadingText: "Loading, please wait..."
|
|
4287
4308
|
}
|
|
4288
4309
|
};
|
|
4289
|
-
function
|
|
4290
|
-
|
|
4310
|
+
function Uo(e) {
|
|
4311
|
+
an(e, "svelte-w5pa6u", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4291
4312
|
}
|
|
4292
|
-
function
|
|
4313
|
+
function gr(e, t, r) {
|
|
4293
4314
|
const n = e.slice();
|
|
4294
4315
|
return n[56] = t[r], n[58] = r, n;
|
|
4295
4316
|
}
|
|
4296
|
-
function
|
|
4317
|
+
function Do(e) {
|
|
4297
4318
|
let t, r, n, i, o, s, a, l, u, c, p, h, g;
|
|
4298
4319
|
function x(m, T) {
|
|
4299
4320
|
return (
|
|
4300
4321
|
/*tabletView*/
|
|
4301
|
-
m[8] ?
|
|
4322
|
+
m[8] ? Go : $o
|
|
4302
4323
|
);
|
|
4303
4324
|
}
|
|
4304
4325
|
let y = x(e), v = y(e);
|
|
4305
4326
|
return {
|
|
4306
4327
|
c() {
|
|
4307
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("div"), o =
|
|
4328
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = C(), s = b("div"), v.c(), a = C(), l = b("div"), u = b("ui-image"), _(i, "class", "vendorLogo"), et(i, "background-image", "url(" + /*vendorIcon*/
|
|
4308
4329
|
e[9] + ")"), _(s, "class", "displayContainer"), Q(u.src, c = /*titleLogoImg*/
|
|
4309
|
-
e[14]) ||
|
|
4330
|
+
e[14]) || P(u, "src", c), P(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
|
|
4310
4331
|
e[0] + " " + /*mobileView*/
|
|
4311
4332
|
(e[7] && !/*tabletView*/
|
|
4312
4333
|
e[8] ? "mobile" : (
|
|
@@ -4316,7 +4337,7 @@ function Ro(e) {
|
|
|
4316
4337
|
e[13] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
|
|
4317
4338
|
},
|
|
4318
4339
|
m(m, T) {
|
|
4319
|
-
|
|
4340
|
+
$(m, t, T), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), v.m(s, null), d(n, a), d(n, l), d(l, u), h || (g = fn(
|
|
4320
4341
|
r,
|
|
4321
4342
|
"click",
|
|
4322
4343
|
/*click_handler*/
|
|
@@ -4328,7 +4349,7 @@ function Ro(e) {
|
|
|
4328
4349
|
512 && et(i, "background-image", "url(" + /*vendorIcon*/
|
|
4329
4350
|
m[9] + ")"), y === (y = x(m)) && v ? v.p(m, T) : (v.d(1), v = y(m), v && (v.c(), v.m(s, null))), T[0] & /*titleLogoImg*/
|
|
4330
4351
|
16384 && !Q(u.src, c = /*titleLogoImg*/
|
|
4331
|
-
m[14]) &&
|
|
4352
|
+
m[14]) && P(u, "src", c), T[0] & /*visualstructure, mobileView, tabletView*/
|
|
4332
4353
|
385 && p !== (p = "mainWrapper " + /*visualstructure*/
|
|
4333
4354
|
m[0] + " " + /*mobileView*/
|
|
4334
4355
|
(m[7] && !/*tabletView*/
|
|
@@ -4344,14 +4365,14 @@ function Ro(e) {
|
|
|
4344
4365
|
}
|
|
4345
4366
|
};
|
|
4346
4367
|
}
|
|
4347
|
-
function
|
|
4368
|
+
function ko(e) {
|
|
4348
4369
|
let t;
|
|
4349
4370
|
return {
|
|
4350
4371
|
c() {
|
|
4351
4372
|
t = b("div"), _(t, "class", "LoadingSpinner");
|
|
4352
4373
|
},
|
|
4353
4374
|
m(r, n) {
|
|
4354
|
-
|
|
4375
|
+
$(r, t, n);
|
|
4355
4376
|
},
|
|
4356
4377
|
p: Z,
|
|
4357
4378
|
d(r) {
|
|
@@ -4359,14 +4380,14 @@ function Uo(e) {
|
|
|
4359
4380
|
}
|
|
4360
4381
|
};
|
|
4361
4382
|
}
|
|
4362
|
-
function
|
|
4383
|
+
function jo(e) {
|
|
4363
4384
|
let t;
|
|
4364
4385
|
return {
|
|
4365
4386
|
c() {
|
|
4366
4387
|
t = b("p"), t.textContent = "500 Server error";
|
|
4367
4388
|
},
|
|
4368
4389
|
m(r, n) {
|
|
4369
|
-
|
|
4390
|
+
$(r, t, n);
|
|
4370
4391
|
},
|
|
4371
4392
|
p: Z,
|
|
4372
4393
|
d(r) {
|
|
@@ -4374,7 +4395,7 @@ function Do(e) {
|
|
|
4374
4395
|
}
|
|
4375
4396
|
};
|
|
4376
4397
|
}
|
|
4377
|
-
function
|
|
4398
|
+
function Go(e) {
|
|
4378
4399
|
let t, r, n, i, o, s, a, l = (
|
|
4379
4400
|
/*formattedLabels*/
|
|
4380
4401
|
e[11][0] + ""
|
|
@@ -4387,10 +4408,10 @@ function ko(e) {
|
|
|
4387
4408
|
/*formattedJackpotValues*/
|
|
4388
4409
|
e[10][0]
|
|
4389
4410
|
)) + ""
|
|
4390
|
-
), x, y, v, m, T,
|
|
4411
|
+
), x, y, v, m, T, A, M, k, F, J = (
|
|
4391
4412
|
/*formattedLabels*/
|
|
4392
4413
|
e[11][1] + ""
|
|
4393
|
-
),
|
|
4414
|
+
), Re, ye, Y, me, he = (
|
|
4394
4415
|
/*realtimeupdate*/
|
|
4395
4416
|
(e[2] === "true" ? (
|
|
4396
4417
|
/*reversedJackpotValues*/
|
|
@@ -4399,10 +4420,10 @@ function ko(e) {
|
|
|
4399
4420
|
/*formattedJackpotValues*/
|
|
4400
4421
|
e[10][1]
|
|
4401
4422
|
)) + ""
|
|
4402
|
-
), fe, ve, _e, ee,
|
|
4423
|
+
), fe, ve, _e, ee, ne, ie, N, oe, Ue, pe, q = (
|
|
4403
4424
|
/*formattedLabels*/
|
|
4404
4425
|
e[11][2] + ""
|
|
4405
|
-
),
|
|
4426
|
+
), se, Ze, K, Ee, xe = (
|
|
4406
4427
|
/*realtimeupdate*/
|
|
4407
4428
|
(e[2] === "true" ? (
|
|
4408
4429
|
/*updatedJackpotValues*/
|
|
@@ -4411,10 +4432,10 @@ function ko(e) {
|
|
|
4411
4432
|
/*formattedJackpotValues*/
|
|
4412
4433
|
e[10][2]
|
|
4413
4434
|
)) + ""
|
|
4414
|
-
),
|
|
4435
|
+
), De, Qe, Ye, ae, ue, te, Se, ke, Te, be = (
|
|
4415
4436
|
/*formattedLabels*/
|
|
4416
4437
|
e[11][3] + ""
|
|
4417
|
-
), je, qe,
|
|
4438
|
+
), je, qe, le, f, H = (
|
|
4418
4439
|
/*realtimeupdate*/
|
|
4419
4440
|
(e[2] === "true" ? (
|
|
4420
4441
|
/*updatedJackpotValues*/
|
|
@@ -4423,28 +4444,28 @@ function ko(e) {
|
|
|
4423
4444
|
/*formattedJackpotValues*/
|
|
4424
4445
|
e[10][3]
|
|
4425
4446
|
)) + ""
|
|
4426
|
-
), U,
|
|
4427
|
-
e[3] &&
|
|
4428
|
-
e[3] &&
|
|
4429
|
-
e[3] &&
|
|
4430
|
-
e[3] &&
|
|
4447
|
+
), U, Wt, V = !/*currencylocale*/
|
|
4448
|
+
e[3] && yr(e), W = !/*currencylocale*/
|
|
4449
|
+
e[3] && vr(e), X = !/*currencylocale*/
|
|
4450
|
+
e[3] && _r(e), z = !/*currencylocale*/
|
|
4451
|
+
e[3] && Er(e);
|
|
4431
4452
|
return {
|
|
4432
4453
|
c() {
|
|
4433
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s =
|
|
4434
|
-
e[12][0]) ||
|
|
4435
|
-
e[12][1]) ||
|
|
4436
|
-
e[12][2]) ||
|
|
4437
|
-
e[12][3]) ||
|
|
4454
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = C(), a = b("span"), u = R(l), c = C(), p = b("span"), h = b("span"), x = R(g), y = C(), V && V.c(), v = C(), m = b("div"), T = b("div"), A = b("ui-image"), k = C(), F = b("span"), Re = R(J), ye = C(), Y = b("span"), me = b("span"), fe = R(he), ve = C(), W && W.c(), _e = C(), ee = b("div"), ne = b("div"), ie = b("div"), N = b("ui-image"), Ue = C(), pe = b("span"), se = R(q), Ze = C(), K = b("span"), Ee = b("span"), De = R(xe), Qe = C(), X && X.c(), Ye = C(), ae = b("div"), ue = b("div"), te = b("ui-image"), ke = C(), Te = b("span"), je = R(be), qe = C(), le = b("span"), f = b("span"), U = R(H), Wt = C(), z && z.c(), P(i, "class", "displayCardIcon"), Q(i.src, o = /*caticons*/
|
|
4455
|
+
e[12][0]) || P(i, "src", o), P(i, "alt", ""), _(a, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(h, "class", "jackpotValue"), _(p, "class", "cardTextWrapper"), _(r, "class", "displayCard"), P(A, "class", "displayCardIcon"), Q(A.src, M = /*caticons*/
|
|
4456
|
+
e[12][1]) || P(A, "src", M), P(A, "alt", ""), _(F, "class", "cardLabel"), _(T, "class", "iconWrapper"), _(me, "class", "jackpotValue"), _(Y, "class", "cardTextWrapper"), _(m, "class", "displayCard"), _(t, "class", "pairWrapper"), P(N, "class", "displayCardIcon"), Q(N.src, oe = /*caticons*/
|
|
4457
|
+
e[12][2]) || P(N, "src", oe), P(N, "alt", ""), _(pe, "class", "cardLabel"), _(ie, "class", "iconWrapper"), _(Ee, "class", "jackpotValue"), _(K, "class", "cardTextWrapper"), _(ne, "class", "displayCard"), P(te, "class", "displayCardIcon"), Q(te.src, Se = /*caticons*/
|
|
4458
|
+
e[12][3]) || P(te, "src", Se), P(te, "alt", ""), _(Te, "class", "cardLabel"), _(ue, "class", "iconWrapper"), _(f, "class", "jackpotValue"), _(le, "class", "cardTextWrapper"), _(ae, "class", "displayCard"), _(ee, "class", "pairWrapper");
|
|
4438
4459
|
},
|
|
4439
|
-
m(E,
|
|
4440
|
-
|
|
4460
|
+
m(E, I) {
|
|
4461
|
+
$(E, t, I), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, c), d(r, p), d(p, h), d(h, x), d(p, y), V && V.m(p, null), d(t, v), d(t, m), d(m, T), d(T, A), d(T, k), d(T, F), d(F, Re), d(m, ye), d(m, Y), d(Y, me), d(me, fe), d(Y, ve), W && W.m(Y, null), $(E, _e, I), $(E, ee, I), d(ee, ne), d(ne, ie), d(ie, N), d(ie, Ue), d(ie, pe), d(pe, se), d(ne, Ze), d(ne, K), d(K, Ee), d(Ee, De), d(K, Qe), X && X.m(K, null), d(ee, Ye), d(ee, ae), d(ae, ue), d(ue, te), d(ue, ke), d(ue, Te), d(Te, je), d(ae, qe), d(ae, le), d(le, f), d(f, U), d(le, Wt), z && z.m(le, null);
|
|
4441
4462
|
},
|
|
4442
|
-
p(E,
|
|
4443
|
-
|
|
4463
|
+
p(E, I) {
|
|
4464
|
+
I[0] & /*caticons*/
|
|
4444
4465
|
4096 && !Q(i.src, o = /*caticons*/
|
|
4445
|
-
E[12][0]) &&
|
|
4466
|
+
E[12][0]) && P(i, "src", o), I[0] & /*formattedLabels*/
|
|
4446
4467
|
2048 && l !== (l = /*formattedLabels*/
|
|
4447
|
-
E[11][0] + "") &&
|
|
4468
|
+
E[11][0] + "") && G(u, l), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4448
4469
|
66564 && g !== (g = /*realtimeupdate*/
|
|
4449
4470
|
(E[2] === "true" ? (
|
|
4450
4471
|
/*reversedJackpotValues*/
|
|
@@ -4452,12 +4473,12 @@ function ko(e) {
|
|
|
4452
4473
|
) : (
|
|
4453
4474
|
/*formattedJackpotValues*/
|
|
4454
4475
|
E[10][0]
|
|
4455
|
-
)) + "") &&
|
|
4456
|
-
E[3] ? V && (V.d(1), V = null) : V ? V.p(E,
|
|
4457
|
-
4096 && !Q(
|
|
4458
|
-
E[12][1]) &&
|
|
4476
|
+
)) + "") && G(x, g), /*currencylocale*/
|
|
4477
|
+
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, I) : (V = yr(E), V.c(), V.m(p, null)), I[0] & /*caticons*/
|
|
4478
|
+
4096 && !Q(A.src, M = /*caticons*/
|
|
4479
|
+
E[12][1]) && P(A, "src", M), I[0] & /*formattedLabels*/
|
|
4459
4480
|
2048 && J !== (J = /*formattedLabels*/
|
|
4460
|
-
E[11][1] + "") &&
|
|
4481
|
+
E[11][1] + "") && G(Re, J), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4461
4482
|
66564 && he !== (he = /*realtimeupdate*/
|
|
4462
4483
|
(E[2] === "true" ? (
|
|
4463
4484
|
/*reversedJackpotValues*/
|
|
@@ -4465,12 +4486,12 @@ function ko(e) {
|
|
|
4465
4486
|
) : (
|
|
4466
4487
|
/*formattedJackpotValues*/
|
|
4467
4488
|
E[10][1]
|
|
4468
|
-
)) + "") &&
|
|
4469
|
-
E[3] ? W && (W.d(1), W = null) : W ? W.p(E,
|
|
4470
|
-
4096 && !Q(N.src,
|
|
4471
|
-
E[12][2]) &&
|
|
4489
|
+
)) + "") && G(fe, he), /*currencylocale*/
|
|
4490
|
+
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, I) : (W = vr(E), W.c(), W.m(Y, null)), I[0] & /*caticons*/
|
|
4491
|
+
4096 && !Q(N.src, oe = /*caticons*/
|
|
4492
|
+
E[12][2]) && P(N, "src", oe), I[0] & /*formattedLabels*/
|
|
4472
4493
|
2048 && q !== (q = /*formattedLabels*/
|
|
4473
|
-
E[11][2] + "") &&
|
|
4494
|
+
E[11][2] + "") && G(se, q), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4474
4495
|
1092 && xe !== (xe = /*realtimeupdate*/
|
|
4475
4496
|
(E[2] === "true" ? (
|
|
4476
4497
|
/*updatedJackpotValues*/
|
|
@@ -4478,50 +4499,50 @@ function ko(e) {
|
|
|
4478
4499
|
) : (
|
|
4479
4500
|
/*formattedJackpotValues*/
|
|
4480
4501
|
E[10][2]
|
|
4481
|
-
)) + "") &&
|
|
4482
|
-
E[3] ? X && (X.d(1), X = null) : X ? X.p(E,
|
|
4502
|
+
)) + "") && G(De, xe), /*currencylocale*/
|
|
4503
|
+
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, I) : (X = _r(E), X.c(), X.m(K, null)), I[0] & /*caticons*/
|
|
4483
4504
|
4096 && !Q(te.src, Se = /*caticons*/
|
|
4484
|
-
E[12][3]) &&
|
|
4505
|
+
E[12][3]) && P(te, "src", Se), I[0] & /*formattedLabels*/
|
|
4485
4506
|
2048 && be !== (be = /*formattedLabels*/
|
|
4486
|
-
E[11][3] + "") &&
|
|
4487
|
-
1092 &&
|
|
4507
|
+
E[11][3] + "") && G(je, be), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4508
|
+
1092 && H !== (H = /*realtimeupdate*/
|
|
4488
4509
|
(E[2] === "true" ? (
|
|
4489
4510
|
/*updatedJackpotValues*/
|
|
4490
4511
|
E[6][3]
|
|
4491
4512
|
) : (
|
|
4492
4513
|
/*formattedJackpotValues*/
|
|
4493
4514
|
E[10][3]
|
|
4494
|
-
)) + "") &&
|
|
4495
|
-
E[3] ? z && (z.d(1), z = null) : z ? z.p(E,
|
|
4515
|
+
)) + "") && G(U, H), /*currencylocale*/
|
|
4516
|
+
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, I) : (z = Er(E), z.c(), z.m(le, null));
|
|
4496
4517
|
},
|
|
4497
4518
|
d(E) {
|
|
4498
4519
|
E && (D(t), D(_e), D(ee)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
|
|
4499
4520
|
}
|
|
4500
4521
|
};
|
|
4501
4522
|
}
|
|
4502
|
-
function
|
|
4503
|
-
let t, r =
|
|
4523
|
+
function $o(e) {
|
|
4524
|
+
let t, r = Jt(Array(4)), n = [];
|
|
4504
4525
|
for (let i = 0; i < r.length; i += 1)
|
|
4505
|
-
n[i] =
|
|
4526
|
+
n[i] = Sr(gr(e, r, i));
|
|
4506
4527
|
return {
|
|
4507
4528
|
c() {
|
|
4508
4529
|
for (let i = 0; i < n.length; i += 1)
|
|
4509
4530
|
n[i].c();
|
|
4510
|
-
t =
|
|
4531
|
+
t = hn();
|
|
4511
4532
|
},
|
|
4512
4533
|
m(i, o) {
|
|
4513
4534
|
for (let s = 0; s < n.length; s += 1)
|
|
4514
4535
|
n[s] && n[s].m(i, o);
|
|
4515
|
-
|
|
4536
|
+
$(i, t, o);
|
|
4516
4537
|
},
|
|
4517
4538
|
p(i, o) {
|
|
4518
4539
|
if (o[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4519
4540
|
72718) {
|
|
4520
|
-
r =
|
|
4541
|
+
r = Jt(Array(4));
|
|
4521
4542
|
let s;
|
|
4522
4543
|
for (s = 0; s < r.length; s += 1) {
|
|
4523
|
-
const a =
|
|
4524
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4544
|
+
const a = gr(i, r, s);
|
|
4545
|
+
n[s] ? n[s].p(a, o) : (n[s] = Sr(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4525
4546
|
}
|
|
4526
4547
|
for (; s < n.length; s += 1)
|
|
4527
4548
|
n[s].d(1);
|
|
@@ -4529,11 +4550,11 @@ function Go(e) {
|
|
|
4529
4550
|
}
|
|
4530
4551
|
},
|
|
4531
4552
|
d(i) {
|
|
4532
|
-
i && D(t),
|
|
4553
|
+
i && D(t), cn(n, i);
|
|
4533
4554
|
}
|
|
4534
4555
|
};
|
|
4535
4556
|
}
|
|
4536
|
-
function
|
|
4557
|
+
function yr(e) {
|
|
4537
4558
|
let t, r;
|
|
4538
4559
|
return {
|
|
4539
4560
|
c() {
|
|
@@ -4543,11 +4564,11 @@ function br(e) {
|
|
|
4543
4564
|
), _(t, "class", "jackpot-currency");
|
|
4544
4565
|
},
|
|
4545
4566
|
m(n, i) {
|
|
4546
|
-
|
|
4567
|
+
$(n, t, i), d(t, r);
|
|
4547
4568
|
},
|
|
4548
4569
|
p(n, i) {
|
|
4549
4570
|
i[0] & /*currency*/
|
|
4550
|
-
2 &&
|
|
4571
|
+
2 && G(
|
|
4551
4572
|
r,
|
|
4552
4573
|
/*currency*/
|
|
4553
4574
|
n[1]
|
|
@@ -4558,7 +4579,7 @@ function br(e) {
|
|
|
4558
4579
|
}
|
|
4559
4580
|
};
|
|
4560
4581
|
}
|
|
4561
|
-
function
|
|
4582
|
+
function vr(e) {
|
|
4562
4583
|
let t, r;
|
|
4563
4584
|
return {
|
|
4564
4585
|
c() {
|
|
@@ -4568,11 +4589,11 @@ function gr(e) {
|
|
|
4568
4589
|
), _(t, "class", "jackpot-currency");
|
|
4569
4590
|
},
|
|
4570
4591
|
m(n, i) {
|
|
4571
|
-
|
|
4592
|
+
$(n, t, i), d(t, r);
|
|
4572
4593
|
},
|
|
4573
4594
|
p(n, i) {
|
|
4574
4595
|
i[0] & /*currency*/
|
|
4575
|
-
2 &&
|
|
4596
|
+
2 && G(
|
|
4576
4597
|
r,
|
|
4577
4598
|
/*currency*/
|
|
4578
4599
|
n[1]
|
|
@@ -4583,7 +4604,7 @@ function gr(e) {
|
|
|
4583
4604
|
}
|
|
4584
4605
|
};
|
|
4585
4606
|
}
|
|
4586
|
-
function
|
|
4607
|
+
function _r(e) {
|
|
4587
4608
|
let t, r;
|
|
4588
4609
|
return {
|
|
4589
4610
|
c() {
|
|
@@ -4593,11 +4614,11 @@ function yr(e) {
|
|
|
4593
4614
|
), _(t, "class", "jackpot-currency");
|
|
4594
4615
|
},
|
|
4595
4616
|
m(n, i) {
|
|
4596
|
-
|
|
4617
|
+
$(n, t, i), d(t, r);
|
|
4597
4618
|
},
|
|
4598
4619
|
p(n, i) {
|
|
4599
4620
|
i[0] & /*currency*/
|
|
4600
|
-
2 &&
|
|
4621
|
+
2 && G(
|
|
4601
4622
|
r,
|
|
4602
4623
|
/*currency*/
|
|
4603
4624
|
n[1]
|
|
@@ -4608,7 +4629,7 @@ function yr(e) {
|
|
|
4608
4629
|
}
|
|
4609
4630
|
};
|
|
4610
4631
|
}
|
|
4611
|
-
function
|
|
4632
|
+
function Er(e) {
|
|
4612
4633
|
let t, r;
|
|
4613
4634
|
return {
|
|
4614
4635
|
c() {
|
|
@@ -4618,11 +4639,11 @@ function vr(e) {
|
|
|
4618
4639
|
), _(t, "class", "jackpot-currency");
|
|
4619
4640
|
},
|
|
4620
4641
|
m(n, i) {
|
|
4621
|
-
|
|
4642
|
+
$(n, t, i), d(t, r);
|
|
4622
4643
|
},
|
|
4623
4644
|
p(n, i) {
|
|
4624
4645
|
i[0] & /*currency*/
|
|
4625
|
-
2 &&
|
|
4646
|
+
2 && G(
|
|
4626
4647
|
r,
|
|
4627
4648
|
/*currency*/
|
|
4628
4649
|
n[1]
|
|
@@ -4633,7 +4654,7 @@ function vr(e) {
|
|
|
4633
4654
|
}
|
|
4634
4655
|
};
|
|
4635
4656
|
}
|
|
4636
|
-
function
|
|
4657
|
+
function xr(e) {
|
|
4637
4658
|
let t, r;
|
|
4638
4659
|
return {
|
|
4639
4660
|
c() {
|
|
@@ -4643,11 +4664,11 @@ function _r(e) {
|
|
|
4643
4664
|
), _(t, "class", "jackpot-currency");
|
|
4644
4665
|
},
|
|
4645
4666
|
m(n, i) {
|
|
4646
|
-
|
|
4667
|
+
$(n, t, i), d(t, r);
|
|
4647
4668
|
},
|
|
4648
4669
|
p(n, i) {
|
|
4649
4670
|
i[0] & /*currency*/
|
|
4650
|
-
2 &&
|
|
4671
|
+
2 && G(
|
|
4651
4672
|
r,
|
|
4652
4673
|
/*currency*/
|
|
4653
4674
|
n[1]
|
|
@@ -4658,7 +4679,7 @@ function _r(e) {
|
|
|
4658
4679
|
}
|
|
4659
4680
|
};
|
|
4660
4681
|
}
|
|
4661
|
-
function
|
|
4682
|
+
function Sr(e) {
|
|
4662
4683
|
let t, r, n, i, o, s, a = (
|
|
4663
4684
|
/*formattedLabels*/
|
|
4664
4685
|
e[11][
|
|
@@ -4681,17 +4702,17 @@ function Er(e) {
|
|
|
4681
4702
|
] ?? ""
|
|
4682
4703
|
)) + ""
|
|
4683
4704
|
), g, x, y, v = !/*currencylocale*/
|
|
4684
|
-
e[3] &&
|
|
4705
|
+
e[3] && xr(e);
|
|
4685
4706
|
return {
|
|
4686
4707
|
c() {
|
|
4687
|
-
t = b("div"), r = b("div"), n = b("ui-image"), o =
|
|
4708
|
+
t = b("div"), r = b("div"), n = b("ui-image"), o = C(), s = b("span"), l = R(a), u = C(), c = b("span"), p = b("span"), g = R(h), x = C(), v && v.c(), y = C(), P(n, "class", "displayCardIcon"), Q(n.src, i = /*caticons*/
|
|
4688
4709
|
e[12][
|
|
4689
4710
|
/*i*/
|
|
4690
4711
|
e[58]
|
|
4691
|
-
]) ||
|
|
4712
|
+
]) || P(n, "src", i), P(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(c, "class", "cardTextWrapper"), _(t, "class", "displayCard");
|
|
4692
4713
|
},
|
|
4693
4714
|
m(m, T) {
|
|
4694
|
-
|
|
4715
|
+
$(m, t, T), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, c), d(c, p), d(p, g), d(c, x), v && v.m(c, null), d(t, y);
|
|
4695
4716
|
},
|
|
4696
4717
|
p(m, T) {
|
|
4697
4718
|
T[0] & /*caticons*/
|
|
@@ -4699,12 +4720,12 @@ function Er(e) {
|
|
|
4699
4720
|
m[12][
|
|
4700
4721
|
/*i*/
|
|
4701
4722
|
m[58]
|
|
4702
|
-
]) &&
|
|
4723
|
+
]) && P(n, "src", i), T[0] & /*formattedLabels*/
|
|
4703
4724
|
2048 && a !== (a = /*formattedLabels*/
|
|
4704
4725
|
m[11][
|
|
4705
4726
|
/*i*/
|
|
4706
4727
|
m[58]
|
|
4707
|
-
] + "") &&
|
|
4728
|
+
] + "") && G(l, a), T[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4708
4729
|
66564 && h !== (h = /*realtimeupdate*/
|
|
4709
4730
|
(m[2] === "true" ? (
|
|
4710
4731
|
/*reversedJackpotValues*/
|
|
@@ -4718,22 +4739,22 @@ function Er(e) {
|
|
|
4718
4739
|
/*i*/
|
|
4719
4740
|
m[58]
|
|
4720
4741
|
] ?? ""
|
|
4721
|
-
)) + "") &&
|
|
4722
|
-
m[3] ? v && (v.d(1), v = null) : v ? v.p(m, T) : (v =
|
|
4742
|
+
)) + "") && G(g, h), /*currencylocale*/
|
|
4743
|
+
m[3] ? v && (v.d(1), v = null) : v ? v.p(m, T) : (v = xr(m), v.c(), v.m(c, null));
|
|
4723
4744
|
},
|
|
4724
4745
|
d(m) {
|
|
4725
4746
|
m && D(t), v && v.d();
|
|
4726
4747
|
}
|
|
4727
4748
|
};
|
|
4728
4749
|
}
|
|
4729
|
-
function
|
|
4750
|
+
function Fo(e) {
|
|
4730
4751
|
let t;
|
|
4731
4752
|
function r(o, s) {
|
|
4732
4753
|
return (
|
|
4733
4754
|
/*hasErrors*/
|
|
4734
|
-
o[15] ?
|
|
4755
|
+
o[15] ? jo : (
|
|
4735
4756
|
/*isLoading*/
|
|
4736
|
-
o[5] ?
|
|
4757
|
+
o[5] ? ko : Do
|
|
4737
4758
|
)
|
|
4738
4759
|
);
|
|
4739
4760
|
}
|
|
@@ -4743,7 +4764,7 @@ function jo(e) {
|
|
|
4743
4764
|
t = b("div"), i.c();
|
|
4744
4765
|
},
|
|
4745
4766
|
m(o, s) {
|
|
4746
|
-
|
|
4767
|
+
$(o, t, s), i.m(t, null), e[36](t);
|
|
4747
4768
|
},
|
|
4748
4769
|
p(o, s) {
|
|
4749
4770
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4755,32 +4776,32 @@ function jo(e) {
|
|
|
4755
4776
|
}
|
|
4756
4777
|
};
|
|
4757
4778
|
}
|
|
4758
|
-
function
|
|
4759
|
-
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: p = "" } = t, { currency: h = "" } = t, { backgroundsrcmobile: g = "" } = t, { titlelogopath: x = "" } = t, { lang: y = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: T = "" } = t, { endpoint:
|
|
4779
|
+
function Vo(e, t, r) {
|
|
4780
|
+
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: p = "" } = t, { currency: h = "" } = t, { backgroundsrcmobile: g = "" } = t, { titlelogopath: x = "" } = t, { lang: y = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: T = "" } = t, { endpoint: A = "" } = t, { gameid: M = "" } = t, { mbsource: k } = t, { realtimeupdate: F = "false" } = t, { currencylocale: J = "" } = t, Re = window.navigator.userAgent, ye = !1, Y = !1, me = "", he = [], fe = [], ve = [], _e = [], ee = [], ne = "", ie = "", N, oe = !0, Ue = !1, pe, q = null, se = [];
|
|
4760
4781
|
const Ze = () => {
|
|
4761
|
-
fetch(T).then((
|
|
4762
|
-
Object.keys(
|
|
4763
|
-
|
|
4782
|
+
fetch(T).then((H) => H.json()).then((H) => {
|
|
4783
|
+
Object.keys(H).forEach((U) => {
|
|
4784
|
+
mr(U, H[U]);
|
|
4764
4785
|
});
|
|
4765
|
-
}).catch((
|
|
4766
|
-
console.log(
|
|
4786
|
+
}).catch((H) => {
|
|
4787
|
+
console.log(H);
|
|
4767
4788
|
});
|
|
4768
4789
|
};
|
|
4769
|
-
Object.keys(
|
|
4770
|
-
|
|
4790
|
+
Object.keys(br).forEach((f) => {
|
|
4791
|
+
mr(f, br[f]);
|
|
4771
4792
|
});
|
|
4772
4793
|
const K = ["typeSpread", "typeLeft"], Ee = (f) => {
|
|
4773
|
-
const
|
|
4774
|
-
|
|
4794
|
+
const H = f?.items[0]?.additionalData;
|
|
4795
|
+
H && Object.values(H).forEach((U) => he.push(+U));
|
|
4775
4796
|
}, xe = (f) => {
|
|
4776
4797
|
r(9, me = f?.items[0]?.vendorLogo || "");
|
|
4777
|
-
},
|
|
4778
|
-
if (
|
|
4779
|
-
let f = new URL(`${
|
|
4780
|
-
f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((
|
|
4781
|
-
r(5,
|
|
4798
|
+
}, De = () => {
|
|
4799
|
+
if (A && y && h) {
|
|
4800
|
+
let f = new URL(`${A}/v1/casino/jackpots`);
|
|
4801
|
+
f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((H) => H.json().then((U) => {
|
|
4802
|
+
r(5, oe = !1), pe = U, fe.includes(M) && (Ee(pe), xe(pe));
|
|
4782
4803
|
}).catch((U) => {
|
|
4783
|
-
r(15,
|
|
4804
|
+
r(15, Ue = !0), r(5, oe = !1), console.error(U);
|
|
4784
4805
|
}).finally(() => {
|
|
4785
4806
|
Qe();
|
|
4786
4807
|
}));
|
|
@@ -4789,85 +4810,85 @@ function Fo(e, t, r) {
|
|
|
4789
4810
|
const f = N.getRootNode().host;
|
|
4790
4811
|
f.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: f } }));
|
|
4791
4812
|
}, Ye = () => {
|
|
4792
|
-
let f = new URL(`${
|
|
4793
|
-
fetch(f.href).then((
|
|
4794
|
-
r(34, fe =
|
|
4813
|
+
let f = new URL(`${A}/v1/casino/jackpots/config`);
|
|
4814
|
+
fetch(f.href).then((H) => H.json()).then((H) => {
|
|
4815
|
+
r(34, fe = H.egtJackpotIds.map((U) => U));
|
|
4795
4816
|
});
|
|
4796
|
-
},
|
|
4797
|
-
r(7, ye =
|
|
4798
|
-
},
|
|
4817
|
+
}, ae = () => {
|
|
4818
|
+
r(7, ye = Co(Re) && window.innerHeight / window.innerWidth > 1), r(8, Y = Se()), he.length !== 0 && (r(10, ve = te(he)), ve.reverse()), r(11, _e = c ? c.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), K.includes(i.trim()) ? r(0, i = i.trim()) : (console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${K[0]}"`), r(0, i = K[0])), r(13, ne = g && ye && !Y ? g : p), r(14, ie = x), r(12, ee = [s, a, l, u]);
|
|
4819
|
+
}, ue = (f) => Intl.NumberFormat(J, {
|
|
4799
4820
|
minimumFractionDigits: 2,
|
|
4800
4821
|
maximumFractionDigits: 2,
|
|
4801
4822
|
style: "currency",
|
|
4802
4823
|
currency: h
|
|
4803
|
-
}).format(f).replace(/\s/g, ""), te = (f) => J ? f.map((
|
|
4824
|
+
}).format(f).replace(/\s/g, ""), te = (f) => J ? f.map((H) => ue(H)) : f.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), Se = () => {
|
|
4804
4825
|
const f = window.innerHeight / window.innerWidth;
|
|
4805
4826
|
return 0.75 < f && f < 1.6;
|
|
4806
|
-
},
|
|
4827
|
+
}, ke = () => {
|
|
4807
4828
|
window.postMessage({ type: "JackpotBannerClicked", gameid: M }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
4808
4829
|
context: "JackpotBanner",
|
|
4809
4830
|
gameId: `${M}`
|
|
4810
4831
|
});
|
|
4811
4832
|
}, Te = () => {
|
|
4812
|
-
|
|
4833
|
+
Ro(y);
|
|
4813
4834
|
}, be = (f) => {
|
|
4814
|
-
const
|
|
4815
|
-
if (
|
|
4816
|
-
const U = Number(
|
|
4835
|
+
const H = JSON.parse(f.data);
|
|
4836
|
+
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === M) {
|
|
4837
|
+
const U = Number(H.data.jackpotAlias.split("_")[1]) - 1;
|
|
4817
4838
|
r(
|
|
4818
4839
|
6,
|
|
4819
|
-
|
|
4820
|
-
|
|
4840
|
+
se[U] = J ? ue(H.data.data[`${h}`].balance) : H.data.data[`${h}`].balance.toString(),
|
|
4841
|
+
se
|
|
4821
4842
|
);
|
|
4822
4843
|
}
|
|
4823
4844
|
}, je = () => {
|
|
4824
|
-
|
|
4845
|
+
F === "true" && (ae(), r(6, se = ["", "", "", ""]), q = new EventSource(`${A}/v1/encoder/jackpot/*/update`), q.addEventListener("message", be));
|
|
4825
4846
|
};
|
|
4826
|
-
|
|
4827
|
-
}),
|
|
4847
|
+
mn(() => () => {
|
|
4848
|
+
}), bn(() => {
|
|
4828
4849
|
q && (q.removeEventListener("message", be), q.close(), q = null);
|
|
4829
4850
|
});
|
|
4830
|
-
const qe = () =>
|
|
4831
|
-
function
|
|
4832
|
-
|
|
4851
|
+
const qe = () => ke();
|
|
4852
|
+
function le(f) {
|
|
4853
|
+
Tt[f ? "unshift" : "push"](() => {
|
|
4833
4854
|
N = f, r(4, N);
|
|
4834
4855
|
});
|
|
4835
4856
|
}
|
|
4836
4857
|
return e.$$set = (f) => {
|
|
4837
|
-
"visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18, o = f.title), "caticon0" in f && r(19, s = f.caticon0), "caticon1" in f && r(20, a = f.caticon1), "caticon2" in f && r(21, l = f.caticon2), "caticon3" in f && r(22, u = f.caticon3), "iconlabels" in f && r(23, c = f.iconlabels), "backgroundsrc" in f && r(24, p = f.backgroundsrc), "currency" in f && r(1, h = f.currency), "backgroundsrcmobile" in f && r(25, g = f.backgroundsrcmobile), "titlelogopath" in f && r(26, x = f.titlelogopath), "lang" in f && r(27, y = f.lang), "clientstyling" in f && r(28, v = f.clientstyling), "clientstylingurl" in f && r(29, m = f.clientstylingurl), "translationurl" in f && r(30, T = f.translationurl), "endpoint" in f && r(31,
|
|
4858
|
+
"visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18, o = f.title), "caticon0" in f && r(19, s = f.caticon0), "caticon1" in f && r(20, a = f.caticon1), "caticon2" in f && r(21, l = f.caticon2), "caticon3" in f && r(22, u = f.caticon3), "iconlabels" in f && r(23, c = f.iconlabels), "backgroundsrc" in f && r(24, p = f.backgroundsrc), "currency" in f && r(1, h = f.currency), "backgroundsrcmobile" in f && r(25, g = f.backgroundsrcmobile), "titlelogopath" in f && r(26, x = f.titlelogopath), "lang" in f && r(27, y = f.lang), "clientstyling" in f && r(28, v = f.clientstyling), "clientstylingurl" in f && r(29, m = f.clientstylingurl), "translationurl" in f && r(30, T = f.translationurl), "endpoint" in f && r(31, A = f.endpoint), "gameid" in f && r(32, M = f.gameid), "mbsource" in f && r(33, k = f.mbsource), "realtimeupdate" in f && r(2, F = f.realtimeupdate), "currencylocale" in f && r(3, J = f.currencylocale);
|
|
4838
4859
|
}, e.$$.update = () => {
|
|
4839
4860
|
e.$$.dirty[1] & /*endpoint*/
|
|
4840
|
-
1 &&
|
|
4841
|
-
268435472 && v && N &&
|
|
4842
|
-
536870928 && m && N &&
|
|
4861
|
+
1 && A && Ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4862
|
+
268435472 && v && N && Io(N, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4863
|
+
536870928 && m && N && No(N, m), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4843
4864
|
16 | e.$$.dirty[1] & /*mbsource*/
|
|
4844
|
-
4 && k && N &&
|
|
4865
|
+
4 && k && N && Mo(N, `${k}.Style`), e.$$.dirty[0] & /*lang, currency*/
|
|
4845
4866
|
134217730 | e.$$.dirty[1] & /*endpoint, validGameIds*/
|
|
4846
|
-
9 &&
|
|
4847
|
-
134217762 && h && y && !
|
|
4867
|
+
9 && A && y && h && fe.length > 0 && De(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4868
|
+
134217762 && h && y && !oe && ae(), e.$$.dirty[0] & /*lang*/
|
|
4848
4869
|
134217728 && y && Te(), e.$$.dirty[0] & /*translationurl*/
|
|
4849
4870
|
1073741824 && T && Ze(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4850
|
-
4 &&
|
|
4851
|
-
64 && r(16, n = [...
|
|
4871
|
+
4 && F && je(), e.$$.dirty[0] & /*updatedJackpotValues*/
|
|
4872
|
+
64 && r(16, n = [...se].reverse());
|
|
4852
4873
|
}, [
|
|
4853
4874
|
i,
|
|
4854
4875
|
h,
|
|
4855
|
-
|
|
4876
|
+
F,
|
|
4856
4877
|
J,
|
|
4857
4878
|
N,
|
|
4858
|
-
ie,
|
|
4859
4879
|
oe,
|
|
4880
|
+
se,
|
|
4860
4881
|
ye,
|
|
4861
4882
|
Y,
|
|
4862
4883
|
me,
|
|
4863
4884
|
ve,
|
|
4864
4885
|
_e,
|
|
4865
4886
|
ee,
|
|
4866
|
-
re,
|
|
4867
4887
|
ne,
|
|
4868
|
-
|
|
4888
|
+
ie,
|
|
4889
|
+
Ue,
|
|
4869
4890
|
n,
|
|
4870
|
-
|
|
4891
|
+
ke,
|
|
4871
4892
|
o,
|
|
4872
4893
|
s,
|
|
4873
4894
|
a,
|
|
@@ -4881,22 +4902,22 @@ function Fo(e, t, r) {
|
|
|
4881
4902
|
v,
|
|
4882
4903
|
m,
|
|
4883
4904
|
T,
|
|
4884
|
-
|
|
4905
|
+
A,
|
|
4885
4906
|
M,
|
|
4886
4907
|
k,
|
|
4887
4908
|
fe,
|
|
4888
4909
|
qe,
|
|
4889
|
-
|
|
4910
|
+
le
|
|
4890
4911
|
];
|
|
4891
4912
|
}
|
|
4892
|
-
class
|
|
4913
|
+
class Wo extends Bn {
|
|
4893
4914
|
constructor(t) {
|
|
4894
|
-
super(),
|
|
4915
|
+
super(), Hn(
|
|
4895
4916
|
this,
|
|
4896
4917
|
t,
|
|
4918
|
+
Vo,
|
|
4897
4919
|
Fo,
|
|
4898
|
-
|
|
4899
|
-
Sr,
|
|
4920
|
+
wr,
|
|
4900
4921
|
{
|
|
4901
4922
|
visualstructure: 0,
|
|
4902
4923
|
title: 18,
|
|
@@ -4919,7 +4940,7 @@ class $o extends An {
|
|
|
4919
4940
|
realtimeupdate: 2,
|
|
4920
4941
|
currencylocale: 3
|
|
4921
4942
|
},
|
|
4922
|
-
|
|
4943
|
+
Uo,
|
|
4923
4944
|
[-1, -1]
|
|
4924
4945
|
);
|
|
4925
4946
|
}
|
|
@@ -4927,124 +4948,124 @@ class $o extends An {
|
|
|
4927
4948
|
return this.$$.ctx[0];
|
|
4928
4949
|
}
|
|
4929
4950
|
set visualstructure(t) {
|
|
4930
|
-
this.$$set({ visualstructure: t }),
|
|
4951
|
+
this.$$set({ visualstructure: t }), O();
|
|
4931
4952
|
}
|
|
4932
4953
|
get title() {
|
|
4933
4954
|
return this.$$.ctx[18];
|
|
4934
4955
|
}
|
|
4935
4956
|
set title(t) {
|
|
4936
|
-
this.$$set({ title: t }),
|
|
4957
|
+
this.$$set({ title: t }), O();
|
|
4937
4958
|
}
|
|
4938
4959
|
get caticon0() {
|
|
4939
4960
|
return this.$$.ctx[19];
|
|
4940
4961
|
}
|
|
4941
4962
|
set caticon0(t) {
|
|
4942
|
-
this.$$set({ caticon0: t }),
|
|
4963
|
+
this.$$set({ caticon0: t }), O();
|
|
4943
4964
|
}
|
|
4944
4965
|
get caticon1() {
|
|
4945
4966
|
return this.$$.ctx[20];
|
|
4946
4967
|
}
|
|
4947
4968
|
set caticon1(t) {
|
|
4948
|
-
this.$$set({ caticon1: t }),
|
|
4969
|
+
this.$$set({ caticon1: t }), O();
|
|
4949
4970
|
}
|
|
4950
4971
|
get caticon2() {
|
|
4951
4972
|
return this.$$.ctx[21];
|
|
4952
4973
|
}
|
|
4953
4974
|
set caticon2(t) {
|
|
4954
|
-
this.$$set({ caticon2: t }),
|
|
4975
|
+
this.$$set({ caticon2: t }), O();
|
|
4955
4976
|
}
|
|
4956
4977
|
get caticon3() {
|
|
4957
4978
|
return this.$$.ctx[22];
|
|
4958
4979
|
}
|
|
4959
4980
|
set caticon3(t) {
|
|
4960
|
-
this.$$set({ caticon3: t }),
|
|
4981
|
+
this.$$set({ caticon3: t }), O();
|
|
4961
4982
|
}
|
|
4962
4983
|
get iconlabels() {
|
|
4963
4984
|
return this.$$.ctx[23];
|
|
4964
4985
|
}
|
|
4965
4986
|
set iconlabels(t) {
|
|
4966
|
-
this.$$set({ iconlabels: t }),
|
|
4987
|
+
this.$$set({ iconlabels: t }), O();
|
|
4967
4988
|
}
|
|
4968
4989
|
get backgroundsrc() {
|
|
4969
4990
|
return this.$$.ctx[24];
|
|
4970
4991
|
}
|
|
4971
4992
|
set backgroundsrc(t) {
|
|
4972
|
-
this.$$set({ backgroundsrc: t }),
|
|
4993
|
+
this.$$set({ backgroundsrc: t }), O();
|
|
4973
4994
|
}
|
|
4974
4995
|
get currency() {
|
|
4975
4996
|
return this.$$.ctx[1];
|
|
4976
4997
|
}
|
|
4977
4998
|
set currency(t) {
|
|
4978
|
-
this.$$set({ currency: t }),
|
|
4999
|
+
this.$$set({ currency: t }), O();
|
|
4979
5000
|
}
|
|
4980
5001
|
get backgroundsrcmobile() {
|
|
4981
5002
|
return this.$$.ctx[25];
|
|
4982
5003
|
}
|
|
4983
5004
|
set backgroundsrcmobile(t) {
|
|
4984
|
-
this.$$set({ backgroundsrcmobile: t }),
|
|
5005
|
+
this.$$set({ backgroundsrcmobile: t }), O();
|
|
4985
5006
|
}
|
|
4986
5007
|
get titlelogopath() {
|
|
4987
5008
|
return this.$$.ctx[26];
|
|
4988
5009
|
}
|
|
4989
5010
|
set titlelogopath(t) {
|
|
4990
|
-
this.$$set({ titlelogopath: t }),
|
|
5011
|
+
this.$$set({ titlelogopath: t }), O();
|
|
4991
5012
|
}
|
|
4992
5013
|
get lang() {
|
|
4993
5014
|
return this.$$.ctx[27];
|
|
4994
5015
|
}
|
|
4995
5016
|
set lang(t) {
|
|
4996
|
-
this.$$set({ lang: t }),
|
|
5017
|
+
this.$$set({ lang: t }), O();
|
|
4997
5018
|
}
|
|
4998
5019
|
get clientstyling() {
|
|
4999
5020
|
return this.$$.ctx[28];
|
|
5000
5021
|
}
|
|
5001
5022
|
set clientstyling(t) {
|
|
5002
|
-
this.$$set({ clientstyling: t }),
|
|
5023
|
+
this.$$set({ clientstyling: t }), O();
|
|
5003
5024
|
}
|
|
5004
5025
|
get clientstylingurl() {
|
|
5005
5026
|
return this.$$.ctx[29];
|
|
5006
5027
|
}
|
|
5007
5028
|
set clientstylingurl(t) {
|
|
5008
|
-
this.$$set({ clientstylingurl: t }),
|
|
5029
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
5009
5030
|
}
|
|
5010
5031
|
get translationurl() {
|
|
5011
5032
|
return this.$$.ctx[30];
|
|
5012
5033
|
}
|
|
5013
5034
|
set translationurl(t) {
|
|
5014
|
-
this.$$set({ translationurl: t }),
|
|
5035
|
+
this.$$set({ translationurl: t }), O();
|
|
5015
5036
|
}
|
|
5016
5037
|
get endpoint() {
|
|
5017
5038
|
return this.$$.ctx[31];
|
|
5018
5039
|
}
|
|
5019
5040
|
set endpoint(t) {
|
|
5020
|
-
this.$$set({ endpoint: t }),
|
|
5041
|
+
this.$$set({ endpoint: t }), O();
|
|
5021
5042
|
}
|
|
5022
5043
|
get gameid() {
|
|
5023
5044
|
return this.$$.ctx[32];
|
|
5024
5045
|
}
|
|
5025
5046
|
set gameid(t) {
|
|
5026
|
-
this.$$set({ gameid: t }),
|
|
5047
|
+
this.$$set({ gameid: t }), O();
|
|
5027
5048
|
}
|
|
5028
5049
|
get mbsource() {
|
|
5029
5050
|
return this.$$.ctx[33];
|
|
5030
5051
|
}
|
|
5031
5052
|
set mbsource(t) {
|
|
5032
|
-
this.$$set({ mbsource: t }),
|
|
5053
|
+
this.$$set({ mbsource: t }), O();
|
|
5033
5054
|
}
|
|
5034
5055
|
get realtimeupdate() {
|
|
5035
5056
|
return this.$$.ctx[2];
|
|
5036
5057
|
}
|
|
5037
5058
|
set realtimeupdate(t) {
|
|
5038
|
-
this.$$set({ realtimeupdate: t }),
|
|
5059
|
+
this.$$set({ realtimeupdate: t }), O();
|
|
5039
5060
|
}
|
|
5040
5061
|
get currencylocale() {
|
|
5041
5062
|
return this.$$.ctx[3];
|
|
5042
5063
|
}
|
|
5043
5064
|
set currencylocale(t) {
|
|
5044
|
-
this.$$set({ currencylocale: t }),
|
|
5065
|
+
this.$$set({ currencylocale: t }), O();
|
|
5045
5066
|
}
|
|
5046
5067
|
}
|
|
5047
|
-
|
|
5068
|
+
An(Wo, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
|
|
5048
5069
|
export {
|
|
5049
|
-
|
|
5070
|
+
Wo as C
|
|
5050
5071
|
};
|