@everymatrix/casino-404 1.54.6 → 1.54.9
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-CKoe8-UY.js +3944 -0
- package/components/Casino404-DLlvUdb9.cjs +3 -0
- package/components/{Casino404-CVQlYVrf.js → Casino404-mo8xLHU-.js} +342 -346
- package/es2015/casino-404.cjs +1 -0
- package/es2015/casino-404.js +16 -0
- package/esnext/casino-404.js +1 -1
- package/package.json +1 -1
@@ -1,24 +1,24 @@
|
|
1
1
|
function B() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function it(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function Ue() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
9
|
function ee(e) {
|
10
|
-
e.forEach(
|
10
|
+
e.forEach(it);
|
11
11
|
}
|
12
12
|
function Ce(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function ot(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function Mt(e) {
|
19
19
|
return Object.keys(e).length === 0;
|
20
20
|
}
|
21
|
-
function
|
21
|
+
function at(e, ...t) {
|
22
22
|
if (e == null) {
|
23
23
|
for (const n of t)
|
24
24
|
n(void 0);
|
@@ -27,20 +27,20 @@ function st(e, ...t) {
|
|
27
27
|
const r = e.subscribe(...t);
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
29
29
|
}
|
30
|
-
function
|
31
|
-
e.$$.on_destroy.push(
|
30
|
+
function Lt(e, t, r) {
|
31
|
+
e.$$.on_destroy.push(at(t, r));
|
32
32
|
}
|
33
33
|
function H(e, t) {
|
34
34
|
e.appendChild(t);
|
35
35
|
}
|
36
|
-
function
|
37
|
-
const n =
|
36
|
+
function Ct(e, t, r) {
|
37
|
+
const n = $t(e);
|
38
38
|
if (!n.getElementById(t)) {
|
39
39
|
const i = L("style");
|
40
|
-
i.id = t, i.textContent = r,
|
40
|
+
i.id = t, i.textContent = r, Rt(n, i);
|
41
41
|
}
|
42
42
|
}
|
43
|
-
function
|
43
|
+
function $t(e) {
|
44
44
|
if (!e) return document;
|
45
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
46
46
|
return t && /** @type {ShadowRoot} */
|
@@ -49,14 +49,14 @@ function Rt(e) {
|
|
49
49
|
t
|
50
50
|
) : e.ownerDocument;
|
51
51
|
}
|
52
|
-
function
|
52
|
+
function Rt(e, t) {
|
53
53
|
return H(
|
54
54
|
/** @type {Document} */
|
55
55
|
e.head || e,
|
56
56
|
t
|
57
57
|
), t.sheet;
|
58
58
|
}
|
59
|
-
function
|
59
|
+
function st(e, t, r) {
|
60
60
|
e.insertBefore(t, r || null);
|
61
61
|
}
|
62
62
|
function $e(e) {
|
@@ -74,20 +74,20 @@ function ne(e) {
|
|
74
74
|
function pe() {
|
75
75
|
return ne(" ");
|
76
76
|
}
|
77
|
-
function
|
77
|
+
function Ft(e, t, r, n) {
|
78
78
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
79
79
|
}
|
80
80
|
function x(e, t, r) {
|
81
81
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
82
82
|
}
|
83
|
-
function
|
83
|
+
function Gt(e) {
|
84
84
|
return Array.from(e.childNodes);
|
85
85
|
}
|
86
86
|
function ge(e, t) {
|
87
87
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
88
88
|
t);
|
89
89
|
}
|
90
|
-
function
|
90
|
+
function Dt(e) {
|
91
91
|
const t = {};
|
92
92
|
return e.childNodes.forEach(
|
93
93
|
/** @param {Element} node */
|
@@ -102,10 +102,10 @@ function J(e) {
|
|
102
102
|
}
|
103
103
|
const G = [], He = [];
|
104
104
|
let U = [];
|
105
|
-
const
|
105
|
+
const je = [], Ut = /* @__PURE__ */ Promise.resolve();
|
106
106
|
let Te = !1;
|
107
|
-
function
|
108
|
-
Te || (Te = !0,
|
107
|
+
function jt() {
|
108
|
+
Te || (Te = !0, Ut.then(D));
|
109
109
|
}
|
110
110
|
function Pe(e) {
|
111
111
|
U.push(e);
|
@@ -120,7 +120,7 @@ function D() {
|
|
120
120
|
try {
|
121
121
|
for (; R < G.length; ) {
|
122
122
|
const t = G[R];
|
123
|
-
R++, J(t),
|
123
|
+
R++, J(t), kt(t.$$);
|
124
124
|
}
|
125
125
|
} catch (t) {
|
126
126
|
throw G.length = 0, R = 0, t;
|
@@ -132,40 +132,40 @@ function D() {
|
|
132
132
|
}
|
133
133
|
U.length = 0;
|
134
134
|
} while (G.length);
|
135
|
-
for (;
|
136
|
-
|
135
|
+
for (; je.length; )
|
136
|
+
je.pop()();
|
137
137
|
Te = !1, de.clear(), J(e);
|
138
138
|
}
|
139
|
-
function
|
139
|
+
function kt(e) {
|
140
140
|
if (e.fragment !== null) {
|
141
141
|
e.update(), ee(e.before_update);
|
142
142
|
const t = e.dirty;
|
143
143
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
|
144
144
|
}
|
145
145
|
}
|
146
|
-
function
|
146
|
+
function Vt(e) {
|
147
147
|
const t = [], r = [];
|
148
148
|
U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
|
149
149
|
}
|
150
|
-
const
|
151
|
-
function
|
152
|
-
e && e.i && (
|
150
|
+
const Xt = /* @__PURE__ */ new Set();
|
151
|
+
function zt(e, t) {
|
152
|
+
e && e.i && (Xt.delete(e), e.i(t));
|
153
153
|
}
|
154
|
-
function
|
154
|
+
function Zt(e, t, r) {
|
155
155
|
const { fragment: n, after_update: i } = e.$$;
|
156
156
|
n && n.m(t, r), Pe(() => {
|
157
|
-
const o = e.$$.on_mount.map(
|
157
|
+
const o = e.$$.on_mount.map(it).filter(Ce);
|
158
158
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
159
159
|
}), i.forEach(Pe);
|
160
160
|
}
|
161
|
-
function
|
161
|
+
function Wt(e, t) {
|
162
162
|
const r = e.$$;
|
163
|
-
r.fragment !== null && (
|
163
|
+
r.fragment !== null && (Vt(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
164
164
|
}
|
165
|
-
function
|
166
|
-
e.$$.dirty[0] === -1 && (G.push(e),
|
165
|
+
function Qt(e, t) {
|
166
|
+
e.$$.dirty[0] === -1 && (G.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
167
167
|
}
|
168
|
-
function
|
168
|
+
function qt(e, t, r, n, i, o, u = null, a = [-1]) {
|
169
169
|
const l = Re;
|
170
170
|
J(e);
|
171
171
|
const s = e.$$ = {
|
@@ -175,7 +175,7 @@ function Jt(e, t, r, n, i, o, u = null, a = [-1]) {
|
|
175
175
|
props: o,
|
176
176
|
update: B,
|
177
177
|
not_equal: i,
|
178
|
-
bound:
|
178
|
+
bound: Ue(),
|
179
179
|
// lifecycle
|
180
180
|
on_mount: [],
|
181
181
|
on_destroy: [],
|
@@ -184,28 +184,28 @@ function Jt(e, t, r, n, i, o, u = null, a = [-1]) {
|
|
184
184
|
after_update: [],
|
185
185
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
186
186
|
// everything else
|
187
|
-
callbacks:
|
187
|
+
callbacks: Ue(),
|
188
188
|
dirty: a,
|
189
189
|
skip_bound: !1,
|
190
190
|
root: t.target || l.$$.root
|
191
191
|
};
|
192
192
|
u && u(s.root);
|
193
193
|
let h = !1;
|
194
|
-
if (s.ctx = r(e, t.props || {}, (c, f, ...b) => {
|
194
|
+
if (s.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
195
195
|
const y = b.length ? b[0] : f;
|
196
|
-
return s.ctx && i(s.ctx[c], s.ctx[c] = y) && (!s.skip_bound && s.bound[c] && s.bound[c](y), h &&
|
197
|
-
}), s.update(), h = !0, ee(s.before_update), s.fragment = n(s.ctx), t.target) {
|
196
|
+
return s.ctx && i(s.ctx[c], s.ctx[c] = y) && (!s.skip_bound && s.bound[c] && s.bound[c](y), h && Qt(e, c)), f;
|
197
|
+
}) : [], s.update(), h = !0, ee(s.before_update), s.fragment = n ? n(s.ctx) : !1, t.target) {
|
198
198
|
if (t.hydrate) {
|
199
|
-
const c =
|
199
|
+
const c = Gt(t.target);
|
200
200
|
s.fragment && s.fragment.l(c), c.forEach($e);
|
201
201
|
} else
|
202
202
|
s.fragment && s.fragment.c();
|
203
|
-
t.intro &&
|
203
|
+
t.intro && zt(e.$$.fragment), Zt(e, t.target, t.anchor), D();
|
204
204
|
}
|
205
205
|
J(l);
|
206
206
|
}
|
207
|
-
let
|
208
|
-
typeof HTMLElement == "function" && (
|
207
|
+
let ut;
|
208
|
+
typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
209
209
|
/** The Svelte component constructor */
|
210
210
|
$$ctor;
|
211
211
|
/** Slots */
|
@@ -254,7 +254,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
254
254
|
* @param {HTMLElement} [anchor]
|
255
255
|
*/
|
256
256
|
m: function(l, s) {
|
257
|
-
|
257
|
+
st(l, o, s);
|
258
258
|
},
|
259
259
|
d: function(l) {
|
260
260
|
l && $e(o);
|
@@ -264,7 +264,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
264
264
|
};
|
265
265
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
266
266
|
return;
|
267
|
-
const t = {}, r =
|
267
|
+
const t = {}, r = Dt(this);
|
268
268
|
for (const i of this.$$s)
|
269
269
|
i in r && (t[i] = [e(i)]);
|
270
270
|
for (const i of this.attributes) {
|
@@ -351,8 +351,8 @@ function ie(e, t, r, n) {
|
|
351
351
|
return t;
|
352
352
|
}
|
353
353
|
}
|
354
|
-
function
|
355
|
-
let u = class extends
|
354
|
+
function Jt(e, t, r, n, i, o) {
|
355
|
+
let u = class extends ut {
|
356
356
|
constructor() {
|
357
357
|
super(e, r, i), this.$$p_d = t;
|
358
358
|
}
|
@@ -380,7 +380,7 @@ function Yt(e, t, r, n, i, o) {
|
|
380
380
|
}), e.element = /** @type {any} */
|
381
381
|
u, u;
|
382
382
|
}
|
383
|
-
class
|
383
|
+
class Yt {
|
384
384
|
/**
|
385
385
|
* ### PRIVATE API
|
386
386
|
*
|
@@ -399,7 +399,7 @@ class Kt {
|
|
399
399
|
$$set = void 0;
|
400
400
|
/** @returns {void} */
|
401
401
|
$destroy() {
|
402
|
-
|
402
|
+
Wt(this, 1), this.$destroy = B;
|
403
403
|
}
|
404
404
|
/**
|
405
405
|
* @template {Extract<keyof Events, string>} K
|
@@ -421,13 +421,13 @@ class Kt {
|
|
421
421
|
* @returns {void}
|
422
422
|
*/
|
423
423
|
$set(t) {
|
424
|
-
this.$$set && !
|
424
|
+
this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
425
425
|
}
|
426
426
|
}
|
427
|
-
const
|
428
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
427
|
+
const Kt = "4";
|
428
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
|
429
429
|
const F = [];
|
430
|
-
function
|
430
|
+
function er(e, t) {
|
431
431
|
return {
|
432
432
|
subscribe: he(e, t).subscribe
|
433
433
|
};
|
@@ -436,7 +436,7 @@ function he(e, t = B) {
|
|
436
436
|
let r;
|
437
437
|
const n = /* @__PURE__ */ new Set();
|
438
438
|
function i(a) {
|
439
|
-
if (
|
439
|
+
if (ot(e, a) && (e = a, r)) {
|
440
440
|
const l = !F.length;
|
441
441
|
for (const s of n)
|
442
442
|
s[1](), F.push(s, e);
|
@@ -463,7 +463,7 @@ function z(e, t, r) {
|
|
463
463
|
if (!i.every(Boolean))
|
464
464
|
throw new Error("derived() expects stores as input, got a falsy value");
|
465
465
|
const o = t.length < 2;
|
466
|
-
return
|
466
|
+
return er(r, (u, a) => {
|
467
467
|
let l = !1;
|
468
468
|
const s = [];
|
469
469
|
let h = 0, c = B;
|
@@ -474,7 +474,7 @@ function z(e, t, r) {
|
|
474
474
|
const y = t(n ? s[0] : s, u, a);
|
475
475
|
o ? u(y) : c = Ce(y) ? y : B;
|
476
476
|
}, b = i.map(
|
477
|
-
(y, _) =>
|
477
|
+
(y, _) => at(
|
478
478
|
y,
|
479
479
|
(m) => {
|
480
480
|
s[_] = m, h &= ~(1 << _), l && f();
|
@@ -489,70 +489,70 @@ function z(e, t, r) {
|
|
489
489
|
};
|
490
490
|
});
|
491
491
|
}
|
492
|
-
function
|
493
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
492
|
+
function tr(e) {
|
493
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
494
494
|
}
|
495
|
-
var
|
496
|
-
return
|
495
|
+
var rr = function(t) {
|
496
|
+
return nr(t) && !ir(t);
|
497
497
|
};
|
498
|
-
function
|
498
|
+
function nr(e) {
|
499
499
|
return !!e && typeof e == "object";
|
500
500
|
}
|
501
|
-
function
|
501
|
+
function ir(e) {
|
502
502
|
var t = Object.prototype.toString.call(e);
|
503
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
503
|
+
return t === "[object RegExp]" || t === "[object Date]" || sr(e);
|
504
504
|
}
|
505
|
-
var
|
506
|
-
function
|
507
|
-
return e.$$typeof ===
|
505
|
+
var or = typeof Symbol == "function" && Symbol.for, ar = or ? Symbol.for("react.element") : 60103;
|
506
|
+
function sr(e) {
|
507
|
+
return e.$$typeof === ar;
|
508
508
|
}
|
509
|
-
function
|
509
|
+
function ur(e) {
|
510
510
|
return Array.isArray(e) ? [] : {};
|
511
511
|
}
|
512
512
|
function Y(e, t) {
|
513
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? j(
|
513
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(ur(e), e, t) : e;
|
514
514
|
}
|
515
|
-
function
|
515
|
+
function hr(e, t, r) {
|
516
516
|
return e.concat(t).map(function(n) {
|
517
517
|
return Y(n, r);
|
518
518
|
});
|
519
519
|
}
|
520
|
-
function
|
520
|
+
function lr(e, t) {
|
521
521
|
if (!t.customMerge)
|
522
522
|
return j;
|
523
523
|
var r = t.customMerge(e);
|
524
524
|
return typeof r == "function" ? r : j;
|
525
525
|
}
|
526
|
-
function
|
526
|
+
function fr(e) {
|
527
527
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
528
528
|
return Object.propertyIsEnumerable.call(e, t);
|
529
529
|
}) : [];
|
530
530
|
}
|
531
|
-
function
|
532
|
-
return Object.keys(e).concat(
|
531
|
+
function ke(e) {
|
532
|
+
return Object.keys(e).concat(fr(e));
|
533
533
|
}
|
534
|
-
function
|
534
|
+
function ht(e, t) {
|
535
535
|
try {
|
536
536
|
return t in e;
|
537
537
|
} catch {
|
538
538
|
return !1;
|
539
539
|
}
|
540
540
|
}
|
541
|
-
function
|
542
|
-
return
|
541
|
+
function cr(e, t) {
|
542
|
+
return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
543
543
|
}
|
544
|
-
function
|
544
|
+
function mr(e, t, r) {
|
545
545
|
var n = {};
|
546
|
-
return r.isMergeableObject(e) &&
|
546
|
+
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
547
547
|
n[i] = Y(e[i], r);
|
548
|
-
}),
|
549
|
-
|
548
|
+
}), ke(t).forEach(function(i) {
|
549
|
+
cr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
550
550
|
}), n;
|
551
551
|
}
|
552
552
|
function j(e, t, r) {
|
553
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
553
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
|
554
554
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
555
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
555
|
+
return o ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
|
556
556
|
}
|
557
557
|
j.all = function(t, r) {
|
558
558
|
if (!Array.isArray(t))
|
@@ -561,8 +561,8 @@ j.all = function(t, r) {
|
|
561
561
|
return j(n, i, r);
|
562
562
|
}, {});
|
563
563
|
};
|
564
|
-
var
|
565
|
-
const
|
564
|
+
var pr = j, gr = pr;
|
565
|
+
const dr = /* @__PURE__ */ tr(gr);
|
566
566
|
var Ne = function(e, t) {
|
567
567
|
return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
568
568
|
r.__proto__ = n;
|
@@ -588,7 +588,7 @@ var d = function() {
|
|
588
588
|
return t;
|
589
589
|
}, d.apply(this, arguments);
|
590
590
|
};
|
591
|
-
function
|
591
|
+
function br(e, t) {
|
592
592
|
var r = {};
|
593
593
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
594
594
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -602,39 +602,36 @@ function be(e, t, r) {
|
|
602
602
|
return e.concat(o || Array.prototype.slice.call(t));
|
603
603
|
}
|
604
604
|
function xe(e, t) {
|
605
|
-
var r = t && t.cache ? t.cache :
|
605
|
+
var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : _r, i = t && t.strategy ? t.strategy : vr;
|
606
606
|
return i(e, {
|
607
607
|
cache: r,
|
608
608
|
serializer: n
|
609
609
|
});
|
610
610
|
}
|
611
|
-
function
|
611
|
+
function xr(e) {
|
612
612
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
613
613
|
}
|
614
|
-
function
|
615
|
-
var i =
|
614
|
+
function yr(e, t, r, n) {
|
615
|
+
var i = xr(n) ? n : r(n), o = t.get(i);
|
616
616
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
617
617
|
}
|
618
|
-
function
|
618
|
+
function lt(e, t, r) {
|
619
619
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
620
620
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
621
621
|
}
|
622
|
-
function
|
622
|
+
function ft(e, t, r, n, i) {
|
623
623
|
return r.bind(t, e, n, i);
|
624
624
|
}
|
625
|
-
function Er(e, t) {
|
626
|
-
var r = e.length === 1 ? ft : ct;
|
627
|
-
return Fe(e, this, r, t.cache.create(), t.serializer);
|
628
|
-
}
|
629
625
|
function vr(e, t) {
|
630
|
-
|
626
|
+
var r = e.length === 1 ? yr : lt;
|
627
|
+
return ft(e, this, r, t.cache.create(), t.serializer);
|
631
628
|
}
|
632
|
-
function
|
633
|
-
return
|
629
|
+
function Er(e, t) {
|
630
|
+
return ft(e, this, lt, t.cache.create(), t.serializer);
|
634
631
|
}
|
635
|
-
var
|
632
|
+
var _r = function() {
|
636
633
|
return JSON.stringify(arguments);
|
637
|
-
},
|
634
|
+
}, Hr = (
|
638
635
|
/** @class */
|
639
636
|
function() {
|
640
637
|
function e() {
|
@@ -646,62 +643,61 @@ var Hr = function() {
|
|
646
643
|
this.cache[t] = r;
|
647
644
|
}, e;
|
648
645
|
}()
|
649
|
-
),
|
646
|
+
), Tr = {
|
650
647
|
create: function() {
|
651
|
-
return new
|
648
|
+
return new Hr();
|
652
649
|
}
|
653
650
|
}, ye = {
|
654
|
-
variadic:
|
655
|
-
monadic: _r
|
651
|
+
variadic: Er
|
656
652
|
}, p;
|
657
653
|
(function(e) {
|
658
654
|
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";
|
659
655
|
})(p || (p = {}));
|
660
|
-
var
|
656
|
+
var v;
|
661
657
|
(function(e) {
|
662
658
|
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";
|
663
|
-
})(
|
659
|
+
})(v || (v = {}));
|
664
660
|
var k;
|
665
661
|
(function(e) {
|
666
662
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
667
663
|
})(k || (k = {}));
|
668
|
-
function
|
669
|
-
return e.type ===
|
664
|
+
function Ve(e) {
|
665
|
+
return e.type === v.literal;
|
670
666
|
}
|
671
|
-
function
|
672
|
-
return e.type ===
|
667
|
+
function Pr(e) {
|
668
|
+
return e.type === v.argument;
|
669
|
+
}
|
670
|
+
function ct(e) {
|
671
|
+
return e.type === v.number;
|
673
672
|
}
|
674
673
|
function mt(e) {
|
675
|
-
return e.type ===
|
674
|
+
return e.type === v.date;
|
676
675
|
}
|
677
676
|
function pt(e) {
|
678
|
-
return e.type ===
|
677
|
+
return e.type === v.time;
|
679
678
|
}
|
680
679
|
function gt(e) {
|
681
|
-
return e.type ===
|
680
|
+
return e.type === v.select;
|
682
681
|
}
|
683
682
|
function dt(e) {
|
684
|
-
return e.type ===
|
683
|
+
return e.type === v.plural;
|
685
684
|
}
|
686
|
-
function
|
687
|
-
return e.type ===
|
685
|
+
function Nr(e) {
|
686
|
+
return e.type === v.pound;
|
688
687
|
}
|
689
|
-
function
|
690
|
-
return e.type ===
|
688
|
+
function bt(e) {
|
689
|
+
return e.type === v.tag;
|
691
690
|
}
|
692
691
|
function xt(e) {
|
693
|
-
return e.type === E.tag;
|
694
|
-
}
|
695
|
-
function yt(e) {
|
696
692
|
return !!(e && typeof e == "object" && e.type === k.number);
|
697
693
|
}
|
698
694
|
function Ae(e) {
|
699
695
|
return !!(e && typeof e == "object" && e.type === k.dateTime);
|
700
696
|
}
|
701
|
-
var
|
702
|
-
function
|
697
|
+
var yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
|
698
|
+
function Sr(e) {
|
703
699
|
var t = {};
|
704
|
-
return e.replace(
|
700
|
+
return e.replace(Ar, function(r) {
|
705
701
|
var n = r.length;
|
706
702
|
switch (r[0]) {
|
707
703
|
case "G":
|
@@ -790,11 +786,11 @@ function Br(e) {
|
|
790
786
|
return "";
|
791
787
|
}), t;
|
792
788
|
}
|
793
|
-
var
|
794
|
-
function
|
789
|
+
var Br = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
790
|
+
function wr(e) {
|
795
791
|
if (e.length === 0)
|
796
792
|
throw new Error("Number skeleton cannot be empty");
|
797
|
-
for (var t = e.split(
|
793
|
+
for (var t = e.split(Br).filter(function(f) {
|
798
794
|
return f.length > 0;
|
799
795
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
800
796
|
var o = i[n], u = o.split("/");
|
@@ -809,17 +805,17 @@ function Or(e) {
|
|
809
805
|
}
|
810
806
|
return r;
|
811
807
|
}
|
812
|
-
function
|
808
|
+
function Or(e) {
|
813
809
|
return e.replace(/^(.*?)-/, "");
|
814
810
|
}
|
815
|
-
var
|
816
|
-
function
|
811
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
|
812
|
+
function ze(e) {
|
817
813
|
var t = {};
|
818
814
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
|
819
815
|
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)), "";
|
820
816
|
}), t;
|
821
817
|
}
|
822
|
-
function
|
818
|
+
function _t(e) {
|
823
819
|
switch (e) {
|
824
820
|
case "sign-auto":
|
825
821
|
return {
|
@@ -859,7 +855,7 @@ function Ht(e) {
|
|
859
855
|
};
|
860
856
|
}
|
861
857
|
}
|
862
|
-
function
|
858
|
+
function Mr(e) {
|
863
859
|
var t;
|
864
860
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
865
861
|
notation: "engineering"
|
@@ -867,17 +863,17 @@ function Lr(e) {
|
|
867
863
|
notation: "scientific"
|
868
864
|
}, e = e.slice(1)), t) {
|
869
865
|
var r = e.slice(0, 2);
|
870
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
866
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Et.test(e))
|
871
867
|
throw new Error("Malformed concise eng/scientific notation");
|
872
868
|
t.minimumIntegerDigits = e.length;
|
873
869
|
}
|
874
870
|
return t;
|
875
871
|
}
|
876
|
-
function
|
877
|
-
var t = {}, r =
|
872
|
+
function Ze(e) {
|
873
|
+
var t = {}, r = _t(e);
|
878
874
|
return r || t;
|
879
875
|
}
|
880
|
-
function
|
876
|
+
function Lr(e) {
|
881
877
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
882
878
|
var i = n[r];
|
883
879
|
switch (i.stem) {
|
@@ -901,7 +897,7 @@ function Cr(e) {
|
|
901
897
|
continue;
|
902
898
|
case "measure-unit":
|
903
899
|
case "unit":
|
904
|
-
t.style = "unit", t.unit =
|
900
|
+
t.style = "unit", t.unit = Or(i.options[0]);
|
905
901
|
continue;
|
906
902
|
case "compact-short":
|
907
903
|
case "K":
|
@@ -913,12 +909,12 @@ function Cr(e) {
|
|
913
909
|
continue;
|
914
910
|
case "scientific":
|
915
911
|
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, s) {
|
916
|
-
return d(d({}, l),
|
912
|
+
return d(d({}, l), Ze(s));
|
917
913
|
}, {}));
|
918
914
|
continue;
|
919
915
|
case "engineering":
|
920
916
|
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, s) {
|
921
|
-
return d(d({}, l),
|
917
|
+
return d(d({}, l), Ze(s));
|
922
918
|
}, {}));
|
923
919
|
continue;
|
924
920
|
case "notation-simple":
|
@@ -963,7 +959,7 @@ function Cr(e) {
|
|
963
959
|
case "integer-width":
|
964
960
|
if (i.options.length > 1)
|
965
961
|
throw new RangeError("integer-width stems only accept a single optional option");
|
966
|
-
i.options[0].replace(
|
962
|
+
i.options[0].replace(Ir, function(l, s, h, c, f, b) {
|
967
963
|
if (s)
|
968
964
|
t.minimumIntegerDigits = h.length;
|
969
965
|
else {
|
@@ -976,27 +972,27 @@ function Cr(e) {
|
|
976
972
|
});
|
977
973
|
continue;
|
978
974
|
}
|
979
|
-
if (
|
975
|
+
if (Et.test(i.stem)) {
|
980
976
|
t.minimumIntegerDigits = i.stem.length;
|
981
977
|
continue;
|
982
978
|
}
|
983
|
-
if (
|
979
|
+
if (Xe.test(i.stem)) {
|
984
980
|
if (i.options.length > 1)
|
985
981
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
986
|
-
i.stem.replace(
|
982
|
+
i.stem.replace(Xe, function(l, s, h, c, f, b) {
|
987
983
|
return h === "*" ? t.minimumFractionDigits = s.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
|
988
984
|
});
|
989
985
|
var o = i.options[0];
|
990
|
-
o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t),
|
986
|
+
o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), ze(o)));
|
991
987
|
continue;
|
992
988
|
}
|
993
989
|
if (vt.test(i.stem)) {
|
994
|
-
t = d(d({}, t),
|
990
|
+
t = d(d({}, t), ze(i.stem));
|
995
991
|
continue;
|
996
992
|
}
|
997
|
-
var u =
|
993
|
+
var u = _t(i.stem);
|
998
994
|
u && (t = d(d({}, t), u));
|
999
|
-
var a =
|
995
|
+
var a = Mr(i.stem);
|
1000
996
|
a && (t = d(d({}, t), a));
|
1001
997
|
}
|
1002
998
|
return t;
|
@@ -2416,13 +2412,13 @@ var re = {
|
|
2416
2412
|
"h"
|
2417
2413
|
]
|
2418
2414
|
};
|
2419
|
-
function
|
2415
|
+
function Cr(e, t) {
|
2420
2416
|
for (var r = "", n = 0; n < e.length; n++) {
|
2421
2417
|
var i = e.charAt(n);
|
2422
2418
|
if (i === "j") {
|
2423
2419
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2424
2420
|
o++, n++;
|
2425
|
-
var u = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", s =
|
2421
|
+
var u = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", s = $r(t);
|
2426
2422
|
for ((s == "H" || s == "k") && (a = 0); a-- > 0; )
|
2427
2423
|
r += l;
|
2428
2424
|
for (; u-- > 0; )
|
@@ -2431,7 +2427,7 @@ function $r(e, t) {
|
|
2431
2427
|
}
|
2432
2428
|
return r;
|
2433
2429
|
}
|
2434
|
-
function
|
2430
|
+
function $r(e) {
|
2435
2431
|
var t = e.hourCycle;
|
2436
2432
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2437
2433
|
e.hourCycles && // @ts-ignore
|
@@ -2453,20 +2449,20 @@ function Rr(e) {
|
|
2453
2449
|
var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
|
2454
2450
|
return i[0];
|
2455
2451
|
}
|
2456
|
-
var
|
2452
|
+
var ve, Rr = new RegExp("^".concat(yt.source, "*")), Fr = new RegExp("".concat(yt.source, "*$"));
|
2457
2453
|
function g(e, t) {
|
2458
2454
|
return { start: e, end: t };
|
2459
2455
|
}
|
2460
|
-
var
|
2456
|
+
var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Ur = !!Object.fromEntries, jr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, zr = Xr ? Number.isSafeInteger : function(e) {
|
2461
2457
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2462
2458
|
}, Se = !0;
|
2463
2459
|
try {
|
2464
|
-
var
|
2465
|
-
Se = ((
|
2460
|
+
var Zr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2461
|
+
Se = ((ve = Zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
2466
2462
|
} catch {
|
2467
2463
|
Se = !1;
|
2468
2464
|
}
|
2469
|
-
var
|
2465
|
+
var We = Gr ? (
|
2470
2466
|
// Native
|
2471
2467
|
function(t, r, n) {
|
2472
2468
|
return t.startsWith(r, n);
|
@@ -2476,7 +2472,7 @@ var Qe = Dr ? (
|
|
2476
2472
|
function(t, r, n) {
|
2477
2473
|
return t.slice(n, n + r.length) === r;
|
2478
2474
|
}
|
2479
|
-
), Be =
|
2475
|
+
), Be = Dr ? String.fromCodePoint : (
|
2480
2476
|
// IE11
|
2481
2477
|
function() {
|
2482
2478
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2488,9 +2484,9 @@ var Qe = Dr ? (
|
|
2488
2484
|
}
|
2489
2485
|
return n;
|
2490
2486
|
}
|
2491
|
-
),
|
2487
|
+
), Qe = (
|
2492
2488
|
// native
|
2493
|
-
|
2489
|
+
Ur ? Object.fromEntries : (
|
2494
2490
|
// Ponyfill
|
2495
2491
|
function(t) {
|
2496
2492
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2500,7 +2496,7 @@ var Qe = Dr ? (
|
|
2500
2496
|
return r;
|
2501
2497
|
}
|
2502
2498
|
)
|
2503
|
-
),
|
2499
|
+
), Ht = jr ? (
|
2504
2500
|
// Native
|
2505
2501
|
function(t, r) {
|
2506
2502
|
return t.codePointAt(r);
|
@@ -2514,7 +2510,7 @@ var Qe = Dr ? (
|
|
2514
2510
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2515
2511
|
}
|
2516
2512
|
}
|
2517
|
-
),
|
2513
|
+
), Wr = kr ? (
|
2518
2514
|
// Native
|
2519
2515
|
function(t) {
|
2520
2516
|
return t.trimStart();
|
@@ -2522,9 +2518,9 @@ var Qe = Dr ? (
|
|
2522
2518
|
) : (
|
2523
2519
|
// Ponyfill
|
2524
2520
|
function(t) {
|
2525
|
-
return t.replace(
|
2521
|
+
return t.replace(Rr, "");
|
2526
2522
|
}
|
2527
|
-
),
|
2523
|
+
), Qr = Vr ? (
|
2528
2524
|
// Native
|
2529
2525
|
function(t) {
|
2530
2526
|
return t.trimEnd();
|
@@ -2532,32 +2528,32 @@ var Qe = Dr ? (
|
|
2532
2528
|
) : (
|
2533
2529
|
// Ponyfill
|
2534
2530
|
function(t) {
|
2535
|
-
return t.replace(
|
2531
|
+
return t.replace(Fr, "");
|
2536
2532
|
}
|
2537
2533
|
);
|
2538
|
-
function
|
2534
|
+
function Tt(e, t) {
|
2539
2535
|
return new RegExp(e, t);
|
2540
2536
|
}
|
2541
2537
|
var we;
|
2542
2538
|
if (Se) {
|
2543
|
-
var
|
2539
|
+
var qe = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2544
2540
|
we = function(t, r) {
|
2545
2541
|
var n;
|
2546
|
-
|
2547
|
-
var i =
|
2542
|
+
qe.lastIndex = r;
|
2543
|
+
var i = qe.exec(t);
|
2548
2544
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2549
2545
|
};
|
2550
2546
|
} else
|
2551
2547
|
we = function(t, r) {
|
2552
2548
|
for (var n = []; ; ) {
|
2553
|
-
var i =
|
2554
|
-
if (i === void 0 ||
|
2549
|
+
var i = Ht(t, r);
|
2550
|
+
if (i === void 0 || Pt(i) || Kr(i))
|
2555
2551
|
break;
|
2556
2552
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2557
2553
|
}
|
2558
2554
|
return Be.apply(void 0, n);
|
2559
2555
|
};
|
2560
|
-
var
|
2556
|
+
var qr = (
|
2561
2557
|
/** @class */
|
2562
2558
|
function() {
|
2563
2559
|
function e(t, r) {
|
@@ -2581,7 +2577,7 @@ var Jr = (
|
|
2581
2577
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2582
2578
|
var a = this.clonePosition();
|
2583
2579
|
this.bump(), i.push({
|
2584
|
-
type:
|
2580
|
+
type: v.pound,
|
2585
2581
|
location: g(a, this.clonePosition())
|
2586
2582
|
});
|
2587
2583
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
@@ -2609,7 +2605,7 @@ var Jr = (
|
|
2609
2605
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2610
2606
|
return {
|
2611
2607
|
val: {
|
2612
|
-
type:
|
2608
|
+
type: v.literal,
|
2613
2609
|
value: "<".concat(i, "/>"),
|
2614
2610
|
location: g(n, this.clonePosition())
|
2615
2611
|
},
|
@@ -2626,7 +2622,7 @@ var Jr = (
|
|
2626
2622
|
var l = this.clonePosition(), s = this.parseTagName();
|
2627
2623
|
return i !== s ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2628
2624
|
val: {
|
2629
|
-
type:
|
2625
|
+
type: v.tag,
|
2630
2626
|
value: i,
|
2631
2627
|
children: u,
|
2632
2628
|
location: g(n, this.clonePosition())
|
@@ -2639,7 +2635,7 @@ var Jr = (
|
|
2639
2635
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2640
2636
|
}, e.prototype.parseTagName = function() {
|
2641
2637
|
var t = this.offset();
|
2642
|
-
for (this.bump(); !this.isEOF() &&
|
2638
|
+
for (this.bump(); !this.isEOF() && Yr(this.char()); )
|
2643
2639
|
this.bump();
|
2644
2640
|
return this.message.slice(t, this.offset());
|
2645
2641
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2663,12 +2659,12 @@ var Jr = (
|
|
2663
2659
|
}
|
2664
2660
|
var l = g(n, this.clonePosition());
|
2665
2661
|
return {
|
2666
|
-
val: { type:
|
2662
|
+
val: { type: v.literal, value: i, location: l },
|
2667
2663
|
err: null
|
2668
2664
|
};
|
2669
2665
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2670
2666
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2671
|
-
!
|
2667
|
+
!Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2672
2668
|
}, e.prototype.tryParseQuote = function(t) {
|
2673
2669
|
if (this.isEOF() || this.char() !== 39)
|
2674
2670
|
return null;
|
@@ -2723,7 +2719,7 @@ var Jr = (
|
|
2723
2719
|
case 125:
|
2724
2720
|
return this.bump(), {
|
2725
2721
|
val: {
|
2726
|
-
type:
|
2722
|
+
type: v.argument,
|
2727
2723
|
// value does not include the opening and closing braces.
|
2728
2724
|
value: i,
|
2729
2725
|
location: g(n, this.clonePosition())
|
@@ -2755,7 +2751,7 @@ var Jr = (
|
|
2755
2751
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2756
2752
|
if (c.err)
|
2757
2753
|
return c;
|
2758
|
-
var f =
|
2754
|
+
var f = Qr(c.val);
|
2759
2755
|
if (f.length === 0)
|
2760
2756
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2761
2757
|
var b = g(h, this.clonePosition());
|
@@ -2765,25 +2761,25 @@ var Jr = (
|
|
2765
2761
|
if (y.err)
|
2766
2762
|
return y;
|
2767
2763
|
var _ = g(i, this.clonePosition());
|
2768
|
-
if (s &&
|
2769
|
-
var m =
|
2764
|
+
if (s && We(s?.style, "::", 0)) {
|
2765
|
+
var m = Wr(s.style.slice(2));
|
2770
2766
|
if (a === "number") {
|
2771
2767
|
var c = this.parseNumberSkeletonFromString(m, s.styleLocation);
|
2772
2768
|
return c.err ? c : {
|
2773
|
-
val: { type:
|
2769
|
+
val: { type: v.number, value: n, location: _, style: c.val },
|
2774
2770
|
err: null
|
2775
2771
|
};
|
2776
2772
|
} else {
|
2777
2773
|
if (m.length === 0)
|
2778
2774
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, _);
|
2779
|
-
var
|
2780
|
-
this.locale && (
|
2775
|
+
var E = m;
|
2776
|
+
this.locale && (E = Cr(m, this.locale));
|
2781
2777
|
var f = {
|
2782
2778
|
type: k.dateTime,
|
2783
|
-
pattern:
|
2779
|
+
pattern: E,
|
2784
2780
|
location: s.styleLocation,
|
2785
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2786
|
-
}, T = a === "date" ?
|
2781
|
+
parsedOptions: this.shouldParseSkeletons ? Sr(E) : {}
|
2782
|
+
}, T = a === "date" ? v.date : v.time;
|
2787
2783
|
return {
|
2788
2784
|
val: { type: T, value: n, location: _, style: f },
|
2789
2785
|
err: null
|
@@ -2792,7 +2788,7 @@ var Jr = (
|
|
2792
2788
|
}
|
2793
2789
|
return {
|
2794
2790
|
val: {
|
2795
|
-
type: a === "number" ?
|
2791
|
+
type: a === "number" ? v.number : a === "date" ? v.date : v.time,
|
2796
2792
|
value: n,
|
2797
2793
|
location: _,
|
2798
2794
|
style: (o = s?.style) !== null && o !== void 0 ? o : null
|
@@ -2826,17 +2822,17 @@ var Jr = (
|
|
2826
2822
|
var $ = g(i, this.clonePosition());
|
2827
2823
|
return a === "select" ? {
|
2828
2824
|
val: {
|
2829
|
-
type:
|
2825
|
+
type: v.select,
|
2830
2826
|
value: n,
|
2831
|
-
options:
|
2827
|
+
options: Qe(w.val),
|
2832
2828
|
location: $
|
2833
2829
|
},
|
2834
2830
|
err: null
|
2835
2831
|
} : {
|
2836
2832
|
val: {
|
2837
|
-
type:
|
2833
|
+
type: v.plural,
|
2838
2834
|
value: n,
|
2839
|
-
options:
|
2835
|
+
options: Qe(w.val),
|
2840
2836
|
offset: A,
|
2841
2837
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2842
2838
|
location: $
|
@@ -2887,7 +2883,7 @@ var Jr = (
|
|
2887
2883
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2888
2884
|
var n = [];
|
2889
2885
|
try {
|
2890
|
-
n =
|
2886
|
+
n = wr(t);
|
2891
2887
|
} catch {
|
2892
2888
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2893
2889
|
}
|
@@ -2896,7 +2892,7 @@ var Jr = (
|
|
2896
2892
|
type: k.number,
|
2897
2893
|
tokens: n,
|
2898
2894
|
location: r,
|
2899
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2895
|
+
parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
|
2900
2896
|
},
|
2901
2897
|
err: null
|
2902
2898
|
};
|
@@ -2944,7 +2940,7 @@ var Jr = (
|
|
2944
2940
|
break;
|
2945
2941
|
}
|
2946
2942
|
var l = g(i, this.clonePosition());
|
2947
|
-
return o ? (u *= n,
|
2943
|
+
return o ? (u *= n, zr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
2948
2944
|
}, e.prototype.offset = function() {
|
2949
2945
|
return this.position.offset;
|
2950
2946
|
}, e.prototype.isEOF = function() {
|
@@ -2959,7 +2955,7 @@ var Jr = (
|
|
2959
2955
|
var t = this.position.offset;
|
2960
2956
|
if (t >= this.message.length)
|
2961
2957
|
throw Error("out of bound");
|
2962
|
-
var r =
|
2958
|
+
var r = Ht(this.message, t);
|
2963
2959
|
if (r === void 0)
|
2964
2960
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2965
2961
|
return r;
|
@@ -2978,7 +2974,7 @@ var Jr = (
|
|
2978
2974
|
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);
|
2979
2975
|
}
|
2980
2976
|
}, e.prototype.bumpIf = function(t) {
|
2981
|
-
if (
|
2977
|
+
if (We(this.message, t, this.offset())) {
|
2982
2978
|
for (var r = 0; r < t.length; r++)
|
2983
2979
|
this.bump();
|
2984
2980
|
return !0;
|
@@ -3000,7 +2996,7 @@ var Jr = (
|
|
3000
2996
|
break;
|
3001
2997
|
}
|
3002
2998
|
}, e.prototype.bumpSpace = function() {
|
3003
|
-
for (; !this.isEOF() &&
|
2999
|
+
for (; !this.isEOF() && Pt(this.char()); )
|
3004
3000
|
this.bump();
|
3005
3001
|
}, e.prototype.peek = function() {
|
3006
3002
|
if (this.isEOF())
|
@@ -3013,29 +3009,29 @@ var Jr = (
|
|
3013
3009
|
function Oe(e) {
|
3014
3010
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3015
3011
|
}
|
3016
|
-
function
|
3012
|
+
function Jr(e) {
|
3017
3013
|
return Oe(e) || e === 47;
|
3018
3014
|
}
|
3019
|
-
function
|
3015
|
+
function Yr(e) {
|
3020
3016
|
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;
|
3021
3017
|
}
|
3022
|
-
function
|
3018
|
+
function Pt(e) {
|
3023
3019
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3024
3020
|
}
|
3025
|
-
function
|
3021
|
+
function Kr(e) {
|
3026
3022
|
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;
|
3027
3023
|
}
|
3028
3024
|
function Ie(e) {
|
3029
3025
|
e.forEach(function(t) {
|
3030
|
-
if (delete t.location,
|
3026
|
+
if (delete t.location, gt(t) || dt(t))
|
3031
3027
|
for (var r in t.options)
|
3032
3028
|
delete t.options[r].location, Ie(t.options[r].value);
|
3033
|
-
else
|
3029
|
+
else ct(t) && xt(t.style) || (mt(t) || pt(t)) && Ae(t.style) ? delete t.style.location : bt(t) && Ie(t.children);
|
3034
3030
|
});
|
3035
3031
|
}
|
3036
|
-
function
|
3032
|
+
function en(e, t) {
|
3037
3033
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3038
|
-
var r = new
|
3034
|
+
var r = new qr(e, t).parse();
|
3039
3035
|
if (r.err) {
|
3040
3036
|
var n = SyntaxError(p[r.err.kind]);
|
3041
3037
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3058,7 +3054,7 @@ var fe = (
|
|
3058
3054
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3059
3055
|
}, t;
|
3060
3056
|
}(Error)
|
3061
|
-
),
|
3057
|
+
), Je = (
|
3062
3058
|
/** @class */
|
3063
3059
|
function(e) {
|
3064
3060
|
le(t, e);
|
@@ -3067,7 +3063,7 @@ var fe = (
|
|
3067
3063
|
}
|
3068
3064
|
return t;
|
3069
3065
|
}(fe)
|
3070
|
-
),
|
3066
|
+
), tn = (
|
3071
3067
|
/** @class */
|
3072
3068
|
function(e) {
|
3073
3069
|
le(t, e);
|
@@ -3076,7 +3072,7 @@ var fe = (
|
|
3076
3072
|
}
|
3077
3073
|
return t;
|
3078
3074
|
}(fe)
|
3079
|
-
),
|
3075
|
+
), rn = (
|
3080
3076
|
/** @class */
|
3081
3077
|
function(e) {
|
3082
3078
|
le(t, e);
|
@@ -3089,17 +3085,17 @@ var fe = (
|
|
3089
3085
|
(function(e) {
|
3090
3086
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3091
3087
|
})(P || (P = {}));
|
3092
|
-
function
|
3088
|
+
function nn(e) {
|
3093
3089
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3094
3090
|
var n = t[t.length - 1];
|
3095
3091
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
3096
3092
|
}, []);
|
3097
3093
|
}
|
3098
|
-
function
|
3094
|
+
function on(e) {
|
3099
3095
|
return typeof e == "function";
|
3100
3096
|
}
|
3101
3097
|
function oe(e, t, r, n, i, o, u) {
|
3102
|
-
if (e.length === 1 &&
|
3098
|
+
if (e.length === 1 && Ve(e[0]))
|
3103
3099
|
return [
|
3104
3100
|
{
|
3105
3101
|
type: P.literal,
|
@@ -3108,14 +3104,14 @@ function oe(e, t, r, n, i, o, u) {
|
|
3108
3104
|
];
|
3109
3105
|
for (var a = [], l = 0, s = e; l < s.length; l++) {
|
3110
3106
|
var h = s[l];
|
3111
|
-
if (
|
3107
|
+
if (Ve(h)) {
|
3112
3108
|
a.push({
|
3113
3109
|
type: P.literal,
|
3114
3110
|
value: h.value
|
3115
3111
|
});
|
3116
3112
|
continue;
|
3117
3113
|
}
|
3118
|
-
if (
|
3114
|
+
if (Nr(h)) {
|
3119
3115
|
typeof o == "number" && a.push({
|
3120
3116
|
type: P.literal,
|
3121
3117
|
value: r.getNumberFormat(t).format(o)
|
@@ -3124,16 +3120,16 @@ function oe(e, t, r, n, i, o, u) {
|
|
3124
3120
|
}
|
3125
3121
|
var c = h.value;
|
3126
3122
|
if (!(i && c in i))
|
3127
|
-
throw new
|
3123
|
+
throw new rn(c, u);
|
3128
3124
|
var f = i[c];
|
3129
|
-
if (
|
3125
|
+
if (Pr(h)) {
|
3130
3126
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3131
3127
|
type: typeof f == "string" ? P.literal : P.object,
|
3132
3128
|
value: f
|
3133
3129
|
});
|
3134
3130
|
continue;
|
3135
3131
|
}
|
3136
|
-
if (
|
3132
|
+
if (mt(h)) {
|
3137
3133
|
var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
|
3138
3134
|
a.push({
|
3139
3135
|
type: P.literal,
|
@@ -3141,7 +3137,7 @@ function oe(e, t, r, n, i, o, u) {
|
|
3141
3137
|
});
|
3142
3138
|
continue;
|
3143
3139
|
}
|
3144
|
-
if (
|
3140
|
+
if (pt(h)) {
|
3145
3141
|
var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
|
3146
3142
|
a.push({
|
3147
3143
|
type: P.literal,
|
@@ -3149,19 +3145,19 @@ function oe(e, t, r, n, i, o, u) {
|
|
3149
3145
|
});
|
3150
3146
|
continue;
|
3151
3147
|
}
|
3152
|
-
if (
|
3153
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
3148
|
+
if (ct(h)) {
|
3149
|
+
var b = typeof h.style == "string" ? n.number[h.style] : xt(h.style) ? h.style.parsedOptions : void 0;
|
3154
3150
|
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
3155
3151
|
type: P.literal,
|
3156
3152
|
value: r.getNumberFormat(t, b).format(f)
|
3157
3153
|
});
|
3158
3154
|
continue;
|
3159
3155
|
}
|
3160
|
-
if (
|
3156
|
+
if (bt(h)) {
|
3161
3157
|
var y = h.children, _ = h.value, m = i[_];
|
3162
|
-
if (!
|
3163
|
-
throw new
|
3164
|
-
var
|
3158
|
+
if (!on(m))
|
3159
|
+
throw new tn(_, "function", u);
|
3160
|
+
var E = oe(y, t, r, n, i, o), T = m(E.map(function(A) {
|
3165
3161
|
return A.value;
|
3166
3162
|
}));
|
3167
3163
|
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(A) {
|
@@ -3171,14 +3167,14 @@ function oe(e, t, r, n, i, o, u) {
|
|
3171
3167
|
};
|
3172
3168
|
}));
|
3173
3169
|
}
|
3174
|
-
if (
|
3170
|
+
if (gt(h)) {
|
3175
3171
|
var N = h.options[f] || h.options.other;
|
3176
3172
|
if (!N)
|
3177
|
-
throw new
|
3173
|
+
throw new Je(h.value, f, Object.keys(h.options), u);
|
3178
3174
|
a.push.apply(a, oe(N.value, t, r, n, i));
|
3179
3175
|
continue;
|
3180
3176
|
}
|
3181
|
-
if (
|
3177
|
+
if (dt(h)) {
|
3182
3178
|
var N = h.options["=".concat(f)];
|
3183
3179
|
if (!N) {
|
3184
3180
|
if (!Intl.PluralRules)
|
@@ -3189,24 +3185,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3189
3185
|
N = h.options[S] || h.options.other;
|
3190
3186
|
}
|
3191
3187
|
if (!N)
|
3192
|
-
throw new
|
3188
|
+
throw new Je(h.value, f, Object.keys(h.options), u);
|
3193
3189
|
a.push.apply(a, oe(N.value, t, r, n, i, f - (h.offset || 0)));
|
3194
3190
|
continue;
|
3195
3191
|
}
|
3196
3192
|
}
|
3197
|
-
return
|
3193
|
+
return nn(a);
|
3198
3194
|
}
|
3199
|
-
function
|
3195
|
+
function an(e, t) {
|
3200
3196
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3201
3197
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3202
3198
|
}, {})) : e;
|
3203
3199
|
}
|
3204
|
-
function
|
3200
|
+
function sn(e, t) {
|
3205
3201
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3206
|
-
return r[n] =
|
3202
|
+
return r[n] = an(e[n], t[n]), r;
|
3207
3203
|
}, d({}, e)) : e;
|
3208
3204
|
}
|
3209
|
-
function
|
3205
|
+
function Ee(e) {
|
3210
3206
|
return {
|
3211
3207
|
create: function() {
|
3212
3208
|
return {
|
@@ -3220,7 +3216,7 @@ function ve(e) {
|
|
3220
3216
|
}
|
3221
3217
|
};
|
3222
3218
|
}
|
3223
|
-
function
|
3219
|
+
function un(e) {
|
3224
3220
|
return e === void 0 && (e = {
|
3225
3221
|
number: {},
|
3226
3222
|
dateTime: {},
|
@@ -3231,7 +3227,7 @@ function hn(e) {
|
|
3231
3227
|
r[n] = arguments[n];
|
3232
3228
|
return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
|
3233
3229
|
}, {
|
3234
|
-
cache:
|
3230
|
+
cache: Ee(e.number),
|
3235
3231
|
strategy: ye.variadic
|
3236
3232
|
}),
|
3237
3233
|
getDateTimeFormat: xe(function() {
|
@@ -3239,7 +3235,7 @@ function hn(e) {
|
|
3239
3235
|
r[n] = arguments[n];
|
3240
3236
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
|
3241
3237
|
}, {
|
3242
|
-
cache:
|
3238
|
+
cache: Ee(e.dateTime),
|
3243
3239
|
strategy: ye.variadic
|
3244
3240
|
}),
|
3245
3241
|
getPluralRules: xe(function() {
|
@@ -3247,12 +3243,12 @@ function hn(e) {
|
|
3247
3243
|
r[n] = arguments[n];
|
3248
3244
|
return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
|
3249
3245
|
}, {
|
3250
|
-
cache:
|
3246
|
+
cache: Ee(e.pluralRules),
|
3251
3247
|
strategy: ye.variadic
|
3252
3248
|
})
|
3253
3249
|
};
|
3254
3250
|
}
|
3255
|
-
var
|
3251
|
+
var hn = (
|
3256
3252
|
/** @class */
|
3257
3253
|
function() {
|
3258
3254
|
function e(t, r, n, i) {
|
@@ -3284,13 +3280,13 @@ var ln = (
|
|
3284
3280
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3285
3281
|
var u = i || {};
|
3286
3282
|
u.formatters;
|
3287
|
-
var a =
|
3283
|
+
var a = br(u, ["formatters"]);
|
3288
3284
|
this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
|
3289
3285
|
} else
|
3290
3286
|
this.ast = t;
|
3291
3287
|
if (!Array.isArray(this.ast))
|
3292
3288
|
throw new TypeError("A message must be provided as a String or AST.");
|
3293
|
-
this.formats =
|
3289
|
+
this.formats = sn(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
|
3294
3290
|
}
|
3295
3291
|
return Object.defineProperty(e, "defaultLocale", {
|
3296
3292
|
get: function() {
|
@@ -3303,7 +3299,7 @@ var ln = (
|
|
3303
3299
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3304
3300
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3305
3301
|
}
|
3306
|
-
}, e.__parse =
|
3302
|
+
}, e.__parse = en, e.formats = {
|
3307
3303
|
number: {
|
3308
3304
|
integer: {
|
3309
3305
|
maximumFractionDigits: 0
|
@@ -3364,7 +3360,7 @@ var ln = (
|
|
3364
3360
|
}, e;
|
3365
3361
|
}()
|
3366
3362
|
);
|
3367
|
-
function
|
3363
|
+
function ln(e, t) {
|
3368
3364
|
if (t == null)
|
3369
3365
|
return;
|
3370
3366
|
if (t in e)
|
@@ -3385,60 +3381,60 @@ function fn(e, t) {
|
|
3385
3381
|
n = void 0;
|
3386
3382
|
return n;
|
3387
3383
|
}
|
3388
|
-
const I = {},
|
3384
|
+
const I = {}, fn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Nt = (e, t) => {
|
3389
3385
|
if (t == null)
|
3390
3386
|
return;
|
3391
3387
|
if (t in I && e in I[t])
|
3392
3388
|
return I[t][e];
|
3393
3389
|
const r = ce(t);
|
3394
3390
|
for (let n = 0; n < r.length; n++) {
|
3395
|
-
const i = r[n], o =
|
3391
|
+
const i = r[n], o = mn(i, e);
|
3396
3392
|
if (o)
|
3397
|
-
return
|
3393
|
+
return fn(e, t, o);
|
3398
3394
|
}
|
3399
3395
|
};
|
3400
|
-
let
|
3396
|
+
let Fe;
|
3401
3397
|
const te = he({});
|
3402
|
-
function
|
3403
|
-
return
|
3398
|
+
function cn(e) {
|
3399
|
+
return Fe[e] || null;
|
3404
3400
|
}
|
3405
|
-
function
|
3406
|
-
return e in
|
3401
|
+
function At(e) {
|
3402
|
+
return e in Fe;
|
3407
3403
|
}
|
3408
|
-
function
|
3409
|
-
if (!
|
3404
|
+
function mn(e, t) {
|
3405
|
+
if (!At(e))
|
3410
3406
|
return null;
|
3411
|
-
const r =
|
3412
|
-
return
|
3407
|
+
const r = cn(e);
|
3408
|
+
return ln(r, t);
|
3413
3409
|
}
|
3414
|
-
function
|
3410
|
+
function pn(e) {
|
3415
3411
|
if (e == null)
|
3416
3412
|
return;
|
3417
3413
|
const t = ce(e);
|
3418
3414
|
for (let r = 0; r < t.length; r++) {
|
3419
3415
|
const n = t[r];
|
3420
|
-
if (
|
3416
|
+
if (At(n))
|
3421
3417
|
return n;
|
3422
3418
|
}
|
3423
3419
|
}
|
3424
|
-
function
|
3425
|
-
delete I[e], te.update((r) => (r[e] =
|
3420
|
+
function St(e, ...t) {
|
3421
|
+
delete I[e], te.update((r) => (r[e] = dr.all([r[e] || {}, ...t]), r));
|
3426
3422
|
}
|
3427
3423
|
z(
|
3428
3424
|
[te],
|
3429
3425
|
([e]) => Object.keys(e)
|
3430
3426
|
);
|
3431
|
-
te.subscribe((e) =>
|
3427
|
+
te.subscribe((e) => Fe = e);
|
3432
3428
|
const ae = {};
|
3433
|
-
function
|
3429
|
+
function gn(e, t) {
|
3434
3430
|
ae[e].delete(t), ae[e].size === 0 && delete ae[e];
|
3435
3431
|
}
|
3436
|
-
function
|
3432
|
+
function Bt(e) {
|
3437
3433
|
return ae[e];
|
3438
3434
|
}
|
3439
|
-
function
|
3435
|
+
function dn(e) {
|
3440
3436
|
return ce(e).map((t) => {
|
3441
|
-
const r =
|
3437
|
+
const r = Bt(t);
|
3442
3438
|
return [t, r ? [...r] : []];
|
3443
3439
|
}).filter(([, t]) => t.length > 0);
|
3444
3440
|
}
|
@@ -3446,31 +3442,31 @@ function Me(e) {
|
|
3446
3442
|
return e == null ? !1 : ce(e).some(
|
3447
3443
|
(t) => {
|
3448
3444
|
var r;
|
3449
|
-
return (r =
|
3445
|
+
return (r = Bt(t)) == null ? void 0 : r.size;
|
3450
3446
|
}
|
3451
3447
|
);
|
3452
3448
|
}
|
3453
|
-
function
|
3449
|
+
function bn(e, t) {
|
3454
3450
|
return Promise.all(
|
3455
|
-
t.map((n) => (
|
3456
|
-
).then((n) =>
|
3451
|
+
t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
|
3452
|
+
).then((n) => St(e, ...n));
|
3457
3453
|
}
|
3458
3454
|
const q = {};
|
3459
|
-
function
|
3455
|
+
function wt(e) {
|
3460
3456
|
if (!Me(e))
|
3461
3457
|
return e in q ? q[e] : Promise.resolve();
|
3462
|
-
const t =
|
3458
|
+
const t = dn(e);
|
3463
3459
|
return q[e] = Promise.all(
|
3464
3460
|
t.map(
|
3465
|
-
([r, n]) =>
|
3461
|
+
([r, n]) => bn(r, n)
|
3466
3462
|
)
|
3467
3463
|
).then(() => {
|
3468
3464
|
if (Me(e))
|
3469
|
-
return
|
3465
|
+
return wt(e);
|
3470
3466
|
delete q[e];
|
3471
3467
|
}), q[e];
|
3472
3468
|
}
|
3473
|
-
const
|
3469
|
+
const xn = {
|
3474
3470
|
number: {
|
3475
3471
|
scientific: { notation: "scientific" },
|
3476
3472
|
engineering: { notation: "engineering" },
|
@@ -3499,34 +3495,34 @@ const yn = {
|
|
3499
3495
|
timeZoneName: "short"
|
3500
3496
|
}
|
3501
3497
|
}
|
3502
|
-
},
|
3498
|
+
}, yn = {
|
3503
3499
|
fallbackLocale: null,
|
3504
3500
|
loadingDelay: 200,
|
3505
|
-
formats:
|
3501
|
+
formats: xn,
|
3506
3502
|
warnOnMissingMessages: !0,
|
3507
3503
|
handleMissingMessage: void 0,
|
3508
3504
|
ignoreTag: !0
|
3509
|
-
}, vn =
|
3505
|
+
}, vn = yn;
|
3510
3506
|
function X() {
|
3511
3507
|
return vn;
|
3512
3508
|
}
|
3513
3509
|
const _e = he(!1);
|
3514
|
-
var
|
3515
|
-
for (var r in t)
|
3516
|
-
|
3517
|
-
if (
|
3518
|
-
for (var r of
|
3519
|
-
|
3510
|
+
var En = Object.defineProperty, _n = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nn = (e, t) => {
|
3511
|
+
for (var r in t || (t = {}))
|
3512
|
+
Tn.call(t, r) && Ke(e, r, t[r]);
|
3513
|
+
if (Ye)
|
3514
|
+
for (var r of Ye(t))
|
3515
|
+
Pn.call(t, r) && Ke(e, r, t[r]);
|
3520
3516
|
return e;
|
3521
|
-
},
|
3517
|
+
}, An = (e, t) => _n(e, Hn(t));
|
3522
3518
|
let Le;
|
3523
3519
|
const se = he(null);
|
3524
|
-
function
|
3520
|
+
function et(e) {
|
3525
3521
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3526
3522
|
}
|
3527
3523
|
function ce(e, t = X().fallbackLocale) {
|
3528
|
-
const r =
|
3529
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3524
|
+
const r = et(e);
|
3525
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
3530
3526
|
}
|
3531
3527
|
function C() {
|
3532
3528
|
return Le ?? void 0;
|
@@ -3534,22 +3530,22 @@ function C() {
|
|
3534
3530
|
se.subscribe((e) => {
|
3535
3531
|
Le = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3536
3532
|
});
|
3537
|
-
const
|
3538
|
-
if (e &&
|
3533
|
+
const Sn = (e) => {
|
3534
|
+
if (e && pn(e) && Me(e)) {
|
3539
3535
|
const { loadingDelay: t } = X();
|
3540
3536
|
let r;
|
3541
3537
|
return typeof window < "u" && C() != null && t ? r = window.setTimeout(
|
3542
3538
|
() => _e.set(!0),
|
3543
3539
|
t
|
3544
|
-
) : _e.set(!0),
|
3540
|
+
) : _e.set(!0), wt(e).then(() => {
|
3545
3541
|
se.set(e);
|
3546
3542
|
}).finally(() => {
|
3547
3543
|
clearTimeout(r), _e.set(!1);
|
3548
3544
|
});
|
3549
3545
|
}
|
3550
3546
|
return se.set(e);
|
3551
|
-
}, Z =
|
3552
|
-
set:
|
3547
|
+
}, Z = An(Nn({}, se), {
|
3548
|
+
set: Sn
|
3553
3549
|
}), me = (e) => {
|
3554
3550
|
const t = /* @__PURE__ */ Object.create(null);
|
3555
3551
|
return (n) => {
|
@@ -3557,20 +3553,20 @@ const Bn = (e) => {
|
|
3557
3553
|
return i in t ? t[i] : t[i] = e(n);
|
3558
3554
|
};
|
3559
3555
|
};
|
3560
|
-
var
|
3556
|
+
var Bn = Object.defineProperty, ue = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
3561
3557
|
for (var r in t || (t = {}))
|
3562
|
-
|
3558
|
+
Ot.call(t, r) && tt(e, r, t[r]);
|
3563
3559
|
if (ue)
|
3564
3560
|
for (var r of ue(t))
|
3565
|
-
|
3561
|
+
It.call(t, r) && tt(e, r, t[r]);
|
3566
3562
|
return e;
|
3567
3563
|
}, W = (e, t) => {
|
3568
3564
|
var r = {};
|
3569
3565
|
for (var n in e)
|
3570
|
-
|
3566
|
+
Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3571
3567
|
if (e != null && ue)
|
3572
3568
|
for (var n of ue(e))
|
3573
|
-
t.indexOf(n) < 0 &&
|
3569
|
+
t.indexOf(n) < 0 && It.call(e, n) && (r[n] = e[n]);
|
3574
3570
|
return r;
|
3575
3571
|
};
|
3576
3572
|
const K = (e, t) => {
|
@@ -3578,21 +3574,21 @@ const K = (e, t) => {
|
|
3578
3574
|
if (e in r && t in r[e])
|
3579
3575
|
return r[e][t];
|
3580
3576
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3581
|
-
},
|
3577
|
+
}, wn = me(
|
3582
3578
|
(e) => {
|
3583
3579
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3584
3580
|
if (r == null)
|
3585
3581
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3586
3582
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
3587
3583
|
}
|
3588
|
-
),
|
3584
|
+
), On = me(
|
3589
3585
|
(e) => {
|
3590
3586
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3591
3587
|
if (r == null)
|
3592
3588
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3593
3589
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
3594
3590
|
}
|
3595
|
-
),
|
3591
|
+
), In = me(
|
3596
3592
|
(e) => {
|
3597
3593
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3598
3594
|
if (r == null)
|
@@ -3601,33 +3597,33 @@ const K = (e, t) => {
|
|
3601
3597
|
);
|
3602
3598
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
3603
3599
|
}
|
3604
|
-
),
|
3600
|
+
), Mn = (e = {}) => {
|
3605
3601
|
var t = e, {
|
3606
3602
|
locale: r = C()
|
3607
3603
|
} = t, n = W(t, [
|
3608
3604
|
"locale"
|
3609
3605
|
]);
|
3610
|
-
return
|
3611
|
-
},
|
3606
|
+
return wn(Ge({ locale: r }, n));
|
3607
|
+
}, Ln = (e = {}) => {
|
3612
3608
|
var t = e, {
|
3613
3609
|
locale: r = C()
|
3614
3610
|
} = t, n = W(t, [
|
3615
3611
|
"locale"
|
3616
3612
|
]);
|
3617
|
-
return
|
3618
|
-
},
|
3613
|
+
return On(Ge({ locale: r }, n));
|
3614
|
+
}, Cn = (e = {}) => {
|
3619
3615
|
var t = e, {
|
3620
3616
|
locale: r = C()
|
3621
3617
|
} = t, n = W(t, [
|
3622
3618
|
"locale"
|
3623
3619
|
]);
|
3624
|
-
return
|
3625
|
-
},
|
3620
|
+
return In(Ge({ locale: r }, n));
|
3621
|
+
}, $n = me(
|
3626
3622
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3627
|
-
(e, t = C()) => new
|
3623
|
+
(e, t = C()) => new hn(e, t, X().formats, {
|
3628
3624
|
ignoreTag: X().ignoreTag
|
3629
3625
|
})
|
3630
|
-
),
|
3626
|
+
), Rn = (e, t = {}) => {
|
3631
3627
|
var r, n, i, o;
|
3632
3628
|
let u = t;
|
3633
3629
|
typeof e == "object" && (u = e, e = u.id);
|
@@ -3640,7 +3636,7 @@ const K = (e, t) => {
|
|
3640
3636
|
throw new Error(
|
3641
3637
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3642
3638
|
);
|
3643
|
-
let h =
|
3639
|
+
let h = Nt(e, l);
|
3644
3640
|
if (!h)
|
3645
3641
|
h = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: s })) != null ? i : s) != null ? o : e;
|
3646
3642
|
else if (typeof h != "string")
|
@@ -3651,7 +3647,7 @@ const K = (e, t) => {
|
|
3651
3647
|
return h;
|
3652
3648
|
let c = h;
|
3653
3649
|
try {
|
3654
|
-
c =
|
3650
|
+
c = $n(h, l).format(a);
|
3655
3651
|
} catch (f) {
|
3656
3652
|
f instanceof Error && console.warn(
|
3657
3653
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3659,18 +3655,18 @@ const K = (e, t) => {
|
|
3659
3655
|
);
|
3660
3656
|
}
|
3661
3657
|
return c;
|
3662
|
-
},
|
3658
|
+
}, Fn = (e, t) => Cn(t).format(e), Gn = (e, t) => Ln(t).format(e), Dn = (e, t) => Mn(t).format(e), Un = (e, t = C()) => Nt(e, t), jn = z([Z, te], () => Rn);
|
3659
|
+
z([Z], () => Fn);
|
3663
3660
|
z([Z], () => Gn);
|
3664
3661
|
z([Z], () => Dn);
|
3665
|
-
z([Z], () => Un);
|
3666
|
-
|
3667
|
-
|
3668
|
-
Bt(e, t);
|
3662
|
+
z([Z, te], () => Un);
|
3663
|
+
function rt(e, t) {
|
3664
|
+
St(e, t);
|
3669
3665
|
}
|
3670
|
-
function
|
3666
|
+
function kn(e) {
|
3671
3667
|
Z.set(e);
|
3672
3668
|
}
|
3673
|
-
const
|
3669
|
+
const nt = {
|
3674
3670
|
en: {
|
3675
3671
|
pageNotFound: "Page not found",
|
3676
3672
|
pageNotFoundMessage: "The page you were looking for could not be found. Please go back to our Homepage.",
|
@@ -3762,26 +3758,26 @@ const it = {
|
|
3762
3758
|
home: "Go to homepage"
|
3763
3759
|
}
|
3764
3760
|
};
|
3765
|
-
function
|
3766
|
-
|
3761
|
+
function Vn(e) {
|
3762
|
+
Ct(e, "svelte-3g8nw6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.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, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));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}}');
|
3767
3763
|
}
|
3768
|
-
function
|
3764
|
+
function Xn(e) {
|
3769
3765
|
let t, r, n, i, o, u, a, l, s, h, c, f, b = (
|
3770
3766
|
/*$_*/
|
3771
3767
|
e[1]("pageNotFound") + ""
|
3772
|
-
), y, _, m,
|
3768
|
+
), y, _, m, E = (
|
3773
3769
|
/*$_*/
|
3774
3770
|
e[1]("pageNotFoundMessage") + ""
|
3775
3771
|
), T, N, S, A = (
|
3776
3772
|
/*$_*/
|
3777
3773
|
e[1]("home") + ""
|
3778
|
-
), w, $,
|
3774
|
+
), w, $, De;
|
3779
3775
|
return {
|
3780
3776
|
c() {
|
3781
|
-
t = L("div"), r = L("div"), n = O("svg"), i = O("g"), o = O("path"), u = O("path"), a = O("path"), l = O("path"), s = O("path"), h = O("path"), c = pe(), f = L("p"), y = ne(b), _ = pe(), m = L("p"), T = ne(
|
3777
|
+
t = L("div"), r = L("div"), n = O("svg"), i = O("g"), o = O("path"), u = O("path"), a = O("path"), l = O("path"), s = O("path"), h = O("path"), c = pe(), f = L("p"), y = ne(b), _ = pe(), m = L("p"), T = ne(E), N = pe(), S = L("button"), w = ne(A), 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(a, "class", "a"), x(a, "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(a, "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(s, "class", "a"), x(s, "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(s, "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(f, "class", "PageTitle"), x(m, "class", "PageContent"), x(S, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
|
3782
3778
|
},
|
3783
3779
|
m(M, Q) {
|
3784
|
-
|
3780
|
+
st(M, t, Q), H(t, r), H(r, n), H(n, i), H(i, o), H(i, u), H(i, a), H(i, l), H(i, s), H(i, h), H(r, c), H(r, f), H(f, y), H(r, _), H(r, m), H(m, T), H(r, N), H(r, S), H(S, w), e[8](t), $ || (De = Ft(
|
3785
3781
|
S,
|
3786
3782
|
"click",
|
3787
3783
|
/*click_handler*/
|
@@ -3792,47 +3788,47 @@ function zn(e) {
|
|
3792
3788
|
Q & /*$_*/
|
3793
3789
|
2 && b !== (b = /*$_*/
|
3794
3790
|
M[1]("pageNotFound") + "") && ge(y, b), Q & /*$_*/
|
3795
|
-
2 &&
|
3796
|
-
M[1]("pageNotFoundMessage") + "") && ge(T,
|
3791
|
+
2 && E !== (E = /*$_*/
|
3792
|
+
M[1]("pageNotFoundMessage") + "") && ge(T, E), Q & /*$_*/
|
3797
3793
|
2 && A !== (A = /*$_*/
|
3798
3794
|
M[1]("home") + "") && ge(w, A);
|
3799
3795
|
},
|
3800
3796
|
i: B,
|
3801
3797
|
o: B,
|
3802
3798
|
d(M) {
|
3803
|
-
M && $e(t), e[8](null), $ = !1,
|
3799
|
+
M && $e(t), e[8](null), $ = !1, De();
|
3804
3800
|
}
|
3805
3801
|
};
|
3806
3802
|
}
|
3807
|
-
function
|
3803
|
+
function zn(e, t, r) {
|
3808
3804
|
let n;
|
3809
|
-
|
3805
|
+
Lt(e, jn, (m) => r(1, n = m));
|
3810
3806
|
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: a = "" } = t, l;
|
3811
3807
|
const s = () => {
|
3812
|
-
fetch(a).then((
|
3813
|
-
Object.keys(
|
3814
|
-
|
3808
|
+
fetch(a).then((E) => E.json()).then((E) => {
|
3809
|
+
Object.keys(E).forEach((T) => {
|
3810
|
+
rt(T, E[T]);
|
3815
3811
|
});
|
3816
|
-
}).catch((
|
3817
|
-
console.log(
|
3812
|
+
}).catch((E) => {
|
3813
|
+
console.log(E);
|
3818
3814
|
});
|
3819
3815
|
};
|
3820
|
-
Object.keys(
|
3821
|
-
|
3816
|
+
Object.keys(nt).forEach((m) => {
|
3817
|
+
rt(m, nt[m]);
|
3822
3818
|
});
|
3823
3819
|
const h = () => {
|
3824
3820
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
3825
3821
|
}, c = () => {
|
3826
|
-
|
3822
|
+
kn(i);
|
3827
3823
|
}, f = () => {
|
3828
3824
|
let m = document.createElement("style");
|
3829
3825
|
m.innerHTML = o, l.appendChild(m);
|
3830
3826
|
}, b = () => {
|
3831
|
-
let m = new URL(u),
|
3827
|
+
let m = new URL(u), E = document.createElement("style");
|
3832
3828
|
fetch(m.href).then((T) => T.text()).then((T) => {
|
3833
|
-
|
3829
|
+
E.innerHTML = T, setTimeout(
|
3834
3830
|
() => {
|
3835
|
-
l.appendChild(
|
3831
|
+
l.appendChild(E);
|
3836
3832
|
},
|
3837
3833
|
1
|
3838
3834
|
);
|
@@ -3863,21 +3859,21 @@ function Zn(e, t, r) {
|
|
3863
3859
|
_
|
3864
3860
|
];
|
3865
3861
|
}
|
3866
|
-
class
|
3862
|
+
class Zn extends Yt {
|
3867
3863
|
constructor(t) {
|
3868
|
-
super(),
|
3864
|
+
super(), qt(
|
3869
3865
|
this,
|
3870
3866
|
t,
|
3871
|
-
Zn,
|
3872
3867
|
zn,
|
3873
|
-
|
3868
|
+
Xn,
|
3869
|
+
ot,
|
3874
3870
|
{
|
3875
3871
|
lang: 3,
|
3876
3872
|
clientstyling: 4,
|
3877
3873
|
clientstylingurl: 5,
|
3878
3874
|
translationurl: 6
|
3879
3875
|
},
|
3880
|
-
|
3876
|
+
Vn
|
3881
3877
|
);
|
3882
3878
|
}
|
3883
3879
|
get lang() {
|
@@ -3905,7 +3901,7 @@ class Wn extends Kt {
|
|
3905
3901
|
this.$$set({ translationurl: t }), D();
|
3906
3902
|
}
|
3907
3903
|
}
|
3908
|
-
|
3904
|
+
Jt(Zn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
3909
3905
|
export {
|
3910
|
-
|
3906
|
+
Zn as C
|
3911
3907
|
};
|