@everymatrix/casino-footer-thumbnail 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/{CasinoFooterThumbnail-36zeI4LW.js → CasinoFooterThumbnail-CMfBCenG.js} +607 -535
- package/components/CasinoFooterThumbnail-duenGHpH.cjs +18 -0
- package/components/{CasinoFooterThumbnail-CC4xYMen.js → CasinoFooterThumbnail-hLBZfjjK.js} +625 -553
- package/es2015/casino-footer-thumbnail.cjs +1 -1
- package/es2015/casino-footer-thumbnail.js +1 -1
- package/esnext/casino-footer-thumbnail.js +1 -1
- package/package.json +1 -1
- package/components/CasinoFooterThumbnail-CP0yHdpu.cjs +0 -5
|
@@ -9,7 +9,7 @@ function ht() {
|
|
|
9
9
|
function he(e) {
|
|
10
10
|
e.forEach(Ut);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function it(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function Gt(e, t) {
|
|
@@ -22,7 +22,7 @@ function A(e, t) {
|
|
|
22
22
|
function wr(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Br(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -34,15 +34,16 @@ function xr(e, ...t) {
|
|
|
34
34
|
function g(e, t) {
|
|
35
35
|
e.appendChild(t);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
const n =
|
|
37
|
+
function xr(e, t, r) {
|
|
38
|
+
const n = kr(e);
|
|
39
39
|
if (!n.getElementById(t)) {
|
|
40
40
|
const i = d("style");
|
|
41
|
-
i.id = t, i.textContent = r,
|
|
41
|
+
i.id = t, i.textContent = r, Or(n, i);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
if (!e)
|
|
44
|
+
function kr(e) {
|
|
45
|
+
if (!e)
|
|
46
|
+
return document;
|
|
46
47
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
47
48
|
return t && /** @type {ShadowRoot} */
|
|
48
49
|
t.host ? (
|
|
@@ -50,7 +51,7 @@ function Or(e) {
|
|
|
50
51
|
t
|
|
51
52
|
) : e.ownerDocument;
|
|
52
53
|
}
|
|
53
|
-
function
|
|
54
|
+
function Or(e, t) {
|
|
54
55
|
return g(
|
|
55
56
|
/** @type {Document} */
|
|
56
57
|
e.head || e,
|
|
@@ -66,16 +67,16 @@ function H(e) {
|
|
|
66
67
|
function d(e) {
|
|
67
68
|
return document.createElement(e);
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function G(e) {
|
|
70
71
|
return document.createTextNode(e);
|
|
71
72
|
}
|
|
72
|
-
function
|
|
73
|
-
return
|
|
73
|
+
function K() {
|
|
74
|
+
return G(" ");
|
|
74
75
|
}
|
|
75
76
|
function $t() {
|
|
76
|
-
return
|
|
77
|
+
return G("");
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
+
function ee(e, t, r, n) {
|
|
79
80
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
80
81
|
}
|
|
81
82
|
function h(e, t, r) {
|
|
@@ -84,11 +85,11 @@ function h(e, t, r) {
|
|
|
84
85
|
function Nr(e) {
|
|
85
86
|
return Array.from(e.childNodes);
|
|
86
87
|
}
|
|
87
|
-
function
|
|
88
|
+
function te(e, t) {
|
|
88
89
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
89
90
|
t);
|
|
90
91
|
}
|
|
91
|
-
function
|
|
92
|
+
function Cr(e) {
|
|
92
93
|
const t = {};
|
|
93
94
|
return e.childNodes.forEach(
|
|
94
95
|
/** @param {Element} node */
|
|
@@ -97,78 +98,87 @@ function Mr(e) {
|
|
|
97
98
|
}
|
|
98
99
|
), t;
|
|
99
100
|
}
|
|
100
|
-
let
|
|
101
|
-
function
|
|
102
|
-
|
|
101
|
+
let ae;
|
|
102
|
+
function se(e) {
|
|
103
|
+
ae = e;
|
|
104
|
+
}
|
|
105
|
+
function Mr() {
|
|
106
|
+
if (!ae)
|
|
107
|
+
throw new Error("Function called outside component initialization");
|
|
108
|
+
return ae;
|
|
109
|
+
}
|
|
110
|
+
function Dr(e) {
|
|
111
|
+
Mr().$$.on_mount.push(e);
|
|
103
112
|
}
|
|
104
|
-
const
|
|
105
|
-
let
|
|
106
|
-
const ft = [],
|
|
107
|
-
let
|
|
108
|
-
function
|
|
109
|
-
|
|
113
|
+
const W = [], $e = [];
|
|
114
|
+
let z = [];
|
|
115
|
+
const ft = [], Rr = /* @__PURE__ */ Promise.resolve();
|
|
116
|
+
let je = !1;
|
|
117
|
+
function Ur() {
|
|
118
|
+
je || (je = !0, Rr.then(I));
|
|
110
119
|
}
|
|
111
|
-
function
|
|
112
|
-
|
|
120
|
+
function Ve(e) {
|
|
121
|
+
z.push(e);
|
|
113
122
|
}
|
|
114
|
-
const
|
|
115
|
-
let
|
|
123
|
+
const Oe = /* @__PURE__ */ new Set();
|
|
124
|
+
let V = 0;
|
|
116
125
|
function I() {
|
|
117
|
-
if (
|
|
126
|
+
if (V !== 0)
|
|
118
127
|
return;
|
|
119
|
-
const e =
|
|
128
|
+
const e = ae;
|
|
120
129
|
do {
|
|
121
130
|
try {
|
|
122
|
-
for (;
|
|
123
|
-
const t =
|
|
124
|
-
|
|
131
|
+
for (; V < W.length; ) {
|
|
132
|
+
const t = W[V];
|
|
133
|
+
V++, se(t), Gr(t.$$);
|
|
125
134
|
}
|
|
126
135
|
} catch (t) {
|
|
127
|
-
throw
|
|
136
|
+
throw W.length = 0, V = 0, t;
|
|
128
137
|
}
|
|
129
|
-
for (
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
138
|
+
for (se(null), W.length = 0, V = 0; $e.length; )
|
|
139
|
+
$e.pop()();
|
|
140
|
+
for (let t = 0; t < z.length; t += 1) {
|
|
141
|
+
const r = z[t];
|
|
142
|
+
Oe.has(r) || (Oe.add(r), r());
|
|
133
143
|
}
|
|
134
|
-
|
|
135
|
-
} while (
|
|
144
|
+
z.length = 0;
|
|
145
|
+
} while (W.length);
|
|
136
146
|
for (; ft.length; )
|
|
137
147
|
ft.pop()();
|
|
138
|
-
|
|
148
|
+
je = !1, Oe.clear(), se(e);
|
|
139
149
|
}
|
|
140
|
-
function
|
|
150
|
+
function Gr(e) {
|
|
141
151
|
if (e.fragment !== null) {
|
|
142
152
|
e.update(), he(e.before_update);
|
|
143
153
|
const t = e.dirty;
|
|
144
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
154
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
|
|
145
155
|
}
|
|
146
156
|
}
|
|
147
|
-
function
|
|
157
|
+
function $r(e) {
|
|
148
158
|
const t = [], r = [];
|
|
149
|
-
|
|
159
|
+
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
150
160
|
}
|
|
151
|
-
const
|
|
152
|
-
function
|
|
153
|
-
e && e.i && (
|
|
161
|
+
const jr = /* @__PURE__ */ new Set();
|
|
162
|
+
function Vr(e, t) {
|
|
163
|
+
e && e.i && (jr.delete(e), e.i(t));
|
|
154
164
|
}
|
|
155
|
-
function
|
|
165
|
+
function Xr(e, t, r) {
|
|
156
166
|
const { fragment: n, after_update: i } = e.$$;
|
|
157
|
-
n && n.m(t, r),
|
|
158
|
-
const o = e.$$.on_mount.map(Ut).filter(
|
|
167
|
+
n && n.m(t, r), Ve(() => {
|
|
168
|
+
const o = e.$$.on_mount.map(Ut).filter(it);
|
|
159
169
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : he(o), e.$$.on_mount = [];
|
|
160
|
-
}), i.forEach(
|
|
170
|
+
}), i.forEach(Ve);
|
|
161
171
|
}
|
|
162
|
-
function
|
|
172
|
+
function Wr(e, t) {
|
|
163
173
|
const r = e.$$;
|
|
164
|
-
r.fragment !== null && (
|
|
174
|
+
r.fragment !== null && ($r(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
165
175
|
}
|
|
166
|
-
function
|
|
167
|
-
e.$$.dirty[0] === -1 && (
|
|
176
|
+
function zr(e, t) {
|
|
177
|
+
e.$$.dirty[0] === -1 && (W.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
168
178
|
}
|
|
169
|
-
function
|
|
170
|
-
const f =
|
|
171
|
-
|
|
179
|
+
function Zr(e, t, r, n, i, o, l = null, u = [-1]) {
|
|
180
|
+
const f = ae;
|
|
181
|
+
se(e);
|
|
172
182
|
const a = e.$$ = {
|
|
173
183
|
fragment: null,
|
|
174
184
|
ctx: [],
|
|
@@ -194,16 +204,16 @@ function zr(e, t, r, n, i, o, l = null, u = [-1]) {
|
|
|
194
204
|
let s = !1;
|
|
195
205
|
if (a.ctx = r ? r(e, t.props || {}, (c, m, ...v) => {
|
|
196
206
|
const S = v.length ? v[0] : m;
|
|
197
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = S) && (!a.skip_bound && a.bound[c] && a.bound[c](S), s &&
|
|
207
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = S) && (!a.skip_bound && a.bound[c] && a.bound[c](S), s && zr(e, c)), m;
|
|
198
208
|
}) : [], a.update(), s = !0, he(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
199
209
|
if (t.hydrate) {
|
|
200
210
|
const c = Nr(t.target);
|
|
201
211
|
a.fragment && a.fragment.l(c), c.forEach(H);
|
|
202
212
|
} else
|
|
203
213
|
a.fragment && a.fragment.c();
|
|
204
|
-
t.intro &&
|
|
214
|
+
t.intro && Vr(e.$$.fragment), Xr(e, t.target, t.anchor), I();
|
|
205
215
|
}
|
|
206
|
-
|
|
216
|
+
se(f);
|
|
207
217
|
}
|
|
208
218
|
let jt;
|
|
209
219
|
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
@@ -265,7 +275,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
|
265
275
|
};
|
|
266
276
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
267
277
|
return;
|
|
268
|
-
const t = {}, r =
|
|
278
|
+
const t = {}, r = Cr(this);
|
|
269
279
|
for (const i of this.$$s)
|
|
270
280
|
i in r && (t[i] = [e(i)]);
|
|
271
281
|
for (const i of this.attributes) {
|
|
@@ -352,7 +362,7 @@ function ve(e, t, r, n) {
|
|
|
352
362
|
return t;
|
|
353
363
|
}
|
|
354
364
|
}
|
|
355
|
-
function
|
|
365
|
+
function Qr(e, t, r, n, i, o) {
|
|
356
366
|
let l = class extends jt {
|
|
357
367
|
constructor() {
|
|
358
368
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -381,7 +391,7 @@ function Zr(e, t, r, n, i, o) {
|
|
|
381
391
|
}), e.element = /** @type {any} */
|
|
382
392
|
l, l;
|
|
383
393
|
}
|
|
384
|
-
class
|
|
394
|
+
class Jr {
|
|
385
395
|
/**
|
|
386
396
|
* ### PRIVATE API
|
|
387
397
|
*
|
|
@@ -400,7 +410,7 @@ class Qr {
|
|
|
400
410
|
$$set = void 0;
|
|
401
411
|
/** @returns {void} */
|
|
402
412
|
$destroy() {
|
|
403
|
-
|
|
413
|
+
Wr(this, 1), this.$destroy = k;
|
|
404
414
|
}
|
|
405
415
|
/**
|
|
406
416
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -409,7 +419,7 @@ class Qr {
|
|
|
409
419
|
* @returns {() => void}
|
|
410
420
|
*/
|
|
411
421
|
$on(t, r) {
|
|
412
|
-
if (!
|
|
422
|
+
if (!it(r))
|
|
413
423
|
return k;
|
|
414
424
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
415
425
|
return n.push(r), () => {
|
|
@@ -427,17 +437,32 @@ class Qr {
|
|
|
427
437
|
}
|
|
428
438
|
const qr = "4";
|
|
429
439
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qr);
|
|
430
|
-
|
|
431
|
-
|
|
440
|
+
/*! *****************************************************************************
|
|
441
|
+
Copyright (c) Microsoft Corporation.
|
|
442
|
+
|
|
443
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
444
|
+
purpose with or without fee is hereby granted.
|
|
445
|
+
|
|
446
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
447
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
448
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
449
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
450
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
451
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
452
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
453
|
+
***************************************************************************** */
|
|
454
|
+
var Xe = function(e, t) {
|
|
455
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
432
456
|
r.__proto__ = n;
|
|
433
457
|
} || function(r, n) {
|
|
434
|
-
for (var i in n)
|
|
435
|
-
|
|
458
|
+
for (var i in n)
|
|
459
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
460
|
+
}, Xe(e, t);
|
|
436
461
|
};
|
|
437
|
-
function
|
|
462
|
+
function M(e, t) {
|
|
438
463
|
if (typeof t != "function" && t !== null)
|
|
439
464
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
440
|
-
|
|
465
|
+
Xe(e, t);
|
|
441
466
|
function r() {
|
|
442
467
|
this.constructor = e;
|
|
443
468
|
}
|
|
@@ -447,50 +472,58 @@ var y = function() {
|
|
|
447
472
|
return y = Object.assign || function(t) {
|
|
448
473
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
449
474
|
r = arguments[n];
|
|
450
|
-
for (var o in r)
|
|
475
|
+
for (var o in r)
|
|
476
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
451
477
|
}
|
|
452
478
|
return t;
|
|
453
479
|
}, y.apply(this, arguments);
|
|
454
480
|
};
|
|
455
|
-
function
|
|
481
|
+
function Yr(e, t) {
|
|
456
482
|
var r = {};
|
|
457
|
-
for (var n in e)
|
|
483
|
+
for (var n in e)
|
|
484
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
458
485
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
459
486
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
460
487
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
461
488
|
return r;
|
|
462
489
|
}
|
|
463
|
-
function
|
|
490
|
+
function We(e) {
|
|
464
491
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
465
|
-
if (r)
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
492
|
+
if (r)
|
|
493
|
+
return r.call(e);
|
|
494
|
+
if (e && typeof e.length == "number")
|
|
495
|
+
return {
|
|
496
|
+
next: function() {
|
|
497
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
498
|
+
}
|
|
499
|
+
};
|
|
471
500
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
472
501
|
}
|
|
473
|
-
function
|
|
502
|
+
function ze(e, t) {
|
|
474
503
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
475
|
-
if (!r)
|
|
504
|
+
if (!r)
|
|
505
|
+
return e;
|
|
476
506
|
var n = r.call(e), i, o = [], l;
|
|
477
507
|
try {
|
|
478
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
508
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
509
|
+
o.push(i.value);
|
|
479
510
|
} catch (u) {
|
|
480
511
|
l = { error: u };
|
|
481
512
|
} finally {
|
|
482
513
|
try {
|
|
483
514
|
i && !i.done && (r = n.return) && r.call(n);
|
|
484
515
|
} finally {
|
|
485
|
-
if (l)
|
|
516
|
+
if (l)
|
|
517
|
+
throw l.error;
|
|
486
518
|
}
|
|
487
519
|
}
|
|
488
520
|
return o;
|
|
489
521
|
}
|
|
490
|
-
function
|
|
491
|
-
if (r || arguments.length === 2)
|
|
492
|
-
(
|
|
493
|
-
|
|
522
|
+
function Z(e, t, r) {
|
|
523
|
+
if (r || arguments.length === 2)
|
|
524
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
525
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
526
|
+
return e.concat(o || t);
|
|
494
527
|
}
|
|
495
528
|
function C(e) {
|
|
496
529
|
return typeof e == "function";
|
|
@@ -501,7 +534,7 @@ function Vt(e) {
|
|
|
501
534
|
}, r = e(t);
|
|
502
535
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
503
536
|
}
|
|
504
|
-
var
|
|
537
|
+
var Ne = Vt(function(e) {
|
|
505
538
|
return function(r) {
|
|
506
539
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
507
540
|
` + r.map(function(n, i) {
|
|
@@ -510,7 +543,7 @@ var Oe = Vt(function(e) {
|
|
|
510
543
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
511
544
|
};
|
|
512
545
|
});
|
|
513
|
-
function
|
|
546
|
+
function Ze(e, t) {
|
|
514
547
|
if (e) {
|
|
515
548
|
var r = e.indexOf(t);
|
|
516
549
|
0 <= r && e.splice(r, 1);
|
|
@@ -528,7 +561,7 @@ var Te = function() {
|
|
|
528
561
|
if (l)
|
|
529
562
|
if (this._parentage = null, Array.isArray(l))
|
|
530
563
|
try {
|
|
531
|
-
for (var u =
|
|
564
|
+
for (var u = We(l), f = u.next(); !f.done; f = u.next()) {
|
|
532
565
|
var a = f.value;
|
|
533
566
|
a.remove(this);
|
|
534
567
|
}
|
|
@@ -538,7 +571,8 @@ var Te = function() {
|
|
|
538
571
|
try {
|
|
539
572
|
f && !f.done && (r = u.return) && r.call(u);
|
|
540
573
|
} finally {
|
|
541
|
-
if (t)
|
|
574
|
+
if (t)
|
|
575
|
+
throw t.error;
|
|
542
576
|
}
|
|
543
577
|
}
|
|
544
578
|
else
|
|
@@ -548,18 +582,18 @@ var Te = function() {
|
|
|
548
582
|
try {
|
|
549
583
|
s();
|
|
550
584
|
} catch (E) {
|
|
551
|
-
o = E instanceof
|
|
585
|
+
o = E instanceof Ne ? E.errors : [E];
|
|
552
586
|
}
|
|
553
587
|
var c = this._finalizers;
|
|
554
588
|
if (c) {
|
|
555
589
|
this._finalizers = null;
|
|
556
590
|
try {
|
|
557
|
-
for (var m =
|
|
591
|
+
for (var m = We(c), v = m.next(); !v.done; v = m.next()) {
|
|
558
592
|
var S = v.value;
|
|
559
593
|
try {
|
|
560
594
|
ct(S);
|
|
561
595
|
} catch (E) {
|
|
562
|
-
o = o ?? [], E instanceof
|
|
596
|
+
o = o ?? [], E instanceof Ne ? o = Z(Z([], ze(o)), ze(E.errors)) : o.push(E);
|
|
563
597
|
}
|
|
564
598
|
}
|
|
565
599
|
} catch (E) {
|
|
@@ -568,12 +602,13 @@ var Te = function() {
|
|
|
568
602
|
try {
|
|
569
603
|
v && !v.done && (i = m.return) && i.call(m);
|
|
570
604
|
} finally {
|
|
571
|
-
if (n)
|
|
605
|
+
if (n)
|
|
606
|
+
throw n.error;
|
|
572
607
|
}
|
|
573
608
|
}
|
|
574
609
|
}
|
|
575
610
|
if (o)
|
|
576
|
-
throw new
|
|
611
|
+
throw new Ne(o);
|
|
577
612
|
}
|
|
578
613
|
}, e.prototype.add = function(t) {
|
|
579
614
|
var r;
|
|
@@ -596,10 +631,10 @@ var Te = function() {
|
|
|
596
631
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
597
632
|
}, e.prototype._removeParent = function(t) {
|
|
598
633
|
var r = this._parentage;
|
|
599
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
634
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
|
|
600
635
|
}, e.prototype.remove = function(t) {
|
|
601
636
|
var r = this._finalizers;
|
|
602
|
-
r &&
|
|
637
|
+
r && Ze(r, t), t instanceof e && t._removeParent(this);
|
|
603
638
|
}, e.EMPTY = function() {
|
|
604
639
|
var t = new e();
|
|
605
640
|
return t.closed = !0, t;
|
|
@@ -617,19 +652,19 @@ var zt = {
|
|
|
617
652
|
Promise: void 0,
|
|
618
653
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
619
654
|
useDeprecatedNextContext: !1
|
|
620
|
-
},
|
|
655
|
+
}, Kr = {
|
|
621
656
|
setTimeout: function(e, t) {
|
|
622
657
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
623
658
|
r[n - 2] = arguments[n];
|
|
624
|
-
return setTimeout.apply(void 0,
|
|
659
|
+
return setTimeout.apply(void 0, Z([e, t], ze(r)));
|
|
625
660
|
},
|
|
626
661
|
clearTimeout: function(e) {
|
|
627
662
|
return clearTimeout(e);
|
|
628
663
|
},
|
|
629
664
|
delegate: void 0
|
|
630
665
|
};
|
|
631
|
-
function
|
|
632
|
-
|
|
666
|
+
function en(e) {
|
|
667
|
+
Kr.setTimeout(function() {
|
|
633
668
|
throw e;
|
|
634
669
|
});
|
|
635
670
|
}
|
|
@@ -639,13 +674,13 @@ function ye(e) {
|
|
|
639
674
|
e();
|
|
640
675
|
}
|
|
641
676
|
var Zt = function(e) {
|
|
642
|
-
|
|
677
|
+
M(t, e);
|
|
643
678
|
function t(r) {
|
|
644
679
|
var n = e.call(this) || this;
|
|
645
|
-
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination =
|
|
680
|
+
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = on, n;
|
|
646
681
|
}
|
|
647
682
|
return t.create = function(r, n, i) {
|
|
648
|
-
return new
|
|
683
|
+
return new Qe(r, n, i);
|
|
649
684
|
}, t.prototype.next = function(r) {
|
|
650
685
|
this.isStopped || this._next(r);
|
|
651
686
|
}, t.prototype.error = function(r) {
|
|
@@ -669,11 +704,11 @@ var Zt = function(e) {
|
|
|
669
704
|
this.unsubscribe();
|
|
670
705
|
}
|
|
671
706
|
}, t;
|
|
672
|
-
}(Te),
|
|
707
|
+
}(Te), tn = Function.prototype.bind;
|
|
673
708
|
function Ce(e, t) {
|
|
674
|
-
return
|
|
709
|
+
return tn.call(e, t);
|
|
675
710
|
}
|
|
676
|
-
var
|
|
711
|
+
var rn = function() {
|
|
677
712
|
function e(t) {
|
|
678
713
|
this.partialObserver = t;
|
|
679
714
|
}
|
|
@@ -704,8 +739,8 @@ var tn = function() {
|
|
|
704
739
|
ge(r);
|
|
705
740
|
}
|
|
706
741
|
}, e;
|
|
707
|
-
}(),
|
|
708
|
-
|
|
742
|
+
}(), Qe = function(e) {
|
|
743
|
+
M(t, e);
|
|
709
744
|
function t(r, n, i) {
|
|
710
745
|
var o = e.call(this) || this, l;
|
|
711
746
|
if (C(r) || !r)
|
|
@@ -724,29 +759,29 @@ var tn = function() {
|
|
|
724
759
|
complete: r.complete && Ce(r.complete, u)
|
|
725
760
|
}) : l = r;
|
|
726
761
|
}
|
|
727
|
-
return o.destination = new
|
|
762
|
+
return o.destination = new rn(l), o;
|
|
728
763
|
}
|
|
729
764
|
return t;
|
|
730
765
|
}(Zt);
|
|
731
766
|
function ge(e) {
|
|
732
|
-
|
|
767
|
+
en(e);
|
|
733
768
|
}
|
|
734
|
-
function
|
|
769
|
+
function nn(e) {
|
|
735
770
|
throw e;
|
|
736
771
|
}
|
|
737
|
-
var
|
|
772
|
+
var on = {
|
|
738
773
|
closed: !0,
|
|
739
774
|
next: mt,
|
|
740
|
-
error:
|
|
775
|
+
error: nn,
|
|
741
776
|
complete: mt
|
|
742
|
-
},
|
|
777
|
+
}, sn = function() {
|
|
743
778
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
744
779
|
}();
|
|
745
|
-
function
|
|
780
|
+
function an(e) {
|
|
746
781
|
return e;
|
|
747
782
|
}
|
|
748
|
-
function
|
|
749
|
-
return e.length === 0 ?
|
|
783
|
+
function ln(e) {
|
|
784
|
+
return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
|
|
750
785
|
return e.reduce(function(n, i) {
|
|
751
786
|
return i(n);
|
|
752
787
|
}, r);
|
|
@@ -760,7 +795,7 @@ var pt = function() {
|
|
|
760
795
|
var r = new e();
|
|
761
796
|
return r.source = this, r.operator = t, r;
|
|
762
797
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
763
|
-
var i = this, o =
|
|
798
|
+
var i = this, o = hn(t) ? t : new Qe(t, r, n);
|
|
764
799
|
return ye(function() {
|
|
765
800
|
var l = i, u = l.operator, f = l.source;
|
|
766
801
|
o.add(u ? u.call(o, f) : f ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -774,7 +809,7 @@ var pt = function() {
|
|
|
774
809
|
}, e.prototype.forEach = function(t, r) {
|
|
775
810
|
var n = this;
|
|
776
811
|
return r = dt(r), new r(function(i, o) {
|
|
777
|
-
var l = new
|
|
812
|
+
var l = new Qe({
|
|
778
813
|
next: function(u) {
|
|
779
814
|
try {
|
|
780
815
|
t(u);
|
|
@@ -790,12 +825,12 @@ var pt = function() {
|
|
|
790
825
|
}, e.prototype._subscribe = function(t) {
|
|
791
826
|
var r;
|
|
792
827
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
793
|
-
}, e.prototype[
|
|
828
|
+
}, e.prototype[sn] = function() {
|
|
794
829
|
return this;
|
|
795
830
|
}, e.prototype.pipe = function() {
|
|
796
831
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
797
832
|
t[r] = arguments[r];
|
|
798
|
-
return
|
|
833
|
+
return ln(t)(this);
|
|
799
834
|
}, e.prototype.toPromise = function(t) {
|
|
800
835
|
var r = this;
|
|
801
836
|
return t = dt(t), new t(function(n, i) {
|
|
@@ -816,18 +851,18 @@ function dt(e) {
|
|
|
816
851
|
var t;
|
|
817
852
|
return (t = e ?? zt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
818
853
|
}
|
|
819
|
-
function
|
|
854
|
+
function un(e) {
|
|
820
855
|
return e && C(e.next) && C(e.error) && C(e.complete);
|
|
821
856
|
}
|
|
822
|
-
function
|
|
823
|
-
return e && e instanceof Zt ||
|
|
857
|
+
function hn(e) {
|
|
858
|
+
return e && e instanceof Zt || un(e) && Wt(e);
|
|
824
859
|
}
|
|
825
|
-
var
|
|
860
|
+
var fn = Vt(function(e) {
|
|
826
861
|
return function() {
|
|
827
862
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
828
863
|
};
|
|
829
864
|
}), Qt = function(e) {
|
|
830
|
-
|
|
865
|
+
M(t, e);
|
|
831
866
|
function t() {
|
|
832
867
|
var r = e.call(this) || this;
|
|
833
868
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -837,7 +872,7 @@ var hn = Vt(function(e) {
|
|
|
837
872
|
return n.operator = r, n;
|
|
838
873
|
}, t.prototype._throwIfClosed = function() {
|
|
839
874
|
if (this.closed)
|
|
840
|
-
throw new
|
|
875
|
+
throw new fn();
|
|
841
876
|
}, t.prototype.next = function(r) {
|
|
842
877
|
var n = this;
|
|
843
878
|
ye(function() {
|
|
@@ -845,7 +880,7 @@ var hn = Vt(function(e) {
|
|
|
845
880
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
846
881
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
847
882
|
try {
|
|
848
|
-
for (var l =
|
|
883
|
+
for (var l = We(n.currentObservers), u = l.next(); !u.done; u = l.next()) {
|
|
849
884
|
var f = u.value;
|
|
850
885
|
f.next(r);
|
|
851
886
|
}
|
|
@@ -855,7 +890,8 @@ var hn = Vt(function(e) {
|
|
|
855
890
|
try {
|
|
856
891
|
u && !u.done && (o = l.return) && o.call(l);
|
|
857
892
|
} finally {
|
|
858
|
-
if (i)
|
|
893
|
+
if (i)
|
|
894
|
+
throw i.error;
|
|
859
895
|
}
|
|
860
896
|
}
|
|
861
897
|
}
|
|
@@ -894,7 +930,7 @@ var hn = Vt(function(e) {
|
|
|
894
930
|
}, t.prototype._innerSubscribe = function(r) {
|
|
895
931
|
var n = this, i = this, o = i.hasError, l = i.isStopped, u = i.observers;
|
|
896
932
|
return o || l ? Xt : (this.currentObservers = null, u.push(r), new Te(function() {
|
|
897
|
-
n.currentObservers = null,
|
|
933
|
+
n.currentObservers = null, Ze(u, r);
|
|
898
934
|
}));
|
|
899
935
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
900
936
|
var n = this, i = n.hasError, o = n.thrownError, l = n.isStopped;
|
|
@@ -906,7 +942,7 @@ var hn = Vt(function(e) {
|
|
|
906
942
|
return new bt(r, n);
|
|
907
943
|
}, t;
|
|
908
944
|
}(pt), bt = function(e) {
|
|
909
|
-
|
|
945
|
+
M(t, e);
|
|
910
946
|
function t(r, n) {
|
|
911
947
|
var i = e.call(this) || this;
|
|
912
948
|
return i.destination = r, i.source = n, i;
|
|
@@ -924,15 +960,15 @@ var hn = Vt(function(e) {
|
|
|
924
960
|
var n, i;
|
|
925
961
|
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
|
|
926
962
|
}, t;
|
|
927
|
-
}(Qt),
|
|
963
|
+
}(Qt), Jt = {
|
|
928
964
|
now: function() {
|
|
929
|
-
return (
|
|
965
|
+
return (Jt.delegate || Date).now();
|
|
930
966
|
},
|
|
931
967
|
delegate: void 0
|
|
932
|
-
},
|
|
933
|
-
|
|
968
|
+
}, cn = function(e) {
|
|
969
|
+
M(t, e);
|
|
934
970
|
function t(r, n, i) {
|
|
935
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
971
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
|
|
936
972
|
var o = e.call(this) || this;
|
|
937
973
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
938
974
|
}
|
|
@@ -953,14 +989,14 @@ var hn = Vt(function(e) {
|
|
|
953
989
|
}
|
|
954
990
|
}, t;
|
|
955
991
|
}(Qt);
|
|
956
|
-
const gt = [], _t = {},
|
|
992
|
+
const gt = [], _t = {}, mn = (e, t = 0) => {
|
|
957
993
|
if (gt.indexOf(e) == -1) {
|
|
958
|
-
const r = new
|
|
994
|
+
const r = new cn(t);
|
|
959
995
|
_t[e] = r, gt.push(e);
|
|
960
996
|
}
|
|
961
997
|
return _t[e];
|
|
962
|
-
},
|
|
963
|
-
function
|
|
998
|
+
}, X = [];
|
|
999
|
+
function pn(e, t) {
|
|
964
1000
|
return {
|
|
965
1001
|
subscribe: Ae(e, t).subscribe
|
|
966
1002
|
};
|
|
@@ -970,13 +1006,13 @@ function Ae(e, t = k) {
|
|
|
970
1006
|
const n = /* @__PURE__ */ new Set();
|
|
971
1007
|
function i(u) {
|
|
972
1008
|
if (Gt(e, u) && (e = u, r)) {
|
|
973
|
-
const f = !
|
|
1009
|
+
const f = !X.length;
|
|
974
1010
|
for (const a of n)
|
|
975
|
-
a[1](),
|
|
1011
|
+
a[1](), X.push(a, e);
|
|
976
1012
|
if (f) {
|
|
977
|
-
for (let a = 0; a <
|
|
978
|
-
|
|
979
|
-
|
|
1013
|
+
for (let a = 0; a < X.length; a += 2)
|
|
1014
|
+
X[a][0](X[a + 1]);
|
|
1015
|
+
X.length = 0;
|
|
980
1016
|
}
|
|
981
1017
|
}
|
|
982
1018
|
}
|
|
@@ -991,12 +1027,12 @@ function Ae(e, t = k) {
|
|
|
991
1027
|
}
|
|
992
1028
|
return { set: i, update: o, subscribe: l };
|
|
993
1029
|
}
|
|
994
|
-
function
|
|
1030
|
+
function re(e, t, r) {
|
|
995
1031
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
996
1032
|
if (!i.every(Boolean))
|
|
997
1033
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
998
1034
|
const o = t.length < 2;
|
|
999
|
-
return
|
|
1035
|
+
return pn(r, (l, u) => {
|
|
1000
1036
|
let f = !1;
|
|
1001
1037
|
const a = [];
|
|
1002
1038
|
let s = 0, c = k;
|
|
@@ -1005,9 +1041,9 @@ function ne(e, t, r) {
|
|
|
1005
1041
|
return;
|
|
1006
1042
|
c();
|
|
1007
1043
|
const S = t(n ? a[0] : a, l, u);
|
|
1008
|
-
o ? l(S) : c =
|
|
1044
|
+
o ? l(S) : c = it(S) ? S : k;
|
|
1009
1045
|
}, v = i.map(
|
|
1010
|
-
(S, E) =>
|
|
1046
|
+
(S, E) => Br(
|
|
1011
1047
|
S,
|
|
1012
1048
|
(x) => {
|
|
1013
1049
|
a[E] = x, s &= ~(1 << E), f && m();
|
|
@@ -1022,82 +1058,82 @@ function ne(e, t, r) {
|
|
|
1022
1058
|
};
|
|
1023
1059
|
});
|
|
1024
1060
|
}
|
|
1025
|
-
function
|
|
1061
|
+
function dn(e) {
|
|
1026
1062
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1027
1063
|
}
|
|
1028
|
-
var
|
|
1029
|
-
return
|
|
1064
|
+
var bn = function(t) {
|
|
1065
|
+
return gn(t) && !_n(t);
|
|
1030
1066
|
};
|
|
1031
|
-
function
|
|
1067
|
+
function gn(e) {
|
|
1032
1068
|
return !!e && typeof e == "object";
|
|
1033
1069
|
}
|
|
1034
|
-
function
|
|
1070
|
+
function _n(e) {
|
|
1035
1071
|
var t = Object.prototype.toString.call(e);
|
|
1036
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1037
|
-
}
|
|
1038
|
-
var _n = typeof Symbol == "function" && Symbol.for, vn = _n ? Symbol.for("react.element") : 60103;
|
|
1039
|
-
function yn(e) {
|
|
1040
|
-
return e.$$typeof === vn;
|
|
1072
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
1041
1073
|
}
|
|
1074
|
+
var vn = typeof Symbol == "function" && Symbol.for, yn = vn ? Symbol.for("react.element") : 60103;
|
|
1042
1075
|
function En(e) {
|
|
1076
|
+
return e.$$typeof === yn;
|
|
1077
|
+
}
|
|
1078
|
+
function In(e) {
|
|
1043
1079
|
return Array.isArray(e) ? [] : {};
|
|
1044
1080
|
}
|
|
1045
1081
|
function le(e, t) {
|
|
1046
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1082
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(In(e), e, t) : e;
|
|
1047
1083
|
}
|
|
1048
|
-
function
|
|
1084
|
+
function Sn(e, t, r) {
|
|
1049
1085
|
return e.concat(t).map(function(n) {
|
|
1050
1086
|
return le(n, r);
|
|
1051
1087
|
});
|
|
1052
1088
|
}
|
|
1053
|
-
function
|
|
1089
|
+
function Hn(e, t) {
|
|
1054
1090
|
if (!t.customMerge)
|
|
1055
|
-
return
|
|
1091
|
+
return Q;
|
|
1056
1092
|
var r = t.customMerge(e);
|
|
1057
|
-
return typeof r == "function" ? r :
|
|
1093
|
+
return typeof r == "function" ? r : Q;
|
|
1058
1094
|
}
|
|
1059
|
-
function
|
|
1095
|
+
function Tn(e) {
|
|
1060
1096
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1061
1097
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1062
1098
|
}) : [];
|
|
1063
1099
|
}
|
|
1064
1100
|
function vt(e) {
|
|
1065
|
-
return Object.keys(e).concat(
|
|
1101
|
+
return Object.keys(e).concat(Tn(e));
|
|
1066
1102
|
}
|
|
1067
|
-
function
|
|
1103
|
+
function qt(e, t) {
|
|
1068
1104
|
try {
|
|
1069
1105
|
return t in e;
|
|
1070
1106
|
} catch {
|
|
1071
1107
|
return !1;
|
|
1072
1108
|
}
|
|
1073
1109
|
}
|
|
1074
|
-
function
|
|
1075
|
-
return
|
|
1110
|
+
function An(e, t) {
|
|
1111
|
+
return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1076
1112
|
}
|
|
1077
|
-
function
|
|
1113
|
+
function Fn(e, t, r) {
|
|
1078
1114
|
var n = {};
|
|
1079
1115
|
return r.isMergeableObject(e) && vt(e).forEach(function(i) {
|
|
1080
1116
|
n[i] = le(e[i], r);
|
|
1081
1117
|
}), vt(t).forEach(function(i) {
|
|
1082
|
-
|
|
1118
|
+
An(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
|
1083
1119
|
}), n;
|
|
1084
1120
|
}
|
|
1085
|
-
function
|
|
1086
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1121
|
+
function Q(e, t, r) {
|
|
1122
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified = le;
|
|
1087
1123
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1088
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1124
|
+
return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : le(t, r);
|
|
1089
1125
|
}
|
|
1090
|
-
|
|
1126
|
+
Q.all = function(t, r) {
|
|
1091
1127
|
if (!Array.isArray(t))
|
|
1092
1128
|
throw new Error("first argument should be an array");
|
|
1093
1129
|
return t.reduce(function(n, i) {
|
|
1094
|
-
return
|
|
1130
|
+
return Q(n, i, r);
|
|
1095
1131
|
}, {});
|
|
1096
1132
|
};
|
|
1097
|
-
var
|
|
1098
|
-
const
|
|
1099
|
-
function
|
|
1100
|
-
var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer :
|
|
1133
|
+
var Ln = Q, Pn = Ln;
|
|
1134
|
+
const wn = /* @__PURE__ */ dn(Pn);
|
|
1135
|
+
function Me(e, t) {
|
|
1136
|
+
var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : xn;
|
|
1101
1137
|
return i(e, {
|
|
1102
1138
|
cache: r,
|
|
1103
1139
|
serializer: n
|
|
@@ -1117,17 +1153,17 @@ function Kt(e, t, r) {
|
|
|
1117
1153
|
function ot(e, t, r, n, i) {
|
|
1118
1154
|
return r.bind(t, e, n, i);
|
|
1119
1155
|
}
|
|
1120
|
-
function
|
|
1156
|
+
function xn(e, t) {
|
|
1121
1157
|
var r = e.length === 1 ? Yt : Kt;
|
|
1122
1158
|
return ot(e, this, r, t.cache.create(), t.serializer);
|
|
1123
1159
|
}
|
|
1124
|
-
function
|
|
1160
|
+
function kn(e, t) {
|
|
1125
1161
|
return ot(e, this, Kt, t.cache.create(), t.serializer);
|
|
1126
1162
|
}
|
|
1127
|
-
function
|
|
1163
|
+
function On(e, t) {
|
|
1128
1164
|
return ot(e, this, Yt, t.cache.create(), t.serializer);
|
|
1129
1165
|
}
|
|
1130
|
-
var
|
|
1166
|
+
var Nn = function() {
|
|
1131
1167
|
return JSON.stringify(arguments);
|
|
1132
1168
|
};
|
|
1133
1169
|
function st() {
|
|
@@ -1143,9 +1179,9 @@ var Cn = {
|
|
|
1143
1179
|
create: function() {
|
|
1144
1180
|
return new st();
|
|
1145
1181
|
}
|
|
1146
|
-
},
|
|
1147
|
-
variadic:
|
|
1148
|
-
monadic:
|
|
1182
|
+
}, De = {
|
|
1183
|
+
variadic: kn,
|
|
1184
|
+
monadic: On
|
|
1149
1185
|
}, b;
|
|
1150
1186
|
(function(e) {
|
|
1151
1187
|
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";
|
|
@@ -1161,7 +1197,7 @@ var J;
|
|
|
1161
1197
|
function yt(e) {
|
|
1162
1198
|
return e.type === T.literal;
|
|
1163
1199
|
}
|
|
1164
|
-
function
|
|
1200
|
+
function Mn(e) {
|
|
1165
1201
|
return e.type === T.argument;
|
|
1166
1202
|
}
|
|
1167
1203
|
function er(e) {
|
|
@@ -1179,7 +1215,7 @@ function nr(e) {
|
|
|
1179
1215
|
function ir(e) {
|
|
1180
1216
|
return e.type === T.plural;
|
|
1181
1217
|
}
|
|
1182
|
-
function
|
|
1218
|
+
function Dn(e) {
|
|
1183
1219
|
return e.type === T.pound;
|
|
1184
1220
|
}
|
|
1185
1221
|
function or(e) {
|
|
@@ -1188,13 +1224,13 @@ function or(e) {
|
|
|
1188
1224
|
function sr(e) {
|
|
1189
1225
|
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1190
1226
|
}
|
|
1191
|
-
function
|
|
1227
|
+
function Je(e) {
|
|
1192
1228
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1193
1229
|
}
|
|
1194
|
-
var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1195
|
-
function
|
|
1230
|
+
var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
|
|
1231
|
+
function Un(e) {
|
|
1196
1232
|
var t = {};
|
|
1197
|
-
return e.replace(
|
|
1233
|
+
return e.replace(Rn, function(r) {
|
|
1198
1234
|
var n = r.length;
|
|
1199
1235
|
switch (r[0]) {
|
|
1200
1236
|
case "G":
|
|
@@ -1283,11 +1319,11 @@ function Rn(e) {
|
|
|
1283
1319
|
return "";
|
|
1284
1320
|
}), t;
|
|
1285
1321
|
}
|
|
1286
|
-
var
|
|
1287
|
-
function
|
|
1322
|
+
var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1323
|
+
function $n(e) {
|
|
1288
1324
|
if (e.length === 0)
|
|
1289
1325
|
throw new Error("Number skeleton cannot be empty");
|
|
1290
|
-
for (var t = e.split(
|
|
1326
|
+
for (var t = e.split(Gn).filter(function(m) {
|
|
1291
1327
|
return m.length > 0;
|
|
1292
1328
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1293
1329
|
var o = i[n], l = o.split("/");
|
|
@@ -1302,10 +1338,10 @@ function Gn(e) {
|
|
|
1302
1338
|
}
|
|
1303
1339
|
return r;
|
|
1304
1340
|
}
|
|
1305
|
-
function
|
|
1341
|
+
function jn(e) {
|
|
1306
1342
|
return e.replace(/^(.*?)-/, "");
|
|
1307
1343
|
}
|
|
1308
|
-
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1344
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
|
|
1309
1345
|
function It(e) {
|
|
1310
1346
|
var t = {};
|
|
1311
1347
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
|
|
@@ -1352,7 +1388,7 @@ function hr(e) {
|
|
|
1352
1388
|
};
|
|
1353
1389
|
}
|
|
1354
1390
|
}
|
|
1355
|
-
function
|
|
1391
|
+
function Xn(e) {
|
|
1356
1392
|
var t;
|
|
1357
1393
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1358
1394
|
notation: "engineering"
|
|
@@ -1370,7 +1406,7 @@ function St(e) {
|
|
|
1370
1406
|
var t = {}, r = hr(e);
|
|
1371
1407
|
return r || t;
|
|
1372
1408
|
}
|
|
1373
|
-
function
|
|
1409
|
+
function Wn(e) {
|
|
1374
1410
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1375
1411
|
var i = n[r];
|
|
1376
1412
|
switch (i.stem) {
|
|
@@ -1394,7 +1430,7 @@ function Xn(e) {
|
|
|
1394
1430
|
continue;
|
|
1395
1431
|
case "measure-unit":
|
|
1396
1432
|
case "unit":
|
|
1397
|
-
t.style = "unit", t.unit =
|
|
1433
|
+
t.style = "unit", t.unit = jn(i.options[0]);
|
|
1398
1434
|
continue;
|
|
1399
1435
|
case "compact-short":
|
|
1400
1436
|
case "K":
|
|
@@ -1456,7 +1492,7 @@ function Xn(e) {
|
|
|
1456
1492
|
case "integer-width":
|
|
1457
1493
|
if (i.options.length > 1)
|
|
1458
1494
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1459
|
-
i.options[0].replace(
|
|
1495
|
+
i.options[0].replace(Vn, function(f, a, s, c, m, v) {
|
|
1460
1496
|
if (a)
|
|
1461
1497
|
t.minimumIntegerDigits = s.length;
|
|
1462
1498
|
else {
|
|
@@ -1489,7 +1525,7 @@ function Xn(e) {
|
|
|
1489
1525
|
}
|
|
1490
1526
|
var l = hr(i.stem);
|
|
1491
1527
|
l && (t = y(y({}, t), l));
|
|
1492
|
-
var u =
|
|
1528
|
+
var u = Xn(i.stem);
|
|
1493
1529
|
u && (t = y(y({}, t), u));
|
|
1494
1530
|
}
|
|
1495
1531
|
return t;
|
|
@@ -2909,22 +2945,23 @@ var _e = {
|
|
|
2909
2945
|
"h"
|
|
2910
2946
|
]
|
|
2911
2947
|
};
|
|
2912
|
-
function
|
|
2948
|
+
function zn(e, t) {
|
|
2913
2949
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2914
2950
|
var i = e.charAt(n);
|
|
2915
2951
|
if (i === "j") {
|
|
2916
2952
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2917
2953
|
o++, n++;
|
|
2918
|
-
var l = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), f = "a", a =
|
|
2954
|
+
var l = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), f = "a", a = Zn(t);
|
|
2919
2955
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2920
2956
|
r += f;
|
|
2921
2957
|
for (; l-- > 0; )
|
|
2922
2958
|
r = a + r;
|
|
2923
|
-
} else
|
|
2959
|
+
} else
|
|
2960
|
+
i === "J" ? r += "H" : r += i;
|
|
2924
2961
|
}
|
|
2925
2962
|
return r;
|
|
2926
2963
|
}
|
|
2927
|
-
function
|
|
2964
|
+
function Zn(e) {
|
|
2928
2965
|
var t = e.hourCycle;
|
|
2929
2966
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2930
2967
|
e.hourCycles && // @ts-ignore
|
|
@@ -2946,16 +2983,16 @@ function zn(e) {
|
|
|
2946
2983
|
var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
|
|
2947
2984
|
return i[0];
|
|
2948
2985
|
}
|
|
2949
|
-
var
|
|
2986
|
+
var Re, Qn = new RegExp("^".concat(ar.source, "*")), Jn = new RegExp("".concat(ar.source, "*$"));
|
|
2950
2987
|
function _(e, t) {
|
|
2951
2988
|
return { start: e, end: t };
|
|
2952
2989
|
}
|
|
2953
|
-
var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1),
|
|
2990
|
+
var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
|
|
2954
2991
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2955
2992
|
}, qe = !0;
|
|
2956
2993
|
try {
|
|
2957
|
-
var
|
|
2958
|
-
qe = ((
|
|
2994
|
+
var oi = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2995
|
+
qe = ((Re = oi.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
2959
2996
|
} catch {
|
|
2960
2997
|
qe = !1;
|
|
2961
2998
|
}
|
|
@@ -2969,7 +3006,7 @@ var Ht = qn ? (
|
|
|
2969
3006
|
function(t, r, n) {
|
|
2970
3007
|
return t.slice(n, n + r.length) === r;
|
|
2971
3008
|
}
|
|
2972
|
-
),
|
|
3009
|
+
), Ye = Yn ? String.fromCodePoint : (
|
|
2973
3010
|
// IE11
|
|
2974
3011
|
function() {
|
|
2975
3012
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2983,7 +3020,7 @@ var Ht = qn ? (
|
|
|
2983
3020
|
}
|
|
2984
3021
|
), Tt = (
|
|
2985
3022
|
// native
|
|
2986
|
-
|
|
3023
|
+
Kn ? Object.fromEntries : (
|
|
2987
3024
|
// Ponyfill
|
|
2988
3025
|
function(t) {
|
|
2989
3026
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2993,7 +3030,7 @@ var Ht = qn ? (
|
|
|
2993
3030
|
return r;
|
|
2994
3031
|
}
|
|
2995
3032
|
)
|
|
2996
|
-
), fr =
|
|
3033
|
+
), fr = ei ? (
|
|
2997
3034
|
// Native
|
|
2998
3035
|
function(t, r) {
|
|
2999
3036
|
return t.codePointAt(r);
|
|
@@ -3007,7 +3044,7 @@ var Ht = qn ? (
|
|
|
3007
3044
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3008
3045
|
}
|
|
3009
3046
|
}
|
|
3010
|
-
),
|
|
3047
|
+
), si = ti ? (
|
|
3011
3048
|
// Native
|
|
3012
3049
|
function(t) {
|
|
3013
3050
|
return t.trimStart();
|
|
@@ -3015,9 +3052,9 @@ var Ht = qn ? (
|
|
|
3015
3052
|
) : (
|
|
3016
3053
|
// Ponyfill
|
|
3017
3054
|
function(t) {
|
|
3018
|
-
return t.replace(
|
|
3055
|
+
return t.replace(Qn, "");
|
|
3019
3056
|
}
|
|
3020
|
-
),
|
|
3057
|
+
), ai = ri ? (
|
|
3021
3058
|
// Native
|
|
3022
3059
|
function(t) {
|
|
3023
3060
|
return t.trimEnd();
|
|
@@ -3025,32 +3062,32 @@ var Ht = qn ? (
|
|
|
3025
3062
|
) : (
|
|
3026
3063
|
// Ponyfill
|
|
3027
3064
|
function(t) {
|
|
3028
|
-
return t.replace(
|
|
3065
|
+
return t.replace(Jn, "");
|
|
3029
3066
|
}
|
|
3030
3067
|
);
|
|
3031
3068
|
function cr(e, t) {
|
|
3032
3069
|
return new RegExp(e, t);
|
|
3033
3070
|
}
|
|
3034
|
-
var
|
|
3071
|
+
var Ke;
|
|
3035
3072
|
if (qe) {
|
|
3036
3073
|
var At = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3037
|
-
|
|
3074
|
+
Ke = function(t, r) {
|
|
3038
3075
|
var n;
|
|
3039
3076
|
At.lastIndex = r;
|
|
3040
3077
|
var i = At.exec(t);
|
|
3041
3078
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3042
3079
|
};
|
|
3043
3080
|
} else
|
|
3044
|
-
|
|
3081
|
+
Ke = function(t, r) {
|
|
3045
3082
|
for (var n = []; ; ) {
|
|
3046
3083
|
var i = fr(t, r);
|
|
3047
|
-
if (i === void 0 || mr(i) ||
|
|
3084
|
+
if (i === void 0 || mr(i) || fi(i))
|
|
3048
3085
|
break;
|
|
3049
3086
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3050
3087
|
}
|
|
3051
|
-
return
|
|
3088
|
+
return Ye.apply(void 0, n);
|
|
3052
3089
|
};
|
|
3053
|
-
var
|
|
3090
|
+
var li = (
|
|
3054
3091
|
/** @class */
|
|
3055
3092
|
function() {
|
|
3056
3093
|
function e(t, r) {
|
|
@@ -3081,7 +3118,7 @@ var ai = (
|
|
|
3081
3118
|
if (n)
|
|
3082
3119
|
break;
|
|
3083
3120
|
return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3084
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3121
|
+
} else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3085
3122
|
var l = this.parseTag(t, r);
|
|
3086
3123
|
if (l.err)
|
|
3087
3124
|
return l;
|
|
@@ -3114,7 +3151,7 @@ var ai = (
|
|
|
3114
3151
|
return o;
|
|
3115
3152
|
var l = o.val, u = this.clonePosition();
|
|
3116
3153
|
if (this.bumpIf("</")) {
|
|
3117
|
-
if (this.isEOF() || !
|
|
3154
|
+
if (this.isEOF() || !et(this.char()))
|
|
3118
3155
|
return this.error(b.INVALID_TAG, _(u, this.clonePosition()));
|
|
3119
3156
|
var f = this.clonePosition(), a = this.parseTagName();
|
|
3120
3157
|
return i !== a ? this.error(b.UNMATCHED_CLOSING_TAG, _(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3132,7 +3169,7 @@ var ai = (
|
|
|
3132
3169
|
return this.error(b.INVALID_TAG, _(n, this.clonePosition()));
|
|
3133
3170
|
}, e.prototype.parseTagName = function() {
|
|
3134
3171
|
var t = this.offset();
|
|
3135
|
-
for (this.bump(); !this.isEOF() &&
|
|
3172
|
+
for (this.bump(); !this.isEOF() && hi(this.char()); )
|
|
3136
3173
|
this.bump();
|
|
3137
3174
|
return this.message.slice(t, this.offset());
|
|
3138
3175
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3161,7 +3198,7 @@ var ai = (
|
|
|
3161
3198
|
};
|
|
3162
3199
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3163
3200
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3164
|
-
!
|
|
3201
|
+
!ui(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3165
3202
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3166
3203
|
if (this.isEOF() || this.char() !== 39)
|
|
3167
3204
|
return null;
|
|
@@ -3195,12 +3232,12 @@ var ai = (
|
|
|
3195
3232
|
r.push(n);
|
|
3196
3233
|
this.bump();
|
|
3197
3234
|
}
|
|
3198
|
-
return
|
|
3235
|
+
return Ye.apply(void 0, r);
|
|
3199
3236
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3200
3237
|
if (this.isEOF())
|
|
3201
3238
|
return null;
|
|
3202
3239
|
var n = this.char();
|
|
3203
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3240
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
|
|
3204
3241
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3205
3242
|
var n = this.clonePosition();
|
|
3206
3243
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3229,7 +3266,7 @@ var ai = (
|
|
|
3229
3266
|
return this.error(b.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3230
3267
|
}
|
|
3231
3268
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3232
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3269
|
+
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
|
3233
3270
|
this.bumpTo(i);
|
|
3234
3271
|
var o = this.clonePosition(), l = _(t, o);
|
|
3235
3272
|
return { value: n, location: l };
|
|
@@ -3248,7 +3285,7 @@ var ai = (
|
|
|
3248
3285
|
var s = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3249
3286
|
if (c.err)
|
|
3250
3287
|
return c;
|
|
3251
|
-
var m =
|
|
3288
|
+
var m = ai(c.val);
|
|
3252
3289
|
if (m.length === 0)
|
|
3253
3290
|
return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3254
3291
|
var v = _(s, this.clonePosition());
|
|
@@ -3259,7 +3296,7 @@ var ai = (
|
|
|
3259
3296
|
return S;
|
|
3260
3297
|
var E = _(i, this.clonePosition());
|
|
3261
3298
|
if (a && Ht(a?.style, "::", 0)) {
|
|
3262
|
-
var x =
|
|
3299
|
+
var x = si(a.style.slice(2));
|
|
3263
3300
|
if (u === "number") {
|
|
3264
3301
|
var c = this.parseNumberSkeletonFromString(x, a.styleLocation);
|
|
3265
3302
|
return c.err ? c : {
|
|
@@ -3269,13 +3306,13 @@ var ai = (
|
|
|
3269
3306
|
} else {
|
|
3270
3307
|
if (x.length === 0)
|
|
3271
3308
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, E);
|
|
3272
|
-
var
|
|
3273
|
-
this.locale && (
|
|
3309
|
+
var D = x;
|
|
3310
|
+
this.locale && (D = zn(x, this.locale));
|
|
3274
3311
|
var m = {
|
|
3275
3312
|
type: J.dateTime,
|
|
3276
|
-
pattern:
|
|
3313
|
+
pattern: D,
|
|
3277
3314
|
location: a.styleLocation,
|
|
3278
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3315
|
+
parsedOptions: this.shouldParseSkeletons ? Un(D) : {}
|
|
3279
3316
|
}, O = u === "date" ? T.date : T.time;
|
|
3280
3317
|
return {
|
|
3281
3318
|
val: { type: O, value: n, location: E, style: m },
|
|
@@ -3296,43 +3333,43 @@ var ai = (
|
|
|
3296
3333
|
case "plural":
|
|
3297
3334
|
case "selectordinal":
|
|
3298
3335
|
case "select": {
|
|
3299
|
-
var
|
|
3336
|
+
var w = this.clonePosition();
|
|
3300
3337
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3301
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
|
3338
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, y({}, w)));
|
|
3302
3339
|
this.bumpSpace();
|
|
3303
|
-
var
|
|
3304
|
-
if (u !== "select" &&
|
|
3340
|
+
var R = this.parseIdentifierIfPossible(), L = 0;
|
|
3341
|
+
if (u !== "select" && R.value === "offset") {
|
|
3305
3342
|
if (!this.bumpIf(":"))
|
|
3306
3343
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3307
3344
|
this.bumpSpace();
|
|
3308
3345
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3309
3346
|
if (c.err)
|
|
3310
3347
|
return c;
|
|
3311
|
-
this.bumpSpace(),
|
|
3348
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), L = c.val;
|
|
3312
3349
|
}
|
|
3313
|
-
var
|
|
3314
|
-
if (
|
|
3315
|
-
return
|
|
3350
|
+
var B = this.tryParsePluralOrSelectOptions(t, u, r, R);
|
|
3351
|
+
if (B.err)
|
|
3352
|
+
return B;
|
|
3316
3353
|
var S = this.tryParseArgumentClose(i);
|
|
3317
3354
|
if (S.err)
|
|
3318
3355
|
return S;
|
|
3319
|
-
var
|
|
3356
|
+
var ie = _(i, this.clonePosition());
|
|
3320
3357
|
return u === "select" ? {
|
|
3321
3358
|
val: {
|
|
3322
3359
|
type: T.select,
|
|
3323
3360
|
value: n,
|
|
3324
|
-
options: Tt(
|
|
3325
|
-
location:
|
|
3361
|
+
options: Tt(B.val),
|
|
3362
|
+
location: ie
|
|
3326
3363
|
},
|
|
3327
3364
|
err: null
|
|
3328
3365
|
} : {
|
|
3329
3366
|
val: {
|
|
3330
3367
|
type: T.plural,
|
|
3331
3368
|
value: n,
|
|
3332
|
-
options: Tt(
|
|
3369
|
+
options: Tt(B.val),
|
|
3333
3370
|
offset: L,
|
|
3334
3371
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3335
|
-
location:
|
|
3372
|
+
location: ie
|
|
3336
3373
|
},
|
|
3337
3374
|
err: null
|
|
3338
3375
|
};
|
|
@@ -3380,7 +3417,7 @@ var ai = (
|
|
|
3380
3417
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3381
3418
|
var n = [];
|
|
3382
3419
|
try {
|
|
3383
|
-
n =
|
|
3420
|
+
n = $n(t);
|
|
3384
3421
|
} catch {
|
|
3385
3422
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3386
3423
|
}
|
|
@@ -3389,7 +3426,7 @@ var ai = (
|
|
|
3389
3426
|
type: J.number,
|
|
3390
3427
|
tokens: n,
|
|
3391
3428
|
location: r,
|
|
3392
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3429
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
|
|
3393
3430
|
},
|
|
3394
3431
|
err: null
|
|
3395
3432
|
};
|
|
@@ -3437,7 +3474,7 @@ var ai = (
|
|
|
3437
3474
|
break;
|
|
3438
3475
|
}
|
|
3439
3476
|
var f = _(i, this.clonePosition());
|
|
3440
|
-
return o ? (l *= n,
|
|
3477
|
+
return o ? (l *= n, ii(l) ? { val: l, err: null } : this.error(r, f)) : this.error(t, f);
|
|
3441
3478
|
}, e.prototype.offset = function() {
|
|
3442
3479
|
return this.position.offset;
|
|
3443
3480
|
}, e.prototype.isEOF = function() {
|
|
@@ -3503,46 +3540,47 @@ var ai = (
|
|
|
3503
3540
|
}, e;
|
|
3504
3541
|
}()
|
|
3505
3542
|
);
|
|
3506
|
-
function
|
|
3543
|
+
function et(e) {
|
|
3507
3544
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3508
3545
|
}
|
|
3509
|
-
function li(e) {
|
|
3510
|
-
return Ke(e) || e === 47;
|
|
3511
|
-
}
|
|
3512
3546
|
function ui(e) {
|
|
3547
|
+
return et(e) || e === 47;
|
|
3548
|
+
}
|
|
3549
|
+
function hi(e) {
|
|
3513
3550
|
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;
|
|
3514
3551
|
}
|
|
3515
3552
|
function mr(e) {
|
|
3516
3553
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3517
3554
|
}
|
|
3518
|
-
function
|
|
3555
|
+
function fi(e) {
|
|
3519
3556
|
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;
|
|
3520
3557
|
}
|
|
3521
|
-
function
|
|
3558
|
+
function tt(e) {
|
|
3522
3559
|
e.forEach(function(t) {
|
|
3523
3560
|
if (delete t.location, nr(t) || ir(t))
|
|
3524
3561
|
for (var r in t.options)
|
|
3525
|
-
delete t.options[r].location,
|
|
3526
|
-
else
|
|
3562
|
+
delete t.options[r].location, tt(t.options[r].value);
|
|
3563
|
+
else
|
|
3564
|
+
er(t) && sr(t.style) || (tr(t) || rr(t)) && Je(t.style) ? delete t.style.location : or(t) && tt(t.children);
|
|
3527
3565
|
});
|
|
3528
3566
|
}
|
|
3529
|
-
function
|
|
3567
|
+
function ci(e, t) {
|
|
3530
3568
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3531
|
-
var r = new
|
|
3569
|
+
var r = new li(e, t).parse();
|
|
3532
3570
|
if (r.err) {
|
|
3533
3571
|
var n = SyntaxError(b[r.err.kind]);
|
|
3534
3572
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3535
3573
|
}
|
|
3536
|
-
return t?.captureLocation ||
|
|
3574
|
+
return t?.captureLocation || tt(r.val), r.val;
|
|
3537
3575
|
}
|
|
3538
|
-
var
|
|
3576
|
+
var q;
|
|
3539
3577
|
(function(e) {
|
|
3540
3578
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3541
|
-
})(
|
|
3579
|
+
})(q || (q = {}));
|
|
3542
3580
|
var Fe = (
|
|
3543
3581
|
/** @class */
|
|
3544
3582
|
function(e) {
|
|
3545
|
-
|
|
3583
|
+
M(t, e);
|
|
3546
3584
|
function t(r, n, i) {
|
|
3547
3585
|
var o = e.call(this, r) || this;
|
|
3548
3586
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3554,27 +3592,27 @@ var Fe = (
|
|
|
3554
3592
|
), Ft = (
|
|
3555
3593
|
/** @class */
|
|
3556
3594
|
function(e) {
|
|
3557
|
-
|
|
3595
|
+
M(t, e);
|
|
3558
3596
|
function t(r, n, i, o) {
|
|
3559
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3597
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
|
3560
3598
|
}
|
|
3561
3599
|
return t;
|
|
3562
3600
|
}(Fe)
|
|
3563
|
-
),
|
|
3601
|
+
), mi = (
|
|
3564
3602
|
/** @class */
|
|
3565
3603
|
function(e) {
|
|
3566
|
-
|
|
3604
|
+
M(t, e);
|
|
3567
3605
|
function t(r, n, i) {
|
|
3568
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3606
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3569
3607
|
}
|
|
3570
3608
|
return t;
|
|
3571
3609
|
}(Fe)
|
|
3572
|
-
),
|
|
3610
|
+
), pi = (
|
|
3573
3611
|
/** @class */
|
|
3574
3612
|
function(e) {
|
|
3575
|
-
|
|
3613
|
+
M(t, e);
|
|
3576
3614
|
function t(r, n) {
|
|
3577
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3615
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3578
3616
|
}
|
|
3579
3617
|
return t;
|
|
3580
3618
|
}(Fe)
|
|
@@ -3582,13 +3620,13 @@ var Fe = (
|
|
|
3582
3620
|
(function(e) {
|
|
3583
3621
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3584
3622
|
})(P || (P = {}));
|
|
3585
|
-
function
|
|
3623
|
+
function di(e) {
|
|
3586
3624
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3587
3625
|
var n = t[t.length - 1];
|
|
3588
3626
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3589
3627
|
}, []);
|
|
3590
3628
|
}
|
|
3591
|
-
function
|
|
3629
|
+
function bi(e) {
|
|
3592
3630
|
return typeof e == "function";
|
|
3593
3631
|
}
|
|
3594
3632
|
function Ee(e, t, r, n, i, o, l) {
|
|
@@ -3608,7 +3646,7 @@ function Ee(e, t, r, n, i, o, l) {
|
|
|
3608
3646
|
});
|
|
3609
3647
|
continue;
|
|
3610
3648
|
}
|
|
3611
|
-
if (
|
|
3649
|
+
if (Dn(s)) {
|
|
3612
3650
|
typeof o == "number" && u.push({
|
|
3613
3651
|
type: P.literal,
|
|
3614
3652
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3617,9 +3655,9 @@ function Ee(e, t, r, n, i, o, l) {
|
|
|
3617
3655
|
}
|
|
3618
3656
|
var c = s.value;
|
|
3619
3657
|
if (!(i && c in i))
|
|
3620
|
-
throw new
|
|
3658
|
+
throw new pi(c, l);
|
|
3621
3659
|
var m = i[c];
|
|
3622
|
-
if (
|
|
3660
|
+
if (Mn(s)) {
|
|
3623
3661
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), u.push({
|
|
3624
3662
|
type: typeof m == "string" ? P.literal : P.object,
|
|
3625
3663
|
value: m
|
|
@@ -3627,7 +3665,7 @@ function Ee(e, t, r, n, i, o, l) {
|
|
|
3627
3665
|
continue;
|
|
3628
3666
|
}
|
|
3629
3667
|
if (tr(s)) {
|
|
3630
|
-
var v = typeof s.style == "string" ? n.date[s.style] :
|
|
3668
|
+
var v = typeof s.style == "string" ? n.date[s.style] : Je(s.style) ? s.style.parsedOptions : void 0;
|
|
3631
3669
|
u.push({
|
|
3632
3670
|
type: P.literal,
|
|
3633
3671
|
value: r.getDateTimeFormat(t, v).format(m)
|
|
@@ -3635,7 +3673,7 @@ function Ee(e, t, r, n, i, o, l) {
|
|
|
3635
3673
|
continue;
|
|
3636
3674
|
}
|
|
3637
3675
|
if (rr(s)) {
|
|
3638
|
-
var v = typeof s.style == "string" ? n.time[s.style] :
|
|
3676
|
+
var v = typeof s.style == "string" ? n.time[s.style] : Je(s.style) ? s.style.parsedOptions : n.time.medium;
|
|
3639
3677
|
u.push({
|
|
3640
3678
|
type: P.literal,
|
|
3641
3679
|
value: r.getDateTimeFormat(t, v).format(m)
|
|
@@ -3652,9 +3690,9 @@ function Ee(e, t, r, n, i, o, l) {
|
|
|
3652
3690
|
}
|
|
3653
3691
|
if (or(s)) {
|
|
3654
3692
|
var S = s.children, E = s.value, x = i[E];
|
|
3655
|
-
if (!
|
|
3656
|
-
throw new
|
|
3657
|
-
var
|
|
3693
|
+
if (!bi(x))
|
|
3694
|
+
throw new mi(E, "function", l);
|
|
3695
|
+
var D = Ee(S, t, r, n, i, o), O = x(D.map(function(L) {
|
|
3658
3696
|
return L.value;
|
|
3659
3697
|
}));
|
|
3660
3698
|
Array.isArray(O) || (O = [O]), u.push.apply(u, O.map(function(L) {
|
|
@@ -3665,41 +3703,41 @@ function Ee(e, t, r, n, i, o, l) {
|
|
|
3665
3703
|
}));
|
|
3666
3704
|
}
|
|
3667
3705
|
if (nr(s)) {
|
|
3668
|
-
var
|
|
3669
|
-
if (!
|
|
3706
|
+
var w = s.options[m] || s.options.other;
|
|
3707
|
+
if (!w)
|
|
3670
3708
|
throw new Ft(s.value, m, Object.keys(s.options), l);
|
|
3671
|
-
u.push.apply(u, Ee(
|
|
3709
|
+
u.push.apply(u, Ee(w.value, t, r, n, i));
|
|
3672
3710
|
continue;
|
|
3673
3711
|
}
|
|
3674
3712
|
if (ir(s)) {
|
|
3675
|
-
var
|
|
3676
|
-
if (!
|
|
3713
|
+
var w = s.options["=".concat(m)];
|
|
3714
|
+
if (!w) {
|
|
3677
3715
|
if (!Intl.PluralRules)
|
|
3678
3716
|
throw new Fe(`Intl.PluralRules is not available in this environment.
|
|
3679
3717
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3680
|
-
`,
|
|
3681
|
-
var
|
|
3682
|
-
|
|
3718
|
+
`, q.MISSING_INTL_API, l);
|
|
3719
|
+
var R = r.getPluralRules(t, { type: s.pluralType }).select(m - (s.offset || 0));
|
|
3720
|
+
w = s.options[R] || s.options.other;
|
|
3683
3721
|
}
|
|
3684
|
-
if (!
|
|
3722
|
+
if (!w)
|
|
3685
3723
|
throw new Ft(s.value, m, Object.keys(s.options), l);
|
|
3686
|
-
u.push.apply(u, Ee(
|
|
3724
|
+
u.push.apply(u, Ee(w.value, t, r, n, i, m - (s.offset || 0)));
|
|
3687
3725
|
continue;
|
|
3688
3726
|
}
|
|
3689
3727
|
}
|
|
3690
|
-
return
|
|
3728
|
+
return di(u);
|
|
3691
3729
|
}
|
|
3692
|
-
function
|
|
3730
|
+
function gi(e, t) {
|
|
3693
3731
|
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3694
3732
|
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3695
3733
|
}, {})) : e;
|
|
3696
3734
|
}
|
|
3697
|
-
function
|
|
3735
|
+
function _i(e, t) {
|
|
3698
3736
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3699
|
-
return r[n] =
|
|
3737
|
+
return r[n] = gi(e[n], t[n]), r;
|
|
3700
3738
|
}, y({}, e)) : e;
|
|
3701
3739
|
}
|
|
3702
|
-
function
|
|
3740
|
+
function Ue(e) {
|
|
3703
3741
|
return {
|
|
3704
3742
|
create: function() {
|
|
3705
3743
|
return {
|
|
@@ -3713,39 +3751,39 @@ function Re(e) {
|
|
|
3713
3751
|
}
|
|
3714
3752
|
};
|
|
3715
3753
|
}
|
|
3716
|
-
function
|
|
3754
|
+
function vi(e) {
|
|
3717
3755
|
return e === void 0 && (e = {
|
|
3718
3756
|
number: {},
|
|
3719
3757
|
dateTime: {},
|
|
3720
3758
|
pluralRules: {}
|
|
3721
3759
|
}), {
|
|
3722
|
-
getNumberFormat:
|
|
3760
|
+
getNumberFormat: Me(function() {
|
|
3723
3761
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3724
3762
|
r[n] = arguments[n];
|
|
3725
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3763
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
3726
3764
|
}, {
|
|
3727
|
-
cache:
|
|
3728
|
-
strategy:
|
|
3765
|
+
cache: Ue(e.number),
|
|
3766
|
+
strategy: De.variadic
|
|
3729
3767
|
}),
|
|
3730
|
-
getDateTimeFormat:
|
|
3768
|
+
getDateTimeFormat: Me(function() {
|
|
3731
3769
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3732
3770
|
r[n] = arguments[n];
|
|
3733
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3771
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
3734
3772
|
}, {
|
|
3735
|
-
cache:
|
|
3736
|
-
strategy:
|
|
3773
|
+
cache: Ue(e.dateTime),
|
|
3774
|
+
strategy: De.variadic
|
|
3737
3775
|
}),
|
|
3738
|
-
getPluralRules:
|
|
3776
|
+
getPluralRules: Me(function() {
|
|
3739
3777
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3740
3778
|
r[n] = arguments[n];
|
|
3741
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3779
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
|
|
3742
3780
|
}, {
|
|
3743
|
-
cache:
|
|
3744
|
-
strategy:
|
|
3781
|
+
cache: Ue(e.pluralRules),
|
|
3782
|
+
strategy: De.variadic
|
|
3745
3783
|
})
|
|
3746
3784
|
};
|
|
3747
3785
|
}
|
|
3748
|
-
var
|
|
3786
|
+
var yi = (
|
|
3749
3787
|
/** @class */
|
|
3750
3788
|
function() {
|
|
3751
3789
|
function e(t, r, n, i) {
|
|
@@ -3777,13 +3815,13 @@ var vi = (
|
|
|
3777
3815
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3778
3816
|
var l = i || {};
|
|
3779
3817
|
l.formatters;
|
|
3780
|
-
var u =
|
|
3818
|
+
var u = Yr(l, ["formatters"]);
|
|
3781
3819
|
this.ast = e.__parse(t, y(y({}, u), { locale: this.resolvedLocale }));
|
|
3782
3820
|
} else
|
|
3783
3821
|
this.ast = t;
|
|
3784
3822
|
if (!Array.isArray(this.ast))
|
|
3785
3823
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3786
|
-
this.formats =
|
|
3824
|
+
this.formats = _i(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
|
|
3787
3825
|
}
|
|
3788
3826
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3789
3827
|
get: function() {
|
|
@@ -3796,7 +3834,7 @@ var vi = (
|
|
|
3796
3834
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3797
3835
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3798
3836
|
}
|
|
3799
|
-
}, e.__parse =
|
|
3837
|
+
}, e.__parse = ci, e.formats = {
|
|
3800
3838
|
number: {
|
|
3801
3839
|
integer: {
|
|
3802
3840
|
maximumFractionDigits: 0
|
|
@@ -3857,7 +3895,7 @@ var vi = (
|
|
|
3857
3895
|
}, e;
|
|
3858
3896
|
}()
|
|
3859
3897
|
);
|
|
3860
|
-
function
|
|
3898
|
+
function Ei(e, t) {
|
|
3861
3899
|
if (t == null)
|
|
3862
3900
|
return;
|
|
3863
3901
|
if (t in e)
|
|
@@ -3878,33 +3916,33 @@ function yi(e, t) {
|
|
|
3878
3916
|
n = void 0;
|
|
3879
3917
|
return n;
|
|
3880
3918
|
}
|
|
3881
|
-
const
|
|
3919
|
+
const U = {}, Ii = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), pr = (e, t) => {
|
|
3882
3920
|
if (t == null)
|
|
3883
3921
|
return;
|
|
3884
|
-
if (t in
|
|
3885
|
-
return
|
|
3922
|
+
if (t in U && e in U[t])
|
|
3923
|
+
return U[t][e];
|
|
3886
3924
|
const r = Le(t);
|
|
3887
3925
|
for (let n = 0; n < r.length; n++) {
|
|
3888
|
-
const i = r[n], o =
|
|
3926
|
+
const i = r[n], o = Hi(i, e);
|
|
3889
3927
|
if (o)
|
|
3890
|
-
return
|
|
3928
|
+
return Ii(e, t, o);
|
|
3891
3929
|
}
|
|
3892
3930
|
};
|
|
3893
3931
|
let at;
|
|
3894
3932
|
const fe = Ae({});
|
|
3895
|
-
function
|
|
3933
|
+
function Si(e) {
|
|
3896
3934
|
return at[e] || null;
|
|
3897
3935
|
}
|
|
3898
3936
|
function dr(e) {
|
|
3899
3937
|
return e in at;
|
|
3900
3938
|
}
|
|
3901
|
-
function
|
|
3939
|
+
function Hi(e, t) {
|
|
3902
3940
|
if (!dr(e))
|
|
3903
3941
|
return null;
|
|
3904
|
-
const r =
|
|
3905
|
-
return
|
|
3942
|
+
const r = Si(e);
|
|
3943
|
+
return Ei(r, t);
|
|
3906
3944
|
}
|
|
3907
|
-
function
|
|
3945
|
+
function Ti(e) {
|
|
3908
3946
|
if (e == null)
|
|
3909
3947
|
return;
|
|
3910
3948
|
const t = Le(e);
|
|
@@ -3914,28 +3952,28 @@ function Hi(e) {
|
|
|
3914
3952
|
return n;
|
|
3915
3953
|
}
|
|
3916
3954
|
}
|
|
3917
|
-
function
|
|
3918
|
-
delete
|
|
3955
|
+
function Ai(e, ...t) {
|
|
3956
|
+
delete U[e], fe.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
|
|
3919
3957
|
}
|
|
3920
|
-
|
|
3958
|
+
re(
|
|
3921
3959
|
[fe],
|
|
3922
3960
|
([e]) => Object.keys(e)
|
|
3923
3961
|
);
|
|
3924
3962
|
fe.subscribe((e) => at = e);
|
|
3925
3963
|
const Ie = {};
|
|
3926
|
-
function
|
|
3964
|
+
function Fi(e, t) {
|
|
3927
3965
|
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
|
3928
3966
|
}
|
|
3929
3967
|
function br(e) {
|
|
3930
3968
|
return Ie[e];
|
|
3931
3969
|
}
|
|
3932
|
-
function
|
|
3970
|
+
function Li(e) {
|
|
3933
3971
|
return Le(e).map((t) => {
|
|
3934
3972
|
const r = br(t);
|
|
3935
3973
|
return [t, r ? [...r] : []];
|
|
3936
3974
|
}).filter(([, t]) => t.length > 0);
|
|
3937
3975
|
}
|
|
3938
|
-
function
|
|
3976
|
+
function rt(e) {
|
|
3939
3977
|
return e == null ? !1 : Le(e).some(
|
|
3940
3978
|
(t) => {
|
|
3941
3979
|
var r;
|
|
@@ -3943,27 +3981,27 @@ function tt(e) {
|
|
|
3943
3981
|
}
|
|
3944
3982
|
);
|
|
3945
3983
|
}
|
|
3946
|
-
function
|
|
3984
|
+
function Pi(e, t) {
|
|
3947
3985
|
return Promise.all(
|
|
3948
|
-
t.map((n) => (
|
|
3949
|
-
).then((n) =>
|
|
3986
|
+
t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
|
|
3987
|
+
).then((n) => Ai(e, ...n));
|
|
3950
3988
|
}
|
|
3951
|
-
const
|
|
3989
|
+
const oe = {};
|
|
3952
3990
|
function gr(e) {
|
|
3953
|
-
if (!
|
|
3954
|
-
return e in
|
|
3955
|
-
const t =
|
|
3956
|
-
return
|
|
3991
|
+
if (!rt(e))
|
|
3992
|
+
return e in oe ? oe[e] : Promise.resolve();
|
|
3993
|
+
const t = Li(e);
|
|
3994
|
+
return oe[e] = Promise.all(
|
|
3957
3995
|
t.map(
|
|
3958
|
-
([r, n]) =>
|
|
3996
|
+
([r, n]) => Pi(r, n)
|
|
3959
3997
|
)
|
|
3960
3998
|
).then(() => {
|
|
3961
|
-
if (
|
|
3999
|
+
if (rt(e))
|
|
3962
4000
|
return gr(e);
|
|
3963
|
-
delete
|
|
3964
|
-
}),
|
|
4001
|
+
delete oe[e];
|
|
4002
|
+
}), oe[e];
|
|
3965
4003
|
}
|
|
3966
|
-
const
|
|
4004
|
+
const wi = {
|
|
3967
4005
|
number: {
|
|
3968
4006
|
scientific: { notation: "scientific" },
|
|
3969
4007
|
engineering: { notation: "engineering" },
|
|
@@ -3995,54 +4033,54 @@ const Pi = {
|
|
|
3995
4033
|
}, Bi = {
|
|
3996
4034
|
fallbackLocale: null,
|
|
3997
4035
|
loadingDelay: 200,
|
|
3998
|
-
formats:
|
|
4036
|
+
formats: wi,
|
|
3999
4037
|
warnOnMissingMessages: !0,
|
|
4000
4038
|
handleMissingMessage: void 0,
|
|
4001
4039
|
ignoreTag: !0
|
|
4002
|
-
},
|
|
4003
|
-
function
|
|
4004
|
-
return
|
|
4040
|
+
}, xi = Bi;
|
|
4041
|
+
function Y() {
|
|
4042
|
+
return xi;
|
|
4005
4043
|
}
|
|
4006
|
-
const
|
|
4007
|
-
var
|
|
4044
|
+
const Ge = Ae(!1);
|
|
4045
|
+
var ki = Object.defineProperty, Oi = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
|
|
4008
4046
|
for (var r in t || (t = {}))
|
|
4009
4047
|
Ci.call(t, r) && Pt(e, r, t[r]);
|
|
4010
4048
|
if (Lt)
|
|
4011
4049
|
for (var r of Lt(t))
|
|
4012
|
-
|
|
4050
|
+
Mi.call(t, r) && Pt(e, r, t[r]);
|
|
4013
4051
|
return e;
|
|
4014
|
-
},
|
|
4015
|
-
let
|
|
4052
|
+
}, Ri = (e, t) => Oi(e, Ni(t));
|
|
4053
|
+
let nt;
|
|
4016
4054
|
const Se = Ae(null);
|
|
4017
|
-
function
|
|
4055
|
+
function wt(e) {
|
|
4018
4056
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4019
4057
|
}
|
|
4020
|
-
function Le(e, t =
|
|
4021
|
-
const r =
|
|
4022
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4058
|
+
function Le(e, t = Y().fallbackLocale) {
|
|
4059
|
+
const r = wt(e);
|
|
4060
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
|
|
4023
4061
|
}
|
|
4024
|
-
function
|
|
4025
|
-
return
|
|
4062
|
+
function j() {
|
|
4063
|
+
return nt ?? void 0;
|
|
4026
4064
|
}
|
|
4027
4065
|
Se.subscribe((e) => {
|
|
4028
|
-
|
|
4066
|
+
nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4029
4067
|
});
|
|
4030
|
-
const
|
|
4031
|
-
if (e &&
|
|
4032
|
-
const { loadingDelay: t } =
|
|
4068
|
+
const Ui = (e) => {
|
|
4069
|
+
if (e && Ti(e) && rt(e)) {
|
|
4070
|
+
const { loadingDelay: t } = Y();
|
|
4033
4071
|
let r;
|
|
4034
|
-
return typeof window < "u" &&
|
|
4035
|
-
() =>
|
|
4072
|
+
return typeof window < "u" && j() != null && t ? r = window.setTimeout(
|
|
4073
|
+
() => Ge.set(!0),
|
|
4036
4074
|
t
|
|
4037
|
-
) :
|
|
4075
|
+
) : Ge.set(!0), gr(e).then(() => {
|
|
4038
4076
|
Se.set(e);
|
|
4039
4077
|
}).finally(() => {
|
|
4040
|
-
clearTimeout(r),
|
|
4078
|
+
clearTimeout(r), Ge.set(!1);
|
|
4041
4079
|
});
|
|
4042
4080
|
}
|
|
4043
4081
|
return Se.set(e);
|
|
4044
|
-
}, ce = Di(
|
|
4045
|
-
set:
|
|
4082
|
+
}, ce = Ri(Di({}, Se), {
|
|
4083
|
+
set: Ui
|
|
4046
4084
|
}), Pe = (e) => {
|
|
4047
4085
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4048
4086
|
return (n) => {
|
|
@@ -4050,14 +4088,14 @@ const Ri = (e) => {
|
|
|
4050
4088
|
return i in t ? t[i] : t[i] = e(n);
|
|
4051
4089
|
};
|
|
4052
4090
|
};
|
|
4053
|
-
var
|
|
4091
|
+
var Gi = Object.defineProperty, He = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4054
4092
|
for (var r in t || (t = {}))
|
|
4055
|
-
_r.call(t, r) &&
|
|
4093
|
+
_r.call(t, r) && Bt(e, r, t[r]);
|
|
4056
4094
|
if (He)
|
|
4057
4095
|
for (var r of He(t))
|
|
4058
|
-
vr.call(t, r) &&
|
|
4096
|
+
vr.call(t, r) && Bt(e, r, t[r]);
|
|
4059
4097
|
return e;
|
|
4060
|
-
},
|
|
4098
|
+
}, ne = (e, t) => {
|
|
4061
4099
|
var r = {};
|
|
4062
4100
|
for (var n in e)
|
|
4063
4101
|
_r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -4067,66 +4105,66 @@ var Ui = Object.defineProperty, He = Object.getOwnPropertySymbols, _r = Object.p
|
|
|
4067
4105
|
return r;
|
|
4068
4106
|
};
|
|
4069
4107
|
const ue = (e, t) => {
|
|
4070
|
-
const { formats: r } =
|
|
4108
|
+
const { formats: r } = Y();
|
|
4071
4109
|
if (e in r && t in r[e])
|
|
4072
4110
|
return r[e][t];
|
|
4073
4111
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4074
|
-
},
|
|
4112
|
+
}, $i = Pe(
|
|
4075
4113
|
(e) => {
|
|
4076
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4114
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4077
4115
|
if (r == null)
|
|
4078
4116
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4079
4117
|
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
|
4080
4118
|
}
|
|
4081
|
-
),
|
|
4119
|
+
), ji = Pe(
|
|
4082
4120
|
(e) => {
|
|
4083
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4121
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4084
4122
|
if (r == null)
|
|
4085
4123
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4086
4124
|
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4087
4125
|
}
|
|
4088
|
-
),
|
|
4126
|
+
), Vi = Pe(
|
|
4089
4127
|
(e) => {
|
|
4090
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4128
|
+
var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
|
|
4091
4129
|
if (r == null)
|
|
4092
4130
|
throw new Error(
|
|
4093
4131
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4094
4132
|
);
|
|
4095
4133
|
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4096
4134
|
}
|
|
4097
|
-
),
|
|
4098
|
-
var t = e, {
|
|
4099
|
-
locale: r = V()
|
|
4100
|
-
} = t, n = ie(t, [
|
|
4101
|
-
"locale"
|
|
4102
|
-
]);
|
|
4103
|
-
return Gi(lt({ locale: r }, n));
|
|
4104
|
-
}, Xi = (e = {}) => {
|
|
4135
|
+
), Xi = (e = {}) => {
|
|
4105
4136
|
var t = e, {
|
|
4106
|
-
locale: r =
|
|
4107
|
-
} = t, n =
|
|
4137
|
+
locale: r = j()
|
|
4138
|
+
} = t, n = ne(t, [
|
|
4108
4139
|
"locale"
|
|
4109
4140
|
]);
|
|
4110
4141
|
return $i(lt({ locale: r }, n));
|
|
4111
4142
|
}, Wi = (e = {}) => {
|
|
4112
4143
|
var t = e, {
|
|
4113
|
-
locale: r =
|
|
4114
|
-
} = t, n =
|
|
4144
|
+
locale: r = j()
|
|
4145
|
+
} = t, n = ne(t, [
|
|
4115
4146
|
"locale"
|
|
4116
4147
|
]);
|
|
4117
4148
|
return ji(lt({ locale: r }, n));
|
|
4118
|
-
}, zi =
|
|
4149
|
+
}, zi = (e = {}) => {
|
|
4150
|
+
var t = e, {
|
|
4151
|
+
locale: r = j()
|
|
4152
|
+
} = t, n = ne(t, [
|
|
4153
|
+
"locale"
|
|
4154
|
+
]);
|
|
4155
|
+
return Vi(lt({ locale: r }, n));
|
|
4156
|
+
}, Zi = Pe(
|
|
4119
4157
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4120
|
-
(e, t =
|
|
4121
|
-
ignoreTag:
|
|
4158
|
+
(e, t = j()) => new yi(e, t, Y().formats, {
|
|
4159
|
+
ignoreTag: Y().ignoreTag
|
|
4122
4160
|
})
|
|
4123
|
-
),
|
|
4161
|
+
), Qi = (e, t = {}) => {
|
|
4124
4162
|
var r, n, i, o;
|
|
4125
4163
|
let l = t;
|
|
4126
4164
|
typeof e == "object" && (l = e, e = l.id);
|
|
4127
4165
|
const {
|
|
4128
4166
|
values: u,
|
|
4129
|
-
locale: f =
|
|
4167
|
+
locale: f = j(),
|
|
4130
4168
|
default: a
|
|
4131
4169
|
} = l;
|
|
4132
4170
|
if (f == null)
|
|
@@ -4135,7 +4173,7 @@ const ue = (e, t) => {
|
|
|
4135
4173
|
);
|
|
4136
4174
|
let s = pr(e, f);
|
|
4137
4175
|
if (!s)
|
|
4138
|
-
s = (o = (i = (n = (r =
|
|
4176
|
+
s = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
|
|
4139
4177
|
else if (typeof s != "string")
|
|
4140
4178
|
return console.warn(
|
|
4141
4179
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof s}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4144,7 +4182,7 @@ const ue = (e, t) => {
|
|
|
4144
4182
|
return s;
|
|
4145
4183
|
let c = s;
|
|
4146
4184
|
try {
|
|
4147
|
-
c =
|
|
4185
|
+
c = Zi(s, f).format(u);
|
|
4148
4186
|
} catch (m) {
|
|
4149
4187
|
m instanceof Error && console.warn(
|
|
4150
4188
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4152,44 +4190,73 @@ const ue = (e, t) => {
|
|
|
4152
4190
|
);
|
|
4153
4191
|
}
|
|
4154
4192
|
return c;
|
|
4155
|
-
},
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
window.emWidgets = { topic:
|
|
4162
|
-
const
|
|
4163
|
-
function
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4193
|
+
}, Ji = (e, t) => zi(t).format(e), qi = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = j()) => pr(e, t);
|
|
4194
|
+
re([ce, fe], () => Qi);
|
|
4195
|
+
re([ce], () => Ji);
|
|
4196
|
+
re([ce], () => qi);
|
|
4197
|
+
re([ce], () => Yi);
|
|
4198
|
+
re([ce, fe], () => Ki);
|
|
4199
|
+
window.emWidgets = { topic: mn };
|
|
4200
|
+
const eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4201
|
+
function to(e, t) {
|
|
4202
|
+
if (e) {
|
|
4203
|
+
const r = document.createElement("style");
|
|
4204
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4205
|
+
}
|
|
4206
|
+
}
|
|
4207
|
+
function ro(e, t) {
|
|
4208
|
+
const r = new URL(t);
|
|
4209
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4210
|
+
const i = document.createElement("style");
|
|
4211
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4212
|
+
}).catch((n) => {
|
|
4213
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4214
|
+
});
|
|
4215
|
+
}
|
|
4216
|
+
function no(e, t, r) {
|
|
4217
|
+
if (window.emMessageBus) {
|
|
4218
|
+
const n = document.createElement("style");
|
|
4219
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4220
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4221
|
+
});
|
|
4222
|
+
}
|
|
4223
|
+
}
|
|
4224
|
+
function io(e) {
|
|
4225
|
+
xr(e, "svelte-vuji6b", ":host{font-family:inherit}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emw--color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:var(--emw--footer-typography, var(--emw--color-contrast, #111));font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.FooterItem .FooterImage{min-height:38px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}");
|
|
4226
|
+
}
|
|
4227
|
+
function oo(e) {
|
|
4167
4228
|
let t;
|
|
4168
4229
|
function r(o, l) {
|
|
4169
4230
|
if (
|
|
4170
4231
|
/*sponsorimage*/
|
|
4171
4232
|
o[1]
|
|
4172
|
-
)
|
|
4233
|
+
)
|
|
4234
|
+
return co;
|
|
4173
4235
|
if (
|
|
4174
4236
|
/*paymentimage*/
|
|
4175
4237
|
o[4]
|
|
4176
|
-
)
|
|
4238
|
+
)
|
|
4239
|
+
return fo;
|
|
4177
4240
|
if (
|
|
4178
4241
|
/*vendorimage*/
|
|
4179
4242
|
o[7]
|
|
4180
|
-
)
|
|
4243
|
+
)
|
|
4244
|
+
return ho;
|
|
4181
4245
|
if (
|
|
4182
4246
|
/*helperlinkurl*/
|
|
4183
4247
|
o[9]
|
|
4184
|
-
)
|
|
4248
|
+
)
|
|
4249
|
+
return uo;
|
|
4185
4250
|
if (
|
|
4186
4251
|
/*licenseimage*/
|
|
4187
4252
|
o[13]
|
|
4188
|
-
)
|
|
4253
|
+
)
|
|
4254
|
+
return lo;
|
|
4189
4255
|
if (
|
|
4190
4256
|
/*sociallinkimage*/
|
|
4191
4257
|
o[16]
|
|
4192
|
-
)
|
|
4258
|
+
)
|
|
4259
|
+
return ao;
|
|
4193
4260
|
}
|
|
4194
4261
|
let n = r(e), i = n && n(e);
|
|
4195
4262
|
return {
|
|
@@ -4207,33 +4274,39 @@ function to(e) {
|
|
|
4207
4274
|
}
|
|
4208
4275
|
};
|
|
4209
4276
|
}
|
|
4210
|
-
function
|
|
4277
|
+
function so(e) {
|
|
4211
4278
|
let t;
|
|
4212
4279
|
function r(o, l) {
|
|
4213
4280
|
if (
|
|
4214
4281
|
/*sponsorimage*/
|
|
4215
4282
|
o[1]
|
|
4216
|
-
)
|
|
4283
|
+
)
|
|
4284
|
+
return vo;
|
|
4217
4285
|
if (
|
|
4218
4286
|
/*paymentimage*/
|
|
4219
4287
|
o[4]
|
|
4220
|
-
)
|
|
4288
|
+
)
|
|
4289
|
+
return _o;
|
|
4221
4290
|
if (
|
|
4222
4291
|
/*vendorimage*/
|
|
4223
4292
|
o[7]
|
|
4224
|
-
)
|
|
4293
|
+
)
|
|
4294
|
+
return go;
|
|
4225
4295
|
if (
|
|
4226
4296
|
/*helperlinkurl*/
|
|
4227
4297
|
o[9]
|
|
4228
|
-
)
|
|
4298
|
+
)
|
|
4299
|
+
return bo;
|
|
4229
4300
|
if (
|
|
4230
4301
|
/*licenseimage*/
|
|
4231
4302
|
o[13]
|
|
4232
|
-
)
|
|
4303
|
+
)
|
|
4304
|
+
return po;
|
|
4233
4305
|
if (
|
|
4234
4306
|
/*sociallinkimage*/
|
|
4235
4307
|
o[16]
|
|
4236
|
-
)
|
|
4308
|
+
)
|
|
4309
|
+
return mo;
|
|
4237
4310
|
}
|
|
4238
4311
|
let n = r(e), i = n && n(e);
|
|
4239
4312
|
return {
|
|
@@ -4251,7 +4324,7 @@ function ro(e) {
|
|
|
4251
4324
|
}
|
|
4252
4325
|
};
|
|
4253
4326
|
}
|
|
4254
|
-
function
|
|
4327
|
+
function ao(e) {
|
|
4255
4328
|
let t, r, n, i, o, l, u, f;
|
|
4256
4329
|
return {
|
|
4257
4330
|
c() {
|
|
@@ -4262,11 +4335,11 @@ function no(e) {
|
|
|
4262
4335
|
(e[15] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), h(t, "class", "FooterItem SocialItem"), h(t, "part", "FooterItem SocialItem");
|
|
4263
4336
|
},
|
|
4264
4337
|
m(a, s) {
|
|
4265
|
-
F(a, t, s), g(t, r), g(r, n), u || (f =
|
|
4338
|
+
F(a, t, s), g(t, r), g(r, n), u || (f = ee(
|
|
4266
4339
|
r,
|
|
4267
4340
|
"click",
|
|
4268
4341
|
/*click_handler_5*/
|
|
4269
|
-
e[
|
|
4342
|
+
e[34]
|
|
4270
4343
|
), u = !0);
|
|
4271
4344
|
},
|
|
4272
4345
|
p(a, s) {
|
|
@@ -4284,7 +4357,7 @@ function no(e) {
|
|
|
4284
4357
|
}
|
|
4285
4358
|
};
|
|
4286
4359
|
}
|
|
4287
|
-
function
|
|
4360
|
+
function lo(e) {
|
|
4288
4361
|
let t, r, n, i, o, l, u, f;
|
|
4289
4362
|
return {
|
|
4290
4363
|
c() {
|
|
@@ -4295,11 +4368,11 @@ function io(e) {
|
|
|
4295
4368
|
(e[12] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), h(t, "class", "FooterItem"), h(t, "part", "FooterItem");
|
|
4296
4369
|
},
|
|
4297
4370
|
m(a, s) {
|
|
4298
|
-
F(a, t, s), g(t, r), g(r, n), u || (f =
|
|
4371
|
+
F(a, t, s), g(t, r), g(r, n), u || (f = ee(
|
|
4299
4372
|
r,
|
|
4300
4373
|
"click",
|
|
4301
4374
|
/*click_handler_4*/
|
|
4302
|
-
e[
|
|
4375
|
+
e[33]
|
|
4303
4376
|
), u = !0);
|
|
4304
4377
|
},
|
|
4305
4378
|
p(a, s) {
|
|
@@ -4317,7 +4390,7 @@ function io(e) {
|
|
|
4317
4390
|
}
|
|
4318
4391
|
};
|
|
4319
4392
|
}
|
|
4320
|
-
function
|
|
4393
|
+
function uo(e) {
|
|
4321
4394
|
let t, r, n, i, o, l, u, f = (
|
|
4322
4395
|
/*helperlinkimage*/
|
|
4323
4396
|
e[10] && xt(e)
|
|
@@ -4327,17 +4400,17 @@ function oo(e) {
|
|
|
4327
4400
|
);
|
|
4328
4401
|
return {
|
|
4329
4402
|
c() {
|
|
4330
|
-
t = d("div"), r = d("button"), f && f.c(), n =
|
|
4403
|
+
t = d("div"), r = d("button"), f && f.c(), n = K(), a && a.c(), h(r, "class", i = /*helperlinktitle*/
|
|
4331
4404
|
(e[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
|
|
4332
4405
|
(e[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), h(t, "class", o = "FooterItem HelperLinkItem " + /*displaycolumn*/
|
|
4333
4406
|
(e[20] == "true" ? "DisplayColumn" : "")), h(t, "part", "FooterItem HelperLinkItem");
|
|
4334
4407
|
},
|
|
4335
4408
|
m(s, c) {
|
|
4336
|
-
F(s, t, c), g(t, r), f && f.m(r, null), g(r, n), a && a.m(r, null), l || (u =
|
|
4409
|
+
F(s, t, c), g(t, r), f && f.m(r, null), g(r, n), a && a.m(r, null), l || (u = ee(
|
|
4337
4410
|
r,
|
|
4338
4411
|
"click",
|
|
4339
4412
|
/*click_handler_3*/
|
|
4340
|
-
e[
|
|
4413
|
+
e[32]
|
|
4341
4414
|
), l = !0);
|
|
4342
4415
|
},
|
|
4343
4416
|
p(s, c) {
|
|
@@ -4355,7 +4428,7 @@ function oo(e) {
|
|
|
4355
4428
|
}
|
|
4356
4429
|
};
|
|
4357
4430
|
}
|
|
4358
|
-
function
|
|
4431
|
+
function ho(e) {
|
|
4359
4432
|
let t, r, n, i, o, l, u, f;
|
|
4360
4433
|
return {
|
|
4361
4434
|
c() {
|
|
@@ -4366,11 +4439,11 @@ function so(e) {
|
|
|
4366
4439
|
(e[6] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), h(t, "class", "FooterItem GameVendorItem"), h(t, "part", "FooterItem GameVendorItem");
|
|
4367
4440
|
},
|
|
4368
4441
|
m(a, s) {
|
|
4369
|
-
F(a, t, s), g(t, r), g(r, n), u || (f =
|
|
4442
|
+
F(a, t, s), g(t, r), g(r, n), u || (f = ee(
|
|
4370
4443
|
r,
|
|
4371
4444
|
"click",
|
|
4372
4445
|
/*click_handler_2*/
|
|
4373
|
-
e[
|
|
4446
|
+
e[31]
|
|
4374
4447
|
), u = !0);
|
|
4375
4448
|
},
|
|
4376
4449
|
p(a, s) {
|
|
@@ -4388,14 +4461,14 @@ function so(e) {
|
|
|
4388
4461
|
}
|
|
4389
4462
|
};
|
|
4390
4463
|
}
|
|
4391
|
-
function
|
|
4464
|
+
function fo(e) {
|
|
4392
4465
|
let t, r, n, i, o, l, u, f, a, s = (
|
|
4393
4466
|
/*paymenttitle*/
|
|
4394
4467
|
e[5] && Ot(e)
|
|
4395
4468
|
);
|
|
4396
4469
|
return {
|
|
4397
4470
|
c() {
|
|
4398
|
-
t = d("div"), r = d("button"), n = d("img"), l =
|
|
4471
|
+
t = d("div"), r = d("button"), n = d("img"), l = K(), s && s.c(), h(n, "class", "FooterImage"), h(n, "part", "FooterImage"), A(n.src, i = /*paymentimage*/
|
|
4399
4472
|
e[4]) || h(n, "src", i), h(n, "title", o = /*paymenttitle*/
|
|
4400
4473
|
e[5] || /*paymenturl*/
|
|
4401
4474
|
e[3]), h(r, "class", u = /*paymenttitle*/
|
|
@@ -4403,11 +4476,11 @@ function ao(e) {
|
|
|
4403
4476
|
(e[3] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), h(t, "class", "FooterItem PaymentItem"), h(t, "part", "FooterItem PaymentItem");
|
|
4404
4477
|
},
|
|
4405
4478
|
m(c, m) {
|
|
4406
|
-
F(c, t, m), g(t, r), g(r, n), g(r, l), s && s.m(r, null), f || (a =
|
|
4479
|
+
F(c, t, m), g(t, r), g(r, n), g(r, l), s && s.m(r, null), f || (a = ee(
|
|
4407
4480
|
r,
|
|
4408
4481
|
"click",
|
|
4409
4482
|
/*click_handler_1*/
|
|
4410
|
-
e[
|
|
4483
|
+
e[30]
|
|
4411
4484
|
), f = !0);
|
|
4412
4485
|
},
|
|
4413
4486
|
p(c, m) {
|
|
@@ -4427,14 +4500,14 @@ function ao(e) {
|
|
|
4427
4500
|
}
|
|
4428
4501
|
};
|
|
4429
4502
|
}
|
|
4430
|
-
function
|
|
4503
|
+
function co(e) {
|
|
4431
4504
|
let t, r, n, i, o, l, u, f, a, s = (
|
|
4432
4505
|
/*sponsortitle*/
|
|
4433
|
-
e[2] &&
|
|
4506
|
+
e[2] && Nt(e)
|
|
4434
4507
|
);
|
|
4435
4508
|
return {
|
|
4436
4509
|
c() {
|
|
4437
|
-
t = d("div"), r = d("button"), n = d("img"), l =
|
|
4510
|
+
t = d("div"), r = d("button"), n = d("img"), l = K(), s && s.c(), h(n, "class", "FooterImage"), h(n, "part", "FooterImage"), A(n.src, i = /*sponsorimage*/
|
|
4438
4511
|
e[1]) || h(n, "src", i), h(n, "title", o = /*sponsortitle*/
|
|
4439
4512
|
e[2] || /*sponsorurl*/
|
|
4440
4513
|
e[0]), h(r, "class", u = /*sponsortitle*/
|
|
@@ -4442,11 +4515,11 @@ function lo(e) {
|
|
|
4442
4515
|
(e[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), h(t, "class", "FooterItem SponsorItem"), h(t, "part", "FooterItem SponsorItem");
|
|
4443
4516
|
},
|
|
4444
4517
|
m(c, m) {
|
|
4445
|
-
F(c, t, m), g(t, r), g(r, n), g(r, l), s && s.m(r, null), f || (a =
|
|
4518
|
+
F(c, t, m), g(t, r), g(r, n), g(r, l), s && s.m(r, null), f || (a = ee(
|
|
4446
4519
|
r,
|
|
4447
4520
|
"click",
|
|
4448
4521
|
/*click_handler*/
|
|
4449
|
-
e[
|
|
4522
|
+
e[29]
|
|
4450
4523
|
), f = !0);
|
|
4451
4524
|
},
|
|
4452
4525
|
p(c, m) {
|
|
@@ -4456,7 +4529,7 @@ function lo(e) {
|
|
|
4456
4529
|
5 && o !== (o = /*sponsortitle*/
|
|
4457
4530
|
c[2] || /*sponsorurl*/
|
|
4458
4531
|
c[0]) && h(n, "title", o), /*sponsortitle*/
|
|
4459
|
-
c[2] ? s ? s.p(c, m) : (s =
|
|
4532
|
+
c[2] ? s ? s.p(c, m) : (s = Nt(c), s.c(), s.m(r, null)) : s && (s.d(1), s = null), m[0] & /*sponsortitle, sponsorurl*/
|
|
4460
4533
|
5 && u !== (u = /*sponsortitle*/
|
|
4461
4534
|
(c[2] ? "FooterSponsorLink" : "") + " " + /*sponsorurl*/
|
|
4462
4535
|
(c[0] ? "" : "FooterLinkDisabled") + " FooterItemAnchor") && h(r, "class", u);
|
|
@@ -4495,7 +4568,7 @@ function kt(e) {
|
|
|
4495
4568
|
let t, r;
|
|
4496
4569
|
return {
|
|
4497
4570
|
c() {
|
|
4498
|
-
t = d("p"), r =
|
|
4571
|
+
t = d("p"), r = G(
|
|
4499
4572
|
/*helperlinktitle*/
|
|
4500
4573
|
e[11]
|
|
4501
4574
|
), h(t, "class", "HelperTitle"), h(t, "part", "HelperTitle");
|
|
@@ -4505,7 +4578,7 @@ function kt(e) {
|
|
|
4505
4578
|
},
|
|
4506
4579
|
p(n, i) {
|
|
4507
4580
|
i[0] & /*helperlinktitle*/
|
|
4508
|
-
2048 &&
|
|
4581
|
+
2048 && te(
|
|
4509
4582
|
r,
|
|
4510
4583
|
/*helperlinktitle*/
|
|
4511
4584
|
n[11]
|
|
@@ -4520,7 +4593,7 @@ function Ot(e) {
|
|
|
4520
4593
|
let t, r;
|
|
4521
4594
|
return {
|
|
4522
4595
|
c() {
|
|
4523
|
-
t = d("p"), r =
|
|
4596
|
+
t = d("p"), r = G(
|
|
4524
4597
|
/*paymenttitle*/
|
|
4525
4598
|
e[5]
|
|
4526
4599
|
), h(t, "class", "PaymentTitle"), h(t, "part", "PaymentTitle");
|
|
@@ -4530,7 +4603,7 @@ function Ot(e) {
|
|
|
4530
4603
|
},
|
|
4531
4604
|
p(n, i) {
|
|
4532
4605
|
i[0] & /*paymenttitle*/
|
|
4533
|
-
32 &&
|
|
4606
|
+
32 && te(
|
|
4534
4607
|
r,
|
|
4535
4608
|
/*paymenttitle*/
|
|
4536
4609
|
n[5]
|
|
@@ -4541,11 +4614,11 @@ function Ot(e) {
|
|
|
4541
4614
|
}
|
|
4542
4615
|
};
|
|
4543
4616
|
}
|
|
4544
|
-
function
|
|
4617
|
+
function Nt(e) {
|
|
4545
4618
|
let t, r;
|
|
4546
4619
|
return {
|
|
4547
4620
|
c() {
|
|
4548
|
-
t = d("p"), r =
|
|
4621
|
+
t = d("p"), r = G(
|
|
4549
4622
|
/*sponsortitle*/
|
|
4550
4623
|
e[2]
|
|
4551
4624
|
), h(t, "class", "SponsorTitle"), h(t, "part", "SponsorTitle");
|
|
@@ -4555,7 +4628,7 @@ function Ct(e) {
|
|
|
4555
4628
|
},
|
|
4556
4629
|
p(n, i) {
|
|
4557
4630
|
i[0] & /*sponsortitle*/
|
|
4558
|
-
4 &&
|
|
4631
|
+
4 && te(
|
|
4559
4632
|
r,
|
|
4560
4633
|
/*sponsortitle*/
|
|
4561
4634
|
n[2]
|
|
@@ -4566,7 +4639,7 @@ function Ct(e) {
|
|
|
4566
4639
|
}
|
|
4567
4640
|
};
|
|
4568
4641
|
}
|
|
4569
|
-
function
|
|
4642
|
+
function mo(e) {
|
|
4570
4643
|
let t, r, n, i, o, l, u, f;
|
|
4571
4644
|
return {
|
|
4572
4645
|
c() {
|
|
@@ -4627,7 +4700,7 @@ function uo(e) {
|
|
|
4627
4700
|
}
|
|
4628
4701
|
};
|
|
4629
4702
|
}
|
|
4630
|
-
function
|
|
4703
|
+
function po(e) {
|
|
4631
4704
|
let t, r, n, i, o, l, u, f;
|
|
4632
4705
|
return {
|
|
4633
4706
|
c() {
|
|
@@ -4688,17 +4761,17 @@ function ho(e) {
|
|
|
4688
4761
|
}
|
|
4689
4762
|
};
|
|
4690
4763
|
}
|
|
4691
|
-
function
|
|
4764
|
+
function bo(e) {
|
|
4692
4765
|
let t, r, n, i, o, l, u, f = (
|
|
4693
4766
|
/*helperlinkimage*/
|
|
4694
|
-
e[10] &&
|
|
4767
|
+
e[10] && Ct(e)
|
|
4695
4768
|
), a = (
|
|
4696
4769
|
/*helperlinktitle*/
|
|
4697
4770
|
e[11] && Mt(e)
|
|
4698
4771
|
);
|
|
4699
4772
|
return {
|
|
4700
4773
|
c() {
|
|
4701
|
-
t = d("div"), r = d("a"), f && f.c(), n =
|
|
4774
|
+
t = d("div"), r = d("a"), f && f.c(), n = K(), a && a.c(), h(r, "class", i = /*helperlinktitle*/
|
|
4702
4775
|
(e[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
|
|
4703
4776
|
(e[9] ? "" : "FooterLinkDisabled") + " FooterItemAnchor"), h(r, "part", o = /*helperlinktitle*/
|
|
4704
4777
|
(e[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
|
|
@@ -4724,7 +4797,7 @@ function fo(e) {
|
|
|
4724
4797
|
},
|
|
4725
4798
|
p(s, c) {
|
|
4726
4799
|
/*helperlinkimage*/
|
|
4727
|
-
s[10] ? f ? f.p(s, c) : (f =
|
|
4800
|
+
s[10] ? f ? f.p(s, c) : (f = Ct(s), f.c(), f.m(r, n)) : f && (f.d(1), f = null), /*helperlinktitle*/
|
|
4728
4801
|
s[11] ? a ? a.p(s, c) : (a = Mt(s), a.c(), a.m(r, null)) : a && (a.d(1), a = null), c[0] & /*helperlinktitle, helperlinkurl*/
|
|
4729
4802
|
2560 && i !== (i = /*helperlinktitle*/
|
|
4730
4803
|
(s[11] ? "FooterHelperLink" : "") + " " + /*helperlinkurl*/
|
|
@@ -4756,7 +4829,7 @@ function fo(e) {
|
|
|
4756
4829
|
}
|
|
4757
4830
|
};
|
|
4758
4831
|
}
|
|
4759
|
-
function
|
|
4832
|
+
function go(e) {
|
|
4760
4833
|
let t, r, n, i, o, l, u, f;
|
|
4761
4834
|
return {
|
|
4762
4835
|
c() {
|
|
@@ -4817,14 +4890,14 @@ function co(e) {
|
|
|
4817
4890
|
}
|
|
4818
4891
|
};
|
|
4819
4892
|
}
|
|
4820
|
-
function
|
|
4893
|
+
function _o(e) {
|
|
4821
4894
|
let t, r, n, i, o, l, u, f, a, s = (
|
|
4822
4895
|
/*paymenttitle*/
|
|
4823
4896
|
e[5] && Dt(e)
|
|
4824
4897
|
);
|
|
4825
4898
|
return {
|
|
4826
4899
|
c() {
|
|
4827
|
-
t = d("div"), r = d("a"), n = d("img"), l =
|
|
4900
|
+
t = d("div"), r = d("a"), n = d("img"), l = K(), s && s.c(), h(n, "class", "FooterImage"), h(n, "part", "FooterImage"), A(n.src, i = /*paymentimage*/
|
|
4828
4901
|
e[4]) || h(n, "src", i), h(n, "title", o = /*paymenttitle*/
|
|
4829
4902
|
e[5] || /*paymenturl*/
|
|
4830
4903
|
e[3]), h(r, "class", u = /*paymenttitle*/
|
|
@@ -4886,14 +4959,14 @@ function mo(e) {
|
|
|
4886
4959
|
}
|
|
4887
4960
|
};
|
|
4888
4961
|
}
|
|
4889
|
-
function
|
|
4962
|
+
function vo(e) {
|
|
4890
4963
|
let t, r, n, i, o, l, u, f, a, s = (
|
|
4891
4964
|
/*sponsortitle*/
|
|
4892
4965
|
e[2] && Rt(e)
|
|
4893
4966
|
);
|
|
4894
4967
|
return {
|
|
4895
4968
|
c() {
|
|
4896
|
-
t = d("div"), r = d("a"), n = d("img"), l =
|
|
4969
|
+
t = d("div"), r = d("a"), n = d("img"), l = K(), s && s.c(), h(n, "class", "FooterImage"), h(n, "part", "FooterImage"), A(n.src, i = /*sponsorimage*/
|
|
4897
4970
|
e[1]) || h(n, "src", i), h(n, "title", o = /*sponsortitle*/
|
|
4898
4971
|
e[2] || /*sponsorurl*/
|
|
4899
4972
|
e[0]), h(r, "class", u = /*sponsortitle*/
|
|
@@ -4955,7 +5028,7 @@ function po(e) {
|
|
|
4955
5028
|
}
|
|
4956
5029
|
};
|
|
4957
5030
|
}
|
|
4958
|
-
function
|
|
5031
|
+
function Ct(e) {
|
|
4959
5032
|
let t, r, n;
|
|
4960
5033
|
return {
|
|
4961
5034
|
c() {
|
|
@@ -4984,7 +5057,7 @@ function Mt(e) {
|
|
|
4984
5057
|
let t, r;
|
|
4985
5058
|
return {
|
|
4986
5059
|
c() {
|
|
4987
|
-
t = d("p"), r =
|
|
5060
|
+
t = d("p"), r = G(
|
|
4988
5061
|
/*helperlinktitle*/
|
|
4989
5062
|
e[11]
|
|
4990
5063
|
), h(t, "class", "HelperTitle"), h(t, "part", "HelperTitle");
|
|
@@ -4994,7 +5067,7 @@ function Mt(e) {
|
|
|
4994
5067
|
},
|
|
4995
5068
|
p(n, i) {
|
|
4996
5069
|
i[0] & /*helperlinktitle*/
|
|
4997
|
-
2048 &&
|
|
5070
|
+
2048 && te(
|
|
4998
5071
|
r,
|
|
4999
5072
|
/*helperlinktitle*/
|
|
5000
5073
|
n[11]
|
|
@@ -5009,7 +5082,7 @@ function Dt(e) {
|
|
|
5009
5082
|
let t, r;
|
|
5010
5083
|
return {
|
|
5011
5084
|
c() {
|
|
5012
|
-
t = d("p"), r =
|
|
5085
|
+
t = d("p"), r = G(
|
|
5013
5086
|
/*paymenttitle*/
|
|
5014
5087
|
e[5]
|
|
5015
5088
|
), h(t, "class", "PaymentTitle"), h(t, "part", "PaymentTitle");
|
|
@@ -5019,7 +5092,7 @@ function Dt(e) {
|
|
|
5019
5092
|
},
|
|
5020
5093
|
p(n, i) {
|
|
5021
5094
|
i[0] & /*paymenttitle*/
|
|
5022
|
-
32 &&
|
|
5095
|
+
32 && te(
|
|
5023
5096
|
r,
|
|
5024
5097
|
/*paymenttitle*/
|
|
5025
5098
|
n[5]
|
|
@@ -5034,7 +5107,7 @@ function Rt(e) {
|
|
|
5034
5107
|
let t, r;
|
|
5035
5108
|
return {
|
|
5036
5109
|
c() {
|
|
5037
|
-
t = d("p"), r =
|
|
5110
|
+
t = d("p"), r = G(
|
|
5038
5111
|
/*sponsortitle*/
|
|
5039
5112
|
e[2]
|
|
5040
5113
|
), h(t, "class", "SponsorTitle"), h(t, "part", "SponsorTitle");
|
|
@@ -5044,7 +5117,7 @@ function Rt(e) {
|
|
|
5044
5117
|
},
|
|
5045
5118
|
p(n, i) {
|
|
5046
5119
|
i[0] & /*sponsortitle*/
|
|
5047
|
-
4 &&
|
|
5120
|
+
4 && te(
|
|
5048
5121
|
r,
|
|
5049
5122
|
/*sponsortitle*/
|
|
5050
5123
|
n[2]
|
|
@@ -5055,12 +5128,12 @@ function Rt(e) {
|
|
|
5055
5128
|
}
|
|
5056
5129
|
};
|
|
5057
5130
|
}
|
|
5058
|
-
function
|
|
5131
|
+
function yo(e) {
|
|
5059
5132
|
let t;
|
|
5060
5133
|
function r(o, l) {
|
|
5061
5134
|
return (
|
|
5062
5135
|
/*device*/
|
|
5063
|
-
o[24] == "PC" ?
|
|
5136
|
+
o[24] == "PC" ? so : oo
|
|
5064
5137
|
);
|
|
5065
5138
|
}
|
|
5066
5139
|
let i = r(e)(e);
|
|
@@ -5069,7 +5142,7 @@ function bo(e) {
|
|
|
5069
5142
|
t = d("div"), i.c(), h(t, "class", "ThumbnailContainer"), h(t, "part", "ThumbnailContainer");
|
|
5070
5143
|
},
|
|
5071
5144
|
m(o, l) {
|
|
5072
|
-
F(o, t, l), i.m(t, null), e[
|
|
5145
|
+
F(o, t, l), i.m(t, null), e[35](t);
|
|
5073
5146
|
},
|
|
5074
5147
|
p(o, l) {
|
|
5075
5148
|
i.p(o, l);
|
|
@@ -5077,62 +5150,53 @@ function bo(e) {
|
|
|
5077
5150
|
i: k,
|
|
5078
5151
|
o: k,
|
|
5079
5152
|
d(o) {
|
|
5080
|
-
o && H(t), i.d(), e[
|
|
5153
|
+
o && H(t), i.d(), e[35](null);
|
|
5081
5154
|
}
|
|
5082
5155
|
};
|
|
5083
5156
|
}
|
|
5084
|
-
function
|
|
5085
|
-
let { sponsorurl: n = "" } = t, { sponsorimage: i = "" } = t, { sponsortitle: o = "" } = t, { paymenturl: l = "" } = t, { paymentimage: u = "" } = t, { paymenttitle: f = "" } = t, { vendorurl: a = "" } = t, { vendorimage: s = "" } = t, { vendortitle: c = "" } = t, { helperlinkurl: m = "" } = t, { helperlinkimage: v = "" } = t, { helperlinktitle: S = "" } = t, { licenseurl: E = "" } = t, { licenseimage: x = "" } = t, { licensetitle:
|
|
5086
|
-
const
|
|
5087
|
-
|
|
5088
|
-
p.innerHTML = me, G.appendChild(p);
|
|
5089
|
-
}, Sr = () => {
|
|
5090
|
-
let p = new URL(pe), de = document.createElement("style");
|
|
5091
|
-
fetch(p.href).then((j) => j.text()).then((j) => {
|
|
5092
|
-
de.innerHTML = j, setTimeout(
|
|
5093
|
-
() => {
|
|
5094
|
-
G.appendChild(de);
|
|
5095
|
-
},
|
|
5096
|
-
1
|
|
5097
|
-
);
|
|
5098
|
-
});
|
|
5099
|
-
}, $ = (p, de, j) => {
|
|
5100
|
-
const xe = de, ut = xe ? p : Be + `/${we}/` + p;
|
|
5157
|
+
function Eo(e, t, r) {
|
|
5158
|
+
let { sponsorurl: n = "" } = t, { sponsorimage: i = "" } = t, { sponsortitle: o = "" } = t, { paymenturl: l = "" } = t, { paymentimage: u = "" } = t, { paymenttitle: f = "" } = t, { vendorurl: a = "" } = t, { vendorimage: s = "" } = t, { vendortitle: c = "" } = t, { helperlinkurl: m = "" } = t, { helperlinkimage: v = "" } = t, { helperlinktitle: S = "" } = t, { licenseurl: E = "" } = t, { licenseimage: x = "" } = t, { licensetitle: D = "" } = t, { sociallinkurl: O = "" } = t, { sociallinkimage: w = "" } = t, { sociallinktitle: R = "" } = t, { target: L = "_self" } = t, { linktype: B = "false" } = t, { displaycolumn: ie = "" } = t, { baseurl: we = "" } = t, { lang: Be = "" } = t, { mbsource: me } = t, { clientstyling: pe = "" } = t, { clientstylingurl: de = "" } = t, N, yr = window.navigator.userAgent, Er = eo(yr);
|
|
5159
|
+
const $ = (p, Pr, xe) => {
|
|
5160
|
+
const ke = Pr, ut = ke ? p : we + `/${Be}/` + p;
|
|
5101
5161
|
window.postMessage(
|
|
5102
5162
|
{
|
|
5103
5163
|
type: "NavigateTo",
|
|
5104
5164
|
path: p,
|
|
5105
|
-
target:
|
|
5106
|
-
externalLink:
|
|
5165
|
+
target: xe || null,
|
|
5166
|
+
externalLink: ke || !1
|
|
5107
5167
|
},
|
|
5108
5168
|
window.location.href
|
|
5109
|
-
),
|
|
5169
|
+
), ke ? window.postMessage(
|
|
5110
5170
|
{
|
|
5111
5171
|
type: "ExternalLinkNavigation",
|
|
5112
5172
|
externalUrl: ut,
|
|
5113
|
-
target:
|
|
5173
|
+
target: xe
|
|
5114
5174
|
},
|
|
5115
5175
|
window.location.href
|
|
5116
5176
|
) : window.postMessage(
|
|
5117
5177
|
{
|
|
5118
5178
|
type: "LinkNavigation",
|
|
5119
5179
|
navUrl: ut,
|
|
5120
|
-
target:
|
|
5180
|
+
target: xe
|
|
5121
5181
|
},
|
|
5122
5182
|
window.location.href
|
|
5123
5183
|
);
|
|
5124
|
-
}
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5184
|
+
};
|
|
5185
|
+
Dr(() => () => {
|
|
5186
|
+
});
|
|
5187
|
+
const Ir = () => $(n, B, L), Sr = () => $(l, B, L), Hr = () => $(a, B, L), Tr = () => $(m, B, L), Ar = () => $(E, B, L), Fr = () => $(O, B, L);
|
|
5188
|
+
function Lr(p) {
|
|
5189
|
+
$e[p ? "unshift" : "push"](() => {
|
|
5190
|
+
N = p, r(23, N);
|
|
5128
5191
|
});
|
|
5129
5192
|
}
|
|
5130
5193
|
return e.$$set = (p) => {
|
|
5131
|
-
"sponsorurl" in p && r(0, n = p.sponsorurl), "sponsorimage" in p && r(1, i = p.sponsorimage), "sponsortitle" in p && r(2, o = p.sponsortitle), "paymenturl" in p && r(3, l = p.paymenturl), "paymentimage" in p && r(4, u = p.paymentimage), "paymenttitle" in p && r(5, f = p.paymenttitle), "vendorurl" in p && r(6, a = p.vendorurl), "vendorimage" in p && r(7, s = p.vendorimage), "vendortitle" in p && r(8, c = p.vendortitle), "helperlinkurl" in p && r(9, m = p.helperlinkurl), "helperlinkimage" in p && r(10, v = p.helperlinkimage), "helperlinktitle" in p && r(11, S = p.helperlinktitle), "licenseurl" in p && r(12, E = p.licenseurl), "licenseimage" in p && r(13, x = p.licenseimage), "licensetitle" in p && r(14,
|
|
5194
|
+
"sponsorurl" in p && r(0, n = p.sponsorurl), "sponsorimage" in p && r(1, i = p.sponsorimage), "sponsortitle" in p && r(2, o = p.sponsortitle), "paymenturl" in p && r(3, l = p.paymenturl), "paymentimage" in p && r(4, u = p.paymentimage), "paymenttitle" in p && r(5, f = p.paymenttitle), "vendorurl" in p && r(6, a = p.vendorurl), "vendorimage" in p && r(7, s = p.vendorimage), "vendortitle" in p && r(8, c = p.vendortitle), "helperlinkurl" in p && r(9, m = p.helperlinkurl), "helperlinkimage" in p && r(10, v = p.helperlinkimage), "helperlinktitle" in p && r(11, S = p.helperlinktitle), "licenseurl" in p && r(12, E = p.licenseurl), "licenseimage" in p && r(13, x = p.licenseimage), "licensetitle" in p && r(14, D = p.licensetitle), "sociallinkurl" in p && r(15, O = p.sociallinkurl), "sociallinkimage" in p && r(16, w = p.sociallinkimage), "sociallinktitle" in p && r(17, R = p.sociallinktitle), "target" in p && r(18, L = p.target), "linktype" in p && r(19, B = p.linktype), "displaycolumn" in p && r(20, ie = p.displaycolumn), "baseurl" in p && r(21, we = p.baseurl), "lang" in p && r(22, Be = p.lang), "mbsource" in p && r(26, me = p.mbsource), "clientstyling" in p && r(27, pe = p.clientstyling), "clientstylingurl" in p && r(28, de = p.clientstylingurl);
|
|
5132
5195
|
}, e.$$.update = () => {
|
|
5133
5196
|
e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5134
|
-
|
|
5135
|
-
|
|
5197
|
+
142606336 && pe && N && to(N, pe), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5198
|
+
276824064 && de && N && ro(N, de), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5199
|
+
75497472 && me && N && no(N, `${me}.Style`);
|
|
5136
5200
|
}, [
|
|
5137
5201
|
n,
|
|
5138
5202
|
i,
|
|
@@ -5148,36 +5212,37 @@ function go(e, t, r) {
|
|
|
5148
5212
|
S,
|
|
5149
5213
|
E,
|
|
5150
5214
|
x,
|
|
5151
|
-
M,
|
|
5152
|
-
O,
|
|
5153
|
-
B,
|
|
5154
5215
|
D,
|
|
5155
|
-
|
|
5216
|
+
O,
|
|
5156
5217
|
w,
|
|
5157
|
-
|
|
5158
|
-
|
|
5218
|
+
R,
|
|
5219
|
+
L,
|
|
5220
|
+
B,
|
|
5221
|
+
ie,
|
|
5159
5222
|
we,
|
|
5160
|
-
|
|
5223
|
+
Be,
|
|
5224
|
+
N,
|
|
5161
5225
|
Er,
|
|
5162
5226
|
$,
|
|
5163
5227
|
me,
|
|
5164
5228
|
pe,
|
|
5229
|
+
de,
|
|
5230
|
+
Ir,
|
|
5231
|
+
Sr,
|
|
5165
5232
|
Hr,
|
|
5166
5233
|
Tr,
|
|
5167
5234
|
Ar,
|
|
5168
5235
|
Fr,
|
|
5169
|
-
Lr
|
|
5170
|
-
Pr,
|
|
5171
|
-
Br
|
|
5236
|
+
Lr
|
|
5172
5237
|
];
|
|
5173
5238
|
}
|
|
5174
|
-
class
|
|
5239
|
+
class Io extends Jr {
|
|
5175
5240
|
constructor(t) {
|
|
5176
|
-
super(),
|
|
5241
|
+
super(), Zr(
|
|
5177
5242
|
this,
|
|
5178
5243
|
t,
|
|
5179
|
-
|
|
5180
|
-
|
|
5244
|
+
Eo,
|
|
5245
|
+
yo,
|
|
5181
5246
|
Gt,
|
|
5182
5247
|
{
|
|
5183
5248
|
sponsorurl: 0,
|
|
@@ -5203,10 +5268,11 @@ class _o extends Qr {
|
|
|
5203
5268
|
displaycolumn: 20,
|
|
5204
5269
|
baseurl: 21,
|
|
5205
5270
|
lang: 22,
|
|
5206
|
-
|
|
5207
|
-
|
|
5271
|
+
mbsource: 26,
|
|
5272
|
+
clientstyling: 27,
|
|
5273
|
+
clientstylingurl: 28
|
|
5208
5274
|
},
|
|
5209
|
-
|
|
5275
|
+
io,
|
|
5210
5276
|
[-1, -1]
|
|
5211
5277
|
);
|
|
5212
5278
|
}
|
|
@@ -5348,20 +5414,26 @@ class _o extends Qr {
|
|
|
5348
5414
|
set lang(t) {
|
|
5349
5415
|
this.$$set({ lang: t }), I();
|
|
5350
5416
|
}
|
|
5351
|
-
get
|
|
5417
|
+
get mbsource() {
|
|
5352
5418
|
return this.$$.ctx[26];
|
|
5353
5419
|
}
|
|
5420
|
+
set mbsource(t) {
|
|
5421
|
+
this.$$set({ mbsource: t }), I();
|
|
5422
|
+
}
|
|
5423
|
+
get clientstyling() {
|
|
5424
|
+
return this.$$.ctx[27];
|
|
5425
|
+
}
|
|
5354
5426
|
set clientstyling(t) {
|
|
5355
5427
|
this.$$set({ clientstyling: t }), I();
|
|
5356
5428
|
}
|
|
5357
5429
|
get clientstylingurl() {
|
|
5358
|
-
return this.$$.ctx[
|
|
5430
|
+
return this.$$.ctx[28];
|
|
5359
5431
|
}
|
|
5360
5432
|
set clientstylingurl(t) {
|
|
5361
5433
|
this.$$set({ clientstylingurl: t }), I();
|
|
5362
5434
|
}
|
|
5363
5435
|
}
|
|
5364
|
-
|
|
5436
|
+
Qr(Io, { sponsorurl: {}, sponsorimage: {}, sponsortitle: {}, paymenturl: {}, paymentimage: {}, paymenttitle: {}, vendorurl: {}, vendorimage: {}, vendortitle: {}, helperlinkurl: {}, helperlinkimage: {}, helperlinktitle: {}, licenseurl: {}, licenseimage: {}, licensetitle: {}, sociallinkurl: {}, sociallinkimage: {}, sociallinktitle: {}, target: {}, linktype: {}, displaycolumn: {}, baseurl: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
5365
5437
|
export {
|
|
5366
|
-
|
|
5438
|
+
Io as C
|
|
5367
5439
|
};
|