@everymatrix/player-deposit 1.45.0 → 1.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var xr = Object.defineProperty, wr = Object.defineProperties;
|
|
2
|
+
var Sr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var it = Object.getOwnPropertySymbols;
|
|
4
4
|
var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Te = (e, t, r) => t in e ?
|
|
5
|
+
var Te = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
7
|
Tr.call(t, r) && Te(e, r, t[r]);
|
|
8
8
|
if (it)
|
|
9
9
|
for (var r of it(t))
|
|
10
10
|
Hr.call(t, r) && Te(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, st = (e, t) =>
|
|
12
|
+
}, st = (e, t) => wr(e, Sr(t));
|
|
13
13
|
var B = (e, t, r) => Te(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var at = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
@@ -63,7 +63,7 @@ function Rt(e, ...t) {
|
|
|
63
63
|
function Ar(e, t, r) {
|
|
64
64
|
e.$$.on_destroy.push(Rt(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function x(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
69
|
function Pr(e, t, r) {
|
|
@@ -83,7 +83,7 @@ function Or(e) {
|
|
|
83
83
|
) : e.ownerDocument;
|
|
84
84
|
}
|
|
85
85
|
function Ir(e, t) {
|
|
86
|
-
return
|
|
86
|
+
return x(
|
|
87
87
|
/** @type {Document} */
|
|
88
88
|
e.head || e,
|
|
89
89
|
t
|
|
@@ -110,7 +110,7 @@ function Ne() {
|
|
|
110
110
|
function Cr(e, t, r, n) {
|
|
111
111
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function _(e, t, r) {
|
|
114
114
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
115
115
|
}
|
|
116
116
|
function Mr(e) {
|
|
@@ -235,8 +235,8 @@ function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
235
235
|
s && s(u.root);
|
|
236
236
|
let l = !1;
|
|
237
237
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
238
|
-
const
|
|
239
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
238
|
+
const y = d.length ? d[0] : f;
|
|
239
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Xr(e, c)), f;
|
|
240
240
|
}) : [], u.update(), l = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
241
241
|
if (t.hydrate) {
|
|
242
242
|
const c = Mr(t.target);
|
|
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
292
292
|
let s;
|
|
293
293
|
return {
|
|
294
294
|
c: function() {
|
|
295
|
-
s = L("slot"), o !== "default" &&
|
|
295
|
+
s = L("slot"), o !== "default" && _(s, "name", o);
|
|
296
296
|
},
|
|
297
297
|
/**
|
|
298
298
|
* @param {HTMLElement} target
|
|
@@ -493,14 +493,14 @@ function R(e, t) {
|
|
|
493
493
|
}
|
|
494
494
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
495
495
|
}
|
|
496
|
-
var
|
|
497
|
-
return
|
|
496
|
+
var v = function() {
|
|
497
|
+
return v = Object.assign || function(t) {
|
|
498
498
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
499
499
|
r = arguments[n];
|
|
500
500
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
501
501
|
}
|
|
502
502
|
return t;
|
|
503
|
-
},
|
|
503
|
+
}, v.apply(this, arguments);
|
|
504
504
|
};
|
|
505
505
|
function qr(e, t) {
|
|
506
506
|
var r = {};
|
|
@@ -566,7 +566,7 @@ function Fe(e, t) {
|
|
|
566
566
|
0 <= r && e.splice(r, 1);
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
var
|
|
569
|
+
var Ee = function() {
|
|
570
570
|
function e(t) {
|
|
571
571
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
572
572
|
}
|
|
@@ -605,9 +605,9 @@ var xe = function() {
|
|
|
605
605
|
this._finalizers = null;
|
|
606
606
|
try {
|
|
607
607
|
for (var f = Ue(c), d = f.next(); !d.done; d = f.next()) {
|
|
608
|
-
var
|
|
608
|
+
var y = d.value;
|
|
609
609
|
try {
|
|
610
|
-
ft(
|
|
610
|
+
ft(y);
|
|
611
611
|
} catch (m) {
|
|
612
612
|
o = o != null ? o : [], m instanceof Be ? o = W(W([], Ge(o)), Ge(m.errors)) : o.push(m);
|
|
613
613
|
}
|
|
@@ -654,9 +654,9 @@ var xe = function() {
|
|
|
654
654
|
var t = new e();
|
|
655
655
|
return t.closed = !0, t;
|
|
656
656
|
}(), e;
|
|
657
|
-
}(), Ut =
|
|
657
|
+
}(), Ut = Ee.EMPTY;
|
|
658
658
|
function Gt(e) {
|
|
659
|
-
return e instanceof
|
|
659
|
+
return e instanceof Ee || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
660
660
|
}
|
|
661
661
|
function ft(e) {
|
|
662
662
|
N(e) ? e() : e.unsubscribe();
|
|
@@ -720,7 +720,7 @@ var kt = function(e) {
|
|
|
720
720
|
this.unsubscribe();
|
|
721
721
|
}
|
|
722
722
|
}, t;
|
|
723
|
-
}(
|
|
723
|
+
}(Ee), Yr = Function.prototype.bind;
|
|
724
724
|
function Ae(e, t) {
|
|
725
725
|
return Yr.call(e, t);
|
|
726
726
|
}
|
|
@@ -944,7 +944,7 @@ var un = $t(function(e) {
|
|
|
944
944
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
945
945
|
}, t.prototype._innerSubscribe = function(r) {
|
|
946
946
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
947
|
-
return o || s ? Ut : (this.currentObservers = null, a.push(r), new
|
|
947
|
+
return o || s ? Ut : (this.currentObservers = null, a.push(r), new Ee(function() {
|
|
948
948
|
n.currentObservers = null, Fe(a, r);
|
|
949
949
|
}));
|
|
950
950
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
@@ -1004,19 +1004,19 @@ var un = $t(function(e) {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
}, t;
|
|
1006
1006
|
}(Vt);
|
|
1007
|
-
const
|
|
1008
|
-
if (
|
|
1007
|
+
const gt = [], yt = {}, ln = (e, t = 0) => {
|
|
1008
|
+
if (gt.indexOf(e) == -1) {
|
|
1009
1009
|
const r = new hn(t);
|
|
1010
|
-
|
|
1010
|
+
yt[e] = r, gt.push(e);
|
|
1011
1011
|
}
|
|
1012
|
-
return
|
|
1012
|
+
return yt[e];
|
|
1013
1013
|
}, k = [];
|
|
1014
1014
|
function cn(e, t) {
|
|
1015
1015
|
return {
|
|
1016
|
-
subscribe:
|
|
1016
|
+
subscribe: _e(e, t).subscribe
|
|
1017
1017
|
};
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1019
|
+
function _e(e, t = O) {
|
|
1020
1020
|
let r;
|
|
1021
1021
|
const n = /* @__PURE__ */ new Set();
|
|
1022
1022
|
function i(a) {
|
|
@@ -1055,13 +1055,13 @@ function Y(e, t, r) {
|
|
|
1055
1055
|
if (l)
|
|
1056
1056
|
return;
|
|
1057
1057
|
c();
|
|
1058
|
-
const
|
|
1059
|
-
o ? s(
|
|
1058
|
+
const y = t(n ? u[0] : u, s, a);
|
|
1059
|
+
o ? s(y) : c = Je(y) ? y : O;
|
|
1060
1060
|
}, d = i.map(
|
|
1061
|
-
(
|
|
1062
|
-
|
|
1063
|
-
(
|
|
1064
|
-
u[m] =
|
|
1061
|
+
(y, m) => Rt(
|
|
1062
|
+
y,
|
|
1063
|
+
(w) => {
|
|
1064
|
+
u[m] = w, l &= ~(1 << m), h && f();
|
|
1065
1065
|
},
|
|
1066
1066
|
() => {
|
|
1067
1067
|
l |= 1 << m;
|
|
@@ -1084,36 +1084,36 @@ function dn(e) {
|
|
|
1084
1084
|
}
|
|
1085
1085
|
function mn(e) {
|
|
1086
1086
|
var t = Object.prototype.toString.call(e);
|
|
1087
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1088
|
-
}
|
|
1089
|
-
var bn = typeof Symbol == "function" && Symbol.for, vn = bn ? Symbol.for("react.element") : 60103;
|
|
1090
|
-
function gn(e) {
|
|
1091
|
-
return e.$$typeof === vn;
|
|
1087
|
+
return t === "[object RegExp]" || t === "[object Date]" || yn(e);
|
|
1092
1088
|
}
|
|
1089
|
+
var bn = typeof Symbol == "function" && Symbol.for, gn = bn ? Symbol.for("react.element") : 60103;
|
|
1093
1090
|
function yn(e) {
|
|
1091
|
+
return e.$$typeof === gn;
|
|
1092
|
+
}
|
|
1093
|
+
function vn(e) {
|
|
1094
1094
|
return Array.isArray(e) ? [] : {};
|
|
1095
1095
|
}
|
|
1096
1096
|
function se(e, t) {
|
|
1097
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? z(
|
|
1097
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(vn(e), e, t) : e;
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function En(e, t, r) {
|
|
1100
1100
|
return e.concat(t).map(function(n) {
|
|
1101
1101
|
return se(n, r);
|
|
1102
1102
|
});
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function _n(e, t) {
|
|
1105
1105
|
if (!t.customMerge)
|
|
1106
1106
|
return z;
|
|
1107
1107
|
var r = t.customMerge(e);
|
|
1108
1108
|
return typeof r == "function" ? r : z;
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function xn(e) {
|
|
1111
1111
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1112
1112
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1113
1113
|
}) : [];
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1116
|
-
return Object.keys(e).concat(
|
|
1115
|
+
function vt(e) {
|
|
1116
|
+
return Object.keys(e).concat(xn(e));
|
|
1117
1117
|
}
|
|
1118
1118
|
function Wt(e, t) {
|
|
1119
1119
|
try {
|
|
@@ -1122,21 +1122,21 @@ function Wt(e, t) {
|
|
|
1122
1122
|
return !1;
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function wn(e, t) {
|
|
1126
1126
|
return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1127
1127
|
}
|
|
1128
|
-
function
|
|
1128
|
+
function Sn(e, t, r) {
|
|
1129
1129
|
var n = {};
|
|
1130
|
-
return r.isMergeableObject(e) &&
|
|
1130
|
+
return r.isMergeableObject(e) && vt(e).forEach(function(i) {
|
|
1131
1131
|
n[i] = se(e[i], r);
|
|
1132
|
-
}),
|
|
1133
|
-
|
|
1132
|
+
}), vt(t).forEach(function(i) {
|
|
1133
|
+
wn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
1134
1134
|
}), n;
|
|
1135
1135
|
}
|
|
1136
1136
|
function z(e, t, r) {
|
|
1137
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1137
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = se;
|
|
1138
1138
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1139
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1139
|
+
return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : se(t, r);
|
|
1140
1140
|
}
|
|
1141
1141
|
z.all = function(t, r) {
|
|
1142
1142
|
if (!Array.isArray(t))
|
|
@@ -1151,40 +1151,40 @@ var b;
|
|
|
1151
1151
|
(function(e) {
|
|
1152
1152
|
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";
|
|
1153
1153
|
})(b || (b = {}));
|
|
1154
|
-
var
|
|
1154
|
+
var E;
|
|
1155
1155
|
(function(e) {
|
|
1156
1156
|
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";
|
|
1157
|
-
})(
|
|
1157
|
+
})(E || (E = {}));
|
|
1158
1158
|
var Z;
|
|
1159
1159
|
(function(e) {
|
|
1160
1160
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1161
1161
|
})(Z || (Z = {}));
|
|
1162
|
-
function
|
|
1163
|
-
return e.type ===
|
|
1162
|
+
function Et(e) {
|
|
1163
|
+
return e.type === E.literal;
|
|
1164
1164
|
}
|
|
1165
1165
|
function An(e) {
|
|
1166
|
-
return e.type ===
|
|
1166
|
+
return e.type === E.argument;
|
|
1167
1167
|
}
|
|
1168
1168
|
function zt(e) {
|
|
1169
|
-
return e.type ===
|
|
1169
|
+
return e.type === E.number;
|
|
1170
1170
|
}
|
|
1171
1171
|
function Zt(e) {
|
|
1172
|
-
return e.type ===
|
|
1172
|
+
return e.type === E.date;
|
|
1173
1173
|
}
|
|
1174
1174
|
function Qt(e) {
|
|
1175
|
-
return e.type ===
|
|
1175
|
+
return e.type === E.time;
|
|
1176
1176
|
}
|
|
1177
1177
|
function qt(e) {
|
|
1178
|
-
return e.type ===
|
|
1178
|
+
return e.type === E.select;
|
|
1179
1179
|
}
|
|
1180
1180
|
function Jt(e) {
|
|
1181
|
-
return e.type ===
|
|
1181
|
+
return e.type === E.plural;
|
|
1182
1182
|
}
|
|
1183
1183
|
function Pn(e) {
|
|
1184
|
-
return e.type ===
|
|
1184
|
+
return e.type === E.pound;
|
|
1185
1185
|
}
|
|
1186
1186
|
function Yt(e) {
|
|
1187
|
-
return e.type ===
|
|
1187
|
+
return e.type === E.tag;
|
|
1188
1188
|
}
|
|
1189
1189
|
function Kt(e) {
|
|
1190
1190
|
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
@@ -1306,8 +1306,8 @@ function Mn(e) {
|
|
|
1306
1306
|
function Nn(e) {
|
|
1307
1307
|
return e.replace(/^(.*?)-/, "");
|
|
1308
1308
|
}
|
|
1309
|
-
var
|
|
1310
|
-
function
|
|
1309
|
+
var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
|
|
1310
|
+
function xt(e) {
|
|
1311
1311
|
var t = {};
|
|
1312
1312
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
|
|
1313
1313
|
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)), "";
|
|
@@ -1367,7 +1367,7 @@ function Rn(e) {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
return t;
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function wt(e) {
|
|
1371
1371
|
var t = {}, r = nr(e);
|
|
1372
1372
|
return r || t;
|
|
1373
1373
|
}
|
|
@@ -1406,13 +1406,13 @@ function Dn(e) {
|
|
|
1406
1406
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1407
1407
|
continue;
|
|
1408
1408
|
case "scientific":
|
|
1409
|
-
t =
|
|
1410
|
-
return
|
|
1409
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1410
|
+
return v(v({}, h), wt(u));
|
|
1411
1411
|
}, {}));
|
|
1412
1412
|
continue;
|
|
1413
1413
|
case "engineering":
|
|
1414
|
-
t =
|
|
1415
|
-
return
|
|
1414
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1415
|
+
return v(v({}, h), wt(u));
|
|
1416
1416
|
}, {}));
|
|
1417
1417
|
continue;
|
|
1418
1418
|
case "notation-simple":
|
|
@@ -1474,24 +1474,24 @@ function Dn(e) {
|
|
|
1474
1474
|
t.minimumIntegerDigits = i.stem.length;
|
|
1475
1475
|
continue;
|
|
1476
1476
|
}
|
|
1477
|
-
if (
|
|
1477
|
+
if (_t.test(i.stem)) {
|
|
1478
1478
|
if (i.options.length > 1)
|
|
1479
1479
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1480
|
-
i.stem.replace(
|
|
1480
|
+
i.stem.replace(_t, function(h, u, l, c, f, d) {
|
|
1481
1481
|
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), "";
|
|
1482
1482
|
});
|
|
1483
1483
|
var o = i.options[0];
|
|
1484
|
-
o === "w" ? t =
|
|
1484
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), xt(o)));
|
|
1485
1485
|
continue;
|
|
1486
1486
|
}
|
|
1487
1487
|
if (tr.test(i.stem)) {
|
|
1488
|
-
t =
|
|
1488
|
+
t = v(v({}, t), xt(i.stem));
|
|
1489
1489
|
continue;
|
|
1490
1490
|
}
|
|
1491
1491
|
var s = nr(i.stem);
|
|
1492
|
-
s && (t =
|
|
1492
|
+
s && (t = v(v({}, t), s));
|
|
1493
1493
|
var a = Rn(i.stem);
|
|
1494
|
-
a && (t =
|
|
1494
|
+
a && (t = v(v({}, t), a));
|
|
1495
1495
|
}
|
|
1496
1496
|
return t;
|
|
1497
1497
|
}
|
|
@@ -2942,7 +2942,7 @@ function Un(e) {
|
|
|
2942
2942
|
return i[0];
|
|
2943
2943
|
}
|
|
2944
2944
|
var Pe, Gn = new RegExp("^".concat(er.source, "*")), Fn = new RegExp("".concat(er.source, "*$"));
|
|
2945
|
-
function
|
|
2945
|
+
function g(e, t) {
|
|
2946
2946
|
return { start: e, end: t };
|
|
2947
2947
|
}
|
|
2948
2948
|
var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Qn = Zn ? Number.isSafeInteger : function(e) {
|
|
@@ -2954,7 +2954,7 @@ try {
|
|
|
2954
2954
|
} catch (e) {
|
|
2955
2955
|
Ve = !1;
|
|
2956
2956
|
}
|
|
2957
|
-
var
|
|
2957
|
+
var St = jn ? (
|
|
2958
2958
|
// Native
|
|
2959
2959
|
function(t, r, n) {
|
|
2960
2960
|
return t.startsWith(r, n);
|
|
@@ -3069,13 +3069,13 @@ var Kn = (
|
|
|
3069
3069
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3070
3070
|
var a = this.clonePosition();
|
|
3071
3071
|
this.bump(), i.push({
|
|
3072
|
-
type:
|
|
3073
|
-
location:
|
|
3072
|
+
type: E.pound,
|
|
3073
|
+
location: g(a, this.clonePosition())
|
|
3074
3074
|
});
|
|
3075
3075
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3076
3076
|
if (n)
|
|
3077
3077
|
break;
|
|
3078
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3078
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3079
3079
|
} else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
|
|
3080
3080
|
var s = this.parseTag(t, r);
|
|
3081
3081
|
if (s.err)
|
|
@@ -3097,9 +3097,9 @@ var Kn = (
|
|
|
3097
3097
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3098
3098
|
return {
|
|
3099
3099
|
val: {
|
|
3100
|
-
type:
|
|
3100
|
+
type: E.literal,
|
|
3101
3101
|
value: "<".concat(i, "/>"),
|
|
3102
|
-
location:
|
|
3102
|
+
location: g(n, this.clonePosition())
|
|
3103
3103
|
},
|
|
3104
3104
|
err: null
|
|
3105
3105
|
};
|
|
@@ -3110,21 +3110,21 @@ var Kn = (
|
|
|
3110
3110
|
var s = o.val, a = this.clonePosition();
|
|
3111
3111
|
if (this.bumpIf("</")) {
|
|
3112
3112
|
if (this.isEOF() || !ze(this.char()))
|
|
3113
|
-
return this.error(b.INVALID_TAG,
|
|
3113
|
+
return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
|
|
3114
3114
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3115
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3115
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3116
3116
|
val: {
|
|
3117
|
-
type:
|
|
3117
|
+
type: E.tag,
|
|
3118
3118
|
value: i,
|
|
3119
3119
|
children: s,
|
|
3120
|
-
location:
|
|
3120
|
+
location: g(n, this.clonePosition())
|
|
3121
3121
|
},
|
|
3122
3122
|
err: null
|
|
3123
|
-
} : this.error(b.INVALID_TAG,
|
|
3123
|
+
} : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
|
|
3124
3124
|
} else
|
|
3125
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3125
|
+
return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3126
3126
|
} else
|
|
3127
|
-
return this.error(b.INVALID_TAG,
|
|
3127
|
+
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3128
3128
|
}, e.prototype.parseTagName = function() {
|
|
3129
3129
|
var t = this.offset();
|
|
3130
3130
|
for (this.bump(); !this.isEOF() && ti(this.char()); )
|
|
@@ -3149,9 +3149,9 @@ var Kn = (
|
|
|
3149
3149
|
}
|
|
3150
3150
|
break;
|
|
3151
3151
|
}
|
|
3152
|
-
var h =
|
|
3152
|
+
var h = g(n, this.clonePosition());
|
|
3153
3153
|
return {
|
|
3154
|
-
val: { type:
|
|
3154
|
+
val: { type: E.literal, value: i, location: h },
|
|
3155
3155
|
err: null
|
|
3156
3156
|
};
|
|
3157
3157
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -3199,40 +3199,40 @@ var Kn = (
|
|
|
3199
3199
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3200
3200
|
var n = this.clonePosition();
|
|
3201
3201
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3202
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3202
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3203
3203
|
if (this.char() === 125)
|
|
3204
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3204
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3205
3205
|
var i = this.parseIdentifierIfPossible().value;
|
|
3206
3206
|
if (!i)
|
|
3207
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3207
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3208
3208
|
if (this.bumpSpace(), this.isEOF())
|
|
3209
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3209
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3210
3210
|
switch (this.char()) {
|
|
3211
3211
|
case 125:
|
|
3212
3212
|
return this.bump(), {
|
|
3213
3213
|
val: {
|
|
3214
|
-
type:
|
|
3214
|
+
type: E.argument,
|
|
3215
3215
|
// value does not include the opening and closing braces.
|
|
3216
3216
|
value: i,
|
|
3217
|
-
location:
|
|
3217
|
+
location: g(n, this.clonePosition())
|
|
3218
3218
|
},
|
|
3219
3219
|
err: null
|
|
3220
3220
|
};
|
|
3221
3221
|
case 44:
|
|
3222
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3222
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3223
3223
|
default:
|
|
3224
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3224
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3225
3225
|
}
|
|
3226
3226
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3227
3227
|
var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
|
|
3228
3228
|
this.bumpTo(i);
|
|
3229
|
-
var o = this.clonePosition(), s =
|
|
3229
|
+
var o = this.clonePosition(), s = g(t, o);
|
|
3230
3230
|
return { value: n, location: s };
|
|
3231
3231
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3232
3232
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3233
3233
|
switch (a) {
|
|
3234
3234
|
case "":
|
|
3235
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3235
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, h));
|
|
3236
3236
|
case "number":
|
|
3237
3237
|
case "date":
|
|
3238
3238
|
case "time": {
|
|
@@ -3245,33 +3245,33 @@ var Kn = (
|
|
|
3245
3245
|
return c;
|
|
3246
3246
|
var f = Yn(c.val);
|
|
3247
3247
|
if (f.length === 0)
|
|
3248
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3249
|
-
var d =
|
|
3248
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3249
|
+
var d = g(l, this.clonePosition());
|
|
3250
3250
|
u = { style: f, styleLocation: d };
|
|
3251
3251
|
}
|
|
3252
|
-
var
|
|
3253
|
-
if (
|
|
3254
|
-
return
|
|
3255
|
-
var m =
|
|
3256
|
-
if (u &&
|
|
3257
|
-
var
|
|
3252
|
+
var y = this.tryParseArgumentClose(i);
|
|
3253
|
+
if (y.err)
|
|
3254
|
+
return y;
|
|
3255
|
+
var m = g(i, this.clonePosition());
|
|
3256
|
+
if (u && St(u == null ? void 0 : u.style, "::", 0)) {
|
|
3257
|
+
var w = Jn(u.style.slice(2));
|
|
3258
3258
|
if (a === "number") {
|
|
3259
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3259
|
+
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3260
3260
|
return c.err ? c : {
|
|
3261
|
-
val: { type:
|
|
3261
|
+
val: { type: E.number, value: n, location: m, style: c.val },
|
|
3262
3262
|
err: null
|
|
3263
3263
|
};
|
|
3264
3264
|
} else {
|
|
3265
|
-
if (
|
|
3265
|
+
if (w.length === 0)
|
|
3266
3266
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3267
|
-
var D =
|
|
3268
|
-
this.locale && (D = $n(
|
|
3267
|
+
var D = w;
|
|
3268
|
+
this.locale && (D = $n(w, this.locale));
|
|
3269
3269
|
var f = {
|
|
3270
3270
|
type: Z.dateTime,
|
|
3271
3271
|
pattern: D,
|
|
3272
3272
|
location: u.styleLocation,
|
|
3273
3273
|
parsedOptions: this.shouldParseSkeletons ? In(D) : {}
|
|
3274
|
-
}, C = a === "date" ?
|
|
3274
|
+
}, C = a === "date" ? E.date : E.time;
|
|
3275
3275
|
return {
|
|
3276
3276
|
val: { type: C, value: n, location: m, style: f },
|
|
3277
3277
|
err: null
|
|
@@ -3280,7 +3280,7 @@ var Kn = (
|
|
|
3280
3280
|
}
|
|
3281
3281
|
return {
|
|
3282
3282
|
val: {
|
|
3283
|
-
type: a === "number" ?
|
|
3283
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
|
3284
3284
|
value: n,
|
|
3285
3285
|
location: m,
|
|
3286
3286
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3293,12 +3293,12 @@ var Kn = (
|
|
|
3293
3293
|
case "select": {
|
|
3294
3294
|
var T = this.clonePosition();
|
|
3295
3295
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3296
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3296
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
|
|
3297
3297
|
this.bumpSpace();
|
|
3298
3298
|
var M = this.parseIdentifierIfPossible(), I = 0;
|
|
3299
3299
|
if (a !== "select" && M.value === "offset") {
|
|
3300
3300
|
if (!this.bumpIf(":"))
|
|
3301
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3301
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3302
3302
|
this.bumpSpace();
|
|
3303
3303
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3304
3304
|
if (c.err)
|
|
@@ -3308,13 +3308,13 @@ var Kn = (
|
|
|
3308
3308
|
var G = this.tryParsePluralOrSelectOptions(t, a, r, M);
|
|
3309
3309
|
if (G.err)
|
|
3310
3310
|
return G;
|
|
3311
|
-
var
|
|
3312
|
-
if (
|
|
3313
|
-
return
|
|
3314
|
-
var te =
|
|
3311
|
+
var y = this.tryParseArgumentClose(i);
|
|
3312
|
+
if (y.err)
|
|
3313
|
+
return y;
|
|
3314
|
+
var te = g(i, this.clonePosition());
|
|
3315
3315
|
return a === "select" ? {
|
|
3316
3316
|
val: {
|
|
3317
|
-
type:
|
|
3317
|
+
type: E.select,
|
|
3318
3318
|
value: n,
|
|
3319
3319
|
options: Tt(G.val),
|
|
3320
3320
|
location: te
|
|
@@ -3322,7 +3322,7 @@ var Kn = (
|
|
|
3322
3322
|
err: null
|
|
3323
3323
|
} : {
|
|
3324
3324
|
val: {
|
|
3325
|
-
type:
|
|
3325
|
+
type: E.plural,
|
|
3326
3326
|
value: n,
|
|
3327
3327
|
options: Tt(G.val),
|
|
3328
3328
|
offset: I,
|
|
@@ -3333,10 +3333,10 @@ var Kn = (
|
|
|
3333
3333
|
};
|
|
3334
3334
|
}
|
|
3335
3335
|
default:
|
|
3336
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3336
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, g(s, h));
|
|
3337
3337
|
}
|
|
3338
3338
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3339
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3339
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3340
3340
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3341
3341
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3342
3342
|
var n = this.char();
|
|
@@ -3345,7 +3345,7 @@ var Kn = (
|
|
|
3345
3345
|
this.bump();
|
|
3346
3346
|
var i = this.clonePosition();
|
|
3347
3347
|
if (!this.bumpUntil("'"))
|
|
3348
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3348
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
3349
3349
|
this.bump();
|
|
3350
3350
|
break;
|
|
3351
3351
|
}
|
|
@@ -3396,7 +3396,7 @@ var Kn = (
|
|
|
3396
3396
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3397
3397
|
if (f.err)
|
|
3398
3398
|
return f;
|
|
3399
|
-
l =
|
|
3399
|
+
l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3400
3400
|
} else
|
|
3401
3401
|
break;
|
|
3402
3402
|
}
|
|
@@ -3405,22 +3405,22 @@ var Kn = (
|
|
|
3405
3405
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3406
3406
|
var d = this.clonePosition();
|
|
3407
3407
|
if (!this.bumpIf("{"))
|
|
3408
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3409
|
-
var
|
|
3410
|
-
if (
|
|
3411
|
-
return
|
|
3408
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3409
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3410
|
+
if (y.err)
|
|
3411
|
+
return y;
|
|
3412
3412
|
var m = this.tryParseArgumentClose(d);
|
|
3413
3413
|
if (m.err)
|
|
3414
3414
|
return m;
|
|
3415
3415
|
a.push([
|
|
3416
3416
|
u,
|
|
3417
3417
|
{
|
|
3418
|
-
value:
|
|
3419
|
-
location:
|
|
3418
|
+
value: y.val,
|
|
3419
|
+
location: g(d, this.clonePosition())
|
|
3420
3420
|
}
|
|
3421
3421
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3422
3422
|
}
|
|
3423
|
-
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3423
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3424
3424
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3425
3425
|
var n = 1, i = this.clonePosition();
|
|
3426
3426
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3431,7 +3431,7 @@ var Kn = (
|
|
|
3431
3431
|
else
|
|
3432
3432
|
break;
|
|
3433
3433
|
}
|
|
3434
|
-
var h =
|
|
3434
|
+
var h = g(i, this.clonePosition());
|
|
3435
3435
|
return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3436
3436
|
}, e.prototype.offset = function() {
|
|
3437
3437
|
return this.position.offset;
|
|
@@ -3466,7 +3466,7 @@ var Kn = (
|
|
|
3466
3466
|
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);
|
|
3467
3467
|
}
|
|
3468
3468
|
}, e.prototype.bumpIf = function(t) {
|
|
3469
|
-
if (
|
|
3469
|
+
if (St(this.message, t, this.offset())) {
|
|
3470
3470
|
for (var r = 0; r < t.length; r++)
|
|
3471
3471
|
this.bump();
|
|
3472
3472
|
return !0;
|
|
@@ -3522,7 +3522,7 @@ function Ze(e) {
|
|
|
3522
3522
|
});
|
|
3523
3523
|
}
|
|
3524
3524
|
function ni(e, t) {
|
|
3525
|
-
t === void 0 && (t = {}), t =
|
|
3525
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3526
3526
|
var r = new Kn(e, t).parse();
|
|
3527
3527
|
if (r.err) {
|
|
3528
3528
|
var n = SyntaxError(b[r.err.kind]);
|
|
@@ -3584,7 +3584,7 @@ var hi = {
|
|
|
3584
3584
|
(function(e) {
|
|
3585
3585
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3586
3586
|
})(Q || (Q = {}));
|
|
3587
|
-
var
|
|
3587
|
+
var xe = (
|
|
3588
3588
|
/** @class */
|
|
3589
3589
|
function(e) {
|
|
3590
3590
|
R(t, e);
|
|
@@ -3604,7 +3604,7 @@ var _e = (
|
|
|
3604
3604
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
|
|
3605
3605
|
}
|
|
3606
3606
|
return t;
|
|
3607
|
-
}(
|
|
3607
|
+
}(xe)
|
|
3608
3608
|
), li = (
|
|
3609
3609
|
/** @class */
|
|
3610
3610
|
function(e) {
|
|
@@ -3613,7 +3613,7 @@ var _e = (
|
|
|
3613
3613
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
|
|
3614
3614
|
}
|
|
3615
3615
|
return t;
|
|
3616
|
-
}(
|
|
3616
|
+
}(xe)
|
|
3617
3617
|
), ci = (
|
|
3618
3618
|
/** @class */
|
|
3619
3619
|
function(e) {
|
|
@@ -3622,40 +3622,40 @@ var _e = (
|
|
|
3622
3622
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
|
|
3623
3623
|
}
|
|
3624
3624
|
return t;
|
|
3625
|
-
}(
|
|
3626
|
-
),
|
|
3625
|
+
}(xe)
|
|
3626
|
+
), S;
|
|
3627
3627
|
(function(e) {
|
|
3628
3628
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3629
|
-
})(
|
|
3629
|
+
})(S || (S = {}));
|
|
3630
3630
|
function fi(e) {
|
|
3631
3631
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3632
3632
|
var n = t[t.length - 1];
|
|
3633
|
-
return !n || n.type !==
|
|
3633
|
+
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
3634
3634
|
}, []);
|
|
3635
3635
|
}
|
|
3636
3636
|
function pi(e) {
|
|
3637
3637
|
return typeof e == "function";
|
|
3638
3638
|
}
|
|
3639
3639
|
function be(e, t, r, n, i, o, s) {
|
|
3640
|
-
if (e.length === 1 &&
|
|
3640
|
+
if (e.length === 1 && Et(e[0]))
|
|
3641
3641
|
return [
|
|
3642
3642
|
{
|
|
3643
|
-
type:
|
|
3643
|
+
type: S.literal,
|
|
3644
3644
|
value: e[0].value
|
|
3645
3645
|
}
|
|
3646
3646
|
];
|
|
3647
3647
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3648
3648
|
var l = u[h];
|
|
3649
|
-
if (
|
|
3649
|
+
if (Et(l)) {
|
|
3650
3650
|
a.push({
|
|
3651
|
-
type:
|
|
3651
|
+
type: S.literal,
|
|
3652
3652
|
value: l.value
|
|
3653
3653
|
});
|
|
3654
3654
|
continue;
|
|
3655
3655
|
}
|
|
3656
3656
|
if (Pn(l)) {
|
|
3657
3657
|
typeof o == "number" && a.push({
|
|
3658
|
-
type:
|
|
3658
|
+
type: S.literal,
|
|
3659
3659
|
value: r.getNumberFormat(t).format(o)
|
|
3660
3660
|
});
|
|
3661
3661
|
continue;
|
|
@@ -3666,7 +3666,7 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3666
3666
|
var f = i[c];
|
|
3667
3667
|
if (An(l)) {
|
|
3668
3668
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3669
|
-
type: typeof f == "string" ?
|
|
3669
|
+
type: typeof f == "string" ? S.literal : S.object,
|
|
3670
3670
|
value: f
|
|
3671
3671
|
});
|
|
3672
3672
|
continue;
|
|
@@ -3674,7 +3674,7 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3674
3674
|
if (Zt(l)) {
|
|
3675
3675
|
var d = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
|
|
3676
3676
|
a.push({
|
|
3677
|
-
type:
|
|
3677
|
+
type: S.literal,
|
|
3678
3678
|
value: r.getDateTimeFormat(t, d).format(f)
|
|
3679
3679
|
});
|
|
3680
3680
|
continue;
|
|
@@ -3682,7 +3682,7 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3682
3682
|
if (Qt(l)) {
|
|
3683
3683
|
var d = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3684
3684
|
a.push({
|
|
3685
|
-
type:
|
|
3685
|
+
type: S.literal,
|
|
3686
3686
|
value: r.getDateTimeFormat(t, d).format(f)
|
|
3687
3687
|
});
|
|
3688
3688
|
continue;
|
|
@@ -3690,21 +3690,21 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3690
3690
|
if (zt(l)) {
|
|
3691
3691
|
var d = typeof l.style == "string" ? n.number[l.style] : Kt(l.style) ? l.style.parsedOptions : void 0;
|
|
3692
3692
|
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
|
3693
|
-
type:
|
|
3693
|
+
type: S.literal,
|
|
3694
3694
|
value: r.getNumberFormat(t, d).format(f)
|
|
3695
3695
|
});
|
|
3696
3696
|
continue;
|
|
3697
3697
|
}
|
|
3698
3698
|
if (Yt(l)) {
|
|
3699
|
-
var
|
|
3700
|
-
if (!pi(
|
|
3699
|
+
var y = l.children, m = l.value, w = i[m];
|
|
3700
|
+
if (!pi(w))
|
|
3701
3701
|
throw new li(m, "function", s);
|
|
3702
|
-
var D = be(
|
|
3702
|
+
var D = be(y, t, r, n, i, o), C = w(D.map(function(I) {
|
|
3703
3703
|
return I.value;
|
|
3704
3704
|
}));
|
|
3705
3705
|
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(I) {
|
|
3706
3706
|
return {
|
|
3707
|
-
type: typeof I == "string" ?
|
|
3707
|
+
type: typeof I == "string" ? S.literal : S.object,
|
|
3708
3708
|
value: I
|
|
3709
3709
|
};
|
|
3710
3710
|
}));
|
|
@@ -3720,7 +3720,7 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3720
3720
|
var T = l.options["=".concat(f)];
|
|
3721
3721
|
if (!T) {
|
|
3722
3722
|
if (!Intl.PluralRules)
|
|
3723
|
-
throw new
|
|
3723
|
+
throw new xe(`Intl.PluralRules is not available in this environment.
|
|
3724
3724
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3725
3725
|
`, Q.MISSING_INTL_API, s);
|
|
3726
3726
|
var M = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
@@ -3735,14 +3735,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3735
3735
|
return fi(a);
|
|
3736
3736
|
}
|
|
3737
3737
|
function di(e, t) {
|
|
3738
|
-
return t ?
|
|
3739
|
-
return r[n] =
|
|
3738
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3739
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3740
3740
|
}, {})) : e;
|
|
3741
3741
|
}
|
|
3742
3742
|
function mi(e, t) {
|
|
3743
3743
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3744
3744
|
return r[n] = di(e[n], t[n]), r;
|
|
3745
|
-
},
|
|
3745
|
+
}, v({}, e)) : e;
|
|
3746
3746
|
}
|
|
3747
3747
|
function Ce(e) {
|
|
3748
3748
|
return {
|
|
@@ -3790,7 +3790,7 @@ function bi(e) {
|
|
|
3790
3790
|
})
|
|
3791
3791
|
};
|
|
3792
3792
|
}
|
|
3793
|
-
var
|
|
3793
|
+
var gi = (
|
|
3794
3794
|
/** @class */
|
|
3795
3795
|
function() {
|
|
3796
3796
|
function e(t, r, n, i) {
|
|
@@ -3804,7 +3804,7 @@ var vi = (
|
|
|
3804
3804
|
if (u.length === 1)
|
|
3805
3805
|
return u[0].value;
|
|
3806
3806
|
var l = u.reduce(function(c, f) {
|
|
3807
|
-
return !c.length || f.type !==
|
|
3807
|
+
return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3808
3808
|
}, []);
|
|
3809
3809
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3810
3810
|
}, this.formatToParts = function(h) {
|
|
@@ -3822,7 +3822,7 @@ var vi = (
|
|
|
3822
3822
|
var s = i || {};
|
|
3823
3823
|
s.formatters;
|
|
3824
3824
|
var a = qr(s, ["formatters"]);
|
|
3825
|
-
this.ast = e.__parse(t,
|
|
3825
|
+
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3826
3826
|
} else
|
|
3827
3827
|
this.ast = t;
|
|
3828
3828
|
if (!Array.isArray(this.ast))
|
|
@@ -3901,7 +3901,7 @@ var vi = (
|
|
|
3901
3901
|
}, e;
|
|
3902
3902
|
}()
|
|
3903
3903
|
);
|
|
3904
|
-
function
|
|
3904
|
+
function yi(e, t) {
|
|
3905
3905
|
if (t == null)
|
|
3906
3906
|
return;
|
|
3907
3907
|
if (t in e)
|
|
@@ -3922,36 +3922,36 @@ function gi(e, t) {
|
|
|
3922
3922
|
n = void 0;
|
|
3923
3923
|
return n;
|
|
3924
3924
|
}
|
|
3925
|
-
const $ = {},
|
|
3925
|
+
const $ = {}, vi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), hr = (e, t) => {
|
|
3926
3926
|
if (t == null)
|
|
3927
3927
|
return;
|
|
3928
3928
|
if (t in $ && e in $[t])
|
|
3929
3929
|
return $[t][e];
|
|
3930
|
-
const r =
|
|
3930
|
+
const r = we(t);
|
|
3931
3931
|
for (let n = 0; n < r.length; n++) {
|
|
3932
|
-
const i = r[n], o =
|
|
3932
|
+
const i = r[n], o = _i(i, e);
|
|
3933
3933
|
if (o)
|
|
3934
|
-
return
|
|
3934
|
+
return vi(e, t, o);
|
|
3935
3935
|
}
|
|
3936
3936
|
};
|
|
3937
3937
|
let tt;
|
|
3938
|
-
const le =
|
|
3939
|
-
function
|
|
3938
|
+
const le = _e({});
|
|
3939
|
+
function Ei(e) {
|
|
3940
3940
|
return tt[e] || null;
|
|
3941
3941
|
}
|
|
3942
3942
|
function lr(e) {
|
|
3943
3943
|
return e in tt;
|
|
3944
3944
|
}
|
|
3945
|
-
function
|
|
3945
|
+
function _i(e, t) {
|
|
3946
3946
|
if (!lr(e))
|
|
3947
3947
|
return null;
|
|
3948
|
-
const r =
|
|
3949
|
-
return
|
|
3948
|
+
const r = Ei(e);
|
|
3949
|
+
return yi(r, t);
|
|
3950
3950
|
}
|
|
3951
|
-
function
|
|
3951
|
+
function xi(e) {
|
|
3952
3952
|
if (e == null)
|
|
3953
3953
|
return;
|
|
3954
|
-
const t =
|
|
3954
|
+
const t = we(e);
|
|
3955
3955
|
for (let r = 0; r < t.length; r++) {
|
|
3956
3956
|
const n = t[r];
|
|
3957
3957
|
if (lr(n))
|
|
@@ -3966,21 +3966,21 @@ Y(
|
|
|
3966
3966
|
([e]) => Object.keys(e)
|
|
3967
3967
|
);
|
|
3968
3968
|
le.subscribe((e) => tt = e);
|
|
3969
|
-
const
|
|
3970
|
-
function
|
|
3971
|
-
|
|
3969
|
+
const ge = {};
|
|
3970
|
+
function wi(e, t) {
|
|
3971
|
+
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
|
3972
3972
|
}
|
|
3973
3973
|
function fr(e) {
|
|
3974
|
-
return
|
|
3974
|
+
return ge[e];
|
|
3975
3975
|
}
|
|
3976
|
-
function
|
|
3977
|
-
return
|
|
3976
|
+
function Si(e) {
|
|
3977
|
+
return we(e).map((t) => {
|
|
3978
3978
|
const r = fr(t);
|
|
3979
3979
|
return [t, r ? [...r] : []];
|
|
3980
3980
|
}).filter(([, t]) => t.length > 0);
|
|
3981
3981
|
}
|
|
3982
3982
|
function Qe(e) {
|
|
3983
|
-
return e == null ? !1 :
|
|
3983
|
+
return e == null ? !1 : we(e).some(
|
|
3984
3984
|
(t) => {
|
|
3985
3985
|
var r;
|
|
3986
3986
|
return (r = fr(t)) == null ? void 0 : r.size;
|
|
@@ -3989,14 +3989,14 @@ function Qe(e) {
|
|
|
3989
3989
|
}
|
|
3990
3990
|
function Ti(e, t) {
|
|
3991
3991
|
return Promise.all(
|
|
3992
|
-
t.map((n) => (
|
|
3992
|
+
t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
|
|
3993
3993
|
).then((n) => cr(e, ...n));
|
|
3994
3994
|
}
|
|
3995
3995
|
const re = {};
|
|
3996
3996
|
function pr(e) {
|
|
3997
3997
|
if (!Qe(e))
|
|
3998
3998
|
return e in re ? re[e] : Promise.resolve();
|
|
3999
|
-
const t =
|
|
3999
|
+
const t = Si(e);
|
|
4000
4000
|
return re[e] = Promise.all(
|
|
4001
4001
|
t.map(
|
|
4002
4002
|
([r, n]) => Ti(r, n)
|
|
@@ -4047,7 +4047,7 @@ const Hi = {
|
|
|
4047
4047
|
function q() {
|
|
4048
4048
|
return Ai;
|
|
4049
4049
|
}
|
|
4050
|
-
const Me =
|
|
4050
|
+
const Me = _e(!1);
|
|
4051
4051
|
var Pi = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
|
|
4052
4052
|
for (var r in t || (t = {}))
|
|
4053
4053
|
Ci.call(t, r) && Pt(e, r, t[r]);
|
|
@@ -4057,56 +4057,56 @@ var Pi = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwn
|
|
|
4057
4057
|
return e;
|
|
4058
4058
|
}, Li = (e, t) => Oi(e, Ii(t));
|
|
4059
4059
|
let qe;
|
|
4060
|
-
const
|
|
4060
|
+
const ye = _e(null);
|
|
4061
4061
|
function Ot(e) {
|
|
4062
4062
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4063
4063
|
}
|
|
4064
|
-
function
|
|
4064
|
+
function we(e, t = q().fallbackLocale) {
|
|
4065
4065
|
const r = Ot(e);
|
|
4066
4066
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
|
|
4067
4067
|
}
|
|
4068
4068
|
function U() {
|
|
4069
4069
|
return qe != null ? qe : void 0;
|
|
4070
4070
|
}
|
|
4071
|
-
|
|
4071
|
+
ye.subscribe((e) => {
|
|
4072
4072
|
qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4073
4073
|
});
|
|
4074
4074
|
const Ri = (e) => {
|
|
4075
|
-
if (e &&
|
|
4075
|
+
if (e && xi(e) && Qe(e)) {
|
|
4076
4076
|
const { loadingDelay: t } = q();
|
|
4077
4077
|
let r;
|
|
4078
4078
|
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
4079
4079
|
() => Me.set(!0),
|
|
4080
4080
|
t
|
|
4081
4081
|
) : Me.set(!0), pr(e).then(() => {
|
|
4082
|
-
|
|
4082
|
+
ye.set(e);
|
|
4083
4083
|
}).finally(() => {
|
|
4084
4084
|
clearTimeout(r), Me.set(!1);
|
|
4085
4085
|
});
|
|
4086
4086
|
}
|
|
4087
|
-
return
|
|
4088
|
-
}, K = Li(Ni({},
|
|
4087
|
+
return ye.set(e);
|
|
4088
|
+
}, K = Li(Ni({}, ye), {
|
|
4089
4089
|
set: Ri
|
|
4090
|
-
}),
|
|
4090
|
+
}), Se = (e) => {
|
|
4091
4091
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4092
4092
|
return (n) => {
|
|
4093
4093
|
const i = JSON.stringify(n);
|
|
4094
4094
|
return i in t ? t[i] : t[i] = e(n);
|
|
4095
4095
|
};
|
|
4096
4096
|
};
|
|
4097
|
-
var Di = Object.defineProperty,
|
|
4097
|
+
var Di = Object.defineProperty, ve = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
4098
4098
|
for (var r in t || (t = {}))
|
|
4099
4099
|
dr.call(t, r) && It(e, r, t[r]);
|
|
4100
|
-
if (
|
|
4101
|
-
for (var r of
|
|
4100
|
+
if (ve)
|
|
4101
|
+
for (var r of ve(t))
|
|
4102
4102
|
mr.call(t, r) && It(e, r, t[r]);
|
|
4103
4103
|
return e;
|
|
4104
4104
|
}, ee = (e, t) => {
|
|
4105
4105
|
var r = {};
|
|
4106
4106
|
for (var n in e)
|
|
4107
4107
|
dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4108
|
-
if (e != null &&
|
|
4109
|
-
for (var n of
|
|
4108
|
+
if (e != null && ve)
|
|
4109
|
+
for (var n of ve(e))
|
|
4110
4110
|
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
|
4111
4111
|
return r;
|
|
4112
4112
|
};
|
|
@@ -4115,21 +4115,21 @@ const ae = (e, t) => {
|
|
|
4115
4115
|
if (e in r && t in r[e])
|
|
4116
4116
|
return r[e][t];
|
|
4117
4117
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4118
|
-
}, $i =
|
|
4118
|
+
}, $i = Se(
|
|
4119
4119
|
(e) => {
|
|
4120
4120
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4121
4121
|
if (r == null)
|
|
4122
4122
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4123
4123
|
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
4124
4124
|
}
|
|
4125
|
-
), Ui =
|
|
4125
|
+
), Ui = Se(
|
|
4126
4126
|
(e) => {
|
|
4127
4127
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4128
4128
|
if (r == null)
|
|
4129
4129
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4130
4130
|
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4131
4131
|
}
|
|
4132
|
-
), Gi =
|
|
4132
|
+
), Gi = Se(
|
|
4133
4133
|
(e) => {
|
|
4134
4134
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4135
4135
|
if (r == null)
|
|
@@ -4159,9 +4159,9 @@ const ae = (e, t) => {
|
|
|
4159
4159
|
"locale"
|
|
4160
4160
|
]);
|
|
4161
4161
|
return Gi(rt({ locale: r }, n));
|
|
4162
|
-
}, Vi =
|
|
4162
|
+
}, Vi = Se(
|
|
4163
4163
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4164
|
-
(e, t = U()) => new
|
|
4164
|
+
(e, t = U()) => new gi(e, t, q().formats, {
|
|
4165
4165
|
ignoreTag: q().ignoreTag
|
|
4166
4166
|
})
|
|
4167
4167
|
), Xi = (e, t = {}) => {
|
|
@@ -4252,32 +4252,32 @@ const Mt = {
|
|
|
4252
4252
|
}
|
|
4253
4253
|
};
|
|
4254
4254
|
function Ki(e) {
|
|
4255
|
-
Pr(e, "svelte-
|
|
4255
|
+
Pr(e, "svelte-141ijwb", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{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%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.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))}.DepositTitle{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)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
|
|
4256
4256
|
}
|
|
4257
4257
|
function eo(e) {
|
|
4258
4258
|
let t, r, n, i, o, s, a, h, u, l, c = (
|
|
4259
4259
|
/*$_*/
|
|
4260
4260
|
e[4]("titleDeposit") + ""
|
|
4261
|
-
), f, d,
|
|
4261
|
+
), f, d, y;
|
|
4262
4262
|
return {
|
|
4263
4263
|
c() {
|
|
4264
|
-
t = L("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ie(".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 = ie(c),
|
|
4264
|
+
t = L("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ie(".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 = ie(c), _(h, "class", "aaa"), _(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), _(h, "transform", "translate(15 15) rotate(180)"), _(a, "transform", "translate(20 158)"), _(s, "transform", "translate(-20 -158)"), _(r, "xmlns", "http://www.w3.org/2000/svg"), _(r, "width", "15"), _(r, "height", "15"), _(r, "viewBox", "0 0 15 15"), _(l, "class", "DepositTitleMobile"), _(t, "class", "MenuReturnButton");
|
|
4265
4265
|
},
|
|
4266
|
-
m(m,
|
|
4267
|
-
he(m, t,
|
|
4266
|
+
m(m, w) {
|
|
4267
|
+
he(m, t, w), 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), d || (y = Cr(
|
|
4268
4268
|
t,
|
|
4269
4269
|
"click",
|
|
4270
4270
|
/*click_handler*/
|
|
4271
4271
|
e[17]
|
|
4272
4272
|
), d = !0);
|
|
4273
4273
|
},
|
|
4274
|
-
p(m,
|
|
4275
|
-
|
|
4274
|
+
p(m, w) {
|
|
4275
|
+
w & /*$_*/
|
|
4276
4276
|
16 && c !== (c = /*$_*/
|
|
4277
4277
|
m[4]("titleDeposit") + "") && Ye(f, c);
|
|
4278
4278
|
},
|
|
4279
4279
|
d(m) {
|
|
4280
|
-
m && J(t), d = !1,
|
|
4280
|
+
m && J(t), d = !1, y();
|
|
4281
4281
|
}
|
|
4282
4282
|
};
|
|
4283
4283
|
}
|
|
@@ -4286,15 +4286,15 @@ function to(e) {
|
|
|
4286
4286
|
return {
|
|
4287
4287
|
c() {
|
|
4288
4288
|
t = L("div"), r = L("iframe"), ht(r.src, n = /*iframeUrl*/
|
|
4289
|
-
e[3]) ||
|
|
4289
|
+
e[3]) || _(r, "src", n), _(r, "title", "Deposit Iframe"), _(t, "class", "DepositIframeWrapper");
|
|
4290
4290
|
},
|
|
4291
4291
|
m(i, o) {
|
|
4292
|
-
he(i, t, o),
|
|
4292
|
+
he(i, t, o), x(t, r);
|
|
4293
4293
|
},
|
|
4294
4294
|
p(i, o) {
|
|
4295
4295
|
o & /*iframeUrl*/
|
|
4296
4296
|
8 && !ht(r.src, n = /*iframeUrl*/
|
|
4297
|
-
i[3]) &&
|
|
4297
|
+
i[3]) && _(r, "src", n);
|
|
4298
4298
|
},
|
|
4299
4299
|
d(i) {
|
|
4300
4300
|
i && J(t);
|
|
@@ -4311,7 +4311,7 @@ function ro(e) {
|
|
|
4311
4311
|
t = L("p"), n = ie(r);
|
|
4312
4312
|
},
|
|
4313
4313
|
m(i, o) {
|
|
4314
|
-
he(i, t, o),
|
|
4314
|
+
he(i, t, o), x(t, n);
|
|
4315
4315
|
},
|
|
4316
4316
|
p(i, o) {
|
|
4317
4317
|
o & /*$_*/
|
|
@@ -4340,9 +4340,9 @@ function no(e) {
|
|
|
4340
4340
|
let u = h(e), l = u(e);
|
|
4341
4341
|
return {
|
|
4342
4342
|
c() {
|
|
4343
|
-
t = L("div"), a && a.c(), r = Ne(), n = L("h2"), o = ie(i), s = Ne(), l.c(),
|
|
4344
|
-
(e[5] ? "DepositTitleNone" : "")
|
|
4345
|
-
(e[5] ? "DepositWrapperMobile" : "")
|
|
4343
|
+
t = L("div"), a && a.c(), r = Ne(), n = L("h2"), o = ie(i), s = Ne(), l.c(), _(n, "class", "DepositTitle " + /*isMobile*/
|
|
4344
|
+
(e[5] ? "DepositTitleNone" : "")), _(t, "class", "DepositWrapper " + /*isMobile*/
|
|
4345
|
+
(e[5] ? "DepositWrapperMobile" : "")), lt(
|
|
4346
4346
|
t,
|
|
4347
4347
|
"--dynamic-height",
|
|
4348
4348
|
/*dynamicHeight*/
|
|
@@ -4350,7 +4350,7 @@ function no(e) {
|
|
|
4350
4350
|
);
|
|
4351
4351
|
},
|
|
4352
4352
|
m(c, f) {
|
|
4353
|
-
he(c, t, f), a && a.m(t, null),
|
|
4353
|
+
he(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[18](t);
|
|
4354
4354
|
},
|
|
4355
4355
|
p(c, [f]) {
|
|
4356
4356
|
/*isMobile*/
|
|
@@ -4374,7 +4374,7 @@ function no(e) {
|
|
|
4374
4374
|
function io(e, t, r) {
|
|
4375
4375
|
let n, i;
|
|
4376
4376
|
Ar(e, qi, (p) => r(4, i = p));
|
|
4377
|
-
let { endpoint: o = "" } = t, { session: s = "" } = t, { playerid: a = "" } = t, { lang: h = "en" } = t, { hasdefaultamount: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { playercurrency: d = "" } = t, { shortcashierenabled:
|
|
4377
|
+
let { endpoint: o = "" } = t, { session: s = "" } = t, { playerid: a = "" } = t, { lang: h = "en" } = t, { hasdefaultamount: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { playercurrency: d = "" } = t, { shortcashierenabled: y = "false" } = t, m, w = window.navigator.userAgent, D = Ji(w) !== "PC", C = !0, T, M = 0, I = "";
|
|
4378
4378
|
const G = () => {
|
|
4379
4379
|
fetch(f).then((P) => P.json()).then((P) => {
|
|
4380
4380
|
Object.keys(P).forEach((H) => {
|
|
@@ -4424,7 +4424,7 @@ function io(e, t, r) {
|
|
|
4424
4424
|
}
|
|
4425
4425
|
}, br = () => {
|
|
4426
4426
|
let p = new URL(`${o}/v1/player/${a}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
|
|
4427
|
-
if (p.searchParams.append("language", h), n && p.searchParams.append("isShortCashier",
|
|
4427
|
+
if (p.searchParams.append("language", h), n && p.searchParams.append("isShortCashier", y), u)
|
|
4428
4428
|
switch (d) {
|
|
4429
4429
|
case "USD":
|
|
4430
4430
|
M = 0.4;
|
|
@@ -4440,7 +4440,7 @@ function io(e, t, r) {
|
|
|
4440
4440
|
currency: d || "EUR",
|
|
4441
4441
|
amount: M,
|
|
4442
4442
|
cashierMode: "Default",
|
|
4443
|
-
IsShortCashier:
|
|
4443
|
+
IsShortCashier: y,
|
|
4444
4444
|
accept: "application/json"
|
|
4445
4445
|
}
|
|
4446
4446
|
};
|
|
@@ -4452,12 +4452,12 @@ function io(e, t, r) {
|
|
|
4452
4452
|
console.error(H);
|
|
4453
4453
|
}
|
|
4454
4454
|
);
|
|
4455
|
-
}, vr = () => {
|
|
4456
|
-
Yi(h);
|
|
4457
4455
|
}, gr = () => {
|
|
4456
|
+
Yi(h);
|
|
4457
|
+
}, yr = () => {
|
|
4458
4458
|
let p = document.createElement("style");
|
|
4459
4459
|
p.innerHTML = l, m.appendChild(p);
|
|
4460
|
-
},
|
|
4460
|
+
}, vr = () => {
|
|
4461
4461
|
let p = new URL(c), P = document.createElement("style");
|
|
4462
4462
|
fetch(p.href).then((H) => H.text()).then((H) => {
|
|
4463
4463
|
P.innerHTML = H, setTimeout(
|
|
@@ -4471,22 +4471,22 @@ function io(e, t, r) {
|
|
|
4471
4471
|
Rr(() => (window.addEventListener("message", nt, !1), () => {
|
|
4472
4472
|
window.removeEventListener("message", nt);
|
|
4473
4473
|
}));
|
|
4474
|
-
const
|
|
4475
|
-
function
|
|
4474
|
+
const Er = () => te();
|
|
4475
|
+
function _r(p) {
|
|
4476
4476
|
Le[p ? "unshift" : "push"](() => {
|
|
4477
4477
|
m = p, r(0, m);
|
|
4478
4478
|
});
|
|
4479
4479
|
}
|
|
4480
4480
|
return e.$$set = (p) => {
|
|
4481
|
-
"endpoint" in p && r(8, o = p.endpoint), "session" in p && r(9, s = p.session), "playerid" in p && r(10, a = p.playerid), "lang" in p && r(11, h = p.lang), "hasdefaultamount" in p && r(12, u = p.hasdefaultamount), "clientstyling" in p && r(13, l = p.clientstyling), "clientstylingurl" in p && r(14, c = p.clientstylingurl), "translationurl" in p && r(15, f = p.translationurl), "playercurrency" in p && r(7, d = p.playercurrency), "shortcashierenabled" in p && r(16,
|
|
4481
|
+
"endpoint" in p && r(8, o = p.endpoint), "session" in p && r(9, s = p.session), "playerid" in p && r(10, a = p.playerid), "lang" in p && r(11, h = p.lang), "hasdefaultamount" in p && r(12, u = p.hasdefaultamount), "clientstyling" in p && r(13, l = p.clientstyling), "clientstylingurl" in p && r(14, c = p.clientstylingurl), "translationurl" in p && r(15, f = p.translationurl), "playercurrency" in p && r(7, d = p.playercurrency), "shortcashierenabled" in p && r(16, y = p.shortcashierenabled);
|
|
4482
4482
|
}, e.$$.update = () => {
|
|
4483
4483
|
e.$$.dirty & /*lang*/
|
|
4484
|
-
2048 && h &&
|
|
4485
|
-
65536 && (n =
|
|
4486
|
-
16385 && c && m &&
|
|
4487
|
-
8193 && l && m &&
|
|
4484
|
+
2048 && h && gr(), e.$$.dirty & /*shortcashierenabled*/
|
|
4485
|
+
65536 && (n = y.toLocaleLowerCase() === "true"), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4486
|
+
16385 && c && m && vr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4487
|
+
8193 && l && m && yr(), e.$$.dirty & /*translationurl*/
|
|
4488
4488
|
32768 && f && G(), e.$$.dirty & /*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/
|
|
4489
|
-
69504 && s && a && o && d && h &&
|
|
4489
|
+
69504 && s && a && o && d && h && y && br();
|
|
4490
4490
|
}, [
|
|
4491
4491
|
m,
|
|
4492
4492
|
C,
|
|
@@ -4504,9 +4504,9 @@ function io(e, t, r) {
|
|
|
4504
4504
|
l,
|
|
4505
4505
|
c,
|
|
4506
4506
|
f,
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4507
|
+
y,
|
|
4508
|
+
Er,
|
|
4509
|
+
_r
|
|
4510
4510
|
];
|
|
4511
4511
|
}
|
|
4512
4512
|
class oo extends Zr {
|