@everymatrix/player-change-password 1.53.0 → 1.53.10
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-B2kV1ZMC.js → PlayerChangePassword-RqNhHvQx.js} +1075 -1126
- package/esnext/player-change-password.js +14 -0
- package/package.json +8 -9
- package/components/PlayerChangePassword-fhlJrT1U.cjs +0 -7
- package/es2015/player-change-password.cjs +0 -1
- package/es2015/player-change-password.js +0 -16
|
@@ -1,75 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
var nn = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var Gt = Object.getOwnPropertySymbols;
|
|
4
|
-
var sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var pt = (e, t, r) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
sn.call(t, r) && pt(e, r, t[r]);
|
|
8
|
-
if (Gt)
|
|
9
|
-
for (var r of Gt(t))
|
|
10
|
-
an.call(t, r) && pt(e, r, t[r]);
|
|
11
|
-
return e;
|
|
12
|
-
}, Vt = (e, t) => rn(e, nn(t));
|
|
13
|
-
var ee = (e, t, r) => pt(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var zt = (e, t, r) => new Promise((n, s) => {
|
|
15
|
-
var a = (u) => {
|
|
16
|
-
try {
|
|
17
|
-
o(r.next(u));
|
|
18
|
-
} catch (h) {
|
|
19
|
-
s(h);
|
|
20
|
-
}
|
|
21
|
-
}, i = (u) => {
|
|
22
|
-
try {
|
|
23
|
-
o(r.throw(u));
|
|
24
|
-
} catch (h) {
|
|
25
|
-
s(h);
|
|
26
|
-
}
|
|
27
|
-
}, o = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(a, i);
|
|
28
|
-
o((r = r.apply(e, t)).next());
|
|
29
|
-
});
|
|
30
|
-
function re() {
|
|
1
|
+
function te() {
|
|
31
2
|
}
|
|
32
|
-
function
|
|
3
|
+
function cr(e) {
|
|
33
4
|
return e();
|
|
34
5
|
}
|
|
35
|
-
function
|
|
6
|
+
function kt() {
|
|
36
7
|
return /* @__PURE__ */ Object.create(null);
|
|
37
8
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
9
|
+
function Re(e) {
|
|
10
|
+
e.forEach(cr);
|
|
40
11
|
}
|
|
41
|
-
function
|
|
12
|
+
function Se(e) {
|
|
42
13
|
return typeof e == "function";
|
|
43
14
|
}
|
|
44
|
-
function
|
|
15
|
+
function fr(e, t) {
|
|
45
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
17
|
}
|
|
47
|
-
function
|
|
18
|
+
function Wr(e) {
|
|
48
19
|
return Object.keys(e).length === 0;
|
|
49
20
|
}
|
|
50
|
-
function
|
|
21
|
+
function dr(e, ...t) {
|
|
51
22
|
if (e == null) {
|
|
52
23
|
for (const n of t)
|
|
53
24
|
n(void 0);
|
|
54
|
-
return
|
|
25
|
+
return te;
|
|
55
26
|
}
|
|
56
27
|
const r = e.subscribe(...t);
|
|
57
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
29
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function Xr(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(dr(t, r));
|
|
61
32
|
}
|
|
62
33
|
function f(e, t) {
|
|
63
34
|
e.appendChild(t);
|
|
64
35
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
36
|
+
function Zr(e, t, r) {
|
|
37
|
+
const n = Qr(e);
|
|
67
38
|
if (!n.getElementById(t)) {
|
|
68
39
|
const s = _("style");
|
|
69
|
-
s.id = t, s.textContent = r,
|
|
40
|
+
s.id = t, s.textContent = r, Yr(n, s);
|
|
70
41
|
}
|
|
71
42
|
}
|
|
72
|
-
function
|
|
43
|
+
function Qr(e) {
|
|
73
44
|
if (!e) return document;
|
|
74
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
75
46
|
return t && /** @type {ShadowRoot} */
|
|
@@ -78,7 +49,7 @@ function hn(e) {
|
|
|
78
49
|
t
|
|
79
50
|
) : e.ownerDocument;
|
|
80
51
|
}
|
|
81
|
-
function
|
|
52
|
+
function Yr(e, t) {
|
|
82
53
|
return f(
|
|
83
54
|
/** @type {Document} */
|
|
84
55
|
e.head || e,
|
|
@@ -103,29 +74,29 @@ function H(e) {
|
|
|
103
74
|
function L() {
|
|
104
75
|
return H(" ");
|
|
105
76
|
}
|
|
106
|
-
function
|
|
77
|
+
function pr() {
|
|
107
78
|
return H("");
|
|
108
79
|
}
|
|
109
80
|
function z(e, t, r, n) {
|
|
110
81
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
111
82
|
}
|
|
112
|
-
function
|
|
83
|
+
function o(e, t, r) {
|
|
113
84
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
114
85
|
}
|
|
115
|
-
function
|
|
86
|
+
function Jr(e) {
|
|
116
87
|
return Array.from(e.childNodes);
|
|
117
88
|
}
|
|
118
89
|
function D(e, t) {
|
|
119
90
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
120
91
|
t);
|
|
121
92
|
}
|
|
122
|
-
function
|
|
123
|
-
e.value = t
|
|
93
|
+
function xe(e, t) {
|
|
94
|
+
e.value = t ?? "";
|
|
124
95
|
}
|
|
125
|
-
function
|
|
96
|
+
function qr(e, t, r, n) {
|
|
126
97
|
e.style.setProperty(t, r, "");
|
|
127
98
|
}
|
|
128
|
-
function
|
|
99
|
+
function Kr(e) {
|
|
129
100
|
const t = {};
|
|
130
101
|
return e.childNodes.forEach(
|
|
131
102
|
/** @param {Element} node */
|
|
@@ -134,93 +105,93 @@ function pn(e) {
|
|
|
134
105
|
}
|
|
135
106
|
), t;
|
|
136
107
|
}
|
|
137
|
-
let
|
|
138
|
-
function
|
|
139
|
-
|
|
108
|
+
let ze;
|
|
109
|
+
function Ve(e) {
|
|
110
|
+
ze = e;
|
|
140
111
|
}
|
|
141
|
-
function
|
|
142
|
-
if (!
|
|
143
|
-
return
|
|
112
|
+
function en() {
|
|
113
|
+
if (!ze) throw new Error("Function called outside component initialization");
|
|
114
|
+
return ze;
|
|
144
115
|
}
|
|
145
|
-
function
|
|
146
|
-
|
|
116
|
+
function tn(e) {
|
|
117
|
+
en().$$.on_mount.push(e);
|
|
147
118
|
}
|
|
148
|
-
const
|
|
149
|
-
let
|
|
150
|
-
const
|
|
151
|
-
let
|
|
152
|
-
function
|
|
153
|
-
|
|
119
|
+
const Te = [], Be = [];
|
|
120
|
+
let Ae = [];
|
|
121
|
+
const Dt = [], rn = /* @__PURE__ */ Promise.resolve();
|
|
122
|
+
let vt = !1;
|
|
123
|
+
function nn() {
|
|
124
|
+
vt || (vt = !0, rn.then(he));
|
|
154
125
|
}
|
|
155
|
-
function
|
|
156
|
-
|
|
126
|
+
function Pt(e) {
|
|
127
|
+
Ae.push(e);
|
|
157
128
|
}
|
|
158
|
-
const
|
|
159
|
-
let
|
|
160
|
-
function
|
|
161
|
-
if (
|
|
129
|
+
const dt = /* @__PURE__ */ new Set();
|
|
130
|
+
let Ee = 0;
|
|
131
|
+
function he() {
|
|
132
|
+
if (Ee !== 0)
|
|
162
133
|
return;
|
|
163
|
-
const e =
|
|
134
|
+
const e = ze;
|
|
164
135
|
do {
|
|
165
136
|
try {
|
|
166
|
-
for (;
|
|
167
|
-
const t =
|
|
168
|
-
|
|
137
|
+
for (; Ee < Te.length; ) {
|
|
138
|
+
const t = Te[Ee];
|
|
139
|
+
Ee++, Ve(t), sn(t.$$);
|
|
169
140
|
}
|
|
170
141
|
} catch (t) {
|
|
171
|
-
throw
|
|
142
|
+
throw Te.length = 0, Ee = 0, t;
|
|
172
143
|
}
|
|
173
|
-
for (
|
|
174
|
-
for (let t = 0; t <
|
|
175
|
-
const r =
|
|
176
|
-
|
|
144
|
+
for (Ve(null), Te.length = 0, Ee = 0; Be.length; ) Be.pop()();
|
|
145
|
+
for (let t = 0; t < Ae.length; t += 1) {
|
|
146
|
+
const r = Ae[t];
|
|
147
|
+
dt.has(r) || (dt.add(r), r());
|
|
177
148
|
}
|
|
178
|
-
|
|
179
|
-
} while (
|
|
180
|
-
for (;
|
|
181
|
-
|
|
182
|
-
|
|
149
|
+
Ae.length = 0;
|
|
150
|
+
} while (Te.length);
|
|
151
|
+
for (; Dt.length; )
|
|
152
|
+
Dt.pop()();
|
|
153
|
+
vt = !1, dt.clear(), Ve(e);
|
|
183
154
|
}
|
|
184
|
-
function
|
|
155
|
+
function sn(e) {
|
|
185
156
|
if (e.fragment !== null) {
|
|
186
|
-
e.update(),
|
|
157
|
+
e.update(), Re(e.before_update);
|
|
187
158
|
const t = e.dirty;
|
|
188
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
159
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
|
|
189
160
|
}
|
|
190
161
|
}
|
|
191
|
-
function
|
|
162
|
+
function an(e) {
|
|
192
163
|
const t = [], r = [];
|
|
193
|
-
|
|
164
|
+
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
194
165
|
}
|
|
195
|
-
const
|
|
196
|
-
function
|
|
197
|
-
e && e.i && (
|
|
166
|
+
const on = /* @__PURE__ */ new Set();
|
|
167
|
+
function ln(e, t) {
|
|
168
|
+
e && e.i && (on.delete(e), e.i(t));
|
|
198
169
|
}
|
|
199
|
-
function
|
|
170
|
+
function un(e, t, r) {
|
|
200
171
|
const { fragment: n, after_update: s } = e.$$;
|
|
201
|
-
n && n.m(t, r),
|
|
202
|
-
const a = e.$$.on_mount.map(
|
|
203
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...a) :
|
|
204
|
-
}), s.forEach(
|
|
172
|
+
n && n.m(t, r), Pt(() => {
|
|
173
|
+
const a = e.$$.on_mount.map(cr).filter(Se);
|
|
174
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Re(a), e.$$.on_mount = [];
|
|
175
|
+
}), s.forEach(Pt);
|
|
205
176
|
}
|
|
206
|
-
function
|
|
177
|
+
function hn(e, t) {
|
|
207
178
|
const r = e.$$;
|
|
208
|
-
r.fragment !== null && (
|
|
179
|
+
r.fragment !== null && (an(r.after_update), Re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
209
180
|
}
|
|
210
|
-
function
|
|
211
|
-
e.$$.dirty[0] === -1 && (
|
|
181
|
+
function cn(e, t) {
|
|
182
|
+
e.$$.dirty[0] === -1 && (Te.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
212
183
|
}
|
|
213
|
-
function
|
|
214
|
-
const u =
|
|
215
|
-
|
|
184
|
+
function fn(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
185
|
+
const u = ze;
|
|
186
|
+
Ve(e);
|
|
216
187
|
const h = e.$$ = {
|
|
217
188
|
fragment: null,
|
|
218
189
|
ctx: [],
|
|
219
190
|
// state
|
|
220
191
|
props: a,
|
|
221
|
-
update:
|
|
192
|
+
update: te,
|
|
222
193
|
not_equal: s,
|
|
223
|
-
bound:
|
|
194
|
+
bound: kt(),
|
|
224
195
|
// lifecycle
|
|
225
196
|
on_mount: [],
|
|
226
197
|
on_destroy: [],
|
|
@@ -229,150 +200,146 @@ function Tn(e, t, r, n, s, a, i = null, o = [-1]) {
|
|
|
229
200
|
after_update: [],
|
|
230
201
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
231
202
|
// everything else
|
|
232
|
-
callbacks:
|
|
233
|
-
dirty:
|
|
203
|
+
callbacks: kt(),
|
|
204
|
+
dirty: l,
|
|
234
205
|
skip_bound: !1,
|
|
235
206
|
root: t.target || u.$$.root
|
|
236
207
|
};
|
|
237
208
|
i && i(h.root);
|
|
238
209
|
let c = !1;
|
|
239
|
-
if (h.ctx = r
|
|
240
|
-
const
|
|
241
|
-
return h.ctx && s(h.ctx[d], h.ctx[d] =
|
|
242
|
-
})
|
|
210
|
+
if (h.ctx = r(e, t.props || {}, (d, p, ...g) => {
|
|
211
|
+
const y = g.length ? g[0] : p;
|
|
212
|
+
return h.ctx && s(h.ctx[d], h.ctx[d] = y) && (!h.skip_bound && h.bound[d] && h.bound[d](y), c && cn(e, d)), p;
|
|
213
|
+
}), h.update(), c = !0, Re(h.before_update), h.fragment = n(h.ctx), t.target) {
|
|
243
214
|
if (t.hydrate) {
|
|
244
|
-
const d =
|
|
215
|
+
const d = Jr(t.target);
|
|
245
216
|
h.fragment && h.fragment.l(d), d.forEach(A);
|
|
246
217
|
} else
|
|
247
218
|
h.fragment && h.fragment.c();
|
|
248
|
-
t.intro &&
|
|
219
|
+
t.intro && ln(e.$$.fragment), un(e, t.target, t.anchor), he();
|
|
249
220
|
}
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
let
|
|
253
|
-
typeof HTMLElement == "function" && (
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
221
|
+
Ve(u);
|
|
222
|
+
}
|
|
223
|
+
let mr;
|
|
224
|
+
typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
225
|
+
/** The Svelte component constructor */
|
|
226
|
+
$$ctor;
|
|
227
|
+
/** Slots */
|
|
228
|
+
$$s;
|
|
229
|
+
/** The Svelte component instance */
|
|
230
|
+
$$c;
|
|
231
|
+
/** Whether or not the custom element is connected */
|
|
232
|
+
$$cn = !1;
|
|
233
|
+
/** Component props data */
|
|
234
|
+
$$d = {};
|
|
235
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
236
|
+
$$r = !1;
|
|
237
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
238
|
+
$$p_d = {};
|
|
239
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
240
|
+
$$l = {};
|
|
241
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
242
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
243
|
+
constructor(e, t, r) {
|
|
244
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
|
275
245
|
}
|
|
276
|
-
addEventListener(t, r
|
|
277
|
-
if (this.$$l[
|
|
278
|
-
const
|
|
279
|
-
this.$$l_u.set(
|
|
246
|
+
addEventListener(e, t, r) {
|
|
247
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
248
|
+
const n = this.$$c.$on(e, t);
|
|
249
|
+
this.$$l_u.set(t, n);
|
|
280
250
|
}
|
|
281
|
-
super.addEventListener(t, r
|
|
251
|
+
super.addEventListener(e, t, r);
|
|
282
252
|
}
|
|
283
|
-
removeEventListener(t, r
|
|
284
|
-
if (super.removeEventListener(t, r
|
|
285
|
-
const
|
|
286
|
-
|
|
253
|
+
removeEventListener(e, t, r) {
|
|
254
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
255
|
+
const n = this.$$l_u.get(t);
|
|
256
|
+
n && (n(), this.$$l_u.delete(t));
|
|
287
257
|
}
|
|
288
258
|
}
|
|
289
|
-
connectedCallback() {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
309
|
-
};
|
|
259
|
+
async connectedCallback() {
|
|
260
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
261
|
+
let e = function(s) {
|
|
262
|
+
return () => {
|
|
263
|
+
let a;
|
|
264
|
+
return {
|
|
265
|
+
c: function() {
|
|
266
|
+
a = _("slot"), s !== "default" && o(a, "name", s);
|
|
267
|
+
},
|
|
268
|
+
/**
|
|
269
|
+
* @param {HTMLElement} target
|
|
270
|
+
* @param {HTMLElement} [anchor]
|
|
271
|
+
*/
|
|
272
|
+
m: function(u, h) {
|
|
273
|
+
I(u, a, h);
|
|
274
|
+
},
|
|
275
|
+
d: function(u) {
|
|
276
|
+
u && A(a);
|
|
277
|
+
}
|
|
310
278
|
};
|
|
311
279
|
};
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
280
|
+
};
|
|
281
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
282
|
+
return;
|
|
283
|
+
const t = {}, r = Kr(this);
|
|
284
|
+
for (const s of this.$$s)
|
|
285
|
+
s in r && (t[s] = [e(s)]);
|
|
286
|
+
for (const s of this.attributes) {
|
|
287
|
+
const a = this.$$g_p(s.name);
|
|
288
|
+
a in this.$$d || (this.$$d[a] = rt(a, s.value, this.$$p_d, "toProp"));
|
|
289
|
+
}
|
|
290
|
+
for (const s in this.$$p_d)
|
|
291
|
+
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
292
|
+
this.$$c = new this.$$ctor({
|
|
293
|
+
target: this.shadowRoot || this,
|
|
294
|
+
props: {
|
|
295
|
+
...this.$$d,
|
|
296
|
+
$$slots: t,
|
|
297
|
+
$$scope: {
|
|
298
|
+
ctx: []
|
|
299
|
+
}
|
|
320
300
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
this.$$
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
this.$$r = !0;
|
|
334
|
-
for (const a in this.$$p_d)
|
|
335
|
-
if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
|
|
336
|
-
const i = nt(
|
|
337
|
-
a,
|
|
338
|
-
this.$$d[a],
|
|
339
|
-
this.$$p_d,
|
|
340
|
-
"toAttribute"
|
|
341
|
-
);
|
|
342
|
-
i == null ? this.removeAttribute(this.$$p_d[a].attribute || a) : this.setAttribute(this.$$p_d[a].attribute || a, i);
|
|
343
|
-
}
|
|
344
|
-
this.$$r = !1;
|
|
345
|
-
};
|
|
346
|
-
this.$$c.$$.after_update.push(s), s();
|
|
347
|
-
for (const a in this.$$l)
|
|
348
|
-
for (const i of this.$$l[a]) {
|
|
349
|
-
const o = this.$$c.$on(a, i);
|
|
350
|
-
this.$$l_u.set(i, o);
|
|
301
|
+
});
|
|
302
|
+
const n = () => {
|
|
303
|
+
this.$$r = !0;
|
|
304
|
+
for (const s in this.$$p_d)
|
|
305
|
+
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
306
|
+
const a = rt(
|
|
307
|
+
s,
|
|
308
|
+
this.$$d[s],
|
|
309
|
+
this.$$p_d,
|
|
310
|
+
"toAttribute"
|
|
311
|
+
);
|
|
312
|
+
a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
|
|
351
313
|
}
|
|
352
|
-
this.$$
|
|
353
|
-
}
|
|
354
|
-
|
|
314
|
+
this.$$r = !1;
|
|
315
|
+
};
|
|
316
|
+
this.$$c.$$.after_update.push(n), n();
|
|
317
|
+
for (const s in this.$$l)
|
|
318
|
+
for (const a of this.$$l[s]) {
|
|
319
|
+
const i = this.$$c.$on(s, a);
|
|
320
|
+
this.$$l_u.set(a, i);
|
|
321
|
+
}
|
|
322
|
+
this.$$l = {};
|
|
323
|
+
}
|
|
355
324
|
}
|
|
356
325
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
357
326
|
// and setting attributes through setAttribute etc, this is helpful
|
|
358
|
-
attributeChangedCallback(t, r
|
|
359
|
-
|
|
360
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = nt(t, n, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [t]: this.$$d[t] }));
|
|
327
|
+
attributeChangedCallback(e, t, r) {
|
|
328
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = rt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
361
329
|
}
|
|
362
330
|
disconnectedCallback() {
|
|
363
331
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
364
332
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
365
333
|
});
|
|
366
334
|
}
|
|
367
|
-
$$g_p(
|
|
335
|
+
$$g_p(e) {
|
|
368
336
|
return Object.keys(this.$$p_d).find(
|
|
369
|
-
(
|
|
370
|
-
) ||
|
|
337
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
|
338
|
+
) || e;
|
|
371
339
|
}
|
|
372
340
|
});
|
|
373
|
-
function
|
|
374
|
-
|
|
375
|
-
const s = (a = r[e]) == null ? void 0 : a.type;
|
|
341
|
+
function rt(e, t, r, n) {
|
|
342
|
+
const s = r[e]?.type;
|
|
376
343
|
if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
377
344
|
return t;
|
|
378
345
|
if (n === "toAttribute")
|
|
@@ -383,7 +350,7 @@ function nt(e, t, r, n) {
|
|
|
383
350
|
case "Boolean":
|
|
384
351
|
return t ? "" : null;
|
|
385
352
|
case "Number":
|
|
386
|
-
return t
|
|
353
|
+
return t ?? null;
|
|
387
354
|
default:
|
|
388
355
|
return t;
|
|
389
356
|
}
|
|
@@ -400,59 +367,55 @@ function nt(e, t, r, n) {
|
|
|
400
367
|
return t;
|
|
401
368
|
}
|
|
402
369
|
}
|
|
403
|
-
function
|
|
404
|
-
let i = class extends
|
|
370
|
+
function dn(e, t, r, n, s, a) {
|
|
371
|
+
let i = class extends mr {
|
|
405
372
|
constructor() {
|
|
406
373
|
super(e, r, s), this.$$p_d = t;
|
|
407
374
|
}
|
|
408
375
|
static get observedAttributes() {
|
|
409
376
|
return Object.keys(t).map(
|
|
410
|
-
(
|
|
377
|
+
(l) => (t[l].attribute || l).toLowerCase()
|
|
411
378
|
);
|
|
412
379
|
}
|
|
413
380
|
};
|
|
414
|
-
return Object.keys(t).forEach((
|
|
415
|
-
Object.defineProperty(i.prototype,
|
|
381
|
+
return Object.keys(t).forEach((l) => {
|
|
382
|
+
Object.defineProperty(i.prototype, l, {
|
|
416
383
|
get() {
|
|
417
|
-
return this.$$c &&
|
|
384
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
418
385
|
},
|
|
419
386
|
set(u) {
|
|
420
|
-
|
|
421
|
-
u = nt(o, u, t), this.$$d[o] = u, (h = this.$$c) == null || h.$set({ [o]: u });
|
|
387
|
+
u = rt(l, u, t), this.$$d[l] = u, this.$$c?.$set({ [l]: u });
|
|
422
388
|
}
|
|
423
389
|
});
|
|
424
|
-
}), n.forEach((
|
|
425
|
-
Object.defineProperty(i.prototype,
|
|
390
|
+
}), n.forEach((l) => {
|
|
391
|
+
Object.defineProperty(i.prototype, l, {
|
|
426
392
|
get() {
|
|
427
|
-
|
|
428
|
-
return (u = this.$$c) == null ? void 0 : u[o];
|
|
393
|
+
return this.$$c?.[l];
|
|
429
394
|
}
|
|
430
395
|
});
|
|
431
396
|
}), e.element = /** @type {any} */
|
|
432
397
|
i, i;
|
|
433
398
|
}
|
|
434
|
-
class
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
ee(this, "$$set");
|
|
452
|
-
}
|
|
399
|
+
class pn {
|
|
400
|
+
/**
|
|
401
|
+
* ### PRIVATE API
|
|
402
|
+
*
|
|
403
|
+
* Do not use, may change at any time
|
|
404
|
+
*
|
|
405
|
+
* @type {any}
|
|
406
|
+
*/
|
|
407
|
+
$$ = void 0;
|
|
408
|
+
/**
|
|
409
|
+
* ### PRIVATE API
|
|
410
|
+
*
|
|
411
|
+
* Do not use, may change at any time
|
|
412
|
+
*
|
|
413
|
+
* @type {any}
|
|
414
|
+
*/
|
|
415
|
+
$$set = void 0;
|
|
453
416
|
/** @returns {void} */
|
|
454
417
|
$destroy() {
|
|
455
|
-
|
|
418
|
+
hn(this, 1), this.$destroy = te;
|
|
456
419
|
}
|
|
457
420
|
/**
|
|
458
421
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -461,8 +424,8 @@ class Sn {
|
|
|
461
424
|
* @returns {() => void}
|
|
462
425
|
*/
|
|
463
426
|
$on(t, r) {
|
|
464
|
-
if (!
|
|
465
|
-
return
|
|
427
|
+
if (!Se(r))
|
|
428
|
+
return te;
|
|
466
429
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
467
430
|
return n.push(r), () => {
|
|
468
431
|
const s = n.indexOf(r);
|
|
@@ -474,22 +437,22 @@ class Sn {
|
|
|
474
437
|
* @returns {void}
|
|
475
438
|
*/
|
|
476
439
|
$set(t) {
|
|
477
|
-
this.$$set && !
|
|
440
|
+
this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
478
441
|
}
|
|
479
442
|
}
|
|
480
|
-
const
|
|
481
|
-
typeof window
|
|
482
|
-
var
|
|
483
|
-
return
|
|
443
|
+
const mn = "4";
|
|
444
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
|
|
445
|
+
var _t = function(e, t) {
|
|
446
|
+
return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
484
447
|
r.__proto__ = n;
|
|
485
448
|
} || function(r, n) {
|
|
486
449
|
for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
487
|
-
},
|
|
450
|
+
}, _t(e, t);
|
|
488
451
|
};
|
|
489
|
-
function
|
|
452
|
+
function ie(e, t) {
|
|
490
453
|
if (typeof t != "function" && t !== null)
|
|
491
454
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
492
|
-
|
|
455
|
+
_t(e, t);
|
|
493
456
|
function r() {
|
|
494
457
|
this.constructor = e;
|
|
495
458
|
}
|
|
@@ -504,7 +467,7 @@ var S = function() {
|
|
|
504
467
|
return t;
|
|
505
468
|
}, S.apply(this, arguments);
|
|
506
469
|
};
|
|
507
|
-
function
|
|
470
|
+
function gn(e, t) {
|
|
508
471
|
var r = {};
|
|
509
472
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
510
473
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -512,7 +475,7 @@ function In(e, t) {
|
|
|
512
475
|
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
513
476
|
return r;
|
|
514
477
|
}
|
|
515
|
-
function
|
|
478
|
+
function xt(e) {
|
|
516
479
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
517
480
|
if (r) return r.call(e);
|
|
518
481
|
if (e && typeof e.length == "number") return {
|
|
@@ -522,14 +485,14 @@ function Tt(e) {
|
|
|
522
485
|
};
|
|
523
486
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
524
487
|
}
|
|
525
|
-
function
|
|
488
|
+
function Et(e, t) {
|
|
526
489
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
527
490
|
if (!r) return e;
|
|
528
491
|
var n = r.call(e), s, a = [], i;
|
|
529
492
|
try {
|
|
530
493
|
for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; ) a.push(s.value);
|
|
531
|
-
} catch (
|
|
532
|
-
i = { error:
|
|
494
|
+
} catch (l) {
|
|
495
|
+
i = { error: l };
|
|
533
496
|
} finally {
|
|
534
497
|
try {
|
|
535
498
|
s && !s.done && (r = n.return) && r.call(n);
|
|
@@ -539,21 +502,21 @@ function Bt(e, t) {
|
|
|
539
502
|
}
|
|
540
503
|
return a;
|
|
541
504
|
}
|
|
542
|
-
function
|
|
505
|
+
function Ie(e, t, r) {
|
|
543
506
|
if (r || arguments.length === 2) for (var n = 0, s = t.length, a; n < s; n++)
|
|
544
507
|
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
545
508
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
546
509
|
}
|
|
547
|
-
function
|
|
510
|
+
function ae(e) {
|
|
548
511
|
return typeof e == "function";
|
|
549
512
|
}
|
|
550
|
-
function
|
|
513
|
+
function gr(e) {
|
|
551
514
|
var t = function(n) {
|
|
552
515
|
Error.call(n), n.stack = new Error().stack;
|
|
553
516
|
}, r = e(t);
|
|
554
517
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
555
518
|
}
|
|
556
|
-
var
|
|
519
|
+
var pt = gr(function(e) {
|
|
557
520
|
return function(r) {
|
|
558
521
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
559
522
|
` + r.map(function(n, s) {
|
|
@@ -562,13 +525,13 @@ var gt = Er(function(e) {
|
|
|
562
525
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
563
526
|
};
|
|
564
527
|
});
|
|
565
|
-
function
|
|
528
|
+
function Ct(e, t) {
|
|
566
529
|
if (e) {
|
|
567
530
|
var r = e.indexOf(t);
|
|
568
531
|
0 <= r && e.splice(r, 1);
|
|
569
532
|
}
|
|
570
533
|
}
|
|
571
|
-
var
|
|
534
|
+
var lt = function() {
|
|
572
535
|
function e(t) {
|
|
573
536
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
574
537
|
}
|
|
@@ -580,7 +543,7 @@ var ut = function() {
|
|
|
580
543
|
if (i)
|
|
581
544
|
if (this._parentage = null, Array.isArray(i))
|
|
582
545
|
try {
|
|
583
|
-
for (var
|
|
546
|
+
for (var l = xt(i), u = l.next(); !u.done; u = l.next()) {
|
|
584
547
|
var h = u.value;
|
|
585
548
|
h.remove(this);
|
|
586
549
|
}
|
|
@@ -588,7 +551,7 @@ var ut = function() {
|
|
|
588
551
|
t = { error: w };
|
|
589
552
|
} finally {
|
|
590
553
|
try {
|
|
591
|
-
u && !u.done && (r =
|
|
554
|
+
u && !u.done && (r = l.return) && r.call(l);
|
|
592
555
|
} finally {
|
|
593
556
|
if (t) throw t.error;
|
|
594
557
|
}
|
|
@@ -596,22 +559,22 @@ var ut = function() {
|
|
|
596
559
|
else
|
|
597
560
|
i.remove(this);
|
|
598
561
|
var c = this.initialTeardown;
|
|
599
|
-
if (
|
|
562
|
+
if (ae(c))
|
|
600
563
|
try {
|
|
601
564
|
c();
|
|
602
565
|
} catch (w) {
|
|
603
|
-
a = w instanceof
|
|
566
|
+
a = w instanceof pt ? w.errors : [w];
|
|
604
567
|
}
|
|
605
568
|
var d = this._finalizers;
|
|
606
569
|
if (d) {
|
|
607
570
|
this._finalizers = null;
|
|
608
571
|
try {
|
|
609
|
-
for (var p =
|
|
610
|
-
var
|
|
572
|
+
for (var p = xt(d), g = p.next(); !g.done; g = p.next()) {
|
|
573
|
+
var y = g.value;
|
|
611
574
|
try {
|
|
612
|
-
|
|
575
|
+
Ut(y);
|
|
613
576
|
} catch (w) {
|
|
614
|
-
a = a
|
|
577
|
+
a = a ?? [], w instanceof pt ? a = Ie(Ie([], Et(a)), Et(w.errors)) : a.push(w);
|
|
615
578
|
}
|
|
616
579
|
}
|
|
617
580
|
} catch (w) {
|
|
@@ -625,13 +588,13 @@ var ut = function() {
|
|
|
625
588
|
}
|
|
626
589
|
}
|
|
627
590
|
if (a)
|
|
628
|
-
throw new
|
|
591
|
+
throw new pt(a);
|
|
629
592
|
}
|
|
630
593
|
}, e.prototype.add = function(t) {
|
|
631
594
|
var r;
|
|
632
595
|
if (t && t !== this)
|
|
633
596
|
if (this.closed)
|
|
634
|
-
|
|
597
|
+
Ut(t);
|
|
635
598
|
else {
|
|
636
599
|
if (t instanceof e) {
|
|
637
600
|
if (t.closed || t._hasParent(this))
|
|
@@ -648,56 +611,56 @@ var ut = function() {
|
|
|
648
611
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
649
612
|
}, e.prototype._removeParent = function(t) {
|
|
650
613
|
var r = this._parentage;
|
|
651
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
614
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ct(r, t);
|
|
652
615
|
}, e.prototype.remove = function(t) {
|
|
653
616
|
var r = this._finalizers;
|
|
654
|
-
r &&
|
|
617
|
+
r && Ct(r, t), t instanceof e && t._removeParent(this);
|
|
655
618
|
}, e.EMPTY = function() {
|
|
656
619
|
var t = new e();
|
|
657
620
|
return t.closed = !0, t;
|
|
658
621
|
}(), e;
|
|
659
|
-
}(),
|
|
660
|
-
function
|
|
661
|
-
return e instanceof
|
|
622
|
+
}(), br = lt.EMPTY;
|
|
623
|
+
function wr(e) {
|
|
624
|
+
return e instanceof lt || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
|
|
662
625
|
}
|
|
663
|
-
function
|
|
664
|
-
|
|
626
|
+
function Ut(e) {
|
|
627
|
+
ae(e) ? e() : e.unsubscribe();
|
|
665
628
|
}
|
|
666
|
-
var
|
|
629
|
+
var bn = {
|
|
667
630
|
onUnhandledError: null,
|
|
668
631
|
onStoppedNotification: null,
|
|
669
632
|
Promise: void 0,
|
|
670
633
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
671
634
|
useDeprecatedNextContext: !1
|
|
672
|
-
},
|
|
635
|
+
}, wn = {
|
|
673
636
|
setTimeout: function(e, t) {
|
|
674
637
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
675
638
|
r[n - 2] = arguments[n];
|
|
676
|
-
return setTimeout.apply(void 0,
|
|
639
|
+
return setTimeout.apply(void 0, Ie([e, t], Et(r)));
|
|
677
640
|
},
|
|
678
641
|
clearTimeout: function(e) {
|
|
679
642
|
return clearTimeout(e);
|
|
680
643
|
},
|
|
681
644
|
delegate: void 0
|
|
682
645
|
};
|
|
683
|
-
function
|
|
684
|
-
|
|
646
|
+
function yn(e) {
|
|
647
|
+
wn.setTimeout(function() {
|
|
685
648
|
throw e;
|
|
686
649
|
});
|
|
687
650
|
}
|
|
688
|
-
function
|
|
651
|
+
function $t() {
|
|
689
652
|
}
|
|
690
|
-
function
|
|
653
|
+
function nt(e) {
|
|
691
654
|
e();
|
|
692
655
|
}
|
|
693
|
-
var
|
|
694
|
-
|
|
656
|
+
var yr = function(e) {
|
|
657
|
+
ie(t, e);
|
|
695
658
|
function t(r) {
|
|
696
659
|
var n = e.call(this) || this;
|
|
697
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
660
|
+
return n.isStopped = !1, r ? (n.destination = r, wr(r) && r.add(n)) : n.destination = _n, n;
|
|
698
661
|
}
|
|
699
662
|
return t.create = function(r, n, s) {
|
|
700
|
-
return new
|
|
663
|
+
return new Tt(r, n, s);
|
|
701
664
|
}, t.prototype.next = function(r) {
|
|
702
665
|
this.isStopped || this._next(r);
|
|
703
666
|
}, t.prototype.error = function(r) {
|
|
@@ -721,11 +684,7 @@ var Sr = function(e) {
|
|
|
721
684
|
this.unsubscribe();
|
|
722
685
|
}
|
|
723
686
|
}, t;
|
|
724
|
-
}(
|
|
725
|
-
function bt(e, t) {
|
|
726
|
-
return Nn.call(e, t);
|
|
727
|
-
}
|
|
728
|
-
var Rn = function() {
|
|
687
|
+
}(lt), vn = function() {
|
|
729
688
|
function e(t) {
|
|
730
689
|
this.partialObserver = t;
|
|
731
690
|
}
|
|
@@ -735,7 +694,7 @@ var Rn = function() {
|
|
|
735
694
|
try {
|
|
736
695
|
r.next(t);
|
|
737
696
|
} catch (n) {
|
|
738
|
-
|
|
697
|
+
et(n);
|
|
739
698
|
}
|
|
740
699
|
}, e.prototype.error = function(t) {
|
|
741
700
|
var r = this.partialObserver;
|
|
@@ -743,68 +702,56 @@ var Rn = function() {
|
|
|
743
702
|
try {
|
|
744
703
|
r.error(t);
|
|
745
704
|
} catch (n) {
|
|
746
|
-
|
|
705
|
+
et(n);
|
|
747
706
|
}
|
|
748
707
|
else
|
|
749
|
-
|
|
708
|
+
et(t);
|
|
750
709
|
}, e.prototype.complete = function() {
|
|
751
710
|
var t = this.partialObserver;
|
|
752
711
|
if (t.complete)
|
|
753
712
|
try {
|
|
754
713
|
t.complete();
|
|
755
714
|
} catch (r) {
|
|
756
|
-
|
|
715
|
+
et(r);
|
|
757
716
|
}
|
|
758
717
|
}, e;
|
|
759
|
-
}(),
|
|
760
|
-
|
|
718
|
+
}(), Tt = function(e) {
|
|
719
|
+
ie(t, e);
|
|
761
720
|
function t(r, n, s) {
|
|
762
721
|
var a = e.call(this) || this, i;
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
};
|
|
769
|
-
else {
|
|
770
|
-
var o;
|
|
771
|
-
a && Br.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
|
|
772
|
-
return a.unsubscribe();
|
|
773
|
-
}, i = {
|
|
774
|
-
next: r.next && bt(r.next, o),
|
|
775
|
-
error: r.error && bt(r.error, o),
|
|
776
|
-
complete: r.complete && bt(r.complete, o)
|
|
777
|
-
}) : i = r;
|
|
778
|
-
}
|
|
779
|
-
return a.destination = new Rn(i), a;
|
|
722
|
+
return ae(r) || !r ? i = {
|
|
723
|
+
next: r ?? void 0,
|
|
724
|
+
error: n ?? void 0,
|
|
725
|
+
complete: s ?? void 0
|
|
726
|
+
} : i = r, a.destination = new vn(i), a;
|
|
780
727
|
}
|
|
781
728
|
return t;
|
|
782
|
-
}(
|
|
783
|
-
function
|
|
784
|
-
|
|
729
|
+
}(yr);
|
|
730
|
+
function et(e) {
|
|
731
|
+
yn(e);
|
|
785
732
|
}
|
|
786
|
-
function
|
|
733
|
+
function Pn(e) {
|
|
787
734
|
throw e;
|
|
788
735
|
}
|
|
789
|
-
var
|
|
736
|
+
var _n = {
|
|
790
737
|
closed: !0,
|
|
791
|
-
next:
|
|
792
|
-
error:
|
|
793
|
-
complete:
|
|
794
|
-
},
|
|
738
|
+
next: $t,
|
|
739
|
+
error: Pn,
|
|
740
|
+
complete: $t
|
|
741
|
+
}, xn = function() {
|
|
795
742
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
796
743
|
}();
|
|
797
|
-
function
|
|
744
|
+
function En(e) {
|
|
798
745
|
return e;
|
|
799
746
|
}
|
|
800
|
-
function
|
|
801
|
-
return e.length === 0 ?
|
|
747
|
+
function Cn(e) {
|
|
748
|
+
return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
|
|
802
749
|
return e.reduce(function(n, s) {
|
|
803
750
|
return s(n);
|
|
804
751
|
}, r);
|
|
805
752
|
};
|
|
806
753
|
}
|
|
807
|
-
var
|
|
754
|
+
var Gt = function() {
|
|
808
755
|
function e(t) {
|
|
809
756
|
t && (this._subscribe = t);
|
|
810
757
|
}
|
|
@@ -812,10 +759,10 @@ var Yt = function() {
|
|
|
812
759
|
var r = new e();
|
|
813
760
|
return r.source = this, r.operator = t, r;
|
|
814
761
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
815
|
-
var s = this, a =
|
|
816
|
-
return
|
|
817
|
-
var i = s,
|
|
818
|
-
a.add(
|
|
762
|
+
var s = this, a = Bn(t) ? t : new Tt(t, r, n);
|
|
763
|
+
return nt(function() {
|
|
764
|
+
var i = s, l = i.operator, u = i.source;
|
|
765
|
+
a.add(l ? l.call(a, u) : u ? s._subscribe(a) : s._trySubscribe(a));
|
|
819
766
|
}), a;
|
|
820
767
|
}, e.prototype._trySubscribe = function(t) {
|
|
821
768
|
try {
|
|
@@ -825,11 +772,11 @@ var Yt = function() {
|
|
|
825
772
|
}
|
|
826
773
|
}, e.prototype.forEach = function(t, r) {
|
|
827
774
|
var n = this;
|
|
828
|
-
return r =
|
|
829
|
-
var i = new
|
|
830
|
-
next: function(
|
|
775
|
+
return r = jt(r), new r(function(s, a) {
|
|
776
|
+
var i = new Tt({
|
|
777
|
+
next: function(l) {
|
|
831
778
|
try {
|
|
832
|
-
t(
|
|
779
|
+
t(l);
|
|
833
780
|
} catch (u) {
|
|
834
781
|
a(u), i.unsubscribe();
|
|
835
782
|
}
|
|
@@ -842,15 +789,15 @@ var Yt = function() {
|
|
|
842
789
|
}, e.prototype._subscribe = function(t) {
|
|
843
790
|
var r;
|
|
844
791
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
845
|
-
}, e.prototype[
|
|
792
|
+
}, e.prototype[xn] = function() {
|
|
846
793
|
return this;
|
|
847
794
|
}, e.prototype.pipe = function() {
|
|
848
795
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
849
796
|
t[r] = arguments[r];
|
|
850
|
-
return
|
|
797
|
+
return Cn(t)(this);
|
|
851
798
|
}, e.prototype.toPromise = function(t) {
|
|
852
799
|
var r = this;
|
|
853
|
-
return t =
|
|
800
|
+
return t = jt(t), new t(function(n, s) {
|
|
854
801
|
var a;
|
|
855
802
|
r.subscribe(function(i) {
|
|
856
803
|
return a = i;
|
|
@@ -864,48 +811,48 @@ var Yt = function() {
|
|
|
864
811
|
return new e(t);
|
|
865
812
|
}, e;
|
|
866
813
|
}();
|
|
867
|
-
function
|
|
814
|
+
function jt(e) {
|
|
868
815
|
var t;
|
|
869
|
-
return (t = e
|
|
816
|
+
return (t = e ?? bn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
870
817
|
}
|
|
871
|
-
function
|
|
872
|
-
return e &&
|
|
818
|
+
function Tn(e) {
|
|
819
|
+
return e && ae(e.next) && ae(e.error) && ae(e.complete);
|
|
873
820
|
}
|
|
874
|
-
function
|
|
875
|
-
return e && e instanceof
|
|
821
|
+
function Bn(e) {
|
|
822
|
+
return e && e instanceof yr || Tn(e) && wr(e);
|
|
876
823
|
}
|
|
877
|
-
var
|
|
824
|
+
var Sn = gr(function(e) {
|
|
878
825
|
return function() {
|
|
879
826
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
880
827
|
};
|
|
881
|
-
}),
|
|
882
|
-
|
|
828
|
+
}), vr = function(e) {
|
|
829
|
+
ie(t, e);
|
|
883
830
|
function t() {
|
|
884
831
|
var r = e.call(this) || this;
|
|
885
832
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
886
833
|
}
|
|
887
834
|
return t.prototype.lift = function(r) {
|
|
888
|
-
var n = new
|
|
835
|
+
var n = new Vt(this, this);
|
|
889
836
|
return n.operator = r, n;
|
|
890
837
|
}, t.prototype._throwIfClosed = function() {
|
|
891
838
|
if (this.closed)
|
|
892
|
-
throw new
|
|
839
|
+
throw new Sn();
|
|
893
840
|
}, t.prototype.next = function(r) {
|
|
894
841
|
var n = this;
|
|
895
|
-
|
|
842
|
+
nt(function() {
|
|
896
843
|
var s, a;
|
|
897
844
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
898
845
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
899
846
|
try {
|
|
900
|
-
for (var i =
|
|
901
|
-
var u =
|
|
847
|
+
for (var i = xt(n.currentObservers), l = i.next(); !l.done; l = i.next()) {
|
|
848
|
+
var u = l.value;
|
|
902
849
|
u.next(r);
|
|
903
850
|
}
|
|
904
851
|
} catch (h) {
|
|
905
852
|
s = { error: h };
|
|
906
853
|
} finally {
|
|
907
854
|
try {
|
|
908
|
-
|
|
855
|
+
l && !l.done && (a = i.return) && a.call(i);
|
|
909
856
|
} finally {
|
|
910
857
|
if (s) throw s.error;
|
|
911
858
|
}
|
|
@@ -914,7 +861,7 @@ var Gn = Er(function(e) {
|
|
|
914
861
|
});
|
|
915
862
|
}, t.prototype.error = function(r) {
|
|
916
863
|
var n = this;
|
|
917
|
-
|
|
864
|
+
nt(function() {
|
|
918
865
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
919
866
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
920
867
|
for (var s = n.observers; s.length; )
|
|
@@ -923,7 +870,7 @@ var Gn = Er(function(e) {
|
|
|
923
870
|
});
|
|
924
871
|
}, t.prototype.complete = function() {
|
|
925
872
|
var r = this;
|
|
926
|
-
|
|
873
|
+
nt(function() {
|
|
927
874
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
928
875
|
r.isStopped = !0;
|
|
929
876
|
for (var n = r.observers; n.length; )
|
|
@@ -944,21 +891,21 @@ var Gn = Er(function(e) {
|
|
|
944
891
|
}, t.prototype._subscribe = function(r) {
|
|
945
892
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
946
893
|
}, t.prototype._innerSubscribe = function(r) {
|
|
947
|
-
var n = this, s = this, a = s.hasError, i = s.isStopped,
|
|
948
|
-
return a || i ?
|
|
949
|
-
n.currentObservers = null,
|
|
894
|
+
var n = this, s = this, a = s.hasError, i = s.isStopped, l = s.observers;
|
|
895
|
+
return a || i ? br : (this.currentObservers = null, l.push(r), new lt(function() {
|
|
896
|
+
n.currentObservers = null, Ct(l, r);
|
|
950
897
|
}));
|
|
951
898
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
952
899
|
var n = this, s = n.hasError, a = n.thrownError, i = n.isStopped;
|
|
953
900
|
s ? r.error(a) : i && r.complete();
|
|
954
901
|
}, t.prototype.asObservable = function() {
|
|
955
|
-
var r = new
|
|
902
|
+
var r = new Gt();
|
|
956
903
|
return r.source = this, r;
|
|
957
904
|
}, t.create = function(r, n) {
|
|
958
|
-
return new
|
|
905
|
+
return new Vt(r, n);
|
|
959
906
|
}, t;
|
|
960
|
-
}(
|
|
961
|
-
|
|
907
|
+
}(Gt), Vt = function(e) {
|
|
908
|
+
ie(t, e);
|
|
962
909
|
function t(r, n) {
|
|
963
910
|
var s = e.call(this) || this;
|
|
964
911
|
return s.destination = r, s.source = n, s;
|
|
@@ -974,93 +921,93 @@ var Gn = Er(function(e) {
|
|
|
974
921
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
975
922
|
}, t.prototype._subscribe = function(r) {
|
|
976
923
|
var n, s;
|
|
977
|
-
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s :
|
|
924
|
+
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : br;
|
|
978
925
|
}, t;
|
|
979
|
-
}(
|
|
926
|
+
}(vr), Pr = {
|
|
980
927
|
now: function() {
|
|
981
|
-
return (
|
|
928
|
+
return (Pr.delegate || Date).now();
|
|
982
929
|
},
|
|
983
930
|
delegate: void 0
|
|
984
|
-
},
|
|
985
|
-
|
|
931
|
+
}, An = function(e) {
|
|
932
|
+
ie(t, e);
|
|
986
933
|
function t(r, n, s) {
|
|
987
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s =
|
|
934
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = Pr);
|
|
988
935
|
var a = e.call(this) || this;
|
|
989
936
|
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;
|
|
990
937
|
}
|
|
991
938
|
return t.prototype.next = function(r) {
|
|
992
|
-
var n = this, s = n.isStopped, a = n._buffer, i = n._infiniteTimeWindow,
|
|
993
|
-
s || (a.push(r), !i && a.push(
|
|
939
|
+
var n = this, s = n.isStopped, a = n._buffer, i = n._infiniteTimeWindow, l = n._timestampProvider, u = n._windowTime;
|
|
940
|
+
s || (a.push(r), !i && a.push(l.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
994
941
|
}, t.prototype._subscribe = function(r) {
|
|
995
942
|
this._throwIfClosed(), this._trimBuffer();
|
|
996
|
-
for (var n = this._innerSubscribe(r), s = this, a = s._infiniteTimeWindow, i = s._buffer,
|
|
997
|
-
r.next(
|
|
943
|
+
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)
|
|
944
|
+
r.next(l[u]);
|
|
998
945
|
return this._checkFinalizedStatuses(r), n;
|
|
999
946
|
}, t.prototype._trimBuffer = function() {
|
|
1000
|
-
var r = this, n = r._bufferSize, s = r._timestampProvider, a = r._buffer, i = r._infiniteTimeWindow,
|
|
1001
|
-
if (n < 1 / 0 &&
|
|
947
|
+
var r = this, n = r._bufferSize, s = r._timestampProvider, a = r._buffer, i = r._infiniteTimeWindow, l = (i ? 1 : 2) * n;
|
|
948
|
+
if (n < 1 / 0 && l < a.length && a.splice(0, a.length - l), !i) {
|
|
1002
949
|
for (var u = s.now(), h = 0, c = 1; c < a.length && a[c] <= u; c += 2)
|
|
1003
950
|
h = c;
|
|
1004
951
|
h && a.splice(0, h + 1);
|
|
1005
952
|
}
|
|
1006
953
|
}, t;
|
|
1007
|
-
}(
|
|
1008
|
-
const
|
|
1009
|
-
if (
|
|
1010
|
-
const r = new
|
|
1011
|
-
|
|
954
|
+
}(vr);
|
|
955
|
+
const zt = [], Wt = {}, In = (e, t = 0) => {
|
|
956
|
+
if (zt.indexOf(e) == -1) {
|
|
957
|
+
const r = new An(t);
|
|
958
|
+
Wt[e] = r, zt.push(e);
|
|
1012
959
|
}
|
|
1013
|
-
return
|
|
1014
|
-
},
|
|
1015
|
-
function
|
|
960
|
+
return Wt[e];
|
|
961
|
+
}, Ce = [];
|
|
962
|
+
function Hn(e, t) {
|
|
1016
963
|
return {
|
|
1017
|
-
subscribe:
|
|
964
|
+
subscribe: ut(e, t).subscribe
|
|
1018
965
|
};
|
|
1019
966
|
}
|
|
1020
|
-
function
|
|
967
|
+
function ut(e, t = te) {
|
|
1021
968
|
let r;
|
|
1022
969
|
const n = /* @__PURE__ */ new Set();
|
|
1023
|
-
function s(
|
|
1024
|
-
if (
|
|
1025
|
-
const u = !
|
|
970
|
+
function s(l) {
|
|
971
|
+
if (fr(e, l) && (e = l, r)) {
|
|
972
|
+
const u = !Ce.length;
|
|
1026
973
|
for (const h of n)
|
|
1027
|
-
h[1](),
|
|
974
|
+
h[1](), Ce.push(h, e);
|
|
1028
975
|
if (u) {
|
|
1029
|
-
for (let h = 0; h <
|
|
1030
|
-
|
|
1031
|
-
|
|
976
|
+
for (let h = 0; h < Ce.length; h += 2)
|
|
977
|
+
Ce[h][0](Ce[h + 1]);
|
|
978
|
+
Ce.length = 0;
|
|
1032
979
|
}
|
|
1033
980
|
}
|
|
1034
981
|
}
|
|
1035
|
-
function a(
|
|
1036
|
-
s(
|
|
982
|
+
function a(l) {
|
|
983
|
+
s(l(e));
|
|
1037
984
|
}
|
|
1038
|
-
function i(
|
|
1039
|
-
const h = [
|
|
1040
|
-
return n.add(h), n.size === 1 && (r = t(s, a) ||
|
|
985
|
+
function i(l, u = te) {
|
|
986
|
+
const h = [l, u];
|
|
987
|
+
return n.add(h), n.size === 1 && (r = t(s, a) || te), l(e), () => {
|
|
1041
988
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1042
989
|
};
|
|
1043
990
|
}
|
|
1044
991
|
return { set: s, update: a, subscribe: i };
|
|
1045
992
|
}
|
|
1046
|
-
function
|
|
993
|
+
function Le(e, t, r) {
|
|
1047
994
|
const n = !Array.isArray(e), s = n ? [e] : e;
|
|
1048
995
|
if (!s.every(Boolean))
|
|
1049
996
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1050
997
|
const a = t.length < 2;
|
|
1051
|
-
return
|
|
998
|
+
return Hn(r, (i, l) => {
|
|
1052
999
|
let u = !1;
|
|
1053
1000
|
const h = [];
|
|
1054
|
-
let c = 0, d =
|
|
1001
|
+
let c = 0, d = te;
|
|
1055
1002
|
const p = () => {
|
|
1056
1003
|
if (c)
|
|
1057
1004
|
return;
|
|
1058
1005
|
d();
|
|
1059
|
-
const
|
|
1060
|
-
a ? i(
|
|
1006
|
+
const y = t(n ? h[0] : h, i, l);
|
|
1007
|
+
a ? i(y) : d = Se(y) ? y : te;
|
|
1061
1008
|
}, g = s.map(
|
|
1062
|
-
(
|
|
1063
|
-
|
|
1009
|
+
(y, w) => dr(
|
|
1010
|
+
y,
|
|
1064
1011
|
(T) => {
|
|
1065
1012
|
h[w] = T, c &= ~(1 << w), u && p();
|
|
1066
1013
|
},
|
|
@@ -1070,183 +1017,185 @@ function Fe(e, t, r) {
|
|
|
1070
1017
|
)
|
|
1071
1018
|
);
|
|
1072
1019
|
return u = !0, p(), function() {
|
|
1073
|
-
|
|
1020
|
+
Re(g), d(), u = !1;
|
|
1074
1021
|
};
|
|
1075
1022
|
});
|
|
1076
1023
|
}
|
|
1077
|
-
function
|
|
1078
|
-
return e
|
|
1024
|
+
function Mn(e) {
|
|
1025
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1079
1026
|
}
|
|
1080
|
-
var
|
|
1081
|
-
return
|
|
1027
|
+
var Nn = function(t) {
|
|
1028
|
+
return On(t) && !Rn(t);
|
|
1082
1029
|
};
|
|
1083
|
-
function
|
|
1030
|
+
function On(e) {
|
|
1084
1031
|
return !!e && typeof e == "object";
|
|
1085
1032
|
}
|
|
1086
|
-
function
|
|
1033
|
+
function Rn(e) {
|
|
1087
1034
|
var t = Object.prototype.toString.call(e);
|
|
1088
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1035
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1089
1036
|
}
|
|
1090
|
-
var
|
|
1091
|
-
function
|
|
1092
|
-
return e.$$typeof ===
|
|
1037
|
+
var Ln = typeof Symbol == "function" && Symbol.for, Fn = Ln ? Symbol.for("react.element") : 60103;
|
|
1038
|
+
function kn(e) {
|
|
1039
|
+
return e.$$typeof === Fn;
|
|
1093
1040
|
}
|
|
1094
|
-
function
|
|
1041
|
+
function Dn(e) {
|
|
1095
1042
|
return Array.isArray(e) ? [] : {};
|
|
1096
1043
|
}
|
|
1097
|
-
function
|
|
1098
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1044
|
+
function We(e, t) {
|
|
1045
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? He(Dn(e), e, t) : e;
|
|
1099
1046
|
}
|
|
1100
|
-
function
|
|
1047
|
+
function Un(e, t, r) {
|
|
1101
1048
|
return e.concat(t).map(function(n) {
|
|
1102
|
-
return
|
|
1049
|
+
return We(n, r);
|
|
1103
1050
|
});
|
|
1104
1051
|
}
|
|
1105
|
-
function
|
|
1052
|
+
function $n(e, t) {
|
|
1106
1053
|
if (!t.customMerge)
|
|
1107
|
-
return
|
|
1054
|
+
return He;
|
|
1108
1055
|
var r = t.customMerge(e);
|
|
1109
|
-
return typeof r == "function" ? r :
|
|
1056
|
+
return typeof r == "function" ? r : He;
|
|
1110
1057
|
}
|
|
1111
|
-
function
|
|
1058
|
+
function Gn(e) {
|
|
1112
1059
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1113
1060
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1114
1061
|
}) : [];
|
|
1115
1062
|
}
|
|
1116
|
-
function
|
|
1117
|
-
return Object.keys(e).concat(
|
|
1063
|
+
function Xt(e) {
|
|
1064
|
+
return Object.keys(e).concat(Gn(e));
|
|
1118
1065
|
}
|
|
1119
|
-
function
|
|
1066
|
+
function _r(e, t) {
|
|
1120
1067
|
try {
|
|
1121
1068
|
return t in e;
|
|
1122
|
-
} catch
|
|
1069
|
+
} catch {
|
|
1123
1070
|
return !1;
|
|
1124
1071
|
}
|
|
1125
1072
|
}
|
|
1126
|
-
function
|
|
1127
|
-
return
|
|
1073
|
+
function jn(e, t) {
|
|
1074
|
+
return _r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1128
1075
|
}
|
|
1129
|
-
function
|
|
1076
|
+
function Vn(e, t, r) {
|
|
1130
1077
|
var n = {};
|
|
1131
|
-
return r.isMergeableObject(e) &&
|
|
1132
|
-
n[s] =
|
|
1133
|
-
}),
|
|
1134
|
-
|
|
1078
|
+
return r.isMergeableObject(e) && Xt(e).forEach(function(s) {
|
|
1079
|
+
n[s] = We(e[s], r);
|
|
1080
|
+
}), Xt(t).forEach(function(s) {
|
|
1081
|
+
jn(e, s) || (_r(e, s) && r.isMergeableObject(t[s]) ? n[s] = $n(s, r)(e[s], t[s], r) : n[s] = We(t[s], r));
|
|
1135
1082
|
}), n;
|
|
1136
1083
|
}
|
|
1137
|
-
function
|
|
1138
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1084
|
+
function He(e, t, r) {
|
|
1085
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Un, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = We;
|
|
1139
1086
|
var n = Array.isArray(t), s = Array.isArray(e), a = n === s;
|
|
1140
|
-
return a ? n ? r.arrayMerge(e, t, r) :
|
|
1087
|
+
return a ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : We(t, r);
|
|
1141
1088
|
}
|
|
1142
|
-
|
|
1089
|
+
He.all = function(t, r) {
|
|
1143
1090
|
if (!Array.isArray(t))
|
|
1144
1091
|
throw new Error("first argument should be an array");
|
|
1145
1092
|
return t.reduce(function(n, s) {
|
|
1146
|
-
return
|
|
1093
|
+
return He(n, s, r);
|
|
1147
1094
|
}, {});
|
|
1148
1095
|
};
|
|
1149
|
-
var
|
|
1150
|
-
const
|
|
1151
|
-
function
|
|
1152
|
-
var r = t && t.cache ? t.cache :
|
|
1096
|
+
var zn = He, Wn = zn;
|
|
1097
|
+
const Xn = /* @__PURE__ */ Mn(Wn);
|
|
1098
|
+
function mt(e, t) {
|
|
1099
|
+
var r = t && t.cache ? t.cache : es, n = t && t.serializer ? t.serializer : qn, s = t && t.strategy ? t.strategy : Qn;
|
|
1153
1100
|
return s(e, {
|
|
1154
1101
|
cache: r,
|
|
1155
1102
|
serializer: n
|
|
1156
1103
|
});
|
|
1157
1104
|
}
|
|
1158
|
-
function
|
|
1105
|
+
function Zn(e) {
|
|
1159
1106
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1160
1107
|
}
|
|
1161
|
-
function
|
|
1162
|
-
var s =
|
|
1163
|
-
return typeof a
|
|
1108
|
+
function xr(e, t, r, n) {
|
|
1109
|
+
var s = Zn(n) ? n : r(n), a = t.get(s);
|
|
1110
|
+
return typeof a > "u" && (a = e.call(this, n), t.set(s, a)), a;
|
|
1164
1111
|
}
|
|
1165
|
-
function
|
|
1112
|
+
function Er(e, t, r) {
|
|
1166
1113
|
var n = Array.prototype.slice.call(arguments, 3), s = r(n), a = t.get(s);
|
|
1167
|
-
return typeof a
|
|
1114
|
+
return typeof a > "u" && (a = e.apply(this, n), t.set(s, a)), a;
|
|
1168
1115
|
}
|
|
1169
|
-
function
|
|
1116
|
+
function Rt(e, t, r, n, s) {
|
|
1170
1117
|
return r.bind(t, e, n, s);
|
|
1171
1118
|
}
|
|
1172
|
-
function
|
|
1173
|
-
var r = e.length === 1 ?
|
|
1174
|
-
return
|
|
1119
|
+
function Qn(e, t) {
|
|
1120
|
+
var r = e.length === 1 ? xr : Er;
|
|
1121
|
+
return Rt(e, this, r, t.cache.create(), t.serializer);
|
|
1175
1122
|
}
|
|
1176
|
-
function
|
|
1177
|
-
return
|
|
1123
|
+
function Yn(e, t) {
|
|
1124
|
+
return Rt(e, this, Er, t.cache.create(), t.serializer);
|
|
1178
1125
|
}
|
|
1179
|
-
function
|
|
1180
|
-
return
|
|
1126
|
+
function Jn(e, t) {
|
|
1127
|
+
return Rt(e, this, xr, t.cache.create(), t.serializer);
|
|
1181
1128
|
}
|
|
1182
|
-
var
|
|
1129
|
+
var qn = function() {
|
|
1183
1130
|
return JSON.stringify(arguments);
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1131
|
+
}, Kn = (
|
|
1132
|
+
/** @class */
|
|
1133
|
+
function() {
|
|
1134
|
+
function e() {
|
|
1135
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1136
|
+
}
|
|
1137
|
+
return e.prototype.get = function(t) {
|
|
1138
|
+
return this.cache[t];
|
|
1139
|
+
}, e.prototype.set = function(t, r) {
|
|
1140
|
+
this.cache[t] = r;
|
|
1141
|
+
}, e;
|
|
1142
|
+
}()
|
|
1143
|
+
), es = {
|
|
1195
1144
|
create: function() {
|
|
1196
|
-
return new
|
|
1145
|
+
return new Kn();
|
|
1197
1146
|
}
|
|
1198
|
-
},
|
|
1199
|
-
variadic:
|
|
1200
|
-
monadic:
|
|
1147
|
+
}, gt = {
|
|
1148
|
+
variadic: Yn,
|
|
1149
|
+
monadic: Jn
|
|
1201
1150
|
}, x;
|
|
1202
1151
|
(function(e) {
|
|
1203
1152
|
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";
|
|
1204
1153
|
})(x || (x = {}));
|
|
1205
|
-
var
|
|
1154
|
+
var R;
|
|
1206
1155
|
(function(e) {
|
|
1207
1156
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1208
|
-
})(
|
|
1209
|
-
var
|
|
1157
|
+
})(R || (R = {}));
|
|
1158
|
+
var Me;
|
|
1210
1159
|
(function(e) {
|
|
1211
1160
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1212
|
-
})(
|
|
1213
|
-
function
|
|
1214
|
-
return e.type ===
|
|
1161
|
+
})(Me || (Me = {}));
|
|
1162
|
+
function Zt(e) {
|
|
1163
|
+
return e.type === R.literal;
|
|
1215
1164
|
}
|
|
1216
|
-
function
|
|
1217
|
-
return e.type ===
|
|
1165
|
+
function ts(e) {
|
|
1166
|
+
return e.type === R.argument;
|
|
1218
1167
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return e.type ===
|
|
1168
|
+
function Cr(e) {
|
|
1169
|
+
return e.type === R.number;
|
|
1221
1170
|
}
|
|
1222
|
-
function
|
|
1223
|
-
return e.type ===
|
|
1171
|
+
function Tr(e) {
|
|
1172
|
+
return e.type === R.date;
|
|
1224
1173
|
}
|
|
1225
|
-
function
|
|
1226
|
-
return e.type ===
|
|
1174
|
+
function Br(e) {
|
|
1175
|
+
return e.type === R.time;
|
|
1227
1176
|
}
|
|
1228
|
-
function
|
|
1229
|
-
return e.type ===
|
|
1177
|
+
function Sr(e) {
|
|
1178
|
+
return e.type === R.select;
|
|
1230
1179
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return e.type ===
|
|
1180
|
+
function Ar(e) {
|
|
1181
|
+
return e.type === R.plural;
|
|
1233
1182
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return e.type ===
|
|
1183
|
+
function rs(e) {
|
|
1184
|
+
return e.type === R.pound;
|
|
1236
1185
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return e.type ===
|
|
1186
|
+
function Ir(e) {
|
|
1187
|
+
return e.type === R.tag;
|
|
1239
1188
|
}
|
|
1240
|
-
function
|
|
1241
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1189
|
+
function Hr(e) {
|
|
1190
|
+
return !!(e && typeof e == "object" && e.type === Me.number);
|
|
1242
1191
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1192
|
+
function Bt(e) {
|
|
1193
|
+
return !!(e && typeof e == "object" && e.type === Me.dateTime);
|
|
1245
1194
|
}
|
|
1246
|
-
var
|
|
1247
|
-
function
|
|
1195
|
+
var Mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ns = /(?:[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;
|
|
1196
|
+
function ss(e) {
|
|
1248
1197
|
var t = {};
|
|
1249
|
-
return e.replace(
|
|
1198
|
+
return e.replace(ns, function(r) {
|
|
1250
1199
|
var n = r.length;
|
|
1251
1200
|
switch (r[0]) {
|
|
1252
1201
|
case "G":
|
|
@@ -1335,36 +1284,36 @@ function bs(e) {
|
|
|
1335
1284
|
return "";
|
|
1336
1285
|
}), t;
|
|
1337
1286
|
}
|
|
1338
|
-
var
|
|
1339
|
-
function
|
|
1287
|
+
var as = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1288
|
+
function is(e) {
|
|
1340
1289
|
if (e.length === 0)
|
|
1341
1290
|
throw new Error("Number skeleton cannot be empty");
|
|
1342
|
-
for (var t = e.split(
|
|
1291
|
+
for (var t = e.split(as).filter(function(p) {
|
|
1343
1292
|
return p.length > 0;
|
|
1344
1293
|
}), r = [], n = 0, s = t; n < s.length; n++) {
|
|
1345
1294
|
var a = s[n], i = a.split("/");
|
|
1346
1295
|
if (i.length === 0)
|
|
1347
1296
|
throw new Error("Invalid number skeleton");
|
|
1348
|
-
for (var
|
|
1297
|
+
for (var l = i[0], u = i.slice(1), h = 0, c = u; h < c.length; h++) {
|
|
1349
1298
|
var d = c[h];
|
|
1350
1299
|
if (d.length === 0)
|
|
1351
1300
|
throw new Error("Invalid number skeleton");
|
|
1352
1301
|
}
|
|
1353
|
-
r.push({ stem:
|
|
1302
|
+
r.push({ stem: l, options: u });
|
|
1354
1303
|
}
|
|
1355
1304
|
return r;
|
|
1356
1305
|
}
|
|
1357
|
-
function
|
|
1306
|
+
function os(e) {
|
|
1358
1307
|
return e.replace(/^(.*?)-/, "");
|
|
1359
1308
|
}
|
|
1360
|
-
var
|
|
1361
|
-
function
|
|
1309
|
+
var Qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nr = /^(@+)?(\+|#+)?[rs]?$/g, ls = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
|
|
1310
|
+
function Yt(e) {
|
|
1362
1311
|
var t = {};
|
|
1363
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1312
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nr, function(r, n, s) {
|
|
1364
1313
|
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)), "";
|
|
1365
1314
|
}), t;
|
|
1366
1315
|
}
|
|
1367
|
-
function
|
|
1316
|
+
function Rr(e) {
|
|
1368
1317
|
switch (e) {
|
|
1369
1318
|
case "sign-auto":
|
|
1370
1319
|
return {
|
|
@@ -1404,7 +1353,7 @@ function Vr(e) {
|
|
|
1404
1353
|
};
|
|
1405
1354
|
}
|
|
1406
1355
|
}
|
|
1407
|
-
function
|
|
1356
|
+
function us(e) {
|
|
1408
1357
|
var t;
|
|
1409
1358
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1410
1359
|
notation: "engineering"
|
|
@@ -1412,17 +1361,17 @@ function _s(e) {
|
|
|
1412
1361
|
notation: "scientific"
|
|
1413
1362
|
}, e = e.slice(1)), t) {
|
|
1414
1363
|
var r = e.slice(0, 2);
|
|
1415
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1364
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
|
|
1416
1365
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1417
1366
|
t.minimumIntegerDigits = e.length;
|
|
1418
1367
|
}
|
|
1419
1368
|
return t;
|
|
1420
1369
|
}
|
|
1421
|
-
function
|
|
1422
|
-
var t = {}, r =
|
|
1370
|
+
function Jt(e) {
|
|
1371
|
+
var t = {}, r = Rr(e);
|
|
1423
1372
|
return r || t;
|
|
1424
1373
|
}
|
|
1425
|
-
function
|
|
1374
|
+
function hs(e) {
|
|
1426
1375
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1427
1376
|
var s = n[r];
|
|
1428
1377
|
switch (s.stem) {
|
|
@@ -1446,7 +1395,7 @@ function xs(e) {
|
|
|
1446
1395
|
continue;
|
|
1447
1396
|
case "measure-unit":
|
|
1448
1397
|
case "unit":
|
|
1449
|
-
t.style = "unit", t.unit =
|
|
1398
|
+
t.style = "unit", t.unit = os(s.options[0]);
|
|
1450
1399
|
continue;
|
|
1451
1400
|
case "compact-short":
|
|
1452
1401
|
case "K":
|
|
@@ -1458,12 +1407,12 @@ function xs(e) {
|
|
|
1458
1407
|
continue;
|
|
1459
1408
|
case "scientific":
|
|
1460
1409
|
t = S(S(S({}, t), { notation: "scientific" }), s.options.reduce(function(u, h) {
|
|
1461
|
-
return S(S({}, u),
|
|
1410
|
+
return S(S({}, u), Jt(h));
|
|
1462
1411
|
}, {}));
|
|
1463
1412
|
continue;
|
|
1464
1413
|
case "engineering":
|
|
1465
1414
|
t = S(S(S({}, t), { notation: "engineering" }), s.options.reduce(function(u, h) {
|
|
1466
|
-
return S(S({}, u),
|
|
1415
|
+
return S(S({}, u), Jt(h));
|
|
1467
1416
|
}, {}));
|
|
1468
1417
|
continue;
|
|
1469
1418
|
case "notation-simple":
|
|
@@ -1508,7 +1457,7 @@ function xs(e) {
|
|
|
1508
1457
|
case "integer-width":
|
|
1509
1458
|
if (s.options.length > 1)
|
|
1510
1459
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1511
|
-
s.options[0].replace(
|
|
1460
|
+
s.options[0].replace(ls, function(u, h, c, d, p, g) {
|
|
1512
1461
|
if (h)
|
|
1513
1462
|
t.minimumIntegerDigits = c.length;
|
|
1514
1463
|
else {
|
|
@@ -1521,32 +1470,32 @@ function xs(e) {
|
|
|
1521
1470
|
});
|
|
1522
1471
|
continue;
|
|
1523
1472
|
}
|
|
1524
|
-
if (
|
|
1473
|
+
if (Or.test(s.stem)) {
|
|
1525
1474
|
t.minimumIntegerDigits = s.stem.length;
|
|
1526
1475
|
continue;
|
|
1527
1476
|
}
|
|
1528
|
-
if (
|
|
1477
|
+
if (Qt.test(s.stem)) {
|
|
1529
1478
|
if (s.options.length > 1)
|
|
1530
1479
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1531
|
-
s.stem.replace(
|
|
1480
|
+
s.stem.replace(Qt, function(u, h, c, d, p, g) {
|
|
1532
1481
|
return c === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && g ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + g.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1533
1482
|
});
|
|
1534
1483
|
var a = s.options[0];
|
|
1535
|
-
a === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = S(S({}, t),
|
|
1484
|
+
a === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = S(S({}, t), Yt(a)));
|
|
1536
1485
|
continue;
|
|
1537
1486
|
}
|
|
1538
|
-
if (
|
|
1539
|
-
t = S(S({}, t),
|
|
1487
|
+
if (Nr.test(s.stem)) {
|
|
1488
|
+
t = S(S({}, t), Yt(s.stem));
|
|
1540
1489
|
continue;
|
|
1541
1490
|
}
|
|
1542
|
-
var i =
|
|
1491
|
+
var i = Rr(s.stem);
|
|
1543
1492
|
i && (t = S(S({}, t), i));
|
|
1544
|
-
var
|
|
1545
|
-
|
|
1493
|
+
var l = us(s.stem);
|
|
1494
|
+
l && (t = S(S({}, t), l));
|
|
1546
1495
|
}
|
|
1547
1496
|
return t;
|
|
1548
1497
|
}
|
|
1549
|
-
var
|
|
1498
|
+
var tt = {
|
|
1550
1499
|
"001": [
|
|
1551
1500
|
"H",
|
|
1552
1501
|
"h"
|
|
@@ -2961,14 +2910,14 @@ var rt = {
|
|
|
2961
2910
|
"h"
|
|
2962
2911
|
]
|
|
2963
2912
|
};
|
|
2964
|
-
function
|
|
2913
|
+
function cs(e, t) {
|
|
2965
2914
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2966
2915
|
var s = e.charAt(n);
|
|
2967
2916
|
if (s === "j") {
|
|
2968
2917
|
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === s; )
|
|
2969
2918
|
a++, n++;
|
|
2970
|
-
var i = 1 + (a & 1),
|
|
2971
|
-
for ((h == "H" || h == "k") && (
|
|
2919
|
+
var i = 1 + (a & 1), l = a < 2 ? 1 : 3 + (a >> 1), u = "a", h = fs(t);
|
|
2920
|
+
for ((h == "H" || h == "k") && (l = 0); l-- > 0; )
|
|
2972
2921
|
r += u;
|
|
2973
2922
|
for (; i-- > 0; )
|
|
2974
2923
|
r = h + r;
|
|
@@ -2976,7 +2925,7 @@ function Es(e, t) {
|
|
|
2976
2925
|
}
|
|
2977
2926
|
return r;
|
|
2978
2927
|
}
|
|
2979
|
-
function
|
|
2928
|
+
function fs(e) {
|
|
2980
2929
|
var t = e.hourCycle;
|
|
2981
2930
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2982
2931
|
e.hourCycles && // @ts-ignore
|
|
@@ -2995,23 +2944,23 @@ function Cs(e) {
|
|
|
2995
2944
|
}
|
|
2996
2945
|
var r = e.language, n;
|
|
2997
2946
|
r !== "root" && (n = e.maximize().region);
|
|
2998
|
-
var s =
|
|
2947
|
+
var s = tt[n || ""] || tt[r || ""] || tt["".concat(r, "-001")] || tt["001"];
|
|
2999
2948
|
return s[0];
|
|
3000
2949
|
}
|
|
3001
|
-
var
|
|
2950
|
+
var bt, ds = new RegExp("^".concat(Mr.source, "*")), ps = new RegExp("".concat(Mr.source, "*$"));
|
|
3002
2951
|
function C(e, t) {
|
|
3003
2952
|
return { start: e, end: t };
|
|
3004
2953
|
}
|
|
3005
|
-
var
|
|
2954
|
+
var ms = !!String.prototype.startsWith && "_a".startsWith("a", 1), gs = !!String.fromCodePoint, bs = !!Object.fromEntries, ws = !!String.prototype.codePointAt, ys = !!String.prototype.trimStart, vs = !!String.prototype.trimEnd, Ps = !!Number.isSafeInteger, _s = Ps ? Number.isSafeInteger : function(e) {
|
|
3006
2955
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3007
|
-
},
|
|
2956
|
+
}, St = !0;
|
|
3008
2957
|
try {
|
|
3009
|
-
var
|
|
3010
|
-
|
|
3011
|
-
} catch
|
|
3012
|
-
|
|
2958
|
+
var xs = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2959
|
+
St = ((bt = xs.exec("a")) === null || bt === void 0 ? void 0 : bt[0]) === "a";
|
|
2960
|
+
} catch {
|
|
2961
|
+
St = !1;
|
|
3013
2962
|
}
|
|
3014
|
-
var
|
|
2963
|
+
var qt = ms ? (
|
|
3015
2964
|
// Native
|
|
3016
2965
|
function(t, r, n) {
|
|
3017
2966
|
return t.startsWith(r, n);
|
|
@@ -3021,7 +2970,7 @@ var ir = Ss ? (
|
|
|
3021
2970
|
function(t, r, n) {
|
|
3022
2971
|
return t.slice(n, n + r.length) === r;
|
|
3023
2972
|
}
|
|
3024
|
-
),
|
|
2973
|
+
), At = gs ? String.fromCodePoint : (
|
|
3025
2974
|
// IE11
|
|
3026
2975
|
function() {
|
|
3027
2976
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3033,19 +2982,19 @@ var ir = Ss ? (
|
|
|
3033
2982
|
}
|
|
3034
2983
|
return n;
|
|
3035
2984
|
}
|
|
3036
|
-
),
|
|
2985
|
+
), Kt = (
|
|
3037
2986
|
// native
|
|
3038
|
-
|
|
2987
|
+
bs ? Object.fromEntries : (
|
|
3039
2988
|
// Ponyfill
|
|
3040
2989
|
function(t) {
|
|
3041
2990
|
for (var r = {}, n = 0, s = t; n < s.length; n++) {
|
|
3042
|
-
var a = s[n], i = a[0],
|
|
3043
|
-
r[i] =
|
|
2991
|
+
var a = s[n], i = a[0], l = a[1];
|
|
2992
|
+
r[i] = l;
|
|
3044
2993
|
}
|
|
3045
2994
|
return r;
|
|
3046
2995
|
}
|
|
3047
2996
|
)
|
|
3048
|
-
),
|
|
2997
|
+
), Lr = ws ? (
|
|
3049
2998
|
// Native
|
|
3050
2999
|
function(t, r) {
|
|
3051
3000
|
return t.codePointAt(r);
|
|
@@ -3059,7 +3008,7 @@ var ir = Ss ? (
|
|
|
3059
3008
|
return s < 55296 || s > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? s : (s - 55296 << 10) + (a - 56320) + 65536;
|
|
3060
3009
|
}
|
|
3061
3010
|
}
|
|
3062
|
-
),
|
|
3011
|
+
), Es = ys ? (
|
|
3063
3012
|
// Native
|
|
3064
3013
|
function(t) {
|
|
3065
3014
|
return t.trimStart();
|
|
@@ -3067,9 +3016,9 @@ var ir = Ss ? (
|
|
|
3067
3016
|
) : (
|
|
3068
3017
|
// Ponyfill
|
|
3069
3018
|
function(t) {
|
|
3070
|
-
return t.replace(
|
|
3019
|
+
return t.replace(ds, "");
|
|
3071
3020
|
}
|
|
3072
|
-
),
|
|
3021
|
+
), Cs = vs ? (
|
|
3073
3022
|
// Native
|
|
3074
3023
|
function(t) {
|
|
3075
3024
|
return t.trimEnd();
|
|
@@ -3077,32 +3026,32 @@ var ir = Ss ? (
|
|
|
3077
3026
|
) : (
|
|
3078
3027
|
// Ponyfill
|
|
3079
3028
|
function(t) {
|
|
3080
|
-
return t.replace(
|
|
3029
|
+
return t.replace(ps, "");
|
|
3081
3030
|
}
|
|
3082
3031
|
);
|
|
3083
|
-
function
|
|
3032
|
+
function Fr(e, t) {
|
|
3084
3033
|
return new RegExp(e, t);
|
|
3085
3034
|
}
|
|
3086
|
-
var
|
|
3087
|
-
if (
|
|
3088
|
-
var
|
|
3089
|
-
|
|
3035
|
+
var It;
|
|
3036
|
+
if (St) {
|
|
3037
|
+
var er = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3038
|
+
It = function(t, r) {
|
|
3090
3039
|
var n;
|
|
3091
|
-
|
|
3092
|
-
var s =
|
|
3040
|
+
er.lastIndex = r;
|
|
3041
|
+
var s = er.exec(t);
|
|
3093
3042
|
return (n = s[1]) !== null && n !== void 0 ? n : "";
|
|
3094
3043
|
};
|
|
3095
3044
|
} else
|
|
3096
|
-
|
|
3045
|
+
It = function(t, r) {
|
|
3097
3046
|
for (var n = []; ; ) {
|
|
3098
|
-
var s =
|
|
3099
|
-
if (s === void 0 ||
|
|
3047
|
+
var s = Lr(t, r);
|
|
3048
|
+
if (s === void 0 || kr(s) || As(s))
|
|
3100
3049
|
break;
|
|
3101
3050
|
n.push(s), r += s >= 65536 ? 2 : 1;
|
|
3102
3051
|
}
|
|
3103
|
-
return
|
|
3052
|
+
return At.apply(void 0, n);
|
|
3104
3053
|
};
|
|
3105
|
-
var
|
|
3054
|
+
var Ts = (
|
|
3106
3055
|
/** @class */
|
|
3107
3056
|
function() {
|
|
3108
3057
|
function e(t, r) {
|
|
@@ -3124,16 +3073,16 @@ var Ds = (
|
|
|
3124
3073
|
if (a === 125 && t > 0)
|
|
3125
3074
|
break;
|
|
3126
3075
|
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3127
|
-
var
|
|
3076
|
+
var l = this.clonePosition();
|
|
3128
3077
|
this.bump(), s.push({
|
|
3129
|
-
type:
|
|
3130
|
-
location: C(
|
|
3078
|
+
type: R.pound,
|
|
3079
|
+
location: C(l, this.clonePosition())
|
|
3131
3080
|
});
|
|
3132
3081
|
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3133
3082
|
if (n)
|
|
3134
3083
|
break;
|
|
3135
3084
|
return this.error(x.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
|
|
3136
|
-
} else if (a === 60 && !this.ignoreTag &&
|
|
3085
|
+
} else if (a === 60 && !this.ignoreTag && Ht(this.peek() || 0)) {
|
|
3137
3086
|
var i = this.parseTag(t, r);
|
|
3138
3087
|
if (i.err)
|
|
3139
3088
|
return i;
|
|
@@ -3154,7 +3103,7 @@ var Ds = (
|
|
|
3154
3103
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3155
3104
|
return {
|
|
3156
3105
|
val: {
|
|
3157
|
-
type:
|
|
3106
|
+
type: R.literal,
|
|
3158
3107
|
value: "<".concat(s, "/>"),
|
|
3159
3108
|
location: C(n, this.clonePosition())
|
|
3160
3109
|
},
|
|
@@ -3164,27 +3113,27 @@ var Ds = (
|
|
|
3164
3113
|
var a = this.parseMessage(t + 1, r, !0);
|
|
3165
3114
|
if (a.err)
|
|
3166
3115
|
return a;
|
|
3167
|
-
var i = a.val,
|
|
3116
|
+
var i = a.val, l = this.clonePosition();
|
|
3168
3117
|
if (this.bumpIf("</")) {
|
|
3169
|
-
if (this.isEOF() || !
|
|
3170
|
-
return this.error(x.INVALID_TAG, C(
|
|
3118
|
+
if (this.isEOF() || !Ht(this.char()))
|
|
3119
|
+
return this.error(x.INVALID_TAG, C(l, this.clonePosition()));
|
|
3171
3120
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3172
3121
|
return s !== h ? this.error(x.UNMATCHED_CLOSING_TAG, C(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3173
3122
|
val: {
|
|
3174
|
-
type:
|
|
3123
|
+
type: R.tag,
|
|
3175
3124
|
value: s,
|
|
3176
3125
|
children: i,
|
|
3177
3126
|
location: C(n, this.clonePosition())
|
|
3178
3127
|
},
|
|
3179
3128
|
err: null
|
|
3180
|
-
} : this.error(x.INVALID_TAG, C(
|
|
3129
|
+
} : this.error(x.INVALID_TAG, C(l, this.clonePosition())));
|
|
3181
3130
|
} else
|
|
3182
3131
|
return this.error(x.UNCLOSED_TAG, C(n, this.clonePosition()));
|
|
3183
3132
|
} else
|
|
3184
3133
|
return this.error(x.INVALID_TAG, C(n, this.clonePosition()));
|
|
3185
3134
|
}, e.prototype.parseTagName = function() {
|
|
3186
3135
|
var t = this.offset();
|
|
3187
|
-
for (this.bump(); !this.isEOF() &&
|
|
3136
|
+
for (this.bump(); !this.isEOF() && Ss(this.char()); )
|
|
3188
3137
|
this.bump();
|
|
3189
3138
|
return this.message.slice(t, this.offset());
|
|
3190
3139
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3199,21 +3148,21 @@ var Ds = (
|
|
|
3199
3148
|
s += i;
|
|
3200
3149
|
continue;
|
|
3201
3150
|
}
|
|
3202
|
-
var
|
|
3203
|
-
if (
|
|
3204
|
-
s +=
|
|
3151
|
+
var l = this.tryParseLeftAngleBracket();
|
|
3152
|
+
if (l) {
|
|
3153
|
+
s += l;
|
|
3205
3154
|
continue;
|
|
3206
3155
|
}
|
|
3207
3156
|
break;
|
|
3208
3157
|
}
|
|
3209
3158
|
var u = C(n, this.clonePosition());
|
|
3210
3159
|
return {
|
|
3211
|
-
val: { type:
|
|
3160
|
+
val: { type: R.literal, value: s, location: u },
|
|
3212
3161
|
err: null
|
|
3213
3162
|
};
|
|
3214
3163
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3215
3164
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3216
|
-
!
|
|
3165
|
+
!Bs(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3217
3166
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3218
3167
|
if (this.isEOF() || this.char() !== 39)
|
|
3219
3168
|
return null;
|
|
@@ -3247,12 +3196,12 @@ var Ds = (
|
|
|
3247
3196
|
r.push(n);
|
|
3248
3197
|
this.bump();
|
|
3249
3198
|
}
|
|
3250
|
-
return
|
|
3199
|
+
return At.apply(void 0, r);
|
|
3251
3200
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3252
3201
|
if (this.isEOF())
|
|
3253
3202
|
return null;
|
|
3254
3203
|
var n = this.char();
|
|
3255
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3204
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), At(n));
|
|
3256
3205
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3257
3206
|
var n = this.clonePosition();
|
|
3258
3207
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3268,7 +3217,7 @@ var Ds = (
|
|
|
3268
3217
|
case 125:
|
|
3269
3218
|
return this.bump(), {
|
|
3270
3219
|
val: {
|
|
3271
|
-
type:
|
|
3220
|
+
type: R.argument,
|
|
3272
3221
|
// value does not include the opening and closing braces.
|
|
3273
3222
|
value: s,
|
|
3274
3223
|
location: C(n, this.clonePosition())
|
|
@@ -3281,13 +3230,13 @@ var Ds = (
|
|
|
3281
3230
|
return this.error(x.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3282
3231
|
}
|
|
3283
3232
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3284
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3233
|
+
var t = this.clonePosition(), r = this.offset(), n = It(this.message, r), s = r + n.length;
|
|
3285
3234
|
this.bumpTo(s);
|
|
3286
3235
|
var a = this.clonePosition(), i = C(t, a);
|
|
3287
3236
|
return { value: n, location: i };
|
|
3288
3237
|
}, e.prototype.parseArgumentOptions = function(t, r, n, s) {
|
|
3289
|
-
var a, i = this.clonePosition(),
|
|
3290
|
-
switch (
|
|
3238
|
+
var a, i = this.clonePosition(), l = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3239
|
+
switch (l) {
|
|
3291
3240
|
case "":
|
|
3292
3241
|
return this.error(x.EXPECT_ARGUMENT_TYPE, C(i, u));
|
|
3293
3242
|
case "number":
|
|
@@ -3300,35 +3249,35 @@ var Ds = (
|
|
|
3300
3249
|
var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3301
3250
|
if (d.err)
|
|
3302
3251
|
return d;
|
|
3303
|
-
var p =
|
|
3252
|
+
var p = Cs(d.val);
|
|
3304
3253
|
if (p.length === 0)
|
|
3305
3254
|
return this.error(x.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
3306
3255
|
var g = C(c, this.clonePosition());
|
|
3307
3256
|
h = { style: p, styleLocation: g };
|
|
3308
3257
|
}
|
|
3309
|
-
var
|
|
3310
|
-
if (
|
|
3311
|
-
return
|
|
3258
|
+
var y = this.tryParseArgumentClose(s);
|
|
3259
|
+
if (y.err)
|
|
3260
|
+
return y;
|
|
3312
3261
|
var w = C(s, this.clonePosition());
|
|
3313
|
-
if (h &&
|
|
3314
|
-
var T =
|
|
3315
|
-
if (
|
|
3262
|
+
if (h && qt(h?.style, "::", 0)) {
|
|
3263
|
+
var T = Es(h.style.slice(2));
|
|
3264
|
+
if (l === "number") {
|
|
3316
3265
|
var d = this.parseNumberSkeletonFromString(T, h.styleLocation);
|
|
3317
3266
|
return d.err ? d : {
|
|
3318
|
-
val: { type:
|
|
3267
|
+
val: { type: R.number, value: n, location: w, style: d.val },
|
|
3319
3268
|
err: null
|
|
3320
3269
|
};
|
|
3321
3270
|
} else {
|
|
3322
3271
|
if (T.length === 0)
|
|
3323
3272
|
return this.error(x.EXPECT_DATE_TIME_SKELETON, w);
|
|
3324
3273
|
var P = T;
|
|
3325
|
-
this.locale && (P =
|
|
3274
|
+
this.locale && (P = cs(T, this.locale));
|
|
3326
3275
|
var p = {
|
|
3327
|
-
type:
|
|
3276
|
+
type: Me.dateTime,
|
|
3328
3277
|
pattern: P,
|
|
3329
3278
|
location: h.styleLocation,
|
|
3330
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3331
|
-
}, B =
|
|
3279
|
+
parsedOptions: this.shouldParseSkeletons ? ss(P) : {}
|
|
3280
|
+
}, B = l === "date" ? R.date : R.time;
|
|
3332
3281
|
return {
|
|
3333
3282
|
val: { type: B, value: n, location: w, style: p },
|
|
3334
3283
|
err: null
|
|
@@ -3337,10 +3286,10 @@ var Ds = (
|
|
|
3337
3286
|
}
|
|
3338
3287
|
return {
|
|
3339
3288
|
val: {
|
|
3340
|
-
type:
|
|
3289
|
+
type: l === "number" ? R.number : l === "date" ? R.date : R.time,
|
|
3341
3290
|
value: n,
|
|
3342
3291
|
location: w,
|
|
3343
|
-
style: (a = h
|
|
3292
|
+
style: (a = h?.style) !== null && a !== void 0 ? a : null
|
|
3344
3293
|
},
|
|
3345
3294
|
err: null
|
|
3346
3295
|
};
|
|
@@ -3348,12 +3297,12 @@ var Ds = (
|
|
|
3348
3297
|
case "plural":
|
|
3349
3298
|
case "selectordinal":
|
|
3350
3299
|
case "select": {
|
|
3351
|
-
var
|
|
3300
|
+
var O = this.clonePosition();
|
|
3352
3301
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3353
|
-
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, C(
|
|
3302
|
+
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, C(O, S({}, O)));
|
|
3354
3303
|
this.bumpSpace();
|
|
3355
3304
|
var F = this.parseIdentifierIfPossible(), k = 0;
|
|
3356
|
-
if (
|
|
3305
|
+
if (l !== "select" && F.value === "offset") {
|
|
3357
3306
|
if (!this.bumpIf(":"))
|
|
3358
3307
|
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
|
|
3359
3308
|
this.bumpSpace();
|
|
@@ -3362,28 +3311,28 @@ var Ds = (
|
|
|
3362
3311
|
return d;
|
|
3363
3312
|
this.bumpSpace(), F = this.parseIdentifierIfPossible(), k = d.val;
|
|
3364
3313
|
}
|
|
3365
|
-
var N = this.tryParsePluralOrSelectOptions(t,
|
|
3314
|
+
var N = this.tryParsePluralOrSelectOptions(t, l, r, F);
|
|
3366
3315
|
if (N.err)
|
|
3367
3316
|
return N;
|
|
3368
|
-
var
|
|
3369
|
-
if (
|
|
3370
|
-
return
|
|
3317
|
+
var y = this.tryParseArgumentClose(s);
|
|
3318
|
+
if (y.err)
|
|
3319
|
+
return y;
|
|
3371
3320
|
var X = C(s, this.clonePosition());
|
|
3372
|
-
return
|
|
3321
|
+
return l === "select" ? {
|
|
3373
3322
|
val: {
|
|
3374
|
-
type:
|
|
3323
|
+
type: R.select,
|
|
3375
3324
|
value: n,
|
|
3376
|
-
options:
|
|
3325
|
+
options: Kt(N.val),
|
|
3377
3326
|
location: X
|
|
3378
3327
|
},
|
|
3379
3328
|
err: null
|
|
3380
3329
|
} : {
|
|
3381
3330
|
val: {
|
|
3382
|
-
type:
|
|
3331
|
+
type: R.plural,
|
|
3383
3332
|
value: n,
|
|
3384
|
-
options:
|
|
3333
|
+
options: Kt(N.val),
|
|
3385
3334
|
offset: k,
|
|
3386
|
-
pluralType:
|
|
3335
|
+
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3387
3336
|
location: X
|
|
3388
3337
|
},
|
|
3389
3338
|
err: null
|
|
@@ -3432,21 +3381,21 @@ var Ds = (
|
|
|
3432
3381
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3433
3382
|
var n = [];
|
|
3434
3383
|
try {
|
|
3435
|
-
n =
|
|
3436
|
-
} catch
|
|
3384
|
+
n = is(t);
|
|
3385
|
+
} catch {
|
|
3437
3386
|
return this.error(x.INVALID_NUMBER_SKELETON, r);
|
|
3438
3387
|
}
|
|
3439
3388
|
return {
|
|
3440
3389
|
val: {
|
|
3441
|
-
type:
|
|
3390
|
+
type: Me.number,
|
|
3442
3391
|
tokens: n,
|
|
3443
3392
|
location: r,
|
|
3444
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3393
|
+
parsedOptions: this.shouldParseSkeletons ? hs(n) : {}
|
|
3445
3394
|
},
|
|
3446
3395
|
err: null
|
|
3447
3396
|
};
|
|
3448
3397
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, s) {
|
|
3449
|
-
for (var a, i = !1,
|
|
3398
|
+
for (var a, i = !1, l = [], u = /* @__PURE__ */ new Set(), h = s.value, c = s.location; ; ) {
|
|
3450
3399
|
if (h.length === 0) {
|
|
3451
3400
|
var d = this.clonePosition();
|
|
3452
3401
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3463,33 +3412,33 @@ var Ds = (
|
|
|
3463
3412
|
var g = this.clonePosition();
|
|
3464
3413
|
if (!this.bumpIf("{"))
|
|
3465
3414
|
return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, C(this.clonePosition(), this.clonePosition()));
|
|
3466
|
-
var
|
|
3467
|
-
if (
|
|
3468
|
-
return
|
|
3415
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3416
|
+
if (y.err)
|
|
3417
|
+
return y;
|
|
3469
3418
|
var w = this.tryParseArgumentClose(g);
|
|
3470
3419
|
if (w.err)
|
|
3471
3420
|
return w;
|
|
3472
|
-
|
|
3421
|
+
l.push([
|
|
3473
3422
|
h,
|
|
3474
3423
|
{
|
|
3475
|
-
value:
|
|
3424
|
+
value: y.val,
|
|
3476
3425
|
location: C(g, this.clonePosition())
|
|
3477
3426
|
}
|
|
3478
3427
|
]), u.add(h), this.bumpSpace(), a = this.parseIdentifierIfPossible(), h = a.value, c = a.location;
|
|
3479
3428
|
}
|
|
3480
|
-
return
|
|
3429
|
+
return l.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(x.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3481
3430
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3482
3431
|
var n = 1, s = this.clonePosition();
|
|
3483
3432
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3484
3433
|
for (var a = !1, i = 0; !this.isEOF(); ) {
|
|
3485
|
-
var
|
|
3486
|
-
if (
|
|
3487
|
-
a = !0, i = i * 10 + (
|
|
3434
|
+
var l = this.char();
|
|
3435
|
+
if (l >= 48 && l <= 57)
|
|
3436
|
+
a = !0, i = i * 10 + (l - 48), this.bump();
|
|
3488
3437
|
else
|
|
3489
3438
|
break;
|
|
3490
3439
|
}
|
|
3491
3440
|
var u = C(s, this.clonePosition());
|
|
3492
|
-
return a ? (i *= n,
|
|
3441
|
+
return a ? (i *= n, _s(i) ? { val: i, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3493
3442
|
}, e.prototype.offset = function() {
|
|
3494
3443
|
return this.position.offset;
|
|
3495
3444
|
}, e.prototype.isEOF = function() {
|
|
@@ -3504,7 +3453,7 @@ var Ds = (
|
|
|
3504
3453
|
var t = this.position.offset;
|
|
3505
3454
|
if (t >= this.message.length)
|
|
3506
3455
|
throw Error("out of bound");
|
|
3507
|
-
var r =
|
|
3456
|
+
var r = Lr(this.message, t);
|
|
3508
3457
|
if (r === void 0)
|
|
3509
3458
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3510
3459
|
return r;
|
|
@@ -3523,7 +3472,7 @@ var Ds = (
|
|
|
3523
3472
|
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);
|
|
3524
3473
|
}
|
|
3525
3474
|
}, e.prototype.bumpIf = function(t) {
|
|
3526
|
-
if (
|
|
3475
|
+
if (qt(this.message, t, this.offset())) {
|
|
3527
3476
|
for (var r = 0; r < t.length; r++)
|
|
3528
3477
|
this.bump();
|
|
3529
3478
|
return !0;
|
|
@@ -3545,56 +3494,56 @@ var Ds = (
|
|
|
3545
3494
|
break;
|
|
3546
3495
|
}
|
|
3547
3496
|
}, e.prototype.bumpSpace = function() {
|
|
3548
|
-
for (; !this.isEOF() &&
|
|
3497
|
+
for (; !this.isEOF() && kr(this.char()); )
|
|
3549
3498
|
this.bump();
|
|
3550
3499
|
}, e.prototype.peek = function() {
|
|
3551
3500
|
if (this.isEOF())
|
|
3552
3501
|
return null;
|
|
3553
3502
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3554
|
-
return n
|
|
3503
|
+
return n ?? null;
|
|
3555
3504
|
}, e;
|
|
3556
3505
|
}()
|
|
3557
3506
|
);
|
|
3558
|
-
function
|
|
3507
|
+
function Ht(e) {
|
|
3559
3508
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3560
3509
|
}
|
|
3561
|
-
function
|
|
3562
|
-
return
|
|
3510
|
+
function Bs(e) {
|
|
3511
|
+
return Ht(e) || e === 47;
|
|
3563
3512
|
}
|
|
3564
|
-
function
|
|
3513
|
+
function Ss(e) {
|
|
3565
3514
|
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;
|
|
3566
3515
|
}
|
|
3567
|
-
function
|
|
3516
|
+
function kr(e) {
|
|
3568
3517
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3569
3518
|
}
|
|
3570
|
-
function
|
|
3519
|
+
function As(e) {
|
|
3571
3520
|
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;
|
|
3572
3521
|
}
|
|
3573
|
-
function
|
|
3522
|
+
function Mt(e) {
|
|
3574
3523
|
e.forEach(function(t) {
|
|
3575
|
-
if (delete t.location,
|
|
3524
|
+
if (delete t.location, Sr(t) || Ar(t))
|
|
3576
3525
|
for (var r in t.options)
|
|
3577
|
-
delete t.options[r].location,
|
|
3578
|
-
else
|
|
3526
|
+
delete t.options[r].location, Mt(t.options[r].value);
|
|
3527
|
+
else Cr(t) && Hr(t.style) || (Tr(t) || Br(t)) && Bt(t.style) ? delete t.style.location : Ir(t) && Mt(t.children);
|
|
3579
3528
|
});
|
|
3580
3529
|
}
|
|
3581
|
-
function
|
|
3530
|
+
function Is(e, t) {
|
|
3582
3531
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3583
|
-
var r = new
|
|
3532
|
+
var r = new Ts(e, t).parse();
|
|
3584
3533
|
if (r.err) {
|
|
3585
3534
|
var n = SyntaxError(x[r.err.kind]);
|
|
3586
3535
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3587
3536
|
}
|
|
3588
|
-
return t
|
|
3537
|
+
return t?.captureLocation || Mt(r.val), r.val;
|
|
3589
3538
|
}
|
|
3590
|
-
var
|
|
3539
|
+
var Ne;
|
|
3591
3540
|
(function(e) {
|
|
3592
3541
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3593
|
-
})(
|
|
3594
|
-
var
|
|
3542
|
+
})(Ne || (Ne = {}));
|
|
3543
|
+
var ht = (
|
|
3595
3544
|
/** @class */
|
|
3596
3545
|
function(e) {
|
|
3597
|
-
|
|
3546
|
+
ie(t, e);
|
|
3598
3547
|
function t(r, n, s) {
|
|
3599
3548
|
var a = e.call(this, r) || this;
|
|
3600
3549
|
return a.code = n, a.originalMessage = s, a;
|
|
@@ -3603,65 +3552,65 @@ var ct = (
|
|
|
3603
3552
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3604
3553
|
}, t;
|
|
3605
3554
|
}(Error)
|
|
3606
|
-
),
|
|
3555
|
+
), tr = (
|
|
3607
3556
|
/** @class */
|
|
3608
3557
|
function(e) {
|
|
3609
|
-
|
|
3558
|
+
ie(t, e);
|
|
3610
3559
|
function t(r, n, s, a) {
|
|
3611
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'),
|
|
3560
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Ne.INVALID_VALUE, a) || this;
|
|
3612
3561
|
}
|
|
3613
3562
|
return t;
|
|
3614
|
-
}(
|
|
3615
|
-
),
|
|
3563
|
+
}(ht)
|
|
3564
|
+
), Hs = (
|
|
3616
3565
|
/** @class */
|
|
3617
3566
|
function(e) {
|
|
3618
|
-
|
|
3567
|
+
ie(t, e);
|
|
3619
3568
|
function t(r, n, s) {
|
|
3620
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3569
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ne.INVALID_VALUE, s) || this;
|
|
3621
3570
|
}
|
|
3622
3571
|
return t;
|
|
3623
|
-
}(
|
|
3624
|
-
),
|
|
3572
|
+
}(ht)
|
|
3573
|
+
), Ms = (
|
|
3625
3574
|
/** @class */
|
|
3626
3575
|
function(e) {
|
|
3627
|
-
|
|
3576
|
+
ie(t, e);
|
|
3628
3577
|
function t(r, n) {
|
|
3629
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3578
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ne.MISSING_VALUE, n) || this;
|
|
3630
3579
|
}
|
|
3631
3580
|
return t;
|
|
3632
|
-
}(
|
|
3581
|
+
}(ht)
|
|
3633
3582
|
), W;
|
|
3634
3583
|
(function(e) {
|
|
3635
3584
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3636
3585
|
})(W || (W = {}));
|
|
3637
|
-
function
|
|
3586
|
+
function Ns(e) {
|
|
3638
3587
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3639
3588
|
var n = t[t.length - 1];
|
|
3640
3589
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3641
3590
|
}, []);
|
|
3642
3591
|
}
|
|
3643
|
-
function
|
|
3592
|
+
function Os(e) {
|
|
3644
3593
|
return typeof e == "function";
|
|
3645
3594
|
}
|
|
3646
|
-
function
|
|
3647
|
-
if (e.length === 1 &&
|
|
3595
|
+
function st(e, t, r, n, s, a, i) {
|
|
3596
|
+
if (e.length === 1 && Zt(e[0]))
|
|
3648
3597
|
return [
|
|
3649
3598
|
{
|
|
3650
3599
|
type: W.literal,
|
|
3651
3600
|
value: e[0].value
|
|
3652
3601
|
}
|
|
3653
3602
|
];
|
|
3654
|
-
for (var
|
|
3603
|
+
for (var l = [], u = 0, h = e; u < h.length; u++) {
|
|
3655
3604
|
var c = h[u];
|
|
3656
|
-
if (
|
|
3657
|
-
|
|
3605
|
+
if (Zt(c)) {
|
|
3606
|
+
l.push({
|
|
3658
3607
|
type: W.literal,
|
|
3659
3608
|
value: c.value
|
|
3660
3609
|
});
|
|
3661
3610
|
continue;
|
|
3662
3611
|
}
|
|
3663
|
-
if (
|
|
3664
|
-
typeof a == "number" &&
|
|
3612
|
+
if (rs(c)) {
|
|
3613
|
+
typeof a == "number" && l.push({
|
|
3665
3614
|
type: W.literal,
|
|
3666
3615
|
value: r.getNumberFormat(t).format(a)
|
|
3667
3616
|
});
|
|
@@ -3669,89 +3618,89 @@ function at(e, t, r, n, s, a, i) {
|
|
|
3669
3618
|
}
|
|
3670
3619
|
var d = c.value;
|
|
3671
3620
|
if (!(s && d in s))
|
|
3672
|
-
throw new
|
|
3621
|
+
throw new Ms(d, i);
|
|
3673
3622
|
var p = s[d];
|
|
3674
|
-
if (
|
|
3675
|
-
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""),
|
|
3623
|
+
if (ts(c)) {
|
|
3624
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
|
|
3676
3625
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3677
3626
|
value: p
|
|
3678
3627
|
});
|
|
3679
3628
|
continue;
|
|
3680
3629
|
}
|
|
3681
|
-
if (
|
|
3682
|
-
var g = typeof c.style == "string" ? n.date[c.style] :
|
|
3683
|
-
|
|
3630
|
+
if (Tr(c)) {
|
|
3631
|
+
var g = typeof c.style == "string" ? n.date[c.style] : Bt(c.style) ? c.style.parsedOptions : void 0;
|
|
3632
|
+
l.push({
|
|
3684
3633
|
type: W.literal,
|
|
3685
3634
|
value: r.getDateTimeFormat(t, g).format(p)
|
|
3686
3635
|
});
|
|
3687
3636
|
continue;
|
|
3688
3637
|
}
|
|
3689
|
-
if (
|
|
3690
|
-
var g = typeof c.style == "string" ? n.time[c.style] :
|
|
3691
|
-
|
|
3638
|
+
if (Br(c)) {
|
|
3639
|
+
var g = typeof c.style == "string" ? n.time[c.style] : Bt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3640
|
+
l.push({
|
|
3692
3641
|
type: W.literal,
|
|
3693
3642
|
value: r.getDateTimeFormat(t, g).format(p)
|
|
3694
3643
|
});
|
|
3695
3644
|
continue;
|
|
3696
3645
|
}
|
|
3697
|
-
if (
|
|
3698
|
-
var g = typeof c.style == "string" ? n.number[c.style] :
|
|
3699
|
-
g && g.scale && (p = p * (g.scale || 1)),
|
|
3646
|
+
if (Cr(c)) {
|
|
3647
|
+
var g = typeof c.style == "string" ? n.number[c.style] : Hr(c.style) ? c.style.parsedOptions : void 0;
|
|
3648
|
+
g && g.scale && (p = p * (g.scale || 1)), l.push({
|
|
3700
3649
|
type: W.literal,
|
|
3701
3650
|
value: r.getNumberFormat(t, g).format(p)
|
|
3702
3651
|
});
|
|
3703
3652
|
continue;
|
|
3704
3653
|
}
|
|
3705
|
-
if (
|
|
3706
|
-
var
|
|
3707
|
-
if (!
|
|
3708
|
-
throw new
|
|
3709
|
-
var P =
|
|
3654
|
+
if (Ir(c)) {
|
|
3655
|
+
var y = c.children, w = c.value, T = s[w];
|
|
3656
|
+
if (!Os(T))
|
|
3657
|
+
throw new Hs(w, "function", i);
|
|
3658
|
+
var P = st(y, t, r, n, s, a), B = T(P.map(function(k) {
|
|
3710
3659
|
return k.value;
|
|
3711
3660
|
}));
|
|
3712
|
-
Array.isArray(B) || (B = [B]),
|
|
3661
|
+
Array.isArray(B) || (B = [B]), l.push.apply(l, B.map(function(k) {
|
|
3713
3662
|
return {
|
|
3714
3663
|
type: typeof k == "string" ? W.literal : W.object,
|
|
3715
3664
|
value: k
|
|
3716
3665
|
};
|
|
3717
3666
|
}));
|
|
3718
3667
|
}
|
|
3719
|
-
if (
|
|
3720
|
-
var
|
|
3721
|
-
if (!
|
|
3722
|
-
throw new
|
|
3723
|
-
|
|
3668
|
+
if (Sr(c)) {
|
|
3669
|
+
var O = c.options[p] || c.options.other;
|
|
3670
|
+
if (!O)
|
|
3671
|
+
throw new tr(c.value, p, Object.keys(c.options), i);
|
|
3672
|
+
l.push.apply(l, st(O.value, t, r, n, s));
|
|
3724
3673
|
continue;
|
|
3725
3674
|
}
|
|
3726
|
-
if (
|
|
3727
|
-
var
|
|
3728
|
-
if (!
|
|
3675
|
+
if (Ar(c)) {
|
|
3676
|
+
var O = c.options["=".concat(p)];
|
|
3677
|
+
if (!O) {
|
|
3729
3678
|
if (!Intl.PluralRules)
|
|
3730
|
-
throw new
|
|
3679
|
+
throw new ht(`Intl.PluralRules is not available in this environment.
|
|
3731
3680
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3732
|
-
`,
|
|
3681
|
+
`, Ne.MISSING_INTL_API, i);
|
|
3733
3682
|
var F = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3734
|
-
|
|
3683
|
+
O = c.options[F] || c.options.other;
|
|
3735
3684
|
}
|
|
3736
|
-
if (!
|
|
3737
|
-
throw new
|
|
3738
|
-
|
|
3685
|
+
if (!O)
|
|
3686
|
+
throw new tr(c.value, p, Object.keys(c.options), i);
|
|
3687
|
+
l.push.apply(l, st(O.value, t, r, n, s, p - (c.offset || 0)));
|
|
3739
3688
|
continue;
|
|
3740
3689
|
}
|
|
3741
3690
|
}
|
|
3742
|
-
return
|
|
3691
|
+
return Ns(l);
|
|
3743
3692
|
}
|
|
3744
|
-
function
|
|
3693
|
+
function Rs(e, t) {
|
|
3745
3694
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3746
3695
|
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
|
3747
3696
|
}, {})) : e;
|
|
3748
3697
|
}
|
|
3749
|
-
function
|
|
3698
|
+
function Ls(e, t) {
|
|
3750
3699
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3751
|
-
return r[n] =
|
|
3700
|
+
return r[n] = Rs(e[n], t[n]), r;
|
|
3752
3701
|
}, S({}, e)) : e;
|
|
3753
3702
|
}
|
|
3754
|
-
function
|
|
3703
|
+
function wt(e) {
|
|
3755
3704
|
return {
|
|
3756
3705
|
create: function() {
|
|
3757
3706
|
return {
|
|
@@ -3765,39 +3714,39 @@ function Pt(e) {
|
|
|
3765
3714
|
}
|
|
3766
3715
|
};
|
|
3767
3716
|
}
|
|
3768
|
-
function
|
|
3717
|
+
function Fs(e) {
|
|
3769
3718
|
return e === void 0 && (e = {
|
|
3770
3719
|
number: {},
|
|
3771
3720
|
dateTime: {},
|
|
3772
3721
|
pluralRules: {}
|
|
3773
3722
|
}), {
|
|
3774
|
-
getNumberFormat:
|
|
3723
|
+
getNumberFormat: mt(function() {
|
|
3775
3724
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3776
3725
|
r[n] = arguments[n];
|
|
3777
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3726
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3778
3727
|
}, {
|
|
3779
|
-
cache:
|
|
3780
|
-
strategy:
|
|
3728
|
+
cache: wt(e.number),
|
|
3729
|
+
strategy: gt.variadic
|
|
3781
3730
|
}),
|
|
3782
|
-
getDateTimeFormat:
|
|
3731
|
+
getDateTimeFormat: mt(function() {
|
|
3783
3732
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3784
3733
|
r[n] = arguments[n];
|
|
3785
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3734
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3786
3735
|
}, {
|
|
3787
|
-
cache:
|
|
3788
|
-
strategy:
|
|
3736
|
+
cache: wt(e.dateTime),
|
|
3737
|
+
strategy: gt.variadic
|
|
3789
3738
|
}),
|
|
3790
|
-
getPluralRules:
|
|
3739
|
+
getPluralRules: mt(function() {
|
|
3791
3740
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3792
3741
|
r[n] = arguments[n];
|
|
3793
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3742
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3794
3743
|
}, {
|
|
3795
|
-
cache:
|
|
3796
|
-
strategy:
|
|
3744
|
+
cache: wt(e.pluralRules),
|
|
3745
|
+
strategy: gt.variadic
|
|
3797
3746
|
})
|
|
3798
3747
|
};
|
|
3799
3748
|
}
|
|
3800
|
-
var
|
|
3749
|
+
var ks = (
|
|
3801
3750
|
/** @class */
|
|
3802
3751
|
function() {
|
|
3803
3752
|
function e(t, r, n, s) {
|
|
@@ -3816,7 +3765,7 @@ var Js = (
|
|
|
3816
3765
|
}, []);
|
|
3817
3766
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3818
3767
|
}, this.formatToParts = function(u) {
|
|
3819
|
-
return
|
|
3768
|
+
return st(a.ast, a.locales, a.formatters, a.formats, u, void 0, a.message);
|
|
3820
3769
|
}, this.resolvedOptions = function() {
|
|
3821
3770
|
var u;
|
|
3822
3771
|
return {
|
|
@@ -3829,13 +3778,13 @@ var Js = (
|
|
|
3829
3778
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3830
3779
|
var i = s || {};
|
|
3831
3780
|
i.formatters;
|
|
3832
|
-
var
|
|
3833
|
-
this.ast = e.__parse(t, S(S({},
|
|
3781
|
+
var l = gn(i, ["formatters"]);
|
|
3782
|
+
this.ast = e.__parse(t, S(S({}, l), { locale: this.resolvedLocale }));
|
|
3834
3783
|
} else
|
|
3835
3784
|
this.ast = t;
|
|
3836
3785
|
if (!Array.isArray(this.ast))
|
|
3837
3786
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3838
|
-
this.formats =
|
|
3787
|
+
this.formats = Ls(e.formats, n), this.formatters = s && s.formatters || Fs(this.formatterCache);
|
|
3839
3788
|
}
|
|
3840
3789
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3841
3790
|
get: function() {
|
|
@@ -3844,11 +3793,11 @@ var Js = (
|
|
|
3844
3793
|
enumerable: !1,
|
|
3845
3794
|
configurable: !0
|
|
3846
3795
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3847
|
-
if (typeof Intl.Locale
|
|
3796
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
3848
3797
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3849
3798
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3850
3799
|
}
|
|
3851
|
-
}, e.__parse =
|
|
3800
|
+
}, e.__parse = Is, e.formats = {
|
|
3852
3801
|
number: {
|
|
3853
3802
|
integer: {
|
|
3854
3803
|
maximumFractionDigits: 0
|
|
@@ -3909,7 +3858,7 @@ var Js = (
|
|
|
3909
3858
|
}, e;
|
|
3910
3859
|
}()
|
|
3911
3860
|
);
|
|
3912
|
-
function
|
|
3861
|
+
function Ds(e, t) {
|
|
3913
3862
|
if (t == null)
|
|
3914
3863
|
return;
|
|
3915
3864
|
if (t in e)
|
|
@@ -3930,92 +3879,92 @@ function qs(e, t) {
|
|
|
3930
3879
|
n = void 0;
|
|
3931
3880
|
return n;
|
|
3932
3881
|
}
|
|
3933
|
-
const
|
|
3882
|
+
const ce = {}, Us = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Dr = (e, t) => {
|
|
3934
3883
|
if (t == null)
|
|
3935
3884
|
return;
|
|
3936
|
-
if (t in
|
|
3937
|
-
return
|
|
3938
|
-
const r =
|
|
3885
|
+
if (t in ce && e in ce[t])
|
|
3886
|
+
return ce[t][e];
|
|
3887
|
+
const r = ct(t);
|
|
3939
3888
|
for (let n = 0; n < r.length; n++) {
|
|
3940
|
-
const s = r[n], a =
|
|
3889
|
+
const s = r[n], a = Gs(s, e);
|
|
3941
3890
|
if (a)
|
|
3942
|
-
return
|
|
3891
|
+
return Us(e, t, a);
|
|
3943
3892
|
}
|
|
3944
3893
|
};
|
|
3945
|
-
let
|
|
3946
|
-
const
|
|
3947
|
-
function
|
|
3948
|
-
return
|
|
3894
|
+
let Lt;
|
|
3895
|
+
const Ze = ut({});
|
|
3896
|
+
function $s(e) {
|
|
3897
|
+
return Lt[e] || null;
|
|
3949
3898
|
}
|
|
3950
|
-
function
|
|
3951
|
-
return e in
|
|
3899
|
+
function Ur(e) {
|
|
3900
|
+
return e in Lt;
|
|
3952
3901
|
}
|
|
3953
|
-
function
|
|
3954
|
-
if (!
|
|
3902
|
+
function Gs(e, t) {
|
|
3903
|
+
if (!Ur(e))
|
|
3955
3904
|
return null;
|
|
3956
|
-
const r =
|
|
3957
|
-
return
|
|
3905
|
+
const r = $s(e);
|
|
3906
|
+
return Ds(r, t);
|
|
3958
3907
|
}
|
|
3959
|
-
function
|
|
3908
|
+
function js(e) {
|
|
3960
3909
|
if (e == null)
|
|
3961
3910
|
return;
|
|
3962
|
-
const t =
|
|
3911
|
+
const t = ct(e);
|
|
3963
3912
|
for (let r = 0; r < t.length; r++) {
|
|
3964
3913
|
const n = t[r];
|
|
3965
|
-
if (
|
|
3914
|
+
if (Ur(n))
|
|
3966
3915
|
return n;
|
|
3967
3916
|
}
|
|
3968
3917
|
}
|
|
3969
|
-
function
|
|
3970
|
-
delete
|
|
3918
|
+
function $r(e, ...t) {
|
|
3919
|
+
delete ce[e], Ze.update((r) => (r[e] = Xn.all([r[e] || {}, ...t]), r));
|
|
3971
3920
|
}
|
|
3972
|
-
|
|
3973
|
-
[
|
|
3921
|
+
Le(
|
|
3922
|
+
[Ze],
|
|
3974
3923
|
([e]) => Object.keys(e)
|
|
3975
3924
|
);
|
|
3976
|
-
|
|
3977
|
-
const
|
|
3978
|
-
function
|
|
3979
|
-
|
|
3925
|
+
Ze.subscribe((e) => Lt = e);
|
|
3926
|
+
const at = {};
|
|
3927
|
+
function Vs(e, t) {
|
|
3928
|
+
at[e].delete(t), at[e].size === 0 && delete at[e];
|
|
3980
3929
|
}
|
|
3981
|
-
function
|
|
3982
|
-
return
|
|
3930
|
+
function Gr(e) {
|
|
3931
|
+
return at[e];
|
|
3983
3932
|
}
|
|
3984
|
-
function
|
|
3985
|
-
return
|
|
3986
|
-
const r =
|
|
3933
|
+
function zs(e) {
|
|
3934
|
+
return ct(e).map((t) => {
|
|
3935
|
+
const r = Gr(t);
|
|
3987
3936
|
return [t, r ? [...r] : []];
|
|
3988
3937
|
}).filter(([, t]) => t.length > 0);
|
|
3989
3938
|
}
|
|
3990
|
-
function
|
|
3991
|
-
return e == null ? !1 :
|
|
3939
|
+
function Nt(e) {
|
|
3940
|
+
return e == null ? !1 : ct(e).some(
|
|
3992
3941
|
(t) => {
|
|
3993
3942
|
var r;
|
|
3994
|
-
return (r =
|
|
3943
|
+
return (r = Gr(t)) == null ? void 0 : r.size;
|
|
3995
3944
|
}
|
|
3996
3945
|
);
|
|
3997
3946
|
}
|
|
3998
|
-
function
|
|
3947
|
+
function Ws(e, t) {
|
|
3999
3948
|
return Promise.all(
|
|
4000
|
-
t.map((n) => (
|
|
4001
|
-
).then((n) =>
|
|
4002
|
-
}
|
|
4003
|
-
const
|
|
4004
|
-
function
|
|
4005
|
-
if (!
|
|
4006
|
-
return e in
|
|
4007
|
-
const t =
|
|
4008
|
-
return
|
|
3949
|
+
t.map((n) => (Vs(e, n), n().then((s) => s.default || s)))
|
|
3950
|
+
).then((n) => $r(e, ...n));
|
|
3951
|
+
}
|
|
3952
|
+
const je = {};
|
|
3953
|
+
function jr(e) {
|
|
3954
|
+
if (!Nt(e))
|
|
3955
|
+
return e in je ? je[e] : Promise.resolve();
|
|
3956
|
+
const t = zs(e);
|
|
3957
|
+
return je[e] = Promise.all(
|
|
4009
3958
|
t.map(
|
|
4010
|
-
([r, n]) =>
|
|
3959
|
+
([r, n]) => Ws(r, n)
|
|
4011
3960
|
)
|
|
4012
3961
|
).then(() => {
|
|
4013
|
-
if (
|
|
4014
|
-
return
|
|
4015
|
-
delete
|
|
4016
|
-
}),
|
|
3962
|
+
if (Nt(e))
|
|
3963
|
+
return jr(e);
|
|
3964
|
+
delete je[e];
|
|
3965
|
+
}), je[e];
|
|
4017
3966
|
}
|
|
4018
|
-
const
|
|
3967
|
+
const Xs = {
|
|
4019
3968
|
number: {
|
|
4020
3969
|
scientific: { notation: "scientific" },
|
|
4021
3970
|
engineering: { notation: "engineering" },
|
|
@@ -4044,159 +3993,159 @@ const ia = {
|
|
|
4044
3993
|
timeZoneName: "short"
|
|
4045
3994
|
}
|
|
4046
3995
|
}
|
|
4047
|
-
},
|
|
3996
|
+
}, Zs = {
|
|
4048
3997
|
fallbackLocale: null,
|
|
4049
3998
|
loadingDelay: 200,
|
|
4050
|
-
formats:
|
|
3999
|
+
formats: Xs,
|
|
4051
4000
|
warnOnMissingMessages: !0,
|
|
4052
4001
|
handleMissingMessage: void 0,
|
|
4053
4002
|
ignoreTag: !0
|
|
4054
|
-
},
|
|
4003
|
+
}, Qs = Zs;
|
|
4055
4004
|
function Oe() {
|
|
4056
|
-
return
|
|
4057
|
-
}
|
|
4058
|
-
const
|
|
4059
|
-
var
|
|
4060
|
-
for (var r in t
|
|
4061
|
-
|
|
4062
|
-
if (
|
|
4063
|
-
for (var r of
|
|
4064
|
-
|
|
4005
|
+
return Qs;
|
|
4006
|
+
}
|
|
4007
|
+
const yt = ut(!1);
|
|
4008
|
+
var Ys = Object.defineProperty, Js = Object.defineProperties, qs = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, Ks = Object.prototype.hasOwnProperty, ea = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? Ys(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ta = (e, t) => {
|
|
4009
|
+
for (var r in t)
|
|
4010
|
+
Ks.call(t, r) && nr(e, r, t[r]);
|
|
4011
|
+
if (rr)
|
|
4012
|
+
for (var r of rr(t))
|
|
4013
|
+
ea.call(t, r) && nr(e, r, t[r]);
|
|
4065
4014
|
return e;
|
|
4066
|
-
},
|
|
4067
|
-
let
|
|
4068
|
-
const
|
|
4069
|
-
function
|
|
4015
|
+
}, ra = (e, t) => Js(e, qs(t));
|
|
4016
|
+
let Ot;
|
|
4017
|
+
const it = ut(null);
|
|
4018
|
+
function sr(e) {
|
|
4070
4019
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4071
4020
|
}
|
|
4072
|
-
function
|
|
4073
|
-
const r =
|
|
4074
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4021
|
+
function ct(e, t = Oe().fallbackLocale) {
|
|
4022
|
+
const r = sr(e);
|
|
4023
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
|
|
4075
4024
|
}
|
|
4076
|
-
function
|
|
4077
|
-
return
|
|
4025
|
+
function ge() {
|
|
4026
|
+
return Ot ?? void 0;
|
|
4078
4027
|
}
|
|
4079
|
-
|
|
4080
|
-
|
|
4028
|
+
it.subscribe((e) => {
|
|
4029
|
+
Ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4081
4030
|
});
|
|
4082
|
-
const
|
|
4083
|
-
if (e &&
|
|
4031
|
+
const na = (e) => {
|
|
4032
|
+
if (e && js(e) && Nt(e)) {
|
|
4084
4033
|
const { loadingDelay: t } = Oe();
|
|
4085
4034
|
let r;
|
|
4086
|
-
return typeof window
|
|
4087
|
-
() =>
|
|
4035
|
+
return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
|
|
4036
|
+
() => yt.set(!0),
|
|
4088
4037
|
t
|
|
4089
|
-
) :
|
|
4090
|
-
|
|
4038
|
+
) : yt.set(!0), jr(e).then(() => {
|
|
4039
|
+
it.set(e);
|
|
4091
4040
|
}).finally(() => {
|
|
4092
|
-
clearTimeout(r),
|
|
4041
|
+
clearTimeout(r), yt.set(!1);
|
|
4093
4042
|
});
|
|
4094
4043
|
}
|
|
4095
|
-
return
|
|
4096
|
-
},
|
|
4097
|
-
set:
|
|
4098
|
-
}),
|
|
4044
|
+
return it.set(e);
|
|
4045
|
+
}, Fe = ra(ta({}, it), {
|
|
4046
|
+
set: na
|
|
4047
|
+
}), ft = (e) => {
|
|
4099
4048
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4100
4049
|
return (n) => {
|
|
4101
4050
|
const s = JSON.stringify(n);
|
|
4102
4051
|
return s in t ? t[s] : t[s] = e(n);
|
|
4103
4052
|
};
|
|
4104
4053
|
};
|
|
4105
|
-
var
|
|
4054
|
+
var sa = Object.defineProperty, ot = Object.getOwnPropertySymbols, Vr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? sa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
|
|
4106
4055
|
for (var r in t || (t = {}))
|
|
4107
|
-
|
|
4108
|
-
if (
|
|
4109
|
-
for (var r of
|
|
4110
|
-
|
|
4056
|
+
Vr.call(t, r) && ar(e, r, t[r]);
|
|
4057
|
+
if (ot)
|
|
4058
|
+
for (var r of ot(t))
|
|
4059
|
+
zr.call(t, r) && ar(e, r, t[r]);
|
|
4111
4060
|
return e;
|
|
4112
|
-
},
|
|
4061
|
+
}, ke = (e, t) => {
|
|
4113
4062
|
var r = {};
|
|
4114
4063
|
for (var n in e)
|
|
4115
|
-
|
|
4116
|
-
if (e != null &&
|
|
4117
|
-
for (var n of
|
|
4118
|
-
t.indexOf(n) < 0 &&
|
|
4064
|
+
Vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4065
|
+
if (e != null && ot)
|
|
4066
|
+
for (var n of ot(e))
|
|
4067
|
+
t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
|
|
4119
4068
|
return r;
|
|
4120
4069
|
};
|
|
4121
|
-
const
|
|
4070
|
+
const Xe = (e, t) => {
|
|
4122
4071
|
const { formats: r } = Oe();
|
|
4123
4072
|
if (e in r && t in r[e])
|
|
4124
4073
|
return r[e][t];
|
|
4125
4074
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4126
|
-
},
|
|
4075
|
+
}, aa = ft(
|
|
4127
4076
|
(e) => {
|
|
4128
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4077
|
+
var t = e, { locale: r, format: n } = t, s = ke(t, ["locale", "format"]);
|
|
4129
4078
|
if (r == null)
|
|
4130
4079
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4131
|
-
return n && (s =
|
|
4080
|
+
return n && (s = Xe("number", n)), new Intl.NumberFormat(r, s);
|
|
4132
4081
|
}
|
|
4133
|
-
),
|
|
4082
|
+
), ia = ft(
|
|
4134
4083
|
(e) => {
|
|
4135
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4084
|
+
var t = e, { locale: r, format: n } = t, s = ke(t, ["locale", "format"]);
|
|
4136
4085
|
if (r == null)
|
|
4137
4086
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4138
|
-
return n ? s =
|
|
4087
|
+
return n ? s = Xe("date", n) : Object.keys(s).length === 0 && (s = Xe("date", "short")), new Intl.DateTimeFormat(r, s);
|
|
4139
4088
|
}
|
|
4140
|
-
),
|
|
4089
|
+
), oa = ft(
|
|
4141
4090
|
(e) => {
|
|
4142
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4091
|
+
var t = e, { locale: r, format: n } = t, s = ke(t, ["locale", "format"]);
|
|
4143
4092
|
if (r == null)
|
|
4144
4093
|
throw new Error(
|
|
4145
4094
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4146
4095
|
);
|
|
4147
|
-
return n ? s =
|
|
4096
|
+
return n ? s = Xe("time", n) : Object.keys(s).length === 0 && (s = Xe("time", "short")), new Intl.DateTimeFormat(r, s);
|
|
4148
4097
|
}
|
|
4149
|
-
),
|
|
4098
|
+
), la = (e = {}) => {
|
|
4150
4099
|
var t = e, {
|
|
4151
|
-
locale: r =
|
|
4152
|
-
} = t, n =
|
|
4100
|
+
locale: r = ge()
|
|
4101
|
+
} = t, n = ke(t, [
|
|
4153
4102
|
"locale"
|
|
4154
4103
|
]);
|
|
4155
|
-
return
|
|
4156
|
-
},
|
|
4104
|
+
return aa(Ft({ locale: r }, n));
|
|
4105
|
+
}, ua = (e = {}) => {
|
|
4157
4106
|
var t = e, {
|
|
4158
|
-
locale: r =
|
|
4159
|
-
} = t, n =
|
|
4107
|
+
locale: r = ge()
|
|
4108
|
+
} = t, n = ke(t, [
|
|
4160
4109
|
"locale"
|
|
4161
4110
|
]);
|
|
4162
|
-
return
|
|
4163
|
-
},
|
|
4111
|
+
return ia(Ft({ locale: r }, n));
|
|
4112
|
+
}, ha = (e = {}) => {
|
|
4164
4113
|
var t = e, {
|
|
4165
|
-
locale: r =
|
|
4166
|
-
} = t, n =
|
|
4114
|
+
locale: r = ge()
|
|
4115
|
+
} = t, n = ke(t, [
|
|
4167
4116
|
"locale"
|
|
4168
4117
|
]);
|
|
4169
|
-
return
|
|
4170
|
-
},
|
|
4118
|
+
return oa(Ft({ locale: r }, n));
|
|
4119
|
+
}, ca = ft(
|
|
4171
4120
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4172
|
-
(e, t =
|
|
4121
|
+
(e, t = ge()) => new ks(e, t, Oe().formats, {
|
|
4173
4122
|
ignoreTag: Oe().ignoreTag
|
|
4174
4123
|
})
|
|
4175
|
-
),
|
|
4124
|
+
), fa = (e, t = {}) => {
|
|
4176
4125
|
var r, n, s, a;
|
|
4177
4126
|
let i = t;
|
|
4178
4127
|
typeof e == "object" && (i = e, e = i.id);
|
|
4179
4128
|
const {
|
|
4180
|
-
values:
|
|
4181
|
-
locale: u =
|
|
4129
|
+
values: l,
|
|
4130
|
+
locale: u = ge(),
|
|
4182
4131
|
default: h
|
|
4183
4132
|
} = i;
|
|
4184
4133
|
if (u == null)
|
|
4185
4134
|
throw new Error(
|
|
4186
4135
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4187
4136
|
);
|
|
4188
|
-
let c =
|
|
4137
|
+
let c = Dr(e, u);
|
|
4189
4138
|
if (!c)
|
|
4190
4139
|
c = (a = (s = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? s : h) != null ? a : e;
|
|
4191
4140
|
else if (typeof c != "string")
|
|
4192
4141
|
return console.warn(
|
|
4193
4142
|
`[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.`
|
|
4194
4143
|
), c;
|
|
4195
|
-
if (!
|
|
4144
|
+
if (!l)
|
|
4196
4145
|
return c;
|
|
4197
4146
|
let d = c;
|
|
4198
4147
|
try {
|
|
4199
|
-
d =
|
|
4148
|
+
d = ca(c, u).format(l);
|
|
4200
4149
|
} catch (p) {
|
|
4201
4150
|
p instanceof Error && console.warn(
|
|
4202
4151
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4204,20 +4153,20 @@ const Ze = (e, t) => {
|
|
|
4204
4153
|
);
|
|
4205
4154
|
}
|
|
4206
4155
|
return d;
|
|
4207
|
-
},
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
window.emWidgets = { topic:
|
|
4213
|
-
const
|
|
4214
|
-
function
|
|
4215
|
-
|
|
4216
|
-
}
|
|
4217
|
-
function
|
|
4218
|
-
|
|
4219
|
-
}
|
|
4220
|
-
const
|
|
4156
|
+
}, da = (e, t) => ha(t).format(e), pa = (e, t) => ua(t).format(e), ma = (e, t) => la(t).format(e), ga = (e, t = ge()) => Dr(e, t), ba = Le([Fe, Ze], () => fa);
|
|
4157
|
+
Le([Fe], () => da);
|
|
4158
|
+
Le([Fe], () => pa);
|
|
4159
|
+
Le([Fe], () => ma);
|
|
4160
|
+
Le([Fe, Ze], () => ga);
|
|
4161
|
+
window.emWidgets = { topic: In };
|
|
4162
|
+
const wa = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4163
|
+
function ir(e, t) {
|
|
4164
|
+
$r(e, t);
|
|
4165
|
+
}
|
|
4166
|
+
function ya(e) {
|
|
4167
|
+
Fe.set(e);
|
|
4168
|
+
}
|
|
4169
|
+
const or = {
|
|
4221
4170
|
en: {
|
|
4222
4171
|
titleChangePassword: "Change Password",
|
|
4223
4172
|
currentPassword: "Current Password:",
|
|
@@ -4401,21 +4350,21 @@ const mr = {
|
|
|
4401
4350
|
backButtonText: "Back"
|
|
4402
4351
|
}
|
|
4403
4352
|
};
|
|
4404
|
-
function
|
|
4405
|
-
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)}');
|
|
4353
|
+
function va(e) {
|
|
4354
|
+
Zr(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)}');
|
|
4406
4355
|
}
|
|
4407
|
-
function
|
|
4356
|
+
function Pa(e) {
|
|
4408
4357
|
let t;
|
|
4409
4358
|
function r(a, i) {
|
|
4410
4359
|
return (
|
|
4411
4360
|
/*passwordChanged*/
|
|
4412
|
-
a[2] ?
|
|
4361
|
+
a[2] ? _a : xa
|
|
4413
4362
|
);
|
|
4414
4363
|
}
|
|
4415
4364
|
let n = r(e), s = n(e);
|
|
4416
4365
|
return {
|
|
4417
4366
|
c() {
|
|
4418
|
-
t = _("form"), s.c(),
|
|
4367
|
+
t = _("form"), s.c(), o(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
|
|
4419
4368
|
(e[20] ? "PlayerChangePasswordWrapperMobile" : "") + " " + /*mediaQuery*/
|
|
4420
4369
|
(e[21].matches && /*isMobile*/
|
|
4421
4370
|
e[20] ? "PlayerChangePasswordWrapperTablet" : ""));
|
|
@@ -4431,29 +4380,29 @@ function Ra(e) {
|
|
|
4431
4380
|
}
|
|
4432
4381
|
};
|
|
4433
4382
|
}
|
|
4434
|
-
function
|
|
4383
|
+
function _a(e) {
|
|
4435
4384
|
let t, r, n, s = (
|
|
4436
4385
|
/*$_*/
|
|
4437
4386
|
e[19]("changePasswordText") + ""
|
|
4438
|
-
), a, i,
|
|
4387
|
+
), a, i, l, u, h, c, d, p, g = (
|
|
4439
4388
|
/*$_*/
|
|
4440
4389
|
e[19]("passwordReset") + ""
|
|
4441
|
-
),
|
|
4390
|
+
), y, w, T, P = (
|
|
4442
4391
|
/*$_*/
|
|
4443
4392
|
e[19]("passwordResetConfirmation") + ""
|
|
4444
|
-
), B,
|
|
4393
|
+
), B, O, F, k = (
|
|
4445
4394
|
/*$_*/
|
|
4446
4395
|
e[19]("backButtonText") + ""
|
|
4447
|
-
), N, X,
|
|
4396
|
+
), N, X, ee, U = (
|
|
4448
4397
|
/*isMobile*/
|
|
4449
|
-
e[20] &&
|
|
4398
|
+
e[20] && Ea(e)
|
|
4450
4399
|
);
|
|
4451
4400
|
return {
|
|
4452
4401
|
c() {
|
|
4453
|
-
U && U.c(), t = L(), r = _("div"), n = _("h3"), a = H(s), i = L(),
|
|
4402
|
+
U && U.c(), t = L(), r = _("div"), n = _("h3"), a = H(s), i = L(), l = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = L(), d = _("div"), p = _("h3"), y = H(g), w = L(), T = _("p"), B = H(P), O = L(), F = _("div"), N = H(k), o(r, "class", "PlayerChangePasswordHeader"), o(h, "class", "IconContainer"), o(d, "class", "TextContainer"), o(u, "class", "SuccessWrapper"), o(F, "class", "PlayerChangePasswordBackButton"), o(l, "class", "ChangedPasswordSuccessfully");
|
|
4454
4403
|
},
|
|
4455
4404
|
m(M, E) {
|
|
4456
|
-
U && U.m(M, E), I(M, t, E), I(M, r, E), f(r, n), f(n, a), I(M, i, E), I(M,
|
|
4405
|
+
U && U.m(M, E), I(M, t, E), I(M, r, E), f(r, n), f(n, a), I(M, i, E), I(M, l, E), f(l, u), f(u, h), f(u, c), f(u, d), f(d, p), f(p, y), f(d, w), f(d, T), f(T, B), f(l, O), f(l, F), f(F, N), X || (ee = z(
|
|
4457
4406
|
F,
|
|
4458
4407
|
"click",
|
|
4459
4408
|
/*click_handler_9*/
|
|
@@ -4466,102 +4415,102 @@ function Oa(e) {
|
|
|
4466
4415
|
524288 && s !== (s = /*$_*/
|
|
4467
4416
|
M[19]("changePasswordText") + "") && D(a, s), E[0] & /*$_*/
|
|
4468
4417
|
524288 && g !== (g = /*$_*/
|
|
4469
|
-
M[19]("passwordReset") + "") && D(
|
|
4418
|
+
M[19]("passwordReset") + "") && D(y, g), E[0] & /*$_*/
|
|
4470
4419
|
524288 && P !== (P = /*$_*/
|
|
4471
4420
|
M[19]("passwordResetConfirmation") + "") && D(B, P), E[0] & /*$_*/
|
|
4472
4421
|
524288 && k !== (k = /*$_*/
|
|
4473
4422
|
M[19]("backButtonText") + "") && D(N, k);
|
|
4474
4423
|
},
|
|
4475
4424
|
d(M) {
|
|
4476
|
-
M && (A(t), A(r), A(i), A(
|
|
4425
|
+
M && (A(t), A(r), A(i), A(l)), U && U.d(M), X = !1, ee();
|
|
4477
4426
|
}
|
|
4478
4427
|
};
|
|
4479
4428
|
}
|
|
4480
|
-
function
|
|
4429
|
+
function xa(e) {
|
|
4481
4430
|
let t, r, n = (
|
|
4482
4431
|
/*$_*/
|
|
4483
4432
|
e[19]("titleChangePassword") + ""
|
|
4484
|
-
), s, a, i,
|
|
4433
|
+
), s, a, i, l, u, h = (
|
|
4485
4434
|
/*$_*/
|
|
4486
4435
|
e[19]("currentPassword") + ""
|
|
4487
|
-
), c, d, p, g,
|
|
4436
|
+
), c, d, p, g, y, w, T, P, B, O = (
|
|
4488
4437
|
/*$_*/
|
|
4489
4438
|
e[19]("newPassword") + ""
|
|
4490
|
-
), F, k, N, X,
|
|
4439
|
+
), F, k, N, X, ee, U, M, E, Z, fe = (
|
|
4491
4440
|
/*$_*/
|
|
4492
4441
|
e[19]("confirmPassword") + ""
|
|
4493
|
-
),
|
|
4442
|
+
), be, De, Q, re, Ue, we, oe, de, le, Y, pe = (
|
|
4494
4443
|
/*$_*/
|
|
4495
4444
|
e[19]("submitChangePassword") + ""
|
|
4496
|
-
),
|
|
4445
|
+
), $e, me, ye, Ge, Qe, ne = (
|
|
4497
4446
|
/*isMobile*/
|
|
4498
|
-
e[20] &&
|
|
4447
|
+
e[20] && Ca(e)
|
|
4499
4448
|
);
|
|
4500
|
-
function
|
|
4449
|
+
function Ye(m, v) {
|
|
4501
4450
|
return (
|
|
4502
4451
|
/*isCurrentPasswordVisible*/
|
|
4503
|
-
m[10] ?
|
|
4452
|
+
m[10] ? Ba : Ta
|
|
4504
4453
|
);
|
|
4505
4454
|
}
|
|
4506
|
-
let
|
|
4455
|
+
let ve = Ye(e), J = ve(e), $ = (
|
|
4507
4456
|
/*invalidCurrentPassword*/
|
|
4508
|
-
e[4] &&
|
|
4457
|
+
e[4] && lr(e)
|
|
4509
4458
|
);
|
|
4510
|
-
function
|
|
4459
|
+
function Je(m, v) {
|
|
4511
4460
|
return (
|
|
4512
4461
|
/*isNewPasswordVisible*/
|
|
4513
|
-
m[11] ?
|
|
4462
|
+
m[11] ? Ha : Ia
|
|
4514
4463
|
);
|
|
4515
4464
|
}
|
|
4516
|
-
let
|
|
4517
|
-
function
|
|
4465
|
+
let Pe = Je(e), q = Pe(e);
|
|
4466
|
+
function qe(m, v) {
|
|
4518
4467
|
if (
|
|
4519
4468
|
/*oldPasswordSameAsNew*/
|
|
4520
4469
|
m[13]
|
|
4521
|
-
) return
|
|
4470
|
+
) return Na;
|
|
4522
4471
|
if (
|
|
4523
4472
|
/*invalidNewPassword*/
|
|
4524
4473
|
m[5]
|
|
4525
|
-
) return
|
|
4474
|
+
) return Ma;
|
|
4526
4475
|
}
|
|
4527
|
-
let
|
|
4528
|
-
function
|
|
4476
|
+
let ue = qe(e), G = ue && ue(e);
|
|
4477
|
+
function Ke(m, v) {
|
|
4529
4478
|
return (
|
|
4530
4479
|
/*isConfirmPasswordVisible*/
|
|
4531
|
-
m[12] ?
|
|
4480
|
+
m[12] ? Fa : La
|
|
4532
4481
|
);
|
|
4533
4482
|
}
|
|
4534
|
-
let
|
|
4483
|
+
let _e = Ke(e), K = _e(e), j = (
|
|
4535
4484
|
/*invalidConfirmPassword*/
|
|
4536
|
-
e[6] &&
|
|
4485
|
+
e[6] && ur(e)
|
|
4537
4486
|
), V = (
|
|
4538
4487
|
/*showErrorPasswordChanged*/
|
|
4539
|
-
e[18] &&
|
|
4488
|
+
e[18] && hr(e)
|
|
4540
4489
|
);
|
|
4541
4490
|
return {
|
|
4542
4491
|
c() {
|
|
4543
|
-
|
|
4544
|
-
(e[20] ? "ChangePasswordTitleNone" : "")),
|
|
4545
|
-
(e[4] ? "InvalidField" : "")),
|
|
4546
|
-
(e[5] ? "InvalidField" : "")),
|
|
4547
|
-
(e[6] ? "InvalidField" : "")),
|
|
4492
|
+
ne && ne.c(), t = L(), r = _("h2"), s = H(n), a = L(), i = _("section"), l = _("div"), u = _("label"), c = H(h), d = L(), p = _("input"), g = L(), J.c(), y = L(), $ && $.c(), T = L(), P = _("div"), B = _("label"), F = H(O), k = L(), N = _("input"), X = L(), q.c(), ee = L(), G && G.c(), M = L(), E = _("div"), Z = _("label"), be = H(fe), De = L(), Q = _("input"), re = L(), K.c(), Ue = L(), j && j.c(), oe = L(), V && V.c(), de = L(), le = _("section"), Y = _("button"), $e = H(pe), o(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4493
|
+
(e[20] ? "ChangePasswordTitleNone" : "")), o(u, "for", "CurrentPassword"), o(p, "id", "CurrentPassword"), o(p, "type", "password"), o(l, "class", w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4494
|
+
(e[4] ? "InvalidField" : "")), o(B, "for", "NewPassword"), o(N, "id", "NewPassword"), o(N, "autocomplete", "new-password"), o(N, "type", "password"), o(P, "class", U = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4495
|
+
(e[5] ? "InvalidField" : "")), o(Z, "for", "ConfirmPassword"), o(Q, "id", "ConfirmPassword"), o(Q, "type", "password"), o(E, "class", we = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4496
|
+
(e[6] ? "InvalidField" : "")), o(i, "class", "PlayerChangePasswordContent"), o(Y, "class", me = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4548
4497
|
(e[3] ? "" : "ButtonInactive")), Y.disabled = ye = !/*activateSubmit*/
|
|
4549
|
-
e[3],
|
|
4498
|
+
e[3], o(le, "class", "PlayerChangePasswordButtonsArea");
|
|
4550
4499
|
},
|
|
4551
|
-
m(m,
|
|
4552
|
-
|
|
4500
|
+
m(m, v) {
|
|
4501
|
+
ne && ne.m(m, v), I(m, t, v), I(m, r, v), f(r, s), I(m, a, v), I(m, i, v), f(i, l), f(l, u), f(u, c), f(l, d), f(l, p), xe(
|
|
4553
4502
|
p,
|
|
4554
4503
|
/*userCurrentPassword*/
|
|
4555
4504
|
e[14]
|
|
4556
|
-
), e[34](p), f(
|
|
4505
|
+
), e[34](p), f(l, g), J.m(l, null), f(l, y), $ && $.m(l, null), f(i, T), f(i, P), f(P, B), f(B, F), f(P, k), f(P, N), xe(
|
|
4557
4506
|
N,
|
|
4558
4507
|
/*userNewPassword*/
|
|
4559
4508
|
e[15]
|
|
4560
|
-
), e[38](N), f(P, X), q.m(P, null), f(P,
|
|
4509
|
+
), e[38](N), f(P, X), q.m(P, null), f(P, ee), G && G.m(P, null), f(i, M), f(i, E), f(E, Z), f(Z, be), f(E, De), f(E, Q), xe(
|
|
4561
4510
|
Q,
|
|
4562
4511
|
/*userConfirmPassword*/
|
|
4563
4512
|
e[16]
|
|
4564
|
-
), e[42](Q), f(E,
|
|
4513
|
+
), e[42](Q), f(E, re), K.m(E, null), f(E, Ue), j && j.m(E, null), I(m, oe, v), V && V.m(m, v), I(m, de, v), I(m, le, v), f(le, Y), f(Y, $e), Ge || (Qe = [
|
|
4565
4514
|
z(
|
|
4566
4515
|
p,
|
|
4567
4516
|
"input",
|
|
@@ -4569,7 +4518,7 @@ function La(e) {
|
|
|
4569
4518
|
e[33]
|
|
4570
4519
|
),
|
|
4571
4520
|
z(p, "blur", function() {
|
|
4572
|
-
|
|
4521
|
+
Se(
|
|
4573
4522
|
/*validatePassword*/
|
|
4574
4523
|
e[23](
|
|
4575
4524
|
/*invalidCurrentPassword*/
|
|
@@ -4595,7 +4544,7 @@ function La(e) {
|
|
|
4595
4544
|
e[37]
|
|
4596
4545
|
),
|
|
4597
4546
|
z(N, "blur", function() {
|
|
4598
|
-
|
|
4547
|
+
Se(
|
|
4599
4548
|
/*validatePassword*/
|
|
4600
4549
|
e[23](
|
|
4601
4550
|
/*invalidNewPassword*/
|
|
@@ -4621,7 +4570,7 @@ function La(e) {
|
|
|
4621
4570
|
e[41]
|
|
4622
4571
|
),
|
|
4623
4572
|
z(Q, "blur", function() {
|
|
4624
|
-
|
|
4573
|
+
Se(
|
|
4625
4574
|
/*validatePassword*/
|
|
4626
4575
|
e[23](
|
|
4627
4576
|
/*invalidConfirmPassword*/
|
|
@@ -4646,68 +4595,68 @@ function La(e) {
|
|
|
4646
4595
|
/*click_handler_7*/
|
|
4647
4596
|
e[45]
|
|
4648
4597
|
)
|
|
4649
|
-
],
|
|
4598
|
+
], Ge = !0);
|
|
4650
4599
|
},
|
|
4651
|
-
p(m,
|
|
4600
|
+
p(m, v) {
|
|
4652
4601
|
e = m, /*isMobile*/
|
|
4653
|
-
e[20] &&
|
|
4602
|
+
e[20] && ne.p(e, v), v[0] & /*$_*/
|
|
4654
4603
|
524288 && n !== (n = /*$_*/
|
|
4655
|
-
e[19]("titleChangePassword") + "") && D(s, n),
|
|
4604
|
+
e[19]("titleChangePassword") + "") && D(s, n), v[0] & /*$_*/
|
|
4656
4605
|
524288 && h !== (h = /*$_*/
|
|
4657
|
-
e[19]("currentPassword") + "") && D(c, h),
|
|
4606
|
+
e[19]("currentPassword") + "") && D(c, h), v[0] & /*userCurrentPassword*/
|
|
4658
4607
|
16384 && p.value !== /*userCurrentPassword*/
|
|
4659
|
-
e[14] &&
|
|
4608
|
+
e[14] && xe(
|
|
4660
4609
|
p,
|
|
4661
4610
|
/*userCurrentPassword*/
|
|
4662
4611
|
e[14]
|
|
4663
|
-
),
|
|
4664
|
-
e[4] ? $ ? $.p(e,
|
|
4612
|
+
), ve === (ve = Ye(e)) && J ? J.p(e, v) : (J.d(1), J = ve(e), J && (J.c(), J.m(l, y))), /*invalidCurrentPassword*/
|
|
4613
|
+
e[4] ? $ ? $.p(e, v) : ($ = lr(e), $.c(), $.m(l, null)) : $ && ($.d(1), $ = null), v[0] & /*invalidCurrentPassword*/
|
|
4665
4614
|
16 && w !== (w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4666
|
-
(e[4] ? "InvalidField" : "")) && l
|
|
4667
|
-
524288 &&
|
|
4668
|
-
e[19]("newPassword") + "") && D(F,
|
|
4615
|
+
(e[4] ? "InvalidField" : "")) && o(l, "class", w), v[0] & /*$_*/
|
|
4616
|
+
524288 && O !== (O = /*$_*/
|
|
4617
|
+
e[19]("newPassword") + "") && D(F, O), v[0] & /*userNewPassword*/
|
|
4669
4618
|
32768 && N.value !== /*userNewPassword*/
|
|
4670
|
-
e[15] &&
|
|
4619
|
+
e[15] && xe(
|
|
4671
4620
|
N,
|
|
4672
4621
|
/*userNewPassword*/
|
|
4673
4622
|
e[15]
|
|
4674
|
-
),
|
|
4623
|
+
), Pe === (Pe = Je(e)) && q ? q.p(e, v) : (q.d(1), q = Pe(e), q && (q.c(), q.m(P, ee))), ue === (ue = qe(e)) && G ? G.p(e, v) : (G && G.d(1), G = ue && ue(e), G && (G.c(), G.m(P, null))), v[0] & /*invalidNewPassword*/
|
|
4675
4624
|
32 && U !== (U = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4676
|
-
(e[5] ? "InvalidField" : "")) &&
|
|
4677
|
-
524288 &&
|
|
4678
|
-
e[19]("confirmPassword") + "") && D(
|
|
4625
|
+
(e[5] ? "InvalidField" : "")) && o(P, "class", U), v[0] & /*$_*/
|
|
4626
|
+
524288 && fe !== (fe = /*$_*/
|
|
4627
|
+
e[19]("confirmPassword") + "") && D(be, fe), v[0] & /*userConfirmPassword*/
|
|
4679
4628
|
65536 && Q.value !== /*userConfirmPassword*/
|
|
4680
|
-
e[16] &&
|
|
4629
|
+
e[16] && xe(
|
|
4681
4630
|
Q,
|
|
4682
4631
|
/*userConfirmPassword*/
|
|
4683
4632
|
e[16]
|
|
4684
|
-
),
|
|
4685
|
-
e[6] ? j ? j.p(e,
|
|
4686
|
-
64 &&
|
|
4687
|
-
(e[6] ? "InvalidField" : "")) &&
|
|
4688
|
-
e[18] ? V ? V.p(e,
|
|
4689
|
-
524288 &&
|
|
4690
|
-
e[19]("submitChangePassword") + "") && D(
|
|
4691
|
-
8 &&
|
|
4692
|
-
(e[3] ? "" : "ButtonInactive")) &&
|
|
4633
|
+
), _e === (_e = Ke(e)) && K ? K.p(e, v) : (K.d(1), K = _e(e), K && (K.c(), K.m(E, Ue))), /*invalidConfirmPassword*/
|
|
4634
|
+
e[6] ? j ? j.p(e, v) : (j = ur(e), j.c(), j.m(E, null)) : j && (j.d(1), j = null), v[0] & /*invalidConfirmPassword*/
|
|
4635
|
+
64 && we !== (we = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4636
|
+
(e[6] ? "InvalidField" : "")) && o(E, "class", we), /*showErrorPasswordChanged*/
|
|
4637
|
+
e[18] ? V ? V.p(e, v) : (V = hr(e), V.c(), V.m(de.parentNode, de)) : V && (V.d(1), V = null), v[0] & /*$_*/
|
|
4638
|
+
524288 && pe !== (pe = /*$_*/
|
|
4639
|
+
e[19]("submitChangePassword") + "") && D($e, pe), v[0] & /*activateSubmit*/
|
|
4640
|
+
8 && me !== (me = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4641
|
+
(e[3] ? "" : "ButtonInactive")) && o(Y, "class", me), v[0] & /*activateSubmit*/
|
|
4693
4642
|
8 && ye !== (ye = !/*activateSubmit*/
|
|
4694
4643
|
e[3]) && (Y.disabled = ye);
|
|
4695
4644
|
},
|
|
4696
4645
|
d(m) {
|
|
4697
|
-
m && (A(t), A(r), A(a), A(i), A(
|
|
4646
|
+
m && (A(t), A(r), A(a), A(i), A(oe), A(de), A(le)), ne && ne.d(m), e[34](null), J.d(), $ && $.d(), e[38](null), q.d(), G && G.d(), e[42](null), K.d(), j && j.d(), V && V.d(m), Ge = !1, Re(Qe);
|
|
4698
4647
|
}
|
|
4699
4648
|
};
|
|
4700
4649
|
}
|
|
4701
|
-
function
|
|
4702
|
-
let t, r, n, s, a, i,
|
|
4650
|
+
function Ea(e) {
|
|
4651
|
+
let t, r, n, s, a, i, l = (
|
|
4703
4652
|
/*$_*/
|
|
4704
4653
|
e[19]("returnToMenu") + ""
|
|
4705
4654
|
), u, h, c;
|
|
4706
4655
|
return {
|
|
4707
4656
|
c() {
|
|
4708
|
-
t = _("div"), r = b("svg"), n = b("g"), s = b("path"), a = L(), i = _("span"), u = H(
|
|
4657
|
+
t = _("div"), r = b("svg"), n = b("g"), s = b("path"), a = L(), 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
|
|
4709
4658
|
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
|
|
4710
|
-
C52.942,116.507,52.942,124.327,57.633,129.007z`),
|
|
4659
|
+
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"), qr(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");
|
|
4711
4660
|
},
|
|
4712
4661
|
m(d, p) {
|
|
4713
4662
|
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(t, i), f(i, u), h || (c = z(
|
|
@@ -4719,25 +4668,25 @@ function Fa(e) {
|
|
|
4719
4668
|
},
|
|
4720
4669
|
p(d, p) {
|
|
4721
4670
|
p[0] & /*$_*/
|
|
4722
|
-
524288 &&
|
|
4723
|
-
d[19]("returnToMenu") + "") && D(u,
|
|
4671
|
+
524288 && l !== (l = /*$_*/
|
|
4672
|
+
d[19]("returnToMenu") + "") && D(u, l);
|
|
4724
4673
|
},
|
|
4725
4674
|
d(d) {
|
|
4726
4675
|
d && A(t), h = !1, c();
|
|
4727
4676
|
}
|
|
4728
4677
|
};
|
|
4729
4678
|
}
|
|
4730
|
-
function
|
|
4731
|
-
let t, r, n, s, a, i,
|
|
4679
|
+
function Ca(e) {
|
|
4680
|
+
let t, r, n, s, a, i, l, u, h, c, d = (
|
|
4732
4681
|
/*$_*/
|
|
4733
4682
|
e[19]("titleChangePassword") + ""
|
|
4734
|
-
), p, g,
|
|
4683
|
+
), p, g, y;
|
|
4735
4684
|
return {
|
|
4736
4685
|
c() {
|
|
4737
|
-
t = _("div"), r = b("svg"), n = b("defs"), s = b("style"), a = H(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), i = b("g"),
|
|
4686
|
+
t = _("div"), r = b("svg"), n = b("defs"), s = b("style"), a = H(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), i = b("g"), l = b("g"), u = b("path"), h = L(), c = _("h2"), p = H(d), 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");
|
|
4738
4687
|
},
|
|
4739
4688
|
m(w, T) {
|
|
4740
|
-
I(w, t, T), f(t, r), f(r, n), f(n, s), f(s, a), f(r, i), f(i,
|
|
4689
|
+
I(w, t, T), f(t, r), f(r, n), f(n, s), f(s, a), f(r, i), f(i, l), f(l, u), f(t, h), f(t, c), f(c, p), g || (y = z(
|
|
4741
4690
|
t,
|
|
4742
4691
|
"click",
|
|
4743
4692
|
/*click_handler*/
|
|
@@ -4750,20 +4699,20 @@ function ka(e) {
|
|
|
4750
4699
|
w[19]("titleChangePassword") + "") && D(p, d);
|
|
4751
4700
|
},
|
|
4752
4701
|
d(w) {
|
|
4753
|
-
w && A(t), g = !1,
|
|
4702
|
+
w && A(t), g = !1, y();
|
|
4754
4703
|
}
|
|
4755
4704
|
};
|
|
4756
4705
|
}
|
|
4757
|
-
function
|
|
4758
|
-
let t, r, n, s, a, i,
|
|
4706
|
+
function Ta(e) {
|
|
4707
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
4759
4708
|
return {
|
|
4760
4709
|
c() {
|
|
4761
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"),
|
|
4710
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"), l = b("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*/
|
|
4762
4711
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4763
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4712
|
+
(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");
|
|
4764
4713
|
},
|
|
4765
4714
|
m(d, p) {
|
|
4766
|
-
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
4715
|
+
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, l), h || (c = z(
|
|
4767
4716
|
t,
|
|
4768
4717
|
"click",
|
|
4769
4718
|
/*click_handler_2*/
|
|
@@ -4774,23 +4723,23 @@ function Da(e) {
|
|
|
4774
4723
|
p[0] & /*invalidCurrentPassword*/
|
|
4775
4724
|
16 && u !== (u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4776
4725
|
(d[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4777
|
-
(d[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4726
|
+
(d[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
4778
4727
|
},
|
|
4779
4728
|
d(d) {
|
|
4780
4729
|
d && A(t), h = !1, c();
|
|
4781
4730
|
}
|
|
4782
4731
|
};
|
|
4783
4732
|
}
|
|
4784
|
-
function
|
|
4785
|
-
let t, r, n, s, a, i,
|
|
4733
|
+
function Ba(e) {
|
|
4734
|
+
let t, r, n, s, a, i, l, u, h, c, d, p, g, y, w, T;
|
|
4786
4735
|
return {
|
|
4787
4736
|
c() {
|
|
4788
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"),
|
|
4737
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"), l = b("g"), u = b("path"), h = b("path"), c = b("g"), d = b("path"), p = b("path"), g = b("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(d, "class", "a"), o(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(d, "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(g, "class", "a"), o(g, "width", "0.972"), o(g, "height", "15.861"), o(g, "rx", "0.486"), o(g, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", y = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4789
4738
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4790
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4739
|
+
(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");
|
|
4791
4740
|
},
|
|
4792
4741
|
m(P, B) {
|
|
4793
|
-
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
4742
|
+
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, l), f(l, u), f(l, h), f(a, c), f(c, d), f(c, p), f(a, g), w || (T = z(
|
|
4794
4743
|
t,
|
|
4795
4744
|
"click",
|
|
4796
4745
|
/*click_handler_1*/
|
|
@@ -4799,27 +4748,27 @@ function Ua(e) {
|
|
|
4799
4748
|
},
|
|
4800
4749
|
p(P, B) {
|
|
4801
4750
|
B[0] & /*invalidCurrentPassword*/
|
|
4802
|
-
16 &&
|
|
4751
|
+
16 && y !== (y = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4803
4752
|
(P[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4804
|
-
(P[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4753
|
+
(P[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", y);
|
|
4805
4754
|
},
|
|
4806
4755
|
d(P) {
|
|
4807
4756
|
P && A(t), w = !1, T();
|
|
4808
4757
|
}
|
|
4809
4758
|
};
|
|
4810
4759
|
}
|
|
4811
|
-
function
|
|
4760
|
+
function lr(e) {
|
|
4812
4761
|
let t;
|
|
4813
4762
|
function r(a, i) {
|
|
4814
4763
|
return (
|
|
4815
4764
|
/*simplepasswordvalidation*/
|
|
4816
|
-
a[0] == "true" ?
|
|
4765
|
+
a[0] == "true" ? Aa : Sa
|
|
4817
4766
|
);
|
|
4818
4767
|
}
|
|
4819
4768
|
let n = r(e), s = n(e);
|
|
4820
4769
|
return {
|
|
4821
4770
|
c() {
|
|
4822
|
-
s.c(), t =
|
|
4771
|
+
s.c(), t = pr();
|
|
4823
4772
|
},
|
|
4824
4773
|
m(a, i) {
|
|
4825
4774
|
s.m(a, i), I(a, t, i);
|
|
@@ -4832,14 +4781,14 @@ function gr(e) {
|
|
|
4832
4781
|
}
|
|
4833
4782
|
};
|
|
4834
4783
|
}
|
|
4835
|
-
function
|
|
4784
|
+
function Sa(e) {
|
|
4836
4785
|
let t, r = (
|
|
4837
4786
|
/*$_*/
|
|
4838
4787
|
e[19]("invalidPasswordRule") + ""
|
|
4839
4788
|
), n;
|
|
4840
4789
|
return {
|
|
4841
4790
|
c() {
|
|
4842
|
-
t = _("p"), n = H(r),
|
|
4791
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInput");
|
|
4843
4792
|
},
|
|
4844
4793
|
m(s, a) {
|
|
4845
4794
|
I(s, t, a), f(t, n);
|
|
@@ -4854,14 +4803,14 @@ function $a(e) {
|
|
|
4854
4803
|
}
|
|
4855
4804
|
};
|
|
4856
4805
|
}
|
|
4857
|
-
function
|
|
4806
|
+
function Aa(e) {
|
|
4858
4807
|
let t, r = (
|
|
4859
4808
|
/*$_*/
|
|
4860
4809
|
e[19]("simplePasswordError") + ""
|
|
4861
4810
|
), n;
|
|
4862
4811
|
return {
|
|
4863
4812
|
c() {
|
|
4864
|
-
t = _("p"), n = H(r),
|
|
4813
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInput");
|
|
4865
4814
|
},
|
|
4866
4815
|
m(s, a) {
|
|
4867
4816
|
I(s, t, a), f(t, n);
|
|
@@ -4876,16 +4825,16 @@ function Ga(e) {
|
|
|
4876
4825
|
}
|
|
4877
4826
|
};
|
|
4878
4827
|
}
|
|
4879
|
-
function
|
|
4880
|
-
let t, r, n, s, a, i,
|
|
4828
|
+
function Ia(e) {
|
|
4829
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
4881
4830
|
return {
|
|
4882
4831
|
c() {
|
|
4883
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"),
|
|
4832
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"), l = b("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*/
|
|
4884
4833
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4885
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4834
|
+
(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");
|
|
4886
4835
|
},
|
|
4887
4836
|
m(d, p) {
|
|
4888
|
-
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
4837
|
+
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, l), h || (c = z(
|
|
4889
4838
|
t,
|
|
4890
4839
|
"click",
|
|
4891
4840
|
/*click_handler_4*/
|
|
@@ -4896,23 +4845,23 @@ function ja(e) {
|
|
|
4896
4845
|
p[0] & /*invalidNewPassword*/
|
|
4897
4846
|
32 && u !== (u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4898
4847
|
(d[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4899
|
-
(d[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4848
|
+
(d[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
4900
4849
|
},
|
|
4901
4850
|
d(d) {
|
|
4902
4851
|
d && A(t), h = !1, c();
|
|
4903
4852
|
}
|
|
4904
4853
|
};
|
|
4905
4854
|
}
|
|
4906
|
-
function
|
|
4907
|
-
let t, r, n, s, a, i,
|
|
4855
|
+
function Ha(e) {
|
|
4856
|
+
let t, r, n, s, a, i, l, u, h, c, d, p, g, y, w, T;
|
|
4908
4857
|
return {
|
|
4909
4858
|
c() {
|
|
4910
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"),
|
|
4859
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"), l = b("g"), u = b("path"), h = b("path"), c = b("g"), d = b("path"), p = b("path"), g = b("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(d, "class", "a"), o(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(d, "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(g, "class", "a"), o(g, "width", "0.972"), o(g, "height", "15.861"), o(g, "rx", "0.486"), o(g, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", y = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4911
4860
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4912
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4861
|
+
(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");
|
|
4913
4862
|
},
|
|
4914
4863
|
m(P, B) {
|
|
4915
|
-
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
4864
|
+
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, l), f(l, u), f(l, h), f(a, c), f(c, d), f(c, p), f(a, g), w || (T = z(
|
|
4916
4865
|
t,
|
|
4917
4866
|
"click",
|
|
4918
4867
|
/*click_handler_3*/
|
|
@@ -4921,27 +4870,27 @@ function Va(e) {
|
|
|
4921
4870
|
},
|
|
4922
4871
|
p(P, B) {
|
|
4923
4872
|
B[0] & /*invalidNewPassword*/
|
|
4924
|
-
32 &&
|
|
4873
|
+
32 && y !== (y = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4925
4874
|
(P[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4926
|
-
(P[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4875
|
+
(P[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", y);
|
|
4927
4876
|
},
|
|
4928
4877
|
d(P) {
|
|
4929
4878
|
P && A(t), w = !1, T();
|
|
4930
4879
|
}
|
|
4931
4880
|
};
|
|
4932
4881
|
}
|
|
4933
|
-
function
|
|
4882
|
+
function Ma(e) {
|
|
4934
4883
|
let t;
|
|
4935
4884
|
function r(a, i) {
|
|
4936
4885
|
return (
|
|
4937
4886
|
/*simplepasswordvalidation*/
|
|
4938
|
-
a[0] == "true" ?
|
|
4887
|
+
a[0] == "true" ? Ra : Oa
|
|
4939
4888
|
);
|
|
4940
4889
|
}
|
|
4941
4890
|
let n = r(e), s = n(e);
|
|
4942
4891
|
return {
|
|
4943
4892
|
c() {
|
|
4944
|
-
s.c(), t =
|
|
4893
|
+
s.c(), t = pr();
|
|
4945
4894
|
},
|
|
4946
4895
|
m(a, i) {
|
|
4947
4896
|
s.m(a, i), I(a, t, i);
|
|
@@ -4954,14 +4903,14 @@ function za(e) {
|
|
|
4954
4903
|
}
|
|
4955
4904
|
};
|
|
4956
4905
|
}
|
|
4957
|
-
function
|
|
4906
|
+
function Na(e) {
|
|
4958
4907
|
let t, r = (
|
|
4959
4908
|
/*$_*/
|
|
4960
4909
|
e[19]("invalidNewPassword") + ""
|
|
4961
4910
|
), n;
|
|
4962
4911
|
return {
|
|
4963
4912
|
c() {
|
|
4964
|
-
t = _("p"), n = H(r),
|
|
4913
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInputNew");
|
|
4965
4914
|
},
|
|
4966
4915
|
m(s, a) {
|
|
4967
4916
|
I(s, t, a), f(t, n);
|
|
@@ -4976,14 +4925,14 @@ function Wa(e) {
|
|
|
4976
4925
|
}
|
|
4977
4926
|
};
|
|
4978
4927
|
}
|
|
4979
|
-
function
|
|
4928
|
+
function Oa(e) {
|
|
4980
4929
|
let t, r = (
|
|
4981
4930
|
/*$_*/
|
|
4982
4931
|
e[19]("invalidPasswordRule") + ""
|
|
4983
4932
|
), n;
|
|
4984
4933
|
return {
|
|
4985
4934
|
c() {
|
|
4986
|
-
t = _("p"), n = H(r),
|
|
4935
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInput");
|
|
4987
4936
|
},
|
|
4988
4937
|
m(s, a) {
|
|
4989
4938
|
I(s, t, a), f(t, n);
|
|
@@ -4998,14 +4947,14 @@ function Xa(e) {
|
|
|
4998
4947
|
}
|
|
4999
4948
|
};
|
|
5000
4949
|
}
|
|
5001
|
-
function
|
|
4950
|
+
function Ra(e) {
|
|
5002
4951
|
let t, r = (
|
|
5003
4952
|
/*$_*/
|
|
5004
4953
|
e[19]("simplePasswordError") + ""
|
|
5005
4954
|
), n;
|
|
5006
4955
|
return {
|
|
5007
4956
|
c() {
|
|
5008
|
-
t = _("p"), n = H(r),
|
|
4957
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInput");
|
|
5009
4958
|
},
|
|
5010
4959
|
m(s, a) {
|
|
5011
4960
|
I(s, t, a), f(t, n);
|
|
@@ -5020,16 +4969,16 @@ function Za(e) {
|
|
|
5020
4969
|
}
|
|
5021
4970
|
};
|
|
5022
4971
|
}
|
|
5023
|
-
function
|
|
5024
|
-
let t, r, n, s, a, i,
|
|
4972
|
+
function La(e) {
|
|
4973
|
+
let t, r, n, s, a, i, l, u, h, c;
|
|
5025
4974
|
return {
|
|
5026
4975
|
c() {
|
|
5027
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"),
|
|
4976
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"), l = b("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*/
|
|
5028
4977
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5029
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4978
|
+
(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");
|
|
5030
4979
|
},
|
|
5031
4980
|
m(d, p) {
|
|
5032
|
-
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
4981
|
+
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, l), h || (c = z(
|
|
5033
4982
|
t,
|
|
5034
4983
|
"click",
|
|
5035
4984
|
/*click_handler_6*/
|
|
@@ -5040,23 +4989,23 @@ function Qa(e) {
|
|
|
5040
4989
|
p[0] & /*invalidConfirmPassword*/
|
|
5041
4990
|
64 && u !== (u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5042
4991
|
(d[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5043
|
-
(d[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4992
|
+
(d[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
5044
4993
|
},
|
|
5045
4994
|
d(d) {
|
|
5046
4995
|
d && A(t), h = !1, c();
|
|
5047
4996
|
}
|
|
5048
4997
|
};
|
|
5049
4998
|
}
|
|
5050
|
-
function
|
|
5051
|
-
let t, r, n, s, a, i,
|
|
4999
|
+
function Fa(e) {
|
|
5000
|
+
let t, r, n, s, a, i, l, u, h, c, d, p, g, y, w, T;
|
|
5052
5001
|
return {
|
|
5053
5002
|
c() {
|
|
5054
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"),
|
|
5003
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"), l = b("g"), u = b("path"), h = b("path"), c = b("g"), d = b("path"), p = b("path"), g = b("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(d, "class", "a"), o(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(d, "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(g, "class", "a"), o(g, "width", "0.972"), o(g, "height", "15.861"), o(g, "rx", "0.486"), o(g, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(a, "transform", "translate(-110.856 -23.242)"), o(t, "class", y = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5055
5004
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5056
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5005
|
+
(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");
|
|
5057
5006
|
},
|
|
5058
5007
|
m(P, B) {
|
|
5059
|
-
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
5008
|
+
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, l), f(l, u), f(l, h), f(a, c), f(c, d), f(c, p), f(a, g), w || (T = z(
|
|
5060
5009
|
t,
|
|
5061
5010
|
"click",
|
|
5062
5011
|
/*click_handler_5*/
|
|
@@ -5065,23 +5014,23 @@ function Ya(e) {
|
|
|
5065
5014
|
},
|
|
5066
5015
|
p(P, B) {
|
|
5067
5016
|
B[0] & /*invalidConfirmPassword*/
|
|
5068
|
-
64 &&
|
|
5017
|
+
64 && y !== (y = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5069
5018
|
(P[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5070
|
-
(P[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5019
|
+
(P[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", y);
|
|
5071
5020
|
},
|
|
5072
5021
|
d(P) {
|
|
5073
5022
|
P && A(t), w = !1, T();
|
|
5074
5023
|
}
|
|
5075
5024
|
};
|
|
5076
5025
|
}
|
|
5077
|
-
function
|
|
5026
|
+
function ur(e) {
|
|
5078
5027
|
let t, r = (
|
|
5079
5028
|
/*$_*/
|
|
5080
5029
|
e[19]("confirmPasswordInvalid") + ""
|
|
5081
5030
|
), n;
|
|
5082
5031
|
return {
|
|
5083
5032
|
c() {
|
|
5084
|
-
t = _("p"), n = H(r),
|
|
5033
|
+
t = _("p"), n = H(r), o(t, "class", "InvalidInput");
|
|
5085
5034
|
},
|
|
5086
5035
|
m(s, a) {
|
|
5087
5036
|
I(s, t, a), f(t, n);
|
|
@@ -5096,14 +5045,14 @@ function br(e) {
|
|
|
5096
5045
|
}
|
|
5097
5046
|
};
|
|
5098
5047
|
}
|
|
5099
|
-
function
|
|
5048
|
+
function hr(e) {
|
|
5100
5049
|
let t, r, n;
|
|
5101
5050
|
return {
|
|
5102
5051
|
c() {
|
|
5103
5052
|
t = _("div"), r = _("p"), n = H(
|
|
5104
5053
|
/*errorPasswordChanged*/
|
|
5105
5054
|
e[17]
|
|
5106
|
-
),
|
|
5055
|
+
), o(r, "class", "PasswordChangedError");
|
|
5107
5056
|
},
|
|
5108
5057
|
m(s, a) {
|
|
5109
5058
|
I(s, t, a), f(t, r), f(r, n);
|
|
@@ -5121,10 +5070,10 @@ function wr(e) {
|
|
|
5121
5070
|
}
|
|
5122
5071
|
};
|
|
5123
5072
|
}
|
|
5124
|
-
function
|
|
5073
|
+
function ka(e) {
|
|
5125
5074
|
let t;
|
|
5126
5075
|
function r(a, i) {
|
|
5127
|
-
return
|
|
5076
|
+
return Pa;
|
|
5128
5077
|
}
|
|
5129
5078
|
let s = r()(e);
|
|
5130
5079
|
return {
|
|
@@ -5137,52 +5086,52 @@ function Ja(e) {
|
|
|
5137
5086
|
p(a, i) {
|
|
5138
5087
|
s.p(a, i);
|
|
5139
5088
|
},
|
|
5140
|
-
i:
|
|
5141
|
-
o:
|
|
5089
|
+
i: te,
|
|
5090
|
+
o: te,
|
|
5142
5091
|
d(a) {
|
|
5143
5092
|
a && A(t), s.d(), e[48](null);
|
|
5144
5093
|
}
|
|
5145
5094
|
};
|
|
5146
5095
|
}
|
|
5147
|
-
function
|
|
5096
|
+
function Da(e, t, r) {
|
|
5148
5097
|
let n;
|
|
5149
|
-
|
|
5150
|
-
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl:
|
|
5151
|
-
const
|
|
5098
|
+
Xr(e, ba, (m) => r(19, n = m));
|
|
5099
|
+
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { passwordregex: h = "" } = t, c, d = window.navigator.userAgent, p = wa(d) !== "PC", g = !1;
|
|
5100
|
+
const y = window.matchMedia("(min-width: 768px)"), w = {
|
|
5152
5101
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5153
5102
|
};
|
|
5154
|
-
let T = !1, P = !1, B = !1,
|
|
5103
|
+
let T = !1, P = !1, B = !1, O, F, k, N = !1, X = !1, ee = !1, U = !1, M = "", E = "", Z = "", fe = !1, be = "", De = !1;
|
|
5155
5104
|
const Q = () => {
|
|
5156
|
-
fetch(u).then((
|
|
5157
|
-
Object.keys(
|
|
5158
|
-
|
|
5105
|
+
fetch(u).then((v) => v.json()).then((v) => {
|
|
5106
|
+
Object.keys(v).forEach((se) => {
|
|
5107
|
+
ir(se, v[se]);
|
|
5159
5108
|
});
|
|
5160
|
-
}).catch((
|
|
5161
|
-
console.log(
|
|
5109
|
+
}).catch((v) => {
|
|
5110
|
+
console.log(v);
|
|
5162
5111
|
});
|
|
5163
5112
|
};
|
|
5164
|
-
Object.keys(
|
|
5165
|
-
|
|
5113
|
+
Object.keys(or).forEach((m) => {
|
|
5114
|
+
ir(m, or[m]);
|
|
5166
5115
|
});
|
|
5167
|
-
const
|
|
5116
|
+
const re = (m) => {
|
|
5168
5117
|
switch (m) {
|
|
5169
5118
|
case "userCurrentPassword":
|
|
5170
|
-
r(10, N = !N), r(7,
|
|
5119
|
+
r(10, N = !N), r(7, O.type = N ? "text" : "password", O);
|
|
5171
5120
|
break;
|
|
5172
5121
|
case "userNewPassword":
|
|
5173
5122
|
r(11, X = !X), r(8, F.type = X ? "text" : "password", F);
|
|
5174
5123
|
break;
|
|
5175
5124
|
case "userConfirmPassword":
|
|
5176
|
-
r(12,
|
|
5125
|
+
r(12, ee = !ee), r(9, k.type = ee ? "text" : "password", k);
|
|
5177
5126
|
break;
|
|
5178
5127
|
}
|
|
5179
|
-
},
|
|
5128
|
+
}, Ue = () => {
|
|
5180
5129
|
a == "true" && (w.password = /^(?!.* ).{8,20}$/);
|
|
5181
|
-
},
|
|
5182
|
-
|
|
5183
|
-
},
|
|
5130
|
+
}, we = (m, v, se) => {
|
|
5131
|
+
se.id === "CurrentPassword" ? r(4, T = !oe(v)) : se.id === "NewPassword" ? (r(5, P = !oe(v)), M && r(13, U = M === E), Z && r(6, B = E === Z ? !oe(v) : !0)) : r(6, B = E === Z ? !oe(v) : !0), de();
|
|
5132
|
+
}, oe = (m) => !!w.password.test(m), de = () => {
|
|
5184
5133
|
!T && !P && !B && !U && M && E && Z ? r(3, g = !0) : r(3, g = !1);
|
|
5185
|
-
},
|
|
5134
|
+
}, le = (m) => {
|
|
5186
5135
|
m.preventDefault(), g && window.postMessage(
|
|
5187
5136
|
{
|
|
5188
5137
|
type: "ChangePassword",
|
|
@@ -5199,141 +5148,141 @@ function qa(e, t, r) {
|
|
|
5199
5148
|
},
|
|
5200
5149
|
window.location.href
|
|
5201
5150
|
);
|
|
5202
|
-
},
|
|
5151
|
+
}, pe = () => {
|
|
5203
5152
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5204
|
-
},
|
|
5205
|
-
|
|
5206
|
-
},
|
|
5153
|
+
}, $e = () => {
|
|
5154
|
+
ya(s);
|
|
5155
|
+
}, me = (m) => {
|
|
5207
5156
|
if (m.data)
|
|
5208
5157
|
switch (m.data.type) {
|
|
5209
5158
|
case "PasswordChangedSuccessfully":
|
|
5210
|
-
r(2,
|
|
5159
|
+
r(2, fe = !0);
|
|
5211
5160
|
break;
|
|
5212
5161
|
case "ShowPasswordChangedError":
|
|
5213
|
-
r(18,
|
|
5162
|
+
r(18, De = m.data.showErrorPasswordChanged), r(17, be = m.data.errorPasswordChanged);
|
|
5214
5163
|
break;
|
|
5215
5164
|
}
|
|
5216
5165
|
}, ye = () => {
|
|
5217
5166
|
let m = document.createElement("style");
|
|
5218
5167
|
m.innerHTML = i, c.appendChild(m);
|
|
5219
|
-
},
|
|
5220
|
-
let m = new URL(
|
|
5221
|
-
fetch(m.href).then((
|
|
5222
|
-
|
|
5168
|
+
}, Ge = () => {
|
|
5169
|
+
let m = new URL(l), v = document.createElement("style");
|
|
5170
|
+
fetch(m.href).then((se) => se.text()).then((se) => {
|
|
5171
|
+
v.innerHTML = se, setTimeout(
|
|
5223
5172
|
() => {
|
|
5224
|
-
c.appendChild(
|
|
5173
|
+
c.appendChild(v);
|
|
5225
5174
|
},
|
|
5226
5175
|
1
|
|
5227
5176
|
);
|
|
5228
5177
|
});
|
|
5229
5178
|
};
|
|
5230
|
-
|
|
5231
|
-
window.removeEventListener("message",
|
|
5179
|
+
tn(() => (window.addEventListener("message", me, !1), () => {
|
|
5180
|
+
window.removeEventListener("message", me);
|
|
5232
5181
|
}));
|
|
5233
|
-
const
|
|
5234
|
-
function
|
|
5182
|
+
const Qe = () => Y();
|
|
5183
|
+
function ne() {
|
|
5235
5184
|
M = this.value, r(14, M);
|
|
5236
5185
|
}
|
|
5237
|
-
function
|
|
5238
|
-
|
|
5239
|
-
|
|
5186
|
+
function Ye(m) {
|
|
5187
|
+
Be[m ? "unshift" : "push"](() => {
|
|
5188
|
+
O = m, r(7, O);
|
|
5240
5189
|
});
|
|
5241
5190
|
}
|
|
5242
|
-
const
|
|
5191
|
+
const ve = () => re("userCurrentPassword"), J = () => re("userCurrentPassword");
|
|
5243
5192
|
function $() {
|
|
5244
5193
|
E = this.value, r(15, E);
|
|
5245
5194
|
}
|
|
5246
|
-
function
|
|
5247
|
-
|
|
5195
|
+
function Je(m) {
|
|
5196
|
+
Be[m ? "unshift" : "push"](() => {
|
|
5248
5197
|
F = m, r(8, F);
|
|
5249
5198
|
});
|
|
5250
5199
|
}
|
|
5251
|
-
const
|
|
5252
|
-
function
|
|
5200
|
+
const Pe = () => re("userNewPassword"), q = () => re("userNewPassword");
|
|
5201
|
+
function qe() {
|
|
5253
5202
|
Z = this.value, r(16, Z);
|
|
5254
5203
|
}
|
|
5255
|
-
function
|
|
5256
|
-
|
|
5204
|
+
function ue(m) {
|
|
5205
|
+
Be[m ? "unshift" : "push"](() => {
|
|
5257
5206
|
k = m, r(9, k);
|
|
5258
5207
|
});
|
|
5259
5208
|
}
|
|
5260
|
-
const G = () =>
|
|
5209
|
+
const G = () => re("userConfirmPassword"), Ke = () => re("userConfirmPassword"), _e = (m) => le(m), K = () => Y(), j = () => pe();
|
|
5261
5210
|
function V(m) {
|
|
5262
|
-
|
|
5211
|
+
Be[m ? "unshift" : "push"](() => {
|
|
5263
5212
|
c = m, r(1, c);
|
|
5264
5213
|
});
|
|
5265
5214
|
}
|
|
5266
5215
|
return e.$$set = (m) => {
|
|
5267
|
-
"lang" in m && r(27, s = m.lang), "simplepasswordvalidation" in m && r(0, a = m.simplepasswordvalidation), "clientstyling" in m && r(28, i = m.clientstyling), "clientstylingurl" in m && r(29,
|
|
5216
|
+
"lang" in m && r(27, s = m.lang), "simplepasswordvalidation" in m && r(0, a = m.simplepasswordvalidation), "clientstyling" in m && r(28, i = m.clientstyling), "clientstylingurl" in m && r(29, l = m.clientstylingurl), "translationurl" in m && r(30, u = m.translationurl), "passwordregex" in m && r(31, h = m.passwordregex);
|
|
5268
5217
|
}, e.$$.update = () => {
|
|
5269
5218
|
e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5270
|
-
1 && a &&
|
|
5219
|
+
1 && a && Ue(), e.$$.dirty[1] & /*passwordregex*/
|
|
5271
5220
|
1 && h && (w.password = new RegExp(h)), e.$$.dirty[0] & /*lang*/
|
|
5272
|
-
134217728 && s &&
|
|
5221
|
+
134217728 && s && $e(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5273
5222
|
4, e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5274
|
-
536870914 &&
|
|
5223
|
+
536870914 && l && c && Ge(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5275
5224
|
268435458 && i && c && ye(), e.$$.dirty[0] & /*translationurl*/
|
|
5276
5225
|
1073741824 && u && Q();
|
|
5277
5226
|
}, [
|
|
5278
5227
|
a,
|
|
5279
5228
|
c,
|
|
5280
|
-
|
|
5229
|
+
fe,
|
|
5281
5230
|
g,
|
|
5282
5231
|
T,
|
|
5283
5232
|
P,
|
|
5284
5233
|
B,
|
|
5285
|
-
|
|
5234
|
+
O,
|
|
5286
5235
|
F,
|
|
5287
5236
|
k,
|
|
5288
5237
|
N,
|
|
5289
5238
|
X,
|
|
5290
|
-
|
|
5239
|
+
ee,
|
|
5291
5240
|
U,
|
|
5292
5241
|
M,
|
|
5293
5242
|
E,
|
|
5294
5243
|
Z,
|
|
5295
|
-
|
|
5296
|
-
|
|
5244
|
+
be,
|
|
5245
|
+
De,
|
|
5297
5246
|
n,
|
|
5298
5247
|
p,
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5248
|
+
y,
|
|
5249
|
+
re,
|
|
5250
|
+
we,
|
|
5251
|
+
le,
|
|
5303
5252
|
Y,
|
|
5304
|
-
|
|
5253
|
+
pe,
|
|
5305
5254
|
s,
|
|
5306
5255
|
i,
|
|
5307
|
-
|
|
5256
|
+
l,
|
|
5308
5257
|
u,
|
|
5309
5258
|
h,
|
|
5259
|
+
Qe,
|
|
5260
|
+
ne,
|
|
5310
5261
|
Ye,
|
|
5311
|
-
|
|
5312
|
-
Je,
|
|
5313
|
-
Pe,
|
|
5262
|
+
ve,
|
|
5314
5263
|
J,
|
|
5315
5264
|
$,
|
|
5316
|
-
|
|
5317
|
-
|
|
5265
|
+
Je,
|
|
5266
|
+
Pe,
|
|
5318
5267
|
q,
|
|
5319
|
-
|
|
5320
|
-
|
|
5268
|
+
qe,
|
|
5269
|
+
ue,
|
|
5321
5270
|
G,
|
|
5322
|
-
|
|
5323
|
-
|
|
5271
|
+
Ke,
|
|
5272
|
+
_e,
|
|
5324
5273
|
K,
|
|
5325
5274
|
j,
|
|
5326
5275
|
V
|
|
5327
5276
|
];
|
|
5328
5277
|
}
|
|
5329
|
-
class
|
|
5278
|
+
class Ua extends pn {
|
|
5330
5279
|
constructor(t) {
|
|
5331
|
-
super(),
|
|
5280
|
+
super(), fn(
|
|
5332
5281
|
this,
|
|
5333
5282
|
t,
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5283
|
+
Da,
|
|
5284
|
+
ka,
|
|
5285
|
+
fr,
|
|
5337
5286
|
{
|
|
5338
5287
|
lang: 27,
|
|
5339
5288
|
simplepasswordvalidation: 0,
|
|
@@ -5342,7 +5291,7 @@ class Ka extends Sn {
|
|
|
5342
5291
|
translationurl: 30,
|
|
5343
5292
|
passwordregex: 31
|
|
5344
5293
|
},
|
|
5345
|
-
|
|
5294
|
+
va,
|
|
5346
5295
|
[-1, -1]
|
|
5347
5296
|
);
|
|
5348
5297
|
}
|
|
@@ -5350,40 +5299,40 @@ class Ka extends Sn {
|
|
|
5350
5299
|
return this.$$.ctx[27];
|
|
5351
5300
|
}
|
|
5352
5301
|
set lang(t) {
|
|
5353
|
-
this.$$set({ lang: t }),
|
|
5302
|
+
this.$$set({ lang: t }), he();
|
|
5354
5303
|
}
|
|
5355
5304
|
get simplepasswordvalidation() {
|
|
5356
5305
|
return this.$$.ctx[0];
|
|
5357
5306
|
}
|
|
5358
5307
|
set simplepasswordvalidation(t) {
|
|
5359
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5308
|
+
this.$$set({ simplepasswordvalidation: t }), he();
|
|
5360
5309
|
}
|
|
5361
5310
|
get clientstyling() {
|
|
5362
5311
|
return this.$$.ctx[28];
|
|
5363
5312
|
}
|
|
5364
5313
|
set clientstyling(t) {
|
|
5365
|
-
this.$$set({ clientstyling: t }),
|
|
5314
|
+
this.$$set({ clientstyling: t }), he();
|
|
5366
5315
|
}
|
|
5367
5316
|
get clientstylingurl() {
|
|
5368
5317
|
return this.$$.ctx[29];
|
|
5369
5318
|
}
|
|
5370
5319
|
set clientstylingurl(t) {
|
|
5371
|
-
this.$$set({ clientstylingurl: t }),
|
|
5320
|
+
this.$$set({ clientstylingurl: t }), he();
|
|
5372
5321
|
}
|
|
5373
5322
|
get translationurl() {
|
|
5374
5323
|
return this.$$.ctx[30];
|
|
5375
5324
|
}
|
|
5376
5325
|
set translationurl(t) {
|
|
5377
|
-
this.$$set({ translationurl: t }),
|
|
5326
|
+
this.$$set({ translationurl: t }), he();
|
|
5378
5327
|
}
|
|
5379
5328
|
get passwordregex() {
|
|
5380
5329
|
return this.$$.ctx[31];
|
|
5381
5330
|
}
|
|
5382
5331
|
set passwordregex(t) {
|
|
5383
|
-
this.$$set({ passwordregex: t }),
|
|
5332
|
+
this.$$set({ passwordregex: t }), he();
|
|
5384
5333
|
}
|
|
5385
5334
|
}
|
|
5386
|
-
|
|
5335
|
+
dn(Ua, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5387
5336
|
export {
|
|
5388
|
-
|
|
5337
|
+
Ua as P
|
|
5389
5338
|
};
|