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