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