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