@everymatrix/player-account-closure-nd 1.50.0 → 1.50.1
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-CS8Bpj9f.js → PlayerAccountClosureNd-CEJrSwa9.js} +254 -248
- package/components/PlayerAccountClosureNd-CpQXdw_7.cjs +5 -0
- package/es2015/player-account-closure-nd.cjs +1 -1
- package/es2015/player-account-closure-nd.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountClosureNd-p3MdEHt3.cjs +0 -5
package/components/{PlayerAccountClosureNd-CS8Bpj9f.js → PlayerAccountClosureNd-CEJrSwa9.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var pr = Object.defineProperty, dr = Object.defineProperties;
|
|
2
|
+
var mr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var nt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Se = (e, t, r) => t in e ?
|
|
4
|
+
var br = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Se = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
br.call(t, r) && Se(e, r, t[r]);
|
|
8
8
|
if (nt)
|
|
9
9
|
for (var r of nt(t))
|
|
10
|
-
|
|
10
|
+
vr.call(t, r) && Se(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, ot = (e, t) =>
|
|
12
|
+
}, ot = (e, t) => dr(e, mr(t));
|
|
13
13
|
var I = (e, t, r) => Se(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var st = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
@@ -44,7 +44,7 @@ function Je(e) {
|
|
|
44
44
|
function It(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function gr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
50
|
function Nt(e, ...t) {
|
|
@@ -56,20 +56,20 @@ function Nt(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function yr(e, t, r) {
|
|
60
60
|
e.$$.on_destroy.push(Nt(t, r));
|
|
61
61
|
}
|
|
62
62
|
function v(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function xr(e, t, r) {
|
|
66
|
+
const n = Er(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = B("style");
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
i.id = t, i.textContent = r, _r(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Er(e) {
|
|
73
73
|
if (!e) return document;
|
|
74
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
75
75
|
return t && /** @type {ShadowRoot} */
|
|
@@ -78,7 +78,7 @@ function _r(e) {
|
|
|
78
78
|
t
|
|
79
79
|
) : e.ownerDocument;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function _r(e, t) {
|
|
82
82
|
return v(
|
|
83
83
|
/** @type {Document} */
|
|
84
84
|
e.head || e,
|
|
@@ -109,14 +109,14 @@ function ve(e, t, r, n) {
|
|
|
109
109
|
function x(e, t, r) {
|
|
110
110
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Cr(e) {
|
|
113
113
|
return Array.from(e.childNodes);
|
|
114
114
|
}
|
|
115
115
|
function G(e, t) {
|
|
116
116
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
117
117
|
t);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function wr(e) {
|
|
120
120
|
const t = {};
|
|
121
121
|
return e.childNodes.forEach(
|
|
122
122
|
/** @param {Element} node */
|
|
@@ -131,10 +131,10 @@ function se(e) {
|
|
|
131
131
|
}
|
|
132
132
|
const X = [], Le = [];
|
|
133
133
|
let q = [];
|
|
134
|
-
const ut = [],
|
|
134
|
+
const ut = [], Ar = /* @__PURE__ */ Promise.resolve();
|
|
135
135
|
let $e = !1;
|
|
136
|
-
function
|
|
137
|
-
$e || ($e = !0,
|
|
136
|
+
function Sr() {
|
|
137
|
+
$e || ($e = !0, Ar.then(Z));
|
|
138
138
|
}
|
|
139
139
|
function Re(e) {
|
|
140
140
|
q.push(e);
|
|
@@ -149,7 +149,7 @@ function Z() {
|
|
|
149
149
|
try {
|
|
150
150
|
for (; V < X.length; ) {
|
|
151
151
|
const t = X[V];
|
|
152
|
-
V++, se(t),
|
|
152
|
+
V++, se(t), Tr(t.$$);
|
|
153
153
|
}
|
|
154
154
|
} catch (t) {
|
|
155
155
|
throw X.length = 0, V = 0, t;
|
|
@@ -165,36 +165,36 @@ function Z() {
|
|
|
165
165
|
ut.pop()();
|
|
166
166
|
$e = !1, Te.clear(), se(e);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function Tr(e) {
|
|
169
169
|
if (e.fragment !== null) {
|
|
170
170
|
e.update(), te(e.before_update);
|
|
171
171
|
const t = e.dirty;
|
|
172
172
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Br(e) {
|
|
176
176
|
const t = [], r = [];
|
|
177
177
|
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
|
178
178
|
}
|
|
179
|
-
const
|
|
180
|
-
function
|
|
181
|
-
e && e.i && (
|
|
179
|
+
const Hr = /* @__PURE__ */ new Set();
|
|
180
|
+
function Mr(e, t) {
|
|
181
|
+
e && e.i && (Hr.delete(e), e.i(t));
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Pr(e, t, r) {
|
|
184
184
|
const { fragment: n, after_update: i } = e.$$;
|
|
185
185
|
n && n.m(t, r), Re(() => {
|
|
186
186
|
const o = e.$$.on_mount.map(Ot).filter(Je);
|
|
187
187
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
|
188
188
|
}), i.forEach(Re);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Or(e, t) {
|
|
191
191
|
const r = e.$$;
|
|
192
|
-
r.fragment !== null && (
|
|
192
|
+
r.fragment !== null && (Br(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
194
|
+
function Ir(e, t) {
|
|
195
|
+
e.$$.dirty[0] === -1 && (X.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
198
198
|
const l = Ye;
|
|
199
199
|
se(e);
|
|
200
200
|
const u = e.$$ = {
|
|
@@ -222,14 +222,14 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
222
222
|
let c = !1;
|
|
223
223
|
if (u.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
|
|
224
224
|
const m = p.length ? p[0] : f;
|
|
225
|
-
return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c &&
|
|
225
|
+
return u.ctx && i(u.ctx[h], u.ctx[h] = m) && (!u.skip_bound && u.bound[h] && u.bound[h](m), c && Ir(e, h)), f;
|
|
226
226
|
}) : [], u.update(), c = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
227
227
|
if (t.hydrate) {
|
|
228
|
-
const h =
|
|
228
|
+
const h = Cr(t.target);
|
|
229
229
|
u.fragment && u.fragment.l(h), h.forEach(le);
|
|
230
230
|
} else
|
|
231
231
|
u.fragment && u.fragment.c();
|
|
232
|
-
t.intro &&
|
|
232
|
+
t.intro && Mr(e.$$.fragment), Pr(e, t.target, t.anchor), Z();
|
|
233
233
|
}
|
|
234
234
|
se(l);
|
|
235
235
|
}
|
|
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
|
|
|
295
295
|
};
|
|
296
296
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
297
297
|
return;
|
|
298
|
-
const r = {}, n =
|
|
298
|
+
const r = {}, n = wr(this);
|
|
299
299
|
for (const o of this.$$s)
|
|
300
300
|
o in n && (r[o] = [t(o)]);
|
|
301
301
|
for (const o of this.attributes) {
|
|
@@ -384,7 +384,7 @@ function pe(e, t, r, n) {
|
|
|
384
384
|
return t;
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function Lr(e, t, r, n, i, o) {
|
|
388
388
|
let s = class extends Lt {
|
|
389
389
|
constructor() {
|
|
390
390
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -415,7 +415,7 @@ function $r(e, t, r, n, i, o) {
|
|
|
415
415
|
}), e.element = /** @type {any} */
|
|
416
416
|
s, s;
|
|
417
417
|
}
|
|
418
|
-
class
|
|
418
|
+
class $r {
|
|
419
419
|
constructor() {
|
|
420
420
|
/**
|
|
421
421
|
* ### PRIVATE API
|
|
@@ -436,7 +436,7 @@ class Rr {
|
|
|
436
436
|
}
|
|
437
437
|
/** @returns {void} */
|
|
438
438
|
$destroy() {
|
|
439
|
-
|
|
439
|
+
Or(this, 1), this.$destroy = N;
|
|
440
440
|
}
|
|
441
441
|
/**
|
|
442
442
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -458,11 +458,11 @@ class Rr {
|
|
|
458
458
|
* @returns {void}
|
|
459
459
|
*/
|
|
460
460
|
$set(t) {
|
|
461
|
-
this.$$set && !
|
|
461
|
+
this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
const
|
|
465
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
464
|
+
const Rr = "4";
|
|
465
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
|
|
466
466
|
var De = function(e, t) {
|
|
467
467
|
return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
468
468
|
r.__proto__ = n;
|
|
@@ -488,7 +488,7 @@ var y = function() {
|
|
|
488
488
|
return t;
|
|
489
489
|
}, y.apply(this, arguments);
|
|
490
490
|
};
|
|
491
|
-
function
|
|
491
|
+
function Dr(e, t) {
|
|
492
492
|
var r = {};
|
|
493
493
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
494
494
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -653,20 +653,19 @@ var Ut = {
|
|
|
653
653
|
Promise: void 0,
|
|
654
654
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
655
655
|
useDeprecatedNextContext: !1
|
|
656
|
-
},
|
|
656
|
+
}, Ur = {
|
|
657
657
|
setTimeout: function(e, t) {
|
|
658
658
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
659
659
|
r[n - 2] = arguments[n];
|
|
660
660
|
return setTimeout.apply(void 0, Q([e, t], Fe(r)));
|
|
661
661
|
},
|
|
662
662
|
clearTimeout: function(e) {
|
|
663
|
-
|
|
664
|
-
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
|
|
663
|
+
return clearTimeout(e);
|
|
665
664
|
},
|
|
666
665
|
delegate: void 0
|
|
667
666
|
};
|
|
668
667
|
function Fr(e) {
|
|
669
|
-
|
|
668
|
+
Ur.setTimeout(function() {
|
|
670
669
|
throw e;
|
|
671
670
|
});
|
|
672
671
|
}
|
|
@@ -675,7 +674,7 @@ function ct() {
|
|
|
675
674
|
function de(e) {
|
|
676
675
|
e();
|
|
677
676
|
}
|
|
678
|
-
var
|
|
677
|
+
var Ft = function(e) {
|
|
679
678
|
D(t, e);
|
|
680
679
|
function t(r) {
|
|
681
680
|
var n = e.call(this) || this;
|
|
@@ -764,7 +763,7 @@ var jr = function() {
|
|
|
764
763
|
return o.destination = new jr(s), o;
|
|
765
764
|
}
|
|
766
765
|
return t;
|
|
767
|
-
}(
|
|
766
|
+
}(Ft);
|
|
768
767
|
function he(e) {
|
|
769
768
|
Fr(e);
|
|
770
769
|
}
|
|
@@ -857,13 +856,13 @@ function Zr(e) {
|
|
|
857
856
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
858
857
|
}
|
|
859
858
|
function qr(e) {
|
|
860
|
-
return e && e instanceof
|
|
859
|
+
return e && e instanceof Ft || Zr(e) && Dt(e);
|
|
861
860
|
}
|
|
862
861
|
var Qr = $t(function(e) {
|
|
863
862
|
return function() {
|
|
864
863
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
865
864
|
};
|
|
866
|
-
}),
|
|
865
|
+
}), Gt = function(e) {
|
|
867
866
|
D(t, e);
|
|
868
867
|
function t() {
|
|
869
868
|
var r = e.call(this) || this;
|
|
@@ -961,15 +960,15 @@ var Qr = $t(function(e) {
|
|
|
961
960
|
var n, i;
|
|
962
961
|
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
|
|
963
962
|
}, t;
|
|
964
|
-
}(
|
|
963
|
+
}(Gt), jt = {
|
|
965
964
|
now: function() {
|
|
966
|
-
return (
|
|
965
|
+
return (jt.delegate || Date).now();
|
|
967
966
|
},
|
|
968
967
|
delegate: void 0
|
|
969
968
|
}, Jr = function(e) {
|
|
970
969
|
D(t, e);
|
|
971
970
|
function t(r, n, i) {
|
|
972
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
971
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
|
|
973
972
|
var o = e.call(this) || this;
|
|
974
973
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
975
974
|
}
|
|
@@ -989,7 +988,7 @@ var Qr = $t(function(e) {
|
|
|
989
988
|
u && o.splice(0, u + 1);
|
|
990
989
|
}
|
|
991
990
|
}, t;
|
|
992
|
-
}(
|
|
991
|
+
}(Gt);
|
|
993
992
|
const dt = [], mt = {}, Yr = (e, t = 0) => {
|
|
994
993
|
if (dt.indexOf(e) == -1) {
|
|
995
994
|
const r = new Jr(t);
|
|
@@ -1101,7 +1100,7 @@ function hn(e) {
|
|
|
1101
1100
|
function bt(e) {
|
|
1102
1101
|
return Object.keys(e).concat(hn(e));
|
|
1103
1102
|
}
|
|
1104
|
-
function
|
|
1103
|
+
function kt(e, t) {
|
|
1105
1104
|
try {
|
|
1106
1105
|
return t in e;
|
|
1107
1106
|
} catch (r) {
|
|
@@ -1109,14 +1108,14 @@ function zt(e, t) {
|
|
|
1109
1108
|
}
|
|
1110
1109
|
}
|
|
1111
1110
|
function fn(e, t) {
|
|
1112
|
-
return
|
|
1111
|
+
return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1113
1112
|
}
|
|
1114
1113
|
function pn(e, t, r) {
|
|
1115
1114
|
var n = {};
|
|
1116
1115
|
return r.isMergeableObject(e) && bt(e).forEach(function(i) {
|
|
1117
1116
|
n[i] = ae(e[i], r);
|
|
1118
1117
|
}), bt(t).forEach(function(i) {
|
|
1119
|
-
fn(e, i) || (
|
|
1118
|
+
fn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
1120
1119
|
}), n;
|
|
1121
1120
|
}
|
|
1122
1121
|
function J(e, t, r) {
|
|
@@ -1133,7 +1132,57 @@ J.all = function(t, r) {
|
|
|
1133
1132
|
};
|
|
1134
1133
|
var dn = J, mn = dn;
|
|
1135
1134
|
const bn = /* @__PURE__ */ en(mn);
|
|
1136
|
-
|
|
1135
|
+
function Me(e, t) {
|
|
1136
|
+
var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : gn;
|
|
1137
|
+
return i(e, {
|
|
1138
|
+
cache: r,
|
|
1139
|
+
serializer: n
|
|
1140
|
+
});
|
|
1141
|
+
}
|
|
1142
|
+
function vn(e) {
|
|
1143
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1144
|
+
}
|
|
1145
|
+
function zt(e, t, r, n) {
|
|
1146
|
+
var i = vn(n) ? n : r(n), o = t.get(i);
|
|
1147
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1148
|
+
}
|
|
1149
|
+
function Vt(e, t, r) {
|
|
1150
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1151
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1152
|
+
}
|
|
1153
|
+
function Ke(e, t, r, n, i) {
|
|
1154
|
+
return r.bind(t, e, n, i);
|
|
1155
|
+
}
|
|
1156
|
+
function gn(e, t) {
|
|
1157
|
+
var r = e.length === 1 ? zt : Vt;
|
|
1158
|
+
return Ke(e, this, r, t.cache.create(), t.serializer);
|
|
1159
|
+
}
|
|
1160
|
+
function yn(e, t) {
|
|
1161
|
+
return Ke(e, this, Vt, t.cache.create(), t.serializer);
|
|
1162
|
+
}
|
|
1163
|
+
function xn(e, t) {
|
|
1164
|
+
return Ke(e, this, zt, t.cache.create(), t.serializer);
|
|
1165
|
+
}
|
|
1166
|
+
var En = function() {
|
|
1167
|
+
return JSON.stringify(arguments);
|
|
1168
|
+
};
|
|
1169
|
+
function et() {
|
|
1170
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1171
|
+
}
|
|
1172
|
+
et.prototype.get = function(e) {
|
|
1173
|
+
return this.cache[e];
|
|
1174
|
+
};
|
|
1175
|
+
et.prototype.set = function(e, t) {
|
|
1176
|
+
this.cache[e] = t;
|
|
1177
|
+
};
|
|
1178
|
+
var _n = {
|
|
1179
|
+
create: function() {
|
|
1180
|
+
return new et();
|
|
1181
|
+
}
|
|
1182
|
+
}, Pe = {
|
|
1183
|
+
variadic: yn,
|
|
1184
|
+
monadic: xn
|
|
1185
|
+
}, b;
|
|
1137
1186
|
(function(e) {
|
|
1138
1187
|
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";
|
|
1139
1188
|
})(b || (b = {}));
|
|
@@ -1148,40 +1197,40 @@ var Y;
|
|
|
1148
1197
|
function vt(e) {
|
|
1149
1198
|
return e.type === C.literal;
|
|
1150
1199
|
}
|
|
1151
|
-
function
|
|
1200
|
+
function Cn(e) {
|
|
1152
1201
|
return e.type === C.argument;
|
|
1153
1202
|
}
|
|
1154
|
-
function
|
|
1203
|
+
function Wt(e) {
|
|
1155
1204
|
return e.type === C.number;
|
|
1156
1205
|
}
|
|
1157
|
-
function
|
|
1206
|
+
function Xt(e) {
|
|
1158
1207
|
return e.type === C.date;
|
|
1159
1208
|
}
|
|
1160
|
-
function
|
|
1209
|
+
function Zt(e) {
|
|
1161
1210
|
return e.type === C.time;
|
|
1162
1211
|
}
|
|
1163
|
-
function
|
|
1212
|
+
function qt(e) {
|
|
1164
1213
|
return e.type === C.select;
|
|
1165
1214
|
}
|
|
1166
|
-
function
|
|
1215
|
+
function Qt(e) {
|
|
1167
1216
|
return e.type === C.plural;
|
|
1168
1217
|
}
|
|
1169
|
-
function
|
|
1218
|
+
function wn(e) {
|
|
1170
1219
|
return e.type === C.pound;
|
|
1171
1220
|
}
|
|
1172
|
-
function
|
|
1221
|
+
function Jt(e) {
|
|
1173
1222
|
return e.type === C.tag;
|
|
1174
1223
|
}
|
|
1175
|
-
function
|
|
1224
|
+
function Yt(e) {
|
|
1176
1225
|
return !!(e && typeof e == "object" && e.type === Y.number);
|
|
1177
1226
|
}
|
|
1178
1227
|
function ke(e) {
|
|
1179
1228
|
return !!(e && typeof e == "object" && e.type === Y.dateTime);
|
|
1180
1229
|
}
|
|
1181
|
-
var
|
|
1182
|
-
function
|
|
1230
|
+
var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1231
|
+
function Sn(e) {
|
|
1183
1232
|
var t = {};
|
|
1184
|
-
return e.replace(
|
|
1233
|
+
return e.replace(An, function(r) {
|
|
1185
1234
|
var n = r.length;
|
|
1186
1235
|
switch (r[0]) {
|
|
1187
1236
|
case "G":
|
|
@@ -1270,11 +1319,11 @@ function xn(e) {
|
|
|
1270
1319
|
return "";
|
|
1271
1320
|
}), t;
|
|
1272
1321
|
}
|
|
1273
|
-
var
|
|
1274
|
-
function
|
|
1322
|
+
var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1323
|
+
function Bn(e) {
|
|
1275
1324
|
if (e.length === 0)
|
|
1276
1325
|
throw new Error("Number skeleton cannot be empty");
|
|
1277
|
-
for (var t = e.split(
|
|
1326
|
+
for (var t = e.split(Tn).filter(function(f) {
|
|
1278
1327
|
return f.length > 0;
|
|
1279
1328
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1280
1329
|
var o = i[n], s = o.split("/");
|
|
@@ -1289,17 +1338,17 @@ function _n(e) {
|
|
|
1289
1338
|
}
|
|
1290
1339
|
return r;
|
|
1291
1340
|
}
|
|
1292
|
-
function
|
|
1341
|
+
function Hn(e) {
|
|
1293
1342
|
return e.replace(/^(.*?)-/, "");
|
|
1294
1343
|
}
|
|
1295
|
-
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1344
|
+
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
|
|
1296
1345
|
function yt(e) {
|
|
1297
1346
|
var t = {};
|
|
1298
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1347
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
|
|
1299
1348
|
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)), "";
|
|
1300
1349
|
}), t;
|
|
1301
1350
|
}
|
|
1302
|
-
function
|
|
1351
|
+
function rr(e) {
|
|
1303
1352
|
switch (e) {
|
|
1304
1353
|
case "sign-auto":
|
|
1305
1354
|
return {
|
|
@@ -1339,7 +1388,7 @@ function tr(e) {
|
|
|
1339
1388
|
};
|
|
1340
1389
|
}
|
|
1341
1390
|
}
|
|
1342
|
-
function
|
|
1391
|
+
function Pn(e) {
|
|
1343
1392
|
var t;
|
|
1344
1393
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1345
1394
|
notation: "engineering"
|
|
@@ -1347,17 +1396,17 @@ function An(e) {
|
|
|
1347
1396
|
notation: "scientific"
|
|
1348
1397
|
}, e = e.slice(1)), t) {
|
|
1349
1398
|
var r = e.slice(0, 2);
|
|
1350
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1399
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
|
|
1351
1400
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1352
1401
|
t.minimumIntegerDigits = e.length;
|
|
1353
1402
|
}
|
|
1354
1403
|
return t;
|
|
1355
1404
|
}
|
|
1356
1405
|
function xt(e) {
|
|
1357
|
-
var t = {}, r =
|
|
1406
|
+
var t = {}, r = rr(e);
|
|
1358
1407
|
return r || t;
|
|
1359
1408
|
}
|
|
1360
|
-
function
|
|
1409
|
+
function On(e) {
|
|
1361
1410
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1362
1411
|
var i = n[r];
|
|
1363
1412
|
switch (i.stem) {
|
|
@@ -1381,7 +1430,7 @@ function Sn(e) {
|
|
|
1381
1430
|
continue;
|
|
1382
1431
|
case "measure-unit":
|
|
1383
1432
|
case "unit":
|
|
1384
|
-
t.style = "unit", t.unit =
|
|
1433
|
+
t.style = "unit", t.unit = Hn(i.options[0]);
|
|
1385
1434
|
continue;
|
|
1386
1435
|
case "compact-short":
|
|
1387
1436
|
case "K":
|
|
@@ -1443,7 +1492,7 @@ function Sn(e) {
|
|
|
1443
1492
|
case "integer-width":
|
|
1444
1493
|
if (i.options.length > 1)
|
|
1445
1494
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1446
|
-
i.options[0].replace(
|
|
1495
|
+
i.options[0].replace(Mn, function(l, u, c, h, f, p) {
|
|
1447
1496
|
if (u)
|
|
1448
1497
|
t.minimumIntegerDigits = c.length;
|
|
1449
1498
|
else {
|
|
@@ -1456,7 +1505,7 @@ function Sn(e) {
|
|
|
1456
1505
|
});
|
|
1457
1506
|
continue;
|
|
1458
1507
|
}
|
|
1459
|
-
if (
|
|
1508
|
+
if (tr.test(i.stem)) {
|
|
1460
1509
|
t.minimumIntegerDigits = i.stem.length;
|
|
1461
1510
|
continue;
|
|
1462
1511
|
}
|
|
@@ -1470,13 +1519,13 @@ function Sn(e) {
|
|
|
1470
1519
|
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), yt(o)));
|
|
1471
1520
|
continue;
|
|
1472
1521
|
}
|
|
1473
|
-
if (
|
|
1522
|
+
if (er.test(i.stem)) {
|
|
1474
1523
|
t = y(y({}, t), yt(i.stem));
|
|
1475
1524
|
continue;
|
|
1476
1525
|
}
|
|
1477
|
-
var s =
|
|
1526
|
+
var s = rr(i.stem);
|
|
1478
1527
|
s && (t = y(y({}, t), s));
|
|
1479
|
-
var a =
|
|
1528
|
+
var a = Pn(i.stem);
|
|
1480
1529
|
a && (t = y(y({}, t), a));
|
|
1481
1530
|
}
|
|
1482
1531
|
return t;
|
|
@@ -1486,6 +1535,12 @@ var fe = {
|
|
|
1486
1535
|
"H",
|
|
1487
1536
|
"h"
|
|
1488
1537
|
],
|
|
1538
|
+
419: [
|
|
1539
|
+
"h",
|
|
1540
|
+
"H",
|
|
1541
|
+
"hB",
|
|
1542
|
+
"hb"
|
|
1543
|
+
],
|
|
1489
1544
|
AC: [
|
|
1490
1545
|
"H",
|
|
1491
1546
|
"h",
|
|
@@ -1534,8 +1589,8 @@ var fe = {
|
|
|
1534
1589
|
"hB"
|
|
1535
1590
|
],
|
|
1536
1591
|
AR: [
|
|
1537
|
-
"H",
|
|
1538
1592
|
"h",
|
|
1593
|
+
"H",
|
|
1539
1594
|
"hB",
|
|
1540
1595
|
"hb"
|
|
1541
1596
|
],
|
|
@@ -1625,9 +1680,9 @@ var fe = {
|
|
|
1625
1680
|
"H"
|
|
1626
1681
|
],
|
|
1627
1682
|
BO: [
|
|
1683
|
+
"h",
|
|
1628
1684
|
"H",
|
|
1629
1685
|
"hB",
|
|
1630
|
-
"h",
|
|
1631
1686
|
"hb"
|
|
1632
1687
|
],
|
|
1633
1688
|
BQ: [
|
|
@@ -1704,8 +1759,8 @@ var fe = {
|
|
|
1704
1759
|
"hB"
|
|
1705
1760
|
],
|
|
1706
1761
|
CL: [
|
|
1707
|
-
"H",
|
|
1708
1762
|
"h",
|
|
1763
|
+
"H",
|
|
1709
1764
|
"hB",
|
|
1710
1765
|
"hb"
|
|
1711
1766
|
],
|
|
@@ -1730,14 +1785,14 @@ var fe = {
|
|
|
1730
1785
|
"H"
|
|
1731
1786
|
],
|
|
1732
1787
|
CR: [
|
|
1733
|
-
"H",
|
|
1734
1788
|
"h",
|
|
1789
|
+
"H",
|
|
1735
1790
|
"hB",
|
|
1736
1791
|
"hb"
|
|
1737
1792
|
],
|
|
1738
1793
|
CU: [
|
|
1739
|
-
"H",
|
|
1740
1794
|
"h",
|
|
1795
|
+
"H",
|
|
1741
1796
|
"hB",
|
|
1742
1797
|
"hb"
|
|
1743
1798
|
],
|
|
@@ -1806,9 +1861,9 @@ var fe = {
|
|
|
1806
1861
|
"hb"
|
|
1807
1862
|
],
|
|
1808
1863
|
EC: [
|
|
1864
|
+
"h",
|
|
1809
1865
|
"H",
|
|
1810
1866
|
"hB",
|
|
1811
|
-
"h",
|
|
1812
1867
|
"hb"
|
|
1813
1868
|
],
|
|
1814
1869
|
EE: [
|
|
@@ -1944,8 +1999,8 @@ var fe = {
|
|
|
1944
1999
|
"hB"
|
|
1945
2000
|
],
|
|
1946
2001
|
GT: [
|
|
1947
|
-
"H",
|
|
1948
2002
|
"h",
|
|
2003
|
+
"H",
|
|
1949
2004
|
"hB",
|
|
1950
2005
|
"hb"
|
|
1951
2006
|
],
|
|
@@ -1972,8 +2027,8 @@ var fe = {
|
|
|
1972
2027
|
"H"
|
|
1973
2028
|
],
|
|
1974
2029
|
HN: [
|
|
1975
|
-
"H",
|
|
1976
2030
|
"h",
|
|
2031
|
+
"H",
|
|
1977
2032
|
"hB",
|
|
1978
2033
|
"hb"
|
|
1979
2034
|
],
|
|
@@ -2287,8 +2342,8 @@ var fe = {
|
|
|
2287
2342
|
"hB"
|
|
2288
2343
|
],
|
|
2289
2344
|
MX: [
|
|
2290
|
-
"H",
|
|
2291
2345
|
"h",
|
|
2346
|
+
"H",
|
|
2292
2347
|
"hB",
|
|
2293
2348
|
"hb"
|
|
2294
2349
|
],
|
|
@@ -2328,8 +2383,8 @@ var fe = {
|
|
|
2328
2383
|
"hB"
|
|
2329
2384
|
],
|
|
2330
2385
|
NI: [
|
|
2331
|
-
"H",
|
|
2332
2386
|
"h",
|
|
2387
|
+
"H",
|
|
2333
2388
|
"hB",
|
|
2334
2389
|
"hb"
|
|
2335
2390
|
],
|
|
@@ -2377,9 +2432,9 @@ var fe = {
|
|
|
2377
2432
|
"hb"
|
|
2378
2433
|
],
|
|
2379
2434
|
PE: [
|
|
2435
|
+
"h",
|
|
2380
2436
|
"H",
|
|
2381
2437
|
"hB",
|
|
2382
|
-
"h",
|
|
2383
2438
|
"hb"
|
|
2384
2439
|
],
|
|
2385
2440
|
PF: [
|
|
@@ -2437,8 +2492,8 @@ var fe = {
|
|
|
2437
2492
|
"H"
|
|
2438
2493
|
],
|
|
2439
2494
|
PY: [
|
|
2440
|
-
"H",
|
|
2441
2495
|
"h",
|
|
2496
|
+
"H",
|
|
2442
2497
|
"hB",
|
|
2443
2498
|
"hb"
|
|
2444
2499
|
],
|
|
@@ -2551,8 +2606,8 @@ var fe = {
|
|
|
2551
2606
|
"hB"
|
|
2552
2607
|
],
|
|
2553
2608
|
SV: [
|
|
2554
|
-
"H",
|
|
2555
2609
|
"h",
|
|
2610
|
+
"H",
|
|
2556
2611
|
"hB",
|
|
2557
2612
|
"hb"
|
|
2558
2613
|
],
|
|
@@ -2674,8 +2729,8 @@ var fe = {
|
|
|
2674
2729
|
"hB"
|
|
2675
2730
|
],
|
|
2676
2731
|
UY: [
|
|
2677
|
-
"H",
|
|
2678
2732
|
"h",
|
|
2733
|
+
"H",
|
|
2679
2734
|
"hB",
|
|
2680
2735
|
"hb"
|
|
2681
2736
|
],
|
|
@@ -2783,37 +2838,37 @@ var fe = {
|
|
|
2783
2838
|
"H",
|
|
2784
2839
|
"hB"
|
|
2785
2840
|
],
|
|
2786
|
-
"
|
|
2787
|
-
"H",
|
|
2841
|
+
"en-HK": [
|
|
2788
2842
|
"h",
|
|
2789
|
-
"
|
|
2790
|
-
"
|
|
2843
|
+
"hb",
|
|
2844
|
+
"H",
|
|
2845
|
+
"hB"
|
|
2791
2846
|
],
|
|
2792
|
-
"
|
|
2847
|
+
"en-IL": [
|
|
2793
2848
|
"H",
|
|
2794
2849
|
"h",
|
|
2795
|
-
"
|
|
2796
|
-
"
|
|
2850
|
+
"hb",
|
|
2851
|
+
"hB"
|
|
2797
2852
|
],
|
|
2798
|
-
"
|
|
2799
|
-
"H",
|
|
2853
|
+
"en-MY": [
|
|
2800
2854
|
"h",
|
|
2801
|
-
"
|
|
2802
|
-
"
|
|
2855
|
+
"hb",
|
|
2856
|
+
"H",
|
|
2857
|
+
"hB"
|
|
2803
2858
|
],
|
|
2804
|
-
"es-
|
|
2859
|
+
"es-BR": [
|
|
2805
2860
|
"H",
|
|
2806
2861
|
"h",
|
|
2807
2862
|
"hB",
|
|
2808
2863
|
"hb"
|
|
2809
2864
|
],
|
|
2810
|
-
"es-
|
|
2865
|
+
"es-ES": [
|
|
2811
2866
|
"H",
|
|
2812
2867
|
"h",
|
|
2813
2868
|
"hB",
|
|
2814
2869
|
"hb"
|
|
2815
2870
|
],
|
|
2816
|
-
"es-
|
|
2871
|
+
"es-GQ": [
|
|
2817
2872
|
"H",
|
|
2818
2873
|
"h",
|
|
2819
2874
|
"hB",
|
|
@@ -2890,13 +2945,13 @@ var fe = {
|
|
|
2890
2945
|
"h"
|
|
2891
2946
|
]
|
|
2892
2947
|
};
|
|
2893
|
-
function
|
|
2948
|
+
function In(e, t) {
|
|
2894
2949
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2895
2950
|
var i = e.charAt(n);
|
|
2896
2951
|
if (i === "j") {
|
|
2897
2952
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2898
2953
|
o++, n++;
|
|
2899
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2954
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Nn(t);
|
|
2900
2955
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2901
2956
|
r += l;
|
|
2902
2957
|
for (; s-- > 0; )
|
|
@@ -2905,7 +2960,7 @@ function Tn(e, t) {
|
|
|
2905
2960
|
}
|
|
2906
2961
|
return r;
|
|
2907
2962
|
}
|
|
2908
|
-
function
|
|
2963
|
+
function Nn(e) {
|
|
2909
2964
|
var t = e.hourCycle;
|
|
2910
2965
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2911
2966
|
e.hourCycles && // @ts-ignore
|
|
@@ -2927,20 +2982,20 @@ function Bn(e) {
|
|
|
2927
2982
|
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
2928
2983
|
return i[0];
|
|
2929
2984
|
}
|
|
2930
|
-
var
|
|
2985
|
+
var Oe, Ln = new RegExp("^".concat(Kt.source, "*")), $n = new RegExp("".concat(Kt.source, "*$"));
|
|
2931
2986
|
function g(e, t) {
|
|
2932
2987
|
return { start: e, end: t };
|
|
2933
2988
|
}
|
|
2934
|
-
var
|
|
2989
|
+
var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Un = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, zn = kn ? Number.isSafeInteger : function(e) {
|
|
2935
2990
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2936
2991
|
}, ze = !0;
|
|
2937
2992
|
try {
|
|
2938
|
-
var
|
|
2939
|
-
ze = ((
|
|
2993
|
+
var Vn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2994
|
+
ze = ((Oe = Vn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
2940
2995
|
} catch (e) {
|
|
2941
2996
|
ze = !1;
|
|
2942
2997
|
}
|
|
2943
|
-
var Et =
|
|
2998
|
+
var Et = Rn ? (
|
|
2944
2999
|
// Native
|
|
2945
3000
|
function(t, r, n) {
|
|
2946
3001
|
return t.startsWith(r, n);
|
|
@@ -2950,7 +3005,7 @@ var Et = Pn ? (
|
|
|
2950
3005
|
function(t, r, n) {
|
|
2951
3006
|
return t.slice(n, n + r.length) === r;
|
|
2952
3007
|
}
|
|
2953
|
-
), Ve =
|
|
3008
|
+
), Ve = Dn ? String.fromCodePoint : (
|
|
2954
3009
|
// IE11
|
|
2955
3010
|
function() {
|
|
2956
3011
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2964,7 +3019,7 @@ var Et = Pn ? (
|
|
|
2964
3019
|
}
|
|
2965
3020
|
), _t = (
|
|
2966
3021
|
// native
|
|
2967
|
-
|
|
3022
|
+
Un ? Object.fromEntries : (
|
|
2968
3023
|
// Ponyfill
|
|
2969
3024
|
function(t) {
|
|
2970
3025
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2974,7 +3029,7 @@ var Et = Pn ? (
|
|
|
2974
3029
|
return r;
|
|
2975
3030
|
}
|
|
2976
3031
|
)
|
|
2977
|
-
),
|
|
3032
|
+
), nr = Fn ? (
|
|
2978
3033
|
// Native
|
|
2979
3034
|
function(t, r) {
|
|
2980
3035
|
return t.codePointAt(r);
|
|
@@ -2988,7 +3043,7 @@ var Et = Pn ? (
|
|
|
2988
3043
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2989
3044
|
}
|
|
2990
3045
|
}
|
|
2991
|
-
),
|
|
3046
|
+
), Wn = Gn ? (
|
|
2992
3047
|
// Native
|
|
2993
3048
|
function(t) {
|
|
2994
3049
|
return t.trimStart();
|
|
@@ -2996,9 +3051,9 @@ var Et = Pn ? (
|
|
|
2996
3051
|
) : (
|
|
2997
3052
|
// Ponyfill
|
|
2998
3053
|
function(t) {
|
|
2999
|
-
return t.replace(
|
|
3054
|
+
return t.replace(Ln, "");
|
|
3000
3055
|
}
|
|
3001
|
-
),
|
|
3056
|
+
), Xn = jn ? (
|
|
3002
3057
|
// Native
|
|
3003
3058
|
function(t) {
|
|
3004
3059
|
return t.trimEnd();
|
|
@@ -3006,15 +3061,15 @@ var Et = Pn ? (
|
|
|
3006
3061
|
) : (
|
|
3007
3062
|
// Ponyfill
|
|
3008
3063
|
function(t) {
|
|
3009
|
-
return t.replace(
|
|
3064
|
+
return t.replace($n, "");
|
|
3010
3065
|
}
|
|
3011
3066
|
);
|
|
3012
|
-
function
|
|
3067
|
+
function ir(e, t) {
|
|
3013
3068
|
return new RegExp(e, t);
|
|
3014
3069
|
}
|
|
3015
3070
|
var We;
|
|
3016
3071
|
if (ze) {
|
|
3017
|
-
var Ct =
|
|
3072
|
+
var Ct = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3018
3073
|
We = function(t, r) {
|
|
3019
3074
|
var n;
|
|
3020
3075
|
Ct.lastIndex = r;
|
|
@@ -3024,14 +3079,14 @@ if (ze) {
|
|
|
3024
3079
|
} else
|
|
3025
3080
|
We = function(t, r) {
|
|
3026
3081
|
for (var n = []; ; ) {
|
|
3027
|
-
var i =
|
|
3028
|
-
if (i === void 0 ||
|
|
3082
|
+
var i = nr(t, r);
|
|
3083
|
+
if (i === void 0 || or(i) || Jn(i))
|
|
3029
3084
|
break;
|
|
3030
3085
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3031
3086
|
}
|
|
3032
3087
|
return Ve.apply(void 0, n);
|
|
3033
3088
|
};
|
|
3034
|
-
var
|
|
3089
|
+
var Zn = (
|
|
3035
3090
|
/** @class */
|
|
3036
3091
|
function() {
|
|
3037
3092
|
function e(t, r) {
|
|
@@ -3113,7 +3168,7 @@ var jn = (
|
|
|
3113
3168
|
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3114
3169
|
}, e.prototype.parseTagName = function() {
|
|
3115
3170
|
var t = this.offset();
|
|
3116
|
-
for (this.bump(); !this.isEOF() &&
|
|
3171
|
+
for (this.bump(); !this.isEOF() && Qn(this.char()); )
|
|
3117
3172
|
this.bump();
|
|
3118
3173
|
return this.message.slice(t, this.offset());
|
|
3119
3174
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3142,7 +3197,7 @@ var jn = (
|
|
|
3142
3197
|
};
|
|
3143
3198
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3144
3199
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3145
|
-
!
|
|
3200
|
+
!qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3146
3201
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3147
3202
|
if (this.isEOF() || this.char() !== 39)
|
|
3148
3203
|
return null;
|
|
@@ -3229,7 +3284,7 @@ var jn = (
|
|
|
3229
3284
|
var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
3230
3285
|
if (h.err)
|
|
3231
3286
|
return h;
|
|
3232
|
-
var f =
|
|
3287
|
+
var f = Xn(h.val);
|
|
3233
3288
|
if (f.length === 0)
|
|
3234
3289
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3235
3290
|
var p = g(c, this.clonePosition());
|
|
@@ -3240,7 +3295,7 @@ var jn = (
|
|
|
3240
3295
|
return m;
|
|
3241
3296
|
var d = g(i, this.clonePosition());
|
|
3242
3297
|
if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
|
|
3243
|
-
var w =
|
|
3298
|
+
var w = Wn(u.style.slice(2));
|
|
3244
3299
|
if (a === "number") {
|
|
3245
3300
|
var h = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3246
3301
|
return h.err ? h : {
|
|
@@ -3251,12 +3306,12 @@ var jn = (
|
|
|
3251
3306
|
if (w.length === 0)
|
|
3252
3307
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3253
3308
|
var P = w;
|
|
3254
|
-
this.locale && (P =
|
|
3309
|
+
this.locale && (P = In(w, this.locale));
|
|
3255
3310
|
var f = {
|
|
3256
3311
|
type: Y.dateTime,
|
|
3257
3312
|
pattern: P,
|
|
3258
3313
|
location: u.styleLocation,
|
|
3259
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3314
|
+
parsedOptions: this.shouldParseSkeletons ? Sn(P) : {}
|
|
3260
3315
|
}, S = a === "date" ? C.date : C.time;
|
|
3261
3316
|
return {
|
|
3262
3317
|
val: { type: S, value: n, location: d, style: f },
|
|
@@ -3361,7 +3416,7 @@ var jn = (
|
|
|
3361
3416
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3362
3417
|
var n = [];
|
|
3363
3418
|
try {
|
|
3364
|
-
n =
|
|
3419
|
+
n = Bn(t);
|
|
3365
3420
|
} catch (i) {
|
|
3366
3421
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3367
3422
|
}
|
|
@@ -3370,7 +3425,7 @@ var jn = (
|
|
|
3370
3425
|
type: Y.number,
|
|
3371
3426
|
tokens: n,
|
|
3372
3427
|
location: r,
|
|
3373
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3428
|
+
parsedOptions: this.shouldParseSkeletons ? On(n) : {}
|
|
3374
3429
|
},
|
|
3375
3430
|
err: null
|
|
3376
3431
|
};
|
|
@@ -3418,7 +3473,7 @@ var jn = (
|
|
|
3418
3473
|
break;
|
|
3419
3474
|
}
|
|
3420
3475
|
var l = g(i, this.clonePosition());
|
|
3421
|
-
return o ? (s *= n,
|
|
3476
|
+
return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3422
3477
|
}, e.prototype.offset = function() {
|
|
3423
3478
|
return this.position.offset;
|
|
3424
3479
|
}, e.prototype.isEOF = function() {
|
|
@@ -3433,7 +3488,7 @@ var jn = (
|
|
|
3433
3488
|
var t = this.position.offset;
|
|
3434
3489
|
if (t >= this.message.length)
|
|
3435
3490
|
throw Error("out of bound");
|
|
3436
|
-
var r =
|
|
3491
|
+
var r = nr(this.message, t);
|
|
3437
3492
|
if (r === void 0)
|
|
3438
3493
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3439
3494
|
return r;
|
|
@@ -3474,7 +3529,7 @@ var jn = (
|
|
|
3474
3529
|
break;
|
|
3475
3530
|
}
|
|
3476
3531
|
}, e.prototype.bumpSpace = function() {
|
|
3477
|
-
for (; !this.isEOF() &&
|
|
3532
|
+
for (; !this.isEOF() && or(this.char()); )
|
|
3478
3533
|
this.bump();
|
|
3479
3534
|
}, e.prototype.peek = function() {
|
|
3480
3535
|
if (this.isEOF())
|
|
@@ -3487,86 +3542,36 @@ var jn = (
|
|
|
3487
3542
|
function Xe(e) {
|
|
3488
3543
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3489
3544
|
}
|
|
3490
|
-
function
|
|
3545
|
+
function qn(e) {
|
|
3491
3546
|
return Xe(e) || e === 47;
|
|
3492
3547
|
}
|
|
3493
|
-
function
|
|
3548
|
+
function Qn(e) {
|
|
3494
3549
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3495
3550
|
}
|
|
3496
|
-
function
|
|
3551
|
+
function or(e) {
|
|
3497
3552
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3498
3553
|
}
|
|
3499
|
-
function
|
|
3554
|
+
function Jn(e) {
|
|
3500
3555
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3501
3556
|
}
|
|
3502
3557
|
function Ze(e) {
|
|
3503
3558
|
e.forEach(function(t) {
|
|
3504
|
-
if (delete t.location,
|
|
3559
|
+
if (delete t.location, qt(t) || Qt(t))
|
|
3505
3560
|
for (var r in t.options)
|
|
3506
3561
|
delete t.options[r].location, Ze(t.options[r].value);
|
|
3507
|
-
else
|
|
3562
|
+
else Wt(t) && Yt(t.style) || (Xt(t) || Zt(t)) && ke(t.style) ? delete t.style.location : Jt(t) && Ze(t.children);
|
|
3508
3563
|
});
|
|
3509
3564
|
}
|
|
3510
|
-
function
|
|
3565
|
+
function Yn(e, t) {
|
|
3511
3566
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3512
|
-
var r = new
|
|
3567
|
+
var r = new Zn(e, t).parse();
|
|
3513
3568
|
if (r.err) {
|
|
3514
3569
|
var n = SyntaxError(b[r.err.kind]);
|
|
3515
3570
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3516
3571
|
}
|
|
3517
3572
|
return t != null && t.captureLocation || Ze(r.val), r.val;
|
|
3518
3573
|
}
|
|
3519
|
-
|
|
3520
|
-
var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Jn, i = t && t.strategy ? t.strategy : Zn;
|
|
3521
|
-
return i(e, {
|
|
3522
|
-
cache: r,
|
|
3523
|
-
serializer: n
|
|
3524
|
-
});
|
|
3525
|
-
}
|
|
3526
|
-
function Xn(e) {
|
|
3527
|
-
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3528
|
-
}
|
|
3529
|
-
function or(e, t, r, n) {
|
|
3530
|
-
var i = Xn(n) ? n : r(n), o = t.get(i);
|
|
3531
|
-
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
3532
|
-
}
|
|
3533
|
-
function sr(e, t, r) {
|
|
3534
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
3535
|
-
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
3536
|
-
}
|
|
3537
|
-
function Ke(e, t, r, n, i) {
|
|
3538
|
-
return r.bind(t, e, n, i);
|
|
3539
|
-
}
|
|
3540
|
-
function Zn(e, t) {
|
|
3541
|
-
var r = e.length === 1 ? or : sr;
|
|
3542
|
-
return Ke(e, this, r, t.cache.create(), t.serializer);
|
|
3543
|
-
}
|
|
3544
|
-
function qn(e, t) {
|
|
3545
|
-
return Ke(e, this, sr, t.cache.create(), t.serializer);
|
|
3546
|
-
}
|
|
3547
|
-
function Qn(e, t) {
|
|
3548
|
-
return Ke(e, this, or, t.cache.create(), t.serializer);
|
|
3549
|
-
}
|
|
3550
|
-
var Jn = function() {
|
|
3551
|
-
return JSON.stringify(arguments);
|
|
3552
|
-
};
|
|
3553
|
-
function et() {
|
|
3554
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3555
|
-
}
|
|
3556
|
-
et.prototype.get = function(e) {
|
|
3557
|
-
return this.cache[e];
|
|
3558
|
-
};
|
|
3559
|
-
et.prototype.set = function(e, t) {
|
|
3560
|
-
this.cache[e] = t;
|
|
3561
|
-
};
|
|
3562
|
-
var Yn = {
|
|
3563
|
-
create: function() {
|
|
3564
|
-
return new et();
|
|
3565
|
-
}
|
|
3566
|
-
}, Oe = {
|
|
3567
|
-
variadic: qn,
|
|
3568
|
-
monadic: Qn
|
|
3569
|
-
}, K;
|
|
3574
|
+
var K;
|
|
3570
3575
|
(function(e) {
|
|
3571
3576
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3572
3577
|
})(K || (K = {}));
|
|
@@ -3639,7 +3644,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3639
3644
|
});
|
|
3640
3645
|
continue;
|
|
3641
3646
|
}
|
|
3642
|
-
if (
|
|
3647
|
+
if (wn(c)) {
|
|
3643
3648
|
typeof o == "number" && a.push({
|
|
3644
3649
|
type: M.literal,
|
|
3645
3650
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3650,14 +3655,14 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3650
3655
|
if (!(i && h in i))
|
|
3651
3656
|
throw new ei(h, s);
|
|
3652
3657
|
var f = i[h];
|
|
3653
|
-
if (
|
|
3658
|
+
if (Cn(c)) {
|
|
3654
3659
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3655
3660
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3656
3661
|
value: f
|
|
3657
3662
|
});
|
|
3658
3663
|
continue;
|
|
3659
3664
|
}
|
|
3660
|
-
if (
|
|
3665
|
+
if (Xt(c)) {
|
|
3661
3666
|
var p = typeof c.style == "string" ? n.date[c.style] : ke(c.style) ? c.style.parsedOptions : void 0;
|
|
3662
3667
|
a.push({
|
|
3663
3668
|
type: M.literal,
|
|
@@ -3665,7 +3670,7 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3665
3670
|
});
|
|
3666
3671
|
continue;
|
|
3667
3672
|
}
|
|
3668
|
-
if (
|
|
3673
|
+
if (Zt(c)) {
|
|
3669
3674
|
var p = typeof c.style == "string" ? n.time[c.style] : ke(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3670
3675
|
a.push({
|
|
3671
3676
|
type: M.literal,
|
|
@@ -3673,15 +3678,15 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3673
3678
|
});
|
|
3674
3679
|
continue;
|
|
3675
3680
|
}
|
|
3676
|
-
if (
|
|
3677
|
-
var p = typeof c.style == "string" ? n.number[c.style] :
|
|
3681
|
+
if (Wt(c)) {
|
|
3682
|
+
var p = typeof c.style == "string" ? n.number[c.style] : Yt(c.style) ? c.style.parsedOptions : void 0;
|
|
3678
3683
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3679
3684
|
type: M.literal,
|
|
3680
3685
|
value: r.getNumberFormat(t, p).format(f)
|
|
3681
3686
|
});
|
|
3682
3687
|
continue;
|
|
3683
3688
|
}
|
|
3684
|
-
if (
|
|
3689
|
+
if (Jt(c)) {
|
|
3685
3690
|
var m = c.children, d = c.value, w = i[d];
|
|
3686
3691
|
if (!ri(w))
|
|
3687
3692
|
throw new Kn(d, "function", s);
|
|
@@ -3695,14 +3700,14 @@ function me(e, t, r, n, i, o, s) {
|
|
|
3695
3700
|
};
|
|
3696
3701
|
}));
|
|
3697
3702
|
}
|
|
3698
|
-
if (
|
|
3703
|
+
if (qt(c)) {
|
|
3699
3704
|
var A = c.options[f] || c.options.other;
|
|
3700
3705
|
if (!A)
|
|
3701
3706
|
throw new wt(c.value, f, Object.keys(c.options), s);
|
|
3702
3707
|
a.push.apply(a, me(A.value, t, r, n, i));
|
|
3703
3708
|
continue;
|
|
3704
3709
|
}
|
|
3705
|
-
if (
|
|
3710
|
+
if (Qt(c)) {
|
|
3706
3711
|
var A = c.options["=".concat(f)];
|
|
3707
3712
|
if (!A) {
|
|
3708
3713
|
if (!Intl.PluralRules)
|
|
@@ -3750,29 +3755,29 @@ function oi(e) {
|
|
|
3750
3755
|
dateTime: {},
|
|
3751
3756
|
pluralRules: {}
|
|
3752
3757
|
}), {
|
|
3753
|
-
getNumberFormat:
|
|
3758
|
+
getNumberFormat: Me(function() {
|
|
3754
3759
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3755
3760
|
r[n] = arguments[n];
|
|
3756
3761
|
return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
|
|
3757
3762
|
}, {
|
|
3758
3763
|
cache: Ie(e.number),
|
|
3759
|
-
strategy:
|
|
3764
|
+
strategy: Pe.variadic
|
|
3760
3765
|
}),
|
|
3761
|
-
getDateTimeFormat:
|
|
3766
|
+
getDateTimeFormat: Me(function() {
|
|
3762
3767
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3763
3768
|
r[n] = arguments[n];
|
|
3764
3769
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
|
|
3765
3770
|
}, {
|
|
3766
3771
|
cache: Ie(e.dateTime),
|
|
3767
|
-
strategy:
|
|
3772
|
+
strategy: Pe.variadic
|
|
3768
3773
|
}),
|
|
3769
|
-
getPluralRules:
|
|
3774
|
+
getPluralRules: Me(function() {
|
|
3770
3775
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3771
3776
|
r[n] = arguments[n];
|
|
3772
3777
|
return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
|
|
3773
3778
|
}, {
|
|
3774
3779
|
cache: Ie(e.pluralRules),
|
|
3775
|
-
strategy:
|
|
3780
|
+
strategy: Pe.variadic
|
|
3776
3781
|
})
|
|
3777
3782
|
};
|
|
3778
3783
|
}
|
|
@@ -3780,8 +3785,9 @@ var si = (
|
|
|
3780
3785
|
/** @class */
|
|
3781
3786
|
function() {
|
|
3782
3787
|
function e(t, r, n, i) {
|
|
3788
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3783
3789
|
var o = this;
|
|
3784
|
-
if (
|
|
3790
|
+
if (this.formatterCache = {
|
|
3785
3791
|
number: {},
|
|
3786
3792
|
dateTime: {},
|
|
3787
3793
|
pluralRules: {}
|
|
@@ -3807,7 +3813,7 @@ var si = (
|
|
|
3807
3813
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3808
3814
|
var s = i || {};
|
|
3809
3815
|
s.formatters;
|
|
3810
|
-
var a =
|
|
3816
|
+
var a = Dr(s, ["formatters"]);
|
|
3811
3817
|
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3812
3818
|
} else
|
|
3813
3819
|
this.ast = t;
|
|
@@ -3826,7 +3832,7 @@ var si = (
|
|
|
3826
3832
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3827
3833
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3828
3834
|
}
|
|
3829
|
-
}, e.__parse =
|
|
3835
|
+
}, e.__parse = Yn, e.formats = {
|
|
3830
3836
|
number: {
|
|
3831
3837
|
integer: {
|
|
3832
3838
|
maximumFractionDigits: 0
|
|
@@ -3908,7 +3914,7 @@ function ai(e, t) {
|
|
|
3908
3914
|
n = void 0;
|
|
3909
3915
|
return n;
|
|
3910
3916
|
}
|
|
3911
|
-
const U = {}, ui = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r),
|
|
3917
|
+
const U = {}, ui = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), sr = (e, t) => {
|
|
3912
3918
|
if (t == null)
|
|
3913
3919
|
return;
|
|
3914
3920
|
if (t in U && e in U[t])
|
|
@@ -3925,11 +3931,11 @@ const ce = _e({});
|
|
|
3925
3931
|
function li(e) {
|
|
3926
3932
|
return tt[e] || null;
|
|
3927
3933
|
}
|
|
3928
|
-
function
|
|
3934
|
+
function ar(e) {
|
|
3929
3935
|
return e in tt;
|
|
3930
3936
|
}
|
|
3931
3937
|
function ci(e, t) {
|
|
3932
|
-
if (!
|
|
3938
|
+
if (!ar(e))
|
|
3933
3939
|
return null;
|
|
3934
3940
|
const r = li(e);
|
|
3935
3941
|
return ai(r, t);
|
|
@@ -3940,11 +3946,11 @@ function hi(e) {
|
|
|
3940
3946
|
const t = we(e);
|
|
3941
3947
|
for (let r = 0; r < t.length; r++) {
|
|
3942
3948
|
const n = t[r];
|
|
3943
|
-
if (
|
|
3949
|
+
if (ar(n))
|
|
3944
3950
|
return n;
|
|
3945
3951
|
}
|
|
3946
3952
|
}
|
|
3947
|
-
function
|
|
3953
|
+
function ur(e, ...t) {
|
|
3948
3954
|
delete U[e], ce.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
|
|
3949
3955
|
}
|
|
3950
3956
|
re(
|
|
@@ -3956,12 +3962,12 @@ const be = {};
|
|
|
3956
3962
|
function fi(e, t) {
|
|
3957
3963
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
3958
3964
|
}
|
|
3959
|
-
function
|
|
3965
|
+
function lr(e) {
|
|
3960
3966
|
return be[e];
|
|
3961
3967
|
}
|
|
3962
3968
|
function pi(e) {
|
|
3963
3969
|
return we(e).map((t) => {
|
|
3964
|
-
const r =
|
|
3970
|
+
const r = lr(t);
|
|
3965
3971
|
return [t, r ? [...r] : []];
|
|
3966
3972
|
}).filter(([, t]) => t.length > 0);
|
|
3967
3973
|
}
|
|
@@ -3969,17 +3975,17 @@ function qe(e) {
|
|
|
3969
3975
|
return e == null ? !1 : we(e).some(
|
|
3970
3976
|
(t) => {
|
|
3971
3977
|
var r;
|
|
3972
|
-
return (r =
|
|
3978
|
+
return (r = lr(t)) == null ? void 0 : r.size;
|
|
3973
3979
|
}
|
|
3974
3980
|
);
|
|
3975
3981
|
}
|
|
3976
3982
|
function di(e, t) {
|
|
3977
3983
|
return Promise.all(
|
|
3978
3984
|
t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
|
|
3979
|
-
).then((n) =>
|
|
3985
|
+
).then((n) => ur(e, ...n));
|
|
3980
3986
|
}
|
|
3981
3987
|
const oe = {};
|
|
3982
|
-
function
|
|
3988
|
+
function cr(e) {
|
|
3983
3989
|
if (!qe(e))
|
|
3984
3990
|
return e in oe ? oe[e] : Promise.resolve();
|
|
3985
3991
|
const t = pi(e);
|
|
@@ -3989,7 +3995,7 @@ function hr(e) {
|
|
|
3989
3995
|
)
|
|
3990
3996
|
).then(() => {
|
|
3991
3997
|
if (qe(e))
|
|
3992
|
-
return
|
|
3998
|
+
return cr(e);
|
|
3993
3999
|
delete oe[e];
|
|
3994
4000
|
}), oe[e];
|
|
3995
4001
|
}
|
|
@@ -4064,7 +4070,7 @@ const Ai = (e) => {
|
|
|
4064
4070
|
return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
|
|
4065
4071
|
() => Ne.set(!0),
|
|
4066
4072
|
t
|
|
4067
|
-
) : Ne.set(!0),
|
|
4073
|
+
) : Ne.set(!0), cr(e).then(() => {
|
|
4068
4074
|
ge.set(e);
|
|
4069
4075
|
}).finally(() => {
|
|
4070
4076
|
clearTimeout(r), Ne.set(!1);
|
|
@@ -4080,20 +4086,20 @@ const Ai = (e) => {
|
|
|
4080
4086
|
return i in t ? t[i] : t[i] = e(n);
|
|
4081
4087
|
};
|
|
4082
4088
|
};
|
|
4083
|
-
var Si = Object.defineProperty, ye = Object.getOwnPropertySymbols,
|
|
4089
|
+
var Si = Object.defineProperty, ye = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
4084
4090
|
for (var r in t || (t = {}))
|
|
4085
|
-
|
|
4091
|
+
hr.call(t, r) && Bt(e, r, t[r]);
|
|
4086
4092
|
if (ye)
|
|
4087
4093
|
for (var r of ye(t))
|
|
4088
|
-
|
|
4094
|
+
fr.call(t, r) && Bt(e, r, t[r]);
|
|
4089
4095
|
return e;
|
|
4090
4096
|
}, ie = (e, t) => {
|
|
4091
4097
|
var r = {};
|
|
4092
4098
|
for (var n in e)
|
|
4093
|
-
|
|
4099
|
+
hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4094
4100
|
if (e != null && ye)
|
|
4095
4101
|
for (var n of ye(e))
|
|
4096
|
-
t.indexOf(n) < 0 &&
|
|
4102
|
+
t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
|
|
4097
4103
|
return r;
|
|
4098
4104
|
};
|
|
4099
4105
|
const ue = (e, t) => {
|
|
@@ -4163,7 +4169,7 @@ const ue = (e, t) => {
|
|
|
4163
4169
|
throw new Error(
|
|
4164
4170
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4165
4171
|
);
|
|
4166
|
-
let c =
|
|
4172
|
+
let c = sr(e, l);
|
|
4167
4173
|
if (!c)
|
|
4168
4174
|
c = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4169
4175
|
else if (typeof c != "string")
|
|
@@ -4182,7 +4188,7 @@ const ue = (e, t) => {
|
|
|
4182
4188
|
);
|
|
4183
4189
|
}
|
|
4184
4190
|
return h;
|
|
4185
|
-
}, Li = (e, t) => Oi(t).format(e), $i = (e, t) => Pi(t).format(e), Ri = (e, t) => Mi(t).format(e), Di = (e, t = j()) =>
|
|
4191
|
+
}, Li = (e, t) => Oi(t).format(e), $i = (e, t) => Pi(t).format(e), Ri = (e, t) => Mi(t).format(e), Di = (e, t = j()) => sr(e, t), Ui = re([ne, ce], () => Ni);
|
|
4186
4192
|
re([ne], () => Li);
|
|
4187
4193
|
re([ne], () => $i);
|
|
4188
4194
|
re([ne], () => Ri);
|
|
@@ -4190,7 +4196,7 @@ re([ne, ce], () => Di);
|
|
|
4190
4196
|
window.emWidgets = { topic: Yr };
|
|
4191
4197
|
const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4192
4198
|
function Ht(e, t) {
|
|
4193
|
-
|
|
4199
|
+
ur(e, t);
|
|
4194
4200
|
}
|
|
4195
4201
|
function Gi(e) {
|
|
4196
4202
|
ne.set(e);
|
|
@@ -4278,7 +4284,7 @@ const Mt = {
|
|
|
4278
4284
|
}
|
|
4279
4285
|
};
|
|
4280
4286
|
function ji(e) {
|
|
4281
|
-
|
|
4287
|
+
xr(e, "svelte-l1zvzl", '.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:5%;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-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);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}.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:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.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{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;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 .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.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)}');
|
|
4282
4288
|
}
|
|
4283
4289
|
function ki(e) {
|
|
4284
4290
|
let t, r, n, i, o, s, a, l, u, c, h = (
|
|
@@ -4407,7 +4413,7 @@ function zi(e) {
|
|
|
4407
4413
|
}
|
|
4408
4414
|
function Vi(e, t, r) {
|
|
4409
4415
|
let n;
|
|
4410
|
-
|
|
4416
|
+
yr(e, Ui, (E) => r(2, n = E));
|
|
4411
4417
|
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: a = "" } = t, l = window.navigator.userAgent, u = Fi(l) !== "PC", c = !1, h;
|
|
4412
4418
|
const f = () => {
|
|
4413
4419
|
fetch(a).then((L) => L.json()).then((L) => {
|
|
@@ -4481,9 +4487,9 @@ function Vi(e, t, r) {
|
|
|
4481
4487
|
O
|
|
4482
4488
|
];
|
|
4483
4489
|
}
|
|
4484
|
-
class Wi extends
|
|
4490
|
+
class Wi extends $r {
|
|
4485
4491
|
constructor(t) {
|
|
4486
|
-
super(),
|
|
4492
|
+
super(), Nr(
|
|
4487
4493
|
this,
|
|
4488
4494
|
t,
|
|
4489
4495
|
Vi,
|
|
@@ -4523,7 +4529,7 @@ class Wi extends Rr {
|
|
|
4523
4529
|
this.$$set({ translationurl: t }), Z();
|
|
4524
4530
|
}
|
|
4525
4531
|
}
|
|
4526
|
-
|
|
4532
|
+
Lr(Wi, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4527
4533
|
export {
|
|
4528
4534
|
Wi as default
|
|
4529
4535
|
};
|