@everymatrix/player-change-password-nd 1.56.3 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerChangePasswordNd-B7IATBO1.js → PlayerChangePasswordNd-B_2QIlPq.js} +915 -937
- package/components/{PlayerChangePasswordNd-Btim9GSh.js → PlayerChangePasswordNd-CyeSFi36.js} +1026 -1048
- package/components/PlayerChangePasswordNd-DaXZdcm1.cjs +20 -0
- package/es2015/player-change-password-nd.cjs +1 -1
- package/es2015/player-change-password-nd.js +1 -1
- package/esnext/player-change-password-nd.js +1 -1
- package/package.json +1 -1
- package/components/PlayerChangePasswordNd-CchygOzy.cjs +0 -20
package/components/{PlayerChangePasswordNd-B7IATBO1.js → PlayerChangePasswordNd-B_2QIlPq.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function ne() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ur(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Lt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function Oe(e) {
|
|
10
|
+
e.forEach(ur);
|
|
11
11
|
}
|
|
12
12
|
function Be(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function hr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function jr(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function cr(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,20 +27,20 @@ function pr(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function zr(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(cr(t, r));
|
|
32
32
|
}
|
|
33
33
|
function d(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function Wr(e, t, r) {
|
|
37
|
+
const n = Xr(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const
|
|
40
|
-
|
|
39
|
+
const s = _("style");
|
|
40
|
+
s.id = t, s.textContent = r, Zr(n, s);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Xr(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function Jr(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Zr(e, t) {
|
|
54
54
|
return d(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -75,7 +75,7 @@ function M(e) {
|
|
|
75
75
|
function F() {
|
|
76
76
|
return M(" ");
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function fr() {
|
|
79
79
|
return M("");
|
|
80
80
|
}
|
|
81
81
|
function z(e, t, r, n) {
|
|
@@ -84,7 +84,7 @@ function z(e, t, r, n) {
|
|
|
84
84
|
function o(e, t, r) {
|
|
85
85
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function Qr(e) {
|
|
88
88
|
return Array.from(e.childNodes);
|
|
89
89
|
}
|
|
90
90
|
function U(e, t) {
|
|
@@ -94,10 +94,10 @@ function U(e, t) {
|
|
|
94
94
|
function _e(e, t) {
|
|
95
95
|
e.value = t ?? "";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Yr(e, t, r, n) {
|
|
98
98
|
e.style.setProperty(t, r, "");
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Jr(e) {
|
|
101
101
|
const t = {};
|
|
102
102
|
return e.childNodes.forEach(
|
|
103
103
|
/** @param {Element} node */
|
|
@@ -110,22 +110,22 @@ let Ve;
|
|
|
110
110
|
function Ge(e) {
|
|
111
111
|
Ve = e;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function qr() {
|
|
114
114
|
if (!Ve)
|
|
115
115
|
throw new Error("Function called outside component initialization");
|
|
116
116
|
return Ve;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
|
|
118
|
+
function Kr(e) {
|
|
119
|
+
qr().$$.on_mount.push(e);
|
|
120
120
|
}
|
|
121
121
|
const Ce = [], Te = [];
|
|
122
122
|
let Se = [];
|
|
123
|
-
const
|
|
124
|
-
let
|
|
125
|
-
function
|
|
126
|
-
|
|
123
|
+
const Ft = [], en = /* @__PURE__ */ Promise.resolve();
|
|
124
|
+
let vt = !1;
|
|
125
|
+
function tn() {
|
|
126
|
+
vt || (vt = !0, en.then(ie));
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function yt(e) {
|
|
129
129
|
Se.push(e);
|
|
130
130
|
}
|
|
131
131
|
const ft = /* @__PURE__ */ new Set();
|
|
@@ -138,7 +138,7 @@ function ie() {
|
|
|
138
138
|
try {
|
|
139
139
|
for (; xe < Ce.length; ) {
|
|
140
140
|
const t = Ce[xe];
|
|
141
|
-
xe++, Ge(t),
|
|
141
|
+
xe++, Ge(t), rn(t.$$);
|
|
142
142
|
}
|
|
143
143
|
} catch (t) {
|
|
144
144
|
throw Ce.length = 0, xe = 0, t;
|
|
@@ -151,50 +151,50 @@ function ie() {
|
|
|
151
151
|
}
|
|
152
152
|
Se.length = 0;
|
|
153
153
|
} while (Ce.length);
|
|
154
|
-
for (;
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
for (; Ft.length; )
|
|
155
|
+
Ft.pop()();
|
|
156
|
+
vt = !1, ft.clear(), Ge(e);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function rn(e) {
|
|
159
159
|
if (e.fragment !== null) {
|
|
160
|
-
e.update(),
|
|
160
|
+
e.update(), Oe(e.before_update);
|
|
161
161
|
const t = e.dirty;
|
|
162
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
162
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(yt);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function nn(e) {
|
|
166
166
|
const t = [], r = [];
|
|
167
167
|
Se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Se = t;
|
|
168
168
|
}
|
|
169
|
-
const
|
|
170
|
-
function
|
|
171
|
-
e && e.i && (
|
|
169
|
+
const sn = /* @__PURE__ */ new Set();
|
|
170
|
+
function an(e, t) {
|
|
171
|
+
e && e.i && (sn.delete(e), e.i(t));
|
|
172
172
|
}
|
|
173
|
-
function
|
|
174
|
-
const { fragment: n, after_update:
|
|
175
|
-
n && n.m(t, r),
|
|
176
|
-
const
|
|
177
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
178
|
-
}),
|
|
173
|
+
function on(e, t, r) {
|
|
174
|
+
const { fragment: n, after_update: s } = e.$$;
|
|
175
|
+
n && n.m(t, r), yt(() => {
|
|
176
|
+
const a = e.$$.on_mount.map(ur).filter(Be);
|
|
177
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Oe(a), e.$$.on_mount = [];
|
|
178
|
+
}), s.forEach(yt);
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function ln(e, t) {
|
|
181
181
|
const r = e.$$;
|
|
182
|
-
r.fragment !== null && (
|
|
182
|
+
r.fragment !== null && (nn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
185
|
-
e.$$.dirty[0] === -1 && (Ce.push(e),
|
|
184
|
+
function un(e, t) {
|
|
185
|
+
e.$$.dirty[0] === -1 && (Ce.push(e), tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function hn(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
188
188
|
const u = Ve;
|
|
189
189
|
Ge(e);
|
|
190
190
|
const h = e.$$ = {
|
|
191
191
|
fragment: null,
|
|
192
192
|
ctx: [],
|
|
193
193
|
// state
|
|
194
|
-
props:
|
|
194
|
+
props: a,
|
|
195
195
|
update: ne,
|
|
196
|
-
not_equal:
|
|
197
|
-
bound:
|
|
196
|
+
not_equal: s,
|
|
197
|
+
bound: Lt(),
|
|
198
198
|
// lifecycle
|
|
199
199
|
on_mount: [],
|
|
200
200
|
on_destroy: [],
|
|
@@ -203,7 +203,7 @@ function pn(e, t, r, n, a, s, i = null, l = [-1]) {
|
|
|
203
203
|
after_update: [],
|
|
204
204
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
205
205
|
// everything else
|
|
206
|
-
callbacks:
|
|
206
|
+
callbacks: Lt(),
|
|
207
207
|
dirty: l,
|
|
208
208
|
skip_bound: !1,
|
|
209
209
|
root: t.target || u.$$.root
|
|
@@ -212,19 +212,19 @@ function pn(e, t, r, n, a, s, i = null, l = [-1]) {
|
|
|
212
212
|
let c = !1;
|
|
213
213
|
if (h.ctx = r ? r(e, t.props || {}, (f, p, ...m) => {
|
|
214
214
|
const w = m.length ? m[0] : p;
|
|
215
|
-
return h.ctx &&
|
|
216
|
-
}) : [], h.update(), c = !0,
|
|
215
|
+
return h.ctx && s(h.ctx[f], h.ctx[f] = w) && (!h.skip_bound && h.bound[f] && h.bound[f](w), c && un(e, f)), p;
|
|
216
|
+
}) : [], h.update(), c = !0, Oe(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
217
217
|
if (t.hydrate) {
|
|
218
|
-
const f =
|
|
218
|
+
const f = Qr(t.target);
|
|
219
219
|
h.fragment && h.fragment.l(f), f.forEach(A);
|
|
220
220
|
} else
|
|
221
221
|
h.fragment && h.fragment.c();
|
|
222
|
-
t.intro &&
|
|
222
|
+
t.intro && an(e.$$.fragment), on(e, t.target, t.anchor), ie();
|
|
223
223
|
}
|
|
224
224
|
Ge(u);
|
|
225
225
|
}
|
|
226
|
-
let
|
|
227
|
-
typeof HTMLElement == "function" && (
|
|
226
|
+
let dr;
|
|
227
|
+
typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
228
228
|
/** The Svelte component constructor */
|
|
229
229
|
$$ctor;
|
|
230
230
|
/** Slots */
|
|
@@ -261,37 +261,37 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
261
261
|
}
|
|
262
262
|
async connectedCallback() {
|
|
263
263
|
if (this.$$cn = !0, !this.$$c) {
|
|
264
|
-
let e = function(
|
|
264
|
+
let e = function(s) {
|
|
265
265
|
return () => {
|
|
266
|
-
let
|
|
266
|
+
let a;
|
|
267
267
|
return {
|
|
268
268
|
c: function() {
|
|
269
|
-
|
|
269
|
+
a = _("slot"), s !== "default" && o(a, "name", s);
|
|
270
270
|
},
|
|
271
271
|
/**
|
|
272
272
|
* @param {HTMLElement} target
|
|
273
273
|
* @param {HTMLElement} [anchor]
|
|
274
274
|
*/
|
|
275
275
|
m: function(u, h) {
|
|
276
|
-
H(u,
|
|
276
|
+
H(u, a, h);
|
|
277
277
|
},
|
|
278
278
|
d: function(u) {
|
|
279
|
-
u && A(
|
|
279
|
+
u && A(a);
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
282
|
};
|
|
283
283
|
};
|
|
284
284
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
285
285
|
return;
|
|
286
|
-
const t = {}, r =
|
|
287
|
-
for (const
|
|
288
|
-
|
|
289
|
-
for (const
|
|
290
|
-
const
|
|
291
|
-
|
|
286
|
+
const t = {}, r = Jr(this);
|
|
287
|
+
for (const s of this.$$s)
|
|
288
|
+
s in r && (t[s] = [e(s)]);
|
|
289
|
+
for (const s of this.attributes) {
|
|
290
|
+
const a = this.$$g_p(s.name);
|
|
291
|
+
a in this.$$d || (this.$$d[a] = tt(a, s.value, this.$$p_d, "toProp"));
|
|
292
292
|
}
|
|
293
|
-
for (const
|
|
294
|
-
!(
|
|
293
|
+
for (const s in this.$$p_d)
|
|
294
|
+
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
295
295
|
this.$$c = new this.$$ctor({
|
|
296
296
|
target: this.shadowRoot || this,
|
|
297
297
|
props: {
|
|
@@ -304,23 +304,23 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
304
304
|
});
|
|
305
305
|
const n = () => {
|
|
306
306
|
this.$$r = !0;
|
|
307
|
-
for (const
|
|
308
|
-
if (this.$$d[
|
|
309
|
-
const
|
|
310
|
-
|
|
311
|
-
this.$$d[
|
|
307
|
+
for (const s in this.$$p_d)
|
|
308
|
+
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
309
|
+
const a = tt(
|
|
310
|
+
s,
|
|
311
|
+
this.$$d[s],
|
|
312
312
|
this.$$p_d,
|
|
313
313
|
"toAttribute"
|
|
314
314
|
);
|
|
315
|
-
|
|
315
|
+
a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
|
|
316
316
|
}
|
|
317
317
|
this.$$r = !1;
|
|
318
318
|
};
|
|
319
319
|
this.$$c.$$.after_update.push(n), n();
|
|
320
|
-
for (const
|
|
321
|
-
for (const
|
|
322
|
-
const i = this.$$c.$on(
|
|
323
|
-
this.$$l_u.set(
|
|
320
|
+
for (const s in this.$$l)
|
|
321
|
+
for (const a of this.$$l[s]) {
|
|
322
|
+
const i = this.$$c.$on(s, a);
|
|
323
|
+
this.$$l_u.set(a, i);
|
|
324
324
|
}
|
|
325
325
|
this.$$l = {};
|
|
326
326
|
}
|
|
@@ -342,11 +342,11 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
342
342
|
}
|
|
343
343
|
});
|
|
344
344
|
function tt(e, t, r, n) {
|
|
345
|
-
const
|
|
346
|
-
if (t =
|
|
345
|
+
const s = r[e]?.type;
|
|
346
|
+
if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
347
347
|
return t;
|
|
348
348
|
if (n === "toAttribute")
|
|
349
|
-
switch (
|
|
349
|
+
switch (s) {
|
|
350
350
|
case "Object":
|
|
351
351
|
case "Array":
|
|
352
352
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -358,7 +358,7 @@ function tt(e, t, r, n) {
|
|
|
358
358
|
return t;
|
|
359
359
|
}
|
|
360
360
|
else
|
|
361
|
-
switch (
|
|
361
|
+
switch (s) {
|
|
362
362
|
case "Object":
|
|
363
363
|
case "Array":
|
|
364
364
|
return t && JSON.parse(t);
|
|
@@ -370,10 +370,10 @@ function tt(e, t, r, n) {
|
|
|
370
370
|
return t;
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
function
|
|
374
|
-
let i = class extends
|
|
373
|
+
function cn(e, t, r, n, s, a) {
|
|
374
|
+
let i = class extends dr {
|
|
375
375
|
constructor() {
|
|
376
|
-
super(e, r,
|
|
376
|
+
super(e, r, s), this.$$p_d = t;
|
|
377
377
|
}
|
|
378
378
|
static get observedAttributes() {
|
|
379
379
|
return Object.keys(t).map(
|
|
@@ -399,7 +399,7 @@ function mn(e, t, r, n, a, s) {
|
|
|
399
399
|
}), e.element = /** @type {any} */
|
|
400
400
|
i, i;
|
|
401
401
|
}
|
|
402
|
-
class
|
|
402
|
+
class fn {
|
|
403
403
|
/**
|
|
404
404
|
* ### PRIVATE API
|
|
405
405
|
*
|
|
@@ -418,7 +418,7 @@ class gn {
|
|
|
418
418
|
$$set = void 0;
|
|
419
419
|
/** @returns {void} */
|
|
420
420
|
$destroy() {
|
|
421
|
-
|
|
421
|
+
ln(this, 1), this.$destroy = ne;
|
|
422
422
|
}
|
|
423
423
|
/**
|
|
424
424
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -431,8 +431,8 @@ class gn {
|
|
|
431
431
|
return ne;
|
|
432
432
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
433
433
|
return n.push(r), () => {
|
|
434
|
-
const
|
|
435
|
-
|
|
434
|
+
const s = n.indexOf(r);
|
|
435
|
+
s !== -1 && n.splice(s, 1);
|
|
436
436
|
};
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
@@ -440,11 +440,11 @@ class gn {
|
|
|
440
440
|
* @returns {void}
|
|
441
441
|
*/
|
|
442
442
|
$set(t) {
|
|
443
|
-
this.$$set && !
|
|
443
|
+
this.$$set && !jr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
const
|
|
447
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
446
|
+
const dn = "4";
|
|
447
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
|
|
448
448
|
/*! *****************************************************************************
|
|
449
449
|
Copyright (c) Microsoft Corporation.
|
|
450
450
|
|
|
@@ -459,18 +459,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
459
459
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
460
460
|
PERFORMANCE OF THIS SOFTWARE.
|
|
461
461
|
***************************************************************************** */
|
|
462
|
-
var
|
|
463
|
-
return
|
|
462
|
+
var Pt = function(e, t) {
|
|
463
|
+
return Pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
464
464
|
r.__proto__ = n;
|
|
465
465
|
} || function(r, n) {
|
|
466
|
-
for (var
|
|
467
|
-
Object.prototype.hasOwnProperty.call(n,
|
|
468
|
-
},
|
|
466
|
+
for (var s in n)
|
|
467
|
+
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
468
|
+
}, Pt(e, t);
|
|
469
469
|
};
|
|
470
470
|
function le(e, t) {
|
|
471
471
|
if (typeof t != "function" && t !== null)
|
|
472
472
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
473
|
-
|
|
473
|
+
Pt(e, t);
|
|
474
474
|
function r() {
|
|
475
475
|
this.constructor = e;
|
|
476
476
|
}
|
|
@@ -478,24 +478,24 @@ function le(e, t) {
|
|
|
478
478
|
}
|
|
479
479
|
var S = function() {
|
|
480
480
|
return S = Object.assign || function(t) {
|
|
481
|
-
for (var r, n = 1,
|
|
481
|
+
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
482
482
|
r = arguments[n];
|
|
483
|
-
for (var
|
|
484
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
483
|
+
for (var a in r)
|
|
484
|
+
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
485
485
|
}
|
|
486
486
|
return t;
|
|
487
487
|
}, S.apply(this, arguments);
|
|
488
488
|
};
|
|
489
|
-
function
|
|
489
|
+
function pn(e, t) {
|
|
490
490
|
var r = {};
|
|
491
491
|
for (var n in e)
|
|
492
492
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
493
493
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
494
|
-
for (var
|
|
495
|
-
t.indexOf(n[
|
|
494
|
+
for (var s = 0, n = Object.getOwnPropertySymbols(e); s < n.length; s++)
|
|
495
|
+
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
496
496
|
return r;
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function _t(e) {
|
|
499
499
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
500
500
|
if (r)
|
|
501
501
|
return r.call(e);
|
|
@@ -507,51 +507,51 @@ function xt(e) {
|
|
|
507
507
|
};
|
|
508
508
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function xt(e, t) {
|
|
511
511
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
512
512
|
if (!r)
|
|
513
513
|
return e;
|
|
514
|
-
var n = r.call(e),
|
|
514
|
+
var n = r.call(e), s, a = [], i;
|
|
515
515
|
try {
|
|
516
|
-
for (; (t === void 0 || t-- > 0) && !(
|
|
517
|
-
|
|
516
|
+
for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; )
|
|
517
|
+
a.push(s.value);
|
|
518
518
|
} catch (l) {
|
|
519
519
|
i = { error: l };
|
|
520
520
|
} finally {
|
|
521
521
|
try {
|
|
522
|
-
|
|
522
|
+
s && !s.done && (r = n.return) && r.call(n);
|
|
523
523
|
} finally {
|
|
524
524
|
if (i)
|
|
525
525
|
throw i.error;
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
|
-
return
|
|
528
|
+
return a;
|
|
529
529
|
}
|
|
530
530
|
function Ae(e, t, r) {
|
|
531
531
|
if (r || arguments.length === 2)
|
|
532
|
-
for (var n = 0,
|
|
533
|
-
(
|
|
534
|
-
return e.concat(
|
|
532
|
+
for (var n = 0, s = t.length, a; n < s; n++)
|
|
533
|
+
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
534
|
+
return e.concat(a || t);
|
|
535
535
|
}
|
|
536
536
|
function oe(e) {
|
|
537
537
|
return typeof e == "function";
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function pr(e) {
|
|
540
540
|
var t = function(n) {
|
|
541
541
|
Error.call(n), n.stack = new Error().stack;
|
|
542
542
|
}, r = e(t);
|
|
543
543
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
544
544
|
}
|
|
545
|
-
var dt =
|
|
545
|
+
var dt = pr(function(e) {
|
|
546
546
|
return function(r) {
|
|
547
547
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
548
|
-
` + r.map(function(n,
|
|
549
|
-
return
|
|
548
|
+
` + r.map(function(n, s) {
|
|
549
|
+
return s + 1 + ") " + n.toString();
|
|
550
550
|
}).join(`
|
|
551
551
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
552
552
|
};
|
|
553
553
|
});
|
|
554
|
-
function
|
|
554
|
+
function Et(e, t) {
|
|
555
555
|
if (e) {
|
|
556
556
|
var r = e.indexOf(t);
|
|
557
557
|
0 <= r && e.splice(r, 1);
|
|
@@ -562,14 +562,14 @@ var ot = function() {
|
|
|
562
562
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
563
563
|
}
|
|
564
564
|
return e.prototype.unsubscribe = function() {
|
|
565
|
-
var t, r, n,
|
|
565
|
+
var t, r, n, s, a;
|
|
566
566
|
if (!this.closed) {
|
|
567
567
|
this.closed = !0;
|
|
568
568
|
var i = this._parentage;
|
|
569
569
|
if (i)
|
|
570
570
|
if (this._parentage = null, Array.isArray(i))
|
|
571
571
|
try {
|
|
572
|
-
for (var l =
|
|
572
|
+
for (var l = _t(i), u = l.next(); !u.done; u = l.next()) {
|
|
573
573
|
var h = u.value;
|
|
574
574
|
h.remove(this);
|
|
575
575
|
}
|
|
@@ -590,39 +590,39 @@ var ot = function() {
|
|
|
590
590
|
try {
|
|
591
591
|
c();
|
|
592
592
|
} catch (v) {
|
|
593
|
-
|
|
593
|
+
a = v instanceof dt ? v.errors : [v];
|
|
594
594
|
}
|
|
595
595
|
var f = this._finalizers;
|
|
596
596
|
if (f) {
|
|
597
597
|
this._finalizers = null;
|
|
598
598
|
try {
|
|
599
|
-
for (var p =
|
|
599
|
+
for (var p = _t(f), m = p.next(); !m.done; m = p.next()) {
|
|
600
600
|
var w = m.value;
|
|
601
601
|
try {
|
|
602
|
-
|
|
602
|
+
kt(w);
|
|
603
603
|
} catch (v) {
|
|
604
|
-
|
|
604
|
+
a = a ?? [], v instanceof dt ? a = Ae(Ae([], xt(a)), xt(v.errors)) : a.push(v);
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
607
|
} catch (v) {
|
|
608
608
|
n = { error: v };
|
|
609
609
|
} finally {
|
|
610
610
|
try {
|
|
611
|
-
m && !m.done && (
|
|
611
|
+
m && !m.done && (s = p.return) && s.call(p);
|
|
612
612
|
} finally {
|
|
613
613
|
if (n)
|
|
614
614
|
throw n.error;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
if (
|
|
619
|
-
throw new dt(
|
|
618
|
+
if (a)
|
|
619
|
+
throw new dt(a);
|
|
620
620
|
}
|
|
621
621
|
}, e.prototype.add = function(t) {
|
|
622
622
|
var r;
|
|
623
623
|
if (t && t !== this)
|
|
624
624
|
if (this.closed)
|
|
625
|
-
|
|
625
|
+
kt(t);
|
|
626
626
|
else {
|
|
627
627
|
if (t instanceof e) {
|
|
628
628
|
if (t.closed || t._hasParent(this))
|
|
@@ -639,56 +639,52 @@ var ot = function() {
|
|
|
639
639
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
640
640
|
}, e.prototype._removeParent = function(t) {
|
|
641
641
|
var r = this._parentage;
|
|
642
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
642
|
+
r === t ? this._parentage = null : Array.isArray(r) && Et(r, t);
|
|
643
643
|
}, e.prototype.remove = function(t) {
|
|
644
644
|
var r = this._finalizers;
|
|
645
|
-
r &&
|
|
645
|
+
r && Et(r, t), t instanceof e && t._removeParent(this);
|
|
646
646
|
}, e.EMPTY = function() {
|
|
647
647
|
var t = new e();
|
|
648
648
|
return t.closed = !0, t;
|
|
649
649
|
}(), e;
|
|
650
|
-
}(),
|
|
651
|
-
function
|
|
650
|
+
}(), mr = ot.EMPTY;
|
|
651
|
+
function gr(e) {
|
|
652
652
|
return e instanceof ot || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
|
|
653
653
|
}
|
|
654
|
-
function
|
|
654
|
+
function kt(e) {
|
|
655
655
|
oe(e) ? e() : e.unsubscribe();
|
|
656
656
|
}
|
|
657
|
-
var
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
Promise: void 0,
|
|
661
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
662
|
-
useDeprecatedNextContext: !1
|
|
663
|
-
}, vn = {
|
|
657
|
+
var mn = {
|
|
658
|
+
Promise: void 0
|
|
659
|
+
}, gn = {
|
|
664
660
|
setTimeout: function(e, t) {
|
|
665
661
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
666
662
|
r[n - 2] = arguments[n];
|
|
667
|
-
return setTimeout.apply(void 0, Ae([e, t],
|
|
663
|
+
return setTimeout.apply(void 0, Ae([e, t], xt(r)));
|
|
668
664
|
},
|
|
669
665
|
clearTimeout: function(e) {
|
|
670
666
|
return clearTimeout(e);
|
|
671
667
|
},
|
|
672
668
|
delegate: void 0
|
|
673
669
|
};
|
|
674
|
-
function
|
|
675
|
-
|
|
670
|
+
function bn(e) {
|
|
671
|
+
gn.setTimeout(function() {
|
|
676
672
|
throw e;
|
|
677
673
|
});
|
|
678
674
|
}
|
|
679
|
-
function
|
|
675
|
+
function Dt() {
|
|
680
676
|
}
|
|
681
677
|
function rt(e) {
|
|
682
678
|
e();
|
|
683
679
|
}
|
|
684
|
-
var
|
|
680
|
+
var br = function(e) {
|
|
685
681
|
le(t, e);
|
|
686
682
|
function t(r) {
|
|
687
683
|
var n = e.call(this) || this;
|
|
688
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
684
|
+
return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = yn, n;
|
|
689
685
|
}
|
|
690
|
-
return t.create = function(r, n,
|
|
691
|
-
return new
|
|
686
|
+
return t.create = function(r, n, s) {
|
|
687
|
+
return new Ct(r, n, s);
|
|
692
688
|
}, t.prototype.next = function(r) {
|
|
693
689
|
this.isStopped || this._next(r);
|
|
694
690
|
}, t.prototype.error = function(r) {
|
|
@@ -712,11 +708,7 @@ var Pr = function(e) {
|
|
|
712
708
|
this.unsubscribe();
|
|
713
709
|
}
|
|
714
710
|
}, t;
|
|
715
|
-
}(ot),
|
|
716
|
-
function pt(e, t) {
|
|
717
|
-
return Pn.call(e, t);
|
|
718
|
-
}
|
|
719
|
-
var _n = function() {
|
|
711
|
+
}(ot), wn = function() {
|
|
720
712
|
function e(t) {
|
|
721
713
|
this.partialObserver = t;
|
|
722
714
|
}
|
|
@@ -747,55 +739,43 @@ var _n = function() {
|
|
|
747
739
|
Ke(r);
|
|
748
740
|
}
|
|
749
741
|
}, e;
|
|
750
|
-
}(),
|
|
742
|
+
}(), Ct = function(e) {
|
|
751
743
|
le(t, e);
|
|
752
|
-
function t(r, n,
|
|
753
|
-
var
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
};
|
|
760
|
-
else {
|
|
761
|
-
var l;
|
|
762
|
-
s && yr.useDeprecatedNextContext ? (l = Object.create(r), l.unsubscribe = function() {
|
|
763
|
-
return s.unsubscribe();
|
|
764
|
-
}, i = {
|
|
765
|
-
next: r.next && pt(r.next, l),
|
|
766
|
-
error: r.error && pt(r.error, l),
|
|
767
|
-
complete: r.complete && pt(r.complete, l)
|
|
768
|
-
}) : i = r;
|
|
769
|
-
}
|
|
770
|
-
return s.destination = new _n(i), s;
|
|
744
|
+
function t(r, n, s) {
|
|
745
|
+
var a = e.call(this) || this, i;
|
|
746
|
+
return oe(r) || !r ? i = {
|
|
747
|
+
next: r ?? void 0,
|
|
748
|
+
error: n ?? void 0,
|
|
749
|
+
complete: s ?? void 0
|
|
750
|
+
} : i = r, a.destination = new wn(i), a;
|
|
771
751
|
}
|
|
772
752
|
return t;
|
|
773
|
-
}(
|
|
753
|
+
}(br);
|
|
774
754
|
function Ke(e) {
|
|
775
|
-
|
|
755
|
+
bn(e);
|
|
776
756
|
}
|
|
777
|
-
function
|
|
757
|
+
function vn(e) {
|
|
778
758
|
throw e;
|
|
779
759
|
}
|
|
780
|
-
var
|
|
760
|
+
var yn = {
|
|
781
761
|
closed: !0,
|
|
782
|
-
next:
|
|
783
|
-
error:
|
|
784
|
-
complete:
|
|
785
|
-
},
|
|
762
|
+
next: Dt,
|
|
763
|
+
error: vn,
|
|
764
|
+
complete: Dt
|
|
765
|
+
}, Pn = function() {
|
|
786
766
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
787
767
|
}();
|
|
788
|
-
function
|
|
768
|
+
function _n(e) {
|
|
789
769
|
return e;
|
|
790
770
|
}
|
|
791
|
-
function
|
|
792
|
-
return e.length === 0 ?
|
|
793
|
-
return e.reduce(function(n,
|
|
794
|
-
return
|
|
771
|
+
function xn(e) {
|
|
772
|
+
return e.length === 0 ? _n : e.length === 1 ? e[0] : function(r) {
|
|
773
|
+
return e.reduce(function(n, s) {
|
|
774
|
+
return s(n);
|
|
795
775
|
}, r);
|
|
796
776
|
};
|
|
797
777
|
}
|
|
798
|
-
var
|
|
778
|
+
var Ut = function() {
|
|
799
779
|
function e(t) {
|
|
800
780
|
t && (this._subscribe = t);
|
|
801
781
|
}
|
|
@@ -803,11 +783,11 @@ var Vt = function() {
|
|
|
803
783
|
var r = new e();
|
|
804
784
|
return r.source = this, r.operator = t, r;
|
|
805
785
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
806
|
-
var
|
|
786
|
+
var s = this, a = Cn(t) ? t : new Ct(t, r, n);
|
|
807
787
|
return rt(function() {
|
|
808
|
-
var i =
|
|
809
|
-
|
|
810
|
-
}),
|
|
788
|
+
var i = s, l = i.operator, u = i.source;
|
|
789
|
+
a.add(l ? l.call(a, u) : u ? s._subscribe(a) : s._trySubscribe(a));
|
|
790
|
+
}), a;
|
|
811
791
|
}, e.prototype._trySubscribe = function(t) {
|
|
812
792
|
try {
|
|
813
793
|
return this._subscribe(t);
|
|
@@ -816,90 +796,90 @@ var Vt = function() {
|
|
|
816
796
|
}
|
|
817
797
|
}, e.prototype.forEach = function(t, r) {
|
|
818
798
|
var n = this;
|
|
819
|
-
return r =
|
|
820
|
-
var i = new
|
|
799
|
+
return r = $t(r), new r(function(s, a) {
|
|
800
|
+
var i = new Ct({
|
|
821
801
|
next: function(l) {
|
|
822
802
|
try {
|
|
823
803
|
t(l);
|
|
824
804
|
} catch (u) {
|
|
825
|
-
|
|
805
|
+
a(u), i.unsubscribe();
|
|
826
806
|
}
|
|
827
807
|
},
|
|
828
|
-
error:
|
|
829
|
-
complete:
|
|
808
|
+
error: a,
|
|
809
|
+
complete: s
|
|
830
810
|
});
|
|
831
811
|
n.subscribe(i);
|
|
832
812
|
});
|
|
833
813
|
}, e.prototype._subscribe = function(t) {
|
|
834
814
|
var r;
|
|
835
815
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
836
|
-
}, e.prototype[
|
|
816
|
+
}, e.prototype[Pn] = function() {
|
|
837
817
|
return this;
|
|
838
818
|
}, e.prototype.pipe = function() {
|
|
839
819
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
840
820
|
t[r] = arguments[r];
|
|
841
|
-
return
|
|
821
|
+
return xn(t)(this);
|
|
842
822
|
}, e.prototype.toPromise = function(t) {
|
|
843
823
|
var r = this;
|
|
844
|
-
return t =
|
|
845
|
-
var
|
|
824
|
+
return t = $t(t), new t(function(n, s) {
|
|
825
|
+
var a;
|
|
846
826
|
r.subscribe(function(i) {
|
|
847
|
-
return
|
|
827
|
+
return a = i;
|
|
848
828
|
}, function(i) {
|
|
849
|
-
return
|
|
829
|
+
return s(i);
|
|
850
830
|
}, function() {
|
|
851
|
-
return n(
|
|
831
|
+
return n(a);
|
|
852
832
|
});
|
|
853
833
|
});
|
|
854
834
|
}, e.create = function(t) {
|
|
855
835
|
return new e(t);
|
|
856
836
|
}, e;
|
|
857
837
|
}();
|
|
858
|
-
function
|
|
838
|
+
function $t(e) {
|
|
859
839
|
var t;
|
|
860
|
-
return (t = e ??
|
|
840
|
+
return (t = e ?? mn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
861
841
|
}
|
|
862
|
-
function
|
|
842
|
+
function En(e) {
|
|
863
843
|
return e && oe(e.next) && oe(e.error) && oe(e.complete);
|
|
864
844
|
}
|
|
865
|
-
function
|
|
866
|
-
return e && e instanceof
|
|
845
|
+
function Cn(e) {
|
|
846
|
+
return e && e instanceof br || En(e) && gr(e);
|
|
867
847
|
}
|
|
868
|
-
var
|
|
848
|
+
var Tn = pr(function(e) {
|
|
869
849
|
return function() {
|
|
870
850
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
871
851
|
};
|
|
872
|
-
}),
|
|
852
|
+
}), wr = function(e) {
|
|
873
853
|
le(t, e);
|
|
874
854
|
function t() {
|
|
875
855
|
var r = e.call(this) || this;
|
|
876
856
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
877
857
|
}
|
|
878
858
|
return t.prototype.lift = function(r) {
|
|
879
|
-
var n = new
|
|
859
|
+
var n = new Gt(this, this);
|
|
880
860
|
return n.operator = r, n;
|
|
881
861
|
}, t.prototype._throwIfClosed = function() {
|
|
882
862
|
if (this.closed)
|
|
883
|
-
throw new
|
|
863
|
+
throw new Tn();
|
|
884
864
|
}, t.prototype.next = function(r) {
|
|
885
865
|
var n = this;
|
|
886
866
|
rt(function() {
|
|
887
|
-
var
|
|
867
|
+
var s, a;
|
|
888
868
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
889
869
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
890
870
|
try {
|
|
891
|
-
for (var i =
|
|
871
|
+
for (var i = _t(n.currentObservers), l = i.next(); !l.done; l = i.next()) {
|
|
892
872
|
var u = l.value;
|
|
893
873
|
u.next(r);
|
|
894
874
|
}
|
|
895
875
|
} catch (h) {
|
|
896
|
-
|
|
876
|
+
s = { error: h };
|
|
897
877
|
} finally {
|
|
898
878
|
try {
|
|
899
|
-
l && !l.done && (
|
|
879
|
+
l && !l.done && (a = i.return) && a.call(i);
|
|
900
880
|
} finally {
|
|
901
|
-
if (
|
|
902
|
-
throw
|
|
881
|
+
if (s)
|
|
882
|
+
throw s.error;
|
|
903
883
|
}
|
|
904
884
|
}
|
|
905
885
|
}
|
|
@@ -909,8 +889,8 @@ var In = br(function(e) {
|
|
|
909
889
|
rt(function() {
|
|
910
890
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
911
891
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
912
|
-
for (var
|
|
913
|
-
|
|
892
|
+
for (var s = n.observers; s.length; )
|
|
893
|
+
s.shift().error(r);
|
|
914
894
|
}
|
|
915
895
|
});
|
|
916
896
|
}, t.prototype.complete = function() {
|
|
@@ -936,75 +916,75 @@ var In = br(function(e) {
|
|
|
936
916
|
}, t.prototype._subscribe = function(r) {
|
|
937
917
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
938
918
|
}, t.prototype._innerSubscribe = function(r) {
|
|
939
|
-
var n = this,
|
|
940
|
-
return
|
|
941
|
-
n.currentObservers = null,
|
|
919
|
+
var n = this, s = this, a = s.hasError, i = s.isStopped, l = s.observers;
|
|
920
|
+
return a || i ? mr : (this.currentObservers = null, l.push(r), new ot(function() {
|
|
921
|
+
n.currentObservers = null, Et(l, r);
|
|
942
922
|
}));
|
|
943
923
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
944
|
-
var n = this,
|
|
945
|
-
|
|
924
|
+
var n = this, s = n.hasError, a = n.thrownError, i = n.isStopped;
|
|
925
|
+
s ? r.error(a) : i && r.complete();
|
|
946
926
|
}, t.prototype.asObservable = function() {
|
|
947
|
-
var r = new
|
|
927
|
+
var r = new Ut();
|
|
948
928
|
return r.source = this, r;
|
|
949
929
|
}, t.create = function(r, n) {
|
|
950
|
-
return new
|
|
930
|
+
return new Gt(r, n);
|
|
951
931
|
}, t;
|
|
952
|
-
}(
|
|
932
|
+
}(Ut), Gt = function(e) {
|
|
953
933
|
le(t, e);
|
|
954
934
|
function t(r, n) {
|
|
955
|
-
var
|
|
956
|
-
return
|
|
935
|
+
var s = e.call(this) || this;
|
|
936
|
+
return s.destination = r, s.source = n, s;
|
|
957
937
|
}
|
|
958
938
|
return t.prototype.next = function(r) {
|
|
959
|
-
var n,
|
|
960
|
-
(
|
|
939
|
+
var n, s;
|
|
940
|
+
(s = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || s === void 0 || s.call(n, r);
|
|
961
941
|
}, t.prototype.error = function(r) {
|
|
962
|
-
var n,
|
|
963
|
-
(
|
|
942
|
+
var n, s;
|
|
943
|
+
(s = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || s === void 0 || s.call(n, r);
|
|
964
944
|
}, t.prototype.complete = function() {
|
|
965
945
|
var r, n;
|
|
966
946
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
967
947
|
}, t.prototype._subscribe = function(r) {
|
|
968
|
-
var n,
|
|
969
|
-
return (
|
|
948
|
+
var n, s;
|
|
949
|
+
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : mr;
|
|
970
950
|
}, t;
|
|
971
|
-
}(
|
|
951
|
+
}(wr), vr = {
|
|
972
952
|
now: function() {
|
|
973
|
-
return (
|
|
953
|
+
return (vr.delegate || Date).now();
|
|
974
954
|
},
|
|
975
955
|
delegate: void 0
|
|
976
|
-
},
|
|
956
|
+
}, Bn = function(e) {
|
|
977
957
|
le(t, e);
|
|
978
|
-
function t(r, n,
|
|
979
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0),
|
|
980
|
-
var
|
|
981
|
-
return
|
|
958
|
+
function t(r, n, s) {
|
|
959
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = vr);
|
|
960
|
+
var a = e.call(this) || this;
|
|
961
|
+
return a._bufferSize = r, a._windowTime = n, a._timestampProvider = s, a._buffer = [], a._infiniteTimeWindow = !0, a._infiniteTimeWindow = n === 1 / 0, a._bufferSize = Math.max(1, r), a._windowTime = Math.max(1, n), a;
|
|
982
962
|
}
|
|
983
963
|
return t.prototype.next = function(r) {
|
|
984
|
-
var n = this,
|
|
985
|
-
|
|
964
|
+
var n = this, s = n.isStopped, a = n._buffer, i = n._infiniteTimeWindow, l = n._timestampProvider, u = n._windowTime;
|
|
965
|
+
s || (a.push(r), !i && a.push(l.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
986
966
|
}, t.prototype._subscribe = function(r) {
|
|
987
967
|
this._throwIfClosed(), this._trimBuffer();
|
|
988
|
-
for (var n = this._innerSubscribe(r),
|
|
968
|
+
for (var n = this._innerSubscribe(r), s = this, a = s._infiniteTimeWindow, i = s._buffer, l = i.slice(), u = 0; u < l.length && !r.closed; u += a ? 1 : 2)
|
|
989
969
|
r.next(l[u]);
|
|
990
970
|
return this._checkFinalizedStatuses(r), n;
|
|
991
971
|
}, t.prototype._trimBuffer = function() {
|
|
992
|
-
var r = this, n = r._bufferSize,
|
|
993
|
-
if (n < 1 / 0 && l <
|
|
994
|
-
for (var u =
|
|
972
|
+
var r = this, n = r._bufferSize, s = r._timestampProvider, a = r._buffer, i = r._infiniteTimeWindow, l = (i ? 1 : 2) * n;
|
|
973
|
+
if (n < 1 / 0 && l < a.length && a.splice(0, a.length - l), !i) {
|
|
974
|
+
for (var u = s.now(), h = 0, c = 1; c < a.length && a[c] <= u; c += 2)
|
|
995
975
|
h = c;
|
|
996
|
-
h &&
|
|
976
|
+
h && a.splice(0, h + 1);
|
|
997
977
|
}
|
|
998
978
|
}, t;
|
|
999
|
-
}(
|
|
1000
|
-
const
|
|
1001
|
-
if (
|
|
1002
|
-
const r = new
|
|
1003
|
-
|
|
979
|
+
}(wr);
|
|
980
|
+
const Vt = [], jt = {}, Sn = (e, t = 0) => {
|
|
981
|
+
if (Vt.indexOf(e) == -1) {
|
|
982
|
+
const r = new Bn(t);
|
|
983
|
+
jt[e] = r, Vt.push(e);
|
|
1004
984
|
}
|
|
1005
|
-
return
|
|
985
|
+
return jt[e];
|
|
1006
986
|
}, Ee = [];
|
|
1007
|
-
function
|
|
987
|
+
function An(e, t) {
|
|
1008
988
|
return {
|
|
1009
989
|
subscribe: lt(e, t).subscribe
|
|
1010
990
|
};
|
|
@@ -1012,8 +992,8 @@ function Nn(e, t) {
|
|
|
1012
992
|
function lt(e, t = ne) {
|
|
1013
993
|
let r;
|
|
1014
994
|
const n = /* @__PURE__ */ new Set();
|
|
1015
|
-
function
|
|
1016
|
-
if (
|
|
995
|
+
function s(l) {
|
|
996
|
+
if (hr(e, l) && (e = l, r)) {
|
|
1017
997
|
const u = !Ee.length;
|
|
1018
998
|
for (const h of n)
|
|
1019
999
|
h[1](), Ee.push(h, e);
|
|
@@ -1024,23 +1004,23 @@ function lt(e, t = ne) {
|
|
|
1024
1004
|
}
|
|
1025
1005
|
}
|
|
1026
1006
|
}
|
|
1027
|
-
function
|
|
1028
|
-
|
|
1007
|
+
function a(l) {
|
|
1008
|
+
s(l(e));
|
|
1029
1009
|
}
|
|
1030
1010
|
function i(l, u = ne) {
|
|
1031
1011
|
const h = [l, u];
|
|
1032
|
-
return n.add(h), n.size === 1 && (r = t(
|
|
1012
|
+
return n.add(h), n.size === 1 && (r = t(s, a) || ne), l(e), () => {
|
|
1033
1013
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1034
1014
|
};
|
|
1035
1015
|
}
|
|
1036
|
-
return { set:
|
|
1016
|
+
return { set: s, update: a, subscribe: i };
|
|
1037
1017
|
}
|
|
1038
|
-
function
|
|
1039
|
-
const n = !Array.isArray(e),
|
|
1040
|
-
if (!
|
|
1018
|
+
function Re(e, t, r) {
|
|
1019
|
+
const n = !Array.isArray(e), s = n ? [e] : e;
|
|
1020
|
+
if (!s.every(Boolean))
|
|
1041
1021
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1042
|
-
const
|
|
1043
|
-
return
|
|
1022
|
+
const a = t.length < 2;
|
|
1023
|
+
return An(r, (i, l) => {
|
|
1044
1024
|
let u = !1;
|
|
1045
1025
|
const h = [];
|
|
1046
1026
|
let c = 0, f = ne;
|
|
@@ -1049,9 +1029,9 @@ function Oe(e, t, r) {
|
|
|
1049
1029
|
return;
|
|
1050
1030
|
f();
|
|
1051
1031
|
const w = t(n ? h[0] : h, i, l);
|
|
1052
|
-
|
|
1053
|
-
}, m =
|
|
1054
|
-
(w, v) =>
|
|
1032
|
+
a ? i(w) : f = Be(w) ? w : ne;
|
|
1033
|
+
}, m = s.map(
|
|
1034
|
+
(w, v) => cr(
|
|
1055
1035
|
w,
|
|
1056
1036
|
(T) => {
|
|
1057
1037
|
h[v] = T, c &= ~(1 << v), u && p();
|
|
@@ -1062,183 +1042,181 @@ function Oe(e, t, r) {
|
|
|
1062
1042
|
)
|
|
1063
1043
|
);
|
|
1064
1044
|
return u = !0, p(), function() {
|
|
1065
|
-
|
|
1045
|
+
Oe(m), f(), u = !1;
|
|
1066
1046
|
};
|
|
1067
1047
|
});
|
|
1068
1048
|
}
|
|
1069
|
-
function
|
|
1049
|
+
function In(e) {
|
|
1070
1050
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1071
1051
|
}
|
|
1072
|
-
var
|
|
1073
|
-
return
|
|
1052
|
+
var Hn = function(t) {
|
|
1053
|
+
return Mn(t) && !Nn(t);
|
|
1074
1054
|
};
|
|
1075
|
-
function
|
|
1055
|
+
function Mn(e) {
|
|
1076
1056
|
return !!e && typeof e == "object";
|
|
1077
1057
|
}
|
|
1078
|
-
function
|
|
1058
|
+
function Nn(e) {
|
|
1079
1059
|
var t = Object.prototype.toString.call(e);
|
|
1080
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1060
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ln(e);
|
|
1081
1061
|
}
|
|
1082
|
-
var
|
|
1083
|
-
function
|
|
1084
|
-
return e.$$typeof ===
|
|
1062
|
+
var On = typeof Symbol == "function" && Symbol.for, Rn = On ? Symbol.for("react.element") : 60103;
|
|
1063
|
+
function Ln(e) {
|
|
1064
|
+
return e.$$typeof === Rn;
|
|
1085
1065
|
}
|
|
1086
|
-
function
|
|
1066
|
+
function Fn(e) {
|
|
1087
1067
|
return Array.isArray(e) ? [] : {};
|
|
1088
1068
|
}
|
|
1089
1069
|
function je(e, t) {
|
|
1090
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(
|
|
1070
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(Fn(e), e, t) : e;
|
|
1091
1071
|
}
|
|
1092
|
-
function
|
|
1072
|
+
function kn(e, t, r) {
|
|
1093
1073
|
return e.concat(t).map(function(n) {
|
|
1094
1074
|
return je(n, r);
|
|
1095
1075
|
});
|
|
1096
1076
|
}
|
|
1097
|
-
function
|
|
1077
|
+
function Dn(e, t) {
|
|
1098
1078
|
if (!t.customMerge)
|
|
1099
1079
|
return Ie;
|
|
1100
1080
|
var r = t.customMerge(e);
|
|
1101
1081
|
return typeof r == "function" ? r : Ie;
|
|
1102
1082
|
}
|
|
1103
|
-
function
|
|
1083
|
+
function Un(e) {
|
|
1104
1084
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1105
1085
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1106
1086
|
}) : [];
|
|
1107
1087
|
}
|
|
1108
|
-
function
|
|
1109
|
-
return Object.keys(e).concat(
|
|
1088
|
+
function zt(e) {
|
|
1089
|
+
return Object.keys(e).concat(Un(e));
|
|
1110
1090
|
}
|
|
1111
|
-
function
|
|
1091
|
+
function yr(e, t) {
|
|
1112
1092
|
try {
|
|
1113
1093
|
return t in e;
|
|
1114
1094
|
} catch {
|
|
1115
1095
|
return !1;
|
|
1116
1096
|
}
|
|
1117
1097
|
}
|
|
1118
|
-
function
|
|
1119
|
-
return
|
|
1098
|
+
function $n(e, t) {
|
|
1099
|
+
return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1120
1100
|
}
|
|
1121
|
-
function
|
|
1101
|
+
function Gn(e, t, r) {
|
|
1122
1102
|
var n = {};
|
|
1123
|
-
return r.isMergeableObject(e) &&
|
|
1124
|
-
n[
|
|
1125
|
-
}),
|
|
1126
|
-
|
|
1103
|
+
return r.isMergeableObject(e) && zt(e).forEach(function(s) {
|
|
1104
|
+
n[s] = je(e[s], r);
|
|
1105
|
+
}), zt(t).forEach(function(s) {
|
|
1106
|
+
$n(e, s) || (yr(e, s) && r.isMergeableObject(t[s]) ? n[s] = Dn(s, r)(e[s], t[s], r) : n[s] = je(t[s], r));
|
|
1127
1107
|
}), n;
|
|
1128
1108
|
}
|
|
1129
1109
|
function Ie(e, t, r) {
|
|
1130
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1131
|
-
var n = Array.isArray(t),
|
|
1132
|
-
return
|
|
1110
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || kn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = je;
|
|
1111
|
+
var n = Array.isArray(t), s = Array.isArray(e), a = n === s;
|
|
1112
|
+
return a ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : je(t, r);
|
|
1133
1113
|
}
|
|
1134
1114
|
Ie.all = function(t, r) {
|
|
1135
1115
|
if (!Array.isArray(t))
|
|
1136
1116
|
throw new Error("first argument should be an array");
|
|
1137
|
-
return t.reduce(function(n,
|
|
1138
|
-
return Ie(n,
|
|
1117
|
+
return t.reduce(function(n, s) {
|
|
1118
|
+
return Ie(n, s, r);
|
|
1139
1119
|
}, {});
|
|
1140
1120
|
};
|
|
1141
|
-
var
|
|
1142
|
-
const
|
|
1143
|
-
function
|
|
1144
|
-
var r = t && t.cache ? t.cache :
|
|
1145
|
-
return
|
|
1121
|
+
var Vn = Ie, jn = Vn;
|
|
1122
|
+
const zn = /* @__PURE__ */ In(jn);
|
|
1123
|
+
function pt(e, t) {
|
|
1124
|
+
var r = t && t.cache ? t.cache : qn, n = t && t.serializer ? t.serializer : Yn, s = t && t.strategy ? t.strategy : Zn;
|
|
1125
|
+
return s(e, {
|
|
1146
1126
|
cache: r,
|
|
1147
1127
|
serializer: n
|
|
1148
1128
|
});
|
|
1149
1129
|
}
|
|
1150
|
-
function
|
|
1130
|
+
function Wn(e) {
|
|
1151
1131
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1152
1132
|
}
|
|
1153
|
-
function
|
|
1154
|
-
var
|
|
1155
|
-
return typeof
|
|
1156
|
-
}
|
|
1157
|
-
function Tr(e, t, r) {
|
|
1158
|
-
var n = Array.prototype.slice.call(arguments, 3), a = r(n), s = t.get(a);
|
|
1159
|
-
return typeof s > "u" && (s = e.apply(this, n), t.set(a, s)), s;
|
|
1133
|
+
function Xn(e, t, r, n) {
|
|
1134
|
+
var s = Wn(n) ? n : r(n), a = t.get(s);
|
|
1135
|
+
return typeof a > "u" && (a = e.call(this, n), t.set(s, a)), a;
|
|
1160
1136
|
}
|
|
1161
|
-
function
|
|
1162
|
-
|
|
1137
|
+
function Pr(e, t, r) {
|
|
1138
|
+
var n = Array.prototype.slice.call(arguments, 3), s = r(n), a = t.get(s);
|
|
1139
|
+
return typeof a > "u" && (a = e.apply(this, n), t.set(s, a)), a;
|
|
1163
1140
|
}
|
|
1164
|
-
function
|
|
1165
|
-
|
|
1166
|
-
return Ot(e, this, r, t.cache.create(), t.serializer);
|
|
1141
|
+
function _r(e, t, r, n, s) {
|
|
1142
|
+
return r.bind(t, e, n, s);
|
|
1167
1143
|
}
|
|
1168
|
-
function
|
|
1169
|
-
|
|
1144
|
+
function Zn(e, t) {
|
|
1145
|
+
var r = e.length === 1 ? Xn : Pr;
|
|
1146
|
+
return _r(e, this, r, t.cache.create(), t.serializer);
|
|
1170
1147
|
}
|
|
1171
|
-
function
|
|
1172
|
-
return
|
|
1148
|
+
function Qn(e, t) {
|
|
1149
|
+
return _r(e, this, Pr, t.cache.create(), t.serializer);
|
|
1173
1150
|
}
|
|
1174
|
-
var
|
|
1151
|
+
var Yn = function() {
|
|
1175
1152
|
return JSON.stringify(arguments);
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1153
|
+
}, Jn = (
|
|
1154
|
+
/** @class */
|
|
1155
|
+
function() {
|
|
1156
|
+
function e() {
|
|
1157
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1158
|
+
}
|
|
1159
|
+
return e.prototype.get = function(t) {
|
|
1160
|
+
return this.cache[t];
|
|
1161
|
+
}, e.prototype.set = function(t, r) {
|
|
1162
|
+
this.cache[t] = r;
|
|
1163
|
+
}, e;
|
|
1164
|
+
}()
|
|
1165
|
+
), qn = {
|
|
1187
1166
|
create: function() {
|
|
1188
|
-
return new
|
|
1167
|
+
return new Jn();
|
|
1189
1168
|
}
|
|
1190
|
-
},
|
|
1191
|
-
variadic:
|
|
1192
|
-
monadic: Kn
|
|
1169
|
+
}, mt = {
|
|
1170
|
+
variadic: Qn
|
|
1193
1171
|
}, E;
|
|
1194
1172
|
(function(e) {
|
|
1195
1173
|
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";
|
|
1196
1174
|
})(E || (E = {}));
|
|
1197
|
-
var
|
|
1175
|
+
var O;
|
|
1198
1176
|
(function(e) {
|
|
1199
1177
|
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";
|
|
1200
|
-
})(
|
|
1178
|
+
})(O || (O = {}));
|
|
1201
1179
|
var He;
|
|
1202
1180
|
(function(e) {
|
|
1203
1181
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1204
1182
|
})(He || (He = {}));
|
|
1205
|
-
function
|
|
1206
|
-
return e.type ===
|
|
1183
|
+
function Wt(e) {
|
|
1184
|
+
return e.type === O.literal;
|
|
1207
1185
|
}
|
|
1208
|
-
function
|
|
1209
|
-
return e.type ===
|
|
1186
|
+
function Kn(e) {
|
|
1187
|
+
return e.type === O.argument;
|
|
1210
1188
|
}
|
|
1211
|
-
function
|
|
1212
|
-
return e.type ===
|
|
1189
|
+
function xr(e) {
|
|
1190
|
+
return e.type === O.number;
|
|
1213
1191
|
}
|
|
1214
|
-
function
|
|
1215
|
-
return e.type ===
|
|
1192
|
+
function Er(e) {
|
|
1193
|
+
return e.type === O.date;
|
|
1216
1194
|
}
|
|
1217
|
-
function
|
|
1218
|
-
return e.type ===
|
|
1195
|
+
function Cr(e) {
|
|
1196
|
+
return e.type === O.time;
|
|
1219
1197
|
}
|
|
1220
|
-
function
|
|
1221
|
-
return e.type ===
|
|
1198
|
+
function Tr(e) {
|
|
1199
|
+
return e.type === O.select;
|
|
1222
1200
|
}
|
|
1223
|
-
function
|
|
1224
|
-
return e.type ===
|
|
1201
|
+
function Br(e) {
|
|
1202
|
+
return e.type === O.plural;
|
|
1225
1203
|
}
|
|
1226
|
-
function
|
|
1227
|
-
return e.type ===
|
|
1204
|
+
function es(e) {
|
|
1205
|
+
return e.type === O.pound;
|
|
1228
1206
|
}
|
|
1229
|
-
function
|
|
1230
|
-
return e.type ===
|
|
1207
|
+
function Sr(e) {
|
|
1208
|
+
return e.type === O.tag;
|
|
1231
1209
|
}
|
|
1232
|
-
function
|
|
1210
|
+
function Ar(e) {
|
|
1233
1211
|
return !!(e && typeof e == "object" && e.type === He.number);
|
|
1234
1212
|
}
|
|
1235
|
-
function
|
|
1213
|
+
function Tt(e) {
|
|
1236
1214
|
return !!(e && typeof e == "object" && e.type === He.dateTime);
|
|
1237
1215
|
}
|
|
1238
|
-
var
|
|
1239
|
-
function
|
|
1216
|
+
var Ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ts = /(?:[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;
|
|
1217
|
+
function rs(e) {
|
|
1240
1218
|
var t = {};
|
|
1241
|
-
return e.replace(
|
|
1219
|
+
return e.replace(ts, function(r) {
|
|
1242
1220
|
var n = r.length;
|
|
1243
1221
|
switch (r[0]) {
|
|
1244
1222
|
case "G":
|
|
@@ -1327,14 +1305,14 @@ function sa(e) {
|
|
|
1327
1305
|
return "";
|
|
1328
1306
|
}), t;
|
|
1329
1307
|
}
|
|
1330
|
-
var
|
|
1331
|
-
function
|
|
1308
|
+
var ns = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1309
|
+
function ss(e) {
|
|
1332
1310
|
if (e.length === 0)
|
|
1333
1311
|
throw new Error("Number skeleton cannot be empty");
|
|
1334
|
-
for (var t = e.split(
|
|
1312
|
+
for (var t = e.split(ns).filter(function(p) {
|
|
1335
1313
|
return p.length > 0;
|
|
1336
|
-
}), r = [], n = 0,
|
|
1337
|
-
var
|
|
1314
|
+
}), r = [], n = 0, s = t; n < s.length; n++) {
|
|
1315
|
+
var a = s[n], i = a.split("/");
|
|
1338
1316
|
if (i.length === 0)
|
|
1339
1317
|
throw new Error("Invalid number skeleton");
|
|
1340
1318
|
for (var l = i[0], u = i.slice(1), h = 0, c = u; h < c.length; h++) {
|
|
@@ -1346,17 +1324,17 @@ function oa(e) {
|
|
|
1346
1324
|
}
|
|
1347
1325
|
return r;
|
|
1348
1326
|
}
|
|
1349
|
-
function
|
|
1327
|
+
function as(e) {
|
|
1350
1328
|
return e.replace(/^(.*?)-/, "");
|
|
1351
1329
|
}
|
|
1352
|
-
var
|
|
1353
|
-
function
|
|
1330
|
+
var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hr = /^(@+)?(\+|#+)?[rs]?$/g, is = /(\*)(0+)|(#+)(0+)|(0+)/g, Mr = /^(0+)$/;
|
|
1331
|
+
function Zt(e) {
|
|
1354
1332
|
var t = {};
|
|
1355
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1356
|
-
return typeof
|
|
1333
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Hr, function(r, n, s) {
|
|
1334
|
+
return typeof s != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : s === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof s == "string" ? s.length : 0)), "";
|
|
1357
1335
|
}), t;
|
|
1358
1336
|
}
|
|
1359
|
-
function
|
|
1337
|
+
function Nr(e) {
|
|
1360
1338
|
switch (e) {
|
|
1361
1339
|
case "sign-auto":
|
|
1362
1340
|
return {
|
|
@@ -1396,7 +1374,7 @@ function Fr(e) {
|
|
|
1396
1374
|
};
|
|
1397
1375
|
}
|
|
1398
1376
|
}
|
|
1399
|
-
function
|
|
1377
|
+
function os(e) {
|
|
1400
1378
|
var t;
|
|
1401
1379
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1402
1380
|
notation: "engineering"
|
|
@@ -1404,20 +1382,20 @@ function ha(e) {
|
|
|
1404
1382
|
notation: "scientific"
|
|
1405
1383
|
}, e = e.slice(1)), t) {
|
|
1406
1384
|
var r = e.slice(0, 2);
|
|
1407
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1385
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mr.test(e))
|
|
1408
1386
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1409
1387
|
t.minimumIntegerDigits = e.length;
|
|
1410
1388
|
}
|
|
1411
1389
|
return t;
|
|
1412
1390
|
}
|
|
1413
|
-
function
|
|
1414
|
-
var t = {}, r =
|
|
1391
|
+
function Qt(e) {
|
|
1392
|
+
var t = {}, r = Nr(e);
|
|
1415
1393
|
return r || t;
|
|
1416
1394
|
}
|
|
1417
|
-
function
|
|
1395
|
+
function ls(e) {
|
|
1418
1396
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1419
|
-
var
|
|
1420
|
-
switch (
|
|
1397
|
+
var s = n[r];
|
|
1398
|
+
switch (s.stem) {
|
|
1421
1399
|
case "percent":
|
|
1422
1400
|
case "%":
|
|
1423
1401
|
t.style = "percent";
|
|
@@ -1426,7 +1404,7 @@ function ca(e) {
|
|
|
1426
1404
|
t.style = "percent", t.scale = 100;
|
|
1427
1405
|
continue;
|
|
1428
1406
|
case "currency":
|
|
1429
|
-
t.style = "currency", t.currency =
|
|
1407
|
+
t.style = "currency", t.currency = s.options[0];
|
|
1430
1408
|
continue;
|
|
1431
1409
|
case "group-off":
|
|
1432
1410
|
case ",_":
|
|
@@ -1438,7 +1416,7 @@ function ca(e) {
|
|
|
1438
1416
|
continue;
|
|
1439
1417
|
case "measure-unit":
|
|
1440
1418
|
case "unit":
|
|
1441
|
-
t.style = "unit", t.unit =
|
|
1419
|
+
t.style = "unit", t.unit = as(s.options[0]);
|
|
1442
1420
|
continue;
|
|
1443
1421
|
case "compact-short":
|
|
1444
1422
|
case "K":
|
|
@@ -1449,13 +1427,13 @@ function ca(e) {
|
|
|
1449
1427
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1450
1428
|
continue;
|
|
1451
1429
|
case "scientific":
|
|
1452
|
-
t = S(S(S({}, t), { notation: "scientific" }),
|
|
1453
|
-
return S(S({}, u),
|
|
1430
|
+
t = S(S(S({}, t), { notation: "scientific" }), s.options.reduce(function(u, h) {
|
|
1431
|
+
return S(S({}, u), Qt(h));
|
|
1454
1432
|
}, {}));
|
|
1455
1433
|
continue;
|
|
1456
1434
|
case "engineering":
|
|
1457
|
-
t = S(S(S({}, t), { notation: "engineering" }),
|
|
1458
|
-
return S(S({}, u),
|
|
1435
|
+
t = S(S(S({}, t), { notation: "engineering" }), s.options.reduce(function(u, h) {
|
|
1436
|
+
return S(S({}, u), Qt(h));
|
|
1459
1437
|
}, {}));
|
|
1460
1438
|
continue;
|
|
1461
1439
|
case "notation-simple":
|
|
@@ -1474,7 +1452,7 @@ function ca(e) {
|
|
|
1474
1452
|
t.currencyDisplay = "symbol";
|
|
1475
1453
|
continue;
|
|
1476
1454
|
case "scale":
|
|
1477
|
-
t.scale = parseFloat(
|
|
1455
|
+
t.scale = parseFloat(s.options[0]);
|
|
1478
1456
|
continue;
|
|
1479
1457
|
case "rounding-mode-floor":
|
|
1480
1458
|
t.roundingMode = "floor";
|
|
@@ -1498,9 +1476,9 @@ function ca(e) {
|
|
|
1498
1476
|
t.roundingMode = "halfExpand";
|
|
1499
1477
|
continue;
|
|
1500
1478
|
case "integer-width":
|
|
1501
|
-
if (
|
|
1479
|
+
if (s.options.length > 1)
|
|
1502
1480
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1503
|
-
|
|
1481
|
+
s.options[0].replace(is, function(u, h, c, f, p, m) {
|
|
1504
1482
|
if (h)
|
|
1505
1483
|
t.minimumIntegerDigits = c.length;
|
|
1506
1484
|
else {
|
|
@@ -1513,27 +1491,27 @@ function ca(e) {
|
|
|
1513
1491
|
});
|
|
1514
1492
|
continue;
|
|
1515
1493
|
}
|
|
1516
|
-
if (
|
|
1517
|
-
t.minimumIntegerDigits =
|
|
1494
|
+
if (Mr.test(s.stem)) {
|
|
1495
|
+
t.minimumIntegerDigits = s.stem.length;
|
|
1518
1496
|
continue;
|
|
1519
1497
|
}
|
|
1520
|
-
if (
|
|
1521
|
-
if (
|
|
1498
|
+
if (Xt.test(s.stem)) {
|
|
1499
|
+
if (s.options.length > 1)
|
|
1522
1500
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1523
|
-
|
|
1501
|
+
s.stem.replace(Xt, function(u, h, c, f, p, m) {
|
|
1524
1502
|
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), "";
|
|
1525
1503
|
});
|
|
1526
|
-
var
|
|
1527
|
-
|
|
1504
|
+
var a = s.options[0];
|
|
1505
|
+
a === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = S(S({}, t), Zt(a)));
|
|
1528
1506
|
continue;
|
|
1529
1507
|
}
|
|
1530
|
-
if (
|
|
1531
|
-
t = S(S({}, t),
|
|
1508
|
+
if (Hr.test(s.stem)) {
|
|
1509
|
+
t = S(S({}, t), Zt(s.stem));
|
|
1532
1510
|
continue;
|
|
1533
1511
|
}
|
|
1534
|
-
var i =
|
|
1512
|
+
var i = Nr(s.stem);
|
|
1535
1513
|
i && (t = S(S({}, t), i));
|
|
1536
|
-
var l =
|
|
1514
|
+
var l = os(s.stem);
|
|
1537
1515
|
l && (t = S(S({}, t), l));
|
|
1538
1516
|
}
|
|
1539
1517
|
return t;
|
|
@@ -2953,23 +2931,23 @@ var et = {
|
|
|
2953
2931
|
"h"
|
|
2954
2932
|
]
|
|
2955
2933
|
};
|
|
2956
|
-
function
|
|
2934
|
+
function us(e, t) {
|
|
2957
2935
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2958
|
-
var
|
|
2959
|
-
if (
|
|
2960
|
-
for (var
|
|
2961
|
-
|
|
2962
|
-
var i = 1 + (
|
|
2936
|
+
var s = e.charAt(n);
|
|
2937
|
+
if (s === "j") {
|
|
2938
|
+
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === s; )
|
|
2939
|
+
a++, n++;
|
|
2940
|
+
var i = 1 + (a & 1), l = a < 2 ? 1 : 3 + (a >> 1), u = "a", h = hs(t);
|
|
2963
2941
|
for ((h == "H" || h == "k") && (l = 0); l-- > 0; )
|
|
2964
2942
|
r += u;
|
|
2965
2943
|
for (; i-- > 0; )
|
|
2966
2944
|
r = h + r;
|
|
2967
2945
|
} else
|
|
2968
|
-
|
|
2946
|
+
s === "J" ? r += "H" : r += s;
|
|
2969
2947
|
}
|
|
2970
2948
|
return r;
|
|
2971
2949
|
}
|
|
2972
|
-
function
|
|
2950
|
+
function hs(e) {
|
|
2973
2951
|
var t = e.hourCycle;
|
|
2974
2952
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2975
2953
|
e.hourCycles && // @ts-ignore
|
|
@@ -2988,23 +2966,23 @@ function da(e) {
|
|
|
2988
2966
|
}
|
|
2989
2967
|
var r = e.language, n;
|
|
2990
2968
|
r !== "root" && (n = e.maximize().region);
|
|
2991
|
-
var
|
|
2992
|
-
return
|
|
2969
|
+
var s = et[n || ""] || et[r || ""] || et["".concat(r, "-001")] || et["001"];
|
|
2970
|
+
return s[0];
|
|
2993
2971
|
}
|
|
2994
|
-
var
|
|
2972
|
+
var gt, cs = new RegExp("^".concat(Ir.source, "*")), fs = new RegExp("".concat(Ir.source, "*$"));
|
|
2995
2973
|
function C(e, t) {
|
|
2996
2974
|
return { start: e, end: t };
|
|
2997
2975
|
}
|
|
2998
|
-
var
|
|
2976
|
+
var ds = !!String.prototype.startsWith && "_a".startsWith("a", 1), ps = !!String.fromCodePoint, ms = !!Object.fromEntries, gs = !!String.prototype.codePointAt, bs = !!String.prototype.trimStart, ws = !!String.prototype.trimEnd, vs = !!Number.isSafeInteger, ys = vs ? Number.isSafeInteger : function(e) {
|
|
2999
2977
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3000
|
-
},
|
|
2978
|
+
}, Bt = !0;
|
|
3001
2979
|
try {
|
|
3002
|
-
var
|
|
3003
|
-
|
|
2980
|
+
var Ps = Rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2981
|
+
Bt = ((gt = Ps.exec("a")) === null || gt === void 0 ? void 0 : gt[0]) === "a";
|
|
3004
2982
|
} catch {
|
|
3005
|
-
|
|
2983
|
+
Bt = !1;
|
|
3006
2984
|
}
|
|
3007
|
-
var
|
|
2985
|
+
var Yt = ds ? (
|
|
3008
2986
|
// Native
|
|
3009
2987
|
function(t, r, n) {
|
|
3010
2988
|
return t.startsWith(r, n);
|
|
@@ -3014,31 +2992,31 @@ var Kt = ga ? (
|
|
|
3014
2992
|
function(t, r, n) {
|
|
3015
2993
|
return t.slice(n, n + r.length) === r;
|
|
3016
2994
|
}
|
|
3017
|
-
),
|
|
2995
|
+
), St = ps ? String.fromCodePoint : (
|
|
3018
2996
|
// IE11
|
|
3019
2997
|
function() {
|
|
3020
2998
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3021
2999
|
t[r] = arguments[r];
|
|
3022
|
-
for (var n = "",
|
|
3023
|
-
if (i = t[
|
|
3000
|
+
for (var n = "", s = t.length, a = 0, i; s > a; ) {
|
|
3001
|
+
if (i = t[a++], i > 1114111)
|
|
3024
3002
|
throw RangeError(i + " is not a valid code point");
|
|
3025
3003
|
n += i < 65536 ? String.fromCharCode(i) : String.fromCharCode(((i -= 65536) >> 10) + 55296, i % 1024 + 56320);
|
|
3026
3004
|
}
|
|
3027
3005
|
return n;
|
|
3028
3006
|
}
|
|
3029
|
-
),
|
|
3007
|
+
), Jt = (
|
|
3030
3008
|
// native
|
|
3031
|
-
|
|
3009
|
+
ms ? Object.fromEntries : (
|
|
3032
3010
|
// Ponyfill
|
|
3033
3011
|
function(t) {
|
|
3034
|
-
for (var r = {}, n = 0,
|
|
3035
|
-
var
|
|
3012
|
+
for (var r = {}, n = 0, s = t; n < s.length; n++) {
|
|
3013
|
+
var a = s[n], i = a[0], l = a[1];
|
|
3036
3014
|
r[i] = l;
|
|
3037
3015
|
}
|
|
3038
3016
|
return r;
|
|
3039
3017
|
}
|
|
3040
3018
|
)
|
|
3041
|
-
),
|
|
3019
|
+
), Or = gs ? (
|
|
3042
3020
|
// Native
|
|
3043
3021
|
function(t, r) {
|
|
3044
3022
|
return t.codePointAt(r);
|
|
@@ -3048,11 +3026,11 @@ var Kt = ga ? (
|
|
|
3048
3026
|
function(t, r) {
|
|
3049
3027
|
var n = t.length;
|
|
3050
3028
|
if (!(r < 0 || r >= n)) {
|
|
3051
|
-
var
|
|
3052
|
-
return
|
|
3029
|
+
var s = t.charCodeAt(r), a;
|
|
3030
|
+
return s < 55296 || s > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? s : (s - 55296 << 10) + (a - 56320) + 65536;
|
|
3053
3031
|
}
|
|
3054
3032
|
}
|
|
3055
|
-
),
|
|
3033
|
+
), _s = bs ? (
|
|
3056
3034
|
// Native
|
|
3057
3035
|
function(t) {
|
|
3058
3036
|
return t.trimStart();
|
|
@@ -3060,9 +3038,9 @@ var Kt = ga ? (
|
|
|
3060
3038
|
) : (
|
|
3061
3039
|
// Ponyfill
|
|
3062
3040
|
function(t) {
|
|
3063
|
-
return t.replace(
|
|
3041
|
+
return t.replace(cs, "");
|
|
3064
3042
|
}
|
|
3065
|
-
),
|
|
3043
|
+
), xs = ws ? (
|
|
3066
3044
|
// Native
|
|
3067
3045
|
function(t) {
|
|
3068
3046
|
return t.trimEnd();
|
|
@@ -3070,32 +3048,32 @@ var Kt = ga ? (
|
|
|
3070
3048
|
) : (
|
|
3071
3049
|
// Ponyfill
|
|
3072
3050
|
function(t) {
|
|
3073
|
-
return t.replace(
|
|
3051
|
+
return t.replace(fs, "");
|
|
3074
3052
|
}
|
|
3075
3053
|
);
|
|
3076
|
-
function
|
|
3054
|
+
function Rr(e, t) {
|
|
3077
3055
|
return new RegExp(e, t);
|
|
3078
3056
|
}
|
|
3079
|
-
var
|
|
3080
|
-
if (
|
|
3081
|
-
var
|
|
3082
|
-
|
|
3057
|
+
var At;
|
|
3058
|
+
if (Bt) {
|
|
3059
|
+
var qt = Rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3060
|
+
At = function(t, r) {
|
|
3083
3061
|
var n;
|
|
3084
|
-
|
|
3085
|
-
var
|
|
3086
|
-
return (n =
|
|
3062
|
+
qt.lastIndex = r;
|
|
3063
|
+
var s = qt.exec(t);
|
|
3064
|
+
return (n = s[1]) !== null && n !== void 0 ? n : "";
|
|
3087
3065
|
};
|
|
3088
3066
|
} else
|
|
3089
|
-
|
|
3067
|
+
At = function(t, r) {
|
|
3090
3068
|
for (var n = []; ; ) {
|
|
3091
|
-
var
|
|
3092
|
-
if (
|
|
3069
|
+
var s = Or(t, r);
|
|
3070
|
+
if (s === void 0 || Lr(s) || Bs(s))
|
|
3093
3071
|
break;
|
|
3094
|
-
n.push(
|
|
3072
|
+
n.push(s), r += s >= 65536 ? 2 : 1;
|
|
3095
3073
|
}
|
|
3096
|
-
return
|
|
3074
|
+
return St.apply(void 0, n);
|
|
3097
3075
|
};
|
|
3098
|
-
var
|
|
3076
|
+
var Es = (
|
|
3099
3077
|
/** @class */
|
|
3100
3078
|
function() {
|
|
3101
3079
|
function e(t, r) {
|
|
@@ -3106,66 +3084,66 @@ var Ba = (
|
|
|
3106
3084
|
throw Error("parser can only be used once");
|
|
3107
3085
|
return this.parseMessage(0, "", !1);
|
|
3108
3086
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3109
|
-
for (var
|
|
3110
|
-
var
|
|
3111
|
-
if (
|
|
3087
|
+
for (var s = []; !this.isEOF(); ) {
|
|
3088
|
+
var a = this.char();
|
|
3089
|
+
if (a === 123) {
|
|
3112
3090
|
var i = this.parseArgument(t, n);
|
|
3113
3091
|
if (i.err)
|
|
3114
3092
|
return i;
|
|
3115
|
-
|
|
3093
|
+
s.push(i.val);
|
|
3116
3094
|
} else {
|
|
3117
|
-
if (
|
|
3095
|
+
if (a === 125 && t > 0)
|
|
3118
3096
|
break;
|
|
3119
|
-
if (
|
|
3097
|
+
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3120
3098
|
var l = this.clonePosition();
|
|
3121
|
-
this.bump(),
|
|
3122
|
-
type:
|
|
3099
|
+
this.bump(), s.push({
|
|
3100
|
+
type: O.pound,
|
|
3123
3101
|
location: C(l, this.clonePosition())
|
|
3124
3102
|
});
|
|
3125
|
-
} else if (
|
|
3103
|
+
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3126
3104
|
if (n)
|
|
3127
3105
|
break;
|
|
3128
3106
|
return this.error(E.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
|
|
3129
|
-
} else if (
|
|
3107
|
+
} else if (a === 60 && !this.ignoreTag && It(this.peek() || 0)) {
|
|
3130
3108
|
var i = this.parseTag(t, r);
|
|
3131
3109
|
if (i.err)
|
|
3132
3110
|
return i;
|
|
3133
|
-
|
|
3111
|
+
s.push(i.val);
|
|
3134
3112
|
} else {
|
|
3135
3113
|
var i = this.parseLiteral(t, r);
|
|
3136
3114
|
if (i.err)
|
|
3137
3115
|
return i;
|
|
3138
|
-
|
|
3116
|
+
s.push(i.val);
|
|
3139
3117
|
}
|
|
3140
3118
|
}
|
|
3141
3119
|
}
|
|
3142
|
-
return { val:
|
|
3120
|
+
return { val: s, err: null };
|
|
3143
3121
|
}, e.prototype.parseTag = function(t, r) {
|
|
3144
3122
|
var n = this.clonePosition();
|
|
3145
3123
|
this.bump();
|
|
3146
|
-
var
|
|
3124
|
+
var s = this.parseTagName();
|
|
3147
3125
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3148
3126
|
return {
|
|
3149
3127
|
val: {
|
|
3150
|
-
type:
|
|
3151
|
-
value: "<".concat(
|
|
3128
|
+
type: O.literal,
|
|
3129
|
+
value: "<".concat(s, "/>"),
|
|
3152
3130
|
location: C(n, this.clonePosition())
|
|
3153
3131
|
},
|
|
3154
3132
|
err: null
|
|
3155
3133
|
};
|
|
3156
3134
|
if (this.bumpIf(">")) {
|
|
3157
|
-
var
|
|
3158
|
-
if (
|
|
3159
|
-
return
|
|
3160
|
-
var i =
|
|
3135
|
+
var a = this.parseMessage(t + 1, r, !0);
|
|
3136
|
+
if (a.err)
|
|
3137
|
+
return a;
|
|
3138
|
+
var i = a.val, l = this.clonePosition();
|
|
3161
3139
|
if (this.bumpIf("</")) {
|
|
3162
|
-
if (this.isEOF() || !
|
|
3140
|
+
if (this.isEOF() || !It(this.char()))
|
|
3163
3141
|
return this.error(E.INVALID_TAG, C(l, this.clonePosition()));
|
|
3164
3142
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3165
|
-
return
|
|
3143
|
+
return s !== h ? this.error(E.UNMATCHED_CLOSING_TAG, C(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3166
3144
|
val: {
|
|
3167
|
-
type:
|
|
3168
|
-
value:
|
|
3145
|
+
type: O.tag,
|
|
3146
|
+
value: s,
|
|
3169
3147
|
children: i,
|
|
3170
3148
|
location: C(n, this.clonePosition())
|
|
3171
3149
|
},
|
|
@@ -3177,36 +3155,36 @@ var Ba = (
|
|
|
3177
3155
|
return this.error(E.INVALID_TAG, C(n, this.clonePosition()));
|
|
3178
3156
|
}, e.prototype.parseTagName = function() {
|
|
3179
3157
|
var t = this.offset();
|
|
3180
|
-
for (this.bump(); !this.isEOF() &&
|
|
3158
|
+
for (this.bump(); !this.isEOF() && Ts(this.char()); )
|
|
3181
3159
|
this.bump();
|
|
3182
3160
|
return this.message.slice(t, this.offset());
|
|
3183
3161
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3184
|
-
for (var n = this.clonePosition(),
|
|
3185
|
-
var
|
|
3186
|
-
if (
|
|
3187
|
-
|
|
3162
|
+
for (var n = this.clonePosition(), s = ""; ; ) {
|
|
3163
|
+
var a = this.tryParseQuote(r);
|
|
3164
|
+
if (a) {
|
|
3165
|
+
s += a;
|
|
3188
3166
|
continue;
|
|
3189
3167
|
}
|
|
3190
3168
|
var i = this.tryParseUnquoted(t, r);
|
|
3191
3169
|
if (i) {
|
|
3192
|
-
|
|
3170
|
+
s += i;
|
|
3193
3171
|
continue;
|
|
3194
3172
|
}
|
|
3195
3173
|
var l = this.tryParseLeftAngleBracket();
|
|
3196
3174
|
if (l) {
|
|
3197
|
-
|
|
3175
|
+
s += l;
|
|
3198
3176
|
continue;
|
|
3199
3177
|
}
|
|
3200
3178
|
break;
|
|
3201
3179
|
}
|
|
3202
3180
|
var u = C(n, this.clonePosition());
|
|
3203
3181
|
return {
|
|
3204
|
-
val: { type:
|
|
3182
|
+
val: { type: O.literal, value: s, location: u },
|
|
3205
3183
|
err: null
|
|
3206
3184
|
};
|
|
3207
3185
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3208
3186
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3209
|
-
!
|
|
3187
|
+
!Cs(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3210
3188
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3211
3189
|
if (this.isEOF() || this.char() !== 39)
|
|
3212
3190
|
return null;
|
|
@@ -3240,20 +3218,20 @@ var Ba = (
|
|
|
3240
3218
|
r.push(n);
|
|
3241
3219
|
this.bump();
|
|
3242
3220
|
}
|
|
3243
|
-
return
|
|
3221
|
+
return St.apply(void 0, r);
|
|
3244
3222
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3245
3223
|
if (this.isEOF())
|
|
3246
3224
|
return null;
|
|
3247
3225
|
var n = this.char();
|
|
3248
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3226
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), St(n));
|
|
3249
3227
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3250
3228
|
var n = this.clonePosition();
|
|
3251
3229
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3252
3230
|
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition()));
|
|
3253
3231
|
if (this.char() === 125)
|
|
3254
3232
|
return this.bump(), this.error(E.EMPTY_ARGUMENT, C(n, this.clonePosition()));
|
|
3255
|
-
var
|
|
3256
|
-
if (!
|
|
3233
|
+
var s = this.parseIdentifierIfPossible().value;
|
|
3234
|
+
if (!s)
|
|
3257
3235
|
return this.error(E.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3258
3236
|
if (this.bumpSpace(), this.isEOF())
|
|
3259
3237
|
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition()));
|
|
@@ -3261,25 +3239,25 @@ var Ba = (
|
|
|
3261
3239
|
case 125:
|
|
3262
3240
|
return this.bump(), {
|
|
3263
3241
|
val: {
|
|
3264
|
-
type:
|
|
3242
|
+
type: O.argument,
|
|
3265
3243
|
// value does not include the opening and closing braces.
|
|
3266
|
-
value:
|
|
3244
|
+
value: s,
|
|
3267
3245
|
location: C(n, this.clonePosition())
|
|
3268
3246
|
},
|
|
3269
3247
|
err: null
|
|
3270
3248
|
};
|
|
3271
3249
|
case 44:
|
|
3272
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition())) : this.parseArgumentOptions(t, r,
|
|
3250
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition())) : this.parseArgumentOptions(t, r, s, n);
|
|
3273
3251
|
default:
|
|
3274
3252
|
return this.error(E.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3275
3253
|
}
|
|
3276
3254
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3277
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3278
|
-
this.bumpTo(
|
|
3279
|
-
var
|
|
3255
|
+
var t = this.clonePosition(), r = this.offset(), n = At(this.message, r), s = r + n.length;
|
|
3256
|
+
this.bumpTo(s);
|
|
3257
|
+
var a = this.clonePosition(), i = C(t, a);
|
|
3280
3258
|
return { value: n, location: i };
|
|
3281
|
-
}, e.prototype.parseArgumentOptions = function(t, r, n,
|
|
3282
|
-
var
|
|
3259
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, s) {
|
|
3260
|
+
var a, i = this.clonePosition(), l = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3283
3261
|
switch (l) {
|
|
3284
3262
|
case "":
|
|
3285
3263
|
return this.error(E.EXPECT_ARGUMENT_TYPE, C(i, u));
|
|
@@ -3293,35 +3271,35 @@ var Ba = (
|
|
|
3293
3271
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3294
3272
|
if (f.err)
|
|
3295
3273
|
return f;
|
|
3296
|
-
var p =
|
|
3274
|
+
var p = xs(f.val);
|
|
3297
3275
|
if (p.length === 0)
|
|
3298
3276
|
return this.error(E.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
3299
3277
|
var m = C(c, this.clonePosition());
|
|
3300
3278
|
h = { style: p, styleLocation: m };
|
|
3301
3279
|
}
|
|
3302
|
-
var w = this.tryParseArgumentClose(
|
|
3280
|
+
var w = this.tryParseArgumentClose(s);
|
|
3303
3281
|
if (w.err)
|
|
3304
3282
|
return w;
|
|
3305
|
-
var v = C(
|
|
3306
|
-
if (h &&
|
|
3307
|
-
var T =
|
|
3283
|
+
var v = C(s, this.clonePosition());
|
|
3284
|
+
if (h && Yt(h?.style, "::", 0)) {
|
|
3285
|
+
var T = _s(h.style.slice(2));
|
|
3308
3286
|
if (l === "number") {
|
|
3309
3287
|
var f = this.parseNumberSkeletonFromString(T, h.styleLocation);
|
|
3310
3288
|
return f.err ? f : {
|
|
3311
|
-
val: { type:
|
|
3289
|
+
val: { type: O.number, value: n, location: v, style: f.val },
|
|
3312
3290
|
err: null
|
|
3313
3291
|
};
|
|
3314
3292
|
} else {
|
|
3315
3293
|
if (T.length === 0)
|
|
3316
3294
|
return this.error(E.EXPECT_DATE_TIME_SKELETON, v);
|
|
3317
3295
|
var y = T;
|
|
3318
|
-
this.locale && (y =
|
|
3296
|
+
this.locale && (y = us(T, this.locale));
|
|
3319
3297
|
var p = {
|
|
3320
3298
|
type: He.dateTime,
|
|
3321
3299
|
pattern: y,
|
|
3322
3300
|
location: h.styleLocation,
|
|
3323
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3324
|
-
}, I = l === "date" ?
|
|
3301
|
+
parsedOptions: this.shouldParseSkeletons ? rs(y) : {}
|
|
3302
|
+
}, I = l === "date" ? O.date : O.time;
|
|
3325
3303
|
return {
|
|
3326
3304
|
val: { type: I, value: n, location: v, style: p },
|
|
3327
3305
|
err: null
|
|
@@ -3330,10 +3308,10 @@ var Ba = (
|
|
|
3330
3308
|
}
|
|
3331
3309
|
return {
|
|
3332
3310
|
val: {
|
|
3333
|
-
type: l === "number" ?
|
|
3311
|
+
type: l === "number" ? O.number : l === "date" ? O.date : O.time,
|
|
3334
3312
|
value: n,
|
|
3335
3313
|
location: v,
|
|
3336
|
-
style: (
|
|
3314
|
+
style: (a = h?.style) !== null && a !== void 0 ? a : null
|
|
3337
3315
|
},
|
|
3338
3316
|
err: null
|
|
3339
3317
|
};
|
|
@@ -3341,9 +3319,9 @@ var Ba = (
|
|
|
3341
3319
|
case "plural":
|
|
3342
3320
|
case "selectordinal":
|
|
3343
3321
|
case "select": {
|
|
3344
|
-
var
|
|
3322
|
+
var R = this.clonePosition();
|
|
3345
3323
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3346
|
-
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, C(
|
|
3324
|
+
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, C(R, S({}, R)));
|
|
3347
3325
|
this.bumpSpace();
|
|
3348
3326
|
var k = this.parseIdentifierIfPossible(), D = 0;
|
|
3349
3327
|
if (l !== "select" && k.value === "offset") {
|
|
@@ -3358,23 +3336,23 @@ var Ba = (
|
|
|
3358
3336
|
var N = this.tryParsePluralOrSelectOptions(t, l, r, k);
|
|
3359
3337
|
if (N.err)
|
|
3360
3338
|
return N;
|
|
3361
|
-
var w = this.tryParseArgumentClose(
|
|
3339
|
+
var w = this.tryParseArgumentClose(s);
|
|
3362
3340
|
if (w.err)
|
|
3363
3341
|
return w;
|
|
3364
|
-
var X = C(
|
|
3342
|
+
var X = C(s, this.clonePosition());
|
|
3365
3343
|
return l === "select" ? {
|
|
3366
3344
|
val: {
|
|
3367
|
-
type:
|
|
3345
|
+
type: O.select,
|
|
3368
3346
|
value: n,
|
|
3369
|
-
options:
|
|
3347
|
+
options: Jt(N.val),
|
|
3370
3348
|
location: X
|
|
3371
3349
|
},
|
|
3372
3350
|
err: null
|
|
3373
3351
|
} : {
|
|
3374
3352
|
val: {
|
|
3375
|
-
type:
|
|
3353
|
+
type: O.plural,
|
|
3376
3354
|
value: n,
|
|
3377
|
-
options:
|
|
3355
|
+
options: Jt(N.val),
|
|
3378
3356
|
offset: D,
|
|
3379
3357
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3380
3358
|
location: X
|
|
@@ -3393,9 +3371,9 @@ var Ba = (
|
|
|
3393
3371
|
switch (n) {
|
|
3394
3372
|
case 39: {
|
|
3395
3373
|
this.bump();
|
|
3396
|
-
var
|
|
3374
|
+
var s = this.clonePosition();
|
|
3397
3375
|
if (!this.bumpUntil("'"))
|
|
3398
|
-
return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, C(
|
|
3376
|
+
return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, C(s, this.clonePosition()));
|
|
3399
3377
|
this.bump();
|
|
3400
3378
|
break;
|
|
3401
3379
|
}
|
|
@@ -3425,7 +3403,7 @@ var Ba = (
|
|
|
3425
3403
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3426
3404
|
var n = [];
|
|
3427
3405
|
try {
|
|
3428
|
-
n =
|
|
3406
|
+
n = ss(t);
|
|
3429
3407
|
} catch {
|
|
3430
3408
|
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
|
3431
3409
|
}
|
|
@@ -3434,12 +3412,12 @@ var Ba = (
|
|
|
3434
3412
|
type: He.number,
|
|
3435
3413
|
tokens: n,
|
|
3436
3414
|
location: r,
|
|
3437
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3415
|
+
parsedOptions: this.shouldParseSkeletons ? ls(n) : {}
|
|
3438
3416
|
},
|
|
3439
3417
|
err: null
|
|
3440
3418
|
};
|
|
3441
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n,
|
|
3442
|
-
for (var
|
|
3419
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, s) {
|
|
3420
|
+
for (var a, i = !1, l = [], u = /* @__PURE__ */ new Set(), h = s.value, c = s.location; ; ) {
|
|
3443
3421
|
if (h.length === 0) {
|
|
3444
3422
|
var f = this.clonePosition();
|
|
3445
3423
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3468,21 +3446,21 @@ var Ba = (
|
|
|
3468
3446
|
value: w.val,
|
|
3469
3447
|
location: C(m, this.clonePosition())
|
|
3470
3448
|
}
|
|
3471
|
-
]), u.add(h), this.bumpSpace(),
|
|
3449
|
+
]), u.add(h), this.bumpSpace(), a = this.parseIdentifierIfPossible(), h = a.value, c = a.location;
|
|
3472
3450
|
}
|
|
3473
3451
|
return l.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(E.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3474
3452
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3475
|
-
var n = 1,
|
|
3453
|
+
var n = 1, s = this.clonePosition();
|
|
3476
3454
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3477
|
-
for (var
|
|
3455
|
+
for (var a = !1, i = 0; !this.isEOF(); ) {
|
|
3478
3456
|
var l = this.char();
|
|
3479
3457
|
if (l >= 48 && l <= 57)
|
|
3480
|
-
|
|
3458
|
+
a = !0, i = i * 10 + (l - 48), this.bump();
|
|
3481
3459
|
else
|
|
3482
3460
|
break;
|
|
3483
3461
|
}
|
|
3484
|
-
var u = C(
|
|
3485
|
-
return
|
|
3462
|
+
var u = C(s, this.clonePosition());
|
|
3463
|
+
return a ? (i *= n, ys(i) ? { val: i, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3486
3464
|
}, e.prototype.offset = function() {
|
|
3487
3465
|
return this.position.offset;
|
|
3488
3466
|
}, e.prototype.isEOF = function() {
|
|
@@ -3497,7 +3475,7 @@ var Ba = (
|
|
|
3497
3475
|
var t = this.position.offset;
|
|
3498
3476
|
if (t >= this.message.length)
|
|
3499
3477
|
throw Error("out of bound");
|
|
3500
|
-
var r =
|
|
3478
|
+
var r = Or(this.message, t);
|
|
3501
3479
|
if (r === void 0)
|
|
3502
3480
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3503
3481
|
return r;
|
|
@@ -3516,7 +3494,7 @@ var Ba = (
|
|
|
3516
3494
|
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);
|
|
3517
3495
|
}
|
|
3518
3496
|
}, e.prototype.bumpIf = function(t) {
|
|
3519
|
-
if (
|
|
3497
|
+
if (Yt(this.message, t, this.offset())) {
|
|
3520
3498
|
for (var r = 0; r < t.length; r++)
|
|
3521
3499
|
this.bump();
|
|
3522
3500
|
return !0;
|
|
@@ -3538,7 +3516,7 @@ var Ba = (
|
|
|
3538
3516
|
break;
|
|
3539
3517
|
}
|
|
3540
3518
|
}, e.prototype.bumpSpace = function() {
|
|
3541
|
-
for (; !this.isEOF() &&
|
|
3519
|
+
for (; !this.isEOF() && Lr(this.char()); )
|
|
3542
3520
|
this.bump();
|
|
3543
3521
|
}, e.prototype.peek = function() {
|
|
3544
3522
|
if (this.isEOF())
|
|
@@ -3548,38 +3526,38 @@ var Ba = (
|
|
|
3548
3526
|
}, e;
|
|
3549
3527
|
}()
|
|
3550
3528
|
);
|
|
3551
|
-
function
|
|
3529
|
+
function It(e) {
|
|
3552
3530
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3553
3531
|
}
|
|
3554
|
-
function
|
|
3555
|
-
return
|
|
3532
|
+
function Cs(e) {
|
|
3533
|
+
return It(e) || e === 47;
|
|
3556
3534
|
}
|
|
3557
|
-
function
|
|
3535
|
+
function Ts(e) {
|
|
3558
3536
|
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;
|
|
3559
3537
|
}
|
|
3560
|
-
function
|
|
3538
|
+
function Lr(e) {
|
|
3561
3539
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3562
3540
|
}
|
|
3563
|
-
function
|
|
3541
|
+
function Bs(e) {
|
|
3564
3542
|
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;
|
|
3565
3543
|
}
|
|
3566
|
-
function
|
|
3544
|
+
function Ht(e) {
|
|
3567
3545
|
e.forEach(function(t) {
|
|
3568
|
-
if (delete t.location,
|
|
3546
|
+
if (delete t.location, Tr(t) || Br(t))
|
|
3569
3547
|
for (var r in t.options)
|
|
3570
|
-
delete t.options[r].location,
|
|
3548
|
+
delete t.options[r].location, Ht(t.options[r].value);
|
|
3571
3549
|
else
|
|
3572
|
-
|
|
3550
|
+
xr(t) && Ar(t.style) || (Er(t) || Cr(t)) && Tt(t.style) ? delete t.style.location : Sr(t) && Ht(t.children);
|
|
3573
3551
|
});
|
|
3574
3552
|
}
|
|
3575
|
-
function
|
|
3553
|
+
function Ss(e, t) {
|
|
3576
3554
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3577
|
-
var r = new
|
|
3555
|
+
var r = new Es(e, t).parse();
|
|
3578
3556
|
if (r.err) {
|
|
3579
3557
|
var n = SyntaxError(E[r.err.kind]);
|
|
3580
3558
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3581
3559
|
}
|
|
3582
|
-
return t?.captureLocation ||
|
|
3560
|
+
return t?.captureLocation || Ht(r.val), r.val;
|
|
3583
3561
|
}
|
|
3584
3562
|
var Me;
|
|
3585
3563
|
(function(e) {
|
|
@@ -3589,33 +3567,33 @@ var ut = (
|
|
|
3589
3567
|
/** @class */
|
|
3590
3568
|
function(e) {
|
|
3591
3569
|
le(t, e);
|
|
3592
|
-
function t(r, n,
|
|
3593
|
-
var
|
|
3594
|
-
return
|
|
3570
|
+
function t(r, n, s) {
|
|
3571
|
+
var a = e.call(this, r) || this;
|
|
3572
|
+
return a.code = n, a.originalMessage = s, a;
|
|
3595
3573
|
}
|
|
3596
3574
|
return t.prototype.toString = function() {
|
|
3597
3575
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3598
3576
|
}, t;
|
|
3599
3577
|
}(Error)
|
|
3600
|
-
),
|
|
3578
|
+
), Kt = (
|
|
3601
3579
|
/** @class */
|
|
3602
3580
|
function(e) {
|
|
3603
3581
|
le(t, e);
|
|
3604
|
-
function t(r, n,
|
|
3605
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(
|
|
3582
|
+
function t(r, n, s, a) {
|
|
3583
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Me.INVALID_VALUE, a) || this;
|
|
3606
3584
|
}
|
|
3607
3585
|
return t;
|
|
3608
3586
|
}(ut)
|
|
3609
|
-
),
|
|
3587
|
+
), As = (
|
|
3610
3588
|
/** @class */
|
|
3611
3589
|
function(e) {
|
|
3612
3590
|
le(t, e);
|
|
3613
|
-
function t(r, n,
|
|
3614
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE,
|
|
3591
|
+
function t(r, n, s) {
|
|
3592
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE, s) || this;
|
|
3615
3593
|
}
|
|
3616
3594
|
return t;
|
|
3617
3595
|
}(ut)
|
|
3618
|
-
),
|
|
3596
|
+
), Is = (
|
|
3619
3597
|
/** @class */
|
|
3620
3598
|
function(e) {
|
|
3621
3599
|
le(t, e);
|
|
@@ -3628,17 +3606,17 @@ var ut = (
|
|
|
3628
3606
|
(function(e) {
|
|
3629
3607
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3630
3608
|
})(W || (W = {}));
|
|
3631
|
-
function
|
|
3609
|
+
function Hs(e) {
|
|
3632
3610
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3633
3611
|
var n = t[t.length - 1];
|
|
3634
3612
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3635
3613
|
}, []);
|
|
3636
3614
|
}
|
|
3637
|
-
function
|
|
3615
|
+
function Ms(e) {
|
|
3638
3616
|
return typeof e == "function";
|
|
3639
3617
|
}
|
|
3640
|
-
function nt(e, t, r, n,
|
|
3641
|
-
if (e.length === 1 &&
|
|
3618
|
+
function nt(e, t, r, n, s, a, i) {
|
|
3619
|
+
if (e.length === 1 && Wt(e[0]))
|
|
3642
3620
|
return [
|
|
3643
3621
|
{
|
|
3644
3622
|
type: W.literal,
|
|
@@ -3647,60 +3625,60 @@ function nt(e, t, r, n, a, s, i) {
|
|
|
3647
3625
|
];
|
|
3648
3626
|
for (var l = [], u = 0, h = e; u < h.length; u++) {
|
|
3649
3627
|
var c = h[u];
|
|
3650
|
-
if (
|
|
3628
|
+
if (Wt(c)) {
|
|
3651
3629
|
l.push({
|
|
3652
3630
|
type: W.literal,
|
|
3653
3631
|
value: c.value
|
|
3654
3632
|
});
|
|
3655
3633
|
continue;
|
|
3656
3634
|
}
|
|
3657
|
-
if (
|
|
3658
|
-
typeof
|
|
3635
|
+
if (es(c)) {
|
|
3636
|
+
typeof a == "number" && l.push({
|
|
3659
3637
|
type: W.literal,
|
|
3660
|
-
value: r.getNumberFormat(t).format(
|
|
3638
|
+
value: r.getNumberFormat(t).format(a)
|
|
3661
3639
|
});
|
|
3662
3640
|
continue;
|
|
3663
3641
|
}
|
|
3664
3642
|
var f = c.value;
|
|
3665
|
-
if (!(
|
|
3666
|
-
throw new
|
|
3667
|
-
var p =
|
|
3668
|
-
if (
|
|
3643
|
+
if (!(s && f in s))
|
|
3644
|
+
throw new Is(f, i);
|
|
3645
|
+
var p = s[f];
|
|
3646
|
+
if (Kn(c)) {
|
|
3669
3647
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
|
|
3670
3648
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3671
3649
|
value: p
|
|
3672
3650
|
});
|
|
3673
3651
|
continue;
|
|
3674
3652
|
}
|
|
3675
|
-
if (
|
|
3676
|
-
var m = typeof c.style == "string" ? n.date[c.style] :
|
|
3653
|
+
if (Er(c)) {
|
|
3654
|
+
var m = typeof c.style == "string" ? n.date[c.style] : Tt(c.style) ? c.style.parsedOptions : void 0;
|
|
3677
3655
|
l.push({
|
|
3678
3656
|
type: W.literal,
|
|
3679
3657
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3680
3658
|
});
|
|
3681
3659
|
continue;
|
|
3682
3660
|
}
|
|
3683
|
-
if (
|
|
3684
|
-
var m = typeof c.style == "string" ? n.time[c.style] :
|
|
3661
|
+
if (Cr(c)) {
|
|
3662
|
+
var m = typeof c.style == "string" ? n.time[c.style] : Tt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3685
3663
|
l.push({
|
|
3686
3664
|
type: W.literal,
|
|
3687
3665
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3688
3666
|
});
|
|
3689
3667
|
continue;
|
|
3690
3668
|
}
|
|
3691
|
-
if (
|
|
3692
|
-
var m = typeof c.style == "string" ? n.number[c.style] :
|
|
3669
|
+
if (xr(c)) {
|
|
3670
|
+
var m = typeof c.style == "string" ? n.number[c.style] : Ar(c.style) ? c.style.parsedOptions : void 0;
|
|
3693
3671
|
m && m.scale && (p = p * (m.scale || 1)), l.push({
|
|
3694
3672
|
type: W.literal,
|
|
3695
3673
|
value: r.getNumberFormat(t, m).format(p)
|
|
3696
3674
|
});
|
|
3697
3675
|
continue;
|
|
3698
3676
|
}
|
|
3699
|
-
if (
|
|
3700
|
-
var w = c.children, v = c.value, T =
|
|
3701
|
-
if (!
|
|
3702
|
-
throw new
|
|
3703
|
-
var y = nt(w, t, r, n,
|
|
3677
|
+
if (Sr(c)) {
|
|
3678
|
+
var w = c.children, v = c.value, T = s[v];
|
|
3679
|
+
if (!Ms(T))
|
|
3680
|
+
throw new As(v, "function", i);
|
|
3681
|
+
var y = nt(w, t, r, n, s, a), I = T(y.map(function(D) {
|
|
3704
3682
|
return D.value;
|
|
3705
3683
|
}));
|
|
3706
3684
|
Array.isArray(I) || (I = [I]), l.push.apply(l, I.map(function(D) {
|
|
@@ -3710,42 +3688,42 @@ function nt(e, t, r, n, a, s, i) {
|
|
|
3710
3688
|
};
|
|
3711
3689
|
}));
|
|
3712
3690
|
}
|
|
3713
|
-
if (
|
|
3714
|
-
var
|
|
3715
|
-
if (!
|
|
3716
|
-
throw new
|
|
3717
|
-
l.push.apply(l, nt(
|
|
3691
|
+
if (Tr(c)) {
|
|
3692
|
+
var R = c.options[p] || c.options.other;
|
|
3693
|
+
if (!R)
|
|
3694
|
+
throw new Kt(c.value, p, Object.keys(c.options), i);
|
|
3695
|
+
l.push.apply(l, nt(R.value, t, r, n, s));
|
|
3718
3696
|
continue;
|
|
3719
3697
|
}
|
|
3720
|
-
if (
|
|
3721
|
-
var
|
|
3722
|
-
if (!
|
|
3698
|
+
if (Br(c)) {
|
|
3699
|
+
var R = c.options["=".concat(p)];
|
|
3700
|
+
if (!R) {
|
|
3723
3701
|
if (!Intl.PluralRules)
|
|
3724
3702
|
throw new ut(`Intl.PluralRules is not available in this environment.
|
|
3725
3703
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3726
3704
|
`, Me.MISSING_INTL_API, i);
|
|
3727
3705
|
var k = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3728
|
-
|
|
3706
|
+
R = c.options[k] || c.options.other;
|
|
3729
3707
|
}
|
|
3730
|
-
if (!
|
|
3731
|
-
throw new
|
|
3732
|
-
l.push.apply(l, nt(
|
|
3708
|
+
if (!R)
|
|
3709
|
+
throw new Kt(c.value, p, Object.keys(c.options), i);
|
|
3710
|
+
l.push.apply(l, nt(R.value, t, r, n, s, p - (c.offset || 0)));
|
|
3733
3711
|
continue;
|
|
3734
3712
|
}
|
|
3735
3713
|
}
|
|
3736
|
-
return
|
|
3714
|
+
return Hs(l);
|
|
3737
3715
|
}
|
|
3738
|
-
function
|
|
3716
|
+
function Ns(e, t) {
|
|
3739
3717
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3740
3718
|
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
|
3741
3719
|
}, {})) : e;
|
|
3742
3720
|
}
|
|
3743
|
-
function
|
|
3721
|
+
function Os(e, t) {
|
|
3744
3722
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3745
|
-
return r[n] =
|
|
3723
|
+
return r[n] = Ns(e[n], t[n]), r;
|
|
3746
3724
|
}, S({}, e)) : e;
|
|
3747
3725
|
}
|
|
3748
|
-
function
|
|
3726
|
+
function bt(e) {
|
|
3749
3727
|
return {
|
|
3750
3728
|
create: function() {
|
|
3751
3729
|
return {
|
|
@@ -3759,50 +3737,50 @@ function wt(e) {
|
|
|
3759
3737
|
}
|
|
3760
3738
|
};
|
|
3761
3739
|
}
|
|
3762
|
-
function
|
|
3740
|
+
function Rs(e) {
|
|
3763
3741
|
return e === void 0 && (e = {
|
|
3764
3742
|
number: {},
|
|
3765
3743
|
dateTime: {},
|
|
3766
3744
|
pluralRules: {}
|
|
3767
3745
|
}), {
|
|
3768
|
-
getNumberFormat:
|
|
3746
|
+
getNumberFormat: pt(function() {
|
|
3769
3747
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3770
3748
|
r[n] = arguments[n];
|
|
3771
3749
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3772
3750
|
}, {
|
|
3773
|
-
cache:
|
|
3774
|
-
strategy:
|
|
3751
|
+
cache: bt(e.number),
|
|
3752
|
+
strategy: mt.variadic
|
|
3775
3753
|
}),
|
|
3776
|
-
getDateTimeFormat:
|
|
3754
|
+
getDateTimeFormat: pt(function() {
|
|
3777
3755
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3778
3756
|
r[n] = arguments[n];
|
|
3779
3757
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3780
3758
|
}, {
|
|
3781
|
-
cache:
|
|
3782
|
-
strategy:
|
|
3759
|
+
cache: bt(e.dateTime),
|
|
3760
|
+
strategy: mt.variadic
|
|
3783
3761
|
}),
|
|
3784
|
-
getPluralRules:
|
|
3762
|
+
getPluralRules: pt(function() {
|
|
3785
3763
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3786
3764
|
r[n] = arguments[n];
|
|
3787
3765
|
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3788
3766
|
}, {
|
|
3789
|
-
cache:
|
|
3790
|
-
strategy:
|
|
3767
|
+
cache: bt(e.pluralRules),
|
|
3768
|
+
strategy: mt.variadic
|
|
3791
3769
|
})
|
|
3792
3770
|
};
|
|
3793
3771
|
}
|
|
3794
|
-
var
|
|
3772
|
+
var Ls = (
|
|
3795
3773
|
/** @class */
|
|
3796
3774
|
function() {
|
|
3797
|
-
function e(t, r, n,
|
|
3775
|
+
function e(t, r, n, s) {
|
|
3798
3776
|
r === void 0 && (r = e.defaultLocale);
|
|
3799
|
-
var
|
|
3777
|
+
var a = this;
|
|
3800
3778
|
if (this.formatterCache = {
|
|
3801
3779
|
number: {},
|
|
3802
3780
|
dateTime: {},
|
|
3803
3781
|
pluralRules: {}
|
|
3804
3782
|
}, this.format = function(u) {
|
|
3805
|
-
var h =
|
|
3783
|
+
var h = a.formatToParts(u);
|
|
3806
3784
|
if (h.length === 1)
|
|
3807
3785
|
return h[0].value;
|
|
3808
3786
|
var c = h.reduce(function(f, p) {
|
|
@@ -3810,26 +3788,26 @@ var Da = (
|
|
|
3810
3788
|
}, []);
|
|
3811
3789
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3812
3790
|
}, this.formatToParts = function(u) {
|
|
3813
|
-
return nt(
|
|
3791
|
+
return nt(a.ast, a.locales, a.formatters, a.formats, u, void 0, a.message);
|
|
3814
3792
|
}, this.resolvedOptions = function() {
|
|
3815
3793
|
var u;
|
|
3816
3794
|
return {
|
|
3817
|
-
locale: ((u =
|
|
3795
|
+
locale: ((u = a.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
|
|
3818
3796
|
};
|
|
3819
3797
|
}, this.getAst = function() {
|
|
3820
|
-
return
|
|
3798
|
+
return a.ast;
|
|
3821
3799
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3822
3800
|
if (this.message = t, !e.__parse)
|
|
3823
3801
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3824
|
-
var i =
|
|
3802
|
+
var i = s || {};
|
|
3825
3803
|
i.formatters;
|
|
3826
|
-
var l =
|
|
3804
|
+
var l = pn(i, ["formatters"]);
|
|
3827
3805
|
this.ast = e.__parse(t, S(S({}, l), { locale: this.resolvedLocale }));
|
|
3828
3806
|
} else
|
|
3829
3807
|
this.ast = t;
|
|
3830
3808
|
if (!Array.isArray(this.ast))
|
|
3831
3809
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3832
|
-
this.formats =
|
|
3810
|
+
this.formats = Os(e.formats, n), this.formatters = s && s.formatters || Rs(this.formatterCache);
|
|
3833
3811
|
}
|
|
3834
3812
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3835
3813
|
get: function() {
|
|
@@ -3842,7 +3820,7 @@ var Da = (
|
|
|
3842
3820
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3843
3821
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3844
3822
|
}
|
|
3845
|
-
}, e.__parse =
|
|
3823
|
+
}, e.__parse = Ss, e.formats = {
|
|
3846
3824
|
number: {
|
|
3847
3825
|
integer: {
|
|
3848
3826
|
maximumFractionDigits: 0
|
|
@@ -3903,113 +3881,113 @@ var Da = (
|
|
|
3903
3881
|
}, e;
|
|
3904
3882
|
}()
|
|
3905
3883
|
);
|
|
3906
|
-
function
|
|
3884
|
+
function Fs(e, t) {
|
|
3907
3885
|
if (t == null)
|
|
3908
3886
|
return;
|
|
3909
3887
|
if (t in e)
|
|
3910
3888
|
return e[t];
|
|
3911
3889
|
const r = t.split(".");
|
|
3912
3890
|
let n = e;
|
|
3913
|
-
for (let
|
|
3891
|
+
for (let s = 0; s < r.length; s++)
|
|
3914
3892
|
if (typeof n == "object") {
|
|
3915
|
-
if (
|
|
3916
|
-
const
|
|
3917
|
-
if (
|
|
3918
|
-
n = n[
|
|
3893
|
+
if (s > 0) {
|
|
3894
|
+
const a = r.slice(s, r.length).join(".");
|
|
3895
|
+
if (a in n) {
|
|
3896
|
+
n = n[a];
|
|
3919
3897
|
break;
|
|
3920
3898
|
}
|
|
3921
3899
|
}
|
|
3922
|
-
n = n[r[
|
|
3900
|
+
n = n[r[s]];
|
|
3923
3901
|
} else
|
|
3924
3902
|
n = void 0;
|
|
3925
3903
|
return n;
|
|
3926
3904
|
}
|
|
3927
|
-
const ce = {},
|
|
3905
|
+
const ce = {}, ks = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Fr = (e, t) => {
|
|
3928
3906
|
if (t == null)
|
|
3929
3907
|
return;
|
|
3930
3908
|
if (t in ce && e in ce[t])
|
|
3931
3909
|
return ce[t][e];
|
|
3932
3910
|
const r = ht(t);
|
|
3933
3911
|
for (let n = 0; n < r.length; n++) {
|
|
3934
|
-
const
|
|
3935
|
-
if (
|
|
3936
|
-
return
|
|
3912
|
+
const s = r[n], a = Us(s, e);
|
|
3913
|
+
if (a)
|
|
3914
|
+
return ks(e, t, a);
|
|
3937
3915
|
}
|
|
3938
3916
|
};
|
|
3939
|
-
let
|
|
3917
|
+
let Ot;
|
|
3940
3918
|
const We = lt({});
|
|
3941
|
-
function
|
|
3942
|
-
return
|
|
3919
|
+
function Ds(e) {
|
|
3920
|
+
return Ot[e] || null;
|
|
3943
3921
|
}
|
|
3944
|
-
function
|
|
3945
|
-
return e in
|
|
3922
|
+
function kr(e) {
|
|
3923
|
+
return e in Ot;
|
|
3946
3924
|
}
|
|
3947
|
-
function
|
|
3948
|
-
if (!
|
|
3925
|
+
function Us(e, t) {
|
|
3926
|
+
if (!kr(e))
|
|
3949
3927
|
return null;
|
|
3950
|
-
const r =
|
|
3951
|
-
return
|
|
3928
|
+
const r = Ds(e);
|
|
3929
|
+
return Fs(r, t);
|
|
3952
3930
|
}
|
|
3953
|
-
function
|
|
3931
|
+
function $s(e) {
|
|
3954
3932
|
if (e == null)
|
|
3955
3933
|
return;
|
|
3956
3934
|
const t = ht(e);
|
|
3957
3935
|
for (let r = 0; r < t.length; r++) {
|
|
3958
3936
|
const n = t[r];
|
|
3959
|
-
if (
|
|
3937
|
+
if (kr(n))
|
|
3960
3938
|
return n;
|
|
3961
3939
|
}
|
|
3962
3940
|
}
|
|
3963
|
-
function
|
|
3964
|
-
delete ce[e], We.update((r) => (r[e] =
|
|
3941
|
+
function Dr(e, ...t) {
|
|
3942
|
+
delete ce[e], We.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
|
|
3965
3943
|
}
|
|
3966
|
-
|
|
3944
|
+
Re(
|
|
3967
3945
|
[We],
|
|
3968
3946
|
([e]) => Object.keys(e)
|
|
3969
3947
|
);
|
|
3970
|
-
We.subscribe((e) =>
|
|
3971
|
-
const
|
|
3972
|
-
function
|
|
3973
|
-
|
|
3948
|
+
We.subscribe((e) => Ot = e);
|
|
3949
|
+
const st = {};
|
|
3950
|
+
function Gs(e, t) {
|
|
3951
|
+
st[e].delete(t), st[e].size === 0 && delete st[e];
|
|
3974
3952
|
}
|
|
3975
|
-
function
|
|
3976
|
-
return
|
|
3953
|
+
function Ur(e) {
|
|
3954
|
+
return st[e];
|
|
3977
3955
|
}
|
|
3978
|
-
function
|
|
3956
|
+
function Vs(e) {
|
|
3979
3957
|
return ht(e).map((t) => {
|
|
3980
|
-
const r =
|
|
3958
|
+
const r = Ur(t);
|
|
3981
3959
|
return [t, r ? [...r] : []];
|
|
3982
3960
|
}).filter(([, t]) => t.length > 0);
|
|
3983
3961
|
}
|
|
3984
|
-
function
|
|
3962
|
+
function Mt(e) {
|
|
3985
3963
|
return e == null ? !1 : ht(e).some(
|
|
3986
3964
|
(t) => {
|
|
3987
3965
|
var r;
|
|
3988
|
-
return (r =
|
|
3966
|
+
return (r = Ur(t)) == null ? void 0 : r.size;
|
|
3989
3967
|
}
|
|
3990
3968
|
);
|
|
3991
3969
|
}
|
|
3992
|
-
function
|
|
3970
|
+
function js(e, t) {
|
|
3993
3971
|
return Promise.all(
|
|
3994
|
-
t.map((n) => (
|
|
3995
|
-
).then((n) =>
|
|
3972
|
+
t.map((n) => (Gs(e, n), n().then((s) => s.default || s)))
|
|
3973
|
+
).then((n) => Dr(e, ...n));
|
|
3996
3974
|
}
|
|
3997
3975
|
const $e = {};
|
|
3998
|
-
function
|
|
3999
|
-
if (!
|
|
3976
|
+
function $r(e) {
|
|
3977
|
+
if (!Mt(e))
|
|
4000
3978
|
return e in $e ? $e[e] : Promise.resolve();
|
|
4001
|
-
const t =
|
|
3979
|
+
const t = Vs(e);
|
|
4002
3980
|
return $e[e] = Promise.all(
|
|
4003
3981
|
t.map(
|
|
4004
|
-
([r, n]) =>
|
|
3982
|
+
([r, n]) => js(r, n)
|
|
4005
3983
|
)
|
|
4006
3984
|
).then(() => {
|
|
4007
|
-
if (
|
|
4008
|
-
return
|
|
3985
|
+
if (Mt(e))
|
|
3986
|
+
return $r(e);
|
|
4009
3987
|
delete $e[e];
|
|
4010
3988
|
}), $e[e];
|
|
4011
3989
|
}
|
|
4012
|
-
const
|
|
3990
|
+
const zs = {
|
|
4013
3991
|
number: {
|
|
4014
3992
|
scientific: { notation: "scientific" },
|
|
4015
3993
|
engineering: { notation: "engineering" },
|
|
@@ -4038,78 +4016,78 @@ const Za = {
|
|
|
4038
4016
|
timeZoneName: "short"
|
|
4039
4017
|
}
|
|
4040
4018
|
}
|
|
4041
|
-
},
|
|
4019
|
+
}, Ws = {
|
|
4042
4020
|
fallbackLocale: null,
|
|
4043
4021
|
loadingDelay: 200,
|
|
4044
|
-
formats:
|
|
4022
|
+
formats: zs,
|
|
4045
4023
|
warnOnMissingMessages: !0,
|
|
4046
4024
|
handleMissingMessage: void 0,
|
|
4047
4025
|
ignoreTag: !0
|
|
4048
|
-
},
|
|
4026
|
+
}, Xs = Ws;
|
|
4049
4027
|
function Ne() {
|
|
4050
|
-
return
|
|
4028
|
+
return Xs;
|
|
4051
4029
|
}
|
|
4052
|
-
const
|
|
4053
|
-
var
|
|
4030
|
+
const wt = lt(!1);
|
|
4031
|
+
var Zs = Object.defineProperty, Qs = Object.defineProperties, Ys = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, Js = Object.prototype.hasOwnProperty, qs = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? Zs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ks = (e, t) => {
|
|
4054
4032
|
for (var r in t || (t = {}))
|
|
4055
|
-
|
|
4056
|
-
if (
|
|
4057
|
-
for (var r of
|
|
4058
|
-
|
|
4033
|
+
Js.call(t, r) && tr(e, r, t[r]);
|
|
4034
|
+
if (er)
|
|
4035
|
+
for (var r of er(t))
|
|
4036
|
+
qs.call(t, r) && tr(e, r, t[r]);
|
|
4059
4037
|
return e;
|
|
4060
|
-
},
|
|
4061
|
-
let
|
|
4062
|
-
const
|
|
4063
|
-
function
|
|
4038
|
+
}, ea = (e, t) => Qs(e, Ys(t));
|
|
4039
|
+
let Nt;
|
|
4040
|
+
const at = lt(null);
|
|
4041
|
+
function rr(e) {
|
|
4064
4042
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4065
4043
|
}
|
|
4066
4044
|
function ht(e, t = Ne().fallbackLocale) {
|
|
4067
|
-
const r =
|
|
4068
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4045
|
+
const r = rr(e);
|
|
4046
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
|
|
4069
4047
|
}
|
|
4070
4048
|
function pe() {
|
|
4071
|
-
return
|
|
4049
|
+
return Nt ?? void 0;
|
|
4072
4050
|
}
|
|
4073
|
-
|
|
4074
|
-
|
|
4051
|
+
at.subscribe((e) => {
|
|
4052
|
+
Nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4075
4053
|
});
|
|
4076
|
-
const
|
|
4077
|
-
if (e &&
|
|
4054
|
+
const ta = (e) => {
|
|
4055
|
+
if (e && $s(e) && Mt(e)) {
|
|
4078
4056
|
const { loadingDelay: t } = Ne();
|
|
4079
4057
|
let r;
|
|
4080
4058
|
return typeof window < "u" && pe() != null && t ? r = window.setTimeout(
|
|
4081
|
-
() =>
|
|
4059
|
+
() => wt.set(!0),
|
|
4082
4060
|
t
|
|
4083
|
-
) :
|
|
4084
|
-
|
|
4061
|
+
) : wt.set(!0), $r(e).then(() => {
|
|
4062
|
+
at.set(e);
|
|
4085
4063
|
}).finally(() => {
|
|
4086
|
-
clearTimeout(r),
|
|
4064
|
+
clearTimeout(r), wt.set(!1);
|
|
4087
4065
|
});
|
|
4088
4066
|
}
|
|
4089
|
-
return
|
|
4090
|
-
}, Le =
|
|
4091
|
-
set:
|
|
4067
|
+
return at.set(e);
|
|
4068
|
+
}, Le = ea(Ks({}, at), {
|
|
4069
|
+
set: ta
|
|
4092
4070
|
}), ct = (e) => {
|
|
4093
4071
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4094
4072
|
return (n) => {
|
|
4095
|
-
const
|
|
4096
|
-
return
|
|
4073
|
+
const s = JSON.stringify(n);
|
|
4074
|
+
return s in t ? t[s] : t[s] = e(n);
|
|
4097
4075
|
};
|
|
4098
4076
|
};
|
|
4099
|
-
var
|
|
4077
|
+
var ra = Object.defineProperty, it = Object.getOwnPropertySymbols, Gr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? ra(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
|
|
4100
4078
|
for (var r in t || (t = {}))
|
|
4101
|
-
|
|
4079
|
+
Gr.call(t, r) && nr(e, r, t[r]);
|
|
4102
4080
|
if (it)
|
|
4103
4081
|
for (var r of it(t))
|
|
4104
|
-
|
|
4082
|
+
Vr.call(t, r) && nr(e, r, t[r]);
|
|
4105
4083
|
return e;
|
|
4106
4084
|
}, Fe = (e, t) => {
|
|
4107
4085
|
var r = {};
|
|
4108
4086
|
for (var n in e)
|
|
4109
|
-
|
|
4087
|
+
Gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4110
4088
|
if (e != null && it)
|
|
4111
4089
|
for (var n of it(e))
|
|
4112
|
-
t.indexOf(n) < 0 &&
|
|
4090
|
+
t.indexOf(n) < 0 && Vr.call(e, n) && (r[n] = e[n]);
|
|
4113
4091
|
return r;
|
|
4114
4092
|
};
|
|
4115
4093
|
const ze = (e, t) => {
|
|
@@ -4117,57 +4095,57 @@ const ze = (e, t) => {
|
|
|
4117
4095
|
if (e in r && t in r[e])
|
|
4118
4096
|
return r[e][t];
|
|
4119
4097
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4120
|
-
},
|
|
4098
|
+
}, na = ct(
|
|
4121
4099
|
(e) => {
|
|
4122
|
-
var t = e, { locale: r, format: n } = t,
|
|
4100
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4123
4101
|
if (r == null)
|
|
4124
4102
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4125
|
-
return n && (
|
|
4103
|
+
return n && (s = ze("number", n)), new Intl.NumberFormat(r, s);
|
|
4126
4104
|
}
|
|
4127
|
-
),
|
|
4105
|
+
), sa = ct(
|
|
4128
4106
|
(e) => {
|
|
4129
|
-
var t = e, { locale: r, format: n } = t,
|
|
4107
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4130
4108
|
if (r == null)
|
|
4131
4109
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4132
|
-
return n ?
|
|
4110
|
+
return n ? s = ze("date", n) : Object.keys(s).length === 0 && (s = ze("date", "short")), new Intl.DateTimeFormat(r, s);
|
|
4133
4111
|
}
|
|
4134
|
-
),
|
|
4112
|
+
), aa = ct(
|
|
4135
4113
|
(e) => {
|
|
4136
|
-
var t = e, { locale: r, format: n } = t,
|
|
4114
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4137
4115
|
if (r == null)
|
|
4138
4116
|
throw new Error(
|
|
4139
4117
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4140
4118
|
);
|
|
4141
|
-
return n ?
|
|
4119
|
+
return n ? s = ze("time", n) : Object.keys(s).length === 0 && (s = ze("time", "short")), new Intl.DateTimeFormat(r, s);
|
|
4142
4120
|
}
|
|
4143
|
-
),
|
|
4121
|
+
), ia = (e = {}) => {
|
|
4144
4122
|
var t = e, {
|
|
4145
4123
|
locale: r = pe()
|
|
4146
4124
|
} = t, n = Fe(t, [
|
|
4147
4125
|
"locale"
|
|
4148
4126
|
]);
|
|
4149
|
-
return
|
|
4150
|
-
},
|
|
4127
|
+
return na(Rt({ locale: r }, n));
|
|
4128
|
+
}, oa = (e = {}) => {
|
|
4151
4129
|
var t = e, {
|
|
4152
4130
|
locale: r = pe()
|
|
4153
4131
|
} = t, n = Fe(t, [
|
|
4154
4132
|
"locale"
|
|
4155
4133
|
]);
|
|
4156
|
-
return
|
|
4157
|
-
},
|
|
4134
|
+
return sa(Rt({ locale: r }, n));
|
|
4135
|
+
}, la = (e = {}) => {
|
|
4158
4136
|
var t = e, {
|
|
4159
4137
|
locale: r = pe()
|
|
4160
4138
|
} = t, n = Fe(t, [
|
|
4161
4139
|
"locale"
|
|
4162
4140
|
]);
|
|
4163
|
-
return
|
|
4164
|
-
},
|
|
4141
|
+
return aa(Rt({ locale: r }, n));
|
|
4142
|
+
}, ua = ct(
|
|
4165
4143
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4166
|
-
(e, t = pe()) => new
|
|
4144
|
+
(e, t = pe()) => new Ls(e, t, Ne().formats, {
|
|
4167
4145
|
ignoreTag: Ne().ignoreTag
|
|
4168
4146
|
})
|
|
4169
|
-
),
|
|
4170
|
-
var r, n,
|
|
4147
|
+
), ha = (e, t = {}) => {
|
|
4148
|
+
var r, n, s, a;
|
|
4171
4149
|
let i = t;
|
|
4172
4150
|
typeof e == "object" && (i = e, e = i.id);
|
|
4173
4151
|
const {
|
|
@@ -4179,9 +4157,9 @@ const ze = (e, t) => {
|
|
|
4179
4157
|
throw new Error(
|
|
4180
4158
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4181
4159
|
);
|
|
4182
|
-
let c =
|
|
4160
|
+
let c = Fr(e, u);
|
|
4183
4161
|
if (!c)
|
|
4184
|
-
c = (
|
|
4162
|
+
c = (a = (s = (n = (r = Ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? s : h) != null ? a : e;
|
|
4185
4163
|
else if (typeof c != "string")
|
|
4186
4164
|
return console.warn(
|
|
4187
4165
|
`[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.`
|
|
@@ -4190,7 +4168,7 @@ const ze = (e, t) => {
|
|
|
4190
4168
|
return c;
|
|
4191
4169
|
let f = c;
|
|
4192
4170
|
try {
|
|
4193
|
-
f =
|
|
4171
|
+
f = ua(c, u).format(l);
|
|
4194
4172
|
} catch (p) {
|
|
4195
4173
|
p instanceof Error && console.warn(
|
|
4196
4174
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4198,20 +4176,20 @@ const ze = (e, t) => {
|
|
|
4198
4176
|
);
|
|
4199
4177
|
}
|
|
4200
4178
|
return f;
|
|
4201
|
-
},
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
window.emWidgets = { topic:
|
|
4207
|
-
const
|
|
4208
|
-
function
|
|
4209
|
-
|
|
4210
|
-
}
|
|
4211
|
-
function
|
|
4179
|
+
}, ca = (e, t) => la(t).format(e), fa = (e, t) => oa(t).format(e), da = (e, t) => ia(t).format(e), pa = (e, t = pe()) => Fr(e, t), ma = Re([Le, We], () => ha);
|
|
4180
|
+
Re([Le], () => ca);
|
|
4181
|
+
Re([Le], () => fa);
|
|
4182
|
+
Re([Le], () => da);
|
|
4183
|
+
Re([Le, We], () => pa);
|
|
4184
|
+
window.emWidgets = { topic: Sn };
|
|
4185
|
+
const ga = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4186
|
+
function sr(e, t) {
|
|
4187
|
+
Dr(e, t);
|
|
4188
|
+
}
|
|
4189
|
+
function ba(e) {
|
|
4212
4190
|
Le.set(e);
|
|
4213
4191
|
}
|
|
4214
|
-
const
|
|
4192
|
+
const ar = {
|
|
4215
4193
|
en: {
|
|
4216
4194
|
titleChangePassword: "Change Password",
|
|
4217
4195
|
currentPassword: "Current Password:",
|
|
@@ -4395,82 +4373,82 @@ const lr = {
|
|
|
4395
4373
|
backButtonText: "Back"
|
|
4396
4374
|
}
|
|
4397
4375
|
};
|
|
4398
|
-
function
|
|
4376
|
+
function wa(e, t) {
|
|
4399
4377
|
if (e) {
|
|
4400
4378
|
const r = document.createElement("style");
|
|
4401
4379
|
r.innerHTML = t, e.appendChild(r);
|
|
4402
4380
|
}
|
|
4403
4381
|
}
|
|
4404
|
-
function
|
|
4382
|
+
function va(e, t) {
|
|
4405
4383
|
const r = new URL(t);
|
|
4406
4384
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4407
|
-
const
|
|
4408
|
-
|
|
4385
|
+
const s = document.createElement("style");
|
|
4386
|
+
s.innerHTML = n, e && e.appendChild(s);
|
|
4409
4387
|
}).catch((n) => {
|
|
4410
4388
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4411
4389
|
});
|
|
4412
4390
|
}
|
|
4413
|
-
function
|
|
4391
|
+
function ya(e, t, r) {
|
|
4414
4392
|
if (window.emMessageBus) {
|
|
4415
4393
|
const n = document.createElement("style");
|
|
4416
|
-
window.emMessageBus.subscribe(t, (
|
|
4417
|
-
n.innerHTML =
|
|
4394
|
+
window.emMessageBus.subscribe(t, (s) => {
|
|
4395
|
+
n.innerHTML = s, e && e.appendChild(n);
|
|
4418
4396
|
});
|
|
4419
4397
|
}
|
|
4420
4398
|
}
|
|
4421
|
-
function
|
|
4422
|
-
Yr(e, "svelte-s2d9y9", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;height:100vh;max-width:100%;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;max-width:400px;min-width:200px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);max-width:400px;min-width:200px;padding:13px 0;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;display:flex;justify-content:center;text-transform:uppercase;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;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);width:auto;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{filter:brightness(0.9)}.PlayerChangePasswordWrapperMobile{height:75vh;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;border-radius:0}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBackButton{width:100%;max-width:none}.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--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4399
|
+
function Pa(e) {
|
|
4400
|
+
Wr(e, "svelte-s2d9y9", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;height:100vh;max-width:100%;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;max-width:400px;min-width:200px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);max-width:400px;min-width:200px;padding:13px 0;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;display:flex;justify-content:center;text-transform:uppercase;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;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);width:auto;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{filter:brightness(0.9)}.PlayerChangePasswordWrapperMobile{height:75vh;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;border-radius:0}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBackButton{width:100%;max-width:none}.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--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4423
4401
|
}
|
|
4424
|
-
function
|
|
4402
|
+
function _a(e) {
|
|
4425
4403
|
let t;
|
|
4426
|
-
function r(
|
|
4404
|
+
function r(a, i) {
|
|
4427
4405
|
return (
|
|
4428
4406
|
/*passwordChanged*/
|
|
4429
|
-
|
|
4407
|
+
a[2] ? xa : Ea
|
|
4430
4408
|
);
|
|
4431
4409
|
}
|
|
4432
|
-
let n = r(e),
|
|
4410
|
+
let n = r(e), s = n(e);
|
|
4433
4411
|
return {
|
|
4434
4412
|
c() {
|
|
4435
|
-
t = _("form"),
|
|
4413
|
+
t = _("form"), s.c(), o(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
|
|
4436
4414
|
(e[20] ? "PlayerChangePasswordWrapperMobile" : "") + " " + /*mediaQuery*/
|
|
4437
4415
|
(e[21].matches && /*isMobile*/
|
|
4438
4416
|
e[20] ? "PlayerChangePasswordWrapperTablet" : ""));
|
|
4439
4417
|
},
|
|
4440
|
-
m(
|
|
4441
|
-
H(
|
|
4418
|
+
m(a, i) {
|
|
4419
|
+
H(a, t, i), s.m(t, null);
|
|
4442
4420
|
},
|
|
4443
|
-
p(
|
|
4444
|
-
n === (n = r(
|
|
4421
|
+
p(a, i) {
|
|
4422
|
+
n === (n = r(a)) && s ? s.p(a, i) : (s.d(1), s = n(a), s && (s.c(), s.m(t, null)));
|
|
4445
4423
|
},
|
|
4446
|
-
d(
|
|
4447
|
-
|
|
4424
|
+
d(a) {
|
|
4425
|
+
a && A(t), s.d();
|
|
4448
4426
|
}
|
|
4449
4427
|
};
|
|
4450
4428
|
}
|
|
4451
|
-
function
|
|
4452
|
-
let t, r, n,
|
|
4429
|
+
function xa(e) {
|
|
4430
|
+
let t, r, n, s = (
|
|
4453
4431
|
/*$_*/
|
|
4454
4432
|
e[19]("changePasswordText") + ""
|
|
4455
|
-
),
|
|
4433
|
+
), a, i, l, u, h, c, f, p, m = (
|
|
4456
4434
|
/*$_*/
|
|
4457
4435
|
e[19]("passwordReset") + ""
|
|
4458
4436
|
), w, v, T, y = (
|
|
4459
4437
|
/*$_*/
|
|
4460
4438
|
e[19]("passwordResetConfirmation") + ""
|
|
4461
|
-
), I,
|
|
4439
|
+
), I, R, k, D = (
|
|
4462
4440
|
/*$_*/
|
|
4463
4441
|
e[19]("backButtonText") + ""
|
|
4464
4442
|
), N, X, ee, $ = (
|
|
4465
4443
|
/*isMobile*/
|
|
4466
|
-
e[20] &&
|
|
4444
|
+
e[20] && Ca(e)
|
|
4467
4445
|
);
|
|
4468
4446
|
return {
|
|
4469
4447
|
c() {
|
|
4470
|
-
$ && $.c(), t = F(), r = _("div"), n = _("h3"),
|
|
4448
|
+
$ && $.c(), t = F(), r = _("div"), n = _("h3"), a = M(s), i = F(), l = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = F(), f = _("div"), p = _("h3"), w = M(m), v = F(), T = _("p"), I = M(y), R = F(), k = _("div"), N = M(D), o(r, "class", "PlayerChangePasswordHeader"), o(h, "class", "IconContainer"), o(f, "class", "TextContainer"), o(u, "class", "SuccessWrapper"), o(k, "class", "PlayerChangePasswordBackButton"), o(l, "class", "ChangedPasswordSuccessfully");
|
|
4471
4449
|
},
|
|
4472
4450
|
m(L, B) {
|
|
4473
|
-
$ && $.m(L, B), H(L, t, B), H(L, r, B), d(r, n), d(n,
|
|
4451
|
+
$ && $.m(L, B), H(L, t, B), H(L, r, B), d(r, n), d(n, a), H(L, i, B), H(L, l, B), d(l, u), d(u, h), d(u, c), d(u, f), d(f, p), d(p, w), d(f, v), d(f, T), d(T, I), d(l, R), d(l, k), d(k, N), X || (ee = z(
|
|
4474
4452
|
k,
|
|
4475
4453
|
"click",
|
|
4476
4454
|
/*click_handler_9*/
|
|
@@ -4480,8 +4458,8 @@ function Ts(e) {
|
|
|
4480
4458
|
p(L, B) {
|
|
4481
4459
|
/*isMobile*/
|
|
4482
4460
|
L[20] && $.p(L, B), B[0] & /*$_*/
|
|
4483
|
-
524288 &&
|
|
4484
|
-
L[19]("changePasswordText") + "") && U(
|
|
4461
|
+
524288 && s !== (s = /*$_*/
|
|
4462
|
+
L[19]("changePasswordText") + "") && U(a, s), B[0] & /*$_*/
|
|
4485
4463
|
524288 && m !== (m = /*$_*/
|
|
4486
4464
|
L[19]("passwordReset") + "") && U(w, m), B[0] & /*$_*/
|
|
4487
4465
|
524288 && y !== (y = /*$_*/
|
|
@@ -4494,40 +4472,40 @@ function Ts(e) {
|
|
|
4494
4472
|
}
|
|
4495
4473
|
};
|
|
4496
4474
|
}
|
|
4497
|
-
function
|
|
4475
|
+
function Ea(e) {
|
|
4498
4476
|
let t, r, n = (
|
|
4499
4477
|
/*$_*/
|
|
4500
4478
|
e[19]("titleChangePassword") + ""
|
|
4501
|
-
),
|
|
4479
|
+
), s, a, i, l, u, h = (
|
|
4502
4480
|
/*$_*/
|
|
4503
4481
|
e[19]("currentPassword") + ""
|
|
4504
|
-
), c, f, p, m, w, v, T, y, I,
|
|
4482
|
+
), c, f, p, m, w, v, T, y, I, R = (
|
|
4505
4483
|
/*$_*/
|
|
4506
4484
|
e[19]("newPassword") + ""
|
|
4507
4485
|
), k, D, N, X, ee, $, L, B, Z, Y = (
|
|
4508
4486
|
/*$_*/
|
|
4509
4487
|
e[19]("confirmPassword") + ""
|
|
4510
|
-
), me, ke, Q, Xe, te, ge, De,
|
|
4488
|
+
), me, ke, Q, Xe, te, ge, De, se, fe, re, ue = (
|
|
4511
4489
|
/*$_*/
|
|
4512
4490
|
e[19]("submitChangePassword") + ""
|
|
4513
|
-
), be, we, de, Ue, Ze,
|
|
4491
|
+
), be, we, de, Ue, Ze, ae = (
|
|
4514
4492
|
/*isMobile*/
|
|
4515
|
-
e[20] &&
|
|
4493
|
+
e[20] && Ta(e)
|
|
4516
4494
|
);
|
|
4517
4495
|
function Qe(x, P) {
|
|
4518
4496
|
return (
|
|
4519
4497
|
/*isCurrentPasswordVisible*/
|
|
4520
|
-
x[10] ?
|
|
4498
|
+
x[10] ? Sa : Ba
|
|
4521
4499
|
);
|
|
4522
4500
|
}
|
|
4523
4501
|
let ve = Qe(e), J = ve(e), G = (
|
|
4524
4502
|
/*invalidCurrentPassword*/
|
|
4525
|
-
e[4] &&
|
|
4503
|
+
e[4] && ir(e)
|
|
4526
4504
|
);
|
|
4527
4505
|
function Ye(x, P) {
|
|
4528
4506
|
return (
|
|
4529
4507
|
/*isNewPasswordVisible*/
|
|
4530
|
-
x[11] ?
|
|
4508
|
+
x[11] ? Ma : Ha
|
|
4531
4509
|
);
|
|
4532
4510
|
}
|
|
4533
4511
|
let ye = Ye(e), q = ye(e);
|
|
@@ -4536,30 +4514,30 @@ function Bs(e) {
|
|
|
4536
4514
|
/*oldPasswordSameAsNew*/
|
|
4537
4515
|
x[13]
|
|
4538
4516
|
)
|
|
4539
|
-
return
|
|
4517
|
+
return Oa;
|
|
4540
4518
|
if (
|
|
4541
4519
|
/*invalidNewPassword*/
|
|
4542
4520
|
x[5]
|
|
4543
4521
|
)
|
|
4544
|
-
return
|
|
4522
|
+
return Na;
|
|
4545
4523
|
}
|
|
4546
4524
|
let he = Je(e), V = he && he(e);
|
|
4547
4525
|
function qe(x, P) {
|
|
4548
4526
|
return (
|
|
4549
4527
|
/*isConfirmPasswordVisible*/
|
|
4550
|
-
x[12] ?
|
|
4528
|
+
x[12] ? ka : Fa
|
|
4551
4529
|
);
|
|
4552
4530
|
}
|
|
4553
4531
|
let Pe = qe(e), K = Pe(e), j = (
|
|
4554
4532
|
/*invalidConfirmPassword*/
|
|
4555
|
-
e[6] &&
|
|
4533
|
+
e[6] && or(e)
|
|
4556
4534
|
), b = (
|
|
4557
4535
|
/*showErrorPasswordChanged*/
|
|
4558
|
-
e[18] &&
|
|
4536
|
+
e[18] && lr(e)
|
|
4559
4537
|
);
|
|
4560
4538
|
return {
|
|
4561
4539
|
c() {
|
|
4562
|
-
|
|
4540
|
+
ae && ae.c(), t = F(), r = _("h2"), s = M(n), a = F(), i = _("section"), l = _("div"), u = _("label"), c = M(h), f = F(), p = _("input"), m = F(), J.c(), w = F(), G && G.c(), T = F(), y = _("div"), I = _("label"), k = M(R), D = F(), N = _("input"), X = F(), q.c(), ee = F(), V && V.c(), L = F(), B = _("div"), Z = _("label"), me = M(Y), ke = F(), Q = _("input"), Xe = F(), K.c(), te = F(), j && j.c(), De = F(), b && b.c(), se = F(), fe = _("section"), re = _("button"), be = M(ue), o(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4563
4541
|
(e[20] ? "ChangePasswordTitleNone" : "")), o(u, "for", "CurrentPassword"), o(p, "id", "CurrentPassword"), o(p, "type", "password"), o(l, "class", v = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4564
4542
|
(e[4] ? "InvalidField" : "")), o(I, "for", "NewPassword"), o(N, "id", "NewPassword"), o(N, "autocomplete", "new-password"), o(N, "type", "password"), o(y, "class", $ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4565
4543
|
(e[5] ? "InvalidField" : "")), o(Z, "for", "ConfirmPassword"), o(Q, "id", "ConfirmPassword"), o(Q, "type", "password"), o(B, "class", ge = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
@@ -4568,7 +4546,7 @@ function Bs(e) {
|
|
|
4568
4546
|
e[3], o(fe, "class", "PlayerChangePasswordButtonsArea");
|
|
4569
4547
|
},
|
|
4570
4548
|
m(x, P) {
|
|
4571
|
-
|
|
4549
|
+
ae && ae.m(x, P), H(x, t, P), H(x, r, P), d(r, s), H(x, a, P), H(x, i, P), d(i, l), d(l, u), d(u, c), d(l, f), d(l, p), _e(
|
|
4572
4550
|
p,
|
|
4573
4551
|
/*userCurrentPassword*/
|
|
4574
4552
|
e[14]
|
|
@@ -4580,7 +4558,7 @@ function Bs(e) {
|
|
|
4580
4558
|
Q,
|
|
4581
4559
|
/*userConfirmPassword*/
|
|
4582
4560
|
e[16]
|
|
4583
|
-
), e[43](Q), d(B, Xe), K.m(B, null), d(B, te), j && j.m(B, null), H(x, De, P), b && b.m(x, P), H(x,
|
|
4561
|
+
), e[43](Q), d(B, Xe), K.m(B, null), d(B, te), j && j.m(B, null), H(x, De, P), b && b.m(x, P), H(x, se, P), H(x, fe, P), d(fe, re), d(re, be), Ue || (Ze = [
|
|
4584
4562
|
z(
|
|
4585
4563
|
p,
|
|
4586
4564
|
"input",
|
|
@@ -4669,9 +4647,9 @@ function Bs(e) {
|
|
|
4669
4647
|
},
|
|
4670
4648
|
p(x, P) {
|
|
4671
4649
|
e = x, /*isMobile*/
|
|
4672
|
-
e[20] &&
|
|
4650
|
+
e[20] && ae.p(e, P), P[0] & /*$_*/
|
|
4673
4651
|
524288 && n !== (n = /*$_*/
|
|
4674
|
-
e[19]("titleChangePassword") + "") && U(
|
|
4652
|
+
e[19]("titleChangePassword") + "") && U(s, n), P[0] & /*$_*/
|
|
4675
4653
|
524288 && h !== (h = /*$_*/
|
|
4676
4654
|
e[19]("currentPassword") + "") && U(c, h), P[0] & /*userCurrentPassword*/
|
|
4677
4655
|
16384 && p.value !== /*userCurrentPassword*/
|
|
@@ -4680,11 +4658,11 @@ function Bs(e) {
|
|
|
4680
4658
|
/*userCurrentPassword*/
|
|
4681
4659
|
e[14]
|
|
4682
4660
|
), ve === (ve = Qe(e)) && J ? J.p(e, P) : (J.d(1), J = ve(e), J && (J.c(), J.m(l, w))), /*invalidCurrentPassword*/
|
|
4683
|
-
e[4] ? G ? G.p(e, P) : (G =
|
|
4661
|
+
e[4] ? G ? G.p(e, P) : (G = ir(e), G.c(), G.m(l, null)) : G && (G.d(1), G = null), P[0] & /*invalidCurrentPassword*/
|
|
4684
4662
|
16 && v !== (v = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4685
4663
|
(e[4] ? "InvalidField" : "")) && o(l, "class", v), P[0] & /*$_*/
|
|
4686
|
-
524288 &&
|
|
4687
|
-
e[19]("newPassword") + "") && U(k,
|
|
4664
|
+
524288 && R !== (R = /*$_*/
|
|
4665
|
+
e[19]("newPassword") + "") && U(k, R), P[0] & /*userNewPassword*/
|
|
4688
4666
|
32768 && N.value !== /*userNewPassword*/
|
|
4689
4667
|
e[15] && _e(
|
|
4690
4668
|
N,
|
|
@@ -4701,10 +4679,10 @@ function Bs(e) {
|
|
|
4701
4679
|
/*userConfirmPassword*/
|
|
4702
4680
|
e[16]
|
|
4703
4681
|
), Pe === (Pe = qe(e)) && K ? K.p(e, P) : (K.d(1), K = Pe(e), K && (K.c(), K.m(B, te))), /*invalidConfirmPassword*/
|
|
4704
|
-
e[6] ? j ? j.p(e, P) : (j =
|
|
4682
|
+
e[6] ? j ? j.p(e, P) : (j = or(e), j.c(), j.m(B, null)) : j && (j.d(1), j = null), P[0] & /*invalidConfirmPassword*/
|
|
4705
4683
|
64 && ge !== (ge = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4706
4684
|
(e[6] ? "InvalidField" : "")) && o(B, "class", ge), /*showErrorPasswordChanged*/
|
|
4707
|
-
e[18] ? b ? b.p(e, P) : (b =
|
|
4685
|
+
e[18] ? b ? b.p(e, P) : (b = lr(e), b.c(), b.m(se.parentNode, se)) : b && (b.d(1), b = null), P[0] & /*$_*/
|
|
4708
4686
|
524288 && ue !== (ue = /*$_*/
|
|
4709
4687
|
e[19]("submitChangePassword") + "") && U(be, ue), P[0] & /*activateSubmit*/
|
|
4710
4688
|
8 && we !== (we = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
@@ -4713,23 +4691,23 @@ function Bs(e) {
|
|
|
4713
4691
|
e[3]) && (re.disabled = de);
|
|
4714
4692
|
},
|
|
4715
4693
|
d(x) {
|
|
4716
|
-
x && (A(t), A(r), A(
|
|
4694
|
+
x && (A(t), A(r), A(a), A(i), A(De), A(se), A(fe)), ae && ae.d(x), e[35](null), J.d(), G && G.d(), e[39](null), q.d(), V && V.d(), e[43](null), K.d(), j && j.d(), b && b.d(x), Ue = !1, Oe(Ze);
|
|
4717
4695
|
}
|
|
4718
4696
|
};
|
|
4719
4697
|
}
|
|
4720
|
-
function
|
|
4721
|
-
let t, r, n,
|
|
4698
|
+
function Ca(e) {
|
|
4699
|
+
let t, r, n, s, a, i, l = (
|
|
4722
4700
|
/*$_*/
|
|
4723
4701
|
e[19]("returnToMenu") + ""
|
|
4724
4702
|
), u, h, c;
|
|
4725
4703
|
return {
|
|
4726
4704
|
c() {
|
|
4727
|
-
t = _("div"), r = g("svg"), n = g("g"),
|
|
4705
|
+
t = _("div"), r = g("svg"), n = g("g"), s = g("path"), a = F(), i = _("span"), u = M(l), o(s, "id", "Chevron_Right"), o(s, "d", `M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179
|
|
4728
4706
|
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
|
|
4729
|
-
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"),
|
|
4707
|
+
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"), Yr(r, "enable-background", "new 0 0 240.823 240.823"), o(r, "xml:space", "preserve"), o(r, "width", "18px"), o(r, "fill", "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"), o(t, "class", "MenuReturnButton");
|
|
4730
4708
|
},
|
|
4731
4709
|
m(f, p) {
|
|
4732
|
-
H(f, t, p), d(t, r), d(r, n), d(n,
|
|
4710
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(t, i), d(i, u), h || (c = z(
|
|
4733
4711
|
t,
|
|
4734
4712
|
"click",
|
|
4735
4713
|
/*click_handler_8*/
|
|
@@ -4746,17 +4724,17 @@ function Ss(e) {
|
|
|
4746
4724
|
}
|
|
4747
4725
|
};
|
|
4748
4726
|
}
|
|
4749
|
-
function
|
|
4750
|
-
let t, r, n,
|
|
4727
|
+
function Ta(e) {
|
|
4728
|
+
let t, r, n, s, a, i, l, u, h, c, f = (
|
|
4751
4729
|
/*$_*/
|
|
4752
4730
|
e[19]("titleChangePassword") + ""
|
|
4753
4731
|
), p, m, w;
|
|
4754
4732
|
return {
|
|
4755
4733
|
c() {
|
|
4756
|
-
t = _("div"), r = g("svg"), n = g("defs"),
|
|
4734
|
+
t = _("div"), r = g("svg"), n = g("defs"), s = g("style"), a = M(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), i = g("g"), l = g("g"), u = g("path"), h = F(), c = _("h2"), p = M(f), o(u, "class", "aaa"), o(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), o(u, "transform", "translate(15 15) rotate(180)"), o(l, "transform", "translate(20 158)"), o(i, "transform", "translate(-20 -158)"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "15"), o(r, "height", "15"), o(r, "viewBox", "0 0 15 15"), o(c, "class", "ChangePasswordTitleMobile"), o(t, "class", "MenuReturnButton");
|
|
4757
4735
|
},
|
|
4758
4736
|
m(v, T) {
|
|
4759
|
-
H(v, t, T), d(t, r), d(r, n), d(n,
|
|
4737
|
+
H(v, t, T), d(t, r), d(r, n), d(n, s), d(s, a), d(r, i), d(i, l), d(l, u), d(t, h), d(t, c), d(c, p), m || (w = z(
|
|
4760
4738
|
t,
|
|
4761
4739
|
"click",
|
|
4762
4740
|
/*click_handler*/
|
|
@@ -4773,16 +4751,16 @@ function As(e) {
|
|
|
4773
4751
|
}
|
|
4774
4752
|
};
|
|
4775
4753
|
}
|
|
4776
|
-
function
|
|
4777
|
-
let t, r, n,
|
|
4754
|
+
function Ba(e) {
|
|
4755
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
4778
4756
|
return {
|
|
4779
4757
|
c() {
|
|
4780
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
4758
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"), l = g("circle"), o(i, "class", "a"), o(i, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(i, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(a, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4781
4759
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4782
4760
|
(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");
|
|
4783
4761
|
},
|
|
4784
4762
|
m(f, p) {
|
|
4785
|
-
H(f, t, p), d(t, r), d(r, n), d(n,
|
|
4763
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), h || (c = z(
|
|
4786
4764
|
t,
|
|
4787
4765
|
"click",
|
|
4788
4766
|
/*click_handler_2*/
|
|
@@ -4800,16 +4778,16 @@ function Is(e) {
|
|
|
4800
4778
|
}
|
|
4801
4779
|
};
|
|
4802
4780
|
}
|
|
4803
|
-
function
|
|
4804
|
-
let t, r, n,
|
|
4781
|
+
function Sa(e) {
|
|
4782
|
+
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
4805
4783
|
return {
|
|
4806
4784
|
c() {
|
|
4807
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
4785
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(i, "class", "a"), o(i, "cx", "0.05"), o(i, "cy", "0.05"), o(i, "r", "0.05"), o(i, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", w = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4808
4786
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4809
4787
|
(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");
|
|
4810
4788
|
},
|
|
4811
4789
|
m(y, I) {
|
|
4812
|
-
H(y, t, I), d(t, r), d(r, n), d(n,
|
|
4790
|
+
H(y, t, I), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), d(l, u), d(l, h), d(a, c), d(c, f), d(c, p), d(a, m), v || (T = z(
|
|
4813
4791
|
t,
|
|
4814
4792
|
"click",
|
|
4815
4793
|
/*click_handler_1*/
|
|
@@ -4827,31 +4805,31 @@ function Hs(e) {
|
|
|
4827
4805
|
}
|
|
4828
4806
|
};
|
|
4829
4807
|
}
|
|
4830
|
-
function
|
|
4808
|
+
function ir(e) {
|
|
4831
4809
|
let t;
|
|
4832
|
-
function r(
|
|
4810
|
+
function r(a, i) {
|
|
4833
4811
|
return (
|
|
4834
4812
|
/*simplepasswordvalidation*/
|
|
4835
|
-
|
|
4813
|
+
a[0] == "true" ? Ia : Aa
|
|
4836
4814
|
);
|
|
4837
4815
|
}
|
|
4838
|
-
let n = r(e),
|
|
4816
|
+
let n = r(e), s = n(e);
|
|
4839
4817
|
return {
|
|
4840
4818
|
c() {
|
|
4841
|
-
|
|
4819
|
+
s.c(), t = fr();
|
|
4842
4820
|
},
|
|
4843
|
-
m(
|
|
4844
|
-
|
|
4821
|
+
m(a, i) {
|
|
4822
|
+
s.m(a, i), H(a, t, i);
|
|
4845
4823
|
},
|
|
4846
|
-
p(
|
|
4847
|
-
n === (n = r(
|
|
4824
|
+
p(a, i) {
|
|
4825
|
+
n === (n = r(a)) && s ? s.p(a, i) : (s.d(1), s = n(a), s && (s.c(), s.m(t.parentNode, t)));
|
|
4848
4826
|
},
|
|
4849
|
-
d(
|
|
4850
|
-
|
|
4827
|
+
d(a) {
|
|
4828
|
+
a && A(t), s.d(a);
|
|
4851
4829
|
}
|
|
4852
4830
|
};
|
|
4853
4831
|
}
|
|
4854
|
-
function
|
|
4832
|
+
function Aa(e) {
|
|
4855
4833
|
let t, r = (
|
|
4856
4834
|
/*$_*/
|
|
4857
4835
|
e[19]("invalidPasswordRule") + ""
|
|
@@ -4860,20 +4838,20 @@ function Ms(e) {
|
|
|
4860
4838
|
c() {
|
|
4861
4839
|
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
4862
4840
|
},
|
|
4863
|
-
m(
|
|
4864
|
-
H(
|
|
4841
|
+
m(s, a) {
|
|
4842
|
+
H(s, t, a), d(t, n);
|
|
4865
4843
|
},
|
|
4866
|
-
p(
|
|
4867
|
-
|
|
4844
|
+
p(s, a) {
|
|
4845
|
+
a[0] & /*$_*/
|
|
4868
4846
|
524288 && r !== (r = /*$_*/
|
|
4869
|
-
|
|
4847
|
+
s[19]("invalidPasswordRule") + "") && U(n, r);
|
|
4870
4848
|
},
|
|
4871
|
-
d(
|
|
4872
|
-
|
|
4849
|
+
d(s) {
|
|
4850
|
+
s && A(t);
|
|
4873
4851
|
}
|
|
4874
4852
|
};
|
|
4875
4853
|
}
|
|
4876
|
-
function
|
|
4854
|
+
function Ia(e) {
|
|
4877
4855
|
let t, r = (
|
|
4878
4856
|
/*$_*/
|
|
4879
4857
|
e[19]("simplePasswordError") + ""
|
|
@@ -4882,29 +4860,29 @@ function Ns(e) {
|
|
|
4882
4860
|
c() {
|
|
4883
4861
|
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
4884
4862
|
},
|
|
4885
|
-
m(
|
|
4886
|
-
H(
|
|
4863
|
+
m(s, a) {
|
|
4864
|
+
H(s, t, a), d(t, n);
|
|
4887
4865
|
},
|
|
4888
|
-
p(
|
|
4889
|
-
|
|
4866
|
+
p(s, a) {
|
|
4867
|
+
a[0] & /*$_*/
|
|
4890
4868
|
524288 && r !== (r = /*$_*/
|
|
4891
|
-
|
|
4869
|
+
s[19]("simplePasswordError") + "") && U(n, r);
|
|
4892
4870
|
},
|
|
4893
|
-
d(
|
|
4894
|
-
|
|
4871
|
+
d(s) {
|
|
4872
|
+
s && A(t);
|
|
4895
4873
|
}
|
|
4896
4874
|
};
|
|
4897
4875
|
}
|
|
4898
|
-
function
|
|
4899
|
-
let t, r, n,
|
|
4876
|
+
function Ha(e) {
|
|
4877
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
4900
4878
|
return {
|
|
4901
4879
|
c() {
|
|
4902
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
4880
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"), l = g("circle"), o(i, "class", "a"), o(i, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(i, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(a, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4903
4881
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4904
4882
|
(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");
|
|
4905
4883
|
},
|
|
4906
4884
|
m(f, p) {
|
|
4907
|
-
H(f, t, p), d(t, r), d(r, n), d(n,
|
|
4885
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), h || (c = z(
|
|
4908
4886
|
t,
|
|
4909
4887
|
"click",
|
|
4910
4888
|
/*click_handler_4*/
|
|
@@ -4922,16 +4900,16 @@ function Rs(e) {
|
|
|
4922
4900
|
}
|
|
4923
4901
|
};
|
|
4924
4902
|
}
|
|
4925
|
-
function
|
|
4926
|
-
let t, r, n,
|
|
4903
|
+
function Ma(e) {
|
|
4904
|
+
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
4927
4905
|
return {
|
|
4928
4906
|
c() {
|
|
4929
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
4907
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(i, "class", "a"), o(i, "cx", "0.05"), o(i, "cy", "0.05"), o(i, "r", "0.05"), o(i, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", w = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4930
4908
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4931
4909
|
(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");
|
|
4932
4910
|
},
|
|
4933
4911
|
m(y, I) {
|
|
4934
|
-
H(y, t, I), d(t, r), d(r, n), d(n,
|
|
4912
|
+
H(y, t, I), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), d(l, u), d(l, h), d(a, c), d(c, f), d(c, p), d(a, m), v || (T = z(
|
|
4935
4913
|
t,
|
|
4936
4914
|
"click",
|
|
4937
4915
|
/*click_handler_3*/
|
|
@@ -4949,31 +4927,31 @@ function Os(e) {
|
|
|
4949
4927
|
}
|
|
4950
4928
|
};
|
|
4951
4929
|
}
|
|
4952
|
-
function
|
|
4930
|
+
function Na(e) {
|
|
4953
4931
|
let t;
|
|
4954
|
-
function r(
|
|
4932
|
+
function r(a, i) {
|
|
4955
4933
|
return (
|
|
4956
4934
|
/*simplepasswordvalidation*/
|
|
4957
|
-
|
|
4935
|
+
a[0] == "true" ? La : Ra
|
|
4958
4936
|
);
|
|
4959
4937
|
}
|
|
4960
|
-
let n = r(e),
|
|
4938
|
+
let n = r(e), s = n(e);
|
|
4961
4939
|
return {
|
|
4962
4940
|
c() {
|
|
4963
|
-
|
|
4941
|
+
s.c(), t = fr();
|
|
4964
4942
|
},
|
|
4965
|
-
m(
|
|
4966
|
-
|
|
4943
|
+
m(a, i) {
|
|
4944
|
+
s.m(a, i), H(a, t, i);
|
|
4967
4945
|
},
|
|
4968
|
-
p(
|
|
4969
|
-
n === (n = r(
|
|
4946
|
+
p(a, i) {
|
|
4947
|
+
n === (n = r(a)) && s ? s.p(a, i) : (s.d(1), s = n(a), s && (s.c(), s.m(t.parentNode, t)));
|
|
4970
4948
|
},
|
|
4971
|
-
d(
|
|
4972
|
-
|
|
4949
|
+
d(a) {
|
|
4950
|
+
a && A(t), s.d(a);
|
|
4973
4951
|
}
|
|
4974
4952
|
};
|
|
4975
4953
|
}
|
|
4976
|
-
function
|
|
4954
|
+
function Oa(e) {
|
|
4977
4955
|
let t, r = (
|
|
4978
4956
|
/*$_*/
|
|
4979
4957
|
e[19]("invalidNewPassword") + ""
|
|
@@ -4982,20 +4960,20 @@ function Fs(e) {
|
|
|
4982
4960
|
c() {
|
|
4983
4961
|
t = _("p"), n = M(r), o(t, "class", "InvalidInputNew");
|
|
4984
4962
|
},
|
|
4985
|
-
m(
|
|
4986
|
-
H(
|
|
4963
|
+
m(s, a) {
|
|
4964
|
+
H(s, t, a), d(t, n);
|
|
4987
4965
|
},
|
|
4988
|
-
p(
|
|
4989
|
-
|
|
4966
|
+
p(s, a) {
|
|
4967
|
+
a[0] & /*$_*/
|
|
4990
4968
|
524288 && r !== (r = /*$_*/
|
|
4991
|
-
|
|
4969
|
+
s[19]("invalidNewPassword") + "") && U(n, r);
|
|
4992
4970
|
},
|
|
4993
|
-
d(
|
|
4994
|
-
|
|
4971
|
+
d(s) {
|
|
4972
|
+
s && A(t);
|
|
4995
4973
|
}
|
|
4996
4974
|
};
|
|
4997
4975
|
}
|
|
4998
|
-
function
|
|
4976
|
+
function Ra(e) {
|
|
4999
4977
|
let t, r = (
|
|
5000
4978
|
/*$_*/
|
|
5001
4979
|
e[19]("invalidPasswordRule") + ""
|
|
@@ -5004,20 +4982,20 @@ function ks(e) {
|
|
|
5004
4982
|
c() {
|
|
5005
4983
|
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
5006
4984
|
},
|
|
5007
|
-
m(
|
|
5008
|
-
H(
|
|
4985
|
+
m(s, a) {
|
|
4986
|
+
H(s, t, a), d(t, n);
|
|
5009
4987
|
},
|
|
5010
|
-
p(
|
|
5011
|
-
|
|
4988
|
+
p(s, a) {
|
|
4989
|
+
a[0] & /*$_*/
|
|
5012
4990
|
524288 && r !== (r = /*$_*/
|
|
5013
|
-
|
|
4991
|
+
s[19]("invalidPasswordRule") + "") && U(n, r);
|
|
5014
4992
|
},
|
|
5015
|
-
d(
|
|
5016
|
-
|
|
4993
|
+
d(s) {
|
|
4994
|
+
s && A(t);
|
|
5017
4995
|
}
|
|
5018
4996
|
};
|
|
5019
4997
|
}
|
|
5020
|
-
function
|
|
4998
|
+
function La(e) {
|
|
5021
4999
|
let t, r = (
|
|
5022
5000
|
/*$_*/
|
|
5023
5001
|
e[19]("simplePasswordError") + ""
|
|
@@ -5026,29 +5004,29 @@ function Ds(e) {
|
|
|
5026
5004
|
c() {
|
|
5027
5005
|
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
5028
5006
|
},
|
|
5029
|
-
m(
|
|
5030
|
-
H(
|
|
5007
|
+
m(s, a) {
|
|
5008
|
+
H(s, t, a), d(t, n);
|
|
5031
5009
|
},
|
|
5032
|
-
p(
|
|
5033
|
-
|
|
5010
|
+
p(s, a) {
|
|
5011
|
+
a[0] & /*$_*/
|
|
5034
5012
|
524288 && r !== (r = /*$_*/
|
|
5035
|
-
|
|
5013
|
+
s[19]("simplePasswordError") + "") && U(n, r);
|
|
5036
5014
|
},
|
|
5037
|
-
d(
|
|
5038
|
-
|
|
5015
|
+
d(s) {
|
|
5016
|
+
s && A(t);
|
|
5039
5017
|
}
|
|
5040
5018
|
};
|
|
5041
5019
|
}
|
|
5042
|
-
function
|
|
5043
|
-
let t, r, n,
|
|
5020
|
+
function Fa(e) {
|
|
5021
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
5044
5022
|
return {
|
|
5045
5023
|
c() {
|
|
5046
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
5024
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"), l = g("circle"), o(i, "class", "a"), o(i, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(i, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(a, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5047
5025
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5048
5026
|
(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");
|
|
5049
5027
|
},
|
|
5050
5028
|
m(f, p) {
|
|
5051
|
-
H(f, t, p), d(t, r), d(r, n), d(n,
|
|
5029
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), h || (c = z(
|
|
5052
5030
|
t,
|
|
5053
5031
|
"click",
|
|
5054
5032
|
/*click_handler_6*/
|
|
@@ -5066,16 +5044,16 @@ function Us(e) {
|
|
|
5066
5044
|
}
|
|
5067
5045
|
};
|
|
5068
5046
|
}
|
|
5069
|
-
function
|
|
5070
|
-
let t, r, n,
|
|
5047
|
+
function ka(e) {
|
|
5048
|
+
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
5071
5049
|
return {
|
|
5072
5050
|
c() {
|
|
5073
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
5051
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = M(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(i, "class", "a"), o(i, "cx", "0.05"), o(i, "cy", "0.05"), o(i, "r", "0.05"), o(i, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", w = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5074
5052
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5075
5053
|
(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");
|
|
5076
5054
|
},
|
|
5077
5055
|
m(y, I) {
|
|
5078
|
-
H(y, t, I), d(t, r), d(r, n), d(n,
|
|
5056
|
+
H(y, t, I), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), d(l, u), d(l, h), d(a, c), d(c, f), d(c, p), d(a, m), v || (T = z(
|
|
5079
5057
|
t,
|
|
5080
5058
|
"click",
|
|
5081
5059
|
/*click_handler_5*/
|
|
@@ -5093,7 +5071,7 @@ function $s(e) {
|
|
|
5093
5071
|
}
|
|
5094
5072
|
};
|
|
5095
5073
|
}
|
|
5096
|
-
function
|
|
5074
|
+
function or(e) {
|
|
5097
5075
|
let t, r = (
|
|
5098
5076
|
/*$_*/
|
|
5099
5077
|
e[19]("confirmPasswordInvalid") + ""
|
|
@@ -5102,20 +5080,20 @@ function hr(e) {
|
|
|
5102
5080
|
c() {
|
|
5103
5081
|
t = _("p"), n = M(r), o(t, "class", "InvalidInput");
|
|
5104
5082
|
},
|
|
5105
|
-
m(
|
|
5106
|
-
H(
|
|
5083
|
+
m(s, a) {
|
|
5084
|
+
H(s, t, a), d(t, n);
|
|
5107
5085
|
},
|
|
5108
|
-
p(
|
|
5109
|
-
|
|
5086
|
+
p(s, a) {
|
|
5087
|
+
a[0] & /*$_*/
|
|
5110
5088
|
524288 && r !== (r = /*$_*/
|
|
5111
|
-
|
|
5089
|
+
s[19]("confirmPasswordInvalid") + "") && U(n, r);
|
|
5112
5090
|
},
|
|
5113
|
-
d(
|
|
5114
|
-
|
|
5091
|
+
d(s) {
|
|
5092
|
+
s && A(t);
|
|
5115
5093
|
}
|
|
5116
5094
|
};
|
|
5117
5095
|
}
|
|
5118
|
-
function
|
|
5096
|
+
function lr(e) {
|
|
5119
5097
|
let t, r, n;
|
|
5120
5098
|
return {
|
|
5121
5099
|
c() {
|
|
@@ -5124,64 +5102,64 @@ function cr(e) {
|
|
|
5124
5102
|
e[17]
|
|
5125
5103
|
), o(r, "class", "PasswordChangedError");
|
|
5126
5104
|
},
|
|
5127
|
-
m(
|
|
5128
|
-
H(
|
|
5105
|
+
m(s, a) {
|
|
5106
|
+
H(s, t, a), d(t, r), d(r, n);
|
|
5129
5107
|
},
|
|
5130
|
-
p(
|
|
5131
|
-
|
|
5108
|
+
p(s, a) {
|
|
5109
|
+
a[0] & /*errorPasswordChanged*/
|
|
5132
5110
|
131072 && U(
|
|
5133
5111
|
n,
|
|
5134
5112
|
/*errorPasswordChanged*/
|
|
5135
|
-
|
|
5113
|
+
s[17]
|
|
5136
5114
|
);
|
|
5137
5115
|
},
|
|
5138
|
-
d(
|
|
5139
|
-
|
|
5116
|
+
d(s) {
|
|
5117
|
+
s && A(t);
|
|
5140
5118
|
}
|
|
5141
5119
|
};
|
|
5142
5120
|
}
|
|
5143
|
-
function
|
|
5121
|
+
function Da(e) {
|
|
5144
5122
|
let t;
|
|
5145
|
-
function r(
|
|
5146
|
-
return
|
|
5123
|
+
function r(a, i) {
|
|
5124
|
+
return _a;
|
|
5147
5125
|
}
|
|
5148
|
-
let
|
|
5126
|
+
let s = r()(e);
|
|
5149
5127
|
return {
|
|
5150
5128
|
c() {
|
|
5151
|
-
t = _("div"),
|
|
5129
|
+
t = _("div"), s.c();
|
|
5152
5130
|
},
|
|
5153
|
-
m(
|
|
5154
|
-
H(
|
|
5131
|
+
m(a, i) {
|
|
5132
|
+
H(a, t, i), s.m(t, null), e[49](t);
|
|
5155
5133
|
},
|
|
5156
|
-
p(
|
|
5157
|
-
|
|
5134
|
+
p(a, i) {
|
|
5135
|
+
s.p(a, i);
|
|
5158
5136
|
},
|
|
5159
5137
|
i: ne,
|
|
5160
5138
|
o: ne,
|
|
5161
|
-
d(
|
|
5162
|
-
|
|
5139
|
+
d(a) {
|
|
5140
|
+
a && A(t), s.d(), e[49](null);
|
|
5163
5141
|
}
|
|
5164
5142
|
};
|
|
5165
5143
|
}
|
|
5166
|
-
function
|
|
5144
|
+
function Ua(e, t, r) {
|
|
5167
5145
|
let n;
|
|
5168
|
-
|
|
5169
|
-
let { lang:
|
|
5146
|
+
zr(e, ma, (b) => r(19, n = b));
|
|
5147
|
+
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, { passwordregex: c = "" } = t, f, p = window.navigator.userAgent, m = ga(p) !== "PC", w = !1;
|
|
5170
5148
|
const v = window.matchMedia("(min-width: 768px)"), T = {
|
|
5171
5149
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5172
5150
|
};
|
|
5173
|
-
let y = !1, I = !1,
|
|
5151
|
+
let y = !1, I = !1, R = !1, k, D, N, X = !1, ee = !1, $ = !1, L = !1, B = "", Z = "", Y = "", me = !1, ke = "", Q = !1;
|
|
5174
5152
|
const Xe = () => {
|
|
5175
5153
|
fetch(h).then((x) => x.json()).then((x) => {
|
|
5176
5154
|
Object.keys(x).forEach((P) => {
|
|
5177
|
-
|
|
5155
|
+
sr(P, x[P]);
|
|
5178
5156
|
});
|
|
5179
5157
|
}).catch((x) => {
|
|
5180
5158
|
console.log(x);
|
|
5181
5159
|
});
|
|
5182
5160
|
};
|
|
5183
|
-
Object.keys(
|
|
5184
|
-
|
|
5161
|
+
Object.keys(ar).forEach((b) => {
|
|
5162
|
+
sr(b, ar[b]);
|
|
5185
5163
|
});
|
|
5186
5164
|
const te = (b) => {
|
|
5187
5165
|
switch (b) {
|
|
@@ -5196,11 +5174,11 @@ function Vs(e, t, r) {
|
|
|
5196
5174
|
break;
|
|
5197
5175
|
}
|
|
5198
5176
|
}, ge = () => {
|
|
5199
|
-
|
|
5177
|
+
a == "true" && (T.password = /^(?!.* ).{8,20}$/);
|
|
5200
5178
|
}, De = (b, x, P) => {
|
|
5201
|
-
P.id === "CurrentPassword" ? r(4, y = !
|
|
5202
|
-
},
|
|
5203
|
-
!y && !I && !
|
|
5179
|
+
P.id === "CurrentPassword" ? r(4, y = !se(x)) : P.id === "NewPassword" ? (r(5, I = !se(x)), B && r(13, L = B === Z), Y && r(6, R = Z === Y ? !se(x) : !0)) : r(6, R = Z === Y ? !se(x) : !0), fe();
|
|
5180
|
+
}, se = (b) => !!T.password.test(b), fe = () => {
|
|
5181
|
+
!y && !I && !R && !L && B && Z && Y ? r(3, w = !0) : r(3, w = !1);
|
|
5204
5182
|
}, re = (b) => {
|
|
5205
5183
|
b.preventDefault(), w && window.postMessage(
|
|
5206
5184
|
{
|
|
@@ -5221,7 +5199,7 @@ function Vs(e, t, r) {
|
|
|
5221
5199
|
}, be = () => {
|
|
5222
5200
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5223
5201
|
}, we = () => {
|
|
5224
|
-
|
|
5202
|
+
ba(s);
|
|
5225
5203
|
}, de = (b) => {
|
|
5226
5204
|
if (b.data)
|
|
5227
5205
|
switch (b.data.type) {
|
|
@@ -5233,14 +5211,14 @@ function Vs(e, t, r) {
|
|
|
5233
5211
|
break;
|
|
5234
5212
|
}
|
|
5235
5213
|
};
|
|
5236
|
-
|
|
5214
|
+
Kr(() => (window.addEventListener("message", de, !1), () => {
|
|
5237
5215
|
window.removeEventListener("message", de);
|
|
5238
5216
|
}));
|
|
5239
5217
|
const Ue = () => ue();
|
|
5240
5218
|
function Ze() {
|
|
5241
5219
|
B = this.value, r(14, B);
|
|
5242
5220
|
}
|
|
5243
|
-
function
|
|
5221
|
+
function ae(b) {
|
|
5244
5222
|
Te[b ? "unshift" : "push"](() => {
|
|
5245
5223
|
k = b, r(7, k);
|
|
5246
5224
|
});
|
|
@@ -5270,25 +5248,25 @@ function Vs(e, t, r) {
|
|
|
5270
5248
|
});
|
|
5271
5249
|
}
|
|
5272
5250
|
return e.$$set = (b) => {
|
|
5273
|
-
"lang" in b && r(27,
|
|
5251
|
+
"lang" in b && r(27, s = b.lang), "simplepasswordvalidation" in b && r(0, a = b.simplepasswordvalidation), "clientstyling" in b && r(28, i = b.clientstyling), "clientstylingurl" in b && r(29, l = b.clientstylingurl), "mbsource" in b && r(30, u = b.mbsource), "translationurl" in b && r(31, h = b.translationurl), "passwordregex" in b && r(32, c = b.passwordregex);
|
|
5274
5252
|
}, e.$$.update = () => {
|
|
5275
5253
|
e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5276
|
-
1 &&
|
|
5254
|
+
1 && a && ge(), e.$$.dirty[1] & /*passwordregex*/
|
|
5277
5255
|
2 && c && (T.password = new RegExp(c)), e.$$.dirty[0] & /*lang*/
|
|
5278
|
-
134217728 &&
|
|
5256
|
+
134217728 && s && we(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5279
5257
|
4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5280
|
-
268435458 && i && f &&
|
|
5281
|
-
536870914 && l && f &&
|
|
5282
|
-
1073741826 && u && f &&
|
|
5258
|
+
268435458 && i && f && wa(f, i), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5259
|
+
536870914 && l && f && va(f, l), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5260
|
+
1073741826 && u && f && ya(f, `${u}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5283
5261
|
1 && h && Xe();
|
|
5284
5262
|
}, [
|
|
5285
|
-
|
|
5263
|
+
a,
|
|
5286
5264
|
f,
|
|
5287
5265
|
me,
|
|
5288
5266
|
w,
|
|
5289
5267
|
y,
|
|
5290
5268
|
I,
|
|
5291
|
-
|
|
5269
|
+
R,
|
|
5292
5270
|
k,
|
|
5293
5271
|
D,
|
|
5294
5272
|
N,
|
|
@@ -5309,7 +5287,7 @@ function Vs(e, t, r) {
|
|
|
5309
5287
|
re,
|
|
5310
5288
|
ue,
|
|
5311
5289
|
be,
|
|
5312
|
-
|
|
5290
|
+
s,
|
|
5313
5291
|
i,
|
|
5314
5292
|
l,
|
|
5315
5293
|
u,
|
|
@@ -5317,7 +5295,7 @@ function Vs(e, t, r) {
|
|
|
5317
5295
|
c,
|
|
5318
5296
|
Ue,
|
|
5319
5297
|
Ze,
|
|
5320
|
-
|
|
5298
|
+
ae,
|
|
5321
5299
|
Qe,
|
|
5322
5300
|
ve,
|
|
5323
5301
|
J,
|
|
@@ -5334,14 +5312,14 @@ function Vs(e, t, r) {
|
|
|
5334
5312
|
j
|
|
5335
5313
|
];
|
|
5336
5314
|
}
|
|
5337
|
-
class
|
|
5315
|
+
class $a extends fn {
|
|
5338
5316
|
constructor(t) {
|
|
5339
|
-
super(),
|
|
5317
|
+
super(), hn(
|
|
5340
5318
|
this,
|
|
5341
5319
|
t,
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5320
|
+
Ua,
|
|
5321
|
+
Da,
|
|
5322
|
+
hr,
|
|
5345
5323
|
{
|
|
5346
5324
|
lang: 27,
|
|
5347
5325
|
simplepasswordvalidation: 0,
|
|
@@ -5351,7 +5329,7 @@ class js extends gn {
|
|
|
5351
5329
|
translationurl: 31,
|
|
5352
5330
|
passwordregex: 32
|
|
5353
5331
|
},
|
|
5354
|
-
|
|
5332
|
+
Pa,
|
|
5355
5333
|
[-1, -1]
|
|
5356
5334
|
);
|
|
5357
5335
|
}
|
|
@@ -5398,7 +5376,7 @@ class js extends gn {
|
|
|
5398
5376
|
this.$$set({ passwordregex: t }), ie();
|
|
5399
5377
|
}
|
|
5400
5378
|
}
|
|
5401
|
-
|
|
5379
|
+
cn($a, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5402
5380
|
export {
|
|
5403
|
-
|
|
5381
|
+
$a as P
|
|
5404
5382
|
};
|