@everymatrix/casino-tournaments-thumbnail-rule 1.83.8 → 1.83.10
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/{CasinoTournamentsThumbnailRule-C0HvEppr.js → CasinoTournamentsThumbnailRule-2JYCthxM.js} +984 -918
- package/components/CasinoTournamentsThumbnailRule-BtK1vXDM.cjs +29 -0
- package/components/{CasinoTournamentsThumbnailRule-Y9V3bLD-.js → CasinoTournamentsThumbnailRule-Cr-wvFnP.js} +1253 -1187
- package/es2015/casino-tournaments-thumbnail-rule.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-rule.js +1 -1
- package/esnext/casino-tournaments-thumbnail-rule.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsThumbnailRule-BrAtukm8.cjs +0 -12
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var gn = Object.defineProperty, yn = Object.defineProperties;
|
|
2
|
+
var vn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ht = Object.getOwnPropertySymbols;
|
|
4
|
+
var xn = Object.prototype.hasOwnProperty, En = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var De = (e, t, n) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ct = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
xn.call(t, n) && De(e, n, t[n]);
|
|
8
|
+
if (ht)
|
|
9
|
+
for (var n of ht(t))
|
|
10
|
+
En.call(t, n) && De(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var R = (e, t, n) => (
|
|
14
|
-
var
|
|
12
|
+
}, ft = (e, t) => yn(e, vn(t));
|
|
13
|
+
var R = (e, t, n) => (De(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
|
+
var mt = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
l(n.next(h));
|
|
18
18
|
} catch (a) {
|
|
19
19
|
i(a);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, o = (h) => {
|
|
22
22
|
try {
|
|
23
23
|
l(n.throw(h));
|
|
24
24
|
} catch (a) {
|
|
25
25
|
i(a);
|
|
26
26
|
}
|
|
27
|
-
}, l = (h) => h.done ? r(h.value) : Promise.resolve(h.value).then(s,
|
|
27
|
+
}, l = (h) => h.done ? r(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
28
|
l((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function X() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ft(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function dt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function _e(e) {
|
|
39
|
+
e.forEach(Ft);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function at(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function jt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Cn(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Vt(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const r of t)
|
|
53
53
|
r(void 0);
|
|
54
|
-
return
|
|
54
|
+
return X;
|
|
55
55
|
}
|
|
56
56
|
const n = e.subscribe(...t);
|
|
57
57
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function _n(e, t, n) {
|
|
60
|
+
e.$$.on_destroy.push(Vt(t, n));
|
|
61
61
|
}
|
|
62
62
|
function b(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const r =
|
|
65
|
+
function Tn(e, t, n) {
|
|
66
|
+
const r = wn(e);
|
|
67
67
|
if (!r.getElementById(t)) {
|
|
68
|
-
const i =
|
|
69
|
-
i.id = t, i.textContent = n,
|
|
68
|
+
const i = C("style");
|
|
69
|
+
i.id = t, i.textContent = n, Sn(r, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function wn(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,7 +79,7 @@ function Cn(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Sn(e, t) {
|
|
83
83
|
return b(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
@@ -92,36 +92,36 @@ function W(e, t, n) {
|
|
|
92
92
|
function z(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Bn(e, t) {
|
|
96
96
|
for (let n = 0; n < e.length; n += 1)
|
|
97
97
|
e[n] && e[n].d(t);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function C(e) {
|
|
100
100
|
return document.createElement(e);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Hn(e) {
|
|
103
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ee(e) {
|
|
106
106
|
return document.createTextNode(e);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
return
|
|
108
|
+
function L() {
|
|
109
|
+
return ee(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function Te() {
|
|
112
|
+
return ee("");
|
|
113
113
|
}
|
|
114
114
|
function p(e, t, n) {
|
|
115
115
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Mn(e) {
|
|
118
118
|
return Array.from(e.childNodes);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Re(e, t) {
|
|
121
121
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
122
122
|
t);
|
|
123
123
|
}
|
|
124
|
-
class
|
|
124
|
+
class ie {
|
|
125
125
|
constructor(t = !1) {
|
|
126
126
|
/**
|
|
127
127
|
* @private
|
|
@@ -152,10 +152,10 @@ class fe {
|
|
|
152
152
|
* @returns {void}
|
|
153
153
|
*/
|
|
154
154
|
m(t, n, r = null) {
|
|
155
|
-
this.e || (this.is_svg ? this.e =
|
|
155
|
+
this.e || (this.is_svg ? this.e = Hn(
|
|
156
156
|
/** @type {keyof SVGElementTagNameMap} */
|
|
157
157
|
n.nodeName
|
|
158
|
-
) : this.e =
|
|
158
|
+
) : this.e = C(
|
|
159
159
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
160
160
|
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
161
161
|
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
@@ -191,7 +191,7 @@ class fe {
|
|
|
191
191
|
this.n.forEach(z);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Rn(e) {
|
|
195
195
|
const t = {};
|
|
196
196
|
return e.childNodes.forEach(
|
|
197
197
|
/** @param {Element} node */
|
|
@@ -200,98 +200,98 @@ function Bn(e) {
|
|
|
200
200
|
}
|
|
201
201
|
), t;
|
|
202
202
|
}
|
|
203
|
-
let
|
|
204
|
-
function
|
|
205
|
-
|
|
203
|
+
let xe;
|
|
204
|
+
function ve(e) {
|
|
205
|
+
xe = e;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
if (!
|
|
207
|
+
function Ln() {
|
|
208
|
+
if (!xe)
|
|
209
209
|
throw new Error("Function called outside component initialization");
|
|
210
|
-
return
|
|
210
|
+
return xe;
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
|
|
214
|
-
}
|
|
215
|
-
const
|
|
216
|
-
let
|
|
217
|
-
const
|
|
218
|
-
let
|
|
219
|
-
function
|
|
220
|
-
|
|
221
|
-
}
|
|
222
|
-
function
|
|
223
|
-
|
|
224
|
-
}
|
|
225
|
-
const
|
|
226
|
-
let
|
|
227
|
-
function
|
|
228
|
-
if (
|
|
212
|
+
function An(e) {
|
|
213
|
+
Ln().$$.on_mount.push(e);
|
|
214
|
+
}
|
|
215
|
+
const ue = [], We = [];
|
|
216
|
+
let le = [];
|
|
217
|
+
const pt = [], On = /* @__PURE__ */ Promise.resolve();
|
|
218
|
+
let qe = !1;
|
|
219
|
+
function Pn() {
|
|
220
|
+
qe || (qe = !0, On.then(P));
|
|
221
|
+
}
|
|
222
|
+
function Qe(e) {
|
|
223
|
+
le.push(e);
|
|
224
|
+
}
|
|
225
|
+
const Ge = /* @__PURE__ */ new Set();
|
|
226
|
+
let ae = 0;
|
|
227
|
+
function P() {
|
|
228
|
+
if (ae !== 0)
|
|
229
229
|
return;
|
|
230
|
-
const e =
|
|
230
|
+
const e = xe;
|
|
231
231
|
do {
|
|
232
232
|
try {
|
|
233
|
-
for (;
|
|
234
|
-
const t = ae
|
|
235
|
-
|
|
233
|
+
for (; ae < ue.length; ) {
|
|
234
|
+
const t = ue[ae];
|
|
235
|
+
ae++, ve(t), Nn(t.$$);
|
|
236
236
|
}
|
|
237
237
|
} catch (t) {
|
|
238
|
-
throw
|
|
238
|
+
throw ue.length = 0, ae = 0, t;
|
|
239
239
|
}
|
|
240
|
-
for (
|
|
241
|
-
|
|
242
|
-
for (let t = 0; t <
|
|
243
|
-
const n =
|
|
244
|
-
|
|
240
|
+
for (ve(null), ue.length = 0, ae = 0; We.length; )
|
|
241
|
+
We.pop()();
|
|
242
|
+
for (let t = 0; t < le.length; t += 1) {
|
|
243
|
+
const n = le[t];
|
|
244
|
+
Ge.has(n) || (Ge.add(n), n());
|
|
245
245
|
}
|
|
246
|
-
|
|
247
|
-
} while (
|
|
248
|
-
for (;
|
|
249
|
-
|
|
250
|
-
|
|
246
|
+
le.length = 0;
|
|
247
|
+
} while (ue.length);
|
|
248
|
+
for (; pt.length; )
|
|
249
|
+
pt.pop()();
|
|
250
|
+
qe = !1, Ge.clear(), ve(e);
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function Nn(e) {
|
|
253
253
|
if (e.fragment !== null) {
|
|
254
|
-
e.update(),
|
|
254
|
+
e.update(), _e(e.before_update);
|
|
255
255
|
const t = e.dirty;
|
|
256
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
256
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function In(e) {
|
|
260
260
|
const t = [], n = [];
|
|
261
|
-
|
|
261
|
+
le.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), le = t;
|
|
262
262
|
}
|
|
263
|
-
const
|
|
264
|
-
function
|
|
265
|
-
e && e.i && (
|
|
263
|
+
const kn = /* @__PURE__ */ new Set();
|
|
264
|
+
function $n(e, t) {
|
|
265
|
+
e && e.i && (kn.delete(e), e.i(t));
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function bt(e) {
|
|
268
268
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Un(e, t, n) {
|
|
271
271
|
const { fragment: r, after_update: i } = e.$$;
|
|
272
|
-
r && r.m(t, n),
|
|
273
|
-
const s = e.$$.on_mount.map(
|
|
274
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
275
|
-
}), i.forEach(
|
|
272
|
+
r && r.m(t, n), Qe(() => {
|
|
273
|
+
const s = e.$$.on_mount.map(Ft).filter(at);
|
|
274
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : _e(s), e.$$.on_mount = [];
|
|
275
|
+
}), i.forEach(Qe);
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function Dn(e, t) {
|
|
278
278
|
const n = e.$$;
|
|
279
|
-
n.fragment !== null && (
|
|
279
|
+
n.fragment !== null && (In(n.after_update), _e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
e.$$.dirty[0] === -1 && (
|
|
281
|
+
function Gn(e, t) {
|
|
282
|
+
e.$$.dirty[0] === -1 && (ue.push(e), Pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
const h =
|
|
286
|
-
|
|
284
|
+
function Fn(e, t, n, r, i, s, o = null, l = [-1]) {
|
|
285
|
+
const h = xe;
|
|
286
|
+
ve(e);
|
|
287
287
|
const a = e.$$ = {
|
|
288
288
|
fragment: null,
|
|
289
289
|
ctx: [],
|
|
290
290
|
// state
|
|
291
291
|
props: s,
|
|
292
|
-
update:
|
|
292
|
+
update: X,
|
|
293
293
|
not_equal: i,
|
|
294
|
-
bound:
|
|
294
|
+
bound: dt(),
|
|
295
295
|
// lifecycle
|
|
296
296
|
on_mount: [],
|
|
297
297
|
on_destroy: [],
|
|
@@ -300,28 +300,28 @@ function Un(e, t, n, r, i, s, u = null, l = [-1]) {
|
|
|
300
300
|
after_update: [],
|
|
301
301
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
302
302
|
// everything else
|
|
303
|
-
callbacks:
|
|
303
|
+
callbacks: dt(),
|
|
304
304
|
dirty: l,
|
|
305
305
|
skip_bound: !1,
|
|
306
306
|
root: t.target || h.$$.root
|
|
307
307
|
};
|
|
308
|
-
|
|
309
|
-
let
|
|
310
|
-
if (a.ctx = n ? n(e, t.props || {}, (c, f, ...
|
|
311
|
-
const g =
|
|
312
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = g) && (!a.skip_bound && a.bound[c] && a.bound[c](g),
|
|
313
|
-
}) : [], a.update(),
|
|
308
|
+
o && o(a.root);
|
|
309
|
+
let u = !1;
|
|
310
|
+
if (a.ctx = n ? n(e, t.props || {}, (c, f, ...d) => {
|
|
311
|
+
const g = d.length ? d[0] : f;
|
|
312
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = g) && (!a.skip_bound && a.bound[c] && a.bound[c](g), u && Gn(e, c)), f;
|
|
313
|
+
}) : [], a.update(), u = !0, _e(a.before_update), a.fragment = r ? r(a.ctx) : !1, t.target) {
|
|
314
314
|
if (t.hydrate) {
|
|
315
|
-
const c =
|
|
315
|
+
const c = Mn(t.target);
|
|
316
316
|
a.fragment && a.fragment.l(c), c.forEach(z);
|
|
317
317
|
} else
|
|
318
318
|
a.fragment && a.fragment.c();
|
|
319
|
-
t.intro &&
|
|
319
|
+
t.intro && $n(e.$$.fragment), Un(e, t.target, t.anchor), P();
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
ve(h);
|
|
322
322
|
}
|
|
323
|
-
let
|
|
324
|
-
typeof HTMLElement == "function" && (
|
|
323
|
+
let zt;
|
|
324
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
325
325
|
constructor(t, n, r) {
|
|
326
326
|
super();
|
|
327
327
|
/** The Svelte component constructor */
|
|
@@ -358,42 +358,42 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
connectedCallback() {
|
|
361
|
-
return
|
|
361
|
+
return mt(this, null, function* () {
|
|
362
362
|
if (this.$$cn = !0, !this.$$c) {
|
|
363
363
|
let t = function(s) {
|
|
364
364
|
return () => {
|
|
365
|
-
let
|
|
365
|
+
let o;
|
|
366
366
|
return {
|
|
367
367
|
c: function() {
|
|
368
|
-
|
|
368
|
+
o = C("slot"), s !== "default" && p(o, "name", s);
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
371
|
* @param {HTMLElement} target
|
|
372
372
|
* @param {HTMLElement} [anchor]
|
|
373
373
|
*/
|
|
374
|
-
m: function(a,
|
|
375
|
-
W(a,
|
|
374
|
+
m: function(a, u) {
|
|
375
|
+
W(a, o, u);
|
|
376
376
|
},
|
|
377
377
|
d: function(a) {
|
|
378
|
-
a && z(
|
|
378
|
+
a && z(o);
|
|
379
379
|
}
|
|
380
380
|
};
|
|
381
381
|
};
|
|
382
382
|
};
|
|
383
383
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
384
384
|
return;
|
|
385
|
-
const n = {}, r =
|
|
385
|
+
const n = {}, r = Rn(this);
|
|
386
386
|
for (const s of this.$$s)
|
|
387
387
|
s in r && (n[s] = [t(s)]);
|
|
388
388
|
for (const s of this.attributes) {
|
|
389
|
-
const
|
|
390
|
-
|
|
389
|
+
const o = this.$$g_p(s.name);
|
|
390
|
+
o in this.$$d || (this.$$d[o] = Be(o, s.value, this.$$p_d, "toProp"));
|
|
391
391
|
}
|
|
392
392
|
for (const s in this.$$p_d)
|
|
393
393
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
394
394
|
this.$$c = new this.$$ctor({
|
|
395
395
|
target: this.shadowRoot || this,
|
|
396
|
-
props:
|
|
396
|
+
props: ft(ct({}, this.$$d), {
|
|
397
397
|
$$slots: n,
|
|
398
398
|
$$scope: {
|
|
399
399
|
ctx: []
|
|
@@ -404,21 +404,21 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
404
404
|
this.$$r = !0;
|
|
405
405
|
for (const s in this.$$p_d)
|
|
406
406
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
407
|
-
const
|
|
407
|
+
const o = Be(
|
|
408
408
|
s,
|
|
409
409
|
this.$$d[s],
|
|
410
410
|
this.$$p_d,
|
|
411
411
|
"toAttribute"
|
|
412
412
|
);
|
|
413
|
-
|
|
413
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
414
414
|
}
|
|
415
415
|
this.$$r = !1;
|
|
416
416
|
};
|
|
417
417
|
this.$$c.$$.after_update.push(i), i();
|
|
418
418
|
for (const s in this.$$l)
|
|
419
|
-
for (const
|
|
420
|
-
const l = this.$$c.$on(s,
|
|
421
|
-
this.$$l_u.set(
|
|
419
|
+
for (const o of this.$$l[s]) {
|
|
420
|
+
const l = this.$$c.$on(s, o);
|
|
421
|
+
this.$$l_u.set(o, l);
|
|
422
422
|
}
|
|
423
423
|
this.$$l = {};
|
|
424
424
|
}
|
|
@@ -428,7 +428,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
428
428
|
// and setting attributes through setAttribute etc, this is helpful
|
|
429
429
|
attributeChangedCallback(t, n, r) {
|
|
430
430
|
var i;
|
|
431
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
431
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Be(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
432
432
|
}
|
|
433
433
|
disconnectedCallback() {
|
|
434
434
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -441,7 +441,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
441
441
|
) || t;
|
|
442
442
|
}
|
|
443
443
|
});
|
|
444
|
-
function
|
|
444
|
+
function Be(e, t, n, r) {
|
|
445
445
|
var s;
|
|
446
446
|
const i = (s = n[e]) == null ? void 0 : s.type;
|
|
447
447
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
@@ -471,8 +471,8 @@ function Te(e, t, n, r) {
|
|
|
471
471
|
return t;
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
function
|
|
475
|
-
let
|
|
474
|
+
function jn(e, t, n, r, i, s) {
|
|
475
|
+
let o = class extends zt {
|
|
476
476
|
constructor() {
|
|
477
477
|
super(e, n, i), this.$$p_d = t;
|
|
478
478
|
}
|
|
@@ -483,26 +483,26 @@ function Gn(e, t, n, r, i, s) {
|
|
|
483
483
|
}
|
|
484
484
|
};
|
|
485
485
|
return Object.keys(t).forEach((l) => {
|
|
486
|
-
Object.defineProperty(
|
|
486
|
+
Object.defineProperty(o.prototype, l, {
|
|
487
487
|
get() {
|
|
488
488
|
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
489
489
|
},
|
|
490
490
|
set(h) {
|
|
491
491
|
var a;
|
|
492
|
-
h =
|
|
492
|
+
h = Be(l, h, t), this.$$d[l] = h, (a = this.$$c) == null || a.$set({ [l]: h });
|
|
493
493
|
}
|
|
494
494
|
});
|
|
495
495
|
}), r.forEach((l) => {
|
|
496
|
-
Object.defineProperty(
|
|
496
|
+
Object.defineProperty(o.prototype, l, {
|
|
497
497
|
get() {
|
|
498
498
|
var h;
|
|
499
499
|
return (h = this.$$c) == null ? void 0 : h[l];
|
|
500
500
|
}
|
|
501
501
|
});
|
|
502
502
|
}), e.element = /** @type {any} */
|
|
503
|
-
|
|
503
|
+
o, o;
|
|
504
504
|
}
|
|
505
|
-
class
|
|
505
|
+
class Vn {
|
|
506
506
|
constructor() {
|
|
507
507
|
/**
|
|
508
508
|
* ### PRIVATE API
|
|
@@ -523,7 +523,7 @@ class Dn {
|
|
|
523
523
|
}
|
|
524
524
|
/** @returns {void} */
|
|
525
525
|
$destroy() {
|
|
526
|
-
|
|
526
|
+
Dn(this, 1), this.$destroy = X;
|
|
527
527
|
}
|
|
528
528
|
/**
|
|
529
529
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -532,8 +532,8 @@ class Dn {
|
|
|
532
532
|
* @returns {() => void}
|
|
533
533
|
*/
|
|
534
534
|
$on(t, n) {
|
|
535
|
-
if (!
|
|
536
|
-
return
|
|
535
|
+
if (!at(n))
|
|
536
|
+
return X;
|
|
537
537
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
538
538
|
return r.push(n), () => {
|
|
539
539
|
const i = r.indexOf(n);
|
|
@@ -545,176 +545,176 @@ class Dn {
|
|
|
545
545
|
* @returns {void}
|
|
546
546
|
*/
|
|
547
547
|
$set(t) {
|
|
548
|
-
this.$$set && !
|
|
548
|
+
this.$$set && !Cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
const
|
|
552
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
553
|
-
const
|
|
554
|
-
function
|
|
551
|
+
const zn = "4";
|
|
552
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zn);
|
|
553
|
+
const oe = [];
|
|
554
|
+
function Zn(e, t) {
|
|
555
555
|
return {
|
|
556
|
-
subscribe:
|
|
556
|
+
subscribe: Pe(e, t).subscribe
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function Pe(e, t = X) {
|
|
560
560
|
let n;
|
|
561
561
|
const r = /* @__PURE__ */ new Set();
|
|
562
562
|
function i(l) {
|
|
563
|
-
if (
|
|
564
|
-
const h = !
|
|
563
|
+
if (jt(e, l) && (e = l, n)) {
|
|
564
|
+
const h = !oe.length;
|
|
565
565
|
for (const a of r)
|
|
566
|
-
a[1](),
|
|
566
|
+
a[1](), oe.push(a, e);
|
|
567
567
|
if (h) {
|
|
568
|
-
for (let a = 0; a <
|
|
569
|
-
|
|
570
|
-
|
|
568
|
+
for (let a = 0; a < oe.length; a += 2)
|
|
569
|
+
oe[a][0](oe[a + 1]);
|
|
570
|
+
oe.length = 0;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
function s(l) {
|
|
575
575
|
i(l(e));
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function o(l, h = X) {
|
|
578
578
|
const a = [l, h];
|
|
579
|
-
return r.add(a), r.size === 1 && (n = t(i, s) ||
|
|
579
|
+
return r.add(a), r.size === 1 && (n = t(i, s) || X), l(e), () => {
|
|
580
580
|
r.delete(a), r.size === 0 && n && (n(), n = null);
|
|
581
581
|
};
|
|
582
582
|
}
|
|
583
|
-
return { set: i, update: s, subscribe:
|
|
583
|
+
return { set: i, update: s, subscribe: o };
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function de(e, t, n) {
|
|
586
586
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
587
587
|
if (!i.every(Boolean))
|
|
588
588
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
589
589
|
const s = t.length < 2;
|
|
590
|
-
return
|
|
590
|
+
return Zn(n, (o, l) => {
|
|
591
591
|
let h = !1;
|
|
592
592
|
const a = [];
|
|
593
|
-
let
|
|
593
|
+
let u = 0, c = X;
|
|
594
594
|
const f = () => {
|
|
595
|
-
if (
|
|
595
|
+
if (u)
|
|
596
596
|
return;
|
|
597
597
|
c();
|
|
598
|
-
const g = t(r ? a[0] : a,
|
|
599
|
-
s ?
|
|
600
|
-
},
|
|
601
|
-
(g, E) =>
|
|
598
|
+
const g = t(r ? a[0] : a, o, l);
|
|
599
|
+
s ? o(g) : c = at(g) ? g : X;
|
|
600
|
+
}, d = i.map(
|
|
601
|
+
(g, E) => Vt(
|
|
602
602
|
g,
|
|
603
|
-
(
|
|
604
|
-
a[E] =
|
|
603
|
+
(H) => {
|
|
604
|
+
a[E] = H, u &= ~(1 << E), h && f();
|
|
605
605
|
},
|
|
606
606
|
() => {
|
|
607
|
-
|
|
607
|
+
u |= 1 << E;
|
|
608
608
|
}
|
|
609
609
|
)
|
|
610
610
|
);
|
|
611
611
|
return h = !0, f(), function() {
|
|
612
|
-
|
|
612
|
+
_e(d), c(), h = !1;
|
|
613
613
|
};
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function Xn(e) {
|
|
617
617
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
618
618
|
}
|
|
619
|
-
var
|
|
620
|
-
return
|
|
619
|
+
var Wn = function(t) {
|
|
620
|
+
return qn(t) && !Qn(t);
|
|
621
621
|
};
|
|
622
|
-
function
|
|
622
|
+
function qn(e) {
|
|
623
623
|
return !!e && typeof e == "object";
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function Qn(e) {
|
|
626
626
|
var t = Object.prototype.toString.call(e);
|
|
627
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
627
|
+
return t === "[object RegExp]" || t === "[object Date]" || Kn(e);
|
|
628
628
|
}
|
|
629
|
-
var
|
|
630
|
-
function
|
|
631
|
-
return e.$$typeof ===
|
|
629
|
+
var Jn = typeof Symbol == "function" && Symbol.for, Yn = Jn ? Symbol.for("react.element") : 60103;
|
|
630
|
+
function Kn(e) {
|
|
631
|
+
return e.$$typeof === Yn;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function er(e) {
|
|
634
634
|
return Array.isArray(e) ? [] : {};
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
636
|
+
function Ee(e, t) {
|
|
637
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? he(er(e), e, t) : e;
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function tr(e, t, n) {
|
|
640
640
|
return e.concat(t).map(function(r) {
|
|
641
|
-
return
|
|
641
|
+
return Ee(r, n);
|
|
642
642
|
});
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function nr(e, t) {
|
|
645
645
|
if (!t.customMerge)
|
|
646
|
-
return
|
|
646
|
+
return he;
|
|
647
647
|
var n = t.customMerge(e);
|
|
648
|
-
return typeof n == "function" ? n :
|
|
648
|
+
return typeof n == "function" ? n : he;
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function rr(e) {
|
|
651
651
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
652
652
|
return Object.propertyIsEnumerable.call(e, t);
|
|
653
653
|
}) : [];
|
|
654
654
|
}
|
|
655
|
-
function
|
|
656
|
-
return Object.keys(e).concat(
|
|
655
|
+
function gt(e) {
|
|
656
|
+
return Object.keys(e).concat(rr(e));
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function Zt(e, t) {
|
|
659
659
|
try {
|
|
660
660
|
return t in e;
|
|
661
661
|
} catch (n) {
|
|
662
662
|
return !1;
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
function
|
|
666
|
-
return
|
|
665
|
+
function ir(e, t) {
|
|
666
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function sr(e, t, n) {
|
|
669
669
|
var r = {};
|
|
670
|
-
return n.isMergeableObject(e) &&
|
|
671
|
-
r[i] =
|
|
672
|
-
}),
|
|
673
|
-
|
|
670
|
+
return n.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
671
|
+
r[i] = Ee(e[i], n);
|
|
672
|
+
}), gt(t).forEach(function(i) {
|
|
673
|
+
ir(e, i) || (Zt(e, i) && n.isMergeableObject(t[i]) ? r[i] = nr(i, n)(e[i], t[i], n) : r[i] = Ee(t[i], n));
|
|
674
674
|
}), r;
|
|
675
675
|
}
|
|
676
|
-
function
|
|
677
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
676
|
+
function he(e, t, n) {
|
|
677
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || tr, n.isMergeableObject = n.isMergeableObject || Wn, n.cloneUnlessOtherwiseSpecified = Ee;
|
|
678
678
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
679
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
679
|
+
return s ? r ? n.arrayMerge(e, t, n) : sr(e, t, n) : Ee(t, n);
|
|
680
680
|
}
|
|
681
|
-
|
|
681
|
+
he.all = function(t, n) {
|
|
682
682
|
if (!Array.isArray(t))
|
|
683
683
|
throw new Error("first argument should be an array");
|
|
684
684
|
return t.reduce(function(r, i) {
|
|
685
|
-
return
|
|
685
|
+
return he(r, i, n);
|
|
686
686
|
}, {});
|
|
687
687
|
};
|
|
688
|
-
var
|
|
689
|
-
const
|
|
690
|
-
var
|
|
691
|
-
return
|
|
688
|
+
var ar = he, or = ar;
|
|
689
|
+
const ur = /* @__PURE__ */ Xn(or);
|
|
690
|
+
var Je = function(e, t) {
|
|
691
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
692
692
|
n.__proto__ = r;
|
|
693
693
|
} || function(n, r) {
|
|
694
694
|
for (var i in r)
|
|
695
695
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
696
|
-
},
|
|
696
|
+
}, Je(e, t);
|
|
697
697
|
};
|
|
698
|
-
function
|
|
698
|
+
function Ne(e, t) {
|
|
699
699
|
if (typeof t != "function" && t !== null)
|
|
700
700
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
701
|
-
|
|
701
|
+
Je(e, t);
|
|
702
702
|
function n() {
|
|
703
703
|
this.constructor = e;
|
|
704
704
|
}
|
|
705
705
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
706
706
|
}
|
|
707
|
-
var
|
|
708
|
-
return
|
|
707
|
+
var q = function() {
|
|
708
|
+
return q = Object.assign || function(t) {
|
|
709
709
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
710
710
|
n = arguments[r];
|
|
711
711
|
for (var s in n)
|
|
712
712
|
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
713
713
|
}
|
|
714
714
|
return t;
|
|
715
|
-
},
|
|
715
|
+
}, q.apply(this, arguments);
|
|
716
716
|
};
|
|
717
|
-
function
|
|
717
|
+
function lr(e, t) {
|
|
718
718
|
var n = {};
|
|
719
719
|
for (var r in e)
|
|
720
720
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -723,43 +723,43 @@ function ar(e, t) {
|
|
|
723
723
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
724
724
|
return n;
|
|
725
725
|
}
|
|
726
|
-
function
|
|
726
|
+
function Fe(e, t, n) {
|
|
727
727
|
if (n || arguments.length === 2)
|
|
728
728
|
for (var r = 0, i = t.length, s; r < i; r++)
|
|
729
729
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
730
730
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
731
731
|
}
|
|
732
|
-
function
|
|
733
|
-
var n = t && t.cache ? t.cache :
|
|
732
|
+
function je(e, t) {
|
|
733
|
+
var n = t && t.cache ? t.cache : br, r = t && t.serializer ? t.serializer : dr, i = t && t.strategy ? t.strategy : fr;
|
|
734
734
|
return i(e, {
|
|
735
735
|
cache: n,
|
|
736
736
|
serializer: r
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
|
-
function
|
|
739
|
+
function hr(e) {
|
|
740
740
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
741
741
|
}
|
|
742
|
-
function
|
|
743
|
-
var i =
|
|
742
|
+
function cr(e, t, n, r) {
|
|
743
|
+
var i = hr(r) ? r : n(r), s = t.get(i);
|
|
744
744
|
return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
|
|
745
745
|
}
|
|
746
|
-
function
|
|
746
|
+
function Xt(e, t, n) {
|
|
747
747
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
748
748
|
return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Wt(e, t, n, r, i) {
|
|
751
751
|
return n.bind(t, e, r, i);
|
|
752
752
|
}
|
|
753
|
-
function
|
|
754
|
-
var n = e.length === 1 ?
|
|
755
|
-
return
|
|
753
|
+
function fr(e, t) {
|
|
754
|
+
var n = e.length === 1 ? cr : Xt;
|
|
755
|
+
return Wt(e, this, n, t.cache.create(), t.serializer);
|
|
756
756
|
}
|
|
757
|
-
function
|
|
758
|
-
return
|
|
757
|
+
function mr(e, t) {
|
|
758
|
+
return Wt(e, this, Xt, t.cache.create(), t.serializer);
|
|
759
759
|
}
|
|
760
|
-
var
|
|
760
|
+
var dr = function() {
|
|
761
761
|
return JSON.stringify(arguments);
|
|
762
|
-
},
|
|
762
|
+
}, pr = (
|
|
763
763
|
/** @class */
|
|
764
764
|
function() {
|
|
765
765
|
function e() {
|
|
@@ -771,71 +771,71 @@ var cr = function() {
|
|
|
771
771
|
this.cache[t] = n;
|
|
772
772
|
}, e;
|
|
773
773
|
}()
|
|
774
|
-
),
|
|
774
|
+
), br = {
|
|
775
775
|
create: function() {
|
|
776
|
-
return new
|
|
776
|
+
return new pr();
|
|
777
777
|
}
|
|
778
|
-
},
|
|
779
|
-
variadic:
|
|
780
|
-
},
|
|
781
|
-
return
|
|
778
|
+
}, Ve = {
|
|
779
|
+
variadic: mr
|
|
780
|
+
}, Le = function() {
|
|
781
|
+
return Le = Object.assign || function(t) {
|
|
782
782
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
783
783
|
n = arguments[r];
|
|
784
784
|
for (var s in n)
|
|
785
785
|
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
786
786
|
}
|
|
787
787
|
return t;
|
|
788
|
-
},
|
|
788
|
+
}, Le.apply(this, arguments);
|
|
789
789
|
};
|
|
790
790
|
var y;
|
|
791
791
|
(function(e) {
|
|
792
792
|
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";
|
|
793
793
|
})(y || (y = {}));
|
|
794
|
-
var
|
|
794
|
+
var _;
|
|
795
795
|
(function(e) {
|
|
796
796
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
797
|
-
})(
|
|
798
|
-
var
|
|
797
|
+
})(_ || (_ = {}));
|
|
798
|
+
var ce;
|
|
799
799
|
(function(e) {
|
|
800
800
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
801
|
-
})(
|
|
802
|
-
function
|
|
803
|
-
return e.type ===
|
|
804
|
-
}
|
|
805
|
-
function dr(e) {
|
|
806
|
-
return e.type === T.argument;
|
|
807
|
-
}
|
|
808
|
-
function Zt(e) {
|
|
809
|
-
return e.type === T.number;
|
|
810
|
-
}
|
|
811
|
-
function Xt(e) {
|
|
812
|
-
return e.type === T.date;
|
|
801
|
+
})(ce || (ce = {}));
|
|
802
|
+
function yt(e) {
|
|
803
|
+
return e.type === _.literal;
|
|
813
804
|
}
|
|
814
|
-
function
|
|
815
|
-
return e.type ===
|
|
805
|
+
function gr(e) {
|
|
806
|
+
return e.type === _.argument;
|
|
816
807
|
}
|
|
817
808
|
function qt(e) {
|
|
818
|
-
return e.type ===
|
|
809
|
+
return e.type === _.number;
|
|
819
810
|
}
|
|
820
811
|
function Qt(e) {
|
|
821
|
-
return e.type ===
|
|
822
|
-
}
|
|
823
|
-
function pr(e) {
|
|
824
|
-
return e.type === T.pound;
|
|
812
|
+
return e.type === _.date;
|
|
825
813
|
}
|
|
826
814
|
function Jt(e) {
|
|
827
|
-
return e.type ===
|
|
815
|
+
return e.type === _.time;
|
|
828
816
|
}
|
|
829
817
|
function Yt(e) {
|
|
830
|
-
return
|
|
818
|
+
return e.type === _.select;
|
|
831
819
|
}
|
|
832
|
-
function
|
|
833
|
-
return
|
|
820
|
+
function Kt(e) {
|
|
821
|
+
return e.type === _.plural;
|
|
834
822
|
}
|
|
835
|
-
|
|
836
|
-
|
|
823
|
+
function yr(e) {
|
|
824
|
+
return e.type === _.pound;
|
|
825
|
+
}
|
|
826
|
+
function en(e) {
|
|
827
|
+
return e.type === _.tag;
|
|
828
|
+
}
|
|
829
|
+
function tn(e) {
|
|
830
|
+
return !!(e && typeof e == "object" && e.type === ce.number);
|
|
831
|
+
}
|
|
832
|
+
function Ye(e) {
|
|
833
|
+
return !!(e && typeof e == "object" && e.type === ce.dateTime);
|
|
834
|
+
}
|
|
835
|
+
var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vr = /(?:[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;
|
|
836
|
+
function xr(e) {
|
|
837
837
|
var t = {};
|
|
838
|
-
return e.replace(
|
|
838
|
+
return e.replace(vr, function(n) {
|
|
839
839
|
var r = n.length;
|
|
840
840
|
switch (n[0]) {
|
|
841
841
|
case "G":
|
|
@@ -934,18 +934,18 @@ var w = function() {
|
|
|
934
934
|
return t;
|
|
935
935
|
}, w.apply(this, arguments);
|
|
936
936
|
};
|
|
937
|
-
var
|
|
938
|
-
function
|
|
937
|
+
var Er = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
938
|
+
function Cr(e) {
|
|
939
939
|
if (e.length === 0)
|
|
940
940
|
throw new Error("Number skeleton cannot be empty");
|
|
941
|
-
for (var t = e.split(
|
|
941
|
+
for (var t = e.split(Er).filter(function(f) {
|
|
942
942
|
return f.length > 0;
|
|
943
943
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
944
|
-
var s = i[r],
|
|
945
|
-
if (
|
|
944
|
+
var s = i[r], o = s.split("/");
|
|
945
|
+
if (o.length === 0)
|
|
946
946
|
throw new Error("Invalid number skeleton");
|
|
947
|
-
for (var l =
|
|
948
|
-
var c =
|
|
947
|
+
for (var l = o[0], h = o.slice(1), a = 0, u = h; a < u.length; a++) {
|
|
948
|
+
var c = u[a];
|
|
949
949
|
if (c.length === 0)
|
|
950
950
|
throw new Error("Invalid number skeleton");
|
|
951
951
|
}
|
|
@@ -953,17 +953,17 @@ function vr(e) {
|
|
|
953
953
|
}
|
|
954
954
|
return n;
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function _r(e) {
|
|
957
957
|
return e.replace(/^(.*?)-/, "");
|
|
958
958
|
}
|
|
959
|
-
var
|
|
960
|
-
function
|
|
959
|
+
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rn = /^(@+)?(\+|#+)?[rs]?$/g, Tr = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
|
|
960
|
+
function xt(e) {
|
|
961
961
|
var t = {};
|
|
962
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
962
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rn, function(n, r, i) {
|
|
963
963
|
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
964
964
|
}), t;
|
|
965
965
|
}
|
|
966
|
-
function
|
|
966
|
+
function an(e) {
|
|
967
967
|
switch (e) {
|
|
968
968
|
case "sign-auto":
|
|
969
969
|
return {
|
|
@@ -1003,7 +1003,7 @@ function nn(e) {
|
|
|
1003
1003
|
};
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
|
-
function
|
|
1006
|
+
function wr(e) {
|
|
1007
1007
|
var t;
|
|
1008
1008
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1009
1009
|
notation: "engineering"
|
|
@@ -1011,17 +1011,17 @@ function Cr(e) {
|
|
|
1011
1011
|
notation: "scientific"
|
|
1012
1012
|
}, e = e.slice(1)), t) {
|
|
1013
1013
|
var n = e.slice(0, 2);
|
|
1014
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1014
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sn.test(e))
|
|
1015
1015
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1016
1016
|
t.minimumIntegerDigits = e.length;
|
|
1017
1017
|
}
|
|
1018
1018
|
return t;
|
|
1019
1019
|
}
|
|
1020
|
-
function
|
|
1021
|
-
var t = {}, n =
|
|
1020
|
+
function Et(e) {
|
|
1021
|
+
var t = {}, n = an(e);
|
|
1022
1022
|
return n || t;
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function Sr(e) {
|
|
1025
1025
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1026
1026
|
var i = r[n];
|
|
1027
1027
|
switch (i.stem) {
|
|
@@ -1045,7 +1045,7 @@ function _r(e) {
|
|
|
1045
1045
|
continue;
|
|
1046
1046
|
case "measure-unit":
|
|
1047
1047
|
case "unit":
|
|
1048
|
-
t.style = "unit", t.unit =
|
|
1048
|
+
t.style = "unit", t.unit = _r(i.options[0]);
|
|
1049
1049
|
continue;
|
|
1050
1050
|
case "compact-short":
|
|
1051
1051
|
case "K":
|
|
@@ -1057,12 +1057,12 @@ function _r(e) {
|
|
|
1057
1057
|
continue;
|
|
1058
1058
|
case "scientific":
|
|
1059
1059
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
1060
|
-
return w(w({}, h),
|
|
1060
|
+
return w(w({}, h), Et(a));
|
|
1061
1061
|
}, {}));
|
|
1062
1062
|
continue;
|
|
1063
1063
|
case "engineering":
|
|
1064
1064
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
1065
|
-
return w(w({}, h),
|
|
1065
|
+
return w(w({}, h), Et(a));
|
|
1066
1066
|
}, {}));
|
|
1067
1067
|
continue;
|
|
1068
1068
|
case "notation-simple":
|
|
@@ -1107,45 +1107,45 @@ function _r(e) {
|
|
|
1107
1107
|
case "integer-width":
|
|
1108
1108
|
if (i.options.length > 1)
|
|
1109
1109
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1110
|
-
i.options[0].replace(
|
|
1110
|
+
i.options[0].replace(Tr, function(h, a, u, c, f, d) {
|
|
1111
1111
|
if (a)
|
|
1112
|
-
t.minimumIntegerDigits =
|
|
1112
|
+
t.minimumIntegerDigits = u.length;
|
|
1113
1113
|
else {
|
|
1114
1114
|
if (c && f)
|
|
1115
1115
|
throw new Error("We currently do not support maximum integer digits");
|
|
1116
|
-
if (
|
|
1116
|
+
if (d)
|
|
1117
1117
|
throw new Error("We currently do not support exact integer digits");
|
|
1118
1118
|
}
|
|
1119
1119
|
return "";
|
|
1120
1120
|
});
|
|
1121
1121
|
continue;
|
|
1122
1122
|
}
|
|
1123
|
-
if (
|
|
1123
|
+
if (sn.test(i.stem)) {
|
|
1124
1124
|
t.minimumIntegerDigits = i.stem.length;
|
|
1125
1125
|
continue;
|
|
1126
1126
|
}
|
|
1127
|
-
if (
|
|
1127
|
+
if (vt.test(i.stem)) {
|
|
1128
1128
|
if (i.options.length > 1)
|
|
1129
1129
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1130
|
-
i.stem.replace(
|
|
1131
|
-
return
|
|
1130
|
+
i.stem.replace(vt, function(h, a, u, c, f, d) {
|
|
1131
|
+
return u === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1132
1132
|
});
|
|
1133
1133
|
var s = i.options[0];
|
|
1134
|
-
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t),
|
|
1134
|
+
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), xt(s)));
|
|
1135
1135
|
continue;
|
|
1136
1136
|
}
|
|
1137
|
-
if (
|
|
1138
|
-
t = w(w({}, t),
|
|
1137
|
+
if (rn.test(i.stem)) {
|
|
1138
|
+
t = w(w({}, t), xt(i.stem));
|
|
1139
1139
|
continue;
|
|
1140
1140
|
}
|
|
1141
|
-
var
|
|
1142
|
-
|
|
1143
|
-
var l =
|
|
1141
|
+
var o = an(i.stem);
|
|
1142
|
+
o && (t = w(w({}, t), o));
|
|
1143
|
+
var l = wr(i.stem);
|
|
1144
1144
|
l && (t = w(w({}, t), l));
|
|
1145
1145
|
}
|
|
1146
1146
|
return t;
|
|
1147
1147
|
}
|
|
1148
|
-
var
|
|
1148
|
+
var Se = {
|
|
1149
1149
|
"001": [
|
|
1150
1150
|
"H",
|
|
1151
1151
|
"h"
|
|
@@ -2560,23 +2560,23 @@ var _e = {
|
|
|
2560
2560
|
"h"
|
|
2561
2561
|
]
|
|
2562
2562
|
};
|
|
2563
|
-
function
|
|
2563
|
+
function Br(e, t) {
|
|
2564
2564
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2565
2565
|
var i = e.charAt(r);
|
|
2566
2566
|
if (i === "j") {
|
|
2567
2567
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2568
2568
|
s++, r++;
|
|
2569
|
-
var
|
|
2569
|
+
var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = Hr(t);
|
|
2570
2570
|
for ((a == "H" || a == "k") && (l = 0); l-- > 0; )
|
|
2571
2571
|
n += h;
|
|
2572
|
-
for (;
|
|
2572
|
+
for (; o-- > 0; )
|
|
2573
2573
|
n = a + n;
|
|
2574
2574
|
} else
|
|
2575
2575
|
i === "J" ? n += "H" : n += i;
|
|
2576
2576
|
}
|
|
2577
2577
|
return n;
|
|
2578
2578
|
}
|
|
2579
|
-
function
|
|
2579
|
+
function Hr(e) {
|
|
2580
2580
|
var t = e.hourCycle;
|
|
2581
2581
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2582
2582
|
e.hourCycles && // @ts-ignore
|
|
@@ -2595,23 +2595,23 @@ function wr(e) {
|
|
|
2595
2595
|
}
|
|
2596
2596
|
var n = e.language, r;
|
|
2597
2597
|
n !== "root" && (r = e.maximize().region);
|
|
2598
|
-
var i =
|
|
2598
|
+
var i = Se[r || ""] || Se[n || ""] || Se["".concat(n, "-001")] || Se["001"];
|
|
2599
2599
|
return i[0];
|
|
2600
2600
|
}
|
|
2601
|
-
var
|
|
2602
|
-
function
|
|
2601
|
+
var ze, Mr = new RegExp("^".concat(nn.source, "*")), Rr = new RegExp("".concat(nn.source, "*$"));
|
|
2602
|
+
function x(e, t) {
|
|
2603
2603
|
return { start: e, end: t };
|
|
2604
2604
|
}
|
|
2605
|
-
var
|
|
2605
|
+
var Lr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ar = !!String.fromCodePoint, Or = !!Object.fromEntries, Pr = !!String.prototype.codePointAt, Nr = !!String.prototype.trimStart, Ir = !!String.prototype.trimEnd, kr = !!Number.isSafeInteger, $r = kr ? Number.isSafeInteger : function(e) {
|
|
2606
2606
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2607
|
-
},
|
|
2607
|
+
}, Ke = !0;
|
|
2608
2608
|
try {
|
|
2609
|
-
var
|
|
2610
|
-
|
|
2609
|
+
var Ur = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2610
|
+
Ke = ((ze = Ur.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
2611
2611
|
} catch (e) {
|
|
2612
|
-
|
|
2612
|
+
Ke = !1;
|
|
2613
2613
|
}
|
|
2614
|
-
var
|
|
2614
|
+
var Ct = Lr ? (
|
|
2615
2615
|
// Native
|
|
2616
2616
|
function(t, n, r) {
|
|
2617
2617
|
return t.startsWith(n, r);
|
|
@@ -2621,31 +2621,31 @@ var xt = Hr ? (
|
|
|
2621
2621
|
function(t, n, r) {
|
|
2622
2622
|
return t.slice(r, r + n.length) === n;
|
|
2623
2623
|
}
|
|
2624
|
-
),
|
|
2624
|
+
), et = Ar ? String.fromCodePoint : (
|
|
2625
2625
|
// IE11
|
|
2626
2626
|
function() {
|
|
2627
2627
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2628
2628
|
t[n] = arguments[n];
|
|
2629
|
-
for (var r = "", i = t.length, s = 0,
|
|
2630
|
-
if (
|
|
2631
|
-
throw RangeError(
|
|
2632
|
-
r +=
|
|
2629
|
+
for (var r = "", i = t.length, s = 0, o; i > s; ) {
|
|
2630
|
+
if (o = t[s++], o > 1114111)
|
|
2631
|
+
throw RangeError(o + " is not a valid code point");
|
|
2632
|
+
r += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2633
2633
|
}
|
|
2634
2634
|
return r;
|
|
2635
2635
|
}
|
|
2636
|
-
),
|
|
2636
|
+
), _t = (
|
|
2637
2637
|
// native
|
|
2638
|
-
|
|
2638
|
+
Or ? Object.fromEntries : (
|
|
2639
2639
|
// Ponyfill
|
|
2640
2640
|
function(t) {
|
|
2641
2641
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2642
|
-
var s = i[r],
|
|
2643
|
-
n[
|
|
2642
|
+
var s = i[r], o = s[0], l = s[1];
|
|
2643
|
+
n[o] = l;
|
|
2644
2644
|
}
|
|
2645
2645
|
return n;
|
|
2646
2646
|
}
|
|
2647
2647
|
)
|
|
2648
|
-
),
|
|
2648
|
+
), on = Pr ? (
|
|
2649
2649
|
// Native
|
|
2650
2650
|
function(t, n) {
|
|
2651
2651
|
return t.codePointAt(n);
|
|
@@ -2659,7 +2659,7 @@ var xt = Hr ? (
|
|
|
2659
2659
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2660
2660
|
}
|
|
2661
2661
|
}
|
|
2662
|
-
),
|
|
2662
|
+
), Dr = Nr ? (
|
|
2663
2663
|
// Native
|
|
2664
2664
|
function(t) {
|
|
2665
2665
|
return t.trimStart();
|
|
@@ -2667,9 +2667,9 @@ var xt = Hr ? (
|
|
|
2667
2667
|
) : (
|
|
2668
2668
|
// Ponyfill
|
|
2669
2669
|
function(t) {
|
|
2670
|
-
return t.replace(
|
|
2670
|
+
return t.replace(Mr, "");
|
|
2671
2671
|
}
|
|
2672
|
-
),
|
|
2672
|
+
), Gr = Ir ? (
|
|
2673
2673
|
// Native
|
|
2674
2674
|
function(t) {
|
|
2675
2675
|
return t.trimEnd();
|
|
@@ -2677,32 +2677,32 @@ var xt = Hr ? (
|
|
|
2677
2677
|
) : (
|
|
2678
2678
|
// Ponyfill
|
|
2679
2679
|
function(t) {
|
|
2680
|
-
return t.replace(
|
|
2680
|
+
return t.replace(Rr, "");
|
|
2681
2681
|
}
|
|
2682
2682
|
);
|
|
2683
|
-
function
|
|
2683
|
+
function un(e, t) {
|
|
2684
2684
|
return new RegExp(e, t);
|
|
2685
2685
|
}
|
|
2686
|
-
var
|
|
2687
|
-
if (
|
|
2688
|
-
var
|
|
2689
|
-
|
|
2686
|
+
var tt;
|
|
2687
|
+
if (Ke) {
|
|
2688
|
+
var Tt = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2689
|
+
tt = function(t, n) {
|
|
2690
2690
|
var r;
|
|
2691
|
-
|
|
2692
|
-
var i =
|
|
2691
|
+
Tt.lastIndex = n;
|
|
2692
|
+
var i = Tt.exec(t);
|
|
2693
2693
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2694
2694
|
};
|
|
2695
2695
|
} else
|
|
2696
|
-
|
|
2696
|
+
tt = function(t, n) {
|
|
2697
2697
|
for (var r = []; ; ) {
|
|
2698
|
-
var i =
|
|
2699
|
-
if (i === void 0 ||
|
|
2698
|
+
var i = on(t, n);
|
|
2699
|
+
if (i === void 0 || ln(i) || zr(i))
|
|
2700
2700
|
break;
|
|
2701
2701
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2702
2702
|
}
|
|
2703
|
-
return
|
|
2703
|
+
return et.apply(void 0, r);
|
|
2704
2704
|
};
|
|
2705
|
-
var
|
|
2705
|
+
var Fr = (
|
|
2706
2706
|
/** @class */
|
|
2707
2707
|
function() {
|
|
2708
2708
|
function e(t, n) {
|
|
@@ -2716,33 +2716,33 @@ var Ur = (
|
|
|
2716
2716
|
for (var i = []; !this.isEOF(); ) {
|
|
2717
2717
|
var s = this.char();
|
|
2718
2718
|
if (s === 123) {
|
|
2719
|
-
var
|
|
2720
|
-
if (
|
|
2721
|
-
return
|
|
2722
|
-
i.push(
|
|
2719
|
+
var o = this.parseArgument(t, r);
|
|
2720
|
+
if (o.err)
|
|
2721
|
+
return o;
|
|
2722
|
+
i.push(o.val);
|
|
2723
2723
|
} else {
|
|
2724
2724
|
if (s === 125 && t > 0)
|
|
2725
2725
|
break;
|
|
2726
2726
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2727
2727
|
var l = this.clonePosition();
|
|
2728
2728
|
this.bump(), i.push({
|
|
2729
|
-
type:
|
|
2730
|
-
location:
|
|
2729
|
+
type: _.pound,
|
|
2730
|
+
location: x(l, this.clonePosition())
|
|
2731
2731
|
});
|
|
2732
2732
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2733
2733
|
if (r)
|
|
2734
2734
|
break;
|
|
2735
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
|
2736
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2737
|
-
var
|
|
2738
|
-
if (
|
|
2739
|
-
return
|
|
2740
|
-
i.push(
|
|
2735
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
2736
|
+
} else if (s === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
2737
|
+
var o = this.parseTag(t, n);
|
|
2738
|
+
if (o.err)
|
|
2739
|
+
return o;
|
|
2740
|
+
i.push(o.val);
|
|
2741
2741
|
} else {
|
|
2742
|
-
var
|
|
2743
|
-
if (
|
|
2744
|
-
return
|
|
2745
|
-
i.push(
|
|
2742
|
+
var o = this.parseLiteral(t, n);
|
|
2743
|
+
if (o.err)
|
|
2744
|
+
return o;
|
|
2745
|
+
i.push(o.val);
|
|
2746
2746
|
}
|
|
2747
2747
|
}
|
|
2748
2748
|
}
|
|
@@ -2754,9 +2754,9 @@ var Ur = (
|
|
|
2754
2754
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2755
2755
|
return {
|
|
2756
2756
|
val: {
|
|
2757
|
-
type:
|
|
2757
|
+
type: _.literal,
|
|
2758
2758
|
value: "<".concat(i, "/>"),
|
|
2759
|
-
location:
|
|
2759
|
+
location: x(r, this.clonePosition())
|
|
2760
2760
|
},
|
|
2761
2761
|
err: null
|
|
2762
2762
|
};
|
|
@@ -2764,27 +2764,27 @@ var Ur = (
|
|
|
2764
2764
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2765
2765
|
if (s.err)
|
|
2766
2766
|
return s;
|
|
2767
|
-
var
|
|
2767
|
+
var o = s.val, l = this.clonePosition();
|
|
2768
2768
|
if (this.bumpIf("</")) {
|
|
2769
|
-
if (this.isEOF() || !
|
|
2770
|
-
return this.error(y.INVALID_TAG,
|
|
2769
|
+
if (this.isEOF() || !nt(this.char()))
|
|
2770
|
+
return this.error(y.INVALID_TAG, x(l, this.clonePosition()));
|
|
2771
2771
|
var h = this.clonePosition(), a = this.parseTagName();
|
|
2772
|
-
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG,
|
|
2772
|
+
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, x(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2773
2773
|
val: {
|
|
2774
|
-
type:
|
|
2774
|
+
type: _.tag,
|
|
2775
2775
|
value: i,
|
|
2776
|
-
children:
|
|
2777
|
-
location:
|
|
2776
|
+
children: o,
|
|
2777
|
+
location: x(r, this.clonePosition())
|
|
2778
2778
|
},
|
|
2779
2779
|
err: null
|
|
2780
|
-
} : this.error(y.INVALID_TAG,
|
|
2780
|
+
} : this.error(y.INVALID_TAG, x(l, this.clonePosition())));
|
|
2781
2781
|
} else
|
|
2782
|
-
return this.error(y.UNCLOSED_TAG,
|
|
2782
|
+
return this.error(y.UNCLOSED_TAG, x(r, this.clonePosition()));
|
|
2783
2783
|
} else
|
|
2784
|
-
return this.error(y.INVALID_TAG,
|
|
2784
|
+
return this.error(y.INVALID_TAG, x(r, this.clonePosition()));
|
|
2785
2785
|
}, e.prototype.parseTagName = function() {
|
|
2786
2786
|
var t = this.offset();
|
|
2787
|
-
for (this.bump(); !this.isEOF() &&
|
|
2787
|
+
for (this.bump(); !this.isEOF() && Vr(this.char()); )
|
|
2788
2788
|
this.bump();
|
|
2789
2789
|
return this.message.slice(t, this.offset());
|
|
2790
2790
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2794,9 +2794,9 @@ var Ur = (
|
|
|
2794
2794
|
i += s;
|
|
2795
2795
|
continue;
|
|
2796
2796
|
}
|
|
2797
|
-
var
|
|
2798
|
-
if (
|
|
2799
|
-
i +=
|
|
2797
|
+
var o = this.tryParseUnquoted(t, n);
|
|
2798
|
+
if (o) {
|
|
2799
|
+
i += o;
|
|
2800
2800
|
continue;
|
|
2801
2801
|
}
|
|
2802
2802
|
var l = this.tryParseLeftAngleBracket();
|
|
@@ -2806,14 +2806,14 @@ var Ur = (
|
|
|
2806
2806
|
}
|
|
2807
2807
|
break;
|
|
2808
2808
|
}
|
|
2809
|
-
var h =
|
|
2809
|
+
var h = x(r, this.clonePosition());
|
|
2810
2810
|
return {
|
|
2811
|
-
val: { type:
|
|
2811
|
+
val: { type: _.literal, value: i, location: h },
|
|
2812
2812
|
err: null
|
|
2813
2813
|
};
|
|
2814
2814
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2815
2815
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2816
|
-
!
|
|
2816
|
+
!jr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2817
2817
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2818
2818
|
if (this.isEOF() || this.char() !== 39)
|
|
2819
2819
|
return null;
|
|
@@ -2847,49 +2847,49 @@ var Ur = (
|
|
|
2847
2847
|
n.push(r);
|
|
2848
2848
|
this.bump();
|
|
2849
2849
|
}
|
|
2850
|
-
return
|
|
2850
|
+
return et.apply(void 0, n);
|
|
2851
2851
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2852
2852
|
if (this.isEOF())
|
|
2853
2853
|
return null;
|
|
2854
2854
|
var r = this.char();
|
|
2855
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
2855
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), et(r));
|
|
2856
2856
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2857
2857
|
var r = this.clonePosition();
|
|
2858
2858
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2859
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2859
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(r, this.clonePosition()));
|
|
2860
2860
|
if (this.char() === 125)
|
|
2861
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
|
2861
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, x(r, this.clonePosition()));
|
|
2862
2862
|
var i = this.parseIdentifierIfPossible().value;
|
|
2863
2863
|
if (!i)
|
|
2864
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
2864
|
+
return this.error(y.MALFORMED_ARGUMENT, x(r, this.clonePosition()));
|
|
2865
2865
|
if (this.bumpSpace(), this.isEOF())
|
|
2866
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2866
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(r, this.clonePosition()));
|
|
2867
2867
|
switch (this.char()) {
|
|
2868
2868
|
case 125:
|
|
2869
2869
|
return this.bump(), {
|
|
2870
2870
|
val: {
|
|
2871
|
-
type:
|
|
2871
|
+
type: _.argument,
|
|
2872
2872
|
// value does not include the opening and closing braces.
|
|
2873
2873
|
value: i,
|
|
2874
|
-
location:
|
|
2874
|
+
location: x(r, this.clonePosition())
|
|
2875
2875
|
},
|
|
2876
2876
|
err: null
|
|
2877
2877
|
};
|
|
2878
2878
|
case 44:
|
|
2879
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2879
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
2880
2880
|
default:
|
|
2881
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
2881
|
+
return this.error(y.MALFORMED_ARGUMENT, x(r, this.clonePosition()));
|
|
2882
2882
|
}
|
|
2883
2883
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2884
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
2884
|
+
var t = this.clonePosition(), n = this.offset(), r = tt(this.message, n), i = n + r.length;
|
|
2885
2885
|
this.bumpTo(i);
|
|
2886
|
-
var s = this.clonePosition(),
|
|
2887
|
-
return { value: r, location:
|
|
2886
|
+
var s = this.clonePosition(), o = x(t, s);
|
|
2887
|
+
return { value: r, location: o };
|
|
2888
2888
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2889
|
-
var s,
|
|
2889
|
+
var s, o = this.clonePosition(), l = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2890
2890
|
switch (l) {
|
|
2891
2891
|
case "":
|
|
2892
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
|
2892
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, x(o, h));
|
|
2893
2893
|
case "number":
|
|
2894
2894
|
case "date":
|
|
2895
2895
|
case "time": {
|
|
@@ -2897,38 +2897,38 @@ var Ur = (
|
|
|
2897
2897
|
var a = null;
|
|
2898
2898
|
if (this.bumpIf(",")) {
|
|
2899
2899
|
this.bumpSpace();
|
|
2900
|
-
var
|
|
2900
|
+
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2901
2901
|
if (c.err)
|
|
2902
2902
|
return c;
|
|
2903
|
-
var f =
|
|
2903
|
+
var f = Gr(c.val);
|
|
2904
2904
|
if (f.length === 0)
|
|
2905
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
|
2906
|
-
var
|
|
2907
|
-
a = { style: f, styleLocation:
|
|
2905
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
2906
|
+
var d = x(u, this.clonePosition());
|
|
2907
|
+
a = { style: f, styleLocation: d };
|
|
2908
2908
|
}
|
|
2909
2909
|
var g = this.tryParseArgumentClose(i);
|
|
2910
2910
|
if (g.err)
|
|
2911
2911
|
return g;
|
|
2912
|
-
var E =
|
|
2913
|
-
if (a &&
|
|
2914
|
-
var
|
|
2912
|
+
var E = x(i, this.clonePosition());
|
|
2913
|
+
if (a && Ct(a == null ? void 0 : a.style, "::", 0)) {
|
|
2914
|
+
var H = Dr(a.style.slice(2));
|
|
2915
2915
|
if (l === "number") {
|
|
2916
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2916
|
+
var c = this.parseNumberSkeletonFromString(H, a.styleLocation);
|
|
2917
2917
|
return c.err ? c : {
|
|
2918
|
-
val: { type:
|
|
2918
|
+
val: { type: _.number, value: r, location: E, style: c.val },
|
|
2919
2919
|
err: null
|
|
2920
2920
|
};
|
|
2921
2921
|
} else {
|
|
2922
|
-
if (
|
|
2922
|
+
if (H.length === 0)
|
|
2923
2923
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, E);
|
|
2924
|
-
var S =
|
|
2925
|
-
this.locale && (S =
|
|
2924
|
+
var S = H;
|
|
2925
|
+
this.locale && (S = Br(H, this.locale));
|
|
2926
2926
|
var f = {
|
|
2927
|
-
type:
|
|
2927
|
+
type: ce.dateTime,
|
|
2928
2928
|
pattern: S,
|
|
2929
2929
|
location: a.styleLocation,
|
|
2930
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2931
|
-
}, B = l === "date" ?
|
|
2930
|
+
parsedOptions: this.shouldParseSkeletons ? xr(S) : {}
|
|
2931
|
+
}, B = l === "date" ? _.date : _.time;
|
|
2932
2932
|
return {
|
|
2933
2933
|
val: { type: B, value: r, location: E, style: f },
|
|
2934
2934
|
err: null
|
|
@@ -2937,7 +2937,7 @@ var Ur = (
|
|
|
2937
2937
|
}
|
|
2938
2938
|
return {
|
|
2939
2939
|
val: {
|
|
2940
|
-
type: l === "number" ?
|
|
2940
|
+
type: l === "number" ? _.number : l === "date" ? _.date : _.time,
|
|
2941
2941
|
value: r,
|
|
2942
2942
|
location: E,
|
|
2943
2943
|
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
@@ -2948,40 +2948,40 @@ var Ur = (
|
|
|
2948
2948
|
case "plural":
|
|
2949
2949
|
case "selectordinal":
|
|
2950
2950
|
case "select": {
|
|
2951
|
-
var
|
|
2951
|
+
var T = this.clonePosition();
|
|
2952
2952
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2953
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2953
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(T, Le({}, T)));
|
|
2954
2954
|
this.bumpSpace();
|
|
2955
|
-
var
|
|
2956
|
-
if (l !== "select" &&
|
|
2955
|
+
var V = this.parseIdentifierIfPossible(), M = 0;
|
|
2956
|
+
if (l !== "select" && V.value === "offset") {
|
|
2957
2957
|
if (!this.bumpIf(":"))
|
|
2958
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2958
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
2959
2959
|
this.bumpSpace();
|
|
2960
2960
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2961
2961
|
if (c.err)
|
|
2962
2962
|
return c;
|
|
2963
|
-
this.bumpSpace(),
|
|
2963
|
+
this.bumpSpace(), V = this.parseIdentifierIfPossible(), M = c.val;
|
|
2964
2964
|
}
|
|
2965
|
-
var
|
|
2966
|
-
if (
|
|
2967
|
-
return
|
|
2965
|
+
var A = this.tryParsePluralOrSelectOptions(t, l, n, V);
|
|
2966
|
+
if (A.err)
|
|
2967
|
+
return A;
|
|
2968
2968
|
var g = this.tryParseArgumentClose(i);
|
|
2969
2969
|
if (g.err)
|
|
2970
2970
|
return g;
|
|
2971
|
-
var Z =
|
|
2971
|
+
var Z = x(i, this.clonePosition());
|
|
2972
2972
|
return l === "select" ? {
|
|
2973
2973
|
val: {
|
|
2974
|
-
type:
|
|
2974
|
+
type: _.select,
|
|
2975
2975
|
value: r,
|
|
2976
|
-
options:
|
|
2976
|
+
options: _t(A.val),
|
|
2977
2977
|
location: Z
|
|
2978
2978
|
},
|
|
2979
2979
|
err: null
|
|
2980
2980
|
} : {
|
|
2981
2981
|
val: {
|
|
2982
|
-
type:
|
|
2982
|
+
type: _.plural,
|
|
2983
2983
|
value: r,
|
|
2984
|
-
options:
|
|
2984
|
+
options: _t(A.val),
|
|
2985
2985
|
offset: M,
|
|
2986
2986
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2987
2987
|
location: Z
|
|
@@ -2990,10 +2990,10 @@ var Ur = (
|
|
|
2990
2990
|
};
|
|
2991
2991
|
}
|
|
2992
2992
|
default:
|
|
2993
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
|
2993
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, x(o, h));
|
|
2994
2994
|
}
|
|
2995
2995
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2996
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2996
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2997
2997
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2998
2998
|
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
2999
2999
|
var r = this.char();
|
|
@@ -3002,7 +3002,7 @@ var Ur = (
|
|
|
3002
3002
|
this.bump();
|
|
3003
3003
|
var i = this.clonePosition();
|
|
3004
3004
|
if (!this.bumpUntil("'"))
|
|
3005
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3005
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
|
|
3006
3006
|
this.bump();
|
|
3007
3007
|
break;
|
|
3008
3008
|
}
|
|
@@ -3032,64 +3032,64 @@ var Ur = (
|
|
|
3032
3032
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3033
3033
|
var r = [];
|
|
3034
3034
|
try {
|
|
3035
|
-
r =
|
|
3035
|
+
r = Cr(t);
|
|
3036
3036
|
} catch (i) {
|
|
3037
3037
|
return this.error(y.INVALID_NUMBER_SKELETON, n);
|
|
3038
3038
|
}
|
|
3039
3039
|
return {
|
|
3040
3040
|
val: {
|
|
3041
|
-
type:
|
|
3041
|
+
type: ce.number,
|
|
3042
3042
|
tokens: r,
|
|
3043
3043
|
location: n,
|
|
3044
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3044
|
+
parsedOptions: this.shouldParseSkeletons ? Sr(r) : {}
|
|
3045
3045
|
},
|
|
3046
3046
|
err: null
|
|
3047
3047
|
};
|
|
3048
3048
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3049
|
-
for (var s,
|
|
3049
|
+
for (var s, o = !1, l = [], h = /* @__PURE__ */ new Set(), a = i.value, u = i.location; ; ) {
|
|
3050
3050
|
if (a.length === 0) {
|
|
3051
3051
|
var c = this.clonePosition();
|
|
3052
3052
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3053
3053
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3054
3054
|
if (f.err)
|
|
3055
3055
|
return f;
|
|
3056
|
-
|
|
3056
|
+
u = x(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
3057
3057
|
} else
|
|
3058
3058
|
break;
|
|
3059
3059
|
}
|
|
3060
3060
|
if (h.has(a))
|
|
3061
|
-
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3062
|
-
a === "other" && (
|
|
3063
|
-
var
|
|
3061
|
+
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
3062
|
+
a === "other" && (o = !0), this.bumpSpace();
|
|
3063
|
+
var d = this.clonePosition();
|
|
3064
3064
|
if (!this.bumpIf("{"))
|
|
3065
|
-
return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3065
|
+
return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
|
3066
3066
|
var g = this.parseMessage(t + 1, n, r);
|
|
3067
3067
|
if (g.err)
|
|
3068
3068
|
return g;
|
|
3069
|
-
var E = this.tryParseArgumentClose(
|
|
3069
|
+
var E = this.tryParseArgumentClose(d);
|
|
3070
3070
|
if (E.err)
|
|
3071
3071
|
return E;
|
|
3072
3072
|
l.push([
|
|
3073
3073
|
a,
|
|
3074
3074
|
{
|
|
3075
3075
|
value: g.val,
|
|
3076
|
-
location:
|
|
3076
|
+
location: x(d, this.clonePosition())
|
|
3077
3077
|
}
|
|
3078
|
-
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value,
|
|
3078
|
+
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, u = s.location;
|
|
3079
3079
|
}
|
|
3080
|
-
return l.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3080
|
+
return l.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3081
3081
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3082
3082
|
var r = 1, i = this.clonePosition();
|
|
3083
3083
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3084
|
-
for (var s = !1,
|
|
3084
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3085
3085
|
var l = this.char();
|
|
3086
3086
|
if (l >= 48 && l <= 57)
|
|
3087
|
-
s = !0,
|
|
3087
|
+
s = !0, o = o * 10 + (l - 48), this.bump();
|
|
3088
3088
|
else
|
|
3089
3089
|
break;
|
|
3090
3090
|
}
|
|
3091
|
-
var h =
|
|
3092
|
-
return s ? (
|
|
3091
|
+
var h = x(i, this.clonePosition());
|
|
3092
|
+
return s ? (o *= r, $r(o) ? { val: o, err: null } : this.error(n, h)) : this.error(t, h);
|
|
3093
3093
|
}, e.prototype.offset = function() {
|
|
3094
3094
|
return this.position.offset;
|
|
3095
3095
|
}, e.prototype.isEOF = function() {
|
|
@@ -3104,7 +3104,7 @@ var Ur = (
|
|
|
3104
3104
|
var t = this.position.offset;
|
|
3105
3105
|
if (t >= this.message.length)
|
|
3106
3106
|
throw Error("out of bound");
|
|
3107
|
-
var n =
|
|
3107
|
+
var n = on(this.message, t);
|
|
3108
3108
|
if (n === void 0)
|
|
3109
3109
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3110
3110
|
return n;
|
|
@@ -3123,7 +3123,7 @@ var Ur = (
|
|
|
3123
3123
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3124
3124
|
}
|
|
3125
3125
|
}, e.prototype.bumpIf = function(t) {
|
|
3126
|
-
if (
|
|
3126
|
+
if (Ct(this.message, t, this.offset())) {
|
|
3127
3127
|
for (var n = 0; n < t.length; n++)
|
|
3128
3128
|
this.bump();
|
|
3129
3129
|
return !0;
|
|
@@ -3145,7 +3145,7 @@ var Ur = (
|
|
|
3145
3145
|
break;
|
|
3146
3146
|
}
|
|
3147
3147
|
}, e.prototype.bumpSpace = function() {
|
|
3148
|
-
for (; !this.isEOF() &&
|
|
3148
|
+
for (; !this.isEOF() && ln(this.char()); )
|
|
3149
3149
|
this.bump();
|
|
3150
3150
|
}, e.prototype.peek = function() {
|
|
3151
3151
|
if (this.isEOF())
|
|
@@ -3155,47 +3155,47 @@ var Ur = (
|
|
|
3155
3155
|
}, e;
|
|
3156
3156
|
}()
|
|
3157
3157
|
);
|
|
3158
|
-
function
|
|
3158
|
+
function nt(e) {
|
|
3159
3159
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3160
3160
|
}
|
|
3161
|
-
function
|
|
3162
|
-
return
|
|
3161
|
+
function jr(e) {
|
|
3162
|
+
return nt(e) || e === 47;
|
|
3163
3163
|
}
|
|
3164
|
-
function
|
|
3164
|
+
function Vr(e) {
|
|
3165
3165
|
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;
|
|
3166
3166
|
}
|
|
3167
|
-
function
|
|
3167
|
+
function ln(e) {
|
|
3168
3168
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3169
3169
|
}
|
|
3170
|
-
function
|
|
3170
|
+
function zr(e) {
|
|
3171
3171
|
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;
|
|
3172
3172
|
}
|
|
3173
|
-
function
|
|
3173
|
+
function rt(e) {
|
|
3174
3174
|
e.forEach(function(t) {
|
|
3175
|
-
if (delete t.location,
|
|
3175
|
+
if (delete t.location, Yt(t) || Kt(t))
|
|
3176
3176
|
for (var n in t.options)
|
|
3177
|
-
delete t.options[n].location,
|
|
3177
|
+
delete t.options[n].location, rt(t.options[n].value);
|
|
3178
3178
|
else
|
|
3179
|
-
|
|
3179
|
+
qt(t) && tn(t.style) || (Qt(t) || Jt(t)) && Ye(t.style) ? delete t.style.location : en(t) && rt(t.children);
|
|
3180
3180
|
});
|
|
3181
3181
|
}
|
|
3182
|
-
function
|
|
3183
|
-
t === void 0 && (t = {}), t =
|
|
3184
|
-
var n = new
|
|
3182
|
+
function Zr(e, t) {
|
|
3183
|
+
t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3184
|
+
var n = new Fr(e, t).parse();
|
|
3185
3185
|
if (n.err) {
|
|
3186
3186
|
var r = SyntaxError(y[n.err.kind]);
|
|
3187
3187
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3188
3188
|
}
|
|
3189
|
-
return t != null && t.captureLocation ||
|
|
3189
|
+
return t != null && t.captureLocation || rt(n.val), n.val;
|
|
3190
3190
|
}
|
|
3191
|
-
var
|
|
3191
|
+
var fe;
|
|
3192
3192
|
(function(e) {
|
|
3193
3193
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3194
|
-
})(
|
|
3195
|
-
var
|
|
3194
|
+
})(fe || (fe = {}));
|
|
3195
|
+
var Ie = (
|
|
3196
3196
|
/** @class */
|
|
3197
3197
|
function(e) {
|
|
3198
|
-
|
|
3198
|
+
Ne(t, e);
|
|
3199
3199
|
function t(n, r, i) {
|
|
3200
3200
|
var s = e.call(this, n) || this;
|
|
3201
3201
|
return s.code = r, s.originalMessage = i, s;
|
|
@@ -3204,155 +3204,155 @@ var Pe = (
|
|
|
3204
3204
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3205
3205
|
}, t;
|
|
3206
3206
|
}(Error)
|
|
3207
|
-
),
|
|
3207
|
+
), wt = (
|
|
3208
3208
|
/** @class */
|
|
3209
3209
|
function(e) {
|
|
3210
|
-
|
|
3210
|
+
Ne(t, e);
|
|
3211
3211
|
function t(n, r, i, s) {
|
|
3212
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3212
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, s) || this;
|
|
3213
3213
|
}
|
|
3214
3214
|
return t;
|
|
3215
|
-
}(
|
|
3216
|
-
),
|
|
3215
|
+
}(Ie)
|
|
3216
|
+
), Xr = (
|
|
3217
3217
|
/** @class */
|
|
3218
3218
|
function(e) {
|
|
3219
|
-
|
|
3219
|
+
Ne(t, e);
|
|
3220
3220
|
function t(n, r, i) {
|
|
3221
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r),
|
|
3221
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), fe.INVALID_VALUE, i) || this;
|
|
3222
3222
|
}
|
|
3223
3223
|
return t;
|
|
3224
|
-
}(
|
|
3225
|
-
),
|
|
3224
|
+
}(Ie)
|
|
3225
|
+
), Wr = (
|
|
3226
3226
|
/** @class */
|
|
3227
3227
|
function(e) {
|
|
3228
|
-
|
|
3228
|
+
Ne(t, e);
|
|
3229
3229
|
function t(n, r) {
|
|
3230
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'),
|
|
3230
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), fe.MISSING_VALUE, r) || this;
|
|
3231
3231
|
}
|
|
3232
3232
|
return t;
|
|
3233
|
-
}(
|
|
3234
|
-
),
|
|
3233
|
+
}(Ie)
|
|
3234
|
+
), N;
|
|
3235
3235
|
(function(e) {
|
|
3236
3236
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3237
|
-
})(
|
|
3238
|
-
function
|
|
3237
|
+
})(N || (N = {}));
|
|
3238
|
+
function qr(e) {
|
|
3239
3239
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3240
3240
|
var r = t[t.length - 1];
|
|
3241
|
-
return !r || r.type !==
|
|
3241
|
+
return !r || r.type !== N.literal || n.type !== N.literal ? t.push(n) : r.value += n.value, t;
|
|
3242
3242
|
}, []);
|
|
3243
3243
|
}
|
|
3244
|
-
function
|
|
3244
|
+
function Qr(e) {
|
|
3245
3245
|
return typeof e == "function";
|
|
3246
3246
|
}
|
|
3247
|
-
function
|
|
3248
|
-
if (e.length === 1 &&
|
|
3247
|
+
function He(e, t, n, r, i, s, o) {
|
|
3248
|
+
if (e.length === 1 && yt(e[0]))
|
|
3249
3249
|
return [
|
|
3250
3250
|
{
|
|
3251
|
-
type:
|
|
3251
|
+
type: N.literal,
|
|
3252
3252
|
value: e[0].value
|
|
3253
3253
|
}
|
|
3254
3254
|
];
|
|
3255
3255
|
for (var l = [], h = 0, a = e; h < a.length; h++) {
|
|
3256
|
-
var
|
|
3257
|
-
if (
|
|
3256
|
+
var u = a[h];
|
|
3257
|
+
if (yt(u)) {
|
|
3258
3258
|
l.push({
|
|
3259
|
-
type:
|
|
3260
|
-
value:
|
|
3259
|
+
type: N.literal,
|
|
3260
|
+
value: u.value
|
|
3261
3261
|
});
|
|
3262
3262
|
continue;
|
|
3263
3263
|
}
|
|
3264
|
-
if (
|
|
3264
|
+
if (yr(u)) {
|
|
3265
3265
|
typeof s == "number" && l.push({
|
|
3266
|
-
type:
|
|
3266
|
+
type: N.literal,
|
|
3267
3267
|
value: n.getNumberFormat(t).format(s)
|
|
3268
3268
|
});
|
|
3269
3269
|
continue;
|
|
3270
3270
|
}
|
|
3271
|
-
var c =
|
|
3271
|
+
var c = u.value;
|
|
3272
3272
|
if (!(i && c in i))
|
|
3273
|
-
throw new
|
|
3273
|
+
throw new Wr(c, o);
|
|
3274
3274
|
var f = i[c];
|
|
3275
|
-
if (
|
|
3275
|
+
if (gr(u)) {
|
|
3276
3276
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), l.push({
|
|
3277
|
-
type: typeof f == "string" ?
|
|
3277
|
+
type: typeof f == "string" ? N.literal : N.object,
|
|
3278
3278
|
value: f
|
|
3279
3279
|
});
|
|
3280
3280
|
continue;
|
|
3281
3281
|
}
|
|
3282
|
-
if (
|
|
3283
|
-
var
|
|
3282
|
+
if (Qt(u)) {
|
|
3283
|
+
var d = typeof u.style == "string" ? r.date[u.style] : Ye(u.style) ? u.style.parsedOptions : void 0;
|
|
3284
3284
|
l.push({
|
|
3285
|
-
type:
|
|
3286
|
-
value: n.getDateTimeFormat(t,
|
|
3285
|
+
type: N.literal,
|
|
3286
|
+
value: n.getDateTimeFormat(t, d).format(f)
|
|
3287
3287
|
});
|
|
3288
3288
|
continue;
|
|
3289
3289
|
}
|
|
3290
|
-
if (
|
|
3291
|
-
var
|
|
3290
|
+
if (Jt(u)) {
|
|
3291
|
+
var d = typeof u.style == "string" ? r.time[u.style] : Ye(u.style) ? u.style.parsedOptions : r.time.medium;
|
|
3292
3292
|
l.push({
|
|
3293
|
-
type:
|
|
3294
|
-
value: n.getDateTimeFormat(t,
|
|
3293
|
+
type: N.literal,
|
|
3294
|
+
value: n.getDateTimeFormat(t, d).format(f)
|
|
3295
3295
|
});
|
|
3296
3296
|
continue;
|
|
3297
3297
|
}
|
|
3298
|
-
if (
|
|
3299
|
-
var
|
|
3300
|
-
|
|
3301
|
-
type:
|
|
3302
|
-
value: n.getNumberFormat(t,
|
|
3298
|
+
if (qt(u)) {
|
|
3299
|
+
var d = typeof u.style == "string" ? r.number[u.style] : tn(u.style) ? u.style.parsedOptions : void 0;
|
|
3300
|
+
d && d.scale && (f = f * (d.scale || 1)), l.push({
|
|
3301
|
+
type: N.literal,
|
|
3302
|
+
value: n.getNumberFormat(t, d).format(f)
|
|
3303
3303
|
});
|
|
3304
3304
|
continue;
|
|
3305
3305
|
}
|
|
3306
|
-
if (
|
|
3307
|
-
var g =
|
|
3308
|
-
if (!
|
|
3309
|
-
throw new
|
|
3310
|
-
var S =
|
|
3306
|
+
if (en(u)) {
|
|
3307
|
+
var g = u.children, E = u.value, H = i[E];
|
|
3308
|
+
if (!Qr(H))
|
|
3309
|
+
throw new Xr(E, "function", o);
|
|
3310
|
+
var S = He(g, t, n, r, i, s), B = H(S.map(function(M) {
|
|
3311
3311
|
return M.value;
|
|
3312
3312
|
}));
|
|
3313
3313
|
Array.isArray(B) || (B = [B]), l.push.apply(l, B.map(function(M) {
|
|
3314
3314
|
return {
|
|
3315
|
-
type: typeof M == "string" ?
|
|
3315
|
+
type: typeof M == "string" ? N.literal : N.object,
|
|
3316
3316
|
value: M
|
|
3317
3317
|
};
|
|
3318
3318
|
}));
|
|
3319
3319
|
}
|
|
3320
|
-
if (
|
|
3321
|
-
var
|
|
3322
|
-
if (!
|
|
3323
|
-
throw new
|
|
3324
|
-
l.push.apply(l,
|
|
3320
|
+
if (Yt(u)) {
|
|
3321
|
+
var T = u.options[f] || u.options.other;
|
|
3322
|
+
if (!T)
|
|
3323
|
+
throw new wt(u.value, f, Object.keys(u.options), o);
|
|
3324
|
+
l.push.apply(l, He(T.value, t, n, r, i));
|
|
3325
3325
|
continue;
|
|
3326
3326
|
}
|
|
3327
|
-
if (
|
|
3328
|
-
var
|
|
3329
|
-
if (!
|
|
3327
|
+
if (Kt(u)) {
|
|
3328
|
+
var T = u.options["=".concat(f)];
|
|
3329
|
+
if (!T) {
|
|
3330
3330
|
if (!Intl.PluralRules)
|
|
3331
|
-
throw new
|
|
3331
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3332
3332
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3333
|
-
`,
|
|
3334
|
-
var
|
|
3335
|
-
|
|
3333
|
+
`, fe.MISSING_INTL_API, o);
|
|
3334
|
+
var V = n.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
|
3335
|
+
T = u.options[V] || u.options.other;
|
|
3336
3336
|
}
|
|
3337
|
-
if (!
|
|
3338
|
-
throw new
|
|
3339
|
-
l.push.apply(l,
|
|
3337
|
+
if (!T)
|
|
3338
|
+
throw new wt(u.value, f, Object.keys(u.options), o);
|
|
3339
|
+
l.push.apply(l, He(T.value, t, n, r, i, f - (u.offset || 0)));
|
|
3340
3340
|
continue;
|
|
3341
3341
|
}
|
|
3342
3342
|
}
|
|
3343
|
-
return
|
|
3343
|
+
return qr(l);
|
|
3344
3344
|
}
|
|
3345
|
-
function
|
|
3346
|
-
return t ?
|
|
3347
|
-
return n[r] =
|
|
3345
|
+
function Jr(e, t) {
|
|
3346
|
+
return t ? q(q(q({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3347
|
+
return n[r] = q(q({}, e[r]), t[r] || {}), n;
|
|
3348
3348
|
}, {})) : e;
|
|
3349
3349
|
}
|
|
3350
|
-
function
|
|
3350
|
+
function Yr(e, t) {
|
|
3351
3351
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3352
|
-
return n[r] =
|
|
3353
|
-
},
|
|
3352
|
+
return n[r] = Jr(e[r], t[r]), n;
|
|
3353
|
+
}, q({}, e)) : e;
|
|
3354
3354
|
}
|
|
3355
|
-
function
|
|
3355
|
+
function Ze(e) {
|
|
3356
3356
|
return {
|
|
3357
3357
|
create: function() {
|
|
3358
3358
|
return {
|
|
@@ -3366,39 +3366,39 @@ function Ve(e) {
|
|
|
3366
3366
|
}
|
|
3367
3367
|
};
|
|
3368
3368
|
}
|
|
3369
|
-
function
|
|
3369
|
+
function Kr(e) {
|
|
3370
3370
|
return e === void 0 && (e = {
|
|
3371
3371
|
number: {},
|
|
3372
3372
|
dateTime: {},
|
|
3373
3373
|
pluralRules: {}
|
|
3374
3374
|
}), {
|
|
3375
|
-
getNumberFormat:
|
|
3375
|
+
getNumberFormat: je(function() {
|
|
3376
3376
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3377
3377
|
n[r] = arguments[r];
|
|
3378
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3378
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], n, !1)))();
|
|
3379
3379
|
}, {
|
|
3380
|
-
cache:
|
|
3381
|
-
strategy:
|
|
3380
|
+
cache: Ze(e.number),
|
|
3381
|
+
strategy: Ve.variadic
|
|
3382
3382
|
}),
|
|
3383
|
-
getDateTimeFormat:
|
|
3383
|
+
getDateTimeFormat: je(function() {
|
|
3384
3384
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3385
3385
|
n[r] = arguments[r];
|
|
3386
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3386
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], n, !1)))();
|
|
3387
3387
|
}, {
|
|
3388
|
-
cache:
|
|
3389
|
-
strategy:
|
|
3388
|
+
cache: Ze(e.dateTime),
|
|
3389
|
+
strategy: Ve.variadic
|
|
3390
3390
|
}),
|
|
3391
|
-
getPluralRules:
|
|
3391
|
+
getPluralRules: je(function() {
|
|
3392
3392
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3393
3393
|
n[r] = arguments[r];
|
|
3394
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3394
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], n, !1)))();
|
|
3395
3395
|
}, {
|
|
3396
|
-
cache:
|
|
3397
|
-
strategy:
|
|
3396
|
+
cache: Ze(e.pluralRules),
|
|
3397
|
+
strategy: Ve.variadic
|
|
3398
3398
|
})
|
|
3399
3399
|
};
|
|
3400
3400
|
}
|
|
3401
|
-
var
|
|
3401
|
+
var ei = (
|
|
3402
3402
|
/** @class */
|
|
3403
3403
|
function() {
|
|
3404
3404
|
function e(t, n, r, i) {
|
|
@@ -3412,12 +3412,12 @@ var Jr = (
|
|
|
3412
3412
|
var a = s.formatToParts(h);
|
|
3413
3413
|
if (a.length === 1)
|
|
3414
3414
|
return a[0].value;
|
|
3415
|
-
var
|
|
3416
|
-
return !c.length || f.type !==
|
|
3415
|
+
var u = a.reduce(function(c, f) {
|
|
3416
|
+
return !c.length || f.type !== N.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3417
3417
|
}, []);
|
|
3418
|
-
return
|
|
3418
|
+
return u.length <= 1 ? u[0] || "" : u;
|
|
3419
3419
|
}, this.formatToParts = function(h) {
|
|
3420
|
-
return
|
|
3420
|
+
return He(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3421
3421
|
}, this.resolvedOptions = function() {
|
|
3422
3422
|
var h;
|
|
3423
3423
|
return {
|
|
@@ -3428,15 +3428,15 @@ var Jr = (
|
|
|
3428
3428
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3429
3429
|
if (this.message = t, !e.__parse)
|
|
3430
3430
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3431
|
-
var
|
|
3432
|
-
|
|
3433
|
-
var l =
|
|
3434
|
-
this.ast = e.__parse(t,
|
|
3431
|
+
var o = i || {};
|
|
3432
|
+
o.formatters;
|
|
3433
|
+
var l = lr(o, ["formatters"]);
|
|
3434
|
+
this.ast = e.__parse(t, q(q({}, l), { locale: this.resolvedLocale }));
|
|
3435
3435
|
} else
|
|
3436
3436
|
this.ast = t;
|
|
3437
3437
|
if (!Array.isArray(this.ast))
|
|
3438
3438
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3439
|
-
this.formats =
|
|
3439
|
+
this.formats = Yr(e.formats, r), this.formatters = i && i.formatters || Kr(this.formatterCache);
|
|
3440
3440
|
}
|
|
3441
3441
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3442
3442
|
get: function() {
|
|
@@ -3449,7 +3449,7 @@ var Jr = (
|
|
|
3449
3449
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3450
3450
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3451
3451
|
}
|
|
3452
|
-
}, e.__parse =
|
|
3452
|
+
}, e.__parse = Zr, e.formats = {
|
|
3453
3453
|
number: {
|
|
3454
3454
|
integer: {
|
|
3455
3455
|
maximumFractionDigits: 0
|
|
@@ -3510,7 +3510,7 @@ var Jr = (
|
|
|
3510
3510
|
}, e;
|
|
3511
3511
|
}()
|
|
3512
3512
|
);
|
|
3513
|
-
function
|
|
3513
|
+
function ti(e, t) {
|
|
3514
3514
|
if (t == null)
|
|
3515
3515
|
return;
|
|
3516
3516
|
if (t in e)
|
|
@@ -3531,92 +3531,92 @@ function Yr(e, t) {
|
|
|
3531
3531
|
r = void 0;
|
|
3532
3532
|
return r;
|
|
3533
3533
|
}
|
|
3534
|
-
const
|
|
3534
|
+
const K = {}, ni = (e, t, n) => n && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = n), n), hn = (e, t) => {
|
|
3535
3535
|
if (t == null)
|
|
3536
3536
|
return;
|
|
3537
|
-
if (t in
|
|
3538
|
-
return
|
|
3539
|
-
const n =
|
|
3537
|
+
if (t in K && e in K[t])
|
|
3538
|
+
return K[t][e];
|
|
3539
|
+
const n = ke(t);
|
|
3540
3540
|
for (let r = 0; r < n.length; r++) {
|
|
3541
|
-
const i = n[r], s =
|
|
3541
|
+
const i = n[r], s = ii(i, e);
|
|
3542
3542
|
if (s)
|
|
3543
|
-
return
|
|
3543
|
+
return ni(e, t, s);
|
|
3544
3544
|
}
|
|
3545
3545
|
};
|
|
3546
|
-
let
|
|
3547
|
-
const
|
|
3548
|
-
function
|
|
3549
|
-
return
|
|
3546
|
+
let ot;
|
|
3547
|
+
const pe = Pe({});
|
|
3548
|
+
function ri(e) {
|
|
3549
|
+
return ot[e] || null;
|
|
3550
3550
|
}
|
|
3551
|
-
function
|
|
3552
|
-
return e in
|
|
3551
|
+
function cn(e) {
|
|
3552
|
+
return e in ot;
|
|
3553
3553
|
}
|
|
3554
|
-
function
|
|
3555
|
-
if (!
|
|
3554
|
+
function ii(e, t) {
|
|
3555
|
+
if (!cn(e))
|
|
3556
3556
|
return null;
|
|
3557
|
-
const n =
|
|
3558
|
-
return
|
|
3557
|
+
const n = ri(e);
|
|
3558
|
+
return ti(n, t);
|
|
3559
3559
|
}
|
|
3560
|
-
function
|
|
3560
|
+
function si(e) {
|
|
3561
3561
|
if (e == null)
|
|
3562
3562
|
return;
|
|
3563
|
-
const t =
|
|
3563
|
+
const t = ke(e);
|
|
3564
3564
|
for (let n = 0; n < t.length; n++) {
|
|
3565
3565
|
const r = t[n];
|
|
3566
|
-
if (
|
|
3566
|
+
if (cn(r))
|
|
3567
3567
|
return r;
|
|
3568
3568
|
}
|
|
3569
3569
|
}
|
|
3570
|
-
function
|
|
3571
|
-
delete
|
|
3570
|
+
function fn(e, ...t) {
|
|
3571
|
+
delete K[e], pe.update((n) => (n[e] = ur.all([n[e] || {}, ...t]), n));
|
|
3572
3572
|
}
|
|
3573
|
-
|
|
3574
|
-
[
|
|
3573
|
+
de(
|
|
3574
|
+
[pe],
|
|
3575
3575
|
([e]) => Object.keys(e)
|
|
3576
3576
|
);
|
|
3577
|
-
|
|
3578
|
-
const
|
|
3579
|
-
function
|
|
3580
|
-
|
|
3577
|
+
pe.subscribe((e) => ot = e);
|
|
3578
|
+
const Me = {};
|
|
3579
|
+
function ai(e, t) {
|
|
3580
|
+
Me[e].delete(t), Me[e].size === 0 && delete Me[e];
|
|
3581
3581
|
}
|
|
3582
|
-
function
|
|
3583
|
-
return
|
|
3582
|
+
function mn(e) {
|
|
3583
|
+
return Me[e];
|
|
3584
3584
|
}
|
|
3585
|
-
function
|
|
3586
|
-
return
|
|
3587
|
-
const n =
|
|
3585
|
+
function oi(e) {
|
|
3586
|
+
return ke(e).map((t) => {
|
|
3587
|
+
const n = mn(t);
|
|
3588
3588
|
return [t, n ? [...n] : []];
|
|
3589
3589
|
}).filter(([, t]) => t.length > 0);
|
|
3590
3590
|
}
|
|
3591
|
-
function
|
|
3592
|
-
return e == null ? !1 :
|
|
3591
|
+
function it(e) {
|
|
3592
|
+
return e == null ? !1 : ke(e).some(
|
|
3593
3593
|
(t) => {
|
|
3594
3594
|
var n;
|
|
3595
|
-
return (n =
|
|
3595
|
+
return (n = mn(t)) == null ? void 0 : n.size;
|
|
3596
3596
|
}
|
|
3597
3597
|
);
|
|
3598
3598
|
}
|
|
3599
|
-
function
|
|
3599
|
+
function ui(e, t) {
|
|
3600
3600
|
return Promise.all(
|
|
3601
|
-
t.map((r) => (
|
|
3602
|
-
).then((r) =>
|
|
3603
|
-
}
|
|
3604
|
-
const
|
|
3605
|
-
function
|
|
3606
|
-
if (!
|
|
3607
|
-
return e in
|
|
3608
|
-
const t =
|
|
3609
|
-
return
|
|
3601
|
+
t.map((r) => (ai(e, r), r().then((i) => i.default || i)))
|
|
3602
|
+
).then((r) => fn(e, ...r));
|
|
3603
|
+
}
|
|
3604
|
+
const ye = {};
|
|
3605
|
+
function dn(e) {
|
|
3606
|
+
if (!it(e))
|
|
3607
|
+
return e in ye ? ye[e] : Promise.resolve();
|
|
3608
|
+
const t = oi(e);
|
|
3609
|
+
return ye[e] = Promise.all(
|
|
3610
3610
|
t.map(
|
|
3611
|
-
([n, r]) =>
|
|
3611
|
+
([n, r]) => ui(n, r)
|
|
3612
3612
|
)
|
|
3613
3613
|
).then(() => {
|
|
3614
|
-
if (
|
|
3615
|
-
return
|
|
3616
|
-
delete
|
|
3617
|
-
}),
|
|
3614
|
+
if (it(e))
|
|
3615
|
+
return dn(e);
|
|
3616
|
+
delete ye[e];
|
|
3617
|
+
}), ye[e];
|
|
3618
3618
|
}
|
|
3619
|
-
const
|
|
3619
|
+
const li = {
|
|
3620
3620
|
number: {
|
|
3621
3621
|
scientific: { notation: "scientific" },
|
|
3622
3622
|
engineering: { notation: "engineering" },
|
|
@@ -3645,159 +3645,159 @@ const ai = {
|
|
|
3645
3645
|
timeZoneName: "short"
|
|
3646
3646
|
}
|
|
3647
3647
|
}
|
|
3648
|
-
},
|
|
3648
|
+
}, hi = {
|
|
3649
3649
|
fallbackLocale: null,
|
|
3650
3650
|
loadingDelay: 200,
|
|
3651
|
-
formats:
|
|
3651
|
+
formats: li,
|
|
3652
3652
|
warnOnMissingMessages: !0,
|
|
3653
3653
|
handleMissingMessage: void 0,
|
|
3654
3654
|
ignoreTag: !0
|
|
3655
|
-
},
|
|
3656
|
-
function
|
|
3657
|
-
return
|
|
3655
|
+
}, ci = hi;
|
|
3656
|
+
function me() {
|
|
3657
|
+
return ci;
|
|
3658
3658
|
}
|
|
3659
|
-
const
|
|
3660
|
-
var
|
|
3659
|
+
const Xe = Pe(!1);
|
|
3660
|
+
var fi = Object.defineProperty, mi = Object.defineProperties, di = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, Bt = (e, t, n) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, gi = (e, t) => {
|
|
3661
3661
|
for (var n in t || (t = {}))
|
|
3662
|
-
|
|
3663
|
-
if (
|
|
3664
|
-
for (var n of
|
|
3665
|
-
|
|
3662
|
+
pi.call(t, n) && Bt(e, n, t[n]);
|
|
3663
|
+
if (St)
|
|
3664
|
+
for (var n of St(t))
|
|
3665
|
+
bi.call(t, n) && Bt(e, n, t[n]);
|
|
3666
3666
|
return e;
|
|
3667
|
-
},
|
|
3668
|
-
let
|
|
3669
|
-
const
|
|
3670
|
-
function
|
|
3667
|
+
}, yi = (e, t) => mi(e, di(t));
|
|
3668
|
+
let st;
|
|
3669
|
+
const Ae = Pe(null);
|
|
3670
|
+
function Ht(e) {
|
|
3671
3671
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3672
3672
|
}
|
|
3673
|
-
function
|
|
3674
|
-
const n =
|
|
3675
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3673
|
+
function ke(e, t = me().fallbackLocale) {
|
|
3674
|
+
const n = Ht(e);
|
|
3675
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...Ht(t)])] : n;
|
|
3676
3676
|
}
|
|
3677
|
-
function
|
|
3678
|
-
return
|
|
3677
|
+
function se() {
|
|
3678
|
+
return st != null ? st : void 0;
|
|
3679
3679
|
}
|
|
3680
|
-
|
|
3681
|
-
|
|
3680
|
+
Ae.subscribe((e) => {
|
|
3681
|
+
st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3682
3682
|
});
|
|
3683
|
-
const
|
|
3684
|
-
if (e &&
|
|
3685
|
-
const { loadingDelay: t } =
|
|
3683
|
+
const vi = (e) => {
|
|
3684
|
+
if (e && si(e) && it(e)) {
|
|
3685
|
+
const { loadingDelay: t } = me();
|
|
3686
3686
|
let n;
|
|
3687
|
-
return typeof window != "undefined" &&
|
|
3688
|
-
() =>
|
|
3687
|
+
return typeof window != "undefined" && se() != null && t ? n = window.setTimeout(
|
|
3688
|
+
() => Xe.set(!0),
|
|
3689
3689
|
t
|
|
3690
|
-
) :
|
|
3691
|
-
|
|
3690
|
+
) : Xe.set(!0), dn(e).then(() => {
|
|
3691
|
+
Ae.set(e);
|
|
3692
3692
|
}).finally(() => {
|
|
3693
|
-
clearTimeout(n),
|
|
3693
|
+
clearTimeout(n), Xe.set(!1);
|
|
3694
3694
|
});
|
|
3695
3695
|
}
|
|
3696
|
-
return
|
|
3697
|
-
},
|
|
3698
|
-
set:
|
|
3699
|
-
}),
|
|
3696
|
+
return Ae.set(e);
|
|
3697
|
+
}, te = yi(gi({}, Ae), {
|
|
3698
|
+
set: vi
|
|
3699
|
+
}), $e = (e) => {
|
|
3700
3700
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3701
3701
|
return (r) => {
|
|
3702
3702
|
const i = JSON.stringify(r);
|
|
3703
3703
|
return i in t ? t[i] : t[i] = e(r);
|
|
3704
3704
|
};
|
|
3705
3705
|
};
|
|
3706
|
-
var
|
|
3706
|
+
var xi = Object.defineProperty, Oe = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, Mt = (e, t, n) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ut = (e, t) => {
|
|
3707
3707
|
for (var n in t || (t = {}))
|
|
3708
|
-
|
|
3709
|
-
if (
|
|
3710
|
-
for (var n of
|
|
3711
|
-
|
|
3708
|
+
pn.call(t, n) && Mt(e, n, t[n]);
|
|
3709
|
+
if (Oe)
|
|
3710
|
+
for (var n of Oe(t))
|
|
3711
|
+
bn.call(t, n) && Mt(e, n, t[n]);
|
|
3712
3712
|
return e;
|
|
3713
|
-
},
|
|
3713
|
+
}, be = (e, t) => {
|
|
3714
3714
|
var n = {};
|
|
3715
3715
|
for (var r in e)
|
|
3716
|
-
|
|
3717
|
-
if (e != null &&
|
|
3718
|
-
for (var r of
|
|
3719
|
-
t.indexOf(r) < 0 &&
|
|
3716
|
+
pn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3717
|
+
if (e != null && Oe)
|
|
3718
|
+
for (var r of Oe(e))
|
|
3719
|
+
t.indexOf(r) < 0 && bn.call(e, r) && (n[r] = e[r]);
|
|
3720
3720
|
return n;
|
|
3721
3721
|
};
|
|
3722
|
-
const
|
|
3723
|
-
const { formats: n } =
|
|
3722
|
+
const Ce = (e, t) => {
|
|
3723
|
+
const { formats: n } = me();
|
|
3724
3724
|
if (e in n && t in n[e])
|
|
3725
3725
|
return n[e][t];
|
|
3726
3726
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3727
|
-
},
|
|
3727
|
+
}, Ei = $e(
|
|
3728
3728
|
(e) => {
|
|
3729
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3729
|
+
var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
|
|
3730
3730
|
if (n == null)
|
|
3731
3731
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3732
|
-
return r && (i =
|
|
3732
|
+
return r && (i = Ce("number", r)), new Intl.NumberFormat(n, i);
|
|
3733
3733
|
}
|
|
3734
|
-
),
|
|
3734
|
+
), Ci = $e(
|
|
3735
3735
|
(e) => {
|
|
3736
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3736
|
+
var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
|
|
3737
3737
|
if (n == null)
|
|
3738
3738
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3739
|
-
return r ? i =
|
|
3739
|
+
return r ? i = Ce("date", r) : Object.keys(i).length === 0 && (i = Ce("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3740
3740
|
}
|
|
3741
|
-
),
|
|
3741
|
+
), _i = $e(
|
|
3742
3742
|
(e) => {
|
|
3743
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3743
|
+
var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
|
|
3744
3744
|
if (n == null)
|
|
3745
3745
|
throw new Error(
|
|
3746
3746
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3747
3747
|
);
|
|
3748
|
-
return r ? i =
|
|
3748
|
+
return r ? i = Ce("time", r) : Object.keys(i).length === 0 && (i = Ce("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3749
3749
|
}
|
|
3750
|
-
),
|
|
3750
|
+
), Ti = (e = {}) => {
|
|
3751
3751
|
var t = e, {
|
|
3752
|
-
locale: n =
|
|
3753
|
-
} = t, r =
|
|
3752
|
+
locale: n = se()
|
|
3753
|
+
} = t, r = be(t, [
|
|
3754
3754
|
"locale"
|
|
3755
3755
|
]);
|
|
3756
|
-
return
|
|
3757
|
-
},
|
|
3756
|
+
return Ei(ut({ locale: n }, r));
|
|
3757
|
+
}, wi = (e = {}) => {
|
|
3758
3758
|
var t = e, {
|
|
3759
|
-
locale: n =
|
|
3760
|
-
} = t, r =
|
|
3759
|
+
locale: n = se()
|
|
3760
|
+
} = t, r = be(t, [
|
|
3761
3761
|
"locale"
|
|
3762
3762
|
]);
|
|
3763
|
-
return
|
|
3764
|
-
},
|
|
3763
|
+
return Ci(ut({ locale: n }, r));
|
|
3764
|
+
}, Si = (e = {}) => {
|
|
3765
3765
|
var t = e, {
|
|
3766
|
-
locale: n =
|
|
3767
|
-
} = t, r =
|
|
3766
|
+
locale: n = se()
|
|
3767
|
+
} = t, r = be(t, [
|
|
3768
3768
|
"locale"
|
|
3769
3769
|
]);
|
|
3770
|
-
return
|
|
3771
|
-
},
|
|
3770
|
+
return _i(ut({ locale: n }, r));
|
|
3771
|
+
}, Bi = $e(
|
|
3772
3772
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3773
|
-
(e, t =
|
|
3774
|
-
ignoreTag:
|
|
3773
|
+
(e, t = se()) => new ei(e, t, me().formats, {
|
|
3774
|
+
ignoreTag: me().ignoreTag
|
|
3775
3775
|
})
|
|
3776
|
-
),
|
|
3776
|
+
), Hi = (e, t = {}) => {
|
|
3777
3777
|
var n, r, i, s;
|
|
3778
|
-
let
|
|
3779
|
-
typeof e == "object" && (
|
|
3778
|
+
let o = t;
|
|
3779
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
3780
3780
|
const {
|
|
3781
3781
|
values: l,
|
|
3782
|
-
locale: h =
|
|
3782
|
+
locale: h = se(),
|
|
3783
3783
|
default: a
|
|
3784
|
-
} =
|
|
3784
|
+
} = o;
|
|
3785
3785
|
if (h == null)
|
|
3786
3786
|
throw new Error(
|
|
3787
3787
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3788
3788
|
);
|
|
3789
|
-
let
|
|
3790
|
-
if (!
|
|
3791
|
-
|
|
3792
|
-
else if (typeof
|
|
3789
|
+
let u = hn(e, h);
|
|
3790
|
+
if (!u)
|
|
3791
|
+
u = (s = (i = (r = (n = me()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3792
|
+
else if (typeof u != "string")
|
|
3793
3793
|
return console.warn(
|
|
3794
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3795
|
-
),
|
|
3794
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3795
|
+
), u;
|
|
3796
3796
|
if (!l)
|
|
3797
|
-
return
|
|
3798
|
-
let c =
|
|
3797
|
+
return u;
|
|
3798
|
+
let c = u;
|
|
3799
3799
|
try {
|
|
3800
|
-
c =
|
|
3800
|
+
c = Bi(u, h).format(l);
|
|
3801
3801
|
} catch (f) {
|
|
3802
3802
|
f instanceof Error && console.warn(
|
|
3803
3803
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3805,28 +3805,34 @@ const Ee = (e, t) => {
|
|
|
3805
3805
|
);
|
|
3806
3806
|
}
|
|
3807
3807
|
return c;
|
|
3808
|
-
},
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
function
|
|
3814
|
-
|
|
3815
|
-
n == null && (
|
|
3808
|
+
}, Mi = (e, t) => Si(t).format(e), Ri = (e, t) => wi(t).format(e), Li = (e, t) => Ti(t).format(e), Ai = (e, t = se()) => hn(e, t), Oi = de([te, pe], () => Hi);
|
|
3809
|
+
de([te], () => Mi);
|
|
3810
|
+
de([te], () => Ri);
|
|
3811
|
+
de([te], () => Li);
|
|
3812
|
+
de([te, pe], () => Ai);
|
|
3813
|
+
function Pi({ withLocale: e, translations: t }) {
|
|
3814
|
+
te.subscribe((n) => {
|
|
3815
|
+
n == null && (pe.set(t), te.set(e));
|
|
3816
3816
|
});
|
|
3817
3817
|
}
|
|
3818
|
-
function
|
|
3819
|
-
|
|
3818
|
+
function Rt(e, t) {
|
|
3819
|
+
fn(e, t);
|
|
3820
3820
|
}
|
|
3821
|
-
function
|
|
3822
|
-
|
|
3821
|
+
function Ni(e) {
|
|
3822
|
+
te.set(e);
|
|
3823
3823
|
}
|
|
3824
|
-
const
|
|
3824
|
+
const Lt = {
|
|
3825
3825
|
en: {
|
|
3826
3826
|
scoreCriteriaType: {
|
|
3827
3827
|
stake: "The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",
|
|
3828
3828
|
mostRounds: "The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",
|
|
3829
|
-
winStateRatio:
|
|
3829
|
+
winStateRatio: `The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated
|
|
3830
|
+
as a sum of win/stake ratios for qualified rounds and bets.
|
|
3831
|
+
The player who got the highest score will win the tournament.`,
|
|
3832
|
+
winStakeRatioWinMinScore: `<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
3833
|
+
<span class="Desc">Player will not get score if Win/State Ratio in each rounds are lower than defined
|
|
3834
|
+
minimum score value.</span>
|
|
3835
|
+
</li></ul>`,
|
|
3830
3836
|
maxWinStateRatio: "The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score."
|
|
3831
3837
|
},
|
|
3832
3838
|
miniBetCount: "Minimum bet count: {betCount}. To be qualified for prizes, the player has to play at least {betCount} rounds, otherwise the prize won’t be granted.",
|
|
@@ -3859,6 +3865,10 @@ const Mt = {
|
|
|
3859
3865
|
stake: "Bu turnuvanın puan kriteri <b>Ciro</b>'dur. Oluşturulan her X için (X= oyuncunun para biriminde veya temel para birimindeki eşdeğerinde oynanan bahis miktarı) oyuncu 1 puan alacaktır. En fazla ciroya sahip olan oyuncu en yüksek puana ve sıralamaya sahip olacaktır.",
|
|
3860
3866
|
mostRounds: "Bu turnuvanın puan kriteri <b>En Çok Tur</b>'dur. Oynanan her tur için oyuncu 1 puan alacaktır. En fazla oynanan tur/bahis sayısına sahip olan oyuncu, en yüksek puana ve sıralamaya sahip olacaktır.",
|
|
3861
3867
|
winStateRatio: "Bu turnuvanın puan kriteri <b>Galibiyet/Durum Oranı</b>'dır. Puan, nitelikli turlar ve bahisler için kazanma/bahis oranlarının toplamı olarak hesaplanacaktır. En yüksek puanı alan oyuncu turnuvayı kazanacak.",
|
|
3868
|
+
winStakeRatioWinMinScore: `<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
3869
|
+
<span class="Desc">Player will not get score if Win/State Ratio in each rounds are lower than defined
|
|
3870
|
+
minimum score value.</span>
|
|
3871
|
+
</li></ul>`,
|
|
3862
3872
|
maxWinStateRatio: "Bu turnuvanın puan kriteri <b>Maksimum Galibiyet/Durum Oranı</b>'dır. En küçük bahsi koyarak en büyük kazancı elde eden oyuncu turnuvayı kazanacaktır (bahis = 10 EUR, galibiyet = 5000 EUR, skor 500 olacaktır). Yalnızca daha yüksek oran oyuncunun puanını güncelleyecektir."
|
|
3863
3873
|
},
|
|
3864
3874
|
miniBetCount: "Minimum bahis sayısı: {betCount}. Ödüllere hak kazanmak için oyuncunun en az {betCount} tur oynaması gerekir, aksi takdirde ödül verilmeyecektir.",
|
|
@@ -3874,6 +3884,10 @@ const Mt = {
|
|
|
3874
3884
|
stake: "The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",
|
|
3875
3885
|
mostRounds: "EL-The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",
|
|
3876
3886
|
winStateRatio: "The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.",
|
|
3887
|
+
winStakeRatioWinMinScore: `<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
3888
|
+
<span class="Desc">Player will not get score if Win/State Ratio in each rounds are lower than defined
|
|
3889
|
+
minimum score value.</span>
|
|
3890
|
+
</li></ul>`,
|
|
3877
3891
|
maxWinStateRatio: "The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score."
|
|
3878
3892
|
},
|
|
3879
3893
|
miniBetCount: "Minimum bet count: {betCount}. To be qualified for prizes, the player has to play at least {betCount} rounds, otherwise the prize won’t be granted.",
|
|
@@ -3888,6 +3902,10 @@ const Mt = {
|
|
|
3888
3902
|
scoreCriteriaType: {
|
|
3889
3903
|
stake: "A verseny pontozási szempontja a <b>Forgalom</b>. Minden X generált összegért (X = a játékos pénznemben tett tét összege vagy az alapvaluta megfelelője) a játékos 1 pontot kap. A legnagyobb forgalmat birtokló játékos lesz a legmagasabb pontszámú és rangú.",
|
|
3890
3904
|
mostRounds: "A verseny pontozási szempontja a <b>Legtöbb kör</b>. Minden lejátszott körért a játékos 1 pontot kap. A legtöbb lejátszott körrel / tét helyezéssel rendelkező játékos lesz a legmagasabb pontszámú és rangú.",
|
|
3905
|
+
winStakeRatioWinMinScore: `<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
3906
|
+
<span class="Desc">Player will not get score if Win/State Ratio in each rounds are lower than defined
|
|
3907
|
+
minimum score value.</span>
|
|
3908
|
+
</li></ul>`,
|
|
3891
3909
|
winStateRatio: "A verseny pontozási szempontja a <b>Nyereség/Állapotarány</b>. A pontot az alkalmas körök és tétek nyerés / tét arányainak összegeként számítják. A legmagasabb pontszámot elért játékos nyeri a versenyt.",
|
|
3892
3910
|
maxWinStateRatio: "A verseny pontozási szempontja a <b>Max Nyereség/Állapotarány</b>. A legkisebb téttel a legnagyobb nyereményt elért játékos nyeri a versenyt (tét = 10 EUR, nyeremény = 5000 EUR, a pontszám 500 lesz). Csak a magasabb arány frissíti a játékos pontszámát."
|
|
3893
3911
|
},
|
|
@@ -3903,6 +3921,10 @@ const Mt = {
|
|
|
3903
3921
|
scoreCriteriaType: {
|
|
3904
3922
|
stake: "The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",
|
|
3905
3923
|
mostRounds: "The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",
|
|
3924
|
+
winStakeRatioWinMinScore: `<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
3925
|
+
<span class="Desc">Player will not get score if Win/State Ratio in each rounds are lower than defined
|
|
3926
|
+
minimum score value.</span>
|
|
3927
|
+
</li></ul>`,
|
|
3906
3928
|
winStateRatio: "The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.",
|
|
3907
3929
|
maxWinStateRatio: "The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score."
|
|
3908
3930
|
},
|
|
@@ -3915,13 +3937,13 @@ const Mt = {
|
|
|
3915
3937
|
productMaxBet: "Para {productName}, o valor máximo da aposta aceita é {maxBet}."
|
|
3916
3938
|
}
|
|
3917
3939
|
};
|
|
3918
|
-
function
|
|
3940
|
+
function Ii(e, t) {
|
|
3919
3941
|
if (e) {
|
|
3920
3942
|
const n = document.createElement("style");
|
|
3921
3943
|
n.innerHTML = t, e.appendChild(n);
|
|
3922
3944
|
}
|
|
3923
3945
|
}
|
|
3924
|
-
function
|
|
3946
|
+
function ki(e, t) {
|
|
3925
3947
|
const n = new URL(t);
|
|
3926
3948
|
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
3927
3949
|
const i = document.createElement("style");
|
|
@@ -3930,7 +3952,7 @@ function Pi(e, t) {
|
|
|
3930
3952
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
3931
3953
|
});
|
|
3932
3954
|
}
|
|
3933
|
-
function
|
|
3955
|
+
function $i(e, t, n) {
|
|
3934
3956
|
if (window.emMessageBus) {
|
|
3935
3957
|
const r = document.createElement("style");
|
|
3936
3958
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3938,8 +3960,8 @@ function Ni(e, t, n) {
|
|
|
3938
3960
|
});
|
|
3939
3961
|
}
|
|
3940
3962
|
}
|
|
3941
|
-
const Ii = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.2075%202.87946H1.125C0.642%202.87946%200.25%203.27134%200.25%203.7542C0.25%203.7542%200.25%204.57383%200.25%205.50367C0.25%206.43177%200.618372%207.32138%201.2755%207.97743C1.93175%208.63436%202.82162%209.00262%203.75%209.00262H4.62062C5.23137%2010.0611%206.37412%2010.7521%207.65162%2010.7521H8.125V13.3763H7.25C6.5535%2013.3763%205.88587%2013.6527%205.39412%2014.1452C4.9015%2014.6368%204.625%2015.3042%204.625%2016.0005C4.625%2016.4344%204.625%2016.8639%204.625%2016.8639L5.5%2017.75H12.5C12.5%2017.75%2013.375%2017.6826%2013.375%2016.8639V16.0005C13.375%2015.3042%2013.0985%2014.6368%2012.6059%2014.1452C12.1141%2013.6527%2011.4465%2013.3763%2010.75%2013.3763H9.875V10.7521H10.3475C11.6259%2010.7521%2012.7678%2010.0611%2013.3794%209.00262H14.25C15.1784%209.00262%2016.0683%208.63436%2016.7245%207.97743C17.3816%207.32138%2017.75%206.43177%2017.75%205.50367V3.7542C17.75%203.27134%2017.358%202.87946%2016.875%202.87946H14.7916L15.1084%201.29619C15.1591%201.03901%2015.0926%200.772216%2014.9264%200.570152C14.7601%200.367213%2014.5116%200.25%2014.2491%200.25L3.74912%200.255246C3.48749%200.255246%203.239%200.373333%203.07275%200.575397C2.90737%200.778336%202.84087%201.04426%202.89162%201.30143L3.2075%202.87946ZM11.625%2016.0005H6.375C6.375%2015.7687%206.46687%2015.5457%206.63137%2015.3821C6.795%2015.2176%207.01813%2015.1258%207.25%2015.1258H10.75C10.9819%2015.1258%2011.205%2015.2176%2011.3686%2015.3821C11.5331%2015.5457%2011.625%2015.7687%2011.625%2016.0005ZM13.1825%201.99948L12.0642%207.59604C11.9006%208.41392%2011.1822%209.00262%2010.3475%209.00262H7.65162C6.81775%209.00262%206.09938%208.41392%205.93575%207.59604L4.8175%202.00384L13.1825%201.99948ZM3.5575%204.62893C3.10337%204.62893%202%204.62893%202%204.62893V5.50367C2%205.96728%202.18462%206.41253%202.51275%206.74055C2.84087%207.06858%203.28625%207.25315%203.75%207.25315H4.0825L3.5575%204.62893ZM14.4416%204.62893L13.9166%207.25315H14.25C14.7137%207.25315%2015.1591%207.06858%2015.4873%206.74055C15.8154%206.41253%2016%205.96728%2016%205.50367V4.62893H14.4416Z'%20fill='white'/%3e%3c/svg%3e", $i = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2030%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.551%204.16666C2.55684%204.17198%202.56317%204.1776%202.57004%204.18349C2.69809%204.29358%202.93213%204.43049%203.2938%204.56201C4.01028%204.82255%205.05531%204.99999%206.24992%204.99999C7.44453%204.99999%208.48956%204.82255%209.20604%204.56201C9.56771%204.43049%209.80175%204.29358%209.9298%204.18349C9.93666%204.1776%209.943%204.17198%209.94884%204.16666C9.943%204.16133%209.93666%204.15572%209.9298%204.14982C9.80175%204.03973%209.56771%203.90282%209.20604%203.77131C8.48956%203.51077%207.44453%203.33332%206.24992%203.33332C5.05531%203.33332%204.01028%203.51077%203.2938%203.77131C2.93213%203.90282%202.69809%204.03973%202.57004%204.14982C2.56317%204.15572%202.55684%204.16133%202.551%204.16666ZM9.99992%206.04163C9.92615%206.07193%209.85128%206.10081%209.77561%206.12833C8.83325%206.47101%207.58661%206.66666%206.24992%206.66666C4.91322%206.66666%203.66659%206.47101%202.72423%206.12833C2.64856%206.10081%202.57369%206.07193%202.49992%206.04163V7.86398C2.5121%207.87898%202.53366%207.90222%202.57004%207.93349C2.69809%208.04358%202.93213%208.18049%203.2938%208.31201C4.01028%208.57254%205.05531%208.74999%206.24992%208.74999C7.44453%208.74999%208.48956%208.57254%209.20604%208.31201C9.56771%208.18049%209.80175%208.04358%209.9298%207.93349C9.96618%207.90222%209.98774%207.87898%209.99992%207.86398V6.04163ZM9.99992%209.79163C9.92615%209.82193%209.85128%209.85081%209.77561%209.87833C8.83325%2010.221%207.58661%2010.4167%206.24992%2010.4167C4.91322%2010.4167%203.66659%2010.221%202.72423%209.87833C2.64856%209.85081%202.57369%209.82193%202.49992%209.79163V11.614C2.5121%2011.629%202.53366%2011.6522%202.57004%2011.6835C2.69809%2011.7936%202.93213%2011.9305%203.2938%2012.062C4.01028%2012.3225%205.05531%2012.5%206.24992%2012.5C7.10597%2012.5%207.89151%2012.4088%208.53614%2012.258C9.09478%2012.1273%209.50237%2011.9625%209.75771%2011.8062C9.83221%2011.6674%209.91307%2011.5324%209.99992%2011.4018V9.79163ZM11.6666%209.83557V4.16666C11.6666%203.60229%2011.3494%203.17239%2011.0163%202.88601C10.6805%202.59731%2010.2434%202.37508%209.77561%202.20498C8.83325%201.86231%207.58661%201.66666%206.24992%201.66666C4.91322%201.66666%203.66659%201.86231%202.72423%202.20498C2.25647%202.37508%201.8193%202.59731%201.4835%202.88601C1.15039%203.17239%200.833252%203.60229%200.833252%204.16666V15.4167C0.833252%2015.981%201.15039%2016.4109%201.4835%2016.6973C1.8193%2016.986%202.25647%2017.2082%202.72423%2017.3783C3.66659%2017.721%204.91322%2017.9167%206.24992%2017.9167C7.25171%2017.9167%208.19625%2017.8069%208.99817%2017.6112C9.42337%2017.5074%209.83222%2017.3738%2010.1963%2017.2062C11.1101%2018.3981%2012.5486%2019.1667%2014.1666%2019.1667C16.928%2019.1667%2019.1666%2016.9281%2019.1666%2014.1667C19.1666%2011.4052%2016.928%209.16666%2014.1666%209.16666C13.2559%209.16666%2012.402%209.41014%2011.6666%209.83557ZM9.16822%2014.2957C9.18087%2014.7953%209.2668%2015.2766%209.41565%2015.7294C9.19988%2015.8216%208.9295%2015.9124%208.60306%2015.992C7.94665%2016.1522%207.13633%2016.25%206.24992%2016.25C5.05531%2016.25%204.01028%2016.0725%203.2938%2015.812C2.93213%2015.6805%202.69809%2015.5436%202.57004%2015.4335C2.53366%2015.4022%202.5121%2015.379%202.49992%2015.364V13.5416C2.57369%2013.5719%202.64856%2013.6008%202.72423%2013.6283C3.66659%2013.971%204.91322%2014.1667%206.24992%2014.1667C7.21803%2014.1667%208.13221%2014.0641%208.9157%2013.8809C9.00426%2013.8602%209.09202%2013.8382%209.17876%2013.815C9.17069%2013.9312%209.16658%2014.0484%209.16658%2014.1667C9.16658%2014.2098%209.16713%2014.2528%209.16822%2014.2957ZM10.8333%2014.1667C10.8333%2016.0076%2012.3256%2017.5%2014.1666%2017.5C16.0075%2017.5%2017.4999%2016.0076%2017.4999%2014.1667C17.4999%2012.3257%2016.0075%2010.8333%2014.1666%2010.8333C12.3256%2010.8333%2010.8333%2012.3257%2010.8333%2014.1667Z'%20fill='white'/%3e%3c/svg%3e", ki = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.4167%203.33332C15.0986%203.33332%2018.0833%206.31809%2018.0833%209.99999C18.0833%2013.6819%2015.0986%2016.6667%2011.4167%2016.6667C9.32275%2016.6667%207.45468%2015.7023%206.23114%2014.1902C5.94163%2013.8325%205.4169%2013.7771%205.05913%2014.0666C4.70135%2014.3561%204.64602%2014.8809%204.93553%2015.2386C6.46191%2017.1249%208.79848%2018.3333%2011.4167%2018.3333C16.019%2018.3333%2019.75%2014.6024%2019.75%209.99999C19.75%205.39762%2016.019%201.66666%2011.4167%201.66666C7.13809%201.66666%203.61263%204.8911%203.13774%209.04253L3.08938%208.99416C2.76399%208.66867%202.23636%208.66859%201.91087%208.99398C1.58539%209.31937%201.58531%209.84701%201.9107%2010.1725L3.57687%2011.8392C3.73313%2011.9955%203.94507%2012.0833%204.16609%2012.0833C4.3871%2012.0834%204.59908%2011.9956%204.75538%2011.8393L6.42254%2010.1727C6.74803%209.84728%206.74811%209.31964%206.42272%208.99415C6.09733%208.66867%205.56969%208.66859%205.2442%208.99398L4.77099%209.46705C5.0425%206.03433%207.91416%203.33332%2011.4167%203.33332ZM11.4167%204.99999C10.9564%204.99999%2010.5833%205.37309%2010.5833%205.83332V9.554L8.45442%2010.9733C8.07148%2011.2286%207.968%2011.746%208.22329%2012.1289C8.47858%2012.5118%208.99598%2012.6153%209.37892%2012.36L11.8789%2010.6934C12.1107%2010.5388%2012.25%2010.2786%2012.25%209.99999V5.83332C12.25%205.37309%2011.8769%204.99999%2011.4167%204.99999Z'%20fill='white'/%3e%3c/svg%3e", Ui = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.666748%202.00001C0.666748%201.07954%201.41294%200.333344%202.33341%200.333344C3.25389%200.333344%204.00008%201.07954%204.00008%202.00001C4.00008%202.92048%203.25389%203.66668%202.33341%203.66668C1.41294%203.66668%200.666748%202.92048%200.666748%202.00001ZM5.66675%202.00001C5.66675%201.53977%206.03984%201.16668%206.50008%201.16668H16.5001C16.9603%201.16668%2017.3334%201.53977%2017.3334%202.00001C17.3334%202.46025%2016.9603%202.83334%2016.5001%202.83334L6.50008%202.83334C6.03984%202.83334%205.66675%202.46025%205.66675%202.00001ZM0.666748%207.00001C0.666748%206.07954%201.41294%205.33334%202.33341%205.33334C3.25389%205.33334%204.00008%206.07954%204.00008%207.00001C4.00008%207.92048%203.25389%208.66668%202.33341%208.66668C1.41294%208.66668%200.666748%207.92048%200.666748%207.00001ZM5.66675%207.00001C5.66675%206.53977%206.03984%206.16668%206.50008%206.16668L16.5001%206.16668C16.9603%206.16668%2017.3334%206.53977%2017.3334%207.00001C17.3334%207.46025%2016.9603%207.83334%2016.5001%207.83334L6.50008%207.83334C6.03984%207.83334%205.66675%207.46025%205.66675%207.00001ZM0.666748%2012C0.666748%2011.0795%201.41294%2010.3333%202.33341%2010.3333C3.25389%2010.3333%204.00008%2011.0795%204.00008%2012C4.00008%2012.9205%203.25389%2013.6667%202.33341%2013.6667C1.41294%2013.6667%200.666748%2012.9205%200.666748%2012ZM5.66675%2012C5.66675%2011.5398%206.03984%2011.1667%206.50008%2011.1667L16.5001%2011.1667C16.9603%2011.1667%2017.3334%2011.5398%2017.3334%2012C17.3334%2012.4602%2016.9603%2012.8333%2016.5001%2012.8333L6.50008%2012.8333C6.03984%2012.8333%205.66675%2012.4602%205.66675%2012Z'%20fill='white'/%3e%3c/svg%3e", Gi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.9992%203.75C6.52525%203.75%203.75%206.55828%203.75%2010C3.75%2013.4417%206.52525%2016.25%209.9992%2016.25C13.427%2016.25%2016.2484%2013.4441%2016.2484%2010C16.2505%209.98168%2016.2505%209.96318%2016.2484%209.94487C16.2212%206.52543%2013.456%203.75%209.9992%203.75ZM8.7787%204.35471V5.7477C8.4566%205.83981%208.14646%205.96894%207.85461%206.13246L6.85596%205.16118C7.44132%204.77727%208.09317%204.50386%208.7787%204.35471ZM11.2197%204.35471C11.9052%204.50386%2012.5571%204.77727%2013.1424%205.16118L12.1621%206.13246C11.8646%205.96647%2011.5551%205.8216%2011.2197%205.72952V4.35471ZM9.9992%206.05915C12.1876%206.01398%2013.9742%207.82458%2013.9742%2010C13.9741%2011.0451%2013.5552%2012.0474%2012.8098%2012.7864C12.0644%2013.5255%2011.0534%2013.9407%209.9992%2013.9409C8.945%2013.9407%207.93403%2013.5255%207.18859%2012.7864C6.44316%2012.0474%206.02431%2011.0451%206.02416%2010C6.02431%208.95487%206.44316%207.95259%207.18859%207.21357C7.93403%206.47455%208.945%206.0593%209.9992%206.05915ZM5.15508%206.8838L6.09811%207.87385C5.9331%208.16337%205.80285%208.47104%205.71001%208.79059H4.36054C4.50654%208.11266%204.77577%207.46614%205.15508%206.8838ZM14.8427%206.8838C15.2223%207.46607%2015.4917%208.11201%2015.6379%208.79H14.2706C14.1826%208.47178%2014.0585%208.16445%2013.9009%207.87385L14.8427%206.8838ZM9.70339%207.30609V7.6539C9.17094%207.75009%208.88993%208.16594%208.88993%208.79059C8.88993%2010.1355%2010.3873%2010.2493%2010.3873%2011.2094C10.3873%2011.5461%2010.2412%2011.6863%209.9992%2011.6863C9.75664%2011.6863%209.6111%2011.5455%209.6111%2011.2094V10.8247H8.88993V11.1549C8.88993%2011.827%209.17035%2012.2135%209.70339%2012.3091V12.6394H10.3323V12.3091C10.8647%2012.2135%2011.1641%2011.7789%2011.1641%2011.1549C11.1641%209.80997%209.66612%209.76246%209.66612%208.75364C9.66612%208.41756%209.81225%208.27679%2010.0548%208.27679C10.2974%208.27679%2010.4429%208.41756%2010.4429%208.75364V8.93722H11.1641V8.79059C11.1641%208.16594%2010.8647%207.75009%2010.3317%207.6539V7.30551L9.70339%207.30609ZM4.36054%2011.2094H5.71001C5.80349%2011.5379%205.93482%2011.8335%206.09811%2012.1261L5.15508%2013.1162C4.77574%2012.5339%204.5065%2011.8874%204.36054%2011.2094ZM14.2884%2011.2094H15.6379C15.4914%2011.8872%2015.2222%2012.5331%2014.8433%2013.1156L13.9003%2012.1261C14.0653%2011.8366%2014.1956%2011.529%2014.2884%2011.2094ZM7.85461%2013.8675C8.14662%2014.0312%208.45696%2014.1603%208.7793%2014.2523V15.6453C8.09376%2015.4961%207.44191%2015.2227%206.85656%2014.8388L7.85461%2013.8675ZM12.1438%2013.8675H12.1621L13.1235%2014.8388C12.5433%2015.2156%2011.8978%2015.4828%2011.2197%2015.6271V14.2523C11.5418%2014.1603%2011.852%2014.0311%2012.1438%2013.8675Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2018.0208C14.4298%2018.0208%2018.0208%2014.4298%2018.0208%2010C18.0208%205.57022%2014.4298%201.97917%2010%201.97917C5.57022%201.97917%201.97917%205.57022%201.97917%2010C1.97917%2014.4298%205.57022%2018.0208%2010%2018.0208ZM10%2018.75C14.8325%2018.75%2018.75%2014.8325%2018.75%2010C18.75%205.16751%2014.8325%201.25%2010%201.25C5.16751%201.25%201.25%205.16751%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75Z'%20fill='white'/%3e%3c/svg%3e", Di = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.2125%209.09375C7.44853%209.77601%206.51801%2010.2445%205.51497%2010.4519C4.51192%2010.6593%203.4719%2010.5983%202.5%2010.275C2.55651%2011.9499%203.17514%2013.557%204.25625%2014.8375L9.11875%2010L8.2125%209.09375ZM7.31875%208.20625L4.275%205.1625C3.37411%206.23087%202.78964%207.52969%202.5875%208.9125C3.95%209.675%205.8375%209.375%207.31875%208.20625ZM12.6813%2011.7938L15.725%2014.8375C16.6259%2013.7691%2017.2104%2012.4703%2017.4125%2011.0875C16.05%2010.325%2014.1625%2010.625%2012.6813%2011.7938ZM11.7938%2012.6813C10.6063%2014.1625%2010.325%2016.05%2011.0625%2017.4125C12.4453%2017.2104%2013.7441%2016.6259%2014.8125%2015.725L11.7938%2012.6813ZM10.8813%2010L11.7875%2010.9062C12.5515%2010.224%2013.482%209.75549%2014.485%209.54808C15.4881%209.34066%2016.5281%209.40169%2017.5%209.725C17.4435%208.05011%2016.8249%206.44299%2015.7438%205.1625L10.8813%2010ZM10.9062%2011.7875L10%2010.8813L5.1625%2015.725C6.44047%2016.8129%208.04784%2017.4382%209.725%2017.5C9.40169%2016.5281%209.34066%2015.4881%209.54808%2014.485C9.75549%2013.482%2010.224%2012.5515%2010.9062%2011.7875ZM10%209.11875L14.8375%204.275C13.5595%203.18712%2011.9522%202.56179%2010.275%202.5C10.5948%203.46928%2010.654%204.50563%2010.4466%205.50501C10.2393%206.5044%209.77272%207.43167%209.09375%208.19375L10%209.11875ZM8.20625%207.31875C9.375%205.8375%209.675%203.95%208.9375%202.5875C7.55469%202.78964%206.25587%203.37411%205.1875%204.275L8.20625%207.31875Z'%20fill='white'/%3e%3c/svg%3e";
|
|
3942
|
-
class
|
|
3963
|
+
const Ui = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.2075%202.87946H1.125C0.642%202.87946%200.25%203.27134%200.25%203.7542C0.25%203.7542%200.25%204.57383%200.25%205.50367C0.25%206.43177%200.618372%207.32138%201.2755%207.97743C1.93175%208.63436%202.82162%209.00262%203.75%209.00262H4.62062C5.23137%2010.0611%206.37412%2010.7521%207.65162%2010.7521H8.125V13.3763H7.25C6.5535%2013.3763%205.88587%2013.6527%205.39412%2014.1452C4.9015%2014.6368%204.625%2015.3042%204.625%2016.0005C4.625%2016.4344%204.625%2016.8639%204.625%2016.8639L5.5%2017.75H12.5C12.5%2017.75%2013.375%2017.6826%2013.375%2016.8639V16.0005C13.375%2015.3042%2013.0985%2014.6368%2012.6059%2014.1452C12.1141%2013.6527%2011.4465%2013.3763%2010.75%2013.3763H9.875V10.7521H10.3475C11.6259%2010.7521%2012.7678%2010.0611%2013.3794%209.00262H14.25C15.1784%209.00262%2016.0683%208.63436%2016.7245%207.97743C17.3816%207.32138%2017.75%206.43177%2017.75%205.50367V3.7542C17.75%203.27134%2017.358%202.87946%2016.875%202.87946H14.7916L15.1084%201.29619C15.1591%201.03901%2015.0926%200.772216%2014.9264%200.570152C14.7601%200.367213%2014.5116%200.25%2014.2491%200.25L3.74912%200.255246C3.48749%200.255246%203.239%200.373333%203.07275%200.575397C2.90737%200.778336%202.84087%201.04426%202.89162%201.30143L3.2075%202.87946ZM11.625%2016.0005H6.375C6.375%2015.7687%206.46687%2015.5457%206.63137%2015.3821C6.795%2015.2176%207.01813%2015.1258%207.25%2015.1258H10.75C10.9819%2015.1258%2011.205%2015.2176%2011.3686%2015.3821C11.5331%2015.5457%2011.625%2015.7687%2011.625%2016.0005ZM13.1825%201.99948L12.0642%207.59604C11.9006%208.41392%2011.1822%209.00262%2010.3475%209.00262H7.65162C6.81775%209.00262%206.09938%208.41392%205.93575%207.59604L4.8175%202.00384L13.1825%201.99948ZM3.5575%204.62893C3.10337%204.62893%202%204.62893%202%204.62893V5.50367C2%205.96728%202.18462%206.41253%202.51275%206.74055C2.84087%207.06858%203.28625%207.25315%203.75%207.25315H4.0825L3.5575%204.62893ZM14.4416%204.62893L13.9166%207.25315H14.25C14.7137%207.25315%2015.1591%207.06858%2015.4873%206.74055C15.8154%206.41253%2016%205.96728%2016%205.50367V4.62893H14.4416Z'%20fill='white'/%3e%3c/svg%3e", Di = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2030%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.551%204.16666C2.55684%204.17198%202.56317%204.1776%202.57004%204.18349C2.69809%204.29358%202.93213%204.43049%203.2938%204.56201C4.01028%204.82255%205.05531%204.99999%206.24992%204.99999C7.44453%204.99999%208.48956%204.82255%209.20604%204.56201C9.56771%204.43049%209.80175%204.29358%209.9298%204.18349C9.93666%204.1776%209.943%204.17198%209.94884%204.16666C9.943%204.16133%209.93666%204.15572%209.9298%204.14982C9.80175%204.03973%209.56771%203.90282%209.20604%203.77131C8.48956%203.51077%207.44453%203.33332%206.24992%203.33332C5.05531%203.33332%204.01028%203.51077%203.2938%203.77131C2.93213%203.90282%202.69809%204.03973%202.57004%204.14982C2.56317%204.15572%202.55684%204.16133%202.551%204.16666ZM9.99992%206.04163C9.92615%206.07193%209.85128%206.10081%209.77561%206.12833C8.83325%206.47101%207.58661%206.66666%206.24992%206.66666C4.91322%206.66666%203.66659%206.47101%202.72423%206.12833C2.64856%206.10081%202.57369%206.07193%202.49992%206.04163V7.86398C2.5121%207.87898%202.53366%207.90222%202.57004%207.93349C2.69809%208.04358%202.93213%208.18049%203.2938%208.31201C4.01028%208.57254%205.05531%208.74999%206.24992%208.74999C7.44453%208.74999%208.48956%208.57254%209.20604%208.31201C9.56771%208.18049%209.80175%208.04358%209.9298%207.93349C9.96618%207.90222%209.98774%207.87898%209.99992%207.86398V6.04163ZM9.99992%209.79163C9.92615%209.82193%209.85128%209.85081%209.77561%209.87833C8.83325%2010.221%207.58661%2010.4167%206.24992%2010.4167C4.91322%2010.4167%203.66659%2010.221%202.72423%209.87833C2.64856%209.85081%202.57369%209.82193%202.49992%209.79163V11.614C2.5121%2011.629%202.53366%2011.6522%202.57004%2011.6835C2.69809%2011.7936%202.93213%2011.9305%203.2938%2012.062C4.01028%2012.3225%205.05531%2012.5%206.24992%2012.5C7.10597%2012.5%207.89151%2012.4088%208.53614%2012.258C9.09478%2012.1273%209.50237%2011.9625%209.75771%2011.8062C9.83221%2011.6674%209.91307%2011.5324%209.99992%2011.4018V9.79163ZM11.6666%209.83557V4.16666C11.6666%203.60229%2011.3494%203.17239%2011.0163%202.88601C10.6805%202.59731%2010.2434%202.37508%209.77561%202.20498C8.83325%201.86231%207.58661%201.66666%206.24992%201.66666C4.91322%201.66666%203.66659%201.86231%202.72423%202.20498C2.25647%202.37508%201.8193%202.59731%201.4835%202.88601C1.15039%203.17239%200.833252%203.60229%200.833252%204.16666V15.4167C0.833252%2015.981%201.15039%2016.4109%201.4835%2016.6973C1.8193%2016.986%202.25647%2017.2082%202.72423%2017.3783C3.66659%2017.721%204.91322%2017.9167%206.24992%2017.9167C7.25171%2017.9167%208.19625%2017.8069%208.99817%2017.6112C9.42337%2017.5074%209.83222%2017.3738%2010.1963%2017.2062C11.1101%2018.3981%2012.5486%2019.1667%2014.1666%2019.1667C16.928%2019.1667%2019.1666%2016.9281%2019.1666%2014.1667C19.1666%2011.4052%2016.928%209.16666%2014.1666%209.16666C13.2559%209.16666%2012.402%209.41014%2011.6666%209.83557ZM9.16822%2014.2957C9.18087%2014.7953%209.2668%2015.2766%209.41565%2015.7294C9.19988%2015.8216%208.9295%2015.9124%208.60306%2015.992C7.94665%2016.1522%207.13633%2016.25%206.24992%2016.25C5.05531%2016.25%204.01028%2016.0725%203.2938%2015.812C2.93213%2015.6805%202.69809%2015.5436%202.57004%2015.4335C2.53366%2015.4022%202.5121%2015.379%202.49992%2015.364V13.5416C2.57369%2013.5719%202.64856%2013.6008%202.72423%2013.6283C3.66659%2013.971%204.91322%2014.1667%206.24992%2014.1667C7.21803%2014.1667%208.13221%2014.0641%208.9157%2013.8809C9.00426%2013.8602%209.09202%2013.8382%209.17876%2013.815C9.17069%2013.9312%209.16658%2014.0484%209.16658%2014.1667C9.16658%2014.2098%209.16713%2014.2528%209.16822%2014.2957ZM10.8333%2014.1667C10.8333%2016.0076%2012.3256%2017.5%2014.1666%2017.5C16.0075%2017.5%2017.4999%2016.0076%2017.4999%2014.1667C17.4999%2012.3257%2016.0075%2010.8333%2014.1666%2010.8333C12.3256%2010.8333%2010.8333%2012.3257%2010.8333%2014.1667Z'%20fill='white'/%3e%3c/svg%3e", Gi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.4167%203.33332C15.0986%203.33332%2018.0833%206.31809%2018.0833%209.99999C18.0833%2013.6819%2015.0986%2016.6667%2011.4167%2016.6667C9.32275%2016.6667%207.45468%2015.7023%206.23114%2014.1902C5.94163%2013.8325%205.4169%2013.7771%205.05913%2014.0666C4.70135%2014.3561%204.64602%2014.8809%204.93553%2015.2386C6.46191%2017.1249%208.79848%2018.3333%2011.4167%2018.3333C16.019%2018.3333%2019.75%2014.6024%2019.75%209.99999C19.75%205.39762%2016.019%201.66666%2011.4167%201.66666C7.13809%201.66666%203.61263%204.8911%203.13774%209.04253L3.08938%208.99416C2.76399%208.66867%202.23636%208.66859%201.91087%208.99398C1.58539%209.31937%201.58531%209.84701%201.9107%2010.1725L3.57687%2011.8392C3.73313%2011.9955%203.94507%2012.0833%204.16609%2012.0833C4.3871%2012.0834%204.59908%2011.9956%204.75538%2011.8393L6.42254%2010.1727C6.74803%209.84728%206.74811%209.31964%206.42272%208.99415C6.09733%208.66867%205.56969%208.66859%205.2442%208.99398L4.77099%209.46705C5.0425%206.03433%207.91416%203.33332%2011.4167%203.33332ZM11.4167%204.99999C10.9564%204.99999%2010.5833%205.37309%2010.5833%205.83332V9.554L8.45442%2010.9733C8.07148%2011.2286%207.968%2011.746%208.22329%2012.1289C8.47858%2012.5118%208.99598%2012.6153%209.37892%2012.36L11.8789%2010.6934C12.1107%2010.5388%2012.25%2010.2786%2012.25%209.99999V5.83332C12.25%205.37309%2011.8769%204.99999%2011.4167%204.99999Z'%20fill='white'/%3e%3c/svg%3e", Fi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.666748%202.00001C0.666748%201.07954%201.41294%200.333344%202.33341%200.333344C3.25389%200.333344%204.00008%201.07954%204.00008%202.00001C4.00008%202.92048%203.25389%203.66668%202.33341%203.66668C1.41294%203.66668%200.666748%202.92048%200.666748%202.00001ZM5.66675%202.00001C5.66675%201.53977%206.03984%201.16668%206.50008%201.16668H16.5001C16.9603%201.16668%2017.3334%201.53977%2017.3334%202.00001C17.3334%202.46025%2016.9603%202.83334%2016.5001%202.83334L6.50008%202.83334C6.03984%202.83334%205.66675%202.46025%205.66675%202.00001ZM0.666748%207.00001C0.666748%206.07954%201.41294%205.33334%202.33341%205.33334C3.25389%205.33334%204.00008%206.07954%204.00008%207.00001C4.00008%207.92048%203.25389%208.66668%202.33341%208.66668C1.41294%208.66668%200.666748%207.92048%200.666748%207.00001ZM5.66675%207.00001C5.66675%206.53977%206.03984%206.16668%206.50008%206.16668L16.5001%206.16668C16.9603%206.16668%2017.3334%206.53977%2017.3334%207.00001C17.3334%207.46025%2016.9603%207.83334%2016.5001%207.83334L6.50008%207.83334C6.03984%207.83334%205.66675%207.46025%205.66675%207.00001ZM0.666748%2012C0.666748%2011.0795%201.41294%2010.3333%202.33341%2010.3333C3.25389%2010.3333%204.00008%2011.0795%204.00008%2012C4.00008%2012.9205%203.25389%2013.6667%202.33341%2013.6667C1.41294%2013.6667%200.666748%2012.9205%200.666748%2012ZM5.66675%2012C5.66675%2011.5398%206.03984%2011.1667%206.50008%2011.1667L16.5001%2011.1667C16.9603%2011.1667%2017.3334%2011.5398%2017.3334%2012C17.3334%2012.4602%2016.9603%2012.8333%2016.5001%2012.8333L6.50008%2012.8333C6.03984%2012.8333%205.66675%2012.4602%205.66675%2012Z'%20fill='white'/%3e%3c/svg%3e", ji = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.9992%203.75C6.52525%203.75%203.75%206.55828%203.75%2010C3.75%2013.4417%206.52525%2016.25%209.9992%2016.25C13.427%2016.25%2016.2484%2013.4441%2016.2484%2010C16.2505%209.98168%2016.2505%209.96318%2016.2484%209.94487C16.2212%206.52543%2013.456%203.75%209.9992%203.75ZM8.7787%204.35471V5.7477C8.4566%205.83981%208.14646%205.96894%207.85461%206.13246L6.85596%205.16118C7.44132%204.77727%208.09317%204.50386%208.7787%204.35471ZM11.2197%204.35471C11.9052%204.50386%2012.5571%204.77727%2013.1424%205.16118L12.1621%206.13246C11.8646%205.96647%2011.5551%205.8216%2011.2197%205.72952V4.35471ZM9.9992%206.05915C12.1876%206.01398%2013.9742%207.82458%2013.9742%2010C13.9741%2011.0451%2013.5552%2012.0474%2012.8098%2012.7864C12.0644%2013.5255%2011.0534%2013.9407%209.9992%2013.9409C8.945%2013.9407%207.93403%2013.5255%207.18859%2012.7864C6.44316%2012.0474%206.02431%2011.0451%206.02416%2010C6.02431%208.95487%206.44316%207.95259%207.18859%207.21357C7.93403%206.47455%208.945%206.0593%209.9992%206.05915ZM5.15508%206.8838L6.09811%207.87385C5.9331%208.16337%205.80285%208.47104%205.71001%208.79059H4.36054C4.50654%208.11266%204.77577%207.46614%205.15508%206.8838ZM14.8427%206.8838C15.2223%207.46607%2015.4917%208.11201%2015.6379%208.79H14.2706C14.1826%208.47178%2014.0585%208.16445%2013.9009%207.87385L14.8427%206.8838ZM9.70339%207.30609V7.6539C9.17094%207.75009%208.88993%208.16594%208.88993%208.79059C8.88993%2010.1355%2010.3873%2010.2493%2010.3873%2011.2094C10.3873%2011.5461%2010.2412%2011.6863%209.9992%2011.6863C9.75664%2011.6863%209.6111%2011.5455%209.6111%2011.2094V10.8247H8.88993V11.1549C8.88993%2011.827%209.17035%2012.2135%209.70339%2012.3091V12.6394H10.3323V12.3091C10.8647%2012.2135%2011.1641%2011.7789%2011.1641%2011.1549C11.1641%209.80997%209.66612%209.76246%209.66612%208.75364C9.66612%208.41756%209.81225%208.27679%2010.0548%208.27679C10.2974%208.27679%2010.4429%208.41756%2010.4429%208.75364V8.93722H11.1641V8.79059C11.1641%208.16594%2010.8647%207.75009%2010.3317%207.6539V7.30551L9.70339%207.30609ZM4.36054%2011.2094H5.71001C5.80349%2011.5379%205.93482%2011.8335%206.09811%2012.1261L5.15508%2013.1162C4.77574%2012.5339%204.5065%2011.8874%204.36054%2011.2094ZM14.2884%2011.2094H15.6379C15.4914%2011.8872%2015.2222%2012.5331%2014.8433%2013.1156L13.9003%2012.1261C14.0653%2011.8366%2014.1956%2011.529%2014.2884%2011.2094ZM7.85461%2013.8675C8.14662%2014.0312%208.45696%2014.1603%208.7793%2014.2523V15.6453C8.09376%2015.4961%207.44191%2015.2227%206.85656%2014.8388L7.85461%2013.8675ZM12.1438%2013.8675H12.1621L13.1235%2014.8388C12.5433%2015.2156%2011.8978%2015.4828%2011.2197%2015.6271V14.2523C11.5418%2014.1603%2011.852%2014.0311%2012.1438%2013.8675Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2018.0208C14.4298%2018.0208%2018.0208%2014.4298%2018.0208%2010C18.0208%205.57022%2014.4298%201.97917%2010%201.97917C5.57022%201.97917%201.97917%205.57022%201.97917%2010C1.97917%2014.4298%205.57022%2018.0208%2010%2018.0208ZM10%2018.75C14.8325%2018.75%2018.75%2014.8325%2018.75%2010C18.75%205.16751%2014.8325%201.25%2010%201.25C5.16751%201.25%201.25%205.16751%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75Z'%20fill='white'/%3e%3c/svg%3e", Vi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.2125%209.09375C7.44853%209.77601%206.51801%2010.2445%205.51497%2010.4519C4.51192%2010.6593%203.4719%2010.5983%202.5%2010.275C2.55651%2011.9499%203.17514%2013.557%204.25625%2014.8375L9.11875%2010L8.2125%209.09375ZM7.31875%208.20625L4.275%205.1625C3.37411%206.23087%202.78964%207.52969%202.5875%208.9125C3.95%209.675%205.8375%209.375%207.31875%208.20625ZM12.6813%2011.7938L15.725%2014.8375C16.6259%2013.7691%2017.2104%2012.4703%2017.4125%2011.0875C16.05%2010.325%2014.1625%2010.625%2012.6813%2011.7938ZM11.7938%2012.6813C10.6063%2014.1625%2010.325%2016.05%2011.0625%2017.4125C12.4453%2017.2104%2013.7441%2016.6259%2014.8125%2015.725L11.7938%2012.6813ZM10.8813%2010L11.7875%2010.9062C12.5515%2010.224%2013.482%209.75549%2014.485%209.54808C15.4881%209.34066%2016.5281%209.40169%2017.5%209.725C17.4435%208.05011%2016.8249%206.44299%2015.7438%205.1625L10.8813%2010ZM10.9062%2011.7875L10%2010.8813L5.1625%2015.725C6.44047%2016.8129%208.04784%2017.4382%209.725%2017.5C9.40169%2016.5281%209.34066%2015.4881%209.54808%2014.485C9.75549%2013.482%2010.224%2012.5515%2010.9062%2011.7875ZM10%209.11875L14.8375%204.275C13.5595%203.18712%2011.9522%202.56179%2010.275%202.5C10.5948%203.46928%2010.654%204.50563%2010.4466%205.50501C10.2393%206.5044%209.77272%207.43167%209.09375%208.19375L10%209.11875ZM8.20625%207.31875C9.375%205.8375%209.675%203.95%208.9375%202.5875C7.55469%202.78964%206.25587%203.37411%205.1875%204.275L8.20625%207.31875Z'%20fill='white'/%3e%3c/svg%3e";
|
|
3964
|
+
class At {
|
|
3943
3965
|
constructor() {
|
|
3944
3966
|
}
|
|
3945
3967
|
static processMinMax(t, n) {
|
|
@@ -3950,18 +3972,18 @@ class Rt {
|
|
|
3950
3972
|
}
|
|
3951
3973
|
static generateCasinoRule(t, n) {
|
|
3952
3974
|
var l, h;
|
|
3953
|
-
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = (l = n.minStake) != null && l.amount[i] ? `: ${n.minStake.amount[i]} ${i}` : r,
|
|
3954
|
-
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet:
|
|
3975
|
+
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = (l = n.minStake) != null && l.amount[i] ? `: ${n.minStake.amount[i]} ${i}` : r, o = (h = n.maxStake) != null && h.amount[i] ? `: ${n.maxStake.amount[i]} ${i}` : r;
|
|
3976
|
+
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet: o } });
|
|
3955
3977
|
}
|
|
3956
3978
|
static generateSportsRule(t, n) {
|
|
3957
|
-
var
|
|
3958
|
-
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR",
|
|
3959
|
-
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet:
|
|
3979
|
+
var A, Z, ne, m, O, J, Q, re, ge, Y;
|
|
3980
|
+
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR", o = (A = n.minStake) != null && A.amount[s] ? `: ${n.minStake.amount[s]} ${s}` : i, l = (Z = n.maxStake) != null && Z.amount[s] ? `: ${n.maxStake.amount[s]} ${s}` : i;
|
|
3981
|
+
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: o, sportMaxBet: l } }));
|
|
3960
3982
|
const h = n.config.liveMatch === "true", a = n.config.preLiveMatch === "true";
|
|
3961
3983
|
h && a ? r.push(t("matchTypePreAndLive")) : h ? r.push(`${t("matchTypeLive")}`) : a && r.push(`${t("matchTyppePre")}`);
|
|
3962
|
-
const
|
|
3963
|
-
|
|
3964
|
-
const
|
|
3984
|
+
const u = n.combination, c = [];
|
|
3985
|
+
u.single.isEligible && c.push(t("betTypeSingle"));
|
|
3986
|
+
const d = {
|
|
3965
3987
|
null: t("typeOfSelectionAny"),
|
|
3966
3988
|
true: t("bankerOnly"),
|
|
3967
3989
|
false: t("nonBankerOnly")
|
|
@@ -3970,139 +3992,171 @@ class Rt {
|
|
|
3970
3992
|
all: t("betBuilderOnly"),
|
|
3971
3993
|
none: t("notBuilderOnly")
|
|
3972
3994
|
};
|
|
3973
|
-
let E = "",
|
|
3974
|
-
const S = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, B =
|
|
3995
|
+
let E = "", H = "";
|
|
3996
|
+
const S = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, B = u.system.isEligible, T = u.multiple.isEligible;
|
|
3975
3997
|
B && (E = ` ${t("betTypeSystem")}
|
|
3976
|
-
( ${t("typeOfSelection")}: ${
|
|
3998
|
+
( ${t("typeOfSelection")}: ${d[((m = (ne = n.combination.system.banker) == null ? void 0 : ne.include) == null ? void 0 : m.toString()) || "null"]},
|
|
3977
3999
|
${t("numberOfSelection")}:
|
|
3978
|
-
${((
|
|
3979
|
-
${S} ) `),
|
|
3980
|
-
( ${t("typeOfSelection")}: ${g[((
|
|
4000
|
+
${((O = u.system.minSelection) == null ? void 0 : O.number) || t("unlimited")} - ${((J = u.system.maxSelection) == null ? void 0 : J.number) || t("unlimited")},
|
|
4001
|
+
${S} ) `), T && (H = ` ${t("betTypeMultiple")}
|
|
4002
|
+
( ${t("typeOfSelection")}: ${g[((re = (Q = n.combination.multiple.betBuilder) == null ? void 0 : Q.mode) == null ? void 0 : re.toString()) || "unspecific"]},
|
|
3981
4003
|
${t("numberOfSelection")}:
|
|
3982
|
-
${((
|
|
3983
|
-
${S} ) `), B &&
|
|
3984
|
-
const
|
|
3985
|
-
return r.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds:
|
|
4004
|
+
${((ge = u.multiple.minSelection) == null ? void 0 : ge.number) || t("unlimited")} - ${((Y = u.multiple.maxSelection) == null ? void 0 : Y.number) || t("unlimited")},
|
|
4005
|
+
${S} ) `), B && T ? c.push(H + t("and") + E) : B ? c.push(E) : T && c.push(H), r.push(c.join(", "));
|
|
4006
|
+
const V = n.config.minTotalOdds ? `: ${n.config.minTotalOdds}` : i, M = n.config.maxTotalOdds ? `: ${n.config.maxTotalOdds}` : i;
|
|
4007
|
+
return r.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds: V, sportMaxOdds: M } })}`), r;
|
|
3986
4008
|
}
|
|
3987
4009
|
}
|
|
3988
|
-
function
|
|
3989
|
-
|
|
4010
|
+
function zi(e) {
|
|
4011
|
+
Tn(e, "svelte-apsmtn", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-thumbnail-rule{color:#fff;font-size:12px;line-height:15px;letter-spacing:-0.177807px;color:var(--emw--color-gray-100, #B5B5B5)}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid var(--emw--color-grey-105, #424242)}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt{padding:3px 5px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt a{color:#ff8364;cursor:pointer}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt ul.SportsRules{padding-left:20px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt ul.SportsRules li{padding-left:0px;list-style-type:initial}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeUL{padding-left:15px}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeLI{list-style-type:initial;margin-top:5px}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeLI span.Desc{padding-top:7px;display:block}.casino-tournaments-thumbnail-rule .RuleIcon{width:38px;height:30px}");
|
|
3990
4012
|
}
|
|
3991
|
-
function
|
|
4013
|
+
function Ot(e, t, n) {
|
|
3992
4014
|
const r = e.slice();
|
|
3993
|
-
return r[
|
|
4015
|
+
return r[24] = t[n], r;
|
|
3994
4016
|
}
|
|
3995
|
-
function
|
|
4017
|
+
function Pt(e) {
|
|
3996
4018
|
let t, n = (
|
|
3997
4019
|
/*$_*/
|
|
3998
|
-
e[
|
|
4020
|
+
e[11]("scoreCriteriaType.mostRounds") + ""
|
|
3999
4021
|
), r;
|
|
4000
4022
|
return {
|
|
4001
4023
|
c() {
|
|
4002
|
-
t = new
|
|
4024
|
+
t = new ie(!1), r = Te(), t.a = r;
|
|
4003
4025
|
},
|
|
4004
4026
|
m(i, s) {
|
|
4005
4027
|
t.m(n, i, s), W(i, r, s);
|
|
4006
4028
|
},
|
|
4007
4029
|
p(i, s) {
|
|
4008
4030
|
s & /*$_*/
|
|
4009
|
-
|
|
4010
|
-
i[
|
|
4031
|
+
2048 && n !== (n = /*$_*/
|
|
4032
|
+
i[11]("scoreCriteriaType.mostRounds") + "") && t.p(n);
|
|
4011
4033
|
},
|
|
4012
4034
|
d(i) {
|
|
4013
4035
|
i && (z(r), t.d());
|
|
4014
4036
|
}
|
|
4015
4037
|
};
|
|
4016
4038
|
}
|
|
4017
|
-
function
|
|
4039
|
+
function Nt(e) {
|
|
4018
4040
|
let t, n = (
|
|
4019
4041
|
/*$_*/
|
|
4020
|
-
e[
|
|
4042
|
+
e[11]("scoreCriteriaType.winStateRatio") + ""
|
|
4021
4043
|
), r;
|
|
4022
4044
|
return {
|
|
4023
4045
|
c() {
|
|
4024
|
-
t = new
|
|
4046
|
+
t = new ie(!1), r = Te(), t.a = r;
|
|
4025
4047
|
},
|
|
4026
4048
|
m(i, s) {
|
|
4027
4049
|
t.m(n, i, s), W(i, r, s);
|
|
4028
4050
|
},
|
|
4029
4051
|
p(i, s) {
|
|
4030
4052
|
s & /*$_*/
|
|
4031
|
-
|
|
4032
|
-
i[
|
|
4053
|
+
2048 && n !== (n = /*$_*/
|
|
4054
|
+
i[11]("scoreCriteriaType.winStateRatio") + "") && t.p(n);
|
|
4033
4055
|
},
|
|
4034
4056
|
d(i) {
|
|
4035
4057
|
i && (z(r), t.d());
|
|
4036
4058
|
}
|
|
4037
4059
|
};
|
|
4038
4060
|
}
|
|
4039
|
-
function
|
|
4061
|
+
function It(e) {
|
|
4040
4062
|
let t, n = (
|
|
4041
4063
|
/*$_*/
|
|
4042
|
-
e[
|
|
4064
|
+
e[11]("scoreCriteriaType.maxWinStateRatio") + ""
|
|
4043
4065
|
), r;
|
|
4044
4066
|
return {
|
|
4045
4067
|
c() {
|
|
4046
|
-
t = new
|
|
4068
|
+
t = new ie(!1), r = Te(), t.a = r;
|
|
4047
4069
|
},
|
|
4048
4070
|
m(i, s) {
|
|
4049
4071
|
t.m(n, i, s), W(i, r, s);
|
|
4050
4072
|
},
|
|
4051
4073
|
p(i, s) {
|
|
4052
4074
|
s & /*$_*/
|
|
4053
|
-
|
|
4054
|
-
i[
|
|
4075
|
+
2048 && n !== (n = /*$_*/
|
|
4076
|
+
i[11]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(n);
|
|
4055
4077
|
},
|
|
4056
4078
|
d(i) {
|
|
4057
4079
|
i && (z(r), t.d());
|
|
4058
4080
|
}
|
|
4059
4081
|
};
|
|
4060
4082
|
}
|
|
4061
|
-
function
|
|
4083
|
+
function kt(e) {
|
|
4084
|
+
let t, n = (
|
|
4085
|
+
/*$_*/
|
|
4086
|
+
e[11]("scoreCriteriaType.winStakeRatioWinMinScore", {
|
|
4087
|
+
values: { minScore: (
|
|
4088
|
+
/*minscore*/
|
|
4089
|
+
e[7]
|
|
4090
|
+
) }
|
|
4091
|
+
}) + ""
|
|
4092
|
+
), r;
|
|
4093
|
+
return {
|
|
4094
|
+
c() {
|
|
4095
|
+
t = new ie(!1), r = Te(), t.a = r;
|
|
4096
|
+
},
|
|
4097
|
+
m(i, s) {
|
|
4098
|
+
t.m(n, i, s), W(i, r, s);
|
|
4099
|
+
},
|
|
4100
|
+
p(i, s) {
|
|
4101
|
+
s & /*$_, minscore*/
|
|
4102
|
+
2176 && n !== (n = /*$_*/
|
|
4103
|
+
i[11]("scoreCriteriaType.winStakeRatioWinMinScore", {
|
|
4104
|
+
values: { minScore: (
|
|
4105
|
+
/*minscore*/
|
|
4106
|
+
i[7]
|
|
4107
|
+
) }
|
|
4108
|
+
}) + "") && t.p(n);
|
|
4109
|
+
},
|
|
4110
|
+
d(i) {
|
|
4111
|
+
i && (z(r), t.d());
|
|
4112
|
+
}
|
|
4113
|
+
};
|
|
4114
|
+
}
|
|
4115
|
+
function $t(e) {
|
|
4062
4116
|
let t, n = (
|
|
4063
4117
|
/*$_*/
|
|
4064
|
-
e[
|
|
4118
|
+
e[11]("scoreCriteriaType.stake") + ""
|
|
4065
4119
|
), r;
|
|
4066
4120
|
return {
|
|
4067
4121
|
c() {
|
|
4068
|
-
t = new
|
|
4122
|
+
t = new ie(!1), r = Te(), t.a = r;
|
|
4069
4123
|
},
|
|
4070
4124
|
m(i, s) {
|
|
4071
4125
|
t.m(n, i, s), W(i, r, s);
|
|
4072
4126
|
},
|
|
4073
4127
|
p(i, s) {
|
|
4074
4128
|
s & /*$_*/
|
|
4075
|
-
|
|
4076
|
-
i[
|
|
4129
|
+
2048 && n !== (n = /*$_*/
|
|
4130
|
+
i[11]("scoreCriteriaType.stake") + "") && t.p(n);
|
|
4077
4131
|
},
|
|
4078
4132
|
d(i) {
|
|
4079
4133
|
i && (z(r), t.d());
|
|
4080
4134
|
}
|
|
4081
4135
|
};
|
|
4082
4136
|
}
|
|
4083
|
-
function
|
|
4084
|
-
let t, n, r, i, s,
|
|
4137
|
+
function Ut(e) {
|
|
4138
|
+
let t, n, r, i, s, o = (
|
|
4085
4139
|
/*$_*/
|
|
4086
|
-
e[
|
|
4140
|
+
e[11]("forCasino") + ""
|
|
4087
4141
|
), l, h;
|
|
4088
4142
|
return {
|
|
4089
4143
|
c() {
|
|
4090
|
-
t =
|
|
4144
|
+
t = C("div"), n = C("div"), n.innerHTML = `<img src="${ji}"/>`, r = L(), i = C("div"), s = new ie(!1), l = ee(":"), h = ee(
|
|
4091
4145
|
/*casinoRules*/
|
|
4092
|
-
e[
|
|
4146
|
+
e[10]
|
|
4093
4147
|
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = l, p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4094
4148
|
},
|
|
4095
|
-
m(a,
|
|
4096
|
-
W(a, t,
|
|
4149
|
+
m(a, u) {
|
|
4150
|
+
W(a, t, u), b(t, n), b(t, r), b(t, i), s.m(o, i), b(i, l), b(i, h);
|
|
4097
4151
|
},
|
|
4098
|
-
p(a,
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
a[
|
|
4102
|
-
|
|
4152
|
+
p(a, u) {
|
|
4153
|
+
u & /*$_*/
|
|
4154
|
+
2048 && o !== (o = /*$_*/
|
|
4155
|
+
a[11]("forCasino") + "") && s.p(o), u & /*casinoRules*/
|
|
4156
|
+
1024 && Re(
|
|
4103
4157
|
h,
|
|
4104
4158
|
/*casinoRules*/
|
|
4105
|
-
a[
|
|
4159
|
+
a[10]
|
|
4106
4160
|
);
|
|
4107
4161
|
},
|
|
4108
4162
|
d(a) {
|
|
@@ -4110,87 +4164,87 @@ function It(e) {
|
|
|
4110
4164
|
}
|
|
4111
4165
|
};
|
|
4112
4166
|
}
|
|
4113
|
-
function
|
|
4114
|
-
let t, n, r, i, s,
|
|
4167
|
+
function Dt(e) {
|
|
4168
|
+
let t, n, r, i, s, o = (
|
|
4115
4169
|
/*$_*/
|
|
4116
|
-
e[
|
|
4117
|
-
), l, h, a =
|
|
4170
|
+
e[11]("forSportsbook") + ""
|
|
4171
|
+
), l, h, a = bt(
|
|
4118
4172
|
/*sportRules*/
|
|
4119
|
-
e[
|
|
4120
|
-
),
|
|
4173
|
+
e[9]
|
|
4174
|
+
), u = [];
|
|
4121
4175
|
for (let c = 0; c < a.length; c += 1)
|
|
4122
|
-
|
|
4176
|
+
u[c] = Gt(Ot(e, a, c));
|
|
4123
4177
|
return {
|
|
4124
4178
|
c() {
|
|
4125
|
-
t =
|
|
4126
|
-
`), h =
|
|
4127
|
-
for (let c = 0; c <
|
|
4128
|
-
|
|
4179
|
+
t = C("div"), n = C("div"), n.innerHTML = `<img src="${Vi}"/>`, r = L(), i = C("div"), s = new ie(!1), l = ee(`:
|
|
4180
|
+
`), h = C("ul");
|
|
4181
|
+
for (let c = 0; c < u.length; c += 1)
|
|
4182
|
+
u[c].c();
|
|
4129
4183
|
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = l, p(h, "class", "SportsRules"), p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4130
4184
|
},
|
|
4131
4185
|
m(c, f) {
|
|
4132
|
-
W(c, t, f), b(t, n), b(t, r), b(t, i), s.m(
|
|
4133
|
-
for (let
|
|
4134
|
-
|
|
4186
|
+
W(c, t, f), b(t, n), b(t, r), b(t, i), s.m(o, i), b(i, l), b(i, h);
|
|
4187
|
+
for (let d = 0; d < u.length; d += 1)
|
|
4188
|
+
u[d] && u[d].m(h, null);
|
|
4135
4189
|
},
|
|
4136
4190
|
p(c, f) {
|
|
4137
4191
|
if (f & /*$_*/
|
|
4138
|
-
|
|
4139
|
-
c[
|
|
4140
|
-
|
|
4141
|
-
a =
|
|
4192
|
+
2048 && o !== (o = /*$_*/
|
|
4193
|
+
c[11]("forSportsbook") + "") && s.p(o), f & /*sportRules*/
|
|
4194
|
+
512) {
|
|
4195
|
+
a = bt(
|
|
4142
4196
|
/*sportRules*/
|
|
4143
|
-
c[
|
|
4197
|
+
c[9]
|
|
4144
4198
|
);
|
|
4145
|
-
let
|
|
4146
|
-
for (
|
|
4147
|
-
const g =
|
|
4148
|
-
|
|
4199
|
+
let d;
|
|
4200
|
+
for (d = 0; d < a.length; d += 1) {
|
|
4201
|
+
const g = Ot(c, a, d);
|
|
4202
|
+
u[d] ? u[d].p(g, f) : (u[d] = Gt(g), u[d].c(), u[d].m(h, null));
|
|
4149
4203
|
}
|
|
4150
|
-
for (;
|
|
4151
|
-
|
|
4152
|
-
|
|
4204
|
+
for (; d < u.length; d += 1)
|
|
4205
|
+
u[d].d(1);
|
|
4206
|
+
u.length = a.length;
|
|
4153
4207
|
}
|
|
4154
4208
|
},
|
|
4155
4209
|
d(c) {
|
|
4156
|
-
c && z(t),
|
|
4210
|
+
c && z(t), Bn(u, c);
|
|
4157
4211
|
}
|
|
4158
4212
|
};
|
|
4159
4213
|
}
|
|
4160
|
-
function
|
|
4214
|
+
function Gt(e) {
|
|
4161
4215
|
let t, n = (
|
|
4162
4216
|
/*rule*/
|
|
4163
|
-
e[
|
|
4217
|
+
e[24] + ""
|
|
4164
4218
|
), r;
|
|
4165
4219
|
return {
|
|
4166
4220
|
c() {
|
|
4167
|
-
t =
|
|
4221
|
+
t = C("li"), r = ee(n), p(t, "class", "RuleTxt"), p(t, "part", "RuleTxt");
|
|
4168
4222
|
},
|
|
4169
4223
|
m(i, s) {
|
|
4170
4224
|
W(i, t, s), b(t, r);
|
|
4171
4225
|
},
|
|
4172
4226
|
p(i, s) {
|
|
4173
4227
|
s & /*sportRules*/
|
|
4174
|
-
|
|
4175
|
-
i[
|
|
4228
|
+
512 && n !== (n = /*rule*/
|
|
4229
|
+
i[24] + "") && Re(r, n);
|
|
4176
4230
|
},
|
|
4177
4231
|
d(i) {
|
|
4178
4232
|
i && z(t);
|
|
4179
4233
|
}
|
|
4180
4234
|
};
|
|
4181
4235
|
}
|
|
4182
|
-
function
|
|
4183
|
-
let t, n, r, i, s,
|
|
4236
|
+
function Zi(e) {
|
|
4237
|
+
let t, n, r, i, s, o, l, h, a, u, c, f, d, g, E = (
|
|
4184
4238
|
/*$_*/
|
|
4185
|
-
e[
|
|
4239
|
+
e[11]("miniBetCount", {
|
|
4186
4240
|
values: { betCount: (
|
|
4187
4241
|
/*betcount*/
|
|
4188
4242
|
e[3]
|
|
4189
4243
|
) }
|
|
4190
4244
|
}) + ""
|
|
4191
|
-
),
|
|
4245
|
+
), H, S, B, T, V, M, A = (
|
|
4192
4246
|
/*$_*/
|
|
4193
|
-
e[
|
|
4247
|
+
e[11]("timePeriod", {
|
|
4194
4248
|
values: {
|
|
4195
4249
|
startTime: (
|
|
4196
4250
|
/*starttime*/
|
|
@@ -4202,249 +4256,261 @@ function ji(e) {
|
|
|
4202
4256
|
)
|
|
4203
4257
|
}
|
|
4204
4258
|
}) + ""
|
|
4205
|
-
),
|
|
4259
|
+
), Z, ne, m, O, J, Q, re = (
|
|
4206
4260
|
/*$_*/
|
|
4207
|
-
e[
|
|
4261
|
+
e[11]("terms", { values: { tcUrl: (
|
|
4208
4262
|
/*tcurl*/
|
|
4209
4263
|
e[6]
|
|
4210
4264
|
) } }) + ""
|
|
4211
|
-
),
|
|
4265
|
+
), ge, Y, we, lt, Ue, I = (
|
|
4212
4266
|
/*scorecriterial*/
|
|
4213
|
-
e[2] == "BetCount" &&
|
|
4214
|
-
),
|
|
4267
|
+
e[2] == "BetCount" && Pt(e)
|
|
4268
|
+
), k = (
|
|
4215
4269
|
/*scorecriterial*/
|
|
4216
|
-
e[2] == "WinStakeRatio" &&
|
|
4270
|
+
e[2] == "WinStakeRatio" && Nt(e)
|
|
4217
4271
|
), $ = (
|
|
4218
4272
|
/*scorecriterial*/
|
|
4219
|
-
e[2] == "MaxWinStakeRatio" &&
|
|
4220
|
-
), k = (
|
|
4221
|
-
/*scorecriterial*/
|
|
4222
|
-
e[2] == "Stake" && Nt(e)
|
|
4273
|
+
e[2] == "MaxWinStakeRatio" && It(e)
|
|
4223
4274
|
), U = (
|
|
4224
|
-
/*
|
|
4225
|
-
e[
|
|
4275
|
+
/*minscore*/
|
|
4276
|
+
e[7] && kt(e)
|
|
4277
|
+
), D = (
|
|
4278
|
+
/*scorecriterial*/
|
|
4279
|
+
e[2] == "Stake" && $t(e)
|
|
4226
4280
|
), G = (
|
|
4281
|
+
/*casinowallet*/
|
|
4282
|
+
e[1] && Ut(e)
|
|
4283
|
+
), F = (
|
|
4227
4284
|
/*sportswallet*/
|
|
4228
4285
|
e[0] && /*sportRules*/
|
|
4229
|
-
e[
|
|
4286
|
+
e[9].length && Dt(e)
|
|
4230
4287
|
);
|
|
4231
4288
|
return {
|
|
4232
4289
|
c() {
|
|
4233
|
-
t =
|
|
4290
|
+
t = C("div"), n = C("div"), r = C("div"), r.innerHTML = `<img src="${Ui}"/>`, i = L(), s = C("div"), I && I.c(), o = L(), k && k.c(), l = L(), $ && $.c(), h = L(), U && U.c(), a = L(), D && D.c(), u = L(), c = C("div"), f = C("div"), f.innerHTML = `<img src="${Di}"/>`, d = L(), g = C("div"), H = ee(E), S = L(), B = C("div"), T = C("div"), T.innerHTML = `<img src="${Gi}"/>`, V = L(), M = C("div"), Z = ee(A), ne = L(), m = C("div"), O = C("div"), O.innerHTML = `<img src="${Fi}"/>`, J = L(), Q = C("div"), ge = L(), Y = C("span"), lt = L(), G && G.c(), Ue = L(), F && F.c(), p(r, "class", "RuleIcon"), p(r, "part", "RuleIcon"), p(s, "class", "RuleTxt"), p(s, "part", "RuleTxt"), p(n, "class", "RulesRow"), p(n, "part", "rule"), p(f, "class", "RuleIcon"), p(f, "part", "RuleIcon"), p(g, "class", "RuleTxt"), p(g, "part", "RuleTxt"), p(c, "class", "RulesRow"), p(c, "part", "rule"), p(T, "class", "RuleIcon"), p(T, "part", "RuleIcon"), p(M, "class", "RuleTxt"), p(M, "part", "RuleTxt"), p(B, "class", "RulesRow"), p(B, "part", "rule"), p(O, "class", "RuleIcon"), p(O, "part", "RuleIcon"), p(Q, "class", "RuleTxt"), p(Q, "part", "RuleTxt"), p(m, "class", "RulesRow"), p(m, "part", "rule"), p(Y, "type", "hidden"), p(Y, "href", we = { tcurl: (
|
|
4234
4291
|
/*tcurl*/
|
|
4235
4292
|
e[6]
|
|
4236
4293
|
) }), p(t, "class", "casino-tournaments-thumbnail-rule"), p(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4237
4294
|
},
|
|
4238
|
-
m(
|
|
4239
|
-
W(
|
|
4295
|
+
m(v, j) {
|
|
4296
|
+
W(v, t, j), b(t, n), b(n, r), b(n, i), b(n, s), I && I.m(s, null), b(s, o), k && k.m(s, null), b(s, l), $ && $.m(s, null), b(s, h), U && U.m(s, null), b(s, a), D && D.m(s, null), b(t, u), b(t, c), b(c, f), b(c, d), b(c, g), b(g, H), b(t, S), b(t, B), b(B, T), b(B, V), b(B, M), b(M, Z), b(t, ne), b(t, m), b(m, O), b(m, J), b(m, Q), Q.innerHTML = re, b(t, ge), b(t, Y), b(t, lt), G && G.m(t, null), b(t, Ue), F && F.m(t, null), e[17](t);
|
|
4240
4297
|
},
|
|
4241
|
-
p(
|
|
4298
|
+
p(v, [j]) {
|
|
4242
4299
|
/*scorecriterial*/
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4300
|
+
v[2] == "BetCount" ? I ? I.p(v, j) : (I = Pt(v), I.c(), I.m(s, o)) : I && (I.d(1), I = null), /*scorecriterial*/
|
|
4301
|
+
v[2] == "WinStakeRatio" ? k ? k.p(v, j) : (k = Nt(v), k.c(), k.m(s, l)) : k && (k.d(1), k = null), /*scorecriterial*/
|
|
4302
|
+
v[2] == "MaxWinStakeRatio" ? $ ? $.p(v, j) : ($ = It(v), $.c(), $.m(s, h)) : $ && ($.d(1), $ = null), /*minscore*/
|
|
4303
|
+
v[7] ? U ? U.p(v, j) : (U = kt(v), U.c(), U.m(s, a)) : U && (U.d(1), U = null), /*scorecriterial*/
|
|
4304
|
+
v[2] == "Stake" ? D ? D.p(v, j) : (D = $t(v), D.c(), D.m(s, null)) : D && (D.d(1), D = null), j & /*$_, betcount*/
|
|
4305
|
+
2056 && E !== (E = /*$_*/
|
|
4306
|
+
v[11]("miniBetCount", {
|
|
4249
4307
|
values: { betCount: (
|
|
4250
4308
|
/*betcount*/
|
|
4251
|
-
|
|
4309
|
+
v[3]
|
|
4252
4310
|
) }
|
|
4253
|
-
}) + "") &&
|
|
4254
|
-
|
|
4255
|
-
|
|
4311
|
+
}) + "") && Re(H, E), j & /*$_, starttime, endtime*/
|
|
4312
|
+
2096 && A !== (A = /*$_*/
|
|
4313
|
+
v[11]("timePeriod", {
|
|
4256
4314
|
values: {
|
|
4257
4315
|
startTime: (
|
|
4258
4316
|
/*starttime*/
|
|
4259
|
-
|
|
4317
|
+
v[4]
|
|
4260
4318
|
),
|
|
4261
4319
|
endTime: (
|
|
4262
4320
|
/*endtime*/
|
|
4263
|
-
|
|
4321
|
+
v[5]
|
|
4264
4322
|
)
|
|
4265
4323
|
}
|
|
4266
|
-
}) + "") &&
|
|
4267
|
-
|
|
4268
|
-
|
|
4324
|
+
}) + "") && Re(Z, A), j & /*$_, tcurl*/
|
|
4325
|
+
2112 && re !== (re = /*$_*/
|
|
4326
|
+
v[11]("terms", { values: { tcUrl: (
|
|
4269
4327
|
/*tcurl*/
|
|
4270
|
-
|
|
4271
|
-
) } }) + "") && (
|
|
4272
|
-
64 &&
|
|
4328
|
+
v[6]
|
|
4329
|
+
) } }) + "") && (Q.innerHTML = re), j & /*tcurl*/
|
|
4330
|
+
64 && we !== (we = { tcurl: (
|
|
4273
4331
|
/*tcurl*/
|
|
4274
|
-
|
|
4275
|
-
) }) && p(
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4332
|
+
v[6]
|
|
4333
|
+
) }) && p(Y, "href", we), /*casinowallet*/
|
|
4334
|
+
v[1] ? G ? G.p(v, j) : (G = Ut(v), G.c(), G.m(t, Ue)) : G && (G.d(1), G = null), /*sportswallet*/
|
|
4335
|
+
v[0] && /*sportRules*/
|
|
4336
|
+
v[9].length ? F ? F.p(v, j) : (F = Dt(v), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
|
|
4279
4337
|
},
|
|
4280
|
-
i:
|
|
4281
|
-
o:
|
|
4282
|
-
d(
|
|
4283
|
-
|
|
4338
|
+
i: X,
|
|
4339
|
+
o: X,
|
|
4340
|
+
d(v) {
|
|
4341
|
+
v && z(t), I && I.d(), k && k.d(), $ && $.d(), U && U.d(), D && D.d(), G && G.d(), F && F.d(), e[17](null);
|
|
4284
4342
|
}
|
|
4285
4343
|
};
|
|
4286
4344
|
}
|
|
4287
|
-
function
|
|
4345
|
+
function Xi(e, t, n) {
|
|
4288
4346
|
let r;
|
|
4289
|
-
|
|
4290
|
-
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount:
|
|
4291
|
-
|
|
4292
|
-
const
|
|
4293
|
-
fetch(f).then((
|
|
4294
|
-
Object.keys(
|
|
4295
|
-
|
|
4347
|
+
_n(e, Oi, (m) => n(11, r = m));
|
|
4348
|
+
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: o } = t, { starttime: l } = t, { endtime: h } = t, { tcurl: a } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { mbsource: d } = t, { sportswallet: g } = t, { casinowallet: E } = t, { minscore: H } = t, S, B = [], T = "";
|
|
4349
|
+
Pi({ withLocale: "en", translations: {} });
|
|
4350
|
+
const V = () => {
|
|
4351
|
+
fetch(f).then((O) => O.json()).then((O) => {
|
|
4352
|
+
Object.keys(O).forEach((J) => {
|
|
4353
|
+
Rt(J, O[J]);
|
|
4296
4354
|
});
|
|
4297
|
-
}).catch((
|
|
4298
|
-
console.error(
|
|
4355
|
+
}).catch((O) => {
|
|
4356
|
+
console.error(O);
|
|
4299
4357
|
});
|
|
4300
4358
|
};
|
|
4301
|
-
Object.keys(
|
|
4302
|
-
|
|
4359
|
+
Object.keys(Lt).forEach((m) => {
|
|
4360
|
+
Rt(m, Lt[m]);
|
|
4303
4361
|
});
|
|
4304
|
-
const
|
|
4305
|
-
|
|
4306
|
-
},
|
|
4307
|
-
|
|
4308
|
-
},
|
|
4309
|
-
n(
|
|
4362
|
+
const M = () => {
|
|
4363
|
+
Ni(i);
|
|
4364
|
+
}, A = (m) => {
|
|
4365
|
+
m.data && m.data.type && m.type == "TournamentsWalletsUpdate" && (n(1, E = m.data.wallet.casino), n(0, g = m.data.wallet.sports));
|
|
4366
|
+
}, Z = () => {
|
|
4367
|
+
n(10, T = E ? At.generateCasinoRule(r, E) : ""), n(9, B = g ? At.generateSportsRule(r, g) : []);
|
|
4310
4368
|
};
|
|
4311
|
-
|
|
4312
|
-
window.removeEventListener("message",
|
|
4369
|
+
An(() => (window.addEventListener("message", A, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4370
|
+
window.removeEventListener("message", A);
|
|
4313
4371
|
}));
|
|
4314
|
-
function
|
|
4315
|
-
|
|
4316
|
-
|
|
4372
|
+
function ne(m) {
|
|
4373
|
+
We[m ? "unshift" : "push"](() => {
|
|
4374
|
+
S = m, n(8, S);
|
|
4317
4375
|
});
|
|
4318
4376
|
}
|
|
4319
|
-
return e.$$set = (
|
|
4320
|
-
"lang" in
|
|
4377
|
+
return e.$$set = (m) => {
|
|
4378
|
+
"lang" in m && n(12, i = m.lang), "scorecriterial" in m && n(2, s = m.scorecriterial), "betcount" in m && n(3, o = m.betcount), "starttime" in m && n(4, l = m.starttime), "endtime" in m && n(5, h = m.endtime), "tcurl" in m && n(6, a = m.tcurl), "clientstyling" in m && n(13, u = m.clientstyling), "clientstylingurl" in m && n(14, c = m.clientstylingurl), "translationurl" in m && n(15, f = m.translationurl), "mbsource" in m && n(16, d = m.mbsource), "sportswallet" in m && n(0, g = m.sportswallet), "casinowallet" in m && n(1, E = m.casinowallet), "minscore" in m && n(7, H = m.minscore);
|
|
4321
4379
|
}, e.$$.update = () => {
|
|
4322
4380
|
e.$$.dirty & /*lang*/
|
|
4323
|
-
|
|
4324
|
-
3 && (g || E) &&
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4381
|
+
4096 && i && M(), e.$$.dirty & /*sportswallet, casinowallet*/
|
|
4382
|
+
3 && (g || E) && Z(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4383
|
+
8448 && u && S && Ii(S, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4384
|
+
16640 && c && S && ki(S, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4385
|
+
65792 && d && S && $i(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4386
|
+
32768 && f && V();
|
|
4329
4387
|
}, [
|
|
4330
4388
|
g,
|
|
4331
4389
|
E,
|
|
4332
4390
|
s,
|
|
4333
|
-
|
|
4391
|
+
o,
|
|
4334
4392
|
l,
|
|
4335
4393
|
h,
|
|
4336
4394
|
a,
|
|
4337
|
-
|
|
4395
|
+
H,
|
|
4338
4396
|
S,
|
|
4339
4397
|
B,
|
|
4398
|
+
T,
|
|
4340
4399
|
r,
|
|
4341
4400
|
i,
|
|
4342
|
-
|
|
4401
|
+
u,
|
|
4343
4402
|
c,
|
|
4344
4403
|
f,
|
|
4345
|
-
|
|
4346
|
-
|
|
4404
|
+
d,
|
|
4405
|
+
ne
|
|
4347
4406
|
];
|
|
4348
4407
|
}
|
|
4349
|
-
class
|
|
4408
|
+
class Wi extends Vn {
|
|
4350
4409
|
constructor(t) {
|
|
4351
|
-
super(),
|
|
4410
|
+
super(), Fn(
|
|
4352
4411
|
this,
|
|
4353
4412
|
t,
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4413
|
+
Xi,
|
|
4414
|
+
Zi,
|
|
4415
|
+
jt,
|
|
4357
4416
|
{
|
|
4358
|
-
lang:
|
|
4417
|
+
lang: 12,
|
|
4359
4418
|
scorecriterial: 2,
|
|
4360
4419
|
betcount: 3,
|
|
4361
4420
|
starttime: 4,
|
|
4362
4421
|
endtime: 5,
|
|
4363
4422
|
tcurl: 6,
|
|
4364
|
-
clientstyling:
|
|
4365
|
-
clientstylingurl:
|
|
4366
|
-
translationurl:
|
|
4367
|
-
mbsource:
|
|
4423
|
+
clientstyling: 13,
|
|
4424
|
+
clientstylingurl: 14,
|
|
4425
|
+
translationurl: 15,
|
|
4426
|
+
mbsource: 16,
|
|
4368
4427
|
sportswallet: 0,
|
|
4369
|
-
casinowallet: 1
|
|
4428
|
+
casinowallet: 1,
|
|
4429
|
+
minscore: 7
|
|
4370
4430
|
},
|
|
4371
|
-
|
|
4431
|
+
zi
|
|
4372
4432
|
);
|
|
4373
4433
|
}
|
|
4374
4434
|
get lang() {
|
|
4375
|
-
return this.$$.ctx[
|
|
4435
|
+
return this.$$.ctx[12];
|
|
4376
4436
|
}
|
|
4377
4437
|
set lang(t) {
|
|
4378
|
-
this.$$set({ lang: t }),
|
|
4438
|
+
this.$$set({ lang: t }), P();
|
|
4379
4439
|
}
|
|
4380
4440
|
get scorecriterial() {
|
|
4381
4441
|
return this.$$.ctx[2];
|
|
4382
4442
|
}
|
|
4383
4443
|
set scorecriterial(t) {
|
|
4384
|
-
this.$$set({ scorecriterial: t }),
|
|
4444
|
+
this.$$set({ scorecriterial: t }), P();
|
|
4385
4445
|
}
|
|
4386
4446
|
get betcount() {
|
|
4387
4447
|
return this.$$.ctx[3];
|
|
4388
4448
|
}
|
|
4389
4449
|
set betcount(t) {
|
|
4390
|
-
this.$$set({ betcount: t }),
|
|
4450
|
+
this.$$set({ betcount: t }), P();
|
|
4391
4451
|
}
|
|
4392
4452
|
get starttime() {
|
|
4393
4453
|
return this.$$.ctx[4];
|
|
4394
4454
|
}
|
|
4395
4455
|
set starttime(t) {
|
|
4396
|
-
this.$$set({ starttime: t }),
|
|
4456
|
+
this.$$set({ starttime: t }), P();
|
|
4397
4457
|
}
|
|
4398
4458
|
get endtime() {
|
|
4399
4459
|
return this.$$.ctx[5];
|
|
4400
4460
|
}
|
|
4401
4461
|
set endtime(t) {
|
|
4402
|
-
this.$$set({ endtime: t }),
|
|
4462
|
+
this.$$set({ endtime: t }), P();
|
|
4403
4463
|
}
|
|
4404
4464
|
get tcurl() {
|
|
4405
4465
|
return this.$$.ctx[6];
|
|
4406
4466
|
}
|
|
4407
4467
|
set tcurl(t) {
|
|
4408
|
-
this.$$set({ tcurl: t }),
|
|
4468
|
+
this.$$set({ tcurl: t }), P();
|
|
4409
4469
|
}
|
|
4410
4470
|
get clientstyling() {
|
|
4411
|
-
return this.$$.ctx[
|
|
4471
|
+
return this.$$.ctx[13];
|
|
4412
4472
|
}
|
|
4413
4473
|
set clientstyling(t) {
|
|
4414
|
-
this.$$set({ clientstyling: t }),
|
|
4474
|
+
this.$$set({ clientstyling: t }), P();
|
|
4415
4475
|
}
|
|
4416
4476
|
get clientstylingurl() {
|
|
4417
|
-
return this.$$.ctx[
|
|
4477
|
+
return this.$$.ctx[14];
|
|
4418
4478
|
}
|
|
4419
4479
|
set clientstylingurl(t) {
|
|
4420
|
-
this.$$set({ clientstylingurl: t }),
|
|
4480
|
+
this.$$set({ clientstylingurl: t }), P();
|
|
4421
4481
|
}
|
|
4422
4482
|
get translationurl() {
|
|
4423
|
-
return this.$$.ctx[
|
|
4483
|
+
return this.$$.ctx[15];
|
|
4424
4484
|
}
|
|
4425
4485
|
set translationurl(t) {
|
|
4426
|
-
this.$$set({ translationurl: t }),
|
|
4486
|
+
this.$$set({ translationurl: t }), P();
|
|
4427
4487
|
}
|
|
4428
4488
|
get mbsource() {
|
|
4429
|
-
return this.$$.ctx[
|
|
4489
|
+
return this.$$.ctx[16];
|
|
4430
4490
|
}
|
|
4431
4491
|
set mbsource(t) {
|
|
4432
|
-
this.$$set({ mbsource: t }),
|
|
4492
|
+
this.$$set({ mbsource: t }), P();
|
|
4433
4493
|
}
|
|
4434
4494
|
get sportswallet() {
|
|
4435
4495
|
return this.$$.ctx[0];
|
|
4436
4496
|
}
|
|
4437
4497
|
set sportswallet(t) {
|
|
4438
|
-
this.$$set({ sportswallet: t }),
|
|
4498
|
+
this.$$set({ sportswallet: t }), P();
|
|
4439
4499
|
}
|
|
4440
4500
|
get casinowallet() {
|
|
4441
4501
|
return this.$$.ctx[1];
|
|
4442
4502
|
}
|
|
4443
4503
|
set casinowallet(t) {
|
|
4444
|
-
this.$$set({ casinowallet: t }),
|
|
4504
|
+
this.$$set({ casinowallet: t }), P();
|
|
4505
|
+
}
|
|
4506
|
+
get minscore() {
|
|
4507
|
+
return this.$$.ctx[7];
|
|
4508
|
+
}
|
|
4509
|
+
set minscore(t) {
|
|
4510
|
+
this.$$set({ minscore: t }), P();
|
|
4445
4511
|
}
|
|
4446
4512
|
}
|
|
4447
|
-
|
|
4513
|
+
jn(Wi, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, sportswallet: {}, casinowallet: {}, minscore: {} }, [], [], !0);
|
|
4448
4514
|
export {
|
|
4449
|
-
|
|
4515
|
+
Wi as default
|
|
4450
4516
|
};
|