@everymatrix/player-account-closure 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/{PlayerAccountClosure-CGlF5YPt.js → PlayerAccountClosure-BvDh74gB.js} +92 -92
- package/components/{PlayerAccountClosure-D19E06H7.js → PlayerAccountClosure-Bw9vL9Qi.js} +90 -90
- package/components/{PlayerAccountClosure-CzwEyfFD.cjs → PlayerAccountClosure-JmJZtXwj.cjs} +3 -3
- package/es2015/player-account-closure.cjs +1 -1
- package/es2015/player-account-closure.js +1 -1
- package/esnext/player-account-closure.js +1 -1
- package/package.json +1 -1
|
@@ -30,7 +30,7 @@ function wt(e, ...t) {
|
|
|
30
30
|
function ir(e, t, r) {
|
|
31
31
|
e.$$.on_destroy.push(wt(t, r));
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function v(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
36
|
function or(e, t, r) {
|
|
@@ -50,13 +50,13 @@ function sr(e) {
|
|
|
50
50
|
) : e.ownerDocument;
|
|
51
51
|
}
|
|
52
52
|
function ar(e, t) {
|
|
53
|
-
return
|
|
53
|
+
return v(
|
|
54
54
|
/** @type {Document} */
|
|
55
55
|
e.head || e,
|
|
56
56
|
t
|
|
57
57
|
), t.sheet;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function ye(e, t, r) {
|
|
60
60
|
e.insertBefore(t, r || null);
|
|
61
61
|
}
|
|
62
62
|
function ue(e) {
|
|
@@ -158,14 +158,14 @@ function br(e, t, r) {
|
|
|
158
158
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
|
159
159
|
}), i.forEach(Ne);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function vr(e, t) {
|
|
162
162
|
const r = e.$$;
|
|
163
163
|
r.fragment !== null && (pr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function gr(e, t) {
|
|
166
166
|
e.$$.dirty[0] === -1 && (V.push(e), hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function yr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
169
169
|
const l = qe;
|
|
170
170
|
oe(e);
|
|
171
171
|
const u = e.$$ = {
|
|
@@ -193,7 +193,7 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
193
193
|
let c = !1;
|
|
194
194
|
if (u.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
|
|
195
195
|
const m = p.length ? p[0] : f;
|
|
196
|
-
return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c &&
|
|
196
|
+
return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && gr(e, h)), f;
|
|
197
197
|
}) : [], u.update(), c = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
198
198
|
if (t.hydrate) {
|
|
199
199
|
const h = ur(t.target);
|
|
@@ -254,7 +254,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
254
254
|
* @param {HTMLElement} [anchor]
|
|
255
255
|
*/
|
|
256
256
|
m: function(l, u) {
|
|
257
|
-
|
|
257
|
+
ye(l, o, u);
|
|
258
258
|
},
|
|
259
259
|
d: function(l) {
|
|
260
260
|
l && ue(o);
|
|
@@ -399,7 +399,7 @@ class Er {
|
|
|
399
399
|
$$set = void 0;
|
|
400
400
|
/** @returns {void} */
|
|
401
401
|
$destroy() {
|
|
402
|
-
|
|
402
|
+
vr(this, 1), this.$destroy = I;
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -442,14 +442,14 @@ function R(e, t) {
|
|
|
442
442
|
}
|
|
443
443
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
444
444
|
}
|
|
445
|
-
var
|
|
446
|
-
return
|
|
445
|
+
var y = function() {
|
|
446
|
+
return y = Object.assign || function(t) {
|
|
447
447
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
448
448
|
r = arguments[n];
|
|
449
449
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
450
450
|
}
|
|
451
451
|
return t;
|
|
452
|
-
},
|
|
452
|
+
}, y.apply(this, arguments);
|
|
453
453
|
};
|
|
454
454
|
function Cr(e, t) {
|
|
455
455
|
var r = {};
|
|
@@ -1329,7 +1329,7 @@ function Vt(e) {
|
|
|
1329
1329
|
};
|
|
1330
1330
|
}
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1332
|
+
function vn(e) {
|
|
1333
1333
|
var t;
|
|
1334
1334
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1335
1335
|
notation: "engineering"
|
|
@@ -1347,7 +1347,7 @@ function ht(e) {
|
|
|
1347
1347
|
var t = {}, r = Vt(e);
|
|
1348
1348
|
return r || t;
|
|
1349
1349
|
}
|
|
1350
|
-
function
|
|
1350
|
+
function gn(e) {
|
|
1351
1351
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1352
1352
|
var i = n[r];
|
|
1353
1353
|
switch (i.stem) {
|
|
@@ -1382,13 +1382,13 @@ function yn(e) {
|
|
|
1382
1382
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1383
1383
|
continue;
|
|
1384
1384
|
case "scientific":
|
|
1385
|
-
t =
|
|
1386
|
-
return
|
|
1385
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1386
|
+
return y(y({}, l), ht(u));
|
|
1387
1387
|
}, {}));
|
|
1388
1388
|
continue;
|
|
1389
1389
|
case "engineering":
|
|
1390
|
-
t =
|
|
1391
|
-
return
|
|
1390
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1391
|
+
return y(y({}, l), ht(u));
|
|
1392
1392
|
}, {}));
|
|
1393
1393
|
continue;
|
|
1394
1394
|
case "notation-simple":
|
|
@@ -1457,17 +1457,17 @@ function yn(e) {
|
|
|
1457
1457
|
return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1458
1458
|
});
|
|
1459
1459
|
var o = i.options[0];
|
|
1460
|
-
o === "w" ? t =
|
|
1460
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ct(o)));
|
|
1461
1461
|
continue;
|
|
1462
1462
|
}
|
|
1463
1463
|
if (zt.test(i.stem)) {
|
|
1464
|
-
t =
|
|
1464
|
+
t = y(y({}, t), ct(i.stem));
|
|
1465
1465
|
continue;
|
|
1466
1466
|
}
|
|
1467
1467
|
var s = Vt(i.stem);
|
|
1468
|
-
s && (t =
|
|
1469
|
-
var a =
|
|
1470
|
-
a && (t =
|
|
1468
|
+
s && (t = y(y({}, t), s));
|
|
1469
|
+
var a = vn(i.stem);
|
|
1470
|
+
a && (t = y(y({}, t), a));
|
|
1471
1471
|
}
|
|
1472
1472
|
return t;
|
|
1473
1473
|
}
|
|
@@ -2886,7 +2886,7 @@ var he = {
|
|
|
2886
2886
|
"h"
|
|
2887
2887
|
]
|
|
2888
2888
|
};
|
|
2889
|
-
function
|
|
2889
|
+
function yn(e, t) {
|
|
2890
2890
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2891
2891
|
var i = e.charAt(n);
|
|
2892
2892
|
if (i === "j") {
|
|
@@ -2924,7 +2924,7 @@ function xn(e) {
|
|
|
2924
2924
|
return i[0];
|
|
2925
2925
|
}
|
|
2926
2926
|
var He, En = new RegExp("^".concat(kt.source, "*")), _n = new RegExp("".concat(kt.source, "*$"));
|
|
2927
|
-
function
|
|
2927
|
+
function g(e, t) {
|
|
2928
2928
|
return { start: e, end: t };
|
|
2929
2929
|
}
|
|
2930
2930
|
var Cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, wn = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Mn = Hn ? Number.isSafeInteger : function(e) {
|
|
@@ -3052,12 +3052,12 @@ var Nn = (
|
|
|
3052
3052
|
var a = this.clonePosition();
|
|
3053
3053
|
this.bump(), i.push({
|
|
3054
3054
|
type: C.pound,
|
|
3055
|
-
location:
|
|
3055
|
+
location: g(a, this.clonePosition())
|
|
3056
3056
|
});
|
|
3057
3057
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3058
3058
|
if (n)
|
|
3059
3059
|
break;
|
|
3060
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3060
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3061
3061
|
} else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
|
|
3062
3062
|
var s = this.parseTag(t, r);
|
|
3063
3063
|
if (s.err)
|
|
@@ -3081,7 +3081,7 @@ var Nn = (
|
|
|
3081
3081
|
val: {
|
|
3082
3082
|
type: C.literal,
|
|
3083
3083
|
value: "<".concat(i, "/>"),
|
|
3084
|
-
location:
|
|
3084
|
+
location: g(n, this.clonePosition())
|
|
3085
3085
|
},
|
|
3086
3086
|
err: null
|
|
3087
3087
|
};
|
|
@@ -3092,21 +3092,21 @@ var Nn = (
|
|
|
3092
3092
|
var s = o.val, a = this.clonePosition();
|
|
3093
3093
|
if (this.bumpIf("</")) {
|
|
3094
3094
|
if (this.isEOF() || !ze(this.char()))
|
|
3095
|
-
return this.error(b.INVALID_TAG,
|
|
3095
|
+
return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
|
|
3096
3096
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3097
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3097
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3098
3098
|
val: {
|
|
3099
3099
|
type: C.tag,
|
|
3100
3100
|
value: i,
|
|
3101
3101
|
children: s,
|
|
3102
|
-
location:
|
|
3102
|
+
location: g(n, this.clonePosition())
|
|
3103
3103
|
},
|
|
3104
3104
|
err: null
|
|
3105
|
-
} : this.error(b.INVALID_TAG,
|
|
3105
|
+
} : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
|
|
3106
3106
|
} else
|
|
3107
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3107
|
+
return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3108
3108
|
} else
|
|
3109
|
-
return this.error(b.INVALID_TAG,
|
|
3109
|
+
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3110
3110
|
}, e.prototype.parseTagName = function() {
|
|
3111
3111
|
var t = this.offset();
|
|
3112
3112
|
for (this.bump(); !this.isEOF() && $n(this.char()); )
|
|
@@ -3131,7 +3131,7 @@ var Nn = (
|
|
|
3131
3131
|
}
|
|
3132
3132
|
break;
|
|
3133
3133
|
}
|
|
3134
|
-
var l =
|
|
3134
|
+
var l = g(n, this.clonePosition());
|
|
3135
3135
|
return {
|
|
3136
3136
|
val: { type: C.literal, value: i, location: l },
|
|
3137
3137
|
err: null
|
|
@@ -3181,14 +3181,14 @@ var Nn = (
|
|
|
3181
3181
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3182
3182
|
var n = this.clonePosition();
|
|
3183
3183
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3184
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3184
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3185
3185
|
if (this.char() === 125)
|
|
3186
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3186
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3187
3187
|
var i = this.parseIdentifierIfPossible().value;
|
|
3188
3188
|
if (!i)
|
|
3189
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3189
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3190
3190
|
if (this.bumpSpace(), this.isEOF())
|
|
3191
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3191
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3192
3192
|
switch (this.char()) {
|
|
3193
3193
|
case 125:
|
|
3194
3194
|
return this.bump(), {
|
|
@@ -3196,25 +3196,25 @@ var Nn = (
|
|
|
3196
3196
|
type: C.argument,
|
|
3197
3197
|
// value does not include the opening and closing braces.
|
|
3198
3198
|
value: i,
|
|
3199
|
-
location:
|
|
3199
|
+
location: g(n, this.clonePosition())
|
|
3200
3200
|
},
|
|
3201
3201
|
err: null
|
|
3202
3202
|
};
|
|
3203
3203
|
case 44:
|
|
3204
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3204
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3205
3205
|
default:
|
|
3206
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3206
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3207
3207
|
}
|
|
3208
3208
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3209
3209
|
var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
|
|
3210
3210
|
this.bumpTo(i);
|
|
3211
|
-
var o = this.clonePosition(), s =
|
|
3211
|
+
var o = this.clonePosition(), s = g(t, o);
|
|
3212
3212
|
return { value: n, location: s };
|
|
3213
3213
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3214
3214
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3215
3215
|
switch (a) {
|
|
3216
3216
|
case "":
|
|
3217
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3217
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, l));
|
|
3218
3218
|
case "number":
|
|
3219
3219
|
case "date":
|
|
3220
3220
|
case "time": {
|
|
@@ -3227,14 +3227,14 @@ var Nn = (
|
|
|
3227
3227
|
return h;
|
|
3228
3228
|
var f = In(h.val);
|
|
3229
3229
|
if (f.length === 0)
|
|
3230
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3231
|
-
var p =
|
|
3230
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3231
|
+
var p = g(c, this.clonePosition());
|
|
3232
3232
|
u = { style: f, styleLocation: p };
|
|
3233
3233
|
}
|
|
3234
3234
|
var m = this.tryParseArgumentClose(i);
|
|
3235
3235
|
if (m.err)
|
|
3236
3236
|
return m;
|
|
3237
|
-
var d =
|
|
3237
|
+
var d = g(i, this.clonePosition());
|
|
3238
3238
|
if (u && ft(u?.style, "::", 0)) {
|
|
3239
3239
|
var A = On(u.style.slice(2));
|
|
3240
3240
|
if (a === "number") {
|
|
@@ -3247,7 +3247,7 @@ var Nn = (
|
|
|
3247
3247
|
if (A.length === 0)
|
|
3248
3248
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3249
3249
|
var P = A;
|
|
3250
|
-
this.locale && (P =
|
|
3250
|
+
this.locale && (P = yn(A, this.locale));
|
|
3251
3251
|
var f = {
|
|
3252
3252
|
type: Y.dateTime,
|
|
3253
3253
|
pattern: P,
|
|
@@ -3275,12 +3275,12 @@ var Nn = (
|
|
|
3275
3275
|
case "select": {
|
|
3276
3276
|
var w = this.clonePosition();
|
|
3277
3277
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3278
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3278
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, y({}, w)));
|
|
3279
3279
|
this.bumpSpace();
|
|
3280
3280
|
var H = this.parseIdentifierIfPossible(), _ = 0;
|
|
3281
3281
|
if (a !== "select" && H.value === "offset") {
|
|
3282
3282
|
if (!this.bumpIf(":"))
|
|
3283
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3283
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3284
3284
|
this.bumpSpace();
|
|
3285
3285
|
var h = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3286
3286
|
if (h.err)
|
|
@@ -3293,7 +3293,7 @@ var Nn = (
|
|
|
3293
3293
|
var m = this.tryParseArgumentClose(i);
|
|
3294
3294
|
if (m.err)
|
|
3295
3295
|
return m;
|
|
3296
|
-
var O =
|
|
3296
|
+
var O = g(i, this.clonePosition());
|
|
3297
3297
|
return a === "select" ? {
|
|
3298
3298
|
val: {
|
|
3299
3299
|
type: C.select,
|
|
@@ -3315,10 +3315,10 @@ var Nn = (
|
|
|
3315
3315
|
};
|
|
3316
3316
|
}
|
|
3317
3317
|
default:
|
|
3318
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3318
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, g(s, l));
|
|
3319
3319
|
}
|
|
3320
3320
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3321
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3321
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3322
3322
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3323
3323
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3324
3324
|
var n = this.char();
|
|
@@ -3327,7 +3327,7 @@ var Nn = (
|
|
|
3327
3327
|
this.bump();
|
|
3328
3328
|
var i = this.clonePosition();
|
|
3329
3329
|
if (!this.bumpUntil("'"))
|
|
3330
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3330
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
3331
3331
|
this.bump();
|
|
3332
3332
|
break;
|
|
3333
3333
|
}
|
|
@@ -3366,7 +3366,7 @@ var Nn = (
|
|
|
3366
3366
|
type: Y.number,
|
|
3367
3367
|
tokens: n,
|
|
3368
3368
|
location: r,
|
|
3369
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3369
|
+
parsedOptions: this.shouldParseSkeletons ? gn(n) : {}
|
|
3370
3370
|
},
|
|
3371
3371
|
err: null
|
|
3372
3372
|
};
|
|
@@ -3378,7 +3378,7 @@ var Nn = (
|
|
|
3378
3378
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3379
3379
|
if (f.err)
|
|
3380
3380
|
return f;
|
|
3381
|
-
c =
|
|
3381
|
+
c = g(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
|
|
3382
3382
|
} else
|
|
3383
3383
|
break;
|
|
3384
3384
|
}
|
|
@@ -3387,7 +3387,7 @@ var Nn = (
|
|
|
3387
3387
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3388
3388
|
var p = this.clonePosition();
|
|
3389
3389
|
if (!this.bumpIf("{"))
|
|
3390
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3390
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3391
3391
|
var m = this.parseMessage(t + 1, r, n);
|
|
3392
3392
|
if (m.err)
|
|
3393
3393
|
return m;
|
|
@@ -3398,11 +3398,11 @@ var Nn = (
|
|
|
3398
3398
|
u,
|
|
3399
3399
|
{
|
|
3400
3400
|
value: m.val,
|
|
3401
|
-
location:
|
|
3401
|
+
location: g(p, this.clonePosition())
|
|
3402
3402
|
}
|
|
3403
3403
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
|
|
3404
3404
|
}
|
|
3405
|
-
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3405
|
+
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 };
|
|
3406
3406
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3407
3407
|
var n = 1, i = this.clonePosition();
|
|
3408
3408
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3413,7 +3413,7 @@ var Nn = (
|
|
|
3413
3413
|
else
|
|
3414
3414
|
break;
|
|
3415
3415
|
}
|
|
3416
|
-
var l =
|
|
3416
|
+
var l = g(i, this.clonePosition());
|
|
3417
3417
|
return o ? (s *= n, Mn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3418
3418
|
}, e.prototype.offset = function() {
|
|
3419
3419
|
return this.position.offset;
|
|
@@ -3504,7 +3504,7 @@ function We(e) {
|
|
|
3504
3504
|
});
|
|
3505
3505
|
}
|
|
3506
3506
|
function Dn(e, t) {
|
|
3507
|
-
t === void 0 && (t = {}), t =
|
|
3507
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3508
3508
|
var r = new Nn(e, t).parse();
|
|
3509
3509
|
if (r.err) {
|
|
3510
3510
|
var n = SyntaxError(b[r.err.kind]);
|
|
@@ -3667,14 +3667,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3667
3667
|
return Gn(a);
|
|
3668
3668
|
}
|
|
3669
3669
|
function kn(e, t) {
|
|
3670
|
-
return t ?
|
|
3671
|
-
return r[n] =
|
|
3670
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3671
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3672
3672
|
}, {})) : e;
|
|
3673
3673
|
}
|
|
3674
3674
|
function zn(e, t) {
|
|
3675
3675
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3676
3676
|
return r[n] = kn(e[n], t[n]), r;
|
|
3677
|
-
},
|
|
3677
|
+
}, y({}, e)) : e;
|
|
3678
3678
|
}
|
|
3679
3679
|
function Me(e) {
|
|
3680
3680
|
return {
|
|
@@ -3755,7 +3755,7 @@ var Vn = (
|
|
|
3755
3755
|
var s = i || {};
|
|
3756
3756
|
s.formatters;
|
|
3757
3757
|
var a = Cr(s, ["formatters"]);
|
|
3758
|
-
this.ast = e.__parse(t,
|
|
3758
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3759
3759
|
} else
|
|
3760
3760
|
this.ast = t;
|
|
3761
3761
|
if (!Array.isArray(this.ast))
|
|
@@ -3981,27 +3981,27 @@ function K() {
|
|
|
3981
3981
|
return ni;
|
|
3982
3982
|
}
|
|
3983
3983
|
const Pe = Ee(!1);
|
|
3984
|
-
var ii = Object.defineProperty, oi = Object.defineProperties, si = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable,
|
|
3984
|
+
var ii = Object.defineProperty, oi = Object.defineProperties, si = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, li = (e, t) => {
|
|
3985
3985
|
for (var r in t || (t = {}))
|
|
3986
|
-
ai.call(t, r) &&
|
|
3986
|
+
ai.call(t, r) && vt(e, r, t[r]);
|
|
3987
3987
|
if (bt)
|
|
3988
3988
|
for (var r of bt(t))
|
|
3989
|
-
ui.call(t, r) &&
|
|
3989
|
+
ui.call(t, r) && vt(e, r, t[r]);
|
|
3990
3990
|
return e;
|
|
3991
3991
|
}, ci = (e, t) => oi(e, si(t));
|
|
3992
3992
|
let Xe;
|
|
3993
|
-
const
|
|
3994
|
-
function
|
|
3993
|
+
const ve = Ee(null);
|
|
3994
|
+
function gt(e) {
|
|
3995
3995
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3996
3996
|
}
|
|
3997
3997
|
function Ce(e, t = K().fallbackLocale) {
|
|
3998
|
-
const r =
|
|
3999
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3998
|
+
const r = gt(e);
|
|
3999
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
|
|
4000
4000
|
}
|
|
4001
4001
|
function G() {
|
|
4002
4002
|
return Xe ?? void 0;
|
|
4003
4003
|
}
|
|
4004
|
-
|
|
4004
|
+
ve.subscribe((e) => {
|
|
4005
4005
|
Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4006
4006
|
});
|
|
4007
4007
|
const hi = (e) => {
|
|
@@ -4012,13 +4012,13 @@ const hi = (e) => {
|
|
|
4012
4012
|
() => Pe.set(!0),
|
|
4013
4013
|
t
|
|
4014
4014
|
) : Pe.set(!0), er(e).then(() => {
|
|
4015
|
-
|
|
4015
|
+
ve.set(e);
|
|
4016
4016
|
}).finally(() => {
|
|
4017
4017
|
clearTimeout(r), Pe.set(!1);
|
|
4018
4018
|
});
|
|
4019
4019
|
}
|
|
4020
|
-
return
|
|
4021
|
-
}, re = ci(li({},
|
|
4020
|
+
return ve.set(e);
|
|
4021
|
+
}, re = ci(li({}, ve), {
|
|
4022
4022
|
set: hi
|
|
4023
4023
|
}), Ae = (e) => {
|
|
4024
4024
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -4027,19 +4027,19 @@ const hi = (e) => {
|
|
|
4027
4027
|
return i in t ? t[i] : t[i] = e(n);
|
|
4028
4028
|
};
|
|
4029
4029
|
};
|
|
4030
|
-
var fi = Object.defineProperty,
|
|
4030
|
+
var fi = Object.defineProperty, ge = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
4031
4031
|
for (var r in t || (t = {}))
|
|
4032
|
-
tr.call(t, r) &&
|
|
4033
|
-
if (
|
|
4034
|
-
for (var r of
|
|
4035
|
-
rr.call(t, r) &&
|
|
4032
|
+
tr.call(t, r) && yt(e, r, t[r]);
|
|
4033
|
+
if (ge)
|
|
4034
|
+
for (var r of ge(t))
|
|
4035
|
+
rr.call(t, r) && yt(e, r, t[r]);
|
|
4036
4036
|
return e;
|
|
4037
4037
|
}, ne = (e, t) => {
|
|
4038
4038
|
var r = {};
|
|
4039
4039
|
for (var n in e)
|
|
4040
4040
|
tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4041
|
-
if (e != null &&
|
|
4042
|
-
for (var n of
|
|
4041
|
+
if (e != null && ge)
|
|
4042
|
+
for (var n of ge(e))
|
|
4043
4043
|
t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
|
|
4044
4044
|
return r;
|
|
4045
4045
|
};
|
|
@@ -4078,21 +4078,21 @@ const ae = (e, t) => {
|
|
|
4078
4078
|
"locale"
|
|
4079
4079
|
]);
|
|
4080
4080
|
return pi(Ye({ locale: r }, n));
|
|
4081
|
-
},
|
|
4081
|
+
}, vi = (e = {}) => {
|
|
4082
4082
|
var t = e, {
|
|
4083
4083
|
locale: r = G()
|
|
4084
4084
|
} = t, n = ne(t, [
|
|
4085
4085
|
"locale"
|
|
4086
4086
|
]);
|
|
4087
4087
|
return di(Ye({ locale: r }, n));
|
|
4088
|
-
},
|
|
4088
|
+
}, gi = (e = {}) => {
|
|
4089
4089
|
var t = e, {
|
|
4090
4090
|
locale: r = G()
|
|
4091
4091
|
} = t, n = ne(t, [
|
|
4092
4092
|
"locale"
|
|
4093
4093
|
]);
|
|
4094
4094
|
return mi(Ye({ locale: r }, n));
|
|
4095
|
-
},
|
|
4095
|
+
}, yi = Ae(
|
|
4096
4096
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4097
4097
|
(e, t = G()) => new Vn(e, t, K().formats, {
|
|
4098
4098
|
ignoreTag: K().ignoreTag
|
|
@@ -4121,7 +4121,7 @@ const ae = (e, t) => {
|
|
|
4121
4121
|
return c;
|
|
4122
4122
|
let h = c;
|
|
4123
4123
|
try {
|
|
4124
|
-
h =
|
|
4124
|
+
h = yi(c, l).format(a);
|
|
4125
4125
|
} catch (f) {
|
|
4126
4126
|
f instanceof Error && console.warn(
|
|
4127
4127
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4129,7 +4129,7 @@ const ae = (e, t) => {
|
|
|
4129
4129
|
);
|
|
4130
4130
|
}
|
|
4131
4131
|
return h;
|
|
4132
|
-
}, Ei = (e, t) =>
|
|
4132
|
+
}, Ei = (e, t) => gi(t).format(e), _i = (e, t) => vi(t).format(e), Ci = (e, t) => bi(t).format(e), Ai = (e, t = G()) => Qt(e, t), wi = te([re, le], () => xi);
|
|
4133
4133
|
te([re], () => Ei);
|
|
4134
4134
|
te([re], () => _i);
|
|
4135
4135
|
te([re], () => Ci);
|
|
@@ -4245,7 +4245,7 @@ function Hi(e) {
|
|
|
4245
4245
|
t = B("div"), r = k("svg"), n = k("defs"), i = k("style"), o = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), s = k("g"), a = k("g"), l = k("path"), u = U(), c = B("h2"), f = L(h), x(l, "class", "aaa"), x(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(l, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(c, "class", "AccountClosureTitleMobile"), x(c, "part", "AccountClosureTitleMobile"), x(t, "class", "MenuReturnButton"), x(t, "part", "MenuReturnButton");
|
|
4246
4246
|
},
|
|
4247
4247
|
m(d, A) {
|
|
4248
|
-
|
|
4248
|
+
ye(d, t, A), v(t, r), v(r, n), v(n, i), v(i, o), v(r, s), v(s, a), v(a, l), v(t, u), v(t, c), v(c, f), p || (m = be(
|
|
4249
4249
|
t,
|
|
4250
4250
|
"click",
|
|
4251
4251
|
/*click_handler*/
|
|
@@ -4279,7 +4279,7 @@ function _t(e) {
|
|
|
4279
4279
|
(e[3] ? "ModalWrapperMobile" : ""));
|
|
4280
4280
|
},
|
|
4281
4281
|
m(S, w) {
|
|
4282
|
-
|
|
4282
|
+
ye(S, t, w), v(t, r), v(r, n), v(n, i), v(i, s), v(n, a), v(n, l), v(l, u), v(u, h), v(l, f), v(l, p), v(p, d), A || (P = [
|
|
4283
4283
|
be(
|
|
4284
4284
|
u,
|
|
4285
4285
|
"click",
|
|
@@ -4335,7 +4335,7 @@ function Mi(e) {
|
|
|
4335
4335
|
(e[3] ? "AccountClosureWrapperMobile" : ""));
|
|
4336
4336
|
},
|
|
4337
4337
|
m(T, O) {
|
|
4338
|
-
|
|
4338
|
+
ye(T, t, O), v(t, r), H && H.m(r, null), v(r, n), v(r, i), v(i, s), v(r, a), v(r, l), v(l, u), v(u, h), v(r, f), v(r, p), v(p, m), v(m, A), v(t, P), _ && _.m(t, null), e[15](t), S || (w = be(
|
|
4339
4339
|
m,
|
|
4340
4340
|
"click",
|
|
4341
4341
|
/*click_handler_1*/
|
|
@@ -4438,7 +4438,7 @@ function Pi(e, t, r) {
|
|
|
4438
4438
|
}
|
|
4439
4439
|
class Oi extends Er {
|
|
4440
4440
|
constructor(t) {
|
|
4441
|
-
super(),
|
|
4441
|
+
super(), yr(
|
|
4442
4442
|
this,
|
|
4443
4443
|
t,
|
|
4444
4444
|
Pi,
|