@everymatrix/casino-tournaments-thumbnail-rule 1.86.23 → 1.86.24
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-CGxhe4tY.js → CasinoTournamentsThumbnailRule-C7GSnwJr.js} +977 -919
- package/components/{CasinoTournamentsThumbnailRule-6nBU-Ksj.js → CasinoTournamentsThumbnailRule-CjYxVsBd.js} +935 -877
- package/components/{CasinoTournamentsThumbnailRule-Cry_rvqF.cjs → CasinoTournamentsThumbnailRule-DZJ46ssx.cjs} +15 -11
- 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
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function Z() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Ft(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ft() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function Te(e) {
|
|
10
|
+
e.forEach(Ft);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function at(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function jt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function gn(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Vt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const r of t)
|
|
24
24
|
r(void 0);
|
|
25
|
-
return
|
|
25
|
+
return Z;
|
|
26
26
|
}
|
|
27
27
|
const n = e.subscribe(...t);
|
|
28
28
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function yn(e, t, n) {
|
|
31
|
+
e.$$.on_destroy.push(Vt(t, n));
|
|
32
32
|
}
|
|
33
33
|
function b(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const r =
|
|
36
|
+
function vn(e, t, n) {
|
|
37
|
+
const r = xn(e);
|
|
38
38
|
if (!r.getElementById(t)) {
|
|
39
39
|
const i = C("style");
|
|
40
|
-
i.id = t, i.textContent = n,
|
|
40
|
+
i.id = t, i.textContent = n, En(r, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function xn(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,45 +50,45 @@ function dn(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function En(e, t) {
|
|
54
54
|
return b(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function z(e, t, n) {
|
|
61
61
|
e.insertBefore(t, n || null);
|
|
62
62
|
}
|
|
63
63
|
function V(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Cn(e, t) {
|
|
67
67
|
for (let n = 0; n < e.length; n += 1)
|
|
68
68
|
e[n] && e[n].d(t);
|
|
69
69
|
}
|
|
70
70
|
function C(e) {
|
|
71
71
|
return document.createElement(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function _n(e) {
|
|
74
74
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function ee(e) {
|
|
77
77
|
return document.createTextNode(e);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
return
|
|
79
|
+
function H() {
|
|
80
|
+
return ee(" ");
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
82
|
+
function ne() {
|
|
83
|
+
return ee("");
|
|
84
84
|
}
|
|
85
85
|
function p(e, t, n) {
|
|
86
86
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Tn(e) {
|
|
89
89
|
return Array.from(e.childNodes);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Le(e, t) {
|
|
92
92
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
93
93
|
t);
|
|
94
94
|
}
|
|
@@ -123,7 +123,7 @@ class Y {
|
|
|
123
123
|
* @returns {void}
|
|
124
124
|
*/
|
|
125
125
|
m(t, n, r = null) {
|
|
126
|
-
this.e || (this.is_svg ? this.e =
|
|
126
|
+
this.e || (this.is_svg ? this.e = _n(
|
|
127
127
|
/** @type {keyof SVGElementTagNameMap} */
|
|
128
128
|
n.nodeName
|
|
129
129
|
) : this.e = C(
|
|
@@ -147,7 +147,7 @@ class Y {
|
|
|
147
147
|
* @returns {void} */
|
|
148
148
|
i(t) {
|
|
149
149
|
for (let n = 0; n < this.n.length; n += 1)
|
|
150
|
-
|
|
150
|
+
z(this.t, this.n[n], t);
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
153
|
* @param {string} html
|
|
@@ -162,7 +162,7 @@ class Y {
|
|
|
162
162
|
this.n.forEach(V);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function wn(e) {
|
|
166
166
|
const t = {};
|
|
167
167
|
return e.childNodes.forEach(
|
|
168
168
|
/** @param {Element} node */
|
|
@@ -171,98 +171,98 @@ function vn(e) {
|
|
|
171
171
|
}
|
|
172
172
|
), t;
|
|
173
173
|
}
|
|
174
|
-
let
|
|
175
|
-
function
|
|
176
|
-
|
|
174
|
+
let Ee;
|
|
175
|
+
function xe(e) {
|
|
176
|
+
Ee = e;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
if (!
|
|
178
|
+
function Sn() {
|
|
179
|
+
if (!Ee)
|
|
180
180
|
throw new Error("Function called outside component initialization");
|
|
181
|
-
return
|
|
181
|
+
return Ee;
|
|
182
182
|
}
|
|
183
|
-
function
|
|
184
|
-
|
|
183
|
+
function Bn(e) {
|
|
184
|
+
Sn().$$.on_mount.push(e);
|
|
185
185
|
}
|
|
186
|
-
const
|
|
187
|
-
let
|
|
188
|
-
const
|
|
189
|
-
let
|
|
190
|
-
function
|
|
191
|
-
|
|
186
|
+
const le = [], We = [];
|
|
187
|
+
let ue = [];
|
|
188
|
+
const mt = [], Hn = /* @__PURE__ */ Promise.resolve();
|
|
189
|
+
let qe = !1;
|
|
190
|
+
function Mn() {
|
|
191
|
+
qe || (qe = !0, Hn.then(O));
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
193
|
+
function Qe(e) {
|
|
194
|
+
ue.push(e);
|
|
195
195
|
}
|
|
196
|
-
const
|
|
197
|
-
let
|
|
198
|
-
function
|
|
199
|
-
if (
|
|
196
|
+
const Ge = /* @__PURE__ */ new Set();
|
|
197
|
+
let ae = 0;
|
|
198
|
+
function O() {
|
|
199
|
+
if (ae !== 0)
|
|
200
200
|
return;
|
|
201
|
-
const e =
|
|
201
|
+
const e = Ee;
|
|
202
202
|
do {
|
|
203
203
|
try {
|
|
204
|
-
for (;
|
|
205
|
-
const t =
|
|
206
|
-
|
|
204
|
+
for (; ae < le.length; ) {
|
|
205
|
+
const t = le[ae];
|
|
206
|
+
ae++, xe(t), Rn(t.$$);
|
|
207
207
|
}
|
|
208
208
|
} catch (t) {
|
|
209
|
-
throw
|
|
209
|
+
throw le.length = 0, ae = 0, t;
|
|
210
210
|
}
|
|
211
|
-
for (
|
|
212
|
-
|
|
213
|
-
for (let t = 0; t <
|
|
214
|
-
const n =
|
|
215
|
-
|
|
211
|
+
for (xe(null), le.length = 0, ae = 0; We.length; )
|
|
212
|
+
We.pop()();
|
|
213
|
+
for (let t = 0; t < ue.length; t += 1) {
|
|
214
|
+
const n = ue[t];
|
|
215
|
+
Ge.has(n) || (Ge.add(n), n());
|
|
216
216
|
}
|
|
217
|
-
|
|
218
|
-
} while (
|
|
219
|
-
for (;
|
|
220
|
-
|
|
221
|
-
|
|
217
|
+
ue.length = 0;
|
|
218
|
+
} while (le.length);
|
|
219
|
+
for (; mt.length; )
|
|
220
|
+
mt.pop()();
|
|
221
|
+
qe = !1, Ge.clear(), xe(e);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function Rn(e) {
|
|
224
224
|
if (e.fragment !== null) {
|
|
225
|
-
e.update(),
|
|
225
|
+
e.update(), Te(e.before_update);
|
|
226
226
|
const t = e.dirty;
|
|
227
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
227
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Ln(e) {
|
|
231
231
|
const t = [], n = [];
|
|
232
|
-
|
|
232
|
+
ue.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), ue = t;
|
|
233
233
|
}
|
|
234
|
-
const
|
|
235
|
-
function
|
|
236
|
-
e && e.i && (
|
|
234
|
+
const An = /* @__PURE__ */ new Set();
|
|
235
|
+
function On(e, t) {
|
|
236
|
+
e && e.i && (An.delete(e), e.i(t));
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function dt(e) {
|
|
239
239
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Pn(e, t, n) {
|
|
242
242
|
const { fragment: r, after_update: i } = e.$$;
|
|
243
|
-
r && r.m(t, n),
|
|
244
|
-
const s = e.$$.on_mount.map(
|
|
245
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
246
|
-
}), i.forEach(
|
|
243
|
+
r && r.m(t, n), Qe(() => {
|
|
244
|
+
const s = e.$$.on_mount.map(Ft).filter(at);
|
|
245
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Te(s), e.$$.on_mount = [];
|
|
246
|
+
}), i.forEach(Qe);
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function Nn(e, t) {
|
|
249
249
|
const n = e.$$;
|
|
250
|
-
n.fragment !== null && (
|
|
250
|
+
n.fragment !== null && (Ln(n.after_update), Te(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
251
251
|
}
|
|
252
|
-
function
|
|
253
|
-
e.$$.dirty[0] === -1 && (
|
|
252
|
+
function kn(e, t) {
|
|
253
|
+
e.$$.dirty[0] === -1 && (le.push(e), Mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
254
254
|
}
|
|
255
|
-
function
|
|
256
|
-
const c =
|
|
257
|
-
|
|
258
|
-
const
|
|
255
|
+
function In(e, t, n, r, i, s, u = null, l = [-1]) {
|
|
256
|
+
const c = Ee;
|
|
257
|
+
xe(e);
|
|
258
|
+
const o = e.$$ = {
|
|
259
259
|
fragment: null,
|
|
260
260
|
ctx: [],
|
|
261
261
|
// state
|
|
262
262
|
props: s,
|
|
263
|
-
update:
|
|
263
|
+
update: Z,
|
|
264
264
|
not_equal: i,
|
|
265
|
-
bound:
|
|
265
|
+
bound: ft(),
|
|
266
266
|
// lifecycle
|
|
267
267
|
on_mount: [],
|
|
268
268
|
on_destroy: [],
|
|
@@ -271,28 +271,28 @@ function Ln(e, t, n, r, i, s, l = null, u = [-1]) {
|
|
|
271
271
|
after_update: [],
|
|
272
272
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
273
273
|
// everything else
|
|
274
|
-
callbacks:
|
|
275
|
-
dirty:
|
|
274
|
+
callbacks: ft(),
|
|
275
|
+
dirty: l,
|
|
276
276
|
skip_bound: !1,
|
|
277
277
|
root: t.target || c.$$.root
|
|
278
278
|
};
|
|
279
|
-
|
|
280
|
-
let
|
|
281
|
-
if (
|
|
282
|
-
const
|
|
283
|
-
return
|
|
284
|
-
}) : [],
|
|
279
|
+
u && u(o.root);
|
|
280
|
+
let a = !1;
|
|
281
|
+
if (o.ctx = n ? n(e, t.props || {}, (h, f, ...m) => {
|
|
282
|
+
const y = m.length ? m[0] : f;
|
|
283
|
+
return o.ctx && i(o.ctx[h], o.ctx[h] = y) && (!o.skip_bound && o.bound[h] && o.bound[h](y), a && kn(e, h)), f;
|
|
284
|
+
}) : [], o.update(), a = !0, Te(o.before_update), o.fragment = r ? r(o.ctx) : !1, t.target) {
|
|
285
285
|
if (t.hydrate) {
|
|
286
|
-
const h =
|
|
287
|
-
|
|
286
|
+
const h = Tn(t.target);
|
|
287
|
+
o.fragment && o.fragment.l(h), h.forEach(V);
|
|
288
288
|
} else
|
|
289
|
-
|
|
290
|
-
t.intro &&
|
|
289
|
+
o.fragment && o.fragment.c();
|
|
290
|
+
t.intro && On(e.$$.fragment), Pn(e, t.target, t.anchor), O();
|
|
291
291
|
}
|
|
292
|
-
|
|
292
|
+
xe(c);
|
|
293
293
|
}
|
|
294
|
-
let
|
|
295
|
-
typeof HTMLElement == "function" && (
|
|
294
|
+
let zt;
|
|
295
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
296
296
|
/** The Svelte component constructor */
|
|
297
297
|
$$ctor;
|
|
298
298
|
/** Slots */
|
|
@@ -340,8 +340,8 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
340
340
|
* @param {HTMLElement} target
|
|
341
341
|
* @param {HTMLElement} [anchor]
|
|
342
342
|
*/
|
|
343
|
-
m: function(c,
|
|
344
|
-
|
|
343
|
+
m: function(c, o) {
|
|
344
|
+
z(c, s, o);
|
|
345
345
|
},
|
|
346
346
|
d: function(c) {
|
|
347
347
|
c && V(s);
|
|
@@ -351,12 +351,12 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
351
351
|
};
|
|
352
352
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
353
353
|
return;
|
|
354
|
-
const t = {}, n =
|
|
354
|
+
const t = {}, n = wn(this);
|
|
355
355
|
for (const i of this.$$s)
|
|
356
356
|
i in n && (t[i] = [e(i)]);
|
|
357
357
|
for (const i of this.attributes) {
|
|
358
358
|
const s = this.$$g_p(i.name);
|
|
359
|
-
s in this.$$d || (this.$$d[s] =
|
|
359
|
+
s in this.$$d || (this.$$d[s] = He(s, i.value, this.$$p_d, "toProp"));
|
|
360
360
|
}
|
|
361
361
|
for (const i in this.$$p_d)
|
|
362
362
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
374
374
|
this.$$r = !0;
|
|
375
375
|
for (const i in this.$$p_d)
|
|
376
376
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
377
|
-
const s =
|
|
377
|
+
const s = He(
|
|
378
378
|
i,
|
|
379
379
|
this.$$d[i],
|
|
380
380
|
this.$$p_d,
|
|
@@ -387,8 +387,8 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
387
387
|
this.$$c.$$.after_update.push(r), r();
|
|
388
388
|
for (const i in this.$$l)
|
|
389
389
|
for (const s of this.$$l[i]) {
|
|
390
|
-
const
|
|
391
|
-
this.$$l_u.set(s,
|
|
390
|
+
const u = this.$$c.$on(i, s);
|
|
391
|
+
this.$$l_u.set(s, u);
|
|
392
392
|
}
|
|
393
393
|
this.$$l = {};
|
|
394
394
|
}
|
|
@@ -396,7 +396,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
396
396
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
397
397
|
// and setting attributes through setAttribute etc, this is helpful
|
|
398
398
|
attributeChangedCallback(e, t, n) {
|
|
399
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
399
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = He(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
400
400
|
}
|
|
401
401
|
disconnectedCallback() {
|
|
402
402
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -409,7 +409,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
409
409
|
) || e;
|
|
410
410
|
}
|
|
411
411
|
});
|
|
412
|
-
function
|
|
412
|
+
function He(e, t, n, r) {
|
|
413
413
|
const i = n[e]?.type;
|
|
414
414
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
415
415
|
return t;
|
|
@@ -438,36 +438,36 @@ function we(e, t, n, r) {
|
|
|
438
438
|
return t;
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
function
|
|
442
|
-
let
|
|
441
|
+
function $n(e, t, n, r, i, s) {
|
|
442
|
+
let u = class extends zt {
|
|
443
443
|
constructor() {
|
|
444
444
|
super(e, n, i), this.$$p_d = t;
|
|
445
445
|
}
|
|
446
446
|
static get observedAttributes() {
|
|
447
447
|
return Object.keys(t).map(
|
|
448
|
-
(
|
|
448
|
+
(l) => (t[l].attribute || l).toLowerCase()
|
|
449
449
|
);
|
|
450
450
|
}
|
|
451
451
|
};
|
|
452
|
-
return Object.keys(t).forEach((
|
|
453
|
-
Object.defineProperty(
|
|
452
|
+
return Object.keys(t).forEach((l) => {
|
|
453
|
+
Object.defineProperty(u.prototype, l, {
|
|
454
454
|
get() {
|
|
455
|
-
return this.$$c &&
|
|
455
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
456
456
|
},
|
|
457
457
|
set(c) {
|
|
458
|
-
c =
|
|
458
|
+
c = He(l, c, t), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
|
|
459
459
|
}
|
|
460
460
|
});
|
|
461
|
-
}), r.forEach((
|
|
462
|
-
Object.defineProperty(
|
|
461
|
+
}), r.forEach((l) => {
|
|
462
|
+
Object.defineProperty(u.prototype, l, {
|
|
463
463
|
get() {
|
|
464
|
-
return this.$$c?.[
|
|
464
|
+
return this.$$c?.[l];
|
|
465
465
|
}
|
|
466
466
|
});
|
|
467
467
|
}), e.element = /** @type {any} */
|
|
468
|
-
|
|
468
|
+
u, u;
|
|
469
469
|
}
|
|
470
|
-
class
|
|
470
|
+
class Un {
|
|
471
471
|
/**
|
|
472
472
|
* ### PRIVATE API
|
|
473
473
|
*
|
|
@@ -486,7 +486,7 @@ class On {
|
|
|
486
486
|
$$set = void 0;
|
|
487
487
|
/** @returns {void} */
|
|
488
488
|
$destroy() {
|
|
489
|
-
|
|
489
|
+
Nn(this, 1), this.$destroy = Z;
|
|
490
490
|
}
|
|
491
491
|
/**
|
|
492
492
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -495,8 +495,8 @@ class On {
|
|
|
495
495
|
* @returns {() => void}
|
|
496
496
|
*/
|
|
497
497
|
$on(t, n) {
|
|
498
|
-
if (!
|
|
499
|
-
return
|
|
498
|
+
if (!at(n))
|
|
499
|
+
return Z;
|
|
500
500
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
501
501
|
return r.push(n), () => {
|
|
502
502
|
const i = r.indexOf(n);
|
|
@@ -508,176 +508,176 @@ class On {
|
|
|
508
508
|
* @returns {void}
|
|
509
509
|
*/
|
|
510
510
|
$set(t) {
|
|
511
|
-
this.$$set && !
|
|
511
|
+
this.$$set && !gn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
const
|
|
515
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
516
|
-
const
|
|
517
|
-
function
|
|
514
|
+
const Dn = "4";
|
|
515
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dn);
|
|
516
|
+
const oe = [];
|
|
517
|
+
function Gn(e, t) {
|
|
518
518
|
return {
|
|
519
|
-
subscribe:
|
|
519
|
+
subscribe: Ne(e, t).subscribe
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Ne(e, t = Z) {
|
|
523
523
|
let n;
|
|
524
524
|
const r = /* @__PURE__ */ new Set();
|
|
525
|
-
function i(
|
|
526
|
-
if (
|
|
527
|
-
const c = !
|
|
528
|
-
for (const
|
|
529
|
-
|
|
525
|
+
function i(l) {
|
|
526
|
+
if (jt(e, l) && (e = l, n)) {
|
|
527
|
+
const c = !oe.length;
|
|
528
|
+
for (const o of r)
|
|
529
|
+
o[1](), oe.push(o, e);
|
|
530
530
|
if (c) {
|
|
531
|
-
for (let
|
|
532
|
-
|
|
533
|
-
|
|
531
|
+
for (let o = 0; o < oe.length; o += 2)
|
|
532
|
+
oe[o][0](oe[o + 1]);
|
|
533
|
+
oe.length = 0;
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
|
-
function s(
|
|
538
|
-
i(
|
|
537
|
+
function s(l) {
|
|
538
|
+
i(l(e));
|
|
539
539
|
}
|
|
540
|
-
function l
|
|
541
|
-
const
|
|
542
|
-
return r.add(
|
|
543
|
-
r.delete(
|
|
540
|
+
function u(l, c = Z) {
|
|
541
|
+
const o = [l, c];
|
|
542
|
+
return r.add(o), r.size === 1 && (n = t(i, s) || Z), l(e), () => {
|
|
543
|
+
r.delete(o), r.size === 0 && n && (n(), n = null);
|
|
544
544
|
};
|
|
545
545
|
}
|
|
546
|
-
return { set: i, update: s, subscribe:
|
|
546
|
+
return { set: i, update: s, subscribe: u };
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function de(e, t, n) {
|
|
549
549
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
550
550
|
if (!i.every(Boolean))
|
|
551
551
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
552
552
|
const s = t.length < 2;
|
|
553
|
-
return
|
|
553
|
+
return Gn(n, (u, l) => {
|
|
554
554
|
let c = !1;
|
|
555
|
-
const
|
|
556
|
-
let
|
|
555
|
+
const o = [];
|
|
556
|
+
let a = 0, h = Z;
|
|
557
557
|
const f = () => {
|
|
558
|
-
if (
|
|
558
|
+
if (a)
|
|
559
559
|
return;
|
|
560
560
|
h();
|
|
561
|
-
const
|
|
562
|
-
s ?
|
|
561
|
+
const y = t(r ? o[0] : o, u, l);
|
|
562
|
+
s ? u(y) : h = at(y) ? y : Z;
|
|
563
563
|
}, m = i.map(
|
|
564
|
-
(
|
|
565
|
-
|
|
566
|
-
(
|
|
567
|
-
|
|
564
|
+
(y, E) => Vt(
|
|
565
|
+
y,
|
|
566
|
+
(w) => {
|
|
567
|
+
o[E] = w, a &= ~(1 << E), c && f();
|
|
568
568
|
},
|
|
569
569
|
() => {
|
|
570
|
-
|
|
570
|
+
a |= 1 << E;
|
|
571
571
|
}
|
|
572
572
|
)
|
|
573
573
|
);
|
|
574
574
|
return c = !0, f(), function() {
|
|
575
|
-
|
|
575
|
+
Te(m), h(), c = !1;
|
|
576
576
|
};
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function Fn(e) {
|
|
580
580
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
581
581
|
}
|
|
582
|
-
var
|
|
583
|
-
return
|
|
582
|
+
var jn = function(t) {
|
|
583
|
+
return Vn(t) && !zn(t);
|
|
584
584
|
};
|
|
585
|
-
function
|
|
585
|
+
function Vn(e) {
|
|
586
586
|
return !!e && typeof e == "object";
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function zn(e) {
|
|
589
589
|
var t = Object.prototype.toString.call(e);
|
|
590
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
590
|
+
return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
|
|
591
591
|
}
|
|
592
|
-
var
|
|
593
|
-
function
|
|
594
|
-
return e.$$typeof ===
|
|
592
|
+
var Zn = typeof Symbol == "function" && Symbol.for, Xn = Zn ? Symbol.for("react.element") : 60103;
|
|
593
|
+
function Wn(e) {
|
|
594
|
+
return e.$$typeof === Xn;
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function qn(e) {
|
|
597
597
|
return Array.isArray(e) ? [] : {};
|
|
598
598
|
}
|
|
599
|
-
function
|
|
600
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
599
|
+
function Ce(e, t) {
|
|
600
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? he(qn(e), e, t) : e;
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function Qn(e, t, n) {
|
|
603
603
|
return e.concat(t).map(function(r) {
|
|
604
|
-
return
|
|
604
|
+
return Ce(r, n);
|
|
605
605
|
});
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function Jn(e, t) {
|
|
608
608
|
if (!t.customMerge)
|
|
609
|
-
return
|
|
609
|
+
return he;
|
|
610
610
|
var n = t.customMerge(e);
|
|
611
|
-
return typeof n == "function" ? n :
|
|
611
|
+
return typeof n == "function" ? n : he;
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function Yn(e) {
|
|
614
614
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
615
615
|
return Object.propertyIsEnumerable.call(e, t);
|
|
616
616
|
}) : [];
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
return Object.keys(e).concat(
|
|
618
|
+
function pt(e) {
|
|
619
|
+
return Object.keys(e).concat(Yn(e));
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function Zt(e, t) {
|
|
622
622
|
try {
|
|
623
623
|
return t in e;
|
|
624
624
|
} catch {
|
|
625
625
|
return !1;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
return
|
|
628
|
+
function Kn(e, t) {
|
|
629
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function er(e, t, n) {
|
|
632
632
|
var r = {};
|
|
633
|
-
return n.isMergeableObject(e) &&
|
|
634
|
-
r[i] =
|
|
635
|
-
}),
|
|
636
|
-
|
|
633
|
+
return n.isMergeableObject(e) && pt(e).forEach(function(i) {
|
|
634
|
+
r[i] = Ce(e[i], n);
|
|
635
|
+
}), pt(t).forEach(function(i) {
|
|
636
|
+
Kn(e, i) || (Zt(e, i) && n.isMergeableObject(t[i]) ? r[i] = Jn(i, n)(e[i], t[i], n) : r[i] = Ce(t[i], n));
|
|
637
637
|
}), r;
|
|
638
638
|
}
|
|
639
|
-
function
|
|
640
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
639
|
+
function he(e, t, n) {
|
|
640
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Qn, n.isMergeableObject = n.isMergeableObject || jn, n.cloneUnlessOtherwiseSpecified = Ce;
|
|
641
641
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
642
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
642
|
+
return s ? r ? n.arrayMerge(e, t, n) : er(e, t, n) : Ce(t, n);
|
|
643
643
|
}
|
|
644
|
-
|
|
644
|
+
he.all = function(t, n) {
|
|
645
645
|
if (!Array.isArray(t))
|
|
646
646
|
throw new Error("first argument should be an array");
|
|
647
647
|
return t.reduce(function(r, i) {
|
|
648
|
-
return
|
|
648
|
+
return he(r, i, n);
|
|
649
649
|
}, {});
|
|
650
650
|
};
|
|
651
|
-
var
|
|
652
|
-
const
|
|
653
|
-
var
|
|
654
|
-
return
|
|
651
|
+
var tr = he, nr = tr;
|
|
652
|
+
const rr = /* @__PURE__ */ Fn(nr);
|
|
653
|
+
var Je = function(e, t) {
|
|
654
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
655
655
|
n.__proto__ = r;
|
|
656
656
|
} || function(n, r) {
|
|
657
657
|
for (var i in r)
|
|
658
658
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
659
|
-
},
|
|
659
|
+
}, Je(e, t);
|
|
660
660
|
};
|
|
661
|
-
function
|
|
661
|
+
function ke(e, t) {
|
|
662
662
|
if (typeof t != "function" && t !== null)
|
|
663
663
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
664
|
-
|
|
664
|
+
Je(e, t);
|
|
665
665
|
function n() {
|
|
666
666
|
this.constructor = e;
|
|
667
667
|
}
|
|
668
668
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
669
669
|
}
|
|
670
|
-
var
|
|
671
|
-
return
|
|
670
|
+
var Q = function() {
|
|
671
|
+
return Q = Object.assign || function(t) {
|
|
672
672
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
673
673
|
n = arguments[r];
|
|
674
674
|
for (var s in n)
|
|
675
675
|
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
676
676
|
}
|
|
677
677
|
return t;
|
|
678
|
-
},
|
|
678
|
+
}, Q.apply(this, arguments);
|
|
679
679
|
};
|
|
680
|
-
function
|
|
680
|
+
function ir(e, t) {
|
|
681
681
|
var n = {};
|
|
682
682
|
for (var r in e)
|
|
683
683
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -686,43 +686,43 @@ function Yn(e, t) {
|
|
|
686
686
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
687
687
|
return n;
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function Fe(e, t, n) {
|
|
690
690
|
if (n || arguments.length === 2)
|
|
691
691
|
for (var r = 0, i = t.length, s; r < i; r++)
|
|
692
692
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
693
693
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
694
694
|
}
|
|
695
|
-
function
|
|
696
|
-
var n = t && t.cache ? t.cache :
|
|
695
|
+
function je(e, t) {
|
|
696
|
+
var n = t && t.cache ? t.cache : cr, r = t && t.serializer ? t.serializer : ur, i = t && t.strategy ? t.strategy : or;
|
|
697
697
|
return i(e, {
|
|
698
698
|
cache: n,
|
|
699
699
|
serializer: r
|
|
700
700
|
});
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function sr(e) {
|
|
703
703
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
704
704
|
}
|
|
705
|
-
function
|
|
706
|
-
var i =
|
|
705
|
+
function ar(e, t, n, r) {
|
|
706
|
+
var i = sr(r) ? r : n(r), s = t.get(i);
|
|
707
707
|
return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Xt(e, t, n) {
|
|
710
710
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
711
711
|
return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function Wt(e, t, n, r, i) {
|
|
714
714
|
return n.bind(t, e, r, i);
|
|
715
715
|
}
|
|
716
|
-
function
|
|
717
|
-
var n = e.length === 1 ?
|
|
718
|
-
return
|
|
716
|
+
function or(e, t) {
|
|
717
|
+
var n = e.length === 1 ? ar : Xt;
|
|
718
|
+
return Wt(e, this, n, t.cache.create(), t.serializer);
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
return
|
|
720
|
+
function lr(e, t) {
|
|
721
|
+
return Wt(e, this, Xt, t.cache.create(), t.serializer);
|
|
722
722
|
}
|
|
723
|
-
var
|
|
723
|
+
var ur = function() {
|
|
724
724
|
return JSON.stringify(arguments);
|
|
725
|
-
},
|
|
725
|
+
}, hr = (
|
|
726
726
|
/** @class */
|
|
727
727
|
function() {
|
|
728
728
|
function e() {
|
|
@@ -734,71 +734,71 @@ var rr = function() {
|
|
|
734
734
|
this.cache[t] = n;
|
|
735
735
|
}, e;
|
|
736
736
|
}()
|
|
737
|
-
),
|
|
737
|
+
), cr = {
|
|
738
738
|
create: function() {
|
|
739
|
-
return new
|
|
739
|
+
return new hr();
|
|
740
740
|
}
|
|
741
|
-
},
|
|
742
|
-
variadic:
|
|
743
|
-
},
|
|
744
|
-
return
|
|
741
|
+
}, Ve = {
|
|
742
|
+
variadic: lr
|
|
743
|
+
}, Ae = function() {
|
|
744
|
+
return Ae = Object.assign || function(t) {
|
|
745
745
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
746
746
|
n = arguments[r];
|
|
747
747
|
for (var s in n)
|
|
748
748
|
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
749
749
|
}
|
|
750
750
|
return t;
|
|
751
|
-
},
|
|
751
|
+
}, Ae.apply(this, arguments);
|
|
752
752
|
};
|
|
753
|
-
var
|
|
753
|
+
var v;
|
|
754
754
|
(function(e) {
|
|
755
755
|
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";
|
|
756
|
-
})(
|
|
756
|
+
})(v || (v = {}));
|
|
757
757
|
var _;
|
|
758
758
|
(function(e) {
|
|
759
759
|
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";
|
|
760
760
|
})(_ || (_ = {}));
|
|
761
|
-
var
|
|
761
|
+
var ce;
|
|
762
762
|
(function(e) {
|
|
763
763
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
764
|
-
})(
|
|
765
|
-
function
|
|
764
|
+
})(ce || (ce = {}));
|
|
765
|
+
function bt(e) {
|
|
766
766
|
return e.type === _.literal;
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function fr(e) {
|
|
769
769
|
return e.type === _.argument;
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function qt(e) {
|
|
772
772
|
return e.type === _.number;
|
|
773
773
|
}
|
|
774
|
-
function
|
|
774
|
+
function Qt(e) {
|
|
775
775
|
return e.type === _.date;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function Jt(e) {
|
|
778
778
|
return e.type === _.time;
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function Yt(e) {
|
|
781
781
|
return e.type === _.select;
|
|
782
782
|
}
|
|
783
|
-
function
|
|
783
|
+
function Kt(e) {
|
|
784
784
|
return e.type === _.plural;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function mr(e) {
|
|
787
787
|
return e.type === _.pound;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function en(e) {
|
|
790
790
|
return e.type === _.tag;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
793
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
792
|
+
function tn(e) {
|
|
793
|
+
return !!(e && typeof e == "object" && e.type === ce.number);
|
|
794
794
|
}
|
|
795
|
-
function
|
|
796
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
795
|
+
function Ye(e) {
|
|
796
|
+
return !!(e && typeof e == "object" && e.type === ce.dateTime);
|
|
797
797
|
}
|
|
798
|
-
var
|
|
799
|
-
function
|
|
798
|
+
var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dr = /(?:[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;
|
|
799
|
+
function pr(e) {
|
|
800
800
|
var t = {};
|
|
801
|
-
return e.replace(
|
|
801
|
+
return e.replace(dr, function(n) {
|
|
802
802
|
var r = n.length;
|
|
803
803
|
switch (n[0]) {
|
|
804
804
|
case "G":
|
|
@@ -887,46 +887,46 @@ function lr(e) {
|
|
|
887
887
|
return "";
|
|
888
888
|
}), t;
|
|
889
889
|
}
|
|
890
|
-
var
|
|
891
|
-
return
|
|
890
|
+
var S = function() {
|
|
891
|
+
return S = Object.assign || function(t) {
|
|
892
892
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
893
893
|
n = arguments[r];
|
|
894
894
|
for (var s in n)
|
|
895
895
|
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
896
896
|
}
|
|
897
897
|
return t;
|
|
898
|
-
},
|
|
898
|
+
}, S.apply(this, arguments);
|
|
899
899
|
};
|
|
900
|
-
var
|
|
901
|
-
function
|
|
900
|
+
var br = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
901
|
+
function gr(e) {
|
|
902
902
|
if (e.length === 0)
|
|
903
903
|
throw new Error("Number skeleton cannot be empty");
|
|
904
|
-
for (var t = e.split(
|
|
904
|
+
for (var t = e.split(br).filter(function(f) {
|
|
905
905
|
return f.length > 0;
|
|
906
906
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
907
|
-
var s = i[r],
|
|
908
|
-
if (
|
|
907
|
+
var s = i[r], u = s.split("/");
|
|
908
|
+
if (u.length === 0)
|
|
909
909
|
throw new Error("Invalid number skeleton");
|
|
910
|
-
for (var
|
|
911
|
-
var h = o
|
|
910
|
+
for (var l = u[0], c = u.slice(1), o = 0, a = c; o < a.length; o++) {
|
|
911
|
+
var h = a[o];
|
|
912
912
|
if (h.length === 0)
|
|
913
913
|
throw new Error("Invalid number skeleton");
|
|
914
914
|
}
|
|
915
|
-
n.push({ stem:
|
|
915
|
+
n.push({ stem: l, options: c });
|
|
916
916
|
}
|
|
917
917
|
return n;
|
|
918
918
|
}
|
|
919
|
-
function
|
|
919
|
+
function yr(e) {
|
|
920
920
|
return e.replace(/^(.*?)-/, "");
|
|
921
921
|
}
|
|
922
|
-
var
|
|
923
|
-
function
|
|
922
|
+
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rn = /^(@+)?(\+|#+)?[rs]?$/g, vr = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
|
|
923
|
+
function yt(e) {
|
|
924
924
|
var t = {};
|
|
925
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
925
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rn, function(n, r, i) {
|
|
926
926
|
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)), "";
|
|
927
927
|
}), t;
|
|
928
928
|
}
|
|
929
|
-
function
|
|
929
|
+
function an(e) {
|
|
930
930
|
switch (e) {
|
|
931
931
|
case "sign-auto":
|
|
932
932
|
return {
|
|
@@ -966,7 +966,7 @@ function Kt(e) {
|
|
|
966
966
|
};
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
|
-
function
|
|
969
|
+
function xr(e) {
|
|
970
970
|
var t;
|
|
971
971
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
972
972
|
notation: "engineering"
|
|
@@ -974,17 +974,17 @@ function dr(e) {
|
|
|
974
974
|
notation: "scientific"
|
|
975
975
|
}, e = e.slice(1)), t) {
|
|
976
976
|
var n = e.slice(0, 2);
|
|
977
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
977
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sn.test(e))
|
|
978
978
|
throw new Error("Malformed concise eng/scientific notation");
|
|
979
979
|
t.minimumIntegerDigits = e.length;
|
|
980
980
|
}
|
|
981
981
|
return t;
|
|
982
982
|
}
|
|
983
|
-
function
|
|
984
|
-
var t = {}, n =
|
|
983
|
+
function vt(e) {
|
|
984
|
+
var t = {}, n = an(e);
|
|
985
985
|
return n || t;
|
|
986
986
|
}
|
|
987
|
-
function
|
|
987
|
+
function Er(e) {
|
|
988
988
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
989
989
|
var i = r[n];
|
|
990
990
|
switch (i.stem) {
|
|
@@ -1008,7 +1008,7 @@ function pr(e) {
|
|
|
1008
1008
|
continue;
|
|
1009
1009
|
case "measure-unit":
|
|
1010
1010
|
case "unit":
|
|
1011
|
-
t.style = "unit", t.unit =
|
|
1011
|
+
t.style = "unit", t.unit = yr(i.options[0]);
|
|
1012
1012
|
continue;
|
|
1013
1013
|
case "compact-short":
|
|
1014
1014
|
case "K":
|
|
@@ -1019,13 +1019,13 @@ function pr(e) {
|
|
|
1019
1019
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1020
1020
|
continue;
|
|
1021
1021
|
case "scientific":
|
|
1022
|
-
t =
|
|
1023
|
-
return
|
|
1022
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(c, o) {
|
|
1023
|
+
return S(S({}, c), vt(o));
|
|
1024
1024
|
}, {}));
|
|
1025
1025
|
continue;
|
|
1026
1026
|
case "engineering":
|
|
1027
|
-
t =
|
|
1028
|
-
return
|
|
1027
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(c, o) {
|
|
1028
|
+
return S(S({}, c), vt(o));
|
|
1029
1029
|
}, {}));
|
|
1030
1030
|
continue;
|
|
1031
1031
|
case "notation-simple":
|
|
@@ -1070,9 +1070,9 @@ function pr(e) {
|
|
|
1070
1070
|
case "integer-width":
|
|
1071
1071
|
if (i.options.length > 1)
|
|
1072
1072
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1073
|
-
i.options[0].replace(
|
|
1074
|
-
if (
|
|
1075
|
-
t.minimumIntegerDigits =
|
|
1073
|
+
i.options[0].replace(vr, function(c, o, a, h, f, m) {
|
|
1074
|
+
if (o)
|
|
1075
|
+
t.minimumIntegerDigits = a.length;
|
|
1076
1076
|
else {
|
|
1077
1077
|
if (h && f)
|
|
1078
1078
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1083,32 +1083,32 @@ function pr(e) {
|
|
|
1083
1083
|
});
|
|
1084
1084
|
continue;
|
|
1085
1085
|
}
|
|
1086
|
-
if (
|
|
1086
|
+
if (sn.test(i.stem)) {
|
|
1087
1087
|
t.minimumIntegerDigits = i.stem.length;
|
|
1088
1088
|
continue;
|
|
1089
1089
|
}
|
|
1090
|
-
if (
|
|
1090
|
+
if (gt.test(i.stem)) {
|
|
1091
1091
|
if (i.options.length > 1)
|
|
1092
1092
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1093
|
-
i.stem.replace(
|
|
1094
|
-
return
|
|
1093
|
+
i.stem.replace(gt, function(c, o, a, h, f, m) {
|
|
1094
|
+
return a === "*" ? t.minimumFractionDigits = o.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
|
|
1095
1095
|
});
|
|
1096
1096
|
var s = i.options[0];
|
|
1097
|
-
s === "w" ? t =
|
|
1097
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), yt(s)));
|
|
1098
1098
|
continue;
|
|
1099
1099
|
}
|
|
1100
|
-
if (
|
|
1101
|
-
t =
|
|
1100
|
+
if (rn.test(i.stem)) {
|
|
1101
|
+
t = S(S({}, t), yt(i.stem));
|
|
1102
1102
|
continue;
|
|
1103
1103
|
}
|
|
1104
|
-
var
|
|
1105
|
-
|
|
1106
|
-
var
|
|
1107
|
-
|
|
1104
|
+
var u = an(i.stem);
|
|
1105
|
+
u && (t = S(S({}, t), u));
|
|
1106
|
+
var l = xr(i.stem);
|
|
1107
|
+
l && (t = S(S({}, t), l));
|
|
1108
1108
|
}
|
|
1109
1109
|
return t;
|
|
1110
1110
|
}
|
|
1111
|
-
var
|
|
1111
|
+
var Be = {
|
|
1112
1112
|
"001": [
|
|
1113
1113
|
"H",
|
|
1114
1114
|
"h"
|
|
@@ -2523,23 +2523,23 @@ var Te = {
|
|
|
2523
2523
|
"h"
|
|
2524
2524
|
]
|
|
2525
2525
|
};
|
|
2526
|
-
function
|
|
2526
|
+
function Cr(e, t) {
|
|
2527
2527
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2528
2528
|
var i = e.charAt(r);
|
|
2529
2529
|
if (i === "j") {
|
|
2530
2530
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2531
2531
|
s++, r++;
|
|
2532
|
-
var
|
|
2533
|
-
for ((
|
|
2532
|
+
var u = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), c = "a", o = _r(t);
|
|
2533
|
+
for ((o == "H" || o == "k") && (l = 0); l-- > 0; )
|
|
2534
2534
|
n += c;
|
|
2535
|
-
for (;
|
|
2536
|
-
n =
|
|
2535
|
+
for (; u-- > 0; )
|
|
2536
|
+
n = o + n;
|
|
2537
2537
|
} else
|
|
2538
2538
|
i === "J" ? n += "H" : n += i;
|
|
2539
2539
|
}
|
|
2540
2540
|
return n;
|
|
2541
2541
|
}
|
|
2542
|
-
function
|
|
2542
|
+
function _r(e) {
|
|
2543
2543
|
var t = e.hourCycle;
|
|
2544
2544
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2545
2545
|
e.hourCycles && // @ts-ignore
|
|
@@ -2558,23 +2558,23 @@ function gr(e) {
|
|
|
2558
2558
|
}
|
|
2559
2559
|
var n = e.language, r;
|
|
2560
2560
|
n !== "root" && (r = e.maximize().region);
|
|
2561
|
-
var i =
|
|
2561
|
+
var i = Be[r || ""] || Be[n || ""] || Be["".concat(n, "-001")] || Be["001"];
|
|
2562
2562
|
return i[0];
|
|
2563
2563
|
}
|
|
2564
|
-
var
|
|
2564
|
+
var ze, Tr = new RegExp("^".concat(nn.source, "*")), wr = new RegExp("".concat(nn.source, "*$"));
|
|
2565
2565
|
function x(e, t) {
|
|
2566
2566
|
return { start: e, end: t };
|
|
2567
2567
|
}
|
|
2568
|
-
var
|
|
2568
|
+
var Sr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Br = !!String.fromCodePoint, Hr = !!Object.fromEntries, Mr = !!String.prototype.codePointAt, Rr = !!String.prototype.trimStart, Lr = !!String.prototype.trimEnd, Ar = !!Number.isSafeInteger, Or = Ar ? Number.isSafeInteger : function(e) {
|
|
2569
2569
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2570
|
-
},
|
|
2570
|
+
}, Ke = !0;
|
|
2571
2571
|
try {
|
|
2572
|
-
var
|
|
2573
|
-
|
|
2572
|
+
var Pr = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2573
|
+
Ke = ((ze = Pr.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
2574
2574
|
} catch {
|
|
2575
|
-
|
|
2575
|
+
Ke = !1;
|
|
2576
2576
|
}
|
|
2577
|
-
var
|
|
2577
|
+
var xt = Sr ? (
|
|
2578
2578
|
// Native
|
|
2579
2579
|
function(t, n, r) {
|
|
2580
2580
|
return t.startsWith(n, r);
|
|
@@ -2584,31 +2584,31 @@ var bt = xr ? (
|
|
|
2584
2584
|
function(t, n, r) {
|
|
2585
2585
|
return t.slice(r, r + n.length) === n;
|
|
2586
2586
|
}
|
|
2587
|
-
),
|
|
2587
|
+
), et = Br ? String.fromCodePoint : (
|
|
2588
2588
|
// IE11
|
|
2589
2589
|
function() {
|
|
2590
2590
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2591
2591
|
t[n] = arguments[n];
|
|
2592
|
-
for (var r = "", i = t.length, s = 0,
|
|
2593
|
-
if (
|
|
2594
|
-
throw RangeError(
|
|
2595
|
-
r +=
|
|
2592
|
+
for (var r = "", i = t.length, s = 0, u; i > s; ) {
|
|
2593
|
+
if (u = t[s++], u > 1114111)
|
|
2594
|
+
throw RangeError(u + " is not a valid code point");
|
|
2595
|
+
r += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
|
|
2596
2596
|
}
|
|
2597
2597
|
return r;
|
|
2598
2598
|
}
|
|
2599
|
-
),
|
|
2599
|
+
), Et = (
|
|
2600
2600
|
// native
|
|
2601
|
-
|
|
2601
|
+
Hr ? Object.fromEntries : (
|
|
2602
2602
|
// Ponyfill
|
|
2603
2603
|
function(t) {
|
|
2604
2604
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2605
|
-
var s = i[r],
|
|
2606
|
-
n[
|
|
2605
|
+
var s = i[r], u = s[0], l = s[1];
|
|
2606
|
+
n[u] = l;
|
|
2607
2607
|
}
|
|
2608
2608
|
return n;
|
|
2609
2609
|
}
|
|
2610
2610
|
)
|
|
2611
|
-
),
|
|
2611
|
+
), on = Mr ? (
|
|
2612
2612
|
// Native
|
|
2613
2613
|
function(t, n) {
|
|
2614
2614
|
return t.codePointAt(n);
|
|
@@ -2622,7 +2622,7 @@ var bt = xr ? (
|
|
|
2622
2622
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
|
-
),
|
|
2625
|
+
), Nr = Rr ? (
|
|
2626
2626
|
// Native
|
|
2627
2627
|
function(t) {
|
|
2628
2628
|
return t.trimStart();
|
|
@@ -2630,9 +2630,9 @@ var bt = xr ? (
|
|
|
2630
2630
|
) : (
|
|
2631
2631
|
// Ponyfill
|
|
2632
2632
|
function(t) {
|
|
2633
|
-
return t.replace(
|
|
2633
|
+
return t.replace(Tr, "");
|
|
2634
2634
|
}
|
|
2635
|
-
),
|
|
2635
|
+
), kr = Lr ? (
|
|
2636
2636
|
// Native
|
|
2637
2637
|
function(t) {
|
|
2638
2638
|
return t.trimEnd();
|
|
@@ -2640,32 +2640,32 @@ var bt = xr ? (
|
|
|
2640
2640
|
) : (
|
|
2641
2641
|
// Ponyfill
|
|
2642
2642
|
function(t) {
|
|
2643
|
-
return t.replace(
|
|
2643
|
+
return t.replace(wr, "");
|
|
2644
2644
|
}
|
|
2645
2645
|
);
|
|
2646
|
-
function
|
|
2646
|
+
function ln(e, t) {
|
|
2647
2647
|
return new RegExp(e, t);
|
|
2648
2648
|
}
|
|
2649
|
-
var
|
|
2650
|
-
if (
|
|
2651
|
-
var
|
|
2652
|
-
|
|
2649
|
+
var tt;
|
|
2650
|
+
if (Ke) {
|
|
2651
|
+
var Ct = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2652
|
+
tt = function(t, n) {
|
|
2653
2653
|
var r;
|
|
2654
|
-
|
|
2655
|
-
var i =
|
|
2654
|
+
Ct.lastIndex = n;
|
|
2655
|
+
var i = Ct.exec(t);
|
|
2656
2656
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2657
2657
|
};
|
|
2658
2658
|
} else
|
|
2659
|
-
|
|
2659
|
+
tt = function(t, n) {
|
|
2660
2660
|
for (var r = []; ; ) {
|
|
2661
|
-
var i =
|
|
2662
|
-
if (i === void 0 ||
|
|
2661
|
+
var i = on(t, n);
|
|
2662
|
+
if (i === void 0 || un(i) || Dr(i))
|
|
2663
2663
|
break;
|
|
2664
2664
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2665
2665
|
}
|
|
2666
|
-
return
|
|
2666
|
+
return et.apply(void 0, r);
|
|
2667
2667
|
};
|
|
2668
|
-
var
|
|
2668
|
+
var Ir = (
|
|
2669
2669
|
/** @class */
|
|
2670
2670
|
function() {
|
|
2671
2671
|
function e(t, n) {
|
|
@@ -2679,33 +2679,33 @@ var Lr = (
|
|
|
2679
2679
|
for (var i = []; !this.isEOF(); ) {
|
|
2680
2680
|
var s = this.char();
|
|
2681
2681
|
if (s === 123) {
|
|
2682
|
-
var
|
|
2683
|
-
if (
|
|
2684
|
-
return
|
|
2685
|
-
i.push(
|
|
2682
|
+
var u = this.parseArgument(t, r);
|
|
2683
|
+
if (u.err)
|
|
2684
|
+
return u;
|
|
2685
|
+
i.push(u.val);
|
|
2686
2686
|
} else {
|
|
2687
2687
|
if (s === 125 && t > 0)
|
|
2688
2688
|
break;
|
|
2689
2689
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2690
|
-
var
|
|
2690
|
+
var l = this.clonePosition();
|
|
2691
2691
|
this.bump(), i.push({
|
|
2692
2692
|
type: _.pound,
|
|
2693
|
-
location: x(
|
|
2693
|
+
location: x(l, this.clonePosition())
|
|
2694
2694
|
});
|
|
2695
2695
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2696
2696
|
if (r)
|
|
2697
2697
|
break;
|
|
2698
|
-
return this.error(
|
|
2699
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2700
|
-
var
|
|
2701
|
-
if (
|
|
2702
|
-
return
|
|
2703
|
-
i.push(
|
|
2698
|
+
return this.error(v.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
2699
|
+
} else if (s === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
2700
|
+
var u = this.parseTag(t, n);
|
|
2701
|
+
if (u.err)
|
|
2702
|
+
return u;
|
|
2703
|
+
i.push(u.val);
|
|
2704
2704
|
} else {
|
|
2705
|
-
var
|
|
2706
|
-
if (
|
|
2707
|
-
return
|
|
2708
|
-
i.push(
|
|
2705
|
+
var u = this.parseLiteral(t, n);
|
|
2706
|
+
if (u.err)
|
|
2707
|
+
return u;
|
|
2708
|
+
i.push(u.val);
|
|
2709
2709
|
}
|
|
2710
2710
|
}
|
|
2711
2711
|
}
|
|
@@ -2727,27 +2727,27 @@ var Lr = (
|
|
|
2727
2727
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2728
2728
|
if (s.err)
|
|
2729
2729
|
return s;
|
|
2730
|
-
var
|
|
2730
|
+
var u = s.val, l = this.clonePosition();
|
|
2731
2731
|
if (this.bumpIf("</")) {
|
|
2732
|
-
if (this.isEOF() || !
|
|
2733
|
-
return this.error(
|
|
2734
|
-
var c = this.clonePosition(),
|
|
2735
|
-
return i !==
|
|
2732
|
+
if (this.isEOF() || !nt(this.char()))
|
|
2733
|
+
return this.error(v.INVALID_TAG, x(l, this.clonePosition()));
|
|
2734
|
+
var c = this.clonePosition(), o = this.parseTagName();
|
|
2735
|
+
return i !== o ? this.error(v.UNMATCHED_CLOSING_TAG, x(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2736
2736
|
val: {
|
|
2737
2737
|
type: _.tag,
|
|
2738
2738
|
value: i,
|
|
2739
|
-
children:
|
|
2739
|
+
children: u,
|
|
2740
2740
|
location: x(r, this.clonePosition())
|
|
2741
2741
|
},
|
|
2742
2742
|
err: null
|
|
2743
|
-
} : this.error(
|
|
2743
|
+
} : this.error(v.INVALID_TAG, x(l, this.clonePosition())));
|
|
2744
2744
|
} else
|
|
2745
|
-
return this.error(
|
|
2745
|
+
return this.error(v.UNCLOSED_TAG, x(r, this.clonePosition()));
|
|
2746
2746
|
} else
|
|
2747
|
-
return this.error(
|
|
2747
|
+
return this.error(v.INVALID_TAG, x(r, this.clonePosition()));
|
|
2748
2748
|
}, e.prototype.parseTagName = function() {
|
|
2749
2749
|
var t = this.offset();
|
|
2750
|
-
for (this.bump(); !this.isEOF() &&
|
|
2750
|
+
for (this.bump(); !this.isEOF() && Ur(this.char()); )
|
|
2751
2751
|
this.bump();
|
|
2752
2752
|
return this.message.slice(t, this.offset());
|
|
2753
2753
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2757,16 +2757,16 @@ var Lr = (
|
|
|
2757
2757
|
i += s;
|
|
2758
2758
|
continue;
|
|
2759
2759
|
}
|
|
2760
|
-
var
|
|
2761
|
-
if (l) {
|
|
2762
|
-
i += l;
|
|
2763
|
-
continue;
|
|
2764
|
-
}
|
|
2765
|
-
var u = this.tryParseLeftAngleBracket();
|
|
2760
|
+
var u = this.tryParseUnquoted(t, n);
|
|
2766
2761
|
if (u) {
|
|
2767
2762
|
i += u;
|
|
2768
2763
|
continue;
|
|
2769
2764
|
}
|
|
2765
|
+
var l = this.tryParseLeftAngleBracket();
|
|
2766
|
+
if (l) {
|
|
2767
|
+
i += l;
|
|
2768
|
+
continue;
|
|
2769
|
+
}
|
|
2770
2770
|
break;
|
|
2771
2771
|
}
|
|
2772
2772
|
var c = x(r, this.clonePosition());
|
|
@@ -2776,7 +2776,7 @@ var Lr = (
|
|
|
2776
2776
|
};
|
|
2777
2777
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2778
2778
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2779
|
-
|
|
2779
|
+
!$r(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2780
2780
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2781
2781
|
if (this.isEOF() || this.char() !== 39)
|
|
2782
2782
|
return null;
|
|
@@ -2810,23 +2810,23 @@ var Lr = (
|
|
|
2810
2810
|
n.push(r);
|
|
2811
2811
|
this.bump();
|
|
2812
2812
|
}
|
|
2813
|
-
return
|
|
2813
|
+
return et.apply(void 0, n);
|
|
2814
2814
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2815
2815
|
if (this.isEOF())
|
|
2816
2816
|
return null;
|
|
2817
2817
|
var r = this.char();
|
|
2818
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
2818
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), et(r));
|
|
2819
2819
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2820
2820
|
var r = this.clonePosition();
|
|
2821
2821
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2822
|
-
return this.error(
|
|
2822
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(r, this.clonePosition()));
|
|
2823
2823
|
if (this.char() === 125)
|
|
2824
|
-
return this.bump(), this.error(
|
|
2824
|
+
return this.bump(), this.error(v.EMPTY_ARGUMENT, x(r, this.clonePosition()));
|
|
2825
2825
|
var i = this.parseIdentifierIfPossible().value;
|
|
2826
2826
|
if (!i)
|
|
2827
|
-
return this.error(
|
|
2827
|
+
return this.error(v.MALFORMED_ARGUMENT, x(r, this.clonePosition()));
|
|
2828
2828
|
if (this.bumpSpace(), this.isEOF())
|
|
2829
|
-
return this.error(
|
|
2829
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(r, this.clonePosition()));
|
|
2830
2830
|
switch (this.char()) {
|
|
2831
2831
|
case 125:
|
|
2832
2832
|
return this.bump(), {
|
|
@@ -2839,71 +2839,71 @@ var Lr = (
|
|
|
2839
2839
|
err: null
|
|
2840
2840
|
};
|
|
2841
2841
|
case 44:
|
|
2842
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2842
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
2843
2843
|
default:
|
|
2844
|
-
return this.error(
|
|
2844
|
+
return this.error(v.MALFORMED_ARGUMENT, x(r, this.clonePosition()));
|
|
2845
2845
|
}
|
|
2846
2846
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2847
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
2847
|
+
var t = this.clonePosition(), n = this.offset(), r = tt(this.message, n), i = n + r.length;
|
|
2848
2848
|
this.bumpTo(i);
|
|
2849
|
-
var s = this.clonePosition(),
|
|
2850
|
-
return { value: r, location:
|
|
2849
|
+
var s = this.clonePosition(), u = x(t, s);
|
|
2850
|
+
return { value: r, location: u };
|
|
2851
2851
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2852
|
-
var s,
|
|
2853
|
-
switch (
|
|
2852
|
+
var s, u = this.clonePosition(), l = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
2853
|
+
switch (l) {
|
|
2854
2854
|
case "":
|
|
2855
|
-
return this.error(
|
|
2855
|
+
return this.error(v.EXPECT_ARGUMENT_TYPE, x(u, c));
|
|
2856
2856
|
case "number":
|
|
2857
2857
|
case "date":
|
|
2858
2858
|
case "time": {
|
|
2859
2859
|
this.bumpSpace();
|
|
2860
|
-
var
|
|
2860
|
+
var o = null;
|
|
2861
2861
|
if (this.bumpIf(",")) {
|
|
2862
2862
|
this.bumpSpace();
|
|
2863
|
-
var
|
|
2863
|
+
var a = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
2864
2864
|
if (h.err)
|
|
2865
2865
|
return h;
|
|
2866
|
-
var f =
|
|
2866
|
+
var f = kr(h.val);
|
|
2867
2867
|
if (f.length === 0)
|
|
2868
|
-
return this.error(
|
|
2869
|
-
var m = x(
|
|
2870
|
-
|
|
2868
|
+
return this.error(v.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
2869
|
+
var m = x(a, this.clonePosition());
|
|
2870
|
+
o = { style: f, styleLocation: m };
|
|
2871
2871
|
}
|
|
2872
|
-
var
|
|
2873
|
-
if (
|
|
2874
|
-
return
|
|
2872
|
+
var y = this.tryParseArgumentClose(i);
|
|
2873
|
+
if (y.err)
|
|
2874
|
+
return y;
|
|
2875
2875
|
var E = x(i, this.clonePosition());
|
|
2876
|
-
if (
|
|
2877
|
-
var
|
|
2878
|
-
if (
|
|
2879
|
-
var h = this.parseNumberSkeletonFromString(
|
|
2876
|
+
if (o && xt(o?.style, "::", 0)) {
|
|
2877
|
+
var w = Nr(o.style.slice(2));
|
|
2878
|
+
if (l === "number") {
|
|
2879
|
+
var h = this.parseNumberSkeletonFromString(w, o.styleLocation);
|
|
2880
2880
|
return h.err ? h : {
|
|
2881
2881
|
val: { type: _.number, value: r, location: E, style: h.val },
|
|
2882
2882
|
err: null
|
|
2883
2883
|
};
|
|
2884
2884
|
} else {
|
|
2885
|
-
if (
|
|
2886
|
-
return this.error(
|
|
2887
|
-
var
|
|
2888
|
-
this.locale && (
|
|
2885
|
+
if (w.length === 0)
|
|
2886
|
+
return this.error(v.EXPECT_DATE_TIME_SKELETON, E);
|
|
2887
|
+
var T = w;
|
|
2888
|
+
this.locale && (T = Cr(w, this.locale));
|
|
2889
2889
|
var f = {
|
|
2890
|
-
type:
|
|
2891
|
-
pattern:
|
|
2892
|
-
location:
|
|
2893
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2894
|
-
},
|
|
2890
|
+
type: ce.dateTime,
|
|
2891
|
+
pattern: T,
|
|
2892
|
+
location: o.styleLocation,
|
|
2893
|
+
parsedOptions: this.shouldParseSkeletons ? pr(T) : {}
|
|
2894
|
+
}, M = l === "date" ? _.date : _.time;
|
|
2895
2895
|
return {
|
|
2896
|
-
val: { type:
|
|
2896
|
+
val: { type: M, value: r, location: E, style: f },
|
|
2897
2897
|
err: null
|
|
2898
2898
|
};
|
|
2899
2899
|
}
|
|
2900
2900
|
}
|
|
2901
2901
|
return {
|
|
2902
2902
|
val: {
|
|
2903
|
-
type:
|
|
2903
|
+
type: l === "number" ? _.number : l === "date" ? _.date : _.time,
|
|
2904
2904
|
value: r,
|
|
2905
2905
|
location: E,
|
|
2906
|
-
style: (s =
|
|
2906
|
+
style: (s = o?.style) !== null && s !== void 0 ? s : null
|
|
2907
2907
|
},
|
|
2908
2908
|
err: null
|
|
2909
2909
|
};
|
|
@@ -2911,32 +2911,32 @@ var Lr = (
|
|
|
2911
2911
|
case "plural":
|
|
2912
2912
|
case "selectordinal":
|
|
2913
2913
|
case "select": {
|
|
2914
|
-
var
|
|
2914
|
+
var B = this.clonePosition();
|
|
2915
2915
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2916
|
-
return this.error(
|
|
2916
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, x(B, Ae({}, B)));
|
|
2917
2917
|
this.bumpSpace();
|
|
2918
|
-
var
|
|
2919
|
-
if (
|
|
2918
|
+
var R = this.parseIdentifierIfPossible(), L = 0;
|
|
2919
|
+
if (l !== "select" && R.value === "offset") {
|
|
2920
2920
|
if (!this.bumpIf(":"))
|
|
2921
|
-
return this.error(
|
|
2921
|
+
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
2922
2922
|
this.bumpSpace();
|
|
2923
|
-
var h = this.tryParseDecimalInteger(
|
|
2923
|
+
var h = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2924
2924
|
if (h.err)
|
|
2925
2925
|
return h;
|
|
2926
|
-
this.bumpSpace(),
|
|
2926
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), L = h.val;
|
|
2927
2927
|
}
|
|
2928
|
-
var
|
|
2929
|
-
if (
|
|
2930
|
-
return
|
|
2931
|
-
var
|
|
2932
|
-
if (
|
|
2933
|
-
return
|
|
2928
|
+
var X = this.tryParsePluralOrSelectOptions(t, l, n, R);
|
|
2929
|
+
if (X.err)
|
|
2930
|
+
return X;
|
|
2931
|
+
var y = this.tryParseArgumentClose(i);
|
|
2932
|
+
if (y.err)
|
|
2933
|
+
return y;
|
|
2934
2934
|
var W = x(i, this.clonePosition());
|
|
2935
|
-
return
|
|
2935
|
+
return l === "select" ? {
|
|
2936
2936
|
val: {
|
|
2937
2937
|
type: _.select,
|
|
2938
2938
|
value: r,
|
|
2939
|
-
options:
|
|
2939
|
+
options: Et(X.val),
|
|
2940
2940
|
location: W
|
|
2941
2941
|
},
|
|
2942
2942
|
err: null
|
|
@@ -2944,19 +2944,19 @@ var Lr = (
|
|
|
2944
2944
|
val: {
|
|
2945
2945
|
type: _.plural,
|
|
2946
2946
|
value: r,
|
|
2947
|
-
options:
|
|
2948
|
-
offset:
|
|
2949
|
-
pluralType:
|
|
2947
|
+
options: Et(X.val),
|
|
2948
|
+
offset: L,
|
|
2949
|
+
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2950
2950
|
location: W
|
|
2951
2951
|
},
|
|
2952
2952
|
err: null
|
|
2953
2953
|
};
|
|
2954
2954
|
}
|
|
2955
2955
|
default:
|
|
2956
|
-
return this.error(
|
|
2956
|
+
return this.error(v.INVALID_ARGUMENT_TYPE, x(u, c));
|
|
2957
2957
|
}
|
|
2958
2958
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2959
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2959
|
+
return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2960
2960
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2961
2961
|
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
2962
2962
|
var r = this.char();
|
|
@@ -2965,7 +2965,7 @@ var Lr = (
|
|
|
2965
2965
|
this.bump();
|
|
2966
2966
|
var i = this.clonePosition();
|
|
2967
2967
|
if (!this.bumpUntil("'"))
|
|
2968
|
-
return this.error(
|
|
2968
|
+
return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
|
|
2969
2969
|
this.bump();
|
|
2970
2970
|
break;
|
|
2971
2971
|
}
|
|
@@ -2995,64 +2995,64 @@ var Lr = (
|
|
|
2995
2995
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
2996
2996
|
var r = [];
|
|
2997
2997
|
try {
|
|
2998
|
-
r =
|
|
2998
|
+
r = gr(t);
|
|
2999
2999
|
} catch {
|
|
3000
|
-
return this.error(
|
|
3000
|
+
return this.error(v.INVALID_NUMBER_SKELETON, n);
|
|
3001
3001
|
}
|
|
3002
3002
|
return {
|
|
3003
3003
|
val: {
|
|
3004
|
-
type:
|
|
3004
|
+
type: ce.number,
|
|
3005
3005
|
tokens: r,
|
|
3006
3006
|
location: n,
|
|
3007
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3007
|
+
parsedOptions: this.shouldParseSkeletons ? Er(r) : {}
|
|
3008
3008
|
},
|
|
3009
3009
|
err: null
|
|
3010
3010
|
};
|
|
3011
3011
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3012
|
-
for (var s,
|
|
3013
|
-
if (
|
|
3012
|
+
for (var s, u = !1, l = [], c = /* @__PURE__ */ new Set(), o = i.value, a = i.location; ; ) {
|
|
3013
|
+
if (o.length === 0) {
|
|
3014
3014
|
var h = this.clonePosition();
|
|
3015
3015
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3016
|
-
var f = this.tryParseDecimalInteger(
|
|
3016
|
+
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3017
3017
|
if (f.err)
|
|
3018
3018
|
return f;
|
|
3019
|
-
|
|
3019
|
+
a = x(h, this.clonePosition()), o = this.message.slice(h.offset, this.offset());
|
|
3020
3020
|
} else
|
|
3021
3021
|
break;
|
|
3022
3022
|
}
|
|
3023
|
-
if (c.has(
|
|
3024
|
-
return this.error(n === "select" ?
|
|
3025
|
-
|
|
3023
|
+
if (c.has(o))
|
|
3024
|
+
return this.error(n === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, a);
|
|
3025
|
+
o === "other" && (u = !0), this.bumpSpace();
|
|
3026
3026
|
var m = this.clonePosition();
|
|
3027
3027
|
if (!this.bumpIf("{"))
|
|
3028
|
-
return this.error(n === "select" ?
|
|
3029
|
-
var
|
|
3030
|
-
if (
|
|
3031
|
-
return
|
|
3028
|
+
return this.error(n === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
|
3029
|
+
var y = this.parseMessage(t + 1, n, r);
|
|
3030
|
+
if (y.err)
|
|
3031
|
+
return y;
|
|
3032
3032
|
var E = this.tryParseArgumentClose(m);
|
|
3033
3033
|
if (E.err)
|
|
3034
3034
|
return E;
|
|
3035
|
-
|
|
3036
|
-
|
|
3035
|
+
l.push([
|
|
3036
|
+
o,
|
|
3037
3037
|
{
|
|
3038
|
-
value:
|
|
3038
|
+
value: y.val,
|
|
3039
3039
|
location: x(m, this.clonePosition())
|
|
3040
3040
|
}
|
|
3041
|
-
]), c.add(
|
|
3041
|
+
]), c.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, a = s.location;
|
|
3042
3042
|
}
|
|
3043
|
-
return
|
|
3043
|
+
return l.length === 0 ? this.error(n === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(v.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3044
3044
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3045
3045
|
var r = 1, i = this.clonePosition();
|
|
3046
3046
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3047
|
-
for (var s = !1,
|
|
3048
|
-
var
|
|
3049
|
-
if (
|
|
3050
|
-
s = !0,
|
|
3047
|
+
for (var s = !1, u = 0; !this.isEOF(); ) {
|
|
3048
|
+
var l = this.char();
|
|
3049
|
+
if (l >= 48 && l <= 57)
|
|
3050
|
+
s = !0, u = u * 10 + (l - 48), this.bump();
|
|
3051
3051
|
else
|
|
3052
3052
|
break;
|
|
3053
3053
|
}
|
|
3054
3054
|
var c = x(i, this.clonePosition());
|
|
3055
|
-
return s ? (
|
|
3055
|
+
return s ? (u *= r, Or(u) ? { val: u, err: null } : this.error(n, c)) : this.error(t, c);
|
|
3056
3056
|
}, e.prototype.offset = function() {
|
|
3057
3057
|
return this.position.offset;
|
|
3058
3058
|
}, e.prototype.isEOF = function() {
|
|
@@ -3067,7 +3067,7 @@ var Lr = (
|
|
|
3067
3067
|
var t = this.position.offset;
|
|
3068
3068
|
if (t >= this.message.length)
|
|
3069
3069
|
throw Error("out of bound");
|
|
3070
|
-
var n =
|
|
3070
|
+
var n = on(this.message, t);
|
|
3071
3071
|
if (n === void 0)
|
|
3072
3072
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3073
3073
|
return n;
|
|
@@ -3086,7 +3086,7 @@ var Lr = (
|
|
|
3086
3086
|
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);
|
|
3087
3087
|
}
|
|
3088
3088
|
}, e.prototype.bumpIf = function(t) {
|
|
3089
|
-
if (
|
|
3089
|
+
if (xt(this.message, t, this.offset())) {
|
|
3090
3090
|
for (var n = 0; n < t.length; n++)
|
|
3091
3091
|
this.bump();
|
|
3092
3092
|
return !0;
|
|
@@ -3108,7 +3108,7 @@ var Lr = (
|
|
|
3108
3108
|
break;
|
|
3109
3109
|
}
|
|
3110
3110
|
}, e.prototype.bumpSpace = function() {
|
|
3111
|
-
for (; !this.isEOF() &&
|
|
3111
|
+
for (; !this.isEOF() && un(this.char()); )
|
|
3112
3112
|
this.bump();
|
|
3113
3113
|
}, e.prototype.peek = function() {
|
|
3114
3114
|
if (this.isEOF())
|
|
@@ -3118,47 +3118,47 @@ var Lr = (
|
|
|
3118
3118
|
}, e;
|
|
3119
3119
|
}()
|
|
3120
3120
|
);
|
|
3121
|
-
function
|
|
3121
|
+
function nt(e) {
|
|
3122
3122
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3123
3123
|
}
|
|
3124
|
-
function
|
|
3125
|
-
return
|
|
3124
|
+
function $r(e) {
|
|
3125
|
+
return nt(e) || e === 47;
|
|
3126
3126
|
}
|
|
3127
|
-
function
|
|
3127
|
+
function Ur(e) {
|
|
3128
3128
|
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;
|
|
3129
3129
|
}
|
|
3130
|
-
function
|
|
3130
|
+
function un(e) {
|
|
3131
3131
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3132
3132
|
}
|
|
3133
|
-
function
|
|
3133
|
+
function Dr(e) {
|
|
3134
3134
|
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;
|
|
3135
3135
|
}
|
|
3136
|
-
function
|
|
3136
|
+
function rt(e) {
|
|
3137
3137
|
e.forEach(function(t) {
|
|
3138
|
-
if (delete t.location,
|
|
3138
|
+
if (delete t.location, Yt(t) || Kt(t))
|
|
3139
3139
|
for (var n in t.options)
|
|
3140
|
-
delete t.options[n].location,
|
|
3140
|
+
delete t.options[n].location, rt(t.options[n].value);
|
|
3141
3141
|
else
|
|
3142
|
-
|
|
3142
|
+
qt(t) && tn(t.style) || (Qt(t) || Jt(t)) && Ye(t.style) ? delete t.style.location : en(t) && rt(t.children);
|
|
3143
3143
|
});
|
|
3144
3144
|
}
|
|
3145
|
-
function
|
|
3146
|
-
t === void 0 && (t = {}), t =
|
|
3147
|
-
var n = new
|
|
3145
|
+
function Gr(e, t) {
|
|
3146
|
+
t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3147
|
+
var n = new Ir(e, t).parse();
|
|
3148
3148
|
if (n.err) {
|
|
3149
|
-
var r = SyntaxError(
|
|
3149
|
+
var r = SyntaxError(v[n.err.kind]);
|
|
3150
3150
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3151
3151
|
}
|
|
3152
|
-
return t?.captureLocation ||
|
|
3152
|
+
return t?.captureLocation || rt(n.val), n.val;
|
|
3153
3153
|
}
|
|
3154
|
-
var
|
|
3154
|
+
var fe;
|
|
3155
3155
|
(function(e) {
|
|
3156
3156
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3157
|
-
})(
|
|
3158
|
-
var
|
|
3157
|
+
})(fe || (fe = {}));
|
|
3158
|
+
var Ie = (
|
|
3159
3159
|
/** @class */
|
|
3160
3160
|
function(e) {
|
|
3161
|
-
|
|
3161
|
+
ke(t, e);
|
|
3162
3162
|
function t(n, r, i) {
|
|
3163
3163
|
var s = e.call(this, n) || this;
|
|
3164
3164
|
return s.code = r, s.originalMessage = i, s;
|
|
@@ -3167,155 +3167,155 @@ var Pe = (
|
|
|
3167
3167
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3168
3168
|
}, t;
|
|
3169
3169
|
}(Error)
|
|
3170
|
-
),
|
|
3170
|
+
), _t = (
|
|
3171
3171
|
/** @class */
|
|
3172
3172
|
function(e) {
|
|
3173
|
-
|
|
3173
|
+
ke(t, e);
|
|
3174
3174
|
function t(n, r, i, s) {
|
|
3175
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3175
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, s) || this;
|
|
3176
3176
|
}
|
|
3177
3177
|
return t;
|
|
3178
|
-
}(
|
|
3179
|
-
),
|
|
3178
|
+
}(Ie)
|
|
3179
|
+
), Fr = (
|
|
3180
3180
|
/** @class */
|
|
3181
3181
|
function(e) {
|
|
3182
|
-
|
|
3182
|
+
ke(t, e);
|
|
3183
3183
|
function t(n, r, i) {
|
|
3184
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r),
|
|
3184
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), fe.INVALID_VALUE, i) || this;
|
|
3185
3185
|
}
|
|
3186
3186
|
return t;
|
|
3187
|
-
}(
|
|
3188
|
-
),
|
|
3187
|
+
}(Ie)
|
|
3188
|
+
), jr = (
|
|
3189
3189
|
/** @class */
|
|
3190
3190
|
function(e) {
|
|
3191
|
-
|
|
3191
|
+
ke(t, e);
|
|
3192
3192
|
function t(n, r) {
|
|
3193
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'),
|
|
3193
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), fe.MISSING_VALUE, r) || this;
|
|
3194
3194
|
}
|
|
3195
3195
|
return t;
|
|
3196
|
-
}(
|
|
3197
|
-
),
|
|
3196
|
+
}(Ie)
|
|
3197
|
+
), P;
|
|
3198
3198
|
(function(e) {
|
|
3199
3199
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3200
|
-
})(
|
|
3201
|
-
function
|
|
3200
|
+
})(P || (P = {}));
|
|
3201
|
+
function Vr(e) {
|
|
3202
3202
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3203
3203
|
var r = t[t.length - 1];
|
|
3204
|
-
return !r || r.type !==
|
|
3204
|
+
return !r || r.type !== P.literal || n.type !== P.literal ? t.push(n) : r.value += n.value, t;
|
|
3205
3205
|
}, []);
|
|
3206
3206
|
}
|
|
3207
|
-
function
|
|
3207
|
+
function zr(e) {
|
|
3208
3208
|
return typeof e == "function";
|
|
3209
3209
|
}
|
|
3210
|
-
function
|
|
3211
|
-
if (e.length === 1 &&
|
|
3210
|
+
function Me(e, t, n, r, i, s, u) {
|
|
3211
|
+
if (e.length === 1 && bt(e[0]))
|
|
3212
3212
|
return [
|
|
3213
3213
|
{
|
|
3214
|
-
type:
|
|
3214
|
+
type: P.literal,
|
|
3215
3215
|
value: e[0].value
|
|
3216
3216
|
}
|
|
3217
3217
|
];
|
|
3218
|
-
for (var
|
|
3219
|
-
var
|
|
3220
|
-
if (
|
|
3221
|
-
|
|
3222
|
-
type:
|
|
3223
|
-
value:
|
|
3218
|
+
for (var l = [], c = 0, o = e; c < o.length; c++) {
|
|
3219
|
+
var a = o[c];
|
|
3220
|
+
if (bt(a)) {
|
|
3221
|
+
l.push({
|
|
3222
|
+
type: P.literal,
|
|
3223
|
+
value: a.value
|
|
3224
3224
|
});
|
|
3225
3225
|
continue;
|
|
3226
3226
|
}
|
|
3227
|
-
if (
|
|
3228
|
-
typeof s == "number" &&
|
|
3229
|
-
type:
|
|
3227
|
+
if (mr(a)) {
|
|
3228
|
+
typeof s == "number" && l.push({
|
|
3229
|
+
type: P.literal,
|
|
3230
3230
|
value: n.getNumberFormat(t).format(s)
|
|
3231
3231
|
});
|
|
3232
3232
|
continue;
|
|
3233
3233
|
}
|
|
3234
|
-
var h =
|
|
3234
|
+
var h = a.value;
|
|
3235
3235
|
if (!(i && h in i))
|
|
3236
|
-
throw new
|
|
3236
|
+
throw new jr(h, u);
|
|
3237
3237
|
var f = i[h];
|
|
3238
|
-
if (
|
|
3239
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3240
|
-
type: typeof f == "string" ?
|
|
3238
|
+
if (fr(a)) {
|
|
3239
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), l.push({
|
|
3240
|
+
type: typeof f == "string" ? P.literal : P.object,
|
|
3241
3241
|
value: f
|
|
3242
3242
|
});
|
|
3243
3243
|
continue;
|
|
3244
3244
|
}
|
|
3245
|
-
if (
|
|
3246
|
-
var m = typeof
|
|
3247
|
-
|
|
3248
|
-
type:
|
|
3245
|
+
if (Qt(a)) {
|
|
3246
|
+
var m = typeof a.style == "string" ? r.date[a.style] : Ye(a.style) ? a.style.parsedOptions : void 0;
|
|
3247
|
+
l.push({
|
|
3248
|
+
type: P.literal,
|
|
3249
3249
|
value: n.getDateTimeFormat(t, m).format(f)
|
|
3250
3250
|
});
|
|
3251
3251
|
continue;
|
|
3252
3252
|
}
|
|
3253
|
-
if (
|
|
3254
|
-
var m = typeof
|
|
3255
|
-
|
|
3256
|
-
type:
|
|
3253
|
+
if (Jt(a)) {
|
|
3254
|
+
var m = typeof a.style == "string" ? r.time[a.style] : Ye(a.style) ? a.style.parsedOptions : r.time.medium;
|
|
3255
|
+
l.push({
|
|
3256
|
+
type: P.literal,
|
|
3257
3257
|
value: n.getDateTimeFormat(t, m).format(f)
|
|
3258
3258
|
});
|
|
3259
3259
|
continue;
|
|
3260
3260
|
}
|
|
3261
|
-
if (
|
|
3262
|
-
var m = typeof
|
|
3263
|
-
m && m.scale && (f = f * (m.scale || 1)),
|
|
3264
|
-
type:
|
|
3261
|
+
if (qt(a)) {
|
|
3262
|
+
var m = typeof a.style == "string" ? r.number[a.style] : tn(a.style) ? a.style.parsedOptions : void 0;
|
|
3263
|
+
m && m.scale && (f = f * (m.scale || 1)), l.push({
|
|
3264
|
+
type: P.literal,
|
|
3265
3265
|
value: n.getNumberFormat(t, m).format(f)
|
|
3266
3266
|
});
|
|
3267
3267
|
continue;
|
|
3268
3268
|
}
|
|
3269
|
-
if (
|
|
3270
|
-
var
|
|
3271
|
-
if (!
|
|
3272
|
-
throw new
|
|
3273
|
-
var
|
|
3274
|
-
return
|
|
3269
|
+
if (en(a)) {
|
|
3270
|
+
var y = a.children, E = a.value, w = i[E];
|
|
3271
|
+
if (!zr(w))
|
|
3272
|
+
throw new Fr(E, "function", u);
|
|
3273
|
+
var T = Me(y, t, n, r, i, s), M = w(T.map(function(L) {
|
|
3274
|
+
return L.value;
|
|
3275
3275
|
}));
|
|
3276
|
-
Array.isArray(
|
|
3276
|
+
Array.isArray(M) || (M = [M]), l.push.apply(l, M.map(function(L) {
|
|
3277
3277
|
return {
|
|
3278
|
-
type: typeof
|
|
3279
|
-
value:
|
|
3278
|
+
type: typeof L == "string" ? P.literal : P.object,
|
|
3279
|
+
value: L
|
|
3280
3280
|
};
|
|
3281
3281
|
}));
|
|
3282
3282
|
}
|
|
3283
|
-
if (
|
|
3284
|
-
var
|
|
3285
|
-
if (!
|
|
3286
|
-
throw new
|
|
3287
|
-
|
|
3283
|
+
if (Yt(a)) {
|
|
3284
|
+
var B = a.options[f] || a.options.other;
|
|
3285
|
+
if (!B)
|
|
3286
|
+
throw new _t(a.value, f, Object.keys(a.options), u);
|
|
3287
|
+
l.push.apply(l, Me(B.value, t, n, r, i));
|
|
3288
3288
|
continue;
|
|
3289
3289
|
}
|
|
3290
|
-
if (
|
|
3291
|
-
var
|
|
3292
|
-
if (!
|
|
3290
|
+
if (Kt(a)) {
|
|
3291
|
+
var B = a.options["=".concat(f)];
|
|
3292
|
+
if (!B) {
|
|
3293
3293
|
if (!Intl.PluralRules)
|
|
3294
|
-
throw new
|
|
3294
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3295
3295
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3296
|
-
`,
|
|
3297
|
-
var
|
|
3298
|
-
|
|
3296
|
+
`, fe.MISSING_INTL_API, u);
|
|
3297
|
+
var R = n.getPluralRules(t, { type: a.pluralType }).select(f - (a.offset || 0));
|
|
3298
|
+
B = a.options[R] || a.options.other;
|
|
3299
3299
|
}
|
|
3300
|
-
if (!
|
|
3301
|
-
throw new
|
|
3302
|
-
|
|
3300
|
+
if (!B)
|
|
3301
|
+
throw new _t(a.value, f, Object.keys(a.options), u);
|
|
3302
|
+
l.push.apply(l, Me(B.value, t, n, r, i, f - (a.offset || 0)));
|
|
3303
3303
|
continue;
|
|
3304
3304
|
}
|
|
3305
3305
|
}
|
|
3306
|
-
return
|
|
3306
|
+
return Vr(l);
|
|
3307
3307
|
}
|
|
3308
|
-
function
|
|
3309
|
-
return t ?
|
|
3310
|
-
return n[r] =
|
|
3308
|
+
function Zr(e, t) {
|
|
3309
|
+
return t ? Q(Q(Q({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3310
|
+
return n[r] = Q(Q({}, e[r]), t[r] || {}), n;
|
|
3311
3311
|
}, {})) : e;
|
|
3312
3312
|
}
|
|
3313
|
-
function
|
|
3313
|
+
function Xr(e, t) {
|
|
3314
3314
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3315
|
-
return n[r] =
|
|
3316
|
-
},
|
|
3315
|
+
return n[r] = Zr(e[r], t[r]), n;
|
|
3316
|
+
}, Q({}, e)) : e;
|
|
3317
3317
|
}
|
|
3318
|
-
function
|
|
3318
|
+
function Ze(e) {
|
|
3319
3319
|
return {
|
|
3320
3320
|
create: function() {
|
|
3321
3321
|
return {
|
|
@@ -3329,39 +3329,39 @@ function je(e) {
|
|
|
3329
3329
|
}
|
|
3330
3330
|
};
|
|
3331
3331
|
}
|
|
3332
|
-
function
|
|
3332
|
+
function Wr(e) {
|
|
3333
3333
|
return e === void 0 && (e = {
|
|
3334
3334
|
number: {},
|
|
3335
3335
|
dateTime: {},
|
|
3336
3336
|
pluralRules: {}
|
|
3337
3337
|
}), {
|
|
3338
|
-
getNumberFormat:
|
|
3338
|
+
getNumberFormat: je(function() {
|
|
3339
3339
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3340
3340
|
n[r] = arguments[r];
|
|
3341
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3341
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], n, !1)))();
|
|
3342
3342
|
}, {
|
|
3343
|
-
cache:
|
|
3344
|
-
strategy:
|
|
3343
|
+
cache: Ze(e.number),
|
|
3344
|
+
strategy: Ve.variadic
|
|
3345
3345
|
}),
|
|
3346
|
-
getDateTimeFormat:
|
|
3346
|
+
getDateTimeFormat: je(function() {
|
|
3347
3347
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3348
3348
|
n[r] = arguments[r];
|
|
3349
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3349
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], n, !1)))();
|
|
3350
3350
|
}, {
|
|
3351
|
-
cache:
|
|
3352
|
-
strategy:
|
|
3351
|
+
cache: Ze(e.dateTime),
|
|
3352
|
+
strategy: Ve.variadic
|
|
3353
3353
|
}),
|
|
3354
|
-
getPluralRules:
|
|
3354
|
+
getPluralRules: je(function() {
|
|
3355
3355
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3356
3356
|
n[r] = arguments[r];
|
|
3357
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3357
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], n, !1)))();
|
|
3358
3358
|
}, {
|
|
3359
|
-
cache:
|
|
3360
|
-
strategy:
|
|
3359
|
+
cache: Ze(e.pluralRules),
|
|
3360
|
+
strategy: Ve.variadic
|
|
3361
3361
|
})
|
|
3362
3362
|
};
|
|
3363
3363
|
}
|
|
3364
|
-
var
|
|
3364
|
+
var qr = (
|
|
3365
3365
|
/** @class */
|
|
3366
3366
|
function() {
|
|
3367
3367
|
function e(t, n, r, i) {
|
|
@@ -3372,15 +3372,15 @@ var jr = (
|
|
|
3372
3372
|
dateTime: {},
|
|
3373
3373
|
pluralRules: {}
|
|
3374
3374
|
}, this.format = function(c) {
|
|
3375
|
-
var
|
|
3376
|
-
if (
|
|
3377
|
-
return
|
|
3378
|
-
var
|
|
3379
|
-
return !h.length || f.type !==
|
|
3375
|
+
var o = s.formatToParts(c);
|
|
3376
|
+
if (o.length === 1)
|
|
3377
|
+
return o[0].value;
|
|
3378
|
+
var a = o.reduce(function(h, f) {
|
|
3379
|
+
return !h.length || f.type !== P.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
|
|
3380
3380
|
}, []);
|
|
3381
|
-
return
|
|
3381
|
+
return a.length <= 1 ? a[0] || "" : a;
|
|
3382
3382
|
}, this.formatToParts = function(c) {
|
|
3383
|
-
return
|
|
3383
|
+
return Me(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
|
|
3384
3384
|
}, this.resolvedOptions = function() {
|
|
3385
3385
|
var c;
|
|
3386
3386
|
return {
|
|
@@ -3391,15 +3391,15 @@ var jr = (
|
|
|
3391
3391
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3392
3392
|
if (this.message = t, !e.__parse)
|
|
3393
3393
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3394
|
-
var
|
|
3395
|
-
|
|
3396
|
-
var
|
|
3397
|
-
this.ast = e.__parse(t,
|
|
3394
|
+
var u = i || {};
|
|
3395
|
+
u.formatters;
|
|
3396
|
+
var l = ir(u, ["formatters"]);
|
|
3397
|
+
this.ast = e.__parse(t, Q(Q({}, l), { locale: this.resolvedLocale }));
|
|
3398
3398
|
} else
|
|
3399
3399
|
this.ast = t;
|
|
3400
3400
|
if (!Array.isArray(this.ast))
|
|
3401
3401
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3402
|
-
this.formats =
|
|
3402
|
+
this.formats = Xr(e.formats, r), this.formatters = i && i.formatters || Wr(this.formatterCache);
|
|
3403
3403
|
}
|
|
3404
3404
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3405
3405
|
get: function() {
|
|
@@ -3412,7 +3412,7 @@ var jr = (
|
|
|
3412
3412
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3413
3413
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3414
3414
|
}
|
|
3415
|
-
}, e.__parse =
|
|
3415
|
+
}, e.__parse = Gr, e.formats = {
|
|
3416
3416
|
number: {
|
|
3417
3417
|
integer: {
|
|
3418
3418
|
maximumFractionDigits: 0
|
|
@@ -3473,7 +3473,7 @@ var jr = (
|
|
|
3473
3473
|
}, e;
|
|
3474
3474
|
}()
|
|
3475
3475
|
);
|
|
3476
|
-
function
|
|
3476
|
+
function Qr(e, t) {
|
|
3477
3477
|
if (t == null)
|
|
3478
3478
|
return;
|
|
3479
3479
|
if (t in e)
|
|
@@ -3494,92 +3494,92 @@ function Vr(e, t) {
|
|
|
3494
3494
|
r = void 0;
|
|
3495
3495
|
return r;
|
|
3496
3496
|
}
|
|
3497
|
-
const
|
|
3497
|
+
const K = {}, Jr = (e, t, n) => n && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = n), n), hn = (e, t) => {
|
|
3498
3498
|
if (t == null)
|
|
3499
3499
|
return;
|
|
3500
|
-
if (t in
|
|
3501
|
-
return
|
|
3502
|
-
const n =
|
|
3500
|
+
if (t in K && e in K[t])
|
|
3501
|
+
return K[t][e];
|
|
3502
|
+
const n = $e(t);
|
|
3503
3503
|
for (let r = 0; r < n.length; r++) {
|
|
3504
|
-
const i = n[r], s =
|
|
3504
|
+
const i = n[r], s = Kr(i, e);
|
|
3505
3505
|
if (s)
|
|
3506
|
-
return
|
|
3506
|
+
return Jr(e, t, s);
|
|
3507
3507
|
}
|
|
3508
3508
|
};
|
|
3509
|
-
let
|
|
3510
|
-
const
|
|
3511
|
-
function
|
|
3512
|
-
return
|
|
3509
|
+
let ot;
|
|
3510
|
+
const pe = Ne({});
|
|
3511
|
+
function Yr(e) {
|
|
3512
|
+
return ot[e] || null;
|
|
3513
3513
|
}
|
|
3514
|
-
function
|
|
3515
|
-
return e in
|
|
3514
|
+
function cn(e) {
|
|
3515
|
+
return e in ot;
|
|
3516
3516
|
}
|
|
3517
|
-
function
|
|
3518
|
-
if (!
|
|
3517
|
+
function Kr(e, t) {
|
|
3518
|
+
if (!cn(e))
|
|
3519
3519
|
return null;
|
|
3520
|
-
const n =
|
|
3521
|
-
return
|
|
3520
|
+
const n = Yr(e);
|
|
3521
|
+
return Qr(n, t);
|
|
3522
3522
|
}
|
|
3523
|
-
function
|
|
3523
|
+
function ei(e) {
|
|
3524
3524
|
if (e == null)
|
|
3525
3525
|
return;
|
|
3526
|
-
const t =
|
|
3526
|
+
const t = $e(e);
|
|
3527
3527
|
for (let n = 0; n < t.length; n++) {
|
|
3528
3528
|
const r = t[n];
|
|
3529
|
-
if (
|
|
3529
|
+
if (cn(r))
|
|
3530
3530
|
return r;
|
|
3531
3531
|
}
|
|
3532
3532
|
}
|
|
3533
|
-
function
|
|
3534
|
-
delete
|
|
3533
|
+
function fn(e, ...t) {
|
|
3534
|
+
delete K[e], pe.update((n) => (n[e] = rr.all([n[e] || {}, ...t]), n));
|
|
3535
3535
|
}
|
|
3536
|
-
|
|
3537
|
-
[
|
|
3536
|
+
de(
|
|
3537
|
+
[pe],
|
|
3538
3538
|
([e]) => Object.keys(e)
|
|
3539
3539
|
);
|
|
3540
|
-
|
|
3541
|
-
const
|
|
3542
|
-
function
|
|
3543
|
-
|
|
3540
|
+
pe.subscribe((e) => ot = e);
|
|
3541
|
+
const Re = {};
|
|
3542
|
+
function ti(e, t) {
|
|
3543
|
+
Re[e].delete(t), Re[e].size === 0 && delete Re[e];
|
|
3544
3544
|
}
|
|
3545
|
-
function
|
|
3546
|
-
return
|
|
3545
|
+
function mn(e) {
|
|
3546
|
+
return Re[e];
|
|
3547
3547
|
}
|
|
3548
|
-
function
|
|
3549
|
-
return
|
|
3550
|
-
const n =
|
|
3548
|
+
function ni(e) {
|
|
3549
|
+
return $e(e).map((t) => {
|
|
3550
|
+
const n = mn(t);
|
|
3551
3551
|
return [t, n ? [...n] : []];
|
|
3552
3552
|
}).filter(([, t]) => t.length > 0);
|
|
3553
3553
|
}
|
|
3554
|
-
function
|
|
3555
|
-
return e == null ? !1 :
|
|
3554
|
+
function it(e) {
|
|
3555
|
+
return e == null ? !1 : $e(e).some(
|
|
3556
3556
|
(t) => {
|
|
3557
3557
|
var n;
|
|
3558
|
-
return (n =
|
|
3558
|
+
return (n = mn(t)) == null ? void 0 : n.size;
|
|
3559
3559
|
}
|
|
3560
3560
|
);
|
|
3561
3561
|
}
|
|
3562
|
-
function
|
|
3562
|
+
function ri(e, t) {
|
|
3563
3563
|
return Promise.all(
|
|
3564
|
-
t.map((r) => (
|
|
3565
|
-
).then((r) =>
|
|
3564
|
+
t.map((r) => (ti(e, r), r().then((i) => i.default || i)))
|
|
3565
|
+
).then((r) => fn(e, ...r));
|
|
3566
3566
|
}
|
|
3567
|
-
const
|
|
3568
|
-
function
|
|
3569
|
-
if (!
|
|
3570
|
-
return e in
|
|
3571
|
-
const t =
|
|
3572
|
-
return
|
|
3567
|
+
const ve = {};
|
|
3568
|
+
function dn(e) {
|
|
3569
|
+
if (!it(e))
|
|
3570
|
+
return e in ve ? ve[e] : Promise.resolve();
|
|
3571
|
+
const t = ni(e);
|
|
3572
|
+
return ve[e] = Promise.all(
|
|
3573
3573
|
t.map(
|
|
3574
|
-
([n, r]) =>
|
|
3574
|
+
([n, r]) => ri(n, r)
|
|
3575
3575
|
)
|
|
3576
3576
|
).then(() => {
|
|
3577
|
-
if (
|
|
3578
|
-
return
|
|
3579
|
-
delete
|
|
3580
|
-
}),
|
|
3577
|
+
if (it(e))
|
|
3578
|
+
return dn(e);
|
|
3579
|
+
delete ve[e];
|
|
3580
|
+
}), ve[e];
|
|
3581
3581
|
}
|
|
3582
|
-
const
|
|
3582
|
+
const ii = {
|
|
3583
3583
|
number: {
|
|
3584
3584
|
scientific: { notation: "scientific" },
|
|
3585
3585
|
engineering: { notation: "engineering" },
|
|
@@ -3608,159 +3608,159 @@ const Yr = {
|
|
|
3608
3608
|
timeZoneName: "short"
|
|
3609
3609
|
}
|
|
3610
3610
|
}
|
|
3611
|
-
},
|
|
3611
|
+
}, si = {
|
|
3612
3612
|
fallbackLocale: null,
|
|
3613
3613
|
loadingDelay: 200,
|
|
3614
|
-
formats:
|
|
3614
|
+
formats: ii,
|
|
3615
3615
|
warnOnMissingMessages: !0,
|
|
3616
3616
|
handleMissingMessage: void 0,
|
|
3617
3617
|
ignoreTag: !0
|
|
3618
|
-
},
|
|
3619
|
-
function
|
|
3620
|
-
return
|
|
3618
|
+
}, ai = si;
|
|
3619
|
+
function me() {
|
|
3620
|
+
return ai;
|
|
3621
3621
|
}
|
|
3622
|
-
const
|
|
3623
|
-
var
|
|
3622
|
+
const Xe = Ne(!1);
|
|
3623
|
+
var oi = Object.defineProperty, li = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, wt = (e, t, n) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, fi = (e, t) => {
|
|
3624
3624
|
for (var n in t || (t = {}))
|
|
3625
|
-
|
|
3626
|
-
if (
|
|
3627
|
-
for (var n of
|
|
3628
|
-
|
|
3625
|
+
hi.call(t, n) && wt(e, n, t[n]);
|
|
3626
|
+
if (Tt)
|
|
3627
|
+
for (var n of Tt(t))
|
|
3628
|
+
ci.call(t, n) && wt(e, n, t[n]);
|
|
3629
3629
|
return e;
|
|
3630
|
-
},
|
|
3631
|
-
let
|
|
3632
|
-
const
|
|
3633
|
-
function
|
|
3630
|
+
}, mi = (e, t) => li(e, ui(t));
|
|
3631
|
+
let st;
|
|
3632
|
+
const Oe = Ne(null);
|
|
3633
|
+
function St(e) {
|
|
3634
3634
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3635
3635
|
}
|
|
3636
|
-
function
|
|
3637
|
-
const n =
|
|
3638
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3636
|
+
function $e(e, t = me().fallbackLocale) {
|
|
3637
|
+
const n = St(e);
|
|
3638
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...St(t)])] : n;
|
|
3639
3639
|
}
|
|
3640
|
-
function
|
|
3641
|
-
return
|
|
3640
|
+
function re() {
|
|
3641
|
+
return st ?? void 0;
|
|
3642
3642
|
}
|
|
3643
|
-
|
|
3644
|
-
|
|
3643
|
+
Oe.subscribe((e) => {
|
|
3644
|
+
st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3645
3645
|
});
|
|
3646
|
-
const
|
|
3647
|
-
if (e &&
|
|
3648
|
-
const { loadingDelay: t } =
|
|
3646
|
+
const di = (e) => {
|
|
3647
|
+
if (e && ei(e) && it(e)) {
|
|
3648
|
+
const { loadingDelay: t } = me();
|
|
3649
3649
|
let n;
|
|
3650
|
-
return typeof window < "u" &&
|
|
3651
|
-
() =>
|
|
3650
|
+
return typeof window < "u" && re() != null && t ? n = window.setTimeout(
|
|
3651
|
+
() => Xe.set(!0),
|
|
3652
3652
|
t
|
|
3653
|
-
) :
|
|
3654
|
-
|
|
3653
|
+
) : Xe.set(!0), dn(e).then(() => {
|
|
3654
|
+
Oe.set(e);
|
|
3655
3655
|
}).finally(() => {
|
|
3656
|
-
clearTimeout(n),
|
|
3656
|
+
clearTimeout(n), Xe.set(!1);
|
|
3657
3657
|
});
|
|
3658
3658
|
}
|
|
3659
|
-
return
|
|
3660
|
-
},
|
|
3661
|
-
set:
|
|
3662
|
-
}),
|
|
3659
|
+
return Oe.set(e);
|
|
3660
|
+
}, te = mi(fi({}, Oe), {
|
|
3661
|
+
set: di
|
|
3662
|
+
}), Ue = (e) => {
|
|
3663
3663
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3664
3664
|
return (r) => {
|
|
3665
3665
|
const i = JSON.stringify(r);
|
|
3666
3666
|
return i in t ? t[i] : t[i] = e(r);
|
|
3667
3667
|
};
|
|
3668
3668
|
};
|
|
3669
|
-
var
|
|
3669
|
+
var pi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, Bt = (e, t, n) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, lt = (e, t) => {
|
|
3670
3670
|
for (var n in t || (t = {}))
|
|
3671
|
-
|
|
3672
|
-
if (
|
|
3673
|
-
for (var n of
|
|
3674
|
-
|
|
3671
|
+
pn.call(t, n) && Bt(e, n, t[n]);
|
|
3672
|
+
if (Pe)
|
|
3673
|
+
for (var n of Pe(t))
|
|
3674
|
+
bn.call(t, n) && Bt(e, n, t[n]);
|
|
3675
3675
|
return e;
|
|
3676
|
-
},
|
|
3676
|
+
}, be = (e, t) => {
|
|
3677
3677
|
var n = {};
|
|
3678
3678
|
for (var r in e)
|
|
3679
|
-
|
|
3680
|
-
if (e != null &&
|
|
3681
|
-
for (var r of
|
|
3682
|
-
t.indexOf(r) < 0 &&
|
|
3679
|
+
pn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3680
|
+
if (e != null && Pe)
|
|
3681
|
+
for (var r of Pe(e))
|
|
3682
|
+
t.indexOf(r) < 0 && bn.call(e, r) && (n[r] = e[r]);
|
|
3683
3683
|
return n;
|
|
3684
3684
|
};
|
|
3685
|
-
const
|
|
3686
|
-
const { formats: n } =
|
|
3685
|
+
const _e = (e, t) => {
|
|
3686
|
+
const { formats: n } = me();
|
|
3687
3687
|
if (e in n && t in n[e])
|
|
3688
3688
|
return n[e][t];
|
|
3689
3689
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3690
|
-
},
|
|
3690
|
+
}, bi = Ue(
|
|
3691
3691
|
(e) => {
|
|
3692
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3692
|
+
var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
|
|
3693
3693
|
if (n == null)
|
|
3694
3694
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3695
|
-
return r && (i =
|
|
3695
|
+
return r && (i = _e("number", r)), new Intl.NumberFormat(n, i);
|
|
3696
3696
|
}
|
|
3697
|
-
),
|
|
3697
|
+
), gi = Ue(
|
|
3698
3698
|
(e) => {
|
|
3699
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3699
|
+
var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
|
|
3700
3700
|
if (n == null)
|
|
3701
3701
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3702
|
-
return r ? i =
|
|
3702
|
+
return r ? i = _e("date", r) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3703
3703
|
}
|
|
3704
|
-
),
|
|
3704
|
+
), yi = Ue(
|
|
3705
3705
|
(e) => {
|
|
3706
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3706
|
+
var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
|
|
3707
3707
|
if (n == null)
|
|
3708
3708
|
throw new Error(
|
|
3709
3709
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3710
3710
|
);
|
|
3711
|
-
return r ? i =
|
|
3711
|
+
return r ? i = _e("time", r) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3712
3712
|
}
|
|
3713
|
-
),
|
|
3713
|
+
), vi = (e = {}) => {
|
|
3714
3714
|
var t = e, {
|
|
3715
|
-
locale: n =
|
|
3716
|
-
} = t, r =
|
|
3715
|
+
locale: n = re()
|
|
3716
|
+
} = t, r = be(t, [
|
|
3717
3717
|
"locale"
|
|
3718
3718
|
]);
|
|
3719
|
-
return
|
|
3720
|
-
},
|
|
3719
|
+
return bi(lt({ locale: n }, r));
|
|
3720
|
+
}, xi = (e = {}) => {
|
|
3721
3721
|
var t = e, {
|
|
3722
|
-
locale: n =
|
|
3723
|
-
} = t, r =
|
|
3722
|
+
locale: n = re()
|
|
3723
|
+
} = t, r = be(t, [
|
|
3724
3724
|
"locale"
|
|
3725
3725
|
]);
|
|
3726
|
-
return
|
|
3727
|
-
},
|
|
3726
|
+
return gi(lt({ locale: n }, r));
|
|
3727
|
+
}, Ei = (e = {}) => {
|
|
3728
3728
|
var t = e, {
|
|
3729
|
-
locale: n =
|
|
3730
|
-
} = t, r =
|
|
3729
|
+
locale: n = re()
|
|
3730
|
+
} = t, r = be(t, [
|
|
3731
3731
|
"locale"
|
|
3732
3732
|
]);
|
|
3733
|
-
return
|
|
3734
|
-
},
|
|
3733
|
+
return yi(lt({ locale: n }, r));
|
|
3734
|
+
}, Ci = Ue(
|
|
3735
3735
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3736
|
-
(e, t =
|
|
3737
|
-
ignoreTag:
|
|
3736
|
+
(e, t = re()) => new qr(e, t, me().formats, {
|
|
3737
|
+
ignoreTag: me().ignoreTag
|
|
3738
3738
|
})
|
|
3739
|
-
),
|
|
3739
|
+
), _i = (e, t = {}) => {
|
|
3740
3740
|
var n, r, i, s;
|
|
3741
|
-
let
|
|
3742
|
-
typeof e == "object" && (
|
|
3741
|
+
let u = t;
|
|
3742
|
+
typeof e == "object" && (u = e, e = u.id);
|
|
3743
3743
|
const {
|
|
3744
|
-
values:
|
|
3745
|
-
locale: c =
|
|
3746
|
-
default:
|
|
3747
|
-
} =
|
|
3744
|
+
values: l,
|
|
3745
|
+
locale: c = re(),
|
|
3746
|
+
default: o
|
|
3747
|
+
} = u;
|
|
3748
3748
|
if (c == null)
|
|
3749
3749
|
throw new Error(
|
|
3750
3750
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3751
3751
|
);
|
|
3752
|
-
let
|
|
3753
|
-
if (!
|
|
3754
|
-
|
|
3755
|
-
else if (typeof
|
|
3752
|
+
let a = hn(e, c);
|
|
3753
|
+
if (!a)
|
|
3754
|
+
a = (s = (i = (r = (n = me()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
|
|
3755
|
+
else if (typeof a != "string")
|
|
3756
3756
|
return console.warn(
|
|
3757
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3758
|
-
),
|
|
3759
|
-
if (!
|
|
3760
|
-
return
|
|
3761
|
-
let h =
|
|
3757
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3758
|
+
), a;
|
|
3759
|
+
if (!l)
|
|
3760
|
+
return a;
|
|
3761
|
+
let h = a;
|
|
3762
3762
|
try {
|
|
3763
|
-
h =
|
|
3763
|
+
h = Ci(a, c).format(l);
|
|
3764
3764
|
} catch (f) {
|
|
3765
3765
|
f instanceof Error && console.warn(
|
|
3766
3766
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3768,23 +3768,23 @@ const ye = (e, t) => {
|
|
|
3768
3768
|
);
|
|
3769
3769
|
}
|
|
3770
3770
|
return h;
|
|
3771
|
-
},
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
function
|
|
3777
|
-
|
|
3778
|
-
n == null && (
|
|
3771
|
+
}, Ti = (e, t) => Ei(t).format(e), wi = (e, t) => xi(t).format(e), Si = (e, t) => vi(t).format(e), Bi = (e, t = re()) => hn(e, t), Hi = de([te, pe], () => _i);
|
|
3772
|
+
de([te], () => Ti);
|
|
3773
|
+
de([te], () => wi);
|
|
3774
|
+
de([te], () => Si);
|
|
3775
|
+
de([te, pe], () => Bi);
|
|
3776
|
+
function Mi({ withLocale: e, translations: t }) {
|
|
3777
|
+
te.subscribe((n) => {
|
|
3778
|
+
n == null && (pe.set(t), te.set(e));
|
|
3779
3779
|
});
|
|
3780
3780
|
}
|
|
3781
|
-
function
|
|
3782
|
-
|
|
3781
|
+
function Ht(e, t) {
|
|
3782
|
+
fn(e, t);
|
|
3783
3783
|
}
|
|
3784
|
-
function
|
|
3785
|
-
|
|
3784
|
+
function Ri(e) {
|
|
3785
|
+
te.set(e);
|
|
3786
3786
|
}
|
|
3787
|
-
const
|
|
3787
|
+
const Mt = {
|
|
3788
3788
|
en: {
|
|
3789
3789
|
scoreCriteriaType: {
|
|
3790
3790
|
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.",
|
|
@@ -3796,7 +3796,13 @@ const wt = {
|
|
|
3796
3796
|
<span class="Desc">Player will not get score if Win/Stake Ratio in each rounds are lower than defined
|
|
3797
3797
|
minimum score value.</span>
|
|
3798
3798
|
</li></ul>`,
|
|
3799
|
-
maxWinStakeRatio: "The score criteria for this tournament is <b>Max Win/Stake 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."
|
|
3799
|
+
maxWinStakeRatio: "The score criteria for this tournament is <b>Max Win/Stake 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.",
|
|
3800
|
+
win: `ScoreCriteria Type: Winnings. The score will be calculated based on the sum of all bet winnings with the qualifying rounds/bets.
|
|
3801
|
+
For example, a player has two qualifying rounds. he won €1 in one round and €3 in another. In this case.
|
|
3802
|
+
the score will be calculated as 1+3=4.`,
|
|
3803
|
+
winBetCount: `ScoreCriteria Type: Winnings and Number of Rounds. The score will be calculated based on the sum of all bet winnings and rounds number with the qualifying
|
|
3804
|
+
rounds/bets. For example, a player has two qualifying rounds. he won €1 in one round and €3 in another.
|
|
3805
|
+
In this case. the score will be calculated as 1+3+2=6.`
|
|
3800
3806
|
},
|
|
3801
3807
|
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.",
|
|
3802
3808
|
timePeriod: "The tournament start {startTime} and ends {endTime}",
|
|
@@ -3900,13 +3906,13 @@ const wt = {
|
|
|
3900
3906
|
productMaxBet: "Para {productName}, o valor máximo da aposta aceita é {maxBet}."
|
|
3901
3907
|
}
|
|
3902
3908
|
};
|
|
3903
|
-
function
|
|
3909
|
+
function Li(e, t) {
|
|
3904
3910
|
if (e) {
|
|
3905
3911
|
const n = document.createElement("style");
|
|
3906
3912
|
n.innerHTML = t, e.appendChild(n);
|
|
3907
3913
|
}
|
|
3908
3914
|
}
|
|
3909
|
-
function
|
|
3915
|
+
function Ai(e, t) {
|
|
3910
3916
|
if (!e || !t)
|
|
3911
3917
|
return;
|
|
3912
3918
|
const n = new URL(t);
|
|
@@ -3917,7 +3923,7 @@ function Si(e, t) {
|
|
|
3917
3923
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
3918
3924
|
});
|
|
3919
3925
|
}
|
|
3920
|
-
function
|
|
3926
|
+
function Oi(e, t, n) {
|
|
3921
3927
|
if (window.emMessageBus) {
|
|
3922
3928
|
const r = document.createElement("style");
|
|
3923
3929
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3925,8 +3931,8 @@ function Bi(e, t, n) {
|
|
|
3925
3931
|
});
|
|
3926
3932
|
}
|
|
3927
3933
|
}
|
|
3928
|
-
const Hi = "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", Mi = "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", Ri = "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", Li = "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", Ai = "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", Oi = "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";
|
|
3929
|
-
class
|
|
3934
|
+
const Pi = "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", Ni = "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", 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='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", $i = "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", 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%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";
|
|
3935
|
+
class Rt {
|
|
3930
3936
|
constructor() {
|
|
3931
3937
|
}
|
|
3932
3938
|
static processMinMax(t, n) {
|
|
@@ -3936,58 +3942,58 @@ class St {
|
|
|
3936
3942
|
};
|
|
3937
3943
|
}
|
|
3938
3944
|
static generateCasinoRule(t, n) {
|
|
3939
|
-
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = n.minStake?.amount[i] ? `: ${n.minStake.amount[i]} ${i}` : r,
|
|
3940
|
-
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet:
|
|
3945
|
+
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = n.minStake?.amount[i] ? `: ${n.minStake.amount[i]} ${i}` : r, u = n.maxStake?.amount[i] ? `: ${n.maxStake.amount[i]} ${i}` : r;
|
|
3946
|
+
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet: u } });
|
|
3941
3947
|
}
|
|
3942
3948
|
static generateSportsRule(t, n) {
|
|
3943
|
-
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR",
|
|
3944
|
-
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet:
|
|
3945
|
-
const c = n.config.liveMatch === "true",
|
|
3946
|
-
c &&
|
|
3947
|
-
const
|
|
3948
|
-
|
|
3949
|
+
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR", u = n.minStake?.amount[s] ? `: ${n.minStake.amount[s]} ${s}` : i, l = n.maxStake?.amount[s] ? `: ${n.maxStake.amount[s]} ${s}` : i;
|
|
3950
|
+
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: u, sportMaxBet: l } }));
|
|
3951
|
+
const c = n.config.liveMatch === "true", o = n.config.preLiveMatch === "true";
|
|
3952
|
+
c && o ? r.push(t("matchTypePreAndLive")) : c ? r.push(`${t("matchTypeLive")}`) : o && r.push(`${t("matchTyppePre")}`);
|
|
3953
|
+
const a = n.combination, h = [];
|
|
3954
|
+
a.single.isEligible && h.push(t("betTypeSingle"));
|
|
3949
3955
|
const m = {
|
|
3950
3956
|
null: t("typeOfSelectionAny"),
|
|
3951
3957
|
true: t("bankerOnly"),
|
|
3952
3958
|
false: t("nonBankerOnly")
|
|
3953
|
-
},
|
|
3959
|
+
}, y = {
|
|
3954
3960
|
unspecific: t("typeOfSelectionAny"),
|
|
3955
3961
|
all: t("betBuilderOnly"),
|
|
3956
3962
|
none: t("notBuilderOnly")
|
|
3957
3963
|
};
|
|
3958
|
-
let E = "",
|
|
3959
|
-
const
|
|
3960
|
-
|
|
3964
|
+
let E = "", w = "";
|
|
3965
|
+
const T = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, M = a.system.isEligible, B = a.multiple.isEligible;
|
|
3966
|
+
M && (E = ` ${t("betTypeSystem")}
|
|
3961
3967
|
( ${t("typeOfSelection")}: ${m[n.combination.system.banker?.include?.toString() || "null"]},
|
|
3962
3968
|
${t("numberOfSelection")}:
|
|
3963
|
-
${
|
|
3964
|
-
${
|
|
3965
|
-
( ${t("typeOfSelection")}: ${
|
|
3969
|
+
${a.system.minSelection?.number || t("unlimited")} - ${a.system.maxSelection?.number || t("unlimited")},
|
|
3970
|
+
${T} ) `), B && (w = ` ${t("betTypeMultiple")}
|
|
3971
|
+
( ${t("typeOfSelection")}: ${y[n.combination.multiple.betBuilder?.mode?.toString() || "unspecific"]},
|
|
3966
3972
|
${t("numberOfSelection")}:
|
|
3967
|
-
${
|
|
3968
|
-
${
|
|
3969
|
-
const
|
|
3970
|
-
return r.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds:
|
|
3973
|
+
${a.multiple.minSelection?.number || t("unlimited")} - ${a.multiple.maxSelection?.number || t("unlimited")},
|
|
3974
|
+
${T} ) `), M && B ? h.push(w + t("and") + E) : M ? h.push(E) : B && h.push(w), r.push(h.join(", "));
|
|
3975
|
+
const R = n.config.minTotalOdds ? `: ${n.config.minTotalOdds}` : i, L = n.config.maxTotalOdds ? `: ${n.config.maxTotalOdds}` : i;
|
|
3976
|
+
return r.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds: R, sportMaxOdds: L } })}`), r;
|
|
3971
3977
|
}
|
|
3972
3978
|
}
|
|
3973
|
-
function
|
|
3974
|
-
|
|
3979
|
+
function Di(e) {
|
|
3980
|
+
vn(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}");
|
|
3975
3981
|
}
|
|
3976
|
-
function
|
|
3982
|
+
function Lt(e, t, n) {
|
|
3977
3983
|
const r = e.slice();
|
|
3978
3984
|
return r[24] = t[n], r;
|
|
3979
3985
|
}
|
|
3980
|
-
function
|
|
3986
|
+
function At(e) {
|
|
3981
3987
|
let t, n = (
|
|
3982
3988
|
/*$_*/
|
|
3983
3989
|
e[11]("scoreCriteriaType.mostRounds") + ""
|
|
3984
3990
|
), r;
|
|
3985
3991
|
return {
|
|
3986
3992
|
c() {
|
|
3987
|
-
t = new Y(!1), r =
|
|
3993
|
+
t = new Y(!1), r = ne(), t.a = r;
|
|
3988
3994
|
},
|
|
3989
3995
|
m(i, s) {
|
|
3990
|
-
t.m(n, i, s),
|
|
3996
|
+
t.m(n, i, s), z(i, r, s);
|
|
3991
3997
|
},
|
|
3992
3998
|
p(i, s) {
|
|
3993
3999
|
s & /*$_*/
|
|
@@ -3999,17 +4005,17 @@ function Ht(e) {
|
|
|
3999
4005
|
}
|
|
4000
4006
|
};
|
|
4001
4007
|
}
|
|
4002
|
-
function
|
|
4008
|
+
function Ot(e) {
|
|
4003
4009
|
let t, n = (
|
|
4004
4010
|
/*$_*/
|
|
4005
4011
|
e[11]("scoreCriteriaType.winStakeRatio") + ""
|
|
4006
4012
|
), r;
|
|
4007
4013
|
return {
|
|
4008
4014
|
c() {
|
|
4009
|
-
t = new Y(!1), r =
|
|
4015
|
+
t = new Y(!1), r = ne(), t.a = r;
|
|
4010
4016
|
},
|
|
4011
4017
|
m(i, s) {
|
|
4012
|
-
t.m(n, i, s),
|
|
4018
|
+
t.m(n, i, s), z(i, r, s);
|
|
4013
4019
|
},
|
|
4014
4020
|
p(i, s) {
|
|
4015
4021
|
s & /*$_*/
|
|
@@ -4021,17 +4027,17 @@ function Mt(e) {
|
|
|
4021
4027
|
}
|
|
4022
4028
|
};
|
|
4023
4029
|
}
|
|
4024
|
-
function
|
|
4030
|
+
function Pt(e) {
|
|
4025
4031
|
let t, n = (
|
|
4026
4032
|
/*$_*/
|
|
4027
4033
|
e[11]("scoreCriteriaType.maxWinStakeRatio") + ""
|
|
4028
4034
|
), r;
|
|
4029
4035
|
return {
|
|
4030
4036
|
c() {
|
|
4031
|
-
t = new Y(!1), r =
|
|
4037
|
+
t = new Y(!1), r = ne(), t.a = r;
|
|
4032
4038
|
},
|
|
4033
4039
|
m(i, s) {
|
|
4034
|
-
t.m(n, i, s),
|
|
4040
|
+
t.m(n, i, s), z(i, r, s);
|
|
4035
4041
|
},
|
|
4036
4042
|
p(i, s) {
|
|
4037
4043
|
s & /*$_*/
|
|
@@ -4043,7 +4049,7 @@ function Rt(e) {
|
|
|
4043
4049
|
}
|
|
4044
4050
|
};
|
|
4045
4051
|
}
|
|
4046
|
-
function
|
|
4052
|
+
function Nt(e) {
|
|
4047
4053
|
let t, n = (
|
|
4048
4054
|
/*$_*/
|
|
4049
4055
|
e[11]("scoreCriteriaType.winStakeRatioWinMinScore", {
|
|
@@ -4055,10 +4061,10 @@ function Lt(e) {
|
|
|
4055
4061
|
), r;
|
|
4056
4062
|
return {
|
|
4057
4063
|
c() {
|
|
4058
|
-
t = new Y(!1), r =
|
|
4064
|
+
t = new Y(!1), r = ne(), t.a = r;
|
|
4059
4065
|
},
|
|
4060
4066
|
m(i, s) {
|
|
4061
|
-
t.m(n, i, s),
|
|
4067
|
+
t.m(n, i, s), z(i, r, s);
|
|
4062
4068
|
},
|
|
4063
4069
|
p(i, s) {
|
|
4064
4070
|
s & /*$_, minscore*/
|
|
@@ -4075,17 +4081,17 @@ function Lt(e) {
|
|
|
4075
4081
|
}
|
|
4076
4082
|
};
|
|
4077
4083
|
}
|
|
4078
|
-
function
|
|
4084
|
+
function kt(e) {
|
|
4079
4085
|
let t, n = (
|
|
4080
4086
|
/*$_*/
|
|
4081
4087
|
e[11]("scoreCriteriaType.stake") + ""
|
|
4082
4088
|
), r;
|
|
4083
4089
|
return {
|
|
4084
4090
|
c() {
|
|
4085
|
-
t = new Y(!1), r =
|
|
4091
|
+
t = new Y(!1), r = ne(), t.a = r;
|
|
4086
4092
|
},
|
|
4087
4093
|
m(i, s) {
|
|
4088
|
-
t.m(n, i, s),
|
|
4094
|
+
t.m(n, i, s), z(i, r, s);
|
|
4089
4095
|
},
|
|
4090
4096
|
p(i, s) {
|
|
4091
4097
|
s & /*$_*/
|
|
@@ -4097,107 +4103,151 @@ function At(e) {
|
|
|
4097
4103
|
}
|
|
4098
4104
|
};
|
|
4099
4105
|
}
|
|
4100
|
-
function
|
|
4101
|
-
let t, n
|
|
4106
|
+
function It(e) {
|
|
4107
|
+
let t, n = (
|
|
4108
|
+
/*$_*/
|
|
4109
|
+
e[11]("scoreCriteriaType.win") + ""
|
|
4110
|
+
), r;
|
|
4111
|
+
return {
|
|
4112
|
+
c() {
|
|
4113
|
+
t = new Y(!1), r = ne(), t.a = r;
|
|
4114
|
+
},
|
|
4115
|
+
m(i, s) {
|
|
4116
|
+
t.m(n, i, s), z(i, r, s);
|
|
4117
|
+
},
|
|
4118
|
+
p(i, s) {
|
|
4119
|
+
s & /*$_*/
|
|
4120
|
+
2048 && n !== (n = /*$_*/
|
|
4121
|
+
i[11]("scoreCriteriaType.win") + "") && t.p(n);
|
|
4122
|
+
},
|
|
4123
|
+
d(i) {
|
|
4124
|
+
i && (V(r), t.d());
|
|
4125
|
+
}
|
|
4126
|
+
};
|
|
4127
|
+
}
|
|
4128
|
+
function $t(e) {
|
|
4129
|
+
let t, n = (
|
|
4130
|
+
/*$_*/
|
|
4131
|
+
e[11]("scoreCriteriaType.winBetCount") + ""
|
|
4132
|
+
), r;
|
|
4133
|
+
return {
|
|
4134
|
+
c() {
|
|
4135
|
+
t = new Y(!1), r = ne(), t.a = r;
|
|
4136
|
+
},
|
|
4137
|
+
m(i, s) {
|
|
4138
|
+
t.m(n, i, s), z(i, r, s);
|
|
4139
|
+
},
|
|
4140
|
+
p(i, s) {
|
|
4141
|
+
s & /*$_*/
|
|
4142
|
+
2048 && n !== (n = /*$_*/
|
|
4143
|
+
i[11]("scoreCriteriaType.winBetCount") + "") && t.p(n);
|
|
4144
|
+
},
|
|
4145
|
+
d(i) {
|
|
4146
|
+
i && (V(r), t.d());
|
|
4147
|
+
}
|
|
4148
|
+
};
|
|
4149
|
+
}
|
|
4150
|
+
function Ut(e) {
|
|
4151
|
+
let t, n, r, i, s, u = (
|
|
4102
4152
|
/*$_*/
|
|
4103
4153
|
e[11]("forCasino") + ""
|
|
4104
|
-
),
|
|
4154
|
+
), l, c;
|
|
4105
4155
|
return {
|
|
4106
4156
|
c() {
|
|
4107
|
-
t = C("div"), n = C("div"), n.innerHTML = `<img src="${
|
|
4157
|
+
t = C("div"), n = C("div"), n.innerHTML = `<img src="${$i}"/>`, r = H(), i = C("div"), s = new Y(!1), l = ee(":"), c = ee(
|
|
4108
4158
|
/*casinoRules*/
|
|
4109
4159
|
e[10]
|
|
4110
|
-
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a =
|
|
4160
|
+
), 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");
|
|
4111
4161
|
},
|
|
4112
|
-
m(
|
|
4113
|
-
|
|
4162
|
+
m(o, a) {
|
|
4163
|
+
z(o, t, a), b(t, n), b(t, r), b(t, i), s.m(u, i), b(i, l), b(i, c);
|
|
4114
4164
|
},
|
|
4115
|
-
p(
|
|
4116
|
-
|
|
4117
|
-
2048 &&
|
|
4118
|
-
|
|
4119
|
-
1024 &&
|
|
4165
|
+
p(o, a) {
|
|
4166
|
+
a & /*$_*/
|
|
4167
|
+
2048 && u !== (u = /*$_*/
|
|
4168
|
+
o[11]("forCasino") + "") && s.p(u), a & /*casinoRules*/
|
|
4169
|
+
1024 && Le(
|
|
4120
4170
|
c,
|
|
4121
4171
|
/*casinoRules*/
|
|
4122
|
-
|
|
4172
|
+
o[10]
|
|
4123
4173
|
);
|
|
4124
4174
|
},
|
|
4125
|
-
d(
|
|
4126
|
-
|
|
4175
|
+
d(o) {
|
|
4176
|
+
o && V(t);
|
|
4127
4177
|
}
|
|
4128
4178
|
};
|
|
4129
4179
|
}
|
|
4130
|
-
function
|
|
4131
|
-
let t, n, r, i, s,
|
|
4180
|
+
function Dt(e) {
|
|
4181
|
+
let t, n, r, i, s, u = (
|
|
4132
4182
|
/*$_*/
|
|
4133
4183
|
e[11]("forSportsbook") + ""
|
|
4134
|
-
),
|
|
4184
|
+
), l, c, o = dt(
|
|
4135
4185
|
/*sportRules*/
|
|
4136
4186
|
e[9]
|
|
4137
|
-
),
|
|
4138
|
-
for (let h = 0; h <
|
|
4139
|
-
|
|
4187
|
+
), a = [];
|
|
4188
|
+
for (let h = 0; h < o.length; h += 1)
|
|
4189
|
+
a[h] = Gt(Lt(e, o, h));
|
|
4140
4190
|
return {
|
|
4141
4191
|
c() {
|
|
4142
|
-
t = C("div"), n = C("div"), n.innerHTML = `<img src="${
|
|
4192
|
+
t = C("div"), n = C("div"), n.innerHTML = `<img src="${Ui}"/>`, r = H(), i = C("div"), s = new Y(!1), l = ee(`:
|
|
4143
4193
|
`), c = C("ul");
|
|
4144
|
-
for (let h = 0; h <
|
|
4145
|
-
|
|
4146
|
-
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a =
|
|
4194
|
+
for (let h = 0; h < a.length; h += 1)
|
|
4195
|
+
a[h].c();
|
|
4196
|
+
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = l, p(c, "class", "SportsRules"), p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4147
4197
|
},
|
|
4148
4198
|
m(h, f) {
|
|
4149
|
-
|
|
4150
|
-
for (let m = 0; m <
|
|
4151
|
-
|
|
4199
|
+
z(h, t, f), b(t, n), b(t, r), b(t, i), s.m(u, i), b(i, l), b(i, c);
|
|
4200
|
+
for (let m = 0; m < a.length; m += 1)
|
|
4201
|
+
a[m] && a[m].m(c, null);
|
|
4152
4202
|
},
|
|
4153
4203
|
p(h, f) {
|
|
4154
4204
|
if (f & /*$_*/
|
|
4155
|
-
2048 &&
|
|
4156
|
-
h[11]("forSportsbook") + "") && s.p(
|
|
4205
|
+
2048 && u !== (u = /*$_*/
|
|
4206
|
+
h[11]("forSportsbook") + "") && s.p(u), f & /*sportRules*/
|
|
4157
4207
|
512) {
|
|
4158
|
-
|
|
4208
|
+
o = dt(
|
|
4159
4209
|
/*sportRules*/
|
|
4160
4210
|
h[9]
|
|
4161
4211
|
);
|
|
4162
4212
|
let m;
|
|
4163
|
-
for (m = 0; m <
|
|
4164
|
-
const
|
|
4165
|
-
|
|
4213
|
+
for (m = 0; m < o.length; m += 1) {
|
|
4214
|
+
const y = Lt(h, o, m);
|
|
4215
|
+
a[m] ? a[m].p(y, f) : (a[m] = Gt(y), a[m].c(), a[m].m(c, null));
|
|
4166
4216
|
}
|
|
4167
|
-
for (; m <
|
|
4168
|
-
|
|
4169
|
-
|
|
4217
|
+
for (; m < a.length; m += 1)
|
|
4218
|
+
a[m].d(1);
|
|
4219
|
+
a.length = o.length;
|
|
4170
4220
|
}
|
|
4171
4221
|
},
|
|
4172
4222
|
d(h) {
|
|
4173
|
-
h && V(t),
|
|
4223
|
+
h && V(t), Cn(a, h);
|
|
4174
4224
|
}
|
|
4175
4225
|
};
|
|
4176
4226
|
}
|
|
4177
|
-
function
|
|
4227
|
+
function Gt(e) {
|
|
4178
4228
|
let t, n = (
|
|
4179
4229
|
/*rule*/
|
|
4180
4230
|
e[24] + ""
|
|
4181
4231
|
), r;
|
|
4182
4232
|
return {
|
|
4183
4233
|
c() {
|
|
4184
|
-
t = C("li"), r =
|
|
4234
|
+
t = C("li"), r = ee(n), p(t, "class", "RuleTxt"), p(t, "part", "RuleTxt");
|
|
4185
4235
|
},
|
|
4186
4236
|
m(i, s) {
|
|
4187
|
-
|
|
4237
|
+
z(i, t, s), b(t, r);
|
|
4188
4238
|
},
|
|
4189
4239
|
p(i, s) {
|
|
4190
4240
|
s & /*sportRules*/
|
|
4191
4241
|
512 && n !== (n = /*rule*/
|
|
4192
|
-
i[24] + "") &&
|
|
4242
|
+
i[24] + "") && Le(r, n);
|
|
4193
4243
|
},
|
|
4194
4244
|
d(i) {
|
|
4195
4245
|
i && V(t);
|
|
4196
4246
|
}
|
|
4197
4247
|
};
|
|
4198
4248
|
}
|
|
4199
|
-
function
|
|
4200
|
-
let t, n, r, i, s,
|
|
4249
|
+
function Gi(e) {
|
|
4250
|
+
let t, n, r, i, s, u, l, c, o, a, h, f, m, y, E, w, T = (
|
|
4201
4251
|
/*$_*/
|
|
4202
4252
|
e[11]("miniBetCount", {
|
|
4203
4253
|
values: { betCount: (
|
|
@@ -4205,7 +4255,7 @@ function Ni(e) {
|
|
|
4205
4255
|
e[3]
|
|
4206
4256
|
) }
|
|
4207
4257
|
}) + ""
|
|
4208
|
-
),
|
|
4258
|
+
), M, B, R, L, X, W, ie = (
|
|
4209
4259
|
/*$_*/
|
|
4210
4260
|
e[11]("timePeriod", {
|
|
4211
4261
|
values: {
|
|
@@ -4219,163 +4269,171 @@ function Ni(e) {
|
|
|
4219
4269
|
)
|
|
4220
4270
|
}
|
|
4221
4271
|
}) + ""
|
|
4222
|
-
),
|
|
4272
|
+
), d, J, q, ge, ut, se, we = (
|
|
4223
4273
|
/*$_*/
|
|
4224
4274
|
e[11]("terms", { values: { tcUrl: (
|
|
4225
4275
|
/*tcurl*/
|
|
4226
4276
|
e[6]
|
|
4227
4277
|
) } }) + ""
|
|
4228
|
-
),
|
|
4229
|
-
/*scorecriterial*/
|
|
4230
|
-
e[2] == "BetCount" && Ht(e)
|
|
4231
|
-
), P = (
|
|
4278
|
+
), ht, ye, Se, ct, De, N = (
|
|
4232
4279
|
/*scorecriterial*/
|
|
4233
|
-
e[2] == "
|
|
4234
|
-
), N = (
|
|
4235
|
-
/*scorecriterial*/
|
|
4236
|
-
e[2] == "MaxWinStakeRatio" && Rt(e)
|
|
4280
|
+
e[2] == "BetCount" && At(e)
|
|
4237
4281
|
), k = (
|
|
4238
|
-
/*
|
|
4239
|
-
e[
|
|
4282
|
+
/*scorecriterial*/
|
|
4283
|
+
e[2] == "WinStakeRatio" && Ot(e)
|
|
4240
4284
|
), I = (
|
|
4241
4285
|
/*scorecriterial*/
|
|
4242
|
-
e[2] == "
|
|
4286
|
+
e[2] == "MaxWinStakeRatio" && Pt(e)
|
|
4243
4287
|
), $ = (
|
|
4244
|
-
/*
|
|
4245
|
-
e[
|
|
4288
|
+
/*minscore*/
|
|
4289
|
+
e[7] && Nt(e)
|
|
4246
4290
|
), U = (
|
|
4291
|
+
/*scorecriterial*/
|
|
4292
|
+
e[2] == "Stake" && kt(e)
|
|
4293
|
+
), D = (
|
|
4294
|
+
/*scorecriterial*/
|
|
4295
|
+
e[2] == "Win" && It(e)
|
|
4296
|
+
), G = (
|
|
4297
|
+
/*scorecriterial*/
|
|
4298
|
+
e[2] == "WinBetCount" && $t(e)
|
|
4299
|
+
), F = (
|
|
4300
|
+
/*casinowallet*/
|
|
4301
|
+
e[1] && Ut(e)
|
|
4302
|
+
), j = (
|
|
4247
4303
|
/*sportswallet*/
|
|
4248
4304
|
e[0] && /*sportRules*/
|
|
4249
|
-
e[9].length &&
|
|
4305
|
+
e[9].length && Dt(e)
|
|
4250
4306
|
);
|
|
4251
4307
|
return {
|
|
4252
4308
|
c() {
|
|
4253
|
-
t = C("div"), n = C("div"), r = C("div"), r.innerHTML = `<img src="${
|
|
4309
|
+
t = C("div"), n = C("div"), r = C("div"), r.innerHTML = `<img src="${Pi}"/>`, i = H(), s = C("div"), N && N.c(), u = H(), k && k.c(), l = H(), I && I.c(), c = H(), $ && $.c(), o = H(), U && U.c(), a = H(), D && D.c(), h = H(), G && G.c(), f = H(), m = C("div"), y = C("div"), y.innerHTML = `<img src="${Ni}"/>`, E = H(), w = C("div"), M = ee(T), B = H(), R = C("div"), L = C("div"), L.innerHTML = `<img src="${ki}"/>`, X = H(), W = C("div"), d = ee(ie), J = H(), q = C("div"), ge = C("div"), ge.innerHTML = `<img src="${Ii}"/>`, ut = H(), se = C("div"), ht = H(), ye = C("span"), ct = H(), F && F.c(), De = H(), j && j.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(y, "class", "RuleIcon"), p(y, "part", "RuleIcon"), p(w, "class", "RuleTxt"), p(w, "part", "RuleTxt"), p(m, "class", "RulesRow"), p(m, "part", "rule"), p(L, "class", "RuleIcon"), p(L, "part", "RuleIcon"), p(W, "class", "RuleTxt"), p(W, "part", "RuleTxt"), p(R, "class", "RulesRow"), p(R, "part", "rule"), p(ge, "class", "RuleIcon"), p(ge, "part", "RuleIcon"), p(se, "class", "RuleTxt"), p(se, "part", "RuleTxt"), p(q, "class", "RulesRow"), p(q, "part", "rule"), p(ye, "type", "hidden"), p(ye, "href", Se = { tcurl: (
|
|
4254
4310
|
/*tcurl*/
|
|
4255
4311
|
e[6]
|
|
4256
4312
|
) }), p(t, "class", "casino-tournaments-thumbnail-rule"), p(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4257
4313
|
},
|
|
4258
|
-
m(
|
|
4259
|
-
|
|
4314
|
+
m(g, A) {
|
|
4315
|
+
z(g, t, A), b(t, n), b(n, r), b(n, i), b(n, s), N && N.m(s, null), b(s, u), k && k.m(s, null), b(s, l), I && I.m(s, null), b(s, c), $ && $.m(s, null), b(s, o), U && U.m(s, null), b(s, a), D && D.m(s, null), b(s, h), G && G.m(s, null), b(t, f), b(t, m), b(m, y), b(m, E), b(m, w), b(w, M), b(t, B), b(t, R), b(R, L), b(R, X), b(R, W), b(W, d), b(t, J), b(t, q), b(q, ge), b(q, ut), b(q, se), se.innerHTML = we, b(t, ht), b(t, ye), b(t, ct), F && F.m(t, null), b(t, De), j && j.m(t, null), e[17](t);
|
|
4260
4316
|
},
|
|
4261
|
-
p(
|
|
4317
|
+
p(g, [A]) {
|
|
4262
4318
|
/*scorecriterial*/
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4319
|
+
g[2] == "BetCount" ? N ? N.p(g, A) : (N = At(g), N.c(), N.m(s, u)) : N && (N.d(1), N = null), /*scorecriterial*/
|
|
4320
|
+
g[2] == "WinStakeRatio" ? k ? k.p(g, A) : (k = Ot(g), k.c(), k.m(s, l)) : k && (k.d(1), k = null), /*scorecriterial*/
|
|
4321
|
+
g[2] == "MaxWinStakeRatio" ? I ? I.p(g, A) : (I = Pt(g), I.c(), I.m(s, c)) : I && (I.d(1), I = null), /*minscore*/
|
|
4322
|
+
g[7] ? $ ? $.p(g, A) : ($ = Nt(g), $.c(), $.m(s, o)) : $ && ($.d(1), $ = null), /*scorecriterial*/
|
|
4323
|
+
g[2] == "Stake" ? U ? U.p(g, A) : (U = kt(g), U.c(), U.m(s, a)) : U && (U.d(1), U = null), /*scorecriterial*/
|
|
4324
|
+
g[2] == "Win" ? D ? D.p(g, A) : (D = It(g), D.c(), D.m(s, h)) : D && (D.d(1), D = null), /*scorecriterial*/
|
|
4325
|
+
g[2] == "WinBetCount" ? G ? G.p(g, A) : (G = $t(g), G.c(), G.m(s, null)) : G && (G.d(1), G = null), A & /*$_, betcount*/
|
|
4326
|
+
2056 && T !== (T = /*$_*/
|
|
4327
|
+
g[11]("miniBetCount", {
|
|
4270
4328
|
values: { betCount: (
|
|
4271
4329
|
/*betcount*/
|
|
4272
|
-
|
|
4330
|
+
g[3]
|
|
4273
4331
|
) }
|
|
4274
|
-
}) + "") &&
|
|
4275
|
-
2096 &&
|
|
4276
|
-
|
|
4332
|
+
}) + "") && Le(M, T), A & /*$_, starttime, endtime*/
|
|
4333
|
+
2096 && ie !== (ie = /*$_*/
|
|
4334
|
+
g[11]("timePeriod", {
|
|
4277
4335
|
values: {
|
|
4278
4336
|
startTime: (
|
|
4279
4337
|
/*starttime*/
|
|
4280
|
-
|
|
4338
|
+
g[4]
|
|
4281
4339
|
),
|
|
4282
4340
|
endTime: (
|
|
4283
4341
|
/*endtime*/
|
|
4284
|
-
|
|
4342
|
+
g[5]
|
|
4285
4343
|
)
|
|
4286
4344
|
}
|
|
4287
|
-
}) + "") &&
|
|
4288
|
-
2112 &&
|
|
4289
|
-
|
|
4345
|
+
}) + "") && Le(d, ie), A & /*$_, tcurl*/
|
|
4346
|
+
2112 && we !== (we = /*$_*/
|
|
4347
|
+
g[11]("terms", { values: { tcUrl: (
|
|
4290
4348
|
/*tcurl*/
|
|
4291
|
-
|
|
4292
|
-
) } }) + "") && (
|
|
4293
|
-
64 &&
|
|
4349
|
+
g[6]
|
|
4350
|
+
) } }) + "") && (se.innerHTML = we), A & /*tcurl*/
|
|
4351
|
+
64 && Se !== (Se = { tcurl: (
|
|
4294
4352
|
/*tcurl*/
|
|
4295
|
-
|
|
4296
|
-
) }) && p(
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4353
|
+
g[6]
|
|
4354
|
+
) }) && p(ye, "href", Se), /*casinowallet*/
|
|
4355
|
+
g[1] ? F ? F.p(g, A) : (F = Ut(g), F.c(), F.m(t, De)) : F && (F.d(1), F = null), /*sportswallet*/
|
|
4356
|
+
g[0] && /*sportRules*/
|
|
4357
|
+
g[9].length ? j ? j.p(g, A) : (j = Dt(g), j.c(), j.m(t, null)) : j && (j.d(1), j = null);
|
|
4300
4358
|
},
|
|
4301
|
-
i:
|
|
4302
|
-
o:
|
|
4303
|
-
d(
|
|
4304
|
-
|
|
4359
|
+
i: Z,
|
|
4360
|
+
o: Z,
|
|
4361
|
+
d(g) {
|
|
4362
|
+
g && V(t), N && N.d(), k && k.d(), I && I.d(), $ && $.d(), U && U.d(), D && D.d(), G && G.d(), F && F.d(), j && j.d(), e[17](null);
|
|
4305
4363
|
}
|
|
4306
4364
|
};
|
|
4307
4365
|
}
|
|
4308
|
-
function
|
|
4366
|
+
function Fi(e, t, n) {
|
|
4309
4367
|
let r;
|
|
4310
|
-
|
|
4311
|
-
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount:
|
|
4312
|
-
|
|
4313
|
-
const
|
|
4314
|
-
fetch(f).then((
|
|
4315
|
-
Object.keys(
|
|
4316
|
-
|
|
4368
|
+
yn(e, Hi, (d) => n(11, r = d));
|
|
4369
|
+
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: u } = t, { starttime: l } = t, { endtime: c } = t, { tcurl: o } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, { sportswallet: y } = t, { casinowallet: E } = t, { minscore: w } = t, T, M = [], B = "";
|
|
4370
|
+
Mi({ withLocale: "en", translations: {} });
|
|
4371
|
+
const R = () => {
|
|
4372
|
+
fetch(f).then((J) => J.json()).then((J) => {
|
|
4373
|
+
Object.keys(J).forEach((q) => {
|
|
4374
|
+
Ht(q, J[q]);
|
|
4317
4375
|
});
|
|
4318
|
-
}).catch((
|
|
4319
|
-
console.error(
|
|
4376
|
+
}).catch((J) => {
|
|
4377
|
+
console.error(J);
|
|
4320
4378
|
});
|
|
4321
4379
|
};
|
|
4322
|
-
Object.keys(
|
|
4323
|
-
|
|
4380
|
+
Object.keys(Mt).forEach((d) => {
|
|
4381
|
+
Ht(d, Mt[d]);
|
|
4324
4382
|
});
|
|
4325
|
-
const
|
|
4326
|
-
|
|
4327
|
-
},
|
|
4328
|
-
d.data && d.data.type && d.type == "TournamentsWalletsUpdate" && (n(1, E = d.data.wallet.casino), n(0,
|
|
4383
|
+
const L = () => {
|
|
4384
|
+
Ri(i);
|
|
4385
|
+
}, X = (d) => {
|
|
4386
|
+
d.data && d.data.type && d.type == "TournamentsWalletsUpdate" && (n(1, E = d.data.wallet.casino), n(0, y = d.data.wallet.sports));
|
|
4329
4387
|
}, W = () => {
|
|
4330
|
-
n(10,
|
|
4388
|
+
n(10, B = E ? Rt.generateCasinoRule(r, E) : ""), n(9, M = y ? Rt.generateSportsRule(r, y) : []);
|
|
4331
4389
|
};
|
|
4332
|
-
|
|
4333
|
-
window.removeEventListener("message",
|
|
4390
|
+
Bn(() => (window.addEventListener("message", X, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4391
|
+
window.removeEventListener("message", X);
|
|
4334
4392
|
}));
|
|
4335
|
-
function
|
|
4336
|
-
|
|
4337
|
-
|
|
4393
|
+
function ie(d) {
|
|
4394
|
+
We[d ? "unshift" : "push"](() => {
|
|
4395
|
+
T = d, n(8, T);
|
|
4338
4396
|
});
|
|
4339
4397
|
}
|
|
4340
4398
|
return e.$$set = (d) => {
|
|
4341
|
-
"lang" in d && n(12, i = d.lang), "scorecriterial" in d && n(2, s = d.scorecriterial), "betcount" in d && n(3,
|
|
4399
|
+
"lang" in d && n(12, i = d.lang), "scorecriterial" in d && n(2, s = d.scorecriterial), "betcount" in d && n(3, u = d.betcount), "starttime" in d && n(4, l = d.starttime), "endtime" in d && n(5, c = d.endtime), "tcurl" in d && n(6, o = d.tcurl), "clientstyling" in d && n(13, a = d.clientstyling), "clientstylingurl" in d && n(14, h = d.clientstylingurl), "translationurl" in d && n(15, f = d.translationurl), "mbsource" in d && n(16, m = d.mbsource), "sportswallet" in d && n(0, y = d.sportswallet), "casinowallet" in d && n(1, E = d.casinowallet), "minscore" in d && n(7, w = d.minscore);
|
|
4342
4400
|
}, e.$$.update = () => {
|
|
4343
4401
|
e.$$.dirty & /*lang*/
|
|
4344
|
-
4096 && i &&
|
|
4345
|
-
3 && (
|
|
4346
|
-
8448 &&
|
|
4347
|
-
16640 && h &&
|
|
4348
|
-
65792 && m &&
|
|
4349
|
-
32768 && f &&
|
|
4402
|
+
4096 && i && L(), e.$$.dirty & /*sportswallet, casinowallet*/
|
|
4403
|
+
3 && (y || E) && W(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4404
|
+
8448 && a && T && Li(T, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4405
|
+
16640 && h && T && Ai(T, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4406
|
+
65792 && m && T && Oi(T, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4407
|
+
32768 && f && R();
|
|
4350
4408
|
}, [
|
|
4351
|
-
|
|
4409
|
+
y,
|
|
4352
4410
|
E,
|
|
4353
4411
|
s,
|
|
4354
|
-
l,
|
|
4355
4412
|
u,
|
|
4413
|
+
l,
|
|
4356
4414
|
c,
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
S,
|
|
4360
|
-
B,
|
|
4415
|
+
o,
|
|
4416
|
+
w,
|
|
4361
4417
|
T,
|
|
4418
|
+
M,
|
|
4419
|
+
B,
|
|
4362
4420
|
r,
|
|
4363
4421
|
i,
|
|
4364
|
-
|
|
4422
|
+
a,
|
|
4365
4423
|
h,
|
|
4366
4424
|
f,
|
|
4367
4425
|
m,
|
|
4368
|
-
|
|
4426
|
+
ie
|
|
4369
4427
|
];
|
|
4370
4428
|
}
|
|
4371
|
-
class
|
|
4429
|
+
class ji extends Un {
|
|
4372
4430
|
constructor(t) {
|
|
4373
|
-
super(),
|
|
4431
|
+
super(), In(
|
|
4374
4432
|
this,
|
|
4375
4433
|
t,
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4434
|
+
Fi,
|
|
4435
|
+
Gi,
|
|
4436
|
+
jt,
|
|
4379
4437
|
{
|
|
4380
4438
|
lang: 12,
|
|
4381
4439
|
scorecriterial: 2,
|
|
@@ -4391,89 +4449,89 @@ class Ii extends On {
|
|
|
4391
4449
|
casinowallet: 1,
|
|
4392
4450
|
minscore: 7
|
|
4393
4451
|
},
|
|
4394
|
-
|
|
4452
|
+
Di
|
|
4395
4453
|
);
|
|
4396
4454
|
}
|
|
4397
4455
|
get lang() {
|
|
4398
4456
|
return this.$$.ctx[12];
|
|
4399
4457
|
}
|
|
4400
4458
|
set lang(t) {
|
|
4401
|
-
this.$$set({ lang: t }),
|
|
4459
|
+
this.$$set({ lang: t }), O();
|
|
4402
4460
|
}
|
|
4403
4461
|
get scorecriterial() {
|
|
4404
4462
|
return this.$$.ctx[2];
|
|
4405
4463
|
}
|
|
4406
4464
|
set scorecriterial(t) {
|
|
4407
|
-
this.$$set({ scorecriterial: t }),
|
|
4465
|
+
this.$$set({ scorecriterial: t }), O();
|
|
4408
4466
|
}
|
|
4409
4467
|
get betcount() {
|
|
4410
4468
|
return this.$$.ctx[3];
|
|
4411
4469
|
}
|
|
4412
4470
|
set betcount(t) {
|
|
4413
|
-
this.$$set({ betcount: t }),
|
|
4471
|
+
this.$$set({ betcount: t }), O();
|
|
4414
4472
|
}
|
|
4415
4473
|
get starttime() {
|
|
4416
4474
|
return this.$$.ctx[4];
|
|
4417
4475
|
}
|
|
4418
4476
|
set starttime(t) {
|
|
4419
|
-
this.$$set({ starttime: t }),
|
|
4477
|
+
this.$$set({ starttime: t }), O();
|
|
4420
4478
|
}
|
|
4421
4479
|
get endtime() {
|
|
4422
4480
|
return this.$$.ctx[5];
|
|
4423
4481
|
}
|
|
4424
4482
|
set endtime(t) {
|
|
4425
|
-
this.$$set({ endtime: t }),
|
|
4483
|
+
this.$$set({ endtime: t }), O();
|
|
4426
4484
|
}
|
|
4427
4485
|
get tcurl() {
|
|
4428
4486
|
return this.$$.ctx[6];
|
|
4429
4487
|
}
|
|
4430
4488
|
set tcurl(t) {
|
|
4431
|
-
this.$$set({ tcurl: t }),
|
|
4489
|
+
this.$$set({ tcurl: t }), O();
|
|
4432
4490
|
}
|
|
4433
4491
|
get clientstyling() {
|
|
4434
4492
|
return this.$$.ctx[13];
|
|
4435
4493
|
}
|
|
4436
4494
|
set clientstyling(t) {
|
|
4437
|
-
this.$$set({ clientstyling: t }),
|
|
4495
|
+
this.$$set({ clientstyling: t }), O();
|
|
4438
4496
|
}
|
|
4439
4497
|
get clientstylingurl() {
|
|
4440
4498
|
return this.$$.ctx[14];
|
|
4441
4499
|
}
|
|
4442
4500
|
set clientstylingurl(t) {
|
|
4443
|
-
this.$$set({ clientstylingurl: t }),
|
|
4501
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4444
4502
|
}
|
|
4445
4503
|
get translationurl() {
|
|
4446
4504
|
return this.$$.ctx[15];
|
|
4447
4505
|
}
|
|
4448
4506
|
set translationurl(t) {
|
|
4449
|
-
this.$$set({ translationurl: t }),
|
|
4507
|
+
this.$$set({ translationurl: t }), O();
|
|
4450
4508
|
}
|
|
4451
4509
|
get mbsource() {
|
|
4452
4510
|
return this.$$.ctx[16];
|
|
4453
4511
|
}
|
|
4454
4512
|
set mbsource(t) {
|
|
4455
|
-
this.$$set({ mbsource: t }),
|
|
4513
|
+
this.$$set({ mbsource: t }), O();
|
|
4456
4514
|
}
|
|
4457
4515
|
get sportswallet() {
|
|
4458
4516
|
return this.$$.ctx[0];
|
|
4459
4517
|
}
|
|
4460
4518
|
set sportswallet(t) {
|
|
4461
|
-
this.$$set({ sportswallet: t }),
|
|
4519
|
+
this.$$set({ sportswallet: t }), O();
|
|
4462
4520
|
}
|
|
4463
4521
|
get casinowallet() {
|
|
4464
4522
|
return this.$$.ctx[1];
|
|
4465
4523
|
}
|
|
4466
4524
|
set casinowallet(t) {
|
|
4467
|
-
this.$$set({ casinowallet: t }),
|
|
4525
|
+
this.$$set({ casinowallet: t }), O();
|
|
4468
4526
|
}
|
|
4469
4527
|
get minscore() {
|
|
4470
4528
|
return this.$$.ctx[7];
|
|
4471
4529
|
}
|
|
4472
4530
|
set minscore(t) {
|
|
4473
|
-
this.$$set({ minscore: t }),
|
|
4531
|
+
this.$$set({ minscore: t }), O();
|
|
4474
4532
|
}
|
|
4475
4533
|
}
|
|
4476
|
-
|
|
4534
|
+
$n(ji, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, sportswallet: {}, casinowallet: {}, minscore: {} }, [], [], !0);
|
|
4477
4535
|
export {
|
|
4478
|
-
|
|
4536
|
+
ji as C
|
|
4479
4537
|
};
|