@everymatrix/casino-404 1.64.8 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{Casino404-ykliX55J.js → Casino404-BkCsbCKX.js} +573 -577
- package/components/Casino404-d8Xyezwi.cjs +16 -0
- package/components/{Casino404-D8o6BpuZ.js → Casino404-tJvOUXbn.js} +561 -565
- 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,33 +1,33 @@
|
|
1
|
-
function
|
1
|
+
function S() {
|
2
2
|
}
|
3
3
|
function at(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function je() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
9
|
+
function te(e) {
|
10
10
|
e.forEach(at);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function $e(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
15
|
function st(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function Ct(e) {
|
19
19
|
return Object.keys(e).length === 0;
|
20
20
|
}
|
21
21
|
function ut(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
|
-
function
|
30
|
+
function $t(e, t, r) {
|
31
31
|
e.$$.on_destroy.push(ut(t, r));
|
32
32
|
}
|
33
33
|
function _(e, t) {
|
@@ -36,7 +36,7 @@ function _(e, t) {
|
|
36
36
|
function Rt(e, t, r) {
|
37
37
|
const n = Ft(e);
|
38
38
|
if (!n.getElementById(t)) {
|
39
|
-
const i =
|
39
|
+
const i = L("style");
|
40
40
|
i.id = t, i.textContent = r, Gt(n, i);
|
41
41
|
}
|
42
42
|
}
|
@@ -60,35 +60,35 @@ function Gt(e, t) {
|
|
60
60
|
function ht(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
78
|
function Ut(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
84
|
function Dt(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 kt(e) {
|
92
92
|
const t = {};
|
93
93
|
return e.childNodes.forEach(
|
94
94
|
/** @param {Element} node */
|
@@ -97,65 +97,65 @@ 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
|
-
function
|
105
|
-
if (!
|
104
|
+
function jt() {
|
105
|
+
if (!Y)
|
106
106
|
throw new Error("Function called outside component initialization");
|
107
|
-
return
|
107
|
+
return Y;
|
108
108
|
}
|
109
109
|
function Vt(e) {
|
110
|
-
|
110
|
+
jt().$$.on_mount.push(e);
|
111
111
|
}
|
112
|
-
const
|
113
|
-
let
|
112
|
+
const U = [], Te = [];
|
113
|
+
let D = [];
|
114
114
|
const Ve = [], Xt = /* @__PURE__ */ Promise.resolve();
|
115
|
-
let
|
115
|
+
let Pe = !1;
|
116
116
|
function zt() {
|
117
|
-
|
117
|
+
Pe || (Pe = !0, Xt.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 (
|
143
|
+
D.length = 0;
|
144
|
+
} while (U.length);
|
145
145
|
for (; Ve.length; )
|
146
146
|
Ve.pop()();
|
147
|
-
|
147
|
+
Pe = !1, be.clear(), J(e);
|
148
148
|
}
|
149
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
156
|
function Wt(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
160
|
const Qt = /* @__PURE__ */ new Set();
|
161
161
|
function qt(e, t) {
|
@@ -163,29 +163,29 @@ function qt(e, t) {
|
|
163
163
|
}
|
164
164
|
function Jt(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(at).filter(
|
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(at).filter($e);
|
168
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
169
|
+
}), i.forEach(Be);
|
170
170
|
}
|
171
171
|
function Yt(e, t) {
|
172
172
|
const r = e.$$;
|
173
|
-
r.fragment !== null && (Wt(r.after_update),
|
173
|
+
r.fragment !== null && (Wt(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
174
174
|
}
|
175
175
|
function Kt(e, t) {
|
176
|
-
e.$$.dirty[0] === -1 && (
|
176
|
+
e.$$.dirty[0] === -1 && (U.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
177
177
|
}
|
178
178
|
function er(e, t, r, n, i, o, u = null, s = [-1]) {
|
179
|
-
const l =
|
180
|
-
|
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
|
-
bound:
|
188
|
+
bound: je(),
|
189
189
|
// lifecycle
|
190
190
|
on_mount: [],
|
191
191
|
on_destroy: [],
|
@@ -194,25 +194,25 @@ function er(e, t, r, n, i, o, u = null, s = [-1]) {
|
|
194
194
|
after_update: [],
|
195
195
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
196
196
|
// everything else
|
197
|
-
callbacks:
|
197
|
+
callbacks: je(),
|
198
198
|
dirty: s,
|
199
199
|
skip_bound: !1,
|
200
200
|
root: t.target || l.$$.root
|
201
201
|
};
|
202
202
|
u && u(a.root);
|
203
203
|
let h = !1;
|
204
|
-
if (a.ctx = r ? r(e, t.props || {}, (
|
205
|
-
const
|
206
|
-
return a.ctx && i(a.ctx[
|
207
|
-
}) : [], a.update(), h = !0,
|
204
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
205
|
+
const y = b.length ? b[0] : f;
|
206
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = y) && (!a.skip_bound && a.bound[c] && a.bound[c](y), h && Kt(e, c)), f;
|
207
|
+
}) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
208
208
|
if (t.hydrate) {
|
209
|
-
const
|
210
|
-
a.fragment && a.fragment.l(
|
209
|
+
const c = Dt(t.target);
|
210
|
+
a.fragment && a.fragment.l(c), c.forEach(Re);
|
211
211
|
} else
|
212
212
|
a.fragment && a.fragment.c();
|
213
213
|
t.intro && qt(e.$$.fragment), Jt(e, t.target, t.anchor), C();
|
214
214
|
}
|
215
|
-
|
215
|
+
J(l);
|
216
216
|
}
|
217
217
|
let lt;
|
218
218
|
typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
@@ -257,7 +257,7 @@ 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
|
@@ -267,19 +267,19 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
267
267
|
ht(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 = kt(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;
|
@@ -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) => {
|
@@ -409,7 +409,7 @@ class rr {
|
|
409
409
|
$$set = void 0;
|
410
410
|
/** @returns {void} */
|
411
411
|
$destroy() {
|
412
|
-
Yt(this, 1), this.$destroy =
|
412
|
+
Yt(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,44 +431,44 @@ class rr {
|
|
431
431
|
* @returns {void}
|
432
432
|
*/
|
433
433
|
$set(t) {
|
434
|
-
this.$$set &&
|
434
|
+
this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
435
435
|
}
|
436
436
|
}
|
437
437
|
const nr = "4";
|
438
438
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nr);
|
439
|
-
const
|
439
|
+
const G = [];
|
440
440
|
function ir(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
449
|
if (st(e, s) && (e = s, r)) {
|
450
|
-
const l = !
|
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");
|
@@ -476,26 +476,26 @@ function Z(e, t, r) {
|
|
476
476
|
return ir(r, (u, s) => {
|
477
477
|
let l = !1;
|
478
478
|
const a = [];
|
479
|
-
let h = 0,
|
480
|
-
const
|
479
|
+
let h = 0, c = S;
|
480
|
+
const f = () => {
|
481
481
|
if (h)
|
482
482
|
return;
|
483
|
-
|
484
|
-
const
|
485
|
-
o ? u(
|
486
|
-
},
|
487
|
-
(
|
488
|
-
|
483
|
+
c();
|
484
|
+
const y = t(n ? a[0] : a, u, s);
|
485
|
+
o ? u(y) : c = $e(y) ? y : S;
|
486
|
+
}, b = i.map(
|
487
|
+
(y, m) => ut(
|
488
|
+
y,
|
489
489
|
(v) => {
|
490
|
-
a[m] = v, h &= ~(1 << m), l &&
|
490
|
+
a[m] = v, h &= ~(1 << m), l && f();
|
491
491
|
},
|
492
492
|
() => {
|
493
493
|
h |= 1 << m;
|
494
494
|
}
|
495
495
|
)
|
496
496
|
);
|
497
|
-
return l = !0,
|
498
|
-
|
497
|
+
return l = !0, f(), function() {
|
498
|
+
te(b), c(), l = !1;
|
499
499
|
};
|
500
500
|
});
|
501
501
|
}
|
@@ -510,21 +510,21 @@ function sr(e) {
|
|
510
510
|
}
|
511
511
|
function ur(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]" || cr(e);
|
514
514
|
}
|
515
515
|
var hr = typeof Symbol == "function" && Symbol.for, lr = hr ? Symbol.for("react.element") : 60103;
|
516
|
-
function
|
516
|
+
function cr(e) {
|
517
517
|
return e.$$typeof === lr;
|
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
525
|
function mr(e, t, r) {
|
526
526
|
return e.concat(t).map(function(n) {
|
527
|
-
return
|
527
|
+
return K(n, r);
|
528
528
|
});
|
529
529
|
}
|
530
530
|
function pr(e, t) {
|
@@ -541,7 +541,7 @@ function gr(e) {
|
|
541
541
|
function Xe(e) {
|
542
542
|
return Object.keys(e).concat(gr(e));
|
543
543
|
}
|
544
|
-
function
|
544
|
+
function ct(e, t) {
|
545
545
|
try {
|
546
546
|
return t in e;
|
547
547
|
} catch {
|
@@ -549,20 +549,20 @@ function ft(e, t) {
|
|
549
549
|
}
|
550
550
|
}
|
551
551
|
function dr(e, t) {
|
552
|
-
return
|
552
|
+
return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
553
553
|
}
|
554
554
|
function br(e, t, r) {
|
555
555
|
var n = {};
|
556
556
|
return r.isMergeableObject(e) && Xe(e).forEach(function(i) {
|
557
|
-
n[i] =
|
557
|
+
n[i] = K(e[i], r);
|
558
558
|
}), Xe(t).forEach(function(i) {
|
559
|
-
dr(e, i) || (
|
559
|
+
dr(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = pr(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 || mr, r.isMergeableObject = r.isMergeableObject || ar, r.cloneUnlessOtherwiseSpecified =
|
563
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || mr, r.isMergeableObject = r.isMergeableObject || ar, 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) : br(e, t, r) :
|
565
|
+
return o ? n ? r.arrayMerge(e, t, r) : br(e, t, r) : K(t, r);
|
566
566
|
}
|
567
567
|
k.all = function(t, r) {
|
568
568
|
if (!Array.isArray(t))
|
@@ -573,32 +573,46 @@ k.all = function(t, r) {
|
|
573
573
|
};
|
574
574
|
var xr = k, yr = xr;
|
575
575
|
const Er = /* @__PURE__ */ or(yr);
|
576
|
-
|
577
|
-
|
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 ce(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
617
|
function vr(e, t) {
|
604
618
|
var r = {};
|
@@ -609,14 +623,14 @@ 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 : Br, i = t && t.strategy ? t.strategy : Hr;
|
620
634
|
return i(e, {
|
621
635
|
cache: r,
|
622
636
|
serializer: n
|
@@ -625,103 +639,95 @@ function ve(e, t) {
|
|
625
639
|
function _r(e) {
|
626
640
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
627
641
|
}
|
628
|
-
function
|
642
|
+
function ft(e, t, r, n) {
|
629
643
|
var i = _r(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
|
-
function
|
646
|
+
function mt(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
|
}
|
653
|
+
function Hr(e, t) {
|
654
|
+
var r = e.length === 1 ? ft : mt;
|
655
|
+
return Fe(e, this, r, t.cache.create(), t.serializer);
|
656
|
+
}
|
639
657
|
function Tr(e, t) {
|
640
|
-
|
641
|
-
return mt(e, this, r, t.cache.create(), t.serializer);
|
658
|
+
return Fe(e, this, mt, t.cache.create(), t.serializer);
|
642
659
|
}
|
643
660
|
function Pr(e, t) {
|
644
|
-
return
|
661
|
+
return Fe(e, this, ft, t.cache.create(), t.serializer);
|
645
662
|
}
|
646
|
-
var
|
663
|
+
var Br = function() {
|
647
664
|
return JSON.stringify(arguments);
|
648
|
-
}
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
}()
|
660
|
-
), Nr = {
|
665
|
+
};
|
666
|
+
function Ge() {
|
667
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
668
|
+
}
|
669
|
+
Ge.prototype.get = function(e) {
|
670
|
+
return this.cache[e];
|
671
|
+
};
|
672
|
+
Ge.prototype.set = function(e, t) {
|
673
|
+
this.cache[e] = t;
|
674
|
+
};
|
675
|
+
var Nr = {
|
661
676
|
create: function() {
|
662
|
-
return new
|
677
|
+
return new Ge();
|
663
678
|
}
|
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;
|
679
|
+
}, Ee = {
|
680
|
+
variadic: Tr,
|
681
|
+
monadic: Pr
|
682
|
+
}, p;
|
677
683
|
(function(e) {
|
678
684
|
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
685
|
})(p || (p = {}));
|
680
|
-
var
|
686
|
+
var E;
|
681
687
|
(function(e) {
|
682
688
|
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
|
689
|
+
})(E || (E = {}));
|
690
|
+
var j;
|
685
691
|
(function(e) {
|
686
692
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
687
|
-
})(
|
693
|
+
})(j || (j = {}));
|
688
694
|
function ze(e) {
|
689
|
-
return e.type ===
|
695
|
+
return e.type === E.literal;
|
690
696
|
}
|
691
|
-
function
|
692
|
-
return e.type ===
|
697
|
+
function Sr(e) {
|
698
|
+
return e.type === E.argument;
|
693
699
|
}
|
694
700
|
function pt(e) {
|
695
|
-
return e.type ===
|
701
|
+
return e.type === E.number;
|
696
702
|
}
|
697
703
|
function gt(e) {
|
698
|
-
return e.type ===
|
704
|
+
return e.type === E.date;
|
699
705
|
}
|
700
706
|
function dt(e) {
|
701
|
-
return e.type ===
|
707
|
+
return e.type === E.time;
|
702
708
|
}
|
703
709
|
function bt(e) {
|
704
|
-
return e.type ===
|
710
|
+
return e.type === E.select;
|
705
711
|
}
|
706
712
|
function xt(e) {
|
707
|
-
return e.type ===
|
713
|
+
return e.type === E.plural;
|
708
714
|
}
|
709
|
-
function
|
710
|
-
return e.type ===
|
715
|
+
function Ar(e) {
|
716
|
+
return e.type === E.pound;
|
711
717
|
}
|
712
718
|
function yt(e) {
|
713
|
-
return e.type ===
|
719
|
+
return e.type === E.tag;
|
714
720
|
}
|
715
721
|
function Et(e) {
|
716
|
-
return !!(e && typeof e == "object" && e.type ===
|
722
|
+
return !!(e && typeof e == "object" && e.type === j.number);
|
717
723
|
}
|
718
|
-
function
|
719
|
-
return !!(e && typeof e == "object" && e.type ===
|
724
|
+
function Se(e) {
|
725
|
+
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
720
726
|
}
|
721
|
-
var vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
722
|
-
function
|
727
|
+
var vt = /[ \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;
|
728
|
+
function Or(e) {
|
723
729
|
var t = {};
|
724
|
-
return e.replace(
|
730
|
+
return e.replace(wr, function(r) {
|
725
731
|
var n = r.length;
|
726
732
|
switch (r[0]) {
|
727
733
|
case "G":
|
@@ -810,36 +816,26 @@ function Ir(e) {
|
|
810
816
|
return "";
|
811
817
|
}), t;
|
812
818
|
}
|
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
819
|
var Mr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
824
|
-
function
|
820
|
+
function Ir(e) {
|
825
821
|
if (e.length === 0)
|
826
822
|
throw new Error("Number skeleton cannot be empty");
|
827
|
-
for (var t = e.split(Mr).filter(function(
|
828
|
-
return
|
823
|
+
for (var t = e.split(Mr).filter(function(f) {
|
824
|
+
return f.length > 0;
|
829
825
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
830
826
|
var o = i[n], u = o.split("/");
|
831
827
|
if (u.length === 0)
|
832
828
|
throw new Error("Invalid number skeleton");
|
833
829
|
for (var s = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
|
834
|
-
var
|
835
|
-
if (
|
830
|
+
var c = h[a];
|
831
|
+
if (c.length === 0)
|
836
832
|
throw new Error("Invalid number skeleton");
|
837
833
|
}
|
838
834
|
r.push({ stem: s, options: l });
|
839
835
|
}
|
840
836
|
return r;
|
841
837
|
}
|
842
|
-
function
|
838
|
+
function Lr(e) {
|
843
839
|
return e.replace(/^(.*?)-/, "");
|
844
840
|
}
|
845
841
|
var Ze = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _t = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
|
@@ -889,7 +885,7 @@ function Tt(e) {
|
|
889
885
|
};
|
890
886
|
}
|
891
887
|
}
|
892
|
-
function
|
888
|
+
function $r(e) {
|
893
889
|
var t;
|
894
890
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
895
891
|
notation: "engineering"
|
@@ -907,7 +903,7 @@ function Qe(e) {
|
|
907
903
|
var t = {}, r = Tt(e);
|
908
904
|
return r || t;
|
909
905
|
}
|
910
|
-
function
|
906
|
+
function Rr(e) {
|
911
907
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
912
908
|
var i = n[r];
|
913
909
|
switch (i.stem) {
|
@@ -931,7 +927,7 @@ function Fr(e) {
|
|
931
927
|
continue;
|
932
928
|
case "measure-unit":
|
933
929
|
case "unit":
|
934
|
-
t.style = "unit", t.unit =
|
930
|
+
t.style = "unit", t.unit = Lr(i.options[0]);
|
935
931
|
continue;
|
936
932
|
case "compact-short":
|
937
933
|
case "K":
|
@@ -942,13 +938,13 @@ function Fr(e) {
|
|
942
938
|
t.notation = "compact", t.compactDisplay = "long";
|
943
939
|
continue;
|
944
940
|
case "scientific":
|
945
|
-
t =
|
946
|
-
return
|
941
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
942
|
+
return d(d({}, l), Qe(a));
|
947
943
|
}, {}));
|
948
944
|
continue;
|
949
945
|
case "engineering":
|
950
|
-
t =
|
951
|
-
return
|
946
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
947
|
+
return d(d({}, l), Qe(a));
|
952
948
|
}, {}));
|
953
949
|
continue;
|
954
950
|
case "notation-simple":
|
@@ -993,13 +989,13 @@ function Fr(e) {
|
|
993
989
|
case "integer-width":
|
994
990
|
if (i.options.length > 1)
|
995
991
|
throw new RangeError("integer-width stems only accept a single optional option");
|
996
|
-
i.options[0].replace(Cr, function(l, a, h,
|
992
|
+
i.options[0].replace(Cr, function(l, a, h, c, f, b) {
|
997
993
|
if (a)
|
998
994
|
t.minimumIntegerDigits = h.length;
|
999
995
|
else {
|
1000
|
-
if (
|
996
|
+
if (c && f)
|
1001
997
|
throw new Error("We currently do not support maximum integer digits");
|
1002
|
-
if (
|
998
|
+
if (b)
|
1003
999
|
throw new Error("We currently do not support exact integer digits");
|
1004
1000
|
}
|
1005
1001
|
return "";
|
@@ -1013,25 +1009,25 @@ function Fr(e) {
|
|
1013
1009
|
if (Ze.test(i.stem)) {
|
1014
1010
|
if (i.options.length > 1)
|
1015
1011
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1016
|
-
i.stem.replace(Ze, function(l, a, h,
|
1017
|
-
return h === "*" ? t.minimumFractionDigits = a.length :
|
1012
|
+
i.stem.replace(Ze, function(l, a, h, c, f, b) {
|
1013
|
+
return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
1018
1014
|
});
|
1019
1015
|
var o = i.options[0];
|
1020
|
-
o === "w" ? t =
|
1016
|
+
o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), We(o)));
|
1021
1017
|
continue;
|
1022
1018
|
}
|
1023
1019
|
if (_t.test(i.stem)) {
|
1024
|
-
t =
|
1020
|
+
t = d(d({}, t), We(i.stem));
|
1025
1021
|
continue;
|
1026
1022
|
}
|
1027
1023
|
var u = Tt(i.stem);
|
1028
|
-
u && (t =
|
1029
|
-
var s =
|
1030
|
-
s && (t =
|
1024
|
+
u && (t = d(d({}, t), u));
|
1025
|
+
var s = $r(i.stem);
|
1026
|
+
s && (t = d(d({}, t), s));
|
1031
1027
|
}
|
1032
1028
|
return t;
|
1033
1029
|
}
|
1034
|
-
var
|
1030
|
+
var ne = {
|
1035
1031
|
"001": [
|
1036
1032
|
"H",
|
1037
1033
|
"h"
|
@@ -2446,13 +2442,13 @@ var ie = {
|
|
2446
2442
|
"h"
|
2447
2443
|
]
|
2448
2444
|
};
|
2449
|
-
function
|
2445
|
+
function Fr(e, t) {
|
2450
2446
|
for (var r = "", n = 0; n < e.length; n++) {
|
2451
2447
|
var i = e.charAt(n);
|
2452
2448
|
if (i === "j") {
|
2453
2449
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2454
2450
|
o++, n++;
|
2455
|
-
var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", a =
|
2451
|
+
var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = Gr(t);
|
2456
2452
|
for ((a == "H" || a == "k") && (s = 0); s-- > 0; )
|
2457
2453
|
r += l;
|
2458
2454
|
for (; u-- > 0; )
|
@@ -2462,7 +2458,7 @@ function Gr(e, t) {
|
|
2462
2458
|
}
|
2463
2459
|
return r;
|
2464
2460
|
}
|
2465
|
-
function
|
2461
|
+
function Gr(e) {
|
2466
2462
|
var t = e.hourCycle;
|
2467
2463
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2468
2464
|
e.hourCycles && // @ts-ignore
|
@@ -2481,21 +2477,21 @@ function Ur(e) {
|
|
2481
2477
|
}
|
2482
2478
|
var r = e.language, n;
|
2483
2479
|
r !== "root" && (n = e.maximize().region);
|
2484
|
-
var i =
|
2480
|
+
var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
|
2485
2481
|
return i[0];
|
2486
2482
|
}
|
2487
|
-
var
|
2483
|
+
var ve, Ur = new RegExp("^".concat(vt.source, "*")), Dr = new RegExp("".concat(vt.source, "*$"));
|
2488
2484
|
function g(e, t) {
|
2489
2485
|
return { start: e, end: t };
|
2490
2486
|
}
|
2491
|
-
var kr = !!String.prototype.startsWith && "_a".startsWith("a", 1),
|
2487
|
+
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
2488
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2493
|
-
},
|
2489
|
+
}, Ae = !0;
|
2494
2490
|
try {
|
2495
|
-
var
|
2496
|
-
|
2491
|
+
var qr = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2492
|
+
Ae = ((ve = qr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
2497
2493
|
} catch {
|
2498
|
-
|
2494
|
+
Ae = !1;
|
2499
2495
|
}
|
2500
2496
|
var qe = kr ? (
|
2501
2497
|
// Native
|
@@ -2507,7 +2503,7 @@ var qe = kr ? (
|
|
2507
2503
|
function(t, r, n) {
|
2508
2504
|
return t.slice(n, n + r.length) === r;
|
2509
2505
|
}
|
2510
|
-
),
|
2506
|
+
), we = jr ? String.fromCodePoint : (
|
2511
2507
|
// IE11
|
2512
2508
|
function() {
|
2513
2509
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2521,7 +2517,7 @@ var qe = kr ? (
|
|
2521
2517
|
}
|
2522
2518
|
), Je = (
|
2523
2519
|
// native
|
2524
|
-
|
2520
|
+
Vr ? Object.fromEntries : (
|
2525
2521
|
// Ponyfill
|
2526
2522
|
function(t) {
|
2527
2523
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2531,7 +2527,7 @@ var qe = kr ? (
|
|
2531
2527
|
return r;
|
2532
2528
|
}
|
2533
2529
|
)
|
2534
|
-
), Pt =
|
2530
|
+
), Pt = Xr ? (
|
2535
2531
|
// Native
|
2536
2532
|
function(t, r) {
|
2537
2533
|
return t.codePointAt(r);
|
@@ -2545,7 +2541,7 @@ var qe = kr ? (
|
|
2545
2541
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2546
2542
|
}
|
2547
2543
|
}
|
2548
|
-
),
|
2544
|
+
), Jr = zr ? (
|
2549
2545
|
// Native
|
2550
2546
|
function(t) {
|
2551
2547
|
return t.trimStart();
|
@@ -2553,9 +2549,9 @@ var qe = kr ? (
|
|
2553
2549
|
) : (
|
2554
2550
|
// Ponyfill
|
2555
2551
|
function(t) {
|
2556
|
-
return t.replace(
|
2552
|
+
return t.replace(Ur, "");
|
2557
2553
|
}
|
2558
|
-
),
|
2554
|
+
), Yr = Zr ? (
|
2559
2555
|
// Native
|
2560
2556
|
function(t) {
|
2561
2557
|
return t.trimEnd();
|
@@ -2563,32 +2559,32 @@ var qe = kr ? (
|
|
2563
2559
|
) : (
|
2564
2560
|
// Ponyfill
|
2565
2561
|
function(t) {
|
2566
|
-
return t.replace(
|
2562
|
+
return t.replace(Dr, "");
|
2567
2563
|
}
|
2568
2564
|
);
|
2569
|
-
function
|
2565
|
+
function Bt(e, t) {
|
2570
2566
|
return new RegExp(e, t);
|
2571
2567
|
}
|
2572
|
-
var
|
2573
|
-
if (
|
2574
|
-
var Ye =
|
2575
|
-
|
2568
|
+
var Oe;
|
2569
|
+
if (Ae) {
|
2570
|
+
var Ye = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2571
|
+
Oe = function(t, r) {
|
2576
2572
|
var n;
|
2577
2573
|
Ye.lastIndex = r;
|
2578
2574
|
var i = Ye.exec(t);
|
2579
2575
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2580
2576
|
};
|
2581
2577
|
} else
|
2582
|
-
|
2578
|
+
Oe = function(t, r) {
|
2583
2579
|
for (var n = []; ; ) {
|
2584
2580
|
var i = Pt(t, r);
|
2585
|
-
if (i === void 0 ||
|
2581
|
+
if (i === void 0 || Nt(i) || rn(i))
|
2586
2582
|
break;
|
2587
2583
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2588
2584
|
}
|
2589
|
-
return
|
2585
|
+
return we.apply(void 0, n);
|
2590
2586
|
};
|
2591
|
-
var
|
2587
|
+
var Kr = (
|
2592
2588
|
/** @class */
|
2593
2589
|
function() {
|
2594
2590
|
function e(t, r) {
|
@@ -2612,14 +2608,14 @@ var en = (
|
|
2612
2608
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2613
2609
|
var s = this.clonePosition();
|
2614
2610
|
this.bump(), i.push({
|
2615
|
-
type:
|
2611
|
+
type: E.pound,
|
2616
2612
|
location: g(s, this.clonePosition())
|
2617
2613
|
});
|
2618
2614
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2619
2615
|
if (n)
|
2620
2616
|
break;
|
2621
2617
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
2622
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2618
|
+
} else if (o === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
|
2623
2619
|
var u = this.parseTag(t, r);
|
2624
2620
|
if (u.err)
|
2625
2621
|
return u;
|
@@ -2640,7 +2636,7 @@ var en = (
|
|
2640
2636
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2641
2637
|
return {
|
2642
2638
|
val: {
|
2643
|
-
type:
|
2639
|
+
type: E.literal,
|
2644
2640
|
value: "<".concat(i, "/>"),
|
2645
2641
|
location: g(n, this.clonePosition())
|
2646
2642
|
},
|
@@ -2652,12 +2648,12 @@ var en = (
|
|
2652
2648
|
return o;
|
2653
2649
|
var u = o.val, s = this.clonePosition();
|
2654
2650
|
if (this.bumpIf("</")) {
|
2655
|
-
if (this.isEOF() || !
|
2651
|
+
if (this.isEOF() || !Me(this.char()))
|
2656
2652
|
return this.error(p.INVALID_TAG, g(s, this.clonePosition()));
|
2657
2653
|
var l = this.clonePosition(), a = this.parseTagName();
|
2658
2654
|
return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2659
2655
|
val: {
|
2660
|
-
type:
|
2656
|
+
type: E.tag,
|
2661
2657
|
value: i,
|
2662
2658
|
children: u,
|
2663
2659
|
location: g(n, this.clonePosition())
|
@@ -2670,7 +2666,7 @@ var en = (
|
|
2670
2666
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2671
2667
|
}, e.prototype.parseTagName = function() {
|
2672
2668
|
var t = this.offset();
|
2673
|
-
for (this.bump(); !this.isEOF() &&
|
2669
|
+
for (this.bump(); !this.isEOF() && tn(this.char()); )
|
2674
2670
|
this.bump();
|
2675
2671
|
return this.message.slice(t, this.offset());
|
2676
2672
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2694,12 +2690,12 @@ var en = (
|
|
2694
2690
|
}
|
2695
2691
|
var l = g(n, this.clonePosition());
|
2696
2692
|
return {
|
2697
|
-
val: { type:
|
2693
|
+
val: { type: E.literal, value: i, location: l },
|
2698
2694
|
err: null
|
2699
2695
|
};
|
2700
2696
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2701
2697
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2702
|
-
!
|
2698
|
+
!en(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2703
2699
|
}, e.prototype.tryParseQuote = function(t) {
|
2704
2700
|
if (this.isEOF() || this.char() !== 39)
|
2705
2701
|
return null;
|
@@ -2733,12 +2729,12 @@ var en = (
|
|
2733
2729
|
r.push(n);
|
2734
2730
|
this.bump();
|
2735
2731
|
}
|
2736
|
-
return
|
2732
|
+
return we.apply(void 0, r);
|
2737
2733
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2738
2734
|
if (this.isEOF())
|
2739
2735
|
return null;
|
2740
2736
|
var n = this.char();
|
2741
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2737
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), we(n));
|
2742
2738
|
}, e.prototype.parseArgument = function(t, r) {
|
2743
2739
|
var n = this.clonePosition();
|
2744
2740
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2754,7 +2750,7 @@ var en = (
|
|
2754
2750
|
case 125:
|
2755
2751
|
return this.bump(), {
|
2756
2752
|
val: {
|
2757
|
-
type:
|
2753
|
+
type: E.argument,
|
2758
2754
|
// value does not include the opening and closing braces.
|
2759
2755
|
value: i,
|
2760
2756
|
location: g(n, this.clonePosition())
|
@@ -2767,7 +2763,7 @@ var en = (
|
|
2767
2763
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
2768
2764
|
}
|
2769
2765
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2770
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2766
|
+
var t = this.clonePosition(), r = this.offset(), n = Oe(this.message, r), i = r + n.length;
|
2771
2767
|
this.bumpTo(i);
|
2772
2768
|
var o = this.clonePosition(), u = g(t, o);
|
2773
2769
|
return { value: n, location: u };
|
@@ -2783,47 +2779,47 @@ var en = (
|
|
2783
2779
|
var a = null;
|
2784
2780
|
if (this.bumpIf(",")) {
|
2785
2781
|
this.bumpSpace();
|
2786
|
-
var h = this.clonePosition(),
|
2787
|
-
if (
|
2788
|
-
return
|
2789
|
-
var
|
2790
|
-
if (
|
2782
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2783
|
+
if (c.err)
|
2784
|
+
return c;
|
2785
|
+
var f = Yr(c.val);
|
2786
|
+
if (f.length === 0)
|
2791
2787
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2792
|
-
var
|
2793
|
-
a = { style:
|
2788
|
+
var b = g(h, this.clonePosition());
|
2789
|
+
a = { style: f, styleLocation: b };
|
2794
2790
|
}
|
2795
|
-
var
|
2796
|
-
if (
|
2797
|
-
return
|
2791
|
+
var y = this.tryParseArgumentClose(i);
|
2792
|
+
if (y.err)
|
2793
|
+
return y;
|
2798
2794
|
var m = g(i, this.clonePosition());
|
2799
2795
|
if (a && qe(a?.style, "::", 0)) {
|
2800
|
-
var v =
|
2796
|
+
var v = Jr(a.style.slice(2));
|
2801
2797
|
if (s === "number") {
|
2802
|
-
var
|
2803
|
-
return
|
2804
|
-
val: { type:
|
2798
|
+
var c = this.parseNumberSkeletonFromString(v, a.styleLocation);
|
2799
|
+
return c.err ? c : {
|
2800
|
+
val: { type: E.number, value: n, location: m, style: c.val },
|
2805
2801
|
err: null
|
2806
2802
|
};
|
2807
2803
|
} else {
|
2808
2804
|
if (v.length === 0)
|
2809
2805
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
2810
2806
|
var T = v;
|
2811
|
-
this.locale && (T =
|
2812
|
-
var
|
2813
|
-
type:
|
2807
|
+
this.locale && (T = Fr(v, this.locale));
|
2808
|
+
var f = {
|
2809
|
+
type: j.dateTime,
|
2814
2810
|
pattern: T,
|
2815
2811
|
location: a.styleLocation,
|
2816
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2817
|
-
}, A = s === "date" ?
|
2812
|
+
parsedOptions: this.shouldParseSkeletons ? Or(T) : {}
|
2813
|
+
}, A = s === "date" ? E.date : E.time;
|
2818
2814
|
return {
|
2819
|
-
val: { type: A, value: n, location: m, style:
|
2815
|
+
val: { type: A, value: n, location: m, style: f },
|
2820
2816
|
err: null
|
2821
2817
|
};
|
2822
2818
|
}
|
2823
2819
|
}
|
2824
2820
|
return {
|
2825
2821
|
val: {
|
2826
|
-
type: s === "number" ?
|
2822
|
+
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
2827
2823
|
value: n,
|
2828
2824
|
location: m,
|
2829
2825
|
style: (o = a?.style) !== null && o !== void 0 ? o : null
|
@@ -2836,41 +2832,41 @@ var en = (
|
|
2836
2832
|
case "select": {
|
2837
2833
|
var P = this.clonePosition();
|
2838
2834
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2839
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P,
|
2835
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, d({}, P)));
|
2840
2836
|
this.bumpSpace();
|
2841
|
-
var
|
2842
|
-
if (s !== "select" &&
|
2837
|
+
var N = this.parseIdentifierIfPossible(), B = 0;
|
2838
|
+
if (s !== "select" && N.value === "offset") {
|
2843
2839
|
if (!this.bumpIf(":"))
|
2844
2840
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
2845
2841
|
this.bumpSpace();
|
2846
|
-
var
|
2847
|
-
if (
|
2848
|
-
return
|
2849
|
-
this.bumpSpace(),
|
2842
|
+
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2843
|
+
if (c.err)
|
2844
|
+
return c;
|
2845
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), B = c.val;
|
2850
2846
|
}
|
2851
|
-
var
|
2852
|
-
if (
|
2853
|
-
return
|
2854
|
-
var
|
2855
|
-
if (
|
2856
|
-
return
|
2857
|
-
var
|
2847
|
+
var w = this.tryParsePluralOrSelectOptions(t, s, r, N);
|
2848
|
+
if (w.err)
|
2849
|
+
return w;
|
2850
|
+
var y = this.tryParseArgumentClose(i);
|
2851
|
+
if (y.err)
|
2852
|
+
return y;
|
2853
|
+
var R = g(i, this.clonePosition());
|
2858
2854
|
return s === "select" ? {
|
2859
2855
|
val: {
|
2860
|
-
type:
|
2856
|
+
type: E.select,
|
2861
2857
|
value: n,
|
2862
|
-
options: Je(
|
2863
|
-
location:
|
2858
|
+
options: Je(w.val),
|
2859
|
+
location: R
|
2864
2860
|
},
|
2865
2861
|
err: null
|
2866
2862
|
} : {
|
2867
2863
|
val: {
|
2868
|
-
type:
|
2864
|
+
type: E.plural,
|
2869
2865
|
value: n,
|
2870
|
-
options: Je(
|
2871
|
-
offset:
|
2866
|
+
options: Je(w.val),
|
2867
|
+
offset: B,
|
2872
2868
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
2873
|
-
location:
|
2869
|
+
location: R
|
2874
2870
|
},
|
2875
2871
|
err: null
|
2876
2872
|
};
|
@@ -2918,48 +2914,48 @@ var en = (
|
|
2918
2914
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2919
2915
|
var n = [];
|
2920
2916
|
try {
|
2921
|
-
n =
|
2917
|
+
n = Ir(t);
|
2922
2918
|
} catch {
|
2923
2919
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2924
2920
|
}
|
2925
2921
|
return {
|
2926
2922
|
val: {
|
2927
|
-
type:
|
2923
|
+
type: j.number,
|
2928
2924
|
tokens: n,
|
2929
2925
|
location: r,
|
2930
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2926
|
+
parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
|
2931
2927
|
},
|
2932
2928
|
err: null
|
2933
2929
|
};
|
2934
2930
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2935
2931
|
for (var o, u = !1, s = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
|
2936
2932
|
if (a.length === 0) {
|
2937
|
-
var
|
2933
|
+
var c = this.clonePosition();
|
2938
2934
|
if (r !== "select" && this.bumpIf("=")) {
|
2939
|
-
var
|
2940
|
-
if (
|
2941
|
-
return
|
2942
|
-
h = g(
|
2935
|
+
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2936
|
+
if (f.err)
|
2937
|
+
return f;
|
2938
|
+
h = g(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
2943
2939
|
} else
|
2944
2940
|
break;
|
2945
2941
|
}
|
2946
2942
|
if (l.has(a))
|
2947
2943
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
2948
2944
|
a === "other" && (u = !0), this.bumpSpace();
|
2949
|
-
var
|
2945
|
+
var b = this.clonePosition();
|
2950
2946
|
if (!this.bumpIf("{"))
|
2951
2947
|
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(
|
2948
|
+
var y = this.parseMessage(t + 1, r, n);
|
2949
|
+
if (y.err)
|
2950
|
+
return y;
|
2951
|
+
var m = this.tryParseArgumentClose(b);
|
2956
2952
|
if (m.err)
|
2957
2953
|
return m;
|
2958
2954
|
s.push([
|
2959
2955
|
a,
|
2960
2956
|
{
|
2961
|
-
value:
|
2962
|
-
location: g(
|
2957
|
+
value: y.val,
|
2958
|
+
location: g(b, this.clonePosition())
|
2963
2959
|
}
|
2964
2960
|
]), l.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
|
2965
2961
|
}
|
@@ -2975,7 +2971,7 @@ var en = (
|
|
2975
2971
|
break;
|
2976
2972
|
}
|
2977
2973
|
var l = g(i, this.clonePosition());
|
2978
|
-
return o ? (u *= n,
|
2974
|
+
return o ? (u *= n, Qr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
2979
2975
|
}, e.prototype.offset = function() {
|
2980
2976
|
return this.position.offset;
|
2981
2977
|
}, e.prototype.isEOF = function() {
|
@@ -3031,7 +3027,7 @@ var en = (
|
|
3031
3027
|
break;
|
3032
3028
|
}
|
3033
3029
|
}, e.prototype.bumpSpace = function() {
|
3034
|
-
for (; !this.isEOF() &&
|
3030
|
+
for (; !this.isEOF() && Nt(this.char()); )
|
3035
3031
|
this.bump();
|
3036
3032
|
}, e.prototype.peek = function() {
|
3037
3033
|
if (this.isEOF())
|
@@ -3041,47 +3037,47 @@ var en = (
|
|
3041
3037
|
}, e;
|
3042
3038
|
}()
|
3043
3039
|
);
|
3044
|
-
function
|
3040
|
+
function Me(e) {
|
3045
3041
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3046
3042
|
}
|
3047
|
-
function
|
3048
|
-
return
|
3043
|
+
function en(e) {
|
3044
|
+
return Me(e) || e === 47;
|
3049
3045
|
}
|
3050
|
-
function
|
3046
|
+
function tn(e) {
|
3051
3047
|
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
3048
|
}
|
3053
|
-
function
|
3049
|
+
function Nt(e) {
|
3054
3050
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3055
3051
|
}
|
3056
|
-
function
|
3052
|
+
function rn(e) {
|
3057
3053
|
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
3054
|
}
|
3059
|
-
function
|
3055
|
+
function Ie(e) {
|
3060
3056
|
e.forEach(function(t) {
|
3061
3057
|
if (delete t.location, bt(t) || xt(t))
|
3062
3058
|
for (var r in t.options)
|
3063
|
-
delete t.options[r].location,
|
3059
|
+
delete t.options[r].location, Ie(t.options[r].value);
|
3064
3060
|
else
|
3065
|
-
pt(t) && Et(t.style) || (gt(t) || dt(t)) &&
|
3061
|
+
pt(t) && Et(t.style) || (gt(t) || dt(t)) && Se(t.style) ? delete t.style.location : yt(t) && Ie(t.children);
|
3066
3062
|
});
|
3067
3063
|
}
|
3068
|
-
function
|
3069
|
-
t === void 0 && (t = {}), t =
|
3070
|
-
var r = new
|
3064
|
+
function nn(e, t) {
|
3065
|
+
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3066
|
+
var r = new Kr(e, t).parse();
|
3071
3067
|
if (r.err) {
|
3072
3068
|
var n = SyntaxError(p[r.err.kind]);
|
3073
3069
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3074
3070
|
}
|
3075
|
-
return t?.captureLocation ||
|
3071
|
+
return t?.captureLocation || Ie(r.val), r.val;
|
3076
3072
|
}
|
3077
|
-
var
|
3073
|
+
var V;
|
3078
3074
|
(function(e) {
|
3079
3075
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3080
|
-
})(
|
3081
|
-
var
|
3076
|
+
})(V || (V = {}));
|
3077
|
+
var fe = (
|
3082
3078
|
/** @class */
|
3083
3079
|
function(e) {
|
3084
|
-
|
3080
|
+
ce(t, e);
|
3085
3081
|
function t(r, n, i) {
|
3086
3082
|
var o = e.call(this, r) || this;
|
3087
3083
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3093,44 +3089,44 @@ var pe = (
|
|
3093
3089
|
), Ke = (
|
3094
3090
|
/** @class */
|
3095
3091
|
function(e) {
|
3096
|
-
|
3092
|
+
ce(t, e);
|
3097
3093
|
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('", "'), '"'),
|
3094
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
|
3099
3095
|
}
|
3100
3096
|
return t;
|
3101
|
-
}(
|
3102
|
-
),
|
3097
|
+
}(fe)
|
3098
|
+
), on = (
|
3103
3099
|
/** @class */
|
3104
3100
|
function(e) {
|
3105
|
-
|
3101
|
+
ce(t, e);
|
3106
3102
|
function t(r, n, i) {
|
3107
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3103
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
3108
3104
|
}
|
3109
3105
|
return t;
|
3110
|
-
}(
|
3111
|
-
),
|
3106
|
+
}(fe)
|
3107
|
+
), an = (
|
3112
3108
|
/** @class */
|
3113
3109
|
function(e) {
|
3114
|
-
|
3110
|
+
ce(t, e);
|
3115
3111
|
function t(r, n) {
|
3116
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3112
|
+
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
3113
|
}
|
3118
3114
|
return t;
|
3119
|
-
}(
|
3115
|
+
}(fe)
|
3120
3116
|
), H;
|
3121
3117
|
(function(e) {
|
3122
3118
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3123
3119
|
})(H || (H = {}));
|
3124
|
-
function
|
3120
|
+
function sn(e) {
|
3125
3121
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3126
3122
|
var n = t[t.length - 1];
|
3127
3123
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3128
3124
|
}, []);
|
3129
3125
|
}
|
3130
|
-
function
|
3126
|
+
function un(e) {
|
3131
3127
|
return typeof e == "function";
|
3132
3128
|
}
|
3133
|
-
function
|
3129
|
+
function ae(e, t, r, n, i, o, u) {
|
3134
3130
|
if (e.length === 1 && ze(e[0]))
|
3135
3131
|
return [
|
3136
3132
|
{
|
@@ -3147,98 +3143,98 @@ function se(e, t, r, n, i, o, u) {
|
|
3147
3143
|
});
|
3148
3144
|
continue;
|
3149
3145
|
}
|
3150
|
-
if (
|
3146
|
+
if (Ar(h)) {
|
3151
3147
|
typeof o == "number" && s.push({
|
3152
3148
|
type: H.literal,
|
3153
3149
|
value: r.getNumberFormat(t).format(o)
|
3154
3150
|
});
|
3155
3151
|
continue;
|
3156
3152
|
}
|
3157
|
-
var
|
3158
|
-
if (!(i &&
|
3159
|
-
throw new
|
3160
|
-
var
|
3161
|
-
if (
|
3162
|
-
(!
|
3163
|
-
type: typeof
|
3164
|
-
value:
|
3153
|
+
var c = h.value;
|
3154
|
+
if (!(i && c in i))
|
3155
|
+
throw new an(c, u);
|
3156
|
+
var f = i[c];
|
3157
|
+
if (Sr(h)) {
|
3158
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
3159
|
+
type: typeof f == "string" ? H.literal : H.object,
|
3160
|
+
value: f
|
3165
3161
|
});
|
3166
3162
|
continue;
|
3167
3163
|
}
|
3168
3164
|
if (gt(h)) {
|
3169
|
-
var
|
3165
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Se(h.style) ? h.style.parsedOptions : void 0;
|
3170
3166
|
s.push({
|
3171
3167
|
type: H.literal,
|
3172
|
-
value: r.getDateTimeFormat(t,
|
3168
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
3173
3169
|
});
|
3174
3170
|
continue;
|
3175
3171
|
}
|
3176
3172
|
if (dt(h)) {
|
3177
|
-
var
|
3173
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Se(h.style) ? h.style.parsedOptions : n.time.medium;
|
3178
3174
|
s.push({
|
3179
3175
|
type: H.literal,
|
3180
|
-
value: r.getDateTimeFormat(t,
|
3176
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
3181
3177
|
});
|
3182
3178
|
continue;
|
3183
3179
|
}
|
3184
3180
|
if (pt(h)) {
|
3185
|
-
var
|
3186
|
-
|
3181
|
+
var b = typeof h.style == "string" ? n.number[h.style] : Et(h.style) ? h.style.parsedOptions : void 0;
|
3182
|
+
b && b.scale && (f = f * (b.scale || 1)), s.push({
|
3187
3183
|
type: H.literal,
|
3188
|
-
value: r.getNumberFormat(t,
|
3184
|
+
value: r.getNumberFormat(t, b).format(f)
|
3189
3185
|
});
|
3190
3186
|
continue;
|
3191
3187
|
}
|
3192
3188
|
if (yt(h)) {
|
3193
|
-
var
|
3194
|
-
if (!
|
3195
|
-
throw new
|
3196
|
-
var T =
|
3197
|
-
return
|
3189
|
+
var y = h.children, m = h.value, v = i[m];
|
3190
|
+
if (!un(v))
|
3191
|
+
throw new on(m, "function", u);
|
3192
|
+
var T = ae(y, t, r, n, i, o), A = v(T.map(function(B) {
|
3193
|
+
return B.value;
|
3198
3194
|
}));
|
3199
|
-
Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(
|
3195
|
+
Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(B) {
|
3200
3196
|
return {
|
3201
|
-
type: typeof
|
3202
|
-
value:
|
3197
|
+
type: typeof B == "string" ? H.literal : H.object,
|
3198
|
+
value: B
|
3203
3199
|
};
|
3204
3200
|
}));
|
3205
3201
|
}
|
3206
3202
|
if (bt(h)) {
|
3207
|
-
var P = h.options[
|
3203
|
+
var P = h.options[f] || h.options.other;
|
3208
3204
|
if (!P)
|
3209
|
-
throw new Ke(h.value,
|
3210
|
-
s.push.apply(s,
|
3205
|
+
throw new Ke(h.value, f, Object.keys(h.options), u);
|
3206
|
+
s.push.apply(s, ae(P.value, t, r, n, i));
|
3211
3207
|
continue;
|
3212
3208
|
}
|
3213
3209
|
if (xt(h)) {
|
3214
|
-
var P = h.options["=".concat(
|
3210
|
+
var P = h.options["=".concat(f)];
|
3215
3211
|
if (!P) {
|
3216
3212
|
if (!Intl.PluralRules)
|
3217
|
-
throw new
|
3213
|
+
throw new fe(`Intl.PluralRules is not available in this environment.
|
3218
3214
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3219
|
-
`,
|
3220
|
-
var
|
3221
|
-
P = h.options[
|
3215
|
+
`, V.MISSING_INTL_API, u);
|
3216
|
+
var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3217
|
+
P = h.options[N] || h.options.other;
|
3222
3218
|
}
|
3223
3219
|
if (!P)
|
3224
|
-
throw new Ke(h.value,
|
3225
|
-
s.push.apply(s,
|
3220
|
+
throw new Ke(h.value, f, Object.keys(h.options), u);
|
3221
|
+
s.push.apply(s, ae(P.value, t, r, n, i, f - (h.offset || 0)));
|
3226
3222
|
continue;
|
3227
3223
|
}
|
3228
3224
|
}
|
3229
|
-
return
|
3225
|
+
return sn(s);
|
3230
3226
|
}
|
3231
|
-
function
|
3232
|
-
return t ?
|
3233
|
-
return r[n] =
|
3227
|
+
function hn(e, t) {
|
3228
|
+
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3229
|
+
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3234
3230
|
}, {})) : e;
|
3235
3231
|
}
|
3236
|
-
function
|
3232
|
+
function ln(e, t) {
|
3237
3233
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3238
|
-
return r[n] =
|
3239
|
-
},
|
3234
|
+
return r[n] = hn(e[n], t[n]), r;
|
3235
|
+
}, d({}, e)) : e;
|
3240
3236
|
}
|
3241
|
-
function
|
3237
|
+
function _e(e) {
|
3242
3238
|
return {
|
3243
3239
|
create: function() {
|
3244
3240
|
return {
|
@@ -3258,33 +3254,33 @@ function cn(e) {
|
|
3258
3254
|
dateTime: {},
|
3259
3255
|
pluralRules: {}
|
3260
3256
|
}), {
|
3261
|
-
getNumberFormat:
|
3257
|
+
getNumberFormat: ye(function() {
|
3262
3258
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3263
3259
|
r[n] = arguments[n];
|
3264
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3260
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
|
3265
3261
|
}, {
|
3266
|
-
cache:
|
3267
|
-
strategy:
|
3262
|
+
cache: _e(e.number),
|
3263
|
+
strategy: Ee.variadic
|
3268
3264
|
}),
|
3269
|
-
getDateTimeFormat:
|
3265
|
+
getDateTimeFormat: ye(function() {
|
3270
3266
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3271
3267
|
r[n] = arguments[n];
|
3272
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3268
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
|
3273
3269
|
}, {
|
3274
|
-
cache:
|
3275
|
-
strategy:
|
3270
|
+
cache: _e(e.dateTime),
|
3271
|
+
strategy: Ee.variadic
|
3276
3272
|
}),
|
3277
|
-
getPluralRules:
|
3273
|
+
getPluralRules: ye(function() {
|
3278
3274
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3279
3275
|
r[n] = arguments[n];
|
3280
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3276
|
+
return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
|
3281
3277
|
}, {
|
3282
|
-
cache:
|
3283
|
-
strategy:
|
3278
|
+
cache: _e(e.pluralRules),
|
3279
|
+
strategy: Ee.variadic
|
3284
3280
|
})
|
3285
3281
|
};
|
3286
3282
|
}
|
3287
|
-
var
|
3283
|
+
var fn = (
|
3288
3284
|
/** @class */
|
3289
3285
|
function() {
|
3290
3286
|
function e(t, r, n, i) {
|
@@ -3298,12 +3294,12 @@ var mn = (
|
|
3298
3294
|
var a = o.formatToParts(l);
|
3299
3295
|
if (a.length === 1)
|
3300
3296
|
return a[0].value;
|
3301
|
-
var h = a.reduce(function(
|
3302
|
-
return !
|
3297
|
+
var h = a.reduce(function(c, f) {
|
3298
|
+
return !c.length || f.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
3303
3299
|
}, []);
|
3304
3300
|
return h.length <= 1 ? h[0] || "" : h;
|
3305
3301
|
}, this.formatToParts = function(l) {
|
3306
|
-
return
|
3302
|
+
return ae(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
3307
3303
|
}, this.resolvedOptions = function() {
|
3308
3304
|
var l;
|
3309
3305
|
return {
|
@@ -3317,12 +3313,12 @@ var mn = (
|
|
3317
3313
|
var u = i || {};
|
3318
3314
|
u.formatters;
|
3319
3315
|
var s = vr(u, ["formatters"]);
|
3320
|
-
this.ast = e.__parse(t,
|
3316
|
+
this.ast = e.__parse(t, d(d({}, s), { locale: this.resolvedLocale }));
|
3321
3317
|
} else
|
3322
3318
|
this.ast = t;
|
3323
3319
|
if (!Array.isArray(this.ast))
|
3324
3320
|
throw new TypeError("A message must be provided as a String or AST.");
|
3325
|
-
this.formats =
|
3321
|
+
this.formats = ln(e.formats, n), this.formatters = i && i.formatters || cn(this.formatterCache);
|
3326
3322
|
}
|
3327
3323
|
return Object.defineProperty(e, "defaultLocale", {
|
3328
3324
|
get: function() {
|
@@ -3335,7 +3331,7 @@ var mn = (
|
|
3335
3331
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3336
3332
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3337
3333
|
}
|
3338
|
-
}, e.__parse =
|
3334
|
+
}, e.__parse = nn, e.formats = {
|
3339
3335
|
number: {
|
3340
3336
|
integer: {
|
3341
3337
|
maximumFractionDigits: 0
|
@@ -3396,7 +3392,7 @@ var mn = (
|
|
3396
3392
|
}, e;
|
3397
3393
|
}()
|
3398
3394
|
);
|
3399
|
-
function
|
3395
|
+
function mn(e, t) {
|
3400
3396
|
if (t == null)
|
3401
3397
|
return;
|
3402
3398
|
if (t in e)
|
@@ -3417,36 +3413,36 @@ function pn(e, t) {
|
|
3417
3413
|
n = void 0;
|
3418
3414
|
return n;
|
3419
3415
|
}
|
3420
|
-
const M = {},
|
3416
|
+
const M = {}, pn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), St = (e, t) => {
|
3421
3417
|
if (t == null)
|
3422
3418
|
return;
|
3423
3419
|
if (t in M && e in M[t])
|
3424
3420
|
return M[t][e];
|
3425
|
-
const r =
|
3421
|
+
const r = me(t);
|
3426
3422
|
for (let n = 0; n < r.length; n++) {
|
3427
|
-
const i = r[n], o =
|
3423
|
+
const i = r[n], o = dn(i, e);
|
3428
3424
|
if (o)
|
3429
|
-
return
|
3425
|
+
return pn(e, t, o);
|
3430
3426
|
}
|
3431
3427
|
};
|
3432
3428
|
let Ue;
|
3433
|
-
const
|
3434
|
-
function
|
3429
|
+
const re = le({});
|
3430
|
+
function gn(e) {
|
3435
3431
|
return Ue[e] || null;
|
3436
3432
|
}
|
3437
3433
|
function At(e) {
|
3438
3434
|
return e in Ue;
|
3439
3435
|
}
|
3440
|
-
function
|
3436
|
+
function dn(e, t) {
|
3441
3437
|
if (!At(e))
|
3442
3438
|
return null;
|
3443
|
-
const r =
|
3444
|
-
return
|
3439
|
+
const r = gn(e);
|
3440
|
+
return mn(r, t);
|
3445
3441
|
}
|
3446
|
-
function
|
3442
|
+
function bn(e) {
|
3447
3443
|
if (e == null)
|
3448
3444
|
return;
|
3449
|
-
const t =
|
3445
|
+
const t = me(e);
|
3450
3446
|
for (let r = 0; r < t.length; r++) {
|
3451
3447
|
const n = t[r];
|
3452
3448
|
if (At(n))
|
@@ -3454,55 +3450,55 @@ function xn(e) {
|
|
3454
3450
|
}
|
3455
3451
|
}
|
3456
3452
|
function wt(e, ...t) {
|
3457
|
-
delete M[e],
|
3453
|
+
delete M[e], re.update((r) => (r[e] = Er.all([r[e] || {}, ...t]), r));
|
3458
3454
|
}
|
3459
|
-
|
3460
|
-
[
|
3455
|
+
z(
|
3456
|
+
[re],
|
3461
3457
|
([e]) => Object.keys(e)
|
3462
3458
|
);
|
3463
|
-
|
3464
|
-
const
|
3465
|
-
function
|
3466
|
-
|
3459
|
+
re.subscribe((e) => Ue = e);
|
3460
|
+
const se = {};
|
3461
|
+
function xn(e, t) {
|
3462
|
+
se[e].delete(t), se[e].size === 0 && delete se[e];
|
3467
3463
|
}
|
3468
3464
|
function Ot(e) {
|
3469
|
-
return
|
3465
|
+
return se[e];
|
3470
3466
|
}
|
3471
|
-
function
|
3472
|
-
return
|
3467
|
+
function yn(e) {
|
3468
|
+
return me(e).map((t) => {
|
3473
3469
|
const r = Ot(t);
|
3474
3470
|
return [t, r ? [...r] : []];
|
3475
3471
|
}).filter(([, t]) => t.length > 0);
|
3476
3472
|
}
|
3477
|
-
function
|
3478
|
-
return e == null ? !1 :
|
3473
|
+
function Le(e) {
|
3474
|
+
return e == null ? !1 : me(e).some(
|
3479
3475
|
(t) => {
|
3480
3476
|
var r;
|
3481
3477
|
return (r = Ot(t)) == null ? void 0 : r.size;
|
3482
3478
|
}
|
3483
3479
|
);
|
3484
3480
|
}
|
3485
|
-
function
|
3481
|
+
function En(e, t) {
|
3486
3482
|
return Promise.all(
|
3487
|
-
t.map((n) => (
|
3483
|
+
t.map((n) => (xn(e, n), n().then((i) => i.default || i)))
|
3488
3484
|
).then((n) => wt(e, ...n));
|
3489
3485
|
}
|
3490
|
-
const
|
3491
|
-
function
|
3492
|
-
if (!
|
3493
|
-
return e in
|
3494
|
-
const t =
|
3495
|
-
return
|
3486
|
+
const q = {};
|
3487
|
+
function Mt(e) {
|
3488
|
+
if (!Le(e))
|
3489
|
+
return e in q ? q[e] : Promise.resolve();
|
3490
|
+
const t = yn(e);
|
3491
|
+
return q[e] = Promise.all(
|
3496
3492
|
t.map(
|
3497
|
-
([r, n]) =>
|
3493
|
+
([r, n]) => En(r, n)
|
3498
3494
|
)
|
3499
3495
|
).then(() => {
|
3500
|
-
if (
|
3501
|
-
return
|
3502
|
-
delete
|
3503
|
-
}),
|
3496
|
+
if (Le(e))
|
3497
|
+
return Mt(e);
|
3498
|
+
delete q[e];
|
3499
|
+
}), q[e];
|
3504
3500
|
}
|
3505
|
-
const
|
3501
|
+
const vn = {
|
3506
3502
|
number: {
|
3507
3503
|
scientific: { notation: "scientific" },
|
3508
3504
|
engineering: { notation: "engineering" },
|
@@ -3531,176 +3527,176 @@ const _n = {
|
|
3531
3527
|
timeZoneName: "short"
|
3532
3528
|
}
|
3533
3529
|
}
|
3534
|
-
},
|
3530
|
+
}, _n = {
|
3535
3531
|
fallbackLocale: null,
|
3536
3532
|
loadingDelay: 200,
|
3537
|
-
formats:
|
3533
|
+
formats: vn,
|
3538
3534
|
warnOnMissingMessages: !0,
|
3539
3535
|
handleMissingMessage: void 0,
|
3540
3536
|
ignoreTag: !0
|
3541
|
-
},
|
3542
|
-
function
|
3543
|
-
return
|
3537
|
+
}, Hn = _n;
|
3538
|
+
function X() {
|
3539
|
+
return Hn;
|
3544
3540
|
}
|
3545
|
-
const
|
3546
|
-
var
|
3541
|
+
const He = le(!1);
|
3542
|
+
var Tn = Object.defineProperty, Pn = Object.defineProperties, Bn = Object.getOwnPropertyDescriptors, et = Object.getOwnPropertySymbols, Nn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
|
3547
3543
|
for (var r in t || (t = {}))
|
3548
3544
|
Nn.call(t, r) && tt(e, r, t[r]);
|
3549
3545
|
if (et)
|
3550
3546
|
for (var r of et(t))
|
3551
|
-
|
3547
|
+
Sn.call(t, r) && tt(e, r, t[r]);
|
3552
3548
|
return e;
|
3553
|
-
},
|
3554
|
-
let
|
3555
|
-
const
|
3549
|
+
}, wn = (e, t) => Pn(e, Bn(t));
|
3550
|
+
let Ce;
|
3551
|
+
const ue = le(null);
|
3556
3552
|
function rt(e) {
|
3557
3553
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3558
3554
|
}
|
3559
|
-
function
|
3555
|
+
function me(e, t = X().fallbackLocale) {
|
3560
3556
|
const r = rt(e);
|
3561
3557
|
return t ? [.../* @__PURE__ */ new Set([...r, ...rt(t)])] : r;
|
3562
3558
|
}
|
3563
|
-
function
|
3564
|
-
return
|
3559
|
+
function $() {
|
3560
|
+
return Ce ?? void 0;
|
3565
3561
|
}
|
3566
|
-
|
3567
|
-
|
3562
|
+
ue.subscribe((e) => {
|
3563
|
+
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3568
3564
|
});
|
3569
|
-
const
|
3570
|
-
if (e &&
|
3571
|
-
const { loadingDelay: t } =
|
3565
|
+
const On = (e) => {
|
3566
|
+
if (e && bn(e) && Le(e)) {
|
3567
|
+
const { loadingDelay: t } = X();
|
3572
3568
|
let r;
|
3573
|
-
return typeof window < "u" &&
|
3574
|
-
() =>
|
3569
|
+
return typeof window < "u" && $() != null && t ? r = window.setTimeout(
|
3570
|
+
() => He.set(!0),
|
3575
3571
|
t
|
3576
|
-
) :
|
3577
|
-
|
3572
|
+
) : He.set(!0), Mt(e).then(() => {
|
3573
|
+
ue.set(e);
|
3578
3574
|
}).finally(() => {
|
3579
|
-
clearTimeout(r),
|
3575
|
+
clearTimeout(r), He.set(!1);
|
3580
3576
|
});
|
3581
3577
|
}
|
3582
|
-
return
|
3583
|
-
},
|
3584
|
-
set:
|
3585
|
-
}),
|
3578
|
+
return ue.set(e);
|
3579
|
+
}, Z = wn(An({}, ue), {
|
3580
|
+
set: On
|
3581
|
+
}), pe = (e) => {
|
3586
3582
|
const t = /* @__PURE__ */ Object.create(null);
|
3587
3583
|
return (n) => {
|
3588
3584
|
const i = JSON.stringify(n);
|
3589
3585
|
return i in t ? t[i] : t[i] = e(n);
|
3590
3586
|
};
|
3591
3587
|
};
|
3592
|
-
var Mn = Object.defineProperty,
|
3588
|
+
var Mn = Object.defineProperty, he = Object.getOwnPropertySymbols, It = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, nt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, De = (e, t) => {
|
3593
3589
|
for (var r in t || (t = {}))
|
3594
|
-
|
3595
|
-
if (
|
3596
|
-
for (var r of
|
3590
|
+
It.call(t, r) && nt(e, r, t[r]);
|
3591
|
+
if (he)
|
3592
|
+
for (var r of he(t))
|
3597
3593
|
Lt.call(t, r) && nt(e, r, t[r]);
|
3598
3594
|
return e;
|
3599
|
-
},
|
3595
|
+
}, W = (e, t) => {
|
3600
3596
|
var r = {};
|
3601
3597
|
for (var n in e)
|
3602
|
-
|
3603
|
-
if (e != null &&
|
3604
|
-
for (var n of
|
3598
|
+
It.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3599
|
+
if (e != null && he)
|
3600
|
+
for (var n of he(e))
|
3605
3601
|
t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
|
3606
3602
|
return r;
|
3607
3603
|
};
|
3608
|
-
const
|
3609
|
-
const { formats: r } =
|
3604
|
+
const ee = (e, t) => {
|
3605
|
+
const { formats: r } = X();
|
3610
3606
|
if (e in r && t in r[e])
|
3611
3607
|
return r[e][t];
|
3612
3608
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3613
|
-
},
|
3609
|
+
}, In = pe(
|
3614
3610
|
(e) => {
|
3615
|
-
var t = e, { locale: r, format: n } = t, i =
|
3611
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3616
3612
|
if (r == null)
|
3617
3613
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3618
|
-
return n && (i =
|
3614
|
+
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
3619
3615
|
}
|
3620
|
-
),
|
3616
|
+
), Ln = pe(
|
3621
3617
|
(e) => {
|
3622
|
-
var t = e, { locale: r, format: n } = t, i =
|
3618
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3623
3619
|
if (r == null)
|
3624
3620
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3625
|
-
return n ? i =
|
3621
|
+
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
3626
3622
|
}
|
3627
|
-
), Cn =
|
3623
|
+
), Cn = pe(
|
3628
3624
|
(e) => {
|
3629
|
-
var t = e, { locale: r, format: n } = t, i =
|
3625
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3630
3626
|
if (r == null)
|
3631
3627
|
throw new Error(
|
3632
3628
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3633
3629
|
);
|
3634
|
-
return n ? i =
|
3630
|
+
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
3635
3631
|
}
|
3636
|
-
),
|
3632
|
+
), $n = (e = {}) => {
|
3637
3633
|
var t = e, {
|
3638
|
-
locale: r =
|
3639
|
-
} = t, n =
|
3634
|
+
locale: r = $()
|
3635
|
+
} = t, n = W(t, [
|
3640
3636
|
"locale"
|
3641
3637
|
]);
|
3642
|
-
return
|
3643
|
-
},
|
3638
|
+
return In(De({ locale: r }, n));
|
3639
|
+
}, Rn = (e = {}) => {
|
3644
3640
|
var t = e, {
|
3645
|
-
locale: r =
|
3646
|
-
} = t, n =
|
3641
|
+
locale: r = $()
|
3642
|
+
} = t, n = W(t, [
|
3647
3643
|
"locale"
|
3648
3644
|
]);
|
3649
|
-
return
|
3650
|
-
},
|
3645
|
+
return Ln(De({ locale: r }, n));
|
3646
|
+
}, Fn = (e = {}) => {
|
3651
3647
|
var t = e, {
|
3652
|
-
locale: r =
|
3653
|
-
} = t, n =
|
3648
|
+
locale: r = $()
|
3649
|
+
} = t, n = W(t, [
|
3654
3650
|
"locale"
|
3655
3651
|
]);
|
3656
3652
|
return Cn(De({ locale: r }, n));
|
3657
|
-
},
|
3653
|
+
}, Gn = pe(
|
3658
3654
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3659
|
-
(e, t =
|
3660
|
-
ignoreTag:
|
3655
|
+
(e, t = $()) => new fn(e, t, X().formats, {
|
3656
|
+
ignoreTag: X().ignoreTag
|
3661
3657
|
})
|
3662
|
-
),
|
3658
|
+
), Un = (e, t = {}) => {
|
3663
3659
|
var r, n, i, o;
|
3664
3660
|
let u = t;
|
3665
3661
|
typeof e == "object" && (u = e, e = u.id);
|
3666
3662
|
const {
|
3667
3663
|
values: s,
|
3668
|
-
locale: l =
|
3664
|
+
locale: l = $(),
|
3669
3665
|
default: a
|
3670
3666
|
} = u;
|
3671
3667
|
if (l == null)
|
3672
3668
|
throw new Error(
|
3673
3669
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3674
3670
|
);
|
3675
|
-
let h =
|
3671
|
+
let h = St(e, l);
|
3676
3672
|
if (!h)
|
3677
|
-
h = (o = (i = (n = (r =
|
3673
|
+
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
3674
|
else if (typeof h != "string")
|
3679
3675
|
return console.warn(
|
3680
3676
|
`[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.`
|
3681
3677
|
), h;
|
3682
3678
|
if (!s)
|
3683
3679
|
return h;
|
3684
|
-
let
|
3680
|
+
let c = h;
|
3685
3681
|
try {
|
3686
|
-
|
3687
|
-
} catch (
|
3688
|
-
|
3682
|
+
c = Gn(h, l).format(s);
|
3683
|
+
} catch (f) {
|
3684
|
+
f instanceof Error && console.warn(
|
3689
3685
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
3690
|
-
|
3686
|
+
f.message
|
3691
3687
|
);
|
3692
3688
|
}
|
3693
|
-
return
|
3694
|
-
},
|
3695
|
-
|
3696
|
-
|
3697
|
-
|
3698
|
-
|
3689
|
+
return c;
|
3690
|
+
}, Dn = (e, t) => Fn(t).format(e), kn = (e, t) => Rn(t).format(e), jn = (e, t) => $n(t).format(e), Vn = (e, t = $()) => St(e, t), Xn = z([Z, re], () => Un);
|
3691
|
+
z([Z], () => Dn);
|
3692
|
+
z([Z], () => kn);
|
3693
|
+
z([Z], () => jn);
|
3694
|
+
z([Z, re], () => Vn);
|
3699
3695
|
function it(e, t) {
|
3700
3696
|
wt(e, t);
|
3701
3697
|
}
|
3702
|
-
function
|
3703
|
-
|
3698
|
+
function zn(e) {
|
3699
|
+
Z.set(e);
|
3704
3700
|
}
|
3705
3701
|
const ot = {
|
3706
3702
|
en: {
|
@@ -3794,13 +3790,13 @@ const ot = {
|
|
3794
3790
|
home: "Go to homepage"
|
3795
3791
|
}
|
3796
3792
|
};
|
3797
|
-
function
|
3793
|
+
function Zn(e, t) {
|
3798
3794
|
if (e) {
|
3799
3795
|
const r = document.createElement("style");
|
3800
3796
|
r.innerHTML = t, e.appendChild(r);
|
3801
3797
|
}
|
3802
3798
|
}
|
3803
|
-
function
|
3799
|
+
function Wn(e, t) {
|
3804
3800
|
const r = new URL(t);
|
3805
3801
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
3806
3802
|
const i = document.createElement("style");
|
@@ -3809,7 +3805,7 @@ function Qn(e, t) {
|
|
3809
3805
|
console.error("There was an error while trying to load client styling from URL", n);
|
3810
3806
|
});
|
3811
3807
|
}
|
3812
|
-
function
|
3808
|
+
function Qn(e, t, r) {
|
3813
3809
|
if (window.emMessageBus) {
|
3814
3810
|
const n = document.createElement("style");
|
3815
3811
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -3817,51 +3813,51 @@ function qn(e, t, r) {
|
|
3817
3813
|
});
|
3818
3814
|
}
|
3819
3815
|
}
|
3820
|
-
function
|
3816
|
+
function qn(e) {
|
3821
3817
|
Rt(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
3818
|
}
|
3823
|
-
function
|
3824
|
-
let t, r, n, i, o, u, s, l, a, h,
|
3819
|
+
function Jn(e) {
|
3820
|
+
let t, r, n, i, o, u, s, l, a, h, c, f, b = (
|
3825
3821
|
/*$_*/
|
3826
3822
|
e[1]("pageNotFound") + ""
|
3827
|
-
),
|
3823
|
+
), y, m, v, T = (
|
3828
3824
|
/*$_*/
|
3829
3825
|
e[1]("pageNotFoundMessage") + ""
|
3830
|
-
), A, P,
|
3826
|
+
), A, P, N, B = (
|
3831
3827
|
/*$_*/
|
3832
3828
|
e[1]("home") + ""
|
3833
|
-
),
|
3829
|
+
), w, R, ke;
|
3834
3830
|
return {
|
3835
3831
|
c() {
|
3836
|
-
t =
|
3832
|
+
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"), c = ge(), f = 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(f, "class", "PageTitle"), x(v, "class", "PageContent"), x(N, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
|
3837
3833
|
},
|
3838
|
-
m(
|
3839
|
-
ht(
|
3840
|
-
|
3834
|
+
m(I, Q) {
|
3835
|
+
ht(I, t, Q), _(t, r), _(r, n), _(n, i), _(i, o), _(i, u), _(i, s), _(i, l), _(i, a), _(i, h), _(r, c), _(r, f), _(f, y), _(r, m), _(r, v), _(v, A), _(r, P), _(r, N), _(N, w), e[9](t), R || (ke = Ut(
|
3836
|
+
N,
|
3841
3837
|
"click",
|
3842
3838
|
/*click_handler*/
|
3843
3839
|
e[8]
|
3844
|
-
),
|
3840
|
+
), R = !0);
|
3845
3841
|
},
|
3846
|
-
p(
|
3847
|
-
|
3848
|
-
2 &&
|
3849
|
-
|
3842
|
+
p(I, [Q]) {
|
3843
|
+
Q & /*$_*/
|
3844
|
+
2 && b !== (b = /*$_*/
|
3845
|
+
I[1]("pageNotFound") + "") && de(y, b), Q & /*$_*/
|
3850
3846
|
2 && T !== (T = /*$_*/
|
3851
|
-
|
3852
|
-
2 &&
|
3853
|
-
|
3847
|
+
I[1]("pageNotFoundMessage") + "") && de(A, T), Q & /*$_*/
|
3848
|
+
2 && B !== (B = /*$_*/
|
3849
|
+
I[1]("home") + "") && de(w, B);
|
3854
3850
|
},
|
3855
|
-
i:
|
3856
|
-
o:
|
3857
|
-
d(
|
3858
|
-
|
3851
|
+
i: S,
|
3852
|
+
o: S,
|
3853
|
+
d(I) {
|
3854
|
+
I && Re(t), e[9](null), R = !1, ke();
|
3859
3855
|
}
|
3860
3856
|
};
|
3861
3857
|
}
|
3862
|
-
function
|
3858
|
+
function Yn(e, t, r) {
|
3863
3859
|
let n;
|
3864
|
-
|
3860
|
+
$t(e, Xn, (m) => r(1, n = m));
|
3865
3861
|
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: s = "" } = t, { mbsource: l } = t, a;
|
3866
3862
|
const h = () => {
|
3867
3863
|
fetch(s).then((v) => v.json()).then((v) => {
|
@@ -3875,16 +3871,16 @@ function Kn(e, t, r) {
|
|
3875
3871
|
Object.keys(ot).forEach((m) => {
|
3876
3872
|
it(m, ot[m]);
|
3877
3873
|
});
|
3878
|
-
const
|
3874
|
+
const c = () => {
|
3879
3875
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
3880
|
-
},
|
3881
|
-
|
3876
|
+
}, f = () => {
|
3877
|
+
zn(i);
|
3882
3878
|
};
|
3883
3879
|
Vt(() => () => {
|
3884
3880
|
});
|
3885
|
-
const
|
3886
|
-
function
|
3887
|
-
|
3881
|
+
const b = () => c();
|
3882
|
+
function y(m) {
|
3883
|
+
Te[m ? "unshift" : "push"](() => {
|
3888
3884
|
a = m, r(0, a);
|
3889
3885
|
});
|
3890
3886
|
}
|
@@ -3892,31 +3888,31 @@ function Kn(e, t, r) {
|
|
3892
3888
|
"lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5, u = m.clientstylingurl), "translationurl" in m && r(6, s = m.translationurl), "mbsource" in m && r(7, l = m.mbsource);
|
3893
3889
|
}, e.$$.update = () => {
|
3894
3890
|
e.$$.dirty & /*lang*/
|
3895
|
-
8 && i &&
|
3891
|
+
8 && i && f(), e.$$.dirty & /*translationurl*/
|
3896
3892
|
64 && s && h(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3897
|
-
17 && o && a &&
|
3898
|
-
33 && u && a &&
|
3899
|
-
129 && l && a &&
|
3893
|
+
17 && o && a && Zn(a, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3894
|
+
33 && u && a && Wn(a, u), e.$$.dirty & /*mbsource, customStylingContainer*/
|
3895
|
+
129 && l && a && Qn(a, `${l}.Style`);
|
3900
3896
|
}, [
|
3901
3897
|
a,
|
3902
3898
|
n,
|
3903
|
-
|
3899
|
+
c,
|
3904
3900
|
i,
|
3905
3901
|
o,
|
3906
3902
|
u,
|
3907
3903
|
s,
|
3908
3904
|
l,
|
3909
|
-
|
3910
|
-
|
3905
|
+
b,
|
3906
|
+
y
|
3911
3907
|
];
|
3912
3908
|
}
|
3913
|
-
class
|
3909
|
+
class Kn extends rr {
|
3914
3910
|
constructor(t) {
|
3915
3911
|
super(), er(
|
3916
3912
|
this,
|
3917
3913
|
t,
|
3918
|
-
Kn,
|
3919
3914
|
Yn,
|
3915
|
+
Jn,
|
3920
3916
|
st,
|
3921
3917
|
{
|
3922
3918
|
lang: 3,
|
@@ -3925,7 +3921,7 @@ class ei extends rr {
|
|
3925
3921
|
translationurl: 6,
|
3926
3922
|
mbsource: 7
|
3927
3923
|
},
|
3928
|
-
|
3924
|
+
qn
|
3929
3925
|
);
|
3930
3926
|
}
|
3931
3927
|
get lang() {
|
@@ -3959,7 +3955,7 @@ class ei extends rr {
|
|
3959
3955
|
this.$$set({ mbsource: t }), C();
|
3960
3956
|
}
|
3961
3957
|
}
|
3962
|
-
tr(
|
3958
|
+
tr(Kn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
3963
3959
|
export {
|
3964
|
-
|
3960
|
+
Kn as C
|
3965
3961
|
};
|