@everymatrix/casino-categories-slider 1.76.0 → 1.76.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCategoriesSlider-B1Ud52jB.cjs +18 -0
- package/components/{CasinoCategoriesSlider-Cd75GNnI.js → CasinoCategoriesSlider-BtW4Mg4L.js} +860 -895
- package/components/{CasinoCategoriesSlider-OAnql1EX.js → CasinoCategoriesSlider-DoAuYp7j.js} +819 -854
- package/components/{CasinoSlider-By7gNNvl.js → CasinoSlider-BPv4XIfS.js} +32 -32
- package/components/{CasinoSlider-rNCRbsPL.cjs → CasinoSlider-DxYuz2sK.cjs} +1 -1
- package/components/{CasinoSlider-DmcFGzUe.js → CasinoSlider-Dy1Nt1Nx.js} +33 -33
- 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-OAnql1EX.js → CasinoCategoriesSlider-DoAuYp7j.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var Rr = Object.defineProperty, Gr = Object.defineProperties;
|
2
|
+
var Ur = Object.getOwnPropertyDescriptors;
|
3
|
+
var mt = Object.getOwnPropertySymbols;
|
4
|
+
var Dr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ie = (e, t, r) => t in e ? Rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Dr.call(t, r) && Ie(e, r, t[r]);
|
8
|
+
if (mt)
|
9
|
+
for (var r of mt(t))
|
10
|
+
Fr.call(t, r) && Ie(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var M = (e, t, r) => (
|
14
|
-
var
|
12
|
+
}, bt = (e, t) => Gr(e, Ur(t));
|
13
|
+
var M = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var pt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var s = (h) => {
|
16
16
|
try {
|
17
17
|
a(r.next(h));
|
@@ -29,29 +29,29 @@ var _t = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function I() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function $t(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function gt() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
|
-
function
|
39
|
-
e.forEach(
|
38
|
+
function ne(e) {
|
39
|
+
e.forEach($t);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function it(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function jt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
47
|
let ge;
|
48
|
-
function
|
48
|
+
function Ss(e, t) {
|
49
49
|
return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function $r(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function kt(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
@@ -60,20 +60,20 @@ function zt(e, ...t) {
|
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
64
|
-
e.$$.on_destroy.push(
|
63
|
+
function jr(e, t, r) {
|
64
|
+
e.$$.on_destroy.push(kt(t, r));
|
65
65
|
}
|
66
|
-
function
|
66
|
+
function Vt(e, t) {
|
67
67
|
e.appendChild(t);
|
68
68
|
}
|
69
|
-
function
|
70
|
-
const n =
|
69
|
+
function kr(e, t, r) {
|
70
|
+
const n = Vr(e);
|
71
71
|
if (!n.getElementById(t)) {
|
72
72
|
const i = V("style");
|
73
|
-
i.id = t, i.textContent = r,
|
73
|
+
i.id = t, i.textContent = r, Xr(n, i);
|
74
74
|
}
|
75
75
|
}
|
76
|
-
function
|
76
|
+
function Vr(e) {
|
77
77
|
if (!e)
|
78
78
|
return document;
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -83,58 +83,58 @@ function Zr(e) {
|
|
83
83
|
t
|
84
84
|
) : e.ownerDocument;
|
85
85
|
}
|
86
|
-
function
|
87
|
-
return
|
86
|
+
function Xr(e, t) {
|
87
|
+
return Vt(
|
88
88
|
/** @type {Document} */
|
89
89
|
e.head || e,
|
90
90
|
t
|
91
91
|
), t.sheet;
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function fe(e, t, r) {
|
94
94
|
e.insertBefore(t, r || null);
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function ie(e) {
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function ws(e, t) {
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
101
101
|
e[r] && e[r].d(t);
|
102
102
|
}
|
103
103
|
function V(e) {
|
104
104
|
return document.createElement(e);
|
105
105
|
}
|
106
|
-
function
|
106
|
+
function Xt(e) {
|
107
107
|
return document.createTextNode(e);
|
108
108
|
}
|
109
|
-
function
|
110
|
-
return
|
109
|
+
function Ts() {
|
110
|
+
return Xt(" ");
|
111
111
|
}
|
112
|
-
function
|
113
|
-
return
|
112
|
+
function Hs() {
|
113
|
+
return Xt("");
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function As(e, t, r, n) {
|
116
116
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
117
117
|
}
|
118
|
-
function
|
118
|
+
function Bs(e) {
|
119
119
|
return function(t) {
|
120
120
|
return t.preventDefault(), e.call(this, t);
|
121
121
|
};
|
122
122
|
}
|
123
|
-
function
|
123
|
+
function me(e, t, r) {
|
124
124
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
125
125
|
}
|
126
|
-
function
|
126
|
+
function E(e, t, r) {
|
127
127
|
const n = t.toLowerCase();
|
128
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
128
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : me(e, t, r);
|
129
129
|
}
|
130
|
-
function
|
130
|
+
function Wr(e) {
|
131
131
|
return Array.from(e.childNodes);
|
132
132
|
}
|
133
|
-
function
|
133
|
+
function Ps(e, t) {
|
134
134
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
135
135
|
t);
|
136
136
|
}
|
137
|
-
function
|
137
|
+
function zr(e) {
|
138
138
|
const t = {};
|
139
139
|
return e.childNodes.forEach(
|
140
140
|
/** @param {Element} node */
|
@@ -143,84 +143,84 @@ function qr(e) {
|
|
143
143
|
}
|
144
144
|
), t;
|
145
145
|
}
|
146
|
-
let
|
147
|
-
function
|
148
|
-
|
146
|
+
let he;
|
147
|
+
function ue(e) {
|
148
|
+
he = e;
|
149
149
|
}
|
150
|
-
function
|
151
|
-
if (!
|
150
|
+
function Zr() {
|
151
|
+
if (!he)
|
152
152
|
throw new Error("Function called outside component initialization");
|
153
|
-
return
|
153
|
+
return he;
|
154
154
|
}
|
155
|
-
function
|
156
|
-
|
155
|
+
function Qr(e) {
|
156
|
+
Zr().$$.on_mount.push(e);
|
157
157
|
}
|
158
|
-
function
|
158
|
+
function Ns(e, t) {
|
159
159
|
const r = e.$$.callbacks[t.type];
|
160
160
|
r && r.slice().forEach((n) => n.call(this, t));
|
161
161
|
}
|
162
|
-
const Y = [],
|
162
|
+
const Y = [], $e = [];
|
163
163
|
let q = [];
|
164
|
-
const
|
165
|
-
let
|
166
|
-
function
|
167
|
-
|
164
|
+
const yt = [], Wt = /* @__PURE__ */ Promise.resolve();
|
165
|
+
let je = !1;
|
166
|
+
function zt() {
|
167
|
+
je || (je = !0, Wt.then(S));
|
168
168
|
}
|
169
|
-
function
|
170
|
-
return
|
169
|
+
function Yr() {
|
170
|
+
return zt(), Wt;
|
171
171
|
}
|
172
|
-
function
|
172
|
+
function ke(e) {
|
173
173
|
q.push(e);
|
174
174
|
}
|
175
|
-
const
|
175
|
+
const Ce = /* @__PURE__ */ new Set();
|
176
176
|
let Z = 0;
|
177
|
-
function
|
177
|
+
function S() {
|
178
178
|
if (Z !== 0)
|
179
179
|
return;
|
180
|
-
const e =
|
180
|
+
const e = he;
|
181
181
|
do {
|
182
182
|
try {
|
183
183
|
for (; Z < Y.length; ) {
|
184
184
|
const t = Y[Z];
|
185
|
-
Z++,
|
185
|
+
Z++, ue(t), qr(t.$$);
|
186
186
|
}
|
187
187
|
} catch (t) {
|
188
188
|
throw Y.length = 0, Z = 0, t;
|
189
189
|
}
|
190
|
-
for (
|
191
|
-
|
190
|
+
for (ue(null), Y.length = 0, Z = 0; $e.length; )
|
191
|
+
$e.pop()();
|
192
192
|
for (let t = 0; t < q.length; t += 1) {
|
193
193
|
const r = q[t];
|
194
|
-
|
194
|
+
Ce.has(r) || (Ce.add(r), r());
|
195
195
|
}
|
196
196
|
q.length = 0;
|
197
197
|
} while (Y.length);
|
198
|
-
for (;
|
199
|
-
|
200
|
-
|
198
|
+
for (; yt.length; )
|
199
|
+
yt.pop()();
|
200
|
+
je = !1, Ce.clear(), ue(e);
|
201
201
|
}
|
202
|
-
function
|
202
|
+
function qr(e) {
|
203
203
|
if (e.fragment !== null) {
|
204
|
-
e.update(),
|
204
|
+
e.update(), ne(e.before_update);
|
205
205
|
const t = e.dirty;
|
206
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
206
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
|
207
207
|
}
|
208
208
|
}
|
209
|
-
function
|
209
|
+
function Jr(e) {
|
210
210
|
const t = [], r = [];
|
211
211
|
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
212
212
|
}
|
213
|
-
const
|
214
|
-
function
|
215
|
-
e && e.i && (
|
213
|
+
const Kr = /* @__PURE__ */ new Set();
|
214
|
+
function Zt(e, t) {
|
215
|
+
e && e.i && (Kr.delete(e), e.i(t));
|
216
216
|
}
|
217
|
-
function
|
217
|
+
function Os(e) {
|
218
218
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
219
219
|
}
|
220
|
-
function
|
220
|
+
function Ls(e, t) {
|
221
221
|
e.d(1), t.delete(e.key);
|
222
222
|
}
|
223
|
-
function
|
223
|
+
function Is(e, t, r, n, i, s, o, a, h, u, l, m) {
|
224
224
|
let c = e.length, d = s.length, b = c;
|
225
225
|
const y = {};
|
226
226
|
for (; b--; )
|
@@ -231,13 +231,13 @@ function Gs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
231
231
|
let L = o.get(A);
|
232
232
|
L ? w.push(() => L.p(_, t)) : (L = u(A, _), L.c()), C.set(A, T[b] = L), A in y && P.set(A, Math.abs(b - y[A]));
|
233
233
|
}
|
234
|
-
const
|
234
|
+
const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
235
235
|
function R(_) {
|
236
|
-
|
236
|
+
Zt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
237
237
|
}
|
238
238
|
for (; c && d; ) {
|
239
|
-
const _ = T[d - 1], A = e[c - 1], L = _.key,
|
240
|
-
_ === A ? (l = _.first, c--, d--) : C.has(
|
239
|
+
const _ = T[d - 1], A = e[c - 1], L = _.key, $ = A.key;
|
240
|
+
_ === A ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || N.has(L) ? R(_) : O.has($) ? c-- : P.get(L) > P.get($) ? (O.add(L), R(_)) : (N.add($), c--) : (h(A, o), c--);
|
241
241
|
}
|
242
242
|
for (; c--; ) {
|
243
243
|
const _ = e[c];
|
@@ -245,25 +245,25 @@ function Gs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
245
245
|
}
|
246
246
|
for (; d; )
|
247
247
|
R(T[d - 1]);
|
248
|
-
return
|
248
|
+
return ne(w), T;
|
249
249
|
}
|
250
|
-
function
|
250
|
+
function en(e, t, r) {
|
251
251
|
const { fragment: n, after_update: i } = e.$$;
|
252
|
-
n && n.m(t, r),
|
253
|
-
const s = e.$$.on_mount.map(
|
254
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
255
|
-
}), i.forEach(
|
252
|
+
n && n.m(t, r), ke(() => {
|
253
|
+
const s = e.$$.on_mount.map($t).filter(it);
|
254
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
|
255
|
+
}), i.forEach(ke);
|
256
256
|
}
|
257
|
-
function
|
257
|
+
function tn(e, t) {
|
258
258
|
const r = e.$$;
|
259
|
-
r.fragment !== null && (
|
259
|
+
r.fragment !== null && (Jr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
260
260
|
}
|
261
|
-
function
|
262
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
261
|
+
function rn(e, t) {
|
262
|
+
e.$$.dirty[0] === -1 && (Y.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
263
263
|
}
|
264
|
-
function
|
265
|
-
const h =
|
266
|
-
|
264
|
+
function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
265
|
+
const h = he;
|
266
|
+
ue(e);
|
267
267
|
const u = e.$$ = {
|
268
268
|
fragment: null,
|
269
269
|
ctx: [],
|
@@ -271,7 +271,7 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
271
271
|
props: s,
|
272
272
|
update: I,
|
273
273
|
not_equal: i,
|
274
|
-
bound:
|
274
|
+
bound: gt(),
|
275
275
|
// lifecycle
|
276
276
|
on_mount: [],
|
277
277
|
on_destroy: [],
|
@@ -280,7 +280,7 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
280
280
|
after_update: [],
|
281
281
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
282
282
|
// everything else
|
283
|
-
callbacks:
|
283
|
+
callbacks: gt(),
|
284
284
|
dirty: a,
|
285
285
|
skip_bound: !1,
|
286
286
|
root: t.target || h.$$.root
|
@@ -289,19 +289,19 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
289
289
|
let l = !1;
|
290
290
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
291
291
|
const b = d.length ? d[0] : c;
|
292
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
293
|
-
}) : [], u.update(), l = !0,
|
292
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && rn(e, m)), c;
|
293
|
+
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
294
294
|
if (t.hydrate) {
|
295
|
-
const m =
|
296
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
295
|
+
const m = Wr(t.target);
|
296
|
+
u.fragment && u.fragment.l(m), m.forEach(ie);
|
297
297
|
} else
|
298
298
|
u.fragment && u.fragment.c();
|
299
|
-
t.intro &&
|
299
|
+
t.intro && Zt(e.$$.fragment), en(e, t.target, t.anchor), S();
|
300
300
|
}
|
301
|
-
|
301
|
+
ue(h);
|
302
302
|
}
|
303
|
-
let
|
304
|
-
typeof HTMLElement == "function" && (
|
303
|
+
let Qt;
|
304
|
+
typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
305
305
|
constructor(t, r, n) {
|
306
306
|
super();
|
307
307
|
/** The Svelte component constructor */
|
@@ -338,42 +338,42 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
338
338
|
}
|
339
339
|
}
|
340
340
|
connectedCallback() {
|
341
|
-
return
|
341
|
+
return pt(this, null, function* () {
|
342
342
|
if (this.$$cn = !0, !this.$$c) {
|
343
343
|
let t = function(s) {
|
344
344
|
return () => {
|
345
345
|
let o;
|
346
346
|
return {
|
347
347
|
c: function() {
|
348
|
-
o = V("slot"), s !== "default" &&
|
348
|
+
o = V("slot"), s !== "default" && me(o, "name", s);
|
349
349
|
},
|
350
350
|
/**
|
351
351
|
* @param {HTMLElement} target
|
352
352
|
* @param {HTMLElement} [anchor]
|
353
353
|
*/
|
354
354
|
m: function(u, l) {
|
355
|
-
|
355
|
+
fe(u, o, l);
|
356
356
|
},
|
357
357
|
d: function(u) {
|
358
|
-
u &&
|
358
|
+
u && ie(o);
|
359
359
|
}
|
360
360
|
};
|
361
361
|
};
|
362
362
|
};
|
363
363
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
364
364
|
return;
|
365
|
-
const r = {}, n =
|
365
|
+
const r = {}, n = zr(this);
|
366
366
|
for (const s of this.$$s)
|
367
367
|
s in n && (r[s] = [t(s)]);
|
368
368
|
for (const s of this.attributes) {
|
369
369
|
const o = this.$$g_p(s.name);
|
370
|
-
o in this.$$d || (this.$$d[o] =
|
370
|
+
o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
|
371
371
|
}
|
372
372
|
for (const s in this.$$p_d)
|
373
373
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
374
374
|
this.$$c = new this.$$ctor({
|
375
375
|
target: this.shadowRoot || this,
|
376
|
-
props:
|
376
|
+
props: bt(dt({}, this.$$d), {
|
377
377
|
$$slots: r,
|
378
378
|
$$scope: {
|
379
379
|
ctx: []
|
@@ -384,7 +384,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
384
384
|
this.$$r = !0;
|
385
385
|
for (const s in this.$$p_d)
|
386
386
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
387
|
-
const o =
|
387
|
+
const o = Ee(
|
388
388
|
s,
|
389
389
|
this.$$d[s],
|
390
390
|
this.$$p_d,
|
@@ -408,7 +408,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
408
408
|
// and setting attributes through setAttribute etc, this is helpful
|
409
409
|
attributeChangedCallback(t, r, n) {
|
410
410
|
var i;
|
411
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
411
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
412
412
|
}
|
413
413
|
disconnectedCallback() {
|
414
414
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -421,7 +421,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
421
421
|
) || t;
|
422
422
|
}
|
423
423
|
});
|
424
|
-
function
|
424
|
+
function Ee(e, t, r, n) {
|
425
425
|
var s;
|
426
426
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
427
427
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
@@ -451,8 +451,8 @@ function _e(e, t, r, n) {
|
|
451
451
|
return t;
|
452
452
|
}
|
453
453
|
}
|
454
|
-
function
|
455
|
-
let o = class extends
|
454
|
+
function sn(e, t, r, n, i, s) {
|
455
|
+
let o = class extends Qt {
|
456
456
|
constructor() {
|
457
457
|
super(e, r, i), this.$$p_d = t;
|
458
458
|
}
|
@@ -469,7 +469,7 @@ function hn(e, t, r, n, i, s) {
|
|
469
469
|
},
|
470
470
|
set(h) {
|
471
471
|
var u;
|
472
|
-
h =
|
472
|
+
h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
473
473
|
}
|
474
474
|
});
|
475
475
|
}), n.forEach((a) => {
|
@@ -482,7 +482,7 @@ function hn(e, t, r, n, i, s) {
|
|
482
482
|
}), e.element = /** @type {any} */
|
483
483
|
o, o;
|
484
484
|
}
|
485
|
-
class
|
485
|
+
class on {
|
486
486
|
constructor() {
|
487
487
|
/**
|
488
488
|
* ### PRIVATE API
|
@@ -503,7 +503,7 @@ class ln {
|
|
503
503
|
}
|
504
504
|
/** @returns {void} */
|
505
505
|
$destroy() {
|
506
|
-
|
506
|
+
tn(this, 1), this.$destroy = I;
|
507
507
|
}
|
508
508
|
/**
|
509
509
|
* @template {Extract<keyof Events, string>} K
|
@@ -512,7 +512,7 @@ class ln {
|
|
512
512
|
* @returns {() => void}
|
513
513
|
*/
|
514
514
|
$on(t, r) {
|
515
|
-
if (!
|
515
|
+
if (!it(r))
|
516
516
|
return I;
|
517
517
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
518
518
|
return n.push(r), () => {
|
@@ -525,11 +525,11 @@ class ln {
|
|
525
525
|
* @returns {void}
|
526
526
|
*/
|
527
527
|
$set(t) {
|
528
|
-
this.$$set &&
|
528
|
+
this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
529
529
|
}
|
530
530
|
}
|
531
|
-
const
|
532
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
531
|
+
const an = "4";
|
532
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
|
533
533
|
/*! *****************************************************************************
|
534
534
|
Copyright (c) Microsoft Corporation.
|
535
535
|
|
@@ -544,24 +544,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
544
544
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
545
545
|
PERFORMANCE OF THIS SOFTWARE.
|
546
546
|
***************************************************************************** */
|
547
|
-
var
|
548
|
-
return
|
547
|
+
var Ve = function(e, t) {
|
548
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
549
549
|
r.__proto__ = n;
|
550
550
|
} || function(r, n) {
|
551
551
|
for (var i in n)
|
552
552
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
553
|
-
},
|
553
|
+
}, Ve(e, t);
|
554
554
|
};
|
555
|
-
function
|
555
|
+
function D(e, t) {
|
556
556
|
if (typeof t != "function" && t !== null)
|
557
557
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
558
|
-
|
558
|
+
Ve(e, t);
|
559
559
|
function r() {
|
560
560
|
this.constructor = e;
|
561
561
|
}
|
562
562
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
563
563
|
}
|
564
|
-
function
|
564
|
+
var v = function() {
|
565
|
+
return v = Object.assign || function(t) {
|
566
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
567
|
+
r = arguments[n];
|
568
|
+
for (var s in r)
|
569
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
570
|
+
}
|
571
|
+
return t;
|
572
|
+
}, v.apply(this, arguments);
|
573
|
+
};
|
574
|
+
function un(e, t) {
|
575
|
+
var r = {};
|
576
|
+
for (var n in e)
|
577
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
578
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
579
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
580
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
581
|
+
return r;
|
582
|
+
}
|
583
|
+
function Xe(e) {
|
565
584
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
566
585
|
if (r)
|
567
586
|
return r.call(e);
|
@@ -573,7 +592,7 @@ function Ze(e) {
|
|
573
592
|
};
|
574
593
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
575
594
|
}
|
576
|
-
function
|
595
|
+
function We(e, t) {
|
577
596
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
578
597
|
if (!r)
|
579
598
|
return e;
|
@@ -593,22 +612,22 @@ function Qe(e, t) {
|
|
593
612
|
}
|
594
613
|
return s;
|
595
614
|
}
|
596
|
-
function
|
597
|
-
if (arguments.length === 2)
|
615
|
+
function J(e, t, r) {
|
616
|
+
if (r || arguments.length === 2)
|
598
617
|
for (var n = 0, i = t.length, s; n < i; n++)
|
599
618
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
600
619
|
return e.concat(s || t);
|
601
620
|
}
|
602
|
-
function
|
621
|
+
function U(e) {
|
603
622
|
return typeof e == "function";
|
604
623
|
}
|
605
|
-
function
|
624
|
+
function Yt(e) {
|
606
625
|
var t = function(n) {
|
607
626
|
Error.call(n), n.stack = new Error().stack;
|
608
627
|
}, r = e(t);
|
609
628
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
610
629
|
}
|
611
|
-
var
|
630
|
+
var Me = Yt(function(e) {
|
612
631
|
return function(r) {
|
613
632
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
614
633
|
` + r.map(function(n, i) {
|
@@ -617,13 +636,13 @@ var Ge = er(function(e) {
|
|
617
636
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
618
637
|
};
|
619
638
|
});
|
620
|
-
function
|
639
|
+
function ze(e, t) {
|
621
640
|
if (e) {
|
622
641
|
var r = e.indexOf(t);
|
623
642
|
0 <= r && e.splice(r, 1);
|
624
643
|
}
|
625
644
|
}
|
626
|
-
var
|
645
|
+
var He = function() {
|
627
646
|
function e(t) {
|
628
647
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
629
648
|
}
|
@@ -635,7 +654,7 @@ var Ae = function() {
|
|
635
654
|
if (o)
|
636
655
|
if (this._parentage = null, Array.isArray(o))
|
637
656
|
try {
|
638
|
-
for (var a =
|
657
|
+
for (var a = Xe(o), h = a.next(); !h.done; h = a.next()) {
|
639
658
|
var u = h.value;
|
640
659
|
u.remove(this);
|
641
660
|
}
|
@@ -652,22 +671,22 @@ var Ae = function() {
|
|
652
671
|
else
|
653
672
|
o.remove(this);
|
654
673
|
var l = this.initialTeardown;
|
655
|
-
if (
|
674
|
+
if (U(l))
|
656
675
|
try {
|
657
676
|
l();
|
658
677
|
} catch (y) {
|
659
|
-
s = y instanceof
|
678
|
+
s = y instanceof Me ? y.errors : [y];
|
660
679
|
}
|
661
680
|
var m = this._finalizers;
|
662
681
|
if (m) {
|
663
682
|
this._finalizers = null;
|
664
683
|
try {
|
665
|
-
for (var c =
|
684
|
+
for (var c = Xe(m), d = c.next(); !d.done; d = c.next()) {
|
666
685
|
var b = d.value;
|
667
686
|
try {
|
668
|
-
|
687
|
+
vt(b);
|
669
688
|
} catch (y) {
|
670
|
-
s = s != null ? s : [], y instanceof
|
689
|
+
s = s != null ? s : [], y instanceof Me ? s = J(J([], We(s)), We(y.errors)) : s.push(y);
|
671
690
|
}
|
672
691
|
}
|
673
692
|
} catch (y) {
|
@@ -682,13 +701,13 @@ var Ae = function() {
|
|
682
701
|
}
|
683
702
|
}
|
684
703
|
if (s)
|
685
|
-
throw new
|
704
|
+
throw new Me(s);
|
686
705
|
}
|
687
706
|
}, e.prototype.add = function(t) {
|
688
707
|
var r;
|
689
708
|
if (t && t !== this)
|
690
709
|
if (this.closed)
|
691
|
-
|
710
|
+
vt(t);
|
692
711
|
else {
|
693
712
|
if (t instanceof e) {
|
694
713
|
if (t.closed || t._hasParent(this))
|
@@ -705,52 +724,56 @@ var Ae = function() {
|
|
705
724
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
706
725
|
}, e.prototype._removeParent = function(t) {
|
707
726
|
var r = this._parentage;
|
708
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
727
|
+
r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
|
709
728
|
}, e.prototype.remove = function(t) {
|
710
729
|
var r = this._finalizers;
|
711
|
-
r &&
|
730
|
+
r && ze(r, t), t instanceof e && t._removeParent(this);
|
712
731
|
}, e.EMPTY = function() {
|
713
732
|
var t = new e();
|
714
733
|
return t.closed = !0, t;
|
715
734
|
}(), e;
|
716
|
-
}(),
|
717
|
-
function
|
718
|
-
return e instanceof
|
719
|
-
}
|
720
|
-
function
|
721
|
-
|
722
|
-
}
|
723
|
-
var
|
724
|
-
|
725
|
-
|
735
|
+
}(), qt = He.EMPTY;
|
736
|
+
function Jt(e) {
|
737
|
+
return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
738
|
+
}
|
739
|
+
function vt(e) {
|
740
|
+
U(e) ? e() : e.unsubscribe();
|
741
|
+
}
|
742
|
+
var hn = {
|
743
|
+
onUnhandledError: null,
|
744
|
+
onStoppedNotification: null,
|
745
|
+
Promise: void 0,
|
746
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
747
|
+
useDeprecatedNextContext: !1
|
748
|
+
}, ln = {
|
726
749
|
setTimeout: function(e, t) {
|
727
750
|
for (var r = [], n = 2; n < arguments.length; n++)
|
728
751
|
r[n - 2] = arguments[n];
|
729
|
-
return setTimeout.apply(void 0,
|
752
|
+
return setTimeout.apply(void 0, J([e, t], We(r)));
|
730
753
|
},
|
731
754
|
clearTimeout: function(e) {
|
732
755
|
return clearTimeout(e);
|
733
756
|
},
|
734
757
|
delegate: void 0
|
735
758
|
};
|
736
|
-
function
|
737
|
-
|
759
|
+
function cn(e) {
|
760
|
+
ln.setTimeout(function() {
|
738
761
|
throw e;
|
739
762
|
});
|
740
763
|
}
|
741
|
-
function
|
764
|
+
function Et() {
|
742
765
|
}
|
743
|
-
function
|
766
|
+
function _e(e) {
|
744
767
|
e();
|
745
768
|
}
|
746
|
-
var
|
747
|
-
|
769
|
+
var Kt = function(e) {
|
770
|
+
D(t, e);
|
748
771
|
function t(r) {
|
749
772
|
var n = e.call(this) || this;
|
750
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
773
|
+
return n.isStopped = !1, r ? (n.destination = r, Jt(r) && r.add(n)) : n.destination = dn, n;
|
751
774
|
}
|
752
775
|
return t.create = function(r, n, i) {
|
753
|
-
return new
|
776
|
+
return new Ze(r, n, i);
|
754
777
|
}, t.prototype.next = function(r) {
|
755
778
|
this.isStopped || this._next(r);
|
756
779
|
}, t.prototype.error = function(r) {
|
@@ -774,7 +797,7 @@ var nr = function(e) {
|
|
774
797
|
this.unsubscribe();
|
775
798
|
}
|
776
799
|
}, t;
|
777
|
-
}(
|
800
|
+
}(He), fn = function() {
|
778
801
|
function e(t) {
|
779
802
|
this.partialObserver = t;
|
780
803
|
}
|
@@ -805,43 +828,43 @@ var nr = function(e) {
|
|
805
828
|
ye(r);
|
806
829
|
}
|
807
830
|
}, e;
|
808
|
-
}(),
|
809
|
-
|
831
|
+
}(), Ze = function(e) {
|
832
|
+
D(t, e);
|
810
833
|
function t(r, n, i) {
|
811
834
|
var s = e.call(this) || this, o;
|
812
|
-
return
|
835
|
+
return U(r) || !r ? o = {
|
813
836
|
next: r != null ? r : void 0,
|
814
837
|
error: n != null ? n : void 0,
|
815
838
|
complete: i != null ? i : void 0
|
816
|
-
} : o = r, s.destination = new
|
839
|
+
} : o = r, s.destination = new fn(o), s;
|
817
840
|
}
|
818
841
|
return t;
|
819
|
-
}(
|
842
|
+
}(Kt);
|
820
843
|
function ye(e) {
|
821
|
-
|
844
|
+
cn(e);
|
822
845
|
}
|
823
|
-
function
|
846
|
+
function mn(e) {
|
824
847
|
throw e;
|
825
848
|
}
|
826
|
-
var
|
849
|
+
var dn = {
|
827
850
|
closed: !0,
|
828
|
-
next:
|
829
|
-
error:
|
830
|
-
complete:
|
831
|
-
},
|
851
|
+
next: Et,
|
852
|
+
error: mn,
|
853
|
+
complete: Et
|
854
|
+
}, bn = function() {
|
832
855
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
833
856
|
}();
|
834
|
-
function
|
857
|
+
function pn(e) {
|
835
858
|
return e;
|
836
859
|
}
|
837
|
-
function
|
838
|
-
return e.length === 0 ?
|
860
|
+
function gn(e) {
|
861
|
+
return e.length === 0 ? pn : e.length === 1 ? e[0] : function(r) {
|
839
862
|
return e.reduce(function(n, i) {
|
840
863
|
return i(n);
|
841
864
|
}, r);
|
842
865
|
};
|
843
866
|
}
|
844
|
-
var
|
867
|
+
var _t = function() {
|
845
868
|
function e(t) {
|
846
869
|
t && (this._subscribe = t);
|
847
870
|
}
|
@@ -849,8 +872,8 @@ var Tt = function() {
|
|
849
872
|
var r = new e();
|
850
873
|
return r.source = this, r.operator = t, r;
|
851
874
|
}, e.prototype.subscribe = function(t, r, n) {
|
852
|
-
var i = this, s =
|
853
|
-
return
|
875
|
+
var i = this, s = vn(t) ? t : new Ze(t, r, n);
|
876
|
+
return _e(function() {
|
854
877
|
var o = i, a = o.operator, h = o.source;
|
855
878
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
856
879
|
}), s;
|
@@ -862,8 +885,8 @@ var Tt = function() {
|
|
862
885
|
}
|
863
886
|
}, e.prototype.forEach = function(t, r) {
|
864
887
|
var n = this;
|
865
|
-
return r =
|
866
|
-
var o = new
|
888
|
+
return r = xt(r), new r(function(i, s) {
|
889
|
+
var o = new Ze({
|
867
890
|
next: function(a) {
|
868
891
|
try {
|
869
892
|
t(a);
|
@@ -879,15 +902,15 @@ var Tt = function() {
|
|
879
902
|
}, e.prototype._subscribe = function(t) {
|
880
903
|
var r;
|
881
904
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
882
|
-
}, e.prototype[
|
905
|
+
}, e.prototype[bn] = function() {
|
883
906
|
return this;
|
884
907
|
}, e.prototype.pipe = function() {
|
885
908
|
for (var t = [], r = 0; r < arguments.length; r++)
|
886
909
|
t[r] = arguments[r];
|
887
|
-
return
|
910
|
+
return gn(t)(this);
|
888
911
|
}, e.prototype.toPromise = function(t) {
|
889
912
|
var r = this;
|
890
|
-
return t =
|
913
|
+
return t = xt(t), new t(function(n, i) {
|
891
914
|
var s;
|
892
915
|
r.subscribe(function(o) {
|
893
916
|
return s = o;
|
@@ -901,40 +924,40 @@ var Tt = function() {
|
|
901
924
|
return new e(t);
|
902
925
|
}, e;
|
903
926
|
}();
|
904
|
-
function
|
927
|
+
function xt(e) {
|
905
928
|
var t;
|
906
|
-
return (t = e != null ? e :
|
929
|
+
return (t = e != null ? e : hn.Promise) !== null && t !== void 0 ? t : Promise;
|
907
930
|
}
|
908
|
-
function
|
909
|
-
return e &&
|
931
|
+
function yn(e) {
|
932
|
+
return e && U(e.next) && U(e.error) && U(e.complete);
|
910
933
|
}
|
911
|
-
function
|
912
|
-
return e && e instanceof
|
934
|
+
function vn(e) {
|
935
|
+
return e && e instanceof Kt || yn(e) && Jt(e);
|
913
936
|
}
|
914
|
-
var
|
937
|
+
var En = Yt(function(e) {
|
915
938
|
return function() {
|
916
939
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
917
940
|
};
|
918
|
-
}),
|
919
|
-
|
941
|
+
}), er = function(e) {
|
942
|
+
D(t, e);
|
920
943
|
function t() {
|
921
944
|
var r = e.call(this) || this;
|
922
945
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
923
946
|
}
|
924
947
|
return t.prototype.lift = function(r) {
|
925
|
-
var n = new
|
948
|
+
var n = new St(this, this);
|
926
949
|
return n.operator = r, n;
|
927
950
|
}, t.prototype._throwIfClosed = function() {
|
928
951
|
if (this.closed)
|
929
|
-
throw new
|
952
|
+
throw new En();
|
930
953
|
}, t.prototype.next = function(r) {
|
931
954
|
var n = this;
|
932
|
-
|
955
|
+
_e(function() {
|
933
956
|
var i, s;
|
934
957
|
if (n._throwIfClosed(), !n.isStopped) {
|
935
958
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
936
959
|
try {
|
937
|
-
for (var o =
|
960
|
+
for (var o = Xe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
938
961
|
var h = a.value;
|
939
962
|
h.next(r);
|
940
963
|
}
|
@@ -952,7 +975,7 @@ var Sn = er(function(e) {
|
|
952
975
|
});
|
953
976
|
}, t.prototype.error = function(r) {
|
954
977
|
var n = this;
|
955
|
-
|
978
|
+
_e(function() {
|
956
979
|
if (n._throwIfClosed(), !n.isStopped) {
|
957
980
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
958
981
|
for (var i = n.observers; i.length; )
|
@@ -961,7 +984,7 @@ var Sn = er(function(e) {
|
|
961
984
|
});
|
962
985
|
}, t.prototype.complete = function() {
|
963
986
|
var r = this;
|
964
|
-
|
987
|
+
_e(function() {
|
965
988
|
if (r._throwIfClosed(), !r.isStopped) {
|
966
989
|
r.isStopped = !0;
|
967
990
|
for (var n = r.observers; n.length; )
|
@@ -983,20 +1006,20 @@ var Sn = er(function(e) {
|
|
983
1006
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
984
1007
|
}, t.prototype._innerSubscribe = function(r) {
|
985
1008
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
986
|
-
return s || o ?
|
987
|
-
n.currentObservers = null,
|
1009
|
+
return s || o ? qt : (this.currentObservers = null, a.push(r), new He(function() {
|
1010
|
+
n.currentObservers = null, ze(a, r);
|
988
1011
|
}));
|
989
1012
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
990
1013
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
991
1014
|
i ? r.error(s) : o && r.complete();
|
992
1015
|
}, t.prototype.asObservable = function() {
|
993
|
-
var r = new
|
1016
|
+
var r = new _t();
|
994
1017
|
return r.source = this, r;
|
995
1018
|
}, t.create = function(r, n) {
|
996
|
-
return new
|
1019
|
+
return new St(r, n);
|
997
1020
|
}, t;
|
998
|
-
}(
|
999
|
-
|
1021
|
+
}(_t), St = function(e) {
|
1022
|
+
D(t, e);
|
1000
1023
|
function t(r, n) {
|
1001
1024
|
var i = e.call(this) || this;
|
1002
1025
|
return i.destination = r, i.source = n, i;
|
@@ -1012,17 +1035,17 @@ var Sn = er(function(e) {
|
|
1012
1035
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1013
1036
|
}, t.prototype._subscribe = function(r) {
|
1014
1037
|
var n, i;
|
1015
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
1038
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
|
1016
1039
|
}, t;
|
1017
|
-
}(
|
1040
|
+
}(er), tr = {
|
1018
1041
|
now: function() {
|
1019
|
-
return (
|
1042
|
+
return (tr.delegate || Date).now();
|
1020
1043
|
},
|
1021
1044
|
delegate: void 0
|
1022
|
-
},
|
1023
|
-
|
1045
|
+
}, _n = function(e) {
|
1046
|
+
D(t, e);
|
1024
1047
|
function t(r, n, i) {
|
1025
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1048
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
|
1026
1049
|
var s = e.call(this) || this;
|
1027
1050
|
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;
|
1028
1051
|
}
|
@@ -1042,24 +1065,24 @@ var Sn = er(function(e) {
|
|
1042
1065
|
u && s.splice(0, u + 1);
|
1043
1066
|
}
|
1044
1067
|
}, t;
|
1045
|
-
}(
|
1046
|
-
const
|
1047
|
-
if (
|
1048
|
-
const r = new
|
1049
|
-
|
1068
|
+
}(er);
|
1069
|
+
const wt = [], Tt = {}, xn = (e, t = 0) => {
|
1070
|
+
if (wt.indexOf(e) == -1) {
|
1071
|
+
const r = new _n(t);
|
1072
|
+
Tt[e] = r, wt.push(e);
|
1050
1073
|
}
|
1051
|
-
return
|
1074
|
+
return Tt[e];
|
1052
1075
|
}, Q = [];
|
1053
|
-
function
|
1076
|
+
function Sn(e, t) {
|
1054
1077
|
return {
|
1055
|
-
subscribe:
|
1078
|
+
subscribe: Ae(e, t).subscribe
|
1056
1079
|
};
|
1057
1080
|
}
|
1058
|
-
function
|
1081
|
+
function Ae(e, t = I) {
|
1059
1082
|
let r;
|
1060
1083
|
const n = /* @__PURE__ */ new Set();
|
1061
1084
|
function i(a) {
|
1062
|
-
if (
|
1085
|
+
if (jt(e, a) && (e = a, r)) {
|
1063
1086
|
const h = !Q.length;
|
1064
1087
|
for (const u of n)
|
1065
1088
|
u[1](), Q.push(u, e);
|
@@ -1081,12 +1104,12 @@ function Be(e, t = I) {
|
|
1081
1104
|
}
|
1082
1105
|
return { set: i, update: s, subscribe: o };
|
1083
1106
|
}
|
1084
|
-
function
|
1107
|
+
function se(e, t, r) {
|
1085
1108
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1086
1109
|
if (!i.every(Boolean))
|
1087
1110
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1088
1111
|
const s = t.length < 2;
|
1089
|
-
return
|
1112
|
+
return Sn(r, (o, a) => {
|
1090
1113
|
let h = !1;
|
1091
1114
|
const u = [];
|
1092
1115
|
let l = 0, m = I;
|
@@ -1095,9 +1118,9 @@ function ie(e, t, r) {
|
|
1095
1118
|
return;
|
1096
1119
|
m();
|
1097
1120
|
const b = t(n ? u[0] : u, o, a);
|
1098
|
-
s ? o(b) : m =
|
1121
|
+
s ? o(b) : m = it(b) ? b : I;
|
1099
1122
|
}, d = i.map(
|
1100
|
-
(b, y) =>
|
1123
|
+
(b, y) => kt(
|
1101
1124
|
b,
|
1102
1125
|
(T) => {
|
1103
1126
|
u[y] = T, l &= ~(1 << y), h && c();
|
@@ -1108,157 +1131,118 @@ function ie(e, t, r) {
|
|
1108
1131
|
)
|
1109
1132
|
);
|
1110
1133
|
return h = !0, c(), function() {
|
1111
|
-
|
1134
|
+
ne(d), m(), h = !1;
|
1112
1135
|
};
|
1113
1136
|
});
|
1114
1137
|
}
|
1115
|
-
function
|
1116
|
-
return e
|
1138
|
+
function wn(e) {
|
1139
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1117
1140
|
}
|
1118
|
-
var
|
1119
|
-
return
|
1141
|
+
var Tn = function(t) {
|
1142
|
+
return Hn(t) && !An(t);
|
1120
1143
|
};
|
1121
|
-
function
|
1144
|
+
function Hn(e) {
|
1122
1145
|
return !!e && typeof e == "object";
|
1123
1146
|
}
|
1124
|
-
function
|
1147
|
+
function An(e) {
|
1125
1148
|
var t = Object.prototype.toString.call(e);
|
1126
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1149
|
+
return t === "[object RegExp]" || t === "[object Date]" || Nn(e);
|
1127
1150
|
}
|
1128
|
-
var
|
1129
|
-
function
|
1130
|
-
return e.$$typeof ===
|
1151
|
+
var Bn = typeof Symbol == "function" && Symbol.for, Pn = Bn ? Symbol.for("react.element") : 60103;
|
1152
|
+
function Nn(e) {
|
1153
|
+
return e.$$typeof === Pn;
|
1131
1154
|
}
|
1132
|
-
function
|
1155
|
+
function On(e) {
|
1133
1156
|
return Array.isArray(e) ? [] : {};
|
1134
1157
|
}
|
1135
|
-
function
|
1136
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1158
|
+
function le(e, t) {
|
1159
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(On(e), e, t) : e;
|
1137
1160
|
}
|
1138
|
-
function
|
1161
|
+
function Ln(e, t, r) {
|
1139
1162
|
return e.concat(t).map(function(n) {
|
1140
|
-
return
|
1163
|
+
return le(n, r);
|
1141
1164
|
});
|
1142
1165
|
}
|
1143
|
-
function
|
1166
|
+
function In(e, t) {
|
1144
1167
|
if (!t.customMerge)
|
1145
|
-
return
|
1168
|
+
return K;
|
1146
1169
|
var r = t.customMerge(e);
|
1147
|
-
return typeof r == "function" ? r :
|
1170
|
+
return typeof r == "function" ? r : K;
|
1148
1171
|
}
|
1149
|
-
function
|
1172
|
+
function Cn(e) {
|
1150
1173
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1151
1174
|
return Object.propertyIsEnumerable.call(e, t);
|
1152
1175
|
}) : [];
|
1153
1176
|
}
|
1154
|
-
function
|
1155
|
-
return Object.keys(e).concat(
|
1177
|
+
function Ht(e) {
|
1178
|
+
return Object.keys(e).concat(Cn(e));
|
1156
1179
|
}
|
1157
|
-
function
|
1180
|
+
function rr(e, t) {
|
1158
1181
|
try {
|
1159
1182
|
return t in e;
|
1160
1183
|
} catch (r) {
|
1161
1184
|
return !1;
|
1162
1185
|
}
|
1163
1186
|
}
|
1164
|
-
function
|
1165
|
-
return
|
1187
|
+
function Mn(e, t) {
|
1188
|
+
return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1166
1189
|
}
|
1167
|
-
function
|
1190
|
+
function Rn(e, t, r) {
|
1168
1191
|
var n = {};
|
1169
|
-
return r.isMergeableObject(e) &&
|
1170
|
-
n[i] =
|
1171
|
-
}),
|
1172
|
-
|
1192
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
1193
|
+
n[i] = le(e[i], r);
|
1194
|
+
}), Ht(t).forEach(function(i) {
|
1195
|
+
Mn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
1173
1196
|
}), n;
|
1174
1197
|
}
|
1175
|
-
function
|
1176
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1198
|
+
function K(e, t, r) {
|
1199
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = le;
|
1177
1200
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1178
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
1201
|
+
return s ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : le(t, r);
|
1179
1202
|
}
|
1180
|
-
|
1203
|
+
K.all = function(t, r) {
|
1181
1204
|
if (!Array.isArray(t))
|
1182
1205
|
throw new Error("first argument should be an array");
|
1183
1206
|
return t.reduce(function(n, i) {
|
1184
|
-
return
|
1207
|
+
return K(n, i, r);
|
1185
1208
|
}, {});
|
1186
1209
|
};
|
1187
|
-
var
|
1188
|
-
const
|
1189
|
-
|
1190
|
-
|
1191
|
-
r.__proto__ = n;
|
1192
|
-
} || function(r, n) {
|
1193
|
-
for (var i in n)
|
1194
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
1195
|
-
}, Ke(e, t);
|
1196
|
-
};
|
1197
|
-
function Pe(e, t) {
|
1198
|
-
if (typeof t != "function" && t !== null)
|
1199
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
1200
|
-
Ke(e, t);
|
1201
|
-
function r() {
|
1202
|
-
this.constructor = e;
|
1203
|
-
}
|
1204
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
1205
|
-
}
|
1206
|
-
var G = function() {
|
1207
|
-
return G = Object.assign || function(t) {
|
1208
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1209
|
-
r = arguments[n];
|
1210
|
-
for (var s in r)
|
1211
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1212
|
-
}
|
1213
|
-
return t;
|
1214
|
-
}, G.apply(this, arguments);
|
1215
|
-
};
|
1216
|
-
function kn(e, t) {
|
1217
|
-
var r = {};
|
1218
|
-
for (var n in e)
|
1219
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
1220
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
1221
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
1222
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
1223
|
-
return r;
|
1224
|
-
}
|
1225
|
-
function Ue(e, t, r) {
|
1226
|
-
if (r || arguments.length === 2)
|
1227
|
-
for (var n = 0, i = t.length, s; n < i; n++)
|
1228
|
-
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
1229
|
-
return e.concat(s || Array.prototype.slice.call(t));
|
1230
|
-
}
|
1231
|
-
function De(e, t) {
|
1232
|
-
var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : Zn, i = t && t.strategy ? t.strategy : Wn;
|
1210
|
+
var Gn = K, Un = Gn;
|
1211
|
+
const Dn = /* @__PURE__ */ wn(Un);
|
1212
|
+
function Re(e, t) {
|
1213
|
+
var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : $n;
|
1233
1214
|
return i(e, {
|
1234
1215
|
cache: r,
|
1235
1216
|
serializer: n
|
1236
1217
|
});
|
1237
1218
|
}
|
1238
|
-
function
|
1219
|
+
function Fn(e) {
|
1239
1220
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1240
1221
|
}
|
1241
|
-
function
|
1242
|
-
var i =
|
1222
|
+
function nr(e, t, r, n) {
|
1223
|
+
var i = Fn(n) ? n : r(n), s = t.get(i);
|
1243
1224
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
1244
1225
|
}
|
1245
|
-
function
|
1226
|
+
function ir(e, t, r) {
|
1246
1227
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1247
1228
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
1248
1229
|
}
|
1249
|
-
function
|
1230
|
+
function st(e, t, r, n, i) {
|
1250
1231
|
return r.bind(t, e, n, i);
|
1251
1232
|
}
|
1252
|
-
function
|
1253
|
-
var r = e.length === 1 ?
|
1254
|
-
return
|
1233
|
+
function $n(e, t) {
|
1234
|
+
var r = e.length === 1 ? nr : ir;
|
1235
|
+
return st(e, this, r, t.cache.create(), t.serializer);
|
1255
1236
|
}
|
1256
|
-
function
|
1257
|
-
return
|
1237
|
+
function jn(e, t) {
|
1238
|
+
return st(e, this, ir, t.cache.create(), t.serializer);
|
1239
|
+
}
|
1240
|
+
function kn(e, t) {
|
1241
|
+
return st(e, this, nr, t.cache.create(), t.serializer);
|
1258
1242
|
}
|
1259
|
-
var
|
1243
|
+
var Vn = function() {
|
1260
1244
|
return JSON.stringify(arguments);
|
1261
|
-
},
|
1245
|
+
}, Xn = (
|
1262
1246
|
/** @class */
|
1263
1247
|
function() {
|
1264
1248
|
function e() {
|
@@ -1270,71 +1254,62 @@ var Zn = function() {
|
|
1270
1254
|
this.cache[t] = r;
|
1271
1255
|
}, e;
|
1272
1256
|
}()
|
1273
|
-
),
|
1257
|
+
), Wn = {
|
1274
1258
|
create: function() {
|
1275
|
-
return new
|
1259
|
+
return new Xn();
|
1276
1260
|
}
|
1277
|
-
},
|
1278
|
-
variadic:
|
1279
|
-
|
1280
|
-
|
1281
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1282
|
-
r = arguments[n];
|
1283
|
-
for (var s in r)
|
1284
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1285
|
-
}
|
1286
|
-
return t;
|
1287
|
-
}, we.apply(this, arguments);
|
1288
|
-
};
|
1289
|
-
var p;
|
1261
|
+
}, Ge = {
|
1262
|
+
variadic: jn,
|
1263
|
+
monadic: kn
|
1264
|
+
}, p;
|
1290
1265
|
(function(e) {
|
1291
1266
|
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";
|
1292
1267
|
})(p || (p = {}));
|
1293
|
-
var
|
1268
|
+
var x;
|
1294
1269
|
(function(e) {
|
1295
1270
|
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";
|
1296
|
-
})(
|
1297
|
-
var
|
1271
|
+
})(x || (x = {}));
|
1272
|
+
var ee;
|
1298
1273
|
(function(e) {
|
1299
1274
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1300
|
-
})(
|
1301
|
-
function
|
1302
|
-
return e.type ===
|
1275
|
+
})(ee || (ee = {}));
|
1276
|
+
function At(e) {
|
1277
|
+
return e.type === x.literal;
|
1303
1278
|
}
|
1304
|
-
function
|
1305
|
-
return e.type ===
|
1279
|
+
function zn(e) {
|
1280
|
+
return e.type === x.argument;
|
1306
1281
|
}
|
1307
|
-
function
|
1308
|
-
return e.type ===
|
1282
|
+
function sr(e) {
|
1283
|
+
return e.type === x.number;
|
1309
1284
|
}
|
1310
|
-
function
|
1311
|
-
return e.type ===
|
1285
|
+
function or(e) {
|
1286
|
+
return e.type === x.date;
|
1312
1287
|
}
|
1313
|
-
function
|
1314
|
-
return e.type ===
|
1288
|
+
function ar(e) {
|
1289
|
+
return e.type === x.time;
|
1315
1290
|
}
|
1316
|
-
function
|
1317
|
-
return e.type ===
|
1291
|
+
function ur(e) {
|
1292
|
+
return e.type === x.select;
|
1318
1293
|
}
|
1319
|
-
function
|
1320
|
-
return e.type ===
|
1294
|
+
function hr(e) {
|
1295
|
+
return e.type === x.plural;
|
1321
1296
|
}
|
1322
|
-
function
|
1323
|
-
return e.type ===
|
1297
|
+
function Zn(e) {
|
1298
|
+
return e.type === x.pound;
|
1324
1299
|
}
|
1325
|
-
function
|
1326
|
-
return e.type ===
|
1300
|
+
function lr(e) {
|
1301
|
+
return e.type === x.tag;
|
1327
1302
|
}
|
1328
|
-
function
|
1329
|
-
return !!(e && typeof e == "object" && e.type ===
|
1303
|
+
function cr(e) {
|
1304
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
1330
1305
|
}
|
1331
|
-
function
|
1332
|
-
return !!(e && typeof e == "object" && e.type ===
|
1306
|
+
function Qe(e) {
|
1307
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
1333
1308
|
}
|
1334
|
-
var
|
1335
|
-
function
|
1309
|
+
var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qn = /(?:[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;
|
1310
|
+
function Yn(e) {
|
1336
1311
|
var t = {};
|
1337
|
-
return e.replace(
|
1312
|
+
return e.replace(Qn, function(r) {
|
1338
1313
|
var n = r.length;
|
1339
1314
|
switch (r[0]) {
|
1340
1315
|
case "G":
|
@@ -1423,21 +1398,11 @@ function ei(e) {
|
|
1423
1398
|
return "";
|
1424
1399
|
}), t;
|
1425
1400
|
}
|
1426
|
-
var
|
1427
|
-
|
1428
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1429
|
-
r = arguments[n];
|
1430
|
-
for (var s in r)
|
1431
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1432
|
-
}
|
1433
|
-
return t;
|
1434
|
-
}, S.apply(this, arguments);
|
1435
|
-
};
|
1436
|
-
var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1437
|
-
function ri(e) {
|
1401
|
+
var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1402
|
+
function Jn(e) {
|
1438
1403
|
if (e.length === 0)
|
1439
1404
|
throw new Error("Number skeleton cannot be empty");
|
1440
|
-
for (var t = e.split(
|
1405
|
+
for (var t = e.split(qn).filter(function(c) {
|
1441
1406
|
return c.length > 0;
|
1442
1407
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1443
1408
|
var s = i[n], o = s.split("/");
|
@@ -1452,17 +1417,17 @@ function ri(e) {
|
|
1452
1417
|
}
|
1453
1418
|
return r;
|
1454
1419
|
}
|
1455
|
-
function
|
1420
|
+
function Kn(e) {
|
1456
1421
|
return e.replace(/^(.*?)-/, "");
|
1457
1422
|
}
|
1458
|
-
var
|
1459
|
-
function
|
1423
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
|
1424
|
+
function Pt(e) {
|
1460
1425
|
var t = {};
|
1461
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1426
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
|
1462
1427
|
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)), "";
|
1463
1428
|
}), t;
|
1464
1429
|
}
|
1465
|
-
function
|
1430
|
+
function br(e) {
|
1466
1431
|
switch (e) {
|
1467
1432
|
case "sign-auto":
|
1468
1433
|
return {
|
@@ -1502,7 +1467,7 @@ function vr(e) {
|
|
1502
1467
|
};
|
1503
1468
|
}
|
1504
1469
|
}
|
1505
|
-
function
|
1470
|
+
function ti(e) {
|
1506
1471
|
var t;
|
1507
1472
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1508
1473
|
notation: "engineering"
|
@@ -1510,17 +1475,17 @@ function si(e) {
|
|
1510
1475
|
notation: "scientific"
|
1511
1476
|
}, e = e.slice(1)), t) {
|
1512
1477
|
var r = e.slice(0, 2);
|
1513
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1478
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
|
1514
1479
|
throw new Error("Malformed concise eng/scientific notation");
|
1515
1480
|
t.minimumIntegerDigits = e.length;
|
1516
1481
|
}
|
1517
1482
|
return t;
|
1518
1483
|
}
|
1519
|
-
function
|
1520
|
-
var t = {}, r =
|
1484
|
+
function Nt(e) {
|
1485
|
+
var t = {}, r = br(e);
|
1521
1486
|
return r || t;
|
1522
1487
|
}
|
1523
|
-
function
|
1488
|
+
function ri(e) {
|
1524
1489
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1525
1490
|
var i = n[r];
|
1526
1491
|
switch (i.stem) {
|
@@ -1544,7 +1509,7 @@ function oi(e) {
|
|
1544
1509
|
continue;
|
1545
1510
|
case "measure-unit":
|
1546
1511
|
case "unit":
|
1547
|
-
t.style = "unit", t.unit =
|
1512
|
+
t.style = "unit", t.unit = Kn(i.options[0]);
|
1548
1513
|
continue;
|
1549
1514
|
case "compact-short":
|
1550
1515
|
case "K":
|
@@ -1555,13 +1520,13 @@ function oi(e) {
|
|
1555
1520
|
t.notation = "compact", t.compactDisplay = "long";
|
1556
1521
|
continue;
|
1557
1522
|
case "scientific":
|
1558
|
-
t =
|
1559
|
-
return
|
1523
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1524
|
+
return v(v({}, h), Nt(u));
|
1560
1525
|
}, {}));
|
1561
1526
|
continue;
|
1562
1527
|
case "engineering":
|
1563
|
-
t =
|
1564
|
-
return
|
1528
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1529
|
+
return v(v({}, h), Nt(u));
|
1565
1530
|
}, {}));
|
1566
1531
|
continue;
|
1567
1532
|
case "notation-simple":
|
@@ -1606,7 +1571,7 @@ function oi(e) {
|
|
1606
1571
|
case "integer-width":
|
1607
1572
|
if (i.options.length > 1)
|
1608
1573
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1609
|
-
i.options[0].replace(
|
1574
|
+
i.options[0].replace(ei, function(h, u, l, m, c, d) {
|
1610
1575
|
if (u)
|
1611
1576
|
t.minimumIntegerDigits = l.length;
|
1612
1577
|
else {
|
@@ -1619,28 +1584,28 @@ function oi(e) {
|
|
1619
1584
|
});
|
1620
1585
|
continue;
|
1621
1586
|
}
|
1622
|
-
if (
|
1587
|
+
if (dr.test(i.stem)) {
|
1623
1588
|
t.minimumIntegerDigits = i.stem.length;
|
1624
1589
|
continue;
|
1625
1590
|
}
|
1626
|
-
if (
|
1591
|
+
if (Bt.test(i.stem)) {
|
1627
1592
|
if (i.options.length > 1)
|
1628
1593
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1629
|
-
i.stem.replace(
|
1594
|
+
i.stem.replace(Bt, function(h, u, l, m, c, d) {
|
1630
1595
|
return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1631
1596
|
});
|
1632
1597
|
var s = i.options[0];
|
1633
|
-
s === "w" ? t =
|
1598
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Pt(s)));
|
1634
1599
|
continue;
|
1635
1600
|
}
|
1636
|
-
if (
|
1637
|
-
t =
|
1601
|
+
if (mr.test(i.stem)) {
|
1602
|
+
t = v(v({}, t), Pt(i.stem));
|
1638
1603
|
continue;
|
1639
1604
|
}
|
1640
|
-
var o =
|
1641
|
-
o && (t =
|
1642
|
-
var a =
|
1643
|
-
a && (t =
|
1605
|
+
var o = br(i.stem);
|
1606
|
+
o && (t = v(v({}, t), o));
|
1607
|
+
var a = ti(i.stem);
|
1608
|
+
a && (t = v(v({}, t), a));
|
1644
1609
|
}
|
1645
1610
|
return t;
|
1646
1611
|
}
|
@@ -3059,13 +3024,13 @@ var ve = {
|
|
3059
3024
|
"h"
|
3060
3025
|
]
|
3061
3026
|
};
|
3062
|
-
function
|
3027
|
+
function ni(e, t) {
|
3063
3028
|
for (var r = "", n = 0; n < e.length; n++) {
|
3064
3029
|
var i = e.charAt(n);
|
3065
3030
|
if (i === "j") {
|
3066
3031
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3067
3032
|
s++, n++;
|
3068
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
3033
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ii(t);
|
3069
3034
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
3070
3035
|
r += h;
|
3071
3036
|
for (; o-- > 0; )
|
@@ -3075,7 +3040,7 @@ function ai(e, t) {
|
|
3075
3040
|
}
|
3076
3041
|
return r;
|
3077
3042
|
}
|
3078
|
-
function
|
3043
|
+
function ii(e) {
|
3079
3044
|
var t = e.hourCycle;
|
3080
3045
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3081
3046
|
e.hourCycles && // @ts-ignore
|
@@ -3097,20 +3062,20 @@ function ui(e) {
|
|
3097
3062
|
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
3098
3063
|
return i[0];
|
3099
3064
|
}
|
3100
|
-
var
|
3065
|
+
var Ue, si = new RegExp("^".concat(fr.source, "*")), oi = new RegExp("".concat(fr.source, "*$"));
|
3101
3066
|
function g(e, t) {
|
3102
3067
|
return { start: e, end: t };
|
3103
3068
|
}
|
3104
|
-
var
|
3069
|
+
var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, hi = !!Object.fromEntries, li = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, di = mi ? Number.isSafeInteger : function(e) {
|
3105
3070
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3106
|
-
},
|
3071
|
+
}, Ye = !0;
|
3107
3072
|
try {
|
3108
|
-
var
|
3109
|
-
|
3073
|
+
var bi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3074
|
+
Ye = ((Ue = bi.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
3110
3075
|
} catch (e) {
|
3111
|
-
|
3076
|
+
Ye = !1;
|
3112
3077
|
}
|
3113
|
-
var
|
3078
|
+
var Ot = ai ? (
|
3114
3079
|
// Native
|
3115
3080
|
function(t, r, n) {
|
3116
3081
|
return t.startsWith(r, n);
|
@@ -3120,7 +3085,7 @@ var Mt = ci ? (
|
|
3120
3085
|
function(t, r, n) {
|
3121
3086
|
return t.slice(n, n + r.length) === r;
|
3122
3087
|
}
|
3123
|
-
),
|
3088
|
+
), qe = ui ? String.fromCodePoint : (
|
3124
3089
|
// IE11
|
3125
3090
|
function() {
|
3126
3091
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3132,9 +3097,9 @@ var Mt = ci ? (
|
|
3132
3097
|
}
|
3133
3098
|
return n;
|
3134
3099
|
}
|
3135
|
-
),
|
3100
|
+
), Lt = (
|
3136
3101
|
// native
|
3137
|
-
|
3102
|
+
hi ? Object.fromEntries : (
|
3138
3103
|
// Ponyfill
|
3139
3104
|
function(t) {
|
3140
3105
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3144,7 +3109,7 @@ var Mt = ci ? (
|
|
3144
3109
|
return r;
|
3145
3110
|
}
|
3146
3111
|
)
|
3147
|
-
),
|
3112
|
+
), pr = li ? (
|
3148
3113
|
// Native
|
3149
3114
|
function(t, r) {
|
3150
3115
|
return t.codePointAt(r);
|
@@ -3158,7 +3123,7 @@ var Mt = ci ? (
|
|
3158
3123
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3159
3124
|
}
|
3160
3125
|
}
|
3161
|
-
),
|
3126
|
+
), pi = ci ? (
|
3162
3127
|
// Native
|
3163
3128
|
function(t) {
|
3164
3129
|
return t.trimStart();
|
@@ -3166,9 +3131,9 @@ var Mt = ci ? (
|
|
3166
3131
|
) : (
|
3167
3132
|
// Ponyfill
|
3168
3133
|
function(t) {
|
3169
|
-
return t.replace(
|
3134
|
+
return t.replace(si, "");
|
3170
3135
|
}
|
3171
|
-
),
|
3136
|
+
), gi = fi ? (
|
3172
3137
|
// Native
|
3173
3138
|
function(t) {
|
3174
3139
|
return t.trimEnd();
|
@@ -3176,32 +3141,32 @@ var Mt = ci ? (
|
|
3176
3141
|
) : (
|
3177
3142
|
// Ponyfill
|
3178
3143
|
function(t) {
|
3179
|
-
return t.replace(
|
3144
|
+
return t.replace(oi, "");
|
3180
3145
|
}
|
3181
3146
|
);
|
3182
|
-
function
|
3147
|
+
function gr(e, t) {
|
3183
3148
|
return new RegExp(e, t);
|
3184
3149
|
}
|
3185
|
-
var
|
3186
|
-
if (
|
3187
|
-
var
|
3188
|
-
|
3150
|
+
var Je;
|
3151
|
+
if (Ye) {
|
3152
|
+
var It = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3153
|
+
Je = function(t, r) {
|
3189
3154
|
var n;
|
3190
|
-
|
3191
|
-
var i =
|
3155
|
+
It.lastIndex = r;
|
3156
|
+
var i = It.exec(t);
|
3192
3157
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3193
3158
|
};
|
3194
3159
|
} else
|
3195
|
-
|
3160
|
+
Je = function(t, r) {
|
3196
3161
|
for (var n = []; ; ) {
|
3197
|
-
var i =
|
3198
|
-
if (i === void 0 ||
|
3162
|
+
var i = pr(t, r);
|
3163
|
+
if (i === void 0 || yr(i) || _i(i))
|
3199
3164
|
break;
|
3200
3165
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3201
3166
|
}
|
3202
|
-
return
|
3167
|
+
return qe.apply(void 0, n);
|
3203
3168
|
};
|
3204
|
-
var
|
3169
|
+
var yi = (
|
3205
3170
|
/** @class */
|
3206
3171
|
function() {
|
3207
3172
|
function e(t, r) {
|
@@ -3225,14 +3190,14 @@ var xi = (
|
|
3225
3190
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
3226
3191
|
var a = this.clonePosition();
|
3227
3192
|
this.bump(), i.push({
|
3228
|
-
type:
|
3193
|
+
type: x.pound,
|
3229
3194
|
location: g(a, this.clonePosition())
|
3230
3195
|
});
|
3231
3196
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
3232
3197
|
if (n)
|
3233
3198
|
break;
|
3234
3199
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
3235
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3200
|
+
} else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
3236
3201
|
var o = this.parseTag(t, r);
|
3237
3202
|
if (o.err)
|
3238
3203
|
return o;
|
@@ -3253,7 +3218,7 @@ var xi = (
|
|
3253
3218
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
3254
3219
|
return {
|
3255
3220
|
val: {
|
3256
|
-
type:
|
3221
|
+
type: x.literal,
|
3257
3222
|
value: "<".concat(i, "/>"),
|
3258
3223
|
location: g(n, this.clonePosition())
|
3259
3224
|
},
|
@@ -3265,12 +3230,12 @@ var xi = (
|
|
3265
3230
|
return s;
|
3266
3231
|
var o = s.val, a = this.clonePosition();
|
3267
3232
|
if (this.bumpIf("</")) {
|
3268
|
-
if (this.isEOF() || !
|
3233
|
+
if (this.isEOF() || !Ke(this.char()))
|
3269
3234
|
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
3270
3235
|
var h = this.clonePosition(), u = this.parseTagName();
|
3271
3236
|
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
3272
3237
|
val: {
|
3273
|
-
type:
|
3238
|
+
type: x.tag,
|
3274
3239
|
value: i,
|
3275
3240
|
children: o,
|
3276
3241
|
location: g(n, this.clonePosition())
|
@@ -3283,7 +3248,7 @@ var xi = (
|
|
3283
3248
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
3284
3249
|
}, e.prototype.parseTagName = function() {
|
3285
3250
|
var t = this.offset();
|
3286
|
-
for (this.bump(); !this.isEOF() &&
|
3251
|
+
for (this.bump(); !this.isEOF() && Ei(this.char()); )
|
3287
3252
|
this.bump();
|
3288
3253
|
return this.message.slice(t, this.offset());
|
3289
3254
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3307,12 +3272,12 @@ var xi = (
|
|
3307
3272
|
}
|
3308
3273
|
var h = g(n, this.clonePosition());
|
3309
3274
|
return {
|
3310
|
-
val: { type:
|
3275
|
+
val: { type: x.literal, value: i, location: h },
|
3311
3276
|
err: null
|
3312
3277
|
};
|
3313
3278
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3314
3279
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3315
|
-
!
|
3280
|
+
!vi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3316
3281
|
}, e.prototype.tryParseQuote = function(t) {
|
3317
3282
|
if (this.isEOF() || this.char() !== 39)
|
3318
3283
|
return null;
|
@@ -3346,12 +3311,12 @@ var xi = (
|
|
3346
3311
|
r.push(n);
|
3347
3312
|
this.bump();
|
3348
3313
|
}
|
3349
|
-
return
|
3314
|
+
return qe.apply(void 0, r);
|
3350
3315
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3351
3316
|
if (this.isEOF())
|
3352
3317
|
return null;
|
3353
3318
|
var n = this.char();
|
3354
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3319
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
3355
3320
|
}, e.prototype.parseArgument = function(t, r) {
|
3356
3321
|
var n = this.clonePosition();
|
3357
3322
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -3367,7 +3332,7 @@ var xi = (
|
|
3367
3332
|
case 125:
|
3368
3333
|
return this.bump(), {
|
3369
3334
|
val: {
|
3370
|
-
type:
|
3335
|
+
type: x.argument,
|
3371
3336
|
// value does not include the opening and closing braces.
|
3372
3337
|
value: i,
|
3373
3338
|
location: g(n, this.clonePosition())
|
@@ -3380,7 +3345,7 @@ var xi = (
|
|
3380
3345
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3381
3346
|
}
|
3382
3347
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3383
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3348
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
3384
3349
|
this.bumpTo(i);
|
3385
3350
|
var s = this.clonePosition(), o = g(t, s);
|
3386
3351
|
return { value: n, location: o };
|
@@ -3399,7 +3364,7 @@ var xi = (
|
|
3399
3364
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3400
3365
|
if (m.err)
|
3401
3366
|
return m;
|
3402
|
-
var c =
|
3367
|
+
var c = gi(m.val);
|
3403
3368
|
if (c.length === 0)
|
3404
3369
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
3405
3370
|
var d = g(l, this.clonePosition());
|
@@ -3409,25 +3374,25 @@ var xi = (
|
|
3409
3374
|
if (b.err)
|
3410
3375
|
return b;
|
3411
3376
|
var y = g(i, this.clonePosition());
|
3412
|
-
if (u &&
|
3413
|
-
var T =
|
3377
|
+
if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
|
3378
|
+
var T = pi(u.style.slice(2));
|
3414
3379
|
if (a === "number") {
|
3415
3380
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3416
3381
|
return m.err ? m : {
|
3417
|
-
val: { type:
|
3382
|
+
val: { type: x.number, value: n, location: y, style: m.val },
|
3418
3383
|
err: null
|
3419
3384
|
};
|
3420
3385
|
} else {
|
3421
3386
|
if (T.length === 0)
|
3422
3387
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
3423
3388
|
var C = T;
|
3424
|
-
this.locale && (C =
|
3389
|
+
this.locale && (C = ni(T, this.locale));
|
3425
3390
|
var c = {
|
3426
|
-
type:
|
3391
|
+
type: ee.dateTime,
|
3427
3392
|
pattern: C,
|
3428
3393
|
location: u.styleLocation,
|
3429
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3430
|
-
}, P = a === "date" ?
|
3394
|
+
parsedOptions: this.shouldParseSkeletons ? Yn(C) : {}
|
3395
|
+
}, P = a === "date" ? x.date : x.time;
|
3431
3396
|
return {
|
3432
3397
|
val: { type: P, value: n, location: y, style: c },
|
3433
3398
|
err: null
|
@@ -3436,7 +3401,7 @@ var xi = (
|
|
3436
3401
|
}
|
3437
3402
|
return {
|
3438
3403
|
val: {
|
3439
|
-
type: a === "number" ?
|
3404
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
3440
3405
|
value: n,
|
3441
3406
|
location: y,
|
3442
3407
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
@@ -3449,19 +3414,19 @@ var xi = (
|
|
3449
3414
|
case "select": {
|
3450
3415
|
var w = this.clonePosition();
|
3451
3416
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3452
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w,
|
3417
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
|
3453
3418
|
this.bumpSpace();
|
3454
|
-
var
|
3455
|
-
if (a !== "select" &&
|
3419
|
+
var N = this.parseIdentifierIfPossible(), O = 0;
|
3420
|
+
if (a !== "select" && N.value === "offset") {
|
3456
3421
|
if (!this.bumpIf(":"))
|
3457
3422
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
3458
3423
|
this.bumpSpace();
|
3459
3424
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3460
3425
|
if (m.err)
|
3461
3426
|
return m;
|
3462
|
-
this.bumpSpace(),
|
3427
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
|
3463
3428
|
}
|
3464
|
-
var R = this.tryParsePluralOrSelectOptions(t, a, r,
|
3429
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
|
3465
3430
|
if (R.err)
|
3466
3431
|
return R;
|
3467
3432
|
var b = this.tryParseArgumentClose(i);
|
@@ -3470,18 +3435,18 @@ var xi = (
|
|
3470
3435
|
var _ = g(i, this.clonePosition());
|
3471
3436
|
return a === "select" ? {
|
3472
3437
|
val: {
|
3473
|
-
type:
|
3438
|
+
type: x.select,
|
3474
3439
|
value: n,
|
3475
|
-
options:
|
3440
|
+
options: Lt(R.val),
|
3476
3441
|
location: _
|
3477
3442
|
},
|
3478
3443
|
err: null
|
3479
3444
|
} : {
|
3480
3445
|
val: {
|
3481
|
-
type:
|
3446
|
+
type: x.plural,
|
3482
3447
|
value: n,
|
3483
|
-
options:
|
3484
|
-
offset:
|
3448
|
+
options: Lt(R.val),
|
3449
|
+
offset: O,
|
3485
3450
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3486
3451
|
location: _
|
3487
3452
|
},
|
@@ -3531,16 +3496,16 @@ var xi = (
|
|
3531
3496
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3532
3497
|
var n = [];
|
3533
3498
|
try {
|
3534
|
-
n =
|
3499
|
+
n = Jn(t);
|
3535
3500
|
} catch (i) {
|
3536
3501
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3537
3502
|
}
|
3538
3503
|
return {
|
3539
3504
|
val: {
|
3540
|
-
type:
|
3505
|
+
type: ee.number,
|
3541
3506
|
tokens: n,
|
3542
3507
|
location: r,
|
3543
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3508
|
+
parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
|
3544
3509
|
},
|
3545
3510
|
err: null
|
3546
3511
|
};
|
@@ -3588,7 +3553,7 @@ var xi = (
|
|
3588
3553
|
break;
|
3589
3554
|
}
|
3590
3555
|
var h = g(i, this.clonePosition());
|
3591
|
-
return s ? (o *= n,
|
3556
|
+
return s ? (o *= n, di(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3592
3557
|
}, e.prototype.offset = function() {
|
3593
3558
|
return this.position.offset;
|
3594
3559
|
}, e.prototype.isEOF = function() {
|
@@ -3603,7 +3568,7 @@ var xi = (
|
|
3603
3568
|
var t = this.position.offset;
|
3604
3569
|
if (t >= this.message.length)
|
3605
3570
|
throw Error("out of bound");
|
3606
|
-
var r =
|
3571
|
+
var r = pr(this.message, t);
|
3607
3572
|
if (r === void 0)
|
3608
3573
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3609
3574
|
return r;
|
@@ -3622,7 +3587,7 @@ var xi = (
|
|
3622
3587
|
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);
|
3623
3588
|
}
|
3624
3589
|
}, e.prototype.bumpIf = function(t) {
|
3625
|
-
if (
|
3590
|
+
if (Ot(this.message, t, this.offset())) {
|
3626
3591
|
for (var r = 0; r < t.length; r++)
|
3627
3592
|
this.bump();
|
3628
3593
|
return !0;
|
@@ -3644,7 +3609,7 @@ var xi = (
|
|
3644
3609
|
break;
|
3645
3610
|
}
|
3646
3611
|
}, e.prototype.bumpSpace = function() {
|
3647
|
-
for (; !this.isEOF() &&
|
3612
|
+
for (; !this.isEOF() && yr(this.char()); )
|
3648
3613
|
this.bump();
|
3649
3614
|
}, e.prototype.peek = function() {
|
3650
3615
|
if (this.isEOF())
|
@@ -3654,47 +3619,47 @@ var xi = (
|
|
3654
3619
|
}, e;
|
3655
3620
|
}()
|
3656
3621
|
);
|
3657
|
-
function
|
3622
|
+
function Ke(e) {
|
3658
3623
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3659
3624
|
}
|
3660
|
-
function
|
3661
|
-
return
|
3625
|
+
function vi(e) {
|
3626
|
+
return Ke(e) || e === 47;
|
3662
3627
|
}
|
3663
|
-
function
|
3628
|
+
function Ei(e) {
|
3664
3629
|
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;
|
3665
3630
|
}
|
3666
|
-
function
|
3631
|
+
function yr(e) {
|
3667
3632
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3668
3633
|
}
|
3669
|
-
function
|
3634
|
+
function _i(e) {
|
3670
3635
|
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;
|
3671
3636
|
}
|
3672
|
-
function
|
3637
|
+
function et(e) {
|
3673
3638
|
e.forEach(function(t) {
|
3674
|
-
if (delete t.location,
|
3639
|
+
if (delete t.location, ur(t) || hr(t))
|
3675
3640
|
for (var r in t.options)
|
3676
|
-
delete t.options[r].location,
|
3641
|
+
delete t.options[r].location, et(t.options[r].value);
|
3677
3642
|
else
|
3678
|
-
|
3643
|
+
sr(t) && cr(t.style) || (or(t) || ar(t)) && Qe(t.style) ? delete t.style.location : lr(t) && et(t.children);
|
3679
3644
|
});
|
3680
3645
|
}
|
3681
|
-
function
|
3682
|
-
t === void 0 && (t = {}), t =
|
3683
|
-
var r = new
|
3646
|
+
function xi(e, t) {
|
3647
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3648
|
+
var r = new yi(e, t).parse();
|
3684
3649
|
if (r.err) {
|
3685
3650
|
var n = SyntaxError(p[r.err.kind]);
|
3686
3651
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3687
3652
|
}
|
3688
|
-
return t != null && t.captureLocation ||
|
3653
|
+
return t != null && t.captureLocation || et(r.val), r.val;
|
3689
3654
|
}
|
3690
|
-
var
|
3655
|
+
var te;
|
3691
3656
|
(function(e) {
|
3692
3657
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3693
|
-
})(
|
3694
|
-
var
|
3658
|
+
})(te || (te = {}));
|
3659
|
+
var Be = (
|
3695
3660
|
/** @class */
|
3696
3661
|
function(e) {
|
3697
|
-
|
3662
|
+
D(t, e);
|
3698
3663
|
function t(r, n, i) {
|
3699
3664
|
var s = e.call(this, r) || this;
|
3700
3665
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3703,48 +3668,48 @@ var Oe = (
|
|
3703
3668
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3704
3669
|
}, t;
|
3705
3670
|
}(Error)
|
3706
|
-
),
|
3671
|
+
), Ct = (
|
3707
3672
|
/** @class */
|
3708
3673
|
function(e) {
|
3709
|
-
|
3674
|
+
D(t, e);
|
3710
3675
|
function t(r, n, i, s) {
|
3711
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3676
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
|
3712
3677
|
}
|
3713
3678
|
return t;
|
3714
|
-
}(
|
3715
|
-
),
|
3679
|
+
}(Be)
|
3680
|
+
), Si = (
|
3716
3681
|
/** @class */
|
3717
3682
|
function(e) {
|
3718
|
-
|
3683
|
+
D(t, e);
|
3719
3684
|
function t(r, n, i) {
|
3720
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3685
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
3721
3686
|
}
|
3722
3687
|
return t;
|
3723
|
-
}(
|
3724
|
-
),
|
3688
|
+
}(Be)
|
3689
|
+
), wi = (
|
3725
3690
|
/** @class */
|
3726
3691
|
function(e) {
|
3727
|
-
|
3692
|
+
D(t, e);
|
3728
3693
|
function t(r, n) {
|
3729
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3694
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
3730
3695
|
}
|
3731
3696
|
return t;
|
3732
|
-
}(
|
3697
|
+
}(Be)
|
3733
3698
|
), H;
|
3734
3699
|
(function(e) {
|
3735
3700
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3736
3701
|
})(H || (H = {}));
|
3737
|
-
function
|
3702
|
+
function Ti(e) {
|
3738
3703
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3739
3704
|
var n = t[t.length - 1];
|
3740
3705
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3741
3706
|
}, []);
|
3742
3707
|
}
|
3743
|
-
function
|
3708
|
+
function Hi(e) {
|
3744
3709
|
return typeof e == "function";
|
3745
3710
|
}
|
3746
3711
|
function xe(e, t, r, n, i, s, o) {
|
3747
|
-
if (e.length === 1 &&
|
3712
|
+
if (e.length === 1 && At(e[0]))
|
3748
3713
|
return [
|
3749
3714
|
{
|
3750
3715
|
type: H.literal,
|
@@ -3753,14 +3718,14 @@ function xe(e, t, r, n, i, s, o) {
|
|
3753
3718
|
];
|
3754
3719
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3755
3720
|
var l = u[h];
|
3756
|
-
if (
|
3721
|
+
if (At(l)) {
|
3757
3722
|
a.push({
|
3758
3723
|
type: H.literal,
|
3759
3724
|
value: l.value
|
3760
3725
|
});
|
3761
3726
|
continue;
|
3762
3727
|
}
|
3763
|
-
if (
|
3728
|
+
if (Zn(l)) {
|
3764
3729
|
typeof s == "number" && a.push({
|
3765
3730
|
type: H.literal,
|
3766
3731
|
value: r.getNumberFormat(t).format(s)
|
@@ -3769,89 +3734,89 @@ function xe(e, t, r, n, i, s, o) {
|
|
3769
3734
|
}
|
3770
3735
|
var m = l.value;
|
3771
3736
|
if (!(i && m in i))
|
3772
|
-
throw new
|
3737
|
+
throw new wi(m, o);
|
3773
3738
|
var c = i[m];
|
3774
|
-
if (
|
3739
|
+
if (zn(l)) {
|
3775
3740
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3776
3741
|
type: typeof c == "string" ? H.literal : H.object,
|
3777
3742
|
value: c
|
3778
3743
|
});
|
3779
3744
|
continue;
|
3780
3745
|
}
|
3781
|
-
if (
|
3782
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3746
|
+
if (or(l)) {
|
3747
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
|
3783
3748
|
a.push({
|
3784
3749
|
type: H.literal,
|
3785
3750
|
value: r.getDateTimeFormat(t, d).format(c)
|
3786
3751
|
});
|
3787
3752
|
continue;
|
3788
3753
|
}
|
3789
|
-
if (
|
3790
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3754
|
+
if (ar(l)) {
|
3755
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Qe(l.style) ? l.style.parsedOptions : n.time.medium;
|
3791
3756
|
a.push({
|
3792
3757
|
type: H.literal,
|
3793
3758
|
value: r.getDateTimeFormat(t, d).format(c)
|
3794
3759
|
});
|
3795
3760
|
continue;
|
3796
3761
|
}
|
3797
|
-
if (
|
3798
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3762
|
+
if (sr(l)) {
|
3763
|
+
var d = typeof l.style == "string" ? n.number[l.style] : cr(l.style) ? l.style.parsedOptions : void 0;
|
3799
3764
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3800
3765
|
type: H.literal,
|
3801
3766
|
value: r.getNumberFormat(t, d).format(c)
|
3802
3767
|
});
|
3803
3768
|
continue;
|
3804
3769
|
}
|
3805
|
-
if (
|
3770
|
+
if (lr(l)) {
|
3806
3771
|
var b = l.children, y = l.value, T = i[y];
|
3807
|
-
if (!
|
3808
|
-
throw new
|
3809
|
-
var C = xe(b, t, r, n, i, s), P = T(C.map(function(
|
3810
|
-
return
|
3772
|
+
if (!Hi(T))
|
3773
|
+
throw new Si(y, "function", o);
|
3774
|
+
var C = xe(b, t, r, n, i, s), P = T(C.map(function(O) {
|
3775
|
+
return O.value;
|
3811
3776
|
}));
|
3812
|
-
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(
|
3777
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
|
3813
3778
|
return {
|
3814
|
-
type: typeof
|
3815
|
-
value:
|
3779
|
+
type: typeof O == "string" ? H.literal : H.object,
|
3780
|
+
value: O
|
3816
3781
|
};
|
3817
3782
|
}));
|
3818
3783
|
}
|
3819
|
-
if (
|
3784
|
+
if (ur(l)) {
|
3820
3785
|
var w = l.options[c] || l.options.other;
|
3821
3786
|
if (!w)
|
3822
|
-
throw new
|
3787
|
+
throw new Ct(l.value, c, Object.keys(l.options), o);
|
3823
3788
|
a.push.apply(a, xe(w.value, t, r, n, i));
|
3824
3789
|
continue;
|
3825
3790
|
}
|
3826
|
-
if (
|
3791
|
+
if (hr(l)) {
|
3827
3792
|
var w = l.options["=".concat(c)];
|
3828
3793
|
if (!w) {
|
3829
3794
|
if (!Intl.PluralRules)
|
3830
|
-
throw new
|
3795
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
3831
3796
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3832
|
-
`,
|
3833
|
-
var
|
3834
|
-
w = l.options[
|
3797
|
+
`, te.MISSING_INTL_API, o);
|
3798
|
+
var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3799
|
+
w = l.options[N] || l.options.other;
|
3835
3800
|
}
|
3836
3801
|
if (!w)
|
3837
|
-
throw new
|
3802
|
+
throw new Ct(l.value, c, Object.keys(l.options), o);
|
3838
3803
|
a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
|
3839
3804
|
continue;
|
3840
3805
|
}
|
3841
3806
|
}
|
3842
|
-
return
|
3807
|
+
return Ti(a);
|
3843
3808
|
}
|
3844
|
-
function
|
3845
|
-
return t ?
|
3846
|
-
return r[n] =
|
3809
|
+
function Ai(e, t) {
|
3810
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3811
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
3847
3812
|
}, {})) : e;
|
3848
3813
|
}
|
3849
|
-
function
|
3814
|
+
function Bi(e, t) {
|
3850
3815
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3851
|
-
return r[n] =
|
3852
|
-
},
|
3816
|
+
return r[n] = Ai(e[n], t[n]), r;
|
3817
|
+
}, v({}, e)) : e;
|
3853
3818
|
}
|
3854
|
-
function
|
3819
|
+
function De(e) {
|
3855
3820
|
return {
|
3856
3821
|
create: function() {
|
3857
3822
|
return {
|
@@ -3865,39 +3830,39 @@ function je(e) {
|
|
3865
3830
|
}
|
3866
3831
|
};
|
3867
3832
|
}
|
3868
|
-
function
|
3833
|
+
function Pi(e) {
|
3869
3834
|
return e === void 0 && (e = {
|
3870
3835
|
number: {},
|
3871
3836
|
dateTime: {},
|
3872
3837
|
pluralRules: {}
|
3873
3838
|
}), {
|
3874
|
-
getNumberFormat:
|
3839
|
+
getNumberFormat: Re(function() {
|
3875
3840
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3876
3841
|
r[n] = arguments[n];
|
3877
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3842
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
|
3878
3843
|
}, {
|
3879
|
-
cache:
|
3880
|
-
strategy:
|
3844
|
+
cache: De(e.number),
|
3845
|
+
strategy: Ge.variadic
|
3881
3846
|
}),
|
3882
|
-
getDateTimeFormat:
|
3847
|
+
getDateTimeFormat: Re(function() {
|
3883
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3884
3849
|
r[n] = arguments[n];
|
3885
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3850
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
|
3886
3851
|
}, {
|
3887
|
-
cache:
|
3888
|
-
strategy:
|
3852
|
+
cache: De(e.dateTime),
|
3853
|
+
strategy: Ge.variadic
|
3889
3854
|
}),
|
3890
|
-
getPluralRules:
|
3855
|
+
getPluralRules: Re(function() {
|
3891
3856
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3892
3857
|
r[n] = arguments[n];
|
3893
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3858
|
+
return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
|
3894
3859
|
}, {
|
3895
|
-
cache:
|
3896
|
-
strategy:
|
3860
|
+
cache: De(e.pluralRules),
|
3861
|
+
strategy: Ge.variadic
|
3897
3862
|
})
|
3898
3863
|
};
|
3899
3864
|
}
|
3900
|
-
var
|
3865
|
+
var Ni = (
|
3901
3866
|
/** @class */
|
3902
3867
|
function() {
|
3903
3868
|
function e(t, r, n, i) {
|
@@ -3929,13 +3894,13 @@ var Ci = (
|
|
3929
3894
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3930
3895
|
var o = i || {};
|
3931
3896
|
o.formatters;
|
3932
|
-
var a =
|
3933
|
-
this.ast = e.__parse(t,
|
3897
|
+
var a = un(o, ["formatters"]);
|
3898
|
+
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
3934
3899
|
} else
|
3935
3900
|
this.ast = t;
|
3936
3901
|
if (!Array.isArray(this.ast))
|
3937
3902
|
throw new TypeError("A message must be provided as a String or AST.");
|
3938
|
-
this.formats =
|
3903
|
+
this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
|
3939
3904
|
}
|
3940
3905
|
return Object.defineProperty(e, "defaultLocale", {
|
3941
3906
|
get: function() {
|
@@ -3948,7 +3913,7 @@ var Ci = (
|
|
3948
3913
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3949
3914
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3950
3915
|
}
|
3951
|
-
}, e.__parse =
|
3916
|
+
}, e.__parse = xi, e.formats = {
|
3952
3917
|
number: {
|
3953
3918
|
integer: {
|
3954
3919
|
maximumFractionDigits: 0
|
@@ -4009,7 +3974,7 @@ var Ci = (
|
|
4009
3974
|
}, e;
|
4010
3975
|
}()
|
4011
3976
|
);
|
4012
|
-
function
|
3977
|
+
function Oi(e, t) {
|
4013
3978
|
if (t == null)
|
4014
3979
|
return;
|
4015
3980
|
if (t in e)
|
@@ -4030,92 +3995,92 @@ function Mi(e, t) {
|
|
4030
3995
|
n = void 0;
|
4031
3996
|
return n;
|
4032
3997
|
}
|
4033
|
-
const
|
3998
|
+
const F = {}, Li = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), vr = (e, t) => {
|
4034
3999
|
if (t == null)
|
4035
4000
|
return;
|
4036
|
-
if (t in
|
4037
|
-
return
|
4038
|
-
const r =
|
4001
|
+
if (t in F && e in F[t])
|
4002
|
+
return F[t][e];
|
4003
|
+
const r = Pe(t);
|
4039
4004
|
for (let n = 0; n < r.length; n++) {
|
4040
|
-
const i = r[n], s =
|
4005
|
+
const i = r[n], s = Ci(i, e);
|
4041
4006
|
if (s)
|
4042
|
-
return
|
4007
|
+
return Li(e, t, s);
|
4043
4008
|
}
|
4044
4009
|
};
|
4045
|
-
let
|
4046
|
-
const de =
|
4047
|
-
function
|
4048
|
-
return
|
4010
|
+
let ot;
|
4011
|
+
const de = Ae({});
|
4012
|
+
function Ii(e) {
|
4013
|
+
return ot[e] || null;
|
4049
4014
|
}
|
4050
|
-
function
|
4051
|
-
return e in
|
4015
|
+
function Er(e) {
|
4016
|
+
return e in ot;
|
4052
4017
|
}
|
4053
|
-
function
|
4054
|
-
if (!
|
4018
|
+
function Ci(e, t) {
|
4019
|
+
if (!Er(e))
|
4055
4020
|
return null;
|
4056
|
-
const r =
|
4057
|
-
return
|
4021
|
+
const r = Ii(e);
|
4022
|
+
return Oi(r, t);
|
4058
4023
|
}
|
4059
|
-
function
|
4024
|
+
function Mi(e) {
|
4060
4025
|
if (e == null)
|
4061
4026
|
return;
|
4062
|
-
const t =
|
4027
|
+
const t = Pe(e);
|
4063
4028
|
for (let r = 0; r < t.length; r++) {
|
4064
4029
|
const n = t[r];
|
4065
|
-
if (
|
4030
|
+
if (Er(n))
|
4066
4031
|
return n;
|
4067
4032
|
}
|
4068
4033
|
}
|
4069
|
-
function
|
4070
|
-
delete
|
4034
|
+
function _r(e, ...t) {
|
4035
|
+
delete F[e], de.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
|
4071
4036
|
}
|
4072
|
-
|
4037
|
+
se(
|
4073
4038
|
[de],
|
4074
4039
|
([e]) => Object.keys(e)
|
4075
4040
|
);
|
4076
|
-
de.subscribe((e) =>
|
4041
|
+
de.subscribe((e) => ot = e);
|
4077
4042
|
const Se = {};
|
4078
|
-
function
|
4043
|
+
function Ri(e, t) {
|
4079
4044
|
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
4080
4045
|
}
|
4081
|
-
function
|
4046
|
+
function xr(e) {
|
4082
4047
|
return Se[e];
|
4083
4048
|
}
|
4084
|
-
function
|
4085
|
-
return
|
4086
|
-
const r =
|
4049
|
+
function Gi(e) {
|
4050
|
+
return Pe(e).map((t) => {
|
4051
|
+
const r = xr(t);
|
4087
4052
|
return [t, r ? [...r] : []];
|
4088
4053
|
}).filter(([, t]) => t.length > 0);
|
4089
4054
|
}
|
4090
|
-
function
|
4091
|
-
return e == null ? !1 :
|
4055
|
+
function tt(e) {
|
4056
|
+
return e == null ? !1 : Pe(e).some(
|
4092
4057
|
(t) => {
|
4093
4058
|
var r;
|
4094
|
-
return (r =
|
4059
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
4095
4060
|
}
|
4096
4061
|
);
|
4097
4062
|
}
|
4098
|
-
function
|
4063
|
+
function Ui(e, t) {
|
4099
4064
|
return Promise.all(
|
4100
|
-
t.map((n) => (
|
4101
|
-
).then((n) =>
|
4102
|
-
}
|
4103
|
-
const
|
4104
|
-
function
|
4105
|
-
if (!
|
4106
|
-
return e in
|
4107
|
-
const t =
|
4108
|
-
return
|
4065
|
+
t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
|
4066
|
+
).then((n) => _r(e, ...n));
|
4067
|
+
}
|
4068
|
+
const ae = {};
|
4069
|
+
function Sr(e) {
|
4070
|
+
if (!tt(e))
|
4071
|
+
return e in ae ? ae[e] : Promise.resolve();
|
4072
|
+
const t = Gi(e);
|
4073
|
+
return ae[e] = Promise.all(
|
4109
4074
|
t.map(
|
4110
|
-
([r, n]) =>
|
4075
|
+
([r, n]) => Ui(r, n)
|
4111
4076
|
)
|
4112
4077
|
).then(() => {
|
4113
|
-
if (
|
4114
|
-
return
|
4115
|
-
delete
|
4116
|
-
}),
|
4078
|
+
if (tt(e))
|
4079
|
+
return Sr(e);
|
4080
|
+
delete ae[e];
|
4081
|
+
}), ae[e];
|
4117
4082
|
}
|
4118
|
-
const
|
4083
|
+
const Di = {
|
4119
4084
|
number: {
|
4120
4085
|
scientific: { notation: "scientific" },
|
4121
4086
|
engineering: { notation: "engineering" },
|
@@ -4144,135 +4109,135 @@ const ki = {
|
|
4144
4109
|
timeZoneName: "short"
|
4145
4110
|
}
|
4146
4111
|
}
|
4147
|
-
},
|
4112
|
+
}, Fi = {
|
4148
4113
|
fallbackLocale: null,
|
4149
4114
|
loadingDelay: 200,
|
4150
|
-
formats:
|
4115
|
+
formats: Di,
|
4151
4116
|
warnOnMissingMessages: !0,
|
4152
4117
|
handleMissingMessage: void 0,
|
4153
4118
|
ignoreTag: !0
|
4154
|
-
},
|
4155
|
-
function
|
4156
|
-
return
|
4157
|
-
}
|
4158
|
-
const
|
4159
|
-
var
|
4160
|
-
for (var r in t
|
4161
|
-
|
4162
|
-
if (
|
4163
|
-
for (var r of
|
4164
|
-
|
4119
|
+
}, $i = Fi;
|
4120
|
+
function re() {
|
4121
|
+
return $i;
|
4122
|
+
}
|
4123
|
+
const Fe = Ae(!1);
|
4124
|
+
var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
|
4125
|
+
for (var r in t)
|
4126
|
+
Xi.call(t, r) && Rt(e, r, t[r]);
|
4127
|
+
if (Mt)
|
4128
|
+
for (var r of Mt(t))
|
4129
|
+
Wi.call(t, r) && Rt(e, r, t[r]);
|
4165
4130
|
return e;
|
4166
|
-
},
|
4167
|
-
let
|
4168
|
-
const
|
4169
|
-
function
|
4131
|
+
}, Zi = (e, t) => ki(e, Vi(t));
|
4132
|
+
let rt;
|
4133
|
+
const we = Ae(null);
|
4134
|
+
function Gt(e) {
|
4170
4135
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4171
4136
|
}
|
4172
|
-
function
|
4173
|
-
const r =
|
4174
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4137
|
+
function Pe(e, t = re().fallbackLocale) {
|
4138
|
+
const r = Gt(e);
|
4139
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
|
4175
4140
|
}
|
4176
4141
|
function X() {
|
4177
|
-
return
|
4142
|
+
return rt != null ? rt : void 0;
|
4178
4143
|
}
|
4179
|
-
|
4180
|
-
|
4144
|
+
we.subscribe((e) => {
|
4145
|
+
rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
4181
4146
|
});
|
4182
|
-
const
|
4183
|
-
if (e &&
|
4184
|
-
const { loadingDelay: t } =
|
4147
|
+
const Qi = (e) => {
|
4148
|
+
if (e && Mi(e) && tt(e)) {
|
4149
|
+
const { loadingDelay: t } = re();
|
4185
4150
|
let r;
|
4186
4151
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
4187
|
-
() =>
|
4152
|
+
() => Fe.set(!0),
|
4188
4153
|
t
|
4189
|
-
) :
|
4190
|
-
|
4154
|
+
) : Fe.set(!0), Sr(e).then(() => {
|
4155
|
+
we.set(e);
|
4191
4156
|
}).finally(() => {
|
4192
|
-
clearTimeout(r),
|
4157
|
+
clearTimeout(r), Fe.set(!1);
|
4193
4158
|
});
|
4194
4159
|
}
|
4195
|
-
return
|
4196
|
-
}, be =
|
4197
|
-
set:
|
4198
|
-
}),
|
4160
|
+
return we.set(e);
|
4161
|
+
}, be = Zi(zi({}, we), {
|
4162
|
+
set: Qi
|
4163
|
+
}), Ne = (e) => {
|
4199
4164
|
const t = /* @__PURE__ */ Object.create(null);
|
4200
4165
|
return (n) => {
|
4201
4166
|
const i = JSON.stringify(n);
|
4202
4167
|
return i in t ? t[i] : t[i] = e(n);
|
4203
4168
|
};
|
4204
4169
|
};
|
4205
|
-
var
|
4170
|
+
var Yi = Object.defineProperty, Te = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
4206
4171
|
for (var r in t || (t = {}))
|
4207
|
-
|
4208
|
-
if (
|
4209
|
-
for (var r of
|
4210
|
-
|
4172
|
+
wr.call(t, r) && Ut(e, r, t[r]);
|
4173
|
+
if (Te)
|
4174
|
+
for (var r of Te(t))
|
4175
|
+
Tr.call(t, r) && Ut(e, r, t[r]);
|
4211
4176
|
return e;
|
4212
|
-
},
|
4177
|
+
}, oe = (e, t) => {
|
4213
4178
|
var r = {};
|
4214
4179
|
for (var n in e)
|
4215
|
-
|
4216
|
-
if (e != null &&
|
4217
|
-
for (var n of
|
4218
|
-
t.indexOf(n) < 0 &&
|
4180
|
+
wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4181
|
+
if (e != null && Te)
|
4182
|
+
for (var n of Te(e))
|
4183
|
+
t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
|
4219
4184
|
return r;
|
4220
4185
|
};
|
4221
|
-
const
|
4222
|
-
const { formats: r } =
|
4186
|
+
const ce = (e, t) => {
|
4187
|
+
const { formats: r } = re();
|
4223
4188
|
if (e in r && t in r[e])
|
4224
4189
|
return r[e][t];
|
4225
4190
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4226
|
-
},
|
4191
|
+
}, qi = Ne(
|
4227
4192
|
(e) => {
|
4228
|
-
var t = e, { locale: r, format: n } = t, i =
|
4193
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
4229
4194
|
if (r == null)
|
4230
4195
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4231
|
-
return n && (i =
|
4196
|
+
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
4232
4197
|
}
|
4233
|
-
),
|
4198
|
+
), Ji = Ne(
|
4234
4199
|
(e) => {
|
4235
|
-
var t = e, { locale: r, format: n } = t, i =
|
4200
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
4236
4201
|
if (r == null)
|
4237
4202
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4238
|
-
return n ? i =
|
4203
|
+
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
4239
4204
|
}
|
4240
|
-
),
|
4205
|
+
), Ki = Ne(
|
4241
4206
|
(e) => {
|
4242
|
-
var t = e, { locale: r, format: n } = t, i =
|
4207
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
4243
4208
|
if (r == null)
|
4244
4209
|
throw new Error(
|
4245
4210
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4246
4211
|
);
|
4247
|
-
return n ? i =
|
4212
|
+
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
4248
4213
|
}
|
4249
|
-
),
|
4214
|
+
), es = (e = {}) => {
|
4250
4215
|
var t = e, {
|
4251
4216
|
locale: r = X()
|
4252
|
-
} = t, n =
|
4217
|
+
} = t, n = oe(t, [
|
4253
4218
|
"locale"
|
4254
4219
|
]);
|
4255
|
-
return
|
4256
|
-
},
|
4220
|
+
return qi(at({ locale: r }, n));
|
4221
|
+
}, ts = (e = {}) => {
|
4257
4222
|
var t = e, {
|
4258
4223
|
locale: r = X()
|
4259
|
-
} = t, n =
|
4224
|
+
} = t, n = oe(t, [
|
4260
4225
|
"locale"
|
4261
4226
|
]);
|
4262
|
-
return
|
4263
|
-
},
|
4227
|
+
return Ji(at({ locale: r }, n));
|
4228
|
+
}, rs = (e = {}) => {
|
4264
4229
|
var t = e, {
|
4265
4230
|
locale: r = X()
|
4266
|
-
} = t, n =
|
4231
|
+
} = t, n = oe(t, [
|
4267
4232
|
"locale"
|
4268
4233
|
]);
|
4269
|
-
return
|
4270
|
-
},
|
4234
|
+
return Ki(at({ locale: r }, n));
|
4235
|
+
}, ns = Ne(
|
4271
4236
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4272
|
-
(e, t = X()) => new
|
4273
|
-
ignoreTag:
|
4237
|
+
(e, t = X()) => new Ni(e, t, re().formats, {
|
4238
|
+
ignoreTag: re().ignoreTag
|
4274
4239
|
})
|
4275
|
-
),
|
4240
|
+
), is = (e, t = {}) => {
|
4276
4241
|
var r, n, i, s;
|
4277
4242
|
let o = t;
|
4278
4243
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4285,9 +4250,9 @@ const le = (e, t) => {
|
|
4285
4250
|
throw new Error(
|
4286
4251
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4287
4252
|
);
|
4288
|
-
let l =
|
4253
|
+
let l = vr(e, h);
|
4289
4254
|
if (!l)
|
4290
|
-
l = (s = (i = (n = (r =
|
4255
|
+
l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
4291
4256
|
else if (typeof l != "string")
|
4292
4257
|
return console.warn(
|
4293
4258
|
`[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.`
|
@@ -4296,7 +4261,7 @@ const le = (e, t) => {
|
|
4296
4261
|
return l;
|
4297
4262
|
let m = l;
|
4298
4263
|
try {
|
4299
|
-
m =
|
4264
|
+
m = ns(l, h).format(a);
|
4300
4265
|
} catch (c) {
|
4301
4266
|
c instanceof Error && console.warn(
|
4302
4267
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4304,20 +4269,20 @@ const le = (e, t) => {
|
|
4304
4269
|
);
|
4305
4270
|
}
|
4306
4271
|
return m;
|
4307
|
-
},
|
4308
|
-
|
4309
|
-
|
4310
|
-
|
4311
|
-
|
4312
|
-
window.emWidgets = { topic:
|
4313
|
-
const
|
4314
|
-
function
|
4272
|
+
}, ss = (e, t) => rs(t).format(e), os = (e, t) => ts(t).format(e), as = (e, t) => es(t).format(e), us = (e, t = X()) => vr(e, t), hs = se([be, de], () => is);
|
4273
|
+
se([be], () => ss);
|
4274
|
+
se([be], () => os);
|
4275
|
+
se([be], () => as);
|
4276
|
+
se([be, de], () => us);
|
4277
|
+
window.emWidgets = { topic: xn };
|
4278
|
+
const ls = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4279
|
+
function cs(e, t) {
|
4315
4280
|
if (e) {
|
4316
4281
|
const r = document.createElement("style");
|
4317
4282
|
r.innerHTML = t, e.appendChild(r);
|
4318
4283
|
}
|
4319
4284
|
}
|
4320
|
-
function
|
4285
|
+
function fs(e, t) {
|
4321
4286
|
const r = new URL(t);
|
4322
4287
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4323
4288
|
const i = document.createElement("style");
|
@@ -4326,7 +4291,7 @@ function ps(e, t) {
|
|
4326
4291
|
console.error("There was an error while trying to load client styling from URL", n);
|
4327
4292
|
});
|
4328
4293
|
}
|
4329
|
-
function
|
4294
|
+
function ms(e, t, r) {
|
4330
4295
|
if (window.emMessageBus) {
|
4331
4296
|
const n = document.createElement("style");
|
4332
4297
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4334,10 +4299,10 @@ function gs(e, t, r) {
|
|
4334
4299
|
});
|
4335
4300
|
}
|
4336
4301
|
}
|
4337
|
-
function
|
4338
|
-
|
4302
|
+
function Dt(e, t) {
|
4303
|
+
_r(e, t);
|
4339
4304
|
}
|
4340
|
-
const
|
4305
|
+
const Ft = {
|
4341
4306
|
en: {
|
4342
4307
|
lobbyName: "Lobby",
|
4343
4308
|
myGamesName: "My games"
|
@@ -4423,173 +4388,173 @@ if (typeof window != "undefined") {
|
|
4423
4388
|
}
|
4424
4389
|
};
|
4425
4390
|
};
|
4426
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4391
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-BPv4XIfS.js").then(({ default: t }) => {
|
4427
4392
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4428
4393
|
});
|
4429
4394
|
}
|
4430
|
-
function
|
4431
|
-
|
4395
|
+
function ds(e) {
|
4396
|
+
kr(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))}");
|
4432
4397
|
}
|
4433
|
-
function
|
4398
|
+
function bs(e) {
|
4434
4399
|
let t, r;
|
4435
4400
|
return {
|
4436
4401
|
c() {
|
4437
|
-
t = V("div"), r = V("casino-slider"),
|
4402
|
+
t = V("div"), r = V("casino-slider"), E(
|
4438
4403
|
r,
|
4439
4404
|
"lang",
|
4440
4405
|
/*lang*/
|
4441
4406
|
e[3]
|
4442
|
-
),
|
4407
|
+
), E(
|
4443
4408
|
r,
|
4444
4409
|
"datasource",
|
4445
4410
|
/*datasource*/
|
4446
4411
|
e[2]
|
4447
|
-
),
|
4412
|
+
), E(
|
4448
4413
|
r,
|
4449
4414
|
"endpoint",
|
4450
4415
|
/*endpoint*/
|
4451
4416
|
e[1]
|
4452
|
-
),
|
4417
|
+
), E(r, "identity", nt), E(
|
4453
4418
|
r,
|
4454
4419
|
"favoritesnumber",
|
4455
4420
|
/*numberOfFavoredGames*/
|
4456
4421
|
e[16]
|
4457
|
-
),
|
4422
|
+
), E(
|
4458
4423
|
r,
|
4459
4424
|
"showsubgroups",
|
4460
4425
|
/*showsubgroups*/
|
4461
4426
|
e[8]
|
4462
|
-
),
|
4427
|
+
), E(
|
4463
4428
|
r,
|
4464
4429
|
"clientstyling",
|
4465
4430
|
/*clientstyling*/
|
4466
4431
|
e[4]
|
4467
|
-
),
|
4432
|
+
), E(
|
4468
4433
|
r,
|
4469
4434
|
"clientstylingurl",
|
4470
4435
|
/*clientstylingurl*/
|
4471
4436
|
e[5]
|
4472
|
-
),
|
4437
|
+
), E(
|
4473
4438
|
r,
|
4474
4439
|
"mbsource",
|
4475
4440
|
/*mbsource*/
|
4476
4441
|
e[12]
|
4477
|
-
),
|
4442
|
+
), E(
|
4478
4443
|
r,
|
4479
4444
|
"activeindex",
|
4480
4445
|
/*activecategory*/
|
4481
4446
|
e[0]
|
4482
|
-
),
|
4447
|
+
), E(
|
4483
4448
|
r,
|
4484
4449
|
"actionevent",
|
4485
4450
|
/*actionevent*/
|
4486
4451
|
e[6]
|
4487
|
-
),
|
4452
|
+
), E(
|
4488
4453
|
r,
|
4489
4454
|
"location",
|
4490
4455
|
/*location*/
|
4491
4456
|
e[7]
|
4492
|
-
),
|
4457
|
+
), E(
|
4493
4458
|
r,
|
4494
4459
|
"categoriesicon",
|
4495
4460
|
/*categoriesicon*/
|
4496
4461
|
e[9]
|
4497
|
-
),
|
4462
|
+
), E(
|
4498
4463
|
r,
|
4499
4464
|
"lobbyiconimage",
|
4500
4465
|
/*lobbyiconimage*/
|
4501
4466
|
e[10]
|
4502
|
-
),
|
4467
|
+
), E(
|
4503
4468
|
r,
|
4504
4469
|
"mygamesiconimage",
|
4505
4470
|
/*mygamesiconimage*/
|
4506
4471
|
e[11]
|
4507
|
-
),
|
4472
|
+
), me(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
4508
4473
|
},
|
4509
4474
|
m(n, i) {
|
4510
|
-
|
4475
|
+
fe(n, t, i), Vt(t, r);
|
4511
4476
|
},
|
4512
4477
|
p(n, i) {
|
4513
4478
|
i[0] & /*lang*/
|
4514
|
-
8 &&
|
4479
|
+
8 && E(
|
4515
4480
|
r,
|
4516
4481
|
"lang",
|
4517
4482
|
/*lang*/
|
4518
4483
|
n[3]
|
4519
4484
|
), i[0] & /*datasource*/
|
4520
|
-
4 &&
|
4485
|
+
4 && E(
|
4521
4486
|
r,
|
4522
4487
|
"datasource",
|
4523
4488
|
/*datasource*/
|
4524
4489
|
n[2]
|
4525
4490
|
), i[0] & /*endpoint*/
|
4526
|
-
2 &&
|
4491
|
+
2 && E(
|
4527
4492
|
r,
|
4528
4493
|
"endpoint",
|
4529
4494
|
/*endpoint*/
|
4530
4495
|
n[1]
|
4531
4496
|
), i[0] & /*numberOfFavoredGames*/
|
4532
|
-
65536 &&
|
4497
|
+
65536 && E(
|
4533
4498
|
r,
|
4534
4499
|
"favoritesnumber",
|
4535
4500
|
/*numberOfFavoredGames*/
|
4536
4501
|
n[16]
|
4537
4502
|
), i[0] & /*showsubgroups*/
|
4538
|
-
256 &&
|
4503
|
+
256 && E(
|
4539
4504
|
r,
|
4540
4505
|
"showsubgroups",
|
4541
4506
|
/*showsubgroups*/
|
4542
4507
|
n[8]
|
4543
4508
|
), i[0] & /*clientstyling*/
|
4544
|
-
16 &&
|
4509
|
+
16 && E(
|
4545
4510
|
r,
|
4546
4511
|
"clientstyling",
|
4547
4512
|
/*clientstyling*/
|
4548
4513
|
n[4]
|
4549
4514
|
), i[0] & /*clientstylingurl*/
|
4550
|
-
32 &&
|
4515
|
+
32 && E(
|
4551
4516
|
r,
|
4552
4517
|
"clientstylingurl",
|
4553
4518
|
/*clientstylingurl*/
|
4554
4519
|
n[5]
|
4555
4520
|
), i[0] & /*mbsource*/
|
4556
|
-
4096 &&
|
4521
|
+
4096 && E(
|
4557
4522
|
r,
|
4558
4523
|
"mbsource",
|
4559
4524
|
/*mbsource*/
|
4560
4525
|
n[12]
|
4561
4526
|
), i[0] & /*activecategory*/
|
4562
|
-
1 &&
|
4527
|
+
1 && E(
|
4563
4528
|
r,
|
4564
4529
|
"activeindex",
|
4565
4530
|
/*activecategory*/
|
4566
4531
|
n[0]
|
4567
4532
|
), i[0] & /*actionevent*/
|
4568
|
-
64 &&
|
4533
|
+
64 && E(
|
4569
4534
|
r,
|
4570
4535
|
"actionevent",
|
4571
4536
|
/*actionevent*/
|
4572
4537
|
n[6]
|
4573
4538
|
), i[0] & /*location*/
|
4574
|
-
128 &&
|
4539
|
+
128 && E(
|
4575
4540
|
r,
|
4576
4541
|
"location",
|
4577
4542
|
/*location*/
|
4578
4543
|
n[7]
|
4579
4544
|
), i[0] & /*categoriesicon*/
|
4580
|
-
512 &&
|
4545
|
+
512 && E(
|
4581
4546
|
r,
|
4582
4547
|
"categoriesicon",
|
4583
4548
|
/*categoriesicon*/
|
4584
4549
|
n[9]
|
4585
4550
|
), i[0] & /*lobbyiconimage*/
|
4586
|
-
1024 &&
|
4551
|
+
1024 && E(
|
4587
4552
|
r,
|
4588
4553
|
"lobbyiconimage",
|
4589
4554
|
/*lobbyiconimage*/
|
4590
4555
|
n[10]
|
4591
4556
|
), i[0] & /*mygamesiconimage*/
|
4592
|
-
2048 &&
|
4557
|
+
2048 && E(
|
4593
4558
|
r,
|
4594
4559
|
"mygamesiconimage",
|
4595
4560
|
/*mygamesiconimage*/
|
@@ -4597,48 +4562,48 @@ function vs(e) {
|
|
4597
4562
|
);
|
4598
4563
|
},
|
4599
4564
|
d(n) {
|
4600
|
-
n &&
|
4565
|
+
n && ie(t);
|
4601
4566
|
}
|
4602
4567
|
};
|
4603
4568
|
}
|
4604
|
-
function
|
4569
|
+
function ps(e) {
|
4605
4570
|
let t;
|
4606
4571
|
return {
|
4607
4572
|
c() {
|
4608
|
-
t = V("p"), t.textContent = "500 Error - Internal Server Error.",
|
4573
|
+
t = V("p"), t.textContent = "500 Error - Internal Server Error.", me(t, "class", "SearchLoading svelte-1my2wow");
|
4609
4574
|
},
|
4610
4575
|
m(r, n) {
|
4611
|
-
|
4576
|
+
fe(r, t, n);
|
4612
4577
|
},
|
4613
4578
|
p: I,
|
4614
4579
|
d(r) {
|
4615
|
-
r &&
|
4580
|
+
r && ie(t);
|
4616
4581
|
}
|
4617
4582
|
};
|
4618
4583
|
}
|
4619
|
-
function
|
4584
|
+
function gs(e) {
|
4620
4585
|
let t;
|
4621
4586
|
return {
|
4622
4587
|
c() {
|
4623
|
-
t = V("div"),
|
4588
|
+
t = V("div"), me(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
4624
4589
|
},
|
4625
4590
|
m(r, n) {
|
4626
|
-
|
4591
|
+
fe(r, t, n);
|
4627
4592
|
},
|
4628
4593
|
p: I,
|
4629
4594
|
d(r) {
|
4630
|
-
r &&
|
4595
|
+
r && ie(t);
|
4631
4596
|
}
|
4632
4597
|
};
|
4633
4598
|
}
|
4634
|
-
function
|
4599
|
+
function ys(e) {
|
4635
4600
|
let t;
|
4636
4601
|
function r(s, o) {
|
4637
4602
|
return (
|
4638
4603
|
/*isLoading*/
|
4639
|
-
s[13] ||
|
4604
|
+
s[13] || vs || Es ? gs : (
|
4640
4605
|
/*hasErrors*/
|
4641
|
-
s[15] ?
|
4606
|
+
s[15] ? ps : bs
|
4642
4607
|
)
|
4643
4608
|
);
|
4644
4609
|
}
|
@@ -4648,7 +4613,7 @@ function xs(e) {
|
|
4648
4613
|
t = V("div"), i.c();
|
4649
4614
|
},
|
4650
4615
|
m(s, o) {
|
4651
|
-
|
4616
|
+
fe(s, t, o), i.m(t, null), e[26](t);
|
4652
4617
|
},
|
4653
4618
|
p(s, o) {
|
4654
4619
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
@@ -4656,51 +4621,51 @@ function xs(e) {
|
|
4656
4621
|
i: I,
|
4657
4622
|
o: I,
|
4658
4623
|
d(s) {
|
4659
|
-
s &&
|
4624
|
+
s && ie(t), i.d(), e[26](null);
|
4660
4625
|
}
|
4661
4626
|
};
|
4662
4627
|
}
|
4663
|
-
let
|
4664
|
-
function
|
4628
|
+
let nt = "CasinoSliderData", vs = !1, Es = !1;
|
4629
|
+
function _s(e, t, r) {
|
4665
4630
|
let n;
|
4666
|
-
|
4667
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl:
|
4668
|
-
const
|
4669
|
-
fetch(
|
4631
|
+
jr(e, hs, (f) => r(32, n = f));
|
4632
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, L, $, j = !0, W, z = [], k = !1, Ar = window.navigator.userAgent, G, ut, ht = !1, Oe = !1;
|
4633
|
+
const Br = () => {
|
4634
|
+
fetch(N).then((B) => B.json()).then((B) => {
|
4670
4635
|
Object.keys(B).forEach((pe) => {
|
4671
|
-
|
4636
|
+
Dt(pe, B[pe]);
|
4672
4637
|
});
|
4673
4638
|
}).catch((B) => {
|
4674
4639
|
console.log(B);
|
4675
4640
|
});
|
4676
4641
|
};
|
4677
|
-
Object.keys(
|
4678
|
-
|
4642
|
+
Object.keys(Ft).forEach((f) => {
|
4643
|
+
Dt(f, Ft[f]);
|
4679
4644
|
});
|
4680
|
-
const
|
4681
|
-
|
4645
|
+
const Pr = () => {
|
4646
|
+
ht == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
|
4682
4647
|
// @ts-ignore
|
4683
4648
|
id: "MYGAMES",
|
4684
4649
|
name: L,
|
4685
4650
|
href: "",
|
4686
4651
|
games: []
|
4687
|
-
}),
|
4688
|
-
},
|
4689
|
-
if (L = n("myGamesName"),
|
4652
|
+
}), Yr(), ht = !0, r(25, Oe = !0), lt();
|
4653
|
+
}, Nr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Or = () => {
|
4654
|
+
if (L = n("myGamesName"), $ = n("lobbyName"), !Nr()) {
|
4690
4655
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
4691
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
4656
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", ls(Ar)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
|
4692
4657
|
(B) => {
|
4693
|
-
let pe = w.split(","),
|
4694
|
-
let
|
4695
|
-
if (
|
4696
|
-
for (let
|
4697
|
-
|
4698
|
-
return
|
4658
|
+
let pe = w.split(","), Cr = B.items.filter((ft) => {
|
4659
|
+
let Le = !1;
|
4660
|
+
if (ft.games.total > 0 && (Le = !0, w))
|
4661
|
+
for (let Mr of pe)
|
4662
|
+
ft.flags == Mr && (Le = !1);
|
4663
|
+
return Le;
|
4699
4664
|
});
|
4700
|
-
z = [], z = z.concat(
|
4665
|
+
z = [], z = z.concat(Cr), z.unshift({
|
4701
4666
|
// @ts-ignore
|
4702
4667
|
id: "LOBBY",
|
4703
|
-
name:
|
4668
|
+
name: $,
|
4704
4669
|
href: "",
|
4705
4670
|
games: []
|
4706
4671
|
}), r(13, j = !1);
|
@@ -4712,41 +4677,41 @@ function Ts(e, t, r) {
|
|
4712
4677
|
r(15, k = !0), console.error("There was an error while fetching the categories", B);
|
4713
4678
|
});
|
4714
4679
|
}
|
4715
|
-
},
|
4680
|
+
}, Lr = () => {
|
4716
4681
|
let f = b.split("$");
|
4717
4682
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4718
|
-
},
|
4683
|
+
}, lt = () => {
|
4719
4684
|
window.postMessage(
|
4720
4685
|
{
|
4721
4686
|
type: "SliderData",
|
4722
|
-
identity:
|
4687
|
+
identity: nt,
|
4723
4688
|
data: z
|
4724
4689
|
},
|
4725
4690
|
window.location.href
|
4726
4691
|
);
|
4727
|
-
},
|
4728
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4692
|
+
}, ct = (f) => {
|
4693
|
+
f.data && f.data.type == "SliderLoaded" && nt == f.data.identity && lt();
|
4729
4694
|
};
|
4730
|
-
|
4731
|
-
window.removeEventListener("message",
|
4695
|
+
Qr(() => (window.addEventListener("message", ct, !1), () => {
|
4696
|
+
window.removeEventListener("message", ct);
|
4732
4697
|
}));
|
4733
|
-
function
|
4734
|
-
|
4735
|
-
|
4698
|
+
function Ir(f) {
|
4699
|
+
$e[f ? "unshift" : "push"](() => {
|
4700
|
+
G = f, r(14, G);
|
4736
4701
|
});
|
4737
4702
|
}
|
4738
4703
|
return e.$$set = (f) => {
|
4739
|
-
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, 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,
|
4704
|
+
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, 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, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
|
4740
4705
|
}, e.$$.update = () => {
|
4741
4706
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4742
|
-
14 && i && s && o &&
|
4743
|
-
3940354 && i && h && (u || l || m) && !j &&
|
4744
|
-
33824769 && !j && b && (!h ||
|
4745
|
-
16777216 &&
|
4746
|
-
16400 && c &&
|
4747
|
-
16416 && d &&
|
4748
|
-
20480 &&
|
4749
|
-
}, r(16,
|
4707
|
+
14 && i && s && o && Or(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4708
|
+
3940354 && i && h && (u || l || m) && !j && Pr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4709
|
+
33824769 && !j && b && (!h || Oe) && Lr(), e.$$.dirty[0] & /*translationurl*/
|
4710
|
+
16777216 && N && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4711
|
+
16400 && c && G && cs(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4712
|
+
16416 && d && G && fs(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4713
|
+
20480 && G && ms(G, `${A}.Style`);
|
4714
|
+
}, r(16, ut = 0), [
|
4750
4715
|
b,
|
4751
4716
|
i,
|
4752
4717
|
s,
|
@@ -4756,14 +4721,14 @@ function Ts(e, t, r) {
|
|
4756
4721
|
y,
|
4757
4722
|
C,
|
4758
4723
|
P,
|
4759
|
-
|
4724
|
+
O,
|
4760
4725
|
R,
|
4761
4726
|
_,
|
4762
4727
|
A,
|
4763
4728
|
j,
|
4764
|
-
|
4729
|
+
G,
|
4765
4730
|
k,
|
4766
|
-
|
4731
|
+
ut,
|
4767
4732
|
a,
|
4768
4733
|
h,
|
4769
4734
|
u,
|
@@ -4771,19 +4736,19 @@ function Ts(e, t, r) {
|
|
4771
4736
|
m,
|
4772
4737
|
T,
|
4773
4738
|
w,
|
4774
|
-
|
4775
|
-
|
4776
|
-
|
4739
|
+
N,
|
4740
|
+
Oe,
|
4741
|
+
Ir
|
4777
4742
|
];
|
4778
4743
|
}
|
4779
|
-
class
|
4744
|
+
class Hr extends on {
|
4780
4745
|
constructor(t) {
|
4781
|
-
super(),
|
4746
|
+
super(), nn(
|
4782
4747
|
this,
|
4783
4748
|
t,
|
4784
|
-
|
4785
|
-
|
4786
|
-
|
4749
|
+
_s,
|
4750
|
+
ys,
|
4751
|
+
jt,
|
4787
4752
|
{
|
4788
4753
|
endpoint: 1,
|
4789
4754
|
datasource: 2,
|
@@ -4807,7 +4772,7 @@ class Or extends ln {
|
|
4807
4772
|
mygamesiconimage: 11,
|
4808
4773
|
mbsource: 12
|
4809
4774
|
},
|
4810
|
-
|
4775
|
+
ds,
|
4811
4776
|
[-1, -1]
|
4812
4777
|
);
|
4813
4778
|
}
|
@@ -4815,167 +4780,167 @@ class Or extends ln {
|
|
4815
4780
|
return this.$$.ctx[1];
|
4816
4781
|
}
|
4817
4782
|
set endpoint(t) {
|
4818
|
-
this.$$set({ endpoint: t }),
|
4783
|
+
this.$$set({ endpoint: t }), S();
|
4819
4784
|
}
|
4820
4785
|
get datasource() {
|
4821
4786
|
return this.$$.ctx[2];
|
4822
4787
|
}
|
4823
4788
|
set datasource(t) {
|
4824
|
-
this.$$set({ datasource: t }),
|
4789
|
+
this.$$set({ datasource: t }), S();
|
4825
4790
|
}
|
4826
4791
|
get lang() {
|
4827
4792
|
return this.$$.ctx[3];
|
4828
4793
|
}
|
4829
4794
|
set lang(t) {
|
4830
|
-
this.$$set({ lang: t }),
|
4795
|
+
this.$$set({ lang: t }), S();
|
4831
4796
|
}
|
4832
4797
|
get userid() {
|
4833
4798
|
return this.$$.ctx[17];
|
4834
4799
|
}
|
4835
4800
|
set userid(t) {
|
4836
|
-
this.$$set({ userid: t }),
|
4801
|
+
this.$$set({ userid: t }), S();
|
4837
4802
|
}
|
4838
4803
|
get session() {
|
4839
4804
|
return this.$$.ctx[18];
|
4840
4805
|
}
|
4841
4806
|
set session(t) {
|
4842
|
-
this.$$set({ session: t }),
|
4807
|
+
this.$$set({ session: t }), S();
|
4843
4808
|
}
|
4844
4809
|
get mostplayed() {
|
4845
4810
|
return this.$$.ctx[19];
|
4846
4811
|
}
|
4847
4812
|
set mostplayed(t) {
|
4848
|
-
this.$$set({ mostplayed: t }),
|
4813
|
+
this.$$set({ mostplayed: t }), S();
|
4849
4814
|
}
|
4850
4815
|
get lastplayed() {
|
4851
4816
|
return this.$$.ctx[20];
|
4852
4817
|
}
|
4853
4818
|
set lastplayed(t) {
|
4854
|
-
this.$$set({ lastplayed: t }),
|
4819
|
+
this.$$set({ lastplayed: t }), S();
|
4855
4820
|
}
|
4856
4821
|
get favorites() {
|
4857
4822
|
return this.$$.ctx[21];
|
4858
4823
|
}
|
4859
4824
|
set favorites(t) {
|
4860
|
-
this.$$set({ favorites: t }),
|
4825
|
+
this.$$set({ favorites: t }), S();
|
4861
4826
|
}
|
4862
4827
|
get clientstyling() {
|
4863
4828
|
return this.$$.ctx[4];
|
4864
4829
|
}
|
4865
4830
|
set clientstyling(t) {
|
4866
|
-
this.$$set({ clientstyling: t }),
|
4831
|
+
this.$$set({ clientstyling: t }), S();
|
4867
4832
|
}
|
4868
4833
|
get clientstylingurl() {
|
4869
4834
|
return this.$$.ctx[5];
|
4870
4835
|
}
|
4871
4836
|
set clientstylingurl(t) {
|
4872
|
-
this.$$set({ clientstylingurl: t }),
|
4837
|
+
this.$$set({ clientstylingurl: t }), S();
|
4873
4838
|
}
|
4874
4839
|
get activecategory() {
|
4875
4840
|
return this.$$.ctx[0];
|
4876
4841
|
}
|
4877
4842
|
set activecategory(t) {
|
4878
|
-
this.$$set({ activecategory: t }),
|
4843
|
+
this.$$set({ activecategory: t }), S();
|
4879
4844
|
}
|
4880
4845
|
get actionevent() {
|
4881
4846
|
return this.$$.ctx[6];
|
4882
4847
|
}
|
4883
4848
|
set actionevent(t) {
|
4884
|
-
this.$$set({ actionevent: t }),
|
4849
|
+
this.$$set({ actionevent: t }), S();
|
4885
4850
|
}
|
4886
4851
|
get sessioncheck() {
|
4887
4852
|
return this.$$.ctx[22];
|
4888
4853
|
}
|
4889
4854
|
set sessioncheck(t) {
|
4890
|
-
this.$$set({ sessioncheck: t }),
|
4855
|
+
this.$$set({ sessioncheck: t }), S();
|
4891
4856
|
}
|
4892
4857
|
get location() {
|
4893
4858
|
return this.$$.ctx[7];
|
4894
4859
|
}
|
4895
4860
|
set location(t) {
|
4896
|
-
this.$$set({ location: t }),
|
4861
|
+
this.$$set({ location: t }), S();
|
4897
4862
|
}
|
4898
4863
|
get showsubgroups() {
|
4899
4864
|
return this.$$.ctx[8];
|
4900
4865
|
}
|
4901
4866
|
set showsubgroups(t) {
|
4902
|
-
this.$$set({ showsubgroups: t }),
|
4867
|
+
this.$$set({ showsubgroups: t }), S();
|
4903
4868
|
}
|
4904
4869
|
get filteredcategories() {
|
4905
4870
|
return this.$$.ctx[23];
|
4906
4871
|
}
|
4907
4872
|
set filteredcategories(t) {
|
4908
|
-
this.$$set({ filteredcategories: t }),
|
4873
|
+
this.$$set({ filteredcategories: t }), S();
|
4909
4874
|
}
|
4910
4875
|
get translationurl() {
|
4911
4876
|
return this.$$.ctx[24];
|
4912
4877
|
}
|
4913
4878
|
set translationurl(t) {
|
4914
|
-
this.$$set({ translationurl: t }),
|
4879
|
+
this.$$set({ translationurl: t }), S();
|
4915
4880
|
}
|
4916
4881
|
get categoriesicon() {
|
4917
4882
|
return this.$$.ctx[9];
|
4918
4883
|
}
|
4919
4884
|
set categoriesicon(t) {
|
4920
|
-
this.$$set({ categoriesicon: t }),
|
4885
|
+
this.$$set({ categoriesicon: t }), S();
|
4921
4886
|
}
|
4922
4887
|
get lobbyiconimage() {
|
4923
4888
|
return this.$$.ctx[10];
|
4924
4889
|
}
|
4925
4890
|
set lobbyiconimage(t) {
|
4926
|
-
this.$$set({ lobbyiconimage: t }),
|
4891
|
+
this.$$set({ lobbyiconimage: t }), S();
|
4927
4892
|
}
|
4928
4893
|
get mygamesiconimage() {
|
4929
4894
|
return this.$$.ctx[11];
|
4930
4895
|
}
|
4931
4896
|
set mygamesiconimage(t) {
|
4932
|
-
this.$$set({ mygamesiconimage: t }),
|
4897
|
+
this.$$set({ mygamesiconimage: t }), S();
|
4933
4898
|
}
|
4934
4899
|
get mbsource() {
|
4935
4900
|
return this.$$.ctx[12];
|
4936
4901
|
}
|
4937
4902
|
set mbsource(t) {
|
4938
|
-
this.$$set({ mbsource: t }),
|
4903
|
+
this.$$set({ mbsource: t }), S();
|
4939
4904
|
}
|
4940
4905
|
}
|
4941
|
-
|
4942
|
-
const
|
4906
|
+
sn(Hr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4907
|
+
const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4943
4908
|
__proto__: null,
|
4944
|
-
default:
|
4909
|
+
default: Hr
|
4945
4910
|
}, Symbol.toStringTag, { value: "Module" }));
|
4946
4911
|
export {
|
4947
4912
|
be as $,
|
4948
|
-
|
4949
|
-
|
4950
|
-
|
4951
|
-
|
4952
|
-
|
4953
|
-
|
4954
|
-
|
4913
|
+
ms as A,
|
4914
|
+
Ls as B,
|
4915
|
+
ws as C,
|
4916
|
+
Xt as D,
|
4917
|
+
Ps as E,
|
4918
|
+
Cs as F,
|
4919
|
+
on as S,
|
4955
4920
|
de as a,
|
4956
|
-
|
4957
|
-
|
4958
|
-
|
4959
|
-
|
4960
|
-
|
4961
|
-
|
4962
|
-
|
4963
|
-
|
4964
|
-
|
4965
|
-
|
4966
|
-
|
4967
|
-
|
4921
|
+
_r as b,
|
4922
|
+
sn as c,
|
4923
|
+
kr as d,
|
4924
|
+
V as e,
|
4925
|
+
S as f,
|
4926
|
+
Ts as g,
|
4927
|
+
me as h,
|
4928
|
+
nn as i,
|
4929
|
+
fe as j,
|
4930
|
+
Vt as k,
|
4931
|
+
As as l,
|
4932
|
+
ie as m,
|
4968
4933
|
I as n,
|
4969
|
-
|
4970
|
-
|
4934
|
+
Qr as o,
|
4935
|
+
Bs as p,
|
4971
4936
|
Os as q,
|
4972
|
-
|
4973
|
-
|
4974
|
-
|
4975
|
-
|
4976
|
-
|
4977
|
-
|
4978
|
-
|
4979
|
-
|
4980
|
-
|
4937
|
+
ne as r,
|
4938
|
+
jt as s,
|
4939
|
+
Hs as t,
|
4940
|
+
Is as u,
|
4941
|
+
Ss as v,
|
4942
|
+
Ns as w,
|
4943
|
+
$e as x,
|
4944
|
+
cs as y,
|
4945
|
+
fs as z
|
4981
4946
|
};
|