@everymatrix/player-account-closure-nd 1.63.3 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountClosureNd-DrZgCDUj.js → PlayerAccountClosureNd-B0v2yeTq.js} +92 -92
- package/components/{PlayerAccountClosureNd-CHeWMgMi.js → PlayerAccountClosureNd-BTvpg_2q.js} +93 -93
- package/components/{PlayerAccountClosureNd-DXl8XVrg.cjs → PlayerAccountClosureNd-Cww7HcHV.cjs} +4 -4
- package/es2015/player-account-closure-nd.cjs +1 -1
- package/es2015/player-account-closure-nd.js +1 -1
- package/esnext/player-account-closure-nd.js +1 -1
- package/package.json +1 -1
package/components/{PlayerAccountClosureNd-DrZgCDUj.js → PlayerAccountClosureNd-B0v2yeTq.js}
RENAMED
|
@@ -12,13 +12,13 @@ function Y(e) {
|
|
|
12
12
|
function Je(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Ht(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
function ar(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Bt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -28,7 +28,7 @@ function Ht(e, ...t) {
|
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
30
|
function ur(e, t, r) {
|
|
31
|
-
e.$$.on_destroy.push(
|
|
31
|
+
e.$$.on_destroy.push(Bt(t, r));
|
|
32
32
|
}
|
|
33
33
|
function g(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
@@ -36,7 +36,7 @@ function g(e, t) {
|
|
|
36
36
|
function lr(e, t, r) {
|
|
37
37
|
const n = cr(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const i =
|
|
39
|
+
const i = H("style");
|
|
40
40
|
i.id = t, i.textContent = r, hr(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -63,7 +63,7 @@ function ye(e, t, r) {
|
|
|
63
63
|
function se(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function H(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
69
|
function G(e) {
|
|
@@ -172,10 +172,10 @@ function wr(e, t) {
|
|
|
172
172
|
const r = e.$$;
|
|
173
173
|
r.fragment !== null && (yr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Ar(e, t) {
|
|
176
176
|
e.$$.dirty[0] === -1 && (z.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
179
179
|
const l = ne;
|
|
180
180
|
re(e);
|
|
181
181
|
const u = e.$$ = {
|
|
@@ -203,7 +203,7 @@ function Ar(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
203
203
|
let c = !1;
|
|
204
204
|
if (u.ctx = r ? r(e, t.props || {}, (f, h, ...p) => {
|
|
205
205
|
const m = p.length ? p[0] : h;
|
|
206
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c &&
|
|
206
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && Ar(e, f)), h;
|
|
207
207
|
}) : [], u.update(), c = !0, Y(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
208
208
|
if (t.hydrate) {
|
|
209
209
|
const f = fr(t.target);
|
|
@@ -257,7 +257,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
|
|
|
257
257
|
let o;
|
|
258
258
|
return {
|
|
259
259
|
c: function() {
|
|
260
|
-
o =
|
|
260
|
+
o = H("slot"), i !== "default" && x(o, "name", i);
|
|
261
261
|
},
|
|
262
262
|
/**
|
|
263
263
|
* @param {HTMLElement} target
|
|
@@ -434,8 +434,8 @@ class Tr {
|
|
|
434
434
|
this.$$set && !ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
const
|
|
438
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
437
|
+
const Hr = "4";
|
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
|
|
439
439
|
/*! *****************************************************************************
|
|
440
440
|
Copyright (c) Microsoft Corporation.
|
|
441
441
|
|
|
@@ -626,7 +626,7 @@ function Nt(e) {
|
|
|
626
626
|
function it(e) {
|
|
627
627
|
I(e) ? e() : e.unsubscribe();
|
|
628
628
|
}
|
|
629
|
-
var
|
|
629
|
+
var Br = {
|
|
630
630
|
Promise: void 0
|
|
631
631
|
}, Mr = {
|
|
632
632
|
setTimeout: function(e, t) {
|
|
@@ -809,7 +809,7 @@ var st = function() {
|
|
|
809
809
|
}();
|
|
810
810
|
function at(e) {
|
|
811
811
|
var t;
|
|
812
|
-
return (t = e ??
|
|
812
|
+
return (t = e ?? Br.Promise) !== null && t !== void 0 ? t : Promise;
|
|
813
813
|
}
|
|
814
814
|
function Dr(e) {
|
|
815
815
|
return e && I(e.next) && I(e.error) && I(e.complete);
|
|
@@ -965,7 +965,7 @@ function _e(e, t = O) {
|
|
|
965
965
|
let r;
|
|
966
966
|
const n = /* @__PURE__ */ new Set();
|
|
967
967
|
function i(a) {
|
|
968
|
-
if (
|
|
968
|
+
if (Ht(e, a) && (e = a, r)) {
|
|
969
969
|
const l = !k.length;
|
|
970
970
|
for (const u of n)
|
|
971
971
|
u[1](), k.push(u, e);
|
|
@@ -1003,7 +1003,7 @@ function J(e, t, r) {
|
|
|
1003
1003
|
const m = t(n ? u[0] : u, s, a);
|
|
1004
1004
|
o ? s(m) : f = Je(m) ? m : O;
|
|
1005
1005
|
}, p = i.map(
|
|
1006
|
-
(m, d) =>
|
|
1006
|
+
(m, d) => Bt(
|
|
1007
1007
|
m,
|
|
1008
1008
|
(w) => {
|
|
1009
1009
|
u[d] = w, c &= ~(1 << d), l && h();
|
|
@@ -1128,13 +1128,13 @@ function an(e, t) {
|
|
|
1128
1128
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1129
1129
|
return r;
|
|
1130
1130
|
}
|
|
1131
|
-
function
|
|
1131
|
+
function He(e, t, r) {
|
|
1132
1132
|
if (r || arguments.length === 2)
|
|
1133
1133
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1134
1134
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1135
1135
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1136
1136
|
}
|
|
1137
|
-
function
|
|
1137
|
+
function Be(e, t) {
|
|
1138
1138
|
var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : cn;
|
|
1139
1139
|
return i(e, {
|
|
1140
1140
|
cache: r,
|
|
@@ -1426,7 +1426,7 @@ function mt(e) {
|
|
|
1426
1426
|
var t = {}, r = Qt(e);
|
|
1427
1427
|
return r || t;
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1429
|
+
function An(e) {
|
|
1430
1430
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1431
1431
|
var i = n[r];
|
|
1432
1432
|
switch (i.stem) {
|
|
@@ -2965,7 +2965,7 @@ var ce = {
|
|
|
2965
2965
|
"h"
|
|
2966
2966
|
]
|
|
2967
2967
|
};
|
|
2968
|
-
function
|
|
2968
|
+
function Cn(e, t) {
|
|
2969
2969
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2970
2970
|
var i = e.charAt(n);
|
|
2971
2971
|
if (i === "j") {
|
|
@@ -3003,11 +3003,11 @@ function Sn(e) {
|
|
|
3003
3003
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3004
3004
|
return i[0];
|
|
3005
3005
|
}
|
|
3006
|
-
var Pe, Tn = new RegExp("^".concat(Xt.source, "*")),
|
|
3006
|
+
var Pe, Tn = new RegExp("^".concat(Xt.source, "*")), Hn = new RegExp("".concat(Xt.source, "*$"));
|
|
3007
3007
|
function v(e, t) {
|
|
3008
3008
|
return { start: e, end: t };
|
|
3009
3009
|
}
|
|
3010
|
-
var
|
|
3010
|
+
var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, $n = Ln ? Number.isSafeInteger : function(e) {
|
|
3011
3011
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3012
3012
|
}, We = !0;
|
|
3013
3013
|
try {
|
|
@@ -3016,7 +3016,7 @@ try {
|
|
|
3016
3016
|
} catch {
|
|
3017
3017
|
We = !1;
|
|
3018
3018
|
}
|
|
3019
|
-
var bt =
|
|
3019
|
+
var bt = Bn ? (
|
|
3020
3020
|
// Native
|
|
3021
3021
|
function(t, r, n) {
|
|
3022
3022
|
return t.startsWith(r, n);
|
|
@@ -3082,7 +3082,7 @@ var bt = Hn ? (
|
|
|
3082
3082
|
) : (
|
|
3083
3083
|
// Ponyfill
|
|
3084
3084
|
function(t) {
|
|
3085
|
-
return t.replace(
|
|
3085
|
+
return t.replace(Hn, "");
|
|
3086
3086
|
}
|
|
3087
3087
|
);
|
|
3088
3088
|
function Jt(e, t) {
|
|
@@ -3327,7 +3327,7 @@ var Fn = (
|
|
|
3327
3327
|
if (w.length === 0)
|
|
3328
3328
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3329
3329
|
var M = w;
|
|
3330
|
-
this.locale && (M =
|
|
3330
|
+
this.locale && (M = Cn(w, this.locale));
|
|
3331
3331
|
var h = {
|
|
3332
3332
|
type: Z.dateTime,
|
|
3333
3333
|
pattern: M,
|
|
@@ -3357,17 +3357,17 @@ var Fn = (
|
|
|
3357
3357
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3358
3358
|
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(y, be({}, y)));
|
|
3359
3359
|
this.bumpSpace();
|
|
3360
|
-
var
|
|
3361
|
-
if (a !== "select" &&
|
|
3360
|
+
var A = this.parseIdentifierIfPossible(), C = 0;
|
|
3361
|
+
if (a !== "select" && A.value === "offset") {
|
|
3362
3362
|
if (!this.bumpIf(":"))
|
|
3363
3363
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3364
3364
|
this.bumpSpace();
|
|
3365
3365
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3366
3366
|
if (f.err)
|
|
3367
3367
|
return f;
|
|
3368
|
-
this.bumpSpace(),
|
|
3368
|
+
this.bumpSpace(), A = this.parseIdentifierIfPossible(), C = f.val;
|
|
3369
3369
|
}
|
|
3370
|
-
var P = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3370
|
+
var P = this.tryParsePluralOrSelectOptions(t, a, r, A);
|
|
3371
3371
|
if (P.err)
|
|
3372
3372
|
return P;
|
|
3373
3373
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3387,7 +3387,7 @@ var Fn = (
|
|
|
3387
3387
|
type: E.plural,
|
|
3388
3388
|
value: n,
|
|
3389
3389
|
options: vt(P.val),
|
|
3390
|
-
offset:
|
|
3390
|
+
offset: C,
|
|
3391
3391
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3392
3392
|
location: _
|
|
3393
3393
|
},
|
|
@@ -3446,7 +3446,7 @@ var Fn = (
|
|
|
3446
3446
|
type: Z.number,
|
|
3447
3447
|
tokens: n,
|
|
3448
3448
|
location: r,
|
|
3449
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3449
|
+
parsedOptions: this.shouldParseSkeletons ? An(n) : {}
|
|
3450
3450
|
},
|
|
3451
3451
|
err: null
|
|
3452
3452
|
};
|
|
@@ -3636,14 +3636,14 @@ var we = (
|
|
|
3636
3636
|
}
|
|
3637
3637
|
return t;
|
|
3638
3638
|
}(we)
|
|
3639
|
-
),
|
|
3639
|
+
), B;
|
|
3640
3640
|
(function(e) {
|
|
3641
3641
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3642
|
-
})(
|
|
3642
|
+
})(B || (B = {}));
|
|
3643
3643
|
function Xn(e) {
|
|
3644
3644
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3645
3645
|
var n = t[t.length - 1];
|
|
3646
|
-
return !n || n.type !==
|
|
3646
|
+
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3647
3647
|
}, []);
|
|
3648
3648
|
}
|
|
3649
3649
|
function Zn(e) {
|
|
@@ -3653,7 +3653,7 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3653
3653
|
if (e.length === 1 && ft(e[0]))
|
|
3654
3654
|
return [
|
|
3655
3655
|
{
|
|
3656
|
-
type:
|
|
3656
|
+
type: B.literal,
|
|
3657
3657
|
value: e[0].value
|
|
3658
3658
|
}
|
|
3659
3659
|
];
|
|
@@ -3661,14 +3661,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3661
3661
|
var c = u[l];
|
|
3662
3662
|
if (ft(c)) {
|
|
3663
3663
|
a.push({
|
|
3664
|
-
type:
|
|
3664
|
+
type: B.literal,
|
|
3665
3665
|
value: c.value
|
|
3666
3666
|
});
|
|
3667
3667
|
continue;
|
|
3668
3668
|
}
|
|
3669
3669
|
if (bn(c)) {
|
|
3670
3670
|
typeof o == "number" && a.push({
|
|
3671
|
-
type:
|
|
3671
|
+
type: B.literal,
|
|
3672
3672
|
value: r.getNumberFormat(t).format(o)
|
|
3673
3673
|
});
|
|
3674
3674
|
continue;
|
|
@@ -3679,7 +3679,7 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3679
3679
|
var h = i[f];
|
|
3680
3680
|
if (mn(c)) {
|
|
3681
3681
|
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3682
|
-
type: typeof h == "string" ?
|
|
3682
|
+
type: typeof h == "string" ? B.literal : B.object,
|
|
3683
3683
|
value: h
|
|
3684
3684
|
});
|
|
3685
3685
|
continue;
|
|
@@ -3687,7 +3687,7 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3687
3687
|
if (Gt(c)) {
|
|
3688
3688
|
var p = typeof c.style == "string" ? n.date[c.style] : ze(c.style) ? c.style.parsedOptions : void 0;
|
|
3689
3689
|
a.push({
|
|
3690
|
-
type:
|
|
3690
|
+
type: B.literal,
|
|
3691
3691
|
value: r.getDateTimeFormat(t, p).format(h)
|
|
3692
3692
|
});
|
|
3693
3693
|
continue;
|
|
@@ -3695,7 +3695,7 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3695
3695
|
if (jt(c)) {
|
|
3696
3696
|
var p = typeof c.style == "string" ? n.time[c.style] : ze(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3697
3697
|
a.push({
|
|
3698
|
-
type:
|
|
3698
|
+
type: B.literal,
|
|
3699
3699
|
value: r.getDateTimeFormat(t, p).format(h)
|
|
3700
3700
|
});
|
|
3701
3701
|
continue;
|
|
@@ -3703,7 +3703,7 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3703
3703
|
if (Ft(c)) {
|
|
3704
3704
|
var p = typeof c.style == "string" ? n.number[c.style] : Vt(c.style) ? c.style.parsedOptions : void 0;
|
|
3705
3705
|
p && p.scale && (h = h * (p.scale || 1)), a.push({
|
|
3706
|
-
type:
|
|
3706
|
+
type: B.literal,
|
|
3707
3707
|
value: r.getNumberFormat(t, p).format(h)
|
|
3708
3708
|
});
|
|
3709
3709
|
continue;
|
|
@@ -3712,13 +3712,13 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3712
3712
|
var m = c.children, d = c.value, w = i[d];
|
|
3713
3713
|
if (!Zn(w))
|
|
3714
3714
|
throw new Wn(d, "function", s);
|
|
3715
|
-
var M = pe(m, t, r, n, i, o), T = w(M.map(function(
|
|
3716
|
-
return
|
|
3715
|
+
var M = pe(m, t, r, n, i, o), T = w(M.map(function(C) {
|
|
3716
|
+
return C.value;
|
|
3717
3717
|
}));
|
|
3718
|
-
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(
|
|
3718
|
+
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(C) {
|
|
3719
3719
|
return {
|
|
3720
|
-
type: typeof
|
|
3721
|
-
value:
|
|
3720
|
+
type: typeof C == "string" ? B.literal : B.object,
|
|
3721
|
+
value: C
|
|
3722
3722
|
};
|
|
3723
3723
|
}));
|
|
3724
3724
|
}
|
|
@@ -3736,8 +3736,8 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3736
3736
|
throw new we(`Intl.PluralRules is not available in this environment.
|
|
3737
3737
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3738
3738
|
`, q.MISSING_INTL_API, s);
|
|
3739
|
-
var
|
|
3740
|
-
y = c.options[
|
|
3739
|
+
var A = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
|
|
3740
|
+
y = c.options[A] || c.options.other;
|
|
3741
3741
|
}
|
|
3742
3742
|
if (!y)
|
|
3743
3743
|
throw new yt(c.value, h, Object.keys(c.options), s);
|
|
@@ -3777,26 +3777,26 @@ function Yn(e) {
|
|
|
3777
3777
|
dateTime: {},
|
|
3778
3778
|
pluralRules: {}
|
|
3779
3779
|
}), {
|
|
3780
|
-
getNumberFormat:
|
|
3780
|
+
getNumberFormat: Be(function() {
|
|
3781
3781
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3782
3782
|
r[n] = arguments[n];
|
|
3783
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3783
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3784
3784
|
}, {
|
|
3785
3785
|
cache: Oe(e.number),
|
|
3786
3786
|
strategy: Me.variadic
|
|
3787
3787
|
}),
|
|
3788
|
-
getDateTimeFormat:
|
|
3788
|
+
getDateTimeFormat: Be(function() {
|
|
3789
3789
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3790
3790
|
r[n] = arguments[n];
|
|
3791
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3791
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3792
3792
|
}, {
|
|
3793
3793
|
cache: Oe(e.dateTime),
|
|
3794
3794
|
strategy: Me.variadic
|
|
3795
3795
|
}),
|
|
3796
|
-
getPluralRules:
|
|
3796
|
+
getPluralRules: Be(function() {
|
|
3797
3797
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3798
3798
|
r[n] = arguments[n];
|
|
3799
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3799
|
+
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3800
3800
|
}, {
|
|
3801
3801
|
cache: Oe(e.pluralRules),
|
|
3802
3802
|
strategy: Me.variadic
|
|
@@ -3818,7 +3818,7 @@ var Jn = (
|
|
|
3818
3818
|
if (u.length === 1)
|
|
3819
3819
|
return u[0].value;
|
|
3820
3820
|
var c = u.reduce(function(f, h) {
|
|
3821
|
-
return !f.length || h.type !==
|
|
3821
|
+
return !f.length || h.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
|
|
3822
3822
|
}, []);
|
|
3823
3823
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3824
3824
|
}, this.formatToParts = function(l) {
|
|
@@ -3941,7 +3941,7 @@ const L = {}, ei = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][
|
|
|
3941
3941
|
return;
|
|
3942
3942
|
if (t in L && e in L[t])
|
|
3943
3943
|
return L[t][e];
|
|
3944
|
-
const r =
|
|
3944
|
+
const r = Ae(t);
|
|
3945
3945
|
for (let n = 0; n < r.length; n++) {
|
|
3946
3946
|
const i = r[n], o = ri(i, e);
|
|
3947
3947
|
if (o)
|
|
@@ -3965,7 +3965,7 @@ function ri(e, t) {
|
|
|
3965
3965
|
function ni(e) {
|
|
3966
3966
|
if (e == null)
|
|
3967
3967
|
return;
|
|
3968
|
-
const t =
|
|
3968
|
+
const t = Ae(e);
|
|
3969
3969
|
for (let r = 0; r < t.length; r++) {
|
|
3970
3970
|
const n = t[r];
|
|
3971
3971
|
if (tr(n))
|
|
@@ -3988,13 +3988,13 @@ function nr(e) {
|
|
|
3988
3988
|
return de[e];
|
|
3989
3989
|
}
|
|
3990
3990
|
function oi(e) {
|
|
3991
|
-
return
|
|
3991
|
+
return Ae(e).map((t) => {
|
|
3992
3992
|
const r = nr(t);
|
|
3993
3993
|
return [t, r ? [...r] : []];
|
|
3994
3994
|
}).filter(([, t]) => t.length > 0);
|
|
3995
3995
|
}
|
|
3996
3996
|
function Qe(e) {
|
|
3997
|
-
return e == null ? !1 :
|
|
3997
|
+
return e == null ? !1 : Ae(e).some(
|
|
3998
3998
|
(t) => {
|
|
3999
3999
|
var r;
|
|
4000
4000
|
return (r = nr(t)) == null ? void 0 : r.size;
|
|
@@ -4075,7 +4075,7 @@ const ve = _e(null);
|
|
|
4075
4075
|
function Et(e) {
|
|
4076
4076
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4077
4077
|
}
|
|
4078
|
-
function
|
|
4078
|
+
function Ae(e, t = Q().fallbackLocale) {
|
|
4079
4079
|
const r = Et(e);
|
|
4080
4080
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
|
|
4081
4081
|
}
|
|
@@ -4101,7 +4101,7 @@ const vi = (e) => {
|
|
|
4101
4101
|
return ve.set(e);
|
|
4102
4102
|
}, K = bi(mi({}, ve), {
|
|
4103
4103
|
set: vi
|
|
4104
|
-
}),
|
|
4104
|
+
}), Ce = (e) => {
|
|
4105
4105
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4106
4106
|
return (n) => {
|
|
4107
4107
|
const i = JSON.stringify(n);
|
|
@@ -4129,21 +4129,21 @@ const oe = (e, t) => {
|
|
|
4129
4129
|
if (e in r && t in r[e])
|
|
4130
4130
|
return r[e][t];
|
|
4131
4131
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4132
|
-
}, yi =
|
|
4132
|
+
}, yi = Ce(
|
|
4133
4133
|
(e) => {
|
|
4134
4134
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4135
4135
|
if (r == null)
|
|
4136
4136
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4137
4137
|
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
4138
4138
|
}
|
|
4139
|
-
), xi =
|
|
4139
|
+
), xi = Ce(
|
|
4140
4140
|
(e) => {
|
|
4141
4141
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4142
4142
|
if (r == null)
|
|
4143
4143
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4144
4144
|
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4145
4145
|
}
|
|
4146
|
-
), _i =
|
|
4146
|
+
), _i = Ce(
|
|
4147
4147
|
(e) => {
|
|
4148
4148
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4149
4149
|
if (r == null)
|
|
@@ -4166,14 +4166,14 @@ const oe = (e, t) => {
|
|
|
4166
4166
|
"locale"
|
|
4167
4167
|
]);
|
|
4168
4168
|
return xi(et({ locale: r }, n));
|
|
4169
|
-
},
|
|
4169
|
+
}, Ai = (e = {}) => {
|
|
4170
4170
|
var t = e, {
|
|
4171
4171
|
locale: r = U()
|
|
4172
4172
|
} = t, n = ee(t, [
|
|
4173
4173
|
"locale"
|
|
4174
4174
|
]);
|
|
4175
4175
|
return _i(et({ locale: r }, n));
|
|
4176
|
-
},
|
|
4176
|
+
}, Ci = Ce(
|
|
4177
4177
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4178
4178
|
(e, t = U()) => new Jn(e, t, Q().formats, {
|
|
4179
4179
|
ignoreTag: Q().ignoreTag
|
|
@@ -4202,7 +4202,7 @@ const oe = (e, t) => {
|
|
|
4202
4202
|
return c;
|
|
4203
4203
|
let f = c;
|
|
4204
4204
|
try {
|
|
4205
|
-
f =
|
|
4205
|
+
f = Ci(c, l).format(a);
|
|
4206
4206
|
} catch (h) {
|
|
4207
4207
|
h instanceof Error && console.warn(
|
|
4208
4208
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4210,20 +4210,20 @@ const oe = (e, t) => {
|
|
|
4210
4210
|
);
|
|
4211
4211
|
}
|
|
4212
4212
|
return f;
|
|
4213
|
-
}, Ti = (e, t) =>
|
|
4213
|
+
}, Ti = (e, t) => Ai(t).format(e), Hi = (e, t) => wi(t).format(e), Bi = (e, t) => Ei(t).format(e), Mi = (e, t = U()) => er(e, t), Pi = J([K, ue], () => Si);
|
|
4214
4214
|
J([K], () => Ti);
|
|
4215
|
-
J([K], () => Bi);
|
|
4216
4215
|
J([K], () => Hi);
|
|
4216
|
+
J([K], () => Bi);
|
|
4217
4217
|
J([K, ue], () => Mi);
|
|
4218
4218
|
window.emWidgets = { topic: jr };
|
|
4219
4219
|
const Oi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4220
|
-
function
|
|
4220
|
+
function At(e, t) {
|
|
4221
4221
|
rr(e, t);
|
|
4222
4222
|
}
|
|
4223
4223
|
function Ni(e) {
|
|
4224
4224
|
K.set(e);
|
|
4225
4225
|
}
|
|
4226
|
-
const
|
|
4226
|
+
const Ct = {
|
|
4227
4227
|
en: {
|
|
4228
4228
|
titleAccountClosure: "Account Closure",
|
|
4229
4229
|
accountClosureDescription: "Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",
|
|
@@ -4337,7 +4337,7 @@ function $i(e, t, r) {
|
|
|
4337
4337
|
}
|
|
4338
4338
|
}
|
|
4339
4339
|
function Ri(e) {
|
|
4340
|
-
lr(e, "svelte-
|
|
4340
|
+
lr(e, "svelte-15pjbhp", '.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:var(--emw--border-radius-medium, 10px);padding:50px;height:100vh}.AccountClosureWrapper.AccountClosureWrapperMobile{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 .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--button-border-radius, 10px);padding:13px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;max-width:400px;min-width:200px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer;border:none}.AccountClosureSave:hover{filter:brightness(0.9)}.AccountClosureSave.AccountClosureSaveMobile{width:100%;padding:10px 0;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{position:relative;background:var(--emw--color-primary, #23B04E);padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{justify-content:center;display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:42px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalCancel:hover,.ModalWrapper .ModalBody .ModalConfirm:hover{filter:brightness(0.9)}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--color-primary, #23B04E))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
|
|
4341
4341
|
}
|
|
4342
4342
|
function Di(e) {
|
|
4343
4343
|
let t, r, n, i, o, s, a, l, u, c, f = (
|
|
@@ -4346,7 +4346,7 @@ function Di(e) {
|
|
|
4346
4346
|
), h, p, m;
|
|
4347
4347
|
return {
|
|
4348
4348
|
c() {
|
|
4349
|
-
t =
|
|
4349
|
+
t = H("div"), r = G("svg"), n = G("defs"), i = G("style"), o = $(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = G("g"), a = G("g"), l = G("path"), u = D(), c = H("h2"), h = $(f), 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");
|
|
4350
4350
|
},
|
|
4351
4351
|
m(d, w) {
|
|
4352
4352
|
ye(d, t, w), g(t, r), g(r, n), g(n, i), g(i, o), g(r, s), g(s, a), g(a, l), g(t, u), g(t, c), g(c, h), p || (m = me(
|
|
@@ -4379,7 +4379,7 @@ function St(e) {
|
|
|
4379
4379
|
), d, w, M;
|
|
4380
4380
|
return {
|
|
4381
4381
|
c() {
|
|
4382
|
-
t =
|
|
4382
|
+
t = H("div"), r = H("div"), n = H("div"), i = H("p"), s = $(o), a = D(), l = H("div"), u = H("button"), f = $(c), h = D(), p = H("button"), d = $(m), x(i, "class", "ModalText"), x(u, "class", "ModalCancel"), x(p, "class", "ModalConfirm"), x(l, "class", "ModalButtons"), x(n, "class", "ModalBody"), x(r, "class", "ModalContent"), x(t, "class", "ModalWrapper " + /*isMobile*/
|
|
4383
4383
|
(e[3] ? "ModalWrapperMobile" : ""));
|
|
4384
4384
|
},
|
|
4385
4385
|
m(T, y) {
|
|
@@ -4425,42 +4425,42 @@ function Ui(e) {
|
|
|
4425
4425
|
), d, w, M, T, y = (
|
|
4426
4426
|
/*isMobile*/
|
|
4427
4427
|
e[3] && Di(e)
|
|
4428
|
-
),
|
|
4428
|
+
), A = (
|
|
4429
4429
|
/*closureModal*/
|
|
4430
4430
|
e[1] && St(e)
|
|
4431
4431
|
);
|
|
4432
4432
|
return {
|
|
4433
4433
|
c() {
|
|
4434
|
-
t =
|
|
4434
|
+
t = H("div"), r = H("div"), y && y.c(), n = D(), i = H("h2"), s = $(o), a = D(), l = H("div"), u = H("p"), f = D(), h = H("div"), p = H("button"), d = $(m), w = D(), A && A.c(), x(i, "class", "AccountClosureTitle " + /*isMobile*/
|
|
4435
4435
|
(e[3] ? "AccountClosureTitleNone" : "")), x(l, "class", "AccountClosureDescription " + /*isMobile*/
|
|
4436
4436
|
(e[3] ? "AccountClosureDescriptionMobile" : "")), x(p, "class", "AccountClosureSave " + /*isMobile*/
|
|
4437
4437
|
(e[3] ? "AccountClosureSaveMobile" : "")), x(h, "class", "AccountClosureActionButtons " + /*isMobile*/
|
|
4438
4438
|
(e[3] ? "AccountClosureActionButtonsMobile" : "")), x(r, "class", "AccountClosureWrapper " + /*isMobile*/
|
|
4439
4439
|
(e[3] ? "AccountClosureWrapperMobile" : ""));
|
|
4440
4440
|
},
|
|
4441
|
-
m(
|
|
4442
|
-
ye(
|
|
4441
|
+
m(C, P) {
|
|
4442
|
+
ye(C, t, P), g(t, r), y && y.m(r, null), g(r, n), g(r, i), g(i, s), g(r, a), g(r, l), g(l, u), u.innerHTML = c, g(r, f), g(r, h), g(h, p), g(p, d), g(t, w), A && A.m(t, null), e[16](t), M || (T = me(
|
|
4443
4443
|
p,
|
|
4444
4444
|
"click",
|
|
4445
4445
|
/*click_handler_1*/
|
|
4446
4446
|
e[13]
|
|
4447
4447
|
), M = !0);
|
|
4448
4448
|
},
|
|
4449
|
-
p(
|
|
4449
|
+
p(C, [P]) {
|
|
4450
4450
|
/*isMobile*/
|
|
4451
|
-
|
|
4451
|
+
C[3] && y.p(C, P), P & /*$_*/
|
|
4452
4452
|
4 && o !== (o = /*$_*/
|
|
4453
|
-
|
|
4453
|
+
C[2]("titleAccountClosure") + "") && W(s, o), P & /*$_*/
|
|
4454
4454
|
4 && c !== (c = /*$_*/
|
|
4455
|
-
|
|
4455
|
+
C[2]("accountClosureDescription") + "") && (u.innerHTML = c), P & /*$_*/
|
|
4456
4456
|
4 && m !== (m = /*$_*/
|
|
4457
|
-
|
|
4458
|
-
|
|
4457
|
+
C[2]("closeAccount") + "") && W(d, m), /*closureModal*/
|
|
4458
|
+
C[1] ? A ? A.p(C, P) : (A = St(C), A.c(), A.m(t, null)) : A && (A.d(1), A = null);
|
|
4459
4459
|
},
|
|
4460
4460
|
i: O,
|
|
4461
4461
|
o: O,
|
|
4462
|
-
d(
|
|
4463
|
-
|
|
4462
|
+
d(C) {
|
|
4463
|
+
C && se(t), y && y.d(), A && A.d(), e[16](null), M = !1, T();
|
|
4464
4464
|
}
|
|
4465
4465
|
};
|
|
4466
4466
|
}
|
|
@@ -4471,14 +4471,14 @@ function Fi(e, t, r) {
|
|
|
4471
4471
|
const p = () => {
|
|
4472
4472
|
fetch(l).then((F) => F.json()).then((F) => {
|
|
4473
4473
|
Object.keys(F).forEach((tt) => {
|
|
4474
|
-
|
|
4474
|
+
At(tt, F[tt]);
|
|
4475
4475
|
});
|
|
4476
4476
|
}).catch((F) => {
|
|
4477
4477
|
console.log(F);
|
|
4478
4478
|
});
|
|
4479
4479
|
};
|
|
4480
|
-
Object.keys(
|
|
4481
|
-
|
|
4480
|
+
Object.keys(Ct).forEach((_) => {
|
|
4481
|
+
At(_, Ct[_]);
|
|
4482
4482
|
});
|
|
4483
4483
|
const m = (_) => {
|
|
4484
4484
|
r(1, f = _), _ === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
@@ -4497,7 +4497,7 @@ function Fi(e, t, r) {
|
|
|
4497
4497
|
};
|
|
4498
4498
|
mr(() => () => {
|
|
4499
4499
|
});
|
|
4500
|
-
const T = () => w(), y = () => m(!0),
|
|
4500
|
+
const T = () => w(), y = () => m(!0), A = () => m(!1), C = () => d();
|
|
4501
4501
|
function P(_) {
|
|
4502
4502
|
Ie[_ ? "unshift" : "push"](() => {
|
|
4503
4503
|
h = _, r(0, h);
|
|
@@ -4527,19 +4527,19 @@ function Fi(e, t, r) {
|
|
|
4527
4527
|
l,
|
|
4528
4528
|
T,
|
|
4529
4529
|
y,
|
|
4530
|
-
C,
|
|
4531
4530
|
A,
|
|
4531
|
+
C,
|
|
4532
4532
|
P
|
|
4533
4533
|
];
|
|
4534
4534
|
}
|
|
4535
4535
|
class Gi extends Tr {
|
|
4536
4536
|
constructor(t) {
|
|
4537
|
-
super(),
|
|
4537
|
+
super(), Cr(
|
|
4538
4538
|
this,
|
|
4539
4539
|
t,
|
|
4540
4540
|
Fi,
|
|
4541
4541
|
Ui,
|
|
4542
|
-
|
|
4542
|
+
Ht,
|
|
4543
4543
|
{
|
|
4544
4544
|
lang: 7,
|
|
4545
4545
|
clientstyling: 8,
|