@everymatrix/player-change-password 1.62.0 → 1.62.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerChangePassword-DSm6cbgC.js → PlayerChangePassword-BtedqZyK.js} +911 -890
- package/components/PlayerChangePassword-Bwcb8tWz.cjs +20 -0
- package/components/{PlayerChangePassword-DQNXKmKi.js → PlayerChangePassword-DH0IiOfX.js} +793 -772
- package/es2015/player-change-password.cjs +1 -1
- package/es2015/player-change-password.js +1 -1
- package/esnext/player-change-password.js +1 -1
- package/package.json +1 -1
- package/components/PlayerChangePassword-IZlxe718.cjs +0 -20
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var tn = Object.defineProperty, rn = Object.defineProperties;
|
|
2
|
+
var nn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var jt = Object.getOwnPropertySymbols;
|
|
4
|
+
var sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var mt = (e, t, r) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
sn.call(t, r) && mt(e, r, t[r]);
|
|
8
|
+
if (jt)
|
|
9
|
+
for (var r of jt(t))
|
|
10
|
+
an.call(t, r) && mt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var ee = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, zt = (e, t) => rn(e, nn(t));
|
|
13
|
+
var ee = (e, t, r) => (mt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Wt = (e, t, r) => new Promise((n, s) => {
|
|
15
15
|
var a = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
l(r.next(u));
|
|
18
18
|
} catch (h) {
|
|
19
19
|
s(h);
|
|
20
20
|
}
|
|
21
21
|
}, i = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
l(r.throw(u));
|
|
24
24
|
} catch (h) {
|
|
25
25
|
s(h);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, l = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(a, i);
|
|
28
|
+
l((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function se() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function yr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Xt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function Oe(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(yr);
|
|
40
40
|
}
|
|
41
41
|
function Se(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Pr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function on(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function _r(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function yr(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function ln(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(_r(t, r));
|
|
61
61
|
}
|
|
62
62
|
function d(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function un(e, t, r) {
|
|
66
|
+
const n = hn(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const s = _("style");
|
|
69
|
-
s.id = t, s.textContent = r,
|
|
69
|
+
s.id = t, s.textContent = r, cn(n, s);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function hn(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,17 +79,17 @@ function un(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function cn(e, t) {
|
|
83
83
|
return d(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function I(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function S(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
95
|
function _(e) {
|
|
@@ -98,22 +98,22 @@ function _(e) {
|
|
|
98
98
|
function g(e) {
|
|
99
99
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function H(e) {
|
|
102
102
|
return document.createTextNode(e);
|
|
103
103
|
}
|
|
104
104
|
function F() {
|
|
105
|
-
return
|
|
105
|
+
return H(" ");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
return
|
|
107
|
+
function xr() {
|
|
108
|
+
return H("");
|
|
109
109
|
}
|
|
110
110
|
function z(e, t, r, n) {
|
|
111
111
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function o(e, t, r) {
|
|
114
114
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function fn(e) {
|
|
117
117
|
return Array.from(e.childNodes);
|
|
118
118
|
}
|
|
119
119
|
function U(e, t) {
|
|
@@ -123,10 +123,10 @@ function U(e, t) {
|
|
|
123
123
|
function xe(e, t) {
|
|
124
124
|
e.value = t == null ? "" : t;
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function dn(e, t, r, n) {
|
|
127
127
|
e.style.setProperty(t, r, "");
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function pn(e) {
|
|
130
130
|
const t = {};
|
|
131
131
|
return e.childNodes.forEach(
|
|
132
132
|
/** @param {Element} node */
|
|
@@ -135,87 +135,87 @@ function dn(e) {
|
|
|
135
135
|
}
|
|
136
136
|
), t;
|
|
137
137
|
}
|
|
138
|
-
let
|
|
139
|
-
function
|
|
140
|
-
|
|
138
|
+
let je;
|
|
139
|
+
function Ge(e) {
|
|
140
|
+
je = e;
|
|
141
141
|
}
|
|
142
|
-
function
|
|
143
|
-
if (!
|
|
142
|
+
function mn() {
|
|
143
|
+
if (!je)
|
|
144
144
|
throw new Error("Function called outside component initialization");
|
|
145
|
-
return
|
|
145
|
+
return je;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
|
|
147
|
+
function gn(e) {
|
|
148
|
+
mn().$$.on_mount.push(e);
|
|
149
149
|
}
|
|
150
150
|
const Te = [], Be = [];
|
|
151
151
|
let Ae = [];
|
|
152
|
-
const
|
|
153
|
-
let
|
|
154
|
-
function
|
|
155
|
-
|
|
152
|
+
const Zt = [], bn = /* @__PURE__ */ Promise.resolve();
|
|
153
|
+
let Et = !1;
|
|
154
|
+
function wn() {
|
|
155
|
+
Et || (Et = !0, bn.then(le));
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function Ct(e) {
|
|
158
158
|
Ae.push(e);
|
|
159
159
|
}
|
|
160
|
-
const
|
|
160
|
+
const gt = /* @__PURE__ */ new Set();
|
|
161
161
|
let Ee = 0;
|
|
162
|
-
function
|
|
162
|
+
function le() {
|
|
163
163
|
if (Ee !== 0)
|
|
164
164
|
return;
|
|
165
|
-
const e =
|
|
165
|
+
const e = je;
|
|
166
166
|
do {
|
|
167
167
|
try {
|
|
168
168
|
for (; Ee < Te.length; ) {
|
|
169
169
|
const t = Te[Ee];
|
|
170
|
-
Ee++,
|
|
170
|
+
Ee++, Ge(t), vn(t.$$);
|
|
171
171
|
}
|
|
172
172
|
} catch (t) {
|
|
173
173
|
throw Te.length = 0, Ee = 0, t;
|
|
174
174
|
}
|
|
175
|
-
for (
|
|
175
|
+
for (Ge(null), Te.length = 0, Ee = 0; Be.length; )
|
|
176
176
|
Be.pop()();
|
|
177
177
|
for (let t = 0; t < Ae.length; t += 1) {
|
|
178
178
|
const r = Ae[t];
|
|
179
|
-
|
|
179
|
+
gt.has(r) || (gt.add(r), r());
|
|
180
180
|
}
|
|
181
181
|
Ae.length = 0;
|
|
182
182
|
} while (Te.length);
|
|
183
|
-
for (;
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
for (; Zt.length; )
|
|
184
|
+
Zt.pop()();
|
|
185
|
+
Et = !1, gt.clear(), Ge(e);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function vn(e) {
|
|
188
188
|
if (e.fragment !== null) {
|
|
189
189
|
e.update(), Oe(e.before_update);
|
|
190
190
|
const t = e.dirty;
|
|
191
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
191
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ct);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function yn(e) {
|
|
195
195
|
const t = [], r = [];
|
|
196
196
|
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
197
197
|
}
|
|
198
|
-
const
|
|
199
|
-
function
|
|
200
|
-
e && e.i && (
|
|
198
|
+
const Pn = /* @__PURE__ */ new Set();
|
|
199
|
+
function _n(e, t) {
|
|
200
|
+
e && e.i && (Pn.delete(e), e.i(t));
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function xn(e, t, r) {
|
|
203
203
|
const { fragment: n, after_update: s } = e.$$;
|
|
204
|
-
n && n.m(t, r),
|
|
205
|
-
const a = e.$$.on_mount.map(
|
|
204
|
+
n && n.m(t, r), Ct(() => {
|
|
205
|
+
const a = e.$$.on_mount.map(yr).filter(Se);
|
|
206
206
|
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Oe(a), e.$$.on_mount = [];
|
|
207
|
-
}), s.forEach(
|
|
207
|
+
}), s.forEach(Ct);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function En(e, t) {
|
|
210
210
|
const r = e.$$;
|
|
211
|
-
r.fragment !== null && (
|
|
211
|
+
r.fragment !== null && (yn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
e.$$.dirty[0] === -1 && (Te.push(e),
|
|
213
|
+
function Cn(e, t) {
|
|
214
|
+
e.$$.dirty[0] === -1 && (Te.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
const u =
|
|
218
|
-
|
|
216
|
+
function Tn(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
217
|
+
const u = je;
|
|
218
|
+
Ge(e);
|
|
219
219
|
const h = e.$$ = {
|
|
220
220
|
fragment: null,
|
|
221
221
|
ctx: [],
|
|
@@ -223,7 +223,7 @@ function Cn(e, t, r, n, s, a, i = null, o = [-1]) {
|
|
|
223
223
|
props: a,
|
|
224
224
|
update: se,
|
|
225
225
|
not_equal: s,
|
|
226
|
-
bound:
|
|
226
|
+
bound: Xt(),
|
|
227
227
|
// lifecycle
|
|
228
228
|
on_mount: [],
|
|
229
229
|
on_destroy: [],
|
|
@@ -232,8 +232,8 @@ function Cn(e, t, r, n, s, a, i = null, o = [-1]) {
|
|
|
232
232
|
after_update: [],
|
|
233
233
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
234
234
|
// everything else
|
|
235
|
-
callbacks:
|
|
236
|
-
dirty:
|
|
235
|
+
callbacks: Xt(),
|
|
236
|
+
dirty: l,
|
|
237
237
|
skip_bound: !1,
|
|
238
238
|
root: t.target || u.$$.root
|
|
239
239
|
};
|
|
@@ -241,19 +241,19 @@ function Cn(e, t, r, n, s, a, i = null, o = [-1]) {
|
|
|
241
241
|
let c = !1;
|
|
242
242
|
if (h.ctx = r ? r(e, t.props || {}, (f, p, ...m) => {
|
|
243
243
|
const w = m.length ? m[0] : p;
|
|
244
|
-
return h.ctx && s(h.ctx[f], h.ctx[f] = w) && (!h.skip_bound && h.bound[f] && h.bound[f](w), c &&
|
|
244
|
+
return h.ctx && s(h.ctx[f], h.ctx[f] = w) && (!h.skip_bound && h.bound[f] && h.bound[f](w), c && Cn(e, f)), p;
|
|
245
245
|
}) : [], h.update(), c = !0, Oe(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
246
246
|
if (t.hydrate) {
|
|
247
|
-
const f =
|
|
248
|
-
h.fragment && h.fragment.l(f), f.forEach(
|
|
247
|
+
const f = fn(t.target);
|
|
248
|
+
h.fragment && h.fragment.l(f), f.forEach(S);
|
|
249
249
|
} else
|
|
250
250
|
h.fragment && h.fragment.c();
|
|
251
|
-
t.intro &&
|
|
251
|
+
t.intro && _n(e.$$.fragment), xn(e, t.target, t.anchor), le();
|
|
252
252
|
}
|
|
253
|
-
|
|
253
|
+
Ge(u);
|
|
254
254
|
}
|
|
255
|
-
let
|
|
256
|
-
typeof HTMLElement == "function" && (
|
|
255
|
+
let Er;
|
|
256
|
+
typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
257
257
|
constructor(t, r, n) {
|
|
258
258
|
super();
|
|
259
259
|
/** The Svelte component constructor */
|
|
@@ -290,31 +290,31 @@ typeof HTMLElement == "function" && (_r = class extends HTMLElement {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
connectedCallback() {
|
|
293
|
-
return
|
|
293
|
+
return Wt(this, null, function* () {
|
|
294
294
|
if (this.$$cn = !0, !this.$$c) {
|
|
295
295
|
let t = function(a) {
|
|
296
296
|
return () => {
|
|
297
297
|
let i;
|
|
298
298
|
return {
|
|
299
299
|
c: function() {
|
|
300
|
-
i = _("slot"), a !== "default" &&
|
|
300
|
+
i = _("slot"), a !== "default" && o(i, "name", a);
|
|
301
301
|
},
|
|
302
302
|
/**
|
|
303
303
|
* @param {HTMLElement} target
|
|
304
304
|
* @param {HTMLElement} [anchor]
|
|
305
305
|
*/
|
|
306
306
|
m: function(h, c) {
|
|
307
|
-
|
|
307
|
+
I(h, i, c);
|
|
308
308
|
},
|
|
309
309
|
d: function(h) {
|
|
310
|
-
h &&
|
|
310
|
+
h && S(i);
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
};
|
|
314
314
|
};
|
|
315
315
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
316
316
|
return;
|
|
317
|
-
const r = {}, n =
|
|
317
|
+
const r = {}, n = pn(this);
|
|
318
318
|
for (const a of this.$$s)
|
|
319
319
|
a in n && (r[a] = [t(a)]);
|
|
320
320
|
for (const a of this.attributes) {
|
|
@@ -325,7 +325,7 @@ typeof HTMLElement == "function" && (_r = class extends HTMLElement {
|
|
|
325
325
|
!(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
|
|
326
326
|
this.$$c = new this.$$ctor({
|
|
327
327
|
target: this.shadowRoot || this,
|
|
328
|
-
props:
|
|
328
|
+
props: zt(Vt({}, this.$$d), {
|
|
329
329
|
$$slots: r,
|
|
330
330
|
$$scope: {
|
|
331
331
|
ctx: []
|
|
@@ -349,8 +349,8 @@ typeof HTMLElement == "function" && (_r = class extends HTMLElement {
|
|
|
349
349
|
this.$$c.$$.after_update.push(s), s();
|
|
350
350
|
for (const a in this.$$l)
|
|
351
351
|
for (const i of this.$$l[a]) {
|
|
352
|
-
const
|
|
353
|
-
this.$$l_u.set(i,
|
|
352
|
+
const l = this.$$c.$on(a, i);
|
|
353
|
+
this.$$l_u.set(i, l);
|
|
354
354
|
}
|
|
355
355
|
this.$$l = {};
|
|
356
356
|
}
|
|
@@ -403,38 +403,38 @@ function rt(e, t, r, n) {
|
|
|
403
403
|
return t;
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
function
|
|
407
|
-
let i = class extends
|
|
406
|
+
function Bn(e, t, r, n, s, a) {
|
|
407
|
+
let i = class extends Er {
|
|
408
408
|
constructor() {
|
|
409
409
|
super(e, r, s), this.$$p_d = t;
|
|
410
410
|
}
|
|
411
411
|
static get observedAttributes() {
|
|
412
412
|
return Object.keys(t).map(
|
|
413
|
-
(
|
|
413
|
+
(l) => (t[l].attribute || l).toLowerCase()
|
|
414
414
|
);
|
|
415
415
|
}
|
|
416
416
|
};
|
|
417
|
-
return Object.keys(t).forEach((
|
|
418
|
-
Object.defineProperty(i.prototype,
|
|
417
|
+
return Object.keys(t).forEach((l) => {
|
|
418
|
+
Object.defineProperty(i.prototype, l, {
|
|
419
419
|
get() {
|
|
420
|
-
return this.$$c &&
|
|
420
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
421
421
|
},
|
|
422
422
|
set(u) {
|
|
423
423
|
var h;
|
|
424
|
-
u = rt(
|
|
424
|
+
u = rt(l, u, t), this.$$d[l] = u, (h = this.$$c) == null || h.$set({ [l]: u });
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
|
-
}), n.forEach((
|
|
428
|
-
Object.defineProperty(i.prototype,
|
|
427
|
+
}), n.forEach((l) => {
|
|
428
|
+
Object.defineProperty(i.prototype, l, {
|
|
429
429
|
get() {
|
|
430
430
|
var u;
|
|
431
|
-
return (u = this.$$c) == null ? void 0 : u[
|
|
431
|
+
return (u = this.$$c) == null ? void 0 : u[l];
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
434
|
}), e.element = /** @type {any} */
|
|
435
435
|
i, i;
|
|
436
436
|
}
|
|
437
|
-
class
|
|
437
|
+
class Sn {
|
|
438
438
|
constructor() {
|
|
439
439
|
/**
|
|
440
440
|
* ### PRIVATE API
|
|
@@ -455,7 +455,7 @@ class Bn {
|
|
|
455
455
|
}
|
|
456
456
|
/** @returns {void} */
|
|
457
457
|
$destroy() {
|
|
458
|
-
|
|
458
|
+
En(this, 1), this.$destroy = se;
|
|
459
459
|
}
|
|
460
460
|
/**
|
|
461
461
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -477,18 +477,18 @@ class Bn {
|
|
|
477
477
|
* @returns {void}
|
|
478
478
|
*/
|
|
479
479
|
$set(t) {
|
|
480
|
-
this.$$set && !
|
|
480
|
+
this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
const
|
|
484
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
485
|
-
function
|
|
483
|
+
const An = "4";
|
|
484
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(An);
|
|
485
|
+
function In(e, t) {
|
|
486
486
|
if (e) {
|
|
487
487
|
const r = document.createElement("style");
|
|
488
488
|
r.innerHTML = t, e.appendChild(r);
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function Hn(e, t) {
|
|
492
492
|
const r = new URL(t);
|
|
493
493
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
494
494
|
const s = document.createElement("style");
|
|
@@ -497,7 +497,7 @@ function In(e, t) {
|
|
|
497
497
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
498
498
|
});
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function Mn(e, t, r) {
|
|
501
501
|
if (window.emMessageBus) {
|
|
502
502
|
const n = document.createElement("style");
|
|
503
503
|
window.emMessageBus.subscribe(t, (s) => {
|
|
@@ -519,43 +519,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
519
519
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
520
520
|
PERFORMANCE OF THIS SOFTWARE.
|
|
521
521
|
***************************************************************************** */
|
|
522
|
-
var
|
|
523
|
-
return
|
|
522
|
+
var Tt = function(e, t) {
|
|
523
|
+
return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
524
524
|
r.__proto__ = n;
|
|
525
525
|
} || function(r, n) {
|
|
526
526
|
for (var s in n)
|
|
527
527
|
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
528
|
-
},
|
|
528
|
+
}, Tt(e, t);
|
|
529
529
|
};
|
|
530
|
-
function
|
|
530
|
+
function We(e, t) {
|
|
531
531
|
if (typeof t != "function" && t !== null)
|
|
532
532
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
533
|
-
|
|
533
|
+
Tt(e, t);
|
|
534
534
|
function r() {
|
|
535
535
|
this.constructor = e;
|
|
536
536
|
}
|
|
537
537
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
538
538
|
}
|
|
539
|
-
|
|
540
|
-
return S = Object.assign || function(t) {
|
|
541
|
-
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
542
|
-
r = arguments[n];
|
|
543
|
-
for (var a in r)
|
|
544
|
-
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
545
|
-
}
|
|
546
|
-
return t;
|
|
547
|
-
}, S.apply(this, arguments);
|
|
548
|
-
};
|
|
549
|
-
function Mn(e, t) {
|
|
550
|
-
var r = {};
|
|
551
|
-
for (var n in e)
|
|
552
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
553
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
554
|
-
for (var s = 0, n = Object.getOwnPropertySymbols(e); s < n.length; s++)
|
|
555
|
-
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
556
|
-
return r;
|
|
557
|
-
}
|
|
558
|
-
function Ct(e) {
|
|
539
|
+
function Bt(e) {
|
|
559
540
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
560
541
|
if (r)
|
|
561
542
|
return r.call(e);
|
|
@@ -567,7 +548,7 @@ function Ct(e) {
|
|
|
567
548
|
};
|
|
568
549
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
569
550
|
}
|
|
570
|
-
function
|
|
551
|
+
function St(e, t) {
|
|
571
552
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
572
553
|
if (!r)
|
|
573
554
|
return e;
|
|
@@ -575,8 +556,8 @@ function Tt(e, t) {
|
|
|
575
556
|
try {
|
|
576
557
|
for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; )
|
|
577
558
|
a.push(s.value);
|
|
578
|
-
} catch (
|
|
579
|
-
i = { error:
|
|
559
|
+
} catch (l) {
|
|
560
|
+
i = { error: l };
|
|
580
561
|
} finally {
|
|
581
562
|
try {
|
|
582
563
|
s && !s.done && (r = n.return) && r.call(n);
|
|
@@ -587,22 +568,22 @@ function Tt(e, t) {
|
|
|
587
568
|
}
|
|
588
569
|
return a;
|
|
589
570
|
}
|
|
590
|
-
function
|
|
591
|
-
if (
|
|
571
|
+
function At(e, t, r) {
|
|
572
|
+
if (arguments.length === 2)
|
|
592
573
|
for (var n = 0, s = t.length, a; n < s; n++)
|
|
593
574
|
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
594
575
|
return e.concat(a || t);
|
|
595
576
|
}
|
|
596
|
-
function
|
|
577
|
+
function ue(e) {
|
|
597
578
|
return typeof e == "function";
|
|
598
579
|
}
|
|
599
|
-
function
|
|
580
|
+
function Cr(e) {
|
|
600
581
|
var t = function(n) {
|
|
601
582
|
Error.call(n), n.stack = new Error().stack;
|
|
602
583
|
}, r = e(t);
|
|
603
584
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
604
585
|
}
|
|
605
|
-
var
|
|
586
|
+
var bt = Cr(function(e) {
|
|
606
587
|
return function(r) {
|
|
607
588
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
608
589
|
` + r.map(function(n, s) {
|
|
@@ -611,13 +592,13 @@ var mt = xr(function(e) {
|
|
|
611
592
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
612
593
|
};
|
|
613
594
|
});
|
|
614
|
-
function
|
|
595
|
+
function It(e, t) {
|
|
615
596
|
if (e) {
|
|
616
597
|
var r = e.indexOf(t);
|
|
617
598
|
0 <= r && e.splice(r, 1);
|
|
618
599
|
}
|
|
619
600
|
}
|
|
620
|
-
var
|
|
601
|
+
var ut = function() {
|
|
621
602
|
function e(t) {
|
|
622
603
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
623
604
|
}
|
|
@@ -629,7 +610,7 @@ var lt = function() {
|
|
|
629
610
|
if (i)
|
|
630
611
|
if (this._parentage = null, Array.isArray(i))
|
|
631
612
|
try {
|
|
632
|
-
for (var
|
|
613
|
+
for (var l = Bt(i), u = l.next(); !u.done; u = l.next()) {
|
|
633
614
|
var h = u.value;
|
|
634
615
|
h.remove(this);
|
|
635
616
|
}
|
|
@@ -637,7 +618,7 @@ var lt = function() {
|
|
|
637
618
|
t = { error: v };
|
|
638
619
|
} finally {
|
|
639
620
|
try {
|
|
640
|
-
u && !u.done && (r =
|
|
621
|
+
u && !u.done && (r = l.return) && r.call(l);
|
|
641
622
|
} finally {
|
|
642
623
|
if (t)
|
|
643
624
|
throw t.error;
|
|
@@ -646,22 +627,22 @@ var lt = function() {
|
|
|
646
627
|
else
|
|
647
628
|
i.remove(this);
|
|
648
629
|
var c = this.initialTeardown;
|
|
649
|
-
if (
|
|
630
|
+
if (ue(c))
|
|
650
631
|
try {
|
|
651
632
|
c();
|
|
652
633
|
} catch (v) {
|
|
653
|
-
a = v instanceof
|
|
634
|
+
a = v instanceof bt ? v.errors : [v];
|
|
654
635
|
}
|
|
655
636
|
var f = this._finalizers;
|
|
656
637
|
if (f) {
|
|
657
638
|
this._finalizers = null;
|
|
658
639
|
try {
|
|
659
|
-
for (var p =
|
|
640
|
+
for (var p = Bt(f), m = p.next(); !m.done; m = p.next()) {
|
|
660
641
|
var w = m.value;
|
|
661
642
|
try {
|
|
662
|
-
|
|
643
|
+
Qt(w);
|
|
663
644
|
} catch (v) {
|
|
664
|
-
a = a != null ? a : [], v instanceof
|
|
645
|
+
a = a != null ? a : [], v instanceof bt ? a = At(At([], St(a)), St(v.errors)) : a.push(v);
|
|
665
646
|
}
|
|
666
647
|
}
|
|
667
648
|
} catch (v) {
|
|
@@ -676,13 +657,13 @@ var lt = function() {
|
|
|
676
657
|
}
|
|
677
658
|
}
|
|
678
659
|
if (a)
|
|
679
|
-
throw new
|
|
660
|
+
throw new bt(a);
|
|
680
661
|
}
|
|
681
662
|
}, e.prototype.add = function(t) {
|
|
682
663
|
var r;
|
|
683
664
|
if (t && t !== this)
|
|
684
665
|
if (this.closed)
|
|
685
|
-
|
|
666
|
+
Qt(t);
|
|
686
667
|
else {
|
|
687
668
|
if (t instanceof e) {
|
|
688
669
|
if (t.closed || t._hasParent(this))
|
|
@@ -699,32 +680,28 @@ var lt = function() {
|
|
|
699
680
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
700
681
|
}, e.prototype._removeParent = function(t) {
|
|
701
682
|
var r = this._parentage;
|
|
702
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
683
|
+
r === t ? this._parentage = null : Array.isArray(r) && It(r, t);
|
|
703
684
|
}, e.prototype.remove = function(t) {
|
|
704
685
|
var r = this._finalizers;
|
|
705
|
-
r &&
|
|
686
|
+
r && It(r, t), t instanceof e && t._removeParent(this);
|
|
706
687
|
}, e.EMPTY = function() {
|
|
707
688
|
var t = new e();
|
|
708
689
|
return t.closed = !0, t;
|
|
709
690
|
}(), e;
|
|
710
|
-
}(),
|
|
711
|
-
function
|
|
712
|
-
return e instanceof
|
|
713
|
-
}
|
|
714
|
-
function
|
|
715
|
-
|
|
716
|
-
}
|
|
717
|
-
var
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
Promise: void 0,
|
|
721
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
722
|
-
useDeprecatedNextContext: !1
|
|
723
|
-
}, Nn = {
|
|
691
|
+
}(), Tr = ut.EMPTY;
|
|
692
|
+
function Br(e) {
|
|
693
|
+
return e instanceof ut || e && "closed" in e && ue(e.remove) && ue(e.add) && ue(e.unsubscribe);
|
|
694
|
+
}
|
|
695
|
+
function Qt(e) {
|
|
696
|
+
ue(e) ? e() : e.unsubscribe();
|
|
697
|
+
}
|
|
698
|
+
var Nn = {
|
|
699
|
+
Promise: void 0
|
|
700
|
+
}, On = {
|
|
724
701
|
setTimeout: function(e, t) {
|
|
725
702
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
726
703
|
r[n - 2] = arguments[n];
|
|
727
|
-
return setTimeout.apply(void 0,
|
|
704
|
+
return setTimeout.apply(void 0, At([e, t], St(r)));
|
|
728
705
|
},
|
|
729
706
|
clearTimeout: function(e) {
|
|
730
707
|
return clearTimeout(e);
|
|
@@ -732,23 +709,23 @@ var Tr = {
|
|
|
732
709
|
delegate: void 0
|
|
733
710
|
};
|
|
734
711
|
function Rn(e) {
|
|
735
|
-
|
|
712
|
+
On.setTimeout(function() {
|
|
736
713
|
throw e;
|
|
737
714
|
});
|
|
738
715
|
}
|
|
739
|
-
function
|
|
716
|
+
function Yt() {
|
|
740
717
|
}
|
|
741
718
|
function nt(e) {
|
|
742
719
|
e();
|
|
743
720
|
}
|
|
744
|
-
var
|
|
745
|
-
|
|
721
|
+
var Sr = function(e) {
|
|
722
|
+
We(t, e);
|
|
746
723
|
function t(r) {
|
|
747
724
|
var n = e.call(this) || this;
|
|
748
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
725
|
+
return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = kn, n;
|
|
749
726
|
}
|
|
750
727
|
return t.create = function(r, n, s) {
|
|
751
|
-
return new
|
|
728
|
+
return new Ht(r, n, s);
|
|
752
729
|
}, t.prototype.next = function(r) {
|
|
753
730
|
this.isStopped || this._next(r);
|
|
754
731
|
}, t.prototype.error = function(r) {
|
|
@@ -772,11 +749,7 @@ var Br = function(e) {
|
|
|
772
749
|
this.unsubscribe();
|
|
773
750
|
}
|
|
774
751
|
}, t;
|
|
775
|
-
}(
|
|
776
|
-
function gt(e, t) {
|
|
777
|
-
return On.call(e, t);
|
|
778
|
-
}
|
|
779
|
-
var Ln = function() {
|
|
752
|
+
}(ut), Ln = function() {
|
|
780
753
|
function e(t) {
|
|
781
754
|
this.partialObserver = t;
|
|
782
755
|
}
|
|
@@ -807,30 +780,18 @@ var Ln = function() {
|
|
|
807
780
|
et(r);
|
|
808
781
|
}
|
|
809
782
|
}, e;
|
|
810
|
-
}(),
|
|
811
|
-
|
|
783
|
+
}(), Ht = function(e) {
|
|
784
|
+
We(t, e);
|
|
812
785
|
function t(r, n, s) {
|
|
813
786
|
var a = e.call(this) || this, i;
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
};
|
|
820
|
-
else {
|
|
821
|
-
var o;
|
|
822
|
-
a && Tr.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
|
|
823
|
-
return a.unsubscribe();
|
|
824
|
-
}, i = {
|
|
825
|
-
next: r.next && gt(r.next, o),
|
|
826
|
-
error: r.error && gt(r.error, o),
|
|
827
|
-
complete: r.complete && gt(r.complete, o)
|
|
828
|
-
}) : i = r;
|
|
829
|
-
}
|
|
830
|
-
return a.destination = new Ln(i), a;
|
|
787
|
+
return ue(r) || !r ? i = {
|
|
788
|
+
next: r != null ? r : void 0,
|
|
789
|
+
error: n != null ? n : void 0,
|
|
790
|
+
complete: s != null ? s : void 0
|
|
791
|
+
} : i = r, a.destination = new Ln(i), a;
|
|
831
792
|
}
|
|
832
793
|
return t;
|
|
833
|
-
}(
|
|
794
|
+
}(Sr);
|
|
834
795
|
function et(e) {
|
|
835
796
|
Rn(e);
|
|
836
797
|
}
|
|
@@ -839,9 +800,9 @@ function Fn(e) {
|
|
|
839
800
|
}
|
|
840
801
|
var kn = {
|
|
841
802
|
closed: !0,
|
|
842
|
-
next:
|
|
803
|
+
next: Yt,
|
|
843
804
|
error: Fn,
|
|
844
|
-
complete:
|
|
805
|
+
complete: Yt
|
|
845
806
|
}, Dn = function() {
|
|
846
807
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
847
808
|
}();
|
|
@@ -855,7 +816,7 @@ function $n(e) {
|
|
|
855
816
|
}, r);
|
|
856
817
|
};
|
|
857
818
|
}
|
|
858
|
-
var
|
|
819
|
+
var Jt = function() {
|
|
859
820
|
function e(t) {
|
|
860
821
|
t && (this._subscribe = t);
|
|
861
822
|
}
|
|
@@ -863,10 +824,10 @@ var Qt = function() {
|
|
|
863
824
|
var r = new e();
|
|
864
825
|
return r.source = this, r.operator = t, r;
|
|
865
826
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
866
|
-
var s = this, a = jn(t) ? t : new
|
|
827
|
+
var s = this, a = jn(t) ? t : new Ht(t, r, n);
|
|
867
828
|
return nt(function() {
|
|
868
|
-
var i = s,
|
|
869
|
-
a.add(
|
|
829
|
+
var i = s, l = i.operator, u = i.source;
|
|
830
|
+
a.add(l ? l.call(a, u) : u ? s._subscribe(a) : s._trySubscribe(a));
|
|
870
831
|
}), a;
|
|
871
832
|
}, e.prototype._trySubscribe = function(t) {
|
|
872
833
|
try {
|
|
@@ -876,11 +837,11 @@ var Qt = function() {
|
|
|
876
837
|
}
|
|
877
838
|
}, e.prototype.forEach = function(t, r) {
|
|
878
839
|
var n = this;
|
|
879
|
-
return r =
|
|
880
|
-
var i = new
|
|
881
|
-
next: function(
|
|
840
|
+
return r = qt(r), new r(function(s, a) {
|
|
841
|
+
var i = new Ht({
|
|
842
|
+
next: function(l) {
|
|
882
843
|
try {
|
|
883
|
-
t(
|
|
844
|
+
t(l);
|
|
884
845
|
} catch (u) {
|
|
885
846
|
a(u), i.unsubscribe();
|
|
886
847
|
}
|
|
@@ -901,7 +862,7 @@ var Qt = function() {
|
|
|
901
862
|
return $n(t)(this);
|
|
902
863
|
}, e.prototype.toPromise = function(t) {
|
|
903
864
|
var r = this;
|
|
904
|
-
return t =
|
|
865
|
+
return t = qt(t), new t(function(n, s) {
|
|
905
866
|
var a;
|
|
906
867
|
r.subscribe(function(i) {
|
|
907
868
|
return a = i;
|
|
@@ -915,28 +876,28 @@ var Qt = function() {
|
|
|
915
876
|
return new e(t);
|
|
916
877
|
}, e;
|
|
917
878
|
}();
|
|
918
|
-
function
|
|
879
|
+
function qt(e) {
|
|
919
880
|
var t;
|
|
920
|
-
return (t = e != null ? e :
|
|
881
|
+
return (t = e != null ? e : Nn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
921
882
|
}
|
|
922
883
|
function Gn(e) {
|
|
923
|
-
return e &&
|
|
884
|
+
return e && ue(e.next) && ue(e.error) && ue(e.complete);
|
|
924
885
|
}
|
|
925
886
|
function jn(e) {
|
|
926
|
-
return e && e instanceof
|
|
887
|
+
return e && e instanceof Sr || Gn(e) && Br(e);
|
|
927
888
|
}
|
|
928
|
-
var Vn =
|
|
889
|
+
var Vn = Cr(function(e) {
|
|
929
890
|
return function() {
|
|
930
891
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
931
892
|
};
|
|
932
|
-
}),
|
|
933
|
-
|
|
893
|
+
}), Ar = function(e) {
|
|
894
|
+
We(t, e);
|
|
934
895
|
function t() {
|
|
935
896
|
var r = e.call(this) || this;
|
|
936
897
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
937
898
|
}
|
|
938
899
|
return t.prototype.lift = function(r) {
|
|
939
|
-
var n = new
|
|
900
|
+
var n = new Kt(this, this);
|
|
940
901
|
return n.operator = r, n;
|
|
941
902
|
}, t.prototype._throwIfClosed = function() {
|
|
942
903
|
if (this.closed)
|
|
@@ -948,15 +909,15 @@ var Vn = xr(function(e) {
|
|
|
948
909
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
949
910
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
950
911
|
try {
|
|
951
|
-
for (var i =
|
|
952
|
-
var u =
|
|
912
|
+
for (var i = Bt(n.currentObservers), l = i.next(); !l.done; l = i.next()) {
|
|
913
|
+
var u = l.value;
|
|
953
914
|
u.next(r);
|
|
954
915
|
}
|
|
955
916
|
} catch (h) {
|
|
956
917
|
s = { error: h };
|
|
957
918
|
} finally {
|
|
958
919
|
try {
|
|
959
|
-
|
|
920
|
+
l && !l.done && (a = i.return) && a.call(i);
|
|
960
921
|
} finally {
|
|
961
922
|
if (s)
|
|
962
923
|
throw s.error;
|
|
@@ -996,21 +957,21 @@ var Vn = xr(function(e) {
|
|
|
996
957
|
}, t.prototype._subscribe = function(r) {
|
|
997
958
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
998
959
|
}, t.prototype._innerSubscribe = function(r) {
|
|
999
|
-
var n = this, s = this, a = s.hasError, i = s.isStopped,
|
|
1000
|
-
return a || i ?
|
|
1001
|
-
n.currentObservers = null,
|
|
960
|
+
var n = this, s = this, a = s.hasError, i = s.isStopped, l = s.observers;
|
|
961
|
+
return a || i ? Tr : (this.currentObservers = null, l.push(r), new ut(function() {
|
|
962
|
+
n.currentObservers = null, It(l, r);
|
|
1002
963
|
}));
|
|
1003
964
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1004
965
|
var n = this, s = n.hasError, a = n.thrownError, i = n.isStopped;
|
|
1005
966
|
s ? r.error(a) : i && r.complete();
|
|
1006
967
|
}, t.prototype.asObservable = function() {
|
|
1007
|
-
var r = new
|
|
968
|
+
var r = new Jt();
|
|
1008
969
|
return r.source = this, r;
|
|
1009
970
|
}, t.create = function(r, n) {
|
|
1010
|
-
return new
|
|
971
|
+
return new Kt(r, n);
|
|
1011
972
|
}, t;
|
|
1012
|
-
}(
|
|
1013
|
-
|
|
973
|
+
}(Jt), Kt = function(e) {
|
|
974
|
+
We(t, e);
|
|
1014
975
|
function t(r, n) {
|
|
1015
976
|
var s = e.call(this) || this;
|
|
1016
977
|
return s.destination = r, s.source = n, s;
|
|
@@ -1026,54 +987,54 @@ var Vn = xr(function(e) {
|
|
|
1026
987
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1027
988
|
}, t.prototype._subscribe = function(r) {
|
|
1028
989
|
var n, s;
|
|
1029
|
-
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s :
|
|
990
|
+
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : Tr;
|
|
1030
991
|
}, t;
|
|
1031
|
-
}(
|
|
992
|
+
}(Ar), Ir = {
|
|
1032
993
|
now: function() {
|
|
1033
|
-
return (
|
|
994
|
+
return (Ir.delegate || Date).now();
|
|
1034
995
|
},
|
|
1035
996
|
delegate: void 0
|
|
1036
997
|
}, zn = function(e) {
|
|
1037
|
-
|
|
998
|
+
We(t, e);
|
|
1038
999
|
function t(r, n, s) {
|
|
1039
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s =
|
|
1000
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = Ir);
|
|
1040
1001
|
var a = e.call(this) || this;
|
|
1041
1002
|
return a._bufferSize = r, a._windowTime = n, a._timestampProvider = s, a._buffer = [], a._infiniteTimeWindow = !0, a._infiniteTimeWindow = n === 1 / 0, a._bufferSize = Math.max(1, r), a._windowTime = Math.max(1, n), a;
|
|
1042
1003
|
}
|
|
1043
1004
|
return t.prototype.next = function(r) {
|
|
1044
|
-
var n = this, s = n.isStopped, a = n._buffer, i = n._infiniteTimeWindow,
|
|
1045
|
-
s || (a.push(r), !i && a.push(
|
|
1005
|
+
var n = this, s = n.isStopped, a = n._buffer, i = n._infiniteTimeWindow, l = n._timestampProvider, u = n._windowTime;
|
|
1006
|
+
s || (a.push(r), !i && a.push(l.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1046
1007
|
}, t.prototype._subscribe = function(r) {
|
|
1047
1008
|
this._throwIfClosed(), this._trimBuffer();
|
|
1048
|
-
for (var n = this._innerSubscribe(r), s = this, a = s._infiniteTimeWindow, i = s._buffer,
|
|
1049
|
-
r.next(
|
|
1009
|
+
for (var n = this._innerSubscribe(r), s = this, a = s._infiniteTimeWindow, i = s._buffer, l = i.slice(), u = 0; u < l.length && !r.closed; u += a ? 1 : 2)
|
|
1010
|
+
r.next(l[u]);
|
|
1050
1011
|
return this._checkFinalizedStatuses(r), n;
|
|
1051
1012
|
}, t.prototype._trimBuffer = function() {
|
|
1052
|
-
var r = this, n = r._bufferSize, s = r._timestampProvider, a = r._buffer, i = r._infiniteTimeWindow,
|
|
1053
|
-
if (n < 1 / 0 &&
|
|
1013
|
+
var r = this, n = r._bufferSize, s = r._timestampProvider, a = r._buffer, i = r._infiniteTimeWindow, l = (i ? 1 : 2) * n;
|
|
1014
|
+
if (n < 1 / 0 && l < a.length && a.splice(0, a.length - l), !i) {
|
|
1054
1015
|
for (var u = s.now(), h = 0, c = 1; c < a.length && a[c] <= u; c += 2)
|
|
1055
1016
|
h = c;
|
|
1056
1017
|
h && a.splice(0, h + 1);
|
|
1057
1018
|
}
|
|
1058
1019
|
}, t;
|
|
1059
|
-
}(
|
|
1060
|
-
const
|
|
1061
|
-
if (
|
|
1020
|
+
}(Ar);
|
|
1021
|
+
const er = [], tr = {}, Wn = (e, t = 0) => {
|
|
1022
|
+
if (er.indexOf(e) == -1) {
|
|
1062
1023
|
const r = new zn(t);
|
|
1063
|
-
|
|
1024
|
+
tr[e] = r, er.push(e);
|
|
1064
1025
|
}
|
|
1065
|
-
return
|
|
1026
|
+
return tr[e];
|
|
1066
1027
|
}, Ce = [];
|
|
1067
1028
|
function Xn(e, t) {
|
|
1068
1029
|
return {
|
|
1069
|
-
subscribe:
|
|
1030
|
+
subscribe: ht(e, t).subscribe
|
|
1070
1031
|
};
|
|
1071
1032
|
}
|
|
1072
|
-
function
|
|
1033
|
+
function ht(e, t = se) {
|
|
1073
1034
|
let r;
|
|
1074
1035
|
const n = /* @__PURE__ */ new Set();
|
|
1075
|
-
function s(
|
|
1076
|
-
if (
|
|
1036
|
+
function s(l) {
|
|
1037
|
+
if (Pr(e, l) && (e = l, r)) {
|
|
1077
1038
|
const u = !Ce.length;
|
|
1078
1039
|
for (const h of n)
|
|
1079
1040
|
h[1](), Ce.push(h, e);
|
|
@@ -1084,23 +1045,23 @@ function ut(e, t = se) {
|
|
|
1084
1045
|
}
|
|
1085
1046
|
}
|
|
1086
1047
|
}
|
|
1087
|
-
function a(
|
|
1088
|
-
s(
|
|
1048
|
+
function a(l) {
|
|
1049
|
+
s(l(e));
|
|
1089
1050
|
}
|
|
1090
|
-
function i(
|
|
1091
|
-
const h = [
|
|
1092
|
-
return n.add(h), n.size === 1 && (r = t(s, a) || se),
|
|
1051
|
+
function i(l, u = se) {
|
|
1052
|
+
const h = [l, u];
|
|
1053
|
+
return n.add(h), n.size === 1 && (r = t(s, a) || se), l(e), () => {
|
|
1093
1054
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1094
1055
|
};
|
|
1095
1056
|
}
|
|
1096
1057
|
return { set: s, update: a, subscribe: i };
|
|
1097
1058
|
}
|
|
1098
|
-
function
|
|
1059
|
+
function Re(e, t, r) {
|
|
1099
1060
|
const n = !Array.isArray(e), s = n ? [e] : e;
|
|
1100
1061
|
if (!s.every(Boolean))
|
|
1101
1062
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1102
1063
|
const a = t.length < 2;
|
|
1103
|
-
return Xn(r, (i,
|
|
1064
|
+
return Xn(r, (i, l) => {
|
|
1104
1065
|
let u = !1;
|
|
1105
1066
|
const h = [];
|
|
1106
1067
|
let c = 0, f = se;
|
|
@@ -1108,10 +1069,10 @@ function Le(e, t, r) {
|
|
|
1108
1069
|
if (c)
|
|
1109
1070
|
return;
|
|
1110
1071
|
f();
|
|
1111
|
-
const w = t(n ? h[0] : h, i,
|
|
1072
|
+
const w = t(n ? h[0] : h, i, l);
|
|
1112
1073
|
a ? i(w) : f = Se(w) ? w : se;
|
|
1113
1074
|
}, m = s.map(
|
|
1114
|
-
(w, v) =>
|
|
1075
|
+
(w, v) => _r(
|
|
1115
1076
|
w,
|
|
1116
1077
|
(T) => {
|
|
1117
1078
|
h[v] = T, c &= ~(1 << v), u && p();
|
|
@@ -1146,29 +1107,29 @@ function es(e) {
|
|
|
1146
1107
|
function ts(e) {
|
|
1147
1108
|
return Array.isArray(e) ? [] : {};
|
|
1148
1109
|
}
|
|
1149
|
-
function
|
|
1150
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1110
|
+
function Ve(e, t) {
|
|
1111
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(ts(e), e, t) : e;
|
|
1151
1112
|
}
|
|
1152
1113
|
function rs(e, t, r) {
|
|
1153
1114
|
return e.concat(t).map(function(n) {
|
|
1154
|
-
return
|
|
1115
|
+
return Ve(n, r);
|
|
1155
1116
|
});
|
|
1156
1117
|
}
|
|
1157
1118
|
function ns(e, t) {
|
|
1158
1119
|
if (!t.customMerge)
|
|
1159
|
-
return
|
|
1120
|
+
return Ie;
|
|
1160
1121
|
var r = t.customMerge(e);
|
|
1161
|
-
return typeof r == "function" ? r :
|
|
1122
|
+
return typeof r == "function" ? r : Ie;
|
|
1162
1123
|
}
|
|
1163
1124
|
function ss(e) {
|
|
1164
1125
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1165
1126
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1166
1127
|
}) : [];
|
|
1167
1128
|
}
|
|
1168
|
-
function
|
|
1129
|
+
function rr(e) {
|
|
1169
1130
|
return Object.keys(e).concat(ss(e));
|
|
1170
1131
|
}
|
|
1171
|
-
function
|
|
1132
|
+
function Hr(e, t) {
|
|
1172
1133
|
try {
|
|
1173
1134
|
return t in e;
|
|
1174
1135
|
} catch (r) {
|
|
@@ -1176,129 +1137,179 @@ function Ir(e, t) {
|
|
|
1176
1137
|
}
|
|
1177
1138
|
}
|
|
1178
1139
|
function as(e, t) {
|
|
1179
|
-
return
|
|
1140
|
+
return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1180
1141
|
}
|
|
1181
1142
|
function is(e, t, r) {
|
|
1182
1143
|
var n = {};
|
|
1183
|
-
return r.isMergeableObject(e) &&
|
|
1184
|
-
n[s] =
|
|
1185
|
-
}),
|
|
1186
|
-
as(e, s) || (
|
|
1144
|
+
return r.isMergeableObject(e) && rr(e).forEach(function(s) {
|
|
1145
|
+
n[s] = Ve(e[s], r);
|
|
1146
|
+
}), rr(t).forEach(function(s) {
|
|
1147
|
+
as(e, s) || (Hr(e, s) && r.isMergeableObject(t[s]) ? n[s] = ns(s, r)(e[s], t[s], r) : n[s] = Ve(t[s], r));
|
|
1187
1148
|
}), n;
|
|
1188
1149
|
}
|
|
1189
|
-
function
|
|
1190
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || rs, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified =
|
|
1150
|
+
function Ie(e, t, r) {
|
|
1151
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || rs, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified = Ve;
|
|
1191
1152
|
var n = Array.isArray(t), s = Array.isArray(e), a = n === s;
|
|
1192
|
-
return a ? n ? r.arrayMerge(e, t, r) : is(e, t, r) :
|
|
1153
|
+
return a ? n ? r.arrayMerge(e, t, r) : is(e, t, r) : Ve(t, r);
|
|
1193
1154
|
}
|
|
1194
|
-
|
|
1155
|
+
Ie.all = function(t, r) {
|
|
1195
1156
|
if (!Array.isArray(t))
|
|
1196
1157
|
throw new Error("first argument should be an array");
|
|
1197
1158
|
return t.reduce(function(n, s) {
|
|
1198
|
-
return
|
|
1159
|
+
return Ie(n, s, r);
|
|
1199
1160
|
}, {});
|
|
1200
1161
|
};
|
|
1201
|
-
var os =
|
|
1162
|
+
var os = Ie, ls = os;
|
|
1202
1163
|
const us = /* @__PURE__ */ Zn(ls);
|
|
1203
|
-
function
|
|
1204
|
-
|
|
1164
|
+
var Mt = function(e, t) {
|
|
1165
|
+
return Mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1166
|
+
r.__proto__ = n;
|
|
1167
|
+
} || function(r, n) {
|
|
1168
|
+
for (var s in n)
|
|
1169
|
+
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
1170
|
+
}, Mt(e, t);
|
|
1171
|
+
};
|
|
1172
|
+
function ct(e, t) {
|
|
1173
|
+
if (typeof t != "function" && t !== null)
|
|
1174
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1175
|
+
Mt(e, t);
|
|
1176
|
+
function r() {
|
|
1177
|
+
this.constructor = e;
|
|
1178
|
+
}
|
|
1179
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1180
|
+
}
|
|
1181
|
+
var ie = function() {
|
|
1182
|
+
return ie = Object.assign || function(t) {
|
|
1183
|
+
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1184
|
+
r = arguments[n];
|
|
1185
|
+
for (var a in r)
|
|
1186
|
+
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
1187
|
+
}
|
|
1188
|
+
return t;
|
|
1189
|
+
}, ie.apply(this, arguments);
|
|
1190
|
+
};
|
|
1191
|
+
function hs(e, t) {
|
|
1192
|
+
var r = {};
|
|
1193
|
+
for (var n in e)
|
|
1194
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1195
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1196
|
+
for (var s = 0, n = Object.getOwnPropertySymbols(e); s < n.length; s++)
|
|
1197
|
+
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
1198
|
+
return r;
|
|
1199
|
+
}
|
|
1200
|
+
function wt(e, t, r) {
|
|
1201
|
+
if (r || arguments.length === 2)
|
|
1202
|
+
for (var n = 0, s = t.length, a; n < s; n++)
|
|
1203
|
+
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
1204
|
+
return e.concat(a || Array.prototype.slice.call(t));
|
|
1205
|
+
}
|
|
1206
|
+
function vt(e, t) {
|
|
1207
|
+
var r = t && t.cache ? t.cache : bs, n = t && t.serializer ? t.serializer : ms, s = t && t.strategy ? t.strategy : ds;
|
|
1205
1208
|
return s(e, {
|
|
1206
1209
|
cache: r,
|
|
1207
1210
|
serializer: n
|
|
1208
1211
|
});
|
|
1209
1212
|
}
|
|
1210
|
-
function
|
|
1213
|
+
function cs(e) {
|
|
1211
1214
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1212
1215
|
}
|
|
1213
|
-
function
|
|
1214
|
-
var s =
|
|
1216
|
+
function fs(e, t, r, n) {
|
|
1217
|
+
var s = cs(n) ? n : r(n), a = t.get(s);
|
|
1215
1218
|
return typeof a == "undefined" && (a = e.call(this, n), t.set(s, a)), a;
|
|
1216
1219
|
}
|
|
1217
1220
|
function Mr(e, t, r) {
|
|
1218
1221
|
var n = Array.prototype.slice.call(arguments, 3), s = r(n), a = t.get(s);
|
|
1219
1222
|
return typeof a == "undefined" && (a = e.apply(this, n), t.set(s, a)), a;
|
|
1220
1223
|
}
|
|
1221
|
-
function
|
|
1224
|
+
function Nr(e, t, r, n, s) {
|
|
1222
1225
|
return r.bind(t, e, n, s);
|
|
1223
1226
|
}
|
|
1224
|
-
function cs(e, t) {
|
|
1225
|
-
var r = e.length === 1 ? Hr : Mr;
|
|
1226
|
-
return Ft(e, this, r, t.cache.create(), t.serializer);
|
|
1227
|
-
}
|
|
1228
|
-
function fs(e, t) {
|
|
1229
|
-
return Ft(e, this, Mr, t.cache.create(), t.serializer);
|
|
1230
|
-
}
|
|
1231
1227
|
function ds(e, t) {
|
|
1232
|
-
|
|
1228
|
+
var r = e.length === 1 ? fs : Mr;
|
|
1229
|
+
return Nr(e, this, r, t.cache.create(), t.serializer);
|
|
1233
1230
|
}
|
|
1234
|
-
|
|
1235
|
-
return
|
|
1236
|
-
};
|
|
1237
|
-
function kt() {
|
|
1238
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1231
|
+
function ps(e, t) {
|
|
1232
|
+
return Nr(e, this, Mr, t.cache.create(), t.serializer);
|
|
1239
1233
|
}
|
|
1240
|
-
|
|
1241
|
-
return
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1234
|
+
var ms = function() {
|
|
1235
|
+
return JSON.stringify(arguments);
|
|
1236
|
+
}, gs = (
|
|
1237
|
+
/** @class */
|
|
1238
|
+
function() {
|
|
1239
|
+
function e() {
|
|
1240
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1241
|
+
}
|
|
1242
|
+
return e.prototype.get = function(t) {
|
|
1243
|
+
return this.cache[t];
|
|
1244
|
+
}, e.prototype.set = function(t, r) {
|
|
1245
|
+
this.cache[t] = r;
|
|
1246
|
+
}, e;
|
|
1247
|
+
}()
|
|
1248
|
+
), bs = {
|
|
1247
1249
|
create: function() {
|
|
1248
|
-
return new
|
|
1250
|
+
return new gs();
|
|
1249
1251
|
}
|
|
1250
|
-
},
|
|
1251
|
-
variadic:
|
|
1252
|
-
|
|
1253
|
-
|
|
1252
|
+
}, yt = {
|
|
1253
|
+
variadic: ps
|
|
1254
|
+
}, it = function() {
|
|
1255
|
+
return it = Object.assign || function(t) {
|
|
1256
|
+
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1257
|
+
r = arguments[n];
|
|
1258
|
+
for (var a in r)
|
|
1259
|
+
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
1260
|
+
}
|
|
1261
|
+
return t;
|
|
1262
|
+
}, it.apply(this, arguments);
|
|
1263
|
+
};
|
|
1264
|
+
var E;
|
|
1254
1265
|
(function(e) {
|
|
1255
1266
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1256
1267
|
})(E || (E = {}));
|
|
1257
|
-
var
|
|
1268
|
+
var N;
|
|
1258
1269
|
(function(e) {
|
|
1259
1270
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1260
|
-
})(
|
|
1261
|
-
var
|
|
1271
|
+
})(N || (N = {}));
|
|
1272
|
+
var He;
|
|
1262
1273
|
(function(e) {
|
|
1263
1274
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1264
|
-
})(
|
|
1265
|
-
function
|
|
1266
|
-
return e.type ===
|
|
1275
|
+
})(He || (He = {}));
|
|
1276
|
+
function nr(e) {
|
|
1277
|
+
return e.type === N.literal;
|
|
1267
1278
|
}
|
|
1268
|
-
function
|
|
1269
|
-
return e.type ===
|
|
1279
|
+
function ws(e) {
|
|
1280
|
+
return e.type === N.argument;
|
|
1270
1281
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return e.type ===
|
|
1282
|
+
function Or(e) {
|
|
1283
|
+
return e.type === N.number;
|
|
1273
1284
|
}
|
|
1274
1285
|
function Rr(e) {
|
|
1275
|
-
return e.type ===
|
|
1276
|
-
}
|
|
1277
|
-
function Or(e) {
|
|
1278
|
-
return e.type === R.time;
|
|
1286
|
+
return e.type === N.date;
|
|
1279
1287
|
}
|
|
1280
1288
|
function Lr(e) {
|
|
1281
|
-
return e.type ===
|
|
1289
|
+
return e.type === N.time;
|
|
1282
1290
|
}
|
|
1283
1291
|
function Fr(e) {
|
|
1284
|
-
return e.type ===
|
|
1285
|
-
}
|
|
1286
|
-
function bs(e) {
|
|
1287
|
-
return e.type === R.pound;
|
|
1292
|
+
return e.type === N.select;
|
|
1288
1293
|
}
|
|
1289
1294
|
function kr(e) {
|
|
1290
|
-
return e.type ===
|
|
1295
|
+
return e.type === N.plural;
|
|
1296
|
+
}
|
|
1297
|
+
function vs(e) {
|
|
1298
|
+
return e.type === N.pound;
|
|
1291
1299
|
}
|
|
1292
1300
|
function Dr(e) {
|
|
1293
|
-
return
|
|
1301
|
+
return e.type === N.tag;
|
|
1294
1302
|
}
|
|
1295
|
-
function
|
|
1296
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1303
|
+
function Ur(e) {
|
|
1304
|
+
return !!(e && typeof e == "object" && e.type === He.number);
|
|
1297
1305
|
}
|
|
1298
|
-
|
|
1299
|
-
|
|
1306
|
+
function Nt(e) {
|
|
1307
|
+
return !!(e && typeof e == "object" && e.type === He.dateTime);
|
|
1308
|
+
}
|
|
1309
|
+
var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ys = /(?:[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;
|
|
1310
|
+
function Ps(e) {
|
|
1300
1311
|
var t = {};
|
|
1301
|
-
return e.replace(
|
|
1312
|
+
return e.replace(ys, function(r) {
|
|
1302
1313
|
var n = r.length;
|
|
1303
1314
|
switch (r[0]) {
|
|
1304
1315
|
case "G":
|
|
@@ -1387,36 +1398,46 @@ function vs(e) {
|
|
|
1387
1398
|
return "";
|
|
1388
1399
|
}), t;
|
|
1389
1400
|
}
|
|
1390
|
-
var
|
|
1391
|
-
function
|
|
1401
|
+
var L = function() {
|
|
1402
|
+
return L = Object.assign || function(t) {
|
|
1403
|
+
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1404
|
+
r = arguments[n];
|
|
1405
|
+
for (var a in r)
|
|
1406
|
+
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
1407
|
+
}
|
|
1408
|
+
return t;
|
|
1409
|
+
}, L.apply(this, arguments);
|
|
1410
|
+
};
|
|
1411
|
+
var _s = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1412
|
+
function xs(e) {
|
|
1392
1413
|
if (e.length === 0)
|
|
1393
1414
|
throw new Error("Number skeleton cannot be empty");
|
|
1394
|
-
for (var t = e.split(
|
|
1415
|
+
for (var t = e.split(_s).filter(function(p) {
|
|
1395
1416
|
return p.length > 0;
|
|
1396
1417
|
}), r = [], n = 0, s = t; n < s.length; n++) {
|
|
1397
1418
|
var a = s[n], i = a.split("/");
|
|
1398
1419
|
if (i.length === 0)
|
|
1399
1420
|
throw new Error("Invalid number skeleton");
|
|
1400
|
-
for (var
|
|
1421
|
+
for (var l = i[0], u = i.slice(1), h = 0, c = u; h < c.length; h++) {
|
|
1401
1422
|
var f = c[h];
|
|
1402
1423
|
if (f.length === 0)
|
|
1403
1424
|
throw new Error("Invalid number skeleton");
|
|
1404
1425
|
}
|
|
1405
|
-
r.push({ stem:
|
|
1426
|
+
r.push({ stem: l, options: u });
|
|
1406
1427
|
}
|
|
1407
1428
|
return r;
|
|
1408
1429
|
}
|
|
1409
|
-
function
|
|
1430
|
+
function Es(e) {
|
|
1410
1431
|
return e.replace(/^(.*?)-/, "");
|
|
1411
1432
|
}
|
|
1412
|
-
var
|
|
1413
|
-
function
|
|
1433
|
+
var sr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, Cs = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
|
|
1434
|
+
function ar(e) {
|
|
1414
1435
|
var t = {};
|
|
1415
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1436
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, s) {
|
|
1416
1437
|
return typeof s != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : s === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof s == "string" ? s.length : 0)), "";
|
|
1417
1438
|
}), t;
|
|
1418
1439
|
}
|
|
1419
|
-
function
|
|
1440
|
+
function Vr(e) {
|
|
1420
1441
|
switch (e) {
|
|
1421
1442
|
case "sign-auto":
|
|
1422
1443
|
return {
|
|
@@ -1456,7 +1477,7 @@ function jr(e) {
|
|
|
1456
1477
|
};
|
|
1457
1478
|
}
|
|
1458
1479
|
}
|
|
1459
|
-
function
|
|
1480
|
+
function Ts(e) {
|
|
1460
1481
|
var t;
|
|
1461
1482
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1462
1483
|
notation: "engineering"
|
|
@@ -1464,17 +1485,17 @@ function Es(e) {
|
|
|
1464
1485
|
notation: "scientific"
|
|
1465
1486
|
}, e = e.slice(1)), t) {
|
|
1466
1487
|
var r = e.slice(0, 2);
|
|
1467
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1488
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
|
|
1468
1489
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1469
1490
|
t.minimumIntegerDigits = e.length;
|
|
1470
1491
|
}
|
|
1471
1492
|
return t;
|
|
1472
1493
|
}
|
|
1473
|
-
function
|
|
1474
|
-
var t = {}, r =
|
|
1494
|
+
function ir(e) {
|
|
1495
|
+
var t = {}, r = Vr(e);
|
|
1475
1496
|
return r || t;
|
|
1476
1497
|
}
|
|
1477
|
-
function
|
|
1498
|
+
function Bs(e) {
|
|
1478
1499
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1479
1500
|
var s = n[r];
|
|
1480
1501
|
switch (s.stem) {
|
|
@@ -1498,7 +1519,7 @@ function Cs(e) {
|
|
|
1498
1519
|
continue;
|
|
1499
1520
|
case "measure-unit":
|
|
1500
1521
|
case "unit":
|
|
1501
|
-
t.style = "unit", t.unit =
|
|
1522
|
+
t.style = "unit", t.unit = Es(s.options[0]);
|
|
1502
1523
|
continue;
|
|
1503
1524
|
case "compact-short":
|
|
1504
1525
|
case "K":
|
|
@@ -1509,13 +1530,13 @@ function Cs(e) {
|
|
|
1509
1530
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1510
1531
|
continue;
|
|
1511
1532
|
case "scientific":
|
|
1512
|
-
t =
|
|
1513
|
-
return
|
|
1533
|
+
t = L(L(L({}, t), { notation: "scientific" }), s.options.reduce(function(u, h) {
|
|
1534
|
+
return L(L({}, u), ir(h));
|
|
1514
1535
|
}, {}));
|
|
1515
1536
|
continue;
|
|
1516
1537
|
case "engineering":
|
|
1517
|
-
t =
|
|
1518
|
-
return
|
|
1538
|
+
t = L(L(L({}, t), { notation: "engineering" }), s.options.reduce(function(u, h) {
|
|
1539
|
+
return L(L({}, u), ir(h));
|
|
1519
1540
|
}, {}));
|
|
1520
1541
|
continue;
|
|
1521
1542
|
case "notation-simple":
|
|
@@ -1560,7 +1581,7 @@ function Cs(e) {
|
|
|
1560
1581
|
case "integer-width":
|
|
1561
1582
|
if (s.options.length > 1)
|
|
1562
1583
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1563
|
-
s.options[0].replace(
|
|
1584
|
+
s.options[0].replace(Cs, function(u, h, c, f, p, m) {
|
|
1564
1585
|
if (h)
|
|
1565
1586
|
t.minimumIntegerDigits = c.length;
|
|
1566
1587
|
else {
|
|
@@ -1573,28 +1594,28 @@ function Cs(e) {
|
|
|
1573
1594
|
});
|
|
1574
1595
|
continue;
|
|
1575
1596
|
}
|
|
1576
|
-
if (
|
|
1597
|
+
if (jr.test(s.stem)) {
|
|
1577
1598
|
t.minimumIntegerDigits = s.stem.length;
|
|
1578
1599
|
continue;
|
|
1579
1600
|
}
|
|
1580
|
-
if (
|
|
1601
|
+
if (sr.test(s.stem)) {
|
|
1581
1602
|
if (s.options.length > 1)
|
|
1582
1603
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1583
|
-
s.stem.replace(
|
|
1604
|
+
s.stem.replace(sr, function(u, h, c, f, p, m) {
|
|
1584
1605
|
return c === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1585
1606
|
});
|
|
1586
1607
|
var a = s.options[0];
|
|
1587
|
-
a === "w" ? t =
|
|
1608
|
+
a === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = L(L({}, t), ar(a)));
|
|
1588
1609
|
continue;
|
|
1589
1610
|
}
|
|
1590
|
-
if (
|
|
1591
|
-
t =
|
|
1611
|
+
if (Gr.test(s.stem)) {
|
|
1612
|
+
t = L(L({}, t), ar(s.stem));
|
|
1592
1613
|
continue;
|
|
1593
1614
|
}
|
|
1594
|
-
var i =
|
|
1595
|
-
i && (t =
|
|
1596
|
-
var
|
|
1597
|
-
|
|
1615
|
+
var i = Vr(s.stem);
|
|
1616
|
+
i && (t = L(L({}, t), i));
|
|
1617
|
+
var l = Ts(s.stem);
|
|
1618
|
+
l && (t = L(L({}, t), l));
|
|
1598
1619
|
}
|
|
1599
1620
|
return t;
|
|
1600
1621
|
}
|
|
@@ -3013,14 +3034,14 @@ var tt = {
|
|
|
3013
3034
|
"h"
|
|
3014
3035
|
]
|
|
3015
3036
|
};
|
|
3016
|
-
function
|
|
3037
|
+
function Ss(e, t) {
|
|
3017
3038
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3018
3039
|
var s = e.charAt(n);
|
|
3019
3040
|
if (s === "j") {
|
|
3020
3041
|
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === s; )
|
|
3021
3042
|
a++, n++;
|
|
3022
|
-
var i = 1 + (a & 1),
|
|
3023
|
-
for ((h == "H" || h == "k") && (
|
|
3043
|
+
var i = 1 + (a & 1), l = a < 2 ? 1 : 3 + (a >> 1), u = "a", h = As(t);
|
|
3044
|
+
for ((h == "H" || h == "k") && (l = 0); l-- > 0; )
|
|
3024
3045
|
r += u;
|
|
3025
3046
|
for (; i-- > 0; )
|
|
3026
3047
|
r = h + r;
|
|
@@ -3029,7 +3050,7 @@ function Ts(e, t) {
|
|
|
3029
3050
|
}
|
|
3030
3051
|
return r;
|
|
3031
3052
|
}
|
|
3032
|
-
function
|
|
3053
|
+
function As(e) {
|
|
3033
3054
|
var t = e.hourCycle;
|
|
3034
3055
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3035
3056
|
e.hourCycles && // @ts-ignore
|
|
@@ -3051,20 +3072,20 @@ function Bs(e) {
|
|
|
3051
3072
|
var s = tt[n || ""] || tt[r || ""] || tt["".concat(r, "-001")] || tt["001"];
|
|
3052
3073
|
return s[0];
|
|
3053
3074
|
}
|
|
3054
|
-
var
|
|
3075
|
+
var Pt, Is = new RegExp("^".concat($r.source, "*")), Hs = new RegExp("".concat($r.source, "*$"));
|
|
3055
3076
|
function C(e, t) {
|
|
3056
3077
|
return { start: e, end: t };
|
|
3057
3078
|
}
|
|
3058
|
-
var
|
|
3079
|
+
var Ms = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ns = !!String.fromCodePoint, Os = !!Object.fromEntries, Rs = !!String.prototype.codePointAt, Ls = !!String.prototype.trimStart, Fs = !!String.prototype.trimEnd, ks = !!Number.isSafeInteger, Ds = ks ? Number.isSafeInteger : function(e) {
|
|
3059
3080
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3060
|
-
},
|
|
3081
|
+
}, Ot = !0;
|
|
3061
3082
|
try {
|
|
3062
|
-
var
|
|
3063
|
-
|
|
3083
|
+
var Us = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3084
|
+
Ot = ((Pt = Us.exec("a")) === null || Pt === void 0 ? void 0 : Pt[0]) === "a";
|
|
3064
3085
|
} catch (e) {
|
|
3065
|
-
|
|
3086
|
+
Ot = !1;
|
|
3066
3087
|
}
|
|
3067
|
-
var
|
|
3088
|
+
var or = Ms ? (
|
|
3068
3089
|
// Native
|
|
3069
3090
|
function(t, r, n) {
|
|
3070
3091
|
return t.startsWith(r, n);
|
|
@@ -3074,7 +3095,7 @@ var ar = Is ? (
|
|
|
3074
3095
|
function(t, r, n) {
|
|
3075
3096
|
return t.slice(n, n + r.length) === r;
|
|
3076
3097
|
}
|
|
3077
|
-
),
|
|
3098
|
+
), Rt = Ns ? String.fromCodePoint : (
|
|
3078
3099
|
// IE11
|
|
3079
3100
|
function() {
|
|
3080
3101
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3086,19 +3107,19 @@ var ar = Is ? (
|
|
|
3086
3107
|
}
|
|
3087
3108
|
return n;
|
|
3088
3109
|
}
|
|
3089
|
-
),
|
|
3110
|
+
), lr = (
|
|
3090
3111
|
// native
|
|
3091
|
-
|
|
3112
|
+
Os ? Object.fromEntries : (
|
|
3092
3113
|
// Ponyfill
|
|
3093
3114
|
function(t) {
|
|
3094
3115
|
for (var r = {}, n = 0, s = t; n < s.length; n++) {
|
|
3095
|
-
var a = s[n], i = a[0],
|
|
3096
|
-
r[i] =
|
|
3116
|
+
var a = s[n], i = a[0], l = a[1];
|
|
3117
|
+
r[i] = l;
|
|
3097
3118
|
}
|
|
3098
3119
|
return r;
|
|
3099
3120
|
}
|
|
3100
3121
|
)
|
|
3101
|
-
),
|
|
3122
|
+
), zr = Rs ? (
|
|
3102
3123
|
// Native
|
|
3103
3124
|
function(t, r) {
|
|
3104
3125
|
return t.codePointAt(r);
|
|
@@ -3112,7 +3133,7 @@ var ar = Is ? (
|
|
|
3112
3133
|
return s < 55296 || s > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? s : (s - 55296 << 10) + (a - 56320) + 65536;
|
|
3113
3134
|
}
|
|
3114
3135
|
}
|
|
3115
|
-
),
|
|
3136
|
+
), $s = Ls ? (
|
|
3116
3137
|
// Native
|
|
3117
3138
|
function(t) {
|
|
3118
3139
|
return t.trimStart();
|
|
@@ -3120,9 +3141,9 @@ var ar = Is ? (
|
|
|
3120
3141
|
) : (
|
|
3121
3142
|
// Ponyfill
|
|
3122
3143
|
function(t) {
|
|
3123
|
-
return t.replace(
|
|
3144
|
+
return t.replace(Is, "");
|
|
3124
3145
|
}
|
|
3125
|
-
),
|
|
3146
|
+
), Gs = Fs ? (
|
|
3126
3147
|
// Native
|
|
3127
3148
|
function(t) {
|
|
3128
3149
|
return t.trimEnd();
|
|
@@ -3130,32 +3151,32 @@ var ar = Is ? (
|
|
|
3130
3151
|
) : (
|
|
3131
3152
|
// Ponyfill
|
|
3132
3153
|
function(t) {
|
|
3133
|
-
return t.replace(
|
|
3154
|
+
return t.replace(Hs, "");
|
|
3134
3155
|
}
|
|
3135
3156
|
);
|
|
3136
|
-
function
|
|
3157
|
+
function Wr(e, t) {
|
|
3137
3158
|
return new RegExp(e, t);
|
|
3138
3159
|
}
|
|
3139
|
-
var
|
|
3140
|
-
if (
|
|
3141
|
-
var
|
|
3142
|
-
|
|
3160
|
+
var Lt;
|
|
3161
|
+
if (Ot) {
|
|
3162
|
+
var ur = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3163
|
+
Lt = function(t, r) {
|
|
3143
3164
|
var n;
|
|
3144
|
-
|
|
3145
|
-
var s =
|
|
3165
|
+
ur.lastIndex = r;
|
|
3166
|
+
var s = ur.exec(t);
|
|
3146
3167
|
return (n = s[1]) !== null && n !== void 0 ? n : "";
|
|
3147
3168
|
};
|
|
3148
3169
|
} else
|
|
3149
|
-
|
|
3170
|
+
Lt = function(t, r) {
|
|
3150
3171
|
for (var n = []; ; ) {
|
|
3151
|
-
var s =
|
|
3152
|
-
if (s === void 0 ||
|
|
3172
|
+
var s = zr(t, r);
|
|
3173
|
+
if (s === void 0 || Xr(s) || Ws(s))
|
|
3153
3174
|
break;
|
|
3154
3175
|
n.push(s), r += s >= 65536 ? 2 : 1;
|
|
3155
3176
|
}
|
|
3156
|
-
return
|
|
3177
|
+
return Rt.apply(void 0, n);
|
|
3157
3178
|
};
|
|
3158
|
-
var
|
|
3179
|
+
var js = (
|
|
3159
3180
|
/** @class */
|
|
3160
3181
|
function() {
|
|
3161
3182
|
function e(t, r) {
|
|
@@ -3177,16 +3198,16 @@ var $s = (
|
|
|
3177
3198
|
if (a === 125 && t > 0)
|
|
3178
3199
|
break;
|
|
3179
3200
|
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3180
|
-
var
|
|
3201
|
+
var l = this.clonePosition();
|
|
3181
3202
|
this.bump(), s.push({
|
|
3182
|
-
type:
|
|
3183
|
-
location: C(
|
|
3203
|
+
type: N.pound,
|
|
3204
|
+
location: C(l, this.clonePosition())
|
|
3184
3205
|
});
|
|
3185
3206
|
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3186
3207
|
if (n)
|
|
3187
3208
|
break;
|
|
3188
3209
|
return this.error(E.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
|
|
3189
|
-
} else if (a === 60 && !this.ignoreTag &&
|
|
3210
|
+
} else if (a === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
|
|
3190
3211
|
var i = this.parseTag(t, r);
|
|
3191
3212
|
if (i.err)
|
|
3192
3213
|
return i;
|
|
@@ -3207,7 +3228,7 @@ var $s = (
|
|
|
3207
3228
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3208
3229
|
return {
|
|
3209
3230
|
val: {
|
|
3210
|
-
type:
|
|
3231
|
+
type: N.literal,
|
|
3211
3232
|
value: "<".concat(s, "/>"),
|
|
3212
3233
|
location: C(n, this.clonePosition())
|
|
3213
3234
|
},
|
|
@@ -3217,27 +3238,27 @@ var $s = (
|
|
|
3217
3238
|
var a = this.parseMessage(t + 1, r, !0);
|
|
3218
3239
|
if (a.err)
|
|
3219
3240
|
return a;
|
|
3220
|
-
var i = a.val,
|
|
3241
|
+
var i = a.val, l = this.clonePosition();
|
|
3221
3242
|
if (this.bumpIf("</")) {
|
|
3222
|
-
if (this.isEOF() || !
|
|
3223
|
-
return this.error(E.INVALID_TAG, C(
|
|
3243
|
+
if (this.isEOF() || !Ft(this.char()))
|
|
3244
|
+
return this.error(E.INVALID_TAG, C(l, this.clonePosition()));
|
|
3224
3245
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3225
3246
|
return s !== h ? this.error(E.UNMATCHED_CLOSING_TAG, C(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3226
3247
|
val: {
|
|
3227
|
-
type:
|
|
3248
|
+
type: N.tag,
|
|
3228
3249
|
value: s,
|
|
3229
3250
|
children: i,
|
|
3230
3251
|
location: C(n, this.clonePosition())
|
|
3231
3252
|
},
|
|
3232
3253
|
err: null
|
|
3233
|
-
} : this.error(E.INVALID_TAG, C(
|
|
3254
|
+
} : this.error(E.INVALID_TAG, C(l, this.clonePosition())));
|
|
3234
3255
|
} else
|
|
3235
3256
|
return this.error(E.UNCLOSED_TAG, C(n, this.clonePosition()));
|
|
3236
3257
|
} else
|
|
3237
3258
|
return this.error(E.INVALID_TAG, C(n, this.clonePosition()));
|
|
3238
3259
|
}, e.prototype.parseTagName = function() {
|
|
3239
3260
|
var t = this.offset();
|
|
3240
|
-
for (this.bump(); !this.isEOF() &&
|
|
3261
|
+
for (this.bump(); !this.isEOF() && zs(this.char()); )
|
|
3241
3262
|
this.bump();
|
|
3242
3263
|
return this.message.slice(t, this.offset());
|
|
3243
3264
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3252,21 +3273,21 @@ var $s = (
|
|
|
3252
3273
|
s += i;
|
|
3253
3274
|
continue;
|
|
3254
3275
|
}
|
|
3255
|
-
var
|
|
3256
|
-
if (
|
|
3257
|
-
s +=
|
|
3276
|
+
var l = this.tryParseLeftAngleBracket();
|
|
3277
|
+
if (l) {
|
|
3278
|
+
s += l;
|
|
3258
3279
|
continue;
|
|
3259
3280
|
}
|
|
3260
3281
|
break;
|
|
3261
3282
|
}
|
|
3262
3283
|
var u = C(n, this.clonePosition());
|
|
3263
3284
|
return {
|
|
3264
|
-
val: { type:
|
|
3285
|
+
val: { type: N.literal, value: s, location: u },
|
|
3265
3286
|
err: null
|
|
3266
3287
|
};
|
|
3267
3288
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3268
3289
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3269
|
-
!
|
|
3290
|
+
!Vs(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3270
3291
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3271
3292
|
if (this.isEOF() || this.char() !== 39)
|
|
3272
3293
|
return null;
|
|
@@ -3300,12 +3321,12 @@ var $s = (
|
|
|
3300
3321
|
r.push(n);
|
|
3301
3322
|
this.bump();
|
|
3302
3323
|
}
|
|
3303
|
-
return
|
|
3324
|
+
return Rt.apply(void 0, r);
|
|
3304
3325
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3305
3326
|
if (this.isEOF())
|
|
3306
3327
|
return null;
|
|
3307
3328
|
var n = this.char();
|
|
3308
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3329
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
|
|
3309
3330
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3310
3331
|
var n = this.clonePosition();
|
|
3311
3332
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3321,7 +3342,7 @@ var $s = (
|
|
|
3321
3342
|
case 125:
|
|
3322
3343
|
return this.bump(), {
|
|
3323
3344
|
val: {
|
|
3324
|
-
type:
|
|
3345
|
+
type: N.argument,
|
|
3325
3346
|
// value does not include the opening and closing braces.
|
|
3326
3347
|
value: s,
|
|
3327
3348
|
location: C(n, this.clonePosition())
|
|
@@ -3334,13 +3355,13 @@ var $s = (
|
|
|
3334
3355
|
return this.error(E.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3335
3356
|
}
|
|
3336
3357
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3337
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3358
|
+
var t = this.clonePosition(), r = this.offset(), n = Lt(this.message, r), s = r + n.length;
|
|
3338
3359
|
this.bumpTo(s);
|
|
3339
3360
|
var a = this.clonePosition(), i = C(t, a);
|
|
3340
3361
|
return { value: n, location: i };
|
|
3341
3362
|
}, e.prototype.parseArgumentOptions = function(t, r, n, s) {
|
|
3342
|
-
var a, i = this.clonePosition(),
|
|
3343
|
-
switch (
|
|
3363
|
+
var a, i = this.clonePosition(), l = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3364
|
+
switch (l) {
|
|
3344
3365
|
case "":
|
|
3345
3366
|
return this.error(E.EXPECT_ARGUMENT_TYPE, C(i, u));
|
|
3346
3367
|
case "number":
|
|
@@ -3353,7 +3374,7 @@ var $s = (
|
|
|
3353
3374
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3354
3375
|
if (f.err)
|
|
3355
3376
|
return f;
|
|
3356
|
-
var p =
|
|
3377
|
+
var p = Gs(f.val);
|
|
3357
3378
|
if (p.length === 0)
|
|
3358
3379
|
return this.error(E.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
3359
3380
|
var m = C(c, this.clonePosition());
|
|
@@ -3363,34 +3384,34 @@ var $s = (
|
|
|
3363
3384
|
if (w.err)
|
|
3364
3385
|
return w;
|
|
3365
3386
|
var v = C(s, this.clonePosition());
|
|
3366
|
-
if (h &&
|
|
3367
|
-
var T =
|
|
3368
|
-
if (
|
|
3387
|
+
if (h && or(h == null ? void 0 : h.style, "::", 0)) {
|
|
3388
|
+
var T = $s(h.style.slice(2));
|
|
3389
|
+
if (l === "number") {
|
|
3369
3390
|
var f = this.parseNumberSkeletonFromString(T, h.styleLocation);
|
|
3370
3391
|
return f.err ? f : {
|
|
3371
|
-
val: { type:
|
|
3392
|
+
val: { type: N.number, value: n, location: v, style: f.val },
|
|
3372
3393
|
err: null
|
|
3373
3394
|
};
|
|
3374
3395
|
} else {
|
|
3375
3396
|
if (T.length === 0)
|
|
3376
3397
|
return this.error(E.EXPECT_DATE_TIME_SKELETON, v);
|
|
3377
3398
|
var y = T;
|
|
3378
|
-
this.locale && (y =
|
|
3399
|
+
this.locale && (y = Ss(T, this.locale));
|
|
3379
3400
|
var p = {
|
|
3380
|
-
type:
|
|
3401
|
+
type: He.dateTime,
|
|
3381
3402
|
pattern: y,
|
|
3382
3403
|
location: h.styleLocation,
|
|
3383
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3384
|
-
},
|
|
3404
|
+
parsedOptions: this.shouldParseSkeletons ? Ps(y) : {}
|
|
3405
|
+
}, A = l === "date" ? N.date : N.time;
|
|
3385
3406
|
return {
|
|
3386
|
-
val: { type:
|
|
3407
|
+
val: { type: A, value: n, location: v, style: p },
|
|
3387
3408
|
err: null
|
|
3388
3409
|
};
|
|
3389
3410
|
}
|
|
3390
3411
|
}
|
|
3391
3412
|
return {
|
|
3392
3413
|
val: {
|
|
3393
|
-
type:
|
|
3414
|
+
type: l === "number" ? N.number : l === "date" ? N.date : N.time,
|
|
3394
3415
|
value: n,
|
|
3395
3416
|
location: v,
|
|
3396
3417
|
style: (a = h == null ? void 0 : h.style) !== null && a !== void 0 ? a : null
|
|
@@ -3403,10 +3424,10 @@ var $s = (
|
|
|
3403
3424
|
case "select": {
|
|
3404
3425
|
var O = this.clonePosition();
|
|
3405
3426
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3406
|
-
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, C(O,
|
|
3427
|
+
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, C(O, it({}, O)));
|
|
3407
3428
|
this.bumpSpace();
|
|
3408
3429
|
var k = this.parseIdentifierIfPossible(), D = 0;
|
|
3409
|
-
if (
|
|
3430
|
+
if (l !== "select" && k.value === "offset") {
|
|
3410
3431
|
if (!this.bumpIf(":"))
|
|
3411
3432
|
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
|
|
3412
3433
|
this.bumpSpace();
|
|
@@ -3415,28 +3436,28 @@ var $s = (
|
|
|
3415
3436
|
return f;
|
|
3416
3437
|
this.bumpSpace(), k = this.parseIdentifierIfPossible(), D = f.val;
|
|
3417
3438
|
}
|
|
3418
|
-
var
|
|
3419
|
-
if (
|
|
3420
|
-
return
|
|
3439
|
+
var M = this.tryParsePluralOrSelectOptions(t, l, r, k);
|
|
3440
|
+
if (M.err)
|
|
3441
|
+
return M;
|
|
3421
3442
|
var w = this.tryParseArgumentClose(s);
|
|
3422
3443
|
if (w.err)
|
|
3423
3444
|
return w;
|
|
3424
3445
|
var X = C(s, this.clonePosition());
|
|
3425
|
-
return
|
|
3446
|
+
return l === "select" ? {
|
|
3426
3447
|
val: {
|
|
3427
|
-
type:
|
|
3448
|
+
type: N.select,
|
|
3428
3449
|
value: n,
|
|
3429
|
-
options:
|
|
3450
|
+
options: lr(M.val),
|
|
3430
3451
|
location: X
|
|
3431
3452
|
},
|
|
3432
3453
|
err: null
|
|
3433
3454
|
} : {
|
|
3434
3455
|
val: {
|
|
3435
|
-
type:
|
|
3456
|
+
type: N.plural,
|
|
3436
3457
|
value: n,
|
|
3437
|
-
options:
|
|
3458
|
+
options: lr(M.val),
|
|
3438
3459
|
offset: D,
|
|
3439
|
-
pluralType:
|
|
3460
|
+
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3440
3461
|
location: X
|
|
3441
3462
|
},
|
|
3442
3463
|
err: null
|
|
@@ -3485,21 +3506,21 @@ var $s = (
|
|
|
3485
3506
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3486
3507
|
var n = [];
|
|
3487
3508
|
try {
|
|
3488
|
-
n =
|
|
3509
|
+
n = xs(t);
|
|
3489
3510
|
} catch (s) {
|
|
3490
3511
|
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
|
3491
3512
|
}
|
|
3492
3513
|
return {
|
|
3493
3514
|
val: {
|
|
3494
|
-
type:
|
|
3515
|
+
type: He.number,
|
|
3495
3516
|
tokens: n,
|
|
3496
3517
|
location: r,
|
|
3497
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3518
|
+
parsedOptions: this.shouldParseSkeletons ? Bs(n) : {}
|
|
3498
3519
|
},
|
|
3499
3520
|
err: null
|
|
3500
3521
|
};
|
|
3501
3522
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, s) {
|
|
3502
|
-
for (var a, i = !1,
|
|
3523
|
+
for (var a, i = !1, l = [], u = /* @__PURE__ */ new Set(), h = s.value, c = s.location; ; ) {
|
|
3503
3524
|
if (h.length === 0) {
|
|
3504
3525
|
var f = this.clonePosition();
|
|
3505
3526
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3522,7 +3543,7 @@ var $s = (
|
|
|
3522
3543
|
var v = this.tryParseArgumentClose(m);
|
|
3523
3544
|
if (v.err)
|
|
3524
3545
|
return v;
|
|
3525
|
-
|
|
3546
|
+
l.push([
|
|
3526
3547
|
h,
|
|
3527
3548
|
{
|
|
3528
3549
|
value: w.val,
|
|
@@ -3530,19 +3551,19 @@ var $s = (
|
|
|
3530
3551
|
}
|
|
3531
3552
|
]), u.add(h), this.bumpSpace(), a = this.parseIdentifierIfPossible(), h = a.value, c = a.location;
|
|
3532
3553
|
}
|
|
3533
|
-
return
|
|
3554
|
+
return l.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(E.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3534
3555
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3535
3556
|
var n = 1, s = this.clonePosition();
|
|
3536
3557
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3537
3558
|
for (var a = !1, i = 0; !this.isEOF(); ) {
|
|
3538
|
-
var
|
|
3539
|
-
if (
|
|
3540
|
-
a = !0, i = i * 10 + (
|
|
3559
|
+
var l = this.char();
|
|
3560
|
+
if (l >= 48 && l <= 57)
|
|
3561
|
+
a = !0, i = i * 10 + (l - 48), this.bump();
|
|
3541
3562
|
else
|
|
3542
3563
|
break;
|
|
3543
3564
|
}
|
|
3544
3565
|
var u = C(s, this.clonePosition());
|
|
3545
|
-
return a ? (i *= n,
|
|
3566
|
+
return a ? (i *= n, Ds(i) ? { val: i, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3546
3567
|
}, e.prototype.offset = function() {
|
|
3547
3568
|
return this.position.offset;
|
|
3548
3569
|
}, e.prototype.isEOF = function() {
|
|
@@ -3557,7 +3578,7 @@ var $s = (
|
|
|
3557
3578
|
var t = this.position.offset;
|
|
3558
3579
|
if (t >= this.message.length)
|
|
3559
3580
|
throw Error("out of bound");
|
|
3560
|
-
var r =
|
|
3581
|
+
var r = zr(this.message, t);
|
|
3561
3582
|
if (r === void 0)
|
|
3562
3583
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3563
3584
|
return r;
|
|
@@ -3576,7 +3597,7 @@ var $s = (
|
|
|
3576
3597
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3577
3598
|
}
|
|
3578
3599
|
}, e.prototype.bumpIf = function(t) {
|
|
3579
|
-
if (
|
|
3600
|
+
if (or(this.message, t, this.offset())) {
|
|
3580
3601
|
for (var r = 0; r < t.length; r++)
|
|
3581
3602
|
this.bump();
|
|
3582
3603
|
return !0;
|
|
@@ -3598,7 +3619,7 @@ var $s = (
|
|
|
3598
3619
|
break;
|
|
3599
3620
|
}
|
|
3600
3621
|
}, e.prototype.bumpSpace = function() {
|
|
3601
|
-
for (; !this.isEOF() &&
|
|
3622
|
+
for (; !this.isEOF() && Xr(this.char()); )
|
|
3602
3623
|
this.bump();
|
|
3603
3624
|
}, e.prototype.peek = function() {
|
|
3604
3625
|
if (this.isEOF())
|
|
@@ -3608,47 +3629,47 @@ var $s = (
|
|
|
3608
3629
|
}, e;
|
|
3609
3630
|
}()
|
|
3610
3631
|
);
|
|
3611
|
-
function
|
|
3632
|
+
function Ft(e) {
|
|
3612
3633
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3613
3634
|
}
|
|
3614
|
-
function
|
|
3615
|
-
return
|
|
3635
|
+
function Vs(e) {
|
|
3636
|
+
return Ft(e) || e === 47;
|
|
3616
3637
|
}
|
|
3617
|
-
function
|
|
3638
|
+
function zs(e) {
|
|
3618
3639
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3619
3640
|
}
|
|
3620
|
-
function
|
|
3641
|
+
function Xr(e) {
|
|
3621
3642
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3622
3643
|
}
|
|
3623
|
-
function
|
|
3644
|
+
function Ws(e) {
|
|
3624
3645
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3625
3646
|
}
|
|
3626
|
-
function
|
|
3647
|
+
function kt(e) {
|
|
3627
3648
|
e.forEach(function(t) {
|
|
3628
|
-
if (delete t.location,
|
|
3649
|
+
if (delete t.location, Fr(t) || kr(t))
|
|
3629
3650
|
for (var r in t.options)
|
|
3630
|
-
delete t.options[r].location,
|
|
3651
|
+
delete t.options[r].location, kt(t.options[r].value);
|
|
3631
3652
|
else
|
|
3632
|
-
|
|
3653
|
+
Or(t) && Ur(t.style) || (Rr(t) || Lr(t)) && Nt(t.style) ? delete t.style.location : Dr(t) && kt(t.children);
|
|
3633
3654
|
});
|
|
3634
3655
|
}
|
|
3635
|
-
function
|
|
3636
|
-
t === void 0 && (t = {}), t =
|
|
3637
|
-
var r = new
|
|
3656
|
+
function Xs(e, t) {
|
|
3657
|
+
t === void 0 && (t = {}), t = it({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3658
|
+
var r = new js(e, t).parse();
|
|
3638
3659
|
if (r.err) {
|
|
3639
3660
|
var n = SyntaxError(E[r.err.kind]);
|
|
3640
3661
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3641
3662
|
}
|
|
3642
|
-
return t != null && t.captureLocation ||
|
|
3663
|
+
return t != null && t.captureLocation || kt(r.val), r.val;
|
|
3643
3664
|
}
|
|
3644
|
-
var
|
|
3665
|
+
var Me;
|
|
3645
3666
|
(function(e) {
|
|
3646
3667
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3647
|
-
})(
|
|
3648
|
-
var
|
|
3668
|
+
})(Me || (Me = {}));
|
|
3669
|
+
var ft = (
|
|
3649
3670
|
/** @class */
|
|
3650
3671
|
function(e) {
|
|
3651
|
-
|
|
3672
|
+
ct(t, e);
|
|
3652
3673
|
function t(r, n, s) {
|
|
3653
3674
|
var a = e.call(this, r) || this;
|
|
3654
3675
|
return a.code = n, a.originalMessage = s, a;
|
|
@@ -3657,65 +3678,65 @@ var ht = (
|
|
|
3657
3678
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3658
3679
|
}, t;
|
|
3659
3680
|
}(Error)
|
|
3660
|
-
),
|
|
3681
|
+
), hr = (
|
|
3661
3682
|
/** @class */
|
|
3662
3683
|
function(e) {
|
|
3663
|
-
|
|
3684
|
+
ct(t, e);
|
|
3664
3685
|
function t(r, n, s, a) {
|
|
3665
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'),
|
|
3686
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Me.INVALID_VALUE, a) || this;
|
|
3666
3687
|
}
|
|
3667
3688
|
return t;
|
|
3668
|
-
}(
|
|
3669
|
-
),
|
|
3689
|
+
}(ft)
|
|
3690
|
+
), Zs = (
|
|
3670
3691
|
/** @class */
|
|
3671
3692
|
function(e) {
|
|
3672
|
-
|
|
3693
|
+
ct(t, e);
|
|
3673
3694
|
function t(r, n, s) {
|
|
3674
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3695
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE, s) || this;
|
|
3675
3696
|
}
|
|
3676
3697
|
return t;
|
|
3677
|
-
}(
|
|
3678
|
-
),
|
|
3698
|
+
}(ft)
|
|
3699
|
+
), Qs = (
|
|
3679
3700
|
/** @class */
|
|
3680
3701
|
function(e) {
|
|
3681
|
-
|
|
3702
|
+
ct(t, e);
|
|
3682
3703
|
function t(r, n) {
|
|
3683
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3704
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Me.MISSING_VALUE, n) || this;
|
|
3684
3705
|
}
|
|
3685
3706
|
return t;
|
|
3686
|
-
}(
|
|
3707
|
+
}(ft)
|
|
3687
3708
|
), W;
|
|
3688
3709
|
(function(e) {
|
|
3689
3710
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3690
3711
|
})(W || (W = {}));
|
|
3691
|
-
function
|
|
3712
|
+
function Ys(e) {
|
|
3692
3713
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3693
3714
|
var n = t[t.length - 1];
|
|
3694
3715
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3695
3716
|
}, []);
|
|
3696
3717
|
}
|
|
3697
|
-
function
|
|
3718
|
+
function Js(e) {
|
|
3698
3719
|
return typeof e == "function";
|
|
3699
3720
|
}
|
|
3700
3721
|
function st(e, t, r, n, s, a, i) {
|
|
3701
|
-
if (e.length === 1 &&
|
|
3722
|
+
if (e.length === 1 && nr(e[0]))
|
|
3702
3723
|
return [
|
|
3703
3724
|
{
|
|
3704
3725
|
type: W.literal,
|
|
3705
3726
|
value: e[0].value
|
|
3706
3727
|
}
|
|
3707
3728
|
];
|
|
3708
|
-
for (var
|
|
3729
|
+
for (var l = [], u = 0, h = e; u < h.length; u++) {
|
|
3709
3730
|
var c = h[u];
|
|
3710
|
-
if (
|
|
3711
|
-
|
|
3731
|
+
if (nr(c)) {
|
|
3732
|
+
l.push({
|
|
3712
3733
|
type: W.literal,
|
|
3713
3734
|
value: c.value
|
|
3714
3735
|
});
|
|
3715
3736
|
continue;
|
|
3716
3737
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
typeof a == "number" &&
|
|
3738
|
+
if (vs(c)) {
|
|
3739
|
+
typeof a == "number" && l.push({
|
|
3719
3740
|
type: W.literal,
|
|
3720
3741
|
value: r.getNumberFormat(t).format(a)
|
|
3721
3742
|
});
|
|
@@ -3723,89 +3744,89 @@ function st(e, t, r, n, s, a, i) {
|
|
|
3723
3744
|
}
|
|
3724
3745
|
var f = c.value;
|
|
3725
3746
|
if (!(s && f in s))
|
|
3726
|
-
throw new
|
|
3747
|
+
throw new Qs(f, i);
|
|
3727
3748
|
var p = s[f];
|
|
3728
|
-
if (
|
|
3729
|
-
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""),
|
|
3749
|
+
if (ws(c)) {
|
|
3750
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
|
|
3730
3751
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3731
3752
|
value: p
|
|
3732
3753
|
});
|
|
3733
3754
|
continue;
|
|
3734
3755
|
}
|
|
3735
3756
|
if (Rr(c)) {
|
|
3736
|
-
var m = typeof c.style == "string" ? n.date[c.style] :
|
|
3737
|
-
|
|
3757
|
+
var m = typeof c.style == "string" ? n.date[c.style] : Nt(c.style) ? c.style.parsedOptions : void 0;
|
|
3758
|
+
l.push({
|
|
3738
3759
|
type: W.literal,
|
|
3739
3760
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3740
3761
|
});
|
|
3741
3762
|
continue;
|
|
3742
3763
|
}
|
|
3743
|
-
if (
|
|
3744
|
-
var m = typeof c.style == "string" ? n.time[c.style] :
|
|
3745
|
-
|
|
3764
|
+
if (Lr(c)) {
|
|
3765
|
+
var m = typeof c.style == "string" ? n.time[c.style] : Nt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3766
|
+
l.push({
|
|
3746
3767
|
type: W.literal,
|
|
3747
3768
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3748
3769
|
});
|
|
3749
3770
|
continue;
|
|
3750
3771
|
}
|
|
3751
|
-
if (
|
|
3752
|
-
var m = typeof c.style == "string" ? n.number[c.style] :
|
|
3753
|
-
m && m.scale && (p = p * (m.scale || 1)),
|
|
3772
|
+
if (Or(c)) {
|
|
3773
|
+
var m = typeof c.style == "string" ? n.number[c.style] : Ur(c.style) ? c.style.parsedOptions : void 0;
|
|
3774
|
+
m && m.scale && (p = p * (m.scale || 1)), l.push({
|
|
3754
3775
|
type: W.literal,
|
|
3755
3776
|
value: r.getNumberFormat(t, m).format(p)
|
|
3756
3777
|
});
|
|
3757
3778
|
continue;
|
|
3758
3779
|
}
|
|
3759
|
-
if (
|
|
3780
|
+
if (Dr(c)) {
|
|
3760
3781
|
var w = c.children, v = c.value, T = s[v];
|
|
3761
|
-
if (!
|
|
3762
|
-
throw new
|
|
3763
|
-
var y = st(w, t, r, n, s, a),
|
|
3782
|
+
if (!Js(T))
|
|
3783
|
+
throw new Zs(v, "function", i);
|
|
3784
|
+
var y = st(w, t, r, n, s, a), A = T(y.map(function(D) {
|
|
3764
3785
|
return D.value;
|
|
3765
3786
|
}));
|
|
3766
|
-
Array.isArray(
|
|
3787
|
+
Array.isArray(A) || (A = [A]), l.push.apply(l, A.map(function(D) {
|
|
3767
3788
|
return {
|
|
3768
3789
|
type: typeof D == "string" ? W.literal : W.object,
|
|
3769
3790
|
value: D
|
|
3770
3791
|
};
|
|
3771
3792
|
}));
|
|
3772
3793
|
}
|
|
3773
|
-
if (
|
|
3794
|
+
if (Fr(c)) {
|
|
3774
3795
|
var O = c.options[p] || c.options.other;
|
|
3775
3796
|
if (!O)
|
|
3776
|
-
throw new
|
|
3777
|
-
|
|
3797
|
+
throw new hr(c.value, p, Object.keys(c.options), i);
|
|
3798
|
+
l.push.apply(l, st(O.value, t, r, n, s));
|
|
3778
3799
|
continue;
|
|
3779
3800
|
}
|
|
3780
|
-
if (
|
|
3801
|
+
if (kr(c)) {
|
|
3781
3802
|
var O = c.options["=".concat(p)];
|
|
3782
3803
|
if (!O) {
|
|
3783
3804
|
if (!Intl.PluralRules)
|
|
3784
|
-
throw new
|
|
3805
|
+
throw new ft(`Intl.PluralRules is not available in this environment.
|
|
3785
3806
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3786
|
-
`,
|
|
3807
|
+
`, Me.MISSING_INTL_API, i);
|
|
3787
3808
|
var k = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3788
3809
|
O = c.options[k] || c.options.other;
|
|
3789
3810
|
}
|
|
3790
3811
|
if (!O)
|
|
3791
|
-
throw new
|
|
3792
|
-
|
|
3812
|
+
throw new hr(c.value, p, Object.keys(c.options), i);
|
|
3813
|
+
l.push.apply(l, st(O.value, t, r, n, s, p - (c.offset || 0)));
|
|
3793
3814
|
continue;
|
|
3794
3815
|
}
|
|
3795
3816
|
}
|
|
3796
|
-
return
|
|
3817
|
+
return Ys(l);
|
|
3797
3818
|
}
|
|
3798
|
-
function
|
|
3799
|
-
return t ?
|
|
3800
|
-
return r[n] =
|
|
3819
|
+
function qs(e, t) {
|
|
3820
|
+
return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3821
|
+
return r[n] = ie(ie({}, e[n]), t[n] || {}), r;
|
|
3801
3822
|
}, {})) : e;
|
|
3802
3823
|
}
|
|
3803
|
-
function
|
|
3824
|
+
function Ks(e, t) {
|
|
3804
3825
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3805
|
-
return r[n] =
|
|
3806
|
-
},
|
|
3826
|
+
return r[n] = qs(e[n], t[n]), r;
|
|
3827
|
+
}, ie({}, e)) : e;
|
|
3807
3828
|
}
|
|
3808
|
-
function
|
|
3829
|
+
function _t(e) {
|
|
3809
3830
|
return {
|
|
3810
3831
|
create: function() {
|
|
3811
3832
|
return {
|
|
@@ -3819,39 +3840,39 @@ function yt(e) {
|
|
|
3819
3840
|
}
|
|
3820
3841
|
};
|
|
3821
3842
|
}
|
|
3822
|
-
function
|
|
3843
|
+
function ea(e) {
|
|
3823
3844
|
return e === void 0 && (e = {
|
|
3824
3845
|
number: {},
|
|
3825
3846
|
dateTime: {},
|
|
3826
3847
|
pluralRules: {}
|
|
3827
3848
|
}), {
|
|
3828
|
-
getNumberFormat:
|
|
3849
|
+
getNumberFormat: vt(function() {
|
|
3829
3850
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3830
3851
|
r[n] = arguments[n];
|
|
3831
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3852
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, wt([void 0], r, !1)))();
|
|
3832
3853
|
}, {
|
|
3833
|
-
cache:
|
|
3834
|
-
strategy:
|
|
3854
|
+
cache: _t(e.number),
|
|
3855
|
+
strategy: yt.variadic
|
|
3835
3856
|
}),
|
|
3836
|
-
getDateTimeFormat:
|
|
3857
|
+
getDateTimeFormat: vt(function() {
|
|
3837
3858
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3838
3859
|
r[n] = arguments[n];
|
|
3839
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3860
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, wt([void 0], r, !1)))();
|
|
3840
3861
|
}, {
|
|
3841
|
-
cache:
|
|
3842
|
-
strategy:
|
|
3862
|
+
cache: _t(e.dateTime),
|
|
3863
|
+
strategy: yt.variadic
|
|
3843
3864
|
}),
|
|
3844
|
-
getPluralRules:
|
|
3865
|
+
getPluralRules: vt(function() {
|
|
3845
3866
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3846
3867
|
r[n] = arguments[n];
|
|
3847
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3868
|
+
return new ((t = Intl.PluralRules).bind.apply(t, wt([void 0], r, !1)))();
|
|
3848
3869
|
}, {
|
|
3849
|
-
cache:
|
|
3850
|
-
strategy:
|
|
3870
|
+
cache: _t(e.pluralRules),
|
|
3871
|
+
strategy: yt.variadic
|
|
3851
3872
|
})
|
|
3852
3873
|
};
|
|
3853
3874
|
}
|
|
3854
|
-
var
|
|
3875
|
+
var ta = (
|
|
3855
3876
|
/** @class */
|
|
3856
3877
|
function() {
|
|
3857
3878
|
function e(t, r, n, s) {
|
|
@@ -3883,13 +3904,13 @@ var Ks = (
|
|
|
3883
3904
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3884
3905
|
var i = s || {};
|
|
3885
3906
|
i.formatters;
|
|
3886
|
-
var
|
|
3887
|
-
this.ast = e.__parse(t,
|
|
3907
|
+
var l = hs(i, ["formatters"]);
|
|
3908
|
+
this.ast = e.__parse(t, ie(ie({}, l), { locale: this.resolvedLocale }));
|
|
3888
3909
|
} else
|
|
3889
3910
|
this.ast = t;
|
|
3890
3911
|
if (!Array.isArray(this.ast))
|
|
3891
3912
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3892
|
-
this.formats =
|
|
3913
|
+
this.formats = Ks(e.formats, n), this.formatters = s && s.formatters || ea(this.formatterCache);
|
|
3893
3914
|
}
|
|
3894
3915
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3895
3916
|
get: function() {
|
|
@@ -3902,7 +3923,7 @@ var Ks = (
|
|
|
3902
3923
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3903
3924
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3904
3925
|
}
|
|
3905
|
-
}, e.__parse =
|
|
3926
|
+
}, e.__parse = Xs, e.formats = {
|
|
3906
3927
|
number: {
|
|
3907
3928
|
integer: {
|
|
3908
3929
|
maximumFractionDigits: 0
|
|
@@ -3963,7 +3984,7 @@ var Ks = (
|
|
|
3963
3984
|
}, e;
|
|
3964
3985
|
}()
|
|
3965
3986
|
);
|
|
3966
|
-
function
|
|
3987
|
+
function ra(e, t) {
|
|
3967
3988
|
if (t == null)
|
|
3968
3989
|
return;
|
|
3969
3990
|
if (t in e)
|
|
@@ -3984,92 +4005,92 @@ function ea(e, t) {
|
|
|
3984
4005
|
n = void 0;
|
|
3985
4006
|
return n;
|
|
3986
4007
|
}
|
|
3987
|
-
const fe = {},
|
|
4008
|
+
const fe = {}, na = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), Zr = (e, t) => {
|
|
3988
4009
|
if (t == null)
|
|
3989
4010
|
return;
|
|
3990
4011
|
if (t in fe && e in fe[t])
|
|
3991
4012
|
return fe[t][e];
|
|
3992
|
-
const r =
|
|
4013
|
+
const r = dt(t);
|
|
3993
4014
|
for (let n = 0; n < r.length; n++) {
|
|
3994
|
-
const s = r[n], a =
|
|
4015
|
+
const s = r[n], a = aa(s, e);
|
|
3995
4016
|
if (a)
|
|
3996
|
-
return
|
|
4017
|
+
return na(e, t, a);
|
|
3997
4018
|
}
|
|
3998
4019
|
};
|
|
3999
|
-
let
|
|
4000
|
-
const Xe =
|
|
4001
|
-
function
|
|
4002
|
-
return
|
|
4020
|
+
let $t;
|
|
4021
|
+
const Xe = ht({});
|
|
4022
|
+
function sa(e) {
|
|
4023
|
+
return $t[e] || null;
|
|
4003
4024
|
}
|
|
4004
|
-
function
|
|
4005
|
-
return e in
|
|
4025
|
+
function Qr(e) {
|
|
4026
|
+
return e in $t;
|
|
4006
4027
|
}
|
|
4007
|
-
function
|
|
4008
|
-
if (!
|
|
4028
|
+
function aa(e, t) {
|
|
4029
|
+
if (!Qr(e))
|
|
4009
4030
|
return null;
|
|
4010
|
-
const r =
|
|
4011
|
-
return
|
|
4031
|
+
const r = sa(e);
|
|
4032
|
+
return ra(r, t);
|
|
4012
4033
|
}
|
|
4013
|
-
function
|
|
4034
|
+
function ia(e) {
|
|
4014
4035
|
if (e == null)
|
|
4015
4036
|
return;
|
|
4016
|
-
const t =
|
|
4037
|
+
const t = dt(e);
|
|
4017
4038
|
for (let r = 0; r < t.length; r++) {
|
|
4018
4039
|
const n = t[r];
|
|
4019
|
-
if (
|
|
4040
|
+
if (Qr(n))
|
|
4020
4041
|
return n;
|
|
4021
4042
|
}
|
|
4022
4043
|
}
|
|
4023
|
-
function
|
|
4044
|
+
function Yr(e, ...t) {
|
|
4024
4045
|
delete fe[e], Xe.update((r) => (r[e] = us.all([r[e] || {}, ...t]), r));
|
|
4025
4046
|
}
|
|
4026
|
-
|
|
4047
|
+
Re(
|
|
4027
4048
|
[Xe],
|
|
4028
4049
|
([e]) => Object.keys(e)
|
|
4029
4050
|
);
|
|
4030
|
-
Xe.subscribe((e) =>
|
|
4051
|
+
Xe.subscribe((e) => $t = e);
|
|
4031
4052
|
const at = {};
|
|
4032
|
-
function
|
|
4053
|
+
function oa(e, t) {
|
|
4033
4054
|
at[e].delete(t), at[e].size === 0 && delete at[e];
|
|
4034
4055
|
}
|
|
4035
|
-
function
|
|
4056
|
+
function Jr(e) {
|
|
4036
4057
|
return at[e];
|
|
4037
4058
|
}
|
|
4038
|
-
function
|
|
4039
|
-
return
|
|
4040
|
-
const r =
|
|
4059
|
+
function la(e) {
|
|
4060
|
+
return dt(e).map((t) => {
|
|
4061
|
+
const r = Jr(t);
|
|
4041
4062
|
return [t, r ? [...r] : []];
|
|
4042
4063
|
}).filter(([, t]) => t.length > 0);
|
|
4043
4064
|
}
|
|
4044
|
-
function
|
|
4045
|
-
return e == null ? !1 :
|
|
4065
|
+
function Dt(e) {
|
|
4066
|
+
return e == null ? !1 : dt(e).some(
|
|
4046
4067
|
(t) => {
|
|
4047
4068
|
var r;
|
|
4048
|
-
return (r =
|
|
4069
|
+
return (r = Jr(t)) == null ? void 0 : r.size;
|
|
4049
4070
|
}
|
|
4050
4071
|
);
|
|
4051
4072
|
}
|
|
4052
|
-
function
|
|
4073
|
+
function ua(e, t) {
|
|
4053
4074
|
return Promise.all(
|
|
4054
|
-
t.map((n) => (
|
|
4055
|
-
).then((n) =>
|
|
4056
|
-
}
|
|
4057
|
-
const
|
|
4058
|
-
function
|
|
4059
|
-
if (!
|
|
4060
|
-
return e in
|
|
4061
|
-
const t =
|
|
4062
|
-
return
|
|
4075
|
+
t.map((n) => (oa(e, n), n().then((s) => s.default || s)))
|
|
4076
|
+
).then((n) => Yr(e, ...n));
|
|
4077
|
+
}
|
|
4078
|
+
const $e = {};
|
|
4079
|
+
function qr(e) {
|
|
4080
|
+
if (!Dt(e))
|
|
4081
|
+
return e in $e ? $e[e] : Promise.resolve();
|
|
4082
|
+
const t = la(e);
|
|
4083
|
+
return $e[e] = Promise.all(
|
|
4063
4084
|
t.map(
|
|
4064
|
-
([r, n]) =>
|
|
4085
|
+
([r, n]) => ua(r, n)
|
|
4065
4086
|
)
|
|
4066
4087
|
).then(() => {
|
|
4067
|
-
if (
|
|
4068
|
-
return
|
|
4069
|
-
delete
|
|
4070
|
-
}),
|
|
4088
|
+
if (Dt(e))
|
|
4089
|
+
return qr(e);
|
|
4090
|
+
delete $e[e];
|
|
4091
|
+
}), $e[e];
|
|
4071
4092
|
}
|
|
4072
|
-
const
|
|
4093
|
+
const ha = {
|
|
4073
4094
|
number: {
|
|
4074
4095
|
scientific: { notation: "scientific" },
|
|
4075
4096
|
engineering: { notation: "engineering" },
|
|
@@ -4098,140 +4119,140 @@ const la = {
|
|
|
4098
4119
|
timeZoneName: "short"
|
|
4099
4120
|
}
|
|
4100
4121
|
}
|
|
4101
|
-
},
|
|
4122
|
+
}, ca = {
|
|
4102
4123
|
fallbackLocale: null,
|
|
4103
4124
|
loadingDelay: 200,
|
|
4104
|
-
formats:
|
|
4125
|
+
formats: ha,
|
|
4105
4126
|
warnOnMissingMessages: !0,
|
|
4106
4127
|
handleMissingMessage: void 0,
|
|
4107
4128
|
ignoreTag: !0
|
|
4108
|
-
},
|
|
4109
|
-
function
|
|
4110
|
-
return
|
|
4129
|
+
}, fa = ca;
|
|
4130
|
+
function Ne() {
|
|
4131
|
+
return fa;
|
|
4111
4132
|
}
|
|
4112
|
-
const
|
|
4113
|
-
var
|
|
4133
|
+
const xt = ht(!1);
|
|
4134
|
+
var da = Object.defineProperty, pa = Object.defineProperties, ma = Object.getOwnPropertyDescriptors, cr = Object.getOwnPropertySymbols, ga = Object.prototype.hasOwnProperty, ba = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? da(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wa = (e, t) => {
|
|
4114
4135
|
for (var r in t || (t = {}))
|
|
4115
|
-
|
|
4116
|
-
if (
|
|
4117
|
-
for (var r of
|
|
4118
|
-
|
|
4136
|
+
ga.call(t, r) && fr(e, r, t[r]);
|
|
4137
|
+
if (cr)
|
|
4138
|
+
for (var r of cr(t))
|
|
4139
|
+
ba.call(t, r) && fr(e, r, t[r]);
|
|
4119
4140
|
return e;
|
|
4120
|
-
},
|
|
4121
|
-
let
|
|
4122
|
-
const
|
|
4123
|
-
function
|
|
4141
|
+
}, va = (e, t) => pa(e, ma(t));
|
|
4142
|
+
let Ut;
|
|
4143
|
+
const ot = ht(null);
|
|
4144
|
+
function dr(e) {
|
|
4124
4145
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4125
4146
|
}
|
|
4126
|
-
function
|
|
4127
|
-
const r =
|
|
4128
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4147
|
+
function dt(e, t = Ne().fallbackLocale) {
|
|
4148
|
+
const r = dr(e);
|
|
4149
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...dr(t)])] : r;
|
|
4129
4150
|
}
|
|
4130
4151
|
function me() {
|
|
4131
|
-
return
|
|
4152
|
+
return Ut != null ? Ut : void 0;
|
|
4132
4153
|
}
|
|
4133
|
-
|
|
4134
|
-
|
|
4154
|
+
ot.subscribe((e) => {
|
|
4155
|
+
Ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4135
4156
|
});
|
|
4136
|
-
const
|
|
4137
|
-
if (e &&
|
|
4138
|
-
const { loadingDelay: t } =
|
|
4157
|
+
const ya = (e) => {
|
|
4158
|
+
if (e && ia(e) && Dt(e)) {
|
|
4159
|
+
const { loadingDelay: t } = Ne();
|
|
4139
4160
|
let r;
|
|
4140
4161
|
return typeof window != "undefined" && me() != null && t ? r = window.setTimeout(
|
|
4141
|
-
() =>
|
|
4162
|
+
() => xt.set(!0),
|
|
4142
4163
|
t
|
|
4143
|
-
) :
|
|
4144
|
-
|
|
4164
|
+
) : xt.set(!0), qr(e).then(() => {
|
|
4165
|
+
ot.set(e);
|
|
4145
4166
|
}).finally(() => {
|
|
4146
|
-
clearTimeout(r),
|
|
4167
|
+
clearTimeout(r), xt.set(!1);
|
|
4147
4168
|
});
|
|
4148
4169
|
}
|
|
4149
|
-
return
|
|
4150
|
-
},
|
|
4151
|
-
set:
|
|
4152
|
-
}),
|
|
4170
|
+
return ot.set(e);
|
|
4171
|
+
}, Le = va(wa({}, ot), {
|
|
4172
|
+
set: ya
|
|
4173
|
+
}), pt = (e) => {
|
|
4153
4174
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4154
4175
|
return (n) => {
|
|
4155
4176
|
const s = JSON.stringify(n);
|
|
4156
4177
|
return s in t ? t[s] : t[s] = e(n);
|
|
4157
4178
|
};
|
|
4158
4179
|
};
|
|
4159
|
-
var
|
|
4180
|
+
var Pa = Object.defineProperty, lt = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, pr = (e, t, r) => t in e ? Pa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
|
|
4160
4181
|
for (var r in t || (t = {}))
|
|
4161
|
-
|
|
4162
|
-
if (
|
|
4163
|
-
for (var r of
|
|
4164
|
-
|
|
4182
|
+
Kr.call(t, r) && pr(e, r, t[r]);
|
|
4183
|
+
if (lt)
|
|
4184
|
+
for (var r of lt(t))
|
|
4185
|
+
en.call(t, r) && pr(e, r, t[r]);
|
|
4165
4186
|
return e;
|
|
4166
|
-
},
|
|
4187
|
+
}, Fe = (e, t) => {
|
|
4167
4188
|
var r = {};
|
|
4168
4189
|
for (var n in e)
|
|
4169
|
-
|
|
4170
|
-
if (e != null &&
|
|
4171
|
-
for (var n of
|
|
4172
|
-
t.indexOf(n) < 0 &&
|
|
4190
|
+
Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4191
|
+
if (e != null && lt)
|
|
4192
|
+
for (var n of lt(e))
|
|
4193
|
+
t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
|
|
4173
4194
|
return r;
|
|
4174
4195
|
};
|
|
4175
|
-
const
|
|
4176
|
-
const { formats: r } =
|
|
4196
|
+
const ze = (e, t) => {
|
|
4197
|
+
const { formats: r } = Ne();
|
|
4177
4198
|
if (e in r && t in r[e])
|
|
4178
4199
|
return r[e][t];
|
|
4179
4200
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4180
|
-
},
|
|
4201
|
+
}, _a = pt(
|
|
4181
4202
|
(e) => {
|
|
4182
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4203
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4183
4204
|
if (r == null)
|
|
4184
4205
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4185
|
-
return n && (s =
|
|
4206
|
+
return n && (s = ze("number", n)), new Intl.NumberFormat(r, s);
|
|
4186
4207
|
}
|
|
4187
|
-
),
|
|
4208
|
+
), xa = pt(
|
|
4188
4209
|
(e) => {
|
|
4189
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4210
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4190
4211
|
if (r == null)
|
|
4191
4212
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4192
|
-
return n ? s =
|
|
4213
|
+
return n ? s = ze("date", n) : Object.keys(s).length === 0 && (s = ze("date", "short")), new Intl.DateTimeFormat(r, s);
|
|
4193
4214
|
}
|
|
4194
|
-
),
|
|
4215
|
+
), Ea = pt(
|
|
4195
4216
|
(e) => {
|
|
4196
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4217
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4197
4218
|
if (r == null)
|
|
4198
4219
|
throw new Error(
|
|
4199
4220
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4200
4221
|
);
|
|
4201
|
-
return n ? s =
|
|
4222
|
+
return n ? s = ze("time", n) : Object.keys(s).length === 0 && (s = ze("time", "short")), new Intl.DateTimeFormat(r, s);
|
|
4202
4223
|
}
|
|
4203
|
-
),
|
|
4224
|
+
), Ca = (e = {}) => {
|
|
4204
4225
|
var t = e, {
|
|
4205
4226
|
locale: r = me()
|
|
4206
|
-
} = t, n =
|
|
4227
|
+
} = t, n = Fe(t, [
|
|
4207
4228
|
"locale"
|
|
4208
4229
|
]);
|
|
4209
|
-
return
|
|
4210
|
-
},
|
|
4230
|
+
return _a(Gt({ locale: r }, n));
|
|
4231
|
+
}, Ta = (e = {}) => {
|
|
4211
4232
|
var t = e, {
|
|
4212
4233
|
locale: r = me()
|
|
4213
|
-
} = t, n =
|
|
4234
|
+
} = t, n = Fe(t, [
|
|
4214
4235
|
"locale"
|
|
4215
4236
|
]);
|
|
4216
|
-
return
|
|
4217
|
-
},
|
|
4237
|
+
return xa(Gt({ locale: r }, n));
|
|
4238
|
+
}, Ba = (e = {}) => {
|
|
4218
4239
|
var t = e, {
|
|
4219
4240
|
locale: r = me()
|
|
4220
|
-
} = t, n =
|
|
4241
|
+
} = t, n = Fe(t, [
|
|
4221
4242
|
"locale"
|
|
4222
4243
|
]);
|
|
4223
|
-
return
|
|
4224
|
-
},
|
|
4244
|
+
return Ea(Gt({ locale: r }, n));
|
|
4245
|
+
}, Sa = pt(
|
|
4225
4246
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4226
|
-
(e, t = me()) => new
|
|
4227
|
-
ignoreTag:
|
|
4247
|
+
(e, t = me()) => new ta(e, t, Ne().formats, {
|
|
4248
|
+
ignoreTag: Ne().ignoreTag
|
|
4228
4249
|
})
|
|
4229
|
-
),
|
|
4250
|
+
), Aa = (e, t = {}) => {
|
|
4230
4251
|
var r, n, s, a;
|
|
4231
4252
|
let i = t;
|
|
4232
4253
|
typeof e == "object" && (i = e, e = i.id);
|
|
4233
4254
|
const {
|
|
4234
|
-
values:
|
|
4255
|
+
values: l,
|
|
4235
4256
|
locale: u = me(),
|
|
4236
4257
|
default: h
|
|
4237
4258
|
} = i;
|
|
@@ -4239,18 +4260,18 @@ const We = (e, t) => {
|
|
|
4239
4260
|
throw new Error(
|
|
4240
4261
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4241
4262
|
);
|
|
4242
|
-
let c =
|
|
4263
|
+
let c = Zr(e, u);
|
|
4243
4264
|
if (!c)
|
|
4244
|
-
c = (a = (s = (n = (r =
|
|
4265
|
+
c = (a = (s = (n = (r = Ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? s : h) != null ? a : e;
|
|
4245
4266
|
else if (typeof c != "string")
|
|
4246
4267
|
return console.warn(
|
|
4247
4268
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4248
4269
|
), c;
|
|
4249
|
-
if (!
|
|
4270
|
+
if (!l)
|
|
4250
4271
|
return c;
|
|
4251
4272
|
let f = c;
|
|
4252
4273
|
try {
|
|
4253
|
-
f =
|
|
4274
|
+
f = Sa(c, u).format(l);
|
|
4254
4275
|
} catch (p) {
|
|
4255
4276
|
p instanceof Error && console.warn(
|
|
4256
4277
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4258,20 +4279,20 @@ const We = (e, t) => {
|
|
|
4258
4279
|
);
|
|
4259
4280
|
}
|
|
4260
4281
|
return f;
|
|
4261
|
-
},
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4282
|
+
}, Ia = (e, t) => Ba(t).format(e), Ha = (e, t) => Ta(t).format(e), Ma = (e, t) => Ca(t).format(e), Na = (e, t = me()) => Zr(e, t), Oa = Re([Le, Xe], () => Aa);
|
|
4283
|
+
Re([Le], () => Ia);
|
|
4284
|
+
Re([Le], () => Ha);
|
|
4285
|
+
Re([Le], () => Ma);
|
|
4286
|
+
Re([Le, Xe], () => Na);
|
|
4266
4287
|
window.emWidgets = { topic: Wn };
|
|
4267
|
-
const
|
|
4268
|
-
function
|
|
4269
|
-
|
|
4288
|
+
const Ra = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4289
|
+
function mr(e, t) {
|
|
4290
|
+
Yr(e, t);
|
|
4270
4291
|
}
|
|
4271
|
-
function
|
|
4272
|
-
|
|
4292
|
+
function La(e) {
|
|
4293
|
+
Le.set(e);
|
|
4273
4294
|
}
|
|
4274
|
-
const
|
|
4295
|
+
const gr = {
|
|
4275
4296
|
en: {
|
|
4276
4297
|
titleChangePassword: "Change Password",
|
|
4277
4298
|
currentPassword: "Current Password:",
|
|
@@ -4455,116 +4476,116 @@ const pr = {
|
|
|
4455
4476
|
backButtonText: "Back"
|
|
4456
4477
|
}
|
|
4457
4478
|
};
|
|
4458
|
-
function
|
|
4459
|
-
ln(e, "svelte-r3j83g", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:400px;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-text-color, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:var(--emw--color-primary, #22B04E);background:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4479
|
+
function Fa(e) {
|
|
4480
|
+
un(e, "svelte-r3j83g", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:400px;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-text-color, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:var(--emw--color-primary, #22B04E);background:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4460
4481
|
}
|
|
4461
|
-
function
|
|
4482
|
+
function ka(e) {
|
|
4462
4483
|
let t;
|
|
4463
4484
|
function r(a, i) {
|
|
4464
4485
|
return (
|
|
4465
4486
|
/*passwordChanged*/
|
|
4466
|
-
a[2] ?
|
|
4487
|
+
a[2] ? Da : Ua
|
|
4467
4488
|
);
|
|
4468
4489
|
}
|
|
4469
4490
|
let n = r(e), s = n(e);
|
|
4470
4491
|
return {
|
|
4471
4492
|
c() {
|
|
4472
|
-
t = _("form"), s.c(),
|
|
4493
|
+
t = _("form"), s.c(), o(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
|
|
4473
4494
|
(e[20] ? "PlayerChangePasswordWrapperMobile" : "") + " " + /*mediaQuery*/
|
|
4474
4495
|
(e[21].matches && /*isMobile*/
|
|
4475
4496
|
e[20] ? "PlayerChangePasswordWrapperTablet" : ""));
|
|
4476
4497
|
},
|
|
4477
4498
|
m(a, i) {
|
|
4478
|
-
|
|
4499
|
+
I(a, t, i), s.m(t, null);
|
|
4479
4500
|
},
|
|
4480
4501
|
p(a, i) {
|
|
4481
4502
|
n === (n = r(a)) && s ? s.p(a, i) : (s.d(1), s = n(a), s && (s.c(), s.m(t, null)));
|
|
4482
4503
|
},
|
|
4483
4504
|
d(a) {
|
|
4484
|
-
a &&
|
|
4505
|
+
a && S(t), s.d();
|
|
4485
4506
|
}
|
|
4486
4507
|
};
|
|
4487
4508
|
}
|
|
4488
|
-
function
|
|
4509
|
+
function Da(e) {
|
|
4489
4510
|
let t, r, n, s = (
|
|
4490
4511
|
/*$_*/
|
|
4491
4512
|
e[19]("changePasswordText") + ""
|
|
4492
|
-
), a, i,
|
|
4513
|
+
), a, i, l, u, h, c, f, p, m = (
|
|
4493
4514
|
/*$_*/
|
|
4494
4515
|
e[19]("passwordReset") + ""
|
|
4495
4516
|
), w, v, T, y = (
|
|
4496
4517
|
/*$_*/
|
|
4497
4518
|
e[19]("passwordResetConfirmation") + ""
|
|
4498
|
-
),
|
|
4519
|
+
), A, O, k, D = (
|
|
4499
4520
|
/*$_*/
|
|
4500
4521
|
e[19]("backButtonText") + ""
|
|
4501
|
-
),
|
|
4522
|
+
), M, X, te, $ = (
|
|
4502
4523
|
/*isMobile*/
|
|
4503
|
-
e[20] &&
|
|
4524
|
+
e[20] && $a(e)
|
|
4504
4525
|
);
|
|
4505
4526
|
return {
|
|
4506
4527
|
c() {
|
|
4507
|
-
$ && $.c(), t = F(), r = _("div"), n = _("h3"), a =
|
|
4528
|
+
$ && $.c(), t = F(), r = _("div"), n = _("h3"), a = H(s), i = F(), l = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = F(), f = _("div"), p = _("h3"), w = H(m), v = F(), T = _("p"), A = H(y), O = F(), k = _("div"), M = H(D), o(r, "class", "PlayerChangePasswordHeader"), o(h, "class", "IconContainer"), o(f, "class", "TextContainer"), o(u, "class", "SuccessWrapper"), o(k, "class", "PlayerChangePasswordBackButton"), o(l, "class", "ChangedPasswordSuccessfully");
|
|
4508
4529
|
},
|
|
4509
|
-
m(
|
|
4510
|
-
$ && $.m(
|
|
4530
|
+
m(R, B) {
|
|
4531
|
+
$ && $.m(R, B), I(R, t, B), I(R, r, B), d(r, n), d(n, a), I(R, i, B), I(R, l, B), d(l, u), d(u, h), d(u, c), d(u, f), d(f, p), d(p, w), d(f, v), d(f, T), d(T, A), d(l, O), d(l, k), d(k, M), X || (te = z(
|
|
4511
4532
|
k,
|
|
4512
4533
|
"click",
|
|
4513
4534
|
/*click_handler_9*/
|
|
4514
4535
|
e[48]
|
|
4515
4536
|
), X = !0);
|
|
4516
4537
|
},
|
|
4517
|
-
p(
|
|
4538
|
+
p(R, B) {
|
|
4518
4539
|
/*isMobile*/
|
|
4519
|
-
|
|
4540
|
+
R[20] && $.p(R, B), B[0] & /*$_*/
|
|
4520
4541
|
524288 && s !== (s = /*$_*/
|
|
4521
|
-
|
|
4542
|
+
R[19]("changePasswordText") + "") && U(a, s), B[0] & /*$_*/
|
|
4522
4543
|
524288 && m !== (m = /*$_*/
|
|
4523
|
-
|
|
4544
|
+
R[19]("passwordReset") + "") && U(w, m), B[0] & /*$_*/
|
|
4524
4545
|
524288 && y !== (y = /*$_*/
|
|
4525
|
-
|
|
4546
|
+
R[19]("passwordResetConfirmation") + "") && U(A, y), B[0] & /*$_*/
|
|
4526
4547
|
524288 && D !== (D = /*$_*/
|
|
4527
|
-
|
|
4548
|
+
R[19]("backButtonText") + "") && U(M, D);
|
|
4528
4549
|
},
|
|
4529
|
-
d(
|
|
4530
|
-
|
|
4550
|
+
d(R) {
|
|
4551
|
+
R && (S(t), S(r), S(i), S(l)), $ && $.d(R), X = !1, te();
|
|
4531
4552
|
}
|
|
4532
4553
|
};
|
|
4533
4554
|
}
|
|
4534
|
-
function
|
|
4555
|
+
function Ua(e) {
|
|
4535
4556
|
let t, r, n = (
|
|
4536
4557
|
/*$_*/
|
|
4537
4558
|
e[19]("titleChangePassword") + ""
|
|
4538
|
-
), s, a, i,
|
|
4559
|
+
), s, a, i, l, u, h = (
|
|
4539
4560
|
/*$_*/
|
|
4540
4561
|
e[19]("currentPassword") + ""
|
|
4541
|
-
), c, f, p, m, w, v, T, y,
|
|
4562
|
+
), c, f, p, m, w, v, T, y, A, O = (
|
|
4542
4563
|
/*$_*/
|
|
4543
4564
|
e[19]("newPassword") + ""
|
|
4544
|
-
), k, D,
|
|
4565
|
+
), k, D, M, X, te, $, R, B, Z, Y = (
|
|
4545
4566
|
/*$_*/
|
|
4546
4567
|
e[19]("confirmPassword") + ""
|
|
4547
|
-
), ge,
|
|
4568
|
+
), ge, ke, Q, Ze, re, be, De, ae, de, ne, he = (
|
|
4548
4569
|
/*$_*/
|
|
4549
4570
|
e[19]("submitChangePassword") + ""
|
|
4550
|
-
), we, ve, pe,
|
|
4571
|
+
), we, ve, pe, Ue, Qe, oe = (
|
|
4551
4572
|
/*isMobile*/
|
|
4552
|
-
e[20] &&
|
|
4573
|
+
e[20] && Ga(e)
|
|
4553
4574
|
);
|
|
4554
4575
|
function Ye(x, P) {
|
|
4555
4576
|
return (
|
|
4556
4577
|
/*isCurrentPasswordVisible*/
|
|
4557
|
-
x[10] ?
|
|
4578
|
+
x[10] ? Va : ja
|
|
4558
4579
|
);
|
|
4559
4580
|
}
|
|
4560
4581
|
let ye = Ye(e), J = ye(e), G = (
|
|
4561
4582
|
/*invalidCurrentPassword*/
|
|
4562
|
-
e[4] &&
|
|
4583
|
+
e[4] && br(e)
|
|
4563
4584
|
);
|
|
4564
4585
|
function Je(x, P) {
|
|
4565
4586
|
return (
|
|
4566
4587
|
/*isNewPasswordVisible*/
|
|
4567
|
-
x[11] ?
|
|
4588
|
+
x[11] ? Za : Xa
|
|
4568
4589
|
);
|
|
4569
4590
|
}
|
|
4570
4591
|
let Pe = Je(e), q = Pe(e);
|
|
@@ -4573,51 +4594,51 @@ function ka(e) {
|
|
|
4573
4594
|
/*oldPasswordSameAsNew*/
|
|
4574
4595
|
x[13]
|
|
4575
4596
|
)
|
|
4576
|
-
return
|
|
4597
|
+
return Ya;
|
|
4577
4598
|
if (
|
|
4578
4599
|
/*invalidNewPassword*/
|
|
4579
4600
|
x[5]
|
|
4580
4601
|
)
|
|
4581
|
-
return
|
|
4602
|
+
return Qa;
|
|
4582
4603
|
}
|
|
4583
4604
|
let ce = qe(e), j = ce && ce(e);
|
|
4584
4605
|
function Ke(x, P) {
|
|
4585
4606
|
return (
|
|
4586
4607
|
/*isConfirmPasswordVisible*/
|
|
4587
|
-
x[12] ?
|
|
4608
|
+
x[12] ? ei : Ka
|
|
4588
4609
|
);
|
|
4589
4610
|
}
|
|
4590
4611
|
let _e = Ke(e), K = _e(e), V = (
|
|
4591
4612
|
/*invalidConfirmPassword*/
|
|
4592
|
-
e[6] &&
|
|
4613
|
+
e[6] && wr(e)
|
|
4593
4614
|
), b = (
|
|
4594
4615
|
/*showErrorPasswordChanged*/
|
|
4595
|
-
e[18] &&
|
|
4616
|
+
e[18] && vr(e)
|
|
4596
4617
|
);
|
|
4597
4618
|
return {
|
|
4598
4619
|
c() {
|
|
4599
|
-
|
|
4600
|
-
(e[20] ? "ChangePasswordTitleNone" : "")),
|
|
4601
|
-
(e[4] ? "InvalidField" : "")),
|
|
4602
|
-
(e[5] ? "InvalidField" : "")),
|
|
4603
|
-
(e[6] ? "InvalidField" : "")),
|
|
4620
|
+
oe && oe.c(), t = F(), r = _("h2"), s = H(n), a = F(), i = _("section"), l = _("div"), u = _("label"), c = H(h), f = F(), p = _("input"), m = F(), J.c(), w = F(), G && G.c(), T = F(), y = _("div"), A = _("label"), k = H(O), D = F(), M = _("input"), X = F(), q.c(), te = F(), j && j.c(), R = F(), B = _("div"), Z = _("label"), ge = H(Y), ke = F(), Q = _("input"), Ze = F(), K.c(), re = F(), V && V.c(), De = F(), b && b.c(), ae = F(), de = _("section"), ne = _("button"), we = H(he), o(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4621
|
+
(e[20] ? "ChangePasswordTitleNone" : "")), o(u, "for", "CurrentPassword"), o(p, "id", "CurrentPassword"), o(p, "type", "password"), o(l, "class", v = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4622
|
+
(e[4] ? "InvalidField" : "")), o(A, "for", "NewPassword"), o(M, "id", "NewPassword"), o(M, "autocomplete", "new-password"), o(M, "type", "password"), o(y, "class", $ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4623
|
+
(e[5] ? "InvalidField" : "")), o(Z, "for", "ConfirmPassword"), o(Q, "id", "ConfirmPassword"), o(Q, "type", "password"), o(B, "class", be = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4624
|
+
(e[6] ? "InvalidField" : "")), o(i, "class", "PlayerChangePasswordContent"), o(ne, "class", ve = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4604
4625
|
(e[3] ? "" : "ButtonInactive")), ne.disabled = pe = !/*activateSubmit*/
|
|
4605
|
-
e[3],
|
|
4626
|
+
e[3], o(de, "class", "PlayerChangePasswordButtonsArea");
|
|
4606
4627
|
},
|
|
4607
4628
|
m(x, P) {
|
|
4608
|
-
|
|
4629
|
+
oe && oe.m(x, P), I(x, t, P), I(x, r, P), d(r, s), I(x, a, P), I(x, i, P), d(i, l), d(l, u), d(u, c), d(l, f), d(l, p), xe(
|
|
4609
4630
|
p,
|
|
4610
4631
|
/*userCurrentPassword*/
|
|
4611
4632
|
e[14]
|
|
4612
|
-
), e[35](p), d(
|
|
4613
|
-
|
|
4633
|
+
), e[35](p), d(l, m), J.m(l, null), d(l, w), G && G.m(l, null), d(i, T), d(i, y), d(y, A), d(A, k), d(y, D), d(y, M), xe(
|
|
4634
|
+
M,
|
|
4614
4635
|
/*userNewPassword*/
|
|
4615
4636
|
e[15]
|
|
4616
|
-
), e[39](
|
|
4637
|
+
), e[39](M), d(y, X), q.m(y, null), d(y, te), j && j.m(y, null), d(i, R), d(i, B), d(B, Z), d(Z, ge), d(B, ke), d(B, Q), xe(
|
|
4617
4638
|
Q,
|
|
4618
4639
|
/*userConfirmPassword*/
|
|
4619
4640
|
e[16]
|
|
4620
|
-
), e[43](Q), d(B, Ze), K.m(B, null), d(B, re), V && V.m(B, null),
|
|
4641
|
+
), e[43](Q), d(B, Ze), K.m(B, null), d(B, re), V && V.m(B, null), I(x, De, P), b && b.m(x, P), I(x, ae, P), I(x, de, P), d(de, ne), d(ne, we), Ue || (Qe = [
|
|
4621
4642
|
z(
|
|
4622
4643
|
p,
|
|
4623
4644
|
"input",
|
|
@@ -4645,12 +4666,12 @@ function ka(e) {
|
|
|
4645
4666
|
).apply(this, arguments);
|
|
4646
4667
|
}),
|
|
4647
4668
|
z(
|
|
4648
|
-
|
|
4669
|
+
M,
|
|
4649
4670
|
"input",
|
|
4650
4671
|
/*input1_input_handler*/
|
|
4651
4672
|
e[38]
|
|
4652
4673
|
),
|
|
4653
|
-
z(
|
|
4674
|
+
z(M, "blur", function() {
|
|
4654
4675
|
Se(
|
|
4655
4676
|
/*validatePassword*/
|
|
4656
4677
|
e[23](
|
|
@@ -4702,11 +4723,11 @@ function ka(e) {
|
|
|
4702
4723
|
/*click_handler_7*/
|
|
4703
4724
|
e[46]
|
|
4704
4725
|
)
|
|
4705
|
-
],
|
|
4726
|
+
], Ue = !0);
|
|
4706
4727
|
},
|
|
4707
4728
|
p(x, P) {
|
|
4708
4729
|
e = x, /*isMobile*/
|
|
4709
|
-
e[20] &&
|
|
4730
|
+
e[20] && oe.p(e, P), P[0] & /*$_*/
|
|
4710
4731
|
524288 && n !== (n = /*$_*/
|
|
4711
4732
|
e[19]("titleChangePassword") + "") && U(s, n), P[0] & /*$_*/
|
|
4712
4733
|
524288 && h !== (h = /*$_*/
|
|
@@ -4716,20 +4737,20 @@ function ka(e) {
|
|
|
4716
4737
|
p,
|
|
4717
4738
|
/*userCurrentPassword*/
|
|
4718
4739
|
e[14]
|
|
4719
|
-
), ye === (ye = Ye(e)) && J ? J.p(e, P) : (J.d(1), J = ye(e), J && (J.c(), J.m(
|
|
4720
|
-
e[4] ? G ? G.p(e, P) : (G =
|
|
4740
|
+
), ye === (ye = Ye(e)) && J ? J.p(e, P) : (J.d(1), J = ye(e), J && (J.c(), J.m(l, w))), /*invalidCurrentPassword*/
|
|
4741
|
+
e[4] ? G ? G.p(e, P) : (G = br(e), G.c(), G.m(l, null)) : G && (G.d(1), G = null), P[0] & /*invalidCurrentPassword*/
|
|
4721
4742
|
16 && v !== (v = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4722
|
-
(e[4] ? "InvalidField" : "")) && l
|
|
4743
|
+
(e[4] ? "InvalidField" : "")) && o(l, "class", v), P[0] & /*$_*/
|
|
4723
4744
|
524288 && O !== (O = /*$_*/
|
|
4724
4745
|
e[19]("newPassword") + "") && U(k, O), P[0] & /*userNewPassword*/
|
|
4725
|
-
32768 &&
|
|
4746
|
+
32768 && M.value !== /*userNewPassword*/
|
|
4726
4747
|
e[15] && xe(
|
|
4727
|
-
|
|
4748
|
+
M,
|
|
4728
4749
|
/*userNewPassword*/
|
|
4729
4750
|
e[15]
|
|
4730
4751
|
), Pe === (Pe = Je(e)) && q ? q.p(e, P) : (q.d(1), q = Pe(e), q && (q.c(), q.m(y, te))), ce === (ce = qe(e)) && j ? j.p(e, P) : (j && j.d(1), j = ce && ce(e), j && (j.c(), j.m(y, null))), P[0] & /*invalidNewPassword*/
|
|
4731
4752
|
32 && $ !== ($ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4732
|
-
(e[5] ? "InvalidField" : "")) &&
|
|
4753
|
+
(e[5] ? "InvalidField" : "")) && o(y, "class", $), P[0] & /*$_*/
|
|
4733
4754
|
524288 && Y !== (Y = /*$_*/
|
|
4734
4755
|
e[19]("confirmPassword") + "") && U(ge, Y), P[0] & /*userConfirmPassword*/
|
|
4735
4756
|
65536 && Q.value !== /*userConfirmPassword*/
|
|
@@ -4738,35 +4759,35 @@ function ka(e) {
|
|
|
4738
4759
|
/*userConfirmPassword*/
|
|
4739
4760
|
e[16]
|
|
4740
4761
|
), _e === (_e = Ke(e)) && K ? K.p(e, P) : (K.d(1), K = _e(e), K && (K.c(), K.m(B, re))), /*invalidConfirmPassword*/
|
|
4741
|
-
e[6] ? V ? V.p(e, P) : (V =
|
|
4762
|
+
e[6] ? V ? V.p(e, P) : (V = wr(e), V.c(), V.m(B, null)) : V && (V.d(1), V = null), P[0] & /*invalidConfirmPassword*/
|
|
4742
4763
|
64 && be !== (be = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4743
|
-
(e[6] ? "InvalidField" : "")) &&
|
|
4744
|
-
e[18] ? b ? b.p(e, P) : (b =
|
|
4764
|
+
(e[6] ? "InvalidField" : "")) && o(B, "class", be), /*showErrorPasswordChanged*/
|
|
4765
|
+
e[18] ? b ? b.p(e, P) : (b = vr(e), b.c(), b.m(ae.parentNode, ae)) : b && (b.d(1), b = null), P[0] & /*$_*/
|
|
4745
4766
|
524288 && he !== (he = /*$_*/
|
|
4746
4767
|
e[19]("submitChangePassword") + "") && U(we, he), P[0] & /*activateSubmit*/
|
|
4747
4768
|
8 && ve !== (ve = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4748
|
-
(e[3] ? "" : "ButtonInactive")) &&
|
|
4769
|
+
(e[3] ? "" : "ButtonInactive")) && o(ne, "class", ve), P[0] & /*activateSubmit*/
|
|
4749
4770
|
8 && pe !== (pe = !/*activateSubmit*/
|
|
4750
4771
|
e[3]) && (ne.disabled = pe);
|
|
4751
4772
|
},
|
|
4752
4773
|
d(x) {
|
|
4753
|
-
x && (
|
|
4774
|
+
x && (S(t), S(r), S(a), S(i), S(De), S(ae), S(de)), oe && oe.d(x), e[35](null), J.d(), G && G.d(), e[39](null), q.d(), j && j.d(), e[43](null), K.d(), V && V.d(), b && b.d(x), Ue = !1, Oe(Qe);
|
|
4754
4775
|
}
|
|
4755
4776
|
};
|
|
4756
4777
|
}
|
|
4757
|
-
function
|
|
4758
|
-
let t, r, n, s, a, i,
|
|
4778
|
+
function $a(e) {
|
|
4779
|
+
let t, r, n, s, a, i, l = (
|
|
4759
4780
|
/*$_*/
|
|
4760
4781
|
e[19]("returnToMenu") + ""
|
|
4761
4782
|
), u, h, c;
|
|
4762
4783
|
return {
|
|
4763
4784
|
c() {
|
|
4764
|
-
t = _("div"), r = g("svg"), n = g("g"), s = g("path"), a = F(), i = _("span"), u =
|
|
4785
|
+
t = _("div"), r = g("svg"), n = g("g"), s = g("path"), a = F(), i = _("span"), u = H(l), o(s, "id", "Chevron_Right"), o(s, "d", `M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179
|
|
4765
4786
|
l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816
|
|
4766
|
-
C52.942,116.507,52.942,124.327,57.633,129.007z`),
|
|
4787
|
+
C52.942,116.507,52.942,124.327,57.633,129.007z`), o(r, "version", "1.1"), o(r, "id", "Capa_1"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "xmlns:xlink", "http://www.w3.org/1999/xlink"), o(r, "x", "0px"), o(r, "y", "0px"), o(r, "viewBox", "0 0 240.823 240.823"), dn(r, "enable-background", "new 0 0 240.823 240.823"), o(r, "xml:space", "preserve"), o(r, "width", "18px"), o(r, "fill", "var(--emw--color-gray-300, #58586B)"), o(t, "class", "MenuReturnButton");
|
|
4767
4788
|
},
|
|
4768
4789
|
m(f, p) {
|
|
4769
|
-
|
|
4790
|
+
I(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(t, i), d(i, u), h || (c = z(
|
|
4770
4791
|
t,
|
|
4771
4792
|
"click",
|
|
4772
4793
|
/*click_handler_8*/
|
|
@@ -4775,25 +4796,25 @@ function Da(e) {
|
|
|
4775
4796
|
},
|
|
4776
4797
|
p(f, p) {
|
|
4777
4798
|
p[0] & /*$_*/
|
|
4778
|
-
524288 &&
|
|
4779
|
-
f[19]("returnToMenu") + "") && U(u,
|
|
4799
|
+
524288 && l !== (l = /*$_*/
|
|
4800
|
+
f[19]("returnToMenu") + "") && U(u, l);
|
|
4780
4801
|
},
|
|
4781
4802
|
d(f) {
|
|
4782
|
-
f &&
|
|
4803
|
+
f && S(t), h = !1, c();
|
|
4783
4804
|
}
|
|
4784
4805
|
};
|
|
4785
4806
|
}
|
|
4786
|
-
function
|
|
4787
|
-
let t, r, n, s, a, i,
|
|
4807
|
+
function Ga(e) {
|
|
4808
|
+
let t, r, n, s, a, i, l, u, h, c, f = (
|
|
4788
4809
|
/*$_*/
|
|
4789
4810
|
e[19]("titleChangePassword") + ""
|
|
4790
4811
|
), p, m, w;
|
|
4791
4812
|
return {
|
|
4792
4813
|
c() {
|
|
4793
|
-
t = _("div"), r = g("svg"), n = g("defs"), s = g("style"), a =
|
|
4814
|
+
t = _("div"), r = g("svg"), n = g("defs"), s = g("style"), a = H(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), i = g("g"), l = g("g"), u = g("path"), h = F(), c = _("h2"), p = H(f), o(u, "class", "aaa"), o(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), o(u, "transform", "translate(15 15) rotate(180)"), o(l, "transform", "translate(20 158)"), o(i, "transform", "translate(-20 -158)"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "15"), o(r, "height", "15"), o(r, "viewBox", "0 0 15 15"), o(c, "class", "ChangePasswordTitleMobile"), o(t, "class", "MenuReturnButton");
|
|
4794
4815
|
},
|
|
4795
4816
|
m(v, T) {
|
|
4796
|
-
|
|
4817
|
+
I(v, t, T), d(t, r), d(r, n), d(n, s), d(s, a), d(r, i), d(i, l), d(l, u), d(t, h), d(t, c), d(c, p), m || (w = z(
|
|
4797
4818
|
t,
|
|
4798
4819
|
"click",
|
|
4799
4820
|
/*click_handler*/
|
|
@@ -4806,20 +4827,20 @@ function Ua(e) {
|
|
|
4806
4827
|
v[19]("titleChangePassword") + "") && U(p, f);
|
|
4807
4828
|
},
|
|
4808
4829
|
d(v) {
|
|
4809
|
-
v &&
|
|
4830
|
+
v && S(t), m = !1, w();
|
|
4810
4831
|
}
|
|
4811
4832
|
};
|
|
4812
4833
|
}
|
|
4813
|
-
function
|
|
4814
|
-
let t, r, n, s, a, i,
|
|
4834
|
+
function ja(e) {
|
|
4835
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
4815
4836
|
return {
|
|
4816
4837
|
c() {
|
|
4817
|
-
t = g("svg"), r = g("defs"), n = g("style"), s =
|
|
4838
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"), l = g("circle"), o(i, "class", "a"), o(i, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(i, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(a, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4818
4839
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4819
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4840
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.843"), o(t, "height", "10.5"), o(t, "viewBox", "0 0 18.843 10.5");
|
|
4820
4841
|
},
|
|
4821
4842
|
m(f, p) {
|
|
4822
|
-
|
|
4843
|
+
I(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), h || (c = z(
|
|
4823
4844
|
t,
|
|
4824
4845
|
"click",
|
|
4825
4846
|
/*click_handler_2*/
|
|
@@ -4830,75 +4851,75 @@ function $a(e) {
|
|
|
4830
4851
|
p[0] & /*invalidCurrentPassword*/
|
|
4831
4852
|
16 && u !== (u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4832
4853
|
(f[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4833
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4854
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
4834
4855
|
},
|
|
4835
4856
|
d(f) {
|
|
4836
|
-
f &&
|
|
4857
|
+
f && S(t), h = !1, c();
|
|
4837
4858
|
}
|
|
4838
4859
|
};
|
|
4839
4860
|
}
|
|
4840
|
-
function
|
|
4841
|
-
let t, r, n, s, a, i,
|
|
4861
|
+
function Va(e) {
|
|
4862
|
+
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
4842
4863
|
return {
|
|
4843
4864
|
c() {
|
|
4844
|
-
t = g("svg"), r = g("defs"), n = g("style"), s =
|
|
4865
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(i, "class", "a"), o(i, "cx", "0.05"), o(i, "cy", "0.05"), o(i, "r", "0.05"), o(i, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", w = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4845
4866
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4846
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4867
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.844"), o(t, "height", "12.887"), o(t, "viewBox", "0 0 18.844 12.887");
|
|
4847
4868
|
},
|
|
4848
|
-
m(y,
|
|
4849
|
-
|
|
4869
|
+
m(y, A) {
|
|
4870
|
+
I(y, t, A), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), d(l, u), d(l, h), d(a, c), d(c, f), d(c, p), d(a, m), v || (T = z(
|
|
4850
4871
|
t,
|
|
4851
4872
|
"click",
|
|
4852
4873
|
/*click_handler_1*/
|
|
4853
4874
|
e[36]
|
|
4854
4875
|
), v = !0);
|
|
4855
4876
|
},
|
|
4856
|
-
p(y,
|
|
4857
|
-
|
|
4877
|
+
p(y, A) {
|
|
4878
|
+
A[0] & /*invalidCurrentPassword*/
|
|
4858
4879
|
16 && w !== (w = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4859
4880
|
(y[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4860
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4881
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", w);
|
|
4861
4882
|
},
|
|
4862
4883
|
d(y) {
|
|
4863
|
-
y &&
|
|
4884
|
+
y && S(t), v = !1, T();
|
|
4864
4885
|
}
|
|
4865
4886
|
};
|
|
4866
4887
|
}
|
|
4867
|
-
function
|
|
4888
|
+
function br(e) {
|
|
4868
4889
|
let t;
|
|
4869
4890
|
function r(a, i) {
|
|
4870
4891
|
return (
|
|
4871
4892
|
/*simplepasswordvalidation*/
|
|
4872
|
-
a[0] == "true" ?
|
|
4893
|
+
a[0] == "true" ? Wa : za
|
|
4873
4894
|
);
|
|
4874
4895
|
}
|
|
4875
4896
|
let n = r(e), s = n(e);
|
|
4876
4897
|
return {
|
|
4877
4898
|
c() {
|
|
4878
|
-
s.c(), t =
|
|
4899
|
+
s.c(), t = xr();
|
|
4879
4900
|
},
|
|
4880
4901
|
m(a, i) {
|
|
4881
|
-
s.m(a, i),
|
|
4902
|
+
s.m(a, i), I(a, t, i);
|
|
4882
4903
|
},
|
|
4883
4904
|
p(a, i) {
|
|
4884
4905
|
n === (n = r(a)) && s ? s.p(a, i) : (s.d(1), s = n(a), s && (s.c(), s.m(t.parentNode, t)));
|
|
4885
4906
|
},
|
|
4886
4907
|
d(a) {
|
|
4887
|
-
a &&
|
|
4908
|
+
a && S(t), s.d(a);
|
|
4888
4909
|
}
|
|
4889
4910
|
};
|
|
4890
4911
|
}
|
|
4891
|
-
function
|
|
4912
|
+
function za(e) {
|
|
4892
4913
|
let t, r = (
|
|
4893
4914
|
/*$_*/
|
|
4894
4915
|
e[19]("invalidPasswordRule") + ""
|
|
4895
4916
|
), n;
|
|
4896
4917
|
return {
|
|
4897
4918
|
c() {
|
|
4898
|
-
t = _("p"), n =
|
|
4919
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInput");
|
|
4899
4920
|
},
|
|
4900
4921
|
m(s, a) {
|
|
4901
|
-
|
|
4922
|
+
I(s, t, a), d(t, n);
|
|
4902
4923
|
},
|
|
4903
4924
|
p(s, a) {
|
|
4904
4925
|
a[0] & /*$_*/
|
|
@@ -4906,21 +4927,21 @@ function ja(e) {
|
|
|
4906
4927
|
s[19]("invalidPasswordRule") + "") && U(n, r);
|
|
4907
4928
|
},
|
|
4908
4929
|
d(s) {
|
|
4909
|
-
s &&
|
|
4930
|
+
s && S(t);
|
|
4910
4931
|
}
|
|
4911
4932
|
};
|
|
4912
4933
|
}
|
|
4913
|
-
function
|
|
4934
|
+
function Wa(e) {
|
|
4914
4935
|
let t, r = (
|
|
4915
4936
|
/*$_*/
|
|
4916
4937
|
e[19]("simplePasswordError") + ""
|
|
4917
4938
|
), n;
|
|
4918
4939
|
return {
|
|
4919
4940
|
c() {
|
|
4920
|
-
t = _("p"), n =
|
|
4941
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInput");
|
|
4921
4942
|
},
|
|
4922
4943
|
m(s, a) {
|
|
4923
|
-
|
|
4944
|
+
I(s, t, a), d(t, n);
|
|
4924
4945
|
},
|
|
4925
4946
|
p(s, a) {
|
|
4926
4947
|
a[0] & /*$_*/
|
|
@@ -4928,20 +4949,20 @@ function Va(e) {
|
|
|
4928
4949
|
s[19]("simplePasswordError") + "") && U(n, r);
|
|
4929
4950
|
},
|
|
4930
4951
|
d(s) {
|
|
4931
|
-
s &&
|
|
4952
|
+
s && S(t);
|
|
4932
4953
|
}
|
|
4933
4954
|
};
|
|
4934
4955
|
}
|
|
4935
|
-
function
|
|
4936
|
-
let t, r, n, s, a, i,
|
|
4956
|
+
function Xa(e) {
|
|
4957
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
4937
4958
|
return {
|
|
4938
4959
|
c() {
|
|
4939
|
-
t = g("svg"), r = g("defs"), n = g("style"), s =
|
|
4960
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"), l = g("circle"), o(i, "class", "a"), o(i, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(i, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(a, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4940
4961
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4941
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4962
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.843"), o(t, "height", "10.5"), o(t, "viewBox", "0 0 18.843 10.5");
|
|
4942
4963
|
},
|
|
4943
4964
|
m(f, p) {
|
|
4944
|
-
|
|
4965
|
+
I(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), h || (c = z(
|
|
4945
4966
|
t,
|
|
4946
4967
|
"click",
|
|
4947
4968
|
/*click_handler_4*/
|
|
@@ -4952,75 +4973,75 @@ function za(e) {
|
|
|
4952
4973
|
p[0] & /*invalidNewPassword*/
|
|
4953
4974
|
32 && u !== (u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4954
4975
|
(f[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4955
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4976
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
4956
4977
|
},
|
|
4957
4978
|
d(f) {
|
|
4958
|
-
f &&
|
|
4979
|
+
f && S(t), h = !1, c();
|
|
4959
4980
|
}
|
|
4960
4981
|
};
|
|
4961
4982
|
}
|
|
4962
|
-
function
|
|
4963
|
-
let t, r, n, s, a, i,
|
|
4983
|
+
function Za(e) {
|
|
4984
|
+
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
4964
4985
|
return {
|
|
4965
4986
|
c() {
|
|
4966
|
-
t = g("svg"), r = g("defs"), n = g("style"), s =
|
|
4987
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(i, "class", "a"), o(i, "cx", "0.05"), o(i, "cy", "0.05"), o(i, "r", "0.05"), o(i, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", w = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4967
4988
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4968
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4989
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.844"), o(t, "height", "12.887"), o(t, "viewBox", "0 0 18.844 12.887");
|
|
4969
4990
|
},
|
|
4970
|
-
m(y,
|
|
4971
|
-
|
|
4991
|
+
m(y, A) {
|
|
4992
|
+
I(y, t, A), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), d(l, u), d(l, h), d(a, c), d(c, f), d(c, p), d(a, m), v || (T = z(
|
|
4972
4993
|
t,
|
|
4973
4994
|
"click",
|
|
4974
4995
|
/*click_handler_3*/
|
|
4975
4996
|
e[40]
|
|
4976
4997
|
), v = !0);
|
|
4977
4998
|
},
|
|
4978
|
-
p(y,
|
|
4979
|
-
|
|
4999
|
+
p(y, A) {
|
|
5000
|
+
A[0] & /*invalidNewPassword*/
|
|
4980
5001
|
32 && w !== (w = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4981
5002
|
(y[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4982
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5003
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", w);
|
|
4983
5004
|
},
|
|
4984
5005
|
d(y) {
|
|
4985
|
-
y &&
|
|
5006
|
+
y && S(t), v = !1, T();
|
|
4986
5007
|
}
|
|
4987
5008
|
};
|
|
4988
5009
|
}
|
|
4989
|
-
function
|
|
5010
|
+
function Qa(e) {
|
|
4990
5011
|
let t;
|
|
4991
5012
|
function r(a, i) {
|
|
4992
5013
|
return (
|
|
4993
5014
|
/*simplepasswordvalidation*/
|
|
4994
|
-
a[0] == "true" ?
|
|
5015
|
+
a[0] == "true" ? qa : Ja
|
|
4995
5016
|
);
|
|
4996
5017
|
}
|
|
4997
5018
|
let n = r(e), s = n(e);
|
|
4998
5019
|
return {
|
|
4999
5020
|
c() {
|
|
5000
|
-
s.c(), t =
|
|
5021
|
+
s.c(), t = xr();
|
|
5001
5022
|
},
|
|
5002
5023
|
m(a, i) {
|
|
5003
|
-
s.m(a, i),
|
|
5024
|
+
s.m(a, i), I(a, t, i);
|
|
5004
5025
|
},
|
|
5005
5026
|
p(a, i) {
|
|
5006
5027
|
n === (n = r(a)) && s ? s.p(a, i) : (s.d(1), s = n(a), s && (s.c(), s.m(t.parentNode, t)));
|
|
5007
5028
|
},
|
|
5008
5029
|
d(a) {
|
|
5009
|
-
a &&
|
|
5030
|
+
a && S(t), s.d(a);
|
|
5010
5031
|
}
|
|
5011
5032
|
};
|
|
5012
5033
|
}
|
|
5013
|
-
function
|
|
5034
|
+
function Ya(e) {
|
|
5014
5035
|
let t, r = (
|
|
5015
5036
|
/*$_*/
|
|
5016
5037
|
e[19]("invalidNewPassword") + ""
|
|
5017
5038
|
), n;
|
|
5018
5039
|
return {
|
|
5019
5040
|
c() {
|
|
5020
|
-
t = _("p"), n =
|
|
5041
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInputNew");
|
|
5021
5042
|
},
|
|
5022
5043
|
m(s, a) {
|
|
5023
|
-
|
|
5044
|
+
I(s, t, a), d(t, n);
|
|
5024
5045
|
},
|
|
5025
5046
|
p(s, a) {
|
|
5026
5047
|
a[0] & /*$_*/
|
|
@@ -5028,21 +5049,21 @@ function Za(e) {
|
|
|
5028
5049
|
s[19]("invalidNewPassword") + "") && U(n, r);
|
|
5029
5050
|
},
|
|
5030
5051
|
d(s) {
|
|
5031
|
-
s &&
|
|
5052
|
+
s && S(t);
|
|
5032
5053
|
}
|
|
5033
5054
|
};
|
|
5034
5055
|
}
|
|
5035
|
-
function
|
|
5056
|
+
function Ja(e) {
|
|
5036
5057
|
let t, r = (
|
|
5037
5058
|
/*$_*/
|
|
5038
5059
|
e[19]("invalidPasswordRule") + ""
|
|
5039
5060
|
), n;
|
|
5040
5061
|
return {
|
|
5041
5062
|
c() {
|
|
5042
|
-
t = _("p"), n =
|
|
5063
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInput");
|
|
5043
5064
|
},
|
|
5044
5065
|
m(s, a) {
|
|
5045
|
-
|
|
5066
|
+
I(s, t, a), d(t, n);
|
|
5046
5067
|
},
|
|
5047
5068
|
p(s, a) {
|
|
5048
5069
|
a[0] & /*$_*/
|
|
@@ -5050,21 +5071,21 @@ function Qa(e) {
|
|
|
5050
5071
|
s[19]("invalidPasswordRule") + "") && U(n, r);
|
|
5051
5072
|
},
|
|
5052
5073
|
d(s) {
|
|
5053
|
-
s &&
|
|
5074
|
+
s && S(t);
|
|
5054
5075
|
}
|
|
5055
5076
|
};
|
|
5056
5077
|
}
|
|
5057
|
-
function
|
|
5078
|
+
function qa(e) {
|
|
5058
5079
|
let t, r = (
|
|
5059
5080
|
/*$_*/
|
|
5060
5081
|
e[19]("simplePasswordError") + ""
|
|
5061
5082
|
), n;
|
|
5062
5083
|
return {
|
|
5063
5084
|
c() {
|
|
5064
|
-
t = _("p"), n =
|
|
5085
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInput");
|
|
5065
5086
|
},
|
|
5066
5087
|
m(s, a) {
|
|
5067
|
-
|
|
5088
|
+
I(s, t, a), d(t, n);
|
|
5068
5089
|
},
|
|
5069
5090
|
p(s, a) {
|
|
5070
5091
|
a[0] & /*$_*/
|
|
@@ -5072,20 +5093,20 @@ function Ya(e) {
|
|
|
5072
5093
|
s[19]("simplePasswordError") + "") && U(n, r);
|
|
5073
5094
|
},
|
|
5074
5095
|
d(s) {
|
|
5075
|
-
s &&
|
|
5096
|
+
s && S(t);
|
|
5076
5097
|
}
|
|
5077
5098
|
};
|
|
5078
5099
|
}
|
|
5079
|
-
function
|
|
5080
|
-
let t, r, n, s, a, i,
|
|
5100
|
+
function Ka(e) {
|
|
5101
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
5081
5102
|
return {
|
|
5082
5103
|
c() {
|
|
5083
|
-
t = g("svg"), r = g("defs"), n = g("style"), s =
|
|
5104
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("path"), l = g("circle"), o(i, "class", "a"), o(i, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(i, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(a, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5084
5105
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5085
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5106
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.843"), o(t, "height", "10.5"), o(t, "viewBox", "0 0 18.843 10.5");
|
|
5086
5107
|
},
|
|
5087
5108
|
m(f, p) {
|
|
5088
|
-
|
|
5109
|
+
I(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), h || (c = z(
|
|
5089
5110
|
t,
|
|
5090
5111
|
"click",
|
|
5091
5112
|
/*click_handler_6*/
|
|
@@ -5096,51 +5117,51 @@ function Ja(e) {
|
|
|
5096
5117
|
p[0] & /*invalidConfirmPassword*/
|
|
5097
5118
|
64 && u !== (u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5098
5119
|
(f[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5099
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5120
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
5100
5121
|
},
|
|
5101
5122
|
d(f) {
|
|
5102
|
-
f &&
|
|
5123
|
+
f && S(t), h = !1, c();
|
|
5103
5124
|
}
|
|
5104
5125
|
};
|
|
5105
5126
|
}
|
|
5106
|
-
function
|
|
5107
|
-
let t, r, n, s, a, i,
|
|
5127
|
+
function ei(e) {
|
|
5128
|
+
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
5108
5129
|
return {
|
|
5109
5130
|
c() {
|
|
5110
|
-
t = g("svg"), r = g("defs"), n = g("style"), s =
|
|
5131
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = g("g"), i = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(i, "class", "a"), o(i, "cx", "0.05"), o(i, "cy", "0.05"), o(i, "r", "0.05"), o(i, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", w = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5111
5132
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5112
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5133
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.844"), o(t, "height", "12.887"), o(t, "viewBox", "0 0 18.844 12.887");
|
|
5113
5134
|
},
|
|
5114
|
-
m(y,
|
|
5115
|
-
|
|
5135
|
+
m(y, A) {
|
|
5136
|
+
I(y, t, A), d(t, r), d(r, n), d(n, s), d(t, a), d(a, i), d(a, l), d(l, u), d(l, h), d(a, c), d(c, f), d(c, p), d(a, m), v || (T = z(
|
|
5116
5137
|
t,
|
|
5117
5138
|
"click",
|
|
5118
5139
|
/*click_handler_5*/
|
|
5119
5140
|
e[44]
|
|
5120
5141
|
), v = !0);
|
|
5121
5142
|
},
|
|
5122
|
-
p(y,
|
|
5123
|
-
|
|
5143
|
+
p(y, A) {
|
|
5144
|
+
A[0] & /*invalidConfirmPassword*/
|
|
5124
5145
|
64 && w !== (w = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5125
5146
|
(y[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5126
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5147
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", w);
|
|
5127
5148
|
},
|
|
5128
5149
|
d(y) {
|
|
5129
|
-
y &&
|
|
5150
|
+
y && S(t), v = !1, T();
|
|
5130
5151
|
}
|
|
5131
5152
|
};
|
|
5132
5153
|
}
|
|
5133
|
-
function
|
|
5154
|
+
function wr(e) {
|
|
5134
5155
|
let t, r = (
|
|
5135
5156
|
/*$_*/
|
|
5136
5157
|
e[19]("confirmPasswordInvalid") + ""
|
|
5137
5158
|
), n;
|
|
5138
5159
|
return {
|
|
5139
5160
|
c() {
|
|
5140
|
-
t = _("p"), n =
|
|
5161
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInput");
|
|
5141
5162
|
},
|
|
5142
5163
|
m(s, a) {
|
|
5143
|
-
|
|
5164
|
+
I(s, t, a), d(t, n);
|
|
5144
5165
|
},
|
|
5145
5166
|
p(s, a) {
|
|
5146
5167
|
a[0] & /*$_*/
|
|
@@ -5148,21 +5169,21 @@ function gr(e) {
|
|
|
5148
5169
|
s[19]("confirmPasswordInvalid") + "") && U(n, r);
|
|
5149
5170
|
},
|
|
5150
5171
|
d(s) {
|
|
5151
|
-
s &&
|
|
5172
|
+
s && S(t);
|
|
5152
5173
|
}
|
|
5153
5174
|
};
|
|
5154
5175
|
}
|
|
5155
|
-
function
|
|
5176
|
+
function vr(e) {
|
|
5156
5177
|
let t, r, n;
|
|
5157
5178
|
return {
|
|
5158
5179
|
c() {
|
|
5159
|
-
t = _("div"), r = _("p"), n =
|
|
5180
|
+
t = _("div"), r = _("p"), n = H(
|
|
5160
5181
|
/*errorPasswordChanged*/
|
|
5161
5182
|
e[17]
|
|
5162
|
-
),
|
|
5183
|
+
), o(r, "class", "PasswordChangedError");
|
|
5163
5184
|
},
|
|
5164
5185
|
m(s, a) {
|
|
5165
|
-
|
|
5186
|
+
I(s, t, a), d(t, r), d(r, n);
|
|
5166
5187
|
},
|
|
5167
5188
|
p(s, a) {
|
|
5168
5189
|
a[0] & /*errorPasswordChanged*/
|
|
@@ -5173,14 +5194,14 @@ function br(e) {
|
|
|
5173
5194
|
);
|
|
5174
5195
|
},
|
|
5175
5196
|
d(s) {
|
|
5176
|
-
s &&
|
|
5197
|
+
s && S(t);
|
|
5177
5198
|
}
|
|
5178
5199
|
};
|
|
5179
5200
|
}
|
|
5180
|
-
function
|
|
5201
|
+
function ti(e) {
|
|
5181
5202
|
let t;
|
|
5182
5203
|
function r(a, i) {
|
|
5183
|
-
return
|
|
5204
|
+
return ka;
|
|
5184
5205
|
}
|
|
5185
5206
|
let s = r()(e);
|
|
5186
5207
|
return {
|
|
@@ -5188,7 +5209,7 @@ function Ka(e) {
|
|
|
5188
5209
|
t = _("div"), s.c();
|
|
5189
5210
|
},
|
|
5190
5211
|
m(a, i) {
|
|
5191
|
-
|
|
5212
|
+
I(a, t, i), s.m(t, null), e[49](t);
|
|
5192
5213
|
},
|
|
5193
5214
|
p(a, i) {
|
|
5194
5215
|
s.p(a, i);
|
|
@@ -5196,29 +5217,29 @@ function Ka(e) {
|
|
|
5196
5217
|
i: se,
|
|
5197
5218
|
o: se,
|
|
5198
5219
|
d(a) {
|
|
5199
|
-
a &&
|
|
5220
|
+
a && S(t), s.d(), e[49](null);
|
|
5200
5221
|
}
|
|
5201
5222
|
};
|
|
5202
5223
|
}
|
|
5203
|
-
function
|
|
5224
|
+
function ri(e, t, r) {
|
|
5204
5225
|
let n;
|
|
5205
|
-
|
|
5206
|
-
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl:
|
|
5226
|
+
ln(e, Oa, (b) => r(19, n = b));
|
|
5227
|
+
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, { passwordregex: c = "" } = t, f, p = window.navigator.userAgent, m = Ra(p) !== "PC", w = !1;
|
|
5207
5228
|
const v = window.matchMedia("(min-width: 768px)"), T = {
|
|
5208
5229
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5209
5230
|
};
|
|
5210
|
-
let y = !1,
|
|
5231
|
+
let y = !1, A = !1, O = !1, k, D, M, X = !1, te = !1, $ = !1, R = !1, B = "", Z = "", Y = "", ge = !1, ke = "", Q = !1;
|
|
5211
5232
|
const Ze = () => {
|
|
5212
5233
|
fetch(h).then((x) => x.json()).then((x) => {
|
|
5213
5234
|
Object.keys(x).forEach((P) => {
|
|
5214
|
-
|
|
5235
|
+
mr(P, x[P]);
|
|
5215
5236
|
});
|
|
5216
5237
|
}).catch((x) => {
|
|
5217
5238
|
console.log(x);
|
|
5218
5239
|
});
|
|
5219
5240
|
};
|
|
5220
|
-
Object.keys(
|
|
5221
|
-
|
|
5241
|
+
Object.keys(gr).forEach((b) => {
|
|
5242
|
+
mr(b, gr[b]);
|
|
5222
5243
|
});
|
|
5223
5244
|
const re = (b) => {
|
|
5224
5245
|
switch (b) {
|
|
@@ -5229,15 +5250,15 @@ function ei(e, t, r) {
|
|
|
5229
5250
|
r(11, te = !te), r(8, D.type = te ? "text" : "password", D);
|
|
5230
5251
|
break;
|
|
5231
5252
|
case "userConfirmPassword":
|
|
5232
|
-
r(12, $ = !$), r(9,
|
|
5253
|
+
r(12, $ = !$), r(9, M.type = $ ? "text" : "password", M);
|
|
5233
5254
|
break;
|
|
5234
5255
|
}
|
|
5235
5256
|
}, be = () => {
|
|
5236
5257
|
a == "true" && (T.password = /^(?!.* ).{8,20}$/);
|
|
5237
|
-
},
|
|
5238
|
-
P.id === "CurrentPassword" ? r(4, y = !ae(x)) : P.id === "NewPassword" ? (r(5,
|
|
5258
|
+
}, De = (b, x, P) => {
|
|
5259
|
+
P.id === "CurrentPassword" ? r(4, y = !ae(x)) : P.id === "NewPassword" ? (r(5, A = !ae(x)), B && r(13, R = B === Z), Y && r(6, O = Z === Y ? !ae(x) : !0)) : r(6, O = Z === Y ? !ae(x) : !0), de();
|
|
5239
5260
|
}, ae = (b) => !!T.password.test(b), de = () => {
|
|
5240
|
-
!y && !
|
|
5261
|
+
!y && !A && !O && !R && B && Z && Y ? r(3, w = !0) : r(3, w = !1);
|
|
5241
5262
|
}, ne = (b) => {
|
|
5242
5263
|
b.preventDefault(), w && window.postMessage(
|
|
5243
5264
|
{
|
|
@@ -5258,7 +5279,7 @@ function ei(e, t, r) {
|
|
|
5258
5279
|
}, we = () => {
|
|
5259
5280
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5260
5281
|
}, ve = () => {
|
|
5261
|
-
|
|
5282
|
+
La(s);
|
|
5262
5283
|
}, pe = (b) => {
|
|
5263
5284
|
if (b.data)
|
|
5264
5285
|
switch (b.data.type) {
|
|
@@ -5266,18 +5287,18 @@ function ei(e, t, r) {
|
|
|
5266
5287
|
r(2, ge = !0);
|
|
5267
5288
|
break;
|
|
5268
5289
|
case "ShowPasswordChangedError":
|
|
5269
|
-
r(18, Q = b.data.showErrorPasswordChanged), r(17,
|
|
5290
|
+
r(18, Q = b.data.showErrorPasswordChanged), r(17, ke = b.data.errorPasswordChanged);
|
|
5270
5291
|
break;
|
|
5271
5292
|
}
|
|
5272
5293
|
};
|
|
5273
|
-
|
|
5294
|
+
gn(() => (window.addEventListener("message", pe, !1), () => {
|
|
5274
5295
|
window.removeEventListener("message", pe);
|
|
5275
5296
|
}));
|
|
5276
|
-
const
|
|
5297
|
+
const Ue = () => he();
|
|
5277
5298
|
function Qe() {
|
|
5278
5299
|
B = this.value, r(14, B);
|
|
5279
5300
|
}
|
|
5280
|
-
function
|
|
5301
|
+
function oe(b) {
|
|
5281
5302
|
Be[b ? "unshift" : "push"](() => {
|
|
5282
5303
|
k = b, r(7, k);
|
|
5283
5304
|
});
|
|
@@ -5297,7 +5318,7 @@ function ei(e, t, r) {
|
|
|
5297
5318
|
}
|
|
5298
5319
|
function qe(b) {
|
|
5299
5320
|
Be[b ? "unshift" : "push"](() => {
|
|
5300
|
-
|
|
5321
|
+
M = b, r(9, M);
|
|
5301
5322
|
});
|
|
5302
5323
|
}
|
|
5303
5324
|
const ce = () => re("userConfirmPassword"), j = () => re("userConfirmPassword"), Ke = (b) => ne(b), _e = () => he(), K = () => we();
|
|
@@ -5307,16 +5328,16 @@ function ei(e, t, r) {
|
|
|
5307
5328
|
});
|
|
5308
5329
|
}
|
|
5309
5330
|
return e.$$set = (b) => {
|
|
5310
|
-
"lang" in b && r(27, s = b.lang), "simplepasswordvalidation" in b && r(0, a = b.simplepasswordvalidation), "clientstyling" in b && r(28, i = b.clientstyling), "clientstylingurl" in b && r(29,
|
|
5331
|
+
"lang" in b && r(27, s = b.lang), "simplepasswordvalidation" in b && r(0, a = b.simplepasswordvalidation), "clientstyling" in b && r(28, i = b.clientstyling), "clientstylingurl" in b && r(29, l = b.clientstylingurl), "mbsource" in b && r(30, u = b.mbsource), "translationurl" in b && r(31, h = b.translationurl), "passwordregex" in b && r(32, c = b.passwordregex);
|
|
5311
5332
|
}, e.$$.update = () => {
|
|
5312
5333
|
e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5313
5334
|
1 && a && be(), e.$$.dirty[1] & /*passwordregex*/
|
|
5314
5335
|
2 && c && (T.password = new RegExp(c)), e.$$.dirty[0] & /*lang*/
|
|
5315
5336
|
134217728 && s && ve(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5316
5337
|
4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5317
|
-
268435458 && i && f &&
|
|
5318
|
-
536870914 &&
|
|
5319
|
-
1073741826 && u && f &&
|
|
5338
|
+
268435458 && i && f && In(f, i), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5339
|
+
536870914 && l && f && Hn(f, l), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5340
|
+
1073741826 && u && f && Mn(f, `${u}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5320
5341
|
1 && h && Ze();
|
|
5321
5342
|
}, [
|
|
5322
5343
|
a,
|
|
@@ -5324,37 +5345,37 @@ function ei(e, t, r) {
|
|
|
5324
5345
|
ge,
|
|
5325
5346
|
w,
|
|
5326
5347
|
y,
|
|
5327
|
-
|
|
5348
|
+
A,
|
|
5328
5349
|
O,
|
|
5329
5350
|
k,
|
|
5330
5351
|
D,
|
|
5331
|
-
|
|
5352
|
+
M,
|
|
5332
5353
|
X,
|
|
5333
5354
|
te,
|
|
5334
5355
|
$,
|
|
5335
|
-
|
|
5356
|
+
R,
|
|
5336
5357
|
B,
|
|
5337
5358
|
Z,
|
|
5338
5359
|
Y,
|
|
5339
|
-
|
|
5360
|
+
ke,
|
|
5340
5361
|
Q,
|
|
5341
5362
|
n,
|
|
5342
5363
|
m,
|
|
5343
5364
|
v,
|
|
5344
5365
|
re,
|
|
5345
|
-
|
|
5366
|
+
De,
|
|
5346
5367
|
ne,
|
|
5347
5368
|
he,
|
|
5348
5369
|
we,
|
|
5349
5370
|
s,
|
|
5350
5371
|
i,
|
|
5351
|
-
|
|
5372
|
+
l,
|
|
5352
5373
|
u,
|
|
5353
5374
|
h,
|
|
5354
5375
|
c,
|
|
5355
|
-
|
|
5376
|
+
Ue,
|
|
5356
5377
|
Qe,
|
|
5357
|
-
|
|
5378
|
+
oe,
|
|
5358
5379
|
Ye,
|
|
5359
5380
|
ye,
|
|
5360
5381
|
J,
|
|
@@ -5371,14 +5392,14 @@ function ei(e, t, r) {
|
|
|
5371
5392
|
V
|
|
5372
5393
|
];
|
|
5373
5394
|
}
|
|
5374
|
-
class
|
|
5395
|
+
class ni extends Sn {
|
|
5375
5396
|
constructor(t) {
|
|
5376
|
-
super(),
|
|
5397
|
+
super(), Tn(
|
|
5377
5398
|
this,
|
|
5378
5399
|
t,
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5400
|
+
ri,
|
|
5401
|
+
ti,
|
|
5402
|
+
Pr,
|
|
5382
5403
|
{
|
|
5383
5404
|
lang: 27,
|
|
5384
5405
|
simplepasswordvalidation: 0,
|
|
@@ -5388,7 +5409,7 @@ class ti extends Bn {
|
|
|
5388
5409
|
translationurl: 31,
|
|
5389
5410
|
passwordregex: 32
|
|
5390
5411
|
},
|
|
5391
|
-
|
|
5412
|
+
Fa,
|
|
5392
5413
|
[-1, -1]
|
|
5393
5414
|
);
|
|
5394
5415
|
}
|
|
@@ -5396,46 +5417,46 @@ class ti extends Bn {
|
|
|
5396
5417
|
return this.$$.ctx[27];
|
|
5397
5418
|
}
|
|
5398
5419
|
set lang(t) {
|
|
5399
|
-
this.$$set({ lang: t }),
|
|
5420
|
+
this.$$set({ lang: t }), le();
|
|
5400
5421
|
}
|
|
5401
5422
|
get simplepasswordvalidation() {
|
|
5402
5423
|
return this.$$.ctx[0];
|
|
5403
5424
|
}
|
|
5404
5425
|
set simplepasswordvalidation(t) {
|
|
5405
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5426
|
+
this.$$set({ simplepasswordvalidation: t }), le();
|
|
5406
5427
|
}
|
|
5407
5428
|
get clientstyling() {
|
|
5408
5429
|
return this.$$.ctx[28];
|
|
5409
5430
|
}
|
|
5410
5431
|
set clientstyling(t) {
|
|
5411
|
-
this.$$set({ clientstyling: t }),
|
|
5432
|
+
this.$$set({ clientstyling: t }), le();
|
|
5412
5433
|
}
|
|
5413
5434
|
get clientstylingurl() {
|
|
5414
5435
|
return this.$$.ctx[29];
|
|
5415
5436
|
}
|
|
5416
5437
|
set clientstylingurl(t) {
|
|
5417
|
-
this.$$set({ clientstylingurl: t }),
|
|
5438
|
+
this.$$set({ clientstylingurl: t }), le();
|
|
5418
5439
|
}
|
|
5419
5440
|
get mbsource() {
|
|
5420
5441
|
return this.$$.ctx[30];
|
|
5421
5442
|
}
|
|
5422
5443
|
set mbsource(t) {
|
|
5423
|
-
this.$$set({ mbsource: t }),
|
|
5444
|
+
this.$$set({ mbsource: t }), le();
|
|
5424
5445
|
}
|
|
5425
5446
|
get translationurl() {
|
|
5426
5447
|
return this.$$.ctx[31];
|
|
5427
5448
|
}
|
|
5428
5449
|
set translationurl(t) {
|
|
5429
|
-
this.$$set({ translationurl: t }),
|
|
5450
|
+
this.$$set({ translationurl: t }), le();
|
|
5430
5451
|
}
|
|
5431
5452
|
get passwordregex() {
|
|
5432
5453
|
return this.$$.ctx[32];
|
|
5433
5454
|
}
|
|
5434
5455
|
set passwordregex(t) {
|
|
5435
|
-
this.$$set({ passwordregex: t }),
|
|
5456
|
+
this.$$set({ passwordregex: t }), le();
|
|
5436
5457
|
}
|
|
5437
5458
|
}
|
|
5438
|
-
|
|
5459
|
+
Bn(ni, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5439
5460
|
export {
|
|
5440
|
-
|
|
5461
|
+
ni as default
|
|
5441
5462
|
};
|