@everymatrix/casino-slider 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoSlider-B-cj6kHc.js → CasinoSlider-C0VZprDT.js} +462 -464
- package/components/CasinoSlider-DLUyCug0.cjs +3 -0
- package/components/{CasinoSlider-72roLlp-.js → CasinoSlider-swPJ54x1.js} +437 -439
- package/es2015/casino-slider.cjs +1 -1
- package/es2015/casino-slider.js +1 -1
- package/esnext/casino-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-jhyv7bwo.cjs +0 -3
@@ -1,28 +1,28 @@
|
|
1
1
|
function U() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Ft(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function lt() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
9
|
function Q(e) {
|
10
|
-
e.forEach(
|
10
|
+
e.forEach(Ft);
|
11
11
|
}
|
12
12
|
function et(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function Rt(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
18
|
let xe;
|
19
|
-
function
|
19
|
+
function ut(e, t) {
|
20
20
|
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
21
21
|
}
|
22
|
-
function
|
22
|
+
function Hr(e) {
|
23
23
|
return Object.keys(e).length === 0;
|
24
24
|
}
|
25
|
-
function
|
25
|
+
function Sr(e, ...t) {
|
26
26
|
if (e == null) {
|
27
27
|
for (const n of t)
|
28
28
|
n(void 0);
|
@@ -34,14 +34,14 @@ function Ar(e, ...t) {
|
|
34
34
|
function B(e, t) {
|
35
35
|
e.appendChild(t);
|
36
36
|
}
|
37
|
-
function
|
38
|
-
const n =
|
37
|
+
function Tr(e, t, r) {
|
38
|
+
const n = Ar(e);
|
39
39
|
if (!n.getElementById(t)) {
|
40
40
|
const i = I("style");
|
41
|
-
i.id = t, i.textContent = r,
|
41
|
+
i.id = t, i.textContent = r, Br(n, i);
|
42
42
|
}
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function Ar(e) {
|
45
45
|
if (!e) return document;
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
47
47
|
return t && /** @type {ShadowRoot} */
|
@@ -50,7 +50,7 @@ function Ir(e) {
|
|
50
50
|
t
|
51
51
|
) : e.ownerDocument;
|
52
52
|
}
|
53
|
-
function
|
53
|
+
function Br(e, t) {
|
54
54
|
return B(
|
55
55
|
/** @type {Document} */
|
56
56
|
e.head || e,
|
@@ -63,7 +63,7 @@ function D(e, t, r) {
|
|
63
63
|
function O(e) {
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
65
65
|
}
|
66
|
-
function
|
66
|
+
function Ir(e, t) {
|
67
67
|
for (let r = 0; r < e.length; r += 1)
|
68
68
|
e[r] && e[r].d(t);
|
69
69
|
}
|
@@ -82,17 +82,17 @@ function me() {
|
|
82
82
|
function Te(e, t, r, n) {
|
83
83
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
84
84
|
}
|
85
|
-
function
|
85
|
+
function S(e, t, r) {
|
86
86
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
87
87
|
}
|
88
|
-
function
|
88
|
+
function Mr(e) {
|
89
89
|
return Array.from(e.childNodes);
|
90
90
|
}
|
91
91
|
function tt(e, t) {
|
92
92
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
93
93
|
t);
|
94
94
|
}
|
95
|
-
function
|
95
|
+
function Nr(e) {
|
96
96
|
const t = {};
|
97
97
|
return e.childNodes.forEach(
|
98
98
|
/** @param {Element} node */
|
@@ -105,19 +105,19 @@ let de;
|
|
105
105
|
function ce(e) {
|
106
106
|
de = e;
|
107
107
|
}
|
108
|
-
function
|
108
|
+
function Pr() {
|
109
109
|
if (!de) throw new Error("Function called outside component initialization");
|
110
110
|
return de;
|
111
111
|
}
|
112
|
-
function
|
113
|
-
|
112
|
+
function Lr(e) {
|
113
|
+
Pr().$$.on_mount.push(e);
|
114
114
|
}
|
115
115
|
const K = [], fe = [];
|
116
116
|
let ee = [];
|
117
|
-
const
|
117
|
+
const ht = [], Or = /* @__PURE__ */ Promise.resolve();
|
118
118
|
let je = !1;
|
119
|
-
function
|
120
|
-
je || (je = !0,
|
119
|
+
function Fr() {
|
120
|
+
je || (je = !0, Or.then(A));
|
121
121
|
}
|
122
122
|
function Ve(e) {
|
123
123
|
ee.push(e);
|
@@ -132,7 +132,7 @@ function A() {
|
|
132
132
|
try {
|
133
133
|
for (; J < K.length; ) {
|
134
134
|
const t = K[J];
|
135
|
-
J++, ce(t),
|
135
|
+
J++, ce(t), Rr(t.$$);
|
136
136
|
}
|
137
137
|
} catch (t) {
|
138
138
|
throw K.length = 0, J = 0, t;
|
@@ -144,44 +144,44 @@ function A() {
|
|
144
144
|
}
|
145
145
|
ee.length = 0;
|
146
146
|
} while (K.length);
|
147
|
-
for (;
|
148
|
-
|
147
|
+
for (; ht.length; )
|
148
|
+
ht.pop()();
|
149
149
|
je = !1, Fe.clear(), ce(e);
|
150
150
|
}
|
151
|
-
function
|
151
|
+
function Rr(e) {
|
152
152
|
if (e.fragment !== null) {
|
153
153
|
e.update(), Q(e.before_update);
|
154
154
|
const t = e.dirty;
|
155
155
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
|
156
156
|
}
|
157
157
|
}
|
158
|
-
function
|
158
|
+
function Dr(e) {
|
159
159
|
const t = [], r = [];
|
160
160
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
161
161
|
}
|
162
|
-
const
|
163
|
-
function
|
164
|
-
e && e.i && (
|
162
|
+
const Ur = /* @__PURE__ */ new Set();
|
163
|
+
function Dt(e, t) {
|
164
|
+
e && e.i && (Ur.delete(e), e.i(t));
|
165
165
|
}
|
166
166
|
function te(e) {
|
167
167
|
return e?.length !== void 0 ? e : Array.from(e);
|
168
168
|
}
|
169
|
-
function
|
169
|
+
function Ut(e, t) {
|
170
170
|
e.d(1), t.delete(e.key);
|
171
171
|
}
|
172
|
-
function
|
172
|
+
function Gt(e, t, r, n, i, s, o, a, h, l, u, m) {
|
173
173
|
let f = e.length, p = s.length, g = f;
|
174
174
|
const b = {};
|
175
175
|
for (; g--; ) b[e[g].key] = g;
|
176
|
-
const d = [], w = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(),
|
176
|
+
const d = [], w = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), H = [];
|
177
177
|
for (g = p; g--; ) {
|
178
178
|
const C = m(i, s, g), M = r(C);
|
179
179
|
let N = o.get(M);
|
180
|
-
N ?
|
180
|
+
N ? H.push(() => N.p(C, t)) : (N = l(M, C), N.c()), w.set(M, d[g] = N), M in b && E.set(M, Math.abs(g - b[M]));
|
181
181
|
}
|
182
182
|
const F = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
|
183
183
|
function G(C) {
|
184
|
-
|
184
|
+
Dt(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
|
185
185
|
}
|
186
186
|
for (; f && p; ) {
|
187
187
|
const C = d[p - 1], M = e[f - 1], N = C.key, j = M.key;
|
@@ -192,23 +192,23 @@ function $t(e, t, r, n, i, s, o, a, h, l, u, m) {
|
|
192
192
|
w.has(C.key) || h(C, o);
|
193
193
|
}
|
194
194
|
for (; p; ) G(d[p - 1]);
|
195
|
-
return Q(
|
195
|
+
return Q(H), d;
|
196
196
|
}
|
197
|
-
function
|
197
|
+
function Gr(e, t, r) {
|
198
198
|
const { fragment: n, after_update: i } = e.$$;
|
199
199
|
n && n.m(t, r), Ve(() => {
|
200
|
-
const s = e.$$.on_mount.map(
|
200
|
+
const s = e.$$.on_mount.map(Ft).filter(et);
|
201
201
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Q(s), e.$$.on_mount = [];
|
202
202
|
}), i.forEach(Ve);
|
203
203
|
}
|
204
|
-
function
|
204
|
+
function kr(e, t) {
|
205
205
|
const r = e.$$;
|
206
|
-
r.fragment !== null && (
|
206
|
+
r.fragment !== null && (Dr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
207
207
|
}
|
208
|
-
function
|
209
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
208
|
+
function $r(e, t) {
|
209
|
+
e.$$.dirty[0] === -1 && (K.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
210
210
|
}
|
211
|
-
function
|
211
|
+
function jr(e, t, r, n, i, s, o = null, a = [-1]) {
|
212
212
|
const h = de;
|
213
213
|
ce(e);
|
214
214
|
const l = e.$$ = {
|
@@ -218,7 +218,7 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
218
218
|
props: s,
|
219
219
|
update: U,
|
220
220
|
not_equal: i,
|
221
|
-
bound:
|
221
|
+
bound: lt(),
|
222
222
|
// lifecycle
|
223
223
|
on_mount: [],
|
224
224
|
on_destroy: [],
|
@@ -227,7 +227,7 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
227
227
|
after_update: [],
|
228
228
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
229
229
|
// everything else
|
230
|
-
callbacks:
|
230
|
+
callbacks: lt(),
|
231
231
|
dirty: a,
|
232
232
|
skip_bound: !1,
|
233
233
|
root: t.target || h.$$.root
|
@@ -236,19 +236,19 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
236
236
|
let u = !1;
|
237
237
|
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
238
238
|
const g = p.length ? p[0] : f;
|
239
|
-
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u &&
|
239
|
+
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && $r(e, m)), f;
|
240
240
|
}) : [], l.update(), u = !0, Q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
241
241
|
if (t.hydrate) {
|
242
|
-
const m =
|
242
|
+
const m = Mr(t.target);
|
243
243
|
l.fragment && l.fragment.l(m), m.forEach(O);
|
244
244
|
} else
|
245
245
|
l.fragment && l.fragment.c();
|
246
|
-
t.intro &&
|
246
|
+
t.intro && Dt(e.$$.fragment), Gr(e, t.target, t.anchor), A();
|
247
247
|
}
|
248
248
|
ce(h);
|
249
249
|
}
|
250
|
-
let
|
251
|
-
typeof HTMLElement == "function" && (
|
250
|
+
let kt;
|
251
|
+
typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
252
252
|
/** The Svelte component constructor */
|
253
253
|
$$ctor;
|
254
254
|
/** Slots */
|
@@ -290,7 +290,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
290
290
|
let s;
|
291
291
|
return {
|
292
292
|
c: function() {
|
293
|
-
s = I("slot"), i !== "default" &&
|
293
|
+
s = I("slot"), i !== "default" && S(s, "name", i);
|
294
294
|
},
|
295
295
|
/**
|
296
296
|
* @param {HTMLElement} target
|
@@ -307,7 +307,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
307
307
|
};
|
308
308
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
309
309
|
return;
|
310
|
-
const t = {}, r =
|
310
|
+
const t = {}, r = Nr(this);
|
311
311
|
for (const i of this.$$s)
|
312
312
|
i in r && (t[i] = [e(i)]);
|
313
313
|
for (const i of this.attributes) {
|
@@ -394,8 +394,8 @@ function we(e, t, r, n) {
|
|
394
394
|
return t;
|
395
395
|
}
|
396
396
|
}
|
397
|
-
function
|
398
|
-
let o = class extends
|
397
|
+
function Vr(e, t, r, n, i, s) {
|
398
|
+
let o = class extends kt {
|
399
399
|
constructor() {
|
400
400
|
super(e, r, i), this.$$p_d = t;
|
401
401
|
}
|
@@ -423,7 +423,7 @@ function Wr(e, t, r, n, i, s) {
|
|
423
423
|
}), e.element = /** @type {any} */
|
424
424
|
o, o;
|
425
425
|
}
|
426
|
-
class
|
426
|
+
class Xr {
|
427
427
|
/**
|
428
428
|
* ### PRIVATE API
|
429
429
|
*
|
@@ -442,7 +442,7 @@ class zr {
|
|
442
442
|
$$set = void 0;
|
443
443
|
/** @returns {void} */
|
444
444
|
$destroy() {
|
445
|
-
|
445
|
+
kr(this, 1), this.$destroy = U;
|
446
446
|
}
|
447
447
|
/**
|
448
448
|
* @template {Extract<keyof Events, string>} K
|
@@ -464,18 +464,18 @@ class zr {
|
|
464
464
|
* @returns {void}
|
465
465
|
*/
|
466
466
|
$set(t) {
|
467
|
-
this.$$set && !
|
467
|
+
this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
468
468
|
}
|
469
469
|
}
|
470
|
-
const
|
471
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
472
|
-
function
|
470
|
+
const Wr = "4";
|
471
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
|
472
|
+
function zr(e, t) {
|
473
473
|
if (e) {
|
474
474
|
const r = document.createElement("style");
|
475
475
|
r.innerHTML = t, e.appendChild(r);
|
476
476
|
}
|
477
477
|
}
|
478
|
-
function
|
478
|
+
function Zr(e, t) {
|
479
479
|
const r = new URL(t);
|
480
480
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
481
481
|
const i = document.createElement("style");
|
@@ -484,7 +484,7 @@ function qr(e, t) {
|
|
484
484
|
console.error("There was an error while trying to load client styling from URL", n);
|
485
485
|
});
|
486
486
|
}
|
487
|
-
function
|
487
|
+
function Qr(e, t, r) {
|
488
488
|
if (window.emMessageBus) {
|
489
489
|
const n = document.createElement("style");
|
490
490
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -493,7 +493,7 @@ function Jr(e, t, r) {
|
|
493
493
|
}
|
494
494
|
}
|
495
495
|
const Y = [];
|
496
|
-
function
|
496
|
+
function qr(e, t) {
|
497
497
|
return {
|
498
498
|
subscribe: Ie(e, t).subscribe
|
499
499
|
};
|
@@ -502,7 +502,7 @@ function Ie(e, t = U) {
|
|
502
502
|
let r;
|
503
503
|
const n = /* @__PURE__ */ new Set();
|
504
504
|
function i(a) {
|
505
|
-
if (
|
505
|
+
if (Rt(e, a) && (e = a, r)) {
|
506
506
|
const h = !Y.length;
|
507
507
|
for (const l of n)
|
508
508
|
l[1](), Y.push(l, e);
|
@@ -529,7 +529,7 @@ function se(e, t, r) {
|
|
529
529
|
if (!i.every(Boolean))
|
530
530
|
throw new Error("derived() expects stores as input, got a falsy value");
|
531
531
|
const s = t.length < 2;
|
532
|
-
return
|
532
|
+
return qr(r, (o, a) => {
|
533
533
|
let h = !1;
|
534
534
|
const l = [];
|
535
535
|
let u = 0, m = U;
|
@@ -540,7 +540,7 @@ function se(e, t, r) {
|
|
540
540
|
const g = t(n ? l[0] : l, o, a);
|
541
541
|
s ? o(g) : m = et(g) ? g : U;
|
542
542
|
}, p = i.map(
|
543
|
-
(g, b) =>
|
543
|
+
(g, b) => Sr(
|
544
544
|
g,
|
545
545
|
(d) => {
|
546
546
|
l[b] = d, u &= ~(1 << b), h && f();
|
@@ -555,70 +555,70 @@ function se(e, t, r) {
|
|
555
555
|
};
|
556
556
|
});
|
557
557
|
}
|
558
|
-
function
|
558
|
+
function Jr(e) {
|
559
559
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
560
560
|
}
|
561
|
-
var
|
562
|
-
return
|
561
|
+
var Yr = function(t) {
|
562
|
+
return Kr(t) && !en(t);
|
563
563
|
};
|
564
|
-
function
|
564
|
+
function Kr(e) {
|
565
565
|
return !!e && typeof e == "object";
|
566
566
|
}
|
567
|
-
function
|
567
|
+
function en(e) {
|
568
568
|
var t = Object.prototype.toString.call(e);
|
569
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
569
|
+
return t === "[object RegExp]" || t === "[object Date]" || nn(e);
|
570
570
|
}
|
571
|
-
var
|
572
|
-
function
|
573
|
-
return e.$$typeof ===
|
571
|
+
var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
|
572
|
+
function nn(e) {
|
573
|
+
return e.$$typeof === rn;
|
574
574
|
}
|
575
|
-
function
|
575
|
+
function on(e) {
|
576
576
|
return Array.isArray(e) ? [] : {};
|
577
577
|
}
|
578
578
|
function pe(e, t) {
|
579
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
579
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(on(e), e, t) : e;
|
580
580
|
}
|
581
|
-
function
|
581
|
+
function sn(e, t, r) {
|
582
582
|
return e.concat(t).map(function(n) {
|
583
583
|
return pe(n, r);
|
584
584
|
});
|
585
585
|
}
|
586
|
-
function
|
586
|
+
function an(e, t) {
|
587
587
|
if (!t.customMerge)
|
588
588
|
return re;
|
589
589
|
var r = t.customMerge(e);
|
590
590
|
return typeof r == "function" ? r : re;
|
591
591
|
}
|
592
|
-
function
|
592
|
+
function ln(e) {
|
593
593
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
594
594
|
return Object.propertyIsEnumerable.call(e, t);
|
595
595
|
}) : [];
|
596
596
|
}
|
597
|
-
function
|
598
|
-
return Object.keys(e).concat(
|
597
|
+
function ct(e) {
|
598
|
+
return Object.keys(e).concat(ln(e));
|
599
599
|
}
|
600
|
-
function
|
600
|
+
function $t(e, t) {
|
601
601
|
try {
|
602
602
|
return t in e;
|
603
603
|
} catch {
|
604
604
|
return !1;
|
605
605
|
}
|
606
606
|
}
|
607
|
-
function
|
608
|
-
return
|
607
|
+
function un(e, t) {
|
608
|
+
return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
609
609
|
}
|
610
|
-
function
|
610
|
+
function hn(e, t, r) {
|
611
611
|
var n = {};
|
612
|
-
return r.isMergeableObject(e) &&
|
612
|
+
return r.isMergeableObject(e) && ct(e).forEach(function(i) {
|
613
613
|
n[i] = pe(e[i], r);
|
614
|
-
}),
|
615
|
-
|
614
|
+
}), ct(t).forEach(function(i) {
|
615
|
+
un(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
616
616
|
}), n;
|
617
617
|
}
|
618
618
|
function re(e, t, r) {
|
619
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
619
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = pe;
|
620
620
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
621
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
621
|
+
return s ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : pe(t, r);
|
622
622
|
}
|
623
623
|
re.all = function(t, r) {
|
624
624
|
if (!Array.isArray(t))
|
@@ -627,8 +627,8 @@ re.all = function(t, r) {
|
|
627
627
|
return re(n, i, r);
|
628
628
|
}, {});
|
629
629
|
};
|
630
|
-
var
|
631
|
-
const
|
630
|
+
var cn = re, fn = cn;
|
631
|
+
const mn = /* @__PURE__ */ Jr(fn);
|
632
632
|
var Xe = function(e, t) {
|
633
633
|
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
634
634
|
r.__proto__ = n;
|
@@ -654,7 +654,7 @@ var _ = function() {
|
|
654
654
|
return t;
|
655
655
|
}, _.apply(this, arguments);
|
656
656
|
};
|
657
|
-
function
|
657
|
+
function dn(e, t) {
|
658
658
|
var r = {};
|
659
659
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
660
660
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -668,55 +668,53 @@ function Re(e, t, r) {
|
|
668
668
|
return e.concat(s || Array.prototype.slice.call(t));
|
669
669
|
}
|
670
670
|
function De(e, t) {
|
671
|
-
var r = t && t.cache ? t.cache :
|
671
|
+
var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : bn;
|
672
672
|
return i(e, {
|
673
673
|
cache: r,
|
674
674
|
serializer: n
|
675
675
|
});
|
676
676
|
}
|
677
|
-
function
|
677
|
+
function pn(e) {
|
678
678
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
679
679
|
}
|
680
|
-
function
|
681
|
-
var i =
|
680
|
+
function gn(e, t, r, n) {
|
681
|
+
var i = pn(n) ? n : r(n), s = t.get(i);
|
682
682
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
683
683
|
}
|
684
|
-
function
|
684
|
+
function jt(e, t, r) {
|
685
685
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
686
686
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
687
687
|
}
|
688
|
-
function
|
688
|
+
function Vt(e, t, r, n, i) {
|
689
689
|
return r.bind(t, e, n, i);
|
690
690
|
}
|
691
|
-
function
|
692
|
-
var r = e.length === 1 ?
|
693
|
-
return
|
694
|
-
}
|
695
|
-
function vn(e, t) {
|
696
|
-
return rt(e, this, Wt, t.cache.create(), t.serializer);
|
691
|
+
function bn(e, t) {
|
692
|
+
var r = e.length === 1 ? gn : jt;
|
693
|
+
return Vt(e, this, r, t.cache.create(), t.serializer);
|
697
694
|
}
|
698
|
-
function
|
699
|
-
return
|
695
|
+
function yn(e, t) {
|
696
|
+
return Vt(e, this, jt, t.cache.create(), t.serializer);
|
700
697
|
}
|
701
|
-
var
|
698
|
+
var vn = function() {
|
702
699
|
return JSON.stringify(arguments);
|
703
|
-
}
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
700
|
+
}, _n = (
|
701
|
+
/** @class */
|
702
|
+
function() {
|
703
|
+
function e() {
|
704
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
705
|
+
}
|
706
|
+
return e.prototype.get = function(t) {
|
707
|
+
return this.cache[t];
|
708
|
+
}, e.prototype.set = function(t, r) {
|
709
|
+
this.cache[t] = r;
|
710
|
+
}, e;
|
711
|
+
}()
|
712
|
+
), En = {
|
714
713
|
create: function() {
|
715
|
-
return new
|
714
|
+
return new _n();
|
716
715
|
}
|
717
716
|
}, Ue = {
|
718
|
-
variadic:
|
719
|
-
monadic: _n
|
717
|
+
variadic: yn
|
720
718
|
}, y;
|
721
719
|
(function(e) {
|
722
720
|
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";
|
@@ -729,43 +727,43 @@ var ne;
|
|
729
727
|
(function(e) {
|
730
728
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
731
729
|
})(ne || (ne = {}));
|
732
|
-
function
|
730
|
+
function ft(e) {
|
733
731
|
return e.type === T.literal;
|
734
732
|
}
|
735
|
-
function
|
733
|
+
function xn(e) {
|
736
734
|
return e.type === T.argument;
|
737
735
|
}
|
738
|
-
function
|
736
|
+
function Xt(e) {
|
739
737
|
return e.type === T.number;
|
740
738
|
}
|
741
|
-
function
|
739
|
+
function Wt(e) {
|
742
740
|
return e.type === T.date;
|
743
741
|
}
|
744
|
-
function
|
742
|
+
function zt(e) {
|
745
743
|
return e.type === T.time;
|
746
744
|
}
|
747
|
-
function
|
745
|
+
function Zt(e) {
|
748
746
|
return e.type === T.select;
|
749
747
|
}
|
750
|
-
function
|
748
|
+
function Qt(e) {
|
751
749
|
return e.type === T.plural;
|
752
750
|
}
|
753
|
-
function
|
751
|
+
function Cn(e) {
|
754
752
|
return e.type === T.pound;
|
755
753
|
}
|
756
|
-
function
|
754
|
+
function qt(e) {
|
757
755
|
return e.type === T.tag;
|
758
756
|
}
|
759
|
-
function
|
757
|
+
function Jt(e) {
|
760
758
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
761
759
|
}
|
762
760
|
function We(e) {
|
763
761
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
764
762
|
}
|
765
|
-
var
|
766
|
-
function
|
763
|
+
var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
|
764
|
+
function Hn(e) {
|
767
765
|
var t = {};
|
768
|
-
return e.replace(
|
766
|
+
return e.replace(wn, function(r) {
|
769
767
|
var n = r.length;
|
770
768
|
switch (r[0]) {
|
771
769
|
case "G":
|
@@ -854,11 +852,11 @@ function Sn(e) {
|
|
854
852
|
return "";
|
855
853
|
}), t;
|
856
854
|
}
|
857
|
-
var
|
858
|
-
function
|
855
|
+
var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
856
|
+
function Tn(e) {
|
859
857
|
if (e.length === 0)
|
860
858
|
throw new Error("Number skeleton cannot be empty");
|
861
|
-
for (var t = e.split(
|
859
|
+
for (var t = e.split(Sn).filter(function(f) {
|
862
860
|
return f.length > 0;
|
863
861
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
864
862
|
var s = i[n], o = s.split("/");
|
@@ -873,17 +871,17 @@ function An(e) {
|
|
873
871
|
}
|
874
872
|
return r;
|
875
873
|
}
|
876
|
-
function
|
874
|
+
function An(e) {
|
877
875
|
return e.replace(/^(.*?)-/, "");
|
878
876
|
}
|
879
|
-
var
|
880
|
-
function
|
877
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
|
878
|
+
function dt(e) {
|
881
879
|
var t = {};
|
882
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
880
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
|
883
881
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
884
882
|
}), t;
|
885
883
|
}
|
886
|
-
function
|
884
|
+
function tr(e) {
|
887
885
|
switch (e) {
|
888
886
|
case "sign-auto":
|
889
887
|
return {
|
@@ -923,7 +921,7 @@ function nr(e) {
|
|
923
921
|
};
|
924
922
|
}
|
925
923
|
}
|
926
|
-
function
|
924
|
+
function In(e) {
|
927
925
|
var t;
|
928
926
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
929
927
|
notation: "engineering"
|
@@ -931,17 +929,17 @@ function Mn(e) {
|
|
931
929
|
notation: "scientific"
|
932
930
|
}, e = e.slice(1)), t) {
|
933
931
|
var r = e.slice(0, 2);
|
934
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
932
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
|
935
933
|
throw new Error("Malformed concise eng/scientific notation");
|
936
934
|
t.minimumIntegerDigits = e.length;
|
937
935
|
}
|
938
936
|
return t;
|
939
937
|
}
|
940
|
-
function
|
941
|
-
var t = {}, r =
|
938
|
+
function pt(e) {
|
939
|
+
var t = {}, r = tr(e);
|
942
940
|
return r || t;
|
943
941
|
}
|
944
|
-
function
|
942
|
+
function Mn(e) {
|
945
943
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
946
944
|
var i = n[r];
|
947
945
|
switch (i.stem) {
|
@@ -965,7 +963,7 @@ function Nn(e) {
|
|
965
963
|
continue;
|
966
964
|
case "measure-unit":
|
967
965
|
case "unit":
|
968
|
-
t.style = "unit", t.unit =
|
966
|
+
t.style = "unit", t.unit = An(i.options[0]);
|
969
967
|
continue;
|
970
968
|
case "compact-short":
|
971
969
|
case "K":
|
@@ -977,12 +975,12 @@ function Nn(e) {
|
|
977
975
|
continue;
|
978
976
|
case "scientific":
|
979
977
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
980
|
-
return _(_({}, h),
|
978
|
+
return _(_({}, h), pt(l));
|
981
979
|
}, {}));
|
982
980
|
continue;
|
983
981
|
case "engineering":
|
984
982
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
985
|
-
return _(_({}, h),
|
983
|
+
return _(_({}, h), pt(l));
|
986
984
|
}, {}));
|
987
985
|
continue;
|
988
986
|
case "notation-simple":
|
@@ -1027,7 +1025,7 @@ function Nn(e) {
|
|
1027
1025
|
case "integer-width":
|
1028
1026
|
if (i.options.length > 1)
|
1029
1027
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1030
|
-
i.options[0].replace(
|
1028
|
+
i.options[0].replace(Bn, function(h, l, u, m, f, p) {
|
1031
1029
|
if (l)
|
1032
1030
|
t.minimumIntegerDigits = u.length;
|
1033
1031
|
else {
|
@@ -1040,27 +1038,27 @@ function Nn(e) {
|
|
1040
1038
|
});
|
1041
1039
|
continue;
|
1042
1040
|
}
|
1043
|
-
if (
|
1041
|
+
if (er.test(i.stem)) {
|
1044
1042
|
t.minimumIntegerDigits = i.stem.length;
|
1045
1043
|
continue;
|
1046
1044
|
}
|
1047
|
-
if (
|
1045
|
+
if (mt.test(i.stem)) {
|
1048
1046
|
if (i.options.length > 1)
|
1049
1047
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1050
|
-
i.stem.replace(
|
1048
|
+
i.stem.replace(mt, function(h, l, u, m, f, p) {
|
1051
1049
|
return u === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1052
1050
|
});
|
1053
1051
|
var s = i.options[0];
|
1054
|
-
s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t),
|
1052
|
+
s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), dt(s)));
|
1055
1053
|
continue;
|
1056
1054
|
}
|
1057
|
-
if (
|
1058
|
-
t = _(_({}, t),
|
1055
|
+
if (Kt.test(i.stem)) {
|
1056
|
+
t = _(_({}, t), dt(i.stem));
|
1059
1057
|
continue;
|
1060
1058
|
}
|
1061
|
-
var o =
|
1059
|
+
var o = tr(i.stem);
|
1062
1060
|
o && (t = _(_({}, t), o));
|
1063
|
-
var a =
|
1061
|
+
var a = In(i.stem);
|
1064
1062
|
a && (t = _(_({}, t), a));
|
1065
1063
|
}
|
1066
1064
|
return t;
|
@@ -2480,13 +2478,13 @@ var Ce = {
|
|
2480
2478
|
"h"
|
2481
2479
|
]
|
2482
2480
|
};
|
2483
|
-
function
|
2481
|
+
function Nn(e, t) {
|
2484
2482
|
for (var r = "", n = 0; n < e.length; n++) {
|
2485
2483
|
var i = e.charAt(n);
|
2486
2484
|
if (i === "j") {
|
2487
2485
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2488
2486
|
s++, n++;
|
2489
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l =
|
2487
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = Pn(t);
|
2490
2488
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2491
2489
|
r += h;
|
2492
2490
|
for (; o-- > 0; )
|
@@ -2495,7 +2493,7 @@ function Pn(e, t) {
|
|
2495
2493
|
}
|
2496
2494
|
return r;
|
2497
2495
|
}
|
2498
|
-
function
|
2496
|
+
function Pn(e) {
|
2499
2497
|
var t = e.hourCycle;
|
2500
2498
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2501
2499
|
e.hourCycles && // @ts-ignore
|
@@ -2517,20 +2515,20 @@ function Ln(e) {
|
|
2517
2515
|
var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
|
2518
2516
|
return i[0];
|
2519
2517
|
}
|
2520
|
-
var Ge,
|
2518
|
+
var Ge, Ln = new RegExp("^".concat(Yt.source, "*")), On = new RegExp("".concat(Yt.source, "*$"));
|
2521
2519
|
function v(e, t) {
|
2522
2520
|
return { start: e, end: t };
|
2523
2521
|
}
|
2524
|
-
var
|
2522
|
+
var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Dn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, jn = $n ? Number.isSafeInteger : function(e) {
|
2525
2523
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2526
2524
|
}, ze = !0;
|
2527
2525
|
try {
|
2528
|
-
var
|
2529
|
-
ze = ((Ge =
|
2526
|
+
var Vn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2527
|
+
ze = ((Ge = Vn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
2530
2528
|
} catch {
|
2531
2529
|
ze = !1;
|
2532
2530
|
}
|
2533
|
-
var
|
2531
|
+
var gt = Fn ? (
|
2534
2532
|
// Native
|
2535
2533
|
function(t, r, n) {
|
2536
2534
|
return t.startsWith(r, n);
|
@@ -2540,7 +2538,7 @@ var yt = Rn ? (
|
|
2540
2538
|
function(t, r, n) {
|
2541
2539
|
return t.slice(n, n + r.length) === r;
|
2542
2540
|
}
|
2543
|
-
), Ze =
|
2541
|
+
), Ze = Rn ? String.fromCodePoint : (
|
2544
2542
|
// IE11
|
2545
2543
|
function() {
|
2546
2544
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2552,9 +2550,9 @@ var yt = Rn ? (
|
|
2552
2550
|
}
|
2553
2551
|
return n;
|
2554
2552
|
}
|
2555
|
-
),
|
2553
|
+
), bt = (
|
2556
2554
|
// native
|
2557
|
-
|
2555
|
+
Dn ? Object.fromEntries : (
|
2558
2556
|
// Ponyfill
|
2559
2557
|
function(t) {
|
2560
2558
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2564,7 +2562,7 @@ var yt = Rn ? (
|
|
2564
2562
|
return r;
|
2565
2563
|
}
|
2566
2564
|
)
|
2567
|
-
),
|
2565
|
+
), rr = Un ? (
|
2568
2566
|
// Native
|
2569
2567
|
function(t, r) {
|
2570
2568
|
return t.codePointAt(r);
|
@@ -2578,7 +2576,7 @@ var yt = Rn ? (
|
|
2578
2576
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2579
2577
|
}
|
2580
2578
|
}
|
2581
|
-
),
|
2579
|
+
), Xn = Gn ? (
|
2582
2580
|
// Native
|
2583
2581
|
function(t) {
|
2584
2582
|
return t.trimStart();
|
@@ -2586,9 +2584,9 @@ var yt = Rn ? (
|
|
2586
2584
|
) : (
|
2587
2585
|
// Ponyfill
|
2588
2586
|
function(t) {
|
2589
|
-
return t.replace(
|
2587
|
+
return t.replace(Ln, "");
|
2590
2588
|
}
|
2591
|
-
),
|
2589
|
+
), Wn = kn ? (
|
2592
2590
|
// Native
|
2593
2591
|
function(t) {
|
2594
2592
|
return t.trimEnd();
|
@@ -2596,32 +2594,32 @@ var yt = Rn ? (
|
|
2596
2594
|
) : (
|
2597
2595
|
// Ponyfill
|
2598
2596
|
function(t) {
|
2599
|
-
return t.replace(
|
2597
|
+
return t.replace(On, "");
|
2600
2598
|
}
|
2601
2599
|
);
|
2602
|
-
function
|
2600
|
+
function nr(e, t) {
|
2603
2601
|
return new RegExp(e, t);
|
2604
2602
|
}
|
2605
2603
|
var Qe;
|
2606
2604
|
if (ze) {
|
2607
|
-
var
|
2605
|
+
var yt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2608
2606
|
Qe = function(t, r) {
|
2609
2607
|
var n;
|
2610
|
-
|
2611
|
-
var i =
|
2608
|
+
yt.lastIndex = r;
|
2609
|
+
var i = yt.exec(t);
|
2612
2610
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2613
2611
|
};
|
2614
2612
|
} else
|
2615
2613
|
Qe = function(t, r) {
|
2616
2614
|
for (var n = []; ; ) {
|
2617
|
-
var i =
|
2618
|
-
if (i === void 0 ||
|
2615
|
+
var i = rr(t, r);
|
2616
|
+
if (i === void 0 || ir(i) || qn(i))
|
2619
2617
|
break;
|
2620
2618
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2621
2619
|
}
|
2622
2620
|
return Ze.apply(void 0, n);
|
2623
2621
|
};
|
2624
|
-
var
|
2622
|
+
var zn = (
|
2625
2623
|
/** @class */
|
2626
2624
|
function() {
|
2627
2625
|
function e(t, r) {
|
@@ -2703,7 +2701,7 @@ var Zn = (
|
|
2703
2701
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2704
2702
|
}, e.prototype.parseTagName = function() {
|
2705
2703
|
var t = this.offset();
|
2706
|
-
for (this.bump(); !this.isEOF() &&
|
2704
|
+
for (this.bump(); !this.isEOF() && Qn(this.char()); )
|
2707
2705
|
this.bump();
|
2708
2706
|
return this.message.slice(t, this.offset());
|
2709
2707
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2732,7 +2730,7 @@ var Zn = (
|
|
2732
2730
|
};
|
2733
2731
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2734
2732
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2735
|
-
!
|
2733
|
+
!Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2736
2734
|
}, e.prototype.tryParseQuote = function(t) {
|
2737
2735
|
if (this.isEOF() || this.char() !== 39)
|
2738
2736
|
return null;
|
@@ -2819,7 +2817,7 @@ var Zn = (
|
|
2819
2817
|
var u = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2820
2818
|
if (m.err)
|
2821
2819
|
return m;
|
2822
|
-
var f =
|
2820
|
+
var f = Wn(m.val);
|
2823
2821
|
if (f.length === 0)
|
2824
2822
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2825
2823
|
var p = v(u, this.clonePosition());
|
@@ -2829,8 +2827,8 @@ var Zn = (
|
|
2829
2827
|
if (g.err)
|
2830
2828
|
return g;
|
2831
2829
|
var b = v(i, this.clonePosition());
|
2832
|
-
if (l &&
|
2833
|
-
var d =
|
2830
|
+
if (l && gt(l?.style, "::", 0)) {
|
2831
|
+
var d = Xn(l.style.slice(2));
|
2834
2832
|
if (a === "number") {
|
2835
2833
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2836
2834
|
return m.err ? m : {
|
@@ -2841,12 +2839,12 @@ var Zn = (
|
|
2841
2839
|
if (d.length === 0)
|
2842
2840
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2843
2841
|
var w = d;
|
2844
|
-
this.locale && (w =
|
2842
|
+
this.locale && (w = Nn(d, this.locale));
|
2845
2843
|
var f = {
|
2846
2844
|
type: ne.dateTime,
|
2847
2845
|
pattern: w,
|
2848
2846
|
location: l.styleLocation,
|
2849
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2847
|
+
parsedOptions: this.shouldParseSkeletons ? Hn(w) : {}
|
2850
2848
|
}, E = a === "date" ? T.date : T.time;
|
2851
2849
|
return {
|
2852
2850
|
val: { type: E, value: n, location: b, style: f },
|
@@ -2867,9 +2865,9 @@ var Zn = (
|
|
2867
2865
|
case "plural":
|
2868
2866
|
case "selectordinal":
|
2869
2867
|
case "select": {
|
2870
|
-
var
|
2868
|
+
var H = this.clonePosition();
|
2871
2869
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2872
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
2870
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, _({}, H)));
|
2873
2871
|
this.bumpSpace();
|
2874
2872
|
var F = this.parseIdentifierIfPossible(), P = 0;
|
2875
2873
|
if (a !== "select" && F.value === "offset") {
|
@@ -2892,7 +2890,7 @@ var Zn = (
|
|
2892
2890
|
val: {
|
2893
2891
|
type: T.select,
|
2894
2892
|
value: n,
|
2895
|
-
options:
|
2893
|
+
options: bt(G.val),
|
2896
2894
|
location: C
|
2897
2895
|
},
|
2898
2896
|
err: null
|
@@ -2900,7 +2898,7 @@ var Zn = (
|
|
2900
2898
|
val: {
|
2901
2899
|
type: T.plural,
|
2902
2900
|
value: n,
|
2903
|
-
options:
|
2901
|
+
options: bt(G.val),
|
2904
2902
|
offset: P,
|
2905
2903
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2906
2904
|
location: C
|
@@ -2951,7 +2949,7 @@ var Zn = (
|
|
2951
2949
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2952
2950
|
var n = [];
|
2953
2951
|
try {
|
2954
|
-
n =
|
2952
|
+
n = Tn(t);
|
2955
2953
|
} catch {
|
2956
2954
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
2957
2955
|
}
|
@@ -2960,7 +2958,7 @@ var Zn = (
|
|
2960
2958
|
type: ne.number,
|
2961
2959
|
tokens: n,
|
2962
2960
|
location: r,
|
2963
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2961
|
+
parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
|
2964
2962
|
},
|
2965
2963
|
err: null
|
2966
2964
|
};
|
@@ -3008,7 +3006,7 @@ var Zn = (
|
|
3008
3006
|
break;
|
3009
3007
|
}
|
3010
3008
|
var h = v(i, this.clonePosition());
|
3011
|
-
return s ? (o *= n,
|
3009
|
+
return s ? (o *= n, jn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3012
3010
|
}, e.prototype.offset = function() {
|
3013
3011
|
return this.position.offset;
|
3014
3012
|
}, e.prototype.isEOF = function() {
|
@@ -3023,7 +3021,7 @@ var Zn = (
|
|
3023
3021
|
var t = this.position.offset;
|
3024
3022
|
if (t >= this.message.length)
|
3025
3023
|
throw Error("out of bound");
|
3026
|
-
var r =
|
3024
|
+
var r = rr(this.message, t);
|
3027
3025
|
if (r === void 0)
|
3028
3026
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3029
3027
|
return r;
|
@@ -3042,7 +3040,7 @@ var Zn = (
|
|
3042
3040
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3043
3041
|
}
|
3044
3042
|
}, e.prototype.bumpIf = function(t) {
|
3045
|
-
if (
|
3043
|
+
if (gt(this.message, t, this.offset())) {
|
3046
3044
|
for (var r = 0; r < t.length; r++)
|
3047
3045
|
this.bump();
|
3048
3046
|
return !0;
|
@@ -3064,7 +3062,7 @@ var Zn = (
|
|
3064
3062
|
break;
|
3065
3063
|
}
|
3066
3064
|
}, e.prototype.bumpSpace = function() {
|
3067
|
-
for (; !this.isEOF() &&
|
3065
|
+
for (; !this.isEOF() && ir(this.char()); )
|
3068
3066
|
this.bump();
|
3069
3067
|
}, e.prototype.peek = function() {
|
3070
3068
|
if (this.isEOF())
|
@@ -3077,29 +3075,29 @@ var Zn = (
|
|
3077
3075
|
function qe(e) {
|
3078
3076
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3079
3077
|
}
|
3080
|
-
function
|
3078
|
+
function Zn(e) {
|
3081
3079
|
return qe(e) || e === 47;
|
3082
3080
|
}
|
3083
|
-
function
|
3081
|
+
function Qn(e) {
|
3084
3082
|
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;
|
3085
3083
|
}
|
3086
|
-
function
|
3084
|
+
function ir(e) {
|
3087
3085
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3088
3086
|
}
|
3089
|
-
function
|
3087
|
+
function qn(e) {
|
3090
3088
|
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;
|
3091
3089
|
}
|
3092
3090
|
function Je(e) {
|
3093
3091
|
e.forEach(function(t) {
|
3094
|
-
if (delete t.location,
|
3092
|
+
if (delete t.location, Zt(t) || Qt(t))
|
3095
3093
|
for (var r in t.options)
|
3096
3094
|
delete t.options[r].location, Je(t.options[r].value);
|
3097
|
-
else
|
3095
|
+
else Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && We(t.style) ? delete t.style.location : qt(t) && Je(t.children);
|
3098
3096
|
});
|
3099
3097
|
}
|
3100
|
-
function
|
3098
|
+
function Jn(e, t) {
|
3101
3099
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3102
|
-
var r = new
|
3100
|
+
var r = new zn(e, t).parse();
|
3103
3101
|
if (r.err) {
|
3104
3102
|
var n = SyntaxError(y[r.err.kind]);
|
3105
3103
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3122,7 +3120,7 @@ var Ne = (
|
|
3122
3120
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3123
3121
|
}, t;
|
3124
3122
|
}(Error)
|
3125
|
-
),
|
3123
|
+
), vt = (
|
3126
3124
|
/** @class */
|
3127
3125
|
function(e) {
|
3128
3126
|
Me(t, e);
|
@@ -3131,7 +3129,7 @@ var Ne = (
|
|
3131
3129
|
}
|
3132
3130
|
return t;
|
3133
3131
|
}(Ne)
|
3134
|
-
),
|
3132
|
+
), Yn = (
|
3135
3133
|
/** @class */
|
3136
3134
|
function(e) {
|
3137
3135
|
Me(t, e);
|
@@ -3140,7 +3138,7 @@ var Ne = (
|
|
3140
3138
|
}
|
3141
3139
|
return t;
|
3142
3140
|
}(Ne)
|
3143
|
-
),
|
3141
|
+
), Kn = (
|
3144
3142
|
/** @class */
|
3145
3143
|
function(e) {
|
3146
3144
|
Me(t, e);
|
@@ -3153,17 +3151,17 @@ var Ne = (
|
|
3153
3151
|
(function(e) {
|
3154
3152
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3155
3153
|
})(L || (L = {}));
|
3156
|
-
function
|
3154
|
+
function ei(e) {
|
3157
3155
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3158
3156
|
var n = t[t.length - 1];
|
3159
3157
|
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
3160
3158
|
}, []);
|
3161
3159
|
}
|
3162
|
-
function
|
3160
|
+
function ti(e) {
|
3163
3161
|
return typeof e == "function";
|
3164
3162
|
}
|
3165
3163
|
function He(e, t, r, n, i, s, o) {
|
3166
|
-
if (e.length === 1 &&
|
3164
|
+
if (e.length === 1 && ft(e[0]))
|
3167
3165
|
return [
|
3168
3166
|
{
|
3169
3167
|
type: L.literal,
|
@@ -3172,14 +3170,14 @@ function He(e, t, r, n, i, s, o) {
|
|
3172
3170
|
];
|
3173
3171
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
3174
3172
|
var u = l[h];
|
3175
|
-
if (
|
3173
|
+
if (ft(u)) {
|
3176
3174
|
a.push({
|
3177
3175
|
type: L.literal,
|
3178
3176
|
value: u.value
|
3179
3177
|
});
|
3180
3178
|
continue;
|
3181
3179
|
}
|
3182
|
-
if (
|
3180
|
+
if (Cn(u)) {
|
3183
3181
|
typeof s == "number" && a.push({
|
3184
3182
|
type: L.literal,
|
3185
3183
|
value: r.getNumberFormat(t).format(s)
|
@@ -3188,16 +3186,16 @@ function He(e, t, r, n, i, s, o) {
|
|
3188
3186
|
}
|
3189
3187
|
var m = u.value;
|
3190
3188
|
if (!(i && m in i))
|
3191
|
-
throw new
|
3189
|
+
throw new Kn(m, o);
|
3192
3190
|
var f = i[m];
|
3193
|
-
if (
|
3191
|
+
if (xn(u)) {
|
3194
3192
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3195
3193
|
type: typeof f == "string" ? L.literal : L.object,
|
3196
3194
|
value: f
|
3197
3195
|
});
|
3198
3196
|
continue;
|
3199
3197
|
}
|
3200
|
-
if (
|
3198
|
+
if (Wt(u)) {
|
3201
3199
|
var p = typeof u.style == "string" ? n.date[u.style] : We(u.style) ? u.style.parsedOptions : void 0;
|
3202
3200
|
a.push({
|
3203
3201
|
type: L.literal,
|
@@ -3205,7 +3203,7 @@ function He(e, t, r, n, i, s, o) {
|
|
3205
3203
|
});
|
3206
3204
|
continue;
|
3207
3205
|
}
|
3208
|
-
if (
|
3206
|
+
if (zt(u)) {
|
3209
3207
|
var p = typeof u.style == "string" ? n.time[u.style] : We(u.style) ? u.style.parsedOptions : n.time.medium;
|
3210
3208
|
a.push({
|
3211
3209
|
type: L.literal,
|
@@ -3213,18 +3211,18 @@ function He(e, t, r, n, i, s, o) {
|
|
3213
3211
|
});
|
3214
3212
|
continue;
|
3215
3213
|
}
|
3216
|
-
if (
|
3217
|
-
var p = typeof u.style == "string" ? n.number[u.style] :
|
3214
|
+
if (Xt(u)) {
|
3215
|
+
var p = typeof u.style == "string" ? n.number[u.style] : Jt(u.style) ? u.style.parsedOptions : void 0;
|
3218
3216
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3219
3217
|
type: L.literal,
|
3220
3218
|
value: r.getNumberFormat(t, p).format(f)
|
3221
3219
|
});
|
3222
3220
|
continue;
|
3223
3221
|
}
|
3224
|
-
if (
|
3222
|
+
if (qt(u)) {
|
3225
3223
|
var g = u.children, b = u.value, d = i[b];
|
3226
|
-
if (!
|
3227
|
-
throw new
|
3224
|
+
if (!ti(d))
|
3225
|
+
throw new Yn(b, "function", o);
|
3228
3226
|
var w = He(g, t, r, n, i, s), E = d(w.map(function(P) {
|
3229
3227
|
return P.value;
|
3230
3228
|
}));
|
@@ -3235,39 +3233,39 @@ function He(e, t, r, n, i, s, o) {
|
|
3235
3233
|
};
|
3236
3234
|
}));
|
3237
3235
|
}
|
3238
|
-
if (
|
3239
|
-
var
|
3240
|
-
if (!
|
3241
|
-
throw new
|
3242
|
-
a.push.apply(a, He(
|
3236
|
+
if (Zt(u)) {
|
3237
|
+
var H = u.options[f] || u.options.other;
|
3238
|
+
if (!H)
|
3239
|
+
throw new vt(u.value, f, Object.keys(u.options), o);
|
3240
|
+
a.push.apply(a, He(H.value, t, r, n, i));
|
3243
3241
|
continue;
|
3244
3242
|
}
|
3245
|
-
if (
|
3246
|
-
var
|
3247
|
-
if (!
|
3243
|
+
if (Qt(u)) {
|
3244
|
+
var H = u.options["=".concat(f)];
|
3245
|
+
if (!H) {
|
3248
3246
|
if (!Intl.PluralRules)
|
3249
3247
|
throw new Ne(`Intl.PluralRules is not available in this environment.
|
3250
3248
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3251
3249
|
`, ie.MISSING_INTL_API, o);
|
3252
3250
|
var F = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
3253
|
-
|
3251
|
+
H = u.options[F] || u.options.other;
|
3254
3252
|
}
|
3255
|
-
if (!
|
3256
|
-
throw new
|
3257
|
-
a.push.apply(a, He(
|
3253
|
+
if (!H)
|
3254
|
+
throw new vt(u.value, f, Object.keys(u.options), o);
|
3255
|
+
a.push.apply(a, He(H.value, t, r, n, i, f - (u.offset || 0)));
|
3258
3256
|
continue;
|
3259
3257
|
}
|
3260
3258
|
}
|
3261
|
-
return
|
3259
|
+
return ei(a);
|
3262
3260
|
}
|
3263
|
-
function
|
3261
|
+
function ri(e, t) {
|
3264
3262
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3265
3263
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3266
3264
|
}, {})) : e;
|
3267
3265
|
}
|
3268
|
-
function
|
3266
|
+
function ni(e, t) {
|
3269
3267
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3270
|
-
return r[n] =
|
3268
|
+
return r[n] = ri(e[n], t[n]), r;
|
3271
3269
|
}, _({}, e)) : e;
|
3272
3270
|
}
|
3273
3271
|
function ke(e) {
|
@@ -3284,7 +3282,7 @@ function ke(e) {
|
|
3284
3282
|
}
|
3285
3283
|
};
|
3286
3284
|
}
|
3287
|
-
function
|
3285
|
+
function ii(e) {
|
3288
3286
|
return e === void 0 && (e = {
|
3289
3287
|
number: {},
|
3290
3288
|
dateTime: {},
|
@@ -3316,7 +3314,7 @@ function oi(e) {
|
|
3316
3314
|
})
|
3317
3315
|
};
|
3318
3316
|
}
|
3319
|
-
var
|
3317
|
+
var oi = (
|
3320
3318
|
/** @class */
|
3321
3319
|
function() {
|
3322
3320
|
function e(t, r, n, i) {
|
@@ -3348,13 +3346,13 @@ var si = (
|
|
3348
3346
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3349
3347
|
var o = i || {};
|
3350
3348
|
o.formatters;
|
3351
|
-
var a =
|
3349
|
+
var a = dn(o, ["formatters"]);
|
3352
3350
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3353
3351
|
} else
|
3354
3352
|
this.ast = t;
|
3355
3353
|
if (!Array.isArray(this.ast))
|
3356
3354
|
throw new TypeError("A message must be provided as a String or AST.");
|
3357
|
-
this.formats =
|
3355
|
+
this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
|
3358
3356
|
}
|
3359
3357
|
return Object.defineProperty(e, "defaultLocale", {
|
3360
3358
|
get: function() {
|
@@ -3367,7 +3365,7 @@ var si = (
|
|
3367
3365
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3368
3366
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3369
3367
|
}
|
3370
|
-
}, e.__parse =
|
3368
|
+
}, e.__parse = Jn, e.formats = {
|
3371
3369
|
number: {
|
3372
3370
|
integer: {
|
3373
3371
|
maximumFractionDigits: 0
|
@@ -3428,7 +3426,7 @@ var si = (
|
|
3428
3426
|
}, e;
|
3429
3427
|
}()
|
3430
3428
|
);
|
3431
|
-
function
|
3429
|
+
function si(e, t) {
|
3432
3430
|
if (t == null)
|
3433
3431
|
return;
|
3434
3432
|
if (t in e)
|
@@ -3449,60 +3447,60 @@ function ai(e, t) {
|
|
3449
3447
|
n = void 0;
|
3450
3448
|
return n;
|
3451
3449
|
}
|
3452
|
-
const X = {},
|
3450
|
+
const X = {}, ai = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), or = (e, t) => {
|
3453
3451
|
if (t == null)
|
3454
3452
|
return;
|
3455
3453
|
if (t in X && e in X[t])
|
3456
3454
|
return X[t][e];
|
3457
3455
|
const r = Pe(t);
|
3458
3456
|
for (let n = 0; n < r.length; n++) {
|
3459
|
-
const i = r[n], s =
|
3457
|
+
const i = r[n], s = ui(i, e);
|
3460
3458
|
if (s)
|
3461
|
-
return
|
3459
|
+
return ai(e, t, s);
|
3462
3460
|
}
|
3463
3461
|
};
|
3464
|
-
let
|
3462
|
+
let rt;
|
3465
3463
|
const ae = Ie({});
|
3466
|
-
function
|
3467
|
-
return
|
3464
|
+
function li(e) {
|
3465
|
+
return rt[e] || null;
|
3468
3466
|
}
|
3469
|
-
function
|
3470
|
-
return e in
|
3467
|
+
function sr(e) {
|
3468
|
+
return e in rt;
|
3471
3469
|
}
|
3472
|
-
function
|
3473
|
-
if (!
|
3470
|
+
function ui(e, t) {
|
3471
|
+
if (!sr(e))
|
3474
3472
|
return null;
|
3475
|
-
const r =
|
3476
|
-
return
|
3473
|
+
const r = li(e);
|
3474
|
+
return si(r, t);
|
3477
3475
|
}
|
3478
|
-
function
|
3476
|
+
function hi(e) {
|
3479
3477
|
if (e == null)
|
3480
3478
|
return;
|
3481
3479
|
const t = Pe(e);
|
3482
3480
|
for (let r = 0; r < t.length; r++) {
|
3483
3481
|
const n = t[r];
|
3484
|
-
if (
|
3482
|
+
if (sr(n))
|
3485
3483
|
return n;
|
3486
3484
|
}
|
3487
3485
|
}
|
3488
|
-
function
|
3489
|
-
delete X[e], ae.update((r) => (r[e] =
|
3486
|
+
function ar(e, ...t) {
|
3487
|
+
delete X[e], ae.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
|
3490
3488
|
}
|
3491
3489
|
se(
|
3492
3490
|
[ae],
|
3493
3491
|
([e]) => Object.keys(e)
|
3494
3492
|
);
|
3495
|
-
ae.subscribe((e) =>
|
3493
|
+
ae.subscribe((e) => rt = e);
|
3496
3494
|
const Se = {};
|
3497
|
-
function
|
3495
|
+
function ci(e, t) {
|
3498
3496
|
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
3499
3497
|
}
|
3500
|
-
function
|
3498
|
+
function lr(e) {
|
3501
3499
|
return Se[e];
|
3502
3500
|
}
|
3503
|
-
function
|
3501
|
+
function fi(e) {
|
3504
3502
|
return Pe(e).map((t) => {
|
3505
|
-
const r =
|
3503
|
+
const r = lr(t);
|
3506
3504
|
return [t, r ? [...r] : []];
|
3507
3505
|
}).filter(([, t]) => t.length > 0);
|
3508
3506
|
}
|
@@ -3510,31 +3508,31 @@ function Ye(e) {
|
|
3510
3508
|
return e == null ? !1 : Pe(e).some(
|
3511
3509
|
(t) => {
|
3512
3510
|
var r;
|
3513
|
-
return (r =
|
3511
|
+
return (r = lr(t)) == null ? void 0 : r.size;
|
3514
3512
|
}
|
3515
3513
|
);
|
3516
3514
|
}
|
3517
|
-
function
|
3515
|
+
function mi(e, t) {
|
3518
3516
|
return Promise.all(
|
3519
|
-
t.map((n) => (
|
3520
|
-
).then((n) =>
|
3517
|
+
t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
|
3518
|
+
).then((n) => ar(e, ...n));
|
3521
3519
|
}
|
3522
3520
|
const he = {};
|
3523
|
-
function
|
3521
|
+
function ur(e) {
|
3524
3522
|
if (!Ye(e))
|
3525
3523
|
return e in he ? he[e] : Promise.resolve();
|
3526
|
-
const t =
|
3524
|
+
const t = fi(e);
|
3527
3525
|
return he[e] = Promise.all(
|
3528
3526
|
t.map(
|
3529
|
-
([r, n]) =>
|
3527
|
+
([r, n]) => mi(r, n)
|
3530
3528
|
)
|
3531
3529
|
).then(() => {
|
3532
3530
|
if (Ye(e))
|
3533
|
-
return
|
3531
|
+
return ur(e);
|
3534
3532
|
delete he[e];
|
3535
3533
|
}), he[e];
|
3536
3534
|
}
|
3537
|
-
const
|
3535
|
+
const di = {
|
3538
3536
|
number: {
|
3539
3537
|
scientific: { notation: "scientific" },
|
3540
3538
|
engineering: { notation: "engineering" },
|
@@ -3563,34 +3561,34 @@ const pi = {
|
|
3563
3561
|
timeZoneName: "short"
|
3564
3562
|
}
|
3565
3563
|
}
|
3566
|
-
},
|
3564
|
+
}, pi = {
|
3567
3565
|
fallbackLocale: null,
|
3568
3566
|
loadingDelay: 200,
|
3569
|
-
formats:
|
3567
|
+
formats: di,
|
3570
3568
|
warnOnMissingMessages: !0,
|
3571
3569
|
handleMissingMessage: void 0,
|
3572
3570
|
ignoreTag: !0
|
3573
|
-
},
|
3571
|
+
}, gi = pi;
|
3574
3572
|
function oe() {
|
3575
|
-
return
|
3573
|
+
return gi;
|
3576
3574
|
}
|
3577
3575
|
const $e = Ie(!1);
|
3578
|
-
var
|
3576
|
+
var bi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
|
3579
3577
|
for (var r in t || (t = {}))
|
3580
|
-
|
3581
|
-
if (
|
3582
|
-
for (var r of
|
3583
|
-
|
3578
|
+
_i.call(t, r) && Et(e, r, t[r]);
|
3579
|
+
if (_t)
|
3580
|
+
for (var r of _t(t))
|
3581
|
+
Ei.call(t, r) && Et(e, r, t[r]);
|
3584
3582
|
return e;
|
3585
|
-
},
|
3583
|
+
}, Ci = (e, t) => yi(e, vi(t));
|
3586
3584
|
let Ke;
|
3587
3585
|
const Ae = Ie(null);
|
3588
|
-
function
|
3586
|
+
function xt(e) {
|
3589
3587
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3590
3588
|
}
|
3591
3589
|
function Pe(e, t = oe().fallbackLocale) {
|
3592
|
-
const r =
|
3593
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3590
|
+
const r = xt(e);
|
3591
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
|
3594
3592
|
}
|
3595
3593
|
function q() {
|
3596
3594
|
return Ke ?? void 0;
|
@@ -3598,22 +3596,22 @@ function q() {
|
|
3598
3596
|
Ae.subscribe((e) => {
|
3599
3597
|
Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3600
3598
|
});
|
3601
|
-
const
|
3602
|
-
if (e &&
|
3599
|
+
const wi = (e) => {
|
3600
|
+
if (e && hi(e) && Ye(e)) {
|
3603
3601
|
const { loadingDelay: t } = oe();
|
3604
3602
|
let r;
|
3605
3603
|
return typeof window < "u" && q() != null && t ? r = window.setTimeout(
|
3606
3604
|
() => $e.set(!0),
|
3607
3605
|
t
|
3608
|
-
) : $e.set(!0),
|
3606
|
+
) : $e.set(!0), ur(e).then(() => {
|
3609
3607
|
Ae.set(e);
|
3610
3608
|
}).finally(() => {
|
3611
3609
|
clearTimeout(r), $e.set(!1);
|
3612
3610
|
});
|
3613
3611
|
}
|
3614
3612
|
return Ae.set(e);
|
3615
|
-
}, W =
|
3616
|
-
set:
|
3613
|
+
}, W = Ci(xi({}, Ae), {
|
3614
|
+
set: wi
|
3617
3615
|
}), Le = (e) => {
|
3618
3616
|
const t = /* @__PURE__ */ Object.create(null);
|
3619
3617
|
return (n) => {
|
@@ -3621,20 +3619,20 @@ const Hi = (e) => {
|
|
3621
3619
|
return i in t ? t[i] : t[i] = e(n);
|
3622
3620
|
};
|
3623
3621
|
};
|
3624
|
-
var
|
3622
|
+
var Hi = Object.defineProperty, Be = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
3625
3623
|
for (var r in t || (t = {}))
|
3626
|
-
|
3624
|
+
hr.call(t, r) && Ct(e, r, t[r]);
|
3627
3625
|
if (Be)
|
3628
3626
|
for (var r of Be(t))
|
3629
|
-
|
3627
|
+
cr.call(t, r) && Ct(e, r, t[r]);
|
3630
3628
|
return e;
|
3631
3629
|
}, le = (e, t) => {
|
3632
3630
|
var r = {};
|
3633
3631
|
for (var n in e)
|
3634
|
-
|
3632
|
+
hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3635
3633
|
if (e != null && Be)
|
3636
3634
|
for (var n of Be(e))
|
3637
|
-
t.indexOf(n) < 0 &&
|
3635
|
+
t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
|
3638
3636
|
return r;
|
3639
3637
|
};
|
3640
3638
|
const ge = (e, t) => {
|
@@ -3642,21 +3640,21 @@ const ge = (e, t) => {
|
|
3642
3640
|
if (e in r && t in r[e])
|
3643
3641
|
return r[e][t];
|
3644
3642
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3645
|
-
},
|
3643
|
+
}, Si = Le(
|
3646
3644
|
(e) => {
|
3647
3645
|
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
3648
3646
|
if (r == null)
|
3649
3647
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3650
3648
|
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
3651
3649
|
}
|
3652
|
-
),
|
3650
|
+
), Ti = Le(
|
3653
3651
|
(e) => {
|
3654
3652
|
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
3655
3653
|
if (r == null)
|
3656
3654
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3657
3655
|
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
3658
3656
|
}
|
3659
|
-
),
|
3657
|
+
), Ai = Le(
|
3660
3658
|
(e) => {
|
3661
3659
|
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
3662
3660
|
if (r == null)
|
@@ -3665,33 +3663,33 @@ const ge = (e, t) => {
|
|
3665
3663
|
);
|
3666
3664
|
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
3667
3665
|
}
|
3668
|
-
),
|
3666
|
+
), Bi = (e = {}) => {
|
3669
3667
|
var t = e, {
|
3670
3668
|
locale: r = q()
|
3671
3669
|
} = t, n = le(t, [
|
3672
3670
|
"locale"
|
3673
3671
|
]);
|
3674
|
-
return
|
3675
|
-
},
|
3672
|
+
return Si(nt({ locale: r }, n));
|
3673
|
+
}, Ii = (e = {}) => {
|
3676
3674
|
var t = e, {
|
3677
3675
|
locale: r = q()
|
3678
3676
|
} = t, n = le(t, [
|
3679
3677
|
"locale"
|
3680
3678
|
]);
|
3681
|
-
return
|
3682
|
-
},
|
3679
|
+
return Ti(nt({ locale: r }, n));
|
3680
|
+
}, Mi = (e = {}) => {
|
3683
3681
|
var t = e, {
|
3684
3682
|
locale: r = q()
|
3685
3683
|
} = t, n = le(t, [
|
3686
3684
|
"locale"
|
3687
3685
|
]);
|
3688
|
-
return
|
3689
|
-
},
|
3686
|
+
return Ai(nt({ locale: r }, n));
|
3687
|
+
}, Ni = Le(
|
3690
3688
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3691
|
-
(e, t = q()) => new
|
3689
|
+
(e, t = q()) => new oi(e, t, oe().formats, {
|
3692
3690
|
ignoreTag: oe().ignoreTag
|
3693
3691
|
})
|
3694
|
-
),
|
3692
|
+
), Pi = (e, t = {}) => {
|
3695
3693
|
var r, n, i, s;
|
3696
3694
|
let o = t;
|
3697
3695
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -3704,7 +3702,7 @@ const ge = (e, t) => {
|
|
3704
3702
|
throw new Error(
|
3705
3703
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3706
3704
|
);
|
3707
|
-
let u =
|
3705
|
+
let u = or(e, h);
|
3708
3706
|
if (!u)
|
3709
3707
|
u = (s = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
|
3710
3708
|
else if (typeof u != "string")
|
@@ -3715,7 +3713,7 @@ const ge = (e, t) => {
|
|
3715
3713
|
return u;
|
3716
3714
|
let m = u;
|
3717
3715
|
try {
|
3718
|
-
m =
|
3716
|
+
m = Ni(u, h).format(a);
|
3719
3717
|
} catch (f) {
|
3720
3718
|
f instanceof Error && console.warn(
|
3721
3719
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3723,24 +3721,24 @@ const ge = (e, t) => {
|
|
3723
3721
|
);
|
3724
3722
|
}
|
3725
3723
|
return m;
|
3726
|
-
},
|
3727
|
-
se([W, ae], () =>
|
3724
|
+
}, Li = (e, t) => Mi(t).format(e), Oi = (e, t) => Ii(t).format(e), Fi = (e, t) => Bi(t).format(e), Ri = (e, t = q()) => or(e, t);
|
3725
|
+
se([W, ae], () => Pi);
|
3726
|
+
se([W], () => Li);
|
3728
3727
|
se([W], () => Oi);
|
3729
3728
|
se([W], () => Fi);
|
3730
|
-
se([W], () => Ri);
|
3731
|
-
|
3732
|
-
function Ui({ withLocale: e, translations: t }) {
|
3729
|
+
se([W, ae], () => Ri);
|
3730
|
+
function Di({ withLocale: e, translations: t }) {
|
3733
3731
|
W.subscribe((r) => {
|
3734
3732
|
r == null && (ae.set(t), W.set(e));
|
3735
3733
|
});
|
3736
3734
|
}
|
3737
|
-
function
|
3738
|
-
|
3735
|
+
function wt(e, t) {
|
3736
|
+
ar(e, t);
|
3739
3737
|
}
|
3740
|
-
function
|
3738
|
+
function Ui(e) {
|
3741
3739
|
W.set(e);
|
3742
3740
|
}
|
3743
|
-
const
|
3741
|
+
const Ht = {
|
3744
3742
|
en: {
|
3745
3743
|
login: "Login",
|
3746
3744
|
register: "Register",
|
@@ -3797,33 +3795,33 @@ const Tt = {
|
|
3797
3795
|
deposit: "Deposit"
|
3798
3796
|
}
|
3799
3797
|
};
|
3800
|
-
function
|
3801
|
-
|
3798
|
+
function Gi(e) {
|
3799
|
+
Tr(e, "svelte-1lder3j", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
3802
3800
|
}
|
3803
|
-
function
|
3801
|
+
function St(e, t, r) {
|
3804
3802
|
const n = e.slice();
|
3805
|
-
return n[
|
3803
|
+
return n[48] = t[r], n[50] = r, n;
|
3806
3804
|
}
|
3807
|
-
function
|
3805
|
+
function Tt(e, t, r) {
|
3808
3806
|
const n = e.slice();
|
3809
|
-
return n[
|
3807
|
+
return n[51] = t[r], n;
|
3810
3808
|
}
|
3811
|
-
function
|
3809
|
+
function At(e, t, r) {
|
3812
3810
|
const n = e.slice();
|
3813
|
-
return n[
|
3811
|
+
return n[54] = t[r], n[56] = r, n;
|
3814
3812
|
}
|
3815
|
-
function
|
3813
|
+
function Bt(e) {
|
3816
3814
|
let t = [], r = /* @__PURE__ */ new Map(), n, i = te(
|
3817
3815
|
/*sliderdata*/
|
3818
3816
|
e[9]
|
3819
3817
|
);
|
3820
3818
|
const s = (o) => (
|
3821
3819
|
/*category*/
|
3822
|
-
o[
|
3820
|
+
o[48].id
|
3823
3821
|
);
|
3824
3822
|
for (let o = 0; o < i.length; o += 1) {
|
3825
|
-
let a =
|
3826
|
-
r.set(h, t[o] =
|
3823
|
+
let a = St(e, i, o), h = s(a);
|
3824
|
+
r.set(h, t[o] = Ot(h, a));
|
3827
3825
|
}
|
3828
3826
|
return {
|
3829
3827
|
c() {
|
@@ -3841,7 +3839,7 @@ function Mt(e) {
|
|
3841
3839
|
77775 && (i = te(
|
3842
3840
|
/*sliderdata*/
|
3843
3841
|
o[9]
|
3844
|
-
), t =
|
3842
|
+
), t = Gt(t, a, s, 1, o, i, r, n.parentNode, Ut, Ot, n, St));
|
3845
3843
|
},
|
3846
3844
|
d(o) {
|
3847
3845
|
o && O(n);
|
@@ -3850,14 +3848,14 @@ function Mt(e) {
|
|
3850
3848
|
}
|
3851
3849
|
};
|
3852
3850
|
}
|
3853
|
-
function
|
3851
|
+
function ki(e) {
|
3854
3852
|
let t, r = (
|
3855
3853
|
/*category*/
|
3856
|
-
e[
|
3854
|
+
e[48].name + ""
|
3857
3855
|
), n;
|
3858
3856
|
return {
|
3859
3857
|
c() {
|
3860
|
-
t = I("button"), n = be(r),
|
3858
|
+
t = I("button"), n = be(r), S(t, "class", "CategoryButton");
|
3861
3859
|
},
|
3862
3860
|
m(i, s) {
|
3863
3861
|
D(i, t, s), B(t, n);
|
@@ -3865,22 +3863,22 @@ function $i(e) {
|
|
3865
3863
|
p(i, s) {
|
3866
3864
|
s[0] & /*sliderdata*/
|
3867
3865
|
512 && r !== (r = /*category*/
|
3868
|
-
i[
|
3866
|
+
i[48].name + "") && tt(n, r);
|
3869
3867
|
},
|
3870
3868
|
d(i) {
|
3871
3869
|
i && O(t);
|
3872
3870
|
}
|
3873
3871
|
};
|
3874
3872
|
}
|
3875
|
-
function
|
3873
|
+
function $i(e) {
|
3876
3874
|
let t, r = (
|
3877
3875
|
/*category*/
|
3878
|
-
e[
|
3876
|
+
e[48].label + ""
|
3879
3877
|
), n, i;
|
3880
3878
|
return {
|
3881
3879
|
c() {
|
3882
|
-
t = I("a"), n = be(r),
|
3883
|
-
e[
|
3880
|
+
t = I("a"), n = be(r), S(t, "href", i = /*category*/
|
3881
|
+
e[48].path);
|
3884
3882
|
},
|
3885
3883
|
m(s, o) {
|
3886
3884
|
D(s, t, o), B(t, n);
|
@@ -3888,20 +3886,20 @@ function ji(e) {
|
|
3888
3886
|
p(s, o) {
|
3889
3887
|
o[0] & /*sliderdata*/
|
3890
3888
|
512 && r !== (r = /*category*/
|
3891
|
-
s[
|
3889
|
+
s[48].label + "") && tt(n, r), o[0] & /*sliderdata*/
|
3892
3890
|
512 && i !== (i = /*category*/
|
3893
|
-
s[
|
3891
|
+
s[48].path) && S(t, "href", i);
|
3894
3892
|
},
|
3895
3893
|
d(s) {
|
3896
3894
|
s && O(t);
|
3897
3895
|
}
|
3898
3896
|
};
|
3899
3897
|
}
|
3900
|
-
function
|
3898
|
+
function It(e) {
|
3901
3899
|
let t, r = (
|
3902
3900
|
/*subGroupsData*/
|
3903
3901
|
e[10].length > 0 && /*showsubgroups*/
|
3904
|
-
e[2] == "true" &&
|
3902
|
+
e[2] == "true" && Mt(e)
|
3905
3903
|
);
|
3906
3904
|
return {
|
3907
3905
|
c() {
|
@@ -3913,26 +3911,26 @@ function Nt(e) {
|
|
3913
3911
|
p(n, i) {
|
3914
3912
|
/*subGroupsData*/
|
3915
3913
|
n[10].length > 0 && /*showsubgroups*/
|
3916
|
-
n[2] == "true" ? r ? r.p(n, i) : (r =
|
3914
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = Mt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3917
3915
|
},
|
3918
3916
|
d(n) {
|
3919
3917
|
n && O(t), r && r.d(n);
|
3920
3918
|
}
|
3921
3919
|
};
|
3922
3920
|
}
|
3923
|
-
function
|
3921
|
+
function Mt(e) {
|
3924
3922
|
let t, r = te(
|
3925
3923
|
/*subGroupsData*/
|
3926
3924
|
e[10]
|
3927
3925
|
), n = [];
|
3928
3926
|
for (let i = 0; i < r.length; i += 1)
|
3929
|
-
n[i] =
|
3927
|
+
n[i] = Lt(Tt(e, r, i));
|
3930
3928
|
return {
|
3931
3929
|
c() {
|
3932
3930
|
t = I("ul");
|
3933
3931
|
for (let i = 0; i < n.length; i += 1)
|
3934
3932
|
n[i].c();
|
3935
|
-
|
3933
|
+
S(t, "class", "DropDown");
|
3936
3934
|
},
|
3937
3935
|
m(i, s) {
|
3938
3936
|
D(i, t, s);
|
@@ -3948,8 +3946,8 @@ function Pt(e) {
|
|
3948
3946
|
);
|
3949
3947
|
let o;
|
3950
3948
|
for (o = 0; o < r.length; o += 1) {
|
3951
|
-
const a =
|
3952
|
-
n[o] ? n[o].p(a, s) : (n[o] =
|
3949
|
+
const a = Tt(i, r, o);
|
3950
|
+
n[o] ? n[o].p(a, s) : (n[o] = Lt(a), n[o].c(), n[o].m(t, null));
|
3953
3951
|
}
|
3954
3952
|
for (; o < n.length; o += 1)
|
3955
3953
|
n[o].d(1);
|
@@ -3957,40 +3955,40 @@ function Pt(e) {
|
|
3957
3955
|
}
|
3958
3956
|
},
|
3959
3957
|
d(i) {
|
3960
|
-
i && O(t),
|
3958
|
+
i && O(t), Ir(n, i);
|
3961
3959
|
}
|
3962
3960
|
};
|
3963
3961
|
}
|
3964
|
-
function
|
3962
|
+
function Nt(e) {
|
3965
3963
|
let t, r, n = (
|
3966
3964
|
/*subGroupItem*/
|
3967
|
-
e[
|
3965
|
+
e[54]?.name + ""
|
3968
3966
|
), i, s, o, a, h;
|
3969
3967
|
function l(...u) {
|
3970
3968
|
return (
|
3971
3969
|
/*click_handler_1*/
|
3972
3970
|
e[33](
|
3973
3971
|
/*category*/
|
3974
|
-
e[
|
3972
|
+
e[48],
|
3975
3973
|
/*index*/
|
3976
|
-
e[
|
3974
|
+
e[50],
|
3977
3975
|
/*subGroupItem*/
|
3978
|
-
e[
|
3976
|
+
e[54],
|
3979
3977
|
/*subindex*/
|
3980
|
-
e[
|
3978
|
+
e[56],
|
3981
3979
|
...u
|
3982
3980
|
)
|
3983
3981
|
);
|
3984
3982
|
}
|
3985
3983
|
return {
|
3986
3984
|
c() {
|
3987
|
-
t = I("li"), r = I("a"), i = be(n), o = Z(),
|
3988
|
-
(e[
|
3985
|
+
t = I("li"), r = I("a"), i = be(n), o = Z(), S(r, "class", s = "SubDropDown " + /*index*/
|
3986
|
+
(e[50] == /*activeIndex*/
|
3989
3987
|
e[6] && /*activeSubIndex*/
|
3990
3988
|
(e[7] == /*subindex*/
|
3991
|
-
e[
|
3989
|
+
e[56] || /*prevSubIndex*/
|
3992
3990
|
e[8] == /*subindex*/
|
3993
|
-
e[
|
3991
|
+
e[56]) ? "active" : ""));
|
3994
3992
|
},
|
3995
3993
|
m(u, m) {
|
3996
3994
|
D(u, t, m), B(t, r), B(r, i), B(t, o), a || (h = Te(t, "click", l), a = !0);
|
@@ -3998,25 +3996,25 @@ function Lt(e) {
|
|
3998
3996
|
p(u, m) {
|
3999
3997
|
e = u, m[0] & /*subGroupsData*/
|
4000
3998
|
1024 && n !== (n = /*subGroupItem*/
|
4001
|
-
e[
|
3999
|
+
e[54]?.name + "") && tt(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4002
4000
|
1984 && s !== (s = "SubDropDown " + /*index*/
|
4003
|
-
(e[
|
4001
|
+
(e[50] == /*activeIndex*/
|
4004
4002
|
e[6] && /*activeSubIndex*/
|
4005
4003
|
(e[7] == /*subindex*/
|
4006
|
-
e[
|
4004
|
+
e[56] || /*prevSubIndex*/
|
4007
4005
|
e[8] == /*subindex*/
|
4008
|
-
e[
|
4006
|
+
e[56]) ? "active" : "")) && S(r, "class", s);
|
4009
4007
|
},
|
4010
4008
|
d(u) {
|
4011
4009
|
u && O(t), a = !1, h();
|
4012
4010
|
}
|
4013
4011
|
};
|
4014
4012
|
}
|
4015
|
-
function
|
4013
|
+
function Pt(e, t) {
|
4016
4014
|
let r, n, i = (
|
4017
4015
|
/*index*/
|
4018
|
-
t[
|
4019
|
-
t[
|
4016
|
+
t[50] == /*subGroup*/
|
4017
|
+
t[51].index && Nt(t)
|
4020
4018
|
);
|
4021
4019
|
return {
|
4022
4020
|
key: e,
|
@@ -4029,26 +4027,26 @@ function Ot(e, t) {
|
|
4029
4027
|
},
|
4030
4028
|
p(s, o) {
|
4031
4029
|
t = s, /*index*/
|
4032
|
-
t[
|
4033
|
-
t[
|
4030
|
+
t[50] == /*subGroup*/
|
4031
|
+
t[51].index ? i ? i.p(t, o) : (i = Nt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4034
4032
|
},
|
4035
4033
|
d(s) {
|
4036
4034
|
s && (O(r), O(n)), i && i.d(s);
|
4037
4035
|
}
|
4038
4036
|
};
|
4039
4037
|
}
|
4040
|
-
function
|
4038
|
+
function Lt(e) {
|
4041
4039
|
let t = [], r = /* @__PURE__ */ new Map(), n, i = te(
|
4042
4040
|
/*subGroup*/
|
4043
|
-
e[
|
4041
|
+
e[51].items
|
4044
4042
|
);
|
4045
4043
|
const s = (o) => (
|
4046
4044
|
/*subGroupItem*/
|
4047
|
-
o[
|
4045
|
+
o[54].id
|
4048
4046
|
);
|
4049
4047
|
for (let o = 0; o < i.length; o += 1) {
|
4050
|
-
let a =
|
4051
|
-
r.set(h, t[o] =
|
4048
|
+
let a = At(e, i, o), h = s(a);
|
4049
|
+
r.set(h, t[o] = Pt(h, a));
|
4052
4050
|
}
|
4053
4051
|
return {
|
4054
4052
|
c() {
|
@@ -4065,8 +4063,8 @@ function Ft(e) {
|
|
4065
4063
|
a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
4066
4064
|
10176 && (i = te(
|
4067
4065
|
/*subGroup*/
|
4068
|
-
o[
|
4069
|
-
), t =
|
4066
|
+
o[51].items
|
4067
|
+
), t = Gt(t, a, s, 1, o, i, r, n.parentNode, Ut, Pt, n, At));
|
4070
4068
|
},
|
4071
4069
|
d(o) {
|
4072
4070
|
o && O(n);
|
@@ -4075,29 +4073,29 @@ function Ft(e) {
|
|
4075
4073
|
}
|
4076
4074
|
};
|
4077
4075
|
}
|
4078
|
-
function
|
4076
|
+
function Ot(e, t) {
|
4079
4077
|
let r, n, i, s, o, a, h, l, u, m, f;
|
4080
|
-
function p(E,
|
4078
|
+
function p(E, H) {
|
4081
4079
|
return (
|
4082
4080
|
/*location*/
|
4083
|
-
E[0] === "headerMain" ?
|
4081
|
+
E[0] === "headerMain" ? $i : ki
|
4084
4082
|
);
|
4085
4083
|
}
|
4086
4084
|
let g = p(t), b = g(t), d = (
|
4087
4085
|
/*itemsActive*/
|
4088
4086
|
t[11][
|
4089
4087
|
/*index*/
|
4090
|
-
t[
|
4091
|
-
] == !0 &&
|
4088
|
+
t[50]
|
4089
|
+
] == !0 && It(t)
|
4092
4090
|
);
|
4093
4091
|
function w(...E) {
|
4094
4092
|
return (
|
4095
4093
|
/*click_handler_2*/
|
4096
4094
|
t[34](
|
4097
4095
|
/*category*/
|
4098
|
-
t[
|
4096
|
+
t[48],
|
4099
4097
|
/*index*/
|
4100
|
-
t[
|
4098
|
+
t[50],
|
4101
4099
|
...E
|
4102
4100
|
)
|
4103
4101
|
);
|
@@ -4106,66 +4104,66 @@ function Rt(e, t) {
|
|
4106
4104
|
key: e,
|
4107
4105
|
first: null,
|
4108
4106
|
c() {
|
4109
|
-
r = I("li"), n = I("div"), i = I("img"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(),
|
4110
|
-
(t[3] === "true" ? "" : "DisplayNone")),
|
4107
|
+
r = I("li"), n = I("div"), i = I("img"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
|
4108
|
+
(t[3] === "true" ? "" : "DisplayNone")), ut(i.src, o = /*handleSrc*/
|
4111
4109
|
t[16](
|
4112
4110
|
/*category*/
|
4113
|
-
t[
|
4114
|
-
)) ||
|
4111
|
+
t[48]
|
4112
|
+
)) || S(i, "src", o), S(n, "class", "CategoryIcon"), S(r, "class", u = "CarouselItem " + /*activeindex*/
|
4115
4113
|
(t[1]?.toString().indexOf("$") > -1 ? (
|
4116
4114
|
/*activeindex*/
|
4117
4115
|
t[1]?.split("$").pop() == /*category*/
|
4118
|
-
t[
|
4116
|
+
t[48].id.split("$").pop() ? "active" : ""
|
4119
4117
|
) : (
|
4120
4118
|
/*activeindex*/
|
4121
4119
|
t[1] == /*category*/
|
4122
|
-
t[
|
4120
|
+
t[48].id ? "active" : ""
|
4123
4121
|
)) + " " + /*location*/
|
4124
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")),
|
4122
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4125
4123
|
},
|
4126
|
-
m(E,
|
4127
|
-
D(E, r,
|
4124
|
+
m(E, H) {
|
4125
|
+
D(E, r, H), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, h), d && d.m(r, null), B(r, l), m || (f = Te(r, "click", w), m = !0);
|
4128
4126
|
},
|
4129
|
-
p(E,
|
4130
|
-
t = E,
|
4127
|
+
p(E, H) {
|
4128
|
+
t = E, H[0] & /*categoriesicon*/
|
4131
4129
|
8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
|
4132
|
-
(t[3] === "true" ? "" : "DisplayNone")) &&
|
4133
|
-
512 && !
|
4130
|
+
(t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), H[0] & /*sliderdata*/
|
4131
|
+
512 && !ut(i.src, o = /*handleSrc*/
|
4134
4132
|
t[16](
|
4135
4133
|
/*category*/
|
4136
|
-
t[
|
4137
|
-
)) &&
|
4134
|
+
t[48]
|
4135
|
+
)) && S(i, "src", o), g === (g = p(t)) && b ? b.p(t, H) : (b.d(1), b = g(t), b && (b.c(), b.m(r, h))), /*itemsActive*/
|
4138
4136
|
t[11][
|
4139
4137
|
/*index*/
|
4140
|
-
t[
|
4141
|
-
] == !0 ? d ? d.p(t,
|
4138
|
+
t[50]
|
4139
|
+
] == !0 ? d ? d.p(t, H) : (d = It(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), H[0] & /*activeindex, sliderdata, location*/
|
4142
4140
|
515 && u !== (u = "CarouselItem " + /*activeindex*/
|
4143
4141
|
(t[1]?.toString().indexOf("$") > -1 ? (
|
4144
4142
|
/*activeindex*/
|
4145
4143
|
t[1]?.split("$").pop() == /*category*/
|
4146
|
-
t[
|
4144
|
+
t[48].id.split("$").pop() ? "active" : ""
|
4147
4145
|
) : (
|
4148
4146
|
/*activeindex*/
|
4149
4147
|
t[1] == /*category*/
|
4150
|
-
t[
|
4148
|
+
t[48].id ? "active" : ""
|
4151
4149
|
)) + " " + /*location*/
|
4152
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
4150
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", u);
|
4153
4151
|
},
|
4154
4152
|
d(E) {
|
4155
4153
|
E && O(r), b.d(), d && d.d(), m = !1, f();
|
4156
4154
|
}
|
4157
4155
|
};
|
4158
4156
|
}
|
4159
|
-
function
|
4157
|
+
function ji(e) {
|
4160
4158
|
let t, r, n, i, s, o, a, h, l, u, m, f, p, g, b, d = (
|
4161
4159
|
/*sliderdata*/
|
4162
|
-
e[9].length > 0 &&
|
4160
|
+
e[9].length > 0 && Bt(e)
|
4163
4161
|
);
|
4164
4162
|
return {
|
4165
4163
|
c() {
|
4166
|
-
t = I("div"), r = I("div"), n = I("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Z(), s = I("div"), o = I("ul"), a = I("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Z(), d && d.c(), l = Z(), u = I("div"), u.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',
|
4167
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
4168
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
4164
|
+
t = I("div"), r = I("div"), n = I("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Z(), s = I("div"), o = I("ul"), a = I("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Z(), d && d.c(), l = Z(), u = I("div"), u.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(o, "id", "CarouselNav"), S(o, "class", "CarouselItems"), S(s, "class", "CarouselNavWrap"), S(u, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4165
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
|
4166
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
|
4169
4167
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4170
4168
|
},
|
4171
4169
|
m(w, E) {
|
@@ -4186,13 +4184,13 @@ function Vi(e) {
|
|
4186
4184
|
},
|
4187
4185
|
p(w, E) {
|
4188
4186
|
/*sliderdata*/
|
4189
|
-
w[9].length > 0 ? d ? d.p(w, E) : (d =
|
4187
|
+
w[9].length > 0 ? d ? d.p(w, E) : (d = Bt(w), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
|
4190
4188
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4191
|
-
w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) &&
|
4189
|
+
w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
|
4192
4190
|
1 && f !== (f = /*location*/
|
4193
|
-
w[0] === "headerMain" ? "max-width: auto" : void 0) &&
|
4191
|
+
w[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), E[0] & /*location*/
|
4194
4192
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4195
|
-
(w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) &&
|
4193
|
+
(w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
|
4196
4194
|
},
|
4197
4195
|
i: U,
|
4198
4196
|
o: U,
|
@@ -4201,20 +4199,20 @@ function Vi(e) {
|
|
4201
4199
|
}
|
4202
4200
|
};
|
4203
4201
|
}
|
4204
|
-
function
|
4205
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage:
|
4206
|
-
|
4202
|
+
function Vi(e, t, r) {
|
4203
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: H = "" } = t, { mygamesiconimage: F = "" } = t, { mbsource: P = "" } = t;
|
4204
|
+
Di({ withLocale: "en", translations: {} });
|
4207
4205
|
const G = () => {
|
4208
4206
|
fetch(f).then((x) => x.json()).then((x) => {
|
4209
4207
|
Object.keys(x).forEach((R) => {
|
4210
|
-
|
4208
|
+
wt(R, x[R]);
|
4211
4209
|
});
|
4212
4210
|
}).catch((x) => {
|
4213
4211
|
console.log(x);
|
4214
4212
|
});
|
4215
4213
|
};
|
4216
|
-
Object.keys(
|
4217
|
-
|
4214
|
+
Object.keys(Ht).forEach((c) => {
|
4215
|
+
wt(c, Ht[c]);
|
4218
4216
|
});
|
4219
4217
|
let C, M, N, j, k, ue = [], ye = [], ve = [], $, Oe = (c, x, R, z, V) => {
|
4220
4218
|
if (!(c.subGroups && z === null)) {
|
@@ -4244,18 +4242,18 @@ function Xi(e, t, r) {
|
|
4244
4242
|
window.location.href
|
4245
4243
|
);
|
4246
4244
|
}
|
4247
|
-
},
|
4245
|
+
}, it = () => {
|
4248
4246
|
$.scrollBy({ left: -250, behavior: "smooth" });
|
4249
|
-
},
|
4247
|
+
}, ot = () => {
|
4250
4248
|
$.scrollBy({ left: 250, behavior: "smooth" });
|
4251
4249
|
};
|
4252
|
-
const
|
4253
|
-
c.data.type == "SliderData" && c.data.identity == m && (r(9, ue = c.data.data), r(11, ve = new Array(ue.length).fill(!1)), w == "true" &&
|
4250
|
+
const st = (c) => {
|
4251
|
+
c.data.type == "SliderData" && c.data.identity == m && (r(9, ue = c.data.data), r(11, ve = new Array(ue.length).fill(!1)), w == "true" && dr()), c.data.type == "GoToHomepage" && ue.forEach((x, R) => {
|
4254
4252
|
x.path.endsWith("/casino") && (r(6, M = R), r(6, M));
|
4255
4253
|
});
|
4256
|
-
},
|
4257
|
-
|
4258
|
-
},
|
4254
|
+
}, fr = () => {
|
4255
|
+
Ui(b);
|
4256
|
+
}, mr = (c, x, R) => {
|
4259
4257
|
if (h == "secondaryMenu" && n && i && b && c.id) {
|
4260
4258
|
let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
|
4261
4259
|
fetch(z.href).then((V) => V.json()).then((V) => {
|
@@ -4269,8 +4267,8 @@ function Xi(e, t, r) {
|
|
4269
4267
|
window.location.href
|
4270
4268
|
);
|
4271
4269
|
const Ee = [];
|
4272
|
-
ye.map((
|
4273
|
-
Ee.find((
|
4270
|
+
ye.map((Cr) => (Cr.items.forEach((at) => {
|
4271
|
+
Ee.find((wr) => at.id == wr) || Ee.push(at.id);
|
4274
4272
|
}), Ee.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Ee }, window.location.href);
|
4275
4273
|
}).then(() => {
|
4276
4274
|
C.querySelectorAll(".DropDown") && _e();
|
@@ -4283,54 +4281,54 @@ function Xi(e, t, r) {
|
|
4283
4281
|
for (let x = 0; x < c.length; x++)
|
4284
4282
|
c[x].style.transform = "translateX(-" + $.scrollLeft + "px)";
|
4285
4283
|
$.classList.remove("isScrolling");
|
4286
|
-
},
|
4284
|
+
}, dr = () => {
|
4287
4285
|
ue.forEach((c, x) => {
|
4288
|
-
c?.subGroups?.count > 0 && (r(11, ve[x] = !0, ve),
|
4286
|
+
c?.subGroups?.count > 0 && (r(11, ve[x] = !0, ve), mr(c, x));
|
4289
4287
|
});
|
4290
|
-
},
|
4288
|
+
}, pr = (c) => {
|
4291
4289
|
let x = "";
|
4292
|
-
return c.id === "LOBBY" ? x =
|
4290
|
+
return c.id === "LOBBY" ? x = H : c.id === "MYGAMES" && (x = F), c.icon || x;
|
4293
4291
|
};
|
4294
|
-
|
4292
|
+
Lr(() => (window.addEventListener("message", st, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4295
4293
|
() => {
|
4296
4294
|
$.addEventListener("scroll", _e);
|
4297
4295
|
},
|
4298
4296
|
500
|
4299
4297
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4300
|
-
window.removeEventListener("message",
|
4298
|
+
window.removeEventListener("message", st), C.removeEventListener("scroll", _e);
|
4301
4299
|
}));
|
4302
|
-
const
|
4300
|
+
const gr = () => it(), br = (c, x, R, z, V) => {
|
4303
4301
|
Oe(c, x, R, z, "secondary"), V.stopPropagation();
|
4304
|
-
},
|
4302
|
+
}, yr = (c, x, R) => {
|
4305
4303
|
Oe(c, x, null, null, "main"), R.preventDefault();
|
4306
4304
|
};
|
4307
|
-
function
|
4305
|
+
function vr(c) {
|
4308
4306
|
fe[c ? "unshift" : "push"](() => {
|
4309
4307
|
C = c, r(5, C);
|
4310
4308
|
});
|
4311
4309
|
}
|
4312
|
-
function
|
4310
|
+
function _r(c) {
|
4313
4311
|
fe[c ? "unshift" : "push"](() => {
|
4314
4312
|
$ = c, r(12, $);
|
4315
4313
|
});
|
4316
4314
|
}
|
4317
|
-
const
|
4318
|
-
function
|
4315
|
+
const Er = () => ot();
|
4316
|
+
function xr(c) {
|
4319
4317
|
fe[c ? "unshift" : "push"](() => {
|
4320
4318
|
k = c, r(4, k);
|
4321
4319
|
});
|
4322
4320
|
}
|
4323
4321
|
return e.$$set = (c) => {
|
4324
|
-
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, s = c.onclickeventname), "actionevent" in c && r(20, o = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, u = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, E = c.categoriesicon), "lobbyiconimage" in c && r(29,
|
4322
|
+
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, s = c.onclickeventname), "actionevent" in c && r(20, o = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, u = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, E = c.categoriesicon), "lobbyiconimage" in c && r(29, H = c.lobbyiconimage), "mygamesiconimage" in c && r(30, F = c.mygamesiconimage), "mbsource" in c && r(31, P = c.mbsource);
|
4325
4323
|
}, e.$$.update = () => {
|
4326
4324
|
e.$$.dirty[0] & /*activeindex*/
|
4327
4325
|
2, e.$$.dirty[0] & /*translationurl*/
|
4328
4326
|
33554432 && f && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4329
|
-
4194320 && l && k &&
|
4330
|
-
8388624 && u && k &&
|
4327
|
+
4194320 && l && k && zr(k, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4328
|
+
8388624 && u && k && Zr(k, u), e.$$.dirty[0] & /*customStylingContainer*/
|
4331
4329
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4332
|
-
1 && P && k &&
|
4333
|
-
268435456 && b &&
|
4330
|
+
1 && P && k && Qr(k, `${P}.Style`), e.$$.dirty[0] & /*lang*/
|
4331
|
+
268435456 && b && fr();
|
4334
4332
|
}, [
|
4335
4333
|
h,
|
4336
4334
|
d,
|
@@ -4346,9 +4344,9 @@ function Xi(e, t, r) {
|
|
4346
4344
|
ve,
|
4347
4345
|
$,
|
4348
4346
|
Oe,
|
4349
|
-
|
4350
|
-
|
4351
|
-
|
4347
|
+
it,
|
4348
|
+
ot,
|
4349
|
+
pr,
|
4352
4350
|
n,
|
4353
4351
|
i,
|
4354
4352
|
s,
|
@@ -4361,26 +4359,26 @@ function Xi(e, t, r) {
|
|
4361
4359
|
p,
|
4362
4360
|
g,
|
4363
4361
|
b,
|
4364
|
-
|
4362
|
+
H,
|
4365
4363
|
F,
|
4366
4364
|
P,
|
4365
|
+
gr,
|
4366
|
+
br,
|
4367
4367
|
yr,
|
4368
4368
|
vr,
|
4369
4369
|
_r,
|
4370
4370
|
Er,
|
4371
|
-
xr
|
4372
|
-
Cr,
|
4373
|
-
wr
|
4371
|
+
xr
|
4374
4372
|
];
|
4375
4373
|
}
|
4376
|
-
class
|
4374
|
+
class Xi extends Xr {
|
4377
4375
|
constructor(t) {
|
4378
|
-
super(),
|
4376
|
+
super(), jr(
|
4379
4377
|
this,
|
4380
4378
|
t,
|
4381
|
-
Xi,
|
4382
4379
|
Vi,
|
4383
|
-
|
4380
|
+
ji,
|
4381
|
+
Rt,
|
4384
4382
|
{
|
4385
4383
|
endpoint: 17,
|
4386
4384
|
datasource: 18,
|
@@ -4402,7 +4400,7 @@ class Wi extends zr {
|
|
4402
4400
|
mygamesiconimage: 30,
|
4403
4401
|
mbsource: 31
|
4404
4402
|
},
|
4405
|
-
|
4403
|
+
Gi,
|
4406
4404
|
[-1, -1]
|
4407
4405
|
);
|
4408
4406
|
}
|
@@ -4521,7 +4519,7 @@ class Wi extends zr {
|
|
4521
4519
|
this.$$set({ mbsource: t }), A();
|
4522
4520
|
}
|
4523
4521
|
}
|
4524
|
-
|
4522
|
+
Vr(Xi, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4525
4523
|
export {
|
4526
|
-
|
4524
|
+
Xi as C
|
4527
4525
|
};
|