@everymatrix/general-player-login-form 1.55.0 → 1.56.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-ByIgeDmT.cjs +18 -0
- package/components/{GeneralPlayerLoginForm-DjD9wSdK.js → GeneralPlayerLoginForm-CpQQFRGV.js} +885 -829
- package/components/{GeneralPlayerLoginForm-DnwXmexh.js → GeneralPlayerLoginForm-gauMqg_k.js} +918 -862
- package/components/{GeneralPlayerSmsVerificationForm-ClUWo_HF.js → GeneralPlayerSmsVerificationForm-BH31XK9j.js} +182 -189
- package/components/GeneralPlayerSmsVerificationForm-CfMK7ptU.cjs +1 -0
- package/components/{GeneralPlayerSmsVerificationForm-B6d2Y3hF.js → GeneralPlayerSmsVerificationForm-gXNvsXYD.js} +183 -190
- package/es2015/general-player-login-form.cjs +1 -1
- package/es2015/general-player-login-form.js +1 -1
- package/esnext/general-player-login-form.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerLoginForm-BoIsFJsw.cjs +0 -5
- package/components/GeneralPlayerSmsVerificationForm-BmimxoUw.cjs +0 -1
package/components/{GeneralPlayerLoginForm-DnwXmexh.js → GeneralPlayerLoginForm-gauMqg_k.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var mn = Object.defineProperty, pn = Object.defineProperties;
|
|
2
|
+
var gn = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Jt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var vt = (e, t, r) => t in e ?
|
|
4
|
+
var bn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var vt = (e, t, r) => t in e ? mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
bn.call(t, r) && vt(e, r, t[r]);
|
|
8
8
|
if (Jt)
|
|
9
9
|
for (var r of Jt(t))
|
|
10
|
-
|
|
10
|
+
vn.call(t, r) && vt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, Yt = (e, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, Yt = (e, t) => pn(e, gn(t));
|
|
13
|
+
var K = (e, t, r) => (vt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function Z() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ar(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
35
|
function Kt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function Ne(e) {
|
|
39
|
+
e.forEach(Ar);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function $t(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Ir(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let tt;
|
|
48
48
|
function er(e, t) {
|
|
49
49
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function yn(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Cr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,25 +60,22 @@ function Or(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function _n(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Cr(t, r));
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
// @ts-ignore Node typings have this
|
|
68
|
-
global
|
|
69
|
-
);
|
|
70
|
-
function p(e, t) {
|
|
66
|
+
function m(e, t) {
|
|
71
67
|
e.appendChild(t);
|
|
72
68
|
}
|
|
73
|
-
function
|
|
74
|
-
const n =
|
|
69
|
+
function En(e, t, r) {
|
|
70
|
+
const n = wn(e);
|
|
75
71
|
if (!n.getElementById(t)) {
|
|
76
|
-
const i =
|
|
77
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = x("style");
|
|
73
|
+
i.id = t, i.textContent = r, xn(n, i);
|
|
78
74
|
}
|
|
79
75
|
}
|
|
80
|
-
function
|
|
81
|
-
if (!e)
|
|
76
|
+
function wn(e) {
|
|
77
|
+
if (!e)
|
|
78
|
+
return document;
|
|
82
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
83
80
|
return t && /** @type {ShadowRoot} */
|
|
84
81
|
t.host ? (
|
|
@@ -86,45 +83,45 @@ function Pn(e) {
|
|
|
86
83
|
t
|
|
87
84
|
) : e.ownerDocument;
|
|
88
85
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
86
|
+
function xn(e, t) {
|
|
87
|
+
return m(
|
|
91
88
|
/** @type {Document} */
|
|
92
89
|
e.head || e,
|
|
93
90
|
t
|
|
94
91
|
), t.sheet;
|
|
95
92
|
}
|
|
96
|
-
function
|
|
93
|
+
function M(e, t, r) {
|
|
97
94
|
e.insertBefore(t, r || null);
|
|
98
95
|
}
|
|
99
96
|
function I(e) {
|
|
100
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
101
98
|
}
|
|
102
|
-
function
|
|
99
|
+
function x(e) {
|
|
103
100
|
return document.createElement(e);
|
|
104
101
|
}
|
|
105
|
-
function
|
|
102
|
+
function L(e) {
|
|
106
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
107
104
|
}
|
|
108
105
|
function N(e) {
|
|
109
106
|
return document.createTextNode(e);
|
|
110
107
|
}
|
|
111
|
-
function
|
|
108
|
+
function j() {
|
|
112
109
|
return N(" ");
|
|
113
110
|
}
|
|
114
|
-
function
|
|
111
|
+
function Sn() {
|
|
115
112
|
return N("");
|
|
116
113
|
}
|
|
117
|
-
function
|
|
114
|
+
function se(e, t, r, n) {
|
|
118
115
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
119
116
|
}
|
|
120
117
|
function h(e, t, r) {
|
|
121
118
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
122
119
|
}
|
|
123
|
-
function
|
|
120
|
+
function W(e, t, r) {
|
|
124
121
|
const n = t.toLowerCase();
|
|
125
122
|
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
123
|
}
|
|
127
|
-
function
|
|
124
|
+
function Pn(e) {
|
|
128
125
|
return Array.from(e.childNodes);
|
|
129
126
|
}
|
|
130
127
|
function re(e, t) {
|
|
@@ -134,7 +131,7 @@ function re(e, t) {
|
|
|
134
131
|
function rt(e, t) {
|
|
135
132
|
e.value = t == null ? "" : t;
|
|
136
133
|
}
|
|
137
|
-
function
|
|
134
|
+
function Tn(e) {
|
|
138
135
|
const t = {};
|
|
139
136
|
return e.childNodes.forEach(
|
|
140
137
|
/** @param {Element} node */
|
|
@@ -143,85 +140,87 @@ function An(e) {
|
|
|
143
140
|
}
|
|
144
141
|
), t;
|
|
145
142
|
}
|
|
146
|
-
let
|
|
147
|
-
function
|
|
148
|
-
|
|
143
|
+
let Xe;
|
|
144
|
+
function ze(e) {
|
|
145
|
+
Xe = e;
|
|
149
146
|
}
|
|
150
|
-
function
|
|
151
|
-
if (!
|
|
152
|
-
|
|
147
|
+
function Hn() {
|
|
148
|
+
if (!Xe)
|
|
149
|
+
throw new Error("Function called outside component initialization");
|
|
150
|
+
return Xe;
|
|
153
151
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
152
|
+
function Bn(e) {
|
|
153
|
+
Hn().$$.on_mount.push(e);
|
|
156
154
|
}
|
|
157
|
-
const
|
|
158
|
-
let
|
|
159
|
-
const tr = [],
|
|
155
|
+
const Be = [], ut = [];
|
|
156
|
+
let Ae = [];
|
|
157
|
+
const tr = [], An = /* @__PURE__ */ Promise.resolve();
|
|
160
158
|
let Ht = !1;
|
|
161
|
-
function
|
|
162
|
-
Ht || (Ht = !0,
|
|
159
|
+
function In() {
|
|
160
|
+
Ht || (Ht = !0, An.then(ee));
|
|
163
161
|
}
|
|
164
162
|
function Bt(e) {
|
|
165
|
-
|
|
163
|
+
Ae.push(e);
|
|
166
164
|
}
|
|
167
165
|
const yt = /* @__PURE__ */ new Set();
|
|
168
|
-
let
|
|
169
|
-
function
|
|
170
|
-
if (
|
|
166
|
+
let Te = 0;
|
|
167
|
+
function ee() {
|
|
168
|
+
if (Te !== 0)
|
|
171
169
|
return;
|
|
172
|
-
const e =
|
|
170
|
+
const e = Xe;
|
|
173
171
|
do {
|
|
174
172
|
try {
|
|
175
|
-
for (;
|
|
176
|
-
const t = Te
|
|
177
|
-
|
|
173
|
+
for (; Te < Be.length; ) {
|
|
174
|
+
const t = Be[Te];
|
|
175
|
+
Te++, ze(t), Cn(t.$$);
|
|
178
176
|
}
|
|
179
177
|
} catch (t) {
|
|
180
|
-
throw
|
|
178
|
+
throw Be.length = 0, Te = 0, t;
|
|
181
179
|
}
|
|
182
|
-
for (
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
for (ze(null), Be.length = 0, Te = 0; ut.length; )
|
|
181
|
+
ut.pop()();
|
|
182
|
+
for (let t = 0; t < Ae.length; t += 1) {
|
|
183
|
+
const r = Ae[t];
|
|
185
184
|
yt.has(r) || (yt.add(r), r());
|
|
186
185
|
}
|
|
187
|
-
|
|
188
|
-
} while (
|
|
186
|
+
Ae.length = 0;
|
|
187
|
+
} while (Be.length);
|
|
189
188
|
for (; tr.length; )
|
|
190
189
|
tr.pop()();
|
|
191
|
-
Ht = !1, yt.clear(),
|
|
190
|
+
Ht = !1, yt.clear(), ze(e);
|
|
192
191
|
}
|
|
193
|
-
function
|
|
192
|
+
function Cn(e) {
|
|
194
193
|
if (e.fragment !== null) {
|
|
195
|
-
e.update(),
|
|
194
|
+
e.update(), Ne(e.before_update);
|
|
196
195
|
const t = e.dirty;
|
|
197
196
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Bt);
|
|
198
197
|
}
|
|
199
198
|
}
|
|
200
|
-
function
|
|
199
|
+
function On(e) {
|
|
201
200
|
const t = [], r = [];
|
|
202
|
-
|
|
201
|
+
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
203
202
|
}
|
|
204
|
-
const
|
|
205
|
-
function
|
|
206
|
-
e && e.i && (
|
|
203
|
+
const Ln = /* @__PURE__ */ new Set();
|
|
204
|
+
function Mn(e, t) {
|
|
205
|
+
e && e.i && (Ln.delete(e), e.i(t));
|
|
207
206
|
}
|
|
208
|
-
function
|
|
207
|
+
function Nn(e, t, r) {
|
|
209
208
|
const { fragment: n, after_update: i } = e.$$;
|
|
210
209
|
n && n.m(t, r), Bt(() => {
|
|
211
|
-
const o = e.$$.on_mount.map(
|
|
212
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
210
|
+
const o = e.$$.on_mount.map(Ar).filter($t);
|
|
211
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ne(o), e.$$.on_mount = [];
|
|
213
212
|
}), i.forEach(Bt);
|
|
214
213
|
}
|
|
215
|
-
function
|
|
214
|
+
function Rn(e, t) {
|
|
216
215
|
const r = e.$$;
|
|
217
|
-
r.fragment !== null && (
|
|
216
|
+
r.fragment !== null && (On(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
218
217
|
}
|
|
219
|
-
function
|
|
220
|
-
e.$$.dirty[0] === -1 && (
|
|
218
|
+
function Un(e, t) {
|
|
219
|
+
e.$$.dirty[0] === -1 && (Be.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
221
220
|
}
|
|
222
|
-
function
|
|
223
|
-
const u =
|
|
224
|
-
|
|
221
|
+
function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
222
|
+
const u = Xe;
|
|
223
|
+
ze(e);
|
|
225
224
|
const l = e.$$ = {
|
|
226
225
|
fragment: null,
|
|
227
226
|
ctx: [],
|
|
@@ -247,39 +246,39 @@ function $n(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
247
246
|
let c = !1;
|
|
248
247
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
249
248
|
const y = b.length ? b[0] : d;
|
|
250
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c &&
|
|
251
|
-
}) : [], l.update(), c = !0,
|
|
249
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Un(e, f)), d;
|
|
250
|
+
}) : [], l.update(), c = !0, Ne(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
252
251
|
if (t.hydrate) {
|
|
253
|
-
const f =
|
|
252
|
+
const f = Pn(t.target);
|
|
254
253
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
255
254
|
} else
|
|
256
255
|
l.fragment && l.fragment.c();
|
|
257
|
-
t.intro &&
|
|
256
|
+
t.intro && Mn(e.$$.fragment), Nn(e, t.target, t.anchor), ee();
|
|
258
257
|
}
|
|
259
|
-
|
|
258
|
+
ze(u);
|
|
260
259
|
}
|
|
261
|
-
let
|
|
262
|
-
typeof HTMLElement == "function" && (
|
|
260
|
+
let Or;
|
|
261
|
+
typeof HTMLElement == "function" && (Or = class extends HTMLElement {
|
|
263
262
|
constructor(t, r, n) {
|
|
264
263
|
super();
|
|
265
264
|
/** The Svelte component constructor */
|
|
266
|
-
|
|
265
|
+
K(this, "$$ctor");
|
|
267
266
|
/** Slots */
|
|
268
|
-
|
|
267
|
+
K(this, "$$s");
|
|
269
268
|
/** The Svelte component instance */
|
|
270
|
-
|
|
269
|
+
K(this, "$$c");
|
|
271
270
|
/** Whether or not the custom element is connected */
|
|
272
|
-
|
|
271
|
+
K(this, "$$cn", !1);
|
|
273
272
|
/** Component props data */
|
|
274
|
-
|
|
273
|
+
K(this, "$$d", {});
|
|
275
274
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
276
|
-
|
|
275
|
+
K(this, "$$r", !1);
|
|
277
276
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
278
|
-
|
|
277
|
+
K(this, "$$p_d", {});
|
|
279
278
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
280
|
-
|
|
279
|
+
K(this, "$$l", {});
|
|
281
280
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
282
|
-
|
|
281
|
+
K(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
283
282
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
284
283
|
}
|
|
285
284
|
addEventListener(t, r, n) {
|
|
@@ -303,14 +302,14 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
|
|
|
303
302
|
let s;
|
|
304
303
|
return {
|
|
305
304
|
c: function() {
|
|
306
|
-
s =
|
|
305
|
+
s = x("slot"), o !== "default" && h(s, "name", o);
|
|
307
306
|
},
|
|
308
307
|
/**
|
|
309
308
|
* @param {HTMLElement} target
|
|
310
309
|
* @param {HTMLElement} [anchor]
|
|
311
310
|
*/
|
|
312
311
|
m: function(l, c) {
|
|
313
|
-
|
|
312
|
+
M(l, s, c);
|
|
314
313
|
},
|
|
315
314
|
d: function(l) {
|
|
316
315
|
l && I(s);
|
|
@@ -320,7 +319,7 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
|
|
|
320
319
|
};
|
|
321
320
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
322
321
|
return;
|
|
323
|
-
const r = {}, n =
|
|
322
|
+
const r = {}, n = Tn(this);
|
|
324
323
|
for (const o of this.$$s)
|
|
325
324
|
o in n && (r[o] = [t(o)]);
|
|
326
325
|
for (const o of this.attributes) {
|
|
@@ -409,8 +408,8 @@ function ot(e, t, r, n) {
|
|
|
409
408
|
return t;
|
|
410
409
|
}
|
|
411
410
|
}
|
|
412
|
-
function
|
|
413
|
-
let s = class extends
|
|
411
|
+
function Dn(e, t, r, n, i, o) {
|
|
412
|
+
let s = class extends Or {
|
|
414
413
|
constructor() {
|
|
415
414
|
super(e, r, i), this.$$p_d = t;
|
|
416
415
|
}
|
|
@@ -440,7 +439,7 @@ function Gn(e, t, r, n, i, o) {
|
|
|
440
439
|
}), e.element = /** @type {any} */
|
|
441
440
|
s, s;
|
|
442
441
|
}
|
|
443
|
-
class
|
|
442
|
+
class kn {
|
|
444
443
|
constructor() {
|
|
445
444
|
/**
|
|
446
445
|
* ### PRIVATE API
|
|
@@ -449,7 +448,7 @@ class jn {
|
|
|
449
448
|
*
|
|
450
449
|
* @type {any}
|
|
451
450
|
*/
|
|
452
|
-
|
|
451
|
+
K(this, "$$");
|
|
453
452
|
/**
|
|
454
453
|
* ### PRIVATE API
|
|
455
454
|
*
|
|
@@ -457,11 +456,11 @@ class jn {
|
|
|
457
456
|
*
|
|
458
457
|
* @type {any}
|
|
459
458
|
*/
|
|
460
|
-
|
|
459
|
+
K(this, "$$set");
|
|
461
460
|
}
|
|
462
461
|
/** @returns {void} */
|
|
463
462
|
$destroy() {
|
|
464
|
-
|
|
463
|
+
Rn(this, 1), this.$destroy = Z;
|
|
465
464
|
}
|
|
466
465
|
/**
|
|
467
466
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -470,7 +469,7 @@ class jn {
|
|
|
470
469
|
* @returns {() => void}
|
|
471
470
|
*/
|
|
472
471
|
$on(t, r) {
|
|
473
|
-
if (
|
|
472
|
+
if (!$t(r))
|
|
474
473
|
return Z;
|
|
475
474
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
476
475
|
return n.push(r), () => {
|
|
@@ -483,19 +482,34 @@ class jn {
|
|
|
483
482
|
* @returns {void}
|
|
484
483
|
*/
|
|
485
484
|
$set(t) {
|
|
486
|
-
this.$$set && !
|
|
485
|
+
this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
487
486
|
}
|
|
488
487
|
}
|
|
489
|
-
const
|
|
490
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
488
|
+
const Gn = "4";
|
|
489
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
|
|
490
|
+
/*! *****************************************************************************
|
|
491
|
+
Copyright (c) Microsoft Corporation.
|
|
492
|
+
|
|
493
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
494
|
+
purpose with or without fee is hereby granted.
|
|
495
|
+
|
|
496
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
497
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
498
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
499
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
500
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
501
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
502
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
503
|
+
***************************************************************************** */
|
|
491
504
|
var At = function(e, t) {
|
|
492
505
|
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
493
506
|
r.__proto__ = n;
|
|
494
507
|
} || function(r, n) {
|
|
495
|
-
for (var i in n)
|
|
508
|
+
for (var i in n)
|
|
509
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
496
510
|
}, At(e, t);
|
|
497
511
|
};
|
|
498
|
-
function
|
|
512
|
+
function le(e, t) {
|
|
499
513
|
if (typeof t != "function" && t !== null)
|
|
500
514
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
501
515
|
At(e, t);
|
|
@@ -508,14 +522,16 @@ var w = function() {
|
|
|
508
522
|
return w = Object.assign || function(t) {
|
|
509
523
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
510
524
|
r = arguments[n];
|
|
511
|
-
for (var o in r)
|
|
525
|
+
for (var o in r)
|
|
526
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
512
527
|
}
|
|
513
528
|
return t;
|
|
514
529
|
}, w.apply(this, arguments);
|
|
515
530
|
};
|
|
516
|
-
function
|
|
531
|
+
function $n(e, t) {
|
|
517
532
|
var r = {};
|
|
518
|
-
for (var n in e)
|
|
533
|
+
for (var n in e)
|
|
534
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
519
535
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
520
536
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
521
537
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
@@ -523,46 +539,52 @@ function zn(e, t) {
|
|
|
523
539
|
}
|
|
524
540
|
function It(e) {
|
|
525
541
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
526
|
-
if (r)
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
542
|
+
if (r)
|
|
543
|
+
return r.call(e);
|
|
544
|
+
if (e && typeof e.length == "number")
|
|
545
|
+
return {
|
|
546
|
+
next: function() {
|
|
547
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
548
|
+
}
|
|
549
|
+
};
|
|
532
550
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
533
551
|
}
|
|
534
552
|
function Ct(e, t) {
|
|
535
553
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
536
|
-
if (!r)
|
|
554
|
+
if (!r)
|
|
555
|
+
return e;
|
|
537
556
|
var n = r.call(e), i, o = [], s;
|
|
538
557
|
try {
|
|
539
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
558
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
559
|
+
o.push(i.value);
|
|
540
560
|
} catch (a) {
|
|
541
561
|
s = { error: a };
|
|
542
562
|
} finally {
|
|
543
563
|
try {
|
|
544
564
|
i && !i.done && (r = n.return) && r.call(n);
|
|
545
565
|
} finally {
|
|
546
|
-
if (s)
|
|
566
|
+
if (s)
|
|
567
|
+
throw s.error;
|
|
547
568
|
}
|
|
548
569
|
}
|
|
549
570
|
return o;
|
|
550
571
|
}
|
|
551
|
-
function
|
|
552
|
-
if (r || arguments.length === 2)
|
|
553
|
-
(
|
|
554
|
-
|
|
572
|
+
function Ie(e, t, r) {
|
|
573
|
+
if (r || arguments.length === 2)
|
|
574
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
575
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
576
|
+
return e.concat(o || t);
|
|
555
577
|
}
|
|
556
|
-
function
|
|
578
|
+
function ae(e) {
|
|
557
579
|
return typeof e == "function";
|
|
558
580
|
}
|
|
559
|
-
function
|
|
581
|
+
function Lr(e) {
|
|
560
582
|
var t = function(n) {
|
|
561
583
|
Error.call(n), n.stack = new Error().stack;
|
|
562
584
|
}, r = e(t);
|
|
563
585
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
564
586
|
}
|
|
565
|
-
var _t =
|
|
587
|
+
var _t = Lr(function(e) {
|
|
566
588
|
return function(r) {
|
|
567
589
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
568
590
|
` + r.map(function(n, i) {
|
|
@@ -599,13 +621,14 @@ var ft = function() {
|
|
|
599
621
|
try {
|
|
600
622
|
u && !u.done && (r = a.return) && r.call(a);
|
|
601
623
|
} finally {
|
|
602
|
-
if (t)
|
|
624
|
+
if (t)
|
|
625
|
+
throw t.error;
|
|
603
626
|
}
|
|
604
627
|
}
|
|
605
628
|
else
|
|
606
629
|
s.remove(this);
|
|
607
630
|
var c = this.initialTeardown;
|
|
608
|
-
if (
|
|
631
|
+
if (ae(c))
|
|
609
632
|
try {
|
|
610
633
|
c();
|
|
611
634
|
} catch (g) {
|
|
@@ -620,7 +643,7 @@ var ft = function() {
|
|
|
620
643
|
try {
|
|
621
644
|
rr(y);
|
|
622
645
|
} catch (g) {
|
|
623
|
-
o = o != null ? o : [], g instanceof _t ? o =
|
|
646
|
+
o = o != null ? o : [], g instanceof _t ? o = Ie(Ie([], Ct(o)), Ct(g.errors)) : o.push(g);
|
|
624
647
|
}
|
|
625
648
|
}
|
|
626
649
|
} catch (g) {
|
|
@@ -629,7 +652,8 @@ var ft = function() {
|
|
|
629
652
|
try {
|
|
630
653
|
b && !b.done && (i = d.return) && i.call(d);
|
|
631
654
|
} finally {
|
|
632
|
-
if (n)
|
|
655
|
+
if (n)
|
|
656
|
+
throw n.error;
|
|
633
657
|
}
|
|
634
658
|
}
|
|
635
659
|
}
|
|
@@ -665,32 +689,32 @@ var ft = function() {
|
|
|
665
689
|
var t = new e();
|
|
666
690
|
return t.closed = !0, t;
|
|
667
691
|
}(), e;
|
|
668
|
-
}(),
|
|
669
|
-
function
|
|
670
|
-
return e instanceof ft || e && "closed" in e &&
|
|
692
|
+
}(), Mr = ft.EMPTY;
|
|
693
|
+
function Nr(e) {
|
|
694
|
+
return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
|
|
671
695
|
}
|
|
672
696
|
function rr(e) {
|
|
673
|
-
|
|
697
|
+
ae(e) ? e() : e.unsubscribe();
|
|
674
698
|
}
|
|
675
|
-
var
|
|
699
|
+
var Rr = {
|
|
676
700
|
onUnhandledError: null,
|
|
677
701
|
onStoppedNotification: null,
|
|
678
702
|
Promise: void 0,
|
|
679
703
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
680
704
|
useDeprecatedNextContext: !1
|
|
681
|
-
},
|
|
705
|
+
}, jn = {
|
|
682
706
|
setTimeout: function(e, t) {
|
|
683
707
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
684
708
|
r[n - 2] = arguments[n];
|
|
685
|
-
return setTimeout.apply(void 0,
|
|
709
|
+
return setTimeout.apply(void 0, Ie([e, t], Ct(r)));
|
|
686
710
|
},
|
|
687
711
|
clearTimeout: function(e) {
|
|
688
712
|
return clearTimeout(e);
|
|
689
713
|
},
|
|
690
714
|
delegate: void 0
|
|
691
715
|
};
|
|
692
|
-
function
|
|
693
|
-
|
|
716
|
+
function Vn(e) {
|
|
717
|
+
jn.setTimeout(function() {
|
|
694
718
|
throw e;
|
|
695
719
|
});
|
|
696
720
|
}
|
|
@@ -699,11 +723,11 @@ function nr() {
|
|
|
699
723
|
function st(e) {
|
|
700
724
|
e();
|
|
701
725
|
}
|
|
702
|
-
var
|
|
703
|
-
|
|
726
|
+
var Ur = function(e) {
|
|
727
|
+
le(t, e);
|
|
704
728
|
function t(r) {
|
|
705
729
|
var n = e.call(this) || this;
|
|
706
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
730
|
+
return n.isStopped = !1, r ? (n.destination = r, Nr(r) && r.add(n)) : n.destination = Zn, n;
|
|
707
731
|
}
|
|
708
732
|
return t.create = function(r, n, i) {
|
|
709
733
|
return new Lt(r, n, i);
|
|
@@ -730,11 +754,11 @@ var Fr = function(e) {
|
|
|
730
754
|
this.unsubscribe();
|
|
731
755
|
}
|
|
732
756
|
}, t;
|
|
733
|
-
}(ft),
|
|
757
|
+
}(ft), zn = Function.prototype.bind;
|
|
734
758
|
function Et(e, t) {
|
|
735
|
-
return
|
|
759
|
+
return zn.call(e, t);
|
|
736
760
|
}
|
|
737
|
-
var
|
|
761
|
+
var Xn = function() {
|
|
738
762
|
function e(t) {
|
|
739
763
|
this.partialObserver = t;
|
|
740
764
|
}
|
|
@@ -766,10 +790,10 @@ var qn = function() {
|
|
|
766
790
|
}
|
|
767
791
|
}, e;
|
|
768
792
|
}(), Lt = function(e) {
|
|
769
|
-
|
|
793
|
+
le(t, e);
|
|
770
794
|
function t(r, n, i) {
|
|
771
795
|
var o = e.call(this) || this, s;
|
|
772
|
-
if (
|
|
796
|
+
if (ae(r) || !r)
|
|
773
797
|
s = {
|
|
774
798
|
next: r != null ? r : void 0,
|
|
775
799
|
error: n != null ? n : void 0,
|
|
@@ -777,7 +801,7 @@ var qn = function() {
|
|
|
777
801
|
};
|
|
778
802
|
else {
|
|
779
803
|
var a;
|
|
780
|
-
o &&
|
|
804
|
+
o && Rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
781
805
|
return o.unsubscribe();
|
|
782
806
|
}, s = {
|
|
783
807
|
next: r.next && Et(r.next, a),
|
|
@@ -785,29 +809,29 @@ var qn = function() {
|
|
|
785
809
|
complete: r.complete && Et(r.complete, a)
|
|
786
810
|
}) : s = r;
|
|
787
811
|
}
|
|
788
|
-
return o.destination = new
|
|
812
|
+
return o.destination = new Xn(s), o;
|
|
789
813
|
}
|
|
790
814
|
return t;
|
|
791
|
-
}(
|
|
815
|
+
}(Ur);
|
|
792
816
|
function nt(e) {
|
|
793
|
-
|
|
817
|
+
Vn(e);
|
|
794
818
|
}
|
|
795
|
-
function
|
|
819
|
+
function Wn(e) {
|
|
796
820
|
throw e;
|
|
797
821
|
}
|
|
798
|
-
var
|
|
822
|
+
var Zn = {
|
|
799
823
|
closed: !0,
|
|
800
824
|
next: nr,
|
|
801
|
-
error:
|
|
825
|
+
error: Wn,
|
|
802
826
|
complete: nr
|
|
803
|
-
},
|
|
827
|
+
}, qn = function() {
|
|
804
828
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
805
829
|
}();
|
|
806
|
-
function
|
|
830
|
+
function Jn(e) {
|
|
807
831
|
return e;
|
|
808
832
|
}
|
|
809
|
-
function
|
|
810
|
-
return e.length === 0 ?
|
|
833
|
+
function Qn(e) {
|
|
834
|
+
return e.length === 0 ? Jn : e.length === 1 ? e[0] : function(r) {
|
|
811
835
|
return e.reduce(function(n, i) {
|
|
812
836
|
return i(n);
|
|
813
837
|
}, r);
|
|
@@ -821,7 +845,7 @@ var ir = function() {
|
|
|
821
845
|
var r = new e();
|
|
822
846
|
return r.source = this, r.operator = t, r;
|
|
823
847
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
824
|
-
var i = this, o =
|
|
848
|
+
var i = this, o = Kn(t) ? t : new Lt(t, r, n);
|
|
825
849
|
return st(function() {
|
|
826
850
|
var s = i, a = s.operator, u = s.source;
|
|
827
851
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -851,12 +875,12 @@ var ir = function() {
|
|
|
851
875
|
}, e.prototype._subscribe = function(t) {
|
|
852
876
|
var r;
|
|
853
877
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
854
|
-
}, e.prototype[
|
|
878
|
+
}, e.prototype[qn] = function() {
|
|
855
879
|
return this;
|
|
856
880
|
}, e.prototype.pipe = function() {
|
|
857
881
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
858
882
|
t[r] = arguments[r];
|
|
859
|
-
return
|
|
883
|
+
return Qn(t)(this);
|
|
860
884
|
}, e.prototype.toPromise = function(t) {
|
|
861
885
|
var r = this;
|
|
862
886
|
return t = or(t), new t(function(n, i) {
|
|
@@ -875,20 +899,20 @@ var ir = function() {
|
|
|
875
899
|
}();
|
|
876
900
|
function or(e) {
|
|
877
901
|
var t;
|
|
878
|
-
return (t = e != null ? e :
|
|
902
|
+
return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
879
903
|
}
|
|
880
|
-
function
|
|
881
|
-
return e &&
|
|
904
|
+
function Yn(e) {
|
|
905
|
+
return e && ae(e.next) && ae(e.error) && ae(e.complete);
|
|
882
906
|
}
|
|
883
|
-
function
|
|
884
|
-
return e && e instanceof
|
|
907
|
+
function Kn(e) {
|
|
908
|
+
return e && e instanceof Ur || Yn(e) && Nr(e);
|
|
885
909
|
}
|
|
886
|
-
var
|
|
910
|
+
var ei = Lr(function(e) {
|
|
887
911
|
return function() {
|
|
888
912
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
889
913
|
};
|
|
890
|
-
}),
|
|
891
|
-
|
|
914
|
+
}), Fr = function(e) {
|
|
915
|
+
le(t, e);
|
|
892
916
|
function t() {
|
|
893
917
|
var r = e.call(this) || this;
|
|
894
918
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -898,7 +922,7 @@ var ni = Mr(function(e) {
|
|
|
898
922
|
return n.operator = r, n;
|
|
899
923
|
}, t.prototype._throwIfClosed = function() {
|
|
900
924
|
if (this.closed)
|
|
901
|
-
throw new
|
|
925
|
+
throw new ei();
|
|
902
926
|
}, t.prototype.next = function(r) {
|
|
903
927
|
var n = this;
|
|
904
928
|
st(function() {
|
|
@@ -916,7 +940,8 @@ var ni = Mr(function(e) {
|
|
|
916
940
|
try {
|
|
917
941
|
a && !a.done && (o = s.return) && o.call(s);
|
|
918
942
|
} finally {
|
|
919
|
-
if (i)
|
|
943
|
+
if (i)
|
|
944
|
+
throw i.error;
|
|
920
945
|
}
|
|
921
946
|
}
|
|
922
947
|
}
|
|
@@ -954,7 +979,7 @@ var ni = Mr(function(e) {
|
|
|
954
979
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
955
980
|
}, t.prototype._innerSubscribe = function(r) {
|
|
956
981
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
957
|
-
return o || s ?
|
|
982
|
+
return o || s ? Mr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
958
983
|
n.currentObservers = null, Ot(a, r);
|
|
959
984
|
}));
|
|
960
985
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
@@ -967,7 +992,7 @@ var ni = Mr(function(e) {
|
|
|
967
992
|
return new sr(r, n);
|
|
968
993
|
}, t;
|
|
969
994
|
}(ir), sr = function(e) {
|
|
970
|
-
|
|
995
|
+
le(t, e);
|
|
971
996
|
function t(r, n) {
|
|
972
997
|
var i = e.call(this) || this;
|
|
973
998
|
return i.destination = r, i.source = n, i;
|
|
@@ -983,17 +1008,17 @@ var ni = Mr(function(e) {
|
|
|
983
1008
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
984
1009
|
}, t.prototype._subscribe = function(r) {
|
|
985
1010
|
var n, i;
|
|
986
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1011
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mr;
|
|
987
1012
|
}, t;
|
|
988
|
-
}(
|
|
1013
|
+
}(Fr), Dr = {
|
|
989
1014
|
now: function() {
|
|
990
|
-
return (
|
|
1015
|
+
return (Dr.delegate || Date).now();
|
|
991
1016
|
},
|
|
992
1017
|
delegate: void 0
|
|
993
|
-
},
|
|
994
|
-
|
|
1018
|
+
}, ti = function(e) {
|
|
1019
|
+
le(t, e);
|
|
995
1020
|
function t(r, n, i) {
|
|
996
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1021
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
|
|
997
1022
|
var o = e.call(this) || this;
|
|
998
1023
|
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;
|
|
999
1024
|
}
|
|
@@ -1013,15 +1038,15 @@ var ni = Mr(function(e) {
|
|
|
1013
1038
|
l && o.splice(0, l + 1);
|
|
1014
1039
|
}
|
|
1015
1040
|
}, t;
|
|
1016
|
-
}(
|
|
1017
|
-
const ar = [], lr = {},
|
|
1041
|
+
}(Fr);
|
|
1042
|
+
const ar = [], lr = {}, ri = (e, t = 0) => {
|
|
1018
1043
|
if (ar.indexOf(e) == -1) {
|
|
1019
|
-
const r = new
|
|
1044
|
+
const r = new ti(t);
|
|
1020
1045
|
lr[e] = r, ar.push(e);
|
|
1021
1046
|
}
|
|
1022
1047
|
return lr[e];
|
|
1023
|
-
},
|
|
1024
|
-
function
|
|
1048
|
+
}, He = [];
|
|
1049
|
+
function ni(e, t) {
|
|
1025
1050
|
return {
|
|
1026
1051
|
subscribe: dt(e, t).subscribe
|
|
1027
1052
|
};
|
|
@@ -1030,14 +1055,14 @@ function dt(e, t = Z) {
|
|
|
1030
1055
|
let r;
|
|
1031
1056
|
const n = /* @__PURE__ */ new Set();
|
|
1032
1057
|
function i(a) {
|
|
1033
|
-
if (
|
|
1034
|
-
const u = !
|
|
1058
|
+
if (Ir(e, a) && (e = a, r)) {
|
|
1059
|
+
const u = !He.length;
|
|
1035
1060
|
for (const l of n)
|
|
1036
|
-
l[1](),
|
|
1061
|
+
l[1](), He.push(l, e);
|
|
1037
1062
|
if (u) {
|
|
1038
|
-
for (let l = 0; l <
|
|
1039
|
-
|
|
1040
|
-
|
|
1063
|
+
for (let l = 0; l < He.length; l += 2)
|
|
1064
|
+
He[l][0](He[l + 1]);
|
|
1065
|
+
He.length = 0;
|
|
1041
1066
|
}
|
|
1042
1067
|
}
|
|
1043
1068
|
}
|
|
@@ -1052,12 +1077,12 @@ function dt(e, t = Z) {
|
|
|
1052
1077
|
}
|
|
1053
1078
|
return { set: i, update: o, subscribe: s };
|
|
1054
1079
|
}
|
|
1055
|
-
function
|
|
1080
|
+
function Re(e, t, r) {
|
|
1056
1081
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1057
1082
|
if (!i.every(Boolean))
|
|
1058
1083
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1059
1084
|
const o = t.length < 2;
|
|
1060
|
-
return
|
|
1085
|
+
return ni(r, (s, a) => {
|
|
1061
1086
|
let u = !1;
|
|
1062
1087
|
const l = [];
|
|
1063
1088
|
let c = 0, f = Z;
|
|
@@ -1066,12 +1091,12 @@ function Me(e, t, r) {
|
|
|
1066
1091
|
return;
|
|
1067
1092
|
f();
|
|
1068
1093
|
const y = t(n ? l[0] : l, s, a);
|
|
1069
|
-
o ? s(y) : f =
|
|
1094
|
+
o ? s(y) : f = $t(y) ? y : Z;
|
|
1070
1095
|
}, b = i.map(
|
|
1071
|
-
(y, g) =>
|
|
1096
|
+
(y, g) => Cr(
|
|
1072
1097
|
y,
|
|
1073
|
-
(
|
|
1074
|
-
l[g] =
|
|
1098
|
+
(S) => {
|
|
1099
|
+
l[g] = S, c &= ~(1 << g), u && d();
|
|
1075
1100
|
},
|
|
1076
1101
|
() => {
|
|
1077
1102
|
c |= 1 << g;
|
|
@@ -1079,116 +1104,116 @@ function Me(e, t, r) {
|
|
|
1079
1104
|
)
|
|
1080
1105
|
);
|
|
1081
1106
|
return u = !0, d(), function() {
|
|
1082
|
-
|
|
1107
|
+
Ne(b), f(), u = !1;
|
|
1083
1108
|
};
|
|
1084
1109
|
});
|
|
1085
1110
|
}
|
|
1086
|
-
function
|
|
1111
|
+
function ii(e) {
|
|
1087
1112
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1088
1113
|
}
|
|
1089
|
-
var
|
|
1090
|
-
return
|
|
1114
|
+
var oi = function(t) {
|
|
1115
|
+
return si(t) && !ai(t);
|
|
1091
1116
|
};
|
|
1092
|
-
function
|
|
1117
|
+
function si(e) {
|
|
1093
1118
|
return !!e && typeof e == "object";
|
|
1094
1119
|
}
|
|
1095
|
-
function
|
|
1120
|
+
function ai(e) {
|
|
1096
1121
|
var t = Object.prototype.toString.call(e);
|
|
1097
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1122
|
+
return t === "[object RegExp]" || t === "[object Date]" || ci(e);
|
|
1098
1123
|
}
|
|
1099
|
-
var
|
|
1100
|
-
function
|
|
1101
|
-
return e.$$typeof ===
|
|
1124
|
+
var li = typeof Symbol == "function" && Symbol.for, ui = li ? Symbol.for("react.element") : 60103;
|
|
1125
|
+
function ci(e) {
|
|
1126
|
+
return e.$$typeof === ui;
|
|
1102
1127
|
}
|
|
1103
|
-
function
|
|
1128
|
+
function hi(e) {
|
|
1104
1129
|
return Array.isArray(e) ? [] : {};
|
|
1105
1130
|
}
|
|
1106
|
-
function
|
|
1107
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1131
|
+
function We(e, t) {
|
|
1132
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ce(hi(e), e, t) : e;
|
|
1108
1133
|
}
|
|
1109
|
-
function
|
|
1134
|
+
function fi(e, t, r) {
|
|
1110
1135
|
return e.concat(t).map(function(n) {
|
|
1111
|
-
return
|
|
1136
|
+
return We(n, r);
|
|
1112
1137
|
});
|
|
1113
1138
|
}
|
|
1114
|
-
function
|
|
1139
|
+
function di(e, t) {
|
|
1115
1140
|
if (!t.customMerge)
|
|
1116
|
-
return
|
|
1141
|
+
return Ce;
|
|
1117
1142
|
var r = t.customMerge(e);
|
|
1118
|
-
return typeof r == "function" ? r :
|
|
1143
|
+
return typeof r == "function" ? r : Ce;
|
|
1119
1144
|
}
|
|
1120
|
-
function
|
|
1145
|
+
function mi(e) {
|
|
1121
1146
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1122
1147
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1123
1148
|
}) : [];
|
|
1124
1149
|
}
|
|
1125
1150
|
function ur(e) {
|
|
1126
|
-
return Object.keys(e).concat(
|
|
1151
|
+
return Object.keys(e).concat(mi(e));
|
|
1127
1152
|
}
|
|
1128
|
-
function
|
|
1153
|
+
function kr(e, t) {
|
|
1129
1154
|
try {
|
|
1130
1155
|
return t in e;
|
|
1131
1156
|
} catch (r) {
|
|
1132
1157
|
return !1;
|
|
1133
1158
|
}
|
|
1134
1159
|
}
|
|
1135
|
-
function
|
|
1136
|
-
return
|
|
1160
|
+
function pi(e, t) {
|
|
1161
|
+
return kr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1137
1162
|
}
|
|
1138
|
-
function
|
|
1163
|
+
function gi(e, t, r) {
|
|
1139
1164
|
var n = {};
|
|
1140
1165
|
return r.isMergeableObject(e) && ur(e).forEach(function(i) {
|
|
1141
|
-
n[i] =
|
|
1166
|
+
n[i] = We(e[i], r);
|
|
1142
1167
|
}), ur(t).forEach(function(i) {
|
|
1143
|
-
|
|
1168
|
+
pi(e, i) || (kr(e, i) && r.isMergeableObject(t[i]) ? n[i] = di(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
|
|
1144
1169
|
}), n;
|
|
1145
1170
|
}
|
|
1146
|
-
function
|
|
1147
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1171
|
+
function Ce(e, t, r) {
|
|
1172
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = We;
|
|
1148
1173
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1149
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1174
|
+
return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) : We(t, r);
|
|
1150
1175
|
}
|
|
1151
|
-
|
|
1176
|
+
Ce.all = function(t, r) {
|
|
1152
1177
|
if (!Array.isArray(t))
|
|
1153
1178
|
throw new Error("first argument should be an array");
|
|
1154
1179
|
return t.reduce(function(n, i) {
|
|
1155
|
-
return
|
|
1180
|
+
return Ce(n, i, r);
|
|
1156
1181
|
}, {});
|
|
1157
1182
|
};
|
|
1158
|
-
var
|
|
1159
|
-
const
|
|
1183
|
+
var bi = Ce, vi = bi;
|
|
1184
|
+
const yi = /* @__PURE__ */ ii(vi);
|
|
1160
1185
|
function wt(e, t) {
|
|
1161
|
-
var r = t && t.cache ? t.cache :
|
|
1186
|
+
var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ei;
|
|
1162
1187
|
return i(e, {
|
|
1163
1188
|
cache: r,
|
|
1164
1189
|
serializer: n
|
|
1165
1190
|
});
|
|
1166
1191
|
}
|
|
1167
|
-
function
|
|
1192
|
+
function _i(e) {
|
|
1168
1193
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1169
1194
|
}
|
|
1170
1195
|
function Gr(e, t, r, n) {
|
|
1171
|
-
var i =
|
|
1196
|
+
var i = _i(n) ? n : r(n), o = t.get(i);
|
|
1172
1197
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1173
1198
|
}
|
|
1174
|
-
function
|
|
1199
|
+
function $r(e, t, r) {
|
|
1175
1200
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1176
1201
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1177
1202
|
}
|
|
1178
1203
|
function jt(e, t, r, n, i) {
|
|
1179
1204
|
return r.bind(t, e, n, i);
|
|
1180
1205
|
}
|
|
1181
|
-
function
|
|
1182
|
-
var r = e.length === 1 ? Gr :
|
|
1206
|
+
function Ei(e, t) {
|
|
1207
|
+
var r = e.length === 1 ? Gr : $r;
|
|
1183
1208
|
return jt(e, this, r, t.cache.create(), t.serializer);
|
|
1184
1209
|
}
|
|
1185
|
-
function
|
|
1186
|
-
return jt(e, this,
|
|
1210
|
+
function wi(e, t) {
|
|
1211
|
+
return jt(e, this, $r, t.cache.create(), t.serializer);
|
|
1187
1212
|
}
|
|
1188
|
-
function
|
|
1213
|
+
function xi(e, t) {
|
|
1189
1214
|
return jt(e, this, Gr, t.cache.create(), t.serializer);
|
|
1190
1215
|
}
|
|
1191
|
-
var
|
|
1216
|
+
var Si = function() {
|
|
1192
1217
|
return JSON.stringify(arguments);
|
|
1193
1218
|
};
|
|
1194
1219
|
function Vt() {
|
|
@@ -1200,13 +1225,13 @@ Vt.prototype.get = function(e) {
|
|
|
1200
1225
|
Vt.prototype.set = function(e, t) {
|
|
1201
1226
|
this.cache[e] = t;
|
|
1202
1227
|
};
|
|
1203
|
-
var
|
|
1228
|
+
var Pi = {
|
|
1204
1229
|
create: function() {
|
|
1205
1230
|
return new Vt();
|
|
1206
1231
|
}
|
|
1207
1232
|
}, xt = {
|
|
1208
|
-
variadic:
|
|
1209
|
-
monadic:
|
|
1233
|
+
variadic: wi,
|
|
1234
|
+
monadic: xi
|
|
1210
1235
|
}, _;
|
|
1211
1236
|
(function(e) {
|
|
1212
1237
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
@@ -1215,47 +1240,47 @@ var T;
|
|
|
1215
1240
|
(function(e) {
|
|
1216
1241
|
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";
|
|
1217
1242
|
})(T || (T = {}));
|
|
1218
|
-
var
|
|
1243
|
+
var Oe;
|
|
1219
1244
|
(function(e) {
|
|
1220
1245
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1221
|
-
})(
|
|
1246
|
+
})(Oe || (Oe = {}));
|
|
1222
1247
|
function cr(e) {
|
|
1223
1248
|
return e.type === T.literal;
|
|
1224
1249
|
}
|
|
1225
|
-
function
|
|
1250
|
+
function Ti(e) {
|
|
1226
1251
|
return e.type === T.argument;
|
|
1227
1252
|
}
|
|
1228
|
-
function
|
|
1253
|
+
function jr(e) {
|
|
1229
1254
|
return e.type === T.number;
|
|
1230
1255
|
}
|
|
1231
|
-
function
|
|
1256
|
+
function Vr(e) {
|
|
1232
1257
|
return e.type === T.date;
|
|
1233
1258
|
}
|
|
1234
|
-
function
|
|
1259
|
+
function zr(e) {
|
|
1235
1260
|
return e.type === T.time;
|
|
1236
1261
|
}
|
|
1237
|
-
function
|
|
1262
|
+
function Xr(e) {
|
|
1238
1263
|
return e.type === T.select;
|
|
1239
1264
|
}
|
|
1240
|
-
function
|
|
1265
|
+
function Wr(e) {
|
|
1241
1266
|
return e.type === T.plural;
|
|
1242
1267
|
}
|
|
1243
|
-
function
|
|
1268
|
+
function Hi(e) {
|
|
1244
1269
|
return e.type === T.pound;
|
|
1245
1270
|
}
|
|
1246
|
-
function
|
|
1271
|
+
function Zr(e) {
|
|
1247
1272
|
return e.type === T.tag;
|
|
1248
1273
|
}
|
|
1249
|
-
function
|
|
1250
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1274
|
+
function qr(e) {
|
|
1275
|
+
return !!(e && typeof e == "object" && e.type === Oe.number);
|
|
1251
1276
|
}
|
|
1252
1277
|
function Mt(e) {
|
|
1253
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1278
|
+
return !!(e && typeof e == "object" && e.type === Oe.dateTime);
|
|
1254
1279
|
}
|
|
1255
|
-
var
|
|
1256
|
-
function
|
|
1280
|
+
var Jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bi = /(?:[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;
|
|
1281
|
+
function Ai(e) {
|
|
1257
1282
|
var t = {};
|
|
1258
|
-
return e.replace(
|
|
1283
|
+
return e.replace(Bi, function(r) {
|
|
1259
1284
|
var n = r.length;
|
|
1260
1285
|
switch (r[0]) {
|
|
1261
1286
|
case "G":
|
|
@@ -1344,11 +1369,11 @@ function Oi(e) {
|
|
|
1344
1369
|
return "";
|
|
1345
1370
|
}), t;
|
|
1346
1371
|
}
|
|
1347
|
-
var
|
|
1348
|
-
function
|
|
1372
|
+
var Ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1373
|
+
function Ci(e) {
|
|
1349
1374
|
if (e.length === 0)
|
|
1350
1375
|
throw new Error("Number skeleton cannot be empty");
|
|
1351
|
-
for (var t = e.split(
|
|
1376
|
+
for (var t = e.split(Ii).filter(function(d) {
|
|
1352
1377
|
return d.length > 0;
|
|
1353
1378
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1354
1379
|
var o = i[n], s = o.split("/");
|
|
@@ -1363,17 +1388,17 @@ function Mi(e) {
|
|
|
1363
1388
|
}
|
|
1364
1389
|
return r;
|
|
1365
1390
|
}
|
|
1366
|
-
function
|
|
1391
|
+
function Oi(e) {
|
|
1367
1392
|
return e.replace(/^(.*?)-/, "");
|
|
1368
1393
|
}
|
|
1369
|
-
var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1394
|
+
var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qr = /^(@+)?(\+|#+)?[rs]?$/g, Li = /(\*)(0+)|(#+)(0+)|(0+)/g, Yr = /^(0+)$/;
|
|
1370
1395
|
function fr(e) {
|
|
1371
1396
|
var t = {};
|
|
1372
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1397
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qr, function(r, n, i) {
|
|
1373
1398
|
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)), "";
|
|
1374
1399
|
}), t;
|
|
1375
1400
|
}
|
|
1376
|
-
function
|
|
1401
|
+
function Kr(e) {
|
|
1377
1402
|
switch (e) {
|
|
1378
1403
|
case "sign-auto":
|
|
1379
1404
|
return {
|
|
@@ -1413,7 +1438,7 @@ function en(e) {
|
|
|
1413
1438
|
};
|
|
1414
1439
|
}
|
|
1415
1440
|
}
|
|
1416
|
-
function
|
|
1441
|
+
function Mi(e) {
|
|
1417
1442
|
var t;
|
|
1418
1443
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1419
1444
|
notation: "engineering"
|
|
@@ -1421,17 +1446,17 @@ function Ui(e) {
|
|
|
1421
1446
|
notation: "scientific"
|
|
1422
1447
|
}, e = e.slice(1)), t) {
|
|
1423
1448
|
var r = e.slice(0, 2);
|
|
1424
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1449
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yr.test(e))
|
|
1425
1450
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1426
1451
|
t.minimumIntegerDigits = e.length;
|
|
1427
1452
|
}
|
|
1428
1453
|
return t;
|
|
1429
1454
|
}
|
|
1430
1455
|
function dr(e) {
|
|
1431
|
-
var t = {}, r =
|
|
1456
|
+
var t = {}, r = Kr(e);
|
|
1432
1457
|
return r || t;
|
|
1433
1458
|
}
|
|
1434
|
-
function
|
|
1459
|
+
function Ni(e) {
|
|
1435
1460
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1436
1461
|
var i = n[r];
|
|
1437
1462
|
switch (i.stem) {
|
|
@@ -1455,7 +1480,7 @@ function Fi(e) {
|
|
|
1455
1480
|
continue;
|
|
1456
1481
|
case "measure-unit":
|
|
1457
1482
|
case "unit":
|
|
1458
|
-
t.style = "unit", t.unit =
|
|
1483
|
+
t.style = "unit", t.unit = Oi(i.options[0]);
|
|
1459
1484
|
continue;
|
|
1460
1485
|
case "compact-short":
|
|
1461
1486
|
case "K":
|
|
@@ -1517,7 +1542,7 @@ function Fi(e) {
|
|
|
1517
1542
|
case "integer-width":
|
|
1518
1543
|
if (i.options.length > 1)
|
|
1519
1544
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1520
|
-
i.options[0].replace(
|
|
1545
|
+
i.options[0].replace(Li, function(u, l, c, f, d, b) {
|
|
1521
1546
|
if (l)
|
|
1522
1547
|
t.minimumIntegerDigits = c.length;
|
|
1523
1548
|
else {
|
|
@@ -1530,7 +1555,7 @@ function Fi(e) {
|
|
|
1530
1555
|
});
|
|
1531
1556
|
continue;
|
|
1532
1557
|
}
|
|
1533
|
-
if (
|
|
1558
|
+
if (Yr.test(i.stem)) {
|
|
1534
1559
|
t.minimumIntegerDigits = i.stem.length;
|
|
1535
1560
|
continue;
|
|
1536
1561
|
}
|
|
@@ -1544,13 +1569,13 @@ function Fi(e) {
|
|
|
1544
1569
|
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), fr(o)));
|
|
1545
1570
|
continue;
|
|
1546
1571
|
}
|
|
1547
|
-
if (
|
|
1572
|
+
if (Qr.test(i.stem)) {
|
|
1548
1573
|
t = w(w({}, t), fr(i.stem));
|
|
1549
1574
|
continue;
|
|
1550
1575
|
}
|
|
1551
|
-
var s =
|
|
1576
|
+
var s = Kr(i.stem);
|
|
1552
1577
|
s && (t = w(w({}, t), s));
|
|
1553
|
-
var a =
|
|
1578
|
+
var a = Mi(i.stem);
|
|
1554
1579
|
a && (t = w(w({}, t), a));
|
|
1555
1580
|
}
|
|
1556
1581
|
return t;
|
|
@@ -2970,22 +2995,23 @@ var it = {
|
|
|
2970
2995
|
"h"
|
|
2971
2996
|
]
|
|
2972
2997
|
};
|
|
2973
|
-
function
|
|
2998
|
+
function Ri(e, t) {
|
|
2974
2999
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2975
3000
|
var i = e.charAt(n);
|
|
2976
3001
|
if (i === "j") {
|
|
2977
3002
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2978
3003
|
o++, n++;
|
|
2979
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
3004
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ui(t);
|
|
2980
3005
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2981
3006
|
r += u;
|
|
2982
3007
|
for (; s-- > 0; )
|
|
2983
3008
|
r = l + r;
|
|
2984
|
-
} else
|
|
3009
|
+
} else
|
|
3010
|
+
i === "J" ? r += "H" : r += i;
|
|
2985
3011
|
}
|
|
2986
3012
|
return r;
|
|
2987
3013
|
}
|
|
2988
|
-
function
|
|
3014
|
+
function Ui(e) {
|
|
2989
3015
|
var t = e.hourCycle;
|
|
2990
3016
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2991
3017
|
e.hourCycles && // @ts-ignore
|
|
@@ -3007,20 +3033,20 @@ function ki(e) {
|
|
|
3007
3033
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
3008
3034
|
return i[0];
|
|
3009
3035
|
}
|
|
3010
|
-
var St,
|
|
3036
|
+
var St, Fi = new RegExp("^".concat(Jr.source, "*")), Di = new RegExp("".concat(Jr.source, "*$"));
|
|
3011
3037
|
function E(e, t) {
|
|
3012
3038
|
return { start: e, end: t };
|
|
3013
3039
|
}
|
|
3014
|
-
var
|
|
3040
|
+
var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, $i = !!Object.fromEntries, ji = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
|
|
3015
3041
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3016
3042
|
}, Nt = !0;
|
|
3017
3043
|
try {
|
|
3018
|
-
var
|
|
3019
|
-
Nt = ((St =
|
|
3044
|
+
var Zi = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3045
|
+
Nt = ((St = Zi.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
|
|
3020
3046
|
} catch (e) {
|
|
3021
3047
|
Nt = !1;
|
|
3022
3048
|
}
|
|
3023
|
-
var mr =
|
|
3049
|
+
var mr = ki ? (
|
|
3024
3050
|
// Native
|
|
3025
3051
|
function(t, r, n) {
|
|
3026
3052
|
return t.startsWith(r, n);
|
|
@@ -3030,7 +3056,7 @@ var mr = ji ? (
|
|
|
3030
3056
|
function(t, r, n) {
|
|
3031
3057
|
return t.slice(n, n + r.length) === r;
|
|
3032
3058
|
}
|
|
3033
|
-
), Rt =
|
|
3059
|
+
), Rt = Gi ? String.fromCodePoint : (
|
|
3034
3060
|
// IE11
|
|
3035
3061
|
function() {
|
|
3036
3062
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3044,7 +3070,7 @@ var mr = ji ? (
|
|
|
3044
3070
|
}
|
|
3045
3071
|
), pr = (
|
|
3046
3072
|
// native
|
|
3047
|
-
|
|
3073
|
+
$i ? Object.fromEntries : (
|
|
3048
3074
|
// Ponyfill
|
|
3049
3075
|
function(t) {
|
|
3050
3076
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3054,7 +3080,7 @@ var mr = ji ? (
|
|
|
3054
3080
|
return r;
|
|
3055
3081
|
}
|
|
3056
3082
|
)
|
|
3057
|
-
),
|
|
3083
|
+
), en = ji ? (
|
|
3058
3084
|
// Native
|
|
3059
3085
|
function(t, r) {
|
|
3060
3086
|
return t.codePointAt(r);
|
|
@@ -3068,7 +3094,7 @@ var mr = ji ? (
|
|
|
3068
3094
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3069
3095
|
}
|
|
3070
3096
|
}
|
|
3071
|
-
),
|
|
3097
|
+
), qi = Vi ? (
|
|
3072
3098
|
// Native
|
|
3073
3099
|
function(t) {
|
|
3074
3100
|
return t.trimStart();
|
|
@@ -3076,9 +3102,9 @@ var mr = ji ? (
|
|
|
3076
3102
|
) : (
|
|
3077
3103
|
// Ponyfill
|
|
3078
3104
|
function(t) {
|
|
3079
|
-
return t.replace(
|
|
3105
|
+
return t.replace(Fi, "");
|
|
3080
3106
|
}
|
|
3081
|
-
),
|
|
3107
|
+
), Ji = zi ? (
|
|
3082
3108
|
// Native
|
|
3083
3109
|
function(t) {
|
|
3084
3110
|
return t.trimEnd();
|
|
@@ -3086,15 +3112,15 @@ var mr = ji ? (
|
|
|
3086
3112
|
) : (
|
|
3087
3113
|
// Ponyfill
|
|
3088
3114
|
function(t) {
|
|
3089
|
-
return t.replace(
|
|
3115
|
+
return t.replace(Di, "");
|
|
3090
3116
|
}
|
|
3091
3117
|
);
|
|
3092
|
-
function
|
|
3118
|
+
function tn(e, t) {
|
|
3093
3119
|
return new RegExp(e, t);
|
|
3094
3120
|
}
|
|
3095
3121
|
var Ut;
|
|
3096
3122
|
if (Nt) {
|
|
3097
|
-
var gr =
|
|
3123
|
+
var gr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3098
3124
|
Ut = function(t, r) {
|
|
3099
3125
|
var n;
|
|
3100
3126
|
gr.lastIndex = r;
|
|
@@ -3104,14 +3130,14 @@ if (Nt) {
|
|
|
3104
3130
|
} else
|
|
3105
3131
|
Ut = function(t, r) {
|
|
3106
3132
|
for (var n = []; ; ) {
|
|
3107
|
-
var i =
|
|
3108
|
-
if (i === void 0 ||
|
|
3133
|
+
var i = en(t, r);
|
|
3134
|
+
if (i === void 0 || rn(i) || eo(i))
|
|
3109
3135
|
break;
|
|
3110
3136
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3111
3137
|
}
|
|
3112
3138
|
return Rt.apply(void 0, n);
|
|
3113
3139
|
};
|
|
3114
|
-
var
|
|
3140
|
+
var Qi = (
|
|
3115
3141
|
/** @class */
|
|
3116
3142
|
function() {
|
|
3117
3143
|
function e(t, r) {
|
|
@@ -3193,7 +3219,7 @@ var eo = (
|
|
|
3193
3219
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3194
3220
|
}, e.prototype.parseTagName = function() {
|
|
3195
3221
|
var t = this.offset();
|
|
3196
|
-
for (this.bump(); !this.isEOF() &&
|
|
3222
|
+
for (this.bump(); !this.isEOF() && Ki(this.char()); )
|
|
3197
3223
|
this.bump();
|
|
3198
3224
|
return this.message.slice(t, this.offset());
|
|
3199
3225
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3222,7 +3248,7 @@ var eo = (
|
|
|
3222
3248
|
};
|
|
3223
3249
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3224
3250
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3225
|
-
!
|
|
3251
|
+
!Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3226
3252
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3227
3253
|
if (this.isEOF() || this.char() !== 39)
|
|
3228
3254
|
return null;
|
|
@@ -3309,7 +3335,7 @@ var eo = (
|
|
|
3309
3335
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3310
3336
|
if (f.err)
|
|
3311
3337
|
return f;
|
|
3312
|
-
var d =
|
|
3338
|
+
var d = Ji(f.val);
|
|
3313
3339
|
if (d.length === 0)
|
|
3314
3340
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3315
3341
|
var b = E(c, this.clonePosition());
|
|
@@ -3320,26 +3346,26 @@ var eo = (
|
|
|
3320
3346
|
return y;
|
|
3321
3347
|
var g = E(i, this.clonePosition());
|
|
3322
3348
|
if (l && mr(l == null ? void 0 : l.style, "::", 0)) {
|
|
3323
|
-
var
|
|
3349
|
+
var S = qi(l.style.slice(2));
|
|
3324
3350
|
if (a === "number") {
|
|
3325
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3351
|
+
var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
|
3326
3352
|
return f.err ? f : {
|
|
3327
3353
|
val: { type: T.number, value: n, location: g, style: f.val },
|
|
3328
3354
|
err: null
|
|
3329
3355
|
};
|
|
3330
3356
|
} else {
|
|
3331
|
-
if (
|
|
3357
|
+
if (S.length === 0)
|
|
3332
3358
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3333
|
-
var
|
|
3334
|
-
this.locale && (
|
|
3359
|
+
var C = S;
|
|
3360
|
+
this.locale && (C = Ri(S, this.locale));
|
|
3335
3361
|
var d = {
|
|
3336
|
-
type:
|
|
3337
|
-
pattern:
|
|
3362
|
+
type: Oe.dateTime,
|
|
3363
|
+
pattern: C,
|
|
3338
3364
|
location: l.styleLocation,
|
|
3339
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3340
|
-
},
|
|
3365
|
+
parsedOptions: this.shouldParseSkeletons ? Ai(C) : {}
|
|
3366
|
+
}, z = a === "date" ? T.date : T.time;
|
|
3341
3367
|
return {
|
|
3342
|
-
val: { type:
|
|
3368
|
+
val: { type: z, value: n, location: g, style: d },
|
|
3343
3369
|
err: null
|
|
3344
3370
|
};
|
|
3345
3371
|
}
|
|
@@ -3357,43 +3383,43 @@ var eo = (
|
|
|
3357
3383
|
case "plural":
|
|
3358
3384
|
case "selectordinal":
|
|
3359
3385
|
case "select": {
|
|
3360
|
-
var
|
|
3386
|
+
var R = this.clonePosition();
|
|
3361
3387
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3362
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(
|
|
3388
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(R, w({}, R)));
|
|
3363
3389
|
this.bumpSpace();
|
|
3364
|
-
var
|
|
3365
|
-
if (a !== "select" &&
|
|
3390
|
+
var U = this.parseIdentifierIfPossible(), A = 0;
|
|
3391
|
+
if (a !== "select" && U.value === "offset") {
|
|
3366
3392
|
if (!this.bumpIf(":"))
|
|
3367
3393
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3368
3394
|
this.bumpSpace();
|
|
3369
3395
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3370
3396
|
if (f.err)
|
|
3371
3397
|
return f;
|
|
3372
|
-
this.bumpSpace(),
|
|
3398
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), A = f.val;
|
|
3373
3399
|
}
|
|
3374
|
-
var
|
|
3375
|
-
if (
|
|
3376
|
-
return
|
|
3400
|
+
var ne = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3401
|
+
if (ne.err)
|
|
3402
|
+
return ne;
|
|
3377
3403
|
var y = this.tryParseArgumentClose(i);
|
|
3378
3404
|
if (y.err)
|
|
3379
3405
|
return y;
|
|
3380
|
-
var
|
|
3406
|
+
var H = E(i, this.clonePosition());
|
|
3381
3407
|
return a === "select" ? {
|
|
3382
3408
|
val: {
|
|
3383
3409
|
type: T.select,
|
|
3384
3410
|
value: n,
|
|
3385
|
-
options: pr(
|
|
3386
|
-
location:
|
|
3411
|
+
options: pr(ne.val),
|
|
3412
|
+
location: H
|
|
3387
3413
|
},
|
|
3388
3414
|
err: null
|
|
3389
3415
|
} : {
|
|
3390
3416
|
val: {
|
|
3391
3417
|
type: T.plural,
|
|
3392
3418
|
value: n,
|
|
3393
|
-
options: pr(
|
|
3394
|
-
offset:
|
|
3419
|
+
options: pr(ne.val),
|
|
3420
|
+
offset: A,
|
|
3395
3421
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3396
|
-
location:
|
|
3422
|
+
location: H
|
|
3397
3423
|
},
|
|
3398
3424
|
err: null
|
|
3399
3425
|
};
|
|
@@ -3441,16 +3467,16 @@ var eo = (
|
|
|
3441
3467
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3442
3468
|
var n = [];
|
|
3443
3469
|
try {
|
|
3444
|
-
n =
|
|
3470
|
+
n = Ci(t);
|
|
3445
3471
|
} catch (i) {
|
|
3446
3472
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3447
3473
|
}
|
|
3448
3474
|
return {
|
|
3449
3475
|
val: {
|
|
3450
|
-
type:
|
|
3476
|
+
type: Oe.number,
|
|
3451
3477
|
tokens: n,
|
|
3452
3478
|
location: r,
|
|
3453
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3479
|
+
parsedOptions: this.shouldParseSkeletons ? Ni(n) : {}
|
|
3454
3480
|
},
|
|
3455
3481
|
err: null
|
|
3456
3482
|
};
|
|
@@ -3498,7 +3524,7 @@ var eo = (
|
|
|
3498
3524
|
break;
|
|
3499
3525
|
}
|
|
3500
3526
|
var u = E(i, this.clonePosition());
|
|
3501
|
-
return o ? (s *= n,
|
|
3527
|
+
return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3502
3528
|
}, e.prototype.offset = function() {
|
|
3503
3529
|
return this.position.offset;
|
|
3504
3530
|
}, e.prototype.isEOF = function() {
|
|
@@ -3513,7 +3539,7 @@ var eo = (
|
|
|
3513
3539
|
var t = this.position.offset;
|
|
3514
3540
|
if (t >= this.message.length)
|
|
3515
3541
|
throw Error("out of bound");
|
|
3516
|
-
var r =
|
|
3542
|
+
var r = en(this.message, t);
|
|
3517
3543
|
if (r === void 0)
|
|
3518
3544
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3519
3545
|
return r;
|
|
@@ -3554,7 +3580,7 @@ var eo = (
|
|
|
3554
3580
|
break;
|
|
3555
3581
|
}
|
|
3556
3582
|
}, e.prototype.bumpSpace = function() {
|
|
3557
|
-
for (; !this.isEOF() &&
|
|
3583
|
+
for (; !this.isEOF() && rn(this.char()); )
|
|
3558
3584
|
this.bump();
|
|
3559
3585
|
}, e.prototype.peek = function() {
|
|
3560
3586
|
if (this.isEOF())
|
|
@@ -3567,43 +3593,44 @@ var eo = (
|
|
|
3567
3593
|
function Ft(e) {
|
|
3568
3594
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3569
3595
|
}
|
|
3570
|
-
function
|
|
3596
|
+
function Yi(e) {
|
|
3571
3597
|
return Ft(e) || e === 47;
|
|
3572
3598
|
}
|
|
3573
|
-
function
|
|
3599
|
+
function Ki(e) {
|
|
3574
3600
|
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;
|
|
3575
3601
|
}
|
|
3576
|
-
function
|
|
3602
|
+
function rn(e) {
|
|
3577
3603
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3578
3604
|
}
|
|
3579
|
-
function
|
|
3605
|
+
function eo(e) {
|
|
3580
3606
|
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;
|
|
3581
3607
|
}
|
|
3582
3608
|
function Dt(e) {
|
|
3583
3609
|
e.forEach(function(t) {
|
|
3584
|
-
if (delete t.location,
|
|
3610
|
+
if (delete t.location, Xr(t) || Wr(t))
|
|
3585
3611
|
for (var r in t.options)
|
|
3586
3612
|
delete t.options[r].location, Dt(t.options[r].value);
|
|
3587
|
-
else
|
|
3613
|
+
else
|
|
3614
|
+
jr(t) && qr(t.style) || (Vr(t) || zr(t)) && Mt(t.style) ? delete t.style.location : Zr(t) && Dt(t.children);
|
|
3588
3615
|
});
|
|
3589
3616
|
}
|
|
3590
|
-
function
|
|
3617
|
+
function to(e, t) {
|
|
3591
3618
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3592
|
-
var r = new
|
|
3619
|
+
var r = new Qi(e, t).parse();
|
|
3593
3620
|
if (r.err) {
|
|
3594
3621
|
var n = SyntaxError(_[r.err.kind]);
|
|
3595
3622
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3596
3623
|
}
|
|
3597
3624
|
return t != null && t.captureLocation || Dt(r.val), r.val;
|
|
3598
3625
|
}
|
|
3599
|
-
var
|
|
3626
|
+
var Le;
|
|
3600
3627
|
(function(e) {
|
|
3601
3628
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3602
|
-
})(
|
|
3629
|
+
})(Le || (Le = {}));
|
|
3603
3630
|
var mt = (
|
|
3604
3631
|
/** @class */
|
|
3605
3632
|
function(e) {
|
|
3606
|
-
|
|
3633
|
+
le(t, e);
|
|
3607
3634
|
function t(r, n, i) {
|
|
3608
3635
|
var o = e.call(this, r) || this;
|
|
3609
3636
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3615,48 +3642,48 @@ var mt = (
|
|
|
3615
3642
|
), br = (
|
|
3616
3643
|
/** @class */
|
|
3617
3644
|
function(e) {
|
|
3618
|
-
|
|
3645
|
+
le(t, e);
|
|
3619
3646
|
function t(r, n, i, o) {
|
|
3620
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3647
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
|
|
3621
3648
|
}
|
|
3622
3649
|
return t;
|
|
3623
3650
|
}(mt)
|
|
3624
|
-
),
|
|
3651
|
+
), ro = (
|
|
3625
3652
|
/** @class */
|
|
3626
3653
|
function(e) {
|
|
3627
|
-
|
|
3654
|
+
le(t, e);
|
|
3628
3655
|
function t(r, n, i) {
|
|
3629
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3656
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
|
|
3630
3657
|
}
|
|
3631
3658
|
return t;
|
|
3632
3659
|
}(mt)
|
|
3633
|
-
),
|
|
3660
|
+
), no = (
|
|
3634
3661
|
/** @class */
|
|
3635
3662
|
function(e) {
|
|
3636
|
-
|
|
3663
|
+
le(t, e);
|
|
3637
3664
|
function t(r, n) {
|
|
3638
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3665
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
|
|
3639
3666
|
}
|
|
3640
3667
|
return t;
|
|
3641
3668
|
}(mt)
|
|
3642
|
-
),
|
|
3669
|
+
), V;
|
|
3643
3670
|
(function(e) {
|
|
3644
3671
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3645
|
-
})(
|
|
3646
|
-
function
|
|
3672
|
+
})(V || (V = {}));
|
|
3673
|
+
function io(e) {
|
|
3647
3674
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3648
3675
|
var n = t[t.length - 1];
|
|
3649
|
-
return !n || n.type !==
|
|
3676
|
+
return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
|
|
3650
3677
|
}, []);
|
|
3651
3678
|
}
|
|
3652
|
-
function
|
|
3679
|
+
function oo(e) {
|
|
3653
3680
|
return typeof e == "function";
|
|
3654
3681
|
}
|
|
3655
3682
|
function at(e, t, r, n, i, o, s) {
|
|
3656
3683
|
if (e.length === 1 && cr(e[0]))
|
|
3657
3684
|
return [
|
|
3658
3685
|
{
|
|
3659
|
-
type:
|
|
3686
|
+
type: V.literal,
|
|
3660
3687
|
value: e[0].value
|
|
3661
3688
|
}
|
|
3662
3689
|
];
|
|
@@ -3664,100 +3691,100 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3664
3691
|
var c = l[u];
|
|
3665
3692
|
if (cr(c)) {
|
|
3666
3693
|
a.push({
|
|
3667
|
-
type:
|
|
3694
|
+
type: V.literal,
|
|
3668
3695
|
value: c.value
|
|
3669
3696
|
});
|
|
3670
3697
|
continue;
|
|
3671
3698
|
}
|
|
3672
|
-
if (
|
|
3699
|
+
if (Hi(c)) {
|
|
3673
3700
|
typeof o == "number" && a.push({
|
|
3674
|
-
type:
|
|
3701
|
+
type: V.literal,
|
|
3675
3702
|
value: r.getNumberFormat(t).format(o)
|
|
3676
3703
|
});
|
|
3677
3704
|
continue;
|
|
3678
3705
|
}
|
|
3679
3706
|
var f = c.value;
|
|
3680
3707
|
if (!(i && f in i))
|
|
3681
|
-
throw new
|
|
3708
|
+
throw new no(f, s);
|
|
3682
3709
|
var d = i[f];
|
|
3683
|
-
if (
|
|
3710
|
+
if (Ti(c)) {
|
|
3684
3711
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3685
|
-
type: typeof d == "string" ?
|
|
3712
|
+
type: typeof d == "string" ? V.literal : V.object,
|
|
3686
3713
|
value: d
|
|
3687
3714
|
});
|
|
3688
3715
|
continue;
|
|
3689
3716
|
}
|
|
3690
|
-
if (
|
|
3717
|
+
if (Vr(c)) {
|
|
3691
3718
|
var b = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
|
|
3692
3719
|
a.push({
|
|
3693
|
-
type:
|
|
3720
|
+
type: V.literal,
|
|
3694
3721
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3695
3722
|
});
|
|
3696
3723
|
continue;
|
|
3697
3724
|
}
|
|
3698
|
-
if (
|
|
3725
|
+
if (zr(c)) {
|
|
3699
3726
|
var b = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3700
3727
|
a.push({
|
|
3701
|
-
type:
|
|
3728
|
+
type: V.literal,
|
|
3702
3729
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3703
3730
|
});
|
|
3704
3731
|
continue;
|
|
3705
3732
|
}
|
|
3706
|
-
if (
|
|
3707
|
-
var b = typeof c.style == "string" ? n.number[c.style] :
|
|
3733
|
+
if (jr(c)) {
|
|
3734
|
+
var b = typeof c.style == "string" ? n.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
|
|
3708
3735
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3709
|
-
type:
|
|
3736
|
+
type: V.literal,
|
|
3710
3737
|
value: r.getNumberFormat(t, b).format(d)
|
|
3711
3738
|
});
|
|
3712
3739
|
continue;
|
|
3713
3740
|
}
|
|
3714
|
-
if (
|
|
3715
|
-
var y = c.children, g = c.value,
|
|
3716
|
-
if (!
|
|
3717
|
-
throw new
|
|
3718
|
-
var
|
|
3719
|
-
return
|
|
3741
|
+
if (Zr(c)) {
|
|
3742
|
+
var y = c.children, g = c.value, S = i[g];
|
|
3743
|
+
if (!oo(S))
|
|
3744
|
+
throw new ro(g, "function", s);
|
|
3745
|
+
var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
|
|
3746
|
+
return A.value;
|
|
3720
3747
|
}));
|
|
3721
|
-
Array.isArray(
|
|
3748
|
+
Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
|
|
3722
3749
|
return {
|
|
3723
|
-
type: typeof
|
|
3724
|
-
value:
|
|
3750
|
+
type: typeof A == "string" ? V.literal : V.object,
|
|
3751
|
+
value: A
|
|
3725
3752
|
};
|
|
3726
3753
|
}));
|
|
3727
3754
|
}
|
|
3728
|
-
if (
|
|
3729
|
-
var
|
|
3730
|
-
if (!
|
|
3755
|
+
if (Xr(c)) {
|
|
3756
|
+
var R = c.options[d] || c.options.other;
|
|
3757
|
+
if (!R)
|
|
3731
3758
|
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3732
|
-
a.push.apply(a, at(
|
|
3759
|
+
a.push.apply(a, at(R.value, t, r, n, i));
|
|
3733
3760
|
continue;
|
|
3734
3761
|
}
|
|
3735
|
-
if (
|
|
3736
|
-
var
|
|
3737
|
-
if (!
|
|
3762
|
+
if (Wr(c)) {
|
|
3763
|
+
var R = c.options["=".concat(d)];
|
|
3764
|
+
if (!R) {
|
|
3738
3765
|
if (!Intl.PluralRules)
|
|
3739
3766
|
throw new mt(`Intl.PluralRules is not available in this environment.
|
|
3740
3767
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3741
|
-
`,
|
|
3742
|
-
var
|
|
3743
|
-
|
|
3768
|
+
`, Le.MISSING_INTL_API, s);
|
|
3769
|
+
var U = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
|
|
3770
|
+
R = c.options[U] || c.options.other;
|
|
3744
3771
|
}
|
|
3745
|
-
if (!
|
|
3772
|
+
if (!R)
|
|
3746
3773
|
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3747
|
-
a.push.apply(a, at(
|
|
3774
|
+
a.push.apply(a, at(R.value, t, r, n, i, d - (c.offset || 0)));
|
|
3748
3775
|
continue;
|
|
3749
3776
|
}
|
|
3750
3777
|
}
|
|
3751
|
-
return
|
|
3778
|
+
return io(a);
|
|
3752
3779
|
}
|
|
3753
|
-
function
|
|
3780
|
+
function so(e, t) {
|
|
3754
3781
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3755
3782
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3756
3783
|
}, {})) : e;
|
|
3757
3784
|
}
|
|
3758
|
-
function
|
|
3785
|
+
function ao(e, t) {
|
|
3759
3786
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3760
|
-
return r[n] =
|
|
3787
|
+
return r[n] = so(e[n], t[n]), r;
|
|
3761
3788
|
}, w({}, e)) : e;
|
|
3762
3789
|
}
|
|
3763
3790
|
function Pt(e) {
|
|
@@ -3774,7 +3801,7 @@ function Pt(e) {
|
|
|
3774
3801
|
}
|
|
3775
3802
|
};
|
|
3776
3803
|
}
|
|
3777
|
-
function
|
|
3804
|
+
function lo(e) {
|
|
3778
3805
|
return e === void 0 && (e = {
|
|
3779
3806
|
number: {},
|
|
3780
3807
|
dateTime: {},
|
|
@@ -3783,7 +3810,7 @@ function ho(e) {
|
|
|
3783
3810
|
getNumberFormat: wt(function() {
|
|
3784
3811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3785
3812
|
r[n] = arguments[n];
|
|
3786
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3813
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3787
3814
|
}, {
|
|
3788
3815
|
cache: Pt(e.number),
|
|
3789
3816
|
strategy: xt.variadic
|
|
@@ -3791,7 +3818,7 @@ function ho(e) {
|
|
|
3791
3818
|
getDateTimeFormat: wt(function() {
|
|
3792
3819
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3793
3820
|
r[n] = arguments[n];
|
|
3794
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3821
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3795
3822
|
}, {
|
|
3796
3823
|
cache: Pt(e.dateTime),
|
|
3797
3824
|
strategy: xt.variadic
|
|
@@ -3799,14 +3826,14 @@ function ho(e) {
|
|
|
3799
3826
|
getPluralRules: wt(function() {
|
|
3800
3827
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3801
3828
|
r[n] = arguments[n];
|
|
3802
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3829
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3803
3830
|
}, {
|
|
3804
3831
|
cache: Pt(e.pluralRules),
|
|
3805
3832
|
strategy: xt.variadic
|
|
3806
3833
|
})
|
|
3807
3834
|
};
|
|
3808
3835
|
}
|
|
3809
|
-
var
|
|
3836
|
+
var uo = (
|
|
3810
3837
|
/** @class */
|
|
3811
3838
|
function() {
|
|
3812
3839
|
function e(t, r, n, i) {
|
|
@@ -3821,7 +3848,7 @@ var fo = (
|
|
|
3821
3848
|
if (l.length === 1)
|
|
3822
3849
|
return l[0].value;
|
|
3823
3850
|
var c = l.reduce(function(f, d) {
|
|
3824
|
-
return !f.length || d.type !==
|
|
3851
|
+
return !f.length || d.type !== V.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
|
|
3825
3852
|
}, []);
|
|
3826
3853
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3827
3854
|
}, this.formatToParts = function(u) {
|
|
@@ -3838,13 +3865,13 @@ var fo = (
|
|
|
3838
3865
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3839
3866
|
var s = i || {};
|
|
3840
3867
|
s.formatters;
|
|
3841
|
-
var a =
|
|
3868
|
+
var a = $n(s, ["formatters"]);
|
|
3842
3869
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3843
3870
|
} else
|
|
3844
3871
|
this.ast = t;
|
|
3845
3872
|
if (!Array.isArray(this.ast))
|
|
3846
3873
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3847
|
-
this.formats =
|
|
3874
|
+
this.formats = ao(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
|
|
3848
3875
|
}
|
|
3849
3876
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3850
3877
|
get: function() {
|
|
@@ -3857,7 +3884,7 @@ var fo = (
|
|
|
3857
3884
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3858
3885
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3859
3886
|
}
|
|
3860
|
-
}, e.__parse =
|
|
3887
|
+
}, e.__parse = to, e.formats = {
|
|
3861
3888
|
number: {
|
|
3862
3889
|
integer: {
|
|
3863
3890
|
maximumFractionDigits: 0
|
|
@@ -3918,7 +3945,7 @@ var fo = (
|
|
|
3918
3945
|
}, e;
|
|
3919
3946
|
}()
|
|
3920
3947
|
);
|
|
3921
|
-
function
|
|
3948
|
+
function co(e, t) {
|
|
3922
3949
|
if (t == null)
|
|
3923
3950
|
return;
|
|
3924
3951
|
if (t in e)
|
|
@@ -3939,60 +3966,60 @@ function mo(e, t) {
|
|
|
3939
3966
|
n = void 0;
|
|
3940
3967
|
return n;
|
|
3941
3968
|
}
|
|
3942
|
-
const
|
|
3969
|
+
const ce = {}, ho = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), nn = (e, t) => {
|
|
3943
3970
|
if (t == null)
|
|
3944
3971
|
return;
|
|
3945
|
-
if (t in
|
|
3946
|
-
return
|
|
3972
|
+
if (t in ce && e in ce[t])
|
|
3973
|
+
return ce[t][e];
|
|
3947
3974
|
const r = pt(t);
|
|
3948
3975
|
for (let n = 0; n < r.length; n++) {
|
|
3949
|
-
const i = r[n], o =
|
|
3976
|
+
const i = r[n], o = mo(i, e);
|
|
3950
3977
|
if (o)
|
|
3951
|
-
return
|
|
3978
|
+
return ho(e, t, o);
|
|
3952
3979
|
}
|
|
3953
3980
|
};
|
|
3954
3981
|
let zt;
|
|
3955
|
-
const
|
|
3956
|
-
function
|
|
3982
|
+
const Ue = dt({});
|
|
3983
|
+
function fo(e) {
|
|
3957
3984
|
return zt[e] || null;
|
|
3958
3985
|
}
|
|
3959
|
-
function
|
|
3986
|
+
function on(e) {
|
|
3960
3987
|
return e in zt;
|
|
3961
3988
|
}
|
|
3962
|
-
function
|
|
3963
|
-
if (!
|
|
3989
|
+
function mo(e, t) {
|
|
3990
|
+
if (!on(e))
|
|
3964
3991
|
return null;
|
|
3965
|
-
const r =
|
|
3966
|
-
return
|
|
3992
|
+
const r = fo(e);
|
|
3993
|
+
return co(r, t);
|
|
3967
3994
|
}
|
|
3968
|
-
function
|
|
3995
|
+
function po(e) {
|
|
3969
3996
|
if (e == null)
|
|
3970
3997
|
return;
|
|
3971
3998
|
const t = pt(e);
|
|
3972
3999
|
for (let r = 0; r < t.length; r++) {
|
|
3973
4000
|
const n = t[r];
|
|
3974
|
-
if (
|
|
4001
|
+
if (on(n))
|
|
3975
4002
|
return n;
|
|
3976
4003
|
}
|
|
3977
4004
|
}
|
|
3978
|
-
function
|
|
3979
|
-
delete
|
|
4005
|
+
function sn(e, ...t) {
|
|
4006
|
+
delete ce[e], Ue.update((r) => (r[e] = yi.all([r[e] || {}, ...t]), r));
|
|
3980
4007
|
}
|
|
3981
|
-
|
|
3982
|
-
[
|
|
4008
|
+
Re(
|
|
4009
|
+
[Ue],
|
|
3983
4010
|
([e]) => Object.keys(e)
|
|
3984
4011
|
);
|
|
3985
|
-
|
|
4012
|
+
Ue.subscribe((e) => zt = e);
|
|
3986
4013
|
const lt = {};
|
|
3987
|
-
function
|
|
4014
|
+
function go(e, t) {
|
|
3988
4015
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
3989
4016
|
}
|
|
3990
|
-
function
|
|
4017
|
+
function an(e) {
|
|
3991
4018
|
return lt[e];
|
|
3992
4019
|
}
|
|
3993
|
-
function
|
|
4020
|
+
function bo(e) {
|
|
3994
4021
|
return pt(e).map((t) => {
|
|
3995
|
-
const r =
|
|
4022
|
+
const r = an(t);
|
|
3996
4023
|
return [t, r ? [...r] : []];
|
|
3997
4024
|
}).filter(([, t]) => t.length > 0);
|
|
3998
4025
|
}
|
|
@@ -4000,31 +4027,31 @@ function kt(e) {
|
|
|
4000
4027
|
return e == null ? !1 : pt(e).some(
|
|
4001
4028
|
(t) => {
|
|
4002
4029
|
var r;
|
|
4003
|
-
return (r =
|
|
4030
|
+
return (r = an(t)) == null ? void 0 : r.size;
|
|
4004
4031
|
}
|
|
4005
4032
|
);
|
|
4006
4033
|
}
|
|
4007
|
-
function
|
|
4034
|
+
function vo(e, t) {
|
|
4008
4035
|
return Promise.all(
|
|
4009
|
-
t.map((n) => (
|
|
4010
|
-
).then((n) =>
|
|
4036
|
+
t.map((n) => (go(e, n), n().then((i) => i.default || i)))
|
|
4037
|
+
).then((n) => sn(e, ...n));
|
|
4011
4038
|
}
|
|
4012
|
-
const
|
|
4013
|
-
function
|
|
4039
|
+
const Ve = {};
|
|
4040
|
+
function ln(e) {
|
|
4014
4041
|
if (!kt(e))
|
|
4015
|
-
return e in
|
|
4016
|
-
const t =
|
|
4017
|
-
return
|
|
4042
|
+
return e in Ve ? Ve[e] : Promise.resolve();
|
|
4043
|
+
const t = bo(e);
|
|
4044
|
+
return Ve[e] = Promise.all(
|
|
4018
4045
|
t.map(
|
|
4019
|
-
([r, n]) =>
|
|
4046
|
+
([r, n]) => vo(r, n)
|
|
4020
4047
|
)
|
|
4021
4048
|
).then(() => {
|
|
4022
4049
|
if (kt(e))
|
|
4023
|
-
return
|
|
4024
|
-
delete
|
|
4025
|
-
}),
|
|
4050
|
+
return ln(e);
|
|
4051
|
+
delete Ve[e];
|
|
4052
|
+
}), Ve[e];
|
|
4026
4053
|
}
|
|
4027
|
-
const
|
|
4054
|
+
const yo = {
|
|
4028
4055
|
number: {
|
|
4029
4056
|
scientific: { notation: "scientific" },
|
|
4030
4057
|
engineering: { notation: "engineering" },
|
|
@@ -4053,57 +4080,57 @@ const wo = {
|
|
|
4053
4080
|
timeZoneName: "short"
|
|
4054
4081
|
}
|
|
4055
4082
|
}
|
|
4056
|
-
},
|
|
4083
|
+
}, _o = {
|
|
4057
4084
|
fallbackLocale: null,
|
|
4058
4085
|
loadingDelay: 200,
|
|
4059
|
-
formats:
|
|
4086
|
+
formats: yo,
|
|
4060
4087
|
warnOnMissingMessages: !0,
|
|
4061
4088
|
handleMissingMessage: void 0,
|
|
4062
4089
|
ignoreTag: !0
|
|
4063
|
-
},
|
|
4064
|
-
function
|
|
4065
|
-
return
|
|
4090
|
+
}, Eo = _o;
|
|
4091
|
+
function Me() {
|
|
4092
|
+
return Eo;
|
|
4066
4093
|
}
|
|
4067
4094
|
const Tt = dt(!1);
|
|
4068
|
-
var
|
|
4095
|
+
var wo = Object.defineProperty, xo = Object.defineProperties, So = Object.getOwnPropertyDescriptors, vr = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, yr = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ho = (e, t) => {
|
|
4069
4096
|
for (var r in t || (t = {}))
|
|
4070
|
-
|
|
4097
|
+
Po.call(t, r) && yr(e, r, t[r]);
|
|
4071
4098
|
if (vr)
|
|
4072
4099
|
for (var r of vr(t))
|
|
4073
|
-
|
|
4100
|
+
To.call(t, r) && yr(e, r, t[r]);
|
|
4074
4101
|
return e;
|
|
4075
|
-
},
|
|
4076
|
-
let
|
|
4102
|
+
}, Bo = (e, t) => xo(e, So(t));
|
|
4103
|
+
let Gt;
|
|
4077
4104
|
const ct = dt(null);
|
|
4078
4105
|
function _r(e) {
|
|
4079
4106
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4080
4107
|
}
|
|
4081
|
-
function pt(e, t =
|
|
4108
|
+
function pt(e, t = Me().fallbackLocale) {
|
|
4082
4109
|
const r = _r(e);
|
|
4083
4110
|
return t ? [.../* @__PURE__ */ new Set([...r, ..._r(t)])] : r;
|
|
4084
4111
|
}
|
|
4085
|
-
function
|
|
4086
|
-
return
|
|
4112
|
+
function ye() {
|
|
4113
|
+
return Gt != null ? Gt : void 0;
|
|
4087
4114
|
}
|
|
4088
4115
|
ct.subscribe((e) => {
|
|
4089
|
-
|
|
4116
|
+
Gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4090
4117
|
});
|
|
4091
|
-
const
|
|
4092
|
-
if (e &&
|
|
4093
|
-
const { loadingDelay: t } =
|
|
4118
|
+
const Ao = (e) => {
|
|
4119
|
+
if (e && po(e) && kt(e)) {
|
|
4120
|
+
const { loadingDelay: t } = Me();
|
|
4094
4121
|
let r;
|
|
4095
|
-
return typeof window != "undefined" &&
|
|
4122
|
+
return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
|
|
4096
4123
|
() => Tt.set(!0),
|
|
4097
4124
|
t
|
|
4098
|
-
) : Tt.set(!0),
|
|
4125
|
+
) : Tt.set(!0), ln(e).then(() => {
|
|
4099
4126
|
ct.set(e);
|
|
4100
4127
|
}).finally(() => {
|
|
4101
4128
|
clearTimeout(r), Tt.set(!1);
|
|
4102
4129
|
});
|
|
4103
4130
|
}
|
|
4104
4131
|
return ct.set(e);
|
|
4105
|
-
},
|
|
4106
|
-
set:
|
|
4132
|
+
}, he = Bo(Ho({}, ct), {
|
|
4133
|
+
set: Ao
|
|
4107
4134
|
}), gt = (e) => {
|
|
4108
4135
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4109
4136
|
return (n) => {
|
|
@@ -4111,92 +4138,92 @@ const Oo = (e) => {
|
|
|
4111
4138
|
return i in t ? t[i] : t[i] = e(n);
|
|
4112
4139
|
};
|
|
4113
4140
|
};
|
|
4114
|
-
var
|
|
4141
|
+
var Io = Object.defineProperty, ht = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, cn = Object.prototype.propertyIsEnumerable, Er = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
|
|
4115
4142
|
for (var r in t || (t = {}))
|
|
4116
|
-
|
|
4143
|
+
un.call(t, r) && Er(e, r, t[r]);
|
|
4117
4144
|
if (ht)
|
|
4118
4145
|
for (var r of ht(t))
|
|
4119
|
-
|
|
4146
|
+
cn.call(t, r) && Er(e, r, t[r]);
|
|
4120
4147
|
return e;
|
|
4121
|
-
},
|
|
4148
|
+
}, Fe = (e, t) => {
|
|
4122
4149
|
var r = {};
|
|
4123
4150
|
for (var n in e)
|
|
4124
|
-
|
|
4151
|
+
un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4125
4152
|
if (e != null && ht)
|
|
4126
4153
|
for (var n of ht(e))
|
|
4127
|
-
t.indexOf(n) < 0 &&
|
|
4154
|
+
t.indexOf(n) < 0 && cn.call(e, n) && (r[n] = e[n]);
|
|
4128
4155
|
return r;
|
|
4129
4156
|
};
|
|
4130
|
-
const
|
|
4131
|
-
const { formats: r } =
|
|
4157
|
+
const Ze = (e, t) => {
|
|
4158
|
+
const { formats: r } = Me();
|
|
4132
4159
|
if (e in r && t in r[e])
|
|
4133
4160
|
return r[e][t];
|
|
4134
4161
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4135
|
-
},
|
|
4162
|
+
}, Co = gt(
|
|
4136
4163
|
(e) => {
|
|
4137
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4164
|
+
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4138
4165
|
if (r == null)
|
|
4139
4166
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4140
|
-
return n && (i =
|
|
4167
|
+
return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
|
|
4141
4168
|
}
|
|
4142
|
-
),
|
|
4169
|
+
), Oo = gt(
|
|
4143
4170
|
(e) => {
|
|
4144
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4171
|
+
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4145
4172
|
if (r == null)
|
|
4146
4173
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4147
|
-
return n ? i =
|
|
4174
|
+
return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4148
4175
|
}
|
|
4149
|
-
),
|
|
4176
|
+
), Lo = gt(
|
|
4150
4177
|
(e) => {
|
|
4151
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4178
|
+
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4152
4179
|
if (r == null)
|
|
4153
4180
|
throw new Error(
|
|
4154
4181
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4155
4182
|
);
|
|
4156
|
-
return n ? i =
|
|
4183
|
+
return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4157
4184
|
}
|
|
4158
|
-
),
|
|
4185
|
+
), Mo = (e = {}) => {
|
|
4159
4186
|
var t = e, {
|
|
4160
|
-
locale: r =
|
|
4161
|
-
} = t, n =
|
|
4187
|
+
locale: r = ye()
|
|
4188
|
+
} = t, n = Fe(t, [
|
|
4162
4189
|
"locale"
|
|
4163
4190
|
]);
|
|
4164
|
-
return
|
|
4165
|
-
},
|
|
4191
|
+
return Co(Xt({ locale: r }, n));
|
|
4192
|
+
}, No = (e = {}) => {
|
|
4166
4193
|
var t = e, {
|
|
4167
|
-
locale: r =
|
|
4168
|
-
} = t, n =
|
|
4194
|
+
locale: r = ye()
|
|
4195
|
+
} = t, n = Fe(t, [
|
|
4169
4196
|
"locale"
|
|
4170
4197
|
]);
|
|
4171
|
-
return
|
|
4172
|
-
},
|
|
4198
|
+
return Oo(Xt({ locale: r }, n));
|
|
4199
|
+
}, Ro = (e = {}) => {
|
|
4173
4200
|
var t = e, {
|
|
4174
|
-
locale: r =
|
|
4175
|
-
} = t, n =
|
|
4201
|
+
locale: r = ye()
|
|
4202
|
+
} = t, n = Fe(t, [
|
|
4176
4203
|
"locale"
|
|
4177
4204
|
]);
|
|
4178
|
-
return
|
|
4179
|
-
},
|
|
4205
|
+
return Lo(Xt({ locale: r }, n));
|
|
4206
|
+
}, Uo = gt(
|
|
4180
4207
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4181
|
-
(e, t =
|
|
4182
|
-
ignoreTag:
|
|
4208
|
+
(e, t = ye()) => new uo(e, t, Me().formats, {
|
|
4209
|
+
ignoreTag: Me().ignoreTag
|
|
4183
4210
|
})
|
|
4184
|
-
),
|
|
4211
|
+
), Fo = (e, t = {}) => {
|
|
4185
4212
|
var r, n, i, o;
|
|
4186
4213
|
let s = t;
|
|
4187
4214
|
typeof e == "object" && (s = e, e = s.id);
|
|
4188
4215
|
const {
|
|
4189
4216
|
values: a,
|
|
4190
|
-
locale: u =
|
|
4217
|
+
locale: u = ye(),
|
|
4191
4218
|
default: l
|
|
4192
4219
|
} = s;
|
|
4193
4220
|
if (u == null)
|
|
4194
4221
|
throw new Error(
|
|
4195
4222
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4196
4223
|
);
|
|
4197
|
-
let c =
|
|
4224
|
+
let c = nn(e, u);
|
|
4198
4225
|
if (!c)
|
|
4199
|
-
c = (o = (i = (n = (r =
|
|
4226
|
+
c = (o = (i = (n = (r = Me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4200
4227
|
else if (typeof c != "string")
|
|
4201
4228
|
return console.warn(
|
|
4202
4229
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4205,7 +4232,7 @@ const qe = (e, t) => {
|
|
|
4205
4232
|
return c;
|
|
4206
4233
|
let f = c;
|
|
4207
4234
|
try {
|
|
4208
|
-
f =
|
|
4235
|
+
f = Uo(c, u).format(a);
|
|
4209
4236
|
} catch (d) {
|
|
4210
4237
|
d instanceof Error && console.warn(
|
|
4211
4238
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4213,13 +4240,36 @@ const qe = (e, t) => {
|
|
|
4213
4240
|
);
|
|
4214
4241
|
}
|
|
4215
4242
|
return f;
|
|
4216
|
-
},
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
window.emWidgets = { topic:
|
|
4222
|
-
const
|
|
4243
|
+
}, Do = (e, t) => Ro(t).format(e), ko = (e, t) => No(t).format(e), Go = (e, t) => Mo(t).format(e), $o = (e, t = ye()) => nn(e, t), jo = Re([he, Ue], () => Fo);
|
|
4244
|
+
Re([he], () => Do);
|
|
4245
|
+
Re([he], () => ko);
|
|
4246
|
+
Re([he], () => Go);
|
|
4247
|
+
Re([he, Ue], () => $o);
|
|
4248
|
+
window.emWidgets = { topic: ri };
|
|
4249
|
+
const Vo = (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));
|
|
4250
|
+
function zo(e, t) {
|
|
4251
|
+
if (e) {
|
|
4252
|
+
const r = document.createElement("style");
|
|
4253
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4254
|
+
}
|
|
4255
|
+
}
|
|
4256
|
+
function Xo(e, t) {
|
|
4257
|
+
const r = new URL(t);
|
|
4258
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4259
|
+
const i = document.createElement("style");
|
|
4260
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4261
|
+
}).catch((n) => {
|
|
4262
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4263
|
+
});
|
|
4264
|
+
}
|
|
4265
|
+
function Wo(e, t, r) {
|
|
4266
|
+
if (window.emMessageBus) {
|
|
4267
|
+
const n = document.createElement("style");
|
|
4268
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4269
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4270
|
+
});
|
|
4271
|
+
}
|
|
4272
|
+
}
|
|
4223
4273
|
if (typeof window != "undefined") {
|
|
4224
4274
|
let e = function(t) {
|
|
4225
4275
|
return function(...r) {
|
|
@@ -4232,20 +4282,20 @@ if (typeof window != "undefined") {
|
|
|
4232
4282
|
}
|
|
4233
4283
|
};
|
|
4234
4284
|
};
|
|
4235
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4285
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-gXNvsXYD.js").then(({ default: t }) => {
|
|
4236
4286
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4237
4287
|
});
|
|
4238
4288
|
}
|
|
4239
4289
|
function Zo({ withLocale: e, translations: t }) {
|
|
4240
|
-
|
|
4241
|
-
r == null && (
|
|
4290
|
+
he.subscribe((r) => {
|
|
4291
|
+
r == null && (Ue.set(t), he.set(e));
|
|
4242
4292
|
});
|
|
4243
4293
|
}
|
|
4244
4294
|
function wr(e, t) {
|
|
4245
|
-
|
|
4295
|
+
sn(e, t);
|
|
4246
4296
|
}
|
|
4247
4297
|
function qo(e) {
|
|
4248
|
-
|
|
4298
|
+
he.set(e);
|
|
4249
4299
|
}
|
|
4250
4300
|
const xr = {
|
|
4251
4301
|
en: {
|
|
@@ -4391,19 +4441,19 @@ const xr = {
|
|
|
4391
4441
|
loginForgotPassword: "I forgot my password",
|
|
4392
4442
|
successMessage: "Login successful"
|
|
4393
4443
|
}
|
|
4394
|
-
}
|
|
4444
|
+
};
|
|
4395
4445
|
function Jo(e) {
|
|
4396
|
-
|
|
4446
|
+
En(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)}}');
|
|
4397
4447
|
}
|
|
4398
|
-
function
|
|
4448
|
+
function Sr(e) {
|
|
4399
4449
|
let t, r;
|
|
4400
4450
|
return {
|
|
4401
4451
|
c() {
|
|
4402
|
-
t =
|
|
4452
|
+
t = x("script"), er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4403
4453
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4404
4454
|
},
|
|
4405
4455
|
m(n, i) {
|
|
4406
|
-
|
|
4456
|
+
M(n, t, i);
|
|
4407
4457
|
},
|
|
4408
4458
|
p(n, i) {
|
|
4409
4459
|
i[0] & /*captchakey*/
|
|
@@ -4420,22 +4470,22 @@ function Qo(e) {
|
|
|
4420
4470
|
function i(a, u) {
|
|
4421
4471
|
return (
|
|
4422
4472
|
/*startSmsValidation*/
|
|
4423
|
-
a[
|
|
4473
|
+
a[21] ? es : Ko
|
|
4424
4474
|
);
|
|
4425
4475
|
}
|
|
4426
4476
|
let o = i(e), s = o(e);
|
|
4427
4477
|
return {
|
|
4428
4478
|
c() {
|
|
4429
|
-
t =
|
|
4430
|
-
(e[
|
|
4479
|
+
t = x("div"), r = x("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
|
|
4480
|
+
(e[11] ? "FormMobileContainer" : ""));
|
|
4431
4481
|
},
|
|
4432
4482
|
m(a, u) {
|
|
4433
|
-
|
|
4483
|
+
M(a, t, u), m(t, r), s.m(r, null);
|
|
4434
4484
|
},
|
|
4435
4485
|
p(a, u) {
|
|
4436
4486
|
o === (o = i(a)) && s ? s.p(a, u) : (s.d(1), s = o(a), s && (s.c(), s.m(r, null))), u[0] & /*mobileView*/
|
|
4437
|
-
|
|
4438
|
-
(a[
|
|
4487
|
+
2048 && n !== (n = "FormContainer " + /*mobileView*/
|
|
4488
|
+
(a[11] ? "FormMobileContainer" : "")) && h(t, "class", n);
|
|
4439
4489
|
},
|
|
4440
4490
|
d(a) {
|
|
4441
4491
|
a && I(t), s.d();
|
|
@@ -4446,10 +4496,10 @@ function Yo(e) {
|
|
|
4446
4496
|
let t;
|
|
4447
4497
|
return {
|
|
4448
4498
|
c() {
|
|
4449
|
-
t =
|
|
4499
|
+
t = x("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
|
|
4450
4500
|
},
|
|
4451
4501
|
m(r, n) {
|
|
4452
|
-
|
|
4502
|
+
M(r, t, n);
|
|
4453
4503
|
},
|
|
4454
4504
|
p: Z,
|
|
4455
4505
|
d(r) {
|
|
@@ -4460,157 +4510,157 @@ function Yo(e) {
|
|
|
4460
4510
|
function Ko(e) {
|
|
4461
4511
|
let t, r, n = (
|
|
4462
4512
|
/*$_*/
|
|
4463
|
-
e[
|
|
4513
|
+
e[22]("loginTitle") + ""
|
|
4464
4514
|
), i, o, s, a = (
|
|
4465
4515
|
/*$_*/
|
|
4466
|
-
e[
|
|
4516
|
+
e[22]("loginSubtitle") + ""
|
|
4467
4517
|
), u, l, c, f = (
|
|
4468
4518
|
/*$_*/
|
|
4469
|
-
e[
|
|
4470
|
-
), d, b, y, g,
|
|
4519
|
+
e[22]("loginSubtitleRegister") + ""
|
|
4520
|
+
), d, b, y, g, S, C, z = (
|
|
4471
4521
|
/*$_*/
|
|
4472
|
-
e[
|
|
4473
|
-
),
|
|
4522
|
+
e[22]("loginUsername") + ""
|
|
4523
|
+
), R, U, A, ne, H, oe, fe, J, ue, B, ie, X = (
|
|
4474
4524
|
/*$_*/
|
|
4475
|
-
e[
|
|
4476
|
-
),
|
|
4525
|
+
e[22]("loginPassword") + ""
|
|
4526
|
+
), De, qe, de, me, O, _e, Je, Ee, we, pe, ke, xe, Q, ge = (
|
|
4477
4527
|
/*$_*/
|
|
4478
|
-
e[
|
|
4479
|
-
),
|
|
4528
|
+
e[22]("loginButton") + ""
|
|
4529
|
+
), Se, Qe, be, ve = (
|
|
4480
4530
|
/*$_*/
|
|
4481
|
-
e[
|
|
4482
|
-
), Ge,
|
|
4531
|
+
e[22]("loginForgotPassword") + ""
|
|
4532
|
+
), Ge, $e, Ye, F = (
|
|
4483
4533
|
/*invalidName*/
|
|
4484
|
-
e[
|
|
4534
|
+
e[14] && Pr(e)
|
|
4485
4535
|
);
|
|
4486
4536
|
function Ke(v, P) {
|
|
4487
4537
|
return (
|
|
4488
4538
|
/*isPasswordVisible*/
|
|
4489
|
-
v[
|
|
4539
|
+
v[19] ? rs : ts
|
|
4490
4540
|
);
|
|
4491
4541
|
}
|
|
4492
|
-
let
|
|
4493
|
-
/*invalidPassword*/
|
|
4494
|
-
e[14] && /*simplepasswordvalidation*/
|
|
4495
|
-
e[2] !== "true" && Hr(e)
|
|
4496
|
-
), D = (
|
|
4542
|
+
let Pe = Ke(e), Y = Pe(e), D = (
|
|
4497
4543
|
/*invalidPassword*/
|
|
4498
|
-
e[
|
|
4499
|
-
e[2]
|
|
4544
|
+
e[15] && /*simplepasswordvalidation*/
|
|
4545
|
+
e[2] !== "true" && Tr(e)
|
|
4500
4546
|
), k = (
|
|
4547
|
+
/*invalidPassword*/
|
|
4548
|
+
e[15] && /*simplepasswordvalidation*/
|
|
4549
|
+
e[2] === "true" && Hr(e)
|
|
4550
|
+
), G = (
|
|
4501
4551
|
/*errorMessage*/
|
|
4502
|
-
e[
|
|
4552
|
+
e[16] && Br(e)
|
|
4503
4553
|
);
|
|
4504
4554
|
return {
|
|
4505
4555
|
c() {
|
|
4506
|
-
t =
|
|
4507
|
-
e[
|
|
4508
|
-
(e[
|
|
4509
|
-
e[
|
|
4510
|
-
(e[
|
|
4511
|
-
e[
|
|
4556
|
+
t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), u = N(a), l = j(), c = x("span"), d = N(f), b = j(), y = x("div"), g = x("form"), S = x("div"), C = x("label"), R = N(z), U = N(":"), A = x("span"), A.textContent = "*", ne = j(), H = x("input"), fe = j(), F && F.c(), ue = j(), B = x("div"), ie = x("label"), De = N(X), qe = N(":"), de = x("span"), de.textContent = "*", me = j(), O = x("input"), Je = j(), Y.c(), Ee = j(), D && D.c(), we = j(), k && k.c(), ke = j(), G && G.c(), xe = j(), Q = x("button"), Se = N(ge), Qe = j(), be = x("button"), Ge = N(ve), h(r, "class", "FormHeaderTitle"), h(c, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(C, "for", "username"), h(H, "type", "text"), h(H, "id", "email"), h(H, "name", "email"), h(H, "autocapitalize", "none"), h(H, "autocomplete", oe = /*savecredentials*/
|
|
4557
|
+
e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
|
|
4558
|
+
(e[14] ? "InvalidField" : "")), h(de, "class", "FormRequired"), h(ie, "for", "current-password"), h(O, "type", "password"), h(O, "name", "current-password"), h(O, "id", "current-password"), h(O, "autocapitalize", "none"), h(O, "autocomplete", _e = /*savecredentials*/
|
|
4559
|
+
e[6] ? "current-password" : "off"), h(O, "aria-describedby", "password-constraints"), O.required = !0, h(B, "class", pe = "PasswordContainer " + /*invalidPassword*/
|
|
4560
|
+
(e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
|
|
4561
|
+
e[20], h(Q, "id", "signin-button"), h(be, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
|
|
4512
4562
|
},
|
|
4513
4563
|
m(v, P) {
|
|
4514
|
-
|
|
4515
|
-
|
|
4564
|
+
M(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, u), m(s, l), m(s, c), m(c, d), M(v, b, P), M(v, y, P), m(y, g), m(g, S), m(S, C), m(C, R), m(C, U), m(C, A), m(S, ne), m(S, H), rt(
|
|
4565
|
+
H,
|
|
4516
4566
|
/*userValue*/
|
|
4517
|
-
e[11]
|
|
4518
|
-
), p(x, ne), U && U.m(x, null), p(g, de), p(g, A), p(A, W), p(W, Ue), p(W, Fe), p(W, se), p(A, Je), p(A, C), rt(
|
|
4519
|
-
C,
|
|
4520
|
-
/*userPassword*/
|
|
4521
4567
|
e[12]
|
|
4522
|
-
),
|
|
4523
|
-
|
|
4568
|
+
), m(S, fe), F && F.m(S, null), m(g, ue), m(g, B), m(B, ie), m(ie, De), m(ie, qe), m(ie, de), m(B, me), m(B, O), rt(
|
|
4569
|
+
O,
|
|
4570
|
+
/*userPassword*/
|
|
4571
|
+
e[13]
|
|
4572
|
+
), e[36](O), m(B, Je), Y.m(B, null), m(B, Ee), D && D.m(B, null), m(B, we), k && k.m(B, null), m(g, ke), G && G.m(g, null), m(g, xe), m(g, Q), m(Q, Se), m(g, Qe), m(g, be), m(be, Ge), $e || (Ye = [
|
|
4573
|
+
se(
|
|
4524
4574
|
c,
|
|
4525
4575
|
"click",
|
|
4526
4576
|
/*click_handler*/
|
|
4527
|
-
e[
|
|
4577
|
+
e[33]
|
|
4528
4578
|
),
|
|
4529
|
-
|
|
4530
|
-
|
|
4579
|
+
se(
|
|
4580
|
+
H,
|
|
4531
4581
|
"input",
|
|
4532
4582
|
/*input0_input_handler*/
|
|
4533
|
-
e[
|
|
4583
|
+
e[34]
|
|
4534
4584
|
),
|
|
4535
|
-
|
|
4536
|
-
|
|
4585
|
+
se(
|
|
4586
|
+
H,
|
|
4537
4587
|
"input",
|
|
4538
4588
|
/*validateUserName*/
|
|
4539
|
-
e[
|
|
4589
|
+
e[28]
|
|
4540
4590
|
),
|
|
4541
|
-
|
|
4542
|
-
|
|
4591
|
+
se(
|
|
4592
|
+
O,
|
|
4543
4593
|
"input",
|
|
4544
4594
|
/*input1_input_handler*/
|
|
4545
|
-
e[
|
|
4595
|
+
e[35]
|
|
4546
4596
|
),
|
|
4547
|
-
|
|
4548
|
-
|
|
4597
|
+
se(
|
|
4598
|
+
O,
|
|
4549
4599
|
"input",
|
|
4550
4600
|
/*validatePassword*/
|
|
4551
|
-
e[
|
|
4601
|
+
e[29]
|
|
4552
4602
|
),
|
|
4553
|
-
|
|
4554
|
-
|
|
4603
|
+
se(
|
|
4604
|
+
Q,
|
|
4555
4605
|
"click",
|
|
4556
4606
|
/*click_handler_3*/
|
|
4557
|
-
e[
|
|
4607
|
+
e[39]
|
|
4558
4608
|
),
|
|
4559
|
-
|
|
4560
|
-
|
|
4609
|
+
se(
|
|
4610
|
+
be,
|
|
4561
4611
|
"click",
|
|
4562
4612
|
/*click_handler_4*/
|
|
4563
|
-
e[
|
|
4613
|
+
e[40]
|
|
4564
4614
|
)
|
|
4565
|
-
],
|
|
4615
|
+
], $e = !0);
|
|
4566
4616
|
},
|
|
4567
4617
|
p(v, P) {
|
|
4568
4618
|
P[0] & /*$_*/
|
|
4569
|
-
|
|
4570
|
-
v[
|
|
4571
|
-
|
|
4572
|
-
v[
|
|
4573
|
-
|
|
4574
|
-
v[
|
|
4575
|
-
|
|
4576
|
-
v[
|
|
4577
|
-
|
|
4578
|
-
v[
|
|
4579
|
-
|
|
4580
|
-
v[
|
|
4581
|
-
|
|
4619
|
+
4194304 && n !== (n = /*$_*/
|
|
4620
|
+
v[22]("loginTitle") + "") && re(i, n), P[0] & /*$_*/
|
|
4621
|
+
4194304 && a !== (a = /*$_*/
|
|
4622
|
+
v[22]("loginSubtitle") + "") && re(u, a), P[0] & /*$_*/
|
|
4623
|
+
4194304 && f !== (f = /*$_*/
|
|
4624
|
+
v[22]("loginSubtitleRegister") + "") && re(d, f), P[0] & /*$_*/
|
|
4625
|
+
4194304 && z !== (z = /*$_*/
|
|
4626
|
+
v[22]("loginUsername") + "") && re(R, z), P[0] & /*savecredentials*/
|
|
4627
|
+
64 && oe !== (oe = /*savecredentials*/
|
|
4628
|
+
v[6] ? "username email" : "off") && h(H, "autocomplete", oe), P[0] & /*userValue*/
|
|
4629
|
+
4096 && H.value !== /*userValue*/
|
|
4630
|
+
v[12] && rt(
|
|
4631
|
+
H,
|
|
4582
4632
|
/*userValue*/
|
|
4583
|
-
v[
|
|
4633
|
+
v[12]
|
|
4584
4634
|
), /*invalidName*/
|
|
4585
|
-
v[
|
|
4586
|
-
|
|
4587
|
-
(v[
|
|
4588
|
-
|
|
4589
|
-
v[
|
|
4590
|
-
|
|
4591
|
-
v[
|
|
4592
|
-
|
|
4593
|
-
v[
|
|
4594
|
-
|
|
4635
|
+
v[14] ? F ? F.p(v, P) : (F = Pr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
|
|
4636
|
+
16384 && J !== (J = "UserContainer " + /*invalidName*/
|
|
4637
|
+
(v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
|
|
4638
|
+
4194304 && X !== (X = /*$_*/
|
|
4639
|
+
v[22]("loginPassword") + "") && re(De, X), P[0] & /*savecredentials*/
|
|
4640
|
+
64 && _e !== (_e = /*savecredentials*/
|
|
4641
|
+
v[6] ? "current-password" : "off") && h(O, "autocomplete", _e), P[0] & /*userPassword*/
|
|
4642
|
+
8192 && O.value !== /*userPassword*/
|
|
4643
|
+
v[13] && rt(
|
|
4644
|
+
O,
|
|
4595
4645
|
/*userPassword*/
|
|
4596
|
-
v[
|
|
4597
|
-
),
|
|
4598
|
-
v[
|
|
4599
|
-
v[2] !== "true" ?
|
|
4600
|
-
v[
|
|
4601
|
-
v[2] === "true" ?
|
|
4602
|
-
|
|
4603
|
-
(v[
|
|
4604
|
-
v[
|
|
4605
|
-
|
|
4606
|
-
v[
|
|
4607
|
-
|
|
4608
|
-
v[
|
|
4609
|
-
|
|
4610
|
-
v[
|
|
4646
|
+
v[13]
|
|
4647
|
+
), Pe === (Pe = Ke(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Pe(v), Y && (Y.c(), Y.m(B, Ee))), /*invalidPassword*/
|
|
4648
|
+
v[15] && /*simplepasswordvalidation*/
|
|
4649
|
+
v[2] !== "true" ? D ? D.p(v, P) : (D = Tr(v), D.c(), D.m(B, we)) : D && (D.d(1), D = null), /*invalidPassword*/
|
|
4650
|
+
v[15] && /*simplepasswordvalidation*/
|
|
4651
|
+
v[2] === "true" ? k ? k.p(v, P) : (k = Hr(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
|
|
4652
|
+
32768 && pe !== (pe = "PasswordContainer " + /*invalidPassword*/
|
|
4653
|
+
(v[15] ? "InvalidField" : "")) && h(B, "class", pe), /*errorMessage*/
|
|
4654
|
+
v[16] ? G ? G.p(v, P) : (G = Br(v), G.c(), G.m(g, xe)) : G && (G.d(1), G = null), P[0] & /*$_*/
|
|
4655
|
+
4194304 && ge !== (ge = /*$_*/
|
|
4656
|
+
v[22]("loginButton") + "") && re(Se, ge), P[0] & /*isFormDataInvalid*/
|
|
4657
|
+
1048576 && (Q.disabled = /*isFormDataInvalid*/
|
|
4658
|
+
v[20]), P[0] & /*$_*/
|
|
4659
|
+
4194304 && ve !== (ve = /*$_*/
|
|
4660
|
+
v[22]("loginForgotPassword") + "") && re(Ge, ve);
|
|
4611
4661
|
},
|
|
4612
4662
|
d(v) {
|
|
4613
|
-
v && (I(t), I(b), I(y)),
|
|
4663
|
+
v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), G && G.d(), $e = !1, Ne(Ye);
|
|
4614
4664
|
}
|
|
4615
4665
|
};
|
|
4616
4666
|
}
|
|
@@ -4618,78 +4668,89 @@ function es(e) {
|
|
|
4618
4668
|
let t;
|
|
4619
4669
|
return {
|
|
4620
4670
|
c() {
|
|
4621
|
-
t =
|
|
4671
|
+
t = x("general-player-sms-verification-form"), W(
|
|
4622
4672
|
t,
|
|
4623
4673
|
"endpoint",
|
|
4624
4674
|
/*endpoint*/
|
|
4625
4675
|
e[0]
|
|
4626
|
-
),
|
|
4676
|
+
), W(
|
|
4627
4677
|
t,
|
|
4628
4678
|
"number",
|
|
4629
4679
|
/*number*/
|
|
4630
|
-
e[
|
|
4631
|
-
),
|
|
4680
|
+
e[10]
|
|
4681
|
+
), W(
|
|
4632
4682
|
t,
|
|
4633
4683
|
"clientstyling",
|
|
4634
4684
|
/*clientstyling*/
|
|
4635
|
-
e[
|
|
4636
|
-
),
|
|
4685
|
+
e[4]
|
|
4686
|
+
), W(
|
|
4637
4687
|
t,
|
|
4638
4688
|
"clientstylingurl",
|
|
4639
4689
|
/*clientstylingurl*/
|
|
4640
|
-
e[
|
|
4641
|
-
),
|
|
4690
|
+
e[5]
|
|
4691
|
+
), W(
|
|
4642
4692
|
t,
|
|
4643
4693
|
"playerid",
|
|
4644
4694
|
/*playerId*/
|
|
4645
|
-
e[
|
|
4646
|
-
),
|
|
4695
|
+
e[8]
|
|
4696
|
+
), W(
|
|
4647
4697
|
t,
|
|
4648
4698
|
"tokenid",
|
|
4649
4699
|
/*smsTokenId*/
|
|
4650
|
-
e[
|
|
4700
|
+
e[9]
|
|
4701
|
+
), W(
|
|
4702
|
+
t,
|
|
4703
|
+
"mbsource",
|
|
4704
|
+
/*mbsource*/
|
|
4705
|
+
e[3]
|
|
4651
4706
|
);
|
|
4652
4707
|
},
|
|
4653
4708
|
m(r, n) {
|
|
4654
|
-
|
|
4709
|
+
M(r, t, n);
|
|
4655
4710
|
},
|
|
4656
4711
|
p(r, n) {
|
|
4657
4712
|
n[0] & /*endpoint*/
|
|
4658
|
-
1 &&
|
|
4713
|
+
1 && W(
|
|
4659
4714
|
t,
|
|
4660
4715
|
"endpoint",
|
|
4661
4716
|
/*endpoint*/
|
|
4662
4717
|
r[0]
|
|
4663
4718
|
), n[0] & /*number*/
|
|
4664
|
-
|
|
4719
|
+
1024 && W(
|
|
4665
4720
|
t,
|
|
4666
4721
|
"number",
|
|
4667
4722
|
/*number*/
|
|
4668
|
-
r[
|
|
4723
|
+
r[10]
|
|
4669
4724
|
), n[0] & /*clientstyling*/
|
|
4670
|
-
|
|
4725
|
+
16 && W(
|
|
4671
4726
|
t,
|
|
4672
4727
|
"clientstyling",
|
|
4673
4728
|
/*clientstyling*/
|
|
4674
|
-
r[
|
|
4729
|
+
r[4]
|
|
4675
4730
|
), n[0] & /*clientstylingurl*/
|
|
4676
|
-
|
|
4731
|
+
32 && W(
|
|
4677
4732
|
t,
|
|
4678
4733
|
"clientstylingurl",
|
|
4679
4734
|
/*clientstylingurl*/
|
|
4680
|
-
r[
|
|
4735
|
+
r[5]
|
|
4681
4736
|
), n[0] & /*playerId*/
|
|
4682
|
-
|
|
4737
|
+
256 && W(
|
|
4683
4738
|
t,
|
|
4684
4739
|
"playerid",
|
|
4685
4740
|
/*playerId*/
|
|
4686
|
-
r[
|
|
4741
|
+
r[8]
|
|
4687
4742
|
), n[0] & /*smsTokenId*/
|
|
4688
|
-
|
|
4743
|
+
512 && W(
|
|
4689
4744
|
t,
|
|
4690
4745
|
"tokenid",
|
|
4691
4746
|
/*smsTokenId*/
|
|
4692
|
-
r[
|
|
4747
|
+
r[9]
|
|
4748
|
+
), n[0] & /*mbsource*/
|
|
4749
|
+
8 && W(
|
|
4750
|
+
t,
|
|
4751
|
+
"mbsource",
|
|
4752
|
+
/*mbsource*/
|
|
4753
|
+
r[3]
|
|
4693
4754
|
);
|
|
4694
4755
|
},
|
|
4695
4756
|
d(r) {
|
|
@@ -4697,22 +4758,22 @@ function es(e) {
|
|
|
4697
4758
|
}
|
|
4698
4759
|
};
|
|
4699
4760
|
}
|
|
4700
|
-
function
|
|
4761
|
+
function Pr(e) {
|
|
4701
4762
|
let t, r = (
|
|
4702
4763
|
/*$_*/
|
|
4703
|
-
e[
|
|
4764
|
+
e[22]("loginUsernameError") + ""
|
|
4704
4765
|
), n;
|
|
4705
4766
|
return {
|
|
4706
4767
|
c() {
|
|
4707
|
-
t =
|
|
4768
|
+
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4708
4769
|
},
|
|
4709
4770
|
m(i, o) {
|
|
4710
|
-
|
|
4771
|
+
M(i, t, o), m(t, n);
|
|
4711
4772
|
},
|
|
4712
4773
|
p(i, o) {
|
|
4713
4774
|
o[0] & /*$_*/
|
|
4714
|
-
|
|
4715
|
-
i[
|
|
4775
|
+
4194304 && r !== (r = /*$_*/
|
|
4776
|
+
i[22]("loginUsernameError") + "") && re(n, r);
|
|
4716
4777
|
},
|
|
4717
4778
|
d(i) {
|
|
4718
4779
|
i && I(t);
|
|
@@ -4723,14 +4784,14 @@ function ts(e) {
|
|
|
4723
4784
|
let t, r, n, i, o, s, a, u, l;
|
|
4724
4785
|
return {
|
|
4725
4786
|
c() {
|
|
4726
|
-
t =
|
|
4787
|
+
t = L("svg"), r = L("defs"), n = L("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = L("g"), s = L("path"), a = L("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");
|
|
4727
4788
|
},
|
|
4728
4789
|
m(c, f) {
|
|
4729
|
-
|
|
4790
|
+
M(c, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), u || (l = se(
|
|
4730
4791
|
t,
|
|
4731
4792
|
"click",
|
|
4732
4793
|
/*click_handler_2*/
|
|
4733
|
-
e[
|
|
4794
|
+
e[38]
|
|
4734
4795
|
), u = !0);
|
|
4735
4796
|
},
|
|
4736
4797
|
p: Z,
|
|
@@ -4743,84 +4804,84 @@ function rs(e) {
|
|
|
4743
4804
|
let t, r, n, i, o, s, a, u, l, c, f, d, b, y, g;
|
|
4744
4805
|
return {
|
|
4745
4806
|
c() {
|
|
4746
|
-
t =
|
|
4807
|
+
t = L("svg"), r = L("defs"), n = L("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = L("g"), s = L("circle"), a = L("g"), u = L("path"), l = L("path"), c = L("g"), f = L("path"), d = L("path"), b = L("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(u, "class", "a"), h(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(u, "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(c, "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");
|
|
4747
4808
|
},
|
|
4748
|
-
m(
|
|
4749
|
-
|
|
4809
|
+
m(S, C) {
|
|
4810
|
+
M(S, t, C), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, u), m(a, l), m(o, c), m(c, f), m(c, d), m(o, b), y || (g = se(
|
|
4750
4811
|
t,
|
|
4751
4812
|
"click",
|
|
4752
4813
|
/*click_handler_1*/
|
|
4753
|
-
e[
|
|
4814
|
+
e[37]
|
|
4754
4815
|
), y = !0);
|
|
4755
4816
|
},
|
|
4756
4817
|
p: Z,
|
|
4757
|
-
d(
|
|
4758
|
-
|
|
4818
|
+
d(S) {
|
|
4819
|
+
S && I(t), y = !1, g();
|
|
4759
4820
|
}
|
|
4760
4821
|
};
|
|
4761
4822
|
}
|
|
4762
|
-
function
|
|
4823
|
+
function Tr(e) {
|
|
4763
4824
|
let t, r = (
|
|
4764
4825
|
/*$_*/
|
|
4765
|
-
e[
|
|
4826
|
+
e[22]("loginPasswordError") + ""
|
|
4766
4827
|
), n;
|
|
4767
4828
|
return {
|
|
4768
4829
|
c() {
|
|
4769
|
-
t =
|
|
4830
|
+
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4770
4831
|
},
|
|
4771
4832
|
m(i, o) {
|
|
4772
|
-
|
|
4833
|
+
M(i, t, o), m(t, n);
|
|
4773
4834
|
},
|
|
4774
4835
|
p(i, o) {
|
|
4775
4836
|
o[0] & /*$_*/
|
|
4776
|
-
|
|
4777
|
-
i[
|
|
4837
|
+
4194304 && r !== (r = /*$_*/
|
|
4838
|
+
i[22]("loginPasswordError") + "") && re(n, r);
|
|
4778
4839
|
},
|
|
4779
4840
|
d(i) {
|
|
4780
4841
|
i && I(t);
|
|
4781
4842
|
}
|
|
4782
4843
|
};
|
|
4783
4844
|
}
|
|
4784
|
-
function
|
|
4845
|
+
function Hr(e) {
|
|
4785
4846
|
let t, r = (
|
|
4786
4847
|
/*$_*/
|
|
4787
|
-
e[
|
|
4848
|
+
e[22]("loginSimplePasswordError") + ""
|
|
4788
4849
|
), n;
|
|
4789
4850
|
return {
|
|
4790
4851
|
c() {
|
|
4791
|
-
t =
|
|
4852
|
+
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4792
4853
|
},
|
|
4793
4854
|
m(i, o) {
|
|
4794
|
-
|
|
4855
|
+
M(i, t, o), m(t, n);
|
|
4795
4856
|
},
|
|
4796
4857
|
p(i, o) {
|
|
4797
4858
|
o[0] & /*$_*/
|
|
4798
|
-
|
|
4799
|
-
i[
|
|
4859
|
+
4194304 && r !== (r = /*$_*/
|
|
4860
|
+
i[22]("loginSimplePasswordError") + "") && re(n, r);
|
|
4800
4861
|
},
|
|
4801
4862
|
d(i) {
|
|
4802
4863
|
i && I(t);
|
|
4803
4864
|
}
|
|
4804
4865
|
};
|
|
4805
4866
|
}
|
|
4806
|
-
function
|
|
4867
|
+
function Br(e) {
|
|
4807
4868
|
let t, r;
|
|
4808
4869
|
return {
|
|
4809
4870
|
c() {
|
|
4810
|
-
t =
|
|
4871
|
+
t = x("p"), r = N(
|
|
4811
4872
|
/*errorMessage*/
|
|
4812
|
-
e[
|
|
4873
|
+
e[16]
|
|
4813
4874
|
), h(t, "class", "ErrorMessage");
|
|
4814
4875
|
},
|
|
4815
4876
|
m(n, i) {
|
|
4816
|
-
|
|
4877
|
+
M(n, t, i), m(t, r);
|
|
4817
4878
|
},
|
|
4818
4879
|
p(n, i) {
|
|
4819
4880
|
i[0] & /*errorMessage*/
|
|
4820
|
-
|
|
4881
|
+
65536 && re(
|
|
4821
4882
|
r,
|
|
4822
4883
|
/*errorMessage*/
|
|
4823
|
-
n[
|
|
4884
|
+
n[16]
|
|
4824
4885
|
);
|
|
4825
4886
|
},
|
|
4826
4887
|
d(n) {
|
|
@@ -4831,18 +4892,18 @@ function Ar(e) {
|
|
|
4831
4892
|
function ns(e) {
|
|
4832
4893
|
let t, r, n, i, o, s = (
|
|
4833
4894
|
/*captchakey*/
|
|
4834
|
-
e[1] &&
|
|
4895
|
+
e[1] && Sr(e)
|
|
4835
4896
|
);
|
|
4836
4897
|
function a(c, f) {
|
|
4837
4898
|
return (
|
|
4838
4899
|
/*isLoading*/
|
|
4839
|
-
c[
|
|
4900
|
+
c[17] ? Yo : Qo
|
|
4840
4901
|
);
|
|
4841
4902
|
}
|
|
4842
4903
|
let u = a(e), l = u(e);
|
|
4843
4904
|
return {
|
|
4844
4905
|
c() {
|
|
4845
|
-
s && s.c(), t =
|
|
4906
|
+
s && s.c(), t = Sn(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4846
4907
|
n,
|
|
4847
4908
|
"data-sitekey",
|
|
4848
4909
|
/*captchakey*/
|
|
@@ -4850,11 +4911,11 @@ function ns(e) {
|
|
|
4850
4911
|
), h(o, "class", "PlayerLoginFormWrapper");
|
|
4851
4912
|
},
|
|
4852
4913
|
m(c, f) {
|
|
4853
|
-
s && s.m(
|
|
4914
|
+
s && s.m(document.head, null), m(document.head, t), M(c, r, f), M(c, n, f), M(c, i, f), M(c, o, f), l.m(o, null), e[41](o);
|
|
4854
4915
|
},
|
|
4855
4916
|
p(c, f) {
|
|
4856
4917
|
/*captchakey*/
|
|
4857
|
-
c[1] ? s ? s.p(c, f) : (s =
|
|
4918
|
+
c[1] ? s ? s.p(c, f) : (s = Sr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4858
4919
|
2 && h(
|
|
4859
4920
|
n,
|
|
4860
4921
|
"data-sitekey",
|
|
@@ -4865,89 +4926,89 @@ function ns(e) {
|
|
|
4865
4926
|
i: Z,
|
|
4866
4927
|
o: Z,
|
|
4867
4928
|
d(c) {
|
|
4868
|
-
c && (I(r), I(n), I(i), I(o)), s && s.d(c), I(t), l.d(), e[
|
|
4929
|
+
c && (I(r), I(n), I(i), I(o)), s && s.d(c), I(t), l.d(), e[41](null);
|
|
4869
4930
|
}
|
|
4870
4931
|
};
|
|
4871
4932
|
}
|
|
4872
4933
|
let is = "Please use this code {0} to activate your account";
|
|
4873
4934
|
function os(e, t, r) {
|
|
4874
4935
|
let n;
|
|
4875
|
-
|
|
4876
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, {
|
|
4936
|
+
_n(e, jo, (p) => r(22, n = p));
|
|
4937
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", ne = { username: "", password: "" }, H = !1, oe = !1, fe = "", J = !1, ue, B = !1, ie = !0, X, De = +localStorage.getItem("smsTimer") || 0, qe = Date.now() / 1e3 - De, de = localStorage.getItem("smsValidation") == "true" && qe < 60, me = {
|
|
4877
4938
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4878
4939
|
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,
|
|
4879
4940
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4880
4941
|
};
|
|
4881
4942
|
Zo({ withLocale: "en", translations: {} });
|
|
4882
|
-
const
|
|
4883
|
-
fetch(
|
|
4884
|
-
Object.keys(
|
|
4885
|
-
wr(
|
|
4943
|
+
const O = () => {
|
|
4944
|
+
fetch(d).then((q) => q.json()).then((q) => {
|
|
4945
|
+
Object.keys(q).forEach((te) => {
|
|
4946
|
+
wr(te, q[te]);
|
|
4886
4947
|
});
|
|
4887
|
-
}).catch((
|
|
4888
|
-
console.log(
|
|
4948
|
+
}).catch((q) => {
|
|
4949
|
+
console.log(q);
|
|
4889
4950
|
});
|
|
4890
4951
|
};
|
|
4891
|
-
Object.keys(xr).forEach((
|
|
4892
|
-
wr(
|
|
4952
|
+
Object.keys(xr).forEach((p) => {
|
|
4953
|
+
wr(p, xr[p]);
|
|
4893
4954
|
});
|
|
4894
|
-
const
|
|
4955
|
+
const _e = () => new Promise((p, q) => {
|
|
4895
4956
|
grecaptcha.ready(() => {
|
|
4896
|
-
grecaptcha.execute(o, { action: "submit" }).then((
|
|
4897
|
-
|
|
4957
|
+
grecaptcha.execute(o, { action: "submit" }).then((te) => {
|
|
4958
|
+
p(te);
|
|
4898
4959
|
});
|
|
4899
4960
|
});
|
|
4900
|
-
}),
|
|
4901
|
-
u == "true" && (
|
|
4902
|
-
}, De = () => {
|
|
4903
|
-
r(18, de = !0), Ee();
|
|
4904
|
-
}, _e = () => {
|
|
4905
|
-
r(18, de = !1), Ee();
|
|
4961
|
+
}), Je = () => {
|
|
4962
|
+
u == "true" && (me.password = /^(?!.* ).{8,20}$/);
|
|
4906
4963
|
}, Ee = () => {
|
|
4907
|
-
r(
|
|
4908
|
-
},
|
|
4964
|
+
r(19, B = !0), pe();
|
|
4965
|
+
}, we = () => {
|
|
4966
|
+
r(19, B = !1), pe();
|
|
4967
|
+
}, pe = () => {
|
|
4968
|
+
r(18, ue.type = B ? "text" : "password", ue);
|
|
4969
|
+
}, ke = () => {
|
|
4909
4970
|
window.postMessage({ type: "ToRegister" }, window.location.href);
|
|
4910
|
-
},
|
|
4911
|
-
|
|
4912
|
-
},
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
username:
|
|
4916
|
-
password:
|
|
4917
|
-
token:
|
|
4918
|
-
}, r(
|
|
4971
|
+
}, xe = (p) => {
|
|
4972
|
+
p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
4973
|
+
}, Q = (p) => {
|
|
4974
|
+
p == null || p.preventDefault(), _e().then((q) => {
|
|
4975
|
+
ge(U) && Se(A) && (ne = {
|
|
4976
|
+
username: U,
|
|
4977
|
+
password: A,
|
|
4978
|
+
token: q
|
|
4979
|
+
}, r(17, J = !0), $e(ne));
|
|
4919
4980
|
});
|
|
4920
|
-
},
|
|
4921
|
-
r(
|
|
4922
|
-
},
|
|
4923
|
-
r(
|
|
4924
|
-
},
|
|
4925
|
-
if (
|
|
4926
|
-
switch (
|
|
4981
|
+
}, ge = (p) => !!((me.user.test(p) || me.email.test(p)) && p.length <= 100), Se = (p) => !!me.password.test(p), Qe = () => {
|
|
4982
|
+
r(14, H = !ge(U)), r(20, ie = !(!H && !oe && A));
|
|
4983
|
+
}, be = () => {
|
|
4984
|
+
r(15, oe = !Se(A)), r(20, ie = !(!H && !oe && U));
|
|
4985
|
+
}, ve = (p) => {
|
|
4986
|
+
if (p.data)
|
|
4987
|
+
switch (p.data.type) {
|
|
4927
4988
|
case "ModalLoader":
|
|
4928
|
-
r(
|
|
4989
|
+
r(17, J = !1);
|
|
4929
4990
|
break;
|
|
4930
4991
|
case "UserSessionID":
|
|
4931
|
-
r(
|
|
4992
|
+
r(17, J = !1);
|
|
4932
4993
|
break;
|
|
4933
4994
|
case "SmsHasBeenValidated":
|
|
4934
|
-
|
|
4995
|
+
Q();
|
|
4935
4996
|
break;
|
|
4936
4997
|
}
|
|
4937
|
-
},
|
|
4998
|
+
}, Ge = (p) => {
|
|
4938
4999
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
4939
5000
|
context: "GeneralPlayerLoginRegisterPage"
|
|
4940
5001
|
});
|
|
4941
|
-
},
|
|
5002
|
+
}, $e = (Wt) => et(this, [Wt], function* ({ username: p, password: q, token: te }) {
|
|
4942
5003
|
let Zt = {
|
|
4943
5004
|
"Content-Type": "application/json",
|
|
4944
|
-
"g-recaptcha-response":
|
|
4945
|
-
}, bt = { username:
|
|
5005
|
+
"g-recaptcha-response": te
|
|
5006
|
+
}, bt = { username: p, password: q }, dn = {
|
|
4946
5007
|
method: "POST",
|
|
4947
5008
|
headers: Zt,
|
|
4948
5009
|
body: JSON.stringify(bt)
|
|
4949
5010
|
};
|
|
4950
|
-
fetch(`${i}/v1/player/login/player`,
|
|
5011
|
+
fetch(`${i}/v1/player/login/player`, dn).then(($) => ($.status >= 500 && (r(16, fe = "Server might not be responsing"), r(17, J = !1), window.postMessage(
|
|
4951
5012
|
{
|
|
4952
5013
|
type: "WidgetNotification",
|
|
4953
5014
|
data: {
|
|
@@ -4956,13 +5017,13 @@ function os(e, t, r) {
|
|
|
4956
5017
|
}
|
|
4957
5018
|
},
|
|
4958
5019
|
window.location.href
|
|
4959
|
-
)),
|
|
4960
|
-
if (
|
|
5020
|
+
)), $.json())).then(($) => {
|
|
5021
|
+
if ($.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && $.code === 4 && (r(8, y = $.detail.userId), r(10, C = $.detail.phonePrefix + $.detail.phone), r(21, de = !0), Ye(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), $.sessionID) {
|
|
4961
5022
|
if (window.postMessage(
|
|
4962
5023
|
{
|
|
4963
5024
|
type: "UserSessionID",
|
|
4964
|
-
session:
|
|
4965
|
-
userid:
|
|
5025
|
+
session: $.sessionID,
|
|
5026
|
+
userid: $.universalID
|
|
4966
5027
|
},
|
|
4967
5028
|
window.location.href
|
|
4968
5029
|
), window.postMessage(
|
|
@@ -4974,27 +5035,27 @@ function os(e, t, r) {
|
|
|
4974
5035
|
}
|
|
4975
5036
|
},
|
|
4976
5037
|
window.location.href
|
|
4977
|
-
), window.PasswordCredential &&
|
|
4978
|
-
const
|
|
5038
|
+
), window.PasswordCredential && b == "true") {
|
|
5039
|
+
const je = new PasswordCredential({
|
|
4979
5040
|
password: bt.password,
|
|
4980
5041
|
id: bt.username
|
|
4981
5042
|
});
|
|
4982
|
-
navigator.credentials.store(
|
|
5043
|
+
navigator.credentials.store(je);
|
|
4983
5044
|
}
|
|
4984
|
-
|
|
5045
|
+
Ge();
|
|
4985
5046
|
} else
|
|
4986
5047
|
try {
|
|
4987
|
-
let
|
|
4988
|
-
r(
|
|
5048
|
+
let je = $.error;
|
|
5049
|
+
r(16, fe = je), r(17, J = !1), window.postMessage(
|
|
4989
5050
|
{
|
|
4990
5051
|
type: "WidgetNotification",
|
|
4991
|
-
data: { type: "error", message:
|
|
5052
|
+
data: { type: "error", message: je }
|
|
4992
5053
|
},
|
|
4993
5054
|
window.location.href
|
|
4994
5055
|
);
|
|
4995
|
-
} catch (
|
|
4996
|
-
let qt =
|
|
4997
|
-
r(
|
|
5056
|
+
} catch (je) {
|
|
5057
|
+
let qt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
|
|
5058
|
+
r(16, fe = qt), r(17, J = !1), window.postMessage(
|
|
4998
5059
|
{
|
|
4999
5060
|
type: "WidgetNotification",
|
|
5000
5061
|
data: { type: "error", message: qt }
|
|
@@ -5003,142 +5064,128 @@ function os(e, t, r) {
|
|
|
5003
5064
|
);
|
|
5004
5065
|
}
|
|
5005
5066
|
});
|
|
5006
|
-
}),
|
|
5067
|
+
}), Ye = (p, q) => et(this, null, function* () {
|
|
5007
5068
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5008
5069
|
try {
|
|
5009
|
-
const
|
|
5070
|
+
const te = yield fetch(`${i}/v1/player/sms/token`, {
|
|
5010
5071
|
method: "POST",
|
|
5011
5072
|
headers: {
|
|
5012
5073
|
"Content-Type": "application/json",
|
|
5013
5074
|
accept: "application/json"
|
|
5014
5075
|
},
|
|
5015
5076
|
body: JSON.stringify({
|
|
5016
|
-
userId:
|
|
5077
|
+
userId: q,
|
|
5017
5078
|
messageTemplate: is,
|
|
5018
|
-
destination:
|
|
5079
|
+
destination: p
|
|
5019
5080
|
})
|
|
5020
|
-
}), Wt = yield
|
|
5021
|
-
if (
|
|
5022
|
-
r(
|
|
5081
|
+
}), Wt = yield te.json();
|
|
5082
|
+
if (te.ok) {
|
|
5083
|
+
r(9, g = Wt.id);
|
|
5023
5084
|
let Zt = Wt.maxValidationAttempts;
|
|
5024
|
-
|
|
5085
|
+
S = !1;
|
|
5025
5086
|
} else
|
|
5026
|
-
throw
|
|
5027
|
-
} catch (
|
|
5028
|
-
|
|
5087
|
+
throw S = !0, new Error("Failed to fetch");
|
|
5088
|
+
} catch (te) {
|
|
5089
|
+
S = !0, console.error(te);
|
|
5029
5090
|
}
|
|
5030
|
-
}),
|
|
5091
|
+
}), F = () => {
|
|
5031
5092
|
qo(s);
|
|
5032
|
-
}, U = () => {
|
|
5033
|
-
let m = document.createElement("style");
|
|
5034
|
-
m.innerHTML = l, W.appendChild(m);
|
|
5035
|
-
}, Ke = () => {
|
|
5036
|
-
let m = new URL(c), $ = document.createElement("style");
|
|
5037
|
-
fetch(m.href).then((j) => j.text()).then((j) => {
|
|
5038
|
-
$.innerHTML = j, setTimeout(
|
|
5039
|
-
() => {
|
|
5040
|
-
W.appendChild($);
|
|
5041
|
-
},
|
|
5042
|
-
1
|
|
5043
|
-
), setTimeout(
|
|
5044
|
-
() => {
|
|
5045
|
-
},
|
|
5046
|
-
500
|
|
5047
|
-
);
|
|
5048
|
-
});
|
|
5049
5093
|
};
|
|
5050
|
-
|
|
5051
|
-
window.removeEventListener("message",
|
|
5094
|
+
Bn(() => (window.addEventListener("message", ve, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Vo(R)), () => {
|
|
5095
|
+
window.removeEventListener("message", ve);
|
|
5052
5096
|
}));
|
|
5053
|
-
const
|
|
5054
|
-
function
|
|
5055
|
-
|
|
5097
|
+
const Ke = () => ke();
|
|
5098
|
+
function Pe() {
|
|
5099
|
+
U = this.value, r(12, U);
|
|
5056
5100
|
}
|
|
5057
|
-
function
|
|
5058
|
-
|
|
5101
|
+
function Y() {
|
|
5102
|
+
A = this.value, r(13, A);
|
|
5059
5103
|
}
|
|
5060
|
-
function D(
|
|
5061
|
-
ut[
|
|
5062
|
-
|
|
5104
|
+
function D(p) {
|
|
5105
|
+
ut[p ? "unshift" : "push"](() => {
|
|
5106
|
+
ue = p, r(18, ue);
|
|
5063
5107
|
});
|
|
5064
5108
|
}
|
|
5065
|
-
const k = () =>
|
|
5066
|
-
function
|
|
5067
|
-
ut[
|
|
5068
|
-
|
|
5109
|
+
const k = () => we(), G = () => Ee(), v = (p) => Q(p), P = (p) => xe(p);
|
|
5110
|
+
function fn(p) {
|
|
5111
|
+
ut[p ? "unshift" : "push"](() => {
|
|
5112
|
+
X = p, r(7, X);
|
|
5069
5113
|
});
|
|
5070
5114
|
}
|
|
5071
|
-
return e.$$set = (
|
|
5072
|
-
"endpoint" in
|
|
5115
|
+
return e.$$set = (p) => {
|
|
5116
|
+
"endpoint" in p && r(0, i = p.endpoint), "captchakey" in p && r(1, o = p.captchakey), "lang" in p && r(30, s = p.lang), "smsverification" in p && r(31, a = p.smsverification), "simplepasswordvalidation" in p && r(2, u = p.simplepasswordvalidation), "mbsource" in p && r(3, l = p.mbsource), "clientstyling" in p && r(4, c = p.clientstyling), "clientstylingurl" in p && r(5, f = p.clientstylingurl), "translationurl" in p && r(32, d = p.translationurl), "savecredentials" in p && r(6, b = p.savecredentials);
|
|
5073
5117
|
}, e.$$.update = () => {
|
|
5074
5118
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5075
|
-
|
|
5076
|
-
4 && u &&
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5119
|
+
1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5120
|
+
4 && u && Je(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5121
|
+
144 && c && X && zo(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5122
|
+
160 && f && X && Xo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5123
|
+
136 && l && X && Wo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5124
|
+
2 && d && O();
|
|
5080
5125
|
}, [
|
|
5081
5126
|
i,
|
|
5082
5127
|
o,
|
|
5083
5128
|
u,
|
|
5084
5129
|
l,
|
|
5085
5130
|
c,
|
|
5086
|
-
|
|
5087
|
-
W,
|
|
5131
|
+
f,
|
|
5088
5132
|
b,
|
|
5133
|
+
X,
|
|
5089
5134
|
y,
|
|
5090
|
-
|
|
5091
|
-
|
|
5135
|
+
g,
|
|
5136
|
+
C,
|
|
5137
|
+
z,
|
|
5138
|
+
U,
|
|
5139
|
+
A,
|
|
5092
5140
|
H,
|
|
5093
|
-
|
|
5141
|
+
oe,
|
|
5142
|
+
fe,
|
|
5094
5143
|
J,
|
|
5144
|
+
ue,
|
|
5095
5145
|
B,
|
|
5096
|
-
oe,
|
|
5097
|
-
ne,
|
|
5098
5146
|
ie,
|
|
5099
5147
|
de,
|
|
5100
|
-
A,
|
|
5101
|
-
Fe,
|
|
5102
5148
|
n,
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
me,
|
|
5149
|
+
Ee,
|
|
5150
|
+
we,
|
|
5106
5151
|
ke,
|
|
5107
|
-
|
|
5108
|
-
|
|
5152
|
+
xe,
|
|
5153
|
+
Q,
|
|
5109
5154
|
Qe,
|
|
5155
|
+
be,
|
|
5110
5156
|
s,
|
|
5111
5157
|
a,
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5158
|
+
d,
|
|
5159
|
+
Ke,
|
|
5160
|
+
Pe,
|
|
5161
|
+
Y,
|
|
5116
5162
|
D,
|
|
5117
5163
|
k,
|
|
5164
|
+
G,
|
|
5118
5165
|
v,
|
|
5119
5166
|
P,
|
|
5120
|
-
|
|
5121
|
-
mn
|
|
5167
|
+
fn
|
|
5122
5168
|
];
|
|
5123
5169
|
}
|
|
5124
|
-
class
|
|
5170
|
+
class hn extends kn {
|
|
5125
5171
|
constructor(t) {
|
|
5126
|
-
super(),
|
|
5172
|
+
super(), Fn(
|
|
5127
5173
|
this,
|
|
5128
5174
|
t,
|
|
5129
5175
|
os,
|
|
5130
5176
|
ns,
|
|
5131
|
-
|
|
5177
|
+
Ir,
|
|
5132
5178
|
{
|
|
5133
5179
|
endpoint: 0,
|
|
5134
5180
|
captchakey: 1,
|
|
5135
|
-
lang:
|
|
5136
|
-
smsverification:
|
|
5181
|
+
lang: 30,
|
|
5182
|
+
smsverification: 31,
|
|
5137
5183
|
simplepasswordvalidation: 2,
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5184
|
+
mbsource: 3,
|
|
5185
|
+
clientstyling: 4,
|
|
5186
|
+
clientstylingurl: 5,
|
|
5187
|
+
translationurl: 32,
|
|
5188
|
+
savecredentials: 6
|
|
5142
5189
|
},
|
|
5143
5190
|
Jo,
|
|
5144
5191
|
[-1, -1]
|
|
@@ -5148,87 +5195,96 @@ class fn extends jn {
|
|
|
5148
5195
|
return this.$$.ctx[0];
|
|
5149
5196
|
}
|
|
5150
5197
|
set endpoint(t) {
|
|
5151
|
-
this.$$set({ endpoint: t }),
|
|
5198
|
+
this.$$set({ endpoint: t }), ee();
|
|
5152
5199
|
}
|
|
5153
5200
|
get captchakey() {
|
|
5154
5201
|
return this.$$.ctx[1];
|
|
5155
5202
|
}
|
|
5156
5203
|
set captchakey(t) {
|
|
5157
|
-
this.$$set({ captchakey: t }),
|
|
5204
|
+
this.$$set({ captchakey: t }), ee();
|
|
5158
5205
|
}
|
|
5159
5206
|
get lang() {
|
|
5160
|
-
return this.$$.ctx[
|
|
5207
|
+
return this.$$.ctx[30];
|
|
5161
5208
|
}
|
|
5162
5209
|
set lang(t) {
|
|
5163
|
-
this.$$set({ lang: t }),
|
|
5210
|
+
this.$$set({ lang: t }), ee();
|
|
5164
5211
|
}
|
|
5165
5212
|
get smsverification() {
|
|
5166
|
-
return this.$$.ctx[
|
|
5213
|
+
return this.$$.ctx[31];
|
|
5167
5214
|
}
|
|
5168
5215
|
set smsverification(t) {
|
|
5169
|
-
this.$$set({ smsverification: t }),
|
|
5216
|
+
this.$$set({ smsverification: t }), ee();
|
|
5170
5217
|
}
|
|
5171
5218
|
get simplepasswordvalidation() {
|
|
5172
5219
|
return this.$$.ctx[2];
|
|
5173
5220
|
}
|
|
5174
5221
|
set simplepasswordvalidation(t) {
|
|
5175
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5222
|
+
this.$$set({ simplepasswordvalidation: t }), ee();
|
|
5176
5223
|
}
|
|
5177
|
-
get
|
|
5224
|
+
get mbsource() {
|
|
5178
5225
|
return this.$$.ctx[3];
|
|
5179
5226
|
}
|
|
5227
|
+
set mbsource(t) {
|
|
5228
|
+
this.$$set({ mbsource: t }), ee();
|
|
5229
|
+
}
|
|
5230
|
+
get clientstyling() {
|
|
5231
|
+
return this.$$.ctx[4];
|
|
5232
|
+
}
|
|
5180
5233
|
set clientstyling(t) {
|
|
5181
|
-
this.$$set({ clientstyling: t }),
|
|
5234
|
+
this.$$set({ clientstyling: t }), ee();
|
|
5182
5235
|
}
|
|
5183
5236
|
get clientstylingurl() {
|
|
5184
|
-
return this.$$.ctx[
|
|
5237
|
+
return this.$$.ctx[5];
|
|
5185
5238
|
}
|
|
5186
5239
|
set clientstylingurl(t) {
|
|
5187
|
-
this.$$set({ clientstylingurl: t }),
|
|
5240
|
+
this.$$set({ clientstylingurl: t }), ee();
|
|
5188
5241
|
}
|
|
5189
5242
|
get translationurl() {
|
|
5190
|
-
return this.$$.ctx[
|
|
5243
|
+
return this.$$.ctx[32];
|
|
5191
5244
|
}
|
|
5192
5245
|
set translationurl(t) {
|
|
5193
|
-
this.$$set({ translationurl: t }),
|
|
5246
|
+
this.$$set({ translationurl: t }), ee();
|
|
5194
5247
|
}
|
|
5195
5248
|
get savecredentials() {
|
|
5196
|
-
return this.$$.ctx[
|
|
5249
|
+
return this.$$.ctx[6];
|
|
5197
5250
|
}
|
|
5198
5251
|
set savecredentials(t) {
|
|
5199
|
-
this.$$set({ savecredentials: t }),
|
|
5252
|
+
this.$$set({ savecredentials: t }), ee();
|
|
5200
5253
|
}
|
|
5201
5254
|
}
|
|
5202
|
-
|
|
5255
|
+
Dn(hn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5203
5256
|
const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5204
5257
|
__proto__: null,
|
|
5205
|
-
default:
|
|
5258
|
+
default: hn
|
|
5206
5259
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5207
5260
|
export {
|
|
5208
|
-
|
|
5261
|
+
he as $,
|
|
5209
5262
|
as as G,
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5263
|
+
kn as S,
|
|
5264
|
+
Ue as a,
|
|
5265
|
+
sn as b,
|
|
5266
|
+
Dn as c,
|
|
5267
|
+
En as d,
|
|
5268
|
+
x as e,
|
|
5269
|
+
ee as f,
|
|
5270
|
+
j as g,
|
|
5218
5271
|
h,
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5272
|
+
Fn as i,
|
|
5273
|
+
M as j,
|
|
5274
|
+
m as k,
|
|
5222
5275
|
rt as l,
|
|
5223
|
-
|
|
5276
|
+
se as m,
|
|
5224
5277
|
re as n,
|
|
5225
5278
|
Z as o,
|
|
5226
5279
|
I as p,
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5280
|
+
_n as q,
|
|
5281
|
+
Ne as r,
|
|
5282
|
+
Ir as s,
|
|
5230
5283
|
N as t,
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5284
|
+
Bn as u,
|
|
5285
|
+
Xo as v,
|
|
5286
|
+
Wo as w,
|
|
5287
|
+
ut as x,
|
|
5288
|
+
zo as y,
|
|
5289
|
+
jo as z
|
|
5234
5290
|
};
|