@everymatrix/casino-categories-vendor-bar 1.77.18 → 1.77.20
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-Bt5i-Va9.js → CasinoCategoriesVendorBar-4-CrahYH.js} +863 -906
- package/components/{CasinoCategoriesVendorBar-CNYocAMP.js → CasinoCategoriesVendorBar-BA8kCeqw.js} +899 -942
- package/components/CasinoCategoriesVendorBar-BMNv3a09.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-DhkOvI_O.cjs +0 -18
package/components/{CasinoCategoriesVendorBar-CNYocAMP.js → CasinoCategoriesVendorBar-BA8kCeqw.js}
RENAMED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var $r = Object.defineProperty, Gr = Object.defineProperties;
|
|
2
|
+
var kr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ht = Object.getOwnPropertySymbols;
|
|
4
|
+
var Fr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ne = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Fr.call(t, r) && Ne(e, r, t[r]);
|
|
8
|
+
if (ht)
|
|
9
|
+
for (var r of ht(t))
|
|
10
|
+
jr.call(t, r) && Ne(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var k = (e, t, r) => (
|
|
14
|
-
var
|
|
15
|
-
var o = (
|
|
12
|
+
}, ft = (e, t) => Gr(e, kr(t));
|
|
13
|
+
var k = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var dt = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var o = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
a(r.next(
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
a(r.next(l));
|
|
18
|
+
} catch (u) {
|
|
19
|
+
i(u);
|
|
20
20
|
}
|
|
21
|
-
}, s = (
|
|
21
|
+
}, s = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
a(r.throw(
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
a(r.throw(l));
|
|
24
|
+
} catch (u) {
|
|
25
|
+
i(u);
|
|
26
26
|
}
|
|
27
|
-
}, a = (
|
|
27
|
+
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function zt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function pt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function z(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(zt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Te(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Zt(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 Ce(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 Vr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Wr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -63,14 +63,14 @@ function Yr(e, ...t) {
|
|
|
63
63
|
function H(e, t) {
|
|
64
64
|
e.appendChild(t);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
const n =
|
|
66
|
+
function Xr(e, t, r) {
|
|
67
|
+
const n = zr(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, Zr(n, i);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function zr(e) {
|
|
74
74
|
if (!e)
|
|
75
75
|
return document;
|
|
76
76
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -80,7 +80,7 @@ function Jr(e) {
|
|
|
80
80
|
t
|
|
81
81
|
) : e.ownerDocument;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Zr(e, t) {
|
|
84
84
|
return H(
|
|
85
85
|
/** @type {Document} */
|
|
86
86
|
e.head || e,
|
|
@@ -96,29 +96,29 @@ function B(e) {
|
|
|
96
96
|
function T(e) {
|
|
97
97
|
return document.createElement(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function me(e) {
|
|
100
100
|
return document.createTextNode(e);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
return
|
|
102
|
+
function F() {
|
|
103
|
+
return me(" ");
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
return
|
|
105
|
+
function it() {
|
|
106
|
+
return me("");
|
|
107
107
|
}
|
|
108
108
|
function K(e, t, r, n) {
|
|
109
109
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function E(e, t, r) {
|
|
112
112
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Qr(e) {
|
|
115
115
|
return Array.from(e.childNodes);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function ot(e, t) {
|
|
118
118
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
119
119
|
t);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Yr(e) {
|
|
122
122
|
const t = {};
|
|
123
123
|
return e.childNodes.forEach(
|
|
124
124
|
/** @param {Element} node */
|
|
@@ -127,158 +127,158 @@ function tn(e) {
|
|
|
127
127
|
}
|
|
128
128
|
), t;
|
|
129
129
|
}
|
|
130
|
-
let
|
|
131
|
-
function
|
|
132
|
-
|
|
130
|
+
let fe;
|
|
131
|
+
function ce(e) {
|
|
132
|
+
fe = e;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
if (!
|
|
134
|
+
function qr() {
|
|
135
|
+
if (!fe)
|
|
136
136
|
throw new Error("Function called outside component initialization");
|
|
137
|
-
return
|
|
137
|
+
return fe;
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
|
|
139
|
+
function Jr(e) {
|
|
140
|
+
qr().$$.on_mount.push(e);
|
|
141
141
|
}
|
|
142
142
|
const J = [], ee = [];
|
|
143
143
|
let te = [];
|
|
144
|
-
const
|
|
145
|
-
let
|
|
146
|
-
function
|
|
147
|
-
|
|
144
|
+
const mt = [], Kr = /* @__PURE__ */ Promise.resolve();
|
|
145
|
+
let je = !1;
|
|
146
|
+
function en() {
|
|
147
|
+
je || (je = !0, Kr.then(U));
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Ve(e) {
|
|
150
150
|
te.push(e);
|
|
151
151
|
}
|
|
152
|
-
const
|
|
152
|
+
const Re = /* @__PURE__ */ new Set();
|
|
153
153
|
let Y = 0;
|
|
154
154
|
function U() {
|
|
155
155
|
if (Y !== 0)
|
|
156
156
|
return;
|
|
157
|
-
const e =
|
|
157
|
+
const e = fe;
|
|
158
158
|
do {
|
|
159
159
|
try {
|
|
160
160
|
for (; Y < J.length; ) {
|
|
161
161
|
const t = J[Y];
|
|
162
|
-
Y++,
|
|
162
|
+
Y++, ce(t), tn(t.$$);
|
|
163
163
|
}
|
|
164
164
|
} catch (t) {
|
|
165
165
|
throw J.length = 0, Y = 0, t;
|
|
166
166
|
}
|
|
167
|
-
for (
|
|
167
|
+
for (ce(null), J.length = 0, Y = 0; ee.length; )
|
|
168
168
|
ee.pop()();
|
|
169
169
|
for (let t = 0; t < te.length; t += 1) {
|
|
170
170
|
const r = te[t];
|
|
171
|
-
|
|
171
|
+
Re.has(r) || (Re.add(r), r());
|
|
172
172
|
}
|
|
173
173
|
te.length = 0;
|
|
174
174
|
} while (J.length);
|
|
175
|
-
for (;
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
for (; mt.length; )
|
|
176
|
+
mt.pop()();
|
|
177
|
+
je = !1, Re.clear(), ce(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function tn(e) {
|
|
180
180
|
if (e.fragment !== null) {
|
|
181
181
|
e.update(), z(e.before_update);
|
|
182
182
|
const t = e.dirty;
|
|
183
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
183
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function rn(e) {
|
|
187
187
|
const t = [], r = [];
|
|
188
188
|
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
189
189
|
}
|
|
190
|
-
const
|
|
191
|
-
function
|
|
192
|
-
e && e.i && (
|
|
190
|
+
const nn = /* @__PURE__ */ new Set();
|
|
191
|
+
function Qt(e, t) {
|
|
192
|
+
e && e.i && (nn.delete(e), e.i(t));
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function bt(e) {
|
|
195
195
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function on(e, t) {
|
|
198
198
|
e.d(1), t.delete(e.key);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
201
|
-
let f = e.length, b = o.length,
|
|
200
|
+
function sn(e, t, r, n, i, o, s, a, l, u, h, c) {
|
|
201
|
+
let f = e.length, b = o.length, p = f;
|
|
202
202
|
const m = {};
|
|
203
|
-
for (;
|
|
204
|
-
m[e[
|
|
205
|
-
const
|
|
206
|
-
for (
|
|
207
|
-
const g = c(i, o,
|
|
203
|
+
for (; p--; )
|
|
204
|
+
m[e[p].key] = p;
|
|
205
|
+
const C = [], P = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), I = [];
|
|
206
|
+
for (p = b; p--; ) {
|
|
207
|
+
const g = c(i, o, p), $ = r(g);
|
|
208
208
|
let G = s.get($);
|
|
209
|
-
G ? I.push(() => G.p(g, t)) : (G =
|
|
209
|
+
G ? I.push(() => G.p(g, t)) : (G = u($, g), G.c()), P.set($, C[p] = G), $ in m && A.set($, Math.abs(p - m[$]));
|
|
210
210
|
}
|
|
211
|
-
const L = /* @__PURE__ */ new Set(),
|
|
211
|
+
const L = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
|
|
212
212
|
function R(g) {
|
|
213
|
-
|
|
213
|
+
Qt(g, 1), g.m(a, h), s.set(g.key, g), h = g.first, b--;
|
|
214
214
|
}
|
|
215
215
|
for (; f && b; ) {
|
|
216
|
-
const g =
|
|
217
|
-
g === $ ? (h = g.first, f--, b--) : P.has(Q) ? !s.has(G) || L.has(G) ? R(g) :
|
|
216
|
+
const g = C[b - 1], $ = e[f - 1], G = g.key, Q = $.key;
|
|
217
|
+
g === $ ? (h = g.first, f--, b--) : P.has(Q) ? !s.has(G) || L.has(G) ? R(g) : S.has(Q) ? f-- : A.get(G) > A.get(Q) ? (S.add(G), R(g)) : (L.add(Q), f--) : (l($, s), f--);
|
|
218
218
|
}
|
|
219
219
|
for (; f--; ) {
|
|
220
220
|
const g = e[f];
|
|
221
|
-
P.has(g.key) ||
|
|
221
|
+
P.has(g.key) || l(g, s);
|
|
222
222
|
}
|
|
223
223
|
for (; b; )
|
|
224
|
-
R(
|
|
225
|
-
return z(I),
|
|
224
|
+
R(C[b - 1]);
|
|
225
|
+
return z(I), C;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function an(e, t, r) {
|
|
228
228
|
const { fragment: n, after_update: i } = e.$$;
|
|
229
|
-
n && n.m(t, r),
|
|
230
|
-
const o = e.$$.on_mount.map(
|
|
229
|
+
n && n.m(t, r), Ve(() => {
|
|
230
|
+
const o = e.$$.on_mount.map(zt).filter(Te);
|
|
231
231
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
|
|
232
|
-
}), i.forEach(
|
|
232
|
+
}), i.forEach(Ve);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function ln(e, t) {
|
|
235
235
|
const r = e.$$;
|
|
236
|
-
r.fragment !== null && (
|
|
236
|
+
r.fragment !== null && (rn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
e.$$.dirty[0] === -1 && (J.push(e),
|
|
238
|
+
function un(e, t) {
|
|
239
|
+
e.$$.dirty[0] === -1 && (J.push(e), en(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
242
|
-
const
|
|
243
|
-
|
|
244
|
-
const
|
|
241
|
+
function hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
242
|
+
const l = fe;
|
|
243
|
+
ce(e);
|
|
244
|
+
const u = e.$$ = {
|
|
245
245
|
fragment: null,
|
|
246
246
|
ctx: [],
|
|
247
247
|
// state
|
|
248
248
|
props: o,
|
|
249
249
|
update: D,
|
|
250
250
|
not_equal: i,
|
|
251
|
-
bound:
|
|
251
|
+
bound: pt(),
|
|
252
252
|
// lifecycle
|
|
253
253
|
on_mount: [],
|
|
254
254
|
on_destroy: [],
|
|
255
255
|
on_disconnect: [],
|
|
256
256
|
before_update: [],
|
|
257
257
|
after_update: [],
|
|
258
|
-
context: new Map(t.context || (
|
|
258
|
+
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
259
259
|
// everything else
|
|
260
|
-
callbacks:
|
|
260
|
+
callbacks: pt(),
|
|
261
261
|
dirty: a,
|
|
262
262
|
skip_bound: !1,
|
|
263
|
-
root: t.target ||
|
|
263
|
+
root: t.target || l.$$.root
|
|
264
264
|
};
|
|
265
|
-
s && s(
|
|
265
|
+
s && s(u.root);
|
|
266
266
|
let h = !1;
|
|
267
|
-
if (
|
|
268
|
-
const
|
|
269
|
-
return
|
|
270
|
-
}) : [],
|
|
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 && un(e, c)), f;
|
|
270
|
+
}) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
271
271
|
if (t.hydrate) {
|
|
272
|
-
const c =
|
|
273
|
-
|
|
272
|
+
const c = Qr(t.target);
|
|
273
|
+
u.fragment && u.fragment.l(c), c.forEach(B);
|
|
274
274
|
} else
|
|
275
|
-
|
|
276
|
-
t.intro &&
|
|
275
|
+
u.fragment && u.fragment.c();
|
|
276
|
+
t.intro && Qt(e.$$.fragment), an(e, t.target, t.anchor), U();
|
|
277
277
|
}
|
|
278
|
-
|
|
278
|
+
ce(l);
|
|
279
279
|
}
|
|
280
|
-
let
|
|
281
|
-
typeof HTMLElement == "function" && (
|
|
280
|
+
let Yt;
|
|
281
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
282
282
|
constructor(t, r, n) {
|
|
283
283
|
super();
|
|
284
284
|
/** The Svelte component constructor */
|
|
@@ -315,31 +315,31 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
|
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
connectedCallback() {
|
|
318
|
-
return
|
|
318
|
+
return dt(this, null, function* () {
|
|
319
319
|
if (this.$$cn = !0, !this.$$c) {
|
|
320
320
|
let t = function(o) {
|
|
321
321
|
return () => {
|
|
322
322
|
let s;
|
|
323
323
|
return {
|
|
324
324
|
c: function() {
|
|
325
|
-
s = T("slot"), o !== "default" &&
|
|
325
|
+
s = T("slot"), o !== "default" && E(s, "name", o);
|
|
326
326
|
},
|
|
327
327
|
/**
|
|
328
328
|
* @param {HTMLElement} target
|
|
329
329
|
* @param {HTMLElement} [anchor]
|
|
330
330
|
*/
|
|
331
|
-
m: function(
|
|
332
|
-
O(
|
|
331
|
+
m: function(u, h) {
|
|
332
|
+
O(u, s, h);
|
|
333
333
|
},
|
|
334
|
-
d: function(
|
|
335
|
-
|
|
334
|
+
d: function(u) {
|
|
335
|
+
u && B(s);
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
339
|
};
|
|
340
340
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
341
341
|
return;
|
|
342
|
-
const r = {}, n =
|
|
342
|
+
const r = {}, n = Yr(this);
|
|
343
343
|
for (const o of this.$$s)
|
|
344
344
|
o in n && (r[o] = [t(o)]);
|
|
345
345
|
for (const o of this.attributes) {
|
|
@@ -350,7 +350,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
|
|
|
350
350
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
351
351
|
this.$$c = new this.$$ctor({
|
|
352
352
|
target: this.shadowRoot || this,
|
|
353
|
-
props:
|
|
353
|
+
props: ft(ct({}, this.$$d), {
|
|
354
354
|
$$slots: r,
|
|
355
355
|
$$scope: {
|
|
356
356
|
ctx: []
|
|
@@ -428,8 +428,8 @@ function ye(e, t, r, n) {
|
|
|
428
428
|
return t;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
function
|
|
432
|
-
let s = class extends
|
|
431
|
+
function cn(e, t, r, n, i, o) {
|
|
432
|
+
let s = class extends Yt {
|
|
433
433
|
constructor() {
|
|
434
434
|
super(e, r, i), this.$$p_d = t;
|
|
435
435
|
}
|
|
@@ -444,22 +444,22 @@ function bn(e, t, r, n, i, o) {
|
|
|
444
444
|
get() {
|
|
445
445
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
446
446
|
},
|
|
447
|
-
set(
|
|
448
|
-
var
|
|
449
|
-
|
|
447
|
+
set(l) {
|
|
448
|
+
var u;
|
|
449
|
+
l = ye(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
450
450
|
}
|
|
451
451
|
});
|
|
452
452
|
}), n.forEach((a) => {
|
|
453
453
|
Object.defineProperty(s.prototype, a, {
|
|
454
454
|
get() {
|
|
455
|
-
var
|
|
456
|
-
return (
|
|
455
|
+
var l;
|
|
456
|
+
return (l = this.$$c) == null ? void 0 : l[a];
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
459
|
}), e.element = /** @type {any} */
|
|
460
460
|
s, s;
|
|
461
461
|
}
|
|
462
|
-
class
|
|
462
|
+
class fn {
|
|
463
463
|
constructor() {
|
|
464
464
|
/**
|
|
465
465
|
* ### PRIVATE API
|
|
@@ -480,7 +480,7 @@ class gn {
|
|
|
480
480
|
}
|
|
481
481
|
/** @returns {void} */
|
|
482
482
|
$destroy() {
|
|
483
|
-
|
|
483
|
+
ln(this, 1), this.$destroy = D;
|
|
484
484
|
}
|
|
485
485
|
/**
|
|
486
486
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -489,7 +489,7 @@ class gn {
|
|
|
489
489
|
* @returns {() => void}
|
|
490
490
|
*/
|
|
491
491
|
$on(t, r) {
|
|
492
|
-
if (!
|
|
492
|
+
if (!Te(r))
|
|
493
493
|
return D;
|
|
494
494
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
495
495
|
return n.push(r), () => {
|
|
@@ -502,11 +502,11 @@ class gn {
|
|
|
502
502
|
* @returns {void}
|
|
503
503
|
*/
|
|
504
504
|
$set(t) {
|
|
505
|
-
this.$$set && !
|
|
505
|
+
this.$$set && !Vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
const
|
|
509
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
508
|
+
const dn = "4";
|
|
509
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
|
|
510
510
|
/*! *****************************************************************************
|
|
511
511
|
Copyright (c) Microsoft Corporation.
|
|
512
512
|
|
|
@@ -521,24 +521,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
521
521
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
522
522
|
PERFORMANCE OF THIS SOFTWARE.
|
|
523
523
|
***************************************************************************** */
|
|
524
|
-
var
|
|
525
|
-
return
|
|
524
|
+
var We = function(e, t) {
|
|
525
|
+
return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
526
526
|
r.__proto__ = n;
|
|
527
527
|
} || function(r, n) {
|
|
528
528
|
for (var i in n)
|
|
529
529
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
530
|
-
},
|
|
530
|
+
}, We(e, t);
|
|
531
531
|
};
|
|
532
|
-
function
|
|
532
|
+
function V(e, t) {
|
|
533
533
|
if (typeof t != "function" && t !== null)
|
|
534
534
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
535
|
-
|
|
535
|
+
We(e, t);
|
|
536
536
|
function r() {
|
|
537
537
|
this.constructor = e;
|
|
538
538
|
}
|
|
539
539
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
var _ = function() {
|
|
542
|
+
return _ = Object.assign || function(t) {
|
|
543
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
544
|
+
r = arguments[n];
|
|
545
|
+
for (var o in r)
|
|
546
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
547
|
+
}
|
|
548
|
+
return t;
|
|
549
|
+
}, _.apply(this, arguments);
|
|
550
|
+
};
|
|
551
|
+
function pn(e, t) {
|
|
552
|
+
var r = {};
|
|
553
|
+
for (var n in e)
|
|
554
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
555
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
556
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
557
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
558
|
+
return r;
|
|
559
|
+
}
|
|
560
|
+
function Xe(e) {
|
|
542
561
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
543
562
|
if (r)
|
|
544
563
|
return r.call(e);
|
|
@@ -550,7 +569,7 @@ function Qe(e) {
|
|
|
550
569
|
};
|
|
551
570
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
552
571
|
}
|
|
553
|
-
function
|
|
572
|
+
function ze(e, t) {
|
|
554
573
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
555
574
|
if (!r)
|
|
556
575
|
return e;
|
|
@@ -570,22 +589,22 @@ function Ye(e, t) {
|
|
|
570
589
|
}
|
|
571
590
|
return o;
|
|
572
591
|
}
|
|
573
|
-
function
|
|
574
|
-
if (arguments.length === 2)
|
|
592
|
+
function re(e, t, r) {
|
|
593
|
+
if (r || arguments.length === 2)
|
|
575
594
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
576
595
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
577
596
|
return e.concat(o || t);
|
|
578
597
|
}
|
|
579
|
-
function
|
|
598
|
+
function j(e) {
|
|
580
599
|
return typeof e == "function";
|
|
581
600
|
}
|
|
582
|
-
function
|
|
601
|
+
function qt(e) {
|
|
583
602
|
var t = function(n) {
|
|
584
603
|
Error.call(n), n.stack = new Error().stack;
|
|
585
604
|
}, r = e(t);
|
|
586
605
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
587
606
|
}
|
|
588
|
-
var
|
|
607
|
+
var Ue = qt(function(e) {
|
|
589
608
|
return function(r) {
|
|
590
609
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
591
610
|
` + r.map(function(n, i) {
|
|
@@ -594,13 +613,13 @@ var $e = rr(function(e) {
|
|
|
594
613
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
595
614
|
};
|
|
596
615
|
});
|
|
597
|
-
function
|
|
616
|
+
function Ze(e, t) {
|
|
598
617
|
if (e) {
|
|
599
618
|
var r = e.indexOf(t);
|
|
600
619
|
0 <= r && e.splice(r, 1);
|
|
601
620
|
}
|
|
602
621
|
}
|
|
603
|
-
var
|
|
622
|
+
var He = function() {
|
|
604
623
|
function e(t) {
|
|
605
624
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
606
625
|
}
|
|
@@ -612,15 +631,15 @@ var Ae = function() {
|
|
|
612
631
|
if (s)
|
|
613
632
|
if (this._parentage = null, Array.isArray(s))
|
|
614
633
|
try {
|
|
615
|
-
for (var a =
|
|
616
|
-
var
|
|
617
|
-
|
|
634
|
+
for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
|
|
635
|
+
var u = l.value;
|
|
636
|
+
u.remove(this);
|
|
618
637
|
}
|
|
619
638
|
} catch (m) {
|
|
620
639
|
t = { error: m };
|
|
621
640
|
} finally {
|
|
622
641
|
try {
|
|
623
|
-
|
|
642
|
+
l && !l.done && (r = a.return) && r.call(a);
|
|
624
643
|
} finally {
|
|
625
644
|
if (t)
|
|
626
645
|
throw t.error;
|
|
@@ -629,22 +648,22 @@ var Ae = function() {
|
|
|
629
648
|
else
|
|
630
649
|
s.remove(this);
|
|
631
650
|
var h = this.initialTeardown;
|
|
632
|
-
if (
|
|
651
|
+
if (j(h))
|
|
633
652
|
try {
|
|
634
653
|
h();
|
|
635
654
|
} catch (m) {
|
|
636
|
-
o = m instanceof
|
|
655
|
+
o = m instanceof Ue ? m.errors : [m];
|
|
637
656
|
}
|
|
638
657
|
var c = this._finalizers;
|
|
639
658
|
if (c) {
|
|
640
659
|
this._finalizers = null;
|
|
641
660
|
try {
|
|
642
|
-
for (var f =
|
|
643
|
-
var
|
|
661
|
+
for (var f = Xe(c), b = f.next(); !b.done; b = f.next()) {
|
|
662
|
+
var p = b.value;
|
|
644
663
|
try {
|
|
645
|
-
|
|
664
|
+
gt(p);
|
|
646
665
|
} catch (m) {
|
|
647
|
-
o = o != null ? o : [], m instanceof
|
|
666
|
+
o = o != null ? o : [], m instanceof Ue ? o = re(re([], ze(o)), ze(m.errors)) : o.push(m);
|
|
648
667
|
}
|
|
649
668
|
}
|
|
650
669
|
} catch (m) {
|
|
@@ -659,13 +678,13 @@ var Ae = function() {
|
|
|
659
678
|
}
|
|
660
679
|
}
|
|
661
680
|
if (o)
|
|
662
|
-
throw new
|
|
681
|
+
throw new Ue(o);
|
|
663
682
|
}
|
|
664
683
|
}, e.prototype.add = function(t) {
|
|
665
684
|
var r;
|
|
666
685
|
if (t && t !== this)
|
|
667
686
|
if (this.closed)
|
|
668
|
-
|
|
687
|
+
gt(t);
|
|
669
688
|
else {
|
|
670
689
|
if (t instanceof e) {
|
|
671
690
|
if (t.closed || t._hasParent(this))
|
|
@@ -682,52 +701,52 @@ var Ae = function() {
|
|
|
682
701
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
683
702
|
}, e.prototype._removeParent = function(t) {
|
|
684
703
|
var r = this._parentage;
|
|
685
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
704
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
|
|
686
705
|
}, e.prototype.remove = function(t) {
|
|
687
706
|
var r = this._finalizers;
|
|
688
|
-
r &&
|
|
707
|
+
r && Ze(r, t), t instanceof e && t._removeParent(this);
|
|
689
708
|
}, e.EMPTY = function() {
|
|
690
709
|
var t = new e();
|
|
691
710
|
return t.closed = !0, t;
|
|
692
711
|
}(), e;
|
|
693
|
-
}(),
|
|
694
|
-
function
|
|
695
|
-
return e instanceof
|
|
712
|
+
}(), Jt = He.EMPTY;
|
|
713
|
+
function Kt(e) {
|
|
714
|
+
return e instanceof He || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
|
|
696
715
|
}
|
|
697
|
-
function
|
|
698
|
-
|
|
716
|
+
function gt(e) {
|
|
717
|
+
j(e) ? e() : e.unsubscribe();
|
|
699
718
|
}
|
|
700
|
-
var
|
|
719
|
+
var mn = {
|
|
701
720
|
Promise: void 0
|
|
702
|
-
},
|
|
721
|
+
}, bn = {
|
|
703
722
|
setTimeout: function(e, t) {
|
|
704
723
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
705
724
|
r[n - 2] = arguments[n];
|
|
706
|
-
return setTimeout.apply(void 0,
|
|
725
|
+
return setTimeout.apply(void 0, re([e, t], ze(r)));
|
|
707
726
|
},
|
|
708
727
|
clearTimeout: function(e) {
|
|
709
728
|
return clearTimeout(e);
|
|
710
729
|
},
|
|
711
730
|
delegate: void 0
|
|
712
731
|
};
|
|
713
|
-
function
|
|
714
|
-
|
|
732
|
+
function gn(e) {
|
|
733
|
+
bn.setTimeout(function() {
|
|
715
734
|
throw e;
|
|
716
735
|
});
|
|
717
736
|
}
|
|
718
|
-
function
|
|
737
|
+
function vt() {
|
|
719
738
|
}
|
|
720
739
|
function _e(e) {
|
|
721
740
|
e();
|
|
722
741
|
}
|
|
723
|
-
var
|
|
724
|
-
|
|
742
|
+
var er = function(e) {
|
|
743
|
+
V(t, e);
|
|
725
744
|
function t(r) {
|
|
726
745
|
var n = e.call(this) || this;
|
|
727
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
746
|
+
return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = _n, n;
|
|
728
747
|
}
|
|
729
748
|
return t.create = function(r, n, i) {
|
|
730
|
-
return new
|
|
749
|
+
return new Qe(r, n, i);
|
|
731
750
|
}, t.prototype.next = function(r) {
|
|
732
751
|
this.isStopped || this._next(r);
|
|
733
752
|
}, t.prototype.error = function(r) {
|
|
@@ -751,7 +770,7 @@ var or = function(e) {
|
|
|
751
770
|
this.unsubscribe();
|
|
752
771
|
}
|
|
753
772
|
}, t;
|
|
754
|
-
}(
|
|
773
|
+
}(He), vn = function() {
|
|
755
774
|
function e(t) {
|
|
756
775
|
this.partialObserver = t;
|
|
757
776
|
}
|
|
@@ -782,43 +801,43 @@ var or = function(e) {
|
|
|
782
801
|
ge(r);
|
|
783
802
|
}
|
|
784
803
|
}, e;
|
|
785
|
-
}(),
|
|
786
|
-
|
|
804
|
+
}(), Qe = function(e) {
|
|
805
|
+
V(t, e);
|
|
787
806
|
function t(r, n, i) {
|
|
788
807
|
var o = e.call(this) || this, s;
|
|
789
|
-
return
|
|
808
|
+
return j(r) || !r ? s = {
|
|
790
809
|
next: r != null ? r : void 0,
|
|
791
810
|
error: n != null ? n : void 0,
|
|
792
811
|
complete: i != null ? i : void 0
|
|
793
|
-
} : s = r, o.destination = new
|
|
812
|
+
} : s = r, o.destination = new vn(s), o;
|
|
794
813
|
}
|
|
795
814
|
return t;
|
|
796
|
-
}(
|
|
815
|
+
}(er);
|
|
797
816
|
function ge(e) {
|
|
798
|
-
|
|
817
|
+
gn(e);
|
|
799
818
|
}
|
|
800
|
-
function
|
|
819
|
+
function yn(e) {
|
|
801
820
|
throw e;
|
|
802
821
|
}
|
|
803
|
-
var
|
|
822
|
+
var _n = {
|
|
804
823
|
closed: !0,
|
|
805
|
-
next:
|
|
806
|
-
error:
|
|
807
|
-
complete:
|
|
808
|
-
},
|
|
824
|
+
next: vt,
|
|
825
|
+
error: yn,
|
|
826
|
+
complete: vt
|
|
827
|
+
}, xn = function() {
|
|
809
828
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
810
829
|
}();
|
|
811
|
-
function
|
|
830
|
+
function En(e) {
|
|
812
831
|
return e;
|
|
813
832
|
}
|
|
814
|
-
function
|
|
815
|
-
return e.length === 0 ?
|
|
833
|
+
function Cn(e) {
|
|
834
|
+
return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
|
|
816
835
|
return e.reduce(function(n, i) {
|
|
817
836
|
return i(n);
|
|
818
837
|
}, r);
|
|
819
838
|
};
|
|
820
839
|
}
|
|
821
|
-
var
|
|
840
|
+
var yt = function() {
|
|
822
841
|
function e(t) {
|
|
823
842
|
t && (this._subscribe = t);
|
|
824
843
|
}
|
|
@@ -826,10 +845,10 @@ var Ct = function() {
|
|
|
826
845
|
var r = new e();
|
|
827
846
|
return r.source = this, r.operator = t, r;
|
|
828
847
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
829
|
-
var i = this, o =
|
|
848
|
+
var i = this, o = Sn(t) ? t : new Qe(t, r, n);
|
|
830
849
|
return _e(function() {
|
|
831
|
-
var s = i, a = s.operator,
|
|
832
|
-
o.add(a ? a.call(o,
|
|
850
|
+
var s = i, a = s.operator, l = s.source;
|
|
851
|
+
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
833
852
|
}), o;
|
|
834
853
|
}, e.prototype._trySubscribe = function(t) {
|
|
835
854
|
try {
|
|
@@ -839,13 +858,13 @@ var Ct = function() {
|
|
|
839
858
|
}
|
|
840
859
|
}, e.prototype.forEach = function(t, r) {
|
|
841
860
|
var n = this;
|
|
842
|
-
return r =
|
|
843
|
-
var s = new
|
|
861
|
+
return r = _t(r), new r(function(i, o) {
|
|
862
|
+
var s = new Qe({
|
|
844
863
|
next: function(a) {
|
|
845
864
|
try {
|
|
846
865
|
t(a);
|
|
847
|
-
} catch (
|
|
848
|
-
o(
|
|
866
|
+
} catch (l) {
|
|
867
|
+
o(l), s.unsubscribe();
|
|
849
868
|
}
|
|
850
869
|
},
|
|
851
870
|
error: o,
|
|
@@ -856,15 +875,15 @@ var Ct = function() {
|
|
|
856
875
|
}, e.prototype._subscribe = function(t) {
|
|
857
876
|
var r;
|
|
858
877
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
859
|
-
}, e.prototype[
|
|
878
|
+
}, e.prototype[xn] = function() {
|
|
860
879
|
return this;
|
|
861
880
|
}, e.prototype.pipe = function() {
|
|
862
881
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
863
882
|
t[r] = arguments[r];
|
|
864
|
-
return
|
|
883
|
+
return Cn(t)(this);
|
|
865
884
|
}, e.prototype.toPromise = function(t) {
|
|
866
885
|
var r = this;
|
|
867
|
-
return t =
|
|
886
|
+
return t = _t(t), new t(function(n, i) {
|
|
868
887
|
var o;
|
|
869
888
|
r.subscribe(function(s) {
|
|
870
889
|
return o = s;
|
|
@@ -878,32 +897,32 @@ var Ct = function() {
|
|
|
878
897
|
return new e(t);
|
|
879
898
|
}, e;
|
|
880
899
|
}();
|
|
881
|
-
function
|
|
900
|
+
function _t(e) {
|
|
882
901
|
var t;
|
|
883
|
-
return (t = e != null ? e :
|
|
902
|
+
return (t = e != null ? e : mn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
884
903
|
}
|
|
885
|
-
function
|
|
886
|
-
return e &&
|
|
904
|
+
function wn(e) {
|
|
905
|
+
return e && j(e.next) && j(e.error) && j(e.complete);
|
|
887
906
|
}
|
|
888
|
-
function
|
|
889
|
-
return e && e instanceof
|
|
907
|
+
function Sn(e) {
|
|
908
|
+
return e && e instanceof er || wn(e) && Kt(e);
|
|
890
909
|
}
|
|
891
|
-
var
|
|
910
|
+
var Tn = qt(function(e) {
|
|
892
911
|
return function() {
|
|
893
912
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
894
913
|
};
|
|
895
|
-
}),
|
|
896
|
-
|
|
914
|
+
}), tr = function(e) {
|
|
915
|
+
V(t, e);
|
|
897
916
|
function t() {
|
|
898
917
|
var r = e.call(this) || this;
|
|
899
918
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
900
919
|
}
|
|
901
920
|
return t.prototype.lift = function(r) {
|
|
902
|
-
var n = new
|
|
921
|
+
var n = new xt(this, this);
|
|
903
922
|
return n.operator = r, n;
|
|
904
923
|
}, t.prototype._throwIfClosed = function() {
|
|
905
924
|
if (this.closed)
|
|
906
|
-
throw new
|
|
925
|
+
throw new Tn();
|
|
907
926
|
}, t.prototype.next = function(r) {
|
|
908
927
|
var n = this;
|
|
909
928
|
_e(function() {
|
|
@@ -911,12 +930,12 @@ var Bn = rr(function(e) {
|
|
|
911
930
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
912
931
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
913
932
|
try {
|
|
914
|
-
for (var s =
|
|
915
|
-
var
|
|
916
|
-
|
|
933
|
+
for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
934
|
+
var l = a.value;
|
|
935
|
+
l.next(r);
|
|
917
936
|
}
|
|
918
|
-
} catch (
|
|
919
|
-
i = { error:
|
|
937
|
+
} catch (u) {
|
|
938
|
+
i = { error: u };
|
|
920
939
|
} finally {
|
|
921
940
|
try {
|
|
922
941
|
a && !a.done && (o = s.return) && o.call(s);
|
|
@@ -960,20 +979,20 @@ var Bn = rr(function(e) {
|
|
|
960
979
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
961
980
|
}, t.prototype._innerSubscribe = function(r) {
|
|
962
981
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
963
|
-
return o || s ?
|
|
964
|
-
n.currentObservers = null,
|
|
982
|
+
return o || s ? Jt : (this.currentObservers = null, a.push(r), new He(function() {
|
|
983
|
+
n.currentObservers = null, Ze(a, r);
|
|
965
984
|
}));
|
|
966
985
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
967
986
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
968
987
|
i ? r.error(o) : s && r.complete();
|
|
969
988
|
}, t.prototype.asObservable = function() {
|
|
970
|
-
var r = new
|
|
989
|
+
var r = new yt();
|
|
971
990
|
return r.source = this, r;
|
|
972
991
|
}, t.create = function(r, n) {
|
|
973
|
-
return new
|
|
992
|
+
return new xt(r, n);
|
|
974
993
|
}, t;
|
|
975
|
-
}(
|
|
976
|
-
|
|
994
|
+
}(yt), xt = function(e) {
|
|
995
|
+
V(t, e);
|
|
977
996
|
function t(r, n) {
|
|
978
997
|
var i = e.call(this) || this;
|
|
979
998
|
return i.destination = r, i.source = n, i;
|
|
@@ -989,60 +1008,60 @@ var Bn = rr(function(e) {
|
|
|
989
1008
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
990
1009
|
}, t.prototype._subscribe = function(r) {
|
|
991
1010
|
var n, i;
|
|
992
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1011
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
|
|
993
1012
|
}, t;
|
|
994
|
-
}(
|
|
1013
|
+
}(tr), rr = {
|
|
995
1014
|
now: function() {
|
|
996
|
-
return (
|
|
1015
|
+
return (rr.delegate || Date).now();
|
|
997
1016
|
},
|
|
998
1017
|
delegate: void 0
|
|
999
|
-
},
|
|
1000
|
-
|
|
1018
|
+
}, Hn = function(e) {
|
|
1019
|
+
V(t, e);
|
|
1001
1020
|
function t(r, n, i) {
|
|
1002
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1021
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rr);
|
|
1003
1022
|
var o = e.call(this) || this;
|
|
1004
1023
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1005
1024
|
}
|
|
1006
1025
|
return t.prototype.next = function(r) {
|
|
1007
|
-
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider,
|
|
1008
|
-
i || (o.push(r), !s && o.push(a.now() +
|
|
1026
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
|
|
1027
|
+
i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1009
1028
|
}, t.prototype._subscribe = function(r) {
|
|
1010
1029
|
this._throwIfClosed(), this._trimBuffer();
|
|
1011
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(),
|
|
1012
|
-
r.next(a[
|
|
1030
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
|
|
1031
|
+
r.next(a[l]);
|
|
1013
1032
|
return this._checkFinalizedStatuses(r), n;
|
|
1014
1033
|
}, t.prototype._trimBuffer = function() {
|
|
1015
1034
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
1016
1035
|
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
1017
|
-
for (var
|
|
1018
|
-
|
|
1019
|
-
|
|
1036
|
+
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1037
|
+
u = h;
|
|
1038
|
+
u && o.splice(0, u + 1);
|
|
1020
1039
|
}
|
|
1021
1040
|
}, t;
|
|
1022
|
-
}(
|
|
1023
|
-
const
|
|
1024
|
-
if (
|
|
1025
|
-
const r = new
|
|
1026
|
-
|
|
1041
|
+
}(tr);
|
|
1042
|
+
const Et = [], Ct = {}, An = (e, t = 0) => {
|
|
1043
|
+
if (Et.indexOf(e) == -1) {
|
|
1044
|
+
const r = new Hn(t);
|
|
1045
|
+
Ct[e] = r, Et.push(e);
|
|
1027
1046
|
}
|
|
1028
|
-
return
|
|
1047
|
+
return Ct[e];
|
|
1029
1048
|
}, q = [];
|
|
1030
|
-
function
|
|
1049
|
+
function In(e, t) {
|
|
1031
1050
|
return {
|
|
1032
|
-
subscribe:
|
|
1051
|
+
subscribe: Ae(e, t).subscribe
|
|
1033
1052
|
};
|
|
1034
1053
|
}
|
|
1035
|
-
function
|
|
1054
|
+
function Ae(e, t = D) {
|
|
1036
1055
|
let r;
|
|
1037
1056
|
const n = /* @__PURE__ */ new Set();
|
|
1038
1057
|
function i(a) {
|
|
1039
|
-
if (
|
|
1040
|
-
const
|
|
1041
|
-
for (const
|
|
1042
|
-
|
|
1043
|
-
if (
|
|
1044
|
-
for (let
|
|
1045
|
-
q[
|
|
1058
|
+
if (Zt(e, a) && (e = a, r)) {
|
|
1059
|
+
const l = !q.length;
|
|
1060
|
+
for (const u of n)
|
|
1061
|
+
u[1](), q.push(u, e);
|
|
1062
|
+
if (l) {
|
|
1063
|
+
for (let u = 0; u < q.length; u += 2)
|
|
1064
|
+
q[u][0](q[u + 1]);
|
|
1046
1065
|
q.length = 0;
|
|
1047
1066
|
}
|
|
1048
1067
|
}
|
|
@@ -1050,192 +1069,150 @@ function Ie(e, t = D) {
|
|
|
1050
1069
|
function o(a) {
|
|
1051
1070
|
i(a(e));
|
|
1052
1071
|
}
|
|
1053
|
-
function s(a,
|
|
1054
|
-
const
|
|
1055
|
-
return n.add(
|
|
1056
|
-
n.delete(
|
|
1072
|
+
function s(a, l = D) {
|
|
1073
|
+
const u = [a, l];
|
|
1074
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || D), a(e), () => {
|
|
1075
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1057
1076
|
};
|
|
1058
1077
|
}
|
|
1059
1078
|
return { set: i, update: o, subscribe: s };
|
|
1060
1079
|
}
|
|
1061
|
-
function
|
|
1080
|
+
function ae(e, t, r) {
|
|
1062
1081
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1063
1082
|
if (!i.every(Boolean))
|
|
1064
1083
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1065
1084
|
const o = t.length < 2;
|
|
1066
|
-
return
|
|
1067
|
-
let
|
|
1068
|
-
const
|
|
1085
|
+
return In(r, (s, a) => {
|
|
1086
|
+
let l = !1;
|
|
1087
|
+
const u = [];
|
|
1069
1088
|
let h = 0, c = D;
|
|
1070
1089
|
const f = () => {
|
|
1071
1090
|
if (h)
|
|
1072
1091
|
return;
|
|
1073
1092
|
c();
|
|
1074
|
-
const
|
|
1075
|
-
o ? s(
|
|
1093
|
+
const p = t(n ? u[0] : u, s, a);
|
|
1094
|
+
o ? s(p) : c = Te(p) ? p : D;
|
|
1076
1095
|
}, b = i.map(
|
|
1077
|
-
(
|
|
1078
|
-
|
|
1079
|
-
(
|
|
1080
|
-
|
|
1096
|
+
(p, m) => Wr(
|
|
1097
|
+
p,
|
|
1098
|
+
(C) => {
|
|
1099
|
+
u[m] = C, h &= ~(1 << m), l && f();
|
|
1081
1100
|
},
|
|
1082
1101
|
() => {
|
|
1083
1102
|
h |= 1 << m;
|
|
1084
1103
|
}
|
|
1085
1104
|
)
|
|
1086
1105
|
);
|
|
1087
|
-
return
|
|
1088
|
-
z(b), c(),
|
|
1106
|
+
return l = !0, f(), function() {
|
|
1107
|
+
z(b), c(), l = !1;
|
|
1089
1108
|
};
|
|
1090
1109
|
});
|
|
1091
1110
|
}
|
|
1092
|
-
function
|
|
1111
|
+
function Bn(e) {
|
|
1093
1112
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1094
1113
|
}
|
|
1095
|
-
var
|
|
1096
|
-
return
|
|
1114
|
+
var Pn = function(t) {
|
|
1115
|
+
return On(t) && !Mn(t);
|
|
1097
1116
|
};
|
|
1098
|
-
function
|
|
1117
|
+
function On(e) {
|
|
1099
1118
|
return !!e && typeof e == "object";
|
|
1100
1119
|
}
|
|
1101
|
-
function
|
|
1120
|
+
function Mn(e) {
|
|
1102
1121
|
var t = Object.prototype.toString.call(e);
|
|
1103
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1122
|
+
return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
|
|
1104
1123
|
}
|
|
1105
|
-
var
|
|
1106
|
-
function
|
|
1107
|
-
return e.$$typeof ===
|
|
1124
|
+
var Ln = typeof Symbol == "function" && Symbol.for, Nn = Ln ? Symbol.for("react.element") : 60103;
|
|
1125
|
+
function Rn(e) {
|
|
1126
|
+
return e.$$typeof === Nn;
|
|
1108
1127
|
}
|
|
1109
|
-
function
|
|
1128
|
+
function Un(e) {
|
|
1110
1129
|
return Array.isArray(e) ? [] : {};
|
|
1111
1130
|
}
|
|
1112
|
-
function
|
|
1113
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1131
|
+
function de(e, t) {
|
|
1132
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(Un(e), e, t) : e;
|
|
1114
1133
|
}
|
|
1115
|
-
function
|
|
1134
|
+
function Dn(e, t, r) {
|
|
1116
1135
|
return e.concat(t).map(function(n) {
|
|
1117
|
-
return
|
|
1136
|
+
return de(n, r);
|
|
1118
1137
|
});
|
|
1119
1138
|
}
|
|
1120
|
-
function
|
|
1139
|
+
function $n(e, t) {
|
|
1121
1140
|
if (!t.customMerge)
|
|
1122
|
-
return
|
|
1141
|
+
return ne;
|
|
1123
1142
|
var r = t.customMerge(e);
|
|
1124
|
-
return typeof r == "function" ? r :
|
|
1143
|
+
return typeof r == "function" ? r : ne;
|
|
1125
1144
|
}
|
|
1126
|
-
function
|
|
1145
|
+
function Gn(e) {
|
|
1127
1146
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1128
1147
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1129
1148
|
}) : [];
|
|
1130
1149
|
}
|
|
1131
|
-
function
|
|
1132
|
-
return Object.keys(e).concat(
|
|
1150
|
+
function wt(e) {
|
|
1151
|
+
return Object.keys(e).concat(Gn(e));
|
|
1133
1152
|
}
|
|
1134
|
-
function
|
|
1153
|
+
function nr(e, t) {
|
|
1135
1154
|
try {
|
|
1136
1155
|
return t in e;
|
|
1137
1156
|
} catch (r) {
|
|
1138
1157
|
return !1;
|
|
1139
1158
|
}
|
|
1140
1159
|
}
|
|
1141
|
-
function
|
|
1142
|
-
return
|
|
1160
|
+
function kn(e, t) {
|
|
1161
|
+
return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1143
1162
|
}
|
|
1144
|
-
function
|
|
1163
|
+
function Fn(e, t, r) {
|
|
1145
1164
|
var n = {};
|
|
1146
|
-
return r.isMergeableObject(e) &&
|
|
1147
|
-
n[i] =
|
|
1148
|
-
}),
|
|
1149
|
-
|
|
1165
|
+
return r.isMergeableObject(e) && wt(e).forEach(function(i) {
|
|
1166
|
+
n[i] = de(e[i], r);
|
|
1167
|
+
}), wt(t).forEach(function(i) {
|
|
1168
|
+
kn(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
|
|
1150
1169
|
}), n;
|
|
1151
1170
|
}
|
|
1152
|
-
function
|
|
1153
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1171
|
+
function ne(e, t, r) {
|
|
1172
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = de;
|
|
1154
1173
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1155
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1174
|
+
return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : de(t, r);
|
|
1156
1175
|
}
|
|
1157
|
-
|
|
1176
|
+
ne.all = function(t, r) {
|
|
1158
1177
|
if (!Array.isArray(t))
|
|
1159
1178
|
throw new Error("first argument should be an array");
|
|
1160
1179
|
return t.reduce(function(n, i) {
|
|
1161
|
-
return
|
|
1180
|
+
return ne(n, i, r);
|
|
1162
1181
|
}, {});
|
|
1163
1182
|
};
|
|
1164
|
-
var
|
|
1165
|
-
const
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
r.__proto__ = n;
|
|
1169
|
-
} || function(r, n) {
|
|
1170
|
-
for (var i in n)
|
|
1171
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1172
|
-
}, et(e, t);
|
|
1173
|
-
};
|
|
1174
|
-
function Be(e, t) {
|
|
1175
|
-
if (typeof t != "function" && t !== null)
|
|
1176
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1177
|
-
et(e, t);
|
|
1178
|
-
function r() {
|
|
1179
|
-
this.constructor = e;
|
|
1180
|
-
}
|
|
1181
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1182
|
-
}
|
|
1183
|
-
var F = function() {
|
|
1184
|
-
return F = Object.assign || function(t) {
|
|
1185
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1186
|
-
r = arguments[n];
|
|
1187
|
-
for (var o in r)
|
|
1188
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1189
|
-
}
|
|
1190
|
-
return t;
|
|
1191
|
-
}, F.apply(this, arguments);
|
|
1192
|
-
};
|
|
1193
|
-
function Yn(e, t) {
|
|
1194
|
-
var r = {};
|
|
1195
|
-
for (var n in e)
|
|
1196
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1197
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1198
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1199
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1200
|
-
return r;
|
|
1201
|
-
}
|
|
1202
|
-
function Ge(e, t, r) {
|
|
1203
|
-
if (r || arguments.length === 2)
|
|
1204
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1205
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1206
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1207
|
-
}
|
|
1208
|
-
function ke(e, t) {
|
|
1209
|
-
var r = t && t.cache ? t.cache : ni, n = t && t.serializer ? t.serializer : ti, i = t && t.strategy ? t.strategy : Kn;
|
|
1183
|
+
var jn = ne, Vn = jn;
|
|
1184
|
+
const Wn = /* @__PURE__ */ Bn(Vn);
|
|
1185
|
+
function De(e, t) {
|
|
1186
|
+
var r = t && t.cache ? t.cache : Jn, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Zn;
|
|
1210
1187
|
return i(e, {
|
|
1211
1188
|
cache: r,
|
|
1212
1189
|
serializer: n
|
|
1213
1190
|
});
|
|
1214
1191
|
}
|
|
1215
|
-
function
|
|
1192
|
+
function Xn(e) {
|
|
1216
1193
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1217
1194
|
}
|
|
1218
|
-
function
|
|
1219
|
-
var i =
|
|
1195
|
+
function zn(e, t, r, n) {
|
|
1196
|
+
var i = Xn(n) ? n : r(n), o = t.get(i);
|
|
1220
1197
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1221
1198
|
}
|
|
1222
|
-
function
|
|
1199
|
+
function ir(e, t, r) {
|
|
1223
1200
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1224
1201
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1225
1202
|
}
|
|
1226
|
-
function
|
|
1203
|
+
function or(e, t, r, n, i) {
|
|
1227
1204
|
return r.bind(t, e, n, i);
|
|
1228
1205
|
}
|
|
1229
|
-
function
|
|
1230
|
-
var r = e.length === 1 ?
|
|
1231
|
-
return
|
|
1206
|
+
function Zn(e, t) {
|
|
1207
|
+
var r = e.length === 1 ? zn : ir;
|
|
1208
|
+
return or(e, this, r, t.cache.create(), t.serializer);
|
|
1232
1209
|
}
|
|
1233
|
-
function
|
|
1234
|
-
return
|
|
1210
|
+
function Qn(e, t) {
|
|
1211
|
+
return or(e, this, ir, t.cache.create(), t.serializer);
|
|
1235
1212
|
}
|
|
1236
|
-
var
|
|
1213
|
+
var Yn = function() {
|
|
1237
1214
|
return JSON.stringify(arguments);
|
|
1238
|
-
},
|
|
1215
|
+
}, qn = (
|
|
1239
1216
|
/** @class */
|
|
1240
1217
|
function() {
|
|
1241
1218
|
function e() {
|
|
@@ -1247,23 +1224,13 @@ var ti = function() {
|
|
|
1247
1224
|
this.cache[t] = r;
|
|
1248
1225
|
}, e;
|
|
1249
1226
|
}()
|
|
1250
|
-
),
|
|
1227
|
+
), Jn = {
|
|
1251
1228
|
create: function() {
|
|
1252
|
-
return new
|
|
1229
|
+
return new qn();
|
|
1253
1230
|
}
|
|
1254
|
-
},
|
|
1255
|
-
variadic:
|
|
1256
|
-
},
|
|
1257
|
-
return Ce = Object.assign || function(t) {
|
|
1258
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1259
|
-
r = arguments[n];
|
|
1260
|
-
for (var o in r)
|
|
1261
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1262
|
-
}
|
|
1263
|
-
return t;
|
|
1264
|
-
}, Ce.apply(this, arguments);
|
|
1265
|
-
};
|
|
1266
|
-
var v;
|
|
1231
|
+
}, $e = {
|
|
1232
|
+
variadic: Qn
|
|
1233
|
+
}, v;
|
|
1267
1234
|
(function(e) {
|
|
1268
1235
|
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";
|
|
1269
1236
|
})(v || (v = {}));
|
|
@@ -1271,47 +1238,47 @@ var w;
|
|
|
1271
1238
|
(function(e) {
|
|
1272
1239
|
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";
|
|
1273
1240
|
})(w || (w = {}));
|
|
1274
|
-
var
|
|
1241
|
+
var ie;
|
|
1275
1242
|
(function(e) {
|
|
1276
1243
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1277
|
-
})(
|
|
1278
|
-
function
|
|
1244
|
+
})(ie || (ie = {}));
|
|
1245
|
+
function St(e) {
|
|
1279
1246
|
return e.type === w.literal;
|
|
1280
1247
|
}
|
|
1281
|
-
function
|
|
1248
|
+
function Kn(e) {
|
|
1282
1249
|
return e.type === w.argument;
|
|
1283
1250
|
}
|
|
1284
|
-
function
|
|
1251
|
+
function sr(e) {
|
|
1285
1252
|
return e.type === w.number;
|
|
1286
1253
|
}
|
|
1287
|
-
function
|
|
1254
|
+
function ar(e) {
|
|
1288
1255
|
return e.type === w.date;
|
|
1289
1256
|
}
|
|
1290
|
-
function
|
|
1257
|
+
function lr(e) {
|
|
1291
1258
|
return e.type === w.time;
|
|
1292
1259
|
}
|
|
1293
|
-
function
|
|
1260
|
+
function ur(e) {
|
|
1294
1261
|
return e.type === w.select;
|
|
1295
1262
|
}
|
|
1296
|
-
function
|
|
1263
|
+
function hr(e) {
|
|
1297
1264
|
return e.type === w.plural;
|
|
1298
1265
|
}
|
|
1299
|
-
function
|
|
1266
|
+
function ei(e) {
|
|
1300
1267
|
return e.type === w.pound;
|
|
1301
1268
|
}
|
|
1302
|
-
function
|
|
1269
|
+
function cr(e) {
|
|
1303
1270
|
return e.type === w.tag;
|
|
1304
1271
|
}
|
|
1305
|
-
function
|
|
1306
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1272
|
+
function fr(e) {
|
|
1273
|
+
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1307
1274
|
}
|
|
1308
|
-
function
|
|
1309
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1275
|
+
function Ye(e) {
|
|
1276
|
+
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1310
1277
|
}
|
|
1311
|
-
var
|
|
1312
|
-
function
|
|
1278
|
+
var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[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;
|
|
1279
|
+
function ri(e) {
|
|
1313
1280
|
var t = {};
|
|
1314
|
-
return e.replace(
|
|
1281
|
+
return e.replace(ti, function(r) {
|
|
1315
1282
|
var n = r.length;
|
|
1316
1283
|
switch (r[0]) {
|
|
1317
1284
|
case "G":
|
|
@@ -1400,46 +1367,36 @@ function ai(e) {
|
|
|
1400
1367
|
return "";
|
|
1401
1368
|
}), t;
|
|
1402
1369
|
}
|
|
1403
|
-
var
|
|
1404
|
-
|
|
1405
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1406
|
-
r = arguments[n];
|
|
1407
|
-
for (var o in r)
|
|
1408
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1409
|
-
}
|
|
1410
|
-
return t;
|
|
1411
|
-
}, S.apply(this, arguments);
|
|
1412
|
-
};
|
|
1413
|
-
var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1414
|
-
function li(e) {
|
|
1370
|
+
var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1371
|
+
function ii(e) {
|
|
1415
1372
|
if (e.length === 0)
|
|
1416
1373
|
throw new Error("Number skeleton cannot be empty");
|
|
1417
|
-
for (var t = e.split(
|
|
1374
|
+
for (var t = e.split(ni).filter(function(f) {
|
|
1418
1375
|
return f.length > 0;
|
|
1419
1376
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1420
1377
|
var o = i[n], s = o.split("/");
|
|
1421
1378
|
if (s.length === 0)
|
|
1422
1379
|
throw new Error("Invalid number skeleton");
|
|
1423
|
-
for (var a = s[0],
|
|
1424
|
-
var c = h[
|
|
1380
|
+
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1381
|
+
var c = h[u];
|
|
1425
1382
|
if (c.length === 0)
|
|
1426
1383
|
throw new Error("Invalid number skeleton");
|
|
1427
1384
|
}
|
|
1428
|
-
r.push({ stem: a, options:
|
|
1385
|
+
r.push({ stem: a, options: l });
|
|
1429
1386
|
}
|
|
1430
1387
|
return r;
|
|
1431
1388
|
}
|
|
1432
|
-
function
|
|
1389
|
+
function oi(e) {
|
|
1433
1390
|
return e.replace(/^(.*?)-/, "");
|
|
1434
1391
|
}
|
|
1435
|
-
var
|
|
1436
|
-
function
|
|
1392
|
+
var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
|
|
1393
|
+
function Ht(e) {
|
|
1437
1394
|
var t = {};
|
|
1438
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1395
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
|
|
1439
1396
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1440
1397
|
}), t;
|
|
1441
1398
|
}
|
|
1442
|
-
function
|
|
1399
|
+
function br(e) {
|
|
1443
1400
|
switch (e) {
|
|
1444
1401
|
case "sign-auto":
|
|
1445
1402
|
return {
|
|
@@ -1479,7 +1436,7 @@ function xr(e) {
|
|
|
1479
1436
|
};
|
|
1480
1437
|
}
|
|
1481
1438
|
}
|
|
1482
|
-
function
|
|
1439
|
+
function ai(e) {
|
|
1483
1440
|
var t;
|
|
1484
1441
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1485
1442
|
notation: "engineering"
|
|
@@ -1487,17 +1444,17 @@ function fi(e) {
|
|
|
1487
1444
|
notation: "scientific"
|
|
1488
1445
|
}, e = e.slice(1)), t) {
|
|
1489
1446
|
var r = e.slice(0, 2);
|
|
1490
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1447
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
|
|
1491
1448
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1492
1449
|
t.minimumIntegerDigits = e.length;
|
|
1493
1450
|
}
|
|
1494
1451
|
return t;
|
|
1495
1452
|
}
|
|
1496
|
-
function
|
|
1497
|
-
var t = {}, r =
|
|
1453
|
+
function At(e) {
|
|
1454
|
+
var t = {}, r = br(e);
|
|
1498
1455
|
return r || t;
|
|
1499
1456
|
}
|
|
1500
|
-
function
|
|
1457
|
+
function li(e) {
|
|
1501
1458
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1502
1459
|
var i = n[r];
|
|
1503
1460
|
switch (i.stem) {
|
|
@@ -1521,7 +1478,7 @@ function pi(e) {
|
|
|
1521
1478
|
continue;
|
|
1522
1479
|
case "measure-unit":
|
|
1523
1480
|
case "unit":
|
|
1524
|
-
t.style = "unit", t.unit =
|
|
1481
|
+
t.style = "unit", t.unit = oi(i.options[0]);
|
|
1525
1482
|
continue;
|
|
1526
1483
|
case "compact-short":
|
|
1527
1484
|
case "K":
|
|
@@ -1532,13 +1489,13 @@ function pi(e) {
|
|
|
1532
1489
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1533
1490
|
continue;
|
|
1534
1491
|
case "scientific":
|
|
1535
|
-
t =
|
|
1536
|
-
return
|
|
1492
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1493
|
+
return _(_({}, l), At(u));
|
|
1537
1494
|
}, {}));
|
|
1538
1495
|
continue;
|
|
1539
1496
|
case "engineering":
|
|
1540
|
-
t =
|
|
1541
|
-
return
|
|
1497
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1498
|
+
return _(_({}, l), At(u));
|
|
1542
1499
|
}, {}));
|
|
1543
1500
|
continue;
|
|
1544
1501
|
case "notation-simple":
|
|
@@ -1583,8 +1540,8 @@ function pi(e) {
|
|
|
1583
1540
|
case "integer-width":
|
|
1584
1541
|
if (i.options.length > 1)
|
|
1585
1542
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1586
|
-
i.options[0].replace(
|
|
1587
|
-
if (
|
|
1543
|
+
i.options[0].replace(si, function(l, u, h, c, f, b) {
|
|
1544
|
+
if (u)
|
|
1588
1545
|
t.minimumIntegerDigits = h.length;
|
|
1589
1546
|
else {
|
|
1590
1547
|
if (c && f)
|
|
@@ -1596,28 +1553,28 @@ function pi(e) {
|
|
|
1596
1553
|
});
|
|
1597
1554
|
continue;
|
|
1598
1555
|
}
|
|
1599
|
-
if (
|
|
1556
|
+
if (mr.test(i.stem)) {
|
|
1600
1557
|
t.minimumIntegerDigits = i.stem.length;
|
|
1601
1558
|
continue;
|
|
1602
1559
|
}
|
|
1603
|
-
if (
|
|
1560
|
+
if (Tt.test(i.stem)) {
|
|
1604
1561
|
if (i.options.length > 1)
|
|
1605
1562
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1606
|
-
i.stem.replace(
|
|
1607
|
-
return h === "*" ? t.minimumFractionDigits =
|
|
1563
|
+
i.stem.replace(Tt, function(l, u, h, c, f, b) {
|
|
1564
|
+
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), "";
|
|
1608
1565
|
});
|
|
1609
1566
|
var o = i.options[0];
|
|
1610
|
-
o === "w" ? t =
|
|
1567
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Ht(o)));
|
|
1611
1568
|
continue;
|
|
1612
1569
|
}
|
|
1613
|
-
if (
|
|
1614
|
-
t =
|
|
1570
|
+
if (pr.test(i.stem)) {
|
|
1571
|
+
t = _(_({}, t), Ht(i.stem));
|
|
1615
1572
|
continue;
|
|
1616
1573
|
}
|
|
1617
|
-
var s =
|
|
1618
|
-
s && (t =
|
|
1619
|
-
var a =
|
|
1620
|
-
a && (t =
|
|
1574
|
+
var s = br(i.stem);
|
|
1575
|
+
s && (t = _(_({}, t), s));
|
|
1576
|
+
var a = ai(i.stem);
|
|
1577
|
+
a && (t = _(_({}, t), a));
|
|
1621
1578
|
}
|
|
1622
1579
|
return t;
|
|
1623
1580
|
}
|
|
@@ -3036,23 +2993,23 @@ var ve = {
|
|
|
3036
2993
|
"h"
|
|
3037
2994
|
]
|
|
3038
2995
|
};
|
|
3039
|
-
function
|
|
2996
|
+
function ui(e, t) {
|
|
3040
2997
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3041
2998
|
var i = e.charAt(n);
|
|
3042
2999
|
if (i === "j") {
|
|
3043
3000
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3044
3001
|
o++, n++;
|
|
3045
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1),
|
|
3046
|
-
for ((
|
|
3047
|
-
r +=
|
|
3002
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = hi(t);
|
|
3003
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3004
|
+
r += l;
|
|
3048
3005
|
for (; s-- > 0; )
|
|
3049
|
-
r =
|
|
3006
|
+
r = u + r;
|
|
3050
3007
|
} else
|
|
3051
3008
|
i === "J" ? r += "H" : r += i;
|
|
3052
3009
|
}
|
|
3053
3010
|
return r;
|
|
3054
3011
|
}
|
|
3055
|
-
function
|
|
3012
|
+
function hi(e) {
|
|
3056
3013
|
var t = e.hourCycle;
|
|
3057
3014
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3058
3015
|
e.hourCycles && // @ts-ignore
|
|
@@ -3074,20 +3031,20 @@ function mi(e) {
|
|
|
3074
3031
|
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3075
3032
|
return i[0];
|
|
3076
3033
|
}
|
|
3077
|
-
var
|
|
3034
|
+
var Ge, ci = new RegExp("^".concat(dr.source, "*")), fi = new RegExp("".concat(dr.source, "*$"));
|
|
3078
3035
|
function y(e, t) {
|
|
3079
3036
|
return { start: e, end: t };
|
|
3080
3037
|
}
|
|
3081
|
-
var
|
|
3038
|
+
var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, mi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, _i = yi ? Number.isSafeInteger : function(e) {
|
|
3082
3039
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3083
|
-
},
|
|
3040
|
+
}, qe = !0;
|
|
3084
3041
|
try {
|
|
3085
|
-
var
|
|
3086
|
-
|
|
3042
|
+
var xi = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3043
|
+
qe = ((Ge = xi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
|
3087
3044
|
} catch (e) {
|
|
3088
|
-
|
|
3045
|
+
qe = !1;
|
|
3089
3046
|
}
|
|
3090
|
-
var
|
|
3047
|
+
var It = di ? (
|
|
3091
3048
|
// Native
|
|
3092
3049
|
function(t, r, n) {
|
|
3093
3050
|
return t.startsWith(r, n);
|
|
@@ -3097,7 +3054,7 @@ var Lt = vi ? (
|
|
|
3097
3054
|
function(t, r, n) {
|
|
3098
3055
|
return t.slice(n, n + r.length) === r;
|
|
3099
3056
|
}
|
|
3100
|
-
),
|
|
3057
|
+
), Je = pi ? String.fromCodePoint : (
|
|
3101
3058
|
// IE11
|
|
3102
3059
|
function() {
|
|
3103
3060
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3109,9 +3066,9 @@ var Lt = vi ? (
|
|
|
3109
3066
|
}
|
|
3110
3067
|
return n;
|
|
3111
3068
|
}
|
|
3112
|
-
),
|
|
3069
|
+
), Bt = (
|
|
3113
3070
|
// native
|
|
3114
|
-
|
|
3071
|
+
mi ? Object.fromEntries : (
|
|
3115
3072
|
// Ponyfill
|
|
3116
3073
|
function(t) {
|
|
3117
3074
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3121,7 +3078,7 @@ var Lt = vi ? (
|
|
|
3121
3078
|
return r;
|
|
3122
3079
|
}
|
|
3123
3080
|
)
|
|
3124
|
-
),
|
|
3081
|
+
), gr = bi ? (
|
|
3125
3082
|
// Native
|
|
3126
3083
|
function(t, r) {
|
|
3127
3084
|
return t.codePointAt(r);
|
|
@@ -3135,7 +3092,7 @@ var Lt = vi ? (
|
|
|
3135
3092
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3136
3093
|
}
|
|
3137
3094
|
}
|
|
3138
|
-
),
|
|
3095
|
+
), Ei = gi ? (
|
|
3139
3096
|
// Native
|
|
3140
3097
|
function(t) {
|
|
3141
3098
|
return t.trimStart();
|
|
@@ -3143,9 +3100,9 @@ var Lt = vi ? (
|
|
|
3143
3100
|
) : (
|
|
3144
3101
|
// Ponyfill
|
|
3145
3102
|
function(t) {
|
|
3146
|
-
return t.replace(
|
|
3103
|
+
return t.replace(ci, "");
|
|
3147
3104
|
}
|
|
3148
|
-
),
|
|
3105
|
+
), Ci = vi ? (
|
|
3149
3106
|
// Native
|
|
3150
3107
|
function(t) {
|
|
3151
3108
|
return t.trimEnd();
|
|
@@ -3153,32 +3110,32 @@ var Lt = vi ? (
|
|
|
3153
3110
|
) : (
|
|
3154
3111
|
// Ponyfill
|
|
3155
3112
|
function(t) {
|
|
3156
|
-
return t.replace(
|
|
3113
|
+
return t.replace(fi, "");
|
|
3157
3114
|
}
|
|
3158
3115
|
);
|
|
3159
|
-
function
|
|
3116
|
+
function vr(e, t) {
|
|
3160
3117
|
return new RegExp(e, t);
|
|
3161
3118
|
}
|
|
3162
|
-
var
|
|
3163
|
-
if (
|
|
3164
|
-
var
|
|
3165
|
-
|
|
3119
|
+
var Ke;
|
|
3120
|
+
if (qe) {
|
|
3121
|
+
var Pt = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3122
|
+
Ke = function(t, r) {
|
|
3166
3123
|
var n;
|
|
3167
|
-
|
|
3168
|
-
var i =
|
|
3124
|
+
Pt.lastIndex = r;
|
|
3125
|
+
var i = Pt.exec(t);
|
|
3169
3126
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3170
3127
|
};
|
|
3171
3128
|
} else
|
|
3172
|
-
|
|
3129
|
+
Ke = function(t, r) {
|
|
3173
3130
|
for (var n = []; ; ) {
|
|
3174
|
-
var i =
|
|
3175
|
-
if (i === void 0 ||
|
|
3131
|
+
var i = gr(t, r);
|
|
3132
|
+
if (i === void 0 || yr(i) || Hi(i))
|
|
3176
3133
|
break;
|
|
3177
3134
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3178
3135
|
}
|
|
3179
|
-
return
|
|
3136
|
+
return Je.apply(void 0, n);
|
|
3180
3137
|
};
|
|
3181
|
-
var
|
|
3138
|
+
var wi = (
|
|
3182
3139
|
/** @class */
|
|
3183
3140
|
function() {
|
|
3184
3141
|
function e(t, r) {
|
|
@@ -3209,7 +3166,7 @@ var Ii = (
|
|
|
3209
3166
|
if (n)
|
|
3210
3167
|
break;
|
|
3211
3168
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3212
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3169
|
+
} else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3213
3170
|
var s = this.parseTag(t, r);
|
|
3214
3171
|
if (s.err)
|
|
3215
3172
|
return s;
|
|
@@ -3242,10 +3199,10 @@ var Ii = (
|
|
|
3242
3199
|
return o;
|
|
3243
3200
|
var s = o.val, a = this.clonePosition();
|
|
3244
3201
|
if (this.bumpIf("</")) {
|
|
3245
|
-
if (this.isEOF() || !
|
|
3202
|
+
if (this.isEOF() || !et(this.char()))
|
|
3246
3203
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
|
3247
|
-
var
|
|
3248
|
-
return i !==
|
|
3204
|
+
var l = this.clonePosition(), u = this.parseTagName();
|
|
3205
|
+
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3249
3206
|
val: {
|
|
3250
3207
|
type: w.tag,
|
|
3251
3208
|
value: i,
|
|
@@ -3260,7 +3217,7 @@ var Ii = (
|
|
|
3260
3217
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
|
3261
3218
|
}, e.prototype.parseTagName = function() {
|
|
3262
3219
|
var t = this.offset();
|
|
3263
|
-
for (this.bump(); !this.isEOF() &&
|
|
3220
|
+
for (this.bump(); !this.isEOF() && Ti(this.char()); )
|
|
3264
3221
|
this.bump();
|
|
3265
3222
|
return this.message.slice(t, this.offset());
|
|
3266
3223
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3282,14 +3239,14 @@ var Ii = (
|
|
|
3282
3239
|
}
|
|
3283
3240
|
break;
|
|
3284
3241
|
}
|
|
3285
|
-
var
|
|
3242
|
+
var l = y(n, this.clonePosition());
|
|
3286
3243
|
return {
|
|
3287
|
-
val: { type: w.literal, value: i, location:
|
|
3244
|
+
val: { type: w.literal, value: i, location: l },
|
|
3288
3245
|
err: null
|
|
3289
3246
|
};
|
|
3290
3247
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3291
3248
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3292
|
-
!
|
|
3249
|
+
!Si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3293
3250
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3294
3251
|
if (this.isEOF() || this.char() !== 39)
|
|
3295
3252
|
return null;
|
|
@@ -3323,12 +3280,12 @@ var Ii = (
|
|
|
3323
3280
|
r.push(n);
|
|
3324
3281
|
this.bump();
|
|
3325
3282
|
}
|
|
3326
|
-
return
|
|
3283
|
+
return Je.apply(void 0, r);
|
|
3327
3284
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3328
3285
|
if (this.isEOF())
|
|
3329
3286
|
return null;
|
|
3330
3287
|
var n = this.char();
|
|
3331
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3288
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
|
|
3332
3289
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3333
3290
|
var n = this.clonePosition();
|
|
3334
3291
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3357,53 +3314,53 @@ var Ii = (
|
|
|
3357
3314
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3358
3315
|
}
|
|
3359
3316
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3360
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3317
|
+
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
|
3361
3318
|
this.bumpTo(i);
|
|
3362
3319
|
var o = this.clonePosition(), s = y(t, o);
|
|
3363
3320
|
return { value: n, location: s };
|
|
3364
3321
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3365
|
-
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value,
|
|
3322
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3366
3323
|
switch (a) {
|
|
3367
3324
|
case "":
|
|
3368
|
-
return this.error(v.EXPECT_ARGUMENT_TYPE, y(s,
|
|
3325
|
+
return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, l));
|
|
3369
3326
|
case "number":
|
|
3370
3327
|
case "date":
|
|
3371
3328
|
case "time": {
|
|
3372
3329
|
this.bumpSpace();
|
|
3373
|
-
var
|
|
3330
|
+
var u = null;
|
|
3374
3331
|
if (this.bumpIf(",")) {
|
|
3375
3332
|
this.bumpSpace();
|
|
3376
3333
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3377
3334
|
if (c.err)
|
|
3378
3335
|
return c;
|
|
3379
|
-
var f =
|
|
3336
|
+
var f = Ci(c.val);
|
|
3380
3337
|
if (f.length === 0)
|
|
3381
3338
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3382
3339
|
var b = y(h, this.clonePosition());
|
|
3383
|
-
|
|
3340
|
+
u = { style: f, styleLocation: b };
|
|
3384
3341
|
}
|
|
3385
|
-
var
|
|
3386
|
-
if (
|
|
3387
|
-
return
|
|
3342
|
+
var p = this.tryParseArgumentClose(i);
|
|
3343
|
+
if (p.err)
|
|
3344
|
+
return p;
|
|
3388
3345
|
var m = y(i, this.clonePosition());
|
|
3389
|
-
if (
|
|
3390
|
-
var
|
|
3346
|
+
if (u && It(u == null ? void 0 : u.style, "::", 0)) {
|
|
3347
|
+
var C = Ei(u.style.slice(2));
|
|
3391
3348
|
if (a === "number") {
|
|
3392
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3349
|
+
var c = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
3393
3350
|
return c.err ? c : {
|
|
3394
3351
|
val: { type: w.number, value: n, location: m, style: c.val },
|
|
3395
3352
|
err: null
|
|
3396
3353
|
};
|
|
3397
3354
|
} else {
|
|
3398
|
-
if (
|
|
3355
|
+
if (C.length === 0)
|
|
3399
3356
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, m);
|
|
3400
|
-
var P =
|
|
3401
|
-
this.locale && (P =
|
|
3357
|
+
var P = C;
|
|
3358
|
+
this.locale && (P = ui(C, this.locale));
|
|
3402
3359
|
var f = {
|
|
3403
|
-
type:
|
|
3360
|
+
type: ie.dateTime,
|
|
3404
3361
|
pattern: P,
|
|
3405
|
-
location:
|
|
3406
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3362
|
+
location: u.styleLocation,
|
|
3363
|
+
parsedOptions: this.shouldParseSkeletons ? ri(P) : {}
|
|
3407
3364
|
}, A = a === "date" ? w.date : w.time;
|
|
3408
3365
|
return {
|
|
3409
3366
|
val: { type: A, value: n, location: m, style: f },
|
|
@@ -3416,7 +3373,7 @@ var Ii = (
|
|
|
3416
3373
|
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3417
3374
|
value: n,
|
|
3418
3375
|
location: m,
|
|
3419
|
-
style: (o =
|
|
3376
|
+
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3420
3377
|
},
|
|
3421
3378
|
err: null
|
|
3422
3379
|
};
|
|
@@ -3426,9 +3383,9 @@ var Ii = (
|
|
|
3426
3383
|
case "select": {
|
|
3427
3384
|
var I = this.clonePosition();
|
|
3428
3385
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3429
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(I,
|
|
3386
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(I, _({}, I)));
|
|
3430
3387
|
this.bumpSpace();
|
|
3431
|
-
var L = this.parseIdentifierIfPossible(),
|
|
3388
|
+
var L = this.parseIdentifierIfPossible(), S = 0;
|
|
3432
3389
|
if (a !== "select" && L.value === "offset") {
|
|
3433
3390
|
if (!this.bumpIf(":"))
|
|
3434
3391
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
@@ -3436,20 +3393,20 @@ var Ii = (
|
|
|
3436
3393
|
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3437
3394
|
if (c.err)
|
|
3438
3395
|
return c;
|
|
3439
|
-
this.bumpSpace(), L = this.parseIdentifierIfPossible(),
|
|
3396
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), S = c.val;
|
|
3440
3397
|
}
|
|
3441
3398
|
var R = this.tryParsePluralOrSelectOptions(t, a, r, L);
|
|
3442
3399
|
if (R.err)
|
|
3443
3400
|
return R;
|
|
3444
|
-
var
|
|
3445
|
-
if (
|
|
3446
|
-
return
|
|
3401
|
+
var p = this.tryParseArgumentClose(i);
|
|
3402
|
+
if (p.err)
|
|
3403
|
+
return p;
|
|
3447
3404
|
var g = y(i, this.clonePosition());
|
|
3448
3405
|
return a === "select" ? {
|
|
3449
3406
|
val: {
|
|
3450
3407
|
type: w.select,
|
|
3451
3408
|
value: n,
|
|
3452
|
-
options:
|
|
3409
|
+
options: Bt(R.val),
|
|
3453
3410
|
location: g
|
|
3454
3411
|
},
|
|
3455
3412
|
err: null
|
|
@@ -3457,8 +3414,8 @@ var Ii = (
|
|
|
3457
3414
|
val: {
|
|
3458
3415
|
type: w.plural,
|
|
3459
3416
|
value: n,
|
|
3460
|
-
options:
|
|
3461
|
-
offset:
|
|
3417
|
+
options: Bt(R.val),
|
|
3418
|
+
offset: S,
|
|
3462
3419
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3463
3420
|
location: g
|
|
3464
3421
|
},
|
|
@@ -3466,7 +3423,7 @@ var Ii = (
|
|
|
3466
3423
|
};
|
|
3467
3424
|
}
|
|
3468
3425
|
default:
|
|
3469
|
-
return this.error(v.INVALID_ARGUMENT_TYPE, y(s,
|
|
3426
|
+
return this.error(v.INVALID_ARGUMENT_TYPE, y(s, l));
|
|
3470
3427
|
}
|
|
3471
3428
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3472
3429
|
return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3508,50 +3465,50 @@ var Ii = (
|
|
|
3508
3465
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3509
3466
|
var n = [];
|
|
3510
3467
|
try {
|
|
3511
|
-
n =
|
|
3468
|
+
n = ii(t);
|
|
3512
3469
|
} catch (i) {
|
|
3513
3470
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3514
3471
|
}
|
|
3515
3472
|
return {
|
|
3516
3473
|
val: {
|
|
3517
|
-
type:
|
|
3474
|
+
type: ie.number,
|
|
3518
3475
|
tokens: n,
|
|
3519
3476
|
location: r,
|
|
3520
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3477
|
+
parsedOptions: this.shouldParseSkeletons ? li(n) : {}
|
|
3521
3478
|
},
|
|
3522
3479
|
err: null
|
|
3523
3480
|
};
|
|
3524
3481
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3525
|
-
for (var o, s = !1, a = [],
|
|
3526
|
-
if (
|
|
3482
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3483
|
+
if (u.length === 0) {
|
|
3527
3484
|
var c = this.clonePosition();
|
|
3528
3485
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3529
3486
|
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3530
3487
|
if (f.err)
|
|
3531
3488
|
return f;
|
|
3532
|
-
h = y(c, this.clonePosition()),
|
|
3489
|
+
h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3533
3490
|
} else
|
|
3534
3491
|
break;
|
|
3535
3492
|
}
|
|
3536
|
-
if (
|
|
3493
|
+
if (l.has(u))
|
|
3537
3494
|
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3538
|
-
|
|
3495
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3539
3496
|
var b = this.clonePosition();
|
|
3540
3497
|
if (!this.bumpIf("{"))
|
|
3541
3498
|
return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3542
|
-
var
|
|
3543
|
-
if (
|
|
3544
|
-
return
|
|
3499
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3500
|
+
if (p.err)
|
|
3501
|
+
return p;
|
|
3545
3502
|
var m = this.tryParseArgumentClose(b);
|
|
3546
3503
|
if (m.err)
|
|
3547
3504
|
return m;
|
|
3548
3505
|
a.push([
|
|
3549
|
-
|
|
3506
|
+
u,
|
|
3550
3507
|
{
|
|
3551
|
-
value:
|
|
3508
|
+
value: p.val,
|
|
3552
3509
|
location: y(b, this.clonePosition())
|
|
3553
3510
|
}
|
|
3554
|
-
]),
|
|
3511
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3555
3512
|
}
|
|
3556
3513
|
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 };
|
|
3557
3514
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3564,8 +3521,8 @@ var Ii = (
|
|
|
3564
3521
|
else
|
|
3565
3522
|
break;
|
|
3566
3523
|
}
|
|
3567
|
-
var
|
|
3568
|
-
return o ? (s *= n,
|
|
3524
|
+
var l = y(i, this.clonePosition());
|
|
3525
|
+
return o ? (s *= n, _i(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3569
3526
|
}, e.prototype.offset = function() {
|
|
3570
3527
|
return this.position.offset;
|
|
3571
3528
|
}, e.prototype.isEOF = function() {
|
|
@@ -3580,7 +3537,7 @@ var Ii = (
|
|
|
3580
3537
|
var t = this.position.offset;
|
|
3581
3538
|
if (t >= this.message.length)
|
|
3582
3539
|
throw Error("out of bound");
|
|
3583
|
-
var r =
|
|
3540
|
+
var r = gr(this.message, t);
|
|
3584
3541
|
if (r === void 0)
|
|
3585
3542
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3586
3543
|
return r;
|
|
@@ -3599,7 +3556,7 @@ var Ii = (
|
|
|
3599
3556
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3600
3557
|
}
|
|
3601
3558
|
}, e.prototype.bumpIf = function(t) {
|
|
3602
|
-
if (
|
|
3559
|
+
if (It(this.message, t, this.offset())) {
|
|
3603
3560
|
for (var r = 0; r < t.length; r++)
|
|
3604
3561
|
this.bump();
|
|
3605
3562
|
return !0;
|
|
@@ -3621,7 +3578,7 @@ var Ii = (
|
|
|
3621
3578
|
break;
|
|
3622
3579
|
}
|
|
3623
3580
|
}, e.prototype.bumpSpace = function() {
|
|
3624
|
-
for (; !this.isEOF() &&
|
|
3581
|
+
for (; !this.isEOF() && yr(this.char()); )
|
|
3625
3582
|
this.bump();
|
|
3626
3583
|
}, e.prototype.peek = function() {
|
|
3627
3584
|
if (this.isEOF())
|
|
@@ -3631,47 +3588,47 @@ var Ii = (
|
|
|
3631
3588
|
}, e;
|
|
3632
3589
|
}()
|
|
3633
3590
|
);
|
|
3634
|
-
function
|
|
3591
|
+
function et(e) {
|
|
3635
3592
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3636
3593
|
}
|
|
3637
|
-
function
|
|
3638
|
-
return
|
|
3594
|
+
function Si(e) {
|
|
3595
|
+
return et(e) || e === 47;
|
|
3639
3596
|
}
|
|
3640
|
-
function
|
|
3597
|
+
function Ti(e) {
|
|
3641
3598
|
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;
|
|
3642
3599
|
}
|
|
3643
|
-
function
|
|
3600
|
+
function yr(e) {
|
|
3644
3601
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3645
3602
|
}
|
|
3646
|
-
function
|
|
3603
|
+
function Hi(e) {
|
|
3647
3604
|
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;
|
|
3648
3605
|
}
|
|
3649
|
-
function
|
|
3606
|
+
function tt(e) {
|
|
3650
3607
|
e.forEach(function(t) {
|
|
3651
|
-
if (delete t.location,
|
|
3608
|
+
if (delete t.location, ur(t) || hr(t))
|
|
3652
3609
|
for (var r in t.options)
|
|
3653
|
-
delete t.options[r].location,
|
|
3610
|
+
delete t.options[r].location, tt(t.options[r].value);
|
|
3654
3611
|
else
|
|
3655
|
-
|
|
3612
|
+
sr(t) && fr(t.style) || (ar(t) || lr(t)) && Ye(t.style) ? delete t.style.location : cr(t) && tt(t.children);
|
|
3656
3613
|
});
|
|
3657
3614
|
}
|
|
3658
|
-
function
|
|
3659
|
-
t === void 0 && (t = {}), t =
|
|
3660
|
-
var r = new
|
|
3615
|
+
function Ai(e, t) {
|
|
3616
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3617
|
+
var r = new wi(e, t).parse();
|
|
3661
3618
|
if (r.err) {
|
|
3662
3619
|
var n = SyntaxError(v[r.err.kind]);
|
|
3663
3620
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3664
3621
|
}
|
|
3665
|
-
return t != null && t.captureLocation ||
|
|
3622
|
+
return t != null && t.captureLocation || tt(r.val), r.val;
|
|
3666
3623
|
}
|
|
3667
|
-
var
|
|
3624
|
+
var oe;
|
|
3668
3625
|
(function(e) {
|
|
3669
3626
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3670
|
-
})(
|
|
3671
|
-
var
|
|
3627
|
+
})(oe || (oe = {}));
|
|
3628
|
+
var Ie = (
|
|
3672
3629
|
/** @class */
|
|
3673
3630
|
function(e) {
|
|
3674
|
-
|
|
3631
|
+
V(t, e);
|
|
3675
3632
|
function t(r, n, i) {
|
|
3676
3633
|
var o = e.call(this, r) || this;
|
|
3677
3634
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3680,64 +3637,64 @@ var Pe = (
|
|
|
3680
3637
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3681
3638
|
}, t;
|
|
3682
3639
|
}(Error)
|
|
3683
|
-
),
|
|
3640
|
+
), Ot = (
|
|
3684
3641
|
/** @class */
|
|
3685
3642
|
function(e) {
|
|
3686
|
-
|
|
3643
|
+
V(t, e);
|
|
3687
3644
|
function t(r, n, i, o) {
|
|
3688
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3645
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
|
|
3689
3646
|
}
|
|
3690
3647
|
return t;
|
|
3691
|
-
}(
|
|
3692
|
-
),
|
|
3648
|
+
}(Ie)
|
|
3649
|
+
), Ii = (
|
|
3693
3650
|
/** @class */
|
|
3694
3651
|
function(e) {
|
|
3695
|
-
|
|
3652
|
+
V(t, e);
|
|
3696
3653
|
function t(r, n, i) {
|
|
3697
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3654
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
|
|
3698
3655
|
}
|
|
3699
3656
|
return t;
|
|
3700
|
-
}(
|
|
3701
|
-
),
|
|
3657
|
+
}(Ie)
|
|
3658
|
+
), Bi = (
|
|
3702
3659
|
/** @class */
|
|
3703
3660
|
function(e) {
|
|
3704
|
-
|
|
3661
|
+
V(t, e);
|
|
3705
3662
|
function t(r, n) {
|
|
3706
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3663
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
|
|
3707
3664
|
}
|
|
3708
3665
|
return t;
|
|
3709
|
-
}(
|
|
3666
|
+
}(Ie)
|
|
3710
3667
|
), N;
|
|
3711
3668
|
(function(e) {
|
|
3712
3669
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3713
3670
|
})(N || (N = {}));
|
|
3714
|
-
function
|
|
3671
|
+
function Pi(e) {
|
|
3715
3672
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3716
3673
|
var n = t[t.length - 1];
|
|
3717
3674
|
return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
|
|
3718
3675
|
}, []);
|
|
3719
3676
|
}
|
|
3720
|
-
function
|
|
3677
|
+
function Oi(e) {
|
|
3721
3678
|
return typeof e == "function";
|
|
3722
3679
|
}
|
|
3723
3680
|
function xe(e, t, r, n, i, o, s) {
|
|
3724
|
-
if (e.length === 1 &&
|
|
3681
|
+
if (e.length === 1 && St(e[0]))
|
|
3725
3682
|
return [
|
|
3726
3683
|
{
|
|
3727
3684
|
type: N.literal,
|
|
3728
3685
|
value: e[0].value
|
|
3729
3686
|
}
|
|
3730
3687
|
];
|
|
3731
|
-
for (var a = [],
|
|
3732
|
-
var h = l
|
|
3733
|
-
if (
|
|
3688
|
+
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3689
|
+
var h = u[l];
|
|
3690
|
+
if (St(h)) {
|
|
3734
3691
|
a.push({
|
|
3735
3692
|
type: N.literal,
|
|
3736
3693
|
value: h.value
|
|
3737
3694
|
});
|
|
3738
3695
|
continue;
|
|
3739
3696
|
}
|
|
3740
|
-
if (
|
|
3697
|
+
if (ei(h)) {
|
|
3741
3698
|
typeof o == "number" && a.push({
|
|
3742
3699
|
type: N.literal,
|
|
3743
3700
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3746,89 +3703,89 @@ function xe(e, t, r, n, i, o, s) {
|
|
|
3746
3703
|
}
|
|
3747
3704
|
var c = h.value;
|
|
3748
3705
|
if (!(i && c in i))
|
|
3749
|
-
throw new
|
|
3706
|
+
throw new Bi(c, s);
|
|
3750
3707
|
var f = i[c];
|
|
3751
|
-
if (
|
|
3708
|
+
if (Kn(h)) {
|
|
3752
3709
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3753
3710
|
type: typeof f == "string" ? N.literal : N.object,
|
|
3754
3711
|
value: f
|
|
3755
3712
|
});
|
|
3756
3713
|
continue;
|
|
3757
3714
|
}
|
|
3758
|
-
if (
|
|
3759
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
|
3715
|
+
if (ar(h)) {
|
|
3716
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Ye(h.style) ? h.style.parsedOptions : void 0;
|
|
3760
3717
|
a.push({
|
|
3761
3718
|
type: N.literal,
|
|
3762
3719
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3763
3720
|
});
|
|
3764
3721
|
continue;
|
|
3765
3722
|
}
|
|
3766
|
-
if (
|
|
3767
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
|
3723
|
+
if (lr(h)) {
|
|
3724
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Ye(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3768
3725
|
a.push({
|
|
3769
3726
|
type: N.literal,
|
|
3770
3727
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3771
3728
|
});
|
|
3772
3729
|
continue;
|
|
3773
3730
|
}
|
|
3774
|
-
if (
|
|
3775
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3731
|
+
if (sr(h)) {
|
|
3732
|
+
var b = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
|
|
3776
3733
|
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
|
3777
3734
|
type: N.literal,
|
|
3778
3735
|
value: r.getNumberFormat(t, b).format(f)
|
|
3779
3736
|
});
|
|
3780
3737
|
continue;
|
|
3781
3738
|
}
|
|
3782
|
-
if (
|
|
3783
|
-
var
|
|
3784
|
-
if (!
|
|
3785
|
-
throw new
|
|
3786
|
-
var P = xe(
|
|
3787
|
-
return
|
|
3739
|
+
if (cr(h)) {
|
|
3740
|
+
var p = h.children, m = h.value, C = i[m];
|
|
3741
|
+
if (!Oi(C))
|
|
3742
|
+
throw new Ii(m, "function", s);
|
|
3743
|
+
var P = xe(p, t, r, n, i, o), A = C(P.map(function(S) {
|
|
3744
|
+
return S.value;
|
|
3788
3745
|
}));
|
|
3789
|
-
Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(
|
|
3746
|
+
Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(S) {
|
|
3790
3747
|
return {
|
|
3791
|
-
type: typeof
|
|
3792
|
-
value:
|
|
3748
|
+
type: typeof S == "string" ? N.literal : N.object,
|
|
3749
|
+
value: S
|
|
3793
3750
|
};
|
|
3794
3751
|
}));
|
|
3795
3752
|
}
|
|
3796
|
-
if (
|
|
3753
|
+
if (ur(h)) {
|
|
3797
3754
|
var I = h.options[f] || h.options.other;
|
|
3798
3755
|
if (!I)
|
|
3799
|
-
throw new
|
|
3756
|
+
throw new Ot(h.value, f, Object.keys(h.options), s);
|
|
3800
3757
|
a.push.apply(a, xe(I.value, t, r, n, i));
|
|
3801
3758
|
continue;
|
|
3802
3759
|
}
|
|
3803
|
-
if (
|
|
3760
|
+
if (hr(h)) {
|
|
3804
3761
|
var I = h.options["=".concat(f)];
|
|
3805
3762
|
if (!I) {
|
|
3806
3763
|
if (!Intl.PluralRules)
|
|
3807
|
-
throw new
|
|
3764
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3808
3765
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3809
|
-
`,
|
|
3766
|
+
`, oe.MISSING_INTL_API, s);
|
|
3810
3767
|
var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3811
3768
|
I = h.options[L] || h.options.other;
|
|
3812
3769
|
}
|
|
3813
3770
|
if (!I)
|
|
3814
|
-
throw new
|
|
3771
|
+
throw new Ot(h.value, f, Object.keys(h.options), s);
|
|
3815
3772
|
a.push.apply(a, xe(I.value, t, r, n, i, f - (h.offset || 0)));
|
|
3816
3773
|
continue;
|
|
3817
3774
|
}
|
|
3818
3775
|
}
|
|
3819
|
-
return
|
|
3776
|
+
return Pi(a);
|
|
3820
3777
|
}
|
|
3821
|
-
function
|
|
3822
|
-
return t ?
|
|
3823
|
-
return r[n] =
|
|
3778
|
+
function Mi(e, t) {
|
|
3779
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3780
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3824
3781
|
}, {})) : e;
|
|
3825
3782
|
}
|
|
3826
|
-
function
|
|
3783
|
+
function Li(e, t) {
|
|
3827
3784
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3828
|
-
return r[n] =
|
|
3829
|
-
},
|
|
3785
|
+
return r[n] = Mi(e[n], t[n]), r;
|
|
3786
|
+
}, _({}, e)) : e;
|
|
3830
3787
|
}
|
|
3831
|
-
function
|
|
3788
|
+
function ke(e) {
|
|
3832
3789
|
return {
|
|
3833
3790
|
create: function() {
|
|
3834
3791
|
return {
|
|
@@ -3842,39 +3799,39 @@ function Ve(e) {
|
|
|
3842
3799
|
}
|
|
3843
3800
|
};
|
|
3844
3801
|
}
|
|
3845
|
-
function
|
|
3802
|
+
function Ni(e) {
|
|
3846
3803
|
return e === void 0 && (e = {
|
|
3847
3804
|
number: {},
|
|
3848
3805
|
dateTime: {},
|
|
3849
3806
|
pluralRules: {}
|
|
3850
3807
|
}), {
|
|
3851
|
-
getNumberFormat:
|
|
3808
|
+
getNumberFormat: De(function() {
|
|
3852
3809
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3853
3810
|
r[n] = arguments[n];
|
|
3854
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3811
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3855
3812
|
}, {
|
|
3856
|
-
cache:
|
|
3857
|
-
strategy:
|
|
3813
|
+
cache: ke(e.number),
|
|
3814
|
+
strategy: $e.variadic
|
|
3858
3815
|
}),
|
|
3859
|
-
getDateTimeFormat:
|
|
3816
|
+
getDateTimeFormat: De(function() {
|
|
3860
3817
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3861
3818
|
r[n] = arguments[n];
|
|
3862
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3819
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3863
3820
|
}, {
|
|
3864
|
-
cache:
|
|
3865
|
-
strategy:
|
|
3821
|
+
cache: ke(e.dateTime),
|
|
3822
|
+
strategy: $e.variadic
|
|
3866
3823
|
}),
|
|
3867
|
-
getPluralRules:
|
|
3824
|
+
getPluralRules: De(function() {
|
|
3868
3825
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3869
3826
|
r[n] = arguments[n];
|
|
3870
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3827
|
+
return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
|
|
3871
3828
|
}, {
|
|
3872
|
-
cache:
|
|
3873
|
-
strategy:
|
|
3829
|
+
cache: ke(e.pluralRules),
|
|
3830
|
+
strategy: $e.variadic
|
|
3874
3831
|
})
|
|
3875
3832
|
};
|
|
3876
3833
|
}
|
|
3877
|
-
var
|
|
3834
|
+
var Ri = (
|
|
3878
3835
|
/** @class */
|
|
3879
3836
|
function() {
|
|
3880
3837
|
function e(t, r, n, i) {
|
|
@@ -3884,20 +3841,20 @@ var ki = (
|
|
|
3884
3841
|
number: {},
|
|
3885
3842
|
dateTime: {},
|
|
3886
3843
|
pluralRules: {}
|
|
3887
|
-
}, this.format = function(
|
|
3888
|
-
var
|
|
3889
|
-
if (
|
|
3890
|
-
return
|
|
3891
|
-
var h =
|
|
3844
|
+
}, this.format = function(l) {
|
|
3845
|
+
var u = o.formatToParts(l);
|
|
3846
|
+
if (u.length === 1)
|
|
3847
|
+
return u[0].value;
|
|
3848
|
+
var h = u.reduce(function(c, f) {
|
|
3892
3849
|
return !c.length || f.type !== N.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3893
3850
|
}, []);
|
|
3894
3851
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3895
|
-
}, this.formatToParts = function(
|
|
3896
|
-
return xe(o.ast, o.locales, o.formatters, o.formats,
|
|
3852
|
+
}, this.formatToParts = function(l) {
|
|
3853
|
+
return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3897
3854
|
}, this.resolvedOptions = function() {
|
|
3898
|
-
var
|
|
3855
|
+
var l;
|
|
3899
3856
|
return {
|
|
3900
|
-
locale: ((
|
|
3857
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3901
3858
|
};
|
|
3902
3859
|
}, this.getAst = function() {
|
|
3903
3860
|
return o.ast;
|
|
@@ -3906,13 +3863,13 @@ var ki = (
|
|
|
3906
3863
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3907
3864
|
var s = i || {};
|
|
3908
3865
|
s.formatters;
|
|
3909
|
-
var a =
|
|
3910
|
-
this.ast = e.__parse(t,
|
|
3866
|
+
var a = pn(s, ["formatters"]);
|
|
3867
|
+
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
|
3911
3868
|
} else
|
|
3912
3869
|
this.ast = t;
|
|
3913
3870
|
if (!Array.isArray(this.ast))
|
|
3914
3871
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3915
|
-
this.formats =
|
|
3872
|
+
this.formats = Li(e.formats, n), this.formatters = i && i.formatters || Ni(this.formatterCache);
|
|
3916
3873
|
}
|
|
3917
3874
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3918
3875
|
get: function() {
|
|
@@ -3925,7 +3882,7 @@ var ki = (
|
|
|
3925
3882
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3926
3883
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3927
3884
|
}
|
|
3928
|
-
}, e.__parse =
|
|
3885
|
+
}, e.__parse = Ai, e.formats = {
|
|
3929
3886
|
number: {
|
|
3930
3887
|
integer: {
|
|
3931
3888
|
maximumFractionDigits: 0
|
|
@@ -3986,7 +3943,7 @@ var ki = (
|
|
|
3986
3943
|
}, e;
|
|
3987
3944
|
}()
|
|
3988
3945
|
);
|
|
3989
|
-
function
|
|
3946
|
+
function Ui(e, t) {
|
|
3990
3947
|
if (t == null)
|
|
3991
3948
|
return;
|
|
3992
3949
|
if (t in e)
|
|
@@ -4007,92 +3964,92 @@ function Fi(e, t) {
|
|
|
4007
3964
|
n = void 0;
|
|
4008
3965
|
return n;
|
|
4009
3966
|
}
|
|
4010
|
-
const W = {},
|
|
3967
|
+
const W = {}, Di = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), _r = (e, t) => {
|
|
4011
3968
|
if (t == null)
|
|
4012
3969
|
return;
|
|
4013
3970
|
if (t in W && e in W[t])
|
|
4014
3971
|
return W[t][e];
|
|
4015
|
-
const r =
|
|
3972
|
+
const r = Be(t);
|
|
4016
3973
|
for (let n = 0; n < r.length; n++) {
|
|
4017
|
-
const i = r[n], o =
|
|
3974
|
+
const i = r[n], o = Gi(i, e);
|
|
4018
3975
|
if (o)
|
|
4019
|
-
return
|
|
3976
|
+
return Di(e, t, o);
|
|
4020
3977
|
}
|
|
4021
3978
|
};
|
|
4022
|
-
let
|
|
4023
|
-
const
|
|
4024
|
-
function
|
|
4025
|
-
return
|
|
3979
|
+
let st;
|
|
3980
|
+
const le = Ae({});
|
|
3981
|
+
function $i(e) {
|
|
3982
|
+
return st[e] || null;
|
|
4026
3983
|
}
|
|
4027
|
-
function
|
|
4028
|
-
return e in
|
|
3984
|
+
function xr(e) {
|
|
3985
|
+
return e in st;
|
|
4029
3986
|
}
|
|
4030
|
-
function
|
|
4031
|
-
if (!
|
|
3987
|
+
function Gi(e, t) {
|
|
3988
|
+
if (!xr(e))
|
|
4032
3989
|
return null;
|
|
4033
|
-
const r =
|
|
4034
|
-
return
|
|
3990
|
+
const r = $i(e);
|
|
3991
|
+
return Ui(r, t);
|
|
4035
3992
|
}
|
|
4036
|
-
function
|
|
3993
|
+
function ki(e) {
|
|
4037
3994
|
if (e == null)
|
|
4038
3995
|
return;
|
|
4039
|
-
const t =
|
|
3996
|
+
const t = Be(e);
|
|
4040
3997
|
for (let r = 0; r < t.length; r++) {
|
|
4041
3998
|
const n = t[r];
|
|
4042
|
-
if (
|
|
3999
|
+
if (xr(n))
|
|
4043
4000
|
return n;
|
|
4044
4001
|
}
|
|
4045
4002
|
}
|
|
4046
|
-
function
|
|
4047
|
-
delete W[e],
|
|
4003
|
+
function Er(e, ...t) {
|
|
4004
|
+
delete W[e], le.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
|
|
4048
4005
|
}
|
|
4049
|
-
|
|
4050
|
-
[
|
|
4006
|
+
ae(
|
|
4007
|
+
[le],
|
|
4051
4008
|
([e]) => Object.keys(e)
|
|
4052
4009
|
);
|
|
4053
|
-
|
|
4010
|
+
le.subscribe((e) => st = e);
|
|
4054
4011
|
const Ee = {};
|
|
4055
|
-
function
|
|
4012
|
+
function Fi(e, t) {
|
|
4056
4013
|
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
4057
4014
|
}
|
|
4058
|
-
function
|
|
4015
|
+
function Cr(e) {
|
|
4059
4016
|
return Ee[e];
|
|
4060
4017
|
}
|
|
4061
|
-
function
|
|
4062
|
-
return
|
|
4063
|
-
const r =
|
|
4018
|
+
function ji(e) {
|
|
4019
|
+
return Be(e).map((t) => {
|
|
4020
|
+
const r = Cr(t);
|
|
4064
4021
|
return [t, r ? [...r] : []];
|
|
4065
4022
|
}).filter(([, t]) => t.length > 0);
|
|
4066
4023
|
}
|
|
4067
|
-
function
|
|
4068
|
-
return e == null ? !1 :
|
|
4024
|
+
function rt(e) {
|
|
4025
|
+
return e == null ? !1 : Be(e).some(
|
|
4069
4026
|
(t) => {
|
|
4070
4027
|
var r;
|
|
4071
|
-
return (r =
|
|
4028
|
+
return (r = Cr(t)) == null ? void 0 : r.size;
|
|
4072
4029
|
}
|
|
4073
4030
|
);
|
|
4074
4031
|
}
|
|
4075
|
-
function
|
|
4032
|
+
function Vi(e, t) {
|
|
4076
4033
|
return Promise.all(
|
|
4077
|
-
t.map((n) => (
|
|
4078
|
-
).then((n) =>
|
|
4079
|
-
}
|
|
4080
|
-
const
|
|
4081
|
-
function
|
|
4082
|
-
if (!
|
|
4083
|
-
return e in
|
|
4084
|
-
const t =
|
|
4085
|
-
return
|
|
4034
|
+
t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
|
|
4035
|
+
).then((n) => Er(e, ...n));
|
|
4036
|
+
}
|
|
4037
|
+
const he = {};
|
|
4038
|
+
function wr(e) {
|
|
4039
|
+
if (!rt(e))
|
|
4040
|
+
return e in he ? he[e] : Promise.resolve();
|
|
4041
|
+
const t = ji(e);
|
|
4042
|
+
return he[e] = Promise.all(
|
|
4086
4043
|
t.map(
|
|
4087
|
-
([r, n]) =>
|
|
4044
|
+
([r, n]) => Vi(r, n)
|
|
4088
4045
|
)
|
|
4089
4046
|
).then(() => {
|
|
4090
|
-
if (
|
|
4091
|
-
return
|
|
4092
|
-
delete
|
|
4093
|
-
}),
|
|
4047
|
+
if (rt(e))
|
|
4048
|
+
return wr(e);
|
|
4049
|
+
delete he[e];
|
|
4050
|
+
}), he[e];
|
|
4094
4051
|
}
|
|
4095
|
-
const
|
|
4052
|
+
const Wi = {
|
|
4096
4053
|
number: {
|
|
4097
4054
|
scientific: { notation: "scientific" },
|
|
4098
4055
|
engineering: { notation: "engineering" },
|
|
@@ -4121,100 +4078,100 @@ const Yi = {
|
|
|
4121
4078
|
timeZoneName: "short"
|
|
4122
4079
|
}
|
|
4123
4080
|
}
|
|
4124
|
-
},
|
|
4081
|
+
}, Xi = {
|
|
4125
4082
|
fallbackLocale: null,
|
|
4126
4083
|
loadingDelay: 200,
|
|
4127
|
-
formats:
|
|
4084
|
+
formats: Wi,
|
|
4128
4085
|
warnOnMissingMessages: !0,
|
|
4129
4086
|
handleMissingMessage: void 0,
|
|
4130
4087
|
ignoreTag: !0
|
|
4131
|
-
},
|
|
4132
|
-
function
|
|
4133
|
-
return
|
|
4088
|
+
}, zi = Xi;
|
|
4089
|
+
function se() {
|
|
4090
|
+
return zi;
|
|
4134
4091
|
}
|
|
4135
|
-
const
|
|
4136
|
-
var
|
|
4092
|
+
const Fe = Ae(!1);
|
|
4093
|
+
var Zi = Object.defineProperty, Qi = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ji = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ki = (e, t) => {
|
|
4137
4094
|
for (var r in t || (t = {}))
|
|
4138
|
-
|
|
4139
|
-
if (
|
|
4140
|
-
for (var r of
|
|
4141
|
-
|
|
4095
|
+
qi.call(t, r) && Lt(e, r, t[r]);
|
|
4096
|
+
if (Mt)
|
|
4097
|
+
for (var r of Mt(t))
|
|
4098
|
+
Ji.call(t, r) && Lt(e, r, t[r]);
|
|
4142
4099
|
return e;
|
|
4143
|
-
},
|
|
4144
|
-
let
|
|
4145
|
-
const
|
|
4146
|
-
function
|
|
4100
|
+
}, eo = (e, t) => Qi(e, Yi(t));
|
|
4101
|
+
let nt;
|
|
4102
|
+
const we = Ae(null);
|
|
4103
|
+
function Nt(e) {
|
|
4147
4104
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4148
4105
|
}
|
|
4149
|
-
function
|
|
4150
|
-
const r =
|
|
4151
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4106
|
+
function Be(e, t = se().fallbackLocale) {
|
|
4107
|
+
const r = Nt(e);
|
|
4108
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
|
|
4152
4109
|
}
|
|
4153
4110
|
function Z() {
|
|
4154
|
-
return
|
|
4111
|
+
return nt != null ? nt : void 0;
|
|
4155
4112
|
}
|
|
4156
|
-
|
|
4157
|
-
|
|
4113
|
+
we.subscribe((e) => {
|
|
4114
|
+
nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4158
4115
|
});
|
|
4159
|
-
const
|
|
4160
|
-
if (e &&
|
|
4161
|
-
const { loadingDelay: t } =
|
|
4116
|
+
const to = (e) => {
|
|
4117
|
+
if (e && ki(e) && rt(e)) {
|
|
4118
|
+
const { loadingDelay: t } = se();
|
|
4162
4119
|
let r;
|
|
4163
4120
|
return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
|
|
4164
|
-
() =>
|
|
4121
|
+
() => Fe.set(!0),
|
|
4165
4122
|
t
|
|
4166
|
-
) :
|
|
4167
|
-
|
|
4123
|
+
) : Fe.set(!0), wr(e).then(() => {
|
|
4124
|
+
we.set(e);
|
|
4168
4125
|
}).finally(() => {
|
|
4169
|
-
clearTimeout(r),
|
|
4126
|
+
clearTimeout(r), Fe.set(!1);
|
|
4170
4127
|
});
|
|
4171
4128
|
}
|
|
4172
|
-
return
|
|
4173
|
-
}, X =
|
|
4174
|
-
set:
|
|
4175
|
-
}),
|
|
4129
|
+
return we.set(e);
|
|
4130
|
+
}, X = eo(Ki({}, we), {
|
|
4131
|
+
set: to
|
|
4132
|
+
}), Pe = (e) => {
|
|
4176
4133
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4177
4134
|
return (n) => {
|
|
4178
4135
|
const i = JSON.stringify(n);
|
|
4179
4136
|
return i in t ? t[i] : t[i] = e(n);
|
|
4180
4137
|
};
|
|
4181
4138
|
};
|
|
4182
|
-
var
|
|
4139
|
+
var ro = Object.defineProperty, Se = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
|
4183
4140
|
for (var r in t || (t = {}))
|
|
4184
|
-
|
|
4185
|
-
if (
|
|
4186
|
-
for (var r of
|
|
4187
|
-
|
|
4141
|
+
Sr.call(t, r) && Rt(e, r, t[r]);
|
|
4142
|
+
if (Se)
|
|
4143
|
+
for (var r of Se(t))
|
|
4144
|
+
Tr.call(t, r) && Rt(e, r, t[r]);
|
|
4188
4145
|
return e;
|
|
4189
4146
|
}, ue = (e, t) => {
|
|
4190
4147
|
var r = {};
|
|
4191
4148
|
for (var n in e)
|
|
4192
|
-
|
|
4193
|
-
if (e != null &&
|
|
4194
|
-
for (var n of
|
|
4195
|
-
t.indexOf(n) < 0 &&
|
|
4149
|
+
Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4150
|
+
if (e != null && Se)
|
|
4151
|
+
for (var n of Se(e))
|
|
4152
|
+
t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
|
|
4196
4153
|
return r;
|
|
4197
4154
|
};
|
|
4198
4155
|
const pe = (e, t) => {
|
|
4199
|
-
const { formats: r } =
|
|
4156
|
+
const { formats: r } = se();
|
|
4200
4157
|
if (e in r && t in r[e])
|
|
4201
4158
|
return r[e][t];
|
|
4202
4159
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4203
|
-
},
|
|
4160
|
+
}, no = Pe(
|
|
4204
4161
|
(e) => {
|
|
4205
4162
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4206
4163
|
if (r == null)
|
|
4207
4164
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4208
4165
|
return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
|
|
4209
4166
|
}
|
|
4210
|
-
),
|
|
4167
|
+
), io = Pe(
|
|
4211
4168
|
(e) => {
|
|
4212
4169
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4213
4170
|
if (r == null)
|
|
4214
4171
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4215
4172
|
return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4216
4173
|
}
|
|
4217
|
-
),
|
|
4174
|
+
), oo = Pe(
|
|
4218
4175
|
(e) => {
|
|
4219
4176
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4220
4177
|
if (r == null)
|
|
@@ -4223,48 +4180,48 @@ const pe = (e, t) => {
|
|
|
4223
4180
|
);
|
|
4224
4181
|
return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4225
4182
|
}
|
|
4226
|
-
),
|
|
4183
|
+
), so = (e = {}) => {
|
|
4227
4184
|
var t = e, {
|
|
4228
4185
|
locale: r = Z()
|
|
4229
4186
|
} = t, n = ue(t, [
|
|
4230
4187
|
"locale"
|
|
4231
4188
|
]);
|
|
4232
|
-
return
|
|
4233
|
-
},
|
|
4189
|
+
return no(at({ locale: r }, n));
|
|
4190
|
+
}, ao = (e = {}) => {
|
|
4234
4191
|
var t = e, {
|
|
4235
4192
|
locale: r = Z()
|
|
4236
4193
|
} = t, n = ue(t, [
|
|
4237
4194
|
"locale"
|
|
4238
4195
|
]);
|
|
4239
|
-
return
|
|
4240
|
-
},
|
|
4196
|
+
return io(at({ locale: r }, n));
|
|
4197
|
+
}, lo = (e = {}) => {
|
|
4241
4198
|
var t = e, {
|
|
4242
4199
|
locale: r = Z()
|
|
4243
4200
|
} = t, n = ue(t, [
|
|
4244
4201
|
"locale"
|
|
4245
4202
|
]);
|
|
4246
|
-
return
|
|
4247
|
-
},
|
|
4203
|
+
return oo(at({ locale: r }, n));
|
|
4204
|
+
}, uo = Pe(
|
|
4248
4205
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4249
|
-
(e, t = Z()) => new
|
|
4250
|
-
ignoreTag:
|
|
4206
|
+
(e, t = Z()) => new Ri(e, t, se().formats, {
|
|
4207
|
+
ignoreTag: se().ignoreTag
|
|
4251
4208
|
})
|
|
4252
|
-
),
|
|
4209
|
+
), ho = (e, t = {}) => {
|
|
4253
4210
|
var r, n, i, o;
|
|
4254
4211
|
let s = t;
|
|
4255
4212
|
typeof e == "object" && (s = e, e = s.id);
|
|
4256
4213
|
const {
|
|
4257
4214
|
values: a,
|
|
4258
|
-
locale:
|
|
4259
|
-
default:
|
|
4215
|
+
locale: l = Z(),
|
|
4216
|
+
default: u
|
|
4260
4217
|
} = s;
|
|
4261
|
-
if (
|
|
4218
|
+
if (l == null)
|
|
4262
4219
|
throw new Error(
|
|
4263
4220
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4264
4221
|
);
|
|
4265
|
-
let h =
|
|
4222
|
+
let h = _r(e, l);
|
|
4266
4223
|
if (!h)
|
|
4267
|
-
h = (o = (i = (n = (r =
|
|
4224
|
+
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;
|
|
4268
4225
|
else if (typeof h != "string")
|
|
4269
4226
|
return console.warn(
|
|
4270
4227
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4273,7 +4230,7 @@ const pe = (e, t) => {
|
|
|
4273
4230
|
return h;
|
|
4274
4231
|
let c = h;
|
|
4275
4232
|
try {
|
|
4276
|
-
c =
|
|
4233
|
+
c = uo(h, l).format(a);
|
|
4277
4234
|
} catch (f) {
|
|
4278
4235
|
f instanceof Error && console.warn(
|
|
4279
4236
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4281,32 +4238,32 @@ const pe = (e, t) => {
|
|
|
4281
4238
|
);
|
|
4282
4239
|
}
|
|
4283
4240
|
return c;
|
|
4284
|
-
},
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
window.emWidgets = { topic:
|
|
4291
|
-
const
|
|
4292
|
-
function
|
|
4241
|
+
}, co = (e, t) => lo(t).format(e), fo = (e, t) => ao(t).format(e), po = (e, t) => so(t).format(e), mo = (e, t = Z()) => _r(e, t);
|
|
4242
|
+
ae([X, le], () => ho);
|
|
4243
|
+
ae([X], () => co);
|
|
4244
|
+
ae([X], () => fo);
|
|
4245
|
+
ae([X], () => po);
|
|
4246
|
+
ae([X, le], () => mo);
|
|
4247
|
+
window.emWidgets = { topic: An };
|
|
4248
|
+
const Ut = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4249
|
+
function bo({ withLocale: e, translations: t }) {
|
|
4293
4250
|
X.subscribe((r) => {
|
|
4294
|
-
r == null && (
|
|
4251
|
+
r == null && (le.set(t), X.set(e));
|
|
4295
4252
|
});
|
|
4296
4253
|
}
|
|
4297
|
-
function
|
|
4298
|
-
|
|
4254
|
+
function go(e, t) {
|
|
4255
|
+
Er(e, t);
|
|
4299
4256
|
}
|
|
4300
|
-
function
|
|
4257
|
+
function vo(e) {
|
|
4301
4258
|
X.set(e);
|
|
4302
4259
|
}
|
|
4303
|
-
function
|
|
4260
|
+
function yo(e, t) {
|
|
4304
4261
|
if (e) {
|
|
4305
4262
|
const r = document.createElement("style");
|
|
4306
4263
|
r.innerHTML = t, e.appendChild(r);
|
|
4307
4264
|
}
|
|
4308
4265
|
}
|
|
4309
|
-
function
|
|
4266
|
+
function _o(e, t) {
|
|
4310
4267
|
const r = new URL(t);
|
|
4311
4268
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4312
4269
|
const i = document.createElement("style");
|
|
@@ -4315,7 +4272,7 @@ function So(e, t) {
|
|
|
4315
4272
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4316
4273
|
});
|
|
4317
4274
|
}
|
|
4318
|
-
function
|
|
4275
|
+
function xo(e, t, r) {
|
|
4319
4276
|
if (window.emMessageBus) {
|
|
4320
4277
|
const n = document.createElement("style");
|
|
4321
4278
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4323,25 +4280,25 @@ function To(e, t, r) {
|
|
|
4323
4280
|
});
|
|
4324
4281
|
}
|
|
4325
4282
|
}
|
|
4326
|
-
function
|
|
4327
|
-
|
|
4283
|
+
function Eo(e) {
|
|
4284
|
+
Xr(e, "svelte-14514rm", '.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, 10px)}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{min-height:72px;max-height:75px;background:var(--emw--color-primary, #194127);border-radius:var(--emw--border-radius-medium, 10px);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:10px;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}');
|
|
4328
4285
|
}
|
|
4329
|
-
function
|
|
4286
|
+
function Dt(e, t, r) {
|
|
4330
4287
|
const n = e.slice();
|
|
4331
4288
|
return n[43] = t[r], n[45] = r, n;
|
|
4332
4289
|
}
|
|
4333
|
-
function
|
|
4334
|
-
let t, r, n, i, o, s, a,
|
|
4290
|
+
function Co(e) {
|
|
4291
|
+
let t, r, n, i, o, s, a, l, u, h, c, f, b, p = (
|
|
4335
4292
|
/*vendors*/
|
|
4336
|
-
e[6].length > 0 &&
|
|
4293
|
+
e[6].length > 0 && $t(e)
|
|
4337
4294
|
);
|
|
4338
4295
|
return {
|
|
4339
4296
|
c() {
|
|
4340
|
-
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 =
|
|
4341
|
-
(e[10] ? "CarouselWrapperMobile" : "")),
|
|
4297
|
+
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*/
|
|
4298
|
+
(e[10] ? "CarouselWrapperMobile" : "")), E(t, "class", "CasinoVendorsContainer"), E(t, "part", "CasinoVendorsContainer");
|
|
4342
4299
|
},
|
|
4343
|
-
m(m,
|
|
4344
|
-
O(m, t,
|
|
4300
|
+
m(m, C) {
|
|
4301
|
+
O(m, t, C), 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 = [
|
|
4345
4302
|
K(
|
|
4346
4303
|
i,
|
|
4347
4304
|
"click",
|
|
@@ -4368,20 +4325,20 @@ function Ao(e) {
|
|
|
4368
4325
|
)
|
|
4369
4326
|
], f = !0);
|
|
4370
4327
|
},
|
|
4371
|
-
p(m,
|
|
4328
|
+
p(m, C) {
|
|
4372
4329
|
/*vendors*/
|
|
4373
|
-
m[6].length > 0 ?
|
|
4330
|
+
m[6].length > 0 ? p ? p.p(m, C) : (p = $t(m), p.c(), p.m(a, null)) : p && (p.d(1), p = null);
|
|
4374
4331
|
},
|
|
4375
4332
|
d(m) {
|
|
4376
|
-
m && B(t),
|
|
4333
|
+
m && B(t), p && p.d(), e[28](null), e[29](null), e[30](null), f = !1, z(b);
|
|
4377
4334
|
}
|
|
4378
4335
|
};
|
|
4379
4336
|
}
|
|
4380
|
-
function
|
|
4337
|
+
function wo(e) {
|
|
4381
4338
|
let t;
|
|
4382
4339
|
return {
|
|
4383
4340
|
c() {
|
|
4384
|
-
t = T("p"), t.textContent = "500 Error - Internal Server Error.",
|
|
4341
|
+
t = T("p"), t.textContent = "500 Error - Internal Server Error.", E(t, "class", "SearchLoading");
|
|
4385
4342
|
},
|
|
4386
4343
|
m(r, n) {
|
|
4387
4344
|
O(r, t, n);
|
|
@@ -4392,11 +4349,11 @@ function Io(e) {
|
|
|
4392
4349
|
}
|
|
4393
4350
|
};
|
|
4394
4351
|
}
|
|
4395
|
-
function
|
|
4352
|
+
function So(e) {
|
|
4396
4353
|
let t;
|
|
4397
4354
|
return {
|
|
4398
4355
|
c() {
|
|
4399
|
-
t = T("div"),
|
|
4356
|
+
t = T("div"), E(t, "class", "CasinoVendorsLoading");
|
|
4400
4357
|
},
|
|
4401
4358
|
m(r, n) {
|
|
4402
4359
|
O(r, t, n);
|
|
@@ -4407,8 +4364,8 @@ function Bo(e) {
|
|
|
4407
4364
|
}
|
|
4408
4365
|
};
|
|
4409
4366
|
}
|
|
4410
|
-
function
|
|
4411
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
|
4367
|
+
function $t(e) {
|
|
4368
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = bt(
|
|
4412
4369
|
/*vendors*/
|
|
4413
4370
|
e[6]
|
|
4414
4371
|
);
|
|
@@ -4417,26 +4374,26 @@ function Vt(e) {
|
|
|
4417
4374
|
s[43].id
|
|
4418
4375
|
);
|
|
4419
4376
|
for (let s = 0; s < i.length; s += 1) {
|
|
4420
|
-
let a =
|
|
4421
|
-
r.set(
|
|
4377
|
+
let a = Dt(e, i, s), l = o(a);
|
|
4378
|
+
r.set(l, t[s] = Xt(l, a));
|
|
4422
4379
|
}
|
|
4423
4380
|
return {
|
|
4424
4381
|
c() {
|
|
4425
4382
|
for (let s = 0; s < t.length; s += 1)
|
|
4426
4383
|
t[s].c();
|
|
4427
|
-
n =
|
|
4384
|
+
n = it();
|
|
4428
4385
|
},
|
|
4429
4386
|
m(s, a) {
|
|
4430
|
-
for (let
|
|
4431
|
-
t[
|
|
4387
|
+
for (let l = 0; l < t.length; l += 1)
|
|
4388
|
+
t[l] && t[l].m(s, a);
|
|
4432
4389
|
O(s, n, a);
|
|
4433
4390
|
},
|
|
4434
4391
|
p(s, a) {
|
|
4435
4392
|
a[0] & /*activevendor, vendors, handleClick, onCarouselItemKeydown, getButtonClasses, getGamesTotal, showvendorgames, showvendorname, showvendoricon, isMobile*/
|
|
4436
|
-
461903 && (i =
|
|
4393
|
+
461903 && (i = bt(
|
|
4437
4394
|
/*vendors*/
|
|
4438
4395
|
s[6]
|
|
4439
|
-
), t =
|
|
4396
|
+
), t = sn(t, a, o, 1, s, i, r, n.parentNode, on, Xt, n, Dt));
|
|
4440
4397
|
},
|
|
4441
4398
|
d(s) {
|
|
4442
4399
|
s && B(n);
|
|
@@ -4445,18 +4402,18 @@ function Vt(e) {
|
|
|
4445
4402
|
}
|
|
4446
4403
|
};
|
|
4447
4404
|
}
|
|
4448
|
-
function
|
|
4405
|
+
function Gt(e) {
|
|
4449
4406
|
let t;
|
|
4450
4407
|
function r(o, s) {
|
|
4451
4408
|
return (
|
|
4452
4409
|
/*isMobile*/
|
|
4453
|
-
o[10] ?
|
|
4410
|
+
o[10] ? Ho : To
|
|
4454
4411
|
);
|
|
4455
4412
|
}
|
|
4456
4413
|
let i = r(e)(e);
|
|
4457
4414
|
return {
|
|
4458
4415
|
c() {
|
|
4459
|
-
i.c(), t =
|
|
4416
|
+
i.c(), t = it();
|
|
4460
4417
|
},
|
|
4461
4418
|
m(o, s) {
|
|
4462
4419
|
i.m(o, s), O(o, t, s);
|
|
@@ -4469,65 +4426,65 @@ function Wt(e) {
|
|
|
4469
4426
|
}
|
|
4470
4427
|
};
|
|
4471
4428
|
}
|
|
4472
|
-
function
|
|
4429
|
+
function To(e) {
|
|
4473
4430
|
let t, r, n, i, o, s = (
|
|
4474
4431
|
/*showvendorname*/
|
|
4475
|
-
e[2] === "false" &&
|
|
4432
|
+
e[2] === "false" && kt()
|
|
4476
4433
|
);
|
|
4477
4434
|
return {
|
|
4478
4435
|
c() {
|
|
4479
|
-
t = T("img"), i =
|
|
4480
|
-
e[43].logo) ||
|
|
4436
|
+
t = T("img"), i = F(), s && s.c(), o = it(), Ce(t.src, r = /*vendor*/
|
|
4437
|
+
e[43].logo) || E(t, "src", r), E(t, "alt", n = /*vendor*/
|
|
4481
4438
|
e[43].displayName);
|
|
4482
4439
|
},
|
|
4483
|
-
m(a,
|
|
4484
|
-
O(a, t,
|
|
4440
|
+
m(a, l) {
|
|
4441
|
+
O(a, t, l), O(a, i, l), s && s.m(a, l), O(a, o, l);
|
|
4485
4442
|
},
|
|
4486
|
-
p(a,
|
|
4487
|
-
|
|
4488
|
-
64 && !
|
|
4489
|
-
a[43].logo) &&
|
|
4443
|
+
p(a, l) {
|
|
4444
|
+
l[0] & /*vendors*/
|
|
4445
|
+
64 && !Ce(t.src, r = /*vendor*/
|
|
4446
|
+
a[43].logo) && E(t, "src", r), l[0] & /*vendors*/
|
|
4490
4447
|
64 && n !== (n = /*vendor*/
|
|
4491
|
-
a[43].displayName) &&
|
|
4492
|
-
a[2] === "false" ? s || (s =
|
|
4448
|
+
a[43].displayName) && E(t, "alt", n), /*showvendorname*/
|
|
4449
|
+
a[2] === "false" ? s || (s = kt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
|
|
4493
4450
|
},
|
|
4494
4451
|
d(a) {
|
|
4495
4452
|
a && (B(t), B(i), B(o)), s && s.d(a);
|
|
4496
4453
|
}
|
|
4497
4454
|
};
|
|
4498
4455
|
}
|
|
4499
|
-
function
|
|
4456
|
+
function Ho(e) {
|
|
4500
4457
|
let t, r, n, i, o, s = (
|
|
4501
4458
|
/*showvendorname*/
|
|
4502
|
-
e[2] === "false" &&
|
|
4459
|
+
e[2] === "false" && Ft()
|
|
4503
4460
|
);
|
|
4504
4461
|
return {
|
|
4505
4462
|
c() {
|
|
4506
|
-
t = T("div"), r = T("img"), o =
|
|
4507
|
-
e[43].logo) ||
|
|
4508
|
-
e[43].displayName),
|
|
4463
|
+
t = T("div"), r = T("img"), o = F(), s && s.c(), Ce(r.src, n = /*vendor*/
|
|
4464
|
+
e[43].logo) || E(r, "src", n), E(r, "alt", i = /*vendor*/
|
|
4465
|
+
e[43].displayName), E(t, "class", "ImageContainer");
|
|
4509
4466
|
},
|
|
4510
|
-
m(a,
|
|
4511
|
-
O(a, t,
|
|
4467
|
+
m(a, l) {
|
|
4468
|
+
O(a, t, l), H(t, r), H(t, o), s && s.m(t, null);
|
|
4512
4469
|
},
|
|
4513
|
-
p(a,
|
|
4514
|
-
|
|
4515
|
-
64 && !
|
|
4516
|
-
a[43].logo) &&
|
|
4470
|
+
p(a, l) {
|
|
4471
|
+
l[0] & /*vendors*/
|
|
4472
|
+
64 && !Ce(r.src, n = /*vendor*/
|
|
4473
|
+
a[43].logo) && E(r, "src", n), l[0] & /*vendors*/
|
|
4517
4474
|
64 && i !== (i = /*vendor*/
|
|
4518
|
-
a[43].displayName) &&
|
|
4519
|
-
a[2] === "false" ? s || (s =
|
|
4475
|
+
a[43].displayName) && E(r, "alt", i), /*showvendorname*/
|
|
4476
|
+
a[2] === "false" ? s || (s = Ft(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
|
|
4520
4477
|
},
|
|
4521
4478
|
d(a) {
|
|
4522
4479
|
a && B(t), s && s.d();
|
|
4523
4480
|
}
|
|
4524
4481
|
};
|
|
4525
4482
|
}
|
|
4526
|
-
function
|
|
4483
|
+
function kt(e) {
|
|
4527
4484
|
let t;
|
|
4528
4485
|
return {
|
|
4529
4486
|
c() {
|
|
4530
|
-
t = T("div"),
|
|
4487
|
+
t = T("div"), E(t, "class", "ActiveImg");
|
|
4531
4488
|
},
|
|
4532
4489
|
m(r, n) {
|
|
4533
4490
|
O(r, t, n);
|
|
@@ -4537,11 +4494,11 @@ function Xt(e) {
|
|
|
4537
4494
|
}
|
|
4538
4495
|
};
|
|
4539
4496
|
}
|
|
4540
|
-
function
|
|
4497
|
+
function Ft(e) {
|
|
4541
4498
|
let t;
|
|
4542
4499
|
return {
|
|
4543
4500
|
c() {
|
|
4544
|
-
t = T("div"),
|
|
4501
|
+
t = T("div"), E(t, "class", "ActiveImg");
|
|
4545
4502
|
},
|
|
4546
4503
|
m(r, n) {
|
|
4547
4504
|
O(r, t, n);
|
|
@@ -4551,7 +4508,7 @@ function zt(e) {
|
|
|
4551
4508
|
}
|
|
4552
4509
|
};
|
|
4553
4510
|
}
|
|
4554
|
-
function
|
|
4511
|
+
function jt(e) {
|
|
4555
4512
|
var i;
|
|
4556
4513
|
let t, r = (
|
|
4557
4514
|
/*getGamesTotal*/
|
|
@@ -4562,7 +4519,7 @@ function Zt(e) {
|
|
|
4562
4519
|
), n;
|
|
4563
4520
|
return {
|
|
4564
4521
|
c() {
|
|
4565
|
-
t = T("span"), n =
|
|
4522
|
+
t = T("span"), n = me(r), E(t, "class", "categoryImgButtonCount");
|
|
4566
4523
|
},
|
|
4567
4524
|
m(o, s) {
|
|
4568
4525
|
O(o, t, s), H(t, n);
|
|
@@ -4574,14 +4531,14 @@ function Zt(e) {
|
|
|
4574
4531
|
o[18](
|
|
4575
4532
|
/*vendor*/
|
|
4576
4533
|
(a = o[43]) == null ? void 0 : a.games.total
|
|
4577
|
-
) + "") &&
|
|
4534
|
+
) + "") && ot(n, r);
|
|
4578
4535
|
},
|
|
4579
4536
|
d(o) {
|
|
4580
4537
|
o && B(t);
|
|
4581
4538
|
}
|
|
4582
4539
|
};
|
|
4583
4540
|
}
|
|
4584
|
-
function
|
|
4541
|
+
function Vt(e) {
|
|
4585
4542
|
var s;
|
|
4586
4543
|
let t, r = (
|
|
4587
4544
|
/*vendor*/
|
|
@@ -4589,34 +4546,34 @@ function Qt(e) {
|
|
|
4589
4546
|
), n, i, o = (
|
|
4590
4547
|
/*showvendorgames*/
|
|
4591
4548
|
e[3] !== "false" && /*vendor*/
|
|
4592
|
-
((s = e[43]) == null ? void 0 : s.games.total) &&
|
|
4549
|
+
((s = e[43]) == null ? void 0 : s.games.total) && Wt(e)
|
|
4593
4550
|
);
|
|
4594
4551
|
return {
|
|
4595
4552
|
c() {
|
|
4596
|
-
t = T("button"), n =
|
|
4553
|
+
t = T("button"), n = me(r), i = F(), o && o.c(), E(
|
|
4597
4554
|
t,
|
|
4598
4555
|
"class",
|
|
4599
4556
|
/*getButtonClasses*/
|
|
4600
4557
|
e[17]()
|
|
4601
4558
|
);
|
|
4602
4559
|
},
|
|
4603
|
-
m(a,
|
|
4604
|
-
O(a, t,
|
|
4560
|
+
m(a, l) {
|
|
4561
|
+
O(a, t, l), H(t, n), H(t, i), o && o.m(t, null);
|
|
4605
4562
|
},
|
|
4606
|
-
p(a,
|
|
4607
|
-
var
|
|
4608
|
-
|
|
4563
|
+
p(a, l) {
|
|
4564
|
+
var u;
|
|
4565
|
+
l[0] & /*vendors*/
|
|
4609
4566
|
64 && r !== (r = /*vendor*/
|
|
4610
|
-
a[43].displayName + "") &&
|
|
4567
|
+
a[43].displayName + "") && ot(n, r), /*showvendorgames*/
|
|
4611
4568
|
a[3] !== "false" && /*vendor*/
|
|
4612
|
-
((
|
|
4569
|
+
((u = a[43]) != null && u.games.total) ? o ? o.p(a, l) : (o = Wt(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
|
|
4613
4570
|
},
|
|
4614
4571
|
d(a) {
|
|
4615
4572
|
a && B(t), o && o.d();
|
|
4616
4573
|
}
|
|
4617
4574
|
};
|
|
4618
4575
|
}
|
|
4619
|
-
function
|
|
4576
|
+
function Wt(e) {
|
|
4620
4577
|
var i;
|
|
4621
4578
|
let t, r = (
|
|
4622
4579
|
/*getGamesTotal*/
|
|
@@ -4627,7 +4584,7 @@ function Yt(e) {
|
|
|
4627
4584
|
), n;
|
|
4628
4585
|
return {
|
|
4629
4586
|
c() {
|
|
4630
|
-
t = T("span"), n =
|
|
4587
|
+
t = T("span"), n = me(r), E(t, "class", "CategoryButtonCount");
|
|
4631
4588
|
},
|
|
4632
4589
|
m(o, s) {
|
|
4633
4590
|
O(o, t, s), H(t, n);
|
|
@@ -4639,27 +4596,27 @@ function Yt(e) {
|
|
|
4639
4596
|
o[18](
|
|
4640
4597
|
/*vendor*/
|
|
4641
4598
|
(a = o[43]) == null ? void 0 : a.games.total
|
|
4642
|
-
) + "") &&
|
|
4599
|
+
) + "") && ot(n, r);
|
|
4643
4600
|
},
|
|
4644
4601
|
d(o) {
|
|
4645
4602
|
o && B(t);
|
|
4646
4603
|
}
|
|
4647
4604
|
};
|
|
4648
4605
|
}
|
|
4649
|
-
function
|
|
4650
|
-
var b,
|
|
4651
|
-
let r, n, i, o, s, a,
|
|
4606
|
+
function Xt(e, t) {
|
|
4607
|
+
var b, p;
|
|
4608
|
+
let r, n, i, o, s, a, l, u = (
|
|
4652
4609
|
/*showvendoricon*/
|
|
4653
|
-
t[1] !== "false" &&
|
|
4610
|
+
t[1] !== "false" && Gt(t)
|
|
4654
4611
|
), h = (
|
|
4655
4612
|
/*showvendoricon*/
|
|
4656
4613
|
t[1] == "true" && /*showvendorgames*/
|
|
4657
4614
|
t[3] !== "false" && /*showvendorname*/
|
|
4658
4615
|
t[2] == "false" && /*vendor*/
|
|
4659
|
-
((
|
|
4616
|
+
((p = (b = t[43]) == null ? void 0 : b.games) == null ? void 0 : p.total) && jt(t)
|
|
4660
4617
|
), c = (
|
|
4661
4618
|
/*showvendorname*/
|
|
4662
|
-
t[2] !== "false" &&
|
|
4619
|
+
t[2] !== "false" && Vt(t)
|
|
4663
4620
|
);
|
|
4664
4621
|
function f(...m) {
|
|
4665
4622
|
return (
|
|
@@ -4677,7 +4634,7 @@ function qt(e, t) {
|
|
|
4677
4634
|
key: e,
|
|
4678
4635
|
first: null,
|
|
4679
4636
|
c() {
|
|
4680
|
-
r = T("li"),
|
|
4637
|
+
r = T("li"), u && u.c(), n = F(), h && h.c(), i = F(), c && c.c(), o = F(), E(r, "class", s = "CarouselItem " + (String(
|
|
4681
4638
|
/*activevendor*/
|
|
4682
4639
|
t[0]
|
|
4683
4640
|
) == String(
|
|
@@ -4685,11 +4642,11 @@ function qt(e, t) {
|
|
|
4685
4642
|
t[43].id
|
|
4686
4643
|
) ? "active" : "") + " SecondaryMenu"), this.first = r;
|
|
4687
4644
|
},
|
|
4688
|
-
m(m,
|
|
4689
|
-
O(m, r,
|
|
4645
|
+
m(m, C) {
|
|
4646
|
+
O(m, r, C), 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 = [
|
|
4690
4647
|
K(r, "click", f),
|
|
4691
4648
|
K(r, "keydown", function() {
|
|
4692
|
-
|
|
4649
|
+
Te(
|
|
4693
4650
|
/*onCarouselItemKeydown*/
|
|
4694
4651
|
t[16](
|
|
4695
4652
|
/*vendor*/
|
|
@@ -4706,36 +4663,36 @@ function qt(e, t) {
|
|
|
4706
4663
|
})
|
|
4707
4664
|
], a = !0);
|
|
4708
4665
|
},
|
|
4709
|
-
p(m,
|
|
4666
|
+
p(m, C) {
|
|
4710
4667
|
var P, A;
|
|
4711
4668
|
t = m, /*showvendoricon*/
|
|
4712
|
-
t[1] !== "false" ?
|
|
4669
|
+
t[1] !== "false" ? u ? u.p(t, C) : (u = Gt(t), u.c(), u.m(r, n)) : u && (u.d(1), u = null), /*showvendoricon*/
|
|
4713
4670
|
t[1] == "true" && /*showvendorgames*/
|
|
4714
4671
|
t[3] !== "false" && /*showvendorname*/
|
|
4715
4672
|
t[2] == "false" && /*vendor*/
|
|
4716
|
-
((A = (P = t[43]) == null ? void 0 : P.games) != null && A.total) ? h ? h.p(t,
|
|
4717
|
-
t[2] !== "false" ? c ? c.p(t,
|
|
4673
|
+
((A = (P = t[43]) == null ? void 0 : P.games) != null && A.total) ? h ? h.p(t, C) : (h = jt(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
|
|
4674
|
+
t[2] !== "false" ? c ? c.p(t, C) : (c = Vt(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), C[0] & /*activevendor, vendors*/
|
|
4718
4675
|
65 && s !== (s = "CarouselItem " + (String(
|
|
4719
4676
|
/*activevendor*/
|
|
4720
4677
|
t[0]
|
|
4721
4678
|
) == String(
|
|
4722
4679
|
/*vendor*/
|
|
4723
4680
|
t[43].id
|
|
4724
|
-
) ? "active" : "") + " SecondaryMenu") &&
|
|
4681
|
+
) ? "active" : "") + " SecondaryMenu") && E(r, "class", s);
|
|
4725
4682
|
},
|
|
4726
4683
|
d(m) {
|
|
4727
|
-
m && B(r),
|
|
4684
|
+
m && B(r), u && u.d(), h && h.d(), c && c.d(), a = !1, z(l);
|
|
4728
4685
|
}
|
|
4729
4686
|
};
|
|
4730
4687
|
}
|
|
4731
|
-
function
|
|
4688
|
+
function Ao(e) {
|
|
4732
4689
|
let t;
|
|
4733
4690
|
function r(o, s) {
|
|
4734
4691
|
return (
|
|
4735
4692
|
/*isLoading*/
|
|
4736
|
-
o[5] ?
|
|
4693
|
+
o[5] ? So : (
|
|
4737
4694
|
/*hasErrors*/
|
|
4738
|
-
o[7] ?
|
|
4695
|
+
o[7] ? wo : Co
|
|
4739
4696
|
)
|
|
4740
4697
|
);
|
|
4741
4698
|
}
|
|
@@ -4757,165 +4714,165 @@ function Mo(e) {
|
|
|
4757
4714
|
}
|
|
4758
4715
|
};
|
|
4759
4716
|
}
|
|
4760
|
-
function
|
|
4761
|
-
|
|
4762
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent:
|
|
4717
|
+
function Io(e, t, r) {
|
|
4718
|
+
bo({ withLocale: "en", translations: {} });
|
|
4719
|
+
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, C = Ut(m) !== "PC", P = !0, A, I = [], L = !1, S, R, g;
|
|
4763
4720
|
const $ = () => {
|
|
4764
|
-
fetch(
|
|
4765
|
-
Object.keys(
|
|
4766
|
-
|
|
4721
|
+
fetch(u).then((x) => x.json()).then((x) => {
|
|
4722
|
+
Object.keys(x).forEach((M) => {
|
|
4723
|
+
go(M, x[M]);
|
|
4767
4724
|
});
|
|
4768
|
-
}).catch((
|
|
4769
|
-
console.log(
|
|
4725
|
+
}).catch((x) => {
|
|
4726
|
+
console.log(x);
|
|
4770
4727
|
});
|
|
4771
4728
|
}, G = () => {
|
|
4772
|
-
|
|
4773
|
-
}, 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),
|
|
4729
|
+
vo(o);
|
|
4730
|
+
}, 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), Hr = () => {
|
|
4774
4731
|
if (!Q()) {
|
|
4775
|
-
let
|
|
4776
|
-
|
|
4777
|
-
(
|
|
4778
|
-
let M =
|
|
4732
|
+
let d = new URL(`${n}/v1/casino/vendors`);
|
|
4733
|
+
d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform", Ut(m)), fetch(d).then((x) => x.json()).then(
|
|
4734
|
+
(x) => {
|
|
4735
|
+
let M = x.items.filter((Le) => Le.games.total > 0);
|
|
4779
4736
|
r(6, I = []), r(6, I = I.concat(M)), r(5, P = !1);
|
|
4780
4737
|
},
|
|
4781
|
-
(
|
|
4782
|
-
r(7, L = !0), console.error("There was an error while fetching the vendors",
|
|
4738
|
+
(x) => {
|
|
4739
|
+
r(7, L = !0), console.error("There was an error while fetching the vendors", x);
|
|
4783
4740
|
}
|
|
4784
|
-
).catch((
|
|
4785
|
-
r(7, L = !0), console.error("There was an error while fetching the vendors",
|
|
4741
|
+
).catch((x) => {
|
|
4742
|
+
r(7, L = !0), console.error("There was an error while fetching the vendors", x);
|
|
4786
4743
|
});
|
|
4787
4744
|
}
|
|
4788
4745
|
};
|
|
4789
|
-
|
|
4746
|
+
Jr(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
4790
4747
|
() => {
|
|
4791
|
-
g && g.addEventListener("scroll",
|
|
4748
|
+
g && g.addEventListener("scroll", Me);
|
|
4792
4749
|
},
|
|
4793
4750
|
500
|
|
4794
4751
|
), () => {
|
|
4795
|
-
R.removeEventListener("scroll",
|
|
4752
|
+
R.removeEventListener("scroll", Me);
|
|
4796
4753
|
}));
|
|
4797
|
-
let
|
|
4754
|
+
let Oe = (d, x) => {
|
|
4798
4755
|
var M;
|
|
4799
|
-
|
|
4756
|
+
Me(), r(0, b = d.id), window.postMessage(
|
|
4800
4757
|
{
|
|
4801
|
-
type:
|
|
4802
|
-
itemId:
|
|
4803
|
-
index:
|
|
4804
|
-
item:
|
|
4805
|
-
path:
|
|
4806
|
-
externalLink:
|
|
4807
|
-
target: ((M =
|
|
4758
|
+
type: l,
|
|
4759
|
+
itemId: d.id,
|
|
4760
|
+
index: x,
|
|
4761
|
+
item: d,
|
|
4762
|
+
path: d.path,
|
|
4763
|
+
externalLink: d.externalLink || !1,
|
|
4764
|
+
target: ((M = d.attrs) == null ? void 0 : M.target) || null
|
|
4808
4765
|
},
|
|
4809
4766
|
window.location.href
|
|
4810
4767
|
);
|
|
4811
|
-
},
|
|
4812
|
-
const
|
|
4813
|
-
if (
|
|
4814
|
-
const
|
|
4768
|
+
}, lt = () => {
|
|
4769
|
+
const d = g.scrollLeft;
|
|
4770
|
+
if (d > 0) {
|
|
4771
|
+
const x = Math.min(250, d);
|
|
4815
4772
|
g.scrollBy({
|
|
4816
|
-
left: -
|
|
4773
|
+
left: -x,
|
|
4817
4774
|
behavior: "smooth"
|
|
4818
4775
|
});
|
|
4819
4776
|
}
|
|
4820
|
-
},
|
|
4821
|
-
const
|
|
4822
|
-
if (
|
|
4823
|
-
const
|
|
4824
|
-
g.scrollBy({ left:
|
|
4777
|
+
}, ut = () => {
|
|
4778
|
+
const d = g.scrollLeft, x = g.scrollWidth, M = g.clientWidth;
|
|
4779
|
+
if (d + M < x) {
|
|
4780
|
+
const Le = x - (d + M), Dr = Math.min(250, Le);
|
|
4781
|
+
g.scrollBy({ left: Dr, behavior: "smooth" });
|
|
4825
4782
|
}
|
|
4826
4783
|
};
|
|
4827
|
-
const
|
|
4828
|
-
const
|
|
4784
|
+
const Me = () => {
|
|
4785
|
+
const d = R.querySelectorAll(".DropDown");
|
|
4829
4786
|
document.activeElement.blur(), g.classList.add("isScrolling");
|
|
4830
|
-
for (let
|
|
4831
|
-
|
|
4787
|
+
for (let x = 0; x < d.length; x++)
|
|
4788
|
+
d[x].style.transform = "translateX(-" + g.scrollLeft + "px)";
|
|
4832
4789
|
g.classList.remove("isScrolling");
|
|
4833
|
-
},
|
|
4834
|
-
(
|
|
4835
|
-
},
|
|
4836
|
-
(
|
|
4837
|
-
},
|
|
4838
|
-
(M.key === "Enter" || M.key === " ") && (
|
|
4839
|
-
},
|
|
4840
|
-
if (
|
|
4790
|
+
}, Ar = (d) => {
|
|
4791
|
+
(d.key === "Enter" || d.key === " ") && (ut(), d.preventDefault());
|
|
4792
|
+
}, Ir = (d) => {
|
|
4793
|
+
(d.key === "Enter" || d.key === " ") && (lt(), d.preventDefault());
|
|
4794
|
+
}, Br = (d, x) => (M) => {
|
|
4795
|
+
(M.key === "Enter" || M.key === " ") && (Oe(d, x), M.preventDefault());
|
|
4796
|
+
}, Pr = () => {
|
|
4797
|
+
if (C && c === "true" && h === "false")
|
|
4841
4798
|
return "MobileCategoryButton";
|
|
4842
|
-
},
|
|
4843
|
-
|
|
4799
|
+
}, Or = (d) => d > 1e3 ? "999+" : d, Mr = (d, x, M) => {
|
|
4800
|
+
Oe(d, x), M.preventDefault();
|
|
4844
4801
|
};
|
|
4845
|
-
function
|
|
4846
|
-
ee[
|
|
4847
|
-
R =
|
|
4802
|
+
function Lr(d) {
|
|
4803
|
+
ee[d ? "unshift" : "push"](() => {
|
|
4804
|
+
R = d, r(8, R);
|
|
4848
4805
|
});
|
|
4849
4806
|
}
|
|
4850
|
-
function
|
|
4851
|
-
ee[
|
|
4852
|
-
g =
|
|
4807
|
+
function Nr(d) {
|
|
4808
|
+
ee[d ? "unshift" : "push"](() => {
|
|
4809
|
+
g = d, r(9, g);
|
|
4853
4810
|
});
|
|
4854
4811
|
}
|
|
4855
|
-
function
|
|
4856
|
-
ee[
|
|
4857
|
-
|
|
4812
|
+
function Rr(d) {
|
|
4813
|
+
ee[d ? "unshift" : "push"](() => {
|
|
4814
|
+
S = d, r(4, S);
|
|
4858
4815
|
});
|
|
4859
4816
|
}
|
|
4860
|
-
function
|
|
4861
|
-
ee[
|
|
4862
|
-
|
|
4817
|
+
function Ur(d) {
|
|
4818
|
+
ee[d ? "unshift" : "push"](() => {
|
|
4819
|
+
S = d, r(4, S);
|
|
4863
4820
|
});
|
|
4864
4821
|
}
|
|
4865
|
-
return e.$$set = (
|
|
4866
|
-
"endpoint" in
|
|
4822
|
+
return e.$$set = (d) => {
|
|
4823
|
+
"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);
|
|
4867
4824
|
}, e.$$.update = () => {
|
|
4868
4825
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
4869
|
-
2621440 && n && o &&
|
|
4870
|
-
33554432 &&
|
|
4826
|
+
2621440 && n && o && Hr(), e.$$.dirty[0] & /*translationurl*/
|
|
4827
|
+
33554432 && u && $(), e.$$.dirty[0] & /*activevendor*/
|
|
4871
4828
|
1, e.$$.dirty[0] & /*lang*/
|
|
4872
4829
|
2097152 && o && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4873
|
-
4194320 && s &&
|
|
4874
|
-
8388624 && a &&
|
|
4875
|
-
67108880 &&
|
|
4830
|
+
4194320 && s && S && yo(S, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4831
|
+
8388624 && a && S && _o(S, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4832
|
+
67108880 && p && S && xo(S, `${p}.Style`);
|
|
4876
4833
|
}, [
|
|
4877
4834
|
b,
|
|
4878
4835
|
h,
|
|
4879
4836
|
c,
|
|
4880
4837
|
f,
|
|
4881
|
-
|
|
4838
|
+
S,
|
|
4882
4839
|
P,
|
|
4883
4840
|
I,
|
|
4884
4841
|
L,
|
|
4885
4842
|
R,
|
|
4886
4843
|
g,
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4844
|
+
C,
|
|
4845
|
+
Oe,
|
|
4846
|
+
lt,
|
|
4847
|
+
ut,
|
|
4848
|
+
Ar,
|
|
4849
|
+
Ir,
|
|
4850
|
+
Br,
|
|
4851
|
+
Pr,
|
|
4852
|
+
Or,
|
|
4896
4853
|
n,
|
|
4897
4854
|
i,
|
|
4898
4855
|
o,
|
|
4899
4856
|
s,
|
|
4900
4857
|
a,
|
|
4901
|
-
u,
|
|
4902
4858
|
l,
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4859
|
+
u,
|
|
4860
|
+
p,
|
|
4861
|
+
Mr,
|
|
4862
|
+
Lr,
|
|
4863
|
+
Nr,
|
|
4864
|
+
Rr,
|
|
4865
|
+
Ur
|
|
4909
4866
|
];
|
|
4910
4867
|
}
|
|
4911
|
-
class
|
|
4868
|
+
class Bo extends fn {
|
|
4912
4869
|
constructor(t) {
|
|
4913
|
-
super(),
|
|
4870
|
+
super(), hn(
|
|
4914
4871
|
this,
|
|
4915
4872
|
t,
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4873
|
+
Io,
|
|
4874
|
+
Ao,
|
|
4875
|
+
Zt,
|
|
4919
4876
|
{
|
|
4920
4877
|
endpoint: 19,
|
|
4921
4878
|
datasource: 20,
|
|
@@ -4930,7 +4887,7 @@ class No extends gn {
|
|
|
4930
4887
|
activevendor: 0,
|
|
4931
4888
|
mbsource: 26
|
|
4932
4889
|
},
|
|
4933
|
-
|
|
4890
|
+
Eo,
|
|
4934
4891
|
[-1, -1]
|
|
4935
4892
|
);
|
|
4936
4893
|
}
|
|
@@ -5007,7 +4964,7 @@ class No extends gn {
|
|
|
5007
4964
|
this.$$set({ mbsource: t }), U();
|
|
5008
4965
|
}
|
|
5009
4966
|
}
|
|
5010
|
-
|
|
4967
|
+
cn(Bo, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
|
|
5011
4968
|
export {
|
|
5012
|
-
|
|
4969
|
+
Bo as default
|
|
5013
4970
|
};
|