@everymatrix/casino-betslip-indicator 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/{CasinoBetslipIndicator-CxgKuX53.js → CasinoBetslipIndicator-BTTRe29S.js} +558 -580
- package/components/{CasinoBetslipIndicator-Cbr684dS.js → CasinoBetslipIndicator-CRZPEe0d.js} +570 -592
- package/components/CasinoBetslipIndicator-DmmymBIC.cjs +21 -0
- package/es2015/casino-betslip-indicator.cjs +1 -1
- package/es2015/casino-betslip-indicator.js +1 -1
- package/esnext/casino-betslip-indicator.js +1 -1
- package/package.json +1 -1
- package/components/CasinoBetslipIndicator-C5fgTNOy.cjs +0 -21
package/components/{CasinoBetslipIndicator-CxgKuX53.js → CasinoBetslipIndicator-BTTRe29S.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function w() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function pt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Xe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ee(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(pt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ge(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function dt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function zt(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Zt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -30,14 +30,14 @@ function qt(e, ...t) {
|
|
|
30
30
|
function T(e, t) {
|
|
31
31
|
e.appendChild(t);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
const n =
|
|
33
|
+
function Qt(e, t, r) {
|
|
34
|
+
const n = Jt(e);
|
|
35
35
|
if (!n.getElementById(t)) {
|
|
36
36
|
const i = D("style");
|
|
37
|
-
i.id = t, i.textContent = r,
|
|
37
|
+
i.id = t, i.textContent = r, Yt(n, i);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Jt(e) {
|
|
41
41
|
if (!e)
|
|
42
42
|
return document;
|
|
43
43
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -47,7 +47,7 @@ function er(e) {
|
|
|
47
47
|
t
|
|
48
48
|
) : e.ownerDocument;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Yt(e, t) {
|
|
51
51
|
return T(
|
|
52
52
|
/** @type {Document} */
|
|
53
53
|
e.head || e,
|
|
@@ -63,32 +63,32 @@ function V(e) {
|
|
|
63
63
|
function D(e) {
|
|
64
64
|
return document.createElement(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function N(e) {
|
|
67
67
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function bt(e) {
|
|
70
70
|
return document.createTextNode(e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
return
|
|
72
|
+
function qt() {
|
|
73
|
+
return bt(" ");
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function Kt(e, t, r, n) {
|
|
76
76
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
77
77
|
}
|
|
78
78
|
function _(e, t, r) {
|
|
79
79
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function er(e) {
|
|
82
82
|
return Array.from(e.childNodes);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function tr(e, t) {
|
|
85
85
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
86
86
|
t);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function rr(e, t, r, n) {
|
|
89
89
|
e.style.setProperty(t, r, "");
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function nr(e) {
|
|
92
92
|
const t = {};
|
|
93
93
|
return e.childNodes.forEach(
|
|
94
94
|
/** @param {Element} node */
|
|
@@ -101,25 +101,25 @@ let Y;
|
|
|
101
101
|
function Q(e) {
|
|
102
102
|
Y = e;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function ir() {
|
|
105
105
|
if (!Y)
|
|
106
106
|
throw new Error("Function called outside component initialization");
|
|
107
107
|
return Y;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
109
|
+
function or(e) {
|
|
110
|
+
ir().$$.on_mount.push(e);
|
|
111
111
|
}
|
|
112
|
-
const $ = [],
|
|
112
|
+
const $ = [], He = [];
|
|
113
113
|
let R = [];
|
|
114
|
-
const
|
|
115
|
-
let
|
|
116
|
-
function
|
|
117
|
-
|
|
114
|
+
const We = [], sr = /* @__PURE__ */ Promise.resolve();
|
|
115
|
+
let Te = !1;
|
|
116
|
+
function ar() {
|
|
117
|
+
Te || (Te = !0, sr.then(J));
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Be(e) {
|
|
120
120
|
R.push(e);
|
|
121
121
|
}
|
|
122
|
-
const
|
|
122
|
+
const ye = /* @__PURE__ */ new Set();
|
|
123
123
|
let L = 0;
|
|
124
124
|
function J() {
|
|
125
125
|
if (L !== 0)
|
|
@@ -129,53 +129,53 @@ function J() {
|
|
|
129
129
|
try {
|
|
130
130
|
for (; L < $.length; ) {
|
|
131
131
|
const t = $[L];
|
|
132
|
-
L++, Q(t),
|
|
132
|
+
L++, Q(t), ur(t.$$);
|
|
133
133
|
}
|
|
134
134
|
} catch (t) {
|
|
135
135
|
throw $.length = 0, L = 0, t;
|
|
136
136
|
}
|
|
137
|
-
for (Q(null), $.length = 0, L = 0;
|
|
138
|
-
|
|
137
|
+
for (Q(null), $.length = 0, L = 0; He.length; )
|
|
138
|
+
He.pop()();
|
|
139
139
|
for (let t = 0; t < R.length; t += 1) {
|
|
140
140
|
const r = R[t];
|
|
141
|
-
|
|
141
|
+
ye.has(r) || (ye.add(r), r());
|
|
142
142
|
}
|
|
143
143
|
R.length = 0;
|
|
144
144
|
} while ($.length);
|
|
145
|
-
for (;
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
for (; We.length; )
|
|
146
|
+
We.pop()();
|
|
147
|
+
Te = !1, ye.clear(), Q(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function ur(e) {
|
|
150
150
|
if (e.fragment !== null) {
|
|
151
151
|
e.update(), ee(e.before_update);
|
|
152
152
|
const t = e.dirty;
|
|
153
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
153
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function hr(e) {
|
|
157
157
|
const t = [], r = [];
|
|
158
158
|
R.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), R = t;
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
e && e.i && (
|
|
160
|
+
const lr = /* @__PURE__ */ new Set();
|
|
161
|
+
function cr(e, t) {
|
|
162
|
+
e && e.i && (lr.delete(e), e.i(t));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function fr(e, t, r) {
|
|
165
165
|
const { fragment: n, after_update: i } = e.$$;
|
|
166
|
-
n && n.m(t, r),
|
|
167
|
-
const o = e.$$.on_mount.map(
|
|
166
|
+
n && n.m(t, r), Be(() => {
|
|
167
|
+
const o = e.$$.on_mount.map(pt).filter(Ge);
|
|
168
168
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
|
169
|
-
}), i.forEach(
|
|
169
|
+
}), i.forEach(Be);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function mr(e, t) {
|
|
172
172
|
const r = e.$$;
|
|
173
|
-
r.fragment !== null && (
|
|
173
|
+
r.fragment !== null && (hr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
e.$$.dirty[0] === -1 && ($.push(e),
|
|
175
|
+
function pr(e, t) {
|
|
176
|
+
e.$$.dirty[0] === -1 && ($.push(e), ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function dr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
179
179
|
const h = Y;
|
|
180
180
|
Q(e);
|
|
181
181
|
const u = e.$$ = {
|
|
@@ -185,7 +185,7 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
185
185
|
props: o,
|
|
186
186
|
update: w,
|
|
187
187
|
not_equal: i,
|
|
188
|
-
bound:
|
|
188
|
+
bound: Xe(),
|
|
189
189
|
// lifecycle
|
|
190
190
|
on_mount: [],
|
|
191
191
|
on_destroy: [],
|
|
@@ -194,7 +194,7 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
194
194
|
after_update: [],
|
|
195
195
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
196
196
|
// everything else
|
|
197
|
-
callbacks:
|
|
197
|
+
callbacks: Xe(),
|
|
198
198
|
dirty: a,
|
|
199
199
|
skip_bound: !1,
|
|
200
200
|
root: t.target || h.$$.root
|
|
@@ -202,20 +202,20 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
202
202
|
s && s(u.root);
|
|
203
203
|
let l = !1;
|
|
204
204
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
205
|
-
const
|
|
206
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
205
|
+
const g = p.length ? p[0] : c;
|
|
206
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && pr(e, f)), c;
|
|
207
207
|
}) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
208
208
|
if (t.hydrate) {
|
|
209
|
-
const f =
|
|
209
|
+
const f = er(t.target);
|
|
210
210
|
u.fragment && u.fragment.l(f), f.forEach(V);
|
|
211
211
|
} else
|
|
212
212
|
u.fragment && u.fragment.c();
|
|
213
|
-
t.intro &&
|
|
213
|
+
t.intro && cr(e.$$.fragment), fr(e, t.target, t.anchor), J();
|
|
214
214
|
}
|
|
215
215
|
Q(h);
|
|
216
216
|
}
|
|
217
|
-
let
|
|
218
|
-
typeof HTMLElement == "function" && (
|
|
217
|
+
let vt;
|
|
218
|
+
typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
219
219
|
/** The Svelte component constructor */
|
|
220
220
|
$$ctor;
|
|
221
221
|
/** Slots */
|
|
@@ -274,7 +274,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
274
274
|
};
|
|
275
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
276
276
|
return;
|
|
277
|
-
const t = {}, r =
|
|
277
|
+
const t = {}, r = nr(this);
|
|
278
278
|
for (const i of this.$$s)
|
|
279
279
|
i in r && (t[i] = [e(i)]);
|
|
280
280
|
for (const i of this.attributes) {
|
|
@@ -361,8 +361,8 @@ function ae(e, t, r, n) {
|
|
|
361
361
|
return t;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
let s = class extends
|
|
364
|
+
function br(e, t, r, n, i, o) {
|
|
365
|
+
let s = class extends vt {
|
|
366
366
|
constructor() {
|
|
367
367
|
super(e, r, i), this.$$p_d = t;
|
|
368
368
|
}
|
|
@@ -390,7 +390,7 @@ function xr(e, t, r, n, i, o) {
|
|
|
390
390
|
}), e.element = /** @type {any} */
|
|
391
391
|
s, s;
|
|
392
392
|
}
|
|
393
|
-
class
|
|
393
|
+
class vr {
|
|
394
394
|
/**
|
|
395
395
|
* ### PRIVATE API
|
|
396
396
|
*
|
|
@@ -409,7 +409,7 @@ class _r {
|
|
|
409
409
|
$$set = void 0;
|
|
410
410
|
/** @returns {void} */
|
|
411
411
|
$destroy() {
|
|
412
|
-
|
|
412
|
+
mr(this, 1), this.$destroy = w;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -418,7 +418,7 @@ class _r {
|
|
|
418
418
|
* @returns {() => void}
|
|
419
419
|
*/
|
|
420
420
|
$on(t, r) {
|
|
421
|
-
if (!
|
|
421
|
+
if (!Ge(r))
|
|
422
422
|
return w;
|
|
423
423
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
424
424
|
return n.push(r), () => {
|
|
@@ -431,11 +431,11 @@ class _r {
|
|
|
431
431
|
* @returns {void}
|
|
432
432
|
*/
|
|
433
433
|
$set(t) {
|
|
434
|
-
this.$$set && !
|
|
434
|
+
this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
const
|
|
438
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
437
|
+
const yr = "4";
|
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yr);
|
|
439
439
|
/*! *****************************************************************************
|
|
440
440
|
Copyright (c) Microsoft Corporation.
|
|
441
441
|
|
|
@@ -450,34 +450,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
450
450
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
451
451
|
PERFORMANCE OF THIS SOFTWARE.
|
|
452
452
|
***************************************************************************** */
|
|
453
|
-
var
|
|
454
|
-
return
|
|
453
|
+
var Ae = function(e, t) {
|
|
454
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
455
455
|
r.__proto__ = n;
|
|
456
456
|
} || function(r, n) {
|
|
457
457
|
for (var i in n)
|
|
458
458
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
459
|
-
},
|
|
459
|
+
}, Ae(e, t);
|
|
460
460
|
};
|
|
461
461
|
function A(e, t) {
|
|
462
462
|
if (typeof t != "function" && t !== null)
|
|
463
463
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
464
|
-
|
|
464
|
+
Ae(e, t);
|
|
465
465
|
function r() {
|
|
466
466
|
this.constructor = e;
|
|
467
467
|
}
|
|
468
468
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
return
|
|
470
|
+
var y = function() {
|
|
471
|
+
return y = Object.assign || function(t) {
|
|
472
472
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
473
473
|
r = arguments[n];
|
|
474
474
|
for (var o in r)
|
|
475
475
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
476
476
|
}
|
|
477
477
|
return t;
|
|
478
|
-
},
|
|
478
|
+
}, y.apply(this, arguments);
|
|
479
479
|
};
|
|
480
|
-
function
|
|
480
|
+
function gr(e, t) {
|
|
481
481
|
var r = {};
|
|
482
482
|
for (var n in e)
|
|
483
483
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -486,7 +486,7 @@ function Sr(e, t) {
|
|
|
486
486
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
487
487
|
return r;
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function Pe(e) {
|
|
490
490
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
491
491
|
if (r)
|
|
492
492
|
return r.call(e);
|
|
@@ -498,7 +498,7 @@ function Oe(e) {
|
|
|
498
498
|
};
|
|
499
499
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function Oe(e, t) {
|
|
502
502
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
503
503
|
if (!r)
|
|
504
504
|
return e;
|
|
@@ -527,13 +527,13 @@ function U(e, t, r) {
|
|
|
527
527
|
function B(e) {
|
|
528
528
|
return typeof e == "function";
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function yt(e) {
|
|
531
531
|
var t = function(n) {
|
|
532
532
|
Error.call(n), n.stack = new Error().stack;
|
|
533
533
|
}, r = e(t);
|
|
534
534
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
535
535
|
}
|
|
536
|
-
var
|
|
536
|
+
var ge = yt(function(e) {
|
|
537
537
|
return function(r) {
|
|
538
538
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
539
539
|
` + r.map(function(n, i) {
|
|
@@ -542,7 +542,7 @@ var ve = _t(function(e) {
|
|
|
542
542
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
543
543
|
};
|
|
544
544
|
});
|
|
545
|
-
function
|
|
545
|
+
function Ie(e, t) {
|
|
546
546
|
if (e) {
|
|
547
547
|
var r = e.indexOf(t);
|
|
548
548
|
0 <= r && e.splice(r, 1);
|
|
@@ -560,7 +560,7 @@ var me = function() {
|
|
|
560
560
|
if (s)
|
|
561
561
|
if (this._parentage = null, Array.isArray(s))
|
|
562
562
|
try {
|
|
563
|
-
for (var a =
|
|
563
|
+
for (var a = Pe(s), h = a.next(); !h.done; h = a.next()) {
|
|
564
564
|
var u = h.value;
|
|
565
565
|
u.remove(this);
|
|
566
566
|
}
|
|
@@ -581,18 +581,18 @@ var me = function() {
|
|
|
581
581
|
try {
|
|
582
582
|
l();
|
|
583
583
|
} catch (m) {
|
|
584
|
-
o = m instanceof
|
|
584
|
+
o = m instanceof ge ? m.errors : [m];
|
|
585
585
|
}
|
|
586
586
|
var f = this._finalizers;
|
|
587
587
|
if (f) {
|
|
588
588
|
this._finalizers = null;
|
|
589
589
|
try {
|
|
590
|
-
for (var c =
|
|
591
|
-
var
|
|
590
|
+
for (var c = Pe(f), p = c.next(); !p.done; p = c.next()) {
|
|
591
|
+
var g = p.value;
|
|
592
592
|
try {
|
|
593
|
-
|
|
593
|
+
ze(g);
|
|
594
594
|
} catch (m) {
|
|
595
|
-
o = o ?? [], m instanceof
|
|
595
|
+
o = o ?? [], m instanceof ge ? o = U(U([], Oe(o)), Oe(m.errors)) : o.push(m);
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
} catch (m) {
|
|
@@ -607,13 +607,13 @@ var me = function() {
|
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
if (o)
|
|
610
|
-
throw new
|
|
610
|
+
throw new ge(o);
|
|
611
611
|
}
|
|
612
612
|
}, e.prototype.add = function(t) {
|
|
613
613
|
var r;
|
|
614
614
|
if (t && t !== this)
|
|
615
615
|
if (this.closed)
|
|
616
|
-
|
|
616
|
+
ze(t);
|
|
617
617
|
else {
|
|
618
618
|
if (t instanceof e) {
|
|
619
619
|
if (t.closed || t._hasParent(this))
|
|
@@ -630,53 +630,49 @@ var me = function() {
|
|
|
630
630
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
631
631
|
}, e.prototype._removeParent = function(t) {
|
|
632
632
|
var r = this._parentage;
|
|
633
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
633
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ie(r, t);
|
|
634
634
|
}, e.prototype.remove = function(t) {
|
|
635
635
|
var r = this._finalizers;
|
|
636
|
-
r &&
|
|
636
|
+
r && Ie(r, t), t instanceof e && t._removeParent(this);
|
|
637
637
|
}, e.EMPTY = function() {
|
|
638
638
|
var t = new e();
|
|
639
639
|
return t.closed = !0, t;
|
|
640
640
|
}(), e;
|
|
641
|
-
}(),
|
|
642
|
-
function
|
|
641
|
+
}(), gt = me.EMPTY;
|
|
642
|
+
function xt(e) {
|
|
643
643
|
return e instanceof me || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function ze(e) {
|
|
646
646
|
B(e) ? e() : e.unsubscribe();
|
|
647
647
|
}
|
|
648
|
-
var
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
Promise: void 0,
|
|
652
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
653
|
-
useDeprecatedNextContext: !1
|
|
654
|
-
}, wr = {
|
|
648
|
+
var xr = {
|
|
649
|
+
Promise: void 0
|
|
650
|
+
}, _r = {
|
|
655
651
|
setTimeout: function(e, t) {
|
|
656
652
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
657
653
|
r[n - 2] = arguments[n];
|
|
658
|
-
return setTimeout.apply(void 0, U([e, t],
|
|
654
|
+
return setTimeout.apply(void 0, U([e, t], Oe(r)));
|
|
659
655
|
},
|
|
660
656
|
clearTimeout: function(e) {
|
|
661
657
|
return clearTimeout(e);
|
|
662
658
|
},
|
|
663
659
|
delegate: void 0
|
|
664
660
|
};
|
|
665
|
-
function
|
|
666
|
-
|
|
661
|
+
function Er(e) {
|
|
662
|
+
_r.setTimeout(function() {
|
|
667
663
|
throw e;
|
|
668
664
|
});
|
|
669
665
|
}
|
|
670
|
-
function
|
|
666
|
+
function Ze() {
|
|
671
667
|
}
|
|
672
668
|
function ue(e) {
|
|
673
669
|
e();
|
|
674
670
|
}
|
|
675
|
-
var
|
|
671
|
+
var _t = function(e) {
|
|
676
672
|
A(t, e);
|
|
677
673
|
function t(r) {
|
|
678
674
|
var n = e.call(this) || this;
|
|
679
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
675
|
+
return n.isStopped = !1, r ? (n.destination = r, xt(r) && r.add(n)) : n.destination = Hr, n;
|
|
680
676
|
}
|
|
681
677
|
return t.create = function(r, n, i) {
|
|
682
678
|
return new Ne(r, n, i);
|
|
@@ -703,11 +699,7 @@ var Ht = function(e) {
|
|
|
703
699
|
this.unsubscribe();
|
|
704
700
|
}
|
|
705
701
|
}, t;
|
|
706
|
-
}(me),
|
|
707
|
-
function xe(e, t) {
|
|
708
|
-
return Tr.call(e, t);
|
|
709
|
-
}
|
|
710
|
-
var Br = function() {
|
|
702
|
+
}(me), Sr = function() {
|
|
711
703
|
function e(t) {
|
|
712
704
|
this.partialObserver = t;
|
|
713
705
|
}
|
|
@@ -742,51 +734,39 @@ var Br = function() {
|
|
|
742
734
|
A(t, e);
|
|
743
735
|
function t(r, n, i) {
|
|
744
736
|
var o = e.call(this) || this, s;
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
};
|
|
751
|
-
else {
|
|
752
|
-
var a;
|
|
753
|
-
o && wt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
754
|
-
return o.unsubscribe();
|
|
755
|
-
}, s = {
|
|
756
|
-
next: r.next && xe(r.next, a),
|
|
757
|
-
error: r.error && xe(r.error, a),
|
|
758
|
-
complete: r.complete && xe(r.complete, a)
|
|
759
|
-
}) : s = r;
|
|
760
|
-
}
|
|
761
|
-
return o.destination = new Br(s), o;
|
|
737
|
+
return B(r) || !r ? s = {
|
|
738
|
+
next: r ?? void 0,
|
|
739
|
+
error: n ?? void 0,
|
|
740
|
+
complete: i ?? void 0
|
|
741
|
+
} : s = r, o.destination = new Sr(s), o;
|
|
762
742
|
}
|
|
763
743
|
return t;
|
|
764
|
-
}(
|
|
744
|
+
}(_t);
|
|
765
745
|
function oe(e) {
|
|
766
|
-
|
|
746
|
+
Er(e);
|
|
767
747
|
}
|
|
768
|
-
function
|
|
748
|
+
function wr(e) {
|
|
769
749
|
throw e;
|
|
770
750
|
}
|
|
771
|
-
var
|
|
751
|
+
var Hr = {
|
|
772
752
|
closed: !0,
|
|
773
|
-
next:
|
|
774
|
-
error:
|
|
775
|
-
complete:
|
|
776
|
-
},
|
|
753
|
+
next: Ze,
|
|
754
|
+
error: wr,
|
|
755
|
+
complete: Ze
|
|
756
|
+
}, Tr = function() {
|
|
777
757
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
778
758
|
}();
|
|
779
|
-
function
|
|
759
|
+
function Br(e) {
|
|
780
760
|
return e;
|
|
781
761
|
}
|
|
782
|
-
function
|
|
783
|
-
return e.length === 0 ?
|
|
762
|
+
function Ar(e) {
|
|
763
|
+
return e.length === 0 ? Br : e.length === 1 ? e[0] : function(r) {
|
|
784
764
|
return e.reduce(function(n, i) {
|
|
785
765
|
return i(n);
|
|
786
766
|
}, r);
|
|
787
767
|
};
|
|
788
768
|
}
|
|
789
|
-
var
|
|
769
|
+
var Qe = function() {
|
|
790
770
|
function e(t) {
|
|
791
771
|
t && (this._subscribe = t);
|
|
792
772
|
}
|
|
@@ -794,7 +774,7 @@ var qe = function() {
|
|
|
794
774
|
var r = new e();
|
|
795
775
|
return r.source = this, r.operator = t, r;
|
|
796
776
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
797
|
-
var i = this, o =
|
|
777
|
+
var i = this, o = Or(t) ? t : new Ne(t, r, n);
|
|
798
778
|
return ue(function() {
|
|
799
779
|
var s = i, a = s.operator, h = s.source;
|
|
800
780
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -807,7 +787,7 @@ var qe = function() {
|
|
|
807
787
|
}
|
|
808
788
|
}, e.prototype.forEach = function(t, r) {
|
|
809
789
|
var n = this;
|
|
810
|
-
return r =
|
|
790
|
+
return r = Je(r), new r(function(i, o) {
|
|
811
791
|
var s = new Ne({
|
|
812
792
|
next: function(a) {
|
|
813
793
|
try {
|
|
@@ -824,15 +804,15 @@ var qe = function() {
|
|
|
824
804
|
}, e.prototype._subscribe = function(t) {
|
|
825
805
|
var r;
|
|
826
806
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
827
|
-
}, e.prototype[
|
|
807
|
+
}, e.prototype[Tr] = function() {
|
|
828
808
|
return this;
|
|
829
809
|
}, e.prototype.pipe = function() {
|
|
830
810
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
831
811
|
t[r] = arguments[r];
|
|
832
|
-
return
|
|
812
|
+
return Ar(t)(this);
|
|
833
813
|
}, e.prototype.toPromise = function(t) {
|
|
834
814
|
var r = this;
|
|
835
|
-
return t =
|
|
815
|
+
return t = Je(t), new t(function(n, i) {
|
|
836
816
|
var o;
|
|
837
817
|
r.subscribe(function(s) {
|
|
838
818
|
return o = s;
|
|
@@ -846,32 +826,32 @@ var qe = function() {
|
|
|
846
826
|
return new e(t);
|
|
847
827
|
}, e;
|
|
848
828
|
}();
|
|
849
|
-
function
|
|
829
|
+
function Je(e) {
|
|
850
830
|
var t;
|
|
851
|
-
return (t = e ??
|
|
831
|
+
return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
852
832
|
}
|
|
853
|
-
function
|
|
833
|
+
function Pr(e) {
|
|
854
834
|
return e && B(e.next) && B(e.error) && B(e.complete);
|
|
855
835
|
}
|
|
856
|
-
function
|
|
857
|
-
return e && e instanceof
|
|
836
|
+
function Or(e) {
|
|
837
|
+
return e && e instanceof _t || Pr(e) && xt(e);
|
|
858
838
|
}
|
|
859
|
-
var
|
|
839
|
+
var Ir = yt(function(e) {
|
|
860
840
|
return function() {
|
|
861
841
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
862
842
|
};
|
|
863
|
-
}),
|
|
843
|
+
}), Et = function(e) {
|
|
864
844
|
A(t, e);
|
|
865
845
|
function t() {
|
|
866
846
|
var r = e.call(this) || this;
|
|
867
847
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
868
848
|
}
|
|
869
849
|
return t.prototype.lift = function(r) {
|
|
870
|
-
var n = new
|
|
850
|
+
var n = new Ye(this, this);
|
|
871
851
|
return n.operator = r, n;
|
|
872
852
|
}, t.prototype._throwIfClosed = function() {
|
|
873
853
|
if (this.closed)
|
|
874
|
-
throw new
|
|
854
|
+
throw new Ir();
|
|
875
855
|
}, t.prototype.next = function(r) {
|
|
876
856
|
var n = this;
|
|
877
857
|
ue(function() {
|
|
@@ -879,7 +859,7 @@ var Mr = _t(function(e) {
|
|
|
879
859
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
880
860
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
881
861
|
try {
|
|
882
|
-
for (var s =
|
|
862
|
+
for (var s = Pe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
883
863
|
var h = a.value;
|
|
884
864
|
h.next(r);
|
|
885
865
|
}
|
|
@@ -928,19 +908,19 @@ var Mr = _t(function(e) {
|
|
|
928
908
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
929
909
|
}, t.prototype._innerSubscribe = function(r) {
|
|
930
910
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
931
|
-
return o || s ?
|
|
932
|
-
n.currentObservers = null,
|
|
911
|
+
return o || s ? gt : (this.currentObservers = null, a.push(r), new me(function() {
|
|
912
|
+
n.currentObservers = null, Ie(a, r);
|
|
933
913
|
}));
|
|
934
914
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
935
915
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
936
916
|
i ? r.error(o) : s && r.complete();
|
|
937
917
|
}, t.prototype.asObservable = function() {
|
|
938
|
-
var r = new
|
|
918
|
+
var r = new Qe();
|
|
939
919
|
return r.source = this, r;
|
|
940
920
|
}, t.create = function(r, n) {
|
|
941
|
-
return new
|
|
921
|
+
return new Ye(r, n);
|
|
942
922
|
}, t;
|
|
943
|
-
}(
|
|
923
|
+
}(Qe), Ye = function(e) {
|
|
944
924
|
A(t, e);
|
|
945
925
|
function t(r, n) {
|
|
946
926
|
var i = e.call(this) || this;
|
|
@@ -957,17 +937,17 @@ var Mr = _t(function(e) {
|
|
|
957
937
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
958
938
|
}, t.prototype._subscribe = function(r) {
|
|
959
939
|
var n, i;
|
|
960
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
940
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gt;
|
|
961
941
|
}, t;
|
|
962
|
-
}(
|
|
942
|
+
}(Et), St = {
|
|
963
943
|
now: function() {
|
|
964
|
-
return (
|
|
944
|
+
return (St.delegate || Date).now();
|
|
965
945
|
},
|
|
966
946
|
delegate: void 0
|
|
967
|
-
},
|
|
947
|
+
}, Nr = function(e) {
|
|
968
948
|
A(t, e);
|
|
969
949
|
function t(r, n, i) {
|
|
970
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
950
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = St);
|
|
971
951
|
var o = e.call(this) || this;
|
|
972
952
|
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;
|
|
973
953
|
}
|
|
@@ -987,15 +967,15 @@ var Mr = _t(function(e) {
|
|
|
987
967
|
u && o.splice(0, u + 1);
|
|
988
968
|
}
|
|
989
969
|
}, t;
|
|
990
|
-
}(
|
|
991
|
-
const
|
|
992
|
-
if (
|
|
993
|
-
const r = new
|
|
994
|
-
|
|
970
|
+
}(Et);
|
|
971
|
+
const qe = [], Ke = {}, Cr = (e, t = 0) => {
|
|
972
|
+
if (qe.indexOf(e) == -1) {
|
|
973
|
+
const r = new Nr(t);
|
|
974
|
+
Ke[e] = r, qe.push(e);
|
|
995
975
|
}
|
|
996
|
-
return
|
|
976
|
+
return Ke[e];
|
|
997
977
|
}, M = [];
|
|
998
|
-
function
|
|
978
|
+
function Lr(e, t) {
|
|
999
979
|
return {
|
|
1000
980
|
subscribe: pe(e, t).subscribe
|
|
1001
981
|
};
|
|
@@ -1004,7 +984,7 @@ function pe(e, t = w) {
|
|
|
1004
984
|
let r;
|
|
1005
985
|
const n = /* @__PURE__ */ new Set();
|
|
1006
986
|
function i(a) {
|
|
1007
|
-
if (
|
|
987
|
+
if (dt(e, a) && (e = a, r)) {
|
|
1008
988
|
const h = !M.length;
|
|
1009
989
|
for (const u of n)
|
|
1010
990
|
u[1](), M.push(u, e);
|
|
@@ -1031,7 +1011,7 @@ function X(e, t, r) {
|
|
|
1031
1011
|
if (!i.every(Boolean))
|
|
1032
1012
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1033
1013
|
const o = t.length < 2;
|
|
1034
|
-
return
|
|
1014
|
+
return Lr(r, (s, a) => {
|
|
1035
1015
|
let h = !1;
|
|
1036
1016
|
const u = [];
|
|
1037
1017
|
let l = 0, f = w;
|
|
@@ -1039,11 +1019,11 @@ function X(e, t, r) {
|
|
|
1039
1019
|
if (l)
|
|
1040
1020
|
return;
|
|
1041
1021
|
f();
|
|
1042
|
-
const
|
|
1043
|
-
o ? s(
|
|
1022
|
+
const g = t(n ? u[0] : u, s, a);
|
|
1023
|
+
o ? s(g) : f = Ge(g) ? g : w;
|
|
1044
1024
|
}, p = i.map(
|
|
1045
|
-
(
|
|
1046
|
-
|
|
1025
|
+
(g, m) => Zt(
|
|
1026
|
+
g,
|
|
1047
1027
|
(d) => {
|
|
1048
1028
|
u[m] = d, l &= ~(1 << m), h && c();
|
|
1049
1029
|
},
|
|
@@ -1057,70 +1037,70 @@ function X(e, t, r) {
|
|
|
1057
1037
|
};
|
|
1058
1038
|
});
|
|
1059
1039
|
}
|
|
1060
|
-
function
|
|
1040
|
+
function Mr(e) {
|
|
1061
1041
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1062
1042
|
}
|
|
1063
|
-
var
|
|
1064
|
-
return
|
|
1043
|
+
var $r = function(t) {
|
|
1044
|
+
return Rr(t) && !Ur(t);
|
|
1065
1045
|
};
|
|
1066
|
-
function
|
|
1046
|
+
function Rr(e) {
|
|
1067
1047
|
return !!e && typeof e == "object";
|
|
1068
1048
|
}
|
|
1069
|
-
function
|
|
1049
|
+
function Ur(e) {
|
|
1070
1050
|
var t = Object.prototype.toString.call(e);
|
|
1071
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1051
|
+
return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
|
|
1072
1052
|
}
|
|
1073
|
-
var
|
|
1074
|
-
function
|
|
1075
|
-
return e.$$typeof ===
|
|
1053
|
+
var Dr = typeof Symbol == "function" && Symbol.for, Fr = Dr ? Symbol.for("react.element") : 60103;
|
|
1054
|
+
function Gr(e) {
|
|
1055
|
+
return e.$$typeof === Fr;
|
|
1076
1056
|
}
|
|
1077
|
-
function
|
|
1057
|
+
function jr(e) {
|
|
1078
1058
|
return Array.isArray(e) ? [] : {};
|
|
1079
1059
|
}
|
|
1080
1060
|
function q(e, t) {
|
|
1081
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
1061
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(jr(e), e, t) : e;
|
|
1082
1062
|
}
|
|
1083
|
-
function
|
|
1063
|
+
function kr(e, t, r) {
|
|
1084
1064
|
return e.concat(t).map(function(n) {
|
|
1085
1065
|
return q(n, r);
|
|
1086
1066
|
});
|
|
1087
1067
|
}
|
|
1088
|
-
function
|
|
1068
|
+
function Vr(e, t) {
|
|
1089
1069
|
if (!t.customMerge)
|
|
1090
1070
|
return F;
|
|
1091
1071
|
var r = t.customMerge(e);
|
|
1092
1072
|
return typeof r == "function" ? r : F;
|
|
1093
1073
|
}
|
|
1094
|
-
function
|
|
1074
|
+
function Xr(e) {
|
|
1095
1075
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1096
1076
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1097
1077
|
}) : [];
|
|
1098
1078
|
}
|
|
1099
|
-
function
|
|
1100
|
-
return Object.keys(e).concat(
|
|
1079
|
+
function et(e) {
|
|
1080
|
+
return Object.keys(e).concat(Xr(e));
|
|
1101
1081
|
}
|
|
1102
|
-
function
|
|
1082
|
+
function wt(e, t) {
|
|
1103
1083
|
try {
|
|
1104
1084
|
return t in e;
|
|
1105
1085
|
} catch {
|
|
1106
1086
|
return !1;
|
|
1107
1087
|
}
|
|
1108
1088
|
}
|
|
1109
|
-
function
|
|
1110
|
-
return
|
|
1089
|
+
function Wr(e, t) {
|
|
1090
|
+
return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1111
1091
|
}
|
|
1112
|
-
function
|
|
1092
|
+
function zr(e, t, r) {
|
|
1113
1093
|
var n = {};
|
|
1114
|
-
return r.isMergeableObject(e) &&
|
|
1094
|
+
return r.isMergeableObject(e) && et(e).forEach(function(i) {
|
|
1115
1095
|
n[i] = q(e[i], r);
|
|
1116
|
-
}),
|
|
1117
|
-
|
|
1096
|
+
}), et(t).forEach(function(i) {
|
|
1097
|
+
Wr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
|
|
1118
1098
|
}), n;
|
|
1119
1099
|
}
|
|
1120
1100
|
function F(e, t, r) {
|
|
1121
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1101
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = q;
|
|
1122
1102
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1123
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1103
|
+
return o ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : q(t, r);
|
|
1124
1104
|
}
|
|
1125
1105
|
F.all = function(t, r) {
|
|
1126
1106
|
if (!Array.isArray(t))
|
|
@@ -1129,58 +1109,56 @@ F.all = function(t, r) {
|
|
|
1129
1109
|
return F(n, i, r);
|
|
1130
1110
|
}, {});
|
|
1131
1111
|
};
|
|
1132
|
-
var
|
|
1133
|
-
const
|
|
1134
|
-
function
|
|
1135
|
-
var r = t && t.cache ? t.cache :
|
|
1112
|
+
var Zr = F, Qr = Zr;
|
|
1113
|
+
const Jr = /* @__PURE__ */ Mr(Qr);
|
|
1114
|
+
function xe(e, t) {
|
|
1115
|
+
var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Kr;
|
|
1136
1116
|
return i(e, {
|
|
1137
1117
|
cache: r,
|
|
1138
1118
|
serializer: n
|
|
1139
1119
|
});
|
|
1140
1120
|
}
|
|
1141
|
-
function
|
|
1121
|
+
function Yr(e) {
|
|
1142
1122
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1143
1123
|
}
|
|
1144
|
-
function
|
|
1145
|
-
var i =
|
|
1124
|
+
function qr(e, t, r, n) {
|
|
1125
|
+
var i = Yr(n) ? n : r(n), o = t.get(i);
|
|
1146
1126
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1147
1127
|
}
|
|
1148
|
-
function
|
|
1128
|
+
function Ht(e, t, r) {
|
|
1149
1129
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1150
1130
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1151
1131
|
}
|
|
1152
|
-
function
|
|
1132
|
+
function Tt(e, t, r, n, i) {
|
|
1153
1133
|
return r.bind(t, e, n, i);
|
|
1154
1134
|
}
|
|
1155
|
-
function
|
|
1156
|
-
var r = e.length === 1 ?
|
|
1157
|
-
return
|
|
1135
|
+
function Kr(e, t) {
|
|
1136
|
+
var r = e.length === 1 ? qr : Ht;
|
|
1137
|
+
return Tt(e, this, r, t.cache.create(), t.serializer);
|
|
1158
1138
|
}
|
|
1159
|
-
function
|
|
1160
|
-
return
|
|
1139
|
+
function en(e, t) {
|
|
1140
|
+
return Tt(e, this, Ht, t.cache.create(), t.serializer);
|
|
1161
1141
|
}
|
|
1162
|
-
function
|
|
1163
|
-
return ke(e, this, Pt, t.cache.create(), t.serializer);
|
|
1164
|
-
}
|
|
1165
|
-
var sn = function() {
|
|
1142
|
+
var tn = function() {
|
|
1166
1143
|
return JSON.stringify(arguments);
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1144
|
+
}, rn = (
|
|
1145
|
+
/** @class */
|
|
1146
|
+
function() {
|
|
1147
|
+
function e() {
|
|
1148
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1149
|
+
}
|
|
1150
|
+
return e.prototype.get = function(t) {
|
|
1151
|
+
return this.cache[t];
|
|
1152
|
+
}, e.prototype.set = function(t, r) {
|
|
1153
|
+
this.cache[t] = r;
|
|
1154
|
+
}, e;
|
|
1155
|
+
}()
|
|
1156
|
+
), nn = {
|
|
1178
1157
|
create: function() {
|
|
1179
|
-
return new
|
|
1158
|
+
return new rn();
|
|
1180
1159
|
}
|
|
1181
|
-
},
|
|
1182
|
-
variadic:
|
|
1183
|
-
monadic: on
|
|
1160
|
+
}, _e = {
|
|
1161
|
+
variadic: en
|
|
1184
1162
|
}, b;
|
|
1185
1163
|
(function(e) {
|
|
1186
1164
|
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";
|
|
@@ -1193,43 +1171,43 @@ var G;
|
|
|
1193
1171
|
(function(e) {
|
|
1194
1172
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1195
1173
|
})(G || (G = {}));
|
|
1196
|
-
function
|
|
1174
|
+
function tt(e) {
|
|
1197
1175
|
return e.type === x.literal;
|
|
1198
1176
|
}
|
|
1199
|
-
function
|
|
1177
|
+
function on(e) {
|
|
1200
1178
|
return e.type === x.argument;
|
|
1201
1179
|
}
|
|
1202
|
-
function
|
|
1180
|
+
function Bt(e) {
|
|
1203
1181
|
return e.type === x.number;
|
|
1204
1182
|
}
|
|
1205
|
-
function
|
|
1183
|
+
function At(e) {
|
|
1206
1184
|
return e.type === x.date;
|
|
1207
1185
|
}
|
|
1208
|
-
function
|
|
1186
|
+
function Pt(e) {
|
|
1209
1187
|
return e.type === x.time;
|
|
1210
1188
|
}
|
|
1211
|
-
function
|
|
1189
|
+
function Ot(e) {
|
|
1212
1190
|
return e.type === x.select;
|
|
1213
1191
|
}
|
|
1214
|
-
function
|
|
1192
|
+
function It(e) {
|
|
1215
1193
|
return e.type === x.plural;
|
|
1216
1194
|
}
|
|
1217
|
-
function
|
|
1195
|
+
function sn(e) {
|
|
1218
1196
|
return e.type === x.pound;
|
|
1219
1197
|
}
|
|
1220
|
-
function
|
|
1198
|
+
function Nt(e) {
|
|
1221
1199
|
return e.type === x.tag;
|
|
1222
1200
|
}
|
|
1223
|
-
function
|
|
1201
|
+
function Ct(e) {
|
|
1224
1202
|
return !!(e && typeof e == "object" && e.type === G.number);
|
|
1225
1203
|
}
|
|
1226
|
-
function
|
|
1204
|
+
function Ce(e) {
|
|
1227
1205
|
return !!(e && typeof e == "object" && e.type === G.dateTime);
|
|
1228
1206
|
}
|
|
1229
|
-
var
|
|
1230
|
-
function
|
|
1207
|
+
var Lt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
|
|
1208
|
+
function un(e) {
|
|
1231
1209
|
var t = {};
|
|
1232
|
-
return e.replace(
|
|
1210
|
+
return e.replace(an, function(r) {
|
|
1233
1211
|
var n = r.length;
|
|
1234
1212
|
switch (r[0]) {
|
|
1235
1213
|
case "G":
|
|
@@ -1318,11 +1296,11 @@ function cn(e) {
|
|
|
1318
1296
|
return "";
|
|
1319
1297
|
}), t;
|
|
1320
1298
|
}
|
|
1321
|
-
var
|
|
1322
|
-
function
|
|
1299
|
+
var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1300
|
+
function ln(e) {
|
|
1323
1301
|
if (e.length === 0)
|
|
1324
1302
|
throw new Error("Number skeleton cannot be empty");
|
|
1325
|
-
for (var t = e.split(
|
|
1303
|
+
for (var t = e.split(hn).filter(function(c) {
|
|
1326
1304
|
return c.length > 0;
|
|
1327
1305
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1328
1306
|
var o = i[n], s = o.split("/");
|
|
@@ -1337,17 +1315,17 @@ function mn(e) {
|
|
|
1337
1315
|
}
|
|
1338
1316
|
return r;
|
|
1339
1317
|
}
|
|
1340
|
-
function
|
|
1318
|
+
function cn(e) {
|
|
1341
1319
|
return e.replace(/^(.*?)-/, "");
|
|
1342
1320
|
}
|
|
1343
|
-
var
|
|
1344
|
-
function
|
|
1321
|
+
var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
|
|
1322
|
+
function nt(e) {
|
|
1345
1323
|
var t = {};
|
|
1346
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1324
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
|
|
1347
1325
|
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)), "";
|
|
1348
1326
|
}), t;
|
|
1349
1327
|
}
|
|
1350
|
-
function
|
|
1328
|
+
function Rt(e) {
|
|
1351
1329
|
switch (e) {
|
|
1352
1330
|
case "sign-auto":
|
|
1353
1331
|
return {
|
|
@@ -1387,7 +1365,7 @@ function Gt(e) {
|
|
|
1387
1365
|
};
|
|
1388
1366
|
}
|
|
1389
1367
|
}
|
|
1390
|
-
function
|
|
1368
|
+
function mn(e) {
|
|
1391
1369
|
var t;
|
|
1392
1370
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1393
1371
|
notation: "engineering"
|
|
@@ -1395,17 +1373,17 @@ function bn(e) {
|
|
|
1395
1373
|
notation: "scientific"
|
|
1396
1374
|
}, e = e.slice(1)), t) {
|
|
1397
1375
|
var r = e.slice(0, 2);
|
|
1398
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)),
|
|
1376
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
|
|
1399
1377
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1400
1378
|
t.minimumIntegerDigits = e.length;
|
|
1401
1379
|
}
|
|
1402
1380
|
return t;
|
|
1403
1381
|
}
|
|
1404
|
-
function
|
|
1405
|
-
var t = {}, r =
|
|
1382
|
+
function it(e) {
|
|
1383
|
+
var t = {}, r = Rt(e);
|
|
1406
1384
|
return r || t;
|
|
1407
1385
|
}
|
|
1408
|
-
function
|
|
1386
|
+
function pn(e) {
|
|
1409
1387
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1410
1388
|
var i = n[r];
|
|
1411
1389
|
switch (i.stem) {
|
|
@@ -1429,7 +1407,7 @@ function yn(e) {
|
|
|
1429
1407
|
continue;
|
|
1430
1408
|
case "measure-unit":
|
|
1431
1409
|
case "unit":
|
|
1432
|
-
t.style = "unit", t.unit =
|
|
1410
|
+
t.style = "unit", t.unit = cn(i.options[0]);
|
|
1433
1411
|
continue;
|
|
1434
1412
|
case "compact-short":
|
|
1435
1413
|
case "K":
|
|
@@ -1440,13 +1418,13 @@ function yn(e) {
|
|
|
1440
1418
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1441
1419
|
continue;
|
|
1442
1420
|
case "scientific":
|
|
1443
|
-
t =
|
|
1444
|
-
return
|
|
1421
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1422
|
+
return y(y({}, h), it(u));
|
|
1445
1423
|
}, {}));
|
|
1446
1424
|
continue;
|
|
1447
1425
|
case "engineering":
|
|
1448
|
-
t =
|
|
1449
|
-
return
|
|
1426
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1427
|
+
return y(y({}, h), it(u));
|
|
1450
1428
|
}, {}));
|
|
1451
1429
|
continue;
|
|
1452
1430
|
case "notation-simple":
|
|
@@ -1491,7 +1469,7 @@ function yn(e) {
|
|
|
1491
1469
|
case "integer-width":
|
|
1492
1470
|
if (i.options.length > 1)
|
|
1493
1471
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1494
|
-
i.options[0].replace(
|
|
1472
|
+
i.options[0].replace(fn, function(h, u, l, f, c, p) {
|
|
1495
1473
|
if (u)
|
|
1496
1474
|
t.minimumIntegerDigits = l.length;
|
|
1497
1475
|
else {
|
|
@@ -1504,28 +1482,28 @@ function yn(e) {
|
|
|
1504
1482
|
});
|
|
1505
1483
|
continue;
|
|
1506
1484
|
}
|
|
1507
|
-
if (
|
|
1485
|
+
if ($t.test(i.stem)) {
|
|
1508
1486
|
t.minimumIntegerDigits = i.stem.length;
|
|
1509
1487
|
continue;
|
|
1510
1488
|
}
|
|
1511
|
-
if (
|
|
1489
|
+
if (rt.test(i.stem)) {
|
|
1512
1490
|
if (i.options.length > 1)
|
|
1513
1491
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1514
|
-
i.stem.replace(
|
|
1492
|
+
i.stem.replace(rt, function(h, u, l, f, c, p) {
|
|
1515
1493
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1516
1494
|
});
|
|
1517
1495
|
var o = i.options[0];
|
|
1518
|
-
o === "w" ? t =
|
|
1496
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), nt(o)));
|
|
1519
1497
|
continue;
|
|
1520
1498
|
}
|
|
1521
|
-
if (
|
|
1522
|
-
t =
|
|
1499
|
+
if (Mt.test(i.stem)) {
|
|
1500
|
+
t = y(y({}, t), nt(i.stem));
|
|
1523
1501
|
continue;
|
|
1524
1502
|
}
|
|
1525
|
-
var s =
|
|
1526
|
-
s && (t =
|
|
1527
|
-
var a =
|
|
1528
|
-
a && (t =
|
|
1503
|
+
var s = Rt(i.stem);
|
|
1504
|
+
s && (t = y(y({}, t), s));
|
|
1505
|
+
var a = mn(i.stem);
|
|
1506
|
+
a && (t = y(y({}, t), a));
|
|
1529
1507
|
}
|
|
1530
1508
|
return t;
|
|
1531
1509
|
}
|
|
@@ -2944,13 +2922,13 @@ var se = {
|
|
|
2944
2922
|
"h"
|
|
2945
2923
|
]
|
|
2946
2924
|
};
|
|
2947
|
-
function
|
|
2925
|
+
function dn(e, t) {
|
|
2948
2926
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2949
2927
|
var i = e.charAt(n);
|
|
2950
2928
|
if (i === "j") {
|
|
2951
2929
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2952
2930
|
o++, n++;
|
|
2953
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2931
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = bn(t);
|
|
2954
2932
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2955
2933
|
r += h;
|
|
2956
2934
|
for (; s-- > 0; )
|
|
@@ -2960,7 +2938,7 @@ function gn(e, t) {
|
|
|
2960
2938
|
}
|
|
2961
2939
|
return r;
|
|
2962
2940
|
}
|
|
2963
|
-
function
|
|
2941
|
+
function bn(e) {
|
|
2964
2942
|
var t = e.hourCycle;
|
|
2965
2943
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2966
2944
|
e.hourCycles && // @ts-ignore
|
|
@@ -2982,20 +2960,20 @@ function vn(e) {
|
|
|
2982
2960
|
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
2983
2961
|
return i[0];
|
|
2984
2962
|
}
|
|
2985
|
-
var
|
|
2986
|
-
function
|
|
2963
|
+
var Ee, vn = new RegExp("^".concat(Lt.source, "*")), yn = new RegExp("".concat(Lt.source, "*$"));
|
|
2964
|
+
function v(e, t) {
|
|
2987
2965
|
return { start: e, end: t };
|
|
2988
2966
|
}
|
|
2989
|
-
var
|
|
2967
|
+
var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, _n = !!Object.fromEntries, En = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Tn = Hn ? Number.isSafeInteger : function(e) {
|
|
2990
2968
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2991
|
-
},
|
|
2969
|
+
}, Le = !0;
|
|
2992
2970
|
try {
|
|
2993
|
-
var
|
|
2994
|
-
|
|
2971
|
+
var Bn = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2972
|
+
Le = ((Ee = Bn.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
|
|
2995
2973
|
} catch {
|
|
2996
|
-
|
|
2974
|
+
Le = !1;
|
|
2997
2975
|
}
|
|
2998
|
-
var
|
|
2976
|
+
var ot = gn ? (
|
|
2999
2977
|
// Native
|
|
3000
2978
|
function(t, r, n) {
|
|
3001
2979
|
return t.startsWith(r, n);
|
|
@@ -3005,7 +2983,7 @@ var ut = En ? (
|
|
|
3005
2983
|
function(t, r, n) {
|
|
3006
2984
|
return t.slice(n, n + r.length) === r;
|
|
3007
2985
|
}
|
|
3008
|
-
),
|
|
2986
|
+
), Me = xn ? String.fromCodePoint : (
|
|
3009
2987
|
// IE11
|
|
3010
2988
|
function() {
|
|
3011
2989
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3017,9 +2995,9 @@ var ut = En ? (
|
|
|
3017
2995
|
}
|
|
3018
2996
|
return n;
|
|
3019
2997
|
}
|
|
3020
|
-
),
|
|
2998
|
+
), st = (
|
|
3021
2999
|
// native
|
|
3022
|
-
|
|
3000
|
+
_n ? Object.fromEntries : (
|
|
3023
3001
|
// Ponyfill
|
|
3024
3002
|
function(t) {
|
|
3025
3003
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3029,7 +3007,7 @@ var ut = En ? (
|
|
|
3029
3007
|
return r;
|
|
3030
3008
|
}
|
|
3031
3009
|
)
|
|
3032
|
-
),
|
|
3010
|
+
), Ut = En ? (
|
|
3033
3011
|
// Native
|
|
3034
3012
|
function(t, r) {
|
|
3035
3013
|
return t.codePointAt(r);
|
|
@@ -3043,7 +3021,7 @@ var ut = En ? (
|
|
|
3043
3021
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3044
3022
|
}
|
|
3045
3023
|
}
|
|
3046
|
-
),
|
|
3024
|
+
), An = Sn ? (
|
|
3047
3025
|
// Native
|
|
3048
3026
|
function(t) {
|
|
3049
3027
|
return t.trimStart();
|
|
@@ -3051,9 +3029,9 @@ var ut = En ? (
|
|
|
3051
3029
|
) : (
|
|
3052
3030
|
// Ponyfill
|
|
3053
3031
|
function(t) {
|
|
3054
|
-
return t.replace(
|
|
3032
|
+
return t.replace(vn, "");
|
|
3055
3033
|
}
|
|
3056
|
-
),
|
|
3034
|
+
), Pn = wn ? (
|
|
3057
3035
|
// Native
|
|
3058
3036
|
function(t) {
|
|
3059
3037
|
return t.trimEnd();
|
|
@@ -3061,32 +3039,32 @@ var ut = En ? (
|
|
|
3061
3039
|
) : (
|
|
3062
3040
|
// Ponyfill
|
|
3063
3041
|
function(t) {
|
|
3064
|
-
return t.replace(
|
|
3042
|
+
return t.replace(yn, "");
|
|
3065
3043
|
}
|
|
3066
3044
|
);
|
|
3067
|
-
function
|
|
3045
|
+
function Dt(e, t) {
|
|
3068
3046
|
return new RegExp(e, t);
|
|
3069
3047
|
}
|
|
3070
|
-
var
|
|
3071
|
-
if (
|
|
3072
|
-
var
|
|
3073
|
-
|
|
3048
|
+
var $e;
|
|
3049
|
+
if (Le) {
|
|
3050
|
+
var at = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3051
|
+
$e = function(t, r) {
|
|
3074
3052
|
var n;
|
|
3075
|
-
|
|
3076
|
-
var i =
|
|
3053
|
+
at.lastIndex = r;
|
|
3054
|
+
var i = at.exec(t);
|
|
3077
3055
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3078
3056
|
};
|
|
3079
3057
|
} else
|
|
3080
|
-
|
|
3058
|
+
$e = function(t, r) {
|
|
3081
3059
|
for (var n = []; ; ) {
|
|
3082
|
-
var i =
|
|
3083
|
-
if (i === void 0 ||
|
|
3060
|
+
var i = Ut(t, r);
|
|
3061
|
+
if (i === void 0 || Ft(i) || Cn(i))
|
|
3084
3062
|
break;
|
|
3085
3063
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3086
3064
|
}
|
|
3087
|
-
return
|
|
3065
|
+
return Me.apply(void 0, n);
|
|
3088
3066
|
};
|
|
3089
|
-
var
|
|
3067
|
+
var On = (
|
|
3090
3068
|
/** @class */
|
|
3091
3069
|
function() {
|
|
3092
3070
|
function e(t, r) {
|
|
@@ -3111,13 +3089,13 @@ var Nn = (
|
|
|
3111
3089
|
var a = this.clonePosition();
|
|
3112
3090
|
this.bump(), i.push({
|
|
3113
3091
|
type: x.pound,
|
|
3114
|
-
location:
|
|
3092
|
+
location: v(a, this.clonePosition())
|
|
3115
3093
|
});
|
|
3116
3094
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3117
3095
|
if (n)
|
|
3118
3096
|
break;
|
|
3119
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3120
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3097
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3098
|
+
} else if (o === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
|
|
3121
3099
|
var s = this.parseTag(t, r);
|
|
3122
3100
|
if (s.err)
|
|
3123
3101
|
return s;
|
|
@@ -3140,7 +3118,7 @@ var Nn = (
|
|
|
3140
3118
|
val: {
|
|
3141
3119
|
type: x.literal,
|
|
3142
3120
|
value: "<".concat(i, "/>"),
|
|
3143
|
-
location:
|
|
3121
|
+
location: v(n, this.clonePosition())
|
|
3144
3122
|
},
|
|
3145
3123
|
err: null
|
|
3146
3124
|
};
|
|
@@ -3150,25 +3128,25 @@ var Nn = (
|
|
|
3150
3128
|
return o;
|
|
3151
3129
|
var s = o.val, a = this.clonePosition();
|
|
3152
3130
|
if (this.bumpIf("</")) {
|
|
3153
|
-
if (this.isEOF() || !
|
|
3154
|
-
return this.error(b.INVALID_TAG,
|
|
3131
|
+
if (this.isEOF() || !Re(this.char()))
|
|
3132
|
+
return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
|
|
3155
3133
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3156
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3134
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3157
3135
|
val: {
|
|
3158
3136
|
type: x.tag,
|
|
3159
3137
|
value: i,
|
|
3160
3138
|
children: s,
|
|
3161
|
-
location:
|
|
3139
|
+
location: v(n, this.clonePosition())
|
|
3162
3140
|
},
|
|
3163
3141
|
err: null
|
|
3164
|
-
} : this.error(b.INVALID_TAG,
|
|
3142
|
+
} : this.error(b.INVALID_TAG, v(a, this.clonePosition())));
|
|
3165
3143
|
} else
|
|
3166
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3144
|
+
return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
3167
3145
|
} else
|
|
3168
|
-
return this.error(b.INVALID_TAG,
|
|
3146
|
+
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3169
3147
|
}, e.prototype.parseTagName = function() {
|
|
3170
3148
|
var t = this.offset();
|
|
3171
|
-
for (this.bump(); !this.isEOF() &&
|
|
3149
|
+
for (this.bump(); !this.isEOF() && Nn(this.char()); )
|
|
3172
3150
|
this.bump();
|
|
3173
3151
|
return this.message.slice(t, this.offset());
|
|
3174
3152
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3190,14 +3168,14 @@ var Nn = (
|
|
|
3190
3168
|
}
|
|
3191
3169
|
break;
|
|
3192
3170
|
}
|
|
3193
|
-
var h =
|
|
3171
|
+
var h = v(n, this.clonePosition());
|
|
3194
3172
|
return {
|
|
3195
3173
|
val: { type: x.literal, value: i, location: h },
|
|
3196
3174
|
err: null
|
|
3197
3175
|
};
|
|
3198
3176
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3199
3177
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3200
|
-
!
|
|
3178
|
+
!In(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3201
3179
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3202
3180
|
if (this.isEOF() || this.char() !== 39)
|
|
3203
3181
|
return null;
|
|
@@ -3231,23 +3209,23 @@ var Nn = (
|
|
|
3231
3209
|
r.push(n);
|
|
3232
3210
|
this.bump();
|
|
3233
3211
|
}
|
|
3234
|
-
return
|
|
3212
|
+
return Me.apply(void 0, r);
|
|
3235
3213
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3236
3214
|
if (this.isEOF())
|
|
3237
3215
|
return null;
|
|
3238
3216
|
var n = this.char();
|
|
3239
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3217
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
|
|
3240
3218
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3241
3219
|
var n = this.clonePosition();
|
|
3242
3220
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3243
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3221
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3244
3222
|
if (this.char() === 125)
|
|
3245
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3223
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
3246
3224
|
var i = this.parseIdentifierIfPossible().value;
|
|
3247
3225
|
if (!i)
|
|
3248
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3226
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3249
3227
|
if (this.bumpSpace(), this.isEOF())
|
|
3250
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3228
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3251
3229
|
switch (this.char()) {
|
|
3252
3230
|
case 125:
|
|
3253
3231
|
return this.bump(), {
|
|
@@ -3255,25 +3233,25 @@ var Nn = (
|
|
|
3255
3233
|
type: x.argument,
|
|
3256
3234
|
// value does not include the opening and closing braces.
|
|
3257
3235
|
value: i,
|
|
3258
|
-
location:
|
|
3236
|
+
location: v(n, this.clonePosition())
|
|
3259
3237
|
},
|
|
3260
3238
|
err: null
|
|
3261
3239
|
};
|
|
3262
3240
|
case 44:
|
|
3263
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3241
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3264
3242
|
default:
|
|
3265
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3243
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3266
3244
|
}
|
|
3267
3245
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3268
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3246
|
+
var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
|
|
3269
3247
|
this.bumpTo(i);
|
|
3270
|
-
var o = this.clonePosition(), s =
|
|
3248
|
+
var o = this.clonePosition(), s = v(t, o);
|
|
3271
3249
|
return { value: n, location: s };
|
|
3272
3250
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3273
3251
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3274
3252
|
switch (a) {
|
|
3275
3253
|
case "":
|
|
3276
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3254
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, h));
|
|
3277
3255
|
case "number":
|
|
3278
3256
|
case "date":
|
|
3279
3257
|
case "time": {
|
|
@@ -3284,18 +3262,18 @@ var Nn = (
|
|
|
3284
3262
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3285
3263
|
if (f.err)
|
|
3286
3264
|
return f;
|
|
3287
|
-
var c =
|
|
3265
|
+
var c = Pn(f.val);
|
|
3288
3266
|
if (c.length === 0)
|
|
3289
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3290
|
-
var p =
|
|
3267
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3268
|
+
var p = v(l, this.clonePosition());
|
|
3291
3269
|
u = { style: c, styleLocation: p };
|
|
3292
3270
|
}
|
|
3293
|
-
var
|
|
3294
|
-
if (
|
|
3295
|
-
return
|
|
3296
|
-
var m =
|
|
3297
|
-
if (u &&
|
|
3298
|
-
var d =
|
|
3271
|
+
var g = this.tryParseArgumentClose(i);
|
|
3272
|
+
if (g.err)
|
|
3273
|
+
return g;
|
|
3274
|
+
var m = v(i, this.clonePosition());
|
|
3275
|
+
if (u && ot(u?.style, "::", 0)) {
|
|
3276
|
+
var d = An(u.style.slice(2));
|
|
3299
3277
|
if (a === "number") {
|
|
3300
3278
|
var f = this.parseNumberSkeletonFromString(d, u.styleLocation);
|
|
3301
3279
|
return f.err ? f : {
|
|
@@ -3306,12 +3284,12 @@ var Nn = (
|
|
|
3306
3284
|
if (d.length === 0)
|
|
3307
3285
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3308
3286
|
var S = d;
|
|
3309
|
-
this.locale && (S =
|
|
3287
|
+
this.locale && (S = dn(d, this.locale));
|
|
3310
3288
|
var c = {
|
|
3311
3289
|
type: G.dateTime,
|
|
3312
3290
|
pattern: S,
|
|
3313
3291
|
location: u.styleLocation,
|
|
3314
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3292
|
+
parsedOptions: this.shouldParseSkeletons ? un(S) : {}
|
|
3315
3293
|
}, P = a === "date" ? x.date : x.time;
|
|
3316
3294
|
return {
|
|
3317
3295
|
val: { type: P, value: n, location: m, style: c },
|
|
@@ -3334,50 +3312,50 @@ var Nn = (
|
|
|
3334
3312
|
case "select": {
|
|
3335
3313
|
var H = this.clonePosition();
|
|
3336
3314
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3337
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3315
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, y({}, H)));
|
|
3338
3316
|
this.bumpSpace();
|
|
3339
|
-
var
|
|
3340
|
-
if (a !== "select" &&
|
|
3317
|
+
var z = this.parseIdentifierIfPossible(), I = 0;
|
|
3318
|
+
if (a !== "select" && z.value === "offset") {
|
|
3341
3319
|
if (!this.bumpIf(":"))
|
|
3342
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3320
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3343
3321
|
this.bumpSpace();
|
|
3344
3322
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3345
3323
|
if (f.err)
|
|
3346
3324
|
return f;
|
|
3347
|
-
this.bumpSpace(),
|
|
3325
|
+
this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = f.val;
|
|
3348
3326
|
}
|
|
3349
|
-
var ie = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3327
|
+
var ie = this.tryParsePluralOrSelectOptions(t, a, r, z);
|
|
3350
3328
|
if (ie.err)
|
|
3351
3329
|
return ie;
|
|
3352
|
-
var
|
|
3353
|
-
if (
|
|
3354
|
-
return
|
|
3355
|
-
var
|
|
3330
|
+
var g = this.tryParseArgumentClose(i);
|
|
3331
|
+
if (g.err)
|
|
3332
|
+
return g;
|
|
3333
|
+
var Ve = v(i, this.clonePosition());
|
|
3356
3334
|
return a === "select" ? {
|
|
3357
3335
|
val: {
|
|
3358
3336
|
type: x.select,
|
|
3359
3337
|
value: n,
|
|
3360
|
-
options:
|
|
3361
|
-
location:
|
|
3338
|
+
options: st(ie.val),
|
|
3339
|
+
location: Ve
|
|
3362
3340
|
},
|
|
3363
3341
|
err: null
|
|
3364
3342
|
} : {
|
|
3365
3343
|
val: {
|
|
3366
3344
|
type: x.plural,
|
|
3367
3345
|
value: n,
|
|
3368
|
-
options:
|
|
3346
|
+
options: st(ie.val),
|
|
3369
3347
|
offset: I,
|
|
3370
3348
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3371
|
-
location:
|
|
3349
|
+
location: Ve
|
|
3372
3350
|
},
|
|
3373
3351
|
err: null
|
|
3374
3352
|
};
|
|
3375
3353
|
}
|
|
3376
3354
|
default:
|
|
3377
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3355
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, v(s, h));
|
|
3378
3356
|
}
|
|
3379
3357
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3380
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3358
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3381
3359
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3382
3360
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3383
3361
|
var n = this.char();
|
|
@@ -3386,7 +3364,7 @@ var Nn = (
|
|
|
3386
3364
|
this.bump();
|
|
3387
3365
|
var i = this.clonePosition();
|
|
3388
3366
|
if (!this.bumpUntil("'"))
|
|
3389
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3367
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
3390
3368
|
this.bump();
|
|
3391
3369
|
break;
|
|
3392
3370
|
}
|
|
@@ -3416,7 +3394,7 @@ var Nn = (
|
|
|
3416
3394
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3417
3395
|
var n = [];
|
|
3418
3396
|
try {
|
|
3419
|
-
n =
|
|
3397
|
+
n = ln(t);
|
|
3420
3398
|
} catch {
|
|
3421
3399
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3422
3400
|
}
|
|
@@ -3425,7 +3403,7 @@ var Nn = (
|
|
|
3425
3403
|
type: G.number,
|
|
3426
3404
|
tokens: n,
|
|
3427
3405
|
location: r,
|
|
3428
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3406
|
+
parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
|
|
3429
3407
|
},
|
|
3430
3408
|
err: null
|
|
3431
3409
|
};
|
|
@@ -3437,7 +3415,7 @@ var Nn = (
|
|
|
3437
3415
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3438
3416
|
if (c.err)
|
|
3439
3417
|
return c;
|
|
3440
|
-
l =
|
|
3418
|
+
l = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3441
3419
|
} else
|
|
3442
3420
|
break;
|
|
3443
3421
|
}
|
|
@@ -3446,22 +3424,22 @@ var Nn = (
|
|
|
3446
3424
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3447
3425
|
var p = this.clonePosition();
|
|
3448
3426
|
if (!this.bumpIf("{"))
|
|
3449
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3450
|
-
var
|
|
3451
|
-
if (
|
|
3452
|
-
return
|
|
3427
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3428
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3429
|
+
if (g.err)
|
|
3430
|
+
return g;
|
|
3453
3431
|
var m = this.tryParseArgumentClose(p);
|
|
3454
3432
|
if (m.err)
|
|
3455
3433
|
return m;
|
|
3456
3434
|
a.push([
|
|
3457
3435
|
u,
|
|
3458
3436
|
{
|
|
3459
|
-
value:
|
|
3460
|
-
location:
|
|
3437
|
+
value: g.val,
|
|
3438
|
+
location: v(p, this.clonePosition())
|
|
3461
3439
|
}
|
|
3462
3440
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3463
3441
|
}
|
|
3464
|
-
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3442
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3465
3443
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3466
3444
|
var n = 1, i = this.clonePosition();
|
|
3467
3445
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3472,8 +3450,8 @@ var Nn = (
|
|
|
3472
3450
|
else
|
|
3473
3451
|
break;
|
|
3474
3452
|
}
|
|
3475
|
-
var h =
|
|
3476
|
-
return o ? (s *= n,
|
|
3453
|
+
var h = v(i, this.clonePosition());
|
|
3454
|
+
return o ? (s *= n, Tn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3477
3455
|
}, e.prototype.offset = function() {
|
|
3478
3456
|
return this.position.offset;
|
|
3479
3457
|
}, e.prototype.isEOF = function() {
|
|
@@ -3488,7 +3466,7 @@ var Nn = (
|
|
|
3488
3466
|
var t = this.position.offset;
|
|
3489
3467
|
if (t >= this.message.length)
|
|
3490
3468
|
throw Error("out of bound");
|
|
3491
|
-
var r =
|
|
3469
|
+
var r = Ut(this.message, t);
|
|
3492
3470
|
if (r === void 0)
|
|
3493
3471
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3494
3472
|
return r;
|
|
@@ -3507,7 +3485,7 @@ var Nn = (
|
|
|
3507
3485
|
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);
|
|
3508
3486
|
}
|
|
3509
3487
|
}, e.prototype.bumpIf = function(t) {
|
|
3510
|
-
if (
|
|
3488
|
+
if (ot(this.message, t, this.offset())) {
|
|
3511
3489
|
for (var r = 0; r < t.length; r++)
|
|
3512
3490
|
this.bump();
|
|
3513
3491
|
return !0;
|
|
@@ -3529,7 +3507,7 @@ var Nn = (
|
|
|
3529
3507
|
break;
|
|
3530
3508
|
}
|
|
3531
3509
|
}, e.prototype.bumpSpace = function() {
|
|
3532
|
-
for (; !this.isEOF() &&
|
|
3510
|
+
for (; !this.isEOF() && Ft(this.char()); )
|
|
3533
3511
|
this.bump();
|
|
3534
3512
|
}, e.prototype.peek = function() {
|
|
3535
3513
|
if (this.isEOF())
|
|
@@ -3539,38 +3517,38 @@ var Nn = (
|
|
|
3539
3517
|
}, e;
|
|
3540
3518
|
}()
|
|
3541
3519
|
);
|
|
3542
|
-
function
|
|
3520
|
+
function Re(e) {
|
|
3543
3521
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3544
3522
|
}
|
|
3545
|
-
function
|
|
3546
|
-
return
|
|
3523
|
+
function In(e) {
|
|
3524
|
+
return Re(e) || e === 47;
|
|
3547
3525
|
}
|
|
3548
|
-
function
|
|
3526
|
+
function Nn(e) {
|
|
3549
3527
|
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;
|
|
3550
3528
|
}
|
|
3551
|
-
function
|
|
3529
|
+
function Ft(e) {
|
|
3552
3530
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3553
3531
|
}
|
|
3554
|
-
function
|
|
3532
|
+
function Cn(e) {
|
|
3555
3533
|
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;
|
|
3556
3534
|
}
|
|
3557
|
-
function
|
|
3535
|
+
function Ue(e) {
|
|
3558
3536
|
e.forEach(function(t) {
|
|
3559
|
-
if (delete t.location,
|
|
3537
|
+
if (delete t.location, Ot(t) || It(t))
|
|
3560
3538
|
for (var r in t.options)
|
|
3561
|
-
delete t.options[r].location,
|
|
3539
|
+
delete t.options[r].location, Ue(t.options[r].value);
|
|
3562
3540
|
else
|
|
3563
|
-
|
|
3541
|
+
Bt(t) && Ct(t.style) || (At(t) || Pt(t)) && Ce(t.style) ? delete t.style.location : Nt(t) && Ue(t.children);
|
|
3564
3542
|
});
|
|
3565
3543
|
}
|
|
3566
|
-
function
|
|
3567
|
-
t === void 0 && (t = {}), t =
|
|
3568
|
-
var r = new
|
|
3544
|
+
function Ln(e, t) {
|
|
3545
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3546
|
+
var r = new On(e, t).parse();
|
|
3569
3547
|
if (r.err) {
|
|
3570
3548
|
var n = SyntaxError(b[r.err.kind]);
|
|
3571
3549
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3572
3550
|
}
|
|
3573
|
-
return t?.captureLocation ||
|
|
3551
|
+
return t?.captureLocation || Ue(r.val), r.val;
|
|
3574
3552
|
}
|
|
3575
3553
|
var j;
|
|
3576
3554
|
(function(e) {
|
|
@@ -3588,7 +3566,7 @@ var de = (
|
|
|
3588
3566
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3589
3567
|
}, t;
|
|
3590
3568
|
}(Error)
|
|
3591
|
-
),
|
|
3569
|
+
), ut = (
|
|
3592
3570
|
/** @class */
|
|
3593
3571
|
function(e) {
|
|
3594
3572
|
A(t, e);
|
|
@@ -3597,7 +3575,7 @@ var de = (
|
|
|
3597
3575
|
}
|
|
3598
3576
|
return t;
|
|
3599
3577
|
}(de)
|
|
3600
|
-
),
|
|
3578
|
+
), Mn = (
|
|
3601
3579
|
/** @class */
|
|
3602
3580
|
function(e) {
|
|
3603
3581
|
A(t, e);
|
|
@@ -3606,7 +3584,7 @@ var de = (
|
|
|
3606
3584
|
}
|
|
3607
3585
|
return t;
|
|
3608
3586
|
}(de)
|
|
3609
|
-
),
|
|
3587
|
+
), $n = (
|
|
3610
3588
|
/** @class */
|
|
3611
3589
|
function(e) {
|
|
3612
3590
|
A(t, e);
|
|
@@ -3619,17 +3597,17 @@ var de = (
|
|
|
3619
3597
|
(function(e) {
|
|
3620
3598
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3621
3599
|
})(E || (E = {}));
|
|
3622
|
-
function
|
|
3600
|
+
function Rn(e) {
|
|
3623
3601
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3624
3602
|
var n = t[t.length - 1];
|
|
3625
3603
|
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3626
3604
|
}, []);
|
|
3627
3605
|
}
|
|
3628
|
-
function
|
|
3606
|
+
function Un(e) {
|
|
3629
3607
|
return typeof e == "function";
|
|
3630
3608
|
}
|
|
3631
3609
|
function he(e, t, r, n, i, o, s) {
|
|
3632
|
-
if (e.length === 1 &&
|
|
3610
|
+
if (e.length === 1 && tt(e[0]))
|
|
3633
3611
|
return [
|
|
3634
3612
|
{
|
|
3635
3613
|
type: E.literal,
|
|
@@ -3638,14 +3616,14 @@ function he(e, t, r, n, i, o, s) {
|
|
|
3638
3616
|
];
|
|
3639
3617
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3640
3618
|
var l = u[h];
|
|
3641
|
-
if (
|
|
3619
|
+
if (tt(l)) {
|
|
3642
3620
|
a.push({
|
|
3643
3621
|
type: E.literal,
|
|
3644
3622
|
value: l.value
|
|
3645
3623
|
});
|
|
3646
3624
|
continue;
|
|
3647
3625
|
}
|
|
3648
|
-
if (
|
|
3626
|
+
if (sn(l)) {
|
|
3649
3627
|
typeof o == "number" && a.push({
|
|
3650
3628
|
type: E.literal,
|
|
3651
3629
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3654,44 +3632,44 @@ function he(e, t, r, n, i, o, s) {
|
|
|
3654
3632
|
}
|
|
3655
3633
|
var f = l.value;
|
|
3656
3634
|
if (!(i && f in i))
|
|
3657
|
-
throw new
|
|
3635
|
+
throw new $n(f, s);
|
|
3658
3636
|
var c = i[f];
|
|
3659
|
-
if (
|
|
3637
|
+
if (on(l)) {
|
|
3660
3638
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3661
3639
|
type: typeof c == "string" ? E.literal : E.object,
|
|
3662
3640
|
value: c
|
|
3663
3641
|
});
|
|
3664
3642
|
continue;
|
|
3665
3643
|
}
|
|
3666
|
-
if (
|
|
3667
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3644
|
+
if (At(l)) {
|
|
3645
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Ce(l.style) ? l.style.parsedOptions : void 0;
|
|
3668
3646
|
a.push({
|
|
3669
3647
|
type: E.literal,
|
|
3670
3648
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3671
3649
|
});
|
|
3672
3650
|
continue;
|
|
3673
3651
|
}
|
|
3674
|
-
if (
|
|
3675
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3652
|
+
if (Pt(l)) {
|
|
3653
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Ce(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3676
3654
|
a.push({
|
|
3677
3655
|
type: E.literal,
|
|
3678
3656
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3679
3657
|
});
|
|
3680
3658
|
continue;
|
|
3681
3659
|
}
|
|
3682
|
-
if (
|
|
3683
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3660
|
+
if (Bt(l)) {
|
|
3661
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Ct(l.style) ? l.style.parsedOptions : void 0;
|
|
3684
3662
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3685
3663
|
type: E.literal,
|
|
3686
3664
|
value: r.getNumberFormat(t, p).format(c)
|
|
3687
3665
|
});
|
|
3688
3666
|
continue;
|
|
3689
3667
|
}
|
|
3690
|
-
if (
|
|
3691
|
-
var
|
|
3692
|
-
if (!
|
|
3693
|
-
throw new
|
|
3694
|
-
var S = he(
|
|
3668
|
+
if (Nt(l)) {
|
|
3669
|
+
var g = l.children, m = l.value, d = i[m];
|
|
3670
|
+
if (!Un(d))
|
|
3671
|
+
throw new Mn(m, "function", s);
|
|
3672
|
+
var S = he(g, t, r, n, i, o), P = d(S.map(function(I) {
|
|
3695
3673
|
return I.value;
|
|
3696
3674
|
}));
|
|
3697
3675
|
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(I) {
|
|
@@ -3701,42 +3679,42 @@ function he(e, t, r, n, i, o, s) {
|
|
|
3701
3679
|
};
|
|
3702
3680
|
}));
|
|
3703
3681
|
}
|
|
3704
|
-
if (
|
|
3682
|
+
if (Ot(l)) {
|
|
3705
3683
|
var H = l.options[c] || l.options.other;
|
|
3706
3684
|
if (!H)
|
|
3707
|
-
throw new
|
|
3685
|
+
throw new ut(l.value, c, Object.keys(l.options), s);
|
|
3708
3686
|
a.push.apply(a, he(H.value, t, r, n, i));
|
|
3709
3687
|
continue;
|
|
3710
3688
|
}
|
|
3711
|
-
if (
|
|
3689
|
+
if (It(l)) {
|
|
3712
3690
|
var H = l.options["=".concat(c)];
|
|
3713
3691
|
if (!H) {
|
|
3714
3692
|
if (!Intl.PluralRules)
|
|
3715
3693
|
throw new de(`Intl.PluralRules is not available in this environment.
|
|
3716
3694
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3717
3695
|
`, j.MISSING_INTL_API, s);
|
|
3718
|
-
var
|
|
3719
|
-
H = l.options[
|
|
3696
|
+
var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3697
|
+
H = l.options[z] || l.options.other;
|
|
3720
3698
|
}
|
|
3721
3699
|
if (!H)
|
|
3722
|
-
throw new
|
|
3700
|
+
throw new ut(l.value, c, Object.keys(l.options), s);
|
|
3723
3701
|
a.push.apply(a, he(H.value, t, r, n, i, c - (l.offset || 0)));
|
|
3724
3702
|
continue;
|
|
3725
3703
|
}
|
|
3726
3704
|
}
|
|
3727
|
-
return
|
|
3705
|
+
return Rn(a);
|
|
3728
3706
|
}
|
|
3729
|
-
function
|
|
3730
|
-
return t ?
|
|
3731
|
-
return r[n] =
|
|
3707
|
+
function Dn(e, t) {
|
|
3708
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3709
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3732
3710
|
}, {})) : e;
|
|
3733
3711
|
}
|
|
3734
|
-
function
|
|
3712
|
+
function Fn(e, t) {
|
|
3735
3713
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3736
|
-
return r[n] =
|
|
3737
|
-
},
|
|
3714
|
+
return r[n] = Dn(e[n], t[n]), r;
|
|
3715
|
+
}, y({}, e)) : e;
|
|
3738
3716
|
}
|
|
3739
|
-
function
|
|
3717
|
+
function Se(e) {
|
|
3740
3718
|
return {
|
|
3741
3719
|
create: function() {
|
|
3742
3720
|
return {
|
|
@@ -3750,39 +3728,39 @@ function we(e) {
|
|
|
3750
3728
|
}
|
|
3751
3729
|
};
|
|
3752
3730
|
}
|
|
3753
|
-
function
|
|
3731
|
+
function Gn(e) {
|
|
3754
3732
|
return e === void 0 && (e = {
|
|
3755
3733
|
number: {},
|
|
3756
3734
|
dateTime: {},
|
|
3757
3735
|
pluralRules: {}
|
|
3758
3736
|
}), {
|
|
3759
|
-
getNumberFormat:
|
|
3737
|
+
getNumberFormat: xe(function() {
|
|
3760
3738
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3761
3739
|
r[n] = arguments[n];
|
|
3762
3740
|
return new ((t = Intl.NumberFormat).bind.apply(t, U([void 0], r, !1)))();
|
|
3763
3741
|
}, {
|
|
3764
|
-
cache:
|
|
3765
|
-
strategy:
|
|
3742
|
+
cache: Se(e.number),
|
|
3743
|
+
strategy: _e.variadic
|
|
3766
3744
|
}),
|
|
3767
|
-
getDateTimeFormat:
|
|
3745
|
+
getDateTimeFormat: xe(function() {
|
|
3768
3746
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3769
3747
|
r[n] = arguments[n];
|
|
3770
3748
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, U([void 0], r, !1)))();
|
|
3771
3749
|
}, {
|
|
3772
|
-
cache:
|
|
3773
|
-
strategy:
|
|
3750
|
+
cache: Se(e.dateTime),
|
|
3751
|
+
strategy: _e.variadic
|
|
3774
3752
|
}),
|
|
3775
|
-
getPluralRules:
|
|
3753
|
+
getPluralRules: xe(function() {
|
|
3776
3754
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3777
3755
|
r[n] = arguments[n];
|
|
3778
3756
|
return new ((t = Intl.PluralRules).bind.apply(t, U([void 0], r, !1)))();
|
|
3779
3757
|
}, {
|
|
3780
|
-
cache:
|
|
3781
|
-
strategy:
|
|
3758
|
+
cache: Se(e.pluralRules),
|
|
3759
|
+
strategy: _e.variadic
|
|
3782
3760
|
})
|
|
3783
3761
|
};
|
|
3784
3762
|
}
|
|
3785
|
-
var
|
|
3763
|
+
var jn = (
|
|
3786
3764
|
/** @class */
|
|
3787
3765
|
function() {
|
|
3788
3766
|
function e(t, r, n, i) {
|
|
@@ -3814,13 +3792,13 @@ var Xn = (
|
|
|
3814
3792
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3815
3793
|
var s = i || {};
|
|
3816
3794
|
s.formatters;
|
|
3817
|
-
var a =
|
|
3818
|
-
this.ast = e.__parse(t,
|
|
3795
|
+
var a = gr(s, ["formatters"]);
|
|
3796
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3819
3797
|
} else
|
|
3820
3798
|
this.ast = t;
|
|
3821
3799
|
if (!Array.isArray(this.ast))
|
|
3822
3800
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3823
|
-
this.formats =
|
|
3801
|
+
this.formats = Fn(e.formats, n), this.formatters = i && i.formatters || Gn(this.formatterCache);
|
|
3824
3802
|
}
|
|
3825
3803
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3826
3804
|
get: function() {
|
|
@@ -3833,7 +3811,7 @@ var Xn = (
|
|
|
3833
3811
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3834
3812
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3835
3813
|
}
|
|
3836
|
-
}, e.__parse =
|
|
3814
|
+
}, e.__parse = Ln, e.formats = {
|
|
3837
3815
|
number: {
|
|
3838
3816
|
integer: {
|
|
3839
3817
|
maximumFractionDigits: 0
|
|
@@ -3894,7 +3872,7 @@ var Xn = (
|
|
|
3894
3872
|
}, e;
|
|
3895
3873
|
}()
|
|
3896
3874
|
);
|
|
3897
|
-
function
|
|
3875
|
+
function kn(e, t) {
|
|
3898
3876
|
if (t == null)
|
|
3899
3877
|
return;
|
|
3900
3878
|
if (t in e)
|
|
@@ -3915,92 +3893,92 @@ function zn(e, t) {
|
|
|
3915
3893
|
n = void 0;
|
|
3916
3894
|
return n;
|
|
3917
3895
|
}
|
|
3918
|
-
const O = {},
|
|
3896
|
+
const O = {}, Vn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Gt = (e, t) => {
|
|
3919
3897
|
if (t == null)
|
|
3920
3898
|
return;
|
|
3921
3899
|
if (t in O && e in O[t])
|
|
3922
3900
|
return O[t][e];
|
|
3923
3901
|
const r = be(t);
|
|
3924
3902
|
for (let n = 0; n < r.length; n++) {
|
|
3925
|
-
const i = r[n], o =
|
|
3903
|
+
const i = r[n], o = Wn(i, e);
|
|
3926
3904
|
if (o)
|
|
3927
|
-
return
|
|
3905
|
+
return Vn(e, t, o);
|
|
3928
3906
|
}
|
|
3929
3907
|
};
|
|
3930
|
-
let
|
|
3908
|
+
let je;
|
|
3931
3909
|
const re = pe({});
|
|
3932
|
-
function
|
|
3933
|
-
return
|
|
3910
|
+
function Xn(e) {
|
|
3911
|
+
return je[e] || null;
|
|
3934
3912
|
}
|
|
3935
|
-
function
|
|
3936
|
-
return e in
|
|
3913
|
+
function jt(e) {
|
|
3914
|
+
return e in je;
|
|
3937
3915
|
}
|
|
3938
|
-
function
|
|
3939
|
-
if (!
|
|
3916
|
+
function Wn(e, t) {
|
|
3917
|
+
if (!jt(e))
|
|
3940
3918
|
return null;
|
|
3941
|
-
const r =
|
|
3942
|
-
return
|
|
3919
|
+
const r = Xn(e);
|
|
3920
|
+
return kn(r, t);
|
|
3943
3921
|
}
|
|
3944
|
-
function
|
|
3922
|
+
function zn(e) {
|
|
3945
3923
|
if (e == null)
|
|
3946
3924
|
return;
|
|
3947
3925
|
const t = be(e);
|
|
3948
3926
|
for (let r = 0; r < t.length; r++) {
|
|
3949
3927
|
const n = t[r];
|
|
3950
|
-
if (
|
|
3928
|
+
if (jt(n))
|
|
3951
3929
|
return n;
|
|
3952
3930
|
}
|
|
3953
3931
|
}
|
|
3954
|
-
function
|
|
3955
|
-
delete O[e], re.update((r) => (r[e] =
|
|
3932
|
+
function Zn(e, ...t) {
|
|
3933
|
+
delete O[e], re.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
|
|
3956
3934
|
}
|
|
3957
3935
|
X(
|
|
3958
3936
|
[re],
|
|
3959
3937
|
([e]) => Object.keys(e)
|
|
3960
3938
|
);
|
|
3961
|
-
re.subscribe((e) =>
|
|
3939
|
+
re.subscribe((e) => je = e);
|
|
3962
3940
|
const le = {};
|
|
3963
|
-
function
|
|
3941
|
+
function Qn(e, t) {
|
|
3964
3942
|
le[e].delete(t), le[e].size === 0 && delete le[e];
|
|
3965
3943
|
}
|
|
3966
|
-
function
|
|
3944
|
+
function kt(e) {
|
|
3967
3945
|
return le[e];
|
|
3968
3946
|
}
|
|
3969
|
-
function
|
|
3947
|
+
function Jn(e) {
|
|
3970
3948
|
return be(e).map((t) => {
|
|
3971
|
-
const r =
|
|
3949
|
+
const r = kt(t);
|
|
3972
3950
|
return [t, r ? [...r] : []];
|
|
3973
3951
|
}).filter(([, t]) => t.length > 0);
|
|
3974
3952
|
}
|
|
3975
|
-
function
|
|
3953
|
+
function De(e) {
|
|
3976
3954
|
return e == null ? !1 : be(e).some(
|
|
3977
3955
|
(t) => {
|
|
3978
3956
|
var r;
|
|
3979
|
-
return (r =
|
|
3957
|
+
return (r = kt(t)) == null ? void 0 : r.size;
|
|
3980
3958
|
}
|
|
3981
3959
|
);
|
|
3982
3960
|
}
|
|
3983
|
-
function
|
|
3961
|
+
function Yn(e, t) {
|
|
3984
3962
|
return Promise.all(
|
|
3985
|
-
t.map((n) => (
|
|
3986
|
-
).then((n) =>
|
|
3963
|
+
t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
|
|
3964
|
+
).then((n) => Zn(e, ...n));
|
|
3987
3965
|
}
|
|
3988
3966
|
const Z = {};
|
|
3989
|
-
function
|
|
3990
|
-
if (!
|
|
3967
|
+
function Vt(e) {
|
|
3968
|
+
if (!De(e))
|
|
3991
3969
|
return e in Z ? Z[e] : Promise.resolve();
|
|
3992
|
-
const t =
|
|
3970
|
+
const t = Jn(e);
|
|
3993
3971
|
return Z[e] = Promise.all(
|
|
3994
3972
|
t.map(
|
|
3995
|
-
([r, n]) =>
|
|
3973
|
+
([r, n]) => Yn(r, n)
|
|
3996
3974
|
)
|
|
3997
3975
|
).then(() => {
|
|
3998
|
-
if (
|
|
3999
|
-
return
|
|
3976
|
+
if (De(e))
|
|
3977
|
+
return Vt(e);
|
|
4000
3978
|
delete Z[e];
|
|
4001
3979
|
}), Z[e];
|
|
4002
3980
|
}
|
|
4003
|
-
const
|
|
3981
|
+
const qn = {
|
|
4004
3982
|
number: {
|
|
4005
3983
|
scientific: { notation: "scientific" },
|
|
4006
3984
|
engineering: { notation: "engineering" },
|
|
@@ -4029,78 +4007,78 @@ const ti = {
|
|
|
4029
4007
|
timeZoneName: "short"
|
|
4030
4008
|
}
|
|
4031
4009
|
}
|
|
4032
|
-
},
|
|
4010
|
+
}, Kn = {
|
|
4033
4011
|
fallbackLocale: null,
|
|
4034
4012
|
loadingDelay: 200,
|
|
4035
|
-
formats:
|
|
4013
|
+
formats: qn,
|
|
4036
4014
|
warnOnMissingMessages: !0,
|
|
4037
4015
|
handleMissingMessage: void 0,
|
|
4038
4016
|
ignoreTag: !0
|
|
4039
|
-
},
|
|
4017
|
+
}, ei = Kn;
|
|
4040
4018
|
function k() {
|
|
4041
|
-
return
|
|
4019
|
+
return ei;
|
|
4042
4020
|
}
|
|
4043
|
-
const
|
|
4044
|
-
var
|
|
4021
|
+
const we = pe(!1);
|
|
4022
|
+
var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
|
|
4045
4023
|
for (var r in t || (t = {}))
|
|
4046
|
-
|
|
4047
|
-
if (
|
|
4048
|
-
for (var r of
|
|
4049
|
-
|
|
4024
|
+
ii.call(t, r) && lt(e, r, t[r]);
|
|
4025
|
+
if (ht)
|
|
4026
|
+
for (var r of ht(t))
|
|
4027
|
+
oi.call(t, r) && lt(e, r, t[r]);
|
|
4050
4028
|
return e;
|
|
4051
|
-
},
|
|
4052
|
-
let
|
|
4029
|
+
}, ai = (e, t) => ri(e, ni(t));
|
|
4030
|
+
let Fe;
|
|
4053
4031
|
const ce = pe(null);
|
|
4054
|
-
function
|
|
4032
|
+
function ct(e) {
|
|
4055
4033
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4056
4034
|
}
|
|
4057
4035
|
function be(e, t = k().fallbackLocale) {
|
|
4058
|
-
const r =
|
|
4059
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4036
|
+
const r = ct(e);
|
|
4037
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
|
|
4060
4038
|
}
|
|
4061
|
-
function
|
|
4062
|
-
return
|
|
4039
|
+
function C() {
|
|
4040
|
+
return Fe ?? void 0;
|
|
4063
4041
|
}
|
|
4064
4042
|
ce.subscribe((e) => {
|
|
4065
|
-
|
|
4043
|
+
Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4066
4044
|
});
|
|
4067
|
-
const
|
|
4068
|
-
if (e &&
|
|
4045
|
+
const ui = (e) => {
|
|
4046
|
+
if (e && zn(e) && De(e)) {
|
|
4069
4047
|
const { loadingDelay: t } = k();
|
|
4070
4048
|
let r;
|
|
4071
|
-
return typeof window < "u" &&
|
|
4072
|
-
() =>
|
|
4049
|
+
return typeof window < "u" && C() != null && t ? r = window.setTimeout(
|
|
4050
|
+
() => we.set(!0),
|
|
4073
4051
|
t
|
|
4074
|
-
) :
|
|
4052
|
+
) : we.set(!0), Vt(e).then(() => {
|
|
4075
4053
|
ce.set(e);
|
|
4076
4054
|
}).finally(() => {
|
|
4077
|
-
clearTimeout(r),
|
|
4055
|
+
clearTimeout(r), we.set(!1);
|
|
4078
4056
|
});
|
|
4079
4057
|
}
|
|
4080
4058
|
return ce.set(e);
|
|
4081
|
-
}, ne =
|
|
4082
|
-
set:
|
|
4083
|
-
}),
|
|
4059
|
+
}, ne = ai(si({}, ce), {
|
|
4060
|
+
set: ui
|
|
4061
|
+
}), ve = (e) => {
|
|
4084
4062
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4085
4063
|
return (n) => {
|
|
4086
4064
|
const i = JSON.stringify(n);
|
|
4087
4065
|
return i in t ? t[i] : t[i] = e(n);
|
|
4088
4066
|
};
|
|
4089
4067
|
};
|
|
4090
|
-
var
|
|
4068
|
+
var hi = Object.defineProperty, fe = Object.getOwnPropertySymbols, Xt = Object.prototype.hasOwnProperty, Wt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
|
|
4091
4069
|
for (var r in t || (t = {}))
|
|
4092
|
-
|
|
4070
|
+
Xt.call(t, r) && ft(e, r, t[r]);
|
|
4093
4071
|
if (fe)
|
|
4094
4072
|
for (var r of fe(t))
|
|
4095
|
-
|
|
4073
|
+
Wt.call(t, r) && ft(e, r, t[r]);
|
|
4096
4074
|
return e;
|
|
4097
|
-
},
|
|
4075
|
+
}, W = (e, t) => {
|
|
4098
4076
|
var r = {};
|
|
4099
4077
|
for (var n in e)
|
|
4100
|
-
|
|
4078
|
+
Xt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4101
4079
|
if (e != null && fe)
|
|
4102
4080
|
for (var n of fe(e))
|
|
4103
|
-
t.indexOf(n) < 0 &&
|
|
4081
|
+
t.indexOf(n) < 0 && Wt.call(e, n) && (r[n] = e[n]);
|
|
4104
4082
|
return r;
|
|
4105
4083
|
};
|
|
4106
4084
|
const K = (e, t) => {
|
|
@@ -4108,69 +4086,69 @@ const K = (e, t) => {
|
|
|
4108
4086
|
if (e in r && t in r[e])
|
|
4109
4087
|
return r[e][t];
|
|
4110
4088
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4111
|
-
},
|
|
4089
|
+
}, li = ve(
|
|
4112
4090
|
(e) => {
|
|
4113
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4091
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
|
4114
4092
|
if (r == null)
|
|
4115
4093
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4116
4094
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
4117
4095
|
}
|
|
4118
|
-
),
|
|
4096
|
+
), ci = ve(
|
|
4119
4097
|
(e) => {
|
|
4120
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4098
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
|
4121
4099
|
if (r == null)
|
|
4122
4100
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4123
4101
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4124
4102
|
}
|
|
4125
|
-
),
|
|
4103
|
+
), fi = ve(
|
|
4126
4104
|
(e) => {
|
|
4127
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4105
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
|
4128
4106
|
if (r == null)
|
|
4129
4107
|
throw new Error(
|
|
4130
4108
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4131
4109
|
);
|
|
4132
4110
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4133
4111
|
}
|
|
4134
|
-
),
|
|
4112
|
+
), mi = (e = {}) => {
|
|
4135
4113
|
var t = e, {
|
|
4136
|
-
locale: r =
|
|
4137
|
-
} = t, n =
|
|
4114
|
+
locale: r = C()
|
|
4115
|
+
} = t, n = W(t, [
|
|
4138
4116
|
"locale"
|
|
4139
4117
|
]);
|
|
4140
|
-
return
|
|
4141
|
-
},
|
|
4118
|
+
return li(ke({ locale: r }, n));
|
|
4119
|
+
}, pi = (e = {}) => {
|
|
4142
4120
|
var t = e, {
|
|
4143
|
-
locale: r =
|
|
4144
|
-
} = t, n =
|
|
4121
|
+
locale: r = C()
|
|
4122
|
+
} = t, n = W(t, [
|
|
4145
4123
|
"locale"
|
|
4146
4124
|
]);
|
|
4147
|
-
return
|
|
4148
|
-
},
|
|
4125
|
+
return ci(ke({ locale: r }, n));
|
|
4126
|
+
}, di = (e = {}) => {
|
|
4149
4127
|
var t = e, {
|
|
4150
|
-
locale: r =
|
|
4151
|
-
} = t, n =
|
|
4128
|
+
locale: r = C()
|
|
4129
|
+
} = t, n = W(t, [
|
|
4152
4130
|
"locale"
|
|
4153
4131
|
]);
|
|
4154
|
-
return
|
|
4155
|
-
},
|
|
4132
|
+
return fi(ke({ locale: r }, n));
|
|
4133
|
+
}, bi = ve(
|
|
4156
4134
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4157
|
-
(e, t =
|
|
4135
|
+
(e, t = C()) => new jn(e, t, k().formats, {
|
|
4158
4136
|
ignoreTag: k().ignoreTag
|
|
4159
4137
|
})
|
|
4160
|
-
),
|
|
4138
|
+
), vi = (e, t = {}) => {
|
|
4161
4139
|
var r, n, i, o;
|
|
4162
4140
|
let s = t;
|
|
4163
4141
|
typeof e == "object" && (s = e, e = s.id);
|
|
4164
4142
|
const {
|
|
4165
4143
|
values: a,
|
|
4166
|
-
locale: h =
|
|
4144
|
+
locale: h = C(),
|
|
4167
4145
|
default: u
|
|
4168
4146
|
} = s;
|
|
4169
4147
|
if (h == null)
|
|
4170
4148
|
throw new Error(
|
|
4171
4149
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4172
4150
|
);
|
|
4173
|
-
let l =
|
|
4151
|
+
let l = Gt(e, h);
|
|
4174
4152
|
if (!l)
|
|
4175
4153
|
l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4176
4154
|
else if (typeof l != "string")
|
|
@@ -4181,7 +4159,7 @@ const K = (e, t) => {
|
|
|
4181
4159
|
return l;
|
|
4182
4160
|
let f = l;
|
|
4183
4161
|
try {
|
|
4184
|
-
f =
|
|
4162
|
+
f = bi(l, h).format(a);
|
|
4185
4163
|
} catch (c) {
|
|
4186
4164
|
c instanceof Error && console.warn(
|
|
4187
4165
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4189,21 +4167,21 @@ const K = (e, t) => {
|
|
|
4189
4167
|
);
|
|
4190
4168
|
}
|
|
4191
4169
|
return f;
|
|
4192
|
-
},
|
|
4193
|
-
X([ne, re], () =>
|
|
4194
|
-
X([ne], () =>
|
|
4195
|
-
X([ne], () =>
|
|
4196
|
-
X([ne], () =>
|
|
4197
|
-
X([ne, re], () =>
|
|
4198
|
-
window.emWidgets = { topic:
|
|
4199
|
-
const
|
|
4200
|
-
function
|
|
4170
|
+
}, yi = (e, t) => di(t).format(e), gi = (e, t) => pi(t).format(e), xi = (e, t) => mi(t).format(e), _i = (e, t = C()) => Gt(e, t);
|
|
4171
|
+
X([ne, re], () => vi);
|
|
4172
|
+
X([ne], () => yi);
|
|
4173
|
+
X([ne], () => gi);
|
|
4174
|
+
X([ne], () => xi);
|
|
4175
|
+
X([ne, re], () => _i);
|
|
4176
|
+
window.emWidgets = { topic: Cr };
|
|
4177
|
+
const Ei = (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));
|
|
4178
|
+
function Si(e, t) {
|
|
4201
4179
|
if (e) {
|
|
4202
4180
|
const r = document.createElement("style");
|
|
4203
4181
|
r.innerHTML = t, e.appendChild(r);
|
|
4204
4182
|
}
|
|
4205
4183
|
}
|
|
4206
|
-
function
|
|
4184
|
+
function wi(e, t) {
|
|
4207
4185
|
const r = new URL(t);
|
|
4208
4186
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4209
4187
|
const i = document.createElement("style");
|
|
@@ -4212,7 +4190,7 @@ function Bi(e, t) {
|
|
|
4212
4190
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4213
4191
|
});
|
|
4214
4192
|
}
|
|
4215
|
-
function
|
|
4193
|
+
function Hi(e, t, r) {
|
|
4216
4194
|
if (window.emMessageBus) {
|
|
4217
4195
|
const n = document.createElement("style");
|
|
4218
4196
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4220,27 +4198,27 @@ function Ai(e, t, r) {
|
|
|
4220
4198
|
});
|
|
4221
4199
|
}
|
|
4222
4200
|
}
|
|
4223
|
-
function
|
|
4224
|
-
|
|
4201
|
+
function Ti(e) {
|
|
4202
|
+
Qt(e, "svelte-mm6oz3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
|
|
4225
4203
|
}
|
|
4226
|
-
function
|
|
4204
|
+
function mt(e) {
|
|
4227
4205
|
let t, r, n, i, o, s, a, h, u, l, f, c;
|
|
4228
4206
|
function p(d, S) {
|
|
4229
4207
|
return (
|
|
4230
4208
|
/*isLoading*/
|
|
4231
|
-
d[3] ?
|
|
4209
|
+
d[3] ? Ai : Bi
|
|
4232
4210
|
);
|
|
4233
4211
|
}
|
|
4234
|
-
let
|
|
4212
|
+
let g = p(e), m = g(e);
|
|
4235
4213
|
return {
|
|
4236
4214
|
c() {
|
|
4237
|
-
t = D("button"), r = D("small"), m.c(), n =
|
|
4215
|
+
t = D("button"), r = D("small"), m.c(), n = qt(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), _(r, "class", "betslipIndicator__number"), _(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
|
|
4238
4216
|
c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
|
|
4239
4217
|
c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
|
|
4240
|
-
c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), _(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), _(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), _(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), _(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"),
|
|
4218
|
+
c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), _(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), _(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), _(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), _(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"), rr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
|
|
4241
4219
|
},
|
|
4242
4220
|
m(d, S) {
|
|
4243
|
-
te(d, t, S), T(t, r), m.m(r, null), T(t, n), T(t, i), T(i, o), T(o, s), T(o, a), T(o, h), T(o, u), T(o, l), f || (c =
|
|
4221
|
+
te(d, t, S), T(t, r), m.m(r, null), T(t, n), T(t, i), T(i, o), T(o, s), T(o, a), T(o, h), T(o, u), T(o, l), f || (c = Kt(
|
|
4244
4222
|
t,
|
|
4245
4223
|
"click",
|
|
4246
4224
|
/*click_handler*/
|
|
@@ -4248,18 +4226,18 @@ function bt(e) {
|
|
|
4248
4226
|
), f = !0);
|
|
4249
4227
|
},
|
|
4250
4228
|
p(d, S) {
|
|
4251
|
-
|
|
4229
|
+
g === (g = p(d)) && m ? m.p(d, S) : (m.d(1), m = g(d), m && (m.c(), m.m(r, null)));
|
|
4252
4230
|
},
|
|
4253
4231
|
d(d) {
|
|
4254
4232
|
d && V(t), m.d(), f = !1, c();
|
|
4255
4233
|
}
|
|
4256
4234
|
};
|
|
4257
4235
|
}
|
|
4258
|
-
function
|
|
4236
|
+
function Bi(e) {
|
|
4259
4237
|
let t;
|
|
4260
4238
|
return {
|
|
4261
4239
|
c() {
|
|
4262
|
-
t =
|
|
4240
|
+
t = bt(
|
|
4263
4241
|
/*betNumber*/
|
|
4264
4242
|
e[1]
|
|
4265
4243
|
);
|
|
@@ -4269,7 +4247,7 @@ function Oi(e) {
|
|
|
4269
4247
|
},
|
|
4270
4248
|
p(r, n) {
|
|
4271
4249
|
n & /*betNumber*/
|
|
4272
|
-
2 &&
|
|
4250
|
+
2 && tr(
|
|
4273
4251
|
t,
|
|
4274
4252
|
/*betNumber*/
|
|
4275
4253
|
r[1]
|
|
@@ -4280,7 +4258,7 @@ function Oi(e) {
|
|
|
4280
4258
|
}
|
|
4281
4259
|
};
|
|
4282
4260
|
}
|
|
4283
|
-
function
|
|
4261
|
+
function Ai(e) {
|
|
4284
4262
|
let t;
|
|
4285
4263
|
return {
|
|
4286
4264
|
c() {
|
|
@@ -4295,11 +4273,11 @@ function Ii(e) {
|
|
|
4295
4273
|
}
|
|
4296
4274
|
};
|
|
4297
4275
|
}
|
|
4298
|
-
function
|
|
4276
|
+
function Pi(e) {
|
|
4299
4277
|
let t, r = (
|
|
4300
4278
|
/*mobileView*/
|
|
4301
4279
|
e[2] && /*betNumber*/
|
|
4302
|
-
e[1] > 0 &&
|
|
4280
|
+
e[1] > 0 && mt(e)
|
|
4303
4281
|
);
|
|
4304
4282
|
return {
|
|
4305
4283
|
c() {
|
|
@@ -4311,7 +4289,7 @@ function Ci(e) {
|
|
|
4311
4289
|
p(n, [i]) {
|
|
4312
4290
|
/*mobileView*/
|
|
4313
4291
|
n[2] && /*betNumber*/
|
|
4314
|
-
n[1] > 0 ? r ? r.p(n, i) : (r =
|
|
4292
|
+
n[1] > 0 ? r ? r.p(n, i) : (r = mt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4315
4293
|
},
|
|
4316
4294
|
i: w,
|
|
4317
4295
|
o: w,
|
|
@@ -4320,7 +4298,7 @@ function Ci(e) {
|
|
|
4320
4298
|
}
|
|
4321
4299
|
};
|
|
4322
4300
|
}
|
|
4323
|
-
function
|
|
4301
|
+
function Oi(e, t, r) {
|
|
4324
4302
|
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0;
|
|
4325
4303
|
const f = () => {
|
|
4326
4304
|
window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
|
|
@@ -4343,12 +4321,12 @@ function Ni(e, t, r) {
|
|
|
4343
4321
|
break;
|
|
4344
4322
|
}
|
|
4345
4323
|
};
|
|
4346
|
-
|
|
4324
|
+
or(() => (f(), window.addEventListener("message", p, !1), Ei(a) && r(2, u = !0), () => {
|
|
4347
4325
|
window.removeEventListener("message", p);
|
|
4348
4326
|
}));
|
|
4349
|
-
const
|
|
4327
|
+
const g = (d) => c("betslipClick", {});
|
|
4350
4328
|
function m(d) {
|
|
4351
|
-
|
|
4329
|
+
He[d ? "unshift" : "push"](() => {
|
|
4352
4330
|
s = d, r(0, s);
|
|
4353
4331
|
});
|
|
4354
4332
|
}
|
|
@@ -4356,9 +4334,9 @@ function Ni(e, t, r) {
|
|
|
4356
4334
|
"clientstyling" in d && r(5, n = d.clientstyling), "clientstylingurl" in d && r(6, i = d.clientstylingurl), "mbsource" in d && r(7, o = d.mbsource);
|
|
4357
4335
|
}, e.$$.update = () => {
|
|
4358
4336
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4359
|
-
33 && n && s &&
|
|
4360
|
-
65 && i && s &&
|
|
4361
|
-
129 && o && s &&
|
|
4337
|
+
33 && n && s && Si(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4338
|
+
65 && i && s && wi(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4339
|
+
129 && o && s && Hi(s, `${o}.Style`);
|
|
4362
4340
|
}, [
|
|
4363
4341
|
s,
|
|
4364
4342
|
h,
|
|
@@ -4368,24 +4346,24 @@ function Ni(e, t, r) {
|
|
|
4368
4346
|
n,
|
|
4369
4347
|
i,
|
|
4370
4348
|
o,
|
|
4371
|
-
|
|
4349
|
+
g,
|
|
4372
4350
|
m
|
|
4373
4351
|
];
|
|
4374
4352
|
}
|
|
4375
|
-
class
|
|
4353
|
+
class Ii extends vr {
|
|
4376
4354
|
constructor(t) {
|
|
4377
|
-
super(),
|
|
4355
|
+
super(), dr(
|
|
4378
4356
|
this,
|
|
4379
4357
|
t,
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4358
|
+
Oi,
|
|
4359
|
+
Pi,
|
|
4360
|
+
dt,
|
|
4383
4361
|
{
|
|
4384
4362
|
clientstyling: 5,
|
|
4385
4363
|
clientstylingurl: 6,
|
|
4386
4364
|
mbsource: 7
|
|
4387
4365
|
},
|
|
4388
|
-
|
|
4366
|
+
Ti
|
|
4389
4367
|
);
|
|
4390
4368
|
}
|
|
4391
4369
|
get clientstyling() {
|
|
@@ -4407,7 +4385,7 @@ class Li extends _r {
|
|
|
4407
4385
|
this.$$set({ mbsource: t }), J();
|
|
4408
4386
|
}
|
|
4409
4387
|
}
|
|
4410
|
-
|
|
4388
|
+
br(Ii, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4411
4389
|
export {
|
|
4412
|
-
|
|
4390
|
+
Ii as C
|
|
4413
4391
|
};
|