@everymatrix/general-player-register-form-step1 1.53.12 → 1.54.0
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/{GeneralPlayerRegisterFormStep1-BjblAVQm.js → GeneralPlayerRegisterFormStep1-Eq-DZtVR.js} +1090 -1051
- package/components/GeneralPlayerRegisterFormStep1-g0wfxa0a.cjs +3 -0
- package/es2015/general-player-register-form-step1.cjs +1 -0
- package/es2015/general-player-register-form-step1.js +16 -0
- package/package.json +8 -12
- package/esnext/general-player-register-form-step1.js +0 -14
|
@@ -1,24 +1,53 @@
|
|
|
1
|
+
var Gi = Object.defineProperty, ji = Object.defineProperties;
|
|
2
|
+
var Vi = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ft = Object.getOwnPropertySymbols;
|
|
4
|
+
var $i = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ht = (e, r, t) => r in e ? Gi(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Dt = (e, r) => {
|
|
6
|
+
for (var t in r || (r = {}))
|
|
7
|
+
$i.call(r, t) && ht(e, t, r[t]);
|
|
8
|
+
if (Ft)
|
|
9
|
+
for (var t of Ft(r))
|
|
10
|
+
Qi.call(r, t) && ht(e, t, r[t]);
|
|
11
|
+
return e;
|
|
12
|
+
}, Gt = (e, r) => ji(e, Vi(r));
|
|
13
|
+
var be = (e, r, t) => ht(e, typeof r != "symbol" ? r + "" : r, t);
|
|
14
|
+
var jt = (e, r, t) => new Promise((i, n) => {
|
|
15
|
+
var s = (h) => {
|
|
16
|
+
try {
|
|
17
|
+
l(t.next(h));
|
|
18
|
+
} catch (c) {
|
|
19
|
+
n(c);
|
|
20
|
+
}
|
|
21
|
+
}, o = (h) => {
|
|
22
|
+
try {
|
|
23
|
+
l(t.throw(h));
|
|
24
|
+
} catch (c) {
|
|
25
|
+
n(c);
|
|
26
|
+
}
|
|
27
|
+
}, l = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
|
+
l((t = t.apply(e, r)).next());
|
|
29
|
+
});
|
|
1
30
|
function X() {
|
|
2
31
|
}
|
|
3
|
-
function
|
|
32
|
+
function di(e) {
|
|
4
33
|
return e();
|
|
5
34
|
}
|
|
6
|
-
function
|
|
35
|
+
function Vt() {
|
|
7
36
|
return /* @__PURE__ */ Object.create(null);
|
|
8
37
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
38
|
+
function cr(e) {
|
|
39
|
+
e.forEach(di);
|
|
11
40
|
}
|
|
12
|
-
function
|
|
41
|
+
function It(e) {
|
|
13
42
|
return typeof e == "function";
|
|
14
43
|
}
|
|
15
|
-
function
|
|
44
|
+
function mi(e, r) {
|
|
16
45
|
return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
|
|
17
46
|
}
|
|
18
|
-
function
|
|
47
|
+
function zi(e) {
|
|
19
48
|
return Object.keys(e).length === 0;
|
|
20
49
|
}
|
|
21
|
-
function
|
|
50
|
+
function gi(e, ...r) {
|
|
22
51
|
if (e == null) {
|
|
23
52
|
for (const i of r)
|
|
24
53
|
i(void 0);
|
|
@@ -27,20 +56,20 @@ function ri(e, ...r) {
|
|
|
27
56
|
const t = e.subscribe(...r);
|
|
28
57
|
return t.unsubscribe ? () => t.unsubscribe() : t;
|
|
29
58
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function Xi(e, r, t) {
|
|
60
|
+
e.$$.on_destroy.push(gi(r, t));
|
|
32
61
|
}
|
|
33
|
-
function
|
|
62
|
+
function u(e, r) {
|
|
34
63
|
e.appendChild(r);
|
|
35
64
|
}
|
|
36
|
-
function
|
|
37
|
-
const i =
|
|
65
|
+
function Zi(e, r, t) {
|
|
66
|
+
const i = Wi(e);
|
|
38
67
|
if (!i.getElementById(r)) {
|
|
39
|
-
const n =
|
|
40
|
-
n.id = r, n.textContent = t,
|
|
68
|
+
const n = _("style");
|
|
69
|
+
n.id = r, n.textContent = t, qi(i, n);
|
|
41
70
|
}
|
|
42
71
|
}
|
|
43
|
-
function
|
|
72
|
+
function Wi(e) {
|
|
44
73
|
if (!e) return document;
|
|
45
74
|
const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
75
|
return r && /** @type {ShadowRoot} */
|
|
@@ -49,8 +78,8 @@ function Ii(e) {
|
|
|
49
78
|
r
|
|
50
79
|
) : e.ownerDocument;
|
|
51
80
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
81
|
+
function qi(e, r) {
|
|
82
|
+
return u(
|
|
54
83
|
/** @type {Document} */
|
|
55
84
|
e.head || e,
|
|
56
85
|
r
|
|
@@ -62,7 +91,7 @@ function fe(e, r, t) {
|
|
|
62
91
|
function se(e) {
|
|
63
92
|
e.parentNode && e.parentNode.removeChild(e);
|
|
64
93
|
}
|
|
65
|
-
function
|
|
94
|
+
function _(e) {
|
|
66
95
|
return document.createElement(e);
|
|
67
96
|
}
|
|
68
97
|
function S(e) {
|
|
@@ -80,7 +109,7 @@ function x(e, r, t, i) {
|
|
|
80
109
|
function a(e, r, t) {
|
|
81
110
|
t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
|
|
82
111
|
}
|
|
83
|
-
function
|
|
112
|
+
function Ji(e) {
|
|
84
113
|
return Array.from(e.childNodes);
|
|
85
114
|
}
|
|
86
115
|
function F(e, r) {
|
|
@@ -88,9 +117,9 @@ function F(e, r) {
|
|
|
88
117
|
r);
|
|
89
118
|
}
|
|
90
119
|
function ne(e, r) {
|
|
91
|
-
e.value = r
|
|
120
|
+
e.value = r == null ? "" : r;
|
|
92
121
|
}
|
|
93
|
-
function
|
|
122
|
+
function Yi(e) {
|
|
94
123
|
const r = {};
|
|
95
124
|
return e.childNodes.forEach(
|
|
96
125
|
/** @param {Element} node */
|
|
@@ -99,85 +128,85 @@ function Oi(e) {
|
|
|
99
128
|
}
|
|
100
129
|
), r;
|
|
101
130
|
}
|
|
102
|
-
let
|
|
103
|
-
function
|
|
104
|
-
|
|
131
|
+
let Nr;
|
|
132
|
+
function Ir(e) {
|
|
133
|
+
Nr = e;
|
|
105
134
|
}
|
|
106
|
-
function
|
|
107
|
-
if (!
|
|
108
|
-
return
|
|
135
|
+
function Ki() {
|
|
136
|
+
if (!Nr) throw new Error("Function called outside component initialization");
|
|
137
|
+
return Nr;
|
|
109
138
|
}
|
|
110
|
-
function
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
const
|
|
114
|
-
let
|
|
115
|
-
const
|
|
116
|
-
let
|
|
117
|
-
function
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
function
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
const
|
|
124
|
-
let
|
|
125
|
-
function
|
|
126
|
-
if (
|
|
139
|
+
function en(e) {
|
|
140
|
+
Ki().$$.on_mount.push(e);
|
|
141
|
+
}
|
|
142
|
+
const nr = [], Br = [];
|
|
143
|
+
let sr = [];
|
|
144
|
+
const $t = [], rn = /* @__PURE__ */ Promise.resolve();
|
|
145
|
+
let Et = !1;
|
|
146
|
+
function tn() {
|
|
147
|
+
Et || (Et = !0, rn.then(xe));
|
|
148
|
+
}
|
|
149
|
+
function _t(e) {
|
|
150
|
+
sr.push(e);
|
|
151
|
+
}
|
|
152
|
+
const ft = /* @__PURE__ */ new Set();
|
|
153
|
+
let tr = 0;
|
|
154
|
+
function xe() {
|
|
155
|
+
if (tr !== 0)
|
|
127
156
|
return;
|
|
128
|
-
const e =
|
|
157
|
+
const e = Nr;
|
|
129
158
|
do {
|
|
130
159
|
try {
|
|
131
|
-
for (;
|
|
132
|
-
const r =
|
|
133
|
-
|
|
160
|
+
for (; tr < nr.length; ) {
|
|
161
|
+
const r = nr[tr];
|
|
162
|
+
tr++, Ir(r), nn(r.$$);
|
|
134
163
|
}
|
|
135
164
|
} catch (r) {
|
|
136
|
-
throw
|
|
165
|
+
throw nr.length = 0, tr = 0, r;
|
|
137
166
|
}
|
|
138
|
-
for (
|
|
139
|
-
for (let r = 0; r <
|
|
140
|
-
const t =
|
|
141
|
-
|
|
167
|
+
for (Ir(null), nr.length = 0, tr = 0; Br.length; ) Br.pop()();
|
|
168
|
+
for (let r = 0; r < sr.length; r += 1) {
|
|
169
|
+
const t = sr[r];
|
|
170
|
+
ft.has(t) || (ft.add(t), t());
|
|
142
171
|
}
|
|
143
|
-
|
|
144
|
-
} while (
|
|
145
|
-
for (;
|
|
146
|
-
|
|
147
|
-
|
|
172
|
+
sr.length = 0;
|
|
173
|
+
} while (nr.length);
|
|
174
|
+
for (; $t.length; )
|
|
175
|
+
$t.pop()();
|
|
176
|
+
Et = !1, ft.clear(), Ir(e);
|
|
148
177
|
}
|
|
149
|
-
function
|
|
178
|
+
function nn(e) {
|
|
150
179
|
if (e.fragment !== null) {
|
|
151
|
-
e.update(),
|
|
180
|
+
e.update(), cr(e.before_update);
|
|
152
181
|
const r = e.dirty;
|
|
153
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(
|
|
182
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(_t);
|
|
154
183
|
}
|
|
155
184
|
}
|
|
156
|
-
function
|
|
185
|
+
function sn(e) {
|
|
157
186
|
const r = [], t = [];
|
|
158
|
-
|
|
187
|
+
sr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), sr = r;
|
|
159
188
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
e && e.i && (
|
|
189
|
+
const an = /* @__PURE__ */ new Set();
|
|
190
|
+
function on(e, r) {
|
|
191
|
+
e && e.i && (an.delete(e), e.i(r));
|
|
163
192
|
}
|
|
164
|
-
function
|
|
193
|
+
function ln(e, r, t) {
|
|
165
194
|
const { fragment: i, after_update: n } = e.$$;
|
|
166
|
-
i && i.m(r, t),
|
|
167
|
-
const s = e.$$.on_mount.map(
|
|
168
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
169
|
-
}), n.forEach(
|
|
195
|
+
i && i.m(r, t), _t(() => {
|
|
196
|
+
const s = e.$$.on_mount.map(di).filter(It);
|
|
197
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : cr(s), e.$$.on_mount = [];
|
|
198
|
+
}), n.forEach(_t);
|
|
170
199
|
}
|
|
171
|
-
function
|
|
200
|
+
function un(e, r) {
|
|
172
201
|
const t = e.$$;
|
|
173
|
-
t.fragment !== null && (
|
|
202
|
+
t.fragment !== null && (sn(t.after_update), cr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
174
203
|
}
|
|
175
|
-
function
|
|
176
|
-
e.$$.dirty[0] === -1 && (
|
|
204
|
+
function cn(e, r) {
|
|
205
|
+
e.$$.dirty[0] === -1 && (nr.push(e), tn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
177
206
|
}
|
|
178
|
-
function
|
|
179
|
-
const
|
|
180
|
-
|
|
207
|
+
function hn(e, r, t, i, n, s, o = null, l = [-1]) {
|
|
208
|
+
const h = Nr;
|
|
209
|
+
Ir(e);
|
|
181
210
|
const c = e.$$ = {
|
|
182
211
|
fragment: null,
|
|
183
212
|
ctx: [],
|
|
@@ -185,155 +214,159 @@ function Qi(e, r, t, i, n, s, u = null, o = [-1]) {
|
|
|
185
214
|
props: s,
|
|
186
215
|
update: X,
|
|
187
216
|
not_equal: n,
|
|
188
|
-
bound:
|
|
217
|
+
bound: Vt(),
|
|
189
218
|
// lifecycle
|
|
190
219
|
on_mount: [],
|
|
191
220
|
on_destroy: [],
|
|
192
221
|
on_disconnect: [],
|
|
193
222
|
before_update: [],
|
|
194
223
|
after_update: [],
|
|
195
|
-
context: new Map(r.context || (
|
|
224
|
+
context: new Map(r.context || (h ? h.$$.context : [])),
|
|
196
225
|
// everything else
|
|
197
|
-
callbacks:
|
|
198
|
-
dirty:
|
|
226
|
+
callbacks: Vt(),
|
|
227
|
+
dirty: l,
|
|
199
228
|
skip_bound: !1,
|
|
200
|
-
root: r.target ||
|
|
229
|
+
root: r.target || h.$$.root
|
|
201
230
|
};
|
|
202
|
-
|
|
203
|
-
let
|
|
231
|
+
o && o(c.root);
|
|
232
|
+
let f = !1;
|
|
204
233
|
if (c.ctx = t(e, r.props || {}, (m, g, ...b) => {
|
|
205
234
|
const v = b.length ? b[0] : g;
|
|
206
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] = v) && (!c.skip_bound && c.bound[m] && c.bound[m](v),
|
|
207
|
-
}), c.update(),
|
|
235
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = v) && (!c.skip_bound && c.bound[m] && c.bound[m](v), f && cn(e, m)), g;
|
|
236
|
+
}), c.update(), f = !0, cr(c.before_update), c.fragment = i(c.ctx), r.target) {
|
|
208
237
|
if (r.hydrate) {
|
|
209
|
-
const m =
|
|
238
|
+
const m = Ji(r.target);
|
|
210
239
|
c.fragment && c.fragment.l(m), m.forEach(se);
|
|
211
240
|
} else
|
|
212
241
|
c.fragment && c.fragment.c();
|
|
213
|
-
r.intro &&
|
|
242
|
+
r.intro && on(e.$$.fragment), ln(e, r.target, r.anchor), xe();
|
|
214
243
|
}
|
|
215
|
-
|
|
216
|
-
}
|
|
217
|
-
let
|
|
218
|
-
typeof HTMLElement == "function" && (
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
244
|
+
Ir(h);
|
|
245
|
+
}
|
|
246
|
+
let pi;
|
|
247
|
+
typeof HTMLElement == "function" && (pi = class extends HTMLElement {
|
|
248
|
+
constructor(r, t, i) {
|
|
249
|
+
super();
|
|
250
|
+
/** The Svelte component constructor */
|
|
251
|
+
be(this, "$$ctor");
|
|
252
|
+
/** Slots */
|
|
253
|
+
be(this, "$$s");
|
|
254
|
+
/** The Svelte component instance */
|
|
255
|
+
be(this, "$$c");
|
|
256
|
+
/** Whether or not the custom element is connected */
|
|
257
|
+
be(this, "$$cn", !1);
|
|
258
|
+
/** Component props data */
|
|
259
|
+
be(this, "$$d", {});
|
|
260
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
261
|
+
be(this, "$$r", !1);
|
|
262
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
263
|
+
be(this, "$$p_d", {});
|
|
264
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
265
|
+
be(this, "$$l", {});
|
|
266
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
267
|
+
be(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
268
|
+
this.$$ctor = r, this.$$s = t, i && this.attachShadow({ mode: "open" });
|
|
239
269
|
}
|
|
240
|
-
addEventListener(
|
|
241
|
-
if (this.$$l[
|
|
242
|
-
const
|
|
243
|
-
this.$$l_u.set(
|
|
270
|
+
addEventListener(r, t, i) {
|
|
271
|
+
if (this.$$l[r] = this.$$l[r] || [], this.$$l[r].push(t), this.$$c) {
|
|
272
|
+
const n = this.$$c.$on(r, t);
|
|
273
|
+
this.$$l_u.set(t, n);
|
|
244
274
|
}
|
|
245
|
-
super.addEventListener(
|
|
275
|
+
super.addEventListener(r, t, i);
|
|
246
276
|
}
|
|
247
|
-
removeEventListener(
|
|
248
|
-
if (super.removeEventListener(
|
|
249
|
-
const
|
|
250
|
-
|
|
277
|
+
removeEventListener(r, t, i) {
|
|
278
|
+
if (super.removeEventListener(r, t, i), this.$$c) {
|
|
279
|
+
const n = this.$$l_u.get(t);
|
|
280
|
+
n && (n(), this.$$l_u.delete(t));
|
|
251
281
|
}
|
|
252
282
|
}
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
283
|
+
connectedCallback() {
|
|
284
|
+
return jt(this, null, function* () {
|
|
285
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
286
|
+
let r = function(s) {
|
|
287
|
+
return () => {
|
|
288
|
+
let o;
|
|
289
|
+
return {
|
|
290
|
+
c: function() {
|
|
291
|
+
o = _("slot"), s !== "default" && a(o, "name", s);
|
|
292
|
+
},
|
|
293
|
+
/**
|
|
294
|
+
* @param {HTMLElement} target
|
|
295
|
+
* @param {HTMLElement} [anchor]
|
|
296
|
+
*/
|
|
297
|
+
m: function(c, f) {
|
|
298
|
+
fe(c, o, f);
|
|
299
|
+
},
|
|
300
|
+
d: function(c) {
|
|
301
|
+
c && se(o);
|
|
302
|
+
}
|
|
303
|
+
};
|
|
272
304
|
};
|
|
273
305
|
};
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
s in this.$$d || (this.$$d[s] = Xr(s, n.value, this.$$p_d, "toProp"));
|
|
283
|
-
}
|
|
284
|
-
for (const n in this.$$p_d)
|
|
285
|
-
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
286
|
-
this.$$c = new this.$$ctor({
|
|
287
|
-
target: this.shadowRoot || this,
|
|
288
|
-
props: {
|
|
289
|
-
...this.$$d,
|
|
290
|
-
$$slots: r,
|
|
291
|
-
$$scope: {
|
|
292
|
-
ctx: []
|
|
293
|
-
}
|
|
306
|
+
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
307
|
+
return;
|
|
308
|
+
const t = {}, i = Yi(this);
|
|
309
|
+
for (const s of this.$$s)
|
|
310
|
+
s in i && (t[s] = [r(s)]);
|
|
311
|
+
for (const s of this.attributes) {
|
|
312
|
+
const o = this.$$g_p(s.name);
|
|
313
|
+
o in this.$$d || (this.$$d[o] = et(o, s.value, this.$$p_d, "toProp"));
|
|
294
314
|
}
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
this.$$
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
315
|
+
for (const s in this.$$p_d)
|
|
316
|
+
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
317
|
+
this.$$c = new this.$$ctor({
|
|
318
|
+
target: this.shadowRoot || this,
|
|
319
|
+
props: Gt(Dt({}, this.$$d), {
|
|
320
|
+
$$slots: t,
|
|
321
|
+
$$scope: {
|
|
322
|
+
ctx: []
|
|
323
|
+
}
|
|
324
|
+
})
|
|
325
|
+
});
|
|
326
|
+
const n = () => {
|
|
327
|
+
this.$$r = !0;
|
|
328
|
+
for (const s in this.$$p_d)
|
|
329
|
+
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
330
|
+
const o = et(
|
|
331
|
+
s,
|
|
332
|
+
this.$$d[s],
|
|
333
|
+
this.$$p_d,
|
|
334
|
+
"toAttribute"
|
|
335
|
+
);
|
|
336
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
337
|
+
}
|
|
338
|
+
this.$$r = !1;
|
|
339
|
+
};
|
|
340
|
+
this.$$c.$$.after_update.push(n), n();
|
|
341
|
+
for (const s in this.$$l)
|
|
342
|
+
for (const o of this.$$l[s]) {
|
|
343
|
+
const l = this.$$c.$on(s, o);
|
|
344
|
+
this.$$l_u.set(o, l);
|
|
307
345
|
}
|
|
308
|
-
this.$$
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
for (const n in this.$$l)
|
|
312
|
-
for (const s of this.$$l[n]) {
|
|
313
|
-
const u = this.$$c.$on(n, s);
|
|
314
|
-
this.$$l_u.set(s, u);
|
|
315
|
-
}
|
|
316
|
-
this.$$l = {};
|
|
317
|
-
}
|
|
346
|
+
this.$$l = {};
|
|
347
|
+
}
|
|
348
|
+
});
|
|
318
349
|
}
|
|
319
350
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
320
351
|
// and setting attributes through setAttribute etc, this is helpful
|
|
321
|
-
attributeChangedCallback(
|
|
322
|
-
|
|
352
|
+
attributeChangedCallback(r, t, i) {
|
|
353
|
+
var n;
|
|
354
|
+
this.$$r || (r = this.$$g_p(r), this.$$d[r] = et(r, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [r]: this.$$d[r] }));
|
|
323
355
|
}
|
|
324
356
|
disconnectedCallback() {
|
|
325
357
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
326
358
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
327
359
|
});
|
|
328
360
|
}
|
|
329
|
-
$$g_p(
|
|
361
|
+
$$g_p(r) {
|
|
330
362
|
return Object.keys(this.$$p_d).find(
|
|
331
|
-
(
|
|
332
|
-
) ||
|
|
363
|
+
(t) => this.$$p_d[t].attribute === r || !this.$$p_d[t].attribute && t.toLowerCase() === r
|
|
364
|
+
) || r;
|
|
333
365
|
}
|
|
334
366
|
});
|
|
335
|
-
function
|
|
336
|
-
|
|
367
|
+
function et(e, r, t, i) {
|
|
368
|
+
var s;
|
|
369
|
+
const n = (s = t[e]) == null ? void 0 : s.type;
|
|
337
370
|
if (r = n === "Boolean" && typeof r != "boolean" ? r != null : r, !i || !t[e])
|
|
338
371
|
return r;
|
|
339
372
|
if (i === "toAttribute")
|
|
@@ -344,7 +377,7 @@ function Xr(e, r, t, i) {
|
|
|
344
377
|
case "Boolean":
|
|
345
378
|
return r ? "" : null;
|
|
346
379
|
case "Number":
|
|
347
|
-
return r
|
|
380
|
+
return r == null ? null : r;
|
|
348
381
|
default:
|
|
349
382
|
return r;
|
|
350
383
|
}
|
|
@@ -361,55 +394,59 @@ function Xr(e, r, t, i) {
|
|
|
361
394
|
return r;
|
|
362
395
|
}
|
|
363
396
|
}
|
|
364
|
-
function
|
|
365
|
-
let
|
|
397
|
+
function fn(e, r, t, i, n, s) {
|
|
398
|
+
let o = class extends pi {
|
|
366
399
|
constructor() {
|
|
367
400
|
super(e, t, n), this.$$p_d = r;
|
|
368
401
|
}
|
|
369
402
|
static get observedAttributes() {
|
|
370
403
|
return Object.keys(r).map(
|
|
371
|
-
(
|
|
404
|
+
(l) => (r[l].attribute || l).toLowerCase()
|
|
372
405
|
);
|
|
373
406
|
}
|
|
374
407
|
};
|
|
375
|
-
return Object.keys(r).forEach((
|
|
376
|
-
Object.defineProperty(
|
|
408
|
+
return Object.keys(r).forEach((l) => {
|
|
409
|
+
Object.defineProperty(o.prototype, l, {
|
|
377
410
|
get() {
|
|
378
|
-
return this.$$c &&
|
|
411
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
379
412
|
},
|
|
380
|
-
set(
|
|
381
|
-
|
|
413
|
+
set(h) {
|
|
414
|
+
var c;
|
|
415
|
+
h = et(l, h, r), this.$$d[l] = h, (c = this.$$c) == null || c.$set({ [l]: h });
|
|
382
416
|
}
|
|
383
417
|
});
|
|
384
|
-
}), i.forEach((
|
|
385
|
-
Object.defineProperty(
|
|
418
|
+
}), i.forEach((l) => {
|
|
419
|
+
Object.defineProperty(o.prototype, l, {
|
|
386
420
|
get() {
|
|
387
|
-
|
|
421
|
+
var h;
|
|
422
|
+
return (h = this.$$c) == null ? void 0 : h[l];
|
|
388
423
|
}
|
|
389
424
|
});
|
|
390
425
|
}), e.element = /** @type {any} */
|
|
391
|
-
|
|
392
|
-
}
|
|
393
|
-
class
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
426
|
+
o, o;
|
|
427
|
+
}
|
|
428
|
+
class dn {
|
|
429
|
+
constructor() {
|
|
430
|
+
/**
|
|
431
|
+
* ### PRIVATE API
|
|
432
|
+
*
|
|
433
|
+
* Do not use, may change at any time
|
|
434
|
+
*
|
|
435
|
+
* @type {any}
|
|
436
|
+
*/
|
|
437
|
+
be(this, "$$");
|
|
438
|
+
/**
|
|
439
|
+
* ### PRIVATE API
|
|
440
|
+
*
|
|
441
|
+
* Do not use, may change at any time
|
|
442
|
+
*
|
|
443
|
+
* @type {any}
|
|
444
|
+
*/
|
|
445
|
+
be(this, "$$set");
|
|
446
|
+
}
|
|
410
447
|
/** @returns {void} */
|
|
411
448
|
$destroy() {
|
|
412
|
-
|
|
449
|
+
un(this, 1), this.$destroy = X;
|
|
413
450
|
}
|
|
414
451
|
/**
|
|
415
452
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -418,7 +455,7 @@ class Xi {
|
|
|
418
455
|
* @returns {() => void}
|
|
419
456
|
*/
|
|
420
457
|
$on(r, t) {
|
|
421
|
-
if (!
|
|
458
|
+
if (!It(t))
|
|
422
459
|
return X;
|
|
423
460
|
const i = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
|
|
424
461
|
return i.push(t), () => {
|
|
@@ -431,159 +468,159 @@ class Xi {
|
|
|
431
468
|
* @returns {void}
|
|
432
469
|
*/
|
|
433
470
|
$set(r) {
|
|
434
|
-
this.$$set && !
|
|
471
|
+
this.$$set && !zi(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
|
|
435
472
|
}
|
|
436
473
|
}
|
|
437
|
-
const
|
|
438
|
-
typeof window
|
|
439
|
-
const
|
|
440
|
-
function
|
|
474
|
+
const mn = "4";
|
|
475
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
|
|
476
|
+
const ir = [];
|
|
477
|
+
function gn(e, r) {
|
|
441
478
|
return {
|
|
442
|
-
subscribe:
|
|
479
|
+
subscribe: st(e, r).subscribe
|
|
443
480
|
};
|
|
444
481
|
}
|
|
445
|
-
function
|
|
482
|
+
function st(e, r = X) {
|
|
446
483
|
let t;
|
|
447
484
|
const i = /* @__PURE__ */ new Set();
|
|
448
|
-
function n(
|
|
449
|
-
if (
|
|
450
|
-
const
|
|
485
|
+
function n(l) {
|
|
486
|
+
if (mi(e, l) && (e = l, t)) {
|
|
487
|
+
const h = !ir.length;
|
|
451
488
|
for (const c of i)
|
|
452
|
-
c[1](),
|
|
453
|
-
if (
|
|
454
|
-
for (let c = 0; c <
|
|
455
|
-
|
|
456
|
-
|
|
489
|
+
c[1](), ir.push(c, e);
|
|
490
|
+
if (h) {
|
|
491
|
+
for (let c = 0; c < ir.length; c += 2)
|
|
492
|
+
ir[c][0](ir[c + 1]);
|
|
493
|
+
ir.length = 0;
|
|
457
494
|
}
|
|
458
495
|
}
|
|
459
496
|
}
|
|
460
|
-
function s(
|
|
461
|
-
n(
|
|
497
|
+
function s(l) {
|
|
498
|
+
n(l(e));
|
|
462
499
|
}
|
|
463
|
-
function
|
|
464
|
-
const c = [
|
|
465
|
-
return i.add(c), i.size === 1 && (t = r(n, s) || X),
|
|
500
|
+
function o(l, h = X) {
|
|
501
|
+
const c = [l, h];
|
|
502
|
+
return i.add(c), i.size === 1 && (t = r(n, s) || X), l(e), () => {
|
|
466
503
|
i.delete(c), i.size === 0 && t && (t(), t = null);
|
|
467
504
|
};
|
|
468
505
|
}
|
|
469
|
-
return { set: n, update: s, subscribe:
|
|
506
|
+
return { set: n, update: s, subscribe: o };
|
|
470
507
|
}
|
|
471
|
-
function
|
|
508
|
+
function hr(e, r, t) {
|
|
472
509
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
473
510
|
if (!n.every(Boolean))
|
|
474
511
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
475
512
|
const s = r.length < 2;
|
|
476
|
-
return
|
|
477
|
-
let
|
|
513
|
+
return gn(t, (o, l) => {
|
|
514
|
+
let h = !1;
|
|
478
515
|
const c = [];
|
|
479
|
-
let
|
|
516
|
+
let f = 0, m = X;
|
|
480
517
|
const g = () => {
|
|
481
|
-
if (
|
|
518
|
+
if (f)
|
|
482
519
|
return;
|
|
483
520
|
m();
|
|
484
|
-
const v = r(i ? c[0] : c,
|
|
485
|
-
s ?
|
|
521
|
+
const v = r(i ? c[0] : c, o, l);
|
|
522
|
+
s ? o(v) : m = It(v) ? v : X;
|
|
486
523
|
}, b = n.map(
|
|
487
|
-
(v,
|
|
524
|
+
(v, E) => gi(
|
|
488
525
|
v,
|
|
489
526
|
(w) => {
|
|
490
|
-
c[
|
|
527
|
+
c[E] = w, f &= ~(1 << E), h && g();
|
|
491
528
|
},
|
|
492
529
|
() => {
|
|
493
|
-
|
|
530
|
+
f |= 1 << E;
|
|
494
531
|
}
|
|
495
532
|
)
|
|
496
533
|
);
|
|
497
|
-
return
|
|
498
|
-
|
|
534
|
+
return h = !0, g(), function() {
|
|
535
|
+
cr(b), m(), h = !1;
|
|
499
536
|
};
|
|
500
537
|
});
|
|
501
538
|
}
|
|
502
|
-
function
|
|
539
|
+
function pn(e) {
|
|
503
540
|
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
504
541
|
}
|
|
505
|
-
var
|
|
506
|
-
return
|
|
542
|
+
var bn = function(r) {
|
|
543
|
+
return yn(r) && !En(r);
|
|
507
544
|
};
|
|
508
|
-
function
|
|
545
|
+
function yn(e) {
|
|
509
546
|
return !!e && typeof e == "object";
|
|
510
547
|
}
|
|
511
|
-
function
|
|
548
|
+
function En(e) {
|
|
512
549
|
var r = Object.prototype.toString.call(e);
|
|
513
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
550
|
+
return r === "[object RegExp]" || r === "[object Date]" || wn(e);
|
|
514
551
|
}
|
|
515
|
-
var
|
|
516
|
-
function
|
|
517
|
-
return e.$$typeof ===
|
|
552
|
+
var _n = typeof Symbol == "function" && Symbol.for, vn = _n ? Symbol.for("react.element") : 60103;
|
|
553
|
+
function wn(e) {
|
|
554
|
+
return e.$$typeof === vn;
|
|
518
555
|
}
|
|
519
|
-
function
|
|
556
|
+
function Sn(e) {
|
|
520
557
|
return Array.isArray(e) ? [] : {};
|
|
521
558
|
}
|
|
522
|
-
function
|
|
523
|
-
return r.clone !== !1 && r.isMergeableObject(e) ?
|
|
559
|
+
function Or(e, r) {
|
|
560
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? ar(Sn(e), e, r) : e;
|
|
524
561
|
}
|
|
525
|
-
function
|
|
562
|
+
function Pn(e, r, t) {
|
|
526
563
|
return e.concat(r).map(function(i) {
|
|
527
|
-
return
|
|
564
|
+
return Or(i, t);
|
|
528
565
|
});
|
|
529
566
|
}
|
|
530
|
-
function
|
|
567
|
+
function Cn(e, r) {
|
|
531
568
|
if (!r.customMerge)
|
|
532
|
-
return
|
|
569
|
+
return ar;
|
|
533
570
|
var t = r.customMerge(e);
|
|
534
|
-
return typeof t == "function" ? t :
|
|
571
|
+
return typeof t == "function" ? t : ar;
|
|
535
572
|
}
|
|
536
|
-
function
|
|
573
|
+
function xn(e) {
|
|
537
574
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
538
575
|
return Object.propertyIsEnumerable.call(e, r);
|
|
539
576
|
}) : [];
|
|
540
577
|
}
|
|
541
|
-
function
|
|
542
|
-
return Object.keys(e).concat(
|
|
578
|
+
function Qt(e) {
|
|
579
|
+
return Object.keys(e).concat(xn(e));
|
|
543
580
|
}
|
|
544
|
-
function
|
|
581
|
+
function bi(e, r) {
|
|
545
582
|
try {
|
|
546
583
|
return r in e;
|
|
547
|
-
} catch {
|
|
584
|
+
} catch (t) {
|
|
548
585
|
return !1;
|
|
549
586
|
}
|
|
550
587
|
}
|
|
551
|
-
function
|
|
552
|
-
return
|
|
588
|
+
function An(e, r) {
|
|
589
|
+
return bi(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
|
|
553
590
|
}
|
|
554
|
-
function
|
|
591
|
+
function Tn(e, r, t) {
|
|
555
592
|
var i = {};
|
|
556
|
-
return t.isMergeableObject(e) &&
|
|
557
|
-
i[n] =
|
|
558
|
-
}),
|
|
559
|
-
|
|
593
|
+
return t.isMergeableObject(e) && Qt(e).forEach(function(n) {
|
|
594
|
+
i[n] = Or(e[n], t);
|
|
595
|
+
}), Qt(r).forEach(function(n) {
|
|
596
|
+
An(e, n) || (bi(e, n) && t.isMergeableObject(r[n]) ? i[n] = Cn(n, t)(e[n], r[n], t) : i[n] = Or(r[n], t));
|
|
560
597
|
}), i;
|
|
561
598
|
}
|
|
562
|
-
function
|
|
563
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
599
|
+
function ar(e, r, t) {
|
|
600
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || Pn, t.isMergeableObject = t.isMergeableObject || bn, t.cloneUnlessOtherwiseSpecified = Or;
|
|
564
601
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
565
|
-
return s ? i ? t.arrayMerge(e, r, t) :
|
|
602
|
+
return s ? i ? t.arrayMerge(e, r, t) : Tn(e, r, t) : Or(r, t);
|
|
566
603
|
}
|
|
567
|
-
|
|
604
|
+
ar.all = function(r, t) {
|
|
568
605
|
if (!Array.isArray(r))
|
|
569
606
|
throw new Error("first argument should be an array");
|
|
570
607
|
return r.reduce(function(i, n) {
|
|
571
|
-
return
|
|
608
|
+
return ar(i, n, t);
|
|
572
609
|
}, {});
|
|
573
610
|
};
|
|
574
|
-
var
|
|
575
|
-
const
|
|
576
|
-
var
|
|
577
|
-
return
|
|
611
|
+
var Hn = ar, In = Hn;
|
|
612
|
+
const Bn = /* @__PURE__ */ pn(In);
|
|
613
|
+
var vt = function(e, r) {
|
|
614
|
+
return vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
578
615
|
t.__proto__ = i;
|
|
579
616
|
} || function(t, i) {
|
|
580
617
|
for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
581
|
-
},
|
|
618
|
+
}, vt(e, r);
|
|
582
619
|
};
|
|
583
|
-
function
|
|
620
|
+
function at(e, r) {
|
|
584
621
|
if (typeof r != "function" && r !== null)
|
|
585
622
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
586
|
-
|
|
623
|
+
vt(e, r);
|
|
587
624
|
function t() {
|
|
588
625
|
this.constructor = e;
|
|
589
626
|
}
|
|
@@ -598,7 +635,7 @@ var A = function() {
|
|
|
598
635
|
return r;
|
|
599
636
|
}, A.apply(this, arguments);
|
|
600
637
|
};
|
|
601
|
-
function
|
|
638
|
+
function Nn(e, r) {
|
|
602
639
|
var t = {};
|
|
603
640
|
for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
604
641
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -606,45 +643,45 @@ function dn(e, r) {
|
|
|
606
643
|
r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
|
|
607
644
|
return t;
|
|
608
645
|
}
|
|
609
|
-
function
|
|
646
|
+
function dt(e, r, t) {
|
|
610
647
|
if (t || arguments.length === 2) for (var i = 0, n = r.length, s; i < n; i++)
|
|
611
648
|
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
612
649
|
return e.concat(s || Array.prototype.slice.call(r));
|
|
613
650
|
}
|
|
614
|
-
function
|
|
615
|
-
var t = r && r.cache ? r.cache :
|
|
651
|
+
function mt(e, r) {
|
|
652
|
+
var t = r && r.cache ? r.cache : Fn, i = r && r.serializer ? r.serializer : Un, n = r && r.strategy ? r.strategy : Ln;
|
|
616
653
|
return n(e, {
|
|
617
654
|
cache: t,
|
|
618
655
|
serializer: i
|
|
619
656
|
});
|
|
620
657
|
}
|
|
621
|
-
function
|
|
658
|
+
function On(e) {
|
|
622
659
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
623
660
|
}
|
|
624
|
-
function
|
|
625
|
-
var n =
|
|
626
|
-
return typeof s
|
|
661
|
+
function yi(e, r, t, i) {
|
|
662
|
+
var n = On(i) ? i : t(i), s = r.get(n);
|
|
663
|
+
return typeof s == "undefined" && (s = e.call(this, i), r.set(n, s)), s;
|
|
627
664
|
}
|
|
628
|
-
function
|
|
665
|
+
function Ei(e, r, t) {
|
|
629
666
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
630
|
-
return typeof s
|
|
667
|
+
return typeof s == "undefined" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
631
668
|
}
|
|
632
|
-
function
|
|
669
|
+
function Bt(e, r, t, i, n) {
|
|
633
670
|
return t.bind(r, e, i, n);
|
|
634
671
|
}
|
|
635
|
-
function
|
|
636
|
-
var t = e.length === 1 ?
|
|
637
|
-
return
|
|
672
|
+
function Ln(e, r) {
|
|
673
|
+
var t = e.length === 1 ? yi : Ei;
|
|
674
|
+
return Bt(e, this, t, r.cache.create(), r.serializer);
|
|
638
675
|
}
|
|
639
|
-
function
|
|
640
|
-
return
|
|
676
|
+
function Mn(e, r) {
|
|
677
|
+
return Bt(e, this, Ei, r.cache.create(), r.serializer);
|
|
641
678
|
}
|
|
642
|
-
function
|
|
643
|
-
return
|
|
679
|
+
function Rn(e, r) {
|
|
680
|
+
return Bt(e, this, yi, r.cache.create(), r.serializer);
|
|
644
681
|
}
|
|
645
|
-
var
|
|
682
|
+
var Un = function() {
|
|
646
683
|
return JSON.stringify(arguments);
|
|
647
|
-
},
|
|
684
|
+
}, kn = (
|
|
648
685
|
/** @class */
|
|
649
686
|
function() {
|
|
650
687
|
function e() {
|
|
@@ -656,13 +693,13 @@ var yn = function() {
|
|
|
656
693
|
this.cache[r] = t;
|
|
657
694
|
}, e;
|
|
658
695
|
}()
|
|
659
|
-
),
|
|
696
|
+
), Fn = {
|
|
660
697
|
create: function() {
|
|
661
|
-
return new
|
|
698
|
+
return new kn();
|
|
662
699
|
}
|
|
663
|
-
},
|
|
664
|
-
variadic:
|
|
665
|
-
monadic:
|
|
700
|
+
}, gt = {
|
|
701
|
+
variadic: Mn,
|
|
702
|
+
monadic: Rn
|
|
666
703
|
}, P;
|
|
667
704
|
(function(e) {
|
|
668
705
|
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";
|
|
@@ -671,47 +708,47 @@ var N;
|
|
|
671
708
|
(function(e) {
|
|
672
709
|
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";
|
|
673
710
|
})(N || (N = {}));
|
|
674
|
-
var
|
|
711
|
+
var or;
|
|
675
712
|
(function(e) {
|
|
676
713
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
677
|
-
})(
|
|
678
|
-
function
|
|
714
|
+
})(or || (or = {}));
|
|
715
|
+
function zt(e) {
|
|
679
716
|
return e.type === N.literal;
|
|
680
717
|
}
|
|
681
|
-
function
|
|
718
|
+
function Dn(e) {
|
|
682
719
|
return e.type === N.argument;
|
|
683
720
|
}
|
|
684
|
-
function
|
|
721
|
+
function _i(e) {
|
|
685
722
|
return e.type === N.number;
|
|
686
723
|
}
|
|
687
|
-
function
|
|
724
|
+
function vi(e) {
|
|
688
725
|
return e.type === N.date;
|
|
689
726
|
}
|
|
690
|
-
function
|
|
727
|
+
function wi(e) {
|
|
691
728
|
return e.type === N.time;
|
|
692
729
|
}
|
|
693
|
-
function
|
|
730
|
+
function Si(e) {
|
|
694
731
|
return e.type === N.select;
|
|
695
732
|
}
|
|
696
|
-
function
|
|
733
|
+
function Pi(e) {
|
|
697
734
|
return e.type === N.plural;
|
|
698
735
|
}
|
|
699
|
-
function
|
|
736
|
+
function Gn(e) {
|
|
700
737
|
return e.type === N.pound;
|
|
701
738
|
}
|
|
702
|
-
function
|
|
739
|
+
function Ci(e) {
|
|
703
740
|
return e.type === N.tag;
|
|
704
741
|
}
|
|
705
|
-
function
|
|
706
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
742
|
+
function xi(e) {
|
|
743
|
+
return !!(e && typeof e == "object" && e.type === or.number);
|
|
707
744
|
}
|
|
708
|
-
function
|
|
709
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
745
|
+
function wt(e) {
|
|
746
|
+
return !!(e && typeof e == "object" && e.type === or.dateTime);
|
|
710
747
|
}
|
|
711
|
-
var
|
|
712
|
-
function
|
|
748
|
+
var Ai = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
|
|
749
|
+
function Vn(e) {
|
|
713
750
|
var r = {};
|
|
714
|
-
return e.replace(
|
|
751
|
+
return e.replace(jn, function(t) {
|
|
715
752
|
var i = t.length;
|
|
716
753
|
switch (t[0]) {
|
|
717
754
|
case "G":
|
|
@@ -800,36 +837,36 @@ function Pn(e) {
|
|
|
800
837
|
return "";
|
|
801
838
|
}), r;
|
|
802
839
|
}
|
|
803
|
-
var
|
|
804
|
-
function
|
|
840
|
+
var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
841
|
+
function Qn(e) {
|
|
805
842
|
if (e.length === 0)
|
|
806
843
|
throw new Error("Number skeleton cannot be empty");
|
|
807
|
-
for (var r = e.split(
|
|
844
|
+
for (var r = e.split($n).filter(function(g) {
|
|
808
845
|
return g.length > 0;
|
|
809
846
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
810
|
-
var s = n[i],
|
|
811
|
-
if (
|
|
847
|
+
var s = n[i], o = s.split("/");
|
|
848
|
+
if (o.length === 0)
|
|
812
849
|
throw new Error("Invalid number skeleton");
|
|
813
|
-
for (var
|
|
814
|
-
var m =
|
|
850
|
+
for (var l = o[0], h = o.slice(1), c = 0, f = h; c < f.length; c++) {
|
|
851
|
+
var m = f[c];
|
|
815
852
|
if (m.length === 0)
|
|
816
853
|
throw new Error("Invalid number skeleton");
|
|
817
854
|
}
|
|
818
|
-
t.push({ stem:
|
|
855
|
+
t.push({ stem: l, options: h });
|
|
819
856
|
}
|
|
820
857
|
return t;
|
|
821
858
|
}
|
|
822
|
-
function
|
|
859
|
+
function zn(e) {
|
|
823
860
|
return e.replace(/^(.*?)-/, "");
|
|
824
861
|
}
|
|
825
|
-
var
|
|
826
|
-
function
|
|
862
|
+
var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ti = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Hi = /^(0+)$/;
|
|
863
|
+
function Zt(e) {
|
|
827
864
|
var r = {};
|
|
828
|
-
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(
|
|
865
|
+
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(Ti, function(t, i, n) {
|
|
829
866
|
return typeof n != "string" ? (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length) : n === "+" ? r.minimumSignificantDigits = i.length : i[0] === "#" ? r.maximumSignificantDigits = i.length : (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
830
867
|
}), r;
|
|
831
868
|
}
|
|
832
|
-
function
|
|
869
|
+
function Ii(e) {
|
|
833
870
|
switch (e) {
|
|
834
871
|
case "sign-auto":
|
|
835
872
|
return {
|
|
@@ -869,7 +906,7 @@ function pi(e) {
|
|
|
869
906
|
};
|
|
870
907
|
}
|
|
871
908
|
}
|
|
872
|
-
function
|
|
909
|
+
function Zn(e) {
|
|
873
910
|
var r;
|
|
874
911
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
875
912
|
notation: "engineering"
|
|
@@ -877,17 +914,17 @@ function Hn(e) {
|
|
|
877
914
|
notation: "scientific"
|
|
878
915
|
}, e = e.slice(1)), r) {
|
|
879
916
|
var t = e.slice(0, 2);
|
|
880
|
-
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
917
|
+
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !Hi.test(e))
|
|
881
918
|
throw new Error("Malformed concise eng/scientific notation");
|
|
882
919
|
r.minimumIntegerDigits = e.length;
|
|
883
920
|
}
|
|
884
921
|
return r;
|
|
885
922
|
}
|
|
886
|
-
function
|
|
887
|
-
var r = {}, t =
|
|
923
|
+
function Wt(e) {
|
|
924
|
+
var r = {}, t = Ii(e);
|
|
888
925
|
return t || r;
|
|
889
926
|
}
|
|
890
|
-
function
|
|
927
|
+
function Wn(e) {
|
|
891
928
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
892
929
|
var n = i[t];
|
|
893
930
|
switch (n.stem) {
|
|
@@ -911,7 +948,7 @@ function In(e) {
|
|
|
911
948
|
continue;
|
|
912
949
|
case "measure-unit":
|
|
913
950
|
case "unit":
|
|
914
|
-
r.style = "unit", r.unit =
|
|
951
|
+
r.style = "unit", r.unit = zn(n.options[0]);
|
|
915
952
|
continue;
|
|
916
953
|
case "compact-short":
|
|
917
954
|
case "K":
|
|
@@ -922,13 +959,13 @@ function In(e) {
|
|
|
922
959
|
r.notation = "compact", r.compactDisplay = "long";
|
|
923
960
|
continue;
|
|
924
961
|
case "scientific":
|
|
925
|
-
r = A(A(A({}, r), { notation: "scientific" }), n.options.reduce(function(
|
|
926
|
-
return A(A({},
|
|
962
|
+
r = A(A(A({}, r), { notation: "scientific" }), n.options.reduce(function(h, c) {
|
|
963
|
+
return A(A({}, h), Wt(c));
|
|
927
964
|
}, {}));
|
|
928
965
|
continue;
|
|
929
966
|
case "engineering":
|
|
930
|
-
r = A(A(A({}, r), { notation: "engineering" }), n.options.reduce(function(
|
|
931
|
-
return A(A({},
|
|
967
|
+
r = A(A(A({}, r), { notation: "engineering" }), n.options.reduce(function(h, c) {
|
|
968
|
+
return A(A({}, h), Wt(c));
|
|
932
969
|
}, {}));
|
|
933
970
|
continue;
|
|
934
971
|
case "notation-simple":
|
|
@@ -973,9 +1010,9 @@ function In(e) {
|
|
|
973
1010
|
case "integer-width":
|
|
974
1011
|
if (n.options.length > 1)
|
|
975
1012
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
976
|
-
n.options[0].replace(
|
|
1013
|
+
n.options[0].replace(Xn, function(h, c, f, m, g, b) {
|
|
977
1014
|
if (c)
|
|
978
|
-
r.minimumIntegerDigits =
|
|
1015
|
+
r.minimumIntegerDigits = f.length;
|
|
979
1016
|
else {
|
|
980
1017
|
if (m && g)
|
|
981
1018
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -986,32 +1023,32 @@ function In(e) {
|
|
|
986
1023
|
});
|
|
987
1024
|
continue;
|
|
988
1025
|
}
|
|
989
|
-
if (
|
|
1026
|
+
if (Hi.test(n.stem)) {
|
|
990
1027
|
r.minimumIntegerDigits = n.stem.length;
|
|
991
1028
|
continue;
|
|
992
1029
|
}
|
|
993
|
-
if (
|
|
1030
|
+
if (Xt.test(n.stem)) {
|
|
994
1031
|
if (n.options.length > 1)
|
|
995
1032
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
996
|
-
n.stem.replace(
|
|
997
|
-
return
|
|
1033
|
+
n.stem.replace(Xt, function(h, c, f, m, g, b) {
|
|
1034
|
+
return f === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
|
|
998
1035
|
});
|
|
999
1036
|
var s = n.options[0];
|
|
1000
|
-
s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r),
|
|
1037
|
+
s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r), Zt(s)));
|
|
1001
1038
|
continue;
|
|
1002
1039
|
}
|
|
1003
|
-
if (
|
|
1004
|
-
r = A(A({}, r),
|
|
1040
|
+
if (Ti.test(n.stem)) {
|
|
1041
|
+
r = A(A({}, r), Zt(n.stem));
|
|
1005
1042
|
continue;
|
|
1006
1043
|
}
|
|
1007
|
-
var
|
|
1008
|
-
u && (r = A(A({}, r), u));
|
|
1009
|
-
var o = Hn(n.stem);
|
|
1044
|
+
var o = Ii(n.stem);
|
|
1010
1045
|
o && (r = A(A({}, r), o));
|
|
1046
|
+
var l = Zn(n.stem);
|
|
1047
|
+
l && (r = A(A({}, r), l));
|
|
1011
1048
|
}
|
|
1012
1049
|
return r;
|
|
1013
1050
|
}
|
|
1014
|
-
var
|
|
1051
|
+
var Kr = {
|
|
1015
1052
|
"001": [
|
|
1016
1053
|
"H",
|
|
1017
1054
|
"h"
|
|
@@ -2426,22 +2463,22 @@ var zr = {
|
|
|
2426
2463
|
"h"
|
|
2427
2464
|
]
|
|
2428
2465
|
};
|
|
2429
|
-
function
|
|
2466
|
+
function qn(e, r) {
|
|
2430
2467
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2431
2468
|
var n = e.charAt(i);
|
|
2432
2469
|
if (n === "j") {
|
|
2433
2470
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2434
2471
|
s++, i++;
|
|
2435
|
-
var
|
|
2436
|
-
for ((c == "H" || c == "k") && (
|
|
2437
|
-
t +=
|
|
2438
|
-
for (;
|
|
2472
|
+
var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = Jn(r);
|
|
2473
|
+
for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
|
|
2474
|
+
t += h;
|
|
2475
|
+
for (; o-- > 0; )
|
|
2439
2476
|
t = c + t;
|
|
2440
2477
|
} else n === "J" ? t += "H" : t += n;
|
|
2441
2478
|
}
|
|
2442
2479
|
return t;
|
|
2443
2480
|
}
|
|
2444
|
-
function
|
|
2481
|
+
function Jn(e) {
|
|
2445
2482
|
var r = e.hourCycle;
|
|
2446
2483
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2447
2484
|
e.hourCycles && // @ts-ignore
|
|
@@ -2460,23 +2497,23 @@ function Nn(e) {
|
|
|
2460
2497
|
}
|
|
2461
2498
|
var t = e.language, i;
|
|
2462
2499
|
t !== "root" && (i = e.maximize().region);
|
|
2463
|
-
var n =
|
|
2500
|
+
var n = Kr[i || ""] || Kr[t || ""] || Kr["".concat(t, "-001")] || Kr["001"];
|
|
2464
2501
|
return n[0];
|
|
2465
2502
|
}
|
|
2466
|
-
var
|
|
2503
|
+
var pt, Yn = new RegExp("^".concat(Ai.source, "*")), Kn = new RegExp("".concat(Ai.source, "*$"));
|
|
2467
2504
|
function C(e, r) {
|
|
2468
2505
|
return { start: e, end: r };
|
|
2469
2506
|
}
|
|
2470
|
-
var
|
|
2507
|
+
var es = !!String.prototype.startsWith && "_a".startsWith("a", 1), rs = !!String.fromCodePoint, ts = !!Object.fromEntries, is = !!String.prototype.codePointAt, ns = !!String.prototype.trimStart, ss = !!String.prototype.trimEnd, as = !!Number.isSafeInteger, os = as ? Number.isSafeInteger : function(e) {
|
|
2471
2508
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2472
|
-
},
|
|
2509
|
+
}, St = !0;
|
|
2473
2510
|
try {
|
|
2474
|
-
var
|
|
2475
|
-
|
|
2476
|
-
} catch {
|
|
2477
|
-
|
|
2511
|
+
var ls = Ni("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2512
|
+
St = ((pt = ls.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
|
|
2513
|
+
} catch (e) {
|
|
2514
|
+
St = !1;
|
|
2478
2515
|
}
|
|
2479
|
-
var
|
|
2516
|
+
var qt = es ? (
|
|
2480
2517
|
// Native
|
|
2481
2518
|
function(r, t, i) {
|
|
2482
2519
|
return r.startsWith(t, i);
|
|
@@ -2486,31 +2523,31 @@ var Rt = Mn ? (
|
|
|
2486
2523
|
function(r, t, i) {
|
|
2487
2524
|
return r.slice(i, i + t.length) === t;
|
|
2488
2525
|
}
|
|
2489
|
-
),
|
|
2526
|
+
), Pt = rs ? String.fromCodePoint : (
|
|
2490
2527
|
// IE11
|
|
2491
2528
|
function() {
|
|
2492
2529
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
2493
2530
|
r[t] = arguments[t];
|
|
2494
|
-
for (var i = "", n = r.length, s = 0,
|
|
2495
|
-
if (
|
|
2496
|
-
throw RangeError(
|
|
2497
|
-
i +=
|
|
2531
|
+
for (var i = "", n = r.length, s = 0, o; n > s; ) {
|
|
2532
|
+
if (o = r[s++], o > 1114111)
|
|
2533
|
+
throw RangeError(o + " is not a valid code point");
|
|
2534
|
+
i += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2498
2535
|
}
|
|
2499
2536
|
return i;
|
|
2500
2537
|
}
|
|
2501
|
-
),
|
|
2538
|
+
), Jt = (
|
|
2502
2539
|
// native
|
|
2503
|
-
|
|
2540
|
+
ts ? Object.fromEntries : (
|
|
2504
2541
|
// Ponyfill
|
|
2505
2542
|
function(r) {
|
|
2506
2543
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
2507
|
-
var s = n[i],
|
|
2508
|
-
t[
|
|
2544
|
+
var s = n[i], o = s[0], l = s[1];
|
|
2545
|
+
t[o] = l;
|
|
2509
2546
|
}
|
|
2510
2547
|
return t;
|
|
2511
2548
|
}
|
|
2512
2549
|
)
|
|
2513
|
-
),
|
|
2550
|
+
), Bi = is ? (
|
|
2514
2551
|
// Native
|
|
2515
2552
|
function(r, t) {
|
|
2516
2553
|
return r.codePointAt(t);
|
|
@@ -2524,7 +2561,7 @@ var Rt = Mn ? (
|
|
|
2524
2561
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2525
2562
|
}
|
|
2526
2563
|
}
|
|
2527
|
-
),
|
|
2564
|
+
), us = ns ? (
|
|
2528
2565
|
// Native
|
|
2529
2566
|
function(r) {
|
|
2530
2567
|
return r.trimStart();
|
|
@@ -2532,9 +2569,9 @@ var Rt = Mn ? (
|
|
|
2532
2569
|
) : (
|
|
2533
2570
|
// Ponyfill
|
|
2534
2571
|
function(r) {
|
|
2535
|
-
return r.replace(
|
|
2572
|
+
return r.replace(Yn, "");
|
|
2536
2573
|
}
|
|
2537
|
-
),
|
|
2574
|
+
), cs = ss ? (
|
|
2538
2575
|
// Native
|
|
2539
2576
|
function(r) {
|
|
2540
2577
|
return r.trimEnd();
|
|
@@ -2542,32 +2579,32 @@ var Rt = Mn ? (
|
|
|
2542
2579
|
) : (
|
|
2543
2580
|
// Ponyfill
|
|
2544
2581
|
function(r) {
|
|
2545
|
-
return r.replace(
|
|
2582
|
+
return r.replace(Kn, "");
|
|
2546
2583
|
}
|
|
2547
2584
|
);
|
|
2548
|
-
function
|
|
2585
|
+
function Ni(e, r) {
|
|
2549
2586
|
return new RegExp(e, r);
|
|
2550
2587
|
}
|
|
2551
|
-
var
|
|
2552
|
-
if (
|
|
2553
|
-
var
|
|
2554
|
-
|
|
2588
|
+
var Ct;
|
|
2589
|
+
if (St) {
|
|
2590
|
+
var Yt = Ni("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2591
|
+
Ct = function(r, t) {
|
|
2555
2592
|
var i;
|
|
2556
|
-
|
|
2557
|
-
var n =
|
|
2593
|
+
Yt.lastIndex = t;
|
|
2594
|
+
var n = Yt.exec(r);
|
|
2558
2595
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2559
2596
|
};
|
|
2560
2597
|
} else
|
|
2561
|
-
|
|
2598
|
+
Ct = function(r, t) {
|
|
2562
2599
|
for (var i = []; ; ) {
|
|
2563
|
-
var n =
|
|
2564
|
-
if (n === void 0 ||
|
|
2600
|
+
var n = Bi(r, t);
|
|
2601
|
+
if (n === void 0 || Oi(n) || ms(n))
|
|
2565
2602
|
break;
|
|
2566
2603
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2567
2604
|
}
|
|
2568
|
-
return
|
|
2605
|
+
return Pt.apply(void 0, i);
|
|
2569
2606
|
};
|
|
2570
|
-
var
|
|
2607
|
+
var hs = (
|
|
2571
2608
|
/** @class */
|
|
2572
2609
|
function() {
|
|
2573
2610
|
function e(r, t) {
|
|
@@ -2581,33 +2618,33 @@ var zn = (
|
|
|
2581
2618
|
for (var n = []; !this.isEOF(); ) {
|
|
2582
2619
|
var s = this.char();
|
|
2583
2620
|
if (s === 123) {
|
|
2584
|
-
var
|
|
2585
|
-
if (
|
|
2586
|
-
return
|
|
2587
|
-
n.push(
|
|
2621
|
+
var o = this.parseArgument(r, i);
|
|
2622
|
+
if (o.err)
|
|
2623
|
+
return o;
|
|
2624
|
+
n.push(o.val);
|
|
2588
2625
|
} else {
|
|
2589
2626
|
if (s === 125 && r > 0)
|
|
2590
2627
|
break;
|
|
2591
2628
|
if (s === 35 && (t === "plural" || t === "selectordinal")) {
|
|
2592
|
-
var
|
|
2629
|
+
var l = this.clonePosition();
|
|
2593
2630
|
this.bump(), n.push({
|
|
2594
2631
|
type: N.pound,
|
|
2595
|
-
location: C(
|
|
2632
|
+
location: C(l, this.clonePosition())
|
|
2596
2633
|
});
|
|
2597
2634
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2598
2635
|
if (i)
|
|
2599
2636
|
break;
|
|
2600
2637
|
return this.error(P.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
|
|
2601
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2602
|
-
var
|
|
2603
|
-
if (
|
|
2604
|
-
return
|
|
2605
|
-
n.push(
|
|
2638
|
+
} else if (s === 60 && !this.ignoreTag && xt(this.peek() || 0)) {
|
|
2639
|
+
var o = this.parseTag(r, t);
|
|
2640
|
+
if (o.err)
|
|
2641
|
+
return o;
|
|
2642
|
+
n.push(o.val);
|
|
2606
2643
|
} else {
|
|
2607
|
-
var
|
|
2608
|
-
if (
|
|
2609
|
-
return
|
|
2610
|
-
n.push(
|
|
2644
|
+
var o = this.parseLiteral(r, t);
|
|
2645
|
+
if (o.err)
|
|
2646
|
+
return o;
|
|
2647
|
+
n.push(o.val);
|
|
2611
2648
|
}
|
|
2612
2649
|
}
|
|
2613
2650
|
}
|
|
@@ -2629,27 +2666,27 @@ var zn = (
|
|
|
2629
2666
|
var s = this.parseMessage(r + 1, t, !0);
|
|
2630
2667
|
if (s.err)
|
|
2631
2668
|
return s;
|
|
2632
|
-
var
|
|
2669
|
+
var o = s.val, l = this.clonePosition();
|
|
2633
2670
|
if (this.bumpIf("</")) {
|
|
2634
|
-
if (this.isEOF() || !
|
|
2635
|
-
return this.error(P.INVALID_TAG, C(
|
|
2636
|
-
var
|
|
2637
|
-
return n !== c ? this.error(P.UNMATCHED_CLOSING_TAG, C(
|
|
2671
|
+
if (this.isEOF() || !xt(this.char()))
|
|
2672
|
+
return this.error(P.INVALID_TAG, C(l, this.clonePosition()));
|
|
2673
|
+
var h = this.clonePosition(), c = this.parseTagName();
|
|
2674
|
+
return n !== c ? this.error(P.UNMATCHED_CLOSING_TAG, C(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2638
2675
|
val: {
|
|
2639
2676
|
type: N.tag,
|
|
2640
2677
|
value: n,
|
|
2641
|
-
children:
|
|
2678
|
+
children: o,
|
|
2642
2679
|
location: C(i, this.clonePosition())
|
|
2643
2680
|
},
|
|
2644
2681
|
err: null
|
|
2645
|
-
} : this.error(P.INVALID_TAG, C(
|
|
2682
|
+
} : this.error(P.INVALID_TAG, C(l, this.clonePosition())));
|
|
2646
2683
|
} else
|
|
2647
2684
|
return this.error(P.UNCLOSED_TAG, C(i, this.clonePosition()));
|
|
2648
2685
|
} else
|
|
2649
2686
|
return this.error(P.INVALID_TAG, C(i, this.clonePosition()));
|
|
2650
2687
|
}, e.prototype.parseTagName = function() {
|
|
2651
2688
|
var r = this.offset();
|
|
2652
|
-
for (this.bump(); !this.isEOF() &&
|
|
2689
|
+
for (this.bump(); !this.isEOF() && ds(this.char()); )
|
|
2653
2690
|
this.bump();
|
|
2654
2691
|
return this.message.slice(r, this.offset());
|
|
2655
2692
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2659,26 +2696,26 @@ var zn = (
|
|
|
2659
2696
|
n += s;
|
|
2660
2697
|
continue;
|
|
2661
2698
|
}
|
|
2662
|
-
var
|
|
2663
|
-
if (u) {
|
|
2664
|
-
n += u;
|
|
2665
|
-
continue;
|
|
2666
|
-
}
|
|
2667
|
-
var o = this.tryParseLeftAngleBracket();
|
|
2699
|
+
var o = this.tryParseUnquoted(r, t);
|
|
2668
2700
|
if (o) {
|
|
2669
2701
|
n += o;
|
|
2670
2702
|
continue;
|
|
2671
2703
|
}
|
|
2704
|
+
var l = this.tryParseLeftAngleBracket();
|
|
2705
|
+
if (l) {
|
|
2706
|
+
n += l;
|
|
2707
|
+
continue;
|
|
2708
|
+
}
|
|
2672
2709
|
break;
|
|
2673
2710
|
}
|
|
2674
|
-
var
|
|
2711
|
+
var h = C(i, this.clonePosition());
|
|
2675
2712
|
return {
|
|
2676
|
-
val: { type: N.literal, value: n, location:
|
|
2713
|
+
val: { type: N.literal, value: n, location: h },
|
|
2677
2714
|
err: null
|
|
2678
2715
|
};
|
|
2679
2716
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2680
2717
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2681
|
-
!
|
|
2718
|
+
!fs(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2682
2719
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2683
2720
|
if (this.isEOF() || this.char() !== 39)
|
|
2684
2721
|
return null;
|
|
@@ -2712,12 +2749,12 @@ var zn = (
|
|
|
2712
2749
|
t.push(i);
|
|
2713
2750
|
this.bump();
|
|
2714
2751
|
}
|
|
2715
|
-
return
|
|
2752
|
+
return Pt.apply(void 0, t);
|
|
2716
2753
|
}, e.prototype.tryParseUnquoted = function(r, t) {
|
|
2717
2754
|
if (this.isEOF())
|
|
2718
2755
|
return null;
|
|
2719
2756
|
var i = this.char();
|
|
2720
|
-
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(),
|
|
2757
|
+
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(), Pt(i));
|
|
2721
2758
|
}, e.prototype.parseArgument = function(r, t) {
|
|
2722
2759
|
var i = this.clonePosition();
|
|
2723
2760
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2746,15 +2783,15 @@ var zn = (
|
|
|
2746
2783
|
return this.error(P.MALFORMED_ARGUMENT, C(i, this.clonePosition()));
|
|
2747
2784
|
}
|
|
2748
2785
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2749
|
-
var r = this.clonePosition(), t = this.offset(), i =
|
|
2786
|
+
var r = this.clonePosition(), t = this.offset(), i = Ct(this.message, t), n = t + i.length;
|
|
2750
2787
|
this.bumpTo(n);
|
|
2751
|
-
var s = this.clonePosition(),
|
|
2752
|
-
return { value: i, location:
|
|
2788
|
+
var s = this.clonePosition(), o = C(r, s);
|
|
2789
|
+
return { value: i, location: o };
|
|
2753
2790
|
}, e.prototype.parseArgumentOptions = function(r, t, i, n) {
|
|
2754
|
-
var s,
|
|
2755
|
-
switch (
|
|
2791
|
+
var s, o = this.clonePosition(), l = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2792
|
+
switch (l) {
|
|
2756
2793
|
case "":
|
|
2757
|
-
return this.error(P.EXPECT_ARGUMENT_TYPE, C(
|
|
2794
|
+
return this.error(P.EXPECT_ARGUMENT_TYPE, C(o, h));
|
|
2758
2795
|
case "number":
|
|
2759
2796
|
case "date":
|
|
2760
2797
|
case "time": {
|
|
@@ -2762,50 +2799,50 @@ var zn = (
|
|
|
2762
2799
|
var c = null;
|
|
2763
2800
|
if (this.bumpIf(",")) {
|
|
2764
2801
|
this.bumpSpace();
|
|
2765
|
-
var
|
|
2802
|
+
var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2766
2803
|
if (m.err)
|
|
2767
2804
|
return m;
|
|
2768
|
-
var g =
|
|
2805
|
+
var g = cs(m.val);
|
|
2769
2806
|
if (g.length === 0)
|
|
2770
2807
|
return this.error(P.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
2771
|
-
var b = C(
|
|
2808
|
+
var b = C(f, this.clonePosition());
|
|
2772
2809
|
c = { style: g, styleLocation: b };
|
|
2773
2810
|
}
|
|
2774
2811
|
var v = this.tryParseArgumentClose(n);
|
|
2775
2812
|
if (v.err)
|
|
2776
2813
|
return v;
|
|
2777
|
-
var
|
|
2778
|
-
if (c &&
|
|
2779
|
-
var w =
|
|
2780
|
-
if (
|
|
2814
|
+
var E = C(n, this.clonePosition());
|
|
2815
|
+
if (c && qt(c == null ? void 0 : c.style, "::", 0)) {
|
|
2816
|
+
var w = us(c.style.slice(2));
|
|
2817
|
+
if (l === "number") {
|
|
2781
2818
|
var m = this.parseNumberSkeletonFromString(w, c.styleLocation);
|
|
2782
2819
|
return m.err ? m : {
|
|
2783
|
-
val: { type: N.number, value: i, location:
|
|
2820
|
+
val: { type: N.number, value: i, location: E, style: m.val },
|
|
2784
2821
|
err: null
|
|
2785
2822
|
};
|
|
2786
2823
|
} else {
|
|
2787
2824
|
if (w.length === 0)
|
|
2788
|
-
return this.error(P.EXPECT_DATE_TIME_SKELETON,
|
|
2825
|
+
return this.error(P.EXPECT_DATE_TIME_SKELETON, E);
|
|
2789
2826
|
var B = w;
|
|
2790
|
-
this.locale && (B =
|
|
2827
|
+
this.locale && (B = qn(w, this.locale));
|
|
2791
2828
|
var g = {
|
|
2792
|
-
type:
|
|
2829
|
+
type: or.dateTime,
|
|
2793
2830
|
pattern: B,
|
|
2794
2831
|
location: c.styleLocation,
|
|
2795
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2796
|
-
}, $ =
|
|
2832
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(B) : {}
|
|
2833
|
+
}, $ = l === "date" ? N.date : N.time;
|
|
2797
2834
|
return {
|
|
2798
|
-
val: { type: $, value: i, location:
|
|
2835
|
+
val: { type: $, value: i, location: E, style: g },
|
|
2799
2836
|
err: null
|
|
2800
2837
|
};
|
|
2801
2838
|
}
|
|
2802
2839
|
}
|
|
2803
2840
|
return {
|
|
2804
2841
|
val: {
|
|
2805
|
-
type:
|
|
2842
|
+
type: l === "number" ? N.number : l === "date" ? N.date : N.time,
|
|
2806
2843
|
value: i,
|
|
2807
|
-
location:
|
|
2808
|
-
style: (s = c
|
|
2844
|
+
location: E,
|
|
2845
|
+
style: (s = c == null ? void 0 : c.style) !== null && s !== void 0 ? s : null
|
|
2809
2846
|
},
|
|
2810
2847
|
err: null
|
|
2811
2848
|
};
|
|
@@ -2818,7 +2855,7 @@ var zn = (
|
|
|
2818
2855
|
return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, C(M, A({}, M)));
|
|
2819
2856
|
this.bumpSpace();
|
|
2820
2857
|
var de = this.parseIdentifierIfPossible(), G = 0;
|
|
2821
|
-
if (
|
|
2858
|
+
if (l !== "select" && de.value === "offset") {
|
|
2822
2859
|
if (!this.bumpIf(":"))
|
|
2823
2860
|
return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
|
|
2824
2861
|
this.bumpSpace();
|
|
@@ -2827,18 +2864,18 @@ var zn = (
|
|
|
2827
2864
|
return m;
|
|
2828
2865
|
this.bumpSpace(), de = this.parseIdentifierIfPossible(), G = m.val;
|
|
2829
2866
|
}
|
|
2830
|
-
var
|
|
2831
|
-
if (
|
|
2832
|
-
return
|
|
2867
|
+
var ye = this.tryParsePluralOrSelectOptions(r, l, t, de);
|
|
2868
|
+
if (ye.err)
|
|
2869
|
+
return ye;
|
|
2833
2870
|
var v = this.tryParseArgumentClose(n);
|
|
2834
2871
|
if (v.err)
|
|
2835
2872
|
return v;
|
|
2836
2873
|
var R = C(n, this.clonePosition());
|
|
2837
|
-
return
|
|
2874
|
+
return l === "select" ? {
|
|
2838
2875
|
val: {
|
|
2839
2876
|
type: N.select,
|
|
2840
2877
|
value: i,
|
|
2841
|
-
options:
|
|
2878
|
+
options: Jt(ye.val),
|
|
2842
2879
|
location: R
|
|
2843
2880
|
},
|
|
2844
2881
|
err: null
|
|
@@ -2846,16 +2883,16 @@ var zn = (
|
|
|
2846
2883
|
val: {
|
|
2847
2884
|
type: N.plural,
|
|
2848
2885
|
value: i,
|
|
2849
|
-
options:
|
|
2886
|
+
options: Jt(ye.val),
|
|
2850
2887
|
offset: G,
|
|
2851
|
-
pluralType:
|
|
2888
|
+
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2852
2889
|
location: R
|
|
2853
2890
|
},
|
|
2854
2891
|
err: null
|
|
2855
2892
|
};
|
|
2856
2893
|
}
|
|
2857
2894
|
default:
|
|
2858
|
-
return this.error(P.INVALID_ARGUMENT_TYPE, C(
|
|
2895
|
+
return this.error(P.INVALID_ARGUMENT_TYPE, C(o, h));
|
|
2859
2896
|
}
|
|
2860
2897
|
}, e.prototype.tryParseArgumentClose = function(r) {
|
|
2861
2898
|
return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, C(r, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -2897,64 +2934,64 @@ var zn = (
|
|
|
2897
2934
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2898
2935
|
var i = [];
|
|
2899
2936
|
try {
|
|
2900
|
-
i =
|
|
2901
|
-
} catch {
|
|
2937
|
+
i = Qn(r);
|
|
2938
|
+
} catch (n) {
|
|
2902
2939
|
return this.error(P.INVALID_NUMBER_SKELETON, t);
|
|
2903
2940
|
}
|
|
2904
2941
|
return {
|
|
2905
2942
|
val: {
|
|
2906
|
-
type:
|
|
2943
|
+
type: or.number,
|
|
2907
2944
|
tokens: i,
|
|
2908
2945
|
location: t,
|
|
2909
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2946
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(i) : {}
|
|
2910
2947
|
},
|
|
2911
2948
|
err: null
|
|
2912
2949
|
};
|
|
2913
2950
|
}, e.prototype.tryParsePluralOrSelectOptions = function(r, t, i, n) {
|
|
2914
|
-
for (var s,
|
|
2951
|
+
for (var s, o = !1, l = [], h = /* @__PURE__ */ new Set(), c = n.value, f = n.location; ; ) {
|
|
2915
2952
|
if (c.length === 0) {
|
|
2916
2953
|
var m = this.clonePosition();
|
|
2917
2954
|
if (t !== "select" && this.bumpIf("=")) {
|
|
2918
2955
|
var g = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2919
2956
|
if (g.err)
|
|
2920
2957
|
return g;
|
|
2921
|
-
|
|
2958
|
+
f = C(m, this.clonePosition()), c = this.message.slice(m.offset, this.offset());
|
|
2922
2959
|
} else
|
|
2923
2960
|
break;
|
|
2924
2961
|
}
|
|
2925
|
-
if (
|
|
2926
|
-
return this.error(t === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
2927
|
-
c === "other" && (
|
|
2962
|
+
if (h.has(c))
|
|
2963
|
+
return this.error(t === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
|
|
2964
|
+
c === "other" && (o = !0), this.bumpSpace();
|
|
2928
2965
|
var b = this.clonePosition();
|
|
2929
2966
|
if (!this.bumpIf("{"))
|
|
2930
2967
|
return this.error(t === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, C(this.clonePosition(), this.clonePosition()));
|
|
2931
2968
|
var v = this.parseMessage(r + 1, t, i);
|
|
2932
2969
|
if (v.err)
|
|
2933
2970
|
return v;
|
|
2934
|
-
var
|
|
2935
|
-
if (
|
|
2936
|
-
return
|
|
2937
|
-
|
|
2971
|
+
var E = this.tryParseArgumentClose(b);
|
|
2972
|
+
if (E.err)
|
|
2973
|
+
return E;
|
|
2974
|
+
l.push([
|
|
2938
2975
|
c,
|
|
2939
2976
|
{
|
|
2940
2977
|
value: v.val,
|
|
2941
2978
|
location: C(b, this.clonePosition())
|
|
2942
2979
|
}
|
|
2943
|
-
]),
|
|
2980
|
+
]), h.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, f = s.location;
|
|
2944
2981
|
}
|
|
2945
|
-
return
|
|
2982
|
+
return l.length === 0 ? this.error(t === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(P.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
2946
2983
|
}, e.prototype.tryParseDecimalInteger = function(r, t) {
|
|
2947
2984
|
var i = 1, n = this.clonePosition();
|
|
2948
2985
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
2949
|
-
for (var s = !1,
|
|
2950
|
-
var
|
|
2951
|
-
if (
|
|
2952
|
-
s = !0,
|
|
2986
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
2987
|
+
var l = this.char();
|
|
2988
|
+
if (l >= 48 && l <= 57)
|
|
2989
|
+
s = !0, o = o * 10 + (l - 48), this.bump();
|
|
2953
2990
|
else
|
|
2954
2991
|
break;
|
|
2955
2992
|
}
|
|
2956
|
-
var
|
|
2957
|
-
return s ? (
|
|
2993
|
+
var h = C(n, this.clonePosition());
|
|
2994
|
+
return s ? (o *= i, os(o) ? { val: o, err: null } : this.error(t, h)) : this.error(r, h);
|
|
2958
2995
|
}, e.prototype.offset = function() {
|
|
2959
2996
|
return this.position.offset;
|
|
2960
2997
|
}, e.prototype.isEOF = function() {
|
|
@@ -2969,7 +3006,7 @@ var zn = (
|
|
|
2969
3006
|
var r = this.position.offset;
|
|
2970
3007
|
if (r >= this.message.length)
|
|
2971
3008
|
throw Error("out of bound");
|
|
2972
|
-
var t =
|
|
3009
|
+
var t = Bi(this.message, r);
|
|
2973
3010
|
if (t === void 0)
|
|
2974
3011
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
2975
3012
|
return t;
|
|
@@ -2988,7 +3025,7 @@ var zn = (
|
|
|
2988
3025
|
r === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += r < 65536 ? 1 : 2);
|
|
2989
3026
|
}
|
|
2990
3027
|
}, e.prototype.bumpIf = function(r) {
|
|
2991
|
-
if (
|
|
3028
|
+
if (qt(this.message, r, this.offset())) {
|
|
2992
3029
|
for (var t = 0; t < r.length; t++)
|
|
2993
3030
|
this.bump();
|
|
2994
3031
|
return !0;
|
|
@@ -3010,56 +3047,56 @@ var zn = (
|
|
|
3010
3047
|
break;
|
|
3011
3048
|
}
|
|
3012
3049
|
}, e.prototype.bumpSpace = function() {
|
|
3013
|
-
for (; !this.isEOF() &&
|
|
3050
|
+
for (; !this.isEOF() && Oi(this.char()); )
|
|
3014
3051
|
this.bump();
|
|
3015
3052
|
}, e.prototype.peek = function() {
|
|
3016
3053
|
if (this.isEOF())
|
|
3017
3054
|
return null;
|
|
3018
3055
|
var r = this.char(), t = this.offset(), i = this.message.charCodeAt(t + (r >= 65536 ? 2 : 1));
|
|
3019
|
-
return i
|
|
3056
|
+
return i != null ? i : null;
|
|
3020
3057
|
}, e;
|
|
3021
3058
|
}()
|
|
3022
3059
|
);
|
|
3023
|
-
function
|
|
3060
|
+
function xt(e) {
|
|
3024
3061
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3025
3062
|
}
|
|
3026
|
-
function
|
|
3027
|
-
return
|
|
3063
|
+
function fs(e) {
|
|
3064
|
+
return xt(e) || e === 47;
|
|
3028
3065
|
}
|
|
3029
|
-
function
|
|
3066
|
+
function ds(e) {
|
|
3030
3067
|
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;
|
|
3031
3068
|
}
|
|
3032
|
-
function
|
|
3069
|
+
function Oi(e) {
|
|
3033
3070
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3034
3071
|
}
|
|
3035
|
-
function
|
|
3072
|
+
function ms(e) {
|
|
3036
3073
|
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;
|
|
3037
3074
|
}
|
|
3038
|
-
function
|
|
3075
|
+
function At(e) {
|
|
3039
3076
|
e.forEach(function(r) {
|
|
3040
|
-
if (delete r.location,
|
|
3077
|
+
if (delete r.location, Si(r) || Pi(r))
|
|
3041
3078
|
for (var t in r.options)
|
|
3042
|
-
delete r.options[t].location,
|
|
3043
|
-
else
|
|
3079
|
+
delete r.options[t].location, At(r.options[t].value);
|
|
3080
|
+
else _i(r) && xi(r.style) || (vi(r) || wi(r)) && wt(r.style) ? delete r.style.location : Ci(r) && At(r.children);
|
|
3044
3081
|
});
|
|
3045
3082
|
}
|
|
3046
|
-
function
|
|
3083
|
+
function gs(e, r) {
|
|
3047
3084
|
r === void 0 && (r = {}), r = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3048
|
-
var t = new
|
|
3085
|
+
var t = new hs(e, r).parse();
|
|
3049
3086
|
if (t.err) {
|
|
3050
3087
|
var i = SyntaxError(P[t.err.kind]);
|
|
3051
3088
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
3052
3089
|
}
|
|
3053
|
-
return r
|
|
3090
|
+
return r != null && r.captureLocation || At(t.val), t.val;
|
|
3054
3091
|
}
|
|
3055
|
-
var
|
|
3092
|
+
var lr;
|
|
3056
3093
|
(function(e) {
|
|
3057
3094
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3058
|
-
})(
|
|
3059
|
-
var
|
|
3095
|
+
})(lr || (lr = {}));
|
|
3096
|
+
var ot = (
|
|
3060
3097
|
/** @class */
|
|
3061
3098
|
function(e) {
|
|
3062
|
-
|
|
3099
|
+
at(r, e);
|
|
3063
3100
|
function r(t, i, n) {
|
|
3064
3101
|
var s = e.call(this, t) || this;
|
|
3065
3102
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3068,155 +3105,155 @@ var et = (
|
|
|
3068
3105
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3069
3106
|
}, r;
|
|
3070
3107
|
}(Error)
|
|
3071
|
-
),
|
|
3108
|
+
), Kt = (
|
|
3072
3109
|
/** @class */
|
|
3073
3110
|
function(e) {
|
|
3074
|
-
|
|
3111
|
+
at(r, e);
|
|
3075
3112
|
function r(t, i, n, s) {
|
|
3076
|
-
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3113
|
+
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), lr.INVALID_VALUE, s) || this;
|
|
3077
3114
|
}
|
|
3078
3115
|
return r;
|
|
3079
|
-
}(
|
|
3080
|
-
),
|
|
3116
|
+
}(ot)
|
|
3117
|
+
), ps = (
|
|
3081
3118
|
/** @class */
|
|
3082
3119
|
function(e) {
|
|
3083
|
-
|
|
3120
|
+
at(r, e);
|
|
3084
3121
|
function r(t, i, n) {
|
|
3085
|
-
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i),
|
|
3122
|
+
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), lr.INVALID_VALUE, n) || this;
|
|
3086
3123
|
}
|
|
3087
3124
|
return r;
|
|
3088
|
-
}(
|
|
3089
|
-
),
|
|
3125
|
+
}(ot)
|
|
3126
|
+
), bs = (
|
|
3090
3127
|
/** @class */
|
|
3091
3128
|
function(e) {
|
|
3092
|
-
|
|
3129
|
+
at(r, e);
|
|
3093
3130
|
function r(t, i) {
|
|
3094
|
-
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'),
|
|
3131
|
+
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), lr.MISSING_VALUE, i) || this;
|
|
3095
3132
|
}
|
|
3096
3133
|
return r;
|
|
3097
|
-
}(
|
|
3134
|
+
}(ot)
|
|
3098
3135
|
), z;
|
|
3099
3136
|
(function(e) {
|
|
3100
3137
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3101
3138
|
})(z || (z = {}));
|
|
3102
|
-
function
|
|
3139
|
+
function ys(e) {
|
|
3103
3140
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3104
3141
|
var i = r[r.length - 1];
|
|
3105
3142
|
return !i || i.type !== z.literal || t.type !== z.literal ? r.push(t) : i.value += t.value, r;
|
|
3106
3143
|
}, []);
|
|
3107
3144
|
}
|
|
3108
|
-
function
|
|
3145
|
+
function Es(e) {
|
|
3109
3146
|
return typeof e == "function";
|
|
3110
3147
|
}
|
|
3111
|
-
function
|
|
3112
|
-
if (e.length === 1 &&
|
|
3148
|
+
function rt(e, r, t, i, n, s, o) {
|
|
3149
|
+
if (e.length === 1 && zt(e[0]))
|
|
3113
3150
|
return [
|
|
3114
3151
|
{
|
|
3115
3152
|
type: z.literal,
|
|
3116
3153
|
value: e[0].value
|
|
3117
3154
|
}
|
|
3118
3155
|
];
|
|
3119
|
-
for (var
|
|
3120
|
-
var
|
|
3121
|
-
if (
|
|
3122
|
-
|
|
3156
|
+
for (var l = [], h = 0, c = e; h < c.length; h++) {
|
|
3157
|
+
var f = c[h];
|
|
3158
|
+
if (zt(f)) {
|
|
3159
|
+
l.push({
|
|
3123
3160
|
type: z.literal,
|
|
3124
|
-
value:
|
|
3161
|
+
value: f.value
|
|
3125
3162
|
});
|
|
3126
3163
|
continue;
|
|
3127
3164
|
}
|
|
3128
|
-
if (
|
|
3129
|
-
typeof s == "number" &&
|
|
3165
|
+
if (Gn(f)) {
|
|
3166
|
+
typeof s == "number" && l.push({
|
|
3130
3167
|
type: z.literal,
|
|
3131
3168
|
value: t.getNumberFormat(r).format(s)
|
|
3132
3169
|
});
|
|
3133
3170
|
continue;
|
|
3134
3171
|
}
|
|
3135
|
-
var m =
|
|
3172
|
+
var m = f.value;
|
|
3136
3173
|
if (!(n && m in n))
|
|
3137
|
-
throw new
|
|
3174
|
+
throw new bs(m, o);
|
|
3138
3175
|
var g = n[m];
|
|
3139
|
-
if (
|
|
3140
|
-
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""),
|
|
3176
|
+
if (Dn(f)) {
|
|
3177
|
+
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
|
|
3141
3178
|
type: typeof g == "string" ? z.literal : z.object,
|
|
3142
3179
|
value: g
|
|
3143
3180
|
});
|
|
3144
3181
|
continue;
|
|
3145
3182
|
}
|
|
3146
|
-
if (
|
|
3147
|
-
var b = typeof
|
|
3148
|
-
|
|
3183
|
+
if (vi(f)) {
|
|
3184
|
+
var b = typeof f.style == "string" ? i.date[f.style] : wt(f.style) ? f.style.parsedOptions : void 0;
|
|
3185
|
+
l.push({
|
|
3149
3186
|
type: z.literal,
|
|
3150
3187
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3151
3188
|
});
|
|
3152
3189
|
continue;
|
|
3153
3190
|
}
|
|
3154
|
-
if (
|
|
3155
|
-
var b = typeof
|
|
3156
|
-
|
|
3191
|
+
if (wi(f)) {
|
|
3192
|
+
var b = typeof f.style == "string" ? i.time[f.style] : wt(f.style) ? f.style.parsedOptions : i.time.medium;
|
|
3193
|
+
l.push({
|
|
3157
3194
|
type: z.literal,
|
|
3158
3195
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3159
3196
|
});
|
|
3160
3197
|
continue;
|
|
3161
3198
|
}
|
|
3162
|
-
if (
|
|
3163
|
-
var b = typeof
|
|
3164
|
-
b && b.scale && (g = g * (b.scale || 1)),
|
|
3199
|
+
if (_i(f)) {
|
|
3200
|
+
var b = typeof f.style == "string" ? i.number[f.style] : xi(f.style) ? f.style.parsedOptions : void 0;
|
|
3201
|
+
b && b.scale && (g = g * (b.scale || 1)), l.push({
|
|
3165
3202
|
type: z.literal,
|
|
3166
3203
|
value: t.getNumberFormat(r, b).format(g)
|
|
3167
3204
|
});
|
|
3168
3205
|
continue;
|
|
3169
3206
|
}
|
|
3170
|
-
if (
|
|
3171
|
-
var v =
|
|
3172
|
-
if (!
|
|
3173
|
-
throw new
|
|
3174
|
-
var B =
|
|
3207
|
+
if (Ci(f)) {
|
|
3208
|
+
var v = f.children, E = f.value, w = n[E];
|
|
3209
|
+
if (!Es(w))
|
|
3210
|
+
throw new ps(E, "function", o);
|
|
3211
|
+
var B = rt(v, r, t, i, n, s), $ = w(B.map(function(G) {
|
|
3175
3212
|
return G.value;
|
|
3176
3213
|
}));
|
|
3177
|
-
Array.isArray($) || ($ = [$]),
|
|
3214
|
+
Array.isArray($) || ($ = [$]), l.push.apply(l, $.map(function(G) {
|
|
3178
3215
|
return {
|
|
3179
3216
|
type: typeof G == "string" ? z.literal : z.object,
|
|
3180
3217
|
value: G
|
|
3181
3218
|
};
|
|
3182
3219
|
}));
|
|
3183
3220
|
}
|
|
3184
|
-
if (
|
|
3185
|
-
var M =
|
|
3221
|
+
if (Si(f)) {
|
|
3222
|
+
var M = f.options[g] || f.options.other;
|
|
3186
3223
|
if (!M)
|
|
3187
|
-
throw new
|
|
3188
|
-
|
|
3224
|
+
throw new Kt(f.value, g, Object.keys(f.options), o);
|
|
3225
|
+
l.push.apply(l, rt(M.value, r, t, i, n));
|
|
3189
3226
|
continue;
|
|
3190
3227
|
}
|
|
3191
|
-
if (
|
|
3192
|
-
var M =
|
|
3228
|
+
if (Pi(f)) {
|
|
3229
|
+
var M = f.options["=".concat(g)];
|
|
3193
3230
|
if (!M) {
|
|
3194
3231
|
if (!Intl.PluralRules)
|
|
3195
|
-
throw new
|
|
3232
|
+
throw new ot(`Intl.PluralRules is not available in this environment.
|
|
3196
3233
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3197
|
-
`,
|
|
3198
|
-
var de = t.getPluralRules(r, { type:
|
|
3199
|
-
M =
|
|
3234
|
+
`, lr.MISSING_INTL_API, o);
|
|
3235
|
+
var de = t.getPluralRules(r, { type: f.pluralType }).select(g - (f.offset || 0));
|
|
3236
|
+
M = f.options[de] || f.options.other;
|
|
3200
3237
|
}
|
|
3201
3238
|
if (!M)
|
|
3202
|
-
throw new
|
|
3203
|
-
|
|
3239
|
+
throw new Kt(f.value, g, Object.keys(f.options), o);
|
|
3240
|
+
l.push.apply(l, rt(M.value, r, t, i, n, g - (f.offset || 0)));
|
|
3204
3241
|
continue;
|
|
3205
3242
|
}
|
|
3206
3243
|
}
|
|
3207
|
-
return
|
|
3244
|
+
return ys(l);
|
|
3208
3245
|
}
|
|
3209
|
-
function
|
|
3246
|
+
function _s(e, r) {
|
|
3210
3247
|
return r ? A(A(A({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3211
3248
|
return t[i] = A(A({}, e[i]), r[i] || {}), t;
|
|
3212
3249
|
}, {})) : e;
|
|
3213
3250
|
}
|
|
3214
|
-
function
|
|
3251
|
+
function vs(e, r) {
|
|
3215
3252
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3216
|
-
return t[i] =
|
|
3253
|
+
return t[i] = _s(e[i], r[i]), t;
|
|
3217
3254
|
}, A({}, e)) : e;
|
|
3218
3255
|
}
|
|
3219
|
-
function
|
|
3256
|
+
function bt(e) {
|
|
3220
3257
|
return {
|
|
3221
3258
|
create: function() {
|
|
3222
3259
|
return {
|
|
@@ -3230,39 +3267,39 @@ function ut(e) {
|
|
|
3230
3267
|
}
|
|
3231
3268
|
};
|
|
3232
3269
|
}
|
|
3233
|
-
function
|
|
3270
|
+
function ws(e) {
|
|
3234
3271
|
return e === void 0 && (e = {
|
|
3235
3272
|
number: {},
|
|
3236
3273
|
dateTime: {},
|
|
3237
3274
|
pluralRules: {}
|
|
3238
3275
|
}), {
|
|
3239
|
-
getNumberFormat:
|
|
3276
|
+
getNumberFormat: mt(function() {
|
|
3240
3277
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3241
3278
|
t[i] = arguments[i];
|
|
3242
|
-
return new ((r = Intl.NumberFormat).bind.apply(r,
|
|
3279
|
+
return new ((r = Intl.NumberFormat).bind.apply(r, dt([void 0], t, !1)))();
|
|
3243
3280
|
}, {
|
|
3244
|
-
cache:
|
|
3245
|
-
strategy:
|
|
3281
|
+
cache: bt(e.number),
|
|
3282
|
+
strategy: gt.variadic
|
|
3246
3283
|
}),
|
|
3247
|
-
getDateTimeFormat:
|
|
3284
|
+
getDateTimeFormat: mt(function() {
|
|
3248
3285
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3249
3286
|
t[i] = arguments[i];
|
|
3250
|
-
return new ((r = Intl.DateTimeFormat).bind.apply(r,
|
|
3287
|
+
return new ((r = Intl.DateTimeFormat).bind.apply(r, dt([void 0], t, !1)))();
|
|
3251
3288
|
}, {
|
|
3252
|
-
cache:
|
|
3253
|
-
strategy:
|
|
3289
|
+
cache: bt(e.dateTime),
|
|
3290
|
+
strategy: gt.variadic
|
|
3254
3291
|
}),
|
|
3255
|
-
getPluralRules:
|
|
3292
|
+
getPluralRules: mt(function() {
|
|
3256
3293
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3257
3294
|
t[i] = arguments[i];
|
|
3258
|
-
return new ((r = Intl.PluralRules).bind.apply(r,
|
|
3295
|
+
return new ((r = Intl.PluralRules).bind.apply(r, dt([void 0], t, !1)))();
|
|
3259
3296
|
}, {
|
|
3260
|
-
cache:
|
|
3261
|
-
strategy:
|
|
3297
|
+
cache: bt(e.pluralRules),
|
|
3298
|
+
strategy: gt.variadic
|
|
3262
3299
|
})
|
|
3263
3300
|
};
|
|
3264
3301
|
}
|
|
3265
|
-
var
|
|
3302
|
+
var Ss = (
|
|
3266
3303
|
/** @class */
|
|
3267
3304
|
function() {
|
|
3268
3305
|
function e(r, t, i, n) {
|
|
@@ -3272,35 +3309,35 @@ var ns = (
|
|
|
3272
3309
|
number: {},
|
|
3273
3310
|
dateTime: {},
|
|
3274
3311
|
pluralRules: {}
|
|
3275
|
-
}, this.format = function(
|
|
3276
|
-
var c = s.formatToParts(
|
|
3312
|
+
}, this.format = function(h) {
|
|
3313
|
+
var c = s.formatToParts(h);
|
|
3277
3314
|
if (c.length === 1)
|
|
3278
3315
|
return c[0].value;
|
|
3279
|
-
var
|
|
3316
|
+
var f = c.reduce(function(m, g) {
|
|
3280
3317
|
return !m.length || g.type !== z.literal || typeof m[m.length - 1] != "string" ? m.push(g.value) : m[m.length - 1] += g.value, m;
|
|
3281
3318
|
}, []);
|
|
3282
|
-
return
|
|
3283
|
-
}, this.formatToParts = function(
|
|
3284
|
-
return
|
|
3319
|
+
return f.length <= 1 ? f[0] || "" : f;
|
|
3320
|
+
}, this.formatToParts = function(h) {
|
|
3321
|
+
return rt(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3285
3322
|
}, this.resolvedOptions = function() {
|
|
3286
|
-
var
|
|
3323
|
+
var h;
|
|
3287
3324
|
return {
|
|
3288
|
-
locale: ((
|
|
3325
|
+
locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3289
3326
|
};
|
|
3290
3327
|
}, this.getAst = function() {
|
|
3291
3328
|
return s.ast;
|
|
3292
3329
|
}, this.locales = t, this.resolvedLocale = e.resolveLocale(t), typeof r == "string") {
|
|
3293
3330
|
if (this.message = r, !e.__parse)
|
|
3294
3331
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3295
|
-
var
|
|
3296
|
-
|
|
3297
|
-
var
|
|
3298
|
-
this.ast = e.__parse(r, A(A({},
|
|
3332
|
+
var o = n || {};
|
|
3333
|
+
o.formatters;
|
|
3334
|
+
var l = Nn(o, ["formatters"]);
|
|
3335
|
+
this.ast = e.__parse(r, A(A({}, l), { locale: this.resolvedLocale }));
|
|
3299
3336
|
} else
|
|
3300
3337
|
this.ast = r;
|
|
3301
3338
|
if (!Array.isArray(this.ast))
|
|
3302
3339
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3303
|
-
this.formats =
|
|
3340
|
+
this.formats = vs(e.formats, i), this.formatters = n && n.formatters || ws(this.formatterCache);
|
|
3304
3341
|
}
|
|
3305
3342
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3306
3343
|
get: function() {
|
|
@@ -3309,11 +3346,11 @@ var ns = (
|
|
|
3309
3346
|
enumerable: !1,
|
|
3310
3347
|
configurable: !0
|
|
3311
3348
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(r) {
|
|
3312
|
-
if (
|
|
3349
|
+
if (typeof Intl.Locale != "undefined") {
|
|
3313
3350
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3314
3351
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3315
3352
|
}
|
|
3316
|
-
}, e.__parse =
|
|
3353
|
+
}, e.__parse = gs, e.formats = {
|
|
3317
3354
|
number: {
|
|
3318
3355
|
integer: {
|
|
3319
3356
|
maximumFractionDigits: 0
|
|
@@ -3374,7 +3411,7 @@ var ns = (
|
|
|
3374
3411
|
}, e;
|
|
3375
3412
|
}()
|
|
3376
3413
|
);
|
|
3377
|
-
function
|
|
3414
|
+
function Ps(e, r) {
|
|
3378
3415
|
if (r == null)
|
|
3379
3416
|
return;
|
|
3380
3417
|
if (r in e)
|
|
@@ -3395,92 +3432,92 @@ function ss(e, r) {
|
|
|
3395
3432
|
i = void 0;
|
|
3396
3433
|
return i;
|
|
3397
3434
|
}
|
|
3398
|
-
const
|
|
3435
|
+
const Ne = {}, Cs = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), Li = (e, r) => {
|
|
3399
3436
|
if (r == null)
|
|
3400
3437
|
return;
|
|
3401
|
-
if (r in
|
|
3402
|
-
return
|
|
3403
|
-
const t =
|
|
3438
|
+
if (r in Ne && e in Ne[r])
|
|
3439
|
+
return Ne[r][e];
|
|
3440
|
+
const t = lt(r);
|
|
3404
3441
|
for (let i = 0; i < t.length; i++) {
|
|
3405
|
-
const n = t[i], s =
|
|
3442
|
+
const n = t[i], s = As(n, e);
|
|
3406
3443
|
if (s)
|
|
3407
|
-
return
|
|
3444
|
+
return Cs(e, r, s);
|
|
3408
3445
|
}
|
|
3409
3446
|
};
|
|
3410
|
-
let
|
|
3411
|
-
const
|
|
3412
|
-
function
|
|
3413
|
-
return
|
|
3447
|
+
let Nt;
|
|
3448
|
+
const Mr = st({});
|
|
3449
|
+
function xs(e) {
|
|
3450
|
+
return Nt[e] || null;
|
|
3414
3451
|
}
|
|
3415
|
-
function
|
|
3416
|
-
return e in
|
|
3452
|
+
function Mi(e) {
|
|
3453
|
+
return e in Nt;
|
|
3417
3454
|
}
|
|
3418
|
-
function
|
|
3419
|
-
if (!
|
|
3455
|
+
function As(e, r) {
|
|
3456
|
+
if (!Mi(e))
|
|
3420
3457
|
return null;
|
|
3421
|
-
const t =
|
|
3422
|
-
return
|
|
3458
|
+
const t = xs(e);
|
|
3459
|
+
return Ps(t, r);
|
|
3423
3460
|
}
|
|
3424
|
-
function
|
|
3461
|
+
function Ts(e) {
|
|
3425
3462
|
if (e == null)
|
|
3426
3463
|
return;
|
|
3427
|
-
const r =
|
|
3464
|
+
const r = lt(e);
|
|
3428
3465
|
for (let t = 0; t < r.length; t++) {
|
|
3429
3466
|
const i = r[t];
|
|
3430
|
-
if (
|
|
3467
|
+
if (Mi(i))
|
|
3431
3468
|
return i;
|
|
3432
3469
|
}
|
|
3433
3470
|
}
|
|
3434
|
-
function
|
|
3435
|
-
delete
|
|
3471
|
+
function Ri(e, ...r) {
|
|
3472
|
+
delete Ne[e], Mr.update((t) => (t[e] = Bn.all([t[e] || {}, ...r]), t));
|
|
3436
3473
|
}
|
|
3437
|
-
|
|
3438
|
-
[
|
|
3474
|
+
hr(
|
|
3475
|
+
[Mr],
|
|
3439
3476
|
([e]) => Object.keys(e)
|
|
3440
3477
|
);
|
|
3441
|
-
|
|
3442
|
-
const
|
|
3443
|
-
function
|
|
3444
|
-
|
|
3478
|
+
Mr.subscribe((e) => Nt = e);
|
|
3479
|
+
const tt = {};
|
|
3480
|
+
function Hs(e, r) {
|
|
3481
|
+
tt[e].delete(r), tt[e].size === 0 && delete tt[e];
|
|
3445
3482
|
}
|
|
3446
|
-
function
|
|
3447
|
-
return
|
|
3483
|
+
function Ui(e) {
|
|
3484
|
+
return tt[e];
|
|
3448
3485
|
}
|
|
3449
|
-
function
|
|
3450
|
-
return
|
|
3451
|
-
const t =
|
|
3486
|
+
function Is(e) {
|
|
3487
|
+
return lt(e).map((r) => {
|
|
3488
|
+
const t = Ui(r);
|
|
3452
3489
|
return [r, t ? [...t] : []];
|
|
3453
3490
|
}).filter(([, r]) => r.length > 0);
|
|
3454
3491
|
}
|
|
3455
|
-
function
|
|
3456
|
-
return e == null ? !1 :
|
|
3492
|
+
function Tt(e) {
|
|
3493
|
+
return e == null ? !1 : lt(e).some(
|
|
3457
3494
|
(r) => {
|
|
3458
3495
|
var t;
|
|
3459
|
-
return (t =
|
|
3496
|
+
return (t = Ui(r)) == null ? void 0 : t.size;
|
|
3460
3497
|
}
|
|
3461
3498
|
);
|
|
3462
3499
|
}
|
|
3463
|
-
function
|
|
3500
|
+
function Bs(e, r) {
|
|
3464
3501
|
return Promise.all(
|
|
3465
|
-
r.map((i) => (
|
|
3466
|
-
).then((i) =>
|
|
3502
|
+
r.map((i) => (Hs(e, i), i().then((n) => n.default || n)))
|
|
3503
|
+
).then((i) => Ri(e, ...i));
|
|
3467
3504
|
}
|
|
3468
|
-
const
|
|
3469
|
-
function
|
|
3470
|
-
if (!
|
|
3471
|
-
return e in
|
|
3472
|
-
const r =
|
|
3473
|
-
return
|
|
3505
|
+
const Hr = {};
|
|
3506
|
+
function ki(e) {
|
|
3507
|
+
if (!Tt(e))
|
|
3508
|
+
return e in Hr ? Hr[e] : Promise.resolve();
|
|
3509
|
+
const r = Is(e);
|
|
3510
|
+
return Hr[e] = Promise.all(
|
|
3474
3511
|
r.map(
|
|
3475
|
-
([t, i]) =>
|
|
3512
|
+
([t, i]) => Bs(t, i)
|
|
3476
3513
|
)
|
|
3477
3514
|
).then(() => {
|
|
3478
|
-
if (
|
|
3479
|
-
return
|
|
3480
|
-
delete
|
|
3481
|
-
}),
|
|
3515
|
+
if (Tt(e))
|
|
3516
|
+
return ki(e);
|
|
3517
|
+
delete Hr[e];
|
|
3518
|
+
}), Hr[e];
|
|
3482
3519
|
}
|
|
3483
|
-
const
|
|
3520
|
+
const Ns = {
|
|
3484
3521
|
number: {
|
|
3485
3522
|
scientific: { notation: "scientific" },
|
|
3486
3523
|
engineering: { notation: "engineering" },
|
|
@@ -3509,159 +3546,159 @@ const ds = {
|
|
|
3509
3546
|
timeZoneName: "short"
|
|
3510
3547
|
}
|
|
3511
3548
|
}
|
|
3512
|
-
},
|
|
3549
|
+
}, Os = {
|
|
3513
3550
|
fallbackLocale: null,
|
|
3514
3551
|
loadingDelay: 200,
|
|
3515
|
-
formats:
|
|
3552
|
+
formats: Ns,
|
|
3516
3553
|
warnOnMissingMessages: !0,
|
|
3517
3554
|
handleMissingMessage: void 0,
|
|
3518
3555
|
ignoreTag: !0
|
|
3519
|
-
},
|
|
3520
|
-
function
|
|
3521
|
-
return
|
|
3556
|
+
}, Ls = Os;
|
|
3557
|
+
function ur() {
|
|
3558
|
+
return Ls;
|
|
3522
3559
|
}
|
|
3523
|
-
const
|
|
3524
|
-
var
|
|
3560
|
+
const yt = st(!1);
|
|
3561
|
+
var Ms = Object.defineProperty, Rs = Object.defineProperties, Us = Object.getOwnPropertyDescriptors, ei = Object.getOwnPropertySymbols, ks = Object.prototype.hasOwnProperty, Fs = Object.prototype.propertyIsEnumerable, ri = (e, r, t) => r in e ? Ms(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ds = (e, r) => {
|
|
3525
3562
|
for (var t in r)
|
|
3526
|
-
|
|
3527
|
-
if (
|
|
3528
|
-
for (var t of
|
|
3529
|
-
|
|
3563
|
+
ks.call(r, t) && ri(e, t, r[t]);
|
|
3564
|
+
if (ei)
|
|
3565
|
+
for (var t of ei(r))
|
|
3566
|
+
Fs.call(r, t) && ri(e, t, r[t]);
|
|
3530
3567
|
return e;
|
|
3531
|
-
},
|
|
3532
|
-
let
|
|
3533
|
-
const
|
|
3534
|
-
function
|
|
3568
|
+
}, Gs = (e, r) => Rs(e, Us(r));
|
|
3569
|
+
let Ht;
|
|
3570
|
+
const it = st(null);
|
|
3571
|
+
function ti(e) {
|
|
3535
3572
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3536
3573
|
}
|
|
3537
|
-
function
|
|
3538
|
-
const t =
|
|
3539
|
-
return r ? [.../* @__PURE__ */ new Set([...t, ...
|
|
3574
|
+
function lt(e, r = ur().fallbackLocale) {
|
|
3575
|
+
const t = ti(e);
|
|
3576
|
+
return r ? [.../* @__PURE__ */ new Set([...t, ...ti(r)])] : t;
|
|
3540
3577
|
}
|
|
3541
|
-
function
|
|
3542
|
-
return
|
|
3578
|
+
function De() {
|
|
3579
|
+
return Ht != null ? Ht : void 0;
|
|
3543
3580
|
}
|
|
3544
|
-
|
|
3545
|
-
|
|
3581
|
+
it.subscribe((e) => {
|
|
3582
|
+
Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3546
3583
|
});
|
|
3547
|
-
const
|
|
3548
|
-
if (e &&
|
|
3549
|
-
const { loadingDelay: r } =
|
|
3584
|
+
const js = (e) => {
|
|
3585
|
+
if (e && Ts(e) && Tt(e)) {
|
|
3586
|
+
const { loadingDelay: r } = ur();
|
|
3550
3587
|
let t;
|
|
3551
|
-
return typeof window
|
|
3552
|
-
() =>
|
|
3588
|
+
return typeof window != "undefined" && De() != null && r ? t = window.setTimeout(
|
|
3589
|
+
() => yt.set(!0),
|
|
3553
3590
|
r
|
|
3554
|
-
) :
|
|
3555
|
-
|
|
3591
|
+
) : yt.set(!0), ki(e).then(() => {
|
|
3592
|
+
it.set(e);
|
|
3556
3593
|
}).finally(() => {
|
|
3557
|
-
clearTimeout(t),
|
|
3594
|
+
clearTimeout(t), yt.set(!1);
|
|
3558
3595
|
});
|
|
3559
3596
|
}
|
|
3560
|
-
return
|
|
3561
|
-
},
|
|
3562
|
-
set:
|
|
3563
|
-
}),
|
|
3597
|
+
return it.set(e);
|
|
3598
|
+
}, fr = Gs(Ds({}, it), {
|
|
3599
|
+
set: js
|
|
3600
|
+
}), ut = (e) => {
|
|
3564
3601
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3565
3602
|
return (i) => {
|
|
3566
3603
|
const n = JSON.stringify(i);
|
|
3567
3604
|
return n in r ? r[n] : r[n] = e(i);
|
|
3568
3605
|
};
|
|
3569
3606
|
};
|
|
3570
|
-
var
|
|
3607
|
+
var Vs = Object.defineProperty, nt = Object.getOwnPropertySymbols, Fi = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, ii = (e, r, t) => r in e ? Vs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ot = (e, r) => {
|
|
3571
3608
|
for (var t in r || (r = {}))
|
|
3572
|
-
|
|
3573
|
-
if (
|
|
3574
|
-
for (var t of
|
|
3575
|
-
|
|
3609
|
+
Fi.call(r, t) && ii(e, t, r[t]);
|
|
3610
|
+
if (nt)
|
|
3611
|
+
for (var t of nt(r))
|
|
3612
|
+
Di.call(r, t) && ii(e, t, r[t]);
|
|
3576
3613
|
return e;
|
|
3577
|
-
},
|
|
3614
|
+
}, dr = (e, r) => {
|
|
3578
3615
|
var t = {};
|
|
3579
3616
|
for (var i in e)
|
|
3580
|
-
|
|
3581
|
-
if (e != null &&
|
|
3582
|
-
for (var i of
|
|
3583
|
-
r.indexOf(i) < 0 &&
|
|
3617
|
+
Fi.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3618
|
+
if (e != null && nt)
|
|
3619
|
+
for (var i of nt(e))
|
|
3620
|
+
r.indexOf(i) < 0 && Di.call(e, i) && (t[i] = e[i]);
|
|
3584
3621
|
return t;
|
|
3585
3622
|
};
|
|
3586
|
-
const
|
|
3587
|
-
const { formats: t } =
|
|
3623
|
+
const Lr = (e, r) => {
|
|
3624
|
+
const { formats: t } = ur();
|
|
3588
3625
|
if (e in t && r in t[e])
|
|
3589
3626
|
return t[e][r];
|
|
3590
3627
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3591
|
-
},
|
|
3628
|
+
}, $s = ut(
|
|
3592
3629
|
(e) => {
|
|
3593
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3630
|
+
var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
|
|
3594
3631
|
if (t == null)
|
|
3595
3632
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3596
|
-
return i && (n =
|
|
3633
|
+
return i && (n = Lr("number", i)), new Intl.NumberFormat(t, n);
|
|
3597
3634
|
}
|
|
3598
|
-
),
|
|
3635
|
+
), Qs = ut(
|
|
3599
3636
|
(e) => {
|
|
3600
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3637
|
+
var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
|
|
3601
3638
|
if (t == null)
|
|
3602
3639
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3603
|
-
return i ? n =
|
|
3640
|
+
return i ? n = Lr("date", i) : Object.keys(n).length === 0 && (n = Lr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3604
3641
|
}
|
|
3605
|
-
),
|
|
3642
|
+
), zs = ut(
|
|
3606
3643
|
(e) => {
|
|
3607
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3644
|
+
var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
|
|
3608
3645
|
if (t == null)
|
|
3609
3646
|
throw new Error(
|
|
3610
3647
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3611
3648
|
);
|
|
3612
|
-
return i ? n =
|
|
3649
|
+
return i ? n = Lr("time", i) : Object.keys(n).length === 0 && (n = Lr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3613
3650
|
}
|
|
3614
|
-
),
|
|
3651
|
+
), Xs = (e = {}) => {
|
|
3615
3652
|
var r = e, {
|
|
3616
|
-
locale: t =
|
|
3617
|
-
} = r, i =
|
|
3653
|
+
locale: t = De()
|
|
3654
|
+
} = r, i = dr(r, [
|
|
3618
3655
|
"locale"
|
|
3619
3656
|
]);
|
|
3620
|
-
return
|
|
3621
|
-
},
|
|
3657
|
+
return $s(Ot({ locale: t }, i));
|
|
3658
|
+
}, Zs = (e = {}) => {
|
|
3622
3659
|
var r = e, {
|
|
3623
|
-
locale: t =
|
|
3624
|
-
} = r, i =
|
|
3660
|
+
locale: t = De()
|
|
3661
|
+
} = r, i = dr(r, [
|
|
3625
3662
|
"locale"
|
|
3626
3663
|
]);
|
|
3627
|
-
return
|
|
3628
|
-
},
|
|
3664
|
+
return Qs(Ot({ locale: t }, i));
|
|
3665
|
+
}, Ws = (e = {}) => {
|
|
3629
3666
|
var r = e, {
|
|
3630
|
-
locale: t =
|
|
3631
|
-
} = r, i =
|
|
3667
|
+
locale: t = De()
|
|
3668
|
+
} = r, i = dr(r, [
|
|
3632
3669
|
"locale"
|
|
3633
3670
|
]);
|
|
3634
|
-
return
|
|
3635
|
-
},
|
|
3671
|
+
return zs(Ot({ locale: t }, i));
|
|
3672
|
+
}, qs = ut(
|
|
3636
3673
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3637
|
-
(e, r =
|
|
3638
|
-
ignoreTag:
|
|
3674
|
+
(e, r = De()) => new Ss(e, r, ur().formats, {
|
|
3675
|
+
ignoreTag: ur().ignoreTag
|
|
3639
3676
|
})
|
|
3640
|
-
),
|
|
3677
|
+
), Js = (e, r = {}) => {
|
|
3641
3678
|
var t, i, n, s;
|
|
3642
|
-
let
|
|
3643
|
-
typeof e == "object" && (
|
|
3679
|
+
let o = r;
|
|
3680
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
3644
3681
|
const {
|
|
3645
|
-
values:
|
|
3646
|
-
locale:
|
|
3682
|
+
values: l,
|
|
3683
|
+
locale: h = De(),
|
|
3647
3684
|
default: c
|
|
3648
|
-
} =
|
|
3649
|
-
if (
|
|
3685
|
+
} = o;
|
|
3686
|
+
if (h == null)
|
|
3650
3687
|
throw new Error(
|
|
3651
3688
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3652
3689
|
);
|
|
3653
|
-
let
|
|
3654
|
-
if (!
|
|
3655
|
-
|
|
3656
|
-
else if (typeof
|
|
3690
|
+
let f = Li(e, h);
|
|
3691
|
+
if (!f)
|
|
3692
|
+
f = (s = (n = (i = (t = ur()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: h, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3693
|
+
else if (typeof f != "string")
|
|
3657
3694
|
return console.warn(
|
|
3658
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3659
|
-
),
|
|
3660
|
-
if (!
|
|
3661
|
-
return
|
|
3662
|
-
let m =
|
|
3695
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3696
|
+
), f;
|
|
3697
|
+
if (!l)
|
|
3698
|
+
return f;
|
|
3699
|
+
let m = f;
|
|
3663
3700
|
try {
|
|
3664
|
-
m =
|
|
3701
|
+
m = qs(f, h).format(l);
|
|
3665
3702
|
} catch (g) {
|
|
3666
3703
|
g instanceof Error && console.warn(
|
|
3667
3704
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3669,18 +3706,18 @@ const Ar = (e, r) => {
|
|
|
3669
3706
|
);
|
|
3670
3707
|
}
|
|
3671
3708
|
return m;
|
|
3672
|
-
},
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
function
|
|
3678
|
-
|
|
3679
|
-
}
|
|
3680
|
-
function
|
|
3681
|
-
|
|
3682
|
-
}
|
|
3683
|
-
const
|
|
3709
|
+
}, Ys = (e, r) => Ws(r).format(e), Ks = (e, r) => Zs(r).format(e), ea = (e, r) => Xs(r).format(e), ra = (e, r = De()) => Li(e, r), ta = hr([fr, Mr], () => Js);
|
|
3710
|
+
hr([fr], () => Ys);
|
|
3711
|
+
hr([fr], () => Ks);
|
|
3712
|
+
hr([fr], () => ea);
|
|
3713
|
+
hr([fr, Mr], () => ra);
|
|
3714
|
+
function ni(e, r) {
|
|
3715
|
+
Ri(e, r);
|
|
3716
|
+
}
|
|
3717
|
+
function ia(e) {
|
|
3718
|
+
fr.set(e);
|
|
3719
|
+
}
|
|
3720
|
+
const si = {
|
|
3684
3721
|
en: {
|
|
3685
3722
|
registerTitle: "Create your account",
|
|
3686
3723
|
registerSubtitle: "Already have an account?",
|
|
@@ -3935,20 +3972,20 @@ const Qt = {
|
|
|
3935
3972
|
registerNext: "Next"
|
|
3936
3973
|
}
|
|
3937
3974
|
};
|
|
3938
|
-
function
|
|
3939
|
-
|
|
3975
|
+
function na(e) {
|
|
3976
|
+
Zi(e, "svelte-6m40jp", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer 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}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.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))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{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;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
|
|
3940
3977
|
}
|
|
3941
|
-
function
|
|
3978
|
+
function ai(e) {
|
|
3942
3979
|
let r, t = (
|
|
3943
3980
|
/*$_*/
|
|
3944
3981
|
e[30]("registerEmailError") + ""
|
|
3945
3982
|
), i;
|
|
3946
3983
|
return {
|
|
3947
3984
|
c() {
|
|
3948
|
-
r =
|
|
3985
|
+
r = _("p"), i = T(t), a(r, "class", "InvalidInput");
|
|
3949
3986
|
},
|
|
3950
3987
|
m(n, s) {
|
|
3951
|
-
fe(n, r, s),
|
|
3988
|
+
fe(n, r, s), u(r, i);
|
|
3952
3989
|
},
|
|
3953
3990
|
p(n, s) {
|
|
3954
3991
|
s[0] & /*$_*/
|
|
@@ -3960,17 +3997,17 @@ function zt(e) {
|
|
|
3960
3997
|
}
|
|
3961
3998
|
};
|
|
3962
3999
|
}
|
|
3963
|
-
function
|
|
4000
|
+
function oi(e) {
|
|
3964
4001
|
let r, t = (
|
|
3965
4002
|
/*$_*/
|
|
3966
4003
|
e[30]("registerUsernameError") + ""
|
|
3967
4004
|
), i;
|
|
3968
4005
|
return {
|
|
3969
4006
|
c() {
|
|
3970
|
-
r =
|
|
4007
|
+
r = _("p"), i = T(t), a(r, "class", "InvalidInput");
|
|
3971
4008
|
},
|
|
3972
4009
|
m(n, s) {
|
|
3973
|
-
fe(n, r, s),
|
|
4010
|
+
fe(n, r, s), u(r, i);
|
|
3974
4011
|
},
|
|
3975
4012
|
p(n, s) {
|
|
3976
4013
|
s[0] & /*$_*/
|
|
@@ -3982,34 +4019,34 @@ function Xt(e) {
|
|
|
3982
4019
|
}
|
|
3983
4020
|
};
|
|
3984
4021
|
}
|
|
3985
|
-
function
|
|
3986
|
-
let r, t, i, n, s,
|
|
4022
|
+
function sa(e) {
|
|
4023
|
+
let r, t, i, n, s, o, l, h, c;
|
|
3987
4024
|
return {
|
|
3988
4025
|
c() {
|
|
3989
|
-
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"),
|
|
4026
|
+
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), o = S("path"), l = S("circle"), a(o, "class", "a"), a(o, "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"), a(o, "transform", "translate(0)"), a(l, "class", "a"), a(l, "cx", "2.779"), a(l, "cy", "2.779"), a(l, "r", "2.779"), a(l, "transform", "translate(20.827 30.303)"), a(s, "transform", "translate(-14.185 -27.832)"), a(r, "class", "TogglePasswordVisibility"), a(r, "xmlns", "http://www.w3.org/2000/svg"), a(r, "width", "18.843"), a(r, "height", "10.5"), a(r, "viewBox", "0 0 18.843 10.5");
|
|
3990
4027
|
},
|
|
3991
|
-
m(
|
|
3992
|
-
fe(
|
|
4028
|
+
m(f, m) {
|
|
4029
|
+
fe(f, r, m), u(r, t), u(t, i), u(i, n), u(r, s), u(s, o), u(s, l), h || (c = x(
|
|
3993
4030
|
r,
|
|
3994
4031
|
"click",
|
|
3995
4032
|
/*click_handler_2*/
|
|
3996
4033
|
e[61]
|
|
3997
|
-
),
|
|
4034
|
+
), h = !0);
|
|
3998
4035
|
},
|
|
3999
4036
|
p: X,
|
|
4000
|
-
d(
|
|
4001
|
-
|
|
4037
|
+
d(f) {
|
|
4038
|
+
f && se(r), h = !1, c();
|
|
4002
4039
|
}
|
|
4003
4040
|
};
|
|
4004
4041
|
}
|
|
4005
|
-
function
|
|
4006
|
-
let r, t, i, n, s,
|
|
4042
|
+
function aa(e) {
|
|
4043
|
+
let r, t, i, n, s, o, l, h, c, f, m, g, b, v, E;
|
|
4007
4044
|
return {
|
|
4008
4045
|
c() {
|
|
4009
|
-
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"),
|
|
4046
|
+
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), o = S("circle"), l = S("g"), h = S("path"), c = S("path"), f = S("g"), m = S("path"), g = S("path"), b = S("rect"), a(o, "class", "a"), a(o, "cx", "0.05"), a(o, "cy", "0.05"), a(o, "r", "0.05"), a(o, "transform", "translate(121.017 31.148)"), a(h, "class", "a"), a(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), a(h, "transform", "translate(-142.164 -39.123)"), a(c, "class", "a"), a(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), a(c, "transform", "translate(-136.413 -42.068)"), a(l, "transform", "translate(117.499 27.37)"), a(m, "class", "a"), a(m, "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"), a(m, "transform", "translate(-110.856 -33.157)"), a(g, "class", "a"), a(g, "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"), a(g, "transform", "translate(-130.743 -29.617)"), a(f, "transform", "translate(110.856 24.899)"), a(b, "class", "a"), a(b, "width", "0.972"), a(b, "height", "15.861"), a(b, "rx", "0.486"), a(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), a(s, "transform", "translate(-110.856 -23.242)"), a(r, "class", "TogglePasswordVisibility"), a(r, "xmlns", "http://www.w3.org/2000/svg"), a(r, "width", "18.844"), a(r, "height", "12.887"), a(r, "viewBox", "0 0 18.844 12.887");
|
|
4010
4047
|
},
|
|
4011
4048
|
m(w, B) {
|
|
4012
|
-
fe(w, r, B),
|
|
4049
|
+
fe(w, r, B), u(r, t), u(t, i), u(i, n), u(r, s), u(s, o), u(s, l), u(l, h), u(l, c), u(s, f), u(f, m), u(f, g), u(s, b), v || (E = x(
|
|
4013
4050
|
r,
|
|
4014
4051
|
"click",
|
|
4015
4052
|
/*click_handler_1*/
|
|
@@ -4018,21 +4055,21 @@ function Gs(e) {
|
|
|
4018
4055
|
},
|
|
4019
4056
|
p: X,
|
|
4020
4057
|
d(w) {
|
|
4021
|
-
w && se(r), v = !1,
|
|
4058
|
+
w && se(r), v = !1, E();
|
|
4022
4059
|
}
|
|
4023
4060
|
};
|
|
4024
4061
|
}
|
|
4025
|
-
function
|
|
4062
|
+
function li(e) {
|
|
4026
4063
|
let r, t = (
|
|
4027
4064
|
/*$_*/
|
|
4028
4065
|
e[30]("registerPasswordError") + ""
|
|
4029
4066
|
), i;
|
|
4030
4067
|
return {
|
|
4031
4068
|
c() {
|
|
4032
|
-
r =
|
|
4069
|
+
r = _("p"), i = T(t), a(r, "class", "InvalidInput");
|
|
4033
4070
|
},
|
|
4034
4071
|
m(n, s) {
|
|
4035
|
-
fe(n, r, s),
|
|
4072
|
+
fe(n, r, s), u(r, i);
|
|
4036
4073
|
},
|
|
4037
4074
|
p(n, s) {
|
|
4038
4075
|
s[0] & /*$_*/
|
|
@@ -4044,17 +4081,17 @@ function Zt(e) {
|
|
|
4044
4081
|
}
|
|
4045
4082
|
};
|
|
4046
4083
|
}
|
|
4047
|
-
function
|
|
4084
|
+
function ui(e) {
|
|
4048
4085
|
let r, t = (
|
|
4049
4086
|
/*$_*/
|
|
4050
4087
|
e[30]("registerSimplePasswordError") + ""
|
|
4051
4088
|
), i;
|
|
4052
4089
|
return {
|
|
4053
4090
|
c() {
|
|
4054
|
-
r =
|
|
4091
|
+
r = _("p"), i = T(t), a(r, "class", "InvalidInput");
|
|
4055
4092
|
},
|
|
4056
4093
|
m(n, s) {
|
|
4057
|
-
fe(n, r, s),
|
|
4094
|
+
fe(n, r, s), u(r, i);
|
|
4058
4095
|
},
|
|
4059
4096
|
p(n, s) {
|
|
4060
4097
|
s[0] & /*$_*/
|
|
@@ -4066,34 +4103,34 @@ function Wt(e) {
|
|
|
4066
4103
|
}
|
|
4067
4104
|
};
|
|
4068
4105
|
}
|
|
4069
|
-
function
|
|
4070
|
-
let r, t, i, n, s,
|
|
4106
|
+
function oa(e) {
|
|
4107
|
+
let r, t, i, n, s, o, l, h, c;
|
|
4071
4108
|
return {
|
|
4072
4109
|
c() {
|
|
4073
|
-
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"),
|
|
4110
|
+
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), o = S("path"), l = S("circle"), a(o, "class", "a"), a(o, "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"), a(o, "transform", "translate(0)"), a(l, "class", "a"), a(l, "cx", "2.779"), a(l, "cy", "2.779"), a(l, "r", "2.779"), a(l, "transform", "translate(20.827 30.303)"), a(s, "transform", "translate(-14.185 -27.832)"), a(r, "class", "ToggleConfirmPasswordVisibility"), a(r, "xmlns", "http://www.w3.org/2000/svg"), a(r, "width", "18.843"), a(r, "height", "10.5"), a(r, "viewBox", "0 0 18.843 10.5");
|
|
4074
4111
|
},
|
|
4075
|
-
m(
|
|
4076
|
-
fe(
|
|
4112
|
+
m(f, m) {
|
|
4113
|
+
fe(f, r, m), u(r, t), u(t, i), u(i, n), u(r, s), u(s, o), u(s, l), h || (c = x(
|
|
4077
4114
|
r,
|
|
4078
4115
|
"click",
|
|
4079
4116
|
/*click_handler_4*/
|
|
4080
4117
|
e[67]
|
|
4081
|
-
),
|
|
4118
|
+
), h = !0);
|
|
4082
4119
|
},
|
|
4083
4120
|
p: X,
|
|
4084
|
-
d(
|
|
4085
|
-
|
|
4121
|
+
d(f) {
|
|
4122
|
+
f && se(r), h = !1, c();
|
|
4086
4123
|
}
|
|
4087
4124
|
};
|
|
4088
4125
|
}
|
|
4089
|
-
function
|
|
4090
|
-
let r, t, i, n, s,
|
|
4126
|
+
function la(e) {
|
|
4127
|
+
let r, t, i, n, s, o, l, h, c, f, m, g, b, v, E;
|
|
4091
4128
|
return {
|
|
4092
4129
|
c() {
|
|
4093
|
-
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"),
|
|
4130
|
+
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), o = S("circle"), l = S("g"), h = S("path"), c = S("path"), f = S("g"), m = S("path"), g = S("path"), b = S("rect"), a(o, "class", "a"), a(o, "cx", "0.05"), a(o, "cy", "0.05"), a(o, "r", "0.05"), a(o, "transform", "translate(121.017 31.148)"), a(h, "class", "a"), a(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), a(h, "transform", "translate(-142.164 -39.123)"), a(c, "class", "a"), a(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), a(c, "transform", "translate(-136.413 -42.068)"), a(l, "transform", "translate(117.499 27.37)"), a(m, "class", "a"), a(m, "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"), a(m, "transform", "translate(-110.856 -33.157)"), a(g, "class", "a"), a(g, "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"), a(g, "transform", "translate(-130.743 -29.617)"), a(f, "transform", "translate(110.856 24.899)"), a(b, "class", "a"), a(b, "width", "0.972"), a(b, "height", "15.861"), a(b, "rx", "0.486"), a(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), a(s, "transform", "translate(-110.856 -23.242)"), a(r, "class", "ToggleConfirmPasswordVisibility"), a(r, "xmlns", "http://www.w3.org/2000/svg"), a(r, "width", "18.844"), a(r, "height", "12.887"), a(r, "viewBox", "0 0 18.844 12.887");
|
|
4094
4131
|
},
|
|
4095
4132
|
m(w, B) {
|
|
4096
|
-
fe(w, r, B),
|
|
4133
|
+
fe(w, r, B), u(r, t), u(t, i), u(i, n), u(r, s), u(s, o), u(s, l), u(l, h), u(l, c), u(s, f), u(f, m), u(f, g), u(s, b), v || (E = x(
|
|
4097
4134
|
r,
|
|
4098
4135
|
"click",
|
|
4099
4136
|
/*click_handler_3*/
|
|
@@ -4102,21 +4139,21 @@ function Vs(e) {
|
|
|
4102
4139
|
},
|
|
4103
4140
|
p: X,
|
|
4104
4141
|
d(w) {
|
|
4105
|
-
w && se(r), v = !1,
|
|
4142
|
+
w && se(r), v = !1, E();
|
|
4106
4143
|
}
|
|
4107
4144
|
};
|
|
4108
4145
|
}
|
|
4109
|
-
function
|
|
4146
|
+
function ci(e) {
|
|
4110
4147
|
let r, t = (
|
|
4111
4148
|
/*$_*/
|
|
4112
4149
|
e[30]("registerConfirmPasswordError") + ""
|
|
4113
4150
|
), i;
|
|
4114
4151
|
return {
|
|
4115
4152
|
c() {
|
|
4116
|
-
r =
|
|
4153
|
+
r = _("p"), i = T(t), a(r, "class", "InvalidInput");
|
|
4117
4154
|
},
|
|
4118
4155
|
m(n, s) {
|
|
4119
|
-
fe(n, r, s),
|
|
4156
|
+
fe(n, r, s), u(r, i);
|
|
4120
4157
|
},
|
|
4121
4158
|
p(n, s) {
|
|
4122
4159
|
s[0] & /*$_*/
|
|
@@ -4128,7 +4165,7 @@ function qt(e) {
|
|
|
4128
4165
|
}
|
|
4129
4166
|
};
|
|
4130
4167
|
}
|
|
4131
|
-
function
|
|
4168
|
+
function hi(e) {
|
|
4132
4169
|
let r, t = (
|
|
4133
4170
|
/*custominputtextswitch*/
|
|
4134
4171
|
(e[2] == "true" ? (
|
|
@@ -4141,10 +4178,10 @@ function Jt(e) {
|
|
|
4141
4178
|
), i;
|
|
4142
4179
|
return {
|
|
4143
4180
|
c() {
|
|
4144
|
-
r =
|
|
4181
|
+
r = _("p"), i = T(t), a(r, "class", "InvalidInput");
|
|
4145
4182
|
},
|
|
4146
4183
|
m(n, s) {
|
|
4147
|
-
fe(n, r, s),
|
|
4184
|
+
fe(n, r, s), u(r, i);
|
|
4148
4185
|
},
|
|
4149
4186
|
p(n, s) {
|
|
4150
4187
|
s[0] & /*custominputtextswitch, $_*/
|
|
@@ -4162,7 +4199,7 @@ function Jt(e) {
|
|
|
4162
4199
|
}
|
|
4163
4200
|
};
|
|
4164
4201
|
}
|
|
4165
|
-
function
|
|
4202
|
+
function fi(e) {
|
|
4166
4203
|
let r, t = (
|
|
4167
4204
|
/*custominputtextswitch*/
|
|
4168
4205
|
(e[2] == "true" ? (
|
|
@@ -4175,10 +4212,10 @@ function Yt(e) {
|
|
|
4175
4212
|
), i;
|
|
4176
4213
|
return {
|
|
4177
4214
|
c() {
|
|
4178
|
-
r =
|
|
4215
|
+
r = _("p"), i = T(t), a(r, "class", "InvalidInput");
|
|
4179
4216
|
},
|
|
4180
4217
|
m(n, s) {
|
|
4181
|
-
fe(n, r, s),
|
|
4218
|
+
fe(n, r, s), u(r, i);
|
|
4182
4219
|
},
|
|
4183
4220
|
p(n, s) {
|
|
4184
4221
|
s[0] & /*custominputtextswitch, $_*/
|
|
@@ -4196,32 +4233,32 @@ function Yt(e) {
|
|
|
4196
4233
|
}
|
|
4197
4234
|
};
|
|
4198
4235
|
}
|
|
4199
|
-
function
|
|
4236
|
+
function ua(e) {
|
|
4200
4237
|
let r, t, i, n = (
|
|
4201
4238
|
/*$_*/
|
|
4202
4239
|
e[30]("registerTitle") + ""
|
|
4203
|
-
), s,
|
|
4240
|
+
), s, o, l, h = (
|
|
4204
4241
|
/*$_*/
|
|
4205
4242
|
e[30]("registerSubtitle") + ""
|
|
4206
|
-
), c,
|
|
4243
|
+
), c, f, m, g = (
|
|
4207
4244
|
/*$_*/
|
|
4208
4245
|
e[30]("registerSubtitleLogin") + ""
|
|
4209
|
-
), b, v,
|
|
4246
|
+
), b, v, E, w, B, $ = (
|
|
4210
4247
|
/*$_*/
|
|
4211
4248
|
e[30]("registerEmail") + ""
|
|
4212
|
-
), M, de, G,
|
|
4249
|
+
), M, de, G, ye, R, Ge, Ae, _e, U, Z, me = (
|
|
4213
4250
|
/*$_*/
|
|
4214
4251
|
e[30]("registerUsername") + ""
|
|
4215
|
-
), W, ae,
|
|
4252
|
+
), W, ae, ve, Oe, k, we, Te, oe, D, O, q, Ee = (
|
|
4216
4253
|
/*$_*/
|
|
4217
4254
|
e[30]("registerPassword") + ""
|
|
4218
|
-
),
|
|
4255
|
+
), mr, gr, je, le, L, Le, Rr, Ve, $e, Me, Re, pr, j, He, Ue = (
|
|
4219
4256
|
/*$_*/
|
|
4220
4257
|
e[30]("registerConfirmPassword") + ""
|
|
4221
|
-
),
|
|
4258
|
+
), br, Qe, ke, yr, Q, Er, ze, Xe, Ur, Se, Fe, Ze = (
|
|
4222
4259
|
/*$_*/
|
|
4223
4260
|
e[30]("registerPromoCode") + ""
|
|
4224
|
-
),
|
|
4261
|
+
), _r, kr, Fr, ue, Dr, We, Gr, ge, Ie, qe = (
|
|
4225
4262
|
/*custominputtextswitch*/
|
|
4226
4263
|
(e[2] == "true" ? (
|
|
4227
4264
|
/*$_*/
|
|
@@ -4230,7 +4267,7 @@ function $s(e) {
|
|
|
4230
4267
|
/*$_*/
|
|
4231
4268
|
e[30]("registerSecurityQuestion")
|
|
4232
4269
|
)) + ""
|
|
4233
|
-
),
|
|
4270
|
+
), vr, jr, Je, Vr, ce, $r, Ye, Qr, pe, Be, Ke = (
|
|
4234
4271
|
/*custominputtextswitch*/
|
|
4235
4272
|
(e[2] == "true" ? (
|
|
4236
4273
|
/*$_*/
|
|
@@ -4239,104 +4276,105 @@ function $s(e) {
|
|
|
4239
4276
|
/*$_*/
|
|
4240
4277
|
e[30]("registerSecurityAnswer")
|
|
4241
4278
|
)) + ""
|
|
4242
|
-
),
|
|
4279
|
+
), wr, zr, er, Xr, he, Zr, rr, Wr, p, I = (
|
|
4243
4280
|
/*$_*/
|
|
4244
4281
|
e[30]("registerNext") + ""
|
|
4245
|
-
), V,
|
|
4282
|
+
), V, qr, ct, Lt, J = (
|
|
4246
4283
|
/*invalidEmail*/
|
|
4247
|
-
e[4] &&
|
|
4284
|
+
e[4] && ai(e)
|
|
4248
4285
|
), Y = (
|
|
4249
4286
|
/*invalidName*/
|
|
4250
|
-
e[5] &&
|
|
4287
|
+
e[5] && oi(e)
|
|
4251
4288
|
);
|
|
4252
|
-
function
|
|
4289
|
+
function Mt(d, y) {
|
|
4253
4290
|
return (
|
|
4254
4291
|
/*isPasswordVisible*/
|
|
4255
|
-
d[25] ?
|
|
4292
|
+
d[25] ? aa : sa
|
|
4256
4293
|
);
|
|
4257
4294
|
}
|
|
4258
|
-
let
|
|
4295
|
+
let Jr = Mt(e), Pe = Jr(e), K = (
|
|
4259
4296
|
/*invalidPassword*/
|
|
4260
4297
|
e[6] && /*simplepasswordvalidation*/
|
|
4261
|
-
e[0] !== "true" &&
|
|
4298
|
+
e[0] !== "true" && li(e)
|
|
4262
4299
|
), ee = (
|
|
4263
4300
|
/*invalidPassword*/
|
|
4264
4301
|
e[6] && /*simplepasswordvalidation*/
|
|
4265
|
-
e[0] === "true" &&
|
|
4302
|
+
e[0] === "true" && ui(e)
|
|
4266
4303
|
);
|
|
4267
|
-
function
|
|
4304
|
+
function Rt(d, y) {
|
|
4268
4305
|
return (
|
|
4269
4306
|
/*isConfirmPasswordVisible*/
|
|
4270
|
-
d[26] ?
|
|
4307
|
+
d[26] ? la : oa
|
|
4271
4308
|
);
|
|
4272
4309
|
}
|
|
4273
|
-
let
|
|
4310
|
+
let Yr = Rt(e), Ce = Yr(e), re = (
|
|
4274
4311
|
/*invalidConfirmPassword*/
|
|
4275
|
-
e[7] &&
|
|
4312
|
+
e[7] && ci(e)
|
|
4276
4313
|
), te = (
|
|
4277
4314
|
/*invalidSecurityQuestion*/
|
|
4278
|
-
e[8] &&
|
|
4315
|
+
e[8] && hi(e)
|
|
4279
4316
|
), ie = (
|
|
4280
4317
|
/*invalidSecurityAnswer*/
|
|
4281
|
-
e[9] &&
|
|
4318
|
+
e[9] && fi(e)
|
|
4282
4319
|
);
|
|
4283
4320
|
return {
|
|
4284
4321
|
c() {
|
|
4285
|
-
|
|
4322
|
+
var d, y, Sr, Pr, Cr, xr, Ar, Tr;
|
|
4323
|
+
r = _("div"), t = _("div"), i = _("h2"), s = T(n), o = H(), l = _("p"), c = T(h), f = H(), m = _("span"), b = T(g), v = H(), E = _("form"), w = _("div"), B = _("label"), M = T($), de = T(":"), G = _("span"), G.textContent = "*", ye = H(), R = _("input"), Ge = H(), J && J.c(), _e = H(), U = _("div"), Z = _("label"), W = T(me), ae = T(":"), ve = _("span"), ve.textContent = "*", Oe = H(), k = _("input"), Te = H(), Y && Y.c(), D = H(), O = _("div"), q = _("label"), mr = T(Ee), gr = T(":"), je = _("span"), je.textContent = "*", le = H(), L = _("input"), Rr = H(), Pe.c(), Ve = H(), K && K.c(), $e = H(), ee && ee.c(), pr = H(), j = _("div"), He = _("label"), br = T(Ue), Qe = T(":"), ke = _("span"), ke.textContent = "*", yr = H(), Q = _("input"), Er = H(), Ce.c(), ze = H(), re && re.c(), Ur = H(), Se = _("div"), Fe = _("label"), _r = T(Ze), kr = T(":"), Fr = H(), ue = _("input"), Dr = H(), Gr = H(), ge = _("div"), Ie = _("label"), vr = T(qe), jr = T(":"), Je = _("span"), Je.textContent = "*", Vr = H(), ce = _("input"), $r = H(), te && te.c(), Qr = H(), pe = _("div"), Be = _("label"), wr = T(Ke), zr = T(":"), er = _("span"), er.textContent = "*", Xr = H(), he = _("input"), Zr = H(), ie && ie.c(), Wr = H(), p = _("button"), V = T(I), a(i, "class", "RegisterFormTitle"), a(m, "class", "FormLoginCallToAction"), a(l, "class", "RegisterFormSubtitle"), a(t, "class", "RegisterFormHeader"), a(G, "class", "FormRequired"), a(B, "for", "Email"), a(R, "type", "text"), a(R, "id", "Email"), a(w, "class", Ae = "EmailContainer " + /*invalidEmail*/
|
|
4286
4324
|
(e[4] && !/*emailFocus*/
|
|
4287
4325
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4288
|
-
(e[17]
|
|
4326
|
+
(((d = e[17]) == null ? void 0 : d.indexOf("email")) >= 0 ? "Hidden" : "")), a(ve, "class", "FormRequired"), a(Z, "for", "UserName"), a(k, "type", "text"), a(k, "id", "UserName"), a(k, "autocomplete", we = /*savecredentials*/
|
|
4289
4327
|
e[1] ? "username" : "off"), a(U, "class", oe = "UserContainer " + /*invalidName*/
|
|
4290
4328
|
(e[5] && !/*usernameFocus*/
|
|
4291
4329
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4292
|
-
(e[17]
|
|
4293
|
-
e[1] ? "new-password" : "off"), a(L, "aria-describedby", "password-constraints"), a(O, "class",
|
|
4330
|
+
(((y = e[17]) == null ? void 0 : y.indexOf("username")) >= 0 ? "Hidden" : "")), a(je, "class", "FormRequired"), a(q, "for", "Password"), a(L, "name", "new-password"), a(L, "type", "password"), a(L, "id", "new-password"), a(L, "autocomplete", Le = /*savecredentials*/
|
|
4331
|
+
e[1] ? "new-password" : "off"), a(L, "aria-describedby", "password-constraints"), a(O, "class", Me = "PasswordContainer " + /*invalidPassword*/
|
|
4294
4332
|
(e[6] && !/*passwordFocus*/
|
|
4295
4333
|
e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4296
|
-
(e[17]
|
|
4297
|
-
e[17]
|
|
4334
|
+
(((Sr = e[17]) == null ? void 0 : Sr.indexOf("password")) >= 0 ? "Hidden" : "")), O.hidden = Re = /*disabledFieldsList*/
|
|
4335
|
+
((Pr = e[17]) == null ? void 0 : Pr.indexOf("password")) >= 0, a(ke, "class", "FormRequired"), a(He, "for", "ConfirmPassword"), a(Q, "type", "password"), a(Q, "id", "ConfirmPassword"), a(j, "class", Xe = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4298
4336
|
(e[7] && !/*confirmPasswordFocus*/
|
|
4299
4337
|
e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4300
|
-
(e[17]
|
|
4301
|
-
(e[17]
|
|
4338
|
+
(((Cr = e[17]) == null ? void 0 : Cr.indexOf("confirmPassword")) >= 0 ? "Hidden" : "")), a(Fe, "for", "PromoCode"), a(ue, "type", "text"), a(ue, "id", "PromoCode"), a(Se, "class", We = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4339
|
+
(((xr = e[17]) == null ? void 0 : xr.indexOf("promoCode")) >= 0 ? "Hidden" : "")), a(Je, "class", "FormRequired"), a(Ie, "for", "SecurityQuestion"), a(ce, "type", "text"), a(ce, "id", "SecurityQuestion"), a(ge, "class", Ye = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4302
4340
|
(e[8] && !/*securityQFocus*/
|
|
4303
4341
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4304
|
-
(e[17]
|
|
4342
|
+
(((Ar = e[17]) == null ? void 0 : Ar.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")), a(er, "class", "FormRequired"), a(Be, "for", "SecurityAnswer"), a(he, "type", "text"), a(he, "id", "SecurityAnswer"), a(pe, "class", rr = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4305
4343
|
(e[9] && !/*securityAFocus*/
|
|
4306
4344
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4307
|
-
(e[17]
|
|
4308
|
-
e[29], a(
|
|
4345
|
+
(((Tr = e[17]) == null ? void 0 : Tr.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")), a(p, "class", "RegisterStepNext"), p.disabled = qr = !/*isValid*/
|
|
4346
|
+
e[29], a(E, "class", "RegisterFormContent");
|
|
4309
4347
|
},
|
|
4310
|
-
m(d,
|
|
4311
|
-
fe(d, r,
|
|
4348
|
+
m(d, y) {
|
|
4349
|
+
fe(d, r, y), u(r, t), u(t, i), u(i, s), u(t, o), u(t, l), u(l, c), u(l, f), u(l, m), u(m, b), u(r, v), u(r, E), u(E, w), u(w, B), u(B, M), u(B, de), u(B, G), u(w, ye), u(w, R), ne(
|
|
4312
4350
|
R,
|
|
4313
4351
|
/*userEmail*/
|
|
4314
4352
|
e[19]
|
|
4315
|
-
),
|
|
4353
|
+
), u(w, Ge), J && J.m(w, null), u(E, _e), u(E, U), u(U, Z), u(Z, W), u(Z, ae), u(Z, ve), u(U, Oe), u(U, k), ne(
|
|
4316
4354
|
k,
|
|
4317
4355
|
/*userValue*/
|
|
4318
4356
|
e[18]
|
|
4319
|
-
),
|
|
4357
|
+
), u(U, Te), Y && Y.m(U, null), u(E, D), u(E, O), u(O, q), u(q, mr), u(q, gr), u(q, je), u(O, le), u(O, L), ne(
|
|
4320
4358
|
L,
|
|
4321
4359
|
/*userPassword*/
|
|
4322
4360
|
e[20]
|
|
4323
|
-
), e[59](L),
|
|
4361
|
+
), e[59](L), u(O, Rr), Pe.m(O, null), u(O, Ve), K && K.m(O, null), u(O, $e), ee && ee.m(O, null), u(E, pr), u(E, j), u(j, He), u(He, br), u(He, Qe), u(He, ke), u(j, yr), u(j, Q), ne(
|
|
4324
4362
|
Q,
|
|
4325
4363
|
/*confirmUserPassword*/
|
|
4326
4364
|
e[21]
|
|
4327
|
-
), e[65](Q),
|
|
4365
|
+
), e[65](Q), u(j, Er), Ce.m(j, null), u(j, ze), re && re.m(j, null), u(E, Ur), u(E, Se), u(Se, Fe), u(Fe, _r), u(Fe, kr), u(Se, Fr), u(Se, ue), ne(
|
|
4328
4366
|
ue,
|
|
4329
4367
|
/*promoCode*/
|
|
4330
4368
|
e[24]
|
|
4331
|
-
),
|
|
4369
|
+
), u(Se, Dr), u(E, Gr), u(E, ge), u(ge, Ie), u(Ie, vr), u(Ie, jr), u(Ie, Je), u(ge, Vr), u(ge, ce), ne(
|
|
4332
4370
|
ce,
|
|
4333
4371
|
/*securityQuestion*/
|
|
4334
4372
|
e[22]
|
|
4335
|
-
),
|
|
4373
|
+
), u(ge, $r), te && te.m(ge, null), u(E, Qr), u(E, pe), u(pe, Be), u(Be, wr), u(Be, zr), u(Be, er), u(pe, Xr), u(pe, he), ne(
|
|
4336
4374
|
he,
|
|
4337
4375
|
/*securityAnswer*/
|
|
4338
4376
|
e[23]
|
|
4339
|
-
),
|
|
4377
|
+
), u(pe, Zr), ie && ie.m(pe, null), u(E, Wr), u(E, p), u(p, V), e[78](r), ct || (Lt = [
|
|
4340
4378
|
x(
|
|
4341
4379
|
m,
|
|
4342
4380
|
"click",
|
|
@@ -4517,141 +4555,142 @@ function $s(e) {
|
|
|
4517
4555
|
/*click_handler_5*/
|
|
4518
4556
|
e[77]
|
|
4519
4557
|
)
|
|
4520
|
-
],
|
|
4558
|
+
], ct = !0);
|
|
4521
4559
|
},
|
|
4522
|
-
p(d,
|
|
4523
|
-
|
|
4560
|
+
p(d, y) {
|
|
4561
|
+
var Sr, Pr, Cr, xr, Ar, Tr, Ut, kt;
|
|
4562
|
+
y[0] & /*$_*/
|
|
4524
4563
|
1073741824 && n !== (n = /*$_*/
|
|
4525
|
-
d[30]("registerTitle") + "") && F(s, n),
|
|
4526
|
-
1073741824 &&
|
|
4527
|
-
d[30]("registerSubtitle") + "") && F(c,
|
|
4564
|
+
d[30]("registerTitle") + "") && F(s, n), y[0] & /*$_*/
|
|
4565
|
+
1073741824 && h !== (h = /*$_*/
|
|
4566
|
+
d[30]("registerSubtitle") + "") && F(c, h), y[0] & /*$_*/
|
|
4528
4567
|
1073741824 && g !== (g = /*$_*/
|
|
4529
|
-
d[30]("registerSubtitleLogin") + "") && F(b, g),
|
|
4568
|
+
d[30]("registerSubtitleLogin") + "") && F(b, g), y[0] & /*$_*/
|
|
4530
4569
|
1073741824 && $ !== ($ = /*$_*/
|
|
4531
|
-
d[30]("registerEmail") + "") && F(M, $),
|
|
4570
|
+
d[30]("registerEmail") + "") && F(M, $), y[0] & /*userEmail*/
|
|
4532
4571
|
524288 && R.value !== /*userEmail*/
|
|
4533
4572
|
d[19] && ne(
|
|
4534
4573
|
R,
|
|
4535
4574
|
/*userEmail*/
|
|
4536
4575
|
d[19]
|
|
4537
4576
|
), /*invalidEmail*/
|
|
4538
|
-
d[4] ? J ? J.p(d,
|
|
4539
|
-
132112 &&
|
|
4577
|
+
d[4] ? J ? J.p(d, y) : (J = ai(d), J.c(), J.m(w, null)) : J && (J.d(1), J = null), y[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4578
|
+
132112 && Ae !== (Ae = "EmailContainer " + /*invalidEmail*/
|
|
4540
4579
|
(d[4] && !/*emailFocus*/
|
|
4541
4580
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4542
|
-
(d[17]
|
|
4581
|
+
(((Sr = d[17]) == null ? void 0 : Sr.indexOf("email")) >= 0 ? "Hidden" : "")) && a(w, "class", Ae), y[0] & /*$_*/
|
|
4543
4582
|
1073741824 && me !== (me = /*$_*/
|
|
4544
|
-
d[30]("registerUsername") + "") && F(W, me),
|
|
4545
|
-
2 &&
|
|
4546
|
-
d[1] ? "username" : "off") && a(k, "autocomplete",
|
|
4583
|
+
d[30]("registerUsername") + "") && F(W, me), y[0] & /*savecredentials*/
|
|
4584
|
+
2 && we !== (we = /*savecredentials*/
|
|
4585
|
+
d[1] ? "username" : "off") && a(k, "autocomplete", we), y[0] & /*userValue*/
|
|
4547
4586
|
262144 && k.value !== /*userValue*/
|
|
4548
4587
|
d[18] && ne(
|
|
4549
4588
|
k,
|
|
4550
4589
|
/*userValue*/
|
|
4551
4590
|
d[18]
|
|
4552
4591
|
), /*invalidName*/
|
|
4553
|
-
d[5] ? Y ? Y.p(d,
|
|
4592
|
+
d[5] ? Y ? Y.p(d, y) : (Y = oi(d), Y.c(), Y.m(U, null)) : Y && (Y.d(1), Y = null), y[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4554
4593
|
133152 && oe !== (oe = "UserContainer " + /*invalidName*/
|
|
4555
4594
|
(d[5] && !/*usernameFocus*/
|
|
4556
4595
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4557
|
-
(d[17]
|
|
4558
|
-
1073741824 &&
|
|
4559
|
-
d[30]("registerPassword") + "") && F(
|
|
4560
|
-
2 &&
|
|
4561
|
-
d[1] ? "new-password" : "off") && a(L, "autocomplete",
|
|
4596
|
+
(((Pr = d[17]) == null ? void 0 : Pr.indexOf("username")) >= 0 ? "Hidden" : "")) && a(U, "class", oe), y[0] & /*$_*/
|
|
4597
|
+
1073741824 && Ee !== (Ee = /*$_*/
|
|
4598
|
+
d[30]("registerPassword") + "") && F(mr, Ee), y[0] & /*savecredentials*/
|
|
4599
|
+
2 && Le !== (Le = /*savecredentials*/
|
|
4600
|
+
d[1] ? "new-password" : "off") && a(L, "autocomplete", Le), y[0] & /*userPassword*/
|
|
4562
4601
|
1048576 && L.value !== /*userPassword*/
|
|
4563
4602
|
d[20] && ne(
|
|
4564
4603
|
L,
|
|
4565
4604
|
/*userPassword*/
|
|
4566
4605
|
d[20]
|
|
4567
|
-
),
|
|
4606
|
+
), Jr === (Jr = Mt(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Jr(d), Pe && (Pe.c(), Pe.m(O, Ve))), /*invalidPassword*/
|
|
4568
4607
|
d[6] && /*simplepasswordvalidation*/
|
|
4569
|
-
d[0] !== "true" ? K ? K.p(d,
|
|
4608
|
+
d[0] !== "true" ? K ? K.p(d, y) : (K = li(d), K.c(), K.m(O, $e)) : K && (K.d(1), K = null), /*invalidPassword*/
|
|
4570
4609
|
d[6] && /*simplepasswordvalidation*/
|
|
4571
|
-
d[0] === "true" ? ee ? ee.p(d,
|
|
4572
|
-
135232 &&
|
|
4610
|
+
d[0] === "true" ? ee ? ee.p(d, y) : (ee = ui(d), ee.c(), ee.m(O, null)) : ee && (ee.d(1), ee = null), y[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4611
|
+
135232 && Me !== (Me = "PasswordContainer " + /*invalidPassword*/
|
|
4573
4612
|
(d[6] && !/*passwordFocus*/
|
|
4574
4613
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4575
|
-
(d[17]
|
|
4576
|
-
131072 &&
|
|
4577
|
-
d[17]
|
|
4578
|
-
1073741824 &&
|
|
4579
|
-
d[30]("registerConfirmPassword") + "") && F(
|
|
4614
|
+
(((Cr = d[17]) == null ? void 0 : Cr.indexOf("password")) >= 0 ? "Hidden" : "")) && a(O, "class", Me), y[0] & /*disabledFieldsList*/
|
|
4615
|
+
131072 && Re !== (Re = /*disabledFieldsList*/
|
|
4616
|
+
((xr = d[17]) == null ? void 0 : xr.indexOf("password")) >= 0) && (O.hidden = Re), y[0] & /*$_*/
|
|
4617
|
+
1073741824 && Ue !== (Ue = /*$_*/
|
|
4618
|
+
d[30]("registerConfirmPassword") + "") && F(br, Ue), y[0] & /*confirmUserPassword*/
|
|
4580
4619
|
2097152 && Q.value !== /*confirmUserPassword*/
|
|
4581
4620
|
d[21] && ne(
|
|
4582
4621
|
Q,
|
|
4583
4622
|
/*confirmUserPassword*/
|
|
4584
4623
|
d[21]
|
|
4585
|
-
),
|
|
4586
|
-
d[7] ? re ? re.p(d,
|
|
4587
|
-
139392 &&
|
|
4624
|
+
), Yr === (Yr = Rt(d)) && Ce ? Ce.p(d, y) : (Ce.d(1), Ce = Yr(d), Ce && (Ce.c(), Ce.m(j, ze))), /*invalidConfirmPassword*/
|
|
4625
|
+
d[7] ? re ? re.p(d, y) : (re = ci(d), re.c(), re.m(j, null)) : re && (re.d(1), re = null), y[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4626
|
+
139392 && Xe !== (Xe = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4588
4627
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4589
4628
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4590
|
-
(d[17]
|
|
4591
|
-
1073741824 &&
|
|
4592
|
-
d[30]("registerPromoCode") + "") && F(
|
|
4629
|
+
(((Ar = d[17]) == null ? void 0 : Ar.indexOf("confirmPassword")) >= 0 ? "Hidden" : "")) && a(j, "class", Xe), y[0] & /*$_*/
|
|
4630
|
+
1073741824 && Ze !== (Ze = /*$_*/
|
|
4631
|
+
d[30]("registerPromoCode") + "") && F(_r, Ze), y[0] & /*promoCode*/
|
|
4593
4632
|
16777216 && ue.value !== /*promoCode*/
|
|
4594
4633
|
d[24] && ne(
|
|
4595
4634
|
ue,
|
|
4596
4635
|
/*promoCode*/
|
|
4597
4636
|
d[24]
|
|
4598
|
-
),
|
|
4599
|
-
131072 &&
|
|
4600
|
-
(d[17]
|
|
4601
|
-
1073741828 &&
|
|
4637
|
+
), y[0] & /*disabledFieldsList*/
|
|
4638
|
+
131072 && We !== (We = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4639
|
+
(((Tr = d[17]) == null ? void 0 : Tr.indexOf("promoCode")) >= 0 ? "Hidden" : "")) && a(Se, "class", We), y[0] & /*custominputtextswitch, $_*/
|
|
4640
|
+
1073741828 && qe !== (qe = /*custominputtextswitch*/
|
|
4602
4641
|
(d[2] == "true" ? (
|
|
4603
4642
|
/*$_*/
|
|
4604
4643
|
d[30]("registerSecurityQuestion2")
|
|
4605
4644
|
) : (
|
|
4606
4645
|
/*$_*/
|
|
4607
4646
|
d[30]("registerSecurityQuestion")
|
|
4608
|
-
)) + "") && F(
|
|
4647
|
+
)) + "") && F(vr, qe), y[0] & /*securityQuestion*/
|
|
4609
4648
|
4194304 && ce.value !== /*securityQuestion*/
|
|
4610
4649
|
d[22] && ne(
|
|
4611
4650
|
ce,
|
|
4612
4651
|
/*securityQuestion*/
|
|
4613
4652
|
d[22]
|
|
4614
4653
|
), /*invalidSecurityQuestion*/
|
|
4615
|
-
d[8] ? te ? te.p(d,
|
|
4616
|
-
147712 &&
|
|
4654
|
+
d[8] ? te ? te.p(d, y) : (te = hi(d), te.c(), te.m(ge, null)) : te && (te.d(1), te = null), y[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4655
|
+
147712 && Ye !== (Ye = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4617
4656
|
(d[8] && !/*securityQFocus*/
|
|
4618
4657
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4619
|
-
(d[17]
|
|
4620
|
-
1073741828 &&
|
|
4658
|
+
(((Ut = d[17]) == null ? void 0 : Ut.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && a(ge, "class", Ye), y[0] & /*custominputtextswitch, $_*/
|
|
4659
|
+
1073741828 && Ke !== (Ke = /*custominputtextswitch*/
|
|
4621
4660
|
(d[2] == "true" ? (
|
|
4622
4661
|
/*$_*/
|
|
4623
4662
|
d[30]("registerSecurityAnswer2")
|
|
4624
4663
|
) : (
|
|
4625
4664
|
/*$_*/
|
|
4626
4665
|
d[30]("registerSecurityAnswer")
|
|
4627
|
-
)) + "") && F(
|
|
4666
|
+
)) + "") && F(wr, Ke), y[0] & /*securityAnswer*/
|
|
4628
4667
|
8388608 && he.value !== /*securityAnswer*/
|
|
4629
4668
|
d[23] && ne(
|
|
4630
4669
|
he,
|
|
4631
4670
|
/*securityAnswer*/
|
|
4632
4671
|
d[23]
|
|
4633
4672
|
), /*invalidSecurityAnswer*/
|
|
4634
|
-
d[9] ? ie ? ie.p(d,
|
|
4635
|
-
164352 &&
|
|
4673
|
+
d[9] ? ie ? ie.p(d, y) : (ie = fi(d), ie.c(), ie.m(pe, null)) : ie && (ie.d(1), ie = null), y[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4674
|
+
164352 && rr !== (rr = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4636
4675
|
(d[9] && !/*securityAFocus*/
|
|
4637
4676
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4638
|
-
(d[17]
|
|
4677
|
+
(((kt = d[17]) == null ? void 0 : kt.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && a(pe, "class", rr), y[0] & /*$_*/
|
|
4639
4678
|
1073741824 && I !== (I = /*$_*/
|
|
4640
|
-
d[30]("registerNext") + "") && F(V, I),
|
|
4641
|
-
536870912 &&
|
|
4642
|
-
d[29]) && (p.disabled =
|
|
4679
|
+
d[30]("registerNext") + "") && F(V, I), y[0] & /*isValid*/
|
|
4680
|
+
536870912 && qr !== (qr = !/*isValid*/
|
|
4681
|
+
d[29]) && (p.disabled = qr);
|
|
4643
4682
|
},
|
|
4644
4683
|
i: X,
|
|
4645
4684
|
o: X,
|
|
4646
4685
|
d(d) {
|
|
4647
|
-
d && se(r), J && J.d(), Y && Y.d(), e[59](null),
|
|
4686
|
+
d && se(r), J && J.d(), Y && Y.d(), e[59](null), Pe.d(), K && K.d(), ee && ee.d(), e[65](null), Ce.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), ct = !1, cr(Lt);
|
|
4648
4687
|
}
|
|
4649
4688
|
};
|
|
4650
4689
|
}
|
|
4651
|
-
function
|
|
4690
|
+
function ca(e, r, t) {
|
|
4652
4691
|
let i;
|
|
4653
|
-
|
|
4654
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation:
|
|
4692
|
+
Xi(e, ta, (p) => t(30, i = p));
|
|
4693
|
+
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: o = "false" } = r, { clientstyling: l = "" } = r, { clientstylingurl: h = "" } = r, { translationurl: c = "" } = r, { savecredentials: f = "" } = r, { custominputtextswitch: m = "false" } = r, g = !1, b = !1, v = !1, E = !1, w = !1, B = !1, $ = !1, M = !1, de = !1, G = !1, ye = !1, R = !1, Ge = !1, Ae, _e = "", U = "", Z = "", me = "", W = "", ae = "", ve = "", Oe = !1, k = !1, we, Te, oe = {}, D = {
|
|
4655
4694
|
username: !1,
|
|
4656
4695
|
email: !1,
|
|
4657
4696
|
password: !1,
|
|
@@ -4659,81 +4698,81 @@ function Qs(e, r, t) {
|
|
|
4659
4698
|
securityAnswer: !1,
|
|
4660
4699
|
securityQuestion: !1,
|
|
4661
4700
|
promoCode: !0
|
|
4662
|
-
}, O = !1, q,
|
|
4701
|
+
}, O = !1, q, Ee = {
|
|
4663
4702
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4664
4703
|
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,
|
|
4665
4704
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,
|
|
4666
4705
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
4667
4706
|
};
|
|
4668
|
-
const
|
|
4707
|
+
const mr = () => {
|
|
4669
4708
|
fetch(c).then((I) => I.json()).then((I) => {
|
|
4670
4709
|
Object.keys(I).forEach((V) => {
|
|
4671
|
-
|
|
4710
|
+
ni(V, I[V]);
|
|
4672
4711
|
});
|
|
4673
4712
|
}).catch((I) => {
|
|
4674
4713
|
console.log(I);
|
|
4675
4714
|
});
|
|
4676
4715
|
};
|
|
4677
|
-
Object.keys(
|
|
4678
|
-
|
|
4716
|
+
Object.keys(si).forEach((p) => {
|
|
4717
|
+
ni(p, si[p]);
|
|
4679
4718
|
});
|
|
4680
|
-
const
|
|
4719
|
+
const gr = () => {
|
|
4681
4720
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
4682
|
-
},
|
|
4683
|
-
if (!(
|
|
4721
|
+
}, je = (p, I) => {
|
|
4722
|
+
if (!(Ae.indexOf(p) >= 0))
|
|
4684
4723
|
switch (p) {
|
|
4685
4724
|
case "username":
|
|
4686
|
-
t(18,
|
|
4725
|
+
t(18, _e = I), Le();
|
|
4687
4726
|
break;
|
|
4688
4727
|
case "email":
|
|
4689
4728
|
t(19, U = I), L();
|
|
4690
4729
|
break;
|
|
4691
4730
|
case "password":
|
|
4692
|
-
t(20, Z = I),
|
|
4731
|
+
t(20, Z = I), Ue();
|
|
4693
4732
|
break;
|
|
4694
4733
|
case "confirmUserPassword":
|
|
4695
|
-
t(21, me = I),
|
|
4734
|
+
t(21, me = I), Qe();
|
|
4696
4735
|
break;
|
|
4697
4736
|
case "securityQuestion":
|
|
4698
|
-
t(22, W = I),
|
|
4737
|
+
t(22, W = I), yr();
|
|
4699
4738
|
break;
|
|
4700
4739
|
case "securityAnswer":
|
|
4701
4740
|
t(23, ae = I), Q();
|
|
4702
4741
|
break;
|
|
4703
4742
|
case "promoCode":
|
|
4704
|
-
t(24,
|
|
4743
|
+
t(24, ve = I), ke();
|
|
4705
4744
|
break;
|
|
4706
4745
|
}
|
|
4707
4746
|
}, le = () => {
|
|
4708
4747
|
t(29, O = Object.keys(D).every((p) => s.includes(p) ? !0 : D[p] !== !1));
|
|
4709
4748
|
}, L = () => {
|
|
4710
|
-
oe.email = U,
|
|
4711
|
-
},
|
|
4712
|
-
oe.username =
|
|
4713
|
-
},
|
|
4714
|
-
|
|
4715
|
-
}, je = () => {
|
|
4716
|
-
t(25, Ne = !0), gr();
|
|
4749
|
+
oe.email = U, Ee.email.test(U) && U.length <= 100 ? t(4, g = !1) : t(4, g = !0), D.email = !g, le();
|
|
4750
|
+
}, Le = () => {
|
|
4751
|
+
oe.username = _e, Ee.user.test(_e) && _e.length <= 20 ? t(5, b = !1) : t(5, b = !0), D.username = !b, le();
|
|
4752
|
+
}, Rr = () => {
|
|
4753
|
+
o == "true" && (Ee.password = /^(?!.* ).{8,20}$/);
|
|
4717
4754
|
}, Ve = () => {
|
|
4755
|
+
t(25, Oe = !0), pr();
|
|
4756
|
+
}, $e = () => {
|
|
4718
4757
|
t(26, k = !0), j();
|
|
4719
|
-
}, Le = () => {
|
|
4720
|
-
t(25, Ne = !1), gr();
|
|
4721
4758
|
}, Me = () => {
|
|
4759
|
+
t(25, Oe = !1), pr();
|
|
4760
|
+
}, Re = () => {
|
|
4722
4761
|
t(26, k = !1), j();
|
|
4723
|
-
},
|
|
4724
|
-
t(27,
|
|
4762
|
+
}, pr = () => {
|
|
4763
|
+
t(27, we.type = Oe ? "text" : "password", we);
|
|
4725
4764
|
}, j = () => {
|
|
4726
|
-
t(28,
|
|
4727
|
-
},
|
|
4728
|
-
oe.password = Z, t(6, v = !
|
|
4729
|
-
},
|
|
4730
|
-
oe.confirmUserPassword = me, t(7,
|
|
4731
|
-
},
|
|
4732
|
-
oe.promoCode =
|
|
4733
|
-
},
|
|
4765
|
+
t(28, Te.type = k ? "text" : "password", Te);
|
|
4766
|
+
}, He = () => !!Ee.password.test(Z), Ue = () => {
|
|
4767
|
+
oe.password = Z, t(6, v = !He()), me.length !== 0 && Qe(), D.password = !v, le();
|
|
4768
|
+
}, br = () => Z === me, Qe = () => {
|
|
4769
|
+
oe.confirmUserPassword = me, t(7, E = !br()), D.confirmUserPassword = !E, le();
|
|
4770
|
+
}, ke = () => {
|
|
4771
|
+
oe.promoCode = ve;
|
|
4772
|
+
}, yr = () => {
|
|
4734
4773
|
if (oe.securityQuestion = W, W) switch (m) {
|
|
4735
4774
|
case "true":
|
|
4736
|
-
if (
|
|
4775
|
+
if (Ee.document.test(W) && W.length <= 50) {
|
|
4737
4776
|
t(8, w = !1), D.securityQuestion = !w, le();
|
|
4738
4777
|
return;
|
|
4739
4778
|
}
|
|
@@ -4749,7 +4788,7 @@ function Qs(e, r, t) {
|
|
|
4749
4788
|
}, Q = () => {
|
|
4750
4789
|
if (oe.securityAnswer = ae, ae) switch (m) {
|
|
4751
4790
|
case "true":
|
|
4752
|
-
if (
|
|
4791
|
+
if (Ee.document.test(ae) && ae.length <= 50) {
|
|
4753
4792
|
t(9, B = !1), D.securityAnswer = !B, le();
|
|
4754
4793
|
return;
|
|
4755
4794
|
}
|
|
@@ -4762,7 +4801,7 @@ function Qs(e, r, t) {
|
|
|
4762
4801
|
break;
|
|
4763
4802
|
}
|
|
4764
4803
|
t(9, B = !0), D.securityAnswer = !B, le();
|
|
4765
|
-
},
|
|
4804
|
+
}, Er = (p) => {
|
|
4766
4805
|
p.preventDefault(), window.postMessage(
|
|
4767
4806
|
{
|
|
4768
4807
|
type: "RegisterStepOne",
|
|
@@ -4770,25 +4809,25 @@ function Qs(e, r, t) {
|
|
|
4770
4809
|
},
|
|
4771
4810
|
window.location.href
|
|
4772
4811
|
);
|
|
4773
|
-
},
|
|
4812
|
+
}, ze = (p) => {
|
|
4774
4813
|
if (p.data)
|
|
4775
4814
|
switch (p.data.type) {
|
|
4776
4815
|
case "StepOneDataBackup":
|
|
4777
4816
|
const I = p.data.userData;
|
|
4778
4817
|
for (const V in I)
|
|
4779
|
-
|
|
4818
|
+
je(V, I[V]);
|
|
4780
4819
|
t(29, O = Object.keys(D).every((V) => s.includes(V) ? !0 : D[V] !== !1));
|
|
4781
4820
|
break;
|
|
4782
4821
|
}
|
|
4783
|
-
},
|
|
4784
|
-
t(17,
|
|
4785
|
-
},
|
|
4786
|
-
|
|
4787
|
-
},
|
|
4822
|
+
}, Xe = () => {
|
|
4823
|
+
t(17, Ae = s.split(","));
|
|
4824
|
+
}, Ur = () => {
|
|
4825
|
+
ia(n);
|
|
4826
|
+
}, Se = () => {
|
|
4788
4827
|
let p = document.createElement("style");
|
|
4789
|
-
p.innerHTML =
|
|
4790
|
-
},
|
|
4791
|
-
let p = new URL(
|
|
4828
|
+
p.innerHTML = l, q.appendChild(p);
|
|
4829
|
+
}, Fe = () => {
|
|
4830
|
+
let p = new URL(h), I = document.createElement("style");
|
|
4792
4831
|
fetch(p.href).then((V) => V.text()).then((V) => {
|
|
4793
4832
|
I.innerHTML = V, setTimeout(
|
|
4794
4833
|
() => {
|
|
@@ -4802,157 +4841,157 @@ function Qs(e, r, t) {
|
|
|
4802
4841
|
);
|
|
4803
4842
|
});
|
|
4804
4843
|
};
|
|
4805
|
-
|
|
4806
|
-
window.removeEventListener("message",
|
|
4844
|
+
en(() => (window.addEventListener("message", ze, !1), () => {
|
|
4845
|
+
window.removeEventListener("message", ze);
|
|
4807
4846
|
}));
|
|
4808
|
-
const
|
|
4809
|
-
function
|
|
4847
|
+
const Ze = () => gr();
|
|
4848
|
+
function _r() {
|
|
4810
4849
|
U = this.value, t(19, U);
|
|
4811
4850
|
}
|
|
4812
|
-
const
|
|
4851
|
+
const kr = () => t(10, $ = !0), Fr = () => t(10, $ = !1);
|
|
4813
4852
|
function ue() {
|
|
4814
|
-
|
|
4853
|
+
_e = this.value, t(18, _e);
|
|
4815
4854
|
}
|
|
4816
|
-
const
|
|
4817
|
-
function
|
|
4855
|
+
const Dr = () => t(11, M = !0), We = () => t(11, M = !1);
|
|
4856
|
+
function Gr() {
|
|
4818
4857
|
Z = this.value, t(20, Z);
|
|
4819
4858
|
}
|
|
4820
|
-
const ge = () => t(12, de = !0),
|
|
4821
|
-
function
|
|
4822
|
-
|
|
4823
|
-
|
|
4859
|
+
const ge = () => t(12, de = !0), Ie = () => t(12, de = !1);
|
|
4860
|
+
function qe(p) {
|
|
4861
|
+
Br[p ? "unshift" : "push"](() => {
|
|
4862
|
+
we = p, t(27, we);
|
|
4824
4863
|
});
|
|
4825
4864
|
}
|
|
4826
|
-
const
|
|
4827
|
-
function
|
|
4865
|
+
const vr = () => Me(), jr = () => Ve();
|
|
4866
|
+
function Je() {
|
|
4828
4867
|
me = this.value, t(21, me);
|
|
4829
4868
|
}
|
|
4830
|
-
const
|
|
4831
|
-
function
|
|
4832
|
-
|
|
4833
|
-
|
|
4869
|
+
const Vr = () => t(13, G = !0), ce = () => t(13, G = !1);
|
|
4870
|
+
function $r(p) {
|
|
4871
|
+
Br[p ? "unshift" : "push"](() => {
|
|
4872
|
+
Te = p, t(28, Te);
|
|
4834
4873
|
});
|
|
4835
4874
|
}
|
|
4836
|
-
const
|
|
4875
|
+
const Ye = () => Re(), Qr = () => $e();
|
|
4837
4876
|
function pe() {
|
|
4838
|
-
|
|
4877
|
+
ve = this.value, t(24, ve);
|
|
4839
4878
|
}
|
|
4840
|
-
const
|
|
4841
|
-
function
|
|
4879
|
+
const Be = () => t(16, Ge = !0), Ke = () => t(16, Ge = !1);
|
|
4880
|
+
function wr() {
|
|
4842
4881
|
W = this.value, t(22, W);
|
|
4843
4882
|
}
|
|
4844
|
-
const
|
|
4845
|
-
function
|
|
4883
|
+
const zr = () => t(14, ye = !0), er = () => t(14, ye = !1);
|
|
4884
|
+
function Xr() {
|
|
4846
4885
|
ae = this.value, t(23, ae);
|
|
4847
4886
|
}
|
|
4848
|
-
const he = () => t(15, R = !0),
|
|
4849
|
-
function
|
|
4850
|
-
|
|
4887
|
+
const he = () => t(15, R = !0), Zr = () => t(15, R = !1), rr = (p) => Er(p);
|
|
4888
|
+
function Wr(p) {
|
|
4889
|
+
Br[p ? "unshift" : "push"](() => {
|
|
4851
4890
|
q = p, t(3, q);
|
|
4852
4891
|
});
|
|
4853
4892
|
}
|
|
4854
4893
|
return e.$$set = (p) => {
|
|
4855
|
-
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0,
|
|
4894
|
+
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, o = p.simplepasswordvalidation), "clientstyling" in p && t(46, l = p.clientstyling), "clientstylingurl" in p && t(47, h = p.clientstylingurl), "translationurl" in p && t(48, c = p.translationurl), "savecredentials" in p && t(1, f = p.savecredentials), "custominputtextswitch" in p && t(2, m = p.custominputtextswitch);
|
|
4856
4895
|
}, e.$$.update = () => {
|
|
4857
4896
|
e.$$.dirty[1] & /*lang*/
|
|
4858
|
-
8192 && n &&
|
|
4859
|
-
16384 && s &&
|
|
4860
|
-
1 &&
|
|
4897
|
+
8192 && n && Ur(), e.$$.dirty[1] & /*disabledfields*/
|
|
4898
|
+
16384 && s && Xe(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4899
|
+
1 && o && Rr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4861
4900
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4862
|
-
32768 &&
|
|
4901
|
+
32768 && l && q && Se(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4863
4902
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4864
|
-
65536 &&
|
|
4865
|
-
131072 && c &&
|
|
4903
|
+
65536 && h && q && Fe(), e.$$.dirty[1] & /*translationurl*/
|
|
4904
|
+
131072 && c && mr();
|
|
4866
4905
|
}, [
|
|
4867
|
-
|
|
4868
|
-
|
|
4906
|
+
o,
|
|
4907
|
+
f,
|
|
4869
4908
|
m,
|
|
4870
4909
|
q,
|
|
4871
4910
|
g,
|
|
4872
4911
|
b,
|
|
4873
4912
|
v,
|
|
4874
|
-
|
|
4913
|
+
E,
|
|
4875
4914
|
w,
|
|
4876
4915
|
B,
|
|
4877
4916
|
$,
|
|
4878
4917
|
M,
|
|
4879
4918
|
de,
|
|
4880
4919
|
G,
|
|
4881
|
-
|
|
4920
|
+
ye,
|
|
4882
4921
|
R,
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4922
|
+
Ge,
|
|
4923
|
+
Ae,
|
|
4924
|
+
_e,
|
|
4886
4925
|
U,
|
|
4887
4926
|
Z,
|
|
4888
4927
|
me,
|
|
4889
4928
|
W,
|
|
4890
4929
|
ae,
|
|
4891
|
-
_e,
|
|
4892
|
-
Ne,
|
|
4893
|
-
k,
|
|
4894
4930
|
ve,
|
|
4895
|
-
|
|
4931
|
+
Oe,
|
|
4932
|
+
k,
|
|
4933
|
+
we,
|
|
4934
|
+
Te,
|
|
4896
4935
|
O,
|
|
4897
4936
|
i,
|
|
4898
|
-
|
|
4937
|
+
gr,
|
|
4899
4938
|
L,
|
|
4900
|
-
Oe,
|
|
4901
|
-
je,
|
|
4902
|
-
Ve,
|
|
4903
4939
|
Le,
|
|
4940
|
+
Ve,
|
|
4941
|
+
$e,
|
|
4904
4942
|
Me,
|
|
4905
4943
|
Re,
|
|
4906
|
-
$e,
|
|
4907
4944
|
Ue,
|
|
4908
|
-
|
|
4909
|
-
|
|
4945
|
+
Qe,
|
|
4946
|
+
ke,
|
|
4910
4947
|
yr,
|
|
4948
|
+
Q,
|
|
4949
|
+
Er,
|
|
4911
4950
|
n,
|
|
4912
4951
|
s,
|
|
4913
|
-
|
|
4914
|
-
|
|
4952
|
+
l,
|
|
4953
|
+
h,
|
|
4915
4954
|
c,
|
|
4916
|
-
Xe,
|
|
4917
|
-
Er,
|
|
4918
|
-
Br,
|
|
4919
|
-
Nr,
|
|
4920
|
-
ue,
|
|
4921
|
-
Or,
|
|
4922
4955
|
Ze,
|
|
4923
|
-
Lr,
|
|
4924
|
-
ge,
|
|
4925
|
-
He,
|
|
4926
|
-
We,
|
|
4927
4956
|
_r,
|
|
4928
|
-
Mr,
|
|
4929
|
-
qe,
|
|
4930
|
-
Rr,
|
|
4931
|
-
ce,
|
|
4932
|
-
Ur,
|
|
4933
|
-
Je,
|
|
4934
4957
|
kr,
|
|
4935
|
-
pe,
|
|
4936
|
-
Ie,
|
|
4937
|
-
Ye,
|
|
4938
|
-
vr,
|
|
4939
4958
|
Fr,
|
|
4940
|
-
|
|
4959
|
+
ue,
|
|
4941
4960
|
Dr,
|
|
4942
|
-
|
|
4961
|
+
We,
|
|
4943
4962
|
Gr,
|
|
4963
|
+
ge,
|
|
4964
|
+
Ie,
|
|
4965
|
+
qe,
|
|
4966
|
+
vr,
|
|
4967
|
+
jr,
|
|
4968
|
+
Je,
|
|
4969
|
+
Vr,
|
|
4970
|
+
ce,
|
|
4971
|
+
$r,
|
|
4972
|
+
Ye,
|
|
4973
|
+
Qr,
|
|
4974
|
+
pe,
|
|
4975
|
+
Be,
|
|
4976
|
+
Ke,
|
|
4977
|
+
wr,
|
|
4978
|
+
zr,
|
|
4944
4979
|
er,
|
|
4945
|
-
|
|
4980
|
+
Xr,
|
|
4981
|
+
he,
|
|
4982
|
+
Zr,
|
|
4983
|
+
rr,
|
|
4984
|
+
Wr
|
|
4946
4985
|
];
|
|
4947
4986
|
}
|
|
4948
|
-
class
|
|
4987
|
+
class ha extends dn {
|
|
4949
4988
|
constructor(r) {
|
|
4950
|
-
super(),
|
|
4989
|
+
super(), hn(
|
|
4951
4990
|
this,
|
|
4952
4991
|
r,
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4992
|
+
ca,
|
|
4993
|
+
ua,
|
|
4994
|
+
mi,
|
|
4956
4995
|
{
|
|
4957
4996
|
lang: 44,
|
|
4958
4997
|
disabledfields: 45,
|
|
@@ -4963,7 +5002,7 @@ class zs extends Xi {
|
|
|
4963
5002
|
savecredentials: 1,
|
|
4964
5003
|
custominputtextswitch: 2
|
|
4965
5004
|
},
|
|
4966
|
-
|
|
5005
|
+
na,
|
|
4967
5006
|
[-1, -1, -1, -1]
|
|
4968
5007
|
);
|
|
4969
5008
|
}
|
|
@@ -4971,52 +5010,52 @@ class zs extends Xi {
|
|
|
4971
5010
|
return this.$$.ctx[44];
|
|
4972
5011
|
}
|
|
4973
5012
|
set lang(r) {
|
|
4974
|
-
this.$$set({ lang: r }),
|
|
5013
|
+
this.$$set({ lang: r }), xe();
|
|
4975
5014
|
}
|
|
4976
5015
|
get disabledfields() {
|
|
4977
5016
|
return this.$$.ctx[45];
|
|
4978
5017
|
}
|
|
4979
5018
|
set disabledfields(r) {
|
|
4980
|
-
this.$$set({ disabledfields: r }),
|
|
5019
|
+
this.$$set({ disabledfields: r }), xe();
|
|
4981
5020
|
}
|
|
4982
5021
|
get simplepasswordvalidation() {
|
|
4983
5022
|
return this.$$.ctx[0];
|
|
4984
5023
|
}
|
|
4985
5024
|
set simplepasswordvalidation(r) {
|
|
4986
|
-
this.$$set({ simplepasswordvalidation: r }),
|
|
5025
|
+
this.$$set({ simplepasswordvalidation: r }), xe();
|
|
4987
5026
|
}
|
|
4988
5027
|
get clientstyling() {
|
|
4989
5028
|
return this.$$.ctx[46];
|
|
4990
5029
|
}
|
|
4991
5030
|
set clientstyling(r) {
|
|
4992
|
-
this.$$set({ clientstyling: r }),
|
|
5031
|
+
this.$$set({ clientstyling: r }), xe();
|
|
4993
5032
|
}
|
|
4994
5033
|
get clientstylingurl() {
|
|
4995
5034
|
return this.$$.ctx[47];
|
|
4996
5035
|
}
|
|
4997
5036
|
set clientstylingurl(r) {
|
|
4998
|
-
this.$$set({ clientstylingurl: r }),
|
|
5037
|
+
this.$$set({ clientstylingurl: r }), xe();
|
|
4999
5038
|
}
|
|
5000
5039
|
get translationurl() {
|
|
5001
5040
|
return this.$$.ctx[48];
|
|
5002
5041
|
}
|
|
5003
5042
|
set translationurl(r) {
|
|
5004
|
-
this.$$set({ translationurl: r }),
|
|
5043
|
+
this.$$set({ translationurl: r }), xe();
|
|
5005
5044
|
}
|
|
5006
5045
|
get savecredentials() {
|
|
5007
5046
|
return this.$$.ctx[1];
|
|
5008
5047
|
}
|
|
5009
5048
|
set savecredentials(r) {
|
|
5010
|
-
this.$$set({ savecredentials: r }),
|
|
5049
|
+
this.$$set({ savecredentials: r }), xe();
|
|
5011
5050
|
}
|
|
5012
5051
|
get custominputtextswitch() {
|
|
5013
5052
|
return this.$$.ctx[2];
|
|
5014
5053
|
}
|
|
5015
5054
|
set custominputtextswitch(r) {
|
|
5016
|
-
this.$$set({ custominputtextswitch: r }),
|
|
5055
|
+
this.$$set({ custominputtextswitch: r }), xe();
|
|
5017
5056
|
}
|
|
5018
5057
|
}
|
|
5019
|
-
|
|
5058
|
+
fn(ha, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5020
5059
|
export {
|
|
5021
|
-
|
|
5060
|
+
ha as default
|
|
5022
5061
|
};
|