@everymatrix/general-player-login-form 1.54.0 → 1.54.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/{GeneralPlayerLoginForm-DUIEbQRl.js → GeneralPlayerLoginForm-MMmgBHKW.js} +1005 -1046
- package/components/{GeneralPlayerSmsVerificationForm-YNd10ORF.js → GeneralPlayerSmsVerificationForm-COg-pr9r.js} +133 -149
- package/esnext/general-player-login-form.js +14 -0
- package/package.json +10 -11
- package/components/GeneralPlayerLoginForm-BeNMMtcU.cjs +0 -5
- package/components/GeneralPlayerSmsVerificationForm-BLyLGeI8.cjs +0 -1
- package/es2015/general-player-login-form.cjs +0 -1
- package/es2015/general-player-login-form.js +0 -16
package/components/{GeneralPlayerLoginForm-DUIEbQRl.js → GeneralPlayerLoginForm-MMmgBHKW.js}
RENAMED
|
@@ -1,57 +1,28 @@
|
|
|
1
|
-
var dn = Object.defineProperty, mn = Object.defineProperties;
|
|
2
|
-
var pn = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var Zt = Object.getOwnPropertySymbols;
|
|
4
|
-
var gn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var yt = (e, t, r) => t in e ? dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qt = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
gn.call(t, r) && yt(e, r, t[r]);
|
|
8
|
-
if (Zt)
|
|
9
|
-
for (var r of Zt(t))
|
|
10
|
-
bn.call(t, r) && yt(e, r, t[r]);
|
|
11
|
-
return e;
|
|
12
|
-
}, Jt = (e, t) => mn(e, pn(t));
|
|
13
|
-
var Y = (e, t, r) => yt(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
|
-
var o = (u) => {
|
|
16
|
-
try {
|
|
17
|
-
a(r.next(u));
|
|
18
|
-
} catch (l) {
|
|
19
|
-
i(l);
|
|
20
|
-
}
|
|
21
|
-
}, s = (u) => {
|
|
22
|
-
try {
|
|
23
|
-
a(r.throw(u));
|
|
24
|
-
} catch (l) {
|
|
25
|
-
i(l);
|
|
26
|
-
}
|
|
27
|
-
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
|
28
|
-
a((r = r.apply(e, t)).next());
|
|
29
|
-
});
|
|
30
1
|
function Z() {
|
|
31
2
|
}
|
|
32
|
-
function
|
|
3
|
+
function Er(e) {
|
|
33
4
|
return e();
|
|
34
5
|
}
|
|
35
|
-
function
|
|
6
|
+
function Vt() {
|
|
36
7
|
return /* @__PURE__ */ Object.create(null);
|
|
37
8
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
9
|
+
function Oe(e) {
|
|
10
|
+
e.forEach(Er);
|
|
40
11
|
}
|
|
41
|
-
function
|
|
12
|
+
function Dt(e) {
|
|
42
13
|
return typeof e == "function";
|
|
43
14
|
}
|
|
44
|
-
function
|
|
15
|
+
function wr(e, t) {
|
|
45
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
17
|
}
|
|
47
18
|
let tt;
|
|
48
|
-
function
|
|
19
|
+
function zt(e, t) {
|
|
49
20
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
50
21
|
}
|
|
51
|
-
function
|
|
22
|
+
function on(e) {
|
|
52
23
|
return Object.keys(e).length === 0;
|
|
53
24
|
}
|
|
54
|
-
function
|
|
25
|
+
function xr(e, ...t) {
|
|
55
26
|
if (e == null) {
|
|
56
27
|
for (const n of t)
|
|
57
28
|
n(void 0);
|
|
@@ -60,24 +31,24 @@ function Ir(e, ...t) {
|
|
|
60
31
|
const r = e.subscribe(...t);
|
|
61
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
33
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function sn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(xr(t, r));
|
|
65
36
|
}
|
|
66
|
-
const
|
|
37
|
+
const an = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
|
|
67
38
|
// @ts-ignore Node typings have this
|
|
68
39
|
global
|
|
69
40
|
);
|
|
70
|
-
function
|
|
41
|
+
function m(e, t) {
|
|
71
42
|
e.appendChild(t);
|
|
72
43
|
}
|
|
73
|
-
function
|
|
74
|
-
const n =
|
|
44
|
+
function ln(e, t, r) {
|
|
45
|
+
const n = un(e);
|
|
75
46
|
if (!n.getElementById(t)) {
|
|
76
47
|
const i = S("style");
|
|
77
|
-
i.id = t, i.textContent = r,
|
|
48
|
+
i.id = t, i.textContent = r, cn(n, i);
|
|
78
49
|
}
|
|
79
50
|
}
|
|
80
|
-
function
|
|
51
|
+
function un(e) {
|
|
81
52
|
if (!e) return document;
|
|
82
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
83
54
|
return t && /** @type {ShadowRoot} */
|
|
@@ -86,8 +57,8 @@ function wn(e) {
|
|
|
86
57
|
t
|
|
87
58
|
) : e.ownerDocument;
|
|
88
59
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
60
|
+
function cn(e, t) {
|
|
61
|
+
return m(
|
|
91
62
|
/** @type {Document} */
|
|
92
63
|
e.head || e,
|
|
93
64
|
t
|
|
@@ -111,30 +82,30 @@ function N(e) {
|
|
|
111
82
|
function z() {
|
|
112
83
|
return N(" ");
|
|
113
84
|
}
|
|
114
|
-
function
|
|
85
|
+
function hn() {
|
|
115
86
|
return N("");
|
|
116
87
|
}
|
|
117
|
-
function
|
|
88
|
+
function se(e, t, r, n) {
|
|
118
89
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
119
90
|
}
|
|
120
91
|
function h(e, t, r) {
|
|
121
92
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
122
93
|
}
|
|
123
|
-
function
|
|
94
|
+
function Y(e, t, r) {
|
|
124
95
|
const n = t.toLowerCase();
|
|
125
96
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
|
|
126
97
|
}
|
|
127
|
-
function
|
|
98
|
+
function fn(e) {
|
|
128
99
|
return Array.from(e.childNodes);
|
|
129
100
|
}
|
|
130
|
-
function
|
|
101
|
+
function te(e, t) {
|
|
131
102
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
132
103
|
t);
|
|
133
104
|
}
|
|
134
105
|
function rt(e, t) {
|
|
135
|
-
e.value = t
|
|
106
|
+
e.value = t ?? "";
|
|
136
107
|
}
|
|
137
|
-
function
|
|
108
|
+
function dn(e) {
|
|
138
109
|
const t = {};
|
|
139
110
|
return e.childNodes.forEach(
|
|
140
111
|
/** @param {Element} node */
|
|
@@ -143,85 +114,85 @@ function Tn(e) {
|
|
|
143
114
|
}
|
|
144
115
|
), t;
|
|
145
116
|
}
|
|
146
|
-
let
|
|
147
|
-
function
|
|
148
|
-
|
|
117
|
+
let Xe;
|
|
118
|
+
function ze(e) {
|
|
119
|
+
Xe = e;
|
|
149
120
|
}
|
|
150
|
-
function
|
|
151
|
-
if (!
|
|
152
|
-
return
|
|
121
|
+
function mn() {
|
|
122
|
+
if (!Xe) throw new Error("Function called outside component initialization");
|
|
123
|
+
return Xe;
|
|
153
124
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
125
|
+
function pn(e) {
|
|
126
|
+
mn().$$.on_mount.push(e);
|
|
156
127
|
}
|
|
157
|
-
const
|
|
158
|
-
let
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
function
|
|
162
|
-
|
|
128
|
+
const Pe = [], ut = [];
|
|
129
|
+
let Te = [];
|
|
130
|
+
const Xt = [], gn = /* @__PURE__ */ Promise.resolve();
|
|
131
|
+
let St = !1;
|
|
132
|
+
function bn() {
|
|
133
|
+
St || (St = !0, gn.then(ee));
|
|
163
134
|
}
|
|
164
|
-
function
|
|
165
|
-
|
|
135
|
+
function Pt(e) {
|
|
136
|
+
Te.push(e);
|
|
166
137
|
}
|
|
167
|
-
const
|
|
168
|
-
let
|
|
169
|
-
function
|
|
170
|
-
if (
|
|
138
|
+
const bt = /* @__PURE__ */ new Set();
|
|
139
|
+
let xe = 0;
|
|
140
|
+
function ee() {
|
|
141
|
+
if (xe !== 0)
|
|
171
142
|
return;
|
|
172
|
-
const e =
|
|
143
|
+
const e = Xe;
|
|
173
144
|
do {
|
|
174
145
|
try {
|
|
175
|
-
for (;
|
|
176
|
-
const t =
|
|
177
|
-
|
|
146
|
+
for (; xe < Pe.length; ) {
|
|
147
|
+
const t = Pe[xe];
|
|
148
|
+
xe++, ze(t), yn(t.$$);
|
|
178
149
|
}
|
|
179
150
|
} catch (t) {
|
|
180
|
-
throw
|
|
151
|
+
throw Pe.length = 0, xe = 0, t;
|
|
181
152
|
}
|
|
182
|
-
for (
|
|
183
|
-
for (let t = 0; t <
|
|
184
|
-
const r =
|
|
185
|
-
|
|
153
|
+
for (ze(null), Pe.length = 0, xe = 0; ut.length; ) ut.pop()();
|
|
154
|
+
for (let t = 0; t < Te.length; t += 1) {
|
|
155
|
+
const r = Te[t];
|
|
156
|
+
bt.has(r) || (bt.add(r), r());
|
|
186
157
|
}
|
|
187
|
-
|
|
188
|
-
} while (
|
|
189
|
-
for (;
|
|
190
|
-
|
|
191
|
-
|
|
158
|
+
Te.length = 0;
|
|
159
|
+
} while (Pe.length);
|
|
160
|
+
for (; Xt.length; )
|
|
161
|
+
Xt.pop()();
|
|
162
|
+
St = !1, bt.clear(), ze(e);
|
|
192
163
|
}
|
|
193
|
-
function
|
|
164
|
+
function yn(e) {
|
|
194
165
|
if (e.fragment !== null) {
|
|
195
|
-
e.update(),
|
|
166
|
+
e.update(), Oe(e.before_update);
|
|
196
167
|
const t = e.dirty;
|
|
197
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
168
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
|
|
198
169
|
}
|
|
199
170
|
}
|
|
200
|
-
function
|
|
171
|
+
function vn(e) {
|
|
201
172
|
const t = [], r = [];
|
|
202
|
-
|
|
173
|
+
Te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Te = t;
|
|
203
174
|
}
|
|
204
|
-
const
|
|
205
|
-
function
|
|
206
|
-
e && e.i && (
|
|
175
|
+
const _n = /* @__PURE__ */ new Set();
|
|
176
|
+
function En(e, t) {
|
|
177
|
+
e && e.i && (_n.delete(e), e.i(t));
|
|
207
178
|
}
|
|
208
|
-
function
|
|
179
|
+
function wn(e, t, r) {
|
|
209
180
|
const { fragment: n, after_update: i } = e.$$;
|
|
210
|
-
n && n.m(t, r),
|
|
211
|
-
const o = e.$$.on_mount.map(
|
|
212
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
213
|
-
}), i.forEach(
|
|
181
|
+
n && n.m(t, r), Pt(() => {
|
|
182
|
+
const o = e.$$.on_mount.map(Er).filter(Dt);
|
|
183
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Oe(o), e.$$.on_mount = [];
|
|
184
|
+
}), i.forEach(Pt);
|
|
214
185
|
}
|
|
215
|
-
function
|
|
186
|
+
function xn(e, t) {
|
|
216
187
|
const r = e.$$;
|
|
217
|
-
r.fragment !== null && (
|
|
188
|
+
r.fragment !== null && (vn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
218
189
|
}
|
|
219
|
-
function
|
|
220
|
-
e.$$.dirty[0] === -1 && (
|
|
190
|
+
function Sn(e, t) {
|
|
191
|
+
e.$$.dirty[0] === -1 && (Pe.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
221
192
|
}
|
|
222
|
-
function
|
|
223
|
-
const
|
|
224
|
-
|
|
193
|
+
function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
194
|
+
const c = Xe;
|
|
195
|
+
ze(e);
|
|
225
196
|
const l = e.$$ = {
|
|
226
197
|
fragment: null,
|
|
227
198
|
ctx: [],
|
|
@@ -229,159 +200,155 @@ function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
229
200
|
props: o,
|
|
230
201
|
update: Z,
|
|
231
202
|
not_equal: i,
|
|
232
|
-
bound:
|
|
203
|
+
bound: Vt(),
|
|
233
204
|
// lifecycle
|
|
234
205
|
on_mount: [],
|
|
235
206
|
on_destroy: [],
|
|
236
207
|
on_disconnect: [],
|
|
237
208
|
before_update: [],
|
|
238
209
|
after_update: [],
|
|
239
|
-
context: new Map(t.context || (
|
|
210
|
+
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
240
211
|
// everything else
|
|
241
|
-
callbacks:
|
|
212
|
+
callbacks: Vt(),
|
|
242
213
|
dirty: a,
|
|
243
214
|
skip_bound: !1,
|
|
244
|
-
root: t.target ||
|
|
215
|
+
root: t.target || c.$$.root
|
|
245
216
|
};
|
|
246
217
|
s && s(l.root);
|
|
247
|
-
let
|
|
218
|
+
let u = !1;
|
|
248
219
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
249
220
|
const v = b.length ? b[0] : d;
|
|
250
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v),
|
|
251
|
-
}) : [], l.update(),
|
|
221
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), u && Sn(e, f)), d;
|
|
222
|
+
}) : [], l.update(), u = !0, Oe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
252
223
|
if (t.hydrate) {
|
|
253
|
-
const f =
|
|
224
|
+
const f = fn(t.target);
|
|
254
225
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
255
226
|
} else
|
|
256
227
|
l.fragment && l.fragment.c();
|
|
257
|
-
t.intro &&
|
|
228
|
+
t.intro && En(e.$$.fragment), wn(e, t.target, t.anchor), ee();
|
|
258
229
|
}
|
|
259
|
-
|
|
260
|
-
}
|
|
261
|
-
let
|
|
262
|
-
typeof HTMLElement == "function" && (
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
230
|
+
ze(c);
|
|
231
|
+
}
|
|
232
|
+
let Sr;
|
|
233
|
+
typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
234
|
+
/** The Svelte component constructor */
|
|
235
|
+
$$ctor;
|
|
236
|
+
/** Slots */
|
|
237
|
+
$$s;
|
|
238
|
+
/** The Svelte component instance */
|
|
239
|
+
$$c;
|
|
240
|
+
/** Whether or not the custom element is connected */
|
|
241
|
+
$$cn = !1;
|
|
242
|
+
/** Component props data */
|
|
243
|
+
$$d = {};
|
|
244
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
245
|
+
$$r = !1;
|
|
246
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
247
|
+
$$p_d = {};
|
|
248
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
249
|
+
$$l = {};
|
|
250
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
251
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
252
|
+
constructor(e, t, r) {
|
|
253
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
|
284
254
|
}
|
|
285
|
-
addEventListener(t, r
|
|
286
|
-
if (this.$$l[
|
|
287
|
-
const
|
|
288
|
-
this.$$l_u.set(
|
|
255
|
+
addEventListener(e, t, r) {
|
|
256
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
257
|
+
const n = this.$$c.$on(e, t);
|
|
258
|
+
this.$$l_u.set(t, n);
|
|
289
259
|
}
|
|
290
|
-
super.addEventListener(t, r
|
|
260
|
+
super.addEventListener(e, t, r);
|
|
291
261
|
}
|
|
292
|
-
removeEventListener(t, r
|
|
293
|
-
if (super.removeEventListener(t, r
|
|
294
|
-
const
|
|
295
|
-
|
|
262
|
+
removeEventListener(e, t, r) {
|
|
263
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
264
|
+
const n = this.$$l_u.get(t);
|
|
265
|
+
n && (n(), this.$$l_u.delete(t));
|
|
296
266
|
}
|
|
297
267
|
}
|
|
298
|
-
connectedCallback() {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
}
|
|
318
|
-
};
|
|
268
|
+
async connectedCallback() {
|
|
269
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
270
|
+
let e = function(i) {
|
|
271
|
+
return () => {
|
|
272
|
+
let o;
|
|
273
|
+
return {
|
|
274
|
+
c: function() {
|
|
275
|
+
o = S("slot"), i !== "default" && h(o, "name", i);
|
|
276
|
+
},
|
|
277
|
+
/**
|
|
278
|
+
* @param {HTMLElement} target
|
|
279
|
+
* @param {HTMLElement} [anchor]
|
|
280
|
+
*/
|
|
281
|
+
m: function(c, l) {
|
|
282
|
+
L(c, o, l);
|
|
283
|
+
},
|
|
284
|
+
d: function(c) {
|
|
285
|
+
c && I(o);
|
|
286
|
+
}
|
|
319
287
|
};
|
|
320
288
|
};
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
289
|
+
};
|
|
290
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
291
|
+
return;
|
|
292
|
+
const t = {}, r = dn(this);
|
|
293
|
+
for (const i of this.$$s)
|
|
294
|
+
i in r && (t[i] = [e(i)]);
|
|
295
|
+
for (const i of this.attributes) {
|
|
296
|
+
const o = this.$$g_p(i.name);
|
|
297
|
+
o in this.$$d || (this.$$d[o] = ot(o, i.value, this.$$p_d, "toProp"));
|
|
298
|
+
}
|
|
299
|
+
for (const i in this.$$p_d)
|
|
300
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
301
|
+
this.$$c = new this.$$ctor({
|
|
302
|
+
target: this.shadowRoot || this,
|
|
303
|
+
props: {
|
|
304
|
+
...this.$$d,
|
|
305
|
+
$$slots: t,
|
|
306
|
+
$$scope: {
|
|
307
|
+
ctx: []
|
|
308
|
+
}
|
|
329
309
|
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
this.$$
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
this.$$r = !0;
|
|
343
|
-
for (const o in this.$$p_d)
|
|
344
|
-
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
345
|
-
const s = ot(
|
|
346
|
-
o,
|
|
347
|
-
this.$$d[o],
|
|
348
|
-
this.$$p_d,
|
|
349
|
-
"toAttribute"
|
|
350
|
-
);
|
|
351
|
-
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
|
352
|
-
}
|
|
353
|
-
this.$$r = !1;
|
|
354
|
-
};
|
|
355
|
-
this.$$c.$$.after_update.push(i), i();
|
|
356
|
-
for (const o in this.$$l)
|
|
357
|
-
for (const s of this.$$l[o]) {
|
|
358
|
-
const a = this.$$c.$on(o, s);
|
|
359
|
-
this.$$l_u.set(s, a);
|
|
310
|
+
});
|
|
311
|
+
const n = () => {
|
|
312
|
+
this.$$r = !0;
|
|
313
|
+
for (const i in this.$$p_d)
|
|
314
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
315
|
+
const o = ot(
|
|
316
|
+
i,
|
|
317
|
+
this.$$d[i],
|
|
318
|
+
this.$$p_d,
|
|
319
|
+
"toAttribute"
|
|
320
|
+
);
|
|
321
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
360
322
|
}
|
|
361
|
-
this.$$
|
|
362
|
-
}
|
|
363
|
-
|
|
323
|
+
this.$$r = !1;
|
|
324
|
+
};
|
|
325
|
+
this.$$c.$$.after_update.push(n), n();
|
|
326
|
+
for (const i in this.$$l)
|
|
327
|
+
for (const o of this.$$l[i]) {
|
|
328
|
+
const s = this.$$c.$on(i, o);
|
|
329
|
+
this.$$l_u.set(o, s);
|
|
330
|
+
}
|
|
331
|
+
this.$$l = {};
|
|
332
|
+
}
|
|
364
333
|
}
|
|
365
334
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
366
335
|
// and setting attributes through setAttribute etc, this is helpful
|
|
367
|
-
attributeChangedCallback(t, r
|
|
368
|
-
|
|
369
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ot(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
336
|
+
attributeChangedCallback(e, t, r) {
|
|
337
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ot(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
370
338
|
}
|
|
371
339
|
disconnectedCallback() {
|
|
372
340
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
373
341
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
374
342
|
});
|
|
375
343
|
}
|
|
376
|
-
$$g_p(
|
|
344
|
+
$$g_p(e) {
|
|
377
345
|
return Object.keys(this.$$p_d).find(
|
|
378
|
-
(
|
|
379
|
-
) ||
|
|
346
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
|
347
|
+
) || e;
|
|
380
348
|
}
|
|
381
349
|
});
|
|
382
350
|
function ot(e, t, r, n) {
|
|
383
|
-
|
|
384
|
-
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
351
|
+
const i = r[e]?.type;
|
|
385
352
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
386
353
|
return t;
|
|
387
354
|
if (n === "toAttribute")
|
|
@@ -392,7 +359,7 @@ function ot(e, t, r, n) {
|
|
|
392
359
|
case "Boolean":
|
|
393
360
|
return t ? "" : null;
|
|
394
361
|
case "Number":
|
|
395
|
-
return t
|
|
362
|
+
return t ?? null;
|
|
396
363
|
default:
|
|
397
364
|
return t;
|
|
398
365
|
}
|
|
@@ -409,8 +376,8 @@ function ot(e, t, r, n) {
|
|
|
409
376
|
return t;
|
|
410
377
|
}
|
|
411
378
|
}
|
|
412
|
-
function
|
|
413
|
-
let s = class extends
|
|
379
|
+
function Tn(e, t, r, n, i, o) {
|
|
380
|
+
let s = class extends Sr {
|
|
414
381
|
constructor() {
|
|
415
382
|
super(e, r, i), this.$$p_d = t;
|
|
416
383
|
}
|
|
@@ -425,43 +392,39 @@ function Dn(e, t, r, n, i, o) {
|
|
|
425
392
|
get() {
|
|
426
393
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
427
394
|
},
|
|
428
|
-
set(
|
|
429
|
-
|
|
430
|
-
u = ot(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
|
395
|
+
set(c) {
|
|
396
|
+
c = ot(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
|
|
431
397
|
}
|
|
432
398
|
});
|
|
433
399
|
}), n.forEach((a) => {
|
|
434
400
|
Object.defineProperty(s.prototype, a, {
|
|
435
401
|
get() {
|
|
436
|
-
|
|
437
|
-
return (u = this.$$c) == null ? void 0 : u[a];
|
|
402
|
+
return this.$$c?.[a];
|
|
438
403
|
}
|
|
439
404
|
});
|
|
440
405
|
}), e.element = /** @type {any} */
|
|
441
406
|
s, s;
|
|
442
407
|
}
|
|
443
|
-
class
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
Y(this, "$$set");
|
|
461
|
-
}
|
|
408
|
+
class Hn {
|
|
409
|
+
/**
|
|
410
|
+
* ### PRIVATE API
|
|
411
|
+
*
|
|
412
|
+
* Do not use, may change at any time
|
|
413
|
+
*
|
|
414
|
+
* @type {any}
|
|
415
|
+
*/
|
|
416
|
+
$$ = void 0;
|
|
417
|
+
/**
|
|
418
|
+
* ### PRIVATE API
|
|
419
|
+
*
|
|
420
|
+
* Do not use, may change at any time
|
|
421
|
+
*
|
|
422
|
+
* @type {any}
|
|
423
|
+
*/
|
|
424
|
+
$$set = void 0;
|
|
462
425
|
/** @returns {void} */
|
|
463
426
|
$destroy() {
|
|
464
|
-
|
|
427
|
+
xn(this, 1), this.$destroy = Z;
|
|
465
428
|
}
|
|
466
429
|
/**
|
|
467
430
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -470,7 +433,7 @@ class kn {
|
|
|
470
433
|
* @returns {() => void}
|
|
471
434
|
*/
|
|
472
435
|
$on(t, r) {
|
|
473
|
-
if (
|
|
436
|
+
if (!Dt(r))
|
|
474
437
|
return Z;
|
|
475
438
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
476
439
|
return n.push(r), () => {
|
|
@@ -483,22 +446,22 @@ class kn {
|
|
|
483
446
|
* @returns {void}
|
|
484
447
|
*/
|
|
485
448
|
$set(t) {
|
|
486
|
-
this.$$set && !
|
|
449
|
+
this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
487
450
|
}
|
|
488
451
|
}
|
|
489
|
-
const
|
|
490
|
-
typeof window
|
|
491
|
-
var
|
|
492
|
-
return
|
|
452
|
+
const Bn = "4";
|
|
453
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
|
|
454
|
+
var Tt = function(e, t) {
|
|
455
|
+
return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
493
456
|
r.__proto__ = n;
|
|
494
457
|
} || function(r, n) {
|
|
495
458
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
496
|
-
},
|
|
459
|
+
}, Tt(e, t);
|
|
497
460
|
};
|
|
498
|
-
function
|
|
461
|
+
function le(e, t) {
|
|
499
462
|
if (typeof t != "function" && t !== null)
|
|
500
463
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
501
|
-
|
|
464
|
+
Tt(e, t);
|
|
502
465
|
function r() {
|
|
503
466
|
this.constructor = e;
|
|
504
467
|
}
|
|
@@ -513,7 +476,7 @@ var w = function() {
|
|
|
513
476
|
return t;
|
|
514
477
|
}, w.apply(this, arguments);
|
|
515
478
|
};
|
|
516
|
-
function
|
|
479
|
+
function An(e, t) {
|
|
517
480
|
var r = {};
|
|
518
481
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
519
482
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -521,7 +484,7 @@ function Gn(e, t) {
|
|
|
521
484
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
522
485
|
return r;
|
|
523
486
|
}
|
|
524
|
-
function
|
|
487
|
+
function Ht(e) {
|
|
525
488
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
526
489
|
if (r) return r.call(e);
|
|
527
490
|
if (e && typeof e.length == "number") return {
|
|
@@ -531,7 +494,7 @@ function At(e) {
|
|
|
531
494
|
};
|
|
532
495
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
533
496
|
}
|
|
534
|
-
function
|
|
497
|
+
function Bt(e, t) {
|
|
535
498
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
536
499
|
if (!r) return e;
|
|
537
500
|
var n = r.call(e), i, o = [], s;
|
|
@@ -548,21 +511,21 @@ function It(e, t) {
|
|
|
548
511
|
}
|
|
549
512
|
return o;
|
|
550
513
|
}
|
|
551
|
-
function
|
|
514
|
+
function He(e, t, r) {
|
|
552
515
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
553
516
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
554
517
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
555
518
|
}
|
|
556
|
-
function
|
|
519
|
+
function ae(e) {
|
|
557
520
|
return typeof e == "function";
|
|
558
521
|
}
|
|
559
|
-
function
|
|
522
|
+
function Pr(e) {
|
|
560
523
|
var t = function(n) {
|
|
561
524
|
Error.call(n), n.stack = new Error().stack;
|
|
562
525
|
}, r = e(t);
|
|
563
526
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
564
527
|
}
|
|
565
|
-
var
|
|
528
|
+
var yt = Pr(function(e) {
|
|
566
529
|
return function(r) {
|
|
567
530
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
568
531
|
` + r.map(function(n, i) {
|
|
@@ -571,7 +534,7 @@ var _t = Or(function(e) {
|
|
|
571
534
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
572
535
|
};
|
|
573
536
|
});
|
|
574
|
-
function
|
|
537
|
+
function At(e, t) {
|
|
575
538
|
if (e) {
|
|
576
539
|
var r = e.indexOf(t);
|
|
577
540
|
0 <= r && e.splice(r, 1);
|
|
@@ -589,38 +552,38 @@ var ft = function() {
|
|
|
589
552
|
if (s)
|
|
590
553
|
if (this._parentage = null, Array.isArray(s))
|
|
591
554
|
try {
|
|
592
|
-
for (var a =
|
|
593
|
-
var l =
|
|
555
|
+
for (var a = Ht(s), c = a.next(); !c.done; c = a.next()) {
|
|
556
|
+
var l = c.value;
|
|
594
557
|
l.remove(this);
|
|
595
558
|
}
|
|
596
559
|
} catch (g) {
|
|
597
560
|
t = { error: g };
|
|
598
561
|
} finally {
|
|
599
562
|
try {
|
|
600
|
-
|
|
563
|
+
c && !c.done && (r = a.return) && r.call(a);
|
|
601
564
|
} finally {
|
|
602
565
|
if (t) throw t.error;
|
|
603
566
|
}
|
|
604
567
|
}
|
|
605
568
|
else
|
|
606
569
|
s.remove(this);
|
|
607
|
-
var
|
|
608
|
-
if (
|
|
570
|
+
var u = this.initialTeardown;
|
|
571
|
+
if (ae(u))
|
|
609
572
|
try {
|
|
610
|
-
|
|
573
|
+
u();
|
|
611
574
|
} catch (g) {
|
|
612
|
-
o = g instanceof
|
|
575
|
+
o = g instanceof yt ? g.errors : [g];
|
|
613
576
|
}
|
|
614
577
|
var f = this._finalizers;
|
|
615
578
|
if (f) {
|
|
616
579
|
this._finalizers = null;
|
|
617
580
|
try {
|
|
618
|
-
for (var d =
|
|
581
|
+
for (var d = Ht(f), b = d.next(); !b.done; b = d.next()) {
|
|
619
582
|
var v = b.value;
|
|
620
583
|
try {
|
|
621
|
-
|
|
584
|
+
Wt(v);
|
|
622
585
|
} catch (g) {
|
|
623
|
-
o = o
|
|
586
|
+
o = o ?? [], g instanceof yt ? o = He(He([], Bt(o)), Bt(g.errors)) : o.push(g);
|
|
624
587
|
}
|
|
625
588
|
}
|
|
626
589
|
} catch (g) {
|
|
@@ -634,13 +597,13 @@ var ft = function() {
|
|
|
634
597
|
}
|
|
635
598
|
}
|
|
636
599
|
if (o)
|
|
637
|
-
throw new
|
|
600
|
+
throw new yt(o);
|
|
638
601
|
}
|
|
639
602
|
}, e.prototype.add = function(t) {
|
|
640
603
|
var r;
|
|
641
604
|
if (t && t !== this)
|
|
642
605
|
if (this.closed)
|
|
643
|
-
|
|
606
|
+
Wt(t);
|
|
644
607
|
else {
|
|
645
608
|
if (t instanceof e) {
|
|
646
609
|
if (t.closed || t._hasParent(this))
|
|
@@ -657,56 +620,56 @@ var ft = function() {
|
|
|
657
620
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
658
621
|
}, e.prototype._removeParent = function(t) {
|
|
659
622
|
var r = this._parentage;
|
|
660
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
623
|
+
r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
|
|
661
624
|
}, e.prototype.remove = function(t) {
|
|
662
625
|
var r = this._finalizers;
|
|
663
|
-
r &&
|
|
626
|
+
r && At(r, t), t instanceof e && t._removeParent(this);
|
|
664
627
|
}, e.EMPTY = function() {
|
|
665
628
|
var t = new e();
|
|
666
629
|
return t.closed = !0, t;
|
|
667
630
|
}(), e;
|
|
668
|
-
}(),
|
|
669
|
-
function
|
|
670
|
-
return e instanceof ft || e && "closed" in e &&
|
|
631
|
+
}(), Tr = ft.EMPTY;
|
|
632
|
+
function Hr(e) {
|
|
633
|
+
return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
|
|
671
634
|
}
|
|
672
|
-
function
|
|
673
|
-
|
|
635
|
+
function Wt(e) {
|
|
636
|
+
ae(e) ? e() : e.unsubscribe();
|
|
674
637
|
}
|
|
675
|
-
var
|
|
638
|
+
var In = {
|
|
676
639
|
onUnhandledError: null,
|
|
677
640
|
onStoppedNotification: null,
|
|
678
641
|
Promise: void 0,
|
|
679
642
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
680
643
|
useDeprecatedNextContext: !1
|
|
681
|
-
},
|
|
644
|
+
}, Cn = {
|
|
682
645
|
setTimeout: function(e, t) {
|
|
683
646
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
684
647
|
r[n - 2] = arguments[n];
|
|
685
|
-
return setTimeout.apply(void 0,
|
|
648
|
+
return setTimeout.apply(void 0, He([e, t], Bt(r)));
|
|
686
649
|
},
|
|
687
650
|
clearTimeout: function(e) {
|
|
688
651
|
return clearTimeout(e);
|
|
689
652
|
},
|
|
690
653
|
delegate: void 0
|
|
691
654
|
};
|
|
692
|
-
function
|
|
693
|
-
|
|
655
|
+
function On(e) {
|
|
656
|
+
Cn.setTimeout(function() {
|
|
694
657
|
throw e;
|
|
695
658
|
});
|
|
696
659
|
}
|
|
697
|
-
function
|
|
660
|
+
function Zt() {
|
|
698
661
|
}
|
|
699
662
|
function st(e) {
|
|
700
663
|
e();
|
|
701
664
|
}
|
|
702
|
-
var
|
|
703
|
-
|
|
665
|
+
var Br = function(e) {
|
|
666
|
+
le(t, e);
|
|
704
667
|
function t(r) {
|
|
705
668
|
var n = e.call(this) || this;
|
|
706
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
669
|
+
return n.isStopped = !1, r ? (n.destination = r, Hr(r) && r.add(n)) : n.destination = Nn, n;
|
|
707
670
|
}
|
|
708
671
|
return t.create = function(r, n, i) {
|
|
709
|
-
return new
|
|
672
|
+
return new It(r, n, i);
|
|
710
673
|
}, t.prototype.next = function(r) {
|
|
711
674
|
this.isStopped || this._next(r);
|
|
712
675
|
}, t.prototype.error = function(r) {
|
|
@@ -730,7 +693,7 @@ var Nr = function(e) {
|
|
|
730
693
|
this.unsubscribe();
|
|
731
694
|
}
|
|
732
695
|
}, t;
|
|
733
|
-
}(ft),
|
|
696
|
+
}(ft), Ln = function() {
|
|
734
697
|
function e(t) {
|
|
735
698
|
this.partialObserver = t;
|
|
736
699
|
}
|
|
@@ -761,43 +724,43 @@ var Nr = function(e) {
|
|
|
761
724
|
nt(r);
|
|
762
725
|
}
|
|
763
726
|
}, e;
|
|
764
|
-
}(),
|
|
765
|
-
|
|
727
|
+
}(), It = function(e) {
|
|
728
|
+
le(t, e);
|
|
766
729
|
function t(r, n, i) {
|
|
767
730
|
var o = e.call(this) || this, s;
|
|
768
|
-
return
|
|
769
|
-
next: r
|
|
770
|
-
error: n
|
|
771
|
-
complete: i
|
|
772
|
-
} : s = r, o.destination = new
|
|
731
|
+
return ae(r) || !r ? s = {
|
|
732
|
+
next: r ?? void 0,
|
|
733
|
+
error: n ?? void 0,
|
|
734
|
+
complete: i ?? void 0
|
|
735
|
+
} : s = r, o.destination = new Ln(s), o;
|
|
773
736
|
}
|
|
774
737
|
return t;
|
|
775
|
-
}(
|
|
738
|
+
}(Br);
|
|
776
739
|
function nt(e) {
|
|
777
|
-
|
|
740
|
+
On(e);
|
|
778
741
|
}
|
|
779
|
-
function
|
|
742
|
+
function Mn(e) {
|
|
780
743
|
throw e;
|
|
781
744
|
}
|
|
782
|
-
var
|
|
745
|
+
var Nn = {
|
|
783
746
|
closed: !0,
|
|
784
|
-
next:
|
|
785
|
-
error:
|
|
786
|
-
complete:
|
|
787
|
-
},
|
|
747
|
+
next: Zt,
|
|
748
|
+
error: Mn,
|
|
749
|
+
complete: Zt
|
|
750
|
+
}, Rn = function() {
|
|
788
751
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
789
752
|
}();
|
|
790
|
-
function
|
|
753
|
+
function Un(e) {
|
|
791
754
|
return e;
|
|
792
755
|
}
|
|
793
|
-
function
|
|
794
|
-
return e.length === 0 ?
|
|
756
|
+
function Fn(e) {
|
|
757
|
+
return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
|
|
795
758
|
return e.reduce(function(n, i) {
|
|
796
759
|
return i(n);
|
|
797
760
|
}, r);
|
|
798
761
|
};
|
|
799
762
|
}
|
|
800
|
-
var
|
|
763
|
+
var qt = function() {
|
|
801
764
|
function e(t) {
|
|
802
765
|
t && (this._subscribe = t);
|
|
803
766
|
}
|
|
@@ -805,10 +768,10 @@ var rr = function() {
|
|
|
805
768
|
var r = new e();
|
|
806
769
|
return r.source = this, r.operator = t, r;
|
|
807
770
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
808
|
-
var i = this, o =
|
|
771
|
+
var i = this, o = kn(t) ? t : new It(t, r, n);
|
|
809
772
|
return st(function() {
|
|
810
|
-
var s = i, a = s.operator,
|
|
811
|
-
o.add(a ? a.call(o,
|
|
773
|
+
var s = i, a = s.operator, c = s.source;
|
|
774
|
+
o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
|
|
812
775
|
}), o;
|
|
813
776
|
}, e.prototype._trySubscribe = function(t) {
|
|
814
777
|
try {
|
|
@@ -818,13 +781,13 @@ var rr = function() {
|
|
|
818
781
|
}
|
|
819
782
|
}, e.prototype.forEach = function(t, r) {
|
|
820
783
|
var n = this;
|
|
821
|
-
return r =
|
|
822
|
-
var s = new
|
|
784
|
+
return r = Jt(r), new r(function(i, o) {
|
|
785
|
+
var s = new It({
|
|
823
786
|
next: function(a) {
|
|
824
787
|
try {
|
|
825
788
|
t(a);
|
|
826
|
-
} catch (
|
|
827
|
-
o(
|
|
789
|
+
} catch (c) {
|
|
790
|
+
o(c), s.unsubscribe();
|
|
828
791
|
}
|
|
829
792
|
},
|
|
830
793
|
error: o,
|
|
@@ -835,15 +798,15 @@ var rr = function() {
|
|
|
835
798
|
}, e.prototype._subscribe = function(t) {
|
|
836
799
|
var r;
|
|
837
800
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
838
|
-
}, e.prototype[
|
|
801
|
+
}, e.prototype[Rn] = function() {
|
|
839
802
|
return this;
|
|
840
803
|
}, e.prototype.pipe = function() {
|
|
841
804
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
842
805
|
t[r] = arguments[r];
|
|
843
|
-
return
|
|
806
|
+
return Fn(t)(this);
|
|
844
807
|
}, e.prototype.toPromise = function(t) {
|
|
845
808
|
var r = this;
|
|
846
|
-
return t =
|
|
809
|
+
return t = Jt(t), new t(function(n, i) {
|
|
847
810
|
var o;
|
|
848
811
|
r.subscribe(function(s) {
|
|
849
812
|
return o = s;
|
|
@@ -857,32 +820,32 @@ var rr = function() {
|
|
|
857
820
|
return new e(t);
|
|
858
821
|
}, e;
|
|
859
822
|
}();
|
|
860
|
-
function
|
|
823
|
+
function Jt(e) {
|
|
861
824
|
var t;
|
|
862
|
-
return (t = e
|
|
825
|
+
return (t = e ?? In.Promise) !== null && t !== void 0 ? t : Promise;
|
|
863
826
|
}
|
|
864
|
-
function
|
|
865
|
-
return e &&
|
|
827
|
+
function Dn(e) {
|
|
828
|
+
return e && ae(e.next) && ae(e.error) && ae(e.complete);
|
|
866
829
|
}
|
|
867
|
-
function
|
|
868
|
-
return e && e instanceof
|
|
830
|
+
function kn(e) {
|
|
831
|
+
return e && e instanceof Br || Dn(e) && Hr(e);
|
|
869
832
|
}
|
|
870
|
-
var
|
|
833
|
+
var $n = Pr(function(e) {
|
|
871
834
|
return function() {
|
|
872
835
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
873
836
|
};
|
|
874
|
-
}),
|
|
875
|
-
|
|
837
|
+
}), Ar = function(e) {
|
|
838
|
+
le(t, e);
|
|
876
839
|
function t() {
|
|
877
840
|
var r = e.call(this) || this;
|
|
878
841
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
879
842
|
}
|
|
880
843
|
return t.prototype.lift = function(r) {
|
|
881
|
-
var n = new
|
|
844
|
+
var n = new Qt(this, this);
|
|
882
845
|
return n.operator = r, n;
|
|
883
846
|
}, t.prototype._throwIfClosed = function() {
|
|
884
847
|
if (this.closed)
|
|
885
|
-
throw new
|
|
848
|
+
throw new $n();
|
|
886
849
|
}, t.prototype.next = function(r) {
|
|
887
850
|
var n = this;
|
|
888
851
|
st(function() {
|
|
@@ -890,9 +853,9 @@ var ei = Or(function(e) {
|
|
|
890
853
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
891
854
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
892
855
|
try {
|
|
893
|
-
for (var s =
|
|
894
|
-
var
|
|
895
|
-
|
|
856
|
+
for (var s = Ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
857
|
+
var c = a.value;
|
|
858
|
+
c.next(r);
|
|
896
859
|
}
|
|
897
860
|
} catch (l) {
|
|
898
861
|
i = { error: l };
|
|
@@ -938,20 +901,20 @@ var ei = Or(function(e) {
|
|
|
938
901
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
939
902
|
}, t.prototype._innerSubscribe = function(r) {
|
|
940
903
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
941
|
-
return o || s ?
|
|
942
|
-
n.currentObservers = null,
|
|
904
|
+
return o || s ? Tr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
905
|
+
n.currentObservers = null, At(a, r);
|
|
943
906
|
}));
|
|
944
907
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
945
908
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
946
909
|
i ? r.error(o) : s && r.complete();
|
|
947
910
|
}, t.prototype.asObservable = function() {
|
|
948
|
-
var r = new
|
|
911
|
+
var r = new qt();
|
|
949
912
|
return r.source = this, r;
|
|
950
913
|
}, t.create = function(r, n) {
|
|
951
|
-
return new
|
|
914
|
+
return new Qt(r, n);
|
|
952
915
|
}, t;
|
|
953
|
-
}(
|
|
954
|
-
|
|
916
|
+
}(qt), Qt = function(e) {
|
|
917
|
+
le(t, e);
|
|
955
918
|
function t(r, n) {
|
|
956
919
|
var i = e.call(this) || this;
|
|
957
920
|
return i.destination = r, i.source = n, i;
|
|
@@ -967,45 +930,45 @@ var ei = Or(function(e) {
|
|
|
967
930
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
968
931
|
}, t.prototype._subscribe = function(r) {
|
|
969
932
|
var n, i;
|
|
970
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
933
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tr;
|
|
971
934
|
}, t;
|
|
972
|
-
}(
|
|
935
|
+
}(Ar), Ir = {
|
|
973
936
|
now: function() {
|
|
974
|
-
return (
|
|
937
|
+
return (Ir.delegate || Date).now();
|
|
975
938
|
},
|
|
976
939
|
delegate: void 0
|
|
977
|
-
},
|
|
978
|
-
|
|
940
|
+
}, Gn = function(e) {
|
|
941
|
+
le(t, e);
|
|
979
942
|
function t(r, n, i) {
|
|
980
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
943
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
|
|
981
944
|
var o = e.call(this) || this;
|
|
982
945
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
983
946
|
}
|
|
984
947
|
return t.prototype.next = function(r) {
|
|
985
|
-
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider,
|
|
986
|
-
i || (o.push(r), !s && o.push(a.now() +
|
|
948
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, c = n._windowTime;
|
|
949
|
+
i || (o.push(r), !s && o.push(a.now() + c)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
987
950
|
}, t.prototype._subscribe = function(r) {
|
|
988
951
|
this._throwIfClosed(), this._trimBuffer();
|
|
989
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(),
|
|
990
|
-
r.next(a[
|
|
952
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), c = 0; c < a.length && !r.closed; c += o ? 1 : 2)
|
|
953
|
+
r.next(a[c]);
|
|
991
954
|
return this._checkFinalizedStatuses(r), n;
|
|
992
955
|
}, t.prototype._trimBuffer = function() {
|
|
993
956
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
994
957
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
995
|
-
for (var
|
|
996
|
-
l =
|
|
958
|
+
for (var c = i.now(), l = 0, u = 1; u < o.length && o[u] <= c; u += 2)
|
|
959
|
+
l = u;
|
|
997
960
|
l && o.splice(0, l + 1);
|
|
998
961
|
}
|
|
999
962
|
}, t;
|
|
1000
|
-
}(
|
|
1001
|
-
const
|
|
1002
|
-
if (
|
|
1003
|
-
const r = new
|
|
1004
|
-
|
|
963
|
+
}(Ar);
|
|
964
|
+
const Yt = [], Kt = {}, jn = (e, t = 0) => {
|
|
965
|
+
if (Yt.indexOf(e) == -1) {
|
|
966
|
+
const r = new Gn(t);
|
|
967
|
+
Kt[e] = r, Yt.push(e);
|
|
1005
968
|
}
|
|
1006
|
-
return
|
|
1007
|
-
},
|
|
1008
|
-
function
|
|
969
|
+
return Kt[e];
|
|
970
|
+
}, Se = [];
|
|
971
|
+
function Vn(e, t) {
|
|
1009
972
|
return {
|
|
1010
973
|
subscribe: dt(e, t).subscribe
|
|
1011
974
|
};
|
|
@@ -1014,167 +977,167 @@ function dt(e, t = Z) {
|
|
|
1014
977
|
let r;
|
|
1015
978
|
const n = /* @__PURE__ */ new Set();
|
|
1016
979
|
function i(a) {
|
|
1017
|
-
if (
|
|
1018
|
-
const
|
|
980
|
+
if (wr(e, a) && (e = a, r)) {
|
|
981
|
+
const c = !Se.length;
|
|
1019
982
|
for (const l of n)
|
|
1020
|
-
l[1](),
|
|
1021
|
-
if (
|
|
1022
|
-
for (let l = 0; l <
|
|
1023
|
-
|
|
1024
|
-
|
|
983
|
+
l[1](), Se.push(l, e);
|
|
984
|
+
if (c) {
|
|
985
|
+
for (let l = 0; l < Se.length; l += 2)
|
|
986
|
+
Se[l][0](Se[l + 1]);
|
|
987
|
+
Se.length = 0;
|
|
1025
988
|
}
|
|
1026
989
|
}
|
|
1027
990
|
}
|
|
1028
991
|
function o(a) {
|
|
1029
992
|
i(a(e));
|
|
1030
993
|
}
|
|
1031
|
-
function s(a,
|
|
1032
|
-
const l = [a,
|
|
994
|
+
function s(a, c = Z) {
|
|
995
|
+
const l = [a, c];
|
|
1033
996
|
return n.add(l), n.size === 1 && (r = t(i, o) || Z), a(e), () => {
|
|
1034
997
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
1035
998
|
};
|
|
1036
999
|
}
|
|
1037
1000
|
return { set: i, update: o, subscribe: s };
|
|
1038
1001
|
}
|
|
1039
|
-
function
|
|
1002
|
+
function Le(e, t, r) {
|
|
1040
1003
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1041
1004
|
if (!i.every(Boolean))
|
|
1042
1005
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1043
1006
|
const o = t.length < 2;
|
|
1044
|
-
return
|
|
1045
|
-
let
|
|
1007
|
+
return Vn(r, (s, a) => {
|
|
1008
|
+
let c = !1;
|
|
1046
1009
|
const l = [];
|
|
1047
|
-
let
|
|
1010
|
+
let u = 0, f = Z;
|
|
1048
1011
|
const d = () => {
|
|
1049
|
-
if (
|
|
1012
|
+
if (u)
|
|
1050
1013
|
return;
|
|
1051
1014
|
f();
|
|
1052
1015
|
const v = t(n ? l[0] : l, s, a);
|
|
1053
|
-
o ? s(v) : f =
|
|
1016
|
+
o ? s(v) : f = Dt(v) ? v : Z;
|
|
1054
1017
|
}, b = i.map(
|
|
1055
|
-
(v, g) =>
|
|
1018
|
+
(v, g) => xr(
|
|
1056
1019
|
v,
|
|
1057
1020
|
(x) => {
|
|
1058
|
-
l[g] = x,
|
|
1021
|
+
l[g] = x, u &= ~(1 << g), c && d();
|
|
1059
1022
|
},
|
|
1060
1023
|
() => {
|
|
1061
|
-
|
|
1024
|
+
u |= 1 << g;
|
|
1062
1025
|
}
|
|
1063
1026
|
)
|
|
1064
1027
|
);
|
|
1065
|
-
return
|
|
1066
|
-
|
|
1028
|
+
return c = !0, d(), function() {
|
|
1029
|
+
Oe(b), f(), c = !1;
|
|
1067
1030
|
};
|
|
1068
1031
|
});
|
|
1069
1032
|
}
|
|
1070
|
-
function
|
|
1033
|
+
function zn(e) {
|
|
1071
1034
|
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1072
1035
|
}
|
|
1073
|
-
var
|
|
1074
|
-
return
|
|
1036
|
+
var Xn = function(t) {
|
|
1037
|
+
return Wn(t) && !Zn(t);
|
|
1075
1038
|
};
|
|
1076
|
-
function
|
|
1039
|
+
function Wn(e) {
|
|
1077
1040
|
return !!e && typeof e == "object";
|
|
1078
1041
|
}
|
|
1079
|
-
function
|
|
1042
|
+
function Zn(e) {
|
|
1080
1043
|
var t = Object.prototype.toString.call(e);
|
|
1081
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1044
|
+
return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
|
|
1082
1045
|
}
|
|
1083
|
-
var
|
|
1084
|
-
function
|
|
1085
|
-
return e.$$typeof ===
|
|
1046
|
+
var qn = typeof Symbol == "function" && Symbol.for, Jn = qn ? Symbol.for("react.element") : 60103;
|
|
1047
|
+
function Qn(e) {
|
|
1048
|
+
return e.$$typeof === Jn;
|
|
1086
1049
|
}
|
|
1087
|
-
function
|
|
1050
|
+
function Yn(e) {
|
|
1088
1051
|
return Array.isArray(e) ? [] : {};
|
|
1089
1052
|
}
|
|
1090
|
-
function
|
|
1091
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1053
|
+
function We(e, t) {
|
|
1054
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Be(Yn(e), e, t) : e;
|
|
1092
1055
|
}
|
|
1093
|
-
function
|
|
1056
|
+
function Kn(e, t, r) {
|
|
1094
1057
|
return e.concat(t).map(function(n) {
|
|
1095
|
-
return
|
|
1058
|
+
return We(n, r);
|
|
1096
1059
|
});
|
|
1097
1060
|
}
|
|
1098
|
-
function
|
|
1061
|
+
function ei(e, t) {
|
|
1099
1062
|
if (!t.customMerge)
|
|
1100
|
-
return
|
|
1063
|
+
return Be;
|
|
1101
1064
|
var r = t.customMerge(e);
|
|
1102
|
-
return typeof r == "function" ? r :
|
|
1065
|
+
return typeof r == "function" ? r : Be;
|
|
1103
1066
|
}
|
|
1104
|
-
function
|
|
1067
|
+
function ti(e) {
|
|
1105
1068
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1106
1069
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1107
1070
|
}) : [];
|
|
1108
1071
|
}
|
|
1109
|
-
function
|
|
1110
|
-
return Object.keys(e).concat(
|
|
1072
|
+
function er(e) {
|
|
1073
|
+
return Object.keys(e).concat(ti(e));
|
|
1111
1074
|
}
|
|
1112
|
-
function
|
|
1075
|
+
function Cr(e, t) {
|
|
1113
1076
|
try {
|
|
1114
1077
|
return t in e;
|
|
1115
|
-
} catch
|
|
1078
|
+
} catch {
|
|
1116
1079
|
return !1;
|
|
1117
1080
|
}
|
|
1118
1081
|
}
|
|
1119
|
-
function
|
|
1120
|
-
return
|
|
1082
|
+
function ri(e, t) {
|
|
1083
|
+
return Cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1121
1084
|
}
|
|
1122
|
-
function
|
|
1085
|
+
function ni(e, t, r) {
|
|
1123
1086
|
var n = {};
|
|
1124
|
-
return r.isMergeableObject(e) &&
|
|
1125
|
-
n[i] =
|
|
1126
|
-
}),
|
|
1127
|
-
|
|
1087
|
+
return r.isMergeableObject(e) && er(e).forEach(function(i) {
|
|
1088
|
+
n[i] = We(e[i], r);
|
|
1089
|
+
}), er(t).forEach(function(i) {
|
|
1090
|
+
ri(e, i) || (Cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
|
|
1128
1091
|
}), n;
|
|
1129
1092
|
}
|
|
1130
|
-
function
|
|
1131
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1093
|
+
function Be(e, t, r) {
|
|
1094
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = We;
|
|
1132
1095
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1133
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1096
|
+
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : We(t, r);
|
|
1134
1097
|
}
|
|
1135
|
-
|
|
1098
|
+
Be.all = function(t, r) {
|
|
1136
1099
|
if (!Array.isArray(t))
|
|
1137
1100
|
throw new Error("first argument should be an array");
|
|
1138
1101
|
return t.reduce(function(n, i) {
|
|
1139
|
-
return
|
|
1102
|
+
return Be(n, i, r);
|
|
1140
1103
|
}, {});
|
|
1141
1104
|
};
|
|
1142
|
-
var
|
|
1143
|
-
const
|
|
1144
|
-
function
|
|
1145
|
-
var r = t && t.cache ? t.cache :
|
|
1105
|
+
var ii = Be, oi = ii;
|
|
1106
|
+
const si = /* @__PURE__ */ zn(oi);
|
|
1107
|
+
function vt(e, t) {
|
|
1108
|
+
var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : li;
|
|
1146
1109
|
return i(e, {
|
|
1147
1110
|
cache: r,
|
|
1148
1111
|
serializer: n
|
|
1149
1112
|
});
|
|
1150
1113
|
}
|
|
1151
|
-
function
|
|
1114
|
+
function ai(e) {
|
|
1152
1115
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1153
1116
|
}
|
|
1154
|
-
function
|
|
1155
|
-
var i =
|
|
1156
|
-
return typeof o
|
|
1117
|
+
function Or(e, t, r, n) {
|
|
1118
|
+
var i = ai(n) ? n : r(n), o = t.get(i);
|
|
1119
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1157
1120
|
}
|
|
1158
|
-
function
|
|
1121
|
+
function Lr(e, t, r) {
|
|
1159
1122
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1160
|
-
return typeof o
|
|
1123
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1161
1124
|
}
|
|
1162
|
-
function
|
|
1125
|
+
function kt(e, t, r, n, i) {
|
|
1163
1126
|
return r.bind(t, e, n, i);
|
|
1164
1127
|
}
|
|
1165
|
-
function
|
|
1166
|
-
var r = e.length === 1 ?
|
|
1167
|
-
return
|
|
1128
|
+
function li(e, t) {
|
|
1129
|
+
var r = e.length === 1 ? Or : Lr;
|
|
1130
|
+
return kt(e, this, r, t.cache.create(), t.serializer);
|
|
1168
1131
|
}
|
|
1169
|
-
function
|
|
1170
|
-
return
|
|
1132
|
+
function ui(e, t) {
|
|
1133
|
+
return kt(e, this, Lr, t.cache.create(), t.serializer);
|
|
1171
1134
|
}
|
|
1172
|
-
function
|
|
1173
|
-
return
|
|
1135
|
+
function ci(e, t) {
|
|
1136
|
+
return kt(e, this, Or, t.cache.create(), t.serializer);
|
|
1174
1137
|
}
|
|
1175
|
-
var
|
|
1138
|
+
var hi = function() {
|
|
1176
1139
|
return JSON.stringify(arguments);
|
|
1177
|
-
},
|
|
1140
|
+
}, fi = (
|
|
1178
1141
|
/** @class */
|
|
1179
1142
|
function() {
|
|
1180
1143
|
function e() {
|
|
@@ -1186,13 +1149,13 @@ var Si = function() {
|
|
|
1186
1149
|
this.cache[t] = r;
|
|
1187
1150
|
}, e;
|
|
1188
1151
|
}()
|
|
1189
|
-
),
|
|
1152
|
+
), di = {
|
|
1190
1153
|
create: function() {
|
|
1191
|
-
return new
|
|
1154
|
+
return new fi();
|
|
1192
1155
|
}
|
|
1193
|
-
},
|
|
1194
|
-
variadic:
|
|
1195
|
-
monadic:
|
|
1156
|
+
}, _t = {
|
|
1157
|
+
variadic: ui,
|
|
1158
|
+
monadic: ci
|
|
1196
1159
|
}, _;
|
|
1197
1160
|
(function(e) {
|
|
1198
1161
|
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";
|
|
@@ -1201,47 +1164,47 @@ var T;
|
|
|
1201
1164
|
(function(e) {
|
|
1202
1165
|
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";
|
|
1203
1166
|
})(T || (T = {}));
|
|
1204
|
-
var
|
|
1167
|
+
var Ae;
|
|
1205
1168
|
(function(e) {
|
|
1206
1169
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1207
|
-
})(
|
|
1208
|
-
function
|
|
1170
|
+
})(Ae || (Ae = {}));
|
|
1171
|
+
function tr(e) {
|
|
1209
1172
|
return e.type === T.literal;
|
|
1210
1173
|
}
|
|
1211
|
-
function
|
|
1174
|
+
function mi(e) {
|
|
1212
1175
|
return e.type === T.argument;
|
|
1213
1176
|
}
|
|
1214
|
-
function
|
|
1177
|
+
function Mr(e) {
|
|
1215
1178
|
return e.type === T.number;
|
|
1216
1179
|
}
|
|
1217
|
-
function
|
|
1180
|
+
function Nr(e) {
|
|
1218
1181
|
return e.type === T.date;
|
|
1219
1182
|
}
|
|
1220
|
-
function
|
|
1183
|
+
function Rr(e) {
|
|
1221
1184
|
return e.type === T.time;
|
|
1222
1185
|
}
|
|
1223
|
-
function
|
|
1186
|
+
function Ur(e) {
|
|
1224
1187
|
return e.type === T.select;
|
|
1225
1188
|
}
|
|
1226
|
-
function
|
|
1189
|
+
function Fr(e) {
|
|
1227
1190
|
return e.type === T.plural;
|
|
1228
1191
|
}
|
|
1229
|
-
function
|
|
1192
|
+
function pi(e) {
|
|
1230
1193
|
return e.type === T.pound;
|
|
1231
1194
|
}
|
|
1232
|
-
function
|
|
1195
|
+
function Dr(e) {
|
|
1233
1196
|
return e.type === T.tag;
|
|
1234
1197
|
}
|
|
1235
|
-
function
|
|
1236
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1198
|
+
function kr(e) {
|
|
1199
|
+
return !!(e && typeof e == "object" && e.type === Ae.number);
|
|
1237
1200
|
}
|
|
1238
|
-
function
|
|
1239
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1201
|
+
function Ct(e) {
|
|
1202
|
+
return !!(e && typeof e == "object" && e.type === Ae.dateTime);
|
|
1240
1203
|
}
|
|
1241
|
-
var
|
|
1242
|
-
function
|
|
1204
|
+
var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[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;
|
|
1205
|
+
function bi(e) {
|
|
1243
1206
|
var t = {};
|
|
1244
|
-
return e.replace(
|
|
1207
|
+
return e.replace(gi, function(r) {
|
|
1245
1208
|
var n = r.length;
|
|
1246
1209
|
switch (r[0]) {
|
|
1247
1210
|
case "G":
|
|
@@ -1330,36 +1293,36 @@ function Ii(e) {
|
|
|
1330
1293
|
return "";
|
|
1331
1294
|
}), t;
|
|
1332
1295
|
}
|
|
1333
|
-
var
|
|
1334
|
-
function
|
|
1296
|
+
var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1297
|
+
function vi(e) {
|
|
1335
1298
|
if (e.length === 0)
|
|
1336
1299
|
throw new Error("Number skeleton cannot be empty");
|
|
1337
|
-
for (var t = e.split(
|
|
1300
|
+
for (var t = e.split(yi).filter(function(d) {
|
|
1338
1301
|
return d.length > 0;
|
|
1339
1302
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1340
1303
|
var o = i[n], s = o.split("/");
|
|
1341
1304
|
if (s.length === 0)
|
|
1342
1305
|
throw new Error("Invalid number skeleton");
|
|
1343
|
-
for (var a = s[0],
|
|
1344
|
-
var f =
|
|
1306
|
+
for (var a = s[0], c = s.slice(1), l = 0, u = c; l < u.length; l++) {
|
|
1307
|
+
var f = u[l];
|
|
1345
1308
|
if (f.length === 0)
|
|
1346
1309
|
throw new Error("Invalid number skeleton");
|
|
1347
1310
|
}
|
|
1348
|
-
r.push({ stem: a, options:
|
|
1311
|
+
r.push({ stem: a, options: c });
|
|
1349
1312
|
}
|
|
1350
1313
|
return r;
|
|
1351
1314
|
}
|
|
1352
|
-
function
|
|
1315
|
+
function _i(e) {
|
|
1353
1316
|
return e.replace(/^(.*?)-/, "");
|
|
1354
1317
|
}
|
|
1355
|
-
var
|
|
1356
|
-
function
|
|
1318
|
+
var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
|
|
1319
|
+
function nr(e) {
|
|
1357
1320
|
var t = {};
|
|
1358
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1321
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
|
|
1359
1322
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1360
1323
|
}), t;
|
|
1361
1324
|
}
|
|
1362
|
-
function
|
|
1325
|
+
function Vr(e) {
|
|
1363
1326
|
switch (e) {
|
|
1364
1327
|
case "sign-auto":
|
|
1365
1328
|
return {
|
|
@@ -1399,7 +1362,7 @@ function Qr(e) {
|
|
|
1399
1362
|
};
|
|
1400
1363
|
}
|
|
1401
1364
|
}
|
|
1402
|
-
function
|
|
1365
|
+
function wi(e) {
|
|
1403
1366
|
var t;
|
|
1404
1367
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1405
1368
|
notation: "engineering"
|
|
@@ -1407,17 +1370,17 @@ function Ni(e) {
|
|
|
1407
1370
|
notation: "scientific"
|
|
1408
1371
|
}, e = e.slice(1)), t) {
|
|
1409
1372
|
var r = e.slice(0, 2);
|
|
1410
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1373
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
|
|
1411
1374
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1412
1375
|
t.minimumIntegerDigits = e.length;
|
|
1413
1376
|
}
|
|
1414
1377
|
return t;
|
|
1415
1378
|
}
|
|
1416
|
-
function
|
|
1417
|
-
var t = {}, r =
|
|
1379
|
+
function ir(e) {
|
|
1380
|
+
var t = {}, r = Vr(e);
|
|
1418
1381
|
return r || t;
|
|
1419
1382
|
}
|
|
1420
|
-
function
|
|
1383
|
+
function xi(e) {
|
|
1421
1384
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1422
1385
|
var i = n[r];
|
|
1423
1386
|
switch (i.stem) {
|
|
@@ -1441,7 +1404,7 @@ function Ri(e) {
|
|
|
1441
1404
|
continue;
|
|
1442
1405
|
case "measure-unit":
|
|
1443
1406
|
case "unit":
|
|
1444
|
-
t.style = "unit", t.unit =
|
|
1407
|
+
t.style = "unit", t.unit = _i(i.options[0]);
|
|
1445
1408
|
continue;
|
|
1446
1409
|
case "compact-short":
|
|
1447
1410
|
case "K":
|
|
@@ -1452,13 +1415,13 @@ function Ri(e) {
|
|
|
1452
1415
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1453
1416
|
continue;
|
|
1454
1417
|
case "scientific":
|
|
1455
|
-
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(
|
|
1456
|
-
return w(w({},
|
|
1418
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1419
|
+
return w(w({}, c), ir(l));
|
|
1457
1420
|
}, {}));
|
|
1458
1421
|
continue;
|
|
1459
1422
|
case "engineering":
|
|
1460
|
-
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(
|
|
1461
|
-
return w(w({},
|
|
1423
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1424
|
+
return w(w({}, c), ir(l));
|
|
1462
1425
|
}, {}));
|
|
1463
1426
|
continue;
|
|
1464
1427
|
case "notation-simple":
|
|
@@ -1503,9 +1466,9 @@ function Ri(e) {
|
|
|
1503
1466
|
case "integer-width":
|
|
1504
1467
|
if (i.options.length > 1)
|
|
1505
1468
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1506
|
-
i.options[0].replace(
|
|
1469
|
+
i.options[0].replace(Ei, function(c, l, u, f, d, b) {
|
|
1507
1470
|
if (l)
|
|
1508
|
-
t.minimumIntegerDigits =
|
|
1471
|
+
t.minimumIntegerDigits = u.length;
|
|
1509
1472
|
else {
|
|
1510
1473
|
if (f && d)
|
|
1511
1474
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1516,27 +1479,27 @@ function Ri(e) {
|
|
|
1516
1479
|
});
|
|
1517
1480
|
continue;
|
|
1518
1481
|
}
|
|
1519
|
-
if (
|
|
1482
|
+
if (jr.test(i.stem)) {
|
|
1520
1483
|
t.minimumIntegerDigits = i.stem.length;
|
|
1521
1484
|
continue;
|
|
1522
1485
|
}
|
|
1523
|
-
if (
|
|
1486
|
+
if (rr.test(i.stem)) {
|
|
1524
1487
|
if (i.options.length > 1)
|
|
1525
1488
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1526
|
-
i.stem.replace(
|
|
1527
|
-
return
|
|
1489
|
+
i.stem.replace(rr, function(c, l, u, f, d, b) {
|
|
1490
|
+
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1528
1491
|
});
|
|
1529
1492
|
var o = i.options[0];
|
|
1530
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1493
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), nr(o)));
|
|
1531
1494
|
continue;
|
|
1532
1495
|
}
|
|
1533
|
-
if (
|
|
1534
|
-
t = w(w({}, t),
|
|
1496
|
+
if (Gr.test(i.stem)) {
|
|
1497
|
+
t = w(w({}, t), nr(i.stem));
|
|
1535
1498
|
continue;
|
|
1536
1499
|
}
|
|
1537
|
-
var s =
|
|
1500
|
+
var s = Vr(i.stem);
|
|
1538
1501
|
s && (t = w(w({}, t), s));
|
|
1539
|
-
var a =
|
|
1502
|
+
var a = wi(i.stem);
|
|
1540
1503
|
a && (t = w(w({}, t), a));
|
|
1541
1504
|
}
|
|
1542
1505
|
return t;
|
|
@@ -2956,22 +2919,22 @@ var it = {
|
|
|
2956
2919
|
"h"
|
|
2957
2920
|
]
|
|
2958
2921
|
};
|
|
2959
|
-
function
|
|
2922
|
+
function Si(e, t) {
|
|
2960
2923
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2961
2924
|
var i = e.charAt(n);
|
|
2962
2925
|
if (i === "j") {
|
|
2963
2926
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2964
2927
|
o++, n++;
|
|
2965
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1),
|
|
2928
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Pi(t);
|
|
2966
2929
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2967
|
-
r +=
|
|
2930
|
+
r += c;
|
|
2968
2931
|
for (; s-- > 0; )
|
|
2969
2932
|
r = l + r;
|
|
2970
2933
|
} else i === "J" ? r += "H" : r += i;
|
|
2971
2934
|
}
|
|
2972
2935
|
return r;
|
|
2973
2936
|
}
|
|
2974
|
-
function
|
|
2937
|
+
function Pi(e) {
|
|
2975
2938
|
var t = e.hourCycle;
|
|
2976
2939
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2977
2940
|
e.hourCycles && // @ts-ignore
|
|
@@ -2993,20 +2956,20 @@ function Fi(e) {
|
|
|
2993
2956
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
2994
2957
|
return i[0];
|
|
2995
2958
|
}
|
|
2996
|
-
var
|
|
2959
|
+
var Et, Ti = new RegExp("^".concat($r.source, "*")), Hi = new RegExp("".concat($r.source, "*$"));
|
|
2997
2960
|
function E(e, t) {
|
|
2998
2961
|
return { start: e, end: t };
|
|
2999
2962
|
}
|
|
3000
|
-
var
|
|
2963
|
+
var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Ii = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Oi = !!String.prototype.trimStart, Li = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ni = Mi ? Number.isSafeInteger : function(e) {
|
|
3001
2964
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3002
|
-
},
|
|
2965
|
+
}, Ot = !0;
|
|
3003
2966
|
try {
|
|
3004
|
-
var
|
|
3005
|
-
|
|
3006
|
-
} catch
|
|
3007
|
-
|
|
2967
|
+
var Ri = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2968
|
+
Ot = ((Et = Ri.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
|
|
2969
|
+
} catch {
|
|
2970
|
+
Ot = !1;
|
|
3008
2971
|
}
|
|
3009
|
-
var
|
|
2972
|
+
var or = Bi ? (
|
|
3010
2973
|
// Native
|
|
3011
2974
|
function(t, r, n) {
|
|
3012
2975
|
return t.startsWith(r, n);
|
|
@@ -3016,7 +2979,7 @@ var fr = $i ? (
|
|
|
3016
2979
|
function(t, r, n) {
|
|
3017
2980
|
return t.slice(n, n + r.length) === r;
|
|
3018
2981
|
}
|
|
3019
|
-
),
|
|
2982
|
+
), Lt = Ai ? String.fromCodePoint : (
|
|
3020
2983
|
// IE11
|
|
3021
2984
|
function() {
|
|
3022
2985
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3028,9 +2991,9 @@ var fr = $i ? (
|
|
|
3028
2991
|
}
|
|
3029
2992
|
return n;
|
|
3030
2993
|
}
|
|
3031
|
-
),
|
|
2994
|
+
), sr = (
|
|
3032
2995
|
// native
|
|
3033
|
-
|
|
2996
|
+
Ii ? Object.fromEntries : (
|
|
3034
2997
|
// Ponyfill
|
|
3035
2998
|
function(t) {
|
|
3036
2999
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3040,7 +3003,7 @@ var fr = $i ? (
|
|
|
3040
3003
|
return r;
|
|
3041
3004
|
}
|
|
3042
3005
|
)
|
|
3043
|
-
),
|
|
3006
|
+
), zr = Ci ? (
|
|
3044
3007
|
// Native
|
|
3045
3008
|
function(t, r) {
|
|
3046
3009
|
return t.codePointAt(r);
|
|
@@ -3054,7 +3017,7 @@ var fr = $i ? (
|
|
|
3054
3017
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3055
3018
|
}
|
|
3056
3019
|
}
|
|
3057
|
-
),
|
|
3020
|
+
), Ui = Oi ? (
|
|
3058
3021
|
// Native
|
|
3059
3022
|
function(t) {
|
|
3060
3023
|
return t.trimStart();
|
|
@@ -3062,9 +3025,9 @@ var fr = $i ? (
|
|
|
3062
3025
|
) : (
|
|
3063
3026
|
// Ponyfill
|
|
3064
3027
|
function(t) {
|
|
3065
|
-
return t.replace(
|
|
3028
|
+
return t.replace(Ti, "");
|
|
3066
3029
|
}
|
|
3067
|
-
),
|
|
3030
|
+
), Fi = Li ? (
|
|
3068
3031
|
// Native
|
|
3069
3032
|
function(t) {
|
|
3070
3033
|
return t.trimEnd();
|
|
@@ -3072,32 +3035,32 @@ var fr = $i ? (
|
|
|
3072
3035
|
) : (
|
|
3073
3036
|
// Ponyfill
|
|
3074
3037
|
function(t) {
|
|
3075
|
-
return t.replace(
|
|
3038
|
+
return t.replace(Hi, "");
|
|
3076
3039
|
}
|
|
3077
3040
|
);
|
|
3078
|
-
function
|
|
3041
|
+
function Xr(e, t) {
|
|
3079
3042
|
return new RegExp(e, t);
|
|
3080
3043
|
}
|
|
3081
|
-
var
|
|
3082
|
-
if (
|
|
3083
|
-
var
|
|
3084
|
-
|
|
3044
|
+
var Mt;
|
|
3045
|
+
if (Ot) {
|
|
3046
|
+
var ar = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3047
|
+
Mt = function(t, r) {
|
|
3085
3048
|
var n;
|
|
3086
|
-
|
|
3087
|
-
var i =
|
|
3049
|
+
ar.lastIndex = r;
|
|
3050
|
+
var i = ar.exec(t);
|
|
3088
3051
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3089
3052
|
};
|
|
3090
3053
|
} else
|
|
3091
|
-
|
|
3054
|
+
Mt = function(t, r) {
|
|
3092
3055
|
for (var n = []; ; ) {
|
|
3093
|
-
var i =
|
|
3094
|
-
if (i === void 0 ||
|
|
3056
|
+
var i = zr(t, r);
|
|
3057
|
+
if (i === void 0 || Wr(i) || Gi(i))
|
|
3095
3058
|
break;
|
|
3096
3059
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3097
3060
|
}
|
|
3098
|
-
return
|
|
3061
|
+
return Lt.apply(void 0, n);
|
|
3099
3062
|
};
|
|
3100
|
-
var
|
|
3063
|
+
var Di = (
|
|
3101
3064
|
/** @class */
|
|
3102
3065
|
function() {
|
|
3103
3066
|
function e(t, r) {
|
|
@@ -3128,7 +3091,7 @@ var Yi = (
|
|
|
3128
3091
|
if (n)
|
|
3129
3092
|
break;
|
|
3130
3093
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3131
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3094
|
+
} else if (o === 60 && !this.ignoreTag && Nt(this.peek() || 0)) {
|
|
3132
3095
|
var s = this.parseTag(t, r);
|
|
3133
3096
|
if (s.err)
|
|
3134
3097
|
return s;
|
|
@@ -3161,10 +3124,10 @@ var Yi = (
|
|
|
3161
3124
|
return o;
|
|
3162
3125
|
var s = o.val, a = this.clonePosition();
|
|
3163
3126
|
if (this.bumpIf("</")) {
|
|
3164
|
-
if (this.isEOF() || !
|
|
3127
|
+
if (this.isEOF() || !Nt(this.char()))
|
|
3165
3128
|
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
3166
|
-
var
|
|
3167
|
-
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(
|
|
3129
|
+
var c = this.clonePosition(), l = this.parseTagName();
|
|
3130
|
+
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3168
3131
|
val: {
|
|
3169
3132
|
type: T.tag,
|
|
3170
3133
|
value: i,
|
|
@@ -3179,7 +3142,7 @@ var Yi = (
|
|
|
3179
3142
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3180
3143
|
}, e.prototype.parseTagName = function() {
|
|
3181
3144
|
var t = this.offset();
|
|
3182
|
-
for (this.bump(); !this.isEOF() &&
|
|
3145
|
+
for (this.bump(); !this.isEOF() && $i(this.char()); )
|
|
3183
3146
|
this.bump();
|
|
3184
3147
|
return this.message.slice(t, this.offset());
|
|
3185
3148
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3201,14 +3164,14 @@ var Yi = (
|
|
|
3201
3164
|
}
|
|
3202
3165
|
break;
|
|
3203
3166
|
}
|
|
3204
|
-
var
|
|
3167
|
+
var c = E(n, this.clonePosition());
|
|
3205
3168
|
return {
|
|
3206
|
-
val: { type: T.literal, value: i, location:
|
|
3169
|
+
val: { type: T.literal, value: i, location: c },
|
|
3207
3170
|
err: null
|
|
3208
3171
|
};
|
|
3209
3172
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3210
3173
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3211
|
-
!
|
|
3174
|
+
!ki(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3212
3175
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3213
3176
|
if (this.isEOF() || this.char() !== 39)
|
|
3214
3177
|
return null;
|
|
@@ -3242,12 +3205,12 @@ var Yi = (
|
|
|
3242
3205
|
r.push(n);
|
|
3243
3206
|
this.bump();
|
|
3244
3207
|
}
|
|
3245
|
-
return
|
|
3208
|
+
return Lt.apply(void 0, r);
|
|
3246
3209
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3247
3210
|
if (this.isEOF())
|
|
3248
3211
|
return null;
|
|
3249
3212
|
var n = this.char();
|
|
3250
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3213
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Lt(n));
|
|
3251
3214
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3252
3215
|
var n = this.clonePosition();
|
|
3253
3216
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3276,15 +3239,15 @@ var Yi = (
|
|
|
3276
3239
|
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3277
3240
|
}
|
|
3278
3241
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3279
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3242
|
+
var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
|
|
3280
3243
|
this.bumpTo(i);
|
|
3281
3244
|
var o = this.clonePosition(), s = E(t, o);
|
|
3282
3245
|
return { value: n, location: s };
|
|
3283
3246
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3284
|
-
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value,
|
|
3247
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
3285
3248
|
switch (a) {
|
|
3286
3249
|
case "":
|
|
3287
|
-
return this.error(_.EXPECT_ARGUMENT_TYPE, E(s,
|
|
3250
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, E(s, c));
|
|
3288
3251
|
case "number":
|
|
3289
3252
|
case "date":
|
|
3290
3253
|
case "time": {
|
|
@@ -3292,21 +3255,21 @@ var Yi = (
|
|
|
3292
3255
|
var l = null;
|
|
3293
3256
|
if (this.bumpIf(",")) {
|
|
3294
3257
|
this.bumpSpace();
|
|
3295
|
-
var
|
|
3258
|
+
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3296
3259
|
if (f.err)
|
|
3297
3260
|
return f;
|
|
3298
|
-
var d =
|
|
3261
|
+
var d = Fi(f.val);
|
|
3299
3262
|
if (d.length === 0)
|
|
3300
3263
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3301
|
-
var b = E(
|
|
3264
|
+
var b = E(u, this.clonePosition());
|
|
3302
3265
|
l = { style: d, styleLocation: b };
|
|
3303
3266
|
}
|
|
3304
3267
|
var v = this.tryParseArgumentClose(i);
|
|
3305
3268
|
if (v.err)
|
|
3306
3269
|
return v;
|
|
3307
3270
|
var g = E(i, this.clonePosition());
|
|
3308
|
-
if (l &&
|
|
3309
|
-
var x =
|
|
3271
|
+
if (l && or(l?.style, "::", 0)) {
|
|
3272
|
+
var x = Ui(l.style.slice(2));
|
|
3310
3273
|
if (a === "number") {
|
|
3311
3274
|
var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
|
|
3312
3275
|
return f.err ? f : {
|
|
@@ -3317,12 +3280,12 @@ var Yi = (
|
|
|
3317
3280
|
if (x.length === 0)
|
|
3318
3281
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3319
3282
|
var M = x;
|
|
3320
|
-
this.locale && (M =
|
|
3283
|
+
this.locale && (M = Si(x, this.locale));
|
|
3321
3284
|
var d = {
|
|
3322
|
-
type:
|
|
3285
|
+
type: Ae.dateTime,
|
|
3323
3286
|
pattern: M,
|
|
3324
3287
|
location: l.styleLocation,
|
|
3325
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3288
|
+
parsedOptions: this.shouldParseSkeletons ? bi(M) : {}
|
|
3326
3289
|
}, q = a === "date" ? T.date : T.time;
|
|
3327
3290
|
return {
|
|
3328
3291
|
val: { type: q, value: n, location: g, style: d },
|
|
@@ -3335,7 +3298,7 @@ var Yi = (
|
|
|
3335
3298
|
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
|
3336
3299
|
value: n,
|
|
3337
3300
|
location: g,
|
|
3338
|
-
style: (o = l
|
|
3301
|
+
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
3339
3302
|
},
|
|
3340
3303
|
err: null
|
|
3341
3304
|
};
|
|
@@ -3368,7 +3331,7 @@ var Yi = (
|
|
|
3368
3331
|
val: {
|
|
3369
3332
|
type: T.select,
|
|
3370
3333
|
value: n,
|
|
3371
|
-
options:
|
|
3334
|
+
options: sr(J.val),
|
|
3372
3335
|
location: B
|
|
3373
3336
|
},
|
|
3374
3337
|
err: null
|
|
@@ -3376,7 +3339,7 @@ var Yi = (
|
|
|
3376
3339
|
val: {
|
|
3377
3340
|
type: T.plural,
|
|
3378
3341
|
value: n,
|
|
3379
|
-
options:
|
|
3342
|
+
options: sr(J.val),
|
|
3380
3343
|
offset: G,
|
|
3381
3344
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3382
3345
|
location: B
|
|
@@ -3385,7 +3348,7 @@ var Yi = (
|
|
|
3385
3348
|
};
|
|
3386
3349
|
}
|
|
3387
3350
|
default:
|
|
3388
|
-
return this.error(_.INVALID_ARGUMENT_TYPE, E(s,
|
|
3351
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, E(s, c));
|
|
3389
3352
|
}
|
|
3390
3353
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3391
3354
|
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3427,33 +3390,33 @@ var Yi = (
|
|
|
3427
3390
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3428
3391
|
var n = [];
|
|
3429
3392
|
try {
|
|
3430
|
-
n =
|
|
3431
|
-
} catch
|
|
3393
|
+
n = vi(t);
|
|
3394
|
+
} catch {
|
|
3432
3395
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3433
3396
|
}
|
|
3434
3397
|
return {
|
|
3435
3398
|
val: {
|
|
3436
|
-
type:
|
|
3399
|
+
type: Ae.number,
|
|
3437
3400
|
tokens: n,
|
|
3438
3401
|
location: r,
|
|
3439
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3402
|
+
parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
|
|
3440
3403
|
},
|
|
3441
3404
|
err: null
|
|
3442
3405
|
};
|
|
3443
3406
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3444
|
-
for (var o, s = !1, a = [],
|
|
3407
|
+
for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
|
|
3445
3408
|
if (l.length === 0) {
|
|
3446
3409
|
var f = this.clonePosition();
|
|
3447
3410
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3448
3411
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3449
3412
|
if (d.err)
|
|
3450
3413
|
return d;
|
|
3451
|
-
|
|
3414
|
+
u = E(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
|
|
3452
3415
|
} else
|
|
3453
3416
|
break;
|
|
3454
3417
|
}
|
|
3455
|
-
if (
|
|
3456
|
-
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3418
|
+
if (c.has(l))
|
|
3419
|
+
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
3457
3420
|
l === "other" && (s = !0), this.bumpSpace();
|
|
3458
3421
|
var b = this.clonePosition();
|
|
3459
3422
|
if (!this.bumpIf("{"))
|
|
@@ -3470,7 +3433,7 @@ var Yi = (
|
|
|
3470
3433
|
value: v.val,
|
|
3471
3434
|
location: E(b, this.clonePosition())
|
|
3472
3435
|
}
|
|
3473
|
-
]),
|
|
3436
|
+
]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
|
|
3474
3437
|
}
|
|
3475
3438
|
return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3476
3439
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3483,8 +3446,8 @@ var Yi = (
|
|
|
3483
3446
|
else
|
|
3484
3447
|
break;
|
|
3485
3448
|
}
|
|
3486
|
-
var
|
|
3487
|
-
return o ? (s *= n,
|
|
3449
|
+
var c = E(i, this.clonePosition());
|
|
3450
|
+
return o ? (s *= n, Ni(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
|
|
3488
3451
|
}, e.prototype.offset = function() {
|
|
3489
3452
|
return this.position.offset;
|
|
3490
3453
|
}, e.prototype.isEOF = function() {
|
|
@@ -3499,7 +3462,7 @@ var Yi = (
|
|
|
3499
3462
|
var t = this.position.offset;
|
|
3500
3463
|
if (t >= this.message.length)
|
|
3501
3464
|
throw Error("out of bound");
|
|
3502
|
-
var r =
|
|
3465
|
+
var r = zr(this.message, t);
|
|
3503
3466
|
if (r === void 0)
|
|
3504
3467
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3505
3468
|
return r;
|
|
@@ -3518,7 +3481,7 @@ var Yi = (
|
|
|
3518
3481
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3519
3482
|
}
|
|
3520
3483
|
}, e.prototype.bumpIf = function(t) {
|
|
3521
|
-
if (
|
|
3484
|
+
if (or(this.message, t, this.offset())) {
|
|
3522
3485
|
for (var r = 0; r < t.length; r++)
|
|
3523
3486
|
this.bump();
|
|
3524
3487
|
return !0;
|
|
@@ -3540,56 +3503,56 @@ var Yi = (
|
|
|
3540
3503
|
break;
|
|
3541
3504
|
}
|
|
3542
3505
|
}, e.prototype.bumpSpace = function() {
|
|
3543
|
-
for (; !this.isEOF() &&
|
|
3506
|
+
for (; !this.isEOF() && Wr(this.char()); )
|
|
3544
3507
|
this.bump();
|
|
3545
3508
|
}, e.prototype.peek = function() {
|
|
3546
3509
|
if (this.isEOF())
|
|
3547
3510
|
return null;
|
|
3548
3511
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3549
|
-
return n
|
|
3512
|
+
return n ?? null;
|
|
3550
3513
|
}, e;
|
|
3551
3514
|
}()
|
|
3552
3515
|
);
|
|
3553
|
-
function
|
|
3516
|
+
function Nt(e) {
|
|
3554
3517
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3555
3518
|
}
|
|
3556
|
-
function
|
|
3557
|
-
return
|
|
3519
|
+
function ki(e) {
|
|
3520
|
+
return Nt(e) || e === 47;
|
|
3558
3521
|
}
|
|
3559
|
-
function
|
|
3522
|
+
function $i(e) {
|
|
3560
3523
|
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;
|
|
3561
3524
|
}
|
|
3562
|
-
function
|
|
3525
|
+
function Wr(e) {
|
|
3563
3526
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3564
3527
|
}
|
|
3565
|
-
function
|
|
3528
|
+
function Gi(e) {
|
|
3566
3529
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3567
3530
|
}
|
|
3568
|
-
function
|
|
3531
|
+
function Rt(e) {
|
|
3569
3532
|
e.forEach(function(t) {
|
|
3570
|
-
if (delete t.location,
|
|
3533
|
+
if (delete t.location, Ur(t) || Fr(t))
|
|
3571
3534
|
for (var r in t.options)
|
|
3572
|
-
delete t.options[r].location,
|
|
3573
|
-
else
|
|
3535
|
+
delete t.options[r].location, Rt(t.options[r].value);
|
|
3536
|
+
else Mr(t) && kr(t.style) || (Nr(t) || Rr(t)) && Ct(t.style) ? delete t.style.location : Dr(t) && Rt(t.children);
|
|
3574
3537
|
});
|
|
3575
3538
|
}
|
|
3576
|
-
function
|
|
3539
|
+
function ji(e, t) {
|
|
3577
3540
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3578
|
-
var r = new
|
|
3541
|
+
var r = new Di(e, t).parse();
|
|
3579
3542
|
if (r.err) {
|
|
3580
3543
|
var n = SyntaxError(_[r.err.kind]);
|
|
3581
3544
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3582
3545
|
}
|
|
3583
|
-
return t
|
|
3546
|
+
return t?.captureLocation || Rt(r.val), r.val;
|
|
3584
3547
|
}
|
|
3585
|
-
var
|
|
3548
|
+
var Ie;
|
|
3586
3549
|
(function(e) {
|
|
3587
3550
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3588
|
-
})(
|
|
3551
|
+
})(Ie || (Ie = {}));
|
|
3589
3552
|
var mt = (
|
|
3590
3553
|
/** @class */
|
|
3591
3554
|
function(e) {
|
|
3592
|
-
|
|
3555
|
+
le(t, e);
|
|
3593
3556
|
function t(r, n, i) {
|
|
3594
3557
|
var o = e.call(this, r) || this;
|
|
3595
3558
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3598,30 +3561,30 @@ var mt = (
|
|
|
3598
3561
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3599
3562
|
}, t;
|
|
3600
3563
|
}(Error)
|
|
3601
|
-
),
|
|
3564
|
+
), lr = (
|
|
3602
3565
|
/** @class */
|
|
3603
3566
|
function(e) {
|
|
3604
|
-
|
|
3567
|
+
le(t, e);
|
|
3605
3568
|
function t(r, n, i, o) {
|
|
3606
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3569
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ie.INVALID_VALUE, o) || this;
|
|
3607
3570
|
}
|
|
3608
3571
|
return t;
|
|
3609
3572
|
}(mt)
|
|
3610
|
-
),
|
|
3573
|
+
), Vi = (
|
|
3611
3574
|
/** @class */
|
|
3612
3575
|
function(e) {
|
|
3613
|
-
|
|
3576
|
+
le(t, e);
|
|
3614
3577
|
function t(r, n, i) {
|
|
3615
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3578
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ie.INVALID_VALUE, i) || this;
|
|
3616
3579
|
}
|
|
3617
3580
|
return t;
|
|
3618
3581
|
}(mt)
|
|
3619
|
-
),
|
|
3582
|
+
), zi = (
|
|
3620
3583
|
/** @class */
|
|
3621
3584
|
function(e) {
|
|
3622
|
-
|
|
3585
|
+
le(t, e);
|
|
3623
3586
|
function t(r, n) {
|
|
3624
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3587
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ie.MISSING_VALUE, n) || this;
|
|
3625
3588
|
}
|
|
3626
3589
|
return t;
|
|
3627
3590
|
}(mt)
|
|
@@ -3629,78 +3592,78 @@ var mt = (
|
|
|
3629
3592
|
(function(e) {
|
|
3630
3593
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3631
3594
|
})(X || (X = {}));
|
|
3632
|
-
function
|
|
3595
|
+
function Xi(e) {
|
|
3633
3596
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3634
3597
|
var n = t[t.length - 1];
|
|
3635
3598
|
return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
|
|
3636
3599
|
}, []);
|
|
3637
3600
|
}
|
|
3638
|
-
function
|
|
3601
|
+
function Wi(e) {
|
|
3639
3602
|
return typeof e == "function";
|
|
3640
3603
|
}
|
|
3641
3604
|
function at(e, t, r, n, i, o, s) {
|
|
3642
|
-
if (e.length === 1 &&
|
|
3605
|
+
if (e.length === 1 && tr(e[0]))
|
|
3643
3606
|
return [
|
|
3644
3607
|
{
|
|
3645
3608
|
type: X.literal,
|
|
3646
3609
|
value: e[0].value
|
|
3647
3610
|
}
|
|
3648
3611
|
];
|
|
3649
|
-
for (var a = [],
|
|
3650
|
-
var
|
|
3651
|
-
if (
|
|
3612
|
+
for (var a = [], c = 0, l = e; c < l.length; c++) {
|
|
3613
|
+
var u = l[c];
|
|
3614
|
+
if (tr(u)) {
|
|
3652
3615
|
a.push({
|
|
3653
3616
|
type: X.literal,
|
|
3654
|
-
value:
|
|
3617
|
+
value: u.value
|
|
3655
3618
|
});
|
|
3656
3619
|
continue;
|
|
3657
3620
|
}
|
|
3658
|
-
if (
|
|
3621
|
+
if (pi(u)) {
|
|
3659
3622
|
typeof o == "number" && a.push({
|
|
3660
3623
|
type: X.literal,
|
|
3661
3624
|
value: r.getNumberFormat(t).format(o)
|
|
3662
3625
|
});
|
|
3663
3626
|
continue;
|
|
3664
3627
|
}
|
|
3665
|
-
var f =
|
|
3628
|
+
var f = u.value;
|
|
3666
3629
|
if (!(i && f in i))
|
|
3667
|
-
throw new
|
|
3630
|
+
throw new zi(f, s);
|
|
3668
3631
|
var d = i[f];
|
|
3669
|
-
if (
|
|
3632
|
+
if (mi(u)) {
|
|
3670
3633
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3671
3634
|
type: typeof d == "string" ? X.literal : X.object,
|
|
3672
3635
|
value: d
|
|
3673
3636
|
});
|
|
3674
3637
|
continue;
|
|
3675
3638
|
}
|
|
3676
|
-
if (
|
|
3677
|
-
var b = typeof
|
|
3639
|
+
if (Nr(u)) {
|
|
3640
|
+
var b = typeof u.style == "string" ? n.date[u.style] : Ct(u.style) ? u.style.parsedOptions : void 0;
|
|
3678
3641
|
a.push({
|
|
3679
3642
|
type: X.literal,
|
|
3680
3643
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3681
3644
|
});
|
|
3682
3645
|
continue;
|
|
3683
3646
|
}
|
|
3684
|
-
if (
|
|
3685
|
-
var b = typeof
|
|
3647
|
+
if (Rr(u)) {
|
|
3648
|
+
var b = typeof u.style == "string" ? n.time[u.style] : Ct(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3686
3649
|
a.push({
|
|
3687
3650
|
type: X.literal,
|
|
3688
3651
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3689
3652
|
});
|
|
3690
3653
|
continue;
|
|
3691
3654
|
}
|
|
3692
|
-
if (
|
|
3693
|
-
var b = typeof
|
|
3655
|
+
if (Mr(u)) {
|
|
3656
|
+
var b = typeof u.style == "string" ? n.number[u.style] : kr(u.style) ? u.style.parsedOptions : void 0;
|
|
3694
3657
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3695
3658
|
type: X.literal,
|
|
3696
3659
|
value: r.getNumberFormat(t, b).format(d)
|
|
3697
3660
|
});
|
|
3698
3661
|
continue;
|
|
3699
3662
|
}
|
|
3700
|
-
if (
|
|
3701
|
-
var v =
|
|
3702
|
-
if (!
|
|
3703
|
-
throw new
|
|
3663
|
+
if (Dr(u)) {
|
|
3664
|
+
var v = u.children, g = u.value, x = i[g];
|
|
3665
|
+
if (!Wi(x))
|
|
3666
|
+
throw new Vi(g, "function", s);
|
|
3704
3667
|
var M = at(v, t, r, n, i, o), q = x(M.map(function(G) {
|
|
3705
3668
|
return G.value;
|
|
3706
3669
|
}));
|
|
@@ -3711,42 +3674,42 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3711
3674
|
};
|
|
3712
3675
|
}));
|
|
3713
3676
|
}
|
|
3714
|
-
if (
|
|
3715
|
-
var H =
|
|
3677
|
+
if (Ur(u)) {
|
|
3678
|
+
var H = u.options[d] || u.options.other;
|
|
3716
3679
|
if (!H)
|
|
3717
|
-
throw new
|
|
3680
|
+
throw new lr(u.value, d, Object.keys(u.options), s);
|
|
3718
3681
|
a.push.apply(a, at(H.value, t, r, n, i));
|
|
3719
3682
|
continue;
|
|
3720
3683
|
}
|
|
3721
|
-
if (
|
|
3722
|
-
var H =
|
|
3684
|
+
if (Fr(u)) {
|
|
3685
|
+
var H = u.options["=".concat(d)];
|
|
3723
3686
|
if (!H) {
|
|
3724
3687
|
if (!Intl.PluralRules)
|
|
3725
3688
|
throw new mt(`Intl.PluralRules is not available in this environment.
|
|
3726
3689
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3727
|
-
`,
|
|
3728
|
-
var R = r.getPluralRules(t, { type:
|
|
3729
|
-
H =
|
|
3690
|
+
`, Ie.MISSING_INTL_API, s);
|
|
3691
|
+
var R = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
|
|
3692
|
+
H = u.options[R] || u.options.other;
|
|
3730
3693
|
}
|
|
3731
3694
|
if (!H)
|
|
3732
|
-
throw new
|
|
3733
|
-
a.push.apply(a, at(H.value, t, r, n, i, d - (
|
|
3695
|
+
throw new lr(u.value, d, Object.keys(u.options), s);
|
|
3696
|
+
a.push.apply(a, at(H.value, t, r, n, i, d - (u.offset || 0)));
|
|
3734
3697
|
continue;
|
|
3735
3698
|
}
|
|
3736
3699
|
}
|
|
3737
|
-
return
|
|
3700
|
+
return Xi(a);
|
|
3738
3701
|
}
|
|
3739
|
-
function
|
|
3702
|
+
function Zi(e, t) {
|
|
3740
3703
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3741
3704
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3742
3705
|
}, {})) : e;
|
|
3743
3706
|
}
|
|
3744
|
-
function
|
|
3707
|
+
function qi(e, t) {
|
|
3745
3708
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3746
|
-
return r[n] =
|
|
3709
|
+
return r[n] = Zi(e[n], t[n]), r;
|
|
3747
3710
|
}, w({}, e)) : e;
|
|
3748
3711
|
}
|
|
3749
|
-
function
|
|
3712
|
+
function wt(e) {
|
|
3750
3713
|
return {
|
|
3751
3714
|
create: function() {
|
|
3752
3715
|
return {
|
|
@@ -3760,39 +3723,39 @@ function St(e) {
|
|
|
3760
3723
|
}
|
|
3761
3724
|
};
|
|
3762
3725
|
}
|
|
3763
|
-
function
|
|
3726
|
+
function Ji(e) {
|
|
3764
3727
|
return e === void 0 && (e = {
|
|
3765
3728
|
number: {},
|
|
3766
3729
|
dateTime: {},
|
|
3767
3730
|
pluralRules: {}
|
|
3768
3731
|
}), {
|
|
3769
|
-
getNumberFormat:
|
|
3732
|
+
getNumberFormat: vt(function() {
|
|
3770
3733
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3771
3734
|
r[n] = arguments[n];
|
|
3772
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3735
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3773
3736
|
}, {
|
|
3774
|
-
cache:
|
|
3775
|
-
strategy:
|
|
3737
|
+
cache: wt(e.number),
|
|
3738
|
+
strategy: _t.variadic
|
|
3776
3739
|
}),
|
|
3777
|
-
getDateTimeFormat:
|
|
3740
|
+
getDateTimeFormat: vt(function() {
|
|
3778
3741
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3779
3742
|
r[n] = arguments[n];
|
|
3780
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3743
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3781
3744
|
}, {
|
|
3782
|
-
cache:
|
|
3783
|
-
strategy:
|
|
3745
|
+
cache: wt(e.dateTime),
|
|
3746
|
+
strategy: _t.variadic
|
|
3784
3747
|
}),
|
|
3785
|
-
getPluralRules:
|
|
3748
|
+
getPluralRules: vt(function() {
|
|
3786
3749
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3787
3750
|
r[n] = arguments[n];
|
|
3788
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3751
|
+
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3789
3752
|
}, {
|
|
3790
|
-
cache:
|
|
3791
|
-
strategy:
|
|
3753
|
+
cache: wt(e.pluralRules),
|
|
3754
|
+
strategy: _t.variadic
|
|
3792
3755
|
})
|
|
3793
3756
|
};
|
|
3794
3757
|
}
|
|
3795
|
-
var
|
|
3758
|
+
var Qi = (
|
|
3796
3759
|
/** @class */
|
|
3797
3760
|
function() {
|
|
3798
3761
|
function e(t, r, n, i) {
|
|
@@ -3802,20 +3765,20 @@ var co = (
|
|
|
3802
3765
|
number: {},
|
|
3803
3766
|
dateTime: {},
|
|
3804
3767
|
pluralRules: {}
|
|
3805
|
-
}, this.format = function(
|
|
3806
|
-
var l = o.formatToParts(
|
|
3768
|
+
}, this.format = function(c) {
|
|
3769
|
+
var l = o.formatToParts(c);
|
|
3807
3770
|
if (l.length === 1)
|
|
3808
3771
|
return l[0].value;
|
|
3809
|
-
var
|
|
3772
|
+
var u = l.reduce(function(f, d) {
|
|
3810
3773
|
return !f.length || d.type !== X.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
|
|
3811
3774
|
}, []);
|
|
3812
|
-
return
|
|
3813
|
-
}, this.formatToParts = function(
|
|
3814
|
-
return at(o.ast, o.locales, o.formatters, o.formats,
|
|
3775
|
+
return u.length <= 1 ? u[0] || "" : u;
|
|
3776
|
+
}, this.formatToParts = function(c) {
|
|
3777
|
+
return at(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
|
|
3815
3778
|
}, this.resolvedOptions = function() {
|
|
3816
|
-
var
|
|
3779
|
+
var c;
|
|
3817
3780
|
return {
|
|
3818
|
-
locale: ((
|
|
3781
|
+
locale: ((c = o.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3819
3782
|
};
|
|
3820
3783
|
}, this.getAst = function() {
|
|
3821
3784
|
return o.ast;
|
|
@@ -3824,13 +3787,13 @@ var co = (
|
|
|
3824
3787
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3825
3788
|
var s = i || {};
|
|
3826
3789
|
s.formatters;
|
|
3827
|
-
var a =
|
|
3790
|
+
var a = An(s, ["formatters"]);
|
|
3828
3791
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3829
3792
|
} else
|
|
3830
3793
|
this.ast = t;
|
|
3831
3794
|
if (!Array.isArray(this.ast))
|
|
3832
3795
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3833
|
-
this.formats =
|
|
3796
|
+
this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Ji(this.formatterCache);
|
|
3834
3797
|
}
|
|
3835
3798
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3836
3799
|
get: function() {
|
|
@@ -3839,11 +3802,11 @@ var co = (
|
|
|
3839
3802
|
enumerable: !1,
|
|
3840
3803
|
configurable: !0
|
|
3841
3804
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3842
|
-
if (typeof Intl.Locale
|
|
3805
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
3843
3806
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3844
3807
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3845
3808
|
}
|
|
3846
|
-
}, e.__parse =
|
|
3809
|
+
}, e.__parse = ji, e.formats = {
|
|
3847
3810
|
number: {
|
|
3848
3811
|
integer: {
|
|
3849
3812
|
maximumFractionDigits: 0
|
|
@@ -3904,7 +3867,7 @@ var co = (
|
|
|
3904
3867
|
}, e;
|
|
3905
3868
|
}()
|
|
3906
3869
|
);
|
|
3907
|
-
function
|
|
3870
|
+
function Yi(e, t) {
|
|
3908
3871
|
if (t == null)
|
|
3909
3872
|
return;
|
|
3910
3873
|
if (t in e)
|
|
@@ -3925,92 +3888,92 @@ function ho(e, t) {
|
|
|
3925
3888
|
n = void 0;
|
|
3926
3889
|
return n;
|
|
3927
3890
|
}
|
|
3928
|
-
const
|
|
3891
|
+
const ce = {}, Ki = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Zr = (e, t) => {
|
|
3929
3892
|
if (t == null)
|
|
3930
3893
|
return;
|
|
3931
|
-
if (t in
|
|
3932
|
-
return
|
|
3894
|
+
if (t in ce && e in ce[t])
|
|
3895
|
+
return ce[t][e];
|
|
3933
3896
|
const r = pt(t);
|
|
3934
3897
|
for (let n = 0; n < r.length; n++) {
|
|
3935
|
-
const i = r[n], o =
|
|
3898
|
+
const i = r[n], o = to(i, e);
|
|
3936
3899
|
if (o)
|
|
3937
|
-
return
|
|
3900
|
+
return Ki(e, t, o);
|
|
3938
3901
|
}
|
|
3939
3902
|
};
|
|
3940
|
-
let
|
|
3941
|
-
const
|
|
3942
|
-
function
|
|
3943
|
-
return
|
|
3903
|
+
let $t;
|
|
3904
|
+
const Me = dt({});
|
|
3905
|
+
function eo(e) {
|
|
3906
|
+
return $t[e] || null;
|
|
3944
3907
|
}
|
|
3945
|
-
function
|
|
3946
|
-
return e in
|
|
3908
|
+
function qr(e) {
|
|
3909
|
+
return e in $t;
|
|
3947
3910
|
}
|
|
3948
|
-
function
|
|
3949
|
-
if (!
|
|
3911
|
+
function to(e, t) {
|
|
3912
|
+
if (!qr(e))
|
|
3950
3913
|
return null;
|
|
3951
|
-
const r =
|
|
3952
|
-
return
|
|
3914
|
+
const r = eo(e);
|
|
3915
|
+
return Yi(r, t);
|
|
3953
3916
|
}
|
|
3954
|
-
function
|
|
3917
|
+
function ro(e) {
|
|
3955
3918
|
if (e == null)
|
|
3956
3919
|
return;
|
|
3957
3920
|
const t = pt(e);
|
|
3958
3921
|
for (let r = 0; r < t.length; r++) {
|
|
3959
3922
|
const n = t[r];
|
|
3960
|
-
if (
|
|
3923
|
+
if (qr(n))
|
|
3961
3924
|
return n;
|
|
3962
3925
|
}
|
|
3963
3926
|
}
|
|
3964
|
-
function
|
|
3965
|
-
delete
|
|
3927
|
+
function Jr(e, ...t) {
|
|
3928
|
+
delete ce[e], Me.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
|
|
3966
3929
|
}
|
|
3967
|
-
|
|
3968
|
-
[
|
|
3930
|
+
Le(
|
|
3931
|
+
[Me],
|
|
3969
3932
|
([e]) => Object.keys(e)
|
|
3970
3933
|
);
|
|
3971
|
-
|
|
3934
|
+
Me.subscribe((e) => $t = e);
|
|
3972
3935
|
const lt = {};
|
|
3973
|
-
function
|
|
3936
|
+
function no(e, t) {
|
|
3974
3937
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
3975
3938
|
}
|
|
3976
|
-
function
|
|
3939
|
+
function Qr(e) {
|
|
3977
3940
|
return lt[e];
|
|
3978
3941
|
}
|
|
3979
|
-
function
|
|
3942
|
+
function io(e) {
|
|
3980
3943
|
return pt(e).map((t) => {
|
|
3981
|
-
const r =
|
|
3944
|
+
const r = Qr(t);
|
|
3982
3945
|
return [t, r ? [...r] : []];
|
|
3983
3946
|
}).filter(([, t]) => t.length > 0);
|
|
3984
3947
|
}
|
|
3985
|
-
function
|
|
3948
|
+
function Ut(e) {
|
|
3986
3949
|
return e == null ? !1 : pt(e).some(
|
|
3987
3950
|
(t) => {
|
|
3988
3951
|
var r;
|
|
3989
|
-
return (r =
|
|
3952
|
+
return (r = Qr(t)) == null ? void 0 : r.size;
|
|
3990
3953
|
}
|
|
3991
3954
|
);
|
|
3992
3955
|
}
|
|
3993
|
-
function
|
|
3956
|
+
function oo(e, t) {
|
|
3994
3957
|
return Promise.all(
|
|
3995
|
-
t.map((n) => (
|
|
3996
|
-
).then((n) =>
|
|
3997
|
-
}
|
|
3998
|
-
const
|
|
3999
|
-
function
|
|
4000
|
-
if (!
|
|
4001
|
-
return e in
|
|
4002
|
-
const t =
|
|
4003
|
-
return
|
|
3958
|
+
t.map((n) => (no(e, n), n().then((i) => i.default || i)))
|
|
3959
|
+
).then((n) => Jr(e, ...n));
|
|
3960
|
+
}
|
|
3961
|
+
const Ve = {};
|
|
3962
|
+
function Yr(e) {
|
|
3963
|
+
if (!Ut(e))
|
|
3964
|
+
return e in Ve ? Ve[e] : Promise.resolve();
|
|
3965
|
+
const t = io(e);
|
|
3966
|
+
return Ve[e] = Promise.all(
|
|
4004
3967
|
t.map(
|
|
4005
|
-
([r, n]) =>
|
|
3968
|
+
([r, n]) => oo(r, n)
|
|
4006
3969
|
)
|
|
4007
3970
|
).then(() => {
|
|
4008
|
-
if (
|
|
4009
|
-
return
|
|
4010
|
-
delete
|
|
4011
|
-
}),
|
|
3971
|
+
if (Ut(e))
|
|
3972
|
+
return Yr(e);
|
|
3973
|
+
delete Ve[e];
|
|
3974
|
+
}), Ve[e];
|
|
4012
3975
|
}
|
|
4013
|
-
const
|
|
3976
|
+
const so = {
|
|
4014
3977
|
number: {
|
|
4015
3978
|
scientific: { notation: "scientific" },
|
|
4016
3979
|
engineering: { notation: "engineering" },
|
|
@@ -4039,57 +4002,57 @@ const _o = {
|
|
|
4039
4002
|
timeZoneName: "short"
|
|
4040
4003
|
}
|
|
4041
4004
|
}
|
|
4042
|
-
},
|
|
4005
|
+
}, ao = {
|
|
4043
4006
|
fallbackLocale: null,
|
|
4044
4007
|
loadingDelay: 200,
|
|
4045
|
-
formats:
|
|
4008
|
+
formats: so,
|
|
4046
4009
|
warnOnMissingMessages: !0,
|
|
4047
4010
|
handleMissingMessage: void 0,
|
|
4048
4011
|
ignoreTag: !0
|
|
4049
|
-
},
|
|
4050
|
-
function
|
|
4051
|
-
return
|
|
4012
|
+
}, lo = ao;
|
|
4013
|
+
function Ce() {
|
|
4014
|
+
return lo;
|
|
4052
4015
|
}
|
|
4053
|
-
const
|
|
4054
|
-
var
|
|
4016
|
+
const xt = dt(!1);
|
|
4017
|
+
var uo = Object.defineProperty, co = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, ur = Object.getOwnPropertySymbols, fo = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
|
|
4055
4018
|
for (var r in t)
|
|
4056
|
-
|
|
4057
|
-
if (
|
|
4058
|
-
for (var r of
|
|
4059
|
-
|
|
4019
|
+
fo.call(t, r) && cr(e, r, t[r]);
|
|
4020
|
+
if (ur)
|
|
4021
|
+
for (var r of ur(t))
|
|
4022
|
+
mo.call(t, r) && cr(e, r, t[r]);
|
|
4060
4023
|
return e;
|
|
4061
|
-
},
|
|
4062
|
-
let
|
|
4024
|
+
}, go = (e, t) => co(e, ho(t));
|
|
4025
|
+
let Ft;
|
|
4063
4026
|
const ct = dt(null);
|
|
4064
|
-
function
|
|
4027
|
+
function hr(e) {
|
|
4065
4028
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4066
4029
|
}
|
|
4067
|
-
function pt(e, t =
|
|
4068
|
-
const r =
|
|
4069
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4030
|
+
function pt(e, t = Ce().fallbackLocale) {
|
|
4031
|
+
const r = hr(e);
|
|
4032
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...hr(t)])] : r;
|
|
4070
4033
|
}
|
|
4071
|
-
function
|
|
4072
|
-
return
|
|
4034
|
+
function ge() {
|
|
4035
|
+
return Ft ?? void 0;
|
|
4073
4036
|
}
|
|
4074
4037
|
ct.subscribe((e) => {
|
|
4075
|
-
|
|
4038
|
+
Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4076
4039
|
});
|
|
4077
|
-
const
|
|
4078
|
-
if (e &&
|
|
4079
|
-
const { loadingDelay: t } =
|
|
4040
|
+
const bo = (e) => {
|
|
4041
|
+
if (e && ro(e) && Ut(e)) {
|
|
4042
|
+
const { loadingDelay: t } = Ce();
|
|
4080
4043
|
let r;
|
|
4081
|
-
return typeof window
|
|
4082
|
-
() =>
|
|
4044
|
+
return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
|
|
4045
|
+
() => xt.set(!0),
|
|
4083
4046
|
t
|
|
4084
|
-
) :
|
|
4047
|
+
) : xt.set(!0), Yr(e).then(() => {
|
|
4085
4048
|
ct.set(e);
|
|
4086
4049
|
}).finally(() => {
|
|
4087
|
-
clearTimeout(r),
|
|
4050
|
+
clearTimeout(r), xt.set(!1);
|
|
4088
4051
|
});
|
|
4089
4052
|
}
|
|
4090
4053
|
return ct.set(e);
|
|
4091
|
-
},
|
|
4092
|
-
set:
|
|
4054
|
+
}, he = go(po({}, ct), {
|
|
4055
|
+
set: bo
|
|
4093
4056
|
}), gt = (e) => {
|
|
4094
4057
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4095
4058
|
return (n) => {
|
|
@@ -4097,101 +4060,101 @@ const Io = (e) => {
|
|
|
4097
4060
|
return i in t ? t[i] : t[i] = e(n);
|
|
4098
4061
|
};
|
|
4099
4062
|
};
|
|
4100
|
-
var
|
|
4063
|
+
var yo = Object.defineProperty, ht = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
|
|
4101
4064
|
for (var r in t || (t = {}))
|
|
4102
|
-
|
|
4065
|
+
Kr.call(t, r) && fr(e, r, t[r]);
|
|
4103
4066
|
if (ht)
|
|
4104
4067
|
for (var r of ht(t))
|
|
4105
|
-
|
|
4068
|
+
en.call(t, r) && fr(e, r, t[r]);
|
|
4106
4069
|
return e;
|
|
4107
|
-
},
|
|
4070
|
+
}, Ne = (e, t) => {
|
|
4108
4071
|
var r = {};
|
|
4109
4072
|
for (var n in e)
|
|
4110
|
-
|
|
4073
|
+
Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4111
4074
|
if (e != null && ht)
|
|
4112
4075
|
for (var n of ht(e))
|
|
4113
|
-
t.indexOf(n) < 0 &&
|
|
4076
|
+
t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
|
|
4114
4077
|
return r;
|
|
4115
4078
|
};
|
|
4116
|
-
const
|
|
4117
|
-
const { formats: r } =
|
|
4079
|
+
const Ze = (e, t) => {
|
|
4080
|
+
const { formats: r } = Ce();
|
|
4118
4081
|
if (e in r && t in r[e])
|
|
4119
4082
|
return r[e][t];
|
|
4120
4083
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4121
|
-
},
|
|
4084
|
+
}, vo = gt(
|
|
4122
4085
|
(e) => {
|
|
4123
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4086
|
+
var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
|
|
4124
4087
|
if (r == null)
|
|
4125
4088
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4126
|
-
return n && (i =
|
|
4089
|
+
return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
|
|
4127
4090
|
}
|
|
4128
|
-
),
|
|
4091
|
+
), _o = gt(
|
|
4129
4092
|
(e) => {
|
|
4130
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4093
|
+
var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
|
|
4131
4094
|
if (r == null)
|
|
4132
4095
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4133
|
-
return n ? i =
|
|
4096
|
+
return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4134
4097
|
}
|
|
4135
|
-
),
|
|
4098
|
+
), Eo = gt(
|
|
4136
4099
|
(e) => {
|
|
4137
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4100
|
+
var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
|
|
4138
4101
|
if (r == null)
|
|
4139
4102
|
throw new Error(
|
|
4140
4103
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4141
4104
|
);
|
|
4142
|
-
return n ? i =
|
|
4105
|
+
return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4143
4106
|
}
|
|
4144
|
-
),
|
|
4107
|
+
), wo = (e = {}) => {
|
|
4145
4108
|
var t = e, {
|
|
4146
|
-
locale: r =
|
|
4147
|
-
} = t, n =
|
|
4109
|
+
locale: r = ge()
|
|
4110
|
+
} = t, n = Ne(t, [
|
|
4148
4111
|
"locale"
|
|
4149
4112
|
]);
|
|
4150
|
-
return
|
|
4151
|
-
},
|
|
4113
|
+
return vo(Gt({ locale: r }, n));
|
|
4114
|
+
}, xo = (e = {}) => {
|
|
4152
4115
|
var t = e, {
|
|
4153
|
-
locale: r =
|
|
4154
|
-
} = t, n =
|
|
4116
|
+
locale: r = ge()
|
|
4117
|
+
} = t, n = Ne(t, [
|
|
4155
4118
|
"locale"
|
|
4156
4119
|
]);
|
|
4157
|
-
return
|
|
4158
|
-
},
|
|
4120
|
+
return _o(Gt({ locale: r }, n));
|
|
4121
|
+
}, So = (e = {}) => {
|
|
4159
4122
|
var t = e, {
|
|
4160
|
-
locale: r =
|
|
4161
|
-
} = t, n =
|
|
4123
|
+
locale: r = ge()
|
|
4124
|
+
} = t, n = Ne(t, [
|
|
4162
4125
|
"locale"
|
|
4163
4126
|
]);
|
|
4164
|
-
return
|
|
4165
|
-
},
|
|
4127
|
+
return Eo(Gt({ locale: r }, n));
|
|
4128
|
+
}, Po = gt(
|
|
4166
4129
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4167
|
-
(e, t =
|
|
4168
|
-
ignoreTag:
|
|
4130
|
+
(e, t = ge()) => new Qi(e, t, Ce().formats, {
|
|
4131
|
+
ignoreTag: Ce().ignoreTag
|
|
4169
4132
|
})
|
|
4170
|
-
),
|
|
4133
|
+
), To = (e, t = {}) => {
|
|
4171
4134
|
var r, n, i, o;
|
|
4172
4135
|
let s = t;
|
|
4173
4136
|
typeof e == "object" && (s = e, e = s.id);
|
|
4174
4137
|
const {
|
|
4175
4138
|
values: a,
|
|
4176
|
-
locale:
|
|
4139
|
+
locale: c = ge(),
|
|
4177
4140
|
default: l
|
|
4178
4141
|
} = s;
|
|
4179
|
-
if (
|
|
4142
|
+
if (c == null)
|
|
4180
4143
|
throw new Error(
|
|
4181
4144
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4182
4145
|
);
|
|
4183
|
-
let
|
|
4184
|
-
if (!
|
|
4185
|
-
|
|
4186
|
-
else if (typeof
|
|
4146
|
+
let u = Zr(e, c);
|
|
4147
|
+
if (!u)
|
|
4148
|
+
u = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4149
|
+
else if (typeof u != "string")
|
|
4187
4150
|
return console.warn(
|
|
4188
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4189
|
-
),
|
|
4151
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4152
|
+
), u;
|
|
4190
4153
|
if (!a)
|
|
4191
|
-
return
|
|
4192
|
-
let f =
|
|
4154
|
+
return u;
|
|
4155
|
+
let f = u;
|
|
4193
4156
|
try {
|
|
4194
|
-
f =
|
|
4157
|
+
f = Po(u, c).format(a);
|
|
4195
4158
|
} catch (d) {
|
|
4196
4159
|
d instanceof Error && console.warn(
|
|
4197
4160
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4199,14 +4162,14 @@ const qe = (e, t) => {
|
|
|
4199
4162
|
);
|
|
4200
4163
|
}
|
|
4201
4164
|
return f;
|
|
4202
|
-
},
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
window.emWidgets = { topic:
|
|
4208
|
-
const
|
|
4209
|
-
if (typeof window
|
|
4165
|
+
}, Ho = (e, t) => So(t).format(e), Bo = (e, t) => xo(t).format(e), Ao = (e, t) => wo(t).format(e), Io = (e, t = ge()) => Zr(e, t), Co = Le([he, Me], () => To);
|
|
4166
|
+
Le([he], () => Ho);
|
|
4167
|
+
Le([he], () => Bo);
|
|
4168
|
+
Le([he], () => Ao);
|
|
4169
|
+
Le([he, Me], () => Io);
|
|
4170
|
+
window.emWidgets = { topic: jn };
|
|
4171
|
+
const Oo = (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));
|
|
4172
|
+
if (typeof window < "u") {
|
|
4210
4173
|
let e = function(t) {
|
|
4211
4174
|
return function(...r) {
|
|
4212
4175
|
try {
|
|
@@ -4218,22 +4181,22 @@ if (typeof window != "undefined") {
|
|
|
4218
4181
|
}
|
|
4219
4182
|
};
|
|
4220
4183
|
};
|
|
4221
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4184
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-COg-pr9r.js").then(({ default: t }) => {
|
|
4222
4185
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4223
4186
|
});
|
|
4224
4187
|
}
|
|
4225
|
-
function
|
|
4226
|
-
|
|
4227
|
-
r == null && (
|
|
4188
|
+
function Lo({ withLocale: e, translations: t }) {
|
|
4189
|
+
he.subscribe((r) => {
|
|
4190
|
+
r == null && (Me.set(t), he.set(e));
|
|
4228
4191
|
});
|
|
4229
4192
|
}
|
|
4230
|
-
function
|
|
4231
|
-
|
|
4193
|
+
function dr(e, t) {
|
|
4194
|
+
Jr(e, t);
|
|
4232
4195
|
}
|
|
4233
|
-
function
|
|
4234
|
-
|
|
4196
|
+
function Mo(e) {
|
|
4197
|
+
he.set(e);
|
|
4235
4198
|
}
|
|
4236
|
-
const
|
|
4199
|
+
const mr = {
|
|
4237
4200
|
en: {
|
|
4238
4201
|
loginTitle: "Welcome",
|
|
4239
4202
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4377,15 +4340,15 @@ const Er = {
|
|
|
4377
4340
|
loginForgotPassword: "I forgot my password",
|
|
4378
4341
|
successMessage: "Login successful"
|
|
4379
4342
|
}
|
|
4380
|
-
}, { document:
|
|
4381
|
-
function
|
|
4382
|
-
|
|
4343
|
+
}, { document: pr } = an;
|
|
4344
|
+
function No(e) {
|
|
4345
|
+
ln(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4383
4346
|
}
|
|
4384
|
-
function
|
|
4347
|
+
function gr(e) {
|
|
4385
4348
|
let t, r;
|
|
4386
4349
|
return {
|
|
4387
4350
|
c() {
|
|
4388
|
-
t = S("script"),
|
|
4351
|
+
t = S("script"), zt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4389
4352
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4390
4353
|
},
|
|
4391
4354
|
m(n, i) {
|
|
@@ -4393,7 +4356,7 @@ function xr(e) {
|
|
|
4393
4356
|
},
|
|
4394
4357
|
p(n, i) {
|
|
4395
4358
|
i[0] & /*captchakey*/
|
|
4396
|
-
2 && !
|
|
4359
|
+
2 && !zt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4397
4360
|
n[1]) && h(t, "src", r);
|
|
4398
4361
|
},
|
|
4399
4362
|
d(n) {
|
|
@@ -4401,12 +4364,12 @@ function xr(e) {
|
|
|
4401
4364
|
}
|
|
4402
4365
|
};
|
|
4403
4366
|
}
|
|
4404
|
-
function
|
|
4367
|
+
function Ro(e) {
|
|
4405
4368
|
let t, r, n;
|
|
4406
|
-
function i(a,
|
|
4369
|
+
function i(a, c) {
|
|
4407
4370
|
return (
|
|
4408
4371
|
/*startSmsValidation*/
|
|
4409
|
-
a[20] ?
|
|
4372
|
+
a[20] ? Do : Fo
|
|
4410
4373
|
);
|
|
4411
4374
|
}
|
|
4412
4375
|
let o = i(e), s = o(e);
|
|
@@ -4415,11 +4378,11 @@ function qo(e) {
|
|
|
4415
4378
|
t = S("div"), r = S("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
|
|
4416
4379
|
(e[10] ? "FormMobileContainer" : ""));
|
|
4417
4380
|
},
|
|
4418
|
-
m(a,
|
|
4419
|
-
L(a, t,
|
|
4381
|
+
m(a, c) {
|
|
4382
|
+
L(a, t, c), m(t, r), s.m(r, null);
|
|
4420
4383
|
},
|
|
4421
|
-
p(a,
|
|
4422
|
-
o === (o = i(a)) && s ? s.p(a,
|
|
4384
|
+
p(a, c) {
|
|
4385
|
+
o === (o = i(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(r, null))), c[0] & /*mobileView*/
|
|
4423
4386
|
1024 && n !== (n = "FormContainer " + /*mobileView*/
|
|
4424
4387
|
(a[10] ? "FormMobileContainer" : "")) && h(t, "class", n);
|
|
4425
4388
|
},
|
|
@@ -4428,7 +4391,7 @@ function qo(e) {
|
|
|
4428
4391
|
}
|
|
4429
4392
|
};
|
|
4430
4393
|
}
|
|
4431
|
-
function
|
|
4394
|
+
function Uo(e) {
|
|
4432
4395
|
let t;
|
|
4433
4396
|
return {
|
|
4434
4397
|
c() {
|
|
@@ -4443,193 +4406,193 @@ function Jo(e) {
|
|
|
4443
4406
|
}
|
|
4444
4407
|
};
|
|
4445
4408
|
}
|
|
4446
|
-
function
|
|
4409
|
+
function Fo(e) {
|
|
4447
4410
|
let t, r, n = (
|
|
4448
4411
|
/*$_*/
|
|
4449
4412
|
e[21]("loginTitle") + ""
|
|
4450
4413
|
), i, o, s, a = (
|
|
4451
4414
|
/*$_*/
|
|
4452
4415
|
e[21]("loginSubtitle") + ""
|
|
4453
|
-
),
|
|
4416
|
+
), c, l, u, f = (
|
|
4454
4417
|
/*$_*/
|
|
4455
4418
|
e[21]("loginSubtitleRegister") + ""
|
|
4456
4419
|
), d, b, v, g, x, M, q = (
|
|
4457
4420
|
/*$_*/
|
|
4458
4421
|
e[21]("loginUsername") + ""
|
|
4459
|
-
), H, R, G, J, B,
|
|
4422
|
+
), H, R, G, J, B, ie, re, ne, fe, A, W, be = (
|
|
4460
4423
|
/*$_*/
|
|
4461
4424
|
e[21]("loginPassword") + ""
|
|
4462
|
-
),
|
|
4425
|
+
), Re, Ue, oe, qe, C, ye, Fe, ve, _e, de, De, me, K, pe = (
|
|
4463
4426
|
/*$_*/
|
|
4464
4427
|
e[21]("loginButton") + ""
|
|
4465
|
-
),
|
|
4428
|
+
), ke, Je, ue, Ee = (
|
|
4466
4429
|
/*$_*/
|
|
4467
4430
|
e[21]("loginForgotPassword") + ""
|
|
4468
|
-
),
|
|
4431
|
+
), $e, Ge, Qe, U = (
|
|
4469
4432
|
/*invalidName*/
|
|
4470
|
-
e[13] &&
|
|
4433
|
+
e[13] && br(e)
|
|
4471
4434
|
);
|
|
4472
|
-
function
|
|
4435
|
+
function Ye(y, P) {
|
|
4473
4436
|
return (
|
|
4474
4437
|
/*isPasswordVisible*/
|
|
4475
|
-
y[18] ?
|
|
4438
|
+
y[18] ? $o : ko
|
|
4476
4439
|
);
|
|
4477
4440
|
}
|
|
4478
|
-
let
|
|
4441
|
+
let we = Ye(e), Q = we(e), F = (
|
|
4479
4442
|
/*invalidPassword*/
|
|
4480
4443
|
e[14] && /*simplepasswordvalidation*/
|
|
4481
|
-
e[2] !== "true" &&
|
|
4444
|
+
e[2] !== "true" && yr(e)
|
|
4482
4445
|
), D = (
|
|
4483
4446
|
/*invalidPassword*/
|
|
4484
4447
|
e[14] && /*simplepasswordvalidation*/
|
|
4485
|
-
e[2] === "true" &&
|
|
4448
|
+
e[2] === "true" && vr(e)
|
|
4486
4449
|
), k = (
|
|
4487
4450
|
/*errorMessage*/
|
|
4488
|
-
e[15] &&
|
|
4451
|
+
e[15] && _r(e)
|
|
4489
4452
|
);
|
|
4490
4453
|
return {
|
|
4491
4454
|
c() {
|
|
4492
|
-
t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"),
|
|
4493
|
-
e[5] ? "username email" : "off"), B.required = !0, h(x, "class",
|
|
4494
|
-
(e[13] ? "InvalidField" : "")), h(
|
|
4495
|
-
e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class",
|
|
4496
|
-
(e[14] ? "InvalidField" : "")), h(
|
|
4497
|
-
e[19], h(
|
|
4455
|
+
t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), c = N(a), l = z(), u = S("span"), d = N(f), b = z(), v = S("div"), g = S("form"), x = S("div"), M = S("label"), H = N(q), R = N(":"), G = S("span"), G.textContent = "*", J = z(), B = S("input"), re = z(), U && U.c(), fe = z(), A = S("div"), W = S("label"), Re = N(be), Ue = N(":"), oe = S("span"), oe.textContent = "*", qe = z(), C = S("input"), Fe = z(), Q.c(), ve = z(), F && F.c(), _e = z(), D && D.c(), De = z(), k && k.c(), me = z(), K = S("button"), ke = N(pe), Je = z(), ue = S("button"), $e = N(Ee), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(G, "class", "FormRequired"), h(M, "for", "username"), h(B, "type", "text"), h(B, "id", "email"), h(B, "name", "email"), h(B, "autocapitalize", "none"), h(B, "autocomplete", ie = /*savecredentials*/
|
|
4456
|
+
e[5] ? "username email" : "off"), B.required = !0, h(x, "class", ne = "UserContainer " + /*invalidName*/
|
|
4457
|
+
(e[13] ? "InvalidField" : "")), h(oe, "class", "FormRequired"), h(W, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete", ye = /*savecredentials*/
|
|
4458
|
+
e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class", de = "PasswordContainer " + /*invalidPassword*/
|
|
4459
|
+
(e[14] ? "InvalidField" : "")), h(K, "class", "SignInButton"), K.disabled = /*isFormDataInvalid*/
|
|
4460
|
+
e[19], h(K, "id", "signin-button"), h(ue, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(v, "class", "FormContent");
|
|
4498
4461
|
},
|
|
4499
4462
|
m(y, P) {
|
|
4500
|
-
L(y, t, P),
|
|
4463
|
+
L(y, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), L(y, b, P), L(y, v, P), m(v, g), m(g, x), m(x, M), m(M, H), m(M, R), m(M, G), m(x, J), m(x, B), rt(
|
|
4501
4464
|
B,
|
|
4502
4465
|
/*userValue*/
|
|
4503
4466
|
e[11]
|
|
4504
|
-
),
|
|
4467
|
+
), m(x, re), U && U.m(x, null), m(g, fe), m(g, A), m(A, W), m(W, Re), m(W, Ue), m(W, oe), m(A, qe), m(A, C), rt(
|
|
4505
4468
|
C,
|
|
4506
4469
|
/*userPassword*/
|
|
4507
4470
|
e[12]
|
|
4508
|
-
), e[35](C),
|
|
4509
|
-
|
|
4510
|
-
|
|
4471
|
+
), e[35](C), m(A, Fe), Q.m(A, null), m(A, ve), F && F.m(A, null), m(A, _e), D && D.m(A, null), m(g, De), k && k.m(g, null), m(g, me), m(g, K), m(K, ke), m(g, Je), m(g, ue), m(ue, $e), Ge || (Qe = [
|
|
4472
|
+
se(
|
|
4473
|
+
u,
|
|
4511
4474
|
"click",
|
|
4512
4475
|
/*click_handler*/
|
|
4513
4476
|
e[32]
|
|
4514
4477
|
),
|
|
4515
|
-
|
|
4478
|
+
se(
|
|
4516
4479
|
B,
|
|
4517
4480
|
"input",
|
|
4518
4481
|
/*input0_input_handler*/
|
|
4519
4482
|
e[33]
|
|
4520
4483
|
),
|
|
4521
|
-
|
|
4484
|
+
se(
|
|
4522
4485
|
B,
|
|
4523
4486
|
"input",
|
|
4524
4487
|
/*validateUserName*/
|
|
4525
4488
|
e[27]
|
|
4526
4489
|
),
|
|
4527
|
-
|
|
4490
|
+
se(
|
|
4528
4491
|
C,
|
|
4529
4492
|
"input",
|
|
4530
4493
|
/*input1_input_handler*/
|
|
4531
4494
|
e[34]
|
|
4532
4495
|
),
|
|
4533
|
-
|
|
4496
|
+
se(
|
|
4534
4497
|
C,
|
|
4535
4498
|
"input",
|
|
4536
4499
|
/*validatePassword*/
|
|
4537
4500
|
e[28]
|
|
4538
4501
|
),
|
|
4539
|
-
|
|
4540
|
-
|
|
4502
|
+
se(
|
|
4503
|
+
K,
|
|
4541
4504
|
"click",
|
|
4542
4505
|
/*click_handler_3*/
|
|
4543
4506
|
e[38]
|
|
4544
4507
|
),
|
|
4545
|
-
|
|
4546
|
-
|
|
4508
|
+
se(
|
|
4509
|
+
ue,
|
|
4547
4510
|
"click",
|
|
4548
4511
|
/*click_handler_4*/
|
|
4549
4512
|
e[39]
|
|
4550
4513
|
)
|
|
4551
|
-
],
|
|
4514
|
+
], Ge = !0);
|
|
4552
4515
|
},
|
|
4553
4516
|
p(y, P) {
|
|
4554
4517
|
P[0] & /*$_*/
|
|
4555
4518
|
2097152 && n !== (n = /*$_*/
|
|
4556
|
-
y[21]("loginTitle") + "") &&
|
|
4519
|
+
y[21]("loginTitle") + "") && te(i, n), P[0] & /*$_*/
|
|
4557
4520
|
2097152 && a !== (a = /*$_*/
|
|
4558
|
-
y[21]("loginSubtitle") + "") &&
|
|
4521
|
+
y[21]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
|
|
4559
4522
|
2097152 && f !== (f = /*$_*/
|
|
4560
|
-
y[21]("loginSubtitleRegister") + "") &&
|
|
4523
|
+
y[21]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
|
|
4561
4524
|
2097152 && q !== (q = /*$_*/
|
|
4562
|
-
y[21]("loginUsername") + "") &&
|
|
4563
|
-
32 &&
|
|
4564
|
-
y[5] ? "username email" : "off") && h(B, "autocomplete",
|
|
4525
|
+
y[21]("loginUsername") + "") && te(H, q), P[0] & /*savecredentials*/
|
|
4526
|
+
32 && ie !== (ie = /*savecredentials*/
|
|
4527
|
+
y[5] ? "username email" : "off") && h(B, "autocomplete", ie), P[0] & /*userValue*/
|
|
4565
4528
|
2048 && B.value !== /*userValue*/
|
|
4566
4529
|
y[11] && rt(
|
|
4567
4530
|
B,
|
|
4568
4531
|
/*userValue*/
|
|
4569
4532
|
y[11]
|
|
4570
4533
|
), /*invalidName*/
|
|
4571
|
-
y[13] ? U ? U.p(y, P) : (U =
|
|
4572
|
-
8192 &&
|
|
4573
|
-
(y[13] ? "InvalidField" : "")) && h(x, "class",
|
|
4574
|
-
2097152 &&
|
|
4575
|
-
y[21]("loginPassword") + "") &&
|
|
4576
|
-
32 &&
|
|
4577
|
-
y[5] ? "current-password" : "off") && h(C, "autocomplete",
|
|
4534
|
+
y[13] ? U ? U.p(y, P) : (U = br(y), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
|
|
4535
|
+
8192 && ne !== (ne = "UserContainer " + /*invalidName*/
|
|
4536
|
+
(y[13] ? "InvalidField" : "")) && h(x, "class", ne), P[0] & /*$_*/
|
|
4537
|
+
2097152 && be !== (be = /*$_*/
|
|
4538
|
+
y[21]("loginPassword") + "") && te(Re, be), P[0] & /*savecredentials*/
|
|
4539
|
+
32 && ye !== (ye = /*savecredentials*/
|
|
4540
|
+
y[5] ? "current-password" : "off") && h(C, "autocomplete", ye), P[0] & /*userPassword*/
|
|
4578
4541
|
4096 && C.value !== /*userPassword*/
|
|
4579
4542
|
y[12] && rt(
|
|
4580
4543
|
C,
|
|
4581
4544
|
/*userPassword*/
|
|
4582
4545
|
y[12]
|
|
4583
|
-
),
|
|
4546
|
+
), we === (we = Ye(y)) && Q ? Q.p(y, P) : (Q.d(1), Q = we(y), Q && (Q.c(), Q.m(A, ve))), /*invalidPassword*/
|
|
4584
4547
|
y[14] && /*simplepasswordvalidation*/
|
|
4585
|
-
y[2] !== "true" ? F ? F.p(y, P) : (F =
|
|
4548
|
+
y[2] !== "true" ? F ? F.p(y, P) : (F = yr(y), F.c(), F.m(A, _e)) : F && (F.d(1), F = null), /*invalidPassword*/
|
|
4586
4549
|
y[14] && /*simplepasswordvalidation*/
|
|
4587
|
-
y[2] === "true" ? D ? D.p(y, P) : (D =
|
|
4588
|
-
16384 &&
|
|
4589
|
-
(y[14] ? "InvalidField" : "")) && h(A, "class",
|
|
4590
|
-
y[15] ? k ? k.p(y, P) : (k =
|
|
4591
|
-
2097152 &&
|
|
4592
|
-
y[21]("loginButton") + "") &&
|
|
4593
|
-
524288 && (
|
|
4550
|
+
y[2] === "true" ? D ? D.p(y, P) : (D = vr(y), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
|
|
4551
|
+
16384 && de !== (de = "PasswordContainer " + /*invalidPassword*/
|
|
4552
|
+
(y[14] ? "InvalidField" : "")) && h(A, "class", de), /*errorMessage*/
|
|
4553
|
+
y[15] ? k ? k.p(y, P) : (k = _r(y), k.c(), k.m(g, me)) : k && (k.d(1), k = null), P[0] & /*$_*/
|
|
4554
|
+
2097152 && pe !== (pe = /*$_*/
|
|
4555
|
+
y[21]("loginButton") + "") && te(ke, pe), P[0] & /*isFormDataInvalid*/
|
|
4556
|
+
524288 && (K.disabled = /*isFormDataInvalid*/
|
|
4594
4557
|
y[19]), P[0] & /*$_*/
|
|
4595
|
-
2097152 &&
|
|
4596
|
-
y[21]("loginForgotPassword") + "") &&
|
|
4558
|
+
2097152 && Ee !== (Ee = /*$_*/
|
|
4559
|
+
y[21]("loginForgotPassword") + "") && te($e, Ee);
|
|
4597
4560
|
},
|
|
4598
4561
|
d(y) {
|
|
4599
|
-
y && (I(t), I(b), I(v)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(),
|
|
4562
|
+
y && (I(t), I(b), I(v)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(), Ge = !1, Oe(Qe);
|
|
4600
4563
|
}
|
|
4601
4564
|
};
|
|
4602
4565
|
}
|
|
4603
|
-
function
|
|
4566
|
+
function Do(e) {
|
|
4604
4567
|
let t;
|
|
4605
4568
|
return {
|
|
4606
4569
|
c() {
|
|
4607
|
-
t = S("general-player-sms-verification-form"),
|
|
4570
|
+
t = S("general-player-sms-verification-form"), Y(
|
|
4608
4571
|
t,
|
|
4609
4572
|
"endpoint",
|
|
4610
4573
|
/*endpoint*/
|
|
4611
4574
|
e[0]
|
|
4612
|
-
),
|
|
4575
|
+
), Y(
|
|
4613
4576
|
t,
|
|
4614
4577
|
"number",
|
|
4615
4578
|
/*number*/
|
|
4616
4579
|
e[9]
|
|
4617
|
-
),
|
|
4580
|
+
), Y(
|
|
4618
4581
|
t,
|
|
4619
4582
|
"clientstyling",
|
|
4620
4583
|
/*clientstyling*/
|
|
4621
4584
|
e[3]
|
|
4622
|
-
),
|
|
4585
|
+
), Y(
|
|
4623
4586
|
t,
|
|
4624
4587
|
"clientstylingurl",
|
|
4625
4588
|
/*clientstylingurl*/
|
|
4626
4589
|
e[4]
|
|
4627
|
-
),
|
|
4590
|
+
), Y(
|
|
4628
4591
|
t,
|
|
4629
4592
|
"playerid",
|
|
4630
4593
|
/*playerId*/
|
|
4631
4594
|
e[7]
|
|
4632
|
-
),
|
|
4595
|
+
), Y(
|
|
4633
4596
|
t,
|
|
4634
4597
|
"tokenid",
|
|
4635
4598
|
/*smsTokenId*/
|
|
@@ -4641,37 +4604,37 @@ function Yo(e) {
|
|
|
4641
4604
|
},
|
|
4642
4605
|
p(r, n) {
|
|
4643
4606
|
n[0] & /*endpoint*/
|
|
4644
|
-
1 &&
|
|
4607
|
+
1 && Y(
|
|
4645
4608
|
t,
|
|
4646
4609
|
"endpoint",
|
|
4647
4610
|
/*endpoint*/
|
|
4648
4611
|
r[0]
|
|
4649
4612
|
), n[0] & /*number*/
|
|
4650
|
-
512 &&
|
|
4613
|
+
512 && Y(
|
|
4651
4614
|
t,
|
|
4652
4615
|
"number",
|
|
4653
4616
|
/*number*/
|
|
4654
4617
|
r[9]
|
|
4655
4618
|
), n[0] & /*clientstyling*/
|
|
4656
|
-
8 &&
|
|
4619
|
+
8 && Y(
|
|
4657
4620
|
t,
|
|
4658
4621
|
"clientstyling",
|
|
4659
4622
|
/*clientstyling*/
|
|
4660
4623
|
r[3]
|
|
4661
4624
|
), n[0] & /*clientstylingurl*/
|
|
4662
|
-
16 &&
|
|
4625
|
+
16 && Y(
|
|
4663
4626
|
t,
|
|
4664
4627
|
"clientstylingurl",
|
|
4665
4628
|
/*clientstylingurl*/
|
|
4666
4629
|
r[4]
|
|
4667
4630
|
), n[0] & /*playerId*/
|
|
4668
|
-
128 &&
|
|
4631
|
+
128 && Y(
|
|
4669
4632
|
t,
|
|
4670
4633
|
"playerid",
|
|
4671
4634
|
/*playerId*/
|
|
4672
4635
|
r[7]
|
|
4673
4636
|
), n[0] & /*smsTokenId*/
|
|
4674
|
-
256 &&
|
|
4637
|
+
256 && Y(
|
|
4675
4638
|
t,
|
|
4676
4639
|
"tokenid",
|
|
4677
4640
|
/*smsTokenId*/
|
|
@@ -4683,7 +4646,7 @@ function Yo(e) {
|
|
|
4683
4646
|
}
|
|
4684
4647
|
};
|
|
4685
4648
|
}
|
|
4686
|
-
function
|
|
4649
|
+
function br(e) {
|
|
4687
4650
|
let t, r = (
|
|
4688
4651
|
/*$_*/
|
|
4689
4652
|
e[21]("loginUsernameError") + ""
|
|
@@ -4693,46 +4656,46 @@ function Sr(e) {
|
|
|
4693
4656
|
t = S("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4694
4657
|
},
|
|
4695
4658
|
m(i, o) {
|
|
4696
|
-
L(i, t, o),
|
|
4659
|
+
L(i, t, o), m(t, n);
|
|
4697
4660
|
},
|
|
4698
4661
|
p(i, o) {
|
|
4699
4662
|
o[0] & /*$_*/
|
|
4700
4663
|
2097152 && r !== (r = /*$_*/
|
|
4701
|
-
i[21]("loginUsernameError") + "") &&
|
|
4664
|
+
i[21]("loginUsernameError") + "") && te(n, r);
|
|
4702
4665
|
},
|
|
4703
4666
|
d(i) {
|
|
4704
4667
|
i && I(t);
|
|
4705
4668
|
}
|
|
4706
4669
|
};
|
|
4707
4670
|
}
|
|
4708
|
-
function
|
|
4709
|
-
let t, r, n, i, o, s, a,
|
|
4671
|
+
function ko(e) {
|
|
4672
|
+
let t, r, n, i, o, s, a, c, l;
|
|
4710
4673
|
return {
|
|
4711
4674
|
c() {
|
|
4712
4675
|
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("path"), a = O("circle"), h(s, "class", "a"), h(s, "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"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
|
|
4713
4676
|
},
|
|
4714
|
-
m(
|
|
4715
|
-
L(
|
|
4677
|
+
m(u, f) {
|
|
4678
|
+
L(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l = se(
|
|
4716
4679
|
t,
|
|
4717
4680
|
"click",
|
|
4718
4681
|
/*click_handler_2*/
|
|
4719
4682
|
e[37]
|
|
4720
|
-
),
|
|
4683
|
+
), c = !0);
|
|
4721
4684
|
},
|
|
4722
4685
|
p: Z,
|
|
4723
|
-
d(
|
|
4724
|
-
|
|
4686
|
+
d(u) {
|
|
4687
|
+
u && I(t), c = !1, l();
|
|
4725
4688
|
}
|
|
4726
4689
|
};
|
|
4727
4690
|
}
|
|
4728
|
-
function
|
|
4729
|
-
let t, r, n, i, o, s, a,
|
|
4691
|
+
function $o(e) {
|
|
4692
|
+
let t, r, n, i, o, s, a, c, l, u, f, d, b, v, g;
|
|
4730
4693
|
return {
|
|
4731
4694
|
c() {
|
|
4732
|
-
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"),
|
|
4695
|
+
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), c = O("path"), l = O("path"), u = O("g"), f = O("path"), d = O("path"), b = O("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "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"), h(d, "transform", "translate(-130.743 -29.617)"), h(u, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
|
|
4733
4696
|
},
|
|
4734
4697
|
m(x, M) {
|
|
4735
|
-
L(x, t, M),
|
|
4698
|
+
L(x, t, M), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b), v || (g = se(
|
|
4736
4699
|
t,
|
|
4737
4700
|
"click",
|
|
4738
4701
|
/*click_handler_1*/
|
|
@@ -4745,7 +4708,7 @@ function es(e) {
|
|
|
4745
4708
|
}
|
|
4746
4709
|
};
|
|
4747
4710
|
}
|
|
4748
|
-
function
|
|
4711
|
+
function yr(e) {
|
|
4749
4712
|
let t, r = (
|
|
4750
4713
|
/*$_*/
|
|
4751
4714
|
e[21]("loginPasswordError") + ""
|
|
@@ -4755,19 +4718,19 @@ function Pr(e) {
|
|
|
4755
4718
|
t = S("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4756
4719
|
},
|
|
4757
4720
|
m(i, o) {
|
|
4758
|
-
L(i, t, o),
|
|
4721
|
+
L(i, t, o), m(t, n);
|
|
4759
4722
|
},
|
|
4760
4723
|
p(i, o) {
|
|
4761
4724
|
o[0] & /*$_*/
|
|
4762
4725
|
2097152 && r !== (r = /*$_*/
|
|
4763
|
-
i[21]("loginPasswordError") + "") &&
|
|
4726
|
+
i[21]("loginPasswordError") + "") && te(n, r);
|
|
4764
4727
|
},
|
|
4765
4728
|
d(i) {
|
|
4766
4729
|
i && I(t);
|
|
4767
4730
|
}
|
|
4768
4731
|
};
|
|
4769
4732
|
}
|
|
4770
|
-
function
|
|
4733
|
+
function vr(e) {
|
|
4771
4734
|
let t, r = (
|
|
4772
4735
|
/*$_*/
|
|
4773
4736
|
e[21]("loginSimplePasswordError") + ""
|
|
@@ -4777,19 +4740,19 @@ function Tr(e) {
|
|
|
4777
4740
|
t = S("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4778
4741
|
},
|
|
4779
4742
|
m(i, o) {
|
|
4780
|
-
L(i, t, o),
|
|
4743
|
+
L(i, t, o), m(t, n);
|
|
4781
4744
|
},
|
|
4782
4745
|
p(i, o) {
|
|
4783
4746
|
o[0] & /*$_*/
|
|
4784
4747
|
2097152 && r !== (r = /*$_*/
|
|
4785
|
-
i[21]("loginSimplePasswordError") + "") &&
|
|
4748
|
+
i[21]("loginSimplePasswordError") + "") && te(n, r);
|
|
4786
4749
|
},
|
|
4787
4750
|
d(i) {
|
|
4788
4751
|
i && I(t);
|
|
4789
4752
|
}
|
|
4790
4753
|
};
|
|
4791
4754
|
}
|
|
4792
|
-
function
|
|
4755
|
+
function _r(e) {
|
|
4793
4756
|
let t, r;
|
|
4794
4757
|
return {
|
|
4795
4758
|
c() {
|
|
@@ -4799,11 +4762,11 @@ function Hr(e) {
|
|
|
4799
4762
|
), h(t, "class", "ErrorMessage");
|
|
4800
4763
|
},
|
|
4801
4764
|
m(n, i) {
|
|
4802
|
-
L(n, t, i),
|
|
4765
|
+
L(n, t, i), m(t, r);
|
|
4803
4766
|
},
|
|
4804
4767
|
p(n, i) {
|
|
4805
4768
|
i[0] & /*errorMessage*/
|
|
4806
|
-
32768 &&
|
|
4769
|
+
32768 && te(
|
|
4807
4770
|
r,
|
|
4808
4771
|
/*errorMessage*/
|
|
4809
4772
|
n[15]
|
|
@@ -4814,126 +4777,126 @@ function Hr(e) {
|
|
|
4814
4777
|
}
|
|
4815
4778
|
};
|
|
4816
4779
|
}
|
|
4817
|
-
function
|
|
4780
|
+
function Go(e) {
|
|
4818
4781
|
let t, r, n, i, o, s = (
|
|
4819
4782
|
/*captchakey*/
|
|
4820
|
-
e[1] &&
|
|
4783
|
+
e[1] && gr(e)
|
|
4821
4784
|
);
|
|
4822
|
-
function a(
|
|
4785
|
+
function a(u, f) {
|
|
4823
4786
|
return (
|
|
4824
4787
|
/*isLoading*/
|
|
4825
|
-
|
|
4788
|
+
u[16] ? Uo : Ro
|
|
4826
4789
|
);
|
|
4827
4790
|
}
|
|
4828
|
-
let
|
|
4791
|
+
let c = a(e), l = c(e);
|
|
4829
4792
|
return {
|
|
4830
4793
|
c() {
|
|
4831
|
-
s && s.c(), t =
|
|
4794
|
+
s && s.c(), t = hn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4832
4795
|
n,
|
|
4833
4796
|
"data-sitekey",
|
|
4834
4797
|
/*captchakey*/
|
|
4835
4798
|
e[1]
|
|
4836
4799
|
), h(o, "class", "PlayerLoginFormWrapper");
|
|
4837
4800
|
},
|
|
4838
|
-
m(
|
|
4839
|
-
s && s.m(
|
|
4801
|
+
m(u, f) {
|
|
4802
|
+
s && s.m(pr.head, null), m(pr.head, t), L(u, r, f), L(u, n, f), L(u, i, f), L(u, o, f), l.m(o, null), e[40](o);
|
|
4840
4803
|
},
|
|
4841
|
-
p(
|
|
4804
|
+
p(u, f) {
|
|
4842
4805
|
/*captchakey*/
|
|
4843
|
-
|
|
4806
|
+
u[1] ? s ? s.p(u, f) : (s = gr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4844
4807
|
2 && h(
|
|
4845
4808
|
n,
|
|
4846
4809
|
"data-sitekey",
|
|
4847
4810
|
/*captchakey*/
|
|
4848
|
-
|
|
4849
|
-
),
|
|
4811
|
+
u[1]
|
|
4812
|
+
), c === (c = a(u)) && l ? l.p(u, f) : (l.d(1), l = c(u), l && (l.c(), l.m(o, null)));
|
|
4850
4813
|
},
|
|
4851
4814
|
i: Z,
|
|
4852
4815
|
o: Z,
|
|
4853
|
-
d(
|
|
4854
|
-
|
|
4816
|
+
d(u) {
|
|
4817
|
+
u && (I(r), I(n), I(i), I(o)), s && s.d(u), I(t), l.d(), e[40](null);
|
|
4855
4818
|
}
|
|
4856
4819
|
};
|
|
4857
4820
|
}
|
|
4858
|
-
let
|
|
4859
|
-
function
|
|
4821
|
+
let jo = "Please use this code {0} to activate your account";
|
|
4822
|
+
function Vo(e, t, r) {
|
|
4860
4823
|
let n;
|
|
4861
|
-
|
|
4862
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation:
|
|
4824
|
+
sn(e, Co, (p) => r(21, n = p));
|
|
4825
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, v, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, ie = "", re = !1, ne, fe = !1, A = !0, W, be = +localStorage.getItem("smsTimer") || 0, Re = Date.now() / 1e3 - be, Ue = localStorage.getItem("smsValidation") == "true" && Re < 60, oe = {
|
|
4863
4826
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4864
4827
|
email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
|
|
4865
4828
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4866
4829
|
};
|
|
4867
|
-
|
|
4868
|
-
const
|
|
4830
|
+
Lo({ withLocale: "en", translations: {} });
|
|
4831
|
+
const qe = () => {
|
|
4869
4832
|
fetch(f).then(($) => $.json()).then(($) => {
|
|
4870
4833
|
Object.keys($).forEach((j) => {
|
|
4871
|
-
|
|
4834
|
+
dr(j, $[j]);
|
|
4872
4835
|
});
|
|
4873
4836
|
}).catch(($) => {
|
|
4874
4837
|
console.log($);
|
|
4875
4838
|
});
|
|
4876
4839
|
};
|
|
4877
|
-
Object.keys(
|
|
4878
|
-
|
|
4840
|
+
Object.keys(mr).forEach((p) => {
|
|
4841
|
+
dr(p, mr[p]);
|
|
4879
4842
|
});
|
|
4880
|
-
const C = () => new Promise((
|
|
4843
|
+
const C = () => new Promise((p, $) => {
|
|
4881
4844
|
grecaptcha.ready(() => {
|
|
4882
4845
|
grecaptcha.execute(o, { action: "submit" }).then((j) => {
|
|
4883
|
-
|
|
4846
|
+
p(j);
|
|
4884
4847
|
});
|
|
4885
4848
|
});
|
|
4886
|
-
}),
|
|
4887
|
-
|
|
4888
|
-
},
|
|
4889
|
-
r(18,
|
|
4849
|
+
}), ye = () => {
|
|
4850
|
+
c == "true" && (oe.password = /^(?!.* ).{8,20}$/);
|
|
4851
|
+
}, Fe = () => {
|
|
4852
|
+
r(18, fe = !0), _e();
|
|
4853
|
+
}, ve = () => {
|
|
4854
|
+
r(18, fe = !1), _e();
|
|
4890
4855
|
}, _e = () => {
|
|
4891
|
-
r(
|
|
4892
|
-
},
|
|
4893
|
-
r(17, ie.type = de ? "text" : "password", ie);
|
|
4894
|
-
}, me = () => {
|
|
4856
|
+
r(17, ne.type = fe ? "text" : "password", ne);
|
|
4857
|
+
}, de = () => {
|
|
4895
4858
|
window.postMessage({ type: "ToRegister" }, window.location.href);
|
|
4896
|
-
},
|
|
4897
|
-
|
|
4898
|
-
},
|
|
4899
|
-
|
|
4900
|
-
|
|
4859
|
+
}, De = (p) => {
|
|
4860
|
+
p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
4861
|
+
}, me = (p) => {
|
|
4862
|
+
p?.preventDefault(), C().then(($) => {
|
|
4863
|
+
K(H) && pe(R) && (G = {
|
|
4901
4864
|
username: H,
|
|
4902
4865
|
password: R,
|
|
4903
4866
|
token: $
|
|
4904
|
-
}, r(16,
|
|
4867
|
+
}, r(16, re = !0), $e(G));
|
|
4905
4868
|
});
|
|
4906
|
-
},
|
|
4907
|
-
r(13, J = !
|
|
4908
|
-
},
|
|
4909
|
-
r(14, B = !
|
|
4910
|
-
},
|
|
4911
|
-
if (
|
|
4912
|
-
switch (
|
|
4869
|
+
}, K = (p) => !!((oe.user.test(p) || oe.email.test(p)) && p.length <= 100), pe = (p) => !!oe.password.test(p), ke = () => {
|
|
4870
|
+
r(13, J = !K(H)), r(19, A = !(!J && !B && R));
|
|
4871
|
+
}, Je = () => {
|
|
4872
|
+
r(14, B = !pe(R)), r(19, A = !(!J && !B && H));
|
|
4873
|
+
}, ue = (p) => {
|
|
4874
|
+
if (p.data)
|
|
4875
|
+
switch (p.data.type) {
|
|
4913
4876
|
case "ModalLoader":
|
|
4914
|
-
r(16,
|
|
4877
|
+
r(16, re = !1);
|
|
4915
4878
|
break;
|
|
4916
4879
|
case "UserSessionID":
|
|
4917
|
-
r(16,
|
|
4880
|
+
r(16, re = !1);
|
|
4918
4881
|
break;
|
|
4919
4882
|
case "SmsHasBeenValidated":
|
|
4920
|
-
|
|
4883
|
+
me();
|
|
4921
4884
|
break;
|
|
4922
4885
|
}
|
|
4923
|
-
},
|
|
4886
|
+
}, Ee = (p) => {
|
|
4924
4887
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
4925
4888
|
context: "GeneralPlayerLoginRegisterPage"
|
|
4926
4889
|
});
|
|
4927
|
-
},
|
|
4928
|
-
let
|
|
4890
|
+
}, $e = async ({ username: p, password: $, token: j }) => {
|
|
4891
|
+
let Ke = {
|
|
4929
4892
|
"Content-Type": "application/json",
|
|
4930
4893
|
"g-recaptcha-response": j
|
|
4931
|
-
},
|
|
4894
|
+
}, et = { username: p, password: $ }, nn = {
|
|
4932
4895
|
method: "POST",
|
|
4933
|
-
headers:
|
|
4934
|
-
body: JSON.stringify(
|
|
4896
|
+
headers: Ke,
|
|
4897
|
+
body: JSON.stringify(et)
|
|
4935
4898
|
};
|
|
4936
|
-
fetch(`${i}/v1/player/login/player`,
|
|
4899
|
+
fetch(`${i}/v1/player/login/player`, nn).then((V) => (V.status >= 500 && (r(15, ie = "Server might not be responsing"), r(16, re = !1), window.postMessage(
|
|
4937
4900
|
{
|
|
4938
4901
|
type: "WidgetNotification",
|
|
4939
4902
|
data: {
|
|
@@ -4943,7 +4906,7 @@ function ns(e, t, r) {
|
|
|
4943
4906
|
},
|
|
4944
4907
|
window.location.href
|
|
4945
4908
|
)), V.json())).then((V) => {
|
|
4946
|
-
if (V.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && V.code === 4 && (r(7, b = V.detail.userId), r(9, x = V.detail.phonePrefix + V.detail.phone), r(20,
|
|
4909
|
+
if (V.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && V.code === 4 && (r(7, b = V.detail.userId), r(9, x = V.detail.phonePrefix + V.detail.phone), r(20, Ue = !0), Ge(x, b), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: b, number: x }))), V.sessionID) {
|
|
4947
4910
|
if (window.postMessage(
|
|
4948
4911
|
{
|
|
4949
4912
|
type: "UserSessionID",
|
|
@@ -4961,38 +4924,38 @@ function ns(e, t, r) {
|
|
|
4961
4924
|
},
|
|
4962
4925
|
window.location.href
|
|
4963
4926
|
), window.PasswordCredential && d == "true") {
|
|
4964
|
-
const
|
|
4965
|
-
password:
|
|
4966
|
-
id:
|
|
4927
|
+
const je = new PasswordCredential({
|
|
4928
|
+
password: et.password,
|
|
4929
|
+
id: et.username
|
|
4967
4930
|
});
|
|
4968
|
-
navigator.credentials.store(
|
|
4931
|
+
navigator.credentials.store(je);
|
|
4969
4932
|
}
|
|
4970
|
-
|
|
4933
|
+
Ee();
|
|
4971
4934
|
} else
|
|
4972
4935
|
try {
|
|
4973
|
-
let
|
|
4974
|
-
r(15,
|
|
4936
|
+
let je = V.error;
|
|
4937
|
+
r(15, ie = je), r(16, re = !1), window.postMessage(
|
|
4975
4938
|
{
|
|
4976
4939
|
type: "WidgetNotification",
|
|
4977
|
-
data: { type: "error", message:
|
|
4940
|
+
data: { type: "error", message: je }
|
|
4978
4941
|
},
|
|
4979
4942
|
window.location.href
|
|
4980
4943
|
);
|
|
4981
|
-
} catch
|
|
4982
|
-
let
|
|
4983
|
-
r(15,
|
|
4944
|
+
} catch {
|
|
4945
|
+
let jt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
|
|
4946
|
+
r(15, ie = jt), r(16, re = !1), window.postMessage(
|
|
4984
4947
|
{
|
|
4985
4948
|
type: "WidgetNotification",
|
|
4986
|
-
data: { type: "error", message:
|
|
4949
|
+
data: { type: "error", message: jt }
|
|
4987
4950
|
},
|
|
4988
4951
|
window.location.href
|
|
4989
4952
|
);
|
|
4990
4953
|
}
|
|
4991
4954
|
});
|
|
4992
|
-
}
|
|
4955
|
+
}, Ge = async (p, $) => {
|
|
4993
4956
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
4994
4957
|
try {
|
|
4995
|
-
const j =
|
|
4958
|
+
const j = await fetch(`${i}/v1/player/sms/token`, {
|
|
4996
4959
|
method: "POST",
|
|
4997
4960
|
headers: {
|
|
4998
4961
|
"Content-Type": "application/json",
|
|
@@ -5000,27 +4963,27 @@ function ns(e, t, r) {
|
|
|
5000
4963
|
},
|
|
5001
4964
|
body: JSON.stringify({
|
|
5002
4965
|
userId: $,
|
|
5003
|
-
messageTemplate:
|
|
5004
|
-
destination:
|
|
4966
|
+
messageTemplate: jo,
|
|
4967
|
+
destination: p
|
|
5005
4968
|
})
|
|
5006
|
-
}),
|
|
4969
|
+
}), Ke = await j.json();
|
|
5007
4970
|
if (j.ok) {
|
|
5008
|
-
r(8, v =
|
|
5009
|
-
let
|
|
4971
|
+
r(8, v = Ke.id);
|
|
4972
|
+
let et = Ke.maxValidationAttempts;
|
|
5010
4973
|
g = !1;
|
|
5011
4974
|
} else
|
|
5012
4975
|
throw g = !0, new Error("Failed to fetch");
|
|
5013
4976
|
} catch (j) {
|
|
5014
4977
|
g = !0, console.error(j);
|
|
5015
4978
|
}
|
|
5016
|
-
}
|
|
5017
|
-
|
|
4979
|
+
}, Qe = () => {
|
|
4980
|
+
Mo(s);
|
|
5018
4981
|
}, U = () => {
|
|
5019
|
-
let
|
|
5020
|
-
|
|
5021
|
-
},
|
|
5022
|
-
let
|
|
5023
|
-
fetch(
|
|
4982
|
+
let p = document.createElement("style");
|
|
4983
|
+
p.innerHTML = l, W.appendChild(p);
|
|
4984
|
+
}, Ye = () => {
|
|
4985
|
+
let p = new URL(u), $ = document.createElement("style");
|
|
4986
|
+
fetch(p.href).then((j) => j.text()).then((j) => {
|
|
5024
4987
|
$.innerHTML = j, setTimeout(
|
|
5025
4988
|
() => {
|
|
5026
4989
|
W.appendChild($);
|
|
@@ -5033,42 +4996,42 @@ function ns(e, t, r) {
|
|
|
5033
4996
|
);
|
|
5034
4997
|
});
|
|
5035
4998
|
};
|
|
5036
|
-
|
|
5037
|
-
window.removeEventListener("message",
|
|
4999
|
+
pn(() => (window.addEventListener("message", ue, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Oo(q)), () => {
|
|
5000
|
+
window.removeEventListener("message", ue);
|
|
5038
5001
|
}));
|
|
5039
|
-
const
|
|
5002
|
+
const we = () => de();
|
|
5040
5003
|
function Q() {
|
|
5041
5004
|
H = this.value, r(11, H);
|
|
5042
5005
|
}
|
|
5043
5006
|
function F() {
|
|
5044
5007
|
R = this.value, r(12, R);
|
|
5045
5008
|
}
|
|
5046
|
-
function D(
|
|
5047
|
-
ut[
|
|
5048
|
-
|
|
5009
|
+
function D(p) {
|
|
5010
|
+
ut[p ? "unshift" : "push"](() => {
|
|
5011
|
+
ne = p, r(17, ne);
|
|
5049
5012
|
});
|
|
5050
5013
|
}
|
|
5051
|
-
const k = () =>
|
|
5052
|
-
function
|
|
5053
|
-
ut[
|
|
5054
|
-
W =
|
|
5014
|
+
const k = () => ve(), y = () => Fe(), P = (p) => me(p), tn = (p) => De(p);
|
|
5015
|
+
function rn(p) {
|
|
5016
|
+
ut[p ? "unshift" : "push"](() => {
|
|
5017
|
+
W = p, r(6, W);
|
|
5055
5018
|
});
|
|
5056
5019
|
}
|
|
5057
|
-
return e.$$set = (
|
|
5058
|
-
"endpoint" in
|
|
5020
|
+
return e.$$set = (p) => {
|
|
5021
|
+
"endpoint" in p && r(0, i = p.endpoint), "captchakey" in p && r(1, o = p.captchakey), "lang" in p && r(29, s = p.lang), "smsverification" in p && r(30, a = p.smsverification), "simplepasswordvalidation" in p && r(2, c = p.simplepasswordvalidation), "clientstyling" in p && r(3, l = p.clientstyling), "clientstylingurl" in p && r(4, u = p.clientstylingurl), "translationurl" in p && r(31, f = p.translationurl), "savecredentials" in p && r(5, d = p.savecredentials);
|
|
5059
5022
|
}, e.$$.update = () => {
|
|
5060
5023
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5061
|
-
536870913 && i && s &&
|
|
5062
|
-
4 &&
|
|
5024
|
+
536870913 && i && s && Qe(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5025
|
+
4 && c && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5063
5026
|
72 && l && W && U(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5064
|
-
80 &&
|
|
5065
|
-
1 && f &&
|
|
5027
|
+
80 && u && W && Ye(), e.$$.dirty[1] & /*translationurl*/
|
|
5028
|
+
1 && f && qe();
|
|
5066
5029
|
}, [
|
|
5067
5030
|
i,
|
|
5068
5031
|
o,
|
|
5069
|
-
u,
|
|
5070
|
-
l,
|
|
5071
5032
|
c,
|
|
5033
|
+
l,
|
|
5034
|
+
u,
|
|
5072
5035
|
d,
|
|
5073
5036
|
W,
|
|
5074
5037
|
b,
|
|
@@ -5079,42 +5042,42 @@ function ns(e, t, r) {
|
|
|
5079
5042
|
R,
|
|
5080
5043
|
J,
|
|
5081
5044
|
B,
|
|
5082
|
-
oe,
|
|
5083
|
-
ne,
|
|
5084
5045
|
ie,
|
|
5085
|
-
|
|
5046
|
+
re,
|
|
5047
|
+
ne,
|
|
5048
|
+
fe,
|
|
5086
5049
|
A,
|
|
5087
|
-
|
|
5050
|
+
Ue,
|
|
5088
5051
|
n,
|
|
5052
|
+
Fe,
|
|
5053
|
+
ve,
|
|
5054
|
+
de,
|
|
5089
5055
|
De,
|
|
5090
|
-
_e,
|
|
5091
5056
|
me,
|
|
5092
5057
|
ke,
|
|
5093
|
-
|
|
5094
|
-
$e,
|
|
5095
|
-
Qe,
|
|
5058
|
+
Je,
|
|
5096
5059
|
s,
|
|
5097
5060
|
a,
|
|
5098
5061
|
f,
|
|
5099
|
-
|
|
5062
|
+
we,
|
|
5100
5063
|
Q,
|
|
5101
5064
|
F,
|
|
5102
5065
|
D,
|
|
5103
5066
|
k,
|
|
5104
5067
|
y,
|
|
5105
5068
|
P,
|
|
5106
|
-
|
|
5107
|
-
|
|
5069
|
+
tn,
|
|
5070
|
+
rn
|
|
5108
5071
|
];
|
|
5109
5072
|
}
|
|
5110
|
-
class
|
|
5073
|
+
class zo extends Hn {
|
|
5111
5074
|
constructor(t) {
|
|
5112
|
-
super(),
|
|
5075
|
+
super(), Pn(
|
|
5113
5076
|
this,
|
|
5114
5077
|
t,
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5078
|
+
Vo,
|
|
5079
|
+
Go,
|
|
5080
|
+
wr,
|
|
5118
5081
|
{
|
|
5119
5082
|
endpoint: 0,
|
|
5120
5083
|
captchakey: 1,
|
|
@@ -5126,7 +5089,7 @@ class un extends kn {
|
|
|
5126
5089
|
translationurl: 31,
|
|
5127
5090
|
savecredentials: 5
|
|
5128
5091
|
},
|
|
5129
|
-
|
|
5092
|
+
No,
|
|
5130
5093
|
[-1, -1]
|
|
5131
5094
|
);
|
|
5132
5095
|
}
|
|
@@ -5134,87 +5097,83 @@ class un extends kn {
|
|
|
5134
5097
|
return this.$$.ctx[0];
|
|
5135
5098
|
}
|
|
5136
5099
|
set endpoint(t) {
|
|
5137
|
-
this.$$set({ endpoint: t }),
|
|
5100
|
+
this.$$set({ endpoint: t }), ee();
|
|
5138
5101
|
}
|
|
5139
5102
|
get captchakey() {
|
|
5140
5103
|
return this.$$.ctx[1];
|
|
5141
5104
|
}
|
|
5142
5105
|
set captchakey(t) {
|
|
5143
|
-
this.$$set({ captchakey: t }),
|
|
5106
|
+
this.$$set({ captchakey: t }), ee();
|
|
5144
5107
|
}
|
|
5145
5108
|
get lang() {
|
|
5146
5109
|
return this.$$.ctx[29];
|
|
5147
5110
|
}
|
|
5148
5111
|
set lang(t) {
|
|
5149
|
-
this.$$set({ lang: t }),
|
|
5112
|
+
this.$$set({ lang: t }), ee();
|
|
5150
5113
|
}
|
|
5151
5114
|
get smsverification() {
|
|
5152
5115
|
return this.$$.ctx[30];
|
|
5153
5116
|
}
|
|
5154
5117
|
set smsverification(t) {
|
|
5155
|
-
this.$$set({ smsverification: t }),
|
|
5118
|
+
this.$$set({ smsverification: t }), ee();
|
|
5156
5119
|
}
|
|
5157
5120
|
get simplepasswordvalidation() {
|
|
5158
5121
|
return this.$$.ctx[2];
|
|
5159
5122
|
}
|
|
5160
5123
|
set simplepasswordvalidation(t) {
|
|
5161
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5124
|
+
this.$$set({ simplepasswordvalidation: t }), ee();
|
|
5162
5125
|
}
|
|
5163
5126
|
get clientstyling() {
|
|
5164
5127
|
return this.$$.ctx[3];
|
|
5165
5128
|
}
|
|
5166
5129
|
set clientstyling(t) {
|
|
5167
|
-
this.$$set({ clientstyling: t }),
|
|
5130
|
+
this.$$set({ clientstyling: t }), ee();
|
|
5168
5131
|
}
|
|
5169
5132
|
get clientstylingurl() {
|
|
5170
5133
|
return this.$$.ctx[4];
|
|
5171
5134
|
}
|
|
5172
5135
|
set clientstylingurl(t) {
|
|
5173
|
-
this.$$set({ clientstylingurl: t }),
|
|
5136
|
+
this.$$set({ clientstylingurl: t }), ee();
|
|
5174
5137
|
}
|
|
5175
5138
|
get translationurl() {
|
|
5176
5139
|
return this.$$.ctx[31];
|
|
5177
5140
|
}
|
|
5178
5141
|
set translationurl(t) {
|
|
5179
|
-
this.$$set({ translationurl: t }),
|
|
5142
|
+
this.$$set({ translationurl: t }), ee();
|
|
5180
5143
|
}
|
|
5181
5144
|
get savecredentials() {
|
|
5182
5145
|
return this.$$.ctx[5];
|
|
5183
5146
|
}
|
|
5184
5147
|
set savecredentials(t) {
|
|
5185
|
-
this.$$set({ savecredentials: t }),
|
|
5148
|
+
this.$$set({ savecredentials: t }), ee();
|
|
5186
5149
|
}
|
|
5187
5150
|
}
|
|
5188
|
-
|
|
5189
|
-
const os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5190
|
-
__proto__: null,
|
|
5191
|
-
default: un
|
|
5192
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
5151
|
+
Tn(zo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5193
5152
|
export {
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5153
|
+
he as $,
|
|
5154
|
+
zo as G,
|
|
5155
|
+
Hn as S,
|
|
5156
|
+
Me as a,
|
|
5157
|
+
Jr as b,
|
|
5158
|
+
Tn as c,
|
|
5159
|
+
ln as d,
|
|
5201
5160
|
S as e,
|
|
5202
|
-
|
|
5161
|
+
ee as f,
|
|
5203
5162
|
z as g,
|
|
5204
5163
|
h,
|
|
5205
|
-
|
|
5164
|
+
Pn as i,
|
|
5206
5165
|
L as j,
|
|
5207
|
-
|
|
5166
|
+
m as k,
|
|
5208
5167
|
rt as l,
|
|
5209
|
-
|
|
5210
|
-
|
|
5168
|
+
se as m,
|
|
5169
|
+
te as n,
|
|
5211
5170
|
Z as o,
|
|
5212
5171
|
I as p,
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5172
|
+
sn as q,
|
|
5173
|
+
Oe as r,
|
|
5174
|
+
wr as s,
|
|
5216
5175
|
N as t,
|
|
5217
|
-
|
|
5176
|
+
pn as u,
|
|
5218
5177
|
ut as v,
|
|
5219
|
-
|
|
5178
|
+
Co as w
|
|
5220
5179
|
};
|