@everymatrix/player-transaction-history 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/{PlayerTransactionHistory-CFlw1NJs.js → PlayerTransactionHistory-0SiPshAI.js} +190 -190
- package/components/{PlayerTransactionHistory-BKzb2c23.cjs → PlayerTransactionHistory-Cj5yOord.cjs} +3 -3
- package/components/{PlayerTransactionHistory-BVV8Qjs4.js → PlayerTransactionHistory-DtUDx_zx.js} +190 -190
- package/es2015/player-transaction-history.cjs +1 -1
- package/es2015/player-transaction-history.js +1 -1
- package/esnext/player-transaction-history.js +1 -1
- package/package.json +1 -1
package/components/{PlayerTransactionHistory-CFlw1NJs.js → PlayerTransactionHistory-0SiPshAI.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var hr = Object.defineProperty, lr = Object.defineProperties;
|
|
2
|
-
var
|
|
2
|
+
var cr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var et = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var He = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
fr.call(t, r) && He(e, r, t[r]);
|
|
8
8
|
if (et)
|
|
9
9
|
for (var r of et(t))
|
|
10
10
|
pr.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, rt = (e, t) => lr(e,
|
|
12
|
+
}, rt = (e, t) => lr(e, cr(t));
|
|
13
13
|
var B = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var nt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
@@ -48,7 +48,7 @@ let le;
|
|
|
48
48
|
function ot(e, t) {
|
|
49
49
|
return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function mr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
54
|
function It(e, ...t) {
|
|
@@ -60,7 +60,7 @@ function It(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function dr(e, t, r) {
|
|
64
64
|
e.$$.on_destroy.push(It(t, r));
|
|
65
65
|
}
|
|
66
66
|
function x(e, t) {
|
|
@@ -224,13 +224,13 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
224
224
|
};
|
|
225
225
|
s && s(u.root);
|
|
226
226
|
let l = !1;
|
|
227
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
228
|
-
const v = p.length ? p[0] :
|
|
229
|
-
return u.ctx && i(u.ctx[
|
|
227
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
228
|
+
const v = p.length ? p[0] : f;
|
|
229
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Or(e, c)), f;
|
|
230
230
|
}) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
231
231
|
if (t.hydrate) {
|
|
232
|
-
const
|
|
233
|
-
u.fragment && u.fragment.l(
|
|
232
|
+
const c = _r(t.target);
|
|
233
|
+
u.fragment && u.fragment.l(c), c.forEach(J);
|
|
234
234
|
} else
|
|
235
235
|
u.fragment && u.fragment.c();
|
|
236
236
|
t.intro && Br(e.$$.fragment), Ar(e, t.target, t.anchor), I();
|
|
@@ -462,7 +462,7 @@ class Lr {
|
|
|
462
462
|
* @returns {void}
|
|
463
463
|
*/
|
|
464
464
|
$set(t) {
|
|
465
|
-
this.$$set && !
|
|
465
|
+
this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
468
|
const Cr = "4";
|
|
@@ -572,8 +572,8 @@ var ve = function() {
|
|
|
572
572
|
var u = h.value;
|
|
573
573
|
u.remove(this);
|
|
574
574
|
}
|
|
575
|
-
} catch (
|
|
576
|
-
t = { error:
|
|
575
|
+
} catch (m) {
|
|
576
|
+
t = { error: m };
|
|
577
577
|
} finally {
|
|
578
578
|
try {
|
|
579
579
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -587,26 +587,26 @@ var ve = function() {
|
|
|
587
587
|
if (N(l))
|
|
588
588
|
try {
|
|
589
589
|
l();
|
|
590
|
-
} catch (
|
|
591
|
-
o =
|
|
590
|
+
} catch (m) {
|
|
591
|
+
o = m instanceof we ? m.errors : [m];
|
|
592
592
|
}
|
|
593
|
-
var
|
|
594
|
-
if (
|
|
593
|
+
var c = this._finalizers;
|
|
594
|
+
if (c) {
|
|
595
595
|
this._finalizers = null;
|
|
596
596
|
try {
|
|
597
|
-
for (var
|
|
597
|
+
for (var f = Re(c), p = f.next(); !p.done; p = f.next()) {
|
|
598
598
|
var v = p.value;
|
|
599
599
|
try {
|
|
600
600
|
at(v);
|
|
601
|
-
} catch (
|
|
602
|
-
o = o != null ? o : [],
|
|
601
|
+
} catch (m) {
|
|
602
|
+
o = o != null ? o : [], m instanceof we ? o = W(W([], Ue(o)), Ue(m.errors)) : o.push(m);
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
} catch (
|
|
606
|
-
n = { error:
|
|
605
|
+
} catch (m) {
|
|
606
|
+
n = { error: m };
|
|
607
607
|
} finally {
|
|
608
608
|
try {
|
|
609
|
-
p && !p.done && (i =
|
|
609
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
610
610
|
} finally {
|
|
611
611
|
if (n) throw n.error;
|
|
612
612
|
}
|
|
@@ -671,7 +671,7 @@ function Ur(e) {
|
|
|
671
671
|
}
|
|
672
672
|
function ut() {
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function me(e) {
|
|
675
675
|
e();
|
|
676
676
|
}
|
|
677
677
|
var $t = function(e) {
|
|
@@ -715,7 +715,7 @@ var $t = function(e) {
|
|
|
715
715
|
try {
|
|
716
716
|
r.next(t);
|
|
717
717
|
} catch (n) {
|
|
718
|
-
|
|
718
|
+
ce(n);
|
|
719
719
|
}
|
|
720
720
|
}, e.prototype.error = function(t) {
|
|
721
721
|
var r = this.partialObserver;
|
|
@@ -723,17 +723,17 @@ var $t = function(e) {
|
|
|
723
723
|
try {
|
|
724
724
|
r.error(t);
|
|
725
725
|
} catch (n) {
|
|
726
|
-
|
|
726
|
+
ce(n);
|
|
727
727
|
}
|
|
728
728
|
else
|
|
729
|
-
|
|
729
|
+
ce(t);
|
|
730
730
|
}, e.prototype.complete = function() {
|
|
731
731
|
var t = this.partialObserver;
|
|
732
732
|
if (t.complete)
|
|
733
733
|
try {
|
|
734
734
|
t.complete();
|
|
735
735
|
} catch (r) {
|
|
736
|
-
|
|
736
|
+
ce(r);
|
|
737
737
|
}
|
|
738
738
|
}, e;
|
|
739
739
|
}(), Ge = function(e) {
|
|
@@ -748,7 +748,7 @@ var $t = function(e) {
|
|
|
748
748
|
}
|
|
749
749
|
return t;
|
|
750
750
|
}($t);
|
|
751
|
-
function
|
|
751
|
+
function ce(e) {
|
|
752
752
|
Ur(e);
|
|
753
753
|
}
|
|
754
754
|
function Gr(e) {
|
|
@@ -781,7 +781,7 @@ var ht = function() {
|
|
|
781
781
|
return r.source = this, r.operator = t, r;
|
|
782
782
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
783
783
|
var i = this, o = Wr(t) ? t : new Ge(t, r, n);
|
|
784
|
-
return
|
|
784
|
+
return me(function() {
|
|
785
785
|
var s = i, a = s.operator, h = s.source;
|
|
786
786
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
787
787
|
}), o;
|
|
@@ -853,14 +853,14 @@ var zr = Lt(function(e) {
|
|
|
853
853
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
854
854
|
}
|
|
855
855
|
return t.prototype.lift = function(r) {
|
|
856
|
-
var n = new
|
|
856
|
+
var n = new ct(this, this);
|
|
857
857
|
return n.operator = r, n;
|
|
858
858
|
}, t.prototype._throwIfClosed = function() {
|
|
859
859
|
if (this.closed)
|
|
860
860
|
throw new zr();
|
|
861
861
|
}, t.prototype.next = function(r) {
|
|
862
862
|
var n = this;
|
|
863
|
-
|
|
863
|
+
me(function() {
|
|
864
864
|
var i, o;
|
|
865
865
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
866
866
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -882,7 +882,7 @@ var zr = Lt(function(e) {
|
|
|
882
882
|
});
|
|
883
883
|
}, t.prototype.error = function(r) {
|
|
884
884
|
var n = this;
|
|
885
|
-
|
|
885
|
+
me(function() {
|
|
886
886
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
887
887
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
888
888
|
for (var i = n.observers; i.length; )
|
|
@@ -891,7 +891,7 @@ var zr = Lt(function(e) {
|
|
|
891
891
|
});
|
|
892
892
|
}, t.prototype.complete = function() {
|
|
893
893
|
var r = this;
|
|
894
|
-
|
|
894
|
+
me(function() {
|
|
895
895
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
896
896
|
r.isStopped = !0;
|
|
897
897
|
for (var n = r.observers; n.length; )
|
|
@@ -923,9 +923,9 @@ var zr = Lt(function(e) {
|
|
|
923
923
|
var r = new ht();
|
|
924
924
|
return r.source = this, r;
|
|
925
925
|
}, t.create = function(r, n) {
|
|
926
|
-
return new
|
|
926
|
+
return new ct(r, n);
|
|
927
927
|
}, t;
|
|
928
|
-
}(ht),
|
|
928
|
+
}(ht), ct = function(e) {
|
|
929
929
|
C(t, e);
|
|
930
930
|
function t(r, n) {
|
|
931
931
|
var i = e.call(this) || this;
|
|
@@ -973,10 +973,10 @@ var zr = Lt(function(e) {
|
|
|
973
973
|
}
|
|
974
974
|
}, t;
|
|
975
975
|
}(Rt);
|
|
976
|
-
const
|
|
977
|
-
if (
|
|
976
|
+
const ft = [], pt = {}, qr = (e, t = 0) => {
|
|
977
|
+
if (ft.indexOf(e) == -1) {
|
|
978
978
|
const r = new Zr(t);
|
|
979
|
-
pt[e] = r,
|
|
979
|
+
pt[e] = r, ft.push(e);
|
|
980
980
|
}
|
|
981
981
|
return pt[e];
|
|
982
982
|
}, k = [];
|
|
@@ -1019,26 +1019,26 @@ function Y(e, t, r) {
|
|
|
1019
1019
|
return Qr(r, (s, a) => {
|
|
1020
1020
|
let h = !1;
|
|
1021
1021
|
const u = [];
|
|
1022
|
-
let l = 0,
|
|
1023
|
-
const
|
|
1022
|
+
let l = 0, c = P;
|
|
1023
|
+
const f = () => {
|
|
1024
1024
|
if (l)
|
|
1025
1025
|
return;
|
|
1026
|
-
|
|
1026
|
+
c();
|
|
1027
1027
|
const v = t(n ? u[0] : u, s, a);
|
|
1028
|
-
o ? s(v) :
|
|
1028
|
+
o ? s(v) : c = qe(v) ? v : P;
|
|
1029
1029
|
}, p = i.map(
|
|
1030
|
-
(v,
|
|
1030
|
+
(v, m) => It(
|
|
1031
1031
|
v,
|
|
1032
1032
|
(T) => {
|
|
1033
|
-
u[
|
|
1033
|
+
u[m] = T, l &= ~(1 << m), h && f();
|
|
1034
1034
|
},
|
|
1035
1035
|
() => {
|
|
1036
|
-
l |= 1 <<
|
|
1036
|
+
l |= 1 << m;
|
|
1037
1037
|
}
|
|
1038
1038
|
)
|
|
1039
1039
|
);
|
|
1040
|
-
return h = !0,
|
|
1041
|
-
se(p),
|
|
1040
|
+
return h = !0, f(), function() {
|
|
1041
|
+
se(p), c(), h = !1;
|
|
1042
1042
|
};
|
|
1043
1043
|
});
|
|
1044
1044
|
}
|
|
@@ -1081,7 +1081,7 @@ function un(e) {
|
|
|
1081
1081
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1082
1082
|
}) : [];
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function mt(e) {
|
|
1085
1085
|
return Object.keys(e).concat(un(e));
|
|
1086
1086
|
}
|
|
1087
1087
|
function Dt(e, t) {
|
|
@@ -1096,9 +1096,9 @@ function hn(e, t) {
|
|
|
1096
1096
|
}
|
|
1097
1097
|
function ln(e, t, r) {
|
|
1098
1098
|
var n = {};
|
|
1099
|
-
return r.isMergeableObject(e) &&
|
|
1099
|
+
return r.isMergeableObject(e) && mt(e).forEach(function(i) {
|
|
1100
1100
|
n[i] = ie(e[i], r);
|
|
1101
|
-
}),
|
|
1101
|
+
}), mt(t).forEach(function(i) {
|
|
1102
1102
|
hn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
1103
1103
|
}), n;
|
|
1104
1104
|
}
|
|
@@ -1114,8 +1114,8 @@ z.all = function(t, r) {
|
|
|
1114
1114
|
return z(n, i, r);
|
|
1115
1115
|
}, {});
|
|
1116
1116
|
};
|
|
1117
|
-
var
|
|
1118
|
-
const pn = /* @__PURE__ */ Jr(
|
|
1117
|
+
var cn = z, fn = cn;
|
|
1118
|
+
const pn = /* @__PURE__ */ Jr(fn);
|
|
1119
1119
|
function Be(e, t) {
|
|
1120
1120
|
var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : bn;
|
|
1121
1121
|
return i(e, {
|
|
@@ -1123,11 +1123,11 @@ function Be(e, t) {
|
|
|
1123
1123
|
serializer: n
|
|
1124
1124
|
});
|
|
1125
1125
|
}
|
|
1126
|
-
function
|
|
1126
|
+
function mn(e) {
|
|
1127
1127
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1130
|
-
var i =
|
|
1129
|
+
function dn(e, t, r, n) {
|
|
1130
|
+
var i = mn(n) ? n : r(n), o = t.get(i);
|
|
1131
1131
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1132
1132
|
}
|
|
1133
1133
|
function Gt(e, t, r) {
|
|
@@ -1138,7 +1138,7 @@ function Ft(e, t, r, n, i) {
|
|
|
1138
1138
|
return r.bind(t, e, n, i);
|
|
1139
1139
|
}
|
|
1140
1140
|
function bn(e, t) {
|
|
1141
|
-
var r = e.length === 1 ?
|
|
1141
|
+
var r = e.length === 1 ? dn : Gt;
|
|
1142
1142
|
return Ft(e, this, r, t.cache.create(), t.serializer);
|
|
1143
1143
|
}
|
|
1144
1144
|
function yn(e, t) {
|
|
@@ -1164,10 +1164,10 @@ var gn = function() {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
}, Ae = {
|
|
1166
1166
|
variadic: yn
|
|
1167
|
-
},
|
|
1167
|
+
}, d;
|
|
1168
1168
|
(function(e) {
|
|
1169
1169
|
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";
|
|
1170
|
-
})(
|
|
1170
|
+
})(d || (d = {}));
|
|
1171
1171
|
var _;
|
|
1172
1172
|
(function(e) {
|
|
1173
1173
|
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";
|
|
@@ -1176,7 +1176,7 @@ var Z;
|
|
|
1176
1176
|
(function(e) {
|
|
1177
1177
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1178
1178
|
})(Z || (Z = {}));
|
|
1179
|
-
function
|
|
1179
|
+
function dt(e) {
|
|
1180
1180
|
return e.type === _.literal;
|
|
1181
1181
|
}
|
|
1182
1182
|
function En(e) {
|
|
@@ -1305,15 +1305,15 @@ var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
1305
1305
|
function wn(e) {
|
|
1306
1306
|
if (e.length === 0)
|
|
1307
1307
|
throw new Error("Number skeleton cannot be empty");
|
|
1308
|
-
for (var t = e.split(Sn).filter(function(
|
|
1309
|
-
return
|
|
1308
|
+
for (var t = e.split(Sn).filter(function(f) {
|
|
1309
|
+
return f.length > 0;
|
|
1310
1310
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1311
1311
|
var o = i[n], s = o.split("/");
|
|
1312
1312
|
if (s.length === 0)
|
|
1313
1313
|
throw new Error("Invalid number skeleton");
|
|
1314
1314
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1315
|
-
var
|
|
1316
|
-
if (
|
|
1315
|
+
var c = l[u];
|
|
1316
|
+
if (c.length === 0)
|
|
1317
1317
|
throw new Error("Invalid number skeleton");
|
|
1318
1318
|
}
|
|
1319
1319
|
r.push({ stem: a, options: h });
|
|
@@ -1474,11 +1474,11 @@ function On(e) {
|
|
|
1474
1474
|
case "integer-width":
|
|
1475
1475
|
if (i.options.length > 1)
|
|
1476
1476
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1477
|
-
i.options[0].replace(An, function(h, u, l,
|
|
1477
|
+
i.options[0].replace(An, function(h, u, l, c, f, p) {
|
|
1478
1478
|
if (u)
|
|
1479
1479
|
t.minimumIntegerDigits = l.length;
|
|
1480
1480
|
else {
|
|
1481
|
-
if (
|
|
1481
|
+
if (c && f)
|
|
1482
1482
|
throw new Error("We currently do not support maximum integer digits");
|
|
1483
1483
|
if (p)
|
|
1484
1484
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1494,8 +1494,8 @@ function On(e) {
|
|
|
1494
1494
|
if (bt.test(i.stem)) {
|
|
1495
1495
|
if (i.options.length > 1)
|
|
1496
1496
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1497
|
-
i.stem.replace(bt, function(h, u, l,
|
|
1498
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1497
|
+
i.stem.replace(bt, function(h, u, l, c, f, p) {
|
|
1498
|
+
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1499
1499
|
});
|
|
1500
1500
|
var o = i.options[0];
|
|
1501
1501
|
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), yt(o)));
|
|
@@ -1512,7 +1512,7 @@ function On(e) {
|
|
|
1512
1512
|
}
|
|
1513
1513
|
return t;
|
|
1514
1514
|
}
|
|
1515
|
-
var
|
|
1515
|
+
var fe = {
|
|
1516
1516
|
"001": [
|
|
1517
1517
|
"H",
|
|
1518
1518
|
"h"
|
|
@@ -2961,7 +2961,7 @@ function Nn(e) {
|
|
|
2961
2961
|
}
|
|
2962
2962
|
var r = e.language, n;
|
|
2963
2963
|
r !== "root" && (n = e.maximize().region);
|
|
2964
|
-
var i =
|
|
2964
|
+
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
2965
2965
|
return i[0];
|
|
2966
2966
|
}
|
|
2967
2967
|
var Pe, Ln = new RegExp("^".concat(qt.source, "*")), Cn = new RegExp("".concat(qt.source, "*$"));
|
|
@@ -3098,7 +3098,7 @@ var Wn = (
|
|
|
3098
3098
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3099
3099
|
if (n)
|
|
3100
3100
|
break;
|
|
3101
|
-
return this.error(
|
|
3101
|
+
return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3102
3102
|
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
3103
3103
|
var s = this.parseTag(t, r);
|
|
3104
3104
|
if (s.err)
|
|
@@ -3133,9 +3133,9 @@ var Wn = (
|
|
|
3133
3133
|
var s = o.val, a = this.clonePosition();
|
|
3134
3134
|
if (this.bumpIf("</")) {
|
|
3135
3135
|
if (this.isEOF() || !Xe(this.char()))
|
|
3136
|
-
return this.error(
|
|
3136
|
+
return this.error(d.INVALID_TAG, b(a, this.clonePosition()));
|
|
3137
3137
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3138
|
-
return i !== u ? this.error(
|
|
3138
|
+
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3139
3139
|
val: {
|
|
3140
3140
|
type: _.tag,
|
|
3141
3141
|
value: i,
|
|
@@ -3143,11 +3143,11 @@ var Wn = (
|
|
|
3143
3143
|
location: b(n, this.clonePosition())
|
|
3144
3144
|
},
|
|
3145
3145
|
err: null
|
|
3146
|
-
} : this.error(
|
|
3146
|
+
} : this.error(d.INVALID_TAG, b(a, this.clonePosition())));
|
|
3147
3147
|
} else
|
|
3148
|
-
return this.error(
|
|
3148
|
+
return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
|
|
3149
3149
|
} else
|
|
3150
|
-
return this.error(
|
|
3150
|
+
return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
|
|
3151
3151
|
}, e.prototype.parseTagName = function() {
|
|
3152
3152
|
var t = this.offset();
|
|
3153
3153
|
for (this.bump(); !this.isEOF() && Zn(this.char()); )
|
|
@@ -3222,14 +3222,14 @@ var Wn = (
|
|
|
3222
3222
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3223
3223
|
var n = this.clonePosition();
|
|
3224
3224
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3225
|
-
return this.error(
|
|
3225
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
3226
3226
|
if (this.char() === 125)
|
|
3227
|
-
return this.bump(), this.error(
|
|
3227
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
|
|
3228
3228
|
var i = this.parseIdentifierIfPossible().value;
|
|
3229
3229
|
if (!i)
|
|
3230
|
-
return this.error(
|
|
3230
|
+
return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3231
3231
|
if (this.bumpSpace(), this.isEOF())
|
|
3232
|
-
return this.error(
|
|
3232
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
3233
3233
|
switch (this.char()) {
|
|
3234
3234
|
case 125:
|
|
3235
3235
|
return this.bump(), {
|
|
@@ -3242,9 +3242,9 @@ var Wn = (
|
|
|
3242
3242
|
err: null
|
|
3243
3243
|
};
|
|
3244
3244
|
case 44:
|
|
3245
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3245
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3246
3246
|
default:
|
|
3247
|
-
return this.error(
|
|
3247
|
+
return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3248
3248
|
}
|
|
3249
3249
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3250
3250
|
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
@@ -3255,7 +3255,7 @@ var Wn = (
|
|
|
3255
3255
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3256
3256
|
switch (a) {
|
|
3257
3257
|
case "":
|
|
3258
|
-
return this.error(
|
|
3258
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, b(s, h));
|
|
3259
3259
|
case "number":
|
|
3260
3260
|
case "date":
|
|
3261
3261
|
case "time": {
|
|
@@ -3263,40 +3263,40 @@ var Wn = (
|
|
|
3263
3263
|
var u = null;
|
|
3264
3264
|
if (this.bumpIf(",")) {
|
|
3265
3265
|
this.bumpSpace();
|
|
3266
|
-
var l = this.clonePosition(),
|
|
3267
|
-
if (
|
|
3268
|
-
return
|
|
3269
|
-
var
|
|
3270
|
-
if (
|
|
3271
|
-
return this.error(
|
|
3266
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3267
|
+
if (c.err)
|
|
3268
|
+
return c;
|
|
3269
|
+
var f = Xn(c.val);
|
|
3270
|
+
if (f.length === 0)
|
|
3271
|
+
return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3272
3272
|
var p = b(l, this.clonePosition());
|
|
3273
|
-
u = { style:
|
|
3273
|
+
u = { style: f, styleLocation: p };
|
|
3274
3274
|
}
|
|
3275
3275
|
var v = this.tryParseArgumentClose(i);
|
|
3276
3276
|
if (v.err)
|
|
3277
3277
|
return v;
|
|
3278
|
-
var
|
|
3278
|
+
var m = b(i, this.clonePosition());
|
|
3279
3279
|
if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3280
3280
|
var T = Vn(u.style.slice(2));
|
|
3281
3281
|
if (a === "number") {
|
|
3282
|
-
var
|
|
3283
|
-
return
|
|
3284
|
-
val: { type: _.number, value: n, location:
|
|
3282
|
+
var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
3283
|
+
return c.err ? c : {
|
|
3284
|
+
val: { type: _.number, value: n, location: m, style: c.val },
|
|
3285
3285
|
err: null
|
|
3286
3286
|
};
|
|
3287
3287
|
} else {
|
|
3288
3288
|
if (T.length === 0)
|
|
3289
|
-
return this.error(
|
|
3289
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
|
|
3290
3290
|
var M = T;
|
|
3291
3291
|
this.locale && (M = In(T, this.locale));
|
|
3292
|
-
var
|
|
3292
|
+
var f = {
|
|
3293
3293
|
type: Z.dateTime,
|
|
3294
3294
|
pattern: M,
|
|
3295
3295
|
location: u.styleLocation,
|
|
3296
3296
|
parsedOptions: this.shouldParseSkeletons ? Hn(M) : {}
|
|
3297
3297
|
}, $ = a === "date" ? _.date : _.time;
|
|
3298
3298
|
return {
|
|
3299
|
-
val: { type: $, value: n, location:
|
|
3299
|
+
val: { type: $, value: n, location: m, style: f },
|
|
3300
3300
|
err: null
|
|
3301
3301
|
};
|
|
3302
3302
|
}
|
|
@@ -3305,7 +3305,7 @@ var Wn = (
|
|
|
3305
3305
|
val: {
|
|
3306
3306
|
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3307
3307
|
value: n,
|
|
3308
|
-
location:
|
|
3308
|
+
location: m,
|
|
3309
3309
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3310
3310
|
},
|
|
3311
3311
|
err: null
|
|
@@ -3316,17 +3316,17 @@ var Wn = (
|
|
|
3316
3316
|
case "select": {
|
|
3317
3317
|
var S = this.clonePosition();
|
|
3318
3318
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3319
|
-
return this.error(
|
|
3319
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
|
|
3320
3320
|
this.bumpSpace();
|
|
3321
3321
|
var U = this.parseIdentifierIfPossible(), O = 0;
|
|
3322
3322
|
if (a !== "select" && U.value === "offset") {
|
|
3323
3323
|
if (!this.bumpIf(":"))
|
|
3324
|
-
return this.error(
|
|
3324
|
+
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
3325
3325
|
this.bumpSpace();
|
|
3326
|
-
var
|
|
3327
|
-
if (
|
|
3328
|
-
return
|
|
3329
|
-
this.bumpSpace(), U = this.parseIdentifierIfPossible(), O =
|
|
3326
|
+
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3327
|
+
if (c.err)
|
|
3328
|
+
return c;
|
|
3329
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = c.val;
|
|
3330
3330
|
}
|
|
3331
3331
|
var G = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3332
3332
|
if (G.err)
|
|
@@ -3356,10 +3356,10 @@ var Wn = (
|
|
|
3356
3356
|
};
|
|
3357
3357
|
}
|
|
3358
3358
|
default:
|
|
3359
|
-
return this.error(
|
|
3359
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, b(s, h));
|
|
3360
3360
|
}
|
|
3361
3361
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3362
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3362
|
+
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3363
3363
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3364
3364
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3365
3365
|
var n = this.char();
|
|
@@ -3368,7 +3368,7 @@ var Wn = (
|
|
|
3368
3368
|
this.bump();
|
|
3369
3369
|
var i = this.clonePosition();
|
|
3370
3370
|
if (!this.bumpUntil("'"))
|
|
3371
|
-
return this.error(
|
|
3371
|
+
return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
|
|
3372
3372
|
this.bump();
|
|
3373
3373
|
break;
|
|
3374
3374
|
}
|
|
@@ -3400,7 +3400,7 @@ var Wn = (
|
|
|
3400
3400
|
try {
|
|
3401
3401
|
n = wn(t);
|
|
3402
3402
|
} catch (i) {
|
|
3403
|
-
return this.error(
|
|
3403
|
+
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3404
3404
|
}
|
|
3405
3405
|
return {
|
|
3406
3406
|
val: {
|
|
@@ -3414,27 +3414,27 @@ var Wn = (
|
|
|
3414
3414
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3415
3415
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3416
3416
|
if (u.length === 0) {
|
|
3417
|
-
var
|
|
3417
|
+
var c = this.clonePosition();
|
|
3418
3418
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3419
|
-
var
|
|
3420
|
-
if (
|
|
3421
|
-
return
|
|
3422
|
-
l = b(
|
|
3419
|
+
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3420
|
+
if (f.err)
|
|
3421
|
+
return f;
|
|
3422
|
+
l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3423
3423
|
} else
|
|
3424
3424
|
break;
|
|
3425
3425
|
}
|
|
3426
3426
|
if (h.has(u))
|
|
3427
|
-
return this.error(r === "select" ?
|
|
3427
|
+
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3428
3428
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3429
3429
|
var p = this.clonePosition();
|
|
3430
3430
|
if (!this.bumpIf("{"))
|
|
3431
|
-
return this.error(r === "select" ?
|
|
3431
|
+
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3432
3432
|
var v = this.parseMessage(t + 1, r, n);
|
|
3433
3433
|
if (v.err)
|
|
3434
3434
|
return v;
|
|
3435
|
-
var
|
|
3436
|
-
if (
|
|
3437
|
-
return
|
|
3435
|
+
var m = this.tryParseArgumentClose(p);
|
|
3436
|
+
if (m.err)
|
|
3437
|
+
return m;
|
|
3438
3438
|
a.push([
|
|
3439
3439
|
u,
|
|
3440
3440
|
{
|
|
@@ -3443,7 +3443,7 @@ var Wn = (
|
|
|
3443
3443
|
}
|
|
3444
3444
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3445
3445
|
}
|
|
3446
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3446
|
+
return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3447
3447
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3448
3448
|
var n = 1, i = this.clonePosition();
|
|
3449
3449
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3548,7 +3548,7 @@ function Qn(e, t) {
|
|
|
3548
3548
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3549
3549
|
var r = new Wn(e, t).parse();
|
|
3550
3550
|
if (r.err) {
|
|
3551
|
-
var n = SyntaxError(
|
|
3551
|
+
var n = SyntaxError(d[r.err.kind]);
|
|
3552
3552
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3553
3553
|
}
|
|
3554
3554
|
return t != null && t.captureLocation || We(r.val), r.val;
|
|
@@ -3609,8 +3609,8 @@ function Kn(e) {
|
|
|
3609
3609
|
function ei(e) {
|
|
3610
3610
|
return typeof e == "function";
|
|
3611
3611
|
}
|
|
3612
|
-
function
|
|
3613
|
-
if (e.length === 1 &&
|
|
3612
|
+
function de(e, t, r, n, i, o, s) {
|
|
3613
|
+
if (e.length === 1 && dt(e[0]))
|
|
3614
3614
|
return [
|
|
3615
3615
|
{
|
|
3616
3616
|
type: H.literal,
|
|
@@ -3619,7 +3619,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3619
3619
|
];
|
|
3620
3620
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3621
3621
|
var l = u[h];
|
|
3622
|
-
if (
|
|
3622
|
+
if (dt(l)) {
|
|
3623
3623
|
a.push({
|
|
3624
3624
|
type: H.literal,
|
|
3625
3625
|
value: l.value
|
|
@@ -3633,14 +3633,14 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3633
3633
|
});
|
|
3634
3634
|
continue;
|
|
3635
3635
|
}
|
|
3636
|
-
var
|
|
3637
|
-
if (!(i &&
|
|
3638
|
-
throw new Yn(
|
|
3639
|
-
var
|
|
3636
|
+
var c = l.value;
|
|
3637
|
+
if (!(i && c in i))
|
|
3638
|
+
throw new Yn(c, s);
|
|
3639
|
+
var f = i[c];
|
|
3640
3640
|
if (En(l)) {
|
|
3641
|
-
(!
|
|
3642
|
-
type: typeof
|
|
3643
|
-
value:
|
|
3641
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3642
|
+
type: typeof f == "string" ? H.literal : H.object,
|
|
3643
|
+
value: f
|
|
3644
3644
|
});
|
|
3645
3645
|
continue;
|
|
3646
3646
|
}
|
|
@@ -3648,7 +3648,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3648
3648
|
var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
|
|
3649
3649
|
a.push({
|
|
3650
3650
|
type: H.literal,
|
|
3651
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3651
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3652
3652
|
});
|
|
3653
3653
|
continue;
|
|
3654
3654
|
}
|
|
@@ -3656,23 +3656,23 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3656
3656
|
var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3657
3657
|
a.push({
|
|
3658
3658
|
type: H.literal,
|
|
3659
|
-
value: r.getDateTimeFormat(t, p).format(
|
|
3659
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3660
3660
|
});
|
|
3661
3661
|
continue;
|
|
3662
3662
|
}
|
|
3663
3663
|
if (jt(l)) {
|
|
3664
3664
|
var p = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
|
|
3665
|
-
p && p.scale && (
|
|
3665
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3666
3666
|
type: H.literal,
|
|
3667
|
-
value: r.getNumberFormat(t, p).format(
|
|
3667
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3668
3668
|
});
|
|
3669
3669
|
continue;
|
|
3670
3670
|
}
|
|
3671
3671
|
if (zt(l)) {
|
|
3672
|
-
var v = l.children,
|
|
3672
|
+
var v = l.children, m = l.value, T = i[m];
|
|
3673
3673
|
if (!ei(T))
|
|
3674
|
-
throw new Jn(
|
|
3675
|
-
var M =
|
|
3674
|
+
throw new Jn(m, "function", s);
|
|
3675
|
+
var M = de(v, t, r, n, i, o), $ = T(M.map(function(O) {
|
|
3676
3676
|
return O.value;
|
|
3677
3677
|
}));
|
|
3678
3678
|
Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(O) {
|
|
@@ -3683,25 +3683,25 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3683
3683
|
}));
|
|
3684
3684
|
}
|
|
3685
3685
|
if (Xt(l)) {
|
|
3686
|
-
var S = l.options[
|
|
3686
|
+
var S = l.options[f] || l.options.other;
|
|
3687
3687
|
if (!S)
|
|
3688
|
-
throw new xt(l.value,
|
|
3689
|
-
a.push.apply(a,
|
|
3688
|
+
throw new xt(l.value, f, Object.keys(l.options), s);
|
|
3689
|
+
a.push.apply(a, de(S.value, t, r, n, i));
|
|
3690
3690
|
continue;
|
|
3691
3691
|
}
|
|
3692
3692
|
if (Wt(l)) {
|
|
3693
|
-
var S = l.options["=".concat(
|
|
3693
|
+
var S = l.options["=".concat(f)];
|
|
3694
3694
|
if (!S) {
|
|
3695
3695
|
if (!Intl.PluralRules)
|
|
3696
3696
|
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3697
3697
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3698
3698
|
`, q.MISSING_INTL_API, s);
|
|
3699
|
-
var U = r.getPluralRules(t, { type: l.pluralType }).select(
|
|
3699
|
+
var U = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3700
3700
|
S = l.options[U] || l.options.other;
|
|
3701
3701
|
}
|
|
3702
3702
|
if (!S)
|
|
3703
|
-
throw new xt(l.value,
|
|
3704
|
-
a.push.apply(a,
|
|
3703
|
+
throw new xt(l.value, f, Object.keys(l.options), s);
|
|
3704
|
+
a.push.apply(a, de(S.value, t, r, n, i, f - (l.offset || 0)));
|
|
3705
3705
|
continue;
|
|
3706
3706
|
}
|
|
3707
3707
|
}
|
|
@@ -3777,12 +3777,12 @@ var ii = (
|
|
|
3777
3777
|
var u = o.formatToParts(h);
|
|
3778
3778
|
if (u.length === 1)
|
|
3779
3779
|
return u[0].value;
|
|
3780
|
-
var l = u.reduce(function(
|
|
3781
|
-
return !
|
|
3780
|
+
var l = u.reduce(function(c, f) {
|
|
3781
|
+
return !c.length || f.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3782
3782
|
}, []);
|
|
3783
3783
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3784
3784
|
}, this.formatToParts = function(h) {
|
|
3785
|
-
return
|
|
3785
|
+
return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3786
3786
|
}, this.resolvedOptions = function() {
|
|
3787
3787
|
var h;
|
|
3788
3788
|
return {
|
|
@@ -3947,7 +3947,7 @@ function li(e, t) {
|
|
|
3947
3947
|
function or(e) {
|
|
3948
3948
|
return be[e];
|
|
3949
3949
|
}
|
|
3950
|
-
function
|
|
3950
|
+
function ci(e) {
|
|
3951
3951
|
return xe(e).map((t) => {
|
|
3952
3952
|
const r = or(t);
|
|
3953
3953
|
return [t, r ? [...r] : []];
|
|
@@ -3961,7 +3961,7 @@ function ze(e) {
|
|
|
3961
3961
|
}
|
|
3962
3962
|
);
|
|
3963
3963
|
}
|
|
3964
|
-
function
|
|
3964
|
+
function fi(e, t) {
|
|
3965
3965
|
return Promise.all(
|
|
3966
3966
|
t.map((n) => (li(e, n), n().then((i) => i.default || i)))
|
|
3967
3967
|
).then((n) => ir(e, ...n));
|
|
@@ -3970,10 +3970,10 @@ const te = {};
|
|
|
3970
3970
|
function sr(e) {
|
|
3971
3971
|
if (!ze(e))
|
|
3972
3972
|
return e in te ? te[e] : Promise.resolve();
|
|
3973
|
-
const t =
|
|
3973
|
+
const t = ci(e);
|
|
3974
3974
|
return te[e] = Promise.all(
|
|
3975
3975
|
t.map(
|
|
3976
|
-
([r, n]) =>
|
|
3976
|
+
([r, n]) => fi(r, n)
|
|
3977
3977
|
)
|
|
3978
3978
|
).then(() => {
|
|
3979
3979
|
if (ze(e))
|
|
@@ -4010,16 +4010,16 @@ const pi = {
|
|
|
4010
4010
|
timeZoneName: "short"
|
|
4011
4011
|
}
|
|
4012
4012
|
}
|
|
4013
|
-
},
|
|
4013
|
+
}, mi = {
|
|
4014
4014
|
fallbackLocale: null,
|
|
4015
4015
|
loadingDelay: 200,
|
|
4016
4016
|
formats: pi,
|
|
4017
4017
|
warnOnMissingMessages: !0,
|
|
4018
4018
|
handleMissingMessage: void 0,
|
|
4019
4019
|
ignoreTag: !0
|
|
4020
|
-
},
|
|
4020
|
+
}, di = mi;
|
|
4021
4021
|
function Q() {
|
|
4022
|
-
return
|
|
4022
|
+
return di;
|
|
4023
4023
|
}
|
|
4024
4024
|
const Ie = _e(!1);
|
|
4025
4025
|
var bi = Object.defineProperty, yi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
|
|
@@ -4160,16 +4160,16 @@ const oe = (e, t) => {
|
|
|
4160
4160
|
), l;
|
|
4161
4161
|
if (!a)
|
|
4162
4162
|
return l;
|
|
4163
|
-
let
|
|
4163
|
+
let c = l;
|
|
4164
4164
|
try {
|
|
4165
|
-
|
|
4166
|
-
} catch (
|
|
4167
|
-
|
|
4165
|
+
c = Ii(l, h).format(a);
|
|
4166
|
+
} catch (f) {
|
|
4167
|
+
f instanceof Error && console.warn(
|
|
4168
4168
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4169
|
-
|
|
4169
|
+
f.message
|
|
4170
4170
|
);
|
|
4171
4171
|
}
|
|
4172
|
-
return
|
|
4172
|
+
return c;
|
|
4173
4173
|
}, Li = (e, t) => Oi(t).format(e), Ci = (e, t) => Pi(t).format(e), Mi = (e, t) => Ai(t).format(e), $i = (e, t = D()) => rr(e, t), Ri = Y([K, ue], () => Ni);
|
|
4174
4174
|
Y([K], () => Li);
|
|
4175
4175
|
Y([K], () => Ci);
|
|
@@ -4229,29 +4229,29 @@ function Gi(e) {
|
|
|
4229
4229
|
br(e, "svelte-1oqxq1j", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TransactionHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
|
|
4230
4230
|
}
|
|
4231
4231
|
function Fi(e) {
|
|
4232
|
-
let t, r, n, i, o, s, a, h, u, l,
|
|
4232
|
+
let t, r, n, i, o, s, a, h, u, l, c = (
|
|
4233
4233
|
/*$_*/
|
|
4234
4234
|
e[3]("titleTransactionHistory") + ""
|
|
4235
|
-
),
|
|
4235
|
+
), f, p, v;
|
|
4236
4236
|
return {
|
|
4237
4237
|
c() {
|
|
4238
|
-
t = L("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Ne(), l = L("h2"),
|
|
4238
|
+
t = L("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Ne(), l = L("h2"), f = ne(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(l, "class", "TransactionHistoryTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
4239
4239
|
},
|
|
4240
|
-
m(
|
|
4241
|
-
ae(
|
|
4240
|
+
m(m, T) {
|
|
4241
|
+
ae(m, t, T), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (v = vr(
|
|
4242
4242
|
t,
|
|
4243
4243
|
"click",
|
|
4244
4244
|
/*click_handler*/
|
|
4245
4245
|
e[13]
|
|
4246
4246
|
), p = !0);
|
|
4247
4247
|
},
|
|
4248
|
-
p(
|
|
4248
|
+
p(m, T) {
|
|
4249
4249
|
T & /*$_*/
|
|
4250
|
-
8 &&
|
|
4251
|
-
|
|
4250
|
+
8 && c !== (c = /*$_*/
|
|
4251
|
+
m[3]("titleTransactionHistory") + "") && Qe(f, c);
|
|
4252
4252
|
},
|
|
4253
|
-
d(
|
|
4254
|
-
|
|
4253
|
+
d(m) {
|
|
4254
|
+
m && J(t), p = !1, v();
|
|
4255
4255
|
}
|
|
4256
4256
|
};
|
|
4257
4257
|
}
|
|
@@ -4305,10 +4305,10 @@ function Vi(e) {
|
|
|
4305
4305
|
/*isMobile*/
|
|
4306
4306
|
e[4] && Fi(e)
|
|
4307
4307
|
);
|
|
4308
|
-
function h(
|
|
4308
|
+
function h(c, f) {
|
|
4309
4309
|
return (
|
|
4310
4310
|
/*isLoading*/
|
|
4311
|
-
|
|
4311
|
+
c[1] ? ki : ji
|
|
4312
4312
|
);
|
|
4313
4313
|
}
|
|
4314
4314
|
let u = h(e), l = u(e);
|
|
@@ -4318,26 +4318,26 @@ function Vi(e) {
|
|
|
4318
4318
|
(e[4] ? "TransactionHistoryTitleNone" : "")), E(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
|
|
4319
4319
|
(e[4] ? "TransactionHistoryWrapperMobile" : ""));
|
|
4320
4320
|
},
|
|
4321
|
-
m(
|
|
4322
|
-
ae(
|
|
4321
|
+
m(c, f) {
|
|
4322
|
+
ae(c, t, f), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[14](t);
|
|
4323
4323
|
},
|
|
4324
|
-
p(
|
|
4324
|
+
p(c, [f]) {
|
|
4325
4325
|
/*isMobile*/
|
|
4326
|
-
|
|
4326
|
+
c[4] && a.p(c, f), f & /*$_*/
|
|
4327
4327
|
8 && i !== (i = /*$_*/
|
|
4328
|
-
|
|
4328
|
+
c[3]("titleTransactionHistory") + "") && Qe(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
|
|
4329
4329
|
},
|
|
4330
4330
|
i: P,
|
|
4331
4331
|
o: P,
|
|
4332
|
-
d(
|
|
4333
|
-
|
|
4332
|
+
d(c) {
|
|
4333
|
+
c && J(t), a && a.d(), l.d(), e[14](null);
|
|
4334
4334
|
}
|
|
4335
4335
|
};
|
|
4336
4336
|
}
|
|
4337
4337
|
function Xi(e, t, r) {
|
|
4338
4338
|
let n;
|
|
4339
|
-
|
|
4340
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t,
|
|
4339
|
+
dr(e, Ri, (g) => r(3, n = g));
|
|
4340
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, c, f = window.navigator.userAgent, p = Ui(f) !== "PC", v = !0, m = "";
|
|
4341
4341
|
const T = () => {
|
|
4342
4342
|
fetch(l).then((A) => A.json()).then((A) => {
|
|
4343
4343
|
Object.keys(A).forEach((w) => {
|
|
@@ -4370,7 +4370,7 @@ function Xi(e, t, r) {
|
|
|
4370
4370
|
};
|
|
4371
4371
|
fetch(g.href, A).then((w) => w.json()).then(
|
|
4372
4372
|
(w) => {
|
|
4373
|
-
r(1, v = !1), r(2,
|
|
4373
|
+
r(1, v = !1), r(2, m = w.CashierUrl);
|
|
4374
4374
|
},
|
|
4375
4375
|
(w) => {
|
|
4376
4376
|
console.error(w);
|
|
@@ -4380,13 +4380,13 @@ function Xi(e, t, r) {
|
|
|
4380
4380
|
Di(a);
|
|
4381
4381
|
}, U = () => {
|
|
4382
4382
|
let g = document.createElement("style");
|
|
4383
|
-
g.innerHTML = h,
|
|
4383
|
+
g.innerHTML = h, c.appendChild(g);
|
|
4384
4384
|
}, O = () => {
|
|
4385
4385
|
let g = new URL(u), A = document.createElement("style");
|
|
4386
4386
|
fetch(g.href).then((w) => w.text()).then((w) => {
|
|
4387
4387
|
A.innerHTML = w, setTimeout(
|
|
4388
4388
|
() => {
|
|
4389
|
-
|
|
4389
|
+
c.appendChild(A);
|
|
4390
4390
|
},
|
|
4391
4391
|
1
|
|
4392
4392
|
);
|
|
@@ -4394,7 +4394,7 @@ function Xi(e, t, r) {
|
|
|
4394
4394
|
}, G = () => M();
|
|
4395
4395
|
function he(g) {
|
|
4396
4396
|
Le[g ? "unshift" : "push"](() => {
|
|
4397
|
-
|
|
4397
|
+
c = g, r(0, c);
|
|
4398
4398
|
});
|
|
4399
4399
|
}
|
|
4400
4400
|
return e.$$set = (g) => {
|
|
@@ -4403,13 +4403,13 @@ function Xi(e, t, r) {
|
|
|
4403
4403
|
e.$$.dirty & /*lang*/
|
|
4404
4404
|
512 && a && S(), e.$$.dirty & /*session, playerid, endpoint, lang*/
|
|
4405
4405
|
960 && o && s && i && a && $(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4406
|
-
2049 && u &&
|
|
4407
|
-
1025 && h &&
|
|
4406
|
+
2049 && u && c && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4407
|
+
1025 && h && c && U(), e.$$.dirty & /*translationurl*/
|
|
4408
4408
|
4096 && l && T();
|
|
4409
4409
|
}, [
|
|
4410
|
-
|
|
4410
|
+
c,
|
|
4411
4411
|
v,
|
|
4412
|
-
|
|
4412
|
+
m,
|
|
4413
4413
|
n,
|
|
4414
4414
|
p,
|
|
4415
4415
|
M,
|