@everymatrix/casino-slider 1.60.2 → 1.61.1
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-BzJCzFwt.js → CasinoSlider-PJD_gO7W.js} +528 -523
- package/components/{CasinoSlider-DMh-2taZ.js → CasinoSlider-c6MV6q5T.js} +542 -537
- package/components/{CasinoSlider-CDe2H2oY.cjs → CasinoSlider-qZUsGheA.cjs} +3 -3
- 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/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b7bbd57e-BBUBsGhp.js +550 -0
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +1 -0
- package/stencil/index-b7bbd57e-wJC_uAuk.js +534 -0
- package/stencil/ui-image-38c3c15f-ByZECnci.js +39 -0
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +39 -0
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +1 -0
- package/stencil/ui-image-BNrzgSpe.js +11 -0
- package/stencil/ui-image-CLghOqUz.cjs +1 -0
- package/stencil/ui-image-CPH6BqjQ.js +29 -0
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var Nr = Object.defineProperty, Lr = Object.defineProperties;
|
2
|
+
var Pr = Object.getOwnPropertyDescriptors;
|
3
|
+
var ct = Object.getOwnPropertySymbols;
|
4
|
+
var Or = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var De = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Or.call(t, r) && De(e, r, t[r]);
|
8
|
+
if (ct)
|
9
|
+
for (var r of ct(t))
|
10
|
+
Fr.call(t, r) && De(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var U = (e, t, r) => (
|
14
|
-
var
|
12
|
+
}, mt = (e, t) => Lr(e, Pr(t));
|
13
|
+
var U = (e, t, r) => (De(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var dt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
@@ -27,31 +27,32 @@ var mt = (e, t, r) => new Promise((n, i) => {
|
|
27
27
|
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
+
import "../stencil/ui-image-CPH6BqjQ.js";
|
30
31
|
function k() {
|
31
32
|
}
|
32
|
-
function
|
33
|
+
function jt(e) {
|
33
34
|
return e();
|
34
35
|
}
|
35
|
-
function
|
36
|
+
function pt() {
|
36
37
|
return /* @__PURE__ */ Object.create(null);
|
37
38
|
}
|
38
39
|
function J(e) {
|
39
|
-
e.forEach(
|
40
|
+
e.forEach(jt);
|
40
41
|
}
|
41
|
-
function
|
42
|
+
function nt(e) {
|
42
43
|
return typeof e == "function";
|
43
44
|
}
|
44
|
-
function
|
45
|
+
function Vt(e, t) {
|
45
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
47
|
}
|
47
48
|
let Ce;
|
48
|
-
function
|
49
|
+
function gt(e, t) {
|
49
50
|
return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
|
50
51
|
}
|
51
|
-
function
|
52
|
+
function Rr(e) {
|
52
53
|
return Object.keys(e).length === 0;
|
53
54
|
}
|
54
|
-
function
|
55
|
+
function Dr(e, ...t) {
|
55
56
|
if (e == null) {
|
56
57
|
for (const n of t)
|
57
58
|
n(void 0);
|
@@ -63,14 +64,14 @@ function Rr(e, ...t) {
|
|
63
64
|
function B(e, t) {
|
64
65
|
e.appendChild(t);
|
65
66
|
}
|
66
|
-
function
|
67
|
-
const n =
|
67
|
+
function Ur(e, t, r) {
|
68
|
+
const n = Gr(e);
|
68
69
|
if (!n.getElementById(t)) {
|
69
70
|
const i = L("style");
|
70
|
-
i.id = t, i.textContent = r,
|
71
|
+
i.id = t, i.textContent = r, kr(n, i);
|
71
72
|
}
|
72
73
|
}
|
73
|
-
function
|
74
|
+
function Gr(e) {
|
74
75
|
if (!e)
|
75
76
|
return document;
|
76
77
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -80,7 +81,7 @@ function Ur(e) {
|
|
80
81
|
t
|
81
82
|
) : e.ownerDocument;
|
82
83
|
}
|
83
|
-
function
|
84
|
+
function kr(e, t) {
|
84
85
|
return B(
|
85
86
|
/** @type {Document} */
|
86
87
|
e.head || e,
|
@@ -93,7 +94,7 @@ function G(e, t, r) {
|
|
93
94
|
function D(e) {
|
94
95
|
e.parentNode && e.parentNode.removeChild(e);
|
95
96
|
}
|
96
|
-
function
|
97
|
+
function $r(e, t) {
|
97
98
|
for (let r = 0; r < e.length; r += 1)
|
98
99
|
e[r] && e[r].d(t);
|
99
100
|
}
|
@@ -109,20 +110,24 @@ function q() {
|
|
109
110
|
function ge() {
|
110
111
|
return _e("");
|
111
112
|
}
|
112
|
-
function
|
113
|
+
function Be(e, t, r, n) {
|
113
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
114
115
|
}
|
115
|
-
function
|
116
|
+
function T(e, t, r) {
|
116
117
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
117
118
|
}
|
118
|
-
function
|
119
|
+
function we(e, t, r) {
|
120
|
+
const n = t.toLowerCase();
|
121
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
|
122
|
+
}
|
123
|
+
function jr(e) {
|
119
124
|
return Array.from(e.childNodes);
|
120
125
|
}
|
121
|
-
function
|
126
|
+
function it(e, t) {
|
122
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
123
128
|
t);
|
124
129
|
}
|
125
|
-
function
|
130
|
+
function Vr(e) {
|
126
131
|
const t = {};
|
127
132
|
return e.childNodes.forEach(
|
128
133
|
/** @param {Element} node */
|
@@ -135,25 +140,25 @@ let be;
|
|
135
140
|
function de(e) {
|
136
141
|
be = e;
|
137
142
|
}
|
138
|
-
function
|
143
|
+
function Xr() {
|
139
144
|
if (!be)
|
140
145
|
throw new Error("Function called outside component initialization");
|
141
146
|
return be;
|
142
147
|
}
|
143
|
-
function
|
144
|
-
|
148
|
+
function Wr(e) {
|
149
|
+
Xr().$$.on_mount.push(e);
|
145
150
|
}
|
146
151
|
const re = [], pe = [];
|
147
152
|
let ne = [];
|
148
|
-
const
|
149
|
-
let
|
150
|
-
function
|
151
|
-
|
153
|
+
const bt = [], zr = /* @__PURE__ */ Promise.resolve();
|
154
|
+
let We = !1;
|
155
|
+
function Zr() {
|
156
|
+
We || (We = !0, zr.then(A));
|
152
157
|
}
|
153
|
-
function
|
158
|
+
function ze(e) {
|
154
159
|
ne.push(e);
|
155
160
|
}
|
156
|
-
const
|
161
|
+
const Ue = /* @__PURE__ */ new Set();
|
157
162
|
let ee = 0;
|
158
163
|
function A() {
|
159
164
|
if (ee !== 0)
|
@@ -163,7 +168,7 @@ function A() {
|
|
163
168
|
try {
|
164
169
|
for (; ee < re.length; ) {
|
165
170
|
const t = re[ee];
|
166
|
-
ee++, de(t),
|
171
|
+
ee++, de(t), Qr(t.$$);
|
167
172
|
}
|
168
173
|
} catch (t) {
|
169
174
|
throw re.length = 0, ee = 0, t;
|
@@ -172,36 +177,36 @@ function A() {
|
|
172
177
|
pe.pop()();
|
173
178
|
for (let t = 0; t < ne.length; t += 1) {
|
174
179
|
const r = ne[t];
|
175
|
-
|
180
|
+
Ue.has(r) || (Ue.add(r), r());
|
176
181
|
}
|
177
182
|
ne.length = 0;
|
178
183
|
} while (re.length);
|
179
|
-
for (;
|
180
|
-
|
181
|
-
|
184
|
+
for (; bt.length; )
|
185
|
+
bt.pop()();
|
186
|
+
We = !1, Ue.clear(), de(e);
|
182
187
|
}
|
183
|
-
function
|
188
|
+
function Qr(e) {
|
184
189
|
if (e.fragment !== null) {
|
185
190
|
e.update(), J(e.before_update);
|
186
191
|
const t = e.dirty;
|
187
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
192
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
188
193
|
}
|
189
194
|
}
|
190
|
-
function
|
195
|
+
function qr(e) {
|
191
196
|
const t = [], r = [];
|
192
197
|
ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
|
193
198
|
}
|
194
|
-
const
|
195
|
-
function
|
196
|
-
e && e.i && (
|
199
|
+
const Jr = /* @__PURE__ */ new Set();
|
200
|
+
function Xt(e, t) {
|
201
|
+
e && e.i && (Jr.delete(e), e.i(t));
|
197
202
|
}
|
198
203
|
function ie(e) {
|
199
204
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
200
205
|
}
|
201
|
-
function
|
206
|
+
function Wt(e, t) {
|
202
207
|
e.d(1), t.delete(e.key);
|
203
208
|
}
|
204
|
-
function
|
209
|
+
function zt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
205
210
|
let f = e.length, p = o.length, g = f;
|
206
211
|
const b = {};
|
207
212
|
for (; g--; )
|
@@ -214,7 +219,7 @@ function Wt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
|
214
219
|
}
|
215
220
|
const O = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
|
216
221
|
function $(w) {
|
217
|
-
|
222
|
+
Xt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, p--;
|
218
223
|
}
|
219
224
|
for (; f && p; ) {
|
220
225
|
const w = d[p - 1], M = e[f - 1], P = w.key, V = M.key;
|
@@ -228,21 +233,21 @@ function Wt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
|
228
233
|
$(d[p - 1]);
|
229
234
|
return J(x), d;
|
230
235
|
}
|
231
|
-
function
|
236
|
+
function Yr(e, t, r) {
|
232
237
|
const { fragment: n, after_update: i } = e.$$;
|
233
|
-
n && n.m(t, r),
|
234
|
-
const o = e.$$.on_mount.map(
|
238
|
+
n && n.m(t, r), ze(() => {
|
239
|
+
const o = e.$$.on_mount.map(jt).filter(nt);
|
235
240
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
236
|
-
}), i.forEach(
|
241
|
+
}), i.forEach(ze);
|
237
242
|
}
|
238
|
-
function
|
243
|
+
function Kr(e, t) {
|
239
244
|
const r = e.$$;
|
240
|
-
r.fragment !== null && (
|
245
|
+
r.fragment !== null && (qr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
241
246
|
}
|
242
|
-
function
|
243
|
-
e.$$.dirty[0] === -1 && (re.push(e),
|
247
|
+
function en(e, t) {
|
248
|
+
e.$$.dirty[0] === -1 && (re.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
244
249
|
}
|
245
|
-
function
|
250
|
+
function tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
246
251
|
const u = be;
|
247
252
|
de(e);
|
248
253
|
const l = e.$$ = {
|
@@ -252,7 +257,7 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
252
257
|
props: o,
|
253
258
|
update: k,
|
254
259
|
not_equal: i,
|
255
|
-
bound:
|
260
|
+
bound: pt(),
|
256
261
|
// lifecycle
|
257
262
|
on_mount: [],
|
258
263
|
on_destroy: [],
|
@@ -261,7 +266,7 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
261
266
|
after_update: [],
|
262
267
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
263
268
|
// everything else
|
264
|
-
callbacks:
|
269
|
+
callbacks: pt(),
|
265
270
|
dirty: a,
|
266
271
|
skip_bound: !1,
|
267
272
|
root: t.target || u.$$.root
|
@@ -270,19 +275,19 @@ function en(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
270
275
|
let h = !1;
|
271
276
|
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
272
277
|
const g = p.length ? p[0] : f;
|
273
|
-
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h &&
|
278
|
+
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && en(e, m)), f;
|
274
279
|
}) : [], l.update(), h = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
275
280
|
if (t.hydrate) {
|
276
|
-
const m =
|
281
|
+
const m = jr(t.target);
|
277
282
|
l.fragment && l.fragment.l(m), m.forEach(D);
|
278
283
|
} else
|
279
284
|
l.fragment && l.fragment.c();
|
280
|
-
t.intro &&
|
285
|
+
t.intro && Xt(e.$$.fragment), Yr(e, t.target, t.anchor), A();
|
281
286
|
}
|
282
287
|
de(u);
|
283
288
|
}
|
284
|
-
let
|
285
|
-
typeof HTMLElement == "function" && (
|
289
|
+
let Zt;
|
290
|
+
typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
286
291
|
constructor(t, r, n) {
|
287
292
|
super();
|
288
293
|
/** The Svelte component constructor */
|
@@ -319,14 +324,14 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
319
324
|
}
|
320
325
|
}
|
321
326
|
connectedCallback() {
|
322
|
-
return
|
327
|
+
return dt(this, null, function* () {
|
323
328
|
if (this.$$cn = !0, !this.$$c) {
|
324
329
|
let t = function(o) {
|
325
330
|
return () => {
|
326
331
|
let s;
|
327
332
|
return {
|
328
333
|
c: function() {
|
329
|
-
s = L("slot"), o !== "default" &&
|
334
|
+
s = L("slot"), o !== "default" && T(s, "name", o);
|
330
335
|
},
|
331
336
|
/**
|
332
337
|
* @param {HTMLElement} target
|
@@ -343,18 +348,18 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
343
348
|
};
|
344
349
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
345
350
|
return;
|
346
|
-
const r = {}, n =
|
351
|
+
const r = {}, n = Vr(this);
|
347
352
|
for (const o of this.$$s)
|
348
353
|
o in n && (r[o] = [t(o)]);
|
349
354
|
for (const o of this.attributes) {
|
350
355
|
const s = this.$$g_p(o.name);
|
351
|
-
s in this.$$d || (this.$$d[s] =
|
356
|
+
s in this.$$d || (this.$$d[s] = Se(s, o.value, this.$$p_d, "toProp"));
|
352
357
|
}
|
353
358
|
for (const o in this.$$p_d)
|
354
359
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
355
360
|
this.$$c = new this.$$ctor({
|
356
361
|
target: this.shadowRoot || this,
|
357
|
-
props: ft(
|
362
|
+
props: mt(ft({}, this.$$d), {
|
358
363
|
$$slots: r,
|
359
364
|
$$scope: {
|
360
365
|
ctx: []
|
@@ -365,7 +370,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
365
370
|
this.$$r = !0;
|
366
371
|
for (const o in this.$$p_d)
|
367
372
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
368
|
-
const s =
|
373
|
+
const s = Se(
|
369
374
|
o,
|
370
375
|
this.$$d[o],
|
371
376
|
this.$$p_d,
|
@@ -389,7 +394,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
389
394
|
// and setting attributes through setAttribute etc, this is helpful
|
390
395
|
attributeChangedCallback(t, r, n) {
|
391
396
|
var i;
|
392
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
397
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Se(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
393
398
|
}
|
394
399
|
disconnectedCallback() {
|
395
400
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -402,7 +407,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
402
407
|
) || t;
|
403
408
|
}
|
404
409
|
});
|
405
|
-
function
|
410
|
+
function Se(e, t, r, n) {
|
406
411
|
var o;
|
407
412
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
408
413
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
@@ -432,8 +437,8 @@ function He(e, t, r, n) {
|
|
432
437
|
return t;
|
433
438
|
}
|
434
439
|
}
|
435
|
-
function
|
436
|
-
let s = class extends
|
440
|
+
function rn(e, t, r, n, i, o) {
|
441
|
+
let s = class extends Zt {
|
437
442
|
constructor() {
|
438
443
|
super(e, r, i), this.$$p_d = t;
|
439
444
|
}
|
@@ -450,7 +455,7 @@ function tn(e, t, r, n, i, o) {
|
|
450
455
|
},
|
451
456
|
set(u) {
|
452
457
|
var l;
|
453
|
-
u =
|
458
|
+
u = Se(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
454
459
|
}
|
455
460
|
});
|
456
461
|
}), n.forEach((a) => {
|
@@ -463,7 +468,7 @@ function tn(e, t, r, n, i, o) {
|
|
463
468
|
}), e.element = /** @type {any} */
|
464
469
|
s, s;
|
465
470
|
}
|
466
|
-
class
|
471
|
+
class nn {
|
467
472
|
constructor() {
|
468
473
|
/**
|
469
474
|
* ### PRIVATE API
|
@@ -484,7 +489,7 @@ class rn {
|
|
484
489
|
}
|
485
490
|
/** @returns {void} */
|
486
491
|
$destroy() {
|
487
|
-
|
492
|
+
Kr(this, 1), this.$destroy = k;
|
488
493
|
}
|
489
494
|
/**
|
490
495
|
* @template {Extract<keyof Events, string>} K
|
@@ -493,7 +498,7 @@ class rn {
|
|
493
498
|
* @returns {() => void}
|
494
499
|
*/
|
495
500
|
$on(t, r) {
|
496
|
-
if (!
|
501
|
+
if (!nt(r))
|
497
502
|
return k;
|
498
503
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
499
504
|
return n.push(r), () => {
|
@@ -506,18 +511,18 @@ class rn {
|
|
506
511
|
* @returns {void}
|
507
512
|
*/
|
508
513
|
$set(t) {
|
509
|
-
this.$$set && !
|
514
|
+
this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
510
515
|
}
|
511
516
|
}
|
512
|
-
const
|
513
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
514
|
-
function
|
517
|
+
const on = "4";
|
518
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
|
519
|
+
function sn(e, t) {
|
515
520
|
if (e) {
|
516
521
|
const r = document.createElement("style");
|
517
522
|
r.innerHTML = t, e.appendChild(r);
|
518
523
|
}
|
519
524
|
}
|
520
|
-
function
|
525
|
+
function an(e, t) {
|
521
526
|
const r = new URL(t);
|
522
527
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
523
528
|
const i = document.createElement("style");
|
@@ -526,7 +531,7 @@ function sn(e, t) {
|
|
526
531
|
console.error("There was an error while trying to load client styling from URL", n);
|
527
532
|
});
|
528
533
|
}
|
529
|
-
function
|
534
|
+
function ln(e, t, r) {
|
530
535
|
if (window.emMessageBus) {
|
531
536
|
const n = document.createElement("style");
|
532
537
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -535,16 +540,16 @@ function an(e, t, r) {
|
|
535
540
|
}
|
536
541
|
}
|
537
542
|
const te = [];
|
538
|
-
function
|
543
|
+
function un(e, t) {
|
539
544
|
return {
|
540
|
-
subscribe:
|
545
|
+
subscribe: Ne(e, t).subscribe
|
541
546
|
};
|
542
547
|
}
|
543
|
-
function
|
548
|
+
function Ne(e, t = k) {
|
544
549
|
let r;
|
545
550
|
const n = /* @__PURE__ */ new Set();
|
546
551
|
function i(a) {
|
547
|
-
if (
|
552
|
+
if (Vt(e, a) && (e = a, r)) {
|
548
553
|
const u = !te.length;
|
549
554
|
for (const l of n)
|
550
555
|
l[1](), te.push(l, e);
|
@@ -571,7 +576,7 @@ function ue(e, t, r) {
|
|
571
576
|
if (!i.every(Boolean))
|
572
577
|
throw new Error("derived() expects stores as input, got a falsy value");
|
573
578
|
const o = t.length < 2;
|
574
|
-
return
|
579
|
+
return un(r, (s, a) => {
|
575
580
|
let u = !1;
|
576
581
|
const l = [];
|
577
582
|
let h = 0, m = k;
|
@@ -580,9 +585,9 @@ function ue(e, t, r) {
|
|
580
585
|
return;
|
581
586
|
m();
|
582
587
|
const g = t(n ? l[0] : l, s, a);
|
583
|
-
o ? s(g) : m =
|
588
|
+
o ? s(g) : m = nt(g) ? g : k;
|
584
589
|
}, p = i.map(
|
585
|
-
(g, b) =>
|
590
|
+
(g, b) => Dr(
|
586
591
|
g,
|
587
592
|
(d) => {
|
588
593
|
l[b] = d, h &= ~(1 << b), u && f();
|
@@ -597,70 +602,70 @@ function ue(e, t, r) {
|
|
597
602
|
};
|
598
603
|
});
|
599
604
|
}
|
600
|
-
function
|
605
|
+
function hn(e) {
|
601
606
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
602
607
|
}
|
603
|
-
var
|
604
|
-
return
|
608
|
+
var cn = function(t) {
|
609
|
+
return fn(t) && !mn(t);
|
605
610
|
};
|
606
|
-
function
|
611
|
+
function fn(e) {
|
607
612
|
return !!e && typeof e == "object";
|
608
613
|
}
|
609
|
-
function
|
614
|
+
function mn(e) {
|
610
615
|
var t = Object.prototype.toString.call(e);
|
611
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
612
|
-
}
|
613
|
-
var mn = typeof Symbol == "function" && Symbol.for, dn = mn ? Symbol.for("react.element") : 60103;
|
614
|
-
function pn(e) {
|
615
|
-
return e.$$typeof === dn;
|
616
|
+
return t === "[object RegExp]" || t === "[object Date]" || gn(e);
|
616
617
|
}
|
618
|
+
var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
|
617
619
|
function gn(e) {
|
620
|
+
return e.$$typeof === pn;
|
621
|
+
}
|
622
|
+
function bn(e) {
|
618
623
|
return Array.isArray(e) ? [] : {};
|
619
624
|
}
|
620
625
|
function ye(e, t) {
|
621
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? oe(
|
626
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? oe(bn(e), e, t) : e;
|
622
627
|
}
|
623
|
-
function
|
628
|
+
function yn(e, t, r) {
|
624
629
|
return e.concat(t).map(function(n) {
|
625
630
|
return ye(n, r);
|
626
631
|
});
|
627
632
|
}
|
628
|
-
function
|
633
|
+
function vn(e, t) {
|
629
634
|
if (!t.customMerge)
|
630
635
|
return oe;
|
631
636
|
var r = t.customMerge(e);
|
632
637
|
return typeof r == "function" ? r : oe;
|
633
638
|
}
|
634
|
-
function
|
639
|
+
function _n(e) {
|
635
640
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
636
641
|
return Object.propertyIsEnumerable.call(e, t);
|
637
642
|
}) : [];
|
638
643
|
}
|
639
|
-
function
|
640
|
-
return Object.keys(e).concat(
|
644
|
+
function yt(e) {
|
645
|
+
return Object.keys(e).concat(_n(e));
|
641
646
|
}
|
642
|
-
function
|
647
|
+
function Qt(e, t) {
|
643
648
|
try {
|
644
649
|
return t in e;
|
645
650
|
} catch (r) {
|
646
651
|
return !1;
|
647
652
|
}
|
648
653
|
}
|
649
|
-
function
|
650
|
-
return
|
654
|
+
function En(e, t) {
|
655
|
+
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
651
656
|
}
|
652
|
-
function
|
657
|
+
function xn(e, t, r) {
|
653
658
|
var n = {};
|
654
|
-
return r.isMergeableObject(e) &&
|
659
|
+
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
655
660
|
n[i] = ye(e[i], r);
|
656
|
-
}),
|
657
|
-
|
661
|
+
}), yt(t).forEach(function(i) {
|
662
|
+
En(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
|
658
663
|
}), n;
|
659
664
|
}
|
660
665
|
function oe(e, t, r) {
|
661
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
666
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = ye;
|
662
667
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
663
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
668
|
+
return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ye(t, r);
|
664
669
|
}
|
665
670
|
oe.all = function(t, r) {
|
666
671
|
if (!Array.isArray(t))
|
@@ -669,8 +674,8 @@ oe.all = function(t, r) {
|
|
669
674
|
return oe(n, i, r);
|
670
675
|
}, {});
|
671
676
|
};
|
672
|
-
var
|
673
|
-
const
|
677
|
+
var Cn = oe, wn = Cn;
|
678
|
+
const Hn = /* @__PURE__ */ hn(wn);
|
674
679
|
/*! *****************************************************************************
|
675
680
|
Copyright (c) Microsoft Corporation.
|
676
681
|
|
@@ -685,18 +690,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
685
690
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
686
691
|
PERFORMANCE OF THIS SOFTWARE.
|
687
692
|
***************************************************************************** */
|
688
|
-
var
|
689
|
-
return
|
693
|
+
var Ze = function(e, t) {
|
694
|
+
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
690
695
|
r.__proto__ = n;
|
691
696
|
} || function(r, n) {
|
692
697
|
for (var i in n)
|
693
698
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
694
|
-
},
|
699
|
+
}, Ze(e, t);
|
695
700
|
};
|
696
|
-
function
|
701
|
+
function Le(e, t) {
|
697
702
|
if (typeof t != "function" && t !== null)
|
698
703
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
699
|
-
|
704
|
+
Ze(e, t);
|
700
705
|
function r() {
|
701
706
|
this.constructor = e;
|
702
707
|
}
|
@@ -712,7 +717,7 @@ var E = function() {
|
|
712
717
|
return t;
|
713
718
|
}, E.apply(this, arguments);
|
714
719
|
};
|
715
|
-
function
|
720
|
+
function Sn(e, t) {
|
716
721
|
var r = {};
|
717
722
|
for (var n in e)
|
718
723
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -721,43 +726,43 @@ function Hn(e, t) {
|
|
721
726
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
722
727
|
return r;
|
723
728
|
}
|
724
|
-
function
|
729
|
+
function Ge(e, t, r) {
|
725
730
|
if (arguments.length === 2)
|
726
731
|
for (var n = 0, i = t.length, o; n < i; n++)
|
727
732
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
728
733
|
return e.concat(o || t);
|
729
734
|
}
|
730
|
-
function
|
731
|
-
var r = t && t.cache ? t.cache :
|
735
|
+
function ke(e, t) {
|
736
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Bn;
|
732
737
|
return i(e, {
|
733
738
|
cache: r,
|
734
739
|
serializer: n
|
735
740
|
});
|
736
741
|
}
|
737
|
-
function
|
742
|
+
function Tn(e) {
|
738
743
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
739
744
|
}
|
740
|
-
function
|
741
|
-
var i =
|
745
|
+
function An(e, t, r, n) {
|
746
|
+
var i = Tn(n) ? n : r(n), o = t.get(i);
|
742
747
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
743
748
|
}
|
744
|
-
function
|
749
|
+
function qt(e, t, r) {
|
745
750
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
746
751
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
747
752
|
}
|
748
|
-
function
|
753
|
+
function Jt(e, t, r, n, i) {
|
749
754
|
return r.bind(t, e, n, i);
|
750
755
|
}
|
751
|
-
function An(e, t) {
|
752
|
-
var r = e.length === 1 ? Tn : Qt;
|
753
|
-
return qt(e, this, r, t.cache.create(), t.serializer);
|
754
|
-
}
|
755
756
|
function Bn(e, t) {
|
756
|
-
|
757
|
+
var r = e.length === 1 ? An : qt;
|
758
|
+
return Jt(e, this, r, t.cache.create(), t.serializer);
|
757
759
|
}
|
758
|
-
|
760
|
+
function In(e, t) {
|
761
|
+
return Jt(e, this, qt, t.cache.create(), t.serializer);
|
762
|
+
}
|
763
|
+
var Mn = function() {
|
759
764
|
return JSON.stringify(arguments);
|
760
|
-
},
|
765
|
+
}, Nn = (
|
761
766
|
/** @class */
|
762
767
|
function() {
|
763
768
|
function e() {
|
@@ -769,61 +774,61 @@ var In = function() {
|
|
769
774
|
this.cache[t] = r;
|
770
775
|
}, e;
|
771
776
|
}()
|
772
|
-
),
|
777
|
+
), Ln = {
|
773
778
|
create: function() {
|
774
|
-
return new
|
779
|
+
return new Nn();
|
775
780
|
}
|
776
|
-
},
|
777
|
-
variadic:
|
781
|
+
}, $e = {
|
782
|
+
variadic: In
|
778
783
|
}, y;
|
779
784
|
(function(e) {
|
780
785
|
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";
|
781
786
|
})(y || (y = {}));
|
782
|
-
var
|
787
|
+
var S;
|
783
788
|
(function(e) {
|
784
789
|
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";
|
785
|
-
})(
|
790
|
+
})(S || (S = {}));
|
786
791
|
var se;
|
787
792
|
(function(e) {
|
788
793
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
789
794
|
})(se || (se = {}));
|
790
|
-
function
|
791
|
-
return e.type ===
|
792
|
-
}
|
793
|
-
function Ln(e) {
|
794
|
-
return e.type === T.argument;
|
795
|
+
function vt(e) {
|
796
|
+
return e.type === S.literal;
|
795
797
|
}
|
796
|
-
function
|
797
|
-
return e.type ===
|
798
|
+
function Pn(e) {
|
799
|
+
return e.type === S.argument;
|
798
800
|
}
|
799
801
|
function Yt(e) {
|
800
|
-
return e.type ===
|
802
|
+
return e.type === S.number;
|
801
803
|
}
|
802
804
|
function Kt(e) {
|
803
|
-
return e.type ===
|
805
|
+
return e.type === S.date;
|
804
806
|
}
|
805
807
|
function er(e) {
|
806
|
-
return e.type ===
|
808
|
+
return e.type === S.time;
|
807
809
|
}
|
808
810
|
function tr(e) {
|
809
|
-
return e.type ===
|
810
|
-
}
|
811
|
-
function Pn(e) {
|
812
|
-
return e.type === T.pound;
|
811
|
+
return e.type === S.select;
|
813
812
|
}
|
814
813
|
function rr(e) {
|
815
|
-
return e.type ===
|
814
|
+
return e.type === S.plural;
|
815
|
+
}
|
816
|
+
function On(e) {
|
817
|
+
return e.type === S.pound;
|
816
818
|
}
|
817
819
|
function nr(e) {
|
820
|
+
return e.type === S.tag;
|
821
|
+
}
|
822
|
+
function ir(e) {
|
818
823
|
return !!(e && typeof e == "object" && e.type === se.number);
|
819
824
|
}
|
820
|
-
function
|
825
|
+
function Qe(e) {
|
821
826
|
return !!(e && typeof e == "object" && e.type === se.dateTime);
|
822
827
|
}
|
823
|
-
var
|
824
|
-
function
|
828
|
+
var or = /[ \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;
|
829
|
+
function Rn(e) {
|
825
830
|
var t = {};
|
826
|
-
return e.replace(
|
831
|
+
return e.replace(Fn, function(r) {
|
827
832
|
var n = r.length;
|
828
833
|
switch (r[0]) {
|
829
834
|
case "G":
|
@@ -912,11 +917,11 @@ function Fn(e) {
|
|
912
917
|
return "";
|
913
918
|
}), t;
|
914
919
|
}
|
915
|
-
var
|
916
|
-
function
|
920
|
+
var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
921
|
+
function Un(e) {
|
917
922
|
if (e.length === 0)
|
918
923
|
throw new Error("Number skeleton cannot be empty");
|
919
|
-
for (var t = e.split(
|
924
|
+
for (var t = e.split(Dn).filter(function(f) {
|
920
925
|
return f.length > 0;
|
921
926
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
922
927
|
var o = i[n], s = o.split("/");
|
@@ -931,17 +936,17 @@ function Dn(e) {
|
|
931
936
|
}
|
932
937
|
return r;
|
933
938
|
}
|
934
|
-
function
|
939
|
+
function Gn(e) {
|
935
940
|
return e.replace(/^(.*?)-/, "");
|
936
941
|
}
|
937
|
-
var
|
938
|
-
function
|
942
|
+
var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
943
|
+
function Et(e) {
|
939
944
|
var t = {};
|
940
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
945
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
941
946
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
942
947
|
}), t;
|
943
948
|
}
|
944
|
-
function
|
949
|
+
function lr(e) {
|
945
950
|
switch (e) {
|
946
951
|
case "sign-auto":
|
947
952
|
return {
|
@@ -981,7 +986,7 @@ function ar(e) {
|
|
981
986
|
};
|
982
987
|
}
|
983
988
|
}
|
984
|
-
function
|
989
|
+
function $n(e) {
|
985
990
|
var t;
|
986
991
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
987
992
|
notation: "engineering"
|
@@ -989,17 +994,17 @@ function kn(e) {
|
|
989
994
|
notation: "scientific"
|
990
995
|
}, e = e.slice(1)), t) {
|
991
996
|
var r = e.slice(0, 2);
|
992
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
997
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
993
998
|
throw new Error("Malformed concise eng/scientific notation");
|
994
999
|
t.minimumIntegerDigits = e.length;
|
995
1000
|
}
|
996
1001
|
return t;
|
997
1002
|
}
|
998
|
-
function
|
999
|
-
var t = {}, r =
|
1003
|
+
function xt(e) {
|
1004
|
+
var t = {}, r = lr(e);
|
1000
1005
|
return r || t;
|
1001
1006
|
}
|
1002
|
-
function
|
1007
|
+
function jn(e) {
|
1003
1008
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1004
1009
|
var i = n[r];
|
1005
1010
|
switch (i.stem) {
|
@@ -1023,7 +1028,7 @@ function $n(e) {
|
|
1023
1028
|
continue;
|
1024
1029
|
case "measure-unit":
|
1025
1030
|
case "unit":
|
1026
|
-
t.style = "unit", t.unit =
|
1031
|
+
t.style = "unit", t.unit = Gn(i.options[0]);
|
1027
1032
|
continue;
|
1028
1033
|
case "compact-short":
|
1029
1034
|
case "K":
|
@@ -1035,12 +1040,12 @@ function $n(e) {
|
|
1035
1040
|
continue;
|
1036
1041
|
case "scientific":
|
1037
1042
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1038
|
-
return E(E({}, u),
|
1043
|
+
return E(E({}, u), xt(l));
|
1039
1044
|
}, {}));
|
1040
1045
|
continue;
|
1041
1046
|
case "engineering":
|
1042
1047
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1043
|
-
return E(E({}, u),
|
1048
|
+
return E(E({}, u), xt(l));
|
1044
1049
|
}, {}));
|
1045
1050
|
continue;
|
1046
1051
|
case "notation-simple":
|
@@ -1085,7 +1090,7 @@ function $n(e) {
|
|
1085
1090
|
case "integer-width":
|
1086
1091
|
if (i.options.length > 1)
|
1087
1092
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1088
|
-
i.options[0].replace(
|
1093
|
+
i.options[0].replace(kn, function(u, l, h, m, f, p) {
|
1089
1094
|
if (l)
|
1090
1095
|
t.minimumIntegerDigits = h.length;
|
1091
1096
|
else {
|
@@ -1098,32 +1103,32 @@ function $n(e) {
|
|
1098
1103
|
});
|
1099
1104
|
continue;
|
1100
1105
|
}
|
1101
|
-
if (
|
1106
|
+
if (ar.test(i.stem)) {
|
1102
1107
|
t.minimumIntegerDigits = i.stem.length;
|
1103
1108
|
continue;
|
1104
1109
|
}
|
1105
|
-
if (
|
1110
|
+
if (_t.test(i.stem)) {
|
1106
1111
|
if (i.options.length > 1)
|
1107
1112
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1108
|
-
i.stem.replace(
|
1113
|
+
i.stem.replace(_t, function(u, l, h, m, f, p) {
|
1109
1114
|
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), "";
|
1110
1115
|
});
|
1111
1116
|
var o = i.options[0];
|
1112
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
1117
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Et(o)));
|
1113
1118
|
continue;
|
1114
1119
|
}
|
1115
|
-
if (
|
1116
|
-
t = E(E({}, t),
|
1120
|
+
if (sr.test(i.stem)) {
|
1121
|
+
t = E(E({}, t), Et(i.stem));
|
1117
1122
|
continue;
|
1118
1123
|
}
|
1119
|
-
var s =
|
1124
|
+
var s = lr(i.stem);
|
1120
1125
|
s && (t = E(E({}, t), s));
|
1121
|
-
var a =
|
1126
|
+
var a = $n(i.stem);
|
1122
1127
|
a && (t = E(E({}, t), a));
|
1123
1128
|
}
|
1124
1129
|
return t;
|
1125
1130
|
}
|
1126
|
-
var
|
1131
|
+
var He = {
|
1127
1132
|
"001": [
|
1128
1133
|
"H",
|
1129
1134
|
"h"
|
@@ -2538,13 +2543,13 @@ var we = {
|
|
2538
2543
|
"h"
|
2539
2544
|
]
|
2540
2545
|
};
|
2541
|
-
function
|
2546
|
+
function Vn(e, t) {
|
2542
2547
|
for (var r = "", n = 0; n < e.length; n++) {
|
2543
2548
|
var i = e.charAt(n);
|
2544
2549
|
if (i === "j") {
|
2545
2550
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2546
2551
|
o++, n++;
|
2547
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
2552
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Xn(t);
|
2548
2553
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2549
2554
|
r += u;
|
2550
2555
|
for (; s-- > 0; )
|
@@ -2554,7 +2559,7 @@ function jn(e, t) {
|
|
2554
2559
|
}
|
2555
2560
|
return r;
|
2556
2561
|
}
|
2557
|
-
function
|
2562
|
+
function Xn(e) {
|
2558
2563
|
var t = e.hourCycle;
|
2559
2564
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2560
2565
|
e.hourCycles && // @ts-ignore
|
@@ -2573,23 +2578,23 @@ function Vn(e) {
|
|
2573
2578
|
}
|
2574
2579
|
var r = e.language, n;
|
2575
2580
|
r !== "root" && (n = e.maximize().region);
|
2576
|
-
var i =
|
2581
|
+
var i = He[n || ""] || He[r || ""] || He["".concat(r, "-001")] || He["001"];
|
2577
2582
|
return i[0];
|
2578
2583
|
}
|
2579
|
-
var
|
2584
|
+
var je, Wn = new RegExp("^".concat(or.source, "*")), zn = new RegExp("".concat(or.source, "*$"));
|
2580
2585
|
function v(e, t) {
|
2581
2586
|
return { start: e, end: t };
|
2582
2587
|
}
|
2583
|
-
var
|
2588
|
+
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) {
|
2584
2589
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2585
|
-
},
|
2590
|
+
}, qe = !0;
|
2586
2591
|
try {
|
2587
|
-
var
|
2588
|
-
|
2592
|
+
var ri = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2593
|
+
qe = ((je = ri.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
2589
2594
|
} catch (e) {
|
2590
|
-
|
2595
|
+
qe = !1;
|
2591
2596
|
}
|
2592
|
-
var
|
2597
|
+
var Ct = Zn ? (
|
2593
2598
|
// Native
|
2594
2599
|
function(t, r, n) {
|
2595
2600
|
return t.startsWith(r, n);
|
@@ -2599,7 +2604,7 @@ var xt = zn ? (
|
|
2599
2604
|
function(t, r, n) {
|
2600
2605
|
return t.slice(n, n + r.length) === r;
|
2601
2606
|
}
|
2602
|
-
),
|
2607
|
+
), Je = Qn ? String.fromCodePoint : (
|
2603
2608
|
// IE11
|
2604
2609
|
function() {
|
2605
2610
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2611,9 +2616,9 @@ var xt = zn ? (
|
|
2611
2616
|
}
|
2612
2617
|
return n;
|
2613
2618
|
}
|
2614
|
-
),
|
2619
|
+
), wt = (
|
2615
2620
|
// native
|
2616
|
-
|
2621
|
+
qn ? Object.fromEntries : (
|
2617
2622
|
// Ponyfill
|
2618
2623
|
function(t) {
|
2619
2624
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2623,7 +2628,7 @@ var xt = zn ? (
|
|
2623
2628
|
return r;
|
2624
2629
|
}
|
2625
2630
|
)
|
2626
|
-
),
|
2631
|
+
), ur = Jn ? (
|
2627
2632
|
// Native
|
2628
2633
|
function(t, r) {
|
2629
2634
|
return t.codePointAt(r);
|
@@ -2637,7 +2642,7 @@ var xt = zn ? (
|
|
2637
2642
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2638
2643
|
}
|
2639
2644
|
}
|
2640
|
-
),
|
2645
|
+
), ni = Yn ? (
|
2641
2646
|
// Native
|
2642
2647
|
function(t) {
|
2643
2648
|
return t.trimStart();
|
@@ -2645,9 +2650,9 @@ var xt = zn ? (
|
|
2645
2650
|
) : (
|
2646
2651
|
// Ponyfill
|
2647
2652
|
function(t) {
|
2648
|
-
return t.replace(
|
2653
|
+
return t.replace(Wn, "");
|
2649
2654
|
}
|
2650
|
-
),
|
2655
|
+
), ii = Kn ? (
|
2651
2656
|
// Native
|
2652
2657
|
function(t) {
|
2653
2658
|
return t.trimEnd();
|
@@ -2655,32 +2660,32 @@ var xt = zn ? (
|
|
2655
2660
|
) : (
|
2656
2661
|
// Ponyfill
|
2657
2662
|
function(t) {
|
2658
|
-
return t.replace(
|
2663
|
+
return t.replace(zn, "");
|
2659
2664
|
}
|
2660
2665
|
);
|
2661
|
-
function
|
2666
|
+
function hr(e, t) {
|
2662
2667
|
return new RegExp(e, t);
|
2663
2668
|
}
|
2664
|
-
var
|
2665
|
-
if (
|
2666
|
-
var
|
2667
|
-
|
2669
|
+
var Ye;
|
2670
|
+
if (qe) {
|
2671
|
+
var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2672
|
+
Ye = function(t, r) {
|
2668
2673
|
var n;
|
2669
|
-
|
2670
|
-
var i =
|
2674
|
+
Ht.lastIndex = r;
|
2675
|
+
var i = Ht.exec(t);
|
2671
2676
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2672
2677
|
};
|
2673
2678
|
} else
|
2674
|
-
|
2679
|
+
Ye = function(t, r) {
|
2675
2680
|
for (var n = []; ; ) {
|
2676
|
-
var i =
|
2677
|
-
if (i === void 0 ||
|
2681
|
+
var i = ur(t, r);
|
2682
|
+
if (i === void 0 || cr(i) || li(i))
|
2678
2683
|
break;
|
2679
2684
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2680
2685
|
}
|
2681
|
-
return
|
2686
|
+
return Je.apply(void 0, n);
|
2682
2687
|
};
|
2683
|
-
var
|
2688
|
+
var oi = (
|
2684
2689
|
/** @class */
|
2685
2690
|
function() {
|
2686
2691
|
function e(t, r) {
|
@@ -2704,14 +2709,14 @@ var ii = (
|
|
2704
2709
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2705
2710
|
var a = this.clonePosition();
|
2706
2711
|
this.bump(), i.push({
|
2707
|
-
type:
|
2712
|
+
type: S.pound,
|
2708
2713
|
location: v(a, this.clonePosition())
|
2709
2714
|
});
|
2710
2715
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2711
2716
|
if (n)
|
2712
2717
|
break;
|
2713
2718
|
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
2714
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2719
|
+
} else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
2715
2720
|
var s = this.parseTag(t, r);
|
2716
2721
|
if (s.err)
|
2717
2722
|
return s;
|
@@ -2732,7 +2737,7 @@ var ii = (
|
|
2732
2737
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2733
2738
|
return {
|
2734
2739
|
val: {
|
2735
|
-
type:
|
2740
|
+
type: S.literal,
|
2736
2741
|
value: "<".concat(i, "/>"),
|
2737
2742
|
location: v(n, this.clonePosition())
|
2738
2743
|
},
|
@@ -2744,12 +2749,12 @@ var ii = (
|
|
2744
2749
|
return o;
|
2745
2750
|
var s = o.val, a = this.clonePosition();
|
2746
2751
|
if (this.bumpIf("</")) {
|
2747
|
-
if (this.isEOF() || !
|
2752
|
+
if (this.isEOF() || !Ke(this.char()))
|
2748
2753
|
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
2749
2754
|
var u = this.clonePosition(), l = this.parseTagName();
|
2750
2755
|
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2751
2756
|
val: {
|
2752
|
-
type:
|
2757
|
+
type: S.tag,
|
2753
2758
|
value: i,
|
2754
2759
|
children: s,
|
2755
2760
|
location: v(n, this.clonePosition())
|
@@ -2762,7 +2767,7 @@ var ii = (
|
|
2762
2767
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2763
2768
|
}, e.prototype.parseTagName = function() {
|
2764
2769
|
var t = this.offset();
|
2765
|
-
for (this.bump(); !this.isEOF() &&
|
2770
|
+
for (this.bump(); !this.isEOF() && ai(this.char()); )
|
2766
2771
|
this.bump();
|
2767
2772
|
return this.message.slice(t, this.offset());
|
2768
2773
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2786,12 +2791,12 @@ var ii = (
|
|
2786
2791
|
}
|
2787
2792
|
var u = v(n, this.clonePosition());
|
2788
2793
|
return {
|
2789
|
-
val: { type:
|
2794
|
+
val: { type: S.literal, value: i, location: u },
|
2790
2795
|
err: null
|
2791
2796
|
};
|
2792
2797
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2793
2798
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2794
|
-
!
|
2799
|
+
!si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2795
2800
|
}, e.prototype.tryParseQuote = function(t) {
|
2796
2801
|
if (this.isEOF() || this.char() !== 39)
|
2797
2802
|
return null;
|
@@ -2825,12 +2830,12 @@ var ii = (
|
|
2825
2830
|
r.push(n);
|
2826
2831
|
this.bump();
|
2827
2832
|
}
|
2828
|
-
return
|
2833
|
+
return Je.apply(void 0, r);
|
2829
2834
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2830
2835
|
if (this.isEOF())
|
2831
2836
|
return null;
|
2832
2837
|
var n = this.char();
|
2833
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2838
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
|
2834
2839
|
}, e.prototype.parseArgument = function(t, r) {
|
2835
2840
|
var n = this.clonePosition();
|
2836
2841
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2846,7 +2851,7 @@ var ii = (
|
|
2846
2851
|
case 125:
|
2847
2852
|
return this.bump(), {
|
2848
2853
|
val: {
|
2849
|
-
type:
|
2854
|
+
type: S.argument,
|
2850
2855
|
// value does not include the opening and closing braces.
|
2851
2856
|
value: i,
|
2852
2857
|
location: v(n, this.clonePosition())
|
@@ -2859,7 +2864,7 @@ var ii = (
|
|
2859
2864
|
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
2860
2865
|
}
|
2861
2866
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2862
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2867
|
+
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
2863
2868
|
this.bumpTo(i);
|
2864
2869
|
var o = this.clonePosition(), s = v(t, o);
|
2865
2870
|
return { value: n, location: s };
|
@@ -2878,7 +2883,7 @@ var ii = (
|
|
2878
2883
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2879
2884
|
if (m.err)
|
2880
2885
|
return m;
|
2881
|
-
var f =
|
2886
|
+
var f = ii(m.val);
|
2882
2887
|
if (f.length === 0)
|
2883
2888
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2884
2889
|
var p = v(h, this.clonePosition());
|
@@ -2888,25 +2893,25 @@ var ii = (
|
|
2888
2893
|
if (g.err)
|
2889
2894
|
return g;
|
2890
2895
|
var b = v(i, this.clonePosition());
|
2891
|
-
if (l &&
|
2892
|
-
var d =
|
2896
|
+
if (l && Ct(l == null ? void 0 : l.style, "::", 0)) {
|
2897
|
+
var d = ni(l.style.slice(2));
|
2893
2898
|
if (a === "number") {
|
2894
2899
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2895
2900
|
return m.err ? m : {
|
2896
|
-
val: { type:
|
2901
|
+
val: { type: S.number, value: n, location: b, style: m.val },
|
2897
2902
|
err: null
|
2898
2903
|
};
|
2899
2904
|
} else {
|
2900
2905
|
if (d.length === 0)
|
2901
2906
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2902
2907
|
var H = d;
|
2903
|
-
this.locale && (H =
|
2908
|
+
this.locale && (H = Vn(d, this.locale));
|
2904
2909
|
var f = {
|
2905
2910
|
type: se.dateTime,
|
2906
2911
|
pattern: H,
|
2907
2912
|
location: l.styleLocation,
|
2908
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2909
|
-
}, _ = a === "date" ?
|
2913
|
+
parsedOptions: this.shouldParseSkeletons ? Rn(H) : {}
|
2914
|
+
}, _ = a === "date" ? S.date : S.time;
|
2910
2915
|
return {
|
2911
2916
|
val: { type: _, value: n, location: b, style: f },
|
2912
2917
|
err: null
|
@@ -2915,7 +2920,7 @@ var ii = (
|
|
2915
2920
|
}
|
2916
2921
|
return {
|
2917
2922
|
val: {
|
2918
|
-
type: a === "number" ?
|
2923
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
2919
2924
|
value: n,
|
2920
2925
|
location: b,
|
2921
2926
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
@@ -2949,17 +2954,17 @@ var ii = (
|
|
2949
2954
|
var w = v(i, this.clonePosition());
|
2950
2955
|
return a === "select" ? {
|
2951
2956
|
val: {
|
2952
|
-
type:
|
2957
|
+
type: S.select,
|
2953
2958
|
value: n,
|
2954
|
-
options:
|
2959
|
+
options: wt($.val),
|
2955
2960
|
location: w
|
2956
2961
|
},
|
2957
2962
|
err: null
|
2958
2963
|
} : {
|
2959
2964
|
val: {
|
2960
|
-
type:
|
2965
|
+
type: S.plural,
|
2961
2966
|
value: n,
|
2962
|
-
options:
|
2967
|
+
options: wt($.val),
|
2963
2968
|
offset: I,
|
2964
2969
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2965
2970
|
location: w
|
@@ -3010,7 +3015,7 @@ var ii = (
|
|
3010
3015
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3011
3016
|
var n = [];
|
3012
3017
|
try {
|
3013
|
-
n =
|
3018
|
+
n = Un(t);
|
3014
3019
|
} catch (i) {
|
3015
3020
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
3016
3021
|
}
|
@@ -3019,7 +3024,7 @@ var ii = (
|
|
3019
3024
|
type: se.number,
|
3020
3025
|
tokens: n,
|
3021
3026
|
location: r,
|
3022
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3027
|
+
parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
|
3023
3028
|
},
|
3024
3029
|
err: null
|
3025
3030
|
};
|
@@ -3067,7 +3072,7 @@ var ii = (
|
|
3067
3072
|
break;
|
3068
3073
|
}
|
3069
3074
|
var u = v(i, this.clonePosition());
|
3070
|
-
return o ? (s *= n,
|
3075
|
+
return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
3071
3076
|
}, e.prototype.offset = function() {
|
3072
3077
|
return this.position.offset;
|
3073
3078
|
}, e.prototype.isEOF = function() {
|
@@ -3082,7 +3087,7 @@ var ii = (
|
|
3082
3087
|
var t = this.position.offset;
|
3083
3088
|
if (t >= this.message.length)
|
3084
3089
|
throw Error("out of bound");
|
3085
|
-
var r =
|
3090
|
+
var r = ur(this.message, t);
|
3086
3091
|
if (r === void 0)
|
3087
3092
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3088
3093
|
return r;
|
@@ -3101,7 +3106,7 @@ var ii = (
|
|
3101
3106
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3102
3107
|
}
|
3103
3108
|
}, e.prototype.bumpIf = function(t) {
|
3104
|
-
if (
|
3109
|
+
if (Ct(this.message, t, this.offset())) {
|
3105
3110
|
for (var r = 0; r < t.length; r++)
|
3106
3111
|
this.bump();
|
3107
3112
|
return !0;
|
@@ -3123,7 +3128,7 @@ var ii = (
|
|
3123
3128
|
break;
|
3124
3129
|
}
|
3125
3130
|
}, e.prototype.bumpSpace = function() {
|
3126
|
-
for (; !this.isEOF() &&
|
3131
|
+
for (; !this.isEOF() && cr(this.char()); )
|
3127
3132
|
this.bump();
|
3128
3133
|
}, e.prototype.peek = function() {
|
3129
3134
|
if (this.isEOF())
|
@@ -3133,47 +3138,47 @@ var ii = (
|
|
3133
3138
|
}, e;
|
3134
3139
|
}()
|
3135
3140
|
);
|
3136
|
-
function
|
3141
|
+
function Ke(e) {
|
3137
3142
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3138
3143
|
}
|
3139
|
-
function oi(e) {
|
3140
|
-
return Ye(e) || e === 47;
|
3141
|
-
}
|
3142
3144
|
function si(e) {
|
3145
|
+
return Ke(e) || e === 47;
|
3146
|
+
}
|
3147
|
+
function ai(e) {
|
3143
3148
|
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;
|
3144
3149
|
}
|
3145
|
-
function
|
3150
|
+
function cr(e) {
|
3146
3151
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3147
3152
|
}
|
3148
|
-
function
|
3153
|
+
function li(e) {
|
3149
3154
|
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;
|
3150
3155
|
}
|
3151
|
-
function
|
3156
|
+
function et(e) {
|
3152
3157
|
e.forEach(function(t) {
|
3153
|
-
if (delete t.location,
|
3158
|
+
if (delete t.location, tr(t) || rr(t))
|
3154
3159
|
for (var r in t.options)
|
3155
|
-
delete t.options[r].location,
|
3160
|
+
delete t.options[r].location, et(t.options[r].value);
|
3156
3161
|
else
|
3157
|
-
|
3162
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && et(t.children);
|
3158
3163
|
});
|
3159
3164
|
}
|
3160
|
-
function
|
3165
|
+
function ui(e, t) {
|
3161
3166
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3162
|
-
var r = new
|
3167
|
+
var r = new oi(e, t).parse();
|
3163
3168
|
if (r.err) {
|
3164
3169
|
var n = SyntaxError(y[r.err.kind]);
|
3165
3170
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3166
3171
|
}
|
3167
|
-
return t != null && t.captureLocation ||
|
3172
|
+
return t != null && t.captureLocation || et(r.val), r.val;
|
3168
3173
|
}
|
3169
3174
|
var ae;
|
3170
3175
|
(function(e) {
|
3171
3176
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3172
3177
|
})(ae || (ae = {}));
|
3173
|
-
var
|
3178
|
+
var Pe = (
|
3174
3179
|
/** @class */
|
3175
3180
|
function(e) {
|
3176
|
-
|
3181
|
+
Le(t, e);
|
3177
3182
|
function t(r, n, i) {
|
3178
3183
|
var o = e.call(this, r) || this;
|
3179
3184
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3182,48 +3187,48 @@ var Le = (
|
|
3182
3187
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3183
3188
|
}, t;
|
3184
3189
|
}(Error)
|
3185
|
-
),
|
3190
|
+
), St = (
|
3186
3191
|
/** @class */
|
3187
3192
|
function(e) {
|
3188
|
-
|
3193
|
+
Le(t, e);
|
3189
3194
|
function t(r, n, i, o) {
|
3190
3195
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
|
3191
3196
|
}
|
3192
3197
|
return t;
|
3193
|
-
}(
|
3194
|
-
),
|
3198
|
+
}(Pe)
|
3199
|
+
), hi = (
|
3195
3200
|
/** @class */
|
3196
3201
|
function(e) {
|
3197
|
-
|
3202
|
+
Le(t, e);
|
3198
3203
|
function t(r, n, i) {
|
3199
3204
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
|
3200
3205
|
}
|
3201
3206
|
return t;
|
3202
|
-
}(
|
3203
|
-
),
|
3207
|
+
}(Pe)
|
3208
|
+
), ci = (
|
3204
3209
|
/** @class */
|
3205
3210
|
function(e) {
|
3206
|
-
|
3211
|
+
Le(t, e);
|
3207
3212
|
function t(r, n) {
|
3208
3213
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
|
3209
3214
|
}
|
3210
3215
|
return t;
|
3211
|
-
}(
|
3216
|
+
}(Pe)
|
3212
3217
|
), R;
|
3213
3218
|
(function(e) {
|
3214
3219
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3215
3220
|
})(R || (R = {}));
|
3216
|
-
function
|
3221
|
+
function fi(e) {
|
3217
3222
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3218
3223
|
var n = t[t.length - 1];
|
3219
3224
|
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
3220
3225
|
}, []);
|
3221
3226
|
}
|
3222
|
-
function
|
3227
|
+
function mi(e) {
|
3223
3228
|
return typeof e == "function";
|
3224
3229
|
}
|
3225
|
-
function
|
3226
|
-
if (e.length === 1 &&
|
3230
|
+
function Te(e, t, r, n, i, o, s) {
|
3231
|
+
if (e.length === 1 && vt(e[0]))
|
3227
3232
|
return [
|
3228
3233
|
{
|
3229
3234
|
type: R.literal,
|
@@ -3232,14 +3237,14 @@ function Se(e, t, r, n, i, o, s) {
|
|
3232
3237
|
];
|
3233
3238
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3234
3239
|
var h = l[u];
|
3235
|
-
if (
|
3240
|
+
if (vt(h)) {
|
3236
3241
|
a.push({
|
3237
3242
|
type: R.literal,
|
3238
3243
|
value: h.value
|
3239
3244
|
});
|
3240
3245
|
continue;
|
3241
3246
|
}
|
3242
|
-
if (
|
3247
|
+
if (On(h)) {
|
3243
3248
|
typeof o == "number" && a.push({
|
3244
3249
|
type: R.literal,
|
3245
3250
|
value: r.getNumberFormat(t).format(o)
|
@@ -3248,44 +3253,44 @@ function Se(e, t, r, n, i, o, s) {
|
|
3248
3253
|
}
|
3249
3254
|
var m = h.value;
|
3250
3255
|
if (!(i && m in i))
|
3251
|
-
throw new
|
3256
|
+
throw new ci(m, s);
|
3252
3257
|
var f = i[m];
|
3253
|
-
if (
|
3258
|
+
if (Pn(h)) {
|
3254
3259
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3255
3260
|
type: typeof f == "string" ? R.literal : R.object,
|
3256
3261
|
value: f
|
3257
3262
|
});
|
3258
3263
|
continue;
|
3259
3264
|
}
|
3260
|
-
if (
|
3261
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
3265
|
+
if (Kt(h)) {
|
3266
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
|
3262
3267
|
a.push({
|
3263
3268
|
type: R.literal,
|
3264
3269
|
value: r.getDateTimeFormat(t, p).format(f)
|
3265
3270
|
});
|
3266
3271
|
continue;
|
3267
3272
|
}
|
3268
|
-
if (
|
3269
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
3273
|
+
if (er(h)) {
|
3274
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
3270
3275
|
a.push({
|
3271
3276
|
type: R.literal,
|
3272
3277
|
value: r.getDateTimeFormat(t, p).format(f)
|
3273
3278
|
});
|
3274
3279
|
continue;
|
3275
3280
|
}
|
3276
|
-
if (
|
3277
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
3281
|
+
if (Yt(h)) {
|
3282
|
+
var p = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
|
3278
3283
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3279
3284
|
type: R.literal,
|
3280
3285
|
value: r.getNumberFormat(t, p).format(f)
|
3281
3286
|
});
|
3282
3287
|
continue;
|
3283
3288
|
}
|
3284
|
-
if (
|
3289
|
+
if (nr(h)) {
|
3285
3290
|
var g = h.children, b = h.value, d = i[b];
|
3286
|
-
if (!
|
3287
|
-
throw new
|
3288
|
-
var H =
|
3291
|
+
if (!mi(d))
|
3292
|
+
throw new hi(b, "function", s);
|
3293
|
+
var H = Te(g, t, r, n, i, o), _ = d(H.map(function(I) {
|
3289
3294
|
return I.value;
|
3290
3295
|
}));
|
3291
3296
|
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(I) {
|
@@ -3295,42 +3300,42 @@ function Se(e, t, r, n, i, o, s) {
|
|
3295
3300
|
};
|
3296
3301
|
}));
|
3297
3302
|
}
|
3298
|
-
if (
|
3303
|
+
if (tr(h)) {
|
3299
3304
|
var x = h.options[f] || h.options.other;
|
3300
3305
|
if (!x)
|
3301
|
-
throw new
|
3302
|
-
a.push.apply(a,
|
3306
|
+
throw new St(h.value, f, Object.keys(h.options), s);
|
3307
|
+
a.push.apply(a, Te(x.value, t, r, n, i));
|
3303
3308
|
continue;
|
3304
3309
|
}
|
3305
|
-
if (
|
3310
|
+
if (rr(h)) {
|
3306
3311
|
var x = h.options["=".concat(f)];
|
3307
3312
|
if (!x) {
|
3308
3313
|
if (!Intl.PluralRules)
|
3309
|
-
throw new
|
3314
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3310
3315
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3311
3316
|
`, ae.MISSING_INTL_API, s);
|
3312
3317
|
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3313
3318
|
x = h.options[O] || h.options.other;
|
3314
3319
|
}
|
3315
3320
|
if (!x)
|
3316
|
-
throw new
|
3317
|
-
a.push.apply(a,
|
3321
|
+
throw new St(h.value, f, Object.keys(h.options), s);
|
3322
|
+
a.push.apply(a, Te(x.value, t, r, n, i, f - (h.offset || 0)));
|
3318
3323
|
continue;
|
3319
3324
|
}
|
3320
3325
|
}
|
3321
|
-
return
|
3326
|
+
return fi(a);
|
3322
3327
|
}
|
3323
|
-
function
|
3328
|
+
function di(e, t) {
|
3324
3329
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3325
3330
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
3326
3331
|
}, {})) : e;
|
3327
3332
|
}
|
3328
|
-
function
|
3333
|
+
function pi(e, t) {
|
3329
3334
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3330
|
-
return r[n] =
|
3335
|
+
return r[n] = di(e[n], t[n]), r;
|
3331
3336
|
}, E({}, e)) : e;
|
3332
3337
|
}
|
3333
|
-
function
|
3338
|
+
function Ve(e) {
|
3334
3339
|
return {
|
3335
3340
|
create: function() {
|
3336
3341
|
return {
|
@@ -3344,39 +3349,39 @@ function je(e) {
|
|
3344
3349
|
}
|
3345
3350
|
};
|
3346
3351
|
}
|
3347
|
-
function
|
3352
|
+
function gi(e) {
|
3348
3353
|
return e === void 0 && (e = {
|
3349
3354
|
number: {},
|
3350
3355
|
dateTime: {},
|
3351
3356
|
pluralRules: {}
|
3352
3357
|
}), {
|
3353
|
-
getNumberFormat:
|
3358
|
+
getNumberFormat: ke(function() {
|
3354
3359
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3355
3360
|
r[n] = arguments[n];
|
3356
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3361
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
|
3357
3362
|
}, {
|
3358
|
-
cache:
|
3359
|
-
strategy:
|
3363
|
+
cache: Ve(e.number),
|
3364
|
+
strategy: $e.variadic
|
3360
3365
|
}),
|
3361
|
-
getDateTimeFormat:
|
3366
|
+
getDateTimeFormat: ke(function() {
|
3362
3367
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3363
3368
|
r[n] = arguments[n];
|
3364
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3369
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
|
3365
3370
|
}, {
|
3366
|
-
cache:
|
3367
|
-
strategy:
|
3371
|
+
cache: Ve(e.dateTime),
|
3372
|
+
strategy: $e.variadic
|
3368
3373
|
}),
|
3369
|
-
getPluralRules:
|
3374
|
+
getPluralRules: ke(function() {
|
3370
3375
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3371
3376
|
r[n] = arguments[n];
|
3372
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3377
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
|
3373
3378
|
}, {
|
3374
|
-
cache:
|
3375
|
-
strategy:
|
3379
|
+
cache: Ve(e.pluralRules),
|
3380
|
+
strategy: $e.variadic
|
3376
3381
|
})
|
3377
3382
|
};
|
3378
3383
|
}
|
3379
|
-
var
|
3384
|
+
var bi = (
|
3380
3385
|
/** @class */
|
3381
3386
|
function() {
|
3382
3387
|
function e(t, r, n, i) {
|
@@ -3395,7 +3400,7 @@ var gi = (
|
|
3395
3400
|
}, []);
|
3396
3401
|
return h.length <= 1 ? h[0] || "" : h;
|
3397
3402
|
}, this.formatToParts = function(u) {
|
3398
|
-
return
|
3403
|
+
return Te(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
3399
3404
|
}, this.resolvedOptions = function() {
|
3400
3405
|
var u;
|
3401
3406
|
return {
|
@@ -3408,13 +3413,13 @@ var gi = (
|
|
3408
3413
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3409
3414
|
var s = i || {};
|
3410
3415
|
s.formatters;
|
3411
|
-
var a =
|
3416
|
+
var a = Sn(s, ["formatters"]);
|
3412
3417
|
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
3413
3418
|
} else
|
3414
3419
|
this.ast = t;
|
3415
3420
|
if (!Array.isArray(this.ast))
|
3416
3421
|
throw new TypeError("A message must be provided as a String or AST.");
|
3417
|
-
this.formats =
|
3422
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
|
3418
3423
|
}
|
3419
3424
|
return Object.defineProperty(e, "defaultLocale", {
|
3420
3425
|
get: function() {
|
@@ -3427,7 +3432,7 @@ var gi = (
|
|
3427
3432
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3428
3433
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3429
3434
|
}
|
3430
|
-
}, e.__parse =
|
3435
|
+
}, e.__parse = ui, e.formats = {
|
3431
3436
|
number: {
|
3432
3437
|
integer: {
|
3433
3438
|
maximumFractionDigits: 0
|
@@ -3488,7 +3493,7 @@ var gi = (
|
|
3488
3493
|
}, e;
|
3489
3494
|
}()
|
3490
3495
|
);
|
3491
|
-
function
|
3496
|
+
function yi(e, t) {
|
3492
3497
|
if (t == null)
|
3493
3498
|
return;
|
3494
3499
|
if (t in e)
|
@@ -3509,92 +3514,92 @@ function bi(e, t) {
|
|
3509
3514
|
n = void 0;
|
3510
3515
|
return n;
|
3511
3516
|
}
|
3512
|
-
const W = {},
|
3517
|
+
const W = {}, vi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), fr = (e, t) => {
|
3513
3518
|
if (t == null)
|
3514
3519
|
return;
|
3515
3520
|
if (t in W && e in W[t])
|
3516
3521
|
return W[t][e];
|
3517
|
-
const r =
|
3522
|
+
const r = Oe(t);
|
3518
3523
|
for (let n = 0; n < r.length; n++) {
|
3519
|
-
const i = r[n], o =
|
3524
|
+
const i = r[n], o = Ei(i, e);
|
3520
3525
|
if (o)
|
3521
|
-
return
|
3526
|
+
return vi(e, t, o);
|
3522
3527
|
}
|
3523
3528
|
};
|
3524
|
-
let
|
3525
|
-
const he =
|
3526
|
-
function
|
3527
|
-
return
|
3529
|
+
let ot;
|
3530
|
+
const he = Ne({});
|
3531
|
+
function _i(e) {
|
3532
|
+
return ot[e] || null;
|
3528
3533
|
}
|
3529
|
-
function
|
3530
|
-
return e in
|
3534
|
+
function mr(e) {
|
3535
|
+
return e in ot;
|
3531
3536
|
}
|
3532
|
-
function
|
3533
|
-
if (!
|
3537
|
+
function Ei(e, t) {
|
3538
|
+
if (!mr(e))
|
3534
3539
|
return null;
|
3535
|
-
const r =
|
3536
|
-
return
|
3540
|
+
const r = _i(e);
|
3541
|
+
return yi(r, t);
|
3537
3542
|
}
|
3538
|
-
function
|
3543
|
+
function xi(e) {
|
3539
3544
|
if (e == null)
|
3540
3545
|
return;
|
3541
|
-
const t =
|
3546
|
+
const t = Oe(e);
|
3542
3547
|
for (let r = 0; r < t.length; r++) {
|
3543
3548
|
const n = t[r];
|
3544
|
-
if (
|
3549
|
+
if (mr(n))
|
3545
3550
|
return n;
|
3546
3551
|
}
|
3547
3552
|
}
|
3548
|
-
function
|
3549
|
-
delete W[e], he.update((r) => (r[e] =
|
3553
|
+
function dr(e, ...t) {
|
3554
|
+
delete W[e], he.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
|
3550
3555
|
}
|
3551
3556
|
ue(
|
3552
3557
|
[he],
|
3553
3558
|
([e]) => Object.keys(e)
|
3554
3559
|
);
|
3555
|
-
he.subscribe((e) =>
|
3556
|
-
const
|
3557
|
-
function
|
3558
|
-
|
3560
|
+
he.subscribe((e) => ot = e);
|
3561
|
+
const Ae = {};
|
3562
|
+
function Ci(e, t) {
|
3563
|
+
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
3559
3564
|
}
|
3560
|
-
function
|
3561
|
-
return
|
3565
|
+
function pr(e) {
|
3566
|
+
return Ae[e];
|
3562
3567
|
}
|
3563
|
-
function
|
3564
|
-
return
|
3565
|
-
const r =
|
3568
|
+
function wi(e) {
|
3569
|
+
return Oe(e).map((t) => {
|
3570
|
+
const r = pr(t);
|
3566
3571
|
return [t, r ? [...r] : []];
|
3567
3572
|
}).filter(([, t]) => t.length > 0);
|
3568
3573
|
}
|
3569
|
-
function
|
3570
|
-
return e == null ? !1 :
|
3574
|
+
function tt(e) {
|
3575
|
+
return e == null ? !1 : Oe(e).some(
|
3571
3576
|
(t) => {
|
3572
3577
|
var r;
|
3573
|
-
return (r =
|
3578
|
+
return (r = pr(t)) == null ? void 0 : r.size;
|
3574
3579
|
}
|
3575
3580
|
);
|
3576
3581
|
}
|
3577
|
-
function
|
3582
|
+
function Hi(e, t) {
|
3578
3583
|
return Promise.all(
|
3579
|
-
t.map((n) => (
|
3580
|
-
).then((n) =>
|
3584
|
+
t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
|
3585
|
+
).then((n) => dr(e, ...n));
|
3581
3586
|
}
|
3582
3587
|
const me = {};
|
3583
|
-
function
|
3584
|
-
if (!
|
3588
|
+
function gr(e) {
|
3589
|
+
if (!tt(e))
|
3585
3590
|
return e in me ? me[e] : Promise.resolve();
|
3586
|
-
const t =
|
3591
|
+
const t = wi(e);
|
3587
3592
|
return me[e] = Promise.all(
|
3588
3593
|
t.map(
|
3589
|
-
([r, n]) =>
|
3594
|
+
([r, n]) => Hi(r, n)
|
3590
3595
|
)
|
3591
3596
|
).then(() => {
|
3592
|
-
if (
|
3593
|
-
return
|
3597
|
+
if (tt(e))
|
3598
|
+
return gr(e);
|
3594
3599
|
delete me[e];
|
3595
3600
|
}), me[e];
|
3596
3601
|
}
|
3597
|
-
const
|
3602
|
+
const Si = {
|
3598
3603
|
number: {
|
3599
3604
|
scientific: { notation: "scientific" },
|
3600
3605
|
engineering: { notation: "engineering" },
|
@@ -3623,78 +3628,78 @@ const Hi = {
|
|
3623
3628
|
timeZoneName: "short"
|
3624
3629
|
}
|
3625
3630
|
}
|
3626
|
-
},
|
3631
|
+
}, Ti = {
|
3627
3632
|
fallbackLocale: null,
|
3628
3633
|
loadingDelay: 200,
|
3629
|
-
formats:
|
3634
|
+
formats: Si,
|
3630
3635
|
warnOnMissingMessages: !0,
|
3631
3636
|
handleMissingMessage: void 0,
|
3632
3637
|
ignoreTag: !0
|
3633
|
-
},
|
3638
|
+
}, Ai = Ti;
|
3634
3639
|
function le() {
|
3635
|
-
return
|
3640
|
+
return Ai;
|
3636
3641
|
}
|
3637
|
-
const
|
3638
|
-
var
|
3642
|
+
const Xe = Ne(!1);
|
3643
|
+
var Bi = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
|
3639
3644
|
for (var r in t || (t = {}))
|
3640
|
-
|
3641
|
-
if (
|
3642
|
-
for (var r of
|
3643
|
-
|
3645
|
+
Ni.call(t, r) && At(e, r, t[r]);
|
3646
|
+
if (Tt)
|
3647
|
+
for (var r of Tt(t))
|
3648
|
+
Li.call(t, r) && At(e, r, t[r]);
|
3644
3649
|
return e;
|
3645
|
-
},
|
3646
|
-
let
|
3647
|
-
const
|
3648
|
-
function
|
3650
|
+
}, Oi = (e, t) => Ii(e, Mi(t));
|
3651
|
+
let rt;
|
3652
|
+
const Ie = Ne(null);
|
3653
|
+
function Bt(e) {
|
3649
3654
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3650
3655
|
}
|
3651
|
-
function
|
3652
|
-
const r =
|
3653
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3656
|
+
function Oe(e, t = le().fallbackLocale) {
|
3657
|
+
const r = Bt(e);
|
3658
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
|
3654
3659
|
}
|
3655
3660
|
function Y() {
|
3656
|
-
return
|
3661
|
+
return rt != null ? rt : void 0;
|
3657
3662
|
}
|
3658
|
-
|
3659
|
-
|
3663
|
+
Ie.subscribe((e) => {
|
3664
|
+
rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3660
3665
|
});
|
3661
|
-
const
|
3662
|
-
if (e &&
|
3666
|
+
const Fi = (e) => {
|
3667
|
+
if (e && xi(e) && tt(e)) {
|
3663
3668
|
const { loadingDelay: t } = le();
|
3664
3669
|
let r;
|
3665
3670
|
return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
|
3666
|
-
() =>
|
3671
|
+
() => Xe.set(!0),
|
3667
3672
|
t
|
3668
|
-
) :
|
3669
|
-
|
3673
|
+
) : Xe.set(!0), gr(e).then(() => {
|
3674
|
+
Ie.set(e);
|
3670
3675
|
}).finally(() => {
|
3671
|
-
clearTimeout(r),
|
3676
|
+
clearTimeout(r), Xe.set(!1);
|
3672
3677
|
});
|
3673
3678
|
}
|
3674
|
-
return
|
3675
|
-
}, z = Pi(
|
3676
|
-
set:
|
3677
|
-
}),
|
3679
|
+
return Ie.set(e);
|
3680
|
+
}, z = Oi(Pi({}, Ie), {
|
3681
|
+
set: Fi
|
3682
|
+
}), Fe = (e) => {
|
3678
3683
|
const t = /* @__PURE__ */ Object.create(null);
|
3679
3684
|
return (n) => {
|
3680
3685
|
const i = JSON.stringify(n);
|
3681
3686
|
return i in t ? t[i] : t[i] = e(n);
|
3682
3687
|
};
|
3683
3688
|
};
|
3684
|
-
var
|
3689
|
+
var Ri = Object.defineProperty, Me = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
3685
3690
|
for (var r in t || (t = {}))
|
3686
|
-
|
3687
|
-
if (
|
3688
|
-
for (var r of
|
3689
|
-
|
3691
|
+
br.call(t, r) && It(e, r, t[r]);
|
3692
|
+
if (Me)
|
3693
|
+
for (var r of Me(t))
|
3694
|
+
yr.call(t, r) && It(e, r, t[r]);
|
3690
3695
|
return e;
|
3691
3696
|
}, ce = (e, t) => {
|
3692
3697
|
var r = {};
|
3693
3698
|
for (var n in e)
|
3694
|
-
|
3695
|
-
if (e != null &&
|
3696
|
-
for (var n of
|
3697
|
-
t.indexOf(n) < 0 &&
|
3699
|
+
br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3700
|
+
if (e != null && Me)
|
3701
|
+
for (var n of Me(e))
|
3702
|
+
t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
|
3698
3703
|
return r;
|
3699
3704
|
};
|
3700
3705
|
const ve = (e, t) => {
|
@@ -3702,21 +3707,21 @@ const ve = (e, t) => {
|
|
3702
3707
|
if (e in r && t in r[e])
|
3703
3708
|
return r[e][t];
|
3704
3709
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3705
|
-
},
|
3710
|
+
}, Di = Fe(
|
3706
3711
|
(e) => {
|
3707
3712
|
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3708
3713
|
if (r == null)
|
3709
3714
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3710
3715
|
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
3711
3716
|
}
|
3712
|
-
),
|
3717
|
+
), Ui = Fe(
|
3713
3718
|
(e) => {
|
3714
3719
|
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3715
3720
|
if (r == null)
|
3716
3721
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3717
3722
|
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
3718
3723
|
}
|
3719
|
-
),
|
3724
|
+
), Gi = Fe(
|
3720
3725
|
(e) => {
|
3721
3726
|
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
3722
3727
|
if (r == null)
|
@@ -3725,33 +3730,33 @@ const ve = (e, t) => {
|
|
3725
3730
|
);
|
3726
3731
|
return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
|
3727
3732
|
}
|
3728
|
-
),
|
3733
|
+
), ki = (e = {}) => {
|
3729
3734
|
var t = e, {
|
3730
3735
|
locale: r = Y()
|
3731
3736
|
} = t, n = ce(t, [
|
3732
3737
|
"locale"
|
3733
3738
|
]);
|
3734
|
-
return
|
3735
|
-
},
|
3739
|
+
return Di(st({ locale: r }, n));
|
3740
|
+
}, $i = (e = {}) => {
|
3736
3741
|
var t = e, {
|
3737
3742
|
locale: r = Y()
|
3738
3743
|
} = t, n = ce(t, [
|
3739
3744
|
"locale"
|
3740
3745
|
]);
|
3741
|
-
return
|
3742
|
-
},
|
3746
|
+
return Ui(st({ locale: r }, n));
|
3747
|
+
}, ji = (e = {}) => {
|
3743
3748
|
var t = e, {
|
3744
3749
|
locale: r = Y()
|
3745
3750
|
} = t, n = ce(t, [
|
3746
3751
|
"locale"
|
3747
3752
|
]);
|
3748
|
-
return
|
3749
|
-
},
|
3753
|
+
return Gi(st({ locale: r }, n));
|
3754
|
+
}, Vi = Fe(
|
3750
3755
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3751
|
-
(e, t = Y()) => new
|
3756
|
+
(e, t = Y()) => new bi(e, t, le().formats, {
|
3752
3757
|
ignoreTag: le().ignoreTag
|
3753
3758
|
})
|
3754
|
-
),
|
3759
|
+
), Xi = (e, t = {}) => {
|
3755
3760
|
var r, n, i, o;
|
3756
3761
|
let s = t;
|
3757
3762
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -3764,7 +3769,7 @@ const ve = (e, t) => {
|
|
3764
3769
|
throw new Error(
|
3765
3770
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3766
3771
|
);
|
3767
|
-
let h =
|
3772
|
+
let h = fr(e, u);
|
3768
3773
|
if (!h)
|
3769
3774
|
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;
|
3770
3775
|
else if (typeof h != "string")
|
@@ -3775,7 +3780,7 @@ const ve = (e, t) => {
|
|
3775
3780
|
return h;
|
3776
3781
|
let m = h;
|
3777
3782
|
try {
|
3778
|
-
m =
|
3783
|
+
m = Vi(h, u).format(a);
|
3779
3784
|
} catch (f) {
|
3780
3785
|
f instanceof Error && console.warn(
|
3781
3786
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3783,24 +3788,24 @@ const ve = (e, t) => {
|
|
3783
3788
|
);
|
3784
3789
|
}
|
3785
3790
|
return m;
|
3786
|
-
},
|
3787
|
-
ue([z, he], () =>
|
3788
|
-
ue([z], () => Xi);
|
3791
|
+
}, 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()) => fr(e, t);
|
3792
|
+
ue([z, he], () => Xi);
|
3789
3793
|
ue([z], () => Wi);
|
3790
3794
|
ue([z], () => zi);
|
3791
|
-
ue([z
|
3792
|
-
|
3795
|
+
ue([z], () => Zi);
|
3796
|
+
ue([z, he], () => Qi);
|
3797
|
+
function qi({ withLocale: e, translations: t }) {
|
3793
3798
|
z.subscribe((r) => {
|
3794
3799
|
r == null && (he.set(t), z.set(e));
|
3795
3800
|
});
|
3796
3801
|
}
|
3797
|
-
function
|
3798
|
-
|
3802
|
+
function Mt(e, t) {
|
3803
|
+
dr(e, t);
|
3799
3804
|
}
|
3800
|
-
function
|
3805
|
+
function Ji(e) {
|
3801
3806
|
z.set(e);
|
3802
3807
|
}
|
3803
|
-
const
|
3808
|
+
const Nt = {
|
3804
3809
|
en: {
|
3805
3810
|
login: "Login",
|
3806
3811
|
register: "Register",
|
@@ -3857,22 +3862,22 @@ const Mt = {
|
|
3857
3862
|
deposit: "Deposit"
|
3858
3863
|
}
|
3859
3864
|
};
|
3860
|
-
function
|
3861
|
-
|
3865
|
+
function Yi(e) {
|
3866
|
+
Ur(e, "svelte-2e7gs6", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
3862
3867
|
}
|
3863
|
-
function
|
3868
|
+
function Lt(e, t, r) {
|
3864
3869
|
const n = e.slice();
|
3865
3870
|
return n[48] = t[r], n[50] = r, n;
|
3866
3871
|
}
|
3867
|
-
function
|
3872
|
+
function Pt(e, t, r) {
|
3868
3873
|
const n = e.slice();
|
3869
3874
|
return n[51] = t[r], n;
|
3870
3875
|
}
|
3871
|
-
function
|
3876
|
+
function Ot(e, t, r) {
|
3872
3877
|
const n = e.slice();
|
3873
3878
|
return n[54] = t[r], n[56] = r, n;
|
3874
3879
|
}
|
3875
|
-
function
|
3880
|
+
function Ft(e) {
|
3876
3881
|
let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
|
3877
3882
|
/*sliderdata*/
|
3878
3883
|
e[9]
|
@@ -3882,8 +3887,8 @@ function Ot(e) {
|
|
3882
3887
|
s[48].id
|
3883
3888
|
);
|
3884
3889
|
for (let s = 0; s < i.length; s += 1) {
|
3885
|
-
let a =
|
3886
|
-
r.set(u, t[s] =
|
3890
|
+
let a = Lt(e, i, s), u = o(a);
|
3891
|
+
r.set(u, t[s] = $t(u, a));
|
3887
3892
|
}
|
3888
3893
|
return {
|
3889
3894
|
c() {
|
@@ -3901,7 +3906,7 @@ function Ot(e) {
|
|
3901
3906
|
77775 && (i = ie(
|
3902
3907
|
/*sliderdata*/
|
3903
3908
|
s[9]
|
3904
|
-
), t =
|
3909
|
+
), t = zt(t, a, o, 1, s, i, r, n.parentNode, Wt, $t, n, Lt));
|
3905
3910
|
},
|
3906
3911
|
d(s) {
|
3907
3912
|
s && D(n);
|
@@ -3910,14 +3915,14 @@ function Ot(e) {
|
|
3910
3915
|
}
|
3911
3916
|
};
|
3912
3917
|
}
|
3913
|
-
function
|
3918
|
+
function Ki(e) {
|
3914
3919
|
let t, r = (
|
3915
3920
|
/*category*/
|
3916
3921
|
e[48].name + ""
|
3917
3922
|
), n;
|
3918
3923
|
return {
|
3919
3924
|
c() {
|
3920
|
-
t = L("button"), n = _e(r),
|
3925
|
+
t = L("button"), n = _e(r), T(t, "class", "CategoryButton");
|
3921
3926
|
},
|
3922
3927
|
m(i, o) {
|
3923
3928
|
G(i, t, o), B(t, n);
|
@@ -3925,21 +3930,21 @@ function Yi(e) {
|
|
3925
3930
|
p(i, o) {
|
3926
3931
|
o[0] & /*sliderdata*/
|
3927
3932
|
512 && r !== (r = /*category*/
|
3928
|
-
i[48].name + "") &&
|
3933
|
+
i[48].name + "") && it(n, r);
|
3929
3934
|
},
|
3930
3935
|
d(i) {
|
3931
3936
|
i && D(t);
|
3932
3937
|
}
|
3933
3938
|
};
|
3934
3939
|
}
|
3935
|
-
function
|
3940
|
+
function eo(e) {
|
3936
3941
|
let t, r = (
|
3937
3942
|
/*category*/
|
3938
3943
|
e[48].label + ""
|
3939
3944
|
), n, i;
|
3940
3945
|
return {
|
3941
3946
|
c() {
|
3942
|
-
t = L("a"), n = _e(r),
|
3947
|
+
t = L("a"), n = _e(r), T(t, "href", i = /*category*/
|
3943
3948
|
e[48].path);
|
3944
3949
|
},
|
3945
3950
|
m(o, s) {
|
@@ -3948,20 +3953,20 @@ function Ki(e) {
|
|
3948
3953
|
p(o, s) {
|
3949
3954
|
s[0] & /*sliderdata*/
|
3950
3955
|
512 && r !== (r = /*category*/
|
3951
|
-
o[48].label + "") &&
|
3956
|
+
o[48].label + "") && it(n, r), s[0] & /*sliderdata*/
|
3952
3957
|
512 && i !== (i = /*category*/
|
3953
|
-
o[48].path) &&
|
3958
|
+
o[48].path) && T(t, "href", i);
|
3954
3959
|
},
|
3955
3960
|
d(o) {
|
3956
3961
|
o && D(t);
|
3957
3962
|
}
|
3958
3963
|
};
|
3959
3964
|
}
|
3960
|
-
function
|
3965
|
+
function Rt(e) {
|
3961
3966
|
let t, r = (
|
3962
3967
|
/*subGroupsData*/
|
3963
3968
|
e[10].length > 0 && /*showsubgroups*/
|
3964
|
-
e[2] == "true" &&
|
3969
|
+
e[2] == "true" && Dt(e)
|
3965
3970
|
);
|
3966
3971
|
return {
|
3967
3972
|
c() {
|
@@ -3973,26 +3978,26 @@ function Ft(e) {
|
|
3973
3978
|
p(n, i) {
|
3974
3979
|
/*subGroupsData*/
|
3975
3980
|
n[10].length > 0 && /*showsubgroups*/
|
3976
|
-
n[2] == "true" ? r ? r.p(n, i) : (r =
|
3981
|
+
n[2] == "true" ? r ? r.p(n, i) : (r = Dt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3977
3982
|
},
|
3978
3983
|
d(n) {
|
3979
3984
|
n && D(t), r && r.d(n);
|
3980
3985
|
}
|
3981
3986
|
};
|
3982
3987
|
}
|
3983
|
-
function
|
3988
|
+
function Dt(e) {
|
3984
3989
|
let t, r = ie(
|
3985
3990
|
/*subGroupsData*/
|
3986
3991
|
e[10]
|
3987
3992
|
), n = [];
|
3988
3993
|
for (let i = 0; i < r.length; i += 1)
|
3989
|
-
n[i] =
|
3994
|
+
n[i] = kt(Pt(e, r, i));
|
3990
3995
|
return {
|
3991
3996
|
c() {
|
3992
3997
|
t = L("ul");
|
3993
3998
|
for (let i = 0; i < n.length; i += 1)
|
3994
3999
|
n[i].c();
|
3995
|
-
|
4000
|
+
T(t, "class", "DropDown");
|
3996
4001
|
},
|
3997
4002
|
m(i, o) {
|
3998
4003
|
G(i, t, o);
|
@@ -4008,8 +4013,8 @@ function Rt(e) {
|
|
4008
4013
|
);
|
4009
4014
|
let s;
|
4010
4015
|
for (s = 0; s < r.length; s += 1) {
|
4011
|
-
const a =
|
4012
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
4016
|
+
const a = Pt(i, r, s);
|
4017
|
+
n[s] ? n[s].p(a, o) : (n[s] = kt(a), n[s].c(), n[s].m(t, null));
|
4013
4018
|
}
|
4014
4019
|
for (; s < n.length; s += 1)
|
4015
4020
|
n[s].d(1);
|
@@ -4017,11 +4022,11 @@ function Rt(e) {
|
|
4017
4022
|
}
|
4018
4023
|
},
|
4019
4024
|
d(i) {
|
4020
|
-
i && D(t),
|
4025
|
+
i && D(t), $r(n, i);
|
4021
4026
|
}
|
4022
4027
|
};
|
4023
4028
|
}
|
4024
|
-
function
|
4029
|
+
function Ut(e) {
|
4025
4030
|
var h;
|
4026
4031
|
let t, r, n = (
|
4027
4032
|
/*subGroupItem*/
|
@@ -4045,7 +4050,7 @@ function Dt(e) {
|
|
4045
4050
|
}
|
4046
4051
|
return {
|
4047
4052
|
c() {
|
4048
|
-
t = L("li"), r = L("a"), i = _e(n), s = q(),
|
4053
|
+
t = L("li"), r = L("a"), i = _e(n), s = q(), T(r, "class", o = "SubDropDown " + /*index*/
|
4049
4054
|
(e[50] == /*activeIndex*/
|
4050
4055
|
e[6] && /*activeSubIndex*/
|
4051
4056
|
(e[7] == /*subindex*/
|
@@ -4054,31 +4059,31 @@ function Dt(e) {
|
|
4054
4059
|
e[56]) ? "active" : ""));
|
4055
4060
|
},
|
4056
4061
|
m(m, f) {
|
4057
|
-
G(m, t, f), B(t, r), B(r, i), B(t, s), a || (u =
|
4062
|
+
G(m, t, f), B(t, r), B(r, i), B(t, s), a || (u = Be(t, "click", l), a = !0);
|
4058
4063
|
},
|
4059
4064
|
p(m, f) {
|
4060
4065
|
var p;
|
4061
4066
|
e = m, f[0] & /*subGroupsData*/
|
4062
4067
|
1024 && n !== (n = /*subGroupItem*/
|
4063
|
-
((p = e[54]) == null ? void 0 : p.name) + "") &&
|
4068
|
+
((p = e[54]) == null ? void 0 : p.name) + "") && it(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
4064
4069
|
1984 && o !== (o = "SubDropDown " + /*index*/
|
4065
4070
|
(e[50] == /*activeIndex*/
|
4066
4071
|
e[6] && /*activeSubIndex*/
|
4067
4072
|
(e[7] == /*subindex*/
|
4068
4073
|
e[56] || /*prevSubIndex*/
|
4069
4074
|
e[8] == /*subindex*/
|
4070
|
-
e[56]) ? "active" : "")) &&
|
4075
|
+
e[56]) ? "active" : "")) && T(r, "class", o);
|
4071
4076
|
},
|
4072
4077
|
d(m) {
|
4073
4078
|
m && D(t), a = !1, u();
|
4074
4079
|
}
|
4075
4080
|
};
|
4076
4081
|
}
|
4077
|
-
function
|
4082
|
+
function Gt(e, t) {
|
4078
4083
|
let r, n, i = (
|
4079
4084
|
/*index*/
|
4080
4085
|
t[50] == /*subGroup*/
|
4081
|
-
t[51].index &&
|
4086
|
+
t[51].index && Ut(t)
|
4082
4087
|
);
|
4083
4088
|
return {
|
4084
4089
|
key: e,
|
@@ -4092,14 +4097,14 @@ function Ut(e, t) {
|
|
4092
4097
|
p(o, s) {
|
4093
4098
|
t = o, /*index*/
|
4094
4099
|
t[50] == /*subGroup*/
|
4095
|
-
t[51].index ? i ? i.p(t, s) : (i =
|
4100
|
+
t[51].index ? i ? i.p(t, s) : (i = Ut(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
4096
4101
|
},
|
4097
4102
|
d(o) {
|
4098
4103
|
o && (D(r), D(n)), i && i.d(o);
|
4099
4104
|
}
|
4100
4105
|
};
|
4101
4106
|
}
|
4102
|
-
function
|
4107
|
+
function kt(e) {
|
4103
4108
|
let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
|
4104
4109
|
/*subGroup*/
|
4105
4110
|
e[51].items
|
@@ -4109,8 +4114,8 @@ function Gt(e) {
|
|
4109
4114
|
s[54].id
|
4110
4115
|
);
|
4111
4116
|
for (let s = 0; s < i.length; s += 1) {
|
4112
|
-
let a =
|
4113
|
-
r.set(u, t[s] =
|
4117
|
+
let a = Ot(e, i, s), u = o(a);
|
4118
|
+
r.set(u, t[s] = Gt(u, a));
|
4114
4119
|
}
|
4115
4120
|
return {
|
4116
4121
|
c() {
|
@@ -4128,7 +4133,7 @@ function Gt(e) {
|
|
4128
4133
|
10176 && (i = ie(
|
4129
4134
|
/*subGroup*/
|
4130
4135
|
s[51].items
|
4131
|
-
), t =
|
4136
|
+
), t = zt(t, a, o, 1, s, i, r, n.parentNode, Wt, Gt, n, Ot));
|
4132
4137
|
},
|
4133
4138
|
d(s) {
|
4134
4139
|
s && D(n);
|
@@ -4137,12 +4142,12 @@ function Gt(e) {
|
|
4137
4142
|
}
|
4138
4143
|
};
|
4139
4144
|
}
|
4140
|
-
function
|
4145
|
+
function $t(e, t) {
|
4141
4146
|
let r, n, i, o, s, a, u, l, h, m, f;
|
4142
4147
|
function p(_, x) {
|
4143
4148
|
return (
|
4144
4149
|
/*location*/
|
4145
|
-
_[0] === "headerMain" ?
|
4150
|
+
_[0] === "headerMain" ? eo : Ki
|
4146
4151
|
);
|
4147
4152
|
}
|
4148
4153
|
let g = p(t), b = g(t), d = (
|
@@ -4150,7 +4155,7 @@ function kt(e, t) {
|
|
4150
4155
|
t[11][
|
4151
4156
|
/*index*/
|
4152
4157
|
t[50]
|
4153
|
-
] == !0 &&
|
4158
|
+
] == !0 && Rt(t)
|
4154
4159
|
);
|
4155
4160
|
function H(..._) {
|
4156
4161
|
return (
|
@@ -4169,12 +4174,12 @@ function kt(e, t) {
|
|
4169
4174
|
first: null,
|
4170
4175
|
c() {
|
4171
4176
|
var _, x;
|
4172
|
-
r = L("li"), n = L("div"), i = L("
|
4173
|
-
(t[3] === "true" ? "" : "DisplayNone")),
|
4177
|
+
r = L("li"), n = L("div"), i = L("ui-image"), a = q(), b.c(), u = q(), d && d.c(), l = q(), we(i, "imgClass", o = "CategoryIconImg " + /*categoriesicon*/
|
4178
|
+
(t[3] === "true" ? "" : "DisplayNone")), gt(i.src, s = /*handleSrc*/
|
4174
4179
|
t[16](
|
4175
4180
|
/*category*/
|
4176
4181
|
t[48]
|
4177
|
-
)) ||
|
4182
|
+
)) || we(i, "src", s), T(n, "class", "CategoryIcon"), T(r, "class", h = "CarouselItem " + /*activeindex*/
|
4178
4183
|
(((_ = t[1]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
|
4179
4184
|
/*activeindex*/
|
4180
4185
|
((x = t[1]) == null ? void 0 : x.split("$").pop()) == /*category*/
|
@@ -4187,22 +4192,22 @@ function kt(e, t) {
|
|
4187
4192
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
|
4188
4193
|
},
|
4189
4194
|
m(_, x) {
|
4190
|
-
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 =
|
4195
|
+
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 = Be(r, "click", H), m = !0);
|
4191
4196
|
},
|
4192
4197
|
p(_, x) {
|
4193
4198
|
var O, I;
|
4194
4199
|
t = _, x[0] & /*categoriesicon*/
|
4195
4200
|
8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
|
4196
|
-
(t[3] === "true" ? "" : "DisplayNone")) &&
|
4197
|
-
512 && !
|
4201
|
+
(t[3] === "true" ? "" : "DisplayNone")) && we(i, "imgClass", o), x[0] & /*sliderdata*/
|
4202
|
+
512 && !gt(i.src, s = /*handleSrc*/
|
4198
4203
|
t[16](
|
4199
4204
|
/*category*/
|
4200
4205
|
t[48]
|
4201
|
-
)) &&
|
4206
|
+
)) && we(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*/
|
4202
4207
|
t[11][
|
4203
4208
|
/*index*/
|
4204
4209
|
t[50]
|
4205
|
-
] == !0 ? d ? d.p(t, x) : (d =
|
4210
|
+
] == !0 ? d ? d.p(t, x) : (d = Rt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), x[0] & /*activeindex, sliderdata, location*/
|
4206
4211
|
515 && h !== (h = "CarouselItem " + /*activeindex*/
|
4207
4212
|
(((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
|
4208
4213
|
/*activeindex*/
|
@@ -4213,34 +4218,34 @@ function kt(e, t) {
|
|
4213
4218
|
t[1] == /*category*/
|
4214
4219
|
t[48].id ? "active" : ""
|
4215
4220
|
)) + " " + /*location*/
|
4216
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
4221
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && T(r, "class", h);
|
4217
4222
|
},
|
4218
4223
|
d(_) {
|
4219
4224
|
_ && D(r), b.d(), d && d.d(), m = !1, f();
|
4220
4225
|
}
|
4221
4226
|
};
|
4222
4227
|
}
|
4223
|
-
function
|
4228
|
+
function to(e) {
|
4224
4229
|
let t, r, n, i, o, s, a, u, l, h, m, f, p, g, b, d = (
|
4225
4230
|
/*sliderdata*/
|
4226
|
-
e[9].length > 0 &&
|
4231
|
+
e[9].length > 0 && Ft(e)
|
4227
4232
|
);
|
4228
4233
|
return {
|
4229
4234
|
c() {
|
4230
|
-
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>',
|
4231
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
4232
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
4235
|
+
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>', T(n, "class", "CarouselLeftArrow"), T(a, "class", "TouchOnly"), T(s, "id", "CarouselNav"), T(s, "class", "CarouselItems"), T(o, "class", "CarouselNavWrap scroller"), T(h, "class", "CarouselRightArrow"), T(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4236
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), T(r, "style", f = /*location*/
|
4237
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), T(t, "class", p = "CarouselWrapper " + /*location*/
|
4233
4238
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4234
4239
|
},
|
4235
4240
|
m(H, _) {
|
4236
4241
|
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 = [
|
4237
|
-
|
4242
|
+
Be(
|
4238
4243
|
n,
|
4239
4244
|
"click",
|
4240
4245
|
/*click_handler*/
|
4241
4246
|
e[32]
|
4242
4247
|
),
|
4243
|
-
|
4248
|
+
Be(
|
4244
4249
|
h,
|
4245
4250
|
"click",
|
4246
4251
|
/*click_handler_3*/
|
@@ -4250,13 +4255,13 @@ function eo(e) {
|
|
4250
4255
|
},
|
4251
4256
|
p(H, _) {
|
4252
4257
|
/*sliderdata*/
|
4253
|
-
H[9].length > 0 ? d ? d.p(H, _) : (d =
|
4258
|
+
H[9].length > 0 ? d ? d.p(H, _) : (d = Ft(H), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
|
4254
4259
|
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
4255
|
-
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) &&
|
4260
|
+
H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && T(r, "class", m), _[0] & /*location*/
|
4256
4261
|
1 && f !== (f = /*location*/
|
4257
|
-
H[0] === "headerMain" ? "max-width: auto" : void 0) &&
|
4262
|
+
H[0] === "headerMain" ? "max-width: auto" : void 0) && T(r, "style", f), _[0] & /*location*/
|
4258
4263
|
1 && p !== (p = "CarouselWrapper " + /*location*/
|
4259
|
-
(H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) &&
|
4264
|
+
(H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && T(t, "class", p);
|
4260
4265
|
},
|
4261
4266
|
i: k,
|
4262
4267
|
o: k,
|
@@ -4265,22 +4270,22 @@ function eo(e) {
|
|
4265
4270
|
}
|
4266
4271
|
};
|
4267
4272
|
}
|
4268
|
-
function
|
4273
|
+
function ro(e, t, r) {
|
4269
4274
|
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;
|
4270
|
-
|
4275
|
+
qi({ withLocale: "en", translations: {} });
|
4271
4276
|
const $ = () => {
|
4272
4277
|
fetch(f).then((C) => C.json()).then((C) => {
|
4273
4278
|
Object.keys(C).forEach((F) => {
|
4274
|
-
|
4279
|
+
Mt(F, C[F]);
|
4275
4280
|
});
|
4276
4281
|
}).catch((C) => {
|
4277
4282
|
console.log(C);
|
4278
4283
|
});
|
4279
4284
|
};
|
4280
|
-
Object.keys(
|
4281
|
-
|
4285
|
+
Object.keys(Nt).forEach((c) => {
|
4286
|
+
Mt(c, Nt[c]);
|
4282
4287
|
});
|
4283
|
-
let w, M, P, V, j, fe = [], Ee = [], K = [], N,
|
4288
|
+
let w, M, P, V, j, fe = [], Ee = [], K = [], N, Re = (c, C, F, Z, X) => {
|
4284
4289
|
var Q;
|
4285
4290
|
if (!(c.subGroups && Z === null)) {
|
4286
4291
|
if (xe(), r(6, M = C), r(6, M), X != "secondary") {
|
@@ -4309,18 +4314,18 @@ function to(e, t, r) {
|
|
4309
4314
|
window.location.href
|
4310
4315
|
);
|
4311
4316
|
}
|
4312
|
-
}, st = () => {
|
4313
|
-
N && (K.length !== M ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4314
4317
|
}, at = () => {
|
4318
|
+
N && (K.length !== M ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
|
4319
|
+
}, lt = () => {
|
4315
4320
|
N && (K.length !== M ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
|
4316
4321
|
};
|
4317
|
-
const
|
4318
|
-
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" &&
|
4322
|
+
const ut = (c) => {
|
4323
|
+
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" && Er()), c.data.type == "GoToHomepage" && fe.forEach((C, F) => {
|
4319
4324
|
C.path.endsWith("/casino") && (r(6, M = F), r(6, M));
|
4320
4325
|
});
|
4321
|
-
},
|
4322
|
-
|
4323
|
-
},
|
4326
|
+
}, vr = () => {
|
4327
|
+
Ji(b);
|
4328
|
+
}, _r = (c, C, F) => {
|
4324
4329
|
if (u == "secondaryMenu" && n && i && b && c.id) {
|
4325
4330
|
let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
|
4326
4331
|
fetch(Z.href).then((X) => X.json()).then((X) => {
|
@@ -4334,8 +4339,8 @@ function to(e, t, r) {
|
|
4334
4339
|
window.location.href
|
4335
4340
|
);
|
4336
4341
|
const Q = [];
|
4337
|
-
Ee.map((
|
4338
|
-
Q.find((
|
4342
|
+
Ee.map((Ir) => (Ir.items.forEach((ht) => {
|
4343
|
+
Q.find((Mr) => ht.id == Mr) || Q.push(ht.id);
|
4339
4344
|
}), Q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Q }, window.location.href);
|
4340
4345
|
}).then(() => {
|
4341
4346
|
w.querySelectorAll(".DropDown") && xe();
|
@@ -4348,40 +4353,40 @@ function to(e, t, r) {
|
|
4348
4353
|
for (let C = 0; C < c.length; C++)
|
4349
4354
|
c[C].style.transform = "translateX(-" + N.scrollLeft + "px)";
|
4350
4355
|
N.classList.remove("isScrolling");
|
4351
|
-
},
|
4356
|
+
}, Er = () => {
|
4352
4357
|
fe.forEach((c, C) => {
|
4353
4358
|
var F;
|
4354
|
-
((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11, K[C] = !0, K),
|
4359
|
+
((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11, K[C] = !0, K), _r(c, C));
|
4355
4360
|
});
|
4356
|
-
},
|
4361
|
+
}, xr = (c) => {
|
4357
4362
|
let C = "";
|
4358
4363
|
return c.id === "LOBBY" ? C = x : c.id === "MYGAMES" && (C = O), c.icon || C;
|
4359
4364
|
};
|
4360
|
-
|
4365
|
+
Wr(() => (window.addEventListener("message", ut, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
4361
4366
|
() => {
|
4362
4367
|
N.addEventListener("scroll", xe);
|
4363
4368
|
},
|
4364
4369
|
500
|
4365
4370
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4366
|
-
window.removeEventListener("message",
|
4371
|
+
window.removeEventListener("message", ut), w.removeEventListener("scroll", xe);
|
4367
4372
|
}));
|
4368
|
-
const
|
4369
|
-
|
4370
|
-
},
|
4371
|
-
|
4373
|
+
const Cr = () => at(), wr = (c, C, F, Z, X) => {
|
4374
|
+
Re(c, C, F, Z, "secondary"), X.stopPropagation();
|
4375
|
+
}, Hr = (c, C, F) => {
|
4376
|
+
Re(c, C, null, null, "main"), F.preventDefault();
|
4372
4377
|
};
|
4373
|
-
function
|
4378
|
+
function Sr(c) {
|
4374
4379
|
pe[c ? "unshift" : "push"](() => {
|
4375
4380
|
w = c, r(5, w);
|
4376
4381
|
});
|
4377
4382
|
}
|
4378
|
-
function
|
4383
|
+
function Tr(c) {
|
4379
4384
|
pe[c ? "unshift" : "push"](() => {
|
4380
4385
|
N = c, r(12, N);
|
4381
4386
|
});
|
4382
4387
|
}
|
4383
|
-
const
|
4384
|
-
function
|
4388
|
+
const Ar = () => lt();
|
4389
|
+
function Br(c) {
|
4385
4390
|
pe[c ? "unshift" : "push"](() => {
|
4386
4391
|
j = c, r(4, j);
|
4387
4392
|
});
|
@@ -4392,11 +4397,11 @@ function to(e, t, r) {
|
|
4392
4397
|
e.$$.dirty[0] & /*activeindex*/
|
4393
4398
|
2, e.$$.dirty[0] & /*translationurl*/
|
4394
4399
|
33554432 && f && $(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4395
|
-
4194320 && l && j &&
|
4396
|
-
8388624 && h && j &&
|
4400
|
+
4194320 && l && j && sn(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4401
|
+
8388624 && h && j && an(j, h), e.$$.dirty[0] & /*customStylingContainer*/
|
4397
4402
|
16 | e.$$.dirty[1] & /*mbsource*/
|
4398
|
-
1 && I && j &&
|
4399
|
-
268435456 && b &&
|
4403
|
+
1 && I && j && ln(j, `${I}.Style`), e.$$.dirty[0] & /*lang*/
|
4404
|
+
268435456 && b && vr();
|
4400
4405
|
}, [
|
4401
4406
|
u,
|
4402
4407
|
d,
|
@@ -4411,10 +4416,10 @@ function to(e, t, r) {
|
|
4411
4416
|
Ee,
|
4412
4417
|
K,
|
4413
4418
|
N,
|
4414
|
-
|
4415
|
-
st,
|
4419
|
+
Re,
|
4416
4420
|
at,
|
4417
|
-
|
4421
|
+
lt,
|
4422
|
+
xr,
|
4418
4423
|
n,
|
4419
4424
|
i,
|
4420
4425
|
o,
|
@@ -4430,23 +4435,23 @@ function to(e, t, r) {
|
|
4430
4435
|
x,
|
4431
4436
|
O,
|
4432
4437
|
I,
|
4433
|
-
xr,
|
4434
4438
|
Cr,
|
4435
4439
|
wr,
|
4436
4440
|
Hr,
|
4437
4441
|
Sr,
|
4438
4442
|
Tr,
|
4439
|
-
Ar
|
4443
|
+
Ar,
|
4444
|
+
Br
|
4440
4445
|
];
|
4441
4446
|
}
|
4442
|
-
class
|
4447
|
+
class no extends nn {
|
4443
4448
|
constructor(t) {
|
4444
|
-
super(),
|
4449
|
+
super(), tn(
|
4445
4450
|
this,
|
4446
4451
|
t,
|
4452
|
+
ro,
|
4447
4453
|
to,
|
4448
|
-
|
4449
|
-
jt,
|
4454
|
+
Vt,
|
4450
4455
|
{
|
4451
4456
|
endpoint: 17,
|
4452
4457
|
datasource: 18,
|
@@ -4468,7 +4473,7 @@ class ro extends rn {
|
|
4468
4473
|
mygamesiconimage: 30,
|
4469
4474
|
mbsource: 31
|
4470
4475
|
},
|
4471
|
-
|
4476
|
+
Yi,
|
4472
4477
|
[-1, -1]
|
4473
4478
|
);
|
4474
4479
|
}
|
@@ -4587,7 +4592,7 @@ class ro extends rn {
|
|
4587
4592
|
this.$$set({ mbsource: t }), A();
|
4588
4593
|
}
|
4589
4594
|
}
|
4590
|
-
|
4595
|
+
rn(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);
|
4591
4596
|
export {
|
4592
|
-
|
4597
|
+
no as default
|
4593
4598
|
};
|