@everymatrix/player-change-password-nd 1.99.9 → 1.99.11
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-BtJC13i8.js → PlayerChangePasswordNd--YU5MPaV.js} +1415 -1384
- package/components/PlayerChangePasswordNd-1fXHiisH.cjs +18 -0
- package/components/{PlayerChangePasswordNd-DMa4mIKY.js → PlayerChangePasswordNd-CJMAoExs.js} +1383 -1355
- 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-D_pUvs4P.cjs +0 -18
package/components/{PlayerChangePasswordNd-DMa4mIKY.js → PlayerChangePasswordNd-CJMAoExs.js}
RENAMED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function le() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function wr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function zt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function ke(e) {
|
|
10
|
+
e.forEach(wr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function $t(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function vr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function an(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function yr(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return le;
|
|
26
26
|
}
|
|
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 ln(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(yr(t, r));
|
|
32
32
|
}
|
|
33
33
|
function f(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function un(e, t, r) {
|
|
37
|
+
const n = hn(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const s = P("style");
|
|
40
|
-
s.id = t, s.textContent = r,
|
|
40
|
+
s.id = t, s.textContent = r, cn(n, s);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function hn(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,17 +50,17 @@ function Kr(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function cn(e, t) {
|
|
54
54
|
return f(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function B(e, t, r) {
|
|
61
61
|
e.insertBefore(t, r || null);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function S(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
66
|
function P(e) {
|
|
@@ -72,29 +72,29 @@ function g(e) {
|
|
|
72
72
|
function I(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function k() {
|
|
76
76
|
return I(" ");
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function _r() {
|
|
79
79
|
return I("");
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function q(e, t, r, n) {
|
|
82
82
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
83
83
|
}
|
|
84
84
|
function l(e, t, r) {
|
|
85
85
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function fn(e) {
|
|
88
88
|
return Array.from(e.childNodes);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function G(e, t) {
|
|
91
91
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
92
92
|
t);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Ce(e, t) {
|
|
95
95
|
e.value = t ?? "";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function dn(e) {
|
|
98
98
|
const t = {};
|
|
99
99
|
return e.childNodes.forEach(
|
|
100
100
|
/** @param {Element} node */
|
|
@@ -103,125 +103,125 @@ function rn(e) {
|
|
|
103
103
|
}
|
|
104
104
|
), t;
|
|
105
105
|
}
|
|
106
|
-
let
|
|
107
|
-
function
|
|
108
|
-
|
|
106
|
+
let Ze;
|
|
107
|
+
function Xe(e) {
|
|
108
|
+
Ze = e;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
if (!
|
|
110
|
+
function pn() {
|
|
111
|
+
if (!Ze)
|
|
112
112
|
throw new Error("Function called outside component initialization");
|
|
113
|
-
return
|
|
113
|
+
return Ze;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
|
|
115
|
+
function mn(e) {
|
|
116
|
+
pn().$$.on_mount.push(e);
|
|
117
117
|
}
|
|
118
|
-
const
|
|
119
|
-
let
|
|
120
|
-
const
|
|
121
|
-
let
|
|
122
|
-
function
|
|
123
|
-
|
|
118
|
+
const Ae = [], Ie = [];
|
|
119
|
+
let Me = [];
|
|
120
|
+
const Wt = [], gn = /* @__PURE__ */ Promise.resolve();
|
|
121
|
+
let Tt = !1;
|
|
122
|
+
function bn() {
|
|
123
|
+
Tt || (Tt = !0, gn.then(ae));
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
125
|
+
function Ct(e) {
|
|
126
|
+
Me.push(e);
|
|
127
127
|
}
|
|
128
|
-
const
|
|
129
|
-
let
|
|
130
|
-
function
|
|
131
|
-
if (
|
|
128
|
+
const bt = /* @__PURE__ */ new Set();
|
|
129
|
+
let Se = 0;
|
|
130
|
+
function ae() {
|
|
131
|
+
if (Se !== 0)
|
|
132
132
|
return;
|
|
133
|
-
const e =
|
|
133
|
+
const e = Ze;
|
|
134
134
|
do {
|
|
135
135
|
try {
|
|
136
|
-
for (;
|
|
137
|
-
const t =
|
|
138
|
-
|
|
136
|
+
for (; Se < Ae.length; ) {
|
|
137
|
+
const t = Ae[Se];
|
|
138
|
+
Se++, Xe(t), wn(t.$$);
|
|
139
139
|
}
|
|
140
140
|
} catch (t) {
|
|
141
|
-
throw
|
|
141
|
+
throw Ae.length = 0, Se = 0, t;
|
|
142
142
|
}
|
|
143
|
-
for (
|
|
144
|
-
|
|
145
|
-
for (let t = 0; t <
|
|
146
|
-
const r =
|
|
147
|
-
|
|
143
|
+
for (Xe(null), Ae.length = 0, Se = 0; Ie.length; )
|
|
144
|
+
Ie.pop()();
|
|
145
|
+
for (let t = 0; t < Me.length; t += 1) {
|
|
146
|
+
const r = Me[t];
|
|
147
|
+
bt.has(r) || (bt.add(r), r());
|
|
148
148
|
}
|
|
149
|
-
|
|
150
|
-
} while (
|
|
151
|
-
for (;
|
|
152
|
-
|
|
153
|
-
|
|
149
|
+
Me.length = 0;
|
|
150
|
+
} while (Ae.length);
|
|
151
|
+
for (; Wt.length; )
|
|
152
|
+
Wt.pop()();
|
|
153
|
+
Tt = !1, bt.clear(), Xe(e);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function wn(e) {
|
|
156
156
|
if (e.fragment !== null) {
|
|
157
|
-
e.update(),
|
|
157
|
+
e.update(), ke(e.before_update);
|
|
158
158
|
const t = e.dirty;
|
|
159
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
159
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ct);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function vn(e) {
|
|
163
163
|
const t = [], r = [];
|
|
164
|
-
|
|
164
|
+
Me.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Me = t;
|
|
165
165
|
}
|
|
166
|
-
const
|
|
167
|
-
function
|
|
168
|
-
e && e.i && (
|
|
166
|
+
const yn = /* @__PURE__ */ new Set();
|
|
167
|
+
function _n(e, t) {
|
|
168
|
+
e && e.i && (yn.delete(e), e.i(t));
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function Pn(e, t, r) {
|
|
171
171
|
const { fragment: n, after_update: s } = e.$$;
|
|
172
|
-
n && n.m(t, r),
|
|
173
|
-
const i = e.$$.on_mount.map(
|
|
174
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...i) :
|
|
175
|
-
}), s.forEach(
|
|
172
|
+
n && n.m(t, r), Ct(() => {
|
|
173
|
+
const i = e.$$.on_mount.map(wr).filter($t);
|
|
174
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...i) : ke(i), e.$$.on_mount = [];
|
|
175
|
+
}), s.forEach(Ct);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function xn(e, t) {
|
|
178
178
|
const r = e.$$;
|
|
179
|
-
r.fragment !== null && (
|
|
179
|
+
r.fragment !== null && (vn(r.after_update), ke(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
e.$$.dirty[0] === -1 && (
|
|
181
|
+
function En(e, t) {
|
|
182
|
+
e.$$.dirty[0] === -1 && (Ae.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
183
183
|
}
|
|
184
|
-
function
|
|
185
|
-
const
|
|
186
|
-
|
|
187
|
-
const
|
|
184
|
+
function Tn(e, t, r, n, s, i, o = null, a = [-1]) {
|
|
185
|
+
const h = Ze;
|
|
186
|
+
Xe(e);
|
|
187
|
+
const u = e.$$ = {
|
|
188
188
|
fragment: null,
|
|
189
189
|
ctx: [],
|
|
190
190
|
// state
|
|
191
191
|
props: i,
|
|
192
|
-
update:
|
|
192
|
+
update: le,
|
|
193
193
|
not_equal: s,
|
|
194
|
-
bound:
|
|
194
|
+
bound: zt(),
|
|
195
195
|
// lifecycle
|
|
196
196
|
on_mount: [],
|
|
197
197
|
on_destroy: [],
|
|
198
198
|
on_disconnect: [],
|
|
199
199
|
before_update: [],
|
|
200
200
|
after_update: [],
|
|
201
|
-
context: new Map(t.context || (
|
|
201
|
+
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
202
202
|
// everything else
|
|
203
|
-
callbacks:
|
|
204
|
-
dirty:
|
|
203
|
+
callbacks: zt(),
|
|
204
|
+
dirty: a,
|
|
205
205
|
skip_bound: !1,
|
|
206
|
-
root: t.target ||
|
|
206
|
+
root: t.target || h.$$.root
|
|
207
207
|
};
|
|
208
|
-
|
|
208
|
+
o && o(u.root);
|
|
209
209
|
let c = !1;
|
|
210
|
-
if (
|
|
211
|
-
const
|
|
212
|
-
return
|
|
213
|
-
}) : [],
|
|
210
|
+
if (u.ctx = r ? r(e, t.props || {}, (d, p, ...m) => {
|
|
211
|
+
const y = m.length ? m[0] : p;
|
|
212
|
+
return u.ctx && s(u.ctx[d], u.ctx[d] = y) && (!u.skip_bound && u.bound[d] && u.bound[d](y), c && En(e, d)), p;
|
|
213
|
+
}) : [], u.update(), c = !0, ke(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
214
214
|
if (t.hydrate) {
|
|
215
|
-
const d =
|
|
216
|
-
|
|
215
|
+
const d = fn(t.target);
|
|
216
|
+
u.fragment && u.fragment.l(d), d.forEach(S);
|
|
217
217
|
} else
|
|
218
|
-
|
|
219
|
-
t.intro &&
|
|
218
|
+
u.fragment && u.fragment.c();
|
|
219
|
+
t.intro && _n(e.$$.fragment), Pn(e, t.target, t.anchor), ae();
|
|
220
220
|
}
|
|
221
|
-
|
|
221
|
+
Xe(h);
|
|
222
222
|
}
|
|
223
|
-
let
|
|
224
|
-
typeof HTMLElement == "function" && (
|
|
223
|
+
let Pr;
|
|
224
|
+
typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
|
|
225
225
|
/** The Svelte component constructor */
|
|
226
226
|
$$ctor;
|
|
227
227
|
/** Slots */
|
|
@@ -269,23 +269,23 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
|
269
269
|
* @param {HTMLElement} target
|
|
270
270
|
* @param {HTMLElement} [anchor]
|
|
271
271
|
*/
|
|
272
|
-
m: function(
|
|
273
|
-
|
|
272
|
+
m: function(h, u) {
|
|
273
|
+
B(h, i, u);
|
|
274
274
|
},
|
|
275
|
-
d: function(
|
|
276
|
-
|
|
275
|
+
d: function(h) {
|
|
276
|
+
h && S(i);
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
};
|
|
280
280
|
};
|
|
281
281
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
282
282
|
return;
|
|
283
|
-
const t = {}, r =
|
|
283
|
+
const t = {}, r = dn(this);
|
|
284
284
|
for (const s of this.$$s)
|
|
285
285
|
s in r && (t[s] = [e(s)]);
|
|
286
286
|
for (const s of this.attributes) {
|
|
287
287
|
const i = this.$$g_p(s.name);
|
|
288
|
-
i in this.$$d || (this.$$d[i] =
|
|
288
|
+
i in this.$$d || (this.$$d[i] = st(i, s.value, this.$$p_d, "toProp"));
|
|
289
289
|
}
|
|
290
290
|
for (const s in this.$$p_d)
|
|
291
291
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
@@ -303,7 +303,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
|
303
303
|
this.$$r = !0;
|
|
304
304
|
for (const s in this.$$p_d)
|
|
305
305
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
306
|
-
const i =
|
|
306
|
+
const i = st(
|
|
307
307
|
s,
|
|
308
308
|
this.$$d[s],
|
|
309
309
|
this.$$p_d,
|
|
@@ -316,8 +316,8 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
|
316
316
|
this.$$c.$$.after_update.push(n), n();
|
|
317
317
|
for (const s in this.$$l)
|
|
318
318
|
for (const i of this.$$l[s]) {
|
|
319
|
-
const
|
|
320
|
-
this.$$l_u.set(i,
|
|
319
|
+
const o = this.$$c.$on(s, i);
|
|
320
|
+
this.$$l_u.set(i, o);
|
|
321
321
|
}
|
|
322
322
|
this.$$l = {};
|
|
323
323
|
}
|
|
@@ -325,7 +325,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
|
325
325
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
326
326
|
// and setting attributes through setAttribute etc, this is helpful
|
|
327
327
|
attributeChangedCallback(e, t, r) {
|
|
328
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
328
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = st(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
329
329
|
}
|
|
330
330
|
disconnectedCallback() {
|
|
331
331
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -338,7 +338,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
|
338
338
|
) || e;
|
|
339
339
|
}
|
|
340
340
|
});
|
|
341
|
-
function
|
|
341
|
+
function st(e, t, r, n) {
|
|
342
342
|
const s = r[e]?.type;
|
|
343
343
|
if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
344
344
|
return t;
|
|
@@ -367,36 +367,36 @@ function rt(e, t, r, n) {
|
|
|
367
367
|
return t;
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
let
|
|
370
|
+
function Cn(e, t, r, n, s, i) {
|
|
371
|
+
let o = class extends Pr {
|
|
372
372
|
constructor() {
|
|
373
373
|
super(e, r, s), this.$$p_d = t;
|
|
374
374
|
}
|
|
375
375
|
static get observedAttributes() {
|
|
376
376
|
return Object.keys(t).map(
|
|
377
|
-
(
|
|
377
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
378
378
|
);
|
|
379
379
|
}
|
|
380
380
|
};
|
|
381
|
-
return Object.keys(t).forEach((
|
|
382
|
-
Object.defineProperty(
|
|
381
|
+
return Object.keys(t).forEach((a) => {
|
|
382
|
+
Object.defineProperty(o.prototype, a, {
|
|
383
383
|
get() {
|
|
384
|
-
return this.$$c &&
|
|
384
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
385
385
|
},
|
|
386
|
-
set(
|
|
387
|
-
|
|
386
|
+
set(h) {
|
|
387
|
+
h = st(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
|
-
}), n.forEach((
|
|
391
|
-
Object.defineProperty(
|
|
390
|
+
}), n.forEach((a) => {
|
|
391
|
+
Object.defineProperty(o.prototype, a, {
|
|
392
392
|
get() {
|
|
393
|
-
return this.$$c?.[
|
|
393
|
+
return this.$$c?.[a];
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
}), e.element = /** @type {any} */
|
|
397
|
-
|
|
397
|
+
o, o;
|
|
398
398
|
}
|
|
399
|
-
class
|
|
399
|
+
class Sn {
|
|
400
400
|
/**
|
|
401
401
|
* ### PRIVATE API
|
|
402
402
|
*
|
|
@@ -415,7 +415,7 @@ class bn {
|
|
|
415
415
|
$$set = void 0;
|
|
416
416
|
/** @returns {void} */
|
|
417
417
|
$destroy() {
|
|
418
|
-
|
|
418
|
+
xn(this, 1), this.$destroy = le;
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
421
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -424,8 +424,8 @@ class bn {
|
|
|
424
424
|
* @returns {() => void}
|
|
425
425
|
*/
|
|
426
426
|
$on(t, r) {
|
|
427
|
-
if (
|
|
428
|
-
return
|
|
427
|
+
if (!$t(r))
|
|
428
|
+
return le;
|
|
429
429
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
430
430
|
return n.push(r), () => {
|
|
431
431
|
const s = n.indexOf(r);
|
|
@@ -437,11 +437,11 @@ class bn {
|
|
|
437
437
|
* @returns {void}
|
|
438
438
|
*/
|
|
439
439
|
$set(t) {
|
|
440
|
-
this.$$set && !
|
|
440
|
+
this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
const
|
|
444
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
443
|
+
const Bn = "4";
|
|
444
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
|
|
445
445
|
/*! *****************************************************************************
|
|
446
446
|
Copyright (c) Microsoft Corporation.
|
|
447
447
|
|
|
@@ -456,24 +456,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
456
456
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
457
457
|
PERFORMANCE OF THIS SOFTWARE.
|
|
458
458
|
***************************************************************************** */
|
|
459
|
-
var
|
|
460
|
-
return
|
|
459
|
+
var St = function(e, t) {
|
|
460
|
+
return St = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
461
461
|
r.__proto__ = n;
|
|
462
462
|
} || function(r, n) {
|
|
463
463
|
for (var s in n)
|
|
464
464
|
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
465
|
-
},
|
|
465
|
+
}, St(e, t);
|
|
466
466
|
};
|
|
467
|
-
function
|
|
467
|
+
function qe(e, t) {
|
|
468
468
|
if (typeof t != "function" && t !== null)
|
|
469
469
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
470
|
-
|
|
470
|
+
St(e, t);
|
|
471
471
|
function r() {
|
|
472
472
|
this.constructor = e;
|
|
473
473
|
}
|
|
474
474
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function Bt(e) {
|
|
477
477
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
478
478
|
if (r)
|
|
479
479
|
return r.call(e);
|
|
@@ -485,42 +485,42 @@ function Ct(e) {
|
|
|
485
485
|
};
|
|
486
486
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function At(e, t) {
|
|
489
489
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
490
490
|
if (!r)
|
|
491
491
|
return e;
|
|
492
|
-
var n = r.call(e), s, i = [],
|
|
492
|
+
var n = r.call(e), s, i = [], o;
|
|
493
493
|
try {
|
|
494
494
|
for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; )
|
|
495
495
|
i.push(s.value);
|
|
496
|
-
} catch (
|
|
497
|
-
|
|
496
|
+
} catch (a) {
|
|
497
|
+
o = { error: a };
|
|
498
498
|
} finally {
|
|
499
499
|
try {
|
|
500
500
|
s && !s.done && (r = n.return) && r.call(n);
|
|
501
501
|
} finally {
|
|
502
|
-
if (
|
|
503
|
-
throw
|
|
502
|
+
if (o)
|
|
503
|
+
throw o.error;
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
return i;
|
|
507
507
|
}
|
|
508
|
-
function
|
|
508
|
+
function Ht(e, t, r) {
|
|
509
509
|
if (arguments.length === 2)
|
|
510
510
|
for (var n = 0, s = t.length, i; n < s; n++)
|
|
511
511
|
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
512
512
|
return e.concat(i || t);
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function me(e) {
|
|
515
515
|
return typeof e == "function";
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function xr(e) {
|
|
518
518
|
var t = function(n) {
|
|
519
519
|
Error.call(n), n.stack = new Error().stack;
|
|
520
520
|
}, r = e(t);
|
|
521
521
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
522
522
|
}
|
|
523
|
-
var
|
|
523
|
+
var wt = xr(function(e) {
|
|
524
524
|
return function(r) {
|
|
525
525
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
526
526
|
` + r.map(function(n, s) {
|
|
@@ -529,13 +529,13 @@ var gt = yr(function(e) {
|
|
|
529
529
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
530
530
|
};
|
|
531
531
|
});
|
|
532
|
-
function
|
|
532
|
+
function It(e, t) {
|
|
533
533
|
if (e) {
|
|
534
534
|
var r = e.indexOf(t);
|
|
535
535
|
0 <= r && e.splice(r, 1);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
var
|
|
538
|
+
var ct = function() {
|
|
539
539
|
function e(t) {
|
|
540
540
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
541
541
|
}
|
|
@@ -543,47 +543,47 @@ var ut = function() {
|
|
|
543
543
|
var t, r, n, s, i;
|
|
544
544
|
if (!this.closed) {
|
|
545
545
|
this.closed = !0;
|
|
546
|
-
var
|
|
547
|
-
if (
|
|
548
|
-
if (this._parentage = null, Array.isArray(
|
|
546
|
+
var o = this._parentage;
|
|
547
|
+
if (o)
|
|
548
|
+
if (this._parentage = null, Array.isArray(o))
|
|
549
549
|
try {
|
|
550
|
-
for (var
|
|
551
|
-
var
|
|
552
|
-
|
|
550
|
+
for (var a = Bt(o), h = a.next(); !h.done; h = a.next()) {
|
|
551
|
+
var u = h.value;
|
|
552
|
+
u.remove(this);
|
|
553
553
|
}
|
|
554
|
-
} catch (
|
|
555
|
-
t = { error:
|
|
554
|
+
} catch (w) {
|
|
555
|
+
t = { error: w };
|
|
556
556
|
} finally {
|
|
557
557
|
try {
|
|
558
|
-
|
|
558
|
+
h && !h.done && (r = a.return) && r.call(a);
|
|
559
559
|
} finally {
|
|
560
560
|
if (t)
|
|
561
561
|
throw t.error;
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
else
|
|
565
|
-
|
|
565
|
+
o.remove(this);
|
|
566
566
|
var c = this.initialTeardown;
|
|
567
|
-
if (
|
|
567
|
+
if (me(c))
|
|
568
568
|
try {
|
|
569
569
|
c();
|
|
570
|
-
} catch (
|
|
571
|
-
i =
|
|
570
|
+
} catch (w) {
|
|
571
|
+
i = w instanceof wt ? w.errors : [w];
|
|
572
572
|
}
|
|
573
573
|
var d = this._finalizers;
|
|
574
574
|
if (d) {
|
|
575
575
|
this._finalizers = null;
|
|
576
576
|
try {
|
|
577
|
-
for (var p =
|
|
578
|
-
var
|
|
577
|
+
for (var p = Bt(d), m = p.next(); !m.done; m = p.next()) {
|
|
578
|
+
var y = m.value;
|
|
579
579
|
try {
|
|
580
|
-
|
|
581
|
-
} catch (
|
|
582
|
-
i = i ?? [],
|
|
580
|
+
Xt(y);
|
|
581
|
+
} catch (w) {
|
|
582
|
+
i = i ?? [], w instanceof wt ? i = Ht(Ht([], At(i)), At(w.errors)) : i.push(w);
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
} catch (
|
|
586
|
-
n = { error:
|
|
585
|
+
} catch (w) {
|
|
586
|
+
n = { error: w };
|
|
587
587
|
} finally {
|
|
588
588
|
try {
|
|
589
589
|
m && !m.done && (s = p.return) && s.call(p);
|
|
@@ -594,13 +594,13 @@ var ut = function() {
|
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
if (i)
|
|
597
|
-
throw new
|
|
597
|
+
throw new wt(i);
|
|
598
598
|
}
|
|
599
599
|
}, e.prototype.add = function(t) {
|
|
600
600
|
var r;
|
|
601
601
|
if (t && t !== this)
|
|
602
602
|
if (this.closed)
|
|
603
|
-
|
|
603
|
+
Xt(t);
|
|
604
604
|
else {
|
|
605
605
|
if (t instanceof e) {
|
|
606
606
|
if (t.closed || t._hasParent(this))
|
|
@@ -617,52 +617,52 @@ var ut = function() {
|
|
|
617
617
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
618
618
|
}, e.prototype._removeParent = function(t) {
|
|
619
619
|
var r = this._parentage;
|
|
620
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
620
|
+
r === t ? this._parentage = null : Array.isArray(r) && It(r, t);
|
|
621
621
|
}, e.prototype.remove = function(t) {
|
|
622
622
|
var r = this._finalizers;
|
|
623
|
-
r &&
|
|
623
|
+
r && It(r, t), t instanceof e && t._removeParent(this);
|
|
624
624
|
}, e.EMPTY = function() {
|
|
625
625
|
var t = new e();
|
|
626
626
|
return t.closed = !0, t;
|
|
627
627
|
}(), e;
|
|
628
|
-
}(),
|
|
629
|
-
function
|
|
630
|
-
return e instanceof
|
|
628
|
+
}(), Er = ct.EMPTY;
|
|
629
|
+
function Tr(e) {
|
|
630
|
+
return e instanceof ct || e && "closed" in e && me(e.remove) && me(e.add) && me(e.unsubscribe);
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
|
|
632
|
+
function Xt(e) {
|
|
633
|
+
me(e) ? e() : e.unsubscribe();
|
|
634
634
|
}
|
|
635
|
-
var
|
|
635
|
+
var An = {
|
|
636
636
|
Promise: void 0
|
|
637
|
-
},
|
|
637
|
+
}, Hn = {
|
|
638
638
|
setTimeout: function(e, t) {
|
|
639
639
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
640
640
|
r[n - 2] = arguments[n];
|
|
641
|
-
return setTimeout.apply(void 0,
|
|
641
|
+
return setTimeout.apply(void 0, Ht([e, t], At(r)));
|
|
642
642
|
},
|
|
643
643
|
clearTimeout: function(e) {
|
|
644
644
|
return clearTimeout(e);
|
|
645
645
|
},
|
|
646
646
|
delegate: void 0
|
|
647
647
|
};
|
|
648
|
-
function
|
|
649
|
-
|
|
648
|
+
function In(e) {
|
|
649
|
+
Hn.setTimeout(function() {
|
|
650
650
|
throw e;
|
|
651
651
|
});
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function Zt() {
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function it(e) {
|
|
656
656
|
e();
|
|
657
657
|
}
|
|
658
|
-
var
|
|
659
|
-
|
|
658
|
+
var Cr = function(e) {
|
|
659
|
+
qe(t, e);
|
|
660
660
|
function t(r) {
|
|
661
661
|
var n = e.call(this) || this;
|
|
662
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
662
|
+
return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = On, n;
|
|
663
663
|
}
|
|
664
664
|
return t.create = function(r, n, s) {
|
|
665
|
-
return new
|
|
665
|
+
return new Mt(r, n, s);
|
|
666
666
|
}, t.prototype.next = function(r) {
|
|
667
667
|
this.isStopped || this._next(r);
|
|
668
668
|
}, t.prototype.error = function(r) {
|
|
@@ -686,7 +686,7 @@ var Er = function(e) {
|
|
|
686
686
|
this.unsubscribe();
|
|
687
687
|
}
|
|
688
688
|
}, t;
|
|
689
|
-
}(
|
|
689
|
+
}(ct), Mn = function() {
|
|
690
690
|
function e(t) {
|
|
691
691
|
this.partialObserver = t;
|
|
692
692
|
}
|
|
@@ -696,7 +696,7 @@ var Er = function(e) {
|
|
|
696
696
|
try {
|
|
697
697
|
r.next(t);
|
|
698
698
|
} catch (n) {
|
|
699
|
-
|
|
699
|
+
rt(n);
|
|
700
700
|
}
|
|
701
701
|
}, e.prototype.error = function(t) {
|
|
702
702
|
var r = this.partialObserver;
|
|
@@ -704,56 +704,56 @@ var Er = function(e) {
|
|
|
704
704
|
try {
|
|
705
705
|
r.error(t);
|
|
706
706
|
} catch (n) {
|
|
707
|
-
|
|
707
|
+
rt(n);
|
|
708
708
|
}
|
|
709
709
|
else
|
|
710
|
-
|
|
710
|
+
rt(t);
|
|
711
711
|
}, e.prototype.complete = function() {
|
|
712
712
|
var t = this.partialObserver;
|
|
713
713
|
if (t.complete)
|
|
714
714
|
try {
|
|
715
715
|
t.complete();
|
|
716
716
|
} catch (r) {
|
|
717
|
-
|
|
717
|
+
rt(r);
|
|
718
718
|
}
|
|
719
719
|
}, e;
|
|
720
|
-
}(),
|
|
721
|
-
|
|
720
|
+
}(), Mt = function(e) {
|
|
721
|
+
qe(t, e);
|
|
722
722
|
function t(r, n, s) {
|
|
723
|
-
var i = e.call(this) || this,
|
|
724
|
-
return
|
|
723
|
+
var i = e.call(this) || this, o;
|
|
724
|
+
return me(r) || !r ? o = {
|
|
725
725
|
next: r ?? void 0,
|
|
726
726
|
error: n ?? void 0,
|
|
727
727
|
complete: s ?? void 0
|
|
728
|
-
} :
|
|
728
|
+
} : o = r, i.destination = new Mn(o), i;
|
|
729
729
|
}
|
|
730
730
|
return t;
|
|
731
|
-
}(
|
|
732
|
-
function
|
|
733
|
-
|
|
731
|
+
}(Cr);
|
|
732
|
+
function rt(e) {
|
|
733
|
+
In(e);
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function Nn(e) {
|
|
736
736
|
throw e;
|
|
737
737
|
}
|
|
738
|
-
var
|
|
738
|
+
var On = {
|
|
739
739
|
closed: !0,
|
|
740
|
-
next:
|
|
741
|
-
error:
|
|
742
|
-
complete:
|
|
743
|
-
},
|
|
740
|
+
next: Zt,
|
|
741
|
+
error: Nn,
|
|
742
|
+
complete: Zt
|
|
743
|
+
}, Rn = function() {
|
|
744
744
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
745
745
|
}();
|
|
746
|
-
function
|
|
746
|
+
function Ln(e) {
|
|
747
747
|
return e;
|
|
748
748
|
}
|
|
749
|
-
function
|
|
750
|
-
return e.length === 0 ?
|
|
749
|
+
function kn(e) {
|
|
750
|
+
return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
|
|
751
751
|
return e.reduce(function(n, s) {
|
|
752
752
|
return s(n);
|
|
753
753
|
}, r);
|
|
754
754
|
};
|
|
755
755
|
}
|
|
756
|
-
var
|
|
756
|
+
var Yt = function() {
|
|
757
757
|
function e(t) {
|
|
758
758
|
t && (this._subscribe = t);
|
|
759
759
|
}
|
|
@@ -761,10 +761,10 @@ var Wt = function() {
|
|
|
761
761
|
var r = new e();
|
|
762
762
|
return r.source = this, r.operator = t, r;
|
|
763
763
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
764
|
-
var s = this, i =
|
|
765
|
-
return
|
|
766
|
-
var
|
|
767
|
-
i.add(
|
|
764
|
+
var s = this, i = Un(t) ? t : new Mt(t, r, n);
|
|
765
|
+
return it(function() {
|
|
766
|
+
var o = s, a = o.operator, h = o.source;
|
|
767
|
+
i.add(a ? a.call(i, h) : h ? s._subscribe(i) : s._trySubscribe(i));
|
|
768
768
|
}), i;
|
|
769
769
|
}, e.prototype._trySubscribe = function(t) {
|
|
770
770
|
try {
|
|
@@ -774,37 +774,37 @@ var Wt = function() {
|
|
|
774
774
|
}
|
|
775
775
|
}, e.prototype.forEach = function(t, r) {
|
|
776
776
|
var n = this;
|
|
777
|
-
return r =
|
|
778
|
-
var
|
|
779
|
-
next: function(
|
|
777
|
+
return r = Qt(r), new r(function(s, i) {
|
|
778
|
+
var o = new Mt({
|
|
779
|
+
next: function(a) {
|
|
780
780
|
try {
|
|
781
|
-
t(
|
|
782
|
-
} catch (
|
|
783
|
-
i(
|
|
781
|
+
t(a);
|
|
782
|
+
} catch (h) {
|
|
783
|
+
i(h), o.unsubscribe();
|
|
784
784
|
}
|
|
785
785
|
},
|
|
786
786
|
error: i,
|
|
787
787
|
complete: s
|
|
788
788
|
});
|
|
789
|
-
n.subscribe(
|
|
789
|
+
n.subscribe(o);
|
|
790
790
|
});
|
|
791
791
|
}, e.prototype._subscribe = function(t) {
|
|
792
792
|
var r;
|
|
793
793
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
794
|
-
}, e.prototype[
|
|
794
|
+
}, e.prototype[Rn] = function() {
|
|
795
795
|
return this;
|
|
796
796
|
}, e.prototype.pipe = function() {
|
|
797
797
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
798
798
|
t[r] = arguments[r];
|
|
799
|
-
return
|
|
799
|
+
return kn(t)(this);
|
|
800
800
|
}, e.prototype.toPromise = function(t) {
|
|
801
801
|
var r = this;
|
|
802
|
-
return t =
|
|
802
|
+
return t = Qt(t), new t(function(n, s) {
|
|
803
803
|
var i;
|
|
804
|
-
r.subscribe(function(
|
|
805
|
-
return i =
|
|
806
|
-
}, function(
|
|
807
|
-
return s(
|
|
804
|
+
r.subscribe(function(o) {
|
|
805
|
+
return i = o;
|
|
806
|
+
}, function(o) {
|
|
807
|
+
return s(o);
|
|
808
808
|
}, function() {
|
|
809
809
|
return n(i);
|
|
810
810
|
});
|
|
@@ -813,48 +813,48 @@ var Wt = function() {
|
|
|
813
813
|
return new e(t);
|
|
814
814
|
}, e;
|
|
815
815
|
}();
|
|
816
|
-
function
|
|
816
|
+
function Qt(e) {
|
|
817
817
|
var t;
|
|
818
|
-
return (t = e ??
|
|
818
|
+
return (t = e ?? An.Promise) !== null && t !== void 0 ? t : Promise;
|
|
819
819
|
}
|
|
820
|
-
function
|
|
821
|
-
return e &&
|
|
820
|
+
function Fn(e) {
|
|
821
|
+
return e && me(e.next) && me(e.error) && me(e.complete);
|
|
822
822
|
}
|
|
823
|
-
function
|
|
824
|
-
return e && e instanceof
|
|
823
|
+
function Un(e) {
|
|
824
|
+
return e && e instanceof Cr || Fn(e) && Tr(e);
|
|
825
825
|
}
|
|
826
|
-
var
|
|
826
|
+
var Dn = xr(function(e) {
|
|
827
827
|
return function() {
|
|
828
828
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
829
829
|
};
|
|
830
|
-
}),
|
|
831
|
-
|
|
830
|
+
}), Sr = function(e) {
|
|
831
|
+
qe(t, e);
|
|
832
832
|
function t() {
|
|
833
833
|
var r = e.call(this) || this;
|
|
834
834
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
835
835
|
}
|
|
836
836
|
return t.prototype.lift = function(r) {
|
|
837
|
-
var n = new
|
|
837
|
+
var n = new qt(this, this);
|
|
838
838
|
return n.operator = r, n;
|
|
839
839
|
}, t.prototype._throwIfClosed = function() {
|
|
840
840
|
if (this.closed)
|
|
841
|
-
throw new
|
|
841
|
+
throw new Dn();
|
|
842
842
|
}, t.prototype.next = function(r) {
|
|
843
843
|
var n = this;
|
|
844
|
-
|
|
844
|
+
it(function() {
|
|
845
845
|
var s, i;
|
|
846
846
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
847
847
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
848
848
|
try {
|
|
849
|
-
for (var
|
|
850
|
-
var
|
|
851
|
-
|
|
849
|
+
for (var o = Bt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
850
|
+
var h = a.value;
|
|
851
|
+
h.next(r);
|
|
852
852
|
}
|
|
853
|
-
} catch (
|
|
854
|
-
s = { error:
|
|
853
|
+
} catch (u) {
|
|
854
|
+
s = { error: u };
|
|
855
855
|
} finally {
|
|
856
856
|
try {
|
|
857
|
-
|
|
857
|
+
a && !a.done && (i = o.return) && i.call(o);
|
|
858
858
|
} finally {
|
|
859
859
|
if (s)
|
|
860
860
|
throw s.error;
|
|
@@ -864,7 +864,7 @@ var Hn = yr(function(e) {
|
|
|
864
864
|
});
|
|
865
865
|
}, t.prototype.error = function(r) {
|
|
866
866
|
var n = this;
|
|
867
|
-
|
|
867
|
+
it(function() {
|
|
868
868
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
869
869
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
870
870
|
for (var s = n.observers; s.length; )
|
|
@@ -873,7 +873,7 @@ var Hn = yr(function(e) {
|
|
|
873
873
|
});
|
|
874
874
|
}, t.prototype.complete = function() {
|
|
875
875
|
var r = this;
|
|
876
|
-
|
|
876
|
+
it(function() {
|
|
877
877
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
878
878
|
r.isStopped = !0;
|
|
879
879
|
for (var n = r.observers; n.length; )
|
|
@@ -894,21 +894,21 @@ var Hn = yr(function(e) {
|
|
|
894
894
|
}, t.prototype._subscribe = function(r) {
|
|
895
895
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
896
896
|
}, t.prototype._innerSubscribe = function(r) {
|
|
897
|
-
var n = this, s = this, i = s.hasError,
|
|
898
|
-
return i ||
|
|
899
|
-
n.currentObservers = null,
|
|
897
|
+
var n = this, s = this, i = s.hasError, o = s.isStopped, a = s.observers;
|
|
898
|
+
return i || o ? Er : (this.currentObservers = null, a.push(r), new ct(function() {
|
|
899
|
+
n.currentObservers = null, It(a, r);
|
|
900
900
|
}));
|
|
901
901
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
902
|
-
var n = this, s = n.hasError, i = n.thrownError,
|
|
903
|
-
s ? r.error(i) :
|
|
902
|
+
var n = this, s = n.hasError, i = n.thrownError, o = n.isStopped;
|
|
903
|
+
s ? r.error(i) : o && r.complete();
|
|
904
904
|
}, t.prototype.asObservable = function() {
|
|
905
|
-
var r = new
|
|
905
|
+
var r = new Yt();
|
|
906
906
|
return r.source = this, r;
|
|
907
907
|
}, t.create = function(r, n) {
|
|
908
|
-
return new
|
|
908
|
+
return new qt(r, n);
|
|
909
909
|
}, t;
|
|
910
|
-
}(
|
|
911
|
-
|
|
910
|
+
}(Yt), qt = function(e) {
|
|
911
|
+
qe(t, e);
|
|
912
912
|
function t(r, n) {
|
|
913
913
|
var s = e.call(this) || this;
|
|
914
914
|
return s.destination = r, s.source = n, s;
|
|
@@ -924,208 +924,208 @@ var Hn = yr(function(e) {
|
|
|
924
924
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
925
925
|
}, t.prototype._subscribe = function(r) {
|
|
926
926
|
var n, s;
|
|
927
|
-
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s :
|
|
927
|
+
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : Er;
|
|
928
928
|
}, t;
|
|
929
|
-
}(
|
|
929
|
+
}(Sr), Br = {
|
|
930
930
|
now: function() {
|
|
931
|
-
return (
|
|
931
|
+
return (Br.delegate || Date).now();
|
|
932
932
|
},
|
|
933
933
|
delegate: void 0
|
|
934
|
-
},
|
|
935
|
-
|
|
934
|
+
}, Gn = function(e) {
|
|
935
|
+
qe(t, e);
|
|
936
936
|
function t(r, n, s) {
|
|
937
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s =
|
|
937
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = Br);
|
|
938
938
|
var i = e.call(this) || this;
|
|
939
939
|
return i._bufferSize = r, i._windowTime = n, i._timestampProvider = s, i._buffer = [], i._infiniteTimeWindow = !0, i._infiniteTimeWindow = n === 1 / 0, i._bufferSize = Math.max(1, r), i._windowTime = Math.max(1, n), i;
|
|
940
940
|
}
|
|
941
941
|
return t.prototype.next = function(r) {
|
|
942
|
-
var n = this, s = n.isStopped, i = n._buffer,
|
|
943
|
-
s || (i.push(r), !
|
|
942
|
+
var n = this, s = n.isStopped, i = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
|
|
943
|
+
s || (i.push(r), !o && i.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
944
944
|
}, t.prototype._subscribe = function(r) {
|
|
945
945
|
this._throwIfClosed(), this._trimBuffer();
|
|
946
|
-
for (var n = this._innerSubscribe(r), s = this, i = s._infiniteTimeWindow,
|
|
947
|
-
r.next(
|
|
946
|
+
for (var n = this._innerSubscribe(r), s = this, i = s._infiniteTimeWindow, o = s._buffer, a = o.slice(), h = 0; h < a.length && !r.closed; h += i ? 1 : 2)
|
|
947
|
+
r.next(a[h]);
|
|
948
948
|
return this._checkFinalizedStatuses(r), n;
|
|
949
949
|
}, t.prototype._trimBuffer = function() {
|
|
950
|
-
var r = this, n = r._bufferSize, s = r._timestampProvider, i = r._buffer,
|
|
951
|
-
if (n < 1 / 0 &&
|
|
952
|
-
for (var
|
|
953
|
-
|
|
954
|
-
|
|
950
|
+
var r = this, n = r._bufferSize, s = r._timestampProvider, i = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
|
|
951
|
+
if (n < 1 / 0 && a < i.length && i.splice(0, i.length - a), !o) {
|
|
952
|
+
for (var h = s.now(), u = 0, c = 1; c < i.length && i[c] <= h; c += 2)
|
|
953
|
+
u = c;
|
|
954
|
+
u && i.splice(0, u + 1);
|
|
955
955
|
}
|
|
956
956
|
}, t;
|
|
957
|
-
}(
|
|
958
|
-
const
|
|
959
|
-
if (
|
|
960
|
-
const r = new
|
|
961
|
-
|
|
957
|
+
}(Sr);
|
|
958
|
+
const Jt = [], Kt = {}, $n = (e, t = 0) => {
|
|
959
|
+
if (Jt.indexOf(e) == -1) {
|
|
960
|
+
const r = new Gn(t);
|
|
961
|
+
Kt[e] = r, Jt.push(e);
|
|
962
962
|
}
|
|
963
|
-
return
|
|
964
|
-
},
|
|
965
|
-
function
|
|
963
|
+
return Kt[e];
|
|
964
|
+
}, Be = [];
|
|
965
|
+
function jn(e, t) {
|
|
966
966
|
return {
|
|
967
|
-
subscribe:
|
|
967
|
+
subscribe: ft(e, t).subscribe
|
|
968
968
|
};
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function ft(e, t = le) {
|
|
971
971
|
let r;
|
|
972
972
|
const n = /* @__PURE__ */ new Set();
|
|
973
|
-
function s(
|
|
974
|
-
if (
|
|
975
|
-
const
|
|
976
|
-
for (const
|
|
977
|
-
|
|
978
|
-
if (
|
|
979
|
-
for (let
|
|
980
|
-
|
|
981
|
-
|
|
973
|
+
function s(a) {
|
|
974
|
+
if (vr(e, a) && (e = a, r)) {
|
|
975
|
+
const h = !Be.length;
|
|
976
|
+
for (const u of n)
|
|
977
|
+
u[1](), Be.push(u, e);
|
|
978
|
+
if (h) {
|
|
979
|
+
for (let u = 0; u < Be.length; u += 2)
|
|
980
|
+
Be[u][0](Be[u + 1]);
|
|
981
|
+
Be.length = 0;
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
984
|
}
|
|
985
|
-
function i(
|
|
986
|
-
s(
|
|
985
|
+
function i(a) {
|
|
986
|
+
s(a(e));
|
|
987
987
|
}
|
|
988
|
-
function a
|
|
989
|
-
const
|
|
990
|
-
return n.add(
|
|
991
|
-
n.delete(
|
|
988
|
+
function o(a, h = le) {
|
|
989
|
+
const u = [a, h];
|
|
990
|
+
return n.add(u), n.size === 1 && (r = t(s, i) || le), a(e), () => {
|
|
991
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
992
992
|
};
|
|
993
993
|
}
|
|
994
|
-
return { set: s, update: i, subscribe:
|
|
994
|
+
return { set: s, update: i, subscribe: o };
|
|
995
995
|
}
|
|
996
|
-
function
|
|
996
|
+
function Fe(e, t, r) {
|
|
997
997
|
const n = !Array.isArray(e), s = n ? [e] : e;
|
|
998
998
|
if (!s.every(Boolean))
|
|
999
999
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1000
1000
|
const i = t.length < 2;
|
|
1001
|
-
return
|
|
1002
|
-
let
|
|
1003
|
-
const
|
|
1004
|
-
let c = 0, d =
|
|
1001
|
+
return jn(r, (o, a) => {
|
|
1002
|
+
let h = !1;
|
|
1003
|
+
const u = [];
|
|
1004
|
+
let c = 0, d = le;
|
|
1005
1005
|
const p = () => {
|
|
1006
1006
|
if (c)
|
|
1007
1007
|
return;
|
|
1008
1008
|
d();
|
|
1009
|
-
const
|
|
1010
|
-
i ?
|
|
1009
|
+
const y = t(n ? u[0] : u, o, a);
|
|
1010
|
+
i ? o(y) : d = $t(y) ? y : le;
|
|
1011
1011
|
}, m = s.map(
|
|
1012
|
-
(
|
|
1013
|
-
|
|
1012
|
+
(y, w) => yr(
|
|
1013
|
+
y,
|
|
1014
1014
|
(E) => {
|
|
1015
|
-
|
|
1015
|
+
u[w] = E, c &= ~(1 << w), h && p();
|
|
1016
1016
|
},
|
|
1017
1017
|
() => {
|
|
1018
|
-
c |= 1 <<
|
|
1018
|
+
c |= 1 << w;
|
|
1019
1019
|
}
|
|
1020
1020
|
)
|
|
1021
1021
|
);
|
|
1022
|
-
return
|
|
1023
|
-
|
|
1022
|
+
return h = !0, p(), function() {
|
|
1023
|
+
ke(m), d(), h = !1;
|
|
1024
1024
|
};
|
|
1025
1025
|
});
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function Vn(e) {
|
|
1028
1028
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1029
1029
|
}
|
|
1030
|
-
var
|
|
1031
|
-
return
|
|
1030
|
+
var zn = function(t) {
|
|
1031
|
+
return Wn(t) && !Xn(t);
|
|
1032
1032
|
};
|
|
1033
|
-
function
|
|
1033
|
+
function Wn(e) {
|
|
1034
1034
|
return !!e && typeof e == "object";
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function Xn(e) {
|
|
1037
1037
|
var t = Object.prototype.toString.call(e);
|
|
1038
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1038
|
+
return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
|
|
1039
1039
|
}
|
|
1040
|
-
var
|
|
1041
|
-
function
|
|
1042
|
-
return e.$$typeof ===
|
|
1040
|
+
var Zn = typeof Symbol == "function" && Symbol.for, Yn = Zn ? Symbol.for("react.element") : 60103;
|
|
1041
|
+
function Qn(e) {
|
|
1042
|
+
return e.$$typeof === Yn;
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1044
|
+
function qn(e) {
|
|
1045
1045
|
return Array.isArray(e) ? [] : {};
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1048
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1047
|
+
function Ye(e, t) {
|
|
1048
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ne(qn(e), e, t) : e;
|
|
1049
1049
|
}
|
|
1050
|
-
function
|
|
1050
|
+
function Jn(e, t, r) {
|
|
1051
1051
|
return e.concat(t).map(function(n) {
|
|
1052
|
-
return
|
|
1052
|
+
return Ye(n, r);
|
|
1053
1053
|
});
|
|
1054
1054
|
}
|
|
1055
|
-
function
|
|
1055
|
+
function Kn(e, t) {
|
|
1056
1056
|
if (!t.customMerge)
|
|
1057
|
-
return
|
|
1057
|
+
return Ne;
|
|
1058
1058
|
var r = t.customMerge(e);
|
|
1059
|
-
return typeof r == "function" ? r :
|
|
1059
|
+
return typeof r == "function" ? r : Ne;
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function es(e) {
|
|
1062
1062
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1063
1063
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1064
1064
|
}) : [];
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1067
|
-
return Object.keys(e).concat(
|
|
1066
|
+
function er(e) {
|
|
1067
|
+
return Object.keys(e).concat(es(e));
|
|
1068
1068
|
}
|
|
1069
|
-
function
|
|
1069
|
+
function Ar(e, t) {
|
|
1070
1070
|
try {
|
|
1071
1071
|
return t in e;
|
|
1072
1072
|
} catch {
|
|
1073
1073
|
return !1;
|
|
1074
1074
|
}
|
|
1075
1075
|
}
|
|
1076
|
-
function
|
|
1077
|
-
return
|
|
1076
|
+
function ts(e, t) {
|
|
1077
|
+
return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1079
|
+
function rs(e, t, r) {
|
|
1080
1080
|
var n = {};
|
|
1081
|
-
return r.isMergeableObject(e) &&
|
|
1082
|
-
n[s] =
|
|
1083
|
-
}),
|
|
1084
|
-
|
|
1081
|
+
return r.isMergeableObject(e) && er(e).forEach(function(s) {
|
|
1082
|
+
n[s] = Ye(e[s], r);
|
|
1083
|
+
}), er(t).forEach(function(s) {
|
|
1084
|
+
ts(e, s) || (Ar(e, s) && r.isMergeableObject(t[s]) ? n[s] = Kn(s, r)(e[s], t[s], r) : n[s] = Ye(t[s], r));
|
|
1085
1085
|
}), n;
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1088
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1087
|
+
function Ne(e, t, r) {
|
|
1088
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = Ye;
|
|
1089
1089
|
var n = Array.isArray(t), s = Array.isArray(e), i = n === s;
|
|
1090
|
-
return i ? n ? r.arrayMerge(e, t, r) :
|
|
1090
|
+
return i ? n ? r.arrayMerge(e, t, r) : rs(e, t, r) : Ye(t, r);
|
|
1091
1091
|
}
|
|
1092
|
-
|
|
1092
|
+
Ne.all = function(t, r) {
|
|
1093
1093
|
if (!Array.isArray(t))
|
|
1094
1094
|
throw new Error("first argument should be an array");
|
|
1095
1095
|
return t.reduce(function(n, s) {
|
|
1096
|
-
return
|
|
1096
|
+
return Ne(n, s, r);
|
|
1097
1097
|
}, {});
|
|
1098
1098
|
};
|
|
1099
|
-
var
|
|
1100
|
-
const
|
|
1101
|
-
var
|
|
1102
|
-
return
|
|
1099
|
+
var ns = Ne, ss = ns;
|
|
1100
|
+
const is = /* @__PURE__ */ Vn(ss);
|
|
1101
|
+
var Nt = function(e, t) {
|
|
1102
|
+
return Nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1103
1103
|
r.__proto__ = n;
|
|
1104
1104
|
} || function(r, n) {
|
|
1105
1105
|
for (var s in n)
|
|
1106
1106
|
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
1107
|
-
},
|
|
1107
|
+
}, Nt(e, t);
|
|
1108
1108
|
};
|
|
1109
|
-
function
|
|
1109
|
+
function dt(e, t) {
|
|
1110
1110
|
if (typeof t != "function" && t !== null)
|
|
1111
1111
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1112
|
-
|
|
1112
|
+
Nt(e, t);
|
|
1113
1113
|
function r() {
|
|
1114
1114
|
this.constructor = e;
|
|
1115
1115
|
}
|
|
1116
1116
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1117
1117
|
}
|
|
1118
|
-
var
|
|
1119
|
-
return
|
|
1118
|
+
var ce = function() {
|
|
1119
|
+
return ce = Object.assign || function(t) {
|
|
1120
1120
|
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1121
1121
|
r = arguments[n];
|
|
1122
1122
|
for (var i in r)
|
|
1123
1123
|
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1124
1124
|
}
|
|
1125
1125
|
return t;
|
|
1126
|
-
},
|
|
1126
|
+
}, ce.apply(this, arguments);
|
|
1127
1127
|
};
|
|
1128
|
-
function
|
|
1128
|
+
function os(e, t) {
|
|
1129
1129
|
var r = {};
|
|
1130
1130
|
for (var n in e)
|
|
1131
1131
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1134,43 +1134,43 @@ function Qn(e, t) {
|
|
|
1134
1134
|
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
1135
1135
|
return r;
|
|
1136
1136
|
}
|
|
1137
|
-
function
|
|
1137
|
+
function vt(e, t, r) {
|
|
1138
1138
|
if (r || arguments.length === 2)
|
|
1139
1139
|
for (var n = 0, s = t.length, i; n < s; n++)
|
|
1140
1140
|
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
1141
1141
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1144
|
-
var r = t && t.cache ? t.cache :
|
|
1143
|
+
function yt(e, t) {
|
|
1144
|
+
var r = t && t.cache ? t.cache : ds, n = t && t.serializer ? t.serializer : cs, s = t && t.strategy ? t.strategy : us;
|
|
1145
1145
|
return s(e, {
|
|
1146
1146
|
cache: r,
|
|
1147
1147
|
serializer: n
|
|
1148
1148
|
});
|
|
1149
1149
|
}
|
|
1150
|
-
function
|
|
1150
|
+
function as(e) {
|
|
1151
1151
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1152
1152
|
}
|
|
1153
|
-
function
|
|
1154
|
-
var s =
|
|
1153
|
+
function ls(e, t, r, n) {
|
|
1154
|
+
var s = as(n) ? n : r(n), i = t.get(s);
|
|
1155
1155
|
return typeof i > "u" && (i = e.call(this, n), t.set(s, i)), i;
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1157
|
+
function Hr(e, t, r) {
|
|
1158
1158
|
var n = Array.prototype.slice.call(arguments, 3), s = r(n), i = t.get(s);
|
|
1159
1159
|
return typeof i > "u" && (i = e.apply(this, n), t.set(s, i)), i;
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1161
|
+
function Ir(e, t, r, n, s) {
|
|
1162
1162
|
return r.bind(t, e, n, s);
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1165
|
-
var r = e.length === 1 ?
|
|
1166
|
-
return
|
|
1164
|
+
function us(e, t) {
|
|
1165
|
+
var r = e.length === 1 ? ls : Hr;
|
|
1166
|
+
return Ir(e, this, r, t.cache.create(), t.serializer);
|
|
1167
1167
|
}
|
|
1168
|
-
function
|
|
1169
|
-
return
|
|
1168
|
+
function hs(e, t) {
|
|
1169
|
+
return Ir(e, this, Hr, t.cache.create(), t.serializer);
|
|
1170
1170
|
}
|
|
1171
|
-
var
|
|
1171
|
+
var cs = function() {
|
|
1172
1172
|
return JSON.stringify(arguments);
|
|
1173
|
-
},
|
|
1173
|
+
}, fs = (
|
|
1174
1174
|
/** @class */
|
|
1175
1175
|
function() {
|
|
1176
1176
|
function e() {
|
|
@@ -1182,21 +1182,21 @@ var ts = function() {
|
|
|
1182
1182
|
this.cache[t] = r;
|
|
1183
1183
|
}, e;
|
|
1184
1184
|
}()
|
|
1185
|
-
),
|
|
1185
|
+
), ds = {
|
|
1186
1186
|
create: function() {
|
|
1187
|
-
return new
|
|
1187
|
+
return new fs();
|
|
1188
1188
|
}
|
|
1189
|
-
},
|
|
1190
|
-
variadic:
|
|
1191
|
-
},
|
|
1192
|
-
return
|
|
1189
|
+
}, _t = {
|
|
1190
|
+
variadic: hs
|
|
1191
|
+
}, lt = function() {
|
|
1192
|
+
return lt = Object.assign || function(t) {
|
|
1193
1193
|
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1194
1194
|
r = arguments[n];
|
|
1195
1195
|
for (var i in r)
|
|
1196
1196
|
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1197
1197
|
}
|
|
1198
1198
|
return t;
|
|
1199
|
-
},
|
|
1199
|
+
}, lt.apply(this, arguments);
|
|
1200
1200
|
};
|
|
1201
1201
|
var T;
|
|
1202
1202
|
(function(e) {
|
|
@@ -1206,47 +1206,47 @@ var N;
|
|
|
1206
1206
|
(function(e) {
|
|
1207
1207
|
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";
|
|
1208
1208
|
})(N || (N = {}));
|
|
1209
|
-
var
|
|
1209
|
+
var Oe;
|
|
1210
1210
|
(function(e) {
|
|
1211
1211
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1212
|
-
})(
|
|
1213
|
-
function
|
|
1212
|
+
})(Oe || (Oe = {}));
|
|
1213
|
+
function tr(e) {
|
|
1214
1214
|
return e.type === N.literal;
|
|
1215
1215
|
}
|
|
1216
|
-
function
|
|
1216
|
+
function ps(e) {
|
|
1217
1217
|
return e.type === N.argument;
|
|
1218
1218
|
}
|
|
1219
|
-
function
|
|
1219
|
+
function Mr(e) {
|
|
1220
1220
|
return e.type === N.number;
|
|
1221
1221
|
}
|
|
1222
|
-
function
|
|
1222
|
+
function Nr(e) {
|
|
1223
1223
|
return e.type === N.date;
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function Or(e) {
|
|
1226
1226
|
return e.type === N.time;
|
|
1227
1227
|
}
|
|
1228
|
-
function
|
|
1228
|
+
function Rr(e) {
|
|
1229
1229
|
return e.type === N.select;
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function Lr(e) {
|
|
1232
1232
|
return e.type === N.plural;
|
|
1233
1233
|
}
|
|
1234
|
-
function
|
|
1234
|
+
function ms(e) {
|
|
1235
1235
|
return e.type === N.pound;
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1237
|
+
function kr(e) {
|
|
1238
1238
|
return e.type === N.tag;
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1241
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1240
|
+
function Fr(e) {
|
|
1241
|
+
return !!(e && typeof e == "object" && e.type === Oe.number);
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1243
|
+
function Ot(e) {
|
|
1244
|
+
return !!(e && typeof e == "object" && e.type === Oe.dateTime);
|
|
1245
1245
|
}
|
|
1246
|
-
var
|
|
1247
|
-
function
|
|
1246
|
+
var Ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gs = /(?:[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;
|
|
1247
|
+
function bs(e) {
|
|
1248
1248
|
var t = {};
|
|
1249
|
-
return e.replace(
|
|
1249
|
+
return e.replace(gs, function(r) {
|
|
1250
1250
|
var n = r.length;
|
|
1251
1251
|
switch (r[0]) {
|
|
1252
1252
|
case "G":
|
|
@@ -1345,36 +1345,36 @@ var L = function() {
|
|
|
1345
1345
|
return t;
|
|
1346
1346
|
}, L.apply(this, arguments);
|
|
1347
1347
|
};
|
|
1348
|
-
var
|
|
1349
|
-
function
|
|
1348
|
+
var ws = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1349
|
+
function vs(e) {
|
|
1350
1350
|
if (e.length === 0)
|
|
1351
1351
|
throw new Error("Number skeleton cannot be empty");
|
|
1352
|
-
for (var t = e.split(
|
|
1352
|
+
for (var t = e.split(ws).filter(function(p) {
|
|
1353
1353
|
return p.length > 0;
|
|
1354
1354
|
}), r = [], n = 0, s = t; n < s.length; n++) {
|
|
1355
|
-
var i = s[n],
|
|
1356
|
-
if (
|
|
1355
|
+
var i = s[n], o = i.split("/");
|
|
1356
|
+
if (o.length === 0)
|
|
1357
1357
|
throw new Error("Invalid number skeleton");
|
|
1358
|
-
for (var
|
|
1359
|
-
var d = c[
|
|
1358
|
+
for (var a = o[0], h = o.slice(1), u = 0, c = h; u < c.length; u++) {
|
|
1359
|
+
var d = c[u];
|
|
1360
1360
|
if (d.length === 0)
|
|
1361
1361
|
throw new Error("Invalid number skeleton");
|
|
1362
1362
|
}
|
|
1363
|
-
r.push({ stem:
|
|
1363
|
+
r.push({ stem: a, options: h });
|
|
1364
1364
|
}
|
|
1365
1365
|
return r;
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1367
|
+
function ys(e) {
|
|
1368
1368
|
return e.replace(/^(.*?)-/, "");
|
|
1369
1369
|
}
|
|
1370
|
-
var
|
|
1371
|
-
function
|
|
1370
|
+
var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dr = /^(@+)?(\+|#+)?[rs]?$/g, _s = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
|
|
1371
|
+
function nr(e) {
|
|
1372
1372
|
var t = {};
|
|
1373
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1373
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dr, function(r, n, s) {
|
|
1374
1374
|
return typeof s != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : s === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof s == "string" ? s.length : 0)), "";
|
|
1375
1375
|
}), t;
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function $r(e) {
|
|
1378
1378
|
switch (e) {
|
|
1379
1379
|
case "sign-auto":
|
|
1380
1380
|
return {
|
|
@@ -1414,7 +1414,7 @@ function Dr(e) {
|
|
|
1414
1414
|
};
|
|
1415
1415
|
}
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function Ps(e) {
|
|
1418
1418
|
var t;
|
|
1419
1419
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1420
1420
|
notation: "engineering"
|
|
@@ -1422,17 +1422,17 @@ function fs(e) {
|
|
|
1422
1422
|
notation: "scientific"
|
|
1423
1423
|
}, e = e.slice(1)), t) {
|
|
1424
1424
|
var r = e.slice(0, 2);
|
|
1425
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1425
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
|
|
1426
1426
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1427
1427
|
t.minimumIntegerDigits = e.length;
|
|
1428
1428
|
}
|
|
1429
1429
|
return t;
|
|
1430
1430
|
}
|
|
1431
|
-
function
|
|
1432
|
-
var t = {}, r =
|
|
1431
|
+
function sr(e) {
|
|
1432
|
+
var t = {}, r = $r(e);
|
|
1433
1433
|
return r || t;
|
|
1434
1434
|
}
|
|
1435
|
-
function
|
|
1435
|
+
function xs(e) {
|
|
1436
1436
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1437
1437
|
var s = n[r];
|
|
1438
1438
|
switch (s.stem) {
|
|
@@ -1456,7 +1456,7 @@ function ds(e) {
|
|
|
1456
1456
|
continue;
|
|
1457
1457
|
case "measure-unit":
|
|
1458
1458
|
case "unit":
|
|
1459
|
-
t.style = "unit", t.unit =
|
|
1459
|
+
t.style = "unit", t.unit = ys(s.options[0]);
|
|
1460
1460
|
continue;
|
|
1461
1461
|
case "compact-short":
|
|
1462
1462
|
case "K":
|
|
@@ -1467,13 +1467,13 @@ function ds(e) {
|
|
|
1467
1467
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1468
1468
|
continue;
|
|
1469
1469
|
case "scientific":
|
|
1470
|
-
t = L(L(L({}, t), { notation: "scientific" }), s.options.reduce(function(
|
|
1471
|
-
return L(L({},
|
|
1470
|
+
t = L(L(L({}, t), { notation: "scientific" }), s.options.reduce(function(h, u) {
|
|
1471
|
+
return L(L({}, h), sr(u));
|
|
1472
1472
|
}, {}));
|
|
1473
1473
|
continue;
|
|
1474
1474
|
case "engineering":
|
|
1475
|
-
t = L(L(L({}, t), { notation: "engineering" }), s.options.reduce(function(
|
|
1476
|
-
return L(L({},
|
|
1475
|
+
t = L(L(L({}, t), { notation: "engineering" }), s.options.reduce(function(h, u) {
|
|
1476
|
+
return L(L({}, h), sr(u));
|
|
1477
1477
|
}, {}));
|
|
1478
1478
|
continue;
|
|
1479
1479
|
case "notation-simple":
|
|
@@ -1518,8 +1518,8 @@ function ds(e) {
|
|
|
1518
1518
|
case "integer-width":
|
|
1519
1519
|
if (s.options.length > 1)
|
|
1520
1520
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1521
|
-
s.options[0].replace(
|
|
1522
|
-
if (
|
|
1521
|
+
s.options[0].replace(_s, function(h, u, c, d, p, m) {
|
|
1522
|
+
if (u)
|
|
1523
1523
|
t.minimumIntegerDigits = c.length;
|
|
1524
1524
|
else {
|
|
1525
1525
|
if (d && p)
|
|
@@ -1531,32 +1531,32 @@ function ds(e) {
|
|
|
1531
1531
|
});
|
|
1532
1532
|
continue;
|
|
1533
1533
|
}
|
|
1534
|
-
if (
|
|
1534
|
+
if (Gr.test(s.stem)) {
|
|
1535
1535
|
t.minimumIntegerDigits = s.stem.length;
|
|
1536
1536
|
continue;
|
|
1537
1537
|
}
|
|
1538
|
-
if (
|
|
1538
|
+
if (rr.test(s.stem)) {
|
|
1539
1539
|
if (s.options.length > 1)
|
|
1540
1540
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1541
|
-
s.stem.replace(
|
|
1542
|
-
return c === "*" ? t.minimumFractionDigits =
|
|
1541
|
+
s.stem.replace(rr, function(h, u, c, d, p, m) {
|
|
1542
|
+
return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1543
1543
|
});
|
|
1544
1544
|
var i = s.options[0];
|
|
1545
|
-
i === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = L(L({}, t),
|
|
1545
|
+
i === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = L(L({}, t), nr(i)));
|
|
1546
1546
|
continue;
|
|
1547
1547
|
}
|
|
1548
|
-
if (
|
|
1549
|
-
t = L(L({}, t),
|
|
1548
|
+
if (Dr.test(s.stem)) {
|
|
1549
|
+
t = L(L({}, t), nr(s.stem));
|
|
1550
1550
|
continue;
|
|
1551
1551
|
}
|
|
1552
|
-
var
|
|
1553
|
-
a && (t = L(L({}, t), a));
|
|
1554
|
-
var o = fs(s.stem);
|
|
1552
|
+
var o = $r(s.stem);
|
|
1555
1553
|
o && (t = L(L({}, t), o));
|
|
1554
|
+
var a = Ps(s.stem);
|
|
1555
|
+
a && (t = L(L({}, t), a));
|
|
1556
1556
|
}
|
|
1557
1557
|
return t;
|
|
1558
1558
|
}
|
|
1559
|
-
var
|
|
1559
|
+
var nt = {
|
|
1560
1560
|
"001": [
|
|
1561
1561
|
"H",
|
|
1562
1562
|
"h"
|
|
@@ -2971,23 +2971,23 @@ var tt = {
|
|
|
2971
2971
|
"h"
|
|
2972
2972
|
]
|
|
2973
2973
|
};
|
|
2974
|
-
function
|
|
2974
|
+
function Es(e, t) {
|
|
2975
2975
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2976
2976
|
var s = e.charAt(n);
|
|
2977
2977
|
if (s === "j") {
|
|
2978
2978
|
for (var i = 0; n + 1 < e.length && e.charAt(n + 1) === s; )
|
|
2979
2979
|
i++, n++;
|
|
2980
|
-
var
|
|
2981
|
-
for ((
|
|
2982
|
-
r +=
|
|
2983
|
-
for (;
|
|
2984
|
-
r =
|
|
2980
|
+
var o = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), h = "a", u = Ts(t);
|
|
2981
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2982
|
+
r += h;
|
|
2983
|
+
for (; o-- > 0; )
|
|
2984
|
+
r = u + r;
|
|
2985
2985
|
} else
|
|
2986
2986
|
s === "J" ? r += "H" : r += s;
|
|
2987
2987
|
}
|
|
2988
2988
|
return r;
|
|
2989
2989
|
}
|
|
2990
|
-
function
|
|
2990
|
+
function Ts(e) {
|
|
2991
2991
|
var t = e.hourCycle;
|
|
2992
2992
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2993
2993
|
e.hourCycles && // @ts-ignore
|
|
@@ -3006,23 +3006,23 @@ function ms(e) {
|
|
|
3006
3006
|
}
|
|
3007
3007
|
var r = e.language, n;
|
|
3008
3008
|
r !== "root" && (n = e.maximize().region);
|
|
3009
|
-
var s =
|
|
3009
|
+
var s = nt[n || ""] || nt[r || ""] || nt["".concat(r, "-001")] || nt["001"];
|
|
3010
3010
|
return s[0];
|
|
3011
3011
|
}
|
|
3012
|
-
var
|
|
3012
|
+
var Pt, Cs = new RegExp("^".concat(Ur.source, "*")), Ss = new RegExp("".concat(Ur.source, "*$"));
|
|
3013
3013
|
function C(e, t) {
|
|
3014
3014
|
return { start: e, end: t };
|
|
3015
3015
|
}
|
|
3016
|
-
var
|
|
3016
|
+
var Bs = !!String.prototype.startsWith && "_a".startsWith("a", 1), As = !!String.fromCodePoint, Hs = !!Object.fromEntries, Is = !!String.prototype.codePointAt, Ms = !!String.prototype.trimStart, Ns = !!String.prototype.trimEnd, Os = !!Number.isSafeInteger, Rs = Os ? Number.isSafeInteger : function(e) {
|
|
3017
3017
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3018
|
-
},
|
|
3018
|
+
}, Rt = !0;
|
|
3019
3019
|
try {
|
|
3020
|
-
var
|
|
3021
|
-
|
|
3020
|
+
var Ls = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3021
|
+
Rt = ((Pt = Ls.exec("a")) === null || Pt === void 0 ? void 0 : Pt[0]) === "a";
|
|
3022
3022
|
} catch {
|
|
3023
|
-
|
|
3023
|
+
Rt = !1;
|
|
3024
3024
|
}
|
|
3025
|
-
var
|
|
3025
|
+
var ir = Bs ? (
|
|
3026
3026
|
// Native
|
|
3027
3027
|
function(t, r, n) {
|
|
3028
3028
|
return t.startsWith(r, n);
|
|
@@ -3032,31 +3032,31 @@ var rr = ws ? (
|
|
|
3032
3032
|
function(t, r, n) {
|
|
3033
3033
|
return t.slice(n, n + r.length) === r;
|
|
3034
3034
|
}
|
|
3035
|
-
),
|
|
3035
|
+
), Lt = As ? String.fromCodePoint : (
|
|
3036
3036
|
// IE11
|
|
3037
3037
|
function() {
|
|
3038
3038
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3039
3039
|
t[r] = arguments[r];
|
|
3040
|
-
for (var n = "", s = t.length, i = 0,
|
|
3041
|
-
if (
|
|
3042
|
-
throw RangeError(
|
|
3043
|
-
n +=
|
|
3040
|
+
for (var n = "", s = t.length, i = 0, o; s > i; ) {
|
|
3041
|
+
if (o = t[i++], o > 1114111)
|
|
3042
|
+
throw RangeError(o + " is not a valid code point");
|
|
3043
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
3044
3044
|
}
|
|
3045
3045
|
return n;
|
|
3046
3046
|
}
|
|
3047
|
-
),
|
|
3047
|
+
), or = (
|
|
3048
3048
|
// native
|
|
3049
|
-
|
|
3049
|
+
Hs ? Object.fromEntries : (
|
|
3050
3050
|
// Ponyfill
|
|
3051
3051
|
function(t) {
|
|
3052
3052
|
for (var r = {}, n = 0, s = t; n < s.length; n++) {
|
|
3053
|
-
var i = s[n],
|
|
3054
|
-
r[
|
|
3053
|
+
var i = s[n], o = i[0], a = i[1];
|
|
3054
|
+
r[o] = a;
|
|
3055
3055
|
}
|
|
3056
3056
|
return r;
|
|
3057
3057
|
}
|
|
3058
3058
|
)
|
|
3059
|
-
),
|
|
3059
|
+
), jr = Is ? (
|
|
3060
3060
|
// Native
|
|
3061
3061
|
function(t, r) {
|
|
3062
3062
|
return t.codePointAt(r);
|
|
@@ -3070,7 +3070,7 @@ var rr = ws ? (
|
|
|
3070
3070
|
return s < 55296 || s > 56319 || r + 1 === n || (i = t.charCodeAt(r + 1)) < 56320 || i > 57343 ? s : (s - 55296 << 10) + (i - 56320) + 65536;
|
|
3071
3071
|
}
|
|
3072
3072
|
}
|
|
3073
|
-
),
|
|
3073
|
+
), ks = Ms ? (
|
|
3074
3074
|
// Native
|
|
3075
3075
|
function(t) {
|
|
3076
3076
|
return t.trimStart();
|
|
@@ -3078,9 +3078,9 @@ var rr = ws ? (
|
|
|
3078
3078
|
) : (
|
|
3079
3079
|
// Ponyfill
|
|
3080
3080
|
function(t) {
|
|
3081
|
-
return t.replace(
|
|
3081
|
+
return t.replace(Cs, "");
|
|
3082
3082
|
}
|
|
3083
|
-
),
|
|
3083
|
+
), Fs = Ns ? (
|
|
3084
3084
|
// Native
|
|
3085
3085
|
function(t) {
|
|
3086
3086
|
return t.trimEnd();
|
|
@@ -3088,32 +3088,32 @@ var rr = ws ? (
|
|
|
3088
3088
|
) : (
|
|
3089
3089
|
// Ponyfill
|
|
3090
3090
|
function(t) {
|
|
3091
|
-
return t.replace(
|
|
3091
|
+
return t.replace(Ss, "");
|
|
3092
3092
|
}
|
|
3093
3093
|
);
|
|
3094
|
-
function
|
|
3094
|
+
function Vr(e, t) {
|
|
3095
3095
|
return new RegExp(e, t);
|
|
3096
3096
|
}
|
|
3097
|
-
var
|
|
3098
|
-
if (
|
|
3099
|
-
var
|
|
3100
|
-
|
|
3097
|
+
var kt;
|
|
3098
|
+
if (Rt) {
|
|
3099
|
+
var ar = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3100
|
+
kt = function(t, r) {
|
|
3101
3101
|
var n;
|
|
3102
|
-
|
|
3103
|
-
var s =
|
|
3102
|
+
ar.lastIndex = r;
|
|
3103
|
+
var s = ar.exec(t);
|
|
3104
3104
|
return (n = s[1]) !== null && n !== void 0 ? n : "";
|
|
3105
3105
|
};
|
|
3106
3106
|
} else
|
|
3107
|
-
|
|
3107
|
+
kt = function(t, r) {
|
|
3108
3108
|
for (var n = []; ; ) {
|
|
3109
|
-
var s =
|
|
3110
|
-
if (s === void 0 ||
|
|
3109
|
+
var s = jr(t, r);
|
|
3110
|
+
if (s === void 0 || zr(s) || $s(s))
|
|
3111
3111
|
break;
|
|
3112
3112
|
n.push(s), r += s >= 65536 ? 2 : 1;
|
|
3113
3113
|
}
|
|
3114
|
-
return
|
|
3114
|
+
return Lt.apply(void 0, n);
|
|
3115
3115
|
};
|
|
3116
|
-
var
|
|
3116
|
+
var Us = (
|
|
3117
3117
|
/** @class */
|
|
3118
3118
|
function() {
|
|
3119
3119
|
function e(t, r) {
|
|
@@ -3127,33 +3127,33 @@ var As = (
|
|
|
3127
3127
|
for (var s = []; !this.isEOF(); ) {
|
|
3128
3128
|
var i = this.char();
|
|
3129
3129
|
if (i === 123) {
|
|
3130
|
-
var
|
|
3131
|
-
if (
|
|
3132
|
-
return
|
|
3133
|
-
s.push(
|
|
3130
|
+
var o = this.parseArgument(t, n);
|
|
3131
|
+
if (o.err)
|
|
3132
|
+
return o;
|
|
3133
|
+
s.push(o.val);
|
|
3134
3134
|
} else {
|
|
3135
3135
|
if (i === 125 && t > 0)
|
|
3136
3136
|
break;
|
|
3137
3137
|
if (i === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3138
|
-
var
|
|
3138
|
+
var a = this.clonePosition();
|
|
3139
3139
|
this.bump(), s.push({
|
|
3140
3140
|
type: N.pound,
|
|
3141
|
-
location: C(
|
|
3141
|
+
location: C(a, this.clonePosition())
|
|
3142
3142
|
});
|
|
3143
3143
|
} else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3144
3144
|
if (n)
|
|
3145
3145
|
break;
|
|
3146
3146
|
return this.error(T.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
|
|
3147
|
-
} else if (i === 60 && !this.ignoreTag &&
|
|
3148
|
-
var
|
|
3149
|
-
if (
|
|
3150
|
-
return
|
|
3151
|
-
s.push(
|
|
3147
|
+
} else if (i === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
|
|
3148
|
+
var o = this.parseTag(t, r);
|
|
3149
|
+
if (o.err)
|
|
3150
|
+
return o;
|
|
3151
|
+
s.push(o.val);
|
|
3152
3152
|
} else {
|
|
3153
|
-
var
|
|
3154
|
-
if (
|
|
3155
|
-
return
|
|
3156
|
-
s.push(
|
|
3153
|
+
var o = this.parseLiteral(t, r);
|
|
3154
|
+
if (o.err)
|
|
3155
|
+
return o;
|
|
3156
|
+
s.push(o.val);
|
|
3157
3157
|
}
|
|
3158
3158
|
}
|
|
3159
3159
|
}
|
|
@@ -3175,27 +3175,27 @@ var As = (
|
|
|
3175
3175
|
var i = this.parseMessage(t + 1, r, !0);
|
|
3176
3176
|
if (i.err)
|
|
3177
3177
|
return i;
|
|
3178
|
-
var
|
|
3178
|
+
var o = i.val, a = this.clonePosition();
|
|
3179
3179
|
if (this.bumpIf("</")) {
|
|
3180
|
-
if (this.isEOF() || !
|
|
3181
|
-
return this.error(T.INVALID_TAG, C(
|
|
3182
|
-
var
|
|
3183
|
-
return s !==
|
|
3180
|
+
if (this.isEOF() || !Ft(this.char()))
|
|
3181
|
+
return this.error(T.INVALID_TAG, C(a, this.clonePosition()));
|
|
3182
|
+
var h = this.clonePosition(), u = this.parseTagName();
|
|
3183
|
+
return s !== u ? this.error(T.UNMATCHED_CLOSING_TAG, C(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3184
3184
|
val: {
|
|
3185
3185
|
type: N.tag,
|
|
3186
3186
|
value: s,
|
|
3187
|
-
children:
|
|
3187
|
+
children: o,
|
|
3188
3188
|
location: C(n, this.clonePosition())
|
|
3189
3189
|
},
|
|
3190
3190
|
err: null
|
|
3191
|
-
} : this.error(T.INVALID_TAG, C(
|
|
3191
|
+
} : this.error(T.INVALID_TAG, C(a, this.clonePosition())));
|
|
3192
3192
|
} else
|
|
3193
3193
|
return this.error(T.UNCLOSED_TAG, C(n, this.clonePosition()));
|
|
3194
3194
|
} else
|
|
3195
3195
|
return this.error(T.INVALID_TAG, C(n, this.clonePosition()));
|
|
3196
3196
|
}, e.prototype.parseTagName = function() {
|
|
3197
3197
|
var t = this.offset();
|
|
3198
|
-
for (this.bump(); !this.isEOF() &&
|
|
3198
|
+
for (this.bump(); !this.isEOF() && Gs(this.char()); )
|
|
3199
3199
|
this.bump();
|
|
3200
3200
|
return this.message.slice(t, this.offset());
|
|
3201
3201
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3205,26 +3205,26 @@ var As = (
|
|
|
3205
3205
|
s += i;
|
|
3206
3206
|
continue;
|
|
3207
3207
|
}
|
|
3208
|
-
var
|
|
3209
|
-
if (a) {
|
|
3210
|
-
s += a;
|
|
3211
|
-
continue;
|
|
3212
|
-
}
|
|
3213
|
-
var o = this.tryParseLeftAngleBracket();
|
|
3208
|
+
var o = this.tryParseUnquoted(t, r);
|
|
3214
3209
|
if (o) {
|
|
3215
3210
|
s += o;
|
|
3216
3211
|
continue;
|
|
3217
3212
|
}
|
|
3213
|
+
var a = this.tryParseLeftAngleBracket();
|
|
3214
|
+
if (a) {
|
|
3215
|
+
s += a;
|
|
3216
|
+
continue;
|
|
3217
|
+
}
|
|
3218
3218
|
break;
|
|
3219
3219
|
}
|
|
3220
|
-
var
|
|
3220
|
+
var h = C(n, this.clonePosition());
|
|
3221
3221
|
return {
|
|
3222
|
-
val: { type: N.literal, value: s, location:
|
|
3222
|
+
val: { type: N.literal, value: s, location: h },
|
|
3223
3223
|
err: null
|
|
3224
3224
|
};
|
|
3225
3225
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3226
3226
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3227
|
-
!
|
|
3227
|
+
!Ds(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3228
3228
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3229
3229
|
if (this.isEOF() || this.char() !== 39)
|
|
3230
3230
|
return null;
|
|
@@ -3258,12 +3258,12 @@ var As = (
|
|
|
3258
3258
|
r.push(n);
|
|
3259
3259
|
this.bump();
|
|
3260
3260
|
}
|
|
3261
|
-
return
|
|
3261
|
+
return Lt.apply(void 0, r);
|
|
3262
3262
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3263
3263
|
if (this.isEOF())
|
|
3264
3264
|
return null;
|
|
3265
3265
|
var n = this.char();
|
|
3266
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3266
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Lt(n));
|
|
3267
3267
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3268
3268
|
var n = this.clonePosition();
|
|
3269
3269
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3292,66 +3292,66 @@ var As = (
|
|
|
3292
3292
|
return this.error(T.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3293
3293
|
}
|
|
3294
3294
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3295
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3295
|
+
var t = this.clonePosition(), r = this.offset(), n = kt(this.message, r), s = r + n.length;
|
|
3296
3296
|
this.bumpTo(s);
|
|
3297
|
-
var i = this.clonePosition(),
|
|
3298
|
-
return { value: n, location:
|
|
3297
|
+
var i = this.clonePosition(), o = C(t, i);
|
|
3298
|
+
return { value: n, location: o };
|
|
3299
3299
|
}, e.prototype.parseArgumentOptions = function(t, r, n, s) {
|
|
3300
|
-
var i,
|
|
3301
|
-
switch (
|
|
3300
|
+
var i, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3301
|
+
switch (a) {
|
|
3302
3302
|
case "":
|
|
3303
|
-
return this.error(T.EXPECT_ARGUMENT_TYPE, C(
|
|
3303
|
+
return this.error(T.EXPECT_ARGUMENT_TYPE, C(o, h));
|
|
3304
3304
|
case "number":
|
|
3305
3305
|
case "date":
|
|
3306
3306
|
case "time": {
|
|
3307
3307
|
this.bumpSpace();
|
|
3308
|
-
var
|
|
3308
|
+
var u = null;
|
|
3309
3309
|
if (this.bumpIf(",")) {
|
|
3310
3310
|
this.bumpSpace();
|
|
3311
3311
|
var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3312
3312
|
if (d.err)
|
|
3313
3313
|
return d;
|
|
3314
|
-
var p =
|
|
3314
|
+
var p = Fs(d.val);
|
|
3315
3315
|
if (p.length === 0)
|
|
3316
3316
|
return this.error(T.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
3317
3317
|
var m = C(c, this.clonePosition());
|
|
3318
|
-
|
|
3318
|
+
u = { style: p, styleLocation: m };
|
|
3319
3319
|
}
|
|
3320
|
-
var
|
|
3321
|
-
if (
|
|
3322
|
-
return
|
|
3323
|
-
var
|
|
3324
|
-
if (
|
|
3325
|
-
var E =
|
|
3326
|
-
if (
|
|
3327
|
-
var d = this.parseNumberSkeletonFromString(E,
|
|
3320
|
+
var y = this.tryParseArgumentClose(s);
|
|
3321
|
+
if (y.err)
|
|
3322
|
+
return y;
|
|
3323
|
+
var w = C(s, this.clonePosition());
|
|
3324
|
+
if (u && ir(u?.style, "::", 0)) {
|
|
3325
|
+
var E = ks(u.style.slice(2));
|
|
3326
|
+
if (a === "number") {
|
|
3327
|
+
var d = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3328
3328
|
return d.err ? d : {
|
|
3329
|
-
val: { type: N.number, value: n, location:
|
|
3329
|
+
val: { type: N.number, value: n, location: w, style: d.val },
|
|
3330
3330
|
err: null
|
|
3331
3331
|
};
|
|
3332
3332
|
} else {
|
|
3333
3333
|
if (E.length === 0)
|
|
3334
|
-
return this.error(T.EXPECT_DATE_TIME_SKELETON,
|
|
3335
|
-
var
|
|
3336
|
-
this.locale && (
|
|
3334
|
+
return this.error(T.EXPECT_DATE_TIME_SKELETON, w);
|
|
3335
|
+
var _ = E;
|
|
3336
|
+
this.locale && (_ = Es(E, this.locale));
|
|
3337
3337
|
var p = {
|
|
3338
|
-
type:
|
|
3339
|
-
pattern:
|
|
3340
|
-
location:
|
|
3341
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3342
|
-
}, A =
|
|
3338
|
+
type: Oe.dateTime,
|
|
3339
|
+
pattern: _,
|
|
3340
|
+
location: u.styleLocation,
|
|
3341
|
+
parsedOptions: this.shouldParseSkeletons ? bs(_) : {}
|
|
3342
|
+
}, A = a === "date" ? N.date : N.time;
|
|
3343
3343
|
return {
|
|
3344
|
-
val: { type: A, value: n, location:
|
|
3344
|
+
val: { type: A, value: n, location: w, style: p },
|
|
3345
3345
|
err: null
|
|
3346
3346
|
};
|
|
3347
3347
|
}
|
|
3348
3348
|
}
|
|
3349
3349
|
return {
|
|
3350
3350
|
val: {
|
|
3351
|
-
type:
|
|
3351
|
+
type: a === "number" ? N.number : a === "date" ? N.date : N.time,
|
|
3352
3352
|
value: n,
|
|
3353
|
-
location:
|
|
3354
|
-
style: (i =
|
|
3353
|
+
location: w,
|
|
3354
|
+
style: (i = u?.style) !== null && i !== void 0 ? i : null
|
|
3355
3355
|
},
|
|
3356
3356
|
err: null
|
|
3357
3357
|
};
|
|
@@ -3361,47 +3361,47 @@ var As = (
|
|
|
3361
3361
|
case "select": {
|
|
3362
3362
|
var O = this.clonePosition();
|
|
3363
3363
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3364
|
-
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, C(O,
|
|
3364
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, C(O, lt({}, O)));
|
|
3365
3365
|
this.bumpSpace();
|
|
3366
|
-
var
|
|
3367
|
-
if (
|
|
3366
|
+
var U = this.parseIdentifierIfPossible(), F = 0;
|
|
3367
|
+
if (a !== "select" && U.value === "offset") {
|
|
3368
3368
|
if (!this.bumpIf(":"))
|
|
3369
3369
|
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
|
|
3370
3370
|
this.bumpSpace();
|
|
3371
3371
|
var d = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3372
3372
|
if (d.err)
|
|
3373
3373
|
return d;
|
|
3374
|
-
this.bumpSpace(),
|
|
3374
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), F = d.val;
|
|
3375
3375
|
}
|
|
3376
|
-
var M = this.tryParsePluralOrSelectOptions(t,
|
|
3376
|
+
var M = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3377
3377
|
if (M.err)
|
|
3378
3378
|
return M;
|
|
3379
|
-
var
|
|
3380
|
-
if (
|
|
3381
|
-
return
|
|
3382
|
-
var
|
|
3383
|
-
return
|
|
3379
|
+
var y = this.tryParseArgumentClose(s);
|
|
3380
|
+
if (y.err)
|
|
3381
|
+
return y;
|
|
3382
|
+
var j = C(s, this.clonePosition());
|
|
3383
|
+
return a === "select" ? {
|
|
3384
3384
|
val: {
|
|
3385
3385
|
type: N.select,
|
|
3386
3386
|
value: n,
|
|
3387
|
-
options:
|
|
3388
|
-
location:
|
|
3387
|
+
options: or(M.val),
|
|
3388
|
+
location: j
|
|
3389
3389
|
},
|
|
3390
3390
|
err: null
|
|
3391
3391
|
} : {
|
|
3392
3392
|
val: {
|
|
3393
3393
|
type: N.plural,
|
|
3394
3394
|
value: n,
|
|
3395
|
-
options:
|
|
3396
|
-
offset:
|
|
3397
|
-
pluralType:
|
|
3398
|
-
location:
|
|
3395
|
+
options: or(M.val),
|
|
3396
|
+
offset: F,
|
|
3397
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3398
|
+
location: j
|
|
3399
3399
|
},
|
|
3400
3400
|
err: null
|
|
3401
3401
|
};
|
|
3402
3402
|
}
|
|
3403
3403
|
default:
|
|
3404
|
-
return this.error(T.INVALID_ARGUMENT_TYPE, C(
|
|
3404
|
+
return this.error(T.INVALID_ARGUMENT_TYPE, C(o, h));
|
|
3405
3405
|
}
|
|
3406
3406
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3407
3407
|
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, C(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3443,64 +3443,64 @@ var As = (
|
|
|
3443
3443
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3444
3444
|
var n = [];
|
|
3445
3445
|
try {
|
|
3446
|
-
n =
|
|
3446
|
+
n = vs(t);
|
|
3447
3447
|
} catch {
|
|
3448
3448
|
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
3449
3449
|
}
|
|
3450
3450
|
return {
|
|
3451
3451
|
val: {
|
|
3452
|
-
type:
|
|
3452
|
+
type: Oe.number,
|
|
3453
3453
|
tokens: n,
|
|
3454
3454
|
location: r,
|
|
3455
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3455
|
+
parsedOptions: this.shouldParseSkeletons ? xs(n) : {}
|
|
3456
3456
|
},
|
|
3457
3457
|
err: null
|
|
3458
3458
|
};
|
|
3459
3459
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, s) {
|
|
3460
|
-
for (var i,
|
|
3461
|
-
if (
|
|
3460
|
+
for (var i, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = s.value, c = s.location; ; ) {
|
|
3461
|
+
if (u.length === 0) {
|
|
3462
3462
|
var d = this.clonePosition();
|
|
3463
3463
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3464
3464
|
var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3465
3465
|
if (p.err)
|
|
3466
3466
|
return p;
|
|
3467
|
-
c = C(d, this.clonePosition()),
|
|
3467
|
+
c = C(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
|
|
3468
3468
|
} else
|
|
3469
3469
|
break;
|
|
3470
3470
|
}
|
|
3471
|
-
if (
|
|
3471
|
+
if (h.has(u))
|
|
3472
3472
|
return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3473
|
-
|
|
3473
|
+
u === "other" && (o = !0), this.bumpSpace();
|
|
3474
3474
|
var m = this.clonePosition();
|
|
3475
3475
|
if (!this.bumpIf("{"))
|
|
3476
3476
|
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, C(this.clonePosition(), this.clonePosition()));
|
|
3477
|
-
var
|
|
3478
|
-
if (
|
|
3479
|
-
return
|
|
3480
|
-
var
|
|
3481
|
-
if (
|
|
3482
|
-
return
|
|
3483
|
-
|
|
3484
|
-
|
|
3477
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3478
|
+
if (y.err)
|
|
3479
|
+
return y;
|
|
3480
|
+
var w = this.tryParseArgumentClose(m);
|
|
3481
|
+
if (w.err)
|
|
3482
|
+
return w;
|
|
3483
|
+
a.push([
|
|
3484
|
+
u,
|
|
3485
3485
|
{
|
|
3486
|
-
value:
|
|
3486
|
+
value: y.val,
|
|
3487
3487
|
location: C(m, this.clonePosition())
|
|
3488
3488
|
}
|
|
3489
|
-
]),
|
|
3489
|
+
]), h.add(u), this.bumpSpace(), i = this.parseIdentifierIfPossible(), u = i.value, c = i.location;
|
|
3490
3490
|
}
|
|
3491
|
-
return
|
|
3491
|
+
return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(T.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3492
3492
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3493
3493
|
var n = 1, s = this.clonePosition();
|
|
3494
3494
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3495
|
-
for (var i = !1,
|
|
3496
|
-
var
|
|
3497
|
-
if (
|
|
3498
|
-
i = !0,
|
|
3495
|
+
for (var i = !1, o = 0; !this.isEOF(); ) {
|
|
3496
|
+
var a = this.char();
|
|
3497
|
+
if (a >= 48 && a <= 57)
|
|
3498
|
+
i = !0, o = o * 10 + (a - 48), this.bump();
|
|
3499
3499
|
else
|
|
3500
3500
|
break;
|
|
3501
3501
|
}
|
|
3502
|
-
var
|
|
3503
|
-
return i ? (
|
|
3502
|
+
var h = C(s, this.clonePosition());
|
|
3503
|
+
return i ? (o *= n, Rs(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3504
3504
|
}, e.prototype.offset = function() {
|
|
3505
3505
|
return this.position.offset;
|
|
3506
3506
|
}, e.prototype.isEOF = function() {
|
|
@@ -3515,7 +3515,7 @@ var As = (
|
|
|
3515
3515
|
var t = this.position.offset;
|
|
3516
3516
|
if (t >= this.message.length)
|
|
3517
3517
|
throw Error("out of bound");
|
|
3518
|
-
var r =
|
|
3518
|
+
var r = jr(this.message, t);
|
|
3519
3519
|
if (r === void 0)
|
|
3520
3520
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3521
3521
|
return r;
|
|
@@ -3534,7 +3534,7 @@ var As = (
|
|
|
3534
3534
|
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);
|
|
3535
3535
|
}
|
|
3536
3536
|
}, e.prototype.bumpIf = function(t) {
|
|
3537
|
-
if (
|
|
3537
|
+
if (ir(this.message, t, this.offset())) {
|
|
3538
3538
|
for (var r = 0; r < t.length; r++)
|
|
3539
3539
|
this.bump();
|
|
3540
3540
|
return !0;
|
|
@@ -3556,7 +3556,7 @@ var As = (
|
|
|
3556
3556
|
break;
|
|
3557
3557
|
}
|
|
3558
3558
|
}, e.prototype.bumpSpace = function() {
|
|
3559
|
-
for (; !this.isEOF() &&
|
|
3559
|
+
for (; !this.isEOF() && zr(this.char()); )
|
|
3560
3560
|
this.bump();
|
|
3561
3561
|
}, e.prototype.peek = function() {
|
|
3562
3562
|
if (this.isEOF())
|
|
@@ -3566,47 +3566,47 @@ var As = (
|
|
|
3566
3566
|
}, e;
|
|
3567
3567
|
}()
|
|
3568
3568
|
);
|
|
3569
|
-
function
|
|
3569
|
+
function Ft(e) {
|
|
3570
3570
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3571
3571
|
}
|
|
3572
|
-
function
|
|
3573
|
-
return
|
|
3572
|
+
function Ds(e) {
|
|
3573
|
+
return Ft(e) || e === 47;
|
|
3574
3574
|
}
|
|
3575
|
-
function
|
|
3575
|
+
function Gs(e) {
|
|
3576
3576
|
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;
|
|
3577
3577
|
}
|
|
3578
|
-
function
|
|
3578
|
+
function zr(e) {
|
|
3579
3579
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3580
3580
|
}
|
|
3581
|
-
function
|
|
3581
|
+
function $s(e) {
|
|
3582
3582
|
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;
|
|
3583
3583
|
}
|
|
3584
|
-
function
|
|
3584
|
+
function Ut(e) {
|
|
3585
3585
|
e.forEach(function(t) {
|
|
3586
|
-
if (delete t.location,
|
|
3586
|
+
if (delete t.location, Rr(t) || Lr(t))
|
|
3587
3587
|
for (var r in t.options)
|
|
3588
|
-
delete t.options[r].location,
|
|
3588
|
+
delete t.options[r].location, Ut(t.options[r].value);
|
|
3589
3589
|
else
|
|
3590
|
-
|
|
3590
|
+
Mr(t) && Fr(t.style) || (Nr(t) || Or(t)) && Ot(t.style) ? delete t.style.location : kr(t) && Ut(t.children);
|
|
3591
3591
|
});
|
|
3592
3592
|
}
|
|
3593
|
-
function
|
|
3594
|
-
t === void 0 && (t = {}), t =
|
|
3595
|
-
var r = new
|
|
3593
|
+
function js(e, t) {
|
|
3594
|
+
t === void 0 && (t = {}), t = lt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3595
|
+
var r = new Us(e, t).parse();
|
|
3596
3596
|
if (r.err) {
|
|
3597
3597
|
var n = SyntaxError(T[r.err.kind]);
|
|
3598
3598
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3599
3599
|
}
|
|
3600
|
-
return t?.captureLocation ||
|
|
3600
|
+
return t?.captureLocation || Ut(r.val), r.val;
|
|
3601
3601
|
}
|
|
3602
|
-
var
|
|
3602
|
+
var Re;
|
|
3603
3603
|
(function(e) {
|
|
3604
3604
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3605
|
-
})(
|
|
3606
|
-
var
|
|
3605
|
+
})(Re || (Re = {}));
|
|
3606
|
+
var pt = (
|
|
3607
3607
|
/** @class */
|
|
3608
3608
|
function(e) {
|
|
3609
|
-
|
|
3609
|
+
dt(t, e);
|
|
3610
3610
|
function t(r, n, s) {
|
|
3611
3611
|
var i = e.call(this, r) || this;
|
|
3612
3612
|
return i.code = n, i.originalMessage = s, i;
|
|
@@ -3615,155 +3615,155 @@ var ft = (
|
|
|
3615
3615
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3616
3616
|
}, t;
|
|
3617
3617
|
}(Error)
|
|
3618
|
-
),
|
|
3618
|
+
), lr = (
|
|
3619
3619
|
/** @class */
|
|
3620
3620
|
function(e) {
|
|
3621
|
-
|
|
3621
|
+
dt(t, e);
|
|
3622
3622
|
function t(r, n, s, i) {
|
|
3623
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'),
|
|
3623
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Re.INVALID_VALUE, i) || this;
|
|
3624
3624
|
}
|
|
3625
3625
|
return t;
|
|
3626
|
-
}(
|
|
3627
|
-
),
|
|
3626
|
+
}(pt)
|
|
3627
|
+
), Vs = (
|
|
3628
3628
|
/** @class */
|
|
3629
3629
|
function(e) {
|
|
3630
|
-
|
|
3630
|
+
dt(t, e);
|
|
3631
3631
|
function t(r, n, s) {
|
|
3632
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3632
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Re.INVALID_VALUE, s) || this;
|
|
3633
3633
|
}
|
|
3634
3634
|
return t;
|
|
3635
|
-
}(
|
|
3636
|
-
),
|
|
3635
|
+
}(pt)
|
|
3636
|
+
), zs = (
|
|
3637
3637
|
/** @class */
|
|
3638
3638
|
function(e) {
|
|
3639
|
-
|
|
3639
|
+
dt(t, e);
|
|
3640
3640
|
function t(r, n) {
|
|
3641
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3641
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Re.MISSING_VALUE, n) || this;
|
|
3642
3642
|
}
|
|
3643
3643
|
return t;
|
|
3644
|
-
}(
|
|
3645
|
-
),
|
|
3644
|
+
}(pt)
|
|
3645
|
+
), J;
|
|
3646
3646
|
(function(e) {
|
|
3647
3647
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3648
|
-
})(
|
|
3649
|
-
function
|
|
3648
|
+
})(J || (J = {}));
|
|
3649
|
+
function Ws(e) {
|
|
3650
3650
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3651
3651
|
var n = t[t.length - 1];
|
|
3652
|
-
return !n || n.type !==
|
|
3652
|
+
return !n || n.type !== J.literal || r.type !== J.literal ? t.push(r) : n.value += r.value, t;
|
|
3653
3653
|
}, []);
|
|
3654
3654
|
}
|
|
3655
|
-
function
|
|
3655
|
+
function Xs(e) {
|
|
3656
3656
|
return typeof e == "function";
|
|
3657
3657
|
}
|
|
3658
|
-
function
|
|
3659
|
-
if (e.length === 1 &&
|
|
3658
|
+
function ot(e, t, r, n, s, i, o) {
|
|
3659
|
+
if (e.length === 1 && tr(e[0]))
|
|
3660
3660
|
return [
|
|
3661
3661
|
{
|
|
3662
|
-
type:
|
|
3662
|
+
type: J.literal,
|
|
3663
3663
|
value: e[0].value
|
|
3664
3664
|
}
|
|
3665
3665
|
];
|
|
3666
|
-
for (var
|
|
3667
|
-
var c = h
|
|
3668
|
-
if (
|
|
3669
|
-
|
|
3670
|
-
type:
|
|
3666
|
+
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3667
|
+
var c = u[h];
|
|
3668
|
+
if (tr(c)) {
|
|
3669
|
+
a.push({
|
|
3670
|
+
type: J.literal,
|
|
3671
3671
|
value: c.value
|
|
3672
3672
|
});
|
|
3673
3673
|
continue;
|
|
3674
3674
|
}
|
|
3675
|
-
if (
|
|
3676
|
-
typeof i == "number" &&
|
|
3677
|
-
type:
|
|
3675
|
+
if (ms(c)) {
|
|
3676
|
+
typeof i == "number" && a.push({
|
|
3677
|
+
type: J.literal,
|
|
3678
3678
|
value: r.getNumberFormat(t).format(i)
|
|
3679
3679
|
});
|
|
3680
3680
|
continue;
|
|
3681
3681
|
}
|
|
3682
3682
|
var d = c.value;
|
|
3683
3683
|
if (!(s && d in s))
|
|
3684
|
-
throw new
|
|
3684
|
+
throw new zs(d, o);
|
|
3685
3685
|
var p = s[d];
|
|
3686
|
-
if (
|
|
3687
|
-
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""),
|
|
3688
|
-
type: typeof p == "string" ?
|
|
3686
|
+
if (ps(c)) {
|
|
3687
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3688
|
+
type: typeof p == "string" ? J.literal : J.object,
|
|
3689
3689
|
value: p
|
|
3690
3690
|
});
|
|
3691
3691
|
continue;
|
|
3692
3692
|
}
|
|
3693
|
-
if (
|
|
3694
|
-
var m = typeof c.style == "string" ? n.date[c.style] :
|
|
3695
|
-
|
|
3696
|
-
type:
|
|
3693
|
+
if (Nr(c)) {
|
|
3694
|
+
var m = typeof c.style == "string" ? n.date[c.style] : Ot(c.style) ? c.style.parsedOptions : void 0;
|
|
3695
|
+
a.push({
|
|
3696
|
+
type: J.literal,
|
|
3697
3697
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3698
3698
|
});
|
|
3699
3699
|
continue;
|
|
3700
3700
|
}
|
|
3701
|
-
if (
|
|
3702
|
-
var m = typeof c.style == "string" ? n.time[c.style] :
|
|
3703
|
-
|
|
3704
|
-
type:
|
|
3701
|
+
if (Or(c)) {
|
|
3702
|
+
var m = typeof c.style == "string" ? n.time[c.style] : Ot(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3703
|
+
a.push({
|
|
3704
|
+
type: J.literal,
|
|
3705
3705
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3706
3706
|
});
|
|
3707
3707
|
continue;
|
|
3708
3708
|
}
|
|
3709
|
-
if (
|
|
3710
|
-
var m = typeof c.style == "string" ? n.number[c.style] :
|
|
3711
|
-
m && m.scale && (p = p * (m.scale || 1)),
|
|
3712
|
-
type:
|
|
3709
|
+
if (Mr(c)) {
|
|
3710
|
+
var m = typeof c.style == "string" ? n.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
|
|
3711
|
+
m && m.scale && (p = p * (m.scale || 1)), a.push({
|
|
3712
|
+
type: J.literal,
|
|
3713
3713
|
value: r.getNumberFormat(t, m).format(p)
|
|
3714
3714
|
});
|
|
3715
3715
|
continue;
|
|
3716
3716
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var
|
|
3719
|
-
if (!
|
|
3720
|
-
throw new
|
|
3721
|
-
var
|
|
3722
|
-
return
|
|
3717
|
+
if (kr(c)) {
|
|
3718
|
+
var y = c.children, w = c.value, E = s[w];
|
|
3719
|
+
if (!Xs(E))
|
|
3720
|
+
throw new Vs(w, "function", o);
|
|
3721
|
+
var _ = ot(y, t, r, n, s, i), A = E(_.map(function(F) {
|
|
3722
|
+
return F.value;
|
|
3723
3723
|
}));
|
|
3724
|
-
Array.isArray(A) || (A = [A]),
|
|
3724
|
+
Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(F) {
|
|
3725
3725
|
return {
|
|
3726
|
-
type: typeof
|
|
3727
|
-
value:
|
|
3726
|
+
type: typeof F == "string" ? J.literal : J.object,
|
|
3727
|
+
value: F
|
|
3728
3728
|
};
|
|
3729
3729
|
}));
|
|
3730
3730
|
}
|
|
3731
|
-
if (
|
|
3731
|
+
if (Rr(c)) {
|
|
3732
3732
|
var O = c.options[p] || c.options.other;
|
|
3733
3733
|
if (!O)
|
|
3734
|
-
throw new
|
|
3735
|
-
|
|
3734
|
+
throw new lr(c.value, p, Object.keys(c.options), o);
|
|
3735
|
+
a.push.apply(a, ot(O.value, t, r, n, s));
|
|
3736
3736
|
continue;
|
|
3737
3737
|
}
|
|
3738
|
-
if (
|
|
3738
|
+
if (Lr(c)) {
|
|
3739
3739
|
var O = c.options["=".concat(p)];
|
|
3740
3740
|
if (!O) {
|
|
3741
3741
|
if (!Intl.PluralRules)
|
|
3742
|
-
throw new
|
|
3742
|
+
throw new pt(`Intl.PluralRules is not available in this environment.
|
|
3743
3743
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3744
|
-
`,
|
|
3745
|
-
var
|
|
3746
|
-
O = c.options[
|
|
3744
|
+
`, Re.MISSING_INTL_API, o);
|
|
3745
|
+
var U = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3746
|
+
O = c.options[U] || c.options.other;
|
|
3747
3747
|
}
|
|
3748
3748
|
if (!O)
|
|
3749
|
-
throw new
|
|
3750
|
-
|
|
3749
|
+
throw new lr(c.value, p, Object.keys(c.options), o);
|
|
3750
|
+
a.push.apply(a, ot(O.value, t, r, n, s, p - (c.offset || 0)));
|
|
3751
3751
|
continue;
|
|
3752
3752
|
}
|
|
3753
3753
|
}
|
|
3754
|
-
return
|
|
3754
|
+
return Ws(a);
|
|
3755
3755
|
}
|
|
3756
|
-
function
|
|
3757
|
-
return t ?
|
|
3758
|
-
return r[n] =
|
|
3756
|
+
function Zs(e, t) {
|
|
3757
|
+
return t ? ce(ce(ce({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3758
|
+
return r[n] = ce(ce({}, e[n]), t[n] || {}), r;
|
|
3759
3759
|
}, {})) : e;
|
|
3760
3760
|
}
|
|
3761
|
-
function
|
|
3761
|
+
function Ys(e, t) {
|
|
3762
3762
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3763
|
-
return r[n] =
|
|
3764
|
-
},
|
|
3763
|
+
return r[n] = Zs(e[n], t[n]), r;
|
|
3764
|
+
}, ce({}, e)) : e;
|
|
3765
3765
|
}
|
|
3766
|
-
function
|
|
3766
|
+
function xt(e) {
|
|
3767
3767
|
return {
|
|
3768
3768
|
create: function() {
|
|
3769
3769
|
return {
|
|
@@ -3777,39 +3777,39 @@ function _t(e) {
|
|
|
3777
3777
|
}
|
|
3778
3778
|
};
|
|
3779
3779
|
}
|
|
3780
|
-
function
|
|
3780
|
+
function Qs(e) {
|
|
3781
3781
|
return e === void 0 && (e = {
|
|
3782
3782
|
number: {},
|
|
3783
3783
|
dateTime: {},
|
|
3784
3784
|
pluralRules: {}
|
|
3785
3785
|
}), {
|
|
3786
|
-
getNumberFormat:
|
|
3786
|
+
getNumberFormat: yt(function() {
|
|
3787
3787
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3788
3788
|
r[n] = arguments[n];
|
|
3789
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3789
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, vt([void 0], r, !1)))();
|
|
3790
3790
|
}, {
|
|
3791
|
-
cache:
|
|
3792
|
-
strategy:
|
|
3791
|
+
cache: xt(e.number),
|
|
3792
|
+
strategy: _t.variadic
|
|
3793
3793
|
}),
|
|
3794
|
-
getDateTimeFormat:
|
|
3794
|
+
getDateTimeFormat: yt(function() {
|
|
3795
3795
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3796
3796
|
r[n] = arguments[n];
|
|
3797
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3797
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, vt([void 0], r, !1)))();
|
|
3798
3798
|
}, {
|
|
3799
|
-
cache:
|
|
3800
|
-
strategy:
|
|
3799
|
+
cache: xt(e.dateTime),
|
|
3800
|
+
strategy: _t.variadic
|
|
3801
3801
|
}),
|
|
3802
|
-
getPluralRules:
|
|
3802
|
+
getPluralRules: yt(function() {
|
|
3803
3803
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3804
3804
|
r[n] = arguments[n];
|
|
3805
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3805
|
+
return new ((t = Intl.PluralRules).bind.apply(t, vt([void 0], r, !1)))();
|
|
3806
3806
|
}, {
|
|
3807
|
-
cache:
|
|
3808
|
-
strategy:
|
|
3807
|
+
cache: xt(e.pluralRules),
|
|
3808
|
+
strategy: _t.variadic
|
|
3809
3809
|
})
|
|
3810
3810
|
};
|
|
3811
3811
|
}
|
|
3812
|
-
var
|
|
3812
|
+
var qs = (
|
|
3813
3813
|
/** @class */
|
|
3814
3814
|
function() {
|
|
3815
3815
|
function e(t, r, n, s) {
|
|
@@ -3819,35 +3819,35 @@ var $s = (
|
|
|
3819
3819
|
number: {},
|
|
3820
3820
|
dateTime: {},
|
|
3821
3821
|
pluralRules: {}
|
|
3822
|
-
}, this.format = function(
|
|
3823
|
-
var
|
|
3824
|
-
if (
|
|
3825
|
-
return
|
|
3826
|
-
var c =
|
|
3827
|
-
return !d.length || p.type !==
|
|
3822
|
+
}, this.format = function(h) {
|
|
3823
|
+
var u = i.formatToParts(h);
|
|
3824
|
+
if (u.length === 1)
|
|
3825
|
+
return u[0].value;
|
|
3826
|
+
var c = u.reduce(function(d, p) {
|
|
3827
|
+
return !d.length || p.type !== J.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
|
|
3828
3828
|
}, []);
|
|
3829
3829
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3830
|
-
}, this.formatToParts = function(
|
|
3831
|
-
return
|
|
3830
|
+
}, this.formatToParts = function(h) {
|
|
3831
|
+
return ot(i.ast, i.locales, i.formatters, i.formats, h, void 0, i.message);
|
|
3832
3832
|
}, this.resolvedOptions = function() {
|
|
3833
|
-
var
|
|
3833
|
+
var h;
|
|
3834
3834
|
return {
|
|
3835
|
-
locale: ((
|
|
3835
|
+
locale: ((h = i.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(i.locales)[0]
|
|
3836
3836
|
};
|
|
3837
3837
|
}, this.getAst = function() {
|
|
3838
3838
|
return i.ast;
|
|
3839
3839
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3840
3840
|
if (this.message = t, !e.__parse)
|
|
3841
3841
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3842
|
-
var
|
|
3843
|
-
|
|
3844
|
-
var
|
|
3845
|
-
this.ast = e.__parse(t,
|
|
3842
|
+
var o = s || {};
|
|
3843
|
+
o.formatters;
|
|
3844
|
+
var a = os(o, ["formatters"]);
|
|
3845
|
+
this.ast = e.__parse(t, ce(ce({}, a), { locale: this.resolvedLocale }));
|
|
3846
3846
|
} else
|
|
3847
3847
|
this.ast = t;
|
|
3848
3848
|
if (!Array.isArray(this.ast))
|
|
3849
3849
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3850
|
-
this.formats =
|
|
3850
|
+
this.formats = Ys(e.formats, n), this.formatters = s && s.formatters || Qs(this.formatterCache);
|
|
3851
3851
|
}
|
|
3852
3852
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3853
3853
|
get: function() {
|
|
@@ -3860,7 +3860,7 @@ var $s = (
|
|
|
3860
3860
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3861
3861
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3862
3862
|
}
|
|
3863
|
-
}, e.__parse =
|
|
3863
|
+
}, e.__parse = js, e.formats = {
|
|
3864
3864
|
number: {
|
|
3865
3865
|
integer: {
|
|
3866
3866
|
maximumFractionDigits: 0
|
|
@@ -3921,7 +3921,7 @@ var $s = (
|
|
|
3921
3921
|
}, e;
|
|
3922
3922
|
}()
|
|
3923
3923
|
);
|
|
3924
|
-
function
|
|
3924
|
+
function Js(e, t) {
|
|
3925
3925
|
if (t == null)
|
|
3926
3926
|
return;
|
|
3927
3927
|
if (t in e)
|
|
@@ -3942,92 +3942,92 @@ function Gs(e, t) {
|
|
|
3942
3942
|
n = void 0;
|
|
3943
3943
|
return n;
|
|
3944
3944
|
}
|
|
3945
|
-
const
|
|
3945
|
+
const we = {}, Ks = (e, t, r) => r && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = r), r), Wr = (e, t) => {
|
|
3946
3946
|
if (t == null)
|
|
3947
3947
|
return;
|
|
3948
|
-
if (t in
|
|
3949
|
-
return
|
|
3950
|
-
const r =
|
|
3948
|
+
if (t in we && e in we[t])
|
|
3949
|
+
return we[t][e];
|
|
3950
|
+
const r = mt(t);
|
|
3951
3951
|
for (let n = 0; n < r.length; n++) {
|
|
3952
|
-
const s = r[n], i =
|
|
3952
|
+
const s = r[n], i = ti(s, e);
|
|
3953
3953
|
if (i)
|
|
3954
|
-
return
|
|
3954
|
+
return Ks(e, t, i);
|
|
3955
3955
|
}
|
|
3956
3956
|
};
|
|
3957
|
-
let
|
|
3958
|
-
const
|
|
3959
|
-
function
|
|
3960
|
-
return
|
|
3957
|
+
let jt;
|
|
3958
|
+
const Je = ft({});
|
|
3959
|
+
function ei(e) {
|
|
3960
|
+
return jt[e] || null;
|
|
3961
3961
|
}
|
|
3962
|
-
function
|
|
3963
|
-
return e in
|
|
3962
|
+
function Xr(e) {
|
|
3963
|
+
return e in jt;
|
|
3964
3964
|
}
|
|
3965
|
-
function
|
|
3966
|
-
if (!
|
|
3965
|
+
function ti(e, t) {
|
|
3966
|
+
if (!Xr(e))
|
|
3967
3967
|
return null;
|
|
3968
|
-
const r =
|
|
3969
|
-
return
|
|
3968
|
+
const r = ei(e);
|
|
3969
|
+
return Js(r, t);
|
|
3970
3970
|
}
|
|
3971
|
-
function
|
|
3971
|
+
function ri(e) {
|
|
3972
3972
|
if (e == null)
|
|
3973
3973
|
return;
|
|
3974
|
-
const t =
|
|
3974
|
+
const t = mt(e);
|
|
3975
3975
|
for (let r = 0; r < t.length; r++) {
|
|
3976
3976
|
const n = t[r];
|
|
3977
|
-
if (
|
|
3977
|
+
if (Xr(n))
|
|
3978
3978
|
return n;
|
|
3979
3979
|
}
|
|
3980
3980
|
}
|
|
3981
|
-
function
|
|
3982
|
-
delete
|
|
3981
|
+
function Zr(e, ...t) {
|
|
3982
|
+
delete we[e], Je.update((r) => (r[e] = is.all([r[e] || {}, ...t]), r));
|
|
3983
3983
|
}
|
|
3984
|
-
|
|
3985
|
-
[
|
|
3984
|
+
Fe(
|
|
3985
|
+
[Je],
|
|
3986
3986
|
([e]) => Object.keys(e)
|
|
3987
3987
|
);
|
|
3988
|
-
|
|
3989
|
-
const
|
|
3990
|
-
function
|
|
3991
|
-
|
|
3988
|
+
Je.subscribe((e) => jt = e);
|
|
3989
|
+
const at = {};
|
|
3990
|
+
function ni(e, t) {
|
|
3991
|
+
at[e].delete(t), at[e].size === 0 && delete at[e];
|
|
3992
3992
|
}
|
|
3993
|
-
function
|
|
3994
|
-
return
|
|
3993
|
+
function Yr(e) {
|
|
3994
|
+
return at[e];
|
|
3995
3995
|
}
|
|
3996
|
-
function
|
|
3997
|
-
return
|
|
3998
|
-
const r =
|
|
3996
|
+
function si(e) {
|
|
3997
|
+
return mt(e).map((t) => {
|
|
3998
|
+
const r = Yr(t);
|
|
3999
3999
|
return [t, r ? [...r] : []];
|
|
4000
4000
|
}).filter(([, t]) => t.length > 0);
|
|
4001
4001
|
}
|
|
4002
|
-
function
|
|
4003
|
-
return e == null ? !1 :
|
|
4002
|
+
function Dt(e) {
|
|
4003
|
+
return e == null ? !1 : mt(e).some(
|
|
4004
4004
|
(t) => {
|
|
4005
4005
|
var r;
|
|
4006
|
-
return (r =
|
|
4006
|
+
return (r = Yr(t)) == null ? void 0 : r.size;
|
|
4007
4007
|
}
|
|
4008
4008
|
);
|
|
4009
4009
|
}
|
|
4010
|
-
function
|
|
4010
|
+
function ii(e, t) {
|
|
4011
4011
|
return Promise.all(
|
|
4012
|
-
t.map((n) => (
|
|
4013
|
-
).then((n) =>
|
|
4012
|
+
t.map((n) => (ni(e, n), n().then((s) => s.default || s)))
|
|
4013
|
+
).then((n) => Zr(e, ...n));
|
|
4014
4014
|
}
|
|
4015
|
-
const
|
|
4016
|
-
function
|
|
4017
|
-
if (!
|
|
4018
|
-
return e in
|
|
4019
|
-
const t =
|
|
4020
|
-
return
|
|
4015
|
+
const We = {};
|
|
4016
|
+
function Qr(e) {
|
|
4017
|
+
if (!Dt(e))
|
|
4018
|
+
return e in We ? We[e] : Promise.resolve();
|
|
4019
|
+
const t = si(e);
|
|
4020
|
+
return We[e] = Promise.all(
|
|
4021
4021
|
t.map(
|
|
4022
|
-
([r, n]) =>
|
|
4022
|
+
([r, n]) => ii(r, n)
|
|
4023
4023
|
)
|
|
4024
4024
|
).then(() => {
|
|
4025
|
-
if (
|
|
4026
|
-
return
|
|
4027
|
-
delete
|
|
4028
|
-
}),
|
|
4025
|
+
if (Dt(e))
|
|
4026
|
+
return Qr(e);
|
|
4027
|
+
delete We[e];
|
|
4028
|
+
}), We[e];
|
|
4029
4029
|
}
|
|
4030
|
-
const
|
|
4030
|
+
const oi = {
|
|
4031
4031
|
number: {
|
|
4032
4032
|
scientific: { notation: "scientific" },
|
|
4033
4033
|
engineering: { notation: "engineering" },
|
|
@@ -4056,159 +4056,159 @@ const Qs = {
|
|
|
4056
4056
|
timeZoneName: "short"
|
|
4057
4057
|
}
|
|
4058
4058
|
}
|
|
4059
|
-
},
|
|
4059
|
+
}, ai = {
|
|
4060
4060
|
fallbackLocale: null,
|
|
4061
4061
|
loadingDelay: 200,
|
|
4062
|
-
formats:
|
|
4062
|
+
formats: oi,
|
|
4063
4063
|
warnOnMissingMessages: !0,
|
|
4064
4064
|
handleMissingMessage: void 0,
|
|
4065
4065
|
ignoreTag: !0
|
|
4066
|
-
},
|
|
4067
|
-
function
|
|
4068
|
-
return
|
|
4066
|
+
}, li = ai;
|
|
4067
|
+
function Le() {
|
|
4068
|
+
return li;
|
|
4069
4069
|
}
|
|
4070
|
-
const
|
|
4071
|
-
var
|
|
4070
|
+
const Et = ft(!1);
|
|
4071
|
+
var ui = Object.defineProperty, hi = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, ur = Object.getOwnPropertySymbols, fi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
|
|
4072
4072
|
for (var r in t || (t = {}))
|
|
4073
|
-
|
|
4074
|
-
if (
|
|
4075
|
-
for (var r of
|
|
4076
|
-
|
|
4073
|
+
fi.call(t, r) && hr(e, r, t[r]);
|
|
4074
|
+
if (ur)
|
|
4075
|
+
for (var r of ur(t))
|
|
4076
|
+
di.call(t, r) && hr(e, r, t[r]);
|
|
4077
4077
|
return e;
|
|
4078
|
-
},
|
|
4079
|
-
let
|
|
4080
|
-
const
|
|
4081
|
-
function
|
|
4078
|
+
}, mi = (e, t) => hi(e, ci(t));
|
|
4079
|
+
let Gt;
|
|
4080
|
+
const ut = ft(null);
|
|
4081
|
+
function cr(e) {
|
|
4082
4082
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4083
4083
|
}
|
|
4084
|
-
function
|
|
4085
|
-
const r =
|
|
4086
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4084
|
+
function mt(e, t = Le().fallbackLocale) {
|
|
4085
|
+
const r = cr(e);
|
|
4086
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
|
|
4087
4087
|
}
|
|
4088
|
-
function
|
|
4089
|
-
return
|
|
4088
|
+
function _e() {
|
|
4089
|
+
return Gt ?? void 0;
|
|
4090
4090
|
}
|
|
4091
|
-
|
|
4092
|
-
|
|
4091
|
+
ut.subscribe((e) => {
|
|
4092
|
+
Gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4093
4093
|
});
|
|
4094
|
-
const
|
|
4095
|
-
if (e &&
|
|
4096
|
-
const { loadingDelay: t } =
|
|
4094
|
+
const gi = (e) => {
|
|
4095
|
+
if (e && ri(e) && Dt(e)) {
|
|
4096
|
+
const { loadingDelay: t } = Le();
|
|
4097
4097
|
let r;
|
|
4098
|
-
return typeof window < "u" &&
|
|
4099
|
-
() =>
|
|
4098
|
+
return typeof window < "u" && _e() != null && t ? r = window.setTimeout(
|
|
4099
|
+
() => Et.set(!0),
|
|
4100
4100
|
t
|
|
4101
|
-
) :
|
|
4102
|
-
|
|
4101
|
+
) : Et.set(!0), Qr(e).then(() => {
|
|
4102
|
+
ut.set(e);
|
|
4103
4103
|
}).finally(() => {
|
|
4104
|
-
clearTimeout(r),
|
|
4104
|
+
clearTimeout(r), Et.set(!1);
|
|
4105
4105
|
});
|
|
4106
4106
|
}
|
|
4107
|
-
return
|
|
4108
|
-
},
|
|
4109
|
-
set:
|
|
4110
|
-
}),
|
|
4107
|
+
return ut.set(e);
|
|
4108
|
+
}, Ue = mi(pi({}, ut), {
|
|
4109
|
+
set: gi
|
|
4110
|
+
}), gt = (e) => {
|
|
4111
4111
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4112
4112
|
return (n) => {
|
|
4113
4113
|
const s = JSON.stringify(n);
|
|
4114
4114
|
return s in t ? t[s] : t[s] = e(n);
|
|
4115
4115
|
};
|
|
4116
4116
|
};
|
|
4117
|
-
var
|
|
4117
|
+
var bi = Object.defineProperty, ht = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
4118
4118
|
for (var r in t || (t = {}))
|
|
4119
|
-
|
|
4120
|
-
if (
|
|
4121
|
-
for (var r of
|
|
4122
|
-
|
|
4119
|
+
qr.call(t, r) && fr(e, r, t[r]);
|
|
4120
|
+
if (ht)
|
|
4121
|
+
for (var r of ht(t))
|
|
4122
|
+
Jr.call(t, r) && fr(e, r, t[r]);
|
|
4123
4123
|
return e;
|
|
4124
|
-
},
|
|
4124
|
+
}, De = (e, t) => {
|
|
4125
4125
|
var r = {};
|
|
4126
4126
|
for (var n in e)
|
|
4127
|
-
|
|
4128
|
-
if (e != null &&
|
|
4129
|
-
for (var n of
|
|
4130
|
-
t.indexOf(n) < 0 &&
|
|
4127
|
+
qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4128
|
+
if (e != null && ht)
|
|
4129
|
+
for (var n of ht(e))
|
|
4130
|
+
t.indexOf(n) < 0 && Jr.call(e, n) && (r[n] = e[n]);
|
|
4131
4131
|
return r;
|
|
4132
4132
|
};
|
|
4133
|
-
const
|
|
4134
|
-
const { formats: r } =
|
|
4133
|
+
const Qe = (e, t) => {
|
|
4134
|
+
const { formats: r } = Le();
|
|
4135
4135
|
if (e in r && t in r[e])
|
|
4136
4136
|
return r[e][t];
|
|
4137
4137
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4138
|
-
},
|
|
4138
|
+
}, wi = gt(
|
|
4139
4139
|
(e) => {
|
|
4140
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4140
|
+
var t = e, { locale: r, format: n } = t, s = De(t, ["locale", "format"]);
|
|
4141
4141
|
if (r == null)
|
|
4142
4142
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4143
|
-
return n && (s =
|
|
4143
|
+
return n && (s = Qe("number", n)), new Intl.NumberFormat(r, s);
|
|
4144
4144
|
}
|
|
4145
|
-
),
|
|
4145
|
+
), vi = gt(
|
|
4146
4146
|
(e) => {
|
|
4147
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4147
|
+
var t = e, { locale: r, format: n } = t, s = De(t, ["locale", "format"]);
|
|
4148
4148
|
if (r == null)
|
|
4149
4149
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4150
|
-
return n ? s =
|
|
4150
|
+
return n ? s = Qe("date", n) : Object.keys(s).length === 0 && (s = Qe("date", "short")), new Intl.DateTimeFormat(r, s);
|
|
4151
4151
|
}
|
|
4152
|
-
),
|
|
4152
|
+
), yi = gt(
|
|
4153
4153
|
(e) => {
|
|
4154
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4154
|
+
var t = e, { locale: r, format: n } = t, s = De(t, ["locale", "format"]);
|
|
4155
4155
|
if (r == null)
|
|
4156
4156
|
throw new Error(
|
|
4157
4157
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4158
4158
|
);
|
|
4159
|
-
return n ? s =
|
|
4159
|
+
return n ? s = Qe("time", n) : Object.keys(s).length === 0 && (s = Qe("time", "short")), new Intl.DateTimeFormat(r, s);
|
|
4160
4160
|
}
|
|
4161
|
-
),
|
|
4161
|
+
), _i = (e = {}) => {
|
|
4162
4162
|
var t = e, {
|
|
4163
|
-
locale: r =
|
|
4164
|
-
} = t, n =
|
|
4163
|
+
locale: r = _e()
|
|
4164
|
+
} = t, n = De(t, [
|
|
4165
4165
|
"locale"
|
|
4166
4166
|
]);
|
|
4167
|
-
return
|
|
4168
|
-
},
|
|
4167
|
+
return wi(Vt({ locale: r }, n));
|
|
4168
|
+
}, Pi = (e = {}) => {
|
|
4169
4169
|
var t = e, {
|
|
4170
|
-
locale: r =
|
|
4171
|
-
} = t, n =
|
|
4170
|
+
locale: r = _e()
|
|
4171
|
+
} = t, n = De(t, [
|
|
4172
4172
|
"locale"
|
|
4173
4173
|
]);
|
|
4174
|
-
return
|
|
4175
|
-
},
|
|
4174
|
+
return vi(Vt({ locale: r }, n));
|
|
4175
|
+
}, xi = (e = {}) => {
|
|
4176
4176
|
var t = e, {
|
|
4177
|
-
locale: r =
|
|
4178
|
-
} = t, n =
|
|
4177
|
+
locale: r = _e()
|
|
4178
|
+
} = t, n = De(t, [
|
|
4179
4179
|
"locale"
|
|
4180
4180
|
]);
|
|
4181
|
-
return
|
|
4182
|
-
},
|
|
4181
|
+
return yi(Vt({ locale: r }, n));
|
|
4182
|
+
}, Ei = gt(
|
|
4183
4183
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4184
|
-
(e, t =
|
|
4185
|
-
ignoreTag:
|
|
4184
|
+
(e, t = _e()) => new qs(e, t, Le().formats, {
|
|
4185
|
+
ignoreTag: Le().ignoreTag
|
|
4186
4186
|
})
|
|
4187
|
-
),
|
|
4187
|
+
), Ti = (e, t = {}) => {
|
|
4188
4188
|
var r, n, s, i;
|
|
4189
|
-
let
|
|
4190
|
-
typeof e == "object" && (
|
|
4189
|
+
let o = t;
|
|
4190
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
4191
4191
|
const {
|
|
4192
|
-
values:
|
|
4193
|
-
locale:
|
|
4194
|
-
default:
|
|
4195
|
-
} =
|
|
4196
|
-
if (
|
|
4192
|
+
values: a,
|
|
4193
|
+
locale: h = _e(),
|
|
4194
|
+
default: u
|
|
4195
|
+
} = o;
|
|
4196
|
+
if (h == null)
|
|
4197
4197
|
throw new Error(
|
|
4198
4198
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4199
4199
|
);
|
|
4200
|
-
let c =
|
|
4200
|
+
let c = Wr(e, h);
|
|
4201
4201
|
if (!c)
|
|
4202
|
-
c = (i = (s = (n = (r =
|
|
4202
|
+
c = (i = (s = (n = (r = Le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? s : u) != null ? i : e;
|
|
4203
4203
|
else if (typeof c != "string")
|
|
4204
4204
|
return console.warn(
|
|
4205
4205
|
`[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.`
|
|
4206
4206
|
), c;
|
|
4207
|
-
if (!
|
|
4207
|
+
if (!a)
|
|
4208
4208
|
return c;
|
|
4209
4209
|
let d = c;
|
|
4210
4210
|
try {
|
|
4211
|
-
d =
|
|
4211
|
+
d = Ei(c, h).format(a);
|
|
4212
4212
|
} catch (p) {
|
|
4213
4213
|
p instanceof Error && console.warn(
|
|
4214
4214
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4216,21 +4216,49 @@ const ze = (e, t) => {
|
|
|
4216
4216
|
);
|
|
4217
4217
|
}
|
|
4218
4218
|
return d;
|
|
4219
|
-
},
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
window.emWidgets = { topic:
|
|
4225
|
-
const
|
|
4219
|
+
}, Ci = (e, t) => xi(t).format(e), Si = (e, t) => Pi(t).format(e), Bi = (e, t) => _i(t).format(e), Ai = (e, t = _e()) => Wr(e, t), Hi = Fe([Ue, Je], () => Ti);
|
|
4220
|
+
Fe([Ue], () => Ci);
|
|
4221
|
+
Fe([Ue], () => Si);
|
|
4222
|
+
Fe([Ue], () => Bi);
|
|
4223
|
+
Fe([Ue, Je], () => Ai);
|
|
4224
|
+
window.emWidgets = { topic: $n };
|
|
4225
|
+
const Ii = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4226
4226
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4227
|
-
function
|
|
4228
|
-
|
|
4227
|
+
async function Mi(e) {
|
|
4228
|
+
const t = new URL(`${e}/v1/player/legislation/registration/config/`), r = await fetch(t.href, {
|
|
4229
|
+
method: "GET",
|
|
4230
|
+
headers: { "Content-Type": "application/json", Accept: "application/json" }
|
|
4231
|
+
});
|
|
4232
|
+
if (!r.ok)
|
|
4233
|
+
throw new Error(`HTTP error! Status: ${r.status}`);
|
|
4234
|
+
const n = await r.json(), s = Array.isArray(n?.content?.fields) ? n.content.fields.find((u) => u?.name === "Password")?.validate : null;
|
|
4235
|
+
if (!s || typeof s.mandatory != "boolean" || s.type != null && s.type !== "string" || s.custom != null && !Array.isArray(s.custom))
|
|
4236
|
+
throw new Error("Registration password validation is missing or invalid.");
|
|
4237
|
+
const { mandatory: i, minLength: o, maxLength: a } = s;
|
|
4238
|
+
for (const u of [o, a])
|
|
4239
|
+
if (u != null && (!Number.isInteger(u) || u < 0))
|
|
4240
|
+
throw new Error("Registration password length bound is invalid.");
|
|
4241
|
+
if (o != null && a != null && o > a)
|
|
4242
|
+
throw new Error("Registration password length bounds are inconsistent.");
|
|
4243
|
+
const h = [];
|
|
4244
|
+
for (const u of s.custom ?? []) {
|
|
4245
|
+
if (!u || typeof u.rule != "string")
|
|
4246
|
+
throw new Error("Registration password rule is invalid.");
|
|
4247
|
+
if (u.rule === "regex") {
|
|
4248
|
+
if (typeof u.pattern != "string")
|
|
4249
|
+
throw new Error("Registration password regex pattern is invalid.");
|
|
4250
|
+
h.push(new RegExp(u.pattern));
|
|
4251
|
+
}
|
|
4252
|
+
}
|
|
4253
|
+
return (u) => u.length === 0 ? !i : (o == null || u.length >= o) && (a == null || u.length <= a) && h.every((c) => c.test(u));
|
|
4229
4254
|
}
|
|
4230
|
-
function
|
|
4231
|
-
|
|
4255
|
+
function dr(e, t) {
|
|
4256
|
+
Zr(e, t);
|
|
4257
|
+
}
|
|
4258
|
+
function Ni(e) {
|
|
4259
|
+
Ue.set(e);
|
|
4232
4260
|
}
|
|
4233
|
-
const
|
|
4261
|
+
const pr = {
|
|
4234
4262
|
en: {
|
|
4235
4263
|
titleChangePassword: "Change Password",
|
|
4236
4264
|
currentPassword: "Current Password:",
|
|
@@ -4413,14 +4441,14 @@ const cr = {
|
|
|
4413
4441
|
passwordResetConfirmation: "Your password has been reset successfully.",
|
|
4414
4442
|
backButtonText: "Back"
|
|
4415
4443
|
}
|
|
4416
|
-
},
|
|
4417
|
-
function
|
|
4444
|
+
}, He = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4445
|
+
function Oi(e, t) {
|
|
4418
4446
|
if (e) {
|
|
4419
4447
|
const r = document.createElement("style");
|
|
4420
4448
|
r.innerHTML = t, e.appendChild(r);
|
|
4421
4449
|
}
|
|
4422
4450
|
}
|
|
4423
|
-
function
|
|
4451
|
+
function Ri(e, t) {
|
|
4424
4452
|
if (!e || !t)
|
|
4425
4453
|
return;
|
|
4426
4454
|
const r = new URL(t);
|
|
@@ -4431,735 +4459,694 @@ function xi(e, t) {
|
|
|
4431
4459
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4432
4460
|
});
|
|
4433
4461
|
}
|
|
4434
|
-
function
|
|
4462
|
+
function Li(e, t, r, n = !1) {
|
|
4435
4463
|
if (!window.emMessageBus)
|
|
4436
4464
|
return;
|
|
4437
4465
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4438
|
-
return r =
|
|
4439
|
-
window[
|
|
4440
|
-
const i = r.unsubscribe.bind(r),
|
|
4441
|
-
if (window[
|
|
4442
|
-
const
|
|
4443
|
-
|
|
4466
|
+
return r = ki(e, t), r;
|
|
4467
|
+
window[He] || (window[He] = {}), r = Fi(e, t);
|
|
4468
|
+
const i = r.unsubscribe.bind(r), o = () => {
|
|
4469
|
+
if (window[He][t]) {
|
|
4470
|
+
const a = window[He][t];
|
|
4471
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[He][t];
|
|
4444
4472
|
}
|
|
4445
4473
|
i();
|
|
4446
4474
|
};
|
|
4447
|
-
return r.unsubscribe =
|
|
4475
|
+
return r.unsubscribe = o, r;
|
|
4448
4476
|
}
|
|
4449
|
-
function
|
|
4477
|
+
function ki(e, t) {
|
|
4450
4478
|
const r = document.createElement("style");
|
|
4451
4479
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
4452
4480
|
e && (r.innerHTML = n, e.appendChild(r));
|
|
4453
4481
|
});
|
|
4454
4482
|
}
|
|
4455
|
-
function
|
|
4483
|
+
function Fi(e, t) {
|
|
4456
4484
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
4457
4485
|
if (!e)
|
|
4458
4486
|
return;
|
|
4459
|
-
const n = e.getRootNode(), s = window[
|
|
4487
|
+
const n = e.getRootNode(), s = window[He];
|
|
4460
4488
|
let i = s[t] && s[t].sheet;
|
|
4461
4489
|
i ? s[t].refCount = s[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(r), s[t] = {
|
|
4462
4490
|
sheet: i,
|
|
4463
4491
|
refCount: 1
|
|
4464
4492
|
});
|
|
4465
|
-
const
|
|
4466
|
-
|
|
4493
|
+
const o = n.adoptedStyleSheets || [];
|
|
4494
|
+
o.includes(i) || (n.adoptedStyleSheets = [...o, i]);
|
|
4467
4495
|
});
|
|
4468
4496
|
}
|
|
4469
|
-
function
|
|
4470
|
-
|
|
4497
|
+
function Ui(e) {
|
|
4498
|
+
un(e, "svelte-1qk6bmp", '.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, 10px);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:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 10px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;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, 10px);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}');
|
|
4471
4499
|
}
|
|
4472
|
-
function
|
|
4500
|
+
function Di(e) {
|
|
4473
4501
|
let t;
|
|
4474
|
-
function r(i,
|
|
4502
|
+
function r(i, o) {
|
|
4475
4503
|
return (
|
|
4476
4504
|
/*passwordChanged*/
|
|
4477
|
-
i[2] ?
|
|
4505
|
+
i[2] ? Gi : $i
|
|
4478
4506
|
);
|
|
4479
4507
|
}
|
|
4480
4508
|
let n = r(e), s = n(e);
|
|
4481
4509
|
return {
|
|
4482
4510
|
c() {
|
|
4483
4511
|
t = P("form"), s.c(), l(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
|
|
4484
|
-
(e[
|
|
4512
|
+
(e[21] ? "PlayerChangePasswordWrapperMobile" : ""));
|
|
4485
4513
|
},
|
|
4486
|
-
m(i,
|
|
4487
|
-
|
|
4514
|
+
m(i, o) {
|
|
4515
|
+
B(i, t, o), s.m(t, null);
|
|
4488
4516
|
},
|
|
4489
|
-
p(i,
|
|
4490
|
-
n === (n = r(i)) && s ? s.p(i,
|
|
4517
|
+
p(i, o) {
|
|
4518
|
+
n === (n = r(i)) && s ? s.p(i, o) : (s.d(1), s = n(i), s && (s.c(), s.m(t, null)));
|
|
4491
4519
|
},
|
|
4492
4520
|
d(i) {
|
|
4493
|
-
i &&
|
|
4521
|
+
i && S(t), s.d();
|
|
4494
4522
|
}
|
|
4495
4523
|
};
|
|
4496
4524
|
}
|
|
4497
|
-
function
|
|
4525
|
+
function Gi(e) {
|
|
4498
4526
|
let t, r, n, s = (
|
|
4499
4527
|
/*$_*/
|
|
4500
|
-
e[
|
|
4501
|
-
), i, a,
|
|
4528
|
+
e[20]("changePasswordText") + ""
|
|
4529
|
+
), i, o, a, h, u, c, d, p, m = (
|
|
4502
4530
|
/*$_*/
|
|
4503
|
-
e[
|
|
4504
|
-
),
|
|
4531
|
+
e[20]("passwordReset") + ""
|
|
4532
|
+
), y, w, E, _ = (
|
|
4505
4533
|
/*$_*/
|
|
4506
|
-
e[
|
|
4507
|
-
), A, O,
|
|
4534
|
+
e[20]("passwordResetConfirmation") + ""
|
|
4535
|
+
), A, O, U, F = (
|
|
4508
4536
|
/*$_*/
|
|
4509
|
-
e[
|
|
4510
|
-
), M,
|
|
4537
|
+
e[20]("backButtonText") + ""
|
|
4538
|
+
), M, j, K, $ = (
|
|
4511
4539
|
/*isMobile*/
|
|
4512
|
-
e[
|
|
4540
|
+
e[21] && ji(e)
|
|
4513
4541
|
);
|
|
4514
4542
|
return {
|
|
4515
4543
|
c() {
|
|
4516
|
-
$ && $.c(), t =
|
|
4544
|
+
$ && $.c(), t = k(), r = P("div"), n = P("h3"), i = I(s), o = k(), a = P("div"), h = P("div"), u = P("div"), u.innerHTML = '<div class="Checkmark"></div>', c = k(), d = P("div"), p = P("h3"), y = I(m), w = k(), E = P("p"), A = I(_), O = k(), U = P("div"), M = I(F), l(r, "class", "PlayerChangePasswordHeader"), l(u, "class", "IconContainer"), l(d, "class", "TextContainer"), l(h, "class", "SuccessWrapper"), l(U, "class", "PlayerChangePasswordBackButton"), l(a, "class", "ChangedPasswordSuccessfully");
|
|
4517
4545
|
},
|
|
4518
|
-
m(R,
|
|
4519
|
-
$ && $.m(R,
|
|
4520
|
-
|
|
4546
|
+
m(R, H) {
|
|
4547
|
+
$ && $.m(R, H), B(R, t, H), B(R, r, H), f(r, n), f(n, i), B(R, o, H), B(R, a, H), f(a, h), f(h, u), f(h, c), f(h, d), f(d, p), f(p, y), f(d, w), f(d, E), f(E, A), f(a, O), f(a, U), f(U, M), j || (K = q(
|
|
4548
|
+
U,
|
|
4521
4549
|
"click",
|
|
4522
4550
|
/*click_handler_9*/
|
|
4523
|
-
e[
|
|
4524
|
-
),
|
|
4551
|
+
e[53]
|
|
4552
|
+
), j = !0);
|
|
4525
4553
|
},
|
|
4526
|
-
p(R,
|
|
4554
|
+
p(R, H) {
|
|
4527
4555
|
/*isMobile*/
|
|
4528
|
-
R[
|
|
4529
|
-
|
|
4530
|
-
R[
|
|
4531
|
-
|
|
4532
|
-
R[
|
|
4533
|
-
|
|
4534
|
-
R[
|
|
4535
|
-
|
|
4536
|
-
R[
|
|
4556
|
+
R[21] && $.p(R, H), H[0] & /*$_*/
|
|
4557
|
+
1048576 && s !== (s = /*$_*/
|
|
4558
|
+
R[20]("changePasswordText") + "") && G(i, s), H[0] & /*$_*/
|
|
4559
|
+
1048576 && m !== (m = /*$_*/
|
|
4560
|
+
R[20]("passwordReset") + "") && G(y, m), H[0] & /*$_*/
|
|
4561
|
+
1048576 && _ !== (_ = /*$_*/
|
|
4562
|
+
R[20]("passwordResetConfirmation") + "") && G(A, _), H[0] & /*$_*/
|
|
4563
|
+
1048576 && F !== (F = /*$_*/
|
|
4564
|
+
R[20]("backButtonText") + "") && G(M, F);
|
|
4537
4565
|
},
|
|
4538
4566
|
d(R) {
|
|
4539
|
-
R && (
|
|
4567
|
+
R && (S(t), S(r), S(o), S(a)), $ && $.d(R), j = !1, K();
|
|
4540
4568
|
}
|
|
4541
4569
|
};
|
|
4542
4570
|
}
|
|
4543
|
-
function
|
|
4571
|
+
function $i(e) {
|
|
4544
4572
|
let t, r, n = (
|
|
4545
4573
|
/*$_*/
|
|
4546
|
-
e[
|
|
4547
|
-
), s, i, a,
|
|
4574
|
+
e[20]("titleChangePassword") + ""
|
|
4575
|
+
), s, i, o, a, h, u = (
|
|
4548
4576
|
/*$_*/
|
|
4549
|
-
e[
|
|
4550
|
-
), c, d, p, m,
|
|
4577
|
+
e[20]("currentPassword") + ""
|
|
4578
|
+
), c, d, p, m, y, w, E, _, A, O = (
|
|
4551
4579
|
/*$_*/
|
|
4552
|
-
e[
|
|
4553
|
-
),
|
|
4580
|
+
e[20]("newPassword") + ""
|
|
4581
|
+
), U, F, M, j, K, $, R, H, fe, V = (
|
|
4554
4582
|
/*$_*/
|
|
4555
|
-
e[
|
|
4556
|
-
),
|
|
4583
|
+
e[20]("confirmPassword") + ""
|
|
4584
|
+
), D, z, ee, Ge, Pe, ue, de, he, ve, W, ge = (
|
|
4557
4585
|
/*$_*/
|
|
4558
|
-
e[
|
|
4559
|
-
),
|
|
4586
|
+
e[20]("submitChangePassword") + ""
|
|
4587
|
+
), $e, pe, re, ye, je, ie = (
|
|
4560
4588
|
/*isMobile*/
|
|
4561
|
-
e[
|
|
4589
|
+
e[21] && Vi(e)
|
|
4562
4590
|
);
|
|
4563
|
-
function
|
|
4591
|
+
function Ve(b, x) {
|
|
4564
4592
|
return (
|
|
4565
4593
|
/*isCurrentPasswordVisible*/
|
|
4566
|
-
|
|
4594
|
+
b[10] ? Wi : zi
|
|
4567
4595
|
);
|
|
4568
4596
|
}
|
|
4569
|
-
let
|
|
4597
|
+
let xe = Ve(e), te = xe(e), X = (
|
|
4570
4598
|
/*invalidCurrentPassword*/
|
|
4571
|
-
e[4] &&
|
|
4599
|
+
e[4] && mr(e)
|
|
4572
4600
|
);
|
|
4573
|
-
function
|
|
4601
|
+
function Ke(b, x) {
|
|
4574
4602
|
return (
|
|
4575
4603
|
/*isNewPasswordVisible*/
|
|
4576
|
-
|
|
4604
|
+
b[11] ? Qi : Yi
|
|
4577
4605
|
);
|
|
4578
4606
|
}
|
|
4579
|
-
let
|
|
4580
|
-
function
|
|
4607
|
+
let Ee = Ke(e), ne = Ee(e);
|
|
4608
|
+
function et(b, x) {
|
|
4581
4609
|
if (
|
|
4582
4610
|
/*oldPasswordSameAsNew*/
|
|
4583
|
-
|
|
4611
|
+
b[13]
|
|
4584
4612
|
)
|
|
4585
|
-
return
|
|
4613
|
+
return Ji;
|
|
4586
4614
|
if (
|
|
4587
4615
|
/*invalidNewPassword*/
|
|
4588
|
-
|
|
4616
|
+
b[5]
|
|
4589
4617
|
)
|
|
4590
|
-
return
|
|
4618
|
+
return qi;
|
|
4591
4619
|
}
|
|
4592
|
-
let
|
|
4593
|
-
function
|
|
4620
|
+
let be = et(e), Z = be && be(e);
|
|
4621
|
+
function tt(b, x) {
|
|
4594
4622
|
return (
|
|
4595
4623
|
/*isConfirmPasswordVisible*/
|
|
4596
|
-
|
|
4624
|
+
b[12] ? ro : to
|
|
4597
4625
|
);
|
|
4598
4626
|
}
|
|
4599
|
-
let
|
|
4627
|
+
let Te = tt(e), se = Te(e), Y = (
|
|
4600
4628
|
/*invalidConfirmPassword*/
|
|
4601
|
-
e[6] &&
|
|
4602
|
-
),
|
|
4629
|
+
e[6] && gr(e)
|
|
4630
|
+
), Q = (
|
|
4603
4631
|
/*showErrorPasswordChanged*/
|
|
4604
|
-
e[18] &&
|
|
4632
|
+
e[18] && br(e)
|
|
4605
4633
|
);
|
|
4606
4634
|
return {
|
|
4607
4635
|
c() {
|
|
4608
|
-
|
|
4609
|
-
(e[
|
|
4610
|
-
(e[4] ? "InvalidField" : "")), l(A, "for", "NewPassword"), l(M, "id", "NewPassword"), l(M, "autocomplete", "new-password"), l(M, "type", "password"), l(
|
|
4611
|
-
(e[5] ? "InvalidField" : "")), l(
|
|
4612
|
-
(e[6] ? "InvalidField" : "")), l(
|
|
4613
|
-
(e[3] ? "" : "ButtonInactive")),
|
|
4614
|
-
e[3], l(
|
|
4636
|
+
ie && ie.c(), t = k(), r = P("h2"), s = I(n), i = k(), o = P("section"), a = P("div"), h = P("label"), c = I(u), d = k(), p = P("input"), m = k(), te.c(), y = k(), X && X.c(), E = k(), _ = P("div"), A = P("label"), U = I(O), F = k(), M = P("input"), j = k(), ne.c(), K = k(), Z && Z.c(), R = k(), H = P("div"), fe = P("label"), D = I(V), z = k(), ee = P("input"), Ge = k(), se.c(), Pe = k(), Y && Y.c(), de = k(), Q && Q.c(), he = k(), ve = P("section"), W = P("button"), $e = I(ge), l(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4637
|
+
(e[21] ? "ChangePasswordTitleNone" : "")), l(h, "for", "CurrentPassword"), l(p, "id", "CurrentPassword"), l(p, "type", "password"), l(a, "class", w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4638
|
+
(e[4] ? "InvalidField" : "")), l(A, "for", "NewPassword"), l(M, "id", "NewPassword"), l(M, "autocomplete", "new-password"), l(M, "type", "password"), l(_, "class", $ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4639
|
+
(e[5] ? "InvalidField" : "")), l(fe, "for", "ConfirmPassword"), l(ee, "id", "ConfirmPassword"), l(ee, "type", "password"), l(H, "class", ue = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4640
|
+
(e[6] ? "InvalidField" : "")), l(o, "class", "PlayerChangePasswordContent"), l(W, "class", pe = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4641
|
+
(e[3] ? "" : "ButtonInactive")), W.disabled = re = !/*activateSubmit*/
|
|
4642
|
+
e[3], l(ve, "class", "PlayerChangePasswordButtonsArea");
|
|
4615
4643
|
},
|
|
4616
|
-
m(
|
|
4617
|
-
|
|
4644
|
+
m(b, x) {
|
|
4645
|
+
ie && ie.m(b, x), B(b, t, x), B(b, r, x), f(r, s), B(b, i, x), B(b, o, x), f(o, a), f(a, h), f(h, c), f(a, d), f(a, p), Ce(
|
|
4618
4646
|
p,
|
|
4619
4647
|
/*userCurrentPassword*/
|
|
4620
4648
|
e[14]
|
|
4621
|
-
), e[
|
|
4649
|
+
), e[38](p), f(a, m), te.m(a, null), f(a, y), X && X.m(a, null), f(o, E), f(o, _), f(_, A), f(A, U), f(_, F), f(_, M), Ce(
|
|
4622
4650
|
M,
|
|
4623
4651
|
/*userNewPassword*/
|
|
4624
4652
|
e[15]
|
|
4625
|
-
), e[
|
|
4626
|
-
|
|
4653
|
+
), e[43](M), f(_, j), ne.m(_, null), f(_, K), Z && Z.m(_, null), f(o, R), f(o, H), f(H, fe), f(fe, D), f(H, z), f(H, ee), Ce(
|
|
4654
|
+
ee,
|
|
4627
4655
|
/*userConfirmPassword*/
|
|
4628
4656
|
e[16]
|
|
4629
|
-
), e[
|
|
4630
|
-
|
|
4657
|
+
), e[48](ee), f(H, Ge), se.m(H, null), f(H, Pe), Y && Y.m(H, null), B(b, de, x), Q && Q.m(b, x), B(b, he, x), B(b, ve, x), f(ve, W), f(W, $e), ye || (je = [
|
|
4658
|
+
q(
|
|
4631
4659
|
p,
|
|
4632
4660
|
"input",
|
|
4633
4661
|
/*input0_input_handler*/
|
|
4634
|
-
e[
|
|
4662
|
+
e[36]
|
|
4635
4663
|
),
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
e[14],
|
|
4644
|
-
/*currentPasswordVisibilityToggle*/
|
|
4645
|
-
e[7]
|
|
4646
|
-
)
|
|
4647
|
-
) && e[22](
|
|
4648
|
-
/*invalidCurrentPassword*/
|
|
4649
|
-
e[4],
|
|
4650
|
-
/*userCurrentPassword*/
|
|
4651
|
-
e[14],
|
|
4652
|
-
/*currentPasswordVisibilityToggle*/
|
|
4653
|
-
e[7]
|
|
4654
|
-
).apply(this, arguments);
|
|
4655
|
-
}),
|
|
4656
|
-
z(
|
|
4664
|
+
q(
|
|
4665
|
+
p,
|
|
4666
|
+
"blur",
|
|
4667
|
+
/*blur_handler*/
|
|
4668
|
+
e[37]
|
|
4669
|
+
),
|
|
4670
|
+
q(
|
|
4657
4671
|
M,
|
|
4658
4672
|
"input",
|
|
4659
4673
|
/*input1_input_handler*/
|
|
4660
|
-
e[
|
|
4674
|
+
e[41]
|
|
4661
4675
|
),
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
/*newPasswordVisibilityToggle*/
|
|
4671
|
-
e[8]
|
|
4672
|
-
)
|
|
4673
|
-
) && e[22](
|
|
4674
|
-
/*invalidNewPassword*/
|
|
4675
|
-
e[5],
|
|
4676
|
-
/*userNewPassword*/
|
|
4677
|
-
e[15],
|
|
4678
|
-
/*newPasswordVisibilityToggle*/
|
|
4679
|
-
e[8]
|
|
4680
|
-
).apply(this, arguments);
|
|
4681
|
-
}),
|
|
4682
|
-
z(
|
|
4683
|
-
Y,
|
|
4676
|
+
q(
|
|
4677
|
+
M,
|
|
4678
|
+
"blur",
|
|
4679
|
+
/*blur_handler_1*/
|
|
4680
|
+
e[42]
|
|
4681
|
+
),
|
|
4682
|
+
q(
|
|
4683
|
+
ee,
|
|
4684
4684
|
"input",
|
|
4685
4685
|
/*input2_input_handler*/
|
|
4686
|
-
e[
|
|
4686
|
+
e[46]
|
|
4687
4687
|
),
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
/*confirmPasswordVisibilityToggle*/
|
|
4697
|
-
e[9]
|
|
4698
|
-
)
|
|
4699
|
-
) && e[22](
|
|
4700
|
-
/*invalidConfirmPassword*/
|
|
4701
|
-
e[6],
|
|
4702
|
-
/*userConfirmPassword*/
|
|
4703
|
-
e[16],
|
|
4704
|
-
/*confirmPasswordVisibilityToggle*/
|
|
4705
|
-
e[9]
|
|
4706
|
-
).apply(this, arguments);
|
|
4707
|
-
}),
|
|
4708
|
-
z(
|
|
4709
|
-
re,
|
|
4688
|
+
q(
|
|
4689
|
+
ee,
|
|
4690
|
+
"blur",
|
|
4691
|
+
/*blur_handler_2*/
|
|
4692
|
+
e[47]
|
|
4693
|
+
),
|
|
4694
|
+
q(
|
|
4695
|
+
W,
|
|
4710
4696
|
"click",
|
|
4711
4697
|
/*click_handler_7*/
|
|
4712
|
-
e[
|
|
4698
|
+
e[51]
|
|
4713
4699
|
)
|
|
4714
|
-
],
|
|
4700
|
+
], ye = !0);
|
|
4715
4701
|
},
|
|
4716
|
-
p(
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4702
|
+
p(b, x) {
|
|
4703
|
+
/*isMobile*/
|
|
4704
|
+
b[21] && ie.p(b, x), x[0] & /*$_*/
|
|
4705
|
+
1048576 && n !== (n = /*$_*/
|
|
4706
|
+
b[20]("titleChangePassword") + "") && G(s, n), x[0] & /*$_*/
|
|
4707
|
+
1048576 && u !== (u = /*$_*/
|
|
4708
|
+
b[20]("currentPassword") + "") && G(c, u), x[0] & /*userCurrentPassword*/
|
|
4723
4709
|
16384 && p.value !== /*userCurrentPassword*/
|
|
4724
|
-
|
|
4710
|
+
b[14] && Ce(
|
|
4725
4711
|
p,
|
|
4726
4712
|
/*userCurrentPassword*/
|
|
4727
|
-
|
|
4728
|
-
),
|
|
4729
|
-
|
|
4730
|
-
16 &&
|
|
4731
|
-
(
|
|
4732
|
-
|
|
4733
|
-
|
|
4713
|
+
b[14]
|
|
4714
|
+
), xe === (xe = Ve(b)) && te ? te.p(b, x) : (te.d(1), te = xe(b), te && (te.c(), te.m(a, y))), /*invalidCurrentPassword*/
|
|
4715
|
+
b[4] ? X ? X.p(b, x) : (X = mr(b), X.c(), X.m(a, null)) : X && (X.d(1), X = null), x[0] & /*invalidCurrentPassword*/
|
|
4716
|
+
16 && w !== (w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4717
|
+
(b[4] ? "InvalidField" : "")) && l(a, "class", w), x[0] & /*$_*/
|
|
4718
|
+
1048576 && O !== (O = /*$_*/
|
|
4719
|
+
b[20]("newPassword") + "") && G(U, O), x[0] & /*userNewPassword*/
|
|
4734
4720
|
32768 && M.value !== /*userNewPassword*/
|
|
4735
|
-
|
|
4721
|
+
b[15] && Ce(
|
|
4736
4722
|
M,
|
|
4737
4723
|
/*userNewPassword*/
|
|
4738
|
-
|
|
4739
|
-
),
|
|
4724
|
+
b[15]
|
|
4725
|
+
), Ee === (Ee = Ke(b)) && ne ? ne.p(b, x) : (ne.d(1), ne = Ee(b), ne && (ne.c(), ne.m(_, K))), be === (be = et(b)) && Z ? Z.p(b, x) : (Z && Z.d(1), Z = be && be(b), Z && (Z.c(), Z.m(_, null))), x[0] & /*invalidNewPassword*/
|
|
4740
4726
|
32 && $ !== ($ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4741
|
-
(
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
65536 &&
|
|
4745
|
-
|
|
4746
|
-
|
|
4727
|
+
(b[5] ? "InvalidField" : "")) && l(_, "class", $), x[0] & /*$_*/
|
|
4728
|
+
1048576 && V !== (V = /*$_*/
|
|
4729
|
+
b[20]("confirmPassword") + "") && G(D, V), x[0] & /*userConfirmPassword*/
|
|
4730
|
+
65536 && ee.value !== /*userConfirmPassword*/
|
|
4731
|
+
b[16] && Ce(
|
|
4732
|
+
ee,
|
|
4747
4733
|
/*userConfirmPassword*/
|
|
4748
|
-
|
|
4749
|
-
),
|
|
4750
|
-
|
|
4751
|
-
64 &&
|
|
4752
|
-
(
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
8 &&
|
|
4757
|
-
(
|
|
4758
|
-
8 &&
|
|
4759
|
-
|
|
4734
|
+
b[16]
|
|
4735
|
+
), Te === (Te = tt(b)) && se ? se.p(b, x) : (se.d(1), se = Te(b), se && (se.c(), se.m(H, Pe))), /*invalidConfirmPassword*/
|
|
4736
|
+
b[6] ? Y ? Y.p(b, x) : (Y = gr(b), Y.c(), Y.m(H, null)) : Y && (Y.d(1), Y = null), x[0] & /*invalidConfirmPassword*/
|
|
4737
|
+
64 && ue !== (ue = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4738
|
+
(b[6] ? "InvalidField" : "")) && l(H, "class", ue), /*showErrorPasswordChanged*/
|
|
4739
|
+
b[18] ? Q ? Q.p(b, x) : (Q = br(b), Q.c(), Q.m(he.parentNode, he)) : Q && (Q.d(1), Q = null), x[0] & /*$_*/
|
|
4740
|
+
1048576 && ge !== (ge = /*$_*/
|
|
4741
|
+
b[20]("submitChangePassword") + "") && G($e, ge), x[0] & /*activateSubmit*/
|
|
4742
|
+
8 && pe !== (pe = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4743
|
+
(b[3] ? "" : "ButtonInactive")) && l(W, "class", pe), x[0] & /*activateSubmit*/
|
|
4744
|
+
8 && re !== (re = !/*activateSubmit*/
|
|
4745
|
+
b[3]) && (W.disabled = re);
|
|
4760
4746
|
},
|
|
4761
|
-
d(
|
|
4762
|
-
|
|
4747
|
+
d(b) {
|
|
4748
|
+
b && (S(t), S(r), S(i), S(o), S(de), S(he), S(ve)), ie && ie.d(b), e[38](null), te.d(), X && X.d(), e[43](null), ne.d(), Z && Z.d(), e[48](null), se.d(), Y && Y.d(), Q && Q.d(b), ye = !1, ke(je);
|
|
4763
4749
|
}
|
|
4764
4750
|
};
|
|
4765
4751
|
}
|
|
4766
|
-
function
|
|
4767
|
-
let t, r, n, s, i, a,
|
|
4752
|
+
function ji(e) {
|
|
4753
|
+
let t, r, n, s, i, o, a, h, u, c, d = (
|
|
4768
4754
|
/*$_*/
|
|
4769
|
-
e[
|
|
4770
|
-
), p, m,
|
|
4755
|
+
e[20]("returnToMenu") + ""
|
|
4756
|
+
), p, m, y;
|
|
4771
4757
|
return {
|
|
4772
4758
|
c() {
|
|
4773
|
-
t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"),
|
|
4759
|
+
t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), o = g("g"), a = g("g"), h = g("path"), u = k(), c = P("span"), p = I(d), l(h, "class", "aaa"), l(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), l(h, "transform", "translate(15 15) rotate(180)"), l(a, "transform", "translate(20 158)"), l(o, "transform", "translate(-20 -158)"), l(r, "xmlns", "http://www.w3.org/2000/svg"), l(r, "width", "15"), l(r, "height", "15"), l(r, "viewBox", "0 0 15 15"), l(t, "class", "MenuReturnButton");
|
|
4774
4760
|
},
|
|
4775
|
-
m(
|
|
4776
|
-
|
|
4761
|
+
m(w, E) {
|
|
4762
|
+
B(w, t, E), f(t, r), f(r, n), f(n, s), f(s, i), f(r, o), f(o, a), f(a, h), f(t, u), f(t, c), f(c, p), m || (y = q(
|
|
4777
4763
|
t,
|
|
4778
4764
|
"click",
|
|
4779
4765
|
/*click_handler_8*/
|
|
4780
|
-
e[
|
|
4766
|
+
e[52]
|
|
4781
4767
|
), m = !0);
|
|
4782
4768
|
},
|
|
4783
|
-
p(
|
|
4769
|
+
p(w, E) {
|
|
4784
4770
|
E[0] & /*$_*/
|
|
4785
|
-
|
|
4786
|
-
|
|
4771
|
+
1048576 && d !== (d = /*$_*/
|
|
4772
|
+
w[20]("returnToMenu") + "") && G(p, d);
|
|
4787
4773
|
},
|
|
4788
|
-
d(
|
|
4789
|
-
|
|
4774
|
+
d(w) {
|
|
4775
|
+
w && S(t), m = !1, y();
|
|
4790
4776
|
}
|
|
4791
4777
|
};
|
|
4792
4778
|
}
|
|
4793
|
-
function
|
|
4794
|
-
let t, r, n, s, i, a,
|
|
4779
|
+
function Vi(e) {
|
|
4780
|
+
let t, r, n, s, i, o, a, h, u, c, d = (
|
|
4795
4781
|
/*$_*/
|
|
4796
|
-
e[
|
|
4797
|
-
), p, m,
|
|
4782
|
+
e[20]("titleChangePassword") + ""
|
|
4783
|
+
), p, m, y;
|
|
4798
4784
|
return {
|
|
4799
4785
|
c() {
|
|
4800
|
-
t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"),
|
|
4786
|
+
t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), o = g("g"), a = g("g"), h = g("path"), u = k(), c = P("h2"), p = I(d), l(h, "class", "aaa"), l(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), l(h, "transform", "translate(15 15) rotate(180)"), l(a, "transform", "translate(20 158)"), l(o, "transform", "translate(-20 -158)"), l(r, "xmlns", "http://www.w3.org/2000/svg"), l(r, "width", "15"), l(r, "height", "15"), l(r, "viewBox", "0 0 15 15"), l(c, "class", "ChangePasswordTitleMobile"), l(t, "class", "MenuReturnButton");
|
|
4801
4787
|
},
|
|
4802
|
-
m(
|
|
4803
|
-
|
|
4788
|
+
m(w, E) {
|
|
4789
|
+
B(w, t, E), f(t, r), f(r, n), f(n, s), f(s, i), f(r, o), f(o, a), f(a, h), f(t, u), f(t, c), f(c, p), m || (y = q(
|
|
4804
4790
|
t,
|
|
4805
4791
|
"click",
|
|
4806
4792
|
/*click_handler*/
|
|
4807
|
-
e[
|
|
4793
|
+
e[35]
|
|
4808
4794
|
), m = !0);
|
|
4809
4795
|
},
|
|
4810
|
-
p(
|
|
4796
|
+
p(w, E) {
|
|
4811
4797
|
E[0] & /*$_*/
|
|
4812
|
-
|
|
4813
|
-
|
|
4798
|
+
1048576 && d !== (d = /*$_*/
|
|
4799
|
+
w[20]("titleChangePassword") + "") && G(p, d);
|
|
4814
4800
|
},
|
|
4815
|
-
d(
|
|
4816
|
-
|
|
4801
|
+
d(w) {
|
|
4802
|
+
w && S(t), m = !1, y();
|
|
4817
4803
|
}
|
|
4818
4804
|
};
|
|
4819
4805
|
}
|
|
4820
|
-
function
|
|
4821
|
-
let t, r, n, s, i, a,
|
|
4806
|
+
function zi(e) {
|
|
4807
|
+
let t, r, n, s, i, o, a, h, u, c;
|
|
4822
4808
|
return {
|
|
4823
4809
|
c() {
|
|
4824
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
4810
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("path"), a = g("circle"), l(o, "class", "a"), l(o, "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"), l(o, "transform", "translate(0)"), l(a, "class", "a"), l(a, "cx", "2.779"), l(a, "cy", "2.779"), l(a, "r", "2.779"), l(a, "transform", "translate(20.827 30.303)"), l(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", h = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4825
4811
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4826
|
-
(e[
|
|
4812
|
+
(e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
|
|
4827
4813
|
},
|
|
4828
4814
|
m(d, p) {
|
|
4829
|
-
|
|
4815
|
+
B(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), u || (c = q(
|
|
4830
4816
|
t,
|
|
4831
4817
|
"click",
|
|
4832
4818
|
/*click_handler_2*/
|
|
4833
|
-
e[
|
|
4834
|
-
),
|
|
4819
|
+
e[40]
|
|
4820
|
+
), u = !0);
|
|
4835
4821
|
},
|
|
4836
4822
|
p(d, p) {
|
|
4837
4823
|
p[0] & /*invalidCurrentPassword*/
|
|
4838
|
-
16 &&
|
|
4824
|
+
16 && h !== (h = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4839
4825
|
(d[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4840
|
-
(d[
|
|
4826
|
+
(d[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", h);
|
|
4841
4827
|
},
|
|
4842
4828
|
d(d) {
|
|
4843
|
-
d &&
|
|
4829
|
+
d && S(t), u = !1, c();
|
|
4844
4830
|
}
|
|
4845
4831
|
};
|
|
4846
4832
|
}
|
|
4847
|
-
function
|
|
4848
|
-
let t, r, n, s, i, a,
|
|
4833
|
+
function Wi(e) {
|
|
4834
|
+
let t, r, n, s, i, o, a, h, u, c, d, p, m, y, w, E;
|
|
4849
4835
|
return {
|
|
4850
4836
|
c() {
|
|
4851
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
4837
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("circle"), a = g("g"), h = g("path"), u = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(o, "class", "a"), l(o, "cx", "0.05"), l(o, "cy", "0.05"), l(o, "r", "0.05"), l(o, "transform", "translate(121.017 31.148)"), l(h, "class", "a"), l(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(h, "transform", "translate(-142.164 -39.123)"), l(u, "class", "a"), l(u, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(u, "transform", "translate(-136.413 -42.068)"), l(a, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "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"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(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"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", y = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4852
4838
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4853
|
-
(e[
|
|
4839
|
+
(e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
|
|
4854
4840
|
},
|
|
4855
|
-
m(
|
|
4856
|
-
|
|
4841
|
+
m(_, A) {
|
|
4842
|
+
B(_, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), f(a, h), f(a, u), f(i, c), f(c, d), f(c, p), f(i, m), w || (E = q(
|
|
4857
4843
|
t,
|
|
4858
4844
|
"click",
|
|
4859
4845
|
/*click_handler_1*/
|
|
4860
|
-
e[
|
|
4861
|
-
),
|
|
4846
|
+
e[39]
|
|
4847
|
+
), w = !0);
|
|
4862
4848
|
},
|
|
4863
|
-
p(
|
|
4849
|
+
p(_, A) {
|
|
4864
4850
|
A[0] & /*invalidCurrentPassword*/
|
|
4865
|
-
16 &&
|
|
4866
|
-
(
|
|
4867
|
-
(
|
|
4851
|
+
16 && y !== (y = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4852
|
+
(_[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4853
|
+
(_[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", y);
|
|
4868
4854
|
},
|
|
4869
|
-
d(
|
|
4870
|
-
|
|
4855
|
+
d(_) {
|
|
4856
|
+
_ && S(t), w = !1, E();
|
|
4871
4857
|
}
|
|
4872
4858
|
};
|
|
4873
4859
|
}
|
|
4874
|
-
function
|
|
4860
|
+
function mr(e) {
|
|
4875
4861
|
let t;
|
|
4876
|
-
function r(i,
|
|
4862
|
+
function r(i, o) {
|
|
4877
4863
|
return (
|
|
4878
4864
|
/*simplepasswordvalidation*/
|
|
4879
|
-
i[0] == "true" ?
|
|
4865
|
+
i[0] == "true" ? Zi : Xi
|
|
4880
4866
|
);
|
|
4881
4867
|
}
|
|
4882
4868
|
let n = r(e), s = n(e);
|
|
4883
4869
|
return {
|
|
4884
4870
|
c() {
|
|
4885
|
-
s.c(), t =
|
|
4871
|
+
s.c(), t = _r();
|
|
4886
4872
|
},
|
|
4887
|
-
m(i,
|
|
4888
|
-
s.m(i,
|
|
4873
|
+
m(i, o) {
|
|
4874
|
+
s.m(i, o), B(i, t, o);
|
|
4889
4875
|
},
|
|
4890
|
-
p(i,
|
|
4891
|
-
n === (n = r(i)) && s ? s.p(i,
|
|
4876
|
+
p(i, o) {
|
|
4877
|
+
n === (n = r(i)) && s ? s.p(i, o) : (s.d(1), s = n(i), s && (s.c(), s.m(t.parentNode, t)));
|
|
4892
4878
|
},
|
|
4893
4879
|
d(i) {
|
|
4894
|
-
i &&
|
|
4880
|
+
i && S(t), s.d(i);
|
|
4895
4881
|
}
|
|
4896
4882
|
};
|
|
4897
4883
|
}
|
|
4898
|
-
function
|
|
4884
|
+
function Xi(e) {
|
|
4899
4885
|
let t, r = (
|
|
4900
4886
|
/*$_*/
|
|
4901
|
-
e[
|
|
4887
|
+
e[20]("invalidPasswordRule") + ""
|
|
4902
4888
|
), n;
|
|
4903
4889
|
return {
|
|
4904
4890
|
c() {
|
|
4905
4891
|
t = P("p"), n = I(r), l(t, "class", "InvalidInput");
|
|
4906
4892
|
},
|
|
4907
4893
|
m(s, i) {
|
|
4908
|
-
|
|
4894
|
+
B(s, t, i), f(t, n);
|
|
4909
4895
|
},
|
|
4910
4896
|
p(s, i) {
|
|
4911
4897
|
i[0] & /*$_*/
|
|
4912
|
-
|
|
4913
|
-
s[
|
|
4898
|
+
1048576 && r !== (r = /*$_*/
|
|
4899
|
+
s[20]("invalidPasswordRule") + "") && G(n, r);
|
|
4914
4900
|
},
|
|
4915
4901
|
d(s) {
|
|
4916
|
-
s &&
|
|
4902
|
+
s && S(t);
|
|
4917
4903
|
}
|
|
4918
4904
|
};
|
|
4919
4905
|
}
|
|
4920
|
-
function
|
|
4906
|
+
function Zi(e) {
|
|
4921
4907
|
let t, r = (
|
|
4922
4908
|
/*$_*/
|
|
4923
|
-
e[
|
|
4909
|
+
e[20]("simplePasswordError") + ""
|
|
4924
4910
|
), n;
|
|
4925
4911
|
return {
|
|
4926
4912
|
c() {
|
|
4927
4913
|
t = P("p"), n = I(r), l(t, "class", "InvalidInput");
|
|
4928
4914
|
},
|
|
4929
4915
|
m(s, i) {
|
|
4930
|
-
|
|
4916
|
+
B(s, t, i), f(t, n);
|
|
4931
4917
|
},
|
|
4932
4918
|
p(s, i) {
|
|
4933
4919
|
i[0] & /*$_*/
|
|
4934
|
-
|
|
4935
|
-
s[
|
|
4920
|
+
1048576 && r !== (r = /*$_*/
|
|
4921
|
+
s[20]("simplePasswordError") + "") && G(n, r);
|
|
4936
4922
|
},
|
|
4937
4923
|
d(s) {
|
|
4938
|
-
s &&
|
|
4924
|
+
s && S(t);
|
|
4939
4925
|
}
|
|
4940
4926
|
};
|
|
4941
4927
|
}
|
|
4942
|
-
function
|
|
4943
|
-
let t, r, n, s, i, a,
|
|
4928
|
+
function Yi(e) {
|
|
4929
|
+
let t, r, n, s, i, o, a, h, u, c;
|
|
4944
4930
|
return {
|
|
4945
4931
|
c() {
|
|
4946
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
4932
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("path"), a = g("circle"), l(o, "class", "a"), l(o, "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"), l(o, "transform", "translate(0)"), l(a, "class", "a"), l(a, "cx", "2.779"), l(a, "cy", "2.779"), l(a, "r", "2.779"), l(a, "transform", "translate(20.827 30.303)"), l(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", h = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4947
4933
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4948
|
-
(e[
|
|
4934
|
+
(e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
|
|
4949
4935
|
},
|
|
4950
4936
|
m(d, p) {
|
|
4951
|
-
|
|
4937
|
+
B(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), u || (c = q(
|
|
4952
4938
|
t,
|
|
4953
4939
|
"click",
|
|
4954
4940
|
/*click_handler_4*/
|
|
4955
|
-
e[
|
|
4956
|
-
),
|
|
4941
|
+
e[45]
|
|
4942
|
+
), u = !0);
|
|
4957
4943
|
},
|
|
4958
4944
|
p(d, p) {
|
|
4959
4945
|
p[0] & /*invalidNewPassword*/
|
|
4960
|
-
32 &&
|
|
4946
|
+
32 && h !== (h = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4961
4947
|
(d[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4962
|
-
(d[
|
|
4948
|
+
(d[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", h);
|
|
4963
4949
|
},
|
|
4964
4950
|
d(d) {
|
|
4965
|
-
d &&
|
|
4951
|
+
d && S(t), u = !1, c();
|
|
4966
4952
|
}
|
|
4967
4953
|
};
|
|
4968
4954
|
}
|
|
4969
|
-
function
|
|
4970
|
-
let t, r, n, s, i, a,
|
|
4955
|
+
function Qi(e) {
|
|
4956
|
+
let t, r, n, s, i, o, a, h, u, c, d, p, m, y, w, E;
|
|
4971
4957
|
return {
|
|
4972
4958
|
c() {
|
|
4973
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
4959
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("circle"), a = g("g"), h = g("path"), u = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(o, "class", "a"), l(o, "cx", "0.05"), l(o, "cy", "0.05"), l(o, "r", "0.05"), l(o, "transform", "translate(121.017 31.148)"), l(h, "class", "a"), l(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(h, "transform", "translate(-142.164 -39.123)"), l(u, "class", "a"), l(u, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(u, "transform", "translate(-136.413 -42.068)"), l(a, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "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"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(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"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", y = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4974
4960
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4975
|
-
(e[
|
|
4961
|
+
(e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
|
|
4976
4962
|
},
|
|
4977
|
-
m(
|
|
4978
|
-
|
|
4963
|
+
m(_, A) {
|
|
4964
|
+
B(_, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), f(a, h), f(a, u), f(i, c), f(c, d), f(c, p), f(i, m), w || (E = q(
|
|
4979
4965
|
t,
|
|
4980
4966
|
"click",
|
|
4981
4967
|
/*click_handler_3*/
|
|
4982
|
-
e[
|
|
4983
|
-
),
|
|
4968
|
+
e[44]
|
|
4969
|
+
), w = !0);
|
|
4984
4970
|
},
|
|
4985
|
-
p(
|
|
4971
|
+
p(_, A) {
|
|
4986
4972
|
A[0] & /*invalidNewPassword*/
|
|
4987
|
-
32 &&
|
|
4988
|
-
(
|
|
4989
|
-
(
|
|
4973
|
+
32 && y !== (y = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4974
|
+
(_[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4975
|
+
(_[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", y);
|
|
4990
4976
|
},
|
|
4991
|
-
d(
|
|
4992
|
-
|
|
4977
|
+
d(_) {
|
|
4978
|
+
_ && S(t), w = !1, E();
|
|
4993
4979
|
}
|
|
4994
4980
|
};
|
|
4995
4981
|
}
|
|
4996
|
-
function
|
|
4982
|
+
function qi(e) {
|
|
4997
4983
|
let t;
|
|
4998
|
-
function r(i,
|
|
4984
|
+
function r(i, o) {
|
|
4999
4985
|
return (
|
|
5000
4986
|
/*simplepasswordvalidation*/
|
|
5001
|
-
i[0] == "true"
|
|
4987
|
+
i[0] == "true" && !/*registrationPasswordValidator*/
|
|
4988
|
+
i[19] ? eo : Ki
|
|
5002
4989
|
);
|
|
5003
4990
|
}
|
|
5004
4991
|
let n = r(e), s = n(e);
|
|
5005
4992
|
return {
|
|
5006
4993
|
c() {
|
|
5007
|
-
s.c(), t =
|
|
4994
|
+
s.c(), t = _r();
|
|
5008
4995
|
},
|
|
5009
|
-
m(i,
|
|
5010
|
-
s.m(i,
|
|
4996
|
+
m(i, o) {
|
|
4997
|
+
s.m(i, o), B(i, t, o);
|
|
5011
4998
|
},
|
|
5012
|
-
p(i,
|
|
5013
|
-
n === (n = r(i)) && s ? s.p(i,
|
|
4999
|
+
p(i, o) {
|
|
5000
|
+
n === (n = r(i)) && s ? s.p(i, o) : (s.d(1), s = n(i), s && (s.c(), s.m(t.parentNode, t)));
|
|
5014
5001
|
},
|
|
5015
5002
|
d(i) {
|
|
5016
|
-
i &&
|
|
5003
|
+
i && S(t), s.d(i);
|
|
5017
5004
|
}
|
|
5018
5005
|
};
|
|
5019
5006
|
}
|
|
5020
|
-
function
|
|
5007
|
+
function Ji(e) {
|
|
5021
5008
|
let t, r = (
|
|
5022
5009
|
/*$_*/
|
|
5023
|
-
e[
|
|
5010
|
+
e[20]("invalidNewPassword") + ""
|
|
5024
5011
|
), n;
|
|
5025
5012
|
return {
|
|
5026
5013
|
c() {
|
|
5027
5014
|
t = P("p"), n = I(r), l(t, "class", "InvalidInputNew");
|
|
5028
5015
|
},
|
|
5029
5016
|
m(s, i) {
|
|
5030
|
-
|
|
5017
|
+
B(s, t, i), f(t, n);
|
|
5031
5018
|
},
|
|
5032
5019
|
p(s, i) {
|
|
5033
5020
|
i[0] & /*$_*/
|
|
5034
|
-
|
|
5035
|
-
s[
|
|
5021
|
+
1048576 && r !== (r = /*$_*/
|
|
5022
|
+
s[20]("invalidNewPassword") + "") && G(n, r);
|
|
5036
5023
|
},
|
|
5037
5024
|
d(s) {
|
|
5038
|
-
s &&
|
|
5025
|
+
s && S(t);
|
|
5039
5026
|
}
|
|
5040
5027
|
};
|
|
5041
5028
|
}
|
|
5042
|
-
function
|
|
5029
|
+
function Ki(e) {
|
|
5043
5030
|
let t, r = (
|
|
5044
5031
|
/*$_*/
|
|
5045
|
-
e[
|
|
5032
|
+
e[20]("invalidPasswordRule") + ""
|
|
5046
5033
|
), n;
|
|
5047
5034
|
return {
|
|
5048
5035
|
c() {
|
|
5049
5036
|
t = P("p"), n = I(r), l(t, "class", "InvalidInput");
|
|
5050
5037
|
},
|
|
5051
5038
|
m(s, i) {
|
|
5052
|
-
|
|
5039
|
+
B(s, t, i), f(t, n);
|
|
5053
5040
|
},
|
|
5054
5041
|
p(s, i) {
|
|
5055
5042
|
i[0] & /*$_*/
|
|
5056
|
-
|
|
5057
|
-
s[
|
|
5043
|
+
1048576 && r !== (r = /*$_*/
|
|
5044
|
+
s[20]("invalidPasswordRule") + "") && G(n, r);
|
|
5058
5045
|
},
|
|
5059
5046
|
d(s) {
|
|
5060
|
-
s &&
|
|
5047
|
+
s && S(t);
|
|
5061
5048
|
}
|
|
5062
5049
|
};
|
|
5063
5050
|
}
|
|
5064
|
-
function
|
|
5051
|
+
function eo(e) {
|
|
5065
5052
|
let t, r = (
|
|
5066
5053
|
/*$_*/
|
|
5067
|
-
e[
|
|
5054
|
+
e[20]("simplePasswordError") + ""
|
|
5068
5055
|
), n;
|
|
5069
5056
|
return {
|
|
5070
5057
|
c() {
|
|
5071
5058
|
t = P("p"), n = I(r), l(t, "class", "InvalidInput");
|
|
5072
5059
|
},
|
|
5073
5060
|
m(s, i) {
|
|
5074
|
-
|
|
5061
|
+
B(s, t, i), f(t, n);
|
|
5075
5062
|
},
|
|
5076
5063
|
p(s, i) {
|
|
5077
5064
|
i[0] & /*$_*/
|
|
5078
|
-
|
|
5079
|
-
s[
|
|
5065
|
+
1048576 && r !== (r = /*$_*/
|
|
5066
|
+
s[20]("simplePasswordError") + "") && G(n, r);
|
|
5080
5067
|
},
|
|
5081
5068
|
d(s) {
|
|
5082
|
-
s &&
|
|
5069
|
+
s && S(t);
|
|
5083
5070
|
}
|
|
5084
5071
|
};
|
|
5085
5072
|
}
|
|
5086
|
-
function
|
|
5087
|
-
let t, r, n, s, i, a,
|
|
5073
|
+
function to(e) {
|
|
5074
|
+
let t, r, n, s, i, o, a, h, u, c;
|
|
5088
5075
|
return {
|
|
5089
5076
|
c() {
|
|
5090
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
5077
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("path"), a = g("circle"), l(o, "class", "a"), l(o, "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"), l(o, "transform", "translate(0)"), l(a, "class", "a"), l(a, "cx", "2.779"), l(a, "cy", "2.779"), l(a, "r", "2.779"), l(a, "transform", "translate(20.827 30.303)"), l(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", h = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5091
5078
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5092
|
-
(e[
|
|
5079
|
+
(e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
|
|
5093
5080
|
},
|
|
5094
5081
|
m(d, p) {
|
|
5095
|
-
|
|
5082
|
+
B(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), u || (c = q(
|
|
5096
5083
|
t,
|
|
5097
5084
|
"click",
|
|
5098
5085
|
/*click_handler_6*/
|
|
5099
|
-
e[
|
|
5100
|
-
),
|
|
5086
|
+
e[50]
|
|
5087
|
+
), u = !0);
|
|
5101
5088
|
},
|
|
5102
5089
|
p(d, p) {
|
|
5103
5090
|
p[0] & /*invalidConfirmPassword*/
|
|
5104
|
-
64 &&
|
|
5091
|
+
64 && h !== (h = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5105
5092
|
(d[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5106
|
-
(d[
|
|
5093
|
+
(d[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", h);
|
|
5107
5094
|
},
|
|
5108
5095
|
d(d) {
|
|
5109
|
-
d &&
|
|
5096
|
+
d && S(t), u = !1, c();
|
|
5110
5097
|
}
|
|
5111
5098
|
};
|
|
5112
5099
|
}
|
|
5113
|
-
function
|
|
5114
|
-
let t, r, n, s, i, a,
|
|
5100
|
+
function ro(e) {
|
|
5101
|
+
let t, r, n, s, i, o, a, h, u, c, d, p, m, y, w, E;
|
|
5115
5102
|
return {
|
|
5116
5103
|
c() {
|
|
5117
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
5104
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("circle"), a = g("g"), h = g("path"), u = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(o, "class", "a"), l(o, "cx", "0.05"), l(o, "cy", "0.05"), l(o, "r", "0.05"), l(o, "transform", "translate(121.017 31.148)"), l(h, "class", "a"), l(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(h, "transform", "translate(-142.164 -39.123)"), l(u, "class", "a"), l(u, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(u, "transform", "translate(-136.413 -42.068)"), l(a, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "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"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(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"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", y = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5118
5105
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5119
|
-
(e[
|
|
5106
|
+
(e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
|
|
5120
5107
|
},
|
|
5121
|
-
m(
|
|
5122
|
-
|
|
5108
|
+
m(_, A) {
|
|
5109
|
+
B(_, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), f(a, h), f(a, u), f(i, c), f(c, d), f(c, p), f(i, m), w || (E = q(
|
|
5123
5110
|
t,
|
|
5124
5111
|
"click",
|
|
5125
5112
|
/*click_handler_5*/
|
|
5126
|
-
e[
|
|
5127
|
-
),
|
|
5113
|
+
e[49]
|
|
5114
|
+
), w = !0);
|
|
5128
5115
|
},
|
|
5129
|
-
p(
|
|
5116
|
+
p(_, A) {
|
|
5130
5117
|
A[0] & /*invalidConfirmPassword*/
|
|
5131
|
-
64 &&
|
|
5132
|
-
(
|
|
5133
|
-
(
|
|
5118
|
+
64 && y !== (y = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5119
|
+
(_[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5120
|
+
(_[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", y);
|
|
5134
5121
|
},
|
|
5135
|
-
d(
|
|
5136
|
-
|
|
5122
|
+
d(_) {
|
|
5123
|
+
_ && S(t), w = !1, E();
|
|
5137
5124
|
}
|
|
5138
5125
|
};
|
|
5139
5126
|
}
|
|
5140
|
-
function
|
|
5127
|
+
function gr(e) {
|
|
5141
5128
|
let t, r = (
|
|
5142
5129
|
/*$_*/
|
|
5143
|
-
e[
|
|
5130
|
+
e[20]("confirmPasswordInvalid") + ""
|
|
5144
5131
|
), n;
|
|
5145
5132
|
return {
|
|
5146
5133
|
c() {
|
|
5147
5134
|
t = P("p"), n = I(r), l(t, "class", "InvalidInput");
|
|
5148
5135
|
},
|
|
5149
5136
|
m(s, i) {
|
|
5150
|
-
|
|
5137
|
+
B(s, t, i), f(t, n);
|
|
5151
5138
|
},
|
|
5152
5139
|
p(s, i) {
|
|
5153
5140
|
i[0] & /*$_*/
|
|
5154
|
-
|
|
5155
|
-
s[
|
|
5141
|
+
1048576 && r !== (r = /*$_*/
|
|
5142
|
+
s[20]("confirmPasswordInvalid") + "") && G(n, r);
|
|
5156
5143
|
},
|
|
5157
5144
|
d(s) {
|
|
5158
|
-
s &&
|
|
5145
|
+
s && S(t);
|
|
5159
5146
|
}
|
|
5160
5147
|
};
|
|
5161
5148
|
}
|
|
5162
|
-
function
|
|
5149
|
+
function br(e) {
|
|
5163
5150
|
let t, r, n;
|
|
5164
5151
|
return {
|
|
5165
5152
|
c() {
|
|
@@ -5169,280 +5156,321 @@ function pr(e) {
|
|
|
5169
5156
|
), l(r, "class", "PasswordChangedError");
|
|
5170
5157
|
},
|
|
5171
5158
|
m(s, i) {
|
|
5172
|
-
|
|
5159
|
+
B(s, t, i), f(t, r), f(r, n);
|
|
5173
5160
|
},
|
|
5174
5161
|
p(s, i) {
|
|
5175
5162
|
i[0] & /*errorPasswordChanged*/
|
|
5176
|
-
131072 &&
|
|
5163
|
+
131072 && G(
|
|
5177
5164
|
n,
|
|
5178
5165
|
/*errorPasswordChanged*/
|
|
5179
5166
|
s[17]
|
|
5180
5167
|
);
|
|
5181
5168
|
},
|
|
5182
5169
|
d(s) {
|
|
5183
|
-
s &&
|
|
5170
|
+
s && S(t);
|
|
5184
5171
|
}
|
|
5185
5172
|
};
|
|
5186
5173
|
}
|
|
5187
|
-
function
|
|
5174
|
+
function no(e) {
|
|
5188
5175
|
let t;
|
|
5189
|
-
function r(i,
|
|
5190
|
-
return
|
|
5176
|
+
function r(i, o) {
|
|
5177
|
+
return Di;
|
|
5191
5178
|
}
|
|
5192
5179
|
let s = r()(e);
|
|
5193
5180
|
return {
|
|
5194
5181
|
c() {
|
|
5195
5182
|
t = P("div"), s.c();
|
|
5196
5183
|
},
|
|
5197
|
-
m(i,
|
|
5198
|
-
|
|
5184
|
+
m(i, o) {
|
|
5185
|
+
B(i, t, o), s.m(t, null), e[54](t);
|
|
5199
5186
|
},
|
|
5200
|
-
p(i,
|
|
5201
|
-
s.p(i,
|
|
5187
|
+
p(i, o) {
|
|
5188
|
+
s.p(i, o);
|
|
5202
5189
|
},
|
|
5203
|
-
i:
|
|
5204
|
-
o:
|
|
5190
|
+
i: le,
|
|
5191
|
+
o: le,
|
|
5205
5192
|
d(i) {
|
|
5206
|
-
i &&
|
|
5193
|
+
i && S(t), s.d(), e[54](null);
|
|
5207
5194
|
}
|
|
5208
5195
|
};
|
|
5209
5196
|
}
|
|
5210
|
-
function
|
|
5197
|
+
function so(e, t, r) {
|
|
5211
5198
|
let n;
|
|
5212
|
-
|
|
5213
|
-
let { lang: s = "en" } = t, { simplepasswordvalidation: i = "false" } = t, {
|
|
5199
|
+
ln(e, Hi, (v) => r(20, n = v));
|
|
5200
|
+
let { lang: s = "en" } = t, { simplepasswordvalidation: i = "false" } = t, { useregispasswordcheck: o = "false" } = t, { endpoint: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: d = "" } = t, { passwordregex: p = "" } = t, m, y, w = window.navigator.userAgent, E = Ii(w) !== "PC", _ = !1;
|
|
5214
5201
|
window.matchMedia("(min-width: 768px)");
|
|
5215
|
-
const
|
|
5202
|
+
const A = {
|
|
5216
5203
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5217
5204
|
};
|
|
5218
|
-
let
|
|
5219
|
-
const
|
|
5220
|
-
fetch(
|
|
5221
|
-
Object.keys(
|
|
5222
|
-
|
|
5205
|
+
let O = !1, U = !1, F = !1, M, j, K, $ = !1, R = !1, H = !1, fe = !1, V = "", D = "", z = "", ee = !1, Ge = "", Pe = !1, ue = null, de = !1, he = 0;
|
|
5206
|
+
const ve = () => {
|
|
5207
|
+
fetch(d).then((oe) => oe.json()).then((oe) => {
|
|
5208
|
+
Object.keys(oe).forEach((ze) => {
|
|
5209
|
+
dr(ze, oe[ze]);
|
|
5223
5210
|
});
|
|
5224
|
-
}).catch((
|
|
5225
|
-
console.log(
|
|
5211
|
+
}).catch((oe) => {
|
|
5212
|
+
console.log(oe);
|
|
5226
5213
|
});
|
|
5227
5214
|
};
|
|
5228
|
-
Object.keys(
|
|
5229
|
-
|
|
5215
|
+
Object.keys(pr).forEach((v) => {
|
|
5216
|
+
dr(v, pr[v]);
|
|
5230
5217
|
});
|
|
5231
|
-
const
|
|
5232
|
-
switch (
|
|
5218
|
+
const W = (v) => {
|
|
5219
|
+
switch (v) {
|
|
5233
5220
|
case "userCurrentPassword":
|
|
5234
|
-
r(10,
|
|
5221
|
+
r(10, $ = !$), r(7, M.type = $ ? "text" : "password", M);
|
|
5235
5222
|
break;
|
|
5236
5223
|
case "userNewPassword":
|
|
5237
|
-
r(11,
|
|
5224
|
+
r(11, R = !R), r(8, j.type = R ? "text" : "password", j);
|
|
5238
5225
|
break;
|
|
5239
5226
|
case "userConfirmPassword":
|
|
5240
|
-
r(12,
|
|
5227
|
+
r(12, H = !H), r(9, K.type = H ? "text" : "password", K);
|
|
5241
5228
|
break;
|
|
5242
5229
|
}
|
|
5243
5230
|
}, ge = () => {
|
|
5244
|
-
|
|
5245
|
-
},
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5231
|
+
D && r(5, U = !re(D)), z && r(6, F = D !== z || !re(z)), r(13, fe = !!V && V === D), ye();
|
|
5232
|
+
}, $e = async (v, oe) => {
|
|
5233
|
+
const ze = ++he;
|
|
5234
|
+
if (r(19, ue = null), de = v === "true", ye(), de) {
|
|
5235
|
+
try {
|
|
5236
|
+
const on = await Mi(oe);
|
|
5237
|
+
if (ze !== he)
|
|
5238
|
+
return;
|
|
5239
|
+
r(19, ue = on);
|
|
5240
|
+
} catch {
|
|
5241
|
+
if (ze !== he)
|
|
5242
|
+
return;
|
|
5243
|
+
}
|
|
5244
|
+
de = !1;
|
|
5245
|
+
}
|
|
5246
|
+
ge();
|
|
5247
|
+
}, pe = (v, oe) => {
|
|
5248
|
+
oe.id === "CurrentPassword" ? v.length > 1e3 ? r(4, O = !0) : r(4, O = !1) : oe.id === "NewPassword" ? (r(5, U = !re(v)), z && r(6, F = D === z ? !re(v) : !0)) : r(6, F = D === z ? !re(v) : !0), r(13, fe = !!V && V === D), ye();
|
|
5249
|
+
}, re = (v) => de ? !1 : ue ? ue(v) : A.password.test(v), ye = () => {
|
|
5250
|
+
!de && !O && !U && !F && !fe && V && V.length <= 1e3 && D && z && D === z && re(D) && re(z) ? r(3, _ = !0) : r(3, _ = !1);
|
|
5251
|
+
}, je = (v) => {
|
|
5252
|
+
v.preventDefault(), ge(), _ && window.postMessage(
|
|
5251
5253
|
{
|
|
5252
5254
|
type: "ChangePassword",
|
|
5253
|
-
userCurrentPassword:
|
|
5254
|
-
userNewPassword:
|
|
5255
|
+
userCurrentPassword: V,
|
|
5256
|
+
userNewPassword: D
|
|
5255
5257
|
},
|
|
5256
5258
|
window.location.href
|
|
5257
5259
|
);
|
|
5258
|
-
},
|
|
5260
|
+
}, ie = () => {
|
|
5259
5261
|
window.postMessage(
|
|
5260
5262
|
{
|
|
5261
5263
|
type: "PlayerAccountMenuActive",
|
|
5262
|
-
isMobile:
|
|
5264
|
+
isMobile: E
|
|
5263
5265
|
},
|
|
5264
5266
|
window.location.href
|
|
5265
5267
|
);
|
|
5266
|
-
},
|
|
5268
|
+
}, Ve = () => {
|
|
5267
5269
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5268
|
-
},
|
|
5269
|
-
|
|
5270
|
-
},
|
|
5271
|
-
if (
|
|
5272
|
-
switch (
|
|
5270
|
+
}, xe = () => {
|
|
5271
|
+
Ni(s);
|
|
5272
|
+
}, te = (v) => {
|
|
5273
|
+
if (v.data)
|
|
5274
|
+
switch (v.data.type) {
|
|
5273
5275
|
case "PasswordChangedSuccessfully":
|
|
5274
|
-
r(2,
|
|
5276
|
+
r(2, ee = !0);
|
|
5275
5277
|
break;
|
|
5276
5278
|
case "ShowPasswordChangedError":
|
|
5277
|
-
r(18,
|
|
5279
|
+
r(18, Pe = v.data.showErrorPasswordChanged), r(17, Ge = v.data.errorPasswordChanged);
|
|
5278
5280
|
break;
|
|
5279
5281
|
}
|
|
5280
5282
|
};
|
|
5281
|
-
|
|
5282
|
-
window.removeEventListener("message",
|
|
5283
|
+
mn(() => (window.addEventListener("message", te, !1), () => {
|
|
5284
|
+
he++, window.removeEventListener("message", te);
|
|
5283
5285
|
}));
|
|
5284
|
-
const
|
|
5285
|
-
function
|
|
5286
|
-
|
|
5286
|
+
const X = () => ie();
|
|
5287
|
+
function Ke() {
|
|
5288
|
+
V = this.value, r(14, V);
|
|
5287
5289
|
}
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5290
|
+
const Ee = () => pe(V, M);
|
|
5291
|
+
function ne(v) {
|
|
5292
|
+
Ie[v ? "unshift" : "push"](() => {
|
|
5293
|
+
M = v, r(7, M);
|
|
5291
5294
|
});
|
|
5292
5295
|
}
|
|
5293
|
-
const
|
|
5294
|
-
function
|
|
5295
|
-
|
|
5296
|
+
const et = () => W("userCurrentPassword"), be = () => W("userCurrentPassword");
|
|
5297
|
+
function Z() {
|
|
5298
|
+
D = this.value, r(15, D);
|
|
5296
5299
|
}
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
+
const tt = () => pe(D, j);
|
|
5301
|
+
function Te(v) {
|
|
5302
|
+
Ie[v ? "unshift" : "push"](() => {
|
|
5303
|
+
j = v, r(8, j);
|
|
5300
5304
|
});
|
|
5301
5305
|
}
|
|
5302
|
-
const
|
|
5303
|
-
function
|
|
5304
|
-
|
|
5306
|
+
const se = () => W("userNewPassword"), Y = () => W("userNewPassword");
|
|
5307
|
+
function Q() {
|
|
5308
|
+
z = this.value, r(16, z);
|
|
5305
5309
|
}
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5310
|
+
const b = () => pe(z, K);
|
|
5311
|
+
function x(v) {
|
|
5312
|
+
Ie[v ? "unshift" : "push"](() => {
|
|
5313
|
+
K = v, r(9, K);
|
|
5309
5314
|
});
|
|
5310
5315
|
}
|
|
5311
|
-
const
|
|
5312
|
-
function
|
|
5313
|
-
|
|
5314
|
-
|
|
5316
|
+
const Kr = () => W("userConfirmPassword"), en = () => W("userConfirmPassword"), tn = (v) => je(v), rn = () => ie(), nn = () => Ve();
|
|
5317
|
+
function sn(v) {
|
|
5318
|
+
Ie[v ? "unshift" : "push"](() => {
|
|
5319
|
+
m = v, r(1, m);
|
|
5315
5320
|
});
|
|
5316
5321
|
}
|
|
5317
|
-
return e.$$set = (
|
|
5318
|
-
"lang" in
|
|
5322
|
+
return e.$$set = (v) => {
|
|
5323
|
+
"lang" in v && r(27, s = v.lang), "simplepasswordvalidation" in v && r(0, i = v.simplepasswordvalidation), "useregispasswordcheck" in v && r(28, o = v.useregispasswordcheck), "endpoint" in v && r(29, a = v.endpoint), "clientstyling" in v && r(30, h = v.clientstyling), "clientstylingurl" in v && r(31, u = v.clientstylingurl), "mbsource" in v && r(32, c = v.mbsource), "translationurl" in v && r(33, d = v.translationurl), "passwordregex" in v && r(34, p = v.passwordregex);
|
|
5319
5324
|
}, e.$$.update = () => {
|
|
5320
5325
|
e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5321
|
-
1
|
|
5322
|
-
|
|
5323
|
-
|
|
5326
|
+
1 | e.$$.dirty[1] & /*passwordregex*/
|
|
5327
|
+
8 && (A.password = p ? new RegExp(p) : i === "true" ? /^(?!.* ).{8,20}$/ : /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/, ge()), e.$$.dirty[0] & /*useregispasswordcheck, endpoint*/
|
|
5328
|
+
805306368 && $e(o, a), e.$$.dirty[0] & /*lang*/
|
|
5329
|
+
134217728 && s && xe(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5324
5330
|
4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5331
|
+
1073741826 && h && m && Oi(m, h), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5332
|
+
2 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
5333
|
+
1 && u && m && Ri(m, u), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5334
|
+
2 | e.$$.dirty[1] & /*mbsource*/
|
|
5335
|
+
2 && c && m && Li(m, `${c}.Style`, y), e.$$.dirty[1] & /*translationurl*/
|
|
5336
|
+
4 && d && ve();
|
|
5329
5337
|
}, [
|
|
5330
5338
|
i,
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
y,
|
|
5335
|
-
A,
|
|
5339
|
+
m,
|
|
5340
|
+
ee,
|
|
5341
|
+
_,
|
|
5336
5342
|
O,
|
|
5337
|
-
|
|
5338
|
-
|
|
5343
|
+
U,
|
|
5344
|
+
F,
|
|
5339
5345
|
M,
|
|
5340
|
-
|
|
5341
|
-
|
|
5346
|
+
j,
|
|
5347
|
+
K,
|
|
5342
5348
|
$,
|
|
5343
5349
|
R,
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
te,
|
|
5352
|
-
De,
|
|
5353
|
-
re,
|
|
5350
|
+
H,
|
|
5351
|
+
fe,
|
|
5352
|
+
V,
|
|
5353
|
+
D,
|
|
5354
|
+
z,
|
|
5355
|
+
Ge,
|
|
5356
|
+
Pe,
|
|
5354
5357
|
ue,
|
|
5355
|
-
|
|
5358
|
+
n,
|
|
5359
|
+
E,
|
|
5360
|
+
W,
|
|
5361
|
+
pe,
|
|
5362
|
+
je,
|
|
5363
|
+
ie,
|
|
5364
|
+
Ve,
|
|
5356
5365
|
s,
|
|
5357
|
-
a,
|
|
5358
5366
|
o,
|
|
5359
|
-
|
|
5367
|
+
a,
|
|
5360
5368
|
h,
|
|
5369
|
+
u,
|
|
5361
5370
|
c,
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
Qe,
|
|
5366
|
-
ve,
|
|
5367
|
-
J,
|
|
5368
|
-
G,
|
|
5369
|
-
Je,
|
|
5370
|
-
ye,
|
|
5371
|
-
q,
|
|
5372
|
-
qe,
|
|
5373
|
-
he,
|
|
5374
|
-
j,
|
|
5371
|
+
d,
|
|
5372
|
+
p,
|
|
5373
|
+
X,
|
|
5375
5374
|
Ke,
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5375
|
+
Ee,
|
|
5376
|
+
ne,
|
|
5377
|
+
et,
|
|
5378
|
+
be,
|
|
5379
|
+
Z,
|
|
5380
|
+
tt,
|
|
5381
|
+
Te,
|
|
5382
|
+
se,
|
|
5383
|
+
Y,
|
|
5384
|
+
Q,
|
|
5385
|
+
b,
|
|
5386
|
+
x,
|
|
5387
|
+
Kr,
|
|
5388
|
+
en,
|
|
5389
|
+
tn,
|
|
5390
|
+
rn,
|
|
5391
|
+
nn,
|
|
5392
|
+
sn
|
|
5379
5393
|
];
|
|
5380
5394
|
}
|
|
5381
|
-
class
|
|
5395
|
+
class io extends Sn {
|
|
5382
5396
|
constructor(t) {
|
|
5383
|
-
super(),
|
|
5397
|
+
super(), Tn(
|
|
5384
5398
|
this,
|
|
5385
5399
|
t,
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5400
|
+
so,
|
|
5401
|
+
no,
|
|
5402
|
+
vr,
|
|
5389
5403
|
{
|
|
5390
|
-
lang:
|
|
5404
|
+
lang: 27,
|
|
5391
5405
|
simplepasswordvalidation: 0,
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5406
|
+
useregispasswordcheck: 28,
|
|
5407
|
+
endpoint: 29,
|
|
5408
|
+
clientstyling: 30,
|
|
5409
|
+
clientstylingurl: 31,
|
|
5410
|
+
mbsource: 32,
|
|
5411
|
+
translationurl: 33,
|
|
5412
|
+
passwordregex: 34
|
|
5397
5413
|
},
|
|
5398
|
-
|
|
5399
|
-
[-1, -1]
|
|
5414
|
+
Ui,
|
|
5415
|
+
[-1, -1, -1]
|
|
5400
5416
|
);
|
|
5401
5417
|
}
|
|
5402
5418
|
get lang() {
|
|
5403
|
-
return this.$$.ctx[
|
|
5419
|
+
return this.$$.ctx[27];
|
|
5404
5420
|
}
|
|
5405
5421
|
set lang(t) {
|
|
5406
|
-
this.$$set({ lang: t }),
|
|
5422
|
+
this.$$set({ lang: t }), ae();
|
|
5407
5423
|
}
|
|
5408
5424
|
get simplepasswordvalidation() {
|
|
5409
5425
|
return this.$$.ctx[0];
|
|
5410
5426
|
}
|
|
5411
5427
|
set simplepasswordvalidation(t) {
|
|
5412
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5428
|
+
this.$$set({ simplepasswordvalidation: t }), ae();
|
|
5429
|
+
}
|
|
5430
|
+
get useregispasswordcheck() {
|
|
5431
|
+
return this.$$.ctx[28];
|
|
5432
|
+
}
|
|
5433
|
+
set useregispasswordcheck(t) {
|
|
5434
|
+
this.$$set({ useregispasswordcheck: t }), ae();
|
|
5435
|
+
}
|
|
5436
|
+
get endpoint() {
|
|
5437
|
+
return this.$$.ctx[29];
|
|
5438
|
+
}
|
|
5439
|
+
set endpoint(t) {
|
|
5440
|
+
this.$$set({ endpoint: t }), ae();
|
|
5413
5441
|
}
|
|
5414
5442
|
get clientstyling() {
|
|
5415
|
-
return this.$$.ctx[
|
|
5443
|
+
return this.$$.ctx[30];
|
|
5416
5444
|
}
|
|
5417
5445
|
set clientstyling(t) {
|
|
5418
|
-
this.$$set({ clientstyling: t }),
|
|
5446
|
+
this.$$set({ clientstyling: t }), ae();
|
|
5419
5447
|
}
|
|
5420
5448
|
get clientstylingurl() {
|
|
5421
|
-
return this.$$.ctx[
|
|
5449
|
+
return this.$$.ctx[31];
|
|
5422
5450
|
}
|
|
5423
5451
|
set clientstylingurl(t) {
|
|
5424
|
-
this.$$set({ clientstylingurl: t }),
|
|
5452
|
+
this.$$set({ clientstylingurl: t }), ae();
|
|
5425
5453
|
}
|
|
5426
5454
|
get mbsource() {
|
|
5427
|
-
return this.$$.ctx[
|
|
5455
|
+
return this.$$.ctx[32];
|
|
5428
5456
|
}
|
|
5429
5457
|
set mbsource(t) {
|
|
5430
|
-
this.$$set({ mbsource: t }),
|
|
5458
|
+
this.$$set({ mbsource: t }), ae();
|
|
5431
5459
|
}
|
|
5432
5460
|
get translationurl() {
|
|
5433
|
-
return this.$$.ctx[
|
|
5461
|
+
return this.$$.ctx[33];
|
|
5434
5462
|
}
|
|
5435
5463
|
set translationurl(t) {
|
|
5436
|
-
this.$$set({ translationurl: t }),
|
|
5464
|
+
this.$$set({ translationurl: t }), ae();
|
|
5437
5465
|
}
|
|
5438
5466
|
get passwordregex() {
|
|
5439
|
-
return this.$$.ctx[
|
|
5467
|
+
return this.$$.ctx[34];
|
|
5440
5468
|
}
|
|
5441
5469
|
set passwordregex(t) {
|
|
5442
|
-
this.$$set({ passwordregex: t }),
|
|
5470
|
+
this.$$set({ passwordregex: t }), ae();
|
|
5443
5471
|
}
|
|
5444
5472
|
}
|
|
5445
|
-
|
|
5473
|
+
Cn(io, { lang: {}, simplepasswordvalidation: {}, useregispasswordcheck: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5446
5474
|
export {
|
|
5447
|
-
|
|
5475
|
+
io as P
|
|
5448
5476
|
};
|