@everymatrix/casino-slider-nd 1.54.8 → 1.54.9
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/{CasinoSliderNd-D2FeYOqA.js → CasinoSliderNd-Bf3O8B-R.js} +314 -314
- package/components/{CasinoSliderNd-DEKKabPc.js → CasinoSliderNd-BoBXwvoF.js} +385 -385
- package/components/{CasinoSliderNd-qwScGNfZ.cjs → CasinoSliderNd-CVxg3_ON.cjs} +3 -3
- package/es2015/casino-slider-nd.cjs +1 -1
- package/es2015/casino-slider-nd.js +1 -1
- package/esnext/casino-slider-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
var hn = Object.defineProperty, cn = Object.defineProperties;
|
|
2
2
|
var fn = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ct = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var pn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var ze = (e, t, r) => t in e ? hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
pn.call(t, r) && ze(e, r, t[r]);
|
|
8
8
|
if (Ct)
|
|
9
9
|
for (var r of Ct(t))
|
|
10
|
-
|
|
10
|
+
dn.call(t, r) && ze(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, xt = (e, t) => cn(e, fn(t));
|
|
13
13
|
var U = (e, t, r) => ze(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var St = (e, t, r) => new Promise((n, i) => {
|
|
15
|
-
var o = (
|
|
15
|
+
var o = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
a(r.next(
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
a(r.next(l));
|
|
18
|
+
} catch (u) {
|
|
19
|
+
i(u);
|
|
20
20
|
}
|
|
21
|
-
}, s = (
|
|
21
|
+
}, s = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
a(r.throw(
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
a(r.throw(l));
|
|
24
|
+
} catch (u) {
|
|
25
|
+
i(u);
|
|
26
26
|
}
|
|
27
|
-
}, a = (
|
|
27
|
+
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function ur(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
35
|
function Ht() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function z(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(ur);
|
|
40
40
|
}
|
|
41
41
|
function gt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
@@ -114,7 +114,7 @@ function ne() {
|
|
|
114
114
|
function q(e, t, r, n) {
|
|
115
115
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function d(e, t, r) {
|
|
118
118
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
119
119
|
}
|
|
120
120
|
function En(e) {
|
|
@@ -145,14 +145,14 @@ function xn(e) {
|
|
|
145
145
|
wn().$$.on_mount.push(e);
|
|
146
146
|
}
|
|
147
147
|
const ae = [], we = [];
|
|
148
|
-
let
|
|
148
|
+
let le = [];
|
|
149
149
|
const Tt = [], Sn = /* @__PURE__ */ Promise.resolve();
|
|
150
150
|
let rt = !1;
|
|
151
151
|
function Hn() {
|
|
152
152
|
rt || (rt = !0, Sn.then(P));
|
|
153
153
|
}
|
|
154
154
|
function nt(e) {
|
|
155
|
-
|
|
155
|
+
le.push(e);
|
|
156
156
|
}
|
|
157
157
|
const Qe = /* @__PURE__ */ new Set();
|
|
158
158
|
let oe = 0;
|
|
@@ -170,11 +170,11 @@ function P() {
|
|
|
170
170
|
throw ae.length = 0, oe = 0, t;
|
|
171
171
|
}
|
|
172
172
|
for (Ce(null), ae.length = 0, oe = 0; we.length; ) we.pop()();
|
|
173
|
-
for (let t = 0; t <
|
|
174
|
-
const r =
|
|
173
|
+
for (let t = 0; t < le.length; t += 1) {
|
|
174
|
+
const r = le[t];
|
|
175
175
|
Qe.has(r) || (Qe.add(r), r());
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
le.length = 0;
|
|
178
178
|
} while (ae.length);
|
|
179
179
|
for (; Tt.length; )
|
|
180
180
|
Tt.pop()();
|
|
@@ -189,7 +189,7 @@ function Tn(e) {
|
|
|
189
189
|
}
|
|
190
190
|
function An(e) {
|
|
191
191
|
const t = [], r = [];
|
|
192
|
-
|
|
192
|
+
le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
|
|
193
193
|
}
|
|
194
194
|
const In = /* @__PURE__ */ new Set();
|
|
195
195
|
function cr(e, t) {
|
|
@@ -201,27 +201,27 @@ function he(e) {
|
|
|
201
201
|
function fr(e, t) {
|
|
202
202
|
e.d(1), t.delete(e.key);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
let
|
|
204
|
+
function pr(e, t, r, n, i, o, s, a, l, u, h, c) {
|
|
205
|
+
let p = e.length, m = o.length, b = p;
|
|
206
206
|
const g = {};
|
|
207
207
|
for (; b--; ) g[e[b].key] = b;
|
|
208
208
|
const y = [], x = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), L = [];
|
|
209
209
|
for (b = m; b--; ) {
|
|
210
210
|
const A = c(i, o, b), O = r(A);
|
|
211
211
|
let N = s.get(O);
|
|
212
|
-
N ? L.push(() => N.p(A, t)) : (N =
|
|
212
|
+
N ? L.push(() => N.p(A, t)) : (N = u(O, A), N.c()), x.set(O, y[b] = N), O in g && M.set(O, Math.abs(b - g[O]));
|
|
213
213
|
}
|
|
214
214
|
const G = /* @__PURE__ */ new Set(), k = /* @__PURE__ */ new Set();
|
|
215
215
|
function $(A) {
|
|
216
216
|
cr(A, 1), A.m(a, h), s.set(A.key, A), h = A.first, m--;
|
|
217
217
|
}
|
|
218
|
-
for (;
|
|
219
|
-
const A = y[m - 1], O = e[
|
|
220
|
-
A === O ? (h = A.first,
|
|
218
|
+
for (; p && m; ) {
|
|
219
|
+
const A = y[m - 1], O = e[p - 1], N = A.key, j = O.key;
|
|
220
|
+
A === O ? (h = A.first, p--, m--) : x.has(j) ? !s.has(N) || G.has(N) ? $(A) : k.has(j) ? p-- : M.get(N) > M.get(j) ? (k.add(N), $(A)) : (G.add(j), p--) : (l(O, s), p--);
|
|
221
221
|
}
|
|
222
|
-
for (;
|
|
223
|
-
const A = e[
|
|
224
|
-
x.has(A.key) ||
|
|
222
|
+
for (; p--; ) {
|
|
223
|
+
const A = e[p];
|
|
224
|
+
x.has(A.key) || l(A, s);
|
|
225
225
|
}
|
|
226
226
|
for (; m; ) $(y[m - 1]);
|
|
227
227
|
return z(L), y;
|
|
@@ -229,7 +229,7 @@ function dr(e, t, r, n, i, o, s, a, u, l, h, c) {
|
|
|
229
229
|
function Bn(e, t, r) {
|
|
230
230
|
const { fragment: n, after_update: i } = e.$$;
|
|
231
231
|
n && n.m(t, r), nt(() => {
|
|
232
|
-
const o = e.$$.on_mount.map(
|
|
232
|
+
const o = e.$$.on_mount.map(ur).filter(gt);
|
|
233
233
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
|
|
234
234
|
}), i.forEach(nt);
|
|
235
235
|
}
|
|
@@ -241,9 +241,9 @@ function Pn(e, t) {
|
|
|
241
241
|
e.$$.dirty[0] === -1 && (ae.push(e), Hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
242
242
|
}
|
|
243
243
|
function On(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
244
|
-
const
|
|
244
|
+
const l = xe;
|
|
245
245
|
Ce(e);
|
|
246
|
-
const
|
|
246
|
+
const u = e.$$ = {
|
|
247
247
|
fragment: null,
|
|
248
248
|
ctx: [],
|
|
249
249
|
// state
|
|
@@ -257,30 +257,30 @@ function On(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
257
257
|
on_disconnect: [],
|
|
258
258
|
before_update: [],
|
|
259
259
|
after_update: [],
|
|
260
|
-
context: new Map(t.context || (
|
|
260
|
+
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
261
261
|
// everything else
|
|
262
262
|
callbacks: Ht(),
|
|
263
263
|
dirty: a,
|
|
264
264
|
skip_bound: !1,
|
|
265
|
-
root: t.target ||
|
|
265
|
+
root: t.target || l.$$.root
|
|
266
266
|
};
|
|
267
|
-
s && s(
|
|
267
|
+
s && s(u.root);
|
|
268
268
|
let h = !1;
|
|
269
|
-
if (
|
|
270
|
-
const b = m.length ? m[0] :
|
|
271
|
-
return
|
|
272
|
-
}) : [],
|
|
269
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, p, ...m) => {
|
|
270
|
+
const b = m.length ? m[0] : p;
|
|
271
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && Pn(e, c)), p;
|
|
272
|
+
}) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
273
273
|
if (t.hydrate) {
|
|
274
274
|
const c = En(t.target);
|
|
275
|
-
|
|
275
|
+
u.fragment && u.fragment.l(c), c.forEach(T);
|
|
276
276
|
} else
|
|
277
|
-
|
|
277
|
+
u.fragment && u.fragment.c();
|
|
278
278
|
t.intro && cr(e.$$.fragment), Bn(e, t.target, t.anchor), P();
|
|
279
279
|
}
|
|
280
|
-
Ce(
|
|
280
|
+
Ce(l);
|
|
281
281
|
}
|
|
282
|
-
let
|
|
283
|
-
typeof HTMLElement == "function" && (
|
|
282
|
+
let dr;
|
|
283
|
+
typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
284
284
|
constructor(t, r, n) {
|
|
285
285
|
super();
|
|
286
286
|
/** The Svelte component constructor */
|
|
@@ -324,17 +324,17 @@ typeof HTMLElement == "function" && (pr = class extends HTMLElement {
|
|
|
324
324
|
let s;
|
|
325
325
|
return {
|
|
326
326
|
c: function() {
|
|
327
|
-
s = B("slot"), o !== "default" &&
|
|
327
|
+
s = B("slot"), o !== "default" && d(s, "name", o);
|
|
328
328
|
},
|
|
329
329
|
/**
|
|
330
330
|
* @param {HTMLElement} target
|
|
331
331
|
* @param {HTMLElement} [anchor]
|
|
332
332
|
*/
|
|
333
|
-
m: function(
|
|
334
|
-
I(
|
|
333
|
+
m: function(u, h) {
|
|
334
|
+
I(u, s, h);
|
|
335
335
|
},
|
|
336
|
-
d: function(
|
|
337
|
-
|
|
336
|
+
d: function(u) {
|
|
337
|
+
u && T(s);
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
340
|
};
|
|
@@ -431,7 +431,7 @@ function Oe(e, t, r, n) {
|
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
function Ln(e, t, r, n, i, o) {
|
|
434
|
-
let s = class extends
|
|
434
|
+
let s = class extends dr {
|
|
435
435
|
constructor() {
|
|
436
436
|
super(e, r, i), this.$$p_d = t;
|
|
437
437
|
}
|
|
@@ -446,16 +446,16 @@ function Ln(e, t, r, n, i, o) {
|
|
|
446
446
|
get() {
|
|
447
447
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
448
448
|
},
|
|
449
|
-
set(
|
|
450
|
-
var
|
|
451
|
-
|
|
449
|
+
set(l) {
|
|
450
|
+
var u;
|
|
451
|
+
l = Oe(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
454
|
}), n.forEach((a) => {
|
|
455
455
|
Object.defineProperty(s.prototype, a, {
|
|
456
456
|
get() {
|
|
457
|
-
var
|
|
458
|
-
return (
|
|
457
|
+
var l;
|
|
458
|
+
return (l = this.$$c) == null ? void 0 : l[a];
|
|
459
459
|
}
|
|
460
460
|
});
|
|
461
461
|
}), e.element = /** @type {any} */
|
|
@@ -569,7 +569,7 @@ function st(e, t) {
|
|
|
569
569
|
}
|
|
570
570
|
return o;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function ue(e, t, r) {
|
|
573
573
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
574
574
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
575
575
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
@@ -610,15 +610,15 @@ var Ue = function() {
|
|
|
610
610
|
if (s)
|
|
611
611
|
if (this._parentage = null, Array.isArray(s))
|
|
612
612
|
try {
|
|
613
|
-
for (var a = ot(s),
|
|
614
|
-
var
|
|
615
|
-
|
|
613
|
+
for (var a = ot(s), l = a.next(); !l.done; l = a.next()) {
|
|
614
|
+
var u = l.value;
|
|
615
|
+
u.remove(this);
|
|
616
616
|
}
|
|
617
617
|
} catch (g) {
|
|
618
618
|
t = { error: g };
|
|
619
619
|
} finally {
|
|
620
620
|
try {
|
|
621
|
-
|
|
621
|
+
l && !l.done && (r = a.return) && r.call(a);
|
|
622
622
|
} finally {
|
|
623
623
|
if (t) throw t.error;
|
|
624
624
|
}
|
|
@@ -636,19 +636,19 @@ var Ue = function() {
|
|
|
636
636
|
if (c) {
|
|
637
637
|
this._finalizers = null;
|
|
638
638
|
try {
|
|
639
|
-
for (var
|
|
639
|
+
for (var p = ot(c), m = p.next(); !m.done; m = p.next()) {
|
|
640
640
|
var b = m.value;
|
|
641
641
|
try {
|
|
642
642
|
At(b);
|
|
643
643
|
} catch (g) {
|
|
644
|
-
o = o != null ? o : [], g instanceof Ye ? o =
|
|
644
|
+
o = o != null ? o : [], g instanceof Ye ? o = ue(ue([], st(o)), st(g.errors)) : o.push(g);
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
647
|
} catch (g) {
|
|
648
648
|
n = { error: g };
|
|
649
649
|
} finally {
|
|
650
650
|
try {
|
|
651
|
-
m && !m.done && (i =
|
|
651
|
+
m && !m.done && (i = p.return) && i.call(p);
|
|
652
652
|
} finally {
|
|
653
653
|
if (n) throw n.error;
|
|
654
654
|
}
|
|
@@ -699,7 +699,7 @@ var Dn = {
|
|
|
699
699
|
setTimeout: function(e, t) {
|
|
700
700
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
701
701
|
r[n - 2] = arguments[n];
|
|
702
|
-
return setTimeout.apply(void 0,
|
|
702
|
+
return setTimeout.apply(void 0, ue([e, t], st(r)));
|
|
703
703
|
},
|
|
704
704
|
clearTimeout: function(e) {
|
|
705
705
|
return clearTimeout(e);
|
|
@@ -723,7 +723,7 @@ var yr = function(e) {
|
|
|
723
723
|
return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = jn, n;
|
|
724
724
|
}
|
|
725
725
|
return t.create = function(r, n, i) {
|
|
726
|
-
return new
|
|
726
|
+
return new lt(r, n, i);
|
|
727
727
|
}, t.prototype.next = function(r) {
|
|
728
728
|
this.isStopped || this._next(r);
|
|
729
729
|
}, t.prototype.error = function(r) {
|
|
@@ -778,7 +778,7 @@ var yr = function(e) {
|
|
|
778
778
|
Me(r);
|
|
779
779
|
}
|
|
780
780
|
}, e;
|
|
781
|
-
}(),
|
|
781
|
+
}(), lt = function(e) {
|
|
782
782
|
Q(t, e);
|
|
783
783
|
function t(r, n, i) {
|
|
784
784
|
var o = e.call(this) || this, s;
|
|
@@ -822,10 +822,10 @@ var Bt = function() {
|
|
|
822
822
|
var r = new e();
|
|
823
823
|
return r.source = this, r.operator = t, r;
|
|
824
824
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
825
|
-
var i = this, o = zn(t) ? t : new
|
|
825
|
+
var i = this, o = zn(t) ? t : new lt(t, r, n);
|
|
826
826
|
return Le(function() {
|
|
827
|
-
var s = i, a = s.operator,
|
|
828
|
-
o.add(a ? a.call(o,
|
|
827
|
+
var s = i, a = s.operator, l = s.source;
|
|
828
|
+
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
829
829
|
}), o;
|
|
830
830
|
}, e.prototype._trySubscribe = function(t) {
|
|
831
831
|
try {
|
|
@@ -836,12 +836,12 @@ var Bt = function() {
|
|
|
836
836
|
}, e.prototype.forEach = function(t, r) {
|
|
837
837
|
var n = this;
|
|
838
838
|
return r = Mt(r), new r(function(i, o) {
|
|
839
|
-
var s = new
|
|
839
|
+
var s = new lt({
|
|
840
840
|
next: function(a) {
|
|
841
841
|
try {
|
|
842
842
|
t(a);
|
|
843
|
-
} catch (
|
|
844
|
-
o(
|
|
843
|
+
} catch (l) {
|
|
844
|
+
o(l), s.unsubscribe();
|
|
845
845
|
}
|
|
846
846
|
},
|
|
847
847
|
error: o,
|
|
@@ -908,11 +908,11 @@ var Qn = mr(function(e) {
|
|
|
908
908
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
909
909
|
try {
|
|
910
910
|
for (var s = ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
911
|
-
var
|
|
912
|
-
|
|
911
|
+
var l = a.value;
|
|
912
|
+
l.next(r);
|
|
913
913
|
}
|
|
914
|
-
} catch (
|
|
915
|
-
i = { error:
|
|
914
|
+
} catch (u) {
|
|
915
|
+
i = { error: u };
|
|
916
916
|
} finally {
|
|
917
917
|
try {
|
|
918
918
|
a && !a.done && (o = s.return) && o.call(s);
|
|
@@ -999,19 +999,19 @@ var Qn = mr(function(e) {
|
|
|
999
999
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1000
1000
|
}
|
|
1001
1001
|
return t.prototype.next = function(r) {
|
|
1002
|
-
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider,
|
|
1003
|
-
i || (o.push(r), !s && o.push(a.now() +
|
|
1002
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
|
|
1003
|
+
i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1004
1004
|
}, t.prototype._subscribe = function(r) {
|
|
1005
1005
|
this._throwIfClosed(), this._trimBuffer();
|
|
1006
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(),
|
|
1007
|
-
r.next(a[
|
|
1006
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
|
|
1007
|
+
r.next(a[l]);
|
|
1008
1008
|
return this._checkFinalizedStatuses(r), n;
|
|
1009
1009
|
}, t.prototype._trimBuffer = function() {
|
|
1010
1010
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
1011
1011
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
1012
|
-
for (var
|
|
1013
|
-
|
|
1014
|
-
|
|
1012
|
+
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1013
|
+
u = h;
|
|
1014
|
+
u && o.splice(0, u + 1);
|
|
1015
1015
|
}
|
|
1016
1016
|
}, t;
|
|
1017
1017
|
}(vr);
|
|
@@ -1032,12 +1032,12 @@ function Ge(e, t = D) {
|
|
|
1032
1032
|
const n = /* @__PURE__ */ new Set();
|
|
1033
1033
|
function i(a) {
|
|
1034
1034
|
if (hr(e, a) && (e = a, r)) {
|
|
1035
|
-
const
|
|
1036
|
-
for (const
|
|
1037
|
-
|
|
1038
|
-
if (
|
|
1039
|
-
for (let
|
|
1040
|
-
se[
|
|
1035
|
+
const l = !se.length;
|
|
1036
|
+
for (const u of n)
|
|
1037
|
+
u[1](), se.push(u, e);
|
|
1038
|
+
if (l) {
|
|
1039
|
+
for (let u = 0; u < se.length; u += 2)
|
|
1040
|
+
se[u][0](se[u + 1]);
|
|
1041
1041
|
se.length = 0;
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
@@ -1045,10 +1045,10 @@ function Ge(e, t = D) {
|
|
|
1045
1045
|
function o(a) {
|
|
1046
1046
|
i(a(e));
|
|
1047
1047
|
}
|
|
1048
|
-
function s(a,
|
|
1049
|
-
const
|
|
1050
|
-
return n.add(
|
|
1051
|
-
n.delete(
|
|
1048
|
+
function s(a, l = D) {
|
|
1049
|
+
const u = [a, l];
|
|
1050
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || D), a(e), () => {
|
|
1051
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1052
1052
|
};
|
|
1053
1053
|
}
|
|
1054
1054
|
return { set: i, update: o, subscribe: s };
|
|
@@ -1059,28 +1059,28 @@ function be(e, t, r) {
|
|
|
1059
1059
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1060
1060
|
const o = t.length < 2;
|
|
1061
1061
|
return Jn(r, (s, a) => {
|
|
1062
|
-
let
|
|
1063
|
-
const
|
|
1062
|
+
let l = !1;
|
|
1063
|
+
const u = [];
|
|
1064
1064
|
let h = 0, c = D;
|
|
1065
|
-
const
|
|
1065
|
+
const p = () => {
|
|
1066
1066
|
if (h)
|
|
1067
1067
|
return;
|
|
1068
1068
|
c();
|
|
1069
|
-
const b = t(n ?
|
|
1069
|
+
const b = t(n ? u[0] : u, s, a);
|
|
1070
1070
|
o ? s(b) : c = gt(b) ? b : D;
|
|
1071
1071
|
}, m = i.map(
|
|
1072
1072
|
(b, g) => bn(
|
|
1073
1073
|
b,
|
|
1074
1074
|
(y) => {
|
|
1075
|
-
|
|
1075
|
+
u[g] = y, h &= ~(1 << g), l && p();
|
|
1076
1076
|
},
|
|
1077
1077
|
() => {
|
|
1078
1078
|
h |= 1 << g;
|
|
1079
1079
|
}
|
|
1080
1080
|
)
|
|
1081
1081
|
);
|
|
1082
|
-
return
|
|
1083
|
-
z(m), c(),
|
|
1082
|
+
return l = !0, p(), function() {
|
|
1083
|
+
z(m), c(), l = !1;
|
|
1084
1084
|
};
|
|
1085
1085
|
});
|
|
1086
1086
|
}
|
|
@@ -1112,19 +1112,19 @@ function ai(e, t, r) {
|
|
|
1112
1112
|
return Se(n, r);
|
|
1113
1113
|
});
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function li(e, t) {
|
|
1116
1116
|
if (!t.customMerge)
|
|
1117
1117
|
return ce;
|
|
1118
1118
|
var r = t.customMerge(e);
|
|
1119
1119
|
return typeof r == "function" ? r : ce;
|
|
1120
1120
|
}
|
|
1121
|
-
function
|
|
1121
|
+
function ui(e) {
|
|
1122
1122
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1123
1123
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1124
1124
|
}) : [];
|
|
1125
1125
|
}
|
|
1126
1126
|
function Nt(e) {
|
|
1127
|
-
return Object.keys(e).concat(
|
|
1127
|
+
return Object.keys(e).concat(ui(e));
|
|
1128
1128
|
}
|
|
1129
1129
|
function Er(e, t) {
|
|
1130
1130
|
try {
|
|
@@ -1141,7 +1141,7 @@ function ci(e, t, r) {
|
|
|
1141
1141
|
return r.isMergeableObject(e) && Nt(e).forEach(function(i) {
|
|
1142
1142
|
n[i] = Se(e[i], r);
|
|
1143
1143
|
}), Nt(t).forEach(function(i) {
|
|
1144
|
-
hi(e, i) || (Er(e, i) && r.isMergeableObject(t[i]) ? n[i] =
|
|
1144
|
+
hi(e, i) || (Er(e, i) && r.isMergeableObject(t[i]) ? n[i] = li(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
|
|
1145
1145
|
}), n;
|
|
1146
1146
|
}
|
|
1147
1147
|
function ce(e, t, r) {
|
|
@@ -1156,8 +1156,8 @@ ce.all = function(t, r) {
|
|
|
1156
1156
|
return ce(n, i, r);
|
|
1157
1157
|
}, {});
|
|
1158
1158
|
};
|
|
1159
|
-
var fi = ce,
|
|
1160
|
-
const
|
|
1159
|
+
var fi = ce, pi = fi;
|
|
1160
|
+
const di = /* @__PURE__ */ Kn(pi);
|
|
1161
1161
|
function qe(e, t) {
|
|
1162
1162
|
var r = t && t.cache ? t.cache : Ei, n = t && t.serializer ? t.serializer : vi, i = t && t.strategy ? t.strategy : gi;
|
|
1163
1163
|
return i(e, {
|
|
@@ -1248,7 +1248,7 @@ function Ir(e) {
|
|
|
1248
1248
|
function Br(e) {
|
|
1249
1249
|
return !!(e && typeof e == "object" && e.type === fe.number);
|
|
1250
1250
|
}
|
|
1251
|
-
function
|
|
1251
|
+
function ut(e) {
|
|
1252
1252
|
return !!(e && typeof e == "object" && e.type === fe.dateTime);
|
|
1253
1253
|
}
|
|
1254
1254
|
var Mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
|
|
@@ -1347,18 +1347,18 @@ var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
1347
1347
|
function Ti(e) {
|
|
1348
1348
|
if (e.length === 0)
|
|
1349
1349
|
throw new Error("Number skeleton cannot be empty");
|
|
1350
|
-
for (var t = e.split(Hi).filter(function(
|
|
1351
|
-
return
|
|
1350
|
+
for (var t = e.split(Hi).filter(function(p) {
|
|
1351
|
+
return p.length > 0;
|
|
1352
1352
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1353
1353
|
var o = i[n], s = o.split("/");
|
|
1354
1354
|
if (s.length === 0)
|
|
1355
1355
|
throw new Error("Invalid number skeleton");
|
|
1356
|
-
for (var a = s[0],
|
|
1357
|
-
var c = h[
|
|
1356
|
+
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1357
|
+
var c = h[u];
|
|
1358
1358
|
if (c.length === 0)
|
|
1359
1359
|
throw new Error("Invalid number skeleton");
|
|
1360
1360
|
}
|
|
1361
|
-
r.push({ stem: a, options:
|
|
1361
|
+
r.push({ stem: a, options: l });
|
|
1362
1362
|
}
|
|
1363
1363
|
return r;
|
|
1364
1364
|
}
|
|
@@ -1465,13 +1465,13 @@ function Mi(e) {
|
|
|
1465
1465
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1466
1466
|
continue;
|
|
1467
1467
|
case "scientific":
|
|
1468
|
-
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(
|
|
1469
|
-
return E(E({},
|
|
1468
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1469
|
+
return E(E({}, l), kt(u));
|
|
1470
1470
|
}, {}));
|
|
1471
1471
|
continue;
|
|
1472
1472
|
case "engineering":
|
|
1473
|
-
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(
|
|
1474
|
-
return E(E({},
|
|
1473
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1474
|
+
return E(E({}, l), kt(u));
|
|
1475
1475
|
}, {}));
|
|
1476
1476
|
continue;
|
|
1477
1477
|
case "notation-simple":
|
|
@@ -1516,11 +1516,11 @@ function Mi(e) {
|
|
|
1516
1516
|
case "integer-width":
|
|
1517
1517
|
if (i.options.length > 1)
|
|
1518
1518
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1519
|
-
i.options[0].replace(Ii, function(
|
|
1520
|
-
if (
|
|
1519
|
+
i.options[0].replace(Ii, function(l, u, h, c, p, m) {
|
|
1520
|
+
if (u)
|
|
1521
1521
|
t.minimumIntegerDigits = h.length;
|
|
1522
1522
|
else {
|
|
1523
|
-
if (c &&
|
|
1523
|
+
if (c && p)
|
|
1524
1524
|
throw new Error("We currently do not support maximum integer digits");
|
|
1525
1525
|
if (m)
|
|
1526
1526
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1536,8 +1536,8 @@ function Mi(e) {
|
|
|
1536
1536
|
if (Ft.test(i.stem)) {
|
|
1537
1537
|
if (i.options.length > 1)
|
|
1538
1538
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1539
|
-
i.stem.replace(Ft, function(
|
|
1540
|
-
return h === "*" ? t.minimumFractionDigits =
|
|
1539
|
+
i.stem.replace(Ft, function(l, u, h, c, p, m) {
|
|
1540
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1541
1541
|
});
|
|
1542
1542
|
var o = i.options[0];
|
|
1543
1543
|
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Dt(o)));
|
|
@@ -2975,11 +2975,11 @@ function Pi(e, t) {
|
|
|
2975
2975
|
if (i === "j") {
|
|
2976
2976
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2977
2977
|
o++, n++;
|
|
2978
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1),
|
|
2979
|
-
for ((
|
|
2980
|
-
r +=
|
|
2978
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Oi(t);
|
|
2979
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2980
|
+
r += l;
|
|
2981
2981
|
for (; s-- > 0; )
|
|
2982
|
-
r =
|
|
2982
|
+
r = u + r;
|
|
2983
2983
|
} else i === "J" ? r += "H" : r += i;
|
|
2984
2984
|
}
|
|
2985
2985
|
return r;
|
|
@@ -3141,7 +3141,7 @@ var Zi = (
|
|
|
3141
3141
|
if (n)
|
|
3142
3142
|
break;
|
|
3143
3143
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3144
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3144
|
+
} else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
|
|
3145
3145
|
var s = this.parseTag(t, r);
|
|
3146
3146
|
if (s.err)
|
|
3147
3147
|
return s;
|
|
@@ -3174,10 +3174,10 @@ var Zi = (
|
|
|
3174
3174
|
return o;
|
|
3175
3175
|
var s = o.val, a = this.clonePosition();
|
|
3176
3176
|
if (this.bumpIf("</")) {
|
|
3177
|
-
if (this.isEOF() || !
|
|
3177
|
+
if (this.isEOF() || !pt(this.char()))
|
|
3178
3178
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3179
|
-
var
|
|
3180
|
-
return i !==
|
|
3179
|
+
var l = this.clonePosition(), u = this.parseTagName();
|
|
3180
|
+
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3181
3181
|
val: {
|
|
3182
3182
|
type: H.tag,
|
|
3183
3183
|
value: i,
|
|
@@ -3214,9 +3214,9 @@ var Zi = (
|
|
|
3214
3214
|
}
|
|
3215
3215
|
break;
|
|
3216
3216
|
}
|
|
3217
|
-
var
|
|
3217
|
+
var l = _(n, this.clonePosition());
|
|
3218
3218
|
return {
|
|
3219
|
-
val: { type: H.literal, value: i, location:
|
|
3219
|
+
val: { type: H.literal, value: i, location: l },
|
|
3220
3220
|
err: null
|
|
3221
3221
|
};
|
|
3222
3222
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -3294,34 +3294,34 @@ var Zi = (
|
|
|
3294
3294
|
var o = this.clonePosition(), s = _(t, o);
|
|
3295
3295
|
return { value: n, location: s };
|
|
3296
3296
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3297
|
-
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value,
|
|
3297
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3298
3298
|
switch (a) {
|
|
3299
3299
|
case "":
|
|
3300
|
-
return this.error(v.EXPECT_ARGUMENT_TYPE, _(s,
|
|
3300
|
+
return this.error(v.EXPECT_ARGUMENT_TYPE, _(s, l));
|
|
3301
3301
|
case "number":
|
|
3302
3302
|
case "date":
|
|
3303
3303
|
case "time": {
|
|
3304
3304
|
this.bumpSpace();
|
|
3305
|
-
var
|
|
3305
|
+
var u = null;
|
|
3306
3306
|
if (this.bumpIf(",")) {
|
|
3307
3307
|
this.bumpSpace();
|
|
3308
3308
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3309
3309
|
if (c.err)
|
|
3310
3310
|
return c;
|
|
3311
|
-
var
|
|
3312
|
-
if (
|
|
3311
|
+
var p = Xi(c.val);
|
|
3312
|
+
if (p.length === 0)
|
|
3313
3313
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3314
3314
|
var m = _(h, this.clonePosition());
|
|
3315
|
-
|
|
3315
|
+
u = { style: p, styleLocation: m };
|
|
3316
3316
|
}
|
|
3317
3317
|
var b = this.tryParseArgumentClose(i);
|
|
3318
3318
|
if (b.err)
|
|
3319
3319
|
return b;
|
|
3320
3320
|
var g = _(i, this.clonePosition());
|
|
3321
|
-
if (
|
|
3322
|
-
var y = Wi(
|
|
3321
|
+
if (u && Ut(u == null ? void 0 : u.style, "::", 0)) {
|
|
3322
|
+
var y = Wi(u.style.slice(2));
|
|
3323
3323
|
if (a === "number") {
|
|
3324
|
-
var c = this.parseNumberSkeletonFromString(y,
|
|
3324
|
+
var c = this.parseNumberSkeletonFromString(y, u.styleLocation);
|
|
3325
3325
|
return c.err ? c : {
|
|
3326
3326
|
val: { type: H.number, value: n, location: g, style: c.val },
|
|
3327
3327
|
err: null
|
|
@@ -3331,14 +3331,14 @@ var Zi = (
|
|
|
3331
3331
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
|
|
3332
3332
|
var x = y;
|
|
3333
3333
|
this.locale && (x = Pi(y, this.locale));
|
|
3334
|
-
var
|
|
3334
|
+
var p = {
|
|
3335
3335
|
type: fe.dateTime,
|
|
3336
3336
|
pattern: x,
|
|
3337
|
-
location:
|
|
3337
|
+
location: u.styleLocation,
|
|
3338
3338
|
parsedOptions: this.shouldParseSkeletons ? Si(x) : {}
|
|
3339
3339
|
}, M = a === "date" ? H.date : H.time;
|
|
3340
3340
|
return {
|
|
3341
|
-
val: { type: M, value: n, location: g, style:
|
|
3341
|
+
val: { type: M, value: n, location: g, style: p },
|
|
3342
3342
|
err: null
|
|
3343
3343
|
};
|
|
3344
3344
|
}
|
|
@@ -3348,7 +3348,7 @@ var Zi = (
|
|
|
3348
3348
|
type: a === "number" ? H.number : a === "date" ? H.date : H.time,
|
|
3349
3349
|
value: n,
|
|
3350
3350
|
location: g,
|
|
3351
|
-
style: (o =
|
|
3351
|
+
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3352
3352
|
},
|
|
3353
3353
|
err: null
|
|
3354
3354
|
};
|
|
@@ -3398,7 +3398,7 @@ var Zi = (
|
|
|
3398
3398
|
};
|
|
3399
3399
|
}
|
|
3400
3400
|
default:
|
|
3401
|
-
return this.error(v.INVALID_ARGUMENT_TYPE, _(s,
|
|
3401
|
+
return this.error(v.INVALID_ARGUMENT_TYPE, _(s, l));
|
|
3402
3402
|
}
|
|
3403
3403
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3404
3404
|
return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3454,20 +3454,20 @@ var Zi = (
|
|
|
3454
3454
|
err: null
|
|
3455
3455
|
};
|
|
3456
3456
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3457
|
-
for (var o, s = !1, a = [],
|
|
3458
|
-
if (
|
|
3457
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3458
|
+
if (u.length === 0) {
|
|
3459
3459
|
var c = this.clonePosition();
|
|
3460
3460
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3461
|
-
var
|
|
3462
|
-
if (
|
|
3463
|
-
return
|
|
3464
|
-
h = _(c, this.clonePosition()),
|
|
3461
|
+
var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3462
|
+
if (p.err)
|
|
3463
|
+
return p;
|
|
3464
|
+
h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3465
3465
|
} else
|
|
3466
3466
|
break;
|
|
3467
3467
|
}
|
|
3468
|
-
if (
|
|
3468
|
+
if (l.has(u))
|
|
3469
3469
|
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3470
|
-
|
|
3470
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3471
3471
|
var m = this.clonePosition();
|
|
3472
3472
|
if (!this.bumpIf("{"))
|
|
3473
3473
|
return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
@@ -3478,12 +3478,12 @@ var Zi = (
|
|
|
3478
3478
|
if (g.err)
|
|
3479
3479
|
return g;
|
|
3480
3480
|
a.push([
|
|
3481
|
-
|
|
3481
|
+
u,
|
|
3482
3482
|
{
|
|
3483
3483
|
value: b.val,
|
|
3484
3484
|
location: _(m, this.clonePosition())
|
|
3485
3485
|
}
|
|
3486
|
-
]),
|
|
3486
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3487
3487
|
}
|
|
3488
3488
|
return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3489
3489
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3496,8 +3496,8 @@ var Zi = (
|
|
|
3496
3496
|
else
|
|
3497
3497
|
break;
|
|
3498
3498
|
}
|
|
3499
|
-
var
|
|
3500
|
-
return o ? (s *= n, ji(s) ? { val: s, err: null } : this.error(r,
|
|
3499
|
+
var l = _(i, this.clonePosition());
|
|
3500
|
+
return o ? (s *= n, ji(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3501
3501
|
}, e.prototype.offset = function() {
|
|
3502
3502
|
return this.position.offset;
|
|
3503
3503
|
}, e.prototype.isEOF = function() {
|
|
@@ -3563,11 +3563,11 @@ var Zi = (
|
|
|
3563
3563
|
}, e;
|
|
3564
3564
|
}()
|
|
3565
3565
|
);
|
|
3566
|
-
function
|
|
3566
|
+
function pt(e) {
|
|
3567
3567
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3568
3568
|
}
|
|
3569
3569
|
function zi(e) {
|
|
3570
|
-
return
|
|
3570
|
+
return pt(e) || e === 47;
|
|
3571
3571
|
}
|
|
3572
3572
|
function Qi(e) {
|
|
3573
3573
|
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;
|
|
@@ -3578,12 +3578,12 @@ function Fr(e) {
|
|
|
3578
3578
|
function Yi(e) {
|
|
3579
3579
|
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;
|
|
3580
3580
|
}
|
|
3581
|
-
function
|
|
3581
|
+
function dt(e) {
|
|
3582
3582
|
e.forEach(function(t) {
|
|
3583
3583
|
if (delete t.location, Tr(t) || Ar(t))
|
|
3584
3584
|
for (var r in t.options)
|
|
3585
|
-
delete t.options[r].location,
|
|
3586
|
-
else xr(t) && Br(t.style) || (Sr(t) || Hr(t)) &&
|
|
3585
|
+
delete t.options[r].location, dt(t.options[r].value);
|
|
3586
|
+
else xr(t) && Br(t.style) || (Sr(t) || Hr(t)) && ut(t.style) ? delete t.style.location : Ir(t) && dt(t.children);
|
|
3587
3587
|
});
|
|
3588
3588
|
}
|
|
3589
3589
|
function qi(e, t) {
|
|
@@ -3593,12 +3593,12 @@ function qi(e, t) {
|
|
|
3593
3593
|
var n = SyntaxError(v[r.err.kind]);
|
|
3594
3594
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3595
3595
|
}
|
|
3596
|
-
return t != null && t.captureLocation ||
|
|
3596
|
+
return t != null && t.captureLocation || dt(r.val), r.val;
|
|
3597
3597
|
}
|
|
3598
|
-
var
|
|
3598
|
+
var pe;
|
|
3599
3599
|
(function(e) {
|
|
3600
3600
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3601
|
-
})(
|
|
3601
|
+
})(pe || (pe = {}));
|
|
3602
3602
|
var $e = (
|
|
3603
3603
|
/** @class */
|
|
3604
3604
|
function(e) {
|
|
@@ -3616,7 +3616,7 @@ var $e = (
|
|
|
3616
3616
|
function(e) {
|
|
3617
3617
|
Q(t, e);
|
|
3618
3618
|
function t(r, n, i, o) {
|
|
3619
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3619
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), pe.INVALID_VALUE, o) || this;
|
|
3620
3620
|
}
|
|
3621
3621
|
return t;
|
|
3622
3622
|
}($e)
|
|
@@ -3625,7 +3625,7 @@ var $e = (
|
|
|
3625
3625
|
function(e) {
|
|
3626
3626
|
Q(t, e);
|
|
3627
3627
|
function t(r, n, i) {
|
|
3628
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3628
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), pe.INVALID_VALUE, i) || this;
|
|
3629
3629
|
}
|
|
3630
3630
|
return t;
|
|
3631
3631
|
}($e)
|
|
@@ -3634,7 +3634,7 @@ var $e = (
|
|
|
3634
3634
|
function(e) {
|
|
3635
3635
|
Q(t, e);
|
|
3636
3636
|
function t(r, n) {
|
|
3637
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3637
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), pe.MISSING_VALUE, n) || this;
|
|
3638
3638
|
}
|
|
3639
3639
|
return t;
|
|
3640
3640
|
}($e)
|
|
@@ -3659,8 +3659,8 @@ function Ne(e, t, r, n, i, o, s) {
|
|
|
3659
3659
|
value: e[0].value
|
|
3660
3660
|
}
|
|
3661
3661
|
];
|
|
3662
|
-
for (var a = [],
|
|
3663
|
-
var h = l
|
|
3662
|
+
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3663
|
+
var h = u[l];
|
|
3664
3664
|
if (Rt(h)) {
|
|
3665
3665
|
a.push({
|
|
3666
3666
|
type: R.literal,
|
|
@@ -3678,35 +3678,35 @@ function Ne(e, t, r, n, i, o, s) {
|
|
|
3678
3678
|
var c = h.value;
|
|
3679
3679
|
if (!(i && c in i))
|
|
3680
3680
|
throw new Ki(c, s);
|
|
3681
|
-
var
|
|
3681
|
+
var p = i[c];
|
|
3682
3682
|
if (Ci(h)) {
|
|
3683
|
-
(!
|
|
3684
|
-
type: typeof
|
|
3685
|
-
value:
|
|
3683
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3684
|
+
type: typeof p == "string" ? R.literal : R.object,
|
|
3685
|
+
value: p
|
|
3686
3686
|
});
|
|
3687
3687
|
continue;
|
|
3688
3688
|
}
|
|
3689
3689
|
if (Sr(h)) {
|
|
3690
|
-
var m = typeof h.style == "string" ? n.date[h.style] :
|
|
3690
|
+
var m = typeof h.style == "string" ? n.date[h.style] : ut(h.style) ? h.style.parsedOptions : void 0;
|
|
3691
3691
|
a.push({
|
|
3692
3692
|
type: R.literal,
|
|
3693
|
-
value: r.getDateTimeFormat(t, m).format(
|
|
3693
|
+
value: r.getDateTimeFormat(t, m).format(p)
|
|
3694
3694
|
});
|
|
3695
3695
|
continue;
|
|
3696
3696
|
}
|
|
3697
3697
|
if (Hr(h)) {
|
|
3698
|
-
var m = typeof h.style == "string" ? n.time[h.style] :
|
|
3698
|
+
var m = typeof h.style == "string" ? n.time[h.style] : ut(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3699
3699
|
a.push({
|
|
3700
3700
|
type: R.literal,
|
|
3701
|
-
value: r.getDateTimeFormat(t, m).format(
|
|
3701
|
+
value: r.getDateTimeFormat(t, m).format(p)
|
|
3702
3702
|
});
|
|
3703
3703
|
continue;
|
|
3704
3704
|
}
|
|
3705
3705
|
if (xr(h)) {
|
|
3706
3706
|
var m = typeof h.style == "string" ? n.number[h.style] : Br(h.style) ? h.style.parsedOptions : void 0;
|
|
3707
|
-
m && m.scale && (
|
|
3707
|
+
m && m.scale && (p = p * (m.scale || 1)), a.push({
|
|
3708
3708
|
type: R.literal,
|
|
3709
|
-
value: r.getNumberFormat(t, m).format(
|
|
3709
|
+
value: r.getNumberFormat(t, m).format(p)
|
|
3710
3710
|
});
|
|
3711
3711
|
continue;
|
|
3712
3712
|
}
|
|
@@ -3725,25 +3725,25 @@ function Ne(e, t, r, n, i, o, s) {
|
|
|
3725
3725
|
}));
|
|
3726
3726
|
}
|
|
3727
3727
|
if (Tr(h)) {
|
|
3728
|
-
var L = h.options[
|
|
3728
|
+
var L = h.options[p] || h.options.other;
|
|
3729
3729
|
if (!L)
|
|
3730
|
-
throw new jt(h.value,
|
|
3730
|
+
throw new jt(h.value, p, Object.keys(h.options), s);
|
|
3731
3731
|
a.push.apply(a, Ne(L.value, t, r, n, i));
|
|
3732
3732
|
continue;
|
|
3733
3733
|
}
|
|
3734
3734
|
if (Ar(h)) {
|
|
3735
|
-
var L = h.options["=".concat(
|
|
3735
|
+
var L = h.options["=".concat(p)];
|
|
3736
3736
|
if (!L) {
|
|
3737
3737
|
if (!Intl.PluralRules)
|
|
3738
3738
|
throw new $e(`Intl.PluralRules is not available in this environment.
|
|
3739
3739
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3740
|
-
`,
|
|
3741
|
-
var G = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3740
|
+
`, pe.MISSING_INTL_API, s);
|
|
3741
|
+
var G = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
|
|
3742
3742
|
L = h.options[G] || h.options.other;
|
|
3743
3743
|
}
|
|
3744
3744
|
if (!L)
|
|
3745
|
-
throw new jt(h.value,
|
|
3746
|
-
a.push.apply(a, Ne(L.value, t, r, n, i,
|
|
3745
|
+
throw new jt(h.value, p, Object.keys(h.options), s);
|
|
3746
|
+
a.push.apply(a, Ne(L.value, t, r, n, i, p - (h.offset || 0)));
|
|
3747
3747
|
continue;
|
|
3748
3748
|
}
|
|
3749
3749
|
}
|
|
@@ -3782,7 +3782,7 @@ function io(e) {
|
|
|
3782
3782
|
getNumberFormat: qe(function() {
|
|
3783
3783
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3784
3784
|
r[n] = arguments[n];
|
|
3785
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3785
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ue([void 0], r, !1)))();
|
|
3786
3786
|
}, {
|
|
3787
3787
|
cache: et(e.number),
|
|
3788
3788
|
strategy: Je.variadic
|
|
@@ -3790,7 +3790,7 @@ function io(e) {
|
|
|
3790
3790
|
getDateTimeFormat: qe(function() {
|
|
3791
3791
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3792
3792
|
r[n] = arguments[n];
|
|
3793
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3793
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ue([void 0], r, !1)))();
|
|
3794
3794
|
}, {
|
|
3795
3795
|
cache: et(e.dateTime),
|
|
3796
3796
|
strategy: Je.variadic
|
|
@@ -3798,7 +3798,7 @@ function io(e) {
|
|
|
3798
3798
|
getPluralRules: qe(function() {
|
|
3799
3799
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3800
3800
|
r[n] = arguments[n];
|
|
3801
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3801
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ue([void 0], r, !1)))();
|
|
3802
3802
|
}, {
|
|
3803
3803
|
cache: et(e.pluralRules),
|
|
3804
3804
|
strategy: Je.variadic
|
|
@@ -3815,20 +3815,20 @@ var oo = (
|
|
|
3815
3815
|
number: {},
|
|
3816
3816
|
dateTime: {},
|
|
3817
3817
|
pluralRules: {}
|
|
3818
|
-
}, this.format = function(
|
|
3819
|
-
var
|
|
3820
|
-
if (
|
|
3821
|
-
return
|
|
3822
|
-
var h =
|
|
3823
|
-
return !c.length ||
|
|
3818
|
+
}, this.format = function(l) {
|
|
3819
|
+
var u = o.formatToParts(l);
|
|
3820
|
+
if (u.length === 1)
|
|
3821
|
+
return u[0].value;
|
|
3822
|
+
var h = u.reduce(function(c, p) {
|
|
3823
|
+
return !c.length || p.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
|
|
3824
3824
|
}, []);
|
|
3825
3825
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3826
|
-
}, this.formatToParts = function(
|
|
3827
|
-
return Ne(o.ast, o.locales, o.formatters, o.formats,
|
|
3826
|
+
}, this.formatToParts = function(l) {
|
|
3827
|
+
return Ne(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3828
3828
|
}, this.resolvedOptions = function() {
|
|
3829
|
-
var
|
|
3829
|
+
var l;
|
|
3830
3830
|
return {
|
|
3831
|
-
locale: ((
|
|
3831
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3832
3832
|
};
|
|
3833
3833
|
}, this.getAst = function() {
|
|
3834
3834
|
return o.ast;
|
|
@@ -3945,23 +3945,23 @@ const J = {}, ao = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
|
|
|
3945
3945
|
return J[t][e];
|
|
3946
3946
|
const r = je(t);
|
|
3947
3947
|
for (let n = 0; n < r.length; n++) {
|
|
3948
|
-
const i = r[n], o =
|
|
3948
|
+
const i = r[n], o = uo(i, e);
|
|
3949
3949
|
if (o)
|
|
3950
3950
|
return ao(e, t, o);
|
|
3951
3951
|
}
|
|
3952
3952
|
};
|
|
3953
3953
|
let yt;
|
|
3954
3954
|
const ge = Ge({});
|
|
3955
|
-
function
|
|
3955
|
+
function lo(e) {
|
|
3956
3956
|
return yt[e] || null;
|
|
3957
3957
|
}
|
|
3958
3958
|
function kr(e) {
|
|
3959
3959
|
return e in yt;
|
|
3960
3960
|
}
|
|
3961
|
-
function
|
|
3961
|
+
function uo(e, t) {
|
|
3962
3962
|
if (!kr(e))
|
|
3963
3963
|
return null;
|
|
3964
|
-
const r =
|
|
3964
|
+
const r = lo(e);
|
|
3965
3965
|
return so(r, t);
|
|
3966
3966
|
}
|
|
3967
3967
|
function ho(e) {
|
|
@@ -3975,7 +3975,7 @@ function ho(e) {
|
|
|
3975
3975
|
}
|
|
3976
3976
|
}
|
|
3977
3977
|
function Ur(e, ...t) {
|
|
3978
|
-
delete J[e], ge.update((r) => (r[e] =
|
|
3978
|
+
delete J[e], ge.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
|
|
3979
3979
|
}
|
|
3980
3980
|
be(
|
|
3981
3981
|
[ge],
|
|
@@ -4060,7 +4060,7 @@ const mo = {
|
|
|
4060
4060
|
handleMissingMessage: void 0,
|
|
4061
4061
|
ignoreTag: !0
|
|
4062
4062
|
}, go = bo;
|
|
4063
|
-
function
|
|
4063
|
+
function de() {
|
|
4064
4064
|
return go;
|
|
4065
4065
|
}
|
|
4066
4066
|
const tt = Ge(!1);
|
|
@@ -4077,7 +4077,7 @@ const De = Ge(null);
|
|
|
4077
4077
|
function Xt(e) {
|
|
4078
4078
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4079
4079
|
}
|
|
4080
|
-
function je(e, t =
|
|
4080
|
+
function je(e, t = de().fallbackLocale) {
|
|
4081
4081
|
const r = Xt(e);
|
|
4082
4082
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
|
|
4083
4083
|
}
|
|
@@ -4089,7 +4089,7 @@ De.subscribe((e) => {
|
|
|
4089
4089
|
});
|
|
4090
4090
|
const So = (e) => {
|
|
4091
4091
|
if (e && ho(e) && mt(e)) {
|
|
4092
|
-
const { loadingDelay: t } =
|
|
4092
|
+
const { loadingDelay: t } = de();
|
|
4093
4093
|
let r;
|
|
4094
4094
|
return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
|
|
4095
4095
|
() => tt.set(!0),
|
|
@@ -4127,7 +4127,7 @@ var Ho = Object.defineProperty, ke = Object.getOwnPropertySymbols, jr = Object.p
|
|
|
4127
4127
|
return r;
|
|
4128
4128
|
};
|
|
4129
4129
|
const He = (e, t) => {
|
|
4130
|
-
const { formats: r } =
|
|
4130
|
+
const { formats: r } = de();
|
|
4131
4131
|
if (e in r && t in r[e])
|
|
4132
4132
|
return r[e][t];
|
|
4133
4133
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
@@ -4177,8 +4177,8 @@ const He = (e, t) => {
|
|
|
4177
4177
|
return Io(vt({ locale: r }, n));
|
|
4178
4178
|
}, Oo = Ve(
|
|
4179
4179
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4180
|
-
(e, t = ie()) => new oo(e, t,
|
|
4181
|
-
ignoreTag:
|
|
4180
|
+
(e, t = ie()) => new oo(e, t, de().formats, {
|
|
4181
|
+
ignoreTag: de().ignoreTag
|
|
4182
4182
|
})
|
|
4183
4183
|
), Lo = (e, t = {}) => {
|
|
4184
4184
|
var r, n, i, o;
|
|
@@ -4186,16 +4186,16 @@ const He = (e, t) => {
|
|
|
4186
4186
|
typeof e == "object" && (s = e, e = s.id);
|
|
4187
4187
|
const {
|
|
4188
4188
|
values: a,
|
|
4189
|
-
locale:
|
|
4190
|
-
default:
|
|
4189
|
+
locale: l = ie(),
|
|
4190
|
+
default: u
|
|
4191
4191
|
} = s;
|
|
4192
|
-
if (
|
|
4192
|
+
if (l == null)
|
|
4193
4193
|
throw new Error(
|
|
4194
4194
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4195
4195
|
);
|
|
4196
|
-
let h = Dr(e,
|
|
4196
|
+
let h = Dr(e, l);
|
|
4197
4197
|
if (!h)
|
|
4198
|
-
h = (o = (i = (n = (r =
|
|
4198
|
+
h = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4199
4199
|
else if (typeof h != "string")
|
|
4200
4200
|
return console.warn(
|
|
4201
4201
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4204,11 +4204,11 @@ const He = (e, t) => {
|
|
|
4204
4204
|
return h;
|
|
4205
4205
|
let c = h;
|
|
4206
4206
|
try {
|
|
4207
|
-
c = Oo(h,
|
|
4208
|
-
} catch (
|
|
4209
|
-
|
|
4207
|
+
c = Oo(h, l).format(a);
|
|
4208
|
+
} catch (p) {
|
|
4209
|
+
p instanceof Error && console.warn(
|
|
4210
4210
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4211
|
-
|
|
4211
|
+
p.message
|
|
4212
4212
|
);
|
|
4213
4213
|
}
|
|
4214
4214
|
return c;
|
|
@@ -4313,8 +4313,8 @@ function Kt(e) {
|
|
|
4313
4313
|
s[54].id
|
|
4314
4314
|
);
|
|
4315
4315
|
for (let s = 0; s < i.length; s += 1) {
|
|
4316
|
-
let a = Yt(e, i, s),
|
|
4317
|
-
r.set(
|
|
4316
|
+
let a = Yt(e, i, s), l = o(a);
|
|
4317
|
+
r.set(l, t[s] = lr(l, a));
|
|
4318
4318
|
}
|
|
4319
4319
|
return {
|
|
4320
4320
|
c() {
|
|
@@ -4323,8 +4323,8 @@ function Kt(e) {
|
|
|
4323
4323
|
n = ne();
|
|
4324
4324
|
},
|
|
4325
4325
|
m(s, a) {
|
|
4326
|
-
for (let
|
|
4327
|
-
t[
|
|
4326
|
+
for (let l = 0; l < t.length; l += 1)
|
|
4327
|
+
t[l] && t[l].m(s, a);
|
|
4328
4328
|
I(s, n, a);
|
|
4329
4329
|
},
|
|
4330
4330
|
p(s, a) {
|
|
@@ -4332,7 +4332,7 @@ function Kt(e) {
|
|
|
4332
4332
|
28623 && (i = he(
|
|
4333
4333
|
/*sliderdata*/
|
|
4334
4334
|
s[9]
|
|
4335
|
-
), t =
|
|
4335
|
+
), t = pr(t, a, o, 1, s, i, r, n.parentNode, fr, lr, n, Yt));
|
|
4336
4336
|
},
|
|
4337
4337
|
d(s) {
|
|
4338
4338
|
s && T(n);
|
|
@@ -4347,7 +4347,7 @@ function jo(e) {
|
|
|
4347
4347
|
/*category*/
|
|
4348
4348
|
e[54].name + ""
|
|
4349
4349
|
), i, o;
|
|
4350
|
-
function s(c,
|
|
4350
|
+
function s(c, p) {
|
|
4351
4351
|
var m;
|
|
4352
4352
|
if (
|
|
4353
4353
|
/*index*/
|
|
@@ -4364,28 +4364,28 @@ function jo(e) {
|
|
|
4364
4364
|
c[3] !== "false"
|
|
4365
4365
|
) return Wo;
|
|
4366
4366
|
}
|
|
4367
|
-
let a = s(e),
|
|
4367
|
+
let a = s(e), l = a && a(e), u = (
|
|
4368
4368
|
/*category*/
|
|
4369
4369
|
((h = e[54]) == null ? void 0 : h.games.count) && !/*isMobile*/
|
|
4370
4370
|
e[13] && rr(e)
|
|
4371
4371
|
);
|
|
4372
4372
|
return {
|
|
4373
4373
|
c() {
|
|
4374
|
-
|
|
4374
|
+
l && l.c(), t = V(), r = B("button"), i = ee(n), o = V(), u && u.c(), d(r, "class", "CategoryButton");
|
|
4375
4375
|
},
|
|
4376
|
-
m(c,
|
|
4377
|
-
|
|
4376
|
+
m(c, p) {
|
|
4377
|
+
l && l.m(c, p), I(c, t, p), I(c, r, p), w(r, i), w(r, o), u && u.m(r, null);
|
|
4378
4378
|
},
|
|
4379
|
-
p(c,
|
|
4379
|
+
p(c, p) {
|
|
4380
4380
|
var m;
|
|
4381
|
-
a === (a = s(c)) &&
|
|
4381
|
+
a === (a = s(c)) && l ? l.p(c, p) : (l && l.d(1), l = a && a(c), l && (l.c(), l.m(t.parentNode, t))), p[0] & /*sliderdata*/
|
|
4382
4382
|
512 && n !== (n = /*category*/
|
|
4383
4383
|
c[54].name + "") && me(i, n), /*category*/
|
|
4384
4384
|
(m = c[54]) != null && m.games.count && !/*isMobile*/
|
|
4385
|
-
c[13] ?
|
|
4385
|
+
c[13] ? u ? u.p(c, p) : (u = rr(c), u.c(), u.m(r, null)) : u && (u.d(1), u = null);
|
|
4386
4386
|
},
|
|
4387
4387
|
d(c) {
|
|
4388
|
-
c && (T(t), T(r)),
|
|
4388
|
+
c && (T(t), T(r)), l && l.d(c), u && u.d();
|
|
4389
4389
|
}
|
|
4390
4390
|
};
|
|
4391
4391
|
}
|
|
@@ -4396,7 +4396,7 @@ function Vo(e) {
|
|
|
4396
4396
|
), n, i;
|
|
4397
4397
|
return {
|
|
4398
4398
|
c() {
|
|
4399
|
-
t = B("a"), n = ee(r),
|
|
4399
|
+
t = B("a"), n = ee(r), d(t, "href", i = /*category*/
|
|
4400
4400
|
e[54].path);
|
|
4401
4401
|
},
|
|
4402
4402
|
m(o, s) {
|
|
@@ -4407,7 +4407,7 @@ function Vo(e) {
|
|
|
4407
4407
|
512 && r !== (r = /*category*/
|
|
4408
4408
|
o[54].label + "") && me(n, r), s[0] & /*sliderdata*/
|
|
4409
4409
|
512 && i !== (i = /*category*/
|
|
4410
|
-
o[54].path) &&
|
|
4410
|
+
o[54].path) && d(t, "href", i);
|
|
4411
4411
|
},
|
|
4412
4412
|
d(o) {
|
|
4413
4413
|
o && T(t);
|
|
@@ -4466,7 +4466,7 @@ function Zo(e) {
|
|
|
4466
4466
|
let t, r, n, i;
|
|
4467
4467
|
return {
|
|
4468
4468
|
c() {
|
|
4469
|
-
t = Y("svg"), r = Y("g"), n = Y("path"), i = Y("path"),
|
|
4469
|
+
t = Y("svg"), r = Y("g"), n = Y("path"), i = Y("path"), d(n, "id", "Path_5184"), d(n, "data-name", "Path 5184"), d(n, "d", "M57.612,37.659a3.721,3.721,0,0,0-3.535,4.883l-1.708,4.269-1.15-4.07a4.418,4.418,0,1,0-5.7.061l-1.151,4.016-1.75-4.358a3.722,3.722,0,1,0-4.827,2.418L41.182,59.7l.288,1.259,1.292,0,11.193.027,1.3,0,.29-1.265,3.408-14.876a3.72,3.72,0,0,0-1.339-7.192Zm0,5.816H57.6l-3.64,15.89-11.193-.027L39.135,43.473l-.08,0a2.1,2.1,0,1,1,1.8-1.028l3.763,9.373,2.8-9.781a2.8,2.8,0,1,1,1.9-.029l2.78,9.838,3.74-9.344a2.1,2.1,0,1,1,1.769.972Z"), d(n, "fill", "#fff"), d(i, "id", "Path_5185"), d(i, "data-name", "Path 5185"), d(i, "d", "M435.863,656.62a9.519,9.519,0,0,1-2.285,3.477,8.1,8.1,0,0,1-1.614,1.19,8.1,8.1,0,0,1,1.614,1.19,9.516,9.516,0,0,1,2.285,3.477,9.517,9.517,0,0,1,2.285-3.477,8.106,8.106,0,0,1,1.615-1.19,8.1,8.1,0,0,1-1.615-1.189A9.517,9.517,0,0,1,435.863,656.62Zm1.158,4.668a10.292,10.292,0,0,0-1.158,1.3,10.335,10.335,0,0,0-1.158-1.3h0a10.287,10.287,0,0,0,1.158-1.3,10.321,10.321,0,0,0,1.158,1.3h0Z"), d(i, "transform", "translate(-387.531 -607.426)"), d(i, "fill", "#fff"), d(r, "id", "noun-crown-5396133"), d(r, "transform", "translate(-35.333 -34.978)"), d(t, "class", "CategoryLobbyIcon"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "20"), d(t, "height", "20.015"), d(t, "viewBox", "0 0 26 26.015");
|
|
4470
4470
|
},
|
|
4471
4471
|
m(o, s) {
|
|
4472
4472
|
I(o, t, s), w(t, r), w(r, n), w(r, i);
|
|
@@ -4481,7 +4481,7 @@ function zo(e) {
|
|
|
4481
4481
|
let t, r;
|
|
4482
4482
|
return {
|
|
4483
4483
|
c() {
|
|
4484
|
-
t = Y("svg"), r = Y("path"),
|
|
4484
|
+
t = Y("svg"), r = Y("path"), d(r, "id", "noun-dice-number-5396160"), d(r, "d", "M56.69,35.168H39.63a4.475,4.475,0,0,0-4.47,4.47V56.7a4.475,4.475,0,0,0,4.47,4.47H56.69a4.475,4.475,0,0,0,4.47-4.47V39.638a4.475,4.475,0,0,0-4.47-4.47ZM41.91,56.605A2.187,2.187,0,1,1,44.1,54.418,2.188,2.188,0,0,1,41.91,56.605Zm-2.188-8.438a2.187,2.187,0,1,1,2.187,2.187A2.188,2.188,0,0,1,39.722,48.168Zm2.188-4.062A2.187,2.187,0,1,1,44.1,41.918,2.188,2.188,0,0,1,41.91,44.105Zm12.5,12.5A2.187,2.187,0,1,1,56.6,54.418,2.187,2.187,0,0,1,54.41,56.605Zm0-6.25A2.187,2.187,0,1,1,56.6,48.168,2.187,2.187,0,0,1,54.41,50.356Zm0-6.25A2.187,2.187,0,1,1,56.6,41.918,2.187,2.187,0,0,1,54.41,44.106Z"), d(r, "transform", "translate(-35.16 -35.168)"), d(r, "fill", "#fff"), d(t, "class", "CasinoCategoryIcon"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "20"), d(t, "height", "20"), d(t, "viewBox", "0 0 26 26");
|
|
4485
4485
|
},
|
|
4486
4486
|
m(n, i) {
|
|
4487
4487
|
I(n, t, i), w(t, r);
|
|
@@ -4500,15 +4500,15 @@ function Qo(e) {
|
|
|
4500
4500
|
);
|
|
4501
4501
|
return {
|
|
4502
4502
|
c() {
|
|
4503
|
-
t = B("div"), r = Y("svg"), n = Y("path"), i = V(), o && o.c(),
|
|
4503
|
+
t = B("div"), r = Y("svg"), n = Y("path"), i = V(), o && o.c(), d(n, "id", "noun-dice-number-5396160"), d(n, "d", "M56.69,35.168H39.63a4.475,4.475,0,0,0-4.47,4.47V56.7a4.475,4.475,0,0,0,4.47,4.47H56.69a4.475,4.475,0,0,0,4.47-4.47V39.638a4.475,4.475,0,0,0-4.47-4.47ZM41.91,56.605A2.187,2.187,0,1,1,44.1,54.418,2.188,2.188,0,0,1,41.91,56.605Zm-2.188-8.438a2.187,2.187,0,1,1,2.187,2.187A2.188,2.188,0,0,1,39.722,48.168Zm2.188-4.062A2.187,2.187,0,1,1,44.1,41.918,2.188,2.188,0,0,1,41.91,44.105Zm12.5,12.5A2.187,2.187,0,1,1,56.6,54.418,2.187,2.187,0,0,1,54.41,56.605Zm0-6.25A2.187,2.187,0,1,1,56.6,48.168,2.187,2.187,0,0,1,54.41,50.356Zm0-6.25A2.187,2.187,0,1,1,56.6,41.918,2.187,2.187,0,0,1,54.41,44.106Z"), d(n, "transform", "translate(-35.16 -35.168)"), d(n, "fill", "#fff"), d(r, "class", "CasinoCategoryIcon"), d(r, "xmlns", "http://www.w3.org/2000/svg"), d(r, "width", "20"), d(r, "height", "20"), d(r, "viewBox", "0 0 26 26"), d(t, "class", "CategoryIconContainer");
|
|
4504
4504
|
},
|
|
4505
|
-
m(a,
|
|
4506
|
-
I(a, t,
|
|
4505
|
+
m(a, l) {
|
|
4506
|
+
I(a, t, l), w(t, r), w(r, n), w(t, i), o && o.m(t, null);
|
|
4507
4507
|
},
|
|
4508
|
-
p(a,
|
|
4509
|
-
var
|
|
4508
|
+
p(a, l) {
|
|
4509
|
+
var u;
|
|
4510
4510
|
/*category*/
|
|
4511
|
-
(
|
|
4511
|
+
(u = a[54]) != null && u.games.count ? o ? o.p(a, l) : (o = er(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
|
|
4512
4512
|
},
|
|
4513
4513
|
d(a) {
|
|
4514
4514
|
a && T(t), o && o.d();
|
|
@@ -4523,7 +4523,7 @@ function er(e) {
|
|
|
4523
4523
|
), n;
|
|
4524
4524
|
return {
|
|
4525
4525
|
c() {
|
|
4526
|
-
t = B("span"), n = ee(r),
|
|
4526
|
+
t = B("span"), n = ee(r), d(t, "class", "CategoryButtonCount");
|
|
4527
4527
|
},
|
|
4528
4528
|
m(o, s) {
|
|
4529
4529
|
I(o, t, s), w(t, n);
|
|
@@ -4543,8 +4543,8 @@ function Yo(e) {
|
|
|
4543
4543
|
let t, r, n;
|
|
4544
4544
|
return {
|
|
4545
4545
|
c() {
|
|
4546
|
-
t = B("img"),
|
|
4547
|
-
e[54].icon) ||
|
|
4546
|
+
t = B("img"), d(t, "class", "CasinoCategoryIcon "), Fe(t.src, r = /*category*/
|
|
4547
|
+
e[54].icon) || d(t, "src", r), d(t, "alt", n = /*category*/
|
|
4548
4548
|
e[54].name);
|
|
4549
4549
|
},
|
|
4550
4550
|
m(i, o) {
|
|
@@ -4553,9 +4553,9 @@ function Yo(e) {
|
|
|
4553
4553
|
p(i, o) {
|
|
4554
4554
|
o[0] & /*sliderdata*/
|
|
4555
4555
|
512 && !Fe(t.src, r = /*category*/
|
|
4556
|
-
i[54].icon) &&
|
|
4556
|
+
i[54].icon) && d(t, "src", r), o[0] & /*sliderdata*/
|
|
4557
4557
|
512 && n !== (n = /*category*/
|
|
4558
|
-
i[54].name) &&
|
|
4558
|
+
i[54].name) && d(t, "alt", n);
|
|
4559
4559
|
},
|
|
4560
4560
|
d(i) {
|
|
4561
4561
|
i && T(t);
|
|
@@ -4570,24 +4570,24 @@ function qo(e) {
|
|
|
4570
4570
|
);
|
|
4571
4571
|
return {
|
|
4572
4572
|
c() {
|
|
4573
|
-
t = B("div"), r = B("img"), o = V(), s && s.c(),
|
|
4574
|
-
e[54].icon) ||
|
|
4575
|
-
e[54].name),
|
|
4573
|
+
t = B("div"), r = B("img"), o = V(), s && s.c(), d(r, "class", "CasinoCategoryIcon"), Fe(r.src, n = /*category*/
|
|
4574
|
+
e[54].icon) || d(r, "src", n), d(r, "alt", i = /*category*/
|
|
4575
|
+
e[54].name), d(t, "class", "CategoryIconContainer");
|
|
4576
4576
|
},
|
|
4577
|
-
m(
|
|
4578
|
-
I(
|
|
4577
|
+
m(l, u) {
|
|
4578
|
+
I(l, t, u), w(t, r), w(t, o), s && s.m(t, null);
|
|
4579
4579
|
},
|
|
4580
|
-
p(
|
|
4580
|
+
p(l, u) {
|
|
4581
4581
|
var h;
|
|
4582
|
-
|
|
4582
|
+
u[0] & /*sliderdata*/
|
|
4583
4583
|
512 && !Fe(r.src, n = /*category*/
|
|
4584
|
-
|
|
4584
|
+
l[54].icon) && d(r, "src", n), u[0] & /*sliderdata*/
|
|
4585
4585
|
512 && i !== (i = /*category*/
|
|
4586
|
-
|
|
4587
|
-
(h =
|
|
4586
|
+
l[54].name) && d(r, "alt", i), /*category*/
|
|
4587
|
+
(h = l[54]) != null && h.games.count ? s ? s.p(l, u) : (s = tr(l), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
|
|
4588
4588
|
},
|
|
4589
|
-
d(
|
|
4590
|
-
|
|
4589
|
+
d(l) {
|
|
4590
|
+
l && T(t), s && s.d();
|
|
4591
4591
|
}
|
|
4592
4592
|
};
|
|
4593
4593
|
}
|
|
@@ -4599,7 +4599,7 @@ function tr(e) {
|
|
|
4599
4599
|
), n;
|
|
4600
4600
|
return {
|
|
4601
4601
|
c() {
|
|
4602
|
-
t = B("span"), n = ee(r),
|
|
4602
|
+
t = B("span"), n = ee(r), d(t, "class", "CategoryButtonCount");
|
|
4603
4603
|
},
|
|
4604
4604
|
m(o, s) {
|
|
4605
4605
|
I(o, t, s), w(t, n);
|
|
@@ -4623,7 +4623,7 @@ function rr(e) {
|
|
|
4623
4623
|
), n;
|
|
4624
4624
|
return {
|
|
4625
4625
|
c() {
|
|
4626
|
-
t = B("span"), n = ee(r),
|
|
4626
|
+
t = B("span"), n = ee(r), d(t, "class", "CategoryButtonCount");
|
|
4627
4627
|
},
|
|
4628
4628
|
m(o, s) {
|
|
4629
4629
|
I(o, t, s), w(t, n);
|
|
@@ -4674,7 +4674,7 @@ function ir(e) {
|
|
|
4674
4674
|
t = B("ul");
|
|
4675
4675
|
for (let i = 0; i < n.length; i += 1)
|
|
4676
4676
|
n[i].c();
|
|
4677
|
-
|
|
4677
|
+
d(t, "class", "DropDown");
|
|
4678
4678
|
},
|
|
4679
4679
|
m(i, o) {
|
|
4680
4680
|
I(i, t, o);
|
|
@@ -4708,8 +4708,8 @@ function or(e) {
|
|
|
4708
4708
|
let t, r, n = (
|
|
4709
4709
|
/*subGroupItem*/
|
|
4710
4710
|
((c = e[60]) == null ? void 0 : c.name) + ""
|
|
4711
|
-
), i, o, s, a,
|
|
4712
|
-
function
|
|
4711
|
+
), i, o, s, a, l;
|
|
4712
|
+
function u(...p) {
|
|
4713
4713
|
return (
|
|
4714
4714
|
/*click_handler_1*/
|
|
4715
4715
|
e[33](
|
|
@@ -4721,11 +4721,11 @@ function or(e) {
|
|
|
4721
4721
|
e[60],
|
|
4722
4722
|
/*subindex*/
|
|
4723
4723
|
e[62],
|
|
4724
|
-
...
|
|
4724
|
+
...p
|
|
4725
4725
|
)
|
|
4726
4726
|
);
|
|
4727
4727
|
}
|
|
4728
|
-
function h(...
|
|
4728
|
+
function h(...p) {
|
|
4729
4729
|
return (
|
|
4730
4730
|
/*keydown_handler_1*/
|
|
4731
4731
|
e[34](
|
|
@@ -4737,13 +4737,13 @@ function or(e) {
|
|
|
4737
4737
|
e[60],
|
|
4738
4738
|
/*subindex*/
|
|
4739
4739
|
e[62],
|
|
4740
|
-
...
|
|
4740
|
+
...p
|
|
4741
4741
|
)
|
|
4742
4742
|
);
|
|
4743
4743
|
}
|
|
4744
4744
|
return {
|
|
4745
4745
|
c() {
|
|
4746
|
-
t = B("li"), r = B("span"), i = ee(n), o = V(),
|
|
4746
|
+
t = B("li"), r = B("span"), i = ee(n), o = V(), d(t, "class", s = "SubDropDown " + /*index*/
|
|
4747
4747
|
(e[56] == /*activeIndex*/
|
|
4748
4748
|
e[6] && /*activeSubIndex*/
|
|
4749
4749
|
(e[7] == /*subindex*/
|
|
@@ -4751,15 +4751,15 @@ function or(e) {
|
|
|
4751
4751
|
e[8] == /*subindex*/
|
|
4752
4752
|
e[62]) ? "active" : ""));
|
|
4753
4753
|
},
|
|
4754
|
-
m(
|
|
4755
|
-
I(
|
|
4756
|
-
q(t, "click",
|
|
4754
|
+
m(p, m) {
|
|
4755
|
+
I(p, t, m), w(t, r), w(r, i), w(t, o), a || (l = [
|
|
4756
|
+
q(t, "click", u),
|
|
4757
4757
|
q(t, "keydown", h)
|
|
4758
4758
|
], a = !0);
|
|
4759
4759
|
},
|
|
4760
|
-
p(
|
|
4760
|
+
p(p, m) {
|
|
4761
4761
|
var b;
|
|
4762
|
-
e =
|
|
4762
|
+
e = p, m[0] & /*subGroupsData*/
|
|
4763
4763
|
1024 && n !== (n = /*subGroupItem*/
|
|
4764
4764
|
((b = e[60]) == null ? void 0 : b.name) + "") && me(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
|
4765
4765
|
1984 && s !== (s = "SubDropDown " + /*index*/
|
|
@@ -4768,10 +4768,10 @@ function or(e) {
|
|
|
4768
4768
|
(e[7] == /*subindex*/
|
|
4769
4769
|
e[62] || /*prevSubIndex*/
|
|
4770
4770
|
e[8] == /*subindex*/
|
|
4771
|
-
e[62]) ? "active" : "")) &&
|
|
4771
|
+
e[62]) ? "active" : "")) && d(t, "class", s);
|
|
4772
4772
|
},
|
|
4773
|
-
d(
|
|
4774
|
-
|
|
4773
|
+
d(p) {
|
|
4774
|
+
p && T(t), a = !1, z(l);
|
|
4775
4775
|
}
|
|
4776
4776
|
};
|
|
4777
4777
|
}
|
|
@@ -4810,8 +4810,8 @@ function ar(e) {
|
|
|
4810
4810
|
s[60].id
|
|
4811
4811
|
);
|
|
4812
4812
|
for (let s = 0; s < i.length; s += 1) {
|
|
4813
|
-
let a = Jt(e, i, s),
|
|
4814
|
-
r.set(
|
|
4813
|
+
let a = Jt(e, i, s), l = o(a);
|
|
4814
|
+
r.set(l, t[s] = sr(l, a));
|
|
4815
4815
|
}
|
|
4816
4816
|
return {
|
|
4817
4817
|
c() {
|
|
@@ -4820,8 +4820,8 @@ function ar(e) {
|
|
|
4820
4820
|
n = ne();
|
|
4821
4821
|
},
|
|
4822
4822
|
m(s, a) {
|
|
4823
|
-
for (let
|
|
4824
|
-
t[
|
|
4823
|
+
for (let l = 0; l < t.length; l += 1)
|
|
4824
|
+
t[l] && t[l].m(s, a);
|
|
4825
4825
|
I(s, n, a);
|
|
4826
4826
|
},
|
|
4827
4827
|
p(s, a) {
|
|
@@ -4829,7 +4829,7 @@ function ar(e) {
|
|
|
4829
4829
|
18368 && (i = he(
|
|
4830
4830
|
/*subGroup*/
|
|
4831
4831
|
s[57].items
|
|
4832
|
-
), t =
|
|
4832
|
+
), t = pr(t, a, o, 1, s, i, r, n.parentNode, fr, sr, n, Jt));
|
|
4833
4833
|
},
|
|
4834
4834
|
d(s) {
|
|
4835
4835
|
s && T(n);
|
|
@@ -4838,22 +4838,22 @@ function ar(e) {
|
|
|
4838
4838
|
}
|
|
4839
4839
|
};
|
|
4840
4840
|
}
|
|
4841
|
-
function
|
|
4841
|
+
function lr(e, t) {
|
|
4842
4842
|
let r, n, i, o, s, a;
|
|
4843
|
-
function
|
|
4843
|
+
function l(b, g) {
|
|
4844
4844
|
return (
|
|
4845
4845
|
/*location*/
|
|
4846
4846
|
b[0] === "headerMain" ? Vo : jo
|
|
4847
4847
|
);
|
|
4848
4848
|
}
|
|
4849
|
-
let
|
|
4849
|
+
let u = l(t), h = u(t), c = (
|
|
4850
4850
|
/*itemsActive*/
|
|
4851
4851
|
t[11][
|
|
4852
4852
|
/*index*/
|
|
4853
4853
|
t[56]
|
|
4854
4854
|
] == !0 && nr(t)
|
|
4855
4855
|
);
|
|
4856
|
-
function
|
|
4856
|
+
function p(...b) {
|
|
4857
4857
|
return (
|
|
4858
4858
|
/*click_handler_2*/
|
|
4859
4859
|
t[35](
|
|
@@ -4882,7 +4882,7 @@ function ur(e, t) {
|
|
|
4882
4882
|
first: null,
|
|
4883
4883
|
c() {
|
|
4884
4884
|
var b, g;
|
|
4885
|
-
r = B("li"), h.c(), n = V(), c && c.c(), i = V(),
|
|
4885
|
+
r = B("li"), h.c(), n = V(), c && c.c(), i = V(), d(r, "class", o = "CarouselItem " + /*activeindex*/
|
|
4886
4886
|
(((b = t[1]) == null ? void 0 : b.toString().indexOf("$")) > -1 ? (
|
|
4887
4887
|
/*activeindex*/
|
|
4888
4888
|
((g = t[1]) == null ? void 0 : g.split("$").pop()) == /*category*/
|
|
@@ -4896,13 +4896,13 @@ function ur(e, t) {
|
|
|
4896
4896
|
},
|
|
4897
4897
|
m(b, g) {
|
|
4898
4898
|
I(b, r, g), h.m(r, null), w(r, n), c && c.m(r, null), w(r, i), s || (a = [
|
|
4899
|
-
q(r, "click",
|
|
4899
|
+
q(r, "click", p),
|
|
4900
4900
|
q(r, "keydown", m)
|
|
4901
4901
|
], s = !0);
|
|
4902
4902
|
},
|
|
4903
4903
|
p(b, g) {
|
|
4904
4904
|
var y, x;
|
|
4905
|
-
t = b,
|
|
4905
|
+
t = b, u === (u = l(t)) && h ? h.p(t, g) : (h.d(1), h = u(t), h && (h.c(), h.m(r, n))), /*itemsActive*/
|
|
4906
4906
|
t[11][
|
|
4907
4907
|
/*index*/
|
|
4908
4908
|
t[56]
|
|
@@ -4917,7 +4917,7 @@ function ur(e, t) {
|
|
|
4917
4917
|
t[1] == /*category*/
|
|
4918
4918
|
t[54].id ? "active" : ""
|
|
4919
4919
|
)) + " " + /*location*/
|
|
4920
|
-
(t[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
|
4920
|
+
(t[0] == "headerMain" ? "" : "SecondaryMenu")) && d(r, "class", o);
|
|
4921
4921
|
},
|
|
4922
4922
|
d(b) {
|
|
4923
4923
|
b && T(r), h.d(), c && c.d(), s = !1, z(a);
|
|
@@ -4925,20 +4925,20 @@ function ur(e, t) {
|
|
|
4925
4925
|
};
|
|
4926
4926
|
}
|
|
4927
4927
|
function Jo(e) {
|
|
4928
|
-
let t, r, n, i, o, s, a,
|
|
4928
|
+
let t, r, n, i, o, s, a, l, u, h, c, p, m, b, g, y = (
|
|
4929
4929
|
/*sliderdata*/
|
|
4930
4930
|
e[9].length > 0 && Kt(e)
|
|
4931
4931
|
);
|
|
4932
4932
|
return {
|
|
4933
4933
|
c() {
|
|
4934
|
-
t = B("div"), r = B("div"), n = B("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="3" d="M15 19l-7-7 7-7"></path></svg>', i = V(), o = B("div"), s = B("ul"), a = B("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>',
|
|
4935
|
-
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
|
4936
|
-
e[0] === "headerMain" ? "max-width: auto" : void 0),
|
|
4934
|
+
t = B("div"), r = B("div"), n = B("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="3" d="M15 19l-7-7 7-7"></path></svg>', i = V(), o = B("div"), s = B("ul"), a = B("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', l = V(), y && y.c(), u = V(), h = B("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="3" d="M9 5l7 7-7 7"></path></svg>', d(n, "class", "CarouselLeftArrow"), d(a, "class", "TouchOnly"), d(s, "id", "CarouselNav"), d(s, "class", "CarouselItems"), d(o, "class", "CarouselNavWrap"), d(h, "class", "CarouselRightArrow"), d(r, "class", c = `CarouselContainer CarouselContainerMobile ${/*location*/
|
|
4935
|
+
e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), d(r, "style", p = /*location*/
|
|
4936
|
+
e[0] === "headerMain" ? "max-width: auto" : void 0), d(t, "class", m = "CarouselWrapper " + /*location*/
|
|
4937
4937
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " " + /*isMobile*/
|
|
4938
4938
|
(e[13] ? "CarouselWrapperMobile" : ""));
|
|
4939
4939
|
},
|
|
4940
4940
|
m(x, M) {
|
|
4941
|
-
I(x, t, M), w(t, r), w(r, n), w(r, i), w(r, o), w(o, s), w(s, a), w(s,
|
|
4941
|
+
I(x, t, M), w(t, r), w(r, n), w(r, i), w(r, o), w(o, s), w(s, a), w(s, l), y && y.m(s, null), e[37](s), e[38](o), w(r, u), w(r, h), e[41](t), b || (g = [
|
|
4942
4942
|
q(
|
|
4943
4943
|
n,
|
|
4944
4944
|
"click",
|
|
@@ -4969,12 +4969,12 @@ function Jo(e) {
|
|
|
4969
4969
|
/*sliderdata*/
|
|
4970
4970
|
x[9].length > 0 ? y ? y.p(x, M) : (y = Kt(x), y.c(), y.m(s, null)) : y && (y.d(1), y = null), M[0] & /*location*/
|
|
4971
4971
|
1 && c !== (c = `CarouselContainer CarouselContainerMobile ${/*location*/
|
|
4972
|
-
x[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) &&
|
|
4973
|
-
1 &&
|
|
4974
|
-
x[0] === "headerMain" ? "max-width: auto" : void 0) &&
|
|
4972
|
+
x[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && d(r, "class", c), M[0] & /*location*/
|
|
4973
|
+
1 && p !== (p = /*location*/
|
|
4974
|
+
x[0] === "headerMain" ? "max-width: auto" : void 0) && d(r, "style", p), M[0] & /*location*/
|
|
4975
4975
|
1 && m !== (m = "CarouselWrapper " + /*location*/
|
|
4976
4976
|
(x[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " " + /*isMobile*/
|
|
4977
|
-
(x[13] ? "CarouselWrapperMobile" : "")) &&
|
|
4977
|
+
(x[13] ? "CarouselWrapperMobile" : "")) && d(t, "class", m);
|
|
4978
4978
|
},
|
|
4979
4979
|
i: D,
|
|
4980
4980
|
o: D,
|
|
@@ -4984,10 +4984,10 @@ function Jo(e) {
|
|
|
4984
4984
|
};
|
|
4985
4985
|
}
|
|
4986
4986
|
function Ko(e, t, r) {
|
|
4987
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location:
|
|
4987
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { identity: c = "" } = t, { translationurl: p = "" } = t, { isprimarymenu: m = !1 } = t, { issecondarymenu: b = !1 } = t, { lang: g = "" } = t, { activeindex: y = "0" } = t, { showsubgroups: x = "false" } = t, { categoriesicon: M = "false" } = t, { lobbyiconimage: L = "" } = t, { mygamesiconimage: G = "" } = t;
|
|
4988
4988
|
Uo({ withLocale: "en", translations: {} });
|
|
4989
4989
|
const k = () => {
|
|
4990
|
-
fetch(
|
|
4990
|
+
fetch(p).then((C) => C.json()).then((C) => {
|
|
4991
4991
|
Object.keys(C).forEach((S) => {
|
|
4992
4992
|
zt(S, C[S]);
|
|
4993
4993
|
});
|
|
@@ -5039,7 +5039,7 @@ function Ko(e, t, r) {
|
|
|
5039
5039
|
}, Wr = () => {
|
|
5040
5040
|
Go(g);
|
|
5041
5041
|
}, Xr = (f, C, S) => {
|
|
5042
|
-
if (
|
|
5042
|
+
if (l == "secondaryMenu" && n && i && g && f.id) {
|
|
5043
5043
|
let X = new URL(`${n}/v1/casino/groups/${i}/${f.id}/subGroups?language=${g}`);
|
|
5044
5044
|
fetch(X.href).then((F) => F.json()).then((F) => {
|
|
5045
5045
|
F.index = C, r(10, Te = Te.concat(F)), x == "false" && window.postMessage(
|
|
@@ -5052,14 +5052,14 @@ function Ko(e, t, r) {
|
|
|
5052
5052
|
window.location.href
|
|
5053
5053
|
);
|
|
5054
5054
|
const re = [];
|
|
5055
|
-
Te.map((
|
|
5056
|
-
re.find((
|
|
5055
|
+
Te.map((ln) => (ln.items.forEach((Et) => {
|
|
5056
|
+
re.find((un) => Et.id == un) || re.push(Et.id);
|
|
5057
5057
|
}), re.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: re }, window.location.href);
|
|
5058
5058
|
}).then(() => {
|
|
5059
5059
|
O.querySelectorAll(".DropDown") && Ie();
|
|
5060
5060
|
});
|
|
5061
5061
|
}
|
|
5062
|
-
|
|
5062
|
+
l == "headerMain" && window.postMessage({ type: s, item: f }, window.location.href);
|
|
5063
5063
|
}, Ie = () => {
|
|
5064
5064
|
const f = O.querySelectorAll(".DropDown");
|
|
5065
5065
|
document.activeElement.blur(), W.classList.add("isScrolling");
|
|
@@ -5073,7 +5073,7 @@ function Ko(e, t, r) {
|
|
|
5073
5073
|
});
|
|
5074
5074
|
}, zr = () => {
|
|
5075
5075
|
let f = document.createElement("style");
|
|
5076
|
-
f.innerHTML =
|
|
5076
|
+
f.innerHTML = u, te.appendChild(f);
|
|
5077
5077
|
}, Qr = () => {
|
|
5078
5078
|
let f = document.createElement("style"), C = new URL(h);
|
|
5079
5079
|
fetch(C.href).then((S) => S.text()).then((S) => {
|
|
@@ -5123,16 +5123,16 @@ function Ko(e, t, r) {
|
|
|
5123
5123
|
});
|
|
5124
5124
|
}
|
|
5125
5125
|
return e.$$set = (f) => {
|
|
5126
|
-
"endpoint" in f && r(17, n = f.endpoint), "datasource" in f && r(18, i = f.datasource), "onclickeventname" in f && r(19, o = f.onclickeventname), "actionevent" in f && r(20, s = f.actionevent), "favoritesnumber" in f && r(21, a = f.favoritesnumber), "location" in f && r(0,
|
|
5126
|
+
"endpoint" in f && r(17, n = f.endpoint), "datasource" in f && r(18, i = f.datasource), "onclickeventname" in f && r(19, o = f.onclickeventname), "actionevent" in f && r(20, s = f.actionevent), "favoritesnumber" in f && r(21, a = f.favoritesnumber), "location" in f && r(0, l = f.location), "clientstyling" in f && r(22, u = f.clientstyling), "clientstylingurl" in f && r(23, h = f.clientstylingurl), "identity" in f && r(24, c = f.identity), "translationurl" in f && r(25, p = f.translationurl), "isprimarymenu" in f && r(26, m = f.isprimarymenu), "issecondarymenu" in f && r(27, b = f.issecondarymenu), "lang" in f && r(28, g = f.lang), "activeindex" in f && r(1, y = f.activeindex), "showsubgroups" in f && r(2, x = f.showsubgroups), "categoriesicon" in f && r(3, M = f.categoriesicon), "lobbyiconimage" in f && r(29, L = f.lobbyiconimage), "mygamesiconimage" in f && r(30, G = f.mygamesiconimage);
|
|
5127
5127
|
}, e.$$.update = () => {
|
|
5128
5128
|
e.$$.dirty[0] & /*activeindex*/
|
|
5129
5129
|
2, e.$$.dirty[0] & /*translationurl*/
|
|
5130
|
-
33554432 &&
|
|
5131
|
-
4194320 &&
|
|
5130
|
+
33554432 && p && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5131
|
+
4194320 && u && te && zr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5132
5132
|
8388624 && h && te && Qr(), e.$$.dirty[0] & /*lang*/
|
|
5133
5133
|
268435456 && g && Wr();
|
|
5134
5134
|
}, [
|
|
5135
|
-
|
|
5135
|
+
l,
|
|
5136
5136
|
y,
|
|
5137
5137
|
x,
|
|
5138
5138
|
M,
|
|
@@ -5154,10 +5154,10 @@ function Ko(e, t, r) {
|
|
|
5154
5154
|
o,
|
|
5155
5155
|
s,
|
|
5156
5156
|
a,
|
|
5157
|
-
|
|
5157
|
+
u,
|
|
5158
5158
|
h,
|
|
5159
5159
|
c,
|
|
5160
|
-
|
|
5160
|
+
p,
|
|
5161
5161
|
m,
|
|
5162
5162
|
b,
|
|
5163
5163
|
g,
|