@everymatrix/casino-jackpot-banner 1.77.19 → 1.77.20
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-CBsjExI3.js → CasinoJackpotBanner-B_G2m1z9.js} +817 -860
- package/components/{CasinoJackpotBanner-C06wch9B.js → CasinoJackpotBanner-CW9FpeK5.js} +789 -832
- package/components/CasinoJackpotBanner-Dixr5n7e.cjs +18 -0
- 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-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
- package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
- package/stencil/{ui-image-CHeV8e9p.js → ui-image-BY8ZO6br.js} +1 -1
- package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJSOH8ZL.cjs} +1 -1
- package/stencil/{ui-image-C7s6Uvn5.js → ui-image-DfVgiF6v.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-DbQ7SENq.js} +2 -2
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-L-CYescb.js} +2 -2
- package/components/CasinoJackpotBanner-B4RmJHSE.cjs +0 -18
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
1
|
+
import "../stencil/ui-image-BY8ZO6br.js";
|
|
2
2
|
function Z() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function vr(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function jt() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
e.forEach(
|
|
10
|
+
function ze(e) {
|
|
11
|
+
e.forEach(vr);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function Ut(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function _r(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 Kr(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function en(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 tn(e, t, r) {
|
|
39
|
+
const n = rn(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, nn(n, i);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function rn(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 nn(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 on(e, t) {
|
|
69
69
|
for (let r = 0; r < e.length; r += 1)
|
|
70
70
|
e[r] && e[r].d(t);
|
|
71
71
|
}
|
|
@@ -78,30 +78,30 @@ function R(e) {
|
|
|
78
78
|
function C() {
|
|
79
79
|
return R(" ");
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function sn() {
|
|
82
82
|
return R("");
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function an(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 un(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 ln(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 Er() {
|
|
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 hn(e) {
|
|
123
|
+
Er().$$.on_mount.push(e);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
125
|
+
function cn(e) {
|
|
126
|
+
Er().$$.on_destroy.push(e);
|
|
127
127
|
}
|
|
128
|
-
const Ae = [],
|
|
128
|
+
const Ae = [], Et = [];
|
|
129
129
|
let Be = [];
|
|
130
|
-
const
|
|
131
|
-
let
|
|
132
|
-
function
|
|
133
|
-
|
|
130
|
+
const Ft = [], fn = /* @__PURE__ */ Promise.resolve();
|
|
131
|
+
let xt = !1;
|
|
132
|
+
function pn() {
|
|
133
|
+
xt || (xt = !0, fn.then(O));
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function St(e) {
|
|
136
136
|
Be.push(e);
|
|
137
137
|
}
|
|
138
|
-
const
|
|
138
|
+
const dt = /* @__PURE__ */ new Set();
|
|
139
139
|
let we = 0;
|
|
140
140
|
function O() {
|
|
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), dn(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; Et.length; )
|
|
154
|
+
Et.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 (; Ft.length; )
|
|
162
|
+
Ft.pop()();
|
|
163
|
+
xt = !1, dt.clear(), $e(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function dn(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(St);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function mn(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 bn = /* @__PURE__ */ new Set();
|
|
177
|
+
function gn(e, t) {
|
|
178
|
+
e && e.i && (bn.delete(e), e.i(t));
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function $t(e) {
|
|
181
181
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function yn(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), St(() => {
|
|
186
|
+
const o = e.$$.on_mount.map(vr).filter(Ut);
|
|
187
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ze(o), e.$$.on_mount = [];
|
|
188
|
+
}), i.forEach(St);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function vn(e, t) {
|
|
191
191
|
const r = e.$$;
|
|
192
|
-
r.fragment !== null && (
|
|
192
|
+
r.fragment !== null && (mn(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 _n(e, t) {
|
|
195
|
+
e.$$.dirty[0] === -1 && (Ae.push(e), pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
const l =
|
|
197
|
+
function En(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: jt(),
|
|
208
208
|
// lifecycle
|
|
209
209
|
on_mount: [],
|
|
210
210
|
on_destroy: [],
|
|
@@ -213,28 +213,28 @@ 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: jt(),
|
|
217
217
|
dirty: a,
|
|
218
218
|
skip_bound: !1,
|
|
219
219
|
root: t.target || l.$$.root
|
|
220
220
|
};
|
|
221
221
|
s && s(u.root);
|
|
222
|
-
let
|
|
223
|
-
if (u.ctx = r ? r(e, t.props || {}, (p,
|
|
224
|
-
const x = g.length ? g[0] :
|
|
225
|
-
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x),
|
|
226
|
-
}) : [], u.update(),
|
|
222
|
+
let h = !1;
|
|
223
|
+
if (u.ctx = r ? r(e, t.props || {}, (p, c, ...g) => {
|
|
224
|
+
const x = g.length ? g[0] : c;
|
|
225
|
+
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), h && _n(e, p)), c;
|
|
226
|
+
}) : [], u.update(), h = !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 = un(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 && gn(e.$$.fragment), yn(e, t.target, t.anchor), O();
|
|
233
233
|
}
|
|
234
234
|
$e(l);
|
|
235
235
|
}
|
|
236
|
-
let
|
|
237
|
-
typeof HTMLElement == "function" && (
|
|
236
|
+
let xr;
|
|
237
|
+
typeof HTMLElement == "function" && (xr = 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 = ln(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 xn(e, t, r, n, i, o) {
|
|
384
|
+
let s = class extends xr {
|
|
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 Sn {
|
|
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
|
+
vn(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 (!Ut(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 && !Kr(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 Tn = "4";
|
|
457
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tn);
|
|
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 Tt = function(e, t) {
|
|
473
|
+
return Tt = 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
|
+
}, Tt(e, t);
|
|
479
479
|
};
|
|
480
|
-
function
|
|
480
|
+
function he(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
|
+
Tt(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 wn(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 wt(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 Ht(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 Sr(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 = Sr(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 At(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 = wt(s), l = a.next(); !l.done; l = a.next()) {
|
|
564
583
|
var u = l.value;
|
|
565
584
|
u.remove(this);
|
|
566
585
|
}
|
|
@@ -576,30 +595,30 @@ var ct = function() {
|
|
|
576
595
|
}
|
|
577
596
|
else
|
|
578
597
|
s.remove(this);
|
|
579
|
-
var
|
|
580
|
-
if (
|
|
598
|
+
var h = this.initialTeardown;
|
|
599
|
+
if (le(h))
|
|
581
600
|
try {
|
|
582
|
-
|
|
601
|
+
h();
|
|
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
|
|
609
|
+
for (var c = wt(p), g = c.next(); !g.done; g = c.next()) {
|
|
591
610
|
var x = g.value;
|
|
592
611
|
try {
|
|
593
|
-
|
|
612
|
+
Vt(x);
|
|
594
613
|
} catch (y) {
|
|
595
|
-
o = o ?? [], y instanceof
|
|
614
|
+
o = o ?? [], y instanceof mt ? o = Pe(Pe([], Ht(o)), Ht(y.errors)) : o.push(y);
|
|
596
615
|
}
|
|
597
616
|
}
|
|
598
617
|
} catch (y) {
|
|
599
618
|
n = { error: y };
|
|
600
619
|
} finally {
|
|
601
620
|
try {
|
|
602
|
-
g && !g.done && (i =
|
|
621
|
+
g && !g.done && (i = c.return) && i.call(c);
|
|
603
622
|
} finally {
|
|
604
623
|
if (n)
|
|
605
624
|
throw n.error;
|
|
@@ -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
|
+
Vt(t);
|
|
617
636
|
else {
|
|
618
637
|
if (t instanceof e) {
|
|
619
638
|
if (t.closed || t._hasParent(this))
|
|
@@ -630,52 +649,52 @@ 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) && At(r, t);
|
|
634
653
|
}, e.prototype.remove = function(t) {
|
|
635
654
|
var r = this._finalizers;
|
|
636
|
-
r &&
|
|
655
|
+
r && At(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
|
+
}(), Tr = lt.EMPTY;
|
|
661
|
+
function wr(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 Vt(e) {
|
|
665
|
+
le(e) ? e() : e.unsubscribe();
|
|
647
666
|
}
|
|
648
|
-
var
|
|
667
|
+
var Hn = {
|
|
649
668
|
Promise: void 0
|
|
650
|
-
},
|
|
669
|
+
}, An = {
|
|
651
670
|
setTimeout: function(e, t) {
|
|
652
671
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
653
672
|
r[n - 2] = arguments[n];
|
|
654
|
-
return setTimeout.apply(void 0,
|
|
673
|
+
return setTimeout.apply(void 0, Pe([e, t], Ht(r)));
|
|
655
674
|
},
|
|
656
675
|
clearTimeout: function(e) {
|
|
657
676
|
return clearTimeout(e);
|
|
658
677
|
},
|
|
659
678
|
delegate: void 0
|
|
660
679
|
};
|
|
661
|
-
function
|
|
662
|
-
|
|
680
|
+
function Bn(e) {
|
|
681
|
+
An.setTimeout(function() {
|
|
663
682
|
throw e;
|
|
664
683
|
});
|
|
665
684
|
}
|
|
666
|
-
function
|
|
685
|
+
function Wt() {
|
|
667
686
|
}
|
|
668
687
|
function it(e) {
|
|
669
688
|
e();
|
|
670
689
|
}
|
|
671
|
-
var
|
|
672
|
-
|
|
690
|
+
var Hr = function(e) {
|
|
691
|
+
he(t, e);
|
|
673
692
|
function t(r) {
|
|
674
693
|
var n = e.call(this) || this;
|
|
675
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
694
|
+
return n.isStopped = !1, r ? (n.destination = r, wr(r) && r.add(n)) : n.destination = On, n;
|
|
676
695
|
}
|
|
677
696
|
return t.create = function(r, n, i) {
|
|
678
|
-
return new
|
|
697
|
+
return new Bt(r, n, i);
|
|
679
698
|
}, t.prototype.next = function(r) {
|
|
680
699
|
this.isStopped || this._next(r);
|
|
681
700
|
}, t.prototype.error = function(r) {
|
|
@@ -699,7 +718,7 @@ var Lr = function(e) {
|
|
|
699
718
|
this.unsubscribe();
|
|
700
719
|
}
|
|
701
720
|
}, t;
|
|
702
|
-
}(
|
|
721
|
+
}(lt), Pn = function() {
|
|
703
722
|
function e(t) {
|
|
704
723
|
this.partialObserver = t;
|
|
705
724
|
}
|
|
@@ -730,43 +749,43 @@ var Lr = function(e) {
|
|
|
730
749
|
tt(r);
|
|
731
750
|
}
|
|
732
751
|
}, e;
|
|
733
|
-
}(),
|
|
734
|
-
|
|
752
|
+
}(), Bt = function(e) {
|
|
753
|
+
he(t, e);
|
|
735
754
|
function t(r, n, i) {
|
|
736
755
|
var o = e.call(this) || this, s;
|
|
737
|
-
return
|
|
756
|
+
return le(r) || !r ? s = {
|
|
738
757
|
next: r ?? void 0,
|
|
739
758
|
error: n ?? void 0,
|
|
740
759
|
complete: i ?? void 0
|
|
741
|
-
} : s = r, o.destination = new
|
|
760
|
+
} : s = r, o.destination = new Pn(s), o;
|
|
742
761
|
}
|
|
743
762
|
return t;
|
|
744
|
-
}(
|
|
763
|
+
}(Hr);
|
|
745
764
|
function tt(e) {
|
|
746
|
-
|
|
765
|
+
Bn(e);
|
|
747
766
|
}
|
|
748
|
-
function
|
|
767
|
+
function Ln(e) {
|
|
749
768
|
throw e;
|
|
750
769
|
}
|
|
751
|
-
var
|
|
770
|
+
var On = {
|
|
752
771
|
closed: !0,
|
|
753
|
-
next:
|
|
754
|
-
error:
|
|
755
|
-
complete:
|
|
756
|
-
},
|
|
772
|
+
next: Wt,
|
|
773
|
+
error: Ln,
|
|
774
|
+
complete: Wt
|
|
775
|
+
}, Cn = function() {
|
|
757
776
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
758
777
|
}();
|
|
759
|
-
function
|
|
778
|
+
function In(e) {
|
|
760
779
|
return e;
|
|
761
780
|
}
|
|
762
|
-
function
|
|
763
|
-
return e.length === 0 ?
|
|
781
|
+
function Nn(e) {
|
|
782
|
+
return e.length === 0 ? In : e.length === 1 ? e[0] : function(r) {
|
|
764
783
|
return e.reduce(function(n, i) {
|
|
765
784
|
return i(n);
|
|
766
785
|
}, r);
|
|
767
786
|
};
|
|
768
787
|
}
|
|
769
|
-
var
|
|
788
|
+
var Xt = function() {
|
|
770
789
|
function e(t) {
|
|
771
790
|
t && (this._subscribe = t);
|
|
772
791
|
}
|
|
@@ -774,7 +793,7 @@ var Yt = function() {
|
|
|
774
793
|
var r = new e();
|
|
775
794
|
return r.source = this, r.operator = t, r;
|
|
776
795
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
777
|
-
var i = this, o =
|
|
796
|
+
var i = this, o = Rn(t) ? t : new Bt(t, r, n);
|
|
778
797
|
return it(function() {
|
|
779
798
|
var s = i, a = s.operator, l = s.source;
|
|
780
799
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -787,8 +806,8 @@ var Yt = function() {
|
|
|
787
806
|
}
|
|
788
807
|
}, e.prototype.forEach = function(t, r) {
|
|
789
808
|
var n = this;
|
|
790
|
-
return r =
|
|
791
|
-
var s = new
|
|
809
|
+
return r = zt(r), new r(function(i, o) {
|
|
810
|
+
var s = new Bt({
|
|
792
811
|
next: function(a) {
|
|
793
812
|
try {
|
|
794
813
|
t(a);
|
|
@@ -804,15 +823,15 @@ var Yt = function() {
|
|
|
804
823
|
}, e.prototype._subscribe = function(t) {
|
|
805
824
|
var r;
|
|
806
825
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
807
|
-
}, e.prototype[
|
|
826
|
+
}, e.prototype[Cn] = function() {
|
|
808
827
|
return this;
|
|
809
828
|
}, e.prototype.pipe = function() {
|
|
810
829
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
811
830
|
t[r] = arguments[r];
|
|
812
|
-
return
|
|
831
|
+
return Nn(t)(this);
|
|
813
832
|
}, e.prototype.toPromise = function(t) {
|
|
814
833
|
var r = this;
|
|
815
|
-
return t =
|
|
834
|
+
return t = zt(t), new t(function(n, i) {
|
|
816
835
|
var o;
|
|
817
836
|
r.subscribe(function(s) {
|
|
818
837
|
return o = s;
|
|
@@ -826,32 +845,32 @@ var Yt = function() {
|
|
|
826
845
|
return new e(t);
|
|
827
846
|
}, e;
|
|
828
847
|
}();
|
|
829
|
-
function
|
|
848
|
+
function zt(e) {
|
|
830
849
|
var t;
|
|
831
|
-
return (t = e ??
|
|
850
|
+
return (t = e ?? Hn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
832
851
|
}
|
|
833
|
-
function
|
|
834
|
-
return e &&
|
|
852
|
+
function Mn(e) {
|
|
853
|
+
return e && le(e.next) && le(e.error) && le(e.complete);
|
|
835
854
|
}
|
|
836
|
-
function
|
|
837
|
-
return e && e instanceof
|
|
855
|
+
function Rn(e) {
|
|
856
|
+
return e && e instanceof Hr || Mn(e) && wr(e);
|
|
838
857
|
}
|
|
839
|
-
var
|
|
858
|
+
var Un = Sr(function(e) {
|
|
840
859
|
return function() {
|
|
841
860
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
842
861
|
};
|
|
843
|
-
}),
|
|
844
|
-
|
|
862
|
+
}), Ar = function(e) {
|
|
863
|
+
he(t, e);
|
|
845
864
|
function t() {
|
|
846
865
|
var r = e.call(this) || this;
|
|
847
866
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
848
867
|
}
|
|
849
868
|
return t.prototype.lift = function(r) {
|
|
850
|
-
var n = new
|
|
869
|
+
var n = new Jt(this, this);
|
|
851
870
|
return n.operator = r, n;
|
|
852
871
|
}, t.prototype._throwIfClosed = function() {
|
|
853
872
|
if (this.closed)
|
|
854
|
-
throw new
|
|
873
|
+
throw new Un();
|
|
855
874
|
}, t.prototype.next = function(r) {
|
|
856
875
|
var n = this;
|
|
857
876
|
it(function() {
|
|
@@ -859,7 +878,7 @@ var Gn = Br(function(e) {
|
|
|
859
878
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
860
879
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
861
880
|
try {
|
|
862
|
-
for (var s =
|
|
881
|
+
for (var s = wt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
863
882
|
var l = a.value;
|
|
864
883
|
l.next(r);
|
|
865
884
|
}
|
|
@@ -908,20 +927,20 @@ var Gn = Br(function(e) {
|
|
|
908
927
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
909
928
|
}, t.prototype._innerSubscribe = function(r) {
|
|
910
929
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
911
|
-
return o || s ?
|
|
912
|
-
n.currentObservers = null,
|
|
930
|
+
return o || s ? Tr : (this.currentObservers = null, a.push(r), new lt(function() {
|
|
931
|
+
n.currentObservers = null, At(a, r);
|
|
913
932
|
}));
|
|
914
933
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
915
934
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
916
935
|
i ? r.error(o) : s && r.complete();
|
|
917
936
|
}, t.prototype.asObservable = function() {
|
|
918
|
-
var r = new
|
|
937
|
+
var r = new Xt();
|
|
919
938
|
return r.source = this, r;
|
|
920
939
|
}, t.create = function(r, n) {
|
|
921
|
-
return new
|
|
940
|
+
return new Jt(r, n);
|
|
922
941
|
}, t;
|
|
923
|
-
}(
|
|
924
|
-
|
|
942
|
+
}(Xt), Jt = function(e) {
|
|
943
|
+
he(t, e);
|
|
925
944
|
function t(r, n) {
|
|
926
945
|
var i = e.call(this) || this;
|
|
927
946
|
return i.destination = r, i.source = n, i;
|
|
@@ -937,17 +956,17 @@ var Gn = Br(function(e) {
|
|
|
937
956
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
938
957
|
}, t.prototype._subscribe = function(r) {
|
|
939
958
|
var n, i;
|
|
940
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
959
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tr;
|
|
941
960
|
}, t;
|
|
942
|
-
}(
|
|
961
|
+
}(Ar), Br = {
|
|
943
962
|
now: function() {
|
|
944
|
-
return (
|
|
963
|
+
return (Br.delegate || Date).now();
|
|
945
964
|
},
|
|
946
965
|
delegate: void 0
|
|
947
|
-
},
|
|
948
|
-
|
|
966
|
+
}, Dn = function(e) {
|
|
967
|
+
he(t, e);
|
|
949
968
|
function t(r, n, i) {
|
|
950
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
969
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
|
|
951
970
|
var o = e.call(this) || this;
|
|
952
971
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
953
972
|
}
|
|
@@ -962,20 +981,20 @@ var Gn = Br(function(e) {
|
|
|
962
981
|
}, t.prototype._trimBuffer = function() {
|
|
963
982
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
964
983
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
965
|
-
for (var l = i.now(), u = 0,
|
|
966
|
-
u =
|
|
984
|
+
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
985
|
+
u = h;
|
|
967
986
|
u && o.splice(0, u + 1);
|
|
968
987
|
}
|
|
969
988
|
}, t;
|
|
970
|
-
}(
|
|
971
|
-
const
|
|
972
|
-
if (
|
|
973
|
-
const r = new
|
|
974
|
-
|
|
989
|
+
}(Ar);
|
|
990
|
+
const Zt = [], Qt = {}, kn = (e, t = 0) => {
|
|
991
|
+
if (Zt.indexOf(e) == -1) {
|
|
992
|
+
const r = new Dn(t);
|
|
993
|
+
Qt[e] = r, Zt.push(e);
|
|
975
994
|
}
|
|
976
|
-
return
|
|
995
|
+
return Qt[e];
|
|
977
996
|
}, He = [];
|
|
978
|
-
function
|
|
997
|
+
function Gn(e, t) {
|
|
979
998
|
return {
|
|
980
999
|
subscribe: ht(e, t).subscribe
|
|
981
1000
|
};
|
|
@@ -984,7 +1003,7 @@ function ht(e, t = Z) {
|
|
|
984
1003
|
let r;
|
|
985
1004
|
const n = /* @__PURE__ */ new Set();
|
|
986
1005
|
function i(a) {
|
|
987
|
-
if (
|
|
1006
|
+
if (_r(e, a) && (e = a, r)) {
|
|
988
1007
|
const l = !He.length;
|
|
989
1008
|
for (const u of n)
|
|
990
1009
|
u[1](), He.push(u, e);
|
|
@@ -1006,184 +1025,142 @@ function ht(e, t = Z) {
|
|
|
1006
1025
|
}
|
|
1007
1026
|
return { set: i, update: o, subscribe: s };
|
|
1008
1027
|
}
|
|
1009
|
-
function
|
|
1028
|
+
function Ne(e, t, r) {
|
|
1010
1029
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1011
1030
|
if (!i.every(Boolean))
|
|
1012
1031
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1013
1032
|
const o = t.length < 2;
|
|
1014
|
-
return
|
|
1033
|
+
return Gn(r, (s, a) => {
|
|
1015
1034
|
let l = !1;
|
|
1016
1035
|
const u = [];
|
|
1017
|
-
let
|
|
1018
|
-
const
|
|
1019
|
-
if (
|
|
1036
|
+
let h = 0, p = Z;
|
|
1037
|
+
const c = () => {
|
|
1038
|
+
if (h)
|
|
1020
1039
|
return;
|
|
1021
1040
|
p();
|
|
1022
1041
|
const x = t(n ? u[0] : u, s, a);
|
|
1023
|
-
o ? s(x) : p =
|
|
1042
|
+
o ? s(x) : p = Ut(x) ? x : Z;
|
|
1024
1043
|
}, g = i.map(
|
|
1025
|
-
(x, y) =>
|
|
1044
|
+
(x, y) => en(
|
|
1026
1045
|
x,
|
|
1027
1046
|
(v) => {
|
|
1028
|
-
u[y] = v,
|
|
1047
|
+
u[y] = v, h &= ~(1 << y), l && c();
|
|
1029
1048
|
},
|
|
1030
1049
|
() => {
|
|
1031
|
-
|
|
1050
|
+
h |= 1 << y;
|
|
1032
1051
|
}
|
|
1033
1052
|
)
|
|
1034
1053
|
);
|
|
1035
|
-
return l = !0,
|
|
1036
|
-
|
|
1054
|
+
return l = !0, c(), function() {
|
|
1055
|
+
ze(g), p(), l = !1;
|
|
1037
1056
|
};
|
|
1038
1057
|
});
|
|
1039
1058
|
}
|
|
1040
|
-
function
|
|
1059
|
+
function jn(e) {
|
|
1041
1060
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1042
1061
|
}
|
|
1043
|
-
var
|
|
1044
|
-
return
|
|
1062
|
+
var Fn = function(t) {
|
|
1063
|
+
return $n(t) && !Vn(t);
|
|
1045
1064
|
};
|
|
1046
|
-
function
|
|
1065
|
+
function $n(e) {
|
|
1047
1066
|
return !!e && typeof e == "object";
|
|
1048
1067
|
}
|
|
1049
|
-
function
|
|
1068
|
+
function Vn(e) {
|
|
1050
1069
|
var t = Object.prototype.toString.call(e);
|
|
1051
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1070
|
+
return t === "[object RegExp]" || t === "[object Date]" || zn(e);
|
|
1052
1071
|
}
|
|
1053
|
-
var
|
|
1054
|
-
function
|
|
1055
|
-
return e.$$typeof ===
|
|
1072
|
+
var Wn = typeof Symbol == "function" && Symbol.for, Xn = Wn ? Symbol.for("react.element") : 60103;
|
|
1073
|
+
function zn(e) {
|
|
1074
|
+
return e.$$typeof === Xn;
|
|
1056
1075
|
}
|
|
1057
|
-
function
|
|
1076
|
+
function Jn(e) {
|
|
1058
1077
|
return Array.isArray(e) ? [] : {};
|
|
1059
1078
|
}
|
|
1060
|
-
function
|
|
1061
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1079
|
+
function We(e, t) {
|
|
1080
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Le(Jn(e), e, t) : e;
|
|
1062
1081
|
}
|
|
1063
|
-
function
|
|
1082
|
+
function Zn(e, t, r) {
|
|
1064
1083
|
return e.concat(t).map(function(n) {
|
|
1065
|
-
return
|
|
1084
|
+
return We(n, r);
|
|
1066
1085
|
});
|
|
1067
1086
|
}
|
|
1068
|
-
function
|
|
1087
|
+
function Qn(e, t) {
|
|
1069
1088
|
if (!t.customMerge)
|
|
1070
|
-
return
|
|
1089
|
+
return Le;
|
|
1071
1090
|
var r = t.customMerge(e);
|
|
1072
|
-
return typeof r == "function" ? r :
|
|
1091
|
+
return typeof r == "function" ? r : Le;
|
|
1073
1092
|
}
|
|
1074
|
-
function
|
|
1093
|
+
function Yn(e) {
|
|
1075
1094
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1076
1095
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1077
1096
|
}) : [];
|
|
1078
1097
|
}
|
|
1079
|
-
function
|
|
1080
|
-
return Object.keys(e).concat(
|
|
1098
|
+
function Yt(e) {
|
|
1099
|
+
return Object.keys(e).concat(Yn(e));
|
|
1081
1100
|
}
|
|
1082
|
-
function
|
|
1101
|
+
function Pr(e, t) {
|
|
1083
1102
|
try {
|
|
1084
1103
|
return t in e;
|
|
1085
1104
|
} catch {
|
|
1086
1105
|
return !1;
|
|
1087
1106
|
}
|
|
1088
1107
|
}
|
|
1089
|
-
function
|
|
1090
|
-
return
|
|
1108
|
+
function qn(e, t) {
|
|
1109
|
+
return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1091
1110
|
}
|
|
1092
|
-
function
|
|
1111
|
+
function Kn(e, t, r) {
|
|
1093
1112
|
var n = {};
|
|
1094
|
-
return r.isMergeableObject(e) &&
|
|
1095
|
-
n[i] =
|
|
1096
|
-
}),
|
|
1097
|
-
|
|
1113
|
+
return r.isMergeableObject(e) && Yt(e).forEach(function(i) {
|
|
1114
|
+
n[i] = We(e[i], r);
|
|
1115
|
+
}), Yt(t).forEach(function(i) {
|
|
1116
|
+
qn(e, i) || (Pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qn(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
|
|
1098
1117
|
}), n;
|
|
1099
1118
|
}
|
|
1100
|
-
function
|
|
1101
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1119
|
+
function Le(e, t, r) {
|
|
1120
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Zn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = We;
|
|
1102
1121
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1103
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1122
|
+
return o ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : We(t, r);
|
|
1104
1123
|
}
|
|
1105
|
-
|
|
1124
|
+
Le.all = function(t, r) {
|
|
1106
1125
|
if (!Array.isArray(t))
|
|
1107
1126
|
throw new Error("first argument should be an array");
|
|
1108
1127
|
return t.reduce(function(n, i) {
|
|
1109
|
-
return
|
|
1128
|
+
return Le(n, i, r);
|
|
1110
1129
|
}, {});
|
|
1111
1130
|
};
|
|
1112
|
-
var
|
|
1113
|
-
const
|
|
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;
|
|
1131
|
+
var ei = Le, ti = ei;
|
|
1132
|
+
const ri = /* @__PURE__ */ jn(ti);
|
|
1133
|
+
function bt(e, t) {
|
|
1134
|
+
var r = t && t.cache ? t.cache : li, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : oi;
|
|
1158
1135
|
return i(e, {
|
|
1159
1136
|
cache: r,
|
|
1160
1137
|
serializer: n
|
|
1161
1138
|
});
|
|
1162
1139
|
}
|
|
1163
|
-
function
|
|
1140
|
+
function ni(e) {
|
|
1164
1141
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1165
1142
|
}
|
|
1166
|
-
function
|
|
1167
|
-
var i =
|
|
1143
|
+
function ii(e, t, r, n) {
|
|
1144
|
+
var i = ni(n) ? n : r(n), o = t.get(i);
|
|
1168
1145
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1169
1146
|
}
|
|
1170
|
-
function
|
|
1147
|
+
function Lr(e, t, r) {
|
|
1171
1148
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1172
1149
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1173
1150
|
}
|
|
1174
|
-
function
|
|
1151
|
+
function Or(e, t, r, n, i) {
|
|
1175
1152
|
return r.bind(t, e, n, i);
|
|
1176
1153
|
}
|
|
1177
|
-
function
|
|
1178
|
-
var r = e.length === 1 ?
|
|
1179
|
-
return
|
|
1154
|
+
function oi(e, t) {
|
|
1155
|
+
var r = e.length === 1 ? ii : Lr;
|
|
1156
|
+
return Or(e, this, r, t.cache.create(), t.serializer);
|
|
1180
1157
|
}
|
|
1181
|
-
function
|
|
1182
|
-
return
|
|
1158
|
+
function si(e, t) {
|
|
1159
|
+
return Or(e, this, Lr, t.cache.create(), t.serializer);
|
|
1183
1160
|
}
|
|
1184
|
-
var
|
|
1161
|
+
var ai = function() {
|
|
1185
1162
|
return JSON.stringify(arguments);
|
|
1186
|
-
},
|
|
1163
|
+
}, ui = (
|
|
1187
1164
|
/** @class */
|
|
1188
1165
|
function() {
|
|
1189
1166
|
function e() {
|
|
@@ -1195,71 +1172,61 @@ var fi = function() {
|
|
|
1195
1172
|
this.cache[t] = r;
|
|
1196
1173
|
}, e;
|
|
1197
1174
|
}()
|
|
1198
|
-
),
|
|
1175
|
+
), li = {
|
|
1199
1176
|
create: function() {
|
|
1200
|
-
return new
|
|
1177
|
+
return new ui();
|
|
1201
1178
|
}
|
|
1202
|
-
},
|
|
1203
|
-
variadic:
|
|
1204
|
-
},
|
|
1205
|
-
return at = Object.assign || function(t) {
|
|
1206
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1207
|
-
r = arguments[n];
|
|
1208
|
-
for (var o in r)
|
|
1209
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1210
|
-
}
|
|
1211
|
-
return t;
|
|
1212
|
-
}, at.apply(this, arguments);
|
|
1213
|
-
};
|
|
1214
|
-
var S;
|
|
1179
|
+
}, gt = {
|
|
1180
|
+
variadic: si
|
|
1181
|
+
}, S;
|
|
1215
1182
|
(function(e) {
|
|
1216
1183
|
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
1184
|
})(S || (S = {}));
|
|
1218
|
-
var
|
|
1185
|
+
var P;
|
|
1219
1186
|
(function(e) {
|
|
1220
1187
|
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
|
-
})(
|
|
1188
|
+
})(P || (P = {}));
|
|
1222
1189
|
var Oe;
|
|
1223
1190
|
(function(e) {
|
|
1224
1191
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1225
1192
|
})(Oe || (Oe = {}));
|
|
1226
|
-
function
|
|
1227
|
-
return e.type ===
|
|
1193
|
+
function qt(e) {
|
|
1194
|
+
return e.type === P.literal;
|
|
1228
1195
|
}
|
|
1229
|
-
function
|
|
1230
|
-
return e.type ===
|
|
1196
|
+
function hi(e) {
|
|
1197
|
+
return e.type === P.argument;
|
|
1231
1198
|
}
|
|
1232
|
-
function
|
|
1233
|
-
return e.type ===
|
|
1199
|
+
function Cr(e) {
|
|
1200
|
+
return e.type === P.number;
|
|
1234
1201
|
}
|
|
1235
|
-
function
|
|
1236
|
-
return e.type ===
|
|
1202
|
+
function Ir(e) {
|
|
1203
|
+
return e.type === P.date;
|
|
1237
1204
|
}
|
|
1238
|
-
function
|
|
1239
|
-
return e.type ===
|
|
1205
|
+
function Nr(e) {
|
|
1206
|
+
return e.type === P.time;
|
|
1240
1207
|
}
|
|
1241
|
-
function
|
|
1242
|
-
return e.type ===
|
|
1208
|
+
function Mr(e) {
|
|
1209
|
+
return e.type === P.select;
|
|
1243
1210
|
}
|
|
1244
|
-
function
|
|
1245
|
-
return e.type ===
|
|
1211
|
+
function Rr(e) {
|
|
1212
|
+
return e.type === P.plural;
|
|
1246
1213
|
}
|
|
1247
|
-
function
|
|
1248
|
-
return e.type ===
|
|
1214
|
+
function ci(e) {
|
|
1215
|
+
return e.type === P.pound;
|
|
1249
1216
|
}
|
|
1250
|
-
function
|
|
1251
|
-
return e.type ===
|
|
1217
|
+
function Ur(e) {
|
|
1218
|
+
return e.type === P.tag;
|
|
1252
1219
|
}
|
|
1253
|
-
function
|
|
1220
|
+
function Dr(e) {
|
|
1254
1221
|
return !!(e && typeof e == "object" && e.type === Oe.number);
|
|
1255
1222
|
}
|
|
1256
|
-
function
|
|
1223
|
+
function Pt(e) {
|
|
1257
1224
|
return !!(e && typeof e == "object" && e.type === Oe.dateTime);
|
|
1258
1225
|
}
|
|
1259
|
-
var
|
|
1260
|
-
function
|
|
1226
|
+
var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
|
|
1227
|
+
function pi(e) {
|
|
1261
1228
|
var t = {};
|
|
1262
|
-
return e.replace(
|
|
1229
|
+
return e.replace(fi, function(r) {
|
|
1263
1230
|
var n = r.length;
|
|
1264
1231
|
switch (r[0]) {
|
|
1265
1232
|
case "G":
|
|
@@ -1348,28 +1315,18 @@ function yi(e) {
|
|
|
1348
1315
|
return "";
|
|
1349
1316
|
}), t;
|
|
1350
1317
|
}
|
|
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) {
|
|
1318
|
+
var di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1319
|
+
function mi(e) {
|
|
1363
1320
|
if (e.length === 0)
|
|
1364
1321
|
throw new Error("Number skeleton cannot be empty");
|
|
1365
|
-
for (var t = e.split(
|
|
1366
|
-
return
|
|
1322
|
+
for (var t = e.split(di).filter(function(c) {
|
|
1323
|
+
return c.length > 0;
|
|
1367
1324
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1368
1325
|
var o = i[n], s = o.split("/");
|
|
1369
1326
|
if (s.length === 0)
|
|
1370
1327
|
throw new Error("Invalid number skeleton");
|
|
1371
|
-
for (var a = s[0], l = s.slice(1), u = 0,
|
|
1372
|
-
var p =
|
|
1328
|
+
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1329
|
+
var p = h[u];
|
|
1373
1330
|
if (p.length === 0)
|
|
1374
1331
|
throw new Error("Invalid number skeleton");
|
|
1375
1332
|
}
|
|
@@ -1377,17 +1334,17 @@ function _i(e) {
|
|
|
1377
1334
|
}
|
|
1378
1335
|
return r;
|
|
1379
1336
|
}
|
|
1380
|
-
function
|
|
1337
|
+
function bi(e) {
|
|
1381
1338
|
return e.replace(/^(.*?)-/, "");
|
|
1382
1339
|
}
|
|
1383
|
-
var
|
|
1384
|
-
function
|
|
1340
|
+
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
|
|
1341
|
+
function er(e) {
|
|
1385
1342
|
var t = {};
|
|
1386
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1343
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
|
|
1387
1344
|
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
1345
|
}), t;
|
|
1389
1346
|
}
|
|
1390
|
-
function
|
|
1347
|
+
function Fr(e) {
|
|
1391
1348
|
switch (e) {
|
|
1392
1349
|
case "sign-auto":
|
|
1393
1350
|
return {
|
|
@@ -1427,7 +1384,7 @@ function zr(e) {
|
|
|
1427
1384
|
};
|
|
1428
1385
|
}
|
|
1429
1386
|
}
|
|
1430
|
-
function
|
|
1387
|
+
function yi(e) {
|
|
1431
1388
|
var t;
|
|
1432
1389
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1433
1390
|
notation: "engineering"
|
|
@@ -1435,17 +1392,17 @@ function Si(e) {
|
|
|
1435
1392
|
notation: "scientific"
|
|
1436
1393
|
}, e = e.slice(1)), t) {
|
|
1437
1394
|
var r = e.slice(0, 2);
|
|
1438
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1395
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
|
|
1439
1396
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1440
1397
|
t.minimumIntegerDigits = e.length;
|
|
1441
1398
|
}
|
|
1442
1399
|
return t;
|
|
1443
1400
|
}
|
|
1444
|
-
function
|
|
1445
|
-
var t = {}, r =
|
|
1401
|
+
function tr(e) {
|
|
1402
|
+
var t = {}, r = Fr(e);
|
|
1446
1403
|
return r || t;
|
|
1447
1404
|
}
|
|
1448
|
-
function
|
|
1405
|
+
function vi(e) {
|
|
1449
1406
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1450
1407
|
var i = n[r];
|
|
1451
1408
|
switch (i.stem) {
|
|
@@ -1469,7 +1426,7 @@ function Ti(e) {
|
|
|
1469
1426
|
continue;
|
|
1470
1427
|
case "measure-unit":
|
|
1471
1428
|
case "unit":
|
|
1472
|
-
t.style = "unit", t.unit =
|
|
1429
|
+
t.style = "unit", t.unit = bi(i.options[0]);
|
|
1473
1430
|
continue;
|
|
1474
1431
|
case "compact-short":
|
|
1475
1432
|
case "K":
|
|
@@ -1480,13 +1437,13 @@ function Ti(e) {
|
|
|
1480
1437
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1481
1438
|
continue;
|
|
1482
1439
|
case "scientific":
|
|
1483
|
-
t =
|
|
1484
|
-
return
|
|
1440
|
+
t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1441
|
+
return H(H({}, l), tr(u));
|
|
1485
1442
|
}, {}));
|
|
1486
1443
|
continue;
|
|
1487
1444
|
case "engineering":
|
|
1488
|
-
t =
|
|
1489
|
-
return
|
|
1445
|
+
t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1446
|
+
return H(H({}, l), tr(u));
|
|
1490
1447
|
}, {}));
|
|
1491
1448
|
continue;
|
|
1492
1449
|
case "notation-simple":
|
|
@@ -1531,11 +1488,11 @@ function Ti(e) {
|
|
|
1531
1488
|
case "integer-width":
|
|
1532
1489
|
if (i.options.length > 1)
|
|
1533
1490
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1534
|
-
i.options[0].replace(
|
|
1491
|
+
i.options[0].replace(gi, function(l, u, h, p, c, g) {
|
|
1535
1492
|
if (u)
|
|
1536
|
-
t.minimumIntegerDigits =
|
|
1493
|
+
t.minimumIntegerDigits = h.length;
|
|
1537
1494
|
else {
|
|
1538
|
-
if (p &&
|
|
1495
|
+
if (p && c)
|
|
1539
1496
|
throw new Error("We currently do not support maximum integer digits");
|
|
1540
1497
|
if (g)
|
|
1541
1498
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1544,28 +1501,28 @@ function Ti(e) {
|
|
|
1544
1501
|
});
|
|
1545
1502
|
continue;
|
|
1546
1503
|
}
|
|
1547
|
-
if (
|
|
1504
|
+
if (jr.test(i.stem)) {
|
|
1548
1505
|
t.minimumIntegerDigits = i.stem.length;
|
|
1549
1506
|
continue;
|
|
1550
1507
|
}
|
|
1551
|
-
if (
|
|
1508
|
+
if (Kt.test(i.stem)) {
|
|
1552
1509
|
if (i.options.length > 1)
|
|
1553
1510
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1554
|
-
i.stem.replace(
|
|
1555
|
-
return
|
|
1511
|
+
i.stem.replace(Kt, function(l, u, h, p, c, g) {
|
|
1512
|
+
return h === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1556
1513
|
});
|
|
1557
1514
|
var o = i.options[0];
|
|
1558
|
-
o === "w" ? t =
|
|
1515
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), er(o)));
|
|
1559
1516
|
continue;
|
|
1560
1517
|
}
|
|
1561
|
-
if (
|
|
1562
|
-
t =
|
|
1518
|
+
if (Gr.test(i.stem)) {
|
|
1519
|
+
t = H(H({}, t), er(i.stem));
|
|
1563
1520
|
continue;
|
|
1564
1521
|
}
|
|
1565
|
-
var s =
|
|
1566
|
-
s && (t =
|
|
1567
|
-
var a =
|
|
1568
|
-
a && (t =
|
|
1522
|
+
var s = Fr(i.stem);
|
|
1523
|
+
s && (t = H(H({}, t), s));
|
|
1524
|
+
var a = yi(i.stem);
|
|
1525
|
+
a && (t = H(H({}, t), a));
|
|
1569
1526
|
}
|
|
1570
1527
|
return t;
|
|
1571
1528
|
}
|
|
@@ -2984,13 +2941,13 @@ var rt = {
|
|
|
2984
2941
|
"h"
|
|
2985
2942
|
]
|
|
2986
2943
|
};
|
|
2987
|
-
function
|
|
2944
|
+
function _i(e, t) {
|
|
2988
2945
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2989
2946
|
var i = e.charAt(n);
|
|
2990
2947
|
if (i === "j") {
|
|
2991
2948
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2992
2949
|
o++, n++;
|
|
2993
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2950
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ei(t);
|
|
2994
2951
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2995
2952
|
r += l;
|
|
2996
2953
|
for (; s-- > 0; )
|
|
@@ -3000,7 +2957,7 @@ function wi(e, t) {
|
|
|
3000
2957
|
}
|
|
3001
2958
|
return r;
|
|
3002
2959
|
}
|
|
3003
|
-
function
|
|
2960
|
+
function Ei(e) {
|
|
3004
2961
|
var t = e.hourCycle;
|
|
3005
2962
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3006
2963
|
e.hourCycles && // @ts-ignore
|
|
@@ -3022,20 +2979,20 @@ function Hi(e) {
|
|
|
3022
2979
|
var i = rt[n || ""] || rt[r || ""] || rt["".concat(r, "-001")] || rt["001"];
|
|
3023
2980
|
return i[0];
|
|
3024
2981
|
}
|
|
3025
|
-
var
|
|
2982
|
+
var yt, xi = new RegExp("^".concat(kr.source, "*")), Si = new RegExp("".concat(kr.source, "*$"));
|
|
3026
2983
|
function w(e, t) {
|
|
3027
2984
|
return { start: e, end: t };
|
|
3028
2985
|
}
|
|
3029
|
-
var
|
|
2986
|
+
var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Hi = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Pi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Oi = Li ? Number.isSafeInteger : function(e) {
|
|
3030
2987
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3031
|
-
},
|
|
2988
|
+
}, Lt = !0;
|
|
3032
2989
|
try {
|
|
3033
|
-
var
|
|
3034
|
-
|
|
2990
|
+
var Ci = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2991
|
+
Lt = ((yt = Ci.exec("a")) === null || yt === void 0 ? void 0 : yt[0]) === "a";
|
|
3035
2992
|
} catch {
|
|
3036
|
-
|
|
2993
|
+
Lt = !1;
|
|
3037
2994
|
}
|
|
3038
|
-
var
|
|
2995
|
+
var rr = Ti ? (
|
|
3039
2996
|
// Native
|
|
3040
2997
|
function(t, r, n) {
|
|
3041
2998
|
return t.startsWith(r, n);
|
|
@@ -3045,7 +3002,7 @@ var ar = Pi ? (
|
|
|
3045
3002
|
function(t, r, n) {
|
|
3046
3003
|
return t.slice(n, n + r.length) === r;
|
|
3047
3004
|
}
|
|
3048
|
-
),
|
|
3005
|
+
), Ot = wi ? String.fromCodePoint : (
|
|
3049
3006
|
// IE11
|
|
3050
3007
|
function() {
|
|
3051
3008
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3057,9 +3014,9 @@ var ar = Pi ? (
|
|
|
3057
3014
|
}
|
|
3058
3015
|
return n;
|
|
3059
3016
|
}
|
|
3060
|
-
),
|
|
3017
|
+
), nr = (
|
|
3061
3018
|
// native
|
|
3062
|
-
|
|
3019
|
+
Hi ? Object.fromEntries : (
|
|
3063
3020
|
// Ponyfill
|
|
3064
3021
|
function(t) {
|
|
3065
3022
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3069,7 +3026,7 @@ var ar = Pi ? (
|
|
|
3069
3026
|
return r;
|
|
3070
3027
|
}
|
|
3071
3028
|
)
|
|
3072
|
-
),
|
|
3029
|
+
), $r = Ai ? (
|
|
3073
3030
|
// Native
|
|
3074
3031
|
function(t, r) {
|
|
3075
3032
|
return t.codePointAt(r);
|
|
@@ -3083,7 +3040,7 @@ var ar = Pi ? (
|
|
|
3083
3040
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3084
3041
|
}
|
|
3085
3042
|
}
|
|
3086
|
-
),
|
|
3043
|
+
), Ii = Bi ? (
|
|
3087
3044
|
// Native
|
|
3088
3045
|
function(t) {
|
|
3089
3046
|
return t.trimStart();
|
|
@@ -3091,9 +3048,9 @@ var ar = Pi ? (
|
|
|
3091
3048
|
) : (
|
|
3092
3049
|
// Ponyfill
|
|
3093
3050
|
function(t) {
|
|
3094
|
-
return t.replace(
|
|
3051
|
+
return t.replace(xi, "");
|
|
3095
3052
|
}
|
|
3096
|
-
),
|
|
3053
|
+
), Ni = Pi ? (
|
|
3097
3054
|
// Native
|
|
3098
3055
|
function(t) {
|
|
3099
3056
|
return t.trimEnd();
|
|
@@ -3101,32 +3058,32 @@ var ar = Pi ? (
|
|
|
3101
3058
|
) : (
|
|
3102
3059
|
// Ponyfill
|
|
3103
3060
|
function(t) {
|
|
3104
|
-
return t.replace(
|
|
3061
|
+
return t.replace(Si, "");
|
|
3105
3062
|
}
|
|
3106
3063
|
);
|
|
3107
|
-
function
|
|
3064
|
+
function Vr(e, t) {
|
|
3108
3065
|
return new RegExp(e, t);
|
|
3109
3066
|
}
|
|
3110
|
-
var
|
|
3111
|
-
if (
|
|
3112
|
-
var
|
|
3113
|
-
|
|
3067
|
+
var Ct;
|
|
3068
|
+
if (Lt) {
|
|
3069
|
+
var ir = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3070
|
+
Ct = function(t, r) {
|
|
3114
3071
|
var n;
|
|
3115
|
-
|
|
3116
|
-
var i =
|
|
3072
|
+
ir.lastIndex = r;
|
|
3073
|
+
var i = ir.exec(t);
|
|
3117
3074
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3118
3075
|
};
|
|
3119
3076
|
} else
|
|
3120
|
-
|
|
3077
|
+
Ct = function(t, r) {
|
|
3121
3078
|
for (var n = []; ; ) {
|
|
3122
|
-
var i =
|
|
3123
|
-
if (i === void 0 ||
|
|
3079
|
+
var i = $r(t, r);
|
|
3080
|
+
if (i === void 0 || Wr(i) || Di(i))
|
|
3124
3081
|
break;
|
|
3125
3082
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3126
3083
|
}
|
|
3127
|
-
return
|
|
3084
|
+
return Ot.apply(void 0, n);
|
|
3128
3085
|
};
|
|
3129
|
-
var
|
|
3086
|
+
var Mi = (
|
|
3130
3087
|
/** @class */
|
|
3131
3088
|
function() {
|
|
3132
3089
|
function e(t, r) {
|
|
@@ -3150,14 +3107,14 @@ var ji = (
|
|
|
3150
3107
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3151
3108
|
var a = this.clonePosition();
|
|
3152
3109
|
this.bump(), i.push({
|
|
3153
|
-
type:
|
|
3110
|
+
type: P.pound,
|
|
3154
3111
|
location: w(a, this.clonePosition())
|
|
3155
3112
|
});
|
|
3156
3113
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3157
3114
|
if (n)
|
|
3158
3115
|
break;
|
|
3159
3116
|
return this.error(S.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3160
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3117
|
+
} else if (o === 60 && !this.ignoreTag && It(this.peek() || 0)) {
|
|
3161
3118
|
var s = this.parseTag(t, r);
|
|
3162
3119
|
if (s.err)
|
|
3163
3120
|
return s;
|
|
@@ -3178,7 +3135,7 @@ var ji = (
|
|
|
3178
3135
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3179
3136
|
return {
|
|
3180
3137
|
val: {
|
|
3181
|
-
type:
|
|
3138
|
+
type: P.literal,
|
|
3182
3139
|
value: "<".concat(i, "/>"),
|
|
3183
3140
|
location: w(n, this.clonePosition())
|
|
3184
3141
|
},
|
|
@@ -3190,12 +3147,12 @@ var ji = (
|
|
|
3190
3147
|
return o;
|
|
3191
3148
|
var s = o.val, a = this.clonePosition();
|
|
3192
3149
|
if (this.bumpIf("</")) {
|
|
3193
|
-
if (this.isEOF() || !
|
|
3150
|
+
if (this.isEOF() || !It(this.char()))
|
|
3194
3151
|
return this.error(S.INVALID_TAG, w(a, this.clonePosition()));
|
|
3195
3152
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3196
3153
|
return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3197
3154
|
val: {
|
|
3198
|
-
type:
|
|
3155
|
+
type: P.tag,
|
|
3199
3156
|
value: i,
|
|
3200
3157
|
children: s,
|
|
3201
3158
|
location: w(n, this.clonePosition())
|
|
@@ -3208,7 +3165,7 @@ var ji = (
|
|
|
3208
3165
|
return this.error(S.INVALID_TAG, w(n, this.clonePosition()));
|
|
3209
3166
|
}, e.prototype.parseTagName = function() {
|
|
3210
3167
|
var t = this.offset();
|
|
3211
|
-
for (this.bump(); !this.isEOF() &&
|
|
3168
|
+
for (this.bump(); !this.isEOF() && Ui(this.char()); )
|
|
3212
3169
|
this.bump();
|
|
3213
3170
|
return this.message.slice(t, this.offset());
|
|
3214
3171
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3232,12 +3189,12 @@ var ji = (
|
|
|
3232
3189
|
}
|
|
3233
3190
|
var l = w(n, this.clonePosition());
|
|
3234
3191
|
return {
|
|
3235
|
-
val: { type:
|
|
3192
|
+
val: { type: P.literal, value: i, location: l },
|
|
3236
3193
|
err: null
|
|
3237
3194
|
};
|
|
3238
3195
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3239
3196
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3240
|
-
!
|
|
3197
|
+
!Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3241
3198
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3242
3199
|
if (this.isEOF() || this.char() !== 39)
|
|
3243
3200
|
return null;
|
|
@@ -3271,12 +3228,12 @@ var ji = (
|
|
|
3271
3228
|
r.push(n);
|
|
3272
3229
|
this.bump();
|
|
3273
3230
|
}
|
|
3274
|
-
return
|
|
3231
|
+
return Ot.apply(void 0, r);
|
|
3275
3232
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3276
3233
|
if (this.isEOF())
|
|
3277
3234
|
return null;
|
|
3278
3235
|
var n = this.char();
|
|
3279
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3236
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ot(n));
|
|
3280
3237
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3281
3238
|
var n = this.clonePosition();
|
|
3282
3239
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3292,7 +3249,7 @@ var ji = (
|
|
|
3292
3249
|
case 125:
|
|
3293
3250
|
return this.bump(), {
|
|
3294
3251
|
val: {
|
|
3295
|
-
type:
|
|
3252
|
+
type: P.argument,
|
|
3296
3253
|
// value does not include the opening and closing braces.
|
|
3297
3254
|
value: i,
|
|
3298
3255
|
location: w(n, this.clonePosition())
|
|
@@ -3305,7 +3262,7 @@ var ji = (
|
|
|
3305
3262
|
return this.error(S.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3306
3263
|
}
|
|
3307
3264
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3308
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3265
|
+
var t = this.clonePosition(), r = this.offset(), n = Ct(this.message, r), i = r + n.length;
|
|
3309
3266
|
this.bumpTo(i);
|
|
3310
3267
|
var o = this.clonePosition(), s = w(t, o);
|
|
3311
3268
|
return { value: n, location: s };
|
|
@@ -3321,47 +3278,47 @@ var ji = (
|
|
|
3321
3278
|
var u = null;
|
|
3322
3279
|
if (this.bumpIf(",")) {
|
|
3323
3280
|
this.bumpSpace();
|
|
3324
|
-
var
|
|
3281
|
+
var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
3325
3282
|
if (p.err)
|
|
3326
3283
|
return p;
|
|
3327
|
-
var
|
|
3328
|
-
if (
|
|
3284
|
+
var c = Ni(p.val);
|
|
3285
|
+
if (c.length === 0)
|
|
3329
3286
|
return this.error(S.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3330
|
-
var g = w(
|
|
3331
|
-
u = { style:
|
|
3287
|
+
var g = w(h, this.clonePosition());
|
|
3288
|
+
u = { style: c, styleLocation: g };
|
|
3332
3289
|
}
|
|
3333
3290
|
var x = this.tryParseArgumentClose(i);
|
|
3334
3291
|
if (x.err)
|
|
3335
3292
|
return x;
|
|
3336
3293
|
var y = w(i, this.clonePosition());
|
|
3337
|
-
if (u &&
|
|
3338
|
-
var v =
|
|
3294
|
+
if (u && rr(u?.style, "::", 0)) {
|
|
3295
|
+
var v = Ii(u.style.slice(2));
|
|
3339
3296
|
if (a === "number") {
|
|
3340
3297
|
var p = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3341
3298
|
return p.err ? p : {
|
|
3342
|
-
val: { type:
|
|
3299
|
+
val: { type: P.number, value: n, location: y, style: p.val },
|
|
3343
3300
|
err: null
|
|
3344
3301
|
};
|
|
3345
3302
|
} else {
|
|
3346
3303
|
if (v.length === 0)
|
|
3347
3304
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
3348
3305
|
var m = v;
|
|
3349
|
-
this.locale && (m =
|
|
3350
|
-
var
|
|
3306
|
+
this.locale && (m = _i(v, this.locale));
|
|
3307
|
+
var c = {
|
|
3351
3308
|
type: Oe.dateTime,
|
|
3352
3309
|
pattern: m,
|
|
3353
3310
|
location: u.styleLocation,
|
|
3354
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3355
|
-
}, T = a === "date" ?
|
|
3311
|
+
parsedOptions: this.shouldParseSkeletons ? pi(m) : {}
|
|
3312
|
+
}, T = a === "date" ? P.date : P.time;
|
|
3356
3313
|
return {
|
|
3357
|
-
val: { type: T, value: n, location: y, style:
|
|
3314
|
+
val: { type: T, value: n, location: y, style: c },
|
|
3358
3315
|
err: null
|
|
3359
3316
|
};
|
|
3360
3317
|
}
|
|
3361
3318
|
}
|
|
3362
3319
|
return {
|
|
3363
3320
|
val: {
|
|
3364
|
-
type: a === "number" ?
|
|
3321
|
+
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
3365
3322
|
value: n,
|
|
3366
3323
|
location: y,
|
|
3367
3324
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3372,9 +3329,9 @@ var ji = (
|
|
|
3372
3329
|
case "plural":
|
|
3373
3330
|
case "selectordinal":
|
|
3374
3331
|
case "select": {
|
|
3375
|
-
var
|
|
3332
|
+
var B = this.clonePosition();
|
|
3376
3333
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3377
|
-
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(
|
|
3334
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(B, H({}, B)));
|
|
3378
3335
|
this.bumpSpace();
|
|
3379
3336
|
var M = this.parseIdentifierIfPossible(), k = 0;
|
|
3380
3337
|
if (a !== "select" && M.value === "offset") {
|
|
@@ -3386,26 +3343,26 @@ var ji = (
|
|
|
3386
3343
|
return p;
|
|
3387
3344
|
this.bumpSpace(), M = this.parseIdentifierIfPossible(), k = p.val;
|
|
3388
3345
|
}
|
|
3389
|
-
var
|
|
3390
|
-
if (
|
|
3391
|
-
return
|
|
3346
|
+
var $ = this.tryParsePluralOrSelectOptions(t, a, r, M);
|
|
3347
|
+
if ($.err)
|
|
3348
|
+
return $;
|
|
3392
3349
|
var x = this.tryParseArgumentClose(i);
|
|
3393
3350
|
if (x.err)
|
|
3394
3351
|
return x;
|
|
3395
3352
|
var J = w(i, this.clonePosition());
|
|
3396
3353
|
return a === "select" ? {
|
|
3397
3354
|
val: {
|
|
3398
|
-
type:
|
|
3355
|
+
type: P.select,
|
|
3399
3356
|
value: n,
|
|
3400
|
-
options:
|
|
3357
|
+
options: nr($.val),
|
|
3401
3358
|
location: J
|
|
3402
3359
|
},
|
|
3403
3360
|
err: null
|
|
3404
3361
|
} : {
|
|
3405
3362
|
val: {
|
|
3406
|
-
type:
|
|
3363
|
+
type: P.plural,
|
|
3407
3364
|
value: n,
|
|
3408
|
-
options:
|
|
3365
|
+
options: nr($.val),
|
|
3409
3366
|
offset: k,
|
|
3410
3367
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3411
3368
|
location: J
|
|
@@ -3456,7 +3413,7 @@ var ji = (
|
|
|
3456
3413
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3457
3414
|
var n = [];
|
|
3458
3415
|
try {
|
|
3459
|
-
n =
|
|
3416
|
+
n = mi(t);
|
|
3460
3417
|
} catch {
|
|
3461
3418
|
return this.error(S.INVALID_NUMBER_SKELETON, r);
|
|
3462
3419
|
}
|
|
@@ -3465,24 +3422,24 @@ var ji = (
|
|
|
3465
3422
|
type: Oe.number,
|
|
3466
3423
|
tokens: n,
|
|
3467
3424
|
location: r,
|
|
3468
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3425
|
+
parsedOptions: this.shouldParseSkeletons ? vi(n) : {}
|
|
3469
3426
|
},
|
|
3470
3427
|
err: null
|
|
3471
3428
|
};
|
|
3472
3429
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3473
|
-
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value,
|
|
3430
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3474
3431
|
if (u.length === 0) {
|
|
3475
3432
|
var p = this.clonePosition();
|
|
3476
3433
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3477
|
-
var
|
|
3478
|
-
if (
|
|
3479
|
-
return
|
|
3480
|
-
|
|
3434
|
+
var c = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3435
|
+
if (c.err)
|
|
3436
|
+
return c;
|
|
3437
|
+
h = w(p, this.clonePosition()), u = this.message.slice(p.offset, this.offset());
|
|
3481
3438
|
} else
|
|
3482
3439
|
break;
|
|
3483
3440
|
}
|
|
3484
3441
|
if (l.has(u))
|
|
3485
|
-
return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3442
|
+
return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3486
3443
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3487
3444
|
var g = this.clonePosition();
|
|
3488
3445
|
if (!this.bumpIf("{"))
|
|
@@ -3499,7 +3456,7 @@ var ji = (
|
|
|
3499
3456
|
value: x.val,
|
|
3500
3457
|
location: w(g, this.clonePosition())
|
|
3501
3458
|
}
|
|
3502
|
-
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value,
|
|
3459
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3503
3460
|
}
|
|
3504
3461
|
return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3505
3462
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3513,7 +3470,7 @@ var ji = (
|
|
|
3513
3470
|
break;
|
|
3514
3471
|
}
|
|
3515
3472
|
var l = w(i, this.clonePosition());
|
|
3516
|
-
return o ? (s *= n,
|
|
3473
|
+
return o ? (s *= n, Oi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3517
3474
|
}, e.prototype.offset = function() {
|
|
3518
3475
|
return this.position.offset;
|
|
3519
3476
|
}, e.prototype.isEOF = function() {
|
|
@@ -3528,7 +3485,7 @@ var ji = (
|
|
|
3528
3485
|
var t = this.position.offset;
|
|
3529
3486
|
if (t >= this.message.length)
|
|
3530
3487
|
throw Error("out of bound");
|
|
3531
|
-
var r =
|
|
3488
|
+
var r = $r(this.message, t);
|
|
3532
3489
|
if (r === void 0)
|
|
3533
3490
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3534
3491
|
return r;
|
|
@@ -3547,7 +3504,7 @@ var ji = (
|
|
|
3547
3504
|
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
3505
|
}
|
|
3549
3506
|
}, e.prototype.bumpIf = function(t) {
|
|
3550
|
-
if (
|
|
3507
|
+
if (rr(this.message, t, this.offset())) {
|
|
3551
3508
|
for (var r = 0; r < t.length; r++)
|
|
3552
3509
|
this.bump();
|
|
3553
3510
|
return !0;
|
|
@@ -3569,7 +3526,7 @@ var ji = (
|
|
|
3569
3526
|
break;
|
|
3570
3527
|
}
|
|
3571
3528
|
}, e.prototype.bumpSpace = function() {
|
|
3572
|
-
for (; !this.isEOF() &&
|
|
3529
|
+
for (; !this.isEOF() && Wr(this.char()); )
|
|
3573
3530
|
this.bump();
|
|
3574
3531
|
}, e.prototype.peek = function() {
|
|
3575
3532
|
if (this.isEOF())
|
|
@@ -3579,47 +3536,47 @@ var ji = (
|
|
|
3579
3536
|
}, e;
|
|
3580
3537
|
}()
|
|
3581
3538
|
);
|
|
3582
|
-
function
|
|
3539
|
+
function It(e) {
|
|
3583
3540
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3584
3541
|
}
|
|
3585
|
-
function
|
|
3586
|
-
return
|
|
3542
|
+
function Ri(e) {
|
|
3543
|
+
return It(e) || e === 47;
|
|
3587
3544
|
}
|
|
3588
|
-
function
|
|
3545
|
+
function Ui(e) {
|
|
3589
3546
|
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
3547
|
}
|
|
3591
|
-
function
|
|
3548
|
+
function Wr(e) {
|
|
3592
3549
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3593
3550
|
}
|
|
3594
|
-
function
|
|
3551
|
+
function Di(e) {
|
|
3595
3552
|
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
3553
|
}
|
|
3597
|
-
function
|
|
3554
|
+
function Nt(e) {
|
|
3598
3555
|
e.forEach(function(t) {
|
|
3599
|
-
if (delete t.location,
|
|
3556
|
+
if (delete t.location, Mr(t) || Rr(t))
|
|
3600
3557
|
for (var r in t.options)
|
|
3601
|
-
delete t.options[r].location,
|
|
3558
|
+
delete t.options[r].location, Nt(t.options[r].value);
|
|
3602
3559
|
else
|
|
3603
|
-
|
|
3560
|
+
Cr(t) && Dr(t.style) || (Ir(t) || Nr(t)) && Pt(t.style) ? delete t.style.location : Ur(t) && Nt(t.children);
|
|
3604
3561
|
});
|
|
3605
3562
|
}
|
|
3606
|
-
function
|
|
3607
|
-
t === void 0 && (t = {}), t =
|
|
3608
|
-
var r = new
|
|
3563
|
+
function ki(e, t) {
|
|
3564
|
+
t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3565
|
+
var r = new Mi(e, t).parse();
|
|
3609
3566
|
if (r.err) {
|
|
3610
3567
|
var n = SyntaxError(S[r.err.kind]);
|
|
3611
3568
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3612
3569
|
}
|
|
3613
|
-
return t?.captureLocation ||
|
|
3570
|
+
return t?.captureLocation || Nt(r.val), r.val;
|
|
3614
3571
|
}
|
|
3615
|
-
var
|
|
3572
|
+
var Ce;
|
|
3616
3573
|
(function(e) {
|
|
3617
3574
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3618
|
-
})(
|
|
3619
|
-
var
|
|
3575
|
+
})(Ce || (Ce = {}));
|
|
3576
|
+
var ct = (
|
|
3620
3577
|
/** @class */
|
|
3621
3578
|
function(e) {
|
|
3622
|
-
|
|
3579
|
+
he(t, e);
|
|
3623
3580
|
function t(r, n, i) {
|
|
3624
3581
|
var o = e.call(this, r) || this;
|
|
3625
3582
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3628,155 +3585,155 @@ var pt = (
|
|
|
3628
3585
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3629
3586
|
}, t;
|
|
3630
3587
|
}(Error)
|
|
3631
|
-
),
|
|
3588
|
+
), or = (
|
|
3632
3589
|
/** @class */
|
|
3633
3590
|
function(e) {
|
|
3634
|
-
|
|
3591
|
+
he(t, e);
|
|
3635
3592
|
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('", "'), '"'),
|
|
3593
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ce.INVALID_VALUE, o) || this;
|
|
3637
3594
|
}
|
|
3638
3595
|
return t;
|
|
3639
|
-
}(
|
|
3640
|
-
),
|
|
3596
|
+
}(ct)
|
|
3597
|
+
), Gi = (
|
|
3641
3598
|
/** @class */
|
|
3642
3599
|
function(e) {
|
|
3643
|
-
|
|
3600
|
+
he(t, e);
|
|
3644
3601
|
function t(r, n, i) {
|
|
3645
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3602
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ce.INVALID_VALUE, i) || this;
|
|
3646
3603
|
}
|
|
3647
3604
|
return t;
|
|
3648
|
-
}(
|
|
3649
|
-
),
|
|
3605
|
+
}(ct)
|
|
3606
|
+
), ji = (
|
|
3650
3607
|
/** @class */
|
|
3651
3608
|
function(e) {
|
|
3652
|
-
|
|
3609
|
+
he(t, e);
|
|
3653
3610
|
function t(r, n) {
|
|
3654
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3611
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ce.MISSING_VALUE, n) || this;
|
|
3655
3612
|
}
|
|
3656
3613
|
return t;
|
|
3657
|
-
}(
|
|
3658
|
-
),
|
|
3614
|
+
}(ct)
|
|
3615
|
+
), G;
|
|
3659
3616
|
(function(e) {
|
|
3660
3617
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3661
|
-
})(
|
|
3662
|
-
function
|
|
3618
|
+
})(G || (G = {}));
|
|
3619
|
+
function Fi(e) {
|
|
3663
3620
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3664
3621
|
var n = t[t.length - 1];
|
|
3665
|
-
return !n || n.type !==
|
|
3622
|
+
return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
|
|
3666
3623
|
}, []);
|
|
3667
3624
|
}
|
|
3668
|
-
function
|
|
3625
|
+
function $i(e) {
|
|
3669
3626
|
return typeof e == "function";
|
|
3670
3627
|
}
|
|
3671
3628
|
function ot(e, t, r, n, i, o, s) {
|
|
3672
|
-
if (e.length === 1 &&
|
|
3629
|
+
if (e.length === 1 && qt(e[0]))
|
|
3673
3630
|
return [
|
|
3674
3631
|
{
|
|
3675
|
-
type:
|
|
3632
|
+
type: G.literal,
|
|
3676
3633
|
value: e[0].value
|
|
3677
3634
|
}
|
|
3678
3635
|
];
|
|
3679
3636
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3680
|
-
var
|
|
3681
|
-
if (
|
|
3637
|
+
var h = u[l];
|
|
3638
|
+
if (qt(h)) {
|
|
3682
3639
|
a.push({
|
|
3683
|
-
type:
|
|
3684
|
-
value:
|
|
3640
|
+
type: G.literal,
|
|
3641
|
+
value: h.value
|
|
3685
3642
|
});
|
|
3686
3643
|
continue;
|
|
3687
3644
|
}
|
|
3688
|
-
if (
|
|
3645
|
+
if (ci(h)) {
|
|
3689
3646
|
typeof o == "number" && a.push({
|
|
3690
|
-
type:
|
|
3647
|
+
type: G.literal,
|
|
3691
3648
|
value: r.getNumberFormat(t).format(o)
|
|
3692
3649
|
});
|
|
3693
3650
|
continue;
|
|
3694
3651
|
}
|
|
3695
|
-
var p =
|
|
3652
|
+
var p = h.value;
|
|
3696
3653
|
if (!(i && p in i))
|
|
3697
|
-
throw new
|
|
3698
|
-
var
|
|
3699
|
-
if (
|
|
3700
|
-
(!
|
|
3701
|
-
type: typeof
|
|
3702
|
-
value:
|
|
3654
|
+
throw new ji(p, s);
|
|
3655
|
+
var c = i[p];
|
|
3656
|
+
if (hi(h)) {
|
|
3657
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3658
|
+
type: typeof c == "string" ? G.literal : G.object,
|
|
3659
|
+
value: c
|
|
3703
3660
|
});
|
|
3704
3661
|
continue;
|
|
3705
3662
|
}
|
|
3706
|
-
if (
|
|
3707
|
-
var g = typeof
|
|
3663
|
+
if (Ir(h)) {
|
|
3664
|
+
var g = typeof h.style == "string" ? n.date[h.style] : Pt(h.style) ? h.style.parsedOptions : void 0;
|
|
3708
3665
|
a.push({
|
|
3709
|
-
type:
|
|
3710
|
-
value: r.getDateTimeFormat(t, g).format(
|
|
3666
|
+
type: G.literal,
|
|
3667
|
+
value: r.getDateTimeFormat(t, g).format(c)
|
|
3711
3668
|
});
|
|
3712
3669
|
continue;
|
|
3713
3670
|
}
|
|
3714
|
-
if (
|
|
3715
|
-
var g = typeof
|
|
3671
|
+
if (Nr(h)) {
|
|
3672
|
+
var g = typeof h.style == "string" ? n.time[h.style] : Pt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3716
3673
|
a.push({
|
|
3717
|
-
type:
|
|
3718
|
-
value: r.getDateTimeFormat(t, g).format(
|
|
3674
|
+
type: G.literal,
|
|
3675
|
+
value: r.getDateTimeFormat(t, g).format(c)
|
|
3719
3676
|
});
|
|
3720
3677
|
continue;
|
|
3721
3678
|
}
|
|
3722
|
-
if (
|
|
3723
|
-
var g = typeof
|
|
3724
|
-
g && g.scale && (
|
|
3725
|
-
type:
|
|
3726
|
-
value: r.getNumberFormat(t, g).format(
|
|
3679
|
+
if (Cr(h)) {
|
|
3680
|
+
var g = typeof h.style == "string" ? n.number[h.style] : Dr(h.style) ? h.style.parsedOptions : void 0;
|
|
3681
|
+
g && g.scale && (c = c * (g.scale || 1)), a.push({
|
|
3682
|
+
type: G.literal,
|
|
3683
|
+
value: r.getNumberFormat(t, g).format(c)
|
|
3727
3684
|
});
|
|
3728
3685
|
continue;
|
|
3729
3686
|
}
|
|
3730
|
-
if (
|
|
3731
|
-
var x =
|
|
3732
|
-
if (
|
|
3733
|
-
throw new
|
|
3687
|
+
if (Ur(h)) {
|
|
3688
|
+
var x = h.children, y = h.value, v = i[y];
|
|
3689
|
+
if (!$i(v))
|
|
3690
|
+
throw new Gi(y, "function", s);
|
|
3734
3691
|
var m = ot(x, t, r, n, i, o), T = v(m.map(function(k) {
|
|
3735
3692
|
return k.value;
|
|
3736
3693
|
}));
|
|
3737
3694
|
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(k) {
|
|
3738
3695
|
return {
|
|
3739
|
-
type: typeof k == "string" ?
|
|
3696
|
+
type: typeof k == "string" ? G.literal : G.object,
|
|
3740
3697
|
value: k
|
|
3741
3698
|
};
|
|
3742
3699
|
}));
|
|
3743
3700
|
}
|
|
3744
|
-
if (
|
|
3745
|
-
var
|
|
3746
|
-
if (!
|
|
3747
|
-
throw new
|
|
3748
|
-
a.push.apply(a, ot(
|
|
3701
|
+
if (Mr(h)) {
|
|
3702
|
+
var B = h.options[c] || h.options.other;
|
|
3703
|
+
if (!B)
|
|
3704
|
+
throw new or(h.value, c, Object.keys(h.options), s);
|
|
3705
|
+
a.push.apply(a, ot(B.value, t, r, n, i));
|
|
3749
3706
|
continue;
|
|
3750
3707
|
}
|
|
3751
|
-
if (
|
|
3752
|
-
var
|
|
3753
|
-
if (!
|
|
3708
|
+
if (Rr(h)) {
|
|
3709
|
+
var B = h.options["=".concat(c)];
|
|
3710
|
+
if (!B) {
|
|
3754
3711
|
if (!Intl.PluralRules)
|
|
3755
|
-
throw new
|
|
3712
|
+
throw new ct(`Intl.PluralRules is not available in this environment.
|
|
3756
3713
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3757
|
-
`,
|
|
3758
|
-
var M = r.getPluralRules(t, { type:
|
|
3759
|
-
|
|
3714
|
+
`, Ce.MISSING_INTL_API, s);
|
|
3715
|
+
var M = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3716
|
+
B = h.options[M] || h.options.other;
|
|
3760
3717
|
}
|
|
3761
|
-
if (!
|
|
3762
|
-
throw new
|
|
3763
|
-
a.push.apply(a, ot(
|
|
3718
|
+
if (!B)
|
|
3719
|
+
throw new or(h.value, c, Object.keys(h.options), s);
|
|
3720
|
+
a.push.apply(a, ot(B.value, t, r, n, i, c - (h.offset || 0)));
|
|
3764
3721
|
continue;
|
|
3765
3722
|
}
|
|
3766
3723
|
}
|
|
3767
|
-
return
|
|
3724
|
+
return Fi(a);
|
|
3768
3725
|
}
|
|
3769
|
-
function
|
|
3770
|
-
return t ?
|
|
3771
|
-
return r[n] =
|
|
3726
|
+
function Vi(e, t) {
|
|
3727
|
+
return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3728
|
+
return r[n] = H(H({}, e[n]), t[n] || {}), r;
|
|
3772
3729
|
}, {})) : e;
|
|
3773
3730
|
}
|
|
3774
|
-
function
|
|
3731
|
+
function Wi(e, t) {
|
|
3775
3732
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3776
|
-
return r[n] =
|
|
3777
|
-
},
|
|
3733
|
+
return r[n] = Vi(e[n], t[n]), r;
|
|
3734
|
+
}, H({}, e)) : e;
|
|
3778
3735
|
}
|
|
3779
|
-
function
|
|
3736
|
+
function vt(e) {
|
|
3780
3737
|
return {
|
|
3781
3738
|
create: function() {
|
|
3782
3739
|
return {
|
|
@@ -3790,39 +3747,39 @@ function xt(e) {
|
|
|
3790
3747
|
}
|
|
3791
3748
|
};
|
|
3792
3749
|
}
|
|
3793
|
-
function
|
|
3750
|
+
function Xi(e) {
|
|
3794
3751
|
return e === void 0 && (e = {
|
|
3795
3752
|
number: {},
|
|
3796
3753
|
dateTime: {},
|
|
3797
3754
|
pluralRules: {}
|
|
3798
3755
|
}), {
|
|
3799
|
-
getNumberFormat:
|
|
3756
|
+
getNumberFormat: bt(function() {
|
|
3800
3757
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3801
3758
|
r[n] = arguments[n];
|
|
3802
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3759
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3803
3760
|
}, {
|
|
3804
|
-
cache:
|
|
3805
|
-
strategy:
|
|
3761
|
+
cache: vt(e.number),
|
|
3762
|
+
strategy: gt.variadic
|
|
3806
3763
|
}),
|
|
3807
|
-
getDateTimeFormat:
|
|
3764
|
+
getDateTimeFormat: bt(function() {
|
|
3808
3765
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3809
3766
|
r[n] = arguments[n];
|
|
3810
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3767
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3811
3768
|
}, {
|
|
3812
|
-
cache:
|
|
3813
|
-
strategy:
|
|
3769
|
+
cache: vt(e.dateTime),
|
|
3770
|
+
strategy: gt.variadic
|
|
3814
3771
|
}),
|
|
3815
|
-
getPluralRules:
|
|
3772
|
+
getPluralRules: bt(function() {
|
|
3816
3773
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3817
3774
|
r[n] = arguments[n];
|
|
3818
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3775
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
|
|
3819
3776
|
}, {
|
|
3820
|
-
cache:
|
|
3821
|
-
strategy:
|
|
3777
|
+
cache: vt(e.pluralRules),
|
|
3778
|
+
strategy: gt.variadic
|
|
3822
3779
|
})
|
|
3823
3780
|
};
|
|
3824
3781
|
}
|
|
3825
|
-
var
|
|
3782
|
+
var zi = (
|
|
3826
3783
|
/** @class */
|
|
3827
3784
|
function() {
|
|
3828
3785
|
function e(t, r, n, i) {
|
|
@@ -3836,10 +3793,10 @@ var qi = (
|
|
|
3836
3793
|
var u = o.formatToParts(l);
|
|
3837
3794
|
if (u.length === 1)
|
|
3838
3795
|
return u[0].value;
|
|
3839
|
-
var
|
|
3840
|
-
return !p.length ||
|
|
3796
|
+
var h = u.reduce(function(p, c) {
|
|
3797
|
+
return !p.length || c.type !== G.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
|
|
3841
3798
|
}, []);
|
|
3842
|
-
return
|
|
3799
|
+
return h.length <= 1 ? h[0] || "" : h;
|
|
3843
3800
|
}, this.formatToParts = function(l) {
|
|
3844
3801
|
return ot(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3845
3802
|
}, this.resolvedOptions = function() {
|
|
@@ -3854,13 +3811,13 @@ var qi = (
|
|
|
3854
3811
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3855
3812
|
var s = i || {};
|
|
3856
3813
|
s.formatters;
|
|
3857
|
-
var a =
|
|
3858
|
-
this.ast = e.__parse(t,
|
|
3814
|
+
var a = wn(s, ["formatters"]);
|
|
3815
|
+
this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
|
|
3859
3816
|
} else
|
|
3860
3817
|
this.ast = t;
|
|
3861
3818
|
if (!Array.isArray(this.ast))
|
|
3862
3819
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3863
|
-
this.formats =
|
|
3820
|
+
this.formats = Wi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
|
|
3864
3821
|
}
|
|
3865
3822
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3866
3823
|
get: function() {
|
|
@@ -3873,7 +3830,7 @@ var qi = (
|
|
|
3873
3830
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3874
3831
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3875
3832
|
}
|
|
3876
|
-
}, e.__parse =
|
|
3833
|
+
}, e.__parse = ki, e.formats = {
|
|
3877
3834
|
number: {
|
|
3878
3835
|
integer: {
|
|
3879
3836
|
maximumFractionDigits: 0
|
|
@@ -3934,7 +3891,7 @@ var qi = (
|
|
|
3934
3891
|
}, e;
|
|
3935
3892
|
}()
|
|
3936
3893
|
);
|
|
3937
|
-
function
|
|
3894
|
+
function Ji(e, t) {
|
|
3938
3895
|
if (t == null)
|
|
3939
3896
|
return;
|
|
3940
3897
|
if (t in e)
|
|
@@ -3955,92 +3912,92 @@ function Ki(e, t) {
|
|
|
3955
3912
|
n = void 0;
|
|
3956
3913
|
return n;
|
|
3957
3914
|
}
|
|
3958
|
-
const de = {},
|
|
3915
|
+
const de = {}, Zi = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Xr = (e, t) => {
|
|
3959
3916
|
if (t == null)
|
|
3960
3917
|
return;
|
|
3961
3918
|
if (t in de && e in de[t])
|
|
3962
3919
|
return de[t][e];
|
|
3963
|
-
const r =
|
|
3920
|
+
const r = ft(t);
|
|
3964
3921
|
for (let n = 0; n < r.length; n++) {
|
|
3965
|
-
const i = r[n], o =
|
|
3922
|
+
const i = r[n], o = Yi(i, e);
|
|
3966
3923
|
if (o)
|
|
3967
|
-
return
|
|
3924
|
+
return Zi(e, t, o);
|
|
3968
3925
|
}
|
|
3969
3926
|
};
|
|
3970
|
-
let
|
|
3927
|
+
let Dt;
|
|
3971
3928
|
const Je = ht({});
|
|
3972
|
-
function
|
|
3973
|
-
return
|
|
3929
|
+
function Qi(e) {
|
|
3930
|
+
return Dt[e] || null;
|
|
3974
3931
|
}
|
|
3975
|
-
function
|
|
3976
|
-
return e in
|
|
3932
|
+
function zr(e) {
|
|
3933
|
+
return e in Dt;
|
|
3977
3934
|
}
|
|
3978
|
-
function
|
|
3979
|
-
if (!
|
|
3935
|
+
function Yi(e, t) {
|
|
3936
|
+
if (!zr(e))
|
|
3980
3937
|
return null;
|
|
3981
|
-
const r =
|
|
3982
|
-
return
|
|
3938
|
+
const r = Qi(e);
|
|
3939
|
+
return Ji(r, t);
|
|
3983
3940
|
}
|
|
3984
|
-
function
|
|
3941
|
+
function qi(e) {
|
|
3985
3942
|
if (e == null)
|
|
3986
3943
|
return;
|
|
3987
|
-
const t =
|
|
3944
|
+
const t = ft(e);
|
|
3988
3945
|
for (let r = 0; r < t.length; r++) {
|
|
3989
3946
|
const n = t[r];
|
|
3990
|
-
if (
|
|
3947
|
+
if (zr(n))
|
|
3991
3948
|
return n;
|
|
3992
3949
|
}
|
|
3993
3950
|
}
|
|
3994
|
-
function
|
|
3995
|
-
delete de[e], Je.update((r) => (r[e] =
|
|
3951
|
+
function Jr(e, ...t) {
|
|
3952
|
+
delete de[e], Je.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
|
|
3996
3953
|
}
|
|
3997
|
-
|
|
3954
|
+
Ne(
|
|
3998
3955
|
[Je],
|
|
3999
3956
|
([e]) => Object.keys(e)
|
|
4000
3957
|
);
|
|
4001
|
-
Je.subscribe((e) =>
|
|
3958
|
+
Je.subscribe((e) => Dt = e);
|
|
4002
3959
|
const st = {};
|
|
4003
|
-
function
|
|
3960
|
+
function Ki(e, t) {
|
|
4004
3961
|
st[e].delete(t), st[e].size === 0 && delete st[e];
|
|
4005
3962
|
}
|
|
4006
|
-
function
|
|
3963
|
+
function Zr(e) {
|
|
4007
3964
|
return st[e];
|
|
4008
3965
|
}
|
|
4009
|
-
function
|
|
4010
|
-
return
|
|
4011
|
-
const r =
|
|
3966
|
+
function eo(e) {
|
|
3967
|
+
return ft(e).map((t) => {
|
|
3968
|
+
const r = Zr(t);
|
|
4012
3969
|
return [t, r ? [...r] : []];
|
|
4013
3970
|
}).filter(([, t]) => t.length > 0);
|
|
4014
3971
|
}
|
|
4015
|
-
function
|
|
4016
|
-
return e == null ? !1 :
|
|
3972
|
+
function Mt(e) {
|
|
3973
|
+
return e == null ? !1 : ft(e).some(
|
|
4017
3974
|
(t) => {
|
|
4018
3975
|
var r;
|
|
4019
|
-
return (r =
|
|
3976
|
+
return (r = Zr(t)) == null ? void 0 : r.size;
|
|
4020
3977
|
}
|
|
4021
3978
|
);
|
|
4022
3979
|
}
|
|
4023
|
-
function
|
|
3980
|
+
function to(e, t) {
|
|
4024
3981
|
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
|
|
3982
|
+
t.map((n) => (Ki(e, n), n().then((i) => i.default || i)))
|
|
3983
|
+
).then((n) => Jr(e, ...n));
|
|
3984
|
+
}
|
|
3985
|
+
const Fe = {};
|
|
3986
|
+
function Qr(e) {
|
|
3987
|
+
if (!Mt(e))
|
|
3988
|
+
return e in Fe ? Fe[e] : Promise.resolve();
|
|
3989
|
+
const t = eo(e);
|
|
3990
|
+
return Fe[e] = Promise.all(
|
|
4034
3991
|
t.map(
|
|
4035
|
-
([r, n]) =>
|
|
3992
|
+
([r, n]) => to(r, n)
|
|
4036
3993
|
)
|
|
4037
3994
|
).then(() => {
|
|
4038
|
-
if (
|
|
4039
|
-
return
|
|
4040
|
-
delete
|
|
4041
|
-
}),
|
|
3995
|
+
if (Mt(e))
|
|
3996
|
+
return Qr(e);
|
|
3997
|
+
delete Fe[e];
|
|
3998
|
+
}), Fe[e];
|
|
4042
3999
|
}
|
|
4043
|
-
const
|
|
4000
|
+
const ro = {
|
|
4044
4001
|
number: {
|
|
4045
4002
|
scientific: { notation: "scientific" },
|
|
4046
4003
|
engineering: { notation: "engineering" },
|
|
@@ -4069,135 +4026,135 @@ const ao = {
|
|
|
4069
4026
|
timeZoneName: "short"
|
|
4070
4027
|
}
|
|
4071
4028
|
}
|
|
4072
|
-
},
|
|
4029
|
+
}, no = {
|
|
4073
4030
|
fallbackLocale: null,
|
|
4074
4031
|
loadingDelay: 200,
|
|
4075
|
-
formats:
|
|
4032
|
+
formats: ro,
|
|
4076
4033
|
warnOnMissingMessages: !0,
|
|
4077
4034
|
handleMissingMessage: void 0,
|
|
4078
4035
|
ignoreTag: !0
|
|
4079
|
-
},
|
|
4080
|
-
function
|
|
4081
|
-
return
|
|
4036
|
+
}, io = no;
|
|
4037
|
+
function Ie() {
|
|
4038
|
+
return io;
|
|
4082
4039
|
}
|
|
4083
|
-
const
|
|
4084
|
-
var
|
|
4040
|
+
const _t = ht(!1);
|
|
4041
|
+
var oo = Object.defineProperty, so = Object.defineProperties, ao = Object.getOwnPropertyDescriptors, sr = Object.getOwnPropertySymbols, uo = Object.prototype.hasOwnProperty, lo = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ho = (e, t) => {
|
|
4085
4042
|
for (var r in t || (t = {}))
|
|
4086
|
-
|
|
4087
|
-
if (
|
|
4088
|
-
for (var r of
|
|
4089
|
-
|
|
4043
|
+
uo.call(t, r) && ar(e, r, t[r]);
|
|
4044
|
+
if (sr)
|
|
4045
|
+
for (var r of sr(t))
|
|
4046
|
+
lo.call(t, r) && ar(e, r, t[r]);
|
|
4090
4047
|
return e;
|
|
4091
|
-
},
|
|
4092
|
-
let
|
|
4093
|
-
const
|
|
4094
|
-
function
|
|
4048
|
+
}, co = (e, t) => so(e, ao(t));
|
|
4049
|
+
let Rt;
|
|
4050
|
+
const at = ht(null);
|
|
4051
|
+
function ur(e) {
|
|
4095
4052
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4096
4053
|
}
|
|
4097
|
-
function
|
|
4098
|
-
const r =
|
|
4099
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4054
|
+
function ft(e, t = Ie().fallbackLocale) {
|
|
4055
|
+
const r = ur(e);
|
|
4056
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ur(t)])] : r;
|
|
4100
4057
|
}
|
|
4101
4058
|
function ge() {
|
|
4102
|
-
return
|
|
4059
|
+
return Rt ?? void 0;
|
|
4103
4060
|
}
|
|
4104
|
-
|
|
4105
|
-
|
|
4061
|
+
at.subscribe((e) => {
|
|
4062
|
+
Rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4106
4063
|
});
|
|
4107
|
-
const
|
|
4108
|
-
if (e &&
|
|
4109
|
-
const { loadingDelay: t } =
|
|
4064
|
+
const fo = (e) => {
|
|
4065
|
+
if (e && qi(e) && Mt(e)) {
|
|
4066
|
+
const { loadingDelay: t } = Ie();
|
|
4110
4067
|
let r;
|
|
4111
4068
|
return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
|
|
4112
|
-
() =>
|
|
4069
|
+
() => _t.set(!0),
|
|
4113
4070
|
t
|
|
4114
|
-
) :
|
|
4115
|
-
|
|
4071
|
+
) : _t.set(!0), Qr(e).then(() => {
|
|
4072
|
+
at.set(e);
|
|
4116
4073
|
}).finally(() => {
|
|
4117
|
-
clearTimeout(r),
|
|
4074
|
+
clearTimeout(r), _t.set(!1);
|
|
4118
4075
|
});
|
|
4119
4076
|
}
|
|
4120
|
-
return
|
|
4121
|
-
},
|
|
4122
|
-
set:
|
|
4123
|
-
}),
|
|
4077
|
+
return at.set(e);
|
|
4078
|
+
}, Me = co(ho({}, at), {
|
|
4079
|
+
set: fo
|
|
4080
|
+
}), pt = (e) => {
|
|
4124
4081
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4125
4082
|
return (n) => {
|
|
4126
4083
|
const i = JSON.stringify(n);
|
|
4127
4084
|
return i in t ? t[i] : t[i] = e(n);
|
|
4128
4085
|
};
|
|
4129
4086
|
};
|
|
4130
|
-
var
|
|
4087
|
+
var po = Object.defineProperty, ut = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
|
|
4131
4088
|
for (var r in t || (t = {}))
|
|
4132
|
-
|
|
4133
|
-
if (
|
|
4134
|
-
for (var r of
|
|
4135
|
-
|
|
4089
|
+
Yr.call(t, r) && lr(e, r, t[r]);
|
|
4090
|
+
if (ut)
|
|
4091
|
+
for (var r of ut(t))
|
|
4092
|
+
qr.call(t, r) && lr(e, r, t[r]);
|
|
4136
4093
|
return e;
|
|
4137
|
-
},
|
|
4094
|
+
}, Re = (e, t) => {
|
|
4138
4095
|
var r = {};
|
|
4139
4096
|
for (var n in e)
|
|
4140
|
-
|
|
4141
|
-
if (e != null &&
|
|
4142
|
-
for (var n of
|
|
4143
|
-
t.indexOf(n) < 0 &&
|
|
4097
|
+
Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4098
|
+
if (e != null && ut)
|
|
4099
|
+
for (var n of ut(e))
|
|
4100
|
+
t.indexOf(n) < 0 && qr.call(e, n) && (r[n] = e[n]);
|
|
4144
4101
|
return r;
|
|
4145
4102
|
};
|
|
4146
|
-
const
|
|
4147
|
-
const { formats: r } =
|
|
4103
|
+
const Xe = (e, t) => {
|
|
4104
|
+
const { formats: r } = Ie();
|
|
4148
4105
|
if (e in r && t in r[e])
|
|
4149
4106
|
return r[e][t];
|
|
4150
4107
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4151
|
-
},
|
|
4108
|
+
}, mo = pt(
|
|
4152
4109
|
(e) => {
|
|
4153
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4110
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4154
4111
|
if (r == null)
|
|
4155
4112
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4156
|
-
return n && (i =
|
|
4113
|
+
return n && (i = Xe("number", n)), new Intl.NumberFormat(r, i);
|
|
4157
4114
|
}
|
|
4158
|
-
),
|
|
4115
|
+
), bo = pt(
|
|
4159
4116
|
(e) => {
|
|
4160
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4117
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4161
4118
|
if (r == null)
|
|
4162
4119
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4163
|
-
return n ? i =
|
|
4120
|
+
return n ? i = Xe("date", n) : Object.keys(i).length === 0 && (i = Xe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4164
4121
|
}
|
|
4165
|
-
),
|
|
4122
|
+
), go = pt(
|
|
4166
4123
|
(e) => {
|
|
4167
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4124
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4168
4125
|
if (r == null)
|
|
4169
4126
|
throw new Error(
|
|
4170
4127
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4171
4128
|
);
|
|
4172
|
-
return n ? i =
|
|
4129
|
+
return n ? i = Xe("time", n) : Object.keys(i).length === 0 && (i = Xe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4173
4130
|
}
|
|
4174
|
-
),
|
|
4131
|
+
), yo = (e = {}) => {
|
|
4175
4132
|
var t = e, {
|
|
4176
4133
|
locale: r = ge()
|
|
4177
|
-
} = t, n =
|
|
4134
|
+
} = t, n = Re(t, [
|
|
4178
4135
|
"locale"
|
|
4179
4136
|
]);
|
|
4180
|
-
return
|
|
4181
|
-
},
|
|
4137
|
+
return mo(kt({ locale: r }, n));
|
|
4138
|
+
}, vo = (e = {}) => {
|
|
4182
4139
|
var t = e, {
|
|
4183
4140
|
locale: r = ge()
|
|
4184
|
-
} = t, n =
|
|
4141
|
+
} = t, n = Re(t, [
|
|
4185
4142
|
"locale"
|
|
4186
4143
|
]);
|
|
4187
|
-
return
|
|
4188
|
-
},
|
|
4144
|
+
return bo(kt({ locale: r }, n));
|
|
4145
|
+
}, _o = (e = {}) => {
|
|
4189
4146
|
var t = e, {
|
|
4190
4147
|
locale: r = ge()
|
|
4191
|
-
} = t, n =
|
|
4148
|
+
} = t, n = Re(t, [
|
|
4192
4149
|
"locale"
|
|
4193
4150
|
]);
|
|
4194
|
-
return
|
|
4195
|
-
},
|
|
4151
|
+
return go(kt({ locale: r }, n));
|
|
4152
|
+
}, Eo = pt(
|
|
4196
4153
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4197
|
-
(e, t = ge()) => new
|
|
4198
|
-
ignoreTag:
|
|
4154
|
+
(e, t = ge()) => new zi(e, t, Ie().formats, {
|
|
4155
|
+
ignoreTag: Ie().ignoreTag
|
|
4199
4156
|
})
|
|
4200
|
-
),
|
|
4157
|
+
), xo = (e, t = {}) => {
|
|
4201
4158
|
var r, n, i, o;
|
|
4202
4159
|
let s = t;
|
|
4203
4160
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4210,40 +4167,40 @@ const We = (e, t) => {
|
|
|
4210
4167
|
throw new Error(
|
|
4211
4168
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4212
4169
|
);
|
|
4213
|
-
let
|
|
4214
|
-
if (!
|
|
4215
|
-
|
|
4216
|
-
else if (typeof
|
|
4170
|
+
let h = Xr(e, l);
|
|
4171
|
+
if (!h)
|
|
4172
|
+
h = (o = (i = (n = (r = Ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4173
|
+
else if (typeof h != "string")
|
|
4217
4174
|
return console.warn(
|
|
4218
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4219
|
-
),
|
|
4175
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4176
|
+
), h;
|
|
4220
4177
|
if (!a)
|
|
4221
|
-
return
|
|
4222
|
-
let p =
|
|
4178
|
+
return h;
|
|
4179
|
+
let p = h;
|
|
4223
4180
|
try {
|
|
4224
|
-
p =
|
|
4225
|
-
} catch (
|
|
4226
|
-
|
|
4181
|
+
p = Eo(h, l).format(a);
|
|
4182
|
+
} catch (c) {
|
|
4183
|
+
c instanceof Error && console.warn(
|
|
4227
4184
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4228
|
-
|
|
4185
|
+
c.message
|
|
4229
4186
|
);
|
|
4230
4187
|
}
|
|
4231
4188
|
return p;
|
|
4232
|
-
},
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
window.emWidgets = { topic:
|
|
4239
|
-
const
|
|
4240
|
-
function
|
|
4189
|
+
}, So = (e, t) => _o(t).format(e), To = (e, t) => vo(t).format(e), wo = (e, t) => yo(t).format(e), Ho = (e, t = ge()) => Xr(e, t);
|
|
4190
|
+
Ne([Me, Je], () => xo);
|
|
4191
|
+
Ne([Me], () => So);
|
|
4192
|
+
Ne([Me], () => To);
|
|
4193
|
+
Ne([Me], () => wo);
|
|
4194
|
+
Ne([Me, Je], () => Ho);
|
|
4195
|
+
window.emWidgets = { topic: kn };
|
|
4196
|
+
const Ao = (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));
|
|
4197
|
+
function Bo(e, t) {
|
|
4241
4198
|
if (e) {
|
|
4242
4199
|
const r = document.createElement("style");
|
|
4243
4200
|
r.innerHTML = t, e.appendChild(r);
|
|
4244
4201
|
}
|
|
4245
4202
|
}
|
|
4246
|
-
function
|
|
4203
|
+
function Po(e, t) {
|
|
4247
4204
|
const r = new URL(t);
|
|
4248
4205
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4249
4206
|
const i = document.createElement("style");
|
|
@@ -4252,7 +4209,7 @@ function No(e, t) {
|
|
|
4252
4209
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4253
4210
|
});
|
|
4254
4211
|
}
|
|
4255
|
-
function
|
|
4212
|
+
function Lo(e, t, r) {
|
|
4256
4213
|
if (window.emMessageBus) {
|
|
4257
4214
|
const n = document.createElement("style");
|
|
4258
4215
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4260,13 +4217,13 @@ function Mo(e, t, r) {
|
|
|
4260
4217
|
});
|
|
4261
4218
|
}
|
|
4262
4219
|
}
|
|
4263
|
-
function
|
|
4264
|
-
|
|
4220
|
+
function hr(e, t) {
|
|
4221
|
+
Jr(e, t);
|
|
4265
4222
|
}
|
|
4266
|
-
function
|
|
4267
|
-
|
|
4223
|
+
function Oo(e) {
|
|
4224
|
+
Me.set(e);
|
|
4268
4225
|
}
|
|
4269
|
-
const
|
|
4226
|
+
const cr = {
|
|
4270
4227
|
en: {
|
|
4271
4228
|
loadingText: "Loading, please wait..."
|
|
4272
4229
|
},
|
|
@@ -4304,27 +4261,27 @@ const br = {
|
|
|
4304
4261
|
loadingText: "Loading, please wait..."
|
|
4305
4262
|
}
|
|
4306
4263
|
};
|
|
4307
|
-
function
|
|
4308
|
-
|
|
4264
|
+
function Co(e) {
|
|
4265
|
+
tn(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)}}');
|
|
4309
4266
|
}
|
|
4310
|
-
function
|
|
4267
|
+
function fr(e, t, r) {
|
|
4311
4268
|
const n = e.slice();
|
|
4312
4269
|
return n[56] = t[r], n[58] = r, n;
|
|
4313
4270
|
}
|
|
4314
|
-
function
|
|
4315
|
-
let t, r, n, i, o, s, a, l, u,
|
|
4271
|
+
function Io(e) {
|
|
4272
|
+
let t, r, n, i, o, s, a, l, u, h, p, c, g;
|
|
4316
4273
|
function x(m, T) {
|
|
4317
4274
|
return (
|
|
4318
4275
|
/*tabletView*/
|
|
4319
|
-
m[8] ?
|
|
4276
|
+
m[8] ? Ro : Uo
|
|
4320
4277
|
);
|
|
4321
4278
|
}
|
|
4322
4279
|
let y = x(e), v = y(e);
|
|
4323
4280
|
return {
|
|
4324
4281
|
c() {
|
|
4325
4282
|
t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = C(), s = b("div"), v.c(), a = C(), l = b("div"), u = b("ui-image"), _(i, "class", "vendorLogo"), et(i, "background-image", "url(" + /*vendorIcon*/
|
|
4326
|
-
e[9] + ")"), _(s, "class", "displayContainer"), Q(u.src,
|
|
4327
|
-
e[14]) ||
|
|
4283
|
+
e[9] + ")"), _(s, "class", "displayContainer"), Q(u.src, h = /*titleLogoImg*/
|
|
4284
|
+
e[14]) || L(u, "src", h), L(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
|
|
4328
4285
|
e[0] + " " + /*mobileView*/
|
|
4329
4286
|
(e[7] && !/*tabletView*/
|
|
4330
4287
|
e[8] ? "mobile" : (
|
|
@@ -4334,19 +4291,19 @@ function Do(e) {
|
|
|
4334
4291
|
e[13] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
|
|
4335
4292
|
},
|
|
4336
4293
|
m(m, T) {
|
|
4337
|
-
|
|
4294
|
+
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), c || (g = an(
|
|
4338
4295
|
r,
|
|
4339
4296
|
"click",
|
|
4340
4297
|
/*click_handler*/
|
|
4341
4298
|
e[35]
|
|
4342
|
-
),
|
|
4299
|
+
), c = !0);
|
|
4343
4300
|
},
|
|
4344
4301
|
p(m, T) {
|
|
4345
4302
|
T[0] & /*vendorIcon*/
|
|
4346
4303
|
512 && et(i, "background-image", "url(" + /*vendorIcon*/
|
|
4347
4304
|
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*/
|
|
4348
|
-
16384 && !Q(u.src,
|
|
4349
|
-
m[14]) &&
|
|
4305
|
+
16384 && !Q(u.src, h = /*titleLogoImg*/
|
|
4306
|
+
m[14]) && L(u, "src", h), T[0] & /*visualstructure, mobileView, tabletView*/
|
|
4350
4307
|
385 && p !== (p = "mainWrapper " + /*visualstructure*/
|
|
4351
4308
|
m[0] + " " + /*mobileView*/
|
|
4352
4309
|
(m[7] && !/*tabletView*/
|
|
@@ -4358,18 +4315,18 @@ function Do(e) {
|
|
|
4358
4315
|
m[13] + ")");
|
|
4359
4316
|
},
|
|
4360
4317
|
d(m) {
|
|
4361
|
-
m && D(t), v.d(),
|
|
4318
|
+
m && D(t), v.d(), c = !1, g();
|
|
4362
4319
|
}
|
|
4363
4320
|
};
|
|
4364
4321
|
}
|
|
4365
|
-
function
|
|
4322
|
+
function No(e) {
|
|
4366
4323
|
let t;
|
|
4367
4324
|
return {
|
|
4368
4325
|
c() {
|
|
4369
4326
|
t = b("div"), _(t, "class", "LoadingSpinner");
|
|
4370
4327
|
},
|
|
4371
4328
|
m(r, n) {
|
|
4372
|
-
|
|
4329
|
+
F(r, t, n);
|
|
4373
4330
|
},
|
|
4374
4331
|
p: Z,
|
|
4375
4332
|
d(r) {
|
|
@@ -4377,14 +4334,14 @@ function ko(e) {
|
|
|
4377
4334
|
}
|
|
4378
4335
|
};
|
|
4379
4336
|
}
|
|
4380
|
-
function
|
|
4337
|
+
function Mo(e) {
|
|
4381
4338
|
let t;
|
|
4382
4339
|
return {
|
|
4383
4340
|
c() {
|
|
4384
4341
|
t = b("p"), t.textContent = "500 Server error";
|
|
4385
4342
|
},
|
|
4386
4343
|
m(r, n) {
|
|
4387
|
-
|
|
4344
|
+
F(r, t, n);
|
|
4388
4345
|
},
|
|
4389
4346
|
p: Z,
|
|
4390
4347
|
d(r) {
|
|
@@ -4392,11 +4349,11 @@ function jo(e) {
|
|
|
4392
4349
|
}
|
|
4393
4350
|
};
|
|
4394
4351
|
}
|
|
4395
|
-
function
|
|
4352
|
+
function Ro(e) {
|
|
4396
4353
|
let t, r, n, i, o, s, a, l = (
|
|
4397
4354
|
/*formattedLabels*/
|
|
4398
4355
|
e[11][0] + ""
|
|
4399
|
-
), u,
|
|
4356
|
+
), u, h, p, c, g = (
|
|
4400
4357
|
/*realtimeupdate*/
|
|
4401
4358
|
(e[2] === "true" ? (
|
|
4402
4359
|
/*reversedJackpotValues*/
|
|
@@ -4405,10 +4362,10 @@ function Go(e) {
|
|
|
4405
4362
|
/*formattedJackpotValues*/
|
|
4406
4363
|
e[10][0]
|
|
4407
4364
|
)) + ""
|
|
4408
|
-
), x, y, v, m, T,
|
|
4365
|
+
), x, y, v, m, T, B, M, k, $, J = (
|
|
4409
4366
|
/*formattedLabels*/
|
|
4410
4367
|
e[11][1] + ""
|
|
4411
|
-
),
|
|
4368
|
+
), Ue, ye, Y, me, ce = (
|
|
4412
4369
|
/*realtimeupdate*/
|
|
4413
4370
|
(e[2] === "true" ? (
|
|
4414
4371
|
/*reversedJackpotValues*/
|
|
@@ -4417,10 +4374,10 @@ function Go(e) {
|
|
|
4417
4374
|
/*formattedJackpotValues*/
|
|
4418
4375
|
e[10][1]
|
|
4419
4376
|
)) + ""
|
|
4420
|
-
), fe, ve, _e, ee,
|
|
4377
|
+
), fe, ve, _e, ee, re, ne, N, ie, De, pe, q = (
|
|
4421
4378
|
/*formattedLabels*/
|
|
4422
4379
|
e[11][2] + ""
|
|
4423
|
-
),
|
|
4380
|
+
), oe, Ze, K, Ee, xe = (
|
|
4424
4381
|
/*realtimeupdate*/
|
|
4425
4382
|
(e[2] === "true" ? (
|
|
4426
4383
|
/*updatedJackpotValues*/
|
|
@@ -4429,10 +4386,10 @@ function Go(e) {
|
|
|
4429
4386
|
/*formattedJackpotValues*/
|
|
4430
4387
|
e[10][2]
|
|
4431
4388
|
)) + ""
|
|
4432
|
-
),
|
|
4389
|
+
), ke, Qe, Ye, se, ae, te, Se, Ge, Te, be = (
|
|
4433
4390
|
/*formattedLabels*/
|
|
4434
4391
|
e[11][3] + ""
|
|
4435
|
-
), je, qe,
|
|
4392
|
+
), je, qe, ue, f, A = (
|
|
4436
4393
|
/*realtimeupdate*/
|
|
4437
4394
|
(e[2] === "true" ? (
|
|
4438
4395
|
/*updatedJackpotValues*/
|
|
@@ -4441,28 +4398,28 @@ function Go(e) {
|
|
|
4441
4398
|
/*formattedJackpotValues*/
|
|
4442
4399
|
e[10][3]
|
|
4443
4400
|
)) + ""
|
|
4444
|
-
), U,
|
|
4445
|
-
e[3] &&
|
|
4446
|
-
e[3] &&
|
|
4447
|
-
e[3] &&
|
|
4448
|
-
e[3] &&
|
|
4401
|
+
), U, Gt, V = !/*currencylocale*/
|
|
4402
|
+
e[3] && pr(e), W = !/*currencylocale*/
|
|
4403
|
+
e[3] && dr(e), X = !/*currencylocale*/
|
|
4404
|
+
e[3] && mr(e), z = !/*currencylocale*/
|
|
4405
|
+
e[3] && br(e);
|
|
4449
4406
|
return {
|
|
4450
4407
|
c() {
|
|
4451
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = C(), a = b("span"), u = R(l),
|
|
4452
|
-
e[12][0]) ||
|
|
4453
|
-
e[12][1]) ||
|
|
4454
|
-
e[12][2]) ||
|
|
4455
|
-
e[12][3]) ||
|
|
4408
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = C(), a = b("span"), u = R(l), h = C(), p = b("span"), c = b("span"), x = R(g), y = C(), V && V.c(), v = C(), m = b("div"), T = b("div"), B = b("ui-image"), k = C(), $ = b("span"), Ue = R(J), ye = C(), Y = b("span"), me = b("span"), fe = R(ce), ve = C(), W && W.c(), _e = C(), ee = b("div"), re = b("div"), ne = b("div"), N = b("ui-image"), De = C(), pe = b("span"), oe = R(q), Ze = C(), K = b("span"), Ee = b("span"), ke = R(xe), Qe = C(), X && X.c(), Ye = C(), se = b("div"), ae = b("div"), te = b("ui-image"), Ge = C(), Te = b("span"), je = R(be), qe = C(), ue = b("span"), f = b("span"), U = R(A), Gt = C(), z && z.c(), L(i, "class", "displayCardIcon"), Q(i.src, o = /*caticons*/
|
|
4409
|
+
e[12][0]) || L(i, "src", o), L(i, "alt", ""), _(a, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(c, "class", "jackpotValue"), _(p, "class", "cardTextWrapper"), _(r, "class", "displayCard"), L(B, "class", "displayCardIcon"), Q(B.src, M = /*caticons*/
|
|
4410
|
+
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*/
|
|
4411
|
+
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*/
|
|
4412
|
+
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");
|
|
4456
4413
|
},
|
|
4457
4414
|
m(E, I) {
|
|
4458
|
-
|
|
4415
|
+
F(E, t, I), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, h), d(r, p), d(p, c), d(c, 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, I), F(E, ee, I), 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, Gt), z && z.m(ue, null);
|
|
4459
4416
|
},
|
|
4460
4417
|
p(E, I) {
|
|
4461
4418
|
I[0] & /*caticons*/
|
|
4462
4419
|
4096 && !Q(i.src, o = /*caticons*/
|
|
4463
|
-
E[12][0]) &&
|
|
4420
|
+
E[12][0]) && L(i, "src", o), I[0] & /*formattedLabels*/
|
|
4464
4421
|
2048 && l !== (l = /*formattedLabels*/
|
|
4465
|
-
E[11][0] + "") &&
|
|
4422
|
+
E[11][0] + "") && j(u, l), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4466
4423
|
66564 && g !== (g = /*realtimeupdate*/
|
|
4467
4424
|
(E[2] === "true" ? (
|
|
4468
4425
|
/*reversedJackpotValues*/
|
|
@@ -4470,25 +4427,25 @@ function Go(e) {
|
|
|
4470
4427
|
) : (
|
|
4471
4428
|
/*formattedJackpotValues*/
|
|
4472
4429
|
E[10][0]
|
|
4473
|
-
)) + "") &&
|
|
4474
|
-
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, I) : (V =
|
|
4475
|
-
4096 && !Q(
|
|
4476
|
-
E[12][1]) &&
|
|
4430
|
+
)) + "") && j(x, g), /*currencylocale*/
|
|
4431
|
+
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, I) : (V = pr(E), V.c(), V.m(p, null)), I[0] & /*caticons*/
|
|
4432
|
+
4096 && !Q(B.src, M = /*caticons*/
|
|
4433
|
+
E[12][1]) && L(B, "src", M), I[0] & /*formattedLabels*/
|
|
4477
4434
|
2048 && J !== (J = /*formattedLabels*/
|
|
4478
|
-
E[11][1] + "") &&
|
|
4479
|
-
66564 &&
|
|
4435
|
+
E[11][1] + "") && j(Ue, J), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4436
|
+
66564 && ce !== (ce = /*realtimeupdate*/
|
|
4480
4437
|
(E[2] === "true" ? (
|
|
4481
4438
|
/*reversedJackpotValues*/
|
|
4482
4439
|
E[16][1]
|
|
4483
4440
|
) : (
|
|
4484
4441
|
/*formattedJackpotValues*/
|
|
4485
4442
|
E[10][1]
|
|
4486
|
-
)) + "") &&
|
|
4487
|
-
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, I) : (W =
|
|
4488
|
-
4096 && !Q(N.src,
|
|
4489
|
-
E[12][2]) &&
|
|
4443
|
+
)) + "") && j(fe, ce), /*currencylocale*/
|
|
4444
|
+
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, I) : (W = dr(E), W.c(), W.m(Y, null)), I[0] & /*caticons*/
|
|
4445
|
+
4096 && !Q(N.src, ie = /*caticons*/
|
|
4446
|
+
E[12][2]) && L(N, "src", ie), I[0] & /*formattedLabels*/
|
|
4490
4447
|
2048 && q !== (q = /*formattedLabels*/
|
|
4491
|
-
E[11][2] + "") &&
|
|
4448
|
+
E[11][2] + "") && j(oe, q), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4492
4449
|
1092 && xe !== (xe = /*realtimeupdate*/
|
|
4493
4450
|
(E[2] === "true" ? (
|
|
4494
4451
|
/*updatedJackpotValues*/
|
|
@@ -4496,50 +4453,50 @@ function Go(e) {
|
|
|
4496
4453
|
) : (
|
|
4497
4454
|
/*formattedJackpotValues*/
|
|
4498
4455
|
E[10][2]
|
|
4499
|
-
)) + "") &&
|
|
4500
|
-
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, I) : (X =
|
|
4456
|
+
)) + "") && j(ke, xe), /*currencylocale*/
|
|
4457
|
+
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, I) : (X = mr(E), X.c(), X.m(K, null)), I[0] & /*caticons*/
|
|
4501
4458
|
4096 && !Q(te.src, Se = /*caticons*/
|
|
4502
|
-
E[12][3]) &&
|
|
4459
|
+
E[12][3]) && L(te, "src", Se), I[0] & /*formattedLabels*/
|
|
4503
4460
|
2048 && be !== (be = /*formattedLabels*/
|
|
4504
|
-
E[11][3] + "") &&
|
|
4505
|
-
1092 &&
|
|
4461
|
+
E[11][3] + "") && j(je, be), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4462
|
+
1092 && A !== (A = /*realtimeupdate*/
|
|
4506
4463
|
(E[2] === "true" ? (
|
|
4507
4464
|
/*updatedJackpotValues*/
|
|
4508
4465
|
E[6][3]
|
|
4509
4466
|
) : (
|
|
4510
4467
|
/*formattedJackpotValues*/
|
|
4511
4468
|
E[10][3]
|
|
4512
|
-
)) + "") &&
|
|
4513
|
-
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, I) : (z =
|
|
4469
|
+
)) + "") && j(U, A), /*currencylocale*/
|
|
4470
|
+
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, I) : (z = br(E), z.c(), z.m(ue, null));
|
|
4514
4471
|
},
|
|
4515
4472
|
d(E) {
|
|
4516
4473
|
E && (D(t), D(_e), D(ee)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
|
|
4517
4474
|
}
|
|
4518
4475
|
};
|
|
4519
4476
|
}
|
|
4520
|
-
function
|
|
4521
|
-
let t, r =
|
|
4477
|
+
function Uo(e) {
|
|
4478
|
+
let t, r = $t(Array(4)), n = [];
|
|
4522
4479
|
for (let i = 0; i < r.length; i += 1)
|
|
4523
|
-
n[i] =
|
|
4480
|
+
n[i] = yr(fr(e, r, i));
|
|
4524
4481
|
return {
|
|
4525
4482
|
c() {
|
|
4526
4483
|
for (let i = 0; i < n.length; i += 1)
|
|
4527
4484
|
n[i].c();
|
|
4528
|
-
t =
|
|
4485
|
+
t = sn();
|
|
4529
4486
|
},
|
|
4530
4487
|
m(i, o) {
|
|
4531
4488
|
for (let s = 0; s < n.length; s += 1)
|
|
4532
4489
|
n[s] && n[s].m(i, o);
|
|
4533
|
-
|
|
4490
|
+
F(i, t, o);
|
|
4534
4491
|
},
|
|
4535
4492
|
p(i, o) {
|
|
4536
4493
|
if (o[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4537
4494
|
72718) {
|
|
4538
|
-
r =
|
|
4495
|
+
r = $t(Array(4));
|
|
4539
4496
|
let s;
|
|
4540
4497
|
for (s = 0; s < r.length; s += 1) {
|
|
4541
|
-
const a =
|
|
4542
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4498
|
+
const a = fr(i, r, s);
|
|
4499
|
+
n[s] ? n[s].p(a, o) : (n[s] = yr(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4543
4500
|
}
|
|
4544
4501
|
for (; s < n.length; s += 1)
|
|
4545
4502
|
n[s].d(1);
|
|
@@ -4547,11 +4504,11 @@ function $o(e) {
|
|
|
4547
4504
|
}
|
|
4548
4505
|
},
|
|
4549
4506
|
d(i) {
|
|
4550
|
-
i && D(t),
|
|
4507
|
+
i && D(t), on(n, i);
|
|
4551
4508
|
}
|
|
4552
4509
|
};
|
|
4553
4510
|
}
|
|
4554
|
-
function
|
|
4511
|
+
function pr(e) {
|
|
4555
4512
|
let t, r;
|
|
4556
4513
|
return {
|
|
4557
4514
|
c() {
|
|
@@ -4561,11 +4518,11 @@ function yr(e) {
|
|
|
4561
4518
|
), _(t, "class", "jackpot-currency");
|
|
4562
4519
|
},
|
|
4563
4520
|
m(n, i) {
|
|
4564
|
-
|
|
4521
|
+
F(n, t, i), d(t, r);
|
|
4565
4522
|
},
|
|
4566
4523
|
p(n, i) {
|
|
4567
4524
|
i[0] & /*currency*/
|
|
4568
|
-
2 &&
|
|
4525
|
+
2 && j(
|
|
4569
4526
|
r,
|
|
4570
4527
|
/*currency*/
|
|
4571
4528
|
n[1]
|
|
@@ -4576,7 +4533,7 @@ function yr(e) {
|
|
|
4576
4533
|
}
|
|
4577
4534
|
};
|
|
4578
4535
|
}
|
|
4579
|
-
function
|
|
4536
|
+
function dr(e) {
|
|
4580
4537
|
let t, r;
|
|
4581
4538
|
return {
|
|
4582
4539
|
c() {
|
|
@@ -4586,11 +4543,11 @@ function vr(e) {
|
|
|
4586
4543
|
), _(t, "class", "jackpot-currency");
|
|
4587
4544
|
},
|
|
4588
4545
|
m(n, i) {
|
|
4589
|
-
|
|
4546
|
+
F(n, t, i), d(t, r);
|
|
4590
4547
|
},
|
|
4591
4548
|
p(n, i) {
|
|
4592
4549
|
i[0] & /*currency*/
|
|
4593
|
-
2 &&
|
|
4550
|
+
2 && j(
|
|
4594
4551
|
r,
|
|
4595
4552
|
/*currency*/
|
|
4596
4553
|
n[1]
|
|
@@ -4601,7 +4558,7 @@ function vr(e) {
|
|
|
4601
4558
|
}
|
|
4602
4559
|
};
|
|
4603
4560
|
}
|
|
4604
|
-
function
|
|
4561
|
+
function mr(e) {
|
|
4605
4562
|
let t, r;
|
|
4606
4563
|
return {
|
|
4607
4564
|
c() {
|
|
@@ -4611,11 +4568,11 @@ function _r(e) {
|
|
|
4611
4568
|
), _(t, "class", "jackpot-currency");
|
|
4612
4569
|
},
|
|
4613
4570
|
m(n, i) {
|
|
4614
|
-
|
|
4571
|
+
F(n, t, i), d(t, r);
|
|
4615
4572
|
},
|
|
4616
4573
|
p(n, i) {
|
|
4617
4574
|
i[0] & /*currency*/
|
|
4618
|
-
2 &&
|
|
4575
|
+
2 && j(
|
|
4619
4576
|
r,
|
|
4620
4577
|
/*currency*/
|
|
4621
4578
|
n[1]
|
|
@@ -4626,7 +4583,7 @@ function _r(e) {
|
|
|
4626
4583
|
}
|
|
4627
4584
|
};
|
|
4628
4585
|
}
|
|
4629
|
-
function
|
|
4586
|
+
function br(e) {
|
|
4630
4587
|
let t, r;
|
|
4631
4588
|
return {
|
|
4632
4589
|
c() {
|
|
@@ -4636,11 +4593,11 @@ function Er(e) {
|
|
|
4636
4593
|
), _(t, "class", "jackpot-currency");
|
|
4637
4594
|
},
|
|
4638
4595
|
m(n, i) {
|
|
4639
|
-
|
|
4596
|
+
F(n, t, i), d(t, r);
|
|
4640
4597
|
},
|
|
4641
4598
|
p(n, i) {
|
|
4642
4599
|
i[0] & /*currency*/
|
|
4643
|
-
2 &&
|
|
4600
|
+
2 && j(
|
|
4644
4601
|
r,
|
|
4645
4602
|
/*currency*/
|
|
4646
4603
|
n[1]
|
|
@@ -4651,7 +4608,7 @@ function Er(e) {
|
|
|
4651
4608
|
}
|
|
4652
4609
|
};
|
|
4653
4610
|
}
|
|
4654
|
-
function
|
|
4611
|
+
function gr(e) {
|
|
4655
4612
|
let t, r;
|
|
4656
4613
|
return {
|
|
4657
4614
|
c() {
|
|
@@ -4661,11 +4618,11 @@ function xr(e) {
|
|
|
4661
4618
|
), _(t, "class", "jackpot-currency");
|
|
4662
4619
|
},
|
|
4663
4620
|
m(n, i) {
|
|
4664
|
-
|
|
4621
|
+
F(n, t, i), d(t, r);
|
|
4665
4622
|
},
|
|
4666
4623
|
p(n, i) {
|
|
4667
4624
|
i[0] & /*currency*/
|
|
4668
|
-
2 &&
|
|
4625
|
+
2 && j(
|
|
4669
4626
|
r,
|
|
4670
4627
|
/*currency*/
|
|
4671
4628
|
n[1]
|
|
@@ -4676,14 +4633,14 @@ function xr(e) {
|
|
|
4676
4633
|
}
|
|
4677
4634
|
};
|
|
4678
4635
|
}
|
|
4679
|
-
function
|
|
4636
|
+
function yr(e) {
|
|
4680
4637
|
let t, r, n, i, o, s, a = (
|
|
4681
4638
|
/*formattedLabels*/
|
|
4682
4639
|
e[11][
|
|
4683
4640
|
/*i*/
|
|
4684
4641
|
e[58]
|
|
4685
4642
|
] + ""
|
|
4686
|
-
), l, u,
|
|
4643
|
+
), l, u, h, p, c = (
|
|
4687
4644
|
/*realtimeupdate*/
|
|
4688
4645
|
(e[2] === "true" ? (
|
|
4689
4646
|
/*reversedJackpotValues*/
|
|
@@ -4699,17 +4656,17 @@ function Sr(e) {
|
|
|
4699
4656
|
] ?? ""
|
|
4700
4657
|
)) + ""
|
|
4701
4658
|
), g, x, y, v = !/*currencylocale*/
|
|
4702
|
-
e[3] &&
|
|
4659
|
+
e[3] && gr(e);
|
|
4703
4660
|
return {
|
|
4704
4661
|
c() {
|
|
4705
|
-
t = b("div"), r = b("div"), n = b("ui-image"), o = C(), s = b("span"), l = R(a), u = C(),
|
|
4662
|
+
t = b("div"), r = b("div"), n = b("ui-image"), o = C(), s = b("span"), l = R(a), u = C(), h = b("span"), p = b("span"), g = R(c), x = C(), v && v.c(), y = C(), L(n, "class", "displayCardIcon"), Q(n.src, i = /*caticons*/
|
|
4706
4663
|
e[12][
|
|
4707
4664
|
/*i*/
|
|
4708
4665
|
e[58]
|
|
4709
|
-
]) ||
|
|
4666
|
+
]) || L(n, "src", i), L(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(h, "class", "cardTextWrapper"), _(t, "class", "displayCard");
|
|
4710
4667
|
},
|
|
4711
4668
|
m(m, T) {
|
|
4712
|
-
|
|
4669
|
+
F(m, t, T), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, h), d(h, p), d(p, g), d(h, x), v && v.m(h, null), d(t, y);
|
|
4713
4670
|
},
|
|
4714
4671
|
p(m, T) {
|
|
4715
4672
|
T[0] & /*caticons*/
|
|
@@ -4717,13 +4674,13 @@ function Sr(e) {
|
|
|
4717
4674
|
m[12][
|
|
4718
4675
|
/*i*/
|
|
4719
4676
|
m[58]
|
|
4720
|
-
]) &&
|
|
4677
|
+
]) && L(n, "src", i), T[0] & /*formattedLabels*/
|
|
4721
4678
|
2048 && a !== (a = /*formattedLabels*/
|
|
4722
4679
|
m[11][
|
|
4723
4680
|
/*i*/
|
|
4724
4681
|
m[58]
|
|
4725
|
-
] + "") &&
|
|
4726
|
-
66564 &&
|
|
4682
|
+
] + "") && j(l, a), T[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4683
|
+
66564 && c !== (c = /*realtimeupdate*/
|
|
4727
4684
|
(m[2] === "true" ? (
|
|
4728
4685
|
/*reversedJackpotValues*/
|
|
4729
4686
|
m[16][
|
|
@@ -4736,22 +4693,22 @@ function Sr(e) {
|
|
|
4736
4693
|
/*i*/
|
|
4737
4694
|
m[58]
|
|
4738
4695
|
] ?? ""
|
|
4739
|
-
)) + "") &&
|
|
4740
|
-
m[3] ? v && (v.d(1), v = null) : v ? v.p(m, T) : (v =
|
|
4696
|
+
)) + "") && j(g, c), /*currencylocale*/
|
|
4697
|
+
m[3] ? v && (v.d(1), v = null) : v ? v.p(m, T) : (v = gr(m), v.c(), v.m(h, null));
|
|
4741
4698
|
},
|
|
4742
4699
|
d(m) {
|
|
4743
4700
|
m && D(t), v && v.d();
|
|
4744
4701
|
}
|
|
4745
4702
|
};
|
|
4746
4703
|
}
|
|
4747
|
-
function
|
|
4704
|
+
function Do(e) {
|
|
4748
4705
|
let t;
|
|
4749
4706
|
function r(o, s) {
|
|
4750
4707
|
return (
|
|
4751
4708
|
/*hasErrors*/
|
|
4752
|
-
o[15] ?
|
|
4709
|
+
o[15] ? Mo : (
|
|
4753
4710
|
/*isLoading*/
|
|
4754
|
-
o[5] ?
|
|
4711
|
+
o[5] ? No : Io
|
|
4755
4712
|
)
|
|
4756
4713
|
);
|
|
4757
4714
|
}
|
|
@@ -4761,7 +4718,7 @@ function Fo(e) {
|
|
|
4761
4718
|
t = b("div"), i.c();
|
|
4762
4719
|
},
|
|
4763
4720
|
m(o, s) {
|
|
4764
|
-
|
|
4721
|
+
F(o, t, s), i.m(t, null), e[36](t);
|
|
4765
4722
|
},
|
|
4766
4723
|
p(o, s) {
|
|
4767
4724
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4773,32 +4730,32 @@ function Fo(e) {
|
|
|
4773
4730
|
}
|
|
4774
4731
|
};
|
|
4775
4732
|
}
|
|
4776
|
-
function
|
|
4777
|
-
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels:
|
|
4733
|
+
function ko(e, t, r) {
|
|
4734
|
+
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: h = "" } = t, { backgroundsrc: p = "" } = t, { currency: c = "" } = 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 = "", ce = [], fe = [], ve = [], _e = [], ee = [], re = "", ne = "", N, ie = !0, De = !1, pe, q = null, oe = [];
|
|
4778
4735
|
const Ze = () => {
|
|
4779
|
-
fetch(T).then((
|
|
4780
|
-
Object.keys(
|
|
4781
|
-
|
|
4736
|
+
fetch(T).then((A) => A.json()).then((A) => {
|
|
4737
|
+
Object.keys(A).forEach((U) => {
|
|
4738
|
+
hr(U, A[U]);
|
|
4782
4739
|
});
|
|
4783
|
-
}).catch((
|
|
4784
|
-
console.log(
|
|
4740
|
+
}).catch((A) => {
|
|
4741
|
+
console.log(A);
|
|
4785
4742
|
});
|
|
4786
4743
|
};
|
|
4787
|
-
Object.keys(
|
|
4788
|
-
|
|
4744
|
+
Object.keys(cr).forEach((f) => {
|
|
4745
|
+
hr(f, cr[f]);
|
|
4789
4746
|
});
|
|
4790
4747
|
const K = ["typeSpread", "typeLeft"], Ee = (f) => {
|
|
4791
|
-
const
|
|
4792
|
-
|
|
4748
|
+
const A = f?.items[0]?.additionalData;
|
|
4749
|
+
A && Object.values(A).forEach((U) => ce.push(+U));
|
|
4793
4750
|
}, xe = (f) => {
|
|
4794
4751
|
r(9, me = f?.items[0]?.vendorLogo || "");
|
|
4795
|
-
},
|
|
4796
|
-
if (
|
|
4797
|
-
let f = new URL(`${
|
|
4798
|
-
f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency",
|
|
4799
|
-
r(5,
|
|
4752
|
+
}, ke = () => {
|
|
4753
|
+
if (B && y && c) {
|
|
4754
|
+
let f = new URL(`${B}/v1/casino/jackpots`);
|
|
4755
|
+
f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", c), fetch(f.href).then((A) => A.json().then((U) => {
|
|
4756
|
+
r(5, ie = !1), pe = U, fe.includes(M) && (Ee(pe), xe(pe));
|
|
4800
4757
|
}).catch((U) => {
|
|
4801
|
-
r(15,
|
|
4758
|
+
r(15, De = !0), r(5, ie = !1), console.error(U);
|
|
4802
4759
|
}).finally(() => {
|
|
4803
4760
|
Qe();
|
|
4804
4761
|
}));
|
|
@@ -4807,91 +4764,91 @@ function Vo(e, t, r) {
|
|
|
4807
4764
|
const f = N.getRootNode().host;
|
|
4808
4765
|
f.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: f } }));
|
|
4809
4766
|
}, Ye = () => {
|
|
4810
|
-
let f = new URL(`${
|
|
4811
|
-
fetch(f.href).then((
|
|
4812
|
-
r(34, fe =
|
|
4767
|
+
let f = new URL(`${B}/v1/casino/jackpots/config`);
|
|
4768
|
+
fetch(f.href).then((A) => A.json()).then((A) => {
|
|
4769
|
+
r(34, fe = A.egtJackpotIds.map((U) => U));
|
|
4813
4770
|
});
|
|
4814
|
-
},
|
|
4815
|
-
r(7, ye =
|
|
4816
|
-
},
|
|
4771
|
+
}, se = () => {
|
|
4772
|
+
r(7, ye = Ao(Ue) && window.innerHeight / window.innerWidth > 1), r(8, Y = Se()), ce.length !== 0 && (r(10, ve = te(ce)), ve.reverse()), r(11, _e = h ? h.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]);
|
|
4773
|
+
}, ae = (f) => Intl.NumberFormat(J, {
|
|
4817
4774
|
minimumFractionDigits: 2,
|
|
4818
4775
|
maximumFractionDigits: 2,
|
|
4819
4776
|
style: "currency",
|
|
4820
|
-
currency:
|
|
4821
|
-
}).format(f).replace(/\s/g, ""), te = (f) => J ? f.map((
|
|
4777
|
+
currency: c
|
|
4778
|
+
}).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 = () => {
|
|
4822
4779
|
const f = window.innerHeight / window.innerWidth;
|
|
4823
4780
|
return 0.75 < f && f < 1.6;
|
|
4824
|
-
},
|
|
4781
|
+
}, Ge = () => {
|
|
4825
4782
|
window.postMessage({ type: "JackpotBannerClicked", gameid: M }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
4826
4783
|
context: "JackpotBanner",
|
|
4827
4784
|
gameId: `${M}`
|
|
4828
4785
|
});
|
|
4829
4786
|
}, Te = () => {
|
|
4830
|
-
|
|
4787
|
+
Oo(y);
|
|
4831
4788
|
}, be = (f) => {
|
|
4832
|
-
const
|
|
4833
|
-
if (
|
|
4834
|
-
const U = Number(
|
|
4789
|
+
const A = JSON.parse(f.data);
|
|
4790
|
+
if (A.success && A.data.messageType === "UpdateEgtJackpotBalance" && A.data.jackpotAlias.split("_")[0] === M) {
|
|
4791
|
+
const U = Number(A.data.jackpotAlias.split("_")[1]) - 1;
|
|
4835
4792
|
r(
|
|
4836
4793
|
6,
|
|
4837
|
-
|
|
4838
|
-
|
|
4794
|
+
oe[U] = J ? ae(A.data.data[`${c}`].balance) : A.data.data[`${c}`].balance.toString(),
|
|
4795
|
+
oe
|
|
4839
4796
|
);
|
|
4840
4797
|
}
|
|
4841
4798
|
}, je = () => {
|
|
4842
|
-
|
|
4799
|
+
$ === "true" && (se(), r(6, oe = ["", "", "", ""]), q = new EventSource(`${B}/v1/encoder/jackpot/*/update`), q.addEventListener("message", be));
|
|
4843
4800
|
};
|
|
4844
|
-
|
|
4845
|
-
}),
|
|
4801
|
+
hn(() => () => {
|
|
4802
|
+
}), cn(() => {
|
|
4846
4803
|
q && (q.removeEventListener("message", be), q.close(), q = null);
|
|
4847
4804
|
});
|
|
4848
|
-
const qe = () =>
|
|
4849
|
-
function
|
|
4850
|
-
|
|
4805
|
+
const qe = () => Ge();
|
|
4806
|
+
function ue(f) {
|
|
4807
|
+
Et[f ? "unshift" : "push"](() => {
|
|
4851
4808
|
N = f, r(4, N);
|
|
4852
4809
|
});
|
|
4853
4810
|
}
|
|
4854
4811
|
return e.$$set = (f) => {
|
|
4855
|
-
"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,
|
|
4812
|
+
"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, h = f.iconlabels), "backgroundsrc" in f && r(24, p = f.backgroundsrc), "currency" in f && r(1, c = 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);
|
|
4856
4813
|
}, e.$$.update = () => {
|
|
4857
4814
|
e.$$.dirty[1] & /*endpoint*/
|
|
4858
|
-
1 &&
|
|
4859
|
-
268435472 && v && N &&
|
|
4860
|
-
536870928 && m && N &&
|
|
4815
|
+
1 && B && Ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4816
|
+
268435472 && v && N && Bo(N, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4817
|
+
536870928 && m && N && Po(N, m), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4861
4818
|
16 | e.$$.dirty[1] & /*mbsource*/
|
|
4862
|
-
4 && k && N &&
|
|
4819
|
+
4 && k && N && Lo(N, `${k}.Style`), e.$$.dirty[0] & /*lang, currency*/
|
|
4863
4820
|
134217730 | e.$$.dirty[1] & /*endpoint, validGameIds*/
|
|
4864
|
-
9 &&
|
|
4865
|
-
134217762 &&
|
|
4821
|
+
9 && B && y && c && fe.length > 0 && ke(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4822
|
+
134217762 && c && y && !ie && se(), e.$$.dirty[0] & /*lang*/
|
|
4866
4823
|
134217728 && y && Te(), e.$$.dirty[0] & /*translationurl*/
|
|
4867
4824
|
1073741824 && T && Ze(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4868
|
-
4 &&
|
|
4869
|
-
64 && r(16, n = [...
|
|
4825
|
+
4 && $ && je(), e.$$.dirty[0] & /*updatedJackpotValues*/
|
|
4826
|
+
64 && r(16, n = [...oe].reverse());
|
|
4870
4827
|
}, [
|
|
4871
4828
|
i,
|
|
4872
|
-
|
|
4873
|
-
|
|
4829
|
+
c,
|
|
4830
|
+
$,
|
|
4874
4831
|
J,
|
|
4875
4832
|
N,
|
|
4833
|
+
ie,
|
|
4876
4834
|
oe,
|
|
4877
|
-
se,
|
|
4878
4835
|
ye,
|
|
4879
4836
|
Y,
|
|
4880
4837
|
me,
|
|
4881
4838
|
ve,
|
|
4882
4839
|
_e,
|
|
4883
4840
|
ee,
|
|
4841
|
+
re,
|
|
4884
4842
|
ne,
|
|
4885
|
-
|
|
4886
|
-
Ue,
|
|
4843
|
+
De,
|
|
4887
4844
|
n,
|
|
4888
|
-
|
|
4845
|
+
Ge,
|
|
4889
4846
|
o,
|
|
4890
4847
|
s,
|
|
4891
4848
|
a,
|
|
4892
4849
|
l,
|
|
4893
4850
|
u,
|
|
4894
|
-
|
|
4851
|
+
h,
|
|
4895
4852
|
p,
|
|
4896
4853
|
g,
|
|
4897
4854
|
x,
|
|
@@ -4899,22 +4856,22 @@ function Vo(e, t, r) {
|
|
|
4899
4856
|
v,
|
|
4900
4857
|
m,
|
|
4901
4858
|
T,
|
|
4902
|
-
|
|
4859
|
+
B,
|
|
4903
4860
|
M,
|
|
4904
4861
|
k,
|
|
4905
4862
|
fe,
|
|
4906
4863
|
qe,
|
|
4907
|
-
|
|
4864
|
+
ue
|
|
4908
4865
|
];
|
|
4909
4866
|
}
|
|
4910
|
-
class
|
|
4867
|
+
class Go extends Sn {
|
|
4911
4868
|
constructor(t) {
|
|
4912
|
-
super(),
|
|
4869
|
+
super(), En(
|
|
4913
4870
|
this,
|
|
4914
4871
|
t,
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4872
|
+
ko,
|
|
4873
|
+
Do,
|
|
4874
|
+
_r,
|
|
4918
4875
|
{
|
|
4919
4876
|
visualstructure: 0,
|
|
4920
4877
|
title: 18,
|
|
@@ -4937,7 +4894,7 @@ class Wo extends Bn {
|
|
|
4937
4894
|
realtimeupdate: 2,
|
|
4938
4895
|
currencylocale: 3
|
|
4939
4896
|
},
|
|
4940
|
-
|
|
4897
|
+
Co,
|
|
4941
4898
|
[-1, -1]
|
|
4942
4899
|
);
|
|
4943
4900
|
}
|
|
@@ -5062,7 +5019,7 @@ class Wo extends Bn {
|
|
|
5062
5019
|
this.$$set({ currencylocale: t }), O();
|
|
5063
5020
|
}
|
|
5064
5021
|
}
|
|
5065
|
-
|
|
5022
|
+
xn(Go, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
|
|
5066
5023
|
export {
|
|
5067
|
-
|
|
5024
|
+
Go as C
|
|
5068
5025
|
};
|