@everymatrix/player-change-password 1.74.2 → 1.74.3
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-BPXeT0MG.js → PlayerChangePassword-DHTpyN4R.js} +736 -750
- package/components/PlayerChangePassword-Dr0Xi1Bc.cjs +20 -0
- package/components/{PlayerChangePassword-CHkVXuvB.js → PlayerChangePassword-cnDdK6ba.js} +589 -603
- 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-CiKQUAen.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 Jr = Object.defineProperty, qr = Object.defineProperties;
|
|
2
|
+
var Kr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Dt = Object.getOwnPropertySymbols;
|
|
4
|
+
var en = Object.prototype.hasOwnProperty, tn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var dt = (e, t, r) => t in e ? Jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
en.call(t, r) && dt(e, r, t[r]);
|
|
8
|
+
if (Dt)
|
|
9
|
+
for (var r of Dt(t))
|
|
10
|
+
tn.call(t, r) && dt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, $t = (e, t) => qr(e, Kr(t));
|
|
13
13
|
var ee = (e, t, r) => (dt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var Gt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
l(r.next(u));
|
|
18
18
|
} catch (h) {
|
|
19
19
|
i(h);
|
|
20
20
|
}
|
|
21
21
|
}, a = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
l(r.throw(u));
|
|
24
24
|
} catch (h) {
|
|
25
25
|
i(h);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, l = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, a);
|
|
28
|
+
l((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function re() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function gr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function jt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function Re(e) {
|
|
39
|
+
e.forEach(gr);
|
|
40
40
|
}
|
|
41
41
|
function Se(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function br(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function rn(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function wr(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 nn(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(wr(t, r));
|
|
61
61
|
}
|
|
62
62
|
function d(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function sn(e, t, r) {
|
|
66
|
+
const n = an(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = _("style");
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
i.id = t, i.textContent = r, on(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function an(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 on(e, t) {
|
|
83
83
|
return d(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
@@ -104,29 +104,29 @@ function M(e) {
|
|
|
104
104
|
function k() {
|
|
105
105
|
return M(" ");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function vr() {
|
|
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 ln(e) {
|
|
117
117
|
return Array.from(e.childNodes);
|
|
118
118
|
}
|
|
119
119
|
function $(e, t) {
|
|
120
120
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
121
121
|
t);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function xe(e, t) {
|
|
124
124
|
e.value = t == null ? "" : t;
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function un(e, t, r, n) {
|
|
127
127
|
e.style.setProperty(t, r, "");
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function hn(e) {
|
|
130
130
|
const t = {};
|
|
131
131
|
return e.childNodes.forEach(
|
|
132
132
|
/** @param {Element} node */
|
|
@@ -139,40 +139,40 @@ let ze;
|
|
|
139
139
|
function Ve(e) {
|
|
140
140
|
ze = e;
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function cn() {
|
|
143
143
|
if (!ze)
|
|
144
144
|
throw new Error("Function called outside component initialization");
|
|
145
145
|
return ze;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
|
|
147
|
+
function fn(e) {
|
|
148
|
+
cn().$$.on_mount.push(e);
|
|
149
149
|
}
|
|
150
150
|
const Ce = [], Be = [];
|
|
151
151
|
let Ae = [];
|
|
152
|
-
const
|
|
153
|
-
let
|
|
154
|
-
function
|
|
155
|
-
|
|
152
|
+
const Vt = [], dn = /* @__PURE__ */ Promise.resolve();
|
|
153
|
+
let _t = !1;
|
|
154
|
+
function pn() {
|
|
155
|
+
_t || (_t = !0, dn.then(se));
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function Pt(e) {
|
|
158
158
|
Ae.push(e);
|
|
159
159
|
}
|
|
160
160
|
const pt = /* @__PURE__ */ new Set();
|
|
161
|
-
let
|
|
161
|
+
let Ee = 0;
|
|
162
162
|
function se() {
|
|
163
|
-
if (
|
|
163
|
+
if (Ee !== 0)
|
|
164
164
|
return;
|
|
165
165
|
const e = ze;
|
|
166
166
|
do {
|
|
167
167
|
try {
|
|
168
|
-
for (;
|
|
169
|
-
const t = Ce[
|
|
170
|
-
|
|
168
|
+
for (; Ee < Ce.length; ) {
|
|
169
|
+
const t = Ce[Ee];
|
|
170
|
+
Ee++, Ve(t), mn(t.$$);
|
|
171
171
|
}
|
|
172
172
|
} catch (t) {
|
|
173
|
-
throw Ce.length = 0,
|
|
173
|
+
throw Ce.length = 0, Ee = 0, t;
|
|
174
174
|
}
|
|
175
|
-
for (Ve(null), Ce.length = 0,
|
|
175
|
+
for (Ve(null), Ce.length = 0, Ee = 0; Be.length; )
|
|
176
176
|
Be.pop()();
|
|
177
177
|
for (let t = 0; t < Ae.length; t += 1) {
|
|
178
178
|
const r = Ae[t];
|
|
@@ -180,40 +180,40 @@ function se() {
|
|
|
180
180
|
}
|
|
181
181
|
Ae.length = 0;
|
|
182
182
|
} while (Ce.length);
|
|
183
|
-
for (;
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
for (; Vt.length; )
|
|
184
|
+
Vt.pop()();
|
|
185
|
+
_t = !1, pt.clear(), Ve(e);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function mn(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(Pt);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function gn(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 bn = /* @__PURE__ */ new Set();
|
|
199
|
+
function wn(e, t) {
|
|
200
|
+
e && e.i && (bn.delete(e), e.i(t));
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function vn(e, t, r) {
|
|
203
203
|
const { fragment: n, after_update: i } = e.$$;
|
|
204
|
-
n && n.m(t, r),
|
|
205
|
-
const s = e.$$.on_mount.map(
|
|
206
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
207
|
-
}), i.forEach(
|
|
204
|
+
n && n.m(t, r), Pt(() => {
|
|
205
|
+
const s = e.$$.on_mount.map(gr).filter(Se);
|
|
206
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Re(s), e.$$.on_mount = [];
|
|
207
|
+
}), i.forEach(Pt);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function yn(e, t) {
|
|
210
210
|
const r = e.$$;
|
|
211
|
-
r.fragment !== null && (
|
|
211
|
+
r.fragment !== null && (gn(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 && (Ce.push(e),
|
|
213
|
+
function _n(e, t) {
|
|
214
|
+
e.$$.dirty[0] === -1 && (Ce.push(e), pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function Pn(e, t, r, n, i, s, a = null, l = [-1]) {
|
|
217
217
|
const u = ze;
|
|
218
218
|
Ve(e);
|
|
219
219
|
const h = e.$$ = {
|
|
@@ -223,7 +223,7 @@ function Tn(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
223
223
|
props: s,
|
|
224
224
|
update: re,
|
|
225
225
|
not_equal: i,
|
|
226
|
-
bound:
|
|
226
|
+
bound: jt(),
|
|
227
227
|
// lifecycle
|
|
228
228
|
on_mount: [],
|
|
229
229
|
on_destroy: [],
|
|
@@ -232,28 +232,28 @@ function Tn(e, t, r, n, i, s, a = 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: jt(),
|
|
236
|
+
dirty: l,
|
|
237
237
|
skip_bound: !1,
|
|
238
238
|
root: t.target || u.$$.root
|
|
239
239
|
};
|
|
240
240
|
a && a(h.root);
|
|
241
241
|
let c = !1;
|
|
242
|
-
if (h.ctx = r
|
|
242
|
+
if (h.ctx = r(e, t.props || {}, (f, p, ...m) => {
|
|
243
243
|
const v = m.length ? m[0] : p;
|
|
244
|
-
return h.ctx && i(h.ctx[f], h.ctx[f] = v) && (!h.skip_bound && h.bound[f] && h.bound[f](v), c &&
|
|
245
|
-
})
|
|
244
|
+
return h.ctx && i(h.ctx[f], h.ctx[f] = v) && (!h.skip_bound && h.bound[f] && h.bound[f](v), c && _n(e, f)), p;
|
|
245
|
+
}), h.update(), c = !0, Re(h.before_update), h.fragment = n(h.ctx), t.target) {
|
|
246
246
|
if (t.hydrate) {
|
|
247
|
-
const f =
|
|
247
|
+
const f = ln(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 && wn(e.$$.fragment), vn(e, t.target, t.anchor), se();
|
|
252
252
|
}
|
|
253
253
|
Ve(u);
|
|
254
254
|
}
|
|
255
|
-
let
|
|
256
|
-
typeof HTMLElement == "function" && (
|
|
255
|
+
let yr;
|
|
256
|
+
typeof HTMLElement == "function" && (yr = 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" && (Pr = class extends HTMLElement {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
connectedCallback() {
|
|
293
|
-
return
|
|
293
|
+
return Gt(this, null, function* () {
|
|
294
294
|
if (this.$$cn = !0, !this.$$c) {
|
|
295
295
|
let t = function(s) {
|
|
296
296
|
return () => {
|
|
297
297
|
let a;
|
|
298
298
|
return {
|
|
299
299
|
c: function() {
|
|
300
|
-
a = _("slot"), s !== "default" &&
|
|
300
|
+
a = _("slot"), s !== "default" && o(a, "name", s);
|
|
301
301
|
},
|
|
302
302
|
/**
|
|
303
303
|
* @param {HTMLElement} target
|
|
@@ -314,7 +314,7 @@ typeof HTMLElement == "function" && (Pr = 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 = hn(this);
|
|
318
318
|
for (const s of this.$$s)
|
|
319
319
|
s in n && (r[s] = [t(s)]);
|
|
320
320
|
for (const s of this.attributes) {
|
|
@@ -325,7 +325,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
|
|
|
325
325
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
326
326
|
this.$$c = new this.$$ctor({
|
|
327
327
|
target: this.shadowRoot || this,
|
|
328
|
-
props:
|
|
328
|
+
props: $t(Ut({}, this.$$d), {
|
|
329
329
|
$$slots: r,
|
|
330
330
|
$$scope: {
|
|
331
331
|
ctx: []
|
|
@@ -349,8 +349,8 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
|
|
|
349
349
|
this.$$c.$$.after_update.push(i), i();
|
|
350
350
|
for (const s in this.$$l)
|
|
351
351
|
for (const a of this.$$l[s]) {
|
|
352
|
-
const
|
|
353
|
-
this.$$l_u.set(a,
|
|
352
|
+
const l = this.$$c.$on(s, a);
|
|
353
|
+
this.$$l_u.set(a, 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 a = class extends
|
|
406
|
+
function xn(e, t, r, n, i, s) {
|
|
407
|
+
let a = class extends yr {
|
|
408
408
|
constructor() {
|
|
409
409
|
super(e, r, i), 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(a.prototype,
|
|
417
|
+
return Object.keys(t).forEach((l) => {
|
|
418
|
+
Object.defineProperty(a.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(a.prototype,
|
|
427
|
+
}), n.forEach((l) => {
|
|
428
|
+
Object.defineProperty(a.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
|
a, a;
|
|
436
436
|
}
|
|
437
|
-
class
|
|
437
|
+
class En {
|
|
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
|
+
yn(this, 1), this.$destroy = re;
|
|
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 && !rn(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 Tn = "4";
|
|
484
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tn);
|
|
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 Bn(e, t) {
|
|
492
492
|
const r = new URL(t);
|
|
493
493
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
494
494
|
const i = document.createElement("style");
|
|
@@ -497,7 +497,7 @@ function Hn(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 Sn(e, t, r) {
|
|
501
501
|
if (window.emMessageBus) {
|
|
502
502
|
const n = document.createElement("style");
|
|
503
503
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -546,7 +546,7 @@ var S = function() {
|
|
|
546
546
|
return t;
|
|
547
547
|
}, S.apply(this, arguments);
|
|
548
548
|
};
|
|
549
|
-
function
|
|
549
|
+
function An(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[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
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 Tt(e) {
|
|
|
567
567
|
};
|
|
568
568
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function Tt(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 Ct(e, t) {
|
|
|
575
575
|
try {
|
|
576
576
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
577
577
|
s.push(i.value);
|
|
578
|
-
} catch (
|
|
579
|
-
a = { error:
|
|
578
|
+
} catch (l) {
|
|
579
|
+
a = { error: l };
|
|
580
580
|
} finally {
|
|
581
581
|
try {
|
|
582
582
|
i && !i.done && (r = n.return) && r.call(n);
|
|
@@ -596,13 +596,13 @@ function He(e, t, r) {
|
|
|
596
596
|
function ae(e) {
|
|
597
597
|
return typeof e == "function";
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function _r(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 = _r(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, i) {
|
|
@@ -611,7 +611,7 @@ var mt = Er(function(e) {
|
|
|
611
611
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
612
612
|
};
|
|
613
613
|
});
|
|
614
|
-
function
|
|
614
|
+
function Ct(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 (a)
|
|
630
630
|
if (this._parentage = null, Array.isArray(a))
|
|
631
631
|
try {
|
|
632
|
-
for (var
|
|
632
|
+
for (var l = Et(a), 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: w };
|
|
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 v = m.value;
|
|
661
661
|
try {
|
|
662
|
-
|
|
662
|
+
zt(v);
|
|
663
663
|
} catch (w) {
|
|
664
|
-
s = s != null ? s : [], w instanceof mt ? s = He(He([],
|
|
664
|
+
s = s != null ? s : [], w instanceof mt ? s = He(He([], Tt(s)), Tt(w.errors)) : s.push(w);
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
} catch (w) {
|
|
@@ -682,7 +682,7 @@ var lt = function() {
|
|
|
682
682
|
var r;
|
|
683
683
|
if (t && t !== this)
|
|
684
684
|
if (this.closed)
|
|
685
|
-
|
|
685
|
+
zt(t);
|
|
686
686
|
else {
|
|
687
687
|
if (t instanceof e) {
|
|
688
688
|
if (t.closed || t._hasParent(this))
|
|
@@ -699,56 +699,56 @@ 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) && Ct(r, t);
|
|
703
703
|
}, e.prototype.remove = function(t) {
|
|
704
704
|
var r = this._finalizers;
|
|
705
|
-
r &&
|
|
705
|
+
r && Ct(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 xr(e) {
|
|
712
712
|
return e instanceof lt || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function zt(e) {
|
|
715
715
|
ae(e) ? e() : e.unsubscribe();
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var Hn = {
|
|
718
718
|
onUnhandledError: null,
|
|
719
719
|
onStoppedNotification: null,
|
|
720
720
|
Promise: void 0,
|
|
721
721
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
722
722
|
useDeprecatedNextContext: !1
|
|
723
|
-
},
|
|
723
|
+
}, In = {
|
|
724
724
|
setTimeout: function(e, t) {
|
|
725
725
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
726
726
|
r[n - 2] = arguments[n];
|
|
727
|
-
return setTimeout.apply(void 0, He([e, t],
|
|
727
|
+
return setTimeout.apply(void 0, He([e, t], Tt(r)));
|
|
728
728
|
},
|
|
729
729
|
clearTimeout: function(e) {
|
|
730
730
|
return clearTimeout(e);
|
|
731
731
|
},
|
|
732
732
|
delegate: void 0
|
|
733
733
|
};
|
|
734
|
-
function
|
|
735
|
-
|
|
734
|
+
function Mn(e) {
|
|
735
|
+
In.setTimeout(function() {
|
|
736
736
|
throw e;
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
|
-
function
|
|
739
|
+
function Wt() {
|
|
740
740
|
}
|
|
741
741
|
function nt(e) {
|
|
742
742
|
e();
|
|
743
743
|
}
|
|
744
|
-
var
|
|
744
|
+
var Er = function(e) {
|
|
745
745
|
oe(t, e);
|
|
746
746
|
function t(r) {
|
|
747
747
|
var n = e.call(this) || this;
|
|
748
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
748
|
+
return n.isStopped = !1, r ? (n.destination = r, xr(r) && r.add(n)) : n.destination = Rn, n;
|
|
749
749
|
}
|
|
750
750
|
return t.create = function(r, n, i) {
|
|
751
|
-
return new
|
|
751
|
+
return new Bt(r, n, i);
|
|
752
752
|
}, t.prototype.next = function(r) {
|
|
753
753
|
this.isStopped || this._next(r);
|
|
754
754
|
}, t.prototype.error = function(r) {
|
|
@@ -772,11 +772,7 @@ var Br = function(e) {
|
|
|
772
772
|
this.unsubscribe();
|
|
773
773
|
}
|
|
774
774
|
}, t;
|
|
775
|
-
}(lt),
|
|
776
|
-
function gt(e, t) {
|
|
777
|
-
return On.call(e, t);
|
|
778
|
-
}
|
|
779
|
-
var Ln = function() {
|
|
775
|
+
}(lt), Nn = function() {
|
|
780
776
|
function e(t) {
|
|
781
777
|
this.partialObserver = t;
|
|
782
778
|
}
|
|
@@ -807,55 +803,43 @@ var Ln = function() {
|
|
|
807
803
|
et(r);
|
|
808
804
|
}
|
|
809
805
|
}, e;
|
|
810
|
-
}(),
|
|
806
|
+
}(), Bt = function(e) {
|
|
811
807
|
oe(t, e);
|
|
812
808
|
function t(r, n, i) {
|
|
813
809
|
var s = e.call(this) || this, a;
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
};
|
|
820
|
-
else {
|
|
821
|
-
var o;
|
|
822
|
-
s && Cr.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
|
|
823
|
-
return s.unsubscribe();
|
|
824
|
-
}, a = {
|
|
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
|
-
}) : a = r;
|
|
829
|
-
}
|
|
830
|
-
return s.destination = new Ln(a), s;
|
|
810
|
+
return ae(r) || !r ? a = {
|
|
811
|
+
next: r != null ? r : void 0,
|
|
812
|
+
error: n != null ? n : void 0,
|
|
813
|
+
complete: i != null ? i : void 0
|
|
814
|
+
} : a = r, s.destination = new Nn(a), s;
|
|
831
815
|
}
|
|
832
816
|
return t;
|
|
833
|
-
}(
|
|
817
|
+
}(Er);
|
|
834
818
|
function et(e) {
|
|
835
|
-
|
|
819
|
+
Mn(e);
|
|
836
820
|
}
|
|
837
|
-
function
|
|
821
|
+
function On(e) {
|
|
838
822
|
throw e;
|
|
839
823
|
}
|
|
840
|
-
var
|
|
824
|
+
var Rn = {
|
|
841
825
|
closed: !0,
|
|
842
|
-
next:
|
|
843
|
-
error:
|
|
844
|
-
complete:
|
|
845
|
-
},
|
|
826
|
+
next: Wt,
|
|
827
|
+
error: On,
|
|
828
|
+
complete: Wt
|
|
829
|
+
}, Ln = function() {
|
|
846
830
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
847
831
|
}();
|
|
848
|
-
function
|
|
832
|
+
function Fn(e) {
|
|
849
833
|
return e;
|
|
850
834
|
}
|
|
851
|
-
function
|
|
852
|
-
return e.length === 0 ?
|
|
835
|
+
function kn(e) {
|
|
836
|
+
return e.length === 0 ? Fn : e.length === 1 ? e[0] : function(r) {
|
|
853
837
|
return e.reduce(function(n, i) {
|
|
854
838
|
return i(n);
|
|
855
839
|
}, r);
|
|
856
840
|
};
|
|
857
841
|
}
|
|
858
|
-
var
|
|
842
|
+
var Xt = function() {
|
|
859
843
|
function e(t) {
|
|
860
844
|
t && (this._subscribe = t);
|
|
861
845
|
}
|
|
@@ -863,10 +847,10 @@ var Yt = function() {
|
|
|
863
847
|
var r = new e();
|
|
864
848
|
return r.source = this, r.operator = t, r;
|
|
865
849
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
866
|
-
var i = this, s =
|
|
850
|
+
var i = this, s = Un(t) ? t : new Bt(t, r, n);
|
|
867
851
|
return nt(function() {
|
|
868
|
-
var a = i,
|
|
869
|
-
s.add(
|
|
852
|
+
var a = i, l = a.operator, u = a.source;
|
|
853
|
+
s.add(l ? l.call(s, u) : u ? i._subscribe(s) : i._trySubscribe(s));
|
|
870
854
|
}), s;
|
|
871
855
|
}, e.prototype._trySubscribe = function(t) {
|
|
872
856
|
try {
|
|
@@ -876,11 +860,11 @@ var Yt = function() {
|
|
|
876
860
|
}
|
|
877
861
|
}, e.prototype.forEach = function(t, r) {
|
|
878
862
|
var n = this;
|
|
879
|
-
return r =
|
|
880
|
-
var a = new
|
|
881
|
-
next: function(
|
|
863
|
+
return r = Zt(r), new r(function(i, s) {
|
|
864
|
+
var a = new Bt({
|
|
865
|
+
next: function(l) {
|
|
882
866
|
try {
|
|
883
|
-
t(
|
|
867
|
+
t(l);
|
|
884
868
|
} catch (u) {
|
|
885
869
|
s(u), a.unsubscribe();
|
|
886
870
|
}
|
|
@@ -893,15 +877,15 @@ var Yt = function() {
|
|
|
893
877
|
}, e.prototype._subscribe = function(t) {
|
|
894
878
|
var r;
|
|
895
879
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
896
|
-
}, e.prototype[
|
|
880
|
+
}, e.prototype[Ln] = function() {
|
|
897
881
|
return this;
|
|
898
882
|
}, e.prototype.pipe = function() {
|
|
899
883
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
900
884
|
t[r] = arguments[r];
|
|
901
|
-
return
|
|
885
|
+
return kn(t)(this);
|
|
902
886
|
}, e.prototype.toPromise = function(t) {
|
|
903
887
|
var r = this;
|
|
904
|
-
return t =
|
|
888
|
+
return t = Zt(t), new t(function(n, i) {
|
|
905
889
|
var s;
|
|
906
890
|
r.subscribe(function(a) {
|
|
907
891
|
return s = a;
|
|
@@ -915,32 +899,32 @@ var Yt = function() {
|
|
|
915
899
|
return new e(t);
|
|
916
900
|
}, e;
|
|
917
901
|
}();
|
|
918
|
-
function
|
|
902
|
+
function Zt(e) {
|
|
919
903
|
var t;
|
|
920
|
-
return (t = e != null ? e :
|
|
904
|
+
return (t = e != null ? e : Hn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
921
905
|
}
|
|
922
|
-
function
|
|
906
|
+
function Dn(e) {
|
|
923
907
|
return e && ae(e.next) && ae(e.error) && ae(e.complete);
|
|
924
908
|
}
|
|
925
|
-
function
|
|
926
|
-
return e && e instanceof
|
|
909
|
+
function Un(e) {
|
|
910
|
+
return e && e instanceof Er || Dn(e) && xr(e);
|
|
927
911
|
}
|
|
928
|
-
var
|
|
912
|
+
var $n = _r(function(e) {
|
|
929
913
|
return function() {
|
|
930
914
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
931
915
|
};
|
|
932
|
-
}),
|
|
916
|
+
}), Tr = function(e) {
|
|
933
917
|
oe(t, e);
|
|
934
918
|
function t() {
|
|
935
919
|
var r = e.call(this) || this;
|
|
936
920
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
937
921
|
}
|
|
938
922
|
return t.prototype.lift = function(r) {
|
|
939
|
-
var n = new
|
|
923
|
+
var n = new Yt(this, this);
|
|
940
924
|
return n.operator = r, n;
|
|
941
925
|
}, t.prototype._throwIfClosed = function() {
|
|
942
926
|
if (this.closed)
|
|
943
|
-
throw new
|
|
927
|
+
throw new $n();
|
|
944
928
|
}, t.prototype.next = function(r) {
|
|
945
929
|
var n = this;
|
|
946
930
|
nt(function() {
|
|
@@ -948,15 +932,15 @@ var Vn = Er(function(e) {
|
|
|
948
932
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
949
933
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
950
934
|
try {
|
|
951
|
-
for (var a =
|
|
952
|
-
var u =
|
|
935
|
+
for (var a = Et(n.currentObservers), l = a.next(); !l.done; l = a.next()) {
|
|
936
|
+
var u = l.value;
|
|
953
937
|
u.next(r);
|
|
954
938
|
}
|
|
955
939
|
} catch (h) {
|
|
956
940
|
i = { error: h };
|
|
957
941
|
} finally {
|
|
958
942
|
try {
|
|
959
|
-
|
|
943
|
+
l && !l.done && (s = a.return) && s.call(a);
|
|
960
944
|
} finally {
|
|
961
945
|
if (i)
|
|
962
946
|
throw i.error;
|
|
@@ -996,20 +980,20 @@ var Vn = Er(function(e) {
|
|
|
996
980
|
}, t.prototype._subscribe = function(r) {
|
|
997
981
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
998
982
|
}, t.prototype._innerSubscribe = function(r) {
|
|
999
|
-
var n = this, i = this, s = i.hasError, a = i.isStopped,
|
|
1000
|
-
return s || a ?
|
|
1001
|
-
n.currentObservers = null,
|
|
983
|
+
var n = this, i = this, s = i.hasError, a = i.isStopped, l = i.observers;
|
|
984
|
+
return s || a ? Pr : (this.currentObservers = null, l.push(r), new lt(function() {
|
|
985
|
+
n.currentObservers = null, Ct(l, r);
|
|
1002
986
|
}));
|
|
1003
987
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1004
988
|
var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
|
|
1005
989
|
i ? r.error(s) : a && r.complete();
|
|
1006
990
|
}, t.prototype.asObservable = function() {
|
|
1007
|
-
var r = new
|
|
991
|
+
var r = new Xt();
|
|
1008
992
|
return r.source = this, r;
|
|
1009
993
|
}, t.create = function(r, n) {
|
|
1010
|
-
return new
|
|
994
|
+
return new Yt(r, n);
|
|
1011
995
|
}, t;
|
|
1012
|
-
}(
|
|
996
|
+
}(Xt), Yt = function(e) {
|
|
1013
997
|
oe(t, e);
|
|
1014
998
|
function t(r, n) {
|
|
1015
999
|
var i = e.call(this) || this;
|
|
@@ -1026,45 +1010,45 @@ var Vn = Er(function(e) {
|
|
|
1026
1010
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1027
1011
|
}, t.prototype._subscribe = function(r) {
|
|
1028
1012
|
var n, i;
|
|
1029
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1013
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
|
|
1030
1014
|
}, t;
|
|
1031
|
-
}(
|
|
1015
|
+
}(Tr), Cr = {
|
|
1032
1016
|
now: function() {
|
|
1033
|
-
return (
|
|
1017
|
+
return (Cr.delegate || Date).now();
|
|
1034
1018
|
},
|
|
1035
1019
|
delegate: void 0
|
|
1036
|
-
},
|
|
1020
|
+
}, Gn = function(e) {
|
|
1037
1021
|
oe(t, e);
|
|
1038
1022
|
function t(r, n, i) {
|
|
1039
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1023
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Cr);
|
|
1040
1024
|
var s = e.call(this) || this;
|
|
1041
1025
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
1042
1026
|
}
|
|
1043
1027
|
return t.prototype.next = function(r) {
|
|
1044
|
-
var n = this, i = n.isStopped, s = n._buffer, a = n._infiniteTimeWindow,
|
|
1045
|
-
i || (s.push(r), !a && s.push(
|
|
1028
|
+
var n = this, i = n.isStopped, s = n._buffer, a = n._infiniteTimeWindow, l = n._timestampProvider, u = n._windowTime;
|
|
1029
|
+
i || (s.push(r), !a && s.push(l.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1046
1030
|
}, t.prototype._subscribe = function(r) {
|
|
1047
1031
|
this._throwIfClosed(), this._trimBuffer();
|
|
1048
|
-
for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, a = i._buffer,
|
|
1049
|
-
r.next(
|
|
1032
|
+
for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, a = i._buffer, l = a.slice(), u = 0; u < l.length && !r.closed; u += s ? 1 : 2)
|
|
1033
|
+
r.next(l[u]);
|
|
1050
1034
|
return this._checkFinalizedStatuses(r), n;
|
|
1051
1035
|
}, t.prototype._trimBuffer = function() {
|
|
1052
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow,
|
|
1053
|
-
if (n < 1 / 0 &&
|
|
1036
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, l = (a ? 1 : 2) * n;
|
|
1037
|
+
if (n < 1 / 0 && l < s.length && s.splice(0, s.length - l), !a) {
|
|
1054
1038
|
for (var u = i.now(), h = 0, c = 1; c < s.length && s[c] <= u; c += 2)
|
|
1055
1039
|
h = c;
|
|
1056
1040
|
h && s.splice(0, h + 1);
|
|
1057
1041
|
}
|
|
1058
1042
|
}, t;
|
|
1059
|
-
}(
|
|
1060
|
-
const
|
|
1061
|
-
if (
|
|
1062
|
-
const r = new
|
|
1063
|
-
|
|
1043
|
+
}(Tr);
|
|
1044
|
+
const Qt = [], Jt = {}, jn = (e, t = 0) => {
|
|
1045
|
+
if (Qt.indexOf(e) == -1) {
|
|
1046
|
+
const r = new Gn(t);
|
|
1047
|
+
Jt[e] = r, Qt.push(e);
|
|
1064
1048
|
}
|
|
1065
|
-
return
|
|
1049
|
+
return Jt[e];
|
|
1066
1050
|
}, Te = [];
|
|
1067
|
-
function
|
|
1051
|
+
function Vn(e, t) {
|
|
1068
1052
|
return {
|
|
1069
1053
|
subscribe: ut(e, t).subscribe
|
|
1070
1054
|
};
|
|
@@ -1072,8 +1056,8 @@ function Xn(e, t) {
|
|
|
1072
1056
|
function ut(e, t = re) {
|
|
1073
1057
|
let r;
|
|
1074
1058
|
const n = /* @__PURE__ */ new Set();
|
|
1075
|
-
function i(
|
|
1076
|
-
if (
|
|
1059
|
+
function i(l) {
|
|
1060
|
+
if (br(e, l) && (e = l, r)) {
|
|
1077
1061
|
const u = !Te.length;
|
|
1078
1062
|
for (const h of n)
|
|
1079
1063
|
h[1](), Te.push(h, e);
|
|
@@ -1084,12 +1068,12 @@ function ut(e, t = re) {
|
|
|
1084
1068
|
}
|
|
1085
1069
|
}
|
|
1086
1070
|
}
|
|
1087
|
-
function s(
|
|
1088
|
-
i(
|
|
1071
|
+
function s(l) {
|
|
1072
|
+
i(l(e));
|
|
1089
1073
|
}
|
|
1090
|
-
function a(
|
|
1091
|
-
const h = [
|
|
1092
|
-
return n.add(h), n.size === 1 && (r = t(i, s) || re),
|
|
1074
|
+
function a(l, u = re) {
|
|
1075
|
+
const h = [l, u];
|
|
1076
|
+
return n.add(h), n.size === 1 && (r = t(i, s) || re), l(e), () => {
|
|
1093
1077
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1094
1078
|
};
|
|
1095
1079
|
}
|
|
@@ -1100,7 +1084,7 @@ function Le(e, t, r) {
|
|
|
1100
1084
|
if (!i.every(Boolean))
|
|
1101
1085
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1102
1086
|
const s = t.length < 2;
|
|
1103
|
-
return
|
|
1087
|
+
return Vn(r, (a, l) => {
|
|
1104
1088
|
let u = !1;
|
|
1105
1089
|
const h = [];
|
|
1106
1090
|
let c = 0, f = re;
|
|
@@ -1108,10 +1092,10 @@ function Le(e, t, r) {
|
|
|
1108
1092
|
if (c)
|
|
1109
1093
|
return;
|
|
1110
1094
|
f();
|
|
1111
|
-
const v = t(n ? h[0] : h, a,
|
|
1095
|
+
const v = t(n ? h[0] : h, a, l);
|
|
1112
1096
|
s ? a(v) : f = Se(v) ? v : re;
|
|
1113
1097
|
}, m = i.map(
|
|
1114
|
-
(v, w) =>
|
|
1098
|
+
(v, w) => wr(
|
|
1115
1099
|
v,
|
|
1116
1100
|
(C) => {
|
|
1117
1101
|
h[w] = C, c &= ~(1 << w), u && p();
|
|
@@ -1122,74 +1106,74 @@ function Le(e, t, r) {
|
|
|
1122
1106
|
)
|
|
1123
1107
|
);
|
|
1124
1108
|
return u = !0, p(), function() {
|
|
1125
|
-
|
|
1109
|
+
Re(m), f(), u = !1;
|
|
1126
1110
|
};
|
|
1127
1111
|
});
|
|
1128
1112
|
}
|
|
1129
|
-
function
|
|
1130
|
-
return e
|
|
1113
|
+
function zn(e) {
|
|
1114
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1131
1115
|
}
|
|
1132
|
-
var
|
|
1133
|
-
return
|
|
1116
|
+
var Wn = function(t) {
|
|
1117
|
+
return Xn(t) && !Zn(t);
|
|
1134
1118
|
};
|
|
1135
|
-
function
|
|
1119
|
+
function Xn(e) {
|
|
1136
1120
|
return !!e && typeof e == "object";
|
|
1137
1121
|
}
|
|
1138
|
-
function
|
|
1122
|
+
function Zn(e) {
|
|
1139
1123
|
var t = Object.prototype.toString.call(e);
|
|
1140
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1124
|
+
return t === "[object RegExp]" || t === "[object Date]" || Jn(e);
|
|
1141
1125
|
}
|
|
1142
|
-
var
|
|
1143
|
-
function
|
|
1144
|
-
return e.$$typeof ===
|
|
1126
|
+
var Yn = typeof Symbol == "function" && Symbol.for, Qn = Yn ? Symbol.for("react.element") : 60103;
|
|
1127
|
+
function Jn(e) {
|
|
1128
|
+
return e.$$typeof === Qn;
|
|
1145
1129
|
}
|
|
1146
|
-
function
|
|
1130
|
+
function qn(e) {
|
|
1147
1131
|
return Array.isArray(e) ? [] : {};
|
|
1148
1132
|
}
|
|
1149
1133
|
function We(e, t) {
|
|
1150
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(
|
|
1134
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(qn(e), e, t) : e;
|
|
1151
1135
|
}
|
|
1152
|
-
function
|
|
1136
|
+
function Kn(e, t, r) {
|
|
1153
1137
|
return e.concat(t).map(function(n) {
|
|
1154
1138
|
return We(n, r);
|
|
1155
1139
|
});
|
|
1156
1140
|
}
|
|
1157
|
-
function
|
|
1141
|
+
function ei(e, t) {
|
|
1158
1142
|
if (!t.customMerge)
|
|
1159
1143
|
return Ie;
|
|
1160
1144
|
var r = t.customMerge(e);
|
|
1161
1145
|
return typeof r == "function" ? r : Ie;
|
|
1162
1146
|
}
|
|
1163
|
-
function
|
|
1147
|
+
function ti(e) {
|
|
1164
1148
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1165
1149
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1166
1150
|
}) : [];
|
|
1167
1151
|
}
|
|
1168
|
-
function
|
|
1169
|
-
return Object.keys(e).concat(
|
|
1152
|
+
function qt(e) {
|
|
1153
|
+
return Object.keys(e).concat(ti(e));
|
|
1170
1154
|
}
|
|
1171
|
-
function
|
|
1155
|
+
function Br(e, t) {
|
|
1172
1156
|
try {
|
|
1173
1157
|
return t in e;
|
|
1174
1158
|
} catch (r) {
|
|
1175
1159
|
return !1;
|
|
1176
1160
|
}
|
|
1177
1161
|
}
|
|
1178
|
-
function
|
|
1179
|
-
return
|
|
1162
|
+
function ri(e, t) {
|
|
1163
|
+
return Br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1180
1164
|
}
|
|
1181
|
-
function
|
|
1165
|
+
function ni(e, t, r) {
|
|
1182
1166
|
var n = {};
|
|
1183
|
-
return r.isMergeableObject(e) &&
|
|
1167
|
+
return r.isMergeableObject(e) && qt(e).forEach(function(i) {
|
|
1184
1168
|
n[i] = We(e[i], r);
|
|
1185
|
-
}),
|
|
1186
|
-
|
|
1169
|
+
}), qt(t).forEach(function(i) {
|
|
1170
|
+
ri(e, i) || (Br(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
|
|
1187
1171
|
}), n;
|
|
1188
1172
|
}
|
|
1189
1173
|
function Ie(e, t, r) {
|
|
1190
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1174
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Wn, r.cloneUnlessOtherwiseSpecified = We;
|
|
1191
1175
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1192
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1176
|
+
return s ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : We(t, r);
|
|
1193
1177
|
}
|
|
1194
1178
|
Ie.all = function(t, r) {
|
|
1195
1179
|
if (!Array.isArray(t))
|
|
@@ -1198,62 +1182,64 @@ Ie.all = function(t, r) {
|
|
|
1198
1182
|
return Ie(n, i, r);
|
|
1199
1183
|
}, {});
|
|
1200
1184
|
};
|
|
1201
|
-
var
|
|
1202
|
-
const
|
|
1203
|
-
function
|
|
1204
|
-
var r = t && t.cache ? t.cache :
|
|
1185
|
+
var ii = Ie, si = ii;
|
|
1186
|
+
const ai = /* @__PURE__ */ zn(si);
|
|
1187
|
+
function gt(e, t) {
|
|
1188
|
+
var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : li;
|
|
1205
1189
|
return i(e, {
|
|
1206
1190
|
cache: r,
|
|
1207
1191
|
serializer: n
|
|
1208
1192
|
});
|
|
1209
1193
|
}
|
|
1210
|
-
function
|
|
1194
|
+
function oi(e) {
|
|
1211
1195
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1212
1196
|
}
|
|
1213
|
-
function
|
|
1214
|
-
var i =
|
|
1197
|
+
function Sr(e, t, r, n) {
|
|
1198
|
+
var i = oi(n) ? n : r(n), s = t.get(i);
|
|
1215
1199
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1216
1200
|
}
|
|
1217
|
-
function
|
|
1201
|
+
function Ar(e, t, r) {
|
|
1218
1202
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1219
1203
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1220
1204
|
}
|
|
1221
|
-
function
|
|
1205
|
+
function Lt(e, t, r, n, i) {
|
|
1222
1206
|
return r.bind(t, e, n, i);
|
|
1223
1207
|
}
|
|
1224
|
-
function
|
|
1225
|
-
var r = e.length === 1 ?
|
|
1226
|
-
return
|
|
1208
|
+
function li(e, t) {
|
|
1209
|
+
var r = e.length === 1 ? Sr : Ar;
|
|
1210
|
+
return Lt(e, this, r, t.cache.create(), t.serializer);
|
|
1227
1211
|
}
|
|
1228
|
-
function
|
|
1229
|
-
return
|
|
1212
|
+
function ui(e, t) {
|
|
1213
|
+
return Lt(e, this, Ar, t.cache.create(), t.serializer);
|
|
1230
1214
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return
|
|
1215
|
+
function hi(e, t) {
|
|
1216
|
+
return Lt(e, this, Sr, t.cache.create(), t.serializer);
|
|
1233
1217
|
}
|
|
1234
|
-
var
|
|
1218
|
+
var ci = function() {
|
|
1235
1219
|
return JSON.stringify(arguments);
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1220
|
+
}, fi = (
|
|
1221
|
+
/** @class */
|
|
1222
|
+
function() {
|
|
1223
|
+
function e() {
|
|
1224
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1225
|
+
}
|
|
1226
|
+
return e.prototype.get = function(t) {
|
|
1227
|
+
return this.cache[t];
|
|
1228
|
+
}, e.prototype.set = function(t, r) {
|
|
1229
|
+
this.cache[t] = r;
|
|
1230
|
+
}, e;
|
|
1231
|
+
}()
|
|
1232
|
+
), di = {
|
|
1247
1233
|
create: function() {
|
|
1248
|
-
return new
|
|
1234
|
+
return new fi();
|
|
1249
1235
|
}
|
|
1250
|
-
},
|
|
1251
|
-
variadic:
|
|
1252
|
-
monadic:
|
|
1253
|
-
},
|
|
1236
|
+
}, bt = {
|
|
1237
|
+
variadic: ui,
|
|
1238
|
+
monadic: hi
|
|
1239
|
+
}, x;
|
|
1254
1240
|
(function(e) {
|
|
1255
1241
|
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
|
-
})(
|
|
1242
|
+
})(x || (x = {}));
|
|
1257
1243
|
var F;
|
|
1258
1244
|
(function(e) {
|
|
1259
1245
|
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";
|
|
@@ -1262,43 +1248,43 @@ var Me;
|
|
|
1262
1248
|
(function(e) {
|
|
1263
1249
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1264
1250
|
})(Me || (Me = {}));
|
|
1265
|
-
function
|
|
1251
|
+
function Kt(e) {
|
|
1266
1252
|
return e.type === F.literal;
|
|
1267
1253
|
}
|
|
1268
|
-
function
|
|
1254
|
+
function pi(e) {
|
|
1269
1255
|
return e.type === F.argument;
|
|
1270
1256
|
}
|
|
1271
|
-
function
|
|
1257
|
+
function Hr(e) {
|
|
1272
1258
|
return e.type === F.number;
|
|
1273
1259
|
}
|
|
1274
|
-
function
|
|
1260
|
+
function Ir(e) {
|
|
1275
1261
|
return e.type === F.date;
|
|
1276
1262
|
}
|
|
1277
|
-
function
|
|
1263
|
+
function Mr(e) {
|
|
1278
1264
|
return e.type === F.time;
|
|
1279
1265
|
}
|
|
1280
|
-
function
|
|
1266
|
+
function Nr(e) {
|
|
1281
1267
|
return e.type === F.select;
|
|
1282
1268
|
}
|
|
1283
|
-
function
|
|
1269
|
+
function Or(e) {
|
|
1284
1270
|
return e.type === F.plural;
|
|
1285
1271
|
}
|
|
1286
|
-
function
|
|
1272
|
+
function mi(e) {
|
|
1287
1273
|
return e.type === F.pound;
|
|
1288
1274
|
}
|
|
1289
|
-
function
|
|
1275
|
+
function Rr(e) {
|
|
1290
1276
|
return e.type === F.tag;
|
|
1291
1277
|
}
|
|
1292
|
-
function
|
|
1278
|
+
function Lr(e) {
|
|
1293
1279
|
return !!(e && typeof e == "object" && e.type === Me.number);
|
|
1294
1280
|
}
|
|
1295
|
-
function
|
|
1281
|
+
function St(e) {
|
|
1296
1282
|
return !!(e && typeof e == "object" && e.type === Me.dateTime);
|
|
1297
1283
|
}
|
|
1298
|
-
var
|
|
1299
|
-
function
|
|
1284
|
+
var Fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[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;
|
|
1285
|
+
function bi(e) {
|
|
1300
1286
|
var t = {};
|
|
1301
|
-
return e.replace(
|
|
1287
|
+
return e.replace(gi, function(r) {
|
|
1302
1288
|
var n = r.length;
|
|
1303
1289
|
switch (r[0]) {
|
|
1304
1290
|
case "G":
|
|
@@ -1387,36 +1373,36 @@ function vi(e) {
|
|
|
1387
1373
|
return "";
|
|
1388
1374
|
}), t;
|
|
1389
1375
|
}
|
|
1390
|
-
var
|
|
1391
|
-
function
|
|
1376
|
+
var wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1377
|
+
function vi(e) {
|
|
1392
1378
|
if (e.length === 0)
|
|
1393
1379
|
throw new Error("Number skeleton cannot be empty");
|
|
1394
|
-
for (var t = e.split(
|
|
1380
|
+
for (var t = e.split(wi).filter(function(p) {
|
|
1395
1381
|
return p.length > 0;
|
|
1396
1382
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1397
1383
|
var s = i[n], a = s.split("/");
|
|
1398
1384
|
if (a.length === 0)
|
|
1399
1385
|
throw new Error("Invalid number skeleton");
|
|
1400
|
-
for (var
|
|
1386
|
+
for (var l = a[0], u = a.slice(1), h = 0, c = u; h < c.length; h++) {
|
|
1401
1387
|
var f = c[h];
|
|
1402
1388
|
if (f.length === 0)
|
|
1403
1389
|
throw new Error("Invalid number skeleton");
|
|
1404
1390
|
}
|
|
1405
|
-
r.push({ stem:
|
|
1391
|
+
r.push({ stem: l, options: u });
|
|
1406
1392
|
}
|
|
1407
1393
|
return r;
|
|
1408
1394
|
}
|
|
1409
|
-
function
|
|
1395
|
+
function yi(e) {
|
|
1410
1396
|
return e.replace(/^(.*?)-/, "");
|
|
1411
1397
|
}
|
|
1412
|
-
var
|
|
1413
|
-
function
|
|
1398
|
+
var er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Dr = /^(0+)$/;
|
|
1399
|
+
function tr(e) {
|
|
1414
1400
|
var t = {};
|
|
1415
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1401
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(r, n, i) {
|
|
1416
1402
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1417
1403
|
}), t;
|
|
1418
1404
|
}
|
|
1419
|
-
function
|
|
1405
|
+
function Ur(e) {
|
|
1420
1406
|
switch (e) {
|
|
1421
1407
|
case "sign-auto":
|
|
1422
1408
|
return {
|
|
@@ -1456,7 +1442,7 @@ function jr(e) {
|
|
|
1456
1442
|
};
|
|
1457
1443
|
}
|
|
1458
1444
|
}
|
|
1459
|
-
function
|
|
1445
|
+
function Pi(e) {
|
|
1460
1446
|
var t;
|
|
1461
1447
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1462
1448
|
notation: "engineering"
|
|
@@ -1464,17 +1450,17 @@ function xi(e) {
|
|
|
1464
1450
|
notation: "scientific"
|
|
1465
1451
|
}, e = e.slice(1)), t) {
|
|
1466
1452
|
var r = e.slice(0, 2);
|
|
1467
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1453
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dr.test(e))
|
|
1468
1454
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1469
1455
|
t.minimumIntegerDigits = e.length;
|
|
1470
1456
|
}
|
|
1471
1457
|
return t;
|
|
1472
1458
|
}
|
|
1473
|
-
function
|
|
1474
|
-
var t = {}, r =
|
|
1459
|
+
function rr(e) {
|
|
1460
|
+
var t = {}, r = Ur(e);
|
|
1475
1461
|
return r || t;
|
|
1476
1462
|
}
|
|
1477
|
-
function
|
|
1463
|
+
function xi(e) {
|
|
1478
1464
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1479
1465
|
var i = n[r];
|
|
1480
1466
|
switch (i.stem) {
|
|
@@ -1498,7 +1484,7 @@ function Ti(e) {
|
|
|
1498
1484
|
continue;
|
|
1499
1485
|
case "measure-unit":
|
|
1500
1486
|
case "unit":
|
|
1501
|
-
t.style = "unit", t.unit =
|
|
1487
|
+
t.style = "unit", t.unit = yi(i.options[0]);
|
|
1502
1488
|
continue;
|
|
1503
1489
|
case "compact-short":
|
|
1504
1490
|
case "K":
|
|
@@ -1510,12 +1496,12 @@ function Ti(e) {
|
|
|
1510
1496
|
continue;
|
|
1511
1497
|
case "scientific":
|
|
1512
1498
|
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
|
1513
|
-
return S(S({}, u),
|
|
1499
|
+
return S(S({}, u), rr(h));
|
|
1514
1500
|
}, {}));
|
|
1515
1501
|
continue;
|
|
1516
1502
|
case "engineering":
|
|
1517
1503
|
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
|
1518
|
-
return S(S({}, u),
|
|
1504
|
+
return S(S({}, u), rr(h));
|
|
1519
1505
|
}, {}));
|
|
1520
1506
|
continue;
|
|
1521
1507
|
case "notation-simple":
|
|
@@ -1560,7 +1546,7 @@ function Ti(e) {
|
|
|
1560
1546
|
case "integer-width":
|
|
1561
1547
|
if (i.options.length > 1)
|
|
1562
1548
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1563
|
-
i.options[0].replace(
|
|
1549
|
+
i.options[0].replace(_i, function(u, h, c, f, p, m) {
|
|
1564
1550
|
if (h)
|
|
1565
1551
|
t.minimumIntegerDigits = c.length;
|
|
1566
1552
|
else {
|
|
@@ -1573,28 +1559,28 @@ function Ti(e) {
|
|
|
1573
1559
|
});
|
|
1574
1560
|
continue;
|
|
1575
1561
|
}
|
|
1576
|
-
if (
|
|
1562
|
+
if (Dr.test(i.stem)) {
|
|
1577
1563
|
t.minimumIntegerDigits = i.stem.length;
|
|
1578
1564
|
continue;
|
|
1579
1565
|
}
|
|
1580
|
-
if (
|
|
1566
|
+
if (er.test(i.stem)) {
|
|
1581
1567
|
if (i.options.length > 1)
|
|
1582
1568
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1583
|
-
i.stem.replace(
|
|
1569
|
+
i.stem.replace(er, function(u, h, c, f, p, m) {
|
|
1584
1570
|
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
1571
|
});
|
|
1586
1572
|
var s = i.options[0];
|
|
1587
|
-
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t),
|
|
1573
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), tr(s)));
|
|
1588
1574
|
continue;
|
|
1589
1575
|
}
|
|
1590
|
-
if (
|
|
1591
|
-
t = S(S({}, t),
|
|
1576
|
+
if (kr.test(i.stem)) {
|
|
1577
|
+
t = S(S({}, t), tr(i.stem));
|
|
1592
1578
|
continue;
|
|
1593
1579
|
}
|
|
1594
|
-
var a =
|
|
1580
|
+
var a = Ur(i.stem);
|
|
1595
1581
|
a && (t = S(S({}, t), a));
|
|
1596
|
-
var
|
|
1597
|
-
|
|
1582
|
+
var l = Pi(i.stem);
|
|
1583
|
+
l && (t = S(S({}, t), l));
|
|
1598
1584
|
}
|
|
1599
1585
|
return t;
|
|
1600
1586
|
}
|
|
@@ -3013,14 +2999,14 @@ var tt = {
|
|
|
3013
2999
|
"h"
|
|
3014
3000
|
]
|
|
3015
3001
|
};
|
|
3016
|
-
function
|
|
3002
|
+
function Ei(e, t) {
|
|
3017
3003
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3018
3004
|
var i = e.charAt(n);
|
|
3019
3005
|
if (i === "j") {
|
|
3020
3006
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3021
3007
|
s++, n++;
|
|
3022
|
-
var a = 1 + (s & 1),
|
|
3023
|
-
for ((h == "H" || h == "k") && (
|
|
3008
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = Ti(t);
|
|
3009
|
+
for ((h == "H" || h == "k") && (l = 0); l-- > 0; )
|
|
3024
3010
|
r += u;
|
|
3025
3011
|
for (; a-- > 0; )
|
|
3026
3012
|
r = h + r;
|
|
@@ -3029,7 +3015,7 @@ function Ci(e, t) {
|
|
|
3029
3015
|
}
|
|
3030
3016
|
return r;
|
|
3031
3017
|
}
|
|
3032
|
-
function
|
|
3018
|
+
function Ti(e) {
|
|
3033
3019
|
var t = e.hourCycle;
|
|
3034
3020
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3035
3021
|
e.hourCycles && // @ts-ignore
|
|
@@ -3051,20 +3037,20 @@ function Bi(e) {
|
|
|
3051
3037
|
var i = tt[n || ""] || tt[r || ""] || tt["".concat(r, "-001")] || tt["001"];
|
|
3052
3038
|
return i[0];
|
|
3053
3039
|
}
|
|
3054
|
-
var
|
|
3040
|
+
var wt, Ci = new RegExp("^".concat(Fr.source, "*")), Bi = new RegExp("".concat(Fr.source, "*$"));
|
|
3055
3041
|
function T(e, t) {
|
|
3056
3042
|
return { start: e, end: t };
|
|
3057
3043
|
}
|
|
3058
|
-
var
|
|
3044
|
+
var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Hi = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Mi = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Oi = !!Number.isSafeInteger, Ri = Oi ? Number.isSafeInteger : function(e) {
|
|
3059
3045
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3060
|
-
},
|
|
3046
|
+
}, At = !0;
|
|
3061
3047
|
try {
|
|
3062
|
-
var
|
|
3063
|
-
|
|
3048
|
+
var Li = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3049
|
+
At = ((wt = Li.exec("a")) === null || wt === void 0 ? void 0 : wt[0]) === "a";
|
|
3064
3050
|
} catch (e) {
|
|
3065
|
-
|
|
3051
|
+
At = !1;
|
|
3066
3052
|
}
|
|
3067
|
-
var
|
|
3053
|
+
var nr = Si ? (
|
|
3068
3054
|
// Native
|
|
3069
3055
|
function(t, r, n) {
|
|
3070
3056
|
return t.startsWith(r, n);
|
|
@@ -3074,7 +3060,7 @@ var sr = Hi ? (
|
|
|
3074
3060
|
function(t, r, n) {
|
|
3075
3061
|
return t.slice(n, n + r.length) === r;
|
|
3076
3062
|
}
|
|
3077
|
-
),
|
|
3063
|
+
), Ht = Ai ? String.fromCodePoint : (
|
|
3078
3064
|
// IE11
|
|
3079
3065
|
function() {
|
|
3080
3066
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3086,19 +3072,19 @@ var sr = Hi ? (
|
|
|
3086
3072
|
}
|
|
3087
3073
|
return n;
|
|
3088
3074
|
}
|
|
3089
|
-
),
|
|
3075
|
+
), ir = (
|
|
3090
3076
|
// native
|
|
3091
|
-
|
|
3077
|
+
Hi ? Object.fromEntries : (
|
|
3092
3078
|
// Ponyfill
|
|
3093
3079
|
function(t) {
|
|
3094
3080
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3095
|
-
var s = i[n], a = s[0],
|
|
3096
|
-
r[a] =
|
|
3081
|
+
var s = i[n], a = s[0], l = s[1];
|
|
3082
|
+
r[a] = l;
|
|
3097
3083
|
}
|
|
3098
3084
|
return r;
|
|
3099
3085
|
}
|
|
3100
3086
|
)
|
|
3101
|
-
),
|
|
3087
|
+
), $r = Ii ? (
|
|
3102
3088
|
// Native
|
|
3103
3089
|
function(t, r) {
|
|
3104
3090
|
return t.codePointAt(r);
|
|
@@ -3112,7 +3098,7 @@ var sr = Hi ? (
|
|
|
3112
3098
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3113
3099
|
}
|
|
3114
3100
|
}
|
|
3115
|
-
),
|
|
3101
|
+
), Fi = Mi ? (
|
|
3116
3102
|
// Native
|
|
3117
3103
|
function(t) {
|
|
3118
3104
|
return t.trimStart();
|
|
@@ -3120,9 +3106,9 @@ var sr = Hi ? (
|
|
|
3120
3106
|
) : (
|
|
3121
3107
|
// Ponyfill
|
|
3122
3108
|
function(t) {
|
|
3123
|
-
return t.replace(
|
|
3109
|
+
return t.replace(Ci, "");
|
|
3124
3110
|
}
|
|
3125
|
-
),
|
|
3111
|
+
), ki = Ni ? (
|
|
3126
3112
|
// Native
|
|
3127
3113
|
function(t) {
|
|
3128
3114
|
return t.trimEnd();
|
|
@@ -3130,32 +3116,32 @@ var sr = Hi ? (
|
|
|
3130
3116
|
) : (
|
|
3131
3117
|
// Ponyfill
|
|
3132
3118
|
function(t) {
|
|
3133
|
-
return t.replace(
|
|
3119
|
+
return t.replace(Bi, "");
|
|
3134
3120
|
}
|
|
3135
3121
|
);
|
|
3136
|
-
function
|
|
3122
|
+
function Gr(e, t) {
|
|
3137
3123
|
return new RegExp(e, t);
|
|
3138
3124
|
}
|
|
3139
|
-
var
|
|
3140
|
-
if (
|
|
3141
|
-
var
|
|
3142
|
-
|
|
3125
|
+
var It;
|
|
3126
|
+
if (At) {
|
|
3127
|
+
var sr = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3128
|
+
It = function(t, r) {
|
|
3143
3129
|
var n;
|
|
3144
|
-
|
|
3145
|
-
var i =
|
|
3130
|
+
sr.lastIndex = r;
|
|
3131
|
+
var i = sr.exec(t);
|
|
3146
3132
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3147
3133
|
};
|
|
3148
3134
|
} else
|
|
3149
|
-
|
|
3135
|
+
It = function(t, r) {
|
|
3150
3136
|
for (var n = []; ; ) {
|
|
3151
|
-
var i =
|
|
3152
|
-
if (i === void 0 ||
|
|
3137
|
+
var i = $r(t, r);
|
|
3138
|
+
if (i === void 0 || jr(i) || Gi(i))
|
|
3153
3139
|
break;
|
|
3154
3140
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3155
3141
|
}
|
|
3156
|
-
return
|
|
3142
|
+
return Ht.apply(void 0, n);
|
|
3157
3143
|
};
|
|
3158
|
-
var
|
|
3144
|
+
var Di = (
|
|
3159
3145
|
/** @class */
|
|
3160
3146
|
function() {
|
|
3161
3147
|
function e(t, r) {
|
|
@@ -3177,16 +3163,16 @@ var $i = (
|
|
|
3177
3163
|
if (s === 125 && t > 0)
|
|
3178
3164
|
break;
|
|
3179
3165
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3180
|
-
var
|
|
3166
|
+
var l = this.clonePosition();
|
|
3181
3167
|
this.bump(), i.push({
|
|
3182
3168
|
type: F.pound,
|
|
3183
|
-
location: T(
|
|
3169
|
+
location: T(l, this.clonePosition())
|
|
3184
3170
|
});
|
|
3185
3171
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3186
3172
|
if (n)
|
|
3187
3173
|
break;
|
|
3188
|
-
return this.error(
|
|
3189
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3174
|
+
return this.error(x.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
|
|
3175
|
+
} else if (s === 60 && !this.ignoreTag && Mt(this.peek() || 0)) {
|
|
3190
3176
|
var a = this.parseTag(t, r);
|
|
3191
3177
|
if (a.err)
|
|
3192
3178
|
return a;
|
|
@@ -3217,12 +3203,12 @@ var $i = (
|
|
|
3217
3203
|
var s = this.parseMessage(t + 1, r, !0);
|
|
3218
3204
|
if (s.err)
|
|
3219
3205
|
return s;
|
|
3220
|
-
var a = s.val,
|
|
3206
|
+
var a = s.val, l = this.clonePosition();
|
|
3221
3207
|
if (this.bumpIf("</")) {
|
|
3222
|
-
if (this.isEOF() || !
|
|
3223
|
-
return this.error(
|
|
3208
|
+
if (this.isEOF() || !Mt(this.char()))
|
|
3209
|
+
return this.error(x.INVALID_TAG, T(l, this.clonePosition()));
|
|
3224
3210
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3225
|
-
return i !== h ? this.error(
|
|
3211
|
+
return i !== h ? this.error(x.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3226
3212
|
val: {
|
|
3227
3213
|
type: F.tag,
|
|
3228
3214
|
value: i,
|
|
@@ -3230,14 +3216,14 @@ var $i = (
|
|
|
3230
3216
|
location: T(n, this.clonePosition())
|
|
3231
3217
|
},
|
|
3232
3218
|
err: null
|
|
3233
|
-
} : this.error(
|
|
3219
|
+
} : this.error(x.INVALID_TAG, T(l, this.clonePosition())));
|
|
3234
3220
|
} else
|
|
3235
|
-
return this.error(
|
|
3221
|
+
return this.error(x.UNCLOSED_TAG, T(n, this.clonePosition()));
|
|
3236
3222
|
} else
|
|
3237
|
-
return this.error(
|
|
3223
|
+
return this.error(x.INVALID_TAG, T(n, this.clonePosition()));
|
|
3238
3224
|
}, e.prototype.parseTagName = function() {
|
|
3239
3225
|
var t = this.offset();
|
|
3240
|
-
for (this.bump(); !this.isEOF() &&
|
|
3226
|
+
for (this.bump(); !this.isEOF() && $i(this.char()); )
|
|
3241
3227
|
this.bump();
|
|
3242
3228
|
return this.message.slice(t, this.offset());
|
|
3243
3229
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3252,9 +3238,9 @@ var $i = (
|
|
|
3252
3238
|
i += a;
|
|
3253
3239
|
continue;
|
|
3254
3240
|
}
|
|
3255
|
-
var
|
|
3256
|
-
if (
|
|
3257
|
-
i +=
|
|
3241
|
+
var l = this.tryParseLeftAngleBracket();
|
|
3242
|
+
if (l) {
|
|
3243
|
+
i += l;
|
|
3258
3244
|
continue;
|
|
3259
3245
|
}
|
|
3260
3246
|
break;
|
|
@@ -3266,7 +3252,7 @@ var $i = (
|
|
|
3266
3252
|
};
|
|
3267
3253
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3268
3254
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3269
|
-
!
|
|
3255
|
+
!Ui(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3270
3256
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3271
3257
|
if (this.isEOF() || this.char() !== 39)
|
|
3272
3258
|
return null;
|
|
@@ -3300,23 +3286,23 @@ var $i = (
|
|
|
3300
3286
|
r.push(n);
|
|
3301
3287
|
this.bump();
|
|
3302
3288
|
}
|
|
3303
|
-
return
|
|
3289
|
+
return Ht.apply(void 0, r);
|
|
3304
3290
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3305
3291
|
if (this.isEOF())
|
|
3306
3292
|
return null;
|
|
3307
3293
|
var n = this.char();
|
|
3308
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3294
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ht(n));
|
|
3309
3295
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3310
3296
|
var n = this.clonePosition();
|
|
3311
3297
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3312
|
-
return this.error(
|
|
3298
|
+
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
|
|
3313
3299
|
if (this.char() === 125)
|
|
3314
|
-
return this.bump(), this.error(
|
|
3300
|
+
return this.bump(), this.error(x.EMPTY_ARGUMENT, T(n, this.clonePosition()));
|
|
3315
3301
|
var i = this.parseIdentifierIfPossible().value;
|
|
3316
3302
|
if (!i)
|
|
3317
|
-
return this.error(
|
|
3303
|
+
return this.error(x.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
|
3318
3304
|
if (this.bumpSpace(), this.isEOF())
|
|
3319
|
-
return this.error(
|
|
3305
|
+
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
|
|
3320
3306
|
switch (this.char()) {
|
|
3321
3307
|
case 125:
|
|
3322
3308
|
return this.bump(), {
|
|
@@ -3329,20 +3315,20 @@ var $i = (
|
|
|
3329
3315
|
err: null
|
|
3330
3316
|
};
|
|
3331
3317
|
case 44:
|
|
3332
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3318
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3333
3319
|
default:
|
|
3334
|
-
return this.error(
|
|
3320
|
+
return this.error(x.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
|
3335
3321
|
}
|
|
3336
3322
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3337
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3323
|
+
var t = this.clonePosition(), r = this.offset(), n = It(this.message, r), i = r + n.length;
|
|
3338
3324
|
this.bumpTo(i);
|
|
3339
3325
|
var s = this.clonePosition(), a = T(t, s);
|
|
3340
3326
|
return { value: n, location: a };
|
|
3341
3327
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3342
|
-
var s, a = this.clonePosition(),
|
|
3343
|
-
switch (
|
|
3328
|
+
var s, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3329
|
+
switch (l) {
|
|
3344
3330
|
case "":
|
|
3345
|
-
return this.error(
|
|
3331
|
+
return this.error(x.EXPECT_ARGUMENT_TYPE, T(a, u));
|
|
3346
3332
|
case "number":
|
|
3347
3333
|
case "date":
|
|
3348
3334
|
case "time": {
|
|
@@ -3353,9 +3339,9 @@ var $i = (
|
|
|
3353
3339
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3354
3340
|
if (f.err)
|
|
3355
3341
|
return f;
|
|
3356
|
-
var p =
|
|
3342
|
+
var p = ki(f.val);
|
|
3357
3343
|
if (p.length === 0)
|
|
3358
|
-
return this.error(
|
|
3344
|
+
return this.error(x.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
|
|
3359
3345
|
var m = T(c, this.clonePosition());
|
|
3360
3346
|
h = { style: p, styleLocation: m };
|
|
3361
3347
|
}
|
|
@@ -3363,9 +3349,9 @@ var $i = (
|
|
|
3363
3349
|
if (v.err)
|
|
3364
3350
|
return v;
|
|
3365
3351
|
var w = T(i, this.clonePosition());
|
|
3366
|
-
if (h &&
|
|
3367
|
-
var C =
|
|
3368
|
-
if (
|
|
3352
|
+
if (h && nr(h == null ? void 0 : h.style, "::", 0)) {
|
|
3353
|
+
var C = Fi(h.style.slice(2));
|
|
3354
|
+
if (l === "number") {
|
|
3369
3355
|
var f = this.parseNumberSkeletonFromString(C, h.styleLocation);
|
|
3370
3356
|
return f.err ? f : {
|
|
3371
3357
|
val: { type: F.number, value: n, location: w, style: f.val },
|
|
@@ -3373,15 +3359,15 @@ var $i = (
|
|
|
3373
3359
|
};
|
|
3374
3360
|
} else {
|
|
3375
3361
|
if (C.length === 0)
|
|
3376
|
-
return this.error(
|
|
3362
|
+
return this.error(x.EXPECT_DATE_TIME_SKELETON, w);
|
|
3377
3363
|
var y = C;
|
|
3378
|
-
this.locale && (y =
|
|
3364
|
+
this.locale && (y = Ei(C, this.locale));
|
|
3379
3365
|
var p = {
|
|
3380
3366
|
type: Me.dateTime,
|
|
3381
3367
|
pattern: y,
|
|
3382
3368
|
location: h.styleLocation,
|
|
3383
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3384
|
-
}, B =
|
|
3369
|
+
parsedOptions: this.shouldParseSkeletons ? bi(y) : {}
|
|
3370
|
+
}, B = l === "date" ? F.date : F.time;
|
|
3385
3371
|
return {
|
|
3386
3372
|
val: { type: B, value: n, location: w, style: p },
|
|
3387
3373
|
err: null
|
|
@@ -3390,7 +3376,7 @@ var $i = (
|
|
|
3390
3376
|
}
|
|
3391
3377
|
return {
|
|
3392
3378
|
val: {
|
|
3393
|
-
type:
|
|
3379
|
+
type: l === "number" ? F.number : l === "date" ? F.date : F.time,
|
|
3394
3380
|
value: n,
|
|
3395
3381
|
location: w,
|
|
3396
3382
|
style: (s = h == null ? void 0 : h.style) !== null && s !== void 0 ? s : null
|
|
@@ -3403,30 +3389,30 @@ var $i = (
|
|
|
3403
3389
|
case "select": {
|
|
3404
3390
|
var L = this.clonePosition();
|
|
3405
3391
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3406
|
-
return this.error(
|
|
3392
|
+
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(L, S({}, L)));
|
|
3407
3393
|
this.bumpSpace();
|
|
3408
3394
|
var D = this.parseIdentifierIfPossible(), U = 0;
|
|
3409
|
-
if (
|
|
3395
|
+
if (l !== "select" && D.value === "offset") {
|
|
3410
3396
|
if (!this.bumpIf(":"))
|
|
3411
|
-
return this.error(
|
|
3397
|
+
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
|
|
3412
3398
|
this.bumpSpace();
|
|
3413
|
-
var f = this.tryParseDecimalInteger(
|
|
3399
|
+
var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3414
3400
|
if (f.err)
|
|
3415
3401
|
return f;
|
|
3416
3402
|
this.bumpSpace(), D = this.parseIdentifierIfPossible(), U = f.val;
|
|
3417
3403
|
}
|
|
3418
|
-
var
|
|
3419
|
-
if (
|
|
3420
|
-
return
|
|
3404
|
+
var R = this.tryParsePluralOrSelectOptions(t, l, r, D);
|
|
3405
|
+
if (R.err)
|
|
3406
|
+
return R;
|
|
3421
3407
|
var v = this.tryParseArgumentClose(i);
|
|
3422
3408
|
if (v.err)
|
|
3423
3409
|
return v;
|
|
3424
3410
|
var X = T(i, this.clonePosition());
|
|
3425
|
-
return
|
|
3411
|
+
return l === "select" ? {
|
|
3426
3412
|
val: {
|
|
3427
3413
|
type: F.select,
|
|
3428
3414
|
value: n,
|
|
3429
|
-
options:
|
|
3415
|
+
options: ir(R.val),
|
|
3430
3416
|
location: X
|
|
3431
3417
|
},
|
|
3432
3418
|
err: null
|
|
@@ -3434,19 +3420,19 @@ var $i = (
|
|
|
3434
3420
|
val: {
|
|
3435
3421
|
type: F.plural,
|
|
3436
3422
|
value: n,
|
|
3437
|
-
options:
|
|
3423
|
+
options: ir(R.val),
|
|
3438
3424
|
offset: U,
|
|
3439
|
-
pluralType:
|
|
3425
|
+
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3440
3426
|
location: X
|
|
3441
3427
|
},
|
|
3442
3428
|
err: null
|
|
3443
3429
|
};
|
|
3444
3430
|
}
|
|
3445
3431
|
default:
|
|
3446
|
-
return this.error(
|
|
3432
|
+
return this.error(x.INVALID_ARGUMENT_TYPE, T(a, u));
|
|
3447
3433
|
}
|
|
3448
3434
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3449
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3435
|
+
return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3450
3436
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3451
3437
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3452
3438
|
var n = this.char();
|
|
@@ -3455,7 +3441,7 @@ var $i = (
|
|
|
3455
3441
|
this.bump();
|
|
3456
3442
|
var i = this.clonePosition();
|
|
3457
3443
|
if (!this.bumpUntil("'"))
|
|
3458
|
-
return this.error(
|
|
3444
|
+
return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
|
|
3459
3445
|
this.bump();
|
|
3460
3446
|
break;
|
|
3461
3447
|
}
|
|
@@ -3485,25 +3471,25 @@ var $i = (
|
|
|
3485
3471
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3486
3472
|
var n = [];
|
|
3487
3473
|
try {
|
|
3488
|
-
n =
|
|
3474
|
+
n = vi(t);
|
|
3489
3475
|
} catch (i) {
|
|
3490
|
-
return this.error(
|
|
3476
|
+
return this.error(x.INVALID_NUMBER_SKELETON, r);
|
|
3491
3477
|
}
|
|
3492
3478
|
return {
|
|
3493
3479
|
val: {
|
|
3494
3480
|
type: Me.number,
|
|
3495
3481
|
tokens: n,
|
|
3496
3482
|
location: r,
|
|
3497
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3483
|
+
parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
|
|
3498
3484
|
},
|
|
3499
3485
|
err: null
|
|
3500
3486
|
};
|
|
3501
3487
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3502
|
-
for (var s, a = !1,
|
|
3488
|
+
for (var s, a = !1, l = [], u = /* @__PURE__ */ new Set(), h = i.value, c = i.location; ; ) {
|
|
3503
3489
|
if (h.length === 0) {
|
|
3504
3490
|
var f = this.clonePosition();
|
|
3505
3491
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3506
|
-
var p = this.tryParseDecimalInteger(
|
|
3492
|
+
var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3507
3493
|
if (p.err)
|
|
3508
3494
|
return p;
|
|
3509
3495
|
c = T(f, this.clonePosition()), h = this.message.slice(f.offset, this.offset());
|
|
@@ -3511,18 +3497,18 @@ var $i = (
|
|
|
3511
3497
|
break;
|
|
3512
3498
|
}
|
|
3513
3499
|
if (u.has(h))
|
|
3514
|
-
return this.error(r === "select" ?
|
|
3500
|
+
return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3515
3501
|
h === "other" && (a = !0), this.bumpSpace();
|
|
3516
3502
|
var m = this.clonePosition();
|
|
3517
3503
|
if (!this.bumpIf("{"))
|
|
3518
|
-
return this.error(r === "select" ?
|
|
3504
|
+
return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
|
|
3519
3505
|
var v = this.parseMessage(t + 1, r, n);
|
|
3520
3506
|
if (v.err)
|
|
3521
3507
|
return v;
|
|
3522
3508
|
var w = this.tryParseArgumentClose(m);
|
|
3523
3509
|
if (w.err)
|
|
3524
3510
|
return w;
|
|
3525
|
-
|
|
3511
|
+
l.push([
|
|
3526
3512
|
h,
|
|
3527
3513
|
{
|
|
3528
3514
|
value: v.val,
|
|
@@ -3530,19 +3516,19 @@ var $i = (
|
|
|
3530
3516
|
}
|
|
3531
3517
|
]), u.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, c = s.location;
|
|
3532
3518
|
}
|
|
3533
|
-
return
|
|
3519
|
+
return l.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(x.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3534
3520
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3535
3521
|
var n = 1, i = this.clonePosition();
|
|
3536
3522
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3537
3523
|
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3538
|
-
var
|
|
3539
|
-
if (
|
|
3540
|
-
s = !0, a = a * 10 + (
|
|
3524
|
+
var l = this.char();
|
|
3525
|
+
if (l >= 48 && l <= 57)
|
|
3526
|
+
s = !0, a = a * 10 + (l - 48), this.bump();
|
|
3541
3527
|
else
|
|
3542
3528
|
break;
|
|
3543
3529
|
}
|
|
3544
3530
|
var u = T(i, this.clonePosition());
|
|
3545
|
-
return s ? (a *= n,
|
|
3531
|
+
return s ? (a *= n, Ri(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3546
3532
|
}, e.prototype.offset = function() {
|
|
3547
3533
|
return this.position.offset;
|
|
3548
3534
|
}, e.prototype.isEOF = function() {
|
|
@@ -3557,7 +3543,7 @@ var $i = (
|
|
|
3557
3543
|
var t = this.position.offset;
|
|
3558
3544
|
if (t >= this.message.length)
|
|
3559
3545
|
throw Error("out of bound");
|
|
3560
|
-
var r =
|
|
3546
|
+
var r = $r(this.message, t);
|
|
3561
3547
|
if (r === void 0)
|
|
3562
3548
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3563
3549
|
return r;
|
|
@@ -3576,7 +3562,7 @@ var $i = (
|
|
|
3576
3562
|
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
3563
|
}
|
|
3578
3564
|
}, e.prototype.bumpIf = function(t) {
|
|
3579
|
-
if (
|
|
3565
|
+
if (nr(this.message, t, this.offset())) {
|
|
3580
3566
|
for (var r = 0; r < t.length; r++)
|
|
3581
3567
|
this.bump();
|
|
3582
3568
|
return !0;
|
|
@@ -3598,7 +3584,7 @@ var $i = (
|
|
|
3598
3584
|
break;
|
|
3599
3585
|
}
|
|
3600
3586
|
}, e.prototype.bumpSpace = function() {
|
|
3601
|
-
for (; !this.isEOF() &&
|
|
3587
|
+
for (; !this.isEOF() && jr(this.char()); )
|
|
3602
3588
|
this.bump();
|
|
3603
3589
|
}, e.prototype.peek = function() {
|
|
3604
3590
|
if (this.isEOF())
|
|
@@ -3608,38 +3594,38 @@ var $i = (
|
|
|
3608
3594
|
}, e;
|
|
3609
3595
|
}()
|
|
3610
3596
|
);
|
|
3611
|
-
function
|
|
3597
|
+
function Mt(e) {
|
|
3612
3598
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3613
3599
|
}
|
|
3614
|
-
function
|
|
3615
|
-
return
|
|
3600
|
+
function Ui(e) {
|
|
3601
|
+
return Mt(e) || e === 47;
|
|
3616
3602
|
}
|
|
3617
|
-
function
|
|
3603
|
+
function $i(e) {
|
|
3618
3604
|
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
3605
|
}
|
|
3620
|
-
function
|
|
3606
|
+
function jr(e) {
|
|
3621
3607
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3622
3608
|
}
|
|
3623
|
-
function
|
|
3609
|
+
function Gi(e) {
|
|
3624
3610
|
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
3611
|
}
|
|
3626
|
-
function
|
|
3612
|
+
function Nt(e) {
|
|
3627
3613
|
e.forEach(function(t) {
|
|
3628
|
-
if (delete t.location,
|
|
3614
|
+
if (delete t.location, Nr(t) || Or(t))
|
|
3629
3615
|
for (var r in t.options)
|
|
3630
|
-
delete t.options[r].location,
|
|
3616
|
+
delete t.options[r].location, Nt(t.options[r].value);
|
|
3631
3617
|
else
|
|
3632
|
-
|
|
3618
|
+
Hr(t) && Lr(t.style) || (Ir(t) || Mr(t)) && St(t.style) ? delete t.style.location : Rr(t) && Nt(t.children);
|
|
3633
3619
|
});
|
|
3634
3620
|
}
|
|
3635
|
-
function
|
|
3621
|
+
function ji(e, t) {
|
|
3636
3622
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3637
|
-
var r = new
|
|
3623
|
+
var r = new Di(e, t).parse();
|
|
3638
3624
|
if (r.err) {
|
|
3639
|
-
var n = SyntaxError(
|
|
3625
|
+
var n = SyntaxError(x[r.err.kind]);
|
|
3640
3626
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3641
3627
|
}
|
|
3642
|
-
return t != null && t.captureLocation ||
|
|
3628
|
+
return t != null && t.captureLocation || Nt(r.val), r.val;
|
|
3643
3629
|
}
|
|
3644
3630
|
var Ne;
|
|
3645
3631
|
(function(e) {
|
|
@@ -3657,7 +3643,7 @@ var ht = (
|
|
|
3657
3643
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3658
3644
|
}, t;
|
|
3659
3645
|
}(Error)
|
|
3660
|
-
),
|
|
3646
|
+
), ar = (
|
|
3661
3647
|
/** @class */
|
|
3662
3648
|
function(e) {
|
|
3663
3649
|
oe(t, e);
|
|
@@ -3666,7 +3652,7 @@ var ht = (
|
|
|
3666
3652
|
}
|
|
3667
3653
|
return t;
|
|
3668
3654
|
}(ht)
|
|
3669
|
-
),
|
|
3655
|
+
), Vi = (
|
|
3670
3656
|
/** @class */
|
|
3671
3657
|
function(e) {
|
|
3672
3658
|
oe(t, e);
|
|
@@ -3675,7 +3661,7 @@ var ht = (
|
|
|
3675
3661
|
}
|
|
3676
3662
|
return t;
|
|
3677
3663
|
}(ht)
|
|
3678
|
-
),
|
|
3664
|
+
), zi = (
|
|
3679
3665
|
/** @class */
|
|
3680
3666
|
function(e) {
|
|
3681
3667
|
oe(t, e);
|
|
@@ -3688,34 +3674,34 @@ var ht = (
|
|
|
3688
3674
|
(function(e) {
|
|
3689
3675
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3690
3676
|
})(W || (W = {}));
|
|
3691
|
-
function
|
|
3677
|
+
function Wi(e) {
|
|
3692
3678
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3693
3679
|
var n = t[t.length - 1];
|
|
3694
3680
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3695
3681
|
}, []);
|
|
3696
3682
|
}
|
|
3697
|
-
function
|
|
3683
|
+
function Xi(e) {
|
|
3698
3684
|
return typeof e == "function";
|
|
3699
3685
|
}
|
|
3700
3686
|
function it(e, t, r, n, i, s, a) {
|
|
3701
|
-
if (e.length === 1 &&
|
|
3687
|
+
if (e.length === 1 && Kt(e[0]))
|
|
3702
3688
|
return [
|
|
3703
3689
|
{
|
|
3704
3690
|
type: W.literal,
|
|
3705
3691
|
value: e[0].value
|
|
3706
3692
|
}
|
|
3707
3693
|
];
|
|
3708
|
-
for (var
|
|
3694
|
+
for (var l = [], u = 0, h = e; u < h.length; u++) {
|
|
3709
3695
|
var c = h[u];
|
|
3710
|
-
if (
|
|
3711
|
-
|
|
3696
|
+
if (Kt(c)) {
|
|
3697
|
+
l.push({
|
|
3712
3698
|
type: W.literal,
|
|
3713
3699
|
value: c.value
|
|
3714
3700
|
});
|
|
3715
3701
|
continue;
|
|
3716
3702
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
typeof s == "number" &&
|
|
3703
|
+
if (mi(c)) {
|
|
3704
|
+
typeof s == "number" && l.push({
|
|
3719
3705
|
type: W.literal,
|
|
3720
3706
|
value: r.getNumberFormat(t).format(s)
|
|
3721
3707
|
});
|
|
@@ -3723,61 +3709,61 @@ function it(e, t, r, n, i, s, a) {
|
|
|
3723
3709
|
}
|
|
3724
3710
|
var f = c.value;
|
|
3725
3711
|
if (!(i && f in i))
|
|
3726
|
-
throw new
|
|
3712
|
+
throw new zi(f, a);
|
|
3727
3713
|
var p = i[f];
|
|
3728
|
-
if (
|
|
3729
|
-
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""),
|
|
3714
|
+
if (pi(c)) {
|
|
3715
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
|
|
3730
3716
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3731
3717
|
value: p
|
|
3732
3718
|
});
|
|
3733
3719
|
continue;
|
|
3734
3720
|
}
|
|
3735
|
-
if (
|
|
3736
|
-
var m = typeof c.style == "string" ? n.date[c.style] :
|
|
3737
|
-
|
|
3721
|
+
if (Ir(c)) {
|
|
3722
|
+
var m = typeof c.style == "string" ? n.date[c.style] : St(c.style) ? c.style.parsedOptions : void 0;
|
|
3723
|
+
l.push({
|
|
3738
3724
|
type: W.literal,
|
|
3739
3725
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3740
3726
|
});
|
|
3741
3727
|
continue;
|
|
3742
3728
|
}
|
|
3743
|
-
if (
|
|
3744
|
-
var m = typeof c.style == "string" ? n.time[c.style] :
|
|
3745
|
-
|
|
3729
|
+
if (Mr(c)) {
|
|
3730
|
+
var m = typeof c.style == "string" ? n.time[c.style] : St(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3731
|
+
l.push({
|
|
3746
3732
|
type: W.literal,
|
|
3747
3733
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3748
3734
|
});
|
|
3749
3735
|
continue;
|
|
3750
3736
|
}
|
|
3751
|
-
if (
|
|
3752
|
-
var m = typeof c.style == "string" ? n.number[c.style] :
|
|
3753
|
-
m && m.scale && (p = p * (m.scale || 1)),
|
|
3737
|
+
if (Hr(c)) {
|
|
3738
|
+
var m = typeof c.style == "string" ? n.number[c.style] : Lr(c.style) ? c.style.parsedOptions : void 0;
|
|
3739
|
+
m && m.scale && (p = p * (m.scale || 1)), l.push({
|
|
3754
3740
|
type: W.literal,
|
|
3755
3741
|
value: r.getNumberFormat(t, m).format(p)
|
|
3756
3742
|
});
|
|
3757
3743
|
continue;
|
|
3758
3744
|
}
|
|
3759
|
-
if (
|
|
3745
|
+
if (Rr(c)) {
|
|
3760
3746
|
var v = c.children, w = c.value, C = i[w];
|
|
3761
|
-
if (!
|
|
3762
|
-
throw new
|
|
3747
|
+
if (!Xi(C))
|
|
3748
|
+
throw new Vi(w, "function", a);
|
|
3763
3749
|
var y = it(v, t, r, n, i, s), B = C(y.map(function(U) {
|
|
3764
3750
|
return U.value;
|
|
3765
3751
|
}));
|
|
3766
|
-
Array.isArray(B) || (B = [B]),
|
|
3752
|
+
Array.isArray(B) || (B = [B]), l.push.apply(l, B.map(function(U) {
|
|
3767
3753
|
return {
|
|
3768
3754
|
type: typeof U == "string" ? W.literal : W.object,
|
|
3769
3755
|
value: U
|
|
3770
3756
|
};
|
|
3771
3757
|
}));
|
|
3772
3758
|
}
|
|
3773
|
-
if (
|
|
3759
|
+
if (Nr(c)) {
|
|
3774
3760
|
var L = c.options[p] || c.options.other;
|
|
3775
3761
|
if (!L)
|
|
3776
|
-
throw new
|
|
3777
|
-
|
|
3762
|
+
throw new ar(c.value, p, Object.keys(c.options), a);
|
|
3763
|
+
l.push.apply(l, it(L.value, t, r, n, i));
|
|
3778
3764
|
continue;
|
|
3779
3765
|
}
|
|
3780
|
-
if (
|
|
3766
|
+
if (Or(c)) {
|
|
3781
3767
|
var L = c.options["=".concat(p)];
|
|
3782
3768
|
if (!L) {
|
|
3783
3769
|
if (!Intl.PluralRules)
|
|
@@ -3788,24 +3774,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3788
3774
|
L = c.options[D] || c.options.other;
|
|
3789
3775
|
}
|
|
3790
3776
|
if (!L)
|
|
3791
|
-
throw new
|
|
3792
|
-
|
|
3777
|
+
throw new ar(c.value, p, Object.keys(c.options), a);
|
|
3778
|
+
l.push.apply(l, it(L.value, t, r, n, i, p - (c.offset || 0)));
|
|
3793
3779
|
continue;
|
|
3794
3780
|
}
|
|
3795
3781
|
}
|
|
3796
|
-
return
|
|
3782
|
+
return Wi(l);
|
|
3797
3783
|
}
|
|
3798
|
-
function
|
|
3784
|
+
function Zi(e, t) {
|
|
3799
3785
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3800
3786
|
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
|
3801
3787
|
}, {})) : e;
|
|
3802
3788
|
}
|
|
3803
|
-
function
|
|
3789
|
+
function Yi(e, t) {
|
|
3804
3790
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3805
|
-
return r[n] =
|
|
3791
|
+
return r[n] = Zi(e[n], t[n]), r;
|
|
3806
3792
|
}, S({}, e)) : e;
|
|
3807
3793
|
}
|
|
3808
|
-
function
|
|
3794
|
+
function vt(e) {
|
|
3809
3795
|
return {
|
|
3810
3796
|
create: function() {
|
|
3811
3797
|
return {
|
|
@@ -3819,39 +3805,39 @@ function yt(e) {
|
|
|
3819
3805
|
}
|
|
3820
3806
|
};
|
|
3821
3807
|
}
|
|
3822
|
-
function
|
|
3808
|
+
function Qi(e) {
|
|
3823
3809
|
return e === void 0 && (e = {
|
|
3824
3810
|
number: {},
|
|
3825
3811
|
dateTime: {},
|
|
3826
3812
|
pluralRules: {}
|
|
3827
3813
|
}), {
|
|
3828
|
-
getNumberFormat:
|
|
3814
|
+
getNumberFormat: gt(function() {
|
|
3829
3815
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3830
3816
|
r[n] = arguments[n];
|
|
3831
3817
|
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3832
3818
|
}, {
|
|
3833
|
-
cache:
|
|
3834
|
-
strategy:
|
|
3819
|
+
cache: vt(e.number),
|
|
3820
|
+
strategy: bt.variadic
|
|
3835
3821
|
}),
|
|
3836
|
-
getDateTimeFormat:
|
|
3822
|
+
getDateTimeFormat: gt(function() {
|
|
3837
3823
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3838
3824
|
r[n] = arguments[n];
|
|
3839
3825
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3840
3826
|
}, {
|
|
3841
|
-
cache:
|
|
3842
|
-
strategy:
|
|
3827
|
+
cache: vt(e.dateTime),
|
|
3828
|
+
strategy: bt.variadic
|
|
3843
3829
|
}),
|
|
3844
|
-
getPluralRules:
|
|
3830
|
+
getPluralRules: gt(function() {
|
|
3845
3831
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3846
3832
|
r[n] = arguments[n];
|
|
3847
3833
|
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3848
3834
|
}, {
|
|
3849
|
-
cache:
|
|
3850
|
-
strategy:
|
|
3835
|
+
cache: vt(e.pluralRules),
|
|
3836
|
+
strategy: bt.variadic
|
|
3851
3837
|
})
|
|
3852
3838
|
};
|
|
3853
3839
|
}
|
|
3854
|
-
var
|
|
3840
|
+
var Ji = (
|
|
3855
3841
|
/** @class */
|
|
3856
3842
|
function() {
|
|
3857
3843
|
function e(t, r, n, i) {
|
|
@@ -3883,13 +3869,13 @@ var Ki = (
|
|
|
3883
3869
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3884
3870
|
var a = i || {};
|
|
3885
3871
|
a.formatters;
|
|
3886
|
-
var
|
|
3887
|
-
this.ast = e.__parse(t, S(S({},
|
|
3872
|
+
var l = An(a, ["formatters"]);
|
|
3873
|
+
this.ast = e.__parse(t, S(S({}, l), { locale: this.resolvedLocale }));
|
|
3888
3874
|
} else
|
|
3889
3875
|
this.ast = t;
|
|
3890
3876
|
if (!Array.isArray(this.ast))
|
|
3891
3877
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3892
|
-
this.formats =
|
|
3878
|
+
this.formats = Yi(e.formats, n), this.formatters = i && i.formatters || Qi(this.formatterCache);
|
|
3893
3879
|
}
|
|
3894
3880
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3895
3881
|
get: function() {
|
|
@@ -3902,7 +3888,7 @@ var Ki = (
|
|
|
3902
3888
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3903
3889
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3904
3890
|
}
|
|
3905
|
-
}, e.__parse =
|
|
3891
|
+
}, e.__parse = ji, e.formats = {
|
|
3906
3892
|
number: {
|
|
3907
3893
|
integer: {
|
|
3908
3894
|
maximumFractionDigits: 0
|
|
@@ -3963,7 +3949,7 @@ var Ki = (
|
|
|
3963
3949
|
}, e;
|
|
3964
3950
|
}()
|
|
3965
3951
|
);
|
|
3966
|
-
function
|
|
3952
|
+
function qi(e, t) {
|
|
3967
3953
|
if (t == null)
|
|
3968
3954
|
return;
|
|
3969
3955
|
if (t in e)
|
|
@@ -3984,60 +3970,60 @@ function es(e, t) {
|
|
|
3984
3970
|
n = void 0;
|
|
3985
3971
|
return n;
|
|
3986
3972
|
}
|
|
3987
|
-
const ce = {},
|
|
3973
|
+
const ce = {}, Ki = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Vr = (e, t) => {
|
|
3988
3974
|
if (t == null)
|
|
3989
3975
|
return;
|
|
3990
3976
|
if (t in ce && e in ce[t])
|
|
3991
3977
|
return ce[t][e];
|
|
3992
3978
|
const r = ct(t);
|
|
3993
3979
|
for (let n = 0; n < r.length; n++) {
|
|
3994
|
-
const i = r[n], s =
|
|
3980
|
+
const i = r[n], s = ts(i, e);
|
|
3995
3981
|
if (s)
|
|
3996
|
-
return
|
|
3982
|
+
return Ki(e, t, s);
|
|
3997
3983
|
}
|
|
3998
3984
|
};
|
|
3999
|
-
let
|
|
3985
|
+
let Ft;
|
|
4000
3986
|
const Ze = ut({});
|
|
4001
|
-
function
|
|
4002
|
-
return
|
|
3987
|
+
function es(e) {
|
|
3988
|
+
return Ft[e] || null;
|
|
4003
3989
|
}
|
|
4004
|
-
function
|
|
4005
|
-
return e in
|
|
3990
|
+
function zr(e) {
|
|
3991
|
+
return e in Ft;
|
|
4006
3992
|
}
|
|
4007
|
-
function
|
|
4008
|
-
if (!
|
|
3993
|
+
function ts(e, t) {
|
|
3994
|
+
if (!zr(e))
|
|
4009
3995
|
return null;
|
|
4010
|
-
const r =
|
|
4011
|
-
return
|
|
3996
|
+
const r = es(e);
|
|
3997
|
+
return qi(r, t);
|
|
4012
3998
|
}
|
|
4013
|
-
function
|
|
3999
|
+
function rs(e) {
|
|
4014
4000
|
if (e == null)
|
|
4015
4001
|
return;
|
|
4016
4002
|
const t = ct(e);
|
|
4017
4003
|
for (let r = 0; r < t.length; r++) {
|
|
4018
4004
|
const n = t[r];
|
|
4019
|
-
if (
|
|
4005
|
+
if (zr(n))
|
|
4020
4006
|
return n;
|
|
4021
4007
|
}
|
|
4022
4008
|
}
|
|
4023
|
-
function
|
|
4024
|
-
delete ce[e], Ze.update((r) => (r[e] =
|
|
4009
|
+
function Wr(e, ...t) {
|
|
4010
|
+
delete ce[e], Ze.update((r) => (r[e] = ai.all([r[e] || {}, ...t]), r));
|
|
4025
4011
|
}
|
|
4026
4012
|
Le(
|
|
4027
4013
|
[Ze],
|
|
4028
4014
|
([e]) => Object.keys(e)
|
|
4029
4015
|
);
|
|
4030
|
-
Ze.subscribe((e) =>
|
|
4016
|
+
Ze.subscribe((e) => Ft = e);
|
|
4031
4017
|
const st = {};
|
|
4032
|
-
function
|
|
4018
|
+
function ns(e, t) {
|
|
4033
4019
|
st[e].delete(t), st[e].size === 0 && delete st[e];
|
|
4034
4020
|
}
|
|
4035
|
-
function
|
|
4021
|
+
function Xr(e) {
|
|
4036
4022
|
return st[e];
|
|
4037
4023
|
}
|
|
4038
|
-
function
|
|
4024
|
+
function is(e) {
|
|
4039
4025
|
return ct(e).map((t) => {
|
|
4040
|
-
const r =
|
|
4026
|
+
const r = Xr(t);
|
|
4041
4027
|
return [t, r ? [...r] : []];
|
|
4042
4028
|
}).filter(([, t]) => t.length > 0);
|
|
4043
4029
|
}
|
|
@@ -4045,31 +4031,31 @@ function Ot(e) {
|
|
|
4045
4031
|
return e == null ? !1 : ct(e).some(
|
|
4046
4032
|
(t) => {
|
|
4047
4033
|
var r;
|
|
4048
|
-
return (r =
|
|
4034
|
+
return (r = Xr(t)) == null ? void 0 : r.size;
|
|
4049
4035
|
}
|
|
4050
4036
|
);
|
|
4051
4037
|
}
|
|
4052
|
-
function
|
|
4038
|
+
function ss(e, t) {
|
|
4053
4039
|
return Promise.all(
|
|
4054
|
-
t.map((n) => (
|
|
4055
|
-
).then((n) =>
|
|
4040
|
+
t.map((n) => (ns(e, n), n().then((i) => i.default || i)))
|
|
4041
|
+
).then((n) => Wr(e, ...n));
|
|
4056
4042
|
}
|
|
4057
4043
|
const je = {};
|
|
4058
|
-
function
|
|
4044
|
+
function Zr(e) {
|
|
4059
4045
|
if (!Ot(e))
|
|
4060
4046
|
return e in je ? je[e] : Promise.resolve();
|
|
4061
|
-
const t =
|
|
4047
|
+
const t = is(e);
|
|
4062
4048
|
return je[e] = Promise.all(
|
|
4063
4049
|
t.map(
|
|
4064
|
-
([r, n]) =>
|
|
4050
|
+
([r, n]) => ss(r, n)
|
|
4065
4051
|
)
|
|
4066
4052
|
).then(() => {
|
|
4067
4053
|
if (Ot(e))
|
|
4068
|
-
return
|
|
4054
|
+
return Zr(e);
|
|
4069
4055
|
delete je[e];
|
|
4070
4056
|
}), je[e];
|
|
4071
4057
|
}
|
|
4072
|
-
const
|
|
4058
|
+
const as = {
|
|
4073
4059
|
number: {
|
|
4074
4060
|
scientific: { notation: "scientific" },
|
|
4075
4061
|
engineering: { notation: "engineering" },
|
|
@@ -4098,57 +4084,57 @@ const ls = {
|
|
|
4098
4084
|
timeZoneName: "short"
|
|
4099
4085
|
}
|
|
4100
4086
|
}
|
|
4101
|
-
},
|
|
4087
|
+
}, os = {
|
|
4102
4088
|
fallbackLocale: null,
|
|
4103
4089
|
loadingDelay: 200,
|
|
4104
|
-
formats:
|
|
4090
|
+
formats: as,
|
|
4105
4091
|
warnOnMissingMessages: !0,
|
|
4106
4092
|
handleMissingMessage: void 0,
|
|
4107
4093
|
ignoreTag: !0
|
|
4108
|
-
},
|
|
4109
|
-
function
|
|
4110
|
-
return
|
|
4111
|
-
}
|
|
4112
|
-
const
|
|
4113
|
-
var
|
|
4114
|
-
for (var r in t
|
|
4115
|
-
|
|
4116
|
-
if (
|
|
4117
|
-
for (var r of
|
|
4118
|
-
|
|
4094
|
+
}, ls = os;
|
|
4095
|
+
function Oe() {
|
|
4096
|
+
return ls;
|
|
4097
|
+
}
|
|
4098
|
+
const yt = ut(!1);
|
|
4099
|
+
var us = Object.defineProperty, hs = Object.defineProperties, cs = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, fs = Object.prototype.hasOwnProperty, ds = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? us(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ps = (e, t) => {
|
|
4100
|
+
for (var r in t)
|
|
4101
|
+
fs.call(t, r) && lr(e, r, t[r]);
|
|
4102
|
+
if (or)
|
|
4103
|
+
for (var r of or(t))
|
|
4104
|
+
ds.call(t, r) && lr(e, r, t[r]);
|
|
4119
4105
|
return e;
|
|
4120
|
-
},
|
|
4121
|
-
let
|
|
4106
|
+
}, ms = (e, t) => hs(e, cs(t));
|
|
4107
|
+
let Rt;
|
|
4122
4108
|
const at = ut(null);
|
|
4123
|
-
function
|
|
4109
|
+
function ur(e) {
|
|
4124
4110
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4125
4111
|
}
|
|
4126
|
-
function ct(e, t =
|
|
4127
|
-
const r =
|
|
4128
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4112
|
+
function ct(e, t = Oe().fallbackLocale) {
|
|
4113
|
+
const r = ur(e);
|
|
4114
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ur(t)])] : r;
|
|
4129
4115
|
}
|
|
4130
4116
|
function ge() {
|
|
4131
|
-
return
|
|
4117
|
+
return Rt != null ? Rt : void 0;
|
|
4132
4118
|
}
|
|
4133
4119
|
at.subscribe((e) => {
|
|
4134
|
-
|
|
4120
|
+
Rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4135
4121
|
});
|
|
4136
|
-
const
|
|
4137
|
-
if (e &&
|
|
4138
|
-
const { loadingDelay: t } =
|
|
4122
|
+
const gs = (e) => {
|
|
4123
|
+
if (e && rs(e) && Ot(e)) {
|
|
4124
|
+
const { loadingDelay: t } = Oe();
|
|
4139
4125
|
let r;
|
|
4140
4126
|
return typeof window != "undefined" && ge() != null && t ? r = window.setTimeout(
|
|
4141
|
-
() =>
|
|
4127
|
+
() => yt.set(!0),
|
|
4142
4128
|
t
|
|
4143
|
-
) :
|
|
4129
|
+
) : yt.set(!0), Zr(e).then(() => {
|
|
4144
4130
|
at.set(e);
|
|
4145
4131
|
}).finally(() => {
|
|
4146
|
-
clearTimeout(r),
|
|
4132
|
+
clearTimeout(r), yt.set(!1);
|
|
4147
4133
|
});
|
|
4148
4134
|
}
|
|
4149
4135
|
return at.set(e);
|
|
4150
|
-
}, Fe =
|
|
4151
|
-
set:
|
|
4136
|
+
}, Fe = ms(ps({}, at), {
|
|
4137
|
+
set: gs
|
|
4152
4138
|
}), ft = (e) => {
|
|
4153
4139
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4154
4140
|
return (n) => {
|
|
@@ -4156,42 +4142,42 @@ const ws = (e) => {
|
|
|
4156
4142
|
return i in t ? t[i] : t[i] = e(n);
|
|
4157
4143
|
};
|
|
4158
4144
|
};
|
|
4159
|
-
var
|
|
4145
|
+
var bs = Object.defineProperty, ot = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
|
|
4160
4146
|
for (var r in t || (t = {}))
|
|
4161
|
-
|
|
4147
|
+
Yr.call(t, r) && hr(e, r, t[r]);
|
|
4162
4148
|
if (ot)
|
|
4163
4149
|
for (var r of ot(t))
|
|
4164
|
-
|
|
4150
|
+
Qr.call(t, r) && hr(e, r, t[r]);
|
|
4165
4151
|
return e;
|
|
4166
4152
|
}, ke = (e, t) => {
|
|
4167
4153
|
var r = {};
|
|
4168
4154
|
for (var n in e)
|
|
4169
|
-
|
|
4155
|
+
Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4170
4156
|
if (e != null && ot)
|
|
4171
4157
|
for (var n of ot(e))
|
|
4172
|
-
t.indexOf(n) < 0 &&
|
|
4158
|
+
t.indexOf(n) < 0 && Qr.call(e, n) && (r[n] = e[n]);
|
|
4173
4159
|
return r;
|
|
4174
4160
|
};
|
|
4175
4161
|
const Xe = (e, t) => {
|
|
4176
|
-
const { formats: r } =
|
|
4162
|
+
const { formats: r } = Oe();
|
|
4177
4163
|
if (e in r && t in r[e])
|
|
4178
4164
|
return r[e][t];
|
|
4179
4165
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4180
|
-
},
|
|
4166
|
+
}, ws = ft(
|
|
4181
4167
|
(e) => {
|
|
4182
4168
|
var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
|
|
4183
4169
|
if (r == null)
|
|
4184
4170
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4185
4171
|
return n && (i = Xe("number", n)), new Intl.NumberFormat(r, i);
|
|
4186
4172
|
}
|
|
4187
|
-
),
|
|
4173
|
+
), vs = ft(
|
|
4188
4174
|
(e) => {
|
|
4189
4175
|
var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
|
|
4190
4176
|
if (r == null)
|
|
4191
4177
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4192
4178
|
return n ? i = Xe("date", n) : Object.keys(i).length === 0 && (i = Xe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4193
4179
|
}
|
|
4194
|
-
),
|
|
4180
|
+
), ys = ft(
|
|
4195
4181
|
(e) => {
|
|
4196
4182
|
var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
|
|
4197
4183
|
if (r == null)
|
|
@@ -4200,38 +4186,38 @@ const Xe = (e, t) => {
|
|
|
4200
4186
|
);
|
|
4201
4187
|
return n ? i = Xe("time", n) : Object.keys(i).length === 0 && (i = Xe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4202
4188
|
}
|
|
4203
|
-
),
|
|
4189
|
+
), _s = (e = {}) => {
|
|
4204
4190
|
var t = e, {
|
|
4205
4191
|
locale: r = ge()
|
|
4206
4192
|
} = t, n = ke(t, [
|
|
4207
4193
|
"locale"
|
|
4208
4194
|
]);
|
|
4209
|
-
return
|
|
4210
|
-
},
|
|
4195
|
+
return ws(kt({ locale: r }, n));
|
|
4196
|
+
}, Ps = (e = {}) => {
|
|
4211
4197
|
var t = e, {
|
|
4212
4198
|
locale: r = ge()
|
|
4213
4199
|
} = t, n = ke(t, [
|
|
4214
4200
|
"locale"
|
|
4215
4201
|
]);
|
|
4216
|
-
return
|
|
4217
|
-
},
|
|
4202
|
+
return vs(kt({ locale: r }, n));
|
|
4203
|
+
}, xs = (e = {}) => {
|
|
4218
4204
|
var t = e, {
|
|
4219
4205
|
locale: r = ge()
|
|
4220
4206
|
} = t, n = ke(t, [
|
|
4221
4207
|
"locale"
|
|
4222
4208
|
]);
|
|
4223
|
-
return
|
|
4224
|
-
},
|
|
4209
|
+
return ys(kt({ locale: r }, n));
|
|
4210
|
+
}, Es = ft(
|
|
4225
4211
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4226
|
-
(e, t = ge()) => new
|
|
4227
|
-
ignoreTag:
|
|
4212
|
+
(e, t = ge()) => new Ji(e, t, Oe().formats, {
|
|
4213
|
+
ignoreTag: Oe().ignoreTag
|
|
4228
4214
|
})
|
|
4229
|
-
),
|
|
4215
|
+
), Ts = (e, t = {}) => {
|
|
4230
4216
|
var r, n, i, s;
|
|
4231
4217
|
let a = t;
|
|
4232
4218
|
typeof e == "object" && (a = e, e = a.id);
|
|
4233
4219
|
const {
|
|
4234
|
-
values:
|
|
4220
|
+
values: l,
|
|
4235
4221
|
locale: u = ge(),
|
|
4236
4222
|
default: h
|
|
4237
4223
|
} = a;
|
|
@@ -4239,18 +4225,18 @@ const Xe = (e, t) => {
|
|
|
4239
4225
|
throw new Error(
|
|
4240
4226
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4241
4227
|
);
|
|
4242
|
-
let c =
|
|
4228
|
+
let c = Vr(e, u);
|
|
4243
4229
|
if (!c)
|
|
4244
|
-
c = (s = (i = (n = (r =
|
|
4230
|
+
c = (s = (i = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
|
|
4245
4231
|
else if (typeof c != "string")
|
|
4246
4232
|
return console.warn(
|
|
4247
4233
|
`[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
4234
|
), c;
|
|
4249
|
-
if (!
|
|
4235
|
+
if (!l)
|
|
4250
4236
|
return c;
|
|
4251
4237
|
let f = c;
|
|
4252
4238
|
try {
|
|
4253
|
-
f =
|
|
4239
|
+
f = Es(c, u).format(l);
|
|
4254
4240
|
} catch (p) {
|
|
4255
4241
|
p instanceof Error && console.warn(
|
|
4256
4242
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4258,20 +4244,20 @@ const Xe = (e, t) => {
|
|
|
4258
4244
|
);
|
|
4259
4245
|
}
|
|
4260
4246
|
return f;
|
|
4261
|
-
},
|
|
4247
|
+
}, Cs = (e, t) => xs(t).format(e), Bs = (e, t) => Ps(t).format(e), Ss = (e, t) => _s(t).format(e), As = (e, t = ge()) => Vr(e, t), Hs = Le([Fe, Ze], () => Ts);
|
|
4248
|
+
Le([Fe], () => Cs);
|
|
4249
|
+
Le([Fe], () => Bs);
|
|
4262
4250
|
Le([Fe], () => Ss);
|
|
4263
|
-
Le([Fe], () => As);
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
function dr(e, t) {
|
|
4269
|
-
Yr(e, t);
|
|
4251
|
+
Le([Fe, Ze], () => As);
|
|
4252
|
+
window.emWidgets = { topic: jn };
|
|
4253
|
+
const Is = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4254
|
+
function cr(e, t) {
|
|
4255
|
+
Wr(e, t);
|
|
4270
4256
|
}
|
|
4271
|
-
function
|
|
4257
|
+
function Ms(e) {
|
|
4272
4258
|
Fe.set(e);
|
|
4273
4259
|
}
|
|
4274
|
-
const
|
|
4260
|
+
const fr = {
|
|
4275
4261
|
en: {
|
|
4276
4262
|
titleChangePassword: "Change Password",
|
|
4277
4263
|
currentPassword: "Current Password:",
|
|
@@ -4455,21 +4441,21 @@ const pr = {
|
|
|
4455
4441
|
backButtonText: "Back"
|
|
4456
4442
|
}
|
|
4457
4443
|
};
|
|
4458
|
-
function
|
|
4459
|
-
|
|
4444
|
+
function Ns(e) {
|
|
4445
|
+
sn(e, "svelte-1sohqqw", '.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, 10px);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:var(--emw--border-radius-medium, 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, 10px);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}');
|
|
4460
4446
|
}
|
|
4461
|
-
function
|
|
4447
|
+
function Os(e) {
|
|
4462
4448
|
let t;
|
|
4463
4449
|
function r(s, a) {
|
|
4464
4450
|
return (
|
|
4465
4451
|
/*passwordChanged*/
|
|
4466
|
-
s[2] ?
|
|
4452
|
+
s[2] ? Rs : Ls
|
|
4467
4453
|
);
|
|
4468
4454
|
}
|
|
4469
4455
|
let n = r(e), i = n(e);
|
|
4470
4456
|
return {
|
|
4471
4457
|
c() {
|
|
4472
|
-
t = _("form"), i.c(),
|
|
4458
|
+
t = _("form"), i.c(), o(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
|
|
4473
4459
|
(e[20] ? "PlayerChangePasswordWrapperMobile" : ""));
|
|
4474
4460
|
},
|
|
4475
4461
|
m(s, a) {
|
|
@@ -4483,11 +4469,11 @@ function Ls(e) {
|
|
|
4483
4469
|
}
|
|
4484
4470
|
};
|
|
4485
4471
|
}
|
|
4486
|
-
function
|
|
4472
|
+
function Rs(e) {
|
|
4487
4473
|
let t, r, n, i = (
|
|
4488
4474
|
/*$_*/
|
|
4489
4475
|
e[19]("changePasswordText") + ""
|
|
4490
|
-
), s, a,
|
|
4476
|
+
), s, a, l, u, h, c, f, p, m = (
|
|
4491
4477
|
/*$_*/
|
|
4492
4478
|
e[19]("passwordReset") + ""
|
|
4493
4479
|
), v, w, C, y = (
|
|
@@ -4496,50 +4482,50 @@ function Fs(e) {
|
|
|
4496
4482
|
), B, L, D, U = (
|
|
4497
4483
|
/*$_*/
|
|
4498
4484
|
e[19]("backButtonText") + ""
|
|
4499
|
-
),
|
|
4485
|
+
), R, X, te, G = (
|
|
4500
4486
|
/*isMobile*/
|
|
4501
|
-
e[20] &&
|
|
4487
|
+
e[20] && Fs(e)
|
|
4502
4488
|
);
|
|
4503
4489
|
return {
|
|
4504
4490
|
c() {
|
|
4505
|
-
G && G.c(), t = k(), r = _("div"), n = _("h3"), s = M(i), a = k(),
|
|
4491
|
+
G && G.c(), t = k(), r = _("div"), n = _("h3"), s = M(i), a = k(), l = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = k(), f = _("div"), p = _("h3"), v = M(m), w = k(), C = _("p"), B = M(y), L = k(), D = _("div"), R = M(U), o(r, "class", "PlayerChangePasswordHeader"), o(h, "class", "IconContainer"), o(f, "class", "TextContainer"), o(u, "class", "SuccessWrapper"), o(D, "class", "PlayerChangePasswordBackButton"), o(l, "class", "ChangedPasswordSuccessfully");
|
|
4506
4492
|
},
|
|
4507
|
-
m(N,
|
|
4508
|
-
G && G.m(N,
|
|
4493
|
+
m(N, E) {
|
|
4494
|
+
G && G.m(N, E), H(N, t, E), H(N, r, E), d(r, n), d(n, s), H(N, a, E), H(N, l, E), d(l, u), d(u, h), d(u, c), d(u, f), d(f, p), d(p, v), d(f, w), d(f, C), d(C, B), d(l, L), d(l, D), d(D, R), X || (te = z(
|
|
4509
4495
|
D,
|
|
4510
4496
|
"click",
|
|
4511
4497
|
/*click_handler_9*/
|
|
4512
4498
|
e[47]
|
|
4513
4499
|
), X = !0);
|
|
4514
4500
|
},
|
|
4515
|
-
p(N,
|
|
4501
|
+
p(N, E) {
|
|
4516
4502
|
/*isMobile*/
|
|
4517
|
-
N[20] && G.p(N,
|
|
4503
|
+
N[20] && G.p(N, E), E[0] & /*$_*/
|
|
4518
4504
|
524288 && i !== (i = /*$_*/
|
|
4519
|
-
N[19]("changePasswordText") + "") && $(s, i),
|
|
4505
|
+
N[19]("changePasswordText") + "") && $(s, i), E[0] & /*$_*/
|
|
4520
4506
|
524288 && m !== (m = /*$_*/
|
|
4521
|
-
N[19]("passwordReset") + "") && $(v, m),
|
|
4507
|
+
N[19]("passwordReset") + "") && $(v, m), E[0] & /*$_*/
|
|
4522
4508
|
524288 && y !== (y = /*$_*/
|
|
4523
|
-
N[19]("passwordResetConfirmation") + "") && $(B, y),
|
|
4509
|
+
N[19]("passwordResetConfirmation") + "") && $(B, y), E[0] & /*$_*/
|
|
4524
4510
|
524288 && U !== (U = /*$_*/
|
|
4525
|
-
N[19]("backButtonText") + "") && $(
|
|
4511
|
+
N[19]("backButtonText") + "") && $(R, U);
|
|
4526
4512
|
},
|
|
4527
4513
|
d(N) {
|
|
4528
|
-
N && (A(t), A(r), A(a), A(
|
|
4514
|
+
N && (A(t), A(r), A(a), A(l)), G && G.d(N), X = !1, te();
|
|
4529
4515
|
}
|
|
4530
4516
|
};
|
|
4531
4517
|
}
|
|
4532
|
-
function
|
|
4518
|
+
function Ls(e) {
|
|
4533
4519
|
let t, r, n = (
|
|
4534
4520
|
/*$_*/
|
|
4535
4521
|
e[19]("titleChangePassword") + ""
|
|
4536
|
-
), i, s, a,
|
|
4522
|
+
), i, s, a, l, u, h = (
|
|
4537
4523
|
/*$_*/
|
|
4538
4524
|
e[19]("currentPassword") + ""
|
|
4539
4525
|
), c, f, p, m, v, w, C, y, B, L = (
|
|
4540
4526
|
/*$_*/
|
|
4541
4527
|
e[19]("newPassword") + ""
|
|
4542
|
-
), D, U,
|
|
4528
|
+
), D, U, R, X, te, G, N, E, Z, fe = (
|
|
4543
4529
|
/*$_*/
|
|
4544
4530
|
e[19]("confirmPassword") + ""
|
|
4545
4531
|
), be, De, Y, ne, Ue, we, le, de, ue, Q, pe = (
|
|
@@ -4547,22 +4533,22 @@ function ks(e) {
|
|
|
4547
4533
|
e[19]("submitChangePassword") + ""
|
|
4548
4534
|
), $e, me, ve, Ge, Ye, ie = (
|
|
4549
4535
|
/*isMobile*/
|
|
4550
|
-
e[20] &&
|
|
4536
|
+
e[20] && ks(e)
|
|
4551
4537
|
);
|
|
4552
4538
|
function Qe(I, P) {
|
|
4553
4539
|
return (
|
|
4554
4540
|
/*isCurrentPasswordVisible*/
|
|
4555
|
-
I[10] ?
|
|
4541
|
+
I[10] ? Us : Ds
|
|
4556
4542
|
);
|
|
4557
4543
|
}
|
|
4558
4544
|
let ye = Qe(e), J = ye(e), j = (
|
|
4559
4545
|
/*invalidCurrentPassword*/
|
|
4560
|
-
e[4] &&
|
|
4546
|
+
e[4] && dr(e)
|
|
4561
4547
|
);
|
|
4562
4548
|
function Je(I, P) {
|
|
4563
4549
|
return (
|
|
4564
4550
|
/*isNewPasswordVisible*/
|
|
4565
|
-
I[11] ?
|
|
4551
|
+
I[11] ? Vs : js
|
|
4566
4552
|
);
|
|
4567
4553
|
}
|
|
4568
4554
|
let _e = Je(e), q = _e(e);
|
|
@@ -4571,51 +4557,51 @@ function ks(e) {
|
|
|
4571
4557
|
/*oldPasswordSameAsNew*/
|
|
4572
4558
|
I[13]
|
|
4573
4559
|
)
|
|
4574
|
-
return
|
|
4560
|
+
return Ws;
|
|
4575
4561
|
if (
|
|
4576
4562
|
/*invalidNewPassword*/
|
|
4577
4563
|
I[5]
|
|
4578
4564
|
)
|
|
4579
|
-
return
|
|
4565
|
+
return zs;
|
|
4580
4566
|
}
|
|
4581
4567
|
let he = qe(e), V = he && he(e);
|
|
4582
4568
|
function Ke(I, P) {
|
|
4583
4569
|
return (
|
|
4584
4570
|
/*isConfirmPasswordVisible*/
|
|
4585
|
-
I[12] ?
|
|
4571
|
+
I[12] ? Qs : Ys
|
|
4586
4572
|
);
|
|
4587
4573
|
}
|
|
4588
4574
|
let Pe = Ke(e), K = Pe(e), b = (
|
|
4589
4575
|
/*invalidConfirmPassword*/
|
|
4590
|
-
e[6] &&
|
|
4591
|
-
),
|
|
4576
|
+
e[6] && pr(e)
|
|
4577
|
+
), O = (
|
|
4592
4578
|
/*showErrorPasswordChanged*/
|
|
4593
|
-
e[18] &&
|
|
4579
|
+
e[18] && mr(e)
|
|
4594
4580
|
);
|
|
4595
4581
|
return {
|
|
4596
4582
|
c() {
|
|
4597
|
-
ie && ie.c(), t = k(), r = _("h2"), i = M(n), s = k(), a = _("section"),
|
|
4598
|
-
(e[20] ? "ChangePasswordTitleNone" : "")),
|
|
4599
|
-
(e[4] ? "InvalidField" : "")),
|
|
4600
|
-
(e[5] ? "InvalidField" : "")),
|
|
4601
|
-
(e[6] ? "InvalidField" : "")),
|
|
4583
|
+
ie && ie.c(), t = k(), r = _("h2"), i = M(n), s = k(), a = _("section"), l = _("div"), u = _("label"), c = M(h), f = k(), p = _("input"), m = k(), J.c(), v = k(), j && j.c(), C = k(), y = _("div"), B = _("label"), D = M(L), U = k(), R = _("input"), X = k(), q.c(), te = k(), V && V.c(), N = k(), E = _("div"), Z = _("label"), be = M(fe), De = k(), Y = _("input"), ne = k(), K.c(), Ue = k(), b && b.c(), le = k(), O && O.c(), de = k(), ue = _("section"), Q = _("button"), $e = M(pe), o(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4584
|
+
(e[20] ? "ChangePasswordTitleNone" : "")), o(u, "for", "CurrentPassword"), o(p, "id", "CurrentPassword"), o(p, "type", "password"), o(l, "class", w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4585
|
+
(e[4] ? "InvalidField" : "")), o(B, "for", "NewPassword"), o(R, "id", "NewPassword"), o(R, "autocomplete", "new-password"), o(R, "type", "password"), o(y, "class", G = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4586
|
+
(e[5] ? "InvalidField" : "")), o(Z, "for", "ConfirmPassword"), o(Y, "id", "ConfirmPassword"), o(Y, "type", "password"), o(E, "class", we = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4587
|
+
(e[6] ? "InvalidField" : "")), o(a, "class", "PlayerChangePasswordContent"), o(Q, "class", me = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4602
4588
|
(e[3] ? "" : "ButtonInactive")), Q.disabled = ve = !/*activateSubmit*/
|
|
4603
|
-
e[3],
|
|
4589
|
+
e[3], o(ue, "class", "PlayerChangePasswordButtonsArea");
|
|
4604
4590
|
},
|
|
4605
4591
|
m(I, P) {
|
|
4606
|
-
ie && ie.m(I, P), H(I, t, P), H(I, r, P), d(r, i), H(I, s, P), H(I, a, P), d(a,
|
|
4592
|
+
ie && ie.m(I, P), H(I, t, P), H(I, r, P), d(r, i), H(I, s, P), H(I, a, P), d(a, l), d(l, u), d(u, c), d(l, f), d(l, p), xe(
|
|
4607
4593
|
p,
|
|
4608
4594
|
/*userCurrentPassword*/
|
|
4609
4595
|
e[14]
|
|
4610
|
-
), e[34](p), d(
|
|
4611
|
-
|
|
4596
|
+
), e[34](p), d(l, m), J.m(l, null), d(l, v), j && j.m(l, null), d(a, C), d(a, y), d(y, B), d(B, D), d(y, U), d(y, R), xe(
|
|
4597
|
+
R,
|
|
4612
4598
|
/*userNewPassword*/
|
|
4613
4599
|
e[15]
|
|
4614
|
-
), e[38](
|
|
4600
|
+
), e[38](R), d(y, X), q.m(y, null), d(y, te), V && V.m(y, null), d(a, N), d(a, E), d(E, Z), d(Z, be), d(E, De), d(E, Y), xe(
|
|
4615
4601
|
Y,
|
|
4616
4602
|
/*userConfirmPassword*/
|
|
4617
4603
|
e[16]
|
|
4618
|
-
), e[42](Y), d(
|
|
4604
|
+
), e[42](Y), d(E, ne), K.m(E, null), d(E, Ue), b && b.m(E, null), H(I, le, P), O && O.m(I, P), H(I, de, P), H(I, ue, P), d(ue, Q), d(Q, $e), Ge || (Ye = [
|
|
4619
4605
|
z(
|
|
4620
4606
|
p,
|
|
4621
4607
|
"input",
|
|
@@ -4643,12 +4629,12 @@ function ks(e) {
|
|
|
4643
4629
|
).apply(this, arguments);
|
|
4644
4630
|
}),
|
|
4645
4631
|
z(
|
|
4646
|
-
|
|
4632
|
+
R,
|
|
4647
4633
|
"input",
|
|
4648
4634
|
/*input1_input_handler*/
|
|
4649
4635
|
e[37]
|
|
4650
4636
|
),
|
|
4651
|
-
z(
|
|
4637
|
+
z(R, "blur", function() {
|
|
4652
4638
|
Se(
|
|
4653
4639
|
/*validatePassword*/
|
|
4654
4640
|
e[22](
|
|
@@ -4710,58 +4696,58 @@ function ks(e) {
|
|
|
4710
4696
|
524288 && h !== (h = /*$_*/
|
|
4711
4697
|
e[19]("currentPassword") + "") && $(c, h), P[0] & /*userCurrentPassword*/
|
|
4712
4698
|
16384 && p.value !== /*userCurrentPassword*/
|
|
4713
|
-
e[14] &&
|
|
4699
|
+
e[14] && xe(
|
|
4714
4700
|
p,
|
|
4715
4701
|
/*userCurrentPassword*/
|
|
4716
4702
|
e[14]
|
|
4717
|
-
), ye === (ye = Qe(e)) && J ? J.p(e, P) : (J.d(1), J = ye(e), J && (J.c(), J.m(
|
|
4718
|
-
e[4] ? j ? j.p(e, P) : (j =
|
|
4703
|
+
), ye === (ye = Qe(e)) && J ? J.p(e, P) : (J.d(1), J = ye(e), J && (J.c(), J.m(l, v))), /*invalidCurrentPassword*/
|
|
4704
|
+
e[4] ? j ? j.p(e, P) : (j = dr(e), j.c(), j.m(l, null)) : j && (j.d(1), j = null), P[0] & /*invalidCurrentPassword*/
|
|
4719
4705
|
16 && w !== (w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4720
|
-
(e[4] ? "InvalidField" : "")) && l
|
|
4706
|
+
(e[4] ? "InvalidField" : "")) && o(l, "class", w), P[0] & /*$_*/
|
|
4721
4707
|
524288 && L !== (L = /*$_*/
|
|
4722
4708
|
e[19]("newPassword") + "") && $(D, L), P[0] & /*userNewPassword*/
|
|
4723
|
-
32768 &&
|
|
4724
|
-
e[15] &&
|
|
4725
|
-
|
|
4709
|
+
32768 && R.value !== /*userNewPassword*/
|
|
4710
|
+
e[15] && xe(
|
|
4711
|
+
R,
|
|
4726
4712
|
/*userNewPassword*/
|
|
4727
4713
|
e[15]
|
|
4728
4714
|
), _e === (_e = Je(e)) && q ? q.p(e, P) : (q.d(1), q = _e(e), q && (q.c(), q.m(y, te))), he === (he = qe(e)) && V ? V.p(e, P) : (V && V.d(1), V = he && he(e), V && (V.c(), V.m(y, null))), P[0] & /*invalidNewPassword*/
|
|
4729
4715
|
32 && G !== (G = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4730
|
-
(e[5] ? "InvalidField" : "")) &&
|
|
4716
|
+
(e[5] ? "InvalidField" : "")) && o(y, "class", G), P[0] & /*$_*/
|
|
4731
4717
|
524288 && fe !== (fe = /*$_*/
|
|
4732
4718
|
e[19]("confirmPassword") + "") && $(be, fe), P[0] & /*userConfirmPassword*/
|
|
4733
4719
|
65536 && Y.value !== /*userConfirmPassword*/
|
|
4734
|
-
e[16] &&
|
|
4720
|
+
e[16] && xe(
|
|
4735
4721
|
Y,
|
|
4736
4722
|
/*userConfirmPassword*/
|
|
4737
4723
|
e[16]
|
|
4738
|
-
), Pe === (Pe = Ke(e)) && K ? K.p(e, P) : (K.d(1), K = Pe(e), K && (K.c(), K.m(
|
|
4739
|
-
e[6] ? b ? b.p(e, P) : (b =
|
|
4724
|
+
), Pe === (Pe = Ke(e)) && K ? K.p(e, P) : (K.d(1), K = Pe(e), K && (K.c(), K.m(E, Ue))), /*invalidConfirmPassword*/
|
|
4725
|
+
e[6] ? b ? b.p(e, P) : (b = pr(e), b.c(), b.m(E, null)) : b && (b.d(1), b = null), P[0] & /*invalidConfirmPassword*/
|
|
4740
4726
|
64 && we !== (we = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4741
|
-
(e[6] ? "InvalidField" : "")) &&
|
|
4742
|
-
e[18] ?
|
|
4727
|
+
(e[6] ? "InvalidField" : "")) && o(E, "class", we), /*showErrorPasswordChanged*/
|
|
4728
|
+
e[18] ? O ? O.p(e, P) : (O = mr(e), O.c(), O.m(de.parentNode, de)) : O && (O.d(1), O = null), P[0] & /*$_*/
|
|
4743
4729
|
524288 && pe !== (pe = /*$_*/
|
|
4744
4730
|
e[19]("submitChangePassword") + "") && $($e, pe), P[0] & /*activateSubmit*/
|
|
4745
4731
|
8 && me !== (me = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4746
|
-
(e[3] ? "" : "ButtonInactive")) &&
|
|
4732
|
+
(e[3] ? "" : "ButtonInactive")) && o(Q, "class", me), P[0] & /*activateSubmit*/
|
|
4747
4733
|
8 && ve !== (ve = !/*activateSubmit*/
|
|
4748
4734
|
e[3]) && (Q.disabled = ve);
|
|
4749
4735
|
},
|
|
4750
4736
|
d(I) {
|
|
4751
|
-
I && (A(t), A(r), A(s), A(a), A(le), A(de), A(ue)), ie && ie.d(I), e[34](null), J.d(), j && j.d(), e[38](null), q.d(), V && V.d(), e[42](null), K.d(), b && b.d(),
|
|
4737
|
+
I && (A(t), A(r), A(s), A(a), A(le), A(de), A(ue)), ie && ie.d(I), e[34](null), J.d(), j && j.d(), e[38](null), q.d(), V && V.d(), e[42](null), K.d(), b && b.d(), O && O.d(I), Ge = !1, Re(Ye);
|
|
4752
4738
|
}
|
|
4753
4739
|
};
|
|
4754
4740
|
}
|
|
4755
|
-
function
|
|
4756
|
-
let t, r, n, i, s, a,
|
|
4741
|
+
function Fs(e) {
|
|
4742
|
+
let t, r, n, i, s, a, l = (
|
|
4757
4743
|
/*$_*/
|
|
4758
4744
|
e[19]("returnToMenu") + ""
|
|
4759
4745
|
), u, h, c;
|
|
4760
4746
|
return {
|
|
4761
4747
|
c() {
|
|
4762
|
-
t = _("div"), r = g("svg"), n = g("g"), i = g("path"), s = k(), a = _("span"), u = M(
|
|
4748
|
+
t = _("div"), r = g("svg"), n = g("g"), i = g("path"), s = k(), a = _("span"), u = M(l), o(i, "id", "Chevron_Right"), o(i, "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
|
|
4763
4749
|
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
|
|
4764
|
-
C52.942,116.507,52.942,124.327,57.633,129.007z`),
|
|
4750
|
+
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"), un(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");
|
|
4765
4751
|
},
|
|
4766
4752
|
m(f, p) {
|
|
4767
4753
|
H(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(t, a), d(a, u), h || (c = z(
|
|
@@ -4773,25 +4759,25 @@ function Ds(e) {
|
|
|
4773
4759
|
},
|
|
4774
4760
|
p(f, p) {
|
|
4775
4761
|
p[0] & /*$_*/
|
|
4776
|
-
524288 &&
|
|
4777
|
-
f[19]("returnToMenu") + "") && $(u,
|
|
4762
|
+
524288 && l !== (l = /*$_*/
|
|
4763
|
+
f[19]("returnToMenu") + "") && $(u, l);
|
|
4778
4764
|
},
|
|
4779
4765
|
d(f) {
|
|
4780
4766
|
f && A(t), h = !1, c();
|
|
4781
4767
|
}
|
|
4782
4768
|
};
|
|
4783
4769
|
}
|
|
4784
|
-
function
|
|
4785
|
-
let t, r, n, i, s, a,
|
|
4770
|
+
function ks(e) {
|
|
4771
|
+
let t, r, n, i, s, a, l, u, h, c, f = (
|
|
4786
4772
|
/*$_*/
|
|
4787
4773
|
e[19]("titleChangePassword") + ""
|
|
4788
4774
|
), p, m, v;
|
|
4789
4775
|
return {
|
|
4790
4776
|
c() {
|
|
4791
|
-
t = _("div"), r = g("svg"), n = g("defs"), i = g("style"), s = M(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), a = g("g"),
|
|
4777
|
+
t = _("div"), r = g("svg"), n = g("defs"), i = g("style"), s = M(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), a = g("g"), l = g("g"), u = g("path"), h = k(), 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(a, "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");
|
|
4792
4778
|
},
|
|
4793
4779
|
m(w, C) {
|
|
4794
|
-
H(w, t, C), d(t, r), d(r, n), d(n, i), d(i, s), d(r, a), d(a,
|
|
4780
|
+
H(w, t, C), d(t, r), d(r, n), d(n, i), d(i, s), d(r, a), d(a, l), d(l, u), d(t, h), d(t, c), d(c, p), m || (v = z(
|
|
4795
4781
|
t,
|
|
4796
4782
|
"click",
|
|
4797
4783
|
/*click_handler*/
|
|
@@ -4808,16 +4794,16 @@ function Us(e) {
|
|
|
4808
4794
|
}
|
|
4809
4795
|
};
|
|
4810
4796
|
}
|
|
4811
|
-
function
|
|
4812
|
-
let t, r, n, i, s, a,
|
|
4797
|
+
function Ds(e) {
|
|
4798
|
+
let t, r, n, i, s, a, l, u, h, c;
|
|
4813
4799
|
return {
|
|
4814
4800
|
c() {
|
|
4815
|
-
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("path"),
|
|
4801
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("path"), l = g("circle"), o(a, "class", "a"), o(a, "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(a, "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(s, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4816
4802
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4817
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4803
|
+
(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");
|
|
4818
4804
|
},
|
|
4819
4805
|
m(f, p) {
|
|
4820
|
-
H(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s,
|
|
4806
|
+
H(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), h || (c = z(
|
|
4821
4807
|
t,
|
|
4822
4808
|
"click",
|
|
4823
4809
|
/*click_handler_2*/
|
|
@@ -4828,23 +4814,23 @@ function $s(e) {
|
|
|
4828
4814
|
p[0] & /*invalidCurrentPassword*/
|
|
4829
4815
|
16 && u !== (u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4830
4816
|
(f[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4831
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4817
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
4832
4818
|
},
|
|
4833
4819
|
d(f) {
|
|
4834
4820
|
f && A(t), h = !1, c();
|
|
4835
4821
|
}
|
|
4836
4822
|
};
|
|
4837
4823
|
}
|
|
4838
|
-
function
|
|
4839
|
-
let t, r, n, i, s, a,
|
|
4824
|
+
function Us(e) {
|
|
4825
|
+
let t, r, n, i, s, a, l, u, h, c, f, p, m, v, w, C;
|
|
4840
4826
|
return {
|
|
4841
4827
|
c() {
|
|
4842
|
-
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("circle"),
|
|
4828
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "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(s, "transform", "translate(-110.856 -23.242)"), o(t, "class", v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4843
4829
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4844
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4830
|
+
(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");
|
|
4845
4831
|
},
|
|
4846
4832
|
m(y, B) {
|
|
4847
|
-
H(y, t, B), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s,
|
|
4833
|
+
H(y, t, B), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), d(l, u), d(l, h), d(s, c), d(c, f), d(c, p), d(s, m), w || (C = z(
|
|
4848
4834
|
t,
|
|
4849
4835
|
"click",
|
|
4850
4836
|
/*click_handler_1*/
|
|
@@ -4855,25 +4841,25 @@ function Gs(e) {
|
|
|
4855
4841
|
B[0] & /*invalidCurrentPassword*/
|
|
4856
4842
|
16 && v !== (v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4857
4843
|
(y[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4858
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4844
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", v);
|
|
4859
4845
|
},
|
|
4860
4846
|
d(y) {
|
|
4861
4847
|
y && A(t), w = !1, C();
|
|
4862
4848
|
}
|
|
4863
4849
|
};
|
|
4864
4850
|
}
|
|
4865
|
-
function
|
|
4851
|
+
function dr(e) {
|
|
4866
4852
|
let t;
|
|
4867
4853
|
function r(s, a) {
|
|
4868
4854
|
return (
|
|
4869
4855
|
/*simplepasswordvalidation*/
|
|
4870
|
-
s[0] == "true" ?
|
|
4856
|
+
s[0] == "true" ? Gs : $s
|
|
4871
4857
|
);
|
|
4872
4858
|
}
|
|
4873
4859
|
let n = r(e), i = n(e);
|
|
4874
4860
|
return {
|
|
4875
4861
|
c() {
|
|
4876
|
-
i.c(), t =
|
|
4862
|
+
i.c(), t = vr();
|
|
4877
4863
|
},
|
|
4878
4864
|
m(s, a) {
|
|
4879
4865
|
i.m(s, a), H(s, t, a);
|
|
@@ -4886,14 +4872,14 @@ function mr(e) {
|
|
|
4886
4872
|
}
|
|
4887
4873
|
};
|
|
4888
4874
|
}
|
|
4889
|
-
function
|
|
4875
|
+
function $s(e) {
|
|
4890
4876
|
let t, r = (
|
|
4891
4877
|
/*$_*/
|
|
4892
4878
|
e[19]("invalidPasswordRule") + ""
|
|
4893
4879
|
), n;
|
|
4894
4880
|
return {
|
|
4895
4881
|
c() {
|
|
4896
|
-
t = _("p"), n = M(r),
|
|
4882
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
4897
4883
|
},
|
|
4898
4884
|
m(i, s) {
|
|
4899
4885
|
H(i, t, s), d(t, n);
|
|
@@ -4908,14 +4894,14 @@ function js(e) {
|
|
|
4908
4894
|
}
|
|
4909
4895
|
};
|
|
4910
4896
|
}
|
|
4911
|
-
function
|
|
4897
|
+
function Gs(e) {
|
|
4912
4898
|
let t, r = (
|
|
4913
4899
|
/*$_*/
|
|
4914
4900
|
e[19]("simplePasswordError") + ""
|
|
4915
4901
|
), n;
|
|
4916
4902
|
return {
|
|
4917
4903
|
c() {
|
|
4918
|
-
t = _("p"), n = M(r),
|
|
4904
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
4919
4905
|
},
|
|
4920
4906
|
m(i, s) {
|
|
4921
4907
|
H(i, t, s), d(t, n);
|
|
@@ -4930,16 +4916,16 @@ function Vs(e) {
|
|
|
4930
4916
|
}
|
|
4931
4917
|
};
|
|
4932
4918
|
}
|
|
4933
|
-
function
|
|
4934
|
-
let t, r, n, i, s, a,
|
|
4919
|
+
function js(e) {
|
|
4920
|
+
let t, r, n, i, s, a, l, u, h, c;
|
|
4935
4921
|
return {
|
|
4936
4922
|
c() {
|
|
4937
|
-
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("path"),
|
|
4923
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("path"), l = g("circle"), o(a, "class", "a"), o(a, "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(a, "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(s, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4938
4924
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4939
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4925
|
+
(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");
|
|
4940
4926
|
},
|
|
4941
4927
|
m(f, p) {
|
|
4942
|
-
H(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s,
|
|
4928
|
+
H(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), h || (c = z(
|
|
4943
4929
|
t,
|
|
4944
4930
|
"click",
|
|
4945
4931
|
/*click_handler_4*/
|
|
@@ -4950,23 +4936,23 @@ function zs(e) {
|
|
|
4950
4936
|
p[0] & /*invalidNewPassword*/
|
|
4951
4937
|
32 && u !== (u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4952
4938
|
(f[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4953
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4939
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
4954
4940
|
},
|
|
4955
4941
|
d(f) {
|
|
4956
4942
|
f && A(t), h = !1, c();
|
|
4957
4943
|
}
|
|
4958
4944
|
};
|
|
4959
4945
|
}
|
|
4960
|
-
function
|
|
4961
|
-
let t, r, n, i, s, a,
|
|
4946
|
+
function Vs(e) {
|
|
4947
|
+
let t, r, n, i, s, a, l, u, h, c, f, p, m, v, w, C;
|
|
4962
4948
|
return {
|
|
4963
4949
|
c() {
|
|
4964
|
-
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("circle"),
|
|
4950
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "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(s, "transform", "translate(-110.856 -23.242)"), o(t, "class", v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4965
4951
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4966
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4952
|
+
(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");
|
|
4967
4953
|
},
|
|
4968
4954
|
m(y, B) {
|
|
4969
|
-
H(y, t, B), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s,
|
|
4955
|
+
H(y, t, B), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), d(l, u), d(l, h), d(s, c), d(c, f), d(c, p), d(s, m), w || (C = z(
|
|
4970
4956
|
t,
|
|
4971
4957
|
"click",
|
|
4972
4958
|
/*click_handler_3*/
|
|
@@ -4977,25 +4963,25 @@ function Ws(e) {
|
|
|
4977
4963
|
B[0] & /*invalidNewPassword*/
|
|
4978
4964
|
32 && v !== (v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4979
4965
|
(y[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4980
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4966
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", v);
|
|
4981
4967
|
},
|
|
4982
4968
|
d(y) {
|
|
4983
4969
|
y && A(t), w = !1, C();
|
|
4984
4970
|
}
|
|
4985
4971
|
};
|
|
4986
4972
|
}
|
|
4987
|
-
function
|
|
4973
|
+
function zs(e) {
|
|
4988
4974
|
let t;
|
|
4989
4975
|
function r(s, a) {
|
|
4990
4976
|
return (
|
|
4991
4977
|
/*simplepasswordvalidation*/
|
|
4992
|
-
s[0] == "true" ?
|
|
4978
|
+
s[0] == "true" ? Zs : Xs
|
|
4993
4979
|
);
|
|
4994
4980
|
}
|
|
4995
4981
|
let n = r(e), i = n(e);
|
|
4996
4982
|
return {
|
|
4997
4983
|
c() {
|
|
4998
|
-
i.c(), t =
|
|
4984
|
+
i.c(), t = vr();
|
|
4999
4985
|
},
|
|
5000
4986
|
m(s, a) {
|
|
5001
4987
|
i.m(s, a), H(s, t, a);
|
|
@@ -5008,14 +4994,14 @@ function Xs(e) {
|
|
|
5008
4994
|
}
|
|
5009
4995
|
};
|
|
5010
4996
|
}
|
|
5011
|
-
function
|
|
4997
|
+
function Ws(e) {
|
|
5012
4998
|
let t, r = (
|
|
5013
4999
|
/*$_*/
|
|
5014
5000
|
e[19]("invalidNewPassword") + ""
|
|
5015
5001
|
), n;
|
|
5016
5002
|
return {
|
|
5017
5003
|
c() {
|
|
5018
|
-
t = _("p"), n = M(r),
|
|
5004
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInputNew");
|
|
5019
5005
|
},
|
|
5020
5006
|
m(i, s) {
|
|
5021
5007
|
H(i, t, s), d(t, n);
|
|
@@ -5030,14 +5016,14 @@ function Zs(e) {
|
|
|
5030
5016
|
}
|
|
5031
5017
|
};
|
|
5032
5018
|
}
|
|
5033
|
-
function
|
|
5019
|
+
function Xs(e) {
|
|
5034
5020
|
let t, r = (
|
|
5035
5021
|
/*$_*/
|
|
5036
5022
|
e[19]("invalidPasswordRule") + ""
|
|
5037
5023
|
), n;
|
|
5038
5024
|
return {
|
|
5039
5025
|
c() {
|
|
5040
|
-
t = _("p"), n = M(r),
|
|
5026
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
5041
5027
|
},
|
|
5042
5028
|
m(i, s) {
|
|
5043
5029
|
H(i, t, s), d(t, n);
|
|
@@ -5052,14 +5038,14 @@ function Ys(e) {
|
|
|
5052
5038
|
}
|
|
5053
5039
|
};
|
|
5054
5040
|
}
|
|
5055
|
-
function
|
|
5041
|
+
function Zs(e) {
|
|
5056
5042
|
let t, r = (
|
|
5057
5043
|
/*$_*/
|
|
5058
5044
|
e[19]("simplePasswordError") + ""
|
|
5059
5045
|
), n;
|
|
5060
5046
|
return {
|
|
5061
5047
|
c() {
|
|
5062
|
-
t = _("p"), n = M(r),
|
|
5048
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
5063
5049
|
},
|
|
5064
5050
|
m(i, s) {
|
|
5065
5051
|
H(i, t, s), d(t, n);
|
|
@@ -5074,16 +5060,16 @@ function Qs(e) {
|
|
|
5074
5060
|
}
|
|
5075
5061
|
};
|
|
5076
5062
|
}
|
|
5077
|
-
function
|
|
5078
|
-
let t, r, n, i, s, a,
|
|
5063
|
+
function Ys(e) {
|
|
5064
|
+
let t, r, n, i, s, a, l, u, h, c;
|
|
5079
5065
|
return {
|
|
5080
5066
|
c() {
|
|
5081
|
-
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("path"),
|
|
5067
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("path"), l = g("circle"), o(a, "class", "a"), o(a, "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(a, "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(s, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5082
5068
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5083
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5069
|
+
(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");
|
|
5084
5070
|
},
|
|
5085
5071
|
m(f, p) {
|
|
5086
|
-
H(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s,
|
|
5072
|
+
H(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), h || (c = z(
|
|
5087
5073
|
t,
|
|
5088
5074
|
"click",
|
|
5089
5075
|
/*click_handler_6*/
|
|
@@ -5094,23 +5080,23 @@ function Js(e) {
|
|
|
5094
5080
|
p[0] & /*invalidConfirmPassword*/
|
|
5095
5081
|
64 && u !== (u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5096
5082
|
(f[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5097
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5083
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
5098
5084
|
},
|
|
5099
5085
|
d(f) {
|
|
5100
5086
|
f && A(t), h = !1, c();
|
|
5101
5087
|
}
|
|
5102
5088
|
};
|
|
5103
5089
|
}
|
|
5104
|
-
function
|
|
5105
|
-
let t, r, n, i, s, a,
|
|
5090
|
+
function Qs(e) {
|
|
5091
|
+
let t, r, n, i, s, a, l, u, h, c, f, p, m, v, w, C;
|
|
5106
5092
|
return {
|
|
5107
5093
|
c() {
|
|
5108
|
-
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("circle"),
|
|
5094
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "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(s, "transform", "translate(-110.856 -23.242)"), o(t, "class", v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5109
5095
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5110
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5096
|
+
(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");
|
|
5111
5097
|
},
|
|
5112
5098
|
m(y, B) {
|
|
5113
|
-
H(y, t, B), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s,
|
|
5099
|
+
H(y, t, B), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), d(l, u), d(l, h), d(s, c), d(c, f), d(c, p), d(s, m), w || (C = z(
|
|
5114
5100
|
t,
|
|
5115
5101
|
"click",
|
|
5116
5102
|
/*click_handler_5*/
|
|
@@ -5121,21 +5107,21 @@ function qs(e) {
|
|
|
5121
5107
|
B[0] & /*invalidConfirmPassword*/
|
|
5122
5108
|
64 && v !== (v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5123
5109
|
(y[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5124
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5110
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", v);
|
|
5125
5111
|
},
|
|
5126
5112
|
d(y) {
|
|
5127
5113
|
y && A(t), w = !1, C();
|
|
5128
5114
|
}
|
|
5129
5115
|
};
|
|
5130
5116
|
}
|
|
5131
|
-
function
|
|
5117
|
+
function pr(e) {
|
|
5132
5118
|
let t, r = (
|
|
5133
5119
|
/*$_*/
|
|
5134
5120
|
e[19]("confirmPasswordInvalid") + ""
|
|
5135
5121
|
), n;
|
|
5136
5122
|
return {
|
|
5137
5123
|
c() {
|
|
5138
|
-
t = _("p"), n = M(r),
|
|
5124
|
+
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
5139
5125
|
},
|
|
5140
5126
|
m(i, s) {
|
|
5141
5127
|
H(i, t, s), d(t, n);
|
|
@@ -5150,14 +5136,14 @@ function gr(e) {
|
|
|
5150
5136
|
}
|
|
5151
5137
|
};
|
|
5152
5138
|
}
|
|
5153
|
-
function
|
|
5139
|
+
function mr(e) {
|
|
5154
5140
|
let t, r, n;
|
|
5155
5141
|
return {
|
|
5156
5142
|
c() {
|
|
5157
5143
|
t = _("div"), r = _("p"), n = M(
|
|
5158
5144
|
/*errorPasswordChanged*/
|
|
5159
5145
|
e[17]
|
|
5160
|
-
),
|
|
5146
|
+
), o(r, "class", "PasswordChangedError");
|
|
5161
5147
|
},
|
|
5162
5148
|
m(i, s) {
|
|
5163
5149
|
H(i, t, s), d(t, r), d(r, n);
|
|
@@ -5175,10 +5161,10 @@ function br(e) {
|
|
|
5175
5161
|
}
|
|
5176
5162
|
};
|
|
5177
5163
|
}
|
|
5178
|
-
function
|
|
5164
|
+
function Js(e) {
|
|
5179
5165
|
let t;
|
|
5180
5166
|
function r(s, a) {
|
|
5181
|
-
return
|
|
5167
|
+
return Os;
|
|
5182
5168
|
}
|
|
5183
5169
|
let i = r()(e);
|
|
5184
5170
|
return {
|
|
@@ -5198,31 +5184,31 @@ function Ks(e) {
|
|
|
5198
5184
|
}
|
|
5199
5185
|
};
|
|
5200
5186
|
}
|
|
5201
|
-
function
|
|
5187
|
+
function qs(e, t, r) {
|
|
5202
5188
|
let n;
|
|
5203
|
-
|
|
5204
|
-
let { lang: i = "en" } = t, { simplepasswordvalidation: s = "false" } = t, { clientstyling: a = "" } = t, { clientstylingurl:
|
|
5189
|
+
nn(e, Hs, (b) => r(19, n = b));
|
|
5190
|
+
let { lang: i = "en" } = t, { simplepasswordvalidation: s = "false" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, { passwordregex: c = "" } = t, f, p = window.navigator.userAgent, m = Is(p) !== "PC", v = !1;
|
|
5205
5191
|
window.matchMedia("(min-width: 768px)");
|
|
5206
5192
|
const w = {
|
|
5207
5193
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5208
5194
|
};
|
|
5209
|
-
let C = !1, y = !1, B = !1, L, D, U,
|
|
5195
|
+
let C = !1, y = !1, B = !1, L, D, U, R = !1, X = !1, te = !1, G = !1, N = "", E = "", Z = "", fe = !1, be = "", De = !1;
|
|
5210
5196
|
const Y = () => {
|
|
5211
|
-
fetch(h).then((
|
|
5212
|
-
Object.keys(
|
|
5213
|
-
|
|
5197
|
+
fetch(h).then((O) => O.json()).then((O) => {
|
|
5198
|
+
Object.keys(O).forEach((I) => {
|
|
5199
|
+
cr(I, O[I]);
|
|
5214
5200
|
});
|
|
5215
|
-
}).catch((
|
|
5216
|
-
console.log(
|
|
5201
|
+
}).catch((O) => {
|
|
5202
|
+
console.log(O);
|
|
5217
5203
|
});
|
|
5218
5204
|
};
|
|
5219
|
-
Object.keys(
|
|
5220
|
-
|
|
5205
|
+
Object.keys(fr).forEach((b) => {
|
|
5206
|
+
cr(b, fr[b]);
|
|
5221
5207
|
});
|
|
5222
5208
|
const ne = (b) => {
|
|
5223
5209
|
switch (b) {
|
|
5224
5210
|
case "userCurrentPassword":
|
|
5225
|
-
r(10,
|
|
5211
|
+
r(10, R = !R), r(7, L.type = R ? "text" : "password", L);
|
|
5226
5212
|
break;
|
|
5227
5213
|
case "userNewPassword":
|
|
5228
5214
|
r(11, X = !X), r(8, D.type = X ? "text" : "password", D);
|
|
@@ -5233,16 +5219,16 @@ function ea(e, t, r) {
|
|
|
5233
5219
|
}
|
|
5234
5220
|
}, Ue = () => {
|
|
5235
5221
|
s == "true" && (w.password = /^(?!.* ).{8,20}$/);
|
|
5236
|
-
}, we = (b,
|
|
5237
|
-
I.id === "CurrentPassword" ? r(4, C = !le(
|
|
5222
|
+
}, we = (b, O, I) => {
|
|
5223
|
+
I.id === "CurrentPassword" ? r(4, C = !le(O)) : I.id === "NewPassword" ? (r(5, y = !le(O)), N && r(13, G = N === E), Z && r(6, B = E === Z ? !le(O) : !0)) : r(6, B = E === Z ? !le(O) : !0), de();
|
|
5238
5224
|
}, le = (b) => !!w.password.test(b), de = () => {
|
|
5239
|
-
!C && !y && !B && !G && N &&
|
|
5225
|
+
!C && !y && !B && !G && N && E && Z ? r(3, v = !0) : r(3, v = !1);
|
|
5240
5226
|
}, ue = (b) => {
|
|
5241
5227
|
b.preventDefault(), v && window.postMessage(
|
|
5242
5228
|
{
|
|
5243
5229
|
type: "ChangePassword",
|
|
5244
5230
|
userCurrentPassword: N,
|
|
5245
|
-
userNewPassword:
|
|
5231
|
+
userNewPassword: E
|
|
5246
5232
|
},
|
|
5247
5233
|
window.location.href
|
|
5248
5234
|
);
|
|
@@ -5257,7 +5243,7 @@ function ea(e, t, r) {
|
|
|
5257
5243
|
}, pe = () => {
|
|
5258
5244
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5259
5245
|
}, $e = () => {
|
|
5260
|
-
|
|
5246
|
+
Ms(i);
|
|
5261
5247
|
}, me = (b) => {
|
|
5262
5248
|
if (b.data)
|
|
5263
5249
|
switch (b.data.type) {
|
|
@@ -5269,7 +5255,7 @@ function ea(e, t, r) {
|
|
|
5269
5255
|
break;
|
|
5270
5256
|
}
|
|
5271
5257
|
};
|
|
5272
|
-
|
|
5258
|
+
fn(() => (window.addEventListener("message", me, !1), () => {
|
|
5273
5259
|
window.removeEventListener("message", me);
|
|
5274
5260
|
}));
|
|
5275
5261
|
const ve = () => Q();
|
|
@@ -5283,7 +5269,7 @@ function ea(e, t, r) {
|
|
|
5283
5269
|
}
|
|
5284
5270
|
const ie = () => ne("userCurrentPassword"), Qe = () => ne("userCurrentPassword");
|
|
5285
5271
|
function ye() {
|
|
5286
|
-
|
|
5272
|
+
E = this.value, r(15, E);
|
|
5287
5273
|
}
|
|
5288
5274
|
function J(b) {
|
|
5289
5275
|
Be[b ? "unshift" : "push"](() => {
|
|
@@ -5306,16 +5292,16 @@ function ea(e, t, r) {
|
|
|
5306
5292
|
});
|
|
5307
5293
|
}
|
|
5308
5294
|
return e.$$set = (b) => {
|
|
5309
|
-
"lang" in b && r(26, i = b.lang), "simplepasswordvalidation" in b && r(0, s = b.simplepasswordvalidation), "clientstyling" in b && r(27, a = b.clientstyling), "clientstylingurl" in b && r(28,
|
|
5295
|
+
"lang" in b && r(26, i = b.lang), "simplepasswordvalidation" in b && r(0, s = b.simplepasswordvalidation), "clientstyling" in b && r(27, a = b.clientstyling), "clientstylingurl" in b && r(28, l = b.clientstylingurl), "mbsource" in b && r(29, u = b.mbsource), "translationurl" in b && r(30, h = b.translationurl), "passwordregex" in b && r(31, c = b.passwordregex);
|
|
5310
5296
|
}, e.$$.update = () => {
|
|
5311
5297
|
e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5312
5298
|
1 && s && Ue(), e.$$.dirty[1] & /*passwordregex*/
|
|
5313
5299
|
1 && c && (w.password = new RegExp(c)), e.$$.dirty[0] & /*lang*/
|
|
5314
5300
|
67108864 && i && $e(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5315
5301
|
4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5316
|
-
134217730 && a && f &&
|
|
5317
|
-
268435458 &&
|
|
5318
|
-
536870914 && u && f &&
|
|
5302
|
+
134217730 && a && f && Cn(f, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5303
|
+
268435458 && l && f && Bn(f, l), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5304
|
+
536870914 && u && f && Sn(f, `${u}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5319
5305
|
1073741824 && h && Y();
|
|
5320
5306
|
}, [
|
|
5321
5307
|
s,
|
|
@@ -5328,12 +5314,12 @@ function ea(e, t, r) {
|
|
|
5328
5314
|
L,
|
|
5329
5315
|
D,
|
|
5330
5316
|
U,
|
|
5331
|
-
|
|
5317
|
+
R,
|
|
5332
5318
|
X,
|
|
5333
5319
|
te,
|
|
5334
5320
|
G,
|
|
5335
5321
|
N,
|
|
5336
|
-
|
|
5322
|
+
E,
|
|
5337
5323
|
Z,
|
|
5338
5324
|
be,
|
|
5339
5325
|
De,
|
|
@@ -5346,7 +5332,7 @@ function ea(e, t, r) {
|
|
|
5346
5332
|
pe,
|
|
5347
5333
|
i,
|
|
5348
5334
|
a,
|
|
5349
|
-
|
|
5335
|
+
l,
|
|
5350
5336
|
u,
|
|
5351
5337
|
h,
|
|
5352
5338
|
c,
|
|
@@ -5369,14 +5355,14 @@ function ea(e, t, r) {
|
|
|
5369
5355
|
K
|
|
5370
5356
|
];
|
|
5371
5357
|
}
|
|
5372
|
-
class
|
|
5358
|
+
class Ks extends En {
|
|
5373
5359
|
constructor(t) {
|
|
5374
|
-
super(),
|
|
5360
|
+
super(), Pn(
|
|
5375
5361
|
this,
|
|
5376
5362
|
t,
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5363
|
+
qs,
|
|
5364
|
+
Js,
|
|
5365
|
+
br,
|
|
5380
5366
|
{
|
|
5381
5367
|
lang: 26,
|
|
5382
5368
|
simplepasswordvalidation: 0,
|
|
@@ -5386,7 +5372,7 @@ class ta extends Bn {
|
|
|
5386
5372
|
translationurl: 30,
|
|
5387
5373
|
passwordregex: 31
|
|
5388
5374
|
},
|
|
5389
|
-
|
|
5375
|
+
Ns,
|
|
5390
5376
|
[-1, -1]
|
|
5391
5377
|
);
|
|
5392
5378
|
}
|
|
@@ -5433,7 +5419,7 @@ class ta extends Bn {
|
|
|
5433
5419
|
this.$$set({ passwordregex: t }), se();
|
|
5434
5420
|
}
|
|
5435
5421
|
}
|
|
5436
|
-
|
|
5422
|
+
xn(Ks, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5437
5423
|
export {
|
|
5438
|
-
|
|
5424
|
+
Ks as default
|
|
5439
5425
|
};
|