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