@everymatrix/casino-categories-slider 1.64.8 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesSlider-DMC9CFDg.js → CasinoCategoriesSlider-BT4_95W2.js} +785 -806
- package/components/{CasinoCategoriesSlider-Qhx13ZiU.js → CasinoCategoriesSlider-DLHKRyzT.js} +724 -745
- package/components/CasinoCategoriesSlider-DoxYbJgX.cjs +18 -0
- package/components/{CasinoSlider-BCZsEGOH.js → CasinoSlider-B_nmfSXX.js} +32 -32
- package/components/{CasinoSlider-4oZFStFQ.js → CasinoSlider-BvhhIhXx.js} +34 -34
- package/components/{CasinoSlider-BViBOG_Y.cjs → CasinoSlider-CzI-C2WV.cjs} +1 -1
- 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-Bd1R0RB0.cjs +0 -18
package/components/{CasinoCategoriesSlider-DMC9CFDg.js → CasinoCategoriesSlider-BT4_95W2.js}
RENAMED
@@ -1,22 +1,22 @@
|
|
1
1
|
function I() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Ut(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function dt() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
9
|
+
function re(e) {
|
10
|
+
e.forEach(Ut);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function nt(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function Dt(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 ds(e, t) {
|
20
20
|
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
21
21
|
}
|
22
22
|
function Ir(e) {
|
@@ -31,13 +31,13 @@ function Ft(e, ...t) {
|
|
31
31
|
const r = e.subscribe(...t);
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
33
33
|
}
|
34
|
-
function
|
34
|
+
function Mr(e, t, r) {
|
35
35
|
e.$$.on_destroy.push(Ft(t, r));
|
36
36
|
}
|
37
|
-
function
|
37
|
+
function $t(e, t) {
|
38
38
|
e.appendChild(t);
|
39
39
|
}
|
40
|
-
function
|
40
|
+
function Cr(e, t, r) {
|
41
41
|
const n = Rr(e);
|
42
42
|
if (!n.getElementById(t)) {
|
43
43
|
const i = k("style");
|
@@ -55,48 +55,48 @@ function Rr(e) {
|
|
55
55
|
) : e.ownerDocument;
|
56
56
|
}
|
57
57
|
function Gr(e, t) {
|
58
|
-
return
|
58
|
+
return $t(
|
59
59
|
/** @type {Document} */
|
60
60
|
e.head || e,
|
61
61
|
t
|
62
62
|
), t.sheet;
|
63
63
|
}
|
64
|
-
function
|
64
|
+
function ce(e, t, r) {
|
65
65
|
e.insertBefore(t, r || null);
|
66
66
|
}
|
67
|
-
function
|
67
|
+
function ne(e) {
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
69
69
|
}
|
70
|
-
function
|
70
|
+
function bs(e, t) {
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
72
72
|
e[r] && e[r].d(t);
|
73
73
|
}
|
74
74
|
function k(e) {
|
75
75
|
return document.createElement(e);
|
76
76
|
}
|
77
|
-
function
|
77
|
+
function jt(e) {
|
78
78
|
return document.createTextNode(e);
|
79
79
|
}
|
80
|
-
function
|
81
|
-
return
|
80
|
+
function ps() {
|
81
|
+
return jt(" ");
|
82
82
|
}
|
83
83
|
function gs() {
|
84
|
-
return
|
84
|
+
return jt("");
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function ys(e, t, r, n) {
|
87
87
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
88
88
|
}
|
89
|
-
function
|
89
|
+
function fe(e, t, r) {
|
90
90
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
91
91
|
}
|
92
|
-
function
|
92
|
+
function _(e, t, r) {
|
93
93
|
const n = t.toLowerCase();
|
94
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
94
|
+
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);
|
95
95
|
}
|
96
96
|
function Ur(e) {
|
97
97
|
return Array.from(e.childNodes);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function vs(e, t) {
|
100
100
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
101
101
|
t);
|
102
102
|
}
|
@@ -109,63 +109,63 @@ function Dr(e) {
|
|
109
109
|
}
|
110
110
|
), t;
|
111
111
|
}
|
112
|
-
let
|
113
|
-
function
|
114
|
-
|
112
|
+
let ue;
|
113
|
+
function ae(e) {
|
114
|
+
ue = e;
|
115
115
|
}
|
116
|
-
function
|
117
|
-
if (!
|
116
|
+
function Fr() {
|
117
|
+
if (!ue)
|
118
118
|
throw new Error("Function called outside component initialization");
|
119
|
-
return
|
119
|
+
return ue;
|
120
120
|
}
|
121
|
-
function
|
122
|
-
|
121
|
+
function $r(e) {
|
122
|
+
Fr().$$.on_mount.push(e);
|
123
123
|
}
|
124
|
-
const Q = [],
|
124
|
+
const Q = [], Fe = [];
|
125
125
|
let Y = [];
|
126
|
-
const
|
127
|
-
let
|
128
|
-
function
|
129
|
-
|
126
|
+
const bt = [], kt = /* @__PURE__ */ Promise.resolve();
|
127
|
+
let $e = !1;
|
128
|
+
function Vt() {
|
129
|
+
$e || ($e = !0, kt.then(S));
|
130
130
|
}
|
131
131
|
function jr() {
|
132
|
-
return
|
132
|
+
return Vt(), kt;
|
133
133
|
}
|
134
|
-
function
|
134
|
+
function je(e) {
|
135
135
|
Y.push(e);
|
136
136
|
}
|
137
|
-
const
|
137
|
+
const Le = /* @__PURE__ */ new Set();
|
138
138
|
let z = 0;
|
139
|
-
function
|
139
|
+
function S() {
|
140
140
|
if (z !== 0)
|
141
141
|
return;
|
142
|
-
const e =
|
142
|
+
const e = ue;
|
143
143
|
do {
|
144
144
|
try {
|
145
145
|
for (; z < Q.length; ) {
|
146
146
|
const t = Q[z];
|
147
|
-
z++,
|
147
|
+
z++, ae(t), kr(t.$$);
|
148
148
|
}
|
149
149
|
} catch (t) {
|
150
150
|
throw Q.length = 0, z = 0, t;
|
151
151
|
}
|
152
|
-
for (
|
153
|
-
|
152
|
+
for (ae(null), Q.length = 0, z = 0; Fe.length; )
|
153
|
+
Fe.pop()();
|
154
154
|
for (let t = 0; t < Y.length; t += 1) {
|
155
155
|
const r = Y[t];
|
156
|
-
|
156
|
+
Le.has(r) || (Le.add(r), r());
|
157
157
|
}
|
158
158
|
Y.length = 0;
|
159
159
|
} while (Q.length);
|
160
|
-
for (;
|
161
|
-
|
162
|
-
|
160
|
+
for (; bt.length; )
|
161
|
+
bt.pop()();
|
162
|
+
$e = !1, Le.clear(), ae(e);
|
163
163
|
}
|
164
164
|
function kr(e) {
|
165
165
|
if (e.fragment !== null) {
|
166
|
-
e.update(),
|
166
|
+
e.update(), re(e.before_update);
|
167
167
|
const t = e.dirty;
|
168
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
168
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
|
169
169
|
}
|
170
170
|
}
|
171
171
|
function Vr(e) {
|
@@ -173,59 +173,59 @@ function Vr(e) {
|
|
173
173
|
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
174
174
|
}
|
175
175
|
const Xr = /* @__PURE__ */ new Set();
|
176
|
-
function
|
176
|
+
function Xt(e, t) {
|
177
177
|
e && e.i && (Xr.delete(e), e.i(t));
|
178
178
|
}
|
179
|
-
function
|
179
|
+
function _s(e) {
|
180
180
|
return e?.length !== void 0 ? e : Array.from(e);
|
181
181
|
}
|
182
|
-
function
|
182
|
+
function Es(e, t) {
|
183
183
|
e.d(1), t.delete(e.key);
|
184
184
|
}
|
185
|
-
function
|
185
|
+
function xs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
186
186
|
let c = e.length, d = s.length, b = c;
|
187
|
-
const
|
187
|
+
const y = {};
|
188
188
|
for (; b--; )
|
189
|
-
|
190
|
-
const T = [],
|
189
|
+
y[e[b].key] = b;
|
190
|
+
const T = [], M = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
|
191
191
|
for (b = d; b--; ) {
|
192
|
-
const
|
193
|
-
let L = o.get(
|
194
|
-
L ? w.push(() => L.p(
|
192
|
+
const E = m(i, s, b), B = r(E);
|
193
|
+
let L = o.get(B);
|
194
|
+
L ? w.push(() => L.p(E, t)) : (L = u(B, E), L.c()), M.set(B, T[b] = L), B in y && P.set(B, Math.abs(b - y[B]));
|
195
195
|
}
|
196
|
-
const
|
197
|
-
function
|
198
|
-
|
196
|
+
const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
197
|
+
function C(E) {
|
198
|
+
Xt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
|
199
199
|
}
|
200
200
|
for (; c && d; ) {
|
201
|
-
const
|
202
|
-
|
201
|
+
const E = T[d - 1], B = e[c - 1], L = E.key, F = B.key;
|
202
|
+
E === B ? (l = E.first, c--, d--) : M.has(F) ? !o.has(L) || N.has(L) ? C(E) : O.has(F) ? c-- : P.get(L) > P.get(F) ? (O.add(L), C(E)) : (N.add(F), c--) : (h(B, o), c--);
|
203
203
|
}
|
204
204
|
for (; c--; ) {
|
205
|
-
const
|
206
|
-
|
205
|
+
const E = e[c];
|
206
|
+
M.has(E.key) || h(E, o);
|
207
207
|
}
|
208
208
|
for (; d; )
|
209
|
-
|
210
|
-
return
|
209
|
+
C(T[d - 1]);
|
210
|
+
return re(w), T;
|
211
211
|
}
|
212
212
|
function Wr(e, t, r) {
|
213
213
|
const { fragment: n, after_update: i } = e.$$;
|
214
|
-
n && n.m(t, r),
|
215
|
-
const s = e.$$.on_mount.map(
|
216
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
217
|
-
}), i.forEach(
|
214
|
+
n && n.m(t, r), je(() => {
|
215
|
+
const s = e.$$.on_mount.map(Ut).filter(nt);
|
216
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
217
|
+
}), i.forEach(je);
|
218
218
|
}
|
219
219
|
function zr(e, t) {
|
220
220
|
const r = e.$$;
|
221
|
-
r.fragment !== null && (Vr(r.after_update),
|
221
|
+
r.fragment !== null && (Vr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
222
222
|
}
|
223
223
|
function Zr(e, t) {
|
224
|
-
e.$$.dirty[0] === -1 && (Q.push(e),
|
224
|
+
e.$$.dirty[0] === -1 && (Q.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
225
225
|
}
|
226
226
|
function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
227
|
-
const h =
|
228
|
-
|
227
|
+
const h = ue;
|
228
|
+
ae(e);
|
229
229
|
const u = e.$$ = {
|
230
230
|
fragment: null,
|
231
231
|
ctx: [],
|
@@ -233,7 +233,7 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
233
233
|
props: s,
|
234
234
|
update: I,
|
235
235
|
not_equal: i,
|
236
|
-
bound:
|
236
|
+
bound: dt(),
|
237
237
|
// lifecycle
|
238
238
|
on_mount: [],
|
239
239
|
on_destroy: [],
|
@@ -242,7 +242,7 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
242
242
|
after_update: [],
|
243
243
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
244
244
|
// everything else
|
245
|
-
callbacks:
|
245
|
+
callbacks: dt(),
|
246
246
|
dirty: a,
|
247
247
|
skip_bound: !1,
|
248
248
|
root: t.target || h.$$.root
|
@@ -252,18 +252,18 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
252
252
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
253
253
|
const b = d.length ? d[0] : c;
|
254
254
|
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Zr(e, m)), c;
|
255
|
-
}) : [], u.update(), l = !0,
|
255
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
256
256
|
if (t.hydrate) {
|
257
257
|
const m = Ur(t.target);
|
258
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
258
|
+
u.fragment && u.fragment.l(m), m.forEach(ne);
|
259
259
|
} else
|
260
260
|
u.fragment && u.fragment.c();
|
261
|
-
t.intro &&
|
261
|
+
t.intro && Xt(e.$$.fragment), Wr(e, t.target, t.anchor), S();
|
262
262
|
}
|
263
|
-
|
263
|
+
ae(h);
|
264
264
|
}
|
265
|
-
let
|
266
|
-
typeof HTMLElement == "function" && (
|
265
|
+
let Wt;
|
266
|
+
typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
267
267
|
/** The Svelte component constructor */
|
268
268
|
$$ctor;
|
269
269
|
/** Slots */
|
@@ -305,17 +305,17 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
305
305
|
let s;
|
306
306
|
return {
|
307
307
|
c: function() {
|
308
|
-
s = k("slot"), i !== "default" &&
|
308
|
+
s = k("slot"), i !== "default" && fe(s, "name", i);
|
309
309
|
},
|
310
310
|
/**
|
311
311
|
* @param {HTMLElement} target
|
312
312
|
* @param {HTMLElement} [anchor]
|
313
313
|
*/
|
314
314
|
m: function(h, u) {
|
315
|
-
|
315
|
+
ce(h, s, u);
|
316
316
|
},
|
317
317
|
d: function(h) {
|
318
|
-
h &&
|
318
|
+
h && ne(s);
|
319
319
|
}
|
320
320
|
};
|
321
321
|
};
|
@@ -410,7 +410,7 @@ function ve(e, t, r, n) {
|
|
410
410
|
}
|
411
411
|
}
|
412
412
|
function Yr(e, t, r, n, i, s) {
|
413
|
-
let o = class extends
|
413
|
+
let o = class extends Wt {
|
414
414
|
constructor() {
|
415
415
|
super(e, r, i), this.$$p_d = t;
|
416
416
|
}
|
@@ -466,7 +466,7 @@ class qr {
|
|
466
466
|
* @returns {() => void}
|
467
467
|
*/
|
468
468
|
$on(t, r) {
|
469
|
-
if (!
|
469
|
+
if (!nt(r))
|
470
470
|
return I;
|
471
471
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
472
472
|
return n.push(r), () => {
|
@@ -498,24 +498,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
498
498
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
499
499
|
PERFORMANCE OF THIS SOFTWARE.
|
500
500
|
***************************************************************************** */
|
501
|
-
var
|
502
|
-
return
|
501
|
+
var ke = function(e, t) {
|
502
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
503
503
|
r.__proto__ = n;
|
504
504
|
} || function(r, n) {
|
505
505
|
for (var i in n)
|
506
506
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
507
|
-
},
|
507
|
+
}, ke(e, t);
|
508
508
|
};
|
509
|
-
function
|
509
|
+
function U(e, t) {
|
510
510
|
if (typeof t != "function" && t !== null)
|
511
511
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
512
|
-
|
512
|
+
ke(e, t);
|
513
513
|
function r() {
|
514
514
|
this.constructor = e;
|
515
515
|
}
|
516
516
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
517
517
|
}
|
518
|
-
function
|
518
|
+
var v = function() {
|
519
|
+
return v = Object.assign || function(t) {
|
520
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
521
|
+
r = arguments[n];
|
522
|
+
for (var s in r)
|
523
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
524
|
+
}
|
525
|
+
return t;
|
526
|
+
}, v.apply(this, arguments);
|
527
|
+
};
|
528
|
+
function Kr(e, t) {
|
529
|
+
var r = {};
|
530
|
+
for (var n in e)
|
531
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
532
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
533
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
534
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
535
|
+
return r;
|
536
|
+
}
|
537
|
+
function Ve(e) {
|
519
538
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
520
539
|
if (r)
|
521
540
|
return r.call(e);
|
@@ -527,7 +546,7 @@ function We(e) {
|
|
527
546
|
};
|
528
547
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
529
548
|
}
|
530
|
-
function
|
549
|
+
function Xe(e, t) {
|
531
550
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
532
551
|
if (!r)
|
533
552
|
return e;
|
@@ -547,22 +566,22 @@ function ze(e, t) {
|
|
547
566
|
}
|
548
567
|
return s;
|
549
568
|
}
|
550
|
-
function
|
551
|
-
if (arguments.length === 2)
|
569
|
+
function q(e, t, r) {
|
570
|
+
if (r || arguments.length === 2)
|
552
571
|
for (var n = 0, i = t.length, s; n < i; n++)
|
553
572
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
554
573
|
return e.concat(s || t);
|
555
574
|
}
|
556
|
-
function
|
575
|
+
function G(e) {
|
557
576
|
return typeof e == "function";
|
558
577
|
}
|
559
|
-
function
|
578
|
+
function zt(e) {
|
560
579
|
var t = function(n) {
|
561
580
|
Error.call(n), n.stack = new Error().stack;
|
562
581
|
}, r = e(t);
|
563
582
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
564
583
|
}
|
565
|
-
var
|
584
|
+
var Ie = zt(function(e) {
|
566
585
|
return function(r) {
|
567
586
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
568
587
|
` + r.map(function(n, i) {
|
@@ -571,13 +590,13 @@ var Me = Zt(function(e) {
|
|
571
590
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
572
591
|
};
|
573
592
|
});
|
574
|
-
function
|
593
|
+
function We(e, t) {
|
575
594
|
if (e) {
|
576
595
|
var r = e.indexOf(t);
|
577
596
|
0 <= r && e.splice(r, 1);
|
578
597
|
}
|
579
598
|
}
|
580
|
-
var
|
599
|
+
var Te = function() {
|
581
600
|
function e(t) {
|
582
601
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
583
602
|
}
|
@@ -589,12 +608,12 @@ var He = function() {
|
|
589
608
|
if (o)
|
590
609
|
if (this._parentage = null, Array.isArray(o))
|
591
610
|
try {
|
592
|
-
for (var a =
|
611
|
+
for (var a = Ve(o), h = a.next(); !h.done; h = a.next()) {
|
593
612
|
var u = h.value;
|
594
613
|
u.remove(this);
|
595
614
|
}
|
596
|
-
} catch (
|
597
|
-
t = { error:
|
615
|
+
} catch (y) {
|
616
|
+
t = { error: y };
|
598
617
|
} finally {
|
599
618
|
try {
|
600
619
|
h && !h.done && (r = a.return) && r.call(a);
|
@@ -606,26 +625,26 @@ var He = function() {
|
|
606
625
|
else
|
607
626
|
o.remove(this);
|
608
627
|
var l = this.initialTeardown;
|
609
|
-
if (
|
628
|
+
if (G(l))
|
610
629
|
try {
|
611
630
|
l();
|
612
|
-
} catch (
|
613
|
-
s =
|
631
|
+
} catch (y) {
|
632
|
+
s = y instanceof Ie ? y.errors : [y];
|
614
633
|
}
|
615
634
|
var m = this._finalizers;
|
616
635
|
if (m) {
|
617
636
|
this._finalizers = null;
|
618
637
|
try {
|
619
|
-
for (var c =
|
638
|
+
for (var c = Ve(m), d = c.next(); !d.done; d = c.next()) {
|
620
639
|
var b = d.value;
|
621
640
|
try {
|
622
|
-
|
623
|
-
} catch (
|
624
|
-
s = s ?? [],
|
641
|
+
pt(b);
|
642
|
+
} catch (y) {
|
643
|
+
s = s ?? [], y instanceof Ie ? s = q(q([], Xe(s)), Xe(y.errors)) : s.push(y);
|
625
644
|
}
|
626
645
|
}
|
627
|
-
} catch (
|
628
|
-
n = { error:
|
646
|
+
} catch (y) {
|
647
|
+
n = { error: y };
|
629
648
|
} finally {
|
630
649
|
try {
|
631
650
|
d && !d.done && (i = c.return) && i.call(c);
|
@@ -636,13 +655,13 @@ var He = function() {
|
|
636
655
|
}
|
637
656
|
}
|
638
657
|
if (s)
|
639
|
-
throw new
|
658
|
+
throw new Ie(s);
|
640
659
|
}
|
641
660
|
}, e.prototype.add = function(t) {
|
642
661
|
var r;
|
643
662
|
if (t && t !== this)
|
644
663
|
if (this.closed)
|
645
|
-
|
664
|
+
pt(t);
|
646
665
|
else {
|
647
666
|
if (t instanceof e) {
|
648
667
|
if (t.closed || t._hasParent(this))
|
@@ -659,28 +678,32 @@ var He = function() {
|
|
659
678
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
660
679
|
}, e.prototype._removeParent = function(t) {
|
661
680
|
var r = this._parentage;
|
662
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
681
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
663
682
|
}, e.prototype.remove = function(t) {
|
664
683
|
var r = this._finalizers;
|
665
|
-
r &&
|
684
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
666
685
|
}, e.EMPTY = function() {
|
667
686
|
var t = new e();
|
668
687
|
return t.closed = !0, t;
|
669
688
|
}(), e;
|
670
|
-
}(),
|
671
|
-
function
|
672
|
-
return e instanceof
|
673
|
-
}
|
674
|
-
function
|
675
|
-
|
676
|
-
}
|
677
|
-
var
|
678
|
-
|
689
|
+
}(), Zt = Te.EMPTY;
|
690
|
+
function Qt(e) {
|
691
|
+
return e instanceof Te || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
692
|
+
}
|
693
|
+
function pt(e) {
|
694
|
+
G(e) ? e() : e.unsubscribe();
|
695
|
+
}
|
696
|
+
var Yt = {
|
697
|
+
onUnhandledError: null,
|
698
|
+
onStoppedNotification: null,
|
699
|
+
Promise: void 0,
|
700
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
701
|
+
useDeprecatedNextContext: !1
|
679
702
|
}, en = {
|
680
703
|
setTimeout: function(e, t) {
|
681
704
|
for (var r = [], n = 2; n < arguments.length; n++)
|
682
705
|
r[n - 2] = arguments[n];
|
683
|
-
return setTimeout.apply(void 0,
|
706
|
+
return setTimeout.apply(void 0, q([e, t], Xe(r)));
|
684
707
|
},
|
685
708
|
clearTimeout: function(e) {
|
686
709
|
return clearTimeout(e);
|
@@ -698,13 +721,13 @@ function _e(e) {
|
|
698
721
|
e();
|
699
722
|
}
|
700
723
|
var qt = function(e) {
|
701
|
-
|
724
|
+
U(t, e);
|
702
725
|
function t(r) {
|
703
726
|
var n = e.call(this) || this;
|
704
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
727
|
+
return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = on, n;
|
705
728
|
}
|
706
729
|
return t.create = function(r, n, i) {
|
707
|
-
return new
|
730
|
+
return new ze(r, n, i);
|
708
731
|
}, t.prototype.next = function(r) {
|
709
732
|
this.isStopped || this._next(r);
|
710
733
|
}, t.prototype.error = function(r) {
|
@@ -728,7 +751,11 @@ var qt = function(e) {
|
|
728
751
|
this.unsubscribe();
|
729
752
|
}
|
730
753
|
}, t;
|
731
|
-
}(
|
754
|
+
}(Te), rn = Function.prototype.bind;
|
755
|
+
function Me(e, t) {
|
756
|
+
return rn.call(e, t);
|
757
|
+
}
|
758
|
+
var nn = function() {
|
732
759
|
function e(t) {
|
733
760
|
this.partialObserver = t;
|
734
761
|
}
|
@@ -738,7 +765,7 @@ var qt = function(e) {
|
|
738
765
|
try {
|
739
766
|
r.next(t);
|
740
767
|
} catch (n) {
|
741
|
-
|
768
|
+
ge(n);
|
742
769
|
}
|
743
770
|
}, e.prototype.error = function(t) {
|
744
771
|
var r = this.partialObserver;
|
@@ -746,56 +773,68 @@ var qt = function(e) {
|
|
746
773
|
try {
|
747
774
|
r.error(t);
|
748
775
|
} catch (n) {
|
749
|
-
|
776
|
+
ge(n);
|
750
777
|
}
|
751
778
|
else
|
752
|
-
|
779
|
+
ge(t);
|
753
780
|
}, e.prototype.complete = function() {
|
754
781
|
var t = this.partialObserver;
|
755
782
|
if (t.complete)
|
756
783
|
try {
|
757
784
|
t.complete();
|
758
785
|
} catch (r) {
|
759
|
-
|
786
|
+
ge(r);
|
760
787
|
}
|
761
788
|
}, e;
|
762
|
-
}(),
|
763
|
-
|
789
|
+
}(), ze = function(e) {
|
790
|
+
U(t, e);
|
764
791
|
function t(r, n, i) {
|
765
792
|
var s = e.call(this) || this, o;
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
793
|
+
if (G(r) || !r)
|
794
|
+
o = {
|
795
|
+
next: r ?? void 0,
|
796
|
+
error: n ?? void 0,
|
797
|
+
complete: i ?? void 0
|
798
|
+
};
|
799
|
+
else {
|
800
|
+
var a;
|
801
|
+
s && Yt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
802
|
+
return s.unsubscribe();
|
803
|
+
}, o = {
|
804
|
+
next: r.next && Me(r.next, a),
|
805
|
+
error: r.error && Me(r.error, a),
|
806
|
+
complete: r.complete && Me(r.complete, a)
|
807
|
+
}) : o = r;
|
808
|
+
}
|
809
|
+
return s.destination = new nn(o), s;
|
771
810
|
}
|
772
811
|
return t;
|
773
812
|
}(qt);
|
774
|
-
function
|
813
|
+
function ge(e) {
|
775
814
|
tn(e);
|
776
815
|
}
|
777
|
-
function
|
816
|
+
function sn(e) {
|
778
817
|
throw e;
|
779
818
|
}
|
780
|
-
var
|
819
|
+
var on = {
|
781
820
|
closed: !0,
|
782
821
|
next: gt,
|
783
|
-
error:
|
822
|
+
error: sn,
|
784
823
|
complete: gt
|
785
|
-
},
|
824
|
+
}, an = function() {
|
786
825
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
787
826
|
}();
|
788
|
-
function
|
827
|
+
function un(e) {
|
789
828
|
return e;
|
790
829
|
}
|
791
|
-
function
|
792
|
-
return e.length === 0 ?
|
830
|
+
function hn(e) {
|
831
|
+
return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
|
793
832
|
return e.reduce(function(n, i) {
|
794
833
|
return i(n);
|
795
834
|
}, r);
|
796
835
|
};
|
797
836
|
}
|
798
|
-
var
|
837
|
+
var yt = function() {
|
799
838
|
function e(t) {
|
800
839
|
t && (this._subscribe = t);
|
801
840
|
}
|
@@ -803,7 +842,7 @@ var vt = function() {
|
|
803
842
|
var r = new e();
|
804
843
|
return r.source = this, r.operator = t, r;
|
805
844
|
}, e.prototype.subscribe = function(t, r, n) {
|
806
|
-
var i = this, s =
|
845
|
+
var i = this, s = cn(t) ? t : new ze(t, r, n);
|
807
846
|
return _e(function() {
|
808
847
|
var o = i, a = o.operator, h = o.source;
|
809
848
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
@@ -816,8 +855,8 @@ var vt = function() {
|
|
816
855
|
}
|
817
856
|
}, e.prototype.forEach = function(t, r) {
|
818
857
|
var n = this;
|
819
|
-
return r =
|
820
|
-
var o = new
|
858
|
+
return r = vt(r), new r(function(i, s) {
|
859
|
+
var o = new ze({
|
821
860
|
next: function(a) {
|
822
861
|
try {
|
823
862
|
t(a);
|
@@ -833,15 +872,15 @@ var vt = function() {
|
|
833
872
|
}, e.prototype._subscribe = function(t) {
|
834
873
|
var r;
|
835
874
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
836
|
-
}, e.prototype[
|
875
|
+
}, e.prototype[an] = function() {
|
837
876
|
return this;
|
838
877
|
}, e.prototype.pipe = function() {
|
839
878
|
for (var t = [], r = 0; r < arguments.length; r++)
|
840
879
|
t[r] = arguments[r];
|
841
|
-
return
|
880
|
+
return hn(t)(this);
|
842
881
|
}, e.prototype.toPromise = function(t) {
|
843
882
|
var r = this;
|
844
|
-
return t =
|
883
|
+
return t = vt(t), new t(function(n, i) {
|
845
884
|
var s;
|
846
885
|
r.subscribe(function(o) {
|
847
886
|
return s = o;
|
@@ -855,32 +894,32 @@ var vt = function() {
|
|
855
894
|
return new e(t);
|
856
895
|
}, e;
|
857
896
|
}();
|
858
|
-
function
|
897
|
+
function vt(e) {
|
859
898
|
var t;
|
860
|
-
return (t = e ??
|
861
|
-
}
|
862
|
-
function hn(e) {
|
863
|
-
return e && U(e.next) && U(e.error) && U(e.complete);
|
899
|
+
return (t = e ?? Yt.Promise) !== null && t !== void 0 ? t : Promise;
|
864
900
|
}
|
865
901
|
function ln(e) {
|
866
|
-
return e && e
|
902
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
903
|
+
}
|
904
|
+
function cn(e) {
|
905
|
+
return e && e instanceof qt || ln(e) && Qt(e);
|
867
906
|
}
|
868
|
-
var
|
907
|
+
var fn = zt(function(e) {
|
869
908
|
return function() {
|
870
909
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
871
910
|
};
|
872
911
|
}), Jt = function(e) {
|
873
|
-
|
912
|
+
U(t, e);
|
874
913
|
function t() {
|
875
914
|
var r = e.call(this) || this;
|
876
915
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
877
916
|
}
|
878
917
|
return t.prototype.lift = function(r) {
|
879
|
-
var n = new
|
918
|
+
var n = new _t(this, this);
|
880
919
|
return n.operator = r, n;
|
881
920
|
}, t.prototype._throwIfClosed = function() {
|
882
921
|
if (this.closed)
|
883
|
-
throw new
|
922
|
+
throw new fn();
|
884
923
|
}, t.prototype.next = function(r) {
|
885
924
|
var n = this;
|
886
925
|
_e(function() {
|
@@ -888,7 +927,7 @@ var cn = Zt(function(e) {
|
|
888
927
|
if (n._throwIfClosed(), !n.isStopped) {
|
889
928
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
890
929
|
try {
|
891
|
-
for (var o =
|
930
|
+
for (var o = Ve(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
892
931
|
var h = a.value;
|
893
932
|
h.next(r);
|
894
933
|
}
|
@@ -937,20 +976,20 @@ var cn = Zt(function(e) {
|
|
937
976
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
938
977
|
}, t.prototype._innerSubscribe = function(r) {
|
939
978
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
940
|
-
return s || o ?
|
941
|
-
n.currentObservers = null,
|
979
|
+
return s || o ? Zt : (this.currentObservers = null, a.push(r), new Te(function() {
|
980
|
+
n.currentObservers = null, We(a, r);
|
942
981
|
}));
|
943
982
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
944
983
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
945
984
|
i ? r.error(s) : o && r.complete();
|
946
985
|
}, t.prototype.asObservable = function() {
|
947
|
-
var r = new
|
986
|
+
var r = new yt();
|
948
987
|
return r.source = this, r;
|
949
988
|
}, t.create = function(r, n) {
|
950
|
-
return new
|
989
|
+
return new _t(r, n);
|
951
990
|
}, t;
|
952
|
-
}(
|
953
|
-
|
991
|
+
}(yt), _t = function(e) {
|
992
|
+
U(t, e);
|
954
993
|
function t(r, n) {
|
955
994
|
var i = e.call(this) || this;
|
956
995
|
return i.destination = r, i.source = n, i;
|
@@ -966,15 +1005,15 @@ var cn = Zt(function(e) {
|
|
966
1005
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
967
1006
|
}, t.prototype._subscribe = function(r) {
|
968
1007
|
var n, i;
|
969
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
1008
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
|
970
1009
|
}, t;
|
971
1010
|
}(Jt), Kt = {
|
972
1011
|
now: function() {
|
973
1012
|
return (Kt.delegate || Date).now();
|
974
1013
|
},
|
975
1014
|
delegate: void 0
|
976
|
-
},
|
977
|
-
|
1015
|
+
}, mn = function(e) {
|
1016
|
+
U(t, e);
|
978
1017
|
function t(r, n, i) {
|
979
1018
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
|
980
1019
|
var s = e.call(this) || this;
|
@@ -997,23 +1036,23 @@ var cn = Zt(function(e) {
|
|
997
1036
|
}
|
998
1037
|
}, t;
|
999
1038
|
}(Jt);
|
1000
|
-
const
|
1001
|
-
if (
|
1002
|
-
const r = new
|
1003
|
-
|
1039
|
+
const Et = [], xt = {}, dn = (e, t = 0) => {
|
1040
|
+
if (Et.indexOf(e) == -1) {
|
1041
|
+
const r = new mn(t);
|
1042
|
+
xt[e] = r, Et.push(e);
|
1004
1043
|
}
|
1005
|
-
return
|
1044
|
+
return xt[e];
|
1006
1045
|
}, Z = [];
|
1007
|
-
function
|
1046
|
+
function bn(e, t) {
|
1008
1047
|
return {
|
1009
|
-
subscribe:
|
1048
|
+
subscribe: He(e, t).subscribe
|
1010
1049
|
};
|
1011
1050
|
}
|
1012
|
-
function
|
1051
|
+
function He(e, t = I) {
|
1013
1052
|
let r;
|
1014
1053
|
const n = /* @__PURE__ */ new Set();
|
1015
1054
|
function i(a) {
|
1016
|
-
if (
|
1055
|
+
if (Dt(e, a) && (e = a, r)) {
|
1017
1056
|
const h = !Z.length;
|
1018
1057
|
for (const u of n)
|
1019
1058
|
u[1](), Z.push(u, e);
|
@@ -1035,12 +1074,12 @@ function Ae(e, t = I) {
|
|
1035
1074
|
}
|
1036
1075
|
return { set: i, update: s, subscribe: o };
|
1037
1076
|
}
|
1038
|
-
function
|
1077
|
+
function ie(e, t, r) {
|
1039
1078
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1040
1079
|
if (!i.every(Boolean))
|
1041
1080
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1042
1081
|
const s = t.length < 2;
|
1043
|
-
return
|
1082
|
+
return bn(r, (o, a) => {
|
1044
1083
|
let h = !1;
|
1045
1084
|
const u = [];
|
1046
1085
|
let l = 0, m = I;
|
@@ -1049,64 +1088,64 @@ function ne(e, t, r) {
|
|
1049
1088
|
return;
|
1050
1089
|
m();
|
1051
1090
|
const b = t(n ? u[0] : u, o, a);
|
1052
|
-
s ? o(b) : m =
|
1091
|
+
s ? o(b) : m = nt(b) ? b : I;
|
1053
1092
|
}, d = i.map(
|
1054
|
-
(b,
|
1093
|
+
(b, y) => Ft(
|
1055
1094
|
b,
|
1056
1095
|
(T) => {
|
1057
|
-
u[
|
1096
|
+
u[y] = T, l &= ~(1 << y), h && c();
|
1058
1097
|
},
|
1059
1098
|
() => {
|
1060
|
-
l |= 1 <<
|
1099
|
+
l |= 1 << y;
|
1061
1100
|
}
|
1062
1101
|
)
|
1063
1102
|
);
|
1064
1103
|
return h = !0, c(), function() {
|
1065
|
-
|
1104
|
+
re(d), m(), h = !1;
|
1066
1105
|
};
|
1067
1106
|
});
|
1068
1107
|
}
|
1069
|
-
function
|
1108
|
+
function pn(e) {
|
1070
1109
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1071
1110
|
}
|
1072
|
-
var
|
1073
|
-
return yn(t) && !
|
1111
|
+
var gn = function(t) {
|
1112
|
+
return yn(t) && !vn(t);
|
1074
1113
|
};
|
1075
1114
|
function yn(e) {
|
1076
1115
|
return !!e && typeof e == "object";
|
1077
1116
|
}
|
1078
|
-
function
|
1117
|
+
function vn(e) {
|
1079
1118
|
var t = Object.prototype.toString.call(e);
|
1080
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1081
|
-
}
|
1082
|
-
var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
|
1083
|
-
function En(e) {
|
1084
|
-
return e.$$typeof === _n;
|
1119
|
+
return t === "[object RegExp]" || t === "[object Date]" || xn(e);
|
1085
1120
|
}
|
1121
|
+
var _n = typeof Symbol == "function" && Symbol.for, En = _n ? Symbol.for("react.element") : 60103;
|
1086
1122
|
function xn(e) {
|
1123
|
+
return e.$$typeof === En;
|
1124
|
+
}
|
1125
|
+
function Sn(e) {
|
1087
1126
|
return Array.isArray(e) ? [] : {};
|
1088
1127
|
}
|
1089
|
-
function
|
1090
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1128
|
+
function he(e, t) {
|
1129
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(Sn(e), e, t) : e;
|
1091
1130
|
}
|
1092
|
-
function
|
1131
|
+
function wn(e, t, r) {
|
1093
1132
|
return e.concat(t).map(function(n) {
|
1094
|
-
return
|
1133
|
+
return he(n, r);
|
1095
1134
|
});
|
1096
1135
|
}
|
1097
|
-
function
|
1136
|
+
function Tn(e, t) {
|
1098
1137
|
if (!t.customMerge)
|
1099
|
-
return
|
1138
|
+
return J;
|
1100
1139
|
var r = t.customMerge(e);
|
1101
|
-
return typeof r == "function" ? r :
|
1140
|
+
return typeof r == "function" ? r : J;
|
1102
1141
|
}
|
1103
|
-
function
|
1142
|
+
function Hn(e) {
|
1104
1143
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1105
1144
|
return Object.propertyIsEnumerable.call(e, t);
|
1106
1145
|
}) : [];
|
1107
1146
|
}
|
1108
|
-
function
|
1109
|
-
return Object.keys(e).concat(
|
1147
|
+
function St(e) {
|
1148
|
+
return Object.keys(e).concat(Hn(e));
|
1110
1149
|
}
|
1111
1150
|
function er(e, t) {
|
1112
1151
|
try {
|
@@ -1115,75 +1154,33 @@ function er(e, t) {
|
|
1115
1154
|
return !1;
|
1116
1155
|
}
|
1117
1156
|
}
|
1118
|
-
function
|
1157
|
+
function Bn(e, t) {
|
1119
1158
|
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1120
1159
|
}
|
1121
1160
|
function An(e, t, r) {
|
1122
1161
|
var n = {};
|
1123
|
-
return r.isMergeableObject(e) &&
|
1124
|
-
n[i] =
|
1125
|
-
}),
|
1126
|
-
|
1162
|
+
return r.isMergeableObject(e) && St(e).forEach(function(i) {
|
1163
|
+
n[i] = he(e[i], r);
|
1164
|
+
}), St(t).forEach(function(i) {
|
1165
|
+
Bn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
|
1127
1166
|
}), n;
|
1128
1167
|
}
|
1129
|
-
function
|
1130
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1168
|
+
function J(e, t, r) {
|
1169
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = he;
|
1131
1170
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1132
|
-
return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) :
|
1171
|
+
return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : he(t, r);
|
1133
1172
|
}
|
1134
|
-
|
1173
|
+
J.all = function(t, r) {
|
1135
1174
|
if (!Array.isArray(t))
|
1136
1175
|
throw new Error("first argument should be an array");
|
1137
1176
|
return t.reduce(function(n, i) {
|
1138
|
-
return
|
1177
|
+
return J(n, i, r);
|
1139
1178
|
}, {});
|
1140
1179
|
};
|
1141
|
-
var
|
1142
|
-
const On = /* @__PURE__ */
|
1143
|
-
|
1144
|
-
|
1145
|
-
r.__proto__ = n;
|
1146
|
-
} || function(r, n) {
|
1147
|
-
for (var i in n)
|
1148
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
1149
|
-
}, qe(e, t);
|
1150
|
-
};
|
1151
|
-
function Be(e, t) {
|
1152
|
-
if (typeof t != "function" && t !== null)
|
1153
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
1154
|
-
qe(e, t);
|
1155
|
-
function r() {
|
1156
|
-
this.constructor = e;
|
1157
|
-
}
|
1158
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
1159
|
-
}
|
1160
|
-
var R = function() {
|
1161
|
-
return R = Object.assign || function(t) {
|
1162
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1163
|
-
r = arguments[n];
|
1164
|
-
for (var s in r)
|
1165
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1166
|
-
}
|
1167
|
-
return t;
|
1168
|
-
}, R.apply(this, arguments);
|
1169
|
-
};
|
1170
|
-
function Nn(e, t) {
|
1171
|
-
var r = {};
|
1172
|
-
for (var n in e)
|
1173
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
1174
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
1175
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
1176
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
1177
|
-
return r;
|
1178
|
-
}
|
1179
|
-
function Re(e, t, r) {
|
1180
|
-
if (r || arguments.length === 2)
|
1181
|
-
for (var n = 0, i = t.length, s; n < i; n++)
|
1182
|
-
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
1183
|
-
return e.concat(s || Array.prototype.slice.call(t));
|
1184
|
-
}
|
1185
|
-
function Ge(e, t) {
|
1186
|
-
var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Cn;
|
1180
|
+
var Pn = J, Nn = Pn;
|
1181
|
+
const On = /* @__PURE__ */ pn(Nn);
|
1182
|
+
function Ce(e, t) {
|
1183
|
+
var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : In;
|
1187
1184
|
return i(e, {
|
1188
1185
|
cache: r,
|
1189
1186
|
serializer: n
|
@@ -1192,101 +1189,93 @@ function Ge(e, t) {
|
|
1192
1189
|
function Ln(e) {
|
1193
1190
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1194
1191
|
}
|
1195
|
-
function
|
1192
|
+
function tr(e, t, r, n) {
|
1196
1193
|
var i = Ln(n) ? n : r(n), s = t.get(i);
|
1197
1194
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
1198
1195
|
}
|
1199
|
-
function
|
1196
|
+
function rr(e, t, r) {
|
1200
1197
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1201
1198
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
1202
1199
|
}
|
1203
|
-
function
|
1200
|
+
function it(e, t, r, n, i) {
|
1204
1201
|
return r.bind(t, e, n, i);
|
1205
1202
|
}
|
1206
|
-
function
|
1207
|
-
var r = e.length === 1 ?
|
1208
|
-
return
|
1203
|
+
function In(e, t) {
|
1204
|
+
var r = e.length === 1 ? tr : rr;
|
1205
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
1209
1206
|
}
|
1210
1207
|
function Mn(e, t) {
|
1211
|
-
return
|
1208
|
+
return it(e, this, rr, t.cache.create(), t.serializer);
|
1209
|
+
}
|
1210
|
+
function Cn(e, t) {
|
1211
|
+
return it(e, this, tr, t.cache.create(), t.serializer);
|
1212
1212
|
}
|
1213
1213
|
var Rn = function() {
|
1214
1214
|
return JSON.stringify(arguments);
|
1215
|
-
}
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
}()
|
1227
|
-
), Un = {
|
1215
|
+
};
|
1216
|
+
function st() {
|
1217
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
1218
|
+
}
|
1219
|
+
st.prototype.get = function(e) {
|
1220
|
+
return this.cache[e];
|
1221
|
+
};
|
1222
|
+
st.prototype.set = function(e, t) {
|
1223
|
+
this.cache[e] = t;
|
1224
|
+
};
|
1225
|
+
var Gn = {
|
1228
1226
|
create: function() {
|
1229
|
-
return new
|
1227
|
+
return new st();
|
1230
1228
|
}
|
1231
|
-
},
|
1232
|
-
variadic: Mn
|
1233
|
-
|
1234
|
-
|
1235
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1236
|
-
r = arguments[n];
|
1237
|
-
for (var s in r)
|
1238
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1239
|
-
}
|
1240
|
-
return t;
|
1241
|
-
}, Se.apply(this, arguments);
|
1242
|
-
};
|
1243
|
-
var p;
|
1229
|
+
}, Re = {
|
1230
|
+
variadic: Mn,
|
1231
|
+
monadic: Cn
|
1232
|
+
}, p;
|
1244
1233
|
(function(e) {
|
1245
1234
|
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";
|
1246
1235
|
})(p || (p = {}));
|
1247
|
-
var
|
1236
|
+
var x;
|
1248
1237
|
(function(e) {
|
1249
1238
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
1250
|
-
})(
|
1251
|
-
var
|
1239
|
+
})(x || (x = {}));
|
1240
|
+
var K;
|
1252
1241
|
(function(e) {
|
1253
1242
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1254
|
-
})(
|
1255
|
-
function
|
1256
|
-
return e.type ===
|
1243
|
+
})(K || (K = {}));
|
1244
|
+
function wt(e) {
|
1245
|
+
return e.type === x.literal;
|
1257
1246
|
}
|
1258
|
-
function
|
1259
|
-
return e.type ===
|
1247
|
+
function Un(e) {
|
1248
|
+
return e.type === x.argument;
|
1260
1249
|
}
|
1261
1250
|
function nr(e) {
|
1262
|
-
return e.type ===
|
1251
|
+
return e.type === x.number;
|
1263
1252
|
}
|
1264
1253
|
function ir(e) {
|
1265
|
-
return e.type ===
|
1254
|
+
return e.type === x.date;
|
1266
1255
|
}
|
1267
1256
|
function sr(e) {
|
1268
|
-
return e.type ===
|
1257
|
+
return e.type === x.time;
|
1269
1258
|
}
|
1270
1259
|
function or(e) {
|
1271
|
-
return e.type ===
|
1260
|
+
return e.type === x.select;
|
1272
1261
|
}
|
1273
1262
|
function ar(e) {
|
1274
|
-
return e.type ===
|
1263
|
+
return e.type === x.plural;
|
1275
1264
|
}
|
1276
|
-
function
|
1277
|
-
return e.type ===
|
1265
|
+
function Dn(e) {
|
1266
|
+
return e.type === x.pound;
|
1278
1267
|
}
|
1279
1268
|
function ur(e) {
|
1280
|
-
return e.type ===
|
1269
|
+
return e.type === x.tag;
|
1281
1270
|
}
|
1282
1271
|
function hr(e) {
|
1283
|
-
return !!(e && typeof e == "object" && e.type ===
|
1272
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
1284
1273
|
}
|
1285
|
-
function
|
1286
|
-
return !!(e && typeof e == "object" && e.type ===
|
1274
|
+
function Ze(e) {
|
1275
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
1287
1276
|
}
|
1288
1277
|
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
1289
|
-
function
|
1278
|
+
function $n(e) {
|
1290
1279
|
var t = {};
|
1291
1280
|
return e.replace(Fn, function(r) {
|
1292
1281
|
var n = r.length;
|
@@ -1377,21 +1366,11 @@ function jn(e) {
|
|
1377
1366
|
return "";
|
1378
1367
|
}), t;
|
1379
1368
|
}
|
1380
|
-
var
|
1381
|
-
|
1382
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1383
|
-
r = arguments[n];
|
1384
|
-
for (var s in r)
|
1385
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1386
|
-
}
|
1387
|
-
return t;
|
1388
|
-
}, S.apply(this, arguments);
|
1389
|
-
};
|
1390
|
-
var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1391
|
-
function Vn(e) {
|
1369
|
+
var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1370
|
+
function kn(e) {
|
1392
1371
|
if (e.length === 0)
|
1393
1372
|
throw new Error("Number skeleton cannot be empty");
|
1394
|
-
for (var t = e.split(
|
1373
|
+
for (var t = e.split(jn).filter(function(c) {
|
1395
1374
|
return c.length > 0;
|
1396
1375
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1397
1376
|
var s = i[n], o = s.split("/");
|
@@ -1406,11 +1385,11 @@ function Vn(e) {
|
|
1406
1385
|
}
|
1407
1386
|
return r;
|
1408
1387
|
}
|
1409
|
-
function
|
1388
|
+
function Vn(e) {
|
1410
1389
|
return e.replace(/^(.*?)-/, "");
|
1411
1390
|
}
|
1412
|
-
var
|
1413
|
-
function
|
1391
|
+
var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
1392
|
+
function Ht(e) {
|
1414
1393
|
var t = {};
|
1415
1394
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
|
1416
1395
|
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)), "";
|
@@ -1456,7 +1435,7 @@ function mr(e) {
|
|
1456
1435
|
};
|
1457
1436
|
}
|
1458
1437
|
}
|
1459
|
-
function
|
1438
|
+
function Wn(e) {
|
1460
1439
|
var t;
|
1461
1440
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1462
1441
|
notation: "engineering"
|
@@ -1474,7 +1453,7 @@ function Bt(e) {
|
|
1474
1453
|
var t = {}, r = mr(e);
|
1475
1454
|
return r || t;
|
1476
1455
|
}
|
1477
|
-
function
|
1456
|
+
function zn(e) {
|
1478
1457
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1479
1458
|
var i = n[r];
|
1480
1459
|
switch (i.stem) {
|
@@ -1498,7 +1477,7 @@ function Zn(e) {
|
|
1498
1477
|
continue;
|
1499
1478
|
case "measure-unit":
|
1500
1479
|
case "unit":
|
1501
|
-
t.style = "unit", t.unit =
|
1480
|
+
t.style = "unit", t.unit = Vn(i.options[0]);
|
1502
1481
|
continue;
|
1503
1482
|
case "compact-short":
|
1504
1483
|
case "K":
|
@@ -1509,13 +1488,13 @@ function Zn(e) {
|
|
1509
1488
|
t.notation = "compact", t.compactDisplay = "long";
|
1510
1489
|
continue;
|
1511
1490
|
case "scientific":
|
1512
|
-
t =
|
1513
|
-
return
|
1491
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1492
|
+
return v(v({}, h), Bt(u));
|
1514
1493
|
}, {}));
|
1515
1494
|
continue;
|
1516
1495
|
case "engineering":
|
1517
|
-
t =
|
1518
|
-
return
|
1496
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1497
|
+
return v(v({}, h), Bt(u));
|
1519
1498
|
}, {}));
|
1520
1499
|
continue;
|
1521
1500
|
case "notation-simple":
|
@@ -1560,7 +1539,7 @@ function Zn(e) {
|
|
1560
1539
|
case "integer-width":
|
1561
1540
|
if (i.options.length > 1)
|
1562
1541
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1563
|
-
i.options[0].replace(
|
1542
|
+
i.options[0].replace(Xn, function(h, u, l, m, c, d) {
|
1564
1543
|
if (u)
|
1565
1544
|
t.minimumIntegerDigits = l.length;
|
1566
1545
|
else {
|
@@ -1577,28 +1556,28 @@ function Zn(e) {
|
|
1577
1556
|
t.minimumIntegerDigits = i.stem.length;
|
1578
1557
|
continue;
|
1579
1558
|
}
|
1580
|
-
if (
|
1559
|
+
if (Tt.test(i.stem)) {
|
1581
1560
|
if (i.options.length > 1)
|
1582
1561
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1583
|
-
i.stem.replace(
|
1562
|
+
i.stem.replace(Tt, function(h, u, l, m, c, d) {
|
1584
1563
|
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), "";
|
1585
1564
|
});
|
1586
1565
|
var s = i.options[0];
|
1587
|
-
s === "w" ? t =
|
1566
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Ht(s)));
|
1588
1567
|
continue;
|
1589
1568
|
}
|
1590
1569
|
if (cr.test(i.stem)) {
|
1591
|
-
t =
|
1570
|
+
t = v(v({}, t), Ht(i.stem));
|
1592
1571
|
continue;
|
1593
1572
|
}
|
1594
1573
|
var o = mr(i.stem);
|
1595
|
-
o && (t =
|
1596
|
-
var a =
|
1597
|
-
a && (t =
|
1574
|
+
o && (t = v(v({}, t), o));
|
1575
|
+
var a = Wn(i.stem);
|
1576
|
+
a && (t = v(v({}, t), a));
|
1598
1577
|
}
|
1599
1578
|
return t;
|
1600
1579
|
}
|
1601
|
-
var
|
1580
|
+
var ye = {
|
1602
1581
|
"001": [
|
1603
1582
|
"H",
|
1604
1583
|
"h"
|
@@ -3013,13 +2992,13 @@ var ge = {
|
|
3013
2992
|
"h"
|
3014
2993
|
]
|
3015
2994
|
};
|
3016
|
-
function
|
2995
|
+
function Zn(e, t) {
|
3017
2996
|
for (var r = "", n = 0; n < e.length; n++) {
|
3018
2997
|
var i = e.charAt(n);
|
3019
2998
|
if (i === "j") {
|
3020
2999
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3021
3000
|
s++, n++;
|
3022
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
3001
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Qn(t);
|
3023
3002
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
3024
3003
|
r += h;
|
3025
3004
|
for (; o-- > 0; )
|
@@ -3029,7 +3008,7 @@ function Qn(e, t) {
|
|
3029
3008
|
}
|
3030
3009
|
return r;
|
3031
3010
|
}
|
3032
|
-
function
|
3011
|
+
function Qn(e) {
|
3033
3012
|
var t = e.hourCycle;
|
3034
3013
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3035
3014
|
e.hourCycles && // @ts-ignore
|
@@ -3048,23 +3027,23 @@ function Yn(e) {
|
|
3048
3027
|
}
|
3049
3028
|
var r = e.language, n;
|
3050
3029
|
r !== "root" && (n = e.maximize().region);
|
3051
|
-
var i =
|
3030
|
+
var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
|
3052
3031
|
return i[0];
|
3053
3032
|
}
|
3054
|
-
var
|
3055
|
-
function
|
3033
|
+
var Ge, Yn = new RegExp("^".concat(lr.source, "*")), qn = new RegExp("".concat(lr.source, "*$"));
|
3034
|
+
function g(e, t) {
|
3056
3035
|
return { start: e, end: t };
|
3057
3036
|
}
|
3058
|
-
var
|
3037
|
+
var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, si = ii ? Number.isSafeInteger : function(e) {
|
3059
3038
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3060
|
-
},
|
3039
|
+
}, Qe = !0;
|
3061
3040
|
try {
|
3062
|
-
var
|
3063
|
-
|
3041
|
+
var oi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3042
|
+
Qe = ((Ge = oi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
3064
3043
|
} catch {
|
3065
|
-
|
3044
|
+
Qe = !1;
|
3066
3045
|
}
|
3067
|
-
var
|
3046
|
+
var At = Jn ? (
|
3068
3047
|
// Native
|
3069
3048
|
function(t, r, n) {
|
3070
3049
|
return t.startsWith(r, n);
|
@@ -3074,7 +3053,7 @@ var Pt = Kn ? (
|
|
3074
3053
|
function(t, r, n) {
|
3075
3054
|
return t.slice(n, n + r.length) === r;
|
3076
3055
|
}
|
3077
|
-
),
|
3056
|
+
), Ye = Kn ? String.fromCodePoint : (
|
3078
3057
|
// IE11
|
3079
3058
|
function() {
|
3080
3059
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3086,9 +3065,9 @@ var Pt = Kn ? (
|
|
3086
3065
|
}
|
3087
3066
|
return n;
|
3088
3067
|
}
|
3089
|
-
),
|
3068
|
+
), Pt = (
|
3090
3069
|
// native
|
3091
|
-
|
3070
|
+
ei ? Object.fromEntries : (
|
3092
3071
|
// Ponyfill
|
3093
3072
|
function(t) {
|
3094
3073
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3098,7 +3077,7 @@ var Pt = Kn ? (
|
|
3098
3077
|
return r;
|
3099
3078
|
}
|
3100
3079
|
)
|
3101
|
-
), dr =
|
3080
|
+
), dr = ti ? (
|
3102
3081
|
// Native
|
3103
3082
|
function(t, r) {
|
3104
3083
|
return t.codePointAt(r);
|
@@ -3112,7 +3091,7 @@ var Pt = Kn ? (
|
|
3112
3091
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3113
3092
|
}
|
3114
3093
|
}
|
3115
|
-
),
|
3094
|
+
), ai = ri ? (
|
3116
3095
|
// Native
|
3117
3096
|
function(t) {
|
3118
3097
|
return t.trimStart();
|
@@ -3120,9 +3099,9 @@ var Pt = Kn ? (
|
|
3120
3099
|
) : (
|
3121
3100
|
// Ponyfill
|
3122
3101
|
function(t) {
|
3123
|
-
return t.replace(
|
3102
|
+
return t.replace(Yn, "");
|
3124
3103
|
}
|
3125
|
-
),
|
3104
|
+
), ui = ni ? (
|
3126
3105
|
// Native
|
3127
3106
|
function(t) {
|
3128
3107
|
return t.trimEnd();
|
@@ -3130,32 +3109,32 @@ var Pt = Kn ? (
|
|
3130
3109
|
) : (
|
3131
3110
|
// Ponyfill
|
3132
3111
|
function(t) {
|
3133
|
-
return t.replace(
|
3112
|
+
return t.replace(qn, "");
|
3134
3113
|
}
|
3135
3114
|
);
|
3136
3115
|
function br(e, t) {
|
3137
3116
|
return new RegExp(e, t);
|
3138
3117
|
}
|
3139
|
-
var
|
3140
|
-
if (
|
3118
|
+
var qe;
|
3119
|
+
if (Qe) {
|
3141
3120
|
var Nt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3142
|
-
|
3121
|
+
qe = function(t, r) {
|
3143
3122
|
var n;
|
3144
3123
|
Nt.lastIndex = r;
|
3145
3124
|
var i = Nt.exec(t);
|
3146
3125
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3147
3126
|
};
|
3148
3127
|
} else
|
3149
|
-
|
3128
|
+
qe = function(t, r) {
|
3150
3129
|
for (var n = []; ; ) {
|
3151
3130
|
var i = dr(t, r);
|
3152
|
-
if (i === void 0 || pr(i) ||
|
3131
|
+
if (i === void 0 || pr(i) || fi(i))
|
3153
3132
|
break;
|
3154
3133
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3155
3134
|
}
|
3156
|
-
return
|
3135
|
+
return Ye.apply(void 0, n);
|
3157
3136
|
};
|
3158
|
-
var
|
3137
|
+
var hi = (
|
3159
3138
|
/** @class */
|
3160
3139
|
function() {
|
3161
3140
|
function e(t, r) {
|
@@ -3179,14 +3158,14 @@ var li = (
|
|
3179
3158
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
3180
3159
|
var a = this.clonePosition();
|
3181
3160
|
this.bump(), i.push({
|
3182
|
-
type:
|
3183
|
-
location:
|
3161
|
+
type: x.pound,
|
3162
|
+
location: g(a, this.clonePosition())
|
3184
3163
|
});
|
3185
3164
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
3186
3165
|
if (n)
|
3187
3166
|
break;
|
3188
|
-
return this.error(p.UNMATCHED_CLOSING_TAG,
|
3189
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3167
|
+
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
3168
|
+
} else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
3190
3169
|
var o = this.parseTag(t, r);
|
3191
3170
|
if (o.err)
|
3192
3171
|
return o;
|
@@ -3207,9 +3186,9 @@ var li = (
|
|
3207
3186
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
3208
3187
|
return {
|
3209
3188
|
val: {
|
3210
|
-
type:
|
3189
|
+
type: x.literal,
|
3211
3190
|
value: "<".concat(i, "/>"),
|
3212
|
-
location:
|
3191
|
+
location: g(n, this.clonePosition())
|
3213
3192
|
},
|
3214
3193
|
err: null
|
3215
3194
|
};
|
@@ -3219,25 +3198,25 @@ var li = (
|
|
3219
3198
|
return s;
|
3220
3199
|
var o = s.val, a = this.clonePosition();
|
3221
3200
|
if (this.bumpIf("</")) {
|
3222
|
-
if (this.isEOF() || !
|
3223
|
-
return this.error(p.INVALID_TAG,
|
3201
|
+
if (this.isEOF() || !Je(this.char()))
|
3202
|
+
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
3224
3203
|
var h = this.clonePosition(), u = this.parseTagName();
|
3225
|
-
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG,
|
3204
|
+
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
3226
3205
|
val: {
|
3227
|
-
type:
|
3206
|
+
type: x.tag,
|
3228
3207
|
value: i,
|
3229
3208
|
children: o,
|
3230
|
-
location:
|
3209
|
+
location: g(n, this.clonePosition())
|
3231
3210
|
},
|
3232
3211
|
err: null
|
3233
|
-
} : this.error(p.INVALID_TAG,
|
3212
|
+
} : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
|
3234
3213
|
} else
|
3235
|
-
return this.error(p.UNCLOSED_TAG,
|
3214
|
+
return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
|
3236
3215
|
} else
|
3237
|
-
return this.error(p.INVALID_TAG,
|
3216
|
+
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
3238
3217
|
}, e.prototype.parseTagName = function() {
|
3239
3218
|
var t = this.offset();
|
3240
|
-
for (this.bump(); !this.isEOF() &&
|
3219
|
+
for (this.bump(); !this.isEOF() && ci(this.char()); )
|
3241
3220
|
this.bump();
|
3242
3221
|
return this.message.slice(t, this.offset());
|
3243
3222
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3259,14 +3238,14 @@ var li = (
|
|
3259
3238
|
}
|
3260
3239
|
break;
|
3261
3240
|
}
|
3262
|
-
var h =
|
3241
|
+
var h = g(n, this.clonePosition());
|
3263
3242
|
return {
|
3264
|
-
val: { type:
|
3243
|
+
val: { type: x.literal, value: i, location: h },
|
3265
3244
|
err: null
|
3266
3245
|
};
|
3267
3246
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3268
3247
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3269
|
-
!
|
3248
|
+
!li(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3270
3249
|
}, e.prototype.tryParseQuote = function(t) {
|
3271
3250
|
if (this.isEOF() || this.char() !== 39)
|
3272
3251
|
return null;
|
@@ -3300,49 +3279,49 @@ var li = (
|
|
3300
3279
|
r.push(n);
|
3301
3280
|
this.bump();
|
3302
3281
|
}
|
3303
|
-
return
|
3282
|
+
return Ye.apply(void 0, r);
|
3304
3283
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3305
3284
|
if (this.isEOF())
|
3306
3285
|
return null;
|
3307
3286
|
var n = this.char();
|
3308
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3287
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
|
3309
3288
|
}, e.prototype.parseArgument = function(t, r) {
|
3310
3289
|
var n = this.clonePosition();
|
3311
3290
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
3312
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3291
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
3313
3292
|
if (this.char() === 125)
|
3314
|
-
return this.bump(), this.error(p.EMPTY_ARGUMENT,
|
3293
|
+
return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
3315
3294
|
var i = this.parseIdentifierIfPossible().value;
|
3316
3295
|
if (!i)
|
3317
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
3296
|
+
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3318
3297
|
if (this.bumpSpace(), this.isEOF())
|
3319
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3298
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
3320
3299
|
switch (this.char()) {
|
3321
3300
|
case 125:
|
3322
3301
|
return this.bump(), {
|
3323
3302
|
val: {
|
3324
|
-
type:
|
3303
|
+
type: x.argument,
|
3325
3304
|
// value does not include the opening and closing braces.
|
3326
3305
|
value: i,
|
3327
|
-
location:
|
3306
|
+
location: g(n, this.clonePosition())
|
3328
3307
|
},
|
3329
3308
|
err: null
|
3330
3309
|
};
|
3331
3310
|
case 44:
|
3332
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3311
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
3333
3312
|
default:
|
3334
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
3313
|
+
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3335
3314
|
}
|
3336
3315
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3337
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3316
|
+
var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
|
3338
3317
|
this.bumpTo(i);
|
3339
|
-
var s = this.clonePosition(), o =
|
3318
|
+
var s = this.clonePosition(), o = g(t, s);
|
3340
3319
|
return { value: n, location: o };
|
3341
3320
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
3342
3321
|
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
3343
3322
|
switch (a) {
|
3344
3323
|
case "":
|
3345
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE,
|
3324
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, g(o, h));
|
3346
3325
|
case "number":
|
3347
3326
|
case "date":
|
3348
3327
|
case "time": {
|
@@ -3353,46 +3332,46 @@ var li = (
|
|
3353
3332
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3354
3333
|
if (m.err)
|
3355
3334
|
return m;
|
3356
|
-
var c =
|
3335
|
+
var c = ui(m.val);
|
3357
3336
|
if (c.length === 0)
|
3358
|
-
return this.error(p.EXPECT_ARGUMENT_STYLE,
|
3359
|
-
var d =
|
3337
|
+
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
3338
|
+
var d = g(l, this.clonePosition());
|
3360
3339
|
u = { style: c, styleLocation: d };
|
3361
3340
|
}
|
3362
3341
|
var b = this.tryParseArgumentClose(i);
|
3363
3342
|
if (b.err)
|
3364
3343
|
return b;
|
3365
|
-
var
|
3366
|
-
if (u &&
|
3367
|
-
var T =
|
3344
|
+
var y = g(i, this.clonePosition());
|
3345
|
+
if (u && At(u?.style, "::", 0)) {
|
3346
|
+
var T = ai(u.style.slice(2));
|
3368
3347
|
if (a === "number") {
|
3369
3348
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3370
3349
|
return m.err ? m : {
|
3371
|
-
val: { type:
|
3350
|
+
val: { type: x.number, value: n, location: y, style: m.val },
|
3372
3351
|
err: null
|
3373
3352
|
};
|
3374
3353
|
} else {
|
3375
3354
|
if (T.length === 0)
|
3376
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
3377
|
-
var
|
3378
|
-
this.locale && (
|
3355
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
3356
|
+
var M = T;
|
3357
|
+
this.locale && (M = Zn(T, this.locale));
|
3379
3358
|
var c = {
|
3380
|
-
type:
|
3381
|
-
pattern:
|
3359
|
+
type: K.dateTime,
|
3360
|
+
pattern: M,
|
3382
3361
|
location: u.styleLocation,
|
3383
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3384
|
-
}, P = a === "date" ?
|
3362
|
+
parsedOptions: this.shouldParseSkeletons ? $n(M) : {}
|
3363
|
+
}, P = a === "date" ? x.date : x.time;
|
3385
3364
|
return {
|
3386
|
-
val: { type: P, value: n, location:
|
3365
|
+
val: { type: P, value: n, location: y, style: c },
|
3387
3366
|
err: null
|
3388
3367
|
};
|
3389
3368
|
}
|
3390
3369
|
}
|
3391
3370
|
return {
|
3392
3371
|
val: {
|
3393
|
-
type: a === "number" ?
|
3372
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
3394
3373
|
value: n,
|
3395
|
-
location:
|
3374
|
+
location: y,
|
3396
3375
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
3397
3376
|
},
|
3398
3377
|
err: null
|
@@ -3403,50 +3382,50 @@ var li = (
|
|
3403
3382
|
case "select": {
|
3404
3383
|
var w = this.clonePosition();
|
3405
3384
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3406
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
3385
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
|
3407
3386
|
this.bumpSpace();
|
3408
|
-
var
|
3409
|
-
if (a !== "select" &&
|
3387
|
+
var N = this.parseIdentifierIfPossible(), O = 0;
|
3388
|
+
if (a !== "select" && N.value === "offset") {
|
3410
3389
|
if (!this.bumpIf(":"))
|
3411
|
-
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
3390
|
+
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
3412
3391
|
this.bumpSpace();
|
3413
3392
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3414
3393
|
if (m.err)
|
3415
3394
|
return m;
|
3416
|
-
this.bumpSpace(),
|
3395
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
|
3417
3396
|
}
|
3418
|
-
var
|
3419
|
-
if (
|
3420
|
-
return
|
3397
|
+
var C = this.tryParsePluralOrSelectOptions(t, a, r, N);
|
3398
|
+
if (C.err)
|
3399
|
+
return C;
|
3421
3400
|
var b = this.tryParseArgumentClose(i);
|
3422
3401
|
if (b.err)
|
3423
3402
|
return b;
|
3424
|
-
var
|
3403
|
+
var E = g(i, this.clonePosition());
|
3425
3404
|
return a === "select" ? {
|
3426
3405
|
val: {
|
3427
|
-
type:
|
3406
|
+
type: x.select,
|
3428
3407
|
value: n,
|
3429
|
-
options:
|
3430
|
-
location:
|
3408
|
+
options: Pt(C.val),
|
3409
|
+
location: E
|
3431
3410
|
},
|
3432
3411
|
err: null
|
3433
3412
|
} : {
|
3434
3413
|
val: {
|
3435
|
-
type:
|
3414
|
+
type: x.plural,
|
3436
3415
|
value: n,
|
3437
|
-
options:
|
3438
|
-
offset:
|
3416
|
+
options: Pt(C.val),
|
3417
|
+
offset: O,
|
3439
3418
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3440
|
-
location:
|
3419
|
+
location: E
|
3441
3420
|
},
|
3442
3421
|
err: null
|
3443
3422
|
};
|
3444
3423
|
}
|
3445
3424
|
default:
|
3446
|
-
return this.error(p.INVALID_ARGUMENT_TYPE,
|
3425
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, g(o, h));
|
3447
3426
|
}
|
3448
3427
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
3449
|
-
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3428
|
+
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
3450
3429
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
3451
3430
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
3452
3431
|
var n = this.char();
|
@@ -3455,7 +3434,7 @@ var li = (
|
|
3455
3434
|
this.bump();
|
3456
3435
|
var i = this.clonePosition();
|
3457
3436
|
if (!this.bumpUntil("'"))
|
3458
|
-
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
3437
|
+
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
3459
3438
|
this.bump();
|
3460
3439
|
break;
|
3461
3440
|
}
|
@@ -3485,16 +3464,16 @@ var li = (
|
|
3485
3464
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3486
3465
|
var n = [];
|
3487
3466
|
try {
|
3488
|
-
n =
|
3467
|
+
n = kn(t);
|
3489
3468
|
} catch {
|
3490
3469
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3491
3470
|
}
|
3492
3471
|
return {
|
3493
3472
|
val: {
|
3494
|
-
type:
|
3473
|
+
type: K.number,
|
3495
3474
|
tokens: n,
|
3496
3475
|
location: r,
|
3497
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3476
|
+
parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
|
3498
3477
|
},
|
3499
3478
|
err: null
|
3500
3479
|
};
|
@@ -3506,7 +3485,7 @@ var li = (
|
|
3506
3485
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3507
3486
|
if (c.err)
|
3508
3487
|
return c;
|
3509
|
-
l =
|
3488
|
+
l = g(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
|
3510
3489
|
} else
|
3511
3490
|
break;
|
3512
3491
|
}
|
@@ -3515,22 +3494,22 @@ var li = (
|
|
3515
3494
|
u === "other" && (o = !0), this.bumpSpace();
|
3516
3495
|
var d = this.clonePosition();
|
3517
3496
|
if (!this.bumpIf("{"))
|
3518
|
-
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
3497
|
+
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
3519
3498
|
var b = this.parseMessage(t + 1, r, n);
|
3520
3499
|
if (b.err)
|
3521
3500
|
return b;
|
3522
|
-
var
|
3523
|
-
if (
|
3524
|
-
return
|
3501
|
+
var y = this.tryParseArgumentClose(d);
|
3502
|
+
if (y.err)
|
3503
|
+
return y;
|
3525
3504
|
a.push([
|
3526
3505
|
u,
|
3527
3506
|
{
|
3528
3507
|
value: b.val,
|
3529
|
-
location:
|
3508
|
+
location: g(d, this.clonePosition())
|
3530
3509
|
}
|
3531
3510
|
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
3532
3511
|
}
|
3533
|
-
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
3512
|
+
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3534
3513
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3535
3514
|
var n = 1, i = this.clonePosition();
|
3536
3515
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
@@ -3541,8 +3520,8 @@ var li = (
|
|
3541
3520
|
else
|
3542
3521
|
break;
|
3543
3522
|
}
|
3544
|
-
var h =
|
3545
|
-
return s ? (o *= n,
|
3523
|
+
var h = g(i, this.clonePosition());
|
3524
|
+
return s ? (o *= n, si(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3546
3525
|
}, e.prototype.offset = function() {
|
3547
3526
|
return this.position.offset;
|
3548
3527
|
}, e.prototype.isEOF = function() {
|
@@ -3576,7 +3555,7 @@ var li = (
|
|
3576
3555
|
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);
|
3577
3556
|
}
|
3578
3557
|
}, e.prototype.bumpIf = function(t) {
|
3579
|
-
if (
|
3558
|
+
if (At(this.message, t, this.offset())) {
|
3580
3559
|
for (var r = 0; r < t.length; r++)
|
3581
3560
|
this.bump();
|
3582
3561
|
return !0;
|
@@ -3608,47 +3587,47 @@ var li = (
|
|
3608
3587
|
}, e;
|
3609
3588
|
}()
|
3610
3589
|
);
|
3611
|
-
function
|
3590
|
+
function Je(e) {
|
3612
3591
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3613
3592
|
}
|
3614
|
-
function
|
3615
|
-
return
|
3593
|
+
function li(e) {
|
3594
|
+
return Je(e) || e === 47;
|
3616
3595
|
}
|
3617
|
-
function
|
3596
|
+
function ci(e) {
|
3618
3597
|
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;
|
3619
3598
|
}
|
3620
3599
|
function pr(e) {
|
3621
3600
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3622
3601
|
}
|
3623
|
-
function
|
3602
|
+
function fi(e) {
|
3624
3603
|
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;
|
3625
3604
|
}
|
3626
|
-
function
|
3605
|
+
function Ke(e) {
|
3627
3606
|
e.forEach(function(t) {
|
3628
3607
|
if (delete t.location, or(t) || ar(t))
|
3629
3608
|
for (var r in t.options)
|
3630
|
-
delete t.options[r].location,
|
3609
|
+
delete t.options[r].location, Ke(t.options[r].value);
|
3631
3610
|
else
|
3632
|
-
nr(t) && hr(t.style) || (ir(t) || sr(t)) &&
|
3611
|
+
nr(t) && hr(t.style) || (ir(t) || sr(t)) && Ze(t.style) ? delete t.style.location : ur(t) && Ke(t.children);
|
3633
3612
|
});
|
3634
3613
|
}
|
3635
|
-
function
|
3636
|
-
t === void 0 && (t = {}), t =
|
3637
|
-
var r = new
|
3614
|
+
function mi(e, t) {
|
3615
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3616
|
+
var r = new hi(e, t).parse();
|
3638
3617
|
if (r.err) {
|
3639
3618
|
var n = SyntaxError(p[r.err.kind]);
|
3640
3619
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3641
3620
|
}
|
3642
|
-
return t?.captureLocation ||
|
3621
|
+
return t?.captureLocation || Ke(r.val), r.val;
|
3643
3622
|
}
|
3644
|
-
var
|
3623
|
+
var ee;
|
3645
3624
|
(function(e) {
|
3646
3625
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3647
|
-
})(
|
3648
|
-
var
|
3626
|
+
})(ee || (ee = {}));
|
3627
|
+
var Be = (
|
3649
3628
|
/** @class */
|
3650
3629
|
function(e) {
|
3651
|
-
|
3630
|
+
U(t, e);
|
3652
3631
|
function t(r, n, i) {
|
3653
3632
|
var s = e.call(this, r) || this;
|
3654
3633
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3657,38 +3636,38 @@ var Pe = (
|
|
3657
3636
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3658
3637
|
}, t;
|
3659
3638
|
}(Error)
|
3660
|
-
),
|
3639
|
+
), Ot = (
|
3661
3640
|
/** @class */
|
3662
3641
|
function(e) {
|
3663
|
-
|
3642
|
+
U(t, e);
|
3664
3643
|
function t(r, n, i, s) {
|
3665
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3644
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
|
3666
3645
|
}
|
3667
3646
|
return t;
|
3668
|
-
}(
|
3669
|
-
),
|
3647
|
+
}(Be)
|
3648
|
+
), di = (
|
3670
3649
|
/** @class */
|
3671
3650
|
function(e) {
|
3672
|
-
|
3651
|
+
U(t, e);
|
3673
3652
|
function t(r, n, i) {
|
3674
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3653
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
3675
3654
|
}
|
3676
3655
|
return t;
|
3677
|
-
}(
|
3678
|
-
),
|
3656
|
+
}(Be)
|
3657
|
+
), bi = (
|
3679
3658
|
/** @class */
|
3680
3659
|
function(e) {
|
3681
|
-
|
3660
|
+
U(t, e);
|
3682
3661
|
function t(r, n) {
|
3683
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3662
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
3684
3663
|
}
|
3685
3664
|
return t;
|
3686
|
-
}(
|
3665
|
+
}(Be)
|
3687
3666
|
), H;
|
3688
3667
|
(function(e) {
|
3689
3668
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3690
3669
|
})(H || (H = {}));
|
3691
|
-
function
|
3670
|
+
function pi(e) {
|
3692
3671
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3693
3672
|
var n = t[t.length - 1];
|
3694
3673
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
@@ -3698,7 +3677,7 @@ function gi(e) {
|
|
3698
3677
|
return typeof e == "function";
|
3699
3678
|
}
|
3700
3679
|
function Ee(e, t, r, n, i, s, o) {
|
3701
|
-
if (e.length === 1 &&
|
3680
|
+
if (e.length === 1 && wt(e[0]))
|
3702
3681
|
return [
|
3703
3682
|
{
|
3704
3683
|
type: H.literal,
|
@@ -3707,14 +3686,14 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3707
3686
|
];
|
3708
3687
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3709
3688
|
var l = u[h];
|
3710
|
-
if (
|
3689
|
+
if (wt(l)) {
|
3711
3690
|
a.push({
|
3712
3691
|
type: H.literal,
|
3713
3692
|
value: l.value
|
3714
3693
|
});
|
3715
3694
|
continue;
|
3716
3695
|
}
|
3717
|
-
if (
|
3696
|
+
if (Dn(l)) {
|
3718
3697
|
typeof s == "number" && a.push({
|
3719
3698
|
type: H.literal,
|
3720
3699
|
value: r.getNumberFormat(t).format(s)
|
@@ -3723,9 +3702,9 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3723
3702
|
}
|
3724
3703
|
var m = l.value;
|
3725
3704
|
if (!(i && m in i))
|
3726
|
-
throw new
|
3705
|
+
throw new bi(m, o);
|
3727
3706
|
var c = i[m];
|
3728
|
-
if (
|
3707
|
+
if (Un(l)) {
|
3729
3708
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3730
3709
|
type: typeof c == "string" ? H.literal : H.object,
|
3731
3710
|
value: c
|
@@ -3733,7 +3712,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3733
3712
|
continue;
|
3734
3713
|
}
|
3735
3714
|
if (ir(l)) {
|
3736
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3715
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
|
3737
3716
|
a.push({
|
3738
3717
|
type: H.literal,
|
3739
3718
|
value: r.getDateTimeFormat(t, d).format(c)
|
@@ -3741,7 +3720,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3741
3720
|
continue;
|
3742
3721
|
}
|
3743
3722
|
if (sr(l)) {
|
3744
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3723
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
3745
3724
|
a.push({
|
3746
3725
|
type: H.literal,
|
3747
3726
|
value: r.getDateTimeFormat(t, d).format(c)
|
@@ -3757,23 +3736,23 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3757
3736
|
continue;
|
3758
3737
|
}
|
3759
3738
|
if (ur(l)) {
|
3760
|
-
var b = l.children,
|
3739
|
+
var b = l.children, y = l.value, T = i[y];
|
3761
3740
|
if (!gi(T))
|
3762
|
-
throw new
|
3763
|
-
var
|
3764
|
-
return
|
3741
|
+
throw new di(y, "function", o);
|
3742
|
+
var M = Ee(b, t, r, n, i, s), P = T(M.map(function(O) {
|
3743
|
+
return O.value;
|
3765
3744
|
}));
|
3766
|
-
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(
|
3745
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
|
3767
3746
|
return {
|
3768
|
-
type: typeof
|
3769
|
-
value:
|
3747
|
+
type: typeof O == "string" ? H.literal : H.object,
|
3748
|
+
value: O
|
3770
3749
|
};
|
3771
3750
|
}));
|
3772
3751
|
}
|
3773
3752
|
if (or(l)) {
|
3774
3753
|
var w = l.options[c] || l.options.other;
|
3775
3754
|
if (!w)
|
3776
|
-
throw new
|
3755
|
+
throw new Ot(l.value, c, Object.keys(l.options), o);
|
3777
3756
|
a.push.apply(a, Ee(w.value, t, r, n, i));
|
3778
3757
|
continue;
|
3779
3758
|
}
|
@@ -3781,31 +3760,31 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3781
3760
|
var w = l.options["=".concat(c)];
|
3782
3761
|
if (!w) {
|
3783
3762
|
if (!Intl.PluralRules)
|
3784
|
-
throw new
|
3763
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
3785
3764
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3786
|
-
`,
|
3787
|
-
var
|
3788
|
-
w = l.options[
|
3765
|
+
`, ee.MISSING_INTL_API, o);
|
3766
|
+
var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3767
|
+
w = l.options[N] || l.options.other;
|
3789
3768
|
}
|
3790
3769
|
if (!w)
|
3791
|
-
throw new
|
3770
|
+
throw new Ot(l.value, c, Object.keys(l.options), o);
|
3792
3771
|
a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
|
3793
3772
|
continue;
|
3794
3773
|
}
|
3795
3774
|
}
|
3796
|
-
return
|
3775
|
+
return pi(a);
|
3797
3776
|
}
|
3798
|
-
function
|
3799
|
-
return t ?
|
3800
|
-
return r[n] =
|
3777
|
+
function yi(e, t) {
|
3778
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3779
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
3801
3780
|
}, {})) : e;
|
3802
3781
|
}
|
3803
|
-
function
|
3782
|
+
function vi(e, t) {
|
3804
3783
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3805
|
-
return r[n] =
|
3806
|
-
},
|
3784
|
+
return r[n] = yi(e[n], t[n]), r;
|
3785
|
+
}, v({}, e)) : e;
|
3807
3786
|
}
|
3808
|
-
function
|
3787
|
+
function Ue(e) {
|
3809
3788
|
return {
|
3810
3789
|
create: function() {
|
3811
3790
|
return {
|
@@ -3819,39 +3798,39 @@ function $e(e) {
|
|
3819
3798
|
}
|
3820
3799
|
};
|
3821
3800
|
}
|
3822
|
-
function
|
3801
|
+
function _i(e) {
|
3823
3802
|
return e === void 0 && (e = {
|
3824
3803
|
number: {},
|
3825
3804
|
dateTime: {},
|
3826
3805
|
pluralRules: {}
|
3827
3806
|
}), {
|
3828
|
-
getNumberFormat:
|
3807
|
+
getNumberFormat: Ce(function() {
|
3829
3808
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3830
3809
|
r[n] = arguments[n];
|
3831
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3810
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
3832
3811
|
}, {
|
3833
|
-
cache:
|
3834
|
-
strategy:
|
3812
|
+
cache: Ue(e.number),
|
3813
|
+
strategy: Re.variadic
|
3835
3814
|
}),
|
3836
|
-
getDateTimeFormat:
|
3815
|
+
getDateTimeFormat: Ce(function() {
|
3837
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3838
3817
|
r[n] = arguments[n];
|
3839
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3818
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
3840
3819
|
}, {
|
3841
|
-
cache:
|
3842
|
-
strategy:
|
3820
|
+
cache: Ue(e.dateTime),
|
3821
|
+
strategy: Re.variadic
|
3843
3822
|
}),
|
3844
|
-
getPluralRules:
|
3823
|
+
getPluralRules: Ce(function() {
|
3845
3824
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3846
3825
|
r[n] = arguments[n];
|
3847
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3826
|
+
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
3848
3827
|
}, {
|
3849
|
-
cache:
|
3850
|
-
strategy:
|
3828
|
+
cache: Ue(e.pluralRules),
|
3829
|
+
strategy: Re.variadic
|
3851
3830
|
})
|
3852
3831
|
};
|
3853
3832
|
}
|
3854
|
-
var
|
3833
|
+
var Ei = (
|
3855
3834
|
/** @class */
|
3856
3835
|
function() {
|
3857
3836
|
function e(t, r, n, i) {
|
@@ -3883,13 +3862,13 @@ var xi = (
|
|
3883
3862
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3884
3863
|
var o = i || {};
|
3885
3864
|
o.formatters;
|
3886
|
-
var a =
|
3887
|
-
this.ast = e.__parse(t,
|
3865
|
+
var a = Kr(o, ["formatters"]);
|
3866
|
+
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
3888
3867
|
} else
|
3889
3868
|
this.ast = t;
|
3890
3869
|
if (!Array.isArray(this.ast))
|
3891
3870
|
throw new TypeError("A message must be provided as a String or AST.");
|
3892
|
-
this.formats =
|
3871
|
+
this.formats = vi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
|
3893
3872
|
}
|
3894
3873
|
return Object.defineProperty(e, "defaultLocale", {
|
3895
3874
|
get: function() {
|
@@ -3902,7 +3881,7 @@ var xi = (
|
|
3902
3881
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3903
3882
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3904
3883
|
}
|
3905
|
-
}, e.__parse =
|
3884
|
+
}, e.__parse = mi, e.formats = {
|
3906
3885
|
number: {
|
3907
3886
|
integer: {
|
3908
3887
|
maximumFractionDigits: 0
|
@@ -3963,7 +3942,7 @@ var xi = (
|
|
3963
3942
|
}, e;
|
3964
3943
|
}()
|
3965
3944
|
);
|
3966
|
-
function
|
3945
|
+
function xi(e, t) {
|
3967
3946
|
if (t == null)
|
3968
3947
|
return;
|
3969
3948
|
if (t in e)
|
@@ -3984,50 +3963,50 @@ function Si(e, t) {
|
|
3984
3963
|
n = void 0;
|
3985
3964
|
return n;
|
3986
3965
|
}
|
3987
|
-
const D = {},
|
3966
|
+
const D = {}, Si = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), gr = (e, t) => {
|
3988
3967
|
if (t == null)
|
3989
3968
|
return;
|
3990
3969
|
if (t in D && e in D[t])
|
3991
3970
|
return D[t][e];
|
3992
|
-
const r =
|
3971
|
+
const r = Ae(t);
|
3993
3972
|
for (let n = 0; n < r.length; n++) {
|
3994
|
-
const i = r[n], s =
|
3973
|
+
const i = r[n], s = Ti(i, e);
|
3995
3974
|
if (s)
|
3996
|
-
return
|
3975
|
+
return Si(e, t, s);
|
3997
3976
|
}
|
3998
3977
|
};
|
3999
|
-
let
|
4000
|
-
const me =
|
4001
|
-
function
|
4002
|
-
return
|
3978
|
+
let ot;
|
3979
|
+
const me = He({});
|
3980
|
+
function wi(e) {
|
3981
|
+
return ot[e] || null;
|
4003
3982
|
}
|
4004
|
-
function
|
4005
|
-
return e in
|
3983
|
+
function yr(e) {
|
3984
|
+
return e in ot;
|
4006
3985
|
}
|
4007
|
-
function
|
4008
|
-
if (!
|
3986
|
+
function Ti(e, t) {
|
3987
|
+
if (!yr(e))
|
4009
3988
|
return null;
|
4010
|
-
const r =
|
4011
|
-
return
|
3989
|
+
const r = wi(e);
|
3990
|
+
return xi(r, t);
|
4012
3991
|
}
|
4013
|
-
function
|
3992
|
+
function Hi(e) {
|
4014
3993
|
if (e == null)
|
4015
3994
|
return;
|
4016
|
-
const t =
|
3995
|
+
const t = Ae(e);
|
4017
3996
|
for (let r = 0; r < t.length; r++) {
|
4018
3997
|
const n = t[r];
|
4019
|
-
if (
|
3998
|
+
if (yr(n))
|
4020
3999
|
return n;
|
4021
4000
|
}
|
4022
4001
|
}
|
4023
4002
|
function vr(e, ...t) {
|
4024
4003
|
delete D[e], me.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
4025
4004
|
}
|
4026
|
-
|
4005
|
+
ie(
|
4027
4006
|
[me],
|
4028
4007
|
([e]) => Object.keys(e)
|
4029
4008
|
);
|
4030
|
-
me.subscribe((e) =>
|
4009
|
+
me.subscribe((e) => ot = e);
|
4031
4010
|
const xe = {};
|
4032
4011
|
function Bi(e, t) {
|
4033
4012
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
@@ -4035,39 +4014,39 @@ function Bi(e, t) {
|
|
4035
4014
|
function _r(e) {
|
4036
4015
|
return xe[e];
|
4037
4016
|
}
|
4038
|
-
function
|
4039
|
-
return
|
4017
|
+
function Ai(e) {
|
4018
|
+
return Ae(e).map((t) => {
|
4040
4019
|
const r = _r(t);
|
4041
4020
|
return [t, r ? [...r] : []];
|
4042
4021
|
}).filter(([, t]) => t.length > 0);
|
4043
4022
|
}
|
4044
|
-
function
|
4045
|
-
return e == null ? !1 :
|
4023
|
+
function et(e) {
|
4024
|
+
return e == null ? !1 : Ae(e).some(
|
4046
4025
|
(t) => {
|
4047
4026
|
var r;
|
4048
4027
|
return (r = _r(t)) == null ? void 0 : r.size;
|
4049
4028
|
}
|
4050
4029
|
);
|
4051
4030
|
}
|
4052
|
-
function
|
4031
|
+
function Pi(e, t) {
|
4053
4032
|
return Promise.all(
|
4054
4033
|
t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
|
4055
4034
|
).then((n) => vr(e, ...n));
|
4056
4035
|
}
|
4057
|
-
const
|
4036
|
+
const oe = {};
|
4058
4037
|
function Er(e) {
|
4059
|
-
if (!
|
4060
|
-
return e in
|
4061
|
-
const t =
|
4062
|
-
return
|
4038
|
+
if (!et(e))
|
4039
|
+
return e in oe ? oe[e] : Promise.resolve();
|
4040
|
+
const t = Ai(e);
|
4041
|
+
return oe[e] = Promise.all(
|
4063
4042
|
t.map(
|
4064
|
-
([r, n]) =>
|
4043
|
+
([r, n]) => Pi(r, n)
|
4065
4044
|
)
|
4066
4045
|
).then(() => {
|
4067
|
-
if (
|
4046
|
+
if (et(e))
|
4068
4047
|
return Er(e);
|
4069
|
-
delete
|
4070
|
-
}),
|
4048
|
+
delete oe[e];
|
4049
|
+
}), oe[e];
|
4071
4050
|
}
|
4072
4051
|
const Ni = {
|
4073
4052
|
number: {
|
@@ -4098,135 +4077,135 @@ const Ni = {
|
|
4098
4077
|
timeZoneName: "short"
|
4099
4078
|
}
|
4100
4079
|
}
|
4101
|
-
},
|
4080
|
+
}, Oi = {
|
4102
4081
|
fallbackLocale: null,
|
4103
4082
|
loadingDelay: 200,
|
4104
4083
|
formats: Ni,
|
4105
4084
|
warnOnMissingMessages: !0,
|
4106
4085
|
handleMissingMessage: void 0,
|
4107
4086
|
ignoreTag: !0
|
4108
|
-
},
|
4109
|
-
function
|
4110
|
-
return
|
4087
|
+
}, Li = Oi;
|
4088
|
+
function te() {
|
4089
|
+
return Li;
|
4111
4090
|
}
|
4112
|
-
const
|
4113
|
-
var
|
4091
|
+
const De = He(!1);
|
4092
|
+
var Ii = Object.defineProperty, Mi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
|
4114
4093
|
for (var r in t || (t = {}))
|
4115
|
-
|
4116
|
-
if (
|
4117
|
-
for (var r of
|
4118
|
-
|
4094
|
+
Ri.call(t, r) && It(e, r, t[r]);
|
4095
|
+
if (Lt)
|
4096
|
+
for (var r of Lt(t))
|
4097
|
+
Gi.call(t, r) && It(e, r, t[r]);
|
4119
4098
|
return e;
|
4120
|
-
},
|
4121
|
-
let
|
4122
|
-
const
|
4099
|
+
}, Di = (e, t) => Mi(e, Ci(t));
|
4100
|
+
let tt;
|
4101
|
+
const Se = He(null);
|
4123
4102
|
function Mt(e) {
|
4124
4103
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4125
4104
|
}
|
4126
|
-
function
|
4105
|
+
function Ae(e, t = te().fallbackLocale) {
|
4127
4106
|
const r = Mt(e);
|
4128
4107
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
4129
4108
|
}
|
4130
4109
|
function V() {
|
4131
|
-
return
|
4110
|
+
return tt ?? void 0;
|
4132
4111
|
}
|
4133
|
-
|
4134
|
-
|
4112
|
+
Se.subscribe((e) => {
|
4113
|
+
tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
4135
4114
|
});
|
4136
4115
|
const Fi = (e) => {
|
4137
|
-
if (e &&
|
4138
|
-
const { loadingDelay: t } =
|
4116
|
+
if (e && Hi(e) && et(e)) {
|
4117
|
+
const { loadingDelay: t } = te();
|
4139
4118
|
let r;
|
4140
4119
|
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
4141
|
-
() =>
|
4120
|
+
() => De.set(!0),
|
4142
4121
|
t
|
4143
|
-
) :
|
4144
|
-
|
4122
|
+
) : De.set(!0), Er(e).then(() => {
|
4123
|
+
Se.set(e);
|
4145
4124
|
}).finally(() => {
|
4146
|
-
clearTimeout(r),
|
4125
|
+
clearTimeout(r), De.set(!1);
|
4147
4126
|
});
|
4148
4127
|
}
|
4149
|
-
return
|
4150
|
-
}, de =
|
4128
|
+
return Se.set(e);
|
4129
|
+
}, de = Di(Ui({}, Se), {
|
4151
4130
|
set: Fi
|
4152
|
-
}),
|
4131
|
+
}), Pe = (e) => {
|
4153
4132
|
const t = /* @__PURE__ */ Object.create(null);
|
4154
4133
|
return (n) => {
|
4155
4134
|
const i = JSON.stringify(n);
|
4156
4135
|
return i in t ? t[i] : t[i] = e(n);
|
4157
4136
|
};
|
4158
4137
|
};
|
4159
|
-
var
|
4138
|
+
var $i = Object.defineProperty, we = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
4160
4139
|
for (var r in t || (t = {}))
|
4161
|
-
xr.call(t, r) &&
|
4162
|
-
if (
|
4163
|
-
for (var r of
|
4164
|
-
Sr.call(t, r) &&
|
4140
|
+
xr.call(t, r) && Ct(e, r, t[r]);
|
4141
|
+
if (we)
|
4142
|
+
for (var r of we(t))
|
4143
|
+
Sr.call(t, r) && Ct(e, r, t[r]);
|
4165
4144
|
return e;
|
4166
|
-
},
|
4145
|
+
}, se = (e, t) => {
|
4167
4146
|
var r = {};
|
4168
4147
|
for (var n in e)
|
4169
4148
|
xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4170
|
-
if (e != null &&
|
4171
|
-
for (var n of
|
4149
|
+
if (e != null && we)
|
4150
|
+
for (var n of we(e))
|
4172
4151
|
t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
|
4173
4152
|
return r;
|
4174
4153
|
};
|
4175
|
-
const
|
4176
|
-
const { formats: r } =
|
4154
|
+
const le = (e, t) => {
|
4155
|
+
const { formats: r } = te();
|
4177
4156
|
if (e in r && t in r[e])
|
4178
4157
|
return r[e][t];
|
4179
4158
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4180
|
-
},
|
4159
|
+
}, ji = Pe(
|
4181
4160
|
(e) => {
|
4182
|
-
var t = e, { locale: r, format: n } = t, i =
|
4161
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4183
4162
|
if (r == null)
|
4184
4163
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4185
|
-
return n && (i =
|
4164
|
+
return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
|
4186
4165
|
}
|
4187
|
-
),
|
4166
|
+
), ki = Pe(
|
4188
4167
|
(e) => {
|
4189
|
-
var t = e, { locale: r, format: n } = t, i =
|
4168
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4190
4169
|
if (r == null)
|
4191
4170
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4192
|
-
return n ? i =
|
4171
|
+
return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
|
4193
4172
|
}
|
4194
|
-
),
|
4173
|
+
), Vi = Pe(
|
4195
4174
|
(e) => {
|
4196
|
-
var t = e, { locale: r, format: n } = t, i =
|
4175
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4197
4176
|
if (r == null)
|
4198
4177
|
throw new Error(
|
4199
4178
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4200
4179
|
);
|
4201
|
-
return n ? i =
|
4180
|
+
return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
|
4202
4181
|
}
|
4203
|
-
),
|
4182
|
+
), Xi = (e = {}) => {
|
4204
4183
|
var t = e, {
|
4205
4184
|
locale: r = V()
|
4206
|
-
} = t, n =
|
4185
|
+
} = t, n = se(t, [
|
4207
4186
|
"locale"
|
4208
4187
|
]);
|
4209
|
-
return
|
4210
|
-
},
|
4188
|
+
return ji(at({ locale: r }, n));
|
4189
|
+
}, Wi = (e = {}) => {
|
4211
4190
|
var t = e, {
|
4212
4191
|
locale: r = V()
|
4213
|
-
} = t, n =
|
4192
|
+
} = t, n = se(t, [
|
4214
4193
|
"locale"
|
4215
4194
|
]);
|
4216
|
-
return
|
4217
|
-
},
|
4195
|
+
return ki(at({ locale: r }, n));
|
4196
|
+
}, zi = (e = {}) => {
|
4218
4197
|
var t = e, {
|
4219
4198
|
locale: r = V()
|
4220
|
-
} = t, n =
|
4199
|
+
} = t, n = se(t, [
|
4221
4200
|
"locale"
|
4222
4201
|
]);
|
4223
|
-
return
|
4224
|
-
},
|
4202
|
+
return Vi(at({ locale: r }, n));
|
4203
|
+
}, Zi = Pe(
|
4225
4204
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4226
|
-
(e, t = V()) => new
|
4227
|
-
ignoreTag:
|
4205
|
+
(e, t = V()) => new Ei(e, t, te().formats, {
|
4206
|
+
ignoreTag: te().ignoreTag
|
4228
4207
|
})
|
4229
|
-
),
|
4208
|
+
), Qi = (e, t = {}) => {
|
4230
4209
|
var r, n, i, s;
|
4231
4210
|
let o = t;
|
4232
4211
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4239,9 +4218,9 @@ const he = (e, t) => {
|
|
4239
4218
|
throw new Error(
|
4240
4219
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4241
4220
|
);
|
4242
|
-
let l =
|
4221
|
+
let l = gr(e, h);
|
4243
4222
|
if (!l)
|
4244
|
-
l = (s = (i = (n = (r =
|
4223
|
+
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;
|
4245
4224
|
else if (typeof l != "string")
|
4246
4225
|
return console.warn(
|
4247
4226
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -4250,7 +4229,7 @@ const he = (e, t) => {
|
|
4250
4229
|
return l;
|
4251
4230
|
let m = l;
|
4252
4231
|
try {
|
4253
|
-
m =
|
4232
|
+
m = Zi(l, h).format(a);
|
4254
4233
|
} catch (c) {
|
4255
4234
|
c instanceof Error && console.warn(
|
4256
4235
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4258,20 +4237,20 @@ const he = (e, t) => {
|
|
4258
4237
|
);
|
4259
4238
|
}
|
4260
4239
|
return m;
|
4261
|
-
},
|
4262
|
-
|
4263
|
-
|
4264
|
-
|
4265
|
-
|
4266
|
-
window.emWidgets = { topic:
|
4267
|
-
const
|
4268
|
-
function
|
4240
|
+
}, Yi = (e, t) => zi(t).format(e), qi = (e, t) => Wi(t).format(e), Ji = (e, t) => Xi(t).format(e), Ki = (e, t = V()) => gr(e, t), es = ie([de, me], () => Qi);
|
4241
|
+
ie([de], () => Yi);
|
4242
|
+
ie([de], () => qi);
|
4243
|
+
ie([de], () => Ji);
|
4244
|
+
ie([de, me], () => Ki);
|
4245
|
+
window.emWidgets = { topic: dn };
|
4246
|
+
const ts = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4247
|
+
function rs(e, t) {
|
4269
4248
|
if (e) {
|
4270
4249
|
const r = document.createElement("style");
|
4271
4250
|
r.innerHTML = t, e.appendChild(r);
|
4272
4251
|
}
|
4273
4252
|
}
|
4274
|
-
function
|
4253
|
+
function ns(e, t) {
|
4275
4254
|
const r = new URL(t);
|
4276
4255
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4277
4256
|
const i = document.createElement("style");
|
@@ -4280,7 +4259,7 @@ function is(e, t) {
|
|
4280
4259
|
console.error("There was an error while trying to load client styling from URL", n);
|
4281
4260
|
});
|
4282
4261
|
}
|
4283
|
-
function
|
4262
|
+
function is(e, t, r) {
|
4284
4263
|
if (window.emMessageBus) {
|
4285
4264
|
const n = document.createElement("style");
|
4286
4265
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4288,10 +4267,10 @@ function ss(e, t, r) {
|
|
4288
4267
|
});
|
4289
4268
|
}
|
4290
4269
|
}
|
4291
|
-
function
|
4270
|
+
function Rt(e, t) {
|
4292
4271
|
vr(e, t);
|
4293
4272
|
}
|
4294
|
-
const
|
4273
|
+
const Gt = {
|
4295
4274
|
en: {
|
4296
4275
|
lobbyName: "Lobby",
|
4297
4276
|
myGamesName: "My games"
|
@@ -4377,173 +4356,173 @@ if (typeof window < "u") {
|
|
4377
4356
|
}
|
4378
4357
|
};
|
4379
4358
|
};
|
4380
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4359
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-B_nmfSXX.js").then(({ default: t }) => {
|
4381
4360
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4382
4361
|
});
|
4383
4362
|
}
|
4384
|
-
function
|
4385
|
-
|
4363
|
+
function ss(e) {
|
4364
|
+
Cr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
|
4386
4365
|
}
|
4387
|
-
function
|
4366
|
+
function os(e) {
|
4388
4367
|
let t, r;
|
4389
4368
|
return {
|
4390
4369
|
c() {
|
4391
|
-
t = k("div"), r = k("casino-slider"),
|
4370
|
+
t = k("div"), r = k("casino-slider"), _(
|
4392
4371
|
r,
|
4393
4372
|
"lang",
|
4394
4373
|
/*lang*/
|
4395
4374
|
e[3]
|
4396
|
-
),
|
4375
|
+
), _(
|
4397
4376
|
r,
|
4398
4377
|
"datasource",
|
4399
4378
|
/*datasource*/
|
4400
4379
|
e[2]
|
4401
|
-
),
|
4380
|
+
), _(
|
4402
4381
|
r,
|
4403
4382
|
"endpoint",
|
4404
4383
|
/*endpoint*/
|
4405
4384
|
e[1]
|
4406
|
-
),
|
4385
|
+
), _(r, "identity", rt), _(
|
4407
4386
|
r,
|
4408
4387
|
"favoritesnumber",
|
4409
4388
|
/*numberOfFavoredGames*/
|
4410
4389
|
e[16]
|
4411
|
-
),
|
4390
|
+
), _(
|
4412
4391
|
r,
|
4413
4392
|
"showsubgroups",
|
4414
4393
|
/*showsubgroups*/
|
4415
4394
|
e[8]
|
4416
|
-
),
|
4395
|
+
), _(
|
4417
4396
|
r,
|
4418
4397
|
"clientstyling",
|
4419
4398
|
/*clientstyling*/
|
4420
4399
|
e[4]
|
4421
|
-
),
|
4400
|
+
), _(
|
4422
4401
|
r,
|
4423
4402
|
"clientstylingurl",
|
4424
4403
|
/*clientstylingurl*/
|
4425
4404
|
e[5]
|
4426
|
-
),
|
4405
|
+
), _(
|
4427
4406
|
r,
|
4428
4407
|
"mbsource",
|
4429
4408
|
/*mbsource*/
|
4430
4409
|
e[12]
|
4431
|
-
),
|
4410
|
+
), _(
|
4432
4411
|
r,
|
4433
4412
|
"activeindex",
|
4434
4413
|
/*activecategory*/
|
4435
4414
|
e[0]
|
4436
|
-
),
|
4415
|
+
), _(
|
4437
4416
|
r,
|
4438
4417
|
"actionevent",
|
4439
4418
|
/*actionevent*/
|
4440
4419
|
e[6]
|
4441
|
-
),
|
4420
|
+
), _(
|
4442
4421
|
r,
|
4443
4422
|
"location",
|
4444
4423
|
/*location*/
|
4445
4424
|
e[7]
|
4446
|
-
),
|
4425
|
+
), _(
|
4447
4426
|
r,
|
4448
4427
|
"categoriesicon",
|
4449
4428
|
/*categoriesicon*/
|
4450
4429
|
e[9]
|
4451
|
-
),
|
4430
|
+
), _(
|
4452
4431
|
r,
|
4453
4432
|
"lobbyiconimage",
|
4454
4433
|
/*lobbyiconimage*/
|
4455
4434
|
e[10]
|
4456
|
-
),
|
4435
|
+
), _(
|
4457
4436
|
r,
|
4458
4437
|
"mygamesiconimage",
|
4459
4438
|
/*mygamesiconimage*/
|
4460
4439
|
e[11]
|
4461
|
-
),
|
4440
|
+
), fe(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
4462
4441
|
},
|
4463
4442
|
m(n, i) {
|
4464
|
-
|
4443
|
+
ce(n, t, i), $t(t, r);
|
4465
4444
|
},
|
4466
4445
|
p(n, i) {
|
4467
4446
|
i[0] & /*lang*/
|
4468
|
-
8 &&
|
4447
|
+
8 && _(
|
4469
4448
|
r,
|
4470
4449
|
"lang",
|
4471
4450
|
/*lang*/
|
4472
4451
|
n[3]
|
4473
4452
|
), i[0] & /*datasource*/
|
4474
|
-
4 &&
|
4453
|
+
4 && _(
|
4475
4454
|
r,
|
4476
4455
|
"datasource",
|
4477
4456
|
/*datasource*/
|
4478
4457
|
n[2]
|
4479
4458
|
), i[0] & /*endpoint*/
|
4480
|
-
2 &&
|
4459
|
+
2 && _(
|
4481
4460
|
r,
|
4482
4461
|
"endpoint",
|
4483
4462
|
/*endpoint*/
|
4484
4463
|
n[1]
|
4485
4464
|
), i[0] & /*numberOfFavoredGames*/
|
4486
|
-
65536 &&
|
4465
|
+
65536 && _(
|
4487
4466
|
r,
|
4488
4467
|
"favoritesnumber",
|
4489
4468
|
/*numberOfFavoredGames*/
|
4490
4469
|
n[16]
|
4491
4470
|
), i[0] & /*showsubgroups*/
|
4492
|
-
256 &&
|
4471
|
+
256 && _(
|
4493
4472
|
r,
|
4494
4473
|
"showsubgroups",
|
4495
4474
|
/*showsubgroups*/
|
4496
4475
|
n[8]
|
4497
4476
|
), i[0] & /*clientstyling*/
|
4498
|
-
16 &&
|
4477
|
+
16 && _(
|
4499
4478
|
r,
|
4500
4479
|
"clientstyling",
|
4501
4480
|
/*clientstyling*/
|
4502
4481
|
n[4]
|
4503
4482
|
), i[0] & /*clientstylingurl*/
|
4504
|
-
32 &&
|
4483
|
+
32 && _(
|
4505
4484
|
r,
|
4506
4485
|
"clientstylingurl",
|
4507
4486
|
/*clientstylingurl*/
|
4508
4487
|
n[5]
|
4509
4488
|
), i[0] & /*mbsource*/
|
4510
|
-
4096 &&
|
4489
|
+
4096 && _(
|
4511
4490
|
r,
|
4512
4491
|
"mbsource",
|
4513
4492
|
/*mbsource*/
|
4514
4493
|
n[12]
|
4515
4494
|
), i[0] & /*activecategory*/
|
4516
|
-
1 &&
|
4495
|
+
1 && _(
|
4517
4496
|
r,
|
4518
4497
|
"activeindex",
|
4519
4498
|
/*activecategory*/
|
4520
4499
|
n[0]
|
4521
4500
|
), i[0] & /*actionevent*/
|
4522
|
-
64 &&
|
4501
|
+
64 && _(
|
4523
4502
|
r,
|
4524
4503
|
"actionevent",
|
4525
4504
|
/*actionevent*/
|
4526
4505
|
n[6]
|
4527
4506
|
), i[0] & /*location*/
|
4528
|
-
128 &&
|
4507
|
+
128 && _(
|
4529
4508
|
r,
|
4530
4509
|
"location",
|
4531
4510
|
/*location*/
|
4532
4511
|
n[7]
|
4533
4512
|
), i[0] & /*categoriesicon*/
|
4534
|
-
512 &&
|
4513
|
+
512 && _(
|
4535
4514
|
r,
|
4536
4515
|
"categoriesicon",
|
4537
4516
|
/*categoriesicon*/
|
4538
4517
|
n[9]
|
4539
4518
|
), i[0] & /*lobbyiconimage*/
|
4540
|
-
1024 &&
|
4519
|
+
1024 && _(
|
4541
4520
|
r,
|
4542
4521
|
"lobbyiconimage",
|
4543
4522
|
/*lobbyiconimage*/
|
4544
4523
|
n[10]
|
4545
4524
|
), i[0] & /*mygamesiconimage*/
|
4546
|
-
2048 &&
|
4525
|
+
2048 && _(
|
4547
4526
|
r,
|
4548
4527
|
"mygamesiconimage",
|
4549
4528
|
/*mygamesiconimage*/
|
@@ -4551,48 +4530,48 @@ function as(e) {
|
|
4551
4530
|
);
|
4552
4531
|
},
|
4553
4532
|
d(n) {
|
4554
|
-
n &&
|
4533
|
+
n && ne(t);
|
4555
4534
|
}
|
4556
4535
|
};
|
4557
4536
|
}
|
4558
|
-
function
|
4537
|
+
function as(e) {
|
4559
4538
|
let t;
|
4560
4539
|
return {
|
4561
4540
|
c() {
|
4562
|
-
t = k("p"), t.textContent = "500 Error - Internal Server Error.",
|
4541
|
+
t = k("p"), t.textContent = "500 Error - Internal Server Error.", fe(t, "class", "SearchLoading svelte-1my2wow");
|
4563
4542
|
},
|
4564
4543
|
m(r, n) {
|
4565
|
-
|
4544
|
+
ce(r, t, n);
|
4566
4545
|
},
|
4567
4546
|
p: I,
|
4568
4547
|
d(r) {
|
4569
|
-
r &&
|
4548
|
+
r && ne(t);
|
4570
4549
|
}
|
4571
4550
|
};
|
4572
4551
|
}
|
4573
|
-
function
|
4552
|
+
function us(e) {
|
4574
4553
|
let t;
|
4575
4554
|
return {
|
4576
4555
|
c() {
|
4577
|
-
t = k("div"),
|
4556
|
+
t = k("div"), fe(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
4578
4557
|
},
|
4579
4558
|
m(r, n) {
|
4580
|
-
|
4559
|
+
ce(r, t, n);
|
4581
4560
|
},
|
4582
4561
|
p: I,
|
4583
4562
|
d(r) {
|
4584
|
-
r &&
|
4563
|
+
r && ne(t);
|
4585
4564
|
}
|
4586
4565
|
};
|
4587
4566
|
}
|
4588
|
-
function
|
4567
|
+
function hs(e) {
|
4589
4568
|
let t;
|
4590
4569
|
function r(s, o) {
|
4591
4570
|
return (
|
4592
4571
|
/*isLoading*/
|
4593
|
-
s[13] ||
|
4572
|
+
s[13] || ls || cs ? us : (
|
4594
4573
|
/*hasErrors*/
|
4595
|
-
s[15] ?
|
4574
|
+
s[15] ? as : os
|
4596
4575
|
)
|
4597
4576
|
);
|
4598
4577
|
}
|
@@ -4602,7 +4581,7 @@ function ls(e) {
|
|
4602
4581
|
t = k("div"), i.c();
|
4603
4582
|
},
|
4604
4583
|
m(s, o) {
|
4605
|
-
|
4584
|
+
ce(s, t, o), i.m(t, null), e[26](t);
|
4606
4585
|
},
|
4607
4586
|
p(s, o) {
|
4608
4587
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
@@ -4610,114 +4589,114 @@ function ls(e) {
|
|
4610
4589
|
i: I,
|
4611
4590
|
o: I,
|
4612
4591
|
d(s) {
|
4613
|
-
s &&
|
4592
|
+
s && ne(t), i.d(), e[26](null);
|
4614
4593
|
}
|
4615
4594
|
};
|
4616
4595
|
}
|
4617
|
-
let
|
4618
|
-
function
|
4596
|
+
let rt = "CasinoSliderData", ls = !1, cs = !1;
|
4597
|
+
function fs(e, t, r) {
|
4619
4598
|
let n;
|
4620
|
-
|
4621
|
-
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:
|
4599
|
+
Mr(e, es, (f) => r(32, n = f));
|
4600
|
+
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: M = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: C = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: B } = t, L, F, ut, $ = !0, X, W = [], j = !1, wr = window.navigator.userAgent, R, ht, lt = !1, Ne = !1;
|
4622
4601
|
const Tr = () => {
|
4623
|
-
fetch(
|
4624
|
-
Object.keys(
|
4625
|
-
|
4602
|
+
fetch(N).then((A) => A.json()).then((A) => {
|
4603
|
+
Object.keys(A).forEach((be) => {
|
4604
|
+
Rt(be, A[be]);
|
4626
4605
|
});
|
4627
|
-
}).catch((
|
4628
|
-
console.log(
|
4606
|
+
}).catch((A) => {
|
4607
|
+
console.log(A);
|
4629
4608
|
});
|
4630
4609
|
};
|
4631
|
-
Object.keys(
|
4632
|
-
|
4610
|
+
Object.keys(Gt).forEach((f) => {
|
4611
|
+
Rt(f, Gt[f]);
|
4633
4612
|
});
|
4634
4613
|
const Hr = () => {
|
4635
|
-
|
4614
|
+
lt == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
|
4636
4615
|
// @ts-ignore
|
4637
4616
|
id: "MYGAMES",
|
4638
|
-
name:
|
4617
|
+
name: F,
|
4639
4618
|
href: "",
|
4640
4619
|
games: []
|
4641
|
-
}), jr(),
|
4642
|
-
},
|
4643
|
-
if (
|
4620
|
+
}), jr(), lt = !0, r(25, Ne = !0), ct();
|
4621
|
+
}, Br = () => (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), Ar = () => {
|
4622
|
+
if (F = n("myGamesName"), ut = n("lobbyName"), !Br()) {
|
4644
4623
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
4645
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
4646
|
-
(
|
4647
|
-
let be = w.split(","),
|
4648
|
-
let
|
4649
|
-
if (
|
4624
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", ts(wr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((A) => A.json()).then(
|
4625
|
+
(A) => {
|
4626
|
+
let be = w.split(","), Or = A.items.filter((mt) => {
|
4627
|
+
let Oe = !1;
|
4628
|
+
if (mt.games.total > 0 && (Oe = !0, w))
|
4650
4629
|
for (let Lr of be)
|
4651
|
-
|
4652
|
-
return
|
4630
|
+
mt.flags == Lr && (Oe = !1);
|
4631
|
+
return Oe;
|
4653
4632
|
});
|
4654
|
-
W = [], W = W.concat(
|
4633
|
+
W = [], W = W.concat(Or), W.unshift({
|
4655
4634
|
// @ts-ignore
|
4656
4635
|
id: "LOBBY",
|
4657
|
-
name:
|
4636
|
+
name: ut,
|
4658
4637
|
href: "",
|
4659
4638
|
games: []
|
4660
|
-
}), r(13,
|
4639
|
+
}), r(13, $ = !1);
|
4661
4640
|
},
|
4662
|
-
(
|
4663
|
-
r(15, j = !0), console.error("There was an error while fetching the categories",
|
4641
|
+
(A) => {
|
4642
|
+
r(15, j = !0), console.error("There was an error while fetching the categories", A);
|
4664
4643
|
}
|
4665
|
-
).catch((
|
4666
|
-
r(15, j = !0), console.error("There was an error while fetching the categories",
|
4644
|
+
).catch((A) => {
|
4645
|
+
r(15, j = !0), console.error("There was an error while fetching the categories", A);
|
4667
4646
|
});
|
4668
4647
|
}
|
4669
4648
|
}, Pr = () => {
|
4670
4649
|
let f = b.split("$");
|
4671
4650
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4672
|
-
},
|
4651
|
+
}, ct = () => {
|
4673
4652
|
window.postMessage(
|
4674
4653
|
{
|
4675
4654
|
type: "SliderData",
|
4676
|
-
identity:
|
4655
|
+
identity: rt,
|
4677
4656
|
data: W
|
4678
4657
|
},
|
4679
4658
|
window.location.href
|
4680
4659
|
);
|
4681
|
-
},
|
4682
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4660
|
+
}, ft = (f) => {
|
4661
|
+
f.data && f.data.type == "SliderLoaded" && rt == f.data.identity && ct();
|
4683
4662
|
};
|
4684
|
-
|
4685
|
-
window.removeEventListener("message",
|
4663
|
+
$r(() => (window.addEventListener("message", ft, !1), () => {
|
4664
|
+
window.emMessageBus && L && L.unsubscribe(), window.removeEventListener("message", ft);
|
4686
4665
|
}));
|
4687
|
-
function
|
4688
|
-
|
4689
|
-
|
4666
|
+
function Nr(f) {
|
4667
|
+
Fe[f ? "unshift" : "push"](() => {
|
4668
|
+
R = f, r(14, R);
|
4690
4669
|
});
|
4691
4670
|
}
|
4692
4671
|
return e.$$set = (f) => {
|
4693
|
-
"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(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, 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,
|
4672
|
+
"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(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, 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(22, T = f.sessioncheck), "location" in f && r(7, M = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, C = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage), "mbsource" in f && r(12, B = f.mbsource);
|
4694
4673
|
}, e.$$.update = () => {
|
4695
4674
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4696
|
-
14 && i && s && o &&
|
4697
|
-
3940354 && i && h && (u || l || m) &&
|
4698
|
-
33824769 &&
|
4699
|
-
16777216 &&
|
4700
|
-
16400 && c &&
|
4701
|
-
16416 && d &&
|
4702
|
-
20480 &&
|
4703
|
-
}, r(16,
|
4675
|
+
14 && i && s && o && Ar(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4676
|
+
3940354 && i && h && (u || l || m) && !$ && Hr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4677
|
+
33824769 && !$ && b && (!h || Ne) && Pr(), e.$$.dirty[0] & /*translationurl*/
|
4678
|
+
16777216 && N && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4679
|
+
16400 && c && R && rs(R, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4680
|
+
16416 && d && R && ns(R, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4681
|
+
20480 && R && is(R, `${B}.Style`);
|
4682
|
+
}, r(16, ht = 0), [
|
4704
4683
|
b,
|
4705
4684
|
i,
|
4706
4685
|
s,
|
4707
4686
|
o,
|
4708
4687
|
c,
|
4709
4688
|
d,
|
4710
|
-
|
4711
|
-
C,
|
4712
|
-
P,
|
4713
|
-
N,
|
4689
|
+
y,
|
4714
4690
|
M,
|
4715
|
-
|
4716
|
-
|
4717
|
-
|
4718
|
-
|
4691
|
+
P,
|
4692
|
+
O,
|
4693
|
+
C,
|
4694
|
+
E,
|
4695
|
+
B,
|
4696
|
+
$,
|
4697
|
+
R,
|
4719
4698
|
j,
|
4720
|
-
|
4699
|
+
ht,
|
4721
4700
|
a,
|
4722
4701
|
h,
|
4723
4702
|
u,
|
@@ -4725,19 +4704,19 @@ function ms(e, t, r) {
|
|
4725
4704
|
m,
|
4726
4705
|
T,
|
4727
4706
|
w,
|
4728
|
-
|
4729
|
-
|
4730
|
-
|
4707
|
+
N,
|
4708
|
+
Ne,
|
4709
|
+
Nr
|
4731
4710
|
];
|
4732
4711
|
}
|
4733
|
-
class
|
4712
|
+
class ms extends qr {
|
4734
4713
|
constructor(t) {
|
4735
4714
|
super(), Qr(
|
4736
4715
|
this,
|
4737
4716
|
t,
|
4738
|
-
|
4739
|
-
|
4740
|
-
|
4717
|
+
fs,
|
4718
|
+
hs,
|
4719
|
+
Dt,
|
4741
4720
|
{
|
4742
4721
|
endpoint: 1,
|
4743
4722
|
datasource: 2,
|
@@ -4761,7 +4740,7 @@ class ds extends qr {
|
|
4761
4740
|
mygamesiconimage: 11,
|
4762
4741
|
mbsource: 12
|
4763
4742
|
},
|
4764
|
-
|
4743
|
+
ss,
|
4765
4744
|
[-1, -1]
|
4766
4745
|
);
|
4767
4746
|
}
|
@@ -4769,161 +4748,161 @@ class ds extends qr {
|
|
4769
4748
|
return this.$$.ctx[1];
|
4770
4749
|
}
|
4771
4750
|
set endpoint(t) {
|
4772
|
-
this.$$set({ endpoint: t }),
|
4751
|
+
this.$$set({ endpoint: t }), S();
|
4773
4752
|
}
|
4774
4753
|
get datasource() {
|
4775
4754
|
return this.$$.ctx[2];
|
4776
4755
|
}
|
4777
4756
|
set datasource(t) {
|
4778
|
-
this.$$set({ datasource: t }),
|
4757
|
+
this.$$set({ datasource: t }), S();
|
4779
4758
|
}
|
4780
4759
|
get lang() {
|
4781
4760
|
return this.$$.ctx[3];
|
4782
4761
|
}
|
4783
4762
|
set lang(t) {
|
4784
|
-
this.$$set({ lang: t }),
|
4763
|
+
this.$$set({ lang: t }), S();
|
4785
4764
|
}
|
4786
4765
|
get userid() {
|
4787
4766
|
return this.$$.ctx[17];
|
4788
4767
|
}
|
4789
4768
|
set userid(t) {
|
4790
|
-
this.$$set({ userid: t }),
|
4769
|
+
this.$$set({ userid: t }), S();
|
4791
4770
|
}
|
4792
4771
|
get session() {
|
4793
4772
|
return this.$$.ctx[18];
|
4794
4773
|
}
|
4795
4774
|
set session(t) {
|
4796
|
-
this.$$set({ session: t }),
|
4775
|
+
this.$$set({ session: t }), S();
|
4797
4776
|
}
|
4798
4777
|
get mostplayed() {
|
4799
4778
|
return this.$$.ctx[19];
|
4800
4779
|
}
|
4801
4780
|
set mostplayed(t) {
|
4802
|
-
this.$$set({ mostplayed: t }),
|
4781
|
+
this.$$set({ mostplayed: t }), S();
|
4803
4782
|
}
|
4804
4783
|
get lastplayed() {
|
4805
4784
|
return this.$$.ctx[20];
|
4806
4785
|
}
|
4807
4786
|
set lastplayed(t) {
|
4808
|
-
this.$$set({ lastplayed: t }),
|
4787
|
+
this.$$set({ lastplayed: t }), S();
|
4809
4788
|
}
|
4810
4789
|
get favorites() {
|
4811
4790
|
return this.$$.ctx[21];
|
4812
4791
|
}
|
4813
4792
|
set favorites(t) {
|
4814
|
-
this.$$set({ favorites: t }),
|
4793
|
+
this.$$set({ favorites: t }), S();
|
4815
4794
|
}
|
4816
4795
|
get clientstyling() {
|
4817
4796
|
return this.$$.ctx[4];
|
4818
4797
|
}
|
4819
4798
|
set clientstyling(t) {
|
4820
|
-
this.$$set({ clientstyling: t }),
|
4799
|
+
this.$$set({ clientstyling: t }), S();
|
4821
4800
|
}
|
4822
4801
|
get clientstylingurl() {
|
4823
4802
|
return this.$$.ctx[5];
|
4824
4803
|
}
|
4825
4804
|
set clientstylingurl(t) {
|
4826
|
-
this.$$set({ clientstylingurl: t }),
|
4805
|
+
this.$$set({ clientstylingurl: t }), S();
|
4827
4806
|
}
|
4828
4807
|
get activecategory() {
|
4829
4808
|
return this.$$.ctx[0];
|
4830
4809
|
}
|
4831
4810
|
set activecategory(t) {
|
4832
|
-
this.$$set({ activecategory: t }),
|
4811
|
+
this.$$set({ activecategory: t }), S();
|
4833
4812
|
}
|
4834
4813
|
get actionevent() {
|
4835
4814
|
return this.$$.ctx[6];
|
4836
4815
|
}
|
4837
4816
|
set actionevent(t) {
|
4838
|
-
this.$$set({ actionevent: t }),
|
4817
|
+
this.$$set({ actionevent: t }), S();
|
4839
4818
|
}
|
4840
4819
|
get sessioncheck() {
|
4841
4820
|
return this.$$.ctx[22];
|
4842
4821
|
}
|
4843
4822
|
set sessioncheck(t) {
|
4844
|
-
this.$$set({ sessioncheck: t }),
|
4823
|
+
this.$$set({ sessioncheck: t }), S();
|
4845
4824
|
}
|
4846
4825
|
get location() {
|
4847
4826
|
return this.$$.ctx[7];
|
4848
4827
|
}
|
4849
4828
|
set location(t) {
|
4850
|
-
this.$$set({ location: t }),
|
4829
|
+
this.$$set({ location: t }), S();
|
4851
4830
|
}
|
4852
4831
|
get showsubgroups() {
|
4853
4832
|
return this.$$.ctx[8];
|
4854
4833
|
}
|
4855
4834
|
set showsubgroups(t) {
|
4856
|
-
this.$$set({ showsubgroups: t }),
|
4835
|
+
this.$$set({ showsubgroups: t }), S();
|
4857
4836
|
}
|
4858
4837
|
get filteredcategories() {
|
4859
4838
|
return this.$$.ctx[23];
|
4860
4839
|
}
|
4861
4840
|
set filteredcategories(t) {
|
4862
|
-
this.$$set({ filteredcategories: t }),
|
4841
|
+
this.$$set({ filteredcategories: t }), S();
|
4863
4842
|
}
|
4864
4843
|
get translationurl() {
|
4865
4844
|
return this.$$.ctx[24];
|
4866
4845
|
}
|
4867
4846
|
set translationurl(t) {
|
4868
|
-
this.$$set({ translationurl: t }),
|
4847
|
+
this.$$set({ translationurl: t }), S();
|
4869
4848
|
}
|
4870
4849
|
get categoriesicon() {
|
4871
4850
|
return this.$$.ctx[9];
|
4872
4851
|
}
|
4873
4852
|
set categoriesicon(t) {
|
4874
|
-
this.$$set({ categoriesicon: t }),
|
4853
|
+
this.$$set({ categoriesicon: t }), S();
|
4875
4854
|
}
|
4876
4855
|
get lobbyiconimage() {
|
4877
4856
|
return this.$$.ctx[10];
|
4878
4857
|
}
|
4879
4858
|
set lobbyiconimage(t) {
|
4880
|
-
this.$$set({ lobbyiconimage: t }),
|
4859
|
+
this.$$set({ lobbyiconimage: t }), S();
|
4881
4860
|
}
|
4882
4861
|
get mygamesiconimage() {
|
4883
4862
|
return this.$$.ctx[11];
|
4884
4863
|
}
|
4885
4864
|
set mygamesiconimage(t) {
|
4886
|
-
this.$$set({ mygamesiconimage: t }),
|
4865
|
+
this.$$set({ mygamesiconimage: t }), S();
|
4887
4866
|
}
|
4888
4867
|
get mbsource() {
|
4889
4868
|
return this.$$.ctx[12];
|
4890
4869
|
}
|
4891
4870
|
set mbsource(t) {
|
4892
|
-
this.$$set({ mbsource: t }),
|
4871
|
+
this.$$set({ mbsource: t }), S();
|
4893
4872
|
}
|
4894
4873
|
}
|
4895
|
-
Yr(
|
4874
|
+
Yr(ms, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4896
4875
|
export {
|
4897
4876
|
de as $,
|
4898
|
-
|
4899
|
-
|
4900
|
-
|
4901
|
-
|
4877
|
+
bs as A,
|
4878
|
+
jt as B,
|
4879
|
+
vs as C,
|
4880
|
+
ms as D,
|
4902
4881
|
qr as S,
|
4903
4882
|
me as a,
|
4904
4883
|
vr as b,
|
4905
4884
|
Yr as c,
|
4906
|
-
|
4907
|
-
|
4908
|
-
|
4909
|
-
|
4910
|
-
|
4885
|
+
Cr as d,
|
4886
|
+
k as e,
|
4887
|
+
S as f,
|
4888
|
+
ps as g,
|
4889
|
+
fe as h,
|
4911
4890
|
Qr as i,
|
4912
|
-
|
4913
|
-
k,
|
4914
|
-
|
4915
|
-
|
4891
|
+
ce as j,
|
4892
|
+
$t as k,
|
4893
|
+
ys as l,
|
4894
|
+
ne as m,
|
4916
4895
|
I as n,
|
4917
|
-
|
4918
|
-
|
4919
|
-
|
4920
|
-
|
4921
|
-
|
4922
|
-
|
4923
|
-
|
4924
|
-
|
4925
|
-
|
4926
|
-
|
4927
|
-
|
4928
|
-
|
4896
|
+
$r as o,
|
4897
|
+
ns as p,
|
4898
|
+
is as q,
|
4899
|
+
re as r,
|
4900
|
+
Dt as s,
|
4901
|
+
_s as t,
|
4902
|
+
gs as u,
|
4903
|
+
xs as v,
|
4904
|
+
ds as w,
|
4905
|
+
Fe as x,
|
4906
|
+
rs as y,
|
4907
|
+
Es as z
|
4929
4908
|
};
|