@everymatrix/casino-404 1.55.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{Casino404-BYPCk43l.js → Casino404-BAwtFpIN.js} +618 -566
- package/components/{Casino404-Eo4EH2yJ.js → Casino404-CDo-vfq7.js} +650 -598
- package/components/Casino404-DilLgg_z.cjs +16 -0
- 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-CbF32MWb.cjs +0 -3
@@ -1,15 +1,15 @@
|
|
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) {
|
@@ -22,7 +22,7 @@ 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;
|
@@ -30,7 +30,7 @@ function ut(e, ...t) {
|
|
30
30
|
function $t(e, t, r) {
|
31
31
|
e.$$.on_destroy.push(ut(t, r));
|
32
32
|
}
|
33
|
-
function
|
33
|
+
function _(e, t) {
|
34
34
|
e.appendChild(t);
|
35
35
|
}
|
36
36
|
function Rt(e, t, r) {
|
@@ -41,7 +41,8 @@ function Rt(e, t, r) {
|
|
41
41
|
}
|
42
42
|
}
|
43
43
|
function Ft(e) {
|
44
|
-
if (!e)
|
44
|
+
if (!e)
|
45
|
+
return document;
|
45
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
46
47
|
return t && /** @type {ShadowRoot} */
|
47
48
|
t.host ? (
|
@@ -50,7 +51,7 @@ function Ft(e) {
|
|
50
51
|
) : e.ownerDocument;
|
51
52
|
}
|
52
53
|
function Gt(e, t) {
|
53
|
-
return
|
54
|
+
return _(
|
54
55
|
/** @type {Document} */
|
55
56
|
e.head || e,
|
56
57
|
t
|
@@ -59,7 +60,7 @@ function Gt(e, t) {
|
|
59
60
|
function ht(e, t, r) {
|
60
61
|
e.insertBefore(t, r || null);
|
61
62
|
}
|
62
|
-
function
|
63
|
+
function Re(e) {
|
63
64
|
e.parentNode && e.parentNode.removeChild(e);
|
64
65
|
}
|
65
66
|
function L(e) {
|
@@ -68,11 +69,11 @@ function L(e) {
|
|
68
69
|
function O(e) {
|
69
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
70
71
|
}
|
71
|
-
function
|
72
|
+
function ie(e) {
|
72
73
|
return document.createTextNode(e);
|
73
74
|
}
|
74
|
-
function
|
75
|
-
return
|
75
|
+
function ge() {
|
76
|
+
return ie(" ");
|
76
77
|
}
|
77
78
|
function Dt(e, t, r, n) {
|
78
79
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
@@ -83,11 +84,11 @@ function x(e, t, r) {
|
|
83
84
|
function Ut(e) {
|
84
85
|
return Array.from(e.childNodes);
|
85
86
|
}
|
86
|
-
function
|
87
|
+
function de(e, t) {
|
87
88
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
88
89
|
t);
|
89
90
|
}
|
90
|
-
function
|
91
|
+
function kt(e) {
|
91
92
|
const t = {};
|
92
93
|
return e.childNodes.forEach(
|
93
94
|
/** @param {Element} node */
|
@@ -96,86 +97,95 @@ function jt(e) {
|
|
96
97
|
}
|
97
98
|
), t;
|
98
99
|
}
|
99
|
-
let
|
100
|
+
let Y;
|
100
101
|
function J(e) {
|
101
|
-
|
102
|
+
Y = e;
|
103
|
+
}
|
104
|
+
function jt() {
|
105
|
+
if (!Y)
|
106
|
+
throw new Error("Function called outside component initialization");
|
107
|
+
return Y;
|
102
108
|
}
|
103
|
-
|
109
|
+
function Vt(e) {
|
110
|
+
jt().$$.on_mount.push(e);
|
111
|
+
}
|
112
|
+
const D = [], Te = [];
|
104
113
|
let U = [];
|
105
|
-
const Ve = [],
|
106
|
-
let
|
107
|
-
function
|
108
|
-
|
114
|
+
const Ve = [], Xt = /* @__PURE__ */ Promise.resolve();
|
115
|
+
let Pe = !1;
|
116
|
+
function zt() {
|
117
|
+
Pe || (Pe = !0, Xt.then(C));
|
109
118
|
}
|
110
|
-
function
|
119
|
+
function Ne(e) {
|
111
120
|
U.push(e);
|
112
121
|
}
|
113
|
-
const
|
114
|
-
let
|
115
|
-
function
|
116
|
-
if (
|
122
|
+
const be = /* @__PURE__ */ new Set();
|
123
|
+
let F = 0;
|
124
|
+
function C() {
|
125
|
+
if (F !== 0)
|
117
126
|
return;
|
118
|
-
const e =
|
127
|
+
const e = Y;
|
119
128
|
do {
|
120
129
|
try {
|
121
|
-
for (;
|
122
|
-
const t =
|
123
|
-
|
130
|
+
for (; F < D.length; ) {
|
131
|
+
const t = D[F];
|
132
|
+
F++, J(t), Zt(t.$$);
|
124
133
|
}
|
125
134
|
} catch (t) {
|
126
|
-
throw
|
135
|
+
throw D.length = 0, F = 0, t;
|
127
136
|
}
|
128
|
-
for (J(null),
|
137
|
+
for (J(null), D.length = 0, F = 0; Te.length; )
|
138
|
+
Te.pop()();
|
129
139
|
for (let t = 0; t < U.length; t += 1) {
|
130
140
|
const r = U[t];
|
131
|
-
|
141
|
+
be.has(r) || (be.add(r), r());
|
132
142
|
}
|
133
143
|
U.length = 0;
|
134
|
-
} while (
|
144
|
+
} while (D.length);
|
135
145
|
for (; Ve.length; )
|
136
146
|
Ve.pop()();
|
137
|
-
|
147
|
+
Pe = !1, be.clear(), J(e);
|
138
148
|
}
|
139
|
-
function
|
149
|
+
function Zt(e) {
|
140
150
|
if (e.fragment !== null) {
|
141
|
-
e.update(),
|
151
|
+
e.update(), te(e.before_update);
|
142
152
|
const t = e.dirty;
|
143
|
-
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(Ne);
|
144
154
|
}
|
145
155
|
}
|
146
|
-
function
|
156
|
+
function Wt(e) {
|
147
157
|
const t = [], r = [];
|
148
158
|
U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
|
149
159
|
}
|
150
|
-
const
|
151
|
-
function
|
152
|
-
e && e.i && (
|
160
|
+
const Qt = /* @__PURE__ */ new Set();
|
161
|
+
function qt(e, t) {
|
162
|
+
e && e.i && (Qt.delete(e), e.i(t));
|
153
163
|
}
|
154
|
-
function
|
164
|
+
function Jt(e, t, r) {
|
155
165
|
const { fragment: n, after_update: i } = e.$$;
|
156
|
-
n && n.m(t, r),
|
157
|
-
const o = e.$$.on_mount.map(at).filter(
|
158
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
159
|
-
}), i.forEach(
|
166
|
+
n && n.m(t, r), Ne(() => {
|
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(Ne);
|
160
170
|
}
|
161
|
-
function
|
171
|
+
function Yt(e, t) {
|
162
172
|
const r = e.$$;
|
163
|
-
r.fragment !== null && (
|
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 = []);
|
164
174
|
}
|
165
|
-
function
|
166
|
-
e.$$.dirty[0] === -1 && (
|
175
|
+
function Kt(e, t) {
|
176
|
+
e.$$.dirty[0] === -1 && (D.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
167
177
|
}
|
168
|
-
function
|
169
|
-
const l =
|
178
|
+
function er(e, t, r, n, i, o, u = null, s = [-1]) {
|
179
|
+
const l = Y;
|
170
180
|
J(e);
|
171
|
-
const
|
181
|
+
const a = e.$$ = {
|
172
182
|
fragment: null,
|
173
183
|
ctx: [],
|
174
184
|
// state
|
175
185
|
props: o,
|
176
|
-
update:
|
186
|
+
update: S,
|
177
187
|
not_equal: i,
|
178
|
-
bound:
|
188
|
+
bound: je(),
|
179
189
|
// lifecycle
|
180
190
|
on_mount: [],
|
181
191
|
on_destroy: [],
|
@@ -184,23 +194,23 @@ function Yt(e, t, r, n, i, o, u = null, a = [-1]) {
|
|
184
194
|
after_update: [],
|
185
195
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
186
196
|
// everything else
|
187
|
-
callbacks:
|
188
|
-
dirty:
|
197
|
+
callbacks: je(),
|
198
|
+
dirty: s,
|
189
199
|
skip_bound: !1,
|
190
200
|
root: t.target || l.$$.root
|
191
201
|
};
|
192
|
-
u && u(
|
202
|
+
u && u(a.root);
|
193
203
|
let h = !1;
|
194
|
-
if (
|
204
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
195
205
|
const y = b.length ? b[0] : f;
|
196
|
-
return
|
197
|
-
}) : [],
|
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) {
|
198
208
|
if (t.hydrate) {
|
199
209
|
const c = Ut(t.target);
|
200
|
-
|
210
|
+
a.fragment && a.fragment.l(c), c.forEach(Re);
|
201
211
|
} else
|
202
|
-
|
203
|
-
t.intro &&
|
212
|
+
a.fragment && a.fragment.c();
|
213
|
+
t.intro && qt(e.$$.fragment), Jt(e, t.target, t.anchor), C();
|
204
214
|
}
|
205
215
|
J(l);
|
206
216
|
}
|
@@ -253,23 +263,23 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
253
263
|
* @param {HTMLElement} target
|
254
264
|
* @param {HTMLElement} [anchor]
|
255
265
|
*/
|
256
|
-
m: function(l,
|
257
|
-
ht(l, o,
|
266
|
+
m: function(l, a) {
|
267
|
+
ht(l, o, a);
|
258
268
|
},
|
259
269
|
d: function(l) {
|
260
|
-
l &&
|
270
|
+
l && Re(o);
|
261
271
|
}
|
262
272
|
};
|
263
273
|
};
|
264
274
|
};
|
265
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
266
276
|
return;
|
267
|
-
const t = {}, r =
|
277
|
+
const t = {}, r = kt(this);
|
268
278
|
for (const i of this.$$s)
|
269
279
|
i in r && (t[i] = [e(i)]);
|
270
280
|
for (const i of this.attributes) {
|
271
281
|
const o = this.$$g_p(i.name);
|
272
|
-
o in this.$$d || (this.$$d[o] =
|
282
|
+
o in this.$$d || (this.$$d[o] = oe(o, i.value, this.$$p_d, "toProp"));
|
273
283
|
}
|
274
284
|
for (const i in this.$$p_d)
|
275
285
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
@@ -287,7 +297,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
287
297
|
this.$$r = !0;
|
288
298
|
for (const i in this.$$p_d)
|
289
299
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
290
|
-
const o =
|
300
|
+
const o = oe(
|
291
301
|
i,
|
292
302
|
this.$$d[i],
|
293
303
|
this.$$p_d,
|
@@ -309,7 +319,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
309
319
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
310
320
|
// and setting attributes through setAttribute etc, this is helpful
|
311
321
|
attributeChangedCallback(e, t, r) {
|
312
|
-
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] }));
|
313
323
|
}
|
314
324
|
disconnectedCallback() {
|
315
325
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -322,7 +332,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
322
332
|
) || e;
|
323
333
|
}
|
324
334
|
});
|
325
|
-
function
|
335
|
+
function oe(e, t, r, n) {
|
326
336
|
const i = r[e]?.type;
|
327
337
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
328
338
|
return t;
|
@@ -351,36 +361,36 @@ function ie(e, t, r, n) {
|
|
351
361
|
return t;
|
352
362
|
}
|
353
363
|
}
|
354
|
-
function
|
364
|
+
function tr(e, t, r, n, i, o) {
|
355
365
|
let u = class extends lt {
|
356
366
|
constructor() {
|
357
367
|
super(e, r, i), this.$$p_d = t;
|
358
368
|
}
|
359
369
|
static get observedAttributes() {
|
360
370
|
return Object.keys(t).map(
|
361
|
-
(
|
371
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
362
372
|
);
|
363
373
|
}
|
364
374
|
};
|
365
|
-
return Object.keys(t).forEach((
|
366
|
-
Object.defineProperty(u.prototype,
|
375
|
+
return Object.keys(t).forEach((s) => {
|
376
|
+
Object.defineProperty(u.prototype, s, {
|
367
377
|
get() {
|
368
|
-
return this.$$c &&
|
378
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
369
379
|
},
|
370
380
|
set(l) {
|
371
|
-
l =
|
381
|
+
l = oe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
372
382
|
}
|
373
383
|
});
|
374
|
-
}), n.forEach((
|
375
|
-
Object.defineProperty(u.prototype,
|
384
|
+
}), n.forEach((s) => {
|
385
|
+
Object.defineProperty(u.prototype, s, {
|
376
386
|
get() {
|
377
|
-
return this.$$c?.[
|
387
|
+
return this.$$c?.[s];
|
378
388
|
}
|
379
389
|
});
|
380
390
|
}), e.element = /** @type {any} */
|
381
391
|
u, u;
|
382
392
|
}
|
383
|
-
class
|
393
|
+
class rr {
|
384
394
|
/**
|
385
395
|
* ### PRIVATE API
|
386
396
|
*
|
@@ -399,7 +409,7 @@ class er {
|
|
399
409
|
$$set = void 0;
|
400
410
|
/** @returns {void} */
|
401
411
|
$destroy() {
|
402
|
-
|
412
|
+
Yt(this, 1), this.$destroy = S;
|
403
413
|
}
|
404
414
|
/**
|
405
415
|
* @template {Extract<keyof Events, string>} K
|
@@ -408,8 +418,8 @@ class er {
|
|
408
418
|
* @returns {() => void}
|
409
419
|
*/
|
410
420
|
$on(t, r) {
|
411
|
-
if (
|
412
|
-
return
|
421
|
+
if (!$e(r))
|
422
|
+
return S;
|
413
423
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
414
424
|
return n.push(r), () => {
|
415
425
|
const i = n.indexOf(r);
|
@@ -424,36 +434,36 @@ class er {
|
|
424
434
|
this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
425
435
|
}
|
426
436
|
}
|
427
|
-
const
|
428
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
429
|
-
const
|
430
|
-
function
|
437
|
+
const nr = "4";
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nr);
|
439
|
+
const G = [];
|
440
|
+
function ir(e, t) {
|
431
441
|
return {
|
432
|
-
subscribe:
|
442
|
+
subscribe: le(e, t).subscribe
|
433
443
|
};
|
434
444
|
}
|
435
|
-
function
|
445
|
+
function le(e, t = S) {
|
436
446
|
let r;
|
437
447
|
const n = /* @__PURE__ */ new Set();
|
438
|
-
function i(
|
439
|
-
if (st(e,
|
440
|
-
const l = !
|
441
|
-
for (const
|
442
|
-
|
448
|
+
function i(s) {
|
449
|
+
if (st(e, s) && (e = s, r)) {
|
450
|
+
const l = !G.length;
|
451
|
+
for (const a of n)
|
452
|
+
a[1](), G.push(a, e);
|
443
453
|
if (l) {
|
444
|
-
for (let
|
445
|
-
|
446
|
-
|
454
|
+
for (let a = 0; a < G.length; a += 2)
|
455
|
+
G[a][0](G[a + 1]);
|
456
|
+
G.length = 0;
|
447
457
|
}
|
448
458
|
}
|
449
459
|
}
|
450
|
-
function o(
|
451
|
-
i(
|
460
|
+
function o(s) {
|
461
|
+
i(s(e));
|
452
462
|
}
|
453
|
-
function u(
|
454
|
-
const
|
455
|
-
return n.add(
|
456
|
-
n.delete(
|
463
|
+
function u(s, l = S) {
|
464
|
+
const a = [s, l];
|
465
|
+
return n.add(a), n.size === 1 && (r = t(i, o) || S), s(e), () => {
|
466
|
+
n.delete(a), n.size === 0 && r && (r(), r = null);
|
457
467
|
};
|
458
468
|
}
|
459
469
|
return { set: i, update: o, subscribe: u };
|
@@ -463,117 +473,132 @@ function z(e, t, r) {
|
|
463
473
|
if (!i.every(Boolean))
|
464
474
|
throw new Error("derived() expects stores as input, got a falsy value");
|
465
475
|
const o = t.length < 2;
|
466
|
-
return
|
476
|
+
return ir(r, (u, s) => {
|
467
477
|
let l = !1;
|
468
|
-
const
|
469
|
-
let h = 0, c =
|
478
|
+
const a = [];
|
479
|
+
let h = 0, c = S;
|
470
480
|
const f = () => {
|
471
481
|
if (h)
|
472
482
|
return;
|
473
483
|
c();
|
474
|
-
const y = t(n ?
|
475
|
-
o ? u(y) : c =
|
484
|
+
const y = t(n ? a[0] : a, u, s);
|
485
|
+
o ? u(y) : c = $e(y) ? y : S;
|
476
486
|
}, b = i.map(
|
477
|
-
(y,
|
487
|
+
(y, m) => ut(
|
478
488
|
y,
|
479
|
-
(
|
480
|
-
|
489
|
+
(E) => {
|
490
|
+
a[m] = E, h &= ~(1 << m), l && f();
|
481
491
|
},
|
482
492
|
() => {
|
483
|
-
h |= 1 <<
|
493
|
+
h |= 1 << m;
|
484
494
|
}
|
485
495
|
)
|
486
496
|
);
|
487
497
|
return l = !0, f(), function() {
|
488
|
-
|
498
|
+
te(b), c(), l = !1;
|
489
499
|
};
|
490
500
|
});
|
491
501
|
}
|
492
|
-
function
|
502
|
+
function or(e) {
|
493
503
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
494
504
|
}
|
495
|
-
var
|
496
|
-
return
|
505
|
+
var ar = function(t) {
|
506
|
+
return sr(t) && !ur(t);
|
497
507
|
};
|
498
|
-
function
|
508
|
+
function sr(e) {
|
499
509
|
return !!e && typeof e == "object";
|
500
510
|
}
|
501
|
-
function
|
511
|
+
function ur(e) {
|
502
512
|
var t = Object.prototype.toString.call(e);
|
503
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
513
|
+
return t === "[object RegExp]" || t === "[object Date]" || cr(e);
|
504
514
|
}
|
505
|
-
var
|
506
|
-
function
|
507
|
-
return e.$$typeof ===
|
515
|
+
var hr = typeof Symbol == "function" && Symbol.for, lr = hr ? Symbol.for("react.element") : 60103;
|
516
|
+
function cr(e) {
|
517
|
+
return e.$$typeof === lr;
|
508
518
|
}
|
509
|
-
function
|
519
|
+
function fr(e) {
|
510
520
|
return Array.isArray(e) ? [] : {};
|
511
521
|
}
|
512
|
-
function
|
513
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
522
|
+
function K(e, t) {
|
523
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(fr(e), e, t) : e;
|
514
524
|
}
|
515
|
-
function
|
525
|
+
function mr(e, t, r) {
|
516
526
|
return e.concat(t).map(function(n) {
|
517
|
-
return
|
527
|
+
return K(n, r);
|
518
528
|
});
|
519
529
|
}
|
520
|
-
function
|
530
|
+
function pr(e, t) {
|
521
531
|
if (!t.customMerge)
|
522
|
-
return
|
532
|
+
return k;
|
523
533
|
var r = t.customMerge(e);
|
524
|
-
return typeof r == "function" ? r :
|
534
|
+
return typeof r == "function" ? r : k;
|
525
535
|
}
|
526
|
-
function
|
536
|
+
function gr(e) {
|
527
537
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
528
538
|
return Object.propertyIsEnumerable.call(e, t);
|
529
539
|
}) : [];
|
530
540
|
}
|
531
541
|
function Xe(e) {
|
532
|
-
return Object.keys(e).concat(
|
542
|
+
return Object.keys(e).concat(gr(e));
|
533
543
|
}
|
534
|
-
function
|
544
|
+
function ct(e, t) {
|
535
545
|
try {
|
536
546
|
return t in e;
|
537
547
|
} catch {
|
538
548
|
return !1;
|
539
549
|
}
|
540
550
|
}
|
541
|
-
function
|
542
|
-
return
|
551
|
+
function dr(e, t) {
|
552
|
+
return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
543
553
|
}
|
544
|
-
function
|
554
|
+
function br(e, t, r) {
|
545
555
|
var n = {};
|
546
556
|
return r.isMergeableObject(e) && Xe(e).forEach(function(i) {
|
547
|
-
n[i] =
|
557
|
+
n[i] = K(e[i], r);
|
548
558
|
}), Xe(t).forEach(function(i) {
|
549
|
-
|
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));
|
550
560
|
}), n;
|
551
561
|
}
|
552
|
-
function
|
553
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
562
|
+
function k(e, t, r) {
|
563
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || mr, r.isMergeableObject = r.isMergeableObject || ar, r.cloneUnlessOtherwiseSpecified = K;
|
554
564
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
555
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
565
|
+
return o ? n ? r.arrayMerge(e, t, r) : br(e, t, r) : K(t, r);
|
556
566
|
}
|
557
|
-
|
567
|
+
k.all = function(t, r) {
|
558
568
|
if (!Array.isArray(t))
|
559
569
|
throw new Error("first argument should be an array");
|
560
570
|
return t.reduce(function(n, i) {
|
561
|
-
return
|
571
|
+
return k(n, i, r);
|
562
572
|
}, {});
|
563
573
|
};
|
564
|
-
var
|
565
|
-
const
|
566
|
-
|
567
|
-
|
574
|
+
var xr = k, yr = xr;
|
575
|
+
const vr = /* @__PURE__ */ or(yr);
|
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 Be = function(e, t) {
|
591
|
+
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
568
592
|
r.__proto__ = n;
|
569
593
|
} || function(r, n) {
|
570
|
-
for (var i in n)
|
571
|
-
|
594
|
+
for (var i in n)
|
595
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
596
|
+
}, Be(e, t);
|
572
597
|
};
|
573
|
-
function
|
598
|
+
function ce(e, t) {
|
574
599
|
if (typeof t != "function" && t !== null)
|
575
600
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
576
|
-
|
601
|
+
Be(e, t);
|
577
602
|
function r() {
|
578
603
|
this.constructor = e;
|
579
604
|
}
|
@@ -583,36 +608,39 @@ var d = function() {
|
|
583
608
|
return d = Object.assign || function(t) {
|
584
609
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
585
610
|
r = arguments[n];
|
586
|
-
for (var o in r)
|
611
|
+
for (var o in r)
|
612
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
587
613
|
}
|
588
614
|
return t;
|
589
615
|
}, d.apply(this, arguments);
|
590
616
|
};
|
591
|
-
function
|
617
|
+
function Er(e, t) {
|
592
618
|
var r = {};
|
593
|
-
for (var n in e)
|
619
|
+
for (var n in e)
|
620
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
594
621
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
595
622
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
596
623
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
597
624
|
return r;
|
598
625
|
}
|
599
|
-
function
|
600
|
-
if (
|
601
|
-
(
|
602
|
-
|
626
|
+
function xe(e, t, r) {
|
627
|
+
if (arguments.length === 2)
|
628
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
629
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
630
|
+
return e.concat(o || t);
|
603
631
|
}
|
604
|
-
function
|
605
|
-
var r = t && t.cache ? t.cache :
|
632
|
+
function ye(e, t) {
|
633
|
+
var r = t && t.cache ? t.cache : Br, n = t && t.serializer ? t.serializer : Nr, i = t && t.strategy ? t.strategy : Hr;
|
606
634
|
return i(e, {
|
607
635
|
cache: r,
|
608
636
|
serializer: n
|
609
637
|
});
|
610
638
|
}
|
611
|
-
function
|
639
|
+
function _r(e) {
|
612
640
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
613
641
|
}
|
614
|
-
function
|
615
|
-
var i =
|
642
|
+
function ft(e, t, r, n) {
|
643
|
+
var i = _r(n) ? n : r(n), o = t.get(i);
|
616
644
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
617
645
|
}
|
618
646
|
function mt(e, t, r) {
|
@@ -622,17 +650,17 @@ function mt(e, t, r) {
|
|
622
650
|
function Fe(e, t, r, n, i) {
|
623
651
|
return r.bind(t, e, n, i);
|
624
652
|
}
|
625
|
-
function
|
626
|
-
var r = e.length === 1 ?
|
653
|
+
function Hr(e, t) {
|
654
|
+
var r = e.length === 1 ? ft : mt;
|
627
655
|
return Fe(e, this, r, t.cache.create(), t.serializer);
|
628
656
|
}
|
629
|
-
function
|
657
|
+
function Tr(e, t) {
|
630
658
|
return Fe(e, this, mt, t.cache.create(), t.serializer);
|
631
659
|
}
|
632
|
-
function
|
633
|
-
return Fe(e, this,
|
660
|
+
function Pr(e, t) {
|
661
|
+
return Fe(e, this, ft, t.cache.create(), t.serializer);
|
634
662
|
}
|
635
|
-
var
|
663
|
+
var Nr = function() {
|
636
664
|
return JSON.stringify(arguments);
|
637
665
|
};
|
638
666
|
function Ge() {
|
@@ -644,13 +672,13 @@ Ge.prototype.get = function(e) {
|
|
644
672
|
Ge.prototype.set = function(e, t) {
|
645
673
|
this.cache[e] = t;
|
646
674
|
};
|
647
|
-
var
|
675
|
+
var Br = {
|
648
676
|
create: function() {
|
649
677
|
return new Ge();
|
650
678
|
}
|
651
|
-
},
|
652
|
-
variadic:
|
653
|
-
monadic:
|
679
|
+
}, ve = {
|
680
|
+
variadic: Tr,
|
681
|
+
monadic: Pr
|
654
682
|
}, p;
|
655
683
|
(function(e) {
|
656
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";
|
@@ -659,14 +687,14 @@ var v;
|
|
659
687
|
(function(e) {
|
660
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";
|
661
689
|
})(v || (v = {}));
|
662
|
-
var
|
690
|
+
var j;
|
663
691
|
(function(e) {
|
664
692
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
665
|
-
})(
|
693
|
+
})(j || (j = {}));
|
666
694
|
function ze(e) {
|
667
695
|
return e.type === v.literal;
|
668
696
|
}
|
669
|
-
function
|
697
|
+
function Sr(e) {
|
670
698
|
return e.type === v.argument;
|
671
699
|
}
|
672
700
|
function pt(e) {
|
@@ -691,15 +719,15 @@ function yt(e) {
|
|
691
719
|
return e.type === v.tag;
|
692
720
|
}
|
693
721
|
function vt(e) {
|
694
|
-
return !!(e && typeof e == "object" && e.type ===
|
722
|
+
return !!(e && typeof e == "object" && e.type === j.number);
|
695
723
|
}
|
696
|
-
function
|
697
|
-
return !!(e && typeof e == "object" && e.type ===
|
724
|
+
function Se(e) {
|
725
|
+
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
698
726
|
}
|
699
|
-
var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
700
|
-
function
|
727
|
+
var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
728
|
+
function Or(e) {
|
701
729
|
var t = {};
|
702
|
-
return e.replace(
|
730
|
+
return e.replace(wr, function(r) {
|
703
731
|
var n = r.length;
|
704
732
|
switch (r[0]) {
|
705
733
|
case "G":
|
@@ -788,29 +816,29 @@ function Br(e) {
|
|
788
816
|
return "";
|
789
817
|
}), t;
|
790
818
|
}
|
791
|
-
var
|
792
|
-
function
|
819
|
+
var Mr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
820
|
+
function Ir(e) {
|
793
821
|
if (e.length === 0)
|
794
822
|
throw new Error("Number skeleton cannot be empty");
|
795
|
-
for (var t = e.split(
|
823
|
+
for (var t = e.split(Mr).filter(function(f) {
|
796
824
|
return f.length > 0;
|
797
825
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
798
826
|
var o = i[n], u = o.split("/");
|
799
827
|
if (u.length === 0)
|
800
828
|
throw new Error("Invalid number skeleton");
|
801
|
-
for (var
|
802
|
-
var c = h[
|
829
|
+
for (var s = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
|
830
|
+
var c = h[a];
|
803
831
|
if (c.length === 0)
|
804
832
|
throw new Error("Invalid number skeleton");
|
805
833
|
}
|
806
|
-
r.push({ stem:
|
834
|
+
r.push({ stem: s, options: l });
|
807
835
|
}
|
808
836
|
return r;
|
809
837
|
}
|
810
|
-
function
|
838
|
+
function Lr(e) {
|
811
839
|
return e.replace(/^(.*?)-/, "");
|
812
840
|
}
|
813
|
-
var Ze = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _t = /^(@+)?(\+|#+)?[rs]?$/g,
|
841
|
+
var Ze = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _t = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
|
814
842
|
function We(e) {
|
815
843
|
var t = {};
|
816
844
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_t, function(r, n, i) {
|
@@ -857,7 +885,7 @@ function Tt(e) {
|
|
857
885
|
};
|
858
886
|
}
|
859
887
|
}
|
860
|
-
function
|
888
|
+
function $r(e) {
|
861
889
|
var t;
|
862
890
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
863
891
|
notation: "engineering"
|
@@ -875,7 +903,7 @@ function Qe(e) {
|
|
875
903
|
var t = {}, r = Tt(e);
|
876
904
|
return r || t;
|
877
905
|
}
|
878
|
-
function
|
906
|
+
function Rr(e) {
|
879
907
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
880
908
|
var i = n[r];
|
881
909
|
switch (i.stem) {
|
@@ -899,7 +927,7 @@ function Cr(e) {
|
|
899
927
|
continue;
|
900
928
|
case "measure-unit":
|
901
929
|
case "unit":
|
902
|
-
t.style = "unit", t.unit =
|
930
|
+
t.style = "unit", t.unit = Lr(i.options[0]);
|
903
931
|
continue;
|
904
932
|
case "compact-short":
|
905
933
|
case "K":
|
@@ -910,13 +938,13 @@ function Cr(e) {
|
|
910
938
|
t.notation = "compact", t.compactDisplay = "long";
|
911
939
|
continue;
|
912
940
|
case "scientific":
|
913
|
-
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l,
|
914
|
-
return d(d({}, l), Qe(
|
941
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
942
|
+
return d(d({}, l), Qe(a));
|
915
943
|
}, {}));
|
916
944
|
continue;
|
917
945
|
case "engineering":
|
918
|
-
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l,
|
919
|
-
return d(d({}, l), Qe(
|
946
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
947
|
+
return d(d({}, l), Qe(a));
|
920
948
|
}, {}));
|
921
949
|
continue;
|
922
950
|
case "notation-simple":
|
@@ -961,8 +989,8 @@ function Cr(e) {
|
|
961
989
|
case "integer-width":
|
962
990
|
if (i.options.length > 1)
|
963
991
|
throw new RangeError("integer-width stems only accept a single optional option");
|
964
|
-
i.options[0].replace(
|
965
|
-
if (
|
992
|
+
i.options[0].replace(Cr, function(l, a, h, c, f, b) {
|
993
|
+
if (a)
|
966
994
|
t.minimumIntegerDigits = h.length;
|
967
995
|
else {
|
968
996
|
if (c && f)
|
@@ -981,8 +1009,8 @@ function Cr(e) {
|
|
981
1009
|
if (Ze.test(i.stem)) {
|
982
1010
|
if (i.options.length > 1)
|
983
1011
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
984
|
-
i.stem.replace(Ze, function(l,
|
985
|
-
return h === "*" ? t.minimumFractionDigits =
|
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), "";
|
986
1014
|
});
|
987
1015
|
var o = i.options[0];
|
988
1016
|
o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), We(o)));
|
@@ -994,12 +1022,12 @@ function Cr(e) {
|
|
994
1022
|
}
|
995
1023
|
var u = Tt(i.stem);
|
996
1024
|
u && (t = d(d({}, t), u));
|
997
|
-
var
|
998
|
-
|
1025
|
+
var s = $r(i.stem);
|
1026
|
+
s && (t = d(d({}, t), s));
|
999
1027
|
}
|
1000
1028
|
return t;
|
1001
1029
|
}
|
1002
|
-
var
|
1030
|
+
var ne = {
|
1003
1031
|
"001": [
|
1004
1032
|
"H",
|
1005
1033
|
"h"
|
@@ -2414,22 +2442,23 @@ var re = {
|
|
2414
2442
|
"h"
|
2415
2443
|
]
|
2416
2444
|
};
|
2417
|
-
function
|
2445
|
+
function Fr(e, t) {
|
2418
2446
|
for (var r = "", n = 0; n < e.length; n++) {
|
2419
2447
|
var i = e.charAt(n);
|
2420
2448
|
if (i === "j") {
|
2421
2449
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2422
2450
|
o++, n++;
|
2423
|
-
var u = 1 + (o & 1),
|
2424
|
-
for ((
|
2451
|
+
var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = Gr(t);
|
2452
|
+
for ((a == "H" || a == "k") && (s = 0); s-- > 0; )
|
2425
2453
|
r += l;
|
2426
2454
|
for (; u-- > 0; )
|
2427
|
-
r =
|
2428
|
-
} else
|
2455
|
+
r = a + r;
|
2456
|
+
} else
|
2457
|
+
i === "J" ? r += "H" : r += i;
|
2429
2458
|
}
|
2430
2459
|
return r;
|
2431
2460
|
}
|
2432
|
-
function
|
2461
|
+
function Gr(e) {
|
2433
2462
|
var t = e.hourCycle;
|
2434
2463
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2435
2464
|
e.hourCycles && // @ts-ignore
|
@@ -2448,23 +2477,23 @@ function Rr(e) {
|
|
2448
2477
|
}
|
2449
2478
|
var r = e.language, n;
|
2450
2479
|
r !== "root" && (n = e.maximize().region);
|
2451
|
-
var i =
|
2480
|
+
var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
|
2452
2481
|
return i[0];
|
2453
2482
|
}
|
2454
|
-
var
|
2483
|
+
var Ee, Dr = new RegExp("^".concat(Et.source, "*")), Ur = new RegExp("".concat(Et.source, "*$"));
|
2455
2484
|
function g(e, t) {
|
2456
2485
|
return { start: e, end: t };
|
2457
2486
|
}
|
2458
|
-
var
|
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) {
|
2459
2488
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2460
|
-
},
|
2489
|
+
}, Ae = !0;
|
2461
2490
|
try {
|
2462
|
-
var
|
2463
|
-
|
2491
|
+
var qr = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2492
|
+
Ae = ((Ee = qr.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
|
2464
2493
|
} catch {
|
2465
|
-
|
2494
|
+
Ae = !1;
|
2466
2495
|
}
|
2467
|
-
var qe =
|
2496
|
+
var qe = kr ? (
|
2468
2497
|
// Native
|
2469
2498
|
function(t, r, n) {
|
2470
2499
|
return t.startsWith(r, n);
|
@@ -2474,7 +2503,7 @@ var qe = Dr ? (
|
|
2474
2503
|
function(t, r, n) {
|
2475
2504
|
return t.slice(n, n + r.length) === r;
|
2476
2505
|
}
|
2477
|
-
),
|
2506
|
+
), we = jr ? String.fromCodePoint : (
|
2478
2507
|
// IE11
|
2479
2508
|
function() {
|
2480
2509
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2488,17 +2517,17 @@ var qe = Dr ? (
|
|
2488
2517
|
}
|
2489
2518
|
), Je = (
|
2490
2519
|
// native
|
2491
|
-
|
2520
|
+
Vr ? Object.fromEntries : (
|
2492
2521
|
// Ponyfill
|
2493
2522
|
function(t) {
|
2494
2523
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2495
|
-
var o = i[n], u = o[0],
|
2496
|
-
r[u] =
|
2524
|
+
var o = i[n], u = o[0], s = o[1];
|
2525
|
+
r[u] = s;
|
2497
2526
|
}
|
2498
2527
|
return r;
|
2499
2528
|
}
|
2500
2529
|
)
|
2501
|
-
), Pt =
|
2530
|
+
), Pt = Xr ? (
|
2502
2531
|
// Native
|
2503
2532
|
function(t, r) {
|
2504
2533
|
return t.codePointAt(r);
|
@@ -2512,7 +2541,7 @@ var qe = Dr ? (
|
|
2512
2541
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2513
2542
|
}
|
2514
2543
|
}
|
2515
|
-
),
|
2544
|
+
), Jr = zr ? (
|
2516
2545
|
// Native
|
2517
2546
|
function(t) {
|
2518
2547
|
return t.trimStart();
|
@@ -2520,9 +2549,9 @@ var qe = Dr ? (
|
|
2520
2549
|
) : (
|
2521
2550
|
// Ponyfill
|
2522
2551
|
function(t) {
|
2523
|
-
return t.replace(
|
2552
|
+
return t.replace(Dr, "");
|
2524
2553
|
}
|
2525
|
-
),
|
2554
|
+
), Yr = Zr ? (
|
2526
2555
|
// Native
|
2527
2556
|
function(t) {
|
2528
2557
|
return t.trimEnd();
|
@@ -2530,32 +2559,32 @@ var qe = Dr ? (
|
|
2530
2559
|
) : (
|
2531
2560
|
// Ponyfill
|
2532
2561
|
function(t) {
|
2533
|
-
return t.replace(
|
2562
|
+
return t.replace(Ur, "");
|
2534
2563
|
}
|
2535
2564
|
);
|
2536
2565
|
function Nt(e, t) {
|
2537
2566
|
return new RegExp(e, t);
|
2538
2567
|
}
|
2539
|
-
var
|
2540
|
-
if (
|
2568
|
+
var Oe;
|
2569
|
+
if (Ae) {
|
2541
2570
|
var Ye = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2542
|
-
|
2571
|
+
Oe = function(t, r) {
|
2543
2572
|
var n;
|
2544
2573
|
Ye.lastIndex = r;
|
2545
2574
|
var i = Ye.exec(t);
|
2546
2575
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2547
2576
|
};
|
2548
2577
|
} else
|
2549
|
-
|
2578
|
+
Oe = function(t, r) {
|
2550
2579
|
for (var n = []; ; ) {
|
2551
2580
|
var i = Pt(t, r);
|
2552
|
-
if (i === void 0 ||
|
2581
|
+
if (i === void 0 || Bt(i) || rn(i))
|
2553
2582
|
break;
|
2554
2583
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2555
2584
|
}
|
2556
|
-
return
|
2585
|
+
return we.apply(void 0, n);
|
2557
2586
|
};
|
2558
|
-
var
|
2587
|
+
var Kr = (
|
2559
2588
|
/** @class */
|
2560
2589
|
function() {
|
2561
2590
|
function e(t, r) {
|
@@ -2577,16 +2606,16 @@ var Jr = (
|
|
2577
2606
|
if (o === 125 && t > 0)
|
2578
2607
|
break;
|
2579
2608
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2580
|
-
var
|
2609
|
+
var s = this.clonePosition();
|
2581
2610
|
this.bump(), i.push({
|
2582
2611
|
type: v.pound,
|
2583
|
-
location: g(
|
2612
|
+
location: g(s, this.clonePosition())
|
2584
2613
|
});
|
2585
2614
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2586
2615
|
if (n)
|
2587
2616
|
break;
|
2588
2617
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
2589
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2618
|
+
} else if (o === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
|
2590
2619
|
var u = this.parseTag(t, r);
|
2591
2620
|
if (u.err)
|
2592
2621
|
return u;
|
@@ -2617,12 +2646,12 @@ var Jr = (
|
|
2617
2646
|
var o = this.parseMessage(t + 1, r, !0);
|
2618
2647
|
if (o.err)
|
2619
2648
|
return o;
|
2620
|
-
var u = o.val,
|
2649
|
+
var u = o.val, s = this.clonePosition();
|
2621
2650
|
if (this.bumpIf("</")) {
|
2622
|
-
if (this.isEOF() || !
|
2623
|
-
return this.error(p.INVALID_TAG, g(
|
2624
|
-
var l = this.clonePosition(),
|
2625
|
-
return i !==
|
2651
|
+
if (this.isEOF() || !Me(this.char()))
|
2652
|
+
return this.error(p.INVALID_TAG, g(s, this.clonePosition()));
|
2653
|
+
var l = this.clonePosition(), a = this.parseTagName();
|
2654
|
+
return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2626
2655
|
val: {
|
2627
2656
|
type: v.tag,
|
2628
2657
|
value: i,
|
@@ -2630,14 +2659,14 @@ var Jr = (
|
|
2630
2659
|
location: g(n, this.clonePosition())
|
2631
2660
|
},
|
2632
2661
|
err: null
|
2633
|
-
} : this.error(p.INVALID_TAG, g(
|
2662
|
+
} : this.error(p.INVALID_TAG, g(s, this.clonePosition())));
|
2634
2663
|
} else
|
2635
2664
|
return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
|
2636
2665
|
} else
|
2637
2666
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2638
2667
|
}, e.prototype.parseTagName = function() {
|
2639
2668
|
var t = this.offset();
|
2640
|
-
for (this.bump(); !this.isEOF() &&
|
2669
|
+
for (this.bump(); !this.isEOF() && tn(this.char()); )
|
2641
2670
|
this.bump();
|
2642
2671
|
return this.message.slice(t, this.offset());
|
2643
2672
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2652,9 +2681,9 @@ var Jr = (
|
|
2652
2681
|
i += u;
|
2653
2682
|
continue;
|
2654
2683
|
}
|
2655
|
-
var
|
2656
|
-
if (
|
2657
|
-
i +=
|
2684
|
+
var s = this.tryParseLeftAngleBracket();
|
2685
|
+
if (s) {
|
2686
|
+
i += s;
|
2658
2687
|
continue;
|
2659
2688
|
}
|
2660
2689
|
break;
|
@@ -2666,7 +2695,7 @@ var Jr = (
|
|
2666
2695
|
};
|
2667
2696
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2668
2697
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2669
|
-
!
|
2698
|
+
!en(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2670
2699
|
}, e.prototype.tryParseQuote = function(t) {
|
2671
2700
|
if (this.isEOF() || this.char() !== 39)
|
2672
2701
|
return null;
|
@@ -2700,12 +2729,12 @@ var Jr = (
|
|
2700
2729
|
r.push(n);
|
2701
2730
|
this.bump();
|
2702
2731
|
}
|
2703
|
-
return
|
2732
|
+
return we.apply(void 0, r);
|
2704
2733
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2705
2734
|
if (this.isEOF())
|
2706
2735
|
return null;
|
2707
2736
|
var n = this.char();
|
2708
|
-
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));
|
2709
2738
|
}, e.prototype.parseArgument = function(t, r) {
|
2710
2739
|
var n = this.clonePosition();
|
2711
2740
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2734,66 +2763,66 @@ var Jr = (
|
|
2734
2763
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
2735
2764
|
}
|
2736
2765
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2737
|
-
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;
|
2738
2767
|
this.bumpTo(i);
|
2739
2768
|
var o = this.clonePosition(), u = g(t, o);
|
2740
2769
|
return { value: n, location: u };
|
2741
2770
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2742
|
-
var o, u = this.clonePosition(),
|
2743
|
-
switch (
|
2771
|
+
var o, u = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
2772
|
+
switch (s) {
|
2744
2773
|
case "":
|
2745
2774
|
return this.error(p.EXPECT_ARGUMENT_TYPE, g(u, l));
|
2746
2775
|
case "number":
|
2747
2776
|
case "date":
|
2748
2777
|
case "time": {
|
2749
2778
|
this.bumpSpace();
|
2750
|
-
var
|
2779
|
+
var a = null;
|
2751
2780
|
if (this.bumpIf(",")) {
|
2752
2781
|
this.bumpSpace();
|
2753
2782
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2754
2783
|
if (c.err)
|
2755
2784
|
return c;
|
2756
|
-
var f =
|
2785
|
+
var f = Yr(c.val);
|
2757
2786
|
if (f.length === 0)
|
2758
2787
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2759
2788
|
var b = g(h, this.clonePosition());
|
2760
|
-
|
2789
|
+
a = { style: f, styleLocation: b };
|
2761
2790
|
}
|
2762
2791
|
var y = this.tryParseArgumentClose(i);
|
2763
2792
|
if (y.err)
|
2764
2793
|
return y;
|
2765
|
-
var
|
2766
|
-
if (
|
2767
|
-
var
|
2768
|
-
if (
|
2769
|
-
var c = this.parseNumberSkeletonFromString(
|
2794
|
+
var m = g(i, this.clonePosition());
|
2795
|
+
if (a && qe(a?.style, "::", 0)) {
|
2796
|
+
var E = Jr(a.style.slice(2));
|
2797
|
+
if (s === "number") {
|
2798
|
+
var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
2770
2799
|
return c.err ? c : {
|
2771
|
-
val: { type: v.number, value: n, location:
|
2800
|
+
val: { type: v.number, value: n, location: m, style: c.val },
|
2772
2801
|
err: null
|
2773
2802
|
};
|
2774
2803
|
} else {
|
2775
|
-
if (
|
2776
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
2777
|
-
var
|
2778
|
-
this.locale && (
|
2804
|
+
if (E.length === 0)
|
2805
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
2806
|
+
var T = E;
|
2807
|
+
this.locale && (T = Fr(E, this.locale));
|
2779
2808
|
var f = {
|
2780
|
-
type:
|
2781
|
-
pattern:
|
2782
|
-
location:
|
2783
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2784
|
-
},
|
2809
|
+
type: j.dateTime,
|
2810
|
+
pattern: T,
|
2811
|
+
location: a.styleLocation,
|
2812
|
+
parsedOptions: this.shouldParseSkeletons ? Or(T) : {}
|
2813
|
+
}, A = s === "date" ? v.date : v.time;
|
2785
2814
|
return {
|
2786
|
-
val: { type:
|
2815
|
+
val: { type: A, value: n, location: m, style: f },
|
2787
2816
|
err: null
|
2788
2817
|
};
|
2789
2818
|
}
|
2790
2819
|
}
|
2791
2820
|
return {
|
2792
2821
|
val: {
|
2793
|
-
type:
|
2822
|
+
type: s === "number" ? v.number : s === "date" ? v.date : v.time,
|
2794
2823
|
value: n,
|
2795
|
-
location:
|
2796
|
-
style: (o =
|
2824
|
+
location: m,
|
2825
|
+
style: (o = a?.style) !== null && o !== void 0 ? o : null
|
2797
2826
|
},
|
2798
2827
|
err: null
|
2799
2828
|
};
|
@@ -2801,33 +2830,33 @@ var Jr = (
|
|
2801
2830
|
case "plural":
|
2802
2831
|
case "selectordinal":
|
2803
2832
|
case "select": {
|
2804
|
-
var
|
2833
|
+
var P = this.clonePosition();
|
2805
2834
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2806
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(
|
2835
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, d({}, P)));
|
2807
2836
|
this.bumpSpace();
|
2808
|
-
var
|
2809
|
-
if (
|
2837
|
+
var B = this.parseIdentifierIfPossible(), N = 0;
|
2838
|
+
if (s !== "select" && B.value === "offset") {
|
2810
2839
|
if (!this.bumpIf(":"))
|
2811
2840
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
2812
2841
|
this.bumpSpace();
|
2813
2842
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2814
2843
|
if (c.err)
|
2815
2844
|
return c;
|
2816
|
-
this.bumpSpace(),
|
2845
|
+
this.bumpSpace(), B = this.parseIdentifierIfPossible(), N = c.val;
|
2817
2846
|
}
|
2818
|
-
var w = this.tryParsePluralOrSelectOptions(t,
|
2847
|
+
var w = this.tryParsePluralOrSelectOptions(t, s, r, B);
|
2819
2848
|
if (w.err)
|
2820
2849
|
return w;
|
2821
2850
|
var y = this.tryParseArgumentClose(i);
|
2822
2851
|
if (y.err)
|
2823
2852
|
return y;
|
2824
|
-
var
|
2825
|
-
return
|
2853
|
+
var R = g(i, this.clonePosition());
|
2854
|
+
return s === "select" ? {
|
2826
2855
|
val: {
|
2827
2856
|
type: v.select,
|
2828
2857
|
value: n,
|
2829
2858
|
options: Je(w.val),
|
2830
|
-
location:
|
2859
|
+
location: R
|
2831
2860
|
},
|
2832
2861
|
err: null
|
2833
2862
|
} : {
|
@@ -2835,9 +2864,9 @@ var Jr = (
|
|
2835
2864
|
type: v.plural,
|
2836
2865
|
value: n,
|
2837
2866
|
options: Je(w.val),
|
2838
|
-
offset:
|
2839
|
-
pluralType:
|
2840
|
-
location:
|
2867
|
+
offset: N,
|
2868
|
+
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
2869
|
+
location: R
|
2841
2870
|
},
|
2842
2871
|
err: null
|
2843
2872
|
};
|
@@ -2885,64 +2914,64 @@ var Jr = (
|
|
2885
2914
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2886
2915
|
var n = [];
|
2887
2916
|
try {
|
2888
|
-
n =
|
2917
|
+
n = Ir(t);
|
2889
2918
|
} catch {
|
2890
2919
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2891
2920
|
}
|
2892
2921
|
return {
|
2893
2922
|
val: {
|
2894
|
-
type:
|
2923
|
+
type: j.number,
|
2895
2924
|
tokens: n,
|
2896
2925
|
location: r,
|
2897
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2926
|
+
parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
|
2898
2927
|
},
|
2899
2928
|
err: null
|
2900
2929
|
};
|
2901
2930
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2902
|
-
for (var o, u = !1,
|
2903
|
-
if (
|
2931
|
+
for (var o, u = !1, s = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
|
2932
|
+
if (a.length === 0) {
|
2904
2933
|
var c = this.clonePosition();
|
2905
2934
|
if (r !== "select" && this.bumpIf("=")) {
|
2906
2935
|
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2907
2936
|
if (f.err)
|
2908
2937
|
return f;
|
2909
|
-
h = g(c, this.clonePosition()),
|
2938
|
+
h = g(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
2910
2939
|
} else
|
2911
2940
|
break;
|
2912
2941
|
}
|
2913
|
-
if (l.has(
|
2942
|
+
if (l.has(a))
|
2914
2943
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
2915
|
-
|
2944
|
+
a === "other" && (u = !0), this.bumpSpace();
|
2916
2945
|
var b = this.clonePosition();
|
2917
2946
|
if (!this.bumpIf("{"))
|
2918
2947
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
2919
2948
|
var y = this.parseMessage(t + 1, r, n);
|
2920
2949
|
if (y.err)
|
2921
2950
|
return y;
|
2922
|
-
var
|
2923
|
-
if (
|
2924
|
-
return
|
2925
|
-
|
2926
|
-
|
2951
|
+
var m = this.tryParseArgumentClose(b);
|
2952
|
+
if (m.err)
|
2953
|
+
return m;
|
2954
|
+
s.push([
|
2955
|
+
a,
|
2927
2956
|
{
|
2928
2957
|
value: y.val,
|
2929
2958
|
location: g(b, this.clonePosition())
|
2930
2959
|
}
|
2931
|
-
]), l.add(
|
2960
|
+
]), l.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
|
2932
2961
|
}
|
2933
|
-
return
|
2962
|
+
return s.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
2934
2963
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
2935
2964
|
var n = 1, i = this.clonePosition();
|
2936
2965
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
2937
2966
|
for (var o = !1, u = 0; !this.isEOF(); ) {
|
2938
|
-
var
|
2939
|
-
if (
|
2940
|
-
o = !0, u = u * 10 + (
|
2967
|
+
var s = this.char();
|
2968
|
+
if (s >= 48 && s <= 57)
|
2969
|
+
o = !0, u = u * 10 + (s - 48), this.bump();
|
2941
2970
|
else
|
2942
2971
|
break;
|
2943
2972
|
}
|
2944
2973
|
var l = g(i, this.clonePosition());
|
2945
|
-
return o ? (u *= n,
|
2974
|
+
return o ? (u *= n, Qr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
2946
2975
|
}, e.prototype.offset = function() {
|
2947
2976
|
return this.position.offset;
|
2948
2977
|
}, e.prototype.isEOF = function() {
|
@@ -2998,7 +3027,7 @@ var Jr = (
|
|
2998
3027
|
break;
|
2999
3028
|
}
|
3000
3029
|
}, e.prototype.bumpSpace = function() {
|
3001
|
-
for (; !this.isEOF() &&
|
3030
|
+
for (; !this.isEOF() && Bt(this.char()); )
|
3002
3031
|
this.bump();
|
3003
3032
|
}, e.prototype.peek = function() {
|
3004
3033
|
if (this.isEOF())
|
@@ -3008,19 +3037,19 @@ var Jr = (
|
|
3008
3037
|
}, e;
|
3009
3038
|
}()
|
3010
3039
|
);
|
3011
|
-
function
|
3040
|
+
function Me(e) {
|
3012
3041
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3013
3042
|
}
|
3014
|
-
function
|
3015
|
-
return
|
3043
|
+
function en(e) {
|
3044
|
+
return Me(e) || e === 47;
|
3016
3045
|
}
|
3017
|
-
function
|
3046
|
+
function tn(e) {
|
3018
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;
|
3019
3048
|
}
|
3020
|
-
function
|
3049
|
+
function Bt(e) {
|
3021
3050
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3022
3051
|
}
|
3023
|
-
function
|
3052
|
+
function rn(e) {
|
3024
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;
|
3025
3054
|
}
|
3026
3055
|
function Ie(e) {
|
@@ -3028,12 +3057,13 @@ function Ie(e) {
|
|
3028
3057
|
if (delete t.location, bt(t) || xt(t))
|
3029
3058
|
for (var r in t.options)
|
3030
3059
|
delete t.options[r].location, Ie(t.options[r].value);
|
3031
|
-
else
|
3060
|
+
else
|
3061
|
+
pt(t) && vt(t.style) || (gt(t) || dt(t)) && Se(t.style) ? delete t.style.location : yt(t) && Ie(t.children);
|
3032
3062
|
});
|
3033
3063
|
}
|
3034
|
-
function
|
3064
|
+
function nn(e, t) {
|
3035
3065
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3036
|
-
var r = new
|
3066
|
+
var r = new Kr(e, t).parse();
|
3037
3067
|
if (r.err) {
|
3038
3068
|
var n = SyntaxError(p[r.err.kind]);
|
3039
3069
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3047,7 +3077,7 @@ var V;
|
|
3047
3077
|
var fe = (
|
3048
3078
|
/** @class */
|
3049
3079
|
function(e) {
|
3050
|
-
|
3080
|
+
ce(t, e);
|
3051
3081
|
function t(r, n, i) {
|
3052
3082
|
var o = e.call(this, r) || this;
|
3053
3083
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3059,152 +3089,152 @@ var fe = (
|
|
3059
3089
|
), Ke = (
|
3060
3090
|
/** @class */
|
3061
3091
|
function(e) {
|
3062
|
-
|
3092
|
+
ce(t, e);
|
3063
3093
|
function t(r, n, i, o) {
|
3064
3094
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
|
3065
3095
|
}
|
3066
3096
|
return t;
|
3067
3097
|
}(fe)
|
3068
|
-
),
|
3098
|
+
), on = (
|
3069
3099
|
/** @class */
|
3070
3100
|
function(e) {
|
3071
|
-
|
3101
|
+
ce(t, e);
|
3072
3102
|
function t(r, n, i) {
|
3073
3103
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
3074
3104
|
}
|
3075
3105
|
return t;
|
3076
3106
|
}(fe)
|
3077
|
-
),
|
3107
|
+
), an = (
|
3078
3108
|
/** @class */
|
3079
3109
|
function(e) {
|
3080
|
-
|
3110
|
+
ce(t, e);
|
3081
3111
|
function t(r, n) {
|
3082
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;
|
3083
3113
|
}
|
3084
3114
|
return t;
|
3085
3115
|
}(fe)
|
3086
|
-
),
|
3116
|
+
), H;
|
3087
3117
|
(function(e) {
|
3088
3118
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3089
|
-
})(
|
3090
|
-
function
|
3119
|
+
})(H || (H = {}));
|
3120
|
+
function sn(e) {
|
3091
3121
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3092
3122
|
var n = t[t.length - 1];
|
3093
|
-
return !n || n.type !==
|
3123
|
+
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3094
3124
|
}, []);
|
3095
3125
|
}
|
3096
|
-
function
|
3126
|
+
function un(e) {
|
3097
3127
|
return typeof e == "function";
|
3098
3128
|
}
|
3099
|
-
function
|
3129
|
+
function ae(e, t, r, n, i, o, u) {
|
3100
3130
|
if (e.length === 1 && ze(e[0]))
|
3101
3131
|
return [
|
3102
3132
|
{
|
3103
|
-
type:
|
3133
|
+
type: H.literal,
|
3104
3134
|
value: e[0].value
|
3105
3135
|
}
|
3106
3136
|
];
|
3107
|
-
for (var
|
3108
|
-
var h =
|
3137
|
+
for (var s = [], l = 0, a = e; l < a.length; l++) {
|
3138
|
+
var h = a[l];
|
3109
3139
|
if (ze(h)) {
|
3110
|
-
|
3111
|
-
type:
|
3140
|
+
s.push({
|
3141
|
+
type: H.literal,
|
3112
3142
|
value: h.value
|
3113
3143
|
});
|
3114
3144
|
continue;
|
3115
3145
|
}
|
3116
3146
|
if (Ar(h)) {
|
3117
|
-
typeof o == "number" &&
|
3118
|
-
type:
|
3147
|
+
typeof o == "number" && s.push({
|
3148
|
+
type: H.literal,
|
3119
3149
|
value: r.getNumberFormat(t).format(o)
|
3120
3150
|
});
|
3121
3151
|
continue;
|
3122
3152
|
}
|
3123
3153
|
var c = h.value;
|
3124
3154
|
if (!(i && c in i))
|
3125
|
-
throw new
|
3155
|
+
throw new an(c, u);
|
3126
3156
|
var f = i[c];
|
3127
|
-
if (
|
3128
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
3129
|
-
type: typeof f == "string" ?
|
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,
|
3130
3160
|
value: f
|
3131
3161
|
});
|
3132
3162
|
continue;
|
3133
3163
|
}
|
3134
3164
|
if (gt(h)) {
|
3135
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
3136
|
-
|
3137
|
-
type:
|
3165
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Se(h.style) ? h.style.parsedOptions : void 0;
|
3166
|
+
s.push({
|
3167
|
+
type: H.literal,
|
3138
3168
|
value: r.getDateTimeFormat(t, b).format(f)
|
3139
3169
|
});
|
3140
3170
|
continue;
|
3141
3171
|
}
|
3142
3172
|
if (dt(h)) {
|
3143
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
3144
|
-
|
3145
|
-
type:
|
3173
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Se(h.style) ? h.style.parsedOptions : n.time.medium;
|
3174
|
+
s.push({
|
3175
|
+
type: H.literal,
|
3146
3176
|
value: r.getDateTimeFormat(t, b).format(f)
|
3147
3177
|
});
|
3148
3178
|
continue;
|
3149
3179
|
}
|
3150
3180
|
if (pt(h)) {
|
3151
3181
|
var b = typeof h.style == "string" ? n.number[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
|
3152
|
-
b && b.scale && (f = f * (b.scale || 1)),
|
3153
|
-
type:
|
3182
|
+
b && b.scale && (f = f * (b.scale || 1)), s.push({
|
3183
|
+
type: H.literal,
|
3154
3184
|
value: r.getNumberFormat(t, b).format(f)
|
3155
3185
|
});
|
3156
3186
|
continue;
|
3157
3187
|
}
|
3158
3188
|
if (yt(h)) {
|
3159
|
-
var y = h.children,
|
3160
|
-
if (!
|
3161
|
-
throw new
|
3162
|
-
var
|
3163
|
-
return
|
3189
|
+
var y = h.children, m = h.value, E = i[m];
|
3190
|
+
if (!un(E))
|
3191
|
+
throw new on(m, "function", u);
|
3192
|
+
var T = ae(y, t, r, n, i, o), A = E(T.map(function(N) {
|
3193
|
+
return N.value;
|
3164
3194
|
}));
|
3165
|
-
Array.isArray(
|
3195
|
+
Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(N) {
|
3166
3196
|
return {
|
3167
|
-
type: typeof
|
3168
|
-
value:
|
3197
|
+
type: typeof N == "string" ? H.literal : H.object,
|
3198
|
+
value: N
|
3169
3199
|
};
|
3170
3200
|
}));
|
3171
3201
|
}
|
3172
3202
|
if (bt(h)) {
|
3173
|
-
var
|
3174
|
-
if (!
|
3203
|
+
var P = h.options[f] || h.options.other;
|
3204
|
+
if (!P)
|
3175
3205
|
throw new Ke(h.value, f, Object.keys(h.options), u);
|
3176
|
-
|
3206
|
+
s.push.apply(s, ae(P.value, t, r, n, i));
|
3177
3207
|
continue;
|
3178
3208
|
}
|
3179
3209
|
if (xt(h)) {
|
3180
|
-
var
|
3181
|
-
if (!
|
3210
|
+
var P = h.options["=".concat(f)];
|
3211
|
+
if (!P) {
|
3182
3212
|
if (!Intl.PluralRules)
|
3183
3213
|
throw new fe(`Intl.PluralRules is not available in this environment.
|
3184
3214
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3185
3215
|
`, V.MISSING_INTL_API, u);
|
3186
|
-
var
|
3187
|
-
|
3216
|
+
var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3217
|
+
P = h.options[B] || h.options.other;
|
3188
3218
|
}
|
3189
|
-
if (!
|
3219
|
+
if (!P)
|
3190
3220
|
throw new Ke(h.value, f, Object.keys(h.options), u);
|
3191
|
-
|
3221
|
+
s.push.apply(s, ae(P.value, t, r, n, i, f - (h.offset || 0)));
|
3192
3222
|
continue;
|
3193
3223
|
}
|
3194
3224
|
}
|
3195
|
-
return
|
3225
|
+
return sn(s);
|
3196
3226
|
}
|
3197
|
-
function
|
3227
|
+
function hn(e, t) {
|
3198
3228
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3199
3229
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3200
3230
|
}, {})) : e;
|
3201
3231
|
}
|
3202
|
-
function
|
3232
|
+
function ln(e, t) {
|
3203
3233
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3204
|
-
return r[n] =
|
3234
|
+
return r[n] = hn(e[n], t[n]), r;
|
3205
3235
|
}, d({}, e)) : e;
|
3206
3236
|
}
|
3207
|
-
function
|
3237
|
+
function _e(e) {
|
3208
3238
|
return {
|
3209
3239
|
create: function() {
|
3210
3240
|
return {
|
@@ -3218,39 +3248,39 @@ function Ee(e) {
|
|
3218
3248
|
}
|
3219
3249
|
};
|
3220
3250
|
}
|
3221
|
-
function
|
3251
|
+
function cn(e) {
|
3222
3252
|
return e === void 0 && (e = {
|
3223
3253
|
number: {},
|
3224
3254
|
dateTime: {},
|
3225
3255
|
pluralRules: {}
|
3226
3256
|
}), {
|
3227
|
-
getNumberFormat:
|
3257
|
+
getNumberFormat: ye(function() {
|
3228
3258
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3229
3259
|
r[n] = arguments[n];
|
3230
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3260
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
|
3231
3261
|
}, {
|
3232
|
-
cache:
|
3233
|
-
strategy:
|
3262
|
+
cache: _e(e.number),
|
3263
|
+
strategy: ve.variadic
|
3234
3264
|
}),
|
3235
|
-
getDateTimeFormat:
|
3265
|
+
getDateTimeFormat: ye(function() {
|
3236
3266
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3237
3267
|
r[n] = arguments[n];
|
3238
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3268
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
|
3239
3269
|
}, {
|
3240
|
-
cache:
|
3241
|
-
strategy:
|
3270
|
+
cache: _e(e.dateTime),
|
3271
|
+
strategy: ve.variadic
|
3242
3272
|
}),
|
3243
|
-
getPluralRules:
|
3273
|
+
getPluralRules: ye(function() {
|
3244
3274
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3245
3275
|
r[n] = arguments[n];
|
3246
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3276
|
+
return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
|
3247
3277
|
}, {
|
3248
|
-
cache:
|
3249
|
-
strategy:
|
3278
|
+
cache: _e(e.pluralRules),
|
3279
|
+
strategy: ve.variadic
|
3250
3280
|
})
|
3251
3281
|
};
|
3252
3282
|
}
|
3253
|
-
var
|
3283
|
+
var fn = (
|
3254
3284
|
/** @class */
|
3255
3285
|
function() {
|
3256
3286
|
function e(t, r, n, i) {
|
@@ -3261,15 +3291,15 @@ var ln = (
|
|
3261
3291
|
dateTime: {},
|
3262
3292
|
pluralRules: {}
|
3263
3293
|
}, this.format = function(l) {
|
3264
|
-
var
|
3265
|
-
if (
|
3266
|
-
return
|
3267
|
-
var h =
|
3268
|
-
return !c.length || f.type !==
|
3294
|
+
var a = o.formatToParts(l);
|
3295
|
+
if (a.length === 1)
|
3296
|
+
return a[0].value;
|
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;
|
3269
3299
|
}, []);
|
3270
3300
|
return h.length <= 1 ? h[0] || "" : h;
|
3271
3301
|
}, this.formatToParts = function(l) {
|
3272
|
-
return
|
3302
|
+
return ae(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
3273
3303
|
}, this.resolvedOptions = function() {
|
3274
3304
|
var l;
|
3275
3305
|
return {
|
@@ -3282,13 +3312,13 @@ var ln = (
|
|
3282
3312
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3283
3313
|
var u = i || {};
|
3284
3314
|
u.formatters;
|
3285
|
-
var
|
3286
|
-
this.ast = e.__parse(t, d(d({},
|
3315
|
+
var s = Er(u, ["formatters"]);
|
3316
|
+
this.ast = e.__parse(t, d(d({}, s), { locale: this.resolvedLocale }));
|
3287
3317
|
} else
|
3288
3318
|
this.ast = t;
|
3289
3319
|
if (!Array.isArray(this.ast))
|
3290
3320
|
throw new TypeError("A message must be provided as a String or AST.");
|
3291
|
-
this.formats =
|
3321
|
+
this.formats = ln(e.formats, n), this.formatters = i && i.formatters || cn(this.formatterCache);
|
3292
3322
|
}
|
3293
3323
|
return Object.defineProperty(e, "defaultLocale", {
|
3294
3324
|
get: function() {
|
@@ -3301,7 +3331,7 @@ var ln = (
|
|
3301
3331
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3302
3332
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3303
3333
|
}
|
3304
|
-
}, e.__parse =
|
3334
|
+
}, e.__parse = nn, e.formats = {
|
3305
3335
|
number: {
|
3306
3336
|
integer: {
|
3307
3337
|
maximumFractionDigits: 0
|
@@ -3362,7 +3392,7 @@ var ln = (
|
|
3362
3392
|
}, e;
|
3363
3393
|
}()
|
3364
3394
|
);
|
3365
|
-
function
|
3395
|
+
function mn(e, t) {
|
3366
3396
|
if (t == null)
|
3367
3397
|
return;
|
3368
3398
|
if (t in e)
|
@@ -3383,92 +3413,92 @@ function fn(e, t) {
|
|
3383
3413
|
n = void 0;
|
3384
3414
|
return n;
|
3385
3415
|
}
|
3386
|
-
const
|
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) => {
|
3387
3417
|
if (t == null)
|
3388
3418
|
return;
|
3389
|
-
if (t in
|
3390
|
-
return
|
3391
|
-
const r =
|
3419
|
+
if (t in M && e in M[t])
|
3420
|
+
return M[t][e];
|
3421
|
+
const r = me(t);
|
3392
3422
|
for (let n = 0; n < r.length; n++) {
|
3393
|
-
const i = r[n], o =
|
3423
|
+
const i = r[n], o = dn(i, e);
|
3394
3424
|
if (o)
|
3395
|
-
return
|
3425
|
+
return pn(e, t, o);
|
3396
3426
|
}
|
3397
3427
|
};
|
3398
3428
|
let De;
|
3399
|
-
const
|
3400
|
-
function
|
3429
|
+
const re = le({});
|
3430
|
+
function gn(e) {
|
3401
3431
|
return De[e] || null;
|
3402
3432
|
}
|
3403
|
-
function
|
3433
|
+
function At(e) {
|
3404
3434
|
return e in De;
|
3405
3435
|
}
|
3406
|
-
function
|
3407
|
-
if (!
|
3436
|
+
function dn(e, t) {
|
3437
|
+
if (!At(e))
|
3408
3438
|
return null;
|
3409
|
-
const r =
|
3410
|
-
return
|
3439
|
+
const r = gn(e);
|
3440
|
+
return mn(r, t);
|
3411
3441
|
}
|
3412
|
-
function
|
3442
|
+
function bn(e) {
|
3413
3443
|
if (e == null)
|
3414
3444
|
return;
|
3415
|
-
const t =
|
3445
|
+
const t = me(e);
|
3416
3446
|
for (let r = 0; r < t.length; r++) {
|
3417
3447
|
const n = t[r];
|
3418
|
-
if (
|
3448
|
+
if (At(n))
|
3419
3449
|
return n;
|
3420
3450
|
}
|
3421
3451
|
}
|
3422
3452
|
function wt(e, ...t) {
|
3423
|
-
delete
|
3453
|
+
delete M[e], re.update((r) => (r[e] = vr.all([r[e] || {}, ...t]), r));
|
3424
3454
|
}
|
3425
3455
|
z(
|
3426
|
-
[
|
3456
|
+
[re],
|
3427
3457
|
([e]) => Object.keys(e)
|
3428
3458
|
);
|
3429
|
-
|
3430
|
-
const
|
3431
|
-
function
|
3432
|
-
|
3459
|
+
re.subscribe((e) => De = e);
|
3460
|
+
const se = {};
|
3461
|
+
function xn(e, t) {
|
3462
|
+
se[e].delete(t), se[e].size === 0 && delete se[e];
|
3433
3463
|
}
|
3434
3464
|
function Ot(e) {
|
3435
|
-
return
|
3465
|
+
return se[e];
|
3436
3466
|
}
|
3437
|
-
function
|
3438
|
-
return
|
3467
|
+
function yn(e) {
|
3468
|
+
return me(e).map((t) => {
|
3439
3469
|
const r = Ot(t);
|
3440
3470
|
return [t, r ? [...r] : []];
|
3441
3471
|
}).filter(([, t]) => t.length > 0);
|
3442
3472
|
}
|
3443
|
-
function
|
3444
|
-
return e == null ? !1 :
|
3473
|
+
function Le(e) {
|
3474
|
+
return e == null ? !1 : me(e).some(
|
3445
3475
|
(t) => {
|
3446
3476
|
var r;
|
3447
3477
|
return (r = Ot(t)) == null ? void 0 : r.size;
|
3448
3478
|
}
|
3449
3479
|
);
|
3450
3480
|
}
|
3451
|
-
function
|
3481
|
+
function vn(e, t) {
|
3452
3482
|
return Promise.all(
|
3453
|
-
t.map((n) => (
|
3483
|
+
t.map((n) => (xn(e, n), n().then((i) => i.default || i)))
|
3454
3484
|
).then((n) => wt(e, ...n));
|
3455
3485
|
}
|
3456
3486
|
const q = {};
|
3457
|
-
function
|
3458
|
-
if (!
|
3487
|
+
function Mt(e) {
|
3488
|
+
if (!Le(e))
|
3459
3489
|
return e in q ? q[e] : Promise.resolve();
|
3460
|
-
const t =
|
3490
|
+
const t = yn(e);
|
3461
3491
|
return q[e] = Promise.all(
|
3462
3492
|
t.map(
|
3463
|
-
([r, n]) =>
|
3493
|
+
([r, n]) => vn(r, n)
|
3464
3494
|
)
|
3465
3495
|
).then(() => {
|
3466
|
-
if (
|
3467
|
-
return
|
3496
|
+
if (Le(e))
|
3497
|
+
return Mt(e);
|
3468
3498
|
delete q[e];
|
3469
3499
|
}), q[e];
|
3470
3500
|
}
|
3471
|
-
const
|
3501
|
+
const En = {
|
3472
3502
|
number: {
|
3473
3503
|
scientific: { notation: "scientific" },
|
3474
3504
|
engineering: { notation: "engineering" },
|
@@ -3497,142 +3527,142 @@ const yn = {
|
|
3497
3527
|
timeZoneName: "short"
|
3498
3528
|
}
|
3499
3529
|
}
|
3500
|
-
},
|
3530
|
+
}, _n = {
|
3501
3531
|
fallbackLocale: null,
|
3502
3532
|
loadingDelay: 200,
|
3503
|
-
formats:
|
3533
|
+
formats: En,
|
3504
3534
|
warnOnMissingMessages: !0,
|
3505
3535
|
handleMissingMessage: void 0,
|
3506
3536
|
ignoreTag: !0
|
3507
|
-
},
|
3537
|
+
}, Hn = _n;
|
3508
3538
|
function X() {
|
3509
|
-
return
|
3539
|
+
return Hn;
|
3510
3540
|
}
|
3511
|
-
const
|
3512
|
-
var
|
3541
|
+
const He = le(!1);
|
3542
|
+
var Tn = Object.defineProperty, Pn = Object.defineProperties, Nn = Object.getOwnPropertyDescriptors, et = Object.getOwnPropertySymbols, Bn = 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) => {
|
3513
3543
|
for (var r in t || (t = {}))
|
3514
|
-
|
3544
|
+
Bn.call(t, r) && tt(e, r, t[r]);
|
3515
3545
|
if (et)
|
3516
3546
|
for (var r of et(t))
|
3517
|
-
|
3547
|
+
Sn.call(t, r) && tt(e, r, t[r]);
|
3518
3548
|
return e;
|
3519
|
-
},
|
3520
|
-
let
|
3521
|
-
const
|
3549
|
+
}, wn = (e, t) => Pn(e, Nn(t));
|
3550
|
+
let Ce;
|
3551
|
+
const ue = le(null);
|
3522
3552
|
function rt(e) {
|
3523
3553
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3524
3554
|
}
|
3525
|
-
function
|
3555
|
+
function me(e, t = X().fallbackLocale) {
|
3526
3556
|
const r = rt(e);
|
3527
3557
|
return t ? [.../* @__PURE__ */ new Set([...r, ...rt(t)])] : r;
|
3528
3558
|
}
|
3529
|
-
function
|
3530
|
-
return
|
3559
|
+
function $() {
|
3560
|
+
return Ce ?? void 0;
|
3531
3561
|
}
|
3532
|
-
|
3533
|
-
|
3562
|
+
ue.subscribe((e) => {
|
3563
|
+
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3534
3564
|
});
|
3535
|
-
const
|
3536
|
-
if (e &&
|
3565
|
+
const On = (e) => {
|
3566
|
+
if (e && bn(e) && Le(e)) {
|
3537
3567
|
const { loadingDelay: t } = X();
|
3538
3568
|
let r;
|
3539
|
-
return typeof window < "u" &&
|
3540
|
-
() =>
|
3569
|
+
return typeof window < "u" && $() != null && t ? r = window.setTimeout(
|
3570
|
+
() => He.set(!0),
|
3541
3571
|
t
|
3542
|
-
) :
|
3543
|
-
|
3572
|
+
) : He.set(!0), Mt(e).then(() => {
|
3573
|
+
ue.set(e);
|
3544
3574
|
}).finally(() => {
|
3545
|
-
clearTimeout(r),
|
3575
|
+
clearTimeout(r), He.set(!1);
|
3546
3576
|
});
|
3547
3577
|
}
|
3548
|
-
return
|
3549
|
-
}, Z =
|
3550
|
-
set:
|
3551
|
-
}),
|
3578
|
+
return ue.set(e);
|
3579
|
+
}, Z = wn(An({}, ue), {
|
3580
|
+
set: On
|
3581
|
+
}), pe = (e) => {
|
3552
3582
|
const t = /* @__PURE__ */ Object.create(null);
|
3553
3583
|
return (n) => {
|
3554
3584
|
const i = JSON.stringify(n);
|
3555
3585
|
return i in t ? t[i] : t[i] = e(n);
|
3556
3586
|
};
|
3557
3587
|
};
|
3558
|
-
var
|
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, Ue = (e, t) => {
|
3559
3589
|
for (var r in t || (t = {}))
|
3560
|
-
|
3561
|
-
if (
|
3562
|
-
for (var r of
|
3590
|
+
It.call(t, r) && nt(e, r, t[r]);
|
3591
|
+
if (he)
|
3592
|
+
for (var r of he(t))
|
3563
3593
|
Lt.call(t, r) && nt(e, r, t[r]);
|
3564
3594
|
return e;
|
3565
3595
|
}, W = (e, t) => {
|
3566
3596
|
var r = {};
|
3567
3597
|
for (var n in e)
|
3568
|
-
|
3569
|
-
if (e != null &&
|
3570
|
-
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))
|
3571
3601
|
t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
|
3572
3602
|
return r;
|
3573
3603
|
};
|
3574
|
-
const
|
3604
|
+
const ee = (e, t) => {
|
3575
3605
|
const { formats: r } = X();
|
3576
3606
|
if (e in r && t in r[e])
|
3577
3607
|
return r[e][t];
|
3578
3608
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3579
|
-
},
|
3609
|
+
}, In = pe(
|
3580
3610
|
(e) => {
|
3581
3611
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3582
3612
|
if (r == null)
|
3583
3613
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3584
|
-
return n && (i =
|
3614
|
+
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
3585
3615
|
}
|
3586
|
-
),
|
3616
|
+
), Ln = pe(
|
3587
3617
|
(e) => {
|
3588
3618
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3589
3619
|
if (r == null)
|
3590
3620
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3591
|
-
return n ? i =
|
3621
|
+
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
3592
3622
|
}
|
3593
|
-
),
|
3623
|
+
), Cn = pe(
|
3594
3624
|
(e) => {
|
3595
3625
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3596
3626
|
if (r == null)
|
3597
3627
|
throw new Error(
|
3598
3628
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3599
3629
|
);
|
3600
|
-
return n ? i =
|
3630
|
+
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
3601
3631
|
}
|
3602
|
-
),
|
3632
|
+
), $n = (e = {}) => {
|
3603
3633
|
var t = e, {
|
3604
|
-
locale: r =
|
3634
|
+
locale: r = $()
|
3605
3635
|
} = t, n = W(t, [
|
3606
3636
|
"locale"
|
3607
3637
|
]);
|
3608
|
-
return
|
3609
|
-
},
|
3638
|
+
return In(Ue({ locale: r }, n));
|
3639
|
+
}, Rn = (e = {}) => {
|
3610
3640
|
var t = e, {
|
3611
|
-
locale: r =
|
3641
|
+
locale: r = $()
|
3612
3642
|
} = t, n = W(t, [
|
3613
3643
|
"locale"
|
3614
3644
|
]);
|
3615
|
-
return
|
3616
|
-
},
|
3645
|
+
return Ln(Ue({ locale: r }, n));
|
3646
|
+
}, Fn = (e = {}) => {
|
3617
3647
|
var t = e, {
|
3618
|
-
locale: r =
|
3648
|
+
locale: r = $()
|
3619
3649
|
} = t, n = W(t, [
|
3620
3650
|
"locale"
|
3621
3651
|
]);
|
3622
|
-
return
|
3623
|
-
},
|
3652
|
+
return Cn(Ue({ locale: r }, n));
|
3653
|
+
}, Gn = pe(
|
3624
3654
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3625
|
-
(e, t =
|
3655
|
+
(e, t = $()) => new fn(e, t, X().formats, {
|
3626
3656
|
ignoreTag: X().ignoreTag
|
3627
3657
|
})
|
3628
|
-
),
|
3658
|
+
), Dn = (e, t = {}) => {
|
3629
3659
|
var r, n, i, o;
|
3630
3660
|
let u = t;
|
3631
3661
|
typeof e == "object" && (u = e, e = u.id);
|
3632
3662
|
const {
|
3633
|
-
values:
|
3634
|
-
locale: l =
|
3635
|
-
default:
|
3663
|
+
values: s,
|
3664
|
+
locale: l = $(),
|
3665
|
+
default: a
|
3636
3666
|
} = u;
|
3637
3667
|
if (l == null)
|
3638
3668
|
throw new Error(
|
@@ -3640,16 +3670,16 @@ const K = (e, t) => {
|
|
3640
3670
|
);
|
3641
3671
|
let h = St(e, l);
|
3642
3672
|
if (!h)
|
3643
|
-
h = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue:
|
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;
|
3644
3674
|
else if (typeof h != "string")
|
3645
3675
|
return console.warn(
|
3646
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.`
|
3647
3677
|
), h;
|
3648
|
-
if (!
|
3678
|
+
if (!s)
|
3649
3679
|
return h;
|
3650
3680
|
let c = h;
|
3651
3681
|
try {
|
3652
|
-
c =
|
3682
|
+
c = Gn(h, l).format(s);
|
3653
3683
|
} catch (f) {
|
3654
3684
|
f instanceof Error && console.warn(
|
3655
3685
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3657,15 +3687,15 @@ const K = (e, t) => {
|
|
3657
3687
|
);
|
3658
3688
|
}
|
3659
3689
|
return c;
|
3660
|
-
},
|
3661
|
-
z([Z], () => Gn);
|
3662
|
-
z([Z], () => Dn);
|
3690
|
+
}, Un = (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], () => Dn);
|
3663
3691
|
z([Z], () => Un);
|
3664
|
-
z([Z
|
3692
|
+
z([Z], () => kn);
|
3693
|
+
z([Z], () => jn);
|
3694
|
+
z([Z, re], () => Vn);
|
3665
3695
|
function it(e, t) {
|
3666
3696
|
wt(e, t);
|
3667
3697
|
}
|
3668
|
-
function
|
3698
|
+
function zn(e) {
|
3669
3699
|
Z.set(e);
|
3670
3700
|
}
|
3671
3701
|
const ot = {
|
@@ -3760,54 +3790,77 @@ const ot = {
|
|
3760
3790
|
home: "Go to homepage"
|
3761
3791
|
}
|
3762
3792
|
};
|
3763
|
-
function
|
3764
|
-
|
3793
|
+
function Zn(e, t) {
|
3794
|
+
if (e) {
|
3795
|
+
const r = document.createElement("style");
|
3796
|
+
r.innerHTML = t, e.appendChild(r);
|
3797
|
+
}
|
3765
3798
|
}
|
3766
|
-
function
|
3767
|
-
|
3799
|
+
function Wn(e, t) {
|
3800
|
+
const r = new URL(t);
|
3801
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
3802
|
+
const i = document.createElement("style");
|
3803
|
+
i.innerHTML = n, e && e.appendChild(i);
|
3804
|
+
}).catch((n) => {
|
3805
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
3806
|
+
});
|
3807
|
+
}
|
3808
|
+
function Qn(e, t, r) {
|
3809
|
+
if (window.emMessageBus) {
|
3810
|
+
const n = document.createElement("style");
|
3811
|
+
window.emMessageBus.subscribe(t, (i) => {
|
3812
|
+
n.innerHTML = i, e && e.appendChild(n);
|
3813
|
+
});
|
3814
|
+
}
|
3815
|
+
}
|
3816
|
+
function qn(e) {
|
3817
|
+
Rt(e, "svelte-fokx9n", "*,*::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, #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}}");
|
3818
|
+
}
|
3819
|
+
function Jn(e) {
|
3820
|
+
let t, r, n, i, o, u, s, l, a, h, c, f, b = (
|
3768
3821
|
/*$_*/
|
3769
3822
|
e[1]("pageNotFound") + ""
|
3770
|
-
), y,
|
3823
|
+
), y, m, E, T = (
|
3771
3824
|
/*$_*/
|
3772
3825
|
e[1]("pageNotFoundMessage") + ""
|
3773
|
-
),
|
3826
|
+
), A, P, B, N = (
|
3774
3827
|
/*$_*/
|
3775
3828
|
e[1]("home") + ""
|
3776
|
-
), w,
|
3829
|
+
), w, R, ke;
|
3777
3830
|
return {
|
3778
3831
|
c() {
|
3779
|
-
t = L("div"), r = L("div"), n = O("svg"), i = O("g"), o = O("path"), u = O("path"),
|
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(), E = L("p"), A = ie(T), P = ge(), B = L("button"), w = ie(N), 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(E, "class", "PageContent"), x(B, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
|
3780
3833
|
},
|
3781
|
-
m(
|
3782
|
-
ht(
|
3783
|
-
|
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, E), _(E, A), _(r, P), _(r, B), _(B, w), e[9](t), R || (ke = Dt(
|
3836
|
+
B,
|
3784
3837
|
"click",
|
3785
3838
|
/*click_handler*/
|
3786
|
-
e[
|
3787
|
-
),
|
3839
|
+
e[8]
|
3840
|
+
), R = !0);
|
3788
3841
|
},
|
3789
|
-
p(
|
3842
|
+
p(I, [Q]) {
|
3790
3843
|
Q & /*$_*/
|
3791
3844
|
2 && b !== (b = /*$_*/
|
3792
|
-
|
3793
|
-
2 &&
|
3794
|
-
|
3795
|
-
2 &&
|
3796
|
-
|
3845
|
+
I[1]("pageNotFound") + "") && de(y, b), Q & /*$_*/
|
3846
|
+
2 && T !== (T = /*$_*/
|
3847
|
+
I[1]("pageNotFoundMessage") + "") && de(A, T), Q & /*$_*/
|
3848
|
+
2 && N !== (N = /*$_*/
|
3849
|
+
I[1]("home") + "") && de(w, N);
|
3797
3850
|
},
|
3798
|
-
i:
|
3799
|
-
o:
|
3800
|
-
d(
|
3801
|
-
|
3851
|
+
i: S,
|
3852
|
+
o: S,
|
3853
|
+
d(I) {
|
3854
|
+
I && Re(t), e[9](null), R = !1, ke();
|
3802
3855
|
}
|
3803
3856
|
};
|
3804
3857
|
}
|
3805
|
-
function
|
3858
|
+
function Yn(e, t, r) {
|
3806
3859
|
let n;
|
3807
|
-
$t(e,
|
3808
|
-
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl:
|
3809
|
-
const
|
3810
|
-
fetch(
|
3860
|
+
$t(e, Xn, (m) => r(1, n = m));
|
3861
|
+
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: s = "" } = t, { mbsource: l } = t, a;
|
3862
|
+
const h = () => {
|
3863
|
+
fetch(s).then((E) => E.json()).then((E) => {
|
3811
3864
|
Object.keys(E).forEach((T) => {
|
3812
3865
|
it(T, E[T]);
|
3813
3866
|
});
|
@@ -3818,92 +3871,91 @@ function Zn(e, t, r) {
|
|
3818
3871
|
Object.keys(ot).forEach((m) => {
|
3819
3872
|
it(m, ot[m]);
|
3820
3873
|
});
|
3821
|
-
const
|
3874
|
+
const c = () => {
|
3822
3875
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
3823
|
-
}, c = () => {
|
3824
|
-
Vn(i);
|
3825
3876
|
}, f = () => {
|
3826
|
-
|
3827
|
-
|
3828
|
-
|
3829
|
-
|
3830
|
-
|
3831
|
-
|
3832
|
-
|
3833
|
-
|
3834
|
-
},
|
3835
|
-
1
|
3836
|
-
);
|
3837
|
-
});
|
3838
|
-
}, y = () => h();
|
3839
|
-
function _(m) {
|
3840
|
-
He[m ? "unshift" : "push"](() => {
|
3841
|
-
l = m, r(0, l);
|
3877
|
+
zn(i);
|
3878
|
+
};
|
3879
|
+
Vt(() => () => {
|
3880
|
+
});
|
3881
|
+
const b = () => c();
|
3882
|
+
function y(m) {
|
3883
|
+
Te[m ? "unshift" : "push"](() => {
|
3884
|
+
a = m, r(0, a);
|
3842
3885
|
});
|
3843
3886
|
}
|
3844
3887
|
return e.$$set = (m) => {
|
3845
|
-
"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,
|
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);
|
3846
3889
|
}, e.$$.update = () => {
|
3847
3890
|
e.$$.dirty & /*lang*/
|
3848
|
-
8 && i &&
|
3849
|
-
|
3850
|
-
|
3851
|
-
|
3891
|
+
8 && i && f(), e.$$.dirty & /*translationurl*/
|
3892
|
+
64 && s && h(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
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`);
|
3852
3896
|
}, [
|
3853
|
-
|
3897
|
+
a,
|
3854
3898
|
n,
|
3855
|
-
|
3899
|
+
c,
|
3856
3900
|
i,
|
3857
3901
|
o,
|
3858
3902
|
u,
|
3859
|
-
|
3860
|
-
|
3861
|
-
|
3903
|
+
s,
|
3904
|
+
l,
|
3905
|
+
b,
|
3906
|
+
y
|
3862
3907
|
];
|
3863
3908
|
}
|
3864
|
-
class
|
3909
|
+
class Kn extends rr {
|
3865
3910
|
constructor(t) {
|
3866
|
-
super(),
|
3911
|
+
super(), er(
|
3867
3912
|
this,
|
3868
3913
|
t,
|
3869
|
-
|
3870
|
-
|
3914
|
+
Yn,
|
3915
|
+
Jn,
|
3871
3916
|
st,
|
3872
3917
|
{
|
3873
3918
|
lang: 3,
|
3874
3919
|
clientstyling: 4,
|
3875
3920
|
clientstylingurl: 5,
|
3876
|
-
translationurl: 6
|
3921
|
+
translationurl: 6,
|
3922
|
+
mbsource: 7
|
3877
3923
|
},
|
3878
|
-
|
3924
|
+
qn
|
3879
3925
|
);
|
3880
3926
|
}
|
3881
3927
|
get lang() {
|
3882
3928
|
return this.$$.ctx[3];
|
3883
3929
|
}
|
3884
3930
|
set lang(t) {
|
3885
|
-
this.$$set({ lang: t }),
|
3931
|
+
this.$$set({ lang: t }), C();
|
3886
3932
|
}
|
3887
3933
|
get clientstyling() {
|
3888
3934
|
return this.$$.ctx[4];
|
3889
3935
|
}
|
3890
3936
|
set clientstyling(t) {
|
3891
|
-
this.$$set({ clientstyling: t }),
|
3937
|
+
this.$$set({ clientstyling: t }), C();
|
3892
3938
|
}
|
3893
3939
|
get clientstylingurl() {
|
3894
3940
|
return this.$$.ctx[5];
|
3895
3941
|
}
|
3896
3942
|
set clientstylingurl(t) {
|
3897
|
-
this.$$set({ clientstylingurl: t }),
|
3943
|
+
this.$$set({ clientstylingurl: t }), C();
|
3898
3944
|
}
|
3899
3945
|
get translationurl() {
|
3900
3946
|
return this.$$.ctx[6];
|
3901
3947
|
}
|
3902
3948
|
set translationurl(t) {
|
3903
|
-
this.$$set({ translationurl: t }),
|
3949
|
+
this.$$set({ translationurl: t }), C();
|
3950
|
+
}
|
3951
|
+
get mbsource() {
|
3952
|
+
return this.$$.ctx[7];
|
3953
|
+
}
|
3954
|
+
set mbsource(t) {
|
3955
|
+
this.$$set({ mbsource: t }), C();
|
3904
3956
|
}
|
3905
3957
|
}
|
3906
|
-
|
3958
|
+
tr(Kn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
3907
3959
|
export {
|
3908
|
-
|
3960
|
+
Kn as C
|
3909
3961
|
};
|