@everymatrix/casino-categories-vendor-bar 1.55.0 → 1.56.2
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/{CasinoCategoriesVendorBar-DSpNbGE4.js → CasinoCategoriesVendorBar-BLRV7eGP.js} +629 -577
- package/components/{CasinoCategoriesVendorBar-DL4NyO_C.js → CasinoCategoriesVendorBar-Bi1FrQqq.js} +667 -615
- package/components/CasinoCategoriesVendorBar-Kyz7rH6A.cjs +18 -0
- package/es2015/casino-categories-vendor-bar.cjs +1 -1
- package/es2015/casino-categories-vendor-bar.js +1 -1
- package/esnext/casino-categories-vendor-bar.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesVendorBar-BYWRvFp3.cjs +0 -5
package/components/{CasinoCategoriesVendorBar-DSpNbGE4.js → CasinoCategoriesVendorBar-BLRV7eGP.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var jr = Object.defineProperty, Vr = Object.defineProperties;
|
|
2
|
+
var Wr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var dt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Ne = (e, t, r) => t in e ?
|
|
4
|
+
var Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ne = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Xr.call(t, r) && Ne(e, r, t[r]);
|
|
8
8
|
if (dt)
|
|
9
9
|
for (var r of dt(t))
|
|
10
|
-
|
|
10
|
+
zr.call(t, r) && Ne(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, mt = (e, t) =>
|
|
13
|
-
var G = (e, t, r) => Ne(e, typeof t != "symbol" ? t + "" : t, r);
|
|
12
|
+
}, mt = (e, t) => Vr(e, Wr(t));
|
|
13
|
+
var G = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var bt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
@@ -45,13 +45,13 @@ function qt(e, t) {
|
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let be;
|
|
48
|
-
function
|
|
48
|
+
function we(e, t) {
|
|
49
49
|
return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Zr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Qr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,18 +60,19 @@ function Yr(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function H(e, t) {
|
|
64
64
|
e.appendChild(t);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
const n =
|
|
66
|
+
function Yr(e, t, r) {
|
|
67
|
+
const n = qr(e);
|
|
68
68
|
if (!n.getElementById(t)) {
|
|
69
69
|
const i = T("style");
|
|
70
|
-
i.id = t, i.textContent = r,
|
|
70
|
+
i.id = t, i.textContent = r, Jr(n, i);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
if (!e)
|
|
73
|
+
function qr(e) {
|
|
74
|
+
if (!e)
|
|
75
|
+
return document;
|
|
75
76
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
76
77
|
return t && /** @type {ShadowRoot} */
|
|
77
78
|
t.host ? (
|
|
@@ -79,17 +80,17 @@ function Jr(e) {
|
|
|
79
80
|
t
|
|
80
81
|
) : e.ownerDocument;
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
83
|
+
function Jr(e, t) {
|
|
84
|
+
return H(
|
|
84
85
|
/** @type {Document} */
|
|
85
86
|
e.head || e,
|
|
86
87
|
t
|
|
87
88
|
), t.sheet;
|
|
88
89
|
}
|
|
89
|
-
function
|
|
90
|
+
function M(e, t, r) {
|
|
90
91
|
e.insertBefore(t, r || null);
|
|
91
92
|
}
|
|
92
|
-
function
|
|
93
|
+
function B(e) {
|
|
93
94
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
95
|
}
|
|
95
96
|
function T(e) {
|
|
@@ -110,14 +111,14 @@ function K(e, t, r, n) {
|
|
|
110
111
|
function E(e, t, r) {
|
|
111
112
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
112
113
|
}
|
|
113
|
-
function
|
|
114
|
+
function Kr(e) {
|
|
114
115
|
return Array.from(e.childNodes);
|
|
115
116
|
}
|
|
116
117
|
function st(e, t) {
|
|
117
118
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
118
119
|
t);
|
|
119
120
|
}
|
|
120
|
-
function
|
|
121
|
+
function en(e) {
|
|
121
122
|
const t = {};
|
|
122
123
|
return e.childNodes.forEach(
|
|
123
124
|
/** @param {Element} node */
|
|
@@ -130,19 +131,20 @@ let fe;
|
|
|
130
131
|
function ce(e) {
|
|
131
132
|
fe = e;
|
|
132
133
|
}
|
|
133
|
-
function
|
|
134
|
-
if (!fe)
|
|
134
|
+
function tn() {
|
|
135
|
+
if (!fe)
|
|
136
|
+
throw new Error("Function called outside component initialization");
|
|
135
137
|
return fe;
|
|
136
138
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
139
|
+
function rn(e) {
|
|
140
|
+
tn().$$.on_mount.push(e);
|
|
139
141
|
}
|
|
140
142
|
const J = [], ee = [];
|
|
141
143
|
let te = [];
|
|
142
|
-
const vt = [],
|
|
144
|
+
const vt = [], nn = /* @__PURE__ */ Promise.resolve();
|
|
143
145
|
let Ve = !1;
|
|
144
|
-
function
|
|
145
|
-
Ve || (Ve = !0,
|
|
146
|
+
function on() {
|
|
147
|
+
Ve || (Ve = !0, nn.then(U));
|
|
146
148
|
}
|
|
147
149
|
function We(e) {
|
|
148
150
|
te.push(e);
|
|
@@ -157,12 +159,13 @@ function U() {
|
|
|
157
159
|
try {
|
|
158
160
|
for (; Y < J.length; ) {
|
|
159
161
|
const t = J[Y];
|
|
160
|
-
Y++, ce(t),
|
|
162
|
+
Y++, ce(t), sn(t.$$);
|
|
161
163
|
}
|
|
162
164
|
} catch (t) {
|
|
163
165
|
throw J.length = 0, Y = 0, t;
|
|
164
166
|
}
|
|
165
|
-
for (ce(null), J.length = 0, Y = 0; ee.length; )
|
|
167
|
+
for (ce(null), J.length = 0, Y = 0; ee.length; )
|
|
168
|
+
ee.pop()();
|
|
166
169
|
for (let t = 0; t < te.length; t += 1) {
|
|
167
170
|
const r = te[t];
|
|
168
171
|
Re.has(r) || (Re.add(r), r());
|
|
@@ -173,67 +176,69 @@ function U() {
|
|
|
173
176
|
vt.pop()();
|
|
174
177
|
Ve = !1, Re.clear(), ce(e);
|
|
175
178
|
}
|
|
176
|
-
function
|
|
179
|
+
function sn(e) {
|
|
177
180
|
if (e.fragment !== null) {
|
|
178
181
|
e.update(), z(e.before_update);
|
|
179
182
|
const t = e.dirty;
|
|
180
183
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
|
181
184
|
}
|
|
182
185
|
}
|
|
183
|
-
function
|
|
186
|
+
function an(e) {
|
|
184
187
|
const t = [], r = [];
|
|
185
188
|
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
186
189
|
}
|
|
187
|
-
const
|
|
190
|
+
const ln = /* @__PURE__ */ new Set();
|
|
188
191
|
function Jt(e, t) {
|
|
189
|
-
e && e.i && (
|
|
192
|
+
e && e.i && (ln.delete(e), e.i(t));
|
|
190
193
|
}
|
|
191
194
|
function yt(e) {
|
|
192
195
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
193
196
|
}
|
|
194
|
-
function
|
|
197
|
+
function un(e, t) {
|
|
195
198
|
e.d(1), t.delete(e.key);
|
|
196
199
|
}
|
|
197
|
-
function
|
|
198
|
-
let
|
|
200
|
+
function hn(e, t, r, n, i, o, s, a, l, u, h, c) {
|
|
201
|
+
let f = e.length, b = o.length, p = f;
|
|
199
202
|
const m = {};
|
|
200
|
-
for (; p--; )
|
|
201
|
-
|
|
203
|
+
for (; p--; )
|
|
204
|
+
m[e[p].key] = p;
|
|
205
|
+
const w = [], P = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), I = [];
|
|
202
206
|
for (p = b; p--; ) {
|
|
203
|
-
const
|
|
207
|
+
const g = c(i, o, p), $ = r(g);
|
|
204
208
|
let k = s.get($);
|
|
205
|
-
k ?
|
|
209
|
+
k ? I.push(() => k.p(g, t)) : (k = u($, g), k.c()), P.set($, w[p] = k), $ in m && A.set($, Math.abs(p - m[$]));
|
|
206
210
|
}
|
|
207
|
-
const
|
|
208
|
-
function
|
|
209
|
-
Jt(
|
|
211
|
+
const L = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
|
|
212
|
+
function R(g) {
|
|
213
|
+
Jt(g, 1), g.m(a, h), s.set(g.key, g), h = g.first, b--;
|
|
210
214
|
}
|
|
211
|
-
for (;
|
|
212
|
-
const
|
|
213
|
-
|
|
215
|
+
for (; f && b; ) {
|
|
216
|
+
const g = w[b - 1], $ = e[f - 1], k = g.key, Q = $.key;
|
|
217
|
+
g === $ ? (h = g.first, f--, b--) : P.has(Q) ? !s.has(k) || L.has(k) ? R(g) : S.has(Q) ? f-- : A.get(k) > A.get(Q) ? (S.add(k), R(g)) : (L.add(Q), f--) : (l($, s), f--);
|
|
214
218
|
}
|
|
215
|
-
for (;
|
|
216
|
-
const
|
|
217
|
-
|
|
219
|
+
for (; f--; ) {
|
|
220
|
+
const g = e[f];
|
|
221
|
+
P.has(g.key) || l(g, s);
|
|
218
222
|
}
|
|
219
|
-
for (; b; )
|
|
220
|
-
|
|
223
|
+
for (; b; )
|
|
224
|
+
R(w[b - 1]);
|
|
225
|
+
return z(I), w;
|
|
221
226
|
}
|
|
222
|
-
function
|
|
227
|
+
function cn(e, t, r) {
|
|
223
228
|
const { fragment: n, after_update: i } = e.$$;
|
|
224
229
|
n && n.m(t, r), We(() => {
|
|
225
230
|
const o = e.$$.on_mount.map(Yt).filter(Te);
|
|
226
231
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
|
|
227
232
|
}), i.forEach(We);
|
|
228
233
|
}
|
|
229
|
-
function
|
|
234
|
+
function fn(e, t) {
|
|
230
235
|
const r = e.$$;
|
|
231
|
-
r.fragment !== null && (
|
|
236
|
+
r.fragment !== null && (an(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
232
237
|
}
|
|
233
|
-
function
|
|
234
|
-
e.$$.dirty[0] === -1 && (J.push(e),
|
|
238
|
+
function dn(e, t) {
|
|
239
|
+
e.$$.dirty[0] === -1 && (J.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
235
240
|
}
|
|
236
|
-
function
|
|
241
|
+
function pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
237
242
|
const l = fe;
|
|
238
243
|
ce(e);
|
|
239
244
|
const u = e.$$ = {
|
|
@@ -259,16 +264,16 @@ function mn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
259
264
|
};
|
|
260
265
|
s && s(u.root);
|
|
261
266
|
let h = !1;
|
|
262
|
-
if (u.ctx = r ? r(e, t.props || {}, (c,
|
|
263
|
-
const p = b.length ? b[0] :
|
|
264
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h &&
|
|
267
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
|
268
|
+
const p = b.length ? b[0] : f;
|
|
269
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && dn(e, c)), f;
|
|
265
270
|
}) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
266
271
|
if (t.hydrate) {
|
|
267
|
-
const c =
|
|
268
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
272
|
+
const c = Kr(t.target);
|
|
273
|
+
u.fragment && u.fragment.l(c), c.forEach(B);
|
|
269
274
|
} else
|
|
270
275
|
u.fragment && u.fragment.c();
|
|
271
|
-
t.intro && Jt(e.$$.fragment),
|
|
276
|
+
t.intro && Jt(e.$$.fragment), cn(e, t.target, t.anchor), U();
|
|
272
277
|
}
|
|
273
278
|
ce(l);
|
|
274
279
|
}
|
|
@@ -324,17 +329,17 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
324
329
|
* @param {HTMLElement} [anchor]
|
|
325
330
|
*/
|
|
326
331
|
m: function(u, h) {
|
|
327
|
-
|
|
332
|
+
M(u, s, h);
|
|
328
333
|
},
|
|
329
334
|
d: function(u) {
|
|
330
|
-
u &&
|
|
335
|
+
u && B(s);
|
|
331
336
|
}
|
|
332
337
|
};
|
|
333
338
|
};
|
|
334
339
|
};
|
|
335
340
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
336
341
|
return;
|
|
337
|
-
const r = {}, n =
|
|
342
|
+
const r = {}, n = en(this);
|
|
338
343
|
for (const o of this.$$s)
|
|
339
344
|
o in n && (r[o] = [t(o)]);
|
|
340
345
|
for (const o of this.attributes) {
|
|
@@ -423,7 +428,7 @@ function ye(e, t, r, n) {
|
|
|
423
428
|
return t;
|
|
424
429
|
}
|
|
425
430
|
}
|
|
426
|
-
function
|
|
431
|
+
function mn(e, t, r, n, i, o) {
|
|
427
432
|
let s = class extends Kt {
|
|
428
433
|
constructor() {
|
|
429
434
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -454,7 +459,7 @@ function bn(e, t, r, n, i, o) {
|
|
|
454
459
|
}), e.element = /** @type {any} */
|
|
455
460
|
s, s;
|
|
456
461
|
}
|
|
457
|
-
class
|
|
462
|
+
class bn {
|
|
458
463
|
constructor() {
|
|
459
464
|
/**
|
|
460
465
|
* ### PRIVATE API
|
|
@@ -475,7 +480,7 @@ class gn {
|
|
|
475
480
|
}
|
|
476
481
|
/** @returns {void} */
|
|
477
482
|
$destroy() {
|
|
478
|
-
|
|
483
|
+
fn(this, 1), this.$destroy = D;
|
|
479
484
|
}
|
|
480
485
|
/**
|
|
481
486
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -497,16 +502,31 @@ class gn {
|
|
|
497
502
|
* @returns {void}
|
|
498
503
|
*/
|
|
499
504
|
$set(t) {
|
|
500
|
-
this.$$set && !
|
|
505
|
+
this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
501
506
|
}
|
|
502
507
|
}
|
|
503
|
-
const
|
|
504
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
508
|
+
const gn = "4";
|
|
509
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
|
510
|
+
/*! *****************************************************************************
|
|
511
|
+
Copyright (c) Microsoft Corporation.
|
|
512
|
+
|
|
513
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
514
|
+
purpose with or without fee is hereby granted.
|
|
515
|
+
|
|
516
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
517
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
518
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
519
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
520
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
521
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
522
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
523
|
+
***************************************************************************** */
|
|
505
524
|
var Xe = function(e, t) {
|
|
506
525
|
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
507
526
|
r.__proto__ = n;
|
|
508
527
|
} || function(r, n) {
|
|
509
|
-
for (var i in n)
|
|
528
|
+
for (var i in n)
|
|
529
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
510
530
|
}, Xe(e, t);
|
|
511
531
|
};
|
|
512
532
|
function V(e, t) {
|
|
@@ -518,18 +538,20 @@ function V(e, t) {
|
|
|
518
538
|
}
|
|
519
539
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
520
540
|
}
|
|
521
|
-
var
|
|
522
|
-
return
|
|
541
|
+
var _ = function() {
|
|
542
|
+
return _ = Object.assign || function(t) {
|
|
523
543
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
524
544
|
r = arguments[n];
|
|
525
|
-
for (var o in r)
|
|
545
|
+
for (var o in r)
|
|
546
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
526
547
|
}
|
|
527
548
|
return t;
|
|
528
|
-
},
|
|
549
|
+
}, _.apply(this, arguments);
|
|
529
550
|
};
|
|
530
|
-
function
|
|
551
|
+
function vn(e, t) {
|
|
531
552
|
var r = {};
|
|
532
|
-
for (var n in e)
|
|
553
|
+
for (var n in e)
|
|
554
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
533
555
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
534
556
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
535
557
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
@@ -537,35 +559,41 @@ function yn(e, t) {
|
|
|
537
559
|
}
|
|
538
560
|
function ze(e) {
|
|
539
561
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
540
|
-
if (r)
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
562
|
+
if (r)
|
|
563
|
+
return r.call(e);
|
|
564
|
+
if (e && typeof e.length == "number")
|
|
565
|
+
return {
|
|
566
|
+
next: function() {
|
|
567
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
568
|
+
}
|
|
569
|
+
};
|
|
546
570
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
547
571
|
}
|
|
548
572
|
function Ze(e, t) {
|
|
549
573
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
550
|
-
if (!r)
|
|
574
|
+
if (!r)
|
|
575
|
+
return e;
|
|
551
576
|
var n = r.call(e), i, o = [], s;
|
|
552
577
|
try {
|
|
553
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
578
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
579
|
+
o.push(i.value);
|
|
554
580
|
} catch (a) {
|
|
555
581
|
s = { error: a };
|
|
556
582
|
} finally {
|
|
557
583
|
try {
|
|
558
584
|
i && !i.done && (r = n.return) && r.call(n);
|
|
559
585
|
} finally {
|
|
560
|
-
if (s)
|
|
586
|
+
if (s)
|
|
587
|
+
throw s.error;
|
|
561
588
|
}
|
|
562
589
|
}
|
|
563
590
|
return o;
|
|
564
591
|
}
|
|
565
592
|
function re(e, t, r) {
|
|
566
|
-
if (r || arguments.length === 2)
|
|
567
|
-
(
|
|
568
|
-
|
|
593
|
+
if (r || arguments.length === 2)
|
|
594
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
595
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
596
|
+
return e.concat(o || t);
|
|
569
597
|
}
|
|
570
598
|
function j(e) {
|
|
571
599
|
return typeof e == "function";
|
|
@@ -613,7 +641,8 @@ var He = function() {
|
|
|
613
641
|
try {
|
|
614
642
|
l && !l.done && (r = a.return) && r.call(a);
|
|
615
643
|
} finally {
|
|
616
|
-
if (t)
|
|
644
|
+
if (t)
|
|
645
|
+
throw t.error;
|
|
617
646
|
}
|
|
618
647
|
}
|
|
619
648
|
else
|
|
@@ -629,7 +658,7 @@ var He = function() {
|
|
|
629
658
|
if (c) {
|
|
630
659
|
this._finalizers = null;
|
|
631
660
|
try {
|
|
632
|
-
for (var
|
|
661
|
+
for (var f = ze(c), b = f.next(); !b.done; b = f.next()) {
|
|
633
662
|
var p = b.value;
|
|
634
663
|
try {
|
|
635
664
|
_t(p);
|
|
@@ -641,9 +670,10 @@ var He = function() {
|
|
|
641
670
|
n = { error: m };
|
|
642
671
|
} finally {
|
|
643
672
|
try {
|
|
644
|
-
b && !b.done && (i =
|
|
673
|
+
b && !b.done && (i = f.return) && i.call(f);
|
|
645
674
|
} finally {
|
|
646
|
-
if (n)
|
|
675
|
+
if (n)
|
|
676
|
+
throw n.error;
|
|
647
677
|
}
|
|
648
678
|
}
|
|
649
679
|
}
|
|
@@ -692,7 +722,7 @@ var nr = {
|
|
|
692
722
|
Promise: void 0,
|
|
693
723
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
694
724
|
useDeprecatedNextContext: !1
|
|
695
|
-
},
|
|
725
|
+
}, yn = {
|
|
696
726
|
setTimeout: function(e, t) {
|
|
697
727
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
698
728
|
r[n - 2] = arguments[n];
|
|
@@ -703,8 +733,8 @@ var nr = {
|
|
|
703
733
|
},
|
|
704
734
|
delegate: void 0
|
|
705
735
|
};
|
|
706
|
-
function
|
|
707
|
-
|
|
736
|
+
function _n(e) {
|
|
737
|
+
yn.setTimeout(function() {
|
|
708
738
|
throw e;
|
|
709
739
|
});
|
|
710
740
|
}
|
|
@@ -717,7 +747,7 @@ var ir = function(e) {
|
|
|
717
747
|
V(t, e);
|
|
718
748
|
function t(r) {
|
|
719
749
|
var n = e.call(this) || this;
|
|
720
|
-
return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination =
|
|
750
|
+
return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = Cn, n;
|
|
721
751
|
}
|
|
722
752
|
return t.create = function(r, n, i) {
|
|
723
753
|
return new Ye(r, n, i);
|
|
@@ -744,11 +774,11 @@ var ir = function(e) {
|
|
|
744
774
|
this.unsubscribe();
|
|
745
775
|
}
|
|
746
776
|
}, t;
|
|
747
|
-
}(He),
|
|
777
|
+
}(He), xn = Function.prototype.bind;
|
|
748
778
|
function De(e, t) {
|
|
749
|
-
return
|
|
779
|
+
return xn.call(e, t);
|
|
750
780
|
}
|
|
751
|
-
var
|
|
781
|
+
var En = function() {
|
|
752
782
|
function e(t) {
|
|
753
783
|
this.partialObserver = t;
|
|
754
784
|
}
|
|
@@ -799,29 +829,29 @@ var Cn = function() {
|
|
|
799
829
|
complete: r.complete && De(r.complete, a)
|
|
800
830
|
}) : s = r;
|
|
801
831
|
}
|
|
802
|
-
return o.destination = new
|
|
832
|
+
return o.destination = new En(s), o;
|
|
803
833
|
}
|
|
804
834
|
return t;
|
|
805
835
|
}(ir);
|
|
806
836
|
function ge(e) {
|
|
807
|
-
|
|
837
|
+
_n(e);
|
|
808
838
|
}
|
|
809
839
|
function wn(e) {
|
|
810
840
|
throw e;
|
|
811
841
|
}
|
|
812
|
-
var
|
|
842
|
+
var Cn = {
|
|
813
843
|
closed: !0,
|
|
814
844
|
next: xt,
|
|
815
845
|
error: wn,
|
|
816
846
|
complete: xt
|
|
817
|
-
},
|
|
847
|
+
}, Sn = function() {
|
|
818
848
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
819
849
|
}();
|
|
820
|
-
function
|
|
850
|
+
function Tn(e) {
|
|
821
851
|
return e;
|
|
822
852
|
}
|
|
823
|
-
function
|
|
824
|
-
return e.length === 0 ?
|
|
853
|
+
function Hn(e) {
|
|
854
|
+
return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
|
|
825
855
|
return e.reduce(function(n, i) {
|
|
826
856
|
return i(n);
|
|
827
857
|
}, r);
|
|
@@ -835,7 +865,7 @@ var Et = function() {
|
|
|
835
865
|
var r = new e();
|
|
836
866
|
return r.source = this, r.operator = t, r;
|
|
837
867
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
838
|
-
var i = this, o =
|
|
868
|
+
var i = this, o = In(t) ? t : new Ye(t, r, n);
|
|
839
869
|
return _e(function() {
|
|
840
870
|
var s = i, a = s.operator, l = s.source;
|
|
841
871
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -848,7 +878,7 @@ var Et = function() {
|
|
|
848
878
|
}
|
|
849
879
|
}, e.prototype.forEach = function(t, r) {
|
|
850
880
|
var n = this;
|
|
851
|
-
return r =
|
|
881
|
+
return r = wt(r), new r(function(i, o) {
|
|
852
882
|
var s = new Ye({
|
|
853
883
|
next: function(a) {
|
|
854
884
|
try {
|
|
@@ -865,15 +895,15 @@ var Et = function() {
|
|
|
865
895
|
}, e.prototype._subscribe = function(t) {
|
|
866
896
|
var r;
|
|
867
897
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
868
|
-
}, e.prototype[
|
|
898
|
+
}, e.prototype[Sn] = function() {
|
|
869
899
|
return this;
|
|
870
900
|
}, e.prototype.pipe = function() {
|
|
871
901
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
872
902
|
t[r] = arguments[r];
|
|
873
|
-
return
|
|
903
|
+
return Hn(t)(this);
|
|
874
904
|
}, e.prototype.toPromise = function(t) {
|
|
875
905
|
var r = this;
|
|
876
|
-
return t =
|
|
906
|
+
return t = wt(t), new t(function(n, i) {
|
|
877
907
|
var o;
|
|
878
908
|
r.subscribe(function(s) {
|
|
879
909
|
return o = s;
|
|
@@ -887,17 +917,17 @@ var Et = function() {
|
|
|
887
917
|
return new e(t);
|
|
888
918
|
}, e;
|
|
889
919
|
}();
|
|
890
|
-
function
|
|
920
|
+
function wt(e) {
|
|
891
921
|
var t;
|
|
892
922
|
return (t = e != null ? e : nr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
893
923
|
}
|
|
894
|
-
function
|
|
924
|
+
function An(e) {
|
|
895
925
|
return e && j(e.next) && j(e.error) && j(e.complete);
|
|
896
926
|
}
|
|
897
|
-
function
|
|
898
|
-
return e && e instanceof ir ||
|
|
927
|
+
function In(e) {
|
|
928
|
+
return e && e instanceof ir || An(e) && rr(e);
|
|
899
929
|
}
|
|
900
|
-
var
|
|
930
|
+
var Bn = er(function(e) {
|
|
901
931
|
return function() {
|
|
902
932
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
903
933
|
};
|
|
@@ -908,11 +938,11 @@ var Pn = er(function(e) {
|
|
|
908
938
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
909
939
|
}
|
|
910
940
|
return t.prototype.lift = function(r) {
|
|
911
|
-
var n = new
|
|
941
|
+
var n = new Ct(this, this);
|
|
912
942
|
return n.operator = r, n;
|
|
913
943
|
}, t.prototype._throwIfClosed = function() {
|
|
914
944
|
if (this.closed)
|
|
915
|
-
throw new
|
|
945
|
+
throw new Bn();
|
|
916
946
|
}, t.prototype.next = function(r) {
|
|
917
947
|
var n = this;
|
|
918
948
|
_e(function() {
|
|
@@ -930,7 +960,8 @@ var Pn = er(function(e) {
|
|
|
930
960
|
try {
|
|
931
961
|
a && !a.done && (o = s.return) && o.call(s);
|
|
932
962
|
} finally {
|
|
933
|
-
if (i)
|
|
963
|
+
if (i)
|
|
964
|
+
throw i.error;
|
|
934
965
|
}
|
|
935
966
|
}
|
|
936
967
|
}
|
|
@@ -978,9 +1009,9 @@ var Pn = er(function(e) {
|
|
|
978
1009
|
var r = new Et();
|
|
979
1010
|
return r.source = this, r;
|
|
980
1011
|
}, t.create = function(r, n) {
|
|
981
|
-
return new
|
|
1012
|
+
return new Ct(r, n);
|
|
982
1013
|
}, t;
|
|
983
|
-
}(Et),
|
|
1014
|
+
}(Et), Ct = function(e) {
|
|
984
1015
|
V(t, e);
|
|
985
1016
|
function t(r, n) {
|
|
986
1017
|
var i = e.call(this) || this;
|
|
@@ -1004,7 +1035,7 @@ var Pn = er(function(e) {
|
|
|
1004
1035
|
return (sr.delegate || Date).now();
|
|
1005
1036
|
},
|
|
1006
1037
|
delegate: void 0
|
|
1007
|
-
},
|
|
1038
|
+
}, Pn = function(e) {
|
|
1008
1039
|
V(t, e);
|
|
1009
1040
|
function t(r, n, i) {
|
|
1010
1041
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
|
@@ -1028,14 +1059,14 @@ var Pn = er(function(e) {
|
|
|
1028
1059
|
}
|
|
1029
1060
|
}, t;
|
|
1030
1061
|
}(or);
|
|
1031
|
-
const St = [], Tt = {},
|
|
1062
|
+
const St = [], Tt = {}, Mn = (e, t = 0) => {
|
|
1032
1063
|
if (St.indexOf(e) == -1) {
|
|
1033
|
-
const r = new
|
|
1064
|
+
const r = new Pn(t);
|
|
1034
1065
|
Tt[e] = r, St.push(e);
|
|
1035
1066
|
}
|
|
1036
1067
|
return Tt[e];
|
|
1037
1068
|
}, q = [];
|
|
1038
|
-
function
|
|
1069
|
+
function On(e, t) {
|
|
1039
1070
|
return {
|
|
1040
1071
|
subscribe: Ae(e, t).subscribe
|
|
1041
1072
|
};
|
|
@@ -1071,73 +1102,73 @@ function ae(e, t, r) {
|
|
|
1071
1102
|
if (!i.every(Boolean))
|
|
1072
1103
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1073
1104
|
const o = t.length < 2;
|
|
1074
|
-
return
|
|
1105
|
+
return On(r, (s, a) => {
|
|
1075
1106
|
let l = !1;
|
|
1076
1107
|
const u = [];
|
|
1077
1108
|
let h = 0, c = D;
|
|
1078
|
-
const
|
|
1109
|
+
const f = () => {
|
|
1079
1110
|
if (h)
|
|
1080
1111
|
return;
|
|
1081
1112
|
c();
|
|
1082
1113
|
const p = t(n ? u[0] : u, s, a);
|
|
1083
1114
|
o ? s(p) : c = Te(p) ? p : D;
|
|
1084
1115
|
}, b = i.map(
|
|
1085
|
-
(p, m) =>
|
|
1116
|
+
(p, m) => Qr(
|
|
1086
1117
|
p,
|
|
1087
|
-
(
|
|
1088
|
-
u[m] =
|
|
1118
|
+
(w) => {
|
|
1119
|
+
u[m] = w, h &= ~(1 << m), l && f();
|
|
1089
1120
|
},
|
|
1090
1121
|
() => {
|
|
1091
1122
|
h |= 1 << m;
|
|
1092
1123
|
}
|
|
1093
1124
|
)
|
|
1094
1125
|
);
|
|
1095
|
-
return l = !0,
|
|
1126
|
+
return l = !0, f(), function() {
|
|
1096
1127
|
z(b), c(), l = !1;
|
|
1097
1128
|
};
|
|
1098
1129
|
});
|
|
1099
1130
|
}
|
|
1100
|
-
function
|
|
1131
|
+
function Ln(e) {
|
|
1101
1132
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1102
1133
|
}
|
|
1103
|
-
var
|
|
1104
|
-
return
|
|
1134
|
+
var Nn = function(t) {
|
|
1135
|
+
return Rn(t) && !Un(t);
|
|
1105
1136
|
};
|
|
1106
|
-
function
|
|
1137
|
+
function Rn(e) {
|
|
1107
1138
|
return !!e && typeof e == "object";
|
|
1108
1139
|
}
|
|
1109
|
-
function
|
|
1140
|
+
function Un(e) {
|
|
1110
1141
|
var t = Object.prototype.toString.call(e);
|
|
1111
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1142
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1112
1143
|
}
|
|
1113
|
-
var
|
|
1114
|
-
function
|
|
1115
|
-
return e.$$typeof ===
|
|
1144
|
+
var Dn = typeof Symbol == "function" && Symbol.for, $n = Dn ? Symbol.for("react.element") : 60103;
|
|
1145
|
+
function kn(e) {
|
|
1146
|
+
return e.$$typeof === $n;
|
|
1116
1147
|
}
|
|
1117
|
-
function
|
|
1148
|
+
function Gn(e) {
|
|
1118
1149
|
return Array.isArray(e) ? [] : {};
|
|
1119
1150
|
}
|
|
1120
1151
|
function de(e, t) {
|
|
1121
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ne(
|
|
1152
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(Gn(e), e, t) : e;
|
|
1122
1153
|
}
|
|
1123
|
-
function
|
|
1154
|
+
function Fn(e, t, r) {
|
|
1124
1155
|
return e.concat(t).map(function(n) {
|
|
1125
1156
|
return de(n, r);
|
|
1126
1157
|
});
|
|
1127
1158
|
}
|
|
1128
|
-
function
|
|
1159
|
+
function jn(e, t) {
|
|
1129
1160
|
if (!t.customMerge)
|
|
1130
1161
|
return ne;
|
|
1131
1162
|
var r = t.customMerge(e);
|
|
1132
1163
|
return typeof r == "function" ? r : ne;
|
|
1133
1164
|
}
|
|
1134
|
-
function
|
|
1165
|
+
function Vn(e) {
|
|
1135
1166
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1136
1167
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1137
1168
|
}) : [];
|
|
1138
1169
|
}
|
|
1139
1170
|
function Ht(e) {
|
|
1140
|
-
return Object.keys(e).concat(
|
|
1171
|
+
return Object.keys(e).concat(Vn(e));
|
|
1141
1172
|
}
|
|
1142
1173
|
function ar(e, t) {
|
|
1143
1174
|
try {
|
|
@@ -1146,21 +1177,21 @@ function ar(e, t) {
|
|
|
1146
1177
|
return !1;
|
|
1147
1178
|
}
|
|
1148
1179
|
}
|
|
1149
|
-
function
|
|
1180
|
+
function Wn(e, t) {
|
|
1150
1181
|
return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1151
1182
|
}
|
|
1152
|
-
function
|
|
1183
|
+
function Xn(e, t, r) {
|
|
1153
1184
|
var n = {};
|
|
1154
1185
|
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
|
1155
1186
|
n[i] = de(e[i], r);
|
|
1156
1187
|
}), Ht(t).forEach(function(i) {
|
|
1157
|
-
|
|
1188
|
+
Wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = jn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
|
|
1158
1189
|
}), n;
|
|
1159
1190
|
}
|
|
1160
1191
|
function ne(e, t, r) {
|
|
1161
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1192
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = de;
|
|
1162
1193
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1163
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1194
|
+
return o ? n ? r.arrayMerge(e, t, r) : Xn(e, t, r) : de(t, r);
|
|
1164
1195
|
}
|
|
1165
1196
|
ne.all = function(t, r) {
|
|
1166
1197
|
if (!Array.isArray(t))
|
|
@@ -1169,20 +1200,20 @@ ne.all = function(t, r) {
|
|
|
1169
1200
|
return ne(n, i, r);
|
|
1170
1201
|
}, {});
|
|
1171
1202
|
};
|
|
1172
|
-
var
|
|
1173
|
-
const
|
|
1203
|
+
var zn = ne, Zn = zn;
|
|
1204
|
+
const Qn = /* @__PURE__ */ Ln(Zn);
|
|
1174
1205
|
function $e(e, t) {
|
|
1175
|
-
var r = t && t.cache ? t.cache :
|
|
1206
|
+
var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : ei, i = t && t.strategy ? t.strategy : qn;
|
|
1176
1207
|
return i(e, {
|
|
1177
1208
|
cache: r,
|
|
1178
1209
|
serializer: n
|
|
1179
1210
|
});
|
|
1180
1211
|
}
|
|
1181
|
-
function
|
|
1212
|
+
function Yn(e) {
|
|
1182
1213
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1183
1214
|
}
|
|
1184
1215
|
function lr(e, t, r, n) {
|
|
1185
|
-
var i =
|
|
1216
|
+
var i = Yn(n) ? n : r(n), o = t.get(i);
|
|
1186
1217
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1187
1218
|
}
|
|
1188
1219
|
function ur(e, t, r) {
|
|
@@ -1192,17 +1223,17 @@ function ur(e, t, r) {
|
|
|
1192
1223
|
function at(e, t, r, n, i) {
|
|
1193
1224
|
return r.bind(t, e, n, i);
|
|
1194
1225
|
}
|
|
1195
|
-
function
|
|
1226
|
+
function qn(e, t) {
|
|
1196
1227
|
var r = e.length === 1 ? lr : ur;
|
|
1197
1228
|
return at(e, this, r, t.cache.create(), t.serializer);
|
|
1198
1229
|
}
|
|
1199
|
-
function
|
|
1230
|
+
function Jn(e, t) {
|
|
1200
1231
|
return at(e, this, ur, t.cache.create(), t.serializer);
|
|
1201
1232
|
}
|
|
1202
|
-
function
|
|
1233
|
+
function Kn(e, t) {
|
|
1203
1234
|
return at(e, this, lr, t.cache.create(), t.serializer);
|
|
1204
1235
|
}
|
|
1205
|
-
var
|
|
1236
|
+
var ei = function() {
|
|
1206
1237
|
return JSON.stringify(arguments);
|
|
1207
1238
|
};
|
|
1208
1239
|
function lt() {
|
|
@@ -1214,17 +1245,17 @@ lt.prototype.get = function(e) {
|
|
|
1214
1245
|
lt.prototype.set = function(e, t) {
|
|
1215
1246
|
this.cache[e] = t;
|
|
1216
1247
|
};
|
|
1217
|
-
var
|
|
1248
|
+
var ti = {
|
|
1218
1249
|
create: function() {
|
|
1219
1250
|
return new lt();
|
|
1220
1251
|
}
|
|
1221
1252
|
}, ke = {
|
|
1222
|
-
variadic:
|
|
1223
|
-
monadic:
|
|
1224
|
-
},
|
|
1253
|
+
variadic: Jn,
|
|
1254
|
+
monadic: Kn
|
|
1255
|
+
}, v;
|
|
1225
1256
|
(function(e) {
|
|
1226
1257
|
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";
|
|
1227
|
-
})(
|
|
1258
|
+
})(v || (v = {}));
|
|
1228
1259
|
var C;
|
|
1229
1260
|
(function(e) {
|
|
1230
1261
|
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";
|
|
@@ -1236,7 +1267,7 @@ var ie;
|
|
|
1236
1267
|
function At(e) {
|
|
1237
1268
|
return e.type === C.literal;
|
|
1238
1269
|
}
|
|
1239
|
-
function
|
|
1270
|
+
function ri(e) {
|
|
1240
1271
|
return e.type === C.argument;
|
|
1241
1272
|
}
|
|
1242
1273
|
function hr(e) {
|
|
@@ -1254,7 +1285,7 @@ function dr(e) {
|
|
|
1254
1285
|
function pr(e) {
|
|
1255
1286
|
return e.type === C.plural;
|
|
1256
1287
|
}
|
|
1257
|
-
function
|
|
1288
|
+
function ni(e) {
|
|
1258
1289
|
return e.type === C.pound;
|
|
1259
1290
|
}
|
|
1260
1291
|
function mr(e) {
|
|
@@ -1266,10 +1297,10 @@ function br(e) {
|
|
|
1266
1297
|
function qe(e) {
|
|
1267
1298
|
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1268
1299
|
}
|
|
1269
|
-
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1270
|
-
function
|
|
1300
|
+
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
|
|
1301
|
+
function oi(e) {
|
|
1271
1302
|
var t = {};
|
|
1272
|
-
return e.replace(
|
|
1303
|
+
return e.replace(ii, function(r) {
|
|
1273
1304
|
var n = r.length;
|
|
1274
1305
|
switch (r[0]) {
|
|
1275
1306
|
case "G":
|
|
@@ -1358,12 +1389,12 @@ function si(e) {
|
|
|
1358
1389
|
return "";
|
|
1359
1390
|
}), t;
|
|
1360
1391
|
}
|
|
1361
|
-
var
|
|
1362
|
-
function
|
|
1392
|
+
var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1393
|
+
function ai(e) {
|
|
1363
1394
|
if (e.length === 0)
|
|
1364
1395
|
throw new Error("Number skeleton cannot be empty");
|
|
1365
|
-
for (var t = e.split(
|
|
1366
|
-
return
|
|
1396
|
+
for (var t = e.split(si).filter(function(f) {
|
|
1397
|
+
return f.length > 0;
|
|
1367
1398
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1368
1399
|
var o = i[n], s = o.split("/");
|
|
1369
1400
|
if (s.length === 0)
|
|
@@ -1377,10 +1408,10 @@ function li(e) {
|
|
|
1377
1408
|
}
|
|
1378
1409
|
return r;
|
|
1379
1410
|
}
|
|
1380
|
-
function
|
|
1411
|
+
function li(e) {
|
|
1381
1412
|
return e.replace(/^(.*?)-/, "");
|
|
1382
1413
|
}
|
|
1383
|
-
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1414
|
+
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
|
1384
1415
|
function Bt(e) {
|
|
1385
1416
|
var t = {};
|
|
1386
1417
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, n, i) {
|
|
@@ -1427,7 +1458,7 @@ function _r(e) {
|
|
|
1427
1458
|
};
|
|
1428
1459
|
}
|
|
1429
1460
|
}
|
|
1430
|
-
function
|
|
1461
|
+
function hi(e) {
|
|
1431
1462
|
var t;
|
|
1432
1463
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1433
1464
|
notation: "engineering"
|
|
@@ -1445,7 +1476,7 @@ function Pt(e) {
|
|
|
1445
1476
|
var t = {}, r = _r(e);
|
|
1446
1477
|
return r || t;
|
|
1447
1478
|
}
|
|
1448
|
-
function
|
|
1479
|
+
function ci(e) {
|
|
1449
1480
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1450
1481
|
var i = n[r];
|
|
1451
1482
|
switch (i.stem) {
|
|
@@ -1469,7 +1500,7 @@ function fi(e) {
|
|
|
1469
1500
|
continue;
|
|
1470
1501
|
case "measure-unit":
|
|
1471
1502
|
case "unit":
|
|
1472
|
-
t.style = "unit", t.unit =
|
|
1503
|
+
t.style = "unit", t.unit = li(i.options[0]);
|
|
1473
1504
|
continue;
|
|
1474
1505
|
case "compact-short":
|
|
1475
1506
|
case "K":
|
|
@@ -1480,13 +1511,13 @@ function fi(e) {
|
|
|
1480
1511
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1481
1512
|
continue;
|
|
1482
1513
|
case "scientific":
|
|
1483
|
-
t =
|
|
1484
|
-
return
|
|
1514
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1515
|
+
return _(_({}, l), Pt(u));
|
|
1485
1516
|
}, {}));
|
|
1486
1517
|
continue;
|
|
1487
1518
|
case "engineering":
|
|
1488
|
-
t =
|
|
1489
|
-
return
|
|
1519
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1520
|
+
return _(_({}, l), Pt(u));
|
|
1490
1521
|
}, {}));
|
|
1491
1522
|
continue;
|
|
1492
1523
|
case "notation-simple":
|
|
@@ -1531,11 +1562,11 @@ function fi(e) {
|
|
|
1531
1562
|
case "integer-width":
|
|
1532
1563
|
if (i.options.length > 1)
|
|
1533
1564
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1534
|
-
i.options[0].replace(
|
|
1565
|
+
i.options[0].replace(ui, function(l, u, h, c, f, b) {
|
|
1535
1566
|
if (u)
|
|
1536
1567
|
t.minimumIntegerDigits = h.length;
|
|
1537
1568
|
else {
|
|
1538
|
-
if (c &&
|
|
1569
|
+
if (c && f)
|
|
1539
1570
|
throw new Error("We currently do not support maximum integer digits");
|
|
1540
1571
|
if (b)
|
|
1541
1572
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1551,21 +1582,21 @@ function fi(e) {
|
|
|
1551
1582
|
if (It.test(i.stem)) {
|
|
1552
1583
|
if (i.options.length > 1)
|
|
1553
1584
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1554
|
-
i.stem.replace(It, function(l, u, h, c,
|
|
1555
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length :
|
|
1585
|
+
i.stem.replace(It, function(l, u, h, c, f, b) {
|
|
1586
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1556
1587
|
});
|
|
1557
1588
|
var o = i.options[0];
|
|
1558
|
-
o === "w" ? t =
|
|
1589
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Bt(o)));
|
|
1559
1590
|
continue;
|
|
1560
1591
|
}
|
|
1561
1592
|
if (vr.test(i.stem)) {
|
|
1562
|
-
t =
|
|
1593
|
+
t = _(_({}, t), Bt(i.stem));
|
|
1563
1594
|
continue;
|
|
1564
1595
|
}
|
|
1565
1596
|
var s = _r(i.stem);
|
|
1566
|
-
s && (t =
|
|
1567
|
-
var a =
|
|
1568
|
-
a && (t =
|
|
1597
|
+
s && (t = _(_({}, t), s));
|
|
1598
|
+
var a = hi(i.stem);
|
|
1599
|
+
a && (t = _(_({}, t), a));
|
|
1569
1600
|
}
|
|
1570
1601
|
return t;
|
|
1571
1602
|
}
|
|
@@ -2984,22 +3015,23 @@ var ve = {
|
|
|
2984
3015
|
"h"
|
|
2985
3016
|
]
|
|
2986
3017
|
};
|
|
2987
|
-
function
|
|
3018
|
+
function fi(e, t) {
|
|
2988
3019
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2989
3020
|
var i = e.charAt(n);
|
|
2990
3021
|
if (i === "j") {
|
|
2991
3022
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2992
3023
|
o++, n++;
|
|
2993
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3024
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = di(t);
|
|
2994
3025
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2995
3026
|
r += l;
|
|
2996
3027
|
for (; s-- > 0; )
|
|
2997
3028
|
r = u + r;
|
|
2998
|
-
} else
|
|
3029
|
+
} else
|
|
3030
|
+
i === "J" ? r += "H" : r += i;
|
|
2999
3031
|
}
|
|
3000
3032
|
return r;
|
|
3001
3033
|
}
|
|
3002
|
-
function
|
|
3034
|
+
function di(e) {
|
|
3003
3035
|
var t = e.hourCycle;
|
|
3004
3036
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3005
3037
|
e.hourCycles && // @ts-ignore
|
|
@@ -3021,20 +3053,20 @@ function pi(e) {
|
|
|
3021
3053
|
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3022
3054
|
return i[0];
|
|
3023
3055
|
}
|
|
3024
|
-
var Ge,
|
|
3025
|
-
function
|
|
3056
|
+
var Ge, pi = new RegExp("^".concat(gr.source, "*")), mi = new RegExp("".concat(gr.source, "*$"));
|
|
3057
|
+
function y(e, t) {
|
|
3026
3058
|
return { start: e, end: t };
|
|
3027
3059
|
}
|
|
3028
|
-
var
|
|
3060
|
+
var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, vi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, wi = Ei ? Number.isSafeInteger : function(e) {
|
|
3029
3061
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3030
3062
|
}, Je = !0;
|
|
3031
3063
|
try {
|
|
3032
|
-
var
|
|
3033
|
-
Je = ((Ge =
|
|
3064
|
+
var Ci = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3065
|
+
Je = ((Ge = Ci.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
|
3034
3066
|
} catch (e) {
|
|
3035
3067
|
Je = !1;
|
|
3036
3068
|
}
|
|
3037
|
-
var Mt =
|
|
3069
|
+
var Mt = bi ? (
|
|
3038
3070
|
// Native
|
|
3039
3071
|
function(t, r, n) {
|
|
3040
3072
|
return t.startsWith(r, n);
|
|
@@ -3044,7 +3076,7 @@ var Mt = gi ? (
|
|
|
3044
3076
|
function(t, r, n) {
|
|
3045
3077
|
return t.slice(n, n + r.length) === r;
|
|
3046
3078
|
}
|
|
3047
|
-
), Ke =
|
|
3079
|
+
), Ke = gi ? String.fromCodePoint : (
|
|
3048
3080
|
// IE11
|
|
3049
3081
|
function() {
|
|
3050
3082
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3058,7 +3090,7 @@ var Mt = gi ? (
|
|
|
3058
3090
|
}
|
|
3059
3091
|
), Ot = (
|
|
3060
3092
|
// native
|
|
3061
|
-
|
|
3093
|
+
vi ? Object.fromEntries : (
|
|
3062
3094
|
// Ponyfill
|
|
3063
3095
|
function(t) {
|
|
3064
3096
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3068,7 +3100,7 @@ var Mt = gi ? (
|
|
|
3068
3100
|
return r;
|
|
3069
3101
|
}
|
|
3070
3102
|
)
|
|
3071
|
-
), xr =
|
|
3103
|
+
), xr = yi ? (
|
|
3072
3104
|
// Native
|
|
3073
3105
|
function(t, r) {
|
|
3074
3106
|
return t.codePointAt(r);
|
|
@@ -3082,7 +3114,7 @@ var Mt = gi ? (
|
|
|
3082
3114
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3083
3115
|
}
|
|
3084
3116
|
}
|
|
3085
|
-
),
|
|
3117
|
+
), Si = _i ? (
|
|
3086
3118
|
// Native
|
|
3087
3119
|
function(t) {
|
|
3088
3120
|
return t.trimStart();
|
|
@@ -3090,9 +3122,9 @@ var Mt = gi ? (
|
|
|
3090
3122
|
) : (
|
|
3091
3123
|
// Ponyfill
|
|
3092
3124
|
function(t) {
|
|
3093
|
-
return t.replace(
|
|
3125
|
+
return t.replace(pi, "");
|
|
3094
3126
|
}
|
|
3095
|
-
),
|
|
3127
|
+
), Ti = xi ? (
|
|
3096
3128
|
// Native
|
|
3097
3129
|
function(t) {
|
|
3098
3130
|
return t.trimEnd();
|
|
@@ -3100,7 +3132,7 @@ var Mt = gi ? (
|
|
|
3100
3132
|
) : (
|
|
3101
3133
|
// Ponyfill
|
|
3102
3134
|
function(t) {
|
|
3103
|
-
return t.replace(
|
|
3135
|
+
return t.replace(mi, "");
|
|
3104
3136
|
}
|
|
3105
3137
|
);
|
|
3106
3138
|
function Er(e, t) {
|
|
@@ -3119,13 +3151,13 @@ if (Je) {
|
|
|
3119
3151
|
et = function(t, r) {
|
|
3120
3152
|
for (var n = []; ; ) {
|
|
3121
3153
|
var i = xr(t, r);
|
|
3122
|
-
if (i === void 0 ||
|
|
3154
|
+
if (i === void 0 || wr(i) || Bi(i))
|
|
3123
3155
|
break;
|
|
3124
3156
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3125
3157
|
}
|
|
3126
3158
|
return Ke.apply(void 0, n);
|
|
3127
3159
|
};
|
|
3128
|
-
var
|
|
3160
|
+
var Hi = (
|
|
3129
3161
|
/** @class */
|
|
3130
3162
|
function() {
|
|
3131
3163
|
function e(t, r) {
|
|
@@ -3150,12 +3182,12 @@ var Ai = (
|
|
|
3150
3182
|
var a = this.clonePosition();
|
|
3151
3183
|
this.bump(), i.push({
|
|
3152
3184
|
type: C.pound,
|
|
3153
|
-
location:
|
|
3185
|
+
location: y(a, this.clonePosition())
|
|
3154
3186
|
});
|
|
3155
3187
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3156
3188
|
if (n)
|
|
3157
3189
|
break;
|
|
3158
|
-
return this.error(
|
|
3190
|
+
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3159
3191
|
} else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
|
|
3160
3192
|
var s = this.parseTag(t, r);
|
|
3161
3193
|
if (s.err)
|
|
@@ -3179,7 +3211,7 @@ var Ai = (
|
|
|
3179
3211
|
val: {
|
|
3180
3212
|
type: C.literal,
|
|
3181
3213
|
value: "<".concat(i, "/>"),
|
|
3182
|
-
location:
|
|
3214
|
+
location: y(n, this.clonePosition())
|
|
3183
3215
|
},
|
|
3184
3216
|
err: null
|
|
3185
3217
|
};
|
|
@@ -3190,24 +3222,24 @@ var Ai = (
|
|
|
3190
3222
|
var s = o.val, a = this.clonePosition();
|
|
3191
3223
|
if (this.bumpIf("</")) {
|
|
3192
3224
|
if (this.isEOF() || !tt(this.char()))
|
|
3193
|
-
return this.error(
|
|
3225
|
+
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
|
3194
3226
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3195
|
-
return i !== u ? this.error(
|
|
3227
|
+
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3196
3228
|
val: {
|
|
3197
3229
|
type: C.tag,
|
|
3198
3230
|
value: i,
|
|
3199
3231
|
children: s,
|
|
3200
|
-
location:
|
|
3232
|
+
location: y(n, this.clonePosition())
|
|
3201
3233
|
},
|
|
3202
3234
|
err: null
|
|
3203
|
-
} : this.error(
|
|
3235
|
+
} : this.error(v.INVALID_TAG, y(a, this.clonePosition())));
|
|
3204
3236
|
} else
|
|
3205
|
-
return this.error(
|
|
3237
|
+
return this.error(v.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
3206
3238
|
} else
|
|
3207
|
-
return this.error(
|
|
3239
|
+
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
|
3208
3240
|
}, e.prototype.parseTagName = function() {
|
|
3209
3241
|
var t = this.offset();
|
|
3210
|
-
for (this.bump(); !this.isEOF() &&
|
|
3242
|
+
for (this.bump(); !this.isEOF() && Ii(this.char()); )
|
|
3211
3243
|
this.bump();
|
|
3212
3244
|
return this.message.slice(t, this.offset());
|
|
3213
3245
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3229,14 +3261,14 @@ var Ai = (
|
|
|
3229
3261
|
}
|
|
3230
3262
|
break;
|
|
3231
3263
|
}
|
|
3232
|
-
var l =
|
|
3264
|
+
var l = y(n, this.clonePosition());
|
|
3233
3265
|
return {
|
|
3234
3266
|
val: { type: C.literal, value: i, location: l },
|
|
3235
3267
|
err: null
|
|
3236
3268
|
};
|
|
3237
3269
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3238
3270
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3239
|
-
!
|
|
3271
|
+
!Ai(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3240
3272
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3241
3273
|
if (this.isEOF() || this.char() !== 39)
|
|
3242
3274
|
return null;
|
|
@@ -3279,14 +3311,14 @@ var Ai = (
|
|
|
3279
3311
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3280
3312
|
var n = this.clonePosition();
|
|
3281
3313
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3282
|
-
return this.error(
|
|
3314
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3283
3315
|
if (this.char() === 125)
|
|
3284
|
-
return this.bump(), this.error(
|
|
3316
|
+
return this.bump(), this.error(v.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
|
3285
3317
|
var i = this.parseIdentifierIfPossible().value;
|
|
3286
3318
|
if (!i)
|
|
3287
|
-
return this.error(
|
|
3319
|
+
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3288
3320
|
if (this.bumpSpace(), this.isEOF())
|
|
3289
|
-
return this.error(
|
|
3321
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3290
3322
|
switch (this.char()) {
|
|
3291
3323
|
case 125:
|
|
3292
3324
|
return this.bump(), {
|
|
@@ -3294,25 +3326,25 @@ var Ai = (
|
|
|
3294
3326
|
type: C.argument,
|
|
3295
3327
|
// value does not include the opening and closing braces.
|
|
3296
3328
|
value: i,
|
|
3297
|
-
location:
|
|
3329
|
+
location: y(n, this.clonePosition())
|
|
3298
3330
|
},
|
|
3299
3331
|
err: null
|
|
3300
3332
|
};
|
|
3301
3333
|
case 44:
|
|
3302
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3334
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3303
3335
|
default:
|
|
3304
|
-
return this.error(
|
|
3336
|
+
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3305
3337
|
}
|
|
3306
3338
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3307
3339
|
var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
|
|
3308
3340
|
this.bumpTo(i);
|
|
3309
|
-
var o = this.clonePosition(), s =
|
|
3341
|
+
var o = this.clonePosition(), s = y(t, o);
|
|
3310
3342
|
return { value: n, location: s };
|
|
3311
3343
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3312
3344
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3313
3345
|
switch (a) {
|
|
3314
3346
|
case "":
|
|
3315
|
-
return this.error(
|
|
3347
|
+
return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, l));
|
|
3316
3348
|
case "number":
|
|
3317
3349
|
case "date":
|
|
3318
3350
|
case "time": {
|
|
@@ -3323,37 +3355,37 @@ var Ai = (
|
|
|
3323
3355
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3324
3356
|
if (c.err)
|
|
3325
3357
|
return c;
|
|
3326
|
-
var
|
|
3327
|
-
if (
|
|
3328
|
-
return this.error(
|
|
3329
|
-
var b =
|
|
3330
|
-
u = { style:
|
|
3358
|
+
var f = Ti(c.val);
|
|
3359
|
+
if (f.length === 0)
|
|
3360
|
+
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3361
|
+
var b = y(h, this.clonePosition());
|
|
3362
|
+
u = { style: f, styleLocation: b };
|
|
3331
3363
|
}
|
|
3332
3364
|
var p = this.tryParseArgumentClose(i);
|
|
3333
3365
|
if (p.err)
|
|
3334
3366
|
return p;
|
|
3335
|
-
var m =
|
|
3367
|
+
var m = y(i, this.clonePosition());
|
|
3336
3368
|
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3337
|
-
var
|
|
3369
|
+
var w = Si(u.style.slice(2));
|
|
3338
3370
|
if (a === "number") {
|
|
3339
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3371
|
+
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3340
3372
|
return c.err ? c : {
|
|
3341
3373
|
val: { type: C.number, value: n, location: m, style: c.val },
|
|
3342
3374
|
err: null
|
|
3343
3375
|
};
|
|
3344
3376
|
} else {
|
|
3345
|
-
if (
|
|
3346
|
-
return this.error(
|
|
3347
|
-
var
|
|
3348
|
-
this.locale && (
|
|
3349
|
-
var
|
|
3377
|
+
if (w.length === 0)
|
|
3378
|
+
return this.error(v.EXPECT_DATE_TIME_SKELETON, m);
|
|
3379
|
+
var P = w;
|
|
3380
|
+
this.locale && (P = fi(w, this.locale));
|
|
3381
|
+
var f = {
|
|
3350
3382
|
type: ie.dateTime,
|
|
3351
|
-
pattern:
|
|
3383
|
+
pattern: P,
|
|
3352
3384
|
location: u.styleLocation,
|
|
3353
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3354
|
-
},
|
|
3385
|
+
parsedOptions: this.shouldParseSkeletons ? oi(P) : {}
|
|
3386
|
+
}, A = a === "date" ? C.date : C.time;
|
|
3355
3387
|
return {
|
|
3356
|
-
val: { type:
|
|
3388
|
+
val: { type: A, value: n, location: m, style: f },
|
|
3357
3389
|
err: null
|
|
3358
3390
|
};
|
|
3359
3391
|
}
|
|
@@ -3371,52 +3403,52 @@ var Ai = (
|
|
|
3371
3403
|
case "plural":
|
|
3372
3404
|
case "selectordinal":
|
|
3373
3405
|
case "select": {
|
|
3374
|
-
var
|
|
3406
|
+
var I = this.clonePosition();
|
|
3375
3407
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3376
|
-
return this.error(
|
|
3408
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(I, _({}, I)));
|
|
3377
3409
|
this.bumpSpace();
|
|
3378
|
-
var
|
|
3379
|
-
if (a !== "select" &&
|
|
3410
|
+
var L = this.parseIdentifierIfPossible(), S = 0;
|
|
3411
|
+
if (a !== "select" && L.value === "offset") {
|
|
3380
3412
|
if (!this.bumpIf(":"))
|
|
3381
|
-
return this.error(
|
|
3413
|
+
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3382
3414
|
this.bumpSpace();
|
|
3383
|
-
var c = this.tryParseDecimalInteger(
|
|
3415
|
+
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3384
3416
|
if (c.err)
|
|
3385
3417
|
return c;
|
|
3386
|
-
this.bumpSpace(),
|
|
3418
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), S = c.val;
|
|
3387
3419
|
}
|
|
3388
|
-
var
|
|
3389
|
-
if (
|
|
3390
|
-
return
|
|
3420
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, L);
|
|
3421
|
+
if (R.err)
|
|
3422
|
+
return R;
|
|
3391
3423
|
var p = this.tryParseArgumentClose(i);
|
|
3392
3424
|
if (p.err)
|
|
3393
3425
|
return p;
|
|
3394
|
-
var
|
|
3426
|
+
var g = y(i, this.clonePosition());
|
|
3395
3427
|
return a === "select" ? {
|
|
3396
3428
|
val: {
|
|
3397
3429
|
type: C.select,
|
|
3398
3430
|
value: n,
|
|
3399
|
-
options: Ot(
|
|
3400
|
-
location:
|
|
3431
|
+
options: Ot(R.val),
|
|
3432
|
+
location: g
|
|
3401
3433
|
},
|
|
3402
3434
|
err: null
|
|
3403
3435
|
} : {
|
|
3404
3436
|
val: {
|
|
3405
3437
|
type: C.plural,
|
|
3406
3438
|
value: n,
|
|
3407
|
-
options: Ot(
|
|
3408
|
-
offset:
|
|
3439
|
+
options: Ot(R.val),
|
|
3440
|
+
offset: S,
|
|
3409
3441
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3410
|
-
location:
|
|
3442
|
+
location: g
|
|
3411
3443
|
},
|
|
3412
3444
|
err: null
|
|
3413
3445
|
};
|
|
3414
3446
|
}
|
|
3415
3447
|
default:
|
|
3416
|
-
return this.error(
|
|
3448
|
+
return this.error(v.INVALID_ARGUMENT_TYPE, y(s, l));
|
|
3417
3449
|
}
|
|
3418
3450
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3419
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3451
|
+
return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3420
3452
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3421
3453
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3422
3454
|
var n = this.char();
|
|
@@ -3425,7 +3457,7 @@ var Ai = (
|
|
|
3425
3457
|
this.bump();
|
|
3426
3458
|
var i = this.clonePosition();
|
|
3427
3459
|
if (!this.bumpUntil("'"))
|
|
3428
|
-
return this.error(
|
|
3460
|
+
return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
|
3429
3461
|
this.bump();
|
|
3430
3462
|
break;
|
|
3431
3463
|
}
|
|
@@ -3455,16 +3487,16 @@ var Ai = (
|
|
|
3455
3487
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3456
3488
|
var n = [];
|
|
3457
3489
|
try {
|
|
3458
|
-
n =
|
|
3490
|
+
n = ai(t);
|
|
3459
3491
|
} catch (i) {
|
|
3460
|
-
return this.error(
|
|
3492
|
+
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3461
3493
|
}
|
|
3462
3494
|
return {
|
|
3463
3495
|
val: {
|
|
3464
3496
|
type: ie.number,
|
|
3465
3497
|
tokens: n,
|
|
3466
3498
|
location: r,
|
|
3467
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3499
|
+
parsedOptions: this.shouldParseSkeletons ? ci(n) : {}
|
|
3468
3500
|
},
|
|
3469
3501
|
err: null
|
|
3470
3502
|
};
|
|
@@ -3473,19 +3505,19 @@ var Ai = (
|
|
|
3473
3505
|
if (u.length === 0) {
|
|
3474
3506
|
var c = this.clonePosition();
|
|
3475
3507
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3476
|
-
var
|
|
3477
|
-
if (
|
|
3478
|
-
return
|
|
3479
|
-
h =
|
|
3508
|
+
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3509
|
+
if (f.err)
|
|
3510
|
+
return f;
|
|
3511
|
+
h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3480
3512
|
} else
|
|
3481
3513
|
break;
|
|
3482
3514
|
}
|
|
3483
3515
|
if (l.has(u))
|
|
3484
|
-
return this.error(r === "select" ?
|
|
3516
|
+
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3485
3517
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3486
3518
|
var b = this.clonePosition();
|
|
3487
3519
|
if (!this.bumpIf("{"))
|
|
3488
|
-
return this.error(r === "select" ?
|
|
3520
|
+
return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3489
3521
|
var p = this.parseMessage(t + 1, r, n);
|
|
3490
3522
|
if (p.err)
|
|
3491
3523
|
return p;
|
|
@@ -3496,11 +3528,11 @@ var Ai = (
|
|
|
3496
3528
|
u,
|
|
3497
3529
|
{
|
|
3498
3530
|
value: p.val,
|
|
3499
|
-
location:
|
|
3531
|
+
location: y(b, this.clonePosition())
|
|
3500
3532
|
}
|
|
3501
3533
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3502
3534
|
}
|
|
3503
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3535
|
+
return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3504
3536
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3505
3537
|
var n = 1, i = this.clonePosition();
|
|
3506
3538
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3511,7 +3543,7 @@ var Ai = (
|
|
|
3511
3543
|
else
|
|
3512
3544
|
break;
|
|
3513
3545
|
}
|
|
3514
|
-
var l =
|
|
3546
|
+
var l = y(i, this.clonePosition());
|
|
3515
3547
|
return o ? (s *= n, wi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3516
3548
|
}, e.prototype.offset = function() {
|
|
3517
3549
|
return this.position.offset;
|
|
@@ -3568,7 +3600,7 @@ var Ai = (
|
|
|
3568
3600
|
break;
|
|
3569
3601
|
}
|
|
3570
3602
|
}, e.prototype.bumpSpace = function() {
|
|
3571
|
-
for (; !this.isEOF() &&
|
|
3603
|
+
for (; !this.isEOF() && wr(this.char()); )
|
|
3572
3604
|
this.bump();
|
|
3573
3605
|
}, e.prototype.peek = function() {
|
|
3574
3606
|
if (this.isEOF())
|
|
@@ -3581,16 +3613,16 @@ var Ai = (
|
|
|
3581
3613
|
function tt(e) {
|
|
3582
3614
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3583
3615
|
}
|
|
3584
|
-
function
|
|
3616
|
+
function Ai(e) {
|
|
3585
3617
|
return tt(e) || e === 47;
|
|
3586
3618
|
}
|
|
3587
|
-
function
|
|
3619
|
+
function Ii(e) {
|
|
3588
3620
|
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;
|
|
3589
3621
|
}
|
|
3590
|
-
function
|
|
3622
|
+
function wr(e) {
|
|
3591
3623
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3592
3624
|
}
|
|
3593
|
-
function
|
|
3625
|
+
function Bi(e) {
|
|
3594
3626
|
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;
|
|
3595
3627
|
}
|
|
3596
3628
|
function rt(e) {
|
|
@@ -3598,14 +3630,15 @@ function rt(e) {
|
|
|
3598
3630
|
if (delete t.location, dr(t) || pr(t))
|
|
3599
3631
|
for (var r in t.options)
|
|
3600
3632
|
delete t.options[r].location, rt(t.options[r].value);
|
|
3601
|
-
else
|
|
3633
|
+
else
|
|
3634
|
+
hr(t) && br(t.style) || (cr(t) || fr(t)) && qe(t.style) ? delete t.style.location : mr(t) && rt(t.children);
|
|
3602
3635
|
});
|
|
3603
3636
|
}
|
|
3604
|
-
function
|
|
3605
|
-
t === void 0 && (t = {}), t =
|
|
3606
|
-
var r = new
|
|
3637
|
+
function Pi(e, t) {
|
|
3638
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3639
|
+
var r = new Hi(e, t).parse();
|
|
3607
3640
|
if (r.err) {
|
|
3608
|
-
var n = SyntaxError(
|
|
3641
|
+
var n = SyntaxError(v[r.err.kind]);
|
|
3609
3642
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3610
3643
|
}
|
|
3611
3644
|
return t != null && t.captureLocation || rt(r.val), r.val;
|
|
@@ -3635,7 +3668,7 @@ var Ie = (
|
|
|
3635
3668
|
}
|
|
3636
3669
|
return t;
|
|
3637
3670
|
}(Ie)
|
|
3638
|
-
),
|
|
3671
|
+
), Mi = (
|
|
3639
3672
|
/** @class */
|
|
3640
3673
|
function(e) {
|
|
3641
3674
|
V(t, e);
|
|
@@ -3644,7 +3677,7 @@ var Ie = (
|
|
|
3644
3677
|
}
|
|
3645
3678
|
return t;
|
|
3646
3679
|
}(Ie)
|
|
3647
|
-
),
|
|
3680
|
+
), Oi = (
|
|
3648
3681
|
/** @class */
|
|
3649
3682
|
function(e) {
|
|
3650
3683
|
V(t, e);
|
|
@@ -3653,24 +3686,24 @@ var Ie = (
|
|
|
3653
3686
|
}
|
|
3654
3687
|
return t;
|
|
3655
3688
|
}(Ie)
|
|
3656
|
-
),
|
|
3689
|
+
), N;
|
|
3657
3690
|
(function(e) {
|
|
3658
3691
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3659
|
-
})(
|
|
3660
|
-
function
|
|
3692
|
+
})(N || (N = {}));
|
|
3693
|
+
function Li(e) {
|
|
3661
3694
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3662
3695
|
var n = t[t.length - 1];
|
|
3663
|
-
return !n || n.type !==
|
|
3696
|
+
return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
|
|
3664
3697
|
}, []);
|
|
3665
3698
|
}
|
|
3666
|
-
function
|
|
3699
|
+
function Ni(e) {
|
|
3667
3700
|
return typeof e == "function";
|
|
3668
3701
|
}
|
|
3669
3702
|
function xe(e, t, r, n, i, o, s) {
|
|
3670
3703
|
if (e.length === 1 && At(e[0]))
|
|
3671
3704
|
return [
|
|
3672
3705
|
{
|
|
3673
|
-
type:
|
|
3706
|
+
type: N.literal,
|
|
3674
3707
|
value: e[0].value
|
|
3675
3708
|
}
|
|
3676
3709
|
];
|
|
@@ -3678,101 +3711,101 @@ function xe(e, t, r, n, i, o, s) {
|
|
|
3678
3711
|
var h = u[l];
|
|
3679
3712
|
if (At(h)) {
|
|
3680
3713
|
a.push({
|
|
3681
|
-
type:
|
|
3714
|
+
type: N.literal,
|
|
3682
3715
|
value: h.value
|
|
3683
3716
|
});
|
|
3684
3717
|
continue;
|
|
3685
3718
|
}
|
|
3686
|
-
if (
|
|
3719
|
+
if (ni(h)) {
|
|
3687
3720
|
typeof o == "number" && a.push({
|
|
3688
|
-
type:
|
|
3721
|
+
type: N.literal,
|
|
3689
3722
|
value: r.getNumberFormat(t).format(o)
|
|
3690
3723
|
});
|
|
3691
3724
|
continue;
|
|
3692
3725
|
}
|
|
3693
3726
|
var c = h.value;
|
|
3694
3727
|
if (!(i && c in i))
|
|
3695
|
-
throw new
|
|
3696
|
-
var
|
|
3697
|
-
if (
|
|
3698
|
-
(!
|
|
3699
|
-
type: typeof
|
|
3700
|
-
value:
|
|
3728
|
+
throw new Oi(c, s);
|
|
3729
|
+
var f = i[c];
|
|
3730
|
+
if (ri(h)) {
|
|
3731
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3732
|
+
type: typeof f == "string" ? N.literal : N.object,
|
|
3733
|
+
value: f
|
|
3701
3734
|
});
|
|
3702
3735
|
continue;
|
|
3703
3736
|
}
|
|
3704
3737
|
if (cr(h)) {
|
|
3705
3738
|
var b = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3706
3739
|
a.push({
|
|
3707
|
-
type:
|
|
3708
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
3740
|
+
type: N.literal,
|
|
3741
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3709
3742
|
});
|
|
3710
3743
|
continue;
|
|
3711
3744
|
}
|
|
3712
3745
|
if (fr(h)) {
|
|
3713
3746
|
var b = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3714
3747
|
a.push({
|
|
3715
|
-
type:
|
|
3716
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
3748
|
+
type: N.literal,
|
|
3749
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3717
3750
|
});
|
|
3718
3751
|
continue;
|
|
3719
3752
|
}
|
|
3720
3753
|
if (hr(h)) {
|
|
3721
3754
|
var b = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
|
|
3722
|
-
b && b.scale && (
|
|
3723
|
-
type:
|
|
3724
|
-
value: r.getNumberFormat(t, b).format(
|
|
3755
|
+
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
|
3756
|
+
type: N.literal,
|
|
3757
|
+
value: r.getNumberFormat(t, b).format(f)
|
|
3725
3758
|
});
|
|
3726
3759
|
continue;
|
|
3727
3760
|
}
|
|
3728
3761
|
if (mr(h)) {
|
|
3729
|
-
var p = h.children, m = h.value,
|
|
3730
|
-
if (!
|
|
3731
|
-
throw new
|
|
3732
|
-
var
|
|
3733
|
-
return
|
|
3762
|
+
var p = h.children, m = h.value, w = i[m];
|
|
3763
|
+
if (!Ni(w))
|
|
3764
|
+
throw new Mi(m, "function", s);
|
|
3765
|
+
var P = xe(p, t, r, n, i, o), A = w(P.map(function(S) {
|
|
3766
|
+
return S.value;
|
|
3734
3767
|
}));
|
|
3735
|
-
Array.isArray(
|
|
3768
|
+
Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(S) {
|
|
3736
3769
|
return {
|
|
3737
|
-
type: typeof
|
|
3738
|
-
value:
|
|
3770
|
+
type: typeof S == "string" ? N.literal : N.object,
|
|
3771
|
+
value: S
|
|
3739
3772
|
};
|
|
3740
3773
|
}));
|
|
3741
3774
|
}
|
|
3742
3775
|
if (dr(h)) {
|
|
3743
|
-
var
|
|
3744
|
-
if (!
|
|
3745
|
-
throw new Nt(h.value,
|
|
3746
|
-
a.push.apply(a, xe(
|
|
3776
|
+
var I = h.options[f] || h.options.other;
|
|
3777
|
+
if (!I)
|
|
3778
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
3779
|
+
a.push.apply(a, xe(I.value, t, r, n, i));
|
|
3747
3780
|
continue;
|
|
3748
3781
|
}
|
|
3749
3782
|
if (pr(h)) {
|
|
3750
|
-
var
|
|
3751
|
-
if (!
|
|
3783
|
+
var I = h.options["=".concat(f)];
|
|
3784
|
+
if (!I) {
|
|
3752
3785
|
if (!Intl.PluralRules)
|
|
3753
3786
|
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3754
3787
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3755
3788
|
`, oe.MISSING_INTL_API, s);
|
|
3756
|
-
var
|
|
3757
|
-
|
|
3789
|
+
var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3790
|
+
I = h.options[L] || h.options.other;
|
|
3758
3791
|
}
|
|
3759
|
-
if (!
|
|
3760
|
-
throw new Nt(h.value,
|
|
3761
|
-
a.push.apply(a, xe(
|
|
3792
|
+
if (!I)
|
|
3793
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
3794
|
+
a.push.apply(a, xe(I.value, t, r, n, i, f - (h.offset || 0)));
|
|
3762
3795
|
continue;
|
|
3763
3796
|
}
|
|
3764
3797
|
}
|
|
3765
|
-
return
|
|
3798
|
+
return Li(a);
|
|
3766
3799
|
}
|
|
3767
|
-
function
|
|
3768
|
-
return t ?
|
|
3769
|
-
return r[n] =
|
|
3800
|
+
function Ri(e, t) {
|
|
3801
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3802
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3770
3803
|
}, {})) : e;
|
|
3771
3804
|
}
|
|
3772
|
-
function
|
|
3805
|
+
function Ui(e, t) {
|
|
3773
3806
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3774
|
-
return r[n] =
|
|
3775
|
-
},
|
|
3807
|
+
return r[n] = Ri(e[n], t[n]), r;
|
|
3808
|
+
}, _({}, e)) : e;
|
|
3776
3809
|
}
|
|
3777
3810
|
function Fe(e) {
|
|
3778
3811
|
return {
|
|
@@ -3788,7 +3821,7 @@ function Fe(e) {
|
|
|
3788
3821
|
}
|
|
3789
3822
|
};
|
|
3790
3823
|
}
|
|
3791
|
-
function
|
|
3824
|
+
function Di(e) {
|
|
3792
3825
|
return e === void 0 && (e = {
|
|
3793
3826
|
number: {},
|
|
3794
3827
|
dateTime: {},
|
|
@@ -3820,7 +3853,7 @@ function $i(e) {
|
|
|
3820
3853
|
})
|
|
3821
3854
|
};
|
|
3822
3855
|
}
|
|
3823
|
-
var
|
|
3856
|
+
var $i = (
|
|
3824
3857
|
/** @class */
|
|
3825
3858
|
function() {
|
|
3826
3859
|
function e(t, r, n, i) {
|
|
@@ -3834,8 +3867,8 @@ var ki = (
|
|
|
3834
3867
|
var u = o.formatToParts(l);
|
|
3835
3868
|
if (u.length === 1)
|
|
3836
3869
|
return u[0].value;
|
|
3837
|
-
var h = u.reduce(function(c,
|
|
3838
|
-
return !c.length ||
|
|
3870
|
+
var h = u.reduce(function(c, f) {
|
|
3871
|
+
return !c.length || f.type !== N.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3839
3872
|
}, []);
|
|
3840
3873
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3841
3874
|
}, this.formatToParts = function(l) {
|
|
@@ -3852,13 +3885,13 @@ var ki = (
|
|
|
3852
3885
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3853
3886
|
var s = i || {};
|
|
3854
3887
|
s.formatters;
|
|
3855
|
-
var a =
|
|
3856
|
-
this.ast = e.__parse(t,
|
|
3888
|
+
var a = vn(s, ["formatters"]);
|
|
3889
|
+
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
|
3857
3890
|
} else
|
|
3858
3891
|
this.ast = t;
|
|
3859
3892
|
if (!Array.isArray(this.ast))
|
|
3860
3893
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3861
|
-
this.formats =
|
|
3894
|
+
this.formats = Ui(e.formats, n), this.formatters = i && i.formatters || Di(this.formatterCache);
|
|
3862
3895
|
}
|
|
3863
3896
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3864
3897
|
get: function() {
|
|
@@ -3871,7 +3904,7 @@ var ki = (
|
|
|
3871
3904
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3872
3905
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3873
3906
|
}
|
|
3874
|
-
}, e.__parse =
|
|
3907
|
+
}, e.__parse = Pi, e.formats = {
|
|
3875
3908
|
number: {
|
|
3876
3909
|
integer: {
|
|
3877
3910
|
maximumFractionDigits: 0
|
|
@@ -3932,7 +3965,7 @@ var ki = (
|
|
|
3932
3965
|
}, e;
|
|
3933
3966
|
}()
|
|
3934
3967
|
);
|
|
3935
|
-
function
|
|
3968
|
+
function ki(e, t) {
|
|
3936
3969
|
if (t == null)
|
|
3937
3970
|
return;
|
|
3938
3971
|
if (t in e)
|
|
@@ -3953,33 +3986,33 @@ function Gi(e, t) {
|
|
|
3953
3986
|
n = void 0;
|
|
3954
3987
|
return n;
|
|
3955
3988
|
}
|
|
3956
|
-
const W = {},
|
|
3989
|
+
const W = {}, Gi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Cr = (e, t) => {
|
|
3957
3990
|
if (t == null)
|
|
3958
3991
|
return;
|
|
3959
3992
|
if (t in W && e in W[t])
|
|
3960
3993
|
return W[t][e];
|
|
3961
3994
|
const r = Be(t);
|
|
3962
3995
|
for (let n = 0; n < r.length; n++) {
|
|
3963
|
-
const i = r[n], o =
|
|
3996
|
+
const i = r[n], o = ji(i, e);
|
|
3964
3997
|
if (o)
|
|
3965
|
-
return
|
|
3998
|
+
return Gi(e, t, o);
|
|
3966
3999
|
}
|
|
3967
4000
|
};
|
|
3968
4001
|
let ut;
|
|
3969
4002
|
const le = Ae({});
|
|
3970
|
-
function
|
|
4003
|
+
function Fi(e) {
|
|
3971
4004
|
return ut[e] || null;
|
|
3972
4005
|
}
|
|
3973
4006
|
function Sr(e) {
|
|
3974
4007
|
return e in ut;
|
|
3975
4008
|
}
|
|
3976
|
-
function
|
|
4009
|
+
function ji(e, t) {
|
|
3977
4010
|
if (!Sr(e))
|
|
3978
4011
|
return null;
|
|
3979
|
-
const r =
|
|
3980
|
-
return
|
|
4012
|
+
const r = Fi(e);
|
|
4013
|
+
return ki(r, t);
|
|
3981
4014
|
}
|
|
3982
|
-
function
|
|
4015
|
+
function Vi(e) {
|
|
3983
4016
|
if (e == null)
|
|
3984
4017
|
return;
|
|
3985
4018
|
const t = Be(e);
|
|
@@ -3990,7 +4023,7 @@ function Wi(e) {
|
|
|
3990
4023
|
}
|
|
3991
4024
|
}
|
|
3992
4025
|
function Tr(e, ...t) {
|
|
3993
|
-
delete W[e], le.update((r) => (r[e] =
|
|
4026
|
+
delete W[e], le.update((r) => (r[e] = Qn.all([r[e] || {}, ...t]), r));
|
|
3994
4027
|
}
|
|
3995
4028
|
ae(
|
|
3996
4029
|
[le],
|
|
@@ -3998,13 +4031,13 @@ ae(
|
|
|
3998
4031
|
);
|
|
3999
4032
|
le.subscribe((e) => ut = e);
|
|
4000
4033
|
const Ee = {};
|
|
4001
|
-
function
|
|
4034
|
+
function Wi(e, t) {
|
|
4002
4035
|
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
4003
4036
|
}
|
|
4004
4037
|
function Hr(e) {
|
|
4005
4038
|
return Ee[e];
|
|
4006
4039
|
}
|
|
4007
|
-
function
|
|
4040
|
+
function Xi(e) {
|
|
4008
4041
|
return Be(e).map((t) => {
|
|
4009
4042
|
const r = Hr(t);
|
|
4010
4043
|
return [t, r ? [...r] : []];
|
|
@@ -4018,19 +4051,19 @@ function nt(e) {
|
|
|
4018
4051
|
}
|
|
4019
4052
|
);
|
|
4020
4053
|
}
|
|
4021
|
-
function
|
|
4054
|
+
function zi(e, t) {
|
|
4022
4055
|
return Promise.all(
|
|
4023
|
-
t.map((n) => (
|
|
4056
|
+
t.map((n) => (Wi(e, n), n().then((i) => i.default || i)))
|
|
4024
4057
|
).then((n) => Tr(e, ...n));
|
|
4025
4058
|
}
|
|
4026
4059
|
const he = {};
|
|
4027
4060
|
function Ar(e) {
|
|
4028
4061
|
if (!nt(e))
|
|
4029
4062
|
return e in he ? he[e] : Promise.resolve();
|
|
4030
|
-
const t =
|
|
4063
|
+
const t = Xi(e);
|
|
4031
4064
|
return he[e] = Promise.all(
|
|
4032
4065
|
t.map(
|
|
4033
|
-
([r, n]) =>
|
|
4066
|
+
([r, n]) => zi(r, n)
|
|
4034
4067
|
)
|
|
4035
4068
|
).then(() => {
|
|
4036
4069
|
if (nt(e))
|
|
@@ -4038,7 +4071,7 @@ function Ar(e) {
|
|
|
4038
4071
|
delete he[e];
|
|
4039
4072
|
}), he[e];
|
|
4040
4073
|
}
|
|
4041
|
-
const
|
|
4074
|
+
const Zi = {
|
|
4042
4075
|
number: {
|
|
4043
4076
|
scientific: { notation: "scientific" },
|
|
4044
4077
|
engineering: { notation: "engineering" },
|
|
@@ -4067,28 +4100,28 @@ const Qi = {
|
|
|
4067
4100
|
timeZoneName: "short"
|
|
4068
4101
|
}
|
|
4069
4102
|
}
|
|
4070
|
-
},
|
|
4103
|
+
}, Qi = {
|
|
4071
4104
|
fallbackLocale: null,
|
|
4072
4105
|
loadingDelay: 200,
|
|
4073
|
-
formats:
|
|
4106
|
+
formats: Zi,
|
|
4074
4107
|
warnOnMissingMessages: !0,
|
|
4075
4108
|
handleMissingMessage: void 0,
|
|
4076
4109
|
ignoreTag: !0
|
|
4077
|
-
},
|
|
4110
|
+
}, Yi = Qi;
|
|
4078
4111
|
function se() {
|
|
4079
|
-
return
|
|
4112
|
+
return Yi;
|
|
4080
4113
|
}
|
|
4081
4114
|
const je = Ae(!1);
|
|
4082
|
-
var
|
|
4115
|
+
var qi = Object.defineProperty, Ji = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
|
|
4083
4116
|
for (var r in t || (t = {}))
|
|
4084
|
-
|
|
4117
|
+
eo.call(t, r) && Ut(e, r, t[r]);
|
|
4085
4118
|
if (Rt)
|
|
4086
4119
|
for (var r of Rt(t))
|
|
4087
|
-
|
|
4120
|
+
to.call(t, r) && Ut(e, r, t[r]);
|
|
4088
4121
|
return e;
|
|
4089
|
-
},
|
|
4122
|
+
}, no = (e, t) => Ji(e, Ki(t));
|
|
4090
4123
|
let it;
|
|
4091
|
-
const
|
|
4124
|
+
const Ce = Ae(null);
|
|
4092
4125
|
function Dt(e) {
|
|
4093
4126
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4094
4127
|
}
|
|
@@ -4099,25 +4132,25 @@ function Be(e, t = se().fallbackLocale) {
|
|
|
4099
4132
|
function Z() {
|
|
4100
4133
|
return it != null ? it : void 0;
|
|
4101
4134
|
}
|
|
4102
|
-
|
|
4135
|
+
Ce.subscribe((e) => {
|
|
4103
4136
|
it = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4104
4137
|
});
|
|
4105
|
-
const
|
|
4106
|
-
if (e &&
|
|
4138
|
+
const io = (e) => {
|
|
4139
|
+
if (e && Vi(e) && nt(e)) {
|
|
4107
4140
|
const { loadingDelay: t } = se();
|
|
4108
4141
|
let r;
|
|
4109
4142
|
return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
|
|
4110
4143
|
() => je.set(!0),
|
|
4111
4144
|
t
|
|
4112
4145
|
) : je.set(!0), Ar(e).then(() => {
|
|
4113
|
-
|
|
4146
|
+
Ce.set(e);
|
|
4114
4147
|
}).finally(() => {
|
|
4115
4148
|
clearTimeout(r), je.set(!1);
|
|
4116
4149
|
});
|
|
4117
4150
|
}
|
|
4118
|
-
return
|
|
4119
|
-
}, X =
|
|
4120
|
-
set:
|
|
4151
|
+
return Ce.set(e);
|
|
4152
|
+
}, X = no(ro({}, Ce), {
|
|
4153
|
+
set: io
|
|
4121
4154
|
}), Pe = (e) => {
|
|
4122
4155
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4123
4156
|
return (n) => {
|
|
@@ -4125,7 +4158,7 @@ const oo = (e) => {
|
|
|
4125
4158
|
return i in t ? t[i] : t[i] = e(n);
|
|
4126
4159
|
};
|
|
4127
4160
|
};
|
|
4128
|
-
var
|
|
4161
|
+
var oo = Object.defineProperty, Se = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
4129
4162
|
for (var r in t || (t = {}))
|
|
4130
4163
|
Ir.call(t, r) && $t(e, r, t[r]);
|
|
4131
4164
|
if (Se)
|
|
@@ -4146,21 +4179,21 @@ const pe = (e, t) => {
|
|
|
4146
4179
|
if (e in r && t in r[e])
|
|
4147
4180
|
return r[e][t];
|
|
4148
4181
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4149
|
-
},
|
|
4182
|
+
}, so = Pe(
|
|
4150
4183
|
(e) => {
|
|
4151
4184
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4152
4185
|
if (r == null)
|
|
4153
4186
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4154
4187
|
return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
|
|
4155
4188
|
}
|
|
4156
|
-
),
|
|
4189
|
+
), ao = Pe(
|
|
4157
4190
|
(e) => {
|
|
4158
4191
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4159
4192
|
if (r == null)
|
|
4160
4193
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4161
4194
|
return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4162
4195
|
}
|
|
4163
|
-
),
|
|
4196
|
+
), lo = Pe(
|
|
4164
4197
|
(e) => {
|
|
4165
4198
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4166
4199
|
if (r == null)
|
|
@@ -4169,33 +4202,33 @@ const pe = (e, t) => {
|
|
|
4169
4202
|
);
|
|
4170
4203
|
return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4171
4204
|
}
|
|
4172
|
-
),
|
|
4205
|
+
), uo = (e = {}) => {
|
|
4173
4206
|
var t = e, {
|
|
4174
4207
|
locale: r = Z()
|
|
4175
4208
|
} = t, n = ue(t, [
|
|
4176
4209
|
"locale"
|
|
4177
4210
|
]);
|
|
4178
|
-
return
|
|
4179
|
-
},
|
|
4211
|
+
return so(ht({ locale: r }, n));
|
|
4212
|
+
}, ho = (e = {}) => {
|
|
4180
4213
|
var t = e, {
|
|
4181
4214
|
locale: r = Z()
|
|
4182
4215
|
} = t, n = ue(t, [
|
|
4183
4216
|
"locale"
|
|
4184
4217
|
]);
|
|
4185
|
-
return
|
|
4186
|
-
},
|
|
4218
|
+
return ao(ht({ locale: r }, n));
|
|
4219
|
+
}, co = (e = {}) => {
|
|
4187
4220
|
var t = e, {
|
|
4188
4221
|
locale: r = Z()
|
|
4189
4222
|
} = t, n = ue(t, [
|
|
4190
4223
|
"locale"
|
|
4191
4224
|
]);
|
|
4192
|
-
return
|
|
4193
|
-
},
|
|
4225
|
+
return lo(ht({ locale: r }, n));
|
|
4226
|
+
}, fo = Pe(
|
|
4194
4227
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4195
|
-
(e, t = Z()) => new
|
|
4228
|
+
(e, t = Z()) => new $i(e, t, se().formats, {
|
|
4196
4229
|
ignoreTag: se().ignoreTag
|
|
4197
4230
|
})
|
|
4198
|
-
),
|
|
4231
|
+
), po = (e, t = {}) => {
|
|
4199
4232
|
var r, n, i, o;
|
|
4200
4233
|
let s = t;
|
|
4201
4234
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4208,7 +4241,7 @@ const pe = (e, t) => {
|
|
|
4208
4241
|
throw new Error(
|
|
4209
4242
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4210
4243
|
);
|
|
4211
|
-
let h =
|
|
4244
|
+
let h = Cr(e, l);
|
|
4212
4245
|
if (!h)
|
|
4213
4246
|
h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4214
4247
|
else if (typeof h != "string")
|
|
@@ -4219,42 +4252,65 @@ const pe = (e, t) => {
|
|
|
4219
4252
|
return h;
|
|
4220
4253
|
let c = h;
|
|
4221
4254
|
try {
|
|
4222
|
-
c =
|
|
4223
|
-
} catch (
|
|
4224
|
-
|
|
4255
|
+
c = fo(h, l).format(a);
|
|
4256
|
+
} catch (f) {
|
|
4257
|
+
f instanceof Error && console.warn(
|
|
4225
4258
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4226
|
-
|
|
4259
|
+
f.message
|
|
4227
4260
|
);
|
|
4228
4261
|
}
|
|
4229
4262
|
return c;
|
|
4230
|
-
},
|
|
4231
|
-
ae([X, le], () =>
|
|
4263
|
+
}, mo = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => uo(t).format(e), vo = (e, t = Z()) => Cr(e, t);
|
|
4264
|
+
ae([X, le], () => po);
|
|
4265
|
+
ae([X], () => mo);
|
|
4232
4266
|
ae([X], () => bo);
|
|
4233
4267
|
ae([X], () => go);
|
|
4234
|
-
ae([X], () => vo);
|
|
4235
|
-
|
|
4236
|
-
window.emWidgets = { topic: On };
|
|
4268
|
+
ae([X, le], () => vo);
|
|
4269
|
+
window.emWidgets = { topic: Mn };
|
|
4237
4270
|
const kt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4238
|
-
function
|
|
4271
|
+
function yo({ withLocale: e, translations: t }) {
|
|
4239
4272
|
X.subscribe((r) => {
|
|
4240
4273
|
r == null && (le.set(t), X.set(e));
|
|
4241
4274
|
});
|
|
4242
4275
|
}
|
|
4243
|
-
function
|
|
4276
|
+
function _o(e, t) {
|
|
4244
4277
|
Tr(e, t);
|
|
4245
4278
|
}
|
|
4246
|
-
function
|
|
4279
|
+
function xo(e) {
|
|
4247
4280
|
X.set(e);
|
|
4248
4281
|
}
|
|
4249
|
-
function
|
|
4250
|
-
|
|
4282
|
+
function Eo(e, t) {
|
|
4283
|
+
if (e) {
|
|
4284
|
+
const r = document.createElement("style");
|
|
4285
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4286
|
+
}
|
|
4287
|
+
}
|
|
4288
|
+
function wo(e, t) {
|
|
4289
|
+
const r = new URL(t);
|
|
4290
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4291
|
+
const i = document.createElement("style");
|
|
4292
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4293
|
+
}).catch((n) => {
|
|
4294
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4295
|
+
});
|
|
4296
|
+
}
|
|
4297
|
+
function Co(e, t, r) {
|
|
4298
|
+
if (window.emMessageBus) {
|
|
4299
|
+
const n = document.createElement("style");
|
|
4300
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4301
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4302
|
+
});
|
|
4303
|
+
}
|
|
4304
|
+
}
|
|
4305
|
+
function So(e) {
|
|
4306
|
+
Yr(e, "svelte-kras36", '.CasinoVendorsLoading{height:52px}p{color:var(--emw--categories-typography, var(--emw--color-white) #ffffff);text-align:center}.CasinoVendorsContainer{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{min-height:72px;max-height:75px;background:var(--emw--color-primary, #194127);background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));border-radius:var(--emw--border-radius-medium, 20px);max-width:1300px;margin:0 auto}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));margin:0 auto;max-width:1300px;min-height:72px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{overflow-x:auto;overflow-y:hidden;scroll-snap-align:center}.CarouselContainer ul{align-items:center;list-style:none;padding:0;margin:0}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{align-items:center;font-size:var(--emw--font-size-medium, 15px);font-weight:500;line-height:34px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu button,.CarouselContainer ul li.SecondaryMenu .ActiveImg{border-bottom:2px solid transparent;position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu:hover .ActiveImg,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu.active .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus-within button,.CarouselContainer ul li.SecondaryMenu:focus-within .ActiveImg{border-bottom:2px solid var(--emw--color-green, #23b04e);position:relative}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #ffffff))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center;height:100%}.CarouselContainer .CarouselItems li{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{height:100%;margin-right:5px;position:relative;top:5px;max-height:25px;line-height:25px;font-size:var(--emw--font-size-2x-small, 11px);overflow:auto}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));text-decoration:none;white-space:nowrap;position:relative;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23b04e));border-radius:50%;padding:3px;min-width:20px;max-width:30px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-2x-small, 11px)}.CarouselContainer .CarouselItems .categoryImgButtonCount{top:15px;right:8px}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072a))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d))}.CarouselContainer .CarouselItems .TouchOnly{display:none}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072a));color:var(--emw--categories-typography, var(--emw--color-white, #ffffff))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #ffffff)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #ffffff);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #ffffff)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #ffffff)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #ffffff)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #ffffff)}.CategoryIconImg{height:20px;margin:0 auto;display:block}.CarouselWrapperMobile{margin:0 10px;border-radius:20px;max-height:75px}.CarouselWrapperMobile .MobileCategoryButton{margin-top:5px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;justify-content:center;height:inherit;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative;height:25px}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .ImageContainer{display:block;height:25px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static;overflow:auto}');
|
|
4251
4307
|
}
|
|
4252
4308
|
function Gt(e, t, r) {
|
|
4253
4309
|
const n = e.slice();
|
|
4254
4310
|
return n[43] = t[r], n[45] = r, n;
|
|
4255
4311
|
}
|
|
4256
|
-
function
|
|
4257
|
-
let t, r, n, i, o, s, a, l, u, h, c,
|
|
4312
|
+
function To(e) {
|
|
4313
|
+
let t, r, n, i, o, s, a, l, u, h, c, f, b, p = (
|
|
4258
4314
|
/*vendors*/
|
|
4259
4315
|
e[6].length > 0 && Ft(e)
|
|
4260
4316
|
);
|
|
@@ -4263,8 +4319,8 @@ function wo(e) {
|
|
|
4263
4319
|
t = T("div"), r = T("div"), n = T("div"), i = T("div"), i.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15 19l-7-7 7-7"></path></svg>', o = F(), s = T("div"), a = T("ul"), l = T("li"), l.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = F(), p && p.c(), h = F(), c = T("div"), c.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M9 5l7 7-7 7"></path></svg>', E(i, "class", "CarouselLeftArrow"), E(l, "class", "TouchOnly"), E(a, "id", "CarouselNav"), E(a, "class", "CarouselItems"), E(s, "class", "CarouselNavWrap"), E(c, "class", "CarouselRightArrow"), E(n, "class", "CarouselContainer CarouselContainerMobile"), E(r, "class", "CarouselWrapper " + /*isMobile*/
|
|
4264
4320
|
(e[10] ? "CarouselWrapperMobile" : "")), E(t, "class", "CasinoVendorsContainer"), E(t, "part", "CasinoVendorsContainer");
|
|
4265
4321
|
},
|
|
4266
|
-
m(m,
|
|
4267
|
-
|
|
4322
|
+
m(m, w) {
|
|
4323
|
+
M(m, t, w), H(t, r), H(r, n), H(n, i), H(n, o), H(n, s), H(s, a), H(a, l), H(a, u), p && p.m(a, null), e[28](a), e[29](s), H(n, h), H(n, c), e[30](r), f || (b = [
|
|
4268
4324
|
K(
|
|
4269
4325
|
i,
|
|
4270
4326
|
"click",
|
|
@@ -4289,44 +4345,44 @@ function wo(e) {
|
|
|
4289
4345
|
/*onScrollRightKeydown*/
|
|
4290
4346
|
e[14]
|
|
4291
4347
|
)
|
|
4292
|
-
],
|
|
4348
|
+
], f = !0);
|
|
4293
4349
|
},
|
|
4294
|
-
p(m,
|
|
4350
|
+
p(m, w) {
|
|
4295
4351
|
/*vendors*/
|
|
4296
|
-
m[6].length > 0 ? p ? p.p(m,
|
|
4352
|
+
m[6].length > 0 ? p ? p.p(m, w) : (p = Ft(m), p.c(), p.m(a, null)) : p && (p.d(1), p = null);
|
|
4297
4353
|
},
|
|
4298
4354
|
d(m) {
|
|
4299
|
-
m &&
|
|
4355
|
+
m && B(t), p && p.d(), e[28](null), e[29](null), e[30](null), f = !1, z(b);
|
|
4300
4356
|
}
|
|
4301
4357
|
};
|
|
4302
4358
|
}
|
|
4303
|
-
function
|
|
4359
|
+
function Ho(e) {
|
|
4304
4360
|
let t;
|
|
4305
4361
|
return {
|
|
4306
4362
|
c() {
|
|
4307
4363
|
t = T("p"), t.textContent = "500 Error - Internal Server Error.", E(t, "class", "SearchLoading");
|
|
4308
4364
|
},
|
|
4309
4365
|
m(r, n) {
|
|
4310
|
-
|
|
4366
|
+
M(r, t, n);
|
|
4311
4367
|
},
|
|
4312
4368
|
p: D,
|
|
4313
4369
|
d(r) {
|
|
4314
|
-
r &&
|
|
4370
|
+
r && B(t);
|
|
4315
4371
|
}
|
|
4316
4372
|
};
|
|
4317
4373
|
}
|
|
4318
|
-
function
|
|
4374
|
+
function Ao(e) {
|
|
4319
4375
|
let t;
|
|
4320
4376
|
return {
|
|
4321
4377
|
c() {
|
|
4322
4378
|
t = T("div"), E(t, "class", "CasinoVendorsLoading");
|
|
4323
4379
|
},
|
|
4324
4380
|
m(r, n) {
|
|
4325
|
-
|
|
4381
|
+
M(r, t, n);
|
|
4326
4382
|
},
|
|
4327
4383
|
p: D,
|
|
4328
4384
|
d(r) {
|
|
4329
|
-
r &&
|
|
4385
|
+
r && B(t);
|
|
4330
4386
|
}
|
|
4331
4387
|
};
|
|
4332
4388
|
}
|
|
@@ -4352,17 +4408,17 @@ function Ft(e) {
|
|
|
4352
4408
|
m(s, a) {
|
|
4353
4409
|
for (let l = 0; l < t.length; l += 1)
|
|
4354
4410
|
t[l] && t[l].m(s, a);
|
|
4355
|
-
|
|
4411
|
+
M(s, n, a);
|
|
4356
4412
|
},
|
|
4357
4413
|
p(s, a) {
|
|
4358
4414
|
a[0] & /*activevendor, vendors, handleClick, onCarouselItemKeydown, getButtonClasses, getGamesTotal, showvendorgames, showvendorname, showvendoricon, isMobile*/
|
|
4359
4415
|
461903 && (i = yt(
|
|
4360
4416
|
/*vendors*/
|
|
4361
4417
|
s[6]
|
|
4362
|
-
), t =
|
|
4418
|
+
), t = hn(t, a, o, 1, s, i, r, n.parentNode, un, Qt, n, Gt));
|
|
4363
4419
|
},
|
|
4364
4420
|
d(s) {
|
|
4365
|
-
s &&
|
|
4421
|
+
s && B(n);
|
|
4366
4422
|
for (let a = 0; a < t.length; a += 1)
|
|
4367
4423
|
t[a].d(s);
|
|
4368
4424
|
}
|
|
@@ -4373,7 +4429,7 @@ function jt(e) {
|
|
|
4373
4429
|
function r(o, s) {
|
|
4374
4430
|
return (
|
|
4375
4431
|
/*isMobile*/
|
|
4376
|
-
o[10] ?
|
|
4432
|
+
o[10] ? Bo : Io
|
|
4377
4433
|
);
|
|
4378
4434
|
}
|
|
4379
4435
|
let i = r(e)(e);
|
|
@@ -4382,67 +4438,67 @@ function jt(e) {
|
|
|
4382
4438
|
i.c(), t = ot();
|
|
4383
4439
|
},
|
|
4384
4440
|
m(o, s) {
|
|
4385
|
-
i.m(o, s),
|
|
4441
|
+
i.m(o, s), M(o, t, s);
|
|
4386
4442
|
},
|
|
4387
4443
|
p(o, s) {
|
|
4388
4444
|
i.p(o, s);
|
|
4389
4445
|
},
|
|
4390
4446
|
d(o) {
|
|
4391
|
-
o &&
|
|
4447
|
+
o && B(t), i.d(o);
|
|
4392
4448
|
}
|
|
4393
4449
|
};
|
|
4394
4450
|
}
|
|
4395
|
-
function
|
|
4451
|
+
function Io(e) {
|
|
4396
4452
|
let t, r, n, i, o, s = (
|
|
4397
4453
|
/*showvendorname*/
|
|
4398
4454
|
e[2] === "false" && Vt()
|
|
4399
4455
|
);
|
|
4400
4456
|
return {
|
|
4401
4457
|
c() {
|
|
4402
|
-
t = T("img"), i = F(), s && s.c(), o = ot(),
|
|
4458
|
+
t = T("img"), i = F(), s && s.c(), o = ot(), we(t.src, r = /*vendor*/
|
|
4403
4459
|
e[43].logo) || E(t, "src", r), E(t, "alt", n = /*vendor*/
|
|
4404
4460
|
e[43].displayName);
|
|
4405
4461
|
},
|
|
4406
4462
|
m(a, l) {
|
|
4407
|
-
|
|
4463
|
+
M(a, t, l), M(a, i, l), s && s.m(a, l), M(a, o, l);
|
|
4408
4464
|
},
|
|
4409
4465
|
p(a, l) {
|
|
4410
4466
|
l[0] & /*vendors*/
|
|
4411
|
-
64 && !
|
|
4467
|
+
64 && !we(t.src, r = /*vendor*/
|
|
4412
4468
|
a[43].logo) && E(t, "src", r), l[0] & /*vendors*/
|
|
4413
4469
|
64 && n !== (n = /*vendor*/
|
|
4414
4470
|
a[43].displayName) && E(t, "alt", n), /*showvendorname*/
|
|
4415
4471
|
a[2] === "false" ? s || (s = Vt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
|
|
4416
4472
|
},
|
|
4417
4473
|
d(a) {
|
|
4418
|
-
a && (
|
|
4474
|
+
a && (B(t), B(i), B(o)), s && s.d(a);
|
|
4419
4475
|
}
|
|
4420
4476
|
};
|
|
4421
4477
|
}
|
|
4422
|
-
function
|
|
4478
|
+
function Bo(e) {
|
|
4423
4479
|
let t, r, n, i, o, s = (
|
|
4424
4480
|
/*showvendorname*/
|
|
4425
4481
|
e[2] === "false" && Wt()
|
|
4426
4482
|
);
|
|
4427
4483
|
return {
|
|
4428
4484
|
c() {
|
|
4429
|
-
t = T("div"), r = T("img"), o = F(), s && s.c(),
|
|
4485
|
+
t = T("div"), r = T("img"), o = F(), s && s.c(), we(r.src, n = /*vendor*/
|
|
4430
4486
|
e[43].logo) || E(r, "src", n), E(r, "alt", i = /*vendor*/
|
|
4431
4487
|
e[43].displayName), E(t, "class", "ImageContainer");
|
|
4432
4488
|
},
|
|
4433
4489
|
m(a, l) {
|
|
4434
|
-
|
|
4490
|
+
M(a, t, l), H(t, r), H(t, o), s && s.m(t, null);
|
|
4435
4491
|
},
|
|
4436
4492
|
p(a, l) {
|
|
4437
4493
|
l[0] & /*vendors*/
|
|
4438
|
-
64 && !
|
|
4494
|
+
64 && !we(r.src, n = /*vendor*/
|
|
4439
4495
|
a[43].logo) && E(r, "src", n), l[0] & /*vendors*/
|
|
4440
4496
|
64 && i !== (i = /*vendor*/
|
|
4441
4497
|
a[43].displayName) && E(r, "alt", i), /*showvendorname*/
|
|
4442
4498
|
a[2] === "false" ? s || (s = Wt(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
|
|
4443
4499
|
},
|
|
4444
4500
|
d(a) {
|
|
4445
|
-
a &&
|
|
4501
|
+
a && B(t), s && s.d();
|
|
4446
4502
|
}
|
|
4447
4503
|
};
|
|
4448
4504
|
}
|
|
@@ -4453,10 +4509,10 @@ function Vt(e) {
|
|
|
4453
4509
|
t = T("div"), E(t, "class", "ActiveImg");
|
|
4454
4510
|
},
|
|
4455
4511
|
m(r, n) {
|
|
4456
|
-
|
|
4512
|
+
M(r, t, n);
|
|
4457
4513
|
},
|
|
4458
4514
|
d(r) {
|
|
4459
|
-
r &&
|
|
4515
|
+
r && B(t);
|
|
4460
4516
|
}
|
|
4461
4517
|
};
|
|
4462
4518
|
}
|
|
@@ -4467,10 +4523,10 @@ function Wt(e) {
|
|
|
4467
4523
|
t = T("div"), E(t, "class", "ActiveImg");
|
|
4468
4524
|
},
|
|
4469
4525
|
m(r, n) {
|
|
4470
|
-
|
|
4526
|
+
M(r, t, n);
|
|
4471
4527
|
},
|
|
4472
4528
|
d(r) {
|
|
4473
|
-
r &&
|
|
4529
|
+
r && B(t);
|
|
4474
4530
|
}
|
|
4475
4531
|
};
|
|
4476
4532
|
}
|
|
@@ -4488,7 +4544,7 @@ function Xt(e) {
|
|
|
4488
4544
|
t = T("span"), n = me(r), E(t, "class", "categoryImgButtonCount");
|
|
4489
4545
|
},
|
|
4490
4546
|
m(o, s) {
|
|
4491
|
-
|
|
4547
|
+
M(o, t, s), H(t, n);
|
|
4492
4548
|
},
|
|
4493
4549
|
p(o, s) {
|
|
4494
4550
|
var a;
|
|
@@ -4500,7 +4556,7 @@ function Xt(e) {
|
|
|
4500
4556
|
) + "") && st(n, r);
|
|
4501
4557
|
},
|
|
4502
4558
|
d(o) {
|
|
4503
|
-
o &&
|
|
4559
|
+
o && B(t);
|
|
4504
4560
|
}
|
|
4505
4561
|
};
|
|
4506
4562
|
}
|
|
@@ -4524,7 +4580,7 @@ function zt(e) {
|
|
|
4524
4580
|
);
|
|
4525
4581
|
},
|
|
4526
4582
|
m(a, l) {
|
|
4527
|
-
|
|
4583
|
+
M(a, t, l), H(t, n), H(t, i), o && o.m(t, null);
|
|
4528
4584
|
},
|
|
4529
4585
|
p(a, l) {
|
|
4530
4586
|
var u;
|
|
@@ -4535,7 +4591,7 @@ function zt(e) {
|
|
|
4535
4591
|
((u = a[43]) != null && u.games.total) ? o ? o.p(a, l) : (o = Zt(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
|
|
4536
4592
|
},
|
|
4537
4593
|
d(a) {
|
|
4538
|
-
a &&
|
|
4594
|
+
a && B(t), o && o.d();
|
|
4539
4595
|
}
|
|
4540
4596
|
};
|
|
4541
4597
|
}
|
|
@@ -4553,7 +4609,7 @@ function Zt(e) {
|
|
|
4553
4609
|
t = T("span"), n = me(r), E(t, "class", "CategoryButtonCount");
|
|
4554
4610
|
},
|
|
4555
4611
|
m(o, s) {
|
|
4556
|
-
|
|
4612
|
+
M(o, t, s), H(t, n);
|
|
4557
4613
|
},
|
|
4558
4614
|
p(o, s) {
|
|
4559
4615
|
var a;
|
|
@@ -4565,7 +4621,7 @@ function Zt(e) {
|
|
|
4565
4621
|
) + "") && st(n, r);
|
|
4566
4622
|
},
|
|
4567
4623
|
d(o) {
|
|
4568
|
-
o &&
|
|
4624
|
+
o && B(t);
|
|
4569
4625
|
}
|
|
4570
4626
|
};
|
|
4571
4627
|
}
|
|
@@ -4584,10 +4640,10 @@ function Qt(e, t) {
|
|
|
4584
4640
|
/*showvendorname*/
|
|
4585
4641
|
t[2] !== "false" && zt(t)
|
|
4586
4642
|
);
|
|
4587
|
-
function
|
|
4643
|
+
function f(...m) {
|
|
4588
4644
|
return (
|
|
4589
4645
|
/*click_handler*/
|
|
4590
|
-
t[
|
|
4646
|
+
t[27](
|
|
4591
4647
|
/*vendor*/
|
|
4592
4648
|
t[43],
|
|
4593
4649
|
/*index*/
|
|
@@ -4608,9 +4664,9 @@ function Qt(e, t) {
|
|
|
4608
4664
|
t[43].id
|
|
4609
4665
|
) ? "active" : "") + " SecondaryMenu"), this.first = r;
|
|
4610
4666
|
},
|
|
4611
|
-
m(m,
|
|
4612
|
-
|
|
4613
|
-
K(r, "click",
|
|
4667
|
+
m(m, w) {
|
|
4668
|
+
M(m, r, w), u && u.m(r, null), H(r, n), h && h.m(r, null), H(r, i), c && c.m(r, null), H(r, o), a || (l = [
|
|
4669
|
+
K(r, "click", f),
|
|
4614
4670
|
K(r, "keydown", function() {
|
|
4615
4671
|
Te(
|
|
4616
4672
|
/*onCarouselItemKeydown*/
|
|
@@ -4629,15 +4685,15 @@ function Qt(e, t) {
|
|
|
4629
4685
|
})
|
|
4630
4686
|
], a = !0);
|
|
4631
4687
|
},
|
|
4632
|
-
p(m,
|
|
4633
|
-
var
|
|
4688
|
+
p(m, w) {
|
|
4689
|
+
var P, A;
|
|
4634
4690
|
t = m, /*showvendoricon*/
|
|
4635
|
-
t[1] !== "false" ? u ? u.p(t,
|
|
4691
|
+
t[1] !== "false" ? u ? u.p(t, w) : (u = jt(t), u.c(), u.m(r, n)) : u && (u.d(1), u = null), /*showvendoricon*/
|
|
4636
4692
|
t[1] == "true" && /*showvendorgames*/
|
|
4637
4693
|
t[3] !== "false" && /*showvendorname*/
|
|
4638
4694
|
t[2] == "false" && /*vendor*/
|
|
4639
|
-
((
|
|
4640
|
-
t[2] !== "false" ? c ? c.p(t,
|
|
4695
|
+
((A = (P = t[43]) == null ? void 0 : P.games) != null && A.total) ? h ? h.p(t, w) : (h = Xt(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
|
|
4696
|
+
t[2] !== "false" ? c ? c.p(t, w) : (c = zt(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), w[0] & /*activevendor, vendors*/
|
|
4641
4697
|
65 && s !== (s = "CarouselItem " + (String(
|
|
4642
4698
|
/*activevendor*/
|
|
4643
4699
|
t[0]
|
|
@@ -4647,18 +4703,18 @@ function Qt(e, t) {
|
|
|
4647
4703
|
) ? "active" : "") + " SecondaryMenu") && E(r, "class", s);
|
|
4648
4704
|
},
|
|
4649
4705
|
d(m) {
|
|
4650
|
-
m &&
|
|
4706
|
+
m && B(r), u && u.d(), h && h.d(), c && c.d(), a = !1, z(l);
|
|
4651
4707
|
}
|
|
4652
4708
|
};
|
|
4653
4709
|
}
|
|
4654
|
-
function
|
|
4710
|
+
function Po(e) {
|
|
4655
4711
|
let t;
|
|
4656
4712
|
function r(o, s) {
|
|
4657
4713
|
return (
|
|
4658
4714
|
/*isLoading*/
|
|
4659
|
-
o[5] ?
|
|
4715
|
+
o[5] ? Ao : (
|
|
4660
4716
|
/*hasErrors*/
|
|
4661
|
-
o[7] ?
|
|
4717
|
+
o[7] ? Ho : To
|
|
4662
4718
|
)
|
|
4663
4719
|
);
|
|
4664
4720
|
}
|
|
@@ -4668,7 +4724,7 @@ function Io(e) {
|
|
|
4668
4724
|
t = T("div"), i.c();
|
|
4669
4725
|
},
|
|
4670
4726
|
m(o, s) {
|
|
4671
|
-
|
|
4727
|
+
M(o, t, s), i.m(t, null), e[31](t);
|
|
4672
4728
|
},
|
|
4673
4729
|
p(o, s) {
|
|
4674
4730
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4676,158 +4732,146 @@ function Io(e) {
|
|
|
4676
4732
|
i: D,
|
|
4677
4733
|
o: D,
|
|
4678
4734
|
d(o) {
|
|
4679
|
-
o &&
|
|
4735
|
+
o && B(t), i.d(), e[31](null);
|
|
4680
4736
|
}
|
|
4681
4737
|
};
|
|
4682
4738
|
}
|
|
4683
|
-
function
|
|
4684
|
-
|
|
4685
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: l = "defaultevent" } = t, { translationurl: u = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname: c = "false" } = t, { showvendorgames:
|
|
4686
|
-
const
|
|
4687
|
-
fetch(u).then((
|
|
4688
|
-
Object.keys(
|
|
4689
|
-
|
|
4739
|
+
function Mo(e, t, r) {
|
|
4740
|
+
yo({ withLocale: "en", translations: {} });
|
|
4741
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: l = "defaultevent" } = t, { translationurl: u = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname: c = "false" } = t, { showvendorgames: f = "false" } = t, { activevendor: b = "0" } = t, { mbsource: p } = t, m = window.navigator.userAgent, w = kt(m) !== "PC", P = !0, A, I = [], L = !1, S, R, g;
|
|
4742
|
+
const $ = () => {
|
|
4743
|
+
fetch(u).then((x) => x.json()).then((x) => {
|
|
4744
|
+
Object.keys(x).forEach((O) => {
|
|
4745
|
+
_o(O, x[O]);
|
|
4690
4746
|
});
|
|
4691
|
-
}).catch((
|
|
4692
|
-
console.log(
|
|
4747
|
+
}).catch((x) => {
|
|
4748
|
+
console.log(x);
|
|
4693
4749
|
});
|
|
4694
|
-
}, $ = () => {
|
|
4695
|
-
let f = document.createElement("style");
|
|
4696
|
-
f.innerHTML = s, P.appendChild(f);
|
|
4697
4750
|
}, k = () => {
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
});
|
|
4707
|
-
}, Q = () => {
|
|
4708
|
-
Eo(o);
|
|
4709
|
-
}, Pr = () => (n || (O = "Endpoint is missing! Please provide a valid endpointURL.", r(7, H = !0), r(5, x = !1), console.error(O)), (!o || o.length < 2) && (O = "Language is missing! Please provide a valid language (alpha2code)", r(7, H = !0), r(5, x = !1), console.error(O)), H), Mr = () => {
|
|
4710
|
-
if (!Pr()) {
|
|
4711
|
-
let f = new URL(`${n}/v1/casino/vendors`);
|
|
4712
|
-
f.searchParams.append("datasource", i), f.searchParams.append("language", o), f.searchParams.append("platform", kt(p)), fetch(f).then((_) => _.json()).then(
|
|
4713
|
-
(_) => {
|
|
4714
|
-
let A = _.items.filter((Le) => Le.games.total > 0);
|
|
4715
|
-
r(6, B = []), r(6, B = B.concat(A)), r(5, x = !1);
|
|
4751
|
+
xo(o);
|
|
4752
|
+
}, Q = () => (n || (A = "Endpoint is missing! Please provide a valid endpointURL.", r(7, L = !0), r(5, P = !1), console.error(A)), (!o || o.length < 2) && (A = "Language is missing! Please provide a valid language (alpha2code)", r(7, L = !0), r(5, P = !1), console.error(A)), L), Pr = () => {
|
|
4753
|
+
if (!Q()) {
|
|
4754
|
+
let d = new URL(`${n}/v1/casino/vendors`);
|
|
4755
|
+
d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform", kt(m)), fetch(d).then((x) => x.json()).then(
|
|
4756
|
+
(x) => {
|
|
4757
|
+
let O = x.items.filter((Le) => Le.games.total > 0);
|
|
4758
|
+
r(6, I = []), r(6, I = I.concat(O)), r(5, P = !1);
|
|
4716
4759
|
},
|
|
4717
|
-
(
|
|
4718
|
-
r(7,
|
|
4760
|
+
(x) => {
|
|
4761
|
+
r(7, L = !0), console.error("There was an error while fetching the vendors", x);
|
|
4719
4762
|
}
|
|
4720
|
-
).catch((
|
|
4721
|
-
r(7,
|
|
4763
|
+
).catch((x) => {
|
|
4764
|
+
r(7, L = !0), console.error("There was an error while fetching the vendors", x);
|
|
4722
4765
|
});
|
|
4723
4766
|
}
|
|
4724
4767
|
};
|
|
4725
|
-
|
|
4768
|
+
rn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
4726
4769
|
() => {
|
|
4727
|
-
|
|
4770
|
+
g && g.addEventListener("scroll", Oe);
|
|
4728
4771
|
},
|
|
4729
4772
|
500
|
|
4730
4773
|
), () => {
|
|
4731
|
-
|
|
4774
|
+
R.removeEventListener("scroll", Oe);
|
|
4732
4775
|
}));
|
|
4733
|
-
let Me = (
|
|
4734
|
-
var
|
|
4735
|
-
Oe(), r(0, b =
|
|
4776
|
+
let Me = (d, x) => {
|
|
4777
|
+
var O;
|
|
4778
|
+
Oe(), r(0, b = d.id), window.postMessage(
|
|
4736
4779
|
{
|
|
4737
4780
|
type: l,
|
|
4738
|
-
itemId:
|
|
4739
|
-
index:
|
|
4740
|
-
item:
|
|
4741
|
-
path:
|
|
4742
|
-
externalLink:
|
|
4743
|
-
target: ((
|
|
4781
|
+
itemId: d.id,
|
|
4782
|
+
index: x,
|
|
4783
|
+
item: d,
|
|
4784
|
+
path: d.path,
|
|
4785
|
+
externalLink: d.externalLink || !1,
|
|
4786
|
+
target: ((O = d.attrs) == null ? void 0 : O.target) || null
|
|
4744
4787
|
},
|
|
4745
4788
|
window.location.href
|
|
4746
4789
|
);
|
|
4747
4790
|
}, ct = () => {
|
|
4748
|
-
const
|
|
4749
|
-
if (
|
|
4750
|
-
const
|
|
4751
|
-
|
|
4752
|
-
left: -
|
|
4791
|
+
const d = g.scrollLeft;
|
|
4792
|
+
if (d > 0) {
|
|
4793
|
+
const x = Math.min(250, d);
|
|
4794
|
+
g.scrollBy({
|
|
4795
|
+
left: -x,
|
|
4753
4796
|
behavior: "smooth"
|
|
4754
4797
|
});
|
|
4755
4798
|
}
|
|
4756
4799
|
}, ft = () => {
|
|
4757
|
-
const
|
|
4758
|
-
if (
|
|
4759
|
-
const Le =
|
|
4760
|
-
|
|
4800
|
+
const d = g.scrollLeft, x = g.scrollWidth, O = g.clientWidth;
|
|
4801
|
+
if (d + O < x) {
|
|
4802
|
+
const Le = x - (d + O), Fr = Math.min(250, Le);
|
|
4803
|
+
g.scrollBy({ left: Fr, behavior: "smooth" });
|
|
4761
4804
|
}
|
|
4762
4805
|
};
|
|
4763
4806
|
const Oe = () => {
|
|
4764
|
-
const
|
|
4765
|
-
document.activeElement.blur(),
|
|
4766
|
-
for (let
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
},
|
|
4770
|
-
(
|
|
4771
|
-
},
|
|
4772
|
-
(
|
|
4773
|
-
},
|
|
4774
|
-
(
|
|
4775
|
-
},
|
|
4776
|
-
if (
|
|
4807
|
+
const d = R.querySelectorAll(".DropDown");
|
|
4808
|
+
document.activeElement.blur(), g.classList.add("isScrolling");
|
|
4809
|
+
for (let x = 0; x < d.length; x++)
|
|
4810
|
+
d[x].style.transform = "translateX(-" + g.scrollLeft + "px)";
|
|
4811
|
+
g.classList.remove("isScrolling");
|
|
4812
|
+
}, Mr = (d) => {
|
|
4813
|
+
(d.key === "Enter" || d.key === " ") && (ft(), d.preventDefault());
|
|
4814
|
+
}, Or = (d) => {
|
|
4815
|
+
(d.key === "Enter" || d.key === " ") && (ct(), d.preventDefault());
|
|
4816
|
+
}, Lr = (d, x) => (O) => {
|
|
4817
|
+
(O.key === "Enter" || O.key === " ") && (Me(d, x), O.preventDefault());
|
|
4818
|
+
}, Nr = () => {
|
|
4819
|
+
if (w && c === "true" && h === "false")
|
|
4777
4820
|
return "MobileCategoryButton";
|
|
4778
|
-
},
|
|
4779
|
-
Me(
|
|
4821
|
+
}, Rr = (d) => d > 1e3 ? "999+" : d, Ur = (d, x, O) => {
|
|
4822
|
+
Me(d, x), O.preventDefault();
|
|
4780
4823
|
};
|
|
4781
|
-
function
|
|
4782
|
-
ee[
|
|
4783
|
-
|
|
4824
|
+
function Dr(d) {
|
|
4825
|
+
ee[d ? "unshift" : "push"](() => {
|
|
4826
|
+
R = d, r(8, R);
|
|
4784
4827
|
});
|
|
4785
4828
|
}
|
|
4786
|
-
function
|
|
4787
|
-
ee[
|
|
4788
|
-
|
|
4829
|
+
function $r(d) {
|
|
4830
|
+
ee[d ? "unshift" : "push"](() => {
|
|
4831
|
+
g = d, r(9, g);
|
|
4789
4832
|
});
|
|
4790
4833
|
}
|
|
4791
|
-
function
|
|
4792
|
-
ee[
|
|
4793
|
-
|
|
4834
|
+
function kr(d) {
|
|
4835
|
+
ee[d ? "unshift" : "push"](() => {
|
|
4836
|
+
S = d, r(4, S);
|
|
4794
4837
|
});
|
|
4795
4838
|
}
|
|
4796
|
-
function
|
|
4797
|
-
ee[
|
|
4798
|
-
|
|
4839
|
+
function Gr(d) {
|
|
4840
|
+
ee[d ? "unshift" : "push"](() => {
|
|
4841
|
+
S = d, r(4, S);
|
|
4799
4842
|
});
|
|
4800
4843
|
}
|
|
4801
|
-
return e.$$set = (
|
|
4802
|
-
"endpoint" in
|
|
4844
|
+
return e.$$set = (d) => {
|
|
4845
|
+
"endpoint" in d && r(19, n = d.endpoint), "datasource" in d && r(20, i = d.datasource), "lang" in d && r(21, o = d.lang), "clientstyling" in d && r(22, s = d.clientstyling), "clientstylingurl" in d && r(23, a = d.clientstylingurl), "actionevent" in d && r(24, l = d.actionevent), "translationurl" in d && r(25, u = d.translationurl), "showvendoricon" in d && r(1, h = d.showvendoricon), "showvendorname" in d && r(2, c = d.showvendorname), "showvendorgames" in d && r(3, f = d.showvendorgames), "activevendor" in d && r(0, b = d.activevendor), "mbsource" in d && r(26, p = d.mbsource);
|
|
4803
4846
|
}, e.$$.update = () => {
|
|
4804
4847
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
4805
|
-
2621440 && n && o &&
|
|
4806
|
-
|
|
4807
|
-
33554432 && u && S(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4808
|
-
8388624 && a && P && k(), e.$$.dirty[0] & /*activevendor*/
|
|
4848
|
+
2621440 && n && o && Pr(), e.$$.dirty[0] & /*translationurl*/
|
|
4849
|
+
33554432 && u && $(), e.$$.dirty[0] & /*activevendor*/
|
|
4809
4850
|
1, e.$$.dirty[0] & /*lang*/
|
|
4810
|
-
2097152 && o &&
|
|
4851
|
+
2097152 && o && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4852
|
+
4194320 && s && S && Eo(S, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4853
|
+
8388624 && a && S && wo(S, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4854
|
+
67108880 && p && S && Co(S, `${p}.Style`);
|
|
4811
4855
|
}, [
|
|
4812
4856
|
b,
|
|
4813
4857
|
h,
|
|
4814
4858
|
c,
|
|
4815
|
-
|
|
4859
|
+
f,
|
|
4860
|
+
S,
|
|
4816
4861
|
P,
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4862
|
+
I,
|
|
4863
|
+
L,
|
|
4864
|
+
R,
|
|
4865
|
+
g,
|
|
4821
4866
|
w,
|
|
4822
|
-
m,
|
|
4823
4867
|
Me,
|
|
4824
4868
|
ct,
|
|
4825
4869
|
ft,
|
|
4870
|
+
Mr,
|
|
4826
4871
|
Or,
|
|
4827
4872
|
Lr,
|
|
4828
4873
|
Nr,
|
|
4829
4874
|
Rr,
|
|
4830
|
-
Ur,
|
|
4831
4875
|
n,
|
|
4832
4876
|
i,
|
|
4833
4877
|
o,
|
|
@@ -4835,20 +4879,21 @@ function Bo(e, t, r) {
|
|
|
4835
4879
|
a,
|
|
4836
4880
|
l,
|
|
4837
4881
|
u,
|
|
4882
|
+
p,
|
|
4883
|
+
Ur,
|
|
4838
4884
|
Dr,
|
|
4839
4885
|
$r,
|
|
4840
4886
|
kr,
|
|
4841
|
-
Gr
|
|
4842
|
-
Fr
|
|
4887
|
+
Gr
|
|
4843
4888
|
];
|
|
4844
4889
|
}
|
|
4845
|
-
class
|
|
4890
|
+
class Oo extends bn {
|
|
4846
4891
|
constructor(t) {
|
|
4847
|
-
super(),
|
|
4892
|
+
super(), pn(
|
|
4848
4893
|
this,
|
|
4849
4894
|
t,
|
|
4850
|
-
|
|
4851
|
-
|
|
4895
|
+
Mo,
|
|
4896
|
+
Po,
|
|
4852
4897
|
qt,
|
|
4853
4898
|
{
|
|
4854
4899
|
endpoint: 19,
|
|
@@ -4861,9 +4906,10 @@ class Po extends gn {
|
|
|
4861
4906
|
showvendoricon: 1,
|
|
4862
4907
|
showvendorname: 2,
|
|
4863
4908
|
showvendorgames: 3,
|
|
4864
|
-
activevendor: 0
|
|
4909
|
+
activevendor: 0,
|
|
4910
|
+
mbsource: 26
|
|
4865
4911
|
},
|
|
4866
|
-
|
|
4912
|
+
So,
|
|
4867
4913
|
[-1, -1]
|
|
4868
4914
|
);
|
|
4869
4915
|
}
|
|
@@ -4933,8 +4979,14 @@ class Po extends gn {
|
|
|
4933
4979
|
set activevendor(t) {
|
|
4934
4980
|
this.$$set({ activevendor: t }), U();
|
|
4935
4981
|
}
|
|
4982
|
+
get mbsource() {
|
|
4983
|
+
return this.$$.ctx[26];
|
|
4984
|
+
}
|
|
4985
|
+
set mbsource(t) {
|
|
4986
|
+
this.$$set({ mbsource: t }), U();
|
|
4987
|
+
}
|
|
4936
4988
|
}
|
|
4937
|
-
|
|
4989
|
+
mn(Oo, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
|
|
4938
4990
|
export {
|
|
4939
|
-
|
|
4991
|
+
Oo as default
|
|
4940
4992
|
};
|