@everymatrix/casino-jackpot-banner 1.60.0 → 1.60.2
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-ulJ9t0OI.js → CasinoJackpotBanner-DG0Gqyq0.js} +577 -599
- package/components/{CasinoJackpotBanner-DA157WfZ.js → CasinoJackpotBanner-DvgIIMt9.js} +546 -568
- package/components/CasinoJackpotBanner-NWh7LI52.cjs +18 -0
- package/es2015/casino-jackpot-banner.cjs +1 -1
- package/es2015/casino-jackpot-banner.js +1 -1
- package/esnext/casino-jackpot-banner.js +1 -1
- package/package.json +1 -1
- package/components/CasinoJackpotBanner-CddJKifU.cjs +0 -18
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function G() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function lr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Rt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function je(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(lr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ct(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function hr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let Xe;
|
|
19
19
|
function k(e, t) {
|
|
20
20
|
return e === t ? !0 : (Xe || (Xe = document.createElement("a")), Xe.href = t, e === Xe.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Fr(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Vr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -34,14 +34,14 @@ function Jr(e, ...t) {
|
|
|
34
34
|
function d(e, t) {
|
|
35
35
|
e.appendChild(t);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
const n =
|
|
37
|
+
function Wr(e, t, r) {
|
|
38
|
+
const n = Xr(e);
|
|
39
39
|
if (!n.getElementById(t)) {
|
|
40
40
|
const i = g("style");
|
|
41
|
-
i.id = t, i.textContent = r,
|
|
41
|
+
i.id = t, i.textContent = r, zr(n, i);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Xr(e) {
|
|
45
45
|
if (!e)
|
|
46
46
|
return document;
|
|
47
47
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -51,7 +51,7 @@ function Qr(e) {
|
|
|
51
51
|
t
|
|
52
52
|
) : e.ownerDocument;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function zr(e, t) {
|
|
55
55
|
return d(
|
|
56
56
|
/** @type {Document} */
|
|
57
57
|
e.head || e,
|
|
@@ -64,7 +64,7 @@ function q(e, t, r) {
|
|
|
64
64
|
function V(e) {
|
|
65
65
|
e.parentNode && e.parentNode.removeChild(e);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Jr(e, t) {
|
|
68
68
|
for (let r = 0; r < e.length; r += 1)
|
|
69
69
|
e[r] && e[r].d(t);
|
|
70
70
|
}
|
|
@@ -77,16 +77,16 @@ function N(e) {
|
|
|
77
77
|
function Y() {
|
|
78
78
|
return N(" ");
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Zr() {
|
|
81
81
|
return N("");
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Qr(e, t, r, n) {
|
|
84
84
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
85
85
|
}
|
|
86
86
|
function m(e, t, r) {
|
|
87
87
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Yr(e) {
|
|
90
90
|
return Array.from(e.childNodes);
|
|
91
91
|
}
|
|
92
92
|
function U(e, t) {
|
|
@@ -96,7 +96,7 @@ function U(e, t) {
|
|
|
96
96
|
function ze(e, t, r, n) {
|
|
97
97
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function qr(e) {
|
|
100
100
|
const t = {};
|
|
101
101
|
return e.childNodes.forEach(
|
|
102
102
|
/** @param {Element} node */
|
|
@@ -109,25 +109,25 @@ let De;
|
|
|
109
109
|
function Ue(e) {
|
|
110
110
|
De = e;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function cr() {
|
|
113
113
|
if (!De)
|
|
114
114
|
throw new Error("Function called outside component initialization");
|
|
115
115
|
return De;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
|
|
117
|
+
function Kr(e) {
|
|
118
|
+
cr().$$.on_mount.push(e);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
121
|
-
|
|
120
|
+
function en(e) {
|
|
121
|
+
cr().$$.on_destroy.push(e);
|
|
122
122
|
}
|
|
123
|
-
const xe = [],
|
|
123
|
+
const xe = [], bt = [];
|
|
124
124
|
let Se = [];
|
|
125
|
-
const
|
|
126
|
-
let
|
|
127
|
-
function
|
|
128
|
-
|
|
125
|
+
const Ut = [], tn = /* @__PURE__ */ Promise.resolve();
|
|
126
|
+
let gt = !1;
|
|
127
|
+
function rn() {
|
|
128
|
+
gt || (gt = !0, tn.then(L));
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function yt(e) {
|
|
131
131
|
Se.push(e);
|
|
132
132
|
}
|
|
133
133
|
const lt = /* @__PURE__ */ new Set();
|
|
@@ -140,56 +140,56 @@ function L() {
|
|
|
140
140
|
try {
|
|
141
141
|
for (; _e < xe.length; ) {
|
|
142
142
|
const t = xe[_e];
|
|
143
|
-
_e++, Ue(t),
|
|
143
|
+
_e++, Ue(t), nn(t.$$);
|
|
144
144
|
}
|
|
145
145
|
} catch (t) {
|
|
146
146
|
throw xe.length = 0, _e = 0, t;
|
|
147
147
|
}
|
|
148
|
-
for (Ue(null), xe.length = 0, _e = 0;
|
|
149
|
-
|
|
148
|
+
for (Ue(null), xe.length = 0, _e = 0; bt.length; )
|
|
149
|
+
bt.pop()();
|
|
150
150
|
for (let t = 0; t < Se.length; t += 1) {
|
|
151
151
|
const r = Se[t];
|
|
152
152
|
lt.has(r) || (lt.add(r), r());
|
|
153
153
|
}
|
|
154
154
|
Se.length = 0;
|
|
155
155
|
} while (xe.length);
|
|
156
|
-
for (;
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
for (; Ut.length; )
|
|
157
|
+
Ut.pop()();
|
|
158
|
+
gt = !1, lt.clear(), Ue(e);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function nn(e) {
|
|
161
161
|
if (e.fragment !== null) {
|
|
162
162
|
e.update(), je(e.before_update);
|
|
163
163
|
const t = e.dirty;
|
|
164
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
164
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(yt);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function on(e) {
|
|
168
168
|
const t = [], r = [];
|
|
169
169
|
Se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Se = t;
|
|
170
170
|
}
|
|
171
|
-
const
|
|
172
|
-
function
|
|
173
|
-
e && e.i && (
|
|
171
|
+
const sn = /* @__PURE__ */ new Set();
|
|
172
|
+
function an(e, t) {
|
|
173
|
+
e && e.i && (sn.delete(e), e.i(t));
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Dt(e) {
|
|
176
176
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function un(e, t, r) {
|
|
179
179
|
const { fragment: n, after_update: i } = e.$$;
|
|
180
|
-
n && n.m(t, r),
|
|
181
|
-
const o = e.$$.on_mount.map(
|
|
180
|
+
n && n.m(t, r), yt(() => {
|
|
181
|
+
const o = e.$$.on_mount.map(lr).filter(Ct);
|
|
182
182
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : je(o), e.$$.on_mount = [];
|
|
183
|
-
}), i.forEach(
|
|
183
|
+
}), i.forEach(yt);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function ln(e, t) {
|
|
186
186
|
const r = e.$$;
|
|
187
|
-
r.fragment !== null && (
|
|
187
|
+
r.fragment !== null && (on(r.after_update), je(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
e.$$.dirty[0] === -1 && (xe.push(e),
|
|
189
|
+
function hn(e, t) {
|
|
190
|
+
e.$$.dirty[0] === -1 && (xe.push(e), rn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function cn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
193
193
|
const l = De;
|
|
194
194
|
Ue(e);
|
|
195
195
|
const u = e.$$ = {
|
|
@@ -199,7 +199,7 @@ function mn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
199
199
|
props: o,
|
|
200
200
|
update: G,
|
|
201
201
|
not_equal: i,
|
|
202
|
-
bound:
|
|
202
|
+
bound: Rt(),
|
|
203
203
|
// lifecycle
|
|
204
204
|
on_mount: [],
|
|
205
205
|
on_destroy: [],
|
|
@@ -208,7 +208,7 @@ function mn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
208
208
|
after_update: [],
|
|
209
209
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
210
210
|
// everything else
|
|
211
|
-
callbacks:
|
|
211
|
+
callbacks: Rt(),
|
|
212
212
|
dirty: a,
|
|
213
213
|
skip_bound: !1,
|
|
214
214
|
root: t.target || l.$$.root
|
|
@@ -217,19 +217,19 @@ function mn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
217
217
|
let h = !1;
|
|
218
218
|
if (u.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
|
|
219
219
|
const v = y.length ? y[0] : p;
|
|
220
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h &&
|
|
220
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && hn(e, c)), p;
|
|
221
221
|
}) : [], u.update(), h = !0, je(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
222
222
|
if (t.hydrate) {
|
|
223
|
-
const c =
|
|
223
|
+
const c = Yr(t.target);
|
|
224
224
|
u.fragment && u.fragment.l(c), c.forEach(V);
|
|
225
225
|
} else
|
|
226
226
|
u.fragment && u.fragment.c();
|
|
227
|
-
t.intro &&
|
|
227
|
+
t.intro && an(e.$$.fragment), un(e, t.target, t.anchor), L();
|
|
228
228
|
}
|
|
229
229
|
Ue(l);
|
|
230
230
|
}
|
|
231
|
-
let
|
|
232
|
-
typeof HTMLElement == "function" && (
|
|
231
|
+
let fr;
|
|
232
|
+
typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
233
233
|
/** The Svelte component constructor */
|
|
234
234
|
$$ctor;
|
|
235
235
|
/** Slots */
|
|
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
|
288
288
|
};
|
|
289
289
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
290
290
|
return;
|
|
291
|
-
const t = {}, r =
|
|
291
|
+
const t = {}, r = qr(this);
|
|
292
292
|
for (const i of this.$$s)
|
|
293
293
|
i in r && (t[i] = [e(i)]);
|
|
294
294
|
for (const i of this.attributes) {
|
|
@@ -375,8 +375,8 @@ function Qe(e, t, r, n) {
|
|
|
375
375
|
return t;
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
function
|
|
379
|
-
let s = class extends
|
|
378
|
+
function fn(e, t, r, n, i, o) {
|
|
379
|
+
let s = class extends fr {
|
|
380
380
|
constructor() {
|
|
381
381
|
super(e, r, i), this.$$p_d = t;
|
|
382
382
|
}
|
|
@@ -404,7 +404,7 @@ function bn(e, t, r, n, i, o) {
|
|
|
404
404
|
}), e.element = /** @type {any} */
|
|
405
405
|
s, s;
|
|
406
406
|
}
|
|
407
|
-
class
|
|
407
|
+
class pn {
|
|
408
408
|
/**
|
|
409
409
|
* ### PRIVATE API
|
|
410
410
|
*
|
|
@@ -423,7 +423,7 @@ class gn {
|
|
|
423
423
|
$$set = void 0;
|
|
424
424
|
/** @returns {void} */
|
|
425
425
|
$destroy() {
|
|
426
|
-
|
|
426
|
+
ln(this, 1), this.$destroy = G;
|
|
427
427
|
}
|
|
428
428
|
/**
|
|
429
429
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -432,7 +432,7 @@ class gn {
|
|
|
432
432
|
* @returns {() => void}
|
|
433
433
|
*/
|
|
434
434
|
$on(t, r) {
|
|
435
|
-
if (!
|
|
435
|
+
if (!Ct(r))
|
|
436
436
|
return G;
|
|
437
437
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
438
438
|
return n.push(r), () => {
|
|
@@ -445,11 +445,11 @@ class gn {
|
|
|
445
445
|
* @returns {void}
|
|
446
446
|
*/
|
|
447
447
|
$set(t) {
|
|
448
|
-
this.$$set && !
|
|
448
|
+
this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
const
|
|
452
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
451
|
+
const dn = "4";
|
|
452
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
|
|
453
453
|
/*! *****************************************************************************
|
|
454
454
|
Copyright (c) Microsoft Corporation.
|
|
455
455
|
|
|
@@ -464,18 +464,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
464
464
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
465
465
|
PERFORMANCE OF THIS SOFTWARE.
|
|
466
466
|
***************************************************************************** */
|
|
467
|
-
var
|
|
468
|
-
return
|
|
467
|
+
var vt = function(e, t) {
|
|
468
|
+
return vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
469
469
|
r.__proto__ = n;
|
|
470
470
|
} || function(r, n) {
|
|
471
471
|
for (var i in n)
|
|
472
472
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
473
|
-
},
|
|
473
|
+
}, vt(e, t);
|
|
474
474
|
};
|
|
475
475
|
function te(e, t) {
|
|
476
476
|
if (typeof t != "function" && t !== null)
|
|
477
477
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
478
|
-
|
|
478
|
+
vt(e, t);
|
|
479
479
|
function r() {
|
|
480
480
|
this.constructor = e;
|
|
481
481
|
}
|
|
@@ -491,7 +491,7 @@ var T = function() {
|
|
|
491
491
|
return t;
|
|
492
492
|
}, T.apply(this, arguments);
|
|
493
493
|
};
|
|
494
|
-
function
|
|
494
|
+
function mn(e, t) {
|
|
495
495
|
var r = {};
|
|
496
496
|
for (var n in e)
|
|
497
497
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -500,7 +500,7 @@ function vn(e, t) {
|
|
|
500
500
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
501
501
|
return r;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function _t(e) {
|
|
504
504
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
505
505
|
if (r)
|
|
506
506
|
return r.call(e);
|
|
@@ -512,7 +512,7 @@ function Et(e) {
|
|
|
512
512
|
};
|
|
513
513
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Et(e, t) {
|
|
516
516
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
517
517
|
if (!r)
|
|
518
518
|
return e;
|
|
@@ -541,13 +541,13 @@ function Te(e, t, r) {
|
|
|
541
541
|
function ee(e) {
|
|
542
542
|
return typeof e == "function";
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function pr(e) {
|
|
545
545
|
var t = function(n) {
|
|
546
546
|
Error.call(n), n.stack = new Error().stack;
|
|
547
547
|
}, r = e(t);
|
|
548
548
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
549
549
|
}
|
|
550
|
-
var ht =
|
|
550
|
+
var ht = pr(function(e) {
|
|
551
551
|
return function(r) {
|
|
552
552
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
553
553
|
` + r.map(function(n, i) {
|
|
@@ -556,7 +556,7 @@ var ht = br(function(e) {
|
|
|
556
556
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
557
557
|
};
|
|
558
558
|
});
|
|
559
|
-
function
|
|
559
|
+
function xt(e, t) {
|
|
560
560
|
if (e) {
|
|
561
561
|
var r = e.indexOf(t);
|
|
562
562
|
0 <= r && e.splice(r, 1);
|
|
@@ -574,7 +574,7 @@ var rt = function() {
|
|
|
574
574
|
if (s)
|
|
575
575
|
if (this._parentage = null, Array.isArray(s))
|
|
576
576
|
try {
|
|
577
|
-
for (var a =
|
|
577
|
+
for (var a = _t(s), l = a.next(); !l.done; l = a.next()) {
|
|
578
578
|
var u = l.value;
|
|
579
579
|
u.remove(this);
|
|
580
580
|
}
|
|
@@ -601,12 +601,12 @@ var rt = function() {
|
|
|
601
601
|
if (c) {
|
|
602
602
|
this._finalizers = null;
|
|
603
603
|
try {
|
|
604
|
-
for (var p =
|
|
604
|
+
for (var p = _t(c), y = p.next(); !y.done; y = p.next()) {
|
|
605
605
|
var v = y.value;
|
|
606
606
|
try {
|
|
607
|
-
|
|
607
|
+
Gt(v);
|
|
608
608
|
} catch (b) {
|
|
609
|
-
o = o ?? [], b instanceof ht ? o = Te(Te([],
|
|
609
|
+
o = o ?? [], b instanceof ht ? o = Te(Te([], Et(o)), Et(b.errors)) : o.push(b);
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
} catch (b) {
|
|
@@ -627,7 +627,7 @@ var rt = function() {
|
|
|
627
627
|
var r;
|
|
628
628
|
if (t && t !== this)
|
|
629
629
|
if (this.closed)
|
|
630
|
-
|
|
630
|
+
Gt(t);
|
|
631
631
|
else {
|
|
632
632
|
if (t instanceof e) {
|
|
633
633
|
if (t.closed || t._hasParent(this))
|
|
@@ -644,56 +644,52 @@ var rt = function() {
|
|
|
644
644
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
645
645
|
}, e.prototype._removeParent = function(t) {
|
|
646
646
|
var r = this._parentage;
|
|
647
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
647
|
+
r === t ? this._parentage = null : Array.isArray(r) && xt(r, t);
|
|
648
648
|
}, e.prototype.remove = function(t) {
|
|
649
649
|
var r = this._finalizers;
|
|
650
|
-
r &&
|
|
650
|
+
r && xt(r, t), t instanceof e && t._removeParent(this);
|
|
651
651
|
}, e.EMPTY = function() {
|
|
652
652
|
var t = new e();
|
|
653
653
|
return t.closed = !0, t;
|
|
654
654
|
}(), e;
|
|
655
|
-
}(),
|
|
656
|
-
function
|
|
655
|
+
}(), dr = rt.EMPTY;
|
|
656
|
+
function mr(e) {
|
|
657
657
|
return e instanceof rt || e && "closed" in e && ee(e.remove) && ee(e.add) && ee(e.unsubscribe);
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function Gt(e) {
|
|
660
660
|
ee(e) ? e() : e.unsubscribe();
|
|
661
661
|
}
|
|
662
|
-
var
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
Promise: void 0,
|
|
666
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
667
|
-
useDeprecatedNextContext: !1
|
|
668
|
-
}, _n = {
|
|
662
|
+
var bn = {
|
|
663
|
+
Promise: void 0
|
|
664
|
+
}, gn = {
|
|
669
665
|
setTimeout: function(e, t) {
|
|
670
666
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
667
|
r[n - 2] = arguments[n];
|
|
672
|
-
return setTimeout.apply(void 0, Te([e, t],
|
|
668
|
+
return setTimeout.apply(void 0, Te([e, t], Et(r)));
|
|
673
669
|
},
|
|
674
670
|
clearTimeout: function(e) {
|
|
675
671
|
return clearTimeout(e);
|
|
676
672
|
},
|
|
677
673
|
delegate: void 0
|
|
678
674
|
};
|
|
679
|
-
function
|
|
680
|
-
|
|
675
|
+
function yn(e) {
|
|
676
|
+
gn.setTimeout(function() {
|
|
681
677
|
throw e;
|
|
682
678
|
});
|
|
683
679
|
}
|
|
684
|
-
function
|
|
680
|
+
function kt() {
|
|
685
681
|
}
|
|
686
682
|
function Ye(e) {
|
|
687
683
|
e();
|
|
688
684
|
}
|
|
689
|
-
var
|
|
685
|
+
var br = function(e) {
|
|
690
686
|
te(t, e);
|
|
691
687
|
function t(r) {
|
|
692
688
|
var n = e.call(this) || this;
|
|
693
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
689
|
+
return n.isStopped = !1, r ? (n.destination = r, mr(r) && r.add(n)) : n.destination = En, n;
|
|
694
690
|
}
|
|
695
691
|
return t.create = function(r, n, i) {
|
|
696
|
-
return new
|
|
692
|
+
return new St(r, n, i);
|
|
697
693
|
}, t.prototype.next = function(r) {
|
|
698
694
|
this.isStopped || this._next(r);
|
|
699
695
|
}, t.prototype.error = function(r) {
|
|
@@ -717,11 +713,7 @@ var _r = function(e) {
|
|
|
717
713
|
this.unsubscribe();
|
|
718
714
|
}
|
|
719
715
|
}, t;
|
|
720
|
-
}(rt),
|
|
721
|
-
function ct(e, t) {
|
|
722
|
-
return xn.call(e, t);
|
|
723
|
-
}
|
|
724
|
-
var Sn = function() {
|
|
716
|
+
}(rt), vn = function() {
|
|
725
717
|
function e(t) {
|
|
726
718
|
this.partialObserver = t;
|
|
727
719
|
}
|
|
@@ -752,55 +744,43 @@ var Sn = function() {
|
|
|
752
744
|
Je(r);
|
|
753
745
|
}
|
|
754
746
|
}, e;
|
|
755
|
-
}(),
|
|
747
|
+
}(), St = function(e) {
|
|
756
748
|
te(t, e);
|
|
757
749
|
function t(r, n, i) {
|
|
758
750
|
var o = e.call(this) || this, s;
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
};
|
|
765
|
-
else {
|
|
766
|
-
var a;
|
|
767
|
-
o && vr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
768
|
-
return o.unsubscribe();
|
|
769
|
-
}, s = {
|
|
770
|
-
next: r.next && ct(r.next, a),
|
|
771
|
-
error: r.error && ct(r.error, a),
|
|
772
|
-
complete: r.complete && ct(r.complete, a)
|
|
773
|
-
}) : s = r;
|
|
774
|
-
}
|
|
775
|
-
return o.destination = new Sn(s), o;
|
|
751
|
+
return ee(r) || !r ? s = {
|
|
752
|
+
next: r ?? void 0,
|
|
753
|
+
error: n ?? void 0,
|
|
754
|
+
complete: i ?? void 0
|
|
755
|
+
} : s = r, o.destination = new vn(s), o;
|
|
776
756
|
}
|
|
777
757
|
return t;
|
|
778
|
-
}(
|
|
758
|
+
}(br);
|
|
779
759
|
function Je(e) {
|
|
780
|
-
|
|
760
|
+
yn(e);
|
|
781
761
|
}
|
|
782
|
-
function
|
|
762
|
+
function _n(e) {
|
|
783
763
|
throw e;
|
|
784
764
|
}
|
|
785
|
-
var
|
|
765
|
+
var En = {
|
|
786
766
|
closed: !0,
|
|
787
|
-
next:
|
|
788
|
-
error:
|
|
789
|
-
complete:
|
|
790
|
-
},
|
|
767
|
+
next: kt,
|
|
768
|
+
error: _n,
|
|
769
|
+
complete: kt
|
|
770
|
+
}, xn = function() {
|
|
791
771
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
792
772
|
}();
|
|
793
|
-
function
|
|
773
|
+
function Sn(e) {
|
|
794
774
|
return e;
|
|
795
775
|
}
|
|
796
|
-
function
|
|
797
|
-
return e.length === 0 ?
|
|
776
|
+
function Tn(e) {
|
|
777
|
+
return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
|
|
798
778
|
return e.reduce(function(n, i) {
|
|
799
779
|
return i(n);
|
|
800
780
|
}, r);
|
|
801
781
|
};
|
|
802
782
|
}
|
|
803
|
-
var
|
|
783
|
+
var jt = function() {
|
|
804
784
|
function e(t) {
|
|
805
785
|
t && (this._subscribe = t);
|
|
806
786
|
}
|
|
@@ -808,7 +788,7 @@ var Vt = function() {
|
|
|
808
788
|
var r = new e();
|
|
809
789
|
return r.source = this, r.operator = t, r;
|
|
810
790
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
811
|
-
var i = this, o =
|
|
791
|
+
var i = this, o = Hn(t) ? t : new St(t, r, n);
|
|
812
792
|
return Ye(function() {
|
|
813
793
|
var s = i, a = s.operator, l = s.source;
|
|
814
794
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -821,8 +801,8 @@ var Vt = function() {
|
|
|
821
801
|
}
|
|
822
802
|
}, e.prototype.forEach = function(t, r) {
|
|
823
803
|
var n = this;
|
|
824
|
-
return r =
|
|
825
|
-
var s = new
|
|
804
|
+
return r = $t(r), new r(function(i, o) {
|
|
805
|
+
var s = new St({
|
|
826
806
|
next: function(a) {
|
|
827
807
|
try {
|
|
828
808
|
t(a);
|
|
@@ -838,15 +818,15 @@ var Vt = function() {
|
|
|
838
818
|
}, e.prototype._subscribe = function(t) {
|
|
839
819
|
var r;
|
|
840
820
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
841
|
-
}, e.prototype[
|
|
821
|
+
}, e.prototype[xn] = function() {
|
|
842
822
|
return this;
|
|
843
823
|
}, e.prototype.pipe = function() {
|
|
844
824
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
845
825
|
t[r] = arguments[r];
|
|
846
|
-
return
|
|
826
|
+
return Tn(t)(this);
|
|
847
827
|
}, e.prototype.toPromise = function(t) {
|
|
848
828
|
var r = this;
|
|
849
|
-
return t =
|
|
829
|
+
return t = $t(t), new t(function(n, i) {
|
|
850
830
|
var o;
|
|
851
831
|
r.subscribe(function(s) {
|
|
852
832
|
return o = s;
|
|
@@ -860,32 +840,32 @@ var Vt = function() {
|
|
|
860
840
|
return new e(t);
|
|
861
841
|
}, e;
|
|
862
842
|
}();
|
|
863
|
-
function
|
|
843
|
+
function $t(e) {
|
|
864
844
|
var t;
|
|
865
|
-
return (t = e ??
|
|
845
|
+
return (t = e ?? bn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
866
846
|
}
|
|
867
|
-
function
|
|
847
|
+
function wn(e) {
|
|
868
848
|
return e && ee(e.next) && ee(e.error) && ee(e.complete);
|
|
869
849
|
}
|
|
870
|
-
function
|
|
871
|
-
return e && e instanceof
|
|
850
|
+
function Hn(e) {
|
|
851
|
+
return e && e instanceof br || wn(e) && mr(e);
|
|
872
852
|
}
|
|
873
|
-
var
|
|
853
|
+
var An = pr(function(e) {
|
|
874
854
|
return function() {
|
|
875
855
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
876
856
|
};
|
|
877
|
-
}),
|
|
857
|
+
}), gr = function(e) {
|
|
878
858
|
te(t, e);
|
|
879
859
|
function t() {
|
|
880
860
|
var r = e.call(this) || this;
|
|
881
861
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
882
862
|
}
|
|
883
863
|
return t.prototype.lift = function(r) {
|
|
884
|
-
var n = new
|
|
864
|
+
var n = new Ft(this, this);
|
|
885
865
|
return n.operator = r, n;
|
|
886
866
|
}, t.prototype._throwIfClosed = function() {
|
|
887
867
|
if (this.closed)
|
|
888
|
-
throw new
|
|
868
|
+
throw new An();
|
|
889
869
|
}, t.prototype.next = function(r) {
|
|
890
870
|
var n = this;
|
|
891
871
|
Ye(function() {
|
|
@@ -893,7 +873,7 @@ var Cn = br(function(e) {
|
|
|
893
873
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
894
874
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
895
875
|
try {
|
|
896
|
-
for (var s =
|
|
876
|
+
for (var s = _t(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
897
877
|
var l = a.value;
|
|
898
878
|
l.next(r);
|
|
899
879
|
}
|
|
@@ -942,19 +922,19 @@ var Cn = br(function(e) {
|
|
|
942
922
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
943
923
|
}, t.prototype._innerSubscribe = function(r) {
|
|
944
924
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
945
|
-
return o || s ?
|
|
946
|
-
n.currentObservers = null,
|
|
925
|
+
return o || s ? dr : (this.currentObservers = null, a.push(r), new rt(function() {
|
|
926
|
+
n.currentObservers = null, xt(a, r);
|
|
947
927
|
}));
|
|
948
928
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
949
929
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
950
930
|
i ? r.error(o) : s && r.complete();
|
|
951
931
|
}, t.prototype.asObservable = function() {
|
|
952
|
-
var r = new
|
|
932
|
+
var r = new jt();
|
|
953
933
|
return r.source = this, r;
|
|
954
934
|
}, t.create = function(r, n) {
|
|
955
|
-
return new
|
|
935
|
+
return new Ft(r, n);
|
|
956
936
|
}, t;
|
|
957
|
-
}(
|
|
937
|
+
}(jt), Ft = function(e) {
|
|
958
938
|
te(t, e);
|
|
959
939
|
function t(r, n) {
|
|
960
940
|
var i = e.call(this) || this;
|
|
@@ -971,17 +951,17 @@ var Cn = br(function(e) {
|
|
|
971
951
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
972
952
|
}, t.prototype._subscribe = function(r) {
|
|
973
953
|
var n, i;
|
|
974
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
954
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : dr;
|
|
975
955
|
}, t;
|
|
976
|
-
}(
|
|
956
|
+
}(gr), yr = {
|
|
977
957
|
now: function() {
|
|
978
|
-
return (
|
|
958
|
+
return (yr.delegate || Date).now();
|
|
979
959
|
},
|
|
980
960
|
delegate: void 0
|
|
981
|
-
},
|
|
961
|
+
}, Bn = function(e) {
|
|
982
962
|
te(t, e);
|
|
983
963
|
function t(r, n, i) {
|
|
984
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
964
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = yr);
|
|
985
965
|
var o = e.call(this) || this;
|
|
986
966
|
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;
|
|
987
967
|
}
|
|
@@ -1001,15 +981,15 @@ var Cn = br(function(e) {
|
|
|
1001
981
|
u && o.splice(0, u + 1);
|
|
1002
982
|
}
|
|
1003
983
|
}, t;
|
|
1004
|
-
}(
|
|
1005
|
-
const
|
|
1006
|
-
if (
|
|
1007
|
-
const r = new
|
|
1008
|
-
|
|
984
|
+
}(gr);
|
|
985
|
+
const Vt = [], Wt = {}, Pn = (e, t = 0) => {
|
|
986
|
+
if (Vt.indexOf(e) == -1) {
|
|
987
|
+
const r = new Bn(t);
|
|
988
|
+
Wt[e] = r, Vt.push(e);
|
|
1009
989
|
}
|
|
1010
|
-
return
|
|
990
|
+
return Wt[e];
|
|
1011
991
|
}, Ee = [];
|
|
1012
|
-
function
|
|
992
|
+
function Ln(e, t) {
|
|
1013
993
|
return {
|
|
1014
994
|
subscribe: nt(e, t).subscribe
|
|
1015
995
|
};
|
|
@@ -1018,7 +998,7 @@ function nt(e, t = G) {
|
|
|
1018
998
|
let r;
|
|
1019
999
|
const n = /* @__PURE__ */ new Set();
|
|
1020
1000
|
function i(a) {
|
|
1021
|
-
if (
|
|
1001
|
+
if (hr(e, a) && (e = a, r)) {
|
|
1022
1002
|
const l = !Ee.length;
|
|
1023
1003
|
for (const u of n)
|
|
1024
1004
|
u[1](), Ee.push(u, e);
|
|
@@ -1045,7 +1025,7 @@ function Pe(e, t, r) {
|
|
|
1045
1025
|
if (!i.every(Boolean))
|
|
1046
1026
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1047
1027
|
const o = t.length < 2;
|
|
1048
|
-
return
|
|
1028
|
+
return Ln(r, (s, a) => {
|
|
1049
1029
|
let l = !1;
|
|
1050
1030
|
const u = [];
|
|
1051
1031
|
let h = 0, c = G;
|
|
@@ -1054,9 +1034,9 @@ function Pe(e, t, r) {
|
|
|
1054
1034
|
return;
|
|
1055
1035
|
c();
|
|
1056
1036
|
const v = t(n ? u[0] : u, s, a);
|
|
1057
|
-
o ? s(v) : c =
|
|
1037
|
+
o ? s(v) : c = Ct(v) ? v : G;
|
|
1058
1038
|
}, y = i.map(
|
|
1059
|
-
(v, b) =>
|
|
1039
|
+
(v, b) => Vr(
|
|
1060
1040
|
v,
|
|
1061
1041
|
(_) => {
|
|
1062
1042
|
u[b] = _, h &= ~(1 << b), l && p();
|
|
@@ -1071,70 +1051,70 @@ function Pe(e, t, r) {
|
|
|
1071
1051
|
};
|
|
1072
1052
|
});
|
|
1073
1053
|
}
|
|
1074
|
-
function
|
|
1054
|
+
function On(e) {
|
|
1075
1055
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1076
1056
|
}
|
|
1077
|
-
var
|
|
1078
|
-
return
|
|
1057
|
+
var Cn = function(t) {
|
|
1058
|
+
return In(t) && !Nn(t);
|
|
1079
1059
|
};
|
|
1080
|
-
function
|
|
1060
|
+
function In(e) {
|
|
1081
1061
|
return !!e && typeof e == "object";
|
|
1082
1062
|
}
|
|
1083
|
-
function
|
|
1063
|
+
function Nn(e) {
|
|
1084
1064
|
var t = Object.prototype.toString.call(e);
|
|
1085
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1065
|
+
return t === "[object RegExp]" || t === "[object Date]" || Un(e);
|
|
1086
1066
|
}
|
|
1087
|
-
var
|
|
1088
|
-
function
|
|
1089
|
-
return e.$$typeof ===
|
|
1067
|
+
var Mn = typeof Symbol == "function" && Symbol.for, Rn = Mn ? Symbol.for("react.element") : 60103;
|
|
1068
|
+
function Un(e) {
|
|
1069
|
+
return e.$$typeof === Rn;
|
|
1090
1070
|
}
|
|
1091
|
-
function
|
|
1071
|
+
function Dn(e) {
|
|
1092
1072
|
return Array.isArray(e) ? [] : {};
|
|
1093
1073
|
}
|
|
1094
1074
|
function Ge(e, t) {
|
|
1095
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? we(
|
|
1075
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? we(Dn(e), e, t) : e;
|
|
1096
1076
|
}
|
|
1097
|
-
function
|
|
1077
|
+
function Gn(e, t, r) {
|
|
1098
1078
|
return e.concat(t).map(function(n) {
|
|
1099
1079
|
return Ge(n, r);
|
|
1100
1080
|
});
|
|
1101
1081
|
}
|
|
1102
|
-
function
|
|
1082
|
+
function kn(e, t) {
|
|
1103
1083
|
if (!t.customMerge)
|
|
1104
1084
|
return we;
|
|
1105
1085
|
var r = t.customMerge(e);
|
|
1106
1086
|
return typeof r == "function" ? r : we;
|
|
1107
1087
|
}
|
|
1108
|
-
function
|
|
1088
|
+
function jn(e) {
|
|
1109
1089
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1110
1090
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1111
1091
|
}) : [];
|
|
1112
1092
|
}
|
|
1113
|
-
function
|
|
1114
|
-
return Object.keys(e).concat(
|
|
1093
|
+
function Xt(e) {
|
|
1094
|
+
return Object.keys(e).concat(jn(e));
|
|
1115
1095
|
}
|
|
1116
|
-
function
|
|
1096
|
+
function vr(e, t) {
|
|
1117
1097
|
try {
|
|
1118
1098
|
return t in e;
|
|
1119
1099
|
} catch {
|
|
1120
1100
|
return !1;
|
|
1121
1101
|
}
|
|
1122
1102
|
}
|
|
1123
|
-
function
|
|
1124
|
-
return
|
|
1103
|
+
function $n(e, t) {
|
|
1104
|
+
return vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1125
1105
|
}
|
|
1126
|
-
function
|
|
1106
|
+
function Fn(e, t, r) {
|
|
1127
1107
|
var n = {};
|
|
1128
|
-
return r.isMergeableObject(e) &&
|
|
1108
|
+
return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
|
|
1129
1109
|
n[i] = Ge(e[i], r);
|
|
1130
|
-
}),
|
|
1131
|
-
|
|
1110
|
+
}), Xt(t).forEach(function(i) {
|
|
1111
|
+
$n(e, i) || (vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = kn(i, r)(e[i], t[i], r) : n[i] = Ge(t[i], r));
|
|
1132
1112
|
}), n;
|
|
1133
1113
|
}
|
|
1134
1114
|
function we(e, t, r) {
|
|
1135
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1115
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || Cn, r.cloneUnlessOtherwiseSpecified = Ge;
|
|
1136
1116
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1137
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1117
|
+
return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : Ge(t, r);
|
|
1138
1118
|
}
|
|
1139
1119
|
we.all = function(t, r) {
|
|
1140
1120
|
if (!Array.isArray(t))
|
|
@@ -1143,58 +1123,56 @@ we.all = function(t, r) {
|
|
|
1143
1123
|
return we(n, i, r);
|
|
1144
1124
|
}, {});
|
|
1145
1125
|
};
|
|
1146
|
-
var
|
|
1147
|
-
const
|
|
1148
|
-
function
|
|
1149
|
-
var r = t && t.cache ? t.cache :
|
|
1126
|
+
var Vn = we, Wn = Vn;
|
|
1127
|
+
const Xn = /* @__PURE__ */ On(Wn);
|
|
1128
|
+
function ct(e, t) {
|
|
1129
|
+
var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Zn;
|
|
1150
1130
|
return i(e, {
|
|
1151
1131
|
cache: r,
|
|
1152
1132
|
serializer: n
|
|
1153
1133
|
});
|
|
1154
1134
|
}
|
|
1155
|
-
function
|
|
1135
|
+
function zn(e) {
|
|
1156
1136
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1157
1137
|
}
|
|
1158
|
-
function
|
|
1159
|
-
var i =
|
|
1138
|
+
function Jn(e, t, r, n) {
|
|
1139
|
+
var i = zn(n) ? n : r(n), o = t.get(i);
|
|
1160
1140
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1161
1141
|
}
|
|
1162
|
-
function
|
|
1142
|
+
function _r(e, t, r) {
|
|
1163
1143
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1164
1144
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1165
1145
|
}
|
|
1166
|
-
function
|
|
1146
|
+
function Er(e, t, r, n, i) {
|
|
1167
1147
|
return r.bind(t, e, n, i);
|
|
1168
1148
|
}
|
|
1169
|
-
function
|
|
1170
|
-
var r = e.length === 1 ?
|
|
1171
|
-
return
|
|
1149
|
+
function Zn(e, t) {
|
|
1150
|
+
var r = e.length === 1 ? Jn : _r;
|
|
1151
|
+
return Er(e, this, r, t.cache.create(), t.serializer);
|
|
1172
1152
|
}
|
|
1173
|
-
function
|
|
1174
|
-
return
|
|
1153
|
+
function Qn(e, t) {
|
|
1154
|
+
return Er(e, this, _r, t.cache.create(), t.serializer);
|
|
1175
1155
|
}
|
|
1176
|
-
function
|
|
1177
|
-
return Nt(e, this, Tr, t.cache.create(), t.serializer);
|
|
1178
|
-
}
|
|
1179
|
-
var ti = function() {
|
|
1156
|
+
var Yn = function() {
|
|
1180
1157
|
return JSON.stringify(arguments);
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1158
|
+
}, qn = (
|
|
1159
|
+
/** @class */
|
|
1160
|
+
function() {
|
|
1161
|
+
function e() {
|
|
1162
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1163
|
+
}
|
|
1164
|
+
return e.prototype.get = function(t) {
|
|
1165
|
+
return this.cache[t];
|
|
1166
|
+
}, e.prototype.set = function(t, r) {
|
|
1167
|
+
this.cache[t] = r;
|
|
1168
|
+
}, e;
|
|
1169
|
+
}()
|
|
1170
|
+
), Kn = {
|
|
1192
1171
|
create: function() {
|
|
1193
|
-
return new
|
|
1172
|
+
return new qn();
|
|
1194
1173
|
}
|
|
1195
|
-
},
|
|
1196
|
-
variadic:
|
|
1197
|
-
monadic: ei
|
|
1174
|
+
}, ft = {
|
|
1175
|
+
variadic: Qn
|
|
1198
1176
|
}, E;
|
|
1199
1177
|
(function(e) {
|
|
1200
1178
|
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";
|
|
@@ -1207,43 +1185,43 @@ var He;
|
|
|
1207
1185
|
(function(e) {
|
|
1208
1186
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1209
1187
|
})(He || (He = {}));
|
|
1210
|
-
function
|
|
1188
|
+
function zt(e) {
|
|
1211
1189
|
return e.type === P.literal;
|
|
1212
1190
|
}
|
|
1213
|
-
function
|
|
1191
|
+
function ei(e) {
|
|
1214
1192
|
return e.type === P.argument;
|
|
1215
1193
|
}
|
|
1216
|
-
function
|
|
1194
|
+
function xr(e) {
|
|
1217
1195
|
return e.type === P.number;
|
|
1218
1196
|
}
|
|
1219
|
-
function
|
|
1197
|
+
function Sr(e) {
|
|
1220
1198
|
return e.type === P.date;
|
|
1221
1199
|
}
|
|
1222
|
-
function
|
|
1200
|
+
function Tr(e) {
|
|
1223
1201
|
return e.type === P.time;
|
|
1224
1202
|
}
|
|
1225
|
-
function
|
|
1203
|
+
function wr(e) {
|
|
1226
1204
|
return e.type === P.select;
|
|
1227
1205
|
}
|
|
1228
|
-
function
|
|
1206
|
+
function Hr(e) {
|
|
1229
1207
|
return e.type === P.plural;
|
|
1230
1208
|
}
|
|
1231
|
-
function
|
|
1209
|
+
function ti(e) {
|
|
1232
1210
|
return e.type === P.pound;
|
|
1233
1211
|
}
|
|
1234
|
-
function
|
|
1212
|
+
function Ar(e) {
|
|
1235
1213
|
return e.type === P.tag;
|
|
1236
1214
|
}
|
|
1237
|
-
function
|
|
1215
|
+
function Br(e) {
|
|
1238
1216
|
return !!(e && typeof e == "object" && e.type === He.number);
|
|
1239
1217
|
}
|
|
1240
|
-
function
|
|
1218
|
+
function Tt(e) {
|
|
1241
1219
|
return !!(e && typeof e == "object" && e.type === He.dateTime);
|
|
1242
1220
|
}
|
|
1243
|
-
var
|
|
1244
|
-
function
|
|
1221
|
+
var Pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ri = /(?:[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;
|
|
1222
|
+
function ni(e) {
|
|
1245
1223
|
var t = {};
|
|
1246
|
-
return e.replace(
|
|
1224
|
+
return e.replace(ri, function(r) {
|
|
1247
1225
|
var n = r.length;
|
|
1248
1226
|
switch (r[0]) {
|
|
1249
1227
|
case "G":
|
|
@@ -1332,11 +1310,11 @@ function si(e) {
|
|
|
1332
1310
|
return "";
|
|
1333
1311
|
}), t;
|
|
1334
1312
|
}
|
|
1335
|
-
var
|
|
1336
|
-
function
|
|
1313
|
+
var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1314
|
+
function oi(e) {
|
|
1337
1315
|
if (e.length === 0)
|
|
1338
1316
|
throw new Error("Number skeleton cannot be empty");
|
|
1339
|
-
for (var t = e.split(
|
|
1317
|
+
for (var t = e.split(ii).filter(function(p) {
|
|
1340
1318
|
return p.length > 0;
|
|
1341
1319
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1342
1320
|
var o = i[n], s = o.split("/");
|
|
@@ -1351,17 +1329,17 @@ function ui(e) {
|
|
|
1351
1329
|
}
|
|
1352
1330
|
return r;
|
|
1353
1331
|
}
|
|
1354
|
-
function
|
|
1332
|
+
function si(e) {
|
|
1355
1333
|
return e.replace(/^(.*?)-/, "");
|
|
1356
1334
|
}
|
|
1357
|
-
var
|
|
1358
|
-
function
|
|
1335
|
+
var Jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lr = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
|
|
1336
|
+
function Zt(e) {
|
|
1359
1337
|
var t = {};
|
|
1360
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1338
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lr, function(r, n, i) {
|
|
1361
1339
|
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)), "";
|
|
1362
1340
|
}), t;
|
|
1363
1341
|
}
|
|
1364
|
-
function
|
|
1342
|
+
function Cr(e) {
|
|
1365
1343
|
switch (e) {
|
|
1366
1344
|
case "sign-auto":
|
|
1367
1345
|
return {
|
|
@@ -1401,7 +1379,7 @@ function Rr(e) {
|
|
|
1401
1379
|
};
|
|
1402
1380
|
}
|
|
1403
1381
|
}
|
|
1404
|
-
function
|
|
1382
|
+
function ui(e) {
|
|
1405
1383
|
var t;
|
|
1406
1384
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1407
1385
|
notation: "engineering"
|
|
@@ -1409,17 +1387,17 @@ function ci(e) {
|
|
|
1409
1387
|
notation: "scientific"
|
|
1410
1388
|
}, e = e.slice(1)), t) {
|
|
1411
1389
|
var r = e.slice(0, 2);
|
|
1412
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1390
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
|
|
1413
1391
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1414
1392
|
t.minimumIntegerDigits = e.length;
|
|
1415
1393
|
}
|
|
1416
1394
|
return t;
|
|
1417
1395
|
}
|
|
1418
|
-
function
|
|
1419
|
-
var t = {}, r =
|
|
1396
|
+
function Qt(e) {
|
|
1397
|
+
var t = {}, r = Cr(e);
|
|
1420
1398
|
return r || t;
|
|
1421
1399
|
}
|
|
1422
|
-
function
|
|
1400
|
+
function li(e) {
|
|
1423
1401
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1424
1402
|
var i = n[r];
|
|
1425
1403
|
switch (i.stem) {
|
|
@@ -1443,7 +1421,7 @@ function fi(e) {
|
|
|
1443
1421
|
continue;
|
|
1444
1422
|
case "measure-unit":
|
|
1445
1423
|
case "unit":
|
|
1446
|
-
t.style = "unit", t.unit =
|
|
1424
|
+
t.style = "unit", t.unit = si(i.options[0]);
|
|
1447
1425
|
continue;
|
|
1448
1426
|
case "compact-short":
|
|
1449
1427
|
case "K":
|
|
@@ -1455,12 +1433,12 @@ function fi(e) {
|
|
|
1455
1433
|
continue;
|
|
1456
1434
|
case "scientific":
|
|
1457
1435
|
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1458
|
-
return T(T({}, l),
|
|
1436
|
+
return T(T({}, l), Qt(u));
|
|
1459
1437
|
}, {}));
|
|
1460
1438
|
continue;
|
|
1461
1439
|
case "engineering":
|
|
1462
1440
|
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1463
|
-
return T(T({}, l),
|
|
1441
|
+
return T(T({}, l), Qt(u));
|
|
1464
1442
|
}, {}));
|
|
1465
1443
|
continue;
|
|
1466
1444
|
case "notation-simple":
|
|
@@ -1505,7 +1483,7 @@ function fi(e) {
|
|
|
1505
1483
|
case "integer-width":
|
|
1506
1484
|
if (i.options.length > 1)
|
|
1507
1485
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1508
|
-
i.options[0].replace(
|
|
1486
|
+
i.options[0].replace(ai, function(l, u, h, c, p, y) {
|
|
1509
1487
|
if (u)
|
|
1510
1488
|
t.minimumIntegerDigits = h.length;
|
|
1511
1489
|
else {
|
|
@@ -1518,27 +1496,27 @@ function fi(e) {
|
|
|
1518
1496
|
});
|
|
1519
1497
|
continue;
|
|
1520
1498
|
}
|
|
1521
|
-
if (
|
|
1499
|
+
if (Or.test(i.stem)) {
|
|
1522
1500
|
t.minimumIntegerDigits = i.stem.length;
|
|
1523
1501
|
continue;
|
|
1524
1502
|
}
|
|
1525
|
-
if (
|
|
1503
|
+
if (Jt.test(i.stem)) {
|
|
1526
1504
|
if (i.options.length > 1)
|
|
1527
1505
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1528
|
-
i.stem.replace(
|
|
1506
|
+
i.stem.replace(Jt, function(l, u, h, c, p, y) {
|
|
1529
1507
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1530
1508
|
});
|
|
1531
1509
|
var o = i.options[0];
|
|
1532
|
-
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t),
|
|
1510
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Zt(o)));
|
|
1533
1511
|
continue;
|
|
1534
1512
|
}
|
|
1535
|
-
if (
|
|
1536
|
-
t = T(T({}, t),
|
|
1513
|
+
if (Lr.test(i.stem)) {
|
|
1514
|
+
t = T(T({}, t), Zt(i.stem));
|
|
1537
1515
|
continue;
|
|
1538
1516
|
}
|
|
1539
|
-
var s =
|
|
1517
|
+
var s = Cr(i.stem);
|
|
1540
1518
|
s && (t = T(T({}, t), s));
|
|
1541
|
-
var a =
|
|
1519
|
+
var a = ui(i.stem);
|
|
1542
1520
|
a && (t = T(T({}, t), a));
|
|
1543
1521
|
}
|
|
1544
1522
|
return t;
|
|
@@ -2958,13 +2936,13 @@ var Ze = {
|
|
|
2958
2936
|
"h"
|
|
2959
2937
|
]
|
|
2960
2938
|
};
|
|
2961
|
-
function
|
|
2939
|
+
function hi(e, t) {
|
|
2962
2940
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2963
2941
|
var i = e.charAt(n);
|
|
2964
2942
|
if (i === "j") {
|
|
2965
2943
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2966
2944
|
o++, n++;
|
|
2967
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2945
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ci(t);
|
|
2968
2946
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2969
2947
|
r += l;
|
|
2970
2948
|
for (; s-- > 0; )
|
|
@@ -2974,7 +2952,7 @@ function pi(e, t) {
|
|
|
2974
2952
|
}
|
|
2975
2953
|
return r;
|
|
2976
2954
|
}
|
|
2977
|
-
function
|
|
2955
|
+
function ci(e) {
|
|
2978
2956
|
var t = e.hourCycle;
|
|
2979
2957
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2980
2958
|
e.hourCycles && // @ts-ignore
|
|
@@ -2996,20 +2974,20 @@ function di(e) {
|
|
|
2996
2974
|
var i = Ze[n || ""] || Ze[r || ""] || Ze["".concat(r, "-001")] || Ze["001"];
|
|
2997
2975
|
return i[0];
|
|
2998
2976
|
}
|
|
2999
|
-
var
|
|
2977
|
+
var pt, fi = new RegExp("^".concat(Pr.source, "*")), pi = new RegExp("".concat(Pr.source, "*$"));
|
|
3000
2978
|
function x(e, t) {
|
|
3001
2979
|
return { start: e, end: t };
|
|
3002
2980
|
}
|
|
3003
|
-
var
|
|
2981
|
+
var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), mi = !!String.fromCodePoint, bi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, Ei = _i ? Number.isSafeInteger : function(e) {
|
|
3004
2982
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3005
|
-
},
|
|
2983
|
+
}, wt = !0;
|
|
3006
2984
|
try {
|
|
3007
|
-
var
|
|
3008
|
-
|
|
2985
|
+
var xi = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2986
|
+
wt = ((pt = xi.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
|
|
3009
2987
|
} catch {
|
|
3010
|
-
|
|
2988
|
+
wt = !1;
|
|
3011
2989
|
}
|
|
3012
|
-
var
|
|
2990
|
+
var Yt = di ? (
|
|
3013
2991
|
// Native
|
|
3014
2992
|
function(t, r, n) {
|
|
3015
2993
|
return t.startsWith(r, n);
|
|
@@ -3019,7 +2997,7 @@ var er = gi ? (
|
|
|
3019
2997
|
function(t, r, n) {
|
|
3020
2998
|
return t.slice(n, n + r.length) === r;
|
|
3021
2999
|
}
|
|
3022
|
-
),
|
|
3000
|
+
), Ht = mi ? String.fromCodePoint : (
|
|
3023
3001
|
// IE11
|
|
3024
3002
|
function() {
|
|
3025
3003
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3031,9 +3009,9 @@ var er = gi ? (
|
|
|
3031
3009
|
}
|
|
3032
3010
|
return n;
|
|
3033
3011
|
}
|
|
3034
|
-
),
|
|
3012
|
+
), qt = (
|
|
3035
3013
|
// native
|
|
3036
|
-
|
|
3014
|
+
bi ? Object.fromEntries : (
|
|
3037
3015
|
// Ponyfill
|
|
3038
3016
|
function(t) {
|
|
3039
3017
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3043,7 +3021,7 @@ var er = gi ? (
|
|
|
3043
3021
|
return r;
|
|
3044
3022
|
}
|
|
3045
3023
|
)
|
|
3046
|
-
),
|
|
3024
|
+
), Ir = gi ? (
|
|
3047
3025
|
// Native
|
|
3048
3026
|
function(t, r) {
|
|
3049
3027
|
return t.codePointAt(r);
|
|
@@ -3057,7 +3035,7 @@ var er = gi ? (
|
|
|
3057
3035
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3058
3036
|
}
|
|
3059
3037
|
}
|
|
3060
|
-
),
|
|
3038
|
+
), Si = yi ? (
|
|
3061
3039
|
// Native
|
|
3062
3040
|
function(t) {
|
|
3063
3041
|
return t.trimStart();
|
|
@@ -3065,9 +3043,9 @@ var er = gi ? (
|
|
|
3065
3043
|
) : (
|
|
3066
3044
|
// Ponyfill
|
|
3067
3045
|
function(t) {
|
|
3068
|
-
return t.replace(
|
|
3046
|
+
return t.replace(fi, "");
|
|
3069
3047
|
}
|
|
3070
|
-
),
|
|
3048
|
+
), Ti = vi ? (
|
|
3071
3049
|
// Native
|
|
3072
3050
|
function(t) {
|
|
3073
3051
|
return t.trimEnd();
|
|
@@ -3075,32 +3053,32 @@ var er = gi ? (
|
|
|
3075
3053
|
) : (
|
|
3076
3054
|
// Ponyfill
|
|
3077
3055
|
function(t) {
|
|
3078
|
-
return t.replace(
|
|
3056
|
+
return t.replace(pi, "");
|
|
3079
3057
|
}
|
|
3080
3058
|
);
|
|
3081
|
-
function
|
|
3059
|
+
function Nr(e, t) {
|
|
3082
3060
|
return new RegExp(e, t);
|
|
3083
3061
|
}
|
|
3084
|
-
var
|
|
3085
|
-
if (
|
|
3086
|
-
var
|
|
3087
|
-
|
|
3062
|
+
var At;
|
|
3063
|
+
if (wt) {
|
|
3064
|
+
var Kt = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3065
|
+
At = function(t, r) {
|
|
3088
3066
|
var n;
|
|
3089
|
-
|
|
3090
|
-
var i =
|
|
3067
|
+
Kt.lastIndex = r;
|
|
3068
|
+
var i = Kt.exec(t);
|
|
3091
3069
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3092
3070
|
};
|
|
3093
3071
|
} else
|
|
3094
|
-
|
|
3072
|
+
At = function(t, r) {
|
|
3095
3073
|
for (var n = []; ; ) {
|
|
3096
|
-
var i =
|
|
3097
|
-
if (i === void 0 ||
|
|
3074
|
+
var i = Ir(t, r);
|
|
3075
|
+
if (i === void 0 || Mr(i) || Bi(i))
|
|
3098
3076
|
break;
|
|
3099
3077
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3100
3078
|
}
|
|
3101
|
-
return
|
|
3079
|
+
return Ht.apply(void 0, n);
|
|
3102
3080
|
};
|
|
3103
|
-
var
|
|
3081
|
+
var wi = (
|
|
3104
3082
|
/** @class */
|
|
3105
3083
|
function() {
|
|
3106
3084
|
function e(t, r) {
|
|
@@ -3131,7 +3109,7 @@ var Bi = (
|
|
|
3131
3109
|
if (n)
|
|
3132
3110
|
break;
|
|
3133
3111
|
return this.error(E.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3134
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3112
|
+
} else if (o === 60 && !this.ignoreTag && Bt(this.peek() || 0)) {
|
|
3135
3113
|
var s = this.parseTag(t, r);
|
|
3136
3114
|
if (s.err)
|
|
3137
3115
|
return s;
|
|
@@ -3164,7 +3142,7 @@ var Bi = (
|
|
|
3164
3142
|
return o;
|
|
3165
3143
|
var s = o.val, a = this.clonePosition();
|
|
3166
3144
|
if (this.bumpIf("</")) {
|
|
3167
|
-
if (this.isEOF() || !
|
|
3145
|
+
if (this.isEOF() || !Bt(this.char()))
|
|
3168
3146
|
return this.error(E.INVALID_TAG, x(a, this.clonePosition()));
|
|
3169
3147
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3170
3148
|
return i !== u ? this.error(E.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3182,7 +3160,7 @@ var Bi = (
|
|
|
3182
3160
|
return this.error(E.INVALID_TAG, x(n, this.clonePosition()));
|
|
3183
3161
|
}, e.prototype.parseTagName = function() {
|
|
3184
3162
|
var t = this.offset();
|
|
3185
|
-
for (this.bump(); !this.isEOF() &&
|
|
3163
|
+
for (this.bump(); !this.isEOF() && Ai(this.char()); )
|
|
3186
3164
|
this.bump();
|
|
3187
3165
|
return this.message.slice(t, this.offset());
|
|
3188
3166
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3211,7 +3189,7 @@ var Bi = (
|
|
|
3211
3189
|
};
|
|
3212
3190
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3213
3191
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3214
|
-
!
|
|
3192
|
+
!Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3215
3193
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3216
3194
|
if (this.isEOF() || this.char() !== 39)
|
|
3217
3195
|
return null;
|
|
@@ -3245,12 +3223,12 @@ var Bi = (
|
|
|
3245
3223
|
r.push(n);
|
|
3246
3224
|
this.bump();
|
|
3247
3225
|
}
|
|
3248
|
-
return
|
|
3226
|
+
return Ht.apply(void 0, r);
|
|
3249
3227
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3250
3228
|
if (this.isEOF())
|
|
3251
3229
|
return null;
|
|
3252
3230
|
var n = this.char();
|
|
3253
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3231
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ht(n));
|
|
3254
3232
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3255
3233
|
var n = this.clonePosition();
|
|
3256
3234
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3279,7 +3257,7 @@ var Bi = (
|
|
|
3279
3257
|
return this.error(E.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3280
3258
|
}
|
|
3281
3259
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3282
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3260
|
+
var t = this.clonePosition(), r = this.offset(), n = At(this.message, r), i = r + n.length;
|
|
3283
3261
|
this.bumpTo(i);
|
|
3284
3262
|
var o = this.clonePosition(), s = x(t, o);
|
|
3285
3263
|
return { value: n, location: s };
|
|
@@ -3298,7 +3276,7 @@ var Bi = (
|
|
|
3298
3276
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3299
3277
|
if (c.err)
|
|
3300
3278
|
return c;
|
|
3301
|
-
var p =
|
|
3279
|
+
var p = Ti(c.val);
|
|
3302
3280
|
if (p.length === 0)
|
|
3303
3281
|
return this.error(E.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3304
3282
|
var y = x(h, this.clonePosition());
|
|
@@ -3308,8 +3286,8 @@ var Bi = (
|
|
|
3308
3286
|
if (v.err)
|
|
3309
3287
|
return v;
|
|
3310
3288
|
var b = x(i, this.clonePosition());
|
|
3311
|
-
if (u &&
|
|
3312
|
-
var _ =
|
|
3289
|
+
if (u && Yt(u?.style, "::", 0)) {
|
|
3290
|
+
var _ = Si(u.style.slice(2));
|
|
3313
3291
|
if (a === "number") {
|
|
3314
3292
|
var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
3315
3293
|
return c.err ? c : {
|
|
@@ -3320,12 +3298,12 @@ var Bi = (
|
|
|
3320
3298
|
if (_.length === 0)
|
|
3321
3299
|
return this.error(E.EXPECT_DATE_TIME_SKELETON, b);
|
|
3322
3300
|
var S = _;
|
|
3323
|
-
this.locale && (S =
|
|
3301
|
+
this.locale && (S = hi(_, this.locale));
|
|
3324
3302
|
var p = {
|
|
3325
3303
|
type: He.dateTime,
|
|
3326
3304
|
pattern: S,
|
|
3327
3305
|
location: u.styleLocation,
|
|
3328
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3306
|
+
parsedOptions: this.shouldParseSkeletons ? ni(S) : {}
|
|
3329
3307
|
}, w = a === "date" ? P.date : P.time;
|
|
3330
3308
|
return {
|
|
3331
3309
|
val: { type: w, value: n, location: b, style: p },
|
|
@@ -3350,7 +3328,7 @@ var Bi = (
|
|
|
3350
3328
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3351
3329
|
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, x(B, T({}, B)));
|
|
3352
3330
|
this.bumpSpace();
|
|
3353
|
-
var R = this.parseIdentifierIfPossible(),
|
|
3331
|
+
var R = this.parseIdentifierIfPossible(), C = 0;
|
|
3354
3332
|
if (a !== "select" && R.value === "offset") {
|
|
3355
3333
|
if (!this.bumpIf(":"))
|
|
3356
3334
|
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
@@ -3358,7 +3336,7 @@ var Bi = (
|
|
|
3358
3336
|
var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3359
3337
|
if (c.err)
|
|
3360
3338
|
return c;
|
|
3361
|
-
this.bumpSpace(), R = this.parseIdentifierIfPossible(),
|
|
3339
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), C = c.val;
|
|
3362
3340
|
}
|
|
3363
3341
|
var j = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3364
3342
|
if (j.err)
|
|
@@ -3371,7 +3349,7 @@ var Bi = (
|
|
|
3371
3349
|
val: {
|
|
3372
3350
|
type: P.select,
|
|
3373
3351
|
value: n,
|
|
3374
|
-
options:
|
|
3352
|
+
options: qt(j.val),
|
|
3375
3353
|
location: W
|
|
3376
3354
|
},
|
|
3377
3355
|
err: null
|
|
@@ -3379,8 +3357,8 @@ var Bi = (
|
|
|
3379
3357
|
val: {
|
|
3380
3358
|
type: P.plural,
|
|
3381
3359
|
value: n,
|
|
3382
|
-
options:
|
|
3383
|
-
offset:
|
|
3360
|
+
options: qt(j.val),
|
|
3361
|
+
offset: C,
|
|
3384
3362
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3385
3363
|
location: W
|
|
3386
3364
|
},
|
|
@@ -3430,7 +3408,7 @@ var Bi = (
|
|
|
3430
3408
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3431
3409
|
var n = [];
|
|
3432
3410
|
try {
|
|
3433
|
-
n =
|
|
3411
|
+
n = oi(t);
|
|
3434
3412
|
} catch {
|
|
3435
3413
|
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
|
3436
3414
|
}
|
|
@@ -3439,7 +3417,7 @@ var Bi = (
|
|
|
3439
3417
|
type: He.number,
|
|
3440
3418
|
tokens: n,
|
|
3441
3419
|
location: r,
|
|
3442
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3420
|
+
parsedOptions: this.shouldParseSkeletons ? li(n) : {}
|
|
3443
3421
|
},
|
|
3444
3422
|
err: null
|
|
3445
3423
|
};
|
|
@@ -3487,7 +3465,7 @@ var Bi = (
|
|
|
3487
3465
|
break;
|
|
3488
3466
|
}
|
|
3489
3467
|
var l = x(i, this.clonePosition());
|
|
3490
|
-
return o ? (s *= n,
|
|
3468
|
+
return o ? (s *= n, Ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3491
3469
|
}, e.prototype.offset = function() {
|
|
3492
3470
|
return this.position.offset;
|
|
3493
3471
|
}, e.prototype.isEOF = function() {
|
|
@@ -3502,7 +3480,7 @@ var Bi = (
|
|
|
3502
3480
|
var t = this.position.offset;
|
|
3503
3481
|
if (t >= this.message.length)
|
|
3504
3482
|
throw Error("out of bound");
|
|
3505
|
-
var r =
|
|
3483
|
+
var r = Ir(this.message, t);
|
|
3506
3484
|
if (r === void 0)
|
|
3507
3485
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3508
3486
|
return r;
|
|
@@ -3521,7 +3499,7 @@ var Bi = (
|
|
|
3521
3499
|
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);
|
|
3522
3500
|
}
|
|
3523
3501
|
}, e.prototype.bumpIf = function(t) {
|
|
3524
|
-
if (
|
|
3502
|
+
if (Yt(this.message, t, this.offset())) {
|
|
3525
3503
|
for (var r = 0; r < t.length; r++)
|
|
3526
3504
|
this.bump();
|
|
3527
3505
|
return !0;
|
|
@@ -3543,7 +3521,7 @@ var Bi = (
|
|
|
3543
3521
|
break;
|
|
3544
3522
|
}
|
|
3545
3523
|
}, e.prototype.bumpSpace = function() {
|
|
3546
|
-
for (; !this.isEOF() &&
|
|
3524
|
+
for (; !this.isEOF() && Mr(this.char()); )
|
|
3547
3525
|
this.bump();
|
|
3548
3526
|
}, e.prototype.peek = function() {
|
|
3549
3527
|
if (this.isEOF())
|
|
@@ -3553,38 +3531,38 @@ var Bi = (
|
|
|
3553
3531
|
}, e;
|
|
3554
3532
|
}()
|
|
3555
3533
|
);
|
|
3556
|
-
function
|
|
3534
|
+
function Bt(e) {
|
|
3557
3535
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3558
3536
|
}
|
|
3559
|
-
function
|
|
3560
|
-
return
|
|
3537
|
+
function Hi(e) {
|
|
3538
|
+
return Bt(e) || e === 47;
|
|
3561
3539
|
}
|
|
3562
|
-
function
|
|
3540
|
+
function Ai(e) {
|
|
3563
3541
|
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;
|
|
3564
3542
|
}
|
|
3565
|
-
function
|
|
3543
|
+
function Mr(e) {
|
|
3566
3544
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3567
3545
|
}
|
|
3568
|
-
function
|
|
3546
|
+
function Bi(e) {
|
|
3569
3547
|
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;
|
|
3570
3548
|
}
|
|
3571
|
-
function
|
|
3549
|
+
function Pt(e) {
|
|
3572
3550
|
e.forEach(function(t) {
|
|
3573
|
-
if (delete t.location,
|
|
3551
|
+
if (delete t.location, wr(t) || Hr(t))
|
|
3574
3552
|
for (var r in t.options)
|
|
3575
|
-
delete t.options[r].location,
|
|
3553
|
+
delete t.options[r].location, Pt(t.options[r].value);
|
|
3576
3554
|
else
|
|
3577
|
-
|
|
3555
|
+
xr(t) && Br(t.style) || (Sr(t) || Tr(t)) && Tt(t.style) ? delete t.style.location : Ar(t) && Pt(t.children);
|
|
3578
3556
|
});
|
|
3579
3557
|
}
|
|
3580
|
-
function
|
|
3558
|
+
function Pi(e, t) {
|
|
3581
3559
|
t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3582
|
-
var r = new
|
|
3560
|
+
var r = new wi(e, t).parse();
|
|
3583
3561
|
if (r.err) {
|
|
3584
3562
|
var n = SyntaxError(E[r.err.kind]);
|
|
3585
3563
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3586
3564
|
}
|
|
3587
|
-
return t?.captureLocation ||
|
|
3565
|
+
return t?.captureLocation || Pt(r.val), r.val;
|
|
3588
3566
|
}
|
|
3589
3567
|
var Ae;
|
|
3590
3568
|
(function(e) {
|
|
@@ -3602,7 +3580,7 @@ var it = (
|
|
|
3602
3580
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3603
3581
|
}, t;
|
|
3604
3582
|
}(Error)
|
|
3605
|
-
),
|
|
3583
|
+
), er = (
|
|
3606
3584
|
/** @class */
|
|
3607
3585
|
function(e) {
|
|
3608
3586
|
te(t, e);
|
|
@@ -3611,7 +3589,7 @@ var it = (
|
|
|
3611
3589
|
}
|
|
3612
3590
|
return t;
|
|
3613
3591
|
}(it)
|
|
3614
|
-
),
|
|
3592
|
+
), Li = (
|
|
3615
3593
|
/** @class */
|
|
3616
3594
|
function(e) {
|
|
3617
3595
|
te(t, e);
|
|
@@ -3620,7 +3598,7 @@ var it = (
|
|
|
3620
3598
|
}
|
|
3621
3599
|
return t;
|
|
3622
3600
|
}(it)
|
|
3623
|
-
),
|
|
3601
|
+
), Oi = (
|
|
3624
3602
|
/** @class */
|
|
3625
3603
|
function(e) {
|
|
3626
3604
|
te(t, e);
|
|
@@ -3633,17 +3611,17 @@ var it = (
|
|
|
3633
3611
|
(function(e) {
|
|
3634
3612
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3635
3613
|
})(D || (D = {}));
|
|
3636
|
-
function
|
|
3614
|
+
function Ci(e) {
|
|
3637
3615
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3638
3616
|
var n = t[t.length - 1];
|
|
3639
3617
|
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
3640
3618
|
}, []);
|
|
3641
3619
|
}
|
|
3642
|
-
function
|
|
3620
|
+
function Ii(e) {
|
|
3643
3621
|
return typeof e == "function";
|
|
3644
3622
|
}
|
|
3645
3623
|
function qe(e, t, r, n, i, o, s) {
|
|
3646
|
-
if (e.length === 1 &&
|
|
3624
|
+
if (e.length === 1 && zt(e[0]))
|
|
3647
3625
|
return [
|
|
3648
3626
|
{
|
|
3649
3627
|
type: D.literal,
|
|
@@ -3652,14 +3630,14 @@ function qe(e, t, r, n, i, o, s) {
|
|
|
3652
3630
|
];
|
|
3653
3631
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3654
3632
|
var h = u[l];
|
|
3655
|
-
if (
|
|
3633
|
+
if (zt(h)) {
|
|
3656
3634
|
a.push({
|
|
3657
3635
|
type: D.literal,
|
|
3658
3636
|
value: h.value
|
|
3659
3637
|
});
|
|
3660
3638
|
continue;
|
|
3661
3639
|
}
|
|
3662
|
-
if (
|
|
3640
|
+
if (ti(h)) {
|
|
3663
3641
|
typeof o == "number" && a.push({
|
|
3664
3642
|
type: D.literal,
|
|
3665
3643
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3668,61 +3646,61 @@ function qe(e, t, r, n, i, o, s) {
|
|
|
3668
3646
|
}
|
|
3669
3647
|
var c = h.value;
|
|
3670
3648
|
if (!(i && c in i))
|
|
3671
|
-
throw new
|
|
3649
|
+
throw new Oi(c, s);
|
|
3672
3650
|
var p = i[c];
|
|
3673
|
-
if (
|
|
3651
|
+
if (ei(h)) {
|
|
3674
3652
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3675
3653
|
type: typeof p == "string" ? D.literal : D.object,
|
|
3676
3654
|
value: p
|
|
3677
3655
|
});
|
|
3678
3656
|
continue;
|
|
3679
3657
|
}
|
|
3680
|
-
if (
|
|
3681
|
-
var y = typeof h.style == "string" ? n.date[h.style] :
|
|
3658
|
+
if (Sr(h)) {
|
|
3659
|
+
var y = typeof h.style == "string" ? n.date[h.style] : Tt(h.style) ? h.style.parsedOptions : void 0;
|
|
3682
3660
|
a.push({
|
|
3683
3661
|
type: D.literal,
|
|
3684
3662
|
value: r.getDateTimeFormat(t, y).format(p)
|
|
3685
3663
|
});
|
|
3686
3664
|
continue;
|
|
3687
3665
|
}
|
|
3688
|
-
if (
|
|
3689
|
-
var y = typeof h.style == "string" ? n.time[h.style] :
|
|
3666
|
+
if (Tr(h)) {
|
|
3667
|
+
var y = typeof h.style == "string" ? n.time[h.style] : Tt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3690
3668
|
a.push({
|
|
3691
3669
|
type: D.literal,
|
|
3692
3670
|
value: r.getDateTimeFormat(t, y).format(p)
|
|
3693
3671
|
});
|
|
3694
3672
|
continue;
|
|
3695
3673
|
}
|
|
3696
|
-
if (
|
|
3697
|
-
var y = typeof h.style == "string" ? n.number[h.style] :
|
|
3674
|
+
if (xr(h)) {
|
|
3675
|
+
var y = typeof h.style == "string" ? n.number[h.style] : Br(h.style) ? h.style.parsedOptions : void 0;
|
|
3698
3676
|
y && y.scale && (p = p * (y.scale || 1)), a.push({
|
|
3699
3677
|
type: D.literal,
|
|
3700
3678
|
value: r.getNumberFormat(t, y).format(p)
|
|
3701
3679
|
});
|
|
3702
3680
|
continue;
|
|
3703
3681
|
}
|
|
3704
|
-
if (
|
|
3682
|
+
if (Ar(h)) {
|
|
3705
3683
|
var v = h.children, b = h.value, _ = i[b];
|
|
3706
|
-
if (!
|
|
3707
|
-
throw new
|
|
3708
|
-
var S = qe(v, t, r, n, i, o), w = _(S.map(function(
|
|
3709
|
-
return
|
|
3684
|
+
if (!Ii(_))
|
|
3685
|
+
throw new Li(b, "function", s);
|
|
3686
|
+
var S = qe(v, t, r, n, i, o), w = _(S.map(function(C) {
|
|
3687
|
+
return C.value;
|
|
3710
3688
|
}));
|
|
3711
|
-
Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(
|
|
3689
|
+
Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(C) {
|
|
3712
3690
|
return {
|
|
3713
|
-
type: typeof
|
|
3714
|
-
value:
|
|
3691
|
+
type: typeof C == "string" ? D.literal : D.object,
|
|
3692
|
+
value: C
|
|
3715
3693
|
};
|
|
3716
3694
|
}));
|
|
3717
3695
|
}
|
|
3718
|
-
if (
|
|
3696
|
+
if (wr(h)) {
|
|
3719
3697
|
var B = h.options[p] || h.options.other;
|
|
3720
3698
|
if (!B)
|
|
3721
|
-
throw new
|
|
3699
|
+
throw new er(h.value, p, Object.keys(h.options), s);
|
|
3722
3700
|
a.push.apply(a, qe(B.value, t, r, n, i));
|
|
3723
3701
|
continue;
|
|
3724
3702
|
}
|
|
3725
|
-
if (
|
|
3703
|
+
if (Hr(h)) {
|
|
3726
3704
|
var B = h.options["=".concat(p)];
|
|
3727
3705
|
if (!B) {
|
|
3728
3706
|
if (!Intl.PluralRules)
|
|
@@ -3733,24 +3711,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3733
3711
|
B = h.options[R] || h.options.other;
|
|
3734
3712
|
}
|
|
3735
3713
|
if (!B)
|
|
3736
|
-
throw new
|
|
3714
|
+
throw new er(h.value, p, Object.keys(h.options), s);
|
|
3737
3715
|
a.push.apply(a, qe(B.value, t, r, n, i, p - (h.offset || 0)));
|
|
3738
3716
|
continue;
|
|
3739
3717
|
}
|
|
3740
3718
|
}
|
|
3741
|
-
return
|
|
3719
|
+
return Ci(a);
|
|
3742
3720
|
}
|
|
3743
|
-
function
|
|
3721
|
+
function Ni(e, t) {
|
|
3744
3722
|
return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3745
3723
|
return r[n] = T(T({}, e[n]), t[n] || {}), r;
|
|
3746
3724
|
}, {})) : e;
|
|
3747
3725
|
}
|
|
3748
|
-
function
|
|
3726
|
+
function Mi(e, t) {
|
|
3749
3727
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3750
|
-
return r[n] =
|
|
3728
|
+
return r[n] = Ni(e[n], t[n]), r;
|
|
3751
3729
|
}, T({}, e)) : e;
|
|
3752
3730
|
}
|
|
3753
|
-
function
|
|
3731
|
+
function dt(e) {
|
|
3754
3732
|
return {
|
|
3755
3733
|
create: function() {
|
|
3756
3734
|
return {
|
|
@@ -3764,39 +3742,39 @@ function mt(e) {
|
|
|
3764
3742
|
}
|
|
3765
3743
|
};
|
|
3766
3744
|
}
|
|
3767
|
-
function
|
|
3745
|
+
function Ri(e) {
|
|
3768
3746
|
return e === void 0 && (e = {
|
|
3769
3747
|
number: {},
|
|
3770
3748
|
dateTime: {},
|
|
3771
3749
|
pluralRules: {}
|
|
3772
3750
|
}), {
|
|
3773
|
-
getNumberFormat:
|
|
3751
|
+
getNumberFormat: ct(function() {
|
|
3774
3752
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3775
3753
|
r[n] = arguments[n];
|
|
3776
3754
|
return new ((t = Intl.NumberFormat).bind.apply(t, Te([void 0], r, !1)))();
|
|
3777
3755
|
}, {
|
|
3778
|
-
cache:
|
|
3779
|
-
strategy:
|
|
3756
|
+
cache: dt(e.number),
|
|
3757
|
+
strategy: ft.variadic
|
|
3780
3758
|
}),
|
|
3781
|
-
getDateTimeFormat:
|
|
3759
|
+
getDateTimeFormat: ct(function() {
|
|
3782
3760
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3783
3761
|
r[n] = arguments[n];
|
|
3784
3762
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Te([void 0], r, !1)))();
|
|
3785
3763
|
}, {
|
|
3786
|
-
cache:
|
|
3787
|
-
strategy:
|
|
3764
|
+
cache: dt(e.dateTime),
|
|
3765
|
+
strategy: ft.variadic
|
|
3788
3766
|
}),
|
|
3789
|
-
getPluralRules:
|
|
3767
|
+
getPluralRules: ct(function() {
|
|
3790
3768
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3791
3769
|
r[n] = arguments[n];
|
|
3792
3770
|
return new ((t = Intl.PluralRules).bind.apply(t, Te([void 0], r, !1)))();
|
|
3793
3771
|
}, {
|
|
3794
|
-
cache:
|
|
3795
|
-
strategy:
|
|
3772
|
+
cache: dt(e.pluralRules),
|
|
3773
|
+
strategy: ft.variadic
|
|
3796
3774
|
})
|
|
3797
3775
|
};
|
|
3798
3776
|
}
|
|
3799
|
-
var
|
|
3777
|
+
var Ui = (
|
|
3800
3778
|
/** @class */
|
|
3801
3779
|
function() {
|
|
3802
3780
|
function e(t, r, n, i) {
|
|
@@ -3828,13 +3806,13 @@ var ki = (
|
|
|
3828
3806
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3829
3807
|
var s = i || {};
|
|
3830
3808
|
s.formatters;
|
|
3831
|
-
var a =
|
|
3809
|
+
var a = mn(s, ["formatters"]);
|
|
3832
3810
|
this.ast = e.__parse(t, T(T({}, a), { locale: this.resolvedLocale }));
|
|
3833
3811
|
} else
|
|
3834
3812
|
this.ast = t;
|
|
3835
3813
|
if (!Array.isArray(this.ast))
|
|
3836
3814
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3837
|
-
this.formats =
|
|
3815
|
+
this.formats = Mi(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
|
|
3838
3816
|
}
|
|
3839
3817
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3840
3818
|
get: function() {
|
|
@@ -3847,7 +3825,7 @@ var ki = (
|
|
|
3847
3825
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3848
3826
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3849
3827
|
}
|
|
3850
|
-
}, e.__parse =
|
|
3828
|
+
}, e.__parse = Pi, e.formats = {
|
|
3851
3829
|
number: {
|
|
3852
3830
|
integer: {
|
|
3853
3831
|
maximumFractionDigits: 0
|
|
@@ -3908,7 +3886,7 @@ var ki = (
|
|
|
3908
3886
|
}, e;
|
|
3909
3887
|
}()
|
|
3910
3888
|
);
|
|
3911
|
-
function
|
|
3889
|
+
function Di(e, t) {
|
|
3912
3890
|
if (t == null)
|
|
3913
3891
|
return;
|
|
3914
3892
|
if (t in e)
|
|
@@ -3929,92 +3907,92 @@ function ji(e, t) {
|
|
|
3929
3907
|
n = void 0;
|
|
3930
3908
|
return n;
|
|
3931
3909
|
}
|
|
3932
|
-
const se = {},
|
|
3910
|
+
const se = {}, Gi = (e, t, r) => r && (t in se || (se[t] = {}), e in se[t] || (se[t][e] = r), r), Rr = (e, t) => {
|
|
3933
3911
|
if (t == null)
|
|
3934
3912
|
return;
|
|
3935
3913
|
if (t in se && e in se[t])
|
|
3936
3914
|
return se[t][e];
|
|
3937
3915
|
const r = ot(t);
|
|
3938
3916
|
for (let n = 0; n < r.length; n++) {
|
|
3939
|
-
const i = r[n], o =
|
|
3917
|
+
const i = r[n], o = ji(i, e);
|
|
3940
3918
|
if (o)
|
|
3941
|
-
return
|
|
3919
|
+
return Gi(e, t, o);
|
|
3942
3920
|
}
|
|
3943
3921
|
};
|
|
3944
|
-
let
|
|
3922
|
+
let It;
|
|
3945
3923
|
const $e = nt({});
|
|
3946
|
-
function
|
|
3947
|
-
return
|
|
3924
|
+
function ki(e) {
|
|
3925
|
+
return It[e] || null;
|
|
3948
3926
|
}
|
|
3949
|
-
function
|
|
3950
|
-
return e in
|
|
3927
|
+
function Ur(e) {
|
|
3928
|
+
return e in It;
|
|
3951
3929
|
}
|
|
3952
|
-
function
|
|
3953
|
-
if (!
|
|
3930
|
+
function ji(e, t) {
|
|
3931
|
+
if (!Ur(e))
|
|
3954
3932
|
return null;
|
|
3955
|
-
const r =
|
|
3956
|
-
return
|
|
3933
|
+
const r = ki(e);
|
|
3934
|
+
return Di(r, t);
|
|
3957
3935
|
}
|
|
3958
|
-
function
|
|
3936
|
+
function $i(e) {
|
|
3959
3937
|
if (e == null)
|
|
3960
3938
|
return;
|
|
3961
3939
|
const t = ot(e);
|
|
3962
3940
|
for (let r = 0; r < t.length; r++) {
|
|
3963
3941
|
const n = t[r];
|
|
3964
|
-
if (
|
|
3942
|
+
if (Ur(n))
|
|
3965
3943
|
return n;
|
|
3966
3944
|
}
|
|
3967
3945
|
}
|
|
3968
|
-
function
|
|
3969
|
-
delete se[e], $e.update((r) => (r[e] =
|
|
3946
|
+
function Dr(e, ...t) {
|
|
3947
|
+
delete se[e], $e.update((r) => (r[e] = Xn.all([r[e] || {}, ...t]), r));
|
|
3970
3948
|
}
|
|
3971
3949
|
Pe(
|
|
3972
3950
|
[$e],
|
|
3973
3951
|
([e]) => Object.keys(e)
|
|
3974
3952
|
);
|
|
3975
|
-
$e.subscribe((e) =>
|
|
3953
|
+
$e.subscribe((e) => It = e);
|
|
3976
3954
|
const Ke = {};
|
|
3977
|
-
function
|
|
3955
|
+
function Fi(e, t) {
|
|
3978
3956
|
Ke[e].delete(t), Ke[e].size === 0 && delete Ke[e];
|
|
3979
3957
|
}
|
|
3980
|
-
function
|
|
3958
|
+
function Gr(e) {
|
|
3981
3959
|
return Ke[e];
|
|
3982
3960
|
}
|
|
3983
|
-
function
|
|
3961
|
+
function Vi(e) {
|
|
3984
3962
|
return ot(e).map((t) => {
|
|
3985
|
-
const r =
|
|
3963
|
+
const r = Gr(t);
|
|
3986
3964
|
return [t, r ? [...r] : []];
|
|
3987
3965
|
}).filter(([, t]) => t.length > 0);
|
|
3988
3966
|
}
|
|
3989
|
-
function
|
|
3967
|
+
function Lt(e) {
|
|
3990
3968
|
return e == null ? !1 : ot(e).some(
|
|
3991
3969
|
(t) => {
|
|
3992
3970
|
var r;
|
|
3993
|
-
return (r =
|
|
3971
|
+
return (r = Gr(t)) == null ? void 0 : r.size;
|
|
3994
3972
|
}
|
|
3995
3973
|
);
|
|
3996
3974
|
}
|
|
3997
|
-
function
|
|
3975
|
+
function Wi(e, t) {
|
|
3998
3976
|
return Promise.all(
|
|
3999
|
-
t.map((n) => (
|
|
4000
|
-
).then((n) =>
|
|
3977
|
+
t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
|
|
3978
|
+
).then((n) => Dr(e, ...n));
|
|
4001
3979
|
}
|
|
4002
3980
|
const Re = {};
|
|
4003
|
-
function
|
|
4004
|
-
if (!
|
|
3981
|
+
function kr(e) {
|
|
3982
|
+
if (!Lt(e))
|
|
4005
3983
|
return e in Re ? Re[e] : Promise.resolve();
|
|
4006
|
-
const t =
|
|
3984
|
+
const t = Vi(e);
|
|
4007
3985
|
return Re[e] = Promise.all(
|
|
4008
3986
|
t.map(
|
|
4009
|
-
([r, n]) =>
|
|
3987
|
+
([r, n]) => Wi(r, n)
|
|
4010
3988
|
)
|
|
4011
3989
|
).then(() => {
|
|
4012
|
-
if (
|
|
4013
|
-
return
|
|
3990
|
+
if (Lt(e))
|
|
3991
|
+
return kr(e);
|
|
4014
3992
|
delete Re[e];
|
|
4015
3993
|
}), Re[e];
|
|
4016
3994
|
}
|
|
4017
|
-
const
|
|
3995
|
+
const Xi = {
|
|
4018
3996
|
number: {
|
|
4019
3997
|
scientific: { notation: "scientific" },
|
|
4020
3998
|
engineering: { notation: "engineering" },
|
|
@@ -4043,57 +4021,57 @@ const Zi = {
|
|
|
4043
4021
|
timeZoneName: "short"
|
|
4044
4022
|
}
|
|
4045
4023
|
}
|
|
4046
|
-
},
|
|
4024
|
+
}, zi = {
|
|
4047
4025
|
fallbackLocale: null,
|
|
4048
4026
|
loadingDelay: 200,
|
|
4049
|
-
formats:
|
|
4027
|
+
formats: Xi,
|
|
4050
4028
|
warnOnMissingMessages: !0,
|
|
4051
4029
|
handleMissingMessage: void 0,
|
|
4052
4030
|
ignoreTag: !0
|
|
4053
|
-
},
|
|
4031
|
+
}, Ji = zi;
|
|
4054
4032
|
function Be() {
|
|
4055
|
-
return
|
|
4033
|
+
return Ji;
|
|
4056
4034
|
}
|
|
4057
|
-
const
|
|
4058
|
-
var
|
|
4035
|
+
const mt = nt(!1);
|
|
4036
|
+
var Zi = Object.defineProperty, Qi = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, tr = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
|
|
4059
4037
|
for (var r in t || (t = {}))
|
|
4060
|
-
|
|
4061
|
-
if (
|
|
4062
|
-
for (var r of
|
|
4063
|
-
|
|
4038
|
+
qi.call(t, r) && rr(e, r, t[r]);
|
|
4039
|
+
if (tr)
|
|
4040
|
+
for (var r of tr(t))
|
|
4041
|
+
Ki.call(t, r) && rr(e, r, t[r]);
|
|
4064
4042
|
return e;
|
|
4065
|
-
},
|
|
4066
|
-
let
|
|
4043
|
+
}, to = (e, t) => Qi(e, Yi(t));
|
|
4044
|
+
let Ot;
|
|
4067
4045
|
const et = nt(null);
|
|
4068
|
-
function
|
|
4046
|
+
function nr(e) {
|
|
4069
4047
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4070
4048
|
}
|
|
4071
4049
|
function ot(e, t = Be().fallbackLocale) {
|
|
4072
|
-
const r =
|
|
4073
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4050
|
+
const r = nr(e);
|
|
4051
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...nr(t)])] : r;
|
|
4074
4052
|
}
|
|
4075
4053
|
function ce() {
|
|
4076
|
-
return
|
|
4054
|
+
return Ot ?? void 0;
|
|
4077
4055
|
}
|
|
4078
4056
|
et.subscribe((e) => {
|
|
4079
|
-
|
|
4057
|
+
Ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4080
4058
|
});
|
|
4081
|
-
const
|
|
4082
|
-
if (e &&
|
|
4059
|
+
const ro = (e) => {
|
|
4060
|
+
if (e && $i(e) && Lt(e)) {
|
|
4083
4061
|
const { loadingDelay: t } = Be();
|
|
4084
4062
|
let r;
|
|
4085
4063
|
return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
|
|
4086
|
-
() =>
|
|
4064
|
+
() => mt.set(!0),
|
|
4087
4065
|
t
|
|
4088
|
-
) :
|
|
4066
|
+
) : mt.set(!0), kr(e).then(() => {
|
|
4089
4067
|
et.set(e);
|
|
4090
4068
|
}).finally(() => {
|
|
4091
|
-
clearTimeout(r),
|
|
4069
|
+
clearTimeout(r), mt.set(!1);
|
|
4092
4070
|
});
|
|
4093
4071
|
}
|
|
4094
4072
|
return et.set(e);
|
|
4095
|
-
}, Le =
|
|
4096
|
-
set:
|
|
4073
|
+
}, Le = to(eo({}, et), {
|
|
4074
|
+
set: ro
|
|
4097
4075
|
}), st = (e) => {
|
|
4098
4076
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4099
4077
|
return (n) => {
|
|
@@ -4101,20 +4079,20 @@ const oo = (e) => {
|
|
|
4101
4079
|
return i in t ? t[i] : t[i] = e(n);
|
|
4102
4080
|
};
|
|
4103
4081
|
};
|
|
4104
|
-
var
|
|
4082
|
+
var no = Object.defineProperty, tt = Object.getOwnPropertySymbols, jr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
|
|
4105
4083
|
for (var r in t || (t = {}))
|
|
4106
|
-
|
|
4084
|
+
jr.call(t, r) && ir(e, r, t[r]);
|
|
4107
4085
|
if (tt)
|
|
4108
4086
|
for (var r of tt(t))
|
|
4109
|
-
|
|
4087
|
+
$r.call(t, r) && ir(e, r, t[r]);
|
|
4110
4088
|
return e;
|
|
4111
|
-
},
|
|
4089
|
+
}, Oe = (e, t) => {
|
|
4112
4090
|
var r = {};
|
|
4113
4091
|
for (var n in e)
|
|
4114
|
-
|
|
4092
|
+
jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4115
4093
|
if (e != null && tt)
|
|
4116
4094
|
for (var n of tt(e))
|
|
4117
|
-
t.indexOf(n) < 0 &&
|
|
4095
|
+
t.indexOf(n) < 0 && $r.call(e, n) && (r[n] = e[n]);
|
|
4118
4096
|
return r;
|
|
4119
4097
|
};
|
|
4120
4098
|
const ke = (e, t) => {
|
|
@@ -4122,56 +4100,56 @@ const ke = (e, t) => {
|
|
|
4122
4100
|
if (e in r && t in r[e])
|
|
4123
4101
|
return r[e][t];
|
|
4124
4102
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4125
|
-
},
|
|
4103
|
+
}, io = st(
|
|
4126
4104
|
(e) => {
|
|
4127
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4105
|
+
var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
|
|
4128
4106
|
if (r == null)
|
|
4129
4107
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4130
4108
|
return n && (i = ke("number", n)), new Intl.NumberFormat(r, i);
|
|
4131
4109
|
}
|
|
4132
|
-
),
|
|
4110
|
+
), oo = st(
|
|
4133
4111
|
(e) => {
|
|
4134
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4112
|
+
var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
|
|
4135
4113
|
if (r == null)
|
|
4136
4114
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4137
4115
|
return n ? i = ke("date", n) : Object.keys(i).length === 0 && (i = ke("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4138
4116
|
}
|
|
4139
|
-
),
|
|
4117
|
+
), so = st(
|
|
4140
4118
|
(e) => {
|
|
4141
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4119
|
+
var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
|
|
4142
4120
|
if (r == null)
|
|
4143
4121
|
throw new Error(
|
|
4144
4122
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4145
4123
|
);
|
|
4146
4124
|
return n ? i = ke("time", n) : Object.keys(i).length === 0 && (i = ke("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4147
4125
|
}
|
|
4148
|
-
),
|
|
4126
|
+
), ao = (e = {}) => {
|
|
4149
4127
|
var t = e, {
|
|
4150
4128
|
locale: r = ce()
|
|
4151
|
-
} = t, n =
|
|
4129
|
+
} = t, n = Oe(t, [
|
|
4152
4130
|
"locale"
|
|
4153
4131
|
]);
|
|
4154
|
-
return
|
|
4155
|
-
},
|
|
4132
|
+
return io(Nt({ locale: r }, n));
|
|
4133
|
+
}, uo = (e = {}) => {
|
|
4156
4134
|
var t = e, {
|
|
4157
4135
|
locale: r = ce()
|
|
4158
|
-
} = t, n =
|
|
4136
|
+
} = t, n = Oe(t, [
|
|
4159
4137
|
"locale"
|
|
4160
4138
|
]);
|
|
4161
|
-
return
|
|
4162
|
-
},
|
|
4139
|
+
return oo(Nt({ locale: r }, n));
|
|
4140
|
+
}, lo = (e = {}) => {
|
|
4163
4141
|
var t = e, {
|
|
4164
4142
|
locale: r = ce()
|
|
4165
|
-
} = t, n =
|
|
4143
|
+
} = t, n = Oe(t, [
|
|
4166
4144
|
"locale"
|
|
4167
4145
|
]);
|
|
4168
|
-
return
|
|
4169
|
-
},
|
|
4146
|
+
return so(Nt({ locale: r }, n));
|
|
4147
|
+
}, ho = st(
|
|
4170
4148
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4171
|
-
(e, t = ce()) => new
|
|
4149
|
+
(e, t = ce()) => new Ui(e, t, Be().formats, {
|
|
4172
4150
|
ignoreTag: Be().ignoreTag
|
|
4173
4151
|
})
|
|
4174
|
-
),
|
|
4152
|
+
), co = (e, t = {}) => {
|
|
4175
4153
|
var r, n, i, o;
|
|
4176
4154
|
let s = t;
|
|
4177
4155
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4184,7 +4162,7 @@ const ke = (e, t) => {
|
|
|
4184
4162
|
throw new Error(
|
|
4185
4163
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4186
4164
|
);
|
|
4187
|
-
let h =
|
|
4165
|
+
let h = Rr(e, l);
|
|
4188
4166
|
if (!h)
|
|
4189
4167
|
h = (o = (i = (n = (r = Be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4190
4168
|
else if (typeof h != "string")
|
|
@@ -4195,7 +4173,7 @@ const ke = (e, t) => {
|
|
|
4195
4173
|
return h;
|
|
4196
4174
|
let c = h;
|
|
4197
4175
|
try {
|
|
4198
|
-
c =
|
|
4176
|
+
c = ho(h, l).format(a);
|
|
4199
4177
|
} catch (p) {
|
|
4200
4178
|
p instanceof Error && console.warn(
|
|
4201
4179
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4203,21 +4181,21 @@ const ke = (e, t) => {
|
|
|
4203
4181
|
);
|
|
4204
4182
|
}
|
|
4205
4183
|
return c;
|
|
4206
|
-
},
|
|
4207
|
-
Pe([Le, $e], () =>
|
|
4208
|
-
Pe([Le], () =>
|
|
4209
|
-
Pe([Le], () =>
|
|
4210
|
-
Pe([Le], () =>
|
|
4211
|
-
Pe([Le, $e], () =>
|
|
4212
|
-
window.emWidgets = { topic:
|
|
4213
|
-
const
|
|
4214
|
-
function
|
|
4184
|
+
}, fo = (e, t) => lo(t).format(e), po = (e, t) => uo(t).format(e), mo = (e, t) => ao(t).format(e), bo = (e, t = ce()) => Rr(e, t);
|
|
4185
|
+
Pe([Le, $e], () => co);
|
|
4186
|
+
Pe([Le], () => fo);
|
|
4187
|
+
Pe([Le], () => po);
|
|
4188
|
+
Pe([Le], () => mo);
|
|
4189
|
+
Pe([Le, $e], () => bo);
|
|
4190
|
+
window.emWidgets = { topic: Pn };
|
|
4191
|
+
const go = (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));
|
|
4192
|
+
function yo(e, t) {
|
|
4215
4193
|
if (e) {
|
|
4216
4194
|
const r = document.createElement("style");
|
|
4217
4195
|
r.innerHTML = t, e.appendChild(r);
|
|
4218
4196
|
}
|
|
4219
4197
|
}
|
|
4220
|
-
function
|
|
4198
|
+
function vo(e, t) {
|
|
4221
4199
|
const r = new URL(t);
|
|
4222
4200
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4223
4201
|
const i = document.createElement("style");
|
|
@@ -4226,7 +4204,7 @@ function xo(e, t) {
|
|
|
4226
4204
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4227
4205
|
});
|
|
4228
4206
|
}
|
|
4229
|
-
function
|
|
4207
|
+
function _o(e, t, r) {
|
|
4230
4208
|
if (window.emMessageBus) {
|
|
4231
4209
|
const n = document.createElement("style");
|
|
4232
4210
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4234,13 +4212,13 @@ function So(e, t, r) {
|
|
|
4234
4212
|
});
|
|
4235
4213
|
}
|
|
4236
4214
|
}
|
|
4237
|
-
function
|
|
4238
|
-
|
|
4215
|
+
function or(e, t) {
|
|
4216
|
+
Dr(e, t);
|
|
4239
4217
|
}
|
|
4240
|
-
function
|
|
4218
|
+
function Eo(e) {
|
|
4241
4219
|
Le.set(e);
|
|
4242
4220
|
}
|
|
4243
|
-
const
|
|
4221
|
+
const sr = {
|
|
4244
4222
|
en: {
|
|
4245
4223
|
loadingText: "Loading, please wait..."
|
|
4246
4224
|
},
|
|
@@ -4278,19 +4256,19 @@ const lr = {
|
|
|
4278
4256
|
loadingText: "Loading, please wait..."
|
|
4279
4257
|
}
|
|
4280
4258
|
};
|
|
4281
|
-
function
|
|
4282
|
-
|
|
4259
|
+
function xo(e) {
|
|
4260
|
+
Wr(e, "svelte-5y37b4", ':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 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 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)}}');
|
|
4283
4261
|
}
|
|
4284
|
-
function
|
|
4262
|
+
function ar(e, t, r) {
|
|
4285
4263
|
const n = e.slice();
|
|
4286
4264
|
return n[53] = t[r], n[55] = r, n;
|
|
4287
4265
|
}
|
|
4288
|
-
function
|
|
4266
|
+
function So(e) {
|
|
4289
4267
|
let t, r, n, i, o, s, a, l, u, h, c, p, y;
|
|
4290
4268
|
function v(S, w) {
|
|
4291
4269
|
return (
|
|
4292
4270
|
/*tabletView*/
|
|
4293
|
-
S[6] ?
|
|
4271
|
+
S[6] ? Ho : Ao
|
|
4294
4272
|
);
|
|
4295
4273
|
}
|
|
4296
4274
|
let b = v(e), _ = b(e);
|
|
@@ -4308,7 +4286,7 @@ function Ho(e) {
|
|
|
4308
4286
|
e[11] + ")"), m(r, "class", "jackpotBanner"), m(t, "class", "");
|
|
4309
4287
|
},
|
|
4310
4288
|
m(S, w) {
|
|
4311
|
-
q(S, t, w), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), _.m(s, null), d(n, a), d(n, l), d(l, u), p || (y =
|
|
4289
|
+
q(S, t, w), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), _.m(s, null), d(n, a), d(n, l), d(l, u), p || (y = Qr(
|
|
4312
4290
|
r,
|
|
4313
4291
|
"click",
|
|
4314
4292
|
/*click_handler*/
|
|
@@ -4336,7 +4314,7 @@ function Ho(e) {
|
|
|
4336
4314
|
}
|
|
4337
4315
|
};
|
|
4338
4316
|
}
|
|
4339
|
-
function
|
|
4317
|
+
function To(e) {
|
|
4340
4318
|
let t;
|
|
4341
4319
|
return {
|
|
4342
4320
|
c() {
|
|
@@ -4351,7 +4329,7 @@ function Ao(e) {
|
|
|
4351
4329
|
}
|
|
4352
4330
|
};
|
|
4353
4331
|
}
|
|
4354
|
-
function
|
|
4332
|
+
function wo(e) {
|
|
4355
4333
|
let t;
|
|
4356
4334
|
return {
|
|
4357
4335
|
c() {
|
|
@@ -4366,7 +4344,7 @@ function Bo(e) {
|
|
|
4366
4344
|
}
|
|
4367
4345
|
};
|
|
4368
4346
|
}
|
|
4369
|
-
function
|
|
4347
|
+
function Ho(e) {
|
|
4370
4348
|
let t, r, n, i, o, s, a = (
|
|
4371
4349
|
/*formattedLabels*/
|
|
4372
4350
|
e[9][0] + ""
|
|
@@ -4379,7 +4357,7 @@ function Po(e) {
|
|
|
4379
4357
|
/*formattedJackpotValues*/
|
|
4380
4358
|
e[8][0]
|
|
4381
4359
|
)) + ""
|
|
4382
|
-
), p, y, v, b, _, S, w, B, R,
|
|
4360
|
+
), p, y, v, b, _, S, w, B, R, C, j = (
|
|
4383
4361
|
/*formattedLabels*/
|
|
4384
4362
|
e[9][1] + ""
|
|
4385
4363
|
), W, X, ae, re = (
|
|
@@ -4391,10 +4369,10 @@ function Po(e) {
|
|
|
4391
4369
|
/*formattedJackpotValues*/
|
|
4392
4370
|
e[8][1]
|
|
4393
4371
|
)) + ""
|
|
4394
|
-
), ne,
|
|
4372
|
+
), ne, Ce, ue, fe, pe, z, M, J, $, ie, F, K = (
|
|
4395
4373
|
/*formattedLabels*/
|
|
4396
4374
|
e[9][2] + ""
|
|
4397
|
-
),
|
|
4375
|
+
), Ie, Z, de, me = (
|
|
4398
4376
|
/*realtimeupdate*/
|
|
4399
4377
|
(e[2] === "true" ? (
|
|
4400
4378
|
/*updatedJackpotValues*/
|
|
@@ -4406,7 +4384,7 @@ function Po(e) {
|
|
|
4406
4384
|
), Ne, Fe, be, ge, Ve, le, oe, Q, he, ye, ve = (
|
|
4407
4385
|
/*formattedLabels*/
|
|
4408
4386
|
e[9][3] + ""
|
|
4409
|
-
), Me, f, A,
|
|
4387
|
+
), Me, f, A, I = (
|
|
4410
4388
|
/*realtimeupdate*/
|
|
4411
4389
|
(e[2] === "true" ? (
|
|
4412
4390
|
/*updatedJackpotValues*/
|
|
@@ -4415,36 +4393,36 @@ function Po(e) {
|
|
|
4415
4393
|
/*formattedJackpotValues*/
|
|
4416
4394
|
e[8][3]
|
|
4417
4395
|
)) + ""
|
|
4418
|
-
), at,
|
|
4396
|
+
), at, Mt, We, ut;
|
|
4419
4397
|
return {
|
|
4420
4398
|
c() {
|
|
4421
4399
|
t = g("div"), r = g("div"), n = g("div"), i = g("img"), s = g("span"), l = N(a), u = g("span"), h = g("span"), p = N(c), y = Y(), v = g("span"), b = N(
|
|
4422
4400
|
/*currency*/
|
|
4423
4401
|
e[1]
|
|
4424
|
-
), _ = Y(), S = g("div"), w = g("div"), B = g("img"),
|
|
4402
|
+
), _ = Y(), S = g("div"), w = g("div"), B = g("img"), C = g("span"), W = N(j), X = g("span"), ae = g("span"), ne = N(re), Ce = Y(), ue = g("span"), fe = N(
|
|
4425
4403
|
/*currency*/
|
|
4426
4404
|
e[1]
|
|
4427
|
-
), pe = Y(), z = g("div"), M = g("div"), J = g("div"), $ = g("img"), F = g("span"),
|
|
4405
|
+
), pe = Y(), z = g("div"), M = g("div"), J = g("div"), $ = g("img"), F = g("span"), Ie = N(K), Z = g("span"), de = g("span"), Ne = N(me), Fe = Y(), be = g("span"), ge = N(
|
|
4428
4406
|
/*currency*/
|
|
4429
4407
|
e[1]
|
|
4430
|
-
), Ve = Y(), le = g("div"), oe = g("div"), Q = g("img"), ye = g("span"), Me = N(ve), f = g("span"), A = g("span"), at = N(
|
|
4408
|
+
), Ve = Y(), le = g("div"), oe = g("div"), Q = g("img"), ye = g("span"), Me = N(ve), f = g("span"), A = g("span"), at = N(I), Mt = Y(), We = g("span"), ut = N(
|
|
4431
4409
|
/*currency*/
|
|
4432
4410
|
e[1]
|
|
4433
4411
|
), m(i, "class", "displayCardIcon"), k(i.src, o = /*caticons*/
|
|
4434
4412
|
e[10][0]) || m(i, "src", o), m(i, "alt", ""), m(s, "class", "cardLabel"), m(n, "class", "iconWrapper"), m(h, "class", "jackpotValue"), m(v, "class", "jackpot-currency"), m(u, "class", "cardTextWrapper"), m(r, "class", "displayCard"), m(B, "class", "displayCardIcon"), k(B.src, R = /*caticons*/
|
|
4435
|
-
e[10][1]) || m(B, "src", R), m(B, "alt", ""), m(
|
|
4413
|
+
e[10][1]) || m(B, "src", R), m(B, "alt", ""), m(C, "class", "cardLabel"), m(w, "class", "iconWrapper"), m(ae, "class", "jackpotValue"), m(ue, "class", "jackpot-currency"), m(X, "class", "cardTextWrapper"), m(S, "class", "displayCard"), m(t, "class", "pairWrapper"), m($, "class", "displayCardIcon"), k($.src, ie = /*caticons*/
|
|
4436
4414
|
e[10][2]) || m($, "src", ie), m($, "alt", ""), m(F, "class", "cardLabel"), m(J, "class", "iconWrapper"), m(de, "class", "jackpotValue"), m(be, "class", "jackpot-currency"), m(Z, "class", "cardTextWrapper"), m(M, "class", "displayCard"), m(Q, "class", "displayCardIcon"), k(Q.src, he = /*caticons*/
|
|
4437
4415
|
e[10][3]) || m(Q, "src", he), m(Q, "alt", ""), m(ye, "class", "cardLabel"), m(oe, "class", "iconWrapper"), m(A, "class", "jackpotValue"), m(We, "class", "jackpot-currency"), m(f, "class", "cardTextWrapper"), m(le, "class", "displayCard"), m(z, "class", "pairWrapper");
|
|
4438
4416
|
},
|
|
4439
|
-
m(H,
|
|
4440
|
-
q(H, t,
|
|
4417
|
+
m(H, O) {
|
|
4418
|
+
q(H, t, O), 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, y), d(u, v), d(v, b), d(t, _), d(t, S), d(S, w), d(w, B), d(w, C), d(C, W), d(S, X), d(X, ae), d(ae, ne), d(X, Ce), d(X, ue), d(ue, fe), q(H, pe, O), q(H, z, O), d(z, M), d(M, J), d(J, $), d(J, F), d(F, Ie), d(M, Z), d(Z, de), d(de, Ne), d(Z, Fe), d(Z, be), d(be, ge), d(z, Ve), d(z, le), d(le, oe), d(oe, Q), d(oe, ye), d(ye, Me), d(le, f), d(f, A), d(A, at), d(f, Mt), d(f, We), d(We, ut);
|
|
4441
4419
|
},
|
|
4442
|
-
p(H,
|
|
4443
|
-
|
|
4420
|
+
p(H, O) {
|
|
4421
|
+
O[0] & /*caticons*/
|
|
4444
4422
|
1024 && !k(i.src, o = /*caticons*/
|
|
4445
|
-
H[10][0]) && m(i, "src", o),
|
|
4423
|
+
H[10][0]) && m(i, "src", o), O[0] & /*formattedLabels*/
|
|
4446
4424
|
512 && a !== (a = /*formattedLabels*/
|
|
4447
|
-
H[9][0] + "") && U(l, a),
|
|
4425
|
+
H[9][0] + "") && U(l, a), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4448
4426
|
16644 && c !== (c = /*realtimeupdate*/
|
|
4449
4427
|
(H[2] === "true" ? (
|
|
4450
4428
|
/*updatedJackpotValues*/
|
|
@@ -4452,16 +4430,16 @@ function Po(e) {
|
|
|
4452
4430
|
) : (
|
|
4453
4431
|
/*formattedJackpotValues*/
|
|
4454
4432
|
H[8][0]
|
|
4455
|
-
)) + "") && U(p, c),
|
|
4433
|
+
)) + "") && U(p, c), O[0] & /*currency*/
|
|
4456
4434
|
2 && U(
|
|
4457
4435
|
b,
|
|
4458
4436
|
/*currency*/
|
|
4459
4437
|
H[1]
|
|
4460
|
-
),
|
|
4438
|
+
), O[0] & /*caticons*/
|
|
4461
4439
|
1024 && !k(B.src, R = /*caticons*/
|
|
4462
|
-
H[10][1]) && m(B, "src", R),
|
|
4440
|
+
H[10][1]) && m(B, "src", R), O[0] & /*formattedLabels*/
|
|
4463
4441
|
512 && j !== (j = /*formattedLabels*/
|
|
4464
|
-
H[9][1] + "") && U(W, j),
|
|
4442
|
+
H[9][1] + "") && U(W, j), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4465
4443
|
16644 && re !== (re = /*realtimeupdate*/
|
|
4466
4444
|
(H[2] === "true" ? (
|
|
4467
4445
|
/*updatedJackpotValues*/
|
|
@@ -4469,16 +4447,16 @@ function Po(e) {
|
|
|
4469
4447
|
) : (
|
|
4470
4448
|
/*formattedJackpotValues*/
|
|
4471
4449
|
H[8][1]
|
|
4472
|
-
)) + "") && U(ne, re),
|
|
4450
|
+
)) + "") && U(ne, re), O[0] & /*currency*/
|
|
4473
4451
|
2 && U(
|
|
4474
4452
|
fe,
|
|
4475
4453
|
/*currency*/
|
|
4476
4454
|
H[1]
|
|
4477
|
-
),
|
|
4455
|
+
), O[0] & /*caticons*/
|
|
4478
4456
|
1024 && !k($.src, ie = /*caticons*/
|
|
4479
|
-
H[10][2]) && m($, "src", ie),
|
|
4457
|
+
H[10][2]) && m($, "src", ie), O[0] & /*formattedLabels*/
|
|
4480
4458
|
512 && K !== (K = /*formattedLabels*/
|
|
4481
|
-
H[9][2] + "") && U(
|
|
4459
|
+
H[9][2] + "") && U(Ie, K), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4482
4460
|
16644 && me !== (me = /*realtimeupdate*/
|
|
4483
4461
|
(H[2] === "true" ? (
|
|
4484
4462
|
/*updatedJackpotValues*/
|
|
@@ -4486,24 +4464,24 @@ function Po(e) {
|
|
|
4486
4464
|
) : (
|
|
4487
4465
|
/*formattedJackpotValues*/
|
|
4488
4466
|
H[8][2]
|
|
4489
|
-
)) + "") && U(Ne, me),
|
|
4467
|
+
)) + "") && U(Ne, me), O[0] & /*currency*/
|
|
4490
4468
|
2 && U(
|
|
4491
4469
|
ge,
|
|
4492
4470
|
/*currency*/
|
|
4493
4471
|
H[1]
|
|
4494
|
-
),
|
|
4472
|
+
), O[0] & /*caticons*/
|
|
4495
4473
|
1024 && !k(Q.src, he = /*caticons*/
|
|
4496
|
-
H[10][3]) && m(Q, "src", he),
|
|
4474
|
+
H[10][3]) && m(Q, "src", he), O[0] & /*formattedLabels*/
|
|
4497
4475
|
512 && ve !== (ve = /*formattedLabels*/
|
|
4498
|
-
H[9][3] + "") && U(Me, ve),
|
|
4499
|
-
16644 &&
|
|
4476
|
+
H[9][3] + "") && U(Me, ve), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4477
|
+
16644 && I !== (I = /*realtimeupdate*/
|
|
4500
4478
|
(H[2] === "true" ? (
|
|
4501
4479
|
/*updatedJackpotValues*/
|
|
4502
4480
|
H[14][3]
|
|
4503
4481
|
) : (
|
|
4504
4482
|
/*formattedJackpotValues*/
|
|
4505
4483
|
H[8][3]
|
|
4506
|
-
)) + "") && U(at,
|
|
4484
|
+
)) + "") && U(at, I), O[0] & /*currency*/
|
|
4507
4485
|
2 && U(
|
|
4508
4486
|
ut,
|
|
4509
4487
|
/*currency*/
|
|
@@ -4515,15 +4493,15 @@ function Po(e) {
|
|
|
4515
4493
|
}
|
|
4516
4494
|
};
|
|
4517
4495
|
}
|
|
4518
|
-
function
|
|
4519
|
-
let t, r =
|
|
4496
|
+
function Ao(e) {
|
|
4497
|
+
let t, r = Dt(Array(4)), n = [];
|
|
4520
4498
|
for (let i = 0; i < r.length; i += 1)
|
|
4521
|
-
n[i] =
|
|
4499
|
+
n[i] = ur(ar(e, r, i));
|
|
4522
4500
|
return {
|
|
4523
4501
|
c() {
|
|
4524
4502
|
for (let i = 0; i < n.length; i += 1)
|
|
4525
4503
|
n[i].c();
|
|
4526
|
-
t =
|
|
4504
|
+
t = Zr();
|
|
4527
4505
|
},
|
|
4528
4506
|
m(i, o) {
|
|
4529
4507
|
for (let s = 0; s < n.length; s += 1)
|
|
@@ -4533,11 +4511,11 @@ function Lo(e) {
|
|
|
4533
4511
|
p(i, o) {
|
|
4534
4512
|
if (o[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4535
4513
|
18182) {
|
|
4536
|
-
r =
|
|
4514
|
+
r = Dt(Array(4));
|
|
4537
4515
|
let s;
|
|
4538
4516
|
for (s = 0; s < r.length; s += 1) {
|
|
4539
|
-
const a =
|
|
4540
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4517
|
+
const a = ar(i, r, s);
|
|
4518
|
+
n[s] ? n[s].p(a, o) : (n[s] = ur(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4541
4519
|
}
|
|
4542
4520
|
for (; s < n.length; s += 1)
|
|
4543
4521
|
n[s].d(1);
|
|
@@ -4545,11 +4523,11 @@ function Lo(e) {
|
|
|
4545
4523
|
}
|
|
4546
4524
|
},
|
|
4547
4525
|
d(i) {
|
|
4548
|
-
i && V(t),
|
|
4526
|
+
i && V(t), Jr(n, i);
|
|
4549
4527
|
}
|
|
4550
4528
|
};
|
|
4551
4529
|
}
|
|
4552
|
-
function
|
|
4530
|
+
function ur(e) {
|
|
4553
4531
|
let t, r, n, i, o, s = (
|
|
4554
4532
|
/*formattedLabels*/
|
|
4555
4533
|
e[9][
|
|
@@ -4623,14 +4601,14 @@ function cr(e) {
|
|
|
4623
4601
|
}
|
|
4624
4602
|
};
|
|
4625
4603
|
}
|
|
4626
|
-
function
|
|
4604
|
+
function Bo(e) {
|
|
4627
4605
|
let t;
|
|
4628
4606
|
function r(o, s) {
|
|
4629
4607
|
return (
|
|
4630
4608
|
/*hasErrors*/
|
|
4631
|
-
o[13] ?
|
|
4609
|
+
o[13] ? wo : (
|
|
4632
4610
|
/*isLoading*/
|
|
4633
|
-
o[4] ?
|
|
4611
|
+
o[4] ? To : So
|
|
4634
4612
|
)
|
|
4635
4613
|
);
|
|
4636
4614
|
}
|
|
@@ -4652,32 +4630,32 @@ function Co(e) {
|
|
|
4652
4630
|
}
|
|
4653
4631
|
};
|
|
4654
4632
|
}
|
|
4655
|
-
function
|
|
4656
|
-
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: c = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: y = "" } = t, { lang: v = "en" } = t, { clientstyling: b = "" } = t, { clientstylingurl: _ = "" } = t, { translationurl: S = "" } = t, { endpoint: w = "" } = t, { gameid: B = "" } = t, { mbsource: R } = t, { realtimeupdate:
|
|
4657
|
-
const
|
|
4633
|
+
function Po(e, t, r) {
|
|
4634
|
+
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: c = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: y = "" } = t, { lang: v = "en" } = t, { clientstyling: b = "" } = t, { clientstylingurl: _ = "" } = t, { translationurl: S = "" } = t, { endpoint: w = "" } = t, { gameid: B = "" } = t, { mbsource: R } = t, { realtimeupdate: C = "false" } = t, j = window.navigator.userAgent, W = !1, X = !1, ae = "", re = [], ne = [], Ce = [], ue = [], fe = [], pe = "", z = "", M, J = !0, $ = !1, ie, F = null, K = [];
|
|
4635
|
+
const Ie = () => {
|
|
4658
4636
|
fetch(S).then((A) => A.json()).then((A) => {
|
|
4659
|
-
Object.keys(A).forEach((
|
|
4660
|
-
|
|
4637
|
+
Object.keys(A).forEach((I) => {
|
|
4638
|
+
or(I, A[I]);
|
|
4661
4639
|
});
|
|
4662
4640
|
}).catch((A) => {
|
|
4663
4641
|
console.log(A);
|
|
4664
4642
|
});
|
|
4665
4643
|
};
|
|
4666
|
-
Object.keys(
|
|
4667
|
-
|
|
4644
|
+
Object.keys(sr).forEach((f) => {
|
|
4645
|
+
or(f, sr[f]);
|
|
4668
4646
|
});
|
|
4669
4647
|
const Z = ["typeSpread", "typeLeft"], de = (f) => {
|
|
4670
4648
|
const A = f?.items[0]?.additionalData;
|
|
4671
|
-
A && Object.values(A).forEach((
|
|
4649
|
+
A && Object.values(A).forEach((I) => re.push(+I));
|
|
4672
4650
|
}, me = (f) => {
|
|
4673
4651
|
r(7, ae = f?.items[0]?.vendorLogo || "");
|
|
4674
4652
|
}, Ne = () => {
|
|
4675
4653
|
if (w && v && c) {
|
|
4676
4654
|
let f = new URL(`${w}/v1/casino/jackpots`);
|
|
4677
|
-
f.searchParams.append("filter", `id=${B}`), f.searchParams.append("language", v), f.searchParams.append("additionalDataCurrency", c), fetch(f.href).then((A) => A.json().then((
|
|
4678
|
-
r(4, J = !1), ie =
|
|
4679
|
-
}).catch((
|
|
4680
|
-
r(13, $ = !0), r(4, J = !1), console.error(
|
|
4655
|
+
f.searchParams.append("filter", `id=${B}`), f.searchParams.append("language", v), f.searchParams.append("additionalDataCurrency", c), fetch(f.href).then((A) => A.json().then((I) => {
|
|
4656
|
+
r(4, J = !1), ie = I, ne.includes(B) && (de(ie), me(ie));
|
|
4657
|
+
}).catch((I) => {
|
|
4658
|
+
r(13, $ = !0), r(4, J = !1), console.error(I);
|
|
4681
4659
|
}).finally(() => {
|
|
4682
4660
|
Fe();
|
|
4683
4661
|
}));
|
|
@@ -4688,10 +4666,10 @@ function Io(e, t, r) {
|
|
|
4688
4666
|
}, be = () => {
|
|
4689
4667
|
let f = new URL(`${w}/v1/casino/jackpots/config`);
|
|
4690
4668
|
fetch(f.href).then((A) => A.json()).then((A) => {
|
|
4691
|
-
r(32, ne = A.egtJackpotIds.map((
|
|
4669
|
+
r(32, ne = A.egtJackpotIds.map((I) => I));
|
|
4692
4670
|
});
|
|
4693
4671
|
}, ge = () => {
|
|
4694
|
-
r(5, W =
|
|
4672
|
+
r(5, W = go(j) && window.innerHeight / window.innerWidth > 1), r(6, X = le()), re.length !== 0 && r(8, Ce = Ve(re)), r(9, ue = u ? u.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), Z.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 "${Z[0]}"`), r(0, n = Z[0])), r(11, pe = p && W && !X ? p : h), r(12, z = y), r(10, fe = [o, s, a, l]);
|
|
4695
4673
|
}, Ve = (f) => f.map((A) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(A)), le = () => {
|
|
4696
4674
|
const f = window.innerHeight / window.innerWidth;
|
|
4697
4675
|
return 0.75 < f && f < 1.6;
|
|
@@ -4701,51 +4679,51 @@ function Io(e, t, r) {
|
|
|
4701
4679
|
gameId: `${B}`
|
|
4702
4680
|
});
|
|
4703
4681
|
}, Q = () => {
|
|
4704
|
-
|
|
4682
|
+
Eo(v);
|
|
4705
4683
|
}, he = (f) => {
|
|
4706
4684
|
const A = JSON.parse(f.data);
|
|
4707
4685
|
if (A.success && A.data.messageType === "UpdateEgtJackpotBalance" && A.data.jackpotAlias.split("_")[0] === B) {
|
|
4708
|
-
const
|
|
4709
|
-
r(14, K[
|
|
4686
|
+
const I = Number(A.data.jackpotAlias.split("_")[1]) - 1;
|
|
4687
|
+
r(14, K[I] = A.data.data[`${c}`].balance.toString(), K);
|
|
4710
4688
|
}
|
|
4711
4689
|
}, ye = () => {
|
|
4712
|
-
|
|
4690
|
+
C === "true" && (ge(), r(14, K = ["", "", "", ""]), F = new EventSource(`${w}/v1/encoder/jackpot/*/update`), F.addEventListener("message", he));
|
|
4713
4691
|
};
|
|
4714
|
-
|
|
4715
|
-
}),
|
|
4692
|
+
Kr(() => () => {
|
|
4693
|
+
}), en(() => {
|
|
4716
4694
|
F && (F.removeEventListener("message", he), F.close(), F = null);
|
|
4717
4695
|
});
|
|
4718
4696
|
const ve = () => oe();
|
|
4719
4697
|
function Me(f) {
|
|
4720
|
-
|
|
4698
|
+
bt[f ? "unshift" : "push"](() => {
|
|
4721
4699
|
M = f, r(3, M);
|
|
4722
4700
|
});
|
|
4723
4701
|
}
|
|
4724
4702
|
return e.$$set = (f) => {
|
|
4725
|
-
"visualstructure" in f && r(0, n = f.visualstructure), "title" in f && r(16, i = f.title), "caticon0" in f && r(17, o = f.caticon0), "caticon1" in f && r(18, s = f.caticon1), "caticon2" in f && r(19, a = f.caticon2), "caticon3" in f && r(20, l = f.caticon3), "iconlabels" in f && r(21, u = f.iconlabels), "backgroundsrc" in f && r(22, h = f.backgroundsrc), "currency" in f && r(1, c = f.currency), "backgroundsrcmobile" in f && r(23, p = f.backgroundsrcmobile), "titlelogopath" in f && r(24, y = f.titlelogopath), "lang" in f && r(25, v = f.lang), "clientstyling" in f && r(26, b = f.clientstyling), "clientstylingurl" in f && r(27, _ = f.clientstylingurl), "translationurl" in f && r(28, S = f.translationurl), "endpoint" in f && r(29, w = f.endpoint), "gameid" in f && r(30, B = f.gameid), "mbsource" in f && r(31, R = f.mbsource), "realtimeupdate" in f && r(2,
|
|
4703
|
+
"visualstructure" in f && r(0, n = f.visualstructure), "title" in f && r(16, i = f.title), "caticon0" in f && r(17, o = f.caticon0), "caticon1" in f && r(18, s = f.caticon1), "caticon2" in f && r(19, a = f.caticon2), "caticon3" in f && r(20, l = f.caticon3), "iconlabels" in f && r(21, u = f.iconlabels), "backgroundsrc" in f && r(22, h = f.backgroundsrc), "currency" in f && r(1, c = f.currency), "backgroundsrcmobile" in f && r(23, p = f.backgroundsrcmobile), "titlelogopath" in f && r(24, y = f.titlelogopath), "lang" in f && r(25, v = f.lang), "clientstyling" in f && r(26, b = f.clientstyling), "clientstylingurl" in f && r(27, _ = f.clientstylingurl), "translationurl" in f && r(28, S = f.translationurl), "endpoint" in f && r(29, w = f.endpoint), "gameid" in f && r(30, B = f.gameid), "mbsource" in f && r(31, R = f.mbsource), "realtimeupdate" in f && r(2, C = f.realtimeupdate);
|
|
4726
4704
|
}, e.$$.update = () => {
|
|
4727
4705
|
e.$$.dirty[0] & /*endpoint*/
|
|
4728
4706
|
536870912 && w && be(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4729
|
-
67108872 && b && M &&
|
|
4730
|
-
134217736 && _ && M &&
|
|
4707
|
+
67108872 && b && M && yo(M, b), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4708
|
+
134217736 && _ && M && vo(M, _), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4731
4709
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4732
|
-
1 && R && M &&
|
|
4710
|
+
1 && R && M && _o(M, `${R}.Style`), e.$$.dirty[0] & /*endpoint, lang, currency*/
|
|
4733
4711
|
570425346 | e.$$.dirty[1] & /*validGameIds*/
|
|
4734
4712
|
2 && w && v && c && ne.length > 0 && Ne(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4735
4713
|
33554450 && c && v && !J && ge(), e.$$.dirty[0] & /*lang*/
|
|
4736
4714
|
33554432 && v && Q(), e.$$.dirty[0] & /*translationurl*/
|
|
4737
|
-
268435456 && S &&
|
|
4738
|
-
4 &&
|
|
4715
|
+
268435456 && S && Ie(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4716
|
+
4 && C && ye();
|
|
4739
4717
|
}, [
|
|
4740
4718
|
n,
|
|
4741
4719
|
c,
|
|
4742
|
-
|
|
4720
|
+
C,
|
|
4743
4721
|
M,
|
|
4744
4722
|
J,
|
|
4745
4723
|
W,
|
|
4746
4724
|
X,
|
|
4747
4725
|
ae,
|
|
4748
|
-
|
|
4726
|
+
Ce,
|
|
4749
4727
|
ue,
|
|
4750
4728
|
fe,
|
|
4751
4729
|
pe,
|
|
@@ -4774,14 +4752,14 @@ function Io(e, t, r) {
|
|
|
4774
4752
|
Me
|
|
4775
4753
|
];
|
|
4776
4754
|
}
|
|
4777
|
-
class
|
|
4755
|
+
class Lo extends pn {
|
|
4778
4756
|
constructor(t) {
|
|
4779
|
-
super(),
|
|
4757
|
+
super(), cn(
|
|
4780
4758
|
this,
|
|
4781
4759
|
t,
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4760
|
+
Po,
|
|
4761
|
+
Bo,
|
|
4762
|
+
hr,
|
|
4785
4763
|
{
|
|
4786
4764
|
visualstructure: 0,
|
|
4787
4765
|
title: 16,
|
|
@@ -4803,7 +4781,7 @@ class Oo extends gn {
|
|
|
4803
4781
|
mbsource: 31,
|
|
4804
4782
|
realtimeupdate: 2
|
|
4805
4783
|
},
|
|
4806
|
-
|
|
4784
|
+
xo,
|
|
4807
4785
|
[-1, -1]
|
|
4808
4786
|
);
|
|
4809
4787
|
}
|
|
@@ -4922,7 +4900,7 @@ class Oo extends gn {
|
|
|
4922
4900
|
this.$$set({ realtimeupdate: t }), L();
|
|
4923
4901
|
}
|
|
4924
4902
|
}
|
|
4925
|
-
|
|
4903
|
+
fn(Lo, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
|
|
4926
4904
|
export {
|
|
4927
|
-
|
|
4905
|
+
Lo as C
|
|
4928
4906
|
};
|