@everymatrix/general-player-forgot-password-form-nd 1.45.0 → 1.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralPlayerForgotPasswordFormNd-BeBy9lr9.cjs +5 -0
- package/components/{GeneralPlayerForgotPasswordFormNd-i2CxrO_R.js → GeneralPlayerForgotPasswordFormNd-_ETKYahG.js} +1188 -1188
- package/es2015/general-player-forgot-password-form-nd.cjs +1 -1
- package/es2015/general-player-forgot-password-form-nd.js +1 -1
- package/package.json +2 -2
- package/components/GeneralPlayerForgotPasswordFormNd-CD4E1oVn.cjs +0 -5
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var it = (e, t, r) => t in e ?
|
|
1
|
+
var _o = Object.defineProperty, xo = Object.defineProperties;
|
|
2
|
+
var To = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ft = 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, Rt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
So.call(t, r) && it(e, r, t[r]);
|
|
8
|
+
if (Ft)
|
|
9
|
+
for (var r of Ft(t))
|
|
10
|
+
Bo.call(t, r) && it(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Mt = (e, t) => xo(e, To(t));
|
|
13
13
|
var fe = (e, t, r) => it(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var at = (e, t, r) => new Promise((
|
|
14
|
+
var at = (e, t, r) => new Promise((o, s) => {
|
|
15
15
|
var n = (u) => {
|
|
16
16
|
try {
|
|
17
17
|
l(r.next(u));
|
|
18
18
|
} catch (c) {
|
|
19
|
-
|
|
19
|
+
s(c);
|
|
20
20
|
}
|
|
21
21
|
}, a = (u) => {
|
|
22
22
|
try {
|
|
23
23
|
l(r.throw(u));
|
|
24
24
|
} catch (c) {
|
|
25
|
-
|
|
25
|
+
s(c);
|
|
26
26
|
}
|
|
27
|
-
}, l = (u) => u.done ?
|
|
27
|
+
}, l = (u) => u.done ? o(u.value) : Promise.resolve(u.value).then(n, a);
|
|
28
28
|
l((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function de() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function wr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function kt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ye(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(wr);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function De(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function vr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let Ve;
|
|
48
|
+
function Dt(e, t) {
|
|
49
|
+
return e === t ? !0 : (Ve || (Ve = document.createElement("a")), Ve.href = t, e === Ve.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Co(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
54
|
function yr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
|
-
for (const
|
|
57
|
-
|
|
56
|
+
for (const o of t)
|
|
57
|
+
o(void 0);
|
|
58
58
|
return de;
|
|
59
59
|
}
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Ho(e, t, r) {
|
|
64
64
|
e.$$.on_destroy.push(yr(t, r));
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const No = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
|
|
67
67
|
// @ts-ignore Node typings have this
|
|
68
68
|
global
|
|
69
69
|
);
|
|
70
|
-
function
|
|
70
|
+
function f(e, t) {
|
|
71
71
|
e.appendChild(t);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
const
|
|
75
|
-
if (!
|
|
76
|
-
const
|
|
77
|
-
|
|
73
|
+
function Ao(e, t, r) {
|
|
74
|
+
const o = Io(e);
|
|
75
|
+
if (!o.getElementById(t)) {
|
|
76
|
+
const s = y("style");
|
|
77
|
+
s.id = t, s.textContent = r, Oo(o, s);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Io(e) {
|
|
81
81
|
if (!e) return document;
|
|
82
82
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
83
83
|
return t && /** @type {ShadowRoot} */
|
|
@@ -86,51 +86,51 @@ function zs(e) {
|
|
|
86
86
|
t
|
|
87
87
|
) : e.ownerDocument;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
89
|
+
function Oo(e, t) {
|
|
90
|
+
return f(
|
|
91
91
|
/** @type {Document} */
|
|
92
92
|
e.head || e,
|
|
93
93
|
t
|
|
94
94
|
), t.sheet;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function D(e, t, r) {
|
|
97
97
|
e.insertBefore(t, r || null);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function M(e) {
|
|
100
100
|
e.parentNode && e.parentNode.removeChild(e);
|
|
101
101
|
}
|
|
102
102
|
function y(e) {
|
|
103
103
|
return document.createElement(e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function w(e) {
|
|
106
106
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function B(e) {
|
|
109
109
|
return document.createTextNode(e);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function R() {
|
|
112
|
+
return B(" ");
|
|
113
113
|
}
|
|
114
114
|
function Pr() {
|
|
115
|
-
return
|
|
115
|
+
return B("");
|
|
116
116
|
}
|
|
117
|
-
function ie(e, t, r,
|
|
118
|
-
return e.addEventListener(t, r,
|
|
117
|
+
function ie(e, t, r, o) {
|
|
118
|
+
return e.addEventListener(t, r, o), () => e.removeEventListener(t, r, o);
|
|
119
119
|
}
|
|
120
120
|
function i(e, t, r) {
|
|
121
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Lo(e) {
|
|
124
124
|
return Array.from(e.childNodes);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function $(e, t) {
|
|
127
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
128
128
|
t);
|
|
129
129
|
}
|
|
130
130
|
function Se(e, t) {
|
|
131
131
|
e.value = t == null ? "" : t;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Fo(e) {
|
|
134
134
|
const t = {};
|
|
135
135
|
return e.childNodes.forEach(
|
|
136
136
|
/** @param {Element} node */
|
|
@@ -139,25 +139,25 @@ function Os(e) {
|
|
|
139
139
|
}
|
|
140
140
|
), t;
|
|
141
141
|
}
|
|
142
|
-
let
|
|
143
|
-
function
|
|
144
|
-
|
|
142
|
+
let Ue;
|
|
143
|
+
function Me(e) {
|
|
144
|
+
Ue = e;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
if (!
|
|
148
|
-
return
|
|
146
|
+
function Ro() {
|
|
147
|
+
if (!Ue) throw new Error("Function called outside component initialization");
|
|
148
|
+
return Ue;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
150
|
+
function Mo(e) {
|
|
151
|
+
Ro().$$.on_mount.push(e);
|
|
152
152
|
}
|
|
153
|
-
const Te = [],
|
|
153
|
+
const Te = [], ke = [];
|
|
154
154
|
let Be = [];
|
|
155
|
-
const
|
|
155
|
+
const Ut = [], ko = /* @__PURE__ */ Promise.resolve();
|
|
156
156
|
let gt = !1;
|
|
157
|
-
function
|
|
158
|
-
gt || (gt = !0,
|
|
157
|
+
function Do() {
|
|
158
|
+
gt || (gt = !0, ko.then(le));
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function bt(e) {
|
|
161
161
|
Be.push(e);
|
|
162
162
|
}
|
|
163
163
|
const lt = /* @__PURE__ */ new Set();
|
|
@@ -165,67 +165,67 @@ let _e = 0;
|
|
|
165
165
|
function le() {
|
|
166
166
|
if (_e !== 0)
|
|
167
167
|
return;
|
|
168
|
-
const e =
|
|
168
|
+
const e = Ue;
|
|
169
169
|
do {
|
|
170
170
|
try {
|
|
171
171
|
for (; _e < Te.length; ) {
|
|
172
172
|
const t = Te[_e];
|
|
173
|
-
_e++,
|
|
173
|
+
_e++, Me(t), Uo(t.$$);
|
|
174
174
|
}
|
|
175
175
|
} catch (t) {
|
|
176
176
|
throw Te.length = 0, _e = 0, t;
|
|
177
177
|
}
|
|
178
|
-
for (
|
|
178
|
+
for (Me(null), Te.length = 0, _e = 0; ke.length; ) ke.pop()();
|
|
179
179
|
for (let t = 0; t < Be.length; t += 1) {
|
|
180
180
|
const r = Be[t];
|
|
181
181
|
lt.has(r) || (lt.add(r), r());
|
|
182
182
|
}
|
|
183
183
|
Be.length = 0;
|
|
184
184
|
} while (Te.length);
|
|
185
|
-
for (;
|
|
186
|
-
|
|
187
|
-
gt = !1, lt.clear(),
|
|
185
|
+
for (; Ut.length; )
|
|
186
|
+
Ut.pop()();
|
|
187
|
+
gt = !1, lt.clear(), Me(e);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Uo(e) {
|
|
190
190
|
if (e.fragment !== null) {
|
|
191
191
|
e.update(), ye(e.before_update);
|
|
192
192
|
const t = e.dirty;
|
|
193
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
193
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(bt);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Go(e) {
|
|
197
197
|
const t = [], r = [];
|
|
198
|
-
Be.forEach((
|
|
198
|
+
Be.forEach((o) => e.indexOf(o) === -1 ? t.push(o) : r.push(o)), r.forEach((o) => o()), Be = t;
|
|
199
199
|
}
|
|
200
|
-
const
|
|
201
|
-
function
|
|
202
|
-
e && e.i && (
|
|
200
|
+
const jo = /* @__PURE__ */ new Set();
|
|
201
|
+
function $o(e, t) {
|
|
202
|
+
e && e.i && (jo.delete(e), e.i(t));
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
const { fragment:
|
|
206
|
-
|
|
207
|
-
const n = e.$$.on_mount.map(
|
|
204
|
+
function Vo(e, t, r) {
|
|
205
|
+
const { fragment: o, after_update: s } = e.$$;
|
|
206
|
+
o && o.m(t, r), bt(() => {
|
|
207
|
+
const n = e.$$.on_mount.map(wr).filter(De);
|
|
208
208
|
e.$$.on_destroy ? e.$$.on_destroy.push(...n) : ye(n), e.$$.on_mount = [];
|
|
209
|
-
}),
|
|
209
|
+
}), s.forEach(bt);
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function zo(e, t) {
|
|
212
212
|
const r = e.$$;
|
|
213
|
-
r.fragment !== null && (
|
|
213
|
+
r.fragment !== null && (Go(r.after_update), ye(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
216
|
-
e.$$.dirty[0] === -1 && (Te.push(e),
|
|
215
|
+
function Xo(e, t) {
|
|
216
|
+
e.$$.dirty[0] === -1 && (Te.push(e), Do(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
const u =
|
|
220
|
-
|
|
218
|
+
function Zo(e, t, r, o, s, n, a = null, l = [-1]) {
|
|
219
|
+
const u = Ue;
|
|
220
|
+
Me(e);
|
|
221
221
|
const c = e.$$ = {
|
|
222
222
|
fragment: null,
|
|
223
223
|
ctx: [],
|
|
224
224
|
// state
|
|
225
225
|
props: n,
|
|
226
226
|
update: de,
|
|
227
|
-
not_equal:
|
|
228
|
-
bound:
|
|
227
|
+
not_equal: s,
|
|
228
|
+
bound: kt(),
|
|
229
229
|
// lifecycle
|
|
230
230
|
on_mount: [],
|
|
231
231
|
on_destroy: [],
|
|
@@ -234,29 +234,29 @@ function Vs(e, t, r, s, o, n, a = null, l = [-1]) {
|
|
|
234
234
|
after_update: [],
|
|
235
235
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
236
236
|
// everything else
|
|
237
|
-
callbacks:
|
|
237
|
+
callbacks: kt(),
|
|
238
238
|
dirty: l,
|
|
239
239
|
skip_bound: !1,
|
|
240
240
|
root: t.target || u.$$.root
|
|
241
241
|
};
|
|
242
242
|
a && a(c.root);
|
|
243
|
-
let
|
|
243
|
+
let h = !1;
|
|
244
244
|
if (c.ctx = r ? r(e, t.props || {}, (d, p, ...m) => {
|
|
245
|
-
const
|
|
246
|
-
return c.ctx &&
|
|
247
|
-
}) : [], c.update(),
|
|
245
|
+
const v = m.length ? m[0] : p;
|
|
246
|
+
return c.ctx && s(c.ctx[d], c.ctx[d] = v) && (!c.skip_bound && c.bound[d] && c.bound[d](v), h && Xo(e, d)), p;
|
|
247
|
+
}) : [], c.update(), h = !0, ye(c.before_update), c.fragment = o ? o(c.ctx) : !1, t.target) {
|
|
248
248
|
if (t.hydrate) {
|
|
249
|
-
const d =
|
|
250
|
-
c.fragment && c.fragment.l(d), d.forEach(
|
|
249
|
+
const d = Lo(t.target);
|
|
250
|
+
c.fragment && c.fragment.l(d), d.forEach(M);
|
|
251
251
|
} else
|
|
252
252
|
c.fragment && c.fragment.c();
|
|
253
|
-
t.intro &&
|
|
253
|
+
t.intro && $o(e.$$.fragment), Vo(e, t.target, t.anchor), le();
|
|
254
254
|
}
|
|
255
|
-
|
|
255
|
+
Me(u);
|
|
256
256
|
}
|
|
257
257
|
let Er;
|
|
258
258
|
typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
259
|
-
constructor(t, r,
|
|
259
|
+
constructor(t, r, o) {
|
|
260
260
|
super();
|
|
261
261
|
/** The Svelte component constructor */
|
|
262
262
|
fe(this, "$$ctor");
|
|
@@ -276,19 +276,19 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
276
276
|
fe(this, "$$l", {});
|
|
277
277
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
278
278
|
fe(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
279
|
-
this.$$ctor = t, this.$$s = r,
|
|
279
|
+
this.$$ctor = t, this.$$s = r, o && this.attachShadow({ mode: "open" });
|
|
280
280
|
}
|
|
281
|
-
addEventListener(t, r,
|
|
281
|
+
addEventListener(t, r, o) {
|
|
282
282
|
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
283
|
-
const
|
|
284
|
-
this.$$l_u.set(r,
|
|
283
|
+
const s = this.$$c.$on(t, r);
|
|
284
|
+
this.$$l_u.set(r, s);
|
|
285
285
|
}
|
|
286
|
-
super.addEventListener(t, r,
|
|
286
|
+
super.addEventListener(t, r, o);
|
|
287
287
|
}
|
|
288
|
-
removeEventListener(t, r,
|
|
289
|
-
if (super.removeEventListener(t, r,
|
|
290
|
-
const
|
|
291
|
-
|
|
288
|
+
removeEventListener(t, r, o) {
|
|
289
|
+
if (super.removeEventListener(t, r, o), this.$$c) {
|
|
290
|
+
const s = this.$$l_u.get(r);
|
|
291
|
+
s && (s(), this.$$l_u.delete(r));
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
connectedCallback() {
|
|
@@ -305,40 +305,40 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
305
305
|
* @param {HTMLElement} target
|
|
306
306
|
* @param {HTMLElement} [anchor]
|
|
307
307
|
*/
|
|
308
|
-
m: function(c,
|
|
309
|
-
|
|
308
|
+
m: function(c, h) {
|
|
309
|
+
D(c, a, h);
|
|
310
310
|
},
|
|
311
311
|
d: function(c) {
|
|
312
|
-
c &&
|
|
312
|
+
c && M(a);
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
};
|
|
316
316
|
};
|
|
317
317
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
318
318
|
return;
|
|
319
|
-
const r = {},
|
|
319
|
+
const r = {}, o = Fo(this);
|
|
320
320
|
for (const n of this.$$s)
|
|
321
|
-
n in
|
|
321
|
+
n in o && (r[n] = [t(n)]);
|
|
322
322
|
for (const n of this.attributes) {
|
|
323
323
|
const a = this.$$g_p(n.name);
|
|
324
|
-
a in this.$$d || (this.$$d[a] =
|
|
324
|
+
a in this.$$d || (this.$$d[a] = Ze(a, n.value, this.$$p_d, "toProp"));
|
|
325
325
|
}
|
|
326
326
|
for (const n in this.$$p_d)
|
|
327
327
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
328
328
|
this.$$c = new this.$$ctor({
|
|
329
329
|
target: this.shadowRoot || this,
|
|
330
|
-
props:
|
|
330
|
+
props: Mt(Rt({}, this.$$d), {
|
|
331
331
|
$$slots: r,
|
|
332
332
|
$$scope: {
|
|
333
333
|
ctx: []
|
|
334
334
|
}
|
|
335
335
|
})
|
|
336
336
|
});
|
|
337
|
-
const
|
|
337
|
+
const s = () => {
|
|
338
338
|
this.$$r = !0;
|
|
339
339
|
for (const n in this.$$p_d)
|
|
340
340
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
341
|
-
const a =
|
|
341
|
+
const a = Ze(
|
|
342
342
|
n,
|
|
343
343
|
this.$$d[n],
|
|
344
344
|
this.$$p_d,
|
|
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
348
348
|
}
|
|
349
349
|
this.$$r = !1;
|
|
350
350
|
};
|
|
351
|
-
this.$$c.$$.after_update.push(
|
|
351
|
+
this.$$c.$$.after_update.push(s), s();
|
|
352
352
|
for (const n in this.$$l)
|
|
353
353
|
for (const a of this.$$l[n]) {
|
|
354
354
|
const l = this.$$c.$on(n, a);
|
|
@@ -360,9 +360,9 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
360
360
|
}
|
|
361
361
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
362
362
|
// and setting attributes through setAttribute etc, this is helpful
|
|
363
|
-
attributeChangedCallback(t, r,
|
|
364
|
-
var
|
|
365
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
363
|
+
attributeChangedCallback(t, r, o) {
|
|
364
|
+
var s;
|
|
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] }));
|
|
366
366
|
}
|
|
367
367
|
disconnectedCallback() {
|
|
368
368
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -375,13 +375,13 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
375
375
|
) || t;
|
|
376
376
|
}
|
|
377
377
|
});
|
|
378
|
-
function
|
|
378
|
+
function Ze(e, t, r, o) {
|
|
379
379
|
var n;
|
|
380
|
-
const
|
|
381
|
-
if (t =
|
|
380
|
+
const s = (n = r[e]) == null ? void 0 : n.type;
|
|
381
|
+
if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !o || !r[e])
|
|
382
382
|
return t;
|
|
383
|
-
if (
|
|
384
|
-
switch (
|
|
383
|
+
if (o === "toAttribute")
|
|
384
|
+
switch (s) {
|
|
385
385
|
case "Object":
|
|
386
386
|
case "Array":
|
|
387
387
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -393,7 +393,7 @@ function Xe(e, t, r, s) {
|
|
|
393
393
|
return t;
|
|
394
394
|
}
|
|
395
395
|
else
|
|
396
|
-
switch (
|
|
396
|
+
switch (s) {
|
|
397
397
|
case "Object":
|
|
398
398
|
case "Array":
|
|
399
399
|
return t && JSON.parse(t);
|
|
@@ -405,10 +405,10 @@ function Xe(e, t, r, s) {
|
|
|
405
405
|
return t;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Wo(e, t, r, o, s, n) {
|
|
409
409
|
let a = class extends Er {
|
|
410
410
|
constructor() {
|
|
411
|
-
super(e, r,
|
|
411
|
+
super(e, r, s), this.$$p_d = t;
|
|
412
412
|
}
|
|
413
413
|
static get observedAttributes() {
|
|
414
414
|
return Object.keys(t).map(
|
|
@@ -423,10 +423,10 @@ function Xs(e, t, r, s, o, n) {
|
|
|
423
423
|
},
|
|
424
424
|
set(u) {
|
|
425
425
|
var c;
|
|
426
|
-
u =
|
|
426
|
+
u = Ze(l, u, t), this.$$d[l] = u, (c = this.$$c) == null || c.$set({ [l]: u });
|
|
427
427
|
}
|
|
428
428
|
});
|
|
429
|
-
}),
|
|
429
|
+
}), o.forEach((l) => {
|
|
430
430
|
Object.defineProperty(a.prototype, l, {
|
|
431
431
|
get() {
|
|
432
432
|
var u;
|
|
@@ -436,7 +436,7 @@ function Xs(e, t, r, s, o, n) {
|
|
|
436
436
|
}), e.element = /** @type {any} */
|
|
437
437
|
a, a;
|
|
438
438
|
}
|
|
439
|
-
class
|
|
439
|
+
class qo {
|
|
440
440
|
constructor() {
|
|
441
441
|
/**
|
|
442
442
|
* ### PRIVATE API
|
|
@@ -457,7 +457,7 @@ class Zs {
|
|
|
457
457
|
}
|
|
458
458
|
/** @returns {void} */
|
|
459
459
|
$destroy() {
|
|
460
|
-
|
|
460
|
+
zo(this, 1), this.$destroy = de;
|
|
461
461
|
}
|
|
462
462
|
/**
|
|
463
463
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -466,12 +466,12 @@ class Zs {
|
|
|
466
466
|
* @returns {() => void}
|
|
467
467
|
*/
|
|
468
468
|
$on(t, r) {
|
|
469
|
-
if (!
|
|
469
|
+
if (!De(r))
|
|
470
470
|
return de;
|
|
471
|
-
const
|
|
472
|
-
return
|
|
473
|
-
const
|
|
474
|
-
|
|
471
|
+
const o = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
472
|
+
return o.push(r), () => {
|
|
473
|
+
const s = o.indexOf(r);
|
|
474
|
+
s !== -1 && o.splice(s, 1);
|
|
475
475
|
};
|
|
476
476
|
}
|
|
477
477
|
/**
|
|
@@ -479,50 +479,50 @@ class Zs {
|
|
|
479
479
|
* @returns {void}
|
|
480
480
|
*/
|
|
481
481
|
$set(t) {
|
|
482
|
-
this.$$set && !
|
|
482
|
+
this.$$set && !Co(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
const
|
|
486
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
487
|
-
var
|
|
488
|
-
return
|
|
489
|
-
r.__proto__ =
|
|
490
|
-
} || function(r,
|
|
491
|
-
for (var
|
|
492
|
-
},
|
|
485
|
+
const Qo = "4";
|
|
486
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qo);
|
|
487
|
+
var wt = function(e, t) {
|
|
488
|
+
return wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) {
|
|
489
|
+
r.__proto__ = o;
|
|
490
|
+
} || function(r, o) {
|
|
491
|
+
for (var s in o) Object.prototype.hasOwnProperty.call(o, s) && (r[s] = o[s]);
|
|
492
|
+
}, wt(e, t);
|
|
493
493
|
};
|
|
494
|
-
function
|
|
494
|
+
function be(e, t) {
|
|
495
495
|
if (typeof t != "function" && t !== null)
|
|
496
496
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
497
|
-
|
|
497
|
+
wt(e, t);
|
|
498
498
|
function r() {
|
|
499
499
|
this.constructor = e;
|
|
500
500
|
}
|
|
501
501
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
502
502
|
}
|
|
503
|
-
var
|
|
504
|
-
return
|
|
505
|
-
for (var r,
|
|
506
|
-
r = arguments[
|
|
503
|
+
var A = function() {
|
|
504
|
+
return A = Object.assign || function(t) {
|
|
505
|
+
for (var r, o = 1, s = arguments.length; o < s; o++) {
|
|
506
|
+
r = arguments[o];
|
|
507
507
|
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n]);
|
|
508
508
|
}
|
|
509
509
|
return t;
|
|
510
|
-
},
|
|
510
|
+
}, A.apply(this, arguments);
|
|
511
511
|
};
|
|
512
|
-
function
|
|
512
|
+
function Jo(e, t) {
|
|
513
513
|
var r = {};
|
|
514
|
-
for (var
|
|
514
|
+
for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
|
|
515
515
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
516
|
-
for (var
|
|
517
|
-
t.indexOf(s
|
|
516
|
+
for (var s = 0, o = Object.getOwnPropertySymbols(e); s < o.length; s++)
|
|
517
|
+
t.indexOf(o[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[s]) && (r[o[s]] = e[o[s]]);
|
|
518
518
|
return r;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t],
|
|
520
|
+
function vt(e) {
|
|
521
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], o = 0;
|
|
522
522
|
if (r) return r.call(e);
|
|
523
523
|
if (e && typeof e.length == "number") return {
|
|
524
524
|
next: function() {
|
|
525
|
-
return e &&
|
|
525
|
+
return e && o >= e.length && (e = void 0), { value: e && e[o++], done: !e };
|
|
526
526
|
}
|
|
527
527
|
};
|
|
528
528
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
@@ -530,14 +530,14 @@ function wt(e) {
|
|
|
530
530
|
function yt(e, t) {
|
|
531
531
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
532
532
|
if (!r) return e;
|
|
533
|
-
var
|
|
533
|
+
var o = r.call(e), s, n = [], a;
|
|
534
534
|
try {
|
|
535
|
-
for (; (t === void 0 || t-- > 0) && !(
|
|
535
|
+
for (; (t === void 0 || t-- > 0) && !(s = o.next()).done; ) n.push(s.value);
|
|
536
536
|
} catch (l) {
|
|
537
537
|
a = { error: l };
|
|
538
538
|
} finally {
|
|
539
539
|
try {
|
|
540
|
-
|
|
540
|
+
s && !s.done && (r = o.return) && r.call(o);
|
|
541
541
|
} finally {
|
|
542
542
|
if (a) throw a.error;
|
|
543
543
|
}
|
|
@@ -545,24 +545,24 @@ function yt(e, t) {
|
|
|
545
545
|
return n;
|
|
546
546
|
}
|
|
547
547
|
function Ce(e, t, r) {
|
|
548
|
-
if (r || arguments.length === 2) for (var
|
|
549
|
-
(n || !(
|
|
548
|
+
if (r || arguments.length === 2) for (var o = 0, s = t.length, n; o < s; o++)
|
|
549
|
+
(n || !(o in t)) && (n || (n = Array.prototype.slice.call(t, 0, o)), n[o] = t[o]);
|
|
550
550
|
return e.concat(n || Array.prototype.slice.call(t));
|
|
551
551
|
}
|
|
552
552
|
function ge(e) {
|
|
553
553
|
return typeof e == "function";
|
|
554
554
|
}
|
|
555
555
|
function _r(e) {
|
|
556
|
-
var t = function(
|
|
557
|
-
Error.call(
|
|
556
|
+
var t = function(o) {
|
|
557
|
+
Error.call(o), o.stack = new Error().stack;
|
|
558
558
|
}, r = e(t);
|
|
559
559
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
560
560
|
}
|
|
561
561
|
var ut = _r(function(e) {
|
|
562
562
|
return function(r) {
|
|
563
563
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
564
|
-
` + r.map(function(
|
|
565
|
-
return
|
|
564
|
+
` + r.map(function(o, s) {
|
|
565
|
+
return s + 1 + ") " + o.toString();
|
|
566
566
|
}).join(`
|
|
567
567
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
568
568
|
};
|
|
@@ -578,14 +578,14 @@ var Ke = function() {
|
|
|
578
578
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
579
579
|
}
|
|
580
580
|
return e.prototype.unsubscribe = function() {
|
|
581
|
-
var t, r,
|
|
581
|
+
var t, r, o, s, n;
|
|
582
582
|
if (!this.closed) {
|
|
583
583
|
this.closed = !0;
|
|
584
584
|
var a = this._parentage;
|
|
585
585
|
if (a)
|
|
586
586
|
if (this._parentage = null, Array.isArray(a))
|
|
587
587
|
try {
|
|
588
|
-
for (var l =
|
|
588
|
+
for (var l = vt(a), u = l.next(); !u.done; u = l.next()) {
|
|
589
589
|
var c = u.value;
|
|
590
590
|
c.remove(this);
|
|
591
591
|
}
|
|
@@ -600,10 +600,10 @@ var Ke = function() {
|
|
|
600
600
|
}
|
|
601
601
|
else
|
|
602
602
|
a.remove(this);
|
|
603
|
-
var
|
|
604
|
-
if (ge(
|
|
603
|
+
var h = this.initialTeardown;
|
|
604
|
+
if (ge(h))
|
|
605
605
|
try {
|
|
606
|
-
|
|
606
|
+
h();
|
|
607
607
|
} catch (g) {
|
|
608
608
|
n = g instanceof ut ? g.errors : [g];
|
|
609
609
|
}
|
|
@@ -611,21 +611,21 @@ var Ke = function() {
|
|
|
611
611
|
if (d) {
|
|
612
612
|
this._finalizers = null;
|
|
613
613
|
try {
|
|
614
|
-
for (var p =
|
|
615
|
-
var
|
|
614
|
+
for (var p = vt(d), m = p.next(); !m.done; m = p.next()) {
|
|
615
|
+
var v = m.value;
|
|
616
616
|
try {
|
|
617
|
-
|
|
617
|
+
Gt(v);
|
|
618
618
|
} catch (g) {
|
|
619
619
|
n = n != null ? n : [], g instanceof ut ? n = Ce(Ce([], yt(n)), yt(g.errors)) : n.push(g);
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
622
|
} catch (g) {
|
|
623
|
-
|
|
623
|
+
o = { error: g };
|
|
624
624
|
} finally {
|
|
625
625
|
try {
|
|
626
|
-
m && !m.done && (
|
|
626
|
+
m && !m.done && (s = p.return) && s.call(p);
|
|
627
627
|
} finally {
|
|
628
|
-
if (
|
|
628
|
+
if (o) throw o.error;
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
631
|
}
|
|
@@ -636,7 +636,7 @@ var Ke = function() {
|
|
|
636
636
|
var r;
|
|
637
637
|
if (t && t !== this)
|
|
638
638
|
if (this.closed)
|
|
639
|
-
|
|
639
|
+
Gt(t);
|
|
640
640
|
else {
|
|
641
641
|
if (t instanceof e) {
|
|
642
642
|
if (t.closed || t._hasParent(this))
|
|
@@ -665,7 +665,7 @@ var Ke = function() {
|
|
|
665
665
|
function Tr(e) {
|
|
666
666
|
return e instanceof Ke || e && "closed" in e && ge(e.remove) && ge(e.add) && ge(e.unsubscribe);
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function Gt(e) {
|
|
669
669
|
ge(e) ? e() : e.unsubscribe();
|
|
670
670
|
}
|
|
671
671
|
var Sr = {
|
|
@@ -676,8 +676,8 @@ var Sr = {
|
|
|
676
676
|
useDeprecatedNextContext: !1
|
|
677
677
|
}, Br = {
|
|
678
678
|
setTimeout: function(e, t) {
|
|
679
|
-
for (var r = [],
|
|
680
|
-
r[
|
|
679
|
+
for (var r = [], o = 2; o < arguments.length; o++)
|
|
680
|
+
r[o - 2] = arguments[o];
|
|
681
681
|
return setTimeout.apply(void 0, Ce([e, t], yt(r)));
|
|
682
682
|
},
|
|
683
683
|
clearTimeout: function(e) {
|
|
@@ -686,24 +686,24 @@ var Sr = {
|
|
|
686
686
|
},
|
|
687
687
|
delegate: void 0
|
|
688
688
|
};
|
|
689
|
-
function
|
|
689
|
+
function Yo(e) {
|
|
690
690
|
Br.setTimeout(function() {
|
|
691
691
|
throw e;
|
|
692
692
|
});
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function jt() {
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function We(e) {
|
|
697
697
|
e();
|
|
698
698
|
}
|
|
699
699
|
var Cr = function(e) {
|
|
700
|
-
|
|
700
|
+
be(t, e);
|
|
701
701
|
function t(r) {
|
|
702
|
-
var
|
|
703
|
-
return
|
|
702
|
+
var o = e.call(this) || this;
|
|
703
|
+
return o.isStopped = !1, r ? (o.destination = r, Tr(r) && r.add(o)) : o.destination = rs, o;
|
|
704
704
|
}
|
|
705
|
-
return t.create = function(r,
|
|
706
|
-
return new Et(r,
|
|
705
|
+
return t.create = function(r, o, s) {
|
|
706
|
+
return new Et(r, o, s);
|
|
707
707
|
}, t.prototype.next = function(r) {
|
|
708
708
|
this.isStopped || this._next(r);
|
|
709
709
|
}, t.prototype.error = function(r) {
|
|
@@ -727,11 +727,11 @@ var Cr = function(e) {
|
|
|
727
727
|
this.unsubscribe();
|
|
728
728
|
}
|
|
729
729
|
}, t;
|
|
730
|
-
}(Ke),
|
|
730
|
+
}(Ke), Ko = Function.prototype.bind;
|
|
731
731
|
function ct(e, t) {
|
|
732
|
-
return
|
|
732
|
+
return Ko.call(e, t);
|
|
733
733
|
}
|
|
734
|
-
var
|
|
734
|
+
var es = function() {
|
|
735
735
|
function e(t) {
|
|
736
736
|
this.partialObserver = t;
|
|
737
737
|
}
|
|
@@ -740,37 +740,37 @@ var Ks = function() {
|
|
|
740
740
|
if (r.next)
|
|
741
741
|
try {
|
|
742
742
|
r.next(t);
|
|
743
|
-
} catch (
|
|
744
|
-
|
|
743
|
+
} catch (o) {
|
|
744
|
+
ze(o);
|
|
745
745
|
}
|
|
746
746
|
}, e.prototype.error = function(t) {
|
|
747
747
|
var r = this.partialObserver;
|
|
748
748
|
if (r.error)
|
|
749
749
|
try {
|
|
750
750
|
r.error(t);
|
|
751
|
-
} catch (
|
|
752
|
-
|
|
751
|
+
} catch (o) {
|
|
752
|
+
ze(o);
|
|
753
753
|
}
|
|
754
754
|
else
|
|
755
|
-
|
|
755
|
+
ze(t);
|
|
756
756
|
}, e.prototype.complete = function() {
|
|
757
757
|
var t = this.partialObserver;
|
|
758
758
|
if (t.complete)
|
|
759
759
|
try {
|
|
760
760
|
t.complete();
|
|
761
761
|
} catch (r) {
|
|
762
|
-
|
|
762
|
+
ze(r);
|
|
763
763
|
}
|
|
764
764
|
}, e;
|
|
765
765
|
}(), Et = function(e) {
|
|
766
|
-
|
|
767
|
-
function t(r,
|
|
766
|
+
be(t, e);
|
|
767
|
+
function t(r, o, s) {
|
|
768
768
|
var n = e.call(this) || this, a;
|
|
769
769
|
if (ge(r) || !r)
|
|
770
770
|
a = {
|
|
771
771
|
next: r != null ? r : void 0,
|
|
772
|
-
error:
|
|
773
|
-
complete:
|
|
772
|
+
error: o != null ? o : void 0,
|
|
773
|
+
complete: s != null ? s : void 0
|
|
774
774
|
};
|
|
775
775
|
else {
|
|
776
776
|
var l;
|
|
@@ -782,46 +782,46 @@ var Ks = function() {
|
|
|
782
782
|
complete: r.complete && ct(r.complete, l)
|
|
783
783
|
}) : a = r;
|
|
784
784
|
}
|
|
785
|
-
return n.destination = new
|
|
785
|
+
return n.destination = new es(a), n;
|
|
786
786
|
}
|
|
787
787
|
return t;
|
|
788
788
|
}(Cr);
|
|
789
|
-
function
|
|
790
|
-
|
|
789
|
+
function ze(e) {
|
|
790
|
+
Yo(e);
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function ts(e) {
|
|
793
793
|
throw e;
|
|
794
794
|
}
|
|
795
|
-
var
|
|
795
|
+
var rs = {
|
|
796
796
|
closed: !0,
|
|
797
|
-
next:
|
|
798
|
-
error:
|
|
799
|
-
complete:
|
|
800
|
-
},
|
|
797
|
+
next: jt,
|
|
798
|
+
error: ts,
|
|
799
|
+
complete: jt
|
|
800
|
+
}, os = function() {
|
|
801
801
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
802
802
|
}();
|
|
803
|
-
function
|
|
803
|
+
function ss(e) {
|
|
804
804
|
return e;
|
|
805
805
|
}
|
|
806
|
-
function
|
|
807
|
-
return e.length === 0 ?
|
|
808
|
-
return e.reduce(function(
|
|
809
|
-
return o
|
|
806
|
+
function ns(e) {
|
|
807
|
+
return e.length === 0 ? ss : e.length === 1 ? e[0] : function(r) {
|
|
808
|
+
return e.reduce(function(o, s) {
|
|
809
|
+
return s(o);
|
|
810
810
|
}, r);
|
|
811
811
|
};
|
|
812
812
|
}
|
|
813
|
-
var
|
|
813
|
+
var $t = function() {
|
|
814
814
|
function e(t) {
|
|
815
815
|
t && (this._subscribe = t);
|
|
816
816
|
}
|
|
817
817
|
return e.prototype.lift = function(t) {
|
|
818
818
|
var r = new e();
|
|
819
819
|
return r.source = this, r.operator = t, r;
|
|
820
|
-
}, e.prototype.subscribe = function(t, r,
|
|
821
|
-
var
|
|
822
|
-
return
|
|
823
|
-
var a =
|
|
824
|
-
n.add(l ? l.call(n, u) : u ?
|
|
820
|
+
}, e.prototype.subscribe = function(t, r, o) {
|
|
821
|
+
var s = this, n = as(t) ? t : new Et(t, r, o);
|
|
822
|
+
return We(function() {
|
|
823
|
+
var a = s, l = a.operator, u = a.source;
|
|
824
|
+
n.add(l ? l.call(n, u) : u ? s._subscribe(n) : s._trySubscribe(n));
|
|
825
825
|
}), n;
|
|
826
826
|
}, e.prototype._trySubscribe = function(t) {
|
|
827
827
|
try {
|
|
@@ -830,8 +830,8 @@ var Gt = function() {
|
|
|
830
830
|
t.error(r);
|
|
831
831
|
}
|
|
832
832
|
}, e.prototype.forEach = function(t, r) {
|
|
833
|
-
var
|
|
834
|
-
return r =
|
|
833
|
+
var o = this;
|
|
834
|
+
return r = Vt(r), new r(function(s, n) {
|
|
835
835
|
var a = new Et({
|
|
836
836
|
next: function(l) {
|
|
837
837
|
try {
|
|
@@ -841,99 +841,99 @@ var Gt = function() {
|
|
|
841
841
|
}
|
|
842
842
|
},
|
|
843
843
|
error: n,
|
|
844
|
-
complete:
|
|
844
|
+
complete: s
|
|
845
845
|
});
|
|
846
|
-
|
|
846
|
+
o.subscribe(a);
|
|
847
847
|
});
|
|
848
848
|
}, e.prototype._subscribe = function(t) {
|
|
849
849
|
var r;
|
|
850
850
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
851
|
-
}, e.prototype[
|
|
851
|
+
}, e.prototype[os] = function() {
|
|
852
852
|
return this;
|
|
853
853
|
}, e.prototype.pipe = function() {
|
|
854
854
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
855
855
|
t[r] = arguments[r];
|
|
856
|
-
return
|
|
856
|
+
return ns(t)(this);
|
|
857
857
|
}, e.prototype.toPromise = function(t) {
|
|
858
858
|
var r = this;
|
|
859
|
-
return t =
|
|
859
|
+
return t = Vt(t), new t(function(o, s) {
|
|
860
860
|
var n;
|
|
861
861
|
r.subscribe(function(a) {
|
|
862
862
|
return n = a;
|
|
863
863
|
}, function(a) {
|
|
864
|
-
return
|
|
864
|
+
return s(a);
|
|
865
865
|
}, function() {
|
|
866
|
-
return
|
|
866
|
+
return o(n);
|
|
867
867
|
});
|
|
868
868
|
});
|
|
869
869
|
}, e.create = function(t) {
|
|
870
870
|
return new e(t);
|
|
871
871
|
}, e;
|
|
872
872
|
}();
|
|
873
|
-
function
|
|
873
|
+
function Vt(e) {
|
|
874
874
|
var t;
|
|
875
875
|
return (t = e != null ? e : Sr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
876
876
|
}
|
|
877
|
-
function
|
|
877
|
+
function is(e) {
|
|
878
878
|
return e && ge(e.next) && ge(e.error) && ge(e.complete);
|
|
879
879
|
}
|
|
880
|
-
function
|
|
881
|
-
return e && e instanceof Cr ||
|
|
880
|
+
function as(e) {
|
|
881
|
+
return e && e instanceof Cr || is(e) && Tr(e);
|
|
882
882
|
}
|
|
883
|
-
var
|
|
883
|
+
var ls = _r(function(e) {
|
|
884
884
|
return function() {
|
|
885
885
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
886
886
|
};
|
|
887
887
|
}), Hr = function(e) {
|
|
888
|
-
|
|
888
|
+
be(t, e);
|
|
889
889
|
function t() {
|
|
890
890
|
var r = e.call(this) || this;
|
|
891
891
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
892
892
|
}
|
|
893
893
|
return t.prototype.lift = function(r) {
|
|
894
|
-
var
|
|
895
|
-
return
|
|
894
|
+
var o = new zt(this, this);
|
|
895
|
+
return o.operator = r, o;
|
|
896
896
|
}, t.prototype._throwIfClosed = function() {
|
|
897
897
|
if (this.closed)
|
|
898
|
-
throw new
|
|
898
|
+
throw new ls();
|
|
899
899
|
}, t.prototype.next = function(r) {
|
|
900
|
-
var
|
|
901
|
-
|
|
902
|
-
var
|
|
903
|
-
if (
|
|
904
|
-
|
|
900
|
+
var o = this;
|
|
901
|
+
We(function() {
|
|
902
|
+
var s, n;
|
|
903
|
+
if (o._throwIfClosed(), !o.isStopped) {
|
|
904
|
+
o.currentObservers || (o.currentObservers = Array.from(o.observers));
|
|
905
905
|
try {
|
|
906
|
-
for (var a =
|
|
906
|
+
for (var a = vt(o.currentObservers), l = a.next(); !l.done; l = a.next()) {
|
|
907
907
|
var u = l.value;
|
|
908
908
|
u.next(r);
|
|
909
909
|
}
|
|
910
910
|
} catch (c) {
|
|
911
|
-
|
|
911
|
+
s = { error: c };
|
|
912
912
|
} finally {
|
|
913
913
|
try {
|
|
914
914
|
l && !l.done && (n = a.return) && n.call(a);
|
|
915
915
|
} finally {
|
|
916
|
-
if (
|
|
916
|
+
if (s) throw s.error;
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
919
|
}
|
|
920
920
|
});
|
|
921
921
|
}, t.prototype.error = function(r) {
|
|
922
|
-
var
|
|
923
|
-
|
|
924
|
-
if (
|
|
925
|
-
|
|
926
|
-
for (var
|
|
927
|
-
|
|
922
|
+
var o = this;
|
|
923
|
+
We(function() {
|
|
924
|
+
if (o._throwIfClosed(), !o.isStopped) {
|
|
925
|
+
o.hasError = o.isStopped = !0, o.thrownError = r;
|
|
926
|
+
for (var s = o.observers; s.length; )
|
|
927
|
+
s.shift().error(r);
|
|
928
928
|
}
|
|
929
929
|
});
|
|
930
930
|
}, t.prototype.complete = function() {
|
|
931
931
|
var r = this;
|
|
932
|
-
|
|
932
|
+
We(function() {
|
|
933
933
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
934
934
|
r.isStopped = !0;
|
|
935
|
-
for (var
|
|
936
|
-
|
|
935
|
+
for (var o = r.observers; o.length; )
|
|
936
|
+
o.shift().complete();
|
|
937
937
|
}
|
|
938
938
|
});
|
|
939
939
|
}, t.prototype.unsubscribe = function() {
|
|
@@ -950,86 +950,86 @@ var ao = _r(function(e) {
|
|
|
950
950
|
}, t.prototype._subscribe = function(r) {
|
|
951
951
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
952
952
|
}, t.prototype._innerSubscribe = function(r) {
|
|
953
|
-
var
|
|
953
|
+
var o = this, s = this, n = s.hasError, a = s.isStopped, l = s.observers;
|
|
954
954
|
return n || a ? xr : (this.currentObservers = null, l.push(r), new Ke(function() {
|
|
955
|
-
|
|
955
|
+
o.currentObservers = null, Pt(l, r);
|
|
956
956
|
}));
|
|
957
957
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
958
|
-
var
|
|
959
|
-
|
|
958
|
+
var o = this, s = o.hasError, n = o.thrownError, a = o.isStopped;
|
|
959
|
+
s ? r.error(n) : a && r.complete();
|
|
960
960
|
}, t.prototype.asObservable = function() {
|
|
961
|
-
var r = new
|
|
961
|
+
var r = new $t();
|
|
962
962
|
return r.source = this, r;
|
|
963
|
-
}, t.create = function(r,
|
|
964
|
-
return new
|
|
963
|
+
}, t.create = function(r, o) {
|
|
964
|
+
return new zt(r, o);
|
|
965
965
|
}, t;
|
|
966
|
-
}(
|
|
967
|
-
|
|
968
|
-
function t(r,
|
|
969
|
-
var
|
|
970
|
-
return
|
|
966
|
+
}($t), zt = function(e) {
|
|
967
|
+
be(t, e);
|
|
968
|
+
function t(r, o) {
|
|
969
|
+
var s = e.call(this) || this;
|
|
970
|
+
return s.destination = r, s.source = o, s;
|
|
971
971
|
}
|
|
972
972
|
return t.prototype.next = function(r) {
|
|
973
|
-
var
|
|
974
|
-
(
|
|
973
|
+
var o, s;
|
|
974
|
+
(s = (o = this.destination) === null || o === void 0 ? void 0 : o.next) === null || s === void 0 || s.call(o, r);
|
|
975
975
|
}, t.prototype.error = function(r) {
|
|
976
|
-
var
|
|
977
|
-
(
|
|
976
|
+
var o, s;
|
|
977
|
+
(s = (o = this.destination) === null || o === void 0 ? void 0 : o.error) === null || s === void 0 || s.call(o, r);
|
|
978
978
|
}, t.prototype.complete = function() {
|
|
979
|
-
var r,
|
|
980
|
-
(
|
|
979
|
+
var r, o;
|
|
980
|
+
(o = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || o === void 0 || o.call(r);
|
|
981
981
|
}, t.prototype._subscribe = function(r) {
|
|
982
|
-
var
|
|
983
|
-
return (
|
|
982
|
+
var o, s;
|
|
983
|
+
return (s = (o = this.source) === null || o === void 0 ? void 0 : o.subscribe(r)) !== null && s !== void 0 ? s : xr;
|
|
984
984
|
}, t;
|
|
985
985
|
}(Hr), Nr = {
|
|
986
986
|
now: function() {
|
|
987
987
|
return (Nr.delegate || Date).now();
|
|
988
988
|
},
|
|
989
989
|
delegate: void 0
|
|
990
|
-
},
|
|
991
|
-
|
|
992
|
-
function t(r,
|
|
993
|
-
r === void 0 && (r = 1 / 0),
|
|
990
|
+
}, us = function(e) {
|
|
991
|
+
be(t, e);
|
|
992
|
+
function t(r, o, s) {
|
|
993
|
+
r === void 0 && (r = 1 / 0), o === void 0 && (o = 1 / 0), s === void 0 && (s = Nr);
|
|
994
994
|
var n = e.call(this) || this;
|
|
995
|
-
return n._bufferSize = r, n._windowTime =
|
|
995
|
+
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;
|
|
996
996
|
}
|
|
997
997
|
return t.prototype.next = function(r) {
|
|
998
|
-
var
|
|
999
|
-
|
|
998
|
+
var o = this, s = o.isStopped, n = o._buffer, a = o._infiniteTimeWindow, l = o._timestampProvider, u = o._windowTime;
|
|
999
|
+
s || (n.push(r), !a && n.push(l.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1000
1000
|
}, t.prototype._subscribe = function(r) {
|
|
1001
1001
|
this._throwIfClosed(), this._trimBuffer();
|
|
1002
|
-
for (var
|
|
1002
|
+
for (var o = this._innerSubscribe(r), s = this, n = s._infiniteTimeWindow, a = s._buffer, l = a.slice(), u = 0; u < l.length && !r.closed; u += n ? 1 : 2)
|
|
1003
1003
|
r.next(l[u]);
|
|
1004
|
-
return this._checkFinalizedStatuses(r),
|
|
1004
|
+
return this._checkFinalizedStatuses(r), o;
|
|
1005
1005
|
}, t.prototype._trimBuffer = function() {
|
|
1006
|
-
var r = this,
|
|
1007
|
-
if (
|
|
1008
|
-
for (var u =
|
|
1009
|
-
c =
|
|
1006
|
+
var r = this, o = r._bufferSize, s = r._timestampProvider, n = r._buffer, a = r._infiniteTimeWindow, l = (a ? 1 : 2) * o;
|
|
1007
|
+
if (o < 1 / 0 && l < n.length && n.splice(0, n.length - l), !a) {
|
|
1008
|
+
for (var u = s.now(), c = 0, h = 1; h < n.length && n[h] <= u; h += 2)
|
|
1009
|
+
c = h;
|
|
1010
1010
|
c && n.splice(0, c + 1);
|
|
1011
1011
|
}
|
|
1012
1012
|
}, t;
|
|
1013
1013
|
}(Hr);
|
|
1014
|
-
const
|
|
1015
|
-
if (
|
|
1016
|
-
const r = new
|
|
1017
|
-
|
|
1014
|
+
const Xt = [], Zt = {}, cs = (e, t = 0) => {
|
|
1015
|
+
if (Xt.indexOf(e) == -1) {
|
|
1016
|
+
const r = new us(t);
|
|
1017
|
+
Zt[e] = r, Xt.push(e);
|
|
1018
1018
|
}
|
|
1019
|
-
return
|
|
1019
|
+
return Zt[e];
|
|
1020
1020
|
}, xe = [];
|
|
1021
|
-
function
|
|
1021
|
+
function fs(e, t) {
|
|
1022
1022
|
return {
|
|
1023
1023
|
subscribe: et(e, t).subscribe
|
|
1024
1024
|
};
|
|
1025
1025
|
}
|
|
1026
1026
|
function et(e, t = de) {
|
|
1027
1027
|
let r;
|
|
1028
|
-
const
|
|
1029
|
-
function
|
|
1030
|
-
if (
|
|
1028
|
+
const o = /* @__PURE__ */ new Set();
|
|
1029
|
+
function s(l) {
|
|
1030
|
+
if (vr(e, l) && (e = l, r)) {
|
|
1031
1031
|
const u = !xe.length;
|
|
1032
|
-
for (const c of
|
|
1032
|
+
for (const c of o)
|
|
1033
1033
|
c[1](), xe.push(c, e);
|
|
1034
1034
|
if (u) {
|
|
1035
1035
|
for (let c = 0; c < xe.length; c += 2)
|
|
@@ -1039,39 +1039,39 @@ function et(e, t = de) {
|
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
1041
|
function n(l) {
|
|
1042
|
-
|
|
1042
|
+
s(l(e));
|
|
1043
1043
|
}
|
|
1044
1044
|
function a(l, u = de) {
|
|
1045
1045
|
const c = [l, u];
|
|
1046
|
-
return
|
|
1047
|
-
|
|
1046
|
+
return o.add(c), o.size === 1 && (r = t(s, n) || de), l(e), () => {
|
|
1047
|
+
o.delete(c), o.size === 0 && r && (r(), r = null);
|
|
1048
1048
|
};
|
|
1049
1049
|
}
|
|
1050
|
-
return { set:
|
|
1050
|
+
return { set: s, update: n, subscribe: a };
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1053
|
-
const
|
|
1054
|
-
if (!
|
|
1052
|
+
function Oe(e, t, r) {
|
|
1053
|
+
const o = !Array.isArray(e), s = o ? [e] : e;
|
|
1054
|
+
if (!s.every(Boolean))
|
|
1055
1055
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1056
1056
|
const n = t.length < 2;
|
|
1057
|
-
return
|
|
1057
|
+
return fs(r, (a, l) => {
|
|
1058
1058
|
let u = !1;
|
|
1059
1059
|
const c = [];
|
|
1060
|
-
let
|
|
1060
|
+
let h = 0, d = de;
|
|
1061
1061
|
const p = () => {
|
|
1062
|
-
if (
|
|
1062
|
+
if (h)
|
|
1063
1063
|
return;
|
|
1064
1064
|
d();
|
|
1065
|
-
const
|
|
1066
|
-
n ? a(
|
|
1067
|
-
}, m =
|
|
1068
|
-
(
|
|
1069
|
-
|
|
1065
|
+
const v = t(o ? c[0] : c, a, l);
|
|
1066
|
+
n ? a(v) : d = De(v) ? v : de;
|
|
1067
|
+
}, m = s.map(
|
|
1068
|
+
(v, g) => yr(
|
|
1069
|
+
v,
|
|
1070
1070
|
(_) => {
|
|
1071
|
-
c[g] = _,
|
|
1071
|
+
c[g] = _, h &= ~(1 << g), u && p();
|
|
1072
1072
|
},
|
|
1073
1073
|
() => {
|
|
1074
|
-
|
|
1074
|
+
h |= 1 << g;
|
|
1075
1075
|
}
|
|
1076
1076
|
)
|
|
1077
1077
|
);
|
|
@@ -1080,136 +1080,136 @@ function Ie(e, t, r) {
|
|
|
1080
1080
|
};
|
|
1081
1081
|
});
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function hs(e) {
|
|
1084
1084
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1085
1085
|
}
|
|
1086
|
-
var
|
|
1087
|
-
return
|
|
1086
|
+
var ds = function(t) {
|
|
1087
|
+
return ps(t) && !ms(t);
|
|
1088
1088
|
};
|
|
1089
|
-
function
|
|
1089
|
+
function ps(e) {
|
|
1090
1090
|
return !!e && typeof e == "object";
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1092
|
+
function ms(e) {
|
|
1093
1093
|
var t = Object.prototype.toString.call(e);
|
|
1094
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1094
|
+
return t === "[object RegExp]" || t === "[object Date]" || ws(e);
|
|
1095
1095
|
}
|
|
1096
|
-
var
|
|
1097
|
-
function
|
|
1098
|
-
return e.$$typeof ===
|
|
1096
|
+
var gs = typeof Symbol == "function" && Symbol.for, bs = gs ? Symbol.for("react.element") : 60103;
|
|
1097
|
+
function ws(e) {
|
|
1098
|
+
return e.$$typeof === bs;
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function vs(e) {
|
|
1101
1101
|
return Array.isArray(e) ? [] : {};
|
|
1102
1102
|
}
|
|
1103
|
-
function
|
|
1104
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? He(
|
|
1103
|
+
function Ge(e, t) {
|
|
1104
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? He(vs(e), e, t) : e;
|
|
1105
1105
|
}
|
|
1106
|
-
function
|
|
1107
|
-
return e.concat(t).map(function(
|
|
1108
|
-
return
|
|
1106
|
+
function ys(e, t, r) {
|
|
1107
|
+
return e.concat(t).map(function(o) {
|
|
1108
|
+
return Ge(o, r);
|
|
1109
1109
|
});
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Ps(e, t) {
|
|
1112
1112
|
if (!t.customMerge)
|
|
1113
1113
|
return He;
|
|
1114
1114
|
var r = t.customMerge(e);
|
|
1115
1115
|
return typeof r == "function" ? r : He;
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1117
|
+
function Es(e) {
|
|
1118
1118
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1119
1119
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1120
1120
|
}) : [];
|
|
1121
1121
|
}
|
|
1122
|
-
function
|
|
1123
|
-
return Object.keys(e).concat(
|
|
1122
|
+
function Wt(e) {
|
|
1123
|
+
return Object.keys(e).concat(Es(e));
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function Ar(e, t) {
|
|
1126
1126
|
try {
|
|
1127
1127
|
return t in e;
|
|
1128
1128
|
} catch (r) {
|
|
1129
1129
|
return !1;
|
|
1130
1130
|
}
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1133
|
-
return
|
|
1132
|
+
function _s(e, t) {
|
|
1133
|
+
return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1136
|
-
var
|
|
1137
|
-
return r.isMergeableObject(e) &&
|
|
1138
|
-
s
|
|
1139
|
-
}),
|
|
1140
|
-
|
|
1141
|
-
}),
|
|
1135
|
+
function xs(e, t, r) {
|
|
1136
|
+
var o = {};
|
|
1137
|
+
return r.isMergeableObject(e) && Wt(e).forEach(function(s) {
|
|
1138
|
+
o[s] = Ge(e[s], r);
|
|
1139
|
+
}), Wt(t).forEach(function(s) {
|
|
1140
|
+
_s(e, s) || (Ar(e, s) && r.isMergeableObject(t[s]) ? o[s] = Ps(s, r)(e[s], t[s], r) : o[s] = Ge(t[s], r));
|
|
1141
|
+
}), o;
|
|
1142
1142
|
}
|
|
1143
1143
|
function He(e, t, r) {
|
|
1144
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1145
|
-
var
|
|
1146
|
-
return n ?
|
|
1144
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ys, r.isMergeableObject = r.isMergeableObject || ds, r.cloneUnlessOtherwiseSpecified = Ge;
|
|
1145
|
+
var o = Array.isArray(t), s = Array.isArray(e), n = o === s;
|
|
1146
|
+
return n ? o ? r.arrayMerge(e, t, r) : xs(e, t, r) : Ge(t, r);
|
|
1147
1147
|
}
|
|
1148
1148
|
He.all = function(t, r) {
|
|
1149
1149
|
if (!Array.isArray(t))
|
|
1150
1150
|
throw new Error("first argument should be an array");
|
|
1151
|
-
return t.reduce(function(
|
|
1152
|
-
return He(
|
|
1151
|
+
return t.reduce(function(o, s) {
|
|
1152
|
+
return He(o, s, r);
|
|
1153
1153
|
}, {});
|
|
1154
1154
|
};
|
|
1155
|
-
var
|
|
1156
|
-
const
|
|
1157
|
-
var
|
|
1155
|
+
var Ts = He, Ss = Ts;
|
|
1156
|
+
const Bs = /* @__PURE__ */ hs(Ss);
|
|
1157
|
+
var T;
|
|
1158
1158
|
(function(e) {
|
|
1159
1159
|
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";
|
|
1160
|
-
})(
|
|
1161
|
-
var
|
|
1160
|
+
})(T || (T = {}));
|
|
1161
|
+
var k;
|
|
1162
1162
|
(function(e) {
|
|
1163
1163
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1164
|
-
})(
|
|
1164
|
+
})(k || (k = {}));
|
|
1165
1165
|
var Ne;
|
|
1166
1166
|
(function(e) {
|
|
1167
1167
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1168
1168
|
})(Ne || (Ne = {}));
|
|
1169
|
-
function
|
|
1170
|
-
return e.type ===
|
|
1171
|
-
}
|
|
1172
|
-
function Co(e) {
|
|
1173
|
-
return e.type === R.argument;
|
|
1169
|
+
function qt(e) {
|
|
1170
|
+
return e.type === k.literal;
|
|
1174
1171
|
}
|
|
1175
|
-
function
|
|
1176
|
-
return e.type ===
|
|
1172
|
+
function Cs(e) {
|
|
1173
|
+
return e.type === k.argument;
|
|
1177
1174
|
}
|
|
1178
1175
|
function Ir(e) {
|
|
1179
|
-
return e.type ===
|
|
1176
|
+
return e.type === k.number;
|
|
1180
1177
|
}
|
|
1181
1178
|
function Or(e) {
|
|
1182
|
-
return e.type ===
|
|
1179
|
+
return e.type === k.date;
|
|
1183
1180
|
}
|
|
1184
1181
|
function Lr(e) {
|
|
1185
|
-
return e.type ===
|
|
1182
|
+
return e.type === k.time;
|
|
1186
1183
|
}
|
|
1187
1184
|
function Fr(e) {
|
|
1188
|
-
return e.type ===
|
|
1185
|
+
return e.type === k.select;
|
|
1189
1186
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return e.type ===
|
|
1187
|
+
function Rr(e) {
|
|
1188
|
+
return e.type === k.plural;
|
|
1192
1189
|
}
|
|
1193
|
-
function
|
|
1194
|
-
return e.type ===
|
|
1190
|
+
function Hs(e) {
|
|
1191
|
+
return e.type === k.pound;
|
|
1195
1192
|
}
|
|
1196
|
-
function
|
|
1193
|
+
function Mr(e) {
|
|
1194
|
+
return e.type === k.tag;
|
|
1195
|
+
}
|
|
1196
|
+
function kr(e) {
|
|
1197
1197
|
return !!(e && typeof e == "object" && e.type === Ne.number);
|
|
1198
1198
|
}
|
|
1199
1199
|
function _t(e) {
|
|
1200
1200
|
return !!(e && typeof e == "object" && e.type === Ne.dateTime);
|
|
1201
1201
|
}
|
|
1202
|
-
var
|
|
1203
|
-
function
|
|
1202
|
+
var Dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ns = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1203
|
+
function As(e) {
|
|
1204
1204
|
var t = {};
|
|
1205
|
-
return e.replace(
|
|
1206
|
-
var
|
|
1205
|
+
return e.replace(Ns, function(r) {
|
|
1206
|
+
var o = r.length;
|
|
1207
1207
|
switch (r[0]) {
|
|
1208
1208
|
case "G":
|
|
1209
|
-
t.era =
|
|
1209
|
+
t.era = o === 4 ? "long" : o === 5 ? "narrow" : "short";
|
|
1210
1210
|
break;
|
|
1211
1211
|
case "y":
|
|
1212
|
-
t.year =
|
|
1212
|
+
t.year = o === 2 ? "2-digit" : "numeric";
|
|
1213
1213
|
break;
|
|
1214
1214
|
case "Y":
|
|
1215
1215
|
case "u":
|
|
@@ -1221,30 +1221,30 @@ function zo(e) {
|
|
|
1221
1221
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
1222
1222
|
case "M":
|
|
1223
1223
|
case "L":
|
|
1224
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
1224
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][o - 1];
|
|
1225
1225
|
break;
|
|
1226
1226
|
case "w":
|
|
1227
1227
|
case "W":
|
|
1228
1228
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
1229
1229
|
case "d":
|
|
1230
|
-
t.day = ["numeric", "2-digit"][
|
|
1230
|
+
t.day = ["numeric", "2-digit"][o - 1];
|
|
1231
1231
|
break;
|
|
1232
1232
|
case "D":
|
|
1233
1233
|
case "F":
|
|
1234
1234
|
case "g":
|
|
1235
1235
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
1236
1236
|
case "E":
|
|
1237
|
-
t.weekday =
|
|
1237
|
+
t.weekday = o === 4 ? "long" : o === 5 ? "narrow" : "short";
|
|
1238
1238
|
break;
|
|
1239
1239
|
case "e":
|
|
1240
|
-
if (
|
|
1240
|
+
if (o < 4)
|
|
1241
1241
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
1242
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1242
|
+
t.weekday = ["short", "long", "narrow", "short"][o - 4];
|
|
1243
1243
|
break;
|
|
1244
1244
|
case "c":
|
|
1245
|
-
if (
|
|
1245
|
+
if (o < 4)
|
|
1246
1246
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
1247
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1247
|
+
t.weekday = ["short", "long", "narrow", "short"][o - 4];
|
|
1248
1248
|
break;
|
|
1249
1249
|
case "a":
|
|
1250
1250
|
t.hour12 = !0;
|
|
@@ -1253,32 +1253,32 @@ function zo(e) {
|
|
|
1253
1253
|
case "B":
|
|
1254
1254
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
1255
1255
|
case "h":
|
|
1256
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
1256
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][o - 1];
|
|
1257
1257
|
break;
|
|
1258
1258
|
case "H":
|
|
1259
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
1259
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][o - 1];
|
|
1260
1260
|
break;
|
|
1261
1261
|
case "K":
|
|
1262
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
1262
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][o - 1];
|
|
1263
1263
|
break;
|
|
1264
1264
|
case "k":
|
|
1265
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
1265
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][o - 1];
|
|
1266
1266
|
break;
|
|
1267
1267
|
case "j":
|
|
1268
1268
|
case "J":
|
|
1269
1269
|
case "C":
|
|
1270
1270
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
1271
1271
|
case "m":
|
|
1272
|
-
t.minute = ["numeric", "2-digit"][
|
|
1272
|
+
t.minute = ["numeric", "2-digit"][o - 1];
|
|
1273
1273
|
break;
|
|
1274
1274
|
case "s":
|
|
1275
|
-
t.second = ["numeric", "2-digit"][
|
|
1275
|
+
t.second = ["numeric", "2-digit"][o - 1];
|
|
1276
1276
|
break;
|
|
1277
1277
|
case "S":
|
|
1278
1278
|
case "A":
|
|
1279
1279
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1280
1280
|
case "z":
|
|
1281
|
-
t.timeZoneName =
|
|
1281
|
+
t.timeZoneName = o < 4 ? "short" : "long";
|
|
1282
1282
|
break;
|
|
1283
1283
|
case "Z":
|
|
1284
1284
|
case "O":
|
|
@@ -1291,18 +1291,18 @@ function zo(e) {
|
|
|
1291
1291
|
return "";
|
|
1292
1292
|
}), t;
|
|
1293
1293
|
}
|
|
1294
|
-
var
|
|
1295
|
-
function
|
|
1294
|
+
var Is = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1295
|
+
function Os(e) {
|
|
1296
1296
|
if (e.length === 0)
|
|
1297
1297
|
throw new Error("Number skeleton cannot be empty");
|
|
1298
|
-
for (var t = e.split(
|
|
1298
|
+
for (var t = e.split(Is).filter(function(p) {
|
|
1299
1299
|
return p.length > 0;
|
|
1300
|
-
}), r = [],
|
|
1301
|
-
var n = o
|
|
1300
|
+
}), r = [], o = 0, s = t; o < s.length; o++) {
|
|
1301
|
+
var n = s[o], a = n.split("/");
|
|
1302
1302
|
if (a.length === 0)
|
|
1303
1303
|
throw new Error("Invalid number skeleton");
|
|
1304
|
-
for (var l = a[0], u = a.slice(1), c = 0,
|
|
1305
|
-
var d =
|
|
1304
|
+
for (var l = a[0], u = a.slice(1), c = 0, h = u; c < h.length; c++) {
|
|
1305
|
+
var d = h[c];
|
|
1306
1306
|
if (d.length === 0)
|
|
1307
1307
|
throw new Error("Invalid number skeleton");
|
|
1308
1308
|
}
|
|
@@ -1310,17 +1310,17 @@ function Io(e) {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
return r;
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function Ls(e) {
|
|
1314
1314
|
return e.replace(/^(.*?)-/, "");
|
|
1315
1315
|
}
|
|
1316
|
-
var Qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1316
|
+
var Qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ur = /^(@+)?(\+|#+)?[rs]?$/g, Fs = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
|
|
1317
1317
|
function Jt(e) {
|
|
1318
1318
|
var t = {};
|
|
1319
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1320
|
-
return typeof
|
|
1319
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ur, function(r, o, s) {
|
|
1320
|
+
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)), "";
|
|
1321
1321
|
}), t;
|
|
1322
1322
|
}
|
|
1323
|
-
function
|
|
1323
|
+
function jr(e) {
|
|
1324
1324
|
switch (e) {
|
|
1325
1325
|
case "sign-auto":
|
|
1326
1326
|
return {
|
|
@@ -1360,7 +1360,7 @@ function Ur(e) {
|
|
|
1360
1360
|
};
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1363
|
+
function Rs(e) {
|
|
1364
1364
|
var t;
|
|
1365
1365
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1366
1366
|
notation: "engineering"
|
|
@@ -1368,20 +1368,20 @@ function Fo(e) {
|
|
|
1368
1368
|
notation: "scientific"
|
|
1369
1369
|
}, e = e.slice(1)), t) {
|
|
1370
1370
|
var r = e.slice(0, 2);
|
|
1371
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1371
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
|
|
1372
1372
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1373
1373
|
t.minimumIntegerDigits = e.length;
|
|
1374
1374
|
}
|
|
1375
1375
|
return t;
|
|
1376
1376
|
}
|
|
1377
1377
|
function Yt(e) {
|
|
1378
|
-
var t = {}, r =
|
|
1378
|
+
var t = {}, r = jr(e);
|
|
1379
1379
|
return r || t;
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1382
|
-
for (var t = {}, r = 0,
|
|
1383
|
-
var
|
|
1384
|
-
switch (
|
|
1381
|
+
function Ms(e) {
|
|
1382
|
+
for (var t = {}, r = 0, o = e; r < o.length; r++) {
|
|
1383
|
+
var s = o[r];
|
|
1384
|
+
switch (s.stem) {
|
|
1385
1385
|
case "percent":
|
|
1386
1386
|
case "%":
|
|
1387
1387
|
t.style = "percent";
|
|
@@ -1390,7 +1390,7 @@ function qo(e) {
|
|
|
1390
1390
|
t.style = "percent", t.scale = 100;
|
|
1391
1391
|
continue;
|
|
1392
1392
|
case "currency":
|
|
1393
|
-
t.style = "currency", t.currency =
|
|
1393
|
+
t.style = "currency", t.currency = s.options[0];
|
|
1394
1394
|
continue;
|
|
1395
1395
|
case "group-off":
|
|
1396
1396
|
case ",_":
|
|
@@ -1402,7 +1402,7 @@ function qo(e) {
|
|
|
1402
1402
|
continue;
|
|
1403
1403
|
case "measure-unit":
|
|
1404
1404
|
case "unit":
|
|
1405
|
-
t.style = "unit", t.unit =
|
|
1405
|
+
t.style = "unit", t.unit = Ls(s.options[0]);
|
|
1406
1406
|
continue;
|
|
1407
1407
|
case "compact-short":
|
|
1408
1408
|
case "K":
|
|
@@ -1413,13 +1413,13 @@ function qo(e) {
|
|
|
1413
1413
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1414
1414
|
continue;
|
|
1415
1415
|
case "scientific":
|
|
1416
|
-
t =
|
|
1417
|
-
return
|
|
1416
|
+
t = A(A(A({}, t), { notation: "scientific" }), s.options.reduce(function(u, c) {
|
|
1417
|
+
return A(A({}, u), Yt(c));
|
|
1418
1418
|
}, {}));
|
|
1419
1419
|
continue;
|
|
1420
1420
|
case "engineering":
|
|
1421
|
-
t =
|
|
1422
|
-
return
|
|
1421
|
+
t = A(A(A({}, t), { notation: "engineering" }), s.options.reduce(function(u, c) {
|
|
1422
|
+
return A(A({}, u), Yt(c));
|
|
1423
1423
|
}, {}));
|
|
1424
1424
|
continue;
|
|
1425
1425
|
case "notation-simple":
|
|
@@ -1438,7 +1438,7 @@ function qo(e) {
|
|
|
1438
1438
|
t.currencyDisplay = "symbol";
|
|
1439
1439
|
continue;
|
|
1440
1440
|
case "scale":
|
|
1441
|
-
t.scale = parseFloat(
|
|
1441
|
+
t.scale = parseFloat(s.options[0]);
|
|
1442
1442
|
continue;
|
|
1443
1443
|
case "rounding-mode-floor":
|
|
1444
1444
|
t.roundingMode = "floor";
|
|
@@ -1462,11 +1462,11 @@ function qo(e) {
|
|
|
1462
1462
|
t.roundingMode = "halfExpand";
|
|
1463
1463
|
continue;
|
|
1464
1464
|
case "integer-width":
|
|
1465
|
-
if (
|
|
1465
|
+
if (s.options.length > 1)
|
|
1466
1466
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1467
|
-
|
|
1467
|
+
s.options[0].replace(Fs, function(u, c, h, d, p, m) {
|
|
1468
1468
|
if (c)
|
|
1469
|
-
t.minimumIntegerDigits =
|
|
1469
|
+
t.minimumIntegerDigits = h.length;
|
|
1470
1470
|
else {
|
|
1471
1471
|
if (d && p)
|
|
1472
1472
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1477,32 +1477,32 @@ function qo(e) {
|
|
|
1477
1477
|
});
|
|
1478
1478
|
continue;
|
|
1479
1479
|
}
|
|
1480
|
-
if (
|
|
1481
|
-
t.minimumIntegerDigits =
|
|
1480
|
+
if (Gr.test(s.stem)) {
|
|
1481
|
+
t.minimumIntegerDigits = s.stem.length;
|
|
1482
1482
|
continue;
|
|
1483
1483
|
}
|
|
1484
|
-
if (Qt.test(
|
|
1485
|
-
if (
|
|
1484
|
+
if (Qt.test(s.stem)) {
|
|
1485
|
+
if (s.options.length > 1)
|
|
1486
1486
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1487
|
-
|
|
1488
|
-
return
|
|
1487
|
+
s.stem.replace(Qt, function(u, c, h, d, p, m) {
|
|
1488
|
+
return h === "*" ? t.minimumFractionDigits = c.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
|
|
1489
1489
|
});
|
|
1490
|
-
var n =
|
|
1491
|
-
n === "w" ? t =
|
|
1490
|
+
var n = s.options[0];
|
|
1491
|
+
n === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : n && (t = A(A({}, t), Jt(n)));
|
|
1492
1492
|
continue;
|
|
1493
1493
|
}
|
|
1494
|
-
if (
|
|
1495
|
-
t =
|
|
1494
|
+
if (Ur.test(s.stem)) {
|
|
1495
|
+
t = A(A({}, t), Jt(s.stem));
|
|
1496
1496
|
continue;
|
|
1497
1497
|
}
|
|
1498
|
-
var a =
|
|
1499
|
-
a && (t =
|
|
1500
|
-
var l =
|
|
1501
|
-
l && (t =
|
|
1498
|
+
var a = jr(s.stem);
|
|
1499
|
+
a && (t = A(A({}, t), a));
|
|
1500
|
+
var l = Rs(s.stem);
|
|
1501
|
+
l && (t = A(A({}, t), l));
|
|
1502
1502
|
}
|
|
1503
1503
|
return t;
|
|
1504
1504
|
}
|
|
1505
|
-
var
|
|
1505
|
+
var Xe = {
|
|
1506
1506
|
"001": [
|
|
1507
1507
|
"H",
|
|
1508
1508
|
"h"
|
|
@@ -2911,22 +2911,22 @@ var Ve = {
|
|
|
2911
2911
|
"h"
|
|
2912
2912
|
]
|
|
2913
2913
|
};
|
|
2914
|
-
function
|
|
2915
|
-
for (var r = "",
|
|
2916
|
-
var
|
|
2917
|
-
if (
|
|
2918
|
-
for (var n = 0;
|
|
2919
|
-
n++,
|
|
2920
|
-
var a = 1 + (n & 1), l = n < 2 ? 1 : 3 + (n >> 1), u = "a", c =
|
|
2914
|
+
function ks(e, t) {
|
|
2915
|
+
for (var r = "", o = 0; o < e.length; o++) {
|
|
2916
|
+
var s = e.charAt(o);
|
|
2917
|
+
if (s === "j") {
|
|
2918
|
+
for (var n = 0; o + 1 < e.length && e.charAt(o + 1) === s; )
|
|
2919
|
+
n++, o++;
|
|
2920
|
+
var a = 1 + (n & 1), l = n < 2 ? 1 : 3 + (n >> 1), u = "a", c = Ds(t);
|
|
2921
2921
|
for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
|
|
2922
2922
|
r += u;
|
|
2923
2923
|
for (; a-- > 0; )
|
|
2924
2924
|
r = c + r;
|
|
2925
|
-
} else
|
|
2925
|
+
} else s === "J" ? r += "H" : r += s;
|
|
2926
2926
|
}
|
|
2927
2927
|
return r;
|
|
2928
2928
|
}
|
|
2929
|
-
function
|
|
2929
|
+
function Ds(e) {
|
|
2930
2930
|
var t = e.hourCycle;
|
|
2931
2931
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2932
2932
|
e.hourCycles && // @ts-ignore
|
|
@@ -2943,59 +2943,59 @@ function Mo(e) {
|
|
|
2943
2943
|
default:
|
|
2944
2944
|
throw new Error("Invalid hourCycle");
|
|
2945
2945
|
}
|
|
2946
|
-
var r = e.language,
|
|
2947
|
-
r !== "root" && (
|
|
2948
|
-
var
|
|
2949
|
-
return
|
|
2946
|
+
var r = e.language, o;
|
|
2947
|
+
r !== "root" && (o = e.maximize().region);
|
|
2948
|
+
var s = Xe[o || ""] || Xe[r || ""] || Xe["".concat(r, "-001")] || Xe["001"];
|
|
2949
|
+
return s[0];
|
|
2950
2950
|
}
|
|
2951
|
-
var ft,
|
|
2952
|
-
function
|
|
2951
|
+
var ft, Us = new RegExp("^".concat(Dr.source, "*")), Gs = new RegExp("".concat(Dr.source, "*$"));
|
|
2952
|
+
function S(e, t) {
|
|
2953
2953
|
return { start: e, end: t };
|
|
2954
2954
|
}
|
|
2955
|
-
var
|
|
2955
|
+
var js = !!String.prototype.startsWith && "_a".startsWith("a", 1), $s = !!String.fromCodePoint, Vs = !!Object.fromEntries, zs = !!String.prototype.codePointAt, Xs = !!String.prototype.trimStart, Zs = !!String.prototype.trimEnd, Ws = !!Number.isSafeInteger, qs = Ws ? Number.isSafeInteger : function(e) {
|
|
2956
2956
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2957
2957
|
}, xt = !0;
|
|
2958
2958
|
try {
|
|
2959
|
-
var
|
|
2960
|
-
xt = ((ft =
|
|
2959
|
+
var Qs = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2960
|
+
xt = ((ft = Qs.exec("a")) === null || ft === void 0 ? void 0 : ft[0]) === "a";
|
|
2961
2961
|
} catch (e) {
|
|
2962
2962
|
xt = !1;
|
|
2963
2963
|
}
|
|
2964
|
-
var Kt =
|
|
2964
|
+
var Kt = js ? (
|
|
2965
2965
|
// Native
|
|
2966
|
-
function(t, r,
|
|
2967
|
-
return t.startsWith(r,
|
|
2966
|
+
function(t, r, o) {
|
|
2967
|
+
return t.startsWith(r, o);
|
|
2968
2968
|
}
|
|
2969
2969
|
) : (
|
|
2970
2970
|
// For IE11
|
|
2971
|
-
function(t, r,
|
|
2972
|
-
return t.slice(
|
|
2971
|
+
function(t, r, o) {
|
|
2972
|
+
return t.slice(o, o + r.length) === r;
|
|
2973
2973
|
}
|
|
2974
|
-
), Tt =
|
|
2974
|
+
), Tt = $s ? String.fromCodePoint : (
|
|
2975
2975
|
// IE11
|
|
2976
2976
|
function() {
|
|
2977
2977
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2978
2978
|
t[r] = arguments[r];
|
|
2979
|
-
for (var
|
|
2979
|
+
for (var o = "", s = t.length, n = 0, a; s > n; ) {
|
|
2980
2980
|
if (a = t[n++], a > 1114111)
|
|
2981
2981
|
throw RangeError(a + " is not a valid code point");
|
|
2982
|
-
|
|
2982
|
+
o += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2983
2983
|
}
|
|
2984
|
-
return
|
|
2984
|
+
return o;
|
|
2985
2985
|
}
|
|
2986
2986
|
), er = (
|
|
2987
2987
|
// native
|
|
2988
|
-
|
|
2988
|
+
Vs ? Object.fromEntries : (
|
|
2989
2989
|
// Ponyfill
|
|
2990
2990
|
function(t) {
|
|
2991
|
-
for (var r = {},
|
|
2992
|
-
var n = o
|
|
2991
|
+
for (var r = {}, o = 0, s = t; o < s.length; o++) {
|
|
2992
|
+
var n = s[o], a = n[0], l = n[1];
|
|
2993
2993
|
r[a] = l;
|
|
2994
2994
|
}
|
|
2995
2995
|
return r;
|
|
2996
2996
|
}
|
|
2997
2997
|
)
|
|
2998
|
-
),
|
|
2998
|
+
), $r = zs ? (
|
|
2999
2999
|
// Native
|
|
3000
3000
|
function(t, r) {
|
|
3001
3001
|
return t.codePointAt(r);
|
|
@@ -3003,13 +3003,13 @@ var Kt = Uo ? (
|
|
|
3003
3003
|
) : (
|
|
3004
3004
|
// IE 11
|
|
3005
3005
|
function(t, r) {
|
|
3006
|
-
var
|
|
3007
|
-
if (!(r < 0 || r >=
|
|
3008
|
-
var
|
|
3009
|
-
return
|
|
3006
|
+
var o = t.length;
|
|
3007
|
+
if (!(r < 0 || r >= o)) {
|
|
3008
|
+
var s = t.charCodeAt(r), n;
|
|
3009
|
+
return s < 55296 || s > 56319 || r + 1 === o || (n = t.charCodeAt(r + 1)) < 56320 || n > 57343 ? s : (s - 55296 << 10) + (n - 56320) + 65536;
|
|
3010
3010
|
}
|
|
3011
3011
|
}
|
|
3012
|
-
),
|
|
3012
|
+
), Js = Xs ? (
|
|
3013
3013
|
// Native
|
|
3014
3014
|
function(t) {
|
|
3015
3015
|
return t.trimStart();
|
|
@@ -3017,9 +3017,9 @@ var Kt = Uo ? (
|
|
|
3017
3017
|
) : (
|
|
3018
3018
|
// Ponyfill
|
|
3019
3019
|
function(t) {
|
|
3020
|
-
return t.replace(
|
|
3020
|
+
return t.replace(Us, "");
|
|
3021
3021
|
}
|
|
3022
|
-
),
|
|
3022
|
+
), Ys = Zs ? (
|
|
3023
3023
|
// Native
|
|
3024
3024
|
function(t) {
|
|
3025
3025
|
return t.trimEnd();
|
|
@@ -3027,32 +3027,32 @@ var Kt = Uo ? (
|
|
|
3027
3027
|
) : (
|
|
3028
3028
|
// Ponyfill
|
|
3029
3029
|
function(t) {
|
|
3030
|
-
return t.replace(
|
|
3030
|
+
return t.replace(Gs, "");
|
|
3031
3031
|
}
|
|
3032
3032
|
);
|
|
3033
|
-
function
|
|
3033
|
+
function Vr(e, t) {
|
|
3034
3034
|
return new RegExp(e, t);
|
|
3035
3035
|
}
|
|
3036
3036
|
var St;
|
|
3037
3037
|
if (xt) {
|
|
3038
|
-
var tr =
|
|
3038
|
+
var tr = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3039
3039
|
St = function(t, r) {
|
|
3040
|
-
var
|
|
3040
|
+
var o;
|
|
3041
3041
|
tr.lastIndex = r;
|
|
3042
|
-
var
|
|
3043
|
-
return (
|
|
3042
|
+
var s = tr.exec(t);
|
|
3043
|
+
return (o = s[1]) !== null && o !== void 0 ? o : "";
|
|
3044
3044
|
};
|
|
3045
3045
|
} else
|
|
3046
3046
|
St = function(t, r) {
|
|
3047
|
-
for (var
|
|
3048
|
-
var
|
|
3049
|
-
if (
|
|
3047
|
+
for (var o = []; ; ) {
|
|
3048
|
+
var s = $r(t, r);
|
|
3049
|
+
if (s === void 0 || zr(s) || rn(s))
|
|
3050
3050
|
break;
|
|
3051
|
-
|
|
3051
|
+
o.push(s), r += s >= 65536 ? 2 : 1;
|
|
3052
3052
|
}
|
|
3053
|
-
return Tt.apply(void 0,
|
|
3053
|
+
return Tt.apply(void 0, o);
|
|
3054
3054
|
};
|
|
3055
|
-
var
|
|
3055
|
+
var Ks = (
|
|
3056
3056
|
/** @class */
|
|
3057
3057
|
function() {
|
|
3058
3058
|
function e(t, r) {
|
|
@@ -3062,51 +3062,51 @@ var Ko = (
|
|
|
3062
3062
|
if (this.offset() !== 0)
|
|
3063
3063
|
throw Error("parser can only be used once");
|
|
3064
3064
|
return this.parseMessage(0, "", !1);
|
|
3065
|
-
}, e.prototype.parseMessage = function(t, r,
|
|
3066
|
-
for (var
|
|
3065
|
+
}, e.prototype.parseMessage = function(t, r, o) {
|
|
3066
|
+
for (var s = []; !this.isEOF(); ) {
|
|
3067
3067
|
var n = this.char();
|
|
3068
3068
|
if (n === 123) {
|
|
3069
|
-
var a = this.parseArgument(t,
|
|
3069
|
+
var a = this.parseArgument(t, o);
|
|
3070
3070
|
if (a.err)
|
|
3071
3071
|
return a;
|
|
3072
|
-
|
|
3072
|
+
s.push(a.val);
|
|
3073
3073
|
} else {
|
|
3074
3074
|
if (n === 125 && t > 0)
|
|
3075
3075
|
break;
|
|
3076
3076
|
if (n === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3077
3077
|
var l = this.clonePosition();
|
|
3078
|
-
this.bump(),
|
|
3079
|
-
type:
|
|
3080
|
-
location:
|
|
3078
|
+
this.bump(), s.push({
|
|
3079
|
+
type: k.pound,
|
|
3080
|
+
location: S(l, this.clonePosition())
|
|
3081
3081
|
});
|
|
3082
3082
|
} else if (n === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3083
|
-
if (
|
|
3083
|
+
if (o)
|
|
3084
3084
|
break;
|
|
3085
|
-
return this.error(
|
|
3085
|
+
return this.error(T.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
|
|
3086
3086
|
} else if (n === 60 && !this.ignoreTag && Bt(this.peek() || 0)) {
|
|
3087
3087
|
var a = this.parseTag(t, r);
|
|
3088
3088
|
if (a.err)
|
|
3089
3089
|
return a;
|
|
3090
|
-
|
|
3090
|
+
s.push(a.val);
|
|
3091
3091
|
} else {
|
|
3092
3092
|
var a = this.parseLiteral(t, r);
|
|
3093
3093
|
if (a.err)
|
|
3094
3094
|
return a;
|
|
3095
|
-
|
|
3095
|
+
s.push(a.val);
|
|
3096
3096
|
}
|
|
3097
3097
|
}
|
|
3098
3098
|
}
|
|
3099
|
-
return { val:
|
|
3099
|
+
return { val: s, err: null };
|
|
3100
3100
|
}, e.prototype.parseTag = function(t, r) {
|
|
3101
|
-
var
|
|
3101
|
+
var o = this.clonePosition();
|
|
3102
3102
|
this.bump();
|
|
3103
|
-
var
|
|
3103
|
+
var s = this.parseTagName();
|
|
3104
3104
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3105
3105
|
return {
|
|
3106
3106
|
val: {
|
|
3107
|
-
type:
|
|
3108
|
-
value: "<".concat(
|
|
3109
|
-
location:
|
|
3107
|
+
type: k.literal,
|
|
3108
|
+
value: "<".concat(s, "/>"),
|
|
3109
|
+
location: S(o, this.clonePosition())
|
|
3110
3110
|
},
|
|
3111
3111
|
err: null
|
|
3112
3112
|
};
|
|
@@ -3117,48 +3117,48 @@ var Ko = (
|
|
|
3117
3117
|
var a = n.val, l = this.clonePosition();
|
|
3118
3118
|
if (this.bumpIf("</")) {
|
|
3119
3119
|
if (this.isEOF() || !Bt(this.char()))
|
|
3120
|
-
return this.error(
|
|
3120
|
+
return this.error(T.INVALID_TAG, S(l, this.clonePosition()));
|
|
3121
3121
|
var u = this.clonePosition(), c = this.parseTagName();
|
|
3122
|
-
return
|
|
3122
|
+
return s !== c ? this.error(T.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3123
3123
|
val: {
|
|
3124
|
-
type:
|
|
3125
|
-
value:
|
|
3124
|
+
type: k.tag,
|
|
3125
|
+
value: s,
|
|
3126
3126
|
children: a,
|
|
3127
|
-
location:
|
|
3127
|
+
location: S(o, this.clonePosition())
|
|
3128
3128
|
},
|
|
3129
3129
|
err: null
|
|
3130
|
-
} : this.error(
|
|
3130
|
+
} : this.error(T.INVALID_TAG, S(l, this.clonePosition())));
|
|
3131
3131
|
} else
|
|
3132
|
-
return this.error(
|
|
3132
|
+
return this.error(T.UNCLOSED_TAG, S(o, this.clonePosition()));
|
|
3133
3133
|
} else
|
|
3134
|
-
return this.error(
|
|
3134
|
+
return this.error(T.INVALID_TAG, S(o, this.clonePosition()));
|
|
3135
3135
|
}, e.prototype.parseTagName = function() {
|
|
3136
3136
|
var t = this.offset();
|
|
3137
3137
|
for (this.bump(); !this.isEOF() && tn(this.char()); )
|
|
3138
3138
|
this.bump();
|
|
3139
3139
|
return this.message.slice(t, this.offset());
|
|
3140
3140
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3141
|
-
for (var
|
|
3141
|
+
for (var o = this.clonePosition(), s = ""; ; ) {
|
|
3142
3142
|
var n = this.tryParseQuote(r);
|
|
3143
3143
|
if (n) {
|
|
3144
|
-
|
|
3144
|
+
s += n;
|
|
3145
3145
|
continue;
|
|
3146
3146
|
}
|
|
3147
3147
|
var a = this.tryParseUnquoted(t, r);
|
|
3148
3148
|
if (a) {
|
|
3149
|
-
|
|
3149
|
+
s += a;
|
|
3150
3150
|
continue;
|
|
3151
3151
|
}
|
|
3152
3152
|
var l = this.tryParseLeftAngleBracket();
|
|
3153
3153
|
if (l) {
|
|
3154
|
-
|
|
3154
|
+
s += l;
|
|
3155
3155
|
continue;
|
|
3156
3156
|
}
|
|
3157
3157
|
break;
|
|
3158
3158
|
}
|
|
3159
|
-
var u =
|
|
3159
|
+
var u = S(o, this.clonePosition());
|
|
3160
3160
|
return {
|
|
3161
|
-
val: { type:
|
|
3161
|
+
val: { type: k.literal, value: s, location: u },
|
|
3162
3162
|
err: null
|
|
3163
3163
|
};
|
|
3164
3164
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -3185,8 +3185,8 @@ var Ko = (
|
|
|
3185
3185
|
this.bump();
|
|
3186
3186
|
var r = [this.char()];
|
|
3187
3187
|
for (this.bump(); !this.isEOF(); ) {
|
|
3188
|
-
var
|
|
3189
|
-
if (
|
|
3188
|
+
var o = this.char();
|
|
3189
|
+
if (o === 39)
|
|
3190
3190
|
if (this.peek() === 39)
|
|
3191
3191
|
r.push(39), this.bump();
|
|
3192
3192
|
else {
|
|
@@ -3194,52 +3194,52 @@ var Ko = (
|
|
|
3194
3194
|
break;
|
|
3195
3195
|
}
|
|
3196
3196
|
else
|
|
3197
|
-
r.push(
|
|
3197
|
+
r.push(o);
|
|
3198
3198
|
this.bump();
|
|
3199
3199
|
}
|
|
3200
3200
|
return Tt.apply(void 0, r);
|
|
3201
3201
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3202
3202
|
if (this.isEOF())
|
|
3203
3203
|
return null;
|
|
3204
|
-
var
|
|
3205
|
-
return
|
|
3204
|
+
var o = this.char();
|
|
3205
|
+
return o === 60 || o === 123 || o === 35 && (r === "plural" || r === "selectordinal") || o === 125 && t > 0 ? null : (this.bump(), Tt(o));
|
|
3206
3206
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3207
|
-
var
|
|
3207
|
+
var o = this.clonePosition();
|
|
3208
3208
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3209
|
-
return this.error(
|
|
3209
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, S(o, this.clonePosition()));
|
|
3210
3210
|
if (this.char() === 125)
|
|
3211
|
-
return this.bump(), this.error(
|
|
3212
|
-
var
|
|
3213
|
-
if (!
|
|
3214
|
-
return this.error(
|
|
3211
|
+
return this.bump(), this.error(T.EMPTY_ARGUMENT, S(o, this.clonePosition()));
|
|
3212
|
+
var s = this.parseIdentifierIfPossible().value;
|
|
3213
|
+
if (!s)
|
|
3214
|
+
return this.error(T.MALFORMED_ARGUMENT, S(o, this.clonePosition()));
|
|
3215
3215
|
if (this.bumpSpace(), this.isEOF())
|
|
3216
|
-
return this.error(
|
|
3216
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, S(o, this.clonePosition()));
|
|
3217
3217
|
switch (this.char()) {
|
|
3218
3218
|
case 125:
|
|
3219
3219
|
return this.bump(), {
|
|
3220
3220
|
val: {
|
|
3221
|
-
type:
|
|
3221
|
+
type: k.argument,
|
|
3222
3222
|
// value does not include the opening and closing braces.
|
|
3223
|
-
value:
|
|
3224
|
-
location:
|
|
3223
|
+
value: s,
|
|
3224
|
+
location: S(o, this.clonePosition())
|
|
3225
3225
|
},
|
|
3226
3226
|
err: null
|
|
3227
3227
|
};
|
|
3228
3228
|
case 44:
|
|
3229
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3229
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, S(o, this.clonePosition())) : this.parseArgumentOptions(t, r, s, o);
|
|
3230
3230
|
default:
|
|
3231
|
-
return this.error(
|
|
3231
|
+
return this.error(T.MALFORMED_ARGUMENT, S(o, this.clonePosition()));
|
|
3232
3232
|
}
|
|
3233
3233
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3234
|
-
var t = this.clonePosition(), r = this.offset(),
|
|
3235
|
-
this.bumpTo(
|
|
3236
|
-
var n = this.clonePosition(), a =
|
|
3237
|
-
return { value:
|
|
3238
|
-
}, e.prototype.parseArgumentOptions = function(t, r,
|
|
3234
|
+
var t = this.clonePosition(), r = this.offset(), o = St(this.message, r), s = r + o.length;
|
|
3235
|
+
this.bumpTo(s);
|
|
3236
|
+
var n = this.clonePosition(), a = S(t, n);
|
|
3237
|
+
return { value: o, location: a };
|
|
3238
|
+
}, e.prototype.parseArgumentOptions = function(t, r, o, s) {
|
|
3239
3239
|
var n, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3240
3240
|
switch (l) {
|
|
3241
3241
|
case "":
|
|
3242
|
-
return this.error(
|
|
3242
|
+
return this.error(T.EXPECT_ARGUMENT_TYPE, S(a, u));
|
|
3243
3243
|
case "number":
|
|
3244
3244
|
case "date":
|
|
3245
3245
|
case "time": {
|
|
@@ -3247,48 +3247,48 @@ var Ko = (
|
|
|
3247
3247
|
var c = null;
|
|
3248
3248
|
if (this.bumpIf(",")) {
|
|
3249
3249
|
this.bumpSpace();
|
|
3250
|
-
var
|
|
3250
|
+
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3251
3251
|
if (d.err)
|
|
3252
3252
|
return d;
|
|
3253
|
-
var p =
|
|
3253
|
+
var p = Ys(d.val);
|
|
3254
3254
|
if (p.length === 0)
|
|
3255
|
-
return this.error(
|
|
3256
|
-
var m =
|
|
3255
|
+
return this.error(T.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
|
|
3256
|
+
var m = S(h, this.clonePosition());
|
|
3257
3257
|
c = { style: p, styleLocation: m };
|
|
3258
3258
|
}
|
|
3259
|
-
var
|
|
3260
|
-
if (
|
|
3261
|
-
return
|
|
3262
|
-
var g =
|
|
3259
|
+
var v = this.tryParseArgumentClose(s);
|
|
3260
|
+
if (v.err)
|
|
3261
|
+
return v;
|
|
3262
|
+
var g = S(s, this.clonePosition());
|
|
3263
3263
|
if (c && Kt(c == null ? void 0 : c.style, "::", 0)) {
|
|
3264
|
-
var _ =
|
|
3264
|
+
var _ = Js(c.style.slice(2));
|
|
3265
3265
|
if (l === "number") {
|
|
3266
3266
|
var d = this.parseNumberSkeletonFromString(_, c.styleLocation);
|
|
3267
3267
|
return d.err ? d : {
|
|
3268
|
-
val: { type:
|
|
3268
|
+
val: { type: k.number, value: o, location: g, style: d.val },
|
|
3269
3269
|
err: null
|
|
3270
3270
|
};
|
|
3271
3271
|
} else {
|
|
3272
3272
|
if (_.length === 0)
|
|
3273
|
-
return this.error(
|
|
3273
|
+
return this.error(T.EXPECT_DATE_TIME_SKELETON, g);
|
|
3274
3274
|
var E = _;
|
|
3275
|
-
this.locale && (E =
|
|
3275
|
+
this.locale && (E = ks(_, this.locale));
|
|
3276
3276
|
var p = {
|
|
3277
3277
|
type: Ne.dateTime,
|
|
3278
3278
|
pattern: E,
|
|
3279
3279
|
location: c.styleLocation,
|
|
3280
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3281
|
-
}, P = l === "date" ?
|
|
3280
|
+
parsedOptions: this.shouldParseSkeletons ? As(E) : {}
|
|
3281
|
+
}, P = l === "date" ? k.date : k.time;
|
|
3282
3282
|
return {
|
|
3283
|
-
val: { type: P, value:
|
|
3283
|
+
val: { type: P, value: o, location: g, style: p },
|
|
3284
3284
|
err: null
|
|
3285
3285
|
};
|
|
3286
3286
|
}
|
|
3287
3287
|
}
|
|
3288
3288
|
return {
|
|
3289
3289
|
val: {
|
|
3290
|
-
type: l === "number" ?
|
|
3291
|
-
value:
|
|
3290
|
+
type: l === "number" ? k.number : l === "date" ? k.date : k.time,
|
|
3291
|
+
value: o,
|
|
3292
3292
|
location: g,
|
|
3293
3293
|
style: (n = c == null ? void 0 : c.style) !== null && n !== void 0 ? n : null
|
|
3294
3294
|
},
|
|
@@ -3298,61 +3298,61 @@ var Ko = (
|
|
|
3298
3298
|
case "plural":
|
|
3299
3299
|
case "selectordinal":
|
|
3300
3300
|
case "select": {
|
|
3301
|
-
var
|
|
3301
|
+
var C = this.clonePosition();
|
|
3302
3302
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3303
|
-
return this.error(
|
|
3303
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, S(C, A({}, C)));
|
|
3304
3304
|
this.bumpSpace();
|
|
3305
|
-
var x = this.parseIdentifierIfPossible(),
|
|
3305
|
+
var x = this.parseIdentifierIfPossible(), I = 0;
|
|
3306
3306
|
if (l !== "select" && x.value === "offset") {
|
|
3307
3307
|
if (!this.bumpIf(":"))
|
|
3308
|
-
return this.error(
|
|
3308
|
+
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
|
|
3309
3309
|
this.bumpSpace();
|
|
3310
|
-
var d = this.tryParseDecimalInteger(
|
|
3310
|
+
var d = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3311
3311
|
if (d.err)
|
|
3312
3312
|
return d;
|
|
3313
|
-
this.bumpSpace(), x = this.parseIdentifierIfPossible(),
|
|
3313
|
+
this.bumpSpace(), x = this.parseIdentifierIfPossible(), I = d.val;
|
|
3314
3314
|
}
|
|
3315
|
-
var
|
|
3316
|
-
if (
|
|
3317
|
-
return
|
|
3318
|
-
var
|
|
3319
|
-
if (
|
|
3320
|
-
return
|
|
3321
|
-
var
|
|
3315
|
+
var L = this.tryParsePluralOrSelectOptions(t, l, r, x);
|
|
3316
|
+
if (L.err)
|
|
3317
|
+
return L;
|
|
3318
|
+
var v = this.tryParseArgumentClose(s);
|
|
3319
|
+
if (v.err)
|
|
3320
|
+
return v;
|
|
3321
|
+
var O = S(s, this.clonePosition());
|
|
3322
3322
|
return l === "select" ? {
|
|
3323
3323
|
val: {
|
|
3324
|
-
type:
|
|
3325
|
-
value:
|
|
3326
|
-
options: er(
|
|
3327
|
-
location:
|
|
3324
|
+
type: k.select,
|
|
3325
|
+
value: o,
|
|
3326
|
+
options: er(L.val),
|
|
3327
|
+
location: O
|
|
3328
3328
|
},
|
|
3329
3329
|
err: null
|
|
3330
3330
|
} : {
|
|
3331
3331
|
val: {
|
|
3332
|
-
type:
|
|
3333
|
-
value:
|
|
3334
|
-
options: er(
|
|
3335
|
-
offset:
|
|
3332
|
+
type: k.plural,
|
|
3333
|
+
value: o,
|
|
3334
|
+
options: er(L.val),
|
|
3335
|
+
offset: I,
|
|
3336
3336
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3337
|
-
location:
|
|
3337
|
+
location: O
|
|
3338
3338
|
},
|
|
3339
3339
|
err: null
|
|
3340
3340
|
};
|
|
3341
3341
|
}
|
|
3342
3342
|
default:
|
|
3343
|
-
return this.error(
|
|
3343
|
+
return this.error(T.INVALID_ARGUMENT_TYPE, S(a, u));
|
|
3344
3344
|
}
|
|
3345
3345
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3346
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3346
|
+
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3347
3347
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3348
3348
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3349
|
-
var
|
|
3350
|
-
switch (
|
|
3349
|
+
var o = this.char();
|
|
3350
|
+
switch (o) {
|
|
3351
3351
|
case 39: {
|
|
3352
3352
|
this.bump();
|
|
3353
|
-
var
|
|
3353
|
+
var s = this.clonePosition();
|
|
3354
3354
|
if (!this.bumpUntil("'"))
|
|
3355
|
-
return this.error(
|
|
3355
|
+
return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(s, this.clonePosition()));
|
|
3356
3356
|
this.bump();
|
|
3357
3357
|
break;
|
|
3358
3358
|
}
|
|
@@ -3380,57 +3380,57 @@ var Ko = (
|
|
|
3380
3380
|
err: null
|
|
3381
3381
|
};
|
|
3382
3382
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3383
|
-
var
|
|
3383
|
+
var o = [];
|
|
3384
3384
|
try {
|
|
3385
|
-
|
|
3386
|
-
} catch (
|
|
3387
|
-
return this.error(
|
|
3385
|
+
o = Os(t);
|
|
3386
|
+
} catch (s) {
|
|
3387
|
+
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
3388
3388
|
}
|
|
3389
3389
|
return {
|
|
3390
3390
|
val: {
|
|
3391
3391
|
type: Ne.number,
|
|
3392
|
-
tokens:
|
|
3392
|
+
tokens: o,
|
|
3393
3393
|
location: r,
|
|
3394
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3394
|
+
parsedOptions: this.shouldParseSkeletons ? Ms(o) : {}
|
|
3395
3395
|
},
|
|
3396
3396
|
err: null
|
|
3397
3397
|
};
|
|
3398
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r,
|
|
3399
|
-
for (var n, a = !1, l = [], u = /* @__PURE__ */ new Set(), c =
|
|
3398
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, o, s) {
|
|
3399
|
+
for (var n, a = !1, l = [], u = /* @__PURE__ */ new Set(), c = s.value, h = s.location; ; ) {
|
|
3400
3400
|
if (c.length === 0) {
|
|
3401
3401
|
var d = this.clonePosition();
|
|
3402
3402
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3403
|
-
var p = this.tryParseDecimalInteger(
|
|
3403
|
+
var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3404
3404
|
if (p.err)
|
|
3405
3405
|
return p;
|
|
3406
|
-
|
|
3406
|
+
h = S(d, this.clonePosition()), c = this.message.slice(d.offset, this.offset());
|
|
3407
3407
|
} else
|
|
3408
3408
|
break;
|
|
3409
3409
|
}
|
|
3410
3410
|
if (u.has(c))
|
|
3411
|
-
return this.error(r === "select" ?
|
|
3411
|
+
return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3412
3412
|
c === "other" && (a = !0), this.bumpSpace();
|
|
3413
3413
|
var m = this.clonePosition();
|
|
3414
3414
|
if (!this.bumpIf("{"))
|
|
3415
|
-
return this.error(r === "select" ?
|
|
3416
|
-
var
|
|
3417
|
-
if (
|
|
3418
|
-
return
|
|
3415
|
+
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
|
|
3416
|
+
var v = this.parseMessage(t + 1, r, o);
|
|
3417
|
+
if (v.err)
|
|
3418
|
+
return v;
|
|
3419
3419
|
var g = this.tryParseArgumentClose(m);
|
|
3420
3420
|
if (g.err)
|
|
3421
3421
|
return g;
|
|
3422
3422
|
l.push([
|
|
3423
3423
|
c,
|
|
3424
3424
|
{
|
|
3425
|
-
value:
|
|
3426
|
-
location:
|
|
3425
|
+
value: v.val,
|
|
3426
|
+
location: S(m, this.clonePosition())
|
|
3427
3427
|
}
|
|
3428
|
-
]), u.add(c), this.bumpSpace(), n = this.parseIdentifierIfPossible(), c = n.value,
|
|
3428
|
+
]), u.add(c), this.bumpSpace(), n = this.parseIdentifierIfPossible(), c = n.value, h = n.location;
|
|
3429
3429
|
}
|
|
3430
|
-
return l.length === 0 ? this.error(r === "select" ?
|
|
3430
|
+
return l.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(T.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3431
3431
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3432
|
-
var
|
|
3433
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3432
|
+
var o = 1, s = this.clonePosition();
|
|
3433
|
+
this.bumpIf("+") || this.bumpIf("-") && (o = -1);
|
|
3434
3434
|
for (var n = !1, a = 0; !this.isEOF(); ) {
|
|
3435
3435
|
var l = this.char();
|
|
3436
3436
|
if (l >= 48 && l <= 57)
|
|
@@ -3438,8 +3438,8 @@ var Ko = (
|
|
|
3438
3438
|
else
|
|
3439
3439
|
break;
|
|
3440
3440
|
}
|
|
3441
|
-
var u =
|
|
3442
|
-
return n ? (a *=
|
|
3441
|
+
var u = S(s, this.clonePosition());
|
|
3442
|
+
return n ? (a *= o, qs(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3443
3443
|
}, e.prototype.offset = function() {
|
|
3444
3444
|
return this.position.offset;
|
|
3445
3445
|
}, e.prototype.isEOF = function() {
|
|
@@ -3454,7 +3454,7 @@ var Ko = (
|
|
|
3454
3454
|
var t = this.position.offset;
|
|
3455
3455
|
if (t >= this.message.length)
|
|
3456
3456
|
throw Error("out of bound");
|
|
3457
|
-
var r =
|
|
3457
|
+
var r = $r(this.message, t);
|
|
3458
3458
|
if (r === void 0)
|
|
3459
3459
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3460
3460
|
return r;
|
|
@@ -3480,8 +3480,8 @@ var Ko = (
|
|
|
3480
3480
|
}
|
|
3481
3481
|
return !1;
|
|
3482
3482
|
}, e.prototype.bumpUntil = function(t) {
|
|
3483
|
-
var r = this.offset(),
|
|
3484
|
-
return
|
|
3483
|
+
var r = this.offset(), o = this.message.indexOf(t, r);
|
|
3484
|
+
return o >= 0 ? (this.bumpTo(o), !0) : (this.bumpTo(this.message.length), !1);
|
|
3485
3485
|
}, e.prototype.bumpTo = function(t) {
|
|
3486
3486
|
if (this.offset() > t)
|
|
3487
3487
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
@@ -3495,13 +3495,13 @@ var Ko = (
|
|
|
3495
3495
|
break;
|
|
3496
3496
|
}
|
|
3497
3497
|
}, e.prototype.bumpSpace = function() {
|
|
3498
|
-
for (; !this.isEOF() &&
|
|
3498
|
+
for (; !this.isEOF() && zr(this.char()); )
|
|
3499
3499
|
this.bump();
|
|
3500
3500
|
}, e.prototype.peek = function() {
|
|
3501
3501
|
if (this.isEOF())
|
|
3502
3502
|
return null;
|
|
3503
|
-
var t = this.char(), r = this.offset(),
|
|
3504
|
-
return
|
|
3503
|
+
var t = this.char(), r = this.offset(), o = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3504
|
+
return o != null ? o : null;
|
|
3505
3505
|
}, e;
|
|
3506
3506
|
}()
|
|
3507
3507
|
);
|
|
@@ -3514,7 +3514,7 @@ function en(e) {
|
|
|
3514
3514
|
function tn(e) {
|
|
3515
3515
|
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;
|
|
3516
3516
|
}
|
|
3517
|
-
function
|
|
3517
|
+
function zr(e) {
|
|
3518
3518
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3519
3519
|
}
|
|
3520
3520
|
function rn(e) {
|
|
@@ -3522,82 +3522,82 @@ function rn(e) {
|
|
|
3522
3522
|
}
|
|
3523
3523
|
function Ct(e) {
|
|
3524
3524
|
e.forEach(function(t) {
|
|
3525
|
-
if (delete t.location,
|
|
3525
|
+
if (delete t.location, Fr(t) || Rr(t))
|
|
3526
3526
|
for (var r in t.options)
|
|
3527
3527
|
delete t.options[r].location, Ct(t.options[r].value);
|
|
3528
|
-
else
|
|
3528
|
+
else Ir(t) && kr(t.style) || (Or(t) || Lr(t)) && _t(t.style) ? delete t.style.location : Mr(t) && Ct(t.children);
|
|
3529
3529
|
});
|
|
3530
3530
|
}
|
|
3531
|
-
function
|
|
3532
|
-
t === void 0 && (t = {}), t =
|
|
3533
|
-
var r = new
|
|
3531
|
+
function on(e, t) {
|
|
3532
|
+
t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3533
|
+
var r = new Ks(e, t).parse();
|
|
3534
3534
|
if (r.err) {
|
|
3535
|
-
var
|
|
3536
|
-
throw
|
|
3535
|
+
var o = SyntaxError(T[r.err.kind]);
|
|
3536
|
+
throw o.location = r.err.location, o.originalMessage = r.err.message, o;
|
|
3537
3537
|
}
|
|
3538
3538
|
return t != null && t.captureLocation || Ct(r.val), r.val;
|
|
3539
3539
|
}
|
|
3540
3540
|
function ht(e, t) {
|
|
3541
|
-
var r = t && t.cache ? t.cache : cn,
|
|
3542
|
-
return
|
|
3541
|
+
var r = t && t.cache ? t.cache : cn, o = t && t.serializer ? t.serializer : un, s = t && t.strategy ? t.strategy : nn;
|
|
3542
|
+
return s(e, {
|
|
3543
3543
|
cache: r,
|
|
3544
|
-
serializer:
|
|
3544
|
+
serializer: o
|
|
3545
3545
|
});
|
|
3546
3546
|
}
|
|
3547
|
-
function
|
|
3547
|
+
function sn(e) {
|
|
3548
3548
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3549
3549
|
}
|
|
3550
|
-
function
|
|
3551
|
-
var
|
|
3552
|
-
return typeof n == "undefined" && (n = e.call(this,
|
|
3550
|
+
function Xr(e, t, r, o) {
|
|
3551
|
+
var s = sn(o) ? o : r(o), n = t.get(s);
|
|
3552
|
+
return typeof n == "undefined" && (n = e.call(this, o), t.set(s, n)), n;
|
|
3553
3553
|
}
|
|
3554
|
-
function
|
|
3555
|
-
var
|
|
3556
|
-
return typeof n == "undefined" && (n = e.apply(this,
|
|
3554
|
+
function Zr(e, t, r) {
|
|
3555
|
+
var o = Array.prototype.slice.call(arguments, 3), s = r(o), n = t.get(s);
|
|
3556
|
+
return typeof n == "undefined" && (n = e.apply(this, o), t.set(s, n)), n;
|
|
3557
3557
|
}
|
|
3558
|
-
function
|
|
3559
|
-
return r.bind(t, e,
|
|
3558
|
+
function At(e, t, r, o, s) {
|
|
3559
|
+
return r.bind(t, e, o, s);
|
|
3560
3560
|
}
|
|
3561
3561
|
function nn(e, t) {
|
|
3562
|
-
var r = e.length === 1 ?
|
|
3563
|
-
return
|
|
3562
|
+
var r = e.length === 1 ? Xr : Zr;
|
|
3563
|
+
return At(e, this, r, t.cache.create(), t.serializer);
|
|
3564
3564
|
}
|
|
3565
3565
|
function an(e, t) {
|
|
3566
|
-
return
|
|
3566
|
+
return At(e, this, Zr, t.cache.create(), t.serializer);
|
|
3567
3567
|
}
|
|
3568
3568
|
function ln(e, t) {
|
|
3569
|
-
return
|
|
3569
|
+
return At(e, this, Xr, t.cache.create(), t.serializer);
|
|
3570
3570
|
}
|
|
3571
3571
|
var un = function() {
|
|
3572
3572
|
return JSON.stringify(arguments);
|
|
3573
3573
|
};
|
|
3574
|
-
function
|
|
3574
|
+
function It() {
|
|
3575
3575
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3576
3576
|
}
|
|
3577
|
-
|
|
3577
|
+
It.prototype.get = function(e) {
|
|
3578
3578
|
return this.cache[e];
|
|
3579
3579
|
};
|
|
3580
|
-
|
|
3580
|
+
It.prototype.set = function(e, t) {
|
|
3581
3581
|
this.cache[e] = t;
|
|
3582
3582
|
};
|
|
3583
3583
|
var cn = {
|
|
3584
3584
|
create: function() {
|
|
3585
|
-
return new
|
|
3585
|
+
return new It();
|
|
3586
3586
|
}
|
|
3587
3587
|
}, dt = {
|
|
3588
3588
|
variadic: an,
|
|
3589
3589
|
monadic: ln
|
|
3590
|
-
},
|
|
3590
|
+
}, Ae;
|
|
3591
3591
|
(function(e) {
|
|
3592
3592
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3593
|
-
})(
|
|
3593
|
+
})(Ae || (Ae = {}));
|
|
3594
3594
|
var tt = (
|
|
3595
3595
|
/** @class */
|
|
3596
3596
|
function(e) {
|
|
3597
|
-
|
|
3598
|
-
function t(r,
|
|
3597
|
+
be(t, e);
|
|
3598
|
+
function t(r, o, s) {
|
|
3599
3599
|
var n = e.call(this, r) || this;
|
|
3600
|
-
return n.code =
|
|
3600
|
+
return n.code = o, n.originalMessage = s, n;
|
|
3601
3601
|
}
|
|
3602
3602
|
return t.prototype.toString = function() {
|
|
3603
3603
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3606,150 +3606,150 @@ var tt = (
|
|
|
3606
3606
|
), rr = (
|
|
3607
3607
|
/** @class */
|
|
3608
3608
|
function(e) {
|
|
3609
|
-
|
|
3610
|
-
function t(r,
|
|
3611
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(
|
|
3609
|
+
be(t, e);
|
|
3610
|
+
function t(r, o, s, n) {
|
|
3611
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(o, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Ae.INVALID_VALUE, n) || this;
|
|
3612
3612
|
}
|
|
3613
3613
|
return t;
|
|
3614
3614
|
}(tt)
|
|
3615
3615
|
), fn = (
|
|
3616
3616
|
/** @class */
|
|
3617
3617
|
function(e) {
|
|
3618
|
-
|
|
3619
|
-
function t(r,
|
|
3620
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(
|
|
3618
|
+
be(t, e);
|
|
3619
|
+
function t(r, o, s) {
|
|
3620
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(o), Ae.INVALID_VALUE, s) || this;
|
|
3621
3621
|
}
|
|
3622
3622
|
return t;
|
|
3623
3623
|
}(tt)
|
|
3624
3624
|
), hn = (
|
|
3625
3625
|
/** @class */
|
|
3626
3626
|
function(e) {
|
|
3627
|
-
|
|
3628
|
-
function t(r,
|
|
3629
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(
|
|
3627
|
+
be(t, e);
|
|
3628
|
+
function t(r, o) {
|
|
3629
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(o, '"'), Ae.MISSING_VALUE, o) || this;
|
|
3630
3630
|
}
|
|
3631
3631
|
return t;
|
|
3632
3632
|
}(tt)
|
|
3633
|
-
),
|
|
3633
|
+
), oe;
|
|
3634
3634
|
(function(e) {
|
|
3635
3635
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3636
|
-
})(
|
|
3636
|
+
})(oe || (oe = {}));
|
|
3637
3637
|
function dn(e) {
|
|
3638
3638
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3639
|
-
var
|
|
3640
|
-
return !
|
|
3639
|
+
var o = t[t.length - 1];
|
|
3640
|
+
return !o || o.type !== oe.literal || r.type !== oe.literal ? t.push(r) : o.value += r.value, t;
|
|
3641
3641
|
}, []);
|
|
3642
3642
|
}
|
|
3643
3643
|
function pn(e) {
|
|
3644
3644
|
return typeof e == "function";
|
|
3645
3645
|
}
|
|
3646
|
-
function
|
|
3647
|
-
if (e.length === 1 &&
|
|
3646
|
+
function qe(e, t, r, o, s, n, a) {
|
|
3647
|
+
if (e.length === 1 && qt(e[0]))
|
|
3648
3648
|
return [
|
|
3649
3649
|
{
|
|
3650
|
-
type:
|
|
3650
|
+
type: oe.literal,
|
|
3651
3651
|
value: e[0].value
|
|
3652
3652
|
}
|
|
3653
3653
|
];
|
|
3654
3654
|
for (var l = [], u = 0, c = e; u < c.length; u++) {
|
|
3655
|
-
var
|
|
3656
|
-
if (
|
|
3655
|
+
var h = c[u];
|
|
3656
|
+
if (qt(h)) {
|
|
3657
3657
|
l.push({
|
|
3658
|
-
type:
|
|
3659
|
-
value:
|
|
3658
|
+
type: oe.literal,
|
|
3659
|
+
value: h.value
|
|
3660
3660
|
});
|
|
3661
3661
|
continue;
|
|
3662
3662
|
}
|
|
3663
|
-
if (
|
|
3663
|
+
if (Hs(h)) {
|
|
3664
3664
|
typeof n == "number" && l.push({
|
|
3665
|
-
type:
|
|
3665
|
+
type: oe.literal,
|
|
3666
3666
|
value: r.getNumberFormat(t).format(n)
|
|
3667
3667
|
});
|
|
3668
3668
|
continue;
|
|
3669
3669
|
}
|
|
3670
|
-
var d =
|
|
3671
|
-
if (!(
|
|
3670
|
+
var d = h.value;
|
|
3671
|
+
if (!(s && d in s))
|
|
3672
3672
|
throw new hn(d, a);
|
|
3673
|
-
var p =
|
|
3674
|
-
if (
|
|
3673
|
+
var p = s[d];
|
|
3674
|
+
if (Cs(h)) {
|
|
3675
3675
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
|
|
3676
|
-
type: typeof p == "string" ?
|
|
3676
|
+
type: typeof p == "string" ? oe.literal : oe.object,
|
|
3677
3677
|
value: p
|
|
3678
3678
|
});
|
|
3679
3679
|
continue;
|
|
3680
3680
|
}
|
|
3681
|
-
if (
|
|
3682
|
-
var m = typeof
|
|
3681
|
+
if (Or(h)) {
|
|
3682
|
+
var m = typeof h.style == "string" ? o.date[h.style] : _t(h.style) ? h.style.parsedOptions : void 0;
|
|
3683
3683
|
l.push({
|
|
3684
|
-
type:
|
|
3684
|
+
type: oe.literal,
|
|
3685
3685
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3686
3686
|
});
|
|
3687
3687
|
continue;
|
|
3688
3688
|
}
|
|
3689
|
-
if (
|
|
3690
|
-
var m = typeof
|
|
3689
|
+
if (Lr(h)) {
|
|
3690
|
+
var m = typeof h.style == "string" ? o.time[h.style] : _t(h.style) ? h.style.parsedOptions : o.time.medium;
|
|
3691
3691
|
l.push({
|
|
3692
|
-
type:
|
|
3692
|
+
type: oe.literal,
|
|
3693
3693
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3694
3694
|
});
|
|
3695
3695
|
continue;
|
|
3696
3696
|
}
|
|
3697
|
-
if (
|
|
3698
|
-
var m = typeof
|
|
3697
|
+
if (Ir(h)) {
|
|
3698
|
+
var m = typeof h.style == "string" ? o.number[h.style] : kr(h.style) ? h.style.parsedOptions : void 0;
|
|
3699
3699
|
m && m.scale && (p = p * (m.scale || 1)), l.push({
|
|
3700
|
-
type:
|
|
3700
|
+
type: oe.literal,
|
|
3701
3701
|
value: r.getNumberFormat(t, m).format(p)
|
|
3702
3702
|
});
|
|
3703
3703
|
continue;
|
|
3704
3704
|
}
|
|
3705
|
-
if (
|
|
3706
|
-
var
|
|
3705
|
+
if (Mr(h)) {
|
|
3706
|
+
var v = h.children, g = h.value, _ = s[g];
|
|
3707
3707
|
if (!pn(_))
|
|
3708
3708
|
throw new fn(g, "function", a);
|
|
3709
|
-
var E =
|
|
3710
|
-
return
|
|
3709
|
+
var E = qe(v, t, r, o, s, n), P = _(E.map(function(I) {
|
|
3710
|
+
return I.value;
|
|
3711
3711
|
}));
|
|
3712
|
-
Array.isArray(P) || (P = [P]), l.push.apply(l, P.map(function(
|
|
3712
|
+
Array.isArray(P) || (P = [P]), l.push.apply(l, P.map(function(I) {
|
|
3713
3713
|
return {
|
|
3714
|
-
type: typeof
|
|
3715
|
-
value:
|
|
3714
|
+
type: typeof I == "string" ? oe.literal : oe.object,
|
|
3715
|
+
value: I
|
|
3716
3716
|
};
|
|
3717
3717
|
}));
|
|
3718
3718
|
}
|
|
3719
|
-
if (
|
|
3720
|
-
var
|
|
3721
|
-
if (!
|
|
3722
|
-
throw new rr(
|
|
3723
|
-
l.push.apply(l,
|
|
3719
|
+
if (Fr(h)) {
|
|
3720
|
+
var C = h.options[p] || h.options.other;
|
|
3721
|
+
if (!C)
|
|
3722
|
+
throw new rr(h.value, p, Object.keys(h.options), a);
|
|
3723
|
+
l.push.apply(l, qe(C.value, t, r, o, s));
|
|
3724
3724
|
continue;
|
|
3725
3725
|
}
|
|
3726
|
-
if (
|
|
3727
|
-
var
|
|
3728
|
-
if (!
|
|
3726
|
+
if (Rr(h)) {
|
|
3727
|
+
var C = h.options["=".concat(p)];
|
|
3728
|
+
if (!C) {
|
|
3729
3729
|
if (!Intl.PluralRules)
|
|
3730
3730
|
throw new tt(`Intl.PluralRules is not available in this environment.
|
|
3731
3731
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3732
|
-
`,
|
|
3733
|
-
var x = r.getPluralRules(t, { type:
|
|
3734
|
-
|
|
3732
|
+
`, Ae.MISSING_INTL_API, a);
|
|
3733
|
+
var x = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
|
|
3734
|
+
C = h.options[x] || h.options.other;
|
|
3735
3735
|
}
|
|
3736
|
-
if (!
|
|
3737
|
-
throw new rr(
|
|
3738
|
-
l.push.apply(l,
|
|
3736
|
+
if (!C)
|
|
3737
|
+
throw new rr(h.value, p, Object.keys(h.options), a);
|
|
3738
|
+
l.push.apply(l, qe(C.value, t, r, o, s, p - (h.offset || 0)));
|
|
3739
3739
|
continue;
|
|
3740
3740
|
}
|
|
3741
3741
|
}
|
|
3742
3742
|
return dn(l);
|
|
3743
3743
|
}
|
|
3744
3744
|
function mn(e, t) {
|
|
3745
|
-
return t ?
|
|
3746
|
-
return r[
|
|
3745
|
+
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, o) {
|
|
3746
|
+
return r[o] = A(A({}, e[o]), t[o] || {}), r;
|
|
3747
3747
|
}, {})) : e;
|
|
3748
3748
|
}
|
|
3749
3749
|
function gn(e, t) {
|
|
3750
|
-
return t ? Object.keys(e).reduce(function(r,
|
|
3751
|
-
return r[
|
|
3752
|
-
},
|
|
3750
|
+
return t ? Object.keys(e).reduce(function(r, o) {
|
|
3751
|
+
return r[o] = mn(e[o], t[o]), r;
|
|
3752
|
+
}, A({}, e)) : e;
|
|
3753
3753
|
}
|
|
3754
3754
|
function pt(e) {
|
|
3755
3755
|
return {
|
|
@@ -3765,31 +3765,31 @@ function pt(e) {
|
|
|
3765
3765
|
}
|
|
3766
3766
|
};
|
|
3767
3767
|
}
|
|
3768
|
-
function
|
|
3768
|
+
function bn(e) {
|
|
3769
3769
|
return e === void 0 && (e = {
|
|
3770
3770
|
number: {},
|
|
3771
3771
|
dateTime: {},
|
|
3772
3772
|
pluralRules: {}
|
|
3773
3773
|
}), {
|
|
3774
3774
|
getNumberFormat: ht(function() {
|
|
3775
|
-
for (var t, r = [],
|
|
3776
|
-
r[
|
|
3775
|
+
for (var t, r = [], o = 0; o < arguments.length; o++)
|
|
3776
|
+
r[o] = arguments[o];
|
|
3777
3777
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3778
3778
|
}, {
|
|
3779
3779
|
cache: pt(e.number),
|
|
3780
3780
|
strategy: dt.variadic
|
|
3781
3781
|
}),
|
|
3782
3782
|
getDateTimeFormat: ht(function() {
|
|
3783
|
-
for (var t, r = [],
|
|
3784
|
-
r[
|
|
3783
|
+
for (var t, r = [], o = 0; o < arguments.length; o++)
|
|
3784
|
+
r[o] = arguments[o];
|
|
3785
3785
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3786
3786
|
}, {
|
|
3787
3787
|
cache: pt(e.dateTime),
|
|
3788
3788
|
strategy: dt.variadic
|
|
3789
3789
|
}),
|
|
3790
3790
|
getPluralRules: ht(function() {
|
|
3791
|
-
for (var t, r = [],
|
|
3792
|
-
r[
|
|
3791
|
+
for (var t, r = [], o = 0; o < arguments.length; o++)
|
|
3792
|
+
r[o] = arguments[o];
|
|
3793
3793
|
return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3794
3794
|
}, {
|
|
3795
3795
|
cache: pt(e.pluralRules),
|
|
@@ -3797,10 +3797,10 @@ function vn(e) {
|
|
|
3797
3797
|
})
|
|
3798
3798
|
};
|
|
3799
3799
|
}
|
|
3800
|
-
var
|
|
3800
|
+
var wn = (
|
|
3801
3801
|
/** @class */
|
|
3802
3802
|
function() {
|
|
3803
|
-
function e(t, r,
|
|
3803
|
+
function e(t, r, o, s) {
|
|
3804
3804
|
var n = this;
|
|
3805
3805
|
if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
|
|
3806
3806
|
number: {},
|
|
@@ -3810,12 +3810,12 @@ var bn = (
|
|
|
3810
3810
|
var c = n.formatToParts(u);
|
|
3811
3811
|
if (c.length === 1)
|
|
3812
3812
|
return c[0].value;
|
|
3813
|
-
var
|
|
3814
|
-
return !d.length || p.type !==
|
|
3813
|
+
var h = c.reduce(function(d, p) {
|
|
3814
|
+
return !d.length || p.type !== oe.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
|
|
3815
3815
|
}, []);
|
|
3816
|
-
return
|
|
3816
|
+
return h.length <= 1 ? h[0] || "" : h;
|
|
3817
3817
|
}, this.formatToParts = function(u) {
|
|
3818
|
-
return
|
|
3818
|
+
return qe(n.ast, n.locales, n.formatters, n.formats, u, void 0, n.message);
|
|
3819
3819
|
}, this.resolvedOptions = function() {
|
|
3820
3820
|
var u;
|
|
3821
3821
|
return {
|
|
@@ -3826,15 +3826,15 @@ var bn = (
|
|
|
3826
3826
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3827
3827
|
if (this.message = t, !e.__parse)
|
|
3828
3828
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3829
|
-
var a =
|
|
3829
|
+
var a = s || {};
|
|
3830
3830
|
a.formatters;
|
|
3831
|
-
var l =
|
|
3832
|
-
this.ast = e.__parse(t,
|
|
3831
|
+
var l = Jo(a, ["formatters"]);
|
|
3832
|
+
this.ast = e.__parse(t, A(A({}, l), { locale: this.resolvedLocale }));
|
|
3833
3833
|
} else
|
|
3834
3834
|
this.ast = t;
|
|
3835
3835
|
if (!Array.isArray(this.ast))
|
|
3836
3836
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3837
|
-
this.formats = gn(e.formats,
|
|
3837
|
+
this.formats = gn(e.formats, o), this.formatters = s && s.formatters || bn(this.formatterCache);
|
|
3838
3838
|
}
|
|
3839
3839
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3840
3840
|
get: function() {
|
|
@@ -3847,7 +3847,7 @@ var bn = (
|
|
|
3847
3847
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3848
3848
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3849
3849
|
}
|
|
3850
|
-
}, e.__parse =
|
|
3850
|
+
}, e.__parse = on, e.formats = {
|
|
3851
3851
|
number: {
|
|
3852
3852
|
integer: {
|
|
3853
3853
|
maximumFractionDigits: 0
|
|
@@ -3908,71 +3908,71 @@ var bn = (
|
|
|
3908
3908
|
}, e;
|
|
3909
3909
|
}()
|
|
3910
3910
|
);
|
|
3911
|
-
function
|
|
3911
|
+
function vn(e, t) {
|
|
3912
3912
|
if (t == null)
|
|
3913
3913
|
return;
|
|
3914
3914
|
if (t in e)
|
|
3915
3915
|
return e[t];
|
|
3916
3916
|
const r = t.split(".");
|
|
3917
|
-
let
|
|
3918
|
-
for (let
|
|
3919
|
-
if (typeof
|
|
3920
|
-
if (
|
|
3921
|
-
const n = r.slice(
|
|
3922
|
-
if (n in
|
|
3923
|
-
|
|
3917
|
+
let o = e;
|
|
3918
|
+
for (let s = 0; s < r.length; s++)
|
|
3919
|
+
if (typeof o == "object") {
|
|
3920
|
+
if (s > 0) {
|
|
3921
|
+
const n = r.slice(s, r.length).join(".");
|
|
3922
|
+
if (n in o) {
|
|
3923
|
+
o = o[n];
|
|
3924
3924
|
break;
|
|
3925
3925
|
}
|
|
3926
3926
|
}
|
|
3927
|
-
|
|
3927
|
+
o = o[r[s]];
|
|
3928
3928
|
} else
|
|
3929
|
-
|
|
3930
|
-
return
|
|
3929
|
+
o = void 0;
|
|
3930
|
+
return o;
|
|
3931
3931
|
}
|
|
3932
|
-
const
|
|
3932
|
+
const we = {}, yn = (e, t, r) => r && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = r), r), Wr = (e, t) => {
|
|
3933
3933
|
if (t == null)
|
|
3934
3934
|
return;
|
|
3935
|
-
if (t in
|
|
3936
|
-
return
|
|
3935
|
+
if (t in we && e in we[t])
|
|
3936
|
+
return we[t][e];
|
|
3937
3937
|
const r = rt(t);
|
|
3938
|
-
for (let
|
|
3939
|
-
const
|
|
3938
|
+
for (let o = 0; o < r.length; o++) {
|
|
3939
|
+
const s = r[o], n = En(s, e);
|
|
3940
3940
|
if (n)
|
|
3941
3941
|
return yn(e, t, n);
|
|
3942
3942
|
}
|
|
3943
3943
|
};
|
|
3944
|
-
let
|
|
3945
|
-
const
|
|
3944
|
+
let Ot;
|
|
3945
|
+
const Le = et({});
|
|
3946
3946
|
function Pn(e) {
|
|
3947
|
-
return
|
|
3947
|
+
return Ot[e] || null;
|
|
3948
3948
|
}
|
|
3949
|
-
function
|
|
3950
|
-
return e in
|
|
3949
|
+
function qr(e) {
|
|
3950
|
+
return e in Ot;
|
|
3951
3951
|
}
|
|
3952
3952
|
function En(e, t) {
|
|
3953
|
-
if (!
|
|
3953
|
+
if (!qr(e))
|
|
3954
3954
|
return null;
|
|
3955
3955
|
const r = Pn(e);
|
|
3956
|
-
return
|
|
3956
|
+
return vn(r, t);
|
|
3957
3957
|
}
|
|
3958
3958
|
function _n(e) {
|
|
3959
3959
|
if (e == null)
|
|
3960
3960
|
return;
|
|
3961
3961
|
const t = rt(e);
|
|
3962
3962
|
for (let r = 0; r < t.length; r++) {
|
|
3963
|
-
const
|
|
3964
|
-
if (
|
|
3965
|
-
return
|
|
3963
|
+
const o = t[r];
|
|
3964
|
+
if (qr(o))
|
|
3965
|
+
return o;
|
|
3966
3966
|
}
|
|
3967
3967
|
}
|
|
3968
3968
|
function Qr(e, ...t) {
|
|
3969
|
-
delete
|
|
3969
|
+
delete we[e], Le.update((r) => (r[e] = Bs.all([r[e] || {}, ...t]), r));
|
|
3970
3970
|
}
|
|
3971
|
-
|
|
3972
|
-
[
|
|
3971
|
+
Oe(
|
|
3972
|
+
[Le],
|
|
3973
3973
|
([e]) => Object.keys(e)
|
|
3974
3974
|
);
|
|
3975
|
-
|
|
3975
|
+
Le.subscribe((e) => Ot = e);
|
|
3976
3976
|
const Qe = {};
|
|
3977
3977
|
function xn(e, t) {
|
|
3978
3978
|
Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
|
|
@@ -3996,23 +3996,23 @@ function Ht(e) {
|
|
|
3996
3996
|
}
|
|
3997
3997
|
function Sn(e, t) {
|
|
3998
3998
|
return Promise.all(
|
|
3999
|
-
t.map((
|
|
4000
|
-
).then((
|
|
3999
|
+
t.map((o) => (xn(e, o), o().then((s) => s.default || s)))
|
|
4000
|
+
).then((o) => Qr(e, ...o));
|
|
4001
4001
|
}
|
|
4002
|
-
const
|
|
4002
|
+
const Re = {};
|
|
4003
4003
|
function Yr(e) {
|
|
4004
4004
|
if (!Ht(e))
|
|
4005
|
-
return e in
|
|
4005
|
+
return e in Re ? Re[e] : Promise.resolve();
|
|
4006
4006
|
const t = Tn(e);
|
|
4007
|
-
return
|
|
4007
|
+
return Re[e] = Promise.all(
|
|
4008
4008
|
t.map(
|
|
4009
|
-
([r,
|
|
4009
|
+
([r, o]) => Sn(r, o)
|
|
4010
4010
|
)
|
|
4011
4011
|
).then(() => {
|
|
4012
4012
|
if (Ht(e))
|
|
4013
4013
|
return Yr(e);
|
|
4014
|
-
delete
|
|
4015
|
-
}),
|
|
4014
|
+
delete Re[e];
|
|
4015
|
+
}), Re[e];
|
|
4016
4016
|
}
|
|
4017
4017
|
const Bn = {
|
|
4018
4018
|
number: {
|
|
@@ -4051,24 +4051,24 @@ const Bn = {
|
|
|
4051
4051
|
handleMissingMessage: void 0,
|
|
4052
4052
|
ignoreTag: !0
|
|
4053
4053
|
}, Hn = Cn;
|
|
4054
|
-
function
|
|
4054
|
+
function Ie() {
|
|
4055
4055
|
return Hn;
|
|
4056
4056
|
}
|
|
4057
4057
|
const mt = et(!1);
|
|
4058
|
-
var Nn = Object.defineProperty,
|
|
4058
|
+
var Nn = Object.defineProperty, An = Object.defineProperties, In = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, On = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
|
|
4059
4059
|
for (var r in t || (t = {}))
|
|
4060
|
-
|
|
4061
|
-
if (
|
|
4062
|
-
for (var r of
|
|
4063
|
-
|
|
4060
|
+
On.call(t, r) && sr(e, r, t[r]);
|
|
4061
|
+
if (or)
|
|
4062
|
+
for (var r of or(t))
|
|
4063
|
+
Ln.call(t, r) && sr(e, r, t[r]);
|
|
4064
4064
|
return e;
|
|
4065
|
-
},
|
|
4065
|
+
}, Rn = (e, t) => An(e, In(t));
|
|
4066
4066
|
let Nt;
|
|
4067
4067
|
const Je = et(null);
|
|
4068
4068
|
function nr(e) {
|
|
4069
|
-
return e.split("-").map((t, r,
|
|
4069
|
+
return e.split("-").map((t, r, o) => o.slice(0, r + 1).join("-")).reverse();
|
|
4070
4070
|
}
|
|
4071
|
-
function rt(e, t =
|
|
4071
|
+
function rt(e, t = Ie().fallbackLocale) {
|
|
4072
4072
|
const r = nr(e);
|
|
4073
4073
|
return t ? [.../* @__PURE__ */ new Set([...r, ...nr(t)])] : r;
|
|
4074
4074
|
}
|
|
@@ -4078,9 +4078,9 @@ function Pe() {
|
|
|
4078
4078
|
Je.subscribe((e) => {
|
|
4079
4079
|
Nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4080
4080
|
});
|
|
4081
|
-
const
|
|
4081
|
+
const Mn = (e) => {
|
|
4082
4082
|
if (e && _n(e) && Ht(e)) {
|
|
4083
|
-
const { loadingDelay: t } =
|
|
4083
|
+
const { loadingDelay: t } = Ie();
|
|
4084
4084
|
let r;
|
|
4085
4085
|
return typeof window != "undefined" && Pe() != null && t ? r = window.setTimeout(
|
|
4086
4086
|
() => mt.set(!0),
|
|
@@ -4092,87 +4092,87 @@ const qn = (e) => {
|
|
|
4092
4092
|
});
|
|
4093
4093
|
}
|
|
4094
4094
|
return Je.set(e);
|
|
4095
|
-
},
|
|
4096
|
-
set:
|
|
4097
|
-
}),
|
|
4095
|
+
}, ve = Rn(Fn({}, Je), {
|
|
4096
|
+
set: Mn
|
|
4097
|
+
}), ot = (e) => {
|
|
4098
4098
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4099
|
-
return (
|
|
4100
|
-
const
|
|
4101
|
-
return
|
|
4099
|
+
return (o) => {
|
|
4100
|
+
const s = JSON.stringify(o);
|
|
4101
|
+
return s in t ? t[s] : t[s] = e(o);
|
|
4102
4102
|
};
|
|
4103
4103
|
};
|
|
4104
|
-
var
|
|
4104
|
+
var kn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lt = (e, t) => {
|
|
4105
4105
|
for (var r in t || (t = {}))
|
|
4106
4106
|
Kr.call(t, r) && ir(e, r, t[r]);
|
|
4107
4107
|
if (Ye)
|
|
4108
4108
|
for (var r of Ye(t))
|
|
4109
|
-
|
|
4109
|
+
eo.call(t, r) && ir(e, r, t[r]);
|
|
4110
4110
|
return e;
|
|
4111
|
-
},
|
|
4111
|
+
}, Fe = (e, t) => {
|
|
4112
4112
|
var r = {};
|
|
4113
|
-
for (var
|
|
4114
|
-
Kr.call(e,
|
|
4113
|
+
for (var o in e)
|
|
4114
|
+
Kr.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
|
|
4115
4115
|
if (e != null && Ye)
|
|
4116
|
-
for (var
|
|
4117
|
-
t.indexOf(
|
|
4116
|
+
for (var o of Ye(e))
|
|
4117
|
+
t.indexOf(o) < 0 && eo.call(e, o) && (r[o] = e[o]);
|
|
4118
4118
|
return r;
|
|
4119
4119
|
};
|
|
4120
|
-
const
|
|
4121
|
-
const { formats: r } =
|
|
4120
|
+
const je = (e, t) => {
|
|
4121
|
+
const { formats: r } = Ie();
|
|
4122
4122
|
if (e in r && t in r[e])
|
|
4123
4123
|
return r[e][t];
|
|
4124
4124
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4125
|
-
},
|
|
4125
|
+
}, Dn = ot(
|
|
4126
4126
|
(e) => {
|
|
4127
|
-
var t = e, { locale: r, format:
|
|
4127
|
+
var t = e, { locale: r, format: o } = t, s = Fe(t, ["locale", "format"]);
|
|
4128
4128
|
if (r == null)
|
|
4129
4129
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4130
|
-
return
|
|
4130
|
+
return o && (s = je("number", o)), new Intl.NumberFormat(r, s);
|
|
4131
4131
|
}
|
|
4132
|
-
),
|
|
4132
|
+
), Un = ot(
|
|
4133
4133
|
(e) => {
|
|
4134
|
-
var t = e, { locale: r, format:
|
|
4134
|
+
var t = e, { locale: r, format: o } = t, s = Fe(t, ["locale", "format"]);
|
|
4135
4135
|
if (r == null)
|
|
4136
4136
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4137
|
-
return
|
|
4137
|
+
return o ? s = je("date", o) : Object.keys(s).length === 0 && (s = je("date", "short")), new Intl.DateTimeFormat(r, s);
|
|
4138
4138
|
}
|
|
4139
|
-
),
|
|
4139
|
+
), Gn = ot(
|
|
4140
4140
|
(e) => {
|
|
4141
|
-
var t = e, { locale: r, format:
|
|
4141
|
+
var t = e, { locale: r, format: o } = t, s = Fe(t, ["locale", "format"]);
|
|
4142
4142
|
if (r == null)
|
|
4143
4143
|
throw new Error(
|
|
4144
4144
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4145
4145
|
);
|
|
4146
|
-
return
|
|
4146
|
+
return o ? s = je("time", o) : Object.keys(s).length === 0 && (s = je("time", "short")), new Intl.DateTimeFormat(r, s);
|
|
4147
4147
|
}
|
|
4148
|
-
),
|
|
4148
|
+
), jn = (e = {}) => {
|
|
4149
4149
|
var t = e, {
|
|
4150
4150
|
locale: r = Pe()
|
|
4151
|
-
} = t,
|
|
4151
|
+
} = t, o = Fe(t, [
|
|
4152
4152
|
"locale"
|
|
4153
4153
|
]);
|
|
4154
|
-
return
|
|
4155
|
-
},
|
|
4154
|
+
return Dn(Lt({ locale: r }, o));
|
|
4155
|
+
}, $n = (e = {}) => {
|
|
4156
4156
|
var t = e, {
|
|
4157
4157
|
locale: r = Pe()
|
|
4158
|
-
} = t,
|
|
4158
|
+
} = t, o = Fe(t, [
|
|
4159
4159
|
"locale"
|
|
4160
4160
|
]);
|
|
4161
|
-
return
|
|
4162
|
-
},
|
|
4161
|
+
return Un(Lt({ locale: r }, o));
|
|
4162
|
+
}, Vn = (e = {}) => {
|
|
4163
4163
|
var t = e, {
|
|
4164
4164
|
locale: r = Pe()
|
|
4165
|
-
} = t,
|
|
4165
|
+
} = t, o = Fe(t, [
|
|
4166
4166
|
"locale"
|
|
4167
4167
|
]);
|
|
4168
|
-
return
|
|
4169
|
-
},
|
|
4168
|
+
return Gn(Lt({ locale: r }, o));
|
|
4169
|
+
}, zn = ot(
|
|
4170
4170
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4171
|
-
(e, t = Pe()) => new
|
|
4172
|
-
ignoreTag:
|
|
4171
|
+
(e, t = Pe()) => new wn(e, t, Ie().formats, {
|
|
4172
|
+
ignoreTag: Ie().ignoreTag
|
|
4173
4173
|
})
|
|
4174
|
-
),
|
|
4175
|
-
var r,
|
|
4174
|
+
), Xn = (e, t = {}) => {
|
|
4175
|
+
var r, o, s, n;
|
|
4176
4176
|
let a = t;
|
|
4177
4177
|
typeof e == "object" && (a = e, e = a.id);
|
|
4178
4178
|
const {
|
|
@@ -4184,18 +4184,18 @@ const Ue = (e, t) => {
|
|
|
4184
4184
|
throw new Error(
|
|
4185
4185
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4186
4186
|
);
|
|
4187
|
-
let
|
|
4188
|
-
if (!
|
|
4189
|
-
|
|
4190
|
-
else if (typeof
|
|
4187
|
+
let h = Wr(e, u);
|
|
4188
|
+
if (!h)
|
|
4189
|
+
h = (n = (s = (o = (r = Ie()).handleMissingMessage) == null ? void 0 : o.call(r, { locale: u, id: e, defaultValue: c })) != null ? s : c) != null ? n : e;
|
|
4190
|
+
else if (typeof h != "string")
|
|
4191
4191
|
return console.warn(
|
|
4192
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4193
|
-
),
|
|
4192
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4193
|
+
), h;
|
|
4194
4194
|
if (!l)
|
|
4195
|
-
return
|
|
4196
|
-
let d =
|
|
4195
|
+
return h;
|
|
4196
|
+
let d = h;
|
|
4197
4197
|
try {
|
|
4198
|
-
d =
|
|
4198
|
+
d = zn(h, u).format(l);
|
|
4199
4199
|
} catch (p) {
|
|
4200
4200
|
p instanceof Error && console.warn(
|
|
4201
4201
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4203,23 +4203,23 @@ const Ue = (e, t) => {
|
|
|
4203
4203
|
);
|
|
4204
4204
|
}
|
|
4205
4205
|
return d;
|
|
4206
|
-
},
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
window.emWidgets = { topic:
|
|
4206
|
+
}, Zn = (e, t) => Vn(t).format(e), Wn = (e, t) => $n(t).format(e), qn = (e, t) => jn(t).format(e), Qn = (e, t = Pe()) => Wr(e, t), Jn = Oe([ve, Le], () => Xn);
|
|
4207
|
+
Oe([ve], () => Zn);
|
|
4208
|
+
Oe([ve], () => Wn);
|
|
4209
|
+
Oe([ve], () => qn);
|
|
4210
|
+
Oe([ve, Le], () => Qn);
|
|
4211
|
+
window.emWidgets = { topic: cs };
|
|
4212
4212
|
const Yn = (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));
|
|
4213
4213
|
function Kn({ withLocale: e, translations: t }) {
|
|
4214
|
-
|
|
4215
|
-
r == null && (
|
|
4214
|
+
ve.subscribe((r) => {
|
|
4215
|
+
r == null && (Le.set(t), ve.set(e));
|
|
4216
4216
|
});
|
|
4217
4217
|
}
|
|
4218
4218
|
function ar(e, t) {
|
|
4219
4219
|
Qr(e, t);
|
|
4220
4220
|
}
|
|
4221
4221
|
function ei(e) {
|
|
4222
|
-
|
|
4222
|
+
ve.set(e);
|
|
4223
4223
|
}
|
|
4224
4224
|
const lr = {
|
|
4225
4225
|
en: {
|
|
@@ -4401,33 +4401,33 @@ const lr = {
|
|
|
4401
4401
|
forgotChangePasswordLogin: "Clique aqui para entrar",
|
|
4402
4402
|
simplePasswordError: "A senha deve ter de 8 a 20 caracteres."
|
|
4403
4403
|
}
|
|
4404
|
-
}, { document: ur } =
|
|
4404
|
+
}, { document: ur } = No;
|
|
4405
4405
|
function ti(e) {
|
|
4406
|
-
|
|
4406
|
+
Ao(e, "svelte-5j50uz", "*,*::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}.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}");
|
|
4407
4407
|
}
|
|
4408
4408
|
function cr(e) {
|
|
4409
4409
|
let t, r;
|
|
4410
4410
|
return {
|
|
4411
4411
|
c() {
|
|
4412
|
-
t = y("script"),
|
|
4413
|
-
e[0]) || i(t, "src", r), t.async = !0, t.defer = !0
|
|
4412
|
+
t = y("script"), Dt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4413
|
+
e[0]) || i(t, "src", r), t.async = !0, t.defer = !0;
|
|
4414
4414
|
},
|
|
4415
|
-
m(
|
|
4416
|
-
|
|
4415
|
+
m(o, s) {
|
|
4416
|
+
D(o, t, s);
|
|
4417
4417
|
},
|
|
4418
|
-
p(
|
|
4419
|
-
|
|
4420
|
-
1 && !
|
|
4421
|
-
|
|
4418
|
+
p(o, s) {
|
|
4419
|
+
s[0] & /*captchakey*/
|
|
4420
|
+
1 && !Dt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4421
|
+
o[0]) && i(t, "src", r);
|
|
4422
4422
|
},
|
|
4423
|
-
d(
|
|
4424
|
-
|
|
4423
|
+
d(o) {
|
|
4424
|
+
o && M(t);
|
|
4425
4425
|
}
|
|
4426
4426
|
};
|
|
4427
4427
|
}
|
|
4428
4428
|
function ri(e) {
|
|
4429
4429
|
let t, r;
|
|
4430
|
-
function
|
|
4430
|
+
function o(a, l) {
|
|
4431
4431
|
if (
|
|
4432
4432
|
/*forgotPasswordScreen*/
|
|
4433
4433
|
a[4]
|
|
@@ -4439,99 +4439,99 @@ function ri(e) {
|
|
|
4439
4439
|
if (
|
|
4440
4440
|
/*newPasswordScreen*/
|
|
4441
4441
|
a[8]
|
|
4442
|
-
) return
|
|
4442
|
+
) return si;
|
|
4443
4443
|
if (
|
|
4444
4444
|
/*passwordChangeSuccess*/
|
|
4445
4445
|
a[9]
|
|
4446
|
-
) return
|
|
4446
|
+
) return oi;
|
|
4447
4447
|
}
|
|
4448
|
-
let
|
|
4448
|
+
let s = o(e), n = s && s(e);
|
|
4449
4449
|
return {
|
|
4450
4450
|
c() {
|
|
4451
4451
|
t = y("div"), n && n.c(), i(t, "class", r = "FormContainer " + /*mobileView*/
|
|
4452
|
-
(e[10] ? "FormMobileContainer" : "")
|
|
4452
|
+
(e[10] ? "FormMobileContainer" : ""));
|
|
4453
4453
|
},
|
|
4454
4454
|
m(a, l) {
|
|
4455
|
-
|
|
4455
|
+
D(a, t, l), n && n.m(t, null);
|
|
4456
4456
|
},
|
|
4457
4457
|
p(a, l) {
|
|
4458
|
-
|
|
4458
|
+
s === (s = o(a)) && n ? n.p(a, l) : (n && n.d(1), n = s && s(a), n && (n.c(), n.m(t, null))), l[0] & /*mobileView*/
|
|
4459
4459
|
1024 && r !== (r = "FormContainer " + /*mobileView*/
|
|
4460
|
-
(a[10] ? "FormMobileContainer" : "")
|
|
4460
|
+
(a[10] ? "FormMobileContainer" : "")) && i(t, "class", r);
|
|
4461
4461
|
},
|
|
4462
4462
|
d(a) {
|
|
4463
|
-
a &&
|
|
4463
|
+
a && M(t), n && n.d();
|
|
4464
4464
|
}
|
|
4465
4465
|
};
|
|
4466
4466
|
}
|
|
4467
|
-
function
|
|
4468
|
-
let t, r,
|
|
4467
|
+
function oi(e) {
|
|
4468
|
+
let t, r, o, s, n, a, l, u, c, h, d, p, m, v, g, _ = (
|
|
4469
4469
|
/*$_*/
|
|
4470
4470
|
e[26]("forgotChangePasswordTitle") + ""
|
|
4471
|
-
), E, P,
|
|
4471
|
+
), E, P, C, x = (
|
|
4472
4472
|
/*$_*/
|
|
4473
4473
|
e[26]("forgotChangePasswordDescription") + ""
|
|
4474
|
-
),
|
|
4474
|
+
), I, L, O, ue = (
|
|
4475
4475
|
/*$_*/
|
|
4476
4476
|
e[26]("forgotChangePasswordLogin") + ""
|
|
4477
|
-
),
|
|
4477
|
+
), U, ae, G;
|
|
4478
4478
|
return {
|
|
4479
4479
|
c() {
|
|
4480
|
-
t = y("div"), r = y("div"),
|
|
4480
|
+
t = y("div"), r = y("div"), o = y("div"), s = w("svg"), n = w("defs"), a = w("style"), l = B(".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;}"), u = w("g"), c = w("g"), h = w("path"), d = w("g"), p = w("circle"), m = w("circle"), v = R(), g = y("h4"), E = B(_), P = R(), C = y("p"), I = B(x), L = R(), O = y("button"), U = B(ue), i(h, "class", "a"), i(h, "d", "M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"), i(h, "transform", "translate(264.272 482.563)"), i(c, "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(u, "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");
|
|
4481
4481
|
},
|
|
4482
|
-
m(
|
|
4483
|
-
|
|
4484
|
-
|
|
4482
|
+
m(V, z) {
|
|
4483
|
+
D(V, t, z), f(t, r), f(r, o), f(o, s), f(s, n), f(n, a), f(a, l), f(s, u), f(u, c), f(c, h), f(u, d), f(d, p), f(d, m), f(o, v), f(o, g), f(g, E), f(o, P), f(o, C), f(C, I), f(r, L), f(r, O), f(O, U), ae || (G = ie(
|
|
4484
|
+
O,
|
|
4485
4485
|
"click",
|
|
4486
4486
|
/*click_handler_7*/
|
|
4487
4487
|
e[53]
|
|
4488
4488
|
), ae = !0);
|
|
4489
4489
|
},
|
|
4490
|
-
p(
|
|
4491
|
-
|
|
4490
|
+
p(V, z) {
|
|
4491
|
+
z[0] & /*$_*/
|
|
4492
4492
|
67108864 && _ !== (_ = /*$_*/
|
|
4493
|
-
|
|
4493
|
+
V[26]("forgotChangePasswordTitle") + "") && $(E, _), z[0] & /*$_*/
|
|
4494
4494
|
67108864 && x !== (x = /*$_*/
|
|
4495
|
-
|
|
4495
|
+
V[26]("forgotChangePasswordDescription") + "") && $(I, x), z[0] & /*$_*/
|
|
4496
4496
|
67108864 && ue !== (ue = /*$_*/
|
|
4497
|
-
|
|
4497
|
+
V[26]("forgotChangePasswordLogin") + "") && $(U, ue);
|
|
4498
4498
|
},
|
|
4499
|
-
d(
|
|
4500
|
-
|
|
4499
|
+
d(V) {
|
|
4500
|
+
V && M(t), ae = !1, G();
|
|
4501
4501
|
}
|
|
4502
4502
|
};
|
|
4503
4503
|
}
|
|
4504
|
-
function
|
|
4505
|
-
let t, r,
|
|
4504
|
+
function si(e) {
|
|
4505
|
+
let t, r, o, s, n, a, l, u, c, h = (
|
|
4506
4506
|
/*$_*/
|
|
4507
4507
|
e[26]("forgotNewPasswordPassword") + ""
|
|
4508
|
-
), d, p, m,
|
|
4508
|
+
), d, p, m, v, g, _, E, P, C, x, I, L = (
|
|
4509
4509
|
/*$_*/
|
|
4510
4510
|
e[26]("forgotNewPasswordConfirmPassword") + ""
|
|
4511
|
-
),
|
|
4511
|
+
), O, ue, U, ae, G, V, z, he, J, W, Y = (
|
|
4512
4512
|
/*$_*/
|
|
4513
4513
|
e[26]("forgotNewPasswordButton") + ""
|
|
4514
|
-
), K, ee, pe,
|
|
4514
|
+
), K, ee, pe, X, H = (
|
|
4515
4515
|
/*subtitleText*/
|
|
4516
4516
|
e[25] && fr(e)
|
|
4517
4517
|
);
|
|
4518
|
-
function
|
|
4518
|
+
function Z(ce, j) {
|
|
4519
4519
|
return (
|
|
4520
4520
|
/*isNewPasswordVisible*/
|
|
4521
4521
|
ce[19] ? li : ai
|
|
4522
4522
|
);
|
|
4523
4523
|
}
|
|
4524
|
-
let N =
|
|
4524
|
+
let N = Z(e), F = N(e), te = (
|
|
4525
4525
|
/*invalidNewPassword*/
|
|
4526
4526
|
e[15] && hr(e)
|
|
4527
4527
|
);
|
|
4528
|
-
function
|
|
4528
|
+
function $e(ce, j) {
|
|
4529
4529
|
return (
|
|
4530
4530
|
/*isConfirmPasswordVisible*/
|
|
4531
4531
|
ce[20] ? hi : fi
|
|
4532
4532
|
);
|
|
4533
4533
|
}
|
|
4534
|
-
let me =
|
|
4534
|
+
let me = $e(e), se = me(e), q = (
|
|
4535
4535
|
/*invalidConfirmPassword*/
|
|
4536
4536
|
e[16] && dr(e)
|
|
4537
4537
|
), re = (
|
|
@@ -4540,23 +4540,23 @@ function oi(e) {
|
|
|
4540
4540
|
);
|
|
4541
4541
|
return {
|
|
4542
4542
|
c() {
|
|
4543
|
-
t = y("div"), r = y("div"),
|
|
4543
|
+
t = y("div"), r = y("div"), o = y("h4"), s = B(
|
|
4544
4544
|
/*titleText*/
|
|
4545
4545
|
e[24]
|
|
4546
|
-
), n =
|
|
4547
|
-
e[2] ? "new-password" : "off"), i(
|
|
4548
|
-
e[14], i(l, "class", "FormContent
|
|
4546
|
+
), n = R(), H && H.c(), a = R(), l = y("form"), u = y("div"), c = y("label"), d = B(h), p = B(":"), m = y("span"), m.textContent = "*", v = R(), g = y("input"), E = R(), F.c(), P = R(), te && te.c(), C = R(), x = y("div"), I = y("label"), O = B(L), ue = B(":"), U = y("span"), U.textContent = "*", ae = R(), G = y("input"), V = R(), se.c(), z = R(), q && q.c(), he = R(), re && re.c(), J = R(), W = y("button"), K = B(Y), 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(c, "for", "NewPassword"), i(g, "type", "password"), i(g, "id", "new-password"), i(g, "autocomplete", _ = /*savecredentials*/
|
|
4547
|
+
e[2] ? "new-password" : "off"), i(u, "class", "NewPassword"), i(u, "part", "NewPassword"), i(U, "class", "FormRequired"), i(U, "part", "FormRequired"), i(I, "for", "RetypePassword"), i(G, "type", "password"), i(G, "id", "RetypePassword"), i(x, "class", "ConfirmPassword"), i(x, "part", "ConfirmPassword"), i(W, "class", "resetPasswordButton"), i(W, "part", "resetPasswordButton"), W.disabled = ee = !/*activateSubmit*/
|
|
4548
|
+
e[14], i(l, "class", "FormContent"), i(l, "part", "FormContent"), i(t, "class", "FormForgotPassword test"), i(t, "part", "FormForgotPassword test");
|
|
4549
4549
|
},
|
|
4550
|
-
m(ce,
|
|
4551
|
-
|
|
4550
|
+
m(ce, j) {
|
|
4551
|
+
D(ce, t, j), f(t, r), f(r, o), f(o, s), f(r, n), H && H.m(r, null), f(t, a), f(t, l), f(l, u), f(u, c), f(c, d), f(c, p), f(c, m), f(u, v), f(u, g), Se(
|
|
4552
4552
|
g,
|
|
4553
4553
|
/*userNewPassword*/
|
|
4554
4554
|
e[21]
|
|
4555
|
-
), e[45](g),
|
|
4556
|
-
|
|
4555
|
+
), e[45](g), f(u, E), F.m(u, null), f(u, P), te && te.m(u, null), f(l, C), f(l, x), f(x, I), f(I, O), f(I, ue), f(I, U), f(x, ae), f(x, G), Se(
|
|
4556
|
+
G,
|
|
4557
4557
|
/*userConfirmPassword*/
|
|
4558
4558
|
e[22]
|
|
4559
|
-
), e[49](
|
|
4559
|
+
), e[49](G), f(x, V), se.m(x, null), f(x, z), q && q.m(x, null), f(l, he), re && re.m(l, null), f(l, J), f(l, W), f(W, K), pe || (X = [
|
|
4560
4560
|
ie(
|
|
4561
4561
|
g,
|
|
4562
4562
|
"input",
|
|
@@ -4564,7 +4564,7 @@ function oi(e) {
|
|
|
4564
4564
|
e[44]
|
|
4565
4565
|
),
|
|
4566
4566
|
ie(g, "keyup", function() {
|
|
4567
|
-
|
|
4567
|
+
De(
|
|
4568
4568
|
/*validatePassword*/
|
|
4569
4569
|
e[32](
|
|
4570
4570
|
/*invalidNewPassword*/
|
|
@@ -4584,13 +4584,13 @@ function oi(e) {
|
|
|
4584
4584
|
).apply(this, arguments);
|
|
4585
4585
|
}),
|
|
4586
4586
|
ie(
|
|
4587
|
-
|
|
4587
|
+
G,
|
|
4588
4588
|
"input",
|
|
4589
4589
|
/*input1_input_handler*/
|
|
4590
4590
|
e[48]
|
|
4591
4591
|
),
|
|
4592
|
-
ie(
|
|
4593
|
-
|
|
4592
|
+
ie(G, "keyup", function() {
|
|
4593
|
+
De(
|
|
4594
4594
|
/*validatePassword*/
|
|
4595
4595
|
e[32](
|
|
4596
4596
|
/*invalidConfirmPassword*/
|
|
@@ -4610,129 +4610,129 @@ function oi(e) {
|
|
|
4610
4610
|
).apply(this, arguments);
|
|
4611
4611
|
}),
|
|
4612
4612
|
ie(
|
|
4613
|
-
|
|
4613
|
+
W,
|
|
4614
4614
|
"click",
|
|
4615
4615
|
/*click_handler_6*/
|
|
4616
4616
|
e[52]
|
|
4617
4617
|
)
|
|
4618
4618
|
], pe = !0);
|
|
4619
4619
|
},
|
|
4620
|
-
p(ce,
|
|
4621
|
-
e = ce,
|
|
4622
|
-
16777216 &&
|
|
4623
|
-
|
|
4620
|
+
p(ce, j) {
|
|
4621
|
+
e = ce, j[0] & /*titleText*/
|
|
4622
|
+
16777216 && $(
|
|
4623
|
+
s,
|
|
4624
4624
|
/*titleText*/
|
|
4625
4625
|
e[24]
|
|
4626
4626
|
), /*subtitleText*/
|
|
4627
|
-
e[25] ? H ? H.p(e,
|
|
4628
|
-
67108864 &&
|
|
4629
|
-
e[26]("forgotNewPasswordPassword") + "") &&
|
|
4627
|
+
e[25] ? H ? H.p(e, j) : (H = fr(e), H.c(), H.m(r, null)) : H && (H.d(1), H = null), j[0] & /*$_*/
|
|
4628
|
+
67108864 && h !== (h = /*$_*/
|
|
4629
|
+
e[26]("forgotNewPasswordPassword") + "") && $(d, h), j[0] & /*savecredentials*/
|
|
4630
4630
|
4 && _ !== (_ = /*savecredentials*/
|
|
4631
|
-
e[2] ? "new-password" : "off") && i(g, "autocomplete", _),
|
|
4631
|
+
e[2] ? "new-password" : "off") && i(g, "autocomplete", _), j[0] & /*userNewPassword*/
|
|
4632
4632
|
2097152 && g.value !== /*userNewPassword*/
|
|
4633
4633
|
e[21] && Se(
|
|
4634
4634
|
g,
|
|
4635
4635
|
/*userNewPassword*/
|
|
4636
4636
|
e[21]
|
|
4637
|
-
), N === (N =
|
|
4638
|
-
e[15] ? te ? te.p(e,
|
|
4639
|
-
67108864 &&
|
|
4640
|
-
e[26]("forgotNewPasswordConfirmPassword") + "") &&
|
|
4641
|
-
4194304 &&
|
|
4637
|
+
), N === (N = Z(e)) && F ? F.p(e, j) : (F.d(1), F = N(e), F && (F.c(), F.m(u, P))), /*invalidNewPassword*/
|
|
4638
|
+
e[15] ? te ? te.p(e, j) : (te = hr(e), te.c(), te.m(u, null)) : te && (te.d(1), te = null), j[0] & /*$_*/
|
|
4639
|
+
67108864 && L !== (L = /*$_*/
|
|
4640
|
+
e[26]("forgotNewPasswordConfirmPassword") + "") && $(O, L), j[0] & /*userConfirmPassword*/
|
|
4641
|
+
4194304 && G.value !== /*userConfirmPassword*/
|
|
4642
4642
|
e[22] && Se(
|
|
4643
|
-
|
|
4643
|
+
G,
|
|
4644
4644
|
/*userConfirmPassword*/
|
|
4645
4645
|
e[22]
|
|
4646
|
-
), me === (me =
|
|
4647
|
-
e[16] ?
|
|
4648
|
-
e[23] ? re ? re.p(e,
|
|
4646
|
+
), me === (me = $e(e)) && se ? se.p(e, j) : (se.d(1), se = me(e), se && (se.c(), se.m(x, z))), /*invalidConfirmPassword*/
|
|
4647
|
+
e[16] ? q ? q.p(e, j) : (q = dr(e), q.c(), q.m(x, null)) : q && (q.d(1), q = null), /*setPasswordError*/
|
|
4648
|
+
e[23] ? re ? re.p(e, j) : (re = pr(e), re.c(), re.m(l, J)) : re && (re.d(1), re = null), j[0] & /*$_*/
|
|
4649
4649
|
67108864 && Y !== (Y = /*$_*/
|
|
4650
|
-
e[26]("forgotNewPasswordButton") + "") &&
|
|
4650
|
+
e[26]("forgotNewPasswordButton") + "") && $(K, Y), j[0] & /*activateSubmit*/
|
|
4651
4651
|
16384 && ee !== (ee = !/*activateSubmit*/
|
|
4652
|
-
e[14]) && (
|
|
4652
|
+
e[14]) && (W.disabled = ee);
|
|
4653
4653
|
},
|
|
4654
4654
|
d(ce) {
|
|
4655
|
-
ce &&
|
|
4655
|
+
ce && M(t), H && H.d(), e[45](null), F.d(), te && te.d(), e[49](null), se.d(), q && q.d(), re && re.d(), pe = !1, ye(X);
|
|
4656
4656
|
}
|
|
4657
4657
|
};
|
|
4658
4658
|
}
|
|
4659
4659
|
function ni(e) {
|
|
4660
|
-
let t, r,
|
|
4660
|
+
let t, r, o, s, n, a, l, u, c, h, d, p, m, v, g, _ = (
|
|
4661
4661
|
/*$_*/
|
|
4662
4662
|
e[26]("forgotPasswordSuccess") + ""
|
|
4663
|
-
), E, P,
|
|
4663
|
+
), E, P, C, x = (
|
|
4664
4664
|
/*$_*/
|
|
4665
4665
|
e[26]("forgotPasswordSuccessDescription") + ""
|
|
4666
|
-
),
|
|
4666
|
+
), I;
|
|
4667
4667
|
return {
|
|
4668
4668
|
c() {
|
|
4669
|
-
t = y("div"), r = y("div"),
|
|
4669
|
+
t = y("div"), r = y("div"), o = y("div"), s = w("svg"), n = w("defs"), a = w("style"), l = B(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"), u = w("g"), c = w("g"), h = w("path"), d = w("g"), p = w("circle"), m = w("circle"), v = R(), g = y("h4"), E = B(_), P = R(), C = y("p"), I = B(x), i(h, "class", "a"), i(h, "d", "M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"), i(h, "transform", "translate(264.272 482.563)"), i(c, "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(u, "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");
|
|
4670
4670
|
},
|
|
4671
|
-
m(
|
|
4672
|
-
|
|
4671
|
+
m(L, O) {
|
|
4672
|
+
D(L, t, O), f(t, r), f(r, o), f(o, s), f(s, n), f(n, a), f(a, l), f(s, u), f(u, c), f(c, h), f(u, d), f(d, p), f(d, m), f(o, v), f(o, g), f(g, E), f(o, P), f(o, C), f(C, I);
|
|
4673
4673
|
},
|
|
4674
|
-
p(
|
|
4675
|
-
|
|
4674
|
+
p(L, O) {
|
|
4675
|
+
O[0] & /*$_*/
|
|
4676
4676
|
67108864 && _ !== (_ = /*$_*/
|
|
4677
|
-
|
|
4677
|
+
L[26]("forgotPasswordSuccess") + "") && $(E, _), O[0] & /*$_*/
|
|
4678
4678
|
67108864 && x !== (x = /*$_*/
|
|
4679
|
-
|
|
4679
|
+
L[26]("forgotPasswordSuccessDescription") + "") && $(I, x);
|
|
4680
4680
|
},
|
|
4681
|
-
d(
|
|
4682
|
-
|
|
4681
|
+
d(L) {
|
|
4682
|
+
L && M(t);
|
|
4683
4683
|
}
|
|
4684
4684
|
};
|
|
4685
4685
|
}
|
|
4686
4686
|
function ii(e) {
|
|
4687
|
-
let t, r,
|
|
4687
|
+
let t, r, o, s, n, a, l, u, c, h = (
|
|
4688
4688
|
/*$_*/
|
|
4689
4689
|
e[26]("goToLogin") + ""
|
|
4690
|
-
), d, p, m,
|
|
4690
|
+
), d, p, m, v, g, _, E, P, C, x = (
|
|
4691
4691
|
/*$_*/
|
|
4692
4692
|
e[26]("forgotPasswordEmail") + ""
|
|
4693
|
-
),
|
|
4693
|
+
), I, L, O, ue, U, ae, G, V, z, he, J, W = (
|
|
4694
4694
|
/*$_*/
|
|
4695
4695
|
e[26]("forgotPasswordReset") + ""
|
|
4696
|
-
), Y, K, ee, pe,
|
|
4696
|
+
), Y, K, ee, pe, X = (
|
|
4697
4697
|
/*subtitleText*/
|
|
4698
4698
|
e[25] && mr(e)
|
|
4699
4699
|
), H = (
|
|
4700
4700
|
/*invalidEmail*/
|
|
4701
4701
|
e[11] && gr(e)
|
|
4702
|
-
),
|
|
4702
|
+
), Z = (
|
|
4703
4703
|
/*forgotPasswordError*/
|
|
4704
|
-
e[5] &&
|
|
4704
|
+
e[5] && br(e)
|
|
4705
4705
|
);
|
|
4706
4706
|
return {
|
|
4707
4707
|
c() {
|
|
4708
|
-
t = y("div"), r = y("div"),
|
|
4708
|
+
t = y("div"), r = y("div"), o = y("button"), s = w("svg"), n = w("defs"), a = w("style"), l = B(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), u = w("path"), c = R(), d = B(h), p = R(), m = y("h4"), v = B(
|
|
4709
4709
|
/*titleText*/
|
|
4710
4710
|
e[24]
|
|
4711
|
-
), g =
|
|
4712
|
-
(e[11] ? "InvalidField" : "")
|
|
4713
|
-
(e[11] ? "InvalidField" : "")), i(J, "class", "resetPasswordButton
|
|
4714
|
-
e[12], i(E, "class", "FormContent
|
|
4711
|
+
), g = R(), X && X.c(), _ = R(), E = y("form"), P = y("div"), C = y("label"), I = B(x), L = B(":"), O = y("span"), O.textContent = "*", ue = R(), U = y("input"), ae = R(), H && H.c(), G = R(), Z && Z.c(), he = R(), J = y("button"), Y = B(W), i(u, "class", "a"), i(u, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), i(u, "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(C, "for", "ResetPasswordByEmail"), i(U, "type", "text"), i(U, "id", "ResetPasswordByEmail"), i(P, "class", V = "ResetPasswordByEmail " + /*invalidEmail*/
|
|
4712
|
+
(e[11] ? "InvalidField" : "")), i(P, "part", z = "ResetPasswordByEmail " + /*invalidEmail*/
|
|
4713
|
+
(e[11] ? "InvalidField" : "")), i(J, "class", "resetPasswordButton"), i(J, "part", "resetPasswordButton"), J.disabled = K = !/*emailIsValid*/
|
|
4714
|
+
e[12], i(E, "class", "FormContent"), i(E, "part", "FormContent"), i(t, "class", "FormForgotPassword");
|
|
4715
4715
|
},
|
|
4716
|
-
m(N,
|
|
4717
|
-
|
|
4718
|
-
|
|
4716
|
+
m(N, F) {
|
|
4717
|
+
D(N, t, F), f(t, r), f(r, o), f(o, s), f(s, n), f(n, a), f(a, l), f(s, u), f(o, c), f(o, d), f(r, p), f(r, m), f(m, v), f(r, g), X && X.m(r, null), f(t, _), f(t, E), f(E, P), f(P, C), f(C, I), f(C, L), f(C, O), f(P, ue), f(P, U), Se(
|
|
4718
|
+
U,
|
|
4719
4719
|
/*resetPasswordEmail*/
|
|
4720
4720
|
e[7]
|
|
4721
|
-
),
|
|
4721
|
+
), f(P, ae), H && H.m(P, null), f(P, G), Z && Z.m(P, null), f(E, he), f(E, J), f(J, Y), ee || (pe = [
|
|
4722
4722
|
ie(
|
|
4723
|
-
|
|
4723
|
+
o,
|
|
4724
4724
|
"click",
|
|
4725
4725
|
/*click_handler*/
|
|
4726
4726
|
e[41]
|
|
4727
4727
|
),
|
|
4728
4728
|
ie(
|
|
4729
|
-
|
|
4729
|
+
U,
|
|
4730
4730
|
"input",
|
|
4731
4731
|
/*input_input_handler*/
|
|
4732
4732
|
e[42]
|
|
4733
4733
|
),
|
|
4734
4734
|
ie(
|
|
4735
|
-
|
|
4735
|
+
U,
|
|
4736
4736
|
"keyup",
|
|
4737
4737
|
/*validateEmail*/
|
|
4738
4738
|
e[27]
|
|
@@ -4745,37 +4745,37 @@ function ii(e) {
|
|
|
4745
4745
|
)
|
|
4746
4746
|
], ee = !0);
|
|
4747
4747
|
},
|
|
4748
|
-
p(N,
|
|
4749
|
-
|
|
4750
|
-
67108864 &&
|
|
4751
|
-
N[26]("goToLogin") + "") &&
|
|
4752
|
-
16777216 &&
|
|
4753
|
-
|
|
4748
|
+
p(N, F) {
|
|
4749
|
+
F[0] & /*$_*/
|
|
4750
|
+
67108864 && h !== (h = /*$_*/
|
|
4751
|
+
N[26]("goToLogin") + "") && $(d, h), F[0] & /*titleText*/
|
|
4752
|
+
16777216 && $(
|
|
4753
|
+
v,
|
|
4754
4754
|
/*titleText*/
|
|
4755
4755
|
N[24]
|
|
4756
4756
|
), /*subtitleText*/
|
|
4757
|
-
N[25] ?
|
|
4757
|
+
N[25] ? X ? X.p(N, F) : (X = mr(N), X.c(), X.m(r, null)) : X && (X.d(1), X = null), F[0] & /*$_*/
|
|
4758
4758
|
67108864 && x !== (x = /*$_*/
|
|
4759
|
-
N[26]("forgotPasswordEmail") + "") &&
|
|
4760
|
-
128 &&
|
|
4759
|
+
N[26]("forgotPasswordEmail") + "") && $(I, x), F[0] & /*resetPasswordEmail*/
|
|
4760
|
+
128 && U.value !== /*resetPasswordEmail*/
|
|
4761
4761
|
N[7] && Se(
|
|
4762
|
-
|
|
4762
|
+
U,
|
|
4763
4763
|
/*resetPasswordEmail*/
|
|
4764
4764
|
N[7]
|
|
4765
4765
|
), /*invalidEmail*/
|
|
4766
|
-
N[11] ? H ? H.p(N,
|
|
4767
|
-
N[5] ?
|
|
4768
|
-
2048 &&
|
|
4769
|
-
(N[11] ? "InvalidField" : "")
|
|
4770
|
-
2048 &&
|
|
4771
|
-
(N[11] ? "InvalidField" : "")) && i(P, "part",
|
|
4772
|
-
67108864 &&
|
|
4773
|
-
N[26]("forgotPasswordReset") + "") &&
|
|
4766
|
+
N[11] ? H ? H.p(N, F) : (H = gr(N), H.c(), H.m(P, G)) : H && (H.d(1), H = null), /*forgotPasswordError*/
|
|
4767
|
+
N[5] ? Z ? Z.p(N, F) : (Z = br(N), Z.c(), Z.m(P, null)) : Z && (Z.d(1), Z = null), F[0] & /*invalidEmail*/
|
|
4768
|
+
2048 && V !== (V = "ResetPasswordByEmail " + /*invalidEmail*/
|
|
4769
|
+
(N[11] ? "InvalidField" : "")) && i(P, "class", V), F[0] & /*invalidEmail*/
|
|
4770
|
+
2048 && z !== (z = "ResetPasswordByEmail " + /*invalidEmail*/
|
|
4771
|
+
(N[11] ? "InvalidField" : "")) && i(P, "part", z), F[0] & /*$_*/
|
|
4772
|
+
67108864 && W !== (W = /*$_*/
|
|
4773
|
+
N[26]("forgotPasswordReset") + "") && $(Y, W), F[0] & /*emailIsValid*/
|
|
4774
4774
|
4096 && K !== (K = !/*emailIsValid*/
|
|
4775
4775
|
N[12]) && (J.disabled = K);
|
|
4776
4776
|
},
|
|
4777
4777
|
d(N) {
|
|
4778
|
-
N &&
|
|
4778
|
+
N && M(t), X && X.d(), H && H.d(), Z && Z.d(), ee = !1, ye(pe);
|
|
4779
4779
|
}
|
|
4780
4780
|
};
|
|
4781
4781
|
}
|
|
@@ -4783,36 +4783,36 @@ function fr(e) {
|
|
|
4783
4783
|
let t, r;
|
|
4784
4784
|
return {
|
|
4785
4785
|
c() {
|
|
4786
|
-
t = y("p"), r =
|
|
4786
|
+
t = y("p"), r = B(
|
|
4787
4787
|
/*subtitleText*/
|
|
4788
4788
|
e[25]
|
|
4789
|
-
), i(t, "class", "FormHeaderSubtitle
|
|
4789
|
+
), i(t, "class", "FormHeaderSubtitle"), i(t, "part", "FormHeaderSubtitle");
|
|
4790
4790
|
},
|
|
4791
|
-
m(
|
|
4792
|
-
|
|
4791
|
+
m(o, s) {
|
|
4792
|
+
D(o, t, s), f(t, r);
|
|
4793
4793
|
},
|
|
4794
|
-
p(
|
|
4795
|
-
|
|
4796
|
-
33554432 &&
|
|
4794
|
+
p(o, s) {
|
|
4795
|
+
s[0] & /*subtitleText*/
|
|
4796
|
+
33554432 && $(
|
|
4797
4797
|
r,
|
|
4798
4798
|
/*subtitleText*/
|
|
4799
|
-
|
|
4799
|
+
o[25]
|
|
4800
4800
|
);
|
|
4801
4801
|
},
|
|
4802
|
-
d(
|
|
4803
|
-
|
|
4802
|
+
d(o) {
|
|
4803
|
+
o && M(t);
|
|
4804
4804
|
}
|
|
4805
4805
|
};
|
|
4806
4806
|
}
|
|
4807
4807
|
function ai(e) {
|
|
4808
|
-
let t, r,
|
|
4808
|
+
let t, r, o, s, n, a, l, u, c, h;
|
|
4809
4809
|
return {
|
|
4810
4810
|
c() {
|
|
4811
|
-
t =
|
|
4812
|
-
(e[15] ? "InvalidToggle" : "")
|
|
4811
|
+
t = w("svg"), r = w("defs"), o = w("style"), s = B(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = w("g"), a = w("path"), l = w("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", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4812
|
+
(e[15] ? "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");
|
|
4813
4813
|
},
|
|
4814
4814
|
m(d, p) {
|
|
4815
|
-
|
|
4815
|
+
D(d, t, p), f(t, r), f(r, o), f(o, s), f(t, n), f(n, a), f(n, l), c || (h = ie(
|
|
4816
4816
|
t,
|
|
4817
4817
|
"click",
|
|
4818
4818
|
/*click_handler_3*/
|
|
@@ -4822,22 +4822,22 @@ function ai(e) {
|
|
|
4822
4822
|
p(d, p) {
|
|
4823
4823
|
p[0] & /*invalidNewPassword*/
|
|
4824
4824
|
32768 && u !== (u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4825
|
-
(d[15] ? "InvalidToggle" : "")
|
|
4825
|
+
(d[15] ? "InvalidToggle" : "")) && i(t, "class", u);
|
|
4826
4826
|
},
|
|
4827
4827
|
d(d) {
|
|
4828
|
-
d &&
|
|
4828
|
+
d && M(t), c = !1, h();
|
|
4829
4829
|
}
|
|
4830
4830
|
};
|
|
4831
4831
|
}
|
|
4832
4832
|
function li(e) {
|
|
4833
|
-
let t, r,
|
|
4833
|
+
let t, r, o, s, n, a, l, u, c, h, d, p, m, v, g, _;
|
|
4834
4834
|
return {
|
|
4835
4835
|
c() {
|
|
4836
|
-
t =
|
|
4837
|
-
(e[15] ? "InvalidToggle" : "")
|
|
4836
|
+
t = w("svg"), r = w("defs"), o = w("style"), s = B(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = w("g"), a = w("circle"), l = w("g"), u = w("path"), c = w("path"), h = w("g"), d = w("path"), p = w("path"), m = w("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(u, "class", "a"), i(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), i(u, "transform", "translate(-142.164 -39.123)"), i(c, "class", "a"), i(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), i(c, "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(h, "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", v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4837
|
+
(e[15] ? "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");
|
|
4838
4838
|
},
|
|
4839
4839
|
m(E, P) {
|
|
4840
|
-
|
|
4840
|
+
D(E, t, P), f(t, r), f(r, o), f(o, s), f(t, n), f(n, a), f(n, l), f(l, u), f(l, c), f(n, h), f(h, d), f(h, p), f(n, m), g || (_ = ie(
|
|
4841
4841
|
t,
|
|
4842
4842
|
"click",
|
|
4843
4843
|
/*click_handler_2*/
|
|
@@ -4846,11 +4846,11 @@ function li(e) {
|
|
|
4846
4846
|
},
|
|
4847
4847
|
p(E, P) {
|
|
4848
4848
|
P[0] & /*invalidNewPassword*/
|
|
4849
|
-
32768 &&
|
|
4850
|
-
(E[15] ? "InvalidToggle" : "")
|
|
4849
|
+
32768 && v !== (v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4850
|
+
(E[15] ? "InvalidToggle" : "")) && i(t, "class", v);
|
|
4851
4851
|
},
|
|
4852
4852
|
d(E) {
|
|
4853
|
-
E &&
|
|
4853
|
+
E && M(t), g = !1, _();
|
|
4854
4854
|
}
|
|
4855
4855
|
};
|
|
4856
4856
|
}
|
|
@@ -4862,19 +4862,19 @@ function hr(e) {
|
|
|
4862
4862
|
n[1] == "true" ? ci : ui
|
|
4863
4863
|
);
|
|
4864
4864
|
}
|
|
4865
|
-
let
|
|
4865
|
+
let o = r(e), s = o(e);
|
|
4866
4866
|
return {
|
|
4867
4867
|
c() {
|
|
4868
|
-
|
|
4868
|
+
s.c(), t = Pr();
|
|
4869
4869
|
},
|
|
4870
4870
|
m(n, a) {
|
|
4871
|
-
|
|
4871
|
+
s.m(n, a), D(n, t, a);
|
|
4872
4872
|
},
|
|
4873
4873
|
p(n, a) {
|
|
4874
|
-
|
|
4874
|
+
o === (o = r(n)) && s ? s.p(n, a) : (s.d(1), s = o(n), s && (s.c(), s.m(t.parentNode, t)));
|
|
4875
4875
|
},
|
|
4876
4876
|
d(n) {
|
|
4877
|
-
n &&
|
|
4877
|
+
n && M(t), s.d(n);
|
|
4878
4878
|
}
|
|
4879
4879
|
};
|
|
4880
4880
|
}
|
|
@@ -4882,21 +4882,21 @@ function ui(e) {
|
|
|
4882
4882
|
let t, r = (
|
|
4883
4883
|
/*$_*/
|
|
4884
4884
|
e[26]("forgotNewPasswordPasswordError") + ""
|
|
4885
|
-
),
|
|
4885
|
+
), o;
|
|
4886
4886
|
return {
|
|
4887
4887
|
c() {
|
|
4888
|
-
t = y("p"),
|
|
4888
|
+
t = y("p"), o = B(r), i(t, "class", "InvalidInput"), i(t, "part", "InvalidInput");
|
|
4889
4889
|
},
|
|
4890
|
-
m(
|
|
4891
|
-
|
|
4890
|
+
m(s, n) {
|
|
4891
|
+
D(s, t, n), f(t, o);
|
|
4892
4892
|
},
|
|
4893
|
-
p(
|
|
4893
|
+
p(s, n) {
|
|
4894
4894
|
n[0] & /*$_*/
|
|
4895
4895
|
67108864 && r !== (r = /*$_*/
|
|
4896
|
-
|
|
4896
|
+
s[26]("forgotNewPasswordPasswordError") + "") && $(o, r);
|
|
4897
4897
|
},
|
|
4898
|
-
d(
|
|
4899
|
-
|
|
4898
|
+
d(s) {
|
|
4899
|
+
s && M(t);
|
|
4900
4900
|
}
|
|
4901
4901
|
};
|
|
4902
4902
|
}
|
|
@@ -4904,33 +4904,33 @@ function ci(e) {
|
|
|
4904
4904
|
let t, r = (
|
|
4905
4905
|
/*$_*/
|
|
4906
4906
|
e[26]("simplePasswordError") + ""
|
|
4907
|
-
),
|
|
4907
|
+
), o;
|
|
4908
4908
|
return {
|
|
4909
4909
|
c() {
|
|
4910
|
-
t = y("p"),
|
|
4910
|
+
t = y("p"), o = B(r), i(t, "class", "InvalidInput"), i(t, "part", "InvalidInput");
|
|
4911
4911
|
},
|
|
4912
|
-
m(
|
|
4913
|
-
|
|
4912
|
+
m(s, n) {
|
|
4913
|
+
D(s, t, n), f(t, o);
|
|
4914
4914
|
},
|
|
4915
|
-
p(
|
|
4915
|
+
p(s, n) {
|
|
4916
4916
|
n[0] & /*$_*/
|
|
4917
4917
|
67108864 && r !== (r = /*$_*/
|
|
4918
|
-
|
|
4918
|
+
s[26]("simplePasswordError") + "") && $(o, r);
|
|
4919
4919
|
},
|
|
4920
|
-
d(
|
|
4921
|
-
|
|
4920
|
+
d(s) {
|
|
4921
|
+
s && M(t);
|
|
4922
4922
|
}
|
|
4923
4923
|
};
|
|
4924
4924
|
}
|
|
4925
4925
|
function fi(e) {
|
|
4926
|
-
let t, r,
|
|
4926
|
+
let t, r, o, s, n, a, l, u, c, h;
|
|
4927
4927
|
return {
|
|
4928
4928
|
c() {
|
|
4929
|
-
t =
|
|
4930
|
-
(e[16] ? "InvalidToggle" : "")
|
|
4929
|
+
t = w("svg"), r = w("defs"), o = w("style"), s = B(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = w("g"), a = w("path"), l = w("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", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
4930
|
+
(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");
|
|
4931
4931
|
},
|
|
4932
4932
|
m(d, p) {
|
|
4933
|
-
|
|
4933
|
+
D(d, t, p), f(t, r), f(r, o), f(o, s), f(t, n), f(n, a), f(n, l), c || (h = ie(
|
|
4934
4934
|
t,
|
|
4935
4935
|
"click",
|
|
4936
4936
|
/*click_handler_5*/
|
|
@@ -4940,22 +4940,22 @@ function fi(e) {
|
|
|
4940
4940
|
p(d, p) {
|
|
4941
4941
|
p[0] & /*invalidConfirmPassword*/
|
|
4942
4942
|
65536 && u !== (u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
4943
|
-
(d[16] ? "InvalidToggle" : "")
|
|
4943
|
+
(d[16] ? "InvalidToggle" : "")) && i(t, "class", u);
|
|
4944
4944
|
},
|
|
4945
4945
|
d(d) {
|
|
4946
|
-
d &&
|
|
4946
|
+
d && M(t), c = !1, h();
|
|
4947
4947
|
}
|
|
4948
4948
|
};
|
|
4949
4949
|
}
|
|
4950
4950
|
function hi(e) {
|
|
4951
|
-
let t, r,
|
|
4951
|
+
let t, r, o, s, n, a, l, u, c, h, d, p, m, v, g, _;
|
|
4952
4952
|
return {
|
|
4953
4953
|
c() {
|
|
4954
|
-
t =
|
|
4955
|
-
(e[16] ? "InvalidToggle" : "")
|
|
4954
|
+
t = w("svg"), r = w("defs"), o = w("style"), s = B(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = w("g"), a = w("circle"), l = w("g"), u = w("path"), c = w("path"), h = w("g"), d = w("path"), p = w("path"), m = w("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(u, "class", "a"), i(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), i(u, "transform", "translate(-142.164 -39.123)"), i(c, "class", "a"), i(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), i(c, "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(h, "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", v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
4955
|
+
(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");
|
|
4956
4956
|
},
|
|
4957
4957
|
m(E, P) {
|
|
4958
|
-
|
|
4958
|
+
D(E, t, P), f(t, r), f(r, o), f(o, s), f(t, n), f(n, a), f(n, l), f(l, u), f(l, c), f(n, h), f(h, d), f(h, p), f(n, m), g || (_ = ie(
|
|
4959
4959
|
t,
|
|
4960
4960
|
"click",
|
|
4961
4961
|
/*click_handler_4*/
|
|
@@ -4964,11 +4964,11 @@ function hi(e) {
|
|
|
4964
4964
|
},
|
|
4965
4965
|
p(E, P) {
|
|
4966
4966
|
P[0] & /*invalidConfirmPassword*/
|
|
4967
|
-
65536 &&
|
|
4968
|
-
(E[16] ? "InvalidToggle" : "")
|
|
4967
|
+
65536 && v !== (v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
4968
|
+
(E[16] ? "InvalidToggle" : "")) && i(t, "class", v);
|
|
4969
4969
|
},
|
|
4970
4970
|
d(E) {
|
|
4971
|
-
E &&
|
|
4971
|
+
E && M(t), g = !1, _();
|
|
4972
4972
|
}
|
|
4973
4973
|
};
|
|
4974
4974
|
}
|
|
@@ -4976,21 +4976,21 @@ function dr(e) {
|
|
|
4976
4976
|
let t, r = (
|
|
4977
4977
|
/*$_*/
|
|
4978
4978
|
e[26]("forgotNewPasswordConfirmPasswordError") + ""
|
|
4979
|
-
),
|
|
4979
|
+
), o;
|
|
4980
4980
|
return {
|
|
4981
4981
|
c() {
|
|
4982
|
-
t = y("p"),
|
|
4982
|
+
t = y("p"), o = B(r), i(t, "class", "InvalidInput"), i(t, "part", "InvalidInput");
|
|
4983
4983
|
},
|
|
4984
|
-
m(
|
|
4985
|
-
|
|
4984
|
+
m(s, n) {
|
|
4985
|
+
D(s, t, n), f(t, o);
|
|
4986
4986
|
},
|
|
4987
|
-
p(
|
|
4987
|
+
p(s, n) {
|
|
4988
4988
|
n[0] & /*$_*/
|
|
4989
4989
|
67108864 && r !== (r = /*$_*/
|
|
4990
|
-
|
|
4990
|
+
s[26]("forgotNewPasswordConfirmPasswordError") + "") && $(o, r);
|
|
4991
4991
|
},
|
|
4992
|
-
d(
|
|
4993
|
-
|
|
4992
|
+
d(s) {
|
|
4993
|
+
s && M(t);
|
|
4994
4994
|
}
|
|
4995
4995
|
};
|
|
4996
4996
|
}
|
|
@@ -4998,24 +4998,24 @@ function pr(e) {
|
|
|
4998
4998
|
let t, r;
|
|
4999
4999
|
return {
|
|
5000
5000
|
c() {
|
|
5001
|
-
t = y("p"), r =
|
|
5001
|
+
t = y("p"), r = B(
|
|
5002
5002
|
/*errorMessage*/
|
|
5003
5003
|
e[13]
|
|
5004
|
-
), i(t, "class", "ErrorMessage
|
|
5004
|
+
), i(t, "class", "ErrorMessage"), i(t, "part", "ErrorMessage");
|
|
5005
5005
|
},
|
|
5006
|
-
m(
|
|
5007
|
-
|
|
5006
|
+
m(o, s) {
|
|
5007
|
+
D(o, t, s), f(t, r);
|
|
5008
5008
|
},
|
|
5009
|
-
p(
|
|
5010
|
-
|
|
5011
|
-
8192 &&
|
|
5009
|
+
p(o, s) {
|
|
5010
|
+
s[0] & /*errorMessage*/
|
|
5011
|
+
8192 && $(
|
|
5012
5012
|
r,
|
|
5013
5013
|
/*errorMessage*/
|
|
5014
|
-
|
|
5014
|
+
o[13]
|
|
5015
5015
|
);
|
|
5016
5016
|
},
|
|
5017
|
-
d(
|
|
5018
|
-
|
|
5017
|
+
d(o) {
|
|
5018
|
+
o && M(t);
|
|
5019
5019
|
}
|
|
5020
5020
|
};
|
|
5021
5021
|
}
|
|
@@ -5023,24 +5023,24 @@ function mr(e) {
|
|
|
5023
5023
|
let t, r;
|
|
5024
5024
|
return {
|
|
5025
5025
|
c() {
|
|
5026
|
-
t = y("p"), r =
|
|
5026
|
+
t = y("p"), r = B(
|
|
5027
5027
|
/*subtitleText*/
|
|
5028
5028
|
e[25]
|
|
5029
|
-
), i(t, "class", "FormHeaderSubtitle
|
|
5029
|
+
), i(t, "class", "FormHeaderSubtitle"), i(t, "part", "FormHeaderSubtitle");
|
|
5030
5030
|
},
|
|
5031
|
-
m(
|
|
5032
|
-
|
|
5031
|
+
m(o, s) {
|
|
5032
|
+
D(o, t, s), f(t, r);
|
|
5033
5033
|
},
|
|
5034
|
-
p(
|
|
5035
|
-
|
|
5036
|
-
33554432 &&
|
|
5034
|
+
p(o, s) {
|
|
5035
|
+
s[0] & /*subtitleText*/
|
|
5036
|
+
33554432 && $(
|
|
5037
5037
|
r,
|
|
5038
5038
|
/*subtitleText*/
|
|
5039
|
-
|
|
5039
|
+
o[25]
|
|
5040
5040
|
);
|
|
5041
5041
|
},
|
|
5042
|
-
d(
|
|
5043
|
-
|
|
5042
|
+
d(o) {
|
|
5043
|
+
o && M(t);
|
|
5044
5044
|
}
|
|
5045
5045
|
};
|
|
5046
5046
|
}
|
|
@@ -5048,90 +5048,90 @@ function gr(e) {
|
|
|
5048
5048
|
let t, r = (
|
|
5049
5049
|
/*$_*/
|
|
5050
5050
|
e[26]("forgotPasswordEmailInputError") + ""
|
|
5051
|
-
),
|
|
5051
|
+
), o;
|
|
5052
5052
|
return {
|
|
5053
5053
|
c() {
|
|
5054
|
-
t = y("p"),
|
|
5054
|
+
t = y("p"), o = B(r), i(t, "class", "ForgotPasswordError"), i(t, "part", "ForgotPasswordError");
|
|
5055
5055
|
},
|
|
5056
|
-
m(
|
|
5057
|
-
|
|
5056
|
+
m(s, n) {
|
|
5057
|
+
D(s, t, n), f(t, o);
|
|
5058
5058
|
},
|
|
5059
|
-
p(
|
|
5059
|
+
p(s, n) {
|
|
5060
5060
|
n[0] & /*$_*/
|
|
5061
5061
|
67108864 && r !== (r = /*$_*/
|
|
5062
|
-
|
|
5062
|
+
s[26]("forgotPasswordEmailInputError") + "") && $(o, r);
|
|
5063
5063
|
},
|
|
5064
|
-
d(
|
|
5065
|
-
|
|
5064
|
+
d(s) {
|
|
5065
|
+
s && M(t);
|
|
5066
5066
|
}
|
|
5067
5067
|
};
|
|
5068
5068
|
}
|
|
5069
|
-
function
|
|
5069
|
+
function br(e) {
|
|
5070
5070
|
let t, r = (
|
|
5071
5071
|
/*$_*/
|
|
5072
5072
|
e[26]("forgotPasswordEmailError") + ""
|
|
5073
|
-
),
|
|
5073
|
+
), o;
|
|
5074
5074
|
return {
|
|
5075
5075
|
c() {
|
|
5076
|
-
t = y("p"),
|
|
5076
|
+
t = y("p"), o = B(r), i(t, "class", "ForgotPasswordError"), i(t, "part", "ForgotPasswordError");
|
|
5077
5077
|
},
|
|
5078
|
-
m(
|
|
5079
|
-
|
|
5078
|
+
m(s, n) {
|
|
5079
|
+
D(s, t, n), f(t, o);
|
|
5080
5080
|
},
|
|
5081
|
-
p(
|
|
5081
|
+
p(s, n) {
|
|
5082
5082
|
n[0] & /*$_*/
|
|
5083
5083
|
67108864 && r !== (r = /*$_*/
|
|
5084
|
-
|
|
5084
|
+
s[26]("forgotPasswordEmailError") + "") && $(o, r);
|
|
5085
5085
|
},
|
|
5086
|
-
d(
|
|
5087
|
-
|
|
5086
|
+
d(s) {
|
|
5087
|
+
s && M(t);
|
|
5088
5088
|
}
|
|
5089
5089
|
};
|
|
5090
5090
|
}
|
|
5091
5091
|
function di(e) {
|
|
5092
|
-
let t, r,
|
|
5092
|
+
let t, r, o, s, n, a = (
|
|
5093
5093
|
/*captchakey*/
|
|
5094
5094
|
e[0] && cr(e)
|
|
5095
5095
|
);
|
|
5096
|
-
function l(
|
|
5096
|
+
function l(h, d) {
|
|
5097
5097
|
return ri;
|
|
5098
5098
|
}
|
|
5099
5099
|
let c = l()(e);
|
|
5100
5100
|
return {
|
|
5101
5101
|
c() {
|
|
5102
|
-
a && a.c(), t = Pr(), r =
|
|
5103
|
-
|
|
5102
|
+
a && a.c(), t = Pr(), r = R(), o = y("div"), s = R(), n = y("div"), c.c(), i(o, "class", "g-recaptcha"), i(
|
|
5103
|
+
o,
|
|
5104
5104
|
"data-sitekey",
|
|
5105
5105
|
/*captchakey*/
|
|
5106
5106
|
e[0]
|
|
5107
|
-
), i(n, "class", "GeneralPlayerForgotPasswordForm
|
|
5107
|
+
), i(n, "class", "GeneralPlayerForgotPasswordForm");
|
|
5108
5108
|
},
|
|
5109
|
-
m(
|
|
5110
|
-
a && a.m(ur.head, null),
|
|
5109
|
+
m(h, d) {
|
|
5110
|
+
a && a.m(ur.head, null), f(ur.head, t), D(h, r, d), D(h, o, d), D(h, s, d), D(h, n, d), c.m(n, null), e[54](n);
|
|
5111
5111
|
},
|
|
5112
|
-
p(
|
|
5112
|
+
p(h, d) {
|
|
5113
5113
|
/*captchakey*/
|
|
5114
|
-
|
|
5114
|
+
h[0] ? a ? a.p(h, d) : (a = cr(h), a.c(), a.m(t.parentNode, t)) : a && (a.d(1), a = null), d[0] & /*captchakey*/
|
|
5115
5115
|
1 && i(
|
|
5116
|
-
|
|
5116
|
+
o,
|
|
5117
5117
|
"data-sitekey",
|
|
5118
5118
|
/*captchakey*/
|
|
5119
|
-
|
|
5120
|
-
), c.p(
|
|
5119
|
+
h[0]
|
|
5120
|
+
), c.p(h, d);
|
|
5121
5121
|
},
|
|
5122
5122
|
i: de,
|
|
5123
5123
|
o: de,
|
|
5124
|
-
d(
|
|
5125
|
-
|
|
5124
|
+
d(h) {
|
|
5125
|
+
h && (M(r), M(o), M(s), M(n)), a && a.d(h), M(t), c.d(), e[54](null);
|
|
5126
5126
|
}
|
|
5127
5127
|
};
|
|
5128
5128
|
}
|
|
5129
5129
|
function pi(e, t, r) {
|
|
5130
|
-
let
|
|
5131
|
-
|
|
5132
|
-
let { endpoint:
|
|
5130
|
+
let o;
|
|
5131
|
+
Ho(e, Jn, (b) => r(26, o = b));
|
|
5132
|
+
let { endpoint: s = "" } = t, { forgotpasswordkey: n = "" } = t, { captchakey: a = "" } = t, { lang: l = "en" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: d = "" } = t, { savecredentials: p = "" } = t, { hastosetpass: m = "false" } = t, { passwordregex: v = "" } = t, g = !0, _ = !1, E = !1, P = "", C = !1, x = !1, I = !1, L = !1, O = !1, ue = window.navigator.userAgent, U = "", ae = !1, G = !1, V = !1, z, he, J = !1, W = !1, Y = "", K = "", ee, pe = !1, X, H;
|
|
5133
5133
|
Kn({ withLocale: "en", translations: {} });
|
|
5134
|
-
const
|
|
5134
|
+
const Z = () => {
|
|
5135
5135
|
fetch(d).then((Q) => Q.json()).then((Q) => {
|
|
5136
5136
|
Object.keys(Q).forEach((ne) => {
|
|
5137
5137
|
ar(ne, Q[ne]);
|
|
@@ -5140,48 +5140,48 @@ function pi(e, t, r) {
|
|
|
5140
5140
|
console.log(Q);
|
|
5141
5141
|
});
|
|
5142
5142
|
};
|
|
5143
|
-
Object.keys(lr).forEach((
|
|
5144
|
-
ar(
|
|
5143
|
+
Object.keys(lr).forEach((b) => {
|
|
5144
|
+
ar(b, lr[b]);
|
|
5145
5145
|
});
|
|
5146
5146
|
const N = {
|
|
5147
5147
|
email: /^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,
|
|
5148
5148
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5149
|
-
},
|
|
5150
|
-
|
|
5151
|
-
}, te = (
|
|
5152
|
-
r(11,
|
|
5153
|
-
}, me = (
|
|
5154
|
-
switch (
|
|
5149
|
+
}, F = () => {
|
|
5150
|
+
L ? r(12, O = !1) : r(12, O = !0);
|
|
5151
|
+
}, te = (b) => !!(N.email.test(b) && b.length <= 100), $e = () => {
|
|
5152
|
+
r(11, L = !te(P)), F();
|
|
5153
|
+
}, me = (b) => {
|
|
5154
|
+
switch (b) {
|
|
5155
5155
|
case "userNewPassword":
|
|
5156
|
-
r(19, J = !J), r(17,
|
|
5156
|
+
r(19, J = !J), r(17, z.type = J ? "text" : "password", z);
|
|
5157
5157
|
break;
|
|
5158
5158
|
case "userConfirmPassword":
|
|
5159
|
-
r(20,
|
|
5159
|
+
r(20, W = !W), r(18, he.type = W ? "text" : "password", he);
|
|
5160
5160
|
break;
|
|
5161
5161
|
}
|
|
5162
|
-
},
|
|
5163
|
-
switch (
|
|
5162
|
+
}, se = (b) => {
|
|
5163
|
+
switch (b) {
|
|
5164
5164
|
case "ToEmailSuccess":
|
|
5165
5165
|
r(5, _ = !1), r(4, g = !1), r(6, E = !0);
|
|
5166
5166
|
break;
|
|
5167
5167
|
case "ToReset":
|
|
5168
|
-
r(4, g = !1), r(8,
|
|
5168
|
+
r(4, g = !1), r(8, C = !0);
|
|
5169
5169
|
break;
|
|
5170
5170
|
case "ToSuccess":
|
|
5171
|
-
r(8,
|
|
5171
|
+
r(8, C = !1), r(9, x = !0);
|
|
5172
5172
|
break;
|
|
5173
5173
|
}
|
|
5174
|
-
},
|
|
5174
|
+
}, q = () => {
|
|
5175
5175
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5176
|
-
}, re = () => new Promise((
|
|
5176
|
+
}, re = () => new Promise((b, Q) => {
|
|
5177
5177
|
grecaptcha.ready(() => {
|
|
5178
5178
|
grecaptcha.execute(a, { action: "submit" }).then((ne) => {
|
|
5179
|
-
|
|
5179
|
+
b(ne);
|
|
5180
5180
|
});
|
|
5181
5181
|
});
|
|
5182
|
-
}), ce = (
|
|
5183
|
-
|
|
5184
|
-
let ne = new URL(`${
|
|
5182
|
+
}), ce = (b) => {
|
|
5183
|
+
b.preventDefault(), re().then((Q) => {
|
|
5184
|
+
let ne = new URL(`${s}/v1/player/resetpassword`), nt = {
|
|
5185
5185
|
method: "POST",
|
|
5186
5186
|
headers: {
|
|
5187
5187
|
"Content-Type": "application/json",
|
|
@@ -5190,12 +5190,12 @@ function pi(e, t, r) {
|
|
|
5190
5190
|
}
|
|
5191
5191
|
};
|
|
5192
5192
|
ne.searchParams.append("email", P), fetch(ne, nt).then((Ee) => {
|
|
5193
|
-
Ee.status == 200 ?
|
|
5193
|
+
Ee.status == 200 ? se("ToEmailSuccess") : r(5, _ = !0);
|
|
5194
5194
|
});
|
|
5195
5195
|
});
|
|
5196
|
-
},
|
|
5197
|
-
|
|
5198
|
-
let Q = new URL(`${
|
|
5196
|
+
}, j = (b) => {
|
|
5197
|
+
b.preventDefault();
|
|
5198
|
+
let Q = new URL(`${s}/v1/player/ResetPasswordByHashKey`), nt = {
|
|
5199
5199
|
method: "POST",
|
|
5200
5200
|
headers: {
|
|
5201
5201
|
"Content-Type": "application/json",
|
|
@@ -5206,25 +5206,25 @@ function pi(e, t, r) {
|
|
|
5206
5206
|
plainTextPassword: Y
|
|
5207
5207
|
})
|
|
5208
5208
|
};
|
|
5209
|
-
fetch(Q, nt).then((Ee) => (Ee.status == 200 ? (r(23, pe = !1),
|
|
5210
|
-
r(13,
|
|
5209
|
+
fetch(Q, nt).then((Ee) => (Ee.status == 200 ? (r(23, pe = !1), se("ToSuccess")) : r(23, pe = !0), Ee.json())).then((Ee) => {
|
|
5210
|
+
r(13, U = Ee.error);
|
|
5211
5211
|
});
|
|
5212
|
-
},
|
|
5213
|
-
n && n.length > 0 &&
|
|
5214
|
-
},
|
|
5215
|
-
!
|
|
5216
|
-
},
|
|
5217
|
-
ne.id === "new-password" ? (r(15,
|
|
5218
|
-
},
|
|
5212
|
+
}, to = () => {
|
|
5213
|
+
n && n.length > 0 && se("ToReset");
|
|
5214
|
+
}, ro = () => {
|
|
5215
|
+
!G && !V && Y && K ? r(14, ae = !0) : r(14, ae = !1);
|
|
5216
|
+
}, st = (b) => (u == "true" && (N.password = /^(?!.* ).{8,20}$/), !!N.password.test(b)), oo = (b, Q, ne) => {
|
|
5217
|
+
ne.id === "new-password" ? (r(15, G = !st(Q)), K && r(16, V = Y === K ? !st(Q) : !0)) : r(16, V = Y === K ? !st(Q) : !0), ro();
|
|
5218
|
+
}, so = () => {
|
|
5219
5219
|
ei(l);
|
|
5220
|
-
},
|
|
5221
|
-
r(24,
|
|
5222
|
-
},
|
|
5223
|
-
let
|
|
5224
|
-
|
|
5225
|
-
},
|
|
5226
|
-
let
|
|
5227
|
-
fetch(
|
|
5220
|
+
}, no = () => {
|
|
5221
|
+
r(24, X = o(m === "true" ? "hasToSetPassTitle" : "forgotPasswordTitle")), r(25, H = m === "true" ? o("resetPasswordSubtitle") : "");
|
|
5222
|
+
}, io = () => {
|
|
5223
|
+
let b = document.createElement("style");
|
|
5224
|
+
b.innerHTML = c, ee.appendChild(b);
|
|
5225
|
+
}, ao = () => {
|
|
5226
|
+
let b = new URL(h), Q = document.createElement("style");
|
|
5227
|
+
fetch(b.href).then((ne) => ne.text()).then((ne) => {
|
|
5228
5228
|
Q.innerHTML = ne, setTimeout(
|
|
5229
5229
|
() => {
|
|
5230
5230
|
ee.appendChild(Q);
|
|
@@ -5237,50 +5237,50 @@ function pi(e, t, r) {
|
|
|
5237
5237
|
);
|
|
5238
5238
|
});
|
|
5239
5239
|
};
|
|
5240
|
-
|
|
5241
|
-
Yn(ue) && r(10,
|
|
5240
|
+
Mo(() => at(this, null, function* () {
|
|
5241
|
+
Yn(ue) && r(10, I = !0);
|
|
5242
5242
|
}));
|
|
5243
|
-
const
|
|
5244
|
-
function
|
|
5243
|
+
const lo = () => q();
|
|
5244
|
+
function uo() {
|
|
5245
5245
|
P = this.value, r(7, P);
|
|
5246
5246
|
}
|
|
5247
|
-
const
|
|
5248
|
-
function
|
|
5247
|
+
const co = (b) => ce(b);
|
|
5248
|
+
function fo() {
|
|
5249
5249
|
Y = this.value, r(21, Y);
|
|
5250
5250
|
}
|
|
5251
|
-
function
|
|
5252
|
-
|
|
5253
|
-
|
|
5251
|
+
function ho(b) {
|
|
5252
|
+
ke[b ? "unshift" : "push"](() => {
|
|
5253
|
+
z = b, r(17, z);
|
|
5254
5254
|
});
|
|
5255
5255
|
}
|
|
5256
|
-
const
|
|
5257
|
-
function
|
|
5256
|
+
const po = () => me("userNewPassword"), mo = () => me("userNewPassword");
|
|
5257
|
+
function go() {
|
|
5258
5258
|
K = this.value, r(22, K);
|
|
5259
5259
|
}
|
|
5260
|
-
function
|
|
5261
|
-
|
|
5262
|
-
he =
|
|
5260
|
+
function bo(b) {
|
|
5261
|
+
ke[b ? "unshift" : "push"](() => {
|
|
5262
|
+
he = b, r(18, he);
|
|
5263
5263
|
});
|
|
5264
5264
|
}
|
|
5265
|
-
const
|
|
5266
|
-
function
|
|
5267
|
-
|
|
5268
|
-
ee =
|
|
5265
|
+
const wo = () => me("userConfirmPassword"), vo = () => me("userConfirmPassword"), yo = (b) => j(b), Po = () => q();
|
|
5266
|
+
function Eo(b) {
|
|
5267
|
+
ke[b ? "unshift" : "push"](() => {
|
|
5268
|
+
ee = b, r(3, ee);
|
|
5269
5269
|
});
|
|
5270
5270
|
}
|
|
5271
|
-
return e.$$set = (
|
|
5272
|
-
"endpoint" in
|
|
5271
|
+
return e.$$set = (b) => {
|
|
5272
|
+
"endpoint" in b && r(33, s = b.endpoint), "forgotpasswordkey" in b && r(34, n = b.forgotpasswordkey), "captchakey" in b && r(0, a = b.captchakey), "lang" in b && r(35, l = b.lang), "simplepasswordvalidation" in b && r(1, u = b.simplepasswordvalidation), "clientstyling" in b && r(36, c = b.clientstyling), "clientstylingurl" in b && r(37, h = b.clientstylingurl), "translationurl" in b && r(38, d = b.translationurl), "savecredentials" in b && r(2, p = b.savecredentials), "hastosetpass" in b && r(39, m = b.hastosetpass), "passwordregex" in b && r(40, v = b.passwordregex);
|
|
5273
5273
|
}, e.$$.update = () => {
|
|
5274
5274
|
e.$$.dirty[1] & /*forgotpasswordkey*/
|
|
5275
|
-
8 && n &&
|
|
5276
|
-
16 && l &&
|
|
5275
|
+
8 && n && to(), e.$$.dirty[1] & /*lang*/
|
|
5276
|
+
16 && l && so(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5277
5277
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
5278
|
-
32 && c && ee &&
|
|
5278
|
+
32 && c && ee && io(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5279
5279
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
5280
|
-
64 &&
|
|
5281
|
-
128 && d &&
|
|
5282
|
-
272 && m && l &&
|
|
5283
|
-
512 &&
|
|
5280
|
+
64 && h && ee && ao(), e.$$.dirty[1] & /*translationurl*/
|
|
5281
|
+
128 && d && Z(), e.$$.dirty[1] & /*hastosetpass, lang*/
|
|
5282
|
+
272 && m && l && no(), e.$$.dirty[1] & /*passwordregex*/
|
|
5283
|
+
512 && v && (N.password = new RegExp(v));
|
|
5284
5284
|
}, [
|
|
5285
5285
|
a,
|
|
5286
5286
|
u,
|
|
@@ -5290,63 +5290,63 @@ function pi(e, t, r) {
|
|
|
5290
5290
|
_,
|
|
5291
5291
|
E,
|
|
5292
5292
|
P,
|
|
5293
|
-
|
|
5293
|
+
C,
|
|
5294
5294
|
x,
|
|
5295
|
-
A,
|
|
5296
|
-
O,
|
|
5297
5295
|
I,
|
|
5298
|
-
|
|
5296
|
+
L,
|
|
5297
|
+
O,
|
|
5298
|
+
U,
|
|
5299
5299
|
ae,
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5300
|
+
G,
|
|
5301
|
+
V,
|
|
5302
|
+
z,
|
|
5303
5303
|
he,
|
|
5304
5304
|
J,
|
|
5305
|
-
|
|
5305
|
+
W,
|
|
5306
5306
|
Y,
|
|
5307
5307
|
K,
|
|
5308
5308
|
pe,
|
|
5309
|
-
|
|
5309
|
+
X,
|
|
5310
5310
|
H,
|
|
5311
|
-
|
|
5312
|
-
|
|
5311
|
+
o,
|
|
5312
|
+
$e,
|
|
5313
5313
|
me,
|
|
5314
|
-
|
|
5314
|
+
q,
|
|
5315
5315
|
ce,
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5316
|
+
j,
|
|
5317
|
+
oo,
|
|
5318
|
+
s,
|
|
5319
5319
|
n,
|
|
5320
5320
|
l,
|
|
5321
5321
|
c,
|
|
5322
|
-
|
|
5322
|
+
h,
|
|
5323
5323
|
d,
|
|
5324
5324
|
m,
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5325
|
+
v,
|
|
5326
|
+
lo,
|
|
5327
|
+
uo,
|
|
5328
|
+
co,
|
|
5329
|
+
fo,
|
|
5330
|
+
ho,
|
|
5331
|
+
po,
|
|
5332
|
+
mo,
|
|
5333
|
+
go,
|
|
5334
|
+
bo,
|
|
5335
|
+
wo,
|
|
5336
|
+
vo,
|
|
5337
|
+
yo,
|
|
5338
|
+
Po,
|
|
5339
|
+
Eo
|
|
5340
5340
|
];
|
|
5341
5341
|
}
|
|
5342
|
-
class mi extends
|
|
5342
|
+
class mi extends qo {
|
|
5343
5343
|
constructor(t) {
|
|
5344
|
-
super(),
|
|
5344
|
+
super(), Zo(
|
|
5345
5345
|
this,
|
|
5346
5346
|
t,
|
|
5347
5347
|
pi,
|
|
5348
5348
|
di,
|
|
5349
|
-
|
|
5349
|
+
vr,
|
|
5350
5350
|
{
|
|
5351
5351
|
endpoint: 33,
|
|
5352
5352
|
forgotpasswordkey: 34,
|
|
@@ -5431,7 +5431,7 @@ class mi extends Zs {
|
|
|
5431
5431
|
this.$$set({ passwordregex: t }), le();
|
|
5432
5432
|
}
|
|
5433
5433
|
}
|
|
5434
|
-
|
|
5434
|
+
Wo(mi, { endpoint: {}, forgotpasswordkey: {}, captchakey: {}, lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, hastosetpass: {}, passwordregex: {} }, [], [], !0);
|
|
5435
5435
|
export {
|
|
5436
5436
|
mi as default
|
|
5437
5437
|
};
|