@everymatrix/casino-categories-slider 1.57.0 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesSlider-BqLThLVf.js → CasinoCategoriesSlider-BW36-fY0.js} +537 -559
- package/components/{CasinoCategoriesSlider-BqvBYmnN.js → CasinoCategoriesSlider-DhzUR-1s.js} +602 -624
- package/components/CasinoCategoriesSlider-QpTbNz2A.cjs +18 -0
- package/components/{CasinoSlider-BBYyrb_2.cjs → CasinoSlider-Bxf7zSSP.cjs} +1 -1
- package/components/{CasinoSlider-F9zfPd1C.js → CasinoSlider-DV67oXxe.js} +34 -34
- package/components/{CasinoSlider-DUHx05Lk.js → CasinoSlider-muAMfXR5.js} +32 -32
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSlider-sdcky7us.cjs +0 -18
package/components/{CasinoCategoriesSlider-BqLThLVf.js → CasinoCategoriesSlider-BW36-fY0.js}
RENAMED
@@ -1,28 +1,28 @@
|
|
1
1
|
function P() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Ct(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function lt() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
9
|
function re(e) {
|
10
|
-
e.forEach(
|
10
|
+
e.forEach(Ct);
|
11
11
|
}
|
12
12
|
function Te(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function Mt(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
18
|
let pe;
|
19
|
-
function
|
19
|
+
function cs(e, t) {
|
20
20
|
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
21
21
|
}
|
22
|
-
function
|
22
|
+
function Br(e) {
|
23
23
|
return Object.keys(e).length === 0;
|
24
24
|
}
|
25
|
-
function
|
25
|
+
function Rt(e, ...t) {
|
26
26
|
if (e == null) {
|
27
27
|
for (const n of t)
|
28
28
|
n(void 0);
|
@@ -31,23 +31,23 @@ function Ft(e, ...t) {
|
|
31
31
|
const r = e.subscribe(...t);
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
33
33
|
}
|
34
|
-
function
|
35
|
-
e.$$.on_destroy.push(
|
34
|
+
function Pr(e, t, r) {
|
35
|
+
e.$$.on_destroy.push(Rt(t, r));
|
36
36
|
}
|
37
|
-
function
|
37
|
+
function Nr(e) {
|
38
38
|
return e && Te(e.destroy) ? e.destroy : P;
|
39
39
|
}
|
40
|
-
function
|
40
|
+
function Gt(e, t) {
|
41
41
|
e.appendChild(t);
|
42
42
|
}
|
43
|
-
function
|
44
|
-
const n =
|
43
|
+
function Or(e, t, r) {
|
44
|
+
const n = Lr(e);
|
45
45
|
if (!n.getElementById(t)) {
|
46
46
|
const i = k("style");
|
47
|
-
i.id = t, i.textContent = r,
|
47
|
+
i.id = t, i.textContent = r, Ir(n, i);
|
48
48
|
}
|
49
49
|
}
|
50
|
-
function
|
50
|
+
function Lr(e) {
|
51
51
|
if (!e)
|
52
52
|
return document;
|
53
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -57,8 +57,8 @@ function Gr(e) {
|
|
57
57
|
t
|
58
58
|
) : e.ownerDocument;
|
59
59
|
}
|
60
|
-
function
|
61
|
-
return
|
60
|
+
function Ir(e, t) {
|
61
|
+
return Gt(
|
62
62
|
/** @type {Document} */
|
63
63
|
e.head || e,
|
64
64
|
t
|
@@ -70,23 +70,23 @@ function ce(e, t, r) {
|
|
70
70
|
function ne(e) {
|
71
71
|
e.parentNode && e.parentNode.removeChild(e);
|
72
72
|
}
|
73
|
-
function
|
73
|
+
function fs(e, t) {
|
74
74
|
for (let r = 0; r < e.length; r += 1)
|
75
75
|
e[r] && e[r].d(t);
|
76
76
|
}
|
77
77
|
function k(e) {
|
78
78
|
return document.createElement(e);
|
79
79
|
}
|
80
|
-
function
|
80
|
+
function Ut(e) {
|
81
81
|
return document.createTextNode(e);
|
82
82
|
}
|
83
|
-
function
|
84
|
-
return
|
83
|
+
function ms() {
|
84
|
+
return Ut(" ");
|
85
85
|
}
|
86
|
-
function
|
87
|
-
return
|
86
|
+
function ds() {
|
87
|
+
return Ut("");
|
88
88
|
}
|
89
|
-
function
|
89
|
+
function bs(e, t, r, n) {
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
91
91
|
}
|
92
92
|
function fe(e, t, r) {
|
@@ -96,14 +96,14 @@ function _(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
97
97
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : fe(e, t, r);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function Cr(e) {
|
100
100
|
return Array.from(e.childNodes);
|
101
101
|
}
|
102
|
-
function
|
102
|
+
function ps(e, t) {
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
104
104
|
t);
|
105
105
|
}
|
106
|
-
function
|
106
|
+
function Mr(e) {
|
107
107
|
const t = {};
|
108
108
|
return e.childNodes.forEach(
|
109
109
|
/** @param {Element} node */
|
@@ -116,25 +116,25 @@ let ue;
|
|
116
116
|
function ae(e) {
|
117
117
|
ue = e;
|
118
118
|
}
|
119
|
-
function
|
119
|
+
function Rr() {
|
120
120
|
if (!ue)
|
121
121
|
throw new Error("Function called outside component initialization");
|
122
122
|
return ue;
|
123
123
|
}
|
124
|
-
function
|
125
|
-
|
124
|
+
function Gr(e) {
|
125
|
+
Rr().$$.on_mount.push(e);
|
126
126
|
}
|
127
|
-
const Q = [],
|
127
|
+
const Q = [], $e = [];
|
128
128
|
let Y = [];
|
129
|
-
const
|
130
|
-
let
|
131
|
-
function
|
132
|
-
|
129
|
+
const ct = [], Dt = /* @__PURE__ */ Promise.resolve();
|
130
|
+
let je = !1;
|
131
|
+
function Ft() {
|
132
|
+
je || (je = !0, Dt.then(S));
|
133
133
|
}
|
134
|
-
function
|
135
|
-
return
|
134
|
+
function Ur() {
|
135
|
+
return Ft(), Dt;
|
136
136
|
}
|
137
|
-
function
|
137
|
+
function ke(e) {
|
138
138
|
Y.push(e);
|
139
139
|
}
|
140
140
|
const Ce = /* @__PURE__ */ new Set();
|
@@ -147,45 +147,45 @@ function S() {
|
|
147
147
|
try {
|
148
148
|
for (; z < Q.length; ) {
|
149
149
|
const t = Q[z];
|
150
|
-
z++, ae(t),
|
150
|
+
z++, ae(t), Dr(t.$$);
|
151
151
|
}
|
152
152
|
} catch (t) {
|
153
153
|
throw Q.length = 0, z = 0, t;
|
154
154
|
}
|
155
|
-
for (ae(null), Q.length = 0, z = 0;
|
156
|
-
|
155
|
+
for (ae(null), Q.length = 0, z = 0; $e.length; )
|
156
|
+
$e.pop()();
|
157
157
|
for (let t = 0; t < Y.length; t += 1) {
|
158
158
|
const r = Y[t];
|
159
159
|
Ce.has(r) || (Ce.add(r), r());
|
160
160
|
}
|
161
161
|
Y.length = 0;
|
162
162
|
} while (Q.length);
|
163
|
-
for (;
|
164
|
-
|
165
|
-
|
163
|
+
for (; ct.length; )
|
164
|
+
ct.pop()();
|
165
|
+
je = !1, Ce.clear(), ae(e);
|
166
166
|
}
|
167
|
-
function
|
167
|
+
function Dr(e) {
|
168
168
|
if (e.fragment !== null) {
|
169
169
|
e.update(), re(e.before_update);
|
170
170
|
const t = e.dirty;
|
171
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
171
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
|
172
172
|
}
|
173
173
|
}
|
174
|
-
function
|
174
|
+
function Fr(e) {
|
175
175
|
const t = [], r = [];
|
176
176
|
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
177
177
|
}
|
178
|
-
const
|
179
|
-
function
|
180
|
-
e && e.i && (
|
178
|
+
const $r = /* @__PURE__ */ new Set();
|
179
|
+
function $t(e, t) {
|
180
|
+
e && e.i && ($r.delete(e), e.i(t));
|
181
181
|
}
|
182
|
-
function
|
182
|
+
function gs(e) {
|
183
183
|
return e?.length !== void 0 ? e : Array.from(e);
|
184
184
|
}
|
185
|
-
function
|
185
|
+
function ys(e, t) {
|
186
186
|
e.d(1), t.delete(e.key);
|
187
187
|
}
|
188
|
-
function
|
188
|
+
function vs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
189
189
|
let c = e.length, d = s.length, b = c;
|
190
190
|
const y = {};
|
191
191
|
for (; b--; )
|
@@ -198,7 +198,7 @@ function Ss(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
198
198
|
}
|
199
199
|
const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
200
200
|
function M(E) {
|
201
|
-
|
201
|
+
$t(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
|
202
202
|
}
|
203
203
|
for (; c && d; ) {
|
204
204
|
const E = T[d - 1], A = e[c - 1], I = E.key, F = A.key;
|
@@ -212,21 +212,21 @@ function Ss(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
212
212
|
M(T[d - 1]);
|
213
213
|
return re(w), T;
|
214
214
|
}
|
215
|
-
function
|
215
|
+
function jr(e, t, r) {
|
216
216
|
const { fragment: n, after_update: i } = e.$$;
|
217
|
-
n && n.m(t, r),
|
218
|
-
const s = e.$$.on_mount.map(
|
217
|
+
n && n.m(t, r), ke(() => {
|
218
|
+
const s = e.$$.on_mount.map(Ct).filter(Te);
|
219
219
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
220
|
-
}), i.forEach(
|
220
|
+
}), i.forEach(ke);
|
221
221
|
}
|
222
|
-
function
|
222
|
+
function kr(e, t) {
|
223
223
|
const r = e.$$;
|
224
|
-
r.fragment !== null && (
|
224
|
+
r.fragment !== null && (Fr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
225
225
|
}
|
226
|
-
function
|
227
|
-
e.$$.dirty[0] === -1 && (Q.push(e),
|
226
|
+
function Vr(e, t) {
|
227
|
+
e.$$.dirty[0] === -1 && (Q.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
228
228
|
}
|
229
|
-
function
|
229
|
+
function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
|
230
230
|
const h = ue;
|
231
231
|
ae(e);
|
232
232
|
const u = e.$$ = {
|
@@ -236,7 +236,7 @@ function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
236
236
|
props: s,
|
237
237
|
update: P,
|
238
238
|
not_equal: i,
|
239
|
-
bound:
|
239
|
+
bound: lt(),
|
240
240
|
// lifecycle
|
241
241
|
on_mount: [],
|
242
242
|
on_destroy: [],
|
@@ -245,7 +245,7 @@ function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
245
245
|
after_update: [],
|
246
246
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
247
247
|
// everything else
|
248
|
-
callbacks:
|
248
|
+
callbacks: lt(),
|
249
249
|
dirty: a,
|
250
250
|
skip_bound: !1,
|
251
251
|
root: t.target || h.$$.root
|
@@ -254,19 +254,19 @@ function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
254
254
|
let l = !1;
|
255
255
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
256
256
|
const b = d.length ? d[0] : c;
|
257
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
257
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Vr(e, m)), c;
|
258
258
|
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
259
259
|
if (t.hydrate) {
|
260
|
-
const m =
|
260
|
+
const m = Cr(t.target);
|
261
261
|
u.fragment && u.fragment.l(m), m.forEach(ne);
|
262
262
|
} else
|
263
263
|
u.fragment && u.fragment.c();
|
264
|
-
t.intro &&
|
264
|
+
t.intro && $t(e.$$.fragment), jr(e, t.target, t.anchor), S();
|
265
265
|
}
|
266
266
|
ae(h);
|
267
267
|
}
|
268
|
-
let
|
269
|
-
typeof HTMLElement == "function" && (
|
268
|
+
let jt;
|
269
|
+
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
270
270
|
/** The Svelte component constructor */
|
271
271
|
$$ctor;
|
272
272
|
/** Slots */
|
@@ -325,7 +325,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
325
325
|
};
|
326
326
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
327
327
|
return;
|
328
|
-
const t = {}, r =
|
328
|
+
const t = {}, r = Mr(this);
|
329
329
|
for (const i of this.$$s)
|
330
330
|
i in r && (t[i] = [e(i)]);
|
331
331
|
for (const i of this.attributes) {
|
@@ -412,8 +412,8 @@ function ve(e, t, r, n) {
|
|
412
412
|
return t;
|
413
413
|
}
|
414
414
|
}
|
415
|
-
function
|
416
|
-
let o = class extends
|
415
|
+
function Wr(e, t, r, n, i, s) {
|
416
|
+
let o = class extends jt {
|
417
417
|
constructor() {
|
418
418
|
super(e, r, i), this.$$p_d = t;
|
419
419
|
}
|
@@ -441,7 +441,7 @@ function qr(e, t, r, n, i, s) {
|
|
441
441
|
}), e.element = /** @type {any} */
|
442
442
|
o, o;
|
443
443
|
}
|
444
|
-
class
|
444
|
+
class zr {
|
445
445
|
/**
|
446
446
|
* ### PRIVATE API
|
447
447
|
*
|
@@ -460,7 +460,7 @@ class Jr {
|
|
460
460
|
$$set = void 0;
|
461
461
|
/** @returns {void} */
|
462
462
|
$destroy() {
|
463
|
-
|
463
|
+
kr(this, 1), this.$destroy = P;
|
464
464
|
}
|
465
465
|
/**
|
466
466
|
* @template {Extract<keyof Events, string>} K
|
@@ -482,11 +482,11 @@ class Jr {
|
|
482
482
|
* @returns {void}
|
483
483
|
*/
|
484
484
|
$set(t) {
|
485
|
-
this.$$set && !
|
485
|
+
this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
486
486
|
}
|
487
487
|
}
|
488
|
-
const
|
489
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
488
|
+
const Zr = "4";
|
489
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
|
490
490
|
/*! *****************************************************************************
|
491
491
|
Copyright (c) Microsoft Corporation.
|
492
492
|
|
@@ -501,18 +501,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
501
501
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
502
502
|
PERFORMANCE OF THIS SOFTWARE.
|
503
503
|
***************************************************************************** */
|
504
|
-
var
|
505
|
-
return
|
504
|
+
var Ve = function(e, t) {
|
505
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
506
506
|
r.__proto__ = n;
|
507
507
|
} || function(r, n) {
|
508
508
|
for (var i in n)
|
509
509
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
510
|
-
},
|
510
|
+
}, Ve(e, t);
|
511
511
|
};
|
512
512
|
function U(e, t) {
|
513
513
|
if (typeof t != "function" && t !== null)
|
514
514
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
515
|
-
|
515
|
+
Ve(e, t);
|
516
516
|
function r() {
|
517
517
|
this.constructor = e;
|
518
518
|
}
|
@@ -528,7 +528,7 @@ var v = function() {
|
|
528
528
|
return t;
|
529
529
|
}, v.apply(this, arguments);
|
530
530
|
};
|
531
|
-
function
|
531
|
+
function Qr(e, t) {
|
532
532
|
var r = {};
|
533
533
|
for (var n in e)
|
534
534
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -537,7 +537,7 @@ function en(e, t) {
|
|
537
537
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
538
538
|
return r;
|
539
539
|
}
|
540
|
-
function
|
540
|
+
function Xe(e) {
|
541
541
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
542
542
|
if (r)
|
543
543
|
return r.call(e);
|
@@ -549,7 +549,7 @@ function We(e) {
|
|
549
549
|
};
|
550
550
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
551
551
|
}
|
552
|
-
function
|
552
|
+
function We(e, t) {
|
553
553
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
554
554
|
if (!r)
|
555
555
|
return e;
|
@@ -578,13 +578,13 @@ function q(e, t, r) {
|
|
578
578
|
function G(e) {
|
579
579
|
return typeof e == "function";
|
580
580
|
}
|
581
|
-
function
|
581
|
+
function kt(e) {
|
582
582
|
var t = function(n) {
|
583
583
|
Error.call(n), n.stack = new Error().stack;
|
584
584
|
}, r = e(t);
|
585
585
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
586
586
|
}
|
587
|
-
var Me =
|
587
|
+
var Me = kt(function(e) {
|
588
588
|
return function(r) {
|
589
589
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
590
590
|
` + r.map(function(n, i) {
|
@@ -593,7 +593,7 @@ var Me = zt(function(e) {
|
|
593
593
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
594
594
|
};
|
595
595
|
});
|
596
|
-
function
|
596
|
+
function ze(e, t) {
|
597
597
|
if (e) {
|
598
598
|
var r = e.indexOf(t);
|
599
599
|
0 <= r && e.splice(r, 1);
|
@@ -611,7 +611,7 @@ var He = function() {
|
|
611
611
|
if (o)
|
612
612
|
if (this._parentage = null, Array.isArray(o))
|
613
613
|
try {
|
614
|
-
for (var a =
|
614
|
+
for (var a = Xe(o), h = a.next(); !h.done; h = a.next()) {
|
615
615
|
var u = h.value;
|
616
616
|
u.remove(this);
|
617
617
|
}
|
@@ -638,12 +638,12 @@ var He = function() {
|
|
638
638
|
if (m) {
|
639
639
|
this._finalizers = null;
|
640
640
|
try {
|
641
|
-
for (var c =
|
641
|
+
for (var c = Xe(m), d = c.next(); !d.done; d = c.next()) {
|
642
642
|
var b = d.value;
|
643
643
|
try {
|
644
|
-
|
644
|
+
ft(b);
|
645
645
|
} catch (y) {
|
646
|
-
s = s ?? [], y instanceof Me ? s = q(q([],
|
646
|
+
s = s ?? [], y instanceof Me ? s = q(q([], We(s)), We(y.errors)) : s.push(y);
|
647
647
|
}
|
648
648
|
}
|
649
649
|
} catch (y) {
|
@@ -664,7 +664,7 @@ var He = function() {
|
|
664
664
|
var r;
|
665
665
|
if (t && t !== this)
|
666
666
|
if (this.closed)
|
667
|
-
|
667
|
+
ft(t);
|
668
668
|
else {
|
669
669
|
if (t instanceof e) {
|
670
670
|
if (t.closed || t._hasParent(this))
|
@@ -681,56 +681,52 @@ var He = function() {
|
|
681
681
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
682
682
|
}, e.prototype._removeParent = function(t) {
|
683
683
|
var r = this._parentage;
|
684
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
684
|
+
r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
|
685
685
|
}, e.prototype.remove = function(t) {
|
686
686
|
var r = this._finalizers;
|
687
|
-
r &&
|
687
|
+
r && ze(r, t), t instanceof e && t._removeParent(this);
|
688
688
|
}, e.EMPTY = function() {
|
689
689
|
var t = new e();
|
690
690
|
return t.closed = !0, t;
|
691
691
|
}(), e;
|
692
|
-
}(),
|
693
|
-
function
|
692
|
+
}(), Vt = He.EMPTY;
|
693
|
+
function Xt(e) {
|
694
694
|
return e instanceof He || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
695
695
|
}
|
696
|
-
function
|
696
|
+
function ft(e) {
|
697
697
|
G(e) ? e() : e.unsubscribe();
|
698
698
|
}
|
699
|
-
var
|
700
|
-
|
701
|
-
|
702
|
-
Promise: void 0,
|
703
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
704
|
-
useDeprecatedNextContext: !1
|
705
|
-
}, tn = {
|
699
|
+
var Yr = {
|
700
|
+
Promise: void 0
|
701
|
+
}, qr = {
|
706
702
|
setTimeout: function(e, t) {
|
707
703
|
for (var r = [], n = 2; n < arguments.length; n++)
|
708
704
|
r[n - 2] = arguments[n];
|
709
|
-
return setTimeout.apply(void 0, q([e, t],
|
705
|
+
return setTimeout.apply(void 0, q([e, t], We(r)));
|
710
706
|
},
|
711
707
|
clearTimeout: function(e) {
|
712
708
|
return clearTimeout(e);
|
713
709
|
},
|
714
710
|
delegate: void 0
|
715
711
|
};
|
716
|
-
function
|
717
|
-
|
712
|
+
function Jr(e) {
|
713
|
+
qr.setTimeout(function() {
|
718
714
|
throw e;
|
719
715
|
});
|
720
716
|
}
|
721
|
-
function
|
717
|
+
function mt() {
|
722
718
|
}
|
723
719
|
function _e(e) {
|
724
720
|
e();
|
725
721
|
}
|
726
|
-
var
|
722
|
+
var Wt = function(e) {
|
727
723
|
U(t, e);
|
728
724
|
function t(r) {
|
729
725
|
var n = e.call(this) || this;
|
730
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
726
|
+
return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = tn, n;
|
731
727
|
}
|
732
728
|
return t.create = function(r, n, i) {
|
733
|
-
return new
|
729
|
+
return new Ze(r, n, i);
|
734
730
|
}, t.prototype.next = function(r) {
|
735
731
|
this.isStopped || this._next(r);
|
736
732
|
}, t.prototype.error = function(r) {
|
@@ -754,11 +750,7 @@ var qt = function(e) {
|
|
754
750
|
this.unsubscribe();
|
755
751
|
}
|
756
752
|
}, t;
|
757
|
-
}(He),
|
758
|
-
function Re(e, t) {
|
759
|
-
return nn.call(e, t);
|
760
|
-
}
|
761
|
-
var sn = function() {
|
753
|
+
}(He), Kr = function() {
|
762
754
|
function e(t) {
|
763
755
|
this.partialObserver = t;
|
764
756
|
}
|
@@ -789,55 +781,43 @@ var sn = function() {
|
|
789
781
|
ge(r);
|
790
782
|
}
|
791
783
|
}, e;
|
792
|
-
}(),
|
784
|
+
}(), Ze = function(e) {
|
793
785
|
U(t, e);
|
794
786
|
function t(r, n, i) {
|
795
787
|
var s = e.call(this) || this, o;
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
};
|
802
|
-
else {
|
803
|
-
var a;
|
804
|
-
s && Yt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
805
|
-
return s.unsubscribe();
|
806
|
-
}, o = {
|
807
|
-
next: r.next && Re(r.next, a),
|
808
|
-
error: r.error && Re(r.error, a),
|
809
|
-
complete: r.complete && Re(r.complete, a)
|
810
|
-
}) : o = r;
|
811
|
-
}
|
812
|
-
return s.destination = new sn(o), s;
|
788
|
+
return G(r) || !r ? o = {
|
789
|
+
next: r ?? void 0,
|
790
|
+
error: n ?? void 0,
|
791
|
+
complete: i ?? void 0
|
792
|
+
} : o = r, s.destination = new Kr(o), s;
|
813
793
|
}
|
814
794
|
return t;
|
815
|
-
}(
|
795
|
+
}(Wt);
|
816
796
|
function ge(e) {
|
817
|
-
|
797
|
+
Jr(e);
|
818
798
|
}
|
819
|
-
function
|
799
|
+
function en(e) {
|
820
800
|
throw e;
|
821
801
|
}
|
822
|
-
var
|
802
|
+
var tn = {
|
823
803
|
closed: !0,
|
824
|
-
next:
|
825
|
-
error:
|
826
|
-
complete:
|
827
|
-
},
|
804
|
+
next: mt,
|
805
|
+
error: en,
|
806
|
+
complete: mt
|
807
|
+
}, rn = function() {
|
828
808
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
829
809
|
}();
|
830
|
-
function
|
810
|
+
function nn(e) {
|
831
811
|
return e;
|
832
812
|
}
|
833
|
-
function
|
834
|
-
return e.length === 0 ?
|
813
|
+
function sn(e) {
|
814
|
+
return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
|
835
815
|
return e.reduce(function(n, i) {
|
836
816
|
return i(n);
|
837
817
|
}, r);
|
838
818
|
};
|
839
819
|
}
|
840
|
-
var
|
820
|
+
var dt = function() {
|
841
821
|
function e(t) {
|
842
822
|
t && (this._subscribe = t);
|
843
823
|
}
|
@@ -845,7 +825,7 @@ var yt = function() {
|
|
845
825
|
var r = new e();
|
846
826
|
return r.source = this, r.operator = t, r;
|
847
827
|
}, e.prototype.subscribe = function(t, r, n) {
|
848
|
-
var i = this, s =
|
828
|
+
var i = this, s = an(t) ? t : new Ze(t, r, n);
|
849
829
|
return _e(function() {
|
850
830
|
var o = i, a = o.operator, h = o.source;
|
851
831
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
@@ -858,8 +838,8 @@ var yt = function() {
|
|
858
838
|
}
|
859
839
|
}, e.prototype.forEach = function(t, r) {
|
860
840
|
var n = this;
|
861
|
-
return r =
|
862
|
-
var o = new
|
841
|
+
return r = bt(r), new r(function(i, s) {
|
842
|
+
var o = new Ze({
|
863
843
|
next: function(a) {
|
864
844
|
try {
|
865
845
|
t(a);
|
@@ -875,15 +855,15 @@ var yt = function() {
|
|
875
855
|
}, e.prototype._subscribe = function(t) {
|
876
856
|
var r;
|
877
857
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
878
|
-
}, e.prototype[
|
858
|
+
}, e.prototype[rn] = function() {
|
879
859
|
return this;
|
880
860
|
}, e.prototype.pipe = function() {
|
881
861
|
for (var t = [], r = 0; r < arguments.length; r++)
|
882
862
|
t[r] = arguments[r];
|
883
|
-
return
|
863
|
+
return sn(t)(this);
|
884
864
|
}, e.prototype.toPromise = function(t) {
|
885
865
|
var r = this;
|
886
|
-
return t =
|
866
|
+
return t = bt(t), new t(function(n, i) {
|
887
867
|
var s;
|
888
868
|
r.subscribe(function(o) {
|
889
869
|
return s = o;
|
@@ -897,32 +877,32 @@ var yt = function() {
|
|
897
877
|
return new e(t);
|
898
878
|
}, e;
|
899
879
|
}();
|
900
|
-
function
|
880
|
+
function bt(e) {
|
901
881
|
var t;
|
902
|
-
return (t = e ??
|
882
|
+
return (t = e ?? Yr.Promise) !== null && t !== void 0 ? t : Promise;
|
903
883
|
}
|
904
|
-
function
|
884
|
+
function on(e) {
|
905
885
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
906
886
|
}
|
907
|
-
function
|
908
|
-
return e && e instanceof
|
887
|
+
function an(e) {
|
888
|
+
return e && e instanceof Wt || on(e) && Xt(e);
|
909
889
|
}
|
910
|
-
var
|
890
|
+
var un = kt(function(e) {
|
911
891
|
return function() {
|
912
892
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
913
893
|
};
|
914
|
-
}),
|
894
|
+
}), zt = function(e) {
|
915
895
|
U(t, e);
|
916
896
|
function t() {
|
917
897
|
var r = e.call(this) || this;
|
918
898
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
919
899
|
}
|
920
900
|
return t.prototype.lift = function(r) {
|
921
|
-
var n = new
|
901
|
+
var n = new pt(this, this);
|
922
902
|
return n.operator = r, n;
|
923
903
|
}, t.prototype._throwIfClosed = function() {
|
924
904
|
if (this.closed)
|
925
|
-
throw new
|
905
|
+
throw new un();
|
926
906
|
}, t.prototype.next = function(r) {
|
927
907
|
var n = this;
|
928
908
|
_e(function() {
|
@@ -930,7 +910,7 @@ var mn = zt(function(e) {
|
|
930
910
|
if (n._throwIfClosed(), !n.isStopped) {
|
931
911
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
932
912
|
try {
|
933
|
-
for (var o =
|
913
|
+
for (var o = Xe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
934
914
|
var h = a.value;
|
935
915
|
h.next(r);
|
936
916
|
}
|
@@ -979,19 +959,19 @@ var mn = zt(function(e) {
|
|
979
959
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
980
960
|
}, t.prototype._innerSubscribe = function(r) {
|
981
961
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
982
|
-
return s || o ?
|
983
|
-
n.currentObservers = null,
|
962
|
+
return s || o ? Vt : (this.currentObservers = null, a.push(r), new He(function() {
|
963
|
+
n.currentObservers = null, ze(a, r);
|
984
964
|
}));
|
985
965
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
986
966
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
987
967
|
i ? r.error(s) : o && r.complete();
|
988
968
|
}, t.prototype.asObservable = function() {
|
989
|
-
var r = new
|
969
|
+
var r = new dt();
|
990
970
|
return r.source = this, r;
|
991
971
|
}, t.create = function(r, n) {
|
992
|
-
return new
|
972
|
+
return new pt(r, n);
|
993
973
|
}, t;
|
994
|
-
}(
|
974
|
+
}(dt), pt = function(e) {
|
995
975
|
U(t, e);
|
996
976
|
function t(r, n) {
|
997
977
|
var i = e.call(this) || this;
|
@@ -1008,17 +988,17 @@ var mn = zt(function(e) {
|
|
1008
988
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1009
989
|
}, t.prototype._subscribe = function(r) {
|
1010
990
|
var n, i;
|
1011
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
991
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
|
1012
992
|
}, t;
|
1013
|
-
}(
|
993
|
+
}(zt), Zt = {
|
1014
994
|
now: function() {
|
1015
|
-
return (
|
995
|
+
return (Zt.delegate || Date).now();
|
1016
996
|
},
|
1017
997
|
delegate: void 0
|
1018
|
-
},
|
998
|
+
}, hn = function(e) {
|
1019
999
|
U(t, e);
|
1020
1000
|
function t(r, n, i) {
|
1021
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1001
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
|
1022
1002
|
var s = e.call(this) || this;
|
1023
1003
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
1024
1004
|
}
|
@@ -1038,15 +1018,15 @@ var mn = zt(function(e) {
|
|
1038
1018
|
u && s.splice(0, u + 1);
|
1039
1019
|
}
|
1040
1020
|
}, t;
|
1041
|
-
}(
|
1042
|
-
const
|
1043
|
-
if (
|
1044
|
-
const r = new
|
1045
|
-
|
1021
|
+
}(zt);
|
1022
|
+
const gt = [], yt = {}, ln = (e, t = 0) => {
|
1023
|
+
if (gt.indexOf(e) == -1) {
|
1024
|
+
const r = new hn(t);
|
1025
|
+
yt[e] = r, gt.push(e);
|
1046
1026
|
}
|
1047
|
-
return
|
1027
|
+
return yt[e];
|
1048
1028
|
}, Z = [];
|
1049
|
-
function
|
1029
|
+
function cn(e, t) {
|
1050
1030
|
return {
|
1051
1031
|
subscribe: Ae(e, t).subscribe
|
1052
1032
|
};
|
@@ -1055,7 +1035,7 @@ function Ae(e, t = P) {
|
|
1055
1035
|
let r;
|
1056
1036
|
const n = /* @__PURE__ */ new Set();
|
1057
1037
|
function i(a) {
|
1058
|
-
if (
|
1038
|
+
if (Mt(e, a) && (e = a, r)) {
|
1059
1039
|
const h = !Z.length;
|
1060
1040
|
for (const u of n)
|
1061
1041
|
u[1](), Z.push(u, e);
|
@@ -1082,7 +1062,7 @@ function ie(e, t, r) {
|
|
1082
1062
|
if (!i.every(Boolean))
|
1083
1063
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1084
1064
|
const s = t.length < 2;
|
1085
|
-
return
|
1065
|
+
return cn(r, (o, a) => {
|
1086
1066
|
let h = !1;
|
1087
1067
|
const u = [];
|
1088
1068
|
let l = 0, m = P;
|
@@ -1093,7 +1073,7 @@ function ie(e, t, r) {
|
|
1093
1073
|
const b = t(n ? u[0] : u, o, a);
|
1094
1074
|
s ? o(b) : m = Te(b) ? b : P;
|
1095
1075
|
}, d = i.map(
|
1096
|
-
(b, y) =>
|
1076
|
+
(b, y) => Rt(
|
1097
1077
|
b,
|
1098
1078
|
(T) => {
|
1099
1079
|
u[y] = T, l &= ~(1 << y), h && c();
|
@@ -1108,70 +1088,70 @@ function ie(e, t, r) {
|
|
1108
1088
|
};
|
1109
1089
|
});
|
1110
1090
|
}
|
1111
|
-
function
|
1091
|
+
function fn(e) {
|
1112
1092
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1113
1093
|
}
|
1114
|
-
var
|
1115
|
-
return
|
1094
|
+
var mn = function(t) {
|
1095
|
+
return dn(t) && !bn(t);
|
1116
1096
|
};
|
1117
|
-
function
|
1097
|
+
function dn(e) {
|
1118
1098
|
return !!e && typeof e == "object";
|
1119
1099
|
}
|
1120
|
-
function
|
1100
|
+
function bn(e) {
|
1121
1101
|
var t = Object.prototype.toString.call(e);
|
1122
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1102
|
+
return t === "[object RegExp]" || t === "[object Date]" || yn(e);
|
1123
1103
|
}
|
1124
|
-
var
|
1125
|
-
function
|
1126
|
-
return e.$$typeof ===
|
1104
|
+
var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
|
1105
|
+
function yn(e) {
|
1106
|
+
return e.$$typeof === gn;
|
1127
1107
|
}
|
1128
|
-
function
|
1108
|
+
function vn(e) {
|
1129
1109
|
return Array.isArray(e) ? [] : {};
|
1130
1110
|
}
|
1131
1111
|
function he(e, t) {
|
1132
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? J(
|
1112
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(vn(e), e, t) : e;
|
1133
1113
|
}
|
1134
|
-
function
|
1114
|
+
function _n(e, t, r) {
|
1135
1115
|
return e.concat(t).map(function(n) {
|
1136
1116
|
return he(n, r);
|
1137
1117
|
});
|
1138
1118
|
}
|
1139
|
-
function
|
1119
|
+
function En(e, t) {
|
1140
1120
|
if (!t.customMerge)
|
1141
1121
|
return J;
|
1142
1122
|
var r = t.customMerge(e);
|
1143
1123
|
return typeof r == "function" ? r : J;
|
1144
1124
|
}
|
1145
|
-
function
|
1125
|
+
function xn(e) {
|
1146
1126
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1147
1127
|
return Object.propertyIsEnumerable.call(e, t);
|
1148
1128
|
}) : [];
|
1149
1129
|
}
|
1150
|
-
function
|
1151
|
-
return Object.keys(e).concat(
|
1130
|
+
function vt(e) {
|
1131
|
+
return Object.keys(e).concat(xn(e));
|
1152
1132
|
}
|
1153
|
-
function
|
1133
|
+
function Qt(e, t) {
|
1154
1134
|
try {
|
1155
1135
|
return t in e;
|
1156
1136
|
} catch {
|
1157
1137
|
return !1;
|
1158
1138
|
}
|
1159
1139
|
}
|
1160
|
-
function
|
1161
|
-
return
|
1140
|
+
function Sn(e, t) {
|
1141
|
+
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1162
1142
|
}
|
1163
|
-
function
|
1143
|
+
function wn(e, t, r) {
|
1164
1144
|
var n = {};
|
1165
|
-
return r.isMergeableObject(e) &&
|
1145
|
+
return r.isMergeableObject(e) && vt(e).forEach(function(i) {
|
1166
1146
|
n[i] = he(e[i], r);
|
1167
|
-
}),
|
1168
|
-
|
1147
|
+
}), vt(t).forEach(function(i) {
|
1148
|
+
Sn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
|
1169
1149
|
}), n;
|
1170
1150
|
}
|
1171
1151
|
function J(e, t, r) {
|
1172
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1152
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = he;
|
1173
1153
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1174
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
1154
|
+
return s ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : he(t, r);
|
1175
1155
|
}
|
1176
1156
|
J.all = function(t, r) {
|
1177
1157
|
if (!Array.isArray(t))
|
@@ -1180,58 +1160,56 @@ J.all = function(t, r) {
|
|
1180
1160
|
return J(n, i, r);
|
1181
1161
|
}, {});
|
1182
1162
|
};
|
1183
|
-
var
|
1184
|
-
const
|
1185
|
-
function
|
1186
|
-
var r = t && t.cache ? t.cache :
|
1163
|
+
var Tn = J, Hn = Tn;
|
1164
|
+
const An = /* @__PURE__ */ fn(Hn);
|
1165
|
+
function Re(e, t) {
|
1166
|
+
var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Nn;
|
1187
1167
|
return i(e, {
|
1188
1168
|
cache: r,
|
1189
1169
|
serializer: n
|
1190
1170
|
});
|
1191
1171
|
}
|
1192
|
-
function
|
1172
|
+
function Bn(e) {
|
1193
1173
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1194
1174
|
}
|
1195
|
-
function
|
1196
|
-
var i =
|
1175
|
+
function Pn(e, t, r, n) {
|
1176
|
+
var i = Bn(n) ? n : r(n), s = t.get(i);
|
1197
1177
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
1198
1178
|
}
|
1199
|
-
function
|
1179
|
+
function Yt(e, t, r) {
|
1200
1180
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1201
1181
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
1202
1182
|
}
|
1203
|
-
function
|
1183
|
+
function qt(e, t, r, n, i) {
|
1204
1184
|
return r.bind(t, e, n, i);
|
1205
1185
|
}
|
1206
|
-
function
|
1207
|
-
var r = e.length === 1 ?
|
1208
|
-
return
|
1209
|
-
}
|
1210
|
-
function Mn(e, t) {
|
1211
|
-
return st(e, this, rr, t.cache.create(), t.serializer);
|
1186
|
+
function Nn(e, t) {
|
1187
|
+
var r = e.length === 1 ? Pn : Yt;
|
1188
|
+
return qt(e, this, r, t.cache.create(), t.serializer);
|
1212
1189
|
}
|
1213
|
-
function
|
1214
|
-
return
|
1190
|
+
function On(e, t) {
|
1191
|
+
return qt(e, this, Yt, t.cache.create(), t.serializer);
|
1215
1192
|
}
|
1216
|
-
var
|
1193
|
+
var Ln = function() {
|
1217
1194
|
return JSON.stringify(arguments);
|
1218
|
-
}
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1195
|
+
}, In = (
|
1196
|
+
/** @class */
|
1197
|
+
function() {
|
1198
|
+
function e() {
|
1199
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
1200
|
+
}
|
1201
|
+
return e.prototype.get = function(t) {
|
1202
|
+
return this.cache[t];
|
1203
|
+
}, e.prototype.set = function(t, r) {
|
1204
|
+
this.cache[t] = r;
|
1205
|
+
}, e;
|
1206
|
+
}()
|
1207
|
+
), Cn = {
|
1229
1208
|
create: function() {
|
1230
|
-
return new
|
1209
|
+
return new In();
|
1231
1210
|
}
|
1232
|
-
},
|
1233
|
-
variadic:
|
1234
|
-
monadic: Rn
|
1211
|
+
}, Ge = {
|
1212
|
+
variadic: On
|
1235
1213
|
}, p;
|
1236
1214
|
(function(e) {
|
1237
1215
|
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";
|
@@ -1244,43 +1222,43 @@ var K;
|
|
1244
1222
|
(function(e) {
|
1245
1223
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1246
1224
|
})(K || (K = {}));
|
1247
|
-
function
|
1225
|
+
function _t(e) {
|
1248
1226
|
return e.type === x.literal;
|
1249
1227
|
}
|
1250
|
-
function
|
1228
|
+
function Mn(e) {
|
1251
1229
|
return e.type === x.argument;
|
1252
1230
|
}
|
1253
|
-
function
|
1231
|
+
function Jt(e) {
|
1254
1232
|
return e.type === x.number;
|
1255
1233
|
}
|
1256
|
-
function
|
1234
|
+
function Kt(e) {
|
1257
1235
|
return e.type === x.date;
|
1258
1236
|
}
|
1259
|
-
function
|
1237
|
+
function er(e) {
|
1260
1238
|
return e.type === x.time;
|
1261
1239
|
}
|
1262
|
-
function
|
1240
|
+
function tr(e) {
|
1263
1241
|
return e.type === x.select;
|
1264
1242
|
}
|
1265
|
-
function
|
1243
|
+
function rr(e) {
|
1266
1244
|
return e.type === x.plural;
|
1267
1245
|
}
|
1268
|
-
function
|
1246
|
+
function Rn(e) {
|
1269
1247
|
return e.type === x.pound;
|
1270
1248
|
}
|
1271
|
-
function
|
1249
|
+
function nr(e) {
|
1272
1250
|
return e.type === x.tag;
|
1273
1251
|
}
|
1274
|
-
function
|
1252
|
+
function ir(e) {
|
1275
1253
|
return !!(e && typeof e == "object" && e.type === K.number);
|
1276
1254
|
}
|
1277
|
-
function
|
1255
|
+
function Qe(e) {
|
1278
1256
|
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
1279
1257
|
}
|
1280
|
-
var
|
1281
|
-
function
|
1258
|
+
var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
|
1259
|
+
function Un(e) {
|
1282
1260
|
var t = {};
|
1283
|
-
return e.replace(
|
1261
|
+
return e.replace(Gn, function(r) {
|
1284
1262
|
var n = r.length;
|
1285
1263
|
switch (r[0]) {
|
1286
1264
|
case "G":
|
@@ -1369,11 +1347,11 @@ function jn(e) {
|
|
1369
1347
|
return "";
|
1370
1348
|
}), t;
|
1371
1349
|
}
|
1372
|
-
var
|
1373
|
-
function
|
1350
|
+
var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1351
|
+
function Fn(e) {
|
1374
1352
|
if (e.length === 0)
|
1375
1353
|
throw new Error("Number skeleton cannot be empty");
|
1376
|
-
for (var t = e.split(
|
1354
|
+
for (var t = e.split(Dn).filter(function(c) {
|
1377
1355
|
return c.length > 0;
|
1378
1356
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1379
1357
|
var s = i[n], o = s.split("/");
|
@@ -1388,17 +1366,17 @@ function Vn(e) {
|
|
1388
1366
|
}
|
1389
1367
|
return r;
|
1390
1368
|
}
|
1391
|
-
function
|
1369
|
+
function $n(e) {
|
1392
1370
|
return e.replace(/^(.*?)-/, "");
|
1393
1371
|
}
|
1394
|
-
var
|
1395
|
-
function
|
1372
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
1373
|
+
function xt(e) {
|
1396
1374
|
var t = {};
|
1397
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1375
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
|
1398
1376
|
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)), "";
|
1399
1377
|
}), t;
|
1400
1378
|
}
|
1401
|
-
function
|
1379
|
+
function ur(e) {
|
1402
1380
|
switch (e) {
|
1403
1381
|
case "sign-auto":
|
1404
1382
|
return {
|
@@ -1438,7 +1416,7 @@ function mr(e) {
|
|
1438
1416
|
};
|
1439
1417
|
}
|
1440
1418
|
}
|
1441
|
-
function
|
1419
|
+
function kn(e) {
|
1442
1420
|
var t;
|
1443
1421
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1444
1422
|
notation: "engineering"
|
@@ -1446,17 +1424,17 @@ function zn(e) {
|
|
1446
1424
|
notation: "scientific"
|
1447
1425
|
}, e = e.slice(1)), t) {
|
1448
1426
|
var r = e.slice(0, 2);
|
1449
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1427
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
1450
1428
|
throw new Error("Malformed concise eng/scientific notation");
|
1451
1429
|
t.minimumIntegerDigits = e.length;
|
1452
1430
|
}
|
1453
1431
|
return t;
|
1454
1432
|
}
|
1455
|
-
function
|
1456
|
-
var t = {}, r =
|
1433
|
+
function St(e) {
|
1434
|
+
var t = {}, r = ur(e);
|
1457
1435
|
return r || t;
|
1458
1436
|
}
|
1459
|
-
function
|
1437
|
+
function Vn(e) {
|
1460
1438
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1461
1439
|
var i = n[r];
|
1462
1440
|
switch (i.stem) {
|
@@ -1480,7 +1458,7 @@ function Zn(e) {
|
|
1480
1458
|
continue;
|
1481
1459
|
case "measure-unit":
|
1482
1460
|
case "unit":
|
1483
|
-
t.style = "unit", t.unit =
|
1461
|
+
t.style = "unit", t.unit = $n(i.options[0]);
|
1484
1462
|
continue;
|
1485
1463
|
case "compact-short":
|
1486
1464
|
case "K":
|
@@ -1492,12 +1470,12 @@ function Zn(e) {
|
|
1492
1470
|
continue;
|
1493
1471
|
case "scientific":
|
1494
1472
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1495
|
-
return v(v({}, h),
|
1473
|
+
return v(v({}, h), St(u));
|
1496
1474
|
}, {}));
|
1497
1475
|
continue;
|
1498
1476
|
case "engineering":
|
1499
1477
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1500
|
-
return v(v({}, h),
|
1478
|
+
return v(v({}, h), St(u));
|
1501
1479
|
}, {}));
|
1502
1480
|
continue;
|
1503
1481
|
case "notation-simple":
|
@@ -1542,7 +1520,7 @@ function Zn(e) {
|
|
1542
1520
|
case "integer-width":
|
1543
1521
|
if (i.options.length > 1)
|
1544
1522
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1545
|
-
i.options[0].replace(
|
1523
|
+
i.options[0].replace(jn, function(h, u, l, m, c, d) {
|
1546
1524
|
if (u)
|
1547
1525
|
t.minimumIntegerDigits = l.length;
|
1548
1526
|
else {
|
@@ -1555,27 +1533,27 @@ function Zn(e) {
|
|
1555
1533
|
});
|
1556
1534
|
continue;
|
1557
1535
|
}
|
1558
|
-
if (
|
1536
|
+
if (ar.test(i.stem)) {
|
1559
1537
|
t.minimumIntegerDigits = i.stem.length;
|
1560
1538
|
continue;
|
1561
1539
|
}
|
1562
|
-
if (
|
1540
|
+
if (Et.test(i.stem)) {
|
1563
1541
|
if (i.options.length > 1)
|
1564
1542
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1565
|
-
i.stem.replace(
|
1543
|
+
i.stem.replace(Et, function(h, u, l, m, c, d) {
|
1566
1544
|
return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1567
1545
|
});
|
1568
1546
|
var s = i.options[0];
|
1569
|
-
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t),
|
1547
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), xt(s)));
|
1570
1548
|
continue;
|
1571
1549
|
}
|
1572
|
-
if (
|
1573
|
-
t = v(v({}, t),
|
1550
|
+
if (or.test(i.stem)) {
|
1551
|
+
t = v(v({}, t), xt(i.stem));
|
1574
1552
|
continue;
|
1575
1553
|
}
|
1576
|
-
var o =
|
1554
|
+
var o = ur(i.stem);
|
1577
1555
|
o && (t = v(v({}, t), o));
|
1578
|
-
var a =
|
1556
|
+
var a = kn(i.stem);
|
1579
1557
|
a && (t = v(v({}, t), a));
|
1580
1558
|
}
|
1581
1559
|
return t;
|
@@ -2995,13 +2973,13 @@ var ye = {
|
|
2995
2973
|
"h"
|
2996
2974
|
]
|
2997
2975
|
};
|
2998
|
-
function
|
2976
|
+
function Xn(e, t) {
|
2999
2977
|
for (var r = "", n = 0; n < e.length; n++) {
|
3000
2978
|
var i = e.charAt(n);
|
3001
2979
|
if (i === "j") {
|
3002
2980
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3003
2981
|
s++, n++;
|
3004
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
2982
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Wn(t);
|
3005
2983
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
3006
2984
|
r += h;
|
3007
2985
|
for (; o-- > 0; )
|
@@ -3011,7 +2989,7 @@ function Qn(e, t) {
|
|
3011
2989
|
}
|
3012
2990
|
return r;
|
3013
2991
|
}
|
3014
|
-
function
|
2992
|
+
function Wn(e) {
|
3015
2993
|
var t = e.hourCycle;
|
3016
2994
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3017
2995
|
e.hourCycles && // @ts-ignore
|
@@ -3033,20 +3011,20 @@ function Yn(e) {
|
|
3033
3011
|
var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
|
3034
3012
|
return i[0];
|
3035
3013
|
}
|
3036
|
-
var
|
3014
|
+
var Ue, zn = new RegExp("^".concat(sr.source, "*")), Zn = new RegExp("".concat(sr.source, "*$"));
|
3037
3015
|
function g(e, t) {
|
3038
3016
|
return { start: e, end: t };
|
3039
3017
|
}
|
3040
|
-
var
|
3018
|
+
var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
|
3041
3019
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3042
|
-
},
|
3020
|
+
}, Ye = !0;
|
3043
3021
|
try {
|
3044
|
-
var
|
3045
|
-
|
3022
|
+
var ni = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3023
|
+
Ye = ((Ue = ni.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
3046
3024
|
} catch {
|
3047
|
-
|
3025
|
+
Ye = !1;
|
3048
3026
|
}
|
3049
|
-
var
|
3027
|
+
var wt = Qn ? (
|
3050
3028
|
// Native
|
3051
3029
|
function(t, r, n) {
|
3052
3030
|
return t.startsWith(r, n);
|
@@ -3056,7 +3034,7 @@ var Bt = Kn ? (
|
|
3056
3034
|
function(t, r, n) {
|
3057
3035
|
return t.slice(n, n + r.length) === r;
|
3058
3036
|
}
|
3059
|
-
),
|
3037
|
+
), qe = Yn ? String.fromCodePoint : (
|
3060
3038
|
// IE11
|
3061
3039
|
function() {
|
3062
3040
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3068,9 +3046,9 @@ var Bt = Kn ? (
|
|
3068
3046
|
}
|
3069
3047
|
return n;
|
3070
3048
|
}
|
3071
|
-
),
|
3049
|
+
), Tt = (
|
3072
3050
|
// native
|
3073
|
-
|
3051
|
+
qn ? Object.fromEntries : (
|
3074
3052
|
// Ponyfill
|
3075
3053
|
function(t) {
|
3076
3054
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3080,7 +3058,7 @@ var Bt = Kn ? (
|
|
3080
3058
|
return r;
|
3081
3059
|
}
|
3082
3060
|
)
|
3083
|
-
),
|
3061
|
+
), hr = Jn ? (
|
3084
3062
|
// Native
|
3085
3063
|
function(t, r) {
|
3086
3064
|
return t.codePointAt(r);
|
@@ -3094,7 +3072,7 @@ var Bt = Kn ? (
|
|
3094
3072
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3095
3073
|
}
|
3096
3074
|
}
|
3097
|
-
),
|
3075
|
+
), ii = Kn ? (
|
3098
3076
|
// Native
|
3099
3077
|
function(t) {
|
3100
3078
|
return t.trimStart();
|
@@ -3102,9 +3080,9 @@ var Bt = Kn ? (
|
|
3102
3080
|
) : (
|
3103
3081
|
// Ponyfill
|
3104
3082
|
function(t) {
|
3105
|
-
return t.replace(
|
3083
|
+
return t.replace(zn, "");
|
3106
3084
|
}
|
3107
|
-
),
|
3085
|
+
), si = ei ? (
|
3108
3086
|
// Native
|
3109
3087
|
function(t) {
|
3110
3088
|
return t.trimEnd();
|
@@ -3112,32 +3090,32 @@ var Bt = Kn ? (
|
|
3112
3090
|
) : (
|
3113
3091
|
// Ponyfill
|
3114
3092
|
function(t) {
|
3115
|
-
return t.replace(
|
3093
|
+
return t.replace(Zn, "");
|
3116
3094
|
}
|
3117
3095
|
);
|
3118
|
-
function
|
3096
|
+
function lr(e, t) {
|
3119
3097
|
return new RegExp(e, t);
|
3120
3098
|
}
|
3121
|
-
var
|
3122
|
-
if (
|
3123
|
-
var
|
3124
|
-
|
3099
|
+
var Je;
|
3100
|
+
if (Ye) {
|
3101
|
+
var Ht = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3102
|
+
Je = function(t, r) {
|
3125
3103
|
var n;
|
3126
|
-
|
3127
|
-
var i =
|
3104
|
+
Ht.lastIndex = r;
|
3105
|
+
var i = Ht.exec(t);
|
3128
3106
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3129
3107
|
};
|
3130
3108
|
} else
|
3131
|
-
|
3109
|
+
Je = function(t, r) {
|
3132
3110
|
for (var n = []; ; ) {
|
3133
|
-
var i =
|
3134
|
-
if (i === void 0 ||
|
3111
|
+
var i = hr(t, r);
|
3112
|
+
if (i === void 0 || cr(i) || hi(i))
|
3135
3113
|
break;
|
3136
3114
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3137
3115
|
}
|
3138
|
-
return
|
3116
|
+
return qe.apply(void 0, n);
|
3139
3117
|
};
|
3140
|
-
var
|
3118
|
+
var oi = (
|
3141
3119
|
/** @class */
|
3142
3120
|
function() {
|
3143
3121
|
function e(t, r) {
|
@@ -3168,7 +3146,7 @@ var li = (
|
|
3168
3146
|
if (n)
|
3169
3147
|
break;
|
3170
3148
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
3171
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3149
|
+
} else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
3172
3150
|
var o = this.parseTag(t, r);
|
3173
3151
|
if (o.err)
|
3174
3152
|
return o;
|
@@ -3201,7 +3179,7 @@ var li = (
|
|
3201
3179
|
return s;
|
3202
3180
|
var o = s.val, a = this.clonePosition();
|
3203
3181
|
if (this.bumpIf("</")) {
|
3204
|
-
if (this.isEOF() || !
|
3182
|
+
if (this.isEOF() || !Ke(this.char()))
|
3205
3183
|
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
3206
3184
|
var h = this.clonePosition(), u = this.parseTagName();
|
3207
3185
|
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -3219,7 +3197,7 @@ var li = (
|
|
3219
3197
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
3220
3198
|
}, e.prototype.parseTagName = function() {
|
3221
3199
|
var t = this.offset();
|
3222
|
-
for (this.bump(); !this.isEOF() &&
|
3200
|
+
for (this.bump(); !this.isEOF() && ui(this.char()); )
|
3223
3201
|
this.bump();
|
3224
3202
|
return this.message.slice(t, this.offset());
|
3225
3203
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3248,7 +3226,7 @@ var li = (
|
|
3248
3226
|
};
|
3249
3227
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3250
3228
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3251
|
-
!
|
3229
|
+
!ai(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3252
3230
|
}, e.prototype.tryParseQuote = function(t) {
|
3253
3231
|
if (this.isEOF() || this.char() !== 39)
|
3254
3232
|
return null;
|
@@ -3282,12 +3260,12 @@ var li = (
|
|
3282
3260
|
r.push(n);
|
3283
3261
|
this.bump();
|
3284
3262
|
}
|
3285
|
-
return
|
3263
|
+
return qe.apply(void 0, r);
|
3286
3264
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3287
3265
|
if (this.isEOF())
|
3288
3266
|
return null;
|
3289
3267
|
var n = this.char();
|
3290
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3268
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
3291
3269
|
}, e.prototype.parseArgument = function(t, r) {
|
3292
3270
|
var n = this.clonePosition();
|
3293
3271
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -3316,7 +3294,7 @@ var li = (
|
|
3316
3294
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3317
3295
|
}
|
3318
3296
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3319
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3297
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
3320
3298
|
this.bumpTo(i);
|
3321
3299
|
var s = this.clonePosition(), o = g(t, s);
|
3322
3300
|
return { value: n, location: o };
|
@@ -3335,7 +3313,7 @@ var li = (
|
|
3335
3313
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3336
3314
|
if (m.err)
|
3337
3315
|
return m;
|
3338
|
-
var c =
|
3316
|
+
var c = si(m.val);
|
3339
3317
|
if (c.length === 0)
|
3340
3318
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
3341
3319
|
var d = g(l, this.clonePosition());
|
@@ -3345,8 +3323,8 @@ var li = (
|
|
3345
3323
|
if (b.err)
|
3346
3324
|
return b;
|
3347
3325
|
var y = g(i, this.clonePosition());
|
3348
|
-
if (u &&
|
3349
|
-
var T =
|
3326
|
+
if (u && wt(u?.style, "::", 0)) {
|
3327
|
+
var T = ii(u.style.slice(2));
|
3350
3328
|
if (a === "number") {
|
3351
3329
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3352
3330
|
return m.err ? m : {
|
@@ -3357,12 +3335,12 @@ var li = (
|
|
3357
3335
|
if (T.length === 0)
|
3358
3336
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
3359
3337
|
var C = T;
|
3360
|
-
this.locale && (C =
|
3338
|
+
this.locale && (C = Xn(T, this.locale));
|
3361
3339
|
var c = {
|
3362
3340
|
type: K.dateTime,
|
3363
3341
|
pattern: C,
|
3364
3342
|
location: u.styleLocation,
|
3365
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3343
|
+
parsedOptions: this.shouldParseSkeletons ? Un(C) : {}
|
3366
3344
|
}, N = a === "date" ? x.date : x.time;
|
3367
3345
|
return {
|
3368
3346
|
val: { type: N, value: n, location: y, style: c },
|
@@ -3408,7 +3386,7 @@ var li = (
|
|
3408
3386
|
val: {
|
3409
3387
|
type: x.select,
|
3410
3388
|
value: n,
|
3411
|
-
options:
|
3389
|
+
options: Tt(M.val),
|
3412
3390
|
location: E
|
3413
3391
|
},
|
3414
3392
|
err: null
|
@@ -3416,7 +3394,7 @@ var li = (
|
|
3416
3394
|
val: {
|
3417
3395
|
type: x.plural,
|
3418
3396
|
value: n,
|
3419
|
-
options:
|
3397
|
+
options: Tt(M.val),
|
3420
3398
|
offset: L,
|
3421
3399
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3422
3400
|
location: E
|
@@ -3467,7 +3445,7 @@ var li = (
|
|
3467
3445
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3468
3446
|
var n = [];
|
3469
3447
|
try {
|
3470
|
-
n =
|
3448
|
+
n = Fn(t);
|
3471
3449
|
} catch {
|
3472
3450
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3473
3451
|
}
|
@@ -3476,7 +3454,7 @@ var li = (
|
|
3476
3454
|
type: K.number,
|
3477
3455
|
tokens: n,
|
3478
3456
|
location: r,
|
3479
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3457
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
|
3480
3458
|
},
|
3481
3459
|
err: null
|
3482
3460
|
};
|
@@ -3524,7 +3502,7 @@ var li = (
|
|
3524
3502
|
break;
|
3525
3503
|
}
|
3526
3504
|
var h = g(i, this.clonePosition());
|
3527
|
-
return s ? (o *= n,
|
3505
|
+
return s ? (o *= n, ri(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3528
3506
|
}, e.prototype.offset = function() {
|
3529
3507
|
return this.position.offset;
|
3530
3508
|
}, e.prototype.isEOF = function() {
|
@@ -3539,7 +3517,7 @@ var li = (
|
|
3539
3517
|
var t = this.position.offset;
|
3540
3518
|
if (t >= this.message.length)
|
3541
3519
|
throw Error("out of bound");
|
3542
|
-
var r =
|
3520
|
+
var r = hr(this.message, t);
|
3543
3521
|
if (r === void 0)
|
3544
3522
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3545
3523
|
return r;
|
@@ -3558,7 +3536,7 @@ var li = (
|
|
3558
3536
|
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);
|
3559
3537
|
}
|
3560
3538
|
}, e.prototype.bumpIf = function(t) {
|
3561
|
-
if (
|
3539
|
+
if (wt(this.message, t, this.offset())) {
|
3562
3540
|
for (var r = 0; r < t.length; r++)
|
3563
3541
|
this.bump();
|
3564
3542
|
return !0;
|
@@ -3580,7 +3558,7 @@ var li = (
|
|
3580
3558
|
break;
|
3581
3559
|
}
|
3582
3560
|
}, e.prototype.bumpSpace = function() {
|
3583
|
-
for (; !this.isEOF() &&
|
3561
|
+
for (; !this.isEOF() && cr(this.char()); )
|
3584
3562
|
this.bump();
|
3585
3563
|
}, e.prototype.peek = function() {
|
3586
3564
|
if (this.isEOF())
|
@@ -3590,38 +3568,38 @@ var li = (
|
|
3590
3568
|
}, e;
|
3591
3569
|
}()
|
3592
3570
|
);
|
3593
|
-
function
|
3571
|
+
function Ke(e) {
|
3594
3572
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3595
3573
|
}
|
3596
|
-
function
|
3597
|
-
return
|
3574
|
+
function ai(e) {
|
3575
|
+
return Ke(e) || e === 47;
|
3598
3576
|
}
|
3599
|
-
function
|
3577
|
+
function ui(e) {
|
3600
3578
|
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;
|
3601
3579
|
}
|
3602
|
-
function
|
3580
|
+
function cr(e) {
|
3603
3581
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3604
3582
|
}
|
3605
|
-
function
|
3583
|
+
function hi(e) {
|
3606
3584
|
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;
|
3607
3585
|
}
|
3608
|
-
function
|
3586
|
+
function et(e) {
|
3609
3587
|
e.forEach(function(t) {
|
3610
|
-
if (delete t.location,
|
3588
|
+
if (delete t.location, tr(t) || rr(t))
|
3611
3589
|
for (var r in t.options)
|
3612
|
-
delete t.options[r].location,
|
3590
|
+
delete t.options[r].location, et(t.options[r].value);
|
3613
3591
|
else
|
3614
|
-
|
3592
|
+
Jt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && et(t.children);
|
3615
3593
|
});
|
3616
3594
|
}
|
3617
|
-
function
|
3595
|
+
function li(e, t) {
|
3618
3596
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3619
|
-
var r = new
|
3597
|
+
var r = new oi(e, t).parse();
|
3620
3598
|
if (r.err) {
|
3621
3599
|
var n = SyntaxError(p[r.err.kind]);
|
3622
3600
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3623
3601
|
}
|
3624
|
-
return t?.captureLocation ||
|
3602
|
+
return t?.captureLocation || et(r.val), r.val;
|
3625
3603
|
}
|
3626
3604
|
var ee;
|
3627
3605
|
(function(e) {
|
@@ -3639,7 +3617,7 @@ var Be = (
|
|
3639
3617
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3640
3618
|
}, t;
|
3641
3619
|
}(Error)
|
3642
|
-
),
|
3620
|
+
), At = (
|
3643
3621
|
/** @class */
|
3644
3622
|
function(e) {
|
3645
3623
|
U(t, e);
|
@@ -3648,7 +3626,7 @@ var Be = (
|
|
3648
3626
|
}
|
3649
3627
|
return t;
|
3650
3628
|
}(Be)
|
3651
|
-
),
|
3629
|
+
), ci = (
|
3652
3630
|
/** @class */
|
3653
3631
|
function(e) {
|
3654
3632
|
U(t, e);
|
@@ -3657,7 +3635,7 @@ var Be = (
|
|
3657
3635
|
}
|
3658
3636
|
return t;
|
3659
3637
|
}(Be)
|
3660
|
-
),
|
3638
|
+
), fi = (
|
3661
3639
|
/** @class */
|
3662
3640
|
function(e) {
|
3663
3641
|
U(t, e);
|
@@ -3670,17 +3648,17 @@ var Be = (
|
|
3670
3648
|
(function(e) {
|
3671
3649
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3672
3650
|
})(H || (H = {}));
|
3673
|
-
function
|
3651
|
+
function mi(e) {
|
3674
3652
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3675
3653
|
var n = t[t.length - 1];
|
3676
3654
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3677
3655
|
}, []);
|
3678
3656
|
}
|
3679
|
-
function
|
3657
|
+
function di(e) {
|
3680
3658
|
return typeof e == "function";
|
3681
3659
|
}
|
3682
3660
|
function Ee(e, t, r, n, i, s, o) {
|
3683
|
-
if (e.length === 1 &&
|
3661
|
+
if (e.length === 1 && _t(e[0]))
|
3684
3662
|
return [
|
3685
3663
|
{
|
3686
3664
|
type: H.literal,
|
@@ -3689,14 +3667,14 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3689
3667
|
];
|
3690
3668
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3691
3669
|
var l = u[h];
|
3692
|
-
if (
|
3670
|
+
if (_t(l)) {
|
3693
3671
|
a.push({
|
3694
3672
|
type: H.literal,
|
3695
3673
|
value: l.value
|
3696
3674
|
});
|
3697
3675
|
continue;
|
3698
3676
|
}
|
3699
|
-
if (
|
3677
|
+
if (Rn(l)) {
|
3700
3678
|
typeof s == "number" && a.push({
|
3701
3679
|
type: H.literal,
|
3702
3680
|
value: r.getNumberFormat(t).format(s)
|
@@ -3705,43 +3683,43 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3705
3683
|
}
|
3706
3684
|
var m = l.value;
|
3707
3685
|
if (!(i && m in i))
|
3708
|
-
throw new
|
3686
|
+
throw new fi(m, o);
|
3709
3687
|
var c = i[m];
|
3710
|
-
if (
|
3688
|
+
if (Mn(l)) {
|
3711
3689
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3712
3690
|
type: typeof c == "string" ? H.literal : H.object,
|
3713
3691
|
value: c
|
3714
3692
|
});
|
3715
3693
|
continue;
|
3716
3694
|
}
|
3717
|
-
if (
|
3718
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3695
|
+
if (Kt(l)) {
|
3696
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
|
3719
3697
|
a.push({
|
3720
3698
|
type: H.literal,
|
3721
3699
|
value: r.getDateTimeFormat(t, d).format(c)
|
3722
3700
|
});
|
3723
3701
|
continue;
|
3724
3702
|
}
|
3725
|
-
if (
|
3726
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3703
|
+
if (er(l)) {
|
3704
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Qe(l.style) ? l.style.parsedOptions : n.time.medium;
|
3727
3705
|
a.push({
|
3728
3706
|
type: H.literal,
|
3729
3707
|
value: r.getDateTimeFormat(t, d).format(c)
|
3730
3708
|
});
|
3731
3709
|
continue;
|
3732
3710
|
}
|
3733
|
-
if (
|
3734
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3711
|
+
if (Jt(l)) {
|
3712
|
+
var d = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
|
3735
3713
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3736
3714
|
type: H.literal,
|
3737
3715
|
value: r.getNumberFormat(t, d).format(c)
|
3738
3716
|
});
|
3739
3717
|
continue;
|
3740
3718
|
}
|
3741
|
-
if (
|
3719
|
+
if (nr(l)) {
|
3742
3720
|
var b = l.children, y = l.value, T = i[y];
|
3743
|
-
if (!
|
3744
|
-
throw new
|
3721
|
+
if (!di(T))
|
3722
|
+
throw new ci(y, "function", o);
|
3745
3723
|
var C = Ee(b, t, r, n, i, s), N = T(C.map(function(L) {
|
3746
3724
|
return L.value;
|
3747
3725
|
}));
|
@@ -3752,14 +3730,14 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3752
3730
|
};
|
3753
3731
|
}));
|
3754
3732
|
}
|
3755
|
-
if (
|
3733
|
+
if (tr(l)) {
|
3756
3734
|
var w = l.options[c] || l.options.other;
|
3757
3735
|
if (!w)
|
3758
|
-
throw new
|
3736
|
+
throw new At(l.value, c, Object.keys(l.options), o);
|
3759
3737
|
a.push.apply(a, Ee(w.value, t, r, n, i));
|
3760
3738
|
continue;
|
3761
3739
|
}
|
3762
|
-
if (
|
3740
|
+
if (rr(l)) {
|
3763
3741
|
var w = l.options["=".concat(c)];
|
3764
3742
|
if (!w) {
|
3765
3743
|
if (!Intl.PluralRules)
|
@@ -3770,24 +3748,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3770
3748
|
w = l.options[O] || l.options.other;
|
3771
3749
|
}
|
3772
3750
|
if (!w)
|
3773
|
-
throw new
|
3751
|
+
throw new At(l.value, c, Object.keys(l.options), o);
|
3774
3752
|
a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
|
3775
3753
|
continue;
|
3776
3754
|
}
|
3777
3755
|
}
|
3778
|
-
return
|
3756
|
+
return mi(a);
|
3779
3757
|
}
|
3780
|
-
function
|
3758
|
+
function bi(e, t) {
|
3781
3759
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3782
3760
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
3783
3761
|
}, {})) : e;
|
3784
3762
|
}
|
3785
|
-
function
|
3763
|
+
function pi(e, t) {
|
3786
3764
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3787
|
-
return r[n] =
|
3765
|
+
return r[n] = bi(e[n], t[n]), r;
|
3788
3766
|
}, v({}, e)) : e;
|
3789
3767
|
}
|
3790
|
-
function
|
3768
|
+
function De(e) {
|
3791
3769
|
return {
|
3792
3770
|
create: function() {
|
3793
3771
|
return {
|
@@ -3801,39 +3779,39 @@ function Fe(e) {
|
|
3801
3779
|
}
|
3802
3780
|
};
|
3803
3781
|
}
|
3804
|
-
function
|
3782
|
+
function gi(e) {
|
3805
3783
|
return e === void 0 && (e = {
|
3806
3784
|
number: {},
|
3807
3785
|
dateTime: {},
|
3808
3786
|
pluralRules: {}
|
3809
3787
|
}), {
|
3810
|
-
getNumberFormat:
|
3788
|
+
getNumberFormat: Re(function() {
|
3811
3789
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3812
3790
|
r[n] = arguments[n];
|
3813
3791
|
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
3814
3792
|
}, {
|
3815
|
-
cache:
|
3816
|
-
strategy:
|
3793
|
+
cache: De(e.number),
|
3794
|
+
strategy: Ge.variadic
|
3817
3795
|
}),
|
3818
|
-
getDateTimeFormat:
|
3796
|
+
getDateTimeFormat: Re(function() {
|
3819
3797
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3820
3798
|
r[n] = arguments[n];
|
3821
3799
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
3822
3800
|
}, {
|
3823
|
-
cache:
|
3824
|
-
strategy:
|
3801
|
+
cache: De(e.dateTime),
|
3802
|
+
strategy: Ge.variadic
|
3825
3803
|
}),
|
3826
|
-
getPluralRules:
|
3804
|
+
getPluralRules: Re(function() {
|
3827
3805
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3828
3806
|
r[n] = arguments[n];
|
3829
3807
|
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
3830
3808
|
}, {
|
3831
|
-
cache:
|
3832
|
-
strategy:
|
3809
|
+
cache: De(e.pluralRules),
|
3810
|
+
strategy: Ge.variadic
|
3833
3811
|
})
|
3834
3812
|
};
|
3835
3813
|
}
|
3836
|
-
var
|
3814
|
+
var yi = (
|
3837
3815
|
/** @class */
|
3838
3816
|
function() {
|
3839
3817
|
function e(t, r, n, i) {
|
@@ -3865,13 +3843,13 @@ var xi = (
|
|
3865
3843
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3866
3844
|
var o = i || {};
|
3867
3845
|
o.formatters;
|
3868
|
-
var a =
|
3846
|
+
var a = Qr(o, ["formatters"]);
|
3869
3847
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
3870
3848
|
} else
|
3871
3849
|
this.ast = t;
|
3872
3850
|
if (!Array.isArray(this.ast))
|
3873
3851
|
throw new TypeError("A message must be provided as a String or AST.");
|
3874
|
-
this.formats =
|
3852
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
|
3875
3853
|
}
|
3876
3854
|
return Object.defineProperty(e, "defaultLocale", {
|
3877
3855
|
get: function() {
|
@@ -3884,7 +3862,7 @@ var xi = (
|
|
3884
3862
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3885
3863
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3886
3864
|
}
|
3887
|
-
}, e.__parse =
|
3865
|
+
}, e.__parse = li, e.formats = {
|
3888
3866
|
number: {
|
3889
3867
|
integer: {
|
3890
3868
|
maximumFractionDigits: 0
|
@@ -3945,7 +3923,7 @@ var xi = (
|
|
3945
3923
|
}, e;
|
3946
3924
|
}()
|
3947
3925
|
);
|
3948
|
-
function
|
3926
|
+
function vi(e, t) {
|
3949
3927
|
if (t == null)
|
3950
3928
|
return;
|
3951
3929
|
if (t in e)
|
@@ -3966,92 +3944,92 @@ function Si(e, t) {
|
|
3966
3944
|
n = void 0;
|
3967
3945
|
return n;
|
3968
3946
|
}
|
3969
|
-
const D = {},
|
3947
|
+
const D = {}, _i = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), fr = (e, t) => {
|
3970
3948
|
if (t == null)
|
3971
3949
|
return;
|
3972
3950
|
if (t in D && e in D[t])
|
3973
3951
|
return D[t][e];
|
3974
3952
|
const r = Pe(t);
|
3975
3953
|
for (let n = 0; n < r.length; n++) {
|
3976
|
-
const i = r[n], s =
|
3954
|
+
const i = r[n], s = xi(i, e);
|
3977
3955
|
if (s)
|
3978
|
-
return
|
3956
|
+
return _i(e, t, s);
|
3979
3957
|
}
|
3980
3958
|
};
|
3981
|
-
let
|
3959
|
+
let it;
|
3982
3960
|
const me = Ae({});
|
3983
|
-
function
|
3984
|
-
return
|
3961
|
+
function Ei(e) {
|
3962
|
+
return it[e] || null;
|
3985
3963
|
}
|
3986
|
-
function
|
3987
|
-
return e in
|
3964
|
+
function mr(e) {
|
3965
|
+
return e in it;
|
3988
3966
|
}
|
3989
|
-
function
|
3990
|
-
if (!
|
3967
|
+
function xi(e, t) {
|
3968
|
+
if (!mr(e))
|
3991
3969
|
return null;
|
3992
|
-
const r =
|
3993
|
-
return
|
3970
|
+
const r = Ei(e);
|
3971
|
+
return vi(r, t);
|
3994
3972
|
}
|
3995
|
-
function
|
3973
|
+
function Si(e) {
|
3996
3974
|
if (e == null)
|
3997
3975
|
return;
|
3998
3976
|
const t = Pe(e);
|
3999
3977
|
for (let r = 0; r < t.length; r++) {
|
4000
3978
|
const n = t[r];
|
4001
|
-
if (
|
3979
|
+
if (mr(n))
|
4002
3980
|
return n;
|
4003
3981
|
}
|
4004
3982
|
}
|
4005
|
-
function
|
4006
|
-
delete D[e], me.update((r) => (r[e] =
|
3983
|
+
function dr(e, ...t) {
|
3984
|
+
delete D[e], me.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
|
4007
3985
|
}
|
4008
3986
|
ie(
|
4009
3987
|
[me],
|
4010
3988
|
([e]) => Object.keys(e)
|
4011
3989
|
);
|
4012
|
-
me.subscribe((e) =>
|
3990
|
+
me.subscribe((e) => it = e);
|
4013
3991
|
const xe = {};
|
4014
|
-
function
|
3992
|
+
function wi(e, t) {
|
4015
3993
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
4016
3994
|
}
|
4017
|
-
function
|
3995
|
+
function br(e) {
|
4018
3996
|
return xe[e];
|
4019
3997
|
}
|
4020
|
-
function
|
3998
|
+
function Ti(e) {
|
4021
3999
|
return Pe(e).map((t) => {
|
4022
|
-
const r =
|
4000
|
+
const r = br(t);
|
4023
4001
|
return [t, r ? [...r] : []];
|
4024
4002
|
}).filter(([, t]) => t.length > 0);
|
4025
4003
|
}
|
4026
|
-
function
|
4004
|
+
function tt(e) {
|
4027
4005
|
return e == null ? !1 : Pe(e).some(
|
4028
4006
|
(t) => {
|
4029
4007
|
var r;
|
4030
|
-
return (r =
|
4008
|
+
return (r = br(t)) == null ? void 0 : r.size;
|
4031
4009
|
}
|
4032
4010
|
);
|
4033
4011
|
}
|
4034
|
-
function
|
4012
|
+
function Hi(e, t) {
|
4035
4013
|
return Promise.all(
|
4036
|
-
t.map((n) => (
|
4037
|
-
).then((n) =>
|
4014
|
+
t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
|
4015
|
+
).then((n) => dr(e, ...n));
|
4038
4016
|
}
|
4039
4017
|
const oe = {};
|
4040
|
-
function
|
4041
|
-
if (!
|
4018
|
+
function pr(e) {
|
4019
|
+
if (!tt(e))
|
4042
4020
|
return e in oe ? oe[e] : Promise.resolve();
|
4043
|
-
const t =
|
4021
|
+
const t = Ti(e);
|
4044
4022
|
return oe[e] = Promise.all(
|
4045
4023
|
t.map(
|
4046
|
-
([r, n]) =>
|
4024
|
+
([r, n]) => Hi(r, n)
|
4047
4025
|
)
|
4048
4026
|
).then(() => {
|
4049
|
-
if (
|
4050
|
-
return
|
4027
|
+
if (tt(e))
|
4028
|
+
return pr(e);
|
4051
4029
|
delete oe[e];
|
4052
4030
|
}), oe[e];
|
4053
4031
|
}
|
4054
|
-
const
|
4032
|
+
const Ai = {
|
4055
4033
|
number: {
|
4056
4034
|
scientific: { notation: "scientific" },
|
4057
4035
|
engineering: { notation: "engineering" },
|
@@ -4080,57 +4058,57 @@ const Oi = {
|
|
4080
4058
|
timeZoneName: "short"
|
4081
4059
|
}
|
4082
4060
|
}
|
4083
|
-
},
|
4061
|
+
}, Bi = {
|
4084
4062
|
fallbackLocale: null,
|
4085
4063
|
loadingDelay: 200,
|
4086
|
-
formats:
|
4064
|
+
formats: Ai,
|
4087
4065
|
warnOnMissingMessages: !0,
|
4088
4066
|
handleMissingMessage: void 0,
|
4089
4067
|
ignoreTag: !0
|
4090
|
-
},
|
4068
|
+
}, Pi = Bi;
|
4091
4069
|
function te() {
|
4092
|
-
return
|
4070
|
+
return Pi;
|
4093
4071
|
}
|
4094
|
-
const
|
4095
|
-
var
|
4072
|
+
const Fe = Ae(!1);
|
4073
|
+
var Ni = Object.defineProperty, Oi = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
|
4096
4074
|
for (var r in t || (t = {}))
|
4097
|
-
|
4098
|
-
if (
|
4099
|
-
for (var r of
|
4100
|
-
|
4075
|
+
Ii.call(t, r) && Pt(e, r, t[r]);
|
4076
|
+
if (Bt)
|
4077
|
+
for (var r of Bt(t))
|
4078
|
+
Ci.call(t, r) && Pt(e, r, t[r]);
|
4101
4079
|
return e;
|
4102
|
-
},
|
4103
|
-
let
|
4080
|
+
}, Ri = (e, t) => Oi(e, Li(t));
|
4081
|
+
let rt;
|
4104
4082
|
const Se = Ae(null);
|
4105
|
-
function
|
4083
|
+
function Nt(e) {
|
4106
4084
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4107
4085
|
}
|
4108
4086
|
function Pe(e, t = te().fallbackLocale) {
|
4109
|
-
const r =
|
4110
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4087
|
+
const r = Nt(e);
|
4088
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
|
4111
4089
|
}
|
4112
4090
|
function V() {
|
4113
|
-
return
|
4091
|
+
return rt ?? void 0;
|
4114
4092
|
}
|
4115
4093
|
Se.subscribe((e) => {
|
4116
|
-
|
4094
|
+
rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
4117
4095
|
});
|
4118
|
-
const
|
4119
|
-
if (e &&
|
4096
|
+
const Gi = (e) => {
|
4097
|
+
if (e && Si(e) && tt(e)) {
|
4120
4098
|
const { loadingDelay: t } = te();
|
4121
4099
|
let r;
|
4122
4100
|
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
4123
|
-
() =>
|
4101
|
+
() => Fe.set(!0),
|
4124
4102
|
t
|
4125
|
-
) :
|
4103
|
+
) : Fe.set(!0), pr(e).then(() => {
|
4126
4104
|
Se.set(e);
|
4127
4105
|
}).finally(() => {
|
4128
|
-
clearTimeout(r),
|
4106
|
+
clearTimeout(r), Fe.set(!1);
|
4129
4107
|
});
|
4130
4108
|
}
|
4131
4109
|
return Se.set(e);
|
4132
|
-
}, de =
|
4133
|
-
set:
|
4110
|
+
}, de = Ri(Mi({}, Se), {
|
4111
|
+
set: Gi
|
4134
4112
|
}), Ne = (e) => {
|
4135
4113
|
const t = /* @__PURE__ */ Object.create(null);
|
4136
4114
|
return (n) => {
|
@@ -4138,20 +4116,20 @@ const $i = (e) => {
|
|
4138
4116
|
return i in t ? t[i] : t[i] = e(n);
|
4139
4117
|
};
|
4140
4118
|
};
|
4141
|
-
var
|
4119
|
+
var Ui = Object.defineProperty, we = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
4142
4120
|
for (var r in t || (t = {}))
|
4143
|
-
|
4121
|
+
gr.call(t, r) && Ot(e, r, t[r]);
|
4144
4122
|
if (we)
|
4145
4123
|
for (var r of we(t))
|
4146
|
-
|
4124
|
+
yr.call(t, r) && Ot(e, r, t[r]);
|
4147
4125
|
return e;
|
4148
4126
|
}, se = (e, t) => {
|
4149
4127
|
var r = {};
|
4150
4128
|
for (var n in e)
|
4151
|
-
|
4129
|
+
gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4152
4130
|
if (e != null && we)
|
4153
4131
|
for (var n of we(e))
|
4154
|
-
t.indexOf(n) < 0 &&
|
4132
|
+
t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
|
4155
4133
|
return r;
|
4156
4134
|
};
|
4157
4135
|
const le = (e, t) => {
|
@@ -4159,21 +4137,21 @@ const le = (e, t) => {
|
|
4159
4137
|
if (e in r && t in r[e])
|
4160
4138
|
return r[e][t];
|
4161
4139
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4162
|
-
},
|
4140
|
+
}, Di = Ne(
|
4163
4141
|
(e) => {
|
4164
4142
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4165
4143
|
if (r == null)
|
4166
4144
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4167
4145
|
return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
|
4168
4146
|
}
|
4169
|
-
),
|
4147
|
+
), Fi = Ne(
|
4170
4148
|
(e) => {
|
4171
4149
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4172
4150
|
if (r == null)
|
4173
4151
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4174
4152
|
return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
|
4175
4153
|
}
|
4176
|
-
),
|
4154
|
+
), $i = Ne(
|
4177
4155
|
(e) => {
|
4178
4156
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4179
4157
|
if (r == null)
|
@@ -4182,33 +4160,33 @@ const le = (e, t) => {
|
|
4182
4160
|
);
|
4183
4161
|
return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
|
4184
4162
|
}
|
4185
|
-
),
|
4163
|
+
), ji = (e = {}) => {
|
4186
4164
|
var t = e, {
|
4187
4165
|
locale: r = V()
|
4188
4166
|
} = t, n = se(t, [
|
4189
4167
|
"locale"
|
4190
4168
|
]);
|
4191
|
-
return
|
4192
|
-
},
|
4169
|
+
return Di(st({ locale: r }, n));
|
4170
|
+
}, ki = (e = {}) => {
|
4193
4171
|
var t = e, {
|
4194
4172
|
locale: r = V()
|
4195
4173
|
} = t, n = se(t, [
|
4196
4174
|
"locale"
|
4197
4175
|
]);
|
4198
|
-
return
|
4199
|
-
},
|
4176
|
+
return Fi(st({ locale: r }, n));
|
4177
|
+
}, Vi = (e = {}) => {
|
4200
4178
|
var t = e, {
|
4201
4179
|
locale: r = V()
|
4202
4180
|
} = t, n = se(t, [
|
4203
4181
|
"locale"
|
4204
4182
|
]);
|
4205
|
-
return
|
4206
|
-
},
|
4183
|
+
return $i(st({ locale: r }, n));
|
4184
|
+
}, Xi = Ne(
|
4207
4185
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4208
|
-
(e, t = V()) => new
|
4186
|
+
(e, t = V()) => new yi(e, t, te().formats, {
|
4209
4187
|
ignoreTag: te().ignoreTag
|
4210
4188
|
})
|
4211
|
-
),
|
4189
|
+
), Wi = (e, t = {}) => {
|
4212
4190
|
var r, n, i, s;
|
4213
4191
|
let o = t;
|
4214
4192
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4221,7 +4199,7 @@ const le = (e, t) => {
|
|
4221
4199
|
throw new Error(
|
4222
4200
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4223
4201
|
);
|
4224
|
-
let l =
|
4202
|
+
let l = fr(e, h);
|
4225
4203
|
if (!l)
|
4226
4204
|
l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
4227
4205
|
else if (typeof l != "string")
|
@@ -4232,7 +4210,7 @@ const le = (e, t) => {
|
|
4232
4210
|
return l;
|
4233
4211
|
let m = l;
|
4234
4212
|
try {
|
4235
|
-
m =
|
4213
|
+
m = Xi(l, h).format(a);
|
4236
4214
|
} catch (c) {
|
4237
4215
|
c instanceof Error && console.warn(
|
4238
4216
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4240,20 +4218,20 @@ const le = (e, t) => {
|
|
4240
4218
|
);
|
4241
4219
|
}
|
4242
4220
|
return m;
|
4243
|
-
},
|
4244
|
-
ie([de], () =>
|
4245
|
-
ie([de], () =>
|
4246
|
-
ie([de], () =>
|
4247
|
-
ie([de, me], () =>
|
4248
|
-
window.emWidgets = { topic:
|
4249
|
-
const
|
4250
|
-
function
|
4221
|
+
}, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Yi = (e, t = V()) => fr(e, t), qi = ie([de, me], () => Wi);
|
4222
|
+
ie([de], () => zi);
|
4223
|
+
ie([de], () => Zi);
|
4224
|
+
ie([de], () => Qi);
|
4225
|
+
ie([de, me], () => Yi);
|
4226
|
+
window.emWidgets = { topic: ln };
|
4227
|
+
const Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4228
|
+
function Ki(e, t) {
|
4251
4229
|
if (e) {
|
4252
4230
|
const r = document.createElement("style");
|
4253
4231
|
r.innerHTML = t, e.appendChild(r);
|
4254
4232
|
}
|
4255
4233
|
}
|
4256
|
-
function
|
4234
|
+
function es(e, t) {
|
4257
4235
|
const r = new URL(t);
|
4258
4236
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4259
4237
|
const i = document.createElement("style");
|
@@ -4262,7 +4240,7 @@ function is(e, t) {
|
|
4262
4240
|
console.error("There was an error while trying to load client styling from URL", n);
|
4263
4241
|
});
|
4264
4242
|
}
|
4265
|
-
function
|
4243
|
+
function ts(e, t, r) {
|
4266
4244
|
if (window.emMessageBus) {
|
4267
4245
|
const n = document.createElement("style");
|
4268
4246
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4270,10 +4248,10 @@ function ss(e, t, r) {
|
|
4270
4248
|
});
|
4271
4249
|
}
|
4272
4250
|
}
|
4273
|
-
function
|
4274
|
-
|
4251
|
+
function Lt(e, t) {
|
4252
|
+
dr(e, t);
|
4275
4253
|
}
|
4276
|
-
const
|
4254
|
+
const It = {
|
4277
4255
|
en: {
|
4278
4256
|
lobbyName: "Lobby",
|
4279
4257
|
myGamesName: "My games"
|
@@ -4359,14 +4337,14 @@ if (typeof window < "u") {
|
|
4359
4337
|
}
|
4360
4338
|
};
|
4361
4339
|
};
|
4362
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4340
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-muAMfXR5.js").then(({ default: t }) => {
|
4363
4341
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4364
4342
|
});
|
4365
4343
|
}
|
4366
|
-
function
|
4367
|
-
|
4344
|
+
function rs(e) {
|
4345
|
+
Or(e, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
|
4368
4346
|
}
|
4369
|
-
function
|
4347
|
+
function ns(e) {
|
4370
4348
|
let t, r, n, i;
|
4371
4349
|
return {
|
4372
4350
|
c() {
|
@@ -4385,7 +4363,7 @@ function as(e) {
|
|
4385
4363
|
"endpoint",
|
4386
4364
|
/*endpoint*/
|
4387
4365
|
e[1]
|
4388
|
-
), _(r, "identity",
|
4366
|
+
), _(r, "identity", nt), _(
|
4389
4367
|
r,
|
4390
4368
|
"favoritesnumber",
|
4391
4369
|
/*numberOfFavoredGames*/
|
@@ -4443,7 +4421,7 @@ function as(e) {
|
|
4443
4421
|
), fe(t, "class", "CasinoCategoriesContainer svelte-2g6deg");
|
4444
4422
|
},
|
4445
4423
|
m(s, o) {
|
4446
|
-
ce(s, t, o),
|
4424
|
+
ce(s, t, o), Gt(t, r), n || (i = Nr(
|
4447
4425
|
/*sendSliderData*/
|
4448
4426
|
e[17].call(null, r)
|
4449
4427
|
), n = !0);
|
@@ -4540,7 +4518,7 @@ function as(e) {
|
|
4540
4518
|
}
|
4541
4519
|
};
|
4542
4520
|
}
|
4543
|
-
function
|
4521
|
+
function is(e) {
|
4544
4522
|
let t;
|
4545
4523
|
return {
|
4546
4524
|
c() {
|
@@ -4555,7 +4533,7 @@ function us(e) {
|
|
4555
4533
|
}
|
4556
4534
|
};
|
4557
4535
|
}
|
4558
|
-
function
|
4536
|
+
function ss(e) {
|
4559
4537
|
let t;
|
4560
4538
|
return {
|
4561
4539
|
c() {
|
@@ -4570,14 +4548,14 @@ function hs(e) {
|
|
4570
4548
|
}
|
4571
4549
|
};
|
4572
4550
|
}
|
4573
|
-
function
|
4551
|
+
function os(e) {
|
4574
4552
|
let t;
|
4575
4553
|
function r(s, o) {
|
4576
4554
|
return (
|
4577
4555
|
/*isLoading*/
|
4578
|
-
s[13] ||
|
4556
|
+
s[13] || as || us ? ss : (
|
4579
4557
|
/*hasErrors*/
|
4580
|
-
s[15] ?
|
4558
|
+
s[15] ? is : ns
|
4581
4559
|
)
|
4582
4560
|
);
|
4583
4561
|
}
|
@@ -4599,47 +4577,47 @@ function ls(e) {
|
|
4599
4577
|
}
|
4600
4578
|
};
|
4601
4579
|
}
|
4602
|
-
let
|
4603
|
-
function
|
4580
|
+
let nt = "CasinoSliderData", as = !1, us = !1;
|
4581
|
+
function hs(e, t, r) {
|
4604
4582
|
let n;
|
4605
|
-
|
4606
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: N = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: L = "" } = t, { lobbyiconimage: M = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: A } = t, I, F,
|
4607
|
-
const
|
4583
|
+
Pr(e, qi, (f) => r(33, n = f));
|
4584
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: N = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: L = "" } = t, { lobbyiconimage: M = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: A } = t, I, F, $ = !0, X, W = [], j = !1, vr = window.navigator.userAgent, R, ot, at = !1, Oe = !1;
|
4585
|
+
const _r = () => {
|
4608
4586
|
fetch(O).then((B) => B.json()).then((B) => {
|
4609
4587
|
Object.keys(B).forEach((be) => {
|
4610
|
-
|
4588
|
+
Lt(be, B[be]);
|
4611
4589
|
});
|
4612
4590
|
}).catch((B) => {
|
4613
4591
|
console.log(B);
|
4614
4592
|
});
|
4615
4593
|
};
|
4616
|
-
Object.keys(
|
4617
|
-
|
4594
|
+
Object.keys(It).forEach((f) => {
|
4595
|
+
Lt(f, It[f]);
|
4618
4596
|
});
|
4619
|
-
const
|
4620
|
-
|
4597
|
+
const Er = () => {
|
4598
|
+
at == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
|
4621
4599
|
// @ts-ignore
|
4622
4600
|
id: "MYGAMES",
|
4623
|
-
name:
|
4601
|
+
name: I,
|
4624
4602
|
href: "",
|
4625
4603
|
games: []
|
4626
|
-
}),
|
4627
|
-
},
|
4628
|
-
if (
|
4604
|
+
}), Ur(), at = !0, r(26, Oe = !0), Le();
|
4605
|
+
}, xr = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, $ = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, $ = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, $ = !1), console.error(X)), j), Sr = () => {
|
4606
|
+
if (I = n("myGamesName"), F = n("lobbyName"), !xr()) {
|
4629
4607
|
let f = new URL(`${i}/v1/casino/groups/${s}`);
|
4630
|
-
f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform",
|
4608
|
+
f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", Ji(vr)), fetch(f).then((B) => B.json()).then(
|
4631
4609
|
(B) => {
|
4632
|
-
let be = w.split(","),
|
4610
|
+
let be = w.split(","), Hr = B.items.filter((ht) => {
|
4633
4611
|
let Ie = !1;
|
4634
|
-
if (
|
4635
|
-
for (let
|
4636
|
-
|
4612
|
+
if (ht.games.total > 0 && (Ie = !0, w))
|
4613
|
+
for (let Ar of be)
|
4614
|
+
ht.flags == Ar && (Ie = !1);
|
4637
4615
|
return Ie;
|
4638
4616
|
});
|
4639
|
-
W = [], W = W.concat(
|
4617
|
+
W = [], W = W.concat(Hr), W.unshift({
|
4640
4618
|
// @ts-ignore
|
4641
4619
|
id: "LOBBY",
|
4642
|
-
name:
|
4620
|
+
name: F,
|
4643
4621
|
href: "",
|
4644
4622
|
games: []
|
4645
4623
|
}), r(13, $ = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
|
@@ -4651,26 +4629,26 @@ function ms(e, t, r) {
|
|
4651
4629
|
r(15, j = !0), console.error("There was an error while fetching the categories", B);
|
4652
4630
|
});
|
4653
4631
|
}
|
4654
|
-
},
|
4632
|
+
}, wr = () => {
|
4655
4633
|
let f = b.split("$");
|
4656
4634
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4657
4635
|
}, Le = () => {
|
4658
4636
|
window.postMessage(
|
4659
4637
|
{
|
4660
4638
|
type: "SliderData",
|
4661
|
-
identity:
|
4639
|
+
identity: nt,
|
4662
4640
|
data: W
|
4663
4641
|
},
|
4664
4642
|
window.location.href
|
4665
4643
|
);
|
4666
|
-
},
|
4667
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4644
|
+
}, ut = (f) => {
|
4645
|
+
f.data && f.data.type == "SliderLoaded" && nt == f.data.identity && Le();
|
4668
4646
|
};
|
4669
|
-
|
4670
|
-
window.
|
4647
|
+
Gr(() => (window.addEventListener("message", ut, !1), () => {
|
4648
|
+
window.removeEventListener("message", ut);
|
4671
4649
|
}));
|
4672
|
-
function
|
4673
|
-
|
4650
|
+
function Tr(f) {
|
4651
|
+
$e[f ? "unshift" : "push"](() => {
|
4674
4652
|
R = f, r(14, R);
|
4675
4653
|
});
|
4676
4654
|
}
|
@@ -4678,14 +4656,14 @@ function ms(e, t, r) {
|
|
4678
4656
|
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(18, a = f.userid), "session" in f && r(19, h = f.session), "mostplayed" in f && r(20, u = f.mostplayed), "lastplayed" in f && r(21, l = f.lastplayed), "favorites" in f && r(22, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(23, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, N = f.showsubgroups), "filteredcategories" in f && r(24, w = f.filteredcategories), "translationurl" in f && r(25, O = f.translationurl), "categoriesicon" in f && r(9, L = f.categoriesicon), "lobbyiconimage" in f && r(10, M = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
|
4679
4657
|
}, e.$$.update = () => {
|
4680
4658
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4681
|
-
14 && i && s && o &&
|
4682
|
-
7872514 && i && h && (u || l || m) && !$ &&
|
4683
|
-
67641345 && !$ && b && (!h || Oe) &&
|
4684
|
-
33554432 && O &&
|
4685
|
-
16400 && c && R &&
|
4686
|
-
16416 && d && R &&
|
4687
|
-
20480 && R &&
|
4688
|
-
}, r(16,
|
4659
|
+
14 && i && s && o && Sr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4660
|
+
7872514 && i && h && (u || l || m) && !$ && Er(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4661
|
+
67641345 && !$ && b && (!h || Oe) && wr(), e.$$.dirty[0] & /*translationurl*/
|
4662
|
+
33554432 && O && _r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4663
|
+
16400 && c && R && Ki(R, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4664
|
+
16416 && d && R && es(R, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4665
|
+
20480 && R && ts(R, `${A}.Style`);
|
4666
|
+
}, r(16, ot = 0), [
|
4689
4667
|
b,
|
4690
4668
|
i,
|
4691
4669
|
s,
|
@@ -4702,7 +4680,7 @@ function ms(e, t, r) {
|
|
4702
4680
|
$,
|
4703
4681
|
R,
|
4704
4682
|
j,
|
4705
|
-
|
4683
|
+
ot,
|
4706
4684
|
Le,
|
4707
4685
|
a,
|
4708
4686
|
h,
|
@@ -4713,17 +4691,17 @@ function ms(e, t, r) {
|
|
4713
4691
|
w,
|
4714
4692
|
O,
|
4715
4693
|
Oe,
|
4716
|
-
|
4694
|
+
Tr
|
4717
4695
|
];
|
4718
4696
|
}
|
4719
|
-
class
|
4697
|
+
class ls extends zr {
|
4720
4698
|
constructor(t) {
|
4721
|
-
super(),
|
4699
|
+
super(), Xr(
|
4722
4700
|
this,
|
4723
4701
|
t,
|
4724
|
-
|
4725
|
-
|
4726
|
-
|
4702
|
+
hs,
|
4703
|
+
os,
|
4704
|
+
Mt,
|
4727
4705
|
{
|
4728
4706
|
endpoint: 1,
|
4729
4707
|
datasource: 2,
|
@@ -4747,7 +4725,7 @@ class ds extends Jr {
|
|
4747
4725
|
mygamesiconimage: 11,
|
4748
4726
|
mbsource: 12
|
4749
4727
|
},
|
4750
|
-
|
4728
|
+
rs,
|
4751
4729
|
[-1, -1]
|
4752
4730
|
);
|
4753
4731
|
}
|
@@ -4878,38 +4856,38 @@ class ds extends Jr {
|
|
4878
4856
|
this.$$set({ mbsource: t }), S();
|
4879
4857
|
}
|
4880
4858
|
}
|
4881
|
-
|
4859
|
+
Wr(ls, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4882
4860
|
export {
|
4883
4861
|
de as $,
|
4884
|
-
|
4885
|
-
|
4886
|
-
|
4887
|
-
|
4888
|
-
|
4862
|
+
Ki as A,
|
4863
|
+
es as B,
|
4864
|
+
ts as C,
|
4865
|
+
ls as D,
|
4866
|
+
zr as S,
|
4889
4867
|
me as a,
|
4890
|
-
|
4891
|
-
|
4892
|
-
|
4893
|
-
|
4868
|
+
dr as b,
|
4869
|
+
Wr as c,
|
4870
|
+
Or as d,
|
4871
|
+
ne as e,
|
4894
4872
|
S as f,
|
4895
|
-
|
4896
|
-
|
4897
|
-
|
4898
|
-
|
4899
|
-
|
4900
|
-
|
4901
|
-
|
4873
|
+
fe as g,
|
4874
|
+
ce as h,
|
4875
|
+
Xr as i,
|
4876
|
+
Gt as j,
|
4877
|
+
k,
|
4878
|
+
bs as l,
|
4879
|
+
ms as m,
|
4902
4880
|
P as n,
|
4903
|
-
|
4904
|
-
|
4905
|
-
|
4881
|
+
Gr as o,
|
4882
|
+
gs as p,
|
4883
|
+
ds as q,
|
4906
4884
|
re as r,
|
4907
|
-
|
4908
|
-
|
4909
|
-
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4913
|
-
|
4914
|
-
|
4885
|
+
Mt as s,
|
4886
|
+
$e as t,
|
4887
|
+
vs as u,
|
4888
|
+
cs as v,
|
4889
|
+
ps as w,
|
4890
|
+
Ut as x,
|
4891
|
+
fs as y,
|
4892
|
+
ys as z
|
4915
4893
|
};
|