@everymatrix/casino-404 1.65.1 → 1.65.3
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/Casino404-6u9ik-8V.cjs +16 -0
- package/components/{Casino404-ykliX55J.js → Casino404-BI-zaG4o.js} +636 -638
- package/components/{Casino404-D8o6BpuZ.js → Casino404-DQ07F8SM.js} +627 -629
- package/es2015/casino-404.cjs +1 -1
- package/es2015/casino-404.js +1 -1
- package/esnext/casino-404.js +1 -1
- package/package.json +1 -1
- package/components/Casino404-DqG3jszq.cjs +0 -3
@@ -1,46 +1,46 @@
|
|
1
|
-
function
|
1
|
+
function S() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function ot(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
6
|
function ke() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
9
|
+
function te(e) {
|
10
|
+
e.forEach(ot);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function $e(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function at(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function Lt(e) {
|
19
19
|
return Object.keys(e).length === 0;
|
20
20
|
}
|
21
|
-
function
|
21
|
+
function st(e, ...t) {
|
22
22
|
if (e == null) {
|
23
23
|
for (const n of t)
|
24
24
|
n(void 0);
|
25
|
-
return
|
25
|
+
return S;
|
26
26
|
}
|
27
27
|
const r = e.subscribe(...t);
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
29
29
|
}
|
30
30
|
function Ct(e, t, r) {
|
31
|
-
e.$$.on_destroy.push(
|
31
|
+
e.$$.on_destroy.push(st(t, r));
|
32
32
|
}
|
33
33
|
function _(e, t) {
|
34
34
|
e.appendChild(t);
|
35
35
|
}
|
36
|
-
function
|
37
|
-
const n =
|
36
|
+
function $t(e, t, r) {
|
37
|
+
const n = Rt(e);
|
38
38
|
if (!n.getElementById(t)) {
|
39
|
-
const i =
|
40
|
-
i.id = t, i.textContent = r,
|
39
|
+
const i = L("style");
|
40
|
+
i.id = t, i.textContent = r, Ft(n, i);
|
41
41
|
}
|
42
42
|
}
|
43
|
-
function
|
43
|
+
function Rt(e) {
|
44
44
|
if (!e)
|
45
45
|
return document;
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -50,45 +50,45 @@ function Ft(e) {
|
|
50
50
|
t
|
51
51
|
) : e.ownerDocument;
|
52
52
|
}
|
53
|
-
function
|
53
|
+
function Ft(e, t) {
|
54
54
|
return _(
|
55
55
|
/** @type {Document} */
|
56
56
|
e.head || e,
|
57
57
|
t
|
58
58
|
), t.sheet;
|
59
59
|
}
|
60
|
-
function
|
60
|
+
function ut(e, t, r) {
|
61
61
|
e.insertBefore(t, r || null);
|
62
62
|
}
|
63
|
-
function
|
63
|
+
function Re(e) {
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
65
65
|
}
|
66
|
-
function
|
66
|
+
function L(e) {
|
67
67
|
return document.createElement(e);
|
68
68
|
}
|
69
|
-
function
|
69
|
+
function O(e) {
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
71
71
|
}
|
72
|
-
function
|
72
|
+
function ie(e) {
|
73
73
|
return document.createTextNode(e);
|
74
74
|
}
|
75
|
-
function
|
76
|
-
return
|
75
|
+
function ge() {
|
76
|
+
return ie(" ");
|
77
77
|
}
|
78
|
-
function
|
78
|
+
function Gt(e, t, r, n) {
|
79
79
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
80
80
|
}
|
81
|
-
function
|
81
|
+
function x(e, t, r) {
|
82
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
83
83
|
}
|
84
|
-
function
|
84
|
+
function Ut(e) {
|
85
85
|
return Array.from(e.childNodes);
|
86
86
|
}
|
87
|
-
function
|
87
|
+
function de(e, t) {
|
88
88
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
89
89
|
t);
|
90
90
|
}
|
91
|
-
function
|
91
|
+
function Dt(e) {
|
92
92
|
const t = {};
|
93
93
|
return e.childNodes.forEach(
|
94
94
|
/** @param {Element} node */
|
@@ -97,93 +97,93 @@ function jt(e) {
|
|
97
97
|
}
|
98
98
|
), t;
|
99
99
|
}
|
100
|
-
let
|
101
|
-
function
|
102
|
-
|
100
|
+
let Y;
|
101
|
+
function J(e) {
|
102
|
+
Y = e;
|
103
103
|
}
|
104
104
|
function kt() {
|
105
|
-
if (!
|
105
|
+
if (!Y)
|
106
106
|
throw new Error("Function called outside component initialization");
|
107
|
-
return
|
107
|
+
return Y;
|
108
108
|
}
|
109
|
-
function
|
109
|
+
function jt(e) {
|
110
110
|
kt().$$.on_mount.push(e);
|
111
111
|
}
|
112
|
-
const
|
113
|
-
let
|
114
|
-
const
|
115
|
-
let
|
116
|
-
function
|
117
|
-
|
112
|
+
const U = [], Te = [];
|
113
|
+
let D = [];
|
114
|
+
const je = [], Vt = /* @__PURE__ */ Promise.resolve();
|
115
|
+
let Pe = !1;
|
116
|
+
function Xt() {
|
117
|
+
Pe || (Pe = !0, Vt.then(C));
|
118
118
|
}
|
119
|
-
function
|
120
|
-
|
119
|
+
function Be(e) {
|
120
|
+
D.push(e);
|
121
121
|
}
|
122
|
-
const
|
123
|
-
let
|
122
|
+
const be = /* @__PURE__ */ new Set();
|
123
|
+
let F = 0;
|
124
124
|
function C() {
|
125
|
-
if (
|
125
|
+
if (F !== 0)
|
126
126
|
return;
|
127
|
-
const e =
|
127
|
+
const e = Y;
|
128
128
|
do {
|
129
129
|
try {
|
130
|
-
for (;
|
131
|
-
const t =
|
132
|
-
|
130
|
+
for (; F < U.length; ) {
|
131
|
+
const t = U[F];
|
132
|
+
F++, J(t), zt(t.$$);
|
133
133
|
}
|
134
134
|
} catch (t) {
|
135
|
-
throw
|
135
|
+
throw U.length = 0, F = 0, t;
|
136
136
|
}
|
137
|
-
for (
|
138
|
-
|
139
|
-
for (let t = 0; t <
|
140
|
-
const r =
|
141
|
-
|
137
|
+
for (J(null), U.length = 0, F = 0; Te.length; )
|
138
|
+
Te.pop()();
|
139
|
+
for (let t = 0; t < D.length; t += 1) {
|
140
|
+
const r = D[t];
|
141
|
+
be.has(r) || (be.add(r), r());
|
142
142
|
}
|
143
|
-
|
144
|
-
} while (
|
145
|
-
for (;
|
146
|
-
|
147
|
-
|
143
|
+
D.length = 0;
|
144
|
+
} while (U.length);
|
145
|
+
for (; je.length; )
|
146
|
+
je.pop()();
|
147
|
+
Pe = !1, be.clear(), J(e);
|
148
148
|
}
|
149
|
-
function
|
149
|
+
function zt(e) {
|
150
150
|
if (e.fragment !== null) {
|
151
|
-
e.update(),
|
151
|
+
e.update(), te(e.before_update);
|
152
152
|
const t = e.dirty;
|
153
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
153
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
154
154
|
}
|
155
155
|
}
|
156
|
-
function
|
156
|
+
function Zt(e) {
|
157
157
|
const t = [], r = [];
|
158
|
-
|
158
|
+
D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
|
159
159
|
}
|
160
|
-
const
|
161
|
-
function
|
162
|
-
e && e.i && (
|
160
|
+
const Wt = /* @__PURE__ */ new Set();
|
161
|
+
function Qt(e, t) {
|
162
|
+
e && e.i && (Wt.delete(e), e.i(t));
|
163
163
|
}
|
164
|
-
function
|
164
|
+
function qt(e, t, r) {
|
165
165
|
const { fragment: n, after_update: i } = e.$$;
|
166
|
-
n && n.m(t, r),
|
167
|
-
const o = e.$$.on_mount.map(
|
168
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
169
|
-
}), i.forEach(
|
166
|
+
n && n.m(t, r), Be(() => {
|
167
|
+
const o = e.$$.on_mount.map(ot).filter($e);
|
168
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
169
|
+
}), i.forEach(Be);
|
170
170
|
}
|
171
|
-
function
|
171
|
+
function Jt(e, t) {
|
172
172
|
const r = e.$$;
|
173
|
-
r.fragment !== null && (
|
173
|
+
r.fragment !== null && (Zt(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
174
174
|
}
|
175
|
-
function
|
176
|
-
e.$$.dirty[0] === -1 && (
|
175
|
+
function Yt(e, t) {
|
176
|
+
e.$$.dirty[0] === -1 && (U.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
177
177
|
}
|
178
|
-
function
|
179
|
-
const l =
|
180
|
-
|
178
|
+
function Kt(e, t, r, n, i, o, u = null, s = [-1]) {
|
179
|
+
const l = Y;
|
180
|
+
J(e);
|
181
181
|
const a = e.$$ = {
|
182
182
|
fragment: null,
|
183
183
|
ctx: [],
|
184
184
|
// state
|
185
185
|
props: o,
|
186
|
-
update:
|
186
|
+
update: S,
|
187
187
|
not_equal: i,
|
188
188
|
bound: ke(),
|
189
189
|
// lifecycle
|
@@ -201,21 +201,21 @@ function er(e, t, r, n, i, o, u = null, s = [-1]) {
|
|
201
201
|
};
|
202
202
|
u && u(a.root);
|
203
203
|
let h = !1;
|
204
|
-
if (a.ctx = r
|
205
|
-
const
|
206
|
-
return a.ctx && i(a.ctx[f], a.ctx[f] =
|
207
|
-
})
|
204
|
+
if (a.ctx = r(e, t.props || {}, (f, c, ...b) => {
|
205
|
+
const y = b.length ? b[0] : c;
|
206
|
+
return a.ctx && i(a.ctx[f], a.ctx[f] = y) && (!a.skip_bound && a.bound[f] && a.bound[f](y), h && Yt(e, f)), c;
|
207
|
+
}), a.update(), h = !0, te(a.before_update), a.fragment = n(a.ctx), t.target) {
|
208
208
|
if (t.hydrate) {
|
209
|
-
const f =
|
210
|
-
a.fragment && a.fragment.l(f), f.forEach(
|
209
|
+
const f = Ut(t.target);
|
210
|
+
a.fragment && a.fragment.l(f), f.forEach(Re);
|
211
211
|
} else
|
212
212
|
a.fragment && a.fragment.c();
|
213
|
-
t.intro &&
|
213
|
+
t.intro && Qt(e.$$.fragment), qt(e, t.target, t.anchor), C();
|
214
214
|
}
|
215
|
-
|
215
|
+
J(l);
|
216
216
|
}
|
217
|
-
let
|
218
|
-
typeof HTMLElement == "function" && (
|
217
|
+
let ht;
|
218
|
+
typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
219
219
|
/** The Svelte component constructor */
|
220
220
|
$$ctor;
|
221
221
|
/** Slots */
|
@@ -257,29 +257,29 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
257
257
|
let o;
|
258
258
|
return {
|
259
259
|
c: function() {
|
260
|
-
o =
|
260
|
+
o = L("slot"), i !== "default" && x(o, "name", i);
|
261
261
|
},
|
262
262
|
/**
|
263
263
|
* @param {HTMLElement} target
|
264
264
|
* @param {HTMLElement} [anchor]
|
265
265
|
*/
|
266
266
|
m: function(l, a) {
|
267
|
-
|
267
|
+
ut(l, o, a);
|
268
268
|
},
|
269
269
|
d: function(l) {
|
270
|
-
l &&
|
270
|
+
l && Re(o);
|
271
271
|
}
|
272
272
|
};
|
273
273
|
};
|
274
274
|
};
|
275
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
276
276
|
return;
|
277
|
-
const t = {}, r =
|
277
|
+
const t = {}, r = Dt(this);
|
278
278
|
for (const i of this.$$s)
|
279
279
|
i in r && (t[i] = [e(i)]);
|
280
280
|
for (const i of this.attributes) {
|
281
281
|
const o = this.$$g_p(i.name);
|
282
|
-
o in this.$$d || (this.$$d[o] =
|
282
|
+
o in this.$$d || (this.$$d[o] = oe(o, i.value, this.$$p_d, "toProp"));
|
283
283
|
}
|
284
284
|
for (const i in this.$$p_d)
|
285
285
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
297
297
|
this.$$r = !0;
|
298
298
|
for (const i in this.$$p_d)
|
299
299
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
300
|
-
const o =
|
300
|
+
const o = oe(
|
301
301
|
i,
|
302
302
|
this.$$d[i],
|
303
303
|
this.$$p_d,
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
319
319
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
320
320
|
// and setting attributes through setAttribute etc, this is helpful
|
321
321
|
attributeChangedCallback(e, t, r) {
|
322
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
322
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
323
323
|
}
|
324
324
|
disconnectedCallback() {
|
325
325
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
332
332
|
) || e;
|
333
333
|
}
|
334
334
|
});
|
335
|
-
function
|
335
|
+
function oe(e, t, r, n) {
|
336
336
|
const i = r[e]?.type;
|
337
337
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
338
338
|
return t;
|
@@ -361,8 +361,8 @@ function ae(e, t, r, n) {
|
|
361
361
|
return t;
|
362
362
|
}
|
363
363
|
}
|
364
|
-
function
|
365
|
-
let u = class extends
|
364
|
+
function er(e, t, r, n, i, o) {
|
365
|
+
let u = class extends ht {
|
366
366
|
constructor() {
|
367
367
|
super(e, r, i), this.$$p_d = t;
|
368
368
|
}
|
@@ -378,7 +378,7 @@ function tr(e, t, r, n, i, o) {
|
|
378
378
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
379
379
|
},
|
380
380
|
set(l) {
|
381
|
-
l =
|
381
|
+
l = oe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
382
382
|
}
|
383
383
|
});
|
384
384
|
}), n.forEach((s) => {
|
@@ -390,7 +390,7 @@ function tr(e, t, r, n, i, o) {
|
|
390
390
|
}), e.element = /** @type {any} */
|
391
391
|
u, u;
|
392
392
|
}
|
393
|
-
class
|
393
|
+
class tr {
|
394
394
|
/**
|
395
395
|
* ### PRIVATE API
|
396
396
|
*
|
@@ -409,7 +409,7 @@ class rr {
|
|
409
409
|
$$set = void 0;
|
410
410
|
/** @returns {void} */
|
411
411
|
$destroy() {
|
412
|
-
|
412
|
+
Jt(this, 1), this.$destroy = S;
|
413
413
|
}
|
414
414
|
/**
|
415
415
|
* @template {Extract<keyof Events, string>} K
|
@@ -418,8 +418,8 @@ class rr {
|
|
418
418
|
* @returns {() => void}
|
419
419
|
*/
|
420
420
|
$on(t, r) {
|
421
|
-
if (
|
422
|
-
return
|
421
|
+
if (!$e(r))
|
422
|
+
return S;
|
423
423
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
424
424
|
return n.push(r), () => {
|
425
425
|
const i = n.indexOf(r);
|
@@ -431,61 +431,61 @@ class rr {
|
|
431
431
|
* @returns {void}
|
432
432
|
*/
|
433
433
|
$set(t) {
|
434
|
-
this.$$set &&
|
434
|
+
this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
435
435
|
}
|
436
436
|
}
|
437
|
-
const
|
438
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
439
|
-
const
|
440
|
-
function
|
437
|
+
const rr = "4";
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rr);
|
439
|
+
const G = [];
|
440
|
+
function nr(e, t) {
|
441
441
|
return {
|
442
|
-
subscribe:
|
442
|
+
subscribe: le(e, t).subscribe
|
443
443
|
};
|
444
444
|
}
|
445
|
-
function
|
445
|
+
function le(e, t = S) {
|
446
446
|
let r;
|
447
447
|
const n = /* @__PURE__ */ new Set();
|
448
448
|
function i(s) {
|
449
|
-
if (
|
450
|
-
const l = !
|
449
|
+
if (at(e, s) && (e = s, r)) {
|
450
|
+
const l = !G.length;
|
451
451
|
for (const a of n)
|
452
|
-
a[1](),
|
452
|
+
a[1](), G.push(a, e);
|
453
453
|
if (l) {
|
454
|
-
for (let a = 0; a <
|
455
|
-
|
456
|
-
|
454
|
+
for (let a = 0; a < G.length; a += 2)
|
455
|
+
G[a][0](G[a + 1]);
|
456
|
+
G.length = 0;
|
457
457
|
}
|
458
458
|
}
|
459
459
|
}
|
460
460
|
function o(s) {
|
461
461
|
i(s(e));
|
462
462
|
}
|
463
|
-
function u(s, l =
|
463
|
+
function u(s, l = S) {
|
464
464
|
const a = [s, l];
|
465
|
-
return n.add(a), n.size === 1 && (r = t(i, o) ||
|
465
|
+
return n.add(a), n.size === 1 && (r = t(i, o) || S), s(e), () => {
|
466
466
|
n.delete(a), n.size === 0 && r && (r(), r = null);
|
467
467
|
};
|
468
468
|
}
|
469
469
|
return { set: i, update: o, subscribe: u };
|
470
470
|
}
|
471
|
-
function
|
471
|
+
function z(e, t, r) {
|
472
472
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
473
473
|
if (!i.every(Boolean))
|
474
474
|
throw new Error("derived() expects stores as input, got a falsy value");
|
475
475
|
const o = t.length < 2;
|
476
|
-
return
|
476
|
+
return nr(r, (u, s) => {
|
477
477
|
let l = !1;
|
478
478
|
const a = [];
|
479
|
-
let h = 0, f =
|
479
|
+
let h = 0, f = S;
|
480
480
|
const c = () => {
|
481
481
|
if (h)
|
482
482
|
return;
|
483
483
|
f();
|
484
|
-
const
|
485
|
-
o ? u(
|
486
|
-
},
|
487
|
-
(
|
488
|
-
|
484
|
+
const y = t(n ? a[0] : a, u, s);
|
485
|
+
o ? u(y) : f = $e(y) ? y : S;
|
486
|
+
}, b = i.map(
|
487
|
+
(y, m) => st(
|
488
|
+
y,
|
489
489
|
(v) => {
|
490
490
|
a[m] = v, h &= ~(1 << m), l && c();
|
491
491
|
},
|
@@ -495,74 +495,74 @@ function Z(e, t, r) {
|
|
495
495
|
)
|
496
496
|
);
|
497
497
|
return l = !0, c(), function() {
|
498
|
-
|
498
|
+
te(b), f(), l = !1;
|
499
499
|
};
|
500
500
|
});
|
501
501
|
}
|
502
|
-
function
|
503
|
-
return e
|
502
|
+
function ir(e) {
|
503
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
504
504
|
}
|
505
|
-
var
|
506
|
-
return
|
505
|
+
var or = function(t) {
|
506
|
+
return ar(t) && !sr(t);
|
507
507
|
};
|
508
|
-
function
|
508
|
+
function ar(e) {
|
509
509
|
return !!e && typeof e == "object";
|
510
510
|
}
|
511
|
-
function
|
511
|
+
function sr(e) {
|
512
512
|
var t = Object.prototype.toString.call(e);
|
513
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
513
|
+
return t === "[object RegExp]" || t === "[object Date]" || lr(e);
|
514
514
|
}
|
515
|
-
var
|
516
|
-
function
|
517
|
-
return e.$$typeof ===
|
515
|
+
var ur = typeof Symbol == "function" && Symbol.for, hr = ur ? Symbol.for("react.element") : 60103;
|
516
|
+
function lr(e) {
|
517
|
+
return e.$$typeof === hr;
|
518
518
|
}
|
519
|
-
function
|
519
|
+
function fr(e) {
|
520
520
|
return Array.isArray(e) ? [] : {};
|
521
521
|
}
|
522
|
-
function
|
523
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? k(
|
522
|
+
function K(e, t) {
|
523
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(fr(e), e, t) : e;
|
524
524
|
}
|
525
|
-
function
|
525
|
+
function cr(e, t, r) {
|
526
526
|
return e.concat(t).map(function(n) {
|
527
|
-
return
|
527
|
+
return K(n, r);
|
528
528
|
});
|
529
529
|
}
|
530
|
-
function
|
530
|
+
function mr(e, t) {
|
531
531
|
if (!t.customMerge)
|
532
532
|
return k;
|
533
533
|
var r = t.customMerge(e);
|
534
534
|
return typeof r == "function" ? r : k;
|
535
535
|
}
|
536
|
-
function
|
536
|
+
function pr(e) {
|
537
537
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
538
538
|
return Object.propertyIsEnumerable.call(e, t);
|
539
539
|
}) : [];
|
540
540
|
}
|
541
|
-
function
|
542
|
-
return Object.keys(e).concat(
|
541
|
+
function Ve(e) {
|
542
|
+
return Object.keys(e).concat(pr(e));
|
543
543
|
}
|
544
|
-
function
|
544
|
+
function lt(e, t) {
|
545
545
|
try {
|
546
546
|
return t in e;
|
547
547
|
} catch {
|
548
548
|
return !1;
|
549
549
|
}
|
550
550
|
}
|
551
|
-
function
|
552
|
-
return
|
551
|
+
function gr(e, t) {
|
552
|
+
return lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
553
553
|
}
|
554
|
-
function
|
554
|
+
function dr(e, t, r) {
|
555
555
|
var n = {};
|
556
|
-
return r.isMergeableObject(e) &&
|
557
|
-
n[i] =
|
558
|
-
}),
|
559
|
-
|
556
|
+
return r.isMergeableObject(e) && Ve(e).forEach(function(i) {
|
557
|
+
n[i] = K(e[i], r);
|
558
|
+
}), Ve(t).forEach(function(i) {
|
559
|
+
gr(e, i) || (lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
560
560
|
}), n;
|
561
561
|
}
|
562
562
|
function k(e, t, r) {
|
563
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
563
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || cr, r.isMergeableObject = r.isMergeableObject || or, r.cloneUnlessOtherwiseSpecified = K;
|
564
564
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
565
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
565
|
+
return o ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : K(t, r);
|
566
566
|
}
|
567
567
|
k.all = function(t, r) {
|
568
568
|
if (!Array.isArray(t))
|
@@ -571,36 +571,50 @@ k.all = function(t, r) {
|
|
571
571
|
return k(n, i, r);
|
572
572
|
}, {});
|
573
573
|
};
|
574
|
-
var
|
575
|
-
const
|
576
|
-
|
577
|
-
|
574
|
+
var br = k, xr = br;
|
575
|
+
const yr = /* @__PURE__ */ ir(xr);
|
576
|
+
/*! *****************************************************************************
|
577
|
+
Copyright (c) Microsoft Corporation.
|
578
|
+
|
579
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
580
|
+
purpose with or without fee is hereby granted.
|
581
|
+
|
582
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
583
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
584
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
585
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
586
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
587
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
588
|
+
PERFORMANCE OF THIS SOFTWARE.
|
589
|
+
***************************************************************************** */
|
590
|
+
var Ne = function(e, t) {
|
591
|
+
return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
578
592
|
r.__proto__ = n;
|
579
593
|
} || function(r, n) {
|
580
594
|
for (var i in n)
|
581
595
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
582
|
-
},
|
596
|
+
}, Ne(e, t);
|
583
597
|
};
|
584
|
-
function
|
598
|
+
function fe(e, t) {
|
585
599
|
if (typeof t != "function" && t !== null)
|
586
600
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
587
|
-
|
601
|
+
Ne(e, t);
|
588
602
|
function r() {
|
589
603
|
this.constructor = e;
|
590
604
|
}
|
591
605
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
592
606
|
}
|
593
|
-
var
|
594
|
-
return
|
607
|
+
var d = function() {
|
608
|
+
return d = Object.assign || function(t) {
|
595
609
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
596
610
|
r = arguments[n];
|
597
611
|
for (var o in r)
|
598
612
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
599
613
|
}
|
600
614
|
return t;
|
601
|
-
},
|
615
|
+
}, d.apply(this, arguments);
|
602
616
|
};
|
603
|
-
function
|
617
|
+
function Er(e, t) {
|
604
618
|
var r = {};
|
605
619
|
for (var n in e)
|
606
620
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -609,41 +623,44 @@ function vr(e, t) {
|
|
609
623
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
610
624
|
return r;
|
611
625
|
}
|
612
|
-
function
|
613
|
-
if (
|
626
|
+
function xe(e, t, r) {
|
627
|
+
if (arguments.length === 2)
|
614
628
|
for (var n = 0, i = t.length, o; n < i; n++)
|
615
629
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
616
|
-
return e.concat(o ||
|
630
|
+
return e.concat(o || t);
|
617
631
|
}
|
618
|
-
function
|
619
|
-
var r = t && t.cache ? t.cache : Nr, n = t && t.serializer ? t.serializer :
|
632
|
+
function ye(e, t) {
|
633
|
+
var r = t && t.cache ? t.cache : Nr, n = t && t.serializer ? t.serializer : Pr, i = t && t.strategy ? t.strategy : _r;
|
620
634
|
return i(e, {
|
621
635
|
cache: r,
|
622
636
|
serializer: n
|
623
637
|
});
|
624
638
|
}
|
625
|
-
function
|
639
|
+
function vr(e) {
|
626
640
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
627
641
|
}
|
628
|
-
function
|
629
|
-
var i =
|
642
|
+
function ft(e, t, r, n) {
|
643
|
+
var i = vr(n) ? n : r(n), o = t.get(i);
|
630
644
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
631
645
|
}
|
632
646
|
function ct(e, t, r) {
|
633
647
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
634
648
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
635
649
|
}
|
636
|
-
function
|
650
|
+
function Fe(e, t, r, n, i) {
|
637
651
|
return r.bind(t, e, n, i);
|
638
652
|
}
|
639
|
-
function
|
640
|
-
var r = e.length === 1 ?
|
641
|
-
return
|
653
|
+
function _r(e, t) {
|
654
|
+
var r = e.length === 1 ? ft : ct;
|
655
|
+
return Fe(e, this, r, t.cache.create(), t.serializer);
|
642
656
|
}
|
643
|
-
function
|
644
|
-
return
|
657
|
+
function Hr(e, t) {
|
658
|
+
return Fe(e, this, ct, t.cache.create(), t.serializer);
|
645
659
|
}
|
646
|
-
|
660
|
+
function Tr(e, t) {
|
661
|
+
return Fe(e, this, ft, t.cache.create(), t.serializer);
|
662
|
+
}
|
663
|
+
var Pr = function() {
|
647
664
|
return JSON.stringify(arguments);
|
648
665
|
}, Br = (
|
649
666
|
/** @class */
|
@@ -661,67 +678,58 @@ var Sr = function() {
|
|
661
678
|
create: function() {
|
662
679
|
return new Br();
|
663
680
|
}
|
664
|
-
},
|
665
|
-
variadic:
|
666
|
-
|
667
|
-
|
668
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
669
|
-
r = arguments[n];
|
670
|
-
for (var o in r)
|
671
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
672
|
-
}
|
673
|
-
return t;
|
674
|
-
}, he.apply(this, arguments);
|
675
|
-
};
|
676
|
-
var p;
|
681
|
+
}, Ee = {
|
682
|
+
variadic: Hr,
|
683
|
+
monadic: Tr
|
684
|
+
}, p;
|
677
685
|
(function(e) {
|
678
686
|
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";
|
679
687
|
})(p || (p = {}));
|
680
|
-
var
|
688
|
+
var E;
|
681
689
|
(function(e) {
|
682
690
|
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";
|
683
|
-
})(
|
684
|
-
var
|
691
|
+
})(E || (E = {}));
|
692
|
+
var j;
|
685
693
|
(function(e) {
|
686
694
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
687
|
-
})(
|
688
|
-
function
|
689
|
-
return e.type ===
|
695
|
+
})(j || (j = {}));
|
696
|
+
function Xe(e) {
|
697
|
+
return e.type === E.literal;
|
690
698
|
}
|
691
|
-
function
|
692
|
-
return e.type ===
|
699
|
+
function Sr(e) {
|
700
|
+
return e.type === E.argument;
|
701
|
+
}
|
702
|
+
function mt(e) {
|
703
|
+
return e.type === E.number;
|
693
704
|
}
|
694
705
|
function pt(e) {
|
695
|
-
return e.type ===
|
706
|
+
return e.type === E.date;
|
696
707
|
}
|
697
708
|
function gt(e) {
|
698
|
-
return e.type ===
|
709
|
+
return e.type === E.time;
|
699
710
|
}
|
700
711
|
function dt(e) {
|
701
|
-
return e.type ===
|
712
|
+
return e.type === E.select;
|
702
713
|
}
|
703
714
|
function bt(e) {
|
704
|
-
return e.type ===
|
715
|
+
return e.type === E.plural;
|
705
716
|
}
|
706
|
-
function
|
707
|
-
return e.type ===
|
717
|
+
function Ar(e) {
|
718
|
+
return e.type === E.pound;
|
708
719
|
}
|
709
|
-
function
|
710
|
-
return e.type ===
|
720
|
+
function xt(e) {
|
721
|
+
return e.type === E.tag;
|
711
722
|
}
|
712
723
|
function yt(e) {
|
713
|
-
return e.type ===
|
714
|
-
}
|
715
|
-
function Et(e) {
|
716
|
-
return !!(e && typeof e == "object" && e.type === V.number);
|
724
|
+
return !!(e && typeof e == "object" && e.type === j.number);
|
717
725
|
}
|
718
|
-
function
|
719
|
-
return !!(e && typeof e == "object" && e.type ===
|
726
|
+
function Se(e) {
|
727
|
+
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
720
728
|
}
|
721
|
-
var
|
722
|
-
function
|
729
|
+
var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wr = /(?:[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;
|
730
|
+
function Or(e) {
|
723
731
|
var t = {};
|
724
|
-
return e.replace(
|
732
|
+
return e.replace(wr, function(r) {
|
725
733
|
var n = r.length;
|
726
734
|
switch (r[0]) {
|
727
735
|
case "G":
|
@@ -810,18 +818,8 @@ function Ir(e) {
|
|
810
818
|
return "";
|
811
819
|
}), t;
|
812
820
|
}
|
813
|
-
var E = function() {
|
814
|
-
return E = Object.assign || function(t) {
|
815
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
816
|
-
r = arguments[n];
|
817
|
-
for (var o in r)
|
818
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
819
|
-
}
|
820
|
-
return t;
|
821
|
-
}, E.apply(this, arguments);
|
822
|
-
};
|
823
821
|
var Mr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
824
|
-
function
|
822
|
+
function Ir(e) {
|
825
823
|
if (e.length === 0)
|
826
824
|
throw new Error("Number skeleton cannot be empty");
|
827
825
|
for (var t = e.split(Mr).filter(function(c) {
|
@@ -839,17 +837,17 @@ function Lr(e) {
|
|
839
837
|
}
|
840
838
|
return r;
|
841
839
|
}
|
842
|
-
function
|
840
|
+
function Lr(e) {
|
843
841
|
return e.replace(/^(.*?)-/, "");
|
844
842
|
}
|
845
|
-
var
|
846
|
-
function
|
843
|
+
var ze = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, _t = /^(0+)$/;
|
844
|
+
function Ze(e) {
|
847
845
|
var t = {};
|
848
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
846
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
|
849
847
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
850
848
|
}), t;
|
851
849
|
}
|
852
|
-
function
|
850
|
+
function Ht(e) {
|
853
851
|
switch (e) {
|
854
852
|
case "sign-auto":
|
855
853
|
return {
|
@@ -889,7 +887,7 @@ function Tt(e) {
|
|
889
887
|
};
|
890
888
|
}
|
891
889
|
}
|
892
|
-
function
|
890
|
+
function $r(e) {
|
893
891
|
var t;
|
894
892
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
895
893
|
notation: "engineering"
|
@@ -897,17 +895,17 @@ function Rr(e) {
|
|
897
895
|
notation: "scientific"
|
898
896
|
}, e = e.slice(1)), t) {
|
899
897
|
var r = e.slice(0, 2);
|
900
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
898
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_t.test(e))
|
901
899
|
throw new Error("Malformed concise eng/scientific notation");
|
902
900
|
t.minimumIntegerDigits = e.length;
|
903
901
|
}
|
904
902
|
return t;
|
905
903
|
}
|
906
|
-
function
|
907
|
-
var t = {}, r =
|
904
|
+
function We(e) {
|
905
|
+
var t = {}, r = Ht(e);
|
908
906
|
return r || t;
|
909
907
|
}
|
910
|
-
function
|
908
|
+
function Rr(e) {
|
911
909
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
912
910
|
var i = n[r];
|
913
911
|
switch (i.stem) {
|
@@ -931,7 +929,7 @@ function Fr(e) {
|
|
931
929
|
continue;
|
932
930
|
case "measure-unit":
|
933
931
|
case "unit":
|
934
|
-
t.style = "unit", t.unit =
|
932
|
+
t.style = "unit", t.unit = Lr(i.options[0]);
|
935
933
|
continue;
|
936
934
|
case "compact-short":
|
937
935
|
case "K":
|
@@ -942,13 +940,13 @@ function Fr(e) {
|
|
942
940
|
t.notation = "compact", t.compactDisplay = "long";
|
943
941
|
continue;
|
944
942
|
case "scientific":
|
945
|
-
t =
|
946
|
-
return
|
943
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
944
|
+
return d(d({}, l), We(a));
|
947
945
|
}, {}));
|
948
946
|
continue;
|
949
947
|
case "engineering":
|
950
|
-
t =
|
951
|
-
return
|
948
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
949
|
+
return d(d({}, l), We(a));
|
952
950
|
}, {}));
|
953
951
|
continue;
|
954
952
|
case "notation-simple":
|
@@ -993,45 +991,45 @@ function Fr(e) {
|
|
993
991
|
case "integer-width":
|
994
992
|
if (i.options.length > 1)
|
995
993
|
throw new RangeError("integer-width stems only accept a single optional option");
|
996
|
-
i.options[0].replace(Cr, function(l, a, h, f, c,
|
994
|
+
i.options[0].replace(Cr, function(l, a, h, f, c, b) {
|
997
995
|
if (a)
|
998
996
|
t.minimumIntegerDigits = h.length;
|
999
997
|
else {
|
1000
998
|
if (f && c)
|
1001
999
|
throw new Error("We currently do not support maximum integer digits");
|
1002
|
-
if (
|
1000
|
+
if (b)
|
1003
1001
|
throw new Error("We currently do not support exact integer digits");
|
1004
1002
|
}
|
1005
1003
|
return "";
|
1006
1004
|
});
|
1007
1005
|
continue;
|
1008
1006
|
}
|
1009
|
-
if (
|
1007
|
+
if (_t.test(i.stem)) {
|
1010
1008
|
t.minimumIntegerDigits = i.stem.length;
|
1011
1009
|
continue;
|
1012
1010
|
}
|
1013
|
-
if (
|
1011
|
+
if (ze.test(i.stem)) {
|
1014
1012
|
if (i.options.length > 1)
|
1015
1013
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1016
|
-
i.stem.replace(
|
1017
|
-
return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
1014
|
+
i.stem.replace(ze, function(l, a, h, f, c, b) {
|
1015
|
+
return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
1018
1016
|
});
|
1019
1017
|
var o = i.options[0];
|
1020
|
-
o === "w" ? t =
|
1018
|
+
o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), Ze(o)));
|
1021
1019
|
continue;
|
1022
1020
|
}
|
1023
|
-
if (
|
1024
|
-
t =
|
1021
|
+
if (vt.test(i.stem)) {
|
1022
|
+
t = d(d({}, t), Ze(i.stem));
|
1025
1023
|
continue;
|
1026
1024
|
}
|
1027
|
-
var u =
|
1028
|
-
u && (t =
|
1029
|
-
var s =
|
1030
|
-
s && (t =
|
1025
|
+
var u = Ht(i.stem);
|
1026
|
+
u && (t = d(d({}, t), u));
|
1027
|
+
var s = $r(i.stem);
|
1028
|
+
s && (t = d(d({}, t), s));
|
1031
1029
|
}
|
1032
1030
|
return t;
|
1033
1031
|
}
|
1034
|
-
var
|
1032
|
+
var ne = {
|
1035
1033
|
"001": [
|
1036
1034
|
"H",
|
1037
1035
|
"h"
|
@@ -2446,13 +2444,13 @@ var ie = {
|
|
2446
2444
|
"h"
|
2447
2445
|
]
|
2448
2446
|
};
|
2449
|
-
function
|
2447
|
+
function Fr(e, t) {
|
2450
2448
|
for (var r = "", n = 0; n < e.length; n++) {
|
2451
2449
|
var i = e.charAt(n);
|
2452
2450
|
if (i === "j") {
|
2453
2451
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2454
2452
|
o++, n++;
|
2455
|
-
var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", a =
|
2453
|
+
var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = Gr(t);
|
2456
2454
|
for ((a == "H" || a == "k") && (s = 0); s-- > 0; )
|
2457
2455
|
r += l;
|
2458
2456
|
for (; u-- > 0; )
|
@@ -2462,7 +2460,7 @@ function Gr(e, t) {
|
|
2462
2460
|
}
|
2463
2461
|
return r;
|
2464
2462
|
}
|
2465
|
-
function
|
2463
|
+
function Gr(e) {
|
2466
2464
|
var t = e.hourCycle;
|
2467
2465
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2468
2466
|
e.hourCycles && // @ts-ignore
|
@@ -2481,23 +2479,23 @@ function Ur(e) {
|
|
2481
2479
|
}
|
2482
2480
|
var r = e.language, n;
|
2483
2481
|
r !== "root" && (n = e.maximize().region);
|
2484
|
-
var i =
|
2482
|
+
var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
|
2485
2483
|
return i[0];
|
2486
2484
|
}
|
2487
|
-
var
|
2485
|
+
var ve, Ur = new RegExp("^".concat(Et.source, "*")), Dr = new RegExp("".concat(Et.source, "*$"));
|
2488
2486
|
function g(e, t) {
|
2489
2487
|
return { start: e, end: t };
|
2490
2488
|
}
|
2491
|
-
var kr = !!String.prototype.startsWith && "_a".startsWith("a", 1),
|
2489
|
+
var kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), jr = !!String.fromCodePoint, Vr = !!Object.fromEntries, Xr = !!String.prototype.codePointAt, zr = !!String.prototype.trimStart, Zr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, Qr = Wr ? Number.isSafeInteger : function(e) {
|
2492
2490
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2493
|
-
},
|
2491
|
+
}, Ae = !0;
|
2494
2492
|
try {
|
2495
|
-
var
|
2496
|
-
|
2493
|
+
var qr = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2494
|
+
Ae = ((ve = qr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
2497
2495
|
} catch {
|
2498
|
-
|
2496
|
+
Ae = !1;
|
2499
2497
|
}
|
2500
|
-
var
|
2498
|
+
var Qe = kr ? (
|
2501
2499
|
// Native
|
2502
2500
|
function(t, r, n) {
|
2503
2501
|
return t.startsWith(r, n);
|
@@ -2507,7 +2505,7 @@ var qe = kr ? (
|
|
2507
2505
|
function(t, r, n) {
|
2508
2506
|
return t.slice(n, n + r.length) === r;
|
2509
2507
|
}
|
2510
|
-
),
|
2508
|
+
), we = jr ? String.fromCodePoint : (
|
2511
2509
|
// IE11
|
2512
2510
|
function() {
|
2513
2511
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2519,9 +2517,9 @@ var qe = kr ? (
|
|
2519
2517
|
}
|
2520
2518
|
return n;
|
2521
2519
|
}
|
2522
|
-
),
|
2520
|
+
), qe = (
|
2523
2521
|
// native
|
2524
|
-
|
2522
|
+
Vr ? Object.fromEntries : (
|
2525
2523
|
// Ponyfill
|
2526
2524
|
function(t) {
|
2527
2525
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2531,7 +2529,7 @@ var qe = kr ? (
|
|
2531
2529
|
return r;
|
2532
2530
|
}
|
2533
2531
|
)
|
2534
|
-
),
|
2532
|
+
), Tt = Xr ? (
|
2535
2533
|
// Native
|
2536
2534
|
function(t, r) {
|
2537
2535
|
return t.codePointAt(r);
|
@@ -2545,7 +2543,7 @@ var qe = kr ? (
|
|
2545
2543
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2546
2544
|
}
|
2547
2545
|
}
|
2548
|
-
),
|
2546
|
+
), Jr = zr ? (
|
2549
2547
|
// Native
|
2550
2548
|
function(t) {
|
2551
2549
|
return t.trimStart();
|
@@ -2553,9 +2551,9 @@ var qe = kr ? (
|
|
2553
2551
|
) : (
|
2554
2552
|
// Ponyfill
|
2555
2553
|
function(t) {
|
2556
|
-
return t.replace(
|
2554
|
+
return t.replace(Ur, "");
|
2557
2555
|
}
|
2558
|
-
),
|
2556
|
+
), Yr = Zr ? (
|
2559
2557
|
// Native
|
2560
2558
|
function(t) {
|
2561
2559
|
return t.trimEnd();
|
@@ -2563,32 +2561,32 @@ var qe = kr ? (
|
|
2563
2561
|
) : (
|
2564
2562
|
// Ponyfill
|
2565
2563
|
function(t) {
|
2566
|
-
return t.replace(
|
2564
|
+
return t.replace(Dr, "");
|
2567
2565
|
}
|
2568
2566
|
);
|
2569
|
-
function
|
2567
|
+
function Pt(e, t) {
|
2570
2568
|
return new RegExp(e, t);
|
2571
2569
|
}
|
2572
|
-
var
|
2573
|
-
if (
|
2574
|
-
var
|
2575
|
-
|
2570
|
+
var Oe;
|
2571
|
+
if (Ae) {
|
2572
|
+
var Je = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2573
|
+
Oe = function(t, r) {
|
2576
2574
|
var n;
|
2577
|
-
|
2578
|
-
var i =
|
2575
|
+
Je.lastIndex = r;
|
2576
|
+
var i = Je.exec(t);
|
2579
2577
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2580
2578
|
};
|
2581
2579
|
} else
|
2582
|
-
|
2580
|
+
Oe = function(t, r) {
|
2583
2581
|
for (var n = []; ; ) {
|
2584
|
-
var i =
|
2585
|
-
if (i === void 0 || Bt(i) ||
|
2582
|
+
var i = Tt(t, r);
|
2583
|
+
if (i === void 0 || Bt(i) || rn(i))
|
2586
2584
|
break;
|
2587
2585
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2588
2586
|
}
|
2589
|
-
return
|
2587
|
+
return we.apply(void 0, n);
|
2590
2588
|
};
|
2591
|
-
var
|
2589
|
+
var Kr = (
|
2592
2590
|
/** @class */
|
2593
2591
|
function() {
|
2594
2592
|
function e(t, r) {
|
@@ -2612,14 +2610,14 @@ var en = (
|
|
2612
2610
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2613
2611
|
var s = this.clonePosition();
|
2614
2612
|
this.bump(), i.push({
|
2615
|
-
type:
|
2613
|
+
type: E.pound,
|
2616
2614
|
location: g(s, this.clonePosition())
|
2617
2615
|
});
|
2618
2616
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2619
2617
|
if (n)
|
2620
2618
|
break;
|
2621
2619
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
2622
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2620
|
+
} else if (o === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
|
2623
2621
|
var u = this.parseTag(t, r);
|
2624
2622
|
if (u.err)
|
2625
2623
|
return u;
|
@@ -2640,7 +2638,7 @@ var en = (
|
|
2640
2638
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2641
2639
|
return {
|
2642
2640
|
val: {
|
2643
|
-
type:
|
2641
|
+
type: E.literal,
|
2644
2642
|
value: "<".concat(i, "/>"),
|
2645
2643
|
location: g(n, this.clonePosition())
|
2646
2644
|
},
|
@@ -2652,12 +2650,12 @@ var en = (
|
|
2652
2650
|
return o;
|
2653
2651
|
var u = o.val, s = this.clonePosition();
|
2654
2652
|
if (this.bumpIf("</")) {
|
2655
|
-
if (this.isEOF() || !
|
2653
|
+
if (this.isEOF() || !Me(this.char()))
|
2656
2654
|
return this.error(p.INVALID_TAG, g(s, this.clonePosition()));
|
2657
2655
|
var l = this.clonePosition(), a = this.parseTagName();
|
2658
2656
|
return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2659
2657
|
val: {
|
2660
|
-
type:
|
2658
|
+
type: E.tag,
|
2661
2659
|
value: i,
|
2662
2660
|
children: u,
|
2663
2661
|
location: g(n, this.clonePosition())
|
@@ -2670,7 +2668,7 @@ var en = (
|
|
2670
2668
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2671
2669
|
}, e.prototype.parseTagName = function() {
|
2672
2670
|
var t = this.offset();
|
2673
|
-
for (this.bump(); !this.isEOF() &&
|
2671
|
+
for (this.bump(); !this.isEOF() && tn(this.char()); )
|
2674
2672
|
this.bump();
|
2675
2673
|
return this.message.slice(t, this.offset());
|
2676
2674
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2694,12 +2692,12 @@ var en = (
|
|
2694
2692
|
}
|
2695
2693
|
var l = g(n, this.clonePosition());
|
2696
2694
|
return {
|
2697
|
-
val: { type:
|
2695
|
+
val: { type: E.literal, value: i, location: l },
|
2698
2696
|
err: null
|
2699
2697
|
};
|
2700
2698
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2701
2699
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2702
|
-
!
|
2700
|
+
!en(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2703
2701
|
}, e.prototype.tryParseQuote = function(t) {
|
2704
2702
|
if (this.isEOF() || this.char() !== 39)
|
2705
2703
|
return null;
|
@@ -2733,12 +2731,12 @@ var en = (
|
|
2733
2731
|
r.push(n);
|
2734
2732
|
this.bump();
|
2735
2733
|
}
|
2736
|
-
return
|
2734
|
+
return we.apply(void 0, r);
|
2737
2735
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2738
2736
|
if (this.isEOF())
|
2739
2737
|
return null;
|
2740
2738
|
var n = this.char();
|
2741
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2739
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), we(n));
|
2742
2740
|
}, e.prototype.parseArgument = function(t, r) {
|
2743
2741
|
var n = this.clonePosition();
|
2744
2742
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2754,7 +2752,7 @@ var en = (
|
|
2754
2752
|
case 125:
|
2755
2753
|
return this.bump(), {
|
2756
2754
|
val: {
|
2757
|
-
type:
|
2755
|
+
type: E.argument,
|
2758
2756
|
// value does not include the opening and closing braces.
|
2759
2757
|
value: i,
|
2760
2758
|
location: g(n, this.clonePosition())
|
@@ -2767,7 +2765,7 @@ var en = (
|
|
2767
2765
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
2768
2766
|
}
|
2769
2767
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2770
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2768
|
+
var t = this.clonePosition(), r = this.offset(), n = Oe(this.message, r), i = r + n.length;
|
2771
2769
|
this.bumpTo(i);
|
2772
2770
|
var o = this.clonePosition(), u = g(t, o);
|
2773
2771
|
return { value: n, location: u };
|
@@ -2786,35 +2784,35 @@ var en = (
|
|
2786
2784
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2787
2785
|
if (f.err)
|
2788
2786
|
return f;
|
2789
|
-
var c =
|
2787
|
+
var c = Yr(f.val);
|
2790
2788
|
if (c.length === 0)
|
2791
2789
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2792
|
-
var
|
2793
|
-
a = { style: c, styleLocation:
|
2790
|
+
var b = g(h, this.clonePosition());
|
2791
|
+
a = { style: c, styleLocation: b };
|
2794
2792
|
}
|
2795
|
-
var
|
2796
|
-
if (
|
2797
|
-
return
|
2793
|
+
var y = this.tryParseArgumentClose(i);
|
2794
|
+
if (y.err)
|
2795
|
+
return y;
|
2798
2796
|
var m = g(i, this.clonePosition());
|
2799
|
-
if (a &&
|
2800
|
-
var v =
|
2797
|
+
if (a && Qe(a?.style, "::", 0)) {
|
2798
|
+
var v = Jr(a.style.slice(2));
|
2801
2799
|
if (s === "number") {
|
2802
2800
|
var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
|
2803
2801
|
return f.err ? f : {
|
2804
|
-
val: { type:
|
2802
|
+
val: { type: E.number, value: n, location: m, style: f.val },
|
2805
2803
|
err: null
|
2806
2804
|
};
|
2807
2805
|
} else {
|
2808
2806
|
if (v.length === 0)
|
2809
2807
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
2810
2808
|
var T = v;
|
2811
|
-
this.locale && (T =
|
2809
|
+
this.locale && (T = Fr(v, this.locale));
|
2812
2810
|
var c = {
|
2813
|
-
type:
|
2811
|
+
type: j.dateTime,
|
2814
2812
|
pattern: T,
|
2815
2813
|
location: a.styleLocation,
|
2816
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2817
|
-
}, A = s === "date" ?
|
2814
|
+
parsedOptions: this.shouldParseSkeletons ? Or(T) : {}
|
2815
|
+
}, A = s === "date" ? E.date : E.time;
|
2818
2816
|
return {
|
2819
2817
|
val: { type: A, value: n, location: m, style: c },
|
2820
2818
|
err: null
|
@@ -2823,7 +2821,7 @@ var en = (
|
|
2823
2821
|
}
|
2824
2822
|
return {
|
2825
2823
|
val: {
|
2826
|
-
type: s === "number" ?
|
2824
|
+
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
2827
2825
|
value: n,
|
2828
2826
|
location: m,
|
2829
2827
|
style: (o = a?.style) !== null && o !== void 0 ? o : null
|
@@ -2836,41 +2834,41 @@ var en = (
|
|
2836
2834
|
case "select": {
|
2837
2835
|
var P = this.clonePosition();
|
2838
2836
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2839
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P,
|
2837
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, d({}, P)));
|
2840
2838
|
this.bumpSpace();
|
2841
|
-
var
|
2842
|
-
if (s !== "select" &&
|
2839
|
+
var N = this.parseIdentifierIfPossible(), B = 0;
|
2840
|
+
if (s !== "select" && N.value === "offset") {
|
2843
2841
|
if (!this.bumpIf(":"))
|
2844
2842
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
2845
2843
|
this.bumpSpace();
|
2846
2844
|
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2847
2845
|
if (f.err)
|
2848
2846
|
return f;
|
2849
|
-
this.bumpSpace(),
|
2847
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), B = f.val;
|
2850
2848
|
}
|
2851
|
-
var
|
2852
|
-
if (
|
2853
|
-
return
|
2854
|
-
var
|
2855
|
-
if (
|
2856
|
-
return
|
2857
|
-
var
|
2849
|
+
var w = this.tryParsePluralOrSelectOptions(t, s, r, N);
|
2850
|
+
if (w.err)
|
2851
|
+
return w;
|
2852
|
+
var y = this.tryParseArgumentClose(i);
|
2853
|
+
if (y.err)
|
2854
|
+
return y;
|
2855
|
+
var R = g(i, this.clonePosition());
|
2858
2856
|
return s === "select" ? {
|
2859
2857
|
val: {
|
2860
|
-
type:
|
2858
|
+
type: E.select,
|
2861
2859
|
value: n,
|
2862
|
-
options:
|
2863
|
-
location:
|
2860
|
+
options: qe(w.val),
|
2861
|
+
location: R
|
2864
2862
|
},
|
2865
2863
|
err: null
|
2866
2864
|
} : {
|
2867
2865
|
val: {
|
2868
|
-
type:
|
2866
|
+
type: E.plural,
|
2869
2867
|
value: n,
|
2870
|
-
options:
|
2871
|
-
offset:
|
2868
|
+
options: qe(w.val),
|
2869
|
+
offset: B,
|
2872
2870
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
2873
|
-
location:
|
2871
|
+
location: R
|
2874
2872
|
},
|
2875
2873
|
err: null
|
2876
2874
|
};
|
@@ -2918,16 +2916,16 @@ var en = (
|
|
2918
2916
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2919
2917
|
var n = [];
|
2920
2918
|
try {
|
2921
|
-
n =
|
2919
|
+
n = Ir(t);
|
2922
2920
|
} catch {
|
2923
2921
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2924
2922
|
}
|
2925
2923
|
return {
|
2926
2924
|
val: {
|
2927
|
-
type:
|
2925
|
+
type: j.number,
|
2928
2926
|
tokens: n,
|
2929
2927
|
location: r,
|
2930
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2928
|
+
parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
|
2931
2929
|
},
|
2932
2930
|
err: null
|
2933
2931
|
};
|
@@ -2946,20 +2944,20 @@ var en = (
|
|
2946
2944
|
if (l.has(a))
|
2947
2945
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
2948
2946
|
a === "other" && (u = !0), this.bumpSpace();
|
2949
|
-
var
|
2947
|
+
var b = this.clonePosition();
|
2950
2948
|
if (!this.bumpIf("{"))
|
2951
2949
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
2952
|
-
var
|
2953
|
-
if (
|
2954
|
-
return
|
2955
|
-
var m = this.tryParseArgumentClose(
|
2950
|
+
var y = this.parseMessage(t + 1, r, n);
|
2951
|
+
if (y.err)
|
2952
|
+
return y;
|
2953
|
+
var m = this.tryParseArgumentClose(b);
|
2956
2954
|
if (m.err)
|
2957
2955
|
return m;
|
2958
2956
|
s.push([
|
2959
2957
|
a,
|
2960
2958
|
{
|
2961
|
-
value:
|
2962
|
-
location: g(
|
2959
|
+
value: y.val,
|
2960
|
+
location: g(b, this.clonePosition())
|
2963
2961
|
}
|
2964
2962
|
]), l.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
|
2965
2963
|
}
|
@@ -2975,7 +2973,7 @@ var en = (
|
|
2975
2973
|
break;
|
2976
2974
|
}
|
2977
2975
|
var l = g(i, this.clonePosition());
|
2978
|
-
return o ? (u *= n,
|
2976
|
+
return o ? (u *= n, Qr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
2979
2977
|
}, e.prototype.offset = function() {
|
2980
2978
|
return this.position.offset;
|
2981
2979
|
}, e.prototype.isEOF = function() {
|
@@ -2990,7 +2988,7 @@ var en = (
|
|
2990
2988
|
var t = this.position.offset;
|
2991
2989
|
if (t >= this.message.length)
|
2992
2990
|
throw Error("out of bound");
|
2993
|
-
var r =
|
2991
|
+
var r = Tt(this.message, t);
|
2994
2992
|
if (r === void 0)
|
2995
2993
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2996
2994
|
return r;
|
@@ -3009,7 +3007,7 @@ var en = (
|
|
3009
3007
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3010
3008
|
}
|
3011
3009
|
}, e.prototype.bumpIf = function(t) {
|
3012
|
-
if (
|
3010
|
+
if (Qe(this.message, t, this.offset())) {
|
3013
3011
|
for (var r = 0; r < t.length; r++)
|
3014
3012
|
this.bump();
|
3015
3013
|
return !0;
|
@@ -3041,47 +3039,47 @@ var en = (
|
|
3041
3039
|
}, e;
|
3042
3040
|
}()
|
3043
3041
|
);
|
3044
|
-
function
|
3042
|
+
function Me(e) {
|
3045
3043
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3046
3044
|
}
|
3047
|
-
function
|
3048
|
-
return
|
3045
|
+
function en(e) {
|
3046
|
+
return Me(e) || e === 47;
|
3049
3047
|
}
|
3050
|
-
function
|
3048
|
+
function tn(e) {
|
3051
3049
|
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;
|
3052
3050
|
}
|
3053
3051
|
function Bt(e) {
|
3054
3052
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3055
3053
|
}
|
3056
|
-
function
|
3054
|
+
function rn(e) {
|
3057
3055
|
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;
|
3058
3056
|
}
|
3059
|
-
function
|
3057
|
+
function Ie(e) {
|
3060
3058
|
e.forEach(function(t) {
|
3061
|
-
if (delete t.location,
|
3059
|
+
if (delete t.location, dt(t) || bt(t))
|
3062
3060
|
for (var r in t.options)
|
3063
|
-
delete t.options[r].location,
|
3061
|
+
delete t.options[r].location, Ie(t.options[r].value);
|
3064
3062
|
else
|
3065
|
-
|
3063
|
+
mt(t) && yt(t.style) || (pt(t) || gt(t)) && Se(t.style) ? delete t.style.location : xt(t) && Ie(t.children);
|
3066
3064
|
});
|
3067
3065
|
}
|
3068
|
-
function
|
3069
|
-
t === void 0 && (t = {}), t =
|
3070
|
-
var r = new
|
3066
|
+
function nn(e, t) {
|
3067
|
+
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3068
|
+
var r = new Kr(e, t).parse();
|
3071
3069
|
if (r.err) {
|
3072
3070
|
var n = SyntaxError(p[r.err.kind]);
|
3073
3071
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3074
3072
|
}
|
3075
|
-
return t?.captureLocation ||
|
3073
|
+
return t?.captureLocation || Ie(r.val), r.val;
|
3076
3074
|
}
|
3077
|
-
var
|
3075
|
+
var V;
|
3078
3076
|
(function(e) {
|
3079
3077
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3080
|
-
})(
|
3081
|
-
var
|
3078
|
+
})(V || (V = {}));
|
3079
|
+
var ce = (
|
3082
3080
|
/** @class */
|
3083
3081
|
function(e) {
|
3084
|
-
|
3082
|
+
fe(t, e);
|
3085
3083
|
function t(r, n, i) {
|
3086
3084
|
var o = e.call(this, r) || this;
|
3087
3085
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3090,48 +3088,48 @@ var pe = (
|
|
3090
3088
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3091
3089
|
}, t;
|
3092
3090
|
}(Error)
|
3093
|
-
),
|
3091
|
+
), Ye = (
|
3094
3092
|
/** @class */
|
3095
3093
|
function(e) {
|
3096
|
-
|
3094
|
+
fe(t, e);
|
3097
3095
|
function t(r, n, i, o) {
|
3098
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3096
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
|
3099
3097
|
}
|
3100
3098
|
return t;
|
3101
|
-
}(
|
3102
|
-
),
|
3099
|
+
}(ce)
|
3100
|
+
), on = (
|
3103
3101
|
/** @class */
|
3104
3102
|
function(e) {
|
3105
|
-
|
3103
|
+
fe(t, e);
|
3106
3104
|
function t(r, n, i) {
|
3107
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3105
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
3108
3106
|
}
|
3109
3107
|
return t;
|
3110
|
-
}(
|
3111
|
-
),
|
3108
|
+
}(ce)
|
3109
|
+
), an = (
|
3112
3110
|
/** @class */
|
3113
3111
|
function(e) {
|
3114
|
-
|
3112
|
+
fe(t, e);
|
3115
3113
|
function t(r, n) {
|
3116
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3114
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
3117
3115
|
}
|
3118
3116
|
return t;
|
3119
|
-
}(
|
3117
|
+
}(ce)
|
3120
3118
|
), H;
|
3121
3119
|
(function(e) {
|
3122
3120
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3123
3121
|
})(H || (H = {}));
|
3124
|
-
function
|
3122
|
+
function sn(e) {
|
3125
3123
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3126
3124
|
var n = t[t.length - 1];
|
3127
3125
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3128
3126
|
}, []);
|
3129
3127
|
}
|
3130
|
-
function
|
3128
|
+
function un(e) {
|
3131
3129
|
return typeof e == "function";
|
3132
3130
|
}
|
3133
|
-
function
|
3134
|
-
if (e.length === 1 &&
|
3131
|
+
function ae(e, t, r, n, i, o, u) {
|
3132
|
+
if (e.length === 1 && Xe(e[0]))
|
3135
3133
|
return [
|
3136
3134
|
{
|
3137
3135
|
type: H.literal,
|
@@ -3140,14 +3138,14 @@ function se(e, t, r, n, i, o, u) {
|
|
3140
3138
|
];
|
3141
3139
|
for (var s = [], l = 0, a = e; l < a.length; l++) {
|
3142
3140
|
var h = a[l];
|
3143
|
-
if (
|
3141
|
+
if (Xe(h)) {
|
3144
3142
|
s.push({
|
3145
3143
|
type: H.literal,
|
3146
3144
|
value: h.value
|
3147
3145
|
});
|
3148
3146
|
continue;
|
3149
3147
|
}
|
3150
|
-
if (
|
3148
|
+
if (Ar(h)) {
|
3151
3149
|
typeof o == "number" && s.push({
|
3152
3150
|
type: H.literal,
|
3153
3151
|
value: r.getNumberFormat(t).format(o)
|
@@ -3156,89 +3154,89 @@ function se(e, t, r, n, i, o, u) {
|
|
3156
3154
|
}
|
3157
3155
|
var f = h.value;
|
3158
3156
|
if (!(i && f in i))
|
3159
|
-
throw new
|
3157
|
+
throw new an(f, u);
|
3160
3158
|
var c = i[f];
|
3161
|
-
if (
|
3159
|
+
if (Sr(h)) {
|
3162
3160
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
3163
3161
|
type: typeof c == "string" ? H.literal : H.object,
|
3164
3162
|
value: c
|
3165
3163
|
});
|
3166
3164
|
continue;
|
3167
3165
|
}
|
3168
|
-
if (
|
3169
|
-
var
|
3166
|
+
if (pt(h)) {
|
3167
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Se(h.style) ? h.style.parsedOptions : void 0;
|
3170
3168
|
s.push({
|
3171
3169
|
type: H.literal,
|
3172
|
-
value: r.getDateTimeFormat(t,
|
3170
|
+
value: r.getDateTimeFormat(t, b).format(c)
|
3173
3171
|
});
|
3174
3172
|
continue;
|
3175
3173
|
}
|
3176
|
-
if (
|
3177
|
-
var
|
3174
|
+
if (gt(h)) {
|
3175
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Se(h.style) ? h.style.parsedOptions : n.time.medium;
|
3178
3176
|
s.push({
|
3179
3177
|
type: H.literal,
|
3180
|
-
value: r.getDateTimeFormat(t,
|
3178
|
+
value: r.getDateTimeFormat(t, b).format(c)
|
3181
3179
|
});
|
3182
3180
|
continue;
|
3183
3181
|
}
|
3184
|
-
if (
|
3185
|
-
var
|
3186
|
-
|
3182
|
+
if (mt(h)) {
|
3183
|
+
var b = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
|
3184
|
+
b && b.scale && (c = c * (b.scale || 1)), s.push({
|
3187
3185
|
type: H.literal,
|
3188
|
-
value: r.getNumberFormat(t,
|
3186
|
+
value: r.getNumberFormat(t, b).format(c)
|
3189
3187
|
});
|
3190
3188
|
continue;
|
3191
3189
|
}
|
3192
|
-
if (
|
3193
|
-
var
|
3194
|
-
if (!
|
3195
|
-
throw new
|
3196
|
-
var T =
|
3197
|
-
return
|
3190
|
+
if (xt(h)) {
|
3191
|
+
var y = h.children, m = h.value, v = i[m];
|
3192
|
+
if (!un(v))
|
3193
|
+
throw new on(m, "function", u);
|
3194
|
+
var T = ae(y, t, r, n, i, o), A = v(T.map(function(B) {
|
3195
|
+
return B.value;
|
3198
3196
|
}));
|
3199
|
-
Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(
|
3197
|
+
Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(B) {
|
3200
3198
|
return {
|
3201
|
-
type: typeof
|
3202
|
-
value:
|
3199
|
+
type: typeof B == "string" ? H.literal : H.object,
|
3200
|
+
value: B
|
3203
3201
|
};
|
3204
3202
|
}));
|
3205
3203
|
}
|
3206
|
-
if (
|
3204
|
+
if (dt(h)) {
|
3207
3205
|
var P = h.options[c] || h.options.other;
|
3208
3206
|
if (!P)
|
3209
|
-
throw new
|
3210
|
-
s.push.apply(s,
|
3207
|
+
throw new Ye(h.value, c, Object.keys(h.options), u);
|
3208
|
+
s.push.apply(s, ae(P.value, t, r, n, i));
|
3211
3209
|
continue;
|
3212
3210
|
}
|
3213
|
-
if (
|
3211
|
+
if (bt(h)) {
|
3214
3212
|
var P = h.options["=".concat(c)];
|
3215
3213
|
if (!P) {
|
3216
3214
|
if (!Intl.PluralRules)
|
3217
|
-
throw new
|
3215
|
+
throw new ce(`Intl.PluralRules is not available in this environment.
|
3218
3216
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3219
|
-
`,
|
3220
|
-
var
|
3221
|
-
P = h.options[
|
3217
|
+
`, V.MISSING_INTL_API, u);
|
3218
|
+
var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
3219
|
+
P = h.options[N] || h.options.other;
|
3222
3220
|
}
|
3223
3221
|
if (!P)
|
3224
|
-
throw new
|
3225
|
-
s.push.apply(s,
|
3222
|
+
throw new Ye(h.value, c, Object.keys(h.options), u);
|
3223
|
+
s.push.apply(s, ae(P.value, t, r, n, i, c - (h.offset || 0)));
|
3226
3224
|
continue;
|
3227
3225
|
}
|
3228
3226
|
}
|
3229
|
-
return
|
3227
|
+
return sn(s);
|
3230
3228
|
}
|
3231
|
-
function
|
3232
|
-
return t ?
|
3233
|
-
return r[n] =
|
3229
|
+
function hn(e, t) {
|
3230
|
+
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3231
|
+
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3234
3232
|
}, {})) : e;
|
3235
3233
|
}
|
3236
|
-
function
|
3234
|
+
function ln(e, t) {
|
3237
3235
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3238
|
-
return r[n] =
|
3239
|
-
},
|
3236
|
+
return r[n] = hn(e[n], t[n]), r;
|
3237
|
+
}, d({}, e)) : e;
|
3240
3238
|
}
|
3241
|
-
function
|
3239
|
+
function _e(e) {
|
3242
3240
|
return {
|
3243
3241
|
create: function() {
|
3244
3242
|
return {
|
@@ -3252,39 +3250,39 @@ function Te(e) {
|
|
3252
3250
|
}
|
3253
3251
|
};
|
3254
3252
|
}
|
3255
|
-
function
|
3253
|
+
function fn(e) {
|
3256
3254
|
return e === void 0 && (e = {
|
3257
3255
|
number: {},
|
3258
3256
|
dateTime: {},
|
3259
3257
|
pluralRules: {}
|
3260
3258
|
}), {
|
3261
|
-
getNumberFormat:
|
3259
|
+
getNumberFormat: ye(function() {
|
3262
3260
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3263
3261
|
r[n] = arguments[n];
|
3264
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3262
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
|
3265
3263
|
}, {
|
3266
|
-
cache:
|
3267
|
-
strategy:
|
3264
|
+
cache: _e(e.number),
|
3265
|
+
strategy: Ee.variadic
|
3268
3266
|
}),
|
3269
|
-
getDateTimeFormat:
|
3267
|
+
getDateTimeFormat: ye(function() {
|
3270
3268
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3271
3269
|
r[n] = arguments[n];
|
3272
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3270
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
|
3273
3271
|
}, {
|
3274
|
-
cache:
|
3275
|
-
strategy:
|
3272
|
+
cache: _e(e.dateTime),
|
3273
|
+
strategy: Ee.variadic
|
3276
3274
|
}),
|
3277
|
-
getPluralRules:
|
3275
|
+
getPluralRules: ye(function() {
|
3278
3276
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3279
3277
|
r[n] = arguments[n];
|
3280
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3278
|
+
return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
|
3281
3279
|
}, {
|
3282
|
-
cache:
|
3283
|
-
strategy:
|
3280
|
+
cache: _e(e.pluralRules),
|
3281
|
+
strategy: Ee.variadic
|
3284
3282
|
})
|
3285
3283
|
};
|
3286
3284
|
}
|
3287
|
-
var
|
3285
|
+
var cn = (
|
3288
3286
|
/** @class */
|
3289
3287
|
function() {
|
3290
3288
|
function e(t, r, n, i) {
|
@@ -3303,7 +3301,7 @@ var mn = (
|
|
3303
3301
|
}, []);
|
3304
3302
|
return h.length <= 1 ? h[0] || "" : h;
|
3305
3303
|
}, this.formatToParts = function(l) {
|
3306
|
-
return
|
3304
|
+
return ae(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
3307
3305
|
}, this.resolvedOptions = function() {
|
3308
3306
|
var l;
|
3309
3307
|
return {
|
@@ -3316,13 +3314,13 @@ var mn = (
|
|
3316
3314
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3317
3315
|
var u = i || {};
|
3318
3316
|
u.formatters;
|
3319
|
-
var s =
|
3320
|
-
this.ast = e.__parse(t,
|
3317
|
+
var s = Er(u, ["formatters"]);
|
3318
|
+
this.ast = e.__parse(t, d(d({}, s), { locale: this.resolvedLocale }));
|
3321
3319
|
} else
|
3322
3320
|
this.ast = t;
|
3323
3321
|
if (!Array.isArray(this.ast))
|
3324
3322
|
throw new TypeError("A message must be provided as a String or AST.");
|
3325
|
-
this.formats =
|
3323
|
+
this.formats = ln(e.formats, n), this.formatters = i && i.formatters || fn(this.formatterCache);
|
3326
3324
|
}
|
3327
3325
|
return Object.defineProperty(e, "defaultLocale", {
|
3328
3326
|
get: function() {
|
@@ -3335,7 +3333,7 @@ var mn = (
|
|
3335
3333
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3336
3334
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3337
3335
|
}
|
3338
|
-
}, e.__parse =
|
3336
|
+
}, e.__parse = nn, e.formats = {
|
3339
3337
|
number: {
|
3340
3338
|
integer: {
|
3341
3339
|
maximumFractionDigits: 0
|
@@ -3396,7 +3394,7 @@ var mn = (
|
|
3396
3394
|
}, e;
|
3397
3395
|
}()
|
3398
3396
|
);
|
3399
|
-
function
|
3397
|
+
function mn(e, t) {
|
3400
3398
|
if (t == null)
|
3401
3399
|
return;
|
3402
3400
|
if (t in e)
|
@@ -3417,92 +3415,92 @@ function pn(e, t) {
|
|
3417
3415
|
n = void 0;
|
3418
3416
|
return n;
|
3419
3417
|
}
|
3420
|
-
const M = {},
|
3418
|
+
const M = {}, pn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Nt = (e, t) => {
|
3421
3419
|
if (t == null)
|
3422
3420
|
return;
|
3423
3421
|
if (t in M && e in M[t])
|
3424
3422
|
return M[t][e];
|
3425
|
-
const r =
|
3423
|
+
const r = me(t);
|
3426
3424
|
for (let n = 0; n < r.length; n++) {
|
3427
|
-
const i = r[n], o =
|
3425
|
+
const i = r[n], o = dn(i, e);
|
3428
3426
|
if (o)
|
3429
|
-
return
|
3427
|
+
return pn(e, t, o);
|
3430
3428
|
}
|
3431
3429
|
};
|
3432
|
-
let
|
3433
|
-
const
|
3434
|
-
function
|
3435
|
-
return
|
3430
|
+
let Ge;
|
3431
|
+
const re = le({});
|
3432
|
+
function gn(e) {
|
3433
|
+
return Ge[e] || null;
|
3436
3434
|
}
|
3437
|
-
function
|
3438
|
-
return e in
|
3435
|
+
function St(e) {
|
3436
|
+
return e in Ge;
|
3439
3437
|
}
|
3440
|
-
function
|
3441
|
-
if (!
|
3438
|
+
function dn(e, t) {
|
3439
|
+
if (!St(e))
|
3442
3440
|
return null;
|
3443
|
-
const r =
|
3444
|
-
return
|
3441
|
+
const r = gn(e);
|
3442
|
+
return mn(r, t);
|
3445
3443
|
}
|
3446
|
-
function
|
3444
|
+
function bn(e) {
|
3447
3445
|
if (e == null)
|
3448
3446
|
return;
|
3449
|
-
const t =
|
3447
|
+
const t = me(e);
|
3450
3448
|
for (let r = 0; r < t.length; r++) {
|
3451
3449
|
const n = t[r];
|
3452
|
-
if (
|
3450
|
+
if (St(n))
|
3453
3451
|
return n;
|
3454
3452
|
}
|
3455
3453
|
}
|
3456
|
-
function
|
3457
|
-
delete M[e],
|
3454
|
+
function At(e, ...t) {
|
3455
|
+
delete M[e], re.update((r) => (r[e] = yr.all([r[e] || {}, ...t]), r));
|
3458
3456
|
}
|
3459
|
-
|
3460
|
-
[
|
3457
|
+
z(
|
3458
|
+
[re],
|
3461
3459
|
([e]) => Object.keys(e)
|
3462
3460
|
);
|
3463
|
-
|
3464
|
-
const
|
3465
|
-
function
|
3466
|
-
|
3461
|
+
re.subscribe((e) => Ge = e);
|
3462
|
+
const se = {};
|
3463
|
+
function xn(e, t) {
|
3464
|
+
se[e].delete(t), se[e].size === 0 && delete se[e];
|
3467
3465
|
}
|
3468
|
-
function
|
3469
|
-
return
|
3466
|
+
function wt(e) {
|
3467
|
+
return se[e];
|
3470
3468
|
}
|
3471
|
-
function
|
3472
|
-
return
|
3473
|
-
const r =
|
3469
|
+
function yn(e) {
|
3470
|
+
return me(e).map((t) => {
|
3471
|
+
const r = wt(t);
|
3474
3472
|
return [t, r ? [...r] : []];
|
3475
3473
|
}).filter(([, t]) => t.length > 0);
|
3476
3474
|
}
|
3477
|
-
function
|
3478
|
-
return e == null ? !1 :
|
3475
|
+
function Le(e) {
|
3476
|
+
return e == null ? !1 : me(e).some(
|
3479
3477
|
(t) => {
|
3480
3478
|
var r;
|
3481
|
-
return (r =
|
3479
|
+
return (r = wt(t)) == null ? void 0 : r.size;
|
3482
3480
|
}
|
3483
3481
|
);
|
3484
3482
|
}
|
3485
|
-
function
|
3483
|
+
function En(e, t) {
|
3486
3484
|
return Promise.all(
|
3487
|
-
t.map((n) => (
|
3488
|
-
).then((n) =>
|
3489
|
-
}
|
3490
|
-
const
|
3491
|
-
function
|
3492
|
-
if (!
|
3493
|
-
return e in
|
3494
|
-
const t =
|
3495
|
-
return
|
3485
|
+
t.map((n) => (xn(e, n), n().then((i) => i.default || i)))
|
3486
|
+
).then((n) => At(e, ...n));
|
3487
|
+
}
|
3488
|
+
const q = {};
|
3489
|
+
function Ot(e) {
|
3490
|
+
if (!Le(e))
|
3491
|
+
return e in q ? q[e] : Promise.resolve();
|
3492
|
+
const t = yn(e);
|
3493
|
+
return q[e] = Promise.all(
|
3496
3494
|
t.map(
|
3497
|
-
([r, n]) =>
|
3495
|
+
([r, n]) => En(r, n)
|
3498
3496
|
)
|
3499
3497
|
).then(() => {
|
3500
|
-
if (
|
3501
|
-
return
|
3502
|
-
delete
|
3503
|
-
}),
|
3498
|
+
if (Le(e))
|
3499
|
+
return Ot(e);
|
3500
|
+
delete q[e];
|
3501
|
+
}), q[e];
|
3504
3502
|
}
|
3505
|
-
const
|
3503
|
+
const vn = {
|
3506
3504
|
number: {
|
3507
3505
|
scientific: { notation: "scientific" },
|
3508
3506
|
engineering: { notation: "engineering" },
|
@@ -3531,141 +3529,141 @@ const _n = {
|
|
3531
3529
|
timeZoneName: "short"
|
3532
3530
|
}
|
3533
3531
|
}
|
3534
|
-
},
|
3532
|
+
}, _n = {
|
3535
3533
|
fallbackLocale: null,
|
3536
3534
|
loadingDelay: 200,
|
3537
|
-
formats:
|
3535
|
+
formats: vn,
|
3538
3536
|
warnOnMissingMessages: !0,
|
3539
3537
|
handleMissingMessage: void 0,
|
3540
3538
|
ignoreTag: !0
|
3541
|
-
},
|
3542
|
-
function
|
3543
|
-
return
|
3544
|
-
}
|
3545
|
-
const
|
3546
|
-
var
|
3547
|
-
for (var r in t
|
3548
|
-
Nn.call(t, r) &&
|
3549
|
-
if (
|
3550
|
-
for (var r of
|
3551
|
-
|
3539
|
+
}, Hn = _n;
|
3540
|
+
function X() {
|
3541
|
+
return Hn;
|
3542
|
+
}
|
3543
|
+
const He = le(!1);
|
3544
|
+
var Tn = Object.defineProperty, Pn = Object.defineProperties, Bn = Object.getOwnPropertyDescriptors, Ke = Object.getOwnPropertySymbols, Nn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, et = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
|
3545
|
+
for (var r in t)
|
3546
|
+
Nn.call(t, r) && et(e, r, t[r]);
|
3547
|
+
if (Ke)
|
3548
|
+
for (var r of Ke(t))
|
3549
|
+
Sn.call(t, r) && et(e, r, t[r]);
|
3552
3550
|
return e;
|
3553
|
-
},
|
3554
|
-
let
|
3555
|
-
const
|
3556
|
-
function
|
3551
|
+
}, wn = (e, t) => Pn(e, Bn(t));
|
3552
|
+
let Ce;
|
3553
|
+
const ue = le(null);
|
3554
|
+
function tt(e) {
|
3557
3555
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3558
3556
|
}
|
3559
|
-
function
|
3560
|
-
const r =
|
3561
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3557
|
+
function me(e, t = X().fallbackLocale) {
|
3558
|
+
const r = tt(e);
|
3559
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...tt(t)])] : r;
|
3562
3560
|
}
|
3563
|
-
function
|
3564
|
-
return
|
3561
|
+
function $() {
|
3562
|
+
return Ce ?? void 0;
|
3565
3563
|
}
|
3566
|
-
|
3567
|
-
|
3564
|
+
ue.subscribe((e) => {
|
3565
|
+
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3568
3566
|
});
|
3569
|
-
const
|
3570
|
-
if (e &&
|
3571
|
-
const { loadingDelay: t } =
|
3567
|
+
const On = (e) => {
|
3568
|
+
if (e && bn(e) && Le(e)) {
|
3569
|
+
const { loadingDelay: t } = X();
|
3572
3570
|
let r;
|
3573
|
-
return typeof window < "u" &&
|
3574
|
-
() =>
|
3571
|
+
return typeof window < "u" && $() != null && t ? r = window.setTimeout(
|
3572
|
+
() => He.set(!0),
|
3575
3573
|
t
|
3576
|
-
) :
|
3577
|
-
|
3574
|
+
) : He.set(!0), Ot(e).then(() => {
|
3575
|
+
ue.set(e);
|
3578
3576
|
}).finally(() => {
|
3579
|
-
clearTimeout(r),
|
3577
|
+
clearTimeout(r), He.set(!1);
|
3580
3578
|
});
|
3581
3579
|
}
|
3582
|
-
return
|
3583
|
-
},
|
3584
|
-
set:
|
3585
|
-
}),
|
3580
|
+
return ue.set(e);
|
3581
|
+
}, Z = wn(An({}, ue), {
|
3582
|
+
set: On
|
3583
|
+
}), pe = (e) => {
|
3586
3584
|
const t = /* @__PURE__ */ Object.create(null);
|
3587
3585
|
return (n) => {
|
3588
3586
|
const i = JSON.stringify(n);
|
3589
3587
|
return i in t ? t[i] : t[i] = e(n);
|
3590
3588
|
};
|
3591
3589
|
};
|
3592
|
-
var Mn = Object.defineProperty,
|
3590
|
+
var Mn = Object.defineProperty, he = Object.getOwnPropertySymbols, Mt = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, rt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
|
3593
3591
|
for (var r in t || (t = {}))
|
3594
|
-
Mt.call(t, r) &&
|
3595
|
-
if (
|
3596
|
-
for (var r of
|
3597
|
-
|
3592
|
+
Mt.call(t, r) && rt(e, r, t[r]);
|
3593
|
+
if (he)
|
3594
|
+
for (var r of he(t))
|
3595
|
+
It.call(t, r) && rt(e, r, t[r]);
|
3598
3596
|
return e;
|
3599
|
-
},
|
3597
|
+
}, W = (e, t) => {
|
3600
3598
|
var r = {};
|
3601
3599
|
for (var n in e)
|
3602
3600
|
Mt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3603
|
-
if (e != null &&
|
3604
|
-
for (var n of
|
3605
|
-
t.indexOf(n) < 0 &&
|
3601
|
+
if (e != null && he)
|
3602
|
+
for (var n of he(e))
|
3603
|
+
t.indexOf(n) < 0 && It.call(e, n) && (r[n] = e[n]);
|
3606
3604
|
return r;
|
3607
3605
|
};
|
3608
|
-
const
|
3609
|
-
const { formats: r } =
|
3606
|
+
const ee = (e, t) => {
|
3607
|
+
const { formats: r } = X();
|
3610
3608
|
if (e in r && t in r[e])
|
3611
3609
|
return r[e][t];
|
3612
3610
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3613
|
-
},
|
3611
|
+
}, In = pe(
|
3614
3612
|
(e) => {
|
3615
|
-
var t = e, { locale: r, format: n } = t, i =
|
3613
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3616
3614
|
if (r == null)
|
3617
3615
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3618
|
-
return n && (i =
|
3616
|
+
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
3619
3617
|
}
|
3620
|
-
),
|
3618
|
+
), Ln = pe(
|
3621
3619
|
(e) => {
|
3622
|
-
var t = e, { locale: r, format: n } = t, i =
|
3620
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3623
3621
|
if (r == null)
|
3624
3622
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3625
|
-
return n ? i =
|
3623
|
+
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
3626
3624
|
}
|
3627
|
-
), Cn =
|
3625
|
+
), Cn = pe(
|
3628
3626
|
(e) => {
|
3629
|
-
var t = e, { locale: r, format: n } = t, i =
|
3627
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3630
3628
|
if (r == null)
|
3631
3629
|
throw new Error(
|
3632
3630
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3633
3631
|
);
|
3634
|
-
return n ? i =
|
3632
|
+
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
3635
3633
|
}
|
3636
|
-
),
|
3634
|
+
), $n = (e = {}) => {
|
3637
3635
|
var t = e, {
|
3638
|
-
locale: r =
|
3639
|
-
} = t, n =
|
3636
|
+
locale: r = $()
|
3637
|
+
} = t, n = W(t, [
|
3640
3638
|
"locale"
|
3641
3639
|
]);
|
3642
|
-
return
|
3643
|
-
},
|
3640
|
+
return In(Ue({ locale: r }, n));
|
3641
|
+
}, Rn = (e = {}) => {
|
3644
3642
|
var t = e, {
|
3645
|
-
locale: r =
|
3646
|
-
} = t, n =
|
3643
|
+
locale: r = $()
|
3644
|
+
} = t, n = W(t, [
|
3647
3645
|
"locale"
|
3648
3646
|
]);
|
3649
|
-
return
|
3650
|
-
},
|
3647
|
+
return Ln(Ue({ locale: r }, n));
|
3648
|
+
}, Fn = (e = {}) => {
|
3651
3649
|
var t = e, {
|
3652
|
-
locale: r =
|
3653
|
-
} = t, n =
|
3650
|
+
locale: r = $()
|
3651
|
+
} = t, n = W(t, [
|
3654
3652
|
"locale"
|
3655
3653
|
]);
|
3656
|
-
return Cn(
|
3657
|
-
},
|
3654
|
+
return Cn(Ue({ locale: r }, n));
|
3655
|
+
}, Gn = pe(
|
3658
3656
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3659
|
-
(e, t =
|
3660
|
-
ignoreTag:
|
3657
|
+
(e, t = $()) => new cn(e, t, X().formats, {
|
3658
|
+
ignoreTag: X().ignoreTag
|
3661
3659
|
})
|
3662
|
-
),
|
3660
|
+
), Un = (e, t = {}) => {
|
3663
3661
|
var r, n, i, o;
|
3664
3662
|
let u = t;
|
3665
3663
|
typeof e == "object" && (u = e, e = u.id);
|
3666
3664
|
const {
|
3667
3665
|
values: s,
|
3668
|
-
locale: l =
|
3666
|
+
locale: l = $(),
|
3669
3667
|
default: a
|
3670
3668
|
} = u;
|
3671
3669
|
if (l == null)
|
@@ -3674,7 +3672,7 @@ const te = (e, t) => {
|
|
3674
3672
|
);
|
3675
3673
|
let h = Nt(e, l);
|
3676
3674
|
if (!h)
|
3677
|
-
h = (o = (i = (n = (r =
|
3675
|
+
h = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
|
3678
3676
|
else if (typeof h != "string")
|
3679
3677
|
return console.warn(
|
3680
3678
|
`[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.`
|
@@ -3683,7 +3681,7 @@ const te = (e, t) => {
|
|
3683
3681
|
return h;
|
3684
3682
|
let f = h;
|
3685
3683
|
try {
|
3686
|
-
f =
|
3684
|
+
f = Gn(h, l).format(s);
|
3687
3685
|
} catch (c) {
|
3688
3686
|
c instanceof Error && console.warn(
|
3689
3687
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3691,18 +3689,18 @@ const te = (e, t) => {
|
|
3691
3689
|
);
|
3692
3690
|
}
|
3693
3691
|
return f;
|
3694
|
-
},
|
3695
|
-
|
3696
|
-
|
3697
|
-
|
3698
|
-
|
3699
|
-
function
|
3700
|
-
|
3701
|
-
}
|
3702
|
-
function
|
3703
|
-
|
3704
|
-
}
|
3705
|
-
const
|
3692
|
+
}, Dn = (e, t) => Fn(t).format(e), kn = (e, t) => Rn(t).format(e), jn = (e, t) => $n(t).format(e), Vn = (e, t = $()) => Nt(e, t), Xn = z([Z, re], () => Un);
|
3693
|
+
z([Z], () => Dn);
|
3694
|
+
z([Z], () => kn);
|
3695
|
+
z([Z], () => jn);
|
3696
|
+
z([Z, re], () => Vn);
|
3697
|
+
function nt(e, t) {
|
3698
|
+
At(e, t);
|
3699
|
+
}
|
3700
|
+
function zn(e) {
|
3701
|
+
Z.set(e);
|
3702
|
+
}
|
3703
|
+
const it = {
|
3706
3704
|
en: {
|
3707
3705
|
pageNotFound: "Page not found",
|
3708
3706
|
pageNotFoundMessage: "The page you were looking for could not be found. Please go back to our Homepage.",
|
@@ -3794,13 +3792,13 @@ const ot = {
|
|
3794
3792
|
home: "Go to homepage"
|
3795
3793
|
}
|
3796
3794
|
};
|
3797
|
-
function
|
3795
|
+
function Zn(e, t) {
|
3798
3796
|
if (e) {
|
3799
3797
|
const r = document.createElement("style");
|
3800
3798
|
r.innerHTML = t, e.appendChild(r);
|
3801
3799
|
}
|
3802
3800
|
}
|
3803
|
-
function
|
3801
|
+
function Wn(e, t) {
|
3804
3802
|
const r = new URL(t);
|
3805
3803
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
3806
3804
|
const i = document.createElement("style");
|
@@ -3809,7 +3807,7 @@ function Qn(e, t) {
|
|
3809
3807
|
console.error("There was an error while trying to load client styling from URL", n);
|
3810
3808
|
});
|
3811
3809
|
}
|
3812
|
-
function
|
3810
|
+
function Qn(e, t, r) {
|
3813
3811
|
if (window.emMessageBus) {
|
3814
3812
|
const n = document.createElement("style");
|
3815
3813
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -3817,74 +3815,74 @@ function qn(e, t, r) {
|
|
3817
3815
|
});
|
3818
3816
|
}
|
3819
3817
|
}
|
3820
|
-
function
|
3821
|
-
|
3818
|
+
function qn(e) {
|
3819
|
+
$t(e, "svelte-xvkdgv", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}");
|
3822
3820
|
}
|
3823
|
-
function
|
3824
|
-
let t, r, n, i, o, u, s, l, a, h, f, c,
|
3821
|
+
function Jn(e) {
|
3822
|
+
let t, r, n, i, o, u, s, l, a, h, f, c, b = (
|
3825
3823
|
/*$_*/
|
3826
3824
|
e[1]("pageNotFound") + ""
|
3827
|
-
),
|
3825
|
+
), y, m, v, T = (
|
3828
3826
|
/*$_*/
|
3829
3827
|
e[1]("pageNotFoundMessage") + ""
|
3830
|
-
), A, P,
|
3828
|
+
), A, P, N, B = (
|
3831
3829
|
/*$_*/
|
3832
3830
|
e[1]("home") + ""
|
3833
|
-
),
|
3831
|
+
), w, R, De;
|
3834
3832
|
return {
|
3835
3833
|
c() {
|
3836
|
-
t =
|
3834
|
+
t = L("div"), r = L("div"), n = O("svg"), i = O("g"), o = O("path"), u = O("path"), s = O("path"), l = O("path"), a = O("path"), h = O("path"), f = ge(), c = L("p"), y = ie(b), m = ge(), v = L("p"), A = ie(T), P = ge(), N = L("button"), w = ie(B), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(u, "class", "a"), x(u, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(u, "transform", "translate(-433.716 -446.252)"), x(s, "class", "a"), x(s, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(s, "transform", "translate(-200.173 -446.452)"), x(l, "class", "a"), x(l, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(a, "class", "a"), x(a, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(a, "transform", "translate(-116.772 -116.794)"), x(h, "class", "a"), x(h, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(h, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(c, "class", "PageTitle"), x(v, "class", "PageContent"), x(N, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
|
3837
3835
|
},
|
3838
|
-
m(
|
3839
|
-
|
3840
|
-
|
3836
|
+
m(I, Q) {
|
3837
|
+
ut(I, t, Q), _(t, r), _(r, n), _(n, i), _(i, o), _(i, u), _(i, s), _(i, l), _(i, a), _(i, h), _(r, f), _(r, c), _(c, y), _(r, m), _(r, v), _(v, A), _(r, P), _(r, N), _(N, w), e[9](t), R || (De = Gt(
|
3838
|
+
N,
|
3841
3839
|
"click",
|
3842
3840
|
/*click_handler*/
|
3843
3841
|
e[8]
|
3844
|
-
),
|
3842
|
+
), R = !0);
|
3845
3843
|
},
|
3846
|
-
p(
|
3847
|
-
|
3848
|
-
2 &&
|
3849
|
-
|
3844
|
+
p(I, [Q]) {
|
3845
|
+
Q & /*$_*/
|
3846
|
+
2 && b !== (b = /*$_*/
|
3847
|
+
I[1]("pageNotFound") + "") && de(y, b), Q & /*$_*/
|
3850
3848
|
2 && T !== (T = /*$_*/
|
3851
|
-
|
3852
|
-
2 &&
|
3853
|
-
|
3849
|
+
I[1]("pageNotFoundMessage") + "") && de(A, T), Q & /*$_*/
|
3850
|
+
2 && B !== (B = /*$_*/
|
3851
|
+
I[1]("home") + "") && de(w, B);
|
3854
3852
|
},
|
3855
|
-
i:
|
3856
|
-
o:
|
3857
|
-
d(
|
3858
|
-
|
3853
|
+
i: S,
|
3854
|
+
o: S,
|
3855
|
+
d(I) {
|
3856
|
+
I && Re(t), e[9](null), R = !1, De();
|
3859
3857
|
}
|
3860
3858
|
};
|
3861
3859
|
}
|
3862
|
-
function
|
3860
|
+
function Yn(e, t, r) {
|
3863
3861
|
let n;
|
3864
|
-
Ct(e,
|
3862
|
+
Ct(e, Xn, (m) => r(1, n = m));
|
3865
3863
|
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: s = "" } = t, { mbsource: l } = t, a;
|
3866
3864
|
const h = () => {
|
3867
3865
|
fetch(s).then((v) => v.json()).then((v) => {
|
3868
3866
|
Object.keys(v).forEach((T) => {
|
3869
|
-
|
3867
|
+
nt(T, v[T]);
|
3870
3868
|
});
|
3871
3869
|
}).catch((v) => {
|
3872
3870
|
console.log(v);
|
3873
3871
|
});
|
3874
3872
|
};
|
3875
|
-
Object.keys(
|
3876
|
-
|
3873
|
+
Object.keys(it).forEach((m) => {
|
3874
|
+
nt(m, it[m]);
|
3877
3875
|
});
|
3878
3876
|
const f = () => {
|
3879
3877
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
3880
3878
|
}, c = () => {
|
3881
|
-
|
3879
|
+
zn(i);
|
3882
3880
|
};
|
3883
|
-
|
3881
|
+
jt(() => () => {
|
3884
3882
|
});
|
3885
|
-
const
|
3886
|
-
function
|
3887
|
-
|
3883
|
+
const b = () => f();
|
3884
|
+
function y(m) {
|
3885
|
+
Te[m ? "unshift" : "push"](() => {
|
3888
3886
|
a = m, r(0, a);
|
3889
3887
|
});
|
3890
3888
|
}
|
@@ -3894,9 +3892,9 @@ function Kn(e, t, r) {
|
|
3894
3892
|
e.$$.dirty & /*lang*/
|
3895
3893
|
8 && i && c(), e.$$.dirty & /*translationurl*/
|
3896
3894
|
64 && s && h(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3897
|
-
17 && o && a &&
|
3898
|
-
33 && u && a &&
|
3899
|
-
129 && l && a &&
|
3895
|
+
17 && o && a && Zn(a, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3896
|
+
33 && u && a && Wn(a, u), e.$$.dirty & /*mbsource, customStylingContainer*/
|
3897
|
+
129 && l && a && Qn(a, `${l}.Style`);
|
3900
3898
|
}, [
|
3901
3899
|
a,
|
3902
3900
|
n,
|
@@ -3906,18 +3904,18 @@ function Kn(e, t, r) {
|
|
3906
3904
|
u,
|
3907
3905
|
s,
|
3908
3906
|
l,
|
3909
|
-
|
3910
|
-
|
3907
|
+
b,
|
3908
|
+
y
|
3911
3909
|
];
|
3912
3910
|
}
|
3913
|
-
class
|
3911
|
+
class Kn extends tr {
|
3914
3912
|
constructor(t) {
|
3915
|
-
super(),
|
3913
|
+
super(), Kt(
|
3916
3914
|
this,
|
3917
3915
|
t,
|
3918
|
-
Kn,
|
3919
3916
|
Yn,
|
3920
|
-
|
3917
|
+
Jn,
|
3918
|
+
at,
|
3921
3919
|
{
|
3922
3920
|
lang: 3,
|
3923
3921
|
clientstyling: 4,
|
@@ -3925,7 +3923,7 @@ class ei extends rr {
|
|
3925
3923
|
translationurl: 6,
|
3926
3924
|
mbsource: 7
|
3927
3925
|
},
|
3928
|
-
|
3926
|
+
qn
|
3929
3927
|
);
|
3930
3928
|
}
|
3931
3929
|
get lang() {
|
@@ -3959,7 +3957,7 @@ class ei extends rr {
|
|
3959
3957
|
this.$$set({ mbsource: t }), C();
|
3960
3958
|
}
|
3961
3959
|
}
|
3962
|
-
|
3960
|
+
er(Kn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
3963
3961
|
export {
|
3964
|
-
|
3962
|
+
Kn as C
|
3965
3963
|
};
|