@everymatrix/casino-navigation-search 1.54.12 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategories-Bk11_ZQI.js → CasinoCategories-Bsgfsn9b.js} +576 -555
- package/components/CasinoCategories-BxzpueAX.cjs +3 -0
- package/components/{CasinoCategories-DA4-2G1E.js → CasinoCategories-DErkMRhG.js} +630 -609
- package/components/CasinoCategoriesProviders-C2TFTBHz.js +478 -0
- package/components/CasinoCategoriesProviders-C_EyV3Ql.cjs +1 -0
- package/components/CasinoCategoriesProviders-Ykodu2NP.js +478 -0
- package/components/{CasinoGameThumbnail-D9ZeYlTQ.js → CasinoGameThumbnail--DsIWLgs.js} +1279 -1284
- package/components/{CasinoGameThumbnail-BPQ5fdzA.js → CasinoGameThumbnail-DIi5Bhcm.js} +1277 -1282
- package/components/CasinoGameThumbnail-R69I8ziV.cjs +49 -0
- package/components/{CasinoNavigationSearch-CONbhcps.js → CasinoNavigationSearch-BXkL0Zkq.js} +143 -125
- package/components/CasinoNavigationSearch-Cu6OrgyE.cjs +1 -0
- package/components/{CasinoNavigationSearch-BVqnI5qj.js → CasinoNavigationSearch-Dfhlvzte.js} +143 -125
- package/components/CasinoProviders-BlAkJngG.js +487 -0
- package/components/CasinoProviders-CHSOsz5I.cjs +1 -0
- package/components/CasinoProviders-ESIDz8WM.js +487 -0
- package/components/{CasinoSearch-CQ--Zb89.js → CasinoSearch-39t_YH0S.js} +381 -374
- package/components/{CasinoSearch-B7ipG2KH.js → CasinoSearch-BtB5FLOo.js} +438 -431
- package/components/CasinoSearch-CB5wHY5O.cjs +1 -0
- package/es2015/casino-navigation-search.cjs +1 -1
- package/es2015/casino-navigation-search.js +1 -1
- package/esnext/casino-navigation-search.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategories-BjWtZctN.cjs +0 -3
- package/components/CasinoCategoriesProviders-Bcv38KlR.js +0 -461
- package/components/CasinoCategoriesProviders-CeW7S-TQ.js +0 -461
- package/components/CasinoCategoriesProviders-D_NhAwmg.cjs +0 -1
- package/components/CasinoGameThumbnail-z7iJJqOL.cjs +0 -49
- package/components/CasinoNavigationSearch-CBEaFaeP.cjs +0 -1
- package/components/CasinoProviders-BtLBzyuB.js +0 -491
- package/components/CasinoProviders-DN_d75BR.js +0 -491
- package/components/CasinoProviders-zmnj7HBd.cjs +0 -1
- package/components/CasinoSearch-BCNZ0iVg.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var tr = Object.defineProperty, rr = Object.defineProperties;
|
|
2
|
+
var nr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Qe = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Ce = (e, t, r) => t in e ?
|
|
4
|
+
var ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ce = (e, t, r) => t in e ? tr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
ir.call(t, r) && Ce(e, r, t[r]);
|
|
8
8
|
if (Qe)
|
|
9
9
|
for (var r of Qe(t))
|
|
10
|
-
|
|
10
|
+
sr.call(t, r) && Ce(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, qe = (e, t) => rr(e, nr(t));
|
|
13
13
|
var O = (e, t, r) => Ce(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var Ye = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (h) => {
|
|
@@ -27,53 +27,53 @@ var Ye = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function I() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function xt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
35
|
function Ke() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function ae(e) {
|
|
39
|
+
e.forEach(xt);
|
|
40
40
|
}
|
|
41
41
|
function Ve(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function vt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let le;
|
|
48
48
|
function de(e, t) {
|
|
49
49
|
return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function or(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
54
|
function Tt(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
58
|
-
return
|
|
58
|
+
return I;
|
|
59
59
|
}
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function ar(e, t, r) {
|
|
64
64
|
e.$$.on_destroy.push(Tt(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function v(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function ur(e, t, r) {
|
|
70
|
+
const n = hr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = B("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, lr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function hr(e) {
|
|
77
77
|
if (!e) return document;
|
|
78
78
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
79
79
|
return t && /** @type {ShadowRoot} */
|
|
@@ -82,17 +82,17 @@ function lr(e) {
|
|
|
82
82
|
t
|
|
83
83
|
) : e.ownerDocument;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return
|
|
85
|
+
function lr(e, t) {
|
|
86
|
+
return v(
|
|
87
87
|
/** @type {Document} */
|
|
88
88
|
e.head || e,
|
|
89
89
|
t
|
|
90
90
|
), t.sheet;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function k(e, t, r) {
|
|
93
93
|
e.insertBefore(t, r || null);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function F(e) {
|
|
96
96
|
e.parentNode && e.parentNode.removeChild(e);
|
|
97
97
|
}
|
|
98
98
|
function et(e, t) {
|
|
@@ -102,7 +102,7 @@ function et(e, t) {
|
|
|
102
102
|
function B(e) {
|
|
103
103
|
return document.createElement(e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function fr(e) {
|
|
106
106
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
107
107
|
}
|
|
108
108
|
function U(e) {
|
|
@@ -111,7 +111,7 @@ function U(e) {
|
|
|
111
111
|
function R() {
|
|
112
112
|
return U(" ");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Si() {
|
|
115
115
|
return U("");
|
|
116
116
|
}
|
|
117
117
|
function Ct(e, t, r, n) {
|
|
@@ -120,24 +120,24 @@ function Ct(e, t, r, n) {
|
|
|
120
120
|
function H(e, t, r) {
|
|
121
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Ai(e, t, r) {
|
|
124
124
|
const n = t.toLowerCase();
|
|
125
125
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function cr(e) {
|
|
128
128
|
return Array.from(e.childNodes);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function D(e, t) {
|
|
131
131
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
132
132
|
t);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Bi(e, t) {
|
|
135
135
|
e.value = t == null ? "" : t;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function wi(e, t, r) {
|
|
138
138
|
e.classList.toggle(t, !!r);
|
|
139
139
|
}
|
|
140
|
-
class
|
|
140
|
+
class Oi {
|
|
141
141
|
constructor(t = !1) {
|
|
142
142
|
/**
|
|
143
143
|
* @private
|
|
@@ -168,7 +168,7 @@ class Si {
|
|
|
168
168
|
* @returns {void}
|
|
169
169
|
*/
|
|
170
170
|
m(t, r, n = null) {
|
|
171
|
-
this.e || (this.is_svg ? this.e =
|
|
171
|
+
this.e || (this.is_svg ? this.e = fr(
|
|
172
172
|
/** @type {keyof SVGElementTagNameMap} */
|
|
173
173
|
r.nodeName
|
|
174
174
|
) : this.e = B(
|
|
@@ -192,7 +192,7 @@ class Si {
|
|
|
192
192
|
* @returns {void} */
|
|
193
193
|
i(t) {
|
|
194
194
|
for (let r = 0; r < this.n.length; r += 1)
|
|
195
|
-
|
|
195
|
+
k(this.t, this.n[r], t);
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
198
|
* @param {string} html
|
|
@@ -204,10 +204,10 @@ class Si {
|
|
|
204
204
|
/**
|
|
205
205
|
* @returns {void} */
|
|
206
206
|
d() {
|
|
207
|
-
this.n.forEach(
|
|
207
|
+
this.n.forEach(F);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function gr(e) {
|
|
211
211
|
const t = {};
|
|
212
212
|
return e.childNodes.forEach(
|
|
213
213
|
/** @param {Element} node */
|
|
@@ -216,66 +216,66 @@ function mr(e) {
|
|
|
216
216
|
}
|
|
217
217
|
), t;
|
|
218
218
|
}
|
|
219
|
-
let
|
|
220
|
-
function
|
|
221
|
-
|
|
219
|
+
let ie;
|
|
220
|
+
function ne(e) {
|
|
221
|
+
ie = e;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
if (!
|
|
225
|
-
return
|
|
223
|
+
function mr() {
|
|
224
|
+
if (!ie) throw new Error("Function called outside component initialization");
|
|
225
|
+
return ie;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
228
|
-
|
|
227
|
+
function pr(e) {
|
|
228
|
+
mr().$$.on_mount.push(e);
|
|
229
229
|
}
|
|
230
|
-
const
|
|
231
|
-
let
|
|
230
|
+
const W = [], Ne = [];
|
|
231
|
+
let Z = [];
|
|
232
232
|
const tt = [], Ht = /* @__PURE__ */ Promise.resolve();
|
|
233
233
|
let Le = !1;
|
|
234
|
-
function
|
|
235
|
-
Le || (Le = !0, Ht.then(
|
|
234
|
+
function St() {
|
|
235
|
+
Le || (Le = !0, Ht.then(M));
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
return
|
|
237
|
+
function Pi() {
|
|
238
|
+
return St(), Ht;
|
|
239
239
|
}
|
|
240
240
|
function Ie(e) {
|
|
241
|
-
|
|
241
|
+
Z.push(e);
|
|
242
242
|
}
|
|
243
243
|
const He = /* @__PURE__ */ new Set();
|
|
244
|
-
let
|
|
245
|
-
function
|
|
246
|
-
if (
|
|
244
|
+
let X = 0;
|
|
245
|
+
function M() {
|
|
246
|
+
if (X !== 0)
|
|
247
247
|
return;
|
|
248
|
-
const e =
|
|
248
|
+
const e = ie;
|
|
249
249
|
do {
|
|
250
250
|
try {
|
|
251
|
-
for (;
|
|
252
|
-
const t =
|
|
253
|
-
|
|
251
|
+
for (; X < W.length; ) {
|
|
252
|
+
const t = W[X];
|
|
253
|
+
X++, ne(t), dr(t.$$);
|
|
254
254
|
}
|
|
255
255
|
} catch (t) {
|
|
256
|
-
throw
|
|
256
|
+
throw W.length = 0, X = 0, t;
|
|
257
257
|
}
|
|
258
|
-
for (
|
|
259
|
-
for (let t = 0; t <
|
|
260
|
-
const r =
|
|
258
|
+
for (ne(null), W.length = 0, X = 0; Ne.length; ) Ne.pop()();
|
|
259
|
+
for (let t = 0; t < Z.length; t += 1) {
|
|
260
|
+
const r = Z[t];
|
|
261
261
|
He.has(r) || (He.add(r), r());
|
|
262
262
|
}
|
|
263
|
-
|
|
264
|
-
} while (
|
|
263
|
+
Z.length = 0;
|
|
264
|
+
} while (W.length);
|
|
265
265
|
for (; tt.length; )
|
|
266
266
|
tt.pop()();
|
|
267
|
-
Le = !1, He.clear(),
|
|
267
|
+
Le = !1, He.clear(), ne(e);
|
|
268
268
|
}
|
|
269
269
|
function dr(e) {
|
|
270
270
|
if (e.fragment !== null) {
|
|
271
|
-
e.update(),
|
|
271
|
+
e.update(), ae(e.before_update);
|
|
272
272
|
const t = e.dirty;
|
|
273
273
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
function br(e) {
|
|
277
277
|
const t = [], r = [];
|
|
278
|
-
|
|
278
|
+
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
279
279
|
}
|
|
280
280
|
const yr = /* @__PURE__ */ new Set();
|
|
281
281
|
function _r(e, t) {
|
|
@@ -287,26 +287,26 @@ function fe(e) {
|
|
|
287
287
|
function Er(e, t, r) {
|
|
288
288
|
const { fragment: n, after_update: i } = e.$$;
|
|
289
289
|
n && n.m(t, r), Ie(() => {
|
|
290
|
-
const s = e.$$.on_mount.map(
|
|
291
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
290
|
+
const s = e.$$.on_mount.map(xt).filter(Ve);
|
|
291
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
|
|
292
292
|
}), i.forEach(Ie);
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function xr(e, t) {
|
|
295
295
|
const r = e.$$;
|
|
296
|
-
r.fragment !== null && (br(r.after_update),
|
|
296
|
+
r.fragment !== null && (br(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
297
297
|
}
|
|
298
|
-
function
|
|
299
|
-
e.$$.dirty[0] === -1 && (
|
|
298
|
+
function vr(e, t) {
|
|
299
|
+
e.$$.dirty[0] === -1 && (W.push(e), St(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
300
300
|
}
|
|
301
301
|
function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
302
|
-
const h =
|
|
303
|
-
|
|
302
|
+
const h = ie;
|
|
303
|
+
ne(e);
|
|
304
304
|
const a = e.$$ = {
|
|
305
305
|
fragment: null,
|
|
306
306
|
ctx: [],
|
|
307
307
|
// state
|
|
308
308
|
props: s,
|
|
309
|
-
update:
|
|
309
|
+
update: I,
|
|
310
310
|
not_equal: i,
|
|
311
311
|
bound: Ke(),
|
|
312
312
|
// lifecycle
|
|
@@ -324,21 +324,21 @@ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
324
324
|
};
|
|
325
325
|
o && o(a.root);
|
|
326
326
|
let l = !1;
|
|
327
|
-
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
328
|
-
const
|
|
329
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] =
|
|
330
|
-
}) : [], a.update(), l = !0,
|
|
327
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
328
|
+
const d = p.length ? p[0] : f;
|
|
329
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && vr(e, c)), f;
|
|
330
|
+
}) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
331
331
|
if (t.hydrate) {
|
|
332
|
-
const c =
|
|
333
|
-
a.fragment && a.fragment.l(c), c.forEach(
|
|
332
|
+
const c = cr(t.target);
|
|
333
|
+
a.fragment && a.fragment.l(c), c.forEach(F);
|
|
334
334
|
} else
|
|
335
335
|
a.fragment && a.fragment.c();
|
|
336
|
-
t.intro && _r(e.$$.fragment), Er(e, t.target, t.anchor),
|
|
336
|
+
t.intro && _r(e.$$.fragment), Er(e, t.target, t.anchor), M();
|
|
337
337
|
}
|
|
338
|
-
|
|
338
|
+
ne(h);
|
|
339
339
|
}
|
|
340
|
-
let
|
|
341
|
-
typeof HTMLElement == "function" && (
|
|
340
|
+
let At;
|
|
341
|
+
typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
342
342
|
constructor(t, r, n) {
|
|
343
343
|
super();
|
|
344
344
|
/** The Svelte component constructor */
|
|
@@ -389,17 +389,17 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
389
389
|
* @param {HTMLElement} [anchor]
|
|
390
390
|
*/
|
|
391
391
|
m: function(a, l) {
|
|
392
|
-
|
|
392
|
+
k(a, o, l);
|
|
393
393
|
},
|
|
394
394
|
d: function(a) {
|
|
395
|
-
a &&
|
|
395
|
+
a && F(o);
|
|
396
396
|
}
|
|
397
397
|
};
|
|
398
398
|
};
|
|
399
399
|
};
|
|
400
400
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
401
401
|
return;
|
|
402
|
-
const r = {}, n =
|
|
402
|
+
const r = {}, n = gr(this);
|
|
403
403
|
for (const s of this.$$s)
|
|
404
404
|
s in n && (r[s] = [t(s)]);
|
|
405
405
|
for (const s of this.attributes) {
|
|
@@ -410,7 +410,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
410
410
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
411
411
|
this.$$c = new this.$$ctor({
|
|
412
412
|
target: this.shadowRoot || this,
|
|
413
|
-
props: Je(
|
|
413
|
+
props: qe(Je({}, this.$$d), {
|
|
414
414
|
$$slots: r,
|
|
415
415
|
$$scope: {
|
|
416
416
|
ctx: []
|
|
@@ -489,7 +489,7 @@ function ge(e, t, r, n) {
|
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
491
|
function Cr(e, t, r, n, i, s) {
|
|
492
|
-
let o = class extends
|
|
492
|
+
let o = class extends At {
|
|
493
493
|
constructor() {
|
|
494
494
|
super(e, r, i), this.$$p_d = t;
|
|
495
495
|
}
|
|
@@ -540,7 +540,7 @@ class Hr {
|
|
|
540
540
|
}
|
|
541
541
|
/** @returns {void} */
|
|
542
542
|
$destroy() {
|
|
543
|
-
|
|
543
|
+
xr(this, 1), this.$destroy = I;
|
|
544
544
|
}
|
|
545
545
|
/**
|
|
546
546
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -550,7 +550,7 @@ class Hr {
|
|
|
550
550
|
*/
|
|
551
551
|
$on(t, r) {
|
|
552
552
|
if (!Ve(r))
|
|
553
|
-
return
|
|
553
|
+
return I;
|
|
554
554
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
555
555
|
return n.push(r), () => {
|
|
556
556
|
const i = n.indexOf(r);
|
|
@@ -562,63 +562,86 @@ class Hr {
|
|
|
562
562
|
* @returns {void}
|
|
563
563
|
*/
|
|
564
564
|
$set(t) {
|
|
565
|
-
this.$$set && !
|
|
565
|
+
this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
const Sr = "4";
|
|
569
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
|
|
570
|
+
function Ar(e, t) {
|
|
571
|
+
if (e) {
|
|
572
|
+
const r = document.createElement("style");
|
|
573
|
+
r.innerHTML = t, e.appendChild(r);
|
|
566
574
|
}
|
|
567
575
|
}
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
576
|
+
function Br(e, t) {
|
|
577
|
+
const r = new URL(t);
|
|
578
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
579
|
+
const i = document.createElement("style");
|
|
580
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
581
|
+
}).catch((n) => {
|
|
582
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
function wr(e, t, r) {
|
|
586
|
+
if (window.emMessageBus) {
|
|
587
|
+
const n = document.createElement("style");
|
|
588
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
589
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
590
|
+
});
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
const z = [];
|
|
594
|
+
function Or(e, t) {
|
|
572
595
|
return {
|
|
573
596
|
subscribe: _e(e, t).subscribe
|
|
574
597
|
};
|
|
575
598
|
}
|
|
576
|
-
function _e(e, t =
|
|
599
|
+
function _e(e, t = I) {
|
|
577
600
|
let r;
|
|
578
601
|
const n = /* @__PURE__ */ new Set();
|
|
579
602
|
function i(u) {
|
|
580
|
-
if (
|
|
581
|
-
const h = !
|
|
603
|
+
if (vt(e, u) && (e = u, r)) {
|
|
604
|
+
const h = !z.length;
|
|
582
605
|
for (const a of n)
|
|
583
|
-
a[1](),
|
|
606
|
+
a[1](), z.push(a, e);
|
|
584
607
|
if (h) {
|
|
585
|
-
for (let a = 0; a <
|
|
586
|
-
|
|
587
|
-
|
|
608
|
+
for (let a = 0; a < z.length; a += 2)
|
|
609
|
+
z[a][0](z[a + 1]);
|
|
610
|
+
z.length = 0;
|
|
588
611
|
}
|
|
589
612
|
}
|
|
590
613
|
}
|
|
591
614
|
function s(u) {
|
|
592
615
|
i(u(e));
|
|
593
616
|
}
|
|
594
|
-
function o(u, h =
|
|
617
|
+
function o(u, h = I) {
|
|
595
618
|
const a = [u, h];
|
|
596
|
-
return n.add(a), n.size === 1 && (r = t(i, s) ||
|
|
619
|
+
return n.add(a), n.size === 1 && (r = t(i, s) || I), u(e), () => {
|
|
597
620
|
n.delete(a), n.size === 0 && r && (r(), r = null);
|
|
598
621
|
};
|
|
599
622
|
}
|
|
600
623
|
return { set: i, update: s, subscribe: o };
|
|
601
624
|
}
|
|
602
|
-
function
|
|
625
|
+
function K(e, t, r) {
|
|
603
626
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
604
627
|
if (!i.every(Boolean))
|
|
605
628
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
606
629
|
const s = t.length < 2;
|
|
607
|
-
return
|
|
630
|
+
return Or(r, (o, u) => {
|
|
608
631
|
let h = !1;
|
|
609
632
|
const a = [];
|
|
610
|
-
let l = 0, c =
|
|
633
|
+
let l = 0, c = I;
|
|
611
634
|
const f = () => {
|
|
612
635
|
if (l)
|
|
613
636
|
return;
|
|
614
637
|
c();
|
|
615
|
-
const
|
|
616
|
-
s ? o(
|
|
617
|
-
},
|
|
618
|
-
(
|
|
619
|
-
|
|
620
|
-
(
|
|
621
|
-
a[g] =
|
|
638
|
+
const d = t(n ? a[0] : a, o, u);
|
|
639
|
+
s ? o(d) : c = Ve(d) ? d : I;
|
|
640
|
+
}, p = i.map(
|
|
641
|
+
(d, g) => Tt(
|
|
642
|
+
d,
|
|
643
|
+
(x) => {
|
|
644
|
+
a[g] = x, l &= ~(1 << g), h && f();
|
|
622
645
|
},
|
|
623
646
|
() => {
|
|
624
647
|
l |= 1 << g;
|
|
@@ -626,51 +649,51 @@ function ee(e, t, r) {
|
|
|
626
649
|
)
|
|
627
650
|
);
|
|
628
651
|
return h = !0, f(), function() {
|
|
629
|
-
|
|
652
|
+
ae(p), c(), h = !1;
|
|
630
653
|
};
|
|
631
654
|
});
|
|
632
655
|
}
|
|
633
|
-
function
|
|
656
|
+
function Pr(e) {
|
|
634
657
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
635
658
|
}
|
|
636
|
-
var
|
|
637
|
-
return
|
|
659
|
+
var Nr = function(t) {
|
|
660
|
+
return Lr(t) && !Ir(t);
|
|
638
661
|
};
|
|
639
|
-
function
|
|
662
|
+
function Lr(e) {
|
|
640
663
|
return !!e && typeof e == "object";
|
|
641
664
|
}
|
|
642
|
-
function
|
|
665
|
+
function Ir(e) {
|
|
643
666
|
var t = Object.prototype.toString.call(e);
|
|
644
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
667
|
+
return t === "[object RegExp]" || t === "[object Date]" || Rr(e);
|
|
645
668
|
}
|
|
646
|
-
var
|
|
647
|
-
function
|
|
648
|
-
return e.$$typeof ===
|
|
669
|
+
var Mr = typeof Symbol == "function" && Symbol.for, $r = Mr ? Symbol.for("react.element") : 60103;
|
|
670
|
+
function Rr(e) {
|
|
671
|
+
return e.$$typeof === $r;
|
|
649
672
|
}
|
|
650
|
-
function
|
|
673
|
+
function Ur(e) {
|
|
651
674
|
return Array.isArray(e) ? [] : {};
|
|
652
675
|
}
|
|
653
|
-
function
|
|
654
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
676
|
+
function se(e, t) {
|
|
677
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Ur(e), e, t) : e;
|
|
655
678
|
}
|
|
656
|
-
function
|
|
679
|
+
function Gr(e, t, r) {
|
|
657
680
|
return e.concat(t).map(function(n) {
|
|
658
|
-
return
|
|
681
|
+
return se(n, r);
|
|
659
682
|
});
|
|
660
683
|
}
|
|
661
|
-
function
|
|
684
|
+
function Dr(e, t) {
|
|
662
685
|
if (!t.customMerge)
|
|
663
|
-
return
|
|
686
|
+
return Q;
|
|
664
687
|
var r = t.customMerge(e);
|
|
665
|
-
return typeof r == "function" ? r :
|
|
688
|
+
return typeof r == "function" ? r : Q;
|
|
666
689
|
}
|
|
667
|
-
function
|
|
690
|
+
function Fr(e) {
|
|
668
691
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
669
692
|
return Object.propertyIsEnumerable.call(e, t);
|
|
670
693
|
}) : [];
|
|
671
694
|
}
|
|
672
695
|
function rt(e) {
|
|
673
|
-
return Object.keys(e).concat(
|
|
696
|
+
return Object.keys(e).concat(Fr(e));
|
|
674
697
|
}
|
|
675
698
|
function Bt(e, t) {
|
|
676
699
|
try {
|
|
@@ -679,31 +702,31 @@ function Bt(e, t) {
|
|
|
679
702
|
return !1;
|
|
680
703
|
}
|
|
681
704
|
}
|
|
682
|
-
function
|
|
705
|
+
function jr(e, t) {
|
|
683
706
|
return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
684
707
|
}
|
|
685
|
-
function
|
|
708
|
+
function kr(e, t, r) {
|
|
686
709
|
var n = {};
|
|
687
710
|
return r.isMergeableObject(e) && rt(e).forEach(function(i) {
|
|
688
|
-
n[i] =
|
|
711
|
+
n[i] = se(e[i], r);
|
|
689
712
|
}), rt(t).forEach(function(i) {
|
|
690
|
-
|
|
713
|
+
jr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
691
714
|
}), n;
|
|
692
715
|
}
|
|
693
|
-
function
|
|
694
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
716
|
+
function Q(e, t, r) {
|
|
717
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Gr, r.isMergeableObject = r.isMergeableObject || Nr, r.cloneUnlessOtherwiseSpecified = se;
|
|
695
718
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
696
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
719
|
+
return s ? n ? r.arrayMerge(e, t, r) : kr(e, t, r) : se(t, r);
|
|
697
720
|
}
|
|
698
|
-
|
|
721
|
+
Q.all = function(t, r) {
|
|
699
722
|
if (!Array.isArray(t))
|
|
700
723
|
throw new Error("first argument should be an array");
|
|
701
724
|
return t.reduce(function(n, i) {
|
|
702
|
-
return
|
|
725
|
+
return Q(n, i, r);
|
|
703
726
|
}, {});
|
|
704
727
|
};
|
|
705
|
-
var
|
|
706
|
-
const
|
|
728
|
+
var Vr = Q, Xr = Vr;
|
|
729
|
+
const zr = /* @__PURE__ */ Pr(Xr);
|
|
707
730
|
var Me = function(e, t) {
|
|
708
731
|
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
709
732
|
r.__proto__ = n;
|
|
@@ -729,7 +752,7 @@ var E = function() {
|
|
|
729
752
|
return t;
|
|
730
753
|
}, E.apply(this, arguments);
|
|
731
754
|
};
|
|
732
|
-
function
|
|
755
|
+
function Wr(e, t) {
|
|
733
756
|
var r = {};
|
|
734
757
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
735
758
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -737,7 +760,7 @@ function Vr(e, t) {
|
|
|
737
760
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
738
761
|
return r;
|
|
739
762
|
}
|
|
740
|
-
function
|
|
763
|
+
function Ni(e) {
|
|
741
764
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
742
765
|
if (r) return r.call(e);
|
|
743
766
|
if (e && typeof e.length == "number") return {
|
|
@@ -747,7 +770,7 @@ function Oi(e) {
|
|
|
747
770
|
};
|
|
748
771
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
749
772
|
}
|
|
750
|
-
function
|
|
773
|
+
function Li(e, t) {
|
|
751
774
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
752
775
|
if (!r) return e;
|
|
753
776
|
var n = r.call(e), i, s = [], o;
|
|
@@ -764,23 +787,23 @@ function Pi(e, t) {
|
|
|
764
787
|
}
|
|
765
788
|
return s;
|
|
766
789
|
}
|
|
767
|
-
function
|
|
790
|
+
function Se(e, t, r) {
|
|
768
791
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
|
|
769
792
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
770
793
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
771
794
|
}
|
|
772
|
-
function
|
|
773
|
-
var r = t && t.cache ? t.cache :
|
|
795
|
+
function Ae(e, t) {
|
|
796
|
+
var r = t && t.cache ? t.cache : en, n = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : Jr;
|
|
774
797
|
return i(e, {
|
|
775
798
|
cache: r,
|
|
776
799
|
serializer: n
|
|
777
800
|
});
|
|
778
801
|
}
|
|
779
|
-
function
|
|
802
|
+
function Zr(e) {
|
|
780
803
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
781
804
|
}
|
|
782
|
-
function
|
|
783
|
-
var i =
|
|
805
|
+
function Qr(e, t, r, n) {
|
|
806
|
+
var i = Zr(n) ? n : r(n), s = t.get(i);
|
|
784
807
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
785
808
|
}
|
|
786
809
|
function wt(e, t, r) {
|
|
@@ -790,16 +813,16 @@ function wt(e, t, r) {
|
|
|
790
813
|
function Ot(e, t, r, n, i) {
|
|
791
814
|
return r.bind(t, e, n, i);
|
|
792
815
|
}
|
|
793
|
-
function
|
|
794
|
-
var r = e.length === 1 ?
|
|
816
|
+
function Jr(e, t) {
|
|
817
|
+
var r = e.length === 1 ? Qr : wt;
|
|
795
818
|
return Ot(e, this, r, t.cache.create(), t.serializer);
|
|
796
819
|
}
|
|
797
|
-
function
|
|
820
|
+
function qr(e, t) {
|
|
798
821
|
return Ot(e, this, wt, t.cache.create(), t.serializer);
|
|
799
822
|
}
|
|
800
|
-
var
|
|
823
|
+
var Yr = function() {
|
|
801
824
|
return JSON.stringify(arguments);
|
|
802
|
-
},
|
|
825
|
+
}, Kr = (
|
|
803
826
|
/** @class */
|
|
804
827
|
function() {
|
|
805
828
|
function e() {
|
|
@@ -811,12 +834,12 @@ var Qr = function() {
|
|
|
811
834
|
this.cache[t] = r;
|
|
812
835
|
}, e;
|
|
813
836
|
}()
|
|
814
|
-
),
|
|
837
|
+
), en = {
|
|
815
838
|
create: function() {
|
|
816
|
-
return new
|
|
839
|
+
return new Kr();
|
|
817
840
|
}
|
|
818
841
|
}, Be = {
|
|
819
|
-
variadic:
|
|
842
|
+
variadic: qr
|
|
820
843
|
}, y;
|
|
821
844
|
(function(e) {
|
|
822
845
|
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";
|
|
@@ -832,7 +855,7 @@ var J;
|
|
|
832
855
|
function nt(e) {
|
|
833
856
|
return e.type === T.literal;
|
|
834
857
|
}
|
|
835
|
-
function
|
|
858
|
+
function tn(e) {
|
|
836
859
|
return e.type === T.argument;
|
|
837
860
|
}
|
|
838
861
|
function Pt(e) {
|
|
@@ -850,7 +873,7 @@ function It(e) {
|
|
|
850
873
|
function Mt(e) {
|
|
851
874
|
return e.type === T.plural;
|
|
852
875
|
}
|
|
853
|
-
function
|
|
876
|
+
function rn(e) {
|
|
854
877
|
return e.type === T.pound;
|
|
855
878
|
}
|
|
856
879
|
function $t(e) {
|
|
@@ -862,10 +885,10 @@ function Rt(e) {
|
|
|
862
885
|
function $e(e) {
|
|
863
886
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
864
887
|
}
|
|
865
|
-
var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
866
|
-
function
|
|
888
|
+
var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, nn = /(?:[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;
|
|
889
|
+
function sn(e) {
|
|
867
890
|
var t = {};
|
|
868
|
-
return e.replace(
|
|
891
|
+
return e.replace(nn, function(r) {
|
|
869
892
|
var n = r.length;
|
|
870
893
|
switch (r[0]) {
|
|
871
894
|
case "G":
|
|
@@ -954,11 +977,11 @@ function tn(e) {
|
|
|
954
977
|
return "";
|
|
955
978
|
}), t;
|
|
956
979
|
}
|
|
957
|
-
var
|
|
958
|
-
function
|
|
980
|
+
var on = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
981
|
+
function an(e) {
|
|
959
982
|
if (e.length === 0)
|
|
960
983
|
throw new Error("Number skeleton cannot be empty");
|
|
961
|
-
for (var t = e.split(
|
|
984
|
+
for (var t = e.split(on).filter(function(f) {
|
|
962
985
|
return f.length > 0;
|
|
963
986
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
964
987
|
var s = i[n], o = s.split("/");
|
|
@@ -973,10 +996,10 @@ function nn(e) {
|
|
|
973
996
|
}
|
|
974
997
|
return r;
|
|
975
998
|
}
|
|
976
|
-
function
|
|
999
|
+
function un(e) {
|
|
977
1000
|
return e.replace(/^(.*?)-/, "");
|
|
978
1001
|
}
|
|
979
|
-
var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1002
|
+
var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
|
|
980
1003
|
function st(e) {
|
|
981
1004
|
var t = {};
|
|
982
1005
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
|
|
@@ -1023,7 +1046,7 @@ function Ft(e) {
|
|
|
1023
1046
|
};
|
|
1024
1047
|
}
|
|
1025
1048
|
}
|
|
1026
|
-
function
|
|
1049
|
+
function ln(e) {
|
|
1027
1050
|
var t;
|
|
1028
1051
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1029
1052
|
notation: "engineering"
|
|
@@ -1041,7 +1064,7 @@ function ot(e) {
|
|
|
1041
1064
|
var t = {}, r = Ft(e);
|
|
1042
1065
|
return r || t;
|
|
1043
1066
|
}
|
|
1044
|
-
function
|
|
1067
|
+
function fn(e) {
|
|
1045
1068
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1046
1069
|
var i = n[r];
|
|
1047
1070
|
switch (i.stem) {
|
|
@@ -1065,7 +1088,7 @@ function un(e) {
|
|
|
1065
1088
|
continue;
|
|
1066
1089
|
case "measure-unit":
|
|
1067
1090
|
case "unit":
|
|
1068
|
-
t.style = "unit", t.unit =
|
|
1091
|
+
t.style = "unit", t.unit = un(i.options[0]);
|
|
1069
1092
|
continue;
|
|
1070
1093
|
case "compact-short":
|
|
1071
1094
|
case "K":
|
|
@@ -1127,13 +1150,13 @@ function un(e) {
|
|
|
1127
1150
|
case "integer-width":
|
|
1128
1151
|
if (i.options.length > 1)
|
|
1129
1152
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1130
|
-
i.options[0].replace(
|
|
1153
|
+
i.options[0].replace(hn, function(h, a, l, c, f, p) {
|
|
1131
1154
|
if (a)
|
|
1132
1155
|
t.minimumIntegerDigits = l.length;
|
|
1133
1156
|
else {
|
|
1134
1157
|
if (c && f)
|
|
1135
1158
|
throw new Error("We currently do not support maximum integer digits");
|
|
1136
|
-
if (
|
|
1159
|
+
if (p)
|
|
1137
1160
|
throw new Error("We currently do not support exact integer digits");
|
|
1138
1161
|
}
|
|
1139
1162
|
return "";
|
|
@@ -1147,8 +1170,8 @@ function un(e) {
|
|
|
1147
1170
|
if (it.test(i.stem)) {
|
|
1148
1171
|
if (i.options.length > 1)
|
|
1149
1172
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1150
|
-
i.stem.replace(it, function(h, a, l, c, f,
|
|
1151
|
-
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1173
|
+
i.stem.replace(it, function(h, a, l, c, f, p) {
|
|
1174
|
+
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1152
1175
|
});
|
|
1153
1176
|
var s = i.options[0];
|
|
1154
1177
|
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), st(s)));
|
|
@@ -1160,7 +1183,7 @@ function un(e) {
|
|
|
1160
1183
|
}
|
|
1161
1184
|
var o = Ft(i.stem);
|
|
1162
1185
|
o && (t = E(E({}, t), o));
|
|
1163
|
-
var u =
|
|
1186
|
+
var u = ln(i.stem);
|
|
1164
1187
|
u && (t = E(E({}, t), u));
|
|
1165
1188
|
}
|
|
1166
1189
|
return t;
|
|
@@ -2580,13 +2603,13 @@ var ce = {
|
|
|
2580
2603
|
"h"
|
|
2581
2604
|
]
|
|
2582
2605
|
};
|
|
2583
|
-
function
|
|
2606
|
+
function cn(e, t) {
|
|
2584
2607
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2585
2608
|
var i = e.charAt(n);
|
|
2586
2609
|
if (i === "j") {
|
|
2587
2610
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2588
2611
|
s++, n++;
|
|
2589
|
-
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a =
|
|
2612
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = gn(t);
|
|
2590
2613
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2591
2614
|
r += h;
|
|
2592
2615
|
for (; o-- > 0; )
|
|
@@ -2595,7 +2618,7 @@ function hn(e, t) {
|
|
|
2595
2618
|
}
|
|
2596
2619
|
return r;
|
|
2597
2620
|
}
|
|
2598
|
-
function
|
|
2621
|
+
function gn(e) {
|
|
2599
2622
|
var t = e.hourCycle;
|
|
2600
2623
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2601
2624
|
e.hourCycles && // @ts-ignore
|
|
@@ -2617,20 +2640,20 @@ function ln(e) {
|
|
|
2617
2640
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
2618
2641
|
return i[0];
|
|
2619
2642
|
}
|
|
2620
|
-
var we,
|
|
2643
|
+
var we, mn = new RegExp("^".concat(Ut.source, "*")), pn = new RegExp("".concat(Ut.source, "*$"));
|
|
2621
2644
|
function _(e, t) {
|
|
2622
2645
|
return { start: e, end: t };
|
|
2623
2646
|
}
|
|
2624
|
-
var
|
|
2647
|
+
var dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), bn = !!String.fromCodePoint, yn = !!Object.fromEntries, _n = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, xn = !!String.prototype.trimEnd, vn = !!Number.isSafeInteger, Tn = vn ? Number.isSafeInteger : function(e) {
|
|
2625
2648
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2626
2649
|
}, Re = !0;
|
|
2627
2650
|
try {
|
|
2628
|
-
var
|
|
2629
|
-
Re = ((we =
|
|
2651
|
+
var Cn = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2652
|
+
Re = ((we = Cn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
2630
2653
|
} catch (e) {
|
|
2631
2654
|
Re = !1;
|
|
2632
2655
|
}
|
|
2633
|
-
var at =
|
|
2656
|
+
var at = dn ? (
|
|
2634
2657
|
// Native
|
|
2635
2658
|
function(t, r, n) {
|
|
2636
2659
|
return t.startsWith(r, n);
|
|
@@ -2640,7 +2663,7 @@ var at = gn ? (
|
|
|
2640
2663
|
function(t, r, n) {
|
|
2641
2664
|
return t.slice(n, n + r.length) === r;
|
|
2642
2665
|
}
|
|
2643
|
-
), Ue =
|
|
2666
|
+
), Ue = bn ? String.fromCodePoint : (
|
|
2644
2667
|
// IE11
|
|
2645
2668
|
function() {
|
|
2646
2669
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2654,7 +2677,7 @@ var at = gn ? (
|
|
|
2654
2677
|
}
|
|
2655
2678
|
), ut = (
|
|
2656
2679
|
// native
|
|
2657
|
-
|
|
2680
|
+
yn ? Object.fromEntries : (
|
|
2658
2681
|
// Ponyfill
|
|
2659
2682
|
function(t) {
|
|
2660
2683
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2664,7 +2687,7 @@ var at = gn ? (
|
|
|
2664
2687
|
return r;
|
|
2665
2688
|
}
|
|
2666
2689
|
)
|
|
2667
|
-
), jt =
|
|
2690
|
+
), jt = _n ? (
|
|
2668
2691
|
// Native
|
|
2669
2692
|
function(t, r) {
|
|
2670
2693
|
return t.codePointAt(r);
|
|
@@ -2678,7 +2701,7 @@ var at = gn ? (
|
|
|
2678
2701
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2679
2702
|
}
|
|
2680
2703
|
}
|
|
2681
|
-
),
|
|
2704
|
+
), Hn = En ? (
|
|
2682
2705
|
// Native
|
|
2683
2706
|
function(t) {
|
|
2684
2707
|
return t.trimStart();
|
|
@@ -2686,9 +2709,9 @@ var at = gn ? (
|
|
|
2686
2709
|
) : (
|
|
2687
2710
|
// Ponyfill
|
|
2688
2711
|
function(t) {
|
|
2689
|
-
return t.replace(
|
|
2712
|
+
return t.replace(mn, "");
|
|
2690
2713
|
}
|
|
2691
|
-
),
|
|
2714
|
+
), Sn = xn ? (
|
|
2692
2715
|
// Native
|
|
2693
2716
|
function(t) {
|
|
2694
2717
|
return t.trimEnd();
|
|
@@ -2696,7 +2719,7 @@ var at = gn ? (
|
|
|
2696
2719
|
) : (
|
|
2697
2720
|
// Ponyfill
|
|
2698
2721
|
function(t) {
|
|
2699
|
-
return t.replace(
|
|
2722
|
+
return t.replace(pn, "");
|
|
2700
2723
|
}
|
|
2701
2724
|
);
|
|
2702
2725
|
function kt(e, t) {
|
|
@@ -2715,13 +2738,13 @@ if (Re) {
|
|
|
2715
2738
|
Ge = function(t, r) {
|
|
2716
2739
|
for (var n = []; ; ) {
|
|
2717
2740
|
var i = jt(t, r);
|
|
2718
|
-
if (i === void 0 || Vt(i) ||
|
|
2741
|
+
if (i === void 0 || Vt(i) || On(i))
|
|
2719
2742
|
break;
|
|
2720
2743
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2721
2744
|
}
|
|
2722
2745
|
return Ue.apply(void 0, n);
|
|
2723
2746
|
};
|
|
2724
|
-
var
|
|
2747
|
+
var An = (
|
|
2725
2748
|
/** @class */
|
|
2726
2749
|
function() {
|
|
2727
2750
|
function e(t, r) {
|
|
@@ -2803,7 +2826,7 @@ var Cn = (
|
|
|
2803
2826
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2804
2827
|
}, e.prototype.parseTagName = function() {
|
|
2805
2828
|
var t = this.offset();
|
|
2806
|
-
for (this.bump(); !this.isEOF() &&
|
|
2829
|
+
for (this.bump(); !this.isEOF() && wn(this.char()); )
|
|
2807
2830
|
this.bump();
|
|
2808
2831
|
return this.message.slice(t, this.offset());
|
|
2809
2832
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2832,7 +2855,7 @@ var Cn = (
|
|
|
2832
2855
|
};
|
|
2833
2856
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2834
2857
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2835
|
-
!
|
|
2858
|
+
!Bn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2836
2859
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2837
2860
|
if (this.isEOF() || this.char() !== 39)
|
|
2838
2861
|
return null;
|
|
@@ -2919,34 +2942,34 @@ var Cn = (
|
|
|
2919
2942
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2920
2943
|
if (c.err)
|
|
2921
2944
|
return c;
|
|
2922
|
-
var f =
|
|
2945
|
+
var f = Sn(c.val);
|
|
2923
2946
|
if (f.length === 0)
|
|
2924
2947
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2925
|
-
var
|
|
2926
|
-
a = { style: f, styleLocation:
|
|
2948
|
+
var p = _(l, this.clonePosition());
|
|
2949
|
+
a = { style: f, styleLocation: p };
|
|
2927
2950
|
}
|
|
2928
|
-
var
|
|
2929
|
-
if (
|
|
2930
|
-
return
|
|
2951
|
+
var d = this.tryParseArgumentClose(i);
|
|
2952
|
+
if (d.err)
|
|
2953
|
+
return d;
|
|
2931
2954
|
var g = _(i, this.clonePosition());
|
|
2932
2955
|
if (a && at(a == null ? void 0 : a.style, "::", 0)) {
|
|
2933
|
-
var
|
|
2956
|
+
var x = Hn(a.style.slice(2));
|
|
2934
2957
|
if (u === "number") {
|
|
2935
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2958
|
+
var c = this.parseNumberSkeletonFromString(x, a.styleLocation);
|
|
2936
2959
|
return c.err ? c : {
|
|
2937
2960
|
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2938
2961
|
err: null
|
|
2939
2962
|
};
|
|
2940
2963
|
} else {
|
|
2941
|
-
if (
|
|
2964
|
+
if (x.length === 0)
|
|
2942
2965
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2943
|
-
var m =
|
|
2944
|
-
this.locale && (m =
|
|
2966
|
+
var m = x;
|
|
2967
|
+
this.locale && (m = cn(x, this.locale));
|
|
2945
2968
|
var f = {
|
|
2946
2969
|
type: J.dateTime,
|
|
2947
2970
|
pattern: m,
|
|
2948
2971
|
location: a.styleLocation,
|
|
2949
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2972
|
+
parsedOptions: this.shouldParseSkeletons ? sn(m) : {}
|
|
2950
2973
|
}, C = u === "date" ? T.date : T.time;
|
|
2951
2974
|
return {
|
|
2952
2975
|
val: { type: C, value: n, location: g, style: f },
|
|
@@ -2971,29 +2994,29 @@ var Cn = (
|
|
|
2971
2994
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2972
2995
|
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, E({}, A)));
|
|
2973
2996
|
this.bumpSpace();
|
|
2974
|
-
var
|
|
2975
|
-
if (u !== "select" &&
|
|
2997
|
+
var N = this.parseIdentifierIfPossible(), w = 0;
|
|
2998
|
+
if (u !== "select" && N.value === "offset") {
|
|
2976
2999
|
if (!this.bumpIf(":"))
|
|
2977
3000
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2978
3001
|
this.bumpSpace();
|
|
2979
3002
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2980
3003
|
if (c.err)
|
|
2981
3004
|
return c;
|
|
2982
|
-
this.bumpSpace(),
|
|
3005
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), w = c.val;
|
|
2983
3006
|
}
|
|
2984
|
-
var S = this.tryParsePluralOrSelectOptions(t, u, r,
|
|
3007
|
+
var S = this.tryParsePluralOrSelectOptions(t, u, r, N);
|
|
2985
3008
|
if (S.err)
|
|
2986
3009
|
return S;
|
|
2987
|
-
var
|
|
2988
|
-
if (
|
|
2989
|
-
return
|
|
2990
|
-
var
|
|
3010
|
+
var d = this.tryParseArgumentClose(i);
|
|
3011
|
+
if (d.err)
|
|
3012
|
+
return d;
|
|
3013
|
+
var L = _(i, this.clonePosition());
|
|
2991
3014
|
return u === "select" ? {
|
|
2992
3015
|
val: {
|
|
2993
3016
|
type: T.select,
|
|
2994
3017
|
value: n,
|
|
2995
3018
|
options: ut(S.val),
|
|
2996
|
-
location:
|
|
3019
|
+
location: L
|
|
2997
3020
|
},
|
|
2998
3021
|
err: null
|
|
2999
3022
|
} : {
|
|
@@ -3003,7 +3026,7 @@ var Cn = (
|
|
|
3003
3026
|
options: ut(S.val),
|
|
3004
3027
|
offset: w,
|
|
3005
3028
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3006
|
-
location:
|
|
3029
|
+
location: L
|
|
3007
3030
|
},
|
|
3008
3031
|
err: null
|
|
3009
3032
|
};
|
|
@@ -3051,7 +3074,7 @@ var Cn = (
|
|
|
3051
3074
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3052
3075
|
var n = [];
|
|
3053
3076
|
try {
|
|
3054
|
-
n =
|
|
3077
|
+
n = an(t);
|
|
3055
3078
|
} catch (i) {
|
|
3056
3079
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3057
3080
|
}
|
|
@@ -3060,7 +3083,7 @@ var Cn = (
|
|
|
3060
3083
|
type: J.number,
|
|
3061
3084
|
tokens: n,
|
|
3062
3085
|
location: r,
|
|
3063
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3086
|
+
parsedOptions: this.shouldParseSkeletons ? fn(n) : {}
|
|
3064
3087
|
},
|
|
3065
3088
|
err: null
|
|
3066
3089
|
};
|
|
@@ -3079,20 +3102,20 @@ var Cn = (
|
|
|
3079
3102
|
if (h.has(a))
|
|
3080
3103
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3081
3104
|
a === "other" && (o = !0), this.bumpSpace();
|
|
3082
|
-
var
|
|
3105
|
+
var p = this.clonePosition();
|
|
3083
3106
|
if (!this.bumpIf("{"))
|
|
3084
3107
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3085
|
-
var
|
|
3086
|
-
if (
|
|
3087
|
-
return
|
|
3088
|
-
var g = this.tryParseArgumentClose(
|
|
3108
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3109
|
+
if (d.err)
|
|
3110
|
+
return d;
|
|
3111
|
+
var g = this.tryParseArgumentClose(p);
|
|
3089
3112
|
if (g.err)
|
|
3090
3113
|
return g;
|
|
3091
3114
|
u.push([
|
|
3092
3115
|
a,
|
|
3093
3116
|
{
|
|
3094
|
-
value:
|
|
3095
|
-
location: _(
|
|
3117
|
+
value: d.val,
|
|
3118
|
+
location: _(p, this.clonePosition())
|
|
3096
3119
|
}
|
|
3097
3120
|
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
|
|
3098
3121
|
}
|
|
@@ -3108,7 +3131,7 @@ var Cn = (
|
|
|
3108
3131
|
break;
|
|
3109
3132
|
}
|
|
3110
3133
|
var h = _(i, this.clonePosition());
|
|
3111
|
-
return s ? (o *= n,
|
|
3134
|
+
return s ? (o *= n, Tn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3112
3135
|
}, e.prototype.offset = function() {
|
|
3113
3136
|
return this.position.offset;
|
|
3114
3137
|
}, e.prototype.isEOF = function() {
|
|
@@ -3177,16 +3200,16 @@ var Cn = (
|
|
|
3177
3200
|
function De(e) {
|
|
3178
3201
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3179
3202
|
}
|
|
3180
|
-
function
|
|
3203
|
+
function Bn(e) {
|
|
3181
3204
|
return De(e) || e === 47;
|
|
3182
3205
|
}
|
|
3183
|
-
function
|
|
3206
|
+
function wn(e) {
|
|
3184
3207
|
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;
|
|
3185
3208
|
}
|
|
3186
3209
|
function Vt(e) {
|
|
3187
3210
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3188
3211
|
}
|
|
3189
|
-
function
|
|
3212
|
+
function On(e) {
|
|
3190
3213
|
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;
|
|
3191
3214
|
}
|
|
3192
3215
|
function Fe(e) {
|
|
@@ -3197,20 +3220,20 @@ function Fe(e) {
|
|
|
3197
3220
|
else Pt(t) && Rt(t.style) || (Nt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : $t(t) && Fe(t.children);
|
|
3198
3221
|
});
|
|
3199
3222
|
}
|
|
3200
|
-
function
|
|
3223
|
+
function Pn(e, t) {
|
|
3201
3224
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3202
|
-
var r = new
|
|
3225
|
+
var r = new An(e, t).parse();
|
|
3203
3226
|
if (r.err) {
|
|
3204
3227
|
var n = SyntaxError(y[r.err.kind]);
|
|
3205
3228
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3206
3229
|
}
|
|
3207
3230
|
return t != null && t.captureLocation || Fe(r.val), r.val;
|
|
3208
3231
|
}
|
|
3209
|
-
var
|
|
3232
|
+
var q;
|
|
3210
3233
|
(function(e) {
|
|
3211
3234
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3212
|
-
})(
|
|
3213
|
-
var
|
|
3235
|
+
})(q || (q = {}));
|
|
3236
|
+
var xe = (
|
|
3214
3237
|
/** @class */
|
|
3215
3238
|
function(e) {
|
|
3216
3239
|
Ee(t, e);
|
|
@@ -3227,39 +3250,39 @@ var ve = (
|
|
|
3227
3250
|
function(e) {
|
|
3228
3251
|
Ee(t, e);
|
|
3229
3252
|
function t(r, n, i, s) {
|
|
3230
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3253
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
|
|
3231
3254
|
}
|
|
3232
3255
|
return t;
|
|
3233
|
-
}(
|
|
3234
|
-
),
|
|
3256
|
+
}(xe)
|
|
3257
|
+
), Nn = (
|
|
3235
3258
|
/** @class */
|
|
3236
3259
|
function(e) {
|
|
3237
3260
|
Ee(t, e);
|
|
3238
3261
|
function t(r, n, i) {
|
|
3239
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3262
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3240
3263
|
}
|
|
3241
3264
|
return t;
|
|
3242
|
-
}(
|
|
3243
|
-
),
|
|
3265
|
+
}(xe)
|
|
3266
|
+
), Ln = (
|
|
3244
3267
|
/** @class */
|
|
3245
3268
|
function(e) {
|
|
3246
3269
|
Ee(t, e);
|
|
3247
3270
|
function t(r, n) {
|
|
3248
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3271
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3249
3272
|
}
|
|
3250
3273
|
return t;
|
|
3251
|
-
}(
|
|
3274
|
+
}(xe)
|
|
3252
3275
|
), P;
|
|
3253
3276
|
(function(e) {
|
|
3254
3277
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3255
3278
|
})(P || (P = {}));
|
|
3256
|
-
function
|
|
3279
|
+
function In(e) {
|
|
3257
3280
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3258
3281
|
var n = t[t.length - 1];
|
|
3259
3282
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3260
3283
|
}, []);
|
|
3261
3284
|
}
|
|
3262
|
-
function
|
|
3285
|
+
function Mn(e) {
|
|
3263
3286
|
return typeof e == "function";
|
|
3264
3287
|
}
|
|
3265
3288
|
function me(e, t, r, n, i, s, o) {
|
|
@@ -3279,7 +3302,7 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3279
3302
|
});
|
|
3280
3303
|
continue;
|
|
3281
3304
|
}
|
|
3282
|
-
if (
|
|
3305
|
+
if (rn(l)) {
|
|
3283
3306
|
typeof s == "number" && u.push({
|
|
3284
3307
|
type: P.literal,
|
|
3285
3308
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3288,9 +3311,9 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3288
3311
|
}
|
|
3289
3312
|
var c = l.value;
|
|
3290
3313
|
if (!(i && c in i))
|
|
3291
|
-
throw new
|
|
3314
|
+
throw new Ln(c, o);
|
|
3292
3315
|
var f = i[c];
|
|
3293
|
-
if (
|
|
3316
|
+
if (tn(l)) {
|
|
3294
3317
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3295
3318
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3296
3319
|
value: f
|
|
@@ -3298,34 +3321,34 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3298
3321
|
continue;
|
|
3299
3322
|
}
|
|
3300
3323
|
if (Nt(l)) {
|
|
3301
|
-
var
|
|
3324
|
+
var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
|
|
3302
3325
|
u.push({
|
|
3303
3326
|
type: P.literal,
|
|
3304
|
-
value: r.getDateTimeFormat(t,
|
|
3327
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3305
3328
|
});
|
|
3306
3329
|
continue;
|
|
3307
3330
|
}
|
|
3308
3331
|
if (Lt(l)) {
|
|
3309
|
-
var
|
|
3332
|
+
var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3310
3333
|
u.push({
|
|
3311
3334
|
type: P.literal,
|
|
3312
|
-
value: r.getDateTimeFormat(t,
|
|
3335
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3313
3336
|
});
|
|
3314
3337
|
continue;
|
|
3315
3338
|
}
|
|
3316
3339
|
if (Pt(l)) {
|
|
3317
|
-
var
|
|
3318
|
-
|
|
3340
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
|
|
3341
|
+
p && p.scale && (f = f * (p.scale || 1)), u.push({
|
|
3319
3342
|
type: P.literal,
|
|
3320
|
-
value: r.getNumberFormat(t,
|
|
3343
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3321
3344
|
});
|
|
3322
3345
|
continue;
|
|
3323
3346
|
}
|
|
3324
3347
|
if ($t(l)) {
|
|
3325
|
-
var
|
|
3326
|
-
if (!
|
|
3327
|
-
throw new
|
|
3328
|
-
var m = me(
|
|
3348
|
+
var d = l.children, g = l.value, x = i[g];
|
|
3349
|
+
if (!Mn(x))
|
|
3350
|
+
throw new Nn(g, "function", o);
|
|
3351
|
+
var m = me(d, t, r, n, i, s), C = x(m.map(function(w) {
|
|
3329
3352
|
return w.value;
|
|
3330
3353
|
}));
|
|
3331
3354
|
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(w) {
|
|
@@ -3346,11 +3369,11 @@ function me(e, t, r, n, i, s, o) {
|
|
|
3346
3369
|
var A = l.options["=".concat(f)];
|
|
3347
3370
|
if (!A) {
|
|
3348
3371
|
if (!Intl.PluralRules)
|
|
3349
|
-
throw new
|
|
3372
|
+
throw new xe(`Intl.PluralRules is not available in this environment.
|
|
3350
3373
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3351
|
-
`,
|
|
3352
|
-
var
|
|
3353
|
-
A = l.options[
|
|
3374
|
+
`, q.MISSING_INTL_API, o);
|
|
3375
|
+
var N = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3376
|
+
A = l.options[N] || l.options.other;
|
|
3354
3377
|
}
|
|
3355
3378
|
if (!A)
|
|
3356
3379
|
throw new lt(l.value, f, Object.keys(l.options), o);
|
|
@@ -3358,16 +3381,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3358
3381
|
continue;
|
|
3359
3382
|
}
|
|
3360
3383
|
}
|
|
3361
|
-
return
|
|
3384
|
+
return In(u);
|
|
3362
3385
|
}
|
|
3363
|
-
function
|
|
3386
|
+
function $n(e, t) {
|
|
3364
3387
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3365
3388
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3366
3389
|
}, {})) : e;
|
|
3367
3390
|
}
|
|
3368
|
-
function
|
|
3391
|
+
function Rn(e, t) {
|
|
3369
3392
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3370
|
-
return r[n] =
|
|
3393
|
+
return r[n] = $n(e[n], t[n]), r;
|
|
3371
3394
|
}, E({}, e)) : e;
|
|
3372
3395
|
}
|
|
3373
3396
|
function Oe(e) {
|
|
@@ -3384,39 +3407,39 @@ function Oe(e) {
|
|
|
3384
3407
|
}
|
|
3385
3408
|
};
|
|
3386
3409
|
}
|
|
3387
|
-
function
|
|
3410
|
+
function Un(e) {
|
|
3388
3411
|
return e === void 0 && (e = {
|
|
3389
3412
|
number: {},
|
|
3390
3413
|
dateTime: {},
|
|
3391
3414
|
pluralRules: {}
|
|
3392
3415
|
}), {
|
|
3393
|
-
getNumberFormat:
|
|
3416
|
+
getNumberFormat: Ae(function() {
|
|
3394
3417
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3395
3418
|
r[n] = arguments[n];
|
|
3396
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3419
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Se([void 0], r, !1)))();
|
|
3397
3420
|
}, {
|
|
3398
3421
|
cache: Oe(e.number),
|
|
3399
3422
|
strategy: Be.variadic
|
|
3400
3423
|
}),
|
|
3401
|
-
getDateTimeFormat:
|
|
3424
|
+
getDateTimeFormat: Ae(function() {
|
|
3402
3425
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3403
3426
|
r[n] = arguments[n];
|
|
3404
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3427
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Se([void 0], r, !1)))();
|
|
3405
3428
|
}, {
|
|
3406
3429
|
cache: Oe(e.dateTime),
|
|
3407
3430
|
strategy: Be.variadic
|
|
3408
3431
|
}),
|
|
3409
|
-
getPluralRules:
|
|
3432
|
+
getPluralRules: Ae(function() {
|
|
3410
3433
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3411
3434
|
r[n] = arguments[n];
|
|
3412
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3435
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Se([void 0], r, !1)))();
|
|
3413
3436
|
}, {
|
|
3414
3437
|
cache: Oe(e.pluralRules),
|
|
3415
3438
|
strategy: Be.variadic
|
|
3416
3439
|
})
|
|
3417
3440
|
};
|
|
3418
3441
|
}
|
|
3419
|
-
var
|
|
3442
|
+
var Gn = (
|
|
3420
3443
|
/** @class */
|
|
3421
3444
|
function() {
|
|
3422
3445
|
function e(t, r, n, i) {
|
|
@@ -3448,13 +3471,13 @@ var $n = (
|
|
|
3448
3471
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3449
3472
|
var o = i || {};
|
|
3450
3473
|
o.formatters;
|
|
3451
|
-
var u =
|
|
3474
|
+
var u = Wr(o, ["formatters"]);
|
|
3452
3475
|
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3453
3476
|
} else
|
|
3454
3477
|
this.ast = t;
|
|
3455
3478
|
if (!Array.isArray(this.ast))
|
|
3456
3479
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3457
|
-
this.formats =
|
|
3480
|
+
this.formats = Rn(e.formats, n), this.formatters = i && i.formatters || Un(this.formatterCache);
|
|
3458
3481
|
}
|
|
3459
3482
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3460
3483
|
get: function() {
|
|
@@ -3467,7 +3490,7 @@ var $n = (
|
|
|
3467
3490
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3468
3491
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3469
3492
|
}
|
|
3470
|
-
}, e.__parse =
|
|
3493
|
+
}, e.__parse = Pn, e.formats = {
|
|
3471
3494
|
number: {
|
|
3472
3495
|
integer: {
|
|
3473
3496
|
maximumFractionDigits: 0
|
|
@@ -3528,7 +3551,7 @@ var $n = (
|
|
|
3528
3551
|
}, e;
|
|
3529
3552
|
}()
|
|
3530
3553
|
);
|
|
3531
|
-
function
|
|
3554
|
+
function Dn(e, t) {
|
|
3532
3555
|
if (t == null)
|
|
3533
3556
|
return;
|
|
3534
3557
|
if (t in e)
|
|
@@ -3549,36 +3572,36 @@ function Rn(e, t) {
|
|
|
3549
3572
|
n = void 0;
|
|
3550
3573
|
return n;
|
|
3551
3574
|
}
|
|
3552
|
-
const
|
|
3575
|
+
const G = {}, Fn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Xt = (e, t) => {
|
|
3553
3576
|
if (t == null)
|
|
3554
3577
|
return;
|
|
3555
|
-
if (t in
|
|
3556
|
-
return
|
|
3557
|
-
const r =
|
|
3578
|
+
if (t in G && e in G[t])
|
|
3579
|
+
return G[t][e];
|
|
3580
|
+
const r = ve(t);
|
|
3558
3581
|
for (let n = 0; n < r.length; n++) {
|
|
3559
|
-
const i = r[n], s =
|
|
3582
|
+
const i = r[n], s = kn(i, e);
|
|
3560
3583
|
if (s)
|
|
3561
|
-
return
|
|
3584
|
+
return Fn(e, t, s);
|
|
3562
3585
|
}
|
|
3563
3586
|
};
|
|
3564
3587
|
let Xe;
|
|
3565
|
-
const
|
|
3566
|
-
function
|
|
3588
|
+
const ue = _e({});
|
|
3589
|
+
function jn(e) {
|
|
3567
3590
|
return Xe[e] || null;
|
|
3568
3591
|
}
|
|
3569
3592
|
function zt(e) {
|
|
3570
3593
|
return e in Xe;
|
|
3571
3594
|
}
|
|
3572
|
-
function
|
|
3595
|
+
function kn(e, t) {
|
|
3573
3596
|
if (!zt(e))
|
|
3574
3597
|
return null;
|
|
3575
|
-
const r =
|
|
3576
|
-
return
|
|
3598
|
+
const r = jn(e);
|
|
3599
|
+
return Dn(r, t);
|
|
3577
3600
|
}
|
|
3578
|
-
function
|
|
3601
|
+
function Vn(e) {
|
|
3579
3602
|
if (e == null)
|
|
3580
3603
|
return;
|
|
3581
|
-
const t =
|
|
3604
|
+
const t = ve(e);
|
|
3582
3605
|
for (let r = 0; r < t.length; r++) {
|
|
3583
3606
|
const n = t[r];
|
|
3584
3607
|
if (zt(n))
|
|
@@ -3586,55 +3609,55 @@ function Fn(e) {
|
|
|
3586
3609
|
}
|
|
3587
3610
|
}
|
|
3588
3611
|
function Wt(e, ...t) {
|
|
3589
|
-
delete
|
|
3612
|
+
delete G[e], ue.update((r) => (r[e] = zr.all([r[e] || {}, ...t]), r));
|
|
3590
3613
|
}
|
|
3591
|
-
|
|
3592
|
-
[
|
|
3614
|
+
K(
|
|
3615
|
+
[ue],
|
|
3593
3616
|
([e]) => Object.keys(e)
|
|
3594
3617
|
);
|
|
3595
|
-
|
|
3618
|
+
ue.subscribe((e) => Xe = e);
|
|
3596
3619
|
const pe = {};
|
|
3597
|
-
function
|
|
3620
|
+
function Xn(e, t) {
|
|
3598
3621
|
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3599
3622
|
}
|
|
3600
3623
|
function Zt(e) {
|
|
3601
3624
|
return pe[e];
|
|
3602
3625
|
}
|
|
3603
|
-
function
|
|
3604
|
-
return
|
|
3626
|
+
function zn(e) {
|
|
3627
|
+
return ve(e).map((t) => {
|
|
3605
3628
|
const r = Zt(t);
|
|
3606
3629
|
return [t, r ? [...r] : []];
|
|
3607
3630
|
}).filter(([, t]) => t.length > 0);
|
|
3608
3631
|
}
|
|
3609
3632
|
function je(e) {
|
|
3610
|
-
return e == null ? !1 :
|
|
3633
|
+
return e == null ? !1 : ve(e).some(
|
|
3611
3634
|
(t) => {
|
|
3612
3635
|
var r;
|
|
3613
3636
|
return (r = Zt(t)) == null ? void 0 : r.size;
|
|
3614
3637
|
}
|
|
3615
3638
|
);
|
|
3616
3639
|
}
|
|
3617
|
-
function
|
|
3640
|
+
function Wn(e, t) {
|
|
3618
3641
|
return Promise.all(
|
|
3619
|
-
t.map((n) => (
|
|
3642
|
+
t.map((n) => (Xn(e, n), n().then((i) => i.default || i)))
|
|
3620
3643
|
).then((n) => Wt(e, ...n));
|
|
3621
3644
|
}
|
|
3622
|
-
const
|
|
3645
|
+
const re = {};
|
|
3623
3646
|
function Qt(e) {
|
|
3624
3647
|
if (!je(e))
|
|
3625
|
-
return e in
|
|
3626
|
-
const t =
|
|
3627
|
-
return
|
|
3648
|
+
return e in re ? re[e] : Promise.resolve();
|
|
3649
|
+
const t = zn(e);
|
|
3650
|
+
return re[e] = Promise.all(
|
|
3628
3651
|
t.map(
|
|
3629
|
-
([r, n]) =>
|
|
3652
|
+
([r, n]) => Wn(r, n)
|
|
3630
3653
|
)
|
|
3631
3654
|
).then(() => {
|
|
3632
3655
|
if (je(e))
|
|
3633
3656
|
return Qt(e);
|
|
3634
|
-
delete
|
|
3635
|
-
}),
|
|
3657
|
+
delete re[e];
|
|
3658
|
+
}), re[e];
|
|
3636
3659
|
}
|
|
3637
|
-
const
|
|
3660
|
+
const Zn = {
|
|
3638
3661
|
number: {
|
|
3639
3662
|
scientific: { notation: "scientific" },
|
|
3640
3663
|
engineering: { notation: "engineering" },
|
|
@@ -3663,46 +3686,46 @@ const Xn = {
|
|
|
3663
3686
|
timeZoneName: "short"
|
|
3664
3687
|
}
|
|
3665
3688
|
}
|
|
3666
|
-
},
|
|
3689
|
+
}, Qn = {
|
|
3667
3690
|
fallbackLocale: null,
|
|
3668
3691
|
loadingDelay: 200,
|
|
3669
|
-
formats:
|
|
3692
|
+
formats: Zn,
|
|
3670
3693
|
warnOnMissingMessages: !0,
|
|
3671
3694
|
handleMissingMessage: void 0,
|
|
3672
3695
|
ignoreTag: !0
|
|
3673
|
-
},
|
|
3674
|
-
function
|
|
3675
|
-
return
|
|
3696
|
+
}, Jn = Qn;
|
|
3697
|
+
function Y() {
|
|
3698
|
+
return Jn;
|
|
3676
3699
|
}
|
|
3677
3700
|
const Pe = _e(!1);
|
|
3678
|
-
var
|
|
3701
|
+
var qn = Object.defineProperty, Yn = Object.defineProperties, Kn = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, ei = Object.prototype.hasOwnProperty, ti = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ri = (e, t) => {
|
|
3679
3702
|
for (var r in t || (t = {}))
|
|
3680
|
-
|
|
3703
|
+
ei.call(t, r) && ct(e, r, t[r]);
|
|
3681
3704
|
if (ft)
|
|
3682
3705
|
for (var r of ft(t))
|
|
3683
|
-
|
|
3706
|
+
ti.call(t, r) && ct(e, r, t[r]);
|
|
3684
3707
|
return e;
|
|
3685
|
-
},
|
|
3708
|
+
}, ni = (e, t) => Yn(e, Kn(t));
|
|
3686
3709
|
let ke;
|
|
3687
3710
|
const be = _e(null);
|
|
3688
3711
|
function gt(e) {
|
|
3689
3712
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3690
3713
|
}
|
|
3691
|
-
function
|
|
3714
|
+
function ve(e, t = Y().fallbackLocale) {
|
|
3692
3715
|
const r = gt(e);
|
|
3693
3716
|
return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
|
|
3694
3717
|
}
|
|
3695
|
-
function
|
|
3718
|
+
function V() {
|
|
3696
3719
|
return ke != null ? ke : void 0;
|
|
3697
3720
|
}
|
|
3698
3721
|
be.subscribe((e) => {
|
|
3699
3722
|
ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3700
3723
|
});
|
|
3701
|
-
const
|
|
3702
|
-
if (e &&
|
|
3703
|
-
const { loadingDelay: t } =
|
|
3724
|
+
const ii = (e) => {
|
|
3725
|
+
if (e && Vn(e) && je(e)) {
|
|
3726
|
+
const { loadingDelay: t } = Y();
|
|
3704
3727
|
let r;
|
|
3705
|
-
return typeof window != "undefined" &&
|
|
3728
|
+
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
|
3706
3729
|
() => Pe.set(!0),
|
|
3707
3730
|
t
|
|
3708
3731
|
) : Pe.set(!0), Qt(e).then(() => {
|
|
@@ -3712,8 +3735,8 @@ const ti = (e) => {
|
|
|
3712
3735
|
});
|
|
3713
3736
|
}
|
|
3714
3737
|
return be.set(e);
|
|
3715
|
-
},
|
|
3716
|
-
set:
|
|
3738
|
+
}, ee = ni(ri({}, be), {
|
|
3739
|
+
set: ii
|
|
3717
3740
|
}), Te = (e) => {
|
|
3718
3741
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3719
3742
|
return (n) => {
|
|
@@ -3721,83 +3744,83 @@ const ti = (e) => {
|
|
|
3721
3744
|
return i in t ? t[i] : t[i] = e(n);
|
|
3722
3745
|
};
|
|
3723
3746
|
};
|
|
3724
|
-
var
|
|
3747
|
+
var si = Object.defineProperty, ye = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
|
|
3725
3748
|
for (var r in t || (t = {}))
|
|
3726
|
-
|
|
3749
|
+
Jt.call(t, r) && mt(e, r, t[r]);
|
|
3727
3750
|
if (ye)
|
|
3728
3751
|
for (var r of ye(t))
|
|
3729
|
-
|
|
3752
|
+
qt.call(t, r) && mt(e, r, t[r]);
|
|
3730
3753
|
return e;
|
|
3731
|
-
},
|
|
3754
|
+
}, te = (e, t) => {
|
|
3732
3755
|
var r = {};
|
|
3733
3756
|
for (var n in e)
|
|
3734
|
-
|
|
3757
|
+
Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3735
3758
|
if (e != null && ye)
|
|
3736
3759
|
for (var n of ye(e))
|
|
3737
|
-
t.indexOf(n) < 0 &&
|
|
3760
|
+
t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
|
|
3738
3761
|
return r;
|
|
3739
3762
|
};
|
|
3740
|
-
const
|
|
3741
|
-
const { formats: r } =
|
|
3763
|
+
const oe = (e, t) => {
|
|
3764
|
+
const { formats: r } = Y();
|
|
3742
3765
|
if (e in r && t in r[e])
|
|
3743
3766
|
return r[e][t];
|
|
3744
3767
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3745
|
-
},
|
|
3768
|
+
}, oi = Te(
|
|
3746
3769
|
(e) => {
|
|
3747
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3770
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3748
3771
|
if (r == null)
|
|
3749
3772
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3750
|
-
return n && (i =
|
|
3773
|
+
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
3751
3774
|
}
|
|
3752
|
-
),
|
|
3775
|
+
), ai = Te(
|
|
3753
3776
|
(e) => {
|
|
3754
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3777
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3755
3778
|
if (r == null)
|
|
3756
3779
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3757
|
-
return n ? i =
|
|
3780
|
+
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3758
3781
|
}
|
|
3759
|
-
),
|
|
3782
|
+
), ui = Te(
|
|
3760
3783
|
(e) => {
|
|
3761
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3784
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
3762
3785
|
if (r == null)
|
|
3763
3786
|
throw new Error(
|
|
3764
3787
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3765
3788
|
);
|
|
3766
|
-
return n ? i =
|
|
3789
|
+
return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3767
3790
|
}
|
|
3768
|
-
),
|
|
3791
|
+
), hi = (e = {}) => {
|
|
3769
3792
|
var t = e, {
|
|
3770
|
-
locale: r =
|
|
3771
|
-
} = t, n =
|
|
3793
|
+
locale: r = V()
|
|
3794
|
+
} = t, n = te(t, [
|
|
3772
3795
|
"locale"
|
|
3773
3796
|
]);
|
|
3774
|
-
return
|
|
3775
|
-
},
|
|
3797
|
+
return oi(ze({ locale: r }, n));
|
|
3798
|
+
}, li = (e = {}) => {
|
|
3776
3799
|
var t = e, {
|
|
3777
|
-
locale: r =
|
|
3778
|
-
} = t, n =
|
|
3800
|
+
locale: r = V()
|
|
3801
|
+
} = t, n = te(t, [
|
|
3779
3802
|
"locale"
|
|
3780
3803
|
]);
|
|
3781
|
-
return
|
|
3782
|
-
},
|
|
3804
|
+
return ai(ze({ locale: r }, n));
|
|
3805
|
+
}, fi = (e = {}) => {
|
|
3783
3806
|
var t = e, {
|
|
3784
|
-
locale: r =
|
|
3785
|
-
} = t, n =
|
|
3807
|
+
locale: r = V()
|
|
3808
|
+
} = t, n = te(t, [
|
|
3786
3809
|
"locale"
|
|
3787
3810
|
]);
|
|
3788
|
-
return
|
|
3789
|
-
},
|
|
3811
|
+
return ui(ze({ locale: r }, n));
|
|
3812
|
+
}, ci = Te(
|
|
3790
3813
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3791
|
-
(e, t =
|
|
3792
|
-
ignoreTag:
|
|
3814
|
+
(e, t = V()) => new Gn(e, t, Y().formats, {
|
|
3815
|
+
ignoreTag: Y().ignoreTag
|
|
3793
3816
|
})
|
|
3794
|
-
),
|
|
3817
|
+
), gi = (e, t = {}) => {
|
|
3795
3818
|
var r, n, i, s;
|
|
3796
3819
|
let o = t;
|
|
3797
3820
|
typeof e == "object" && (o = e, e = o.id);
|
|
3798
3821
|
const {
|
|
3799
3822
|
values: u,
|
|
3800
|
-
locale: h =
|
|
3823
|
+
locale: h = V(),
|
|
3801
3824
|
default: a
|
|
3802
3825
|
} = o;
|
|
3803
3826
|
if (h == null)
|
|
@@ -3806,7 +3829,7 @@ const ae = (e, t) => {
|
|
|
3806
3829
|
);
|
|
3807
3830
|
let l = Xt(e, h);
|
|
3808
3831
|
if (!l)
|
|
3809
|
-
l = (s = (i = (n = (r =
|
|
3832
|
+
l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3810
3833
|
else if (typeof l != "string")
|
|
3811
3834
|
return console.warn(
|
|
3812
3835
|
`[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.`
|
|
@@ -3815,7 +3838,7 @@ const ae = (e, t) => {
|
|
|
3815
3838
|
return l;
|
|
3816
3839
|
let c = l;
|
|
3817
3840
|
try {
|
|
3818
|
-
c =
|
|
3841
|
+
c = ci(l, h).format(u);
|
|
3819
3842
|
} catch (f) {
|
|
3820
3843
|
f instanceof Error && console.warn(
|
|
3821
3844
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3823,16 +3846,16 @@ const ae = (e, t) => {
|
|
|
3823
3846
|
);
|
|
3824
3847
|
}
|
|
3825
3848
|
return c;
|
|
3826
|
-
},
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3849
|
+
}, mi = (e, t) => fi(t).format(e), pi = (e, t) => li(t).format(e), di = (e, t) => hi(t).format(e), bi = (e, t = V()) => Xt(e, t), yi = K([ee, ue], () => gi);
|
|
3850
|
+
K([ee], () => mi);
|
|
3851
|
+
K([ee], () => pi);
|
|
3852
|
+
K([ee], () => di);
|
|
3853
|
+
K([ee, ue], () => bi);
|
|
3831
3854
|
function pt(e, t) {
|
|
3832
3855
|
Wt(e, t);
|
|
3833
3856
|
}
|
|
3834
|
-
function
|
|
3835
|
-
|
|
3857
|
+
function _i(e) {
|
|
3858
|
+
ee.set(e);
|
|
3836
3859
|
}
|
|
3837
3860
|
const dt = {
|
|
3838
3861
|
en: {
|
|
@@ -3944,18 +3967,18 @@ const dt = {
|
|
|
3944
3967
|
games: "games"
|
|
3945
3968
|
}
|
|
3946
3969
|
};
|
|
3947
|
-
function
|
|
3948
|
-
|
|
3970
|
+
function Ei(e) {
|
|
3971
|
+
ur(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
3949
3972
|
}
|
|
3950
3973
|
function bt(e, t, r) {
|
|
3951
3974
|
const n = e.slice();
|
|
3952
|
-
return n[
|
|
3975
|
+
return n[23] = t[r], n;
|
|
3953
3976
|
}
|
|
3954
3977
|
function yt(e, t, r) {
|
|
3955
3978
|
const n = e.slice();
|
|
3956
|
-
return n[
|
|
3979
|
+
return n[23] = t[r], n;
|
|
3957
3980
|
}
|
|
3958
|
-
function
|
|
3981
|
+
function xi(e) {
|
|
3959
3982
|
let t, r, n = (
|
|
3960
3983
|
/*$_*/
|
|
3961
3984
|
e[5]("topCategories") + ""
|
|
@@ -3968,34 +3991,34 @@ function yi(e) {
|
|
|
3968
3991
|
), f = [];
|
|
3969
3992
|
for (let g = 0; g < c.length; g += 1)
|
|
3970
3993
|
f[g] = _t(yt(e, c, g));
|
|
3971
|
-
let
|
|
3994
|
+
let p = fe(
|
|
3972
3995
|
/*otherCategories*/
|
|
3973
3996
|
e[4]
|
|
3974
|
-
),
|
|
3975
|
-
for (let g = 0; g <
|
|
3976
|
-
|
|
3997
|
+
), d = [];
|
|
3998
|
+
for (let g = 0; g < p.length; g += 1)
|
|
3999
|
+
d[g] = Et(bt(e, p, g));
|
|
3977
4000
|
return {
|
|
3978
4001
|
c() {
|
|
3979
4002
|
t = B("div"), r = B("h4"), i = U(n), s = R();
|
|
3980
4003
|
for (let g = 0; g < f.length; g += 1)
|
|
3981
4004
|
f[g].c();
|
|
3982
4005
|
o = R(), u = B("h4"), a = U(h), l = R();
|
|
3983
|
-
for (let g = 0; g <
|
|
3984
|
-
|
|
4006
|
+
for (let g = 0; g < d.length; g += 1)
|
|
4007
|
+
d[g].c();
|
|
3985
4008
|
H(r, "class", "CategoryTitle"), H(u, "class", "CategoryTitle"), H(t, "class", "CasinoCategories");
|
|
3986
4009
|
},
|
|
3987
|
-
m(g,
|
|
3988
|
-
|
|
4010
|
+
m(g, x) {
|
|
4011
|
+
k(g, t, x), v(t, r), v(r, i), v(t, s);
|
|
3989
4012
|
for (let m = 0; m < f.length; m += 1)
|
|
3990
4013
|
f[m] && f[m].m(t, null);
|
|
3991
|
-
|
|
3992
|
-
for (let m = 0; m <
|
|
3993
|
-
|
|
4014
|
+
v(t, o), v(t, u), v(u, a), v(t, l);
|
|
4015
|
+
for (let m = 0; m < d.length; m += 1)
|
|
4016
|
+
d[m] && d[m].m(t, null);
|
|
3994
4017
|
},
|
|
3995
|
-
p(g,
|
|
3996
|
-
if (
|
|
4018
|
+
p(g, x) {
|
|
4019
|
+
if (x & /*$_*/
|
|
3997
4020
|
32 && n !== (n = /*$_*/
|
|
3998
|
-
g[5]("topCategories") + "") &&
|
|
4021
|
+
g[5]("topCategories") + "") && D(i, n), x & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3999
4022
|
105) {
|
|
4000
4023
|
c = fe(
|
|
4001
4024
|
/*topCategories*/
|
|
@@ -4004,160 +4027,160 @@ function yi(e) {
|
|
|
4004
4027
|
let m;
|
|
4005
4028
|
for (m = 0; m < c.length; m += 1) {
|
|
4006
4029
|
const C = yt(g, c, m);
|
|
4007
|
-
f[m] ? f[m].p(C,
|
|
4030
|
+
f[m] ? f[m].p(C, x) : (f[m] = _t(C), f[m].c(), f[m].m(t, o));
|
|
4008
4031
|
}
|
|
4009
4032
|
for (; m < f.length; m += 1)
|
|
4010
4033
|
f[m].d(1);
|
|
4011
4034
|
f.length = c.length;
|
|
4012
4035
|
}
|
|
4013
|
-
if (
|
|
4036
|
+
if (x & /*$_*/
|
|
4014
4037
|
32 && h !== (h = /*$_*/
|
|
4015
|
-
g[5]("otherCategories") + "") &&
|
|
4038
|
+
g[5]("otherCategories") + "") && D(a, h), x & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
4016
4039
|
113) {
|
|
4017
|
-
|
|
4040
|
+
p = fe(
|
|
4018
4041
|
/*otherCategories*/
|
|
4019
4042
|
g[4]
|
|
4020
4043
|
);
|
|
4021
4044
|
let m;
|
|
4022
|
-
for (m = 0; m <
|
|
4023
|
-
const C = bt(g,
|
|
4024
|
-
|
|
4045
|
+
for (m = 0; m < p.length; m += 1) {
|
|
4046
|
+
const C = bt(g, p, m);
|
|
4047
|
+
d[m] ? d[m].p(C, x) : (d[m] = Et(C), d[m].c(), d[m].m(t, null));
|
|
4025
4048
|
}
|
|
4026
|
-
for (; m <
|
|
4027
|
-
|
|
4028
|
-
|
|
4049
|
+
for (; m < d.length; m += 1)
|
|
4050
|
+
d[m].d(1);
|
|
4051
|
+
d.length = p.length;
|
|
4029
4052
|
}
|
|
4030
4053
|
},
|
|
4031
4054
|
d(g) {
|
|
4032
|
-
g &&
|
|
4055
|
+
g && F(t), et(f, g), et(d, g);
|
|
4033
4056
|
}
|
|
4034
4057
|
};
|
|
4035
4058
|
}
|
|
4036
|
-
function
|
|
4059
|
+
function vi(e) {
|
|
4037
4060
|
let t;
|
|
4038
4061
|
return {
|
|
4039
4062
|
c() {
|
|
4040
4063
|
t = B("p"), t.textContent = "Loading, please wait...", H(t, "class", "Message");
|
|
4041
4064
|
},
|
|
4042
4065
|
m(r, n) {
|
|
4043
|
-
|
|
4066
|
+
k(r, t, n);
|
|
4044
4067
|
},
|
|
4045
|
-
p:
|
|
4068
|
+
p: I,
|
|
4046
4069
|
d(r) {
|
|
4047
|
-
r &&
|
|
4070
|
+
r && F(t);
|
|
4048
4071
|
}
|
|
4049
4072
|
};
|
|
4050
4073
|
}
|
|
4051
4074
|
function _t(e) {
|
|
4052
4075
|
let t, r, n, i, s, o, u, h = (
|
|
4053
4076
|
/*category*/
|
|
4054
|
-
e[
|
|
4077
|
+
e[23].name + ""
|
|
4055
4078
|
), a, l, c, f = (
|
|
4056
4079
|
/*category*/
|
|
4057
|
-
e[
|
|
4058
|
-
),
|
|
4080
|
+
e[23].games.count + ""
|
|
4081
|
+
), p, d, g = (
|
|
4059
4082
|
/*$_*/
|
|
4060
4083
|
e[5]("games") + ""
|
|
4061
|
-
),
|
|
4062
|
-
function
|
|
4084
|
+
), x, m, C, A;
|
|
4085
|
+
function N() {
|
|
4063
4086
|
return (
|
|
4064
4087
|
/*click_handler*/
|
|
4065
|
-
e[
|
|
4088
|
+
e[15](
|
|
4066
4089
|
/*category*/
|
|
4067
|
-
e[
|
|
4090
|
+
e[23]
|
|
4068
4091
|
)
|
|
4069
4092
|
);
|
|
4070
4093
|
}
|
|
4071
4094
|
return {
|
|
4072
4095
|
c() {
|
|
4073
|
-
t = B("div"), r = B("img"), s = R(), o = B("div"), u = B("p"), a = U(h), l = R(), c = B("p"),
|
|
4074
|
-
e[
|
|
4075
|
-
e[
|
|
4096
|
+
t = B("div"), r = B("img"), s = R(), o = B("div"), u = B("p"), a = U(h), l = R(), c = B("p"), p = U(f), d = R(), x = U(g), de(r.src, n = /*category*/
|
|
4097
|
+
e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
4098
|
+
e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", m = "Category " + /*activecategory*/
|
|
4076
4099
|
(e[0] === /*category*/
|
|
4077
|
-
e[
|
|
4100
|
+
e[23].id ? "Active" : ""));
|
|
4078
4101
|
},
|
|
4079
4102
|
m(w, S) {
|
|
4080
|
-
|
|
4103
|
+
k(w, t, S), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, x), C || (A = Ct(t, "click", N), C = !0);
|
|
4081
4104
|
},
|
|
4082
4105
|
p(w, S) {
|
|
4083
4106
|
e = w, S & /*topCategories*/
|
|
4084
4107
|
8 && !de(r.src, n = /*category*/
|
|
4085
|
-
e[
|
|
4108
|
+
e[23].icon) && H(r, "src", n), S & /*topCategories*/
|
|
4086
4109
|
8 && i !== (i = /*category*/
|
|
4087
|
-
e[
|
|
4110
|
+
e[23].name) && H(r, "alt", i), S & /*topCategories*/
|
|
4088
4111
|
8 && h !== (h = /*category*/
|
|
4089
|
-
e[
|
|
4112
|
+
e[23].name + "") && D(a, h), S & /*topCategories*/
|
|
4090
4113
|
8 && f !== (f = /*category*/
|
|
4091
|
-
e[
|
|
4114
|
+
e[23].games.count + "") && D(p, f), S & /*$_*/
|
|
4092
4115
|
32 && g !== (g = /*$_*/
|
|
4093
|
-
e[5]("games") + "") &&
|
|
4116
|
+
e[5]("games") + "") && D(x, g), S & /*activecategory, topCategories*/
|
|
4094
4117
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
4095
4118
|
(e[0] === /*category*/
|
|
4096
|
-
e[
|
|
4119
|
+
e[23].id ? "Active" : "")) && H(t, "class", m);
|
|
4097
4120
|
},
|
|
4098
4121
|
d(w) {
|
|
4099
|
-
w &&
|
|
4122
|
+
w && F(t), C = !1, A();
|
|
4100
4123
|
}
|
|
4101
4124
|
};
|
|
4102
4125
|
}
|
|
4103
4126
|
function Et(e) {
|
|
4104
4127
|
let t, r, n, i, s, o, u, h = (
|
|
4105
4128
|
/*category*/
|
|
4106
|
-
e[
|
|
4129
|
+
e[23].name + ""
|
|
4107
4130
|
), a, l, c, f = (
|
|
4108
4131
|
/*category*/
|
|
4109
|
-
e[
|
|
4110
|
-
),
|
|
4132
|
+
e[23].games.count + ""
|
|
4133
|
+
), p, d, g = (
|
|
4111
4134
|
/*$_*/
|
|
4112
4135
|
e[5]("games") + ""
|
|
4113
|
-
),
|
|
4136
|
+
), x, m, C, A, N;
|
|
4114
4137
|
function w() {
|
|
4115
4138
|
return (
|
|
4116
4139
|
/*click_handler_1*/
|
|
4117
|
-
e[
|
|
4140
|
+
e[16](
|
|
4118
4141
|
/*category*/
|
|
4119
|
-
e[
|
|
4142
|
+
e[23]
|
|
4120
4143
|
)
|
|
4121
4144
|
);
|
|
4122
4145
|
}
|
|
4123
4146
|
return {
|
|
4124
4147
|
c() {
|
|
4125
|
-
t = B("div"), r = B("img"), s = R(), o = B("div"), u = B("p"), a = U(h), l = R(), c = B("p"),
|
|
4126
|
-
e[
|
|
4127
|
-
e[
|
|
4148
|
+
t = B("div"), r = B("img"), s = R(), o = B("div"), u = B("p"), a = U(h), l = R(), c = B("p"), p = U(f), d = R(), x = U(g), m = R(), de(r.src, n = /*category*/
|
|
4149
|
+
e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
4150
|
+
e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", C = "Category " + /*activecategory*/
|
|
4128
4151
|
(e[0] === /*category*/
|
|
4129
|
-
e[
|
|
4152
|
+
e[23].id ? "Active" : ""));
|
|
4130
4153
|
},
|
|
4131
|
-
m(S,
|
|
4132
|
-
|
|
4154
|
+
m(S, L) {
|
|
4155
|
+
k(S, t, L), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, x), v(t, m), A || (N = Ct(t, "click", w), A = !0);
|
|
4133
4156
|
},
|
|
4134
|
-
p(S,
|
|
4135
|
-
e = S,
|
|
4157
|
+
p(S, L) {
|
|
4158
|
+
e = S, L & /*otherCategories*/
|
|
4136
4159
|
16 && !de(r.src, n = /*category*/
|
|
4137
|
-
e[
|
|
4160
|
+
e[23].icon) && H(r, "src", n), L & /*otherCategories*/
|
|
4138
4161
|
16 && i !== (i = /*category*/
|
|
4139
|
-
e[
|
|
4162
|
+
e[23].name) && H(r, "alt", i), L & /*otherCategories*/
|
|
4140
4163
|
16 && h !== (h = /*category*/
|
|
4141
|
-
e[
|
|
4164
|
+
e[23].name + "") && D(a, h), L & /*otherCategories*/
|
|
4142
4165
|
16 && f !== (f = /*category*/
|
|
4143
|
-
e[
|
|
4166
|
+
e[23].games.count + "") && D(p, f), L & /*$_*/
|
|
4144
4167
|
32 && g !== (g = /*$_*/
|
|
4145
|
-
e[5]("games") + "") &&
|
|
4168
|
+
e[5]("games") + "") && D(x, g), L & /*activecategory, otherCategories*/
|
|
4146
4169
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
4147
4170
|
(e[0] === /*category*/
|
|
4148
|
-
e[
|
|
4171
|
+
e[23].id ? "Active" : "")) && H(t, "class", C);
|
|
4149
4172
|
},
|
|
4150
4173
|
d(S) {
|
|
4151
|
-
S &&
|
|
4174
|
+
S && F(t), A = !1, N();
|
|
4152
4175
|
}
|
|
4153
4176
|
};
|
|
4154
4177
|
}
|
|
4155
|
-
function
|
|
4178
|
+
function Ti(e) {
|
|
4156
4179
|
let t;
|
|
4157
4180
|
function r(s, o) {
|
|
4158
4181
|
return (
|
|
4159
4182
|
/*isLoading*/
|
|
4160
|
-
s[2] ?
|
|
4183
|
+
s[2] ? vi : xi
|
|
4161
4184
|
);
|
|
4162
4185
|
}
|
|
4163
4186
|
let n = r(e), i = n(e);
|
|
@@ -4166,92 +4189,79 @@ function Ei(e) {
|
|
|
4166
4189
|
t = B("div"), i.c();
|
|
4167
4190
|
},
|
|
4168
4191
|
m(s, o) {
|
|
4169
|
-
|
|
4192
|
+
k(s, t, o), i.m(t, null), e[17](t);
|
|
4170
4193
|
},
|
|
4171
4194
|
p(s, [o]) {
|
|
4172
4195
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
4173
4196
|
},
|
|
4174
|
-
i:
|
|
4175
|
-
o:
|
|
4197
|
+
i: I,
|
|
4198
|
+
o: I,
|
|
4176
4199
|
d(s) {
|
|
4177
|
-
s &&
|
|
4200
|
+
s && F(t), i.d(), e[17](null);
|
|
4178
4201
|
}
|
|
4179
4202
|
};
|
|
4180
4203
|
}
|
|
4181
|
-
function
|
|
4204
|
+
function Ci(e, t, r) {
|
|
4182
4205
|
let n;
|
|
4183
|
-
|
|
4184
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f, d = !1;
|
|
4185
|
-
const
|
|
4186
|
-
let
|
|
4206
|
+
ar(e, yi, (b) => r(5, n = b));
|
|
4207
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
|
|
4208
|
+
const g = [];
|
|
4209
|
+
let x = [], m = [];
|
|
4187
4210
|
Object.keys(dt).forEach((b) => {
|
|
4188
4211
|
pt(b, dt[b]);
|
|
4189
4212
|
});
|
|
4190
|
-
const
|
|
4191
|
-
fetch(c).then((
|
|
4192
|
-
Object.keys(
|
|
4193
|
-
pt(
|
|
4213
|
+
const C = () => {
|
|
4214
|
+
fetch(c).then(($) => $.json()).then(($) => {
|
|
4215
|
+
Object.keys($).forEach((he) => {
|
|
4216
|
+
pt(he, $[he]);
|
|
4194
4217
|
});
|
|
4195
|
-
}).catch((
|
|
4196
|
-
console.log(
|
|
4218
|
+
}).catch(($) => {
|
|
4219
|
+
console.log($);
|
|
4197
4220
|
});
|
|
4198
|
-
},
|
|
4221
|
+
}, A = () => {
|
|
4199
4222
|
r(2, d = !0);
|
|
4200
4223
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4201
|
-
b.searchParams.append("language", o), fetch(b).then((
|
|
4224
|
+
b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
|
|
4202
4225
|
r(2, d = !1);
|
|
4203
|
-
const
|
|
4204
|
-
|
|
4205
|
-
const We =
|
|
4226
|
+
const he = h.split(",").map((j) => j.trim());
|
|
4227
|
+
g.push(...$.items);
|
|
4228
|
+
const We = g.filter((j) => !he.some((er) => {
|
|
4206
4229
|
var Ze;
|
|
4207
|
-
return ((Ze =
|
|
4230
|
+
return ((Ze = j.flags) == null ? void 0 : Ze.indexOf(er)) >= 0;
|
|
4208
4231
|
}));
|
|
4209
|
-
r(3,
|
|
4232
|
+
r(3, x = We.filter((j) => j.isTopCategory === !0)), r(4, m = We.filter((j) => j.isTopCategory === !1));
|
|
4210
4233
|
});
|
|
4211
|
-
},
|
|
4234
|
+
}, N = (b) => {
|
|
4212
4235
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4213
|
-
}, I = () => {
|
|
4214
|
-
di(o);
|
|
4215
4236
|
}, w = () => {
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
() => {
|
|
4223
|
-
f.appendChild(L);
|
|
4224
|
-
},
|
|
4225
|
-
1
|
|
4226
|
-
), setTimeout(
|
|
4227
|
-
() => {
|
|
4228
|
-
},
|
|
4229
|
-
500
|
|
4230
|
-
);
|
|
4231
|
-
});
|
|
4232
|
-
}, N = (b) => A(b.id), Kt = (b) => A(b.id);
|
|
4233
|
-
function er(b) {
|
|
4237
|
+
_i(o);
|
|
4238
|
+
};
|
|
4239
|
+
pr(() => () => {
|
|
4240
|
+
});
|
|
4241
|
+
const S = (b) => N(b.id), L = (b) => N(b.id);
|
|
4242
|
+
function Kt(b) {
|
|
4234
4243
|
Ne[b ? "unshift" : "push"](() => {
|
|
4235
|
-
|
|
4244
|
+
p = b, r(1, p);
|
|
4236
4245
|
});
|
|
4237
4246
|
}
|
|
4238
4247
|
return e.$$set = (b) => {
|
|
4239
|
-
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl);
|
|
4248
|
+
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
|
|
4240
4249
|
}, e.$$.update = () => {
|
|
4241
4250
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4242
|
-
384 && i && s &&
|
|
4243
|
-
8192 && c &&
|
|
4244
|
-
512 && o &&
|
|
4245
|
-
2050 && a &&
|
|
4246
|
-
4098 && l &&
|
|
4251
|
+
384 && i && s && A(), e.$$.dirty & /*translationurl*/
|
|
4252
|
+
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4253
|
+
512 && o && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4254
|
+
2050 && a && p && Ar(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4255
|
+
4098 && l && p && Br(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4256
|
+
16386 && f && p && wr(p, `${f}.Style`);
|
|
4247
4257
|
}, [
|
|
4248
4258
|
u,
|
|
4249
|
-
|
|
4259
|
+
p,
|
|
4250
4260
|
d,
|
|
4251
|
-
|
|
4252
|
-
|
|
4261
|
+
x,
|
|
4262
|
+
m,
|
|
4253
4263
|
n,
|
|
4254
|
-
|
|
4264
|
+
N,
|
|
4255
4265
|
i,
|
|
4256
4266
|
s,
|
|
4257
4267
|
o,
|
|
@@ -4259,9 +4269,10 @@ function vi(e, t, r) {
|
|
|
4259
4269
|
a,
|
|
4260
4270
|
l,
|
|
4261
4271
|
c,
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4272
|
+
f,
|
|
4273
|
+
S,
|
|
4274
|
+
L,
|
|
4275
|
+
Kt
|
|
4265
4276
|
];
|
|
4266
4277
|
}
|
|
4267
4278
|
class Yt extends Hr {
|
|
@@ -4269,9 +4280,9 @@ class Yt extends Hr {
|
|
|
4269
4280
|
super(), Tr(
|
|
4270
4281
|
this,
|
|
4271
4282
|
t,
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4283
|
+
Ci,
|
|
4284
|
+
Ti,
|
|
4285
|
+
vt,
|
|
4275
4286
|
{
|
|
4276
4287
|
endpoint: 7,
|
|
4277
4288
|
datasource: 8,
|
|
@@ -4280,102 +4291,112 @@ class Yt extends Hr {
|
|
|
4280
4291
|
excludedflags: 10,
|
|
4281
4292
|
clientstyling: 11,
|
|
4282
4293
|
clientstylingurl: 12,
|
|
4283
|
-
translationurl: 13
|
|
4294
|
+
translationurl: 13,
|
|
4295
|
+
mbsource: 14
|
|
4284
4296
|
},
|
|
4285
|
-
|
|
4297
|
+
Ei
|
|
4286
4298
|
);
|
|
4287
4299
|
}
|
|
4288
4300
|
get endpoint() {
|
|
4289
4301
|
return this.$$.ctx[7];
|
|
4290
4302
|
}
|
|
4291
4303
|
set endpoint(t) {
|
|
4292
|
-
this.$$set({ endpoint: t }),
|
|
4304
|
+
this.$$set({ endpoint: t }), M();
|
|
4293
4305
|
}
|
|
4294
4306
|
get datasource() {
|
|
4295
4307
|
return this.$$.ctx[8];
|
|
4296
4308
|
}
|
|
4297
4309
|
set datasource(t) {
|
|
4298
|
-
this.$$set({ datasource: t }),
|
|
4310
|
+
this.$$set({ datasource: t }), M();
|
|
4299
4311
|
}
|
|
4300
4312
|
get lang() {
|
|
4301
4313
|
return this.$$.ctx[9];
|
|
4302
4314
|
}
|
|
4303
4315
|
set lang(t) {
|
|
4304
|
-
this.$$set({ lang: t }),
|
|
4316
|
+
this.$$set({ lang: t }), M();
|
|
4305
4317
|
}
|
|
4306
4318
|
get activecategory() {
|
|
4307
4319
|
return this.$$.ctx[0];
|
|
4308
4320
|
}
|
|
4309
4321
|
set activecategory(t) {
|
|
4310
|
-
this.$$set({ activecategory: t }),
|
|
4322
|
+
this.$$set({ activecategory: t }), M();
|
|
4311
4323
|
}
|
|
4312
4324
|
get excludedflags() {
|
|
4313
4325
|
return this.$$.ctx[10];
|
|
4314
4326
|
}
|
|
4315
4327
|
set excludedflags(t) {
|
|
4316
|
-
this.$$set({ excludedflags: t }),
|
|
4328
|
+
this.$$set({ excludedflags: t }), M();
|
|
4317
4329
|
}
|
|
4318
4330
|
get clientstyling() {
|
|
4319
4331
|
return this.$$.ctx[11];
|
|
4320
4332
|
}
|
|
4321
4333
|
set clientstyling(t) {
|
|
4322
|
-
this.$$set({ clientstyling: t }),
|
|
4334
|
+
this.$$set({ clientstyling: t }), M();
|
|
4323
4335
|
}
|
|
4324
4336
|
get clientstylingurl() {
|
|
4325
4337
|
return this.$$.ctx[12];
|
|
4326
4338
|
}
|
|
4327
4339
|
set clientstylingurl(t) {
|
|
4328
|
-
this.$$set({ clientstylingurl: t }),
|
|
4340
|
+
this.$$set({ clientstylingurl: t }), M();
|
|
4329
4341
|
}
|
|
4330
4342
|
get translationurl() {
|
|
4331
4343
|
return this.$$.ctx[13];
|
|
4332
4344
|
}
|
|
4333
4345
|
set translationurl(t) {
|
|
4334
|
-
this.$$set({ translationurl: t }),
|
|
4346
|
+
this.$$set({ translationurl: t }), M();
|
|
4347
|
+
}
|
|
4348
|
+
get mbsource() {
|
|
4349
|
+
return this.$$.ctx[14];
|
|
4350
|
+
}
|
|
4351
|
+
set mbsource(t) {
|
|
4352
|
+
this.$$set({ mbsource: t }), M();
|
|
4335
4353
|
}
|
|
4336
4354
|
}
|
|
4337
|
-
Cr(Yt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4338
|
-
const
|
|
4355
|
+
Cr(Yt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4356
|
+
const Ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4339
4357
|
__proto__: null,
|
|
4340
4358
|
default: Yt
|
|
4341
4359
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4342
4360
|
export {
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4361
|
+
ee as $,
|
|
4362
|
+
Li as A,
|
|
4363
|
+
Ee as B,
|
|
4364
|
+
de as C,
|
|
4365
|
+
wi as D,
|
|
4366
|
+
Si as E,
|
|
4367
|
+
fe as F,
|
|
4368
|
+
et as G,
|
|
4369
|
+
Oi as H,
|
|
4370
|
+
Pi as I,
|
|
4371
|
+
fr as J,
|
|
4372
|
+
Bi as K,
|
|
4373
|
+
Ii as L,
|
|
4353
4374
|
Hr as S,
|
|
4354
|
-
|
|
4375
|
+
Ni as _,
|
|
4355
4376
|
Wt as a,
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4377
|
+
ur as b,
|
|
4378
|
+
D as c,
|
|
4379
|
+
F as d,
|
|
4359
4380
|
H as e,
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4381
|
+
M as f,
|
|
4382
|
+
Ai as g,
|
|
4383
|
+
k as h,
|
|
4363
4384
|
Tr as i,
|
|
4364
|
-
|
|
4385
|
+
v as j,
|
|
4365
4386
|
B as k,
|
|
4366
4387
|
Ct as l,
|
|
4367
4388
|
R as m,
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4389
|
+
I as n,
|
|
4390
|
+
ar as o,
|
|
4391
|
+
pr as p,
|
|
4392
|
+
Ne as q,
|
|
4393
|
+
ae as r,
|
|
4394
|
+
vt as s,
|
|
4374
4395
|
U as t,
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4396
|
+
Ar as u,
|
|
4397
|
+
Br as v,
|
|
4398
|
+
wr as w,
|
|
4399
|
+
Cr as x,
|
|
4400
|
+
yi as y,
|
|
4401
|
+
Se as z
|
|
4381
4402
|
};
|