@everymatrix/player-change-password 1.57.0 → 1.59.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/{PlayerChangePassword-DSm6cbgC.js → PlayerChangePassword-BazXjdGm.js} +702 -724
- package/components/{PlayerChangePassword-DQNXKmKi.js → PlayerChangePassword-DGCg330V.js} +548 -570
- package/components/PlayerChangePassword-DjaKQRC8.cjs +20 -0
- package/es2015/player-change-password.cjs +1 -1
- package/es2015/player-change-password.js +1 -1
- package/esnext/player-change-password.js +1 -1
- package/package.json +1 -1
- package/components/PlayerChangePassword-IZlxe718.cjs +0 -20
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var dt = (e, t, r) => t in e ?
|
|
1
|
+
var Yr = Object.defineProperty, Jr = Object.defineProperties;
|
|
2
|
+
var qr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var kt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var dt = (e, t, r) => t in e ? Yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Kr.call(t, r) && dt(e, r, t[r]);
|
|
8
|
+
if (kt)
|
|
9
|
+
for (var r of kt(t))
|
|
10
|
+
en.call(t, r) && dt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Ut = (e, t) => Jr(e, qr(t));
|
|
13
13
|
var ee = (e, t, r) => (dt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var $t = (e, t, r) => new Promise((n, s) => {
|
|
15
15
|
var a = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
l(r.next(u));
|
|
18
18
|
} catch (h) {
|
|
19
19
|
s(h);
|
|
20
20
|
}
|
|
21
21
|
}, i = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
l(r.throw(u));
|
|
24
24
|
} catch (h) {
|
|
25
25
|
s(h);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, l = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(a, i);
|
|
28
|
+
l((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function se() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function mr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Gt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function Re(e) {
|
|
39
|
+
e.forEach(mr);
|
|
40
40
|
}
|
|
41
41
|
function Se(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function gr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function tn(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function br(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function yr(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function rn(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(br(t, r));
|
|
61
61
|
}
|
|
62
62
|
function d(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function nn(e, t, r) {
|
|
66
|
+
const n = sn(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const s = _("style");
|
|
69
|
-
s.id = t, s.textContent = r,
|
|
69
|
+
s.id = t, s.textContent = r, an(n, s);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function sn(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,7 +79,7 @@ function un(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function an(e, t) {
|
|
83
83
|
return d(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
@@ -104,16 +104,16 @@ function M(e) {
|
|
|
104
104
|
function F() {
|
|
105
105
|
return M(" ");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function wr() {
|
|
108
108
|
return M("");
|
|
109
109
|
}
|
|
110
110
|
function z(e, t, r, n) {
|
|
111
111
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function o(e, t, r) {
|
|
114
114
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function on(e) {
|
|
117
117
|
return Array.from(e.childNodes);
|
|
118
118
|
}
|
|
119
119
|
function U(e, t) {
|
|
@@ -123,10 +123,10 @@ function U(e, t) {
|
|
|
123
123
|
function xe(e, t) {
|
|
124
124
|
e.value = t == null ? "" : t;
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function ln(e, t, r, n) {
|
|
127
127
|
e.style.setProperty(t, r, "");
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function un(e) {
|
|
130
130
|
const t = {};
|
|
131
131
|
return e.childNodes.forEach(
|
|
132
132
|
/** @param {Element} node */
|
|
@@ -139,22 +139,22 @@ let Ve;
|
|
|
139
139
|
function je(e) {
|
|
140
140
|
Ve = e;
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function hn() {
|
|
143
143
|
if (!Ve)
|
|
144
144
|
throw new Error("Function called outside component initialization");
|
|
145
145
|
return Ve;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
|
|
147
|
+
function cn(e) {
|
|
148
|
+
hn().$$.on_mount.push(e);
|
|
149
149
|
}
|
|
150
150
|
const Te = [], Be = [];
|
|
151
151
|
let Ae = [];
|
|
152
|
-
const
|
|
153
|
-
let
|
|
154
|
-
function
|
|
155
|
-
|
|
152
|
+
const jt = [], fn = /* @__PURE__ */ Promise.resolve();
|
|
153
|
+
let Pt = !1;
|
|
154
|
+
function dn() {
|
|
155
|
+
Pt || (Pt = !0, fn.then(oe));
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function _t(e) {
|
|
158
158
|
Ae.push(e);
|
|
159
159
|
}
|
|
160
160
|
const pt = /* @__PURE__ */ new Set();
|
|
@@ -167,7 +167,7 @@ function oe() {
|
|
|
167
167
|
try {
|
|
168
168
|
for (; Ee < Te.length; ) {
|
|
169
169
|
const t = Te[Ee];
|
|
170
|
-
Ee++, je(t),
|
|
170
|
+
Ee++, je(t), pn(t.$$);
|
|
171
171
|
}
|
|
172
172
|
} catch (t) {
|
|
173
173
|
throw Te.length = 0, Ee = 0, t;
|
|
@@ -180,40 +180,40 @@ function oe() {
|
|
|
180
180
|
}
|
|
181
181
|
Ae.length = 0;
|
|
182
182
|
} while (Te.length);
|
|
183
|
-
for (;
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
for (; jt.length; )
|
|
184
|
+
jt.pop()();
|
|
185
|
+
Pt = !1, pt.clear(), je(e);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function pn(e) {
|
|
188
188
|
if (e.fragment !== null) {
|
|
189
|
-
e.update(),
|
|
189
|
+
e.update(), Re(e.before_update);
|
|
190
190
|
const t = e.dirty;
|
|
191
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
191
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_t);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function mn(e) {
|
|
195
195
|
const t = [], r = [];
|
|
196
196
|
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
197
197
|
}
|
|
198
|
-
const
|
|
199
|
-
function
|
|
200
|
-
e && e.i && (
|
|
198
|
+
const gn = /* @__PURE__ */ new Set();
|
|
199
|
+
function bn(e, t) {
|
|
200
|
+
e && e.i && (gn.delete(e), e.i(t));
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function wn(e, t, r) {
|
|
203
203
|
const { fragment: n, after_update: s } = e.$$;
|
|
204
|
-
n && n.m(t, r),
|
|
205
|
-
const a = e.$$.on_mount.map(
|
|
206
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...a) :
|
|
207
|
-
}), s.forEach(
|
|
204
|
+
n && n.m(t, r), _t(() => {
|
|
205
|
+
const a = e.$$.on_mount.map(mr).filter(Se);
|
|
206
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Re(a), e.$$.on_mount = [];
|
|
207
|
+
}), s.forEach(_t);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function vn(e, t) {
|
|
210
210
|
const r = e.$$;
|
|
211
|
-
r.fragment !== null && (
|
|
211
|
+
r.fragment !== null && (mn(r.after_update), Re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
e.$$.dirty[0] === -1 && (Te.push(e),
|
|
213
|
+
function yn(e, t) {
|
|
214
|
+
e.$$.dirty[0] === -1 && (Te.push(e), dn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function Pn(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
217
217
|
const u = Ve;
|
|
218
218
|
je(e);
|
|
219
219
|
const h = e.$$ = {
|
|
@@ -223,7 +223,7 @@ function Cn(e, t, r, n, s, a, i = null, o = [-1]) {
|
|
|
223
223
|
props: a,
|
|
224
224
|
update: se,
|
|
225
225
|
not_equal: s,
|
|
226
|
-
bound:
|
|
226
|
+
bound: Gt(),
|
|
227
227
|
// lifecycle
|
|
228
228
|
on_mount: [],
|
|
229
229
|
on_destroy: [],
|
|
@@ -232,8 +232,8 @@ function Cn(e, t, r, n, s, a, i = null, o = [-1]) {
|
|
|
232
232
|
after_update: [],
|
|
233
233
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
234
234
|
// everything else
|
|
235
|
-
callbacks:
|
|
236
|
-
dirty:
|
|
235
|
+
callbacks: Gt(),
|
|
236
|
+
dirty: l,
|
|
237
237
|
skip_bound: !1,
|
|
238
238
|
root: t.target || u.$$.root
|
|
239
239
|
};
|
|
@@ -241,19 +241,19 @@ function Cn(e, t, r, n, s, a, i = null, o = [-1]) {
|
|
|
241
241
|
let c = !1;
|
|
242
242
|
if (h.ctx = r ? r(e, t.props || {}, (f, p, ...m) => {
|
|
243
243
|
const w = m.length ? m[0] : p;
|
|
244
|
-
return h.ctx && s(h.ctx[f], h.ctx[f] = w) && (!h.skip_bound && h.bound[f] && h.bound[f](w), c &&
|
|
245
|
-
}) : [], h.update(), c = !0,
|
|
244
|
+
return h.ctx && s(h.ctx[f], h.ctx[f] = w) && (!h.skip_bound && h.bound[f] && h.bound[f](w), c && yn(e, f)), p;
|
|
245
|
+
}) : [], h.update(), c = !0, Re(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
246
246
|
if (t.hydrate) {
|
|
247
|
-
const f =
|
|
247
|
+
const f = on(t.target);
|
|
248
248
|
h.fragment && h.fragment.l(f), f.forEach(A);
|
|
249
249
|
} else
|
|
250
250
|
h.fragment && h.fragment.c();
|
|
251
|
-
t.intro &&
|
|
251
|
+
t.intro && bn(e.$$.fragment), wn(e, t.target, t.anchor), oe();
|
|
252
252
|
}
|
|
253
253
|
je(u);
|
|
254
254
|
}
|
|
255
|
-
let
|
|
256
|
-
typeof HTMLElement == "function" && (
|
|
255
|
+
let vr;
|
|
256
|
+
typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
257
257
|
constructor(t, r, n) {
|
|
258
258
|
super();
|
|
259
259
|
/** The Svelte component constructor */
|
|
@@ -290,14 +290,14 @@ typeof HTMLElement == "function" && (_r = class extends HTMLElement {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
connectedCallback() {
|
|
293
|
-
return
|
|
293
|
+
return $t(this, null, function* () {
|
|
294
294
|
if (this.$$cn = !0, !this.$$c) {
|
|
295
295
|
let t = function(a) {
|
|
296
296
|
return () => {
|
|
297
297
|
let i;
|
|
298
298
|
return {
|
|
299
299
|
c: function() {
|
|
300
|
-
i = _("slot"), a !== "default" &&
|
|
300
|
+
i = _("slot"), a !== "default" && o(i, "name", a);
|
|
301
301
|
},
|
|
302
302
|
/**
|
|
303
303
|
* @param {HTMLElement} target
|
|
@@ -314,7 +314,7 @@ typeof HTMLElement == "function" && (_r = class extends HTMLElement {
|
|
|
314
314
|
};
|
|
315
315
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
316
316
|
return;
|
|
317
|
-
const r = {}, n =
|
|
317
|
+
const r = {}, n = un(this);
|
|
318
318
|
for (const a of this.$$s)
|
|
319
319
|
a in n && (r[a] = [t(a)]);
|
|
320
320
|
for (const a of this.attributes) {
|
|
@@ -325,7 +325,7 @@ typeof HTMLElement == "function" && (_r = class extends HTMLElement {
|
|
|
325
325
|
!(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
|
|
326
326
|
this.$$c = new this.$$ctor({
|
|
327
327
|
target: this.shadowRoot || this,
|
|
328
|
-
props:
|
|
328
|
+
props: Ut(Dt({}, this.$$d), {
|
|
329
329
|
$$slots: r,
|
|
330
330
|
$$scope: {
|
|
331
331
|
ctx: []
|
|
@@ -349,8 +349,8 @@ typeof HTMLElement == "function" && (_r = class extends HTMLElement {
|
|
|
349
349
|
this.$$c.$$.after_update.push(s), s();
|
|
350
350
|
for (const a in this.$$l)
|
|
351
351
|
for (const i of this.$$l[a]) {
|
|
352
|
-
const
|
|
353
|
-
this.$$l_u.set(i,
|
|
352
|
+
const l = this.$$c.$on(a, i);
|
|
353
|
+
this.$$l_u.set(i, l);
|
|
354
354
|
}
|
|
355
355
|
this.$$l = {};
|
|
356
356
|
}
|
|
@@ -403,38 +403,38 @@ function rt(e, t, r, n) {
|
|
|
403
403
|
return t;
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
function
|
|
407
|
-
let i = class extends
|
|
406
|
+
function _n(e, t, r, n, s, a) {
|
|
407
|
+
let i = class extends vr {
|
|
408
408
|
constructor() {
|
|
409
409
|
super(e, r, s), this.$$p_d = t;
|
|
410
410
|
}
|
|
411
411
|
static get observedAttributes() {
|
|
412
412
|
return Object.keys(t).map(
|
|
413
|
-
(
|
|
413
|
+
(l) => (t[l].attribute || l).toLowerCase()
|
|
414
414
|
);
|
|
415
415
|
}
|
|
416
416
|
};
|
|
417
|
-
return Object.keys(t).forEach((
|
|
418
|
-
Object.defineProperty(i.prototype,
|
|
417
|
+
return Object.keys(t).forEach((l) => {
|
|
418
|
+
Object.defineProperty(i.prototype, l, {
|
|
419
419
|
get() {
|
|
420
|
-
return this.$$c &&
|
|
420
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
421
421
|
},
|
|
422
422
|
set(u) {
|
|
423
423
|
var h;
|
|
424
|
-
u = rt(
|
|
424
|
+
u = rt(l, u, t), this.$$d[l] = u, (h = this.$$c) == null || h.$set({ [l]: u });
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
|
-
}), n.forEach((
|
|
428
|
-
Object.defineProperty(i.prototype,
|
|
427
|
+
}), n.forEach((l) => {
|
|
428
|
+
Object.defineProperty(i.prototype, l, {
|
|
429
429
|
get() {
|
|
430
430
|
var u;
|
|
431
|
-
return (u = this.$$c) == null ? void 0 : u[
|
|
431
|
+
return (u = this.$$c) == null ? void 0 : u[l];
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
434
|
}), e.element = /** @type {any} */
|
|
435
435
|
i, i;
|
|
436
436
|
}
|
|
437
|
-
class
|
|
437
|
+
class xn {
|
|
438
438
|
constructor() {
|
|
439
439
|
/**
|
|
440
440
|
* ### PRIVATE API
|
|
@@ -455,7 +455,7 @@ class Bn {
|
|
|
455
455
|
}
|
|
456
456
|
/** @returns {void} */
|
|
457
457
|
$destroy() {
|
|
458
|
-
|
|
458
|
+
vn(this, 1), this.$destroy = se;
|
|
459
459
|
}
|
|
460
460
|
/**
|
|
461
461
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -477,18 +477,18 @@ class Bn {
|
|
|
477
477
|
* @returns {void}
|
|
478
478
|
*/
|
|
479
479
|
$set(t) {
|
|
480
|
-
this.$$set && !
|
|
480
|
+
this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
const
|
|
484
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
485
|
-
function
|
|
483
|
+
const En = "4";
|
|
484
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(En);
|
|
485
|
+
function Cn(e, t) {
|
|
486
486
|
if (e) {
|
|
487
487
|
const r = document.createElement("style");
|
|
488
488
|
r.innerHTML = t, e.appendChild(r);
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function Tn(e, t) {
|
|
492
492
|
const r = new URL(t);
|
|
493
493
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
494
494
|
const s = document.createElement("style");
|
|
@@ -497,7 +497,7 @@ function In(e, t) {
|
|
|
497
497
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
498
498
|
});
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function Bn(e, t, r) {
|
|
501
501
|
if (window.emMessageBus) {
|
|
502
502
|
const n = document.createElement("style");
|
|
503
503
|
window.emMessageBus.subscribe(t, (s) => {
|
|
@@ -519,18 +519,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
519
519
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
520
520
|
PERFORMANCE OF THIS SOFTWARE.
|
|
521
521
|
***************************************************************************** */
|
|
522
|
-
var
|
|
523
|
-
return
|
|
522
|
+
var xt = function(e, t) {
|
|
523
|
+
return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
524
524
|
r.__proto__ = n;
|
|
525
525
|
} || function(r, n) {
|
|
526
526
|
for (var s in n)
|
|
527
527
|
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
528
|
-
},
|
|
528
|
+
}, xt(e, t);
|
|
529
529
|
};
|
|
530
530
|
function ue(e, t) {
|
|
531
531
|
if (typeof t != "function" && t !== null)
|
|
532
532
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
533
|
-
|
|
533
|
+
xt(e, t);
|
|
534
534
|
function r() {
|
|
535
535
|
this.constructor = e;
|
|
536
536
|
}
|
|
@@ -546,7 +546,7 @@ var S = function() {
|
|
|
546
546
|
return t;
|
|
547
547
|
}, S.apply(this, arguments);
|
|
548
548
|
};
|
|
549
|
-
function
|
|
549
|
+
function Sn(e, t) {
|
|
550
550
|
var r = {};
|
|
551
551
|
for (var n in e)
|
|
552
552
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -555,7 +555,7 @@ function Mn(e, t) {
|
|
|
555
555
|
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
556
556
|
return r;
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function Et(e) {
|
|
559
559
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
560
560
|
if (r)
|
|
561
561
|
return r.call(e);
|
|
@@ -567,7 +567,7 @@ function Ct(e) {
|
|
|
567
567
|
};
|
|
568
568
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function Ct(e, t) {
|
|
571
571
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
572
572
|
if (!r)
|
|
573
573
|
return e;
|
|
@@ -575,8 +575,8 @@ function Tt(e, t) {
|
|
|
575
575
|
try {
|
|
576
576
|
for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; )
|
|
577
577
|
a.push(s.value);
|
|
578
|
-
} catch (
|
|
579
|
-
i = { error:
|
|
578
|
+
} catch (l) {
|
|
579
|
+
i = { error: l };
|
|
580
580
|
} finally {
|
|
581
581
|
try {
|
|
582
582
|
s && !s.done && (r = n.return) && r.call(n);
|
|
@@ -596,13 +596,13 @@ function Ie(e, t, r) {
|
|
|
596
596
|
function le(e) {
|
|
597
597
|
return typeof e == "function";
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function yr(e) {
|
|
600
600
|
var t = function(n) {
|
|
601
601
|
Error.call(n), n.stack = new Error().stack;
|
|
602
602
|
}, r = e(t);
|
|
603
603
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
604
604
|
}
|
|
605
|
-
var mt =
|
|
605
|
+
var mt = yr(function(e) {
|
|
606
606
|
return function(r) {
|
|
607
607
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
608
608
|
` + r.map(function(n, s) {
|
|
@@ -611,7 +611,7 @@ var mt = xr(function(e) {
|
|
|
611
611
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
612
612
|
};
|
|
613
613
|
});
|
|
614
|
-
function
|
|
614
|
+
function Tt(e, t) {
|
|
615
615
|
if (e) {
|
|
616
616
|
var r = e.indexOf(t);
|
|
617
617
|
0 <= r && e.splice(r, 1);
|
|
@@ -629,7 +629,7 @@ var lt = function() {
|
|
|
629
629
|
if (i)
|
|
630
630
|
if (this._parentage = null, Array.isArray(i))
|
|
631
631
|
try {
|
|
632
|
-
for (var
|
|
632
|
+
for (var l = Et(i), u = l.next(); !u.done; u = l.next()) {
|
|
633
633
|
var h = u.value;
|
|
634
634
|
h.remove(this);
|
|
635
635
|
}
|
|
@@ -637,7 +637,7 @@ var lt = function() {
|
|
|
637
637
|
t = { error: v };
|
|
638
638
|
} finally {
|
|
639
639
|
try {
|
|
640
|
-
u && !u.done && (r =
|
|
640
|
+
u && !u.done && (r = l.return) && r.call(l);
|
|
641
641
|
} finally {
|
|
642
642
|
if (t)
|
|
643
643
|
throw t.error;
|
|
@@ -656,12 +656,12 @@ var lt = function() {
|
|
|
656
656
|
if (f) {
|
|
657
657
|
this._finalizers = null;
|
|
658
658
|
try {
|
|
659
|
-
for (var p =
|
|
659
|
+
for (var p = Et(f), m = p.next(); !m.done; m = p.next()) {
|
|
660
660
|
var w = m.value;
|
|
661
661
|
try {
|
|
662
|
-
|
|
662
|
+
Vt(w);
|
|
663
663
|
} catch (v) {
|
|
664
|
-
a = a != null ? a : [], v instanceof mt ? a = Ie(Ie([],
|
|
664
|
+
a = a != null ? a : [], v instanceof mt ? a = Ie(Ie([], Ct(a)), Ct(v.errors)) : a.push(v);
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
} catch (v) {
|
|
@@ -682,7 +682,7 @@ var lt = function() {
|
|
|
682
682
|
var r;
|
|
683
683
|
if (t && t !== this)
|
|
684
684
|
if (this.closed)
|
|
685
|
-
|
|
685
|
+
Vt(t);
|
|
686
686
|
else {
|
|
687
687
|
if (t instanceof e) {
|
|
688
688
|
if (t.closed || t._hasParent(this))
|
|
@@ -699,56 +699,52 @@ var lt = function() {
|
|
|
699
699
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
700
700
|
}, e.prototype._removeParent = function(t) {
|
|
701
701
|
var r = this._parentage;
|
|
702
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
702
|
+
r === t ? this._parentage = null : Array.isArray(r) && Tt(r, t);
|
|
703
703
|
}, e.prototype.remove = function(t) {
|
|
704
704
|
var r = this._finalizers;
|
|
705
|
-
r &&
|
|
705
|
+
r && Tt(r, t), t instanceof e && t._removeParent(this);
|
|
706
706
|
}, e.EMPTY = function() {
|
|
707
707
|
var t = new e();
|
|
708
708
|
return t.closed = !0, t;
|
|
709
709
|
}(), e;
|
|
710
|
-
}(),
|
|
711
|
-
function
|
|
710
|
+
}(), Pr = lt.EMPTY;
|
|
711
|
+
function _r(e) {
|
|
712
712
|
return e instanceof lt || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function Vt(e) {
|
|
715
715
|
le(e) ? e() : e.unsubscribe();
|
|
716
716
|
}
|
|
717
|
-
var
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
Promise: void 0,
|
|
721
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
722
|
-
useDeprecatedNextContext: !1
|
|
723
|
-
}, Nn = {
|
|
717
|
+
var An = {
|
|
718
|
+
Promise: void 0
|
|
719
|
+
}, In = {
|
|
724
720
|
setTimeout: function(e, t) {
|
|
725
721
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
726
722
|
r[n - 2] = arguments[n];
|
|
727
|
-
return setTimeout.apply(void 0, Ie([e, t],
|
|
723
|
+
return setTimeout.apply(void 0, Ie([e, t], Ct(r)));
|
|
728
724
|
},
|
|
729
725
|
clearTimeout: function(e) {
|
|
730
726
|
return clearTimeout(e);
|
|
731
727
|
},
|
|
732
728
|
delegate: void 0
|
|
733
729
|
};
|
|
734
|
-
function
|
|
735
|
-
|
|
730
|
+
function Hn(e) {
|
|
731
|
+
In.setTimeout(function() {
|
|
736
732
|
throw e;
|
|
737
733
|
});
|
|
738
734
|
}
|
|
739
|
-
function
|
|
735
|
+
function zt() {
|
|
740
736
|
}
|
|
741
737
|
function nt(e) {
|
|
742
738
|
e();
|
|
743
739
|
}
|
|
744
|
-
var
|
|
740
|
+
var xr = function(e) {
|
|
745
741
|
ue(t, e);
|
|
746
742
|
function t(r) {
|
|
747
743
|
var n = e.call(this) || this;
|
|
748
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
744
|
+
return n.isStopped = !1, r ? (n.destination = r, _r(r) && r.add(n)) : n.destination = On, n;
|
|
749
745
|
}
|
|
750
746
|
return t.create = function(r, n, s) {
|
|
751
|
-
return new
|
|
747
|
+
return new Bt(r, n, s);
|
|
752
748
|
}, t.prototype.next = function(r) {
|
|
753
749
|
this.isStopped || this._next(r);
|
|
754
750
|
}, t.prototype.error = function(r) {
|
|
@@ -772,11 +768,7 @@ var Br = function(e) {
|
|
|
772
768
|
this.unsubscribe();
|
|
773
769
|
}
|
|
774
770
|
}, t;
|
|
775
|
-
}(lt),
|
|
776
|
-
function gt(e, t) {
|
|
777
|
-
return On.call(e, t);
|
|
778
|
-
}
|
|
779
|
-
var Ln = function() {
|
|
771
|
+
}(lt), Mn = function() {
|
|
780
772
|
function e(t) {
|
|
781
773
|
this.partialObserver = t;
|
|
782
774
|
}
|
|
@@ -807,55 +799,43 @@ var Ln = function() {
|
|
|
807
799
|
et(r);
|
|
808
800
|
}
|
|
809
801
|
}, e;
|
|
810
|
-
}(),
|
|
802
|
+
}(), Bt = function(e) {
|
|
811
803
|
ue(t, e);
|
|
812
804
|
function t(r, n, s) {
|
|
813
805
|
var a = e.call(this) || this, i;
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
};
|
|
820
|
-
else {
|
|
821
|
-
var o;
|
|
822
|
-
a && Tr.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
|
|
823
|
-
return a.unsubscribe();
|
|
824
|
-
}, i = {
|
|
825
|
-
next: r.next && gt(r.next, o),
|
|
826
|
-
error: r.error && gt(r.error, o),
|
|
827
|
-
complete: r.complete && gt(r.complete, o)
|
|
828
|
-
}) : i = r;
|
|
829
|
-
}
|
|
830
|
-
return a.destination = new Ln(i), a;
|
|
806
|
+
return le(r) || !r ? i = {
|
|
807
|
+
next: r != null ? r : void 0,
|
|
808
|
+
error: n != null ? n : void 0,
|
|
809
|
+
complete: s != null ? s : void 0
|
|
810
|
+
} : i = r, a.destination = new Mn(i), a;
|
|
831
811
|
}
|
|
832
812
|
return t;
|
|
833
|
-
}(
|
|
813
|
+
}(xr);
|
|
834
814
|
function et(e) {
|
|
835
|
-
|
|
815
|
+
Hn(e);
|
|
836
816
|
}
|
|
837
|
-
function
|
|
817
|
+
function Nn(e) {
|
|
838
818
|
throw e;
|
|
839
819
|
}
|
|
840
|
-
var
|
|
820
|
+
var On = {
|
|
841
821
|
closed: !0,
|
|
842
|
-
next:
|
|
843
|
-
error:
|
|
844
|
-
complete:
|
|
845
|
-
},
|
|
822
|
+
next: zt,
|
|
823
|
+
error: Nn,
|
|
824
|
+
complete: zt
|
|
825
|
+
}, Rn = function() {
|
|
846
826
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
847
827
|
}();
|
|
848
|
-
function
|
|
828
|
+
function Ln(e) {
|
|
849
829
|
return e;
|
|
850
830
|
}
|
|
851
|
-
function
|
|
852
|
-
return e.length === 0 ?
|
|
831
|
+
function Fn(e) {
|
|
832
|
+
return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
|
|
853
833
|
return e.reduce(function(n, s) {
|
|
854
834
|
return s(n);
|
|
855
835
|
}, r);
|
|
856
836
|
};
|
|
857
837
|
}
|
|
858
|
-
var
|
|
838
|
+
var Wt = function() {
|
|
859
839
|
function e(t) {
|
|
860
840
|
t && (this._subscribe = t);
|
|
861
841
|
}
|
|
@@ -863,10 +843,10 @@ var Qt = function() {
|
|
|
863
843
|
var r = new e();
|
|
864
844
|
return r.source = this, r.operator = t, r;
|
|
865
845
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
866
|
-
var s = this, a =
|
|
846
|
+
var s = this, a = Dn(t) ? t : new Bt(t, r, n);
|
|
867
847
|
return nt(function() {
|
|
868
|
-
var i = s,
|
|
869
|
-
a.add(
|
|
848
|
+
var i = s, l = i.operator, u = i.source;
|
|
849
|
+
a.add(l ? l.call(a, u) : u ? s._subscribe(a) : s._trySubscribe(a));
|
|
870
850
|
}), a;
|
|
871
851
|
}, e.prototype._trySubscribe = function(t) {
|
|
872
852
|
try {
|
|
@@ -876,11 +856,11 @@ var Qt = function() {
|
|
|
876
856
|
}
|
|
877
857
|
}, e.prototype.forEach = function(t, r) {
|
|
878
858
|
var n = this;
|
|
879
|
-
return r =
|
|
880
|
-
var i = new
|
|
881
|
-
next: function(
|
|
859
|
+
return r = Xt(r), new r(function(s, a) {
|
|
860
|
+
var i = new Bt({
|
|
861
|
+
next: function(l) {
|
|
882
862
|
try {
|
|
883
|
-
t(
|
|
863
|
+
t(l);
|
|
884
864
|
} catch (u) {
|
|
885
865
|
a(u), i.unsubscribe();
|
|
886
866
|
}
|
|
@@ -893,15 +873,15 @@ var Qt = function() {
|
|
|
893
873
|
}, e.prototype._subscribe = function(t) {
|
|
894
874
|
var r;
|
|
895
875
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
896
|
-
}, e.prototype[
|
|
876
|
+
}, e.prototype[Rn] = function() {
|
|
897
877
|
return this;
|
|
898
878
|
}, e.prototype.pipe = function() {
|
|
899
879
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
900
880
|
t[r] = arguments[r];
|
|
901
|
-
return
|
|
881
|
+
return Fn(t)(this);
|
|
902
882
|
}, e.prototype.toPromise = function(t) {
|
|
903
883
|
var r = this;
|
|
904
|
-
return t =
|
|
884
|
+
return t = Xt(t), new t(function(n, s) {
|
|
905
885
|
var a;
|
|
906
886
|
r.subscribe(function(i) {
|
|
907
887
|
return a = i;
|
|
@@ -915,32 +895,32 @@ var Qt = function() {
|
|
|
915
895
|
return new e(t);
|
|
916
896
|
}, e;
|
|
917
897
|
}();
|
|
918
|
-
function
|
|
898
|
+
function Xt(e) {
|
|
919
899
|
var t;
|
|
920
|
-
return (t = e != null ? e :
|
|
900
|
+
return (t = e != null ? e : An.Promise) !== null && t !== void 0 ? t : Promise;
|
|
921
901
|
}
|
|
922
|
-
function
|
|
902
|
+
function kn(e) {
|
|
923
903
|
return e && le(e.next) && le(e.error) && le(e.complete);
|
|
924
904
|
}
|
|
925
|
-
function
|
|
926
|
-
return e && e instanceof
|
|
905
|
+
function Dn(e) {
|
|
906
|
+
return e && e instanceof xr || kn(e) && _r(e);
|
|
927
907
|
}
|
|
928
|
-
var
|
|
908
|
+
var Un = yr(function(e) {
|
|
929
909
|
return function() {
|
|
930
910
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
931
911
|
};
|
|
932
|
-
}),
|
|
912
|
+
}), Er = function(e) {
|
|
933
913
|
ue(t, e);
|
|
934
914
|
function t() {
|
|
935
915
|
var r = e.call(this) || this;
|
|
936
916
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
937
917
|
}
|
|
938
918
|
return t.prototype.lift = function(r) {
|
|
939
|
-
var n = new
|
|
919
|
+
var n = new Zt(this, this);
|
|
940
920
|
return n.operator = r, n;
|
|
941
921
|
}, t.prototype._throwIfClosed = function() {
|
|
942
922
|
if (this.closed)
|
|
943
|
-
throw new
|
|
923
|
+
throw new Un();
|
|
944
924
|
}, t.prototype.next = function(r) {
|
|
945
925
|
var n = this;
|
|
946
926
|
nt(function() {
|
|
@@ -948,15 +928,15 @@ var Vn = xr(function(e) {
|
|
|
948
928
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
949
929
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
950
930
|
try {
|
|
951
|
-
for (var i =
|
|
952
|
-
var u =
|
|
931
|
+
for (var i = Et(n.currentObservers), l = i.next(); !l.done; l = i.next()) {
|
|
932
|
+
var u = l.value;
|
|
953
933
|
u.next(r);
|
|
954
934
|
}
|
|
955
935
|
} catch (h) {
|
|
956
936
|
s = { error: h };
|
|
957
937
|
} finally {
|
|
958
938
|
try {
|
|
959
|
-
|
|
939
|
+
l && !l.done && (a = i.return) && a.call(i);
|
|
960
940
|
} finally {
|
|
961
941
|
if (s)
|
|
962
942
|
throw s.error;
|
|
@@ -996,20 +976,20 @@ var Vn = xr(function(e) {
|
|
|
996
976
|
}, t.prototype._subscribe = function(r) {
|
|
997
977
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
998
978
|
}, t.prototype._innerSubscribe = function(r) {
|
|
999
|
-
var n = this, s = this, a = s.hasError, i = s.isStopped,
|
|
1000
|
-
return a || i ?
|
|
1001
|
-
n.currentObservers = null,
|
|
979
|
+
var n = this, s = this, a = s.hasError, i = s.isStopped, l = s.observers;
|
|
980
|
+
return a || i ? Pr : (this.currentObservers = null, l.push(r), new lt(function() {
|
|
981
|
+
n.currentObservers = null, Tt(l, r);
|
|
1002
982
|
}));
|
|
1003
983
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1004
984
|
var n = this, s = n.hasError, a = n.thrownError, i = n.isStopped;
|
|
1005
985
|
s ? r.error(a) : i && r.complete();
|
|
1006
986
|
}, t.prototype.asObservable = function() {
|
|
1007
|
-
var r = new
|
|
987
|
+
var r = new Wt();
|
|
1008
988
|
return r.source = this, r;
|
|
1009
989
|
}, t.create = function(r, n) {
|
|
1010
|
-
return new
|
|
990
|
+
return new Zt(r, n);
|
|
1011
991
|
}, t;
|
|
1012
|
-
}(
|
|
992
|
+
}(Wt), Zt = function(e) {
|
|
1013
993
|
ue(t, e);
|
|
1014
994
|
function t(r, n) {
|
|
1015
995
|
var s = e.call(this) || this;
|
|
@@ -1026,45 +1006,45 @@ var Vn = xr(function(e) {
|
|
|
1026
1006
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1027
1007
|
}, t.prototype._subscribe = function(r) {
|
|
1028
1008
|
var n, s;
|
|
1029
|
-
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s :
|
|
1009
|
+
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : Pr;
|
|
1030
1010
|
}, t;
|
|
1031
|
-
}(
|
|
1011
|
+
}(Er), Cr = {
|
|
1032
1012
|
now: function() {
|
|
1033
|
-
return (
|
|
1013
|
+
return (Cr.delegate || Date).now();
|
|
1034
1014
|
},
|
|
1035
1015
|
delegate: void 0
|
|
1036
|
-
},
|
|
1016
|
+
}, $n = function(e) {
|
|
1037
1017
|
ue(t, e);
|
|
1038
1018
|
function t(r, n, s) {
|
|
1039
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s =
|
|
1019
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = Cr);
|
|
1040
1020
|
var a = e.call(this) || this;
|
|
1041
1021
|
return a._bufferSize = r, a._windowTime = n, a._timestampProvider = s, a._buffer = [], a._infiniteTimeWindow = !0, a._infiniteTimeWindow = n === 1 / 0, a._bufferSize = Math.max(1, r), a._windowTime = Math.max(1, n), a;
|
|
1042
1022
|
}
|
|
1043
1023
|
return t.prototype.next = function(r) {
|
|
1044
|
-
var n = this, s = n.isStopped, a = n._buffer, i = n._infiniteTimeWindow,
|
|
1045
|
-
s || (a.push(r), !i && a.push(
|
|
1024
|
+
var n = this, s = n.isStopped, a = n._buffer, i = n._infiniteTimeWindow, l = n._timestampProvider, u = n._windowTime;
|
|
1025
|
+
s || (a.push(r), !i && a.push(l.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1046
1026
|
}, t.prototype._subscribe = function(r) {
|
|
1047
1027
|
this._throwIfClosed(), this._trimBuffer();
|
|
1048
|
-
for (var n = this._innerSubscribe(r), s = this, a = s._infiniteTimeWindow, i = s._buffer,
|
|
1049
|
-
r.next(
|
|
1028
|
+
for (var n = this._innerSubscribe(r), s = this, a = s._infiniteTimeWindow, i = s._buffer, l = i.slice(), u = 0; u < l.length && !r.closed; u += a ? 1 : 2)
|
|
1029
|
+
r.next(l[u]);
|
|
1050
1030
|
return this._checkFinalizedStatuses(r), n;
|
|
1051
1031
|
}, t.prototype._trimBuffer = function() {
|
|
1052
|
-
var r = this, n = r._bufferSize, s = r._timestampProvider, a = r._buffer, i = r._infiniteTimeWindow,
|
|
1053
|
-
if (n < 1 / 0 &&
|
|
1032
|
+
var r = this, n = r._bufferSize, s = r._timestampProvider, a = r._buffer, i = r._infiniteTimeWindow, l = (i ? 1 : 2) * n;
|
|
1033
|
+
if (n < 1 / 0 && l < a.length && a.splice(0, a.length - l), !i) {
|
|
1054
1034
|
for (var u = s.now(), h = 0, c = 1; c < a.length && a[c] <= u; c += 2)
|
|
1055
1035
|
h = c;
|
|
1056
1036
|
h && a.splice(0, h + 1);
|
|
1057
1037
|
}
|
|
1058
1038
|
}, t;
|
|
1059
|
-
}(
|
|
1060
|
-
const
|
|
1061
|
-
if (
|
|
1062
|
-
const r = new
|
|
1063
|
-
|
|
1039
|
+
}(Er);
|
|
1040
|
+
const Qt = [], Yt = {}, Gn = (e, t = 0) => {
|
|
1041
|
+
if (Qt.indexOf(e) == -1) {
|
|
1042
|
+
const r = new $n(t);
|
|
1043
|
+
Yt[e] = r, Qt.push(e);
|
|
1064
1044
|
}
|
|
1065
|
-
return
|
|
1045
|
+
return Yt[e];
|
|
1066
1046
|
}, Ce = [];
|
|
1067
|
-
function
|
|
1047
|
+
function jn(e, t) {
|
|
1068
1048
|
return {
|
|
1069
1049
|
subscribe: ut(e, t).subscribe
|
|
1070
1050
|
};
|
|
@@ -1072,8 +1052,8 @@ function Xn(e, t) {
|
|
|
1072
1052
|
function ut(e, t = se) {
|
|
1073
1053
|
let r;
|
|
1074
1054
|
const n = /* @__PURE__ */ new Set();
|
|
1075
|
-
function s(
|
|
1076
|
-
if (
|
|
1055
|
+
function s(l) {
|
|
1056
|
+
if (gr(e, l) && (e = l, r)) {
|
|
1077
1057
|
const u = !Ce.length;
|
|
1078
1058
|
for (const h of n)
|
|
1079
1059
|
h[1](), Ce.push(h, e);
|
|
@@ -1084,12 +1064,12 @@ function ut(e, t = se) {
|
|
|
1084
1064
|
}
|
|
1085
1065
|
}
|
|
1086
1066
|
}
|
|
1087
|
-
function a(
|
|
1088
|
-
s(
|
|
1067
|
+
function a(l) {
|
|
1068
|
+
s(l(e));
|
|
1089
1069
|
}
|
|
1090
|
-
function i(
|
|
1091
|
-
const h = [
|
|
1092
|
-
return n.add(h), n.size === 1 && (r = t(s, a) || se),
|
|
1070
|
+
function i(l, u = se) {
|
|
1071
|
+
const h = [l, u];
|
|
1072
|
+
return n.add(h), n.size === 1 && (r = t(s, a) || se), l(e), () => {
|
|
1093
1073
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1094
1074
|
};
|
|
1095
1075
|
}
|
|
@@ -1100,7 +1080,7 @@ function Le(e, t, r) {
|
|
|
1100
1080
|
if (!s.every(Boolean))
|
|
1101
1081
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1102
1082
|
const a = t.length < 2;
|
|
1103
|
-
return
|
|
1083
|
+
return jn(r, (i, l) => {
|
|
1104
1084
|
let u = !1;
|
|
1105
1085
|
const h = [];
|
|
1106
1086
|
let c = 0, f = se;
|
|
@@ -1108,10 +1088,10 @@ function Le(e, t, r) {
|
|
|
1108
1088
|
if (c)
|
|
1109
1089
|
return;
|
|
1110
1090
|
f();
|
|
1111
|
-
const w = t(n ? h[0] : h, i,
|
|
1091
|
+
const w = t(n ? h[0] : h, i, l);
|
|
1112
1092
|
a ? i(w) : f = Se(w) ? w : se;
|
|
1113
1093
|
}, m = s.map(
|
|
1114
|
-
(w, v) =>
|
|
1094
|
+
(w, v) => br(
|
|
1115
1095
|
w,
|
|
1116
1096
|
(T) => {
|
|
1117
1097
|
h[v] = T, c &= ~(1 << v), u && p();
|
|
@@ -1122,74 +1102,74 @@ function Le(e, t, r) {
|
|
|
1122
1102
|
)
|
|
1123
1103
|
);
|
|
1124
1104
|
return u = !0, p(), function() {
|
|
1125
|
-
|
|
1105
|
+
Re(m), f(), u = !1;
|
|
1126
1106
|
};
|
|
1127
1107
|
});
|
|
1128
1108
|
}
|
|
1129
|
-
function
|
|
1109
|
+
function Vn(e) {
|
|
1130
1110
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1131
1111
|
}
|
|
1132
|
-
var
|
|
1133
|
-
return
|
|
1112
|
+
var zn = function(t) {
|
|
1113
|
+
return Wn(t) && !Xn(t);
|
|
1134
1114
|
};
|
|
1135
|
-
function
|
|
1115
|
+
function Wn(e) {
|
|
1136
1116
|
return !!e && typeof e == "object";
|
|
1137
1117
|
}
|
|
1138
|
-
function
|
|
1118
|
+
function Xn(e) {
|
|
1139
1119
|
var t = Object.prototype.toString.call(e);
|
|
1140
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1120
|
+
return t === "[object RegExp]" || t === "[object Date]" || Yn(e);
|
|
1141
1121
|
}
|
|
1142
|
-
var
|
|
1143
|
-
function
|
|
1144
|
-
return e.$$typeof ===
|
|
1122
|
+
var Zn = typeof Symbol == "function" && Symbol.for, Qn = Zn ? Symbol.for("react.element") : 60103;
|
|
1123
|
+
function Yn(e) {
|
|
1124
|
+
return e.$$typeof === Qn;
|
|
1145
1125
|
}
|
|
1146
|
-
function
|
|
1126
|
+
function Jn(e) {
|
|
1147
1127
|
return Array.isArray(e) ? [] : {};
|
|
1148
1128
|
}
|
|
1149
1129
|
function ze(e, t) {
|
|
1150
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? He(
|
|
1130
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? He(Jn(e), e, t) : e;
|
|
1151
1131
|
}
|
|
1152
|
-
function
|
|
1132
|
+
function qn(e, t, r) {
|
|
1153
1133
|
return e.concat(t).map(function(n) {
|
|
1154
1134
|
return ze(n, r);
|
|
1155
1135
|
});
|
|
1156
1136
|
}
|
|
1157
|
-
function
|
|
1137
|
+
function Kn(e, t) {
|
|
1158
1138
|
if (!t.customMerge)
|
|
1159
1139
|
return He;
|
|
1160
1140
|
var r = t.customMerge(e);
|
|
1161
1141
|
return typeof r == "function" ? r : He;
|
|
1162
1142
|
}
|
|
1163
|
-
function
|
|
1143
|
+
function es(e) {
|
|
1164
1144
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1165
1145
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1166
1146
|
}) : [];
|
|
1167
1147
|
}
|
|
1168
|
-
function
|
|
1169
|
-
return Object.keys(e).concat(
|
|
1148
|
+
function Jt(e) {
|
|
1149
|
+
return Object.keys(e).concat(es(e));
|
|
1170
1150
|
}
|
|
1171
|
-
function
|
|
1151
|
+
function Tr(e, t) {
|
|
1172
1152
|
try {
|
|
1173
1153
|
return t in e;
|
|
1174
1154
|
} catch (r) {
|
|
1175
1155
|
return !1;
|
|
1176
1156
|
}
|
|
1177
1157
|
}
|
|
1178
|
-
function
|
|
1179
|
-
return
|
|
1158
|
+
function ts(e, t) {
|
|
1159
|
+
return Tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1180
1160
|
}
|
|
1181
|
-
function
|
|
1161
|
+
function rs(e, t, r) {
|
|
1182
1162
|
var n = {};
|
|
1183
|
-
return r.isMergeableObject(e) &&
|
|
1163
|
+
return r.isMergeableObject(e) && Jt(e).forEach(function(s) {
|
|
1184
1164
|
n[s] = ze(e[s], r);
|
|
1185
|
-
}),
|
|
1186
|
-
|
|
1165
|
+
}), Jt(t).forEach(function(s) {
|
|
1166
|
+
ts(e, s) || (Tr(e, s) && r.isMergeableObject(t[s]) ? n[s] = Kn(s, r)(e[s], t[s], r) : n[s] = ze(t[s], r));
|
|
1187
1167
|
}), n;
|
|
1188
1168
|
}
|
|
1189
1169
|
function He(e, t, r) {
|
|
1190
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1170
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || qn, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = ze;
|
|
1191
1171
|
var n = Array.isArray(t), s = Array.isArray(e), a = n === s;
|
|
1192
|
-
return a ? n ? r.arrayMerge(e, t, r) :
|
|
1172
|
+
return a ? n ? r.arrayMerge(e, t, r) : rs(e, t, r) : ze(t, r);
|
|
1193
1173
|
}
|
|
1194
1174
|
He.all = function(t, r) {
|
|
1195
1175
|
if (!Array.isArray(t))
|
|
@@ -1198,107 +1178,105 @@ He.all = function(t, r) {
|
|
|
1198
1178
|
return He(n, s, r);
|
|
1199
1179
|
}, {});
|
|
1200
1180
|
};
|
|
1201
|
-
var
|
|
1202
|
-
const
|
|
1203
|
-
function
|
|
1204
|
-
var r = t && t.cache ? t.cache :
|
|
1181
|
+
var ns = He, ss = ns;
|
|
1182
|
+
const as = /* @__PURE__ */ Vn(ss);
|
|
1183
|
+
function gt(e, t) {
|
|
1184
|
+
var r = t && t.cache ? t.cache : fs, n = t && t.serializer ? t.serializer : hs, s = t && t.strategy ? t.strategy : ls;
|
|
1205
1185
|
return s(e, {
|
|
1206
1186
|
cache: r,
|
|
1207
1187
|
serializer: n
|
|
1208
1188
|
});
|
|
1209
1189
|
}
|
|
1210
|
-
function
|
|
1190
|
+
function is(e) {
|
|
1211
1191
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1212
1192
|
}
|
|
1213
|
-
function
|
|
1214
|
-
var s =
|
|
1193
|
+
function os(e, t, r, n) {
|
|
1194
|
+
var s = is(n) ? n : r(n), a = t.get(s);
|
|
1215
1195
|
return typeof a == "undefined" && (a = e.call(this, n), t.set(s, a)), a;
|
|
1216
1196
|
}
|
|
1217
|
-
function
|
|
1197
|
+
function Br(e, t, r) {
|
|
1218
1198
|
var n = Array.prototype.slice.call(arguments, 3), s = r(n), a = t.get(s);
|
|
1219
1199
|
return typeof a == "undefined" && (a = e.apply(this, n), t.set(s, a)), a;
|
|
1220
1200
|
}
|
|
1221
|
-
function
|
|
1201
|
+
function Sr(e, t, r, n, s) {
|
|
1222
1202
|
return r.bind(t, e, n, s);
|
|
1223
1203
|
}
|
|
1224
|
-
function
|
|
1225
|
-
var r = e.length === 1 ?
|
|
1226
|
-
return
|
|
1227
|
-
}
|
|
1228
|
-
function fs(e, t) {
|
|
1229
|
-
return Ft(e, this, Mr, t.cache.create(), t.serializer);
|
|
1204
|
+
function ls(e, t) {
|
|
1205
|
+
var r = e.length === 1 ? os : Br;
|
|
1206
|
+
return Sr(e, this, r, t.cache.create(), t.serializer);
|
|
1230
1207
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return
|
|
1208
|
+
function us(e, t) {
|
|
1209
|
+
return Sr(e, this, Br, t.cache.create(), t.serializer);
|
|
1233
1210
|
}
|
|
1234
|
-
var
|
|
1211
|
+
var hs = function() {
|
|
1235
1212
|
return JSON.stringify(arguments);
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1213
|
+
}, cs = (
|
|
1214
|
+
/** @class */
|
|
1215
|
+
function() {
|
|
1216
|
+
function e() {
|
|
1217
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1218
|
+
}
|
|
1219
|
+
return e.prototype.get = function(t) {
|
|
1220
|
+
return this.cache[t];
|
|
1221
|
+
}, e.prototype.set = function(t, r) {
|
|
1222
|
+
this.cache[t] = r;
|
|
1223
|
+
}, e;
|
|
1224
|
+
}()
|
|
1225
|
+
), fs = {
|
|
1247
1226
|
create: function() {
|
|
1248
|
-
return new
|
|
1227
|
+
return new cs();
|
|
1249
1228
|
}
|
|
1250
|
-
},
|
|
1251
|
-
variadic:
|
|
1252
|
-
monadic: ds
|
|
1229
|
+
}, bt = {
|
|
1230
|
+
variadic: us
|
|
1253
1231
|
}, E;
|
|
1254
1232
|
(function(e) {
|
|
1255
1233
|
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";
|
|
1256
1234
|
})(E || (E = {}));
|
|
1257
|
-
var
|
|
1235
|
+
var O;
|
|
1258
1236
|
(function(e) {
|
|
1259
1237
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1260
|
-
})(
|
|
1238
|
+
})(O || (O = {}));
|
|
1261
1239
|
var Me;
|
|
1262
1240
|
(function(e) {
|
|
1263
1241
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1264
1242
|
})(Me || (Me = {}));
|
|
1265
|
-
function
|
|
1266
|
-
return e.type ===
|
|
1243
|
+
function qt(e) {
|
|
1244
|
+
return e.type === O.literal;
|
|
1267
1245
|
}
|
|
1268
|
-
function
|
|
1269
|
-
return e.type ===
|
|
1246
|
+
function ds(e) {
|
|
1247
|
+
return e.type === O.argument;
|
|
1270
1248
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return e.type ===
|
|
1249
|
+
function Ar(e) {
|
|
1250
|
+
return e.type === O.number;
|
|
1273
1251
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return e.type ===
|
|
1252
|
+
function Ir(e) {
|
|
1253
|
+
return e.type === O.date;
|
|
1276
1254
|
}
|
|
1277
|
-
function
|
|
1278
|
-
return e.type ===
|
|
1255
|
+
function Hr(e) {
|
|
1256
|
+
return e.type === O.time;
|
|
1279
1257
|
}
|
|
1280
|
-
function
|
|
1281
|
-
return e.type ===
|
|
1258
|
+
function Mr(e) {
|
|
1259
|
+
return e.type === O.select;
|
|
1282
1260
|
}
|
|
1283
|
-
function
|
|
1284
|
-
return e.type ===
|
|
1261
|
+
function Nr(e) {
|
|
1262
|
+
return e.type === O.plural;
|
|
1285
1263
|
}
|
|
1286
|
-
function
|
|
1287
|
-
return e.type ===
|
|
1264
|
+
function ps(e) {
|
|
1265
|
+
return e.type === O.pound;
|
|
1288
1266
|
}
|
|
1289
|
-
function
|
|
1290
|
-
return e.type ===
|
|
1267
|
+
function Or(e) {
|
|
1268
|
+
return e.type === O.tag;
|
|
1291
1269
|
}
|
|
1292
|
-
function
|
|
1270
|
+
function Rr(e) {
|
|
1293
1271
|
return !!(e && typeof e == "object" && e.type === Me.number);
|
|
1294
1272
|
}
|
|
1295
|
-
function
|
|
1273
|
+
function St(e) {
|
|
1296
1274
|
return !!(e && typeof e == "object" && e.type === Me.dateTime);
|
|
1297
1275
|
}
|
|
1298
|
-
var
|
|
1299
|
-
function
|
|
1276
|
+
var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ms = /(?:[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;
|
|
1277
|
+
function gs(e) {
|
|
1300
1278
|
var t = {};
|
|
1301
|
-
return e.replace(
|
|
1279
|
+
return e.replace(ms, function(r) {
|
|
1302
1280
|
var n = r.length;
|
|
1303
1281
|
switch (r[0]) {
|
|
1304
1282
|
case "G":
|
|
@@ -1387,36 +1365,36 @@ function vs(e) {
|
|
|
1387
1365
|
return "";
|
|
1388
1366
|
}), t;
|
|
1389
1367
|
}
|
|
1390
|
-
var
|
|
1391
|
-
function
|
|
1368
|
+
var bs = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1369
|
+
function ws(e) {
|
|
1392
1370
|
if (e.length === 0)
|
|
1393
1371
|
throw new Error("Number skeleton cannot be empty");
|
|
1394
|
-
for (var t = e.split(
|
|
1372
|
+
for (var t = e.split(bs).filter(function(p) {
|
|
1395
1373
|
return p.length > 0;
|
|
1396
1374
|
}), r = [], n = 0, s = t; n < s.length; n++) {
|
|
1397
1375
|
var a = s[n], i = a.split("/");
|
|
1398
1376
|
if (i.length === 0)
|
|
1399
1377
|
throw new Error("Invalid number skeleton");
|
|
1400
|
-
for (var
|
|
1378
|
+
for (var l = i[0], u = i.slice(1), h = 0, c = u; h < c.length; h++) {
|
|
1401
1379
|
var f = c[h];
|
|
1402
1380
|
if (f.length === 0)
|
|
1403
1381
|
throw new Error("Invalid number skeleton");
|
|
1404
1382
|
}
|
|
1405
|
-
r.push({ stem:
|
|
1383
|
+
r.push({ stem: l, options: u });
|
|
1406
1384
|
}
|
|
1407
1385
|
return r;
|
|
1408
1386
|
}
|
|
1409
|
-
function
|
|
1387
|
+
function vs(e) {
|
|
1410
1388
|
return e.replace(/^(.*?)-/, "");
|
|
1411
1389
|
}
|
|
1412
|
-
var
|
|
1413
|
-
function
|
|
1390
|
+
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, ys = /(\*)(0+)|(#+)(0+)|(0+)/g, kr = /^(0+)$/;
|
|
1391
|
+
function er(e) {
|
|
1414
1392
|
var t = {};
|
|
1415
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1393
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, s) {
|
|
1416
1394
|
return typeof s != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : s === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof s == "string" ? s.length : 0)), "";
|
|
1417
1395
|
}), t;
|
|
1418
1396
|
}
|
|
1419
|
-
function
|
|
1397
|
+
function Dr(e) {
|
|
1420
1398
|
switch (e) {
|
|
1421
1399
|
case "sign-auto":
|
|
1422
1400
|
return {
|
|
@@ -1456,7 +1434,7 @@ function jr(e) {
|
|
|
1456
1434
|
};
|
|
1457
1435
|
}
|
|
1458
1436
|
}
|
|
1459
|
-
function
|
|
1437
|
+
function Ps(e) {
|
|
1460
1438
|
var t;
|
|
1461
1439
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1462
1440
|
notation: "engineering"
|
|
@@ -1464,17 +1442,17 @@ function Es(e) {
|
|
|
1464
1442
|
notation: "scientific"
|
|
1465
1443
|
}, e = e.slice(1)), t) {
|
|
1466
1444
|
var r = e.slice(0, 2);
|
|
1467
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1445
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kr.test(e))
|
|
1468
1446
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1469
1447
|
t.minimumIntegerDigits = e.length;
|
|
1470
1448
|
}
|
|
1471
1449
|
return t;
|
|
1472
1450
|
}
|
|
1473
|
-
function
|
|
1474
|
-
var t = {}, r =
|
|
1451
|
+
function tr(e) {
|
|
1452
|
+
var t = {}, r = Dr(e);
|
|
1475
1453
|
return r || t;
|
|
1476
1454
|
}
|
|
1477
|
-
function
|
|
1455
|
+
function _s(e) {
|
|
1478
1456
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1479
1457
|
var s = n[r];
|
|
1480
1458
|
switch (s.stem) {
|
|
@@ -1498,7 +1476,7 @@ function Cs(e) {
|
|
|
1498
1476
|
continue;
|
|
1499
1477
|
case "measure-unit":
|
|
1500
1478
|
case "unit":
|
|
1501
|
-
t.style = "unit", t.unit =
|
|
1479
|
+
t.style = "unit", t.unit = vs(s.options[0]);
|
|
1502
1480
|
continue;
|
|
1503
1481
|
case "compact-short":
|
|
1504
1482
|
case "K":
|
|
@@ -1510,12 +1488,12 @@ function Cs(e) {
|
|
|
1510
1488
|
continue;
|
|
1511
1489
|
case "scientific":
|
|
1512
1490
|
t = S(S(S({}, t), { notation: "scientific" }), s.options.reduce(function(u, h) {
|
|
1513
|
-
return S(S({}, u),
|
|
1491
|
+
return S(S({}, u), tr(h));
|
|
1514
1492
|
}, {}));
|
|
1515
1493
|
continue;
|
|
1516
1494
|
case "engineering":
|
|
1517
1495
|
t = S(S(S({}, t), { notation: "engineering" }), s.options.reduce(function(u, h) {
|
|
1518
|
-
return S(S({}, u),
|
|
1496
|
+
return S(S({}, u), tr(h));
|
|
1519
1497
|
}, {}));
|
|
1520
1498
|
continue;
|
|
1521
1499
|
case "notation-simple":
|
|
@@ -1560,7 +1538,7 @@ function Cs(e) {
|
|
|
1560
1538
|
case "integer-width":
|
|
1561
1539
|
if (s.options.length > 1)
|
|
1562
1540
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1563
|
-
s.options[0].replace(
|
|
1541
|
+
s.options[0].replace(ys, function(u, h, c, f, p, m) {
|
|
1564
1542
|
if (h)
|
|
1565
1543
|
t.minimumIntegerDigits = c.length;
|
|
1566
1544
|
else {
|
|
@@ -1573,28 +1551,28 @@ function Cs(e) {
|
|
|
1573
1551
|
});
|
|
1574
1552
|
continue;
|
|
1575
1553
|
}
|
|
1576
|
-
if (
|
|
1554
|
+
if (kr.test(s.stem)) {
|
|
1577
1555
|
t.minimumIntegerDigits = s.stem.length;
|
|
1578
1556
|
continue;
|
|
1579
1557
|
}
|
|
1580
|
-
if (
|
|
1558
|
+
if (Kt.test(s.stem)) {
|
|
1581
1559
|
if (s.options.length > 1)
|
|
1582
1560
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1583
|
-
s.stem.replace(
|
|
1561
|
+
s.stem.replace(Kt, function(u, h, c, f, p, m) {
|
|
1584
1562
|
return c === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1585
1563
|
});
|
|
1586
1564
|
var a = s.options[0];
|
|
1587
|
-
a === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = S(S({}, t),
|
|
1565
|
+
a === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = S(S({}, t), er(a)));
|
|
1588
1566
|
continue;
|
|
1589
1567
|
}
|
|
1590
|
-
if (
|
|
1591
|
-
t = S(S({}, t),
|
|
1568
|
+
if (Fr.test(s.stem)) {
|
|
1569
|
+
t = S(S({}, t), er(s.stem));
|
|
1592
1570
|
continue;
|
|
1593
1571
|
}
|
|
1594
|
-
var i =
|
|
1572
|
+
var i = Dr(s.stem);
|
|
1595
1573
|
i && (t = S(S({}, t), i));
|
|
1596
|
-
var
|
|
1597
|
-
|
|
1574
|
+
var l = Ps(s.stem);
|
|
1575
|
+
l && (t = S(S({}, t), l));
|
|
1598
1576
|
}
|
|
1599
1577
|
return t;
|
|
1600
1578
|
}
|
|
@@ -3013,14 +2991,14 @@ var tt = {
|
|
|
3013
2991
|
"h"
|
|
3014
2992
|
]
|
|
3015
2993
|
};
|
|
3016
|
-
function
|
|
2994
|
+
function xs(e, t) {
|
|
3017
2995
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3018
2996
|
var s = e.charAt(n);
|
|
3019
2997
|
if (s === "j") {
|
|
3020
2998
|
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === s; )
|
|
3021
2999
|
a++, n++;
|
|
3022
|
-
var i = 1 + (a & 1),
|
|
3023
|
-
for ((h == "H" || h == "k") && (
|
|
3000
|
+
var i = 1 + (a & 1), l = a < 2 ? 1 : 3 + (a >> 1), u = "a", h = Es(t);
|
|
3001
|
+
for ((h == "H" || h == "k") && (l = 0); l-- > 0; )
|
|
3024
3002
|
r += u;
|
|
3025
3003
|
for (; i-- > 0; )
|
|
3026
3004
|
r = h + r;
|
|
@@ -3029,7 +3007,7 @@ function Ts(e, t) {
|
|
|
3029
3007
|
}
|
|
3030
3008
|
return r;
|
|
3031
3009
|
}
|
|
3032
|
-
function
|
|
3010
|
+
function Es(e) {
|
|
3033
3011
|
var t = e.hourCycle;
|
|
3034
3012
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3035
3013
|
e.hourCycles && // @ts-ignore
|
|
@@ -3051,20 +3029,20 @@ function Bs(e) {
|
|
|
3051
3029
|
var s = tt[n || ""] || tt[r || ""] || tt["".concat(r, "-001")] || tt["001"];
|
|
3052
3030
|
return s[0];
|
|
3053
3031
|
}
|
|
3054
|
-
var
|
|
3032
|
+
var wt, Cs = new RegExp("^".concat(Lr.source, "*")), Ts = new RegExp("".concat(Lr.source, "*$"));
|
|
3055
3033
|
function C(e, t) {
|
|
3056
3034
|
return { start: e, end: t };
|
|
3057
3035
|
}
|
|
3058
|
-
var
|
|
3036
|
+
var Bs = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ss = !!String.fromCodePoint, As = !!Object.fromEntries, Is = !!String.prototype.codePointAt, Hs = !!String.prototype.trimStart, Ms = !!String.prototype.trimEnd, Ns = !!Number.isSafeInteger, Os = Ns ? Number.isSafeInteger : function(e) {
|
|
3059
3037
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3060
|
-
},
|
|
3038
|
+
}, At = !0;
|
|
3061
3039
|
try {
|
|
3062
|
-
var
|
|
3063
|
-
|
|
3040
|
+
var Rs = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3041
|
+
At = ((wt = Rs.exec("a")) === null || wt === void 0 ? void 0 : wt[0]) === "a";
|
|
3064
3042
|
} catch (e) {
|
|
3065
|
-
|
|
3043
|
+
At = !1;
|
|
3066
3044
|
}
|
|
3067
|
-
var
|
|
3045
|
+
var rr = Bs ? (
|
|
3068
3046
|
// Native
|
|
3069
3047
|
function(t, r, n) {
|
|
3070
3048
|
return t.startsWith(r, n);
|
|
@@ -3074,7 +3052,7 @@ var ar = Is ? (
|
|
|
3074
3052
|
function(t, r, n) {
|
|
3075
3053
|
return t.slice(n, n + r.length) === r;
|
|
3076
3054
|
}
|
|
3077
|
-
),
|
|
3055
|
+
), It = Ss ? String.fromCodePoint : (
|
|
3078
3056
|
// IE11
|
|
3079
3057
|
function() {
|
|
3080
3058
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3086,19 +3064,19 @@ var ar = Is ? (
|
|
|
3086
3064
|
}
|
|
3087
3065
|
return n;
|
|
3088
3066
|
}
|
|
3089
|
-
),
|
|
3067
|
+
), nr = (
|
|
3090
3068
|
// native
|
|
3091
|
-
|
|
3069
|
+
As ? Object.fromEntries : (
|
|
3092
3070
|
// Ponyfill
|
|
3093
3071
|
function(t) {
|
|
3094
3072
|
for (var r = {}, n = 0, s = t; n < s.length; n++) {
|
|
3095
|
-
var a = s[n], i = a[0],
|
|
3096
|
-
r[i] =
|
|
3073
|
+
var a = s[n], i = a[0], l = a[1];
|
|
3074
|
+
r[i] = l;
|
|
3097
3075
|
}
|
|
3098
3076
|
return r;
|
|
3099
3077
|
}
|
|
3100
3078
|
)
|
|
3101
|
-
),
|
|
3079
|
+
), Ur = Is ? (
|
|
3102
3080
|
// Native
|
|
3103
3081
|
function(t, r) {
|
|
3104
3082
|
return t.codePointAt(r);
|
|
@@ -3112,7 +3090,7 @@ var ar = Is ? (
|
|
|
3112
3090
|
return s < 55296 || s > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? s : (s - 55296 << 10) + (a - 56320) + 65536;
|
|
3113
3091
|
}
|
|
3114
3092
|
}
|
|
3115
|
-
),
|
|
3093
|
+
), Ls = Hs ? (
|
|
3116
3094
|
// Native
|
|
3117
3095
|
function(t) {
|
|
3118
3096
|
return t.trimStart();
|
|
@@ -3120,9 +3098,9 @@ var ar = Is ? (
|
|
|
3120
3098
|
) : (
|
|
3121
3099
|
// Ponyfill
|
|
3122
3100
|
function(t) {
|
|
3123
|
-
return t.replace(
|
|
3101
|
+
return t.replace(Cs, "");
|
|
3124
3102
|
}
|
|
3125
|
-
),
|
|
3103
|
+
), Fs = Ms ? (
|
|
3126
3104
|
// Native
|
|
3127
3105
|
function(t) {
|
|
3128
3106
|
return t.trimEnd();
|
|
@@ -3130,32 +3108,32 @@ var ar = Is ? (
|
|
|
3130
3108
|
) : (
|
|
3131
3109
|
// Ponyfill
|
|
3132
3110
|
function(t) {
|
|
3133
|
-
return t.replace(
|
|
3111
|
+
return t.replace(Ts, "");
|
|
3134
3112
|
}
|
|
3135
3113
|
);
|
|
3136
|
-
function
|
|
3114
|
+
function $r(e, t) {
|
|
3137
3115
|
return new RegExp(e, t);
|
|
3138
3116
|
}
|
|
3139
|
-
var
|
|
3140
|
-
if (
|
|
3141
|
-
var
|
|
3142
|
-
|
|
3117
|
+
var Ht;
|
|
3118
|
+
if (At) {
|
|
3119
|
+
var sr = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3120
|
+
Ht = function(t, r) {
|
|
3143
3121
|
var n;
|
|
3144
|
-
|
|
3145
|
-
var s =
|
|
3122
|
+
sr.lastIndex = r;
|
|
3123
|
+
var s = sr.exec(t);
|
|
3146
3124
|
return (n = s[1]) !== null && n !== void 0 ? n : "";
|
|
3147
3125
|
};
|
|
3148
3126
|
} else
|
|
3149
|
-
|
|
3127
|
+
Ht = function(t, r) {
|
|
3150
3128
|
for (var n = []; ; ) {
|
|
3151
|
-
var s =
|
|
3152
|
-
if (s === void 0 ||
|
|
3129
|
+
var s = Ur(t, r);
|
|
3130
|
+
if (s === void 0 || Gr(s) || $s(s))
|
|
3153
3131
|
break;
|
|
3154
3132
|
n.push(s), r += s >= 65536 ? 2 : 1;
|
|
3155
3133
|
}
|
|
3156
|
-
return
|
|
3134
|
+
return It.apply(void 0, n);
|
|
3157
3135
|
};
|
|
3158
|
-
var
|
|
3136
|
+
var ks = (
|
|
3159
3137
|
/** @class */
|
|
3160
3138
|
function() {
|
|
3161
3139
|
function e(t, r) {
|
|
@@ -3177,16 +3155,16 @@ var $s = (
|
|
|
3177
3155
|
if (a === 125 && t > 0)
|
|
3178
3156
|
break;
|
|
3179
3157
|
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3180
|
-
var
|
|
3158
|
+
var l = this.clonePosition();
|
|
3181
3159
|
this.bump(), s.push({
|
|
3182
|
-
type:
|
|
3183
|
-
location: C(
|
|
3160
|
+
type: O.pound,
|
|
3161
|
+
location: C(l, this.clonePosition())
|
|
3184
3162
|
});
|
|
3185
3163
|
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3186
3164
|
if (n)
|
|
3187
3165
|
break;
|
|
3188
3166
|
return this.error(E.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
|
|
3189
|
-
} else if (a === 60 && !this.ignoreTag &&
|
|
3167
|
+
} else if (a === 60 && !this.ignoreTag && Mt(this.peek() || 0)) {
|
|
3190
3168
|
var i = this.parseTag(t, r);
|
|
3191
3169
|
if (i.err)
|
|
3192
3170
|
return i;
|
|
@@ -3207,7 +3185,7 @@ var $s = (
|
|
|
3207
3185
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3208
3186
|
return {
|
|
3209
3187
|
val: {
|
|
3210
|
-
type:
|
|
3188
|
+
type: O.literal,
|
|
3211
3189
|
value: "<".concat(s, "/>"),
|
|
3212
3190
|
location: C(n, this.clonePosition())
|
|
3213
3191
|
},
|
|
@@ -3217,27 +3195,27 @@ var $s = (
|
|
|
3217
3195
|
var a = this.parseMessage(t + 1, r, !0);
|
|
3218
3196
|
if (a.err)
|
|
3219
3197
|
return a;
|
|
3220
|
-
var i = a.val,
|
|
3198
|
+
var i = a.val, l = this.clonePosition();
|
|
3221
3199
|
if (this.bumpIf("</")) {
|
|
3222
|
-
if (this.isEOF() || !
|
|
3223
|
-
return this.error(E.INVALID_TAG, C(
|
|
3200
|
+
if (this.isEOF() || !Mt(this.char()))
|
|
3201
|
+
return this.error(E.INVALID_TAG, C(l, this.clonePosition()));
|
|
3224
3202
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3225
3203
|
return s !== h ? this.error(E.UNMATCHED_CLOSING_TAG, C(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3226
3204
|
val: {
|
|
3227
|
-
type:
|
|
3205
|
+
type: O.tag,
|
|
3228
3206
|
value: s,
|
|
3229
3207
|
children: i,
|
|
3230
3208
|
location: C(n, this.clonePosition())
|
|
3231
3209
|
},
|
|
3232
3210
|
err: null
|
|
3233
|
-
} : this.error(E.INVALID_TAG, C(
|
|
3211
|
+
} : this.error(E.INVALID_TAG, C(l, this.clonePosition())));
|
|
3234
3212
|
} else
|
|
3235
3213
|
return this.error(E.UNCLOSED_TAG, C(n, this.clonePosition()));
|
|
3236
3214
|
} else
|
|
3237
3215
|
return this.error(E.INVALID_TAG, C(n, this.clonePosition()));
|
|
3238
3216
|
}, e.prototype.parseTagName = function() {
|
|
3239
3217
|
var t = this.offset();
|
|
3240
|
-
for (this.bump(); !this.isEOF() &&
|
|
3218
|
+
for (this.bump(); !this.isEOF() && Us(this.char()); )
|
|
3241
3219
|
this.bump();
|
|
3242
3220
|
return this.message.slice(t, this.offset());
|
|
3243
3221
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3252,21 +3230,21 @@ var $s = (
|
|
|
3252
3230
|
s += i;
|
|
3253
3231
|
continue;
|
|
3254
3232
|
}
|
|
3255
|
-
var
|
|
3256
|
-
if (
|
|
3257
|
-
s +=
|
|
3233
|
+
var l = this.tryParseLeftAngleBracket();
|
|
3234
|
+
if (l) {
|
|
3235
|
+
s += l;
|
|
3258
3236
|
continue;
|
|
3259
3237
|
}
|
|
3260
3238
|
break;
|
|
3261
3239
|
}
|
|
3262
3240
|
var u = C(n, this.clonePosition());
|
|
3263
3241
|
return {
|
|
3264
|
-
val: { type:
|
|
3242
|
+
val: { type: O.literal, value: s, location: u },
|
|
3265
3243
|
err: null
|
|
3266
3244
|
};
|
|
3267
3245
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3268
3246
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3269
|
-
!
|
|
3247
|
+
!Ds(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3270
3248
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3271
3249
|
if (this.isEOF() || this.char() !== 39)
|
|
3272
3250
|
return null;
|
|
@@ -3300,12 +3278,12 @@ var $s = (
|
|
|
3300
3278
|
r.push(n);
|
|
3301
3279
|
this.bump();
|
|
3302
3280
|
}
|
|
3303
|
-
return
|
|
3281
|
+
return It.apply(void 0, r);
|
|
3304
3282
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3305
3283
|
if (this.isEOF())
|
|
3306
3284
|
return null;
|
|
3307
3285
|
var n = this.char();
|
|
3308
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3286
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), It(n));
|
|
3309
3287
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3310
3288
|
var n = this.clonePosition();
|
|
3311
3289
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3321,7 +3299,7 @@ var $s = (
|
|
|
3321
3299
|
case 125:
|
|
3322
3300
|
return this.bump(), {
|
|
3323
3301
|
val: {
|
|
3324
|
-
type:
|
|
3302
|
+
type: O.argument,
|
|
3325
3303
|
// value does not include the opening and closing braces.
|
|
3326
3304
|
value: s,
|
|
3327
3305
|
location: C(n, this.clonePosition())
|
|
@@ -3334,13 +3312,13 @@ var $s = (
|
|
|
3334
3312
|
return this.error(E.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3335
3313
|
}
|
|
3336
3314
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3337
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3315
|
+
var t = this.clonePosition(), r = this.offset(), n = Ht(this.message, r), s = r + n.length;
|
|
3338
3316
|
this.bumpTo(s);
|
|
3339
3317
|
var a = this.clonePosition(), i = C(t, a);
|
|
3340
3318
|
return { value: n, location: i };
|
|
3341
3319
|
}, e.prototype.parseArgumentOptions = function(t, r, n, s) {
|
|
3342
|
-
var a, i = this.clonePosition(),
|
|
3343
|
-
switch (
|
|
3320
|
+
var a, i = this.clonePosition(), l = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3321
|
+
switch (l) {
|
|
3344
3322
|
case "":
|
|
3345
3323
|
return this.error(E.EXPECT_ARGUMENT_TYPE, C(i, u));
|
|
3346
3324
|
case "number":
|
|
@@ -3353,7 +3331,7 @@ var $s = (
|
|
|
3353
3331
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3354
3332
|
if (f.err)
|
|
3355
3333
|
return f;
|
|
3356
|
-
var p =
|
|
3334
|
+
var p = Fs(f.val);
|
|
3357
3335
|
if (p.length === 0)
|
|
3358
3336
|
return this.error(E.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
3359
3337
|
var m = C(c, this.clonePosition());
|
|
@@ -3363,25 +3341,25 @@ var $s = (
|
|
|
3363
3341
|
if (w.err)
|
|
3364
3342
|
return w;
|
|
3365
3343
|
var v = C(s, this.clonePosition());
|
|
3366
|
-
if (h &&
|
|
3367
|
-
var T =
|
|
3368
|
-
if (
|
|
3344
|
+
if (h && rr(h == null ? void 0 : h.style, "::", 0)) {
|
|
3345
|
+
var T = Ls(h.style.slice(2));
|
|
3346
|
+
if (l === "number") {
|
|
3369
3347
|
var f = this.parseNumberSkeletonFromString(T, h.styleLocation);
|
|
3370
3348
|
return f.err ? f : {
|
|
3371
|
-
val: { type:
|
|
3349
|
+
val: { type: O.number, value: n, location: v, style: f.val },
|
|
3372
3350
|
err: null
|
|
3373
3351
|
};
|
|
3374
3352
|
} else {
|
|
3375
3353
|
if (T.length === 0)
|
|
3376
3354
|
return this.error(E.EXPECT_DATE_TIME_SKELETON, v);
|
|
3377
3355
|
var y = T;
|
|
3378
|
-
this.locale && (y =
|
|
3356
|
+
this.locale && (y = xs(T, this.locale));
|
|
3379
3357
|
var p = {
|
|
3380
3358
|
type: Me.dateTime,
|
|
3381
3359
|
pattern: y,
|
|
3382
3360
|
location: h.styleLocation,
|
|
3383
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3384
|
-
}, I =
|
|
3361
|
+
parsedOptions: this.shouldParseSkeletons ? gs(y) : {}
|
|
3362
|
+
}, I = l === "date" ? O.date : O.time;
|
|
3385
3363
|
return {
|
|
3386
3364
|
val: { type: I, value: n, location: v, style: p },
|
|
3387
3365
|
err: null
|
|
@@ -3390,7 +3368,7 @@ var $s = (
|
|
|
3390
3368
|
}
|
|
3391
3369
|
return {
|
|
3392
3370
|
val: {
|
|
3393
|
-
type:
|
|
3371
|
+
type: l === "number" ? O.number : l === "date" ? O.date : O.time,
|
|
3394
3372
|
value: n,
|
|
3395
3373
|
location: v,
|
|
3396
3374
|
style: (a = h == null ? void 0 : h.style) !== null && a !== void 0 ? a : null
|
|
@@ -3401,12 +3379,12 @@ var $s = (
|
|
|
3401
3379
|
case "plural":
|
|
3402
3380
|
case "selectordinal":
|
|
3403
3381
|
case "select": {
|
|
3404
|
-
var
|
|
3382
|
+
var R = this.clonePosition();
|
|
3405
3383
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3406
|
-
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, C(
|
|
3384
|
+
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, C(R, S({}, R)));
|
|
3407
3385
|
this.bumpSpace();
|
|
3408
3386
|
var k = this.parseIdentifierIfPossible(), D = 0;
|
|
3409
|
-
if (
|
|
3387
|
+
if (l !== "select" && k.value === "offset") {
|
|
3410
3388
|
if (!this.bumpIf(":"))
|
|
3411
3389
|
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
|
|
3412
3390
|
this.bumpSpace();
|
|
@@ -3415,28 +3393,28 @@ var $s = (
|
|
|
3415
3393
|
return f;
|
|
3416
3394
|
this.bumpSpace(), k = this.parseIdentifierIfPossible(), D = f.val;
|
|
3417
3395
|
}
|
|
3418
|
-
var N = this.tryParsePluralOrSelectOptions(t,
|
|
3396
|
+
var N = this.tryParsePluralOrSelectOptions(t, l, r, k);
|
|
3419
3397
|
if (N.err)
|
|
3420
3398
|
return N;
|
|
3421
3399
|
var w = this.tryParseArgumentClose(s);
|
|
3422
3400
|
if (w.err)
|
|
3423
3401
|
return w;
|
|
3424
3402
|
var X = C(s, this.clonePosition());
|
|
3425
|
-
return
|
|
3403
|
+
return l === "select" ? {
|
|
3426
3404
|
val: {
|
|
3427
|
-
type:
|
|
3405
|
+
type: O.select,
|
|
3428
3406
|
value: n,
|
|
3429
|
-
options:
|
|
3407
|
+
options: nr(N.val),
|
|
3430
3408
|
location: X
|
|
3431
3409
|
},
|
|
3432
3410
|
err: null
|
|
3433
3411
|
} : {
|
|
3434
3412
|
val: {
|
|
3435
|
-
type:
|
|
3413
|
+
type: O.plural,
|
|
3436
3414
|
value: n,
|
|
3437
|
-
options:
|
|
3415
|
+
options: nr(N.val),
|
|
3438
3416
|
offset: D,
|
|
3439
|
-
pluralType:
|
|
3417
|
+
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3440
3418
|
location: X
|
|
3441
3419
|
},
|
|
3442
3420
|
err: null
|
|
@@ -3485,7 +3463,7 @@ var $s = (
|
|
|
3485
3463
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3486
3464
|
var n = [];
|
|
3487
3465
|
try {
|
|
3488
|
-
n =
|
|
3466
|
+
n = ws(t);
|
|
3489
3467
|
} catch (s) {
|
|
3490
3468
|
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
|
3491
3469
|
}
|
|
@@ -3494,12 +3472,12 @@ var $s = (
|
|
|
3494
3472
|
type: Me.number,
|
|
3495
3473
|
tokens: n,
|
|
3496
3474
|
location: r,
|
|
3497
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3475
|
+
parsedOptions: this.shouldParseSkeletons ? _s(n) : {}
|
|
3498
3476
|
},
|
|
3499
3477
|
err: null
|
|
3500
3478
|
};
|
|
3501
3479
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, s) {
|
|
3502
|
-
for (var a, i = !1,
|
|
3480
|
+
for (var a, i = !1, l = [], u = /* @__PURE__ */ new Set(), h = s.value, c = s.location; ; ) {
|
|
3503
3481
|
if (h.length === 0) {
|
|
3504
3482
|
var f = this.clonePosition();
|
|
3505
3483
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3522,7 +3500,7 @@ var $s = (
|
|
|
3522
3500
|
var v = this.tryParseArgumentClose(m);
|
|
3523
3501
|
if (v.err)
|
|
3524
3502
|
return v;
|
|
3525
|
-
|
|
3503
|
+
l.push([
|
|
3526
3504
|
h,
|
|
3527
3505
|
{
|
|
3528
3506
|
value: w.val,
|
|
@@ -3530,19 +3508,19 @@ var $s = (
|
|
|
3530
3508
|
}
|
|
3531
3509
|
]), u.add(h), this.bumpSpace(), a = this.parseIdentifierIfPossible(), h = a.value, c = a.location;
|
|
3532
3510
|
}
|
|
3533
|
-
return
|
|
3511
|
+
return l.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(E.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3534
3512
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3535
3513
|
var n = 1, s = this.clonePosition();
|
|
3536
3514
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3537
3515
|
for (var a = !1, i = 0; !this.isEOF(); ) {
|
|
3538
|
-
var
|
|
3539
|
-
if (
|
|
3540
|
-
a = !0, i = i * 10 + (
|
|
3516
|
+
var l = this.char();
|
|
3517
|
+
if (l >= 48 && l <= 57)
|
|
3518
|
+
a = !0, i = i * 10 + (l - 48), this.bump();
|
|
3541
3519
|
else
|
|
3542
3520
|
break;
|
|
3543
3521
|
}
|
|
3544
3522
|
var u = C(s, this.clonePosition());
|
|
3545
|
-
return a ? (i *= n,
|
|
3523
|
+
return a ? (i *= n, Os(i) ? { val: i, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3546
3524
|
}, e.prototype.offset = function() {
|
|
3547
3525
|
return this.position.offset;
|
|
3548
3526
|
}, e.prototype.isEOF = function() {
|
|
@@ -3557,7 +3535,7 @@ var $s = (
|
|
|
3557
3535
|
var t = this.position.offset;
|
|
3558
3536
|
if (t >= this.message.length)
|
|
3559
3537
|
throw Error("out of bound");
|
|
3560
|
-
var r =
|
|
3538
|
+
var r = Ur(this.message, t);
|
|
3561
3539
|
if (r === void 0)
|
|
3562
3540
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3563
3541
|
return r;
|
|
@@ -3576,7 +3554,7 @@ var $s = (
|
|
|
3576
3554
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3577
3555
|
}
|
|
3578
3556
|
}, e.prototype.bumpIf = function(t) {
|
|
3579
|
-
if (
|
|
3557
|
+
if (rr(this.message, t, this.offset())) {
|
|
3580
3558
|
for (var r = 0; r < t.length; r++)
|
|
3581
3559
|
this.bump();
|
|
3582
3560
|
return !0;
|
|
@@ -3598,7 +3576,7 @@ var $s = (
|
|
|
3598
3576
|
break;
|
|
3599
3577
|
}
|
|
3600
3578
|
}, e.prototype.bumpSpace = function() {
|
|
3601
|
-
for (; !this.isEOF() &&
|
|
3579
|
+
for (; !this.isEOF() && Gr(this.char()); )
|
|
3602
3580
|
this.bump();
|
|
3603
3581
|
}, e.prototype.peek = function() {
|
|
3604
3582
|
if (this.isEOF())
|
|
@@ -3608,38 +3586,38 @@ var $s = (
|
|
|
3608
3586
|
}, e;
|
|
3609
3587
|
}()
|
|
3610
3588
|
);
|
|
3611
|
-
function
|
|
3589
|
+
function Mt(e) {
|
|
3612
3590
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3613
3591
|
}
|
|
3614
|
-
function
|
|
3615
|
-
return
|
|
3592
|
+
function Ds(e) {
|
|
3593
|
+
return Mt(e) || e === 47;
|
|
3616
3594
|
}
|
|
3617
|
-
function
|
|
3595
|
+
function Us(e) {
|
|
3618
3596
|
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;
|
|
3619
3597
|
}
|
|
3620
|
-
function
|
|
3598
|
+
function Gr(e) {
|
|
3621
3599
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3622
3600
|
}
|
|
3623
|
-
function
|
|
3601
|
+
function $s(e) {
|
|
3624
3602
|
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;
|
|
3625
3603
|
}
|
|
3626
|
-
function
|
|
3604
|
+
function Nt(e) {
|
|
3627
3605
|
e.forEach(function(t) {
|
|
3628
|
-
if (delete t.location,
|
|
3606
|
+
if (delete t.location, Mr(t) || Nr(t))
|
|
3629
3607
|
for (var r in t.options)
|
|
3630
|
-
delete t.options[r].location,
|
|
3608
|
+
delete t.options[r].location, Nt(t.options[r].value);
|
|
3631
3609
|
else
|
|
3632
|
-
|
|
3610
|
+
Ar(t) && Rr(t.style) || (Ir(t) || Hr(t)) && St(t.style) ? delete t.style.location : Or(t) && Nt(t.children);
|
|
3633
3611
|
});
|
|
3634
3612
|
}
|
|
3635
|
-
function
|
|
3613
|
+
function Gs(e, t) {
|
|
3636
3614
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3637
|
-
var r = new
|
|
3615
|
+
var r = new ks(e, t).parse();
|
|
3638
3616
|
if (r.err) {
|
|
3639
3617
|
var n = SyntaxError(E[r.err.kind]);
|
|
3640
3618
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3641
3619
|
}
|
|
3642
|
-
return t != null && t.captureLocation ||
|
|
3620
|
+
return t != null && t.captureLocation || Nt(r.val), r.val;
|
|
3643
3621
|
}
|
|
3644
3622
|
var Ne;
|
|
3645
3623
|
(function(e) {
|
|
@@ -3657,7 +3635,7 @@ var ht = (
|
|
|
3657
3635
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3658
3636
|
}, t;
|
|
3659
3637
|
}(Error)
|
|
3660
|
-
),
|
|
3638
|
+
), ar = (
|
|
3661
3639
|
/** @class */
|
|
3662
3640
|
function(e) {
|
|
3663
3641
|
ue(t, e);
|
|
@@ -3666,7 +3644,7 @@ var ht = (
|
|
|
3666
3644
|
}
|
|
3667
3645
|
return t;
|
|
3668
3646
|
}(ht)
|
|
3669
|
-
),
|
|
3647
|
+
), js = (
|
|
3670
3648
|
/** @class */
|
|
3671
3649
|
function(e) {
|
|
3672
3650
|
ue(t, e);
|
|
@@ -3675,7 +3653,7 @@ var ht = (
|
|
|
3675
3653
|
}
|
|
3676
3654
|
return t;
|
|
3677
3655
|
}(ht)
|
|
3678
|
-
),
|
|
3656
|
+
), Vs = (
|
|
3679
3657
|
/** @class */
|
|
3680
3658
|
function(e) {
|
|
3681
3659
|
ue(t, e);
|
|
@@ -3688,34 +3666,34 @@ var ht = (
|
|
|
3688
3666
|
(function(e) {
|
|
3689
3667
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3690
3668
|
})(W || (W = {}));
|
|
3691
|
-
function
|
|
3669
|
+
function zs(e) {
|
|
3692
3670
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3693
3671
|
var n = t[t.length - 1];
|
|
3694
3672
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3695
3673
|
}, []);
|
|
3696
3674
|
}
|
|
3697
|
-
function
|
|
3675
|
+
function Ws(e) {
|
|
3698
3676
|
return typeof e == "function";
|
|
3699
3677
|
}
|
|
3700
3678
|
function st(e, t, r, n, s, a, i) {
|
|
3701
|
-
if (e.length === 1 &&
|
|
3679
|
+
if (e.length === 1 && qt(e[0]))
|
|
3702
3680
|
return [
|
|
3703
3681
|
{
|
|
3704
3682
|
type: W.literal,
|
|
3705
3683
|
value: e[0].value
|
|
3706
3684
|
}
|
|
3707
3685
|
];
|
|
3708
|
-
for (var
|
|
3686
|
+
for (var l = [], u = 0, h = e; u < h.length; u++) {
|
|
3709
3687
|
var c = h[u];
|
|
3710
|
-
if (
|
|
3711
|
-
|
|
3688
|
+
if (qt(c)) {
|
|
3689
|
+
l.push({
|
|
3712
3690
|
type: W.literal,
|
|
3713
3691
|
value: c.value
|
|
3714
3692
|
});
|
|
3715
3693
|
continue;
|
|
3716
3694
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
typeof a == "number" &&
|
|
3695
|
+
if (ps(c)) {
|
|
3696
|
+
typeof a == "number" && l.push({
|
|
3719
3697
|
type: W.literal,
|
|
3720
3698
|
value: r.getNumberFormat(t).format(a)
|
|
3721
3699
|
});
|
|
@@ -3723,89 +3701,89 @@ function st(e, t, r, n, s, a, i) {
|
|
|
3723
3701
|
}
|
|
3724
3702
|
var f = c.value;
|
|
3725
3703
|
if (!(s && f in s))
|
|
3726
|
-
throw new
|
|
3704
|
+
throw new Vs(f, i);
|
|
3727
3705
|
var p = s[f];
|
|
3728
|
-
if (
|
|
3729
|
-
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""),
|
|
3706
|
+
if (ds(c)) {
|
|
3707
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
|
|
3730
3708
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3731
3709
|
value: p
|
|
3732
3710
|
});
|
|
3733
3711
|
continue;
|
|
3734
3712
|
}
|
|
3735
|
-
if (
|
|
3736
|
-
var m = typeof c.style == "string" ? n.date[c.style] :
|
|
3737
|
-
|
|
3713
|
+
if (Ir(c)) {
|
|
3714
|
+
var m = typeof c.style == "string" ? n.date[c.style] : St(c.style) ? c.style.parsedOptions : void 0;
|
|
3715
|
+
l.push({
|
|
3738
3716
|
type: W.literal,
|
|
3739
3717
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3740
3718
|
});
|
|
3741
3719
|
continue;
|
|
3742
3720
|
}
|
|
3743
|
-
if (
|
|
3744
|
-
var m = typeof c.style == "string" ? n.time[c.style] :
|
|
3745
|
-
|
|
3721
|
+
if (Hr(c)) {
|
|
3722
|
+
var m = typeof c.style == "string" ? n.time[c.style] : St(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3723
|
+
l.push({
|
|
3746
3724
|
type: W.literal,
|
|
3747
3725
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3748
3726
|
});
|
|
3749
3727
|
continue;
|
|
3750
3728
|
}
|
|
3751
|
-
if (
|
|
3752
|
-
var m = typeof c.style == "string" ? n.number[c.style] :
|
|
3753
|
-
m && m.scale && (p = p * (m.scale || 1)),
|
|
3729
|
+
if (Ar(c)) {
|
|
3730
|
+
var m = typeof c.style == "string" ? n.number[c.style] : Rr(c.style) ? c.style.parsedOptions : void 0;
|
|
3731
|
+
m && m.scale && (p = p * (m.scale || 1)), l.push({
|
|
3754
3732
|
type: W.literal,
|
|
3755
3733
|
value: r.getNumberFormat(t, m).format(p)
|
|
3756
3734
|
});
|
|
3757
3735
|
continue;
|
|
3758
3736
|
}
|
|
3759
|
-
if (
|
|
3737
|
+
if (Or(c)) {
|
|
3760
3738
|
var w = c.children, v = c.value, T = s[v];
|
|
3761
|
-
if (!
|
|
3762
|
-
throw new
|
|
3739
|
+
if (!Ws(T))
|
|
3740
|
+
throw new js(v, "function", i);
|
|
3763
3741
|
var y = st(w, t, r, n, s, a), I = T(y.map(function(D) {
|
|
3764
3742
|
return D.value;
|
|
3765
3743
|
}));
|
|
3766
|
-
Array.isArray(I) || (I = [I]),
|
|
3744
|
+
Array.isArray(I) || (I = [I]), l.push.apply(l, I.map(function(D) {
|
|
3767
3745
|
return {
|
|
3768
3746
|
type: typeof D == "string" ? W.literal : W.object,
|
|
3769
3747
|
value: D
|
|
3770
3748
|
};
|
|
3771
3749
|
}));
|
|
3772
3750
|
}
|
|
3773
|
-
if (
|
|
3774
|
-
var
|
|
3775
|
-
if (!
|
|
3776
|
-
throw new
|
|
3777
|
-
|
|
3751
|
+
if (Mr(c)) {
|
|
3752
|
+
var R = c.options[p] || c.options.other;
|
|
3753
|
+
if (!R)
|
|
3754
|
+
throw new ar(c.value, p, Object.keys(c.options), i);
|
|
3755
|
+
l.push.apply(l, st(R.value, t, r, n, s));
|
|
3778
3756
|
continue;
|
|
3779
3757
|
}
|
|
3780
|
-
if (
|
|
3781
|
-
var
|
|
3782
|
-
if (!
|
|
3758
|
+
if (Nr(c)) {
|
|
3759
|
+
var R = c.options["=".concat(p)];
|
|
3760
|
+
if (!R) {
|
|
3783
3761
|
if (!Intl.PluralRules)
|
|
3784
3762
|
throw new ht(`Intl.PluralRules is not available in this environment.
|
|
3785
3763
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3786
3764
|
`, Ne.MISSING_INTL_API, i);
|
|
3787
3765
|
var k = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3788
|
-
|
|
3766
|
+
R = c.options[k] || c.options.other;
|
|
3789
3767
|
}
|
|
3790
|
-
if (!
|
|
3791
|
-
throw new
|
|
3792
|
-
|
|
3768
|
+
if (!R)
|
|
3769
|
+
throw new ar(c.value, p, Object.keys(c.options), i);
|
|
3770
|
+
l.push.apply(l, st(R.value, t, r, n, s, p - (c.offset || 0)));
|
|
3793
3771
|
continue;
|
|
3794
3772
|
}
|
|
3795
3773
|
}
|
|
3796
|
-
return
|
|
3774
|
+
return zs(l);
|
|
3797
3775
|
}
|
|
3798
|
-
function
|
|
3776
|
+
function Xs(e, t) {
|
|
3799
3777
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3800
3778
|
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
|
3801
3779
|
}, {})) : e;
|
|
3802
3780
|
}
|
|
3803
|
-
function
|
|
3781
|
+
function Zs(e, t) {
|
|
3804
3782
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3805
|
-
return r[n] =
|
|
3783
|
+
return r[n] = Xs(e[n], t[n]), r;
|
|
3806
3784
|
}, S({}, e)) : e;
|
|
3807
3785
|
}
|
|
3808
|
-
function
|
|
3786
|
+
function vt(e) {
|
|
3809
3787
|
return {
|
|
3810
3788
|
create: function() {
|
|
3811
3789
|
return {
|
|
@@ -3819,39 +3797,39 @@ function yt(e) {
|
|
|
3819
3797
|
}
|
|
3820
3798
|
};
|
|
3821
3799
|
}
|
|
3822
|
-
function
|
|
3800
|
+
function Qs(e) {
|
|
3823
3801
|
return e === void 0 && (e = {
|
|
3824
3802
|
number: {},
|
|
3825
3803
|
dateTime: {},
|
|
3826
3804
|
pluralRules: {}
|
|
3827
3805
|
}), {
|
|
3828
|
-
getNumberFormat:
|
|
3806
|
+
getNumberFormat: gt(function() {
|
|
3829
3807
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3830
3808
|
r[n] = arguments[n];
|
|
3831
3809
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3832
3810
|
}, {
|
|
3833
|
-
cache:
|
|
3834
|
-
strategy:
|
|
3811
|
+
cache: vt(e.number),
|
|
3812
|
+
strategy: bt.variadic
|
|
3835
3813
|
}),
|
|
3836
|
-
getDateTimeFormat:
|
|
3814
|
+
getDateTimeFormat: gt(function() {
|
|
3837
3815
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3838
3816
|
r[n] = arguments[n];
|
|
3839
3817
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3840
3818
|
}, {
|
|
3841
|
-
cache:
|
|
3842
|
-
strategy:
|
|
3819
|
+
cache: vt(e.dateTime),
|
|
3820
|
+
strategy: bt.variadic
|
|
3843
3821
|
}),
|
|
3844
|
-
getPluralRules:
|
|
3822
|
+
getPluralRules: gt(function() {
|
|
3845
3823
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3846
3824
|
r[n] = arguments[n];
|
|
3847
3825
|
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3848
3826
|
}, {
|
|
3849
|
-
cache:
|
|
3850
|
-
strategy:
|
|
3827
|
+
cache: vt(e.pluralRules),
|
|
3828
|
+
strategy: bt.variadic
|
|
3851
3829
|
})
|
|
3852
3830
|
};
|
|
3853
3831
|
}
|
|
3854
|
-
var
|
|
3832
|
+
var Ys = (
|
|
3855
3833
|
/** @class */
|
|
3856
3834
|
function() {
|
|
3857
3835
|
function e(t, r, n, s) {
|
|
@@ -3883,13 +3861,13 @@ var Ks = (
|
|
|
3883
3861
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3884
3862
|
var i = s || {};
|
|
3885
3863
|
i.formatters;
|
|
3886
|
-
var
|
|
3887
|
-
this.ast = e.__parse(t, S(S({},
|
|
3864
|
+
var l = Sn(i, ["formatters"]);
|
|
3865
|
+
this.ast = e.__parse(t, S(S({}, l), { locale: this.resolvedLocale }));
|
|
3888
3866
|
} else
|
|
3889
3867
|
this.ast = t;
|
|
3890
3868
|
if (!Array.isArray(this.ast))
|
|
3891
3869
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3892
|
-
this.formats =
|
|
3870
|
+
this.formats = Zs(e.formats, n), this.formatters = s && s.formatters || Qs(this.formatterCache);
|
|
3893
3871
|
}
|
|
3894
3872
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3895
3873
|
get: function() {
|
|
@@ -3902,7 +3880,7 @@ var Ks = (
|
|
|
3902
3880
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3903
3881
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3904
3882
|
}
|
|
3905
|
-
}, e.__parse =
|
|
3883
|
+
}, e.__parse = Gs, e.formats = {
|
|
3906
3884
|
number: {
|
|
3907
3885
|
integer: {
|
|
3908
3886
|
maximumFractionDigits: 0
|
|
@@ -3963,7 +3941,7 @@ var Ks = (
|
|
|
3963
3941
|
}, e;
|
|
3964
3942
|
}()
|
|
3965
3943
|
);
|
|
3966
|
-
function
|
|
3944
|
+
function Js(e, t) {
|
|
3967
3945
|
if (t == null)
|
|
3968
3946
|
return;
|
|
3969
3947
|
if (t in e)
|
|
@@ -3984,60 +3962,60 @@ function ea(e, t) {
|
|
|
3984
3962
|
n = void 0;
|
|
3985
3963
|
return n;
|
|
3986
3964
|
}
|
|
3987
|
-
const fe = {},
|
|
3965
|
+
const fe = {}, qs = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), jr = (e, t) => {
|
|
3988
3966
|
if (t == null)
|
|
3989
3967
|
return;
|
|
3990
3968
|
if (t in fe && e in fe[t])
|
|
3991
3969
|
return fe[t][e];
|
|
3992
3970
|
const r = ct(t);
|
|
3993
3971
|
for (let n = 0; n < r.length; n++) {
|
|
3994
|
-
const s = r[n], a =
|
|
3972
|
+
const s = r[n], a = ea(s, e);
|
|
3995
3973
|
if (a)
|
|
3996
|
-
return
|
|
3974
|
+
return qs(e, t, a);
|
|
3997
3975
|
}
|
|
3998
3976
|
};
|
|
3999
|
-
let
|
|
3977
|
+
let Lt;
|
|
4000
3978
|
const Xe = ut({});
|
|
4001
|
-
function
|
|
4002
|
-
return
|
|
3979
|
+
function Ks(e) {
|
|
3980
|
+
return Lt[e] || null;
|
|
4003
3981
|
}
|
|
4004
|
-
function
|
|
4005
|
-
return e in
|
|
3982
|
+
function Vr(e) {
|
|
3983
|
+
return e in Lt;
|
|
4006
3984
|
}
|
|
4007
|
-
function
|
|
4008
|
-
if (!
|
|
3985
|
+
function ea(e, t) {
|
|
3986
|
+
if (!Vr(e))
|
|
4009
3987
|
return null;
|
|
4010
|
-
const r =
|
|
4011
|
-
return
|
|
3988
|
+
const r = Ks(e);
|
|
3989
|
+
return Js(r, t);
|
|
4012
3990
|
}
|
|
4013
|
-
function
|
|
3991
|
+
function ta(e) {
|
|
4014
3992
|
if (e == null)
|
|
4015
3993
|
return;
|
|
4016
3994
|
const t = ct(e);
|
|
4017
3995
|
for (let r = 0; r < t.length; r++) {
|
|
4018
3996
|
const n = t[r];
|
|
4019
|
-
if (
|
|
3997
|
+
if (Vr(n))
|
|
4020
3998
|
return n;
|
|
4021
3999
|
}
|
|
4022
4000
|
}
|
|
4023
|
-
function
|
|
4024
|
-
delete fe[e], Xe.update((r) => (r[e] =
|
|
4001
|
+
function zr(e, ...t) {
|
|
4002
|
+
delete fe[e], Xe.update((r) => (r[e] = as.all([r[e] || {}, ...t]), r));
|
|
4025
4003
|
}
|
|
4026
4004
|
Le(
|
|
4027
4005
|
[Xe],
|
|
4028
4006
|
([e]) => Object.keys(e)
|
|
4029
4007
|
);
|
|
4030
|
-
Xe.subscribe((e) =>
|
|
4008
|
+
Xe.subscribe((e) => Lt = e);
|
|
4031
4009
|
const at = {};
|
|
4032
|
-
function
|
|
4010
|
+
function ra(e, t) {
|
|
4033
4011
|
at[e].delete(t), at[e].size === 0 && delete at[e];
|
|
4034
4012
|
}
|
|
4035
|
-
function
|
|
4013
|
+
function Wr(e) {
|
|
4036
4014
|
return at[e];
|
|
4037
4015
|
}
|
|
4038
|
-
function
|
|
4016
|
+
function na(e) {
|
|
4039
4017
|
return ct(e).map((t) => {
|
|
4040
|
-
const r =
|
|
4018
|
+
const r = Wr(t);
|
|
4041
4019
|
return [t, r ? [...r] : []];
|
|
4042
4020
|
}).filter(([, t]) => t.length > 0);
|
|
4043
4021
|
}
|
|
@@ -4045,31 +4023,31 @@ function Ot(e) {
|
|
|
4045
4023
|
return e == null ? !1 : ct(e).some(
|
|
4046
4024
|
(t) => {
|
|
4047
4025
|
var r;
|
|
4048
|
-
return (r =
|
|
4026
|
+
return (r = Wr(t)) == null ? void 0 : r.size;
|
|
4049
4027
|
}
|
|
4050
4028
|
);
|
|
4051
4029
|
}
|
|
4052
|
-
function
|
|
4030
|
+
function sa(e, t) {
|
|
4053
4031
|
return Promise.all(
|
|
4054
|
-
t.map((n) => (
|
|
4055
|
-
).then((n) =>
|
|
4032
|
+
t.map((n) => (ra(e, n), n().then((s) => s.default || s)))
|
|
4033
|
+
).then((n) => zr(e, ...n));
|
|
4056
4034
|
}
|
|
4057
4035
|
const Ge = {};
|
|
4058
|
-
function
|
|
4036
|
+
function Xr(e) {
|
|
4059
4037
|
if (!Ot(e))
|
|
4060
4038
|
return e in Ge ? Ge[e] : Promise.resolve();
|
|
4061
|
-
const t =
|
|
4039
|
+
const t = na(e);
|
|
4062
4040
|
return Ge[e] = Promise.all(
|
|
4063
4041
|
t.map(
|
|
4064
|
-
([r, n]) =>
|
|
4042
|
+
([r, n]) => sa(r, n)
|
|
4065
4043
|
)
|
|
4066
4044
|
).then(() => {
|
|
4067
4045
|
if (Ot(e))
|
|
4068
|
-
return
|
|
4046
|
+
return Xr(e);
|
|
4069
4047
|
delete Ge[e];
|
|
4070
4048
|
}), Ge[e];
|
|
4071
4049
|
}
|
|
4072
|
-
const
|
|
4050
|
+
const aa = {
|
|
4073
4051
|
number: {
|
|
4074
4052
|
scientific: { notation: "scientific" },
|
|
4075
4053
|
engineering: { notation: "engineering" },
|
|
@@ -4098,57 +4076,57 @@ const la = {
|
|
|
4098
4076
|
timeZoneName: "short"
|
|
4099
4077
|
}
|
|
4100
4078
|
}
|
|
4101
|
-
},
|
|
4079
|
+
}, ia = {
|
|
4102
4080
|
fallbackLocale: null,
|
|
4103
4081
|
loadingDelay: 200,
|
|
4104
|
-
formats:
|
|
4082
|
+
formats: aa,
|
|
4105
4083
|
warnOnMissingMessages: !0,
|
|
4106
4084
|
handleMissingMessage: void 0,
|
|
4107
4085
|
ignoreTag: !0
|
|
4108
|
-
},
|
|
4109
|
-
function
|
|
4110
|
-
return
|
|
4086
|
+
}, oa = ia;
|
|
4087
|
+
function Oe() {
|
|
4088
|
+
return oa;
|
|
4111
4089
|
}
|
|
4112
|
-
const
|
|
4113
|
-
var
|
|
4090
|
+
const yt = ut(!1);
|
|
4091
|
+
var la = Object.defineProperty, ua = Object.defineProperties, ha = Object.getOwnPropertyDescriptors, ir = Object.getOwnPropertySymbols, ca = Object.prototype.hasOwnProperty, fa = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? la(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, da = (e, t) => {
|
|
4114
4092
|
for (var r in t || (t = {}))
|
|
4115
|
-
|
|
4116
|
-
if (
|
|
4117
|
-
for (var r of
|
|
4118
|
-
|
|
4093
|
+
ca.call(t, r) && or(e, r, t[r]);
|
|
4094
|
+
if (ir)
|
|
4095
|
+
for (var r of ir(t))
|
|
4096
|
+
fa.call(t, r) && or(e, r, t[r]);
|
|
4119
4097
|
return e;
|
|
4120
|
-
},
|
|
4121
|
-
let
|
|
4098
|
+
}, pa = (e, t) => ua(e, ha(t));
|
|
4099
|
+
let Rt;
|
|
4122
4100
|
const it = ut(null);
|
|
4123
|
-
function
|
|
4101
|
+
function lr(e) {
|
|
4124
4102
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4125
4103
|
}
|
|
4126
|
-
function ct(e, t =
|
|
4127
|
-
const r =
|
|
4128
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4104
|
+
function ct(e, t = Oe().fallbackLocale) {
|
|
4105
|
+
const r = lr(e);
|
|
4106
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...lr(t)])] : r;
|
|
4129
4107
|
}
|
|
4130
4108
|
function me() {
|
|
4131
|
-
return
|
|
4109
|
+
return Rt != null ? Rt : void 0;
|
|
4132
4110
|
}
|
|
4133
4111
|
it.subscribe((e) => {
|
|
4134
|
-
|
|
4112
|
+
Rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4135
4113
|
});
|
|
4136
|
-
const
|
|
4137
|
-
if (e &&
|
|
4138
|
-
const { loadingDelay: t } =
|
|
4114
|
+
const ma = (e) => {
|
|
4115
|
+
if (e && ta(e) && Ot(e)) {
|
|
4116
|
+
const { loadingDelay: t } = Oe();
|
|
4139
4117
|
let r;
|
|
4140
4118
|
return typeof window != "undefined" && me() != null && t ? r = window.setTimeout(
|
|
4141
|
-
() =>
|
|
4119
|
+
() => yt.set(!0),
|
|
4142
4120
|
t
|
|
4143
|
-
) :
|
|
4121
|
+
) : yt.set(!0), Xr(e).then(() => {
|
|
4144
4122
|
it.set(e);
|
|
4145
4123
|
}).finally(() => {
|
|
4146
|
-
clearTimeout(r),
|
|
4124
|
+
clearTimeout(r), yt.set(!1);
|
|
4147
4125
|
});
|
|
4148
4126
|
}
|
|
4149
4127
|
return it.set(e);
|
|
4150
|
-
}, Fe =
|
|
4151
|
-
set:
|
|
4128
|
+
}, Fe = pa(da({}, it), {
|
|
4129
|
+
set: ma
|
|
4152
4130
|
}), ft = (e) => {
|
|
4153
4131
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4154
4132
|
return (n) => {
|
|
@@ -4156,42 +4134,42 @@ const wa = (e) => {
|
|
|
4156
4134
|
return s in t ? t[s] : t[s] = e(n);
|
|
4157
4135
|
};
|
|
4158
4136
|
};
|
|
4159
|
-
var
|
|
4137
|
+
var ga = Object.defineProperty, ot = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? ga(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
|
|
4160
4138
|
for (var r in t || (t = {}))
|
|
4161
|
-
|
|
4139
|
+
Zr.call(t, r) && ur(e, r, t[r]);
|
|
4162
4140
|
if (ot)
|
|
4163
4141
|
for (var r of ot(t))
|
|
4164
|
-
|
|
4142
|
+
Qr.call(t, r) && ur(e, r, t[r]);
|
|
4165
4143
|
return e;
|
|
4166
4144
|
}, ke = (e, t) => {
|
|
4167
4145
|
var r = {};
|
|
4168
4146
|
for (var n in e)
|
|
4169
|
-
|
|
4147
|
+
Zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4170
4148
|
if (e != null && ot)
|
|
4171
4149
|
for (var n of ot(e))
|
|
4172
|
-
t.indexOf(n) < 0 &&
|
|
4150
|
+
t.indexOf(n) < 0 && Qr.call(e, n) && (r[n] = e[n]);
|
|
4173
4151
|
return r;
|
|
4174
4152
|
};
|
|
4175
4153
|
const We = (e, t) => {
|
|
4176
|
-
const { formats: r } =
|
|
4154
|
+
const { formats: r } = Oe();
|
|
4177
4155
|
if (e in r && t in r[e])
|
|
4178
4156
|
return r[e][t];
|
|
4179
4157
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4180
|
-
},
|
|
4158
|
+
}, ba = ft(
|
|
4181
4159
|
(e) => {
|
|
4182
4160
|
var t = e, { locale: r, format: n } = t, s = ke(t, ["locale", "format"]);
|
|
4183
4161
|
if (r == null)
|
|
4184
4162
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4185
4163
|
return n && (s = We("number", n)), new Intl.NumberFormat(r, s);
|
|
4186
4164
|
}
|
|
4187
|
-
),
|
|
4165
|
+
), wa = ft(
|
|
4188
4166
|
(e) => {
|
|
4189
4167
|
var t = e, { locale: r, format: n } = t, s = ke(t, ["locale", "format"]);
|
|
4190
4168
|
if (r == null)
|
|
4191
4169
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4192
4170
|
return n ? s = We("date", n) : Object.keys(s).length === 0 && (s = We("date", "short")), new Intl.DateTimeFormat(r, s);
|
|
4193
4171
|
}
|
|
4194
|
-
),
|
|
4172
|
+
), va = ft(
|
|
4195
4173
|
(e) => {
|
|
4196
4174
|
var t = e, { locale: r, format: n } = t, s = ke(t, ["locale", "format"]);
|
|
4197
4175
|
if (r == null)
|
|
@@ -4200,38 +4178,38 @@ const We = (e, t) => {
|
|
|
4200
4178
|
);
|
|
4201
4179
|
return n ? s = We("time", n) : Object.keys(s).length === 0 && (s = We("time", "short")), new Intl.DateTimeFormat(r, s);
|
|
4202
4180
|
}
|
|
4203
|
-
),
|
|
4181
|
+
), ya = (e = {}) => {
|
|
4204
4182
|
var t = e, {
|
|
4205
4183
|
locale: r = me()
|
|
4206
4184
|
} = t, n = ke(t, [
|
|
4207
4185
|
"locale"
|
|
4208
4186
|
]);
|
|
4209
|
-
return
|
|
4210
|
-
},
|
|
4187
|
+
return ba(Ft({ locale: r }, n));
|
|
4188
|
+
}, Pa = (e = {}) => {
|
|
4211
4189
|
var t = e, {
|
|
4212
4190
|
locale: r = me()
|
|
4213
4191
|
} = t, n = ke(t, [
|
|
4214
4192
|
"locale"
|
|
4215
4193
|
]);
|
|
4216
|
-
return
|
|
4217
|
-
},
|
|
4194
|
+
return wa(Ft({ locale: r }, n));
|
|
4195
|
+
}, _a = (e = {}) => {
|
|
4218
4196
|
var t = e, {
|
|
4219
4197
|
locale: r = me()
|
|
4220
4198
|
} = t, n = ke(t, [
|
|
4221
4199
|
"locale"
|
|
4222
4200
|
]);
|
|
4223
|
-
return
|
|
4224
|
-
},
|
|
4201
|
+
return va(Ft({ locale: r }, n));
|
|
4202
|
+
}, xa = ft(
|
|
4225
4203
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4226
|
-
(e, t = me()) => new
|
|
4227
|
-
ignoreTag:
|
|
4204
|
+
(e, t = me()) => new Ys(e, t, Oe().formats, {
|
|
4205
|
+
ignoreTag: Oe().ignoreTag
|
|
4228
4206
|
})
|
|
4229
|
-
),
|
|
4207
|
+
), Ea = (e, t = {}) => {
|
|
4230
4208
|
var r, n, s, a;
|
|
4231
4209
|
let i = t;
|
|
4232
4210
|
typeof e == "object" && (i = e, e = i.id);
|
|
4233
4211
|
const {
|
|
4234
|
-
values:
|
|
4212
|
+
values: l,
|
|
4235
4213
|
locale: u = me(),
|
|
4236
4214
|
default: h
|
|
4237
4215
|
} = i;
|
|
@@ -4239,18 +4217,18 @@ const We = (e, t) => {
|
|
|
4239
4217
|
throw new Error(
|
|
4240
4218
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4241
4219
|
);
|
|
4242
|
-
let c =
|
|
4220
|
+
let c = jr(e, u);
|
|
4243
4221
|
if (!c)
|
|
4244
|
-
c = (a = (s = (n = (r =
|
|
4222
|
+
c = (a = (s = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? s : h) != null ? a : e;
|
|
4245
4223
|
else if (typeof c != "string")
|
|
4246
4224
|
return console.warn(
|
|
4247
4225
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4248
4226
|
), c;
|
|
4249
|
-
if (!
|
|
4227
|
+
if (!l)
|
|
4250
4228
|
return c;
|
|
4251
4229
|
let f = c;
|
|
4252
4230
|
try {
|
|
4253
|
-
f =
|
|
4231
|
+
f = xa(c, u).format(l);
|
|
4254
4232
|
} catch (p) {
|
|
4255
4233
|
p instanceof Error && console.warn(
|
|
4256
4234
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4258,20 +4236,20 @@ const We = (e, t) => {
|
|
|
4258
4236
|
);
|
|
4259
4237
|
}
|
|
4260
4238
|
return f;
|
|
4261
|
-
},
|
|
4262
|
-
Le([Fe], () =>
|
|
4263
|
-
Le([Fe], () =>
|
|
4264
|
-
Le([Fe], () =>
|
|
4265
|
-
Le([Fe, Xe], () =>
|
|
4266
|
-
window.emWidgets = { topic:
|
|
4267
|
-
const
|
|
4268
|
-
function
|
|
4269
|
-
|
|
4270
|
-
}
|
|
4271
|
-
function
|
|
4239
|
+
}, Ca = (e, t) => _a(t).format(e), Ta = (e, t) => Pa(t).format(e), Ba = (e, t) => ya(t).format(e), Sa = (e, t = me()) => jr(e, t), Aa = Le([Fe, Xe], () => Ea);
|
|
4240
|
+
Le([Fe], () => Ca);
|
|
4241
|
+
Le([Fe], () => Ta);
|
|
4242
|
+
Le([Fe], () => Ba);
|
|
4243
|
+
Le([Fe, Xe], () => Sa);
|
|
4244
|
+
window.emWidgets = { topic: Gn };
|
|
4245
|
+
const Ia = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4246
|
+
function hr(e, t) {
|
|
4247
|
+
zr(e, t);
|
|
4248
|
+
}
|
|
4249
|
+
function Ha(e) {
|
|
4272
4250
|
Fe.set(e);
|
|
4273
4251
|
}
|
|
4274
|
-
const
|
|
4252
|
+
const cr = {
|
|
4275
4253
|
en: {
|
|
4276
4254
|
titleChangePassword: "Change Password",
|
|
4277
4255
|
currentPassword: "Current Password:",
|
|
@@ -4455,21 +4433,21 @@ const pr = {
|
|
|
4455
4433
|
backButtonText: "Back"
|
|
4456
4434
|
}
|
|
4457
4435
|
};
|
|
4458
|
-
function
|
|
4459
|
-
ln(e, "svelte-r3j83g", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:400px;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{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:30px 0;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-text-color, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:var(--emw--color-primary, #22B04E);background:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4436
|
+
function Ma(e) {
|
|
4437
|
+
nn(e, "svelte-r3j83g", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:400px;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{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:30px 0;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-text-color, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:var(--emw--color-primary, #22B04E);background:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4460
4438
|
}
|
|
4461
|
-
function
|
|
4439
|
+
function Na(e) {
|
|
4462
4440
|
let t;
|
|
4463
4441
|
function r(a, i) {
|
|
4464
4442
|
return (
|
|
4465
4443
|
/*passwordChanged*/
|
|
4466
|
-
a[2] ?
|
|
4444
|
+
a[2] ? Oa : Ra
|
|
4467
4445
|
);
|
|
4468
4446
|
}
|
|
4469
4447
|
let n = r(e), s = n(e);
|
|
4470
4448
|
return {
|
|
4471
4449
|
c() {
|
|
4472
|
-
t = _("form"), s.c(),
|
|
4450
|
+
t = _("form"), s.c(), o(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
|
|
4473
4451
|
(e[20] ? "PlayerChangePasswordWrapperMobile" : "") + " " + /*mediaQuery*/
|
|
4474
4452
|
(e[21].matches && /*isMobile*/
|
|
4475
4453
|
e[20] ? "PlayerChangePasswordWrapperTablet" : ""));
|
|
@@ -4485,29 +4463,29 @@ function La(e) {
|
|
|
4485
4463
|
}
|
|
4486
4464
|
};
|
|
4487
4465
|
}
|
|
4488
|
-
function
|
|
4466
|
+
function Oa(e) {
|
|
4489
4467
|
let t, r, n, s = (
|
|
4490
4468
|
/*$_*/
|
|
4491
4469
|
e[19]("changePasswordText") + ""
|
|
4492
|
-
), a, i,
|
|
4470
|
+
), a, i, l, u, h, c, f, p, m = (
|
|
4493
4471
|
/*$_*/
|
|
4494
4472
|
e[19]("passwordReset") + ""
|
|
4495
4473
|
), w, v, T, y = (
|
|
4496
4474
|
/*$_*/
|
|
4497
4475
|
e[19]("passwordResetConfirmation") + ""
|
|
4498
|
-
), I,
|
|
4476
|
+
), I, R, k, D = (
|
|
4499
4477
|
/*$_*/
|
|
4500
4478
|
e[19]("backButtonText") + ""
|
|
4501
4479
|
), N, X, te, $ = (
|
|
4502
4480
|
/*isMobile*/
|
|
4503
|
-
e[20] &&
|
|
4481
|
+
e[20] && La(e)
|
|
4504
4482
|
);
|
|
4505
4483
|
return {
|
|
4506
4484
|
c() {
|
|
4507
|
-
$ && $.c(), t = F(), r = _("div"), n = _("h3"), a = M(s), i = F(),
|
|
4485
|
+
$ && $.c(), t = F(), r = _("div"), n = _("h3"), a = M(s), i = F(), l = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = F(), f = _("div"), p = _("h3"), w = M(m), v = F(), T = _("p"), I = M(y), R = F(), k = _("div"), N = M(D), o(r, "class", "PlayerChangePasswordHeader"), o(h, "class", "IconContainer"), o(f, "class", "TextContainer"), o(u, "class", "SuccessWrapper"), o(k, "class", "PlayerChangePasswordBackButton"), o(l, "class", "ChangedPasswordSuccessfully");
|
|
4508
4486
|
},
|
|
4509
4487
|
m(L, B) {
|
|
4510
|
-
$ && $.m(L, B), H(L, t, B), H(L, r, B), d(r, n), d(n, a), H(L, i, B), H(L,
|
|
4488
|
+
$ && $.m(L, B), H(L, t, B), H(L, r, B), d(r, n), d(n, a), H(L, i, B), H(L, l, B), d(l, u), d(u, h), d(u, c), d(u, f), d(f, p), d(p, w), d(f, v), d(f, T), d(T, I), d(l, R), d(l, k), d(k, N), X || (te = z(
|
|
4511
4489
|
k,
|
|
4512
4490
|
"click",
|
|
4513
4491
|
/*click_handler_9*/
|
|
@@ -4527,18 +4505,18 @@ function Fa(e) {
|
|
|
4527
4505
|
L[19]("backButtonText") + "") && U(N, D);
|
|
4528
4506
|
},
|
|
4529
4507
|
d(L) {
|
|
4530
|
-
L && (A(t), A(r), A(i), A(
|
|
4508
|
+
L && (A(t), A(r), A(i), A(l)), $ && $.d(L), X = !1, te();
|
|
4531
4509
|
}
|
|
4532
4510
|
};
|
|
4533
4511
|
}
|
|
4534
|
-
function
|
|
4512
|
+
function Ra(e) {
|
|
4535
4513
|
let t, r, n = (
|
|
4536
4514
|
/*$_*/
|
|
4537
4515
|
e[19]("titleChangePassword") + ""
|
|
4538
|
-
), s, a, i,
|
|
4516
|
+
), s, a, i, l, u, h = (
|
|
4539
4517
|
/*$_*/
|
|
4540
4518
|
e[19]("currentPassword") + ""
|
|
4541
|
-
), c, f, p, m, w, v, T, y, I,
|
|
4519
|
+
), c, f, p, m, w, v, T, y, I, R = (
|
|
4542
4520
|
/*$_*/
|
|
4543
4521
|
e[19]("newPassword") + ""
|
|
4544
4522
|
), k, D, N, X, te, $, L, B, Z, Y = (
|
|
@@ -4549,22 +4527,22 @@ function ka(e) {
|
|
|
4549
4527
|
e[19]("submitChangePassword") + ""
|
|
4550
4528
|
), we, ve, pe, $e, Qe, ie = (
|
|
4551
4529
|
/*isMobile*/
|
|
4552
|
-
e[20] &&
|
|
4530
|
+
e[20] && Fa(e)
|
|
4553
4531
|
);
|
|
4554
4532
|
function Ye(x, P) {
|
|
4555
4533
|
return (
|
|
4556
4534
|
/*isCurrentPasswordVisible*/
|
|
4557
|
-
x[10] ?
|
|
4535
|
+
x[10] ? Da : ka
|
|
4558
4536
|
);
|
|
4559
4537
|
}
|
|
4560
4538
|
let ye = Ye(e), J = ye(e), G = (
|
|
4561
4539
|
/*invalidCurrentPassword*/
|
|
4562
|
-
e[4] &&
|
|
4540
|
+
e[4] && fr(e)
|
|
4563
4541
|
);
|
|
4564
4542
|
function Je(x, P) {
|
|
4565
4543
|
return (
|
|
4566
4544
|
/*isNewPasswordVisible*/
|
|
4567
|
-
x[11] ?
|
|
4545
|
+
x[11] ? ja : Ga
|
|
4568
4546
|
);
|
|
4569
4547
|
}
|
|
4570
4548
|
let Pe = Je(e), q = Pe(e);
|
|
@@ -4573,43 +4551,43 @@ function ka(e) {
|
|
|
4573
4551
|
/*oldPasswordSameAsNew*/
|
|
4574
4552
|
x[13]
|
|
4575
4553
|
)
|
|
4576
|
-
return
|
|
4554
|
+
return za;
|
|
4577
4555
|
if (
|
|
4578
4556
|
/*invalidNewPassword*/
|
|
4579
4557
|
x[5]
|
|
4580
4558
|
)
|
|
4581
|
-
return
|
|
4559
|
+
return Va;
|
|
4582
4560
|
}
|
|
4583
4561
|
let ce = qe(e), j = ce && ce(e);
|
|
4584
4562
|
function Ke(x, P) {
|
|
4585
4563
|
return (
|
|
4586
4564
|
/*isConfirmPasswordVisible*/
|
|
4587
|
-
x[12] ?
|
|
4565
|
+
x[12] ? Qa : Za
|
|
4588
4566
|
);
|
|
4589
4567
|
}
|
|
4590
4568
|
let _e = Ke(e), K = _e(e), V = (
|
|
4591
4569
|
/*invalidConfirmPassword*/
|
|
4592
|
-
e[6] &&
|
|
4570
|
+
e[6] && dr(e)
|
|
4593
4571
|
), b = (
|
|
4594
4572
|
/*showErrorPasswordChanged*/
|
|
4595
|
-
e[18] &&
|
|
4573
|
+
e[18] && pr(e)
|
|
4596
4574
|
);
|
|
4597
4575
|
return {
|
|
4598
4576
|
c() {
|
|
4599
|
-
ie && ie.c(), t = F(), r = _("h2"), s = M(n), a = F(), i = _("section"),
|
|
4600
|
-
(e[20] ? "ChangePasswordTitleNone" : "")),
|
|
4601
|
-
(e[4] ? "InvalidField" : "")),
|
|
4602
|
-
(e[5] ? "InvalidField" : "")),
|
|
4603
|
-
(e[6] ? "InvalidField" : "")),
|
|
4577
|
+
ie && ie.c(), t = F(), r = _("h2"), s = M(n), a = F(), i = _("section"), l = _("div"), u = _("label"), c = M(h), f = F(), p = _("input"), m = F(), J.c(), w = F(), G && G.c(), T = F(), y = _("div"), I = _("label"), k = M(R), D = F(), N = _("input"), X = F(), q.c(), te = F(), j && j.c(), L = F(), B = _("div"), Z = _("label"), ge = M(Y), De = F(), Q = _("input"), Ze = F(), K.c(), re = F(), V && V.c(), Ue = F(), b && b.c(), ae = F(), de = _("section"), ne = _("button"), we = M(he), o(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4578
|
+
(e[20] ? "ChangePasswordTitleNone" : "")), o(u, "for", "CurrentPassword"), o(p, "id", "CurrentPassword"), o(p, "type", "password"), o(l, "class", v = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4579
|
+
(e[4] ? "InvalidField" : "")), o(I, "for", "NewPassword"), o(N, "id", "NewPassword"), o(N, "autocomplete", "new-password"), o(N, "type", "password"), o(y, "class", $ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4580
|
+
(e[5] ? "InvalidField" : "")), o(Z, "for", "ConfirmPassword"), o(Q, "id", "ConfirmPassword"), o(Q, "type", "password"), o(B, "class", be = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4581
|
+
(e[6] ? "InvalidField" : "")), o(i, "class", "PlayerChangePasswordContent"), o(ne, "class", ve = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4604
4582
|
(e[3] ? "" : "ButtonInactive")), ne.disabled = pe = !/*activateSubmit*/
|
|
4605
|
-
e[3],
|
|
4583
|
+
e[3], o(de, "class", "PlayerChangePasswordButtonsArea");
|
|
4606
4584
|
},
|
|
4607
4585
|
m(x, P) {
|
|
4608
|
-
ie && ie.m(x, P), H(x, t, P), H(x, r, P), d(r, s), H(x, a, P), H(x, i, P), d(i,
|
|
4586
|
+
ie && ie.m(x, P), H(x, t, P), H(x, r, P), d(r, s), H(x, a, P), H(x, i, P), d(i, l), d(l, u), d(u, c), d(l, f), d(l, p), xe(
|
|
4609
4587
|
p,
|
|
4610
4588
|
/*userCurrentPassword*/
|
|
4611
4589
|
e[14]
|
|
4612
|
-
), e[35](p), d(
|
|
4590
|
+
), e[35](p), d(l, m), J.m(l, null), d(l, w), G && G.m(l, null), d(i, T), d(i, y), d(y, I), d(I, k), d(y, D), d(y, N), xe(
|
|
4613
4591
|
N,
|
|
4614
4592
|
/*userNewPassword*/
|
|
4615
4593
|
e[15]
|
|
@@ -4716,12 +4694,12 @@ function ka(e) {
|
|
|
4716
4694
|
p,
|
|
4717
4695
|
/*userCurrentPassword*/
|
|
4718
4696
|
e[14]
|
|
4719
|
-
), ye === (ye = Ye(e)) && J ? J.p(e, P) : (J.d(1), J = ye(e), J && (J.c(), J.m(
|
|
4720
|
-
e[4] ? G ? G.p(e, P) : (G =
|
|
4697
|
+
), ye === (ye = Ye(e)) && J ? J.p(e, P) : (J.d(1), J = ye(e), J && (J.c(), J.m(l, w))), /*invalidCurrentPassword*/
|
|
4698
|
+
e[4] ? G ? G.p(e, P) : (G = fr(e), G.c(), G.m(l, null)) : G && (G.d(1), G = null), P[0] & /*invalidCurrentPassword*/
|
|
4721
4699
|
16 && v !== (v = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4722
|
-
(e[4] ? "InvalidField" : "")) && l
|
|
4723
|
-
524288 &&
|
|
4724
|
-
e[19]("newPassword") + "") && U(k,
|
|
4700
|
+
(e[4] ? "InvalidField" : "")) && o(l, "class", v), P[0] & /*$_*/
|
|
4701
|
+
524288 && R !== (R = /*$_*/
|
|
4702
|
+
e[19]("newPassword") + "") && U(k, R), P[0] & /*userNewPassword*/
|
|
4725
4703
|
32768 && N.value !== /*userNewPassword*/
|
|
4726
4704
|
e[15] && xe(
|
|
4727
4705
|
N,
|
|
@@ -4729,7 +4707,7 @@ function ka(e) {
|
|
|
4729
4707
|
e[15]
|
|
4730
4708
|
), Pe === (Pe = Je(e)) && q ? q.p(e, P) : (q.d(1), q = Pe(e), q && (q.c(), q.m(y, te))), ce === (ce = qe(e)) && j ? j.p(e, P) : (j && j.d(1), j = ce && ce(e), j && (j.c(), j.m(y, null))), P[0] & /*invalidNewPassword*/
|
|
4731
4709
|
32 && $ !== ($ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4732
|
-
(e[5] ? "InvalidField" : "")) &&
|
|
4710
|
+
(e[5] ? "InvalidField" : "")) && o(y, "class", $), P[0] & /*$_*/
|
|
4733
4711
|
524288 && Y !== (Y = /*$_*/
|
|
4734
4712
|
e[19]("confirmPassword") + "") && U(ge, Y), P[0] & /*userConfirmPassword*/
|
|
4735
4713
|
65536 && Q.value !== /*userConfirmPassword*/
|
|
@@ -4738,32 +4716,32 @@ function ka(e) {
|
|
|
4738
4716
|
/*userConfirmPassword*/
|
|
4739
4717
|
e[16]
|
|
4740
4718
|
), _e === (_e = Ke(e)) && K ? K.p(e, P) : (K.d(1), K = _e(e), K && (K.c(), K.m(B, re))), /*invalidConfirmPassword*/
|
|
4741
|
-
e[6] ? V ? V.p(e, P) : (V =
|
|
4719
|
+
e[6] ? V ? V.p(e, P) : (V = dr(e), V.c(), V.m(B, null)) : V && (V.d(1), V = null), P[0] & /*invalidConfirmPassword*/
|
|
4742
4720
|
64 && be !== (be = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4743
|
-
(e[6] ? "InvalidField" : "")) &&
|
|
4744
|
-
e[18] ? b ? b.p(e, P) : (b =
|
|
4721
|
+
(e[6] ? "InvalidField" : "")) && o(B, "class", be), /*showErrorPasswordChanged*/
|
|
4722
|
+
e[18] ? b ? b.p(e, P) : (b = pr(e), b.c(), b.m(ae.parentNode, ae)) : b && (b.d(1), b = null), P[0] & /*$_*/
|
|
4745
4723
|
524288 && he !== (he = /*$_*/
|
|
4746
4724
|
e[19]("submitChangePassword") + "") && U(we, he), P[0] & /*activateSubmit*/
|
|
4747
4725
|
8 && ve !== (ve = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4748
|
-
(e[3] ? "" : "ButtonInactive")) &&
|
|
4726
|
+
(e[3] ? "" : "ButtonInactive")) && o(ne, "class", ve), P[0] & /*activateSubmit*/
|
|
4749
4727
|
8 && pe !== (pe = !/*activateSubmit*/
|
|
4750
4728
|
e[3]) && (ne.disabled = pe);
|
|
4751
4729
|
},
|
|
4752
4730
|
d(x) {
|
|
4753
|
-
x && (A(t), A(r), A(a), A(i), A(Ue), A(ae), A(de)), ie && ie.d(x), e[35](null), J.d(), G && G.d(), e[39](null), q.d(), j && j.d(), e[43](null), K.d(), V && V.d(), b && b.d(x), $e = !1,
|
|
4731
|
+
x && (A(t), A(r), A(a), A(i), A(Ue), A(ae), A(de)), ie && ie.d(x), e[35](null), J.d(), G && G.d(), e[39](null), q.d(), j && j.d(), e[43](null), K.d(), V && V.d(), b && b.d(x), $e = !1, Re(Qe);
|
|
4754
4732
|
}
|
|
4755
4733
|
};
|
|
4756
4734
|
}
|
|
4757
|
-
function
|
|
4758
|
-
let t, r, n, s, a, i,
|
|
4735
|
+
function La(e) {
|
|
4736
|
+
let t, r, n, s, a, i, l = (
|
|
4759
4737
|
/*$_*/
|
|
4760
4738
|
e[19]("returnToMenu") + ""
|
|
4761
4739
|
), u, h, c;
|
|
4762
4740
|
return {
|
|
4763
4741
|
c() {
|
|
4764
|
-
t = _("div"), r = g("svg"), n = g("g"), s = g("path"), a = F(), i = _("span"), u = M(
|
|
4742
|
+
t = _("div"), r = g("svg"), n = g("g"), s = g("path"), a = F(), i = _("span"), u = M(l), o(s, "id", "Chevron_Right"), o(s, "d", `M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179
|
|
4765
4743
|
l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816
|
|
4766
|
-
C52.942,116.507,52.942,124.327,57.633,129.007z`),
|
|
4744
|
+
C52.942,116.507,52.942,124.327,57.633,129.007z`), o(r, "version", "1.1"), o(r, "id", "Capa_1"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "xmlns:xlink", "http://www.w3.org/1999/xlink"), o(r, "x", "0px"), o(r, "y", "0px"), o(r, "viewBox", "0 0 240.823 240.823"), ln(r, "enable-background", "new 0 0 240.823 240.823"), o(r, "xml:space", "preserve"), o(r, "width", "18px"), o(r, "fill", "var(--emw--color-gray-300, #58586B)"), o(t, "class", "MenuReturnButton");
|
|
4767
4745
|
},
|
|
4768
4746
|
m(f, p) {
|
|
4769
4747
|
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(t, i), d(i, u), h || (c = z(
|
|
@@ -4775,25 +4753,25 @@ function Da(e) {
|
|
|
4775
4753
|
},
|
|
4776
4754
|
p(f, p) {
|
|
4777
4755
|
p[0] & /*$_*/
|
|
4778
|
-
524288 &&
|
|
4779
|
-
f[19]("returnToMenu") + "") && U(u,
|
|
4756
|
+
524288 && l !== (l = /*$_*/
|
|
4757
|
+
f[19]("returnToMenu") + "") && U(u, l);
|
|
4780
4758
|
},
|
|
4781
4759
|
d(f) {
|
|
4782
4760
|
f && A(t), h = !1, c();
|
|
4783
4761
|
}
|
|
4784
4762
|
};
|
|
4785
4763
|
}
|
|
4786
|
-
function
|
|
4787
|
-
let t, r, n, s, a, i,
|
|
4764
|
+
function Fa(e) {
|
|
4765
|
+
let t, r, n, s, a, i, l, u, h, c, f = (
|
|
4788
4766
|
/*$_*/
|
|
4789
4767
|
e[19]("titleChangePassword") + ""
|
|
4790
4768
|
), p, m, w;
|
|
4791
4769
|
return {
|
|
4792
4770
|
c() {
|
|
4793
|
-
t = _("div"), r = g("svg"), n = g("defs"), s = g("style"), a = M(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), i = g("g"),
|
|
4771
|
+
t = _("div"), r = g("svg"), n = g("defs"), s = g("style"), a = M(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), i = g("g"), l = g("g"), u = g("path"), h = F(), c = _("h2"), p = M(f), o(u, "class", "aaa"), o(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), o(u, "transform", "translate(15 15) rotate(180)"), o(l, "transform", "translate(20 158)"), o(i, "transform", "translate(-20 -158)"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "15"), o(r, "height", "15"), o(r, "viewBox", "0 0 15 15"), o(c, "class", "ChangePasswordTitleMobile"), o(t, "class", "MenuReturnButton");
|
|
4794
4772
|
},
|
|
4795
4773
|
m(v, T) {
|
|
4796
|
-
H(v, t, T), d(t, r), d(r, n), d(n, s), d(s, a), d(r, i), d(i,
|
|
4774
|
+
H(v, t, T), d(t, r), d(r, n), d(n, s), d(s, a), d(r, i), d(i, l), d(l, u), d(t, h), d(t, c), d(c, p), m || (w = z(
|
|
4797
4775
|
t,
|
|
4798
4776
|
"click",
|
|
4799
4777
|
/*click_handler*/
|
|
@@ -4810,16 +4788,16 @@ function Ua(e) {
|
|
|
4810
4788
|
}
|
|
4811
4789
|
};
|
|
4812
4790
|
}
|
|
4813
|
-
function
|
|
4814
|
-
let t, r, n, s, a, i,
|
|
4791
|
+
function ka(e) {
|
|
4792
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
4815
4793
|
return {
|
|
4816
4794
|
c() {
|
|
4817
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"),
|
|
4795
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"), l = g("circle"), o(i, "class", "a"), o(i, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(i, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(a, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4818
4796
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4819
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4797
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.843"), o(t, "height", "10.5"), o(t, "viewBox", "0 0 18.843 10.5");
|
|
4820
4798
|
},
|
|
4821
4799
|
m(f, p) {
|
|
4822
|
-
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a,
|
|
4800
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), h || (c = z(
|
|
4823
4801
|
t,
|
|
4824
4802
|
"click",
|
|
4825
4803
|
/*click_handler_2*/
|
|
@@ -4830,23 +4808,23 @@ function $a(e) {
|
|
|
4830
4808
|
p[0] & /*invalidCurrentPassword*/
|
|
4831
4809
|
16 && u !== (u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4832
4810
|
(f[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4833
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4811
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
4834
4812
|
},
|
|
4835
4813
|
d(f) {
|
|
4836
4814
|
f && A(t), h = !1, c();
|
|
4837
4815
|
}
|
|
4838
4816
|
};
|
|
4839
4817
|
}
|
|
4840
|
-
function
|
|
4841
|
-
let t, r, n, s, a, i,
|
|
4818
|
+
function Da(e) {
|
|
4819
|
+
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
4842
4820
|
return {
|
|
4843
4821
|
c() {
|
|
4844
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"),
|
|
4822
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(i, "class", "a"), o(i, "cx", "0.05"), o(i, "cy", "0.05"), o(i, "r", "0.05"), o(i, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", w = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4845
4823
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4846
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4824
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.844"), o(t, "height", "12.887"), o(t, "viewBox", "0 0 18.844 12.887");
|
|
4847
4825
|
},
|
|
4848
4826
|
m(y, I) {
|
|
4849
|
-
H(y, t, I), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a,
|
|
4827
|
+
H(y, t, I), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), d(l, u), d(l, h), d(a, c), d(c, f), d(c, p), d(a, m), v || (T = z(
|
|
4850
4828
|
t,
|
|
4851
4829
|
"click",
|
|
4852
4830
|
/*click_handler_1*/
|
|
@@ -4857,25 +4835,25 @@ function Ga(e) {
|
|
|
4857
4835
|
I[0] & /*invalidCurrentPassword*/
|
|
4858
4836
|
16 && w !== (w = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4859
4837
|
(y[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4860
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4838
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", w);
|
|
4861
4839
|
},
|
|
4862
4840
|
d(y) {
|
|
4863
4841
|
y && A(t), v = !1, T();
|
|
4864
4842
|
}
|
|
4865
4843
|
};
|
|
4866
4844
|
}
|
|
4867
|
-
function
|
|
4845
|
+
function fr(e) {
|
|
4868
4846
|
let t;
|
|
4869
4847
|
function r(a, i) {
|
|
4870
4848
|
return (
|
|
4871
4849
|
/*simplepasswordvalidation*/
|
|
4872
|
-
a[0] == "true" ?
|
|
4850
|
+
a[0] == "true" ? $a : Ua
|
|
4873
4851
|
);
|
|
4874
4852
|
}
|
|
4875
4853
|
let n = r(e), s = n(e);
|
|
4876
4854
|
return {
|
|
4877
4855
|
c() {
|
|
4878
|
-
s.c(), t =
|
|
4856
|
+
s.c(), t = wr();
|
|
4879
4857
|
},
|
|
4880
4858
|
m(a, i) {
|
|
4881
4859
|
s.m(a, i), H(a, t, i);
|
|
@@ -4888,14 +4866,14 @@ function mr(e) {
|
|
|
4888
4866
|
}
|
|
4889
4867
|
};
|
|
4890
4868
|
}
|
|
4891
|
-
function
|
|
4869
|
+
function Ua(e) {
|
|
4892
4870
|
let t, r = (
|
|
4893
4871
|
/*$_*/
|
|
4894
4872
|
e[19]("invalidPasswordRule") + ""
|
|
4895
4873
|
), n;
|
|
4896
4874
|
return {
|
|
4897
4875
|
c() {
|
|
4898
|
-
t = _("p"), n = M(r),
|
|
4876
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
4899
4877
|
},
|
|
4900
4878
|
m(s, a) {
|
|
4901
4879
|
H(s, t, a), d(t, n);
|
|
@@ -4910,14 +4888,14 @@ function ja(e) {
|
|
|
4910
4888
|
}
|
|
4911
4889
|
};
|
|
4912
4890
|
}
|
|
4913
|
-
function
|
|
4891
|
+
function $a(e) {
|
|
4914
4892
|
let t, r = (
|
|
4915
4893
|
/*$_*/
|
|
4916
4894
|
e[19]("simplePasswordError") + ""
|
|
4917
4895
|
), n;
|
|
4918
4896
|
return {
|
|
4919
4897
|
c() {
|
|
4920
|
-
t = _("p"), n = M(r),
|
|
4898
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
4921
4899
|
},
|
|
4922
4900
|
m(s, a) {
|
|
4923
4901
|
H(s, t, a), d(t, n);
|
|
@@ -4932,16 +4910,16 @@ function Va(e) {
|
|
|
4932
4910
|
}
|
|
4933
4911
|
};
|
|
4934
4912
|
}
|
|
4935
|
-
function
|
|
4936
|
-
let t, r, n, s, a, i,
|
|
4913
|
+
function Ga(e) {
|
|
4914
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
4937
4915
|
return {
|
|
4938
4916
|
c() {
|
|
4939
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"),
|
|
4917
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"), l = g("circle"), o(i, "class", "a"), o(i, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(i, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(a, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4940
4918
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4941
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4919
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.843"), o(t, "height", "10.5"), o(t, "viewBox", "0 0 18.843 10.5");
|
|
4942
4920
|
},
|
|
4943
4921
|
m(f, p) {
|
|
4944
|
-
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a,
|
|
4922
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), h || (c = z(
|
|
4945
4923
|
t,
|
|
4946
4924
|
"click",
|
|
4947
4925
|
/*click_handler_4*/
|
|
@@ -4952,23 +4930,23 @@ function za(e) {
|
|
|
4952
4930
|
p[0] & /*invalidNewPassword*/
|
|
4953
4931
|
32 && u !== (u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4954
4932
|
(f[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4955
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4933
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
4956
4934
|
},
|
|
4957
4935
|
d(f) {
|
|
4958
4936
|
f && A(t), h = !1, c();
|
|
4959
4937
|
}
|
|
4960
4938
|
};
|
|
4961
4939
|
}
|
|
4962
|
-
function
|
|
4963
|
-
let t, r, n, s, a, i,
|
|
4940
|
+
function ja(e) {
|
|
4941
|
+
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
4964
4942
|
return {
|
|
4965
4943
|
c() {
|
|
4966
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"),
|
|
4944
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(i, "class", "a"), o(i, "cx", "0.05"), o(i, "cy", "0.05"), o(i, "r", "0.05"), o(i, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", w = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4967
4945
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4968
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4946
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.844"), o(t, "height", "12.887"), o(t, "viewBox", "0 0 18.844 12.887");
|
|
4969
4947
|
},
|
|
4970
4948
|
m(y, I) {
|
|
4971
|
-
H(y, t, I), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a,
|
|
4949
|
+
H(y, t, I), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), d(l, u), d(l, h), d(a, c), d(c, f), d(c, p), d(a, m), v || (T = z(
|
|
4972
4950
|
t,
|
|
4973
4951
|
"click",
|
|
4974
4952
|
/*click_handler_3*/
|
|
@@ -4979,25 +4957,25 @@ function Wa(e) {
|
|
|
4979
4957
|
I[0] & /*invalidNewPassword*/
|
|
4980
4958
|
32 && w !== (w = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4981
4959
|
(y[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4982
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4960
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", w);
|
|
4983
4961
|
},
|
|
4984
4962
|
d(y) {
|
|
4985
4963
|
y && A(t), v = !1, T();
|
|
4986
4964
|
}
|
|
4987
4965
|
};
|
|
4988
4966
|
}
|
|
4989
|
-
function
|
|
4967
|
+
function Va(e) {
|
|
4990
4968
|
let t;
|
|
4991
4969
|
function r(a, i) {
|
|
4992
4970
|
return (
|
|
4993
4971
|
/*simplepasswordvalidation*/
|
|
4994
|
-
a[0] == "true" ?
|
|
4972
|
+
a[0] == "true" ? Xa : Wa
|
|
4995
4973
|
);
|
|
4996
4974
|
}
|
|
4997
4975
|
let n = r(e), s = n(e);
|
|
4998
4976
|
return {
|
|
4999
4977
|
c() {
|
|
5000
|
-
s.c(), t =
|
|
4978
|
+
s.c(), t = wr();
|
|
5001
4979
|
},
|
|
5002
4980
|
m(a, i) {
|
|
5003
4981
|
s.m(a, i), H(a, t, i);
|
|
@@ -5010,14 +4988,14 @@ function Xa(e) {
|
|
|
5010
4988
|
}
|
|
5011
4989
|
};
|
|
5012
4990
|
}
|
|
5013
|
-
function
|
|
4991
|
+
function za(e) {
|
|
5014
4992
|
let t, r = (
|
|
5015
4993
|
/*$_*/
|
|
5016
4994
|
e[19]("invalidNewPassword") + ""
|
|
5017
4995
|
), n;
|
|
5018
4996
|
return {
|
|
5019
4997
|
c() {
|
|
5020
|
-
t = _("p"), n = M(r),
|
|
4998
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInputNew");
|
|
5021
4999
|
},
|
|
5022
5000
|
m(s, a) {
|
|
5023
5001
|
H(s, t, a), d(t, n);
|
|
@@ -5032,14 +5010,14 @@ function Za(e) {
|
|
|
5032
5010
|
}
|
|
5033
5011
|
};
|
|
5034
5012
|
}
|
|
5035
|
-
function
|
|
5013
|
+
function Wa(e) {
|
|
5036
5014
|
let t, r = (
|
|
5037
5015
|
/*$_*/
|
|
5038
5016
|
e[19]("invalidPasswordRule") + ""
|
|
5039
5017
|
), n;
|
|
5040
5018
|
return {
|
|
5041
5019
|
c() {
|
|
5042
|
-
t = _("p"), n = M(r),
|
|
5020
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
5043
5021
|
},
|
|
5044
5022
|
m(s, a) {
|
|
5045
5023
|
H(s, t, a), d(t, n);
|
|
@@ -5054,14 +5032,14 @@ function Qa(e) {
|
|
|
5054
5032
|
}
|
|
5055
5033
|
};
|
|
5056
5034
|
}
|
|
5057
|
-
function
|
|
5035
|
+
function Xa(e) {
|
|
5058
5036
|
let t, r = (
|
|
5059
5037
|
/*$_*/
|
|
5060
5038
|
e[19]("simplePasswordError") + ""
|
|
5061
5039
|
), n;
|
|
5062
5040
|
return {
|
|
5063
5041
|
c() {
|
|
5064
|
-
t = _("p"), n = M(r),
|
|
5042
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
5065
5043
|
},
|
|
5066
5044
|
m(s, a) {
|
|
5067
5045
|
H(s, t, a), d(t, n);
|
|
@@ -5076,16 +5054,16 @@ function Ya(e) {
|
|
|
5076
5054
|
}
|
|
5077
5055
|
};
|
|
5078
5056
|
}
|
|
5079
|
-
function
|
|
5080
|
-
let t, r, n, s, a, i,
|
|
5057
|
+
function Za(e) {
|
|
5058
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
5081
5059
|
return {
|
|
5082
5060
|
c() {
|
|
5083
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"),
|
|
5061
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"), l = g("circle"), o(i, "class", "a"), o(i, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(i, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(a, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5084
5062
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5085
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5063
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.843"), o(t, "height", "10.5"), o(t, "viewBox", "0 0 18.843 10.5");
|
|
5086
5064
|
},
|
|
5087
5065
|
m(f, p) {
|
|
5088
|
-
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a,
|
|
5066
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), h || (c = z(
|
|
5089
5067
|
t,
|
|
5090
5068
|
"click",
|
|
5091
5069
|
/*click_handler_6*/
|
|
@@ -5096,23 +5074,23 @@ function Ja(e) {
|
|
|
5096
5074
|
p[0] & /*invalidConfirmPassword*/
|
|
5097
5075
|
64 && u !== (u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5098
5076
|
(f[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5099
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5077
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
5100
5078
|
},
|
|
5101
5079
|
d(f) {
|
|
5102
5080
|
f && A(t), h = !1, c();
|
|
5103
5081
|
}
|
|
5104
5082
|
};
|
|
5105
5083
|
}
|
|
5106
|
-
function
|
|
5107
|
-
let t, r, n, s, a, i,
|
|
5084
|
+
function Qa(e) {
|
|
5085
|
+
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
5108
5086
|
return {
|
|
5109
5087
|
c() {
|
|
5110
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"),
|
|
5088
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(i, "class", "a"), o(i, "cx", "0.05"), o(i, "cy", "0.05"), o(i, "r", "0.05"), o(i, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", w = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5111
5089
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5112
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5090
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.844"), o(t, "height", "12.887"), o(t, "viewBox", "0 0 18.844 12.887");
|
|
5113
5091
|
},
|
|
5114
5092
|
m(y, I) {
|
|
5115
|
-
H(y, t, I), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a,
|
|
5093
|
+
H(y, t, I), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), d(l, u), d(l, h), d(a, c), d(c, f), d(c, p), d(a, m), v || (T = z(
|
|
5116
5094
|
t,
|
|
5117
5095
|
"click",
|
|
5118
5096
|
/*click_handler_5*/
|
|
@@ -5123,21 +5101,21 @@ function qa(e) {
|
|
|
5123
5101
|
I[0] & /*invalidConfirmPassword*/
|
|
5124
5102
|
64 && w !== (w = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5125
5103
|
(y[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5126
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5104
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", w);
|
|
5127
5105
|
},
|
|
5128
5106
|
d(y) {
|
|
5129
5107
|
y && A(t), v = !1, T();
|
|
5130
5108
|
}
|
|
5131
5109
|
};
|
|
5132
5110
|
}
|
|
5133
|
-
function
|
|
5111
|
+
function dr(e) {
|
|
5134
5112
|
let t, r = (
|
|
5135
5113
|
/*$_*/
|
|
5136
5114
|
e[19]("confirmPasswordInvalid") + ""
|
|
5137
5115
|
), n;
|
|
5138
5116
|
return {
|
|
5139
5117
|
c() {
|
|
5140
|
-
t = _("p"), n = M(r),
|
|
5118
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
5141
5119
|
},
|
|
5142
5120
|
m(s, a) {
|
|
5143
5121
|
H(s, t, a), d(t, n);
|
|
@@ -5152,14 +5130,14 @@ function gr(e) {
|
|
|
5152
5130
|
}
|
|
5153
5131
|
};
|
|
5154
5132
|
}
|
|
5155
|
-
function
|
|
5133
|
+
function pr(e) {
|
|
5156
5134
|
let t, r, n;
|
|
5157
5135
|
return {
|
|
5158
5136
|
c() {
|
|
5159
5137
|
t = _("div"), r = _("p"), n = M(
|
|
5160
5138
|
/*errorPasswordChanged*/
|
|
5161
5139
|
e[17]
|
|
5162
|
-
),
|
|
5140
|
+
), o(r, "class", "PasswordChangedError");
|
|
5163
5141
|
},
|
|
5164
5142
|
m(s, a) {
|
|
5165
5143
|
H(s, t, a), d(t, r), d(r, n);
|
|
@@ -5177,10 +5155,10 @@ function br(e) {
|
|
|
5177
5155
|
}
|
|
5178
5156
|
};
|
|
5179
5157
|
}
|
|
5180
|
-
function
|
|
5158
|
+
function Ya(e) {
|
|
5181
5159
|
let t;
|
|
5182
5160
|
function r(a, i) {
|
|
5183
|
-
return
|
|
5161
|
+
return Na;
|
|
5184
5162
|
}
|
|
5185
5163
|
let s = r()(e);
|
|
5186
5164
|
return {
|
|
@@ -5200,25 +5178,25 @@ function Ka(e) {
|
|
|
5200
5178
|
}
|
|
5201
5179
|
};
|
|
5202
5180
|
}
|
|
5203
|
-
function
|
|
5181
|
+
function Ja(e, t, r) {
|
|
5204
5182
|
let n;
|
|
5205
|
-
|
|
5206
|
-
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl:
|
|
5183
|
+
rn(e, Aa, (b) => r(19, n = b));
|
|
5184
|
+
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, { passwordregex: c = "" } = t, f, p = window.navigator.userAgent, m = Ia(p) !== "PC", w = !1;
|
|
5207
5185
|
const v = window.matchMedia("(min-width: 768px)"), T = {
|
|
5208
5186
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5209
5187
|
};
|
|
5210
|
-
let y = !1, I = !1,
|
|
5188
|
+
let y = !1, I = !1, R = !1, k, D, N, X = !1, te = !1, $ = !1, L = !1, B = "", Z = "", Y = "", ge = !1, De = "", Q = !1;
|
|
5211
5189
|
const Ze = () => {
|
|
5212
5190
|
fetch(h).then((x) => x.json()).then((x) => {
|
|
5213
5191
|
Object.keys(x).forEach((P) => {
|
|
5214
|
-
|
|
5192
|
+
hr(P, x[P]);
|
|
5215
5193
|
});
|
|
5216
5194
|
}).catch((x) => {
|
|
5217
5195
|
console.log(x);
|
|
5218
5196
|
});
|
|
5219
5197
|
};
|
|
5220
|
-
Object.keys(
|
|
5221
|
-
|
|
5198
|
+
Object.keys(cr).forEach((b) => {
|
|
5199
|
+
hr(b, cr[b]);
|
|
5222
5200
|
});
|
|
5223
5201
|
const re = (b) => {
|
|
5224
5202
|
switch (b) {
|
|
@@ -5235,9 +5213,9 @@ function ei(e, t, r) {
|
|
|
5235
5213
|
}, be = () => {
|
|
5236
5214
|
a == "true" && (T.password = /^(?!.* ).{8,20}$/);
|
|
5237
5215
|
}, Ue = (b, x, P) => {
|
|
5238
|
-
P.id === "CurrentPassword" ? r(4, y = !ae(x)) : P.id === "NewPassword" ? (r(5, I = !ae(x)), B && r(13, L = B === Z), Y && r(6,
|
|
5216
|
+
P.id === "CurrentPassword" ? r(4, y = !ae(x)) : P.id === "NewPassword" ? (r(5, I = !ae(x)), B && r(13, L = B === Z), Y && r(6, R = Z === Y ? !ae(x) : !0)) : r(6, R = Z === Y ? !ae(x) : !0), de();
|
|
5239
5217
|
}, ae = (b) => !!T.password.test(b), de = () => {
|
|
5240
|
-
!y && !I && !
|
|
5218
|
+
!y && !I && !R && !L && B && Z && Y ? r(3, w = !0) : r(3, w = !1);
|
|
5241
5219
|
}, ne = (b) => {
|
|
5242
5220
|
b.preventDefault(), w && window.postMessage(
|
|
5243
5221
|
{
|
|
@@ -5258,7 +5236,7 @@ function ei(e, t, r) {
|
|
|
5258
5236
|
}, we = () => {
|
|
5259
5237
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5260
5238
|
}, ve = () => {
|
|
5261
|
-
|
|
5239
|
+
Ha(s);
|
|
5262
5240
|
}, pe = (b) => {
|
|
5263
5241
|
if (b.data)
|
|
5264
5242
|
switch (b.data.type) {
|
|
@@ -5270,7 +5248,7 @@ function ei(e, t, r) {
|
|
|
5270
5248
|
break;
|
|
5271
5249
|
}
|
|
5272
5250
|
};
|
|
5273
|
-
|
|
5251
|
+
cn(() => (window.addEventListener("message", pe, !1), () => {
|
|
5274
5252
|
window.removeEventListener("message", pe);
|
|
5275
5253
|
}));
|
|
5276
5254
|
const $e = () => he();
|
|
@@ -5307,16 +5285,16 @@ function ei(e, t, r) {
|
|
|
5307
5285
|
});
|
|
5308
5286
|
}
|
|
5309
5287
|
return e.$$set = (b) => {
|
|
5310
|
-
"lang" in b && r(27, s = b.lang), "simplepasswordvalidation" in b && r(0, a = b.simplepasswordvalidation), "clientstyling" in b && r(28, i = b.clientstyling), "clientstylingurl" in b && r(29,
|
|
5288
|
+
"lang" in b && r(27, s = b.lang), "simplepasswordvalidation" in b && r(0, a = b.simplepasswordvalidation), "clientstyling" in b && r(28, i = b.clientstyling), "clientstylingurl" in b && r(29, l = b.clientstylingurl), "mbsource" in b && r(30, u = b.mbsource), "translationurl" in b && r(31, h = b.translationurl), "passwordregex" in b && r(32, c = b.passwordregex);
|
|
5311
5289
|
}, e.$$.update = () => {
|
|
5312
5290
|
e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5313
5291
|
1 && a && be(), e.$$.dirty[1] & /*passwordregex*/
|
|
5314
5292
|
2 && c && (T.password = new RegExp(c)), e.$$.dirty[0] & /*lang*/
|
|
5315
5293
|
134217728 && s && ve(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5316
5294
|
4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5317
|
-
268435458 && i && f &&
|
|
5318
|
-
536870914 &&
|
|
5319
|
-
1073741826 && u && f &&
|
|
5295
|
+
268435458 && i && f && Cn(f, i), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5296
|
+
536870914 && l && f && Tn(f, l), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5297
|
+
1073741826 && u && f && Bn(f, `${u}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5320
5298
|
1 && h && Ze();
|
|
5321
5299
|
}, [
|
|
5322
5300
|
a,
|
|
@@ -5325,7 +5303,7 @@ function ei(e, t, r) {
|
|
|
5325
5303
|
w,
|
|
5326
5304
|
y,
|
|
5327
5305
|
I,
|
|
5328
|
-
|
|
5306
|
+
R,
|
|
5329
5307
|
k,
|
|
5330
5308
|
D,
|
|
5331
5309
|
N,
|
|
@@ -5348,7 +5326,7 @@ function ei(e, t, r) {
|
|
|
5348
5326
|
we,
|
|
5349
5327
|
s,
|
|
5350
5328
|
i,
|
|
5351
|
-
|
|
5329
|
+
l,
|
|
5352
5330
|
u,
|
|
5353
5331
|
h,
|
|
5354
5332
|
c,
|
|
@@ -5371,14 +5349,14 @@ function ei(e, t, r) {
|
|
|
5371
5349
|
V
|
|
5372
5350
|
];
|
|
5373
5351
|
}
|
|
5374
|
-
class
|
|
5352
|
+
class qa extends xn {
|
|
5375
5353
|
constructor(t) {
|
|
5376
|
-
super(),
|
|
5354
|
+
super(), Pn(
|
|
5377
5355
|
this,
|
|
5378
5356
|
t,
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5357
|
+
Ja,
|
|
5358
|
+
Ya,
|
|
5359
|
+
gr,
|
|
5382
5360
|
{
|
|
5383
5361
|
lang: 27,
|
|
5384
5362
|
simplepasswordvalidation: 0,
|
|
@@ -5388,7 +5366,7 @@ class ti extends Bn {
|
|
|
5388
5366
|
translationurl: 31,
|
|
5389
5367
|
passwordregex: 32
|
|
5390
5368
|
},
|
|
5391
|
-
|
|
5369
|
+
Ma,
|
|
5392
5370
|
[-1, -1]
|
|
5393
5371
|
);
|
|
5394
5372
|
}
|
|
@@ -5435,7 +5413,7 @@ class ti extends Bn {
|
|
|
5435
5413
|
this.$$set({ passwordregex: t }), oe();
|
|
5436
5414
|
}
|
|
5437
5415
|
}
|
|
5438
|
-
|
|
5416
|
+
_n(qa, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5439
5417
|
export {
|
|
5440
|
-
|
|
5418
|
+
qa as default
|
|
5441
5419
|
};
|