@everymatrix/casino-betslip-indicator 1.54.12 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoBetslipIndicator-DzTvg3K-.js → CasinoBetslipIndicator-CK7MndiA.js} +406 -376
- package/components/{CasinoBetslipIndicator-CAB2obrZ.cjs → CasinoBetslipIndicator-CxtTQIda.cjs} +4 -4
- package/components/{CasinoBetslipIndicator-CkjtCY_7.js → CasinoBetslipIndicator-ccO4tvpi.js} +419 -389
- 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-DzTvg3K-.js → CasinoBetslipIndicator-CK7MndiA.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function w() {
|
|
2
2
|
}
|
|
3
3
|
function pt(e) {
|
|
4
4
|
return e();
|
|
@@ -6,7 +6,7 @@ function pt(e) {
|
|
|
6
6
|
function Xe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function ee(e) {
|
|
10
10
|
e.forEach(pt);
|
|
11
11
|
}
|
|
12
12
|
function Ge(e) {
|
|
@@ -22,12 +22,12 @@ function Zt(e, ...t) {
|
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return w;
|
|
26
26
|
}
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function T(e, t) {
|
|
31
31
|
e.appendChild(t);
|
|
32
32
|
}
|
|
33
33
|
function Qt(e, t, r) {
|
|
@@ -47,13 +47,13 @@ function Jt(e) {
|
|
|
47
47
|
) : e.ownerDocument;
|
|
48
48
|
}
|
|
49
49
|
function Yt(e, t) {
|
|
50
|
-
return
|
|
50
|
+
return T(
|
|
51
51
|
/** @type {Document} */
|
|
52
52
|
e.head || e,
|
|
53
53
|
t
|
|
54
54
|
), t.sheet;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function te(e, t, r) {
|
|
57
57
|
e.insertBefore(t, r || null);
|
|
58
58
|
}
|
|
59
59
|
function V(e) {
|
|
@@ -74,7 +74,7 @@ function qt() {
|
|
|
74
74
|
function Kt(e, t, r, n) {
|
|
75
75
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function _(e, t, r) {
|
|
78
78
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
79
79
|
}
|
|
80
80
|
function er(e) {
|
|
@@ -96,56 +96,56 @@ function nr(e) {
|
|
|
96
96
|
}
|
|
97
97
|
), t;
|
|
98
98
|
}
|
|
99
|
-
let
|
|
99
|
+
let Y;
|
|
100
100
|
function Q(e) {
|
|
101
|
-
|
|
101
|
+
Y = e;
|
|
102
102
|
}
|
|
103
103
|
function ir() {
|
|
104
|
-
if (!
|
|
105
|
-
return
|
|
104
|
+
if (!Y) throw new Error("Function called outside component initialization");
|
|
105
|
+
return Y;
|
|
106
106
|
}
|
|
107
107
|
function or(e) {
|
|
108
108
|
ir().$$.on_mount.push(e);
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const $ = [], He = [];
|
|
111
111
|
let R = [];
|
|
112
112
|
const We = [], sr = /* @__PURE__ */ Promise.resolve();
|
|
113
113
|
let Te = !1;
|
|
114
114
|
function ar() {
|
|
115
|
-
Te || (Te = !0, sr.then(
|
|
115
|
+
Te || (Te = !0, sr.then(J));
|
|
116
116
|
}
|
|
117
117
|
function Be(e) {
|
|
118
118
|
R.push(e);
|
|
119
119
|
}
|
|
120
|
-
const
|
|
120
|
+
const ve = /* @__PURE__ */ new Set();
|
|
121
121
|
let L = 0;
|
|
122
|
-
function
|
|
122
|
+
function J() {
|
|
123
123
|
if (L !== 0)
|
|
124
124
|
return;
|
|
125
|
-
const e =
|
|
125
|
+
const e = Y;
|
|
126
126
|
do {
|
|
127
127
|
try {
|
|
128
|
-
for (; L <
|
|
129
|
-
const t =
|
|
128
|
+
for (; L < $.length; ) {
|
|
129
|
+
const t = $[L];
|
|
130
130
|
L++, Q(t), ur(t.$$);
|
|
131
131
|
}
|
|
132
132
|
} catch (t) {
|
|
133
|
-
throw
|
|
133
|
+
throw $.length = 0, L = 0, t;
|
|
134
134
|
}
|
|
135
|
-
for (Q(null),
|
|
135
|
+
for (Q(null), $.length = 0, L = 0; He.length; ) He.pop()();
|
|
136
136
|
for (let t = 0; t < R.length; t += 1) {
|
|
137
137
|
const r = R[t];
|
|
138
|
-
|
|
138
|
+
ve.has(r) || (ve.add(r), r());
|
|
139
139
|
}
|
|
140
140
|
R.length = 0;
|
|
141
|
-
} while (
|
|
141
|
+
} while ($.length);
|
|
142
142
|
for (; We.length; )
|
|
143
143
|
We.pop()();
|
|
144
|
-
Te = !1,
|
|
144
|
+
Te = !1, ve.clear(), Q(e);
|
|
145
145
|
}
|
|
146
146
|
function ur(e) {
|
|
147
147
|
if (e.fragment !== null) {
|
|
148
|
-
e.update(),
|
|
148
|
+
e.update(), ee(e.before_update);
|
|
149
149
|
const t = e.dirty;
|
|
150
150
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
151
151
|
}
|
|
@@ -162,25 +162,25 @@ function fr(e, t, r) {
|
|
|
162
162
|
const { fragment: n, after_update: i } = e.$$;
|
|
163
163
|
n && n.m(t, r), Be(() => {
|
|
164
164
|
const o = e.$$.on_mount.map(pt).filter(Ge);
|
|
165
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
165
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
|
166
166
|
}), i.forEach(Be);
|
|
167
167
|
}
|
|
168
168
|
function mr(e, t) {
|
|
169
169
|
const r = e.$$;
|
|
170
|
-
r.fragment !== null && (hr(r.after_update),
|
|
170
|
+
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 = []);
|
|
171
171
|
}
|
|
172
172
|
function pr(e, t) {
|
|
173
|
-
e.$$.dirty[0] === -1 && (
|
|
173
|
+
e.$$.dirty[0] === -1 && ($.push(e), ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
174
174
|
}
|
|
175
175
|
function dr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
176
|
-
const h =
|
|
176
|
+
const h = Y;
|
|
177
177
|
Q(e);
|
|
178
178
|
const u = e.$$ = {
|
|
179
179
|
fragment: null,
|
|
180
180
|
ctx: [],
|
|
181
181
|
// state
|
|
182
182
|
props: o,
|
|
183
|
-
update:
|
|
183
|
+
update: w,
|
|
184
184
|
not_equal: i,
|
|
185
185
|
bound: Xe(),
|
|
186
186
|
// lifecycle
|
|
@@ -198,21 +198,21 @@ function dr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
198
198
|
};
|
|
199
199
|
s && s(u.root);
|
|
200
200
|
let l = !1;
|
|
201
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
202
|
-
const
|
|
203
|
-
return u.ctx && i(u.ctx[
|
|
204
|
-
}) : [], u.update(), l = !0,
|
|
201
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
202
|
+
const g = p.length ? p[0] : c;
|
|
203
|
+
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;
|
|
204
|
+
}) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
205
205
|
if (t.hydrate) {
|
|
206
|
-
const
|
|
207
|
-
u.fragment && u.fragment.l(
|
|
206
|
+
const f = er(t.target);
|
|
207
|
+
u.fragment && u.fragment.l(f), f.forEach(V);
|
|
208
208
|
} else
|
|
209
209
|
u.fragment && u.fragment.c();
|
|
210
|
-
t.intro && cr(e.$$.fragment), fr(e, t.target, t.anchor),
|
|
210
|
+
t.intro && cr(e.$$.fragment), fr(e, t.target, t.anchor), J();
|
|
211
211
|
}
|
|
212
212
|
Q(h);
|
|
213
213
|
}
|
|
214
|
-
let
|
|
215
|
-
typeof HTMLElement == "function" && (
|
|
214
|
+
let yt;
|
|
215
|
+
typeof HTMLElement == "function" && (yt = class extends HTMLElement {
|
|
216
216
|
/** The Svelte component constructor */
|
|
217
217
|
$$ctor;
|
|
218
218
|
/** Slots */
|
|
@@ -254,14 +254,14 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
|
254
254
|
let o;
|
|
255
255
|
return {
|
|
256
256
|
c: function() {
|
|
257
|
-
o = D("slot"), i !== "default" &&
|
|
257
|
+
o = D("slot"), i !== "default" && _(o, "name", i);
|
|
258
258
|
},
|
|
259
259
|
/**
|
|
260
260
|
* @param {HTMLElement} target
|
|
261
261
|
* @param {HTMLElement} [anchor]
|
|
262
262
|
*/
|
|
263
263
|
m: function(h, u) {
|
|
264
|
-
|
|
264
|
+
te(h, o, u);
|
|
265
265
|
},
|
|
266
266
|
d: function(h) {
|
|
267
267
|
h && V(o);
|
|
@@ -276,7 +276,7 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
|
276
276
|
i in r && (t[i] = [e(i)]);
|
|
277
277
|
for (const i of this.attributes) {
|
|
278
278
|
const o = this.$$g_p(i.name);
|
|
279
|
-
o in this.$$d || (this.$$d[o] =
|
|
279
|
+
o in this.$$d || (this.$$d[o] = ae(o, i.value, this.$$p_d, "toProp"));
|
|
280
280
|
}
|
|
281
281
|
for (const i in this.$$p_d)
|
|
282
282
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -294,7 +294,7 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
|
294
294
|
this.$$r = !0;
|
|
295
295
|
for (const i in this.$$p_d)
|
|
296
296
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
297
|
-
const o =
|
|
297
|
+
const o = ae(
|
|
298
298
|
i,
|
|
299
299
|
this.$$d[i],
|
|
300
300
|
this.$$p_d,
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
|
316
316
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
317
317
|
// and setting attributes through setAttribute etc, this is helpful
|
|
318
318
|
attributeChangedCallback(e, t, r) {
|
|
319
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
319
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ae(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
320
320
|
}
|
|
321
321
|
disconnectedCallback() {
|
|
322
322
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
|
329
329
|
) || e;
|
|
330
330
|
}
|
|
331
331
|
});
|
|
332
|
-
function
|
|
332
|
+
function ae(e, t, r, n) {
|
|
333
333
|
const i = r[e]?.type;
|
|
334
334
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
335
335
|
return t;
|
|
@@ -359,7 +359,7 @@ function se(e, t, r, n) {
|
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
function br(e, t, r, n, i, o) {
|
|
362
|
-
let s = class extends
|
|
362
|
+
let s = class extends yt {
|
|
363
363
|
constructor() {
|
|
364
364
|
super(e, r, i), this.$$p_d = t;
|
|
365
365
|
}
|
|
@@ -375,7 +375,7 @@ function br(e, t, r, n, i, o) {
|
|
|
375
375
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
376
376
|
},
|
|
377
377
|
set(h) {
|
|
378
|
-
h =
|
|
378
|
+
h = ae(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
379
379
|
}
|
|
380
380
|
});
|
|
381
381
|
}), n.forEach((a) => {
|
|
@@ -387,7 +387,7 @@ function br(e, t, r, n, i, o) {
|
|
|
387
387
|
}), e.element = /** @type {any} */
|
|
388
388
|
s, s;
|
|
389
389
|
}
|
|
390
|
-
class
|
|
390
|
+
class yr {
|
|
391
391
|
/**
|
|
392
392
|
* ### PRIVATE API
|
|
393
393
|
*
|
|
@@ -406,7 +406,7 @@ class vr {
|
|
|
406
406
|
$$set = void 0;
|
|
407
407
|
/** @returns {void} */
|
|
408
408
|
$destroy() {
|
|
409
|
-
mr(this, 1), this.$destroy =
|
|
409
|
+
mr(this, 1), this.$destroy = w;
|
|
410
410
|
}
|
|
411
411
|
/**
|
|
412
412
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -416,7 +416,7 @@ class vr {
|
|
|
416
416
|
*/
|
|
417
417
|
$on(t, r) {
|
|
418
418
|
if (!Ge(r))
|
|
419
|
-
return
|
|
419
|
+
return w;
|
|
420
420
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
421
421
|
return n.push(r), () => {
|
|
422
422
|
const i = n.indexOf(r);
|
|
@@ -431,8 +431,8 @@ class vr {
|
|
|
431
431
|
this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
const
|
|
435
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
434
|
+
const vr = "4";
|
|
435
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
|
|
436
436
|
var Ae = function(e, t) {
|
|
437
437
|
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
438
438
|
r.__proto__ = n;
|
|
@@ -440,7 +440,7 @@ var Ae = function(e, t) {
|
|
|
440
440
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
441
441
|
}, Ae(e, t);
|
|
442
442
|
};
|
|
443
|
-
function
|
|
443
|
+
function A(e, t) {
|
|
444
444
|
if (typeof t != "function" && t !== null)
|
|
445
445
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
446
446
|
Ae(e, t);
|
|
@@ -498,16 +498,16 @@ function U(e, t, r) {
|
|
|
498
498
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
499
499
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function B(e) {
|
|
502
502
|
return typeof e == "function";
|
|
503
503
|
}
|
|
504
|
-
function
|
|
504
|
+
function vt(e) {
|
|
505
505
|
var t = function(n) {
|
|
506
506
|
Error.call(n), n.stack = new Error().stack;
|
|
507
507
|
}, r = e(t);
|
|
508
508
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
509
509
|
}
|
|
510
|
-
var ge =
|
|
510
|
+
var ge = vt(function(e) {
|
|
511
511
|
return function(r) {
|
|
512
512
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
513
513
|
` + r.map(function(n, i) {
|
|
@@ -550,20 +550,20 @@ var me = function() {
|
|
|
550
550
|
else
|
|
551
551
|
s.remove(this);
|
|
552
552
|
var l = this.initialTeardown;
|
|
553
|
-
if (
|
|
553
|
+
if (B(l))
|
|
554
554
|
try {
|
|
555
555
|
l();
|
|
556
556
|
} catch (m) {
|
|
557
557
|
o = m instanceof ge ? m.errors : [m];
|
|
558
558
|
}
|
|
559
|
-
var
|
|
560
|
-
if (
|
|
559
|
+
var f = this._finalizers;
|
|
560
|
+
if (f) {
|
|
561
561
|
this._finalizers = null;
|
|
562
562
|
try {
|
|
563
|
-
for (var
|
|
564
|
-
var
|
|
563
|
+
for (var c = Pe(f), p = c.next(); !p.done; p = c.next()) {
|
|
564
|
+
var g = p.value;
|
|
565
565
|
try {
|
|
566
|
-
ze(
|
|
566
|
+
ze(g);
|
|
567
567
|
} catch (m) {
|
|
568
568
|
o = o ?? [], m instanceof ge ? o = U(U([], Oe(o)), Oe(m.errors)) : o.push(m);
|
|
569
569
|
}
|
|
@@ -572,7 +572,7 @@ var me = function() {
|
|
|
572
572
|
n = { error: m };
|
|
573
573
|
} finally {
|
|
574
574
|
try {
|
|
575
|
-
|
|
575
|
+
p && !p.done && (i = c.return) && i.call(c);
|
|
576
576
|
} finally {
|
|
577
577
|
if (n) throw n.error;
|
|
578
578
|
}
|
|
@@ -612,10 +612,10 @@ var me = function() {
|
|
|
612
612
|
}(), e;
|
|
613
613
|
}(), gt = me.EMPTY;
|
|
614
614
|
function xt(e) {
|
|
615
|
-
return e instanceof me || e && "closed" in e &&
|
|
615
|
+
return e instanceof me || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
|
|
616
616
|
}
|
|
617
617
|
function ze(e) {
|
|
618
|
-
|
|
618
|
+
B(e) ? e() : e.unsubscribe();
|
|
619
619
|
}
|
|
620
620
|
var xr = {
|
|
621
621
|
Promise: void 0
|
|
@@ -637,11 +637,11 @@ function Er(e) {
|
|
|
637
637
|
}
|
|
638
638
|
function Ze() {
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function ue(e) {
|
|
641
641
|
e();
|
|
642
642
|
}
|
|
643
643
|
var _t = function(e) {
|
|
644
|
-
|
|
644
|
+
A(t, e);
|
|
645
645
|
function t(r) {
|
|
646
646
|
var n = e.call(this) || this;
|
|
647
647
|
return n.isStopped = !1, r ? (n.destination = r, xt(r) && r.add(n)) : n.destination = Hr, n;
|
|
@@ -681,7 +681,7 @@ var _t = function(e) {
|
|
|
681
681
|
try {
|
|
682
682
|
r.next(t);
|
|
683
683
|
} catch (n) {
|
|
684
|
-
|
|
684
|
+
oe(n);
|
|
685
685
|
}
|
|
686
686
|
}, e.prototype.error = function(t) {
|
|
687
687
|
var r = this.partialObserver;
|
|
@@ -689,24 +689,24 @@ var _t = function(e) {
|
|
|
689
689
|
try {
|
|
690
690
|
r.error(t);
|
|
691
691
|
} catch (n) {
|
|
692
|
-
|
|
692
|
+
oe(n);
|
|
693
693
|
}
|
|
694
694
|
else
|
|
695
|
-
|
|
695
|
+
oe(t);
|
|
696
696
|
}, e.prototype.complete = function() {
|
|
697
697
|
var t = this.partialObserver;
|
|
698
698
|
if (t.complete)
|
|
699
699
|
try {
|
|
700
700
|
t.complete();
|
|
701
701
|
} catch (r) {
|
|
702
|
-
|
|
702
|
+
oe(r);
|
|
703
703
|
}
|
|
704
704
|
}, e;
|
|
705
705
|
}(), Ne = function(e) {
|
|
706
|
-
|
|
706
|
+
A(t, e);
|
|
707
707
|
function t(r, n, i) {
|
|
708
708
|
var o = e.call(this) || this, s;
|
|
709
|
-
return
|
|
709
|
+
return B(r) || !r ? s = {
|
|
710
710
|
next: r ?? void 0,
|
|
711
711
|
error: n ?? void 0,
|
|
712
712
|
complete: i ?? void 0
|
|
@@ -714,7 +714,7 @@ var _t = function(e) {
|
|
|
714
714
|
}
|
|
715
715
|
return t;
|
|
716
716
|
}(_t);
|
|
717
|
-
function
|
|
717
|
+
function oe(e) {
|
|
718
718
|
Er(e);
|
|
719
719
|
}
|
|
720
720
|
function wr(e) {
|
|
@@ -747,7 +747,7 @@ var Qe = function() {
|
|
|
747
747
|
return r.source = this, r.operator = t, r;
|
|
748
748
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
749
749
|
var i = this, o = Or(t) ? t : new Ne(t, r, n);
|
|
750
|
-
return
|
|
750
|
+
return ue(function() {
|
|
751
751
|
var s = i, a = s.operator, h = s.source;
|
|
752
752
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
753
753
|
}), o;
|
|
@@ -803,17 +803,17 @@ function Je(e) {
|
|
|
803
803
|
return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
804
804
|
}
|
|
805
805
|
function Pr(e) {
|
|
806
|
-
return e &&
|
|
806
|
+
return e && B(e.next) && B(e.error) && B(e.complete);
|
|
807
807
|
}
|
|
808
808
|
function Or(e) {
|
|
809
809
|
return e && e instanceof _t || Pr(e) && xt(e);
|
|
810
810
|
}
|
|
811
|
-
var Ir =
|
|
811
|
+
var Ir = vt(function(e) {
|
|
812
812
|
return function() {
|
|
813
813
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
814
814
|
};
|
|
815
815
|
}), Et = function(e) {
|
|
816
|
-
|
|
816
|
+
A(t, e);
|
|
817
817
|
function t() {
|
|
818
818
|
var r = e.call(this) || this;
|
|
819
819
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -826,7 +826,7 @@ var Ir = yt(function(e) {
|
|
|
826
826
|
throw new Ir();
|
|
827
827
|
}, t.prototype.next = function(r) {
|
|
828
828
|
var n = this;
|
|
829
|
-
|
|
829
|
+
ue(function() {
|
|
830
830
|
var i, o;
|
|
831
831
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
832
832
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -848,7 +848,7 @@ var Ir = yt(function(e) {
|
|
|
848
848
|
});
|
|
849
849
|
}, t.prototype.error = function(r) {
|
|
850
850
|
var n = this;
|
|
851
|
-
|
|
851
|
+
ue(function() {
|
|
852
852
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
853
853
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
854
854
|
for (var i = n.observers; i.length; )
|
|
@@ -857,7 +857,7 @@ var Ir = yt(function(e) {
|
|
|
857
857
|
});
|
|
858
858
|
}, t.prototype.complete = function() {
|
|
859
859
|
var r = this;
|
|
860
|
-
|
|
860
|
+
ue(function() {
|
|
861
861
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
862
862
|
r.isStopped = !0;
|
|
863
863
|
for (var n = r.observers; n.length; )
|
|
@@ -892,7 +892,7 @@ var Ir = yt(function(e) {
|
|
|
892
892
|
return new Ye(r, n);
|
|
893
893
|
}, t;
|
|
894
894
|
}(Qe), Ye = function(e) {
|
|
895
|
-
|
|
895
|
+
A(t, e);
|
|
896
896
|
function t(r, n) {
|
|
897
897
|
var i = e.call(this) || this;
|
|
898
898
|
return i.destination = r, i.source = n, i;
|
|
@@ -916,7 +916,7 @@ var Ir = yt(function(e) {
|
|
|
916
916
|
},
|
|
917
917
|
delegate: void 0
|
|
918
918
|
}, Nr = function(e) {
|
|
919
|
-
|
|
919
|
+
A(t, e);
|
|
920
920
|
function t(r, n, i) {
|
|
921
921
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = St);
|
|
922
922
|
var o = e.call(this) || this;
|
|
@@ -945,33 +945,33 @@ const qe = [], Ke = {}, Cr = (e, t = 0) => {
|
|
|
945
945
|
Ke[e] = r, qe.push(e);
|
|
946
946
|
}
|
|
947
947
|
return Ke[e];
|
|
948
|
-
},
|
|
948
|
+
}, M = [];
|
|
949
949
|
function Lr(e, t) {
|
|
950
950
|
return {
|
|
951
951
|
subscribe: pe(e, t).subscribe
|
|
952
952
|
};
|
|
953
953
|
}
|
|
954
|
-
function pe(e, t =
|
|
954
|
+
function pe(e, t = w) {
|
|
955
955
|
let r;
|
|
956
956
|
const n = /* @__PURE__ */ new Set();
|
|
957
957
|
function i(a) {
|
|
958
958
|
if (dt(e, a) && (e = a, r)) {
|
|
959
|
-
const h =
|
|
959
|
+
const h = !M.length;
|
|
960
960
|
for (const u of n)
|
|
961
|
-
u[1](),
|
|
961
|
+
u[1](), M.push(u, e);
|
|
962
962
|
if (h) {
|
|
963
|
-
for (let u = 0; u <
|
|
964
|
-
|
|
965
|
-
|
|
963
|
+
for (let u = 0; u < M.length; u += 2)
|
|
964
|
+
M[u][0](M[u + 1]);
|
|
965
|
+
M.length = 0;
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
969
|
function o(a) {
|
|
970
970
|
i(a(e));
|
|
971
971
|
}
|
|
972
|
-
function s(a, h =
|
|
972
|
+
function s(a, h = w) {
|
|
973
973
|
const u = [a, h];
|
|
974
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
974
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || w), a(e), () => {
|
|
975
975
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
976
976
|
};
|
|
977
977
|
}
|
|
@@ -985,33 +985,33 @@ function X(e, t, r) {
|
|
|
985
985
|
return Lr(r, (s, a) => {
|
|
986
986
|
let h = !1;
|
|
987
987
|
const u = [];
|
|
988
|
-
let l = 0,
|
|
989
|
-
const
|
|
988
|
+
let l = 0, f = w;
|
|
989
|
+
const c = () => {
|
|
990
990
|
if (l)
|
|
991
991
|
return;
|
|
992
|
-
|
|
993
|
-
const
|
|
994
|
-
o ? s(
|
|
995
|
-
},
|
|
996
|
-
(
|
|
997
|
-
|
|
998
|
-
(
|
|
999
|
-
u[m] =
|
|
992
|
+
f();
|
|
993
|
+
const g = t(n ? u[0] : u, s, a);
|
|
994
|
+
o ? s(g) : f = Ge(g) ? g : w;
|
|
995
|
+
}, p = i.map(
|
|
996
|
+
(g, m) => Zt(
|
|
997
|
+
g,
|
|
998
|
+
(d) => {
|
|
999
|
+
u[m] = d, l &= ~(1 << m), h && c();
|
|
1000
1000
|
},
|
|
1001
1001
|
() => {
|
|
1002
1002
|
l |= 1 << m;
|
|
1003
1003
|
}
|
|
1004
1004
|
)
|
|
1005
1005
|
);
|
|
1006
|
-
return h = !0,
|
|
1007
|
-
|
|
1006
|
+
return h = !0, c(), function() {
|
|
1007
|
+
ee(p), f(), h = !1;
|
|
1008
1008
|
};
|
|
1009
1009
|
});
|
|
1010
1010
|
}
|
|
1011
|
-
function
|
|
1011
|
+
function Mr(e) {
|
|
1012
1012
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1013
1013
|
}
|
|
1014
|
-
var
|
|
1014
|
+
var $r = function(t) {
|
|
1015
1015
|
return Rr(t) && !Ur(t);
|
|
1016
1016
|
};
|
|
1017
1017
|
function Rr(e) {
|
|
@@ -1028,12 +1028,12 @@ function Gr(e) {
|
|
|
1028
1028
|
function jr(e) {
|
|
1029
1029
|
return Array.isArray(e) ? [] : {};
|
|
1030
1030
|
}
|
|
1031
|
-
function
|
|
1031
|
+
function q(e, t) {
|
|
1032
1032
|
return t.clone !== !1 && t.isMergeableObject(e) ? F(jr(e), e, t) : e;
|
|
1033
1033
|
}
|
|
1034
1034
|
function kr(e, t, r) {
|
|
1035
1035
|
return e.concat(t).map(function(n) {
|
|
1036
|
-
return
|
|
1036
|
+
return q(n, r);
|
|
1037
1037
|
});
|
|
1038
1038
|
}
|
|
1039
1039
|
function Vr(e, t) {
|
|
@@ -1063,15 +1063,15 @@ function Wr(e, t) {
|
|
|
1063
1063
|
function zr(e, t, r) {
|
|
1064
1064
|
var n = {};
|
|
1065
1065
|
return r.isMergeableObject(e) && et(e).forEach(function(i) {
|
|
1066
|
-
n[i] =
|
|
1066
|
+
n[i] = q(e[i], r);
|
|
1067
1067
|
}), et(t).forEach(function(i) {
|
|
1068
|
-
Wr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] =
|
|
1068
|
+
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));
|
|
1069
1069
|
}), n;
|
|
1070
1070
|
}
|
|
1071
1071
|
function F(e, t, r) {
|
|
1072
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject ||
|
|
1072
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = q;
|
|
1073
1073
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1074
|
-
return o ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) :
|
|
1074
|
+
return o ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : q(t, r);
|
|
1075
1075
|
}
|
|
1076
1076
|
F.all = function(t, r) {
|
|
1077
1077
|
if (!Array.isArray(t))
|
|
@@ -1081,7 +1081,7 @@ F.all = function(t, r) {
|
|
|
1081
1081
|
}, {});
|
|
1082
1082
|
};
|
|
1083
1083
|
var Zr = F, Qr = Zr;
|
|
1084
|
-
const Jr = /* @__PURE__ */
|
|
1084
|
+
const Jr = /* @__PURE__ */ Mr(Qr);
|
|
1085
1085
|
function xe(e, t) {
|
|
1086
1086
|
var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Kr;
|
|
1087
1087
|
return i(e, {
|
|
@@ -1130,10 +1130,10 @@ var tn = function() {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
}, _e = {
|
|
1132
1132
|
variadic: en
|
|
1133
|
-
},
|
|
1133
|
+
}, b;
|
|
1134
1134
|
(function(e) {
|
|
1135
1135
|
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";
|
|
1136
|
-
})(
|
|
1136
|
+
})(b || (b = {}));
|
|
1137
1137
|
var x;
|
|
1138
1138
|
(function(e) {
|
|
1139
1139
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
@@ -1271,15 +1271,15 @@ var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
1271
1271
|
function ln(e) {
|
|
1272
1272
|
if (e.length === 0)
|
|
1273
1273
|
throw new Error("Number skeleton cannot be empty");
|
|
1274
|
-
for (var t = e.split(hn).filter(function(
|
|
1275
|
-
return
|
|
1274
|
+
for (var t = e.split(hn).filter(function(c) {
|
|
1275
|
+
return c.length > 0;
|
|
1276
1276
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1277
1277
|
var o = i[n], s = o.split("/");
|
|
1278
1278
|
if (s.length === 0)
|
|
1279
1279
|
throw new Error("Invalid number skeleton");
|
|
1280
1280
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1281
|
-
var
|
|
1282
|
-
if (
|
|
1281
|
+
var f = l[u];
|
|
1282
|
+
if (f.length === 0)
|
|
1283
1283
|
throw new Error("Invalid number skeleton");
|
|
1284
1284
|
}
|
|
1285
1285
|
r.push({ stem: a, options: h });
|
|
@@ -1289,10 +1289,10 @@ function ln(e) {
|
|
|
1289
1289
|
function cn(e) {
|
|
1290
1290
|
return e.replace(/^(.*?)-/, "");
|
|
1291
1291
|
}
|
|
1292
|
-
var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1292
|
+
var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
|
|
1293
1293
|
function nt(e) {
|
|
1294
1294
|
var t = {};
|
|
1295
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1295
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
|
|
1296
1296
|
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)), "";
|
|
1297
1297
|
}), t;
|
|
1298
1298
|
}
|
|
@@ -1344,7 +1344,7 @@ function mn(e) {
|
|
|
1344
1344
|
notation: "scientific"
|
|
1345
1345
|
}, e = e.slice(1)), t) {
|
|
1346
1346
|
var r = e.slice(0, 2);
|
|
1347
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)),
|
|
1347
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
|
|
1348
1348
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1349
1349
|
t.minimumIntegerDigits = e.length;
|
|
1350
1350
|
}
|
|
@@ -1440,34 +1440,34 @@ function pn(e) {
|
|
|
1440
1440
|
case "integer-width":
|
|
1441
1441
|
if (i.options.length > 1)
|
|
1442
1442
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1443
|
-
i.options[0].replace(fn, function(h, u, l,
|
|
1443
|
+
i.options[0].replace(fn, function(h, u, l, f, c, p) {
|
|
1444
1444
|
if (u)
|
|
1445
1445
|
t.minimumIntegerDigits = l.length;
|
|
1446
1446
|
else {
|
|
1447
|
-
if (
|
|
1447
|
+
if (f && c)
|
|
1448
1448
|
throw new Error("We currently do not support maximum integer digits");
|
|
1449
|
-
if (
|
|
1449
|
+
if (p)
|
|
1450
1450
|
throw new Error("We currently do not support exact integer digits");
|
|
1451
1451
|
}
|
|
1452
1452
|
return "";
|
|
1453
1453
|
});
|
|
1454
1454
|
continue;
|
|
1455
1455
|
}
|
|
1456
|
-
if (
|
|
1456
|
+
if ($t.test(i.stem)) {
|
|
1457
1457
|
t.minimumIntegerDigits = i.stem.length;
|
|
1458
1458
|
continue;
|
|
1459
1459
|
}
|
|
1460
1460
|
if (rt.test(i.stem)) {
|
|
1461
1461
|
if (i.options.length > 1)
|
|
1462
1462
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1463
|
-
i.stem.replace(rt, function(h, u, l,
|
|
1464
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1463
|
+
i.stem.replace(rt, function(h, u, l, f, c, p) {
|
|
1464
|
+
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), "";
|
|
1465
1465
|
});
|
|
1466
1466
|
var o = i.options[0];
|
|
1467
1467
|
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), nt(o)));
|
|
1468
1468
|
continue;
|
|
1469
1469
|
}
|
|
1470
|
-
if (
|
|
1470
|
+
if (Mt.test(i.stem)) {
|
|
1471
1471
|
t = v(v({}, t), nt(i.stem));
|
|
1472
1472
|
continue;
|
|
1473
1473
|
}
|
|
@@ -1478,7 +1478,7 @@ function pn(e) {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
return t;
|
|
1480
1480
|
}
|
|
1481
|
-
var
|
|
1481
|
+
var se = {
|
|
1482
1482
|
"001": [
|
|
1483
1483
|
"H",
|
|
1484
1484
|
"h"
|
|
@@ -2927,11 +2927,11 @@ function bn(e) {
|
|
|
2927
2927
|
}
|
|
2928
2928
|
var r = e.language, n;
|
|
2929
2929
|
r !== "root" && (n = e.maximize().region);
|
|
2930
|
-
var i =
|
|
2930
|
+
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
2931
2931
|
return i[0];
|
|
2932
2932
|
}
|
|
2933
|
-
var Ee,
|
|
2934
|
-
function
|
|
2933
|
+
var Ee, yn = new RegExp("^".concat(Lt.source, "*")), vn = new RegExp("".concat(Lt.source, "*$"));
|
|
2934
|
+
function y(e, t) {
|
|
2935
2935
|
return { start: e, end: t };
|
|
2936
2936
|
}
|
|
2937
2937
|
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) {
|
|
@@ -2953,7 +2953,7 @@ var ot = gn ? (
|
|
|
2953
2953
|
function(t, r, n) {
|
|
2954
2954
|
return t.slice(n, n + r.length) === r;
|
|
2955
2955
|
}
|
|
2956
|
-
),
|
|
2956
|
+
), Me = xn ? String.fromCodePoint : (
|
|
2957
2957
|
// IE11
|
|
2958
2958
|
function() {
|
|
2959
2959
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2999,7 +2999,7 @@ var ot = gn ? (
|
|
|
2999
2999
|
) : (
|
|
3000
3000
|
// Ponyfill
|
|
3001
3001
|
function(t) {
|
|
3002
|
-
return t.replace(
|
|
3002
|
+
return t.replace(yn, "");
|
|
3003
3003
|
}
|
|
3004
3004
|
), Pn = wn ? (
|
|
3005
3005
|
// Native
|
|
@@ -3009,30 +3009,30 @@ var ot = gn ? (
|
|
|
3009
3009
|
) : (
|
|
3010
3010
|
// Ponyfill
|
|
3011
3011
|
function(t) {
|
|
3012
|
-
return t.replace(
|
|
3012
|
+
return t.replace(vn, "");
|
|
3013
3013
|
}
|
|
3014
3014
|
);
|
|
3015
3015
|
function Dt(e, t) {
|
|
3016
3016
|
return new RegExp(e, t);
|
|
3017
3017
|
}
|
|
3018
|
-
var
|
|
3018
|
+
var $e;
|
|
3019
3019
|
if (Le) {
|
|
3020
3020
|
var at = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3021
|
-
|
|
3021
|
+
$e = function(t, r) {
|
|
3022
3022
|
var n;
|
|
3023
3023
|
at.lastIndex = r;
|
|
3024
3024
|
var i = at.exec(t);
|
|
3025
3025
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3026
3026
|
};
|
|
3027
3027
|
} else
|
|
3028
|
-
|
|
3028
|
+
$e = function(t, r) {
|
|
3029
3029
|
for (var n = []; ; ) {
|
|
3030
3030
|
var i = Ut(t, r);
|
|
3031
3031
|
if (i === void 0 || Ft(i) || Cn(i))
|
|
3032
3032
|
break;
|
|
3033
3033
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3034
3034
|
}
|
|
3035
|
-
return
|
|
3035
|
+
return Me.apply(void 0, n);
|
|
3036
3036
|
};
|
|
3037
3037
|
var On = (
|
|
3038
3038
|
/** @class */
|
|
@@ -3059,12 +3059,12 @@ var On = (
|
|
|
3059
3059
|
var a = this.clonePosition();
|
|
3060
3060
|
this.bump(), i.push({
|
|
3061
3061
|
type: x.pound,
|
|
3062
|
-
location:
|
|
3062
|
+
location: y(a, this.clonePosition())
|
|
3063
3063
|
});
|
|
3064
3064
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3065
3065
|
if (n)
|
|
3066
3066
|
break;
|
|
3067
|
-
return this.error(
|
|
3067
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3068
3068
|
} else if (o === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
|
|
3069
3069
|
var s = this.parseTag(t, r);
|
|
3070
3070
|
if (s.err)
|
|
@@ -3088,7 +3088,7 @@ var On = (
|
|
|
3088
3088
|
val: {
|
|
3089
3089
|
type: x.literal,
|
|
3090
3090
|
value: "<".concat(i, "/>"),
|
|
3091
|
-
location:
|
|
3091
|
+
location: y(n, this.clonePosition())
|
|
3092
3092
|
},
|
|
3093
3093
|
err: null
|
|
3094
3094
|
};
|
|
@@ -3099,21 +3099,21 @@ var On = (
|
|
|
3099
3099
|
var s = o.val, a = this.clonePosition();
|
|
3100
3100
|
if (this.bumpIf("</")) {
|
|
3101
3101
|
if (this.isEOF() || !Re(this.char()))
|
|
3102
|
-
return this.error(
|
|
3102
|
+
return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
|
|
3103
3103
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3104
|
-
return i !== u ? this.error(
|
|
3104
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3105
3105
|
val: {
|
|
3106
3106
|
type: x.tag,
|
|
3107
3107
|
value: i,
|
|
3108
3108
|
children: s,
|
|
3109
|
-
location:
|
|
3109
|
+
location: y(n, this.clonePosition())
|
|
3110
3110
|
},
|
|
3111
3111
|
err: null
|
|
3112
|
-
} : this.error(
|
|
3112
|
+
} : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
|
|
3113
3113
|
} else
|
|
3114
|
-
return this.error(
|
|
3114
|
+
return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
3115
3115
|
} else
|
|
3116
|
-
return this.error(
|
|
3116
|
+
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3117
3117
|
}, e.prototype.parseTagName = function() {
|
|
3118
3118
|
var t = this.offset();
|
|
3119
3119
|
for (this.bump(); !this.isEOF() && Nn(this.char()); )
|
|
@@ -3138,7 +3138,7 @@ var On = (
|
|
|
3138
3138
|
}
|
|
3139
3139
|
break;
|
|
3140
3140
|
}
|
|
3141
|
-
var h =
|
|
3141
|
+
var h = y(n, this.clonePosition());
|
|
3142
3142
|
return {
|
|
3143
3143
|
val: { type: x.literal, value: i, location: h },
|
|
3144
3144
|
err: null
|
|
@@ -3179,23 +3179,23 @@ var On = (
|
|
|
3179
3179
|
r.push(n);
|
|
3180
3180
|
this.bump();
|
|
3181
3181
|
}
|
|
3182
|
-
return
|
|
3182
|
+
return Me.apply(void 0, r);
|
|
3183
3183
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3184
3184
|
if (this.isEOF())
|
|
3185
3185
|
return null;
|
|
3186
3186
|
var n = this.char();
|
|
3187
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3187
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
|
|
3188
3188
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3189
3189
|
var n = this.clonePosition();
|
|
3190
3190
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3191
|
-
return this.error(
|
|
3191
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3192
3192
|
if (this.char() === 125)
|
|
3193
|
-
return this.bump(), this.error(
|
|
3193
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
|
3194
3194
|
var i = this.parseIdentifierIfPossible().value;
|
|
3195
3195
|
if (!i)
|
|
3196
|
-
return this.error(
|
|
3196
|
+
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3197
3197
|
if (this.bumpSpace(), this.isEOF())
|
|
3198
|
-
return this.error(
|
|
3198
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3199
3199
|
switch (this.char()) {
|
|
3200
3200
|
case 125:
|
|
3201
3201
|
return this.bump(), {
|
|
@@ -3203,25 +3203,25 @@ var On = (
|
|
|
3203
3203
|
type: x.argument,
|
|
3204
3204
|
// value does not include the opening and closing braces.
|
|
3205
3205
|
value: i,
|
|
3206
|
-
location:
|
|
3206
|
+
location: y(n, this.clonePosition())
|
|
3207
3207
|
},
|
|
3208
3208
|
err: null
|
|
3209
3209
|
};
|
|
3210
3210
|
case 44:
|
|
3211
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3211
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3212
3212
|
default:
|
|
3213
|
-
return this.error(
|
|
3213
|
+
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3214
3214
|
}
|
|
3215
3215
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3216
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3216
|
+
var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
|
|
3217
3217
|
this.bumpTo(i);
|
|
3218
|
-
var o = this.clonePosition(), s =
|
|
3218
|
+
var o = this.clonePosition(), s = y(t, o);
|
|
3219
3219
|
return { value: n, location: s };
|
|
3220
3220
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3221
3221
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3222
3222
|
switch (a) {
|
|
3223
3223
|
case "":
|
|
3224
|
-
return this.error(
|
|
3224
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, h));
|
|
3225
3225
|
case "number":
|
|
3226
3226
|
case "date":
|
|
3227
3227
|
case "time": {
|
|
@@ -3229,40 +3229,40 @@ var On = (
|
|
|
3229
3229
|
var u = null;
|
|
3230
3230
|
if (this.bumpIf(",")) {
|
|
3231
3231
|
this.bumpSpace();
|
|
3232
|
-
var l = this.clonePosition(),
|
|
3233
|
-
if (
|
|
3234
|
-
return
|
|
3235
|
-
var
|
|
3236
|
-
if (
|
|
3237
|
-
return this.error(
|
|
3238
|
-
var
|
|
3239
|
-
u = { style:
|
|
3232
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3233
|
+
if (f.err)
|
|
3234
|
+
return f;
|
|
3235
|
+
var c = Pn(f.val);
|
|
3236
|
+
if (c.length === 0)
|
|
3237
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3238
|
+
var p = y(l, this.clonePosition());
|
|
3239
|
+
u = { style: c, styleLocation: p };
|
|
3240
3240
|
}
|
|
3241
|
-
var
|
|
3242
|
-
if (
|
|
3243
|
-
return
|
|
3244
|
-
var m =
|
|
3241
|
+
var g = this.tryParseArgumentClose(i);
|
|
3242
|
+
if (g.err)
|
|
3243
|
+
return g;
|
|
3244
|
+
var m = y(i, this.clonePosition());
|
|
3245
3245
|
if (u && ot(u?.style, "::", 0)) {
|
|
3246
|
-
var
|
|
3246
|
+
var d = An(u.style.slice(2));
|
|
3247
3247
|
if (a === "number") {
|
|
3248
|
-
var
|
|
3249
|
-
return
|
|
3250
|
-
val: { type: x.number, value: n, location: m, style:
|
|
3248
|
+
var f = this.parseNumberSkeletonFromString(d, u.styleLocation);
|
|
3249
|
+
return f.err ? f : {
|
|
3250
|
+
val: { type: x.number, value: n, location: m, style: f.val },
|
|
3251
3251
|
err: null
|
|
3252
3252
|
};
|
|
3253
3253
|
} else {
|
|
3254
|
-
if (
|
|
3255
|
-
return this.error(
|
|
3256
|
-
var
|
|
3257
|
-
this.locale && (
|
|
3258
|
-
var
|
|
3254
|
+
if (d.length === 0)
|
|
3255
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3256
|
+
var S = d;
|
|
3257
|
+
this.locale && (S = dn(d, this.locale));
|
|
3258
|
+
var c = {
|
|
3259
3259
|
type: G.dateTime,
|
|
3260
|
-
pattern:
|
|
3260
|
+
pattern: S,
|
|
3261
3261
|
location: u.styleLocation,
|
|
3262
|
-
parsedOptions: this.shouldParseSkeletons ? un(
|
|
3263
|
-
},
|
|
3262
|
+
parsedOptions: this.shouldParseSkeletons ? un(S) : {}
|
|
3263
|
+
}, P = a === "date" ? x.date : x.time;
|
|
3264
3264
|
return {
|
|
3265
|
-
val: { type:
|
|
3265
|
+
val: { type: P, value: n, location: m, style: c },
|
|
3266
3266
|
err: null
|
|
3267
3267
|
};
|
|
3268
3268
|
}
|
|
@@ -3280,32 +3280,32 @@ var On = (
|
|
|
3280
3280
|
case "plural":
|
|
3281
3281
|
case "selectordinal":
|
|
3282
3282
|
case "select": {
|
|
3283
|
-
var
|
|
3283
|
+
var H = this.clonePosition();
|
|
3284
3284
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3285
|
-
return this.error(
|
|
3285
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, v({}, H)));
|
|
3286
3286
|
this.bumpSpace();
|
|
3287
3287
|
var z = this.parseIdentifierIfPossible(), I = 0;
|
|
3288
3288
|
if (a !== "select" && z.value === "offset") {
|
|
3289
3289
|
if (!this.bumpIf(":"))
|
|
3290
|
-
return this.error(
|
|
3290
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3291
3291
|
this.bumpSpace();
|
|
3292
|
-
var
|
|
3293
|
-
if (
|
|
3294
|
-
return
|
|
3295
|
-
this.bumpSpace(), z = this.parseIdentifierIfPossible(), I =
|
|
3292
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3293
|
+
if (f.err)
|
|
3294
|
+
return f;
|
|
3295
|
+
this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = f.val;
|
|
3296
3296
|
}
|
|
3297
|
-
var
|
|
3298
|
-
if (
|
|
3299
|
-
return
|
|
3300
|
-
var
|
|
3301
|
-
if (
|
|
3302
|
-
return
|
|
3303
|
-
var Ve =
|
|
3297
|
+
var ie = this.tryParsePluralOrSelectOptions(t, a, r, z);
|
|
3298
|
+
if (ie.err)
|
|
3299
|
+
return ie;
|
|
3300
|
+
var g = this.tryParseArgumentClose(i);
|
|
3301
|
+
if (g.err)
|
|
3302
|
+
return g;
|
|
3303
|
+
var Ve = y(i, this.clonePosition());
|
|
3304
3304
|
return a === "select" ? {
|
|
3305
3305
|
val: {
|
|
3306
3306
|
type: x.select,
|
|
3307
3307
|
value: n,
|
|
3308
|
-
options: st(
|
|
3308
|
+
options: st(ie.val),
|
|
3309
3309
|
location: Ve
|
|
3310
3310
|
},
|
|
3311
3311
|
err: null
|
|
@@ -3313,7 +3313,7 @@ var On = (
|
|
|
3313
3313
|
val: {
|
|
3314
3314
|
type: x.plural,
|
|
3315
3315
|
value: n,
|
|
3316
|
-
options: st(
|
|
3316
|
+
options: st(ie.val),
|
|
3317
3317
|
offset: I,
|
|
3318
3318
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3319
3319
|
location: Ve
|
|
@@ -3322,10 +3322,10 @@ var On = (
|
|
|
3322
3322
|
};
|
|
3323
3323
|
}
|
|
3324
3324
|
default:
|
|
3325
|
-
return this.error(
|
|
3325
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(s, h));
|
|
3326
3326
|
}
|
|
3327
3327
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3328
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3328
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3329
3329
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3330
3330
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3331
3331
|
var n = this.char();
|
|
@@ -3334,7 +3334,7 @@ var On = (
|
|
|
3334
3334
|
this.bump();
|
|
3335
3335
|
var i = this.clonePosition();
|
|
3336
3336
|
if (!this.bumpUntil("'"))
|
|
3337
|
-
return this.error(
|
|
3337
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
|
3338
3338
|
this.bump();
|
|
3339
3339
|
break;
|
|
3340
3340
|
}
|
|
@@ -3366,7 +3366,7 @@ var On = (
|
|
|
3366
3366
|
try {
|
|
3367
3367
|
n = ln(t);
|
|
3368
3368
|
} catch {
|
|
3369
|
-
return this.error(
|
|
3369
|
+
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3370
3370
|
}
|
|
3371
3371
|
return {
|
|
3372
3372
|
val: {
|
|
@@ -3380,36 +3380,36 @@ var On = (
|
|
|
3380
3380
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3381
3381
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3382
3382
|
if (u.length === 0) {
|
|
3383
|
-
var
|
|
3383
|
+
var f = this.clonePosition();
|
|
3384
3384
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3385
|
-
var
|
|
3386
|
-
if (
|
|
3387
|
-
return
|
|
3388
|
-
l =
|
|
3385
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3386
|
+
if (c.err)
|
|
3387
|
+
return c;
|
|
3388
|
+
l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3389
3389
|
} else
|
|
3390
3390
|
break;
|
|
3391
3391
|
}
|
|
3392
3392
|
if (h.has(u))
|
|
3393
|
-
return this.error(r === "select" ?
|
|
3393
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3394
3394
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3395
|
-
var
|
|
3395
|
+
var p = this.clonePosition();
|
|
3396
3396
|
if (!this.bumpIf("{"))
|
|
3397
|
-
return this.error(r === "select" ?
|
|
3398
|
-
var
|
|
3399
|
-
if (
|
|
3400
|
-
return
|
|
3401
|
-
var m = this.tryParseArgumentClose(
|
|
3397
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3398
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3399
|
+
if (g.err)
|
|
3400
|
+
return g;
|
|
3401
|
+
var m = this.tryParseArgumentClose(p);
|
|
3402
3402
|
if (m.err)
|
|
3403
3403
|
return m;
|
|
3404
3404
|
a.push([
|
|
3405
3405
|
u,
|
|
3406
3406
|
{
|
|
3407
|
-
value:
|
|
3408
|
-
location:
|
|
3407
|
+
value: g.val,
|
|
3408
|
+
location: y(p, this.clonePosition())
|
|
3409
3409
|
}
|
|
3410
3410
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3411
3411
|
}
|
|
3412
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3412
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3413
3413
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3414
3414
|
var n = 1, i = this.clonePosition();
|
|
3415
3415
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3420,7 +3420,7 @@ var On = (
|
|
|
3420
3420
|
else
|
|
3421
3421
|
break;
|
|
3422
3422
|
}
|
|
3423
|
-
var h =
|
|
3423
|
+
var h = y(i, this.clonePosition());
|
|
3424
3424
|
return o ? (s *= n, Tn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3425
3425
|
}, e.prototype.offset = function() {
|
|
3426
3426
|
return this.position.offset;
|
|
@@ -3514,7 +3514,7 @@ function Ln(e, t) {
|
|
|
3514
3514
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3515
3515
|
var r = new On(e, t).parse();
|
|
3516
3516
|
if (r.err) {
|
|
3517
|
-
var n = SyntaxError(
|
|
3517
|
+
var n = SyntaxError(b[r.err.kind]);
|
|
3518
3518
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3519
3519
|
}
|
|
3520
3520
|
return t?.captureLocation || Ue(r.val), r.val;
|
|
@@ -3526,7 +3526,7 @@ var j;
|
|
|
3526
3526
|
var de = (
|
|
3527
3527
|
/** @class */
|
|
3528
3528
|
function(e) {
|
|
3529
|
-
|
|
3529
|
+
A(t, e);
|
|
3530
3530
|
function t(r, n, i) {
|
|
3531
3531
|
var o = e.call(this, r) || this;
|
|
3532
3532
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3538,48 +3538,48 @@ var de = (
|
|
|
3538
3538
|
), ut = (
|
|
3539
3539
|
/** @class */
|
|
3540
3540
|
function(e) {
|
|
3541
|
-
|
|
3541
|
+
A(t, e);
|
|
3542
3542
|
function t(r, n, i, o) {
|
|
3543
3543
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
|
|
3544
3544
|
}
|
|
3545
3545
|
return t;
|
|
3546
3546
|
}(de)
|
|
3547
|
-
),
|
|
3547
|
+
), Mn = (
|
|
3548
3548
|
/** @class */
|
|
3549
3549
|
function(e) {
|
|
3550
|
-
|
|
3550
|
+
A(t, e);
|
|
3551
3551
|
function t(r, n, i) {
|
|
3552
3552
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
|
|
3553
3553
|
}
|
|
3554
3554
|
return t;
|
|
3555
3555
|
}(de)
|
|
3556
|
-
),
|
|
3556
|
+
), $n = (
|
|
3557
3557
|
/** @class */
|
|
3558
3558
|
function(e) {
|
|
3559
|
-
|
|
3559
|
+
A(t, e);
|
|
3560
3560
|
function t(r, n) {
|
|
3561
3561
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
|
|
3562
3562
|
}
|
|
3563
3563
|
return t;
|
|
3564
3564
|
}(de)
|
|
3565
|
-
),
|
|
3565
|
+
), E;
|
|
3566
3566
|
(function(e) {
|
|
3567
3567
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3568
|
-
})(
|
|
3568
|
+
})(E || (E = {}));
|
|
3569
3569
|
function Rn(e) {
|
|
3570
3570
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3571
3571
|
var n = t[t.length - 1];
|
|
3572
|
-
return !n || n.type !==
|
|
3572
|
+
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3573
3573
|
}, []);
|
|
3574
3574
|
}
|
|
3575
3575
|
function Un(e) {
|
|
3576
3576
|
return typeof e == "function";
|
|
3577
3577
|
}
|
|
3578
|
-
function
|
|
3578
|
+
function he(e, t, r, n, i, o, s) {
|
|
3579
3579
|
if (e.length === 1 && tt(e[0]))
|
|
3580
3580
|
return [
|
|
3581
3581
|
{
|
|
3582
|
-
type:
|
|
3582
|
+
type: E.literal,
|
|
3583
3583
|
value: e[0].value
|
|
3584
3584
|
}
|
|
3585
3585
|
];
|
|
@@ -3587,87 +3587,87 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3587
3587
|
var l = u[h];
|
|
3588
3588
|
if (tt(l)) {
|
|
3589
3589
|
a.push({
|
|
3590
|
-
type:
|
|
3590
|
+
type: E.literal,
|
|
3591
3591
|
value: l.value
|
|
3592
3592
|
});
|
|
3593
3593
|
continue;
|
|
3594
3594
|
}
|
|
3595
3595
|
if (sn(l)) {
|
|
3596
3596
|
typeof o == "number" && a.push({
|
|
3597
|
-
type:
|
|
3597
|
+
type: E.literal,
|
|
3598
3598
|
value: r.getNumberFormat(t).format(o)
|
|
3599
3599
|
});
|
|
3600
3600
|
continue;
|
|
3601
3601
|
}
|
|
3602
|
-
var
|
|
3603
|
-
if (!(i &&
|
|
3604
|
-
throw new
|
|
3605
|
-
var
|
|
3602
|
+
var f = l.value;
|
|
3603
|
+
if (!(i && f in i))
|
|
3604
|
+
throw new $n(f, s);
|
|
3605
|
+
var c = i[f];
|
|
3606
3606
|
if (on(l)) {
|
|
3607
|
-
(!
|
|
3608
|
-
type: typeof
|
|
3609
|
-
value:
|
|
3607
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3608
|
+
type: typeof c == "string" ? E.literal : E.object,
|
|
3609
|
+
value: c
|
|
3610
3610
|
});
|
|
3611
3611
|
continue;
|
|
3612
3612
|
}
|
|
3613
3613
|
if (At(l)) {
|
|
3614
|
-
var
|
|
3614
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Ce(l.style) ? l.style.parsedOptions : void 0;
|
|
3615
3615
|
a.push({
|
|
3616
|
-
type:
|
|
3617
|
-
value: r.getDateTimeFormat(t,
|
|
3616
|
+
type: E.literal,
|
|
3617
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3618
3618
|
});
|
|
3619
3619
|
continue;
|
|
3620
3620
|
}
|
|
3621
3621
|
if (Pt(l)) {
|
|
3622
|
-
var
|
|
3622
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Ce(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3623
3623
|
a.push({
|
|
3624
|
-
type:
|
|
3625
|
-
value: r.getDateTimeFormat(t,
|
|
3624
|
+
type: E.literal,
|
|
3625
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3626
3626
|
});
|
|
3627
3627
|
continue;
|
|
3628
3628
|
}
|
|
3629
3629
|
if (Bt(l)) {
|
|
3630
|
-
var
|
|
3631
|
-
|
|
3632
|
-
type:
|
|
3633
|
-
value: r.getNumberFormat(t,
|
|
3630
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Ct(l.style) ? l.style.parsedOptions : void 0;
|
|
3631
|
+
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3632
|
+
type: E.literal,
|
|
3633
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3634
3634
|
});
|
|
3635
3635
|
continue;
|
|
3636
3636
|
}
|
|
3637
3637
|
if (Nt(l)) {
|
|
3638
|
-
var
|
|
3639
|
-
if (!Un(
|
|
3640
|
-
throw new
|
|
3641
|
-
var
|
|
3638
|
+
var g = l.children, m = l.value, d = i[m];
|
|
3639
|
+
if (!Un(d))
|
|
3640
|
+
throw new Mn(m, "function", s);
|
|
3641
|
+
var S = he(g, t, r, n, i, o), P = d(S.map(function(I) {
|
|
3642
3642
|
return I.value;
|
|
3643
3643
|
}));
|
|
3644
|
-
Array.isArray(
|
|
3644
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(I) {
|
|
3645
3645
|
return {
|
|
3646
|
-
type: typeof I == "string" ?
|
|
3646
|
+
type: typeof I == "string" ? E.literal : E.object,
|
|
3647
3647
|
value: I
|
|
3648
3648
|
};
|
|
3649
3649
|
}));
|
|
3650
3650
|
}
|
|
3651
3651
|
if (Ot(l)) {
|
|
3652
|
-
var
|
|
3653
|
-
if (!
|
|
3654
|
-
throw new ut(l.value,
|
|
3655
|
-
a.push.apply(a,
|
|
3652
|
+
var H = l.options[c] || l.options.other;
|
|
3653
|
+
if (!H)
|
|
3654
|
+
throw new ut(l.value, c, Object.keys(l.options), s);
|
|
3655
|
+
a.push.apply(a, he(H.value, t, r, n, i));
|
|
3656
3656
|
continue;
|
|
3657
3657
|
}
|
|
3658
3658
|
if (It(l)) {
|
|
3659
|
-
var
|
|
3660
|
-
if (!
|
|
3659
|
+
var H = l.options["=".concat(c)];
|
|
3660
|
+
if (!H) {
|
|
3661
3661
|
if (!Intl.PluralRules)
|
|
3662
3662
|
throw new de(`Intl.PluralRules is not available in this environment.
|
|
3663
3663
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3664
3664
|
`, j.MISSING_INTL_API, s);
|
|
3665
|
-
var z = r.getPluralRules(t, { type: l.pluralType }).select(
|
|
3666
|
-
|
|
3665
|
+
var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3666
|
+
H = l.options[z] || l.options.other;
|
|
3667
3667
|
}
|
|
3668
|
-
if (!
|
|
3669
|
-
throw new ut(l.value,
|
|
3670
|
-
a.push.apply(a,
|
|
3668
|
+
if (!H)
|
|
3669
|
+
throw new ut(l.value, c, Object.keys(l.options), s);
|
|
3670
|
+
a.push.apply(a, he(H.value, t, r, n, i, c - (l.offset || 0)));
|
|
3671
3671
|
continue;
|
|
3672
3672
|
}
|
|
3673
3673
|
}
|
|
@@ -3743,12 +3743,12 @@ var jn = (
|
|
|
3743
3743
|
var u = o.formatToParts(h);
|
|
3744
3744
|
if (u.length === 1)
|
|
3745
3745
|
return u[0].value;
|
|
3746
|
-
var l = u.reduce(function(
|
|
3747
|
-
return !
|
|
3746
|
+
var l = u.reduce(function(f, c) {
|
|
3747
|
+
return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3748
3748
|
}, []);
|
|
3749
3749
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3750
3750
|
}, this.formatToParts = function(h) {
|
|
3751
|
-
return
|
|
3751
|
+
return he(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3752
3752
|
}, this.resolvedOptions = function() {
|
|
3753
3753
|
var h;
|
|
3754
3754
|
return {
|
|
@@ -3875,7 +3875,7 @@ const O = {}, Vn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][
|
|
|
3875
3875
|
}
|
|
3876
3876
|
};
|
|
3877
3877
|
let je;
|
|
3878
|
-
const
|
|
3878
|
+
const re = pe({});
|
|
3879
3879
|
function Xn(e) {
|
|
3880
3880
|
return je[e] || null;
|
|
3881
3881
|
}
|
|
@@ -3899,19 +3899,19 @@ function zn(e) {
|
|
|
3899
3899
|
}
|
|
3900
3900
|
}
|
|
3901
3901
|
function Zn(e, ...t) {
|
|
3902
|
-
delete O[e],
|
|
3902
|
+
delete O[e], re.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
|
|
3903
3903
|
}
|
|
3904
3904
|
X(
|
|
3905
|
-
[
|
|
3905
|
+
[re],
|
|
3906
3906
|
([e]) => Object.keys(e)
|
|
3907
3907
|
);
|
|
3908
|
-
|
|
3909
|
-
const
|
|
3908
|
+
re.subscribe((e) => je = e);
|
|
3909
|
+
const le = {};
|
|
3910
3910
|
function Qn(e, t) {
|
|
3911
|
-
|
|
3911
|
+
le[e].delete(t), le[e].size === 0 && delete le[e];
|
|
3912
3912
|
}
|
|
3913
3913
|
function kt(e) {
|
|
3914
|
-
return
|
|
3914
|
+
return le[e];
|
|
3915
3915
|
}
|
|
3916
3916
|
function Jn(e) {
|
|
3917
3917
|
return be(e).map((t) => {
|
|
@@ -4025,9 +4025,9 @@ const ui = (e) => {
|
|
|
4025
4025
|
});
|
|
4026
4026
|
}
|
|
4027
4027
|
return ce.set(e);
|
|
4028
|
-
},
|
|
4028
|
+
}, ne = ai(si({}, ce), {
|
|
4029
4029
|
set: ui
|
|
4030
|
-
}),
|
|
4030
|
+
}), ye = (e) => {
|
|
4031
4031
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4032
4032
|
return (n) => {
|
|
4033
4033
|
const i = JSON.stringify(n);
|
|
@@ -4050,33 +4050,33 @@ var hi = Object.defineProperty, fe = Object.getOwnPropertySymbols, Xt = Object.p
|
|
|
4050
4050
|
t.indexOf(n) < 0 && Wt.call(e, n) && (r[n] = e[n]);
|
|
4051
4051
|
return r;
|
|
4052
4052
|
};
|
|
4053
|
-
const
|
|
4053
|
+
const K = (e, t) => {
|
|
4054
4054
|
const { formats: r } = k();
|
|
4055
4055
|
if (e in r && t in r[e])
|
|
4056
4056
|
return r[e][t];
|
|
4057
4057
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4058
|
-
}, li =
|
|
4058
|
+
}, li = ye(
|
|
4059
4059
|
(e) => {
|
|
4060
4060
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
|
4061
4061
|
if (r == null)
|
|
4062
4062
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4063
|
-
return n && (i =
|
|
4063
|
+
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
4064
4064
|
}
|
|
4065
|
-
), ci =
|
|
4065
|
+
), ci = ye(
|
|
4066
4066
|
(e) => {
|
|
4067
4067
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
|
4068
4068
|
if (r == null)
|
|
4069
4069
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4070
|
-
return n ? i =
|
|
4070
|
+
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4071
4071
|
}
|
|
4072
|
-
), fi =
|
|
4072
|
+
), fi = ye(
|
|
4073
4073
|
(e) => {
|
|
4074
4074
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
|
4075
4075
|
if (r == null)
|
|
4076
4076
|
throw new Error(
|
|
4077
4077
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4078
4078
|
);
|
|
4079
|
-
return n ? i =
|
|
4079
|
+
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4080
4080
|
}
|
|
4081
4081
|
), mi = (e = {}) => {
|
|
4082
4082
|
var t = e, {
|
|
@@ -4099,12 +4099,12 @@ const q = (e, t) => {
|
|
|
4099
4099
|
"locale"
|
|
4100
4100
|
]);
|
|
4101
4101
|
return fi(ke({ locale: r }, n));
|
|
4102
|
-
}, bi =
|
|
4102
|
+
}, bi = ye(
|
|
4103
4103
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4104
4104
|
(e, t = C()) => new jn(e, t, k().formats, {
|
|
4105
4105
|
ignoreTag: k().ignoreTag
|
|
4106
4106
|
})
|
|
4107
|
-
),
|
|
4107
|
+
), yi = (e, t = {}) => {
|
|
4108
4108
|
var r, n, i, o;
|
|
4109
4109
|
let s = t;
|
|
4110
4110
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4126,60 +4126,83 @@ const q = (e, t) => {
|
|
|
4126
4126
|
), l;
|
|
4127
4127
|
if (!a)
|
|
4128
4128
|
return l;
|
|
4129
|
-
let
|
|
4129
|
+
let f = l;
|
|
4130
4130
|
try {
|
|
4131
|
-
|
|
4132
|
-
} catch (
|
|
4133
|
-
|
|
4131
|
+
f = bi(l, h).format(a);
|
|
4132
|
+
} catch (c) {
|
|
4133
|
+
c instanceof Error && console.warn(
|
|
4134
4134
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4135
|
-
|
|
4135
|
+
c.message
|
|
4136
4136
|
);
|
|
4137
4137
|
}
|
|
4138
|
-
return
|
|
4139
|
-
},
|
|
4140
|
-
X([
|
|
4141
|
-
X([
|
|
4142
|
-
X([
|
|
4143
|
-
X([
|
|
4144
|
-
X([
|
|
4138
|
+
return f;
|
|
4139
|
+
}, vi = (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);
|
|
4140
|
+
X([ne, re], () => yi);
|
|
4141
|
+
X([ne], () => vi);
|
|
4142
|
+
X([ne], () => gi);
|
|
4143
|
+
X([ne], () => xi);
|
|
4144
|
+
X([ne, re], () => _i);
|
|
4145
4145
|
window.emWidgets = { topic: Cr };
|
|
4146
4146
|
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));
|
|
4147
|
-
function Si(e) {
|
|
4148
|
-
|
|
4147
|
+
function Si(e, t) {
|
|
4148
|
+
if (e) {
|
|
4149
|
+
const r = document.createElement("style");
|
|
4150
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4151
|
+
}
|
|
4152
|
+
}
|
|
4153
|
+
function wi(e, t) {
|
|
4154
|
+
const r = new URL(t);
|
|
4155
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4156
|
+
const i = document.createElement("style");
|
|
4157
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4158
|
+
}).catch((n) => {
|
|
4159
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4160
|
+
});
|
|
4161
|
+
}
|
|
4162
|
+
function Hi(e, t, r) {
|
|
4163
|
+
if (window.emMessageBus) {
|
|
4164
|
+
const n = document.createElement("style");
|
|
4165
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4166
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4167
|
+
});
|
|
4168
|
+
}
|
|
4169
|
+
}
|
|
4170
|
+
function Ti(e) {
|
|
4171
|
+
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}}");
|
|
4149
4172
|
}
|
|
4150
4173
|
function mt(e) {
|
|
4151
|
-
let t, r, n, i, o, s, a, h, u, l,
|
|
4152
|
-
function d
|
|
4174
|
+
let t, r, n, i, o, s, a, h, u, l, f, c;
|
|
4175
|
+
function p(d, S) {
|
|
4153
4176
|
return (
|
|
4154
4177
|
/*isLoading*/
|
|
4155
|
-
|
|
4178
|
+
d[3] ? Ai : Bi
|
|
4156
4179
|
);
|
|
4157
4180
|
}
|
|
4158
|
-
let
|
|
4181
|
+
let g = p(e), m = g(e);
|
|
4159
4182
|
return {
|
|
4160
4183
|
c() {
|
|
4161
|
-
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"),
|
|
4184
|
+
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
|
|
4162
4185
|
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
|
|
4163
4186
|
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
|
|
4164
|
-
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`),
|
|
4187
|
+
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");
|
|
4165
4188
|
},
|
|
4166
|
-
m(
|
|
4167
|
-
|
|
4189
|
+
m(d, S) {
|
|
4190
|
+
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(
|
|
4168
4191
|
t,
|
|
4169
4192
|
"click",
|
|
4170
4193
|
/*click_handler*/
|
|
4171
|
-
e[
|
|
4172
|
-
),
|
|
4194
|
+
e[8]
|
|
4195
|
+
), f = !0);
|
|
4173
4196
|
},
|
|
4174
|
-
p(
|
|
4175
|
-
|
|
4197
|
+
p(d, S) {
|
|
4198
|
+
g === (g = p(d)) && m ? m.p(d, S) : (m.d(1), m = g(d), m && (m.c(), m.m(r, null)));
|
|
4176
4199
|
},
|
|
4177
|
-
d(
|
|
4178
|
-
|
|
4200
|
+
d(d) {
|
|
4201
|
+
d && V(t), m.d(), f = !1, c();
|
|
4179
4202
|
}
|
|
4180
4203
|
};
|
|
4181
4204
|
}
|
|
4182
|
-
function
|
|
4205
|
+
function Bi(e) {
|
|
4183
4206
|
let t;
|
|
4184
4207
|
return {
|
|
4185
4208
|
c() {
|
|
@@ -4189,7 +4212,7 @@ function wi(e) {
|
|
|
4189
4212
|
);
|
|
4190
4213
|
},
|
|
4191
4214
|
m(r, n) {
|
|
4192
|
-
|
|
4215
|
+
te(r, t, n);
|
|
4193
4216
|
},
|
|
4194
4217
|
p(r, n) {
|
|
4195
4218
|
n & /*betNumber*/
|
|
@@ -4204,22 +4227,22 @@ function wi(e) {
|
|
|
4204
4227
|
}
|
|
4205
4228
|
};
|
|
4206
4229
|
}
|
|
4207
|
-
function
|
|
4230
|
+
function Ai(e) {
|
|
4208
4231
|
let t;
|
|
4209
4232
|
return {
|
|
4210
4233
|
c() {
|
|
4211
|
-
t = D("div"), t.textContent = "Loading...",
|
|
4234
|
+
t = D("div"), t.textContent = "Loading...", _(t, "class", "loader");
|
|
4212
4235
|
},
|
|
4213
4236
|
m(r, n) {
|
|
4214
|
-
|
|
4237
|
+
te(r, t, n);
|
|
4215
4238
|
},
|
|
4216
|
-
p:
|
|
4239
|
+
p: w,
|
|
4217
4240
|
d(r) {
|
|
4218
4241
|
r && V(t);
|
|
4219
4242
|
}
|
|
4220
4243
|
};
|
|
4221
4244
|
}
|
|
4222
|
-
function
|
|
4245
|
+
function Pi(e) {
|
|
4223
4246
|
let t, r = (
|
|
4224
4247
|
/*mobileView*/
|
|
4225
4248
|
e[2] && /*betNumber*/
|
|
@@ -4230,101 +4253,108 @@ function Ti(e) {
|
|
|
4230
4253
|
t = D("div"), r && r.c();
|
|
4231
4254
|
},
|
|
4232
4255
|
m(n, i) {
|
|
4233
|
-
|
|
4256
|
+
te(n, t, i), r && r.m(t, null), e[9](t);
|
|
4234
4257
|
},
|
|
4235
4258
|
p(n, [i]) {
|
|
4236
4259
|
/*mobileView*/
|
|
4237
4260
|
n[2] && /*betNumber*/
|
|
4238
4261
|
n[1] > 0 ? r ? r.p(n, i) : (r = mt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4239
4262
|
},
|
|
4240
|
-
i:
|
|
4241
|
-
o:
|
|
4263
|
+
i: w,
|
|
4264
|
+
o: w,
|
|
4242
4265
|
d(n) {
|
|
4243
|
-
n && V(t), r && r.d(), e[
|
|
4266
|
+
n && V(t), r && r.d(), e[9](null);
|
|
4244
4267
|
}
|
|
4245
4268
|
};
|
|
4246
4269
|
}
|
|
4247
|
-
function
|
|
4248
|
-
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, o, s = window.navigator.userAgent,
|
|
4249
|
-
const
|
|
4270
|
+
function Oi(e, t, r) {
|
|
4271
|
+
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0;
|
|
4272
|
+
const f = () => {
|
|
4250
4273
|
window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
|
|
4251
|
-
}, c = (
|
|
4252
|
-
|
|
4253
|
-
|
|
4274
|
+
}, c = (d, S) => {
|
|
4275
|
+
s.dispatchEvent(new CustomEvent(
|
|
4276
|
+
d,
|
|
4254
4277
|
{
|
|
4255
|
-
detail:
|
|
4278
|
+
detail: S,
|
|
4256
4279
|
composed: !0,
|
|
4257
4280
|
bubbles: !0
|
|
4258
4281
|
// propagate across the shadow DOM
|
|
4259
4282
|
}
|
|
4260
4283
|
));
|
|
4261
|
-
},
|
|
4262
|
-
const { type:
|
|
4263
|
-
if (
|
|
4264
|
-
switch (
|
|
4284
|
+
}, p = (d) => {
|
|
4285
|
+
const { type: S, payload: P } = d.data;
|
|
4286
|
+
if (d.data)
|
|
4287
|
+
switch (S) {
|
|
4265
4288
|
case "OMFE:updateBetslipSelectionsCount":
|
|
4266
|
-
r(1,
|
|
4289
|
+
r(1, h = P.count), r(3, l = !1);
|
|
4267
4290
|
break;
|
|
4268
4291
|
}
|
|
4269
|
-
}, d = () => {
|
|
4270
|
-
let g = document.createElement("style");
|
|
4271
|
-
g.innerHTML = n, o.appendChild(g);
|
|
4272
|
-
}, y = () => {
|
|
4273
|
-
let g = new URL(i), H = document.createElement("style");
|
|
4274
|
-
fetch(g.href).then((S) => S.text()).then((S) => {
|
|
4275
|
-
H.innerHTML = S, setTimeout(
|
|
4276
|
-
() => {
|
|
4277
|
-
o.appendChild(H);
|
|
4278
|
-
},
|
|
4279
|
-
1
|
|
4280
|
-
);
|
|
4281
|
-
});
|
|
4282
4292
|
};
|
|
4283
|
-
or(() => (
|
|
4284
|
-
window.removeEventListener("message",
|
|
4293
|
+
or(() => (f(), window.addEventListener("message", p, !1), Ei(a) && r(2, u = !0), () => {
|
|
4294
|
+
window.removeEventListener("message", p);
|
|
4285
4295
|
}));
|
|
4286
|
-
const
|
|
4287
|
-
function
|
|
4288
|
-
He[
|
|
4289
|
-
|
|
4296
|
+
const g = (d) => c("betslipClick", {});
|
|
4297
|
+
function m(d) {
|
|
4298
|
+
He[d ? "unshift" : "push"](() => {
|
|
4299
|
+
s = d, r(0, s);
|
|
4290
4300
|
});
|
|
4291
4301
|
}
|
|
4292
|
-
return e.$$set = (
|
|
4293
|
-
"clientstyling" in
|
|
4302
|
+
return e.$$set = (d) => {
|
|
4303
|
+
"clientstyling" in d && r(5, n = d.clientstyling), "clientstylingurl" in d && r(6, i = d.clientstylingurl), "mbsource" in d && r(7, o = d.mbsource);
|
|
4294
4304
|
}, e.$$.update = () => {
|
|
4295
|
-
e.$$.dirty & /*
|
|
4296
|
-
|
|
4297
|
-
|
|
4305
|
+
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4306
|
+
33 && n && s && Si(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4307
|
+
65 && i && s && wi(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4308
|
+
129 && o && s && Hi(s, `${o}.Style`);
|
|
4298
4309
|
}, [
|
|
4299
|
-
|
|
4300
|
-
a,
|
|
4310
|
+
s,
|
|
4301
4311
|
h,
|
|
4302
4312
|
u,
|
|
4313
|
+
l,
|
|
4303
4314
|
c,
|
|
4304
4315
|
n,
|
|
4305
4316
|
i,
|
|
4306
|
-
|
|
4307
|
-
|
|
4317
|
+
o,
|
|
4318
|
+
g,
|
|
4319
|
+
m
|
|
4308
4320
|
];
|
|
4309
4321
|
}
|
|
4310
|
-
class
|
|
4322
|
+
class Ii extends yr {
|
|
4311
4323
|
constructor(t) {
|
|
4312
|
-
super(), dr(
|
|
4324
|
+
super(), dr(
|
|
4325
|
+
this,
|
|
4326
|
+
t,
|
|
4327
|
+
Oi,
|
|
4328
|
+
Pi,
|
|
4329
|
+
dt,
|
|
4330
|
+
{
|
|
4331
|
+
clientstyling: 5,
|
|
4332
|
+
clientstylingurl: 6,
|
|
4333
|
+
mbsource: 7
|
|
4334
|
+
},
|
|
4335
|
+
Ti
|
|
4336
|
+
);
|
|
4313
4337
|
}
|
|
4314
4338
|
get clientstyling() {
|
|
4315
4339
|
return this.$$.ctx[5];
|
|
4316
4340
|
}
|
|
4317
4341
|
set clientstyling(t) {
|
|
4318
|
-
this.$$set({ clientstyling: t }),
|
|
4342
|
+
this.$$set({ clientstyling: t }), J();
|
|
4319
4343
|
}
|
|
4320
4344
|
get clientstylingurl() {
|
|
4321
4345
|
return this.$$.ctx[6];
|
|
4322
4346
|
}
|
|
4323
4347
|
set clientstylingurl(t) {
|
|
4324
|
-
this.$$set({ clientstylingurl: t }),
|
|
4348
|
+
this.$$set({ clientstylingurl: t }), J();
|
|
4349
|
+
}
|
|
4350
|
+
get mbsource() {
|
|
4351
|
+
return this.$$.ctx[7];
|
|
4352
|
+
}
|
|
4353
|
+
set mbsource(t) {
|
|
4354
|
+
this.$$set({ mbsource: t }), J();
|
|
4325
4355
|
}
|
|
4326
4356
|
}
|
|
4327
|
-
br(
|
|
4357
|
+
br(Ii, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4328
4358
|
export {
|
|
4329
|
-
|
|
4359
|
+
Ii as C
|
|
4330
4360
|
};
|