@everymatrix/casino-categories-slider 1.65.3 → 1.66.0
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/CasinoCategoriesSlider-Bd1R0RB0.cjs +18 -0
- package/components/{CasinoCategoriesSlider-lUQbmZn9.js → CasinoCategoriesSlider-DMC9CFDg.js} +891 -856
- package/components/{CasinoCategoriesSlider-BWerxhh-.js → CasinoCategoriesSlider-Qhx13ZiU.js} +850 -815
- package/components/{CasinoSlider-DoAKa6rO.js → CasinoSlider-4oZFStFQ.js} +31 -31
- package/components/{CasinoSlider-C2dsDPpR.js → CasinoSlider-BCZsEGOH.js} +32 -32
- package/components/{CasinoSlider-CrbzADcf.cjs → CasinoSlider-BViBOG_Y.cjs} +1 -1
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSlider-3NEy5qU2.cjs +0 -18
package/components/{CasinoCategoriesSlider-lUQbmZn9.js → CasinoCategoriesSlider-DMC9CFDg.js}
RENAMED
@@ -1,28 +1,28 @@
|
|
1
1
|
function I() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Dt(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function bt() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
9
|
+
function te(e) {
|
10
|
+
e.forEach(Dt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function at(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function $t(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
18
|
let pe;
|
19
|
-
function
|
19
|
+
function bs(e, t) {
|
20
20
|
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
21
21
|
}
|
22
|
-
function
|
22
|
+
function Ir(e) {
|
23
23
|
return Object.keys(e).length === 0;
|
24
24
|
}
|
25
|
-
function
|
25
|
+
function Ft(e, ...t) {
|
26
26
|
if (e == null) {
|
27
27
|
for (const n of t)
|
28
28
|
n(void 0);
|
@@ -31,20 +31,20 @@ function Gt(e, ...t) {
|
|
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 Cr(e, t, r) {
|
35
|
+
e.$$.on_destroy.push(Ft(t, r));
|
36
36
|
}
|
37
|
-
function
|
37
|
+
function jt(e, t) {
|
38
38
|
e.appendChild(t);
|
39
39
|
}
|
40
|
-
function
|
41
|
-
const n =
|
40
|
+
function Mr(e, t, r) {
|
41
|
+
const n = Rr(e);
|
42
42
|
if (!n.getElementById(t)) {
|
43
43
|
const i = k("style");
|
44
|
-
i.id = t, i.textContent = r,
|
44
|
+
i.id = t, i.textContent = r, Gr(n, i);
|
45
45
|
}
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function Rr(e) {
|
48
48
|
if (!e)
|
49
49
|
return document;
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -54,53 +54,53 @@ function Lr(e) {
|
|
54
54
|
t
|
55
55
|
) : e.ownerDocument;
|
56
56
|
}
|
57
|
-
function
|
58
|
-
return
|
57
|
+
function Gr(e, t) {
|
58
|
+
return jt(
|
59
59
|
/** @type {Document} */
|
60
60
|
e.head || e,
|
61
61
|
t
|
62
62
|
), t.sheet;
|
63
63
|
}
|
64
|
-
function
|
64
|
+
function le(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 ps(e, t) {
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
72
72
|
e[r] && e[r].d(t);
|
73
73
|
}
|
74
74
|
function k(e) {
|
75
75
|
return document.createElement(e);
|
76
76
|
}
|
77
|
-
function
|
77
|
+
function kt(e) {
|
78
78
|
return document.createTextNode(e);
|
79
79
|
}
|
80
|
-
function
|
81
|
-
return
|
80
|
+
function ys() {
|
81
|
+
return kt(" ");
|
82
82
|
}
|
83
|
-
function
|
84
|
-
return
|
83
|
+
function gs() {
|
84
|
+
return kt("");
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function vs(e, t, r, n) {
|
87
87
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
88
88
|
}
|
89
|
-
function
|
89
|
+
function ce(e, t, r) {
|
90
90
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
91
91
|
}
|
92
|
-
function
|
92
|
+
function v(e, t, r) {
|
93
93
|
const n = t.toLowerCase();
|
94
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
94
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ce(e, t, r);
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function Ur(e) {
|
97
97
|
return Array.from(e.childNodes);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function _s(e, t) {
|
100
100
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
101
101
|
t);
|
102
102
|
}
|
103
|
-
function
|
103
|
+
function Dr(e) {
|
104
104
|
const t = {};
|
105
105
|
return e.childNodes.forEach(
|
106
106
|
/** @param {Element} node */
|
@@ -109,123 +109,123 @@ function Mr(e) {
|
|
109
109
|
}
|
110
110
|
), t;
|
111
111
|
}
|
112
|
-
let
|
113
|
-
function
|
114
|
-
|
112
|
+
let ae;
|
113
|
+
function oe(e) {
|
114
|
+
ae = e;
|
115
115
|
}
|
116
|
-
function
|
117
|
-
if (!
|
116
|
+
function $r() {
|
117
|
+
if (!ae)
|
118
118
|
throw new Error("Function called outside component initialization");
|
119
|
-
return
|
119
|
+
return ae;
|
120
120
|
}
|
121
|
-
function
|
122
|
-
|
121
|
+
function Fr(e) {
|
122
|
+
$r().$$.on_mount.push(e);
|
123
123
|
}
|
124
|
-
const Q = [],
|
124
|
+
const Q = [], je = [];
|
125
125
|
let Y = [];
|
126
|
-
const
|
127
|
-
let
|
128
|
-
function
|
129
|
-
|
126
|
+
const pt = [], Vt = /* @__PURE__ */ Promise.resolve();
|
127
|
+
let ke = !1;
|
128
|
+
function Xt() {
|
129
|
+
ke || (ke = !0, Vt.then(x));
|
130
130
|
}
|
131
|
-
function
|
132
|
-
return
|
131
|
+
function jr() {
|
132
|
+
return Xt(), Vt;
|
133
133
|
}
|
134
|
-
function
|
134
|
+
function Ve(e) {
|
135
135
|
Y.push(e);
|
136
136
|
}
|
137
|
-
const
|
137
|
+
const Ce = /* @__PURE__ */ new Set();
|
138
138
|
let z = 0;
|
139
|
-
function
|
139
|
+
function x() {
|
140
140
|
if (z !== 0)
|
141
141
|
return;
|
142
|
-
const e =
|
142
|
+
const e = ae;
|
143
143
|
do {
|
144
144
|
try {
|
145
145
|
for (; z < Q.length; ) {
|
146
146
|
const t = Q[z];
|
147
|
-
z++,
|
147
|
+
z++, oe(t), kr(t.$$);
|
148
148
|
}
|
149
149
|
} catch (t) {
|
150
150
|
throw Q.length = 0, z = 0, t;
|
151
151
|
}
|
152
|
-
for (
|
153
|
-
|
152
|
+
for (oe(null), Q.length = 0, z = 0; je.length; )
|
153
|
+
je.pop()();
|
154
154
|
for (let t = 0; t < Y.length; t += 1) {
|
155
155
|
const r = Y[t];
|
156
|
-
|
156
|
+
Ce.has(r) || (Ce.add(r), r());
|
157
157
|
}
|
158
158
|
Y.length = 0;
|
159
159
|
} while (Q.length);
|
160
|
-
for (;
|
161
|
-
|
162
|
-
|
160
|
+
for (; pt.length; )
|
161
|
+
pt.pop()();
|
162
|
+
ke = !1, Ce.clear(), oe(e);
|
163
163
|
}
|
164
|
-
function
|
164
|
+
function kr(e) {
|
165
165
|
if (e.fragment !== null) {
|
166
|
-
e.update(),
|
166
|
+
e.update(), te(e.before_update);
|
167
167
|
const t = e.dirty;
|
168
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
168
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
|
169
169
|
}
|
170
170
|
}
|
171
|
-
function
|
171
|
+
function Vr(e) {
|
172
172
|
const t = [], r = [];
|
173
173
|
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
174
174
|
}
|
175
|
-
const
|
176
|
-
function
|
177
|
-
e && e.i && (
|
175
|
+
const Xr = /* @__PURE__ */ new Set();
|
176
|
+
function Wt(e, t) {
|
177
|
+
e && e.i && (Xr.delete(e), e.i(t));
|
178
178
|
}
|
179
|
-
function
|
179
|
+
function Es(e) {
|
180
180
|
return e?.length !== void 0 ? e : Array.from(e);
|
181
181
|
}
|
182
|
-
function
|
182
|
+
function xs(e, t) {
|
183
183
|
e.d(1), t.delete(e.key);
|
184
184
|
}
|
185
|
-
function
|
185
|
+
function Ss(e, t, r, n, i, s, o, a, h, u, l, m) {
|
186
186
|
let c = e.length, d = s.length, b = c;
|
187
|
-
const
|
187
|
+
const g = {};
|
188
188
|
for (; b--; )
|
189
|
-
|
189
|
+
g[e[b].key] = b;
|
190
190
|
const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
|
191
191
|
for (b = d; b--; ) {
|
192
|
-
const
|
192
|
+
const _ = m(i, s, b), A = r(_);
|
193
193
|
let L = o.get(A);
|
194
|
-
L ? w.push(() => L.p(
|
194
|
+
L ? w.push(() => L.p(_, t)) : (L = u(A, _), L.c()), C.set(A, T[b] = L), A in g && P.set(A, Math.abs(b - g[A]));
|
195
195
|
}
|
196
|
-
const
|
197
|
-
function M(
|
198
|
-
|
196
|
+
const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
|
197
|
+
function M(_) {
|
198
|
+
Wt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
199
199
|
}
|
200
200
|
for (; c && d; ) {
|
201
|
-
const
|
202
|
-
|
201
|
+
const _ = T[d - 1], A = e[c - 1], L = _.key, $ = A.key;
|
202
|
+
_ === A ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || O.has(L) ? M(_) : N.has($) ? c-- : P.get(L) > P.get($) ? (N.add(L), M(_)) : (O.add($), c--) : (h(A, o), c--);
|
203
203
|
}
|
204
204
|
for (; c--; ) {
|
205
|
-
const
|
206
|
-
C.has(
|
205
|
+
const _ = e[c];
|
206
|
+
C.has(_.key) || h(_, o);
|
207
207
|
}
|
208
208
|
for (; d; )
|
209
209
|
M(T[d - 1]);
|
210
|
-
return
|
210
|
+
return te(w), T;
|
211
211
|
}
|
212
|
-
function
|
212
|
+
function Wr(e, t, r) {
|
213
213
|
const { fragment: n, after_update: i } = e.$$;
|
214
|
-
n && n.m(t, r),
|
215
|
-
const s = e.$$.on_mount.map(
|
216
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
217
|
-
}), i.forEach(
|
214
|
+
n && n.m(t, r), Ve(() => {
|
215
|
+
const s = e.$$.on_mount.map(Dt).filter(at);
|
216
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
|
217
|
+
}), i.forEach(Ve);
|
218
218
|
}
|
219
|
-
function
|
219
|
+
function zr(e, t) {
|
220
220
|
const r = e.$$;
|
221
|
-
r.fragment !== null && (
|
221
|
+
r.fragment !== null && (Vr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
222
222
|
}
|
223
|
-
function
|
224
|
-
e.$$.dirty[0] === -1 && (Q.push(e),
|
223
|
+
function Zr(e, t) {
|
224
|
+
e.$$.dirty[0] === -1 && (Q.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
225
225
|
}
|
226
|
-
function
|
227
|
-
const h =
|
228
|
-
|
226
|
+
function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
227
|
+
const h = ae;
|
228
|
+
oe(e);
|
229
229
|
const u = e.$$ = {
|
230
230
|
fragment: null,
|
231
231
|
ctx: [],
|
@@ -233,7 +233,7 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
233
233
|
props: s,
|
234
234
|
update: I,
|
235
235
|
not_equal: i,
|
236
|
-
bound:
|
236
|
+
bound: bt(),
|
237
237
|
// lifecycle
|
238
238
|
on_mount: [],
|
239
239
|
on_destroy: [],
|
@@ -242,7 +242,7 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
242
242
|
after_update: [],
|
243
243
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
244
244
|
// everything else
|
245
|
-
callbacks:
|
245
|
+
callbacks: bt(),
|
246
246
|
dirty: a,
|
247
247
|
skip_bound: !1,
|
248
248
|
root: t.target || h.$$.root
|
@@ -251,19 +251,19 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
251
251
|
let l = !1;
|
252
252
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
253
253
|
const b = d.length ? d[0] : c;
|
254
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
255
|
-
}) : [], u.update(), l = !0,
|
254
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Zr(e, m)), c;
|
255
|
+
}) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
256
256
|
if (t.hydrate) {
|
257
|
-
const m =
|
258
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
257
|
+
const m = Ur(t.target);
|
258
|
+
u.fragment && u.fragment.l(m), m.forEach(re);
|
259
259
|
} else
|
260
260
|
u.fragment && u.fragment.c();
|
261
|
-
t.intro &&
|
261
|
+
t.intro && Wt(e.$$.fragment), Wr(e, t.target, t.anchor), x();
|
262
262
|
}
|
263
|
-
|
263
|
+
oe(h);
|
264
264
|
}
|
265
|
-
let
|
266
|
-
typeof HTMLElement == "function" && (
|
265
|
+
let zt;
|
266
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
267
267
|
/** The Svelte component constructor */
|
268
268
|
$$ctor;
|
269
269
|
/** Slots */
|
@@ -305,24 +305,24 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
305
305
|
let s;
|
306
306
|
return {
|
307
307
|
c: function() {
|
308
|
-
s = k("slot"), i !== "default" &&
|
308
|
+
s = k("slot"), i !== "default" && ce(s, "name", i);
|
309
309
|
},
|
310
310
|
/**
|
311
311
|
* @param {HTMLElement} target
|
312
312
|
* @param {HTMLElement} [anchor]
|
313
313
|
*/
|
314
314
|
m: function(h, u) {
|
315
|
-
|
315
|
+
le(h, s, u);
|
316
316
|
},
|
317
317
|
d: function(h) {
|
318
|
-
h &&
|
318
|
+
h && re(s);
|
319
319
|
}
|
320
320
|
};
|
321
321
|
};
|
322
322
|
};
|
323
323
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
324
324
|
return;
|
325
|
-
const t = {}, r =
|
325
|
+
const t = {}, r = Dr(this);
|
326
326
|
for (const i of this.$$s)
|
327
327
|
i in r && (t[i] = [e(i)]);
|
328
328
|
for (const i of this.attributes) {
|
@@ -409,8 +409,8 @@ function ve(e, t, r, n) {
|
|
409
409
|
return t;
|
410
410
|
}
|
411
411
|
}
|
412
|
-
function
|
413
|
-
let o = class extends
|
412
|
+
function Yr(e, t, r, n, i, s) {
|
413
|
+
let o = class extends zt {
|
414
414
|
constructor() {
|
415
415
|
super(e, r, i), this.$$p_d = t;
|
416
416
|
}
|
@@ -438,7 +438,7 @@ function Wr(e, t, r, n, i, s) {
|
|
438
438
|
}), e.element = /** @type {any} */
|
439
439
|
o, o;
|
440
440
|
}
|
441
|
-
class
|
441
|
+
class qr {
|
442
442
|
/**
|
443
443
|
* ### PRIVATE API
|
444
444
|
*
|
@@ -457,7 +457,7 @@ class zr {
|
|
457
457
|
$$set = void 0;
|
458
458
|
/** @returns {void} */
|
459
459
|
$destroy() {
|
460
|
-
|
460
|
+
zr(this, 1), this.$destroy = I;
|
461
461
|
}
|
462
462
|
/**
|
463
463
|
* @template {Extract<keyof Events, string>} K
|
@@ -466,7 +466,7 @@ class zr {
|
|
466
466
|
* @returns {() => void}
|
467
467
|
*/
|
468
468
|
$on(t, r) {
|
469
|
-
if (!
|
469
|
+
if (!at(r))
|
470
470
|
return I;
|
471
471
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
472
472
|
return n.push(r), () => {
|
@@ -479,11 +479,11 @@ class zr {
|
|
479
479
|
* @returns {void}
|
480
480
|
*/
|
481
481
|
$set(t) {
|
482
|
-
this.$$set && !
|
482
|
+
this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
483
483
|
}
|
484
484
|
}
|
485
|
-
const
|
486
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
485
|
+
const Jr = "4";
|
486
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
|
487
487
|
/*! *****************************************************************************
|
488
488
|
Copyright (c) Microsoft Corporation.
|
489
489
|
|
@@ -498,43 +498,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
498
498
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
499
499
|
PERFORMANCE OF THIS SOFTWARE.
|
500
500
|
***************************************************************************** */
|
501
|
-
var
|
502
|
-
return
|
501
|
+
var Xe = function(e, t) {
|
502
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
503
503
|
r.__proto__ = n;
|
504
504
|
} || function(r, n) {
|
505
505
|
for (var i in n)
|
506
506
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
507
|
-
},
|
507
|
+
}, Xe(e, t);
|
508
508
|
};
|
509
|
-
function
|
509
|
+
function fe(e, t) {
|
510
510
|
if (typeof t != "function" && t !== null)
|
511
511
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
512
|
-
|
512
|
+
Xe(e, t);
|
513
513
|
function r() {
|
514
514
|
this.constructor = e;
|
515
515
|
}
|
516
516
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
517
517
|
}
|
518
|
-
|
519
|
-
return v = Object.assign || function(t) {
|
520
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
521
|
-
r = arguments[n];
|
522
|
-
for (var s in r)
|
523
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
524
|
-
}
|
525
|
-
return t;
|
526
|
-
}, v.apply(this, arguments);
|
527
|
-
};
|
528
|
-
function Qr(e, t) {
|
529
|
-
var r = {};
|
530
|
-
for (var n in e)
|
531
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
532
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
533
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
534
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
535
|
-
return r;
|
536
|
-
}
|
537
|
-
function ke(e) {
|
518
|
+
function We(e) {
|
538
519
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
539
520
|
if (r)
|
540
521
|
return r.call(e);
|
@@ -546,7 +527,7 @@ function ke(e) {
|
|
546
527
|
};
|
547
528
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
548
529
|
}
|
549
|
-
function
|
530
|
+
function ze(e, t) {
|
550
531
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
551
532
|
if (!r)
|
552
533
|
return e;
|
@@ -566,22 +547,22 @@ function Ve(e, t) {
|
|
566
547
|
}
|
567
548
|
return s;
|
568
549
|
}
|
569
|
-
function
|
570
|
-
if (
|
550
|
+
function Ze(e, t, r) {
|
551
|
+
if (arguments.length === 2)
|
571
552
|
for (var n = 0, i = t.length, s; n < i; n++)
|
572
553
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
573
554
|
return e.concat(s || t);
|
574
555
|
}
|
575
|
-
function
|
556
|
+
function U(e) {
|
576
557
|
return typeof e == "function";
|
577
558
|
}
|
578
|
-
function
|
559
|
+
function Zt(e) {
|
579
560
|
var t = function(n) {
|
580
561
|
Error.call(n), n.stack = new Error().stack;
|
581
562
|
}, r = e(t);
|
582
563
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
583
564
|
}
|
584
|
-
var
|
565
|
+
var Me = Zt(function(e) {
|
585
566
|
return function(r) {
|
586
567
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
587
568
|
` + r.map(function(n, i) {
|
@@ -590,13 +571,13 @@ var Ie = Vt(function(e) {
|
|
590
571
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
591
572
|
};
|
592
573
|
});
|
593
|
-
function
|
574
|
+
function Qe(e, t) {
|
594
575
|
if (e) {
|
595
576
|
var r = e.indexOf(t);
|
596
577
|
0 <= r && e.splice(r, 1);
|
597
578
|
}
|
598
579
|
}
|
599
|
-
var
|
580
|
+
var He = function() {
|
600
581
|
function e(t) {
|
601
582
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
602
583
|
}
|
@@ -608,12 +589,12 @@ var Te = function() {
|
|
608
589
|
if (o)
|
609
590
|
if (this._parentage = null, Array.isArray(o))
|
610
591
|
try {
|
611
|
-
for (var a =
|
592
|
+
for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
|
612
593
|
var u = h.value;
|
613
594
|
u.remove(this);
|
614
595
|
}
|
615
|
-
} catch (
|
616
|
-
t = { error:
|
596
|
+
} catch (g) {
|
597
|
+
t = { error: g };
|
617
598
|
} finally {
|
618
599
|
try {
|
619
600
|
h && !h.done && (r = a.return) && r.call(a);
|
@@ -625,26 +606,26 @@ var Te = function() {
|
|
625
606
|
else
|
626
607
|
o.remove(this);
|
627
608
|
var l = this.initialTeardown;
|
628
|
-
if (
|
609
|
+
if (U(l))
|
629
610
|
try {
|
630
611
|
l();
|
631
|
-
} catch (
|
632
|
-
s =
|
612
|
+
} catch (g) {
|
613
|
+
s = g instanceof Me ? g.errors : [g];
|
633
614
|
}
|
634
615
|
var m = this._finalizers;
|
635
616
|
if (m) {
|
636
617
|
this._finalizers = null;
|
637
618
|
try {
|
638
|
-
for (var c =
|
619
|
+
for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
|
639
620
|
var b = d.value;
|
640
621
|
try {
|
641
|
-
|
642
|
-
} catch (
|
643
|
-
s = s ?? [],
|
622
|
+
yt(b);
|
623
|
+
} catch (g) {
|
624
|
+
s = s ?? [], g instanceof Me ? s = Ze(Ze([], ze(s)), ze(g.errors)) : s.push(g);
|
644
625
|
}
|
645
626
|
}
|
646
|
-
} catch (
|
647
|
-
n = { error:
|
627
|
+
} catch (g) {
|
628
|
+
n = { error: g };
|
648
629
|
} finally {
|
649
630
|
try {
|
650
631
|
d && !d.done && (i = c.return) && i.call(c);
|
@@ -655,13 +636,13 @@ var Te = function() {
|
|
655
636
|
}
|
656
637
|
}
|
657
638
|
if (s)
|
658
|
-
throw new
|
639
|
+
throw new Me(s);
|
659
640
|
}
|
660
641
|
}, e.prototype.add = function(t) {
|
661
642
|
var r;
|
662
643
|
if (t && t !== this)
|
663
644
|
if (this.closed)
|
664
|
-
|
645
|
+
yt(t);
|
665
646
|
else {
|
666
647
|
if (t instanceof e) {
|
667
648
|
if (t.closed || t._hasParent(this))
|
@@ -678,56 +659,52 @@ var Te = function() {
|
|
678
659
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
679
660
|
}, e.prototype._removeParent = function(t) {
|
680
661
|
var r = this._parentage;
|
681
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
662
|
+
r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
|
682
663
|
}, e.prototype.remove = function(t) {
|
683
664
|
var r = this._finalizers;
|
684
|
-
r &&
|
665
|
+
r && Qe(r, t), t instanceof e && t._removeParent(this);
|
685
666
|
}, e.EMPTY = function() {
|
686
667
|
var t = new e();
|
687
668
|
return t.closed = !0, t;
|
688
669
|
}(), e;
|
689
|
-
}(),
|
690
|
-
function
|
691
|
-
return e instanceof
|
692
|
-
}
|
693
|
-
function
|
694
|
-
|
695
|
-
}
|
696
|
-
var
|
697
|
-
|
698
|
-
|
699
|
-
Promise: void 0,
|
700
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
701
|
-
useDeprecatedNextContext: !1
|
702
|
-
}, qr = {
|
670
|
+
}(), Qt = He.EMPTY;
|
671
|
+
function Yt(e) {
|
672
|
+
return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
673
|
+
}
|
674
|
+
function yt(e) {
|
675
|
+
U(e) ? e() : e.unsubscribe();
|
676
|
+
}
|
677
|
+
var Kr = {
|
678
|
+
Promise: void 0
|
679
|
+
}, en = {
|
703
680
|
setTimeout: function(e, t) {
|
704
681
|
for (var r = [], n = 2; n < arguments.length; n++)
|
705
682
|
r[n - 2] = arguments[n];
|
706
|
-
return setTimeout.apply(void 0,
|
683
|
+
return setTimeout.apply(void 0, Ze([e, t], ze(r)));
|
707
684
|
},
|
708
685
|
clearTimeout: function(e) {
|
709
686
|
return clearTimeout(e);
|
710
687
|
},
|
711
688
|
delegate: void 0
|
712
689
|
};
|
713
|
-
function
|
714
|
-
|
690
|
+
function tn(e) {
|
691
|
+
en.setTimeout(function() {
|
715
692
|
throw e;
|
716
693
|
});
|
717
694
|
}
|
718
|
-
function
|
695
|
+
function gt() {
|
719
696
|
}
|
720
697
|
function _e(e) {
|
721
698
|
e();
|
722
699
|
}
|
723
|
-
var
|
724
|
-
|
700
|
+
var qt = function(e) {
|
701
|
+
fe(t, e);
|
725
702
|
function t(r) {
|
726
703
|
var n = e.call(this) || this;
|
727
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
704
|
+
return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = sn, n;
|
728
705
|
}
|
729
706
|
return t.create = function(r, n, i) {
|
730
|
-
return new
|
707
|
+
return new Ye(r, n, i);
|
731
708
|
}, t.prototype.next = function(r) {
|
732
709
|
this.isStopped || this._next(r);
|
733
710
|
}, t.prototype.error = function(r) {
|
@@ -751,7 +728,7 @@ var zt = function(e) {
|
|
751
728
|
this.unsubscribe();
|
752
729
|
}
|
753
730
|
}, t;
|
754
|
-
}(
|
731
|
+
}(He), rn = function() {
|
755
732
|
function e(t) {
|
756
733
|
this.partialObserver = t;
|
757
734
|
}
|
@@ -761,7 +738,7 @@ var zt = function(e) {
|
|
761
738
|
try {
|
762
739
|
r.next(t);
|
763
740
|
} catch (n) {
|
764
|
-
|
741
|
+
ye(n);
|
765
742
|
}
|
766
743
|
}, e.prototype.error = function(t) {
|
767
744
|
var r = this.partialObserver;
|
@@ -769,56 +746,56 @@ var zt = function(e) {
|
|
769
746
|
try {
|
770
747
|
r.error(t);
|
771
748
|
} catch (n) {
|
772
|
-
|
749
|
+
ye(n);
|
773
750
|
}
|
774
751
|
else
|
775
|
-
|
752
|
+
ye(t);
|
776
753
|
}, e.prototype.complete = function() {
|
777
754
|
var t = this.partialObserver;
|
778
755
|
if (t.complete)
|
779
756
|
try {
|
780
757
|
t.complete();
|
781
758
|
} catch (r) {
|
782
|
-
|
759
|
+
ye(r);
|
783
760
|
}
|
784
761
|
}, e;
|
785
|
-
}(),
|
786
|
-
|
762
|
+
}(), Ye = function(e) {
|
763
|
+
fe(t, e);
|
787
764
|
function t(r, n, i) {
|
788
765
|
var s = e.call(this) || this, o;
|
789
|
-
return
|
766
|
+
return U(r) || !r ? o = {
|
790
767
|
next: r ?? void 0,
|
791
768
|
error: n ?? void 0,
|
792
769
|
complete: i ?? void 0
|
793
|
-
} : o = r, s.destination = new
|
770
|
+
} : o = r, s.destination = new rn(o), s;
|
794
771
|
}
|
795
772
|
return t;
|
796
|
-
}(
|
797
|
-
function
|
798
|
-
|
773
|
+
}(qt);
|
774
|
+
function ye(e) {
|
775
|
+
tn(e);
|
799
776
|
}
|
800
|
-
function
|
777
|
+
function nn(e) {
|
801
778
|
throw e;
|
802
779
|
}
|
803
|
-
var
|
780
|
+
var sn = {
|
804
781
|
closed: !0,
|
805
|
-
next:
|
806
|
-
error:
|
807
|
-
complete:
|
808
|
-
},
|
782
|
+
next: gt,
|
783
|
+
error: nn,
|
784
|
+
complete: gt
|
785
|
+
}, on = function() {
|
809
786
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
810
787
|
}();
|
811
|
-
function
|
788
|
+
function an(e) {
|
812
789
|
return e;
|
813
790
|
}
|
814
|
-
function
|
815
|
-
return e.length === 0 ?
|
791
|
+
function un(e) {
|
792
|
+
return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
|
816
793
|
return e.reduce(function(n, i) {
|
817
794
|
return i(n);
|
818
795
|
}, r);
|
819
796
|
};
|
820
797
|
}
|
821
|
-
var
|
798
|
+
var vt = function() {
|
822
799
|
function e(t) {
|
823
800
|
t && (this._subscribe = t);
|
824
801
|
}
|
@@ -826,7 +803,7 @@ var bt = function() {
|
|
826
803
|
var r = new e();
|
827
804
|
return r.source = this, r.operator = t, r;
|
828
805
|
}, e.prototype.subscribe = function(t, r, n) {
|
829
|
-
var i = this, s =
|
806
|
+
var i = this, s = ln(t) ? t : new Ye(t, r, n);
|
830
807
|
return _e(function() {
|
831
808
|
var o = i, a = o.operator, h = o.source;
|
832
809
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
@@ -839,8 +816,8 @@ var bt = function() {
|
|
839
816
|
}
|
840
817
|
}, e.prototype.forEach = function(t, r) {
|
841
818
|
var n = this;
|
842
|
-
return r =
|
843
|
-
var o = new
|
819
|
+
return r = _t(r), new r(function(i, s) {
|
820
|
+
var o = new Ye({
|
844
821
|
next: function(a) {
|
845
822
|
try {
|
846
823
|
t(a);
|
@@ -856,15 +833,15 @@ var bt = function() {
|
|
856
833
|
}, e.prototype._subscribe = function(t) {
|
857
834
|
var r;
|
858
835
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
859
|
-
}, e.prototype[
|
836
|
+
}, e.prototype[on] = function() {
|
860
837
|
return this;
|
861
838
|
}, e.prototype.pipe = function() {
|
862
839
|
for (var t = [], r = 0; r < arguments.length; r++)
|
863
840
|
t[r] = arguments[r];
|
864
|
-
return
|
841
|
+
return un(t)(this);
|
865
842
|
}, e.prototype.toPromise = function(t) {
|
866
843
|
var r = this;
|
867
|
-
return t =
|
844
|
+
return t = _t(t), new t(function(n, i) {
|
868
845
|
var s;
|
869
846
|
r.subscribe(function(o) {
|
870
847
|
return s = o;
|
@@ -878,32 +855,32 @@ var bt = function() {
|
|
878
855
|
return new e(t);
|
879
856
|
}, e;
|
880
857
|
}();
|
881
|
-
function
|
858
|
+
function _t(e) {
|
882
859
|
var t;
|
883
|
-
return (t = e ??
|
860
|
+
return (t = e ?? Kr.Promise) !== null && t !== void 0 ? t : Promise;
|
884
861
|
}
|
885
|
-
function
|
886
|
-
return e &&
|
862
|
+
function hn(e) {
|
863
|
+
return e && U(e.next) && U(e.error) && U(e.complete);
|
887
864
|
}
|
888
|
-
function
|
889
|
-
return e && e instanceof
|
865
|
+
function ln(e) {
|
866
|
+
return e && e instanceof qt || hn(e) && Yt(e);
|
890
867
|
}
|
891
|
-
var
|
868
|
+
var cn = Zt(function(e) {
|
892
869
|
return function() {
|
893
870
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
894
871
|
};
|
895
|
-
}),
|
896
|
-
|
872
|
+
}), Jt = function(e) {
|
873
|
+
fe(t, e);
|
897
874
|
function t() {
|
898
875
|
var r = e.call(this) || this;
|
899
876
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
900
877
|
}
|
901
878
|
return t.prototype.lift = function(r) {
|
902
|
-
var n = new
|
879
|
+
var n = new Et(this, this);
|
903
880
|
return n.operator = r, n;
|
904
881
|
}, t.prototype._throwIfClosed = function() {
|
905
882
|
if (this.closed)
|
906
|
-
throw new
|
883
|
+
throw new cn();
|
907
884
|
}, t.prototype.next = function(r) {
|
908
885
|
var n = this;
|
909
886
|
_e(function() {
|
@@ -911,7 +888,7 @@ var un = Vt(function(e) {
|
|
911
888
|
if (n._throwIfClosed(), !n.isStopped) {
|
912
889
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
913
890
|
try {
|
914
|
-
for (var o =
|
891
|
+
for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
915
892
|
var h = a.value;
|
916
893
|
h.next(r);
|
917
894
|
}
|
@@ -960,20 +937,20 @@ var un = Vt(function(e) {
|
|
960
937
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
961
938
|
}, t.prototype._innerSubscribe = function(r) {
|
962
939
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
963
|
-
return s || o ?
|
964
|
-
n.currentObservers = null,
|
940
|
+
return s || o ? Qt : (this.currentObservers = null, a.push(r), new He(function() {
|
941
|
+
n.currentObservers = null, Qe(a, r);
|
965
942
|
}));
|
966
943
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
967
944
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
968
945
|
i ? r.error(s) : o && r.complete();
|
969
946
|
}, t.prototype.asObservable = function() {
|
970
|
-
var r = new
|
947
|
+
var r = new vt();
|
971
948
|
return r.source = this, r;
|
972
949
|
}, t.create = function(r, n) {
|
973
|
-
return new
|
950
|
+
return new Et(r, n);
|
974
951
|
}, t;
|
975
|
-
}(
|
976
|
-
|
952
|
+
}(vt), Et = function(e) {
|
953
|
+
fe(t, e);
|
977
954
|
function t(r, n) {
|
978
955
|
var i = e.call(this) || this;
|
979
956
|
return i.destination = r, i.source = n, i;
|
@@ -989,17 +966,17 @@ var un = Vt(function(e) {
|
|
989
966
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
990
967
|
}, t.prototype._subscribe = function(r) {
|
991
968
|
var n, i;
|
992
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
969
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qt;
|
993
970
|
}, t;
|
994
|
-
}(
|
971
|
+
}(Jt), Kt = {
|
995
972
|
now: function() {
|
996
|
-
return (
|
973
|
+
return (Kt.delegate || Date).now();
|
997
974
|
},
|
998
975
|
delegate: void 0
|
999
|
-
},
|
1000
|
-
|
976
|
+
}, fn = function(e) {
|
977
|
+
fe(t, e);
|
1001
978
|
function t(r, n, i) {
|
1002
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
979
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
|
1003
980
|
var s = e.call(this) || this;
|
1004
981
|
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;
|
1005
982
|
}
|
@@ -1019,24 +996,24 @@ var un = Vt(function(e) {
|
|
1019
996
|
u && s.splice(0, u + 1);
|
1020
997
|
}
|
1021
998
|
}, t;
|
1022
|
-
}(
|
1023
|
-
const
|
1024
|
-
if (
|
1025
|
-
const r = new
|
1026
|
-
|
999
|
+
}(Jt);
|
1000
|
+
const xt = [], St = {}, mn = (e, t = 0) => {
|
1001
|
+
if (xt.indexOf(e) == -1) {
|
1002
|
+
const r = new fn(t);
|
1003
|
+
St[e] = r, xt.push(e);
|
1027
1004
|
}
|
1028
|
-
return
|
1005
|
+
return St[e];
|
1029
1006
|
}, Z = [];
|
1030
|
-
function
|
1007
|
+
function dn(e, t) {
|
1031
1008
|
return {
|
1032
|
-
subscribe:
|
1009
|
+
subscribe: Ae(e, t).subscribe
|
1033
1010
|
};
|
1034
1011
|
}
|
1035
|
-
function
|
1012
|
+
function Ae(e, t = I) {
|
1036
1013
|
let r;
|
1037
1014
|
const n = /* @__PURE__ */ new Set();
|
1038
1015
|
function i(a) {
|
1039
|
-
if (
|
1016
|
+
if ($t(e, a) && (e = a, r)) {
|
1040
1017
|
const h = !Z.length;
|
1041
1018
|
for (const u of n)
|
1042
1019
|
u[1](), Z.push(u, e);
|
@@ -1058,12 +1035,12 @@ function He(e, t = I) {
|
|
1058
1035
|
}
|
1059
1036
|
return { set: i, update: s, subscribe: o };
|
1060
1037
|
}
|
1061
|
-
function
|
1038
|
+
function ne(e, t, r) {
|
1062
1039
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1063
1040
|
if (!i.every(Boolean))
|
1064
1041
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1065
1042
|
const s = t.length < 2;
|
1066
|
-
return
|
1043
|
+
return dn(r, (o, a) => {
|
1067
1044
|
let h = !1;
|
1068
1045
|
const u = [];
|
1069
1046
|
let l = 0, m = I;
|
@@ -1072,131 +1049,170 @@ function ie(e, t, r) {
|
|
1072
1049
|
return;
|
1073
1050
|
m();
|
1074
1051
|
const b = t(n ? u[0] : u, o, a);
|
1075
|
-
s ? o(b) : m =
|
1052
|
+
s ? o(b) : m = at(b) ? b : I;
|
1076
1053
|
}, d = i.map(
|
1077
|
-
(b,
|
1054
|
+
(b, g) => Ft(
|
1078
1055
|
b,
|
1079
1056
|
(T) => {
|
1080
|
-
u[
|
1057
|
+
u[g] = T, l &= ~(1 << g), h && c();
|
1081
1058
|
},
|
1082
1059
|
() => {
|
1083
|
-
l |= 1 <<
|
1060
|
+
l |= 1 << g;
|
1084
1061
|
}
|
1085
1062
|
)
|
1086
1063
|
);
|
1087
1064
|
return h = !0, c(), function() {
|
1088
|
-
|
1065
|
+
te(d), m(), h = !1;
|
1089
1066
|
};
|
1090
1067
|
});
|
1091
1068
|
}
|
1092
|
-
function
|
1093
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1069
|
+
function bn(e) {
|
1070
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1094
1071
|
}
|
1095
|
-
var
|
1096
|
-
return
|
1072
|
+
var pn = function(t) {
|
1073
|
+
return yn(t) && !gn(t);
|
1097
1074
|
};
|
1098
|
-
function
|
1075
|
+
function yn(e) {
|
1099
1076
|
return !!e && typeof e == "object";
|
1100
1077
|
}
|
1101
|
-
function
|
1078
|
+
function gn(e) {
|
1102
1079
|
var t = Object.prototype.toString.call(e);
|
1103
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1080
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
1104
1081
|
}
|
1105
|
-
var
|
1106
|
-
function
|
1107
|
-
return e.$$typeof ===
|
1082
|
+
var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
|
1083
|
+
function En(e) {
|
1084
|
+
return e.$$typeof === _n;
|
1108
1085
|
}
|
1109
|
-
function
|
1086
|
+
function xn(e) {
|
1110
1087
|
return Array.isArray(e) ? [] : {};
|
1111
1088
|
}
|
1112
|
-
function
|
1113
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1089
|
+
function ue(e, t) {
|
1090
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(xn(e), e, t) : e;
|
1114
1091
|
}
|
1115
|
-
function
|
1092
|
+
function Sn(e, t, r) {
|
1116
1093
|
return e.concat(t).map(function(n) {
|
1117
|
-
return
|
1094
|
+
return ue(n, r);
|
1118
1095
|
});
|
1119
1096
|
}
|
1120
|
-
function
|
1097
|
+
function wn(e, t) {
|
1121
1098
|
if (!t.customMerge)
|
1122
|
-
return
|
1099
|
+
return q;
|
1123
1100
|
var r = t.customMerge(e);
|
1124
|
-
return typeof r == "function" ? r :
|
1101
|
+
return typeof r == "function" ? r : q;
|
1125
1102
|
}
|
1126
|
-
function
|
1103
|
+
function Tn(e) {
|
1127
1104
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1128
1105
|
return Object.propertyIsEnumerable.call(e, t);
|
1129
1106
|
}) : [];
|
1130
1107
|
}
|
1131
|
-
function
|
1132
|
-
return Object.keys(e).concat(
|
1108
|
+
function wt(e) {
|
1109
|
+
return Object.keys(e).concat(Tn(e));
|
1133
1110
|
}
|
1134
|
-
function
|
1111
|
+
function er(e, t) {
|
1135
1112
|
try {
|
1136
1113
|
return t in e;
|
1137
1114
|
} catch {
|
1138
1115
|
return !1;
|
1139
1116
|
}
|
1140
1117
|
}
|
1141
|
-
function
|
1142
|
-
return
|
1118
|
+
function Hn(e, t) {
|
1119
|
+
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1143
1120
|
}
|
1144
|
-
function
|
1121
|
+
function An(e, t, r) {
|
1145
1122
|
var n = {};
|
1146
|
-
return r.isMergeableObject(e) &&
|
1147
|
-
n[i] =
|
1148
|
-
}),
|
1149
|
-
|
1123
|
+
return r.isMergeableObject(e) && wt(e).forEach(function(i) {
|
1124
|
+
n[i] = ue(e[i], r);
|
1125
|
+
}), wt(t).forEach(function(i) {
|
1126
|
+
Hn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
1150
1127
|
}), n;
|
1151
1128
|
}
|
1152
|
-
function
|
1153
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1129
|
+
function q(e, t, r) {
|
1130
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = ue;
|
1154
1131
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1155
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
1132
|
+
return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ue(t, r);
|
1156
1133
|
}
|
1157
|
-
|
1134
|
+
q.all = function(t, r) {
|
1158
1135
|
if (!Array.isArray(t))
|
1159
1136
|
throw new Error("first argument should be an array");
|
1160
1137
|
return t.reduce(function(n, i) {
|
1161
|
-
return
|
1138
|
+
return q(n, i, r);
|
1162
1139
|
}, {});
|
1163
1140
|
};
|
1164
|
-
var
|
1165
|
-
const
|
1166
|
-
function
|
1167
|
-
|
1141
|
+
var Bn = q, Pn = Bn;
|
1142
|
+
const On = /* @__PURE__ */ bn(Pn);
|
1143
|
+
var qe = function(e, t) {
|
1144
|
+
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
1145
|
+
r.__proto__ = n;
|
1146
|
+
} || function(r, n) {
|
1147
|
+
for (var i in n)
|
1148
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
1149
|
+
}, qe(e, t);
|
1150
|
+
};
|
1151
|
+
function Be(e, t) {
|
1152
|
+
if (typeof t != "function" && t !== null)
|
1153
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
1154
|
+
qe(e, t);
|
1155
|
+
function r() {
|
1156
|
+
this.constructor = e;
|
1157
|
+
}
|
1158
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
1159
|
+
}
|
1160
|
+
var R = function() {
|
1161
|
+
return R = Object.assign || function(t) {
|
1162
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1163
|
+
r = arguments[n];
|
1164
|
+
for (var s in r)
|
1165
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1166
|
+
}
|
1167
|
+
return t;
|
1168
|
+
}, R.apply(this, arguments);
|
1169
|
+
};
|
1170
|
+
function Nn(e, t) {
|
1171
|
+
var r = {};
|
1172
|
+
for (var n in e)
|
1173
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
1174
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
1175
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
1176
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
1177
|
+
return r;
|
1178
|
+
}
|
1179
|
+
function Re(e, t, r) {
|
1180
|
+
if (r || arguments.length === 2)
|
1181
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
1182
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
1183
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
1184
|
+
}
|
1185
|
+
function Ge(e, t) {
|
1186
|
+
var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Cn;
|
1168
1187
|
return i(e, {
|
1169
1188
|
cache: r,
|
1170
1189
|
serializer: n
|
1171
1190
|
});
|
1172
1191
|
}
|
1173
|
-
function
|
1192
|
+
function Ln(e) {
|
1174
1193
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1175
1194
|
}
|
1176
|
-
function
|
1177
|
-
var i =
|
1195
|
+
function In(e, t, r, n) {
|
1196
|
+
var i = Ln(n) ? n : r(n), s = t.get(i);
|
1178
1197
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
1179
1198
|
}
|
1180
|
-
function
|
1199
|
+
function tr(e, t, r) {
|
1181
1200
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1182
1201
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
1183
1202
|
}
|
1184
|
-
function
|
1203
|
+
function rr(e, t, r, n, i) {
|
1185
1204
|
return r.bind(t, e, n, i);
|
1186
1205
|
}
|
1187
|
-
function
|
1188
|
-
var r = e.length === 1 ?
|
1189
|
-
return
|
1190
|
-
}
|
1191
|
-
function Nn(e, t) {
|
1192
|
-
return nt(e, this, Jt, t.cache.create(), t.serializer);
|
1206
|
+
function Cn(e, t) {
|
1207
|
+
var r = e.length === 1 ? In : tr;
|
1208
|
+
return rr(e, this, r, t.cache.create(), t.serializer);
|
1193
1209
|
}
|
1194
|
-
function
|
1195
|
-
return
|
1210
|
+
function Mn(e, t) {
|
1211
|
+
return rr(e, this, tr, t.cache.create(), t.serializer);
|
1196
1212
|
}
|
1197
|
-
var
|
1213
|
+
var Rn = function() {
|
1198
1214
|
return JSON.stringify(arguments);
|
1199
|
-
},
|
1215
|
+
}, Gn = (
|
1200
1216
|
/** @class */
|
1201
1217
|
function() {
|
1202
1218
|
function e() {
|
@@ -1208,62 +1224,71 @@ var Ln = function() {
|
|
1208
1224
|
this.cache[t] = r;
|
1209
1225
|
}, e;
|
1210
1226
|
}()
|
1211
|
-
),
|
1227
|
+
), Un = {
|
1212
1228
|
create: function() {
|
1213
|
-
return new
|
1229
|
+
return new Gn();
|
1214
1230
|
}
|
1215
|
-
},
|
1216
|
-
variadic:
|
1217
|
-
|
1218
|
-
|
1231
|
+
}, Ue = {
|
1232
|
+
variadic: Mn
|
1233
|
+
}, Se = function() {
|
1234
|
+
return Se = Object.assign || function(t) {
|
1235
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1236
|
+
r = arguments[n];
|
1237
|
+
for (var s in r)
|
1238
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1239
|
+
}
|
1240
|
+
return t;
|
1241
|
+
}, Se.apply(this, arguments);
|
1242
|
+
};
|
1243
|
+
var p;
|
1219
1244
|
(function(e) {
|
1220
1245
|
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";
|
1221
1246
|
})(p || (p = {}));
|
1222
|
-
var
|
1247
|
+
var E;
|
1223
1248
|
(function(e) {
|
1224
1249
|
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";
|
1225
|
-
})(
|
1226
|
-
var
|
1250
|
+
})(E || (E = {}));
|
1251
|
+
var J;
|
1227
1252
|
(function(e) {
|
1228
1253
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1229
|
-
})(
|
1230
|
-
function
|
1231
|
-
return e.type ===
|
1254
|
+
})(J || (J = {}));
|
1255
|
+
function Tt(e) {
|
1256
|
+
return e.type === E.literal;
|
1232
1257
|
}
|
1233
|
-
function
|
1234
|
-
return e.type ===
|
1258
|
+
function Dn(e) {
|
1259
|
+
return e.type === E.argument;
|
1235
1260
|
}
|
1236
|
-
function
|
1237
|
-
return e.type ===
|
1261
|
+
function nr(e) {
|
1262
|
+
return e.type === E.number;
|
1238
1263
|
}
|
1239
|
-
function
|
1240
|
-
return e.type ===
|
1264
|
+
function ir(e) {
|
1265
|
+
return e.type === E.date;
|
1241
1266
|
}
|
1242
|
-
function
|
1243
|
-
return e.type ===
|
1267
|
+
function sr(e) {
|
1268
|
+
return e.type === E.time;
|
1244
1269
|
}
|
1245
|
-
function
|
1246
|
-
return e.type ===
|
1270
|
+
function or(e) {
|
1271
|
+
return e.type === E.select;
|
1247
1272
|
}
|
1248
|
-
function
|
1249
|
-
return e.type ===
|
1273
|
+
function ar(e) {
|
1274
|
+
return e.type === E.plural;
|
1250
1275
|
}
|
1251
|
-
function
|
1252
|
-
return e.type ===
|
1276
|
+
function $n(e) {
|
1277
|
+
return e.type === E.pound;
|
1253
1278
|
}
|
1254
|
-
function
|
1255
|
-
return e.type ===
|
1279
|
+
function ur(e) {
|
1280
|
+
return e.type === E.tag;
|
1256
1281
|
}
|
1257
|
-
function
|
1258
|
-
return !!(e && typeof e == "object" && e.type ===
|
1282
|
+
function hr(e) {
|
1283
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
1259
1284
|
}
|
1260
|
-
function
|
1261
|
-
return !!(e && typeof e == "object" && e.type ===
|
1285
|
+
function Je(e) {
|
1286
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
1262
1287
|
}
|
1263
|
-
var
|
1264
|
-
function
|
1288
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
|
1289
|
+
function jn(e) {
|
1265
1290
|
var t = {};
|
1266
|
-
return e.replace(
|
1291
|
+
return e.replace(Fn, function(r) {
|
1267
1292
|
var n = r.length;
|
1268
1293
|
switch (r[0]) {
|
1269
1294
|
case "G":
|
@@ -1352,11 +1377,21 @@ function Un(e) {
|
|
1352
1377
|
return "";
|
1353
1378
|
}), t;
|
1354
1379
|
}
|
1355
|
-
var
|
1356
|
-
function
|
1380
|
+
var S = function() {
|
1381
|
+
return S = Object.assign || function(t) {
|
1382
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1383
|
+
r = arguments[n];
|
1384
|
+
for (var s in r)
|
1385
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1386
|
+
}
|
1387
|
+
return t;
|
1388
|
+
}, S.apply(this, arguments);
|
1389
|
+
};
|
1390
|
+
var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1391
|
+
function Vn(e) {
|
1357
1392
|
if (e.length === 0)
|
1358
1393
|
throw new Error("Number skeleton cannot be empty");
|
1359
|
-
for (var t = e.split(
|
1394
|
+
for (var t = e.split(kn).filter(function(c) {
|
1360
1395
|
return c.length > 0;
|
1361
1396
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1362
1397
|
var s = i[n], o = s.split("/");
|
@@ -1371,17 +1406,17 @@ function Fn(e) {
|
|
1371
1406
|
}
|
1372
1407
|
return r;
|
1373
1408
|
}
|
1374
|
-
function
|
1409
|
+
function Xn(e) {
|
1375
1410
|
return e.replace(/^(.*?)-/, "");
|
1376
1411
|
}
|
1377
|
-
var
|
1378
|
-
function
|
1412
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
1413
|
+
function At(e) {
|
1379
1414
|
var t = {};
|
1380
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1415
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
|
1381
1416
|
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)), "";
|
1382
1417
|
}), t;
|
1383
1418
|
}
|
1384
|
-
function
|
1419
|
+
function mr(e) {
|
1385
1420
|
switch (e) {
|
1386
1421
|
case "sign-auto":
|
1387
1422
|
return {
|
@@ -1421,7 +1456,7 @@ function hr(e) {
|
|
1421
1456
|
};
|
1422
1457
|
}
|
1423
1458
|
}
|
1424
|
-
function
|
1459
|
+
function zn(e) {
|
1425
1460
|
var t;
|
1426
1461
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1427
1462
|
notation: "engineering"
|
@@ -1429,17 +1464,17 @@ function kn(e) {
|
|
1429
1464
|
notation: "scientific"
|
1430
1465
|
}, e = e.slice(1)), t) {
|
1431
1466
|
var r = e.slice(0, 2);
|
1432
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1467
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
|
1433
1468
|
throw new Error("Malformed concise eng/scientific notation");
|
1434
1469
|
t.minimumIntegerDigits = e.length;
|
1435
1470
|
}
|
1436
1471
|
return t;
|
1437
1472
|
}
|
1438
|
-
function
|
1439
|
-
var t = {}, r =
|
1473
|
+
function Bt(e) {
|
1474
|
+
var t = {}, r = mr(e);
|
1440
1475
|
return r || t;
|
1441
1476
|
}
|
1442
|
-
function
|
1477
|
+
function Zn(e) {
|
1443
1478
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1444
1479
|
var i = n[r];
|
1445
1480
|
switch (i.stem) {
|
@@ -1463,7 +1498,7 @@ function Vn(e) {
|
|
1463
1498
|
continue;
|
1464
1499
|
case "measure-unit":
|
1465
1500
|
case "unit":
|
1466
|
-
t.style = "unit", t.unit =
|
1501
|
+
t.style = "unit", t.unit = Xn(i.options[0]);
|
1467
1502
|
continue;
|
1468
1503
|
case "compact-short":
|
1469
1504
|
case "K":
|
@@ -1474,13 +1509,13 @@ function Vn(e) {
|
|
1474
1509
|
t.notation = "compact", t.compactDisplay = "long";
|
1475
1510
|
continue;
|
1476
1511
|
case "scientific":
|
1477
|
-
t =
|
1478
|
-
return
|
1512
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1513
|
+
return S(S({}, h), Bt(u));
|
1479
1514
|
}, {}));
|
1480
1515
|
continue;
|
1481
1516
|
case "engineering":
|
1482
|
-
t =
|
1483
|
-
return
|
1517
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1518
|
+
return S(S({}, h), Bt(u));
|
1484
1519
|
}, {}));
|
1485
1520
|
continue;
|
1486
1521
|
case "notation-simple":
|
@@ -1525,7 +1560,7 @@ function Vn(e) {
|
|
1525
1560
|
case "integer-width":
|
1526
1561
|
if (i.options.length > 1)
|
1527
1562
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1528
|
-
i.options[0].replace(
|
1563
|
+
i.options[0].replace(Wn, function(h, u, l, m, c, d) {
|
1529
1564
|
if (u)
|
1530
1565
|
t.minimumIntegerDigits = l.length;
|
1531
1566
|
else {
|
@@ -1538,32 +1573,32 @@ function Vn(e) {
|
|
1538
1573
|
});
|
1539
1574
|
continue;
|
1540
1575
|
}
|
1541
|
-
if (
|
1576
|
+
if (fr.test(i.stem)) {
|
1542
1577
|
t.minimumIntegerDigits = i.stem.length;
|
1543
1578
|
continue;
|
1544
1579
|
}
|
1545
|
-
if (
|
1580
|
+
if (Ht.test(i.stem)) {
|
1546
1581
|
if (i.options.length > 1)
|
1547
1582
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1548
|
-
i.stem.replace(
|
1583
|
+
i.stem.replace(Ht, function(h, u, l, m, c, d) {
|
1549
1584
|
return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1550
1585
|
});
|
1551
1586
|
var s = i.options[0];
|
1552
|
-
s === "w" ? t =
|
1587
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), At(s)));
|
1553
1588
|
continue;
|
1554
1589
|
}
|
1555
|
-
if (
|
1556
|
-
t =
|
1590
|
+
if (cr.test(i.stem)) {
|
1591
|
+
t = S(S({}, t), At(i.stem));
|
1557
1592
|
continue;
|
1558
1593
|
}
|
1559
|
-
var o =
|
1560
|
-
o && (t =
|
1561
|
-
var a =
|
1562
|
-
a && (t =
|
1594
|
+
var o = mr(i.stem);
|
1595
|
+
o && (t = S(S({}, t), o));
|
1596
|
+
var a = zn(i.stem);
|
1597
|
+
a && (t = S(S({}, t), a));
|
1563
1598
|
}
|
1564
1599
|
return t;
|
1565
1600
|
}
|
1566
|
-
var
|
1601
|
+
var ge = {
|
1567
1602
|
"001": [
|
1568
1603
|
"H",
|
1569
1604
|
"h"
|
@@ -2978,13 +3013,13 @@ var ye = {
|
|
2978
3013
|
"h"
|
2979
3014
|
]
|
2980
3015
|
};
|
2981
|
-
function
|
3016
|
+
function Qn(e, t) {
|
2982
3017
|
for (var r = "", n = 0; n < e.length; n++) {
|
2983
3018
|
var i = e.charAt(n);
|
2984
3019
|
if (i === "j") {
|
2985
3020
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2986
3021
|
s++, n++;
|
2987
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
3022
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Yn(t);
|
2988
3023
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2989
3024
|
r += h;
|
2990
3025
|
for (; o-- > 0; )
|
@@ -2994,7 +3029,7 @@ function Xn(e, t) {
|
|
2994
3029
|
}
|
2995
3030
|
return r;
|
2996
3031
|
}
|
2997
|
-
function
|
3032
|
+
function Yn(e) {
|
2998
3033
|
var t = e.hourCycle;
|
2999
3034
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3000
3035
|
e.hourCycles && // @ts-ignore
|
@@ -3013,23 +3048,23 @@ function Wn(e) {
|
|
3013
3048
|
}
|
3014
3049
|
var r = e.language, n;
|
3015
3050
|
r !== "root" && (n = e.maximize().region);
|
3016
|
-
var i =
|
3051
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
3017
3052
|
return i[0];
|
3018
3053
|
}
|
3019
|
-
var
|
3020
|
-
function
|
3054
|
+
var De, qn = new RegExp("^".concat(lr.source, "*")), Jn = new RegExp("".concat(lr.source, "*$"));
|
3055
|
+
function y(e, t) {
|
3021
3056
|
return { start: e, end: t };
|
3022
3057
|
}
|
3023
|
-
var
|
3058
|
+
var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, oi = si ? Number.isSafeInteger : function(e) {
|
3024
3059
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3025
|
-
},
|
3060
|
+
}, Ke = !0;
|
3026
3061
|
try {
|
3027
|
-
var
|
3028
|
-
|
3062
|
+
var ai = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3063
|
+
Ke = ((De = ai.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
3029
3064
|
} catch {
|
3030
|
-
|
3065
|
+
Ke = !1;
|
3031
3066
|
}
|
3032
|
-
var
|
3067
|
+
var Pt = Kn ? (
|
3033
3068
|
// Native
|
3034
3069
|
function(t, r, n) {
|
3035
3070
|
return t.startsWith(r, n);
|
@@ -3039,7 +3074,7 @@ var Tt = Qn ? (
|
|
3039
3074
|
function(t, r, n) {
|
3040
3075
|
return t.slice(n, n + r.length) === r;
|
3041
3076
|
}
|
3042
|
-
),
|
3077
|
+
), et = ei ? String.fromCodePoint : (
|
3043
3078
|
// IE11
|
3044
3079
|
function() {
|
3045
3080
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3051,9 +3086,9 @@ var Tt = Qn ? (
|
|
3051
3086
|
}
|
3052
3087
|
return n;
|
3053
3088
|
}
|
3054
|
-
),
|
3089
|
+
), Ot = (
|
3055
3090
|
// native
|
3056
|
-
|
3091
|
+
ti ? Object.fromEntries : (
|
3057
3092
|
// Ponyfill
|
3058
3093
|
function(t) {
|
3059
3094
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3063,7 +3098,7 @@ var Tt = Qn ? (
|
|
3063
3098
|
return r;
|
3064
3099
|
}
|
3065
3100
|
)
|
3066
|
-
),
|
3101
|
+
), dr = ri ? (
|
3067
3102
|
// Native
|
3068
3103
|
function(t, r) {
|
3069
3104
|
return t.codePointAt(r);
|
@@ -3077,7 +3112,7 @@ var Tt = Qn ? (
|
|
3077
3112
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3078
3113
|
}
|
3079
3114
|
}
|
3080
|
-
),
|
3115
|
+
), ui = ni ? (
|
3081
3116
|
// Native
|
3082
3117
|
function(t) {
|
3083
3118
|
return t.trimStart();
|
@@ -3085,9 +3120,9 @@ var Tt = Qn ? (
|
|
3085
3120
|
) : (
|
3086
3121
|
// Ponyfill
|
3087
3122
|
function(t) {
|
3088
|
-
return t.replace(
|
3123
|
+
return t.replace(qn, "");
|
3089
3124
|
}
|
3090
|
-
),
|
3125
|
+
), hi = ii ? (
|
3091
3126
|
// Native
|
3092
3127
|
function(t) {
|
3093
3128
|
return t.trimEnd();
|
@@ -3095,32 +3130,32 @@ var Tt = Qn ? (
|
|
3095
3130
|
) : (
|
3096
3131
|
// Ponyfill
|
3097
3132
|
function(t) {
|
3098
|
-
return t.replace(
|
3133
|
+
return t.replace(Jn, "");
|
3099
3134
|
}
|
3100
3135
|
);
|
3101
|
-
function
|
3136
|
+
function br(e, t) {
|
3102
3137
|
return new RegExp(e, t);
|
3103
3138
|
}
|
3104
|
-
var
|
3105
|
-
if (
|
3106
|
-
var
|
3107
|
-
|
3139
|
+
var tt;
|
3140
|
+
if (Ke) {
|
3141
|
+
var Nt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3142
|
+
tt = function(t, r) {
|
3108
3143
|
var n;
|
3109
|
-
|
3110
|
-
var i =
|
3144
|
+
Nt.lastIndex = r;
|
3145
|
+
var i = Nt.exec(t);
|
3111
3146
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3112
3147
|
};
|
3113
3148
|
} else
|
3114
|
-
|
3149
|
+
tt = function(t, r) {
|
3115
3150
|
for (var n = []; ; ) {
|
3116
|
-
var i =
|
3117
|
-
if (i === void 0 ||
|
3151
|
+
var i = dr(t, r);
|
3152
|
+
if (i === void 0 || pr(i) || mi(i))
|
3118
3153
|
break;
|
3119
3154
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3120
3155
|
}
|
3121
|
-
return
|
3156
|
+
return et.apply(void 0, n);
|
3122
3157
|
};
|
3123
|
-
var
|
3158
|
+
var li = (
|
3124
3159
|
/** @class */
|
3125
3160
|
function() {
|
3126
3161
|
function e(t, r) {
|
@@ -3144,14 +3179,14 @@ var oi = (
|
|
3144
3179
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
3145
3180
|
var a = this.clonePosition();
|
3146
3181
|
this.bump(), i.push({
|
3147
|
-
type:
|
3148
|
-
location:
|
3182
|
+
type: E.pound,
|
3183
|
+
location: y(a, this.clonePosition())
|
3149
3184
|
});
|
3150
3185
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
3151
3186
|
if (n)
|
3152
3187
|
break;
|
3153
|
-
return this.error(p.UNMATCHED_CLOSING_TAG,
|
3154
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3188
|
+
return this.error(p.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
3189
|
+
} else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
|
3155
3190
|
var o = this.parseTag(t, r);
|
3156
3191
|
if (o.err)
|
3157
3192
|
return o;
|
@@ -3172,9 +3207,9 @@ var oi = (
|
|
3172
3207
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
3173
3208
|
return {
|
3174
3209
|
val: {
|
3175
|
-
type:
|
3210
|
+
type: E.literal,
|
3176
3211
|
value: "<".concat(i, "/>"),
|
3177
|
-
location:
|
3212
|
+
location: y(n, this.clonePosition())
|
3178
3213
|
},
|
3179
3214
|
err: null
|
3180
3215
|
};
|
@@ -3184,25 +3219,25 @@ var oi = (
|
|
3184
3219
|
return s;
|
3185
3220
|
var o = s.val, a = this.clonePosition();
|
3186
3221
|
if (this.bumpIf("</")) {
|
3187
|
-
if (this.isEOF() || !
|
3188
|
-
return this.error(p.INVALID_TAG,
|
3222
|
+
if (this.isEOF() || !rt(this.char()))
|
3223
|
+
return this.error(p.INVALID_TAG, y(a, this.clonePosition()));
|
3189
3224
|
var h = this.clonePosition(), u = this.parseTagName();
|
3190
|
-
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG,
|
3225
|
+
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
3191
3226
|
val: {
|
3192
|
-
type:
|
3227
|
+
type: E.tag,
|
3193
3228
|
value: i,
|
3194
3229
|
children: o,
|
3195
|
-
location:
|
3230
|
+
location: y(n, this.clonePosition())
|
3196
3231
|
},
|
3197
3232
|
err: null
|
3198
|
-
} : this.error(p.INVALID_TAG,
|
3233
|
+
} : this.error(p.INVALID_TAG, y(a, this.clonePosition())));
|
3199
3234
|
} else
|
3200
|
-
return this.error(p.UNCLOSED_TAG,
|
3235
|
+
return this.error(p.UNCLOSED_TAG, y(n, this.clonePosition()));
|
3201
3236
|
} else
|
3202
|
-
return this.error(p.INVALID_TAG,
|
3237
|
+
return this.error(p.INVALID_TAG, y(n, this.clonePosition()));
|
3203
3238
|
}, e.prototype.parseTagName = function() {
|
3204
3239
|
var t = this.offset();
|
3205
|
-
for (this.bump(); !this.isEOF() &&
|
3240
|
+
for (this.bump(); !this.isEOF() && fi(this.char()); )
|
3206
3241
|
this.bump();
|
3207
3242
|
return this.message.slice(t, this.offset());
|
3208
3243
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3224,14 +3259,14 @@ var oi = (
|
|
3224
3259
|
}
|
3225
3260
|
break;
|
3226
3261
|
}
|
3227
|
-
var h =
|
3262
|
+
var h = y(n, this.clonePosition());
|
3228
3263
|
return {
|
3229
|
-
val: { type:
|
3264
|
+
val: { type: E.literal, value: i, location: h },
|
3230
3265
|
err: null
|
3231
3266
|
};
|
3232
3267
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3233
3268
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3234
|
-
!
|
3269
|
+
!ci(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3235
3270
|
}, e.prototype.tryParseQuote = function(t) {
|
3236
3271
|
if (this.isEOF() || this.char() !== 39)
|
3237
3272
|
return null;
|
@@ -3265,49 +3300,49 @@ var oi = (
|
|
3265
3300
|
r.push(n);
|
3266
3301
|
this.bump();
|
3267
3302
|
}
|
3268
|
-
return
|
3303
|
+
return et.apply(void 0, r);
|
3269
3304
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3270
3305
|
if (this.isEOF())
|
3271
3306
|
return null;
|
3272
3307
|
var n = this.char();
|
3273
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3308
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
|
3274
3309
|
}, e.prototype.parseArgument = function(t, r) {
|
3275
3310
|
var n = this.clonePosition();
|
3276
3311
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
3277
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3312
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
3278
3313
|
if (this.char() === 125)
|
3279
|
-
return this.bump(), this.error(p.EMPTY_ARGUMENT,
|
3314
|
+
return this.bump(), this.error(p.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
3280
3315
|
var i = this.parseIdentifierIfPossible().value;
|
3281
3316
|
if (!i)
|
3282
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
3317
|
+
return this.error(p.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
3283
3318
|
if (this.bumpSpace(), this.isEOF())
|
3284
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3319
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
3285
3320
|
switch (this.char()) {
|
3286
3321
|
case 125:
|
3287
3322
|
return this.bump(), {
|
3288
3323
|
val: {
|
3289
|
-
type:
|
3324
|
+
type: E.argument,
|
3290
3325
|
// value does not include the opening and closing braces.
|
3291
3326
|
value: i,
|
3292
|
-
location:
|
3327
|
+
location: y(n, this.clonePosition())
|
3293
3328
|
},
|
3294
3329
|
err: null
|
3295
3330
|
};
|
3296
3331
|
case 44:
|
3297
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3332
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
3298
3333
|
default:
|
3299
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
3334
|
+
return this.error(p.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
3300
3335
|
}
|
3301
3336
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3302
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3337
|
+
var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
|
3303
3338
|
this.bumpTo(i);
|
3304
|
-
var s = this.clonePosition(), o =
|
3339
|
+
var s = this.clonePosition(), o = y(t, s);
|
3305
3340
|
return { value: n, location: o };
|
3306
3341
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
3307
3342
|
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
3308
3343
|
switch (a) {
|
3309
3344
|
case "":
|
3310
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE,
|
3345
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, y(o, h));
|
3311
3346
|
case "number":
|
3312
3347
|
case "date":
|
3313
3348
|
case "time": {
|
@@ -3318,46 +3353,46 @@ var oi = (
|
|
3318
3353
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3319
3354
|
if (m.err)
|
3320
3355
|
return m;
|
3321
|
-
var c =
|
3356
|
+
var c = hi(m.val);
|
3322
3357
|
if (c.length === 0)
|
3323
|
-
return this.error(p.EXPECT_ARGUMENT_STYLE,
|
3324
|
-
var d =
|
3358
|
+
return this.error(p.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
3359
|
+
var d = y(l, this.clonePosition());
|
3325
3360
|
u = { style: c, styleLocation: d };
|
3326
3361
|
}
|
3327
3362
|
var b = this.tryParseArgumentClose(i);
|
3328
3363
|
if (b.err)
|
3329
3364
|
return b;
|
3330
|
-
var
|
3331
|
-
if (u &&
|
3332
|
-
var T =
|
3365
|
+
var g = y(i, this.clonePosition());
|
3366
|
+
if (u && Pt(u?.style, "::", 0)) {
|
3367
|
+
var T = ui(u.style.slice(2));
|
3333
3368
|
if (a === "number") {
|
3334
3369
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3335
3370
|
return m.err ? m : {
|
3336
|
-
val: { type:
|
3371
|
+
val: { type: E.number, value: n, location: g, style: m.val },
|
3337
3372
|
err: null
|
3338
3373
|
};
|
3339
3374
|
} else {
|
3340
3375
|
if (T.length === 0)
|
3341
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
3376
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
|
3342
3377
|
var C = T;
|
3343
|
-
this.locale && (C =
|
3378
|
+
this.locale && (C = Qn(T, this.locale));
|
3344
3379
|
var c = {
|
3345
|
-
type:
|
3380
|
+
type: J.dateTime,
|
3346
3381
|
pattern: C,
|
3347
3382
|
location: u.styleLocation,
|
3348
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3349
|
-
}, P = a === "date" ?
|
3383
|
+
parsedOptions: this.shouldParseSkeletons ? jn(C) : {}
|
3384
|
+
}, P = a === "date" ? E.date : E.time;
|
3350
3385
|
return {
|
3351
|
-
val: { type: P, value: n, location:
|
3386
|
+
val: { type: P, value: n, location: g, style: c },
|
3352
3387
|
err: null
|
3353
3388
|
};
|
3354
3389
|
}
|
3355
3390
|
}
|
3356
3391
|
return {
|
3357
3392
|
val: {
|
3358
|
-
type: a === "number" ?
|
3393
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
3359
3394
|
value: n,
|
3360
|
-
location:
|
3395
|
+
location: g,
|
3361
3396
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
3362
3397
|
},
|
3363
3398
|
err: null
|
@@ -3368,50 +3403,50 @@ var oi = (
|
|
3368
3403
|
case "select": {
|
3369
3404
|
var w = this.clonePosition();
|
3370
3405
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3371
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
3406
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, Se({}, w)));
|
3372
3407
|
this.bumpSpace();
|
3373
|
-
var
|
3374
|
-
if (a !== "select" &&
|
3408
|
+
var O = this.parseIdentifierIfPossible(), N = 0;
|
3409
|
+
if (a !== "select" && O.value === "offset") {
|
3375
3410
|
if (!this.bumpIf(":"))
|
3376
|
-
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
3411
|
+
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
3377
3412
|
this.bumpSpace();
|
3378
3413
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3379
3414
|
if (m.err)
|
3380
3415
|
return m;
|
3381
|
-
this.bumpSpace(),
|
3416
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), N = m.val;
|
3382
3417
|
}
|
3383
|
-
var M = this.tryParsePluralOrSelectOptions(t, a, r,
|
3418
|
+
var M = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
3384
3419
|
if (M.err)
|
3385
3420
|
return M;
|
3386
3421
|
var b = this.tryParseArgumentClose(i);
|
3387
3422
|
if (b.err)
|
3388
3423
|
return b;
|
3389
|
-
var
|
3424
|
+
var _ = y(i, this.clonePosition());
|
3390
3425
|
return a === "select" ? {
|
3391
3426
|
val: {
|
3392
|
-
type:
|
3427
|
+
type: E.select,
|
3393
3428
|
value: n,
|
3394
|
-
options:
|
3395
|
-
location:
|
3429
|
+
options: Ot(M.val),
|
3430
|
+
location: _
|
3396
3431
|
},
|
3397
3432
|
err: null
|
3398
3433
|
} : {
|
3399
3434
|
val: {
|
3400
|
-
type:
|
3435
|
+
type: E.plural,
|
3401
3436
|
value: n,
|
3402
|
-
options:
|
3403
|
-
offset:
|
3437
|
+
options: Ot(M.val),
|
3438
|
+
offset: N,
|
3404
3439
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3405
|
-
location:
|
3440
|
+
location: _
|
3406
3441
|
},
|
3407
3442
|
err: null
|
3408
3443
|
};
|
3409
3444
|
}
|
3410
3445
|
default:
|
3411
|
-
return this.error(p.INVALID_ARGUMENT_TYPE,
|
3446
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, y(o, h));
|
3412
3447
|
}
|
3413
3448
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
3414
|
-
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3449
|
+
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
3415
3450
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
3416
3451
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
3417
3452
|
var n = this.char();
|
@@ -3420,7 +3455,7 @@ var oi = (
|
|
3420
3455
|
this.bump();
|
3421
3456
|
var i = this.clonePosition();
|
3422
3457
|
if (!this.bumpUntil("'"))
|
3423
|
-
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
3458
|
+
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
3424
3459
|
this.bump();
|
3425
3460
|
break;
|
3426
3461
|
}
|
@@ -3450,16 +3485,16 @@ var oi = (
|
|
3450
3485
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3451
3486
|
var n = [];
|
3452
3487
|
try {
|
3453
|
-
n =
|
3488
|
+
n = Vn(t);
|
3454
3489
|
} catch {
|
3455
3490
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3456
3491
|
}
|
3457
3492
|
return {
|
3458
3493
|
val: {
|
3459
|
-
type:
|
3494
|
+
type: J.number,
|
3460
3495
|
tokens: n,
|
3461
3496
|
location: r,
|
3462
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3497
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
|
3463
3498
|
},
|
3464
3499
|
err: null
|
3465
3500
|
};
|
@@ -3471,7 +3506,7 @@ var oi = (
|
|
3471
3506
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3472
3507
|
if (c.err)
|
3473
3508
|
return c;
|
3474
|
-
l =
|
3509
|
+
l = y(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
|
3475
3510
|
} else
|
3476
3511
|
break;
|
3477
3512
|
}
|
@@ -3480,22 +3515,22 @@ var oi = (
|
|
3480
3515
|
u === "other" && (o = !0), this.bumpSpace();
|
3481
3516
|
var d = this.clonePosition();
|
3482
3517
|
if (!this.bumpIf("{"))
|
3483
|
-
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
3518
|
+
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
3484
3519
|
var b = this.parseMessage(t + 1, r, n);
|
3485
3520
|
if (b.err)
|
3486
3521
|
return b;
|
3487
|
-
var
|
3488
|
-
if (
|
3489
|
-
return
|
3522
|
+
var g = this.tryParseArgumentClose(d);
|
3523
|
+
if (g.err)
|
3524
|
+
return g;
|
3490
3525
|
a.push([
|
3491
3526
|
u,
|
3492
3527
|
{
|
3493
3528
|
value: b.val,
|
3494
|
-
location:
|
3529
|
+
location: y(d, this.clonePosition())
|
3495
3530
|
}
|
3496
3531
|
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
3497
3532
|
}
|
3498
|
-
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
3533
|
+
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3499
3534
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3500
3535
|
var n = 1, i = this.clonePosition();
|
3501
3536
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
@@ -3506,8 +3541,8 @@ var oi = (
|
|
3506
3541
|
else
|
3507
3542
|
break;
|
3508
3543
|
}
|
3509
|
-
var h =
|
3510
|
-
return s ? (o *= n,
|
3544
|
+
var h = y(i, this.clonePosition());
|
3545
|
+
return s ? (o *= n, oi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3511
3546
|
}, e.prototype.offset = function() {
|
3512
3547
|
return this.position.offset;
|
3513
3548
|
}, e.prototype.isEOF = function() {
|
@@ -3522,7 +3557,7 @@ var oi = (
|
|
3522
3557
|
var t = this.position.offset;
|
3523
3558
|
if (t >= this.message.length)
|
3524
3559
|
throw Error("out of bound");
|
3525
|
-
var r =
|
3560
|
+
var r = dr(this.message, t);
|
3526
3561
|
if (r === void 0)
|
3527
3562
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3528
3563
|
return r;
|
@@ -3541,7 +3576,7 @@ var oi = (
|
|
3541
3576
|
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);
|
3542
3577
|
}
|
3543
3578
|
}, e.prototype.bumpIf = function(t) {
|
3544
|
-
if (
|
3579
|
+
if (Pt(this.message, t, this.offset())) {
|
3545
3580
|
for (var r = 0; r < t.length; r++)
|
3546
3581
|
this.bump();
|
3547
3582
|
return !0;
|
@@ -3563,7 +3598,7 @@ var oi = (
|
|
3563
3598
|
break;
|
3564
3599
|
}
|
3565
3600
|
}, e.prototype.bumpSpace = function() {
|
3566
|
-
for (; !this.isEOF() &&
|
3601
|
+
for (; !this.isEOF() && pr(this.char()); )
|
3567
3602
|
this.bump();
|
3568
3603
|
}, e.prototype.peek = function() {
|
3569
3604
|
if (this.isEOF())
|
@@ -3573,47 +3608,47 @@ var oi = (
|
|
3573
3608
|
}, e;
|
3574
3609
|
}()
|
3575
3610
|
);
|
3576
|
-
function
|
3611
|
+
function rt(e) {
|
3577
3612
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3578
3613
|
}
|
3579
|
-
function
|
3580
|
-
return
|
3614
|
+
function ci(e) {
|
3615
|
+
return rt(e) || e === 47;
|
3581
3616
|
}
|
3582
|
-
function
|
3617
|
+
function fi(e) {
|
3583
3618
|
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;
|
3584
3619
|
}
|
3585
|
-
function
|
3620
|
+
function pr(e) {
|
3586
3621
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3587
3622
|
}
|
3588
|
-
function
|
3623
|
+
function mi(e) {
|
3589
3624
|
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;
|
3590
3625
|
}
|
3591
|
-
function
|
3626
|
+
function nt(e) {
|
3592
3627
|
e.forEach(function(t) {
|
3593
|
-
if (delete t.location,
|
3628
|
+
if (delete t.location, or(t) || ar(t))
|
3594
3629
|
for (var r in t.options)
|
3595
|
-
delete t.options[r].location,
|
3630
|
+
delete t.options[r].location, nt(t.options[r].value);
|
3596
3631
|
else
|
3597
|
-
|
3632
|
+
nr(t) && hr(t.style) || (ir(t) || sr(t)) && Je(t.style) ? delete t.style.location : ur(t) && nt(t.children);
|
3598
3633
|
});
|
3599
3634
|
}
|
3600
|
-
function
|
3601
|
-
t === void 0 && (t = {}), t =
|
3602
|
-
var r = new
|
3635
|
+
function di(e, t) {
|
3636
|
+
t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3637
|
+
var r = new li(e, t).parse();
|
3603
3638
|
if (r.err) {
|
3604
3639
|
var n = SyntaxError(p[r.err.kind]);
|
3605
3640
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3606
3641
|
}
|
3607
|
-
return t?.captureLocation ||
|
3642
|
+
return t?.captureLocation || nt(r.val), r.val;
|
3608
3643
|
}
|
3609
|
-
var
|
3644
|
+
var K;
|
3610
3645
|
(function(e) {
|
3611
3646
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3612
|
-
})(
|
3613
|
-
var
|
3647
|
+
})(K || (K = {}));
|
3648
|
+
var Pe = (
|
3614
3649
|
/** @class */
|
3615
3650
|
function(e) {
|
3616
|
-
|
3651
|
+
Be(t, e);
|
3617
3652
|
function t(r, n, i) {
|
3618
3653
|
var s = e.call(this, r) || this;
|
3619
3654
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3622,48 +3657,48 @@ var Ae = (
|
|
3622
3657
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3623
3658
|
}, t;
|
3624
3659
|
}(Error)
|
3625
|
-
),
|
3660
|
+
), Lt = (
|
3626
3661
|
/** @class */
|
3627
3662
|
function(e) {
|
3628
|
-
|
3663
|
+
Be(t, e);
|
3629
3664
|
function t(r, n, i, s) {
|
3630
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3665
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
|
3631
3666
|
}
|
3632
3667
|
return t;
|
3633
|
-
}(
|
3634
|
-
),
|
3668
|
+
}(Pe)
|
3669
|
+
), bi = (
|
3635
3670
|
/** @class */
|
3636
3671
|
function(e) {
|
3637
|
-
|
3672
|
+
Be(t, e);
|
3638
3673
|
function t(r, n, i) {
|
3639
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3674
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
|
3640
3675
|
}
|
3641
3676
|
return t;
|
3642
|
-
}(
|
3643
|
-
),
|
3677
|
+
}(Pe)
|
3678
|
+
), pi = (
|
3644
3679
|
/** @class */
|
3645
3680
|
function(e) {
|
3646
|
-
|
3681
|
+
Be(t, e);
|
3647
3682
|
function t(r, n) {
|
3648
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3683
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
|
3649
3684
|
}
|
3650
3685
|
return t;
|
3651
|
-
}(
|
3686
|
+
}(Pe)
|
3652
3687
|
), H;
|
3653
3688
|
(function(e) {
|
3654
3689
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3655
3690
|
})(H || (H = {}));
|
3656
|
-
function
|
3691
|
+
function yi(e) {
|
3657
3692
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3658
3693
|
var n = t[t.length - 1];
|
3659
3694
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3660
3695
|
}, []);
|
3661
3696
|
}
|
3662
|
-
function
|
3697
|
+
function gi(e) {
|
3663
3698
|
return typeof e == "function";
|
3664
3699
|
}
|
3665
3700
|
function Ee(e, t, r, n, i, s, o) {
|
3666
|
-
if (e.length === 1 &&
|
3701
|
+
if (e.length === 1 && Tt(e[0]))
|
3667
3702
|
return [
|
3668
3703
|
{
|
3669
3704
|
type: H.literal,
|
@@ -3672,14 +3707,14 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3672
3707
|
];
|
3673
3708
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3674
3709
|
var l = u[h];
|
3675
|
-
if (
|
3710
|
+
if (Tt(l)) {
|
3676
3711
|
a.push({
|
3677
3712
|
type: H.literal,
|
3678
3713
|
value: l.value
|
3679
3714
|
});
|
3680
3715
|
continue;
|
3681
3716
|
}
|
3682
|
-
if (
|
3717
|
+
if ($n(l)) {
|
3683
3718
|
typeof s == "number" && a.push({
|
3684
3719
|
type: H.literal,
|
3685
3720
|
value: r.getNumberFormat(t).format(s)
|
@@ -3688,89 +3723,89 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3688
3723
|
}
|
3689
3724
|
var m = l.value;
|
3690
3725
|
if (!(i && m in i))
|
3691
|
-
throw new
|
3726
|
+
throw new pi(m, o);
|
3692
3727
|
var c = i[m];
|
3693
|
-
if (
|
3728
|
+
if (Dn(l)) {
|
3694
3729
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3695
3730
|
type: typeof c == "string" ? H.literal : H.object,
|
3696
3731
|
value: c
|
3697
3732
|
});
|
3698
3733
|
continue;
|
3699
3734
|
}
|
3700
|
-
if (
|
3701
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3735
|
+
if (ir(l)) {
|
3736
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Je(l.style) ? l.style.parsedOptions : void 0;
|
3702
3737
|
a.push({
|
3703
3738
|
type: H.literal,
|
3704
3739
|
value: r.getDateTimeFormat(t, d).format(c)
|
3705
3740
|
});
|
3706
3741
|
continue;
|
3707
3742
|
}
|
3708
|
-
if (
|
3709
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3743
|
+
if (sr(l)) {
|
3744
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Je(l.style) ? l.style.parsedOptions : n.time.medium;
|
3710
3745
|
a.push({
|
3711
3746
|
type: H.literal,
|
3712
3747
|
value: r.getDateTimeFormat(t, d).format(c)
|
3713
3748
|
});
|
3714
3749
|
continue;
|
3715
3750
|
}
|
3716
|
-
if (
|
3717
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3751
|
+
if (nr(l)) {
|
3752
|
+
var d = typeof l.style == "string" ? n.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
|
3718
3753
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3719
3754
|
type: H.literal,
|
3720
3755
|
value: r.getNumberFormat(t, d).format(c)
|
3721
3756
|
});
|
3722
3757
|
continue;
|
3723
3758
|
}
|
3724
|
-
if (
|
3725
|
-
var b = l.children,
|
3726
|
-
if (!
|
3727
|
-
throw new
|
3728
|
-
var C = Ee(b, t, r, n, i, s), P = T(C.map(function(
|
3729
|
-
return
|
3759
|
+
if (ur(l)) {
|
3760
|
+
var b = l.children, g = l.value, T = i[g];
|
3761
|
+
if (!gi(T))
|
3762
|
+
throw new bi(g, "function", o);
|
3763
|
+
var C = Ee(b, t, r, n, i, s), P = T(C.map(function(N) {
|
3764
|
+
return N.value;
|
3730
3765
|
}));
|
3731
|
-
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(
|
3766
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(N) {
|
3732
3767
|
return {
|
3733
|
-
type: typeof
|
3734
|
-
value:
|
3768
|
+
type: typeof N == "string" ? H.literal : H.object,
|
3769
|
+
value: N
|
3735
3770
|
};
|
3736
3771
|
}));
|
3737
3772
|
}
|
3738
|
-
if (
|
3773
|
+
if (or(l)) {
|
3739
3774
|
var w = l.options[c] || l.options.other;
|
3740
3775
|
if (!w)
|
3741
|
-
throw new
|
3776
|
+
throw new Lt(l.value, c, Object.keys(l.options), o);
|
3742
3777
|
a.push.apply(a, Ee(w.value, t, r, n, i));
|
3743
3778
|
continue;
|
3744
3779
|
}
|
3745
|
-
if (
|
3780
|
+
if (ar(l)) {
|
3746
3781
|
var w = l.options["=".concat(c)];
|
3747
3782
|
if (!w) {
|
3748
3783
|
if (!Intl.PluralRules)
|
3749
|
-
throw new
|
3784
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3750
3785
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3751
|
-
`,
|
3752
|
-
var
|
3753
|
-
w = l.options[
|
3786
|
+
`, K.MISSING_INTL_API, o);
|
3787
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3788
|
+
w = l.options[O] || l.options.other;
|
3754
3789
|
}
|
3755
3790
|
if (!w)
|
3756
|
-
throw new
|
3791
|
+
throw new Lt(l.value, c, Object.keys(l.options), o);
|
3757
3792
|
a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
|
3758
3793
|
continue;
|
3759
3794
|
}
|
3760
3795
|
}
|
3761
|
-
return
|
3796
|
+
return yi(a);
|
3762
3797
|
}
|
3763
|
-
function
|
3764
|
-
return t ?
|
3765
|
-
return r[n] =
|
3798
|
+
function vi(e, t) {
|
3799
|
+
return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3800
|
+
return r[n] = R(R({}, e[n]), t[n] || {}), r;
|
3766
3801
|
}, {})) : e;
|
3767
3802
|
}
|
3768
|
-
function
|
3803
|
+
function _i(e, t) {
|
3769
3804
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3770
|
-
return r[n] =
|
3771
|
-
},
|
3805
|
+
return r[n] = vi(e[n], t[n]), r;
|
3806
|
+
}, R({}, e)) : e;
|
3772
3807
|
}
|
3773
|
-
function
|
3808
|
+
function $e(e) {
|
3774
3809
|
return {
|
3775
3810
|
create: function() {
|
3776
3811
|
return {
|
@@ -3784,39 +3819,39 @@ function Ge(e) {
|
|
3784
3819
|
}
|
3785
3820
|
};
|
3786
3821
|
}
|
3787
|
-
function
|
3822
|
+
function Ei(e) {
|
3788
3823
|
return e === void 0 && (e = {
|
3789
3824
|
number: {},
|
3790
3825
|
dateTime: {},
|
3791
3826
|
pluralRules: {}
|
3792
3827
|
}), {
|
3793
|
-
getNumberFormat:
|
3828
|
+
getNumberFormat: Ge(function() {
|
3794
3829
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3795
3830
|
r[n] = arguments[n];
|
3796
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3831
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
|
3797
3832
|
}, {
|
3798
|
-
cache:
|
3799
|
-
strategy:
|
3833
|
+
cache: $e(e.number),
|
3834
|
+
strategy: Ue.variadic
|
3800
3835
|
}),
|
3801
|
-
getDateTimeFormat:
|
3836
|
+
getDateTimeFormat: Ge(function() {
|
3802
3837
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3803
3838
|
r[n] = arguments[n];
|
3804
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3839
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
|
3805
3840
|
}, {
|
3806
|
-
cache:
|
3807
|
-
strategy:
|
3841
|
+
cache: $e(e.dateTime),
|
3842
|
+
strategy: Ue.variadic
|
3808
3843
|
}),
|
3809
|
-
getPluralRules:
|
3844
|
+
getPluralRules: Ge(function() {
|
3810
3845
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3811
3846
|
r[n] = arguments[n];
|
3812
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3847
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
|
3813
3848
|
}, {
|
3814
|
-
cache:
|
3815
|
-
strategy:
|
3849
|
+
cache: $e(e.pluralRules),
|
3850
|
+
strategy: Ue.variadic
|
3816
3851
|
})
|
3817
3852
|
};
|
3818
3853
|
}
|
3819
|
-
var
|
3854
|
+
var xi = (
|
3820
3855
|
/** @class */
|
3821
3856
|
function() {
|
3822
3857
|
function e(t, r, n, i) {
|
@@ -3848,13 +3883,13 @@ var yi = (
|
|
3848
3883
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3849
3884
|
var o = i || {};
|
3850
3885
|
o.formatters;
|
3851
|
-
var a =
|
3852
|
-
this.ast = e.__parse(t,
|
3886
|
+
var a = Nn(o, ["formatters"]);
|
3887
|
+
this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
|
3853
3888
|
} else
|
3854
3889
|
this.ast = t;
|
3855
3890
|
if (!Array.isArray(this.ast))
|
3856
3891
|
throw new TypeError("A message must be provided as a String or AST.");
|
3857
|
-
this.formats =
|
3892
|
+
this.formats = _i(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
|
3858
3893
|
}
|
3859
3894
|
return Object.defineProperty(e, "defaultLocale", {
|
3860
3895
|
get: function() {
|
@@ -3867,7 +3902,7 @@ var yi = (
|
|
3867
3902
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3868
3903
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3869
3904
|
}
|
3870
|
-
}, e.__parse =
|
3905
|
+
}, e.__parse = di, e.formats = {
|
3871
3906
|
number: {
|
3872
3907
|
integer: {
|
3873
3908
|
maximumFractionDigits: 0
|
@@ -3928,7 +3963,7 @@ var yi = (
|
|
3928
3963
|
}, e;
|
3929
3964
|
}()
|
3930
3965
|
);
|
3931
|
-
function
|
3966
|
+
function Si(e, t) {
|
3932
3967
|
if (t == null)
|
3933
3968
|
return;
|
3934
3969
|
if (t in e)
|
@@ -3949,92 +3984,92 @@ function vi(e, t) {
|
|
3949
3984
|
n = void 0;
|
3950
3985
|
return n;
|
3951
3986
|
}
|
3952
|
-
const D = {},
|
3987
|
+
const D = {}, wi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), yr = (e, t) => {
|
3953
3988
|
if (t == null)
|
3954
3989
|
return;
|
3955
3990
|
if (t in D && e in D[t])
|
3956
3991
|
return D[t][e];
|
3957
|
-
const r =
|
3992
|
+
const r = Oe(t);
|
3958
3993
|
for (let n = 0; n < r.length; n++) {
|
3959
|
-
const i = r[n], s =
|
3994
|
+
const i = r[n], s = Hi(i, e);
|
3960
3995
|
if (s)
|
3961
|
-
return
|
3996
|
+
return wi(e, t, s);
|
3962
3997
|
}
|
3963
3998
|
};
|
3964
|
-
let
|
3965
|
-
const me =
|
3966
|
-
function
|
3967
|
-
return
|
3999
|
+
let ut;
|
4000
|
+
const me = Ae({});
|
4001
|
+
function Ti(e) {
|
4002
|
+
return ut[e] || null;
|
3968
4003
|
}
|
3969
|
-
function
|
3970
|
-
return e in
|
4004
|
+
function gr(e) {
|
4005
|
+
return e in ut;
|
3971
4006
|
}
|
3972
|
-
function
|
3973
|
-
if (!
|
4007
|
+
function Hi(e, t) {
|
4008
|
+
if (!gr(e))
|
3974
4009
|
return null;
|
3975
|
-
const r =
|
3976
|
-
return
|
4010
|
+
const r = Ti(e);
|
4011
|
+
return Si(r, t);
|
3977
4012
|
}
|
3978
|
-
function
|
4013
|
+
function Ai(e) {
|
3979
4014
|
if (e == null)
|
3980
4015
|
return;
|
3981
|
-
const t =
|
4016
|
+
const t = Oe(e);
|
3982
4017
|
for (let r = 0; r < t.length; r++) {
|
3983
4018
|
const n = t[r];
|
3984
|
-
if (
|
4019
|
+
if (gr(n))
|
3985
4020
|
return n;
|
3986
4021
|
}
|
3987
4022
|
}
|
3988
|
-
function
|
3989
|
-
delete D[e], me.update((r) => (r[e] =
|
4023
|
+
function vr(e, ...t) {
|
4024
|
+
delete D[e], me.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
3990
4025
|
}
|
3991
|
-
|
4026
|
+
ne(
|
3992
4027
|
[me],
|
3993
4028
|
([e]) => Object.keys(e)
|
3994
4029
|
);
|
3995
|
-
me.subscribe((e) =>
|
4030
|
+
me.subscribe((e) => ut = e);
|
3996
4031
|
const xe = {};
|
3997
|
-
function
|
4032
|
+
function Bi(e, t) {
|
3998
4033
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
3999
4034
|
}
|
4000
|
-
function
|
4035
|
+
function _r(e) {
|
4001
4036
|
return xe[e];
|
4002
4037
|
}
|
4003
|
-
function
|
4004
|
-
return
|
4005
|
-
const r =
|
4038
|
+
function Pi(e) {
|
4039
|
+
return Oe(e).map((t) => {
|
4040
|
+
const r = _r(t);
|
4006
4041
|
return [t, r ? [...r] : []];
|
4007
4042
|
}).filter(([, t]) => t.length > 0);
|
4008
4043
|
}
|
4009
|
-
function
|
4010
|
-
return e == null ? !1 :
|
4044
|
+
function it(e) {
|
4045
|
+
return e == null ? !1 : Oe(e).some(
|
4011
4046
|
(t) => {
|
4012
4047
|
var r;
|
4013
|
-
return (r =
|
4048
|
+
return (r = _r(t)) == null ? void 0 : r.size;
|
4014
4049
|
}
|
4015
4050
|
);
|
4016
4051
|
}
|
4017
|
-
function
|
4052
|
+
function Oi(e, t) {
|
4018
4053
|
return Promise.all(
|
4019
|
-
t.map((n) => (
|
4020
|
-
).then((n) =>
|
4021
|
-
}
|
4022
|
-
const
|
4023
|
-
function
|
4024
|
-
if (!
|
4025
|
-
return e in
|
4026
|
-
const t =
|
4027
|
-
return
|
4054
|
+
t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
|
4055
|
+
).then((n) => vr(e, ...n));
|
4056
|
+
}
|
4057
|
+
const se = {};
|
4058
|
+
function Er(e) {
|
4059
|
+
if (!it(e))
|
4060
|
+
return e in se ? se[e] : Promise.resolve();
|
4061
|
+
const t = Pi(e);
|
4062
|
+
return se[e] = Promise.all(
|
4028
4063
|
t.map(
|
4029
|
-
([r, n]) =>
|
4064
|
+
([r, n]) => Oi(r, n)
|
4030
4065
|
)
|
4031
4066
|
).then(() => {
|
4032
|
-
if (
|
4033
|
-
return
|
4034
|
-
delete
|
4035
|
-
}),
|
4067
|
+
if (it(e))
|
4068
|
+
return Er(e);
|
4069
|
+
delete se[e];
|
4070
|
+
}), se[e];
|
4036
4071
|
}
|
4037
|
-
const
|
4072
|
+
const Ni = {
|
4038
4073
|
number: {
|
4039
4074
|
scientific: { notation: "scientific" },
|
4040
4075
|
engineering: { notation: "engineering" },
|
@@ -4063,135 +4098,135 @@ const Ai = {
|
|
4063
4098
|
timeZoneName: "short"
|
4064
4099
|
}
|
4065
4100
|
}
|
4066
|
-
},
|
4101
|
+
}, Li = {
|
4067
4102
|
fallbackLocale: null,
|
4068
4103
|
loadingDelay: 200,
|
4069
|
-
formats:
|
4104
|
+
formats: Ni,
|
4070
4105
|
warnOnMissingMessages: !0,
|
4071
4106
|
handleMissingMessage: void 0,
|
4072
4107
|
ignoreTag: !0
|
4073
|
-
},
|
4074
|
-
function
|
4075
|
-
return
|
4076
|
-
}
|
4077
|
-
const
|
4078
|
-
var
|
4079
|
-
for (var r in t)
|
4080
|
-
|
4081
|
-
if (
|
4082
|
-
for (var r of
|
4083
|
-
|
4108
|
+
}, Ii = Li;
|
4109
|
+
function ee() {
|
4110
|
+
return Ii;
|
4111
|
+
}
|
4112
|
+
const Fe = Ae(!1);
|
4113
|
+
var Ci = Object.defineProperty, Mi = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
|
4114
|
+
for (var r in t || (t = {}))
|
4115
|
+
Gi.call(t, r) && Ct(e, r, t[r]);
|
4116
|
+
if (It)
|
4117
|
+
for (var r of It(t))
|
4118
|
+
Ui.call(t, r) && Ct(e, r, t[r]);
|
4084
4119
|
return e;
|
4085
|
-
},
|
4086
|
-
let
|
4087
|
-
const
|
4088
|
-
function
|
4120
|
+
}, $i = (e, t) => Mi(e, Ri(t));
|
4121
|
+
let st;
|
4122
|
+
const we = Ae(null);
|
4123
|
+
function Mt(e) {
|
4089
4124
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4090
4125
|
}
|
4091
|
-
function
|
4092
|
-
const r =
|
4093
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4126
|
+
function Oe(e, t = ee().fallbackLocale) {
|
4127
|
+
const r = Mt(e);
|
4128
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
4094
4129
|
}
|
4095
4130
|
function V() {
|
4096
|
-
return
|
4131
|
+
return st ?? void 0;
|
4097
4132
|
}
|
4098
|
-
|
4099
|
-
|
4133
|
+
we.subscribe((e) => {
|
4134
|
+
st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
4100
4135
|
});
|
4101
|
-
const
|
4102
|
-
if (e &&
|
4103
|
-
const { loadingDelay: t } =
|
4136
|
+
const Fi = (e) => {
|
4137
|
+
if (e && Ai(e) && it(e)) {
|
4138
|
+
const { loadingDelay: t } = ee();
|
4104
4139
|
let r;
|
4105
4140
|
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
4106
|
-
() =>
|
4141
|
+
() => Fe.set(!0),
|
4107
4142
|
t
|
4108
|
-
) :
|
4109
|
-
|
4143
|
+
) : Fe.set(!0), Er(e).then(() => {
|
4144
|
+
we.set(e);
|
4110
4145
|
}).finally(() => {
|
4111
|
-
clearTimeout(r),
|
4146
|
+
clearTimeout(r), Fe.set(!1);
|
4112
4147
|
});
|
4113
4148
|
}
|
4114
|
-
return
|
4115
|
-
}, de =
|
4116
|
-
set:
|
4117
|
-
}),
|
4149
|
+
return we.set(e);
|
4150
|
+
}, de = $i(Di({}, we), {
|
4151
|
+
set: Fi
|
4152
|
+
}), Ne = (e) => {
|
4118
4153
|
const t = /* @__PURE__ */ Object.create(null);
|
4119
4154
|
return (n) => {
|
4120
4155
|
const i = JSON.stringify(n);
|
4121
4156
|
return i in t ? t[i] : t[i] = e(n);
|
4122
4157
|
};
|
4123
4158
|
};
|
4124
|
-
var
|
4159
|
+
var ji = Object.defineProperty, Te = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
4125
4160
|
for (var r in t || (t = {}))
|
4126
|
-
|
4127
|
-
if (
|
4128
|
-
for (var r of
|
4129
|
-
|
4161
|
+
xr.call(t, r) && Rt(e, r, t[r]);
|
4162
|
+
if (Te)
|
4163
|
+
for (var r of Te(t))
|
4164
|
+
Sr.call(t, r) && Rt(e, r, t[r]);
|
4130
4165
|
return e;
|
4131
|
-
},
|
4166
|
+
}, ie = (e, t) => {
|
4132
4167
|
var r = {};
|
4133
4168
|
for (var n in e)
|
4134
|
-
|
4135
|
-
if (e != null &&
|
4136
|
-
for (var n of
|
4137
|
-
t.indexOf(n) < 0 &&
|
4169
|
+
xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4170
|
+
if (e != null && Te)
|
4171
|
+
for (var n of Te(e))
|
4172
|
+
t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
|
4138
4173
|
return r;
|
4139
4174
|
};
|
4140
|
-
const
|
4141
|
-
const { formats: r } =
|
4175
|
+
const he = (e, t) => {
|
4176
|
+
const { formats: r } = ee();
|
4142
4177
|
if (e in r && t in r[e])
|
4143
4178
|
return r[e][t];
|
4144
4179
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4145
|
-
},
|
4180
|
+
}, ki = Ne(
|
4146
4181
|
(e) => {
|
4147
|
-
var t = e, { locale: r, format: n } = t, i =
|
4182
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4148
4183
|
if (r == null)
|
4149
4184
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4150
|
-
return n && (i =
|
4185
|
+
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
4151
4186
|
}
|
4152
|
-
),
|
4187
|
+
), Vi = Ne(
|
4153
4188
|
(e) => {
|
4154
|
-
var t = e, { locale: r, format: n } = t, i =
|
4189
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4155
4190
|
if (r == null)
|
4156
4191
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4157
|
-
return n ? i =
|
4192
|
+
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
4158
4193
|
}
|
4159
|
-
),
|
4194
|
+
), Xi = Ne(
|
4160
4195
|
(e) => {
|
4161
|
-
var t = e, { locale: r, format: n } = t, i =
|
4196
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4162
4197
|
if (r == null)
|
4163
4198
|
throw new Error(
|
4164
4199
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4165
4200
|
);
|
4166
|
-
return n ? i =
|
4201
|
+
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
4167
4202
|
}
|
4168
|
-
),
|
4203
|
+
), Wi = (e = {}) => {
|
4169
4204
|
var t = e, {
|
4170
4205
|
locale: r = V()
|
4171
|
-
} = t, n =
|
4206
|
+
} = t, n = ie(t, [
|
4172
4207
|
"locale"
|
4173
4208
|
]);
|
4174
|
-
return
|
4175
|
-
},
|
4209
|
+
return ki(ht({ locale: r }, n));
|
4210
|
+
}, zi = (e = {}) => {
|
4176
4211
|
var t = e, {
|
4177
4212
|
locale: r = V()
|
4178
|
-
} = t, n =
|
4213
|
+
} = t, n = ie(t, [
|
4179
4214
|
"locale"
|
4180
4215
|
]);
|
4181
|
-
return
|
4182
|
-
},
|
4216
|
+
return Vi(ht({ locale: r }, n));
|
4217
|
+
}, Zi = (e = {}) => {
|
4183
4218
|
var t = e, {
|
4184
4219
|
locale: r = V()
|
4185
|
-
} = t, n =
|
4220
|
+
} = t, n = ie(t, [
|
4186
4221
|
"locale"
|
4187
4222
|
]);
|
4188
|
-
return
|
4189
|
-
},
|
4223
|
+
return Xi(ht({ locale: r }, n));
|
4224
|
+
}, Qi = Ne(
|
4190
4225
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4191
|
-
(e, t = V()) => new
|
4192
|
-
ignoreTag:
|
4226
|
+
(e, t = V()) => new xi(e, t, ee().formats, {
|
4227
|
+
ignoreTag: ee().ignoreTag
|
4193
4228
|
})
|
4194
|
-
),
|
4229
|
+
), Yi = (e, t = {}) => {
|
4195
4230
|
var r, n, i, s;
|
4196
4231
|
let o = t;
|
4197
4232
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4204,9 +4239,9 @@ const le = (e, t) => {
|
|
4204
4239
|
throw new Error(
|
4205
4240
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4206
4241
|
);
|
4207
|
-
let l =
|
4242
|
+
let l = yr(e, h);
|
4208
4243
|
if (!l)
|
4209
|
-
l = (s = (i = (n = (r =
|
4244
|
+
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;
|
4210
4245
|
else if (typeof l != "string")
|
4211
4246
|
return console.warn(
|
4212
4247
|
`[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.`
|
@@ -4215,7 +4250,7 @@ const le = (e, t) => {
|
|
4215
4250
|
return l;
|
4216
4251
|
let m = l;
|
4217
4252
|
try {
|
4218
|
-
m =
|
4253
|
+
m = Qi(l, h).format(a);
|
4219
4254
|
} catch (c) {
|
4220
4255
|
c instanceof Error && console.warn(
|
4221
4256
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4223,20 +4258,20 @@ const le = (e, t) => {
|
|
4223
4258
|
);
|
4224
4259
|
}
|
4225
4260
|
return m;
|
4226
|
-
},
|
4227
|
-
|
4228
|
-
|
4229
|
-
|
4230
|
-
|
4231
|
-
window.emWidgets = { topic:
|
4232
|
-
const
|
4233
|
-
function
|
4261
|
+
}, qi = (e, t) => Zi(t).format(e), Ji = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), es = (e, t = V()) => yr(e, t), ts = ne([de, me], () => Yi);
|
4262
|
+
ne([de], () => qi);
|
4263
|
+
ne([de], () => Ji);
|
4264
|
+
ne([de], () => Ki);
|
4265
|
+
ne([de, me], () => es);
|
4266
|
+
window.emWidgets = { topic: mn };
|
4267
|
+
const rs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4268
|
+
function ns(e, t) {
|
4234
4269
|
if (e) {
|
4235
4270
|
const r = document.createElement("style");
|
4236
4271
|
r.innerHTML = t, e.appendChild(r);
|
4237
4272
|
}
|
4238
4273
|
}
|
4239
|
-
function
|
4274
|
+
function is(e, t) {
|
4240
4275
|
const r = new URL(t);
|
4241
4276
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4242
4277
|
const i = document.createElement("style");
|
@@ -4245,7 +4280,7 @@ function es(e, t) {
|
|
4245
4280
|
console.error("There was an error while trying to load client styling from URL", n);
|
4246
4281
|
});
|
4247
4282
|
}
|
4248
|
-
function
|
4283
|
+
function ss(e, t, r) {
|
4249
4284
|
if (window.emMessageBus) {
|
4250
4285
|
const n = document.createElement("style");
|
4251
4286
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4253,10 +4288,10 @@ function ts(e, t, r) {
|
|
4253
4288
|
});
|
4254
4289
|
}
|
4255
4290
|
}
|
4256
|
-
function
|
4257
|
-
|
4291
|
+
function Gt(e, t) {
|
4292
|
+
vr(e, t);
|
4258
4293
|
}
|
4259
|
-
const
|
4294
|
+
const Ut = {
|
4260
4295
|
en: {
|
4261
4296
|
lobbyName: "Lobby",
|
4262
4297
|
myGamesName: "My games"
|
@@ -4342,173 +4377,173 @@ if (typeof window < "u") {
|
|
4342
4377
|
}
|
4343
4378
|
};
|
4344
4379
|
};
|
4345
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4380
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-BCZsEGOH.js").then(({ default: t }) => {
|
4346
4381
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4347
4382
|
});
|
4348
4383
|
}
|
4349
|
-
function
|
4350
|
-
|
4384
|
+
function os(e) {
|
4385
|
+
Mr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
|
4351
4386
|
}
|
4352
|
-
function
|
4387
|
+
function as(e) {
|
4353
4388
|
let t, r;
|
4354
4389
|
return {
|
4355
4390
|
c() {
|
4356
|
-
t = k("div"), r = k("casino-slider"),
|
4391
|
+
t = k("div"), r = k("casino-slider"), v(
|
4357
4392
|
r,
|
4358
4393
|
"lang",
|
4359
4394
|
/*lang*/
|
4360
4395
|
e[3]
|
4361
|
-
),
|
4396
|
+
), v(
|
4362
4397
|
r,
|
4363
4398
|
"datasource",
|
4364
4399
|
/*datasource*/
|
4365
4400
|
e[2]
|
4366
|
-
),
|
4401
|
+
), v(
|
4367
4402
|
r,
|
4368
4403
|
"endpoint",
|
4369
4404
|
/*endpoint*/
|
4370
4405
|
e[1]
|
4371
|
-
),
|
4406
|
+
), v(r, "identity", ot), v(
|
4372
4407
|
r,
|
4373
4408
|
"favoritesnumber",
|
4374
4409
|
/*numberOfFavoredGames*/
|
4375
4410
|
e[16]
|
4376
|
-
),
|
4411
|
+
), v(
|
4377
4412
|
r,
|
4378
4413
|
"showsubgroups",
|
4379
4414
|
/*showsubgroups*/
|
4380
4415
|
e[8]
|
4381
|
-
),
|
4416
|
+
), v(
|
4382
4417
|
r,
|
4383
4418
|
"clientstyling",
|
4384
4419
|
/*clientstyling*/
|
4385
4420
|
e[4]
|
4386
|
-
),
|
4421
|
+
), v(
|
4387
4422
|
r,
|
4388
4423
|
"clientstylingurl",
|
4389
4424
|
/*clientstylingurl*/
|
4390
4425
|
e[5]
|
4391
|
-
),
|
4426
|
+
), v(
|
4392
4427
|
r,
|
4393
4428
|
"mbsource",
|
4394
4429
|
/*mbsource*/
|
4395
4430
|
e[12]
|
4396
|
-
),
|
4431
|
+
), v(
|
4397
4432
|
r,
|
4398
4433
|
"activeindex",
|
4399
4434
|
/*activecategory*/
|
4400
4435
|
e[0]
|
4401
|
-
),
|
4436
|
+
), v(
|
4402
4437
|
r,
|
4403
4438
|
"actionevent",
|
4404
4439
|
/*actionevent*/
|
4405
4440
|
e[6]
|
4406
|
-
),
|
4441
|
+
), v(
|
4407
4442
|
r,
|
4408
4443
|
"location",
|
4409
4444
|
/*location*/
|
4410
4445
|
e[7]
|
4411
|
-
),
|
4446
|
+
), v(
|
4412
4447
|
r,
|
4413
4448
|
"categoriesicon",
|
4414
4449
|
/*categoriesicon*/
|
4415
4450
|
e[9]
|
4416
|
-
),
|
4451
|
+
), v(
|
4417
4452
|
r,
|
4418
4453
|
"lobbyiconimage",
|
4419
4454
|
/*lobbyiconimage*/
|
4420
4455
|
e[10]
|
4421
|
-
),
|
4456
|
+
), v(
|
4422
4457
|
r,
|
4423
4458
|
"mygamesiconimage",
|
4424
4459
|
/*mygamesiconimage*/
|
4425
4460
|
e[11]
|
4426
|
-
),
|
4461
|
+
), ce(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
4427
4462
|
},
|
4428
4463
|
m(n, i) {
|
4429
|
-
|
4464
|
+
le(n, t, i), jt(t, r);
|
4430
4465
|
},
|
4431
4466
|
p(n, i) {
|
4432
4467
|
i[0] & /*lang*/
|
4433
|
-
8 &&
|
4468
|
+
8 && v(
|
4434
4469
|
r,
|
4435
4470
|
"lang",
|
4436
4471
|
/*lang*/
|
4437
4472
|
n[3]
|
4438
4473
|
), i[0] & /*datasource*/
|
4439
|
-
4 &&
|
4474
|
+
4 && v(
|
4440
4475
|
r,
|
4441
4476
|
"datasource",
|
4442
4477
|
/*datasource*/
|
4443
4478
|
n[2]
|
4444
4479
|
), i[0] & /*endpoint*/
|
4445
|
-
2 &&
|
4480
|
+
2 && v(
|
4446
4481
|
r,
|
4447
4482
|
"endpoint",
|
4448
4483
|
/*endpoint*/
|
4449
4484
|
n[1]
|
4450
4485
|
), i[0] & /*numberOfFavoredGames*/
|
4451
|
-
65536 &&
|
4486
|
+
65536 && v(
|
4452
4487
|
r,
|
4453
4488
|
"favoritesnumber",
|
4454
4489
|
/*numberOfFavoredGames*/
|
4455
4490
|
n[16]
|
4456
4491
|
), i[0] & /*showsubgroups*/
|
4457
|
-
256 &&
|
4492
|
+
256 && v(
|
4458
4493
|
r,
|
4459
4494
|
"showsubgroups",
|
4460
4495
|
/*showsubgroups*/
|
4461
4496
|
n[8]
|
4462
4497
|
), i[0] & /*clientstyling*/
|
4463
|
-
16 &&
|
4498
|
+
16 && v(
|
4464
4499
|
r,
|
4465
4500
|
"clientstyling",
|
4466
4501
|
/*clientstyling*/
|
4467
4502
|
n[4]
|
4468
4503
|
), i[0] & /*clientstylingurl*/
|
4469
|
-
32 &&
|
4504
|
+
32 && v(
|
4470
4505
|
r,
|
4471
4506
|
"clientstylingurl",
|
4472
4507
|
/*clientstylingurl*/
|
4473
4508
|
n[5]
|
4474
4509
|
), i[0] & /*mbsource*/
|
4475
|
-
4096 &&
|
4510
|
+
4096 && v(
|
4476
4511
|
r,
|
4477
4512
|
"mbsource",
|
4478
4513
|
/*mbsource*/
|
4479
4514
|
n[12]
|
4480
4515
|
), i[0] & /*activecategory*/
|
4481
|
-
1 &&
|
4516
|
+
1 && v(
|
4482
4517
|
r,
|
4483
4518
|
"activeindex",
|
4484
4519
|
/*activecategory*/
|
4485
4520
|
n[0]
|
4486
4521
|
), i[0] & /*actionevent*/
|
4487
|
-
64 &&
|
4522
|
+
64 && v(
|
4488
4523
|
r,
|
4489
4524
|
"actionevent",
|
4490
4525
|
/*actionevent*/
|
4491
4526
|
n[6]
|
4492
4527
|
), i[0] & /*location*/
|
4493
|
-
128 &&
|
4528
|
+
128 && v(
|
4494
4529
|
r,
|
4495
4530
|
"location",
|
4496
4531
|
/*location*/
|
4497
4532
|
n[7]
|
4498
4533
|
), i[0] & /*categoriesicon*/
|
4499
|
-
512 &&
|
4534
|
+
512 && v(
|
4500
4535
|
r,
|
4501
4536
|
"categoriesicon",
|
4502
4537
|
/*categoriesicon*/
|
4503
4538
|
n[9]
|
4504
4539
|
), i[0] & /*lobbyiconimage*/
|
4505
|
-
1024 &&
|
4540
|
+
1024 && v(
|
4506
4541
|
r,
|
4507
4542
|
"lobbyiconimage",
|
4508
4543
|
/*lobbyiconimage*/
|
4509
4544
|
n[10]
|
4510
4545
|
), i[0] & /*mygamesiconimage*/
|
4511
|
-
2048 &&
|
4546
|
+
2048 && v(
|
4512
4547
|
r,
|
4513
4548
|
"mygamesiconimage",
|
4514
4549
|
/*mygamesiconimage*/
|
@@ -4516,48 +4551,48 @@ function ns(e) {
|
|
4516
4551
|
);
|
4517
4552
|
},
|
4518
4553
|
d(n) {
|
4519
|
-
n &&
|
4554
|
+
n && re(t);
|
4520
4555
|
}
|
4521
4556
|
};
|
4522
4557
|
}
|
4523
|
-
function
|
4558
|
+
function us(e) {
|
4524
4559
|
let t;
|
4525
4560
|
return {
|
4526
4561
|
c() {
|
4527
|
-
t = k("p"), t.textContent = "500 Error - Internal Server Error.",
|
4562
|
+
t = k("p"), t.textContent = "500 Error - Internal Server Error.", ce(t, "class", "SearchLoading svelte-1my2wow");
|
4528
4563
|
},
|
4529
4564
|
m(r, n) {
|
4530
|
-
|
4565
|
+
le(r, t, n);
|
4531
4566
|
},
|
4532
4567
|
p: I,
|
4533
4568
|
d(r) {
|
4534
|
-
r &&
|
4569
|
+
r && re(t);
|
4535
4570
|
}
|
4536
4571
|
};
|
4537
4572
|
}
|
4538
|
-
function
|
4573
|
+
function hs(e) {
|
4539
4574
|
let t;
|
4540
4575
|
return {
|
4541
4576
|
c() {
|
4542
|
-
t = k("div"),
|
4577
|
+
t = k("div"), ce(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
4543
4578
|
},
|
4544
4579
|
m(r, n) {
|
4545
|
-
|
4580
|
+
le(r, t, n);
|
4546
4581
|
},
|
4547
4582
|
p: I,
|
4548
4583
|
d(r) {
|
4549
|
-
r &&
|
4584
|
+
r && re(t);
|
4550
4585
|
}
|
4551
4586
|
};
|
4552
4587
|
}
|
4553
|
-
function
|
4588
|
+
function ls(e) {
|
4554
4589
|
let t;
|
4555
4590
|
function r(s, o) {
|
4556
4591
|
return (
|
4557
4592
|
/*isLoading*/
|
4558
|
-
s[13] ||
|
4593
|
+
s[13] || cs || fs ? hs : (
|
4559
4594
|
/*hasErrors*/
|
4560
|
-
s[15] ?
|
4595
|
+
s[15] ? us : as
|
4561
4596
|
)
|
4562
4597
|
);
|
4563
4598
|
}
|
@@ -4567,7 +4602,7 @@ function os(e) {
|
|
4567
4602
|
t = k("div"), i.c();
|
4568
4603
|
},
|
4569
4604
|
m(s, o) {
|
4570
|
-
|
4605
|
+
le(s, t, o), i.m(t, null), e[26](t);
|
4571
4606
|
},
|
4572
4607
|
p(s, o) {
|
4573
4608
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
@@ -4575,54 +4610,54 @@ function os(e) {
|
|
4575
4610
|
i: I,
|
4576
4611
|
o: I,
|
4577
4612
|
d(s) {
|
4578
|
-
s &&
|
4613
|
+
s && re(t), i.d(), e[26](null);
|
4579
4614
|
}
|
4580
4615
|
};
|
4581
4616
|
}
|
4582
|
-
let
|
4583
|
-
function
|
4617
|
+
let ot = "CasinoSliderData", cs = !1, fs = !1;
|
4618
|
+
function ms(e, t, r) {
|
4584
4619
|
let n;
|
4585
|
-
|
4586
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent:
|
4587
|
-
const
|
4588
|
-
fetch(
|
4620
|
+
Cr(e, ts, (f) => r(32, n = f));
|
4621
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: g = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: N = "" } = t, { lobbyiconimage: M = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, L, $, F = !0, X, W = [], j = !1, wr = window.navigator.userAgent, G, lt, ct = !1, Le = !1;
|
4622
|
+
const Tr = () => {
|
4623
|
+
fetch(O).then((B) => B.json()).then((B) => {
|
4589
4624
|
Object.keys(B).forEach((be) => {
|
4590
|
-
|
4625
|
+
Gt(be, B[be]);
|
4591
4626
|
});
|
4592
4627
|
}).catch((B) => {
|
4593
4628
|
console.log(B);
|
4594
4629
|
});
|
4595
4630
|
};
|
4596
|
-
Object.keys(
|
4597
|
-
|
4631
|
+
Object.keys(Ut).forEach((f) => {
|
4632
|
+
Gt(f, Ut[f]);
|
4598
4633
|
});
|
4599
|
-
const
|
4600
|
-
|
4634
|
+
const Hr = () => {
|
4635
|
+
ct == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
|
4601
4636
|
// @ts-ignore
|
4602
4637
|
id: "MYGAMES",
|
4603
4638
|
name: L,
|
4604
4639
|
href: "",
|
4605
4640
|
games: []
|
4606
|
-
}),
|
4607
|
-
},
|
4608
|
-
if (L = n("myGamesName"),
|
4641
|
+
}), jr(), ct = !0, r(25, Le = !0), ft();
|
4642
|
+
}, Ar = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, F = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, F = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, F = !1), console.error(X)), j), Br = () => {
|
4643
|
+
if (L = n("myGamesName"), $ = n("lobbyName"), !Ar()) {
|
4609
4644
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
4610
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
4645
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", rs(wr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
|
4611
4646
|
(B) => {
|
4612
|
-
let be = w.split(","),
|
4613
|
-
let
|
4614
|
-
if (
|
4615
|
-
for (let
|
4616
|
-
|
4617
|
-
return
|
4647
|
+
let be = w.split(","), Nr = B.items.filter((dt) => {
|
4648
|
+
let Ie = !1;
|
4649
|
+
if (dt.games.total > 0 && (Ie = !0, w))
|
4650
|
+
for (let Lr of be)
|
4651
|
+
dt.flags == Lr && (Ie = !1);
|
4652
|
+
return Ie;
|
4618
4653
|
});
|
4619
|
-
W = [], W = W.concat(
|
4654
|
+
W = [], W = W.concat(Nr), W.unshift({
|
4620
4655
|
// @ts-ignore
|
4621
4656
|
id: "LOBBY",
|
4622
|
-
name:
|
4657
|
+
name: $,
|
4623
4658
|
href: "",
|
4624
4659
|
games: []
|
4625
|
-
}), r(13,
|
4660
|
+
}), r(13, F = !1);
|
4626
4661
|
},
|
4627
4662
|
(B) => {
|
4628
4663
|
r(15, j = !0), console.error("There was an error while fetching the categories", B);
|
@@ -4631,58 +4666,58 @@ function hs(e, t, r) {
|
|
4631
4666
|
r(15, j = !0), console.error("There was an error while fetching the categories", B);
|
4632
4667
|
});
|
4633
4668
|
}
|
4634
|
-
},
|
4669
|
+
}, Pr = () => {
|
4635
4670
|
let f = b.split("$");
|
4636
4671
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4637
|
-
},
|
4672
|
+
}, ft = () => {
|
4638
4673
|
window.postMessage(
|
4639
4674
|
{
|
4640
4675
|
type: "SliderData",
|
4641
|
-
identity:
|
4676
|
+
identity: ot,
|
4642
4677
|
data: W
|
4643
4678
|
},
|
4644
4679
|
window.location.href
|
4645
4680
|
);
|
4646
|
-
},
|
4647
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4681
|
+
}, mt = (f) => {
|
4682
|
+
f.data && f.data.type == "SliderLoaded" && ot == f.data.identity && ft();
|
4648
4683
|
};
|
4649
|
-
|
4650
|
-
window.removeEventListener("message",
|
4684
|
+
Fr(() => (window.addEventListener("message", mt, !1), () => {
|
4685
|
+
window.removeEventListener("message", mt);
|
4651
4686
|
}));
|
4652
|
-
function
|
4653
|
-
|
4654
|
-
|
4687
|
+
function Or(f) {
|
4688
|
+
je[f ? "unshift" : "push"](() => {
|
4689
|
+
G = f, r(14, G);
|
4655
4690
|
});
|
4656
4691
|
}
|
4657
4692
|
return e.$$set = (f) => {
|
4658
|
-
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6,
|
4693
|
+
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, g = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, O = f.translationurl), "categoriesicon" in f && r(9, N = f.categoriesicon), "lobbyiconimage" in f && r(10, M = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
|
4659
4694
|
}, e.$$.update = () => {
|
4660
4695
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4661
|
-
14 && i && s && o &&
|
4662
|
-
3940354 && i && h && (u || l || m) &&
|
4663
|
-
33824769 &&
|
4664
|
-
16777216 &&
|
4665
|
-
16400 && c &&
|
4666
|
-
16416 && d &&
|
4667
|
-
20480 &&
|
4668
|
-
}, r(16,
|
4696
|
+
14 && i && s && o && Br(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4697
|
+
3940354 && i && h && (u || l || m) && !F && Hr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4698
|
+
33824769 && !F && b && (!h || Le) && Pr(), e.$$.dirty[0] & /*translationurl*/
|
4699
|
+
16777216 && O && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4700
|
+
16400 && c && G && ns(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4701
|
+
16416 && d && G && is(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4702
|
+
20480 && G && ss(G, `${A}.Style`);
|
4703
|
+
}, r(16, lt = 0), [
|
4669
4704
|
b,
|
4670
4705
|
i,
|
4671
4706
|
s,
|
4672
4707
|
o,
|
4673
4708
|
c,
|
4674
4709
|
d,
|
4675
|
-
|
4710
|
+
g,
|
4676
4711
|
C,
|
4677
4712
|
P,
|
4678
|
-
|
4713
|
+
N,
|
4679
4714
|
M,
|
4680
|
-
|
4715
|
+
_,
|
4681
4716
|
A,
|
4682
|
-
|
4683
|
-
|
4717
|
+
F,
|
4718
|
+
G,
|
4684
4719
|
j,
|
4685
|
-
|
4720
|
+
lt,
|
4686
4721
|
a,
|
4687
4722
|
h,
|
4688
4723
|
u,
|
@@ -4690,19 +4725,19 @@ function hs(e, t, r) {
|
|
4690
4725
|
m,
|
4691
4726
|
T,
|
4692
4727
|
w,
|
4693
|
-
|
4694
|
-
|
4695
|
-
|
4728
|
+
O,
|
4729
|
+
Le,
|
4730
|
+
Or
|
4696
4731
|
];
|
4697
4732
|
}
|
4698
|
-
class
|
4733
|
+
class ds extends qr {
|
4699
4734
|
constructor(t) {
|
4700
|
-
super(),
|
4735
|
+
super(), Qr(
|
4701
4736
|
this,
|
4702
4737
|
t,
|
4703
|
-
|
4704
|
-
|
4705
|
-
|
4738
|
+
ms,
|
4739
|
+
ls,
|
4740
|
+
$t,
|
4706
4741
|
{
|
4707
4742
|
endpoint: 1,
|
4708
4743
|
datasource: 2,
|
@@ -4726,7 +4761,7 @@ class ls extends zr {
|
|
4726
4761
|
mygamesiconimage: 11,
|
4727
4762
|
mbsource: 12
|
4728
4763
|
},
|
4729
|
-
|
4764
|
+
os,
|
4730
4765
|
[-1, -1]
|
4731
4766
|
);
|
4732
4767
|
}
|
@@ -4734,161 +4769,161 @@ class ls extends zr {
|
|
4734
4769
|
return this.$$.ctx[1];
|
4735
4770
|
}
|
4736
4771
|
set endpoint(t) {
|
4737
|
-
this.$$set({ endpoint: t }),
|
4772
|
+
this.$$set({ endpoint: t }), x();
|
4738
4773
|
}
|
4739
4774
|
get datasource() {
|
4740
4775
|
return this.$$.ctx[2];
|
4741
4776
|
}
|
4742
4777
|
set datasource(t) {
|
4743
|
-
this.$$set({ datasource: t }),
|
4778
|
+
this.$$set({ datasource: t }), x();
|
4744
4779
|
}
|
4745
4780
|
get lang() {
|
4746
4781
|
return this.$$.ctx[3];
|
4747
4782
|
}
|
4748
4783
|
set lang(t) {
|
4749
|
-
this.$$set({ lang: t }),
|
4784
|
+
this.$$set({ lang: t }), x();
|
4750
4785
|
}
|
4751
4786
|
get userid() {
|
4752
4787
|
return this.$$.ctx[17];
|
4753
4788
|
}
|
4754
4789
|
set userid(t) {
|
4755
|
-
this.$$set({ userid: t }),
|
4790
|
+
this.$$set({ userid: t }), x();
|
4756
4791
|
}
|
4757
4792
|
get session() {
|
4758
4793
|
return this.$$.ctx[18];
|
4759
4794
|
}
|
4760
4795
|
set session(t) {
|
4761
|
-
this.$$set({ session: t }),
|
4796
|
+
this.$$set({ session: t }), x();
|
4762
4797
|
}
|
4763
4798
|
get mostplayed() {
|
4764
4799
|
return this.$$.ctx[19];
|
4765
4800
|
}
|
4766
4801
|
set mostplayed(t) {
|
4767
|
-
this.$$set({ mostplayed: t }),
|
4802
|
+
this.$$set({ mostplayed: t }), x();
|
4768
4803
|
}
|
4769
4804
|
get lastplayed() {
|
4770
4805
|
return this.$$.ctx[20];
|
4771
4806
|
}
|
4772
4807
|
set lastplayed(t) {
|
4773
|
-
this.$$set({ lastplayed: t }),
|
4808
|
+
this.$$set({ lastplayed: t }), x();
|
4774
4809
|
}
|
4775
4810
|
get favorites() {
|
4776
4811
|
return this.$$.ctx[21];
|
4777
4812
|
}
|
4778
4813
|
set favorites(t) {
|
4779
|
-
this.$$set({ favorites: t }),
|
4814
|
+
this.$$set({ favorites: t }), x();
|
4780
4815
|
}
|
4781
4816
|
get clientstyling() {
|
4782
4817
|
return this.$$.ctx[4];
|
4783
4818
|
}
|
4784
4819
|
set clientstyling(t) {
|
4785
|
-
this.$$set({ clientstyling: t }),
|
4820
|
+
this.$$set({ clientstyling: t }), x();
|
4786
4821
|
}
|
4787
4822
|
get clientstylingurl() {
|
4788
4823
|
return this.$$.ctx[5];
|
4789
4824
|
}
|
4790
4825
|
set clientstylingurl(t) {
|
4791
|
-
this.$$set({ clientstylingurl: t }),
|
4826
|
+
this.$$set({ clientstylingurl: t }), x();
|
4792
4827
|
}
|
4793
4828
|
get activecategory() {
|
4794
4829
|
return this.$$.ctx[0];
|
4795
4830
|
}
|
4796
4831
|
set activecategory(t) {
|
4797
|
-
this.$$set({ activecategory: t }),
|
4832
|
+
this.$$set({ activecategory: t }), x();
|
4798
4833
|
}
|
4799
4834
|
get actionevent() {
|
4800
4835
|
return this.$$.ctx[6];
|
4801
4836
|
}
|
4802
4837
|
set actionevent(t) {
|
4803
|
-
this.$$set({ actionevent: t }),
|
4838
|
+
this.$$set({ actionevent: t }), x();
|
4804
4839
|
}
|
4805
4840
|
get sessioncheck() {
|
4806
4841
|
return this.$$.ctx[22];
|
4807
4842
|
}
|
4808
4843
|
set sessioncheck(t) {
|
4809
|
-
this.$$set({ sessioncheck: t }),
|
4844
|
+
this.$$set({ sessioncheck: t }), x();
|
4810
4845
|
}
|
4811
4846
|
get location() {
|
4812
4847
|
return this.$$.ctx[7];
|
4813
4848
|
}
|
4814
4849
|
set location(t) {
|
4815
|
-
this.$$set({ location: t }),
|
4850
|
+
this.$$set({ location: t }), x();
|
4816
4851
|
}
|
4817
4852
|
get showsubgroups() {
|
4818
4853
|
return this.$$.ctx[8];
|
4819
4854
|
}
|
4820
4855
|
set showsubgroups(t) {
|
4821
|
-
this.$$set({ showsubgroups: t }),
|
4856
|
+
this.$$set({ showsubgroups: t }), x();
|
4822
4857
|
}
|
4823
4858
|
get filteredcategories() {
|
4824
4859
|
return this.$$.ctx[23];
|
4825
4860
|
}
|
4826
4861
|
set filteredcategories(t) {
|
4827
|
-
this.$$set({ filteredcategories: t }),
|
4862
|
+
this.$$set({ filteredcategories: t }), x();
|
4828
4863
|
}
|
4829
4864
|
get translationurl() {
|
4830
4865
|
return this.$$.ctx[24];
|
4831
4866
|
}
|
4832
4867
|
set translationurl(t) {
|
4833
|
-
this.$$set({ translationurl: t }),
|
4868
|
+
this.$$set({ translationurl: t }), x();
|
4834
4869
|
}
|
4835
4870
|
get categoriesicon() {
|
4836
4871
|
return this.$$.ctx[9];
|
4837
4872
|
}
|
4838
4873
|
set categoriesicon(t) {
|
4839
|
-
this.$$set({ categoriesicon: t }),
|
4874
|
+
this.$$set({ categoriesicon: t }), x();
|
4840
4875
|
}
|
4841
4876
|
get lobbyiconimage() {
|
4842
4877
|
return this.$$.ctx[10];
|
4843
4878
|
}
|
4844
4879
|
set lobbyiconimage(t) {
|
4845
|
-
this.$$set({ lobbyiconimage: t }),
|
4880
|
+
this.$$set({ lobbyiconimage: t }), x();
|
4846
4881
|
}
|
4847
4882
|
get mygamesiconimage() {
|
4848
4883
|
return this.$$.ctx[11];
|
4849
4884
|
}
|
4850
4885
|
set mygamesiconimage(t) {
|
4851
|
-
this.$$set({ mygamesiconimage: t }),
|
4886
|
+
this.$$set({ mygamesiconimage: t }), x();
|
4852
4887
|
}
|
4853
4888
|
get mbsource() {
|
4854
4889
|
return this.$$.ctx[12];
|
4855
4890
|
}
|
4856
4891
|
set mbsource(t) {
|
4857
|
-
this.$$set({ mbsource: t }),
|
4892
|
+
this.$$set({ mbsource: t }), x();
|
4858
4893
|
}
|
4859
4894
|
}
|
4860
|
-
|
4895
|
+
Yr(ds, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4861
4896
|
export {
|
4862
4897
|
de as $,
|
4863
|
-
|
4864
|
-
|
4865
|
-
|
4866
|
-
|
4867
|
-
|
4898
|
+
ns as A,
|
4899
|
+
is as B,
|
4900
|
+
ss as C,
|
4901
|
+
ds as D,
|
4902
|
+
qr as S,
|
4868
4903
|
me as a,
|
4869
|
-
|
4870
|
-
|
4871
|
-
|
4872
|
-
|
4873
|
-
|
4874
|
-
|
4875
|
-
|
4876
|
-
|
4877
|
-
|
4878
|
-
|
4879
|
-
|
4880
|
-
|
4904
|
+
vr as b,
|
4905
|
+
Yr as c,
|
4906
|
+
Mr as d,
|
4907
|
+
re as e,
|
4908
|
+
x as f,
|
4909
|
+
ce as g,
|
4910
|
+
le as h,
|
4911
|
+
Qr as i,
|
4912
|
+
jt as j,
|
4913
|
+
k,
|
4914
|
+
vs as l,
|
4915
|
+
ys as m,
|
4881
4916
|
I as n,
|
4882
|
-
|
4883
|
-
|
4884
|
-
|
4885
|
-
|
4886
|
-
|
4887
|
-
|
4888
|
-
|
4889
|
-
|
4890
|
-
|
4891
|
-
|
4892
|
-
|
4893
|
-
|
4917
|
+
Fr as o,
|
4918
|
+
Es as p,
|
4919
|
+
gs as q,
|
4920
|
+
te as r,
|
4921
|
+
$t as s,
|
4922
|
+
je as t,
|
4923
|
+
Ss as u,
|
4924
|
+
bs as v,
|
4925
|
+
_s as w,
|
4926
|
+
kt as x,
|
4927
|
+
ps as y,
|
4928
|
+
xs as z
|
4894
4929
|
};
|