@everymatrix/casino-betslip-indicator 1.54.8 → 1.54.9
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-BjdbLKYa.cjs → CasinoBetslipIndicator-CAB2obrZ.cjs} +4 -4
- package/components/{CasinoBetslipIndicator-CPFHawWK.js → CasinoBetslipIndicator-CkjtCY_7.js} +198 -198
- package/components/{CasinoBetslipIndicator-F5ZYdkIk.js → CasinoBetslipIndicator-DzTvg3K-.js} +194 -194
- 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-CPFHawWK.js → CasinoBetslipIndicator-CkjtCY_7.js}
RENAMED
|
@@ -2,15 +2,15 @@ var Kt = Object.defineProperty, er = Object.defineProperties;
|
|
|
2
2
|
var tr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ze = Object.getOwnPropertySymbols;
|
|
4
4
|
var rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var ge = (e, t, r) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
rr.call(t, r) &&
|
|
7
|
+
rr.call(t, r) && ge(e, r, t[r]);
|
|
8
8
|
if (ze)
|
|
9
9
|
for (var r of ze(t))
|
|
10
|
-
nr.call(t, r) &&
|
|
10
|
+
nr.call(t, r) && ge(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, Qe = (e, t) => er(e, tr(t));
|
|
13
|
-
var T = (e, t, r) =>
|
|
13
|
+
var T = (e, t, r) => ge(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var Je = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
@@ -106,10 +106,10 @@ function lr(e, t, r, n) {
|
|
|
106
106
|
function E(e, t, r) {
|
|
107
107
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function cr(e) {
|
|
110
110
|
return Array.from(e.childNodes);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function fr(e, t) {
|
|
113
113
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
114
114
|
t);
|
|
115
115
|
}
|
|
@@ -138,17 +138,17 @@ function br(e) {
|
|
|
138
138
|
}
|
|
139
139
|
const R = [], Be = [];
|
|
140
140
|
let U = [];
|
|
141
|
-
const qe = [],
|
|
141
|
+
const qe = [], vr = /* @__PURE__ */ Promise.resolve();
|
|
142
142
|
let Ae = !1;
|
|
143
|
-
function
|
|
144
|
-
Ae || (Ae = !0,
|
|
143
|
+
function yr() {
|
|
144
|
+
Ae || (Ae = !0, vr.then(ce));
|
|
145
145
|
}
|
|
146
146
|
function Pe(e) {
|
|
147
147
|
U.push(e);
|
|
148
148
|
}
|
|
149
149
|
const xe = /* @__PURE__ */ new Set();
|
|
150
150
|
let $ = 0;
|
|
151
|
-
function
|
|
151
|
+
function ce() {
|
|
152
152
|
if ($ !== 0)
|
|
153
153
|
return;
|
|
154
154
|
const e = Y;
|
|
@@ -156,7 +156,7 @@ function fe() {
|
|
|
156
156
|
try {
|
|
157
157
|
for (; $ < R.length; ) {
|
|
158
158
|
const t = R[$];
|
|
159
|
-
$++, J(t),
|
|
159
|
+
$++, J(t), gr(t.$$);
|
|
160
160
|
}
|
|
161
161
|
} catch (t) {
|
|
162
162
|
throw R.length = 0, $ = 0, t;
|
|
@@ -172,7 +172,7 @@ function fe() {
|
|
|
172
172
|
qe.pop()();
|
|
173
173
|
Ae = !1, xe.clear(), J(e);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function gr(e) {
|
|
176
176
|
if (e.fragment !== null) {
|
|
177
177
|
e.update(), ee(e.before_update);
|
|
178
178
|
const t = e.dirty;
|
|
@@ -199,7 +199,7 @@ function wr(e, t) {
|
|
|
199
199
|
r.fragment !== null && (xr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
200
200
|
}
|
|
201
201
|
function Hr(e, t) {
|
|
202
|
-
e.$$.dirty[0] === -1 && (R.push(e),
|
|
202
|
+
e.$$.dirty[0] === -1 && (R.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
203
203
|
}
|
|
204
204
|
function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
205
205
|
const h = Y;
|
|
@@ -227,16 +227,16 @@ function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
227
227
|
};
|
|
228
228
|
s && s(u.root);
|
|
229
229
|
let l = !1;
|
|
230
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
231
|
-
const
|
|
232
|
-
return u.ctx && i(u.ctx[
|
|
230
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
231
|
+
const y = d.length ? d[0] : f;
|
|
232
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Hr(e, c)), f;
|
|
233
233
|
}) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
234
234
|
if (t.hydrate) {
|
|
235
|
-
const
|
|
236
|
-
u.fragment && u.fragment.l(
|
|
235
|
+
const c = cr(t.target);
|
|
236
|
+
u.fragment && u.fragment.l(c), c.forEach(X);
|
|
237
237
|
} else
|
|
238
238
|
u.fragment && u.fragment.c();
|
|
239
|
-
t.intro && Er(e.$$.fragment), Sr(e, t.target, t.anchor),
|
|
239
|
+
t.intro && Er(e.$$.fragment), Sr(e, t.target, t.anchor), ce();
|
|
240
240
|
}
|
|
241
241
|
J(h);
|
|
242
242
|
}
|
|
@@ -486,14 +486,14 @@ function O(e, t) {
|
|
|
486
486
|
}
|
|
487
487
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
488
488
|
}
|
|
489
|
-
var
|
|
490
|
-
return
|
|
489
|
+
var v = function() {
|
|
490
|
+
return v = Object.assign || function(t) {
|
|
491
491
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
492
492
|
r = arguments[n];
|
|
493
493
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
494
494
|
}
|
|
495
495
|
return t;
|
|
496
|
-
},
|
|
496
|
+
}, v.apply(this, arguments);
|
|
497
497
|
};
|
|
498
498
|
function Or(e, t) {
|
|
499
499
|
var r = {};
|
|
@@ -593,14 +593,14 @@ var pe = function() {
|
|
|
593
593
|
} catch (m) {
|
|
594
594
|
o = m instanceof _e ? m.errors : [m];
|
|
595
595
|
}
|
|
596
|
-
var
|
|
597
|
-
if (
|
|
596
|
+
var c = this._finalizers;
|
|
597
|
+
if (c) {
|
|
598
598
|
this._finalizers = null;
|
|
599
599
|
try {
|
|
600
|
-
for (var
|
|
601
|
-
var
|
|
600
|
+
for (var f = Ie(c), d = f.next(); !d.done; d = f.next()) {
|
|
601
|
+
var y = d.value;
|
|
602
602
|
try {
|
|
603
|
-
Ke(
|
|
603
|
+
Ke(y);
|
|
604
604
|
} catch (m) {
|
|
605
605
|
o = o != null ? o : [], m instanceof _e ? o = D(D([], Ne(o)), Ne(m.errors)) : o.push(m);
|
|
606
606
|
}
|
|
@@ -609,7 +609,7 @@ var pe = function() {
|
|
|
609
609
|
n = { error: m };
|
|
610
610
|
} finally {
|
|
611
611
|
try {
|
|
612
|
-
d && !d.done && (i =
|
|
612
|
+
d && !d.done && (i = f.return) && i.call(f);
|
|
613
613
|
} finally {
|
|
614
614
|
if (n) throw n.error;
|
|
615
615
|
}
|
|
@@ -1022,26 +1022,26 @@ function W(e, t, r) {
|
|
|
1022
1022
|
return Xr(r, (s, a) => {
|
|
1023
1023
|
let h = !1;
|
|
1024
1024
|
const u = [];
|
|
1025
|
-
let l = 0,
|
|
1026
|
-
const
|
|
1025
|
+
let l = 0, c = B;
|
|
1026
|
+
const f = () => {
|
|
1027
1027
|
if (l)
|
|
1028
1028
|
return;
|
|
1029
|
-
|
|
1030
|
-
const
|
|
1031
|
-
o ? s(
|
|
1029
|
+
c();
|
|
1030
|
+
const y = t(n ? u[0] : u, s, a);
|
|
1031
|
+
o ? s(y) : c = ke(y) ? y : B;
|
|
1032
1032
|
}, d = i.map(
|
|
1033
|
-
(
|
|
1034
|
-
|
|
1033
|
+
(y, m) => or(
|
|
1034
|
+
y,
|
|
1035
1035
|
(_) => {
|
|
1036
|
-
u[m] = _, l &= ~(1 << m), h &&
|
|
1036
|
+
u[m] = _, l &= ~(1 << m), h && f();
|
|
1037
1037
|
},
|
|
1038
1038
|
() => {
|
|
1039
1039
|
l |= 1 << m;
|
|
1040
1040
|
}
|
|
1041
1041
|
)
|
|
1042
1042
|
);
|
|
1043
|
-
return h = !0,
|
|
1044
|
-
ee(d),
|
|
1043
|
+
return h = !0, f(), function() {
|
|
1044
|
+
ee(d), c(), h = !1;
|
|
1045
1045
|
};
|
|
1046
1046
|
});
|
|
1047
1047
|
}
|
|
@@ -1120,7 +1120,7 @@ G.all = function(t, r) {
|
|
|
1120
1120
|
var sn = G, an = sn;
|
|
1121
1121
|
const un = /* @__PURE__ */ Wr(an);
|
|
1122
1122
|
function Ee(e, t) {
|
|
1123
|
-
var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy :
|
|
1123
|
+
var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : cn;
|
|
1124
1124
|
return i(e, {
|
|
1125
1125
|
cache: r,
|
|
1126
1126
|
serializer: n
|
|
@@ -1140,11 +1140,11 @@ function It(e, t, r) {
|
|
|
1140
1140
|
function Nt(e, t, r, n, i) {
|
|
1141
1141
|
return r.bind(t, e, n, i);
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1143
|
+
function cn(e, t) {
|
|
1144
1144
|
var r = e.length === 1 ? ln : It;
|
|
1145
1145
|
return Nt(e, this, r, t.cache.create(), t.serializer);
|
|
1146
1146
|
}
|
|
1147
|
-
function
|
|
1147
|
+
function fn(e, t) {
|
|
1148
1148
|
return Nt(e, this, It, t.cache.create(), t.serializer);
|
|
1149
1149
|
}
|
|
1150
1150
|
var mn = function() {
|
|
@@ -1166,7 +1166,7 @@ var mn = function() {
|
|
|
1166
1166
|
return new pn();
|
|
1167
1167
|
}
|
|
1168
1168
|
}, Se = {
|
|
1169
|
-
variadic:
|
|
1169
|
+
variadic: fn
|
|
1170
1170
|
}, p;
|
|
1171
1171
|
(function(e) {
|
|
1172
1172
|
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";
|
|
@@ -1200,7 +1200,7 @@ function Mt(e) {
|
|
|
1200
1200
|
function Rt(e) {
|
|
1201
1201
|
return e.type === x.plural;
|
|
1202
1202
|
}
|
|
1203
|
-
function
|
|
1203
|
+
function vn(e) {
|
|
1204
1204
|
return e.type === x.pound;
|
|
1205
1205
|
}
|
|
1206
1206
|
function Ut(e) {
|
|
@@ -1212,10 +1212,10 @@ function Dt(e) {
|
|
|
1212
1212
|
function $e(e) {
|
|
1213
1213
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
1214
1214
|
}
|
|
1215
|
-
var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1216
|
-
function
|
|
1215
|
+
var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[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;
|
|
1216
|
+
function gn(e) {
|
|
1217
1217
|
var t = {};
|
|
1218
|
-
return e.replace(
|
|
1218
|
+
return e.replace(yn, function(r) {
|
|
1219
1219
|
var n = r.length;
|
|
1220
1220
|
switch (r[0]) {
|
|
1221
1221
|
case "G":
|
|
@@ -1308,15 +1308,15 @@ var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
1308
1308
|
function _n(e) {
|
|
1309
1309
|
if (e.length === 0)
|
|
1310
1310
|
throw new Error("Number skeleton cannot be empty");
|
|
1311
|
-
for (var t = e.split(xn).filter(function(
|
|
1312
|
-
return
|
|
1311
|
+
for (var t = e.split(xn).filter(function(f) {
|
|
1312
|
+
return f.length > 0;
|
|
1313
1313
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1314
1314
|
var o = i[n], s = o.split("/");
|
|
1315
1315
|
if (s.length === 0)
|
|
1316
1316
|
throw new Error("Invalid number skeleton");
|
|
1317
1317
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1318
|
-
var
|
|
1319
|
-
if (
|
|
1318
|
+
var c = l[u];
|
|
1319
|
+
if (c.length === 0)
|
|
1320
1320
|
throw new Error("Invalid number skeleton");
|
|
1321
1321
|
}
|
|
1322
1322
|
r.push({ stem: a, options: h });
|
|
@@ -1426,13 +1426,13 @@ function Hn(e) {
|
|
|
1426
1426
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1427
1427
|
continue;
|
|
1428
1428
|
case "scientific":
|
|
1429
|
-
t =
|
|
1430
|
-
return
|
|
1429
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1430
|
+
return v(v({}, h), lt(u));
|
|
1431
1431
|
}, {}));
|
|
1432
1432
|
continue;
|
|
1433
1433
|
case "engineering":
|
|
1434
|
-
t =
|
|
1435
|
-
return
|
|
1434
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1435
|
+
return v(v({}, h), lt(u));
|
|
1436
1436
|
}, {}));
|
|
1437
1437
|
continue;
|
|
1438
1438
|
case "notation-simple":
|
|
@@ -1477,11 +1477,11 @@ function Hn(e) {
|
|
|
1477
1477
|
case "integer-width":
|
|
1478
1478
|
if (i.options.length > 1)
|
|
1479
1479
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1480
|
-
i.options[0].replace(Sn, function(h, u, l,
|
|
1480
|
+
i.options[0].replace(Sn, function(h, u, l, c, f, d) {
|
|
1481
1481
|
if (u)
|
|
1482
1482
|
t.minimumIntegerDigits = l.length;
|
|
1483
1483
|
else {
|
|
1484
|
-
if (
|
|
1484
|
+
if (c && f)
|
|
1485
1485
|
throw new Error("We currently do not support maximum integer digits");
|
|
1486
1486
|
if (d)
|
|
1487
1487
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1497,21 +1497,21 @@ function Hn(e) {
|
|
|
1497
1497
|
if (ut.test(i.stem)) {
|
|
1498
1498
|
if (i.options.length > 1)
|
|
1499
1499
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1500
|
-
i.stem.replace(ut, function(h, u, l,
|
|
1501
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1500
|
+
i.stem.replace(ut, function(h, u, l, c, f, d) {
|
|
1501
|
+
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1502
1502
|
});
|
|
1503
1503
|
var o = i.options[0];
|
|
1504
|
-
o === "w" ? t =
|
|
1504
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ht(o)));
|
|
1505
1505
|
continue;
|
|
1506
1506
|
}
|
|
1507
1507
|
if (Gt.test(i.stem)) {
|
|
1508
|
-
t =
|
|
1508
|
+
t = v(v({}, t), ht(i.stem));
|
|
1509
1509
|
continue;
|
|
1510
1510
|
}
|
|
1511
1511
|
var s = kt(i.stem);
|
|
1512
|
-
s && (t =
|
|
1512
|
+
s && (t = v(v({}, t), s));
|
|
1513
1513
|
var a = wn(i.stem);
|
|
1514
|
-
a && (t =
|
|
1514
|
+
a && (t = v(v({}, t), a));
|
|
1515
1515
|
}
|
|
1516
1516
|
return t;
|
|
1517
1517
|
}
|
|
@@ -2980,7 +2980,7 @@ try {
|
|
|
2980
2980
|
} catch (e) {
|
|
2981
2981
|
Me = !1;
|
|
2982
2982
|
}
|
|
2983
|
-
var
|
|
2983
|
+
var ct = On ? (
|
|
2984
2984
|
// Native
|
|
2985
2985
|
function(t, r, n) {
|
|
2986
2986
|
return t.startsWith(r, n);
|
|
@@ -3002,7 +3002,7 @@ var ft = On ? (
|
|
|
3002
3002
|
}
|
|
3003
3003
|
return n;
|
|
3004
3004
|
}
|
|
3005
|
-
),
|
|
3005
|
+
), ft = (
|
|
3006
3006
|
// native
|
|
3007
3007
|
Nn ? Object.fromEntries : (
|
|
3008
3008
|
// Ponyfill
|
|
@@ -3266,40 +3266,40 @@ var Gn = (
|
|
|
3266
3266
|
var u = null;
|
|
3267
3267
|
if (this.bumpIf(",")) {
|
|
3268
3268
|
this.bumpSpace();
|
|
3269
|
-
var l = this.clonePosition(),
|
|
3270
|
-
if (
|
|
3271
|
-
return
|
|
3272
|
-
var
|
|
3273
|
-
if (
|
|
3269
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3270
|
+
if (c.err)
|
|
3271
|
+
return c;
|
|
3272
|
+
var f = Fn(c.val);
|
|
3273
|
+
if (f.length === 0)
|
|
3274
3274
|
return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3275
3275
|
var d = b(l, this.clonePosition());
|
|
3276
|
-
u = { style:
|
|
3276
|
+
u = { style: f, styleLocation: d };
|
|
3277
3277
|
}
|
|
3278
|
-
var
|
|
3279
|
-
if (
|
|
3280
|
-
return
|
|
3278
|
+
var y = this.tryParseArgumentClose(i);
|
|
3279
|
+
if (y.err)
|
|
3280
|
+
return y;
|
|
3281
3281
|
var m = b(i, this.clonePosition());
|
|
3282
|
-
if (u &&
|
|
3282
|
+
if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
|
|
3283
3283
|
var _ = Dn(u.style.slice(2));
|
|
3284
3284
|
if (a === "number") {
|
|
3285
|
-
var
|
|
3286
|
-
return
|
|
3287
|
-
val: { type: x.number, value: n, location: m, style:
|
|
3285
|
+
var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
3286
|
+
return c.err ? c : {
|
|
3287
|
+
val: { type: x.number, value: n, location: m, style: c.val },
|
|
3288
3288
|
err: null
|
|
3289
3289
|
};
|
|
3290
3290
|
} else {
|
|
3291
3291
|
if (_.length === 0)
|
|
3292
3292
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
|
3293
|
-
var
|
|
3294
|
-
this.locale && (
|
|
3295
|
-
var
|
|
3293
|
+
var g = _;
|
|
3294
|
+
this.locale && (g = Tn(_, this.locale));
|
|
3295
|
+
var f = {
|
|
3296
3296
|
type: j.dateTime,
|
|
3297
|
-
pattern:
|
|
3297
|
+
pattern: g,
|
|
3298
3298
|
location: u.styleLocation,
|
|
3299
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3299
|
+
parsedOptions: this.shouldParseSkeletons ? gn(g) : {}
|
|
3300
3300
|
}, H = a === "date" ? x.date : x.time;
|
|
3301
3301
|
return {
|
|
3302
|
-
val: { type: H, value: n, location: m, style:
|
|
3302
|
+
val: { type: H, value: n, location: m, style: f },
|
|
3303
3303
|
err: null
|
|
3304
3304
|
};
|
|
3305
3305
|
}
|
|
@@ -3319,30 +3319,30 @@ var Gn = (
|
|
|
3319
3319
|
case "select": {
|
|
3320
3320
|
var S = this.clonePosition();
|
|
3321
3321
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3322
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S,
|
|
3322
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, v({}, S)));
|
|
3323
3323
|
this.bumpSpace();
|
|
3324
3324
|
var Z = this.parseIdentifierIfPossible(), N = 0;
|
|
3325
3325
|
if (a !== "select" && Z.value === "offset") {
|
|
3326
3326
|
if (!this.bumpIf(":"))
|
|
3327
3327
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
3328
3328
|
this.bumpSpace();
|
|
3329
|
-
var
|
|
3330
|
-
if (
|
|
3331
|
-
return
|
|
3332
|
-
this.bumpSpace(), Z = this.parseIdentifierIfPossible(), N =
|
|
3329
|
+
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3330
|
+
if (c.err)
|
|
3331
|
+
return c;
|
|
3332
|
+
this.bumpSpace(), Z = this.parseIdentifierIfPossible(), N = c.val;
|
|
3333
3333
|
}
|
|
3334
3334
|
var ie = this.tryParsePluralOrSelectOptions(t, a, r, Z);
|
|
3335
3335
|
if (ie.err)
|
|
3336
3336
|
return ie;
|
|
3337
|
-
var
|
|
3338
|
-
if (
|
|
3339
|
-
return
|
|
3337
|
+
var y = this.tryParseArgumentClose(i);
|
|
3338
|
+
if (y.err)
|
|
3339
|
+
return y;
|
|
3340
3340
|
var We = b(i, this.clonePosition());
|
|
3341
3341
|
return a === "select" ? {
|
|
3342
3342
|
val: {
|
|
3343
3343
|
type: x.select,
|
|
3344
3344
|
value: n,
|
|
3345
|
-
options:
|
|
3345
|
+
options: ft(ie.val),
|
|
3346
3346
|
location: We
|
|
3347
3347
|
},
|
|
3348
3348
|
err: null
|
|
@@ -3350,7 +3350,7 @@ var Gn = (
|
|
|
3350
3350
|
val: {
|
|
3351
3351
|
type: x.plural,
|
|
3352
3352
|
value: n,
|
|
3353
|
-
options:
|
|
3353
|
+
options: ft(ie.val),
|
|
3354
3354
|
offset: N,
|
|
3355
3355
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3356
3356
|
location: We
|
|
@@ -3417,12 +3417,12 @@ var Gn = (
|
|
|
3417
3417
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3418
3418
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3419
3419
|
if (u.length === 0) {
|
|
3420
|
-
var
|
|
3420
|
+
var c = this.clonePosition();
|
|
3421
3421
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3422
|
-
var
|
|
3423
|
-
if (
|
|
3424
|
-
return
|
|
3425
|
-
l = b(
|
|
3422
|
+
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3423
|
+
if (f.err)
|
|
3424
|
+
return f;
|
|
3425
|
+
l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3426
3426
|
} else
|
|
3427
3427
|
break;
|
|
3428
3428
|
}
|
|
@@ -3432,16 +3432,16 @@ var Gn = (
|
|
|
3432
3432
|
var d = this.clonePosition();
|
|
3433
3433
|
if (!this.bumpIf("{"))
|
|
3434
3434
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3435
|
-
var
|
|
3436
|
-
if (
|
|
3437
|
-
return
|
|
3435
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3436
|
+
if (y.err)
|
|
3437
|
+
return y;
|
|
3438
3438
|
var m = this.tryParseArgumentClose(d);
|
|
3439
3439
|
if (m.err)
|
|
3440
3440
|
return m;
|
|
3441
3441
|
a.push([
|
|
3442
3442
|
u,
|
|
3443
3443
|
{
|
|
3444
|
-
value:
|
|
3444
|
+
value: y.val,
|
|
3445
3445
|
location: b(d, this.clonePosition())
|
|
3446
3446
|
}
|
|
3447
3447
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
@@ -3492,7 +3492,7 @@ var Gn = (
|
|
|
3492
3492
|
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);
|
|
3493
3493
|
}
|
|
3494
3494
|
}, e.prototype.bumpIf = function(t) {
|
|
3495
|
-
if (
|
|
3495
|
+
if (ct(this.message, t, this.offset())) {
|
|
3496
3496
|
for (var r = 0; r < t.length; r++)
|
|
3497
3497
|
this.bump();
|
|
3498
3498
|
return !0;
|
|
@@ -3548,7 +3548,7 @@ function Fe(e) {
|
|
|
3548
3548
|
});
|
|
3549
3549
|
}
|
|
3550
3550
|
function Xn(e, t) {
|
|
3551
|
-
t === void 0 && (t = {}), t =
|
|
3551
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3552
3552
|
var r = new Gn(e, t).parse();
|
|
3553
3553
|
if (r.err) {
|
|
3554
3554
|
var n = SyntaxError(p[r.err.kind]);
|
|
@@ -3629,21 +3629,21 @@ function he(e, t, r, n, i, o, s) {
|
|
|
3629
3629
|
});
|
|
3630
3630
|
continue;
|
|
3631
3631
|
}
|
|
3632
|
-
if (
|
|
3632
|
+
if (vn(l)) {
|
|
3633
3633
|
typeof o == "number" && a.push({
|
|
3634
3634
|
type: w.literal,
|
|
3635
3635
|
value: r.getNumberFormat(t).format(o)
|
|
3636
3636
|
});
|
|
3637
3637
|
continue;
|
|
3638
3638
|
}
|
|
3639
|
-
var
|
|
3640
|
-
if (!(i &&
|
|
3641
|
-
throw new zn(
|
|
3642
|
-
var
|
|
3639
|
+
var c = l.value;
|
|
3640
|
+
if (!(i && c in i))
|
|
3641
|
+
throw new zn(c, s);
|
|
3642
|
+
var f = i[c];
|
|
3643
3643
|
if (bn(l)) {
|
|
3644
|
-
(!
|
|
3645
|
-
type: typeof
|
|
3646
|
-
value:
|
|
3644
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3645
|
+
type: typeof f == "string" ? w.literal : w.object,
|
|
3646
|
+
value: f
|
|
3647
3647
|
});
|
|
3648
3648
|
continue;
|
|
3649
3649
|
}
|
|
@@ -3651,7 +3651,7 @@ function he(e, t, r, n, i, o, s) {
|
|
|
3651
3651
|
var d = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
|
|
3652
3652
|
a.push({
|
|
3653
3653
|
type: w.literal,
|
|
3654
|
-
value: r.getDateTimeFormat(t, d).format(
|
|
3654
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3655
3655
|
});
|
|
3656
3656
|
continue;
|
|
3657
3657
|
}
|
|
@@ -3659,23 +3659,23 @@ function he(e, t, r, n, i, o, s) {
|
|
|
3659
3659
|
var d = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3660
3660
|
a.push({
|
|
3661
3661
|
type: w.literal,
|
|
3662
|
-
value: r.getDateTimeFormat(t, d).format(
|
|
3662
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3663
3663
|
});
|
|
3664
3664
|
continue;
|
|
3665
3665
|
}
|
|
3666
3666
|
if (Ct(l)) {
|
|
3667
3667
|
var d = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
|
|
3668
|
-
d && d.scale && (
|
|
3668
|
+
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
|
3669
3669
|
type: w.literal,
|
|
3670
|
-
value: r.getNumberFormat(t, d).format(
|
|
3670
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3671
3671
|
});
|
|
3672
3672
|
continue;
|
|
3673
3673
|
}
|
|
3674
3674
|
if (Ut(l)) {
|
|
3675
|
-
var
|
|
3675
|
+
var y = l.children, m = l.value, _ = i[m];
|
|
3676
3676
|
if (!Qn(_))
|
|
3677
3677
|
throw new Wn(m, "function", s);
|
|
3678
|
-
var
|
|
3678
|
+
var g = he(y, t, r, n, i, o), H = _(g.map(function(N) {
|
|
3679
3679
|
return N.value;
|
|
3680
3680
|
}));
|
|
3681
3681
|
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(N) {
|
|
@@ -3686,39 +3686,39 @@ function he(e, t, r, n, i, o, s) {
|
|
|
3686
3686
|
}));
|
|
3687
3687
|
}
|
|
3688
3688
|
if (Mt(l)) {
|
|
3689
|
-
var S = l.options[
|
|
3689
|
+
var S = l.options[f] || l.options.other;
|
|
3690
3690
|
if (!S)
|
|
3691
|
-
throw new pt(l.value,
|
|
3691
|
+
throw new pt(l.value, f, Object.keys(l.options), s);
|
|
3692
3692
|
a.push.apply(a, he(S.value, t, r, n, i));
|
|
3693
3693
|
continue;
|
|
3694
3694
|
}
|
|
3695
3695
|
if (Rt(l)) {
|
|
3696
|
-
var S = l.options["=".concat(
|
|
3696
|
+
var S = l.options["=".concat(f)];
|
|
3697
3697
|
if (!S) {
|
|
3698
3698
|
if (!Intl.PluralRules)
|
|
3699
3699
|
throw new be(`Intl.PluralRules is not available in this environment.
|
|
3700
3700
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3701
3701
|
`, k.MISSING_INTL_API, s);
|
|
3702
|
-
var Z = r.getPluralRules(t, { type: l.pluralType }).select(
|
|
3702
|
+
var Z = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3703
3703
|
S = l.options[Z] || l.options.other;
|
|
3704
3704
|
}
|
|
3705
3705
|
if (!S)
|
|
3706
|
-
throw new pt(l.value,
|
|
3707
|
-
a.push.apply(a, he(S.value, t, r, n, i,
|
|
3706
|
+
throw new pt(l.value, f, Object.keys(l.options), s);
|
|
3707
|
+
a.push.apply(a, he(S.value, t, r, n, i, f - (l.offset || 0)));
|
|
3708
3708
|
continue;
|
|
3709
3709
|
}
|
|
3710
3710
|
}
|
|
3711
3711
|
return Zn(a);
|
|
3712
3712
|
}
|
|
3713
3713
|
function Jn(e, t) {
|
|
3714
|
-
return t ?
|
|
3715
|
-
return r[n] =
|
|
3714
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3715
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3716
3716
|
}, {})) : e;
|
|
3717
3717
|
}
|
|
3718
3718
|
function Yn(e, t) {
|
|
3719
3719
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3720
3720
|
return r[n] = Jn(e[n], t[n]), r;
|
|
3721
|
-
},
|
|
3721
|
+
}, v({}, e)) : e;
|
|
3722
3722
|
}
|
|
3723
3723
|
function He(e) {
|
|
3724
3724
|
return {
|
|
@@ -3780,8 +3780,8 @@ var Kn = (
|
|
|
3780
3780
|
var u = o.formatToParts(h);
|
|
3781
3781
|
if (u.length === 1)
|
|
3782
3782
|
return u[0].value;
|
|
3783
|
-
var l = u.reduce(function(
|
|
3784
|
-
return !
|
|
3783
|
+
var l = u.reduce(function(c, f) {
|
|
3784
|
+
return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3785
3785
|
}, []);
|
|
3786
3786
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3787
3787
|
}, this.formatToParts = function(h) {
|
|
@@ -3799,7 +3799,7 @@ var Kn = (
|
|
|
3799
3799
|
var s = i || {};
|
|
3800
3800
|
s.formatters;
|
|
3801
3801
|
var a = Or(s, ["formatters"]);
|
|
3802
|
-
this.ast = e.__parse(t,
|
|
3802
|
+
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3803
3803
|
} else
|
|
3804
3804
|
this.ast = t;
|
|
3805
3805
|
if (!Array.isArray(this.ast))
|
|
@@ -3904,7 +3904,7 @@ const I = {}, ti = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][
|
|
|
3904
3904
|
return;
|
|
3905
3905
|
if (t in I && e in I[t])
|
|
3906
3906
|
return I[t][e];
|
|
3907
|
-
const r =
|
|
3907
|
+
const r = ve(t);
|
|
3908
3908
|
for (let n = 0; n < r.length; n++) {
|
|
3909
3909
|
const i = r[n], o = ni(i, e);
|
|
3910
3910
|
if (o)
|
|
@@ -3928,7 +3928,7 @@ function ni(e, t) {
|
|
|
3928
3928
|
function ii(e) {
|
|
3929
3929
|
if (e == null)
|
|
3930
3930
|
return;
|
|
3931
|
-
const t =
|
|
3931
|
+
const t = ve(e);
|
|
3932
3932
|
for (let r = 0; r < t.length; r++) {
|
|
3933
3933
|
const n = t[r];
|
|
3934
3934
|
if (Zt(n))
|
|
@@ -3951,13 +3951,13 @@ function Qt(e) {
|
|
|
3951
3951
|
return le[e];
|
|
3952
3952
|
}
|
|
3953
3953
|
function ai(e) {
|
|
3954
|
-
return
|
|
3954
|
+
return ve(e).map((t) => {
|
|
3955
3955
|
const r = Qt(t);
|
|
3956
3956
|
return [t, r ? [...r] : []];
|
|
3957
3957
|
}).filter(([, t]) => t.length > 0);
|
|
3958
3958
|
}
|
|
3959
3959
|
function Ge(e) {
|
|
3960
|
-
return e == null ? !1 :
|
|
3960
|
+
return e == null ? !1 : ve(e).some(
|
|
3961
3961
|
(t) => {
|
|
3962
3962
|
var r;
|
|
3963
3963
|
return (r = Qt(t)) == null ? void 0 : r.size;
|
|
@@ -4020,35 +4020,35 @@ const hi = {
|
|
|
4020
4020
|
warnOnMissingMessages: !0,
|
|
4021
4021
|
handleMissingMessage: void 0,
|
|
4022
4022
|
ignoreTag: !0
|
|
4023
|
-
},
|
|
4023
|
+
}, ci = li;
|
|
4024
4024
|
function V() {
|
|
4025
|
-
return
|
|
4025
|
+
return ci;
|
|
4026
4026
|
}
|
|
4027
4027
|
const Te = de(!1);
|
|
4028
|
-
var
|
|
4028
|
+
var fi = Object.defineProperty, mi = Object.defineProperties, pi = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vi = (e, t) => {
|
|
4029
4029
|
for (var r in t || (t = {}))
|
|
4030
4030
|
di.call(t, r) && bt(e, r, t[r]);
|
|
4031
4031
|
if (dt)
|
|
4032
4032
|
for (var r of dt(t))
|
|
4033
4033
|
bi.call(t, r) && bt(e, r, t[r]);
|
|
4034
4034
|
return e;
|
|
4035
|
-
},
|
|
4035
|
+
}, yi = (e, t) => mi(e, pi(t));
|
|
4036
4036
|
let je;
|
|
4037
|
-
const
|
|
4038
|
-
function
|
|
4037
|
+
const fe = de(null);
|
|
4038
|
+
function vt(e) {
|
|
4039
4039
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4040
4040
|
}
|
|
4041
|
-
function
|
|
4042
|
-
const r =
|
|
4043
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4041
|
+
function ve(e, t = V().fallbackLocale) {
|
|
4042
|
+
const r = vt(e);
|
|
4043
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
|
|
4044
4044
|
}
|
|
4045
4045
|
function L() {
|
|
4046
4046
|
return je != null ? je : void 0;
|
|
4047
4047
|
}
|
|
4048
|
-
|
|
4048
|
+
fe.subscribe((e) => {
|
|
4049
4049
|
je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4050
4050
|
});
|
|
4051
|
-
const
|
|
4051
|
+
const gi = (e) => {
|
|
4052
4052
|
if (e && ii(e) && Ge(e)) {
|
|
4053
4053
|
const { loadingDelay: t } = V();
|
|
4054
4054
|
let r;
|
|
@@ -4056,27 +4056,27 @@ const vi = (e) => {
|
|
|
4056
4056
|
() => Te.set(!0),
|
|
4057
4057
|
t
|
|
4058
4058
|
) : Te.set(!0), Jt(e).then(() => {
|
|
4059
|
-
|
|
4059
|
+
fe.set(e);
|
|
4060
4060
|
}).finally(() => {
|
|
4061
4061
|
clearTimeout(r), Te.set(!1);
|
|
4062
4062
|
});
|
|
4063
4063
|
}
|
|
4064
|
-
return
|
|
4065
|
-
}, ne =
|
|
4066
|
-
set:
|
|
4067
|
-
}),
|
|
4064
|
+
return fe.set(e);
|
|
4065
|
+
}, ne = yi(vi({}, fe), {
|
|
4066
|
+
set: gi
|
|
4067
|
+
}), ye = (e) => {
|
|
4068
4068
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4069
4069
|
return (n) => {
|
|
4070
4070
|
const i = JSON.stringify(n);
|
|
4071
4071
|
return i in t ? t[i] : t[i] = e(n);
|
|
4072
4072
|
};
|
|
4073
4073
|
};
|
|
4074
|
-
var xi = Object.defineProperty, me = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable,
|
|
4074
|
+
var xi = Object.defineProperty, me = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
|
|
4075
4075
|
for (var r in t || (t = {}))
|
|
4076
|
-
Yt.call(t, r) &&
|
|
4076
|
+
Yt.call(t, r) && yt(e, r, t[r]);
|
|
4077
4077
|
if (me)
|
|
4078
4078
|
for (var r of me(t))
|
|
4079
|
-
qt.call(t, r) &&
|
|
4079
|
+
qt.call(t, r) && yt(e, r, t[r]);
|
|
4080
4080
|
return e;
|
|
4081
4081
|
}, z = (e, t) => {
|
|
4082
4082
|
var r = {};
|
|
@@ -4092,21 +4092,21 @@ const K = (e, t) => {
|
|
|
4092
4092
|
if (e in r && t in r[e])
|
|
4093
4093
|
return r[e][t];
|
|
4094
4094
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4095
|
-
}, _i =
|
|
4095
|
+
}, _i = ye(
|
|
4096
4096
|
(e) => {
|
|
4097
4097
|
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4098
4098
|
if (r == null)
|
|
4099
4099
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4100
4100
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
4101
4101
|
}
|
|
4102
|
-
), Ei =
|
|
4102
|
+
), Ei = ye(
|
|
4103
4103
|
(e) => {
|
|
4104
4104
|
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4105
4105
|
if (r == null)
|
|
4106
4106
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4107
4107
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4108
4108
|
}
|
|
4109
|
-
), Si =
|
|
4109
|
+
), Si = ye(
|
|
4110
4110
|
(e) => {
|
|
4111
4111
|
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4112
4112
|
if (r == null)
|
|
@@ -4136,7 +4136,7 @@ const K = (e, t) => {
|
|
|
4136
4136
|
"locale"
|
|
4137
4137
|
]);
|
|
4138
4138
|
return Si(Xe({ locale: r }, n));
|
|
4139
|
-
}, Bi =
|
|
4139
|
+
}, Bi = ye(
|
|
4140
4140
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4141
4141
|
(e, t = L()) => new Kn(e, t, V().formats, {
|
|
4142
4142
|
ignoreTag: V().ignoreTag
|
|
@@ -4163,16 +4163,16 @@ const K = (e, t) => {
|
|
|
4163
4163
|
), l;
|
|
4164
4164
|
if (!a)
|
|
4165
4165
|
return l;
|
|
4166
|
-
let
|
|
4166
|
+
let c = l;
|
|
4167
4167
|
try {
|
|
4168
|
-
|
|
4169
|
-
} catch (
|
|
4170
|
-
|
|
4168
|
+
c = Bi(l, h).format(a);
|
|
4169
|
+
} catch (f) {
|
|
4170
|
+
f instanceof Error && console.warn(
|
|
4171
4171
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4172
|
-
|
|
4172
|
+
f.message
|
|
4173
4173
|
);
|
|
4174
4174
|
}
|
|
4175
|
-
return
|
|
4175
|
+
return c;
|
|
4176
4176
|
}, Pi = (e, t) => Ti(t).format(e), Oi = (e, t) => Hi(t).format(e), Ii = (e, t) => wi(t).format(e), Ni = (e, t = L()) => zt(e, t);
|
|
4177
4177
|
W([ne, re], () => Ai);
|
|
4178
4178
|
W([ne], () => Pi);
|
|
@@ -4184,15 +4184,15 @@ const Ci = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(
|
|
|
4184
4184
|
function Li(e) {
|
|
4185
4185
|
sr(e, "svelte-1mvysvb", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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}}");
|
|
4186
4186
|
}
|
|
4187
|
-
function
|
|
4188
|
-
let t, r, n, i, o, s, a, h, u, l,
|
|
4189
|
-
function d(_,
|
|
4187
|
+
function gt(e) {
|
|
4188
|
+
let t, r, n, i, o, s, a, h, u, l, c, f;
|
|
4189
|
+
function d(_, g) {
|
|
4190
4190
|
return (
|
|
4191
4191
|
/*isLoading*/
|
|
4192
4192
|
_[3] ? Mi : $i
|
|
4193
4193
|
);
|
|
4194
4194
|
}
|
|
4195
|
-
let
|
|
4195
|
+
let y = d(e), m = y(e);
|
|
4196
4196
|
return {
|
|
4197
4197
|
c() {
|
|
4198
4198
|
t = F("button"), r = F("small"), m.c(), n = hr(), i = C("svg"), o = C("g"), s = C("path"), a = C("path"), h = C("path"), u = C("path"), l = C("path"), E(r, "class", "betslipIndicator__number"), E(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
|
|
@@ -4200,19 +4200,19 @@ function vt(e) {
|
|
|
4200
4200
|
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
|
|
4201
4201
|
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`), E(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"), E(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"), E(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"), E(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"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), mr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
|
|
4202
4202
|
},
|
|
4203
|
-
m(_,
|
|
4204
|
-
te(_, t,
|
|
4203
|
+
m(_, g) {
|
|
4204
|
+
te(_, t, g), A(t, r), m.m(r, null), A(t, n), A(t, i), A(i, o), A(o, s), A(o, a), A(o, h), A(o, u), A(o, l), c || (f = lr(
|
|
4205
4205
|
t,
|
|
4206
4206
|
"click",
|
|
4207
4207
|
/*click_handler*/
|
|
4208
4208
|
e[7]
|
|
4209
|
-
),
|
|
4209
|
+
), c = !0);
|
|
4210
4210
|
},
|
|
4211
|
-
p(_,
|
|
4212
|
-
|
|
4211
|
+
p(_, g) {
|
|
4212
|
+
y === (y = d(_)) && m ? m.p(_, g) : (m.d(1), m = y(_), m && (m.c(), m.m(r, null)));
|
|
4213
4213
|
},
|
|
4214
4214
|
d(_) {
|
|
4215
|
-
_ && X(t), m.d(),
|
|
4215
|
+
_ && X(t), m.d(), c = !1, f();
|
|
4216
4216
|
}
|
|
4217
4217
|
};
|
|
4218
4218
|
}
|
|
@@ -4230,7 +4230,7 @@ function $i(e) {
|
|
|
4230
4230
|
},
|
|
4231
4231
|
p(r, n) {
|
|
4232
4232
|
n & /*betNumber*/
|
|
4233
|
-
2 &&
|
|
4233
|
+
2 && fr(
|
|
4234
4234
|
t,
|
|
4235
4235
|
/*betNumber*/
|
|
4236
4236
|
r[1]
|
|
@@ -4260,7 +4260,7 @@ function Ri(e) {
|
|
|
4260
4260
|
let t, r = (
|
|
4261
4261
|
/*mobileView*/
|
|
4262
4262
|
e[2] && /*betNumber*/
|
|
4263
|
-
e[1] > 0 &&
|
|
4263
|
+
e[1] > 0 && gt(e)
|
|
4264
4264
|
);
|
|
4265
4265
|
return {
|
|
4266
4266
|
c() {
|
|
@@ -4272,7 +4272,7 @@ function Ri(e) {
|
|
|
4272
4272
|
p(n, [i]) {
|
|
4273
4273
|
/*mobileView*/
|
|
4274
4274
|
n[2] && /*betNumber*/
|
|
4275
|
-
n[1] > 0 ? r ? r.p(n, i) : (r =
|
|
4275
|
+
n[1] > 0 ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4276
4276
|
},
|
|
4277
4277
|
i: B,
|
|
4278
4278
|
o: B,
|
|
@@ -4285,9 +4285,9 @@ function Ui(e, t, r) {
|
|
|
4285
4285
|
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, o, s = window.navigator.userAgent, a = null, h = !1, u = !0;
|
|
4286
4286
|
const l = () => {
|
|
4287
4287
|
window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
|
|
4288
|
-
},
|
|
4288
|
+
}, c = (g, H) => {
|
|
4289
4289
|
o.dispatchEvent(new CustomEvent(
|
|
4290
|
-
|
|
4290
|
+
g,
|
|
4291
4291
|
{
|
|
4292
4292
|
detail: H,
|
|
4293
4293
|
composed: !0,
|
|
@@ -4295,20 +4295,20 @@ function Ui(e, t, r) {
|
|
|
4295
4295
|
// propagate across the shadow DOM
|
|
4296
4296
|
}
|
|
4297
4297
|
));
|
|
4298
|
-
},
|
|
4299
|
-
const { type: H, payload: S } =
|
|
4300
|
-
if (
|
|
4298
|
+
}, f = (g) => {
|
|
4299
|
+
const { type: H, payload: S } = g.data;
|
|
4300
|
+
if (g.data)
|
|
4301
4301
|
switch (H) {
|
|
4302
4302
|
case "OMFE:updateBetslipSelectionsCount":
|
|
4303
4303
|
r(1, a = S.count), r(3, u = !1);
|
|
4304
4304
|
break;
|
|
4305
4305
|
}
|
|
4306
4306
|
}, d = () => {
|
|
4307
|
-
let
|
|
4308
|
-
|
|
4309
|
-
},
|
|
4310
|
-
let
|
|
4311
|
-
fetch(
|
|
4307
|
+
let g = document.createElement("style");
|
|
4308
|
+
g.innerHTML = n, o.appendChild(g);
|
|
4309
|
+
}, y = () => {
|
|
4310
|
+
let g = new URL(i), H = document.createElement("style");
|
|
4311
|
+
fetch(g.href).then((S) => S.text()).then((S) => {
|
|
4312
4312
|
H.innerHTML = S, setTimeout(
|
|
4313
4313
|
() => {
|
|
4314
4314
|
o.appendChild(H);
|
|
@@ -4317,27 +4317,27 @@ function Ui(e, t, r) {
|
|
|
4317
4317
|
);
|
|
4318
4318
|
});
|
|
4319
4319
|
};
|
|
4320
|
-
br(() => (l(), window.addEventListener("message",
|
|
4321
|
-
window.removeEventListener("message",
|
|
4320
|
+
br(() => (l(), window.addEventListener("message", f, !1), Ci(s) && r(2, h = !0), () => {
|
|
4321
|
+
window.removeEventListener("message", f);
|
|
4322
4322
|
}));
|
|
4323
|
-
const m = (
|
|
4324
|
-
function _(
|
|
4325
|
-
Be[
|
|
4326
|
-
o =
|
|
4323
|
+
const m = (g) => c("betslipClick", {});
|
|
4324
|
+
function _(g) {
|
|
4325
|
+
Be[g ? "unshift" : "push"](() => {
|
|
4326
|
+
o = g, r(0, o);
|
|
4327
4327
|
});
|
|
4328
4328
|
}
|
|
4329
|
-
return e.$$set = (
|
|
4330
|
-
"clientstyling" in
|
|
4329
|
+
return e.$$set = (g) => {
|
|
4330
|
+
"clientstyling" in g && r(5, n = g.clientstyling), "clientstylingurl" in g && r(6, i = g.clientstylingurl);
|
|
4331
4331
|
}, e.$$.update = () => {
|
|
4332
4332
|
e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4333
|
-
65 && i && o &&
|
|
4333
|
+
65 && i && o && y(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4334
4334
|
33 && n && o && d();
|
|
4335
4335
|
}, [
|
|
4336
4336
|
o,
|
|
4337
4337
|
a,
|
|
4338
4338
|
h,
|
|
4339
4339
|
u,
|
|
4340
|
-
|
|
4340
|
+
c,
|
|
4341
4341
|
n,
|
|
4342
4342
|
i,
|
|
4343
4343
|
m,
|
|
@@ -4352,13 +4352,13 @@ class Di extends Ar {
|
|
|
4352
4352
|
return this.$$.ctx[5];
|
|
4353
4353
|
}
|
|
4354
4354
|
set clientstyling(t) {
|
|
4355
|
-
this.$$set({ clientstyling: t }),
|
|
4355
|
+
this.$$set({ clientstyling: t }), ce();
|
|
4356
4356
|
}
|
|
4357
4357
|
get clientstylingurl() {
|
|
4358
4358
|
return this.$$.ctx[6];
|
|
4359
4359
|
}
|
|
4360
4360
|
set clientstylingurl(t) {
|
|
4361
|
-
this.$$set({ clientstylingurl: t }),
|
|
4361
|
+
this.$$set({ clientstylingurl: t }), ce();
|
|
4362
4362
|
}
|
|
4363
4363
|
}
|
|
4364
4364
|
Br(Di, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|