@everymatrix/casino-jackpot-banner 1.61.0 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoJackpotBanner-B5M6ErSR.cjs +18 -0
- package/components/{CasinoJackpotBanner-B_oK6P71.js → CasinoJackpotBanner-Dft_vosS.js} +855 -833
- package/components/{CasinoJackpotBanner-Cl10qz21.js → CasinoJackpotBanner-DwU8pcrc.js} +600 -578
- 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-b7bbd57e-6KaMTlNN.js +534 -0
- package/stencil/index-b7bbd57e-BSagye0B.js +550 -0
- package/stencil/index-b7bbd57e-DIQXXTTR.cjs +1 -0
- package/stencil/{ui-image-38c3c15f-ByZECnci.js → ui-image-38c3c15f-CumwWbNu.js} +1 -1
- package/stencil/{ui-image-38c3c15f-D_V48h1L.js → ui-image-38c3c15f-Dxl-aZb-.js} +1 -1
- package/stencil/{ui-image-38c3c15f-VguNkCIq.cjs → ui-image-38c3c15f-y5t5ZLG0.cjs} +1 -1
- package/stencil/{ui-image-BNrzgSpe.js → ui-image-BQa5UbqU.js} +2 -2
- package/stencil/{ui-image-CPH6BqjQ.js → ui-image-Bi4jDe3D.js} +2 -2
- package/stencil/{ui-image-CLghOqUz.cjs → ui-image-z441BZiX.cjs} +1 -1
- package/components/CasinoJackpotBanner-BfaEAZVA.cjs +0 -18
- package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
- package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var ct = (e, t, r) => t in e ?
|
|
1
|
+
var en = Object.defineProperty, tn = Object.defineProperties;
|
|
2
|
+
var rn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var kt = Object.getOwnPropertySymbols;
|
|
4
|
+
var nn = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ct = (e, t, r) => t in e ? en(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
nn.call(t, r) && ct(e, r, t[r]);
|
|
8
|
+
if (kt)
|
|
9
|
+
for (var r of kt(t))
|
|
10
|
+
on.call(t, r) && ct(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Vt = (e, t) => tn(e, rn(t));
|
|
13
13
|
var $ = (e, t, r) => (ct(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
15
|
-
var
|
|
14
|
+
var Wt = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
18
18
|
} catch (u) {
|
|
19
19
|
i(u);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, s = (l) => {
|
|
22
22
|
try {
|
|
23
23
|
a(r.throw(l));
|
|
24
24
|
} catch (u) {
|
|
25
25
|
i(u);
|
|
26
26
|
}
|
|
27
|
-
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(
|
|
27
|
+
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-Bi4jDe3D.js";
|
|
31
31
|
function j() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function vr(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function Xt() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
39
|
function Ve(e) {
|
|
40
|
-
e.forEach(
|
|
40
|
+
e.forEach(vr);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Rt(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function _r(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
48
|
let Ze;
|
|
49
49
|
function k(e, t) {
|
|
50
50
|
return e === t ? !0 : (Ze || (Ze = document.createElement("a")), Ze.href = t, e === Ze.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function sn(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function an(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -64,14 +64,14 @@ function rn(e, ...t) {
|
|
|
64
64
|
function d(e, t) {
|
|
65
65
|
e.appendChild(t);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
const n =
|
|
67
|
+
function un(e, t, r) {
|
|
68
|
+
const n = ln(e);
|
|
69
69
|
if (!n.getElementById(t)) {
|
|
70
70
|
const i = m("style");
|
|
71
|
-
i.id = t, i.textContent = r,
|
|
71
|
+
i.id = t, i.textContent = r, hn(n, i);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ln(e) {
|
|
75
75
|
if (!e)
|
|
76
76
|
return document;
|
|
77
77
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -81,7 +81,7 @@ function sn(e) {
|
|
|
81
81
|
t
|
|
82
82
|
) : e.ownerDocument;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function hn(e, t) {
|
|
85
85
|
return d(
|
|
86
86
|
/** @type {Document} */
|
|
87
87
|
e.head || e,
|
|
@@ -94,7 +94,7 @@ function ee(e, t, r) {
|
|
|
94
94
|
function X(e) {
|
|
95
95
|
e.parentNode && e.parentNode.removeChild(e);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function cn(e, t) {
|
|
98
98
|
for (let r = 0; r < e.length; r += 1)
|
|
99
99
|
e[r] && e[r].d(t);
|
|
100
100
|
}
|
|
@@ -107,10 +107,10 @@ function M(e) {
|
|
|
107
107
|
function K() {
|
|
108
108
|
return M(" ");
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function fn() {
|
|
111
111
|
return M("");
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function pn(e, t, r, n) {
|
|
114
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
115
115
|
}
|
|
116
116
|
function _(e, t, r) {
|
|
@@ -120,7 +120,7 @@ function C(e, t, r) {
|
|
|
120
120
|
const n = t.toLowerCase();
|
|
121
121
|
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);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function dn(e) {
|
|
124
124
|
return Array.from(e.childNodes);
|
|
125
125
|
}
|
|
126
126
|
function D(e, t) {
|
|
@@ -130,7 +130,7 @@ function D(e, t) {
|
|
|
130
130
|
function Qe(e, t, r, n) {
|
|
131
131
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function mn(e) {
|
|
134
134
|
const t = {};
|
|
135
135
|
return e.childNodes.forEach(
|
|
136
136
|
/** @param {Element} node */
|
|
@@ -143,97 +143,97 @@ let $e;
|
|
|
143
143
|
function je(e) {
|
|
144
144
|
$e = e;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function Er() {
|
|
147
147
|
if (!$e)
|
|
148
148
|
throw new Error("Function called outside component initialization");
|
|
149
149
|
return $e;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function bn(e) {
|
|
152
|
+
Er().$$.on_mount.push(e);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
154
|
+
function gn(e) {
|
|
155
|
+
Er().$$.on_destroy.push(e);
|
|
156
156
|
}
|
|
157
|
-
const Te = [],
|
|
157
|
+
const Te = [], _t = [];
|
|
158
158
|
let we = [];
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
function
|
|
162
|
-
|
|
159
|
+
const zt = [], yn = /* @__PURE__ */ Promise.resolve();
|
|
160
|
+
let Et = !1;
|
|
161
|
+
function vn() {
|
|
162
|
+
Et || (Et = !0, yn.then(L));
|
|
163
163
|
}
|
|
164
164
|
function xt(e) {
|
|
165
165
|
we.push(e);
|
|
166
166
|
}
|
|
167
167
|
const ft = /* @__PURE__ */ new Set();
|
|
168
|
-
let
|
|
169
|
-
function
|
|
170
|
-
if (
|
|
168
|
+
let xe = 0;
|
|
169
|
+
function L() {
|
|
170
|
+
if (xe !== 0)
|
|
171
171
|
return;
|
|
172
172
|
const e = $e;
|
|
173
173
|
do {
|
|
174
174
|
try {
|
|
175
|
-
for (;
|
|
176
|
-
const t = Te[
|
|
177
|
-
|
|
175
|
+
for (; xe < Te.length; ) {
|
|
176
|
+
const t = Te[xe];
|
|
177
|
+
xe++, je(t), _n(t.$$);
|
|
178
178
|
}
|
|
179
179
|
} catch (t) {
|
|
180
|
-
throw Te.length = 0,
|
|
180
|
+
throw Te.length = 0, xe = 0, t;
|
|
181
181
|
}
|
|
182
|
-
for (je(null), Te.length = 0,
|
|
183
|
-
|
|
182
|
+
for (je(null), Te.length = 0, xe = 0; _t.length; )
|
|
183
|
+
_t.pop()();
|
|
184
184
|
for (let t = 0; t < we.length; t += 1) {
|
|
185
185
|
const r = we[t];
|
|
186
186
|
ft.has(r) || (ft.add(r), r());
|
|
187
187
|
}
|
|
188
188
|
we.length = 0;
|
|
189
189
|
} while (Te.length);
|
|
190
|
-
for (;
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
for (; zt.length; )
|
|
191
|
+
zt.pop()();
|
|
192
|
+
Et = !1, ft.clear(), je(e);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function _n(e) {
|
|
195
195
|
if (e.fragment !== null) {
|
|
196
196
|
e.update(), Ve(e.before_update);
|
|
197
197
|
const t = e.dirty;
|
|
198
198
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xt);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function En(e) {
|
|
202
202
|
const t = [], r = [];
|
|
203
203
|
we.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), we = t;
|
|
204
204
|
}
|
|
205
|
-
const
|
|
206
|
-
function
|
|
207
|
-
e && e.i && (
|
|
205
|
+
const xn = /* @__PURE__ */ new Set();
|
|
206
|
+
function Sn(e, t) {
|
|
207
|
+
e && e.i && (xn.delete(e), e.i(t));
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Jt(e) {
|
|
210
210
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Tn(e, t, r) {
|
|
213
213
|
const { fragment: n, after_update: i } = e.$$;
|
|
214
214
|
n && n.m(t, r), xt(() => {
|
|
215
|
-
const
|
|
216
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
215
|
+
const o = e.$$.on_mount.map(vr).filter(Rt);
|
|
216
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ve(o), e.$$.on_mount = [];
|
|
217
217
|
}), i.forEach(xt);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function wn(e, t) {
|
|
220
220
|
const r = e.$$;
|
|
221
|
-
r.fragment !== null && (
|
|
221
|
+
r.fragment !== null && (En(r.after_update), Ve(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
e.$$.dirty[0] === -1 && (Te.push(e),
|
|
223
|
+
function Hn(e, t) {
|
|
224
|
+
e.$$.dirty[0] === -1 && (Te.push(e), vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function An(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
227
227
|
const l = $e;
|
|
228
228
|
je(e);
|
|
229
229
|
const u = e.$$ = {
|
|
230
230
|
fragment: null,
|
|
231
231
|
ctx: [],
|
|
232
232
|
// state
|
|
233
|
-
props:
|
|
233
|
+
props: o,
|
|
234
234
|
update: j,
|
|
235
235
|
not_equal: i,
|
|
236
|
-
bound:
|
|
236
|
+
bound: Xt(),
|
|
237
237
|
// lifecycle
|
|
238
238
|
on_mount: [],
|
|
239
239
|
on_destroy: [],
|
|
@@ -242,28 +242,28 @@ function Sn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
242
242
|
after_update: [],
|
|
243
243
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
244
244
|
// everything else
|
|
245
|
-
callbacks:
|
|
245
|
+
callbacks: Xt(),
|
|
246
246
|
dirty: a,
|
|
247
247
|
skip_bound: !1,
|
|
248
248
|
root: t.target || l.$$.root
|
|
249
249
|
};
|
|
250
|
-
|
|
250
|
+
s && s(u.root);
|
|
251
251
|
let h = !1;
|
|
252
252
|
if (u.ctx = r ? r(e, t.props || {}, (f, p, ...b) => {
|
|
253
253
|
const g = b.length ? b[0] : p;
|
|
254
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), h &&
|
|
254
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), h && Hn(e, f)), p;
|
|
255
255
|
}) : [], u.update(), h = !0, Ve(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
256
256
|
if (t.hydrate) {
|
|
257
|
-
const f =
|
|
257
|
+
const f = dn(t.target);
|
|
258
258
|
u.fragment && u.fragment.l(f), f.forEach(X);
|
|
259
259
|
} else
|
|
260
260
|
u.fragment && u.fragment.c();
|
|
261
|
-
t.intro &&
|
|
261
|
+
t.intro && Sn(e.$$.fragment), Tn(e, t.target, t.anchor), L();
|
|
262
262
|
}
|
|
263
263
|
je(l);
|
|
264
264
|
}
|
|
265
|
-
let
|
|
266
|
-
typeof HTMLElement == "function" && (
|
|
265
|
+
let xr;
|
|
266
|
+
typeof HTMLElement == "function" && (xr = class extends HTMLElement {
|
|
267
267
|
constructor(t, r, n) {
|
|
268
268
|
super();
|
|
269
269
|
/** The Svelte component constructor */
|
|
@@ -300,42 +300,42 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
connectedCallback() {
|
|
303
|
-
return
|
|
303
|
+
return Wt(this, null, function* () {
|
|
304
304
|
if (this.$$cn = !0, !this.$$c) {
|
|
305
|
-
let t = function(
|
|
305
|
+
let t = function(o) {
|
|
306
306
|
return () => {
|
|
307
|
-
let
|
|
307
|
+
let s;
|
|
308
308
|
return {
|
|
309
309
|
c: function() {
|
|
310
|
-
|
|
310
|
+
s = m("slot"), o !== "default" && _(s, "name", o);
|
|
311
311
|
},
|
|
312
312
|
/**
|
|
313
313
|
* @param {HTMLElement} target
|
|
314
314
|
* @param {HTMLElement} [anchor]
|
|
315
315
|
*/
|
|
316
316
|
m: function(u, h) {
|
|
317
|
-
ee(u,
|
|
317
|
+
ee(u, s, h);
|
|
318
318
|
},
|
|
319
319
|
d: function(u) {
|
|
320
|
-
u && X(
|
|
320
|
+
u && X(s);
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
323
|
};
|
|
324
324
|
};
|
|
325
325
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
326
326
|
return;
|
|
327
|
-
const r = {}, n =
|
|
328
|
-
for (const
|
|
329
|
-
|
|
330
|
-
for (const
|
|
331
|
-
const
|
|
332
|
-
|
|
327
|
+
const r = {}, n = mn(this);
|
|
328
|
+
for (const o of this.$$s)
|
|
329
|
+
o in n && (r[o] = [t(o)]);
|
|
330
|
+
for (const o of this.attributes) {
|
|
331
|
+
const s = this.$$g_p(o.name);
|
|
332
|
+
s in this.$$d || (this.$$d[s] = Ke(s, o.value, this.$$p_d, "toProp"));
|
|
333
333
|
}
|
|
334
|
-
for (const
|
|
335
|
-
!(
|
|
334
|
+
for (const o in this.$$p_d)
|
|
335
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
336
336
|
this.$$c = new this.$$ctor({
|
|
337
337
|
target: this.shadowRoot || this,
|
|
338
|
-
props:
|
|
338
|
+
props: Vt(Ft({}, this.$$d), {
|
|
339
339
|
$$slots: r,
|
|
340
340
|
$$scope: {
|
|
341
341
|
ctx: []
|
|
@@ -344,23 +344,23 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
|
344
344
|
});
|
|
345
345
|
const i = () => {
|
|
346
346
|
this.$$r = !0;
|
|
347
|
-
for (const
|
|
348
|
-
if (this.$$d[
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
this.$$d[
|
|
347
|
+
for (const o in this.$$p_d)
|
|
348
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
349
|
+
const s = Ke(
|
|
350
|
+
o,
|
|
351
|
+
this.$$d[o],
|
|
352
352
|
this.$$p_d,
|
|
353
353
|
"toAttribute"
|
|
354
354
|
);
|
|
355
|
-
|
|
355
|
+
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
|
356
356
|
}
|
|
357
357
|
this.$$r = !1;
|
|
358
358
|
};
|
|
359
359
|
this.$$c.$$.after_update.push(i), i();
|
|
360
|
-
for (const
|
|
361
|
-
for (const
|
|
362
|
-
const a = this.$$c.$on(
|
|
363
|
-
this.$$l_u.set(
|
|
360
|
+
for (const o in this.$$l)
|
|
361
|
+
for (const s of this.$$l[o]) {
|
|
362
|
+
const a = this.$$c.$on(o, s);
|
|
363
|
+
this.$$l_u.set(s, a);
|
|
364
364
|
}
|
|
365
365
|
this.$$l = {};
|
|
366
366
|
}
|
|
@@ -384,8 +384,8 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
386
|
function Ke(e, t, r, n) {
|
|
387
|
-
var
|
|
388
|
-
const i = (
|
|
387
|
+
var o;
|
|
388
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
389
389
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
390
390
|
return t;
|
|
391
391
|
if (n === "toAttribute")
|
|
@@ -413,8 +413,8 @@ function Ke(e, t, r, n) {
|
|
|
413
413
|
return t;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function
|
|
417
|
-
let
|
|
416
|
+
function Bn(e, t, r, n, i, o) {
|
|
417
|
+
let s = class extends xr {
|
|
418
418
|
constructor() {
|
|
419
419
|
super(e, r, i), this.$$p_d = t;
|
|
420
420
|
}
|
|
@@ -425,7 +425,7 @@ function Tn(e, t, r, n, i, s) {
|
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
return Object.keys(t).forEach((a) => {
|
|
428
|
-
Object.defineProperty(
|
|
428
|
+
Object.defineProperty(s.prototype, a, {
|
|
429
429
|
get() {
|
|
430
430
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
431
431
|
},
|
|
@@ -435,16 +435,16 @@ function Tn(e, t, r, n, i, s) {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}), n.forEach((a) => {
|
|
438
|
-
Object.defineProperty(
|
|
438
|
+
Object.defineProperty(s.prototype, a, {
|
|
439
439
|
get() {
|
|
440
440
|
var l;
|
|
441
441
|
return (l = this.$$c) == null ? void 0 : l[a];
|
|
442
442
|
}
|
|
443
443
|
});
|
|
444
444
|
}), e.element = /** @type {any} */
|
|
445
|
-
|
|
445
|
+
s, s;
|
|
446
446
|
}
|
|
447
|
-
class
|
|
447
|
+
class Pn {
|
|
448
448
|
constructor() {
|
|
449
449
|
/**
|
|
450
450
|
* ### PRIVATE API
|
|
@@ -465,7 +465,7 @@ class wn {
|
|
|
465
465
|
}
|
|
466
466
|
/** @returns {void} */
|
|
467
467
|
$destroy() {
|
|
468
|
-
|
|
468
|
+
wn(this, 1), this.$destroy = j;
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
471
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -474,7 +474,7 @@ class wn {
|
|
|
474
474
|
* @returns {() => void}
|
|
475
475
|
*/
|
|
476
476
|
$on(t, r) {
|
|
477
|
-
if (!
|
|
477
|
+
if (!Rt(r))
|
|
478
478
|
return j;
|
|
479
479
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
480
480
|
return n.push(r), () => {
|
|
@@ -487,11 +487,11 @@ class wn {
|
|
|
487
487
|
* @returns {void}
|
|
488
488
|
*/
|
|
489
489
|
$set(t) {
|
|
490
|
-
this.$$set && !
|
|
490
|
+
this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
const
|
|
494
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
493
|
+
const Cn = "4";
|
|
494
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cn);
|
|
495
495
|
/*! *****************************************************************************
|
|
496
496
|
Copyright (c) Microsoft Corporation.
|
|
497
497
|
|
|
@@ -506,18 +506,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
506
506
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
507
507
|
PERFORMANCE OF THIS SOFTWARE.
|
|
508
508
|
***************************************************************************** */
|
|
509
|
-
var
|
|
510
|
-
return
|
|
509
|
+
var St = function(e, t) {
|
|
510
|
+
return St = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
511
511
|
r.__proto__ = n;
|
|
512
512
|
} || function(r, n) {
|
|
513
513
|
for (var i in n)
|
|
514
514
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
515
|
-
},
|
|
515
|
+
}, St(e, t);
|
|
516
516
|
};
|
|
517
517
|
function ne(e, t) {
|
|
518
518
|
if (typeof t != "function" && t !== null)
|
|
519
519
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
520
|
-
|
|
520
|
+
St(e, t);
|
|
521
521
|
function r() {
|
|
522
522
|
this.constructor = e;
|
|
523
523
|
}
|
|
@@ -527,13 +527,13 @@ var w = function() {
|
|
|
527
527
|
return w = Object.assign || function(t) {
|
|
528
528
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
529
529
|
r = arguments[n];
|
|
530
|
-
for (var
|
|
531
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
530
|
+
for (var o in r)
|
|
531
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
532
532
|
}
|
|
533
533
|
return t;
|
|
534
534
|
}, w.apply(this, arguments);
|
|
535
535
|
};
|
|
536
|
-
function
|
|
536
|
+
function Ln(e, t) {
|
|
537
537
|
var r = {};
|
|
538
538
|
for (var n in e)
|
|
539
539
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -542,7 +542,7 @@ function An(e, t) {
|
|
|
542
542
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
543
543
|
return r;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function Tt(e) {
|
|
546
546
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
547
547
|
if (r)
|
|
548
548
|
return r.call(e);
|
|
@@ -554,42 +554,42 @@ function St(e) {
|
|
|
554
554
|
};
|
|
555
555
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function wt(e, t) {
|
|
558
558
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
559
559
|
if (!r)
|
|
560
560
|
return e;
|
|
561
|
-
var n = r.call(e), i,
|
|
561
|
+
var n = r.call(e), i, o = [], s;
|
|
562
562
|
try {
|
|
563
563
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
564
|
-
|
|
564
|
+
o.push(i.value);
|
|
565
565
|
} catch (a) {
|
|
566
|
-
|
|
566
|
+
s = { error: a };
|
|
567
567
|
} finally {
|
|
568
568
|
try {
|
|
569
569
|
i && !i.done && (r = n.return) && r.call(n);
|
|
570
570
|
} finally {
|
|
571
|
-
if (
|
|
572
|
-
throw
|
|
571
|
+
if (s)
|
|
572
|
+
throw s.error;
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
return
|
|
575
|
+
return o;
|
|
576
576
|
}
|
|
577
577
|
function He(e, t, r) {
|
|
578
578
|
if (r || arguments.length === 2)
|
|
579
|
-
for (var n = 0, i = t.length,
|
|
580
|
-
(
|
|
581
|
-
return e.concat(
|
|
579
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
580
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
581
|
+
return e.concat(o || t);
|
|
582
582
|
}
|
|
583
583
|
function re(e) {
|
|
584
584
|
return typeof e == "function";
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function Sr(e) {
|
|
587
587
|
var t = function(n) {
|
|
588
588
|
Error.call(n), n.stack = new Error().stack;
|
|
589
589
|
}, r = e(t);
|
|
590
590
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
591
591
|
}
|
|
592
|
-
var pt =
|
|
592
|
+
var pt = Sr(function(e) {
|
|
593
593
|
return function(r) {
|
|
594
594
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
595
595
|
` + r.map(function(n, i) {
|
|
@@ -598,25 +598,25 @@ var pt = _r(function(e) {
|
|
|
598
598
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
599
599
|
};
|
|
600
600
|
});
|
|
601
|
-
function
|
|
601
|
+
function Ht(e, t) {
|
|
602
602
|
if (e) {
|
|
603
603
|
var r = e.indexOf(t);
|
|
604
604
|
0 <= r && e.splice(r, 1);
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
var
|
|
607
|
+
var ot = function() {
|
|
608
608
|
function e(t) {
|
|
609
609
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
610
610
|
}
|
|
611
611
|
return e.prototype.unsubscribe = function() {
|
|
612
|
-
var t, r, n, i,
|
|
612
|
+
var t, r, n, i, o;
|
|
613
613
|
if (!this.closed) {
|
|
614
614
|
this.closed = !0;
|
|
615
|
-
var
|
|
616
|
-
if (
|
|
617
|
-
if (this._parentage = null, Array.isArray(
|
|
615
|
+
var s = this._parentage;
|
|
616
|
+
if (s)
|
|
617
|
+
if (this._parentage = null, Array.isArray(s))
|
|
618
618
|
try {
|
|
619
|
-
for (var a =
|
|
619
|
+
for (var a = Tt(s), l = a.next(); !l.done; l = a.next()) {
|
|
620
620
|
var u = l.value;
|
|
621
621
|
u.remove(this);
|
|
622
622
|
}
|
|
@@ -631,24 +631,24 @@ var st = function() {
|
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
else
|
|
634
|
-
|
|
634
|
+
s.remove(this);
|
|
635
635
|
var h = this.initialTeardown;
|
|
636
636
|
if (re(h))
|
|
637
637
|
try {
|
|
638
638
|
h();
|
|
639
639
|
} catch (y) {
|
|
640
|
-
|
|
640
|
+
o = y instanceof pt ? y.errors : [y];
|
|
641
641
|
}
|
|
642
642
|
var f = this._finalizers;
|
|
643
643
|
if (f) {
|
|
644
644
|
this._finalizers = null;
|
|
645
645
|
try {
|
|
646
|
-
for (var p =
|
|
646
|
+
for (var p = Tt(f), b = p.next(); !b.done; b = p.next()) {
|
|
647
647
|
var g = b.value;
|
|
648
648
|
try {
|
|
649
|
-
|
|
649
|
+
Zt(g);
|
|
650
650
|
} catch (y) {
|
|
651
|
-
|
|
651
|
+
o = o != null ? o : [], y instanceof pt ? o = He(He([], wt(o)), wt(y.errors)) : o.push(y);
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
} catch (y) {
|
|
@@ -662,14 +662,14 @@ var st = function() {
|
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
if (
|
|
666
|
-
throw new pt(
|
|
665
|
+
if (o)
|
|
666
|
+
throw new pt(o);
|
|
667
667
|
}
|
|
668
668
|
}, e.prototype.add = function(t) {
|
|
669
669
|
var r;
|
|
670
670
|
if (t && t !== this)
|
|
671
671
|
if (this.closed)
|
|
672
|
-
|
|
672
|
+
Zt(t);
|
|
673
673
|
else {
|
|
674
674
|
if (t instanceof e) {
|
|
675
675
|
if (t.closed || t._hasParent(this))
|
|
@@ -686,52 +686,56 @@ var st = function() {
|
|
|
686
686
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
687
687
|
}, e.prototype._removeParent = function(t) {
|
|
688
688
|
var r = this._parentage;
|
|
689
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
689
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ht(r, t);
|
|
690
690
|
}, e.prototype.remove = function(t) {
|
|
691
691
|
var r = this._finalizers;
|
|
692
|
-
r &&
|
|
692
|
+
r && Ht(r, t), t instanceof e && t._removeParent(this);
|
|
693
693
|
}, e.EMPTY = function() {
|
|
694
694
|
var t = new e();
|
|
695
695
|
return t.closed = !0, t;
|
|
696
696
|
}(), e;
|
|
697
|
-
}(),
|
|
698
|
-
function
|
|
699
|
-
return e instanceof
|
|
697
|
+
}(), Tr = ot.EMPTY;
|
|
698
|
+
function wr(e) {
|
|
699
|
+
return e instanceof ot || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
|
|
700
700
|
}
|
|
701
|
-
function
|
|
701
|
+
function Zt(e) {
|
|
702
702
|
re(e) ? e() : e.unsubscribe();
|
|
703
703
|
}
|
|
704
|
-
var
|
|
705
|
-
|
|
706
|
-
|
|
704
|
+
var Hr = {
|
|
705
|
+
onUnhandledError: null,
|
|
706
|
+
onStoppedNotification: null,
|
|
707
|
+
Promise: void 0,
|
|
708
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
709
|
+
useDeprecatedNextContext: !1
|
|
710
|
+
}, In = {
|
|
707
711
|
setTimeout: function(e, t) {
|
|
708
712
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
709
713
|
r[n - 2] = arguments[n];
|
|
710
|
-
return setTimeout.apply(void 0, He([e, t],
|
|
714
|
+
return setTimeout.apply(void 0, He([e, t], wt(r)));
|
|
711
715
|
},
|
|
712
716
|
clearTimeout: function(e) {
|
|
713
717
|
return clearTimeout(e);
|
|
714
718
|
},
|
|
715
719
|
delegate: void 0
|
|
716
720
|
};
|
|
717
|
-
function
|
|
718
|
-
|
|
721
|
+
function On(e) {
|
|
722
|
+
In.setTimeout(function() {
|
|
719
723
|
throw e;
|
|
720
724
|
});
|
|
721
725
|
}
|
|
722
|
-
function
|
|
726
|
+
function Qt() {
|
|
723
727
|
}
|
|
724
728
|
function et(e) {
|
|
725
729
|
e();
|
|
726
730
|
}
|
|
727
|
-
var
|
|
731
|
+
var Ar = function(e) {
|
|
728
732
|
ne(t, e);
|
|
729
733
|
function t(r) {
|
|
730
734
|
var n = e.call(this) || this;
|
|
731
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
735
|
+
return n.isStopped = !1, r ? (n.destination = r, wr(r) && r.add(n)) : n.destination = Un, n;
|
|
732
736
|
}
|
|
733
737
|
return t.create = function(r, n, i) {
|
|
734
|
-
return new
|
|
738
|
+
return new At(r, n, i);
|
|
735
739
|
}, t.prototype.next = function(r) {
|
|
736
740
|
this.isStopped || this._next(r);
|
|
737
741
|
}, t.prototype.error = function(r) {
|
|
@@ -755,7 +759,11 @@ var Sr = function(e) {
|
|
|
755
759
|
this.unsubscribe();
|
|
756
760
|
}
|
|
757
761
|
}, t;
|
|
758
|
-
}(
|
|
762
|
+
}(ot), Nn = Function.prototype.bind;
|
|
763
|
+
function dt(e, t) {
|
|
764
|
+
return Nn.call(e, t);
|
|
765
|
+
}
|
|
766
|
+
var Mn = function() {
|
|
759
767
|
function e(t) {
|
|
760
768
|
this.partialObserver = t;
|
|
761
769
|
}
|
|
@@ -786,43 +794,55 @@ var Sr = function(e) {
|
|
|
786
794
|
Ye(r);
|
|
787
795
|
}
|
|
788
796
|
}, e;
|
|
789
|
-
}(),
|
|
797
|
+
}(), At = function(e) {
|
|
790
798
|
ne(t, e);
|
|
791
799
|
function t(r, n, i) {
|
|
792
|
-
var
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
800
|
+
var o = e.call(this) || this, s;
|
|
801
|
+
if (re(r) || !r)
|
|
802
|
+
s = {
|
|
803
|
+
next: r != null ? r : void 0,
|
|
804
|
+
error: n != null ? n : void 0,
|
|
805
|
+
complete: i != null ? i : void 0
|
|
806
|
+
};
|
|
807
|
+
else {
|
|
808
|
+
var a;
|
|
809
|
+
o && Hr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
810
|
+
return o.unsubscribe();
|
|
811
|
+
}, s = {
|
|
812
|
+
next: r.next && dt(r.next, a),
|
|
813
|
+
error: r.error && dt(r.error, a),
|
|
814
|
+
complete: r.complete && dt(r.complete, a)
|
|
815
|
+
}) : s = r;
|
|
816
|
+
}
|
|
817
|
+
return o.destination = new Mn(s), o;
|
|
798
818
|
}
|
|
799
819
|
return t;
|
|
800
|
-
}(
|
|
820
|
+
}(Ar);
|
|
801
821
|
function Ye(e) {
|
|
802
|
-
|
|
822
|
+
On(e);
|
|
803
823
|
}
|
|
804
|
-
function
|
|
824
|
+
function Rn(e) {
|
|
805
825
|
throw e;
|
|
806
826
|
}
|
|
807
|
-
var
|
|
827
|
+
var Un = {
|
|
808
828
|
closed: !0,
|
|
809
|
-
next:
|
|
810
|
-
error:
|
|
811
|
-
complete:
|
|
812
|
-
},
|
|
829
|
+
next: Qt,
|
|
830
|
+
error: Rn,
|
|
831
|
+
complete: Qt
|
|
832
|
+
}, Dn = function() {
|
|
813
833
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
814
834
|
}();
|
|
815
|
-
function
|
|
835
|
+
function Gn(e) {
|
|
816
836
|
return e;
|
|
817
837
|
}
|
|
818
|
-
function
|
|
819
|
-
return e.length === 0 ?
|
|
838
|
+
function jn(e) {
|
|
839
|
+
return e.length === 0 ? Gn : e.length === 1 ? e[0] : function(r) {
|
|
820
840
|
return e.reduce(function(n, i) {
|
|
821
841
|
return i(n);
|
|
822
842
|
}, r);
|
|
823
843
|
};
|
|
824
844
|
}
|
|
825
|
-
var
|
|
845
|
+
var Yt = function() {
|
|
826
846
|
function e(t) {
|
|
827
847
|
t && (this._subscribe = t);
|
|
828
848
|
}
|
|
@@ -830,11 +850,11 @@ var Jt = function() {
|
|
|
830
850
|
var r = new e();
|
|
831
851
|
return r.source = this, r.operator = t, r;
|
|
832
852
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
833
|
-
var i = this,
|
|
853
|
+
var i = this, o = kn(t) ? t : new At(t, r, n);
|
|
834
854
|
return et(function() {
|
|
835
|
-
var
|
|
836
|
-
|
|
837
|
-
}),
|
|
855
|
+
var s = i, a = s.operator, l = s.source;
|
|
856
|
+
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
857
|
+
}), o;
|
|
838
858
|
}, e.prototype._trySubscribe = function(t) {
|
|
839
859
|
try {
|
|
840
860
|
return this._subscribe(t);
|
|
@@ -843,79 +863,79 @@ var Jt = function() {
|
|
|
843
863
|
}
|
|
844
864
|
}, e.prototype.forEach = function(t, r) {
|
|
845
865
|
var n = this;
|
|
846
|
-
return r =
|
|
847
|
-
var
|
|
866
|
+
return r = qt(r), new r(function(i, o) {
|
|
867
|
+
var s = new At({
|
|
848
868
|
next: function(a) {
|
|
849
869
|
try {
|
|
850
870
|
t(a);
|
|
851
871
|
} catch (l) {
|
|
852
|
-
|
|
872
|
+
o(l), s.unsubscribe();
|
|
853
873
|
}
|
|
854
874
|
},
|
|
855
|
-
error:
|
|
875
|
+
error: o,
|
|
856
876
|
complete: i
|
|
857
877
|
});
|
|
858
|
-
n.subscribe(
|
|
878
|
+
n.subscribe(s);
|
|
859
879
|
});
|
|
860
880
|
}, e.prototype._subscribe = function(t) {
|
|
861
881
|
var r;
|
|
862
882
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
863
|
-
}, e.prototype[
|
|
883
|
+
}, e.prototype[Dn] = function() {
|
|
864
884
|
return this;
|
|
865
885
|
}, e.prototype.pipe = function() {
|
|
866
886
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
867
887
|
t[r] = arguments[r];
|
|
868
|
-
return
|
|
888
|
+
return jn(t)(this);
|
|
869
889
|
}, e.prototype.toPromise = function(t) {
|
|
870
890
|
var r = this;
|
|
871
|
-
return t =
|
|
872
|
-
var
|
|
873
|
-
r.subscribe(function(
|
|
874
|
-
return
|
|
875
|
-
}, function(
|
|
876
|
-
return i(
|
|
891
|
+
return t = qt(t), new t(function(n, i) {
|
|
892
|
+
var o;
|
|
893
|
+
r.subscribe(function(s) {
|
|
894
|
+
return o = s;
|
|
895
|
+
}, function(s) {
|
|
896
|
+
return i(s);
|
|
877
897
|
}, function() {
|
|
878
|
-
return n(
|
|
898
|
+
return n(o);
|
|
879
899
|
});
|
|
880
900
|
});
|
|
881
901
|
}, e.create = function(t) {
|
|
882
902
|
return new e(t);
|
|
883
903
|
}, e;
|
|
884
904
|
}();
|
|
885
|
-
function
|
|
905
|
+
function qt(e) {
|
|
886
906
|
var t;
|
|
887
|
-
return (t = e != null ? e :
|
|
907
|
+
return (t = e != null ? e : Hr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
888
908
|
}
|
|
889
|
-
function
|
|
909
|
+
function $n(e) {
|
|
890
910
|
return e && re(e.next) && re(e.error) && re(e.complete);
|
|
891
911
|
}
|
|
892
|
-
function
|
|
893
|
-
return e && e instanceof
|
|
912
|
+
function kn(e) {
|
|
913
|
+
return e && e instanceof Ar || $n(e) && wr(e);
|
|
894
914
|
}
|
|
895
|
-
var
|
|
915
|
+
var Fn = Sr(function(e) {
|
|
896
916
|
return function() {
|
|
897
917
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
898
918
|
};
|
|
899
|
-
}),
|
|
919
|
+
}), Br = function(e) {
|
|
900
920
|
ne(t, e);
|
|
901
921
|
function t() {
|
|
902
922
|
var r = e.call(this) || this;
|
|
903
923
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
904
924
|
}
|
|
905
925
|
return t.prototype.lift = function(r) {
|
|
906
|
-
var n = new
|
|
926
|
+
var n = new Kt(this, this);
|
|
907
927
|
return n.operator = r, n;
|
|
908
928
|
}, t.prototype._throwIfClosed = function() {
|
|
909
929
|
if (this.closed)
|
|
910
|
-
throw new
|
|
930
|
+
throw new Fn();
|
|
911
931
|
}, t.prototype.next = function(r) {
|
|
912
932
|
var n = this;
|
|
913
933
|
et(function() {
|
|
914
|
-
var i,
|
|
934
|
+
var i, o;
|
|
915
935
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
916
936
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
917
937
|
try {
|
|
918
|
-
for (var
|
|
938
|
+
for (var s = Tt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
919
939
|
var l = a.value;
|
|
920
940
|
l.next(r);
|
|
921
941
|
}
|
|
@@ -923,7 +943,7 @@ var Gn = _r(function(e) {
|
|
|
923
943
|
i = { error: u };
|
|
924
944
|
} finally {
|
|
925
945
|
try {
|
|
926
|
-
a && !a.done && (
|
|
946
|
+
a && !a.done && (o = s.return) && o.call(s);
|
|
927
947
|
} finally {
|
|
928
948
|
if (i)
|
|
929
949
|
throw i.error;
|
|
@@ -963,20 +983,20 @@ var Gn = _r(function(e) {
|
|
|
963
983
|
}, t.prototype._subscribe = function(r) {
|
|
964
984
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
965
985
|
}, t.prototype._innerSubscribe = function(r) {
|
|
966
|
-
var n = this, i = this,
|
|
967
|
-
return
|
|
968
|
-
n.currentObservers = null,
|
|
986
|
+
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
987
|
+
return o || s ? Tr : (this.currentObservers = null, a.push(r), new ot(function() {
|
|
988
|
+
n.currentObservers = null, Ht(a, r);
|
|
969
989
|
}));
|
|
970
990
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
971
|
-
var n = this, i = n.hasError,
|
|
972
|
-
i ? r.error(
|
|
991
|
+
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
992
|
+
i ? r.error(o) : s && r.complete();
|
|
973
993
|
}, t.prototype.asObservable = function() {
|
|
974
|
-
var r = new
|
|
994
|
+
var r = new Yt();
|
|
975
995
|
return r.source = this, r;
|
|
976
996
|
}, t.create = function(r, n) {
|
|
977
|
-
return new
|
|
997
|
+
return new Kt(r, n);
|
|
978
998
|
}, t;
|
|
979
|
-
}(
|
|
999
|
+
}(Yt), Kt = function(e) {
|
|
980
1000
|
ne(t, e);
|
|
981
1001
|
function t(r, n) {
|
|
982
1002
|
var i = e.call(this) || this;
|
|
@@ -993,54 +1013,54 @@ var Gn = _r(function(e) {
|
|
|
993
1013
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
994
1014
|
}, t.prototype._subscribe = function(r) {
|
|
995
1015
|
var n, i;
|
|
996
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1016
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tr;
|
|
997
1017
|
}, t;
|
|
998
|
-
}(
|
|
1018
|
+
}(Br), Pr = {
|
|
999
1019
|
now: function() {
|
|
1000
|
-
return (
|
|
1020
|
+
return (Pr.delegate || Date).now();
|
|
1001
1021
|
},
|
|
1002
1022
|
delegate: void 0
|
|
1003
|
-
},
|
|
1023
|
+
}, Vn = function(e) {
|
|
1004
1024
|
ne(t, e);
|
|
1005
1025
|
function t(r, n, i) {
|
|
1006
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1007
|
-
var
|
|
1008
|
-
return
|
|
1026
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pr);
|
|
1027
|
+
var o = e.call(this) || this;
|
|
1028
|
+
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;
|
|
1009
1029
|
}
|
|
1010
1030
|
return t.prototype.next = function(r) {
|
|
1011
|
-
var n = this, i = n.isStopped,
|
|
1012
|
-
i || (
|
|
1031
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
|
|
1032
|
+
i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1013
1033
|
}, t.prototype._subscribe = function(r) {
|
|
1014
1034
|
this._throwIfClosed(), this._trimBuffer();
|
|
1015
|
-
for (var n = this._innerSubscribe(r), i = this,
|
|
1035
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
|
|
1016
1036
|
r.next(a[l]);
|
|
1017
1037
|
return this._checkFinalizedStatuses(r), n;
|
|
1018
1038
|
}, t.prototype._trimBuffer = function() {
|
|
1019
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider,
|
|
1020
|
-
if (n < 1 / 0 && a <
|
|
1021
|
-
for (var l = i.now(), u = 0, h = 1; h <
|
|
1039
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
1040
|
+
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
1041
|
+
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1022
1042
|
u = h;
|
|
1023
|
-
u &&
|
|
1043
|
+
u && o.splice(0, u + 1);
|
|
1024
1044
|
}
|
|
1025
1045
|
}, t;
|
|
1026
|
-
}(
|
|
1027
|
-
const
|
|
1028
|
-
if (
|
|
1029
|
-
const r = new
|
|
1030
|
-
|
|
1046
|
+
}(Br);
|
|
1047
|
+
const er = [], tr = {}, Wn = (e, t = 0) => {
|
|
1048
|
+
if (er.indexOf(e) == -1) {
|
|
1049
|
+
const r = new Vn(t);
|
|
1050
|
+
tr[e] = r, er.push(e);
|
|
1031
1051
|
}
|
|
1032
|
-
return
|
|
1052
|
+
return tr[e];
|
|
1033
1053
|
}, Se = [];
|
|
1034
|
-
function
|
|
1054
|
+
function Xn(e, t) {
|
|
1035
1055
|
return {
|
|
1036
|
-
subscribe:
|
|
1056
|
+
subscribe: st(e, t).subscribe
|
|
1037
1057
|
};
|
|
1038
1058
|
}
|
|
1039
|
-
function
|
|
1059
|
+
function st(e, t = j) {
|
|
1040
1060
|
let r;
|
|
1041
1061
|
const n = /* @__PURE__ */ new Set();
|
|
1042
1062
|
function i(a) {
|
|
1043
|
-
if (
|
|
1063
|
+
if (_r(e, a) && (e = a, r)) {
|
|
1044
1064
|
const l = !Se.length;
|
|
1045
1065
|
for (const u of n)
|
|
1046
1066
|
u[1](), Se.push(u, e);
|
|
@@ -1051,23 +1071,23 @@ function ot(e, t = j) {
|
|
|
1051
1071
|
}
|
|
1052
1072
|
}
|
|
1053
1073
|
}
|
|
1054
|
-
function
|
|
1074
|
+
function o(a) {
|
|
1055
1075
|
i(a(e));
|
|
1056
1076
|
}
|
|
1057
|
-
function
|
|
1077
|
+
function s(a, l = j) {
|
|
1058
1078
|
const u = [a, l];
|
|
1059
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
1079
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || j), a(e), () => {
|
|
1060
1080
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1061
1081
|
};
|
|
1062
1082
|
}
|
|
1063
|
-
return { set: i, update:
|
|
1083
|
+
return { set: i, update: o, subscribe: s };
|
|
1064
1084
|
}
|
|
1065
|
-
function
|
|
1085
|
+
function Le(e, t, r) {
|
|
1066
1086
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1067
1087
|
if (!i.every(Boolean))
|
|
1068
1088
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1069
|
-
const
|
|
1070
|
-
return
|
|
1089
|
+
const o = t.length < 2;
|
|
1090
|
+
return Xn(r, (s, a) => {
|
|
1071
1091
|
let l = !1;
|
|
1072
1092
|
const u = [];
|
|
1073
1093
|
let h = 0, f = j;
|
|
@@ -1075,10 +1095,10 @@ function Oe(e, t, r) {
|
|
|
1075
1095
|
if (h)
|
|
1076
1096
|
return;
|
|
1077
1097
|
f();
|
|
1078
|
-
const g = t(n ? u[0] : u,
|
|
1079
|
-
|
|
1098
|
+
const g = t(n ? u[0] : u, s, a);
|
|
1099
|
+
o ? s(g) : f = Rt(g) ? g : j;
|
|
1080
1100
|
}, b = i.map(
|
|
1081
|
-
(g, y) =>
|
|
1101
|
+
(g, y) => an(
|
|
1082
1102
|
g,
|
|
1083
1103
|
(v) => {
|
|
1084
1104
|
u[y] = v, h &= ~(1 << y), l && p();
|
|
@@ -1093,70 +1113,70 @@ function Oe(e, t, r) {
|
|
|
1093
1113
|
};
|
|
1094
1114
|
});
|
|
1095
1115
|
}
|
|
1096
|
-
function
|
|
1116
|
+
function zn(e) {
|
|
1097
1117
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1098
1118
|
}
|
|
1099
|
-
var
|
|
1100
|
-
return
|
|
1119
|
+
var Jn = function(t) {
|
|
1120
|
+
return Zn(t) && !Qn(t);
|
|
1101
1121
|
};
|
|
1102
|
-
function
|
|
1122
|
+
function Zn(e) {
|
|
1103
1123
|
return !!e && typeof e == "object";
|
|
1104
1124
|
}
|
|
1105
|
-
function
|
|
1125
|
+
function Qn(e) {
|
|
1106
1126
|
var t = Object.prototype.toString.call(e);
|
|
1107
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1127
|
+
return t === "[object RegExp]" || t === "[object Date]" || Kn(e);
|
|
1108
1128
|
}
|
|
1109
|
-
var
|
|
1110
|
-
function
|
|
1111
|
-
return e.$$typeof ===
|
|
1129
|
+
var Yn = typeof Symbol == "function" && Symbol.for, qn = Yn ? Symbol.for("react.element") : 60103;
|
|
1130
|
+
function Kn(e) {
|
|
1131
|
+
return e.$$typeof === qn;
|
|
1112
1132
|
}
|
|
1113
|
-
function
|
|
1133
|
+
function ei(e) {
|
|
1114
1134
|
return Array.isArray(e) ? [] : {};
|
|
1115
1135
|
}
|
|
1116
1136
|
function ke(e, t) {
|
|
1117
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ae(
|
|
1137
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ae(ei(e), e, t) : e;
|
|
1118
1138
|
}
|
|
1119
|
-
function
|
|
1139
|
+
function ti(e, t, r) {
|
|
1120
1140
|
return e.concat(t).map(function(n) {
|
|
1121
1141
|
return ke(n, r);
|
|
1122
1142
|
});
|
|
1123
1143
|
}
|
|
1124
|
-
function
|
|
1144
|
+
function ri(e, t) {
|
|
1125
1145
|
if (!t.customMerge)
|
|
1126
1146
|
return Ae;
|
|
1127
1147
|
var r = t.customMerge(e);
|
|
1128
1148
|
return typeof r == "function" ? r : Ae;
|
|
1129
1149
|
}
|
|
1130
|
-
function
|
|
1150
|
+
function ni(e) {
|
|
1131
1151
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1132
1152
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1133
1153
|
}) : [];
|
|
1134
1154
|
}
|
|
1135
|
-
function
|
|
1136
|
-
return Object.keys(e).concat(
|
|
1155
|
+
function rr(e) {
|
|
1156
|
+
return Object.keys(e).concat(ni(e));
|
|
1137
1157
|
}
|
|
1138
|
-
function
|
|
1158
|
+
function Cr(e, t) {
|
|
1139
1159
|
try {
|
|
1140
1160
|
return t in e;
|
|
1141
1161
|
} catch (r) {
|
|
1142
1162
|
return !1;
|
|
1143
1163
|
}
|
|
1144
1164
|
}
|
|
1145
|
-
function
|
|
1146
|
-
return
|
|
1165
|
+
function ii(e, t) {
|
|
1166
|
+
return Cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1147
1167
|
}
|
|
1148
|
-
function
|
|
1168
|
+
function oi(e, t, r) {
|
|
1149
1169
|
var n = {};
|
|
1150
|
-
return r.isMergeableObject(e) &&
|
|
1170
|
+
return r.isMergeableObject(e) && rr(e).forEach(function(i) {
|
|
1151
1171
|
n[i] = ke(e[i], r);
|
|
1152
|
-
}),
|
|
1153
|
-
|
|
1172
|
+
}), rr(t).forEach(function(i) {
|
|
1173
|
+
ii(e, i) || (Cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ri(i, r)(e[i], t[i], r) : n[i] = ke(t[i], r));
|
|
1154
1174
|
}), n;
|
|
1155
1175
|
}
|
|
1156
1176
|
function Ae(e, t, r) {
|
|
1157
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1158
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
1159
|
-
return
|
|
1177
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ti, r.isMergeableObject = r.isMergeableObject || Jn, r.cloneUnlessOtherwiseSpecified = ke;
|
|
1178
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1179
|
+
return o ? n ? r.arrayMerge(e, t, r) : oi(e, t, r) : ke(t, r);
|
|
1160
1180
|
}
|
|
1161
1181
|
Ae.all = function(t, r) {
|
|
1162
1182
|
if (!Array.isArray(t))
|
|
@@ -1165,60 +1185,62 @@ Ae.all = function(t, r) {
|
|
|
1165
1185
|
return Ae(n, i, r);
|
|
1166
1186
|
}, {});
|
|
1167
1187
|
};
|
|
1168
|
-
var
|
|
1169
|
-
const
|
|
1170
|
-
function
|
|
1171
|
-
var r = t && t.cache ? t.cache :
|
|
1188
|
+
var si = Ae, ai = si;
|
|
1189
|
+
const ui = /* @__PURE__ */ zn(ai);
|
|
1190
|
+
function mt(e, t) {
|
|
1191
|
+
var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : pi, i = t && t.strategy ? t.strategy : hi;
|
|
1172
1192
|
return i(e, {
|
|
1173
1193
|
cache: r,
|
|
1174
1194
|
serializer: n
|
|
1175
1195
|
});
|
|
1176
1196
|
}
|
|
1177
|
-
function
|
|
1197
|
+
function li(e) {
|
|
1178
1198
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1179
1199
|
}
|
|
1180
|
-
function
|
|
1181
|
-
var i =
|
|
1182
|
-
return typeof
|
|
1200
|
+
function Lr(e, t, r, n) {
|
|
1201
|
+
var i = li(n) ? n : r(n), o = t.get(i);
|
|
1202
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1183
1203
|
}
|
|
1184
|
-
function
|
|
1185
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
1186
|
-
return typeof
|
|
1204
|
+
function Ir(e, t, r) {
|
|
1205
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1206
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1187
1207
|
}
|
|
1188
|
-
function
|
|
1208
|
+
function Ut(e, t, r, n, i) {
|
|
1189
1209
|
return r.bind(t, e, n, i);
|
|
1190
1210
|
}
|
|
1191
|
-
function
|
|
1192
|
-
var r = e.length === 1 ?
|
|
1193
|
-
return
|
|
1211
|
+
function hi(e, t) {
|
|
1212
|
+
var r = e.length === 1 ? Lr : Ir;
|
|
1213
|
+
return Ut(e, this, r, t.cache.create(), t.serializer);
|
|
1214
|
+
}
|
|
1215
|
+
function ci(e, t) {
|
|
1216
|
+
return Ut(e, this, Ir, t.cache.create(), t.serializer);
|
|
1194
1217
|
}
|
|
1195
|
-
function
|
|
1196
|
-
return
|
|
1218
|
+
function fi(e, t) {
|
|
1219
|
+
return Ut(e, this, Lr, t.cache.create(), t.serializer);
|
|
1197
1220
|
}
|
|
1198
|
-
var
|
|
1221
|
+
var pi = function() {
|
|
1199
1222
|
return JSON.stringify(arguments);
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
}()
|
|
1212
|
-
), ci = {
|
|
1223
|
+
};
|
|
1224
|
+
function Dt() {
|
|
1225
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1226
|
+
}
|
|
1227
|
+
Dt.prototype.get = function(e) {
|
|
1228
|
+
return this.cache[e];
|
|
1229
|
+
};
|
|
1230
|
+
Dt.prototype.set = function(e, t) {
|
|
1231
|
+
this.cache[e] = t;
|
|
1232
|
+
};
|
|
1233
|
+
var di = {
|
|
1213
1234
|
create: function() {
|
|
1214
|
-
return new
|
|
1235
|
+
return new Dt();
|
|
1215
1236
|
}
|
|
1216
|
-
},
|
|
1217
|
-
variadic:
|
|
1218
|
-
|
|
1237
|
+
}, bt = {
|
|
1238
|
+
variadic: ci,
|
|
1239
|
+
monadic: fi
|
|
1240
|
+
}, x;
|
|
1219
1241
|
(function(e) {
|
|
1220
1242
|
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";
|
|
1221
|
-
})(
|
|
1243
|
+
})(x || (x = {}));
|
|
1222
1244
|
var P;
|
|
1223
1245
|
(function(e) {
|
|
1224
1246
|
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";
|
|
@@ -1227,43 +1249,43 @@ var Be;
|
|
|
1227
1249
|
(function(e) {
|
|
1228
1250
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1229
1251
|
})(Be || (Be = {}));
|
|
1230
|
-
function
|
|
1252
|
+
function nr(e) {
|
|
1231
1253
|
return e.type === P.literal;
|
|
1232
1254
|
}
|
|
1233
|
-
function
|
|
1255
|
+
function mi(e) {
|
|
1234
1256
|
return e.type === P.argument;
|
|
1235
1257
|
}
|
|
1236
|
-
function
|
|
1258
|
+
function Or(e) {
|
|
1237
1259
|
return e.type === P.number;
|
|
1238
1260
|
}
|
|
1239
|
-
function
|
|
1261
|
+
function Nr(e) {
|
|
1240
1262
|
return e.type === P.date;
|
|
1241
1263
|
}
|
|
1242
|
-
function
|
|
1264
|
+
function Mr(e) {
|
|
1243
1265
|
return e.type === P.time;
|
|
1244
1266
|
}
|
|
1245
|
-
function
|
|
1267
|
+
function Rr(e) {
|
|
1246
1268
|
return e.type === P.select;
|
|
1247
1269
|
}
|
|
1248
|
-
function
|
|
1270
|
+
function Ur(e) {
|
|
1249
1271
|
return e.type === P.plural;
|
|
1250
1272
|
}
|
|
1251
|
-
function
|
|
1273
|
+
function bi(e) {
|
|
1252
1274
|
return e.type === P.pound;
|
|
1253
1275
|
}
|
|
1254
|
-
function
|
|
1276
|
+
function Dr(e) {
|
|
1255
1277
|
return e.type === P.tag;
|
|
1256
1278
|
}
|
|
1257
|
-
function
|
|
1279
|
+
function Gr(e) {
|
|
1258
1280
|
return !!(e && typeof e == "object" && e.type === Be.number);
|
|
1259
1281
|
}
|
|
1260
|
-
function
|
|
1282
|
+
function Bt(e) {
|
|
1261
1283
|
return !!(e && typeof e == "object" && e.type === Be.dateTime);
|
|
1262
1284
|
}
|
|
1263
|
-
var
|
|
1264
|
-
function
|
|
1285
|
+
var jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1286
|
+
function yi(e) {
|
|
1265
1287
|
var t = {};
|
|
1266
|
-
return e.replace(
|
|
1288
|
+
return e.replace(gi, function(r) {
|
|
1267
1289
|
var n = r.length;
|
|
1268
1290
|
switch (r[0]) {
|
|
1269
1291
|
case "G":
|
|
@@ -1352,17 +1374,17 @@ function mi(e) {
|
|
|
1352
1374
|
return "";
|
|
1353
1375
|
}), t;
|
|
1354
1376
|
}
|
|
1355
|
-
var
|
|
1356
|
-
function
|
|
1377
|
+
var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1378
|
+
function _i(e) {
|
|
1357
1379
|
if (e.length === 0)
|
|
1358
1380
|
throw new Error("Number skeleton cannot be empty");
|
|
1359
|
-
for (var t = e.split(
|
|
1381
|
+
for (var t = e.split(vi).filter(function(p) {
|
|
1360
1382
|
return p.length > 0;
|
|
1361
1383
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1362
|
-
var
|
|
1363
|
-
if (
|
|
1384
|
+
var o = i[n], s = o.split("/");
|
|
1385
|
+
if (s.length === 0)
|
|
1364
1386
|
throw new Error("Invalid number skeleton");
|
|
1365
|
-
for (var a =
|
|
1387
|
+
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1366
1388
|
var f = h[u];
|
|
1367
1389
|
if (f.length === 0)
|
|
1368
1390
|
throw new Error("Invalid number skeleton");
|
|
@@ -1371,17 +1393,17 @@ function gi(e) {
|
|
|
1371
1393
|
}
|
|
1372
1394
|
return r;
|
|
1373
1395
|
}
|
|
1374
|
-
function
|
|
1396
|
+
function Ei(e) {
|
|
1375
1397
|
return e.replace(/^(.*?)-/, "");
|
|
1376
1398
|
}
|
|
1377
|
-
var
|
|
1378
|
-
function
|
|
1399
|
+
var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $r = /^(@+)?(\+|#+)?[rs]?$/g, xi = /(\*)(0+)|(#+)(0+)|(0+)/g, kr = /^(0+)$/;
|
|
1400
|
+
function or(e) {
|
|
1379
1401
|
var t = {};
|
|
1380
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1402
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($r, function(r, n, i) {
|
|
1381
1403
|
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)), "";
|
|
1382
1404
|
}), t;
|
|
1383
1405
|
}
|
|
1384
|
-
function
|
|
1406
|
+
function Fr(e) {
|
|
1385
1407
|
switch (e) {
|
|
1386
1408
|
case "sign-auto":
|
|
1387
1409
|
return {
|
|
@@ -1421,7 +1443,7 @@ function Gr(e) {
|
|
|
1421
1443
|
};
|
|
1422
1444
|
}
|
|
1423
1445
|
}
|
|
1424
|
-
function
|
|
1446
|
+
function Si(e) {
|
|
1425
1447
|
var t;
|
|
1426
1448
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1427
1449
|
notation: "engineering"
|
|
@@ -1429,17 +1451,17 @@ function _i(e) {
|
|
|
1429
1451
|
notation: "scientific"
|
|
1430
1452
|
}, e = e.slice(1)), t) {
|
|
1431
1453
|
var r = e.slice(0, 2);
|
|
1432
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1454
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kr.test(e))
|
|
1433
1455
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1434
1456
|
t.minimumIntegerDigits = e.length;
|
|
1435
1457
|
}
|
|
1436
1458
|
return t;
|
|
1437
1459
|
}
|
|
1438
|
-
function
|
|
1439
|
-
var t = {}, r =
|
|
1460
|
+
function sr(e) {
|
|
1461
|
+
var t = {}, r = Fr(e);
|
|
1440
1462
|
return r || t;
|
|
1441
1463
|
}
|
|
1442
|
-
function
|
|
1464
|
+
function Ti(e) {
|
|
1443
1465
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1444
1466
|
var i = n[r];
|
|
1445
1467
|
switch (i.stem) {
|
|
@@ -1463,7 +1485,7 @@ function xi(e) {
|
|
|
1463
1485
|
continue;
|
|
1464
1486
|
case "measure-unit":
|
|
1465
1487
|
case "unit":
|
|
1466
|
-
t.style = "unit", t.unit =
|
|
1488
|
+
t.style = "unit", t.unit = Ei(i.options[0]);
|
|
1467
1489
|
continue;
|
|
1468
1490
|
case "compact-short":
|
|
1469
1491
|
case "K":
|
|
@@ -1475,12 +1497,12 @@ function xi(e) {
|
|
|
1475
1497
|
continue;
|
|
1476
1498
|
case "scientific":
|
|
1477
1499
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1478
|
-
return w(w({}, l),
|
|
1500
|
+
return w(w({}, l), sr(u));
|
|
1479
1501
|
}, {}));
|
|
1480
1502
|
continue;
|
|
1481
1503
|
case "engineering":
|
|
1482
1504
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1483
|
-
return w(w({}, l),
|
|
1505
|
+
return w(w({}, l), sr(u));
|
|
1484
1506
|
}, {}));
|
|
1485
1507
|
continue;
|
|
1486
1508
|
case "notation-simple":
|
|
@@ -1525,7 +1547,7 @@ function xi(e) {
|
|
|
1525
1547
|
case "integer-width":
|
|
1526
1548
|
if (i.options.length > 1)
|
|
1527
1549
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1528
|
-
i.options[0].replace(
|
|
1550
|
+
i.options[0].replace(xi, function(l, u, h, f, p, b) {
|
|
1529
1551
|
if (u)
|
|
1530
1552
|
t.minimumIntegerDigits = h.length;
|
|
1531
1553
|
else {
|
|
@@ -1538,27 +1560,27 @@ function xi(e) {
|
|
|
1538
1560
|
});
|
|
1539
1561
|
continue;
|
|
1540
1562
|
}
|
|
1541
|
-
if (
|
|
1563
|
+
if (kr.test(i.stem)) {
|
|
1542
1564
|
t.minimumIntegerDigits = i.stem.length;
|
|
1543
1565
|
continue;
|
|
1544
1566
|
}
|
|
1545
|
-
if (
|
|
1567
|
+
if (ir.test(i.stem)) {
|
|
1546
1568
|
if (i.options.length > 1)
|
|
1547
1569
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1548
|
-
i.stem.replace(
|
|
1570
|
+
i.stem.replace(ir, function(l, u, h, f, p, b) {
|
|
1549
1571
|
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && b ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1550
1572
|
});
|
|
1551
|
-
var
|
|
1552
|
-
|
|
1573
|
+
var o = i.options[0];
|
|
1574
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), or(o)));
|
|
1553
1575
|
continue;
|
|
1554
1576
|
}
|
|
1555
|
-
if (
|
|
1556
|
-
t = w(w({}, t),
|
|
1577
|
+
if ($r.test(i.stem)) {
|
|
1578
|
+
t = w(w({}, t), or(i.stem));
|
|
1557
1579
|
continue;
|
|
1558
1580
|
}
|
|
1559
|
-
var
|
|
1560
|
-
|
|
1561
|
-
var a =
|
|
1581
|
+
var s = Fr(i.stem);
|
|
1582
|
+
s && (t = w(w({}, t), s));
|
|
1583
|
+
var a = Si(i.stem);
|
|
1562
1584
|
a && (t = w(w({}, t), a));
|
|
1563
1585
|
}
|
|
1564
1586
|
return t;
|
|
@@ -2978,23 +3000,23 @@ var qe = {
|
|
|
2978
3000
|
"h"
|
|
2979
3001
|
]
|
|
2980
3002
|
};
|
|
2981
|
-
function
|
|
3003
|
+
function wi(e, t) {
|
|
2982
3004
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2983
3005
|
var i = e.charAt(n);
|
|
2984
3006
|
if (i === "j") {
|
|
2985
|
-
for (var
|
|
2986
|
-
|
|
2987
|
-
var
|
|
3007
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3008
|
+
o++, n++;
|
|
3009
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hi(t);
|
|
2988
3010
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2989
3011
|
r += l;
|
|
2990
|
-
for (;
|
|
3012
|
+
for (; s-- > 0; )
|
|
2991
3013
|
r = u + r;
|
|
2992
3014
|
} else
|
|
2993
3015
|
i === "J" ? r += "H" : r += i;
|
|
2994
3016
|
}
|
|
2995
3017
|
return r;
|
|
2996
3018
|
}
|
|
2997
|
-
function
|
|
3019
|
+
function Hi(e) {
|
|
2998
3020
|
var t = e.hourCycle;
|
|
2999
3021
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3000
3022
|
e.hourCycles && // @ts-ignore
|
|
@@ -3016,20 +3038,20 @@ function Si(e) {
|
|
|
3016
3038
|
var i = qe[n || ""] || qe[r || ""] || qe["".concat(r, "-001")] || qe["001"];
|
|
3017
3039
|
return i[0];
|
|
3018
3040
|
}
|
|
3019
|
-
var
|
|
3041
|
+
var gt, Ai = new RegExp("^".concat(jr.source, "*")), Bi = new RegExp("".concat(jr.source, "*$"));
|
|
3020
3042
|
function S(e, t) {
|
|
3021
3043
|
return { start: e, end: t };
|
|
3022
3044
|
}
|
|
3023
|
-
var
|
|
3045
|
+
var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Li = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Oi = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ri = Mi ? Number.isSafeInteger : function(e) {
|
|
3024
3046
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3025
|
-
},
|
|
3047
|
+
}, Pt = !0;
|
|
3026
3048
|
try {
|
|
3027
|
-
var
|
|
3028
|
-
|
|
3049
|
+
var Ui = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3050
|
+
Pt = ((gt = Ui.exec("a")) === null || gt === void 0 ? void 0 : gt[0]) === "a";
|
|
3029
3051
|
} catch (e) {
|
|
3030
|
-
|
|
3052
|
+
Pt = !1;
|
|
3031
3053
|
}
|
|
3032
|
-
var
|
|
3054
|
+
var ar = Pi ? (
|
|
3033
3055
|
// Native
|
|
3034
3056
|
function(t, r, n) {
|
|
3035
3057
|
return t.startsWith(r, n);
|
|
@@ -3039,31 +3061,31 @@ var ir = Hi ? (
|
|
|
3039
3061
|
function(t, r, n) {
|
|
3040
3062
|
return t.slice(n, n + r.length) === r;
|
|
3041
3063
|
}
|
|
3042
|
-
),
|
|
3064
|
+
), Ct = Ci ? String.fromCodePoint : (
|
|
3043
3065
|
// IE11
|
|
3044
3066
|
function() {
|
|
3045
3067
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3046
3068
|
t[r] = arguments[r];
|
|
3047
|
-
for (var n = "", i = t.length,
|
|
3048
|
-
if (
|
|
3049
|
-
throw RangeError(
|
|
3050
|
-
n +=
|
|
3069
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
3070
|
+
if (s = t[o++], s > 1114111)
|
|
3071
|
+
throw RangeError(s + " is not a valid code point");
|
|
3072
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
3051
3073
|
}
|
|
3052
3074
|
return n;
|
|
3053
3075
|
}
|
|
3054
|
-
),
|
|
3076
|
+
), ur = (
|
|
3055
3077
|
// native
|
|
3056
|
-
|
|
3078
|
+
Li ? Object.fromEntries : (
|
|
3057
3079
|
// Ponyfill
|
|
3058
3080
|
function(t) {
|
|
3059
3081
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3060
|
-
var
|
|
3061
|
-
r[
|
|
3082
|
+
var o = i[n], s = o[0], a = o[1];
|
|
3083
|
+
r[s] = a;
|
|
3062
3084
|
}
|
|
3063
3085
|
return r;
|
|
3064
3086
|
}
|
|
3065
3087
|
)
|
|
3066
|
-
),
|
|
3088
|
+
), Vr = Ii ? (
|
|
3067
3089
|
// Native
|
|
3068
3090
|
function(t, r) {
|
|
3069
3091
|
return t.codePointAt(r);
|
|
@@ -3073,11 +3095,11 @@ var ir = Hi ? (
|
|
|
3073
3095
|
function(t, r) {
|
|
3074
3096
|
var n = t.length;
|
|
3075
3097
|
if (!(r < 0 || r >= n)) {
|
|
3076
|
-
var i = t.charCodeAt(r),
|
|
3077
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
3098
|
+
var i = t.charCodeAt(r), o;
|
|
3099
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3078
3100
|
}
|
|
3079
3101
|
}
|
|
3080
|
-
),
|
|
3102
|
+
), Di = Oi ? (
|
|
3081
3103
|
// Native
|
|
3082
3104
|
function(t) {
|
|
3083
3105
|
return t.trimStart();
|
|
@@ -3085,9 +3107,9 @@ var ir = Hi ? (
|
|
|
3085
3107
|
) : (
|
|
3086
3108
|
// Ponyfill
|
|
3087
3109
|
function(t) {
|
|
3088
|
-
return t.replace(
|
|
3110
|
+
return t.replace(Ai, "");
|
|
3089
3111
|
}
|
|
3090
|
-
),
|
|
3112
|
+
), Gi = Ni ? (
|
|
3091
3113
|
// Native
|
|
3092
3114
|
function(t) {
|
|
3093
3115
|
return t.trimEnd();
|
|
@@ -3095,32 +3117,32 @@ var ir = Hi ? (
|
|
|
3095
3117
|
) : (
|
|
3096
3118
|
// Ponyfill
|
|
3097
3119
|
function(t) {
|
|
3098
|
-
return t.replace(
|
|
3120
|
+
return t.replace(Bi, "");
|
|
3099
3121
|
}
|
|
3100
3122
|
);
|
|
3101
|
-
function
|
|
3123
|
+
function Wr(e, t) {
|
|
3102
3124
|
return new RegExp(e, t);
|
|
3103
3125
|
}
|
|
3104
|
-
var
|
|
3105
|
-
if (
|
|
3106
|
-
var
|
|
3107
|
-
|
|
3126
|
+
var Lt;
|
|
3127
|
+
if (Pt) {
|
|
3128
|
+
var lr = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3129
|
+
Lt = function(t, r) {
|
|
3108
3130
|
var n;
|
|
3109
|
-
|
|
3110
|
-
var i =
|
|
3131
|
+
lr.lastIndex = r;
|
|
3132
|
+
var i = lr.exec(t);
|
|
3111
3133
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3112
3134
|
};
|
|
3113
3135
|
} else
|
|
3114
|
-
|
|
3136
|
+
Lt = function(t, r) {
|
|
3115
3137
|
for (var n = []; ; ) {
|
|
3116
|
-
var i =
|
|
3117
|
-
if (i === void 0 ||
|
|
3138
|
+
var i = Vr(t, r);
|
|
3139
|
+
if (i === void 0 || Xr(i) || Fi(i))
|
|
3118
3140
|
break;
|
|
3119
3141
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3120
3142
|
}
|
|
3121
|
-
return
|
|
3143
|
+
return Ct.apply(void 0, n);
|
|
3122
3144
|
};
|
|
3123
|
-
var
|
|
3145
|
+
var ji = (
|
|
3124
3146
|
/** @class */
|
|
3125
3147
|
function() {
|
|
3126
3148
|
function e(t, r) {
|
|
@@ -3132,35 +3154,35 @@ var Ui = (
|
|
|
3132
3154
|
return this.parseMessage(0, "", !1);
|
|
3133
3155
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3134
3156
|
for (var i = []; !this.isEOF(); ) {
|
|
3135
|
-
var
|
|
3136
|
-
if (
|
|
3137
|
-
var
|
|
3138
|
-
if (
|
|
3139
|
-
return
|
|
3140
|
-
i.push(
|
|
3157
|
+
var o = this.char();
|
|
3158
|
+
if (o === 123) {
|
|
3159
|
+
var s = this.parseArgument(t, n);
|
|
3160
|
+
if (s.err)
|
|
3161
|
+
return s;
|
|
3162
|
+
i.push(s.val);
|
|
3141
3163
|
} else {
|
|
3142
|
-
if (
|
|
3164
|
+
if (o === 125 && t > 0)
|
|
3143
3165
|
break;
|
|
3144
|
-
if (
|
|
3166
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3145
3167
|
var a = this.clonePosition();
|
|
3146
3168
|
this.bump(), i.push({
|
|
3147
3169
|
type: P.pound,
|
|
3148
3170
|
location: S(a, this.clonePosition())
|
|
3149
3171
|
});
|
|
3150
|
-
} else if (
|
|
3172
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3151
3173
|
if (n)
|
|
3152
3174
|
break;
|
|
3153
|
-
return this.error(
|
|
3154
|
-
} else if (
|
|
3155
|
-
var
|
|
3156
|
-
if (
|
|
3157
|
-
return
|
|
3158
|
-
i.push(
|
|
3175
|
+
return this.error(x.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
|
|
3176
|
+
} else if (o === 60 && !this.ignoreTag && It(this.peek() || 0)) {
|
|
3177
|
+
var s = this.parseTag(t, r);
|
|
3178
|
+
if (s.err)
|
|
3179
|
+
return s;
|
|
3180
|
+
i.push(s.val);
|
|
3159
3181
|
} else {
|
|
3160
|
-
var
|
|
3161
|
-
if (
|
|
3162
|
-
return
|
|
3163
|
-
i.push(
|
|
3182
|
+
var s = this.parseLiteral(t, r);
|
|
3183
|
+
if (s.err)
|
|
3184
|
+
return s;
|
|
3185
|
+
i.push(s.val);
|
|
3164
3186
|
}
|
|
3165
3187
|
}
|
|
3166
3188
|
}
|
|
@@ -3179,44 +3201,44 @@ var Ui = (
|
|
|
3179
3201
|
err: null
|
|
3180
3202
|
};
|
|
3181
3203
|
if (this.bumpIf(">")) {
|
|
3182
|
-
var
|
|
3183
|
-
if (
|
|
3184
|
-
return
|
|
3185
|
-
var
|
|
3204
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
3205
|
+
if (o.err)
|
|
3206
|
+
return o;
|
|
3207
|
+
var s = o.val, a = this.clonePosition();
|
|
3186
3208
|
if (this.bumpIf("</")) {
|
|
3187
|
-
if (this.isEOF() || !
|
|
3188
|
-
return this.error(
|
|
3209
|
+
if (this.isEOF() || !It(this.char()))
|
|
3210
|
+
return this.error(x.INVALID_TAG, S(a, this.clonePosition()));
|
|
3189
3211
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3190
|
-
return i !== u ? this.error(
|
|
3212
|
+
return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, S(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3191
3213
|
val: {
|
|
3192
3214
|
type: P.tag,
|
|
3193
3215
|
value: i,
|
|
3194
|
-
children:
|
|
3216
|
+
children: s,
|
|
3195
3217
|
location: S(n, this.clonePosition())
|
|
3196
3218
|
},
|
|
3197
3219
|
err: null
|
|
3198
|
-
} : this.error(
|
|
3220
|
+
} : this.error(x.INVALID_TAG, S(a, this.clonePosition())));
|
|
3199
3221
|
} else
|
|
3200
|
-
return this.error(
|
|
3222
|
+
return this.error(x.UNCLOSED_TAG, S(n, this.clonePosition()));
|
|
3201
3223
|
} else
|
|
3202
|
-
return this.error(
|
|
3224
|
+
return this.error(x.INVALID_TAG, S(n, this.clonePosition()));
|
|
3203
3225
|
}, e.prototype.parseTagName = function() {
|
|
3204
3226
|
var t = this.offset();
|
|
3205
|
-
for (this.bump(); !this.isEOF() &&
|
|
3227
|
+
for (this.bump(); !this.isEOF() && ki(this.char()); )
|
|
3206
3228
|
this.bump();
|
|
3207
3229
|
return this.message.slice(t, this.offset());
|
|
3208
3230
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3209
3231
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3210
|
-
var
|
|
3211
|
-
if (s) {
|
|
3212
|
-
i += s;
|
|
3213
|
-
continue;
|
|
3214
|
-
}
|
|
3215
|
-
var o = this.tryParseUnquoted(t, r);
|
|
3232
|
+
var o = this.tryParseQuote(r);
|
|
3216
3233
|
if (o) {
|
|
3217
3234
|
i += o;
|
|
3218
3235
|
continue;
|
|
3219
3236
|
}
|
|
3237
|
+
var s = this.tryParseUnquoted(t, r);
|
|
3238
|
+
if (s) {
|
|
3239
|
+
i += s;
|
|
3240
|
+
continue;
|
|
3241
|
+
}
|
|
3220
3242
|
var a = this.tryParseLeftAngleBracket();
|
|
3221
3243
|
if (a) {
|
|
3222
3244
|
i += a;
|
|
@@ -3231,7 +3253,7 @@ var Ui = (
|
|
|
3231
3253
|
};
|
|
3232
3254
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3233
3255
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3234
|
-
|
|
3256
|
+
!$i(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3235
3257
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3236
3258
|
if (this.isEOF() || this.char() !== 39)
|
|
3237
3259
|
return null;
|
|
@@ -3265,23 +3287,23 @@ var Ui = (
|
|
|
3265
3287
|
r.push(n);
|
|
3266
3288
|
this.bump();
|
|
3267
3289
|
}
|
|
3268
|
-
return
|
|
3290
|
+
return Ct.apply(void 0, r);
|
|
3269
3291
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3270
3292
|
if (this.isEOF())
|
|
3271
3293
|
return null;
|
|
3272
3294
|
var n = this.char();
|
|
3273
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3295
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ct(n));
|
|
3274
3296
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3275
3297
|
var n = this.clonePosition();
|
|
3276
3298
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3277
|
-
return this.error(
|
|
3299
|
+
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
|
|
3278
3300
|
if (this.char() === 125)
|
|
3279
|
-
return this.bump(), this.error(
|
|
3301
|
+
return this.bump(), this.error(x.EMPTY_ARGUMENT, S(n, this.clonePosition()));
|
|
3280
3302
|
var i = this.parseIdentifierIfPossible().value;
|
|
3281
3303
|
if (!i)
|
|
3282
|
-
return this.error(
|
|
3304
|
+
return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
|
|
3283
3305
|
if (this.bumpSpace(), this.isEOF())
|
|
3284
|
-
return this.error(
|
|
3306
|
+
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
|
|
3285
3307
|
switch (this.char()) {
|
|
3286
3308
|
case 125:
|
|
3287
3309
|
return this.bump(), {
|
|
@@ -3294,20 +3316,20 @@ var Ui = (
|
|
|
3294
3316
|
err: null
|
|
3295
3317
|
};
|
|
3296
3318
|
case 44:
|
|
3297
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3319
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3298
3320
|
default:
|
|
3299
|
-
return this.error(
|
|
3321
|
+
return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
|
|
3300
3322
|
}
|
|
3301
3323
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3302
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3324
|
+
var t = this.clonePosition(), r = this.offset(), n = Lt(this.message, r), i = r + n.length;
|
|
3303
3325
|
this.bumpTo(i);
|
|
3304
|
-
var
|
|
3305
|
-
return { value: n, location:
|
|
3326
|
+
var o = this.clonePosition(), s = S(t, o);
|
|
3327
|
+
return { value: n, location: s };
|
|
3306
3328
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3307
|
-
var
|
|
3329
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3308
3330
|
switch (a) {
|
|
3309
3331
|
case "":
|
|
3310
|
-
return this.error(
|
|
3332
|
+
return this.error(x.EXPECT_ARGUMENT_TYPE, S(s, l));
|
|
3311
3333
|
case "number":
|
|
3312
3334
|
case "date":
|
|
3313
3335
|
case "time": {
|
|
@@ -3318,9 +3340,9 @@ var Ui = (
|
|
|
3318
3340
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3319
3341
|
if (f.err)
|
|
3320
3342
|
return f;
|
|
3321
|
-
var p =
|
|
3343
|
+
var p = Gi(f.val);
|
|
3322
3344
|
if (p.length === 0)
|
|
3323
|
-
return this.error(
|
|
3345
|
+
return this.error(x.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
|
|
3324
3346
|
var b = S(h, this.clonePosition());
|
|
3325
3347
|
u = { style: p, styleLocation: b };
|
|
3326
3348
|
}
|
|
@@ -3328,8 +3350,8 @@ var Ui = (
|
|
|
3328
3350
|
if (g.err)
|
|
3329
3351
|
return g;
|
|
3330
3352
|
var y = S(i, this.clonePosition());
|
|
3331
|
-
if (u &&
|
|
3332
|
-
var v =
|
|
3353
|
+
if (u && ar(u == null ? void 0 : u.style, "::", 0)) {
|
|
3354
|
+
var v = Di(u.style.slice(2));
|
|
3333
3355
|
if (a === "number") {
|
|
3334
3356
|
var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3335
3357
|
return f.err ? f : {
|
|
@@ -3338,14 +3360,14 @@ var Ui = (
|
|
|
3338
3360
|
};
|
|
3339
3361
|
} else {
|
|
3340
3362
|
if (v.length === 0)
|
|
3341
|
-
return this.error(
|
|
3342
|
-
var
|
|
3343
|
-
this.locale && (
|
|
3363
|
+
return this.error(x.EXPECT_DATE_TIME_SKELETON, y);
|
|
3364
|
+
var E = v;
|
|
3365
|
+
this.locale && (E = wi(v, this.locale));
|
|
3344
3366
|
var p = {
|
|
3345
3367
|
type: Be.dateTime,
|
|
3346
|
-
pattern:
|
|
3368
|
+
pattern: E,
|
|
3347
3369
|
location: u.styleLocation,
|
|
3348
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3370
|
+
parsedOptions: this.shouldParseSkeletons ? yi(E) : {}
|
|
3349
3371
|
}, T = a === "date" ? P.date : P.time;
|
|
3350
3372
|
return {
|
|
3351
3373
|
val: { type: T, value: n, location: y, style: p },
|
|
@@ -3358,7 +3380,7 @@ var Ui = (
|
|
|
3358
3380
|
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
3359
3381
|
value: n,
|
|
3360
3382
|
location: y,
|
|
3361
|
-
style: (
|
|
3383
|
+
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3362
3384
|
},
|
|
3363
3385
|
err: null
|
|
3364
3386
|
};
|
|
@@ -3368,14 +3390,14 @@ var Ui = (
|
|
|
3368
3390
|
case "select": {
|
|
3369
3391
|
var B = this.clonePosition();
|
|
3370
3392
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3371
|
-
return this.error(
|
|
3393
|
+
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, S(B, w({}, B)));
|
|
3372
3394
|
this.bumpSpace();
|
|
3373
3395
|
var U = this.parseIdentifierIfPossible(), N = 0;
|
|
3374
3396
|
if (a !== "select" && U.value === "offset") {
|
|
3375
3397
|
if (!this.bumpIf(":"))
|
|
3376
|
-
return this.error(
|
|
3398
|
+
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
|
|
3377
3399
|
this.bumpSpace();
|
|
3378
|
-
var f = this.tryParseDecimalInteger(
|
|
3400
|
+
var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3379
3401
|
if (f.err)
|
|
3380
3402
|
return f;
|
|
3381
3403
|
this.bumpSpace(), U = this.parseIdentifierIfPossible(), N = f.val;
|
|
@@ -3391,7 +3413,7 @@ var Ui = (
|
|
|
3391
3413
|
val: {
|
|
3392
3414
|
type: P.select,
|
|
3393
3415
|
value: n,
|
|
3394
|
-
options:
|
|
3416
|
+
options: ur(F.val),
|
|
3395
3417
|
location: z
|
|
3396
3418
|
},
|
|
3397
3419
|
err: null
|
|
@@ -3399,7 +3421,7 @@ var Ui = (
|
|
|
3399
3421
|
val: {
|
|
3400
3422
|
type: P.plural,
|
|
3401
3423
|
value: n,
|
|
3402
|
-
options:
|
|
3424
|
+
options: ur(F.val),
|
|
3403
3425
|
offset: N,
|
|
3404
3426
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3405
3427
|
location: z
|
|
@@ -3408,10 +3430,10 @@ var Ui = (
|
|
|
3408
3430
|
};
|
|
3409
3431
|
}
|
|
3410
3432
|
default:
|
|
3411
|
-
return this.error(
|
|
3433
|
+
return this.error(x.INVALID_ARGUMENT_TYPE, S(s, l));
|
|
3412
3434
|
}
|
|
3413
3435
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3414
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3436
|
+
return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3415
3437
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3416
3438
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3417
3439
|
var n = this.char();
|
|
@@ -3420,7 +3442,7 @@ var Ui = (
|
|
|
3420
3442
|
this.bump();
|
|
3421
3443
|
var i = this.clonePosition();
|
|
3422
3444
|
if (!this.bumpUntil("'"))
|
|
3423
|
-
return this.error(
|
|
3445
|
+
return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
|
|
3424
3446
|
this.bump();
|
|
3425
3447
|
break;
|
|
3426
3448
|
}
|
|
@@ -3450,25 +3472,25 @@ var Ui = (
|
|
|
3450
3472
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3451
3473
|
var n = [];
|
|
3452
3474
|
try {
|
|
3453
|
-
n =
|
|
3475
|
+
n = _i(t);
|
|
3454
3476
|
} catch (i) {
|
|
3455
|
-
return this.error(
|
|
3477
|
+
return this.error(x.INVALID_NUMBER_SKELETON, r);
|
|
3456
3478
|
}
|
|
3457
3479
|
return {
|
|
3458
3480
|
val: {
|
|
3459
3481
|
type: Be.number,
|
|
3460
3482
|
tokens: n,
|
|
3461
3483
|
location: r,
|
|
3462
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3484
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
|
|
3463
3485
|
},
|
|
3464
3486
|
err: null
|
|
3465
3487
|
};
|
|
3466
3488
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3467
|
-
for (var
|
|
3489
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3468
3490
|
if (u.length === 0) {
|
|
3469
3491
|
var f = this.clonePosition();
|
|
3470
3492
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3471
|
-
var p = this.tryParseDecimalInteger(
|
|
3493
|
+
var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3472
3494
|
if (p.err)
|
|
3473
3495
|
return p;
|
|
3474
3496
|
h = S(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
@@ -3476,11 +3498,11 @@ var Ui = (
|
|
|
3476
3498
|
break;
|
|
3477
3499
|
}
|
|
3478
3500
|
if (l.has(u))
|
|
3479
|
-
return this.error(r === "select" ?
|
|
3480
|
-
u === "other" && (
|
|
3501
|
+
return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3502
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3481
3503
|
var b = this.clonePosition();
|
|
3482
3504
|
if (!this.bumpIf("{"))
|
|
3483
|
-
return this.error(r === "select" ?
|
|
3505
|
+
return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
|
|
3484
3506
|
var g = this.parseMessage(t + 1, r, n);
|
|
3485
3507
|
if (g.err)
|
|
3486
3508
|
return g;
|
|
@@ -3493,21 +3515,21 @@ var Ui = (
|
|
|
3493
3515
|
value: g.val,
|
|
3494
3516
|
location: S(b, this.clonePosition())
|
|
3495
3517
|
}
|
|
3496
|
-
]), l.add(u), this.bumpSpace(),
|
|
3518
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3497
3519
|
}
|
|
3498
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3520
|
+
return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3499
3521
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3500
3522
|
var n = 1, i = this.clonePosition();
|
|
3501
3523
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3502
|
-
for (var
|
|
3524
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3503
3525
|
var a = this.char();
|
|
3504
3526
|
if (a >= 48 && a <= 57)
|
|
3505
|
-
|
|
3527
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
|
3506
3528
|
else
|
|
3507
3529
|
break;
|
|
3508
3530
|
}
|
|
3509
3531
|
var l = S(i, this.clonePosition());
|
|
3510
|
-
return
|
|
3532
|
+
return o ? (s *= n, Ri(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3511
3533
|
}, e.prototype.offset = function() {
|
|
3512
3534
|
return this.position.offset;
|
|
3513
3535
|
}, e.prototype.isEOF = function() {
|
|
@@ -3522,7 +3544,7 @@ var Ui = (
|
|
|
3522
3544
|
var t = this.position.offset;
|
|
3523
3545
|
if (t >= this.message.length)
|
|
3524
3546
|
throw Error("out of bound");
|
|
3525
|
-
var r =
|
|
3547
|
+
var r = Vr(this.message, t);
|
|
3526
3548
|
if (r === void 0)
|
|
3527
3549
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3528
3550
|
return r;
|
|
@@ -3541,7 +3563,7 @@ var Ui = (
|
|
|
3541
3563
|
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);
|
|
3542
3564
|
}
|
|
3543
3565
|
}, e.prototype.bumpIf = function(t) {
|
|
3544
|
-
if (
|
|
3566
|
+
if (ar(this.message, t, this.offset())) {
|
|
3545
3567
|
for (var r = 0; r < t.length; r++)
|
|
3546
3568
|
this.bump();
|
|
3547
3569
|
return !0;
|
|
@@ -3563,7 +3585,7 @@ var Ui = (
|
|
|
3563
3585
|
break;
|
|
3564
3586
|
}
|
|
3565
3587
|
}, e.prototype.bumpSpace = function() {
|
|
3566
|
-
for (; !this.isEOF() &&
|
|
3588
|
+
for (; !this.isEOF() && Xr(this.char()); )
|
|
3567
3589
|
this.bump();
|
|
3568
3590
|
}, e.prototype.peek = function() {
|
|
3569
3591
|
if (this.isEOF())
|
|
@@ -3573,38 +3595,38 @@ var Ui = (
|
|
|
3573
3595
|
}, e;
|
|
3574
3596
|
}()
|
|
3575
3597
|
);
|
|
3576
|
-
function
|
|
3598
|
+
function It(e) {
|
|
3577
3599
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3578
3600
|
}
|
|
3579
|
-
function
|
|
3580
|
-
return
|
|
3601
|
+
function $i(e) {
|
|
3602
|
+
return It(e) || e === 47;
|
|
3581
3603
|
}
|
|
3582
|
-
function
|
|
3604
|
+
function ki(e) {
|
|
3583
3605
|
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;
|
|
3584
3606
|
}
|
|
3585
|
-
function
|
|
3607
|
+
function Xr(e) {
|
|
3586
3608
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3587
3609
|
}
|
|
3588
|
-
function
|
|
3610
|
+
function Fi(e) {
|
|
3589
3611
|
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;
|
|
3590
3612
|
}
|
|
3591
|
-
function
|
|
3613
|
+
function Ot(e) {
|
|
3592
3614
|
e.forEach(function(t) {
|
|
3593
|
-
if (delete t.location,
|
|
3615
|
+
if (delete t.location, Rr(t) || Ur(t))
|
|
3594
3616
|
for (var r in t.options)
|
|
3595
|
-
delete t.options[r].location,
|
|
3617
|
+
delete t.options[r].location, Ot(t.options[r].value);
|
|
3596
3618
|
else
|
|
3597
|
-
|
|
3619
|
+
Or(t) && Gr(t.style) || (Nr(t) || Mr(t)) && Bt(t.style) ? delete t.style.location : Dr(t) && Ot(t.children);
|
|
3598
3620
|
});
|
|
3599
3621
|
}
|
|
3600
|
-
function
|
|
3622
|
+
function Vi(e, t) {
|
|
3601
3623
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3602
|
-
var r = new
|
|
3624
|
+
var r = new ji(e, t).parse();
|
|
3603
3625
|
if (r.err) {
|
|
3604
|
-
var n = SyntaxError(
|
|
3626
|
+
var n = SyntaxError(x[r.err.kind]);
|
|
3605
3627
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3606
3628
|
}
|
|
3607
|
-
return t != null && t.captureLocation ||
|
|
3629
|
+
return t != null && t.captureLocation || Ot(r.val), r.val;
|
|
3608
3630
|
}
|
|
3609
3631
|
var Pe;
|
|
3610
3632
|
(function(e) {
|
|
@@ -3615,23 +3637,23 @@ var at = (
|
|
|
3615
3637
|
function(e) {
|
|
3616
3638
|
ne(t, e);
|
|
3617
3639
|
function t(r, n, i) {
|
|
3618
|
-
var
|
|
3619
|
-
return
|
|
3640
|
+
var o = e.call(this, r) || this;
|
|
3641
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3620
3642
|
}
|
|
3621
3643
|
return t.prototype.toString = function() {
|
|
3622
3644
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3623
3645
|
}, t;
|
|
3624
3646
|
}(Error)
|
|
3625
|
-
),
|
|
3647
|
+
), hr = (
|
|
3626
3648
|
/** @class */
|
|
3627
3649
|
function(e) {
|
|
3628
3650
|
ne(t, e);
|
|
3629
|
-
function t(r, n, i,
|
|
3630
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Pe.INVALID_VALUE,
|
|
3651
|
+
function t(r, n, i, o) {
|
|
3652
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Pe.INVALID_VALUE, o) || this;
|
|
3631
3653
|
}
|
|
3632
3654
|
return t;
|
|
3633
3655
|
}(at)
|
|
3634
|
-
),
|
|
3656
|
+
), Wi = (
|
|
3635
3657
|
/** @class */
|
|
3636
3658
|
function(e) {
|
|
3637
3659
|
ne(t, e);
|
|
@@ -3640,7 +3662,7 @@ var at = (
|
|
|
3640
3662
|
}
|
|
3641
3663
|
return t;
|
|
3642
3664
|
}(at)
|
|
3643
|
-
),
|
|
3665
|
+
), Xi = (
|
|
3644
3666
|
/** @class */
|
|
3645
3667
|
function(e) {
|
|
3646
3668
|
ne(t, e);
|
|
@@ -3653,17 +3675,17 @@ var at = (
|
|
|
3653
3675
|
(function(e) {
|
|
3654
3676
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3655
3677
|
})(G || (G = {}));
|
|
3656
|
-
function
|
|
3678
|
+
function zi(e) {
|
|
3657
3679
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3658
3680
|
var n = t[t.length - 1];
|
|
3659
3681
|
return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
|
|
3660
3682
|
}, []);
|
|
3661
3683
|
}
|
|
3662
|
-
function
|
|
3684
|
+
function Ji(e) {
|
|
3663
3685
|
return typeof e == "function";
|
|
3664
3686
|
}
|
|
3665
|
-
function tt(e, t, r, n, i,
|
|
3666
|
-
if (e.length === 1 &&
|
|
3687
|
+
function tt(e, t, r, n, i, o, s) {
|
|
3688
|
+
if (e.length === 1 && nr(e[0]))
|
|
3667
3689
|
return [
|
|
3668
3690
|
{
|
|
3669
3691
|
type: G.literal,
|
|
@@ -3672,60 +3694,60 @@ function tt(e, t, r, n, i, s, o) {
|
|
|
3672
3694
|
];
|
|
3673
3695
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3674
3696
|
var h = u[l];
|
|
3675
|
-
if (
|
|
3697
|
+
if (nr(h)) {
|
|
3676
3698
|
a.push({
|
|
3677
3699
|
type: G.literal,
|
|
3678
3700
|
value: h.value
|
|
3679
3701
|
});
|
|
3680
3702
|
continue;
|
|
3681
3703
|
}
|
|
3682
|
-
if (
|
|
3683
|
-
typeof
|
|
3704
|
+
if (bi(h)) {
|
|
3705
|
+
typeof o == "number" && a.push({
|
|
3684
3706
|
type: G.literal,
|
|
3685
|
-
value: r.getNumberFormat(t).format(
|
|
3707
|
+
value: r.getNumberFormat(t).format(o)
|
|
3686
3708
|
});
|
|
3687
3709
|
continue;
|
|
3688
3710
|
}
|
|
3689
3711
|
var f = h.value;
|
|
3690
3712
|
if (!(i && f in i))
|
|
3691
|
-
throw new
|
|
3713
|
+
throw new Xi(f, s);
|
|
3692
3714
|
var p = i[f];
|
|
3693
|
-
if (
|
|
3715
|
+
if (mi(h)) {
|
|
3694
3716
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3695
3717
|
type: typeof p == "string" ? G.literal : G.object,
|
|
3696
3718
|
value: p
|
|
3697
3719
|
});
|
|
3698
3720
|
continue;
|
|
3699
3721
|
}
|
|
3700
|
-
if (
|
|
3701
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
|
3722
|
+
if (Nr(h)) {
|
|
3723
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Bt(h.style) ? h.style.parsedOptions : void 0;
|
|
3702
3724
|
a.push({
|
|
3703
3725
|
type: G.literal,
|
|
3704
3726
|
value: r.getDateTimeFormat(t, b).format(p)
|
|
3705
3727
|
});
|
|
3706
3728
|
continue;
|
|
3707
3729
|
}
|
|
3708
|
-
if (
|
|
3709
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
|
3730
|
+
if (Mr(h)) {
|
|
3731
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Bt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3710
3732
|
a.push({
|
|
3711
3733
|
type: G.literal,
|
|
3712
3734
|
value: r.getDateTimeFormat(t, b).format(p)
|
|
3713
3735
|
});
|
|
3714
3736
|
continue;
|
|
3715
3737
|
}
|
|
3716
|
-
if (
|
|
3717
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3738
|
+
if (Or(h)) {
|
|
3739
|
+
var b = typeof h.style == "string" ? n.number[h.style] : Gr(h.style) ? h.style.parsedOptions : void 0;
|
|
3718
3740
|
b && b.scale && (p = p * (b.scale || 1)), a.push({
|
|
3719
3741
|
type: G.literal,
|
|
3720
3742
|
value: r.getNumberFormat(t, b).format(p)
|
|
3721
3743
|
});
|
|
3722
3744
|
continue;
|
|
3723
3745
|
}
|
|
3724
|
-
if (
|
|
3746
|
+
if (Dr(h)) {
|
|
3725
3747
|
var g = h.children, y = h.value, v = i[y];
|
|
3726
|
-
if (!
|
|
3727
|
-
throw new
|
|
3728
|
-
var
|
|
3748
|
+
if (!Ji(v))
|
|
3749
|
+
throw new Wi(y, "function", s);
|
|
3750
|
+
var E = tt(g, t, r, n, i, o), T = v(E.map(function(N) {
|
|
3729
3751
|
return N.value;
|
|
3730
3752
|
}));
|
|
3731
3753
|
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(N) {
|
|
@@ -3735,42 +3757,42 @@ function tt(e, t, r, n, i, s, o) {
|
|
|
3735
3757
|
};
|
|
3736
3758
|
}));
|
|
3737
3759
|
}
|
|
3738
|
-
if (
|
|
3760
|
+
if (Rr(h)) {
|
|
3739
3761
|
var B = h.options[p] || h.options.other;
|
|
3740
3762
|
if (!B)
|
|
3741
|
-
throw new
|
|
3763
|
+
throw new hr(h.value, p, Object.keys(h.options), s);
|
|
3742
3764
|
a.push.apply(a, tt(B.value, t, r, n, i));
|
|
3743
3765
|
continue;
|
|
3744
3766
|
}
|
|
3745
|
-
if (
|
|
3767
|
+
if (Ur(h)) {
|
|
3746
3768
|
var B = h.options["=".concat(p)];
|
|
3747
3769
|
if (!B) {
|
|
3748
3770
|
if (!Intl.PluralRules)
|
|
3749
3771
|
throw new at(`Intl.PluralRules is not available in this environment.
|
|
3750
3772
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3751
|
-
`, Pe.MISSING_INTL_API,
|
|
3773
|
+
`, Pe.MISSING_INTL_API, s);
|
|
3752
3774
|
var U = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
|
|
3753
3775
|
B = h.options[U] || h.options.other;
|
|
3754
3776
|
}
|
|
3755
3777
|
if (!B)
|
|
3756
|
-
throw new
|
|
3778
|
+
throw new hr(h.value, p, Object.keys(h.options), s);
|
|
3757
3779
|
a.push.apply(a, tt(B.value, t, r, n, i, p - (h.offset || 0)));
|
|
3758
3780
|
continue;
|
|
3759
3781
|
}
|
|
3760
3782
|
}
|
|
3761
|
-
return
|
|
3783
|
+
return zi(a);
|
|
3762
3784
|
}
|
|
3763
|
-
function
|
|
3785
|
+
function Zi(e, t) {
|
|
3764
3786
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3765
3787
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3766
3788
|
}, {})) : e;
|
|
3767
3789
|
}
|
|
3768
|
-
function
|
|
3790
|
+
function Qi(e, t) {
|
|
3769
3791
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3770
|
-
return r[n] =
|
|
3792
|
+
return r[n] = Zi(e[n], t[n]), r;
|
|
3771
3793
|
}, w({}, e)) : e;
|
|
3772
3794
|
}
|
|
3773
|
-
function
|
|
3795
|
+
function yt(e) {
|
|
3774
3796
|
return {
|
|
3775
3797
|
create: function() {
|
|
3776
3798
|
return {
|
|
@@ -3784,50 +3806,50 @@ function gt(e) {
|
|
|
3784
3806
|
}
|
|
3785
3807
|
};
|
|
3786
3808
|
}
|
|
3787
|
-
function
|
|
3809
|
+
function Yi(e) {
|
|
3788
3810
|
return e === void 0 && (e = {
|
|
3789
3811
|
number: {},
|
|
3790
3812
|
dateTime: {},
|
|
3791
3813
|
pluralRules: {}
|
|
3792
3814
|
}), {
|
|
3793
|
-
getNumberFormat:
|
|
3815
|
+
getNumberFormat: mt(function() {
|
|
3794
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3795
3817
|
r[n] = arguments[n];
|
|
3796
3818
|
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3797
3819
|
}, {
|
|
3798
|
-
cache:
|
|
3799
|
-
strategy:
|
|
3820
|
+
cache: yt(e.number),
|
|
3821
|
+
strategy: bt.variadic
|
|
3800
3822
|
}),
|
|
3801
|
-
getDateTimeFormat:
|
|
3823
|
+
getDateTimeFormat: mt(function() {
|
|
3802
3824
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3803
3825
|
r[n] = arguments[n];
|
|
3804
3826
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3805
3827
|
}, {
|
|
3806
|
-
cache:
|
|
3807
|
-
strategy:
|
|
3828
|
+
cache: yt(e.dateTime),
|
|
3829
|
+
strategy: bt.variadic
|
|
3808
3830
|
}),
|
|
3809
|
-
getPluralRules:
|
|
3831
|
+
getPluralRules: mt(function() {
|
|
3810
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3811
3833
|
r[n] = arguments[n];
|
|
3812
3834
|
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3813
3835
|
}, {
|
|
3814
|
-
cache:
|
|
3815
|
-
strategy:
|
|
3836
|
+
cache: yt(e.pluralRules),
|
|
3837
|
+
strategy: bt.variadic
|
|
3816
3838
|
})
|
|
3817
3839
|
};
|
|
3818
3840
|
}
|
|
3819
|
-
var
|
|
3841
|
+
var qi = (
|
|
3820
3842
|
/** @class */
|
|
3821
3843
|
function() {
|
|
3822
3844
|
function e(t, r, n, i) {
|
|
3823
3845
|
r === void 0 && (r = e.defaultLocale);
|
|
3824
|
-
var
|
|
3846
|
+
var o = this;
|
|
3825
3847
|
if (this.formatterCache = {
|
|
3826
3848
|
number: {},
|
|
3827
3849
|
dateTime: {},
|
|
3828
3850
|
pluralRules: {}
|
|
3829
3851
|
}, this.format = function(l) {
|
|
3830
|
-
var u =
|
|
3852
|
+
var u = o.formatToParts(l);
|
|
3831
3853
|
if (u.length === 1)
|
|
3832
3854
|
return u[0].value;
|
|
3833
3855
|
var h = u.reduce(function(f, p) {
|
|
@@ -3835,26 +3857,26 @@ var Zi = (
|
|
|
3835
3857
|
}, []);
|
|
3836
3858
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3837
3859
|
}, this.formatToParts = function(l) {
|
|
3838
|
-
return tt(
|
|
3860
|
+
return tt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3839
3861
|
}, this.resolvedOptions = function() {
|
|
3840
3862
|
var l;
|
|
3841
3863
|
return {
|
|
3842
|
-
locale: ((l =
|
|
3864
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3843
3865
|
};
|
|
3844
3866
|
}, this.getAst = function() {
|
|
3845
|
-
return
|
|
3867
|
+
return o.ast;
|
|
3846
3868
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3847
3869
|
if (this.message = t, !e.__parse)
|
|
3848
3870
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3849
|
-
var
|
|
3850
|
-
|
|
3851
|
-
var a =
|
|
3871
|
+
var s = i || {};
|
|
3872
|
+
s.formatters;
|
|
3873
|
+
var a = Ln(s, ["formatters"]);
|
|
3852
3874
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3853
3875
|
} else
|
|
3854
3876
|
this.ast = t;
|
|
3855
3877
|
if (!Array.isArray(this.ast))
|
|
3856
3878
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3857
|
-
this.formats =
|
|
3879
|
+
this.formats = Qi(e.formats, n), this.formatters = i && i.formatters || Yi(this.formatterCache);
|
|
3858
3880
|
}
|
|
3859
3881
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3860
3882
|
get: function() {
|
|
@@ -3867,7 +3889,7 @@ var Zi = (
|
|
|
3867
3889
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3868
3890
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3869
3891
|
}
|
|
3870
|
-
}, e.__parse =
|
|
3892
|
+
}, e.__parse = Vi, e.formats = {
|
|
3871
3893
|
number: {
|
|
3872
3894
|
integer: {
|
|
3873
3895
|
maximumFractionDigits: 0
|
|
@@ -3928,7 +3950,7 @@ var Zi = (
|
|
|
3928
3950
|
}, e;
|
|
3929
3951
|
}()
|
|
3930
3952
|
);
|
|
3931
|
-
function
|
|
3953
|
+
function Ki(e, t) {
|
|
3932
3954
|
if (t == null)
|
|
3933
3955
|
return;
|
|
3934
3956
|
if (t in e)
|
|
@@ -3938,9 +3960,9 @@ function Qi(e, t) {
|
|
|
3938
3960
|
for (let i = 0; i < r.length; i++)
|
|
3939
3961
|
if (typeof n == "object") {
|
|
3940
3962
|
if (i > 0) {
|
|
3941
|
-
const
|
|
3942
|
-
if (
|
|
3943
|
-
n = n[
|
|
3963
|
+
const o = r.slice(i, r.length).join(".");
|
|
3964
|
+
if (o in n) {
|
|
3965
|
+
n = n[o];
|
|
3944
3966
|
break;
|
|
3945
3967
|
}
|
|
3946
3968
|
}
|
|
@@ -3949,92 +3971,92 @@ function Qi(e, t) {
|
|
|
3949
3971
|
n = void 0;
|
|
3950
3972
|
return n;
|
|
3951
3973
|
}
|
|
3952
|
-
const ue = {},
|
|
3974
|
+
const ue = {}, eo = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), zr = (e, t) => {
|
|
3953
3975
|
if (t == null)
|
|
3954
3976
|
return;
|
|
3955
3977
|
if (t in ue && e in ue[t])
|
|
3956
3978
|
return ue[t][e];
|
|
3957
3979
|
const r = ut(t);
|
|
3958
3980
|
for (let n = 0; n < r.length; n++) {
|
|
3959
|
-
const i = r[n],
|
|
3960
|
-
if (
|
|
3961
|
-
return
|
|
3981
|
+
const i = r[n], o = ro(i, e);
|
|
3982
|
+
if (o)
|
|
3983
|
+
return eo(e, t, o);
|
|
3962
3984
|
}
|
|
3963
3985
|
};
|
|
3964
|
-
let
|
|
3965
|
-
const We =
|
|
3966
|
-
function
|
|
3967
|
-
return
|
|
3986
|
+
let Gt;
|
|
3987
|
+
const We = st({});
|
|
3988
|
+
function to(e) {
|
|
3989
|
+
return Gt[e] || null;
|
|
3968
3990
|
}
|
|
3969
|
-
function
|
|
3970
|
-
return e in
|
|
3991
|
+
function Jr(e) {
|
|
3992
|
+
return e in Gt;
|
|
3971
3993
|
}
|
|
3972
|
-
function
|
|
3973
|
-
if (!
|
|
3994
|
+
function ro(e, t) {
|
|
3995
|
+
if (!Jr(e))
|
|
3974
3996
|
return null;
|
|
3975
|
-
const r =
|
|
3976
|
-
return
|
|
3997
|
+
const r = to(e);
|
|
3998
|
+
return Ki(r, t);
|
|
3977
3999
|
}
|
|
3978
|
-
function
|
|
4000
|
+
function no(e) {
|
|
3979
4001
|
if (e == null)
|
|
3980
4002
|
return;
|
|
3981
4003
|
const t = ut(e);
|
|
3982
4004
|
for (let r = 0; r < t.length; r++) {
|
|
3983
4005
|
const n = t[r];
|
|
3984
|
-
if (
|
|
4006
|
+
if (Jr(n))
|
|
3985
4007
|
return n;
|
|
3986
4008
|
}
|
|
3987
4009
|
}
|
|
3988
|
-
function
|
|
3989
|
-
delete ue[e], We.update((r) => (r[e] =
|
|
4010
|
+
function Zr(e, ...t) {
|
|
4011
|
+
delete ue[e], We.update((r) => (r[e] = ui.all([r[e] || {}, ...t]), r));
|
|
3990
4012
|
}
|
|
3991
|
-
|
|
4013
|
+
Le(
|
|
3992
4014
|
[We],
|
|
3993
4015
|
([e]) => Object.keys(e)
|
|
3994
4016
|
);
|
|
3995
|
-
We.subscribe((e) =>
|
|
4017
|
+
We.subscribe((e) => Gt = e);
|
|
3996
4018
|
const rt = {};
|
|
3997
|
-
function
|
|
4019
|
+
function io(e, t) {
|
|
3998
4020
|
rt[e].delete(t), rt[e].size === 0 && delete rt[e];
|
|
3999
4021
|
}
|
|
4000
|
-
function
|
|
4022
|
+
function Qr(e) {
|
|
4001
4023
|
return rt[e];
|
|
4002
4024
|
}
|
|
4003
|
-
function
|
|
4025
|
+
function oo(e) {
|
|
4004
4026
|
return ut(e).map((t) => {
|
|
4005
|
-
const r =
|
|
4027
|
+
const r = Qr(t);
|
|
4006
4028
|
return [t, r ? [...r] : []];
|
|
4007
4029
|
}).filter(([, t]) => t.length > 0);
|
|
4008
4030
|
}
|
|
4009
|
-
function
|
|
4031
|
+
function Nt(e) {
|
|
4010
4032
|
return e == null ? !1 : ut(e).some(
|
|
4011
4033
|
(t) => {
|
|
4012
4034
|
var r;
|
|
4013
|
-
return (r =
|
|
4035
|
+
return (r = Qr(t)) == null ? void 0 : r.size;
|
|
4014
4036
|
}
|
|
4015
4037
|
);
|
|
4016
4038
|
}
|
|
4017
|
-
function
|
|
4039
|
+
function so(e, t) {
|
|
4018
4040
|
return Promise.all(
|
|
4019
|
-
t.map((n) => (
|
|
4020
|
-
).then((n) =>
|
|
4041
|
+
t.map((n) => (io(e, n), n().then((i) => i.default || i)))
|
|
4042
|
+
).then((n) => Zr(e, ...n));
|
|
4021
4043
|
}
|
|
4022
4044
|
const Ge = {};
|
|
4023
|
-
function
|
|
4024
|
-
if (!
|
|
4045
|
+
function Yr(e) {
|
|
4046
|
+
if (!Nt(e))
|
|
4025
4047
|
return e in Ge ? Ge[e] : Promise.resolve();
|
|
4026
|
-
const t =
|
|
4048
|
+
const t = oo(e);
|
|
4027
4049
|
return Ge[e] = Promise.all(
|
|
4028
4050
|
t.map(
|
|
4029
|
-
([r, n]) =>
|
|
4051
|
+
([r, n]) => so(r, n)
|
|
4030
4052
|
)
|
|
4031
4053
|
).then(() => {
|
|
4032
|
-
if (
|
|
4033
|
-
return
|
|
4054
|
+
if (Nt(e))
|
|
4055
|
+
return Yr(e);
|
|
4034
4056
|
delete Ge[e];
|
|
4035
4057
|
}), Ge[e];
|
|
4036
4058
|
}
|
|
4037
|
-
const
|
|
4059
|
+
const ao = {
|
|
4038
4060
|
number: {
|
|
4039
4061
|
scientific: { notation: "scientific" },
|
|
4040
4062
|
engineering: { notation: "engineering" },
|
|
@@ -4063,57 +4085,57 @@ const is = {
|
|
|
4063
4085
|
timeZoneName: "short"
|
|
4064
4086
|
}
|
|
4065
4087
|
}
|
|
4066
|
-
},
|
|
4088
|
+
}, uo = {
|
|
4067
4089
|
fallbackLocale: null,
|
|
4068
4090
|
loadingDelay: 200,
|
|
4069
|
-
formats:
|
|
4091
|
+
formats: ao,
|
|
4070
4092
|
warnOnMissingMessages: !0,
|
|
4071
4093
|
handleMissingMessage: void 0,
|
|
4072
4094
|
ignoreTag: !0
|
|
4073
|
-
},
|
|
4095
|
+
}, lo = uo;
|
|
4074
4096
|
function Ce() {
|
|
4075
|
-
return
|
|
4097
|
+
return lo;
|
|
4076
4098
|
}
|
|
4077
|
-
const
|
|
4078
|
-
var
|
|
4099
|
+
const vt = st(!1);
|
|
4100
|
+
var ho = Object.defineProperty, co = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, cr = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
|
|
4079
4101
|
for (var r in t || (t = {}))
|
|
4080
|
-
|
|
4081
|
-
if (
|
|
4082
|
-
for (var r of
|
|
4083
|
-
|
|
4102
|
+
po.call(t, r) && fr(e, r, t[r]);
|
|
4103
|
+
if (cr)
|
|
4104
|
+
for (var r of cr(t))
|
|
4105
|
+
mo.call(t, r) && fr(e, r, t[r]);
|
|
4084
4106
|
return e;
|
|
4085
|
-
},
|
|
4086
|
-
let
|
|
4087
|
-
const nt =
|
|
4088
|
-
function
|
|
4107
|
+
}, go = (e, t) => co(e, fo(t));
|
|
4108
|
+
let Mt;
|
|
4109
|
+
const nt = st(null);
|
|
4110
|
+
function pr(e) {
|
|
4089
4111
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4090
4112
|
}
|
|
4091
4113
|
function ut(e, t = Ce().fallbackLocale) {
|
|
4092
|
-
const r =
|
|
4093
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4114
|
+
const r = pr(e);
|
|
4115
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
|
|
4094
4116
|
}
|
|
4095
4117
|
function pe() {
|
|
4096
|
-
return
|
|
4118
|
+
return Mt != null ? Mt : void 0;
|
|
4097
4119
|
}
|
|
4098
4120
|
nt.subscribe((e) => {
|
|
4099
|
-
|
|
4121
|
+
Mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4100
4122
|
});
|
|
4101
|
-
const
|
|
4102
|
-
if (e &&
|
|
4123
|
+
const yo = (e) => {
|
|
4124
|
+
if (e && no(e) && Nt(e)) {
|
|
4103
4125
|
const { loadingDelay: t } = Ce();
|
|
4104
4126
|
let r;
|
|
4105
4127
|
return typeof window != "undefined" && pe() != null && t ? r = window.setTimeout(
|
|
4106
|
-
() =>
|
|
4128
|
+
() => vt.set(!0),
|
|
4107
4129
|
t
|
|
4108
|
-
) :
|
|
4130
|
+
) : vt.set(!0), Yr(e).then(() => {
|
|
4109
4131
|
nt.set(e);
|
|
4110
4132
|
}).finally(() => {
|
|
4111
|
-
clearTimeout(r),
|
|
4133
|
+
clearTimeout(r), vt.set(!1);
|
|
4112
4134
|
});
|
|
4113
4135
|
}
|
|
4114
4136
|
return nt.set(e);
|
|
4115
|
-
},
|
|
4116
|
-
set:
|
|
4137
|
+
}, Ie = go(bo({}, nt), {
|
|
4138
|
+
set: yo
|
|
4117
4139
|
}), lt = (e) => {
|
|
4118
4140
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4119
4141
|
return (n) => {
|
|
@@ -4121,20 +4143,20 @@ const ds = (e) => {
|
|
|
4121
4143
|
return i in t ? t[i] : t[i] = e(n);
|
|
4122
4144
|
};
|
|
4123
4145
|
};
|
|
4124
|
-
var
|
|
4146
|
+
var vo = Object.defineProperty, it = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t) => {
|
|
4125
4147
|
for (var r in t || (t = {}))
|
|
4126
|
-
|
|
4148
|
+
qr.call(t, r) && dr(e, r, t[r]);
|
|
4127
4149
|
if (it)
|
|
4128
4150
|
for (var r of it(t))
|
|
4129
|
-
|
|
4151
|
+
Kr.call(t, r) && dr(e, r, t[r]);
|
|
4130
4152
|
return e;
|
|
4131
|
-
},
|
|
4153
|
+
}, Oe = (e, t) => {
|
|
4132
4154
|
var r = {};
|
|
4133
4155
|
for (var n in e)
|
|
4134
|
-
|
|
4156
|
+
qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4135
4157
|
if (e != null && it)
|
|
4136
4158
|
for (var n of it(e))
|
|
4137
|
-
t.indexOf(n) < 0 &&
|
|
4159
|
+
t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
|
|
4138
4160
|
return r;
|
|
4139
4161
|
};
|
|
4140
4162
|
const Fe = (e, t) => {
|
|
@@ -4142,71 +4164,71 @@ const Fe = (e, t) => {
|
|
|
4142
4164
|
if (e in r && t in r[e])
|
|
4143
4165
|
return r[e][t];
|
|
4144
4166
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4145
|
-
},
|
|
4167
|
+
}, _o = lt(
|
|
4146
4168
|
(e) => {
|
|
4147
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4169
|
+
var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
|
|
4148
4170
|
if (r == null)
|
|
4149
4171
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4150
4172
|
return n && (i = Fe("number", n)), new Intl.NumberFormat(r, i);
|
|
4151
4173
|
}
|
|
4152
|
-
),
|
|
4174
|
+
), Eo = lt(
|
|
4153
4175
|
(e) => {
|
|
4154
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4176
|
+
var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
|
|
4155
4177
|
if (r == null)
|
|
4156
4178
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4157
4179
|
return n ? i = Fe("date", n) : Object.keys(i).length === 0 && (i = Fe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4158
4180
|
}
|
|
4159
|
-
),
|
|
4181
|
+
), xo = lt(
|
|
4160
4182
|
(e) => {
|
|
4161
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4183
|
+
var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
|
|
4162
4184
|
if (r == null)
|
|
4163
4185
|
throw new Error(
|
|
4164
4186
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4165
4187
|
);
|
|
4166
4188
|
return n ? i = Fe("time", n) : Object.keys(i).length === 0 && (i = Fe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4167
4189
|
}
|
|
4168
|
-
),
|
|
4190
|
+
), So = (e = {}) => {
|
|
4169
4191
|
var t = e, {
|
|
4170
4192
|
locale: r = pe()
|
|
4171
|
-
} = t, n =
|
|
4193
|
+
} = t, n = Oe(t, [
|
|
4172
4194
|
"locale"
|
|
4173
4195
|
]);
|
|
4174
|
-
return
|
|
4175
|
-
},
|
|
4196
|
+
return _o(jt({ locale: r }, n));
|
|
4197
|
+
}, To = (e = {}) => {
|
|
4176
4198
|
var t = e, {
|
|
4177
4199
|
locale: r = pe()
|
|
4178
|
-
} = t, n =
|
|
4200
|
+
} = t, n = Oe(t, [
|
|
4179
4201
|
"locale"
|
|
4180
4202
|
]);
|
|
4181
|
-
return
|
|
4182
|
-
},
|
|
4203
|
+
return Eo(jt({ locale: r }, n));
|
|
4204
|
+
}, wo = (e = {}) => {
|
|
4183
4205
|
var t = e, {
|
|
4184
4206
|
locale: r = pe()
|
|
4185
|
-
} = t, n =
|
|
4207
|
+
} = t, n = Oe(t, [
|
|
4186
4208
|
"locale"
|
|
4187
4209
|
]);
|
|
4188
|
-
return
|
|
4189
|
-
},
|
|
4210
|
+
return xo(jt({ locale: r }, n));
|
|
4211
|
+
}, Ho = lt(
|
|
4190
4212
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4191
|
-
(e, t = pe()) => new
|
|
4213
|
+
(e, t = pe()) => new qi(e, t, Ce().formats, {
|
|
4192
4214
|
ignoreTag: Ce().ignoreTag
|
|
4193
4215
|
})
|
|
4194
|
-
),
|
|
4195
|
-
var r, n, i,
|
|
4196
|
-
let
|
|
4197
|
-
typeof e == "object" && (
|
|
4216
|
+
), Ao = (e, t = {}) => {
|
|
4217
|
+
var r, n, i, o;
|
|
4218
|
+
let s = t;
|
|
4219
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
4198
4220
|
const {
|
|
4199
4221
|
values: a,
|
|
4200
4222
|
locale: l = pe(),
|
|
4201
4223
|
default: u
|
|
4202
|
-
} =
|
|
4224
|
+
} = s;
|
|
4203
4225
|
if (l == null)
|
|
4204
4226
|
throw new Error(
|
|
4205
4227
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4206
4228
|
);
|
|
4207
|
-
let h =
|
|
4229
|
+
let h = zr(e, l);
|
|
4208
4230
|
if (!h)
|
|
4209
|
-
h = (
|
|
4231
|
+
h = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4210
4232
|
else if (typeof h != "string")
|
|
4211
4233
|
return console.warn(
|
|
4212
4234
|
`[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.`
|
|
@@ -4215,7 +4237,7 @@ const Fe = (e, t) => {
|
|
|
4215
4237
|
return h;
|
|
4216
4238
|
let f = h;
|
|
4217
4239
|
try {
|
|
4218
|
-
f =
|
|
4240
|
+
f = Ho(h, l).format(a);
|
|
4219
4241
|
} catch (p) {
|
|
4220
4242
|
p instanceof Error && console.warn(
|
|
4221
4243
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4223,21 +4245,21 @@ const Fe = (e, t) => {
|
|
|
4223
4245
|
);
|
|
4224
4246
|
}
|
|
4225
4247
|
return f;
|
|
4226
|
-
},
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
window.emWidgets = { topic:
|
|
4233
|
-
const
|
|
4234
|
-
function
|
|
4248
|
+
}, Bo = (e, t) => wo(t).format(e), Po = (e, t) => To(t).format(e), Co = (e, t) => So(t).format(e), Lo = (e, t = pe()) => zr(e, t);
|
|
4249
|
+
Le([Ie, We], () => Ao);
|
|
4250
|
+
Le([Ie], () => Bo);
|
|
4251
|
+
Le([Ie], () => Po);
|
|
4252
|
+
Le([Ie], () => Co);
|
|
4253
|
+
Le([Ie, We], () => Lo);
|
|
4254
|
+
window.emWidgets = { topic: Wn };
|
|
4255
|
+
const Io = (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));
|
|
4256
|
+
function Oo(e, t) {
|
|
4235
4257
|
if (e) {
|
|
4236
4258
|
const r = document.createElement("style");
|
|
4237
4259
|
r.innerHTML = t, e.appendChild(r);
|
|
4238
4260
|
}
|
|
4239
4261
|
}
|
|
4240
|
-
function
|
|
4262
|
+
function No(e, t) {
|
|
4241
4263
|
const r = new URL(t);
|
|
4242
4264
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4243
4265
|
const i = document.createElement("style");
|
|
@@ -4246,7 +4268,7 @@ function Cs(e, t) {
|
|
|
4246
4268
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4247
4269
|
});
|
|
4248
4270
|
}
|
|
4249
|
-
function
|
|
4271
|
+
function Mo(e, t, r) {
|
|
4250
4272
|
if (window.emMessageBus) {
|
|
4251
4273
|
const n = document.createElement("style");
|
|
4252
4274
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4254,13 +4276,13 @@ function Os(e, t, r) {
|
|
|
4254
4276
|
});
|
|
4255
4277
|
}
|
|
4256
4278
|
}
|
|
4257
|
-
function
|
|
4258
|
-
|
|
4279
|
+
function mr(e, t) {
|
|
4280
|
+
Zr(e, t);
|
|
4259
4281
|
}
|
|
4260
|
-
function
|
|
4261
|
-
|
|
4282
|
+
function Ro(e) {
|
|
4283
|
+
Ie.set(e);
|
|
4262
4284
|
}
|
|
4263
|
-
const
|
|
4285
|
+
const br = {
|
|
4264
4286
|
en: {
|
|
4265
4287
|
loadingText: "Loading, please wait..."
|
|
4266
4288
|
},
|
|
@@ -4298,26 +4320,26 @@ const pr = {
|
|
|
4298
4320
|
loadingText: "Loading, please wait..."
|
|
4299
4321
|
}
|
|
4300
4322
|
};
|
|
4301
|
-
function
|
|
4302
|
-
|
|
4323
|
+
function Uo(e) {
|
|
4324
|
+
un(e, "svelte-hxpfl0", ':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, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4303
4325
|
}
|
|
4304
|
-
function
|
|
4326
|
+
function gr(e, t, r) {
|
|
4305
4327
|
const n = e.slice();
|
|
4306
4328
|
return n[53] = t[r], n[55] = r, n;
|
|
4307
4329
|
}
|
|
4308
|
-
function
|
|
4309
|
-
let t, r, n, i,
|
|
4310
|
-
function g(
|
|
4330
|
+
function Do(e) {
|
|
4331
|
+
let t, r, n, i, o, s, a, l, u, h, f, p, b;
|
|
4332
|
+
function g(E, T) {
|
|
4311
4333
|
return (
|
|
4312
4334
|
/*tabletView*/
|
|
4313
|
-
|
|
4335
|
+
E[6] ? $o : ko
|
|
4314
4336
|
);
|
|
4315
4337
|
}
|
|
4316
4338
|
let y = g(e), v = y(e);
|
|
4317
4339
|
return {
|
|
4318
4340
|
c() {
|
|
4319
|
-
t = m("div"), r = m("div"), n = m("div"), i = m("div"),
|
|
4320
|
-
e[7] + ")"), _(
|
|
4341
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("div"), o = K(), s = m("div"), v.c(), a = K(), l = m("div"), u = m("ui-image"), _(i, "class", "vendorLogo"), Qe(i, "background-image", "url(" + /*vendorIcon*/
|
|
4342
|
+
e[7] + ")"), _(s, "class", "displayContainer"), k(u.src, h = /*titleLogoImg*/
|
|
4321
4343
|
e[12]) || C(u, "src", h), C(u, "alt", ""), _(l, "class", "title"), _(n, "class", f = "mainWrapper " + /*visualstructure*/
|
|
4322
4344
|
e[0] + " " + /*mobileView*/
|
|
4323
4345
|
(e[5] && !/*tabletView*/
|
|
@@ -4327,36 +4349,36 @@ function Ns(e) {
|
|
|
4327
4349
|
))), Qe(n, "background", "url(" + /*backgroundImg*/
|
|
4328
4350
|
e[11] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
|
|
4329
4351
|
},
|
|
4330
|
-
m(
|
|
4331
|
-
ee(
|
|
4352
|
+
m(E, T) {
|
|
4353
|
+
ee(E, 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), p || (b = pn(
|
|
4332
4354
|
r,
|
|
4333
4355
|
"click",
|
|
4334
4356
|
/*click_handler*/
|
|
4335
4357
|
e[33]
|
|
4336
4358
|
), p = !0);
|
|
4337
4359
|
},
|
|
4338
|
-
p(
|
|
4360
|
+
p(E, T) {
|
|
4339
4361
|
T[0] & /*vendorIcon*/
|
|
4340
4362
|
128 && Qe(i, "background-image", "url(" + /*vendorIcon*/
|
|
4341
|
-
|
|
4363
|
+
E[7] + ")"), y === (y = g(E)) && v ? v.p(E, T) : (v.d(1), v = y(E), v && (v.c(), v.m(s, null))), T[0] & /*titleLogoImg*/
|
|
4342
4364
|
4096 && !k(u.src, h = /*titleLogoImg*/
|
|
4343
|
-
|
|
4365
|
+
E[12]) && C(u, "src", h), T[0] & /*visualstructure, mobileView, tabletView*/
|
|
4344
4366
|
97 && f !== (f = "mainWrapper " + /*visualstructure*/
|
|
4345
|
-
|
|
4346
|
-
(
|
|
4347
|
-
|
|
4367
|
+
E[0] + " " + /*mobileView*/
|
|
4368
|
+
(E[5] && !/*tabletView*/
|
|
4369
|
+
E[6] ? "mobile" : (
|
|
4348
4370
|
/*tabletView*/
|
|
4349
|
-
|
|
4371
|
+
E[6] ? "tablet" : ""
|
|
4350
4372
|
))) && _(n, "class", f), T[0] & /*backgroundImg*/
|
|
4351
4373
|
2048 && Qe(n, "background", "url(" + /*backgroundImg*/
|
|
4352
|
-
|
|
4374
|
+
E[11] + ")");
|
|
4353
4375
|
},
|
|
4354
|
-
d(
|
|
4355
|
-
|
|
4376
|
+
d(E) {
|
|
4377
|
+
E && X(t), v.d(), p = !1, b();
|
|
4356
4378
|
}
|
|
4357
4379
|
};
|
|
4358
4380
|
}
|
|
4359
|
-
function
|
|
4381
|
+
function Go(e) {
|
|
4360
4382
|
let t;
|
|
4361
4383
|
return {
|
|
4362
4384
|
c() {
|
|
@@ -4371,7 +4393,7 @@ function Ms(e) {
|
|
|
4371
4393
|
}
|
|
4372
4394
|
};
|
|
4373
4395
|
}
|
|
4374
|
-
function
|
|
4396
|
+
function jo(e) {
|
|
4375
4397
|
let t;
|
|
4376
4398
|
return {
|
|
4377
4399
|
c() {
|
|
@@ -4386,8 +4408,8 @@ function Rs(e) {
|
|
|
4386
4408
|
}
|
|
4387
4409
|
};
|
|
4388
4410
|
}
|
|
4389
|
-
function
|
|
4390
|
-
let t, r, n, i,
|
|
4411
|
+
function $o(e) {
|
|
4412
|
+
let t, r, n, i, o, s, a = (
|
|
4391
4413
|
/*formattedLabels*/
|
|
4392
4414
|
e[9][0] + ""
|
|
4393
4415
|
), l, u, h, f = (
|
|
@@ -4399,7 +4421,7 @@ function Us(e) {
|
|
|
4399
4421
|
/*formattedJackpotValues*/
|
|
4400
4422
|
e[8][0]
|
|
4401
4423
|
)) + ""
|
|
4402
|
-
), p, b, g, y, v,
|
|
4424
|
+
), p, b, g, y, v, E, T, B, U, N, F = (
|
|
4403
4425
|
/*formattedLabels*/
|
|
4404
4426
|
e[9][1] + ""
|
|
4405
4427
|
), z, J, le, ie = (
|
|
@@ -4411,7 +4433,7 @@ function Us(e) {
|
|
|
4411
4433
|
/*formattedJackpotValues*/
|
|
4412
4434
|
e[8][1]
|
|
4413
4435
|
)) + ""
|
|
4414
|
-
),
|
|
4436
|
+
), oe, Ne, he, de, me, Z, R, Q, V, se, W, te = (
|
|
4415
4437
|
/*formattedLabels*/
|
|
4416
4438
|
e[9][2] + ""
|
|
4417
4439
|
), Me, Y, be, ge = (
|
|
@@ -4423,10 +4445,10 @@ function Us(e) {
|
|
|
4423
4445
|
/*formattedJackpotValues*/
|
|
4424
4446
|
e[8][2]
|
|
4425
4447
|
)) + ""
|
|
4426
|
-
), Re, Xe, ye, ve, ze, ce, ae, q, fe, _e,
|
|
4448
|
+
), Re, Xe, ye, ve, ze, ce, ae, q, fe, _e, Ee = (
|
|
4427
4449
|
/*formattedLabels*/
|
|
4428
4450
|
e[9][3] + ""
|
|
4429
|
-
), Ue, c, H,
|
|
4451
|
+
), Ue, c, H, O = (
|
|
4430
4452
|
/*realtimeupdate*/
|
|
4431
4453
|
(e[2] === "true" ? (
|
|
4432
4454
|
/*updatedJackpotValues*/
|
|
@@ -4435,36 +4457,36 @@ function Us(e) {
|
|
|
4435
4457
|
/*formattedJackpotValues*/
|
|
4436
4458
|
e[8][3]
|
|
4437
4459
|
)) + ""
|
|
4438
|
-
), De,
|
|
4460
|
+
), De, $t, Je, ht;
|
|
4439
4461
|
return {
|
|
4440
4462
|
c() {
|
|
4441
|
-
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"),
|
|
4463
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"), s = m("span"), l = M(a), u = m("span"), h = m("span"), p = M(f), b = K(), g = m("span"), y = M(
|
|
4442
4464
|
/*currency*/
|
|
4443
4465
|
e[1]
|
|
4444
|
-
), v = K(),
|
|
4466
|
+
), v = K(), E = m("div"), T = m("div"), B = m("ui-image"), N = m("span"), z = M(F), J = m("span"), le = m("span"), oe = M(ie), Ne = K(), he = m("span"), de = M(
|
|
4445
4467
|
/*currency*/
|
|
4446
4468
|
e[1]
|
|
4447
4469
|
), me = K(), Z = m("div"), R = m("div"), Q = m("div"), V = m("ui-image"), W = m("span"), Me = M(te), Y = m("span"), be = m("span"), Re = M(ge), Xe = K(), ye = m("span"), ve = M(
|
|
4448
4470
|
/*currency*/
|
|
4449
4471
|
e[1]
|
|
4450
|
-
), ze = K(), ce = m("div"), ae = m("div"), q = m("ui-image"), _e = m("span"), Ue = M(
|
|
4472
|
+
), ze = K(), ce = m("div"), ae = m("div"), q = m("ui-image"), _e = m("span"), Ue = M(Ee), c = m("span"), H = m("span"), De = M(O), $t = K(), Je = m("span"), ht = M(
|
|
4451
4473
|
/*currency*/
|
|
4452
4474
|
e[1]
|
|
4453
|
-
), C(i, "imgClass", "displayCardIcon"), k(i.src,
|
|
4454
|
-
e[10][0]) || C(i, "src",
|
|
4455
|
-
e[10][1]) || C(B, "src", U), C(B, "alt", ""), _(N, "class", "cardLabel"), _(T, "class", "iconWrapper"), _(le, "class", "jackpotValue"), _(he, "class", "jackpot-currency"), _(J, "class", "cardTextWrapper"), _(
|
|
4456
|
-
e[10][2]) || C(V, "src",
|
|
4475
|
+
), C(i, "imgClass", "displayCardIcon"), k(i.src, o = /*caticons*/
|
|
4476
|
+
e[10][0]) || C(i, "src", o), C(i, "alt", ""), _(s, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(h, "class", "jackpotValue"), _(g, "class", "jackpot-currency"), _(u, "class", "cardTextWrapper"), _(r, "class", "displayCard"), C(B, "imgClass", "displayCardIcon"), k(B.src, U = /*caticons*/
|
|
4477
|
+
e[10][1]) || C(B, "src", U), C(B, "alt", ""), _(N, "class", "cardLabel"), _(T, "class", "iconWrapper"), _(le, "class", "jackpotValue"), _(he, "class", "jackpot-currency"), _(J, "class", "cardTextWrapper"), _(E, "class", "displayCard"), _(t, "class", "pairWrapper"), C(V, "imgClass", "displayCardIcon"), k(V.src, se = /*caticons*/
|
|
4478
|
+
e[10][2]) || C(V, "src", se), C(V, "alt", ""), _(W, "class", "cardLabel"), _(Q, "class", "iconWrapper"), _(be, "class", "jackpotValue"), _(ye, "class", "jackpot-currency"), _(Y, "class", "cardTextWrapper"), _(R, "class", "displayCard"), C(q, "imgClass", "displayCardIcon"), k(q.src, fe = /*caticons*/
|
|
4457
4479
|
e[10][3]) || C(q, "src", fe), C(q, "alt", ""), _(_e, "class", "cardLabel"), _(ae, "class", "iconWrapper"), _(H, "class", "jackpotValue"), _(Je, "class", "jackpot-currency"), _(c, "class", "cardTextWrapper"), _(ce, "class", "displayCard"), _(Z, "class", "pairWrapper");
|
|
4458
4480
|
},
|
|
4459
|
-
m(A,
|
|
4460
|
-
ee(A, t,
|
|
4481
|
+
m(A, I) {
|
|
4482
|
+
ee(A, t, I), d(t, r), d(r, n), d(n, i), d(n, s), d(s, l), d(r, u), d(u, h), d(h, p), d(u, b), d(u, g), d(g, y), d(t, v), d(t, E), d(E, T), d(T, B), d(T, N), d(N, z), d(E, J), d(J, le), d(le, oe), d(J, Ne), d(J, he), d(he, de), ee(A, me, I), ee(A, Z, I), d(Z, R), d(R, Q), d(Q, V), d(Q, W), d(W, Me), d(R, Y), d(Y, be), d(be, Re), d(Y, Xe), d(Y, ye), d(ye, ve), d(Z, ze), d(Z, ce), d(ce, ae), d(ae, q), d(ae, _e), d(_e, Ue), d(ce, c), d(c, H), d(H, De), d(c, $t), d(c, Je), d(Je, ht);
|
|
4461
4483
|
},
|
|
4462
|
-
p(A,
|
|
4463
|
-
|
|
4464
|
-
1024 && !k(i.src,
|
|
4465
|
-
A[10][0]) && C(i, "src",
|
|
4484
|
+
p(A, I) {
|
|
4485
|
+
I[0] & /*caticons*/
|
|
4486
|
+
1024 && !k(i.src, o = /*caticons*/
|
|
4487
|
+
A[10][0]) && C(i, "src", o), I[0] & /*formattedLabels*/
|
|
4466
4488
|
512 && a !== (a = /*formattedLabels*/
|
|
4467
|
-
A[9][0] + "") && D(l, a),
|
|
4489
|
+
A[9][0] + "") && D(l, a), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4468
4490
|
16644 && f !== (f = /*realtimeupdate*/
|
|
4469
4491
|
(A[2] === "true" ? (
|
|
4470
4492
|
/*updatedJackpotValues*/
|
|
@@ -4472,16 +4494,16 @@ function Us(e) {
|
|
|
4472
4494
|
) : (
|
|
4473
4495
|
/*formattedJackpotValues*/
|
|
4474
4496
|
A[8][0]
|
|
4475
|
-
)) + "") && D(p, f),
|
|
4497
|
+
)) + "") && D(p, f), I[0] & /*currency*/
|
|
4476
4498
|
2 && D(
|
|
4477
4499
|
y,
|
|
4478
4500
|
/*currency*/
|
|
4479
4501
|
A[1]
|
|
4480
|
-
),
|
|
4502
|
+
), I[0] & /*caticons*/
|
|
4481
4503
|
1024 && !k(B.src, U = /*caticons*/
|
|
4482
|
-
A[10][1]) && C(B, "src", U),
|
|
4504
|
+
A[10][1]) && C(B, "src", U), I[0] & /*formattedLabels*/
|
|
4483
4505
|
512 && F !== (F = /*formattedLabels*/
|
|
4484
|
-
A[9][1] + "") && D(z, F),
|
|
4506
|
+
A[9][1] + "") && D(z, F), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4485
4507
|
16644 && ie !== (ie = /*realtimeupdate*/
|
|
4486
4508
|
(A[2] === "true" ? (
|
|
4487
4509
|
/*updatedJackpotValues*/
|
|
@@ -4489,16 +4511,16 @@ function Us(e) {
|
|
|
4489
4511
|
) : (
|
|
4490
4512
|
/*formattedJackpotValues*/
|
|
4491
4513
|
A[8][1]
|
|
4492
|
-
)) + "") && D(
|
|
4514
|
+
)) + "") && D(oe, ie), I[0] & /*currency*/
|
|
4493
4515
|
2 && D(
|
|
4494
4516
|
de,
|
|
4495
4517
|
/*currency*/
|
|
4496
4518
|
A[1]
|
|
4497
|
-
),
|
|
4498
|
-
1024 && !k(V.src,
|
|
4499
|
-
A[10][2]) && C(V, "src",
|
|
4519
|
+
), I[0] & /*caticons*/
|
|
4520
|
+
1024 && !k(V.src, se = /*caticons*/
|
|
4521
|
+
A[10][2]) && C(V, "src", se), I[0] & /*formattedLabels*/
|
|
4500
4522
|
512 && te !== (te = /*formattedLabels*/
|
|
4501
|
-
A[9][2] + "") && D(Me, te),
|
|
4523
|
+
A[9][2] + "") && D(Me, te), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4502
4524
|
16644 && ge !== (ge = /*realtimeupdate*/
|
|
4503
4525
|
(A[2] === "true" ? (
|
|
4504
4526
|
/*updatedJackpotValues*/
|
|
@@ -4506,24 +4528,24 @@ function Us(e) {
|
|
|
4506
4528
|
) : (
|
|
4507
4529
|
/*formattedJackpotValues*/
|
|
4508
4530
|
A[8][2]
|
|
4509
|
-
)) + "") && D(Re, ge),
|
|
4531
|
+
)) + "") && D(Re, ge), I[0] & /*currency*/
|
|
4510
4532
|
2 && D(
|
|
4511
4533
|
ve,
|
|
4512
4534
|
/*currency*/
|
|
4513
4535
|
A[1]
|
|
4514
|
-
),
|
|
4536
|
+
), I[0] & /*caticons*/
|
|
4515
4537
|
1024 && !k(q.src, fe = /*caticons*/
|
|
4516
|
-
A[10][3]) && C(q, "src", fe),
|
|
4517
|
-
512 &&
|
|
4518
|
-
A[9][3] + "") && D(Ue,
|
|
4519
|
-
16644 &&
|
|
4538
|
+
A[10][3]) && C(q, "src", fe), I[0] & /*formattedLabels*/
|
|
4539
|
+
512 && Ee !== (Ee = /*formattedLabels*/
|
|
4540
|
+
A[9][3] + "") && D(Ue, Ee), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4541
|
+
16644 && O !== (O = /*realtimeupdate*/
|
|
4520
4542
|
(A[2] === "true" ? (
|
|
4521
4543
|
/*updatedJackpotValues*/
|
|
4522
4544
|
A[14][3]
|
|
4523
4545
|
) : (
|
|
4524
4546
|
/*formattedJackpotValues*/
|
|
4525
4547
|
A[8][3]
|
|
4526
|
-
)) + "") && D(De,
|
|
4548
|
+
)) + "") && D(De, O), I[0] & /*currency*/
|
|
4527
4549
|
2 && D(
|
|
4528
4550
|
ht,
|
|
4529
4551
|
/*currency*/
|
|
@@ -4535,43 +4557,43 @@ function Us(e) {
|
|
|
4535
4557
|
}
|
|
4536
4558
|
};
|
|
4537
4559
|
}
|
|
4538
|
-
function
|
|
4539
|
-
let t, r =
|
|
4560
|
+
function ko(e) {
|
|
4561
|
+
let t, r = Jt(Array(4)), n = [];
|
|
4540
4562
|
for (let i = 0; i < r.length; i += 1)
|
|
4541
|
-
n[i] =
|
|
4563
|
+
n[i] = yr(gr(e, r, i));
|
|
4542
4564
|
return {
|
|
4543
4565
|
c() {
|
|
4544
4566
|
for (let i = 0; i < n.length; i += 1)
|
|
4545
4567
|
n[i].c();
|
|
4546
|
-
t =
|
|
4568
|
+
t = fn();
|
|
4547
4569
|
},
|
|
4548
|
-
m(i,
|
|
4549
|
-
for (let
|
|
4550
|
-
n[
|
|
4551
|
-
ee(i, t,
|
|
4570
|
+
m(i, o) {
|
|
4571
|
+
for (let s = 0; s < n.length; s += 1)
|
|
4572
|
+
n[s] && n[s].m(i, o);
|
|
4573
|
+
ee(i, t, o);
|
|
4552
4574
|
},
|
|
4553
|
-
p(i,
|
|
4554
|
-
if (
|
|
4575
|
+
p(i, o) {
|
|
4576
|
+
if (o[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4555
4577
|
18182) {
|
|
4556
|
-
r =
|
|
4557
|
-
let
|
|
4558
|
-
for (
|
|
4559
|
-
const a =
|
|
4560
|
-
n[
|
|
4578
|
+
r = Jt(Array(4));
|
|
4579
|
+
let s;
|
|
4580
|
+
for (s = 0; s < r.length; s += 1) {
|
|
4581
|
+
const a = gr(i, r, s);
|
|
4582
|
+
n[s] ? n[s].p(a, o) : (n[s] = yr(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4561
4583
|
}
|
|
4562
|
-
for (;
|
|
4563
|
-
n[
|
|
4584
|
+
for (; s < n.length; s += 1)
|
|
4585
|
+
n[s].d(1);
|
|
4564
4586
|
n.length = r.length;
|
|
4565
4587
|
}
|
|
4566
4588
|
},
|
|
4567
4589
|
d(i) {
|
|
4568
|
-
i && X(t),
|
|
4590
|
+
i && X(t), cn(n, i);
|
|
4569
4591
|
}
|
|
4570
4592
|
};
|
|
4571
4593
|
}
|
|
4572
|
-
function
|
|
4594
|
+
function yr(e) {
|
|
4573
4595
|
var y;
|
|
4574
|
-
let t, r, n, i,
|
|
4596
|
+
let t, r, n, i, o, s = (
|
|
4575
4597
|
/*formattedLabels*/
|
|
4576
4598
|
e[9][
|
|
4577
4599
|
/*i*/
|
|
@@ -4595,31 +4617,31 @@ function mr(e) {
|
|
|
4595
4617
|
), f, p, b, g;
|
|
4596
4618
|
return {
|
|
4597
4619
|
c() {
|
|
4598
|
-
t = m("div"), r = m("div"), n = m("ui-image"),
|
|
4620
|
+
t = m("div"), r = m("div"), n = m("ui-image"), o = m("span"), a = M(s), l = m("span"), u = m("span"), f = M(h), p = K(), b = m("span"), g = M(
|
|
4599
4621
|
/*currency*/
|
|
4600
4622
|
e[1]
|
|
4601
4623
|
), C(n, "imgClass", "displayCardIcon"), k(n.src, i = /*caticons*/
|
|
4602
4624
|
e[10][
|
|
4603
4625
|
/*i*/
|
|
4604
4626
|
e[55]
|
|
4605
|
-
]) || C(n, "src", i), C(n, "alt", ""), _(
|
|
4627
|
+
]) || C(n, "src", i), C(n, "alt", ""), _(o, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(u, "class", "jackpotValue"), _(b, "class", "jackpot-currency"), _(l, "class", "cardTextWrapper"), _(t, "class", "displayCard");
|
|
4606
4628
|
},
|
|
4607
|
-
m(v,
|
|
4608
|
-
ee(v, t,
|
|
4629
|
+
m(v, E) {
|
|
4630
|
+
ee(v, t, E), d(t, r), d(r, n), d(r, o), d(o, a), d(t, l), d(l, u), d(u, f), d(l, p), d(l, b), d(b, g);
|
|
4609
4631
|
},
|
|
4610
|
-
p(v,
|
|
4632
|
+
p(v, E) {
|
|
4611
4633
|
var T;
|
|
4612
|
-
|
|
4634
|
+
E[0] & /*caticons*/
|
|
4613
4635
|
1024 && !k(n.src, i = /*caticons*/
|
|
4614
4636
|
v[10][
|
|
4615
4637
|
/*i*/
|
|
4616
4638
|
v[55]
|
|
4617
|
-
]) && C(n, "src", i),
|
|
4618
|
-
512 &&
|
|
4639
|
+
]) && C(n, "src", i), E[0] & /*formattedLabels*/
|
|
4640
|
+
512 && s !== (s = /*formattedLabels*/
|
|
4619
4641
|
v[9][
|
|
4620
4642
|
/*i*/
|
|
4621
4643
|
v[55]
|
|
4622
|
-
] + "") && D(a,
|
|
4644
|
+
] + "") && D(a, s), E[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4623
4645
|
16644 && h !== (h = /*realtimeupdate*/
|
|
4624
4646
|
(v[2] === "true" ? (
|
|
4625
4647
|
/*updatedJackpotValues*/
|
|
@@ -4633,7 +4655,7 @@ function mr(e) {
|
|
|
4633
4655
|
/*i*/
|
|
4634
4656
|
v[55]
|
|
4635
4657
|
]) != null ? T : ""
|
|
4636
|
-
)) + "") && D(f, h),
|
|
4658
|
+
)) + "") && D(f, h), E[0] & /*currency*/
|
|
4637
4659
|
2 && D(
|
|
4638
4660
|
g,
|
|
4639
4661
|
/*currency*/
|
|
@@ -4645,14 +4667,14 @@ function mr(e) {
|
|
|
4645
4667
|
}
|
|
4646
4668
|
};
|
|
4647
4669
|
}
|
|
4648
|
-
function
|
|
4670
|
+
function Fo(e) {
|
|
4649
4671
|
let t;
|
|
4650
|
-
function r(
|
|
4672
|
+
function r(o, s) {
|
|
4651
4673
|
return (
|
|
4652
4674
|
/*hasErrors*/
|
|
4653
|
-
|
|
4675
|
+
o[13] ? jo : (
|
|
4654
4676
|
/*isLoading*/
|
|
4655
|
-
|
|
4677
|
+
o[4] ? Go : Do
|
|
4656
4678
|
)
|
|
4657
4679
|
);
|
|
4658
4680
|
}
|
|
@@ -4661,36 +4683,36 @@ function Gs(e) {
|
|
|
4661
4683
|
c() {
|
|
4662
4684
|
t = m("div"), i.c();
|
|
4663
4685
|
},
|
|
4664
|
-
m(
|
|
4665
|
-
ee(
|
|
4686
|
+
m(o, s) {
|
|
4687
|
+
ee(o, t, s), i.m(t, null), e[34](t);
|
|
4666
4688
|
},
|
|
4667
|
-
p(
|
|
4668
|
-
n === (n = r(
|
|
4689
|
+
p(o, s) {
|
|
4690
|
+
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4669
4691
|
},
|
|
4670
4692
|
i: j,
|
|
4671
4693
|
o: j,
|
|
4672
|
-
d(
|
|
4673
|
-
|
|
4694
|
+
d(o) {
|
|
4695
|
+
o && X(t), i.d(), e[34](null);
|
|
4674
4696
|
}
|
|
4675
4697
|
};
|
|
4676
4698
|
}
|
|
4677
|
-
function
|
|
4678
|
-
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0:
|
|
4699
|
+
function Vo(e, t, r) {
|
|
4700
|
+
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: o = "" } = t, { caticon1: s = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc: h = "" } = t, { currency: f = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: b = "" } = t, { lang: g = "en" } = t, { clientstyling: y = "" } = t, { clientstylingurl: v = "" } = t, { translationurl: E = "" } = t, { endpoint: T = "" } = t, { gameid: B = "" } = t, { mbsource: U } = t, { realtimeupdate: N = "false" } = t, F = window.navigator.userAgent, z = !1, J = !1, le = "", ie = [], oe = [], Ne = [], he = [], de = [], me = "", Z = "", R, Q = !0, V = !1, se, W = null, te = [];
|
|
4679
4701
|
const Me = () => {
|
|
4680
|
-
fetch(
|
|
4681
|
-
Object.keys(H).forEach((
|
|
4682
|
-
|
|
4702
|
+
fetch(E).then((H) => H.json()).then((H) => {
|
|
4703
|
+
Object.keys(H).forEach((O) => {
|
|
4704
|
+
mr(O, H[O]);
|
|
4683
4705
|
});
|
|
4684
4706
|
}).catch((H) => {
|
|
4685
4707
|
console.log(H);
|
|
4686
4708
|
});
|
|
4687
4709
|
};
|
|
4688
|
-
Object.keys(
|
|
4689
|
-
|
|
4710
|
+
Object.keys(br).forEach((c) => {
|
|
4711
|
+
mr(c, br[c]);
|
|
4690
4712
|
});
|
|
4691
4713
|
const Y = ["typeSpread", "typeLeft"], be = (c) => {
|
|
4692
|
-
var
|
|
4693
|
-
const H = (
|
|
4714
|
+
var O;
|
|
4715
|
+
const H = (O = c == null ? void 0 : c.items[0]) == null ? void 0 : O.additionalData;
|
|
4694
4716
|
H && Object.values(H).forEach((De) => ie.push(+De));
|
|
4695
4717
|
}, ge = (c) => {
|
|
4696
4718
|
var H;
|
|
@@ -4698,10 +4720,10 @@ function js(e, t, r) {
|
|
|
4698
4720
|
}, Re = () => {
|
|
4699
4721
|
if (T && g && f) {
|
|
4700
4722
|
let c = new URL(`${T}/v1/casino/jackpots`);
|
|
4701
|
-
c.searchParams.append("filter", `id=${B}`), c.searchParams.append("language", g), c.searchParams.append("additionalDataCurrency", f), fetch(c.href).then((H) => H.json().then((
|
|
4702
|
-
r(4, Q = !1),
|
|
4703
|
-
}).catch((
|
|
4704
|
-
r(13, V = !0), r(4, Q = !1), console.error(
|
|
4723
|
+
c.searchParams.append("filter", `id=${B}`), c.searchParams.append("language", g), c.searchParams.append("additionalDataCurrency", f), fetch(c.href).then((H) => H.json().then((O) => {
|
|
4724
|
+
r(4, Q = !1), se = O, oe.includes(B) && (be(se), ge(se));
|
|
4725
|
+
}).catch((O) => {
|
|
4726
|
+
r(13, V = !0), r(4, Q = !1), console.error(O);
|
|
4705
4727
|
}).finally(() => {
|
|
4706
4728
|
Xe();
|
|
4707
4729
|
}));
|
|
@@ -4712,10 +4734,10 @@ function js(e, t, r) {
|
|
|
4712
4734
|
}, ye = () => {
|
|
4713
4735
|
let c = new URL(`${T}/v1/casino/jackpots/config`);
|
|
4714
4736
|
fetch(c.href).then((H) => H.json()).then((H) => {
|
|
4715
|
-
r(32,
|
|
4737
|
+
r(32, oe = H.egtJackpotIds.map((O) => O));
|
|
4716
4738
|
});
|
|
4717
4739
|
}, ve = () => {
|
|
4718
|
-
r(5, z =
|
|
4740
|
+
r(5, z = Io(F) && window.innerHeight / window.innerWidth > 1), r(6, J = ce()), ie.length !== 0 && r(8, Ne = ze(ie)), r(9, he = u ? u.split(",").map((c) => c.trim().toUpperCase()) : new Array(4).fill("")), Y.includes(n.trim()) ? r(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${Y[0]}"`), r(0, n = Y[0])), r(11, me = p && z && !J ? p : h), r(12, Z = b), r(10, de = [o, s, a, l]);
|
|
4719
4741
|
}, ze = (c) => c.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), ce = () => {
|
|
4720
4742
|
const c = window.innerHeight / window.innerWidth;
|
|
4721
4743
|
return 0.75 < c && c < 1.6;
|
|
@@ -4725,40 +4747,40 @@ function js(e, t, r) {
|
|
|
4725
4747
|
gameId: `${B}`
|
|
4726
4748
|
});
|
|
4727
4749
|
}, q = () => {
|
|
4728
|
-
|
|
4750
|
+
Ro(g);
|
|
4729
4751
|
}, fe = (c) => {
|
|
4730
4752
|
const H = JSON.parse(c.data);
|
|
4731
4753
|
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === B) {
|
|
4732
|
-
const
|
|
4733
|
-
r(14, te[
|
|
4754
|
+
const O = Number(H.data.jackpotAlias.split("_")[1]) - 1;
|
|
4755
|
+
r(14, te[O] = H.data.data[`${f}`].balance.toString(), te);
|
|
4734
4756
|
}
|
|
4735
4757
|
}, _e = () => {
|
|
4736
4758
|
N === "true" && (ve(), r(14, te = ["", "", "", ""]), W = new EventSource(`${T}/v1/encoder/jackpot/*/update`), W.addEventListener("message", fe));
|
|
4737
4759
|
};
|
|
4738
|
-
|
|
4739
|
-
}),
|
|
4760
|
+
bn(() => () => {
|
|
4761
|
+
}), gn(() => {
|
|
4740
4762
|
W && (W.removeEventListener("message", fe), W.close(), W = null);
|
|
4741
4763
|
});
|
|
4742
|
-
const
|
|
4764
|
+
const Ee = () => ae();
|
|
4743
4765
|
function Ue(c) {
|
|
4744
|
-
|
|
4766
|
+
_t[c ? "unshift" : "push"](() => {
|
|
4745
4767
|
R = c, r(3, R);
|
|
4746
4768
|
});
|
|
4747
4769
|
}
|
|
4748
4770
|
return e.$$set = (c) => {
|
|
4749
|
-
"visualstructure" in c && r(0, n = c.visualstructure), "title" in c && r(16, i = c.title), "caticon0" in c && r(17,
|
|
4771
|
+
"visualstructure" in c && r(0, n = c.visualstructure), "title" in c && r(16, i = c.title), "caticon0" in c && r(17, o = c.caticon0), "caticon1" in c && r(18, s = c.caticon1), "caticon2" in c && r(19, a = c.caticon2), "caticon3" in c && r(20, l = c.caticon3), "iconlabels" in c && r(21, u = c.iconlabels), "backgroundsrc" in c && r(22, h = c.backgroundsrc), "currency" in c && r(1, f = c.currency), "backgroundsrcmobile" in c && r(23, p = c.backgroundsrcmobile), "titlelogopath" in c && r(24, b = c.titlelogopath), "lang" in c && r(25, g = c.lang), "clientstyling" in c && r(26, y = c.clientstyling), "clientstylingurl" in c && r(27, v = c.clientstylingurl), "translationurl" in c && r(28, E = c.translationurl), "endpoint" in c && r(29, T = c.endpoint), "gameid" in c && r(30, B = c.gameid), "mbsource" in c && r(31, U = c.mbsource), "realtimeupdate" in c && r(2, N = c.realtimeupdate);
|
|
4750
4772
|
}, e.$$.update = () => {
|
|
4751
4773
|
e.$$.dirty[0] & /*endpoint*/
|
|
4752
4774
|
536870912 && T && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4753
|
-
67108872 && y && R &&
|
|
4754
|
-
134217736 && v && R &&
|
|
4775
|
+
67108872 && y && R && Oo(R, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4776
|
+
134217736 && v && R && No(R, v), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4755
4777
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4756
|
-
1 && U && R &&
|
|
4778
|
+
1 && U && R && Mo(R, `${U}.Style`), e.$$.dirty[0] & /*endpoint, lang, currency*/
|
|
4757
4779
|
570425346 | e.$$.dirty[1] & /*validGameIds*/
|
|
4758
|
-
2 && T && g && f &&
|
|
4780
|
+
2 && T && g && f && oe.length > 0 && Re(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4759
4781
|
33554450 && f && g && !Q && ve(), e.$$.dirty[0] & /*lang*/
|
|
4760
4782
|
33554432 && g && q(), e.$$.dirty[0] & /*translationurl*/
|
|
4761
|
-
268435456 &&
|
|
4783
|
+
268435456 && E && Me(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4762
4784
|
4 && N && _e();
|
|
4763
4785
|
}, [
|
|
4764
4786
|
n,
|
|
@@ -4778,8 +4800,8 @@ function js(e, t, r) {
|
|
|
4778
4800
|
te,
|
|
4779
4801
|
ae,
|
|
4780
4802
|
i,
|
|
4781
|
-
s,
|
|
4782
4803
|
o,
|
|
4804
|
+
s,
|
|
4783
4805
|
a,
|
|
4784
4806
|
l,
|
|
4785
4807
|
u,
|
|
@@ -4789,23 +4811,23 @@ function js(e, t, r) {
|
|
|
4789
4811
|
g,
|
|
4790
4812
|
y,
|
|
4791
4813
|
v,
|
|
4792
|
-
|
|
4814
|
+
E,
|
|
4793
4815
|
T,
|
|
4794
4816
|
B,
|
|
4795
4817
|
U,
|
|
4796
|
-
|
|
4797
|
-
|
|
4818
|
+
oe,
|
|
4819
|
+
Ee,
|
|
4798
4820
|
Ue
|
|
4799
4821
|
];
|
|
4800
4822
|
}
|
|
4801
|
-
class
|
|
4823
|
+
class Wo extends Pn {
|
|
4802
4824
|
constructor(t) {
|
|
4803
|
-
super(),
|
|
4825
|
+
super(), An(
|
|
4804
4826
|
this,
|
|
4805
4827
|
t,
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4828
|
+
Vo,
|
|
4829
|
+
Fo,
|
|
4830
|
+
_r,
|
|
4809
4831
|
{
|
|
4810
4832
|
visualstructure: 0,
|
|
4811
4833
|
title: 16,
|
|
@@ -4827,7 +4849,7 @@ class $s extends wn {
|
|
|
4827
4849
|
mbsource: 31,
|
|
4828
4850
|
realtimeupdate: 2
|
|
4829
4851
|
},
|
|
4830
|
-
|
|
4852
|
+
Uo,
|
|
4831
4853
|
[-1, -1]
|
|
4832
4854
|
);
|
|
4833
4855
|
}
|
|
@@ -4835,118 +4857,118 @@ class $s extends wn {
|
|
|
4835
4857
|
return this.$$.ctx[0];
|
|
4836
4858
|
}
|
|
4837
4859
|
set visualstructure(t) {
|
|
4838
|
-
this.$$set({ visualstructure: t }),
|
|
4860
|
+
this.$$set({ visualstructure: t }), L();
|
|
4839
4861
|
}
|
|
4840
4862
|
get title() {
|
|
4841
4863
|
return this.$$.ctx[16];
|
|
4842
4864
|
}
|
|
4843
4865
|
set title(t) {
|
|
4844
|
-
this.$$set({ title: t }),
|
|
4866
|
+
this.$$set({ title: t }), L();
|
|
4845
4867
|
}
|
|
4846
4868
|
get caticon0() {
|
|
4847
4869
|
return this.$$.ctx[17];
|
|
4848
4870
|
}
|
|
4849
4871
|
set caticon0(t) {
|
|
4850
|
-
this.$$set({ caticon0: t }),
|
|
4872
|
+
this.$$set({ caticon0: t }), L();
|
|
4851
4873
|
}
|
|
4852
4874
|
get caticon1() {
|
|
4853
4875
|
return this.$$.ctx[18];
|
|
4854
4876
|
}
|
|
4855
4877
|
set caticon1(t) {
|
|
4856
|
-
this.$$set({ caticon1: t }),
|
|
4878
|
+
this.$$set({ caticon1: t }), L();
|
|
4857
4879
|
}
|
|
4858
4880
|
get caticon2() {
|
|
4859
4881
|
return this.$$.ctx[19];
|
|
4860
4882
|
}
|
|
4861
4883
|
set caticon2(t) {
|
|
4862
|
-
this.$$set({ caticon2: t }),
|
|
4884
|
+
this.$$set({ caticon2: t }), L();
|
|
4863
4885
|
}
|
|
4864
4886
|
get caticon3() {
|
|
4865
4887
|
return this.$$.ctx[20];
|
|
4866
4888
|
}
|
|
4867
4889
|
set caticon3(t) {
|
|
4868
|
-
this.$$set({ caticon3: t }),
|
|
4890
|
+
this.$$set({ caticon3: t }), L();
|
|
4869
4891
|
}
|
|
4870
4892
|
get iconlabels() {
|
|
4871
4893
|
return this.$$.ctx[21];
|
|
4872
4894
|
}
|
|
4873
4895
|
set iconlabels(t) {
|
|
4874
|
-
this.$$set({ iconlabels: t }),
|
|
4896
|
+
this.$$set({ iconlabels: t }), L();
|
|
4875
4897
|
}
|
|
4876
4898
|
get backgroundsrc() {
|
|
4877
4899
|
return this.$$.ctx[22];
|
|
4878
4900
|
}
|
|
4879
4901
|
set backgroundsrc(t) {
|
|
4880
|
-
this.$$set({ backgroundsrc: t }),
|
|
4902
|
+
this.$$set({ backgroundsrc: t }), L();
|
|
4881
4903
|
}
|
|
4882
4904
|
get currency() {
|
|
4883
4905
|
return this.$$.ctx[1];
|
|
4884
4906
|
}
|
|
4885
4907
|
set currency(t) {
|
|
4886
|
-
this.$$set({ currency: t }),
|
|
4908
|
+
this.$$set({ currency: t }), L();
|
|
4887
4909
|
}
|
|
4888
4910
|
get backgroundsrcmobile() {
|
|
4889
4911
|
return this.$$.ctx[23];
|
|
4890
4912
|
}
|
|
4891
4913
|
set backgroundsrcmobile(t) {
|
|
4892
|
-
this.$$set({ backgroundsrcmobile: t }),
|
|
4914
|
+
this.$$set({ backgroundsrcmobile: t }), L();
|
|
4893
4915
|
}
|
|
4894
4916
|
get titlelogopath() {
|
|
4895
4917
|
return this.$$.ctx[24];
|
|
4896
4918
|
}
|
|
4897
4919
|
set titlelogopath(t) {
|
|
4898
|
-
this.$$set({ titlelogopath: t }),
|
|
4920
|
+
this.$$set({ titlelogopath: t }), L();
|
|
4899
4921
|
}
|
|
4900
4922
|
get lang() {
|
|
4901
4923
|
return this.$$.ctx[25];
|
|
4902
4924
|
}
|
|
4903
4925
|
set lang(t) {
|
|
4904
|
-
this.$$set({ lang: t }),
|
|
4926
|
+
this.$$set({ lang: t }), L();
|
|
4905
4927
|
}
|
|
4906
4928
|
get clientstyling() {
|
|
4907
4929
|
return this.$$.ctx[26];
|
|
4908
4930
|
}
|
|
4909
4931
|
set clientstyling(t) {
|
|
4910
|
-
this.$$set({ clientstyling: t }),
|
|
4932
|
+
this.$$set({ clientstyling: t }), L();
|
|
4911
4933
|
}
|
|
4912
4934
|
get clientstylingurl() {
|
|
4913
4935
|
return this.$$.ctx[27];
|
|
4914
4936
|
}
|
|
4915
4937
|
set clientstylingurl(t) {
|
|
4916
|
-
this.$$set({ clientstylingurl: t }),
|
|
4938
|
+
this.$$set({ clientstylingurl: t }), L();
|
|
4917
4939
|
}
|
|
4918
4940
|
get translationurl() {
|
|
4919
4941
|
return this.$$.ctx[28];
|
|
4920
4942
|
}
|
|
4921
4943
|
set translationurl(t) {
|
|
4922
|
-
this.$$set({ translationurl: t }),
|
|
4944
|
+
this.$$set({ translationurl: t }), L();
|
|
4923
4945
|
}
|
|
4924
4946
|
get endpoint() {
|
|
4925
4947
|
return this.$$.ctx[29];
|
|
4926
4948
|
}
|
|
4927
4949
|
set endpoint(t) {
|
|
4928
|
-
this.$$set({ endpoint: t }),
|
|
4950
|
+
this.$$set({ endpoint: t }), L();
|
|
4929
4951
|
}
|
|
4930
4952
|
get gameid() {
|
|
4931
4953
|
return this.$$.ctx[30];
|
|
4932
4954
|
}
|
|
4933
4955
|
set gameid(t) {
|
|
4934
|
-
this.$$set({ gameid: t }),
|
|
4956
|
+
this.$$set({ gameid: t }), L();
|
|
4935
4957
|
}
|
|
4936
4958
|
get mbsource() {
|
|
4937
4959
|
return this.$$.ctx[31];
|
|
4938
4960
|
}
|
|
4939
4961
|
set mbsource(t) {
|
|
4940
|
-
this.$$set({ mbsource: t }),
|
|
4962
|
+
this.$$set({ mbsource: t }), L();
|
|
4941
4963
|
}
|
|
4942
4964
|
get realtimeupdate() {
|
|
4943
4965
|
return this.$$.ctx[2];
|
|
4944
4966
|
}
|
|
4945
4967
|
set realtimeupdate(t) {
|
|
4946
|
-
this.$$set({ realtimeupdate: t }),
|
|
4968
|
+
this.$$set({ realtimeupdate: t }), L();
|
|
4947
4969
|
}
|
|
4948
4970
|
}
|
|
4949
|
-
|
|
4971
|
+
Bn(Wo, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
|
|
4950
4972
|
export {
|
|
4951
|
-
|
|
4973
|
+
Wo as default
|
|
4952
4974
|
};
|