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