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