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