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