@everymatrix/casino-last-played-section 1.87.26 → 1.87.27
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/CasinoFilter-Bq27fkl0.cjs +1 -0
- package/components/CasinoFilter-RGuOjNV-.js +644 -0
- package/components/CasinoFilter-ur0N0e_q.js +645 -0
- package/components/CasinoGameThumbnail-CWi08UB2.js +1831 -0
- package/components/CasinoGameThumbnail-Ck10-v-p.js +1847 -0
- package/components/CasinoGameThumbnail-D8eKiOCc.cjs +38 -0
- package/components/CasinoGamesCategorySection-BIc39Efl.js +5745 -0
- package/components/CasinoGamesCategorySection-BxPHrlVj.js +5713 -0
- package/components/CasinoGamesCategorySection-Y8eLR0W5.cjs +10 -0
- package/components/CasinoLastPlayedSection-DrrWbeZS.cjs +18 -0
- package/components/{CasinoFilter-BTVMoy_t.js → CasinoLastPlayedSection-jaTKdLsf.js} +1631 -1644
- package/components/{CasinoFilter-aZNjaj7s.js → CasinoLastPlayedSection-tw4aeVIv.js} +1553 -1570
- package/components/{CasinoSort-BllIwG-L.js → CasinoSort-CliCKl9a.js} +110 -109
- package/components/CasinoSort-CwwPvIGU.cjs +1 -0
- package/components/{CasinoSort-tQyhZT1U.js → CasinoSort-OyxicsAe.js} +96 -97
- package/es2015/casino-last-played-section.cjs +1 -1
- package/es2015/casino-last-played-section.js +7 -7
- package/esnext/casino-last-played-section.js +1 -1
- package/package.json +1 -1
- package/components/CasinoFilter-ChNOJ2MK.cjs +0 -18
- package/components/CasinoGameThumbnail-BRddAcBN.js +0 -4359
- package/components/CasinoGameThumbnail-D5aY7MyL.cjs +0 -47
- package/components/CasinoGameThumbnail-rFXSnS2v.js +0 -4375
- package/components/CasinoGamesCategorySection-6xzUZp3K.js +0 -3185
- package/components/CasinoGamesCategorySection-BHDp-KJ4.js +0 -3217
- package/components/CasinoGamesCategorySection-k99QzULe.cjs +0 -1
- package/components/CasinoLastPlayedSection-CKRaykV6.js +0 -601
- package/components/CasinoLastPlayedSection-CjV0ylzn.js +0 -601
- package/components/CasinoLastPlayedSection-ds7jt5iT.cjs +0 -1
- package/components/CasinoSort-Bjtm0zBv.cjs +0 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
function
|
|
1
|
+
function U() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Rt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ft() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function te(e) {
|
|
10
|
+
e.forEach(Rt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function it(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Ut(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let be;
|
|
19
|
+
function cs(e, t) {
|
|
20
|
+
return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Pr(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Gt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
29
|
-
return
|
|
29
|
+
return U;
|
|
30
30
|
}
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Br(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Gt(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function st(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Or(e, t, r) {
|
|
41
|
+
const n = Lr(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = V("style");
|
|
44
|
+
i.id = t, i.textContent = r, Cr(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Lr(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,62 +54,62 @@ function Dr(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
57
|
+
function Cr(e, t) {
|
|
58
|
+
return st(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
61
61
|
t
|
|
62
62
|
), t.sheet;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function fe(e, t, r) {
|
|
65
65
|
e.insertBefore(t, r || null);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function re(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function fs(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function V(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Nr(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function ot(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function ms() {
|
|
84
|
+
return ot(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function ds() {
|
|
87
|
+
return ot("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ps(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function ue(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function p(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
|
97
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
97
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ue(e, t, r);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Ir(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Mr(e, t) {
|
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
104
|
t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function bs(e, t) {
|
|
107
107
|
e.value = t ?? "";
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function gs(e, t, r) {
|
|
110
110
|
e.classList.toggle(t, !!r);
|
|
111
111
|
}
|
|
112
|
-
class
|
|
112
|
+
class ys {
|
|
113
113
|
/**
|
|
114
114
|
* @private
|
|
115
115
|
* @default false
|
|
@@ -140,10 +140,10 @@ class So {
|
|
|
140
140
|
* @returns {void}
|
|
141
141
|
*/
|
|
142
142
|
m(t, r, n = null) {
|
|
143
|
-
this.e || (this.is_svg ? this.e =
|
|
143
|
+
this.e || (this.is_svg ? this.e = Nr(
|
|
144
144
|
/** @type {keyof SVGElementTagNameMap} */
|
|
145
145
|
r.nodeName
|
|
146
|
-
) : this.e =
|
|
146
|
+
) : this.e = V(
|
|
147
147
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
148
148
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
149
149
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -164,7 +164,7 @@ class So {
|
|
|
164
164
|
* @returns {void} */
|
|
165
165
|
i(t) {
|
|
166
166
|
for (let r = 0; r < this.n.length; r += 1)
|
|
167
|
-
|
|
167
|
+
fe(this.t, this.n[r], t);
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
170
170
|
* @param {string} html
|
|
@@ -176,10 +176,10 @@ class So {
|
|
|
176
176
|
/**
|
|
177
177
|
* @returns {void} */
|
|
178
178
|
d() {
|
|
179
|
-
this.n.forEach(
|
|
179
|
+
this.n.forEach(re);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Rr(e) {
|
|
183
183
|
const t = {};
|
|
184
184
|
return e.childNodes.forEach(
|
|
185
185
|
/** @param {Element} node */
|
|
@@ -188,134 +188,134 @@ function Vr(e) {
|
|
|
188
188
|
}
|
|
189
189
|
), t;
|
|
190
190
|
}
|
|
191
|
-
let
|
|
192
|
-
function
|
|
193
|
-
|
|
191
|
+
let he;
|
|
192
|
+
function ae(e) {
|
|
193
|
+
he = e;
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
if (!
|
|
195
|
+
function Dt() {
|
|
196
|
+
if (!he)
|
|
197
197
|
throw new Error("Function called outside component initialization");
|
|
198
|
-
return
|
|
198
|
+
return he;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
201
|
-
|
|
200
|
+
function Ur(e) {
|
|
201
|
+
Dt().$$.on_mount.push(e);
|
|
202
202
|
}
|
|
203
|
-
function
|
|
204
|
-
|
|
203
|
+
function vs(e) {
|
|
204
|
+
Dt().$$.on_destroy.push(e);
|
|
205
205
|
}
|
|
206
|
-
const
|
|
207
|
-
let
|
|
208
|
-
const
|
|
209
|
-
let
|
|
210
|
-
function
|
|
211
|
-
|
|
206
|
+
const Z = [], $e = [];
|
|
207
|
+
let Y = [];
|
|
208
|
+
const mt = [], $t = /* @__PURE__ */ Promise.resolve();
|
|
209
|
+
let Fe = !1;
|
|
210
|
+
function Ft() {
|
|
211
|
+
Fe || (Fe = !0, $t.then(E));
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
return
|
|
213
|
+
function _s() {
|
|
214
|
+
return Ft(), $t;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
216
|
+
function je(e) {
|
|
217
|
+
Y.push(e);
|
|
218
218
|
}
|
|
219
|
-
const
|
|
220
|
-
let
|
|
221
|
-
function
|
|
222
|
-
if (
|
|
219
|
+
const Ce = /* @__PURE__ */ new Set();
|
|
220
|
+
let W = 0;
|
|
221
|
+
function E() {
|
|
222
|
+
if (W !== 0)
|
|
223
223
|
return;
|
|
224
|
-
const e =
|
|
224
|
+
const e = he;
|
|
225
225
|
do {
|
|
226
226
|
try {
|
|
227
|
-
for (;
|
|
228
|
-
const t =
|
|
229
|
-
|
|
227
|
+
for (; W < Z.length; ) {
|
|
228
|
+
const t = Z[W];
|
|
229
|
+
W++, ae(t), Gr(t.$$);
|
|
230
230
|
}
|
|
231
231
|
} catch (t) {
|
|
232
|
-
throw
|
|
232
|
+
throw Z.length = 0, W = 0, t;
|
|
233
233
|
}
|
|
234
|
-
for (
|
|
235
|
-
|
|
236
|
-
for (let t = 0; t <
|
|
237
|
-
const r =
|
|
238
|
-
|
|
234
|
+
for (ae(null), Z.length = 0, W = 0; $e.length; )
|
|
235
|
+
$e.pop()();
|
|
236
|
+
for (let t = 0; t < Y.length; t += 1) {
|
|
237
|
+
const r = Y[t];
|
|
238
|
+
Ce.has(r) || (Ce.add(r), r());
|
|
239
239
|
}
|
|
240
|
-
|
|
241
|
-
} while (
|
|
242
|
-
for (;
|
|
243
|
-
|
|
244
|
-
|
|
240
|
+
Y.length = 0;
|
|
241
|
+
} while (Z.length);
|
|
242
|
+
for (; mt.length; )
|
|
243
|
+
mt.pop()();
|
|
244
|
+
Fe = !1, Ce.clear(), ae(e);
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function Gr(e) {
|
|
247
247
|
if (e.fragment !== null) {
|
|
248
|
-
e.update(),
|
|
248
|
+
e.update(), te(e.before_update);
|
|
249
249
|
const t = e.dirty;
|
|
250
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
250
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function Dr(e) {
|
|
254
254
|
const t = [], r = [];
|
|
255
|
-
|
|
255
|
+
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
|
256
256
|
}
|
|
257
|
-
const
|
|
258
|
-
function
|
|
259
|
-
e && e.i && (
|
|
257
|
+
const $r = /* @__PURE__ */ new Set();
|
|
258
|
+
function jt(e, t) {
|
|
259
|
+
e && e.i && ($r.delete(e), e.i(t));
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Es(e) {
|
|
262
262
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function xs(e, t) {
|
|
265
265
|
e.d(1), t.delete(e.key);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
let c = e.length,
|
|
269
|
-
const
|
|
270
|
-
for (;
|
|
271
|
-
|
|
272
|
-
const
|
|
273
|
-
for (
|
|
274
|
-
const
|
|
275
|
-
let
|
|
276
|
-
|
|
267
|
+
function Ss(e, t, r, n, i, s, o, a, h, u, l, f) {
|
|
268
|
+
let c = e.length, d = s.length, b = c;
|
|
269
|
+
const v = {};
|
|
270
|
+
for (; b--; )
|
|
271
|
+
v[e[b].key] = b;
|
|
272
|
+
const w = [], N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
|
|
273
|
+
for (b = d; b--; ) {
|
|
274
|
+
const _ = f(i, s, b), O = r(_);
|
|
275
|
+
let C = o.get(O);
|
|
276
|
+
C ? T.push(() => C.p(_, t)) : (C = u(O, _), C.c()), N.set(O, w[b] = C), O in v && P.set(O, Math.abs(b - v[O]));
|
|
277
277
|
}
|
|
278
|
-
const I = /* @__PURE__ */ new Set(),
|
|
279
|
-
function M(
|
|
280
|
-
|
|
278
|
+
const I = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Set();
|
|
279
|
+
function M(_) {
|
|
280
|
+
jt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
|
281
281
|
}
|
|
282
|
-
for (; c &&
|
|
283
|
-
const
|
|
284
|
-
|
|
282
|
+
for (; c && d; ) {
|
|
283
|
+
const _ = w[d - 1], O = e[c - 1], C = _.key, F = O.key;
|
|
284
|
+
_ === O ? (l = _.first, c--, d--) : N.has(F) ? !o.has(C) || I.has(C) ? M(_) : B.has(F) ? c-- : P.get(C) > P.get(F) ? (B.add(C), M(_)) : (I.add(F), c--) : (h(O, o), c--);
|
|
285
285
|
}
|
|
286
286
|
for (; c--; ) {
|
|
287
|
-
const
|
|
288
|
-
|
|
287
|
+
const _ = e[c];
|
|
288
|
+
N.has(_.key) || h(_, o);
|
|
289
289
|
}
|
|
290
|
-
for (;
|
|
291
|
-
M(
|
|
292
|
-
return
|
|
290
|
+
for (; d; )
|
|
291
|
+
M(w[d - 1]);
|
|
292
|
+
return te(T), w;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function Fr(e, t, r) {
|
|
295
295
|
const { fragment: n, after_update: i } = e.$$;
|
|
296
|
-
n && n.m(t, r),
|
|
297
|
-
const
|
|
298
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
299
|
-
}), i.forEach(
|
|
296
|
+
n && n.m(t, r), je(() => {
|
|
297
|
+
const s = e.$$.on_mount.map(Rt).filter(it);
|
|
298
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
|
|
299
|
+
}), i.forEach(je);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function jr(e, t) {
|
|
302
302
|
const r = e.$$;
|
|
303
|
-
r.fragment !== null && (
|
|
303
|
+
r.fragment !== null && (Dr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
304
304
|
}
|
|
305
|
-
function
|
|
306
|
-
e.$$.dirty[0] === -1 && (
|
|
305
|
+
function kr(e, t) {
|
|
306
|
+
e.$$.dirty[0] === -1 && (Z.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
307
307
|
}
|
|
308
|
-
function
|
|
309
|
-
const h =
|
|
310
|
-
|
|
311
|
-
const
|
|
308
|
+
function Vr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
309
|
+
const h = he;
|
|
310
|
+
ae(e);
|
|
311
|
+
const u = e.$$ = {
|
|
312
312
|
fragment: null,
|
|
313
313
|
ctx: [],
|
|
314
314
|
// state
|
|
315
|
-
props:
|
|
316
|
-
update:
|
|
315
|
+
props: s,
|
|
316
|
+
update: U,
|
|
317
317
|
not_equal: i,
|
|
318
|
-
bound:
|
|
318
|
+
bound: ft(),
|
|
319
319
|
// lifecycle
|
|
320
320
|
on_mount: [],
|
|
321
321
|
on_destroy: [],
|
|
@@ -324,28 +324,28 @@ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
324
324
|
after_update: [],
|
|
325
325
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
326
326
|
// everything else
|
|
327
|
-
callbacks:
|
|
327
|
+
callbacks: ft(),
|
|
328
328
|
dirty: a,
|
|
329
329
|
skip_bound: !1,
|
|
330
330
|
root: t.target || h.$$.root
|
|
331
331
|
};
|
|
332
|
-
|
|
333
|
-
let
|
|
334
|
-
if (
|
|
335
|
-
const
|
|
336
|
-
return
|
|
337
|
-
}) : [],
|
|
332
|
+
o && o(u.root);
|
|
333
|
+
let l = !1;
|
|
334
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
335
|
+
const b = d.length ? d[0] : c;
|
|
336
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && kr(e, f)), c;
|
|
337
|
+
}) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
338
338
|
if (t.hydrate) {
|
|
339
|
-
const
|
|
340
|
-
|
|
339
|
+
const f = Ir(t.target);
|
|
340
|
+
u.fragment && u.fragment.l(f), f.forEach(re);
|
|
341
341
|
} else
|
|
342
|
-
|
|
343
|
-
t.intro &&
|
|
342
|
+
u.fragment && u.fragment.c();
|
|
343
|
+
t.intro && jt(e.$$.fragment), Fr(e, t.target, t.anchor), E();
|
|
344
344
|
}
|
|
345
|
-
|
|
345
|
+
ae(h);
|
|
346
346
|
}
|
|
347
|
-
let
|
|
348
|
-
typeof HTMLElement == "function" && (
|
|
347
|
+
let kt;
|
|
348
|
+
typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
349
349
|
/** The Svelte component constructor */
|
|
350
350
|
$$ctor;
|
|
351
351
|
/** Slots */
|
|
@@ -384,32 +384,32 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
384
384
|
if (this.$$cn = !0, !this.$$c) {
|
|
385
385
|
let e = function(i) {
|
|
386
386
|
return () => {
|
|
387
|
-
let
|
|
387
|
+
let s;
|
|
388
388
|
return {
|
|
389
389
|
c: function() {
|
|
390
|
-
|
|
390
|
+
s = V("slot"), i !== "default" && ue(s, "name", i);
|
|
391
391
|
},
|
|
392
392
|
/**
|
|
393
393
|
* @param {HTMLElement} target
|
|
394
394
|
* @param {HTMLElement} [anchor]
|
|
395
395
|
*/
|
|
396
|
-
m: function(h,
|
|
397
|
-
|
|
396
|
+
m: function(h, u) {
|
|
397
|
+
fe(h, s, u);
|
|
398
398
|
},
|
|
399
399
|
d: function(h) {
|
|
400
|
-
h &&
|
|
400
|
+
h && re(s);
|
|
401
401
|
}
|
|
402
402
|
};
|
|
403
403
|
};
|
|
404
404
|
};
|
|
405
405
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
406
406
|
return;
|
|
407
|
-
const t = {}, r =
|
|
407
|
+
const t = {}, r = Rr(this);
|
|
408
408
|
for (const i of this.$$s)
|
|
409
409
|
i in r && (t[i] = [e(i)]);
|
|
410
410
|
for (const i of this.attributes) {
|
|
411
|
-
const
|
|
412
|
-
|
|
411
|
+
const s = this.$$g_p(i.name);
|
|
412
|
+
s in this.$$d || (this.$$d[s] = ve(s, i.value, this.$$p_d, "toProp"));
|
|
413
413
|
}
|
|
414
414
|
for (const i in this.$$p_d)
|
|
415
415
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -427,21 +427,21 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
427
427
|
this.$$r = !0;
|
|
428
428
|
for (const i in this.$$p_d)
|
|
429
429
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
430
|
-
const
|
|
430
|
+
const s = ve(
|
|
431
431
|
i,
|
|
432
432
|
this.$$d[i],
|
|
433
433
|
this.$$p_d,
|
|
434
434
|
"toAttribute"
|
|
435
435
|
);
|
|
436
|
-
|
|
436
|
+
s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
|
|
437
437
|
}
|
|
438
438
|
this.$$r = !1;
|
|
439
439
|
};
|
|
440
440
|
this.$$c.$$.after_update.push(n), n();
|
|
441
441
|
for (const i in this.$$l)
|
|
442
|
-
for (const
|
|
443
|
-
const
|
|
444
|
-
this.$$l_u.set(
|
|
442
|
+
for (const s of this.$$l[i]) {
|
|
443
|
+
const o = this.$$c.$on(i, s);
|
|
444
|
+
this.$$l_u.set(s, o);
|
|
445
445
|
}
|
|
446
446
|
this.$$l = {};
|
|
447
447
|
}
|
|
@@ -449,7 +449,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
449
449
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
450
450
|
// and setting attributes through setAttribute etc, this is helpful
|
|
451
451
|
attributeChangedCallback(e, t, r) {
|
|
452
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
452
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
453
453
|
}
|
|
454
454
|
disconnectedCallback() {
|
|
455
455
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -462,7 +462,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
462
462
|
) || e;
|
|
463
463
|
}
|
|
464
464
|
});
|
|
465
|
-
function
|
|
465
|
+
function ve(e, t, r, n) {
|
|
466
466
|
const i = r[e]?.type;
|
|
467
467
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
468
468
|
return t;
|
|
@@ -491,8 +491,8 @@ function Ie(e, t, r, n) {
|
|
|
491
491
|
return t;
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
let
|
|
494
|
+
function Xr(e, t, r, n, i, s) {
|
|
495
|
+
let o = class extends kt {
|
|
496
496
|
constructor() {
|
|
497
497
|
super(e, r, i), this.$$p_d = t;
|
|
498
498
|
}
|
|
@@ -503,24 +503,24 @@ function Kr(e, t, r, n, i, o) {
|
|
|
503
503
|
}
|
|
504
504
|
};
|
|
505
505
|
return Object.keys(t).forEach((a) => {
|
|
506
|
-
Object.defineProperty(
|
|
506
|
+
Object.defineProperty(o.prototype, a, {
|
|
507
507
|
get() {
|
|
508
508
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
509
509
|
},
|
|
510
510
|
set(h) {
|
|
511
|
-
h =
|
|
511
|
+
h = ve(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
512
512
|
}
|
|
513
513
|
});
|
|
514
514
|
}), n.forEach((a) => {
|
|
515
|
-
Object.defineProperty(
|
|
515
|
+
Object.defineProperty(o.prototype, a, {
|
|
516
516
|
get() {
|
|
517
517
|
return this.$$c?.[a];
|
|
518
518
|
}
|
|
519
519
|
});
|
|
520
520
|
}), e.element = /** @type {any} */
|
|
521
|
-
|
|
521
|
+
o, o;
|
|
522
522
|
}
|
|
523
|
-
class
|
|
523
|
+
class Wr {
|
|
524
524
|
/**
|
|
525
525
|
* ### PRIVATE API
|
|
526
526
|
*
|
|
@@ -539,7 +539,7 @@ class en {
|
|
|
539
539
|
$$set = void 0;
|
|
540
540
|
/** @returns {void} */
|
|
541
541
|
$destroy() {
|
|
542
|
-
|
|
542
|
+
jr(this, 1), this.$destroy = U;
|
|
543
543
|
}
|
|
544
544
|
/**
|
|
545
545
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -548,8 +548,8 @@ class en {
|
|
|
548
548
|
* @returns {() => void}
|
|
549
549
|
*/
|
|
550
550
|
$on(t, r) {
|
|
551
|
-
if (!
|
|
552
|
-
return
|
|
551
|
+
if (!it(r))
|
|
552
|
+
return U;
|
|
553
553
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
554
554
|
return n.push(r), () => {
|
|
555
555
|
const i = n.indexOf(r);
|
|
@@ -561,11 +561,11 @@ class en {
|
|
|
561
561
|
* @returns {void}
|
|
562
562
|
*/
|
|
563
563
|
$set(t) {
|
|
564
|
-
this.$$set && !
|
|
564
|
+
this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
const
|
|
568
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
567
|
+
const zr = "4";
|
|
568
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
|
|
569
569
|
/*! *****************************************************************************
|
|
570
570
|
Copyright (c) Microsoft Corporation.
|
|
571
571
|
|
|
@@ -580,24 +580,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
580
580
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
581
581
|
PERFORMANCE OF THIS SOFTWARE.
|
|
582
582
|
***************************************************************************** */
|
|
583
|
-
var
|
|
584
|
-
return
|
|
583
|
+
var ke = function(e, t) {
|
|
584
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
585
585
|
r.__proto__ = n;
|
|
586
586
|
} || function(r, n) {
|
|
587
587
|
for (var i in n)
|
|
588
588
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
589
|
-
},
|
|
589
|
+
}, ke(e, t);
|
|
590
590
|
};
|
|
591
|
-
function
|
|
591
|
+
function me(e, t) {
|
|
592
592
|
if (typeof t != "function" && t !== null)
|
|
593
593
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
594
|
-
|
|
594
|
+
ke(e, t);
|
|
595
595
|
function r() {
|
|
596
596
|
this.constructor = e;
|
|
597
597
|
}
|
|
598
598
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function Ve(e) {
|
|
601
601
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
602
602
|
if (r)
|
|
603
603
|
return r.call(e);
|
|
@@ -609,42 +609,42 @@ function ot(e) {
|
|
|
609
609
|
};
|
|
610
610
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function Xe(e, t) {
|
|
613
613
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
614
614
|
if (!r)
|
|
615
615
|
return e;
|
|
616
|
-
var n = r.call(e), i,
|
|
616
|
+
var n = r.call(e), i, s = [], o;
|
|
617
617
|
try {
|
|
618
618
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
619
|
-
|
|
619
|
+
s.push(i.value);
|
|
620
620
|
} catch (a) {
|
|
621
|
-
|
|
621
|
+
o = { error: a };
|
|
622
622
|
} finally {
|
|
623
623
|
try {
|
|
624
624
|
i && !i.done && (r = n.return) && r.call(n);
|
|
625
625
|
} finally {
|
|
626
|
-
if (
|
|
627
|
-
throw
|
|
626
|
+
if (o)
|
|
627
|
+
throw o.error;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
return
|
|
630
|
+
return s;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function We(e, t, r) {
|
|
633
633
|
if (arguments.length === 2)
|
|
634
|
-
for (var n = 0, i = t.length,
|
|
635
|
-
(
|
|
636
|
-
return e.concat(
|
|
634
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
635
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
636
|
+
return e.concat(s || t);
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function $(e) {
|
|
639
639
|
return typeof e == "function";
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function Vt(e) {
|
|
642
642
|
var t = function(n) {
|
|
643
643
|
Error.call(n), n.stack = new Error().stack;
|
|
644
644
|
}, r = e(t);
|
|
645
645
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
646
646
|
}
|
|
647
|
-
var
|
|
647
|
+
var Ne = Vt(function(e) {
|
|
648
648
|
return function(r) {
|
|
649
649
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
650
650
|
` + r.map(function(n, i) {
|
|
@@ -653,30 +653,30 @@ var Ze = or(function(e) {
|
|
|
653
653
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
654
654
|
};
|
|
655
655
|
});
|
|
656
|
-
function
|
|
656
|
+
function ze(e, t) {
|
|
657
657
|
if (e) {
|
|
658
658
|
var r = e.indexOf(t);
|
|
659
659
|
0 <= r && e.splice(r, 1);
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var He = function() {
|
|
663
663
|
function e(t) {
|
|
664
664
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
665
665
|
}
|
|
666
666
|
return e.prototype.unsubscribe = function() {
|
|
667
|
-
var t, r, n, i,
|
|
667
|
+
var t, r, n, i, s;
|
|
668
668
|
if (!this.closed) {
|
|
669
669
|
this.closed = !0;
|
|
670
|
-
var
|
|
671
|
-
if (
|
|
672
|
-
if (this._parentage = null, Array.isArray(
|
|
670
|
+
var o = this._parentage;
|
|
671
|
+
if (o)
|
|
672
|
+
if (this._parentage = null, Array.isArray(o))
|
|
673
673
|
try {
|
|
674
|
-
for (var a =
|
|
675
|
-
var
|
|
676
|
-
|
|
674
|
+
for (var a = Ve(o), h = a.next(); !h.done; h = a.next()) {
|
|
675
|
+
var u = h.value;
|
|
676
|
+
u.remove(this);
|
|
677
677
|
}
|
|
678
|
-
} catch (
|
|
679
|
-
t = { error:
|
|
678
|
+
} catch (v) {
|
|
679
|
+
t = { error: v };
|
|
680
680
|
} finally {
|
|
681
681
|
try {
|
|
682
682
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -686,45 +686,45 @@ var Ge = function() {
|
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
else
|
|
689
|
-
|
|
690
|
-
var
|
|
691
|
-
if (
|
|
689
|
+
o.remove(this);
|
|
690
|
+
var l = this.initialTeardown;
|
|
691
|
+
if ($(l))
|
|
692
692
|
try {
|
|
693
|
-
|
|
694
|
-
} catch (
|
|
695
|
-
|
|
693
|
+
l();
|
|
694
|
+
} catch (v) {
|
|
695
|
+
s = v instanceof Ne ? v.errors : [v];
|
|
696
696
|
}
|
|
697
|
-
var
|
|
698
|
-
if (
|
|
697
|
+
var f = this._finalizers;
|
|
698
|
+
if (f) {
|
|
699
699
|
this._finalizers = null;
|
|
700
700
|
try {
|
|
701
|
-
for (var c =
|
|
702
|
-
var
|
|
701
|
+
for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
|
|
702
|
+
var b = d.value;
|
|
703
703
|
try {
|
|
704
|
-
|
|
705
|
-
} catch (
|
|
706
|
-
|
|
704
|
+
dt(b);
|
|
705
|
+
} catch (v) {
|
|
706
|
+
s = s ?? [], v instanceof Ne ? s = We(We([], Xe(s)), Xe(v.errors)) : s.push(v);
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
|
-
} catch (
|
|
710
|
-
n = { error:
|
|
709
|
+
} catch (v) {
|
|
710
|
+
n = { error: v };
|
|
711
711
|
} finally {
|
|
712
712
|
try {
|
|
713
|
-
|
|
713
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
714
714
|
} finally {
|
|
715
715
|
if (n)
|
|
716
716
|
throw n.error;
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
|
-
if (
|
|
721
|
-
throw new
|
|
720
|
+
if (s)
|
|
721
|
+
throw new Ne(s);
|
|
722
722
|
}
|
|
723
723
|
}, e.prototype.add = function(t) {
|
|
724
724
|
var r;
|
|
725
725
|
if (t && t !== this)
|
|
726
726
|
if (this.closed)
|
|
727
|
-
|
|
727
|
+
dt(t);
|
|
728
728
|
else {
|
|
729
729
|
if (t instanceof e) {
|
|
730
730
|
if (t.closed || t._hasParent(this))
|
|
@@ -741,52 +741,52 @@ var Ge = function() {
|
|
|
741
741
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
742
742
|
}, e.prototype._removeParent = function(t) {
|
|
743
743
|
var r = this._parentage;
|
|
744
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
744
|
+
r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
|
|
745
745
|
}, e.prototype.remove = function(t) {
|
|
746
746
|
var r = this._finalizers;
|
|
747
|
-
r &&
|
|
747
|
+
r && ze(r, t), t instanceof e && t._removeParent(this);
|
|
748
748
|
}, e.EMPTY = function() {
|
|
749
749
|
var t = new e();
|
|
750
750
|
return t.closed = !0, t;
|
|
751
751
|
}(), e;
|
|
752
|
-
}(),
|
|
753
|
-
function
|
|
754
|
-
return e instanceof
|
|
752
|
+
}(), Xt = He.EMPTY;
|
|
753
|
+
function Wt(e) {
|
|
754
|
+
return e instanceof He || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
755
755
|
}
|
|
756
|
-
function
|
|
757
|
-
|
|
756
|
+
function dt(e) {
|
|
757
|
+
$(e) ? e() : e.unsubscribe();
|
|
758
758
|
}
|
|
759
|
-
var
|
|
759
|
+
var Zr = {
|
|
760
760
|
Promise: void 0
|
|
761
|
-
},
|
|
761
|
+
}, qr = {
|
|
762
762
|
setTimeout: function(e, t) {
|
|
763
763
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
764
764
|
r[n - 2] = arguments[n];
|
|
765
|
-
return setTimeout.apply(void 0,
|
|
765
|
+
return setTimeout.apply(void 0, We([e, t], Xe(r)));
|
|
766
766
|
},
|
|
767
767
|
clearTimeout: function(e) {
|
|
768
768
|
return clearTimeout(e);
|
|
769
769
|
},
|
|
770
770
|
delegate: void 0
|
|
771
771
|
};
|
|
772
|
-
function
|
|
773
|
-
|
|
772
|
+
function Yr(e) {
|
|
773
|
+
qr.setTimeout(function() {
|
|
774
774
|
throw e;
|
|
775
775
|
});
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function pt() {
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function _e(e) {
|
|
780
780
|
e();
|
|
781
781
|
}
|
|
782
|
-
var
|
|
783
|
-
|
|
782
|
+
var zt = function(e) {
|
|
783
|
+
me(t, e);
|
|
784
784
|
function t(r) {
|
|
785
785
|
var n = e.call(this) || this;
|
|
786
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
786
|
+
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = Kr, n;
|
|
787
787
|
}
|
|
788
788
|
return t.create = function(r, n, i) {
|
|
789
|
-
return new
|
|
789
|
+
return new Ze(r, n, i);
|
|
790
790
|
}, t.prototype.next = function(r) {
|
|
791
791
|
this.isStopped || this._next(r);
|
|
792
792
|
}, t.prototype.error = function(r) {
|
|
@@ -810,7 +810,7 @@ var lr = function(e) {
|
|
|
810
810
|
this.unsubscribe();
|
|
811
811
|
}
|
|
812
812
|
}, t;
|
|
813
|
-
}(
|
|
813
|
+
}(He), Jr = function() {
|
|
814
814
|
function e(t) {
|
|
815
815
|
this.partialObserver = t;
|
|
816
816
|
}
|
|
@@ -820,7 +820,7 @@ var lr = function(e) {
|
|
|
820
820
|
try {
|
|
821
821
|
r.next(t);
|
|
822
822
|
} catch (n) {
|
|
823
|
-
|
|
823
|
+
ge(n);
|
|
824
824
|
}
|
|
825
825
|
}, e.prototype.error = function(t) {
|
|
826
826
|
var r = this.partialObserver;
|
|
@@ -828,56 +828,56 @@ var lr = function(e) {
|
|
|
828
828
|
try {
|
|
829
829
|
r.error(t);
|
|
830
830
|
} catch (n) {
|
|
831
|
-
|
|
831
|
+
ge(n);
|
|
832
832
|
}
|
|
833
833
|
else
|
|
834
|
-
|
|
834
|
+
ge(t);
|
|
835
835
|
}, e.prototype.complete = function() {
|
|
836
836
|
var t = this.partialObserver;
|
|
837
837
|
if (t.complete)
|
|
838
838
|
try {
|
|
839
839
|
t.complete();
|
|
840
840
|
} catch (r) {
|
|
841
|
-
|
|
841
|
+
ge(r);
|
|
842
842
|
}
|
|
843
843
|
}, e;
|
|
844
|
-
}(),
|
|
845
|
-
|
|
844
|
+
}(), Ze = function(e) {
|
|
845
|
+
me(t, e);
|
|
846
846
|
function t(r, n, i) {
|
|
847
|
-
var
|
|
848
|
-
return
|
|
847
|
+
var s = e.call(this) || this, o;
|
|
848
|
+
return $(r) || !r ? o = {
|
|
849
849
|
next: r ?? void 0,
|
|
850
850
|
error: n ?? void 0,
|
|
851
851
|
complete: i ?? void 0
|
|
852
|
-
} :
|
|
852
|
+
} : o = r, s.destination = new Jr(o), s;
|
|
853
853
|
}
|
|
854
854
|
return t;
|
|
855
|
-
}(
|
|
856
|
-
function
|
|
857
|
-
|
|
855
|
+
}(zt);
|
|
856
|
+
function ge(e) {
|
|
857
|
+
Yr(e);
|
|
858
858
|
}
|
|
859
|
-
function
|
|
859
|
+
function Qr(e) {
|
|
860
860
|
throw e;
|
|
861
861
|
}
|
|
862
|
-
var
|
|
862
|
+
var Kr = {
|
|
863
863
|
closed: !0,
|
|
864
|
-
next:
|
|
865
|
-
error:
|
|
866
|
-
complete:
|
|
867
|
-
},
|
|
864
|
+
next: pt,
|
|
865
|
+
error: Qr,
|
|
866
|
+
complete: pt
|
|
867
|
+
}, en = function() {
|
|
868
868
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
869
869
|
}();
|
|
870
|
-
function
|
|
870
|
+
function tn(e) {
|
|
871
871
|
return e;
|
|
872
872
|
}
|
|
873
|
-
function
|
|
874
|
-
return e.length === 0 ?
|
|
873
|
+
function rn(e) {
|
|
874
|
+
return e.length === 0 ? tn : e.length === 1 ? e[0] : function(r) {
|
|
875
875
|
return e.reduce(function(n, i) {
|
|
876
876
|
return i(n);
|
|
877
877
|
}, r);
|
|
878
878
|
};
|
|
879
879
|
}
|
|
880
|
-
var
|
|
880
|
+
var bt = function() {
|
|
881
881
|
function e(t) {
|
|
882
882
|
t && (this._subscribe = t);
|
|
883
883
|
}
|
|
@@ -885,11 +885,11 @@ var Bt = function() {
|
|
|
885
885
|
var r = new e();
|
|
886
886
|
return r.source = this, r.operator = t, r;
|
|
887
887
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
888
|
-
var i = this,
|
|
889
|
-
return
|
|
890
|
-
var
|
|
891
|
-
|
|
892
|
-
}),
|
|
888
|
+
var i = this, s = sn(t) ? t : new Ze(t, r, n);
|
|
889
|
+
return _e(function() {
|
|
890
|
+
var o = i, a = o.operator, h = o.source;
|
|
891
|
+
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
892
|
+
}), s;
|
|
893
893
|
}, e.prototype._trySubscribe = function(t) {
|
|
894
894
|
try {
|
|
895
895
|
return this._subscribe(t);
|
|
@@ -898,87 +898,87 @@ var Bt = function() {
|
|
|
898
898
|
}
|
|
899
899
|
}, e.prototype.forEach = function(t, r) {
|
|
900
900
|
var n = this;
|
|
901
|
-
return r =
|
|
902
|
-
var
|
|
901
|
+
return r = gt(r), new r(function(i, s) {
|
|
902
|
+
var o = new Ze({
|
|
903
903
|
next: function(a) {
|
|
904
904
|
try {
|
|
905
905
|
t(a);
|
|
906
906
|
} catch (h) {
|
|
907
|
-
|
|
907
|
+
s(h), o.unsubscribe();
|
|
908
908
|
}
|
|
909
909
|
},
|
|
910
|
-
error:
|
|
910
|
+
error: s,
|
|
911
911
|
complete: i
|
|
912
912
|
});
|
|
913
|
-
n.subscribe(
|
|
913
|
+
n.subscribe(o);
|
|
914
914
|
});
|
|
915
915
|
}, e.prototype._subscribe = function(t) {
|
|
916
916
|
var r;
|
|
917
917
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
918
|
-
}, e.prototype[
|
|
918
|
+
}, e.prototype[en] = function() {
|
|
919
919
|
return this;
|
|
920
920
|
}, e.prototype.pipe = function() {
|
|
921
921
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
922
922
|
t[r] = arguments[r];
|
|
923
|
-
return
|
|
923
|
+
return rn(t)(this);
|
|
924
924
|
}, e.prototype.toPromise = function(t) {
|
|
925
925
|
var r = this;
|
|
926
|
-
return t =
|
|
927
|
-
var
|
|
928
|
-
r.subscribe(function(
|
|
929
|
-
return
|
|
930
|
-
}, function(
|
|
931
|
-
return i(
|
|
926
|
+
return t = gt(t), new t(function(n, i) {
|
|
927
|
+
var s;
|
|
928
|
+
r.subscribe(function(o) {
|
|
929
|
+
return s = o;
|
|
930
|
+
}, function(o) {
|
|
931
|
+
return i(o);
|
|
932
932
|
}, function() {
|
|
933
|
-
return n(
|
|
933
|
+
return n(s);
|
|
934
934
|
});
|
|
935
935
|
});
|
|
936
936
|
}, e.create = function(t) {
|
|
937
937
|
return new e(t);
|
|
938
938
|
}, e;
|
|
939
939
|
}();
|
|
940
|
-
function
|
|
940
|
+
function gt(e) {
|
|
941
941
|
var t;
|
|
942
|
-
return (t = e ??
|
|
942
|
+
return (t = e ?? Zr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
943
943
|
}
|
|
944
|
-
function
|
|
945
|
-
return e &&
|
|
944
|
+
function nn(e) {
|
|
945
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
946
946
|
}
|
|
947
|
-
function
|
|
948
|
-
return e && e instanceof
|
|
947
|
+
function sn(e) {
|
|
948
|
+
return e && e instanceof zt || nn(e) && Wt(e);
|
|
949
949
|
}
|
|
950
|
-
var
|
|
950
|
+
var on = Vt(function(e) {
|
|
951
951
|
return function() {
|
|
952
952
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
953
953
|
};
|
|
954
|
-
}),
|
|
955
|
-
|
|
954
|
+
}), Zt = function(e) {
|
|
955
|
+
me(t, e);
|
|
956
956
|
function t() {
|
|
957
957
|
var r = e.call(this) || this;
|
|
958
958
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
959
959
|
}
|
|
960
960
|
return t.prototype.lift = function(r) {
|
|
961
|
-
var n = new
|
|
961
|
+
var n = new yt(this, this);
|
|
962
962
|
return n.operator = r, n;
|
|
963
963
|
}, t.prototype._throwIfClosed = function() {
|
|
964
964
|
if (this.closed)
|
|
965
|
-
throw new
|
|
965
|
+
throw new on();
|
|
966
966
|
}, t.prototype.next = function(r) {
|
|
967
967
|
var n = this;
|
|
968
|
-
|
|
969
|
-
var i,
|
|
968
|
+
_e(function() {
|
|
969
|
+
var i, s;
|
|
970
970
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
971
971
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
972
972
|
try {
|
|
973
|
-
for (var
|
|
973
|
+
for (var o = Ve(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
974
974
|
var h = a.value;
|
|
975
975
|
h.next(r);
|
|
976
976
|
}
|
|
977
|
-
} catch (
|
|
978
|
-
i = { error:
|
|
977
|
+
} catch (u) {
|
|
978
|
+
i = { error: u };
|
|
979
979
|
} finally {
|
|
980
980
|
try {
|
|
981
|
-
a && !a.done && (
|
|
981
|
+
a && !a.done && (s = o.return) && s.call(o);
|
|
982
982
|
} finally {
|
|
983
983
|
if (i)
|
|
984
984
|
throw i.error;
|
|
@@ -988,7 +988,7 @@ var dn = or(function(e) {
|
|
|
988
988
|
});
|
|
989
989
|
}, t.prototype.error = function(r) {
|
|
990
990
|
var n = this;
|
|
991
|
-
|
|
991
|
+
_e(function() {
|
|
992
992
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
993
993
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
994
994
|
for (var i = n.observers; i.length; )
|
|
@@ -997,7 +997,7 @@ var dn = or(function(e) {
|
|
|
997
997
|
});
|
|
998
998
|
}, t.prototype.complete = function() {
|
|
999
999
|
var r = this;
|
|
1000
|
-
|
|
1000
|
+
_e(function() {
|
|
1001
1001
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1002
1002
|
r.isStopped = !0;
|
|
1003
1003
|
for (var n = r.observers; n.length; )
|
|
@@ -1018,21 +1018,21 @@ var dn = or(function(e) {
|
|
|
1018
1018
|
}, t.prototype._subscribe = function(r) {
|
|
1019
1019
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1020
1020
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1021
|
-
var n = this, i = this,
|
|
1022
|
-
return
|
|
1023
|
-
n.currentObservers = null,
|
|
1021
|
+
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
1022
|
+
return s || o ? Xt : (this.currentObservers = null, a.push(r), new He(function() {
|
|
1023
|
+
n.currentObservers = null, ze(a, r);
|
|
1024
1024
|
}));
|
|
1025
1025
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1026
|
-
var n = this, i = n.hasError,
|
|
1027
|
-
i ? r.error(
|
|
1026
|
+
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
1027
|
+
i ? r.error(s) : o && r.complete();
|
|
1028
1028
|
}, t.prototype.asObservable = function() {
|
|
1029
|
-
var r = new
|
|
1029
|
+
var r = new bt();
|
|
1030
1030
|
return r.source = this, r;
|
|
1031
1031
|
}, t.create = function(r, n) {
|
|
1032
|
-
return new
|
|
1032
|
+
return new yt(r, n);
|
|
1033
1033
|
}, t;
|
|
1034
|
-
}(
|
|
1035
|
-
|
|
1034
|
+
}(bt), yt = function(e) {
|
|
1035
|
+
me(t, e);
|
|
1036
1036
|
function t(r, n) {
|
|
1037
1037
|
var i = e.call(this) || this;
|
|
1038
1038
|
return i.destination = r, i.source = n, i;
|
|
@@ -1048,208 +1048,208 @@ var dn = or(function(e) {
|
|
|
1048
1048
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1049
1049
|
}, t.prototype._subscribe = function(r) {
|
|
1050
1050
|
var n, i;
|
|
1051
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1051
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
|
|
1052
1052
|
}, t;
|
|
1053
|
-
}(
|
|
1053
|
+
}(Zt), qt = {
|
|
1054
1054
|
now: function() {
|
|
1055
|
-
return (
|
|
1055
|
+
return (qt.delegate || Date).now();
|
|
1056
1056
|
},
|
|
1057
1057
|
delegate: void 0
|
|
1058
|
-
},
|
|
1059
|
-
|
|
1058
|
+
}, an = function(e) {
|
|
1059
|
+
me(t, e);
|
|
1060
1060
|
function t(r, n, i) {
|
|
1061
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1062
|
-
var
|
|
1063
|
-
return
|
|
1061
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
|
|
1062
|
+
var s = e.call(this) || this;
|
|
1063
|
+
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
1064
1064
|
}
|
|
1065
1065
|
return t.prototype.next = function(r) {
|
|
1066
|
-
var n = this, i = n.isStopped,
|
|
1067
|
-
i || (
|
|
1066
|
+
var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
|
|
1067
|
+
i || (s.push(r), !o && s.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1068
1068
|
}, t.prototype._subscribe = function(r) {
|
|
1069
1069
|
this._throwIfClosed(), this._trimBuffer();
|
|
1070
|
-
for (var n = this._innerSubscribe(r), i = this,
|
|
1070
|
+
for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), h = 0; h < a.length && !r.closed; h += s ? 1 : 2)
|
|
1071
1071
|
r.next(a[h]);
|
|
1072
1072
|
return this._checkFinalizedStatuses(r), n;
|
|
1073
1073
|
}, t.prototype._trimBuffer = function() {
|
|
1074
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider,
|
|
1075
|
-
if (n < 1 / 0 && a <
|
|
1076
|
-
for (var h = i.now(),
|
|
1077
|
-
|
|
1078
|
-
|
|
1074
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
|
|
1075
|
+
if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
|
|
1076
|
+
for (var h = i.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
|
|
1077
|
+
u = l;
|
|
1078
|
+
u && s.splice(0, u + 1);
|
|
1079
1079
|
}
|
|
1080
1080
|
}, t;
|
|
1081
|
-
}(
|
|
1082
|
-
const
|
|
1083
|
-
if (
|
|
1084
|
-
const r = new
|
|
1085
|
-
|
|
1081
|
+
}(Zt);
|
|
1082
|
+
const vt = [], _t = {}, un = (e, t = 0) => {
|
|
1083
|
+
if (vt.indexOf(e) == -1) {
|
|
1084
|
+
const r = new an(t);
|
|
1085
|
+
_t[e] = r, vt.push(e);
|
|
1086
1086
|
}
|
|
1087
|
-
return
|
|
1088
|
-
},
|
|
1089
|
-
function
|
|
1087
|
+
return _t[e];
|
|
1088
|
+
}, z = [];
|
|
1089
|
+
function hn(e, t) {
|
|
1090
1090
|
return {
|
|
1091
|
-
subscribe:
|
|
1091
|
+
subscribe: Ae(e, t).subscribe
|
|
1092
1092
|
};
|
|
1093
1093
|
}
|
|
1094
|
-
function
|
|
1094
|
+
function Ae(e, t = U) {
|
|
1095
1095
|
let r;
|
|
1096
1096
|
const n = /* @__PURE__ */ new Set();
|
|
1097
1097
|
function i(a) {
|
|
1098
|
-
if (
|
|
1099
|
-
const h = !
|
|
1100
|
-
for (const
|
|
1101
|
-
|
|
1098
|
+
if (Ut(e, a) && (e = a, r)) {
|
|
1099
|
+
const h = !z.length;
|
|
1100
|
+
for (const u of n)
|
|
1101
|
+
u[1](), z.push(u, e);
|
|
1102
1102
|
if (h) {
|
|
1103
|
-
for (let
|
|
1104
|
-
|
|
1105
|
-
|
|
1103
|
+
for (let u = 0; u < z.length; u += 2)
|
|
1104
|
+
z[u][0](z[u + 1]);
|
|
1105
|
+
z.length = 0;
|
|
1106
1106
|
}
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1109
|
+
function s(a) {
|
|
1110
1110
|
i(a(e));
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1113
|
-
const
|
|
1114
|
-
return n.add(
|
|
1115
|
-
n.delete(
|
|
1112
|
+
function o(a, h = U) {
|
|
1113
|
+
const u = [a, h];
|
|
1114
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || U), a(e), () => {
|
|
1115
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1116
1116
|
};
|
|
1117
1117
|
}
|
|
1118
|
-
return { set: i, update:
|
|
1118
|
+
return { set: i, update: s, subscribe: o };
|
|
1119
1119
|
}
|
|
1120
|
-
function
|
|
1120
|
+
function ne(e, t, r) {
|
|
1121
1121
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1122
1122
|
if (!i.every(Boolean))
|
|
1123
1123
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1124
|
-
const
|
|
1125
|
-
return
|
|
1124
|
+
const s = t.length < 2;
|
|
1125
|
+
return hn(r, (o, a) => {
|
|
1126
1126
|
let h = !1;
|
|
1127
|
-
const
|
|
1128
|
-
let
|
|
1127
|
+
const u = [];
|
|
1128
|
+
let l = 0, f = U;
|
|
1129
1129
|
const c = () => {
|
|
1130
|
-
if (
|
|
1130
|
+
if (l)
|
|
1131
1131
|
return;
|
|
1132
|
-
|
|
1133
|
-
const
|
|
1134
|
-
|
|
1135
|
-
},
|
|
1136
|
-
(
|
|
1137
|
-
|
|
1138
|
-
(
|
|
1139
|
-
|
|
1132
|
+
f();
|
|
1133
|
+
const b = t(n ? u[0] : u, o, a);
|
|
1134
|
+
s ? o(b) : f = it(b) ? b : U;
|
|
1135
|
+
}, d = i.map(
|
|
1136
|
+
(b, v) => Gt(
|
|
1137
|
+
b,
|
|
1138
|
+
(w) => {
|
|
1139
|
+
u[v] = w, l &= ~(1 << v), h && c();
|
|
1140
1140
|
},
|
|
1141
1141
|
() => {
|
|
1142
|
-
|
|
1142
|
+
l |= 1 << v;
|
|
1143
1143
|
}
|
|
1144
1144
|
)
|
|
1145
1145
|
);
|
|
1146
1146
|
return h = !0, c(), function() {
|
|
1147
|
-
|
|
1147
|
+
te(d), f(), h = !1;
|
|
1148
1148
|
};
|
|
1149
1149
|
});
|
|
1150
1150
|
}
|
|
1151
|
-
function
|
|
1151
|
+
function ln(e) {
|
|
1152
1152
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1153
1153
|
}
|
|
1154
|
-
var
|
|
1155
|
-
return
|
|
1154
|
+
var cn = function(t) {
|
|
1155
|
+
return fn(t) && !mn(t);
|
|
1156
1156
|
};
|
|
1157
|
-
function
|
|
1157
|
+
function fn(e) {
|
|
1158
1158
|
return !!e && typeof e == "object";
|
|
1159
1159
|
}
|
|
1160
|
-
function
|
|
1160
|
+
function mn(e) {
|
|
1161
1161
|
var t = Object.prototype.toString.call(e);
|
|
1162
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1162
|
+
return t === "[object RegExp]" || t === "[object Date]" || bn(e);
|
|
1163
1163
|
}
|
|
1164
|
-
var
|
|
1165
|
-
function
|
|
1166
|
-
return e.$$typeof ===
|
|
1164
|
+
var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
|
|
1165
|
+
function bn(e) {
|
|
1166
|
+
return e.$$typeof === pn;
|
|
1167
1167
|
}
|
|
1168
|
-
function
|
|
1168
|
+
function gn(e) {
|
|
1169
1169
|
return Array.isArray(e) ? [] : {};
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1172
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1171
|
+
function le(e, t) {
|
|
1172
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(gn(e), e, t) : e;
|
|
1173
1173
|
}
|
|
1174
|
-
function
|
|
1174
|
+
function yn(e, t, r) {
|
|
1175
1175
|
return e.concat(t).map(function(n) {
|
|
1176
|
-
return
|
|
1176
|
+
return le(n, r);
|
|
1177
1177
|
});
|
|
1178
1178
|
}
|
|
1179
|
-
function
|
|
1179
|
+
function vn(e, t) {
|
|
1180
1180
|
if (!t.customMerge)
|
|
1181
|
-
return
|
|
1181
|
+
return J;
|
|
1182
1182
|
var r = t.customMerge(e);
|
|
1183
|
-
return typeof r == "function" ? r :
|
|
1183
|
+
return typeof r == "function" ? r : J;
|
|
1184
1184
|
}
|
|
1185
|
-
function
|
|
1185
|
+
function _n(e) {
|
|
1186
1186
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1187
1187
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1188
1188
|
}) : [];
|
|
1189
1189
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return Object.keys(e).concat(
|
|
1190
|
+
function Et(e) {
|
|
1191
|
+
return Object.keys(e).concat(_n(e));
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1193
|
+
function Yt(e, t) {
|
|
1194
1194
|
try {
|
|
1195
1195
|
return t in e;
|
|
1196
1196
|
} catch {
|
|
1197
1197
|
return !1;
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1201
|
-
return
|
|
1200
|
+
function En(e, t) {
|
|
1201
|
+
return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1202
1202
|
}
|
|
1203
|
-
function
|
|
1203
|
+
function xn(e, t, r) {
|
|
1204
1204
|
var n = {};
|
|
1205
|
-
return r.isMergeableObject(e) &&
|
|
1206
|
-
n[i] =
|
|
1207
|
-
}),
|
|
1208
|
-
|
|
1205
|
+
return r.isMergeableObject(e) && Et(e).forEach(function(i) {
|
|
1206
|
+
n[i] = le(e[i], r);
|
|
1207
|
+
}), Et(t).forEach(function(i) {
|
|
1208
|
+
En(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
|
1209
1209
|
}), n;
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1212
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1213
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
1214
|
-
return
|
|
1211
|
+
function J(e, t, r) {
|
|
1212
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = le;
|
|
1213
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1214
|
+
return s ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : le(t, r);
|
|
1215
1215
|
}
|
|
1216
|
-
|
|
1216
|
+
J.all = function(t, r) {
|
|
1217
1217
|
if (!Array.isArray(t))
|
|
1218
1218
|
throw new Error("first argument should be an array");
|
|
1219
1219
|
return t.reduce(function(n, i) {
|
|
1220
|
-
return
|
|
1220
|
+
return J(n, i, r);
|
|
1221
1221
|
}, {});
|
|
1222
1222
|
};
|
|
1223
|
-
var
|
|
1224
|
-
const
|
|
1225
|
-
var
|
|
1226
|
-
return
|
|
1223
|
+
var Sn = J, wn = Sn;
|
|
1224
|
+
const Tn = /* @__PURE__ */ ln(wn);
|
|
1225
|
+
var qe = function(e, t) {
|
|
1226
|
+
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1227
1227
|
r.__proto__ = n;
|
|
1228
1228
|
} || function(r, n) {
|
|
1229
1229
|
for (var i in n)
|
|
1230
1230
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1231
|
-
},
|
|
1231
|
+
}, qe(e, t);
|
|
1232
1232
|
};
|
|
1233
|
-
function
|
|
1233
|
+
function Pe(e, t) {
|
|
1234
1234
|
if (typeof t != "function" && t !== null)
|
|
1235
1235
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1236
|
-
|
|
1236
|
+
qe(e, t);
|
|
1237
1237
|
function r() {
|
|
1238
1238
|
this.constructor = e;
|
|
1239
1239
|
}
|
|
1240
1240
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1241
1241
|
}
|
|
1242
|
-
var
|
|
1243
|
-
return
|
|
1242
|
+
var G = function() {
|
|
1243
|
+
return G = Object.assign || function(t) {
|
|
1244
1244
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1245
1245
|
r = arguments[n];
|
|
1246
|
-
for (var
|
|
1247
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
1246
|
+
for (var s in r)
|
|
1247
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1248
1248
|
}
|
|
1249
1249
|
return t;
|
|
1250
|
-
},
|
|
1250
|
+
}, G.apply(this, arguments);
|
|
1251
1251
|
};
|
|
1252
|
-
function
|
|
1252
|
+
function Hn(e, t) {
|
|
1253
1253
|
var r = {};
|
|
1254
1254
|
for (var n in e)
|
|
1255
1255
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1258,43 +1258,43 @@ function Ln(e, t) {
|
|
|
1258
1258
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1259
1259
|
return r;
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1261
|
+
function Ie(e, t, r) {
|
|
1262
1262
|
if (r || arguments.length === 2)
|
|
1263
|
-
for (var n = 0, i = t.length,
|
|
1264
|
-
(
|
|
1265
|
-
return e.concat(
|
|
1263
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
1264
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
1265
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1268
|
-
var r = t && t.cache ? t.cache :
|
|
1267
|
+
function Me(e, t) {
|
|
1268
|
+
var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Bn;
|
|
1269
1269
|
return i(e, {
|
|
1270
1270
|
cache: r,
|
|
1271
1271
|
serializer: n
|
|
1272
1272
|
});
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function An(e) {
|
|
1275
1275
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1278
|
-
var i =
|
|
1279
|
-
return typeof
|
|
1277
|
+
function Pn(e, t, r, n) {
|
|
1278
|
+
var i = An(n) ? n : r(n), s = t.get(i);
|
|
1279
|
+
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1280
1280
|
}
|
|
1281
|
-
function
|
|
1282
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
1283
|
-
return typeof
|
|
1281
|
+
function Jt(e, t, r) {
|
|
1282
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1283
|
+
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1284
1284
|
}
|
|
1285
|
-
function
|
|
1285
|
+
function Qt(e, t, r, n, i) {
|
|
1286
1286
|
return r.bind(t, e, n, i);
|
|
1287
1287
|
}
|
|
1288
|
-
function
|
|
1289
|
-
var r = e.length === 1 ?
|
|
1290
|
-
return
|
|
1288
|
+
function Bn(e, t) {
|
|
1289
|
+
var r = e.length === 1 ? Pn : Jt;
|
|
1290
|
+
return Qt(e, this, r, t.cache.create(), t.serializer);
|
|
1291
1291
|
}
|
|
1292
|
-
function
|
|
1293
|
-
return
|
|
1292
|
+
function On(e, t) {
|
|
1293
|
+
return Qt(e, this, Jt, t.cache.create(), t.serializer);
|
|
1294
1294
|
}
|
|
1295
|
-
var
|
|
1295
|
+
var Ln = function() {
|
|
1296
1296
|
return JSON.stringify(arguments);
|
|
1297
|
-
},
|
|
1297
|
+
}, Cn = (
|
|
1298
1298
|
/** @class */
|
|
1299
1299
|
function() {
|
|
1300
1300
|
function e() {
|
|
@@ -1306,71 +1306,71 @@ var Un = function() {
|
|
|
1306
1306
|
this.cache[t] = r;
|
|
1307
1307
|
}, e;
|
|
1308
1308
|
}()
|
|
1309
|
-
),
|
|
1309
|
+
), Nn = {
|
|
1310
1310
|
create: function() {
|
|
1311
|
-
return new
|
|
1311
|
+
return new Cn();
|
|
1312
1312
|
}
|
|
1313
|
-
},
|
|
1314
|
-
variadic:
|
|
1315
|
-
},
|
|
1316
|
-
return
|
|
1313
|
+
}, Re = {
|
|
1314
|
+
variadic: On
|
|
1315
|
+
}, Se = function() {
|
|
1316
|
+
return Se = Object.assign || function(t) {
|
|
1317
1317
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1318
1318
|
r = arguments[n];
|
|
1319
|
-
for (var
|
|
1320
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
1319
|
+
for (var s in r)
|
|
1320
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1321
1321
|
}
|
|
1322
1322
|
return t;
|
|
1323
|
-
},
|
|
1323
|
+
}, Se.apply(this, arguments);
|
|
1324
1324
|
};
|
|
1325
|
-
var
|
|
1325
|
+
var g;
|
|
1326
1326
|
(function(e) {
|
|
1327
1327
|
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";
|
|
1328
|
-
})(
|
|
1329
|
-
var
|
|
1328
|
+
})(g || (g = {}));
|
|
1329
|
+
var x;
|
|
1330
1330
|
(function(e) {
|
|
1331
1331
|
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";
|
|
1332
|
-
})(
|
|
1333
|
-
var
|
|
1332
|
+
})(x || (x = {}));
|
|
1333
|
+
var Q;
|
|
1334
1334
|
(function(e) {
|
|
1335
1335
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1336
|
-
})(
|
|
1337
|
-
function
|
|
1338
|
-
return e.type ===
|
|
1336
|
+
})(Q || (Q = {}));
|
|
1337
|
+
function xt(e) {
|
|
1338
|
+
return e.type === x.literal;
|
|
1339
1339
|
}
|
|
1340
|
-
function
|
|
1341
|
-
return e.type ===
|
|
1340
|
+
function In(e) {
|
|
1341
|
+
return e.type === x.argument;
|
|
1342
1342
|
}
|
|
1343
|
-
function
|
|
1344
|
-
return e.type ===
|
|
1343
|
+
function Kt(e) {
|
|
1344
|
+
return e.type === x.number;
|
|
1345
1345
|
}
|
|
1346
|
-
function
|
|
1347
|
-
return e.type ===
|
|
1346
|
+
function er(e) {
|
|
1347
|
+
return e.type === x.date;
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1350
|
-
return e.type ===
|
|
1349
|
+
function tr(e) {
|
|
1350
|
+
return e.type === x.time;
|
|
1351
1351
|
}
|
|
1352
|
-
function
|
|
1353
|
-
return e.type ===
|
|
1352
|
+
function rr(e) {
|
|
1353
|
+
return e.type === x.select;
|
|
1354
1354
|
}
|
|
1355
|
-
function
|
|
1356
|
-
return e.type ===
|
|
1355
|
+
function nr(e) {
|
|
1356
|
+
return e.type === x.plural;
|
|
1357
1357
|
}
|
|
1358
|
-
function
|
|
1359
|
-
return e.type ===
|
|
1358
|
+
function Mn(e) {
|
|
1359
|
+
return e.type === x.pound;
|
|
1360
1360
|
}
|
|
1361
|
-
function
|
|
1362
|
-
return e.type ===
|
|
1361
|
+
function ir(e) {
|
|
1362
|
+
return e.type === x.tag;
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1365
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1364
|
+
function sr(e) {
|
|
1365
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1368
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1367
|
+
function Ye(e) {
|
|
1368
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1369
1369
|
}
|
|
1370
|
-
var
|
|
1371
|
-
function
|
|
1370
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
|
|
1371
|
+
function Un(e) {
|
|
1372
1372
|
var t = {};
|
|
1373
|
-
return e.replace(
|
|
1373
|
+
return e.replace(Rn, function(r) {
|
|
1374
1374
|
var n = r.length;
|
|
1375
1375
|
switch (r[0]) {
|
|
1376
1376
|
case "G":
|
|
@@ -1459,46 +1459,46 @@ function Xn(e) {
|
|
|
1459
1459
|
return "";
|
|
1460
1460
|
}), t;
|
|
1461
1461
|
}
|
|
1462
|
-
var
|
|
1463
|
-
return
|
|
1462
|
+
var S = function() {
|
|
1463
|
+
return S = Object.assign || function(t) {
|
|
1464
1464
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1465
1465
|
r = arguments[n];
|
|
1466
|
-
for (var
|
|
1467
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
1466
|
+
for (var s in r)
|
|
1467
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1468
1468
|
}
|
|
1469
1469
|
return t;
|
|
1470
|
-
},
|
|
1470
|
+
}, S.apply(this, arguments);
|
|
1471
1471
|
};
|
|
1472
|
-
var
|
|
1473
|
-
function
|
|
1472
|
+
var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1473
|
+
function Dn(e) {
|
|
1474
1474
|
if (e.length === 0)
|
|
1475
1475
|
throw new Error("Number skeleton cannot be empty");
|
|
1476
|
-
for (var t = e.split(
|
|
1476
|
+
for (var t = e.split(Gn).filter(function(c) {
|
|
1477
1477
|
return c.length > 0;
|
|
1478
1478
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1479
|
-
var
|
|
1480
|
-
if (
|
|
1479
|
+
var s = i[n], o = s.split("/");
|
|
1480
|
+
if (o.length === 0)
|
|
1481
1481
|
throw new Error("Invalid number skeleton");
|
|
1482
|
-
for (var a =
|
|
1483
|
-
var
|
|
1484
|
-
if (
|
|
1482
|
+
for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1483
|
+
var f = l[u];
|
|
1484
|
+
if (f.length === 0)
|
|
1485
1485
|
throw new Error("Invalid number skeleton");
|
|
1486
1486
|
}
|
|
1487
1487
|
r.push({ stem: a, options: h });
|
|
1488
1488
|
}
|
|
1489
1489
|
return r;
|
|
1490
1490
|
}
|
|
1491
|
-
function
|
|
1491
|
+
function $n(e) {
|
|
1492
1492
|
return e.replace(/^(.*?)-/, "");
|
|
1493
1493
|
}
|
|
1494
|
-
var
|
|
1495
|
-
function
|
|
1494
|
+
var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
|
|
1495
|
+
function wt(e) {
|
|
1496
1496
|
var t = {};
|
|
1497
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1497
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
|
|
1498
1498
|
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)), "";
|
|
1499
1499
|
}), t;
|
|
1500
1500
|
}
|
|
1501
|
-
function
|
|
1501
|
+
function hr(e) {
|
|
1502
1502
|
switch (e) {
|
|
1503
1503
|
case "sign-auto":
|
|
1504
1504
|
return {
|
|
@@ -1538,7 +1538,7 @@ function Sr(e) {
|
|
|
1538
1538
|
};
|
|
1539
1539
|
}
|
|
1540
1540
|
}
|
|
1541
|
-
function
|
|
1541
|
+
function jn(e) {
|
|
1542
1542
|
var t;
|
|
1543
1543
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1544
1544
|
notation: "engineering"
|
|
@@ -1546,17 +1546,17 @@ function Qn(e) {
|
|
|
1546
1546
|
notation: "scientific"
|
|
1547
1547
|
}, e = e.slice(1)), t) {
|
|
1548
1548
|
var r = e.slice(0, 2);
|
|
1549
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1549
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
|
|
1550
1550
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1551
1551
|
t.minimumIntegerDigits = e.length;
|
|
1552
1552
|
}
|
|
1553
1553
|
return t;
|
|
1554
1554
|
}
|
|
1555
|
-
function
|
|
1556
|
-
var t = {}, r =
|
|
1555
|
+
function Tt(e) {
|
|
1556
|
+
var t = {}, r = hr(e);
|
|
1557
1557
|
return r || t;
|
|
1558
1558
|
}
|
|
1559
|
-
function
|
|
1559
|
+
function kn(e) {
|
|
1560
1560
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1561
1561
|
var i = n[r];
|
|
1562
1562
|
switch (i.stem) {
|
|
@@ -1580,7 +1580,7 @@ function qn(e) {
|
|
|
1580
1580
|
continue;
|
|
1581
1581
|
case "measure-unit":
|
|
1582
1582
|
case "unit":
|
|
1583
|
-
t.style = "unit", t.unit =
|
|
1583
|
+
t.style = "unit", t.unit = $n(i.options[0]);
|
|
1584
1584
|
continue;
|
|
1585
1585
|
case "compact-short":
|
|
1586
1586
|
case "K":
|
|
@@ -1591,13 +1591,13 @@ function qn(e) {
|
|
|
1591
1591
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1592
1592
|
continue;
|
|
1593
1593
|
case "scientific":
|
|
1594
|
-
t =
|
|
1595
|
-
return
|
|
1594
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1595
|
+
return S(S({}, h), Tt(u));
|
|
1596
1596
|
}, {}));
|
|
1597
1597
|
continue;
|
|
1598
1598
|
case "engineering":
|
|
1599
|
-
t =
|
|
1600
|
-
return
|
|
1599
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1600
|
+
return S(S({}, h), Tt(u));
|
|
1601
1601
|
}, {}));
|
|
1602
1602
|
continue;
|
|
1603
1603
|
case "notation-simple":
|
|
@@ -1642,45 +1642,45 @@ function qn(e) {
|
|
|
1642
1642
|
case "integer-width":
|
|
1643
1643
|
if (i.options.length > 1)
|
|
1644
1644
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1645
|
-
i.options[0].replace(
|
|
1646
|
-
if (
|
|
1647
|
-
t.minimumIntegerDigits =
|
|
1645
|
+
i.options[0].replace(Fn, function(h, u, l, f, c, d) {
|
|
1646
|
+
if (u)
|
|
1647
|
+
t.minimumIntegerDigits = l.length;
|
|
1648
1648
|
else {
|
|
1649
|
-
if (
|
|
1649
|
+
if (f && c)
|
|
1650
1650
|
throw new Error("We currently do not support maximum integer digits");
|
|
1651
|
-
if (
|
|
1651
|
+
if (d)
|
|
1652
1652
|
throw new Error("We currently do not support exact integer digits");
|
|
1653
1653
|
}
|
|
1654
1654
|
return "";
|
|
1655
1655
|
});
|
|
1656
1656
|
continue;
|
|
1657
1657
|
}
|
|
1658
|
-
if (
|
|
1658
|
+
if (ur.test(i.stem)) {
|
|
1659
1659
|
t.minimumIntegerDigits = i.stem.length;
|
|
1660
1660
|
continue;
|
|
1661
1661
|
}
|
|
1662
|
-
if (
|
|
1662
|
+
if (St.test(i.stem)) {
|
|
1663
1663
|
if (i.options.length > 1)
|
|
1664
1664
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1665
|
-
i.stem.replace(
|
|
1666
|
-
return
|
|
1665
|
+
i.stem.replace(St, function(h, u, l, f, c, d) {
|
|
1666
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1667
1667
|
});
|
|
1668
|
-
var
|
|
1669
|
-
|
|
1668
|
+
var s = i.options[0];
|
|
1669
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), wt(s)));
|
|
1670
1670
|
continue;
|
|
1671
1671
|
}
|
|
1672
|
-
if (
|
|
1673
|
-
t =
|
|
1672
|
+
if (ar.test(i.stem)) {
|
|
1673
|
+
t = S(S({}, t), wt(i.stem));
|
|
1674
1674
|
continue;
|
|
1675
1675
|
}
|
|
1676
|
-
var
|
|
1677
|
-
|
|
1678
|
-
var a =
|
|
1679
|
-
a && (t =
|
|
1676
|
+
var o = hr(i.stem);
|
|
1677
|
+
o && (t = S(S({}, t), o));
|
|
1678
|
+
var a = jn(i.stem);
|
|
1679
|
+
a && (t = S(S({}, t), a));
|
|
1680
1680
|
}
|
|
1681
1681
|
return t;
|
|
1682
1682
|
}
|
|
1683
|
-
var
|
|
1683
|
+
var ye = {
|
|
1684
1684
|
"001": [
|
|
1685
1685
|
"H",
|
|
1686
1686
|
"h"
|
|
@@ -3095,23 +3095,23 @@ var Oe = {
|
|
|
3095
3095
|
"h"
|
|
3096
3096
|
]
|
|
3097
3097
|
};
|
|
3098
|
-
function
|
|
3098
|
+
function Vn(e, t) {
|
|
3099
3099
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3100
3100
|
var i = e.charAt(n);
|
|
3101
3101
|
if (i === "j") {
|
|
3102
|
-
for (var
|
|
3103
|
-
|
|
3104
|
-
var
|
|
3105
|
-
for ((
|
|
3102
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3103
|
+
s++, n++;
|
|
3104
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Xn(t);
|
|
3105
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3106
3106
|
r += h;
|
|
3107
|
-
for (;
|
|
3108
|
-
r =
|
|
3107
|
+
for (; o-- > 0; )
|
|
3108
|
+
r = u + r;
|
|
3109
3109
|
} else
|
|
3110
3110
|
i === "J" ? r += "H" : r += i;
|
|
3111
3111
|
}
|
|
3112
3112
|
return r;
|
|
3113
3113
|
}
|
|
3114
|
-
function
|
|
3114
|
+
function Xn(e) {
|
|
3115
3115
|
var t = e.hourCycle;
|
|
3116
3116
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3117
3117
|
e.hourCycles && // @ts-ignore
|
|
@@ -3130,23 +3130,23 @@ function Kn(e) {
|
|
|
3130
3130
|
}
|
|
3131
3131
|
var r = e.language, n;
|
|
3132
3132
|
r !== "root" && (n = e.maximize().region);
|
|
3133
|
-
var i =
|
|
3133
|
+
var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
|
|
3134
3134
|
return i[0];
|
|
3135
3135
|
}
|
|
3136
|
-
var
|
|
3137
|
-
function
|
|
3136
|
+
var Ue, Wn = new RegExp("^".concat(or.source, "*")), zn = new RegExp("".concat(or.source, "*$"));
|
|
3137
|
+
function y(e, t) {
|
|
3138
3138
|
return { start: e, end: t };
|
|
3139
3139
|
}
|
|
3140
|
-
var
|
|
3140
|
+
var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
|
|
3141
3141
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3142
|
-
},
|
|
3142
|
+
}, Je = !0;
|
|
3143
3143
|
try {
|
|
3144
|
-
var
|
|
3145
|
-
|
|
3144
|
+
var ri = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3145
|
+
Je = ((Ue = ri.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
3146
3146
|
} catch {
|
|
3147
|
-
|
|
3147
|
+
Je = !1;
|
|
3148
3148
|
}
|
|
3149
|
-
var
|
|
3149
|
+
var Ht = Zn ? (
|
|
3150
3150
|
// Native
|
|
3151
3151
|
function(t, r, n) {
|
|
3152
3152
|
return t.startsWith(r, n);
|
|
@@ -3156,31 +3156,31 @@ var Ut = ri ? (
|
|
|
3156
3156
|
function(t, r, n) {
|
|
3157
3157
|
return t.slice(n, n + r.length) === r;
|
|
3158
3158
|
}
|
|
3159
|
-
),
|
|
3159
|
+
), Qe = qn ? String.fromCodePoint : (
|
|
3160
3160
|
// IE11
|
|
3161
3161
|
function() {
|
|
3162
3162
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3163
3163
|
t[r] = arguments[r];
|
|
3164
|
-
for (var n = "", i = t.length,
|
|
3165
|
-
if (
|
|
3166
|
-
throw RangeError(
|
|
3167
|
-
n +=
|
|
3164
|
+
for (var n = "", i = t.length, s = 0, o; i > s; ) {
|
|
3165
|
+
if (o = t[s++], o > 1114111)
|
|
3166
|
+
throw RangeError(o + " is not a valid code point");
|
|
3167
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
3168
3168
|
}
|
|
3169
3169
|
return n;
|
|
3170
3170
|
}
|
|
3171
|
-
),
|
|
3171
|
+
), At = (
|
|
3172
3172
|
// native
|
|
3173
|
-
|
|
3173
|
+
Yn ? Object.fromEntries : (
|
|
3174
3174
|
// Ponyfill
|
|
3175
3175
|
function(t) {
|
|
3176
3176
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3177
|
-
var
|
|
3178
|
-
r[
|
|
3177
|
+
var s = i[n], o = s[0], a = s[1];
|
|
3178
|
+
r[o] = a;
|
|
3179
3179
|
}
|
|
3180
3180
|
return r;
|
|
3181
3181
|
}
|
|
3182
3182
|
)
|
|
3183
|
-
),
|
|
3183
|
+
), lr = Jn ? (
|
|
3184
3184
|
// Native
|
|
3185
3185
|
function(t, r) {
|
|
3186
3186
|
return t.codePointAt(r);
|
|
@@ -3190,11 +3190,11 @@ var Ut = ri ? (
|
|
|
3190
3190
|
function(t, r) {
|
|
3191
3191
|
var n = t.length;
|
|
3192
3192
|
if (!(r < 0 || r >= n)) {
|
|
3193
|
-
var i = t.charCodeAt(r),
|
|
3194
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
3193
|
+
var i = t.charCodeAt(r), s;
|
|
3194
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3195
3195
|
}
|
|
3196
3196
|
}
|
|
3197
|
-
),
|
|
3197
|
+
), ni = Qn ? (
|
|
3198
3198
|
// Native
|
|
3199
3199
|
function(t) {
|
|
3200
3200
|
return t.trimStart();
|
|
@@ -3202,9 +3202,9 @@ var Ut = ri ? (
|
|
|
3202
3202
|
) : (
|
|
3203
3203
|
// Ponyfill
|
|
3204
3204
|
function(t) {
|
|
3205
|
-
return t.replace(
|
|
3205
|
+
return t.replace(Wn, "");
|
|
3206
3206
|
}
|
|
3207
|
-
),
|
|
3207
|
+
), ii = Kn ? (
|
|
3208
3208
|
// Native
|
|
3209
3209
|
function(t) {
|
|
3210
3210
|
return t.trimEnd();
|
|
@@ -3212,32 +3212,32 @@ var Ut = ri ? (
|
|
|
3212
3212
|
) : (
|
|
3213
3213
|
// Ponyfill
|
|
3214
3214
|
function(t) {
|
|
3215
|
-
return t.replace(
|
|
3215
|
+
return t.replace(zn, "");
|
|
3216
3216
|
}
|
|
3217
3217
|
);
|
|
3218
|
-
function
|
|
3218
|
+
function cr(e, t) {
|
|
3219
3219
|
return new RegExp(e, t);
|
|
3220
3220
|
}
|
|
3221
|
-
var
|
|
3222
|
-
if (
|
|
3223
|
-
var
|
|
3224
|
-
|
|
3221
|
+
var Ke;
|
|
3222
|
+
if (Je) {
|
|
3223
|
+
var Pt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3224
|
+
Ke = function(t, r) {
|
|
3225
3225
|
var n;
|
|
3226
|
-
|
|
3227
|
-
var i =
|
|
3226
|
+
Pt.lastIndex = r;
|
|
3227
|
+
var i = Pt.exec(t);
|
|
3228
3228
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3229
3229
|
};
|
|
3230
3230
|
} else
|
|
3231
|
-
|
|
3231
|
+
Ke = function(t, r) {
|
|
3232
3232
|
for (var n = []; ; ) {
|
|
3233
|
-
var i =
|
|
3234
|
-
if (i === void 0 ||
|
|
3233
|
+
var i = lr(t, r);
|
|
3234
|
+
if (i === void 0 || fr(i) || ui(i))
|
|
3235
3235
|
break;
|
|
3236
3236
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3237
3237
|
}
|
|
3238
|
-
return
|
|
3238
|
+
return Qe.apply(void 0, n);
|
|
3239
3239
|
};
|
|
3240
|
-
var
|
|
3240
|
+
var si = (
|
|
3241
3241
|
/** @class */
|
|
3242
3242
|
function() {
|
|
3243
3243
|
function e(t, r) {
|
|
@@ -3249,35 +3249,35 @@ var pi = (
|
|
|
3249
3249
|
return this.parseMessage(0, "", !1);
|
|
3250
3250
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3251
3251
|
for (var i = []; !this.isEOF(); ) {
|
|
3252
|
-
var
|
|
3253
|
-
if (
|
|
3254
|
-
var
|
|
3255
|
-
if (
|
|
3256
|
-
return
|
|
3257
|
-
i.push(
|
|
3252
|
+
var s = this.char();
|
|
3253
|
+
if (s === 123) {
|
|
3254
|
+
var o = this.parseArgument(t, n);
|
|
3255
|
+
if (o.err)
|
|
3256
|
+
return o;
|
|
3257
|
+
i.push(o.val);
|
|
3258
3258
|
} else {
|
|
3259
|
-
if (
|
|
3259
|
+
if (s === 125 && t > 0)
|
|
3260
3260
|
break;
|
|
3261
|
-
if (
|
|
3261
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3262
3262
|
var a = this.clonePosition();
|
|
3263
3263
|
this.bump(), i.push({
|
|
3264
|
-
type:
|
|
3265
|
-
location:
|
|
3264
|
+
type: x.pound,
|
|
3265
|
+
location: y(a, this.clonePosition())
|
|
3266
3266
|
});
|
|
3267
|
-
} else if (
|
|
3267
|
+
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3268
3268
|
if (n)
|
|
3269
3269
|
break;
|
|
3270
|
-
return this.error(
|
|
3271
|
-
} else if (
|
|
3272
|
-
var
|
|
3273
|
-
if (
|
|
3274
|
-
return
|
|
3275
|
-
i.push(
|
|
3270
|
+
return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3271
|
+
} else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3272
|
+
var o = this.parseTag(t, r);
|
|
3273
|
+
if (o.err)
|
|
3274
|
+
return o;
|
|
3275
|
+
i.push(o.val);
|
|
3276
3276
|
} else {
|
|
3277
|
-
var
|
|
3278
|
-
if (
|
|
3279
|
-
return
|
|
3280
|
-
i.push(
|
|
3277
|
+
var o = this.parseLiteral(t, r);
|
|
3278
|
+
if (o.err)
|
|
3279
|
+
return o;
|
|
3280
|
+
i.push(o.val);
|
|
3281
3281
|
}
|
|
3282
3282
|
}
|
|
3283
3283
|
}
|
|
@@ -3289,51 +3289,51 @@ var pi = (
|
|
|
3289
3289
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3290
3290
|
return {
|
|
3291
3291
|
val: {
|
|
3292
|
-
type:
|
|
3292
|
+
type: x.literal,
|
|
3293
3293
|
value: "<".concat(i, "/>"),
|
|
3294
|
-
location:
|
|
3294
|
+
location: y(n, this.clonePosition())
|
|
3295
3295
|
},
|
|
3296
3296
|
err: null
|
|
3297
3297
|
};
|
|
3298
3298
|
if (this.bumpIf(">")) {
|
|
3299
|
-
var
|
|
3300
|
-
if (
|
|
3301
|
-
return
|
|
3302
|
-
var
|
|
3299
|
+
var s = this.parseMessage(t + 1, r, !0);
|
|
3300
|
+
if (s.err)
|
|
3301
|
+
return s;
|
|
3302
|
+
var o = s.val, a = this.clonePosition();
|
|
3303
3303
|
if (this.bumpIf("</")) {
|
|
3304
|
-
if (this.isEOF() || !
|
|
3305
|
-
return this.error(
|
|
3306
|
-
var h = this.clonePosition(),
|
|
3307
|
-
return i !==
|
|
3304
|
+
if (this.isEOF() || !et(this.char()))
|
|
3305
|
+
return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
|
|
3306
|
+
var h = this.clonePosition(), u = this.parseTagName();
|
|
3307
|
+
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3308
3308
|
val: {
|
|
3309
|
-
type:
|
|
3309
|
+
type: x.tag,
|
|
3310
3310
|
value: i,
|
|
3311
|
-
children:
|
|
3312
|
-
location:
|
|
3311
|
+
children: o,
|
|
3312
|
+
location: y(n, this.clonePosition())
|
|
3313
3313
|
},
|
|
3314
3314
|
err: null
|
|
3315
|
-
} : this.error(
|
|
3315
|
+
} : this.error(g.INVALID_TAG, y(a, this.clonePosition())));
|
|
3316
3316
|
} else
|
|
3317
|
-
return this.error(
|
|
3317
|
+
return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
3318
3318
|
} else
|
|
3319
|
-
return this.error(
|
|
3319
|
+
return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
|
|
3320
3320
|
}, e.prototype.parseTagName = function() {
|
|
3321
3321
|
var t = this.offset();
|
|
3322
|
-
for (this.bump(); !this.isEOF() &&
|
|
3322
|
+
for (this.bump(); !this.isEOF() && ai(this.char()); )
|
|
3323
3323
|
this.bump();
|
|
3324
3324
|
return this.message.slice(t, this.offset());
|
|
3325
3325
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3326
3326
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3327
|
-
var
|
|
3328
|
-
if (o) {
|
|
3329
|
-
i += o;
|
|
3330
|
-
continue;
|
|
3331
|
-
}
|
|
3332
|
-
var s = this.tryParseUnquoted(t, r);
|
|
3327
|
+
var s = this.tryParseQuote(r);
|
|
3333
3328
|
if (s) {
|
|
3334
3329
|
i += s;
|
|
3335
3330
|
continue;
|
|
3336
3331
|
}
|
|
3332
|
+
var o = this.tryParseUnquoted(t, r);
|
|
3333
|
+
if (o) {
|
|
3334
|
+
i += o;
|
|
3335
|
+
continue;
|
|
3336
|
+
}
|
|
3337
3337
|
var a = this.tryParseLeftAngleBracket();
|
|
3338
3338
|
if (a) {
|
|
3339
3339
|
i += a;
|
|
@@ -3341,14 +3341,14 @@ var pi = (
|
|
|
3341
3341
|
}
|
|
3342
3342
|
break;
|
|
3343
3343
|
}
|
|
3344
|
-
var h =
|
|
3344
|
+
var h = y(n, this.clonePosition());
|
|
3345
3345
|
return {
|
|
3346
|
-
val: { type:
|
|
3346
|
+
val: { type: x.literal, value: i, location: h },
|
|
3347
3347
|
err: null
|
|
3348
3348
|
};
|
|
3349
3349
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3350
3350
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3351
|
-
!
|
|
3351
|
+
!oi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3352
3352
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3353
3353
|
if (this.isEOF() || this.char() !== 39)
|
|
3354
3354
|
return null;
|
|
@@ -3382,100 +3382,100 @@ var pi = (
|
|
|
3382
3382
|
r.push(n);
|
|
3383
3383
|
this.bump();
|
|
3384
3384
|
}
|
|
3385
|
-
return
|
|
3385
|
+
return Qe.apply(void 0, r);
|
|
3386
3386
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3387
3387
|
if (this.isEOF())
|
|
3388
3388
|
return null;
|
|
3389
3389
|
var n = this.char();
|
|
3390
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3390
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
|
3391
3391
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3392
3392
|
var n = this.clonePosition();
|
|
3393
3393
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3394
|
-
return this.error(
|
|
3394
|
+
return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3395
3395
|
if (this.char() === 125)
|
|
3396
|
-
return this.bump(), this.error(
|
|
3396
|
+
return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
|
3397
3397
|
var i = this.parseIdentifierIfPossible().value;
|
|
3398
3398
|
if (!i)
|
|
3399
|
-
return this.error(
|
|
3399
|
+
return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3400
3400
|
if (this.bumpSpace(), this.isEOF())
|
|
3401
|
-
return this.error(
|
|
3401
|
+
return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3402
3402
|
switch (this.char()) {
|
|
3403
3403
|
case 125:
|
|
3404
3404
|
return this.bump(), {
|
|
3405
3405
|
val: {
|
|
3406
|
-
type:
|
|
3406
|
+
type: x.argument,
|
|
3407
3407
|
// value does not include the opening and closing braces.
|
|
3408
3408
|
value: i,
|
|
3409
|
-
location:
|
|
3409
|
+
location: y(n, this.clonePosition())
|
|
3410
3410
|
},
|
|
3411
3411
|
err: null
|
|
3412
3412
|
};
|
|
3413
3413
|
case 44:
|
|
3414
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3414
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3415
3415
|
default:
|
|
3416
|
-
return this.error(
|
|
3416
|
+
return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3417
3417
|
}
|
|
3418
3418
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3419
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3419
|
+
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
|
3420
3420
|
this.bumpTo(i);
|
|
3421
|
-
var
|
|
3422
|
-
return { value: n, location:
|
|
3421
|
+
var s = this.clonePosition(), o = y(t, s);
|
|
3422
|
+
return { value: n, location: o };
|
|
3423
3423
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3424
|
-
var
|
|
3424
|
+
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3425
3425
|
switch (a) {
|
|
3426
3426
|
case "":
|
|
3427
|
-
return this.error(
|
|
3427
|
+
return this.error(g.EXPECT_ARGUMENT_TYPE, y(o, h));
|
|
3428
3428
|
case "number":
|
|
3429
3429
|
case "date":
|
|
3430
3430
|
case "time": {
|
|
3431
3431
|
this.bumpSpace();
|
|
3432
|
-
var
|
|
3432
|
+
var u = null;
|
|
3433
3433
|
if (this.bumpIf(",")) {
|
|
3434
3434
|
this.bumpSpace();
|
|
3435
|
-
var
|
|
3436
|
-
if (
|
|
3437
|
-
return
|
|
3438
|
-
var c =
|
|
3435
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3436
|
+
if (f.err)
|
|
3437
|
+
return f;
|
|
3438
|
+
var c = ii(f.val);
|
|
3439
3439
|
if (c.length === 0)
|
|
3440
|
-
return this.error(
|
|
3441
|
-
var
|
|
3442
|
-
|
|
3440
|
+
return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3441
|
+
var d = y(l, this.clonePosition());
|
|
3442
|
+
u = { style: c, styleLocation: d };
|
|
3443
3443
|
}
|
|
3444
|
-
var
|
|
3445
|
-
if (
|
|
3446
|
-
return
|
|
3447
|
-
var
|
|
3448
|
-
if (
|
|
3449
|
-
var
|
|
3444
|
+
var b = this.tryParseArgumentClose(i);
|
|
3445
|
+
if (b.err)
|
|
3446
|
+
return b;
|
|
3447
|
+
var v = y(i, this.clonePosition());
|
|
3448
|
+
if (u && Ht(u?.style, "::", 0)) {
|
|
3449
|
+
var w = ni(u.style.slice(2));
|
|
3450
3450
|
if (a === "number") {
|
|
3451
|
-
var
|
|
3452
|
-
return
|
|
3453
|
-
val: { type:
|
|
3451
|
+
var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3452
|
+
return f.err ? f : {
|
|
3453
|
+
val: { type: x.number, value: n, location: v, style: f.val },
|
|
3454
3454
|
err: null
|
|
3455
3455
|
};
|
|
3456
3456
|
} else {
|
|
3457
|
-
if (
|
|
3458
|
-
return this.error(
|
|
3459
|
-
var
|
|
3460
|
-
this.locale && (
|
|
3457
|
+
if (w.length === 0)
|
|
3458
|
+
return this.error(g.EXPECT_DATE_TIME_SKELETON, v);
|
|
3459
|
+
var N = w;
|
|
3460
|
+
this.locale && (N = Vn(w, this.locale));
|
|
3461
3461
|
var c = {
|
|
3462
|
-
type:
|
|
3463
|
-
pattern:
|
|
3464
|
-
location:
|
|
3465
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3466
|
-
},
|
|
3462
|
+
type: Q.dateTime,
|
|
3463
|
+
pattern: N,
|
|
3464
|
+
location: u.styleLocation,
|
|
3465
|
+
parsedOptions: this.shouldParseSkeletons ? Un(N) : {}
|
|
3466
|
+
}, P = a === "date" ? x.date : x.time;
|
|
3467
3467
|
return {
|
|
3468
|
-
val: { type:
|
|
3468
|
+
val: { type: P, value: n, location: v, style: c },
|
|
3469
3469
|
err: null
|
|
3470
3470
|
};
|
|
3471
3471
|
}
|
|
3472
3472
|
}
|
|
3473
3473
|
return {
|
|
3474
3474
|
val: {
|
|
3475
|
-
type: a === "number" ?
|
|
3475
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3476
3476
|
value: n,
|
|
3477
|
-
location:
|
|
3478
|
-
style: (
|
|
3477
|
+
location: v,
|
|
3478
|
+
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
3479
3479
|
},
|
|
3480
3480
|
err: null
|
|
3481
3481
|
};
|
|
@@ -3483,52 +3483,52 @@ var pi = (
|
|
|
3483
3483
|
case "plural":
|
|
3484
3484
|
case "selectordinal":
|
|
3485
3485
|
case "select": {
|
|
3486
|
-
var
|
|
3486
|
+
var T = this.clonePosition();
|
|
3487
3487
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3488
|
-
return this.error(
|
|
3488
|
+
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, Se({}, T)));
|
|
3489
3489
|
this.bumpSpace();
|
|
3490
|
-
var I = this.parseIdentifierIfPossible(),
|
|
3490
|
+
var I = this.parseIdentifierIfPossible(), B = 0;
|
|
3491
3491
|
if (a !== "select" && I.value === "offset") {
|
|
3492
3492
|
if (!this.bumpIf(":"))
|
|
3493
|
-
return this.error(
|
|
3493
|
+
return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3494
3494
|
this.bumpSpace();
|
|
3495
|
-
var
|
|
3496
|
-
if (
|
|
3497
|
-
return
|
|
3498
|
-
this.bumpSpace(), I = this.parseIdentifierIfPossible(),
|
|
3495
|
+
var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3496
|
+
if (f.err)
|
|
3497
|
+
return f;
|
|
3498
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), B = f.val;
|
|
3499
3499
|
}
|
|
3500
3500
|
var M = this.tryParsePluralOrSelectOptions(t, a, r, I);
|
|
3501
3501
|
if (M.err)
|
|
3502
3502
|
return M;
|
|
3503
|
-
var
|
|
3504
|
-
if (
|
|
3505
|
-
return
|
|
3506
|
-
var
|
|
3503
|
+
var b = this.tryParseArgumentClose(i);
|
|
3504
|
+
if (b.err)
|
|
3505
|
+
return b;
|
|
3506
|
+
var _ = y(i, this.clonePosition());
|
|
3507
3507
|
return a === "select" ? {
|
|
3508
3508
|
val: {
|
|
3509
|
-
type:
|
|
3509
|
+
type: x.select,
|
|
3510
3510
|
value: n,
|
|
3511
|
-
options:
|
|
3512
|
-
location:
|
|
3511
|
+
options: At(M.val),
|
|
3512
|
+
location: _
|
|
3513
3513
|
},
|
|
3514
3514
|
err: null
|
|
3515
3515
|
} : {
|
|
3516
3516
|
val: {
|
|
3517
|
-
type:
|
|
3517
|
+
type: x.plural,
|
|
3518
3518
|
value: n,
|
|
3519
|
-
options:
|
|
3520
|
-
offset:
|
|
3519
|
+
options: At(M.val),
|
|
3520
|
+
offset: B,
|
|
3521
3521
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3522
|
-
location:
|
|
3522
|
+
location: _
|
|
3523
3523
|
},
|
|
3524
3524
|
err: null
|
|
3525
3525
|
};
|
|
3526
3526
|
}
|
|
3527
3527
|
default:
|
|
3528
|
-
return this.error(
|
|
3528
|
+
return this.error(g.INVALID_ARGUMENT_TYPE, y(o, h));
|
|
3529
3529
|
}
|
|
3530
3530
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3531
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3531
|
+
return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3532
3532
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3533
3533
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3534
3534
|
var n = this.char();
|
|
@@ -3537,7 +3537,7 @@ var pi = (
|
|
|
3537
3537
|
this.bump();
|
|
3538
3538
|
var i = this.clonePosition();
|
|
3539
3539
|
if (!this.bumpUntil("'"))
|
|
3540
|
-
return this.error(
|
|
3540
|
+
return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
|
3541
3541
|
this.bump();
|
|
3542
3542
|
break;
|
|
3543
3543
|
}
|
|
@@ -3567,64 +3567,64 @@ var pi = (
|
|
|
3567
3567
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3568
3568
|
var n = [];
|
|
3569
3569
|
try {
|
|
3570
|
-
n =
|
|
3570
|
+
n = Dn(t);
|
|
3571
3571
|
} catch {
|
|
3572
|
-
return this.error(
|
|
3572
|
+
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3573
3573
|
}
|
|
3574
3574
|
return {
|
|
3575
3575
|
val: {
|
|
3576
|
-
type:
|
|
3576
|
+
type: Q.number,
|
|
3577
3577
|
tokens: n,
|
|
3578
3578
|
location: r,
|
|
3579
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3579
|
+
parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
|
|
3580
3580
|
},
|
|
3581
3581
|
err: null
|
|
3582
3582
|
};
|
|
3583
3583
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3584
|
-
for (var
|
|
3585
|
-
if (
|
|
3586
|
-
var
|
|
3584
|
+
for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3585
|
+
if (u.length === 0) {
|
|
3586
|
+
var f = this.clonePosition();
|
|
3587
3587
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3588
|
-
var c = this.tryParseDecimalInteger(
|
|
3588
|
+
var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3589
3589
|
if (c.err)
|
|
3590
3590
|
return c;
|
|
3591
|
-
|
|
3591
|
+
l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3592
3592
|
} else
|
|
3593
3593
|
break;
|
|
3594
3594
|
}
|
|
3595
|
-
if (h.has(
|
|
3596
|
-
return this.error(r === "select" ?
|
|
3597
|
-
|
|
3598
|
-
var
|
|
3595
|
+
if (h.has(u))
|
|
3596
|
+
return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3597
|
+
u === "other" && (o = !0), this.bumpSpace();
|
|
3598
|
+
var d = this.clonePosition();
|
|
3599
3599
|
if (!this.bumpIf("{"))
|
|
3600
|
-
return this.error(r === "select" ?
|
|
3601
|
-
var
|
|
3600
|
+
return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3601
|
+
var b = this.parseMessage(t + 1, r, n);
|
|
3602
|
+
if (b.err)
|
|
3603
|
+
return b;
|
|
3604
|
+
var v = this.tryParseArgumentClose(d);
|
|
3602
3605
|
if (v.err)
|
|
3603
3606
|
return v;
|
|
3604
|
-
var y = this.tryParseArgumentClose(m);
|
|
3605
|
-
if (y.err)
|
|
3606
|
-
return y;
|
|
3607
3607
|
a.push([
|
|
3608
|
-
|
|
3608
|
+
u,
|
|
3609
3609
|
{
|
|
3610
|
-
value:
|
|
3611
|
-
location:
|
|
3610
|
+
value: b.val,
|
|
3611
|
+
location: y(d, this.clonePosition())
|
|
3612
3612
|
}
|
|
3613
|
-
]), h.add(
|
|
3613
|
+
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
|
3614
3614
|
}
|
|
3615
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3615
|
+
return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(g.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3616
3616
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3617
3617
|
var n = 1, i = this.clonePosition();
|
|
3618
3618
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3619
|
-
for (var
|
|
3619
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3620
3620
|
var a = this.char();
|
|
3621
3621
|
if (a >= 48 && a <= 57)
|
|
3622
|
-
|
|
3622
|
+
s = !0, o = o * 10 + (a - 48), this.bump();
|
|
3623
3623
|
else
|
|
3624
3624
|
break;
|
|
3625
3625
|
}
|
|
3626
|
-
var h =
|
|
3627
|
-
return
|
|
3626
|
+
var h = y(i, this.clonePosition());
|
|
3627
|
+
return s ? (o *= n, ti(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3628
3628
|
}, e.prototype.offset = function() {
|
|
3629
3629
|
return this.position.offset;
|
|
3630
3630
|
}, e.prototype.isEOF = function() {
|
|
@@ -3639,7 +3639,7 @@ var pi = (
|
|
|
3639
3639
|
var t = this.position.offset;
|
|
3640
3640
|
if (t >= this.message.length)
|
|
3641
3641
|
throw Error("out of bound");
|
|
3642
|
-
var r =
|
|
3642
|
+
var r = lr(this.message, t);
|
|
3643
3643
|
if (r === void 0)
|
|
3644
3644
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3645
3645
|
return r;
|
|
@@ -3658,7 +3658,7 @@ var pi = (
|
|
|
3658
3658
|
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);
|
|
3659
3659
|
}
|
|
3660
3660
|
}, e.prototype.bumpIf = function(t) {
|
|
3661
|
-
if (
|
|
3661
|
+
if (Ht(this.message, t, this.offset())) {
|
|
3662
3662
|
for (var r = 0; r < t.length; r++)
|
|
3663
3663
|
this.bump();
|
|
3664
3664
|
return !0;
|
|
@@ -3680,7 +3680,7 @@ var pi = (
|
|
|
3680
3680
|
break;
|
|
3681
3681
|
}
|
|
3682
3682
|
}, e.prototype.bumpSpace = function() {
|
|
3683
|
-
for (; !this.isEOF() &&
|
|
3683
|
+
for (; !this.isEOF() && fr(this.char()); )
|
|
3684
3684
|
this.bump();
|
|
3685
3685
|
}, e.prototype.peek = function() {
|
|
3686
3686
|
if (this.isEOF())
|
|
@@ -3690,204 +3690,204 @@ var pi = (
|
|
|
3690
3690
|
}, e;
|
|
3691
3691
|
}()
|
|
3692
3692
|
);
|
|
3693
|
-
function
|
|
3693
|
+
function et(e) {
|
|
3694
3694
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3695
3695
|
}
|
|
3696
|
-
function
|
|
3697
|
-
return
|
|
3696
|
+
function oi(e) {
|
|
3697
|
+
return et(e) || e === 47;
|
|
3698
3698
|
}
|
|
3699
|
-
function
|
|
3699
|
+
function ai(e) {
|
|
3700
3700
|
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;
|
|
3701
3701
|
}
|
|
3702
|
-
function
|
|
3702
|
+
function fr(e) {
|
|
3703
3703
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3704
3704
|
}
|
|
3705
|
-
function
|
|
3705
|
+
function ui(e) {
|
|
3706
3706
|
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;
|
|
3707
3707
|
}
|
|
3708
|
-
function
|
|
3708
|
+
function tt(e) {
|
|
3709
3709
|
e.forEach(function(t) {
|
|
3710
|
-
if (delete t.location,
|
|
3710
|
+
if (delete t.location, rr(t) || nr(t))
|
|
3711
3711
|
for (var r in t.options)
|
|
3712
|
-
delete t.options[r].location,
|
|
3712
|
+
delete t.options[r].location, tt(t.options[r].value);
|
|
3713
3713
|
else
|
|
3714
|
-
|
|
3714
|
+
Kt(t) && sr(t.style) || (er(t) || tr(t)) && Ye(t.style) ? delete t.style.location : ir(t) && tt(t.children);
|
|
3715
3715
|
});
|
|
3716
3716
|
}
|
|
3717
|
-
function
|
|
3718
|
-
t === void 0 && (t = {}), t =
|
|
3719
|
-
var r = new
|
|
3717
|
+
function hi(e, t) {
|
|
3718
|
+
t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3719
|
+
var r = new si(e, t).parse();
|
|
3720
3720
|
if (r.err) {
|
|
3721
|
-
var n = SyntaxError(
|
|
3721
|
+
var n = SyntaxError(g[r.err.kind]);
|
|
3722
3722
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3723
3723
|
}
|
|
3724
|
-
return t?.captureLocation ||
|
|
3724
|
+
return t?.captureLocation || tt(r.val), r.val;
|
|
3725
3725
|
}
|
|
3726
|
-
var
|
|
3726
|
+
var K;
|
|
3727
3727
|
(function(e) {
|
|
3728
3728
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3729
|
-
})(
|
|
3730
|
-
var
|
|
3729
|
+
})(K || (K = {}));
|
|
3730
|
+
var Be = (
|
|
3731
3731
|
/** @class */
|
|
3732
3732
|
function(e) {
|
|
3733
|
-
|
|
3733
|
+
Pe(t, e);
|
|
3734
3734
|
function t(r, n, i) {
|
|
3735
|
-
var
|
|
3736
|
-
return
|
|
3735
|
+
var s = e.call(this, r) || this;
|
|
3736
|
+
return s.code = n, s.originalMessage = i, s;
|
|
3737
3737
|
}
|
|
3738
3738
|
return t.prototype.toString = function() {
|
|
3739
3739
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3740
3740
|
}, t;
|
|
3741
3741
|
}(Error)
|
|
3742
|
-
),
|
|
3742
|
+
), Bt = (
|
|
3743
3743
|
/** @class */
|
|
3744
3744
|
function(e) {
|
|
3745
|
-
|
|
3746
|
-
function t(r, n, i,
|
|
3747
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3745
|
+
Pe(t, e);
|
|
3746
|
+
function t(r, n, i, s) {
|
|
3747
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
|
|
3748
3748
|
}
|
|
3749
3749
|
return t;
|
|
3750
|
-
}(
|
|
3751
|
-
),
|
|
3750
|
+
}(Be)
|
|
3751
|
+
), li = (
|
|
3752
3752
|
/** @class */
|
|
3753
3753
|
function(e) {
|
|
3754
|
-
|
|
3754
|
+
Pe(t, e);
|
|
3755
3755
|
function t(r, n, i) {
|
|
3756
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3756
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
|
|
3757
3757
|
}
|
|
3758
3758
|
return t;
|
|
3759
|
-
}(
|
|
3760
|
-
),
|
|
3759
|
+
}(Be)
|
|
3760
|
+
), ci = (
|
|
3761
3761
|
/** @class */
|
|
3762
3762
|
function(e) {
|
|
3763
|
-
|
|
3763
|
+
Pe(t, e);
|
|
3764
3764
|
function t(r, n) {
|
|
3765
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3765
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
|
|
3766
3766
|
}
|
|
3767
3767
|
return t;
|
|
3768
|
-
}(
|
|
3769
|
-
),
|
|
3768
|
+
}(Be)
|
|
3769
|
+
), A;
|
|
3770
3770
|
(function(e) {
|
|
3771
3771
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3772
|
-
})(
|
|
3773
|
-
function
|
|
3772
|
+
})(A || (A = {}));
|
|
3773
|
+
function fi(e) {
|
|
3774
3774
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3775
3775
|
var n = t[t.length - 1];
|
|
3776
|
-
return !n || n.type !==
|
|
3776
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3777
3777
|
}, []);
|
|
3778
3778
|
}
|
|
3779
|
-
function
|
|
3779
|
+
function mi(e) {
|
|
3780
3780
|
return typeof e == "function";
|
|
3781
3781
|
}
|
|
3782
|
-
function
|
|
3783
|
-
if (e.length === 1 &&
|
|
3782
|
+
function Ee(e, t, r, n, i, s, o) {
|
|
3783
|
+
if (e.length === 1 && xt(e[0]))
|
|
3784
3784
|
return [
|
|
3785
3785
|
{
|
|
3786
|
-
type:
|
|
3786
|
+
type: A.literal,
|
|
3787
3787
|
value: e[0].value
|
|
3788
3788
|
}
|
|
3789
3789
|
];
|
|
3790
|
-
for (var a = [], h = 0,
|
|
3791
|
-
var
|
|
3792
|
-
if (
|
|
3790
|
+
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3791
|
+
var l = u[h];
|
|
3792
|
+
if (xt(l)) {
|
|
3793
3793
|
a.push({
|
|
3794
|
-
type:
|
|
3795
|
-
value:
|
|
3794
|
+
type: A.literal,
|
|
3795
|
+
value: l.value
|
|
3796
3796
|
});
|
|
3797
3797
|
continue;
|
|
3798
3798
|
}
|
|
3799
|
-
if (
|
|
3800
|
-
typeof
|
|
3801
|
-
type:
|
|
3802
|
-
value: r.getNumberFormat(t).format(
|
|
3799
|
+
if (Mn(l)) {
|
|
3800
|
+
typeof s == "number" && a.push({
|
|
3801
|
+
type: A.literal,
|
|
3802
|
+
value: r.getNumberFormat(t).format(s)
|
|
3803
3803
|
});
|
|
3804
3804
|
continue;
|
|
3805
3805
|
}
|
|
3806
|
-
var
|
|
3807
|
-
if (!(i &&
|
|
3808
|
-
throw new
|
|
3809
|
-
var c = i[
|
|
3810
|
-
if (
|
|
3806
|
+
var f = l.value;
|
|
3807
|
+
if (!(i && f in i))
|
|
3808
|
+
throw new ci(f, o);
|
|
3809
|
+
var c = i[f];
|
|
3810
|
+
if (In(l)) {
|
|
3811
3811
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3812
|
-
type: typeof c == "string" ?
|
|
3812
|
+
type: typeof c == "string" ? A.literal : A.object,
|
|
3813
3813
|
value: c
|
|
3814
3814
|
});
|
|
3815
3815
|
continue;
|
|
3816
3816
|
}
|
|
3817
|
-
if (
|
|
3818
|
-
var
|
|
3817
|
+
if (er(l)) {
|
|
3818
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
|
|
3819
3819
|
a.push({
|
|
3820
|
-
type:
|
|
3821
|
-
value: r.getDateTimeFormat(t,
|
|
3820
|
+
type: A.literal,
|
|
3821
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3822
3822
|
});
|
|
3823
3823
|
continue;
|
|
3824
3824
|
}
|
|
3825
|
-
if (
|
|
3826
|
-
var
|
|
3825
|
+
if (tr(l)) {
|
|
3826
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3827
3827
|
a.push({
|
|
3828
|
-
type:
|
|
3829
|
-
value: r.getDateTimeFormat(t,
|
|
3828
|
+
type: A.literal,
|
|
3829
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3830
3830
|
});
|
|
3831
3831
|
continue;
|
|
3832
3832
|
}
|
|
3833
|
-
if (
|
|
3834
|
-
var
|
|
3835
|
-
|
|
3836
|
-
type:
|
|
3837
|
-
value: r.getNumberFormat(t,
|
|
3833
|
+
if (Kt(l)) {
|
|
3834
|
+
var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
|
|
3835
|
+
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3836
|
+
type: A.literal,
|
|
3837
|
+
value: r.getNumberFormat(t, d).format(c)
|
|
3838
3838
|
});
|
|
3839
3839
|
continue;
|
|
3840
3840
|
}
|
|
3841
|
-
if (
|
|
3842
|
-
var
|
|
3843
|
-
if (!
|
|
3844
|
-
throw new
|
|
3845
|
-
var
|
|
3846
|
-
return
|
|
3841
|
+
if (ir(l)) {
|
|
3842
|
+
var b = l.children, v = l.value, w = i[v];
|
|
3843
|
+
if (!mi(w))
|
|
3844
|
+
throw new li(v, "function", o);
|
|
3845
|
+
var N = Ee(b, t, r, n, i, s), P = w(N.map(function(B) {
|
|
3846
|
+
return B.value;
|
|
3847
3847
|
}));
|
|
3848
|
-
Array.isArray(
|
|
3848
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(B) {
|
|
3849
3849
|
return {
|
|
3850
|
-
type: typeof
|
|
3851
|
-
value:
|
|
3850
|
+
type: typeof B == "string" ? A.literal : A.object,
|
|
3851
|
+
value: B
|
|
3852
3852
|
};
|
|
3853
3853
|
}));
|
|
3854
3854
|
}
|
|
3855
|
-
if (
|
|
3856
|
-
var
|
|
3857
|
-
if (!
|
|
3858
|
-
throw new
|
|
3859
|
-
a.push.apply(a,
|
|
3855
|
+
if (rr(l)) {
|
|
3856
|
+
var T = l.options[c] || l.options.other;
|
|
3857
|
+
if (!T)
|
|
3858
|
+
throw new Bt(l.value, c, Object.keys(l.options), o);
|
|
3859
|
+
a.push.apply(a, Ee(T.value, t, r, n, i));
|
|
3860
3860
|
continue;
|
|
3861
3861
|
}
|
|
3862
|
-
if (
|
|
3863
|
-
var
|
|
3864
|
-
if (!
|
|
3862
|
+
if (nr(l)) {
|
|
3863
|
+
var T = l.options["=".concat(c)];
|
|
3864
|
+
if (!T) {
|
|
3865
3865
|
if (!Intl.PluralRules)
|
|
3866
|
-
throw new
|
|
3866
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
|
3867
3867
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3868
|
-
`,
|
|
3869
|
-
var I = r.getPluralRules(t, { type:
|
|
3870
|
-
|
|
3868
|
+
`, K.MISSING_INTL_API, o);
|
|
3869
|
+
var I = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3870
|
+
T = l.options[I] || l.options.other;
|
|
3871
3871
|
}
|
|
3872
|
-
if (!
|
|
3873
|
-
throw new
|
|
3874
|
-
a.push.apply(a,
|
|
3872
|
+
if (!T)
|
|
3873
|
+
throw new Bt(l.value, c, Object.keys(l.options), o);
|
|
3874
|
+
a.push.apply(a, Ee(T.value, t, r, n, i, c - (l.offset || 0)));
|
|
3875
3875
|
continue;
|
|
3876
3876
|
}
|
|
3877
3877
|
}
|
|
3878
|
-
return
|
|
3878
|
+
return fi(a);
|
|
3879
3879
|
}
|
|
3880
|
-
function
|
|
3881
|
-
return t ?
|
|
3882
|
-
return r[n] =
|
|
3880
|
+
function di(e, t) {
|
|
3881
|
+
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3882
|
+
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
|
3883
3883
|
}, {})) : e;
|
|
3884
3884
|
}
|
|
3885
|
-
function
|
|
3885
|
+
function pi(e, t) {
|
|
3886
3886
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3887
|
-
return r[n] =
|
|
3888
|
-
},
|
|
3887
|
+
return r[n] = di(e[n], t[n]), r;
|
|
3888
|
+
}, G({}, e)) : e;
|
|
3889
3889
|
}
|
|
3890
|
-
function
|
|
3890
|
+
function Ge(e) {
|
|
3891
3891
|
return {
|
|
3892
3892
|
create: function() {
|
|
3893
3893
|
return {
|
|
@@ -3901,77 +3901,77 @@ function Ke(e) {
|
|
|
3901
3901
|
}
|
|
3902
3902
|
};
|
|
3903
3903
|
}
|
|
3904
|
-
function
|
|
3904
|
+
function bi(e) {
|
|
3905
3905
|
return e === void 0 && (e = {
|
|
3906
3906
|
number: {},
|
|
3907
3907
|
dateTime: {},
|
|
3908
3908
|
pluralRules: {}
|
|
3909
3909
|
}), {
|
|
3910
|
-
getNumberFormat:
|
|
3910
|
+
getNumberFormat: Me(function() {
|
|
3911
3911
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3912
3912
|
r[n] = arguments[n];
|
|
3913
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3913
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3914
3914
|
}, {
|
|
3915
|
-
cache:
|
|
3916
|
-
strategy:
|
|
3915
|
+
cache: Ge(e.number),
|
|
3916
|
+
strategy: Re.variadic
|
|
3917
3917
|
}),
|
|
3918
|
-
getDateTimeFormat:
|
|
3918
|
+
getDateTimeFormat: Me(function() {
|
|
3919
3919
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3920
3920
|
r[n] = arguments[n];
|
|
3921
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3921
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3922
3922
|
}, {
|
|
3923
|
-
cache:
|
|
3924
|
-
strategy:
|
|
3923
|
+
cache: Ge(e.dateTime),
|
|
3924
|
+
strategy: Re.variadic
|
|
3925
3925
|
}),
|
|
3926
|
-
getPluralRules:
|
|
3926
|
+
getPluralRules: Me(function() {
|
|
3927
3927
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3928
3928
|
r[n] = arguments[n];
|
|
3929
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3929
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3930
3930
|
}, {
|
|
3931
|
-
cache:
|
|
3932
|
-
strategy:
|
|
3931
|
+
cache: Ge(e.pluralRules),
|
|
3932
|
+
strategy: Re.variadic
|
|
3933
3933
|
})
|
|
3934
3934
|
};
|
|
3935
3935
|
}
|
|
3936
|
-
var
|
|
3936
|
+
var gi = (
|
|
3937
3937
|
/** @class */
|
|
3938
3938
|
function() {
|
|
3939
3939
|
function e(t, r, n, i) {
|
|
3940
3940
|
r === void 0 && (r = e.defaultLocale);
|
|
3941
|
-
var
|
|
3941
|
+
var s = this;
|
|
3942
3942
|
if (this.formatterCache = {
|
|
3943
3943
|
number: {},
|
|
3944
3944
|
dateTime: {},
|
|
3945
3945
|
pluralRules: {}
|
|
3946
3946
|
}, this.format = function(h) {
|
|
3947
|
-
var
|
|
3948
|
-
if (
|
|
3949
|
-
return
|
|
3950
|
-
var
|
|
3951
|
-
return !
|
|
3947
|
+
var u = s.formatToParts(h);
|
|
3948
|
+
if (u.length === 1)
|
|
3949
|
+
return u[0].value;
|
|
3950
|
+
var l = u.reduce(function(f, c) {
|
|
3951
|
+
return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3952
3952
|
}, []);
|
|
3953
|
-
return
|
|
3953
|
+
return l.length <= 1 ? l[0] || "" : l;
|
|
3954
3954
|
}, this.formatToParts = function(h) {
|
|
3955
|
-
return
|
|
3955
|
+
return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3956
3956
|
}, this.resolvedOptions = function() {
|
|
3957
3957
|
var h;
|
|
3958
3958
|
return {
|
|
3959
|
-
locale: ((h =
|
|
3959
|
+
locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3960
3960
|
};
|
|
3961
3961
|
}, this.getAst = function() {
|
|
3962
|
-
return
|
|
3962
|
+
return s.ast;
|
|
3963
3963
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3964
3964
|
if (this.message = t, !e.__parse)
|
|
3965
3965
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3966
|
-
var
|
|
3967
|
-
|
|
3968
|
-
var a =
|
|
3969
|
-
this.ast = e.__parse(t,
|
|
3966
|
+
var o = i || {};
|
|
3967
|
+
o.formatters;
|
|
3968
|
+
var a = Hn(o, ["formatters"]);
|
|
3969
|
+
this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
|
|
3970
3970
|
} else
|
|
3971
3971
|
this.ast = t;
|
|
3972
3972
|
if (!Array.isArray(this.ast))
|
|
3973
3973
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3974
|
-
this.formats =
|
|
3974
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
|
|
3975
3975
|
}
|
|
3976
3976
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3977
3977
|
get: function() {
|
|
@@ -3984,7 +3984,7 @@ var Ti = (
|
|
|
3984
3984
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3985
3985
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3986
3986
|
}
|
|
3987
|
-
}, e.__parse =
|
|
3987
|
+
}, e.__parse = hi, e.formats = {
|
|
3988
3988
|
number: {
|
|
3989
3989
|
integer: {
|
|
3990
3990
|
maximumFractionDigits: 0
|
|
@@ -4045,7 +4045,7 @@ var Ti = (
|
|
|
4045
4045
|
}, e;
|
|
4046
4046
|
}()
|
|
4047
4047
|
);
|
|
4048
|
-
function
|
|
4048
|
+
function yi(e, t) {
|
|
4049
4049
|
if (t == null)
|
|
4050
4050
|
return;
|
|
4051
4051
|
if (t in e)
|
|
@@ -4055,9 +4055,9 @@ function Hi(e, t) {
|
|
|
4055
4055
|
for (let i = 0; i < r.length; i++)
|
|
4056
4056
|
if (typeof n == "object") {
|
|
4057
4057
|
if (i > 0) {
|
|
4058
|
-
const
|
|
4059
|
-
if (
|
|
4060
|
-
n = n[
|
|
4058
|
+
const s = r.slice(i, r.length).join(".");
|
|
4059
|
+
if (s in n) {
|
|
4060
|
+
n = n[s];
|
|
4061
4061
|
break;
|
|
4062
4062
|
}
|
|
4063
4063
|
}
|
|
@@ -4066,92 +4066,92 @@ function Hi(e, t) {
|
|
|
4066
4066
|
n = void 0;
|
|
4067
4067
|
return n;
|
|
4068
4068
|
}
|
|
4069
|
-
const
|
|
4069
|
+
const k = {}, vi = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), mr = (e, t) => {
|
|
4070
4070
|
if (t == null)
|
|
4071
4071
|
return;
|
|
4072
|
-
if (t in
|
|
4073
|
-
return
|
|
4074
|
-
const r =
|
|
4072
|
+
if (t in k && e in k[t])
|
|
4073
|
+
return k[t][e];
|
|
4074
|
+
const r = Oe(t);
|
|
4075
4075
|
for (let n = 0; n < r.length; n++) {
|
|
4076
|
-
const i = r[n],
|
|
4077
|
-
if (
|
|
4078
|
-
return
|
|
4076
|
+
const i = r[n], s = Ei(i, e);
|
|
4077
|
+
if (s)
|
|
4078
|
+
return vi(e, t, s);
|
|
4079
4079
|
}
|
|
4080
4080
|
};
|
|
4081
|
-
let
|
|
4082
|
-
const
|
|
4083
|
-
function
|
|
4084
|
-
return
|
|
4081
|
+
let at;
|
|
4082
|
+
const de = Ae({});
|
|
4083
|
+
function _i(e) {
|
|
4084
|
+
return at[e] || null;
|
|
4085
4085
|
}
|
|
4086
|
-
function
|
|
4087
|
-
return e in
|
|
4086
|
+
function dr(e) {
|
|
4087
|
+
return e in at;
|
|
4088
4088
|
}
|
|
4089
|
-
function
|
|
4090
|
-
if (!
|
|
4089
|
+
function Ei(e, t) {
|
|
4090
|
+
if (!dr(e))
|
|
4091
4091
|
return null;
|
|
4092
|
-
const r =
|
|
4093
|
-
return
|
|
4092
|
+
const r = _i(e);
|
|
4093
|
+
return yi(r, t);
|
|
4094
4094
|
}
|
|
4095
|
-
function
|
|
4095
|
+
function xi(e) {
|
|
4096
4096
|
if (e == null)
|
|
4097
4097
|
return;
|
|
4098
|
-
const t =
|
|
4098
|
+
const t = Oe(e);
|
|
4099
4099
|
for (let r = 0; r < t.length; r++) {
|
|
4100
4100
|
const n = t[r];
|
|
4101
|
-
if (
|
|
4101
|
+
if (dr(n))
|
|
4102
4102
|
return n;
|
|
4103
4103
|
}
|
|
4104
4104
|
}
|
|
4105
|
-
function
|
|
4106
|
-
delete
|
|
4105
|
+
function pr(e, ...t) {
|
|
4106
|
+
delete k[e], de.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
|
|
4107
4107
|
}
|
|
4108
|
-
|
|
4109
|
-
[
|
|
4108
|
+
ne(
|
|
4109
|
+
[de],
|
|
4110
4110
|
([e]) => Object.keys(e)
|
|
4111
4111
|
);
|
|
4112
|
-
|
|
4113
|
-
const
|
|
4114
|
-
function
|
|
4115
|
-
|
|
4112
|
+
de.subscribe((e) => at = e);
|
|
4113
|
+
const xe = {};
|
|
4114
|
+
function Si(e, t) {
|
|
4115
|
+
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
4116
4116
|
}
|
|
4117
|
-
function
|
|
4118
|
-
return
|
|
4117
|
+
function br(e) {
|
|
4118
|
+
return xe[e];
|
|
4119
4119
|
}
|
|
4120
|
-
function
|
|
4121
|
-
return
|
|
4122
|
-
const r =
|
|
4120
|
+
function wi(e) {
|
|
4121
|
+
return Oe(e).map((t) => {
|
|
4122
|
+
const r = br(t);
|
|
4123
4123
|
return [t, r ? [...r] : []];
|
|
4124
4124
|
}).filter(([, t]) => t.length > 0);
|
|
4125
4125
|
}
|
|
4126
|
-
function
|
|
4127
|
-
return e == null ? !1 :
|
|
4126
|
+
function rt(e) {
|
|
4127
|
+
return e == null ? !1 : Oe(e).some(
|
|
4128
4128
|
(t) => {
|
|
4129
4129
|
var r;
|
|
4130
|
-
return (r =
|
|
4130
|
+
return (r = br(t)) == null ? void 0 : r.size;
|
|
4131
4131
|
}
|
|
4132
4132
|
);
|
|
4133
4133
|
}
|
|
4134
|
-
function
|
|
4134
|
+
function Ti(e, t) {
|
|
4135
4135
|
return Promise.all(
|
|
4136
|
-
t.map((n) => (
|
|
4137
|
-
).then((n) =>
|
|
4138
|
-
}
|
|
4139
|
-
const
|
|
4140
|
-
function
|
|
4141
|
-
if (!
|
|
4142
|
-
return e in
|
|
4143
|
-
const t =
|
|
4144
|
-
return
|
|
4136
|
+
t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
|
|
4137
|
+
).then((n) => pr(e, ...n));
|
|
4138
|
+
}
|
|
4139
|
+
const oe = {};
|
|
4140
|
+
function gr(e) {
|
|
4141
|
+
if (!rt(e))
|
|
4142
|
+
return e in oe ? oe[e] : Promise.resolve();
|
|
4143
|
+
const t = wi(e);
|
|
4144
|
+
return oe[e] = Promise.all(
|
|
4145
4145
|
t.map(
|
|
4146
|
-
([r, n]) =>
|
|
4146
|
+
([r, n]) => Ti(r, n)
|
|
4147
4147
|
)
|
|
4148
4148
|
).then(() => {
|
|
4149
|
-
if (
|
|
4150
|
-
return
|
|
4151
|
-
delete
|
|
4152
|
-
}),
|
|
4149
|
+
if (rt(e))
|
|
4150
|
+
return gr(e);
|
|
4151
|
+
delete oe[e];
|
|
4152
|
+
}), oe[e];
|
|
4153
4153
|
}
|
|
4154
|
-
const
|
|
4154
|
+
const Hi = {
|
|
4155
4155
|
number: {
|
|
4156
4156
|
scientific: { notation: "scientific" },
|
|
4157
4157
|
engineering: { notation: "engineering" },
|
|
@@ -4180,176 +4180,176 @@ const Li = {
|
|
|
4180
4180
|
timeZoneName: "short"
|
|
4181
4181
|
}
|
|
4182
4182
|
}
|
|
4183
|
-
},
|
|
4183
|
+
}, Ai = {
|
|
4184
4184
|
fallbackLocale: null,
|
|
4185
4185
|
loadingDelay: 200,
|
|
4186
|
-
formats:
|
|
4186
|
+
formats: Hi,
|
|
4187
4187
|
warnOnMissingMessages: !0,
|
|
4188
4188
|
handleMissingMessage: void 0,
|
|
4189
4189
|
ignoreTag: !0
|
|
4190
|
-
},
|
|
4191
|
-
function
|
|
4192
|
-
return
|
|
4190
|
+
}, Pi = Ai;
|
|
4191
|
+
function ee() {
|
|
4192
|
+
return Pi;
|
|
4193
4193
|
}
|
|
4194
|
-
const
|
|
4195
|
-
var
|
|
4194
|
+
const De = Ae(!1);
|
|
4195
|
+
var Bi = Object.defineProperty, Oi = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
|
|
4196
4196
|
for (var r in t || (t = {}))
|
|
4197
|
-
|
|
4198
|
-
if (
|
|
4199
|
-
for (var r of
|
|
4200
|
-
|
|
4197
|
+
Ci.call(t, r) && Lt(e, r, t[r]);
|
|
4198
|
+
if (Ot)
|
|
4199
|
+
for (var r of Ot(t))
|
|
4200
|
+
Ni.call(t, r) && Lt(e, r, t[r]);
|
|
4201
4201
|
return e;
|
|
4202
|
-
},
|
|
4203
|
-
let
|
|
4204
|
-
const
|
|
4205
|
-
function
|
|
4202
|
+
}, Mi = (e, t) => Oi(e, Li(t));
|
|
4203
|
+
let nt;
|
|
4204
|
+
const we = Ae(null);
|
|
4205
|
+
function Ct(e) {
|
|
4206
4206
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4207
4207
|
}
|
|
4208
|
-
function
|
|
4209
|
-
const r =
|
|
4210
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4208
|
+
function Oe(e, t = ee().fallbackLocale) {
|
|
4209
|
+
const r = Ct(e);
|
|
4210
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
|
4211
4211
|
}
|
|
4212
|
-
function
|
|
4213
|
-
return
|
|
4212
|
+
function X() {
|
|
4213
|
+
return nt ?? void 0;
|
|
4214
4214
|
}
|
|
4215
|
-
|
|
4216
|
-
|
|
4215
|
+
we.subscribe((e) => {
|
|
4216
|
+
nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4217
4217
|
});
|
|
4218
|
-
const
|
|
4219
|
-
if (e &&
|
|
4220
|
-
const { loadingDelay: t } =
|
|
4218
|
+
const Ri = (e) => {
|
|
4219
|
+
if (e && xi(e) && rt(e)) {
|
|
4220
|
+
const { loadingDelay: t } = ee();
|
|
4221
4221
|
let r;
|
|
4222
|
-
return typeof window < "u" &&
|
|
4223
|
-
() =>
|
|
4222
|
+
return typeof window < "u" && X() != null && t ? r = window.setTimeout(
|
|
4223
|
+
() => De.set(!0),
|
|
4224
4224
|
t
|
|
4225
|
-
) :
|
|
4226
|
-
|
|
4225
|
+
) : De.set(!0), gr(e).then(() => {
|
|
4226
|
+
we.set(e);
|
|
4227
4227
|
}).finally(() => {
|
|
4228
|
-
clearTimeout(r),
|
|
4228
|
+
clearTimeout(r), De.set(!1);
|
|
4229
4229
|
});
|
|
4230
4230
|
}
|
|
4231
|
-
return
|
|
4232
|
-
},
|
|
4233
|
-
set:
|
|
4234
|
-
}),
|
|
4231
|
+
return we.set(e);
|
|
4232
|
+
}, ie = Mi(Ii({}, we), {
|
|
4233
|
+
set: Ri
|
|
4234
|
+
}), Le = (e) => {
|
|
4235
4235
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4236
4236
|
return (n) => {
|
|
4237
4237
|
const i = JSON.stringify(n);
|
|
4238
4238
|
return i in t ? t[i] : t[i] = e(n);
|
|
4239
4239
|
};
|
|
4240
4240
|
};
|
|
4241
|
-
var
|
|
4241
|
+
var Ui = Object.defineProperty, Te = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
|
|
4242
4242
|
for (var r in t || (t = {}))
|
|
4243
|
-
|
|
4244
|
-
if (
|
|
4245
|
-
for (var r of
|
|
4246
|
-
|
|
4243
|
+
yr.call(t, r) && Nt(e, r, t[r]);
|
|
4244
|
+
if (Te)
|
|
4245
|
+
for (var r of Te(t))
|
|
4246
|
+
vr.call(t, r) && Nt(e, r, t[r]);
|
|
4247
4247
|
return e;
|
|
4248
|
-
},
|
|
4248
|
+
}, se = (e, t) => {
|
|
4249
4249
|
var r = {};
|
|
4250
4250
|
for (var n in e)
|
|
4251
|
-
|
|
4252
|
-
if (e != null &&
|
|
4253
|
-
for (var n of
|
|
4254
|
-
t.indexOf(n) < 0 &&
|
|
4251
|
+
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4252
|
+
if (e != null && Te)
|
|
4253
|
+
for (var n of Te(e))
|
|
4254
|
+
t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
|
|
4255
4255
|
return r;
|
|
4256
4256
|
};
|
|
4257
|
-
const
|
|
4258
|
-
const { formats: r } =
|
|
4257
|
+
const ce = (e, t) => {
|
|
4258
|
+
const { formats: r } = ee();
|
|
4259
4259
|
if (e in r && t in r[e])
|
|
4260
4260
|
return r[e][t];
|
|
4261
4261
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4262
|
-
},
|
|
4262
|
+
}, Gi = Le(
|
|
4263
4263
|
(e) => {
|
|
4264
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4264
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4265
4265
|
if (r == null)
|
|
4266
4266
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4267
|
-
return n && (i =
|
|
4267
|
+
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
|
4268
4268
|
}
|
|
4269
|
-
),
|
|
4269
|
+
), Di = Le(
|
|
4270
4270
|
(e) => {
|
|
4271
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4271
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4272
4272
|
if (r == null)
|
|
4273
4273
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4274
|
-
return n ? i =
|
|
4274
|
+
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4275
4275
|
}
|
|
4276
|
-
),
|
|
4276
|
+
), $i = Le(
|
|
4277
4277
|
(e) => {
|
|
4278
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4278
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4279
4279
|
if (r == null)
|
|
4280
4280
|
throw new Error(
|
|
4281
4281
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4282
4282
|
);
|
|
4283
|
-
return n ? i =
|
|
4283
|
+
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4284
4284
|
}
|
|
4285
|
-
),
|
|
4285
|
+
), Fi = (e = {}) => {
|
|
4286
4286
|
var t = e, {
|
|
4287
|
-
locale: r =
|
|
4288
|
-
} = t, n =
|
|
4287
|
+
locale: r = X()
|
|
4288
|
+
} = t, n = se(t, [
|
|
4289
4289
|
"locale"
|
|
4290
4290
|
]);
|
|
4291
|
-
return
|
|
4292
|
-
},
|
|
4291
|
+
return Gi(ut({ locale: r }, n));
|
|
4292
|
+
}, ji = (e = {}) => {
|
|
4293
4293
|
var t = e, {
|
|
4294
|
-
locale: r =
|
|
4295
|
-
} = t, n =
|
|
4294
|
+
locale: r = X()
|
|
4295
|
+
} = t, n = se(t, [
|
|
4296
4296
|
"locale"
|
|
4297
4297
|
]);
|
|
4298
|
-
return
|
|
4299
|
-
},
|
|
4298
|
+
return Di(ut({ locale: r }, n));
|
|
4299
|
+
}, ki = (e = {}) => {
|
|
4300
4300
|
var t = e, {
|
|
4301
|
-
locale: r =
|
|
4302
|
-
} = t, n =
|
|
4301
|
+
locale: r = X()
|
|
4302
|
+
} = t, n = se(t, [
|
|
4303
4303
|
"locale"
|
|
4304
4304
|
]);
|
|
4305
|
-
return
|
|
4306
|
-
},
|
|
4305
|
+
return $i(ut({ locale: r }, n));
|
|
4306
|
+
}, Vi = Le(
|
|
4307
4307
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4308
|
-
(e, t =
|
|
4309
|
-
ignoreTag:
|
|
4308
|
+
(e, t = X()) => new gi(e, t, ee().formats, {
|
|
4309
|
+
ignoreTag: ee().ignoreTag
|
|
4310
4310
|
})
|
|
4311
|
-
),
|
|
4312
|
-
var r, n, i,
|
|
4313
|
-
let
|
|
4314
|
-
typeof e == "object" && (
|
|
4311
|
+
), Xi = (e, t = {}) => {
|
|
4312
|
+
var r, n, i, s;
|
|
4313
|
+
let o = t;
|
|
4314
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
4315
4315
|
const {
|
|
4316
4316
|
values: a,
|
|
4317
|
-
locale: h =
|
|
4318
|
-
default:
|
|
4319
|
-
} =
|
|
4317
|
+
locale: h = X(),
|
|
4318
|
+
default: u
|
|
4319
|
+
} = o;
|
|
4320
4320
|
if (h == null)
|
|
4321
4321
|
throw new Error(
|
|
4322
4322
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4323
4323
|
);
|
|
4324
|
-
let
|
|
4325
|
-
if (!
|
|
4326
|
-
|
|
4327
|
-
else if (typeof
|
|
4324
|
+
let l = mr(e, h);
|
|
4325
|
+
if (!l)
|
|
4326
|
+
l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4327
|
+
else if (typeof l != "string")
|
|
4328
4328
|
return console.warn(
|
|
4329
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4330
|
-
),
|
|
4329
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4330
|
+
), l;
|
|
4331
4331
|
if (!a)
|
|
4332
|
-
return
|
|
4333
|
-
let
|
|
4332
|
+
return l;
|
|
4333
|
+
let f = l;
|
|
4334
4334
|
try {
|
|
4335
|
-
|
|
4335
|
+
f = Vi(l, h).format(a);
|
|
4336
4336
|
} catch (c) {
|
|
4337
4337
|
c instanceof Error && console.warn(
|
|
4338
4338
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4339
4339
|
c.message
|
|
4340
4340
|
);
|
|
4341
4341
|
}
|
|
4342
|
-
return
|
|
4343
|
-
},
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
window.emWidgets = { topic:
|
|
4349
|
-
const
|
|
4350
|
-
function
|
|
4342
|
+
return f;
|
|
4343
|
+
}, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), qi = (e, t = X()) => mr(e, t), Yi = ne([ie, de], () => Xi);
|
|
4344
|
+
ne([ie], () => Wi);
|
|
4345
|
+
ne([ie], () => zi);
|
|
4346
|
+
ne([ie], () => Zi);
|
|
4347
|
+
ne([ie, de], () => qi);
|
|
4348
|
+
window.emWidgets = { topic: un };
|
|
4349
|
+
const Ji = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4350
|
+
function ws(e, t) {
|
|
4351
4351
|
const r = window.navigator.userAgent;
|
|
4352
|
-
return
|
|
4352
|
+
return Ji(r) ? t = e.filter((n) => {
|
|
4353
4353
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
|
4354
4354
|
return n;
|
|
4355
4355
|
}) : t = e.filter((n) => {
|
|
@@ -4358,13 +4358,14 @@ function Bo(e, t) {
|
|
|
4358
4358
|
}), t;
|
|
4359
4359
|
}
|
|
4360
4360
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4361
|
-
|
|
4361
|
+
const q = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4362
|
+
function Ki(e, t) {
|
|
4362
4363
|
if (e) {
|
|
4363
4364
|
const r = document.createElement("style");
|
|
4364
4365
|
r.innerHTML = t, e.appendChild(r);
|
|
4365
4366
|
}
|
|
4366
4367
|
}
|
|
4367
|
-
function
|
|
4368
|
+
function es(e, t) {
|
|
4368
4369
|
if (!e || !t)
|
|
4369
4370
|
return;
|
|
4370
4371
|
const r = new URL(t);
|
|
@@ -4375,699 +4376,681 @@ function lo(e, t) {
|
|
|
4375
4376
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4376
4377
|
});
|
|
4377
4378
|
}
|
|
4378
|
-
function
|
|
4379
|
-
if (window.emMessageBus)
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4379
|
+
function ts(e, t, r, n = !1) {
|
|
4380
|
+
if (!window.emMessageBus)
|
|
4381
|
+
return;
|
|
4382
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4383
|
+
return r = rs(e, t), r;
|
|
4384
|
+
window[q] || (window[q] = {}), r = ns(e, t);
|
|
4385
|
+
const s = r.unsubscribe.bind(r), o = () => {
|
|
4386
|
+
if (window[q][t]) {
|
|
4387
|
+
const a = window[q][t];
|
|
4388
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[q][t];
|
|
4389
|
+
}
|
|
4390
|
+
s();
|
|
4391
|
+
};
|
|
4392
|
+
return r.unsubscribe = o, r;
|
|
4385
4393
|
}
|
|
4386
|
-
function
|
|
4387
|
-
|
|
4388
|
-
|
|
4394
|
+
function rs(e, t) {
|
|
4395
|
+
const r = document.createElement("style");
|
|
4396
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4397
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
4398
|
+
});
|
|
4399
|
+
}
|
|
4400
|
+
function ns(e, t) {
|
|
4401
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
4402
|
+
if (!e)
|
|
4403
|
+
return;
|
|
4404
|
+
const n = e.getRootNode(), i = window[q];
|
|
4405
|
+
let s = i[t]?.sheet;
|
|
4406
|
+
s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
|
|
4407
|
+
sheet: s,
|
|
4408
|
+
refCount: 1
|
|
4409
|
+
});
|
|
4410
|
+
const o = n.adoptedStyleSheets || [];
|
|
4411
|
+
o.includes(s) || (n.adoptedStyleSheets = [...o, s]);
|
|
4389
4412
|
});
|
|
4390
4413
|
}
|
|
4391
|
-
function
|
|
4392
|
-
|
|
4414
|
+
function It(e, t) {
|
|
4415
|
+
pr(e, t);
|
|
4416
|
+
}
|
|
4417
|
+
function is(e) {
|
|
4418
|
+
ie.set(e);
|
|
4393
4419
|
}
|
|
4394
|
-
const
|
|
4420
|
+
const Mt = {
|
|
4395
4421
|
en: {
|
|
4396
|
-
|
|
4397
|
-
filterby: "Filter by:",
|
|
4398
|
-
all: "All",
|
|
4399
|
-
clear: "Clear all"
|
|
4400
|
-
},
|
|
4401
|
-
zh: {
|
|
4402
|
-
providers: "Providers:",
|
|
4403
|
-
filterby: "Filter by",
|
|
4404
|
-
all: "all",
|
|
4405
|
-
clear: "Clear all"
|
|
4422
|
+
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
4406
4423
|
},
|
|
4407
4424
|
de: {
|
|
4408
|
-
|
|
4409
|
-
filterby: "Filter by:",
|
|
4410
|
-
all: "all",
|
|
4411
|
-
clear: "Clear all"
|
|
4412
|
-
},
|
|
4413
|
-
it: {
|
|
4414
|
-
providers: "Providers:",
|
|
4415
|
-
filterby: "Filter by:",
|
|
4416
|
-
all: "all",
|
|
4417
|
-
clear: "Clear all"
|
|
4418
|
-
},
|
|
4419
|
-
fr: {
|
|
4420
|
-
providers: "Providers:",
|
|
4421
|
-
filterby: "Filter by:",
|
|
4422
|
-
all: "all",
|
|
4423
|
-
clear: "Clear all"
|
|
4425
|
+
noRecentGames: "Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."
|
|
4424
4426
|
},
|
|
4425
4427
|
es: {
|
|
4426
|
-
|
|
4427
|
-
filterby: "Filtrar Por:",
|
|
4428
|
-
all: "Todos",
|
|
4429
|
-
clear: "Limpiar todos"
|
|
4430
|
-
},
|
|
4431
|
-
tr: {
|
|
4432
|
-
providers: "Sağlayıcılar:",
|
|
4433
|
-
filterby: "Filtrele:",
|
|
4434
|
-
all: "Hepsi",
|
|
4435
|
-
clear: "Tümünü Temizle"
|
|
4436
|
-
},
|
|
4437
|
-
ru: {
|
|
4438
|
-
providers: "Providers:",
|
|
4439
|
-
filterby: "Filter by:",
|
|
4440
|
-
all: "all",
|
|
4441
|
-
clear: "Clear all"
|
|
4442
|
-
},
|
|
4443
|
-
ro: {
|
|
4444
|
-
providers: "Providers:",
|
|
4445
|
-
filterby: "Filter by:",
|
|
4446
|
-
all: "all",
|
|
4447
|
-
clear: "Clear all"
|
|
4428
|
+
noRecentGames: "No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."
|
|
4448
4429
|
},
|
|
4449
4430
|
hr: {
|
|
4450
|
-
|
|
4451
|
-
filterby: "Filtrirati po:",
|
|
4452
|
-
all: "Sve",
|
|
4453
|
-
clear: "Očisti sve"
|
|
4454
|
-
},
|
|
4455
|
-
hu: {
|
|
4456
|
-
providers: "Providers:",
|
|
4457
|
-
filterby: "Filter by:",
|
|
4458
|
-
all: "all",
|
|
4459
|
-
clear: "Clear all"
|
|
4460
|
-
},
|
|
4461
|
-
pl: {
|
|
4462
|
-
providers: "Providers:",
|
|
4463
|
-
filterby: "Filter by:",
|
|
4464
|
-
all: "all",
|
|
4465
|
-
clear: "Clear all"
|
|
4466
|
-
},
|
|
4467
|
-
pt: {
|
|
4468
|
-
providers: "Providers:",
|
|
4469
|
-
filterby: "Filter by:",
|
|
4470
|
-
all: "all",
|
|
4471
|
-
clear: "Clear all"
|
|
4472
|
-
},
|
|
4473
|
-
sl: {
|
|
4474
|
-
providers: "Providers:",
|
|
4475
|
-
filterby: "Filter by:",
|
|
4476
|
-
all: "all",
|
|
4477
|
-
clear: "Clear all"
|
|
4478
|
-
},
|
|
4479
|
-
sr: {
|
|
4480
|
-
providers: "Providers:",
|
|
4481
|
-
filterby: "Filter by:",
|
|
4482
|
-
all: "all",
|
|
4483
|
-
clear: "Clear all"
|
|
4431
|
+
noRecentGames: "Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."
|
|
4484
4432
|
},
|
|
4485
4433
|
"pt-br": {
|
|
4486
|
-
|
|
4487
|
-
filterby: "Filtrar por",
|
|
4488
|
-
all: "Tudo",
|
|
4489
|
-
clear: "Apagar tudo"
|
|
4434
|
+
noRecentGames: "Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."
|
|
4490
4435
|
},
|
|
4491
4436
|
"es-mx": {
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4437
|
+
noRecentGames: "Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."
|
|
4438
|
+
},
|
|
4439
|
+
tr: {
|
|
4440
|
+
noRecentGames: "Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."
|
|
4496
4441
|
},
|
|
4497
4442
|
"en-us": {
|
|
4498
|
-
|
|
4499
|
-
filterby: "Filter by:",
|
|
4500
|
-
all: "All",
|
|
4501
|
-
clear: "Clear all"
|
|
4443
|
+
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
4502
4444
|
}
|
|
4503
4445
|
};
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
/*$_*/
|
|
4514
|
-
e[11]("filterby") + ""
|
|
4515
|
-
), u, p, c, m, v = (
|
|
4516
|
-
/*$_*/
|
|
4517
|
-
e[11]("providers") + ""
|
|
4518
|
-
), y, T, H, S, b, I, L, M, A, P, N, z, j, Y = (
|
|
4519
|
-
/*$_*/
|
|
4520
|
-
e[11]("clear") + ""
|
|
4521
|
-
), ie, K, oe, ee, se, Ae;
|
|
4522
|
-
function Pe(d, C) {
|
|
4523
|
-
return (
|
|
4524
|
-
/*fullSelection*/
|
|
4525
|
-
d[7] ? bo : mo
|
|
4526
|
-
);
|
|
4527
|
-
}
|
|
4528
|
-
let ae = Pe(e), U = ae(e), J = Ht(
|
|
4529
|
-
/*vendorArray*/
|
|
4530
|
-
e[5]
|
|
4531
|
-
), f = [];
|
|
4532
|
-
for (let d = 0; d < J.length; d += 1)
|
|
4533
|
-
f[d] = Qt(Jt(e, J, d));
|
|
4534
|
-
return {
|
|
4535
|
-
c() {
|
|
4536
|
-
t = B("div"), r = B("div"), n = B("div"), i = xe("svg"), o = xe("path"), s = V(), a = B("div"), h = B("span"), u = D(l), p = V(), c = B("div"), m = B("span"), y = D(v), T = V(), U.c(), H = V(), S = B("span"), b = xe("svg"), I = xe("path"), A = V(), P = B("div"), N = B("ul");
|
|
4537
|
-
for (let d = 0; d < f.length; d += 1)
|
|
4538
|
-
f[d].c();
|
|
4539
|
-
z = V(), j = B("button"), ie = D(Y), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(h, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(I, "id", "arrow"), g(I, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(I, "transform", "translate(-274.511 -441.088)"), g(I, "fill", "#d1d1d1"), g(b, "xmlns", "http://www.w3.org/2000/svg"), g(b, "width", "14"), g(b, "height", "6.835"), g(b, "viewBox", "0 0 14 6.835"), g(S, "class", L = "TriangleInactive " + /*isFilterActive*/
|
|
4540
|
-
(e[4] ? "TriangleActive" : "")), g(r, "class", M = "FilterSelector " + /*isFilterActive*/
|
|
4541
|
-
(e[4] ? "FilterSelectorOpen" : "")), g(N, "class", "FilterDropdown"), g(j, "class", "ClearFilters"), j.disabled = K = /*fullSelection*/
|
|
4542
|
-
e[7] && /*selectedVendorArray*/
|
|
4543
|
-
e[6].length != /*vendorArray*/
|
|
4544
|
-
e[5].length, g(P, "class", oe = "FilterDropdownContainer " + /*isFilterActive*/
|
|
4545
|
-
(e[4] ? "FilterOpen" : "")), g(t, "class", ee = "FilterContainer " + /*addfilterselector*/
|
|
4546
|
-
(e[0] == "true" && /*addsortingselector*/
|
|
4547
|
-
e[1] == "true" ? "FilerContainerSplit" : ""));
|
|
4548
|
-
},
|
|
4549
|
-
m(d, C) {
|
|
4550
|
-
W(d, t, C), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, h), _(h, u), _(a, p), _(a, c), _(c, m), _(m, y), _(c, T), U.m(c, null), _(r, H), _(r, S), _(S, b), _(b, I), _(t, A), _(t, P), _(P, N);
|
|
4551
|
-
for (let x = 0; x < f.length; x += 1)
|
|
4552
|
-
f[x] && f[x].m(N, null);
|
|
4553
|
-
_(P, z), _(P, j), _(j, ie), se || (Ae = [
|
|
4554
|
-
Re(
|
|
4555
|
-
r,
|
|
4556
|
-
"click",
|
|
4557
|
-
/*click_handler*/
|
|
4558
|
-
e[24]
|
|
4559
|
-
),
|
|
4560
|
-
Re(
|
|
4561
|
-
j,
|
|
4562
|
-
"click",
|
|
4563
|
-
/*click_handler_2*/
|
|
4564
|
-
e[27]
|
|
4565
|
-
)
|
|
4566
|
-
], se = !0);
|
|
4567
|
-
},
|
|
4568
|
-
p(d, C) {
|
|
4569
|
-
if (C[0] & /*$_*/
|
|
4570
|
-
2048 && l !== (l = /*$_*/
|
|
4571
|
-
d[11]("filterby") + "") && te(u, l), C[0] & /*$_*/
|
|
4572
|
-
2048 && v !== (v = /*$_*/
|
|
4573
|
-
d[11]("providers") + "") && te(y, v), ae === (ae = Pe(d)) && U ? U.p(d, C) : (U.d(1), U = ae(d), U && (U.c(), U.m(c, null))), C[0] & /*isFilterActive*/
|
|
4574
|
-
16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
|
|
4575
|
-
(d[4] ? "TriangleActive" : "")) && g(S, "class", L), C[0] & /*isFilterActive*/
|
|
4576
|
-
16 && M !== (M = "FilterSelector " + /*isFilterActive*/
|
|
4577
|
-
(d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", M), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
4578
|
-
8228) {
|
|
4579
|
-
J = Ht(
|
|
4580
|
-
/*vendorArray*/
|
|
4581
|
-
d[5]
|
|
4582
|
-
);
|
|
4583
|
-
let x;
|
|
4584
|
-
for (x = 0; x < J.length; x += 1) {
|
|
4585
|
-
const le = Jt(d, J, x);
|
|
4586
|
-
f[x] ? f[x].p(le, C) : (f[x] = Qt(le), f[x].c(), f[x].m(N, null));
|
|
4587
|
-
}
|
|
4588
|
-
for (; x < f.length; x += 1)
|
|
4589
|
-
f[x].d(1);
|
|
4590
|
-
f.length = J.length;
|
|
4446
|
+
if (typeof window < "u") {
|
|
4447
|
+
let e = function(t) {
|
|
4448
|
+
return function(...r) {
|
|
4449
|
+
try {
|
|
4450
|
+
return t.apply(this, r);
|
|
4451
|
+
} catch (n) {
|
|
4452
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
4453
|
+
return !1;
|
|
4454
|
+
throw n;
|
|
4591
4455
|
}
|
|
4592
|
-
|
|
4593
|
-
2048 && Y !== (Y = /*$_*/
|
|
4594
|
-
d[11]("clear") + "") && te(ie, Y), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
4595
|
-
224 && K !== (K = /*fullSelection*/
|
|
4596
|
-
d[7] && /*selectedVendorArray*/
|
|
4597
|
-
d[6].length != /*vendorArray*/
|
|
4598
|
-
d[5].length) && (j.disabled = K), C[0] & /*isFilterActive*/
|
|
4599
|
-
16 && oe !== (oe = "FilterDropdownContainer " + /*isFilterActive*/
|
|
4600
|
-
(d[4] ? "FilterOpen" : "")) && g(P, "class", oe), C[0] & /*addfilterselector, addsortingselector*/
|
|
4601
|
-
3 && ee !== (ee = "FilterContainer " + /*addfilterselector*/
|
|
4602
|
-
(d[0] == "true" && /*addsortingselector*/
|
|
4603
|
-
d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", ee);
|
|
4604
|
-
},
|
|
4605
|
-
d(d) {
|
|
4606
|
-
d && k(t), U.d(), kr(f, d), se = !1, q(Ae);
|
|
4607
|
-
}
|
|
4456
|
+
};
|
|
4608
4457
|
};
|
|
4458
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-BxPHrlVj.js").then((t) => t.C).then(({ default: t }) => {
|
|
4459
|
+
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
4460
|
+
});
|
|
4609
4461
|
}
|
|
4610
|
-
function
|
|
4611
|
-
|
|
4612
|
-
/*$_*/
|
|
4613
|
-
e[11]("500") + ""
|
|
4614
|
-
);
|
|
4615
|
-
return {
|
|
4616
|
-
c() {
|
|
4617
|
-
t = B("p"), g(t, "class", "SearchLoading");
|
|
4618
|
-
},
|
|
4619
|
-
m(n, i) {
|
|
4620
|
-
W(n, t, i), t.innerHTML = r;
|
|
4621
|
-
},
|
|
4622
|
-
p(n, i) {
|
|
4623
|
-
i[0] & /*$_*/
|
|
4624
|
-
2048 && r !== (r = /*$_*/
|
|
4625
|
-
n[11]("500") + "") && (t.innerHTML = r);
|
|
4626
|
-
},
|
|
4627
|
-
d(n) {
|
|
4628
|
-
n && k(t);
|
|
4629
|
-
}
|
|
4630
|
-
};
|
|
4462
|
+
function ss(e) {
|
|
4463
|
+
Or(e, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
4631
4464
|
}
|
|
4632
|
-
function
|
|
4633
|
-
let t
|
|
4465
|
+
function os(e) {
|
|
4466
|
+
let t;
|
|
4634
4467
|
return {
|
|
4635
4468
|
c() {
|
|
4636
|
-
t =
|
|
4637
|
-
|
|
4469
|
+
t = V("casino-games-category-section"), p(
|
|
4470
|
+
t,
|
|
4471
|
+
"session",
|
|
4472
|
+
/*session*/
|
|
4473
|
+
e[4]
|
|
4474
|
+
), p(
|
|
4475
|
+
t,
|
|
4476
|
+
"userid",
|
|
4477
|
+
/*userid*/
|
|
4478
|
+
e[5]
|
|
4479
|
+
), p(
|
|
4480
|
+
t,
|
|
4481
|
+
"endpoint",
|
|
4482
|
+
/*endpoint*/
|
|
4483
|
+
e[0]
|
|
4484
|
+
), p(
|
|
4485
|
+
t,
|
|
4486
|
+
"datasource",
|
|
4487
|
+
/*datasource*/
|
|
4488
|
+
e[1]
|
|
4489
|
+
), p(
|
|
4490
|
+
t,
|
|
4491
|
+
"lang",
|
|
4492
|
+
/*lang*/
|
|
4493
|
+
e[3]
|
|
4494
|
+
), p(
|
|
4495
|
+
t,
|
|
4496
|
+
"currency",
|
|
4497
|
+
/*currency*/
|
|
4498
|
+
e[2]
|
|
4499
|
+
), p(
|
|
4500
|
+
t,
|
|
4501
|
+
"favorites",
|
|
4502
|
+
/*favorites*/
|
|
4503
|
+
e[15]
|
|
4504
|
+
), p(
|
|
4505
|
+
t,
|
|
4506
|
+
"fetchviaevent",
|
|
4507
|
+
/*fetchviaevent*/
|
|
4508
|
+
e[17]
|
|
4509
|
+
), p(t, "categoryid", "LASTPLAYED"), p(t, "categoryindex", "1"), p(t, "categorygames", "9"), p(t, "class", "CategoryContainer"), p(
|
|
4510
|
+
t,
|
|
4511
|
+
"mbsource",
|
|
4512
|
+
/*mbsource*/
|
|
4513
|
+
e[18]
|
|
4514
|
+
), p(
|
|
4515
|
+
t,
|
|
4516
|
+
"showgamename",
|
|
4517
|
+
/*showgamename*/
|
|
4518
|
+
e[13]
|
|
4519
|
+
), p(
|
|
4520
|
+
t,
|
|
4521
|
+
"clientstyling",
|
|
4522
|
+
/*clientstyling*/
|
|
4523
|
+
e[6]
|
|
4524
|
+
), p(
|
|
4525
|
+
t,
|
|
4526
|
+
"clientstylingurl",
|
|
4527
|
+
/*clientstylingurl*/
|
|
4528
|
+
e[7]
|
|
4529
|
+
), p(
|
|
4530
|
+
t,
|
|
4531
|
+
"translationurl",
|
|
4532
|
+
/*translationurl*/
|
|
4638
4533
|
e[8]
|
|
4639
|
-
),
|
|
4534
|
+
), p(
|
|
4535
|
+
t,
|
|
4536
|
+
"livecasino",
|
|
4537
|
+
/*livecasino*/
|
|
4538
|
+
e[9]
|
|
4539
|
+
), p(
|
|
4540
|
+
t,
|
|
4541
|
+
"visiblegames",
|
|
4542
|
+
/*visiblegames*/
|
|
4543
|
+
e[14]
|
|
4544
|
+
), p(
|
|
4545
|
+
t,
|
|
4546
|
+
"gamepagemodalurl",
|
|
4547
|
+
/*gamepagemodalurl*/
|
|
4548
|
+
e[12]
|
|
4549
|
+
), p(
|
|
4550
|
+
t,
|
|
4551
|
+
"integratedgameframedesktop",
|
|
4552
|
+
/*integratedgameframedesktop*/
|
|
4553
|
+
e[11]
|
|
4554
|
+
), p(
|
|
4555
|
+
t,
|
|
4556
|
+
"integratedgameframemobile",
|
|
4557
|
+
/*integratedgameframemobile*/
|
|
4558
|
+
e[10]
|
|
4559
|
+
), p(
|
|
4560
|
+
t,
|
|
4561
|
+
"casinomygames",
|
|
4562
|
+
/*casinomygames*/
|
|
4563
|
+
e[16]
|
|
4564
|
+
);
|
|
4640
4565
|
},
|
|
4641
|
-
m(
|
|
4642
|
-
|
|
4566
|
+
m(r, n) {
|
|
4567
|
+
fe(r, t, n);
|
|
4643
4568
|
},
|
|
4644
|
-
p(
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4569
|
+
p(r, n) {
|
|
4570
|
+
n[0] & /*session*/
|
|
4571
|
+
16 && p(
|
|
4572
|
+
t,
|
|
4573
|
+
"session",
|
|
4574
|
+
/*session*/
|
|
4575
|
+
r[4]
|
|
4576
|
+
), n[0] & /*userid*/
|
|
4577
|
+
32 && p(
|
|
4578
|
+
t,
|
|
4579
|
+
"userid",
|
|
4580
|
+
/*userid*/
|
|
4581
|
+
r[5]
|
|
4582
|
+
), n[0] & /*endpoint*/
|
|
4583
|
+
1 && p(
|
|
4584
|
+
t,
|
|
4585
|
+
"endpoint",
|
|
4586
|
+
/*endpoint*/
|
|
4587
|
+
r[0]
|
|
4588
|
+
), n[0] & /*datasource*/
|
|
4589
|
+
2 && p(
|
|
4590
|
+
t,
|
|
4591
|
+
"datasource",
|
|
4592
|
+
/*datasource*/
|
|
4593
|
+
r[1]
|
|
4594
|
+
), n[0] & /*lang*/
|
|
4595
|
+
8 && p(
|
|
4596
|
+
t,
|
|
4597
|
+
"lang",
|
|
4598
|
+
/*lang*/
|
|
4599
|
+
r[3]
|
|
4600
|
+
), n[0] & /*currency*/
|
|
4601
|
+
4 && p(
|
|
4602
|
+
t,
|
|
4603
|
+
"currency",
|
|
4604
|
+
/*currency*/
|
|
4605
|
+
r[2]
|
|
4606
|
+
), n[0] & /*favorites*/
|
|
4607
|
+
32768 && p(
|
|
4608
|
+
t,
|
|
4609
|
+
"favorites",
|
|
4610
|
+
/*favorites*/
|
|
4611
|
+
r[15]
|
|
4612
|
+
), n[0] & /*fetchviaevent*/
|
|
4613
|
+
131072 && p(
|
|
4614
|
+
t,
|
|
4615
|
+
"fetchviaevent",
|
|
4616
|
+
/*fetchviaevent*/
|
|
4617
|
+
r[17]
|
|
4618
|
+
), n[0] & /*mbsource*/
|
|
4619
|
+
262144 && p(
|
|
4620
|
+
t,
|
|
4621
|
+
"mbsource",
|
|
4622
|
+
/*mbsource*/
|
|
4623
|
+
r[18]
|
|
4624
|
+
), n[0] & /*showgamename*/
|
|
4625
|
+
8192 && p(
|
|
4626
|
+
t,
|
|
4627
|
+
"showgamename",
|
|
4628
|
+
/*showgamename*/
|
|
4629
|
+
r[13]
|
|
4630
|
+
), n[0] & /*clientstyling*/
|
|
4631
|
+
64 && p(
|
|
4632
|
+
t,
|
|
4633
|
+
"clientstyling",
|
|
4634
|
+
/*clientstyling*/
|
|
4635
|
+
r[6]
|
|
4636
|
+
), n[0] & /*clientstylingurl*/
|
|
4637
|
+
128 && p(
|
|
4638
|
+
t,
|
|
4639
|
+
"clientstylingurl",
|
|
4640
|
+
/*clientstylingurl*/
|
|
4641
|
+
r[7]
|
|
4642
|
+
), n[0] & /*translationurl*/
|
|
4643
|
+
256 && p(
|
|
4644
|
+
t,
|
|
4645
|
+
"translationurl",
|
|
4646
|
+
/*translationurl*/
|
|
4647
|
+
r[8]
|
|
4648
|
+
), n[0] & /*livecasino*/
|
|
4649
|
+
512 && p(
|
|
4650
|
+
t,
|
|
4651
|
+
"livecasino",
|
|
4652
|
+
/*livecasino*/
|
|
4653
|
+
r[9]
|
|
4654
|
+
), n[0] & /*visiblegames*/
|
|
4655
|
+
16384 && p(
|
|
4656
|
+
t,
|
|
4657
|
+
"visiblegames",
|
|
4658
|
+
/*visiblegames*/
|
|
4659
|
+
r[14]
|
|
4660
|
+
), n[0] & /*gamepagemodalurl*/
|
|
4661
|
+
4096 && p(
|
|
4662
|
+
t,
|
|
4663
|
+
"gamepagemodalurl",
|
|
4664
|
+
/*gamepagemodalurl*/
|
|
4665
|
+
r[12]
|
|
4666
|
+
), n[0] & /*integratedgameframedesktop*/
|
|
4667
|
+
2048 && p(
|
|
4668
|
+
t,
|
|
4669
|
+
"integratedgameframedesktop",
|
|
4670
|
+
/*integratedgameframedesktop*/
|
|
4671
|
+
r[11]
|
|
4672
|
+
), n[0] & /*integratedgameframemobile*/
|
|
4673
|
+
1024 && p(
|
|
4674
|
+
t,
|
|
4675
|
+
"integratedgameframemobile",
|
|
4676
|
+
/*integratedgameframemobile*/
|
|
4677
|
+
r[10]
|
|
4678
|
+
), n[0] & /*casinomygames*/
|
|
4679
|
+
65536 && p(
|
|
4680
|
+
t,
|
|
4681
|
+
"casinomygames",
|
|
4682
|
+
/*casinomygames*/
|
|
4683
|
+
r[16]
|
|
4650
4684
|
);
|
|
4651
4685
|
},
|
|
4652
|
-
d(
|
|
4653
|
-
|
|
4686
|
+
d(r) {
|
|
4687
|
+
r && re(t);
|
|
4654
4688
|
}
|
|
4655
4689
|
};
|
|
4656
4690
|
}
|
|
4657
|
-
function
|
|
4691
|
+
function as(e) {
|
|
4658
4692
|
let t, r = (
|
|
4659
4693
|
/*$_*/
|
|
4660
|
-
e[
|
|
4694
|
+
e[21]("noRecentGames") + ""
|
|
4661
4695
|
), n;
|
|
4662
4696
|
return {
|
|
4663
4697
|
c() {
|
|
4664
|
-
t =
|
|
4698
|
+
t = V("p"), n = ot(r), ue(t, "class", "SearchLoading");
|
|
4665
4699
|
},
|
|
4666
|
-
m(i,
|
|
4667
|
-
|
|
4700
|
+
m(i, s) {
|
|
4701
|
+
fe(i, t, s), st(t, n);
|
|
4668
4702
|
},
|
|
4669
|
-
p(i,
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
i[
|
|
4703
|
+
p(i, s) {
|
|
4704
|
+
s[0] & /*$_*/
|
|
4705
|
+
2097152 && r !== (r = /*$_*/
|
|
4706
|
+
i[21]("noRecentGames") + "") && Mr(n, r);
|
|
4673
4707
|
},
|
|
4674
4708
|
d(i) {
|
|
4675
|
-
i &&
|
|
4709
|
+
i && re(t);
|
|
4676
4710
|
}
|
|
4677
4711
|
};
|
|
4678
4712
|
}
|
|
4679
|
-
function
|
|
4713
|
+
function us(e) {
|
|
4680
4714
|
let t, r;
|
|
4681
|
-
|
|
4682
|
-
c() {
|
|
4683
|
-
t = B("img"), wt(t.src, r = /*vendor*/
|
|
4684
|
-
e[37].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
|
|
4685
|
-
},
|
|
4686
|
-
m(n, i) {
|
|
4687
|
-
W(n, t, i);
|
|
4688
|
-
},
|
|
4689
|
-
p(n, i) {
|
|
4690
|
-
i[0] & /*vendorArray*/
|
|
4691
|
-
32 && !wt(t.src, r = /*vendor*/
|
|
4692
|
-
n[37].logo) && g(t, "src", r);
|
|
4693
|
-
},
|
|
4694
|
-
d(n) {
|
|
4695
|
-
n && k(t);
|
|
4696
|
-
}
|
|
4697
|
-
};
|
|
4698
|
-
}
|
|
4699
|
-
function yo(e) {
|
|
4700
|
-
let t, r, n = (
|
|
4701
|
-
/*vendor*/
|
|
4702
|
-
e[37].name + ""
|
|
4703
|
-
), i, o, s, a, h = (
|
|
4704
|
-
/*vendor*/
|
|
4705
|
-
e[37].games.total + ""
|
|
4706
|
-
), l, u;
|
|
4707
|
-
return {
|
|
4708
|
-
c() {
|
|
4709
|
-
t = B("div"), r = B("span"), i = D(n), o = V(), s = B("span"), a = D("("), l = D(h), u = D(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
|
|
4710
|
-
},
|
|
4711
|
-
m(p, c) {
|
|
4712
|
-
W(p, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, u);
|
|
4713
|
-
},
|
|
4714
|
-
p(p, c) {
|
|
4715
|
-
c[0] & /*vendorArray*/
|
|
4716
|
-
32 && n !== (n = /*vendor*/
|
|
4717
|
-
p[37].name + "") && te(i, n), c[0] & /*vendorArray*/
|
|
4718
|
-
32 && h !== (h = /*vendor*/
|
|
4719
|
-
p[37].games.total + "") && te(l, h);
|
|
4720
|
-
},
|
|
4721
|
-
d(p) {
|
|
4722
|
-
p && k(t);
|
|
4723
|
-
}
|
|
4724
|
-
};
|
|
4725
|
-
}
|
|
4726
|
-
function Qt(e) {
|
|
4727
|
-
let t, r, n, i, o, s, a, h, l, u, p, c;
|
|
4728
|
-
function m() {
|
|
4729
|
-
e[25].call(
|
|
4730
|
-
n,
|
|
4731
|
-
/*each_value*/
|
|
4732
|
-
e[38],
|
|
4733
|
-
/*vendor_index*/
|
|
4734
|
-
e[39]
|
|
4735
|
-
);
|
|
4736
|
-
}
|
|
4737
|
-
function v() {
|
|
4715
|
+
function n(o, a) {
|
|
4738
4716
|
return (
|
|
4739
|
-
/*
|
|
4740
|
-
|
|
4741
|
-
/*vendor*/
|
|
4742
|
-
e[37]
|
|
4743
|
-
)
|
|
4717
|
+
/*lastPlayedEmpty*/
|
|
4718
|
+
o[20] ? as : os
|
|
4744
4719
|
);
|
|
4745
4720
|
}
|
|
4746
|
-
|
|
4747
|
-
if (
|
|
4748
|
-
/*filterbylogo*/
|
|
4749
|
-
S[2] === "false"
|
|
4750
|
-
)
|
|
4751
|
-
return yo;
|
|
4752
|
-
if (
|
|
4753
|
-
/*filterbylogo*/
|
|
4754
|
-
S[2] === "true"
|
|
4755
|
-
)
|
|
4756
|
-
return go;
|
|
4757
|
-
}
|
|
4758
|
-
let T = y(e), H = T && T(e);
|
|
4759
|
-
return {
|
|
4760
|
-
c() {
|
|
4761
|
-
t = B("li"), r = B("label"), n = B("input"), o = V(), s = B("span"), a = V(), H && H.c(), h = V(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
|
|
4762
|
-
e[37].name, St(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
|
|
4763
|
-
(e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
|
|
4764
|
-
e[37].name;
|
|
4765
|
-
},
|
|
4766
|
-
m(S, b) {
|
|
4767
|
-
W(S, t, b), _(t, r), _(r, n), n.checked = /*vendor*/
|
|
4768
|
-
e[37].isFilterSelected, _(r, o), _(r, s), _(r, a), H && H.m(r, null), _(t, h), p || (c = [
|
|
4769
|
-
Re(n, "change", m),
|
|
4770
|
-
Re(n, "click", v)
|
|
4771
|
-
], p = !0);
|
|
4772
|
-
},
|
|
4773
|
-
p(S, b) {
|
|
4774
|
-
e = S, b[0] & /*vendorArray*/
|
|
4775
|
-
32 && i !== (i = /*vendor*/
|
|
4776
|
-
e[37].name) && (n.__value = i, St(n, n.__value)), b[0] & /*vendorArray*/
|
|
4777
|
-
32 && (n.checked = /*vendor*/
|
|
4778
|
-
e[37].isFilterSelected), T === (T = y(e)) && H ? H.p(e, b) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), b[0] & /*filterbylogo*/
|
|
4779
|
-
4 && l !== (l = "FilterItem " + /*filterbylogo*/
|
|
4780
|
-
(e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), b[0] & /*vendorArray*/
|
|
4781
|
-
32 && u !== (u = /*vendor*/
|
|
4782
|
-
e[37].name) && (t.value = u);
|
|
4783
|
-
},
|
|
4784
|
-
d(S) {
|
|
4785
|
-
S && k(t), H && H.d(), p = !1, q(c);
|
|
4786
|
-
}
|
|
4787
|
-
};
|
|
4788
|
-
}
|
|
4789
|
-
function vo(e) {
|
|
4790
|
-
let t;
|
|
4791
|
-
function r(o, s) {
|
|
4792
|
-
if (
|
|
4793
|
-
/*hasErrors*/
|
|
4794
|
-
o[10]
|
|
4795
|
-
)
|
|
4796
|
-
return po;
|
|
4797
|
-
if (!/*isLoading*/
|
|
4798
|
-
o[9])
|
|
4799
|
-
return fo;
|
|
4800
|
-
}
|
|
4801
|
-
let n = r(e), i = n && n(e);
|
|
4721
|
+
let i = n(e), s = i(e);
|
|
4802
4722
|
return {
|
|
4803
4723
|
c() {
|
|
4804
|
-
t =
|
|
4724
|
+
t = V("div"), r = V("div"), s.c(), ue(r, "class", "CasinoLastPlayedSection"), ue(t, "class", "CasinoGamesCategorySectionContainer");
|
|
4805
4725
|
},
|
|
4806
|
-
m(o,
|
|
4807
|
-
|
|
4726
|
+
m(o, a) {
|
|
4727
|
+
fe(o, t, a), st(t, r), s.m(r, null), e[26](t);
|
|
4808
4728
|
},
|
|
4809
|
-
p(o,
|
|
4810
|
-
|
|
4729
|
+
p(o, a) {
|
|
4730
|
+
i === (i = n(o)) && s ? s.p(o, a) : (s.d(1), s = i(o), s && (s.c(), s.m(r, null)));
|
|
4811
4731
|
},
|
|
4812
|
-
i:
|
|
4813
|
-
o:
|
|
4732
|
+
i: U,
|
|
4733
|
+
o: U,
|
|
4814
4734
|
d(o) {
|
|
4815
|
-
o &&
|
|
4735
|
+
o && re(t), s.d(), e[26](null);
|
|
4816
4736
|
}
|
|
4817
4737
|
};
|
|
4818
4738
|
}
|
|
4819
|
-
function
|
|
4739
|
+
function hs(e, t, r) {
|
|
4820
4740
|
let n;
|
|
4821
|
-
|
|
4822
|
-
let { endpoint: i = "" } = t, { datasource:
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
zt(C, d[C]);
|
|
4741
|
+
Br(e, Yi, (m) => r(21, n = m));
|
|
4742
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { currency: o = "" } = t, { lang: a = "" } = t, { session: h = "" } = t, { userid: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { livecasino: d = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: v = "false" } = t, { gamepagemodalurl: w = "false" } = t, { showgamename: N = "" } = t, { visiblegames: P = "" } = t, { favorites: T = "" } = t, { lastplayedperiod: I = "Last30Days" } = t, { lastplayedorder: B = "" } = t, { lastplayedlimit: M = "" } = t, { casinomygames: _ = "false" } = t, { lastplayedunique: O = "true" } = t, { fetchviaevent: C = "true" } = t, { mbsource: F } = t, _r = window.navigator.userAgent, Er, ht = !1, pe = [], lt, D;
|
|
4743
|
+
const xr = () => {
|
|
4744
|
+
fetch(c).then((R) => R.json()).then((R) => {
|
|
4745
|
+
Object.keys(R).forEach((H) => {
|
|
4746
|
+
It(H, R[H]);
|
|
4828
4747
|
});
|
|
4829
|
-
}).catch((
|
|
4830
|
-
console.log(
|
|
4748
|
+
}).catch((R) => {
|
|
4749
|
+
console.log(R);
|
|
4831
4750
|
});
|
|
4832
4751
|
};
|
|
4833
|
-
Object.keys(
|
|
4834
|
-
|
|
4835
|
-
})
|
|
4836
|
-
const
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4752
|
+
Object.keys(Mt).forEach((m) => {
|
|
4753
|
+
It(m, Mt[m]);
|
|
4754
|
+
});
|
|
4755
|
+
const Sr = () => new Promise((m, R) => {
|
|
4756
|
+
let H = new URL(`${i}/v1/player/${u}/games/last-played`);
|
|
4757
|
+
H.searchParams.append("unique", O), H.searchParams.append("limit", M), H.searchParams.append("order", B), H.searchParams.append("period", I), Qi(_r) === "PC" ? H.searchParams.append("device", "Desktop") : H.searchParams.append("device", "Mobile"), lt = d ? H : H.href, fetch(lt).then((L) => L.json()).then((L) => {
|
|
4758
|
+
L.items = L.items.filter((Ar) => {
|
|
4759
|
+
let ct = !0;
|
|
4760
|
+
return Ar.gameCode == "OddsMatrix2" && (L.count--, ct = !1), ct;
|
|
4761
|
+
}), m(L), window.postMessage(
|
|
4762
|
+
{
|
|
4763
|
+
type: "AddNewCategory",
|
|
4764
|
+
category: { name: "Last Played", id: "LASTPLAYED" }
|
|
4765
|
+
},
|
|
4766
|
+
window.location.href
|
|
4767
|
+
), window.postMessage({ type: "LastPlayedGames", data: L }, window.location.href);
|
|
4768
|
+
}).catch((L) => {
|
|
4769
|
+
console.error(L), R(L);
|
|
4850
4770
|
});
|
|
4851
|
-
})
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
|
|
4867
|
-
[y === "true" ? "*" : u]: b.map((f) => f.id)
|
|
4868
|
-
})), S.forEach((f) => f.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, T = !1);
|
|
4869
|
-
}, se = (f) => {
|
|
4870
|
-
f.data.type == "SortingOpened" && r(4, T = !1);
|
|
4771
|
+
}), wr = () => {
|
|
4772
|
+
Sr().then((m) => {
|
|
4773
|
+
if (m.count > 0) {
|
|
4774
|
+
let R = [];
|
|
4775
|
+
m.items.forEach((H) => {
|
|
4776
|
+
let j = new URL(`${i}/v1/casino/games/${H.gameId}`);
|
|
4777
|
+
j.searchParams.append("datasource", s), d ? R.push(fetch(j.href).then((L) => L.json())) : R.push(fetch(j.href).then((L) => L.json()));
|
|
4778
|
+
}), Promise.all(R).then((H) => {
|
|
4779
|
+
pe = H.filter((j) => !("error" in j)).map((j) => j[0]), _ === "true" && (pe = pe.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: pe }, window.location.href);
|
|
4780
|
+
});
|
|
4781
|
+
} else
|
|
4782
|
+
r(20, ht = !0);
|
|
4783
|
+
});
|
|
4784
|
+
}, Tr = () => {
|
|
4785
|
+
is(a);
|
|
4871
4786
|
};
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
f[d].isFilterSelected = this.checked, r(5, S);
|
|
4878
|
-
}
|
|
4879
|
-
const ae = (f) => ie(f), U = () => ee();
|
|
4880
|
-
function J(f) {
|
|
4881
|
-
tt[f ? "unshift" : "push"](() => {
|
|
4882
|
-
P = f, r(3, P);
|
|
4787
|
+
Ur(() => () => {
|
|
4788
|
+
});
|
|
4789
|
+
function Hr(m) {
|
|
4790
|
+
$e[m ? "unshift" : "push"](() => {
|
|
4791
|
+
D = m, r(19, D);
|
|
4883
4792
|
});
|
|
4884
4793
|
}
|
|
4885
|
-
return e.$$set = (
|
|
4886
|
-
"endpoint" in
|
|
4794
|
+
return e.$$set = (m) => {
|
|
4795
|
+
"endpoint" in m && r(0, i = m.endpoint), "datasource" in m && r(1, s = m.datasource), "currency" in m && r(2, o = m.currency), "lang" in m && r(3, a = m.lang), "session" in m && r(4, h = m.session), "userid" in m && r(5, u = m.userid), "clientstyling" in m && r(6, l = m.clientstyling), "clientstylingurl" in m && r(7, f = m.clientstylingurl), "translationurl" in m && r(8, c = m.translationurl), "livecasino" in m && r(9, d = m.livecasino), "integratedgameframemobile" in m && r(10, b = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(11, v = m.integratedgameframedesktop), "gamepagemodalurl" in m && r(12, w = m.gamepagemodalurl), "showgamename" in m && r(13, N = m.showgamename), "visiblegames" in m && r(14, P = m.visiblegames), "favorites" in m && r(15, T = m.favorites), "lastplayedperiod" in m && r(22, I = m.lastplayedperiod), "lastplayedorder" in m && r(23, B = m.lastplayedorder), "lastplayedlimit" in m && r(24, M = m.lastplayedlimit), "casinomygames" in m && r(16, _ = m.casinomygames), "lastplayedunique" in m && r(25, O = m.lastplayedunique), "fetchviaevent" in m && r(17, C = m.fetchviaevent), "mbsource" in m && r(18, F = m.mbsource);
|
|
4887
4796
|
}, e.$$.update = () => {
|
|
4888
|
-
e.$$.dirty[0] & /*endpoint,
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4797
|
+
e.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
4798
|
+
41 && i && u && a && wr(), e.$$.dirty[0] & /*translationurl*/
|
|
4799
|
+
256 && c && xr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4800
|
+
524352 && l && D && Ki(D, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4801
|
+
524416 && f && D && es(D, f), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4802
|
+
786432 && D && ts(D, `${F}.Style`, Er), e.$$.dirty[0] & /*lang*/
|
|
4803
|
+
8 && a && Tr();
|
|
4894
4804
|
}, [
|
|
4895
|
-
p,
|
|
4896
|
-
c,
|
|
4897
|
-
m,
|
|
4898
|
-
P,
|
|
4899
|
-
T,
|
|
4900
|
-
S,
|
|
4901
|
-
b,
|
|
4902
|
-
L,
|
|
4903
|
-
M,
|
|
4904
|
-
A,
|
|
4905
|
-
N,
|
|
4906
|
-
n,
|
|
4907
|
-
j,
|
|
4908
|
-
ie,
|
|
4909
|
-
ee,
|
|
4910
4805
|
i,
|
|
4911
|
-
o,
|
|
4912
4806
|
s,
|
|
4807
|
+
o,
|
|
4913
4808
|
a,
|
|
4914
4809
|
h,
|
|
4915
|
-
l,
|
|
4916
4810
|
u,
|
|
4811
|
+
l,
|
|
4812
|
+
f,
|
|
4813
|
+
c,
|
|
4814
|
+
d,
|
|
4815
|
+
b,
|
|
4917
4816
|
v,
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4817
|
+
w,
|
|
4818
|
+
N,
|
|
4819
|
+
P,
|
|
4820
|
+
T,
|
|
4821
|
+
_,
|
|
4822
|
+
C,
|
|
4823
|
+
F,
|
|
4824
|
+
D,
|
|
4825
|
+
ht,
|
|
4826
|
+
n,
|
|
4827
|
+
I,
|
|
4828
|
+
B,
|
|
4829
|
+
M,
|
|
4830
|
+
O,
|
|
4831
|
+
Hr
|
|
4924
4832
|
];
|
|
4925
4833
|
}
|
|
4926
|
-
class
|
|
4834
|
+
class ls extends Wr {
|
|
4927
4835
|
constructor(t) {
|
|
4928
|
-
super(),
|
|
4836
|
+
super(), Vr(
|
|
4929
4837
|
this,
|
|
4930
4838
|
t,
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4839
|
+
hs,
|
|
4840
|
+
us,
|
|
4841
|
+
Ut,
|
|
4934
4842
|
{
|
|
4935
|
-
endpoint:
|
|
4936
|
-
datasource:
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4843
|
+
endpoint: 0,
|
|
4844
|
+
datasource: 1,
|
|
4845
|
+
currency: 2,
|
|
4846
|
+
lang: 3,
|
|
4847
|
+
session: 4,
|
|
4848
|
+
userid: 5,
|
|
4849
|
+
clientstyling: 6,
|
|
4850
|
+
clientstylingurl: 7,
|
|
4851
|
+
translationurl: 8,
|
|
4852
|
+
livecasino: 9,
|
|
4853
|
+
integratedgameframemobile: 10,
|
|
4854
|
+
integratedgameframedesktop: 11,
|
|
4855
|
+
gamepagemodalurl: 12,
|
|
4856
|
+
showgamename: 13,
|
|
4857
|
+
visiblegames: 14,
|
|
4858
|
+
favorites: 15,
|
|
4859
|
+
lastplayedperiod: 22,
|
|
4860
|
+
lastplayedorder: 23,
|
|
4861
|
+
lastplayedlimit: 24,
|
|
4862
|
+
casinomygames: 16,
|
|
4863
|
+
lastplayedunique: 25,
|
|
4864
|
+
fetchviaevent: 17,
|
|
4865
|
+
mbsource: 18
|
|
4947
4866
|
},
|
|
4948
|
-
|
|
4867
|
+
ss,
|
|
4949
4868
|
[-1, -1]
|
|
4950
4869
|
);
|
|
4951
4870
|
}
|
|
4952
4871
|
get endpoint() {
|
|
4953
|
-
return this.$$.ctx[
|
|
4872
|
+
return this.$$.ctx[0];
|
|
4954
4873
|
}
|
|
4955
4874
|
set endpoint(t) {
|
|
4956
|
-
this.$$set({ endpoint: t }),
|
|
4875
|
+
this.$$set({ endpoint: t }), E();
|
|
4957
4876
|
}
|
|
4958
4877
|
get datasource() {
|
|
4959
|
-
return this.$$.ctx[
|
|
4878
|
+
return this.$$.ctx[1];
|
|
4960
4879
|
}
|
|
4961
4880
|
set datasource(t) {
|
|
4962
|
-
this.$$set({ datasource: t }),
|
|
4881
|
+
this.$$set({ datasource: t }), E();
|
|
4882
|
+
}
|
|
4883
|
+
get currency() {
|
|
4884
|
+
return this.$$.ctx[2];
|
|
4885
|
+
}
|
|
4886
|
+
set currency(t) {
|
|
4887
|
+
this.$$set({ currency: t }), E();
|
|
4963
4888
|
}
|
|
4964
4889
|
get lang() {
|
|
4965
|
-
return this.$$.ctx[
|
|
4890
|
+
return this.$$.ctx[3];
|
|
4966
4891
|
}
|
|
4967
4892
|
set lang(t) {
|
|
4968
|
-
this.$$set({ lang: t }),
|
|
4893
|
+
this.$$set({ lang: t }), E();
|
|
4969
4894
|
}
|
|
4970
|
-
get
|
|
4971
|
-
return this.$$.ctx[
|
|
4895
|
+
get session() {
|
|
4896
|
+
return this.$$.ctx[4];
|
|
4972
4897
|
}
|
|
4973
|
-
set
|
|
4974
|
-
this.$$set({
|
|
4898
|
+
set session(t) {
|
|
4899
|
+
this.$$set({ session: t }), E();
|
|
4900
|
+
}
|
|
4901
|
+
get userid() {
|
|
4902
|
+
return this.$$.ctx[5];
|
|
4903
|
+
}
|
|
4904
|
+
set userid(t) {
|
|
4905
|
+
this.$$set({ userid: t }), E();
|
|
4975
4906
|
}
|
|
4976
4907
|
get clientstyling() {
|
|
4977
|
-
return this.$$.ctx[
|
|
4908
|
+
return this.$$.ctx[6];
|
|
4978
4909
|
}
|
|
4979
4910
|
set clientstyling(t) {
|
|
4980
|
-
this.$$set({ clientstyling: t }),
|
|
4911
|
+
this.$$set({ clientstyling: t }), E();
|
|
4981
4912
|
}
|
|
4982
4913
|
get clientstylingurl() {
|
|
4983
|
-
return this.$$.ctx[
|
|
4914
|
+
return this.$$.ctx[7];
|
|
4984
4915
|
}
|
|
4985
4916
|
set clientstylingurl(t) {
|
|
4986
|
-
this.$$set({ clientstylingurl: t }),
|
|
4917
|
+
this.$$set({ clientstylingurl: t }), E();
|
|
4987
4918
|
}
|
|
4988
|
-
get
|
|
4989
|
-
return this.$$.ctx[
|
|
4919
|
+
get translationurl() {
|
|
4920
|
+
return this.$$.ctx[8];
|
|
4990
4921
|
}
|
|
4991
|
-
set
|
|
4992
|
-
this.$$set({
|
|
4922
|
+
set translationurl(t) {
|
|
4923
|
+
this.$$set({ translationurl: t }), E();
|
|
4993
4924
|
}
|
|
4994
|
-
get
|
|
4995
|
-
return this.$$.ctx[
|
|
4925
|
+
get livecasino() {
|
|
4926
|
+
return this.$$.ctx[9];
|
|
4996
4927
|
}
|
|
4997
|
-
set
|
|
4998
|
-
this.$$set({
|
|
4928
|
+
set livecasino(t) {
|
|
4929
|
+
this.$$set({ livecasino: t }), E();
|
|
4999
4930
|
}
|
|
5000
|
-
get
|
|
5001
|
-
return this.$$.ctx[
|
|
4931
|
+
get integratedgameframemobile() {
|
|
4932
|
+
return this.$$.ctx[10];
|
|
5002
4933
|
}
|
|
5003
|
-
set
|
|
5004
|
-
this.$$set({
|
|
4934
|
+
set integratedgameframemobile(t) {
|
|
4935
|
+
this.$$set({ integratedgameframemobile: t }), E();
|
|
5005
4936
|
}
|
|
5006
|
-
get
|
|
5007
|
-
return this.$$.ctx[
|
|
4937
|
+
get integratedgameframedesktop() {
|
|
4938
|
+
return this.$$.ctx[11];
|
|
5008
4939
|
}
|
|
5009
|
-
set
|
|
5010
|
-
this.$$set({
|
|
4940
|
+
set integratedgameframedesktop(t) {
|
|
4941
|
+
this.$$set({ integratedgameframedesktop: t }), E();
|
|
5011
4942
|
}
|
|
5012
|
-
get
|
|
4943
|
+
get gamepagemodalurl() {
|
|
4944
|
+
return this.$$.ctx[12];
|
|
4945
|
+
}
|
|
4946
|
+
set gamepagemodalurl(t) {
|
|
4947
|
+
this.$$set({ gamepagemodalurl: t }), E();
|
|
4948
|
+
}
|
|
4949
|
+
get showgamename() {
|
|
4950
|
+
return this.$$.ctx[13];
|
|
4951
|
+
}
|
|
4952
|
+
set showgamename(t) {
|
|
4953
|
+
this.$$set({ showgamename: t }), E();
|
|
4954
|
+
}
|
|
4955
|
+
get visiblegames() {
|
|
4956
|
+
return this.$$.ctx[14];
|
|
4957
|
+
}
|
|
4958
|
+
set visiblegames(t) {
|
|
4959
|
+
this.$$set({ visiblegames: t }), E();
|
|
4960
|
+
}
|
|
4961
|
+
get favorites() {
|
|
4962
|
+
return this.$$.ctx[15];
|
|
4963
|
+
}
|
|
4964
|
+
set favorites(t) {
|
|
4965
|
+
this.$$set({ favorites: t }), E();
|
|
4966
|
+
}
|
|
4967
|
+
get lastplayedperiod() {
|
|
5013
4968
|
return this.$$.ctx[22];
|
|
5014
4969
|
}
|
|
5015
|
-
set
|
|
5016
|
-
this.$$set({
|
|
4970
|
+
set lastplayedperiod(t) {
|
|
4971
|
+
this.$$set({ lastplayedperiod: t }), E();
|
|
5017
4972
|
}
|
|
5018
|
-
get
|
|
4973
|
+
get lastplayedorder() {
|
|
5019
4974
|
return this.$$.ctx[23];
|
|
5020
4975
|
}
|
|
5021
|
-
set
|
|
5022
|
-
this.$$set({
|
|
4976
|
+
set lastplayedorder(t) {
|
|
4977
|
+
this.$$set({ lastplayedorder: t }), E();
|
|
4978
|
+
}
|
|
4979
|
+
get lastplayedlimit() {
|
|
4980
|
+
return this.$$.ctx[24];
|
|
4981
|
+
}
|
|
4982
|
+
set lastplayedlimit(t) {
|
|
4983
|
+
this.$$set({ lastplayedlimit: t }), E();
|
|
4984
|
+
}
|
|
4985
|
+
get casinomygames() {
|
|
4986
|
+
return this.$$.ctx[16];
|
|
4987
|
+
}
|
|
4988
|
+
set casinomygames(t) {
|
|
4989
|
+
this.$$set({ casinomygames: t }), E();
|
|
4990
|
+
}
|
|
4991
|
+
get lastplayedunique() {
|
|
4992
|
+
return this.$$.ctx[25];
|
|
4993
|
+
}
|
|
4994
|
+
set lastplayedunique(t) {
|
|
4995
|
+
this.$$set({ lastplayedunique: t }), E();
|
|
4996
|
+
}
|
|
4997
|
+
get fetchviaevent() {
|
|
4998
|
+
return this.$$.ctx[17];
|
|
4999
|
+
}
|
|
5000
|
+
set fetchviaevent(t) {
|
|
5001
|
+
this.$$set({ fetchviaevent: t }), E();
|
|
5002
|
+
}
|
|
5003
|
+
get mbsource() {
|
|
5004
|
+
return this.$$.ctx[18];
|
|
5005
|
+
}
|
|
5006
|
+
set mbsource(t) {
|
|
5007
|
+
this.$$set({ mbsource: t }), E();
|
|
5023
5008
|
}
|
|
5024
5009
|
}
|
|
5025
|
-
|
|
5026
|
-
const Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5027
|
-
__proto__: null,
|
|
5028
|
-
default: Nr
|
|
5029
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
5010
|
+
Xr(ls, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
5030
5011
|
export {
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5012
|
+
ie as $,
|
|
5013
|
+
xs as A,
|
|
5014
|
+
fs as B,
|
|
5015
|
+
ps as C,
|
|
5016
|
+
Nr as D,
|
|
5017
|
+
Yi as E,
|
|
5018
|
+
Ki as F,
|
|
5019
|
+
es as G,
|
|
5020
|
+
ts as H,
|
|
5021
|
+
cs as I,
|
|
5022
|
+
gs as J,
|
|
5023
|
+
ys as K,
|
|
5024
|
+
_s as L,
|
|
5025
|
+
de as M,
|
|
5026
|
+
te as N,
|
|
5027
|
+
bs as O,
|
|
5028
|
+
ls as P,
|
|
5029
|
+
Wr as S,
|
|
5030
|
+
pr as a,
|
|
5031
|
+
Or as b,
|
|
5032
|
+
Xr as c,
|
|
5033
|
+
re as d,
|
|
5034
|
+
fe as e,
|
|
5035
|
+
E as f,
|
|
5036
|
+
V as g,
|
|
5037
|
+
ue as h,
|
|
5038
|
+
Vr as i,
|
|
5039
|
+
Br as j,
|
|
5040
|
+
Ur as k,
|
|
5041
|
+
$e as l,
|
|
5042
|
+
ds as m,
|
|
5043
|
+
U as n,
|
|
5044
|
+
vs as o,
|
|
5045
|
+
ws as p,
|
|
5046
|
+
st as q,
|
|
5047
|
+
ms as r,
|
|
5048
|
+
Ut as s,
|
|
5049
|
+
Ji as t,
|
|
5050
|
+
Qi as u,
|
|
5051
|
+
Mr as v,
|
|
5052
|
+
ot as w,
|
|
5053
|
+
Es as x,
|
|
5054
|
+
Ss as y,
|
|
5055
|
+
p as z
|
|
5073
5056
|
};
|