@everymatrix/casino-slider 1.64.7 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoSlider-DjWsrMoE.js → CasinoSlider-B7m3YqGa.js} +579 -583
- package/components/{CasinoSlider-D695H9Sp.js → CasinoSlider-CPOaJyYS.js} +769 -773
- package/components/CasinoSlider-CrkuJukb.cjs +16 -0
- 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-2k8UQrFs.cjs +0 -3
@@ -1,16 +1,16 @@
|
|
1
|
-
var
|
2
|
-
var
|
1
|
+
var Lr = Object.defineProperty, Pr = Object.defineProperties;
|
2
|
+
var Or = Object.getOwnPropertyDescriptors;
|
3
3
|
var ft = Object.getOwnPropertySymbols;
|
4
4
|
var Fr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
|
5
|
-
var
|
5
|
+
var Re = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
Fr.call(t, r) &&
|
7
|
+
Fr.call(t, r) && Re(e, r, t[r]);
|
8
8
|
if (ft)
|
9
9
|
for (var r of ft(t))
|
10
|
-
Rr.call(t, r) &&
|
10
|
+
Rr.call(t, r) && Re(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
}, dt = (e, t) =>
|
13
|
-
var U = (e, t, r) => (
|
12
|
+
}, dt = (e, t) => Pr(e, Or(t));
|
13
|
+
var U = (e, t, r) => (Re(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
14
|
var pt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (u) => {
|
16
16
|
try {
|
@@ -35,18 +35,18 @@ function Vt(e) {
|
|
35
35
|
function gt() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
|
-
function
|
38
|
+
function J(e) {
|
39
39
|
e.forEach(Vt);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function rt(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
44
|
function Xt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
|
-
let
|
47
|
+
let Ce;
|
48
48
|
function bt(e, t) {
|
49
|
-
return e === t ? !0 : (
|
49
|
+
return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
|
50
50
|
}
|
51
51
|
function Dr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
@@ -66,7 +66,7 @@ function B(e, t) {
|
|
66
66
|
function Gr(e, t, r) {
|
67
67
|
const n = kr(e);
|
68
68
|
if (!n.getElementById(t)) {
|
69
|
-
const i =
|
69
|
+
const i = L("style");
|
70
70
|
i.id = t, i.textContent = r, $r(n, i);
|
71
71
|
}
|
72
72
|
}
|
@@ -97,28 +97,28 @@ function jr(e, t) {
|
|
97
97
|
for (let r = 0; r < e.length; r += 1)
|
98
98
|
e[r] && e[r].d(t);
|
99
99
|
}
|
100
|
-
function
|
100
|
+
function L(e) {
|
101
101
|
return document.createElement(e);
|
102
102
|
}
|
103
|
-
function
|
103
|
+
function _e(e) {
|
104
104
|
return document.createTextNode(e);
|
105
105
|
}
|
106
|
-
function
|
107
|
-
return
|
106
|
+
function q() {
|
107
|
+
return _e(" ");
|
108
108
|
}
|
109
|
-
function
|
110
|
-
return
|
109
|
+
function ge() {
|
110
|
+
return _e("");
|
111
111
|
}
|
112
|
-
function
|
112
|
+
function Ae(e, t, r, n) {
|
113
113
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function S(e, t, r) {
|
116
116
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
117
117
|
}
|
118
118
|
function Vr(e) {
|
119
119
|
return Array.from(e.childNodes);
|
120
120
|
}
|
121
|
-
function
|
121
|
+
function nt(e, t) {
|
122
122
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
123
123
|
t);
|
124
124
|
}
|
@@ -131,71 +131,71 @@ function Xr(e) {
|
|
131
131
|
}
|
132
132
|
), t;
|
133
133
|
}
|
134
|
-
let
|
135
|
-
function
|
136
|
-
|
134
|
+
let be;
|
135
|
+
function de(e) {
|
136
|
+
be = e;
|
137
137
|
}
|
138
138
|
function Wr() {
|
139
|
-
if (!
|
139
|
+
if (!be)
|
140
140
|
throw new Error("Function called outside component initialization");
|
141
|
-
return
|
141
|
+
return be;
|
142
142
|
}
|
143
143
|
function zr(e) {
|
144
144
|
Wr().$$.on_mount.push(e);
|
145
145
|
}
|
146
|
-
const
|
147
|
-
let
|
146
|
+
const re = [], pe = [];
|
147
|
+
let ne = [];
|
148
148
|
const yt = [], Zr = /* @__PURE__ */ Promise.resolve();
|
149
|
-
let
|
149
|
+
let Xe = !1;
|
150
150
|
function Qr() {
|
151
|
-
|
151
|
+
Xe || (Xe = !0, Zr.then(A));
|
152
152
|
}
|
153
|
-
function
|
154
|
-
|
153
|
+
function We(e) {
|
154
|
+
ne.push(e);
|
155
155
|
}
|
156
|
-
const
|
157
|
-
let
|
156
|
+
const De = /* @__PURE__ */ new Set();
|
157
|
+
let ee = 0;
|
158
158
|
function A() {
|
159
|
-
if (
|
159
|
+
if (ee !== 0)
|
160
160
|
return;
|
161
|
-
const e =
|
161
|
+
const e = be;
|
162
162
|
do {
|
163
163
|
try {
|
164
|
-
for (;
|
165
|
-
const t =
|
166
|
-
|
164
|
+
for (; ee < re.length; ) {
|
165
|
+
const t = re[ee];
|
166
|
+
ee++, de(t), qr(t.$$);
|
167
167
|
}
|
168
168
|
} catch (t) {
|
169
|
-
throw
|
169
|
+
throw re.length = 0, ee = 0, t;
|
170
170
|
}
|
171
|
-
for (
|
172
|
-
|
173
|
-
for (let t = 0; t <
|
174
|
-
const r =
|
175
|
-
|
171
|
+
for (de(null), re.length = 0, ee = 0; pe.length; )
|
172
|
+
pe.pop()();
|
173
|
+
for (let t = 0; t < ne.length; t += 1) {
|
174
|
+
const r = ne[t];
|
175
|
+
De.has(r) || (De.add(r), r());
|
176
176
|
}
|
177
|
-
|
178
|
-
} while (
|
177
|
+
ne.length = 0;
|
178
|
+
} while (re.length);
|
179
179
|
for (; yt.length; )
|
180
180
|
yt.pop()();
|
181
|
-
|
181
|
+
Xe = !1, De.clear(), de(e);
|
182
182
|
}
|
183
183
|
function qr(e) {
|
184
184
|
if (e.fragment !== null) {
|
185
|
-
e.update(),
|
185
|
+
e.update(), J(e.before_update);
|
186
186
|
const t = e.dirty;
|
187
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
187
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
188
188
|
}
|
189
189
|
}
|
190
190
|
function Jr(e) {
|
191
191
|
const t = [], r = [];
|
192
|
-
|
192
|
+
ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
|
193
193
|
}
|
194
194
|
const Yr = /* @__PURE__ */ new Set();
|
195
195
|
function Wt(e, t) {
|
196
196
|
e && e.i && (Yr.delete(e), e.i(t));
|
197
197
|
}
|
198
|
-
function
|
198
|
+
function ie(e) {
|
199
199
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
200
200
|
}
|
201
201
|
function zt(e, t) {
|
@@ -206,45 +206,45 @@ function Zt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
|
206
206
|
const b = {};
|
207
207
|
for (; g--; )
|
208
208
|
b[e[g].key] = g;
|
209
|
-
const d = [],
|
209
|
+
const d = [], H = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), x = [];
|
210
210
|
for (g = p; g--; ) {
|
211
|
-
const
|
212
|
-
let
|
213
|
-
|
211
|
+
const w = m(i, o, g), M = r(w);
|
212
|
+
let P = s.get(M);
|
213
|
+
P ? x.push(() => P.p(w, t)) : (P = l(M, w), P.c()), H.set(M, d[g] = P), M in b && _.set(M, Math.abs(g - b[M]));
|
214
214
|
}
|
215
|
-
const
|
216
|
-
function $(
|
217
|
-
Wt(
|
215
|
+
const O = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
|
216
|
+
function $(w) {
|
217
|
+
Wt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, p--;
|
218
218
|
}
|
219
219
|
for (; f && p; ) {
|
220
|
-
const
|
221
|
-
|
220
|
+
const w = d[p - 1], M = e[f - 1], P = w.key, V = M.key;
|
221
|
+
w === M ? (h = w.first, f--, p--) : H.has(V) ? !s.has(P) || O.has(P) ? $(w) : I.has(V) ? f-- : _.get(P) > _.get(V) ? (I.add(P), $(w)) : (O.add(V), f--) : (u(M, s), f--);
|
222
222
|
}
|
223
223
|
for (; f--; ) {
|
224
|
-
const
|
225
|
-
|
224
|
+
const w = e[f];
|
225
|
+
H.has(w.key) || u(w, s);
|
226
226
|
}
|
227
227
|
for (; p; )
|
228
228
|
$(d[p - 1]);
|
229
|
-
return
|
229
|
+
return J(x), d;
|
230
230
|
}
|
231
231
|
function Kr(e, t, r) {
|
232
232
|
const { fragment: n, after_update: i } = e.$$;
|
233
|
-
n && n.m(t, r),
|
234
|
-
const o = e.$$.on_mount.map(Vt).filter(
|
235
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
236
|
-
}), i.forEach(
|
233
|
+
n && n.m(t, r), We(() => {
|
234
|
+
const o = e.$$.on_mount.map(Vt).filter(rt);
|
235
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
236
|
+
}), i.forEach(We);
|
237
237
|
}
|
238
238
|
function en(e, t) {
|
239
239
|
const r = e.$$;
|
240
|
-
r.fragment !== null && (Jr(r.after_update),
|
240
|
+
r.fragment !== null && (Jr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
241
241
|
}
|
242
242
|
function tn(e, t) {
|
243
|
-
e.$$.dirty[0] === -1 && (
|
243
|
+
e.$$.dirty[0] === -1 && (re.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
244
244
|
}
|
245
245
|
function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
246
|
-
const u =
|
247
|
-
|
246
|
+
const u = be;
|
247
|
+
de(e);
|
248
248
|
const l = e.$$ = {
|
249
249
|
fragment: null,
|
250
250
|
ctx: [],
|
@@ -271,7 +271,7 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
271
271
|
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
272
272
|
const g = p.length ? p[0] : f;
|
273
273
|
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && tn(e, m)), f;
|
274
|
-
}) : [], l.update(), h = !0,
|
274
|
+
}) : [], l.update(), h = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
275
275
|
if (t.hydrate) {
|
276
276
|
const m = Vr(t.target);
|
277
277
|
l.fragment && l.fragment.l(m), m.forEach(D);
|
@@ -279,7 +279,7 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
279
279
|
l.fragment && l.fragment.c();
|
280
280
|
t.intro && Wt(e.$$.fragment), Kr(e, t.target, t.anchor), A();
|
281
281
|
}
|
282
|
-
|
282
|
+
de(u);
|
283
283
|
}
|
284
284
|
let Qt;
|
285
285
|
typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
326
326
|
let s;
|
327
327
|
return {
|
328
328
|
c: function() {
|
329
|
-
s =
|
329
|
+
s = L("slot"), o !== "default" && S(s, "name", o);
|
330
330
|
},
|
331
331
|
/**
|
332
332
|
* @param {HTMLElement} target
|
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
348
348
|
o in n && (r[o] = [t(o)]);
|
349
349
|
for (const o of this.attributes) {
|
350
350
|
const s = this.$$g_p(o.name);
|
351
|
-
s in this.$$d || (this.$$d[s] =
|
351
|
+
s in this.$$d || (this.$$d[s] = He(s, o.value, this.$$p_d, "toProp"));
|
352
352
|
}
|
353
353
|
for (const o in this.$$p_d)
|
354
354
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
365
365
|
this.$$r = !0;
|
366
366
|
for (const o in this.$$p_d)
|
367
367
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
368
|
-
const s =
|
368
|
+
const s = He(
|
369
369
|
o,
|
370
370
|
this.$$d[o],
|
371
371
|
this.$$p_d,
|
@@ -389,7 +389,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
389
389
|
// and setting attributes through setAttribute etc, this is helpful
|
390
390
|
attributeChangedCallback(t, r, n) {
|
391
391
|
var i;
|
392
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
392
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = He(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
393
393
|
}
|
394
394
|
disconnectedCallback() {
|
395
395
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -402,7 +402,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
402
402
|
) || t;
|
403
403
|
}
|
404
404
|
});
|
405
|
-
function
|
405
|
+
function He(e, t, r, n) {
|
406
406
|
var o;
|
407
407
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
408
408
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
@@ -450,7 +450,7 @@ function nn(e, t, r, n, i, o) {
|
|
450
450
|
},
|
451
451
|
set(u) {
|
452
452
|
var l;
|
453
|
-
u =
|
453
|
+
u = He(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
454
454
|
}
|
455
455
|
});
|
456
456
|
}), n.forEach((a) => {
|
@@ -493,7 +493,7 @@ class on {
|
|
493
493
|
* @returns {() => void}
|
494
494
|
*/
|
495
495
|
$on(t, r) {
|
496
|
-
if (!
|
496
|
+
if (!rt(r))
|
497
497
|
return k;
|
498
498
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
499
499
|
return n.push(r), () => {
|
@@ -534,24 +534,24 @@ function un(e, t, r) {
|
|
534
534
|
});
|
535
535
|
}
|
536
536
|
}
|
537
|
-
const
|
537
|
+
const te = [];
|
538
538
|
function hn(e, t) {
|
539
539
|
return {
|
540
|
-
subscribe:
|
540
|
+
subscribe: Me(e, t).subscribe
|
541
541
|
};
|
542
542
|
}
|
543
|
-
function
|
543
|
+
function Me(e, t = k) {
|
544
544
|
let r;
|
545
545
|
const n = /* @__PURE__ */ new Set();
|
546
546
|
function i(a) {
|
547
547
|
if (Xt(e, a) && (e = a, r)) {
|
548
|
-
const u = !
|
548
|
+
const u = !te.length;
|
549
549
|
for (const l of n)
|
550
|
-
l[1](),
|
550
|
+
l[1](), te.push(l, e);
|
551
551
|
if (u) {
|
552
|
-
for (let l = 0; l <
|
553
|
-
|
554
|
-
|
552
|
+
for (let l = 0; l < te.length; l += 2)
|
553
|
+
te[l][0](te[l + 1]);
|
554
|
+
te.length = 0;
|
555
555
|
}
|
556
556
|
}
|
557
557
|
}
|
@@ -566,7 +566,7 @@ function Pe(e, t = k) {
|
|
566
566
|
}
|
567
567
|
return { set: i, update: o, subscribe: s };
|
568
568
|
}
|
569
|
-
function
|
569
|
+
function ue(e, t, r) {
|
570
570
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
571
571
|
if (!i.every(Boolean))
|
572
572
|
throw new Error("derived() expects stores as input, got a falsy value");
|
@@ -580,7 +580,7 @@ function he(e, t, r) {
|
|
580
580
|
return;
|
581
581
|
m();
|
582
582
|
const g = t(n ? l[0] : l, s, a);
|
583
|
-
o ? s(g) : m =
|
583
|
+
o ? s(g) : m = rt(g) ? g : k;
|
584
584
|
}, p = i.map(
|
585
585
|
(g, b) => Ur(
|
586
586
|
g,
|
@@ -593,7 +593,7 @@ function he(e, t, r) {
|
|
593
593
|
)
|
594
594
|
);
|
595
595
|
return u = !0, f(), function() {
|
596
|
-
|
596
|
+
J(p), m(), u = !1;
|
597
597
|
};
|
598
598
|
});
|
599
599
|
}
|
@@ -617,19 +617,19 @@ function bn(e) {
|
|
617
617
|
function yn(e) {
|
618
618
|
return Array.isArray(e) ? [] : {};
|
619
619
|
}
|
620
|
-
function
|
621
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
620
|
+
function ye(e, t) {
|
621
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? oe(yn(e), e, t) : e;
|
622
622
|
}
|
623
623
|
function vn(e, t, r) {
|
624
624
|
return e.concat(t).map(function(n) {
|
625
|
-
return
|
625
|
+
return ye(n, r);
|
626
626
|
});
|
627
627
|
}
|
628
628
|
function _n(e, t) {
|
629
629
|
if (!t.customMerge)
|
630
|
-
return
|
630
|
+
return oe;
|
631
631
|
var r = t.customMerge(e);
|
632
|
-
return typeof r == "function" ? r :
|
632
|
+
return typeof r == "function" ? r : oe;
|
633
633
|
}
|
634
634
|
function En(e) {
|
635
635
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
@@ -652,51 +652,65 @@ function xn(e, t) {
|
|
652
652
|
function Cn(e, t, r) {
|
653
653
|
var n = {};
|
654
654
|
return r.isMergeableObject(e) && vt(e).forEach(function(i) {
|
655
|
-
n[i] =
|
655
|
+
n[i] = ye(e[i], r);
|
656
656
|
}), vt(t).forEach(function(i) {
|
657
|
-
xn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] =
|
657
|
+
xn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
|
658
658
|
}), n;
|
659
659
|
}
|
660
|
-
function
|
661
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified =
|
660
|
+
function oe(e, t, r) {
|
661
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = ye;
|
662
662
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
663
|
-
return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) :
|
663
|
+
return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : ye(t, r);
|
664
664
|
}
|
665
|
-
|
665
|
+
oe.all = function(t, r) {
|
666
666
|
if (!Array.isArray(t))
|
667
667
|
throw new Error("first argument should be an array");
|
668
668
|
return t.reduce(function(n, i) {
|
669
|
-
return
|
669
|
+
return oe(n, i, r);
|
670
670
|
}, {});
|
671
671
|
};
|
672
|
-
var wn =
|
672
|
+
var wn = oe, Hn = wn;
|
673
673
|
const Sn = /* @__PURE__ */ cn(Hn);
|
674
|
-
|
675
|
-
|
674
|
+
/*! *****************************************************************************
|
675
|
+
Copyright (c) Microsoft Corporation.
|
676
|
+
|
677
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
678
|
+
purpose with or without fee is hereby granted.
|
679
|
+
|
680
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
681
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
682
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
683
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
684
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
685
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
686
|
+
PERFORMANCE OF THIS SOFTWARE.
|
687
|
+
***************************************************************************** */
|
688
|
+
var ze = function(e, t) {
|
689
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
676
690
|
r.__proto__ = n;
|
677
691
|
} || function(r, n) {
|
678
692
|
for (var i in n)
|
679
693
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
680
|
-
},
|
694
|
+
}, ze(e, t);
|
681
695
|
};
|
682
|
-
function
|
696
|
+
function Ne(e, t) {
|
683
697
|
if (typeof t != "function" && t !== null)
|
684
698
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
685
|
-
|
699
|
+
ze(e, t);
|
686
700
|
function r() {
|
687
701
|
this.constructor = e;
|
688
702
|
}
|
689
703
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
690
704
|
}
|
691
|
-
var
|
692
|
-
return
|
705
|
+
var E = function() {
|
706
|
+
return E = Object.assign || function(t) {
|
693
707
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
694
708
|
r = arguments[n];
|
695
709
|
for (var o in r)
|
696
710
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
697
711
|
}
|
698
712
|
return t;
|
699
|
-
},
|
713
|
+
}, E.apply(this, arguments);
|
700
714
|
};
|
701
715
|
function Tn(e, t) {
|
702
716
|
var r = {};
|
@@ -707,14 +721,14 @@ function Tn(e, t) {
|
|
707
721
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
708
722
|
return r;
|
709
723
|
}
|
710
|
-
function
|
711
|
-
if (
|
724
|
+
function Ue(e, t, r) {
|
725
|
+
if (arguments.length === 2)
|
712
726
|
for (var n = 0, i = t.length, o; n < i; n++)
|
713
727
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
714
|
-
return e.concat(o ||
|
728
|
+
return e.concat(o || t);
|
715
729
|
}
|
716
|
-
function
|
717
|
-
var r = t && t.cache ? t.cache :
|
730
|
+
function Ge(e, t) {
|
731
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Bn;
|
718
732
|
return i(e, {
|
719
733
|
cache: r,
|
720
734
|
serializer: n
|
@@ -723,103 +737,95 @@ function $e(e, t) {
|
|
723
737
|
function An(e) {
|
724
738
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
725
739
|
}
|
726
|
-
function
|
740
|
+
function Jt(e, t, r, n) {
|
727
741
|
var i = An(n) ? n : r(n), o = t.get(i);
|
728
742
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
729
743
|
}
|
730
|
-
function
|
744
|
+
function Yt(e, t, r) {
|
731
745
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
732
746
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
733
747
|
}
|
734
|
-
function
|
748
|
+
function it(e, t, r, n, i) {
|
735
749
|
return r.bind(t, e, n, i);
|
736
750
|
}
|
751
|
+
function Bn(e, t) {
|
752
|
+
var r = e.length === 1 ? Jt : Yt;
|
753
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
754
|
+
}
|
737
755
|
function In(e, t) {
|
738
|
-
|
739
|
-
return Yt(e, this, r, t.cache.create(), t.serializer);
|
756
|
+
return it(e, this, Yt, t.cache.create(), t.serializer);
|
740
757
|
}
|
741
758
|
function Mn(e, t) {
|
742
|
-
return
|
759
|
+
return it(e, this, Jt, t.cache.create(), t.serializer);
|
743
760
|
}
|
744
761
|
var Nn = function() {
|
745
762
|
return JSON.stringify(arguments);
|
746
|
-
}
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
}()
|
758
|
-
), On = {
|
763
|
+
};
|
764
|
+
function ot() {
|
765
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
766
|
+
}
|
767
|
+
ot.prototype.get = function(e) {
|
768
|
+
return this.cache[e];
|
769
|
+
};
|
770
|
+
ot.prototype.set = function(e, t) {
|
771
|
+
this.cache[e] = t;
|
772
|
+
};
|
773
|
+
var Ln = {
|
759
774
|
create: function() {
|
760
|
-
return new
|
775
|
+
return new ot();
|
761
776
|
}
|
762
|
-
},
|
763
|
-
variadic:
|
764
|
-
|
765
|
-
|
766
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
767
|
-
r = arguments[n];
|
768
|
-
for (var o in r)
|
769
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
770
|
-
}
|
771
|
-
return t;
|
772
|
-
}, Ie.apply(this, arguments);
|
773
|
-
};
|
774
|
-
var y;
|
777
|
+
}, ke = {
|
778
|
+
variadic: In,
|
779
|
+
monadic: Mn
|
780
|
+
}, y;
|
775
781
|
(function(e) {
|
776
782
|
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";
|
777
783
|
})(y || (y = {}));
|
778
|
-
var
|
784
|
+
var T;
|
779
785
|
(function(e) {
|
780
786
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
781
|
-
})(
|
782
|
-
var
|
787
|
+
})(T || (T = {}));
|
788
|
+
var se;
|
783
789
|
(function(e) {
|
784
790
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
785
|
-
})(
|
791
|
+
})(se || (se = {}));
|
786
792
|
function _t(e) {
|
787
|
-
return e.type ===
|
793
|
+
return e.type === T.literal;
|
788
794
|
}
|
789
|
-
function
|
790
|
-
return e.type ===
|
795
|
+
function Pn(e) {
|
796
|
+
return e.type === T.argument;
|
791
797
|
}
|
792
798
|
function Kt(e) {
|
793
|
-
return e.type ===
|
799
|
+
return e.type === T.number;
|
794
800
|
}
|
795
801
|
function er(e) {
|
796
|
-
return e.type ===
|
802
|
+
return e.type === T.date;
|
797
803
|
}
|
798
804
|
function tr(e) {
|
799
|
-
return e.type ===
|
805
|
+
return e.type === T.time;
|
800
806
|
}
|
801
807
|
function rr(e) {
|
802
|
-
return e.type ===
|
808
|
+
return e.type === T.select;
|
803
809
|
}
|
804
810
|
function nr(e) {
|
805
|
-
return e.type ===
|
811
|
+
return e.type === T.plural;
|
806
812
|
}
|
807
|
-
function
|
808
|
-
return e.type ===
|
813
|
+
function On(e) {
|
814
|
+
return e.type === T.pound;
|
809
815
|
}
|
810
816
|
function ir(e) {
|
811
|
-
return e.type ===
|
817
|
+
return e.type === T.tag;
|
812
818
|
}
|
813
819
|
function or(e) {
|
814
|
-
return !!(e && typeof e == "object" && e.type ===
|
820
|
+
return !!(e && typeof e == "object" && e.type === se.number);
|
815
821
|
}
|
816
|
-
function
|
817
|
-
return !!(e && typeof e == "object" && e.type ===
|
822
|
+
function Ze(e) {
|
823
|
+
return !!(e && typeof e == "object" && e.type === se.dateTime);
|
818
824
|
}
|
819
|
-
var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
820
|
-
function
|
825
|
+
var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
|
826
|
+
function Rn(e) {
|
821
827
|
var t = {};
|
822
|
-
return e.replace(
|
828
|
+
return e.replace(Fn, function(r) {
|
823
829
|
var n = r.length;
|
824
830
|
switch (r[0]) {
|
825
831
|
case "G":
|
@@ -908,21 +914,11 @@ function Dn(e) {
|
|
908
914
|
return "";
|
909
915
|
}), t;
|
910
916
|
}
|
911
|
-
var
|
912
|
-
|
913
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
914
|
-
r = arguments[n];
|
915
|
-
for (var o in r)
|
916
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
917
|
-
}
|
918
|
-
return t;
|
919
|
-
}, T.apply(this, arguments);
|
920
|
-
};
|
921
|
-
var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
922
|
-
function Gn(e) {
|
917
|
+
var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
918
|
+
function Un(e) {
|
923
919
|
if (e.length === 0)
|
924
920
|
throw new Error("Number skeleton cannot be empty");
|
925
|
-
for (var t = e.split(
|
921
|
+
for (var t = e.split(Dn).filter(function(f) {
|
926
922
|
return f.length > 0;
|
927
923
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
928
924
|
var o = i[n], s = o.split("/");
|
@@ -937,10 +933,10 @@ function Gn(e) {
|
|
937
933
|
}
|
938
934
|
return r;
|
939
935
|
}
|
940
|
-
function
|
936
|
+
function Gn(e) {
|
941
937
|
return e.replace(/^(.*?)-/, "");
|
942
938
|
}
|
943
|
-
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g,
|
939
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
|
944
940
|
function xt(e) {
|
945
941
|
var t = {};
|
946
942
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
|
@@ -987,7 +983,7 @@ function ur(e) {
|
|
987
983
|
};
|
988
984
|
}
|
989
985
|
}
|
990
|
-
function
|
986
|
+
function $n(e) {
|
991
987
|
var t;
|
992
988
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
993
989
|
notation: "engineering"
|
@@ -1005,7 +1001,7 @@ function Ct(e) {
|
|
1005
1001
|
var t = {}, r = ur(e);
|
1006
1002
|
return r || t;
|
1007
1003
|
}
|
1008
|
-
function
|
1004
|
+
function jn(e) {
|
1009
1005
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1010
1006
|
var i = n[r];
|
1011
1007
|
switch (i.stem) {
|
@@ -1029,7 +1025,7 @@ function Vn(e) {
|
|
1029
1025
|
continue;
|
1030
1026
|
case "measure-unit":
|
1031
1027
|
case "unit":
|
1032
|
-
t.style = "unit", t.unit =
|
1028
|
+
t.style = "unit", t.unit = Gn(i.options[0]);
|
1033
1029
|
continue;
|
1034
1030
|
case "compact-short":
|
1035
1031
|
case "K":
|
@@ -1040,13 +1036,13 @@ function Vn(e) {
|
|
1040
1036
|
t.notation = "compact", t.compactDisplay = "long";
|
1041
1037
|
continue;
|
1042
1038
|
case "scientific":
|
1043
|
-
t =
|
1044
|
-
return
|
1039
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1040
|
+
return E(E({}, u), Ct(l));
|
1045
1041
|
}, {}));
|
1046
1042
|
continue;
|
1047
1043
|
case "engineering":
|
1048
|
-
t =
|
1049
|
-
return
|
1044
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1045
|
+
return E(E({}, u), Ct(l));
|
1050
1046
|
}, {}));
|
1051
1047
|
continue;
|
1052
1048
|
case "notation-simple":
|
@@ -1091,7 +1087,7 @@ function Vn(e) {
|
|
1091
1087
|
case "integer-width":
|
1092
1088
|
if (i.options.length > 1)
|
1093
1089
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1094
|
-
i.options[0].replace(
|
1090
|
+
i.options[0].replace(kn, function(u, l, h, m, f, p) {
|
1095
1091
|
if (l)
|
1096
1092
|
t.minimumIntegerDigits = h.length;
|
1097
1093
|
else {
|
@@ -1115,21 +1111,21 @@ function Vn(e) {
|
|
1115
1111
|
return h === "*" ? 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), "";
|
1116
1112
|
});
|
1117
1113
|
var o = i.options[0];
|
1118
|
-
o === "w" ? t =
|
1114
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), xt(o)));
|
1119
1115
|
continue;
|
1120
1116
|
}
|
1121
1117
|
if (ar.test(i.stem)) {
|
1122
|
-
t =
|
1118
|
+
t = E(E({}, t), xt(i.stem));
|
1123
1119
|
continue;
|
1124
1120
|
}
|
1125
1121
|
var s = ur(i.stem);
|
1126
|
-
s && (t =
|
1127
|
-
var a =
|
1128
|
-
a && (t =
|
1122
|
+
s && (t = E(E({}, t), s));
|
1123
|
+
var a = $n(i.stem);
|
1124
|
+
a && (t = E(E({}, t), a));
|
1129
1125
|
}
|
1130
1126
|
return t;
|
1131
1127
|
}
|
1132
|
-
var
|
1128
|
+
var we = {
|
1133
1129
|
"001": [
|
1134
1130
|
"H",
|
1135
1131
|
"h"
|
@@ -2544,13 +2540,13 @@ var He = {
|
|
2544
2540
|
"h"
|
2545
2541
|
]
|
2546
2542
|
};
|
2547
|
-
function
|
2543
|
+
function Vn(e, t) {
|
2548
2544
|
for (var r = "", n = 0; n < e.length; n++) {
|
2549
2545
|
var i = e.charAt(n);
|
2550
2546
|
if (i === "j") {
|
2551
2547
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2552
2548
|
o++, n++;
|
2553
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
2549
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Xn(t);
|
2554
2550
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2555
2551
|
r += u;
|
2556
2552
|
for (; s-- > 0; )
|
@@ -2560,7 +2556,7 @@ function Xn(e, t) {
|
|
2560
2556
|
}
|
2561
2557
|
return r;
|
2562
2558
|
}
|
2563
|
-
function
|
2559
|
+
function Xn(e) {
|
2564
2560
|
var t = e.hourCycle;
|
2565
2561
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2566
2562
|
e.hourCycles && // @ts-ignore
|
@@ -2579,23 +2575,23 @@ function Wn(e) {
|
|
2579
2575
|
}
|
2580
2576
|
var r = e.language, n;
|
2581
2577
|
r !== "root" && (n = e.maximize().region);
|
2582
|
-
var i =
|
2578
|
+
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
2583
2579
|
return i[0];
|
2584
2580
|
}
|
2585
|
-
var
|
2581
|
+
var $e, Wn = new RegExp("^".concat(sr.source, "*")), zn = new RegExp("".concat(sr.source, "*$"));
|
2586
2582
|
function v(e, t) {
|
2587
2583
|
return { start: e, end: t };
|
2588
2584
|
}
|
2589
|
-
var
|
2585
|
+
var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
|
2590
2586
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2591
|
-
},
|
2587
|
+
}, Qe = !0;
|
2592
2588
|
try {
|
2593
|
-
var
|
2594
|
-
|
2589
|
+
var ri = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2590
|
+
Qe = (($e = ri.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
2595
2591
|
} catch (e) {
|
2596
|
-
|
2592
|
+
Qe = !1;
|
2597
2593
|
}
|
2598
|
-
var wt =
|
2594
|
+
var wt = Zn ? (
|
2599
2595
|
// Native
|
2600
2596
|
function(t, r, n) {
|
2601
2597
|
return t.startsWith(r, n);
|
@@ -2605,7 +2601,7 @@ var wt = Qn ? (
|
|
2605
2601
|
function(t, r, n) {
|
2606
2602
|
return t.slice(n, n + r.length) === r;
|
2607
2603
|
}
|
2608
|
-
),
|
2604
|
+
), qe = Qn ? String.fromCodePoint : (
|
2609
2605
|
// IE11
|
2610
2606
|
function() {
|
2611
2607
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2619,7 +2615,7 @@ var wt = Qn ? (
|
|
2619
2615
|
}
|
2620
2616
|
), Ht = (
|
2621
2617
|
// native
|
2622
|
-
|
2618
|
+
qn ? Object.fromEntries : (
|
2623
2619
|
// Ponyfill
|
2624
2620
|
function(t) {
|
2625
2621
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2629,7 +2625,7 @@ var wt = Qn ? (
|
|
2629
2625
|
return r;
|
2630
2626
|
}
|
2631
2627
|
)
|
2632
|
-
), hr =
|
2628
|
+
), hr = Jn ? (
|
2633
2629
|
// Native
|
2634
2630
|
function(t, r) {
|
2635
2631
|
return t.codePointAt(r);
|
@@ -2643,7 +2639,7 @@ var wt = Qn ? (
|
|
2643
2639
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2644
2640
|
}
|
2645
2641
|
}
|
2646
|
-
),
|
2642
|
+
), ni = Yn ? (
|
2647
2643
|
// Native
|
2648
2644
|
function(t) {
|
2649
2645
|
return t.trimStart();
|
@@ -2651,9 +2647,9 @@ var wt = Qn ? (
|
|
2651
2647
|
) : (
|
2652
2648
|
// Ponyfill
|
2653
2649
|
function(t) {
|
2654
|
-
return t.replace(
|
2650
|
+
return t.replace(Wn, "");
|
2655
2651
|
}
|
2656
|
-
),
|
2652
|
+
), ii = Kn ? (
|
2657
2653
|
// Native
|
2658
2654
|
function(t) {
|
2659
2655
|
return t.trimEnd();
|
@@ -2661,32 +2657,32 @@ var wt = Qn ? (
|
|
2661
2657
|
) : (
|
2662
2658
|
// Ponyfill
|
2663
2659
|
function(t) {
|
2664
|
-
return t.replace(
|
2660
|
+
return t.replace(zn, "");
|
2665
2661
|
}
|
2666
2662
|
);
|
2667
2663
|
function cr(e, t) {
|
2668
2664
|
return new RegExp(e, t);
|
2669
2665
|
}
|
2670
|
-
var
|
2671
|
-
if (
|
2666
|
+
var Je;
|
2667
|
+
if (Qe) {
|
2672
2668
|
var St = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2673
|
-
|
2669
|
+
Je = function(t, r) {
|
2674
2670
|
var n;
|
2675
2671
|
St.lastIndex = r;
|
2676
2672
|
var i = St.exec(t);
|
2677
2673
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2678
2674
|
};
|
2679
2675
|
} else
|
2680
|
-
|
2676
|
+
Je = function(t, r) {
|
2681
2677
|
for (var n = []; ; ) {
|
2682
2678
|
var i = hr(t, r);
|
2683
|
-
if (i === void 0 || fr(i) ||
|
2679
|
+
if (i === void 0 || fr(i) || li(i))
|
2684
2680
|
break;
|
2685
2681
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2686
2682
|
}
|
2687
|
-
return
|
2683
|
+
return qe.apply(void 0, n);
|
2688
2684
|
};
|
2689
|
-
var
|
2685
|
+
var oi = (
|
2690
2686
|
/** @class */
|
2691
2687
|
function() {
|
2692
2688
|
function e(t, r) {
|
@@ -2710,14 +2706,14 @@ var si = (
|
|
2710
2706
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2711
2707
|
var a = this.clonePosition();
|
2712
2708
|
this.bump(), i.push({
|
2713
|
-
type:
|
2709
|
+
type: T.pound,
|
2714
2710
|
location: v(a, this.clonePosition())
|
2715
2711
|
});
|
2716
2712
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2717
2713
|
if (n)
|
2718
2714
|
break;
|
2719
2715
|
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
2720
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2716
|
+
} else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
|
2721
2717
|
var s = this.parseTag(t, r);
|
2722
2718
|
if (s.err)
|
2723
2719
|
return s;
|
@@ -2738,7 +2734,7 @@ var si = (
|
|
2738
2734
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2739
2735
|
return {
|
2740
2736
|
val: {
|
2741
|
-
type:
|
2737
|
+
type: T.literal,
|
2742
2738
|
value: "<".concat(i, "/>"),
|
2743
2739
|
location: v(n, this.clonePosition())
|
2744
2740
|
},
|
@@ -2750,12 +2746,12 @@ var si = (
|
|
2750
2746
|
return o;
|
2751
2747
|
var s = o.val, a = this.clonePosition();
|
2752
2748
|
if (this.bumpIf("</")) {
|
2753
|
-
if (this.isEOF() || !
|
2749
|
+
if (this.isEOF() || !Ye(this.char()))
|
2754
2750
|
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
2755
2751
|
var u = this.clonePosition(), l = this.parseTagName();
|
2756
2752
|
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2757
2753
|
val: {
|
2758
|
-
type:
|
2754
|
+
type: T.tag,
|
2759
2755
|
value: i,
|
2760
2756
|
children: s,
|
2761
2757
|
location: v(n, this.clonePosition())
|
@@ -2768,7 +2764,7 @@ var si = (
|
|
2768
2764
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2769
2765
|
}, e.prototype.parseTagName = function() {
|
2770
2766
|
var t = this.offset();
|
2771
|
-
for (this.bump(); !this.isEOF() &&
|
2767
|
+
for (this.bump(); !this.isEOF() && ai(this.char()); )
|
2772
2768
|
this.bump();
|
2773
2769
|
return this.message.slice(t, this.offset());
|
2774
2770
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2792,12 +2788,12 @@ var si = (
|
|
2792
2788
|
}
|
2793
2789
|
var u = v(n, this.clonePosition());
|
2794
2790
|
return {
|
2795
|
-
val: { type:
|
2791
|
+
val: { type: T.literal, value: i, location: u },
|
2796
2792
|
err: null
|
2797
2793
|
};
|
2798
2794
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2799
2795
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2800
|
-
!
|
2796
|
+
!si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2801
2797
|
}, e.prototype.tryParseQuote = function(t) {
|
2802
2798
|
if (this.isEOF() || this.char() !== 39)
|
2803
2799
|
return null;
|
@@ -2831,12 +2827,12 @@ var si = (
|
|
2831
2827
|
r.push(n);
|
2832
2828
|
this.bump();
|
2833
2829
|
}
|
2834
|
-
return
|
2830
|
+
return qe.apply(void 0, r);
|
2835
2831
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2836
2832
|
if (this.isEOF())
|
2837
2833
|
return null;
|
2838
2834
|
var n = this.char();
|
2839
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2835
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
2840
2836
|
}, e.prototype.parseArgument = function(t, r) {
|
2841
2837
|
var n = this.clonePosition();
|
2842
2838
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2852,7 +2848,7 @@ var si = (
|
|
2852
2848
|
case 125:
|
2853
2849
|
return this.bump(), {
|
2854
2850
|
val: {
|
2855
|
-
type:
|
2851
|
+
type: T.argument,
|
2856
2852
|
// value does not include the opening and closing braces.
|
2857
2853
|
value: i,
|
2858
2854
|
location: v(n, this.clonePosition())
|
@@ -2865,7 +2861,7 @@ var si = (
|
|
2865
2861
|
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2866
2862
|
}
|
2867
2863
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2868
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2864
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
2869
2865
|
this.bumpTo(i);
|
2870
2866
|
var o = this.clonePosition(), s = v(t, o);
|
2871
2867
|
return { value: n, location: s };
|
@@ -2884,7 +2880,7 @@ var si = (
|
|
2884
2880
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2885
2881
|
if (m.err)
|
2886
2882
|
return m;
|
2887
|
-
var f =
|
2883
|
+
var f = ii(m.val);
|
2888
2884
|
if (f.length === 0)
|
2889
2885
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2890
2886
|
var p = v(h, this.clonePosition());
|
@@ -2895,24 +2891,24 @@ var si = (
|
|
2895
2891
|
return g;
|
2896
2892
|
var b = v(i, this.clonePosition());
|
2897
2893
|
if (l && wt(l == null ? void 0 : l.style, "::", 0)) {
|
2898
|
-
var d =
|
2894
|
+
var d = ni(l.style.slice(2));
|
2899
2895
|
if (a === "number") {
|
2900
2896
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2901
2897
|
return m.err ? m : {
|
2902
|
-
val: { type:
|
2898
|
+
val: { type: T.number, value: n, location: b, style: m.val },
|
2903
2899
|
err: null
|
2904
2900
|
};
|
2905
2901
|
} else {
|
2906
2902
|
if (d.length === 0)
|
2907
2903
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2908
|
-
var
|
2909
|
-
this.locale && (
|
2904
|
+
var H = d;
|
2905
|
+
this.locale && (H = Vn(d, this.locale));
|
2910
2906
|
var f = {
|
2911
|
-
type:
|
2912
|
-
pattern:
|
2907
|
+
type: se.dateTime,
|
2908
|
+
pattern: H,
|
2913
2909
|
location: l.styleLocation,
|
2914
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2915
|
-
}, _ = a === "date" ?
|
2910
|
+
parsedOptions: this.shouldParseSkeletons ? Rn(H) : {}
|
2911
|
+
}, _ = a === "date" ? T.date : T.time;
|
2916
2912
|
return {
|
2917
2913
|
val: { type: _, value: n, location: b, style: f },
|
2918
2914
|
err: null
|
@@ -2921,7 +2917,7 @@ var si = (
|
|
2921
2917
|
}
|
2922
2918
|
return {
|
2923
2919
|
val: {
|
2924
|
-
type: a === "number" ?
|
2920
|
+
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
2925
2921
|
value: n,
|
2926
2922
|
location: b,
|
2927
2923
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
@@ -2932,43 +2928,43 @@ var si = (
|
|
2932
2928
|
case "plural":
|
2933
2929
|
case "selectordinal":
|
2934
2930
|
case "select": {
|
2935
|
-
var
|
2931
|
+
var x = this.clonePosition();
|
2936
2932
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2937
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
2933
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, E({}, x)));
|
2938
2934
|
this.bumpSpace();
|
2939
|
-
var
|
2940
|
-
if (a !== "select" &&
|
2935
|
+
var O = this.parseIdentifierIfPossible(), I = 0;
|
2936
|
+
if (a !== "select" && O.value === "offset") {
|
2941
2937
|
if (!this.bumpIf(":"))
|
2942
2938
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
2943
2939
|
this.bumpSpace();
|
2944
2940
|
var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2945
2941
|
if (m.err)
|
2946
2942
|
return m;
|
2947
|
-
this.bumpSpace(),
|
2943
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), I = m.val;
|
2948
2944
|
}
|
2949
|
-
var $ = this.tryParsePluralOrSelectOptions(t, a, r,
|
2945
|
+
var $ = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
2950
2946
|
if ($.err)
|
2951
2947
|
return $;
|
2952
2948
|
var g = this.tryParseArgumentClose(i);
|
2953
2949
|
if (g.err)
|
2954
2950
|
return g;
|
2955
|
-
var
|
2951
|
+
var w = v(i, this.clonePosition());
|
2956
2952
|
return a === "select" ? {
|
2957
2953
|
val: {
|
2958
|
-
type:
|
2954
|
+
type: T.select,
|
2959
2955
|
value: n,
|
2960
2956
|
options: Ht($.val),
|
2961
|
-
location:
|
2957
|
+
location: w
|
2962
2958
|
},
|
2963
2959
|
err: null
|
2964
2960
|
} : {
|
2965
2961
|
val: {
|
2966
|
-
type:
|
2962
|
+
type: T.plural,
|
2967
2963
|
value: n,
|
2968
2964
|
options: Ht($.val),
|
2969
2965
|
offset: I,
|
2970
2966
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2971
|
-
location:
|
2967
|
+
location: w
|
2972
2968
|
},
|
2973
2969
|
err: null
|
2974
2970
|
};
|
@@ -3016,16 +3012,16 @@ var si = (
|
|
3016
3012
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3017
3013
|
var n = [];
|
3018
3014
|
try {
|
3019
|
-
n =
|
3015
|
+
n = Un(t);
|
3020
3016
|
} catch (i) {
|
3021
3017
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
3022
3018
|
}
|
3023
3019
|
return {
|
3024
3020
|
val: {
|
3025
|
-
type:
|
3021
|
+
type: se.number,
|
3026
3022
|
tokens: n,
|
3027
3023
|
location: r,
|
3028
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3024
|
+
parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
|
3029
3025
|
},
|
3030
3026
|
err: null
|
3031
3027
|
};
|
@@ -3073,7 +3069,7 @@ var si = (
|
|
3073
3069
|
break;
|
3074
3070
|
}
|
3075
3071
|
var u = v(i, this.clonePosition());
|
3076
|
-
return o ? (s *= n,
|
3072
|
+
return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
3077
3073
|
}, e.prototype.offset = function() {
|
3078
3074
|
return this.position.offset;
|
3079
3075
|
}, e.prototype.isEOF = function() {
|
@@ -3139,47 +3135,47 @@ var si = (
|
|
3139
3135
|
}, e;
|
3140
3136
|
}()
|
3141
3137
|
);
|
3142
|
-
function
|
3138
|
+
function Ye(e) {
|
3143
3139
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3144
3140
|
}
|
3145
|
-
function
|
3146
|
-
return
|
3141
|
+
function si(e) {
|
3142
|
+
return Ye(e) || e === 47;
|
3147
3143
|
}
|
3148
|
-
function
|
3144
|
+
function ai(e) {
|
3149
3145
|
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;
|
3150
3146
|
}
|
3151
3147
|
function fr(e) {
|
3152
3148
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3153
3149
|
}
|
3154
|
-
function
|
3150
|
+
function li(e) {
|
3155
3151
|
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;
|
3156
3152
|
}
|
3157
|
-
function
|
3153
|
+
function Ke(e) {
|
3158
3154
|
e.forEach(function(t) {
|
3159
3155
|
if (delete t.location, rr(t) || nr(t))
|
3160
3156
|
for (var r in t.options)
|
3161
|
-
delete t.options[r].location,
|
3157
|
+
delete t.options[r].location, Ke(t.options[r].value);
|
3162
3158
|
else
|
3163
|
-
Kt(t) && or(t.style) || (er(t) || tr(t)) &&
|
3159
|
+
Kt(t) && or(t.style) || (er(t) || tr(t)) && Ze(t.style) ? delete t.style.location : ir(t) && Ke(t.children);
|
3164
3160
|
});
|
3165
3161
|
}
|
3166
|
-
function
|
3167
|
-
t === void 0 && (t = {}), t =
|
3168
|
-
var r = new
|
3162
|
+
function ui(e, t) {
|
3163
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3164
|
+
var r = new oi(e, t).parse();
|
3169
3165
|
if (r.err) {
|
3170
3166
|
var n = SyntaxError(y[r.err.kind]);
|
3171
3167
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3172
3168
|
}
|
3173
|
-
return t != null && t.captureLocation ||
|
3169
|
+
return t != null && t.captureLocation || Ke(r.val), r.val;
|
3174
3170
|
}
|
3175
|
-
var
|
3171
|
+
var ae;
|
3176
3172
|
(function(e) {
|
3177
3173
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3178
|
-
})(
|
3174
|
+
})(ae || (ae = {}));
|
3179
3175
|
var Le = (
|
3180
3176
|
/** @class */
|
3181
3177
|
function(e) {
|
3182
|
-
|
3178
|
+
Ne(t, e);
|
3183
3179
|
function t(r, n, i) {
|
3184
3180
|
var o = e.call(this, r) || this;
|
3185
3181
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3191,27 +3187,27 @@ var Le = (
|
|
3191
3187
|
), Tt = (
|
3192
3188
|
/** @class */
|
3193
3189
|
function(e) {
|
3194
|
-
|
3190
|
+
Ne(t, e);
|
3195
3191
|
function t(r, n, i, o) {
|
3196
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3192
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
|
3197
3193
|
}
|
3198
3194
|
return t;
|
3199
3195
|
}(Le)
|
3200
|
-
),
|
3196
|
+
), hi = (
|
3201
3197
|
/** @class */
|
3202
3198
|
function(e) {
|
3203
|
-
|
3199
|
+
Ne(t, e);
|
3204
3200
|
function t(r, n, i) {
|
3205
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3201
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
|
3206
3202
|
}
|
3207
3203
|
return t;
|
3208
3204
|
}(Le)
|
3209
|
-
),
|
3205
|
+
), ci = (
|
3210
3206
|
/** @class */
|
3211
3207
|
function(e) {
|
3212
|
-
|
3208
|
+
Ne(t, e);
|
3213
3209
|
function t(r, n) {
|
3214
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3210
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
|
3215
3211
|
}
|
3216
3212
|
return t;
|
3217
3213
|
}(Le)
|
@@ -3219,16 +3215,16 @@ var Le = (
|
|
3219
3215
|
(function(e) {
|
3220
3216
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3221
3217
|
})(R || (R = {}));
|
3222
|
-
function
|
3218
|
+
function fi(e) {
|
3223
3219
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3224
3220
|
var n = t[t.length - 1];
|
3225
3221
|
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
3226
3222
|
}, []);
|
3227
3223
|
}
|
3228
|
-
function
|
3224
|
+
function mi(e) {
|
3229
3225
|
return typeof e == "function";
|
3230
3226
|
}
|
3231
|
-
function
|
3227
|
+
function Se(e, t, r, n, i, o, s) {
|
3232
3228
|
if (e.length === 1 && _t(e[0]))
|
3233
3229
|
return [
|
3234
3230
|
{
|
@@ -3245,7 +3241,7 @@ function Te(e, t, r, n, i, o, s) {
|
|
3245
3241
|
});
|
3246
3242
|
continue;
|
3247
3243
|
}
|
3248
|
-
if (
|
3244
|
+
if (On(h)) {
|
3249
3245
|
typeof o == "number" && a.push({
|
3250
3246
|
type: R.literal,
|
3251
3247
|
value: r.getNumberFormat(t).format(o)
|
@@ -3254,9 +3250,9 @@ function Te(e, t, r, n, i, o, s) {
|
|
3254
3250
|
}
|
3255
3251
|
var m = h.value;
|
3256
3252
|
if (!(i && m in i))
|
3257
|
-
throw new
|
3253
|
+
throw new ci(m, s);
|
3258
3254
|
var f = i[m];
|
3259
|
-
if (
|
3255
|
+
if (Pn(h)) {
|
3260
3256
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3261
3257
|
type: typeof f == "string" ? R.literal : R.object,
|
3262
3258
|
value: f
|
@@ -3264,7 +3260,7 @@ function Te(e, t, r, n, i, o, s) {
|
|
3264
3260
|
continue;
|
3265
3261
|
}
|
3266
3262
|
if (er(h)) {
|
3267
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
3263
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
|
3268
3264
|
a.push({
|
3269
3265
|
type: R.literal,
|
3270
3266
|
value: r.getDateTimeFormat(t, p).format(f)
|
@@ -3272,7 +3268,7 @@ function Te(e, t, r, n, i, o, s) {
|
|
3272
3268
|
continue;
|
3273
3269
|
}
|
3274
3270
|
if (tr(h)) {
|
3275
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
3271
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
3276
3272
|
a.push({
|
3277
3273
|
type: R.literal,
|
3278
3274
|
value: r.getDateTimeFormat(t, p).format(f)
|
@@ -3289,9 +3285,9 @@ function Te(e, t, r, n, i, o, s) {
|
|
3289
3285
|
}
|
3290
3286
|
if (ir(h)) {
|
3291
3287
|
var g = h.children, b = h.value, d = i[b];
|
3292
|
-
if (!
|
3293
|
-
throw new
|
3294
|
-
var
|
3288
|
+
if (!mi(d))
|
3289
|
+
throw new hi(b, "function", s);
|
3290
|
+
var H = Se(g, t, r, n, i, o), _ = d(H.map(function(I) {
|
3295
3291
|
return I.value;
|
3296
3292
|
}));
|
3297
3293
|
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(I) {
|
@@ -3302,41 +3298,41 @@ function Te(e, t, r, n, i, o, s) {
|
|
3302
3298
|
}));
|
3303
3299
|
}
|
3304
3300
|
if (rr(h)) {
|
3305
|
-
var
|
3306
|
-
if (!
|
3301
|
+
var x = h.options[f] || h.options.other;
|
3302
|
+
if (!x)
|
3307
3303
|
throw new Tt(h.value, f, Object.keys(h.options), s);
|
3308
|
-
a.push.apply(a,
|
3304
|
+
a.push.apply(a, Se(x.value, t, r, n, i));
|
3309
3305
|
continue;
|
3310
3306
|
}
|
3311
3307
|
if (nr(h)) {
|
3312
|
-
var
|
3313
|
-
if (!
|
3308
|
+
var x = h.options["=".concat(f)];
|
3309
|
+
if (!x) {
|
3314
3310
|
if (!Intl.PluralRules)
|
3315
3311
|
throw new Le(`Intl.PluralRules is not available in this environment.
|
3316
3312
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3317
|
-
`,
|
3318
|
-
var
|
3319
|
-
|
3313
|
+
`, ae.MISSING_INTL_API, s);
|
3314
|
+
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3315
|
+
x = h.options[O] || h.options.other;
|
3320
3316
|
}
|
3321
|
-
if (!
|
3317
|
+
if (!x)
|
3322
3318
|
throw new Tt(h.value, f, Object.keys(h.options), s);
|
3323
|
-
a.push.apply(a,
|
3319
|
+
a.push.apply(a, Se(x.value, t, r, n, i, f - (h.offset || 0)));
|
3324
3320
|
continue;
|
3325
3321
|
}
|
3326
3322
|
}
|
3327
|
-
return
|
3323
|
+
return fi(a);
|
3328
3324
|
}
|
3329
|
-
function
|
3330
|
-
return t ?
|
3331
|
-
return r[n] =
|
3325
|
+
function di(e, t) {
|
3326
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3327
|
+
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
3332
3328
|
}, {})) : e;
|
3333
3329
|
}
|
3334
|
-
function
|
3330
|
+
function pi(e, t) {
|
3335
3331
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3336
|
-
return r[n] =
|
3337
|
-
},
|
3332
|
+
return r[n] = di(e[n], t[n]), r;
|
3333
|
+
}, E({}, e)) : e;
|
3338
3334
|
}
|
3339
|
-
function
|
3335
|
+
function je(e) {
|
3340
3336
|
return {
|
3341
3337
|
create: function() {
|
3342
3338
|
return {
|
@@ -3350,39 +3346,39 @@ function Xe(e) {
|
|
3350
3346
|
}
|
3351
3347
|
};
|
3352
3348
|
}
|
3353
|
-
function
|
3349
|
+
function gi(e) {
|
3354
3350
|
return e === void 0 && (e = {
|
3355
3351
|
number: {},
|
3356
3352
|
dateTime: {},
|
3357
3353
|
pluralRules: {}
|
3358
3354
|
}), {
|
3359
|
-
getNumberFormat:
|
3355
|
+
getNumberFormat: Ge(function() {
|
3360
3356
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3361
3357
|
r[n] = arguments[n];
|
3362
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3358
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
3363
3359
|
}, {
|
3364
|
-
cache:
|
3365
|
-
strategy:
|
3360
|
+
cache: je(e.number),
|
3361
|
+
strategy: ke.variadic
|
3366
3362
|
}),
|
3367
|
-
getDateTimeFormat:
|
3363
|
+
getDateTimeFormat: Ge(function() {
|
3368
3364
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3369
3365
|
r[n] = arguments[n];
|
3370
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3366
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
3371
3367
|
}, {
|
3372
|
-
cache:
|
3373
|
-
strategy:
|
3368
|
+
cache: je(e.dateTime),
|
3369
|
+
strategy: ke.variadic
|
3374
3370
|
}),
|
3375
|
-
getPluralRules:
|
3371
|
+
getPluralRules: Ge(function() {
|
3376
3372
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3377
3373
|
r[n] = arguments[n];
|
3378
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3374
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
|
3379
3375
|
}, {
|
3380
|
-
cache:
|
3381
|
-
strategy:
|
3376
|
+
cache: je(e.pluralRules),
|
3377
|
+
strategy: ke.variadic
|
3382
3378
|
})
|
3383
3379
|
};
|
3384
3380
|
}
|
3385
|
-
var
|
3381
|
+
var bi = (
|
3386
3382
|
/** @class */
|
3387
3383
|
function() {
|
3388
3384
|
function e(t, r, n, i) {
|
@@ -3401,7 +3397,7 @@ var yi = (
|
|
3401
3397
|
}, []);
|
3402
3398
|
return h.length <= 1 ? h[0] || "" : h;
|
3403
3399
|
}, this.formatToParts = function(u) {
|
3404
|
-
return
|
3400
|
+
return Se(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
3405
3401
|
}, this.resolvedOptions = function() {
|
3406
3402
|
var u;
|
3407
3403
|
return {
|
@@ -3415,12 +3411,12 @@ var yi = (
|
|
3415
3411
|
var s = i || {};
|
3416
3412
|
s.formatters;
|
3417
3413
|
var a = Tn(s, ["formatters"]);
|
3418
|
-
this.ast = e.__parse(t,
|
3414
|
+
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
3419
3415
|
} else
|
3420
3416
|
this.ast = t;
|
3421
3417
|
if (!Array.isArray(this.ast))
|
3422
3418
|
throw new TypeError("A message must be provided as a String or AST.");
|
3423
|
-
this.formats =
|
3419
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
|
3424
3420
|
}
|
3425
3421
|
return Object.defineProperty(e, "defaultLocale", {
|
3426
3422
|
get: function() {
|
@@ -3433,7 +3429,7 @@ var yi = (
|
|
3433
3429
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3434
3430
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3435
3431
|
}
|
3436
|
-
}, e.__parse =
|
3432
|
+
}, e.__parse = ui, e.formats = {
|
3437
3433
|
number: {
|
3438
3434
|
integer: {
|
3439
3435
|
maximumFractionDigits: 0
|
@@ -3494,7 +3490,7 @@ var yi = (
|
|
3494
3490
|
}, e;
|
3495
3491
|
}()
|
3496
3492
|
);
|
3497
|
-
function
|
3493
|
+
function yi(e, t) {
|
3498
3494
|
if (t == null)
|
3499
3495
|
return;
|
3500
3496
|
if (t in e)
|
@@ -3515,36 +3511,36 @@ function vi(e, t) {
|
|
3515
3511
|
n = void 0;
|
3516
3512
|
return n;
|
3517
3513
|
}
|
3518
|
-
const
|
3514
|
+
const W = {}, vi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), mr = (e, t) => {
|
3519
3515
|
if (t == null)
|
3520
3516
|
return;
|
3521
|
-
if (t in
|
3522
|
-
return
|
3523
|
-
const r =
|
3517
|
+
if (t in W && e in W[t])
|
3518
|
+
return W[t][e];
|
3519
|
+
const r = Pe(t);
|
3524
3520
|
for (let n = 0; n < r.length; n++) {
|
3525
|
-
const i = r[n], o =
|
3521
|
+
const i = r[n], o = Ei(i, e);
|
3526
3522
|
if (o)
|
3527
|
-
return
|
3523
|
+
return vi(e, t, o);
|
3528
3524
|
}
|
3529
3525
|
};
|
3530
3526
|
let st;
|
3531
|
-
const
|
3532
|
-
function
|
3527
|
+
const he = Me({});
|
3528
|
+
function _i(e) {
|
3533
3529
|
return st[e] || null;
|
3534
3530
|
}
|
3535
3531
|
function dr(e) {
|
3536
3532
|
return e in st;
|
3537
3533
|
}
|
3538
|
-
function
|
3534
|
+
function Ei(e, t) {
|
3539
3535
|
if (!dr(e))
|
3540
3536
|
return null;
|
3541
|
-
const r =
|
3542
|
-
return
|
3537
|
+
const r = _i(e);
|
3538
|
+
return yi(r, t);
|
3543
3539
|
}
|
3544
|
-
function
|
3540
|
+
function xi(e) {
|
3545
3541
|
if (e == null)
|
3546
3542
|
return;
|
3547
|
-
const t =
|
3543
|
+
const t = Pe(e);
|
3548
3544
|
for (let r = 0; r < t.length; r++) {
|
3549
3545
|
const n = t[r];
|
3550
3546
|
if (dr(n))
|
@@ -3552,55 +3548,55 @@ function Ci(e) {
|
|
3552
3548
|
}
|
3553
3549
|
}
|
3554
3550
|
function pr(e, ...t) {
|
3555
|
-
delete
|
3551
|
+
delete W[e], he.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
|
3556
3552
|
}
|
3557
|
-
|
3558
|
-
[
|
3553
|
+
ue(
|
3554
|
+
[he],
|
3559
3555
|
([e]) => Object.keys(e)
|
3560
3556
|
);
|
3561
|
-
|
3562
|
-
const
|
3563
|
-
function
|
3564
|
-
|
3557
|
+
he.subscribe((e) => st = e);
|
3558
|
+
const Te = {};
|
3559
|
+
function Ci(e, t) {
|
3560
|
+
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
3565
3561
|
}
|
3566
3562
|
function gr(e) {
|
3567
|
-
return
|
3563
|
+
return Te[e];
|
3568
3564
|
}
|
3569
|
-
function
|
3570
|
-
return
|
3565
|
+
function wi(e) {
|
3566
|
+
return Pe(e).map((t) => {
|
3571
3567
|
const r = gr(t);
|
3572
3568
|
return [t, r ? [...r] : []];
|
3573
3569
|
}).filter(([, t]) => t.length > 0);
|
3574
3570
|
}
|
3575
|
-
function
|
3576
|
-
return e == null ? !1 :
|
3571
|
+
function et(e) {
|
3572
|
+
return e == null ? !1 : Pe(e).some(
|
3577
3573
|
(t) => {
|
3578
3574
|
var r;
|
3579
3575
|
return (r = gr(t)) == null ? void 0 : r.size;
|
3580
3576
|
}
|
3581
3577
|
);
|
3582
3578
|
}
|
3583
|
-
function
|
3579
|
+
function Hi(e, t) {
|
3584
3580
|
return Promise.all(
|
3585
|
-
t.map((n) => (
|
3581
|
+
t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
|
3586
3582
|
).then((n) => pr(e, ...n));
|
3587
3583
|
}
|
3588
|
-
const
|
3584
|
+
const me = {};
|
3589
3585
|
function br(e) {
|
3590
|
-
if (!
|
3591
|
-
return e in
|
3592
|
-
const t =
|
3593
|
-
return
|
3586
|
+
if (!et(e))
|
3587
|
+
return e in me ? me[e] : Promise.resolve();
|
3588
|
+
const t = wi(e);
|
3589
|
+
return me[e] = Promise.all(
|
3594
3590
|
t.map(
|
3595
|
-
([r, n]) =>
|
3591
|
+
([r, n]) => Hi(r, n)
|
3596
3592
|
)
|
3597
3593
|
).then(() => {
|
3598
|
-
if (
|
3594
|
+
if (et(e))
|
3599
3595
|
return br(e);
|
3600
|
-
delete
|
3601
|
-
}),
|
3596
|
+
delete me[e];
|
3597
|
+
}), me[e];
|
3602
3598
|
}
|
3603
|
-
const
|
3599
|
+
const Si = {
|
3604
3600
|
number: {
|
3605
3601
|
scientific: { notation: "scientific" },
|
3606
3602
|
engineering: { notation: "engineering" },
|
@@ -3629,141 +3625,141 @@ const Ti = {
|
|
3629
3625
|
timeZoneName: "short"
|
3630
3626
|
}
|
3631
3627
|
}
|
3632
|
-
},
|
3628
|
+
}, Ti = {
|
3633
3629
|
fallbackLocale: null,
|
3634
3630
|
loadingDelay: 200,
|
3635
|
-
formats:
|
3631
|
+
formats: Si,
|
3636
3632
|
warnOnMissingMessages: !0,
|
3637
3633
|
handleMissingMessage: void 0,
|
3638
3634
|
ignoreTag: !0
|
3639
|
-
},
|
3640
|
-
function
|
3641
|
-
return
|
3635
|
+
}, Ai = Ti;
|
3636
|
+
function le() {
|
3637
|
+
return Ai;
|
3642
3638
|
}
|
3643
|
-
const
|
3644
|
-
var
|
3639
|
+
const Ve = Me(!1);
|
3640
|
+
var Bi = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
|
3645
3641
|
for (var r in t || (t = {}))
|
3646
|
-
|
3642
|
+
Ni.call(t, r) && Bt(e, r, t[r]);
|
3647
3643
|
if (At)
|
3648
3644
|
for (var r of At(t))
|
3649
|
-
|
3645
|
+
Li.call(t, r) && Bt(e, r, t[r]);
|
3650
3646
|
return e;
|
3651
|
-
},
|
3652
|
-
let
|
3653
|
-
const
|
3647
|
+
}, Oi = (e, t) => Ii(e, Mi(t));
|
3648
|
+
let tt;
|
3649
|
+
const Be = Me(null);
|
3654
3650
|
function It(e) {
|
3655
3651
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3656
3652
|
}
|
3657
|
-
function
|
3653
|
+
function Pe(e, t = le().fallbackLocale) {
|
3658
3654
|
const r = It(e);
|
3659
3655
|
return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
|
3660
3656
|
}
|
3661
|
-
function
|
3662
|
-
return
|
3657
|
+
function Y() {
|
3658
|
+
return tt != null ? tt : void 0;
|
3663
3659
|
}
|
3664
|
-
|
3665
|
-
|
3660
|
+
Be.subscribe((e) => {
|
3661
|
+
tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3666
3662
|
});
|
3667
|
-
const
|
3668
|
-
if (e &&
|
3669
|
-
const { loadingDelay: t } =
|
3663
|
+
const Fi = (e) => {
|
3664
|
+
if (e && xi(e) && et(e)) {
|
3665
|
+
const { loadingDelay: t } = le();
|
3670
3666
|
let r;
|
3671
|
-
return typeof window != "undefined" &&
|
3672
|
-
() =>
|
3667
|
+
return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
|
3668
|
+
() => Ve.set(!0),
|
3673
3669
|
t
|
3674
|
-
) :
|
3675
|
-
|
3670
|
+
) : Ve.set(!0), br(e).then(() => {
|
3671
|
+
Be.set(e);
|
3676
3672
|
}).finally(() => {
|
3677
|
-
clearTimeout(r),
|
3673
|
+
clearTimeout(r), Ve.set(!1);
|
3678
3674
|
});
|
3679
3675
|
}
|
3680
|
-
return
|
3681
|
-
},
|
3682
|
-
set:
|
3683
|
-
}),
|
3676
|
+
return Be.set(e);
|
3677
|
+
}, z = Oi(Pi({}, Be), {
|
3678
|
+
set: Fi
|
3679
|
+
}), Oe = (e) => {
|
3684
3680
|
const t = /* @__PURE__ */ Object.create(null);
|
3685
3681
|
return (n) => {
|
3686
3682
|
const i = JSON.stringify(n);
|
3687
3683
|
return i in t ? t[i] : t[i] = e(n);
|
3688
3684
|
};
|
3689
3685
|
};
|
3690
|
-
var
|
3686
|
+
var Ri = Object.defineProperty, Ie = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
3691
3687
|
for (var r in t || (t = {}))
|
3692
3688
|
yr.call(t, r) && Mt(e, r, t[r]);
|
3693
|
-
if (
|
3694
|
-
for (var r of
|
3689
|
+
if (Ie)
|
3690
|
+
for (var r of Ie(t))
|
3695
3691
|
vr.call(t, r) && Mt(e, r, t[r]);
|
3696
3692
|
return e;
|
3697
|
-
},
|
3693
|
+
}, ce = (e, t) => {
|
3698
3694
|
var r = {};
|
3699
3695
|
for (var n in e)
|
3700
3696
|
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3701
|
-
if (e != null &&
|
3702
|
-
for (var n of
|
3697
|
+
if (e != null && Ie)
|
3698
|
+
for (var n of Ie(e))
|
3703
3699
|
t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
|
3704
3700
|
return r;
|
3705
3701
|
};
|
3706
|
-
const
|
3707
|
-
const { formats: r } =
|
3702
|
+
const ve = (e, t) => {
|
3703
|
+
const { formats: r } = le();
|
3708
3704
|
if (e in r && t in r[e])
|
3709
3705
|
return r[e][t];
|
3710
3706
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3711
|
-
},
|
3707
|
+
}, Di = Oe(
|
3712
3708
|
(e) => {
|
3713
|
-
var t = e, { locale: r, format: n } = t, i =
|
3709
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3714
3710
|
if (r == null)
|
3715
3711
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3716
|
-
return n && (i =
|
3712
|
+
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
3717
3713
|
}
|
3718
|
-
),
|
3714
|
+
), Ui = Oe(
|
3719
3715
|
(e) => {
|
3720
|
-
var t = e, { locale: r, format: n } = t, i =
|
3716
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3721
3717
|
if (r == null)
|
3722
3718
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3723
|
-
return n ? i =
|
3719
|
+
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
3724
3720
|
}
|
3725
|
-
),
|
3721
|
+
), Gi = Oe(
|
3726
3722
|
(e) => {
|
3727
|
-
var t = e, { locale: r, format: n } = t, i =
|
3723
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3728
3724
|
if (r == null)
|
3729
3725
|
throw new Error(
|
3730
3726
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3731
3727
|
);
|
3732
|
-
return n ? i =
|
3728
|
+
return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
|
3733
3729
|
}
|
3734
|
-
),
|
3730
|
+
), ki = (e = {}) => {
|
3735
3731
|
var t = e, {
|
3736
|
-
locale: r =
|
3737
|
-
} = t, n =
|
3732
|
+
locale: r = Y()
|
3733
|
+
} = t, n = ce(t, [
|
3738
3734
|
"locale"
|
3739
3735
|
]);
|
3740
|
-
return
|
3741
|
-
},
|
3736
|
+
return Di(at({ locale: r }, n));
|
3737
|
+
}, $i = (e = {}) => {
|
3742
3738
|
var t = e, {
|
3743
|
-
locale: r =
|
3744
|
-
} = t, n =
|
3739
|
+
locale: r = Y()
|
3740
|
+
} = t, n = ce(t, [
|
3745
3741
|
"locale"
|
3746
3742
|
]);
|
3747
|
-
return
|
3748
|
-
},
|
3743
|
+
return Ui(at({ locale: r }, n));
|
3744
|
+
}, ji = (e = {}) => {
|
3749
3745
|
var t = e, {
|
3750
|
-
locale: r =
|
3751
|
-
} = t, n =
|
3746
|
+
locale: r = Y()
|
3747
|
+
} = t, n = ce(t, [
|
3752
3748
|
"locale"
|
3753
3749
|
]);
|
3754
|
-
return
|
3755
|
-
},
|
3750
|
+
return Gi(at({ locale: r }, n));
|
3751
|
+
}, Vi = Oe(
|
3756
3752
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3757
|
-
(e, t =
|
3758
|
-
ignoreTag:
|
3753
|
+
(e, t = Y()) => new bi(e, t, le().formats, {
|
3754
|
+
ignoreTag: le().ignoreTag
|
3759
3755
|
})
|
3760
|
-
),
|
3756
|
+
), Xi = (e, t = {}) => {
|
3761
3757
|
var r, n, i, o;
|
3762
3758
|
let s = t;
|
3763
3759
|
typeof e == "object" && (s = e, e = s.id);
|
3764
3760
|
const {
|
3765
3761
|
values: a,
|
3766
|
-
locale: u =
|
3762
|
+
locale: u = Y(),
|
3767
3763
|
default: l
|
3768
3764
|
} = s;
|
3769
3765
|
if (u == null)
|
@@ -3772,7 +3768,7 @@ const _e = (e, t) => {
|
|
3772
3768
|
);
|
3773
3769
|
let h = mr(e, u);
|
3774
3770
|
if (!h)
|
3775
|
-
h = (o = (i = (n = (r =
|
3771
|
+
h = (o = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
3776
3772
|
else if (typeof h != "string")
|
3777
3773
|
return console.warn(
|
3778
3774
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -3781,7 +3777,7 @@ const _e = (e, t) => {
|
|
3781
3777
|
return h;
|
3782
3778
|
let m = h;
|
3783
3779
|
try {
|
3784
|
-
m =
|
3780
|
+
m = Vi(h, u).format(a);
|
3785
3781
|
} catch (f) {
|
3786
3782
|
f instanceof Error && console.warn(
|
3787
3783
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3789,24 +3785,24 @@ const _e = (e, t) => {
|
|
3789
3785
|
);
|
3790
3786
|
}
|
3791
3787
|
return m;
|
3792
|
-
},
|
3793
|
-
|
3794
|
-
|
3795
|
-
|
3796
|
-
|
3797
|
-
|
3798
|
-
function
|
3799
|
-
|
3800
|
-
r == null && (
|
3788
|
+
}, Wi = (e, t) => ji(t).format(e), zi = (e, t) => $i(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t = Y()) => mr(e, t);
|
3789
|
+
ue([z, he], () => Xi);
|
3790
|
+
ue([z], () => Wi);
|
3791
|
+
ue([z], () => zi);
|
3792
|
+
ue([z], () => Zi);
|
3793
|
+
ue([z, he], () => Qi);
|
3794
|
+
function qi({ withLocale: e, translations: t }) {
|
3795
|
+
z.subscribe((r) => {
|
3796
|
+
r == null && (he.set(t), z.set(e));
|
3801
3797
|
});
|
3802
3798
|
}
|
3803
3799
|
function Nt(e, t) {
|
3804
3800
|
pr(e, t);
|
3805
3801
|
}
|
3806
|
-
function
|
3807
|
-
|
3802
|
+
function Ji(e) {
|
3803
|
+
z.set(e);
|
3808
3804
|
}
|
3809
|
-
const
|
3805
|
+
const Lt = {
|
3810
3806
|
en: {
|
3811
3807
|
login: "Login",
|
3812
3808
|
register: "Register",
|
@@ -3863,14 +3859,14 @@ const Pt = {
|
|
3863
3859
|
deposit: "Deposit"
|
3864
3860
|
}
|
3865
3861
|
};
|
3866
|
-
function
|
3862
|
+
function Yi(e) {
|
3867
3863
|
Gr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.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, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.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, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.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}');
|
3868
3864
|
}
|
3869
|
-
function
|
3865
|
+
function Pt(e, t, r) {
|
3870
3866
|
const n = e.slice();
|
3871
3867
|
return n[48] = t[r], n[50] = r, n;
|
3872
3868
|
}
|
3873
|
-
function
|
3869
|
+
function Ot(e, t, r) {
|
3874
3870
|
const n = e.slice();
|
3875
3871
|
return n[51] = t[r], n;
|
3876
3872
|
}
|
@@ -3879,7 +3875,7 @@ function Ft(e, t, r) {
|
|
3879
3875
|
return n[54] = t[r], n[56] = r, n;
|
3880
3876
|
}
|
3881
3877
|
function Rt(e) {
|
3882
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
3878
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
|
3883
3879
|
/*sliderdata*/
|
3884
3880
|
e[9]
|
3885
3881
|
);
|
@@ -3888,14 +3884,14 @@ function Rt(e) {
|
|
3888
3884
|
s[48].id
|
3889
3885
|
);
|
3890
3886
|
for (let s = 0; s < i.length; s += 1) {
|
3891
|
-
let a =
|
3887
|
+
let a = Pt(e, i, s), u = o(a);
|
3892
3888
|
r.set(u, t[s] = jt(u, a));
|
3893
3889
|
}
|
3894
3890
|
return {
|
3895
3891
|
c() {
|
3896
3892
|
for (let s = 0; s < t.length; s += 1)
|
3897
3893
|
t[s].c();
|
3898
|
-
n =
|
3894
|
+
n = ge();
|
3899
3895
|
},
|
3900
3896
|
m(s, a) {
|
3901
3897
|
for (let u = 0; u < t.length; u += 1)
|
@@ -3904,10 +3900,10 @@ function Rt(e) {
|
|
3904
3900
|
},
|
3905
3901
|
p(s, a) {
|
3906
3902
|
a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
3907
|
-
77775 && (i =
|
3903
|
+
77775 && (i = ie(
|
3908
3904
|
/*sliderdata*/
|
3909
3905
|
s[9]
|
3910
|
-
), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, jt, n,
|
3906
|
+
), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, jt, n, Pt));
|
3911
3907
|
},
|
3912
3908
|
d(s) {
|
3913
3909
|
s && D(n);
|
@@ -3916,14 +3912,14 @@ function Rt(e) {
|
|
3916
3912
|
}
|
3917
3913
|
};
|
3918
3914
|
}
|
3919
|
-
function
|
3915
|
+
function Ki(e) {
|
3920
3916
|
let t, r = (
|
3921
3917
|
/*category*/
|
3922
3918
|
e[48].name + ""
|
3923
3919
|
), n;
|
3924
3920
|
return {
|
3925
3921
|
c() {
|
3926
|
-
t =
|
3922
|
+
t = L("button"), n = _e(r), S(t, "class", "CategoryButton");
|
3927
3923
|
},
|
3928
3924
|
m(i, o) {
|
3929
3925
|
G(i, t, o), B(t, n);
|
@@ -3931,21 +3927,21 @@ function eo(e) {
|
|
3931
3927
|
p(i, o) {
|
3932
3928
|
o[0] & /*sliderdata*/
|
3933
3929
|
512 && r !== (r = /*category*/
|
3934
|
-
i[48].name + "") &&
|
3930
|
+
i[48].name + "") && nt(n, r);
|
3935
3931
|
},
|
3936
3932
|
d(i) {
|
3937
3933
|
i && D(t);
|
3938
3934
|
}
|
3939
3935
|
};
|
3940
3936
|
}
|
3941
|
-
function
|
3937
|
+
function eo(e) {
|
3942
3938
|
let t, r = (
|
3943
3939
|
/*category*/
|
3944
3940
|
e[48].label + ""
|
3945
3941
|
), n, i;
|
3946
3942
|
return {
|
3947
3943
|
c() {
|
3948
|
-
t =
|
3944
|
+
t = L("a"), n = _e(r), S(t, "href", i = /*category*/
|
3949
3945
|
e[48].path);
|
3950
3946
|
},
|
3951
3947
|
m(o, s) {
|
@@ -3954,9 +3950,9 @@ function to(e) {
|
|
3954
3950
|
p(o, s) {
|
3955
3951
|
s[0] & /*sliderdata*/
|
3956
3952
|
512 && r !== (r = /*category*/
|
3957
|
-
o[48].label + "") &&
|
3953
|
+
o[48].label + "") && nt(n, r), s[0] & /*sliderdata*/
|
3958
3954
|
512 && i !== (i = /*category*/
|
3959
|
-
o[48].path) &&
|
3955
|
+
o[48].path) && S(t, "href", i);
|
3960
3956
|
},
|
3961
3957
|
d(o) {
|
3962
3958
|
o && D(t);
|
@@ -3971,7 +3967,7 @@ function Dt(e) {
|
|
3971
3967
|
);
|
3972
3968
|
return {
|
3973
3969
|
c() {
|
3974
|
-
r && r.c(), t =
|
3970
|
+
r && r.c(), t = ge();
|
3975
3971
|
},
|
3976
3972
|
m(n, i) {
|
3977
3973
|
r && r.m(n, i), G(n, t, i);
|
@@ -3987,18 +3983,18 @@ function Dt(e) {
|
|
3987
3983
|
};
|
3988
3984
|
}
|
3989
3985
|
function Ut(e) {
|
3990
|
-
let t, r =
|
3986
|
+
let t, r = ie(
|
3991
3987
|
/*subGroupsData*/
|
3992
3988
|
e[10]
|
3993
3989
|
), n = [];
|
3994
3990
|
for (let i = 0; i < r.length; i += 1)
|
3995
|
-
n[i] = $t(
|
3991
|
+
n[i] = $t(Ot(e, r, i));
|
3996
3992
|
return {
|
3997
3993
|
c() {
|
3998
|
-
t =
|
3994
|
+
t = L("ul");
|
3999
3995
|
for (let i = 0; i < n.length; i += 1)
|
4000
3996
|
n[i].c();
|
4001
|
-
|
3997
|
+
S(t, "class", "DropDown");
|
4002
3998
|
},
|
4003
3999
|
m(i, o) {
|
4004
4000
|
G(i, t, o);
|
@@ -4008,13 +4004,13 @@ function Ut(e) {
|
|
4008
4004
|
p(i, o) {
|
4009
4005
|
if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
4010
4006
|
10176) {
|
4011
|
-
r =
|
4007
|
+
r = ie(
|
4012
4008
|
/*subGroupsData*/
|
4013
4009
|
i[10]
|
4014
4010
|
);
|
4015
4011
|
let s;
|
4016
4012
|
for (s = 0; s < r.length; s += 1) {
|
4017
|
-
const a =
|
4013
|
+
const a = Ot(i, r, s);
|
4018
4014
|
n[s] ? n[s].p(a, o) : (n[s] = $t(a), n[s].c(), n[s].m(t, null));
|
4019
4015
|
}
|
4020
4016
|
for (; s < n.length; s += 1)
|
@@ -4051,7 +4047,7 @@ function Gt(e) {
|
|
4051
4047
|
}
|
4052
4048
|
return {
|
4053
4049
|
c() {
|
4054
|
-
t =
|
4050
|
+
t = L("li"), r = L("a"), i = _e(n), s = q(), S(r, "class", o = "SubDropDown " + /*index*/
|
4055
4051
|
(e[50] == /*activeIndex*/
|
4056
4052
|
e[6] && /*activeSubIndex*/
|
4057
4053
|
(e[7] == /*subindex*/
|
@@ -4060,20 +4056,20 @@ function Gt(e) {
|
|
4060
4056
|
e[56]) ? "active" : ""));
|
4061
4057
|
},
|
4062
4058
|
m(m, f) {
|
4063
|
-
G(m, t, f), B(t, r), B(r, i), B(t, s), a || (u =
|
4059
|
+
G(m, t, f), B(t, r), B(r, i), B(t, s), a || (u = Ae(t, "click", l), a = !0);
|
4064
4060
|
},
|
4065
4061
|
p(m, f) {
|
4066
4062
|
var p;
|
4067
4063
|
e = m, f[0] & /*subGroupsData*/
|
4068
4064
|
1024 && n !== (n = /*subGroupItem*/
|
4069
|
-
((p = e[54]) == null ? void 0 : p.name) + "") &&
|
4065
|
+
((p = e[54]) == null ? void 0 : p.name) + "") && nt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4070
4066
|
1984 && o !== (o = "SubDropDown " + /*index*/
|
4071
4067
|
(e[50] == /*activeIndex*/
|
4072
4068
|
e[6] && /*activeSubIndex*/
|
4073
4069
|
(e[7] == /*subindex*/
|
4074
4070
|
e[56] || /*prevSubIndex*/
|
4075
4071
|
e[8] == /*subindex*/
|
4076
|
-
e[56]) ? "active" : "")) &&
|
4072
|
+
e[56]) ? "active" : "")) && S(r, "class", o);
|
4077
4073
|
},
|
4078
4074
|
d(m) {
|
4079
4075
|
m && D(t), a = !1, u();
|
@@ -4090,7 +4086,7 @@ function kt(e, t) {
|
|
4090
4086
|
key: e,
|
4091
4087
|
first: null,
|
4092
4088
|
c() {
|
4093
|
-
r =
|
4089
|
+
r = ge(), i && i.c(), n = ge(), this.first = r;
|
4094
4090
|
},
|
4095
4091
|
m(o, s) {
|
4096
4092
|
G(o, r, s), i && i.m(o, s), G(o, n, s);
|
@@ -4106,7 +4102,7 @@ function kt(e, t) {
|
|
4106
4102
|
};
|
4107
4103
|
}
|
4108
4104
|
function $t(e) {
|
4109
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
4105
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
|
4110
4106
|
/*subGroup*/
|
4111
4107
|
e[51].items
|
4112
4108
|
);
|
@@ -4122,7 +4118,7 @@ function $t(e) {
|
|
4122
4118
|
c() {
|
4123
4119
|
for (let s = 0; s < t.length; s += 1)
|
4124
4120
|
t[s].c();
|
4125
|
-
n =
|
4121
|
+
n = ge();
|
4126
4122
|
},
|
4127
4123
|
m(s, a) {
|
4128
4124
|
for (let u = 0; u < t.length; u += 1)
|
@@ -4131,7 +4127,7 @@ function $t(e) {
|
|
4131
4127
|
},
|
4132
4128
|
p(s, a) {
|
4133
4129
|
a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
4134
|
-
10176 && (i =
|
4130
|
+
10176 && (i = ie(
|
4135
4131
|
/*subGroup*/
|
4136
4132
|
s[51].items
|
4137
4133
|
), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, kt, n, Ft));
|
@@ -4145,10 +4141,10 @@ function $t(e) {
|
|
4145
4141
|
}
|
4146
4142
|
function jt(e, t) {
|
4147
4143
|
let r, n, i, o, s, a, u, l, h, m, f;
|
4148
|
-
function p(_,
|
4144
|
+
function p(_, x) {
|
4149
4145
|
return (
|
4150
4146
|
/*location*/
|
4151
|
-
_[0] === "headerMain" ?
|
4147
|
+
_[0] === "headerMain" ? eo : Ki
|
4152
4148
|
);
|
4153
4149
|
}
|
4154
4150
|
let g = p(t), b = g(t), d = (
|
@@ -4158,7 +4154,7 @@ function jt(e, t) {
|
|
4158
4154
|
t[50]
|
4159
4155
|
] == !0 && Dt(t)
|
4160
4156
|
);
|
4161
|
-
function
|
4157
|
+
function H(..._) {
|
4162
4158
|
return (
|
4163
4159
|
/*click_handler_2*/
|
4164
4160
|
t[34](
|
@@ -4174,16 +4170,16 @@ function jt(e, t) {
|
|
4174
4170
|
key: e,
|
4175
4171
|
first: null,
|
4176
4172
|
c() {
|
4177
|
-
var _,
|
4178
|
-
r =
|
4173
|
+
var _, x;
|
4174
|
+
r = L("li"), n = L("div"), i = L("img"), a = q(), b.c(), u = q(), d && d.c(), l = q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
|
4179
4175
|
(t[3] === "true" ? "" : "DisplayNone")), bt(i.src, s = /*handleSrc*/
|
4180
4176
|
t[16](
|
4181
4177
|
/*category*/
|
4182
4178
|
t[48]
|
4183
|
-
)) ||
|
4179
|
+
)) || S(i, "src", s), S(n, "class", "CategoryIcon"), S(r, "class", h = "CarouselItem " + /*activeindex*/
|
4184
4180
|
(((_ = t[1]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
|
4185
4181
|
/*activeindex*/
|
4186
|
-
((
|
4182
|
+
((x = t[1]) == null ? void 0 : x.split("$").pop()) == /*category*/
|
4187
4183
|
t[48].id.split("$").pop() ? "active" : ""
|
4188
4184
|
) : (
|
4189
4185
|
/*activeindex*/
|
@@ -4192,25 +4188,25 @@ function jt(e, t) {
|
|
4192
4188
|
)) + " " + /*location*/
|
4193
4189
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4194
4190
|
},
|
4195
|
-
m(_,
|
4196
|
-
G(_, r,
|
4191
|
+
m(_, x) {
|
4192
|
+
G(_, r, x), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, u), d && d.m(r, null), B(r, l), m || (f = Ae(r, "click", H), m = !0);
|
4197
4193
|
},
|
4198
|
-
p(_,
|
4199
|
-
var
|
4200
|
-
t = _,
|
4194
|
+
p(_, x) {
|
4195
|
+
var O, I;
|
4196
|
+
t = _, x[0] & /*categoriesicon*/
|
4201
4197
|
8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
|
4202
|
-
(t[3] === "true" ? "" : "DisplayNone")) &&
|
4198
|
+
(t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), x[0] & /*sliderdata*/
|
4203
4199
|
512 && !bt(i.src, s = /*handleSrc*/
|
4204
4200
|
t[16](
|
4205
4201
|
/*category*/
|
4206
4202
|
t[48]
|
4207
|
-
)) &&
|
4203
|
+
)) && S(i, "src", s), g === (g = p(t)) && b ? b.p(t, x) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
|
4208
4204
|
t[11][
|
4209
4205
|
/*index*/
|
4210
4206
|
t[50]
|
4211
|
-
] == !0 ? d ? d.p(t,
|
4207
|
+
] == !0 ? d ? d.p(t, x) : (d = Dt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), x[0] & /*activeindex, sliderdata, location*/
|
4212
4208
|
515 && h !== (h = "CarouselItem " + /*activeindex*/
|
4213
|
-
(((
|
4209
|
+
(((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
|
4214
4210
|
/*activeindex*/
|
4215
4211
|
((I = t[1]) == null ? void 0 : I.split("$").pop()) == /*category*/
|
4216
4212
|
t[48].id.split("$").pop() ? "active" : ""
|
@@ -4219,34 +4215,34 @@ function jt(e, t) {
|
|
4219
4215
|
t[1] == /*category*/
|
4220
4216
|
t[48].id ? "active" : ""
|
4221
4217
|
)) + " " + /*location*/
|
4222
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
4218
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", h);
|
4223
4219
|
},
|
4224
4220
|
d(_) {
|
4225
4221
|
_ && D(r), b.d(), d && d.d(), m = !1, f();
|
4226
4222
|
}
|
4227
4223
|
};
|
4228
4224
|
}
|
4229
|
-
function
|
4225
|
+
function to(e) {
|
4230
4226
|
let t, r, n, i, o, s, a, u, l, h, m, f, p, g, b, d = (
|
4231
4227
|
/*sliderdata*/
|
4232
4228
|
e[9].length > 0 && Rt(e)
|
4233
4229
|
);
|
4234
4230
|
return {
|
4235
4231
|
c() {
|
4236
|
-
t =
|
4237
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
4238
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
4232
|
+
t = L("div"), r = L("div"), n = L("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 = q(), o = L("div"), s = L("ul"), a = L("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = q(), d && d.c(), l = q(), h = L("div"), h.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(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap scroller"), S(h, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4233
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
|
4234
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
|
4239
4235
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4240
4236
|
},
|
4241
|
-
m(
|
4242
|
-
G(
|
4243
|
-
|
4237
|
+
m(H, _) {
|
4238
|
+
G(H, t, _), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, u), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, h), e[38](t), g || (b = [
|
4239
|
+
Ae(
|
4244
4240
|
n,
|
4245
4241
|
"click",
|
4246
4242
|
/*click_handler*/
|
4247
4243
|
e[32]
|
4248
4244
|
),
|
4249
|
-
|
4245
|
+
Ae(
|
4250
4246
|
h,
|
4251
4247
|
"click",
|
4252
4248
|
/*click_handler_3*/
|
@@ -4254,170 +4250,170 @@ function ro(e) {
|
|
4254
4250
|
)
|
4255
4251
|
], g = !0);
|
4256
4252
|
},
|
4257
|
-
p(
|
4253
|
+
p(H, _) {
|
4258
4254
|
/*sliderdata*/
|
4259
|
-
|
4255
|
+
H[9].length > 0 ? d ? d.p(H, _) : (d = Rt(H), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
|
4260
4256
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4261
|
-
|
4257
|
+
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), _[0] & /*location*/
|
4262
4258
|
1 && f !== (f = /*location*/
|
4263
|
-
|
4259
|
+
H[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), _[0] & /*location*/
|
4264
4260
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4265
|
-
(
|
4261
|
+
(H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
|
4266
4262
|
},
|
4267
4263
|
i: k,
|
4268
4264
|
o: k,
|
4269
|
-
d(
|
4270
|
-
|
4265
|
+
d(H) {
|
4266
|
+
H && D(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, J(b);
|
4271
4267
|
}
|
4272
4268
|
};
|
4273
4269
|
}
|
4274
|
-
function
|
4275
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups:
|
4276
|
-
|
4270
|
+
function ro(e, t, r) {
|
4271
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: x = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: I = "" } = t;
|
4272
|
+
qi({ withLocale: "en", translations: {} });
|
4277
4273
|
const $ = () => {
|
4278
|
-
fetch(f).then((
|
4279
|
-
Object.keys(
|
4280
|
-
Nt(F,
|
4274
|
+
fetch(f).then((C) => C.json()).then((C) => {
|
4275
|
+
Object.keys(C).forEach((F) => {
|
4276
|
+
Nt(F, C[F]);
|
4281
4277
|
});
|
4282
|
-
}).catch((
|
4283
|
-
console.log(
|
4278
|
+
}).catch((C) => {
|
4279
|
+
console.log(C);
|
4284
4280
|
});
|
4285
4281
|
};
|
4286
|
-
Object.keys(
|
4287
|
-
Nt(c,
|
4282
|
+
Object.keys(Lt).forEach((c) => {
|
4283
|
+
Nt(c, Lt[c]);
|
4288
4284
|
});
|
4289
|
-
let
|
4290
|
-
var
|
4291
|
-
if (!(c.subGroups &&
|
4292
|
-
if (
|
4285
|
+
let w, M, P, V, j, fe = [], Ee = [], K = [], N, Fe = (c, C, F, Z, X) => {
|
4286
|
+
var Q;
|
4287
|
+
if (!(c.subGroups && Z === null)) {
|
4288
|
+
if (xe(), r(6, M = C), r(6, M), X != "secondary") {
|
4293
4289
|
window.postMessage(
|
4294
4290
|
{
|
4295
4291
|
type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
4296
4292
|
buzz: "1",
|
4297
4293
|
itemId: c.id,
|
4298
|
-
index:
|
4294
|
+
index: C,
|
4299
4295
|
item: c,
|
4300
4296
|
path: c.path,
|
4301
4297
|
externalLink: c.externalLink || !1,
|
4302
|
-
target: ((
|
4298
|
+
target: ((Q = c.attrs) == null ? void 0 : Q.target) || null
|
4303
4299
|
},
|
4304
4300
|
window.location.href
|
4305
|
-
), r(7,
|
4301
|
+
), r(7, P = null), r(8, V = null);
|
4306
4302
|
return;
|
4307
4303
|
}
|
4308
|
-
r(7,
|
4304
|
+
r(7, P = Z), r(7, P), r(8, V = P), window.postMessage(
|
4309
4305
|
{
|
4310
4306
|
type: s,
|
4311
4307
|
itemId: F.id,
|
4312
|
-
subIndex:
|
4308
|
+
subIndex: Z,
|
4313
4309
|
subItem: F
|
4314
4310
|
},
|
4315
4311
|
window.location.href
|
4316
4312
|
);
|
4317
4313
|
}
|
4318
4314
|
}, lt = () => {
|
4319
|
-
N && (
|
4315
|
+
N && (K.length !== M ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4320
4316
|
}, ut = () => {
|
4321
|
-
N && (
|
4317
|
+
N && (K.length !== M ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
|
4322
4318
|
};
|
4323
4319
|
const ht = (c) => {
|
4324
|
-
c.data.type == "SliderData" && c.data.identity == m && (r(9,
|
4325
|
-
|
4320
|
+
c.data.type == "SliderData" && c.data.identity == m && (r(9, fe = c.data.data), r(11, K = new Array(fe.length).fill(!1)), H == "true" && xr()), c.data.type == "GoToHomepage" && fe.forEach((C, F) => {
|
4321
|
+
C.path.endsWith("/casino") && (r(6, M = F), r(6, M));
|
4326
4322
|
});
|
4327
4323
|
}, _r = () => {
|
4328
|
-
|
4329
|
-
}, Er = (c,
|
4324
|
+
Ji(b);
|
4325
|
+
}, Er = (c, C, F) => {
|
4330
4326
|
if (u == "secondaryMenu" && n && i && b && c.id) {
|
4331
|
-
let
|
4332
|
-
fetch(
|
4333
|
-
|
4327
|
+
let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
|
4328
|
+
fetch(Z.href).then((X) => X.json()).then((X) => {
|
4329
|
+
X.index = C, r(10, Ee = Ee.concat(X)), H == "false" && window.postMessage(
|
4334
4330
|
{
|
4335
4331
|
type: s,
|
4336
4332
|
itemId: c.id,
|
4337
|
-
index:
|
4333
|
+
index: C,
|
4338
4334
|
item: c
|
4339
4335
|
},
|
4340
4336
|
window.location.href
|
4341
4337
|
);
|
4342
|
-
const
|
4343
|
-
|
4344
|
-
|
4345
|
-
}),
|
4338
|
+
const Q = [];
|
4339
|
+
Ee.map((Mr) => (Mr.items.forEach((ct) => {
|
4340
|
+
Q.find((Nr) => ct.id == Nr) || Q.push(ct.id);
|
4341
|
+
}), Q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Q }, window.location.href);
|
4346
4342
|
}).then(() => {
|
4347
|
-
|
4343
|
+
w.querySelectorAll(".DropDown") && xe();
|
4348
4344
|
});
|
4349
4345
|
}
|
4350
4346
|
u == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
|
4351
|
-
},
|
4352
|
-
const c =
|
4347
|
+
}, xe = () => {
|
4348
|
+
const c = w.querySelectorAll(".DropDown");
|
4353
4349
|
document.activeElement.blur(), N.classList.add("isScrolling");
|
4354
|
-
for (let
|
4355
|
-
c[
|
4350
|
+
for (let C = 0; C < c.length; C++)
|
4351
|
+
c[C].style.transform = "translateX(-" + N.scrollLeft + "px)";
|
4356
4352
|
N.classList.remove("isScrolling");
|
4357
4353
|
}, xr = () => {
|
4358
|
-
|
4354
|
+
fe.forEach((c, C) => {
|
4359
4355
|
var F;
|
4360
|
-
((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11,
|
4356
|
+
((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11, K[C] = !0, K), Er(c, C));
|
4361
4357
|
});
|
4362
4358
|
}, Cr = (c) => {
|
4363
|
-
let
|
4364
|
-
return c.id === "LOBBY" ?
|
4359
|
+
let C = "";
|
4360
|
+
return c.id === "LOBBY" ? C = x : c.id === "MYGAMES" && (C = O), c.icon || C;
|
4365
4361
|
};
|
4366
4362
|
zr(() => (window.addEventListener("message", ht, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4367
4363
|
() => {
|
4368
|
-
N.addEventListener("scroll",
|
4364
|
+
N.addEventListener("scroll", xe);
|
4369
4365
|
},
|
4370
4366
|
500
|
4371
4367
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4372
|
-
window.removeEventListener("message", ht),
|
4368
|
+
window.removeEventListener("message", ht), w.removeEventListener("scroll", xe);
|
4373
4369
|
}));
|
4374
|
-
const wr = () => lt(), Hr = (c,
|
4375
|
-
|
4376
|
-
}, Sr = (c,
|
4377
|
-
|
4370
|
+
const wr = () => lt(), Hr = (c, C, F, Z, X) => {
|
4371
|
+
Fe(c, C, F, Z, "secondary"), X.stopPropagation();
|
4372
|
+
}, Sr = (c, C, F) => {
|
4373
|
+
Fe(c, C, null, null, "main"), F.preventDefault();
|
4378
4374
|
};
|
4379
4375
|
function Tr(c) {
|
4380
|
-
|
4381
|
-
|
4376
|
+
pe[c ? "unshift" : "push"](() => {
|
4377
|
+
w = c, r(5, w);
|
4382
4378
|
});
|
4383
4379
|
}
|
4384
4380
|
function Ar(c) {
|
4385
|
-
|
4381
|
+
pe[c ? "unshift" : "push"](() => {
|
4386
4382
|
N = c, r(12, N);
|
4387
4383
|
});
|
4388
4384
|
}
|
4389
4385
|
const Br = () => ut();
|
4390
4386
|
function Ir(c) {
|
4391
|
-
|
4392
|
-
|
4387
|
+
pe[c ? "unshift" : "push"](() => {
|
4388
|
+
j = c, r(4, j);
|
4393
4389
|
});
|
4394
4390
|
}
|
4395
4391
|
return e.$$set = (c) => {
|
4396
|
-
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = 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,
|
4392
|
+
"endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = 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, H = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, x = c.lobbyiconimage), "mygamesiconimage" in c && r(30, O = c.mygamesiconimage), "mbsource" in c && r(31, I = c.mbsource);
|
4397
4393
|
}, e.$$.update = () => {
|
4398
4394
|
e.$$.dirty[0] & /*activeindex*/
|
4399
4395
|
2, e.$$.dirty[0] & /*translationurl*/
|
4400
4396
|
33554432 && f && $(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4401
|
-
4194320 && l &&
|
4402
|
-
8388624 && h &&
|
4397
|
+
4194320 && l && j && an(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4398
|
+
8388624 && h && j && ln(j, h), e.$$.dirty[0] & /*customStylingContainer*/
|
4403
4399
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4404
|
-
1 && I &&
|
4400
|
+
1 && I && j && un(j, `${I}.Style`), e.$$.dirty[0] & /*lang*/
|
4405
4401
|
268435456 && b && _r();
|
4406
4402
|
}, [
|
4407
4403
|
u,
|
4408
4404
|
d,
|
4409
|
-
|
4405
|
+
H,
|
4410
4406
|
_,
|
4411
|
-
|
4412
|
-
|
4407
|
+
j,
|
4408
|
+
w,
|
4413
4409
|
M,
|
4414
|
-
|
4415
|
-
|
4416
|
-
|
4417
|
-
|
4418
|
-
|
4410
|
+
P,
|
4411
|
+
V,
|
4412
|
+
fe,
|
4413
|
+
Ee,
|
4414
|
+
K,
|
4419
4415
|
N,
|
4420
|
-
|
4416
|
+
Fe,
|
4421
4417
|
lt,
|
4422
4418
|
ut,
|
4423
4419
|
Cr,
|
@@ -4433,8 +4429,8 @@ function no(e, t, r) {
|
|
4433
4429
|
p,
|
4434
4430
|
g,
|
4435
4431
|
b,
|
4436
|
-
|
4437
|
-
|
4432
|
+
x,
|
4433
|
+
O,
|
4438
4434
|
I,
|
4439
4435
|
wr,
|
4440
4436
|
Hr,
|
@@ -4445,13 +4441,13 @@ function no(e, t, r) {
|
|
4445
4441
|
Ir
|
4446
4442
|
];
|
4447
4443
|
}
|
4448
|
-
class
|
4444
|
+
class no extends on {
|
4449
4445
|
constructor(t) {
|
4450
4446
|
super(), rn(
|
4451
4447
|
this,
|
4452
4448
|
t,
|
4453
|
-
no,
|
4454
4449
|
ro,
|
4450
|
+
to,
|
4455
4451
|
Xt,
|
4456
4452
|
{
|
4457
4453
|
endpoint: 17,
|
@@ -4474,7 +4470,7 @@ class io extends on {
|
|
4474
4470
|
mygamesiconimage: 30,
|
4475
4471
|
mbsource: 31
|
4476
4472
|
},
|
4477
|
-
|
4473
|
+
Yi,
|
4478
4474
|
[-1, -1]
|
4479
4475
|
);
|
4480
4476
|
}
|
@@ -4593,7 +4589,7 @@ class io extends on {
|
|
4593
4589
|
this.$$set({ mbsource: t }), A();
|
4594
4590
|
}
|
4595
4591
|
}
|
4596
|
-
nn(
|
4592
|
+
nn(no, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4597
4593
|
export {
|
4598
|
-
|
4594
|
+
no as default
|
4599
4595
|
};
|