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