@everymatrix/casino-tournaments-thumbnail-rule 1.74.3 → 1.74.5

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.
@@ -1,4928 +0,0 @@
1
- var hr = Object.defineProperty, cr = Object.defineProperties;
2
- var fr = Object.getOwnPropertyDescriptors;
3
- var ut = Object.getOwnPropertySymbols;
4
- var mr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
6
- for (var r in t || (t = {}))
7
- mr.call(t, r) && Ie(e, r, t[r]);
8
- if (ut)
9
- for (var r of ut(t))
10
- dr.call(t, r) && Ie(e, r, t[r]);
11
- return e;
12
- }, ht = (e, t) => cr(e, fr(t));
13
- var M = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ct = (e, t, r) => new Promise((n, i) => {
15
- var a = (l) => {
16
- try {
17
- s(r.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, o = (l) => {
22
- try {
23
- s(r.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(a, o);
28
- s((r = r.apply(e, t)).next());
29
- });
30
- function W() {
31
- }
32
- function Pt(e) {
33
- return e();
34
- }
35
- function ft() {
36
- return /* @__PURE__ */ Object.create(null);
37
- }
38
- function Ee(e) {
39
- e.forEach(Pt);
40
- }
41
- function nt(e) {
42
- return typeof e == "function";
43
- }
44
- function Ot(e, t) {
45
- return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
- }
47
- function pr(e) {
48
- return Object.keys(e).length === 0;
49
- }
50
- function It(e, ...t) {
51
- if (e == null) {
52
- for (const n of t)
53
- n(void 0);
54
- return W;
55
- }
56
- const r = e.subscribe(...t);
57
- return r.unsubscribe ? () => r.unsubscribe() : r;
58
- }
59
- function br(e, t, r) {
60
- e.$$.on_destroy.push(It(t, r));
61
- }
62
- function p(e, t) {
63
- e.appendChild(t);
64
- }
65
- function gr(e, t, r) {
66
- const n = yr(e);
67
- if (!n.getElementById(t)) {
68
- const i = x("style");
69
- i.id = t, i.textContent = r, vr(n, i);
70
- }
71
- }
72
- function yr(e) {
73
- if (!e)
74
- return document;
75
- const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
76
- return t && /** @type {ShadowRoot} */
77
- t.host ? (
78
- /** @type {ShadowRoot} */
79
- t
80
- ) : e.ownerDocument;
81
- }
82
- function vr(e, t) {
83
- return p(
84
- /** @type {Document} */
85
- e.head || e,
86
- t
87
- ), t.sheet;
88
- }
89
- function R(e, t, r) {
90
- e.insertBefore(t, r || null);
91
- }
92
- function S(e) {
93
- e.parentNode && e.parentNode.removeChild(e);
94
- }
95
- function x(e) {
96
- return document.createElement(e);
97
- }
98
- function _r(e) {
99
- return document.createElementNS("http://www.w3.org/2000/svg", e);
100
- }
101
- function z(e) {
102
- return document.createTextNode(e);
103
- }
104
- function P() {
105
- return z(" ");
106
- }
107
- function Re() {
108
- return z("");
109
- }
110
- function m(e, t, r) {
111
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
112
- }
113
- function Er(e) {
114
- return Array.from(e.childNodes);
115
- }
116
- function J(e, t) {
117
- t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
- t);
119
- }
120
- class ke {
121
- constructor(t = !1) {
122
- /**
123
- * @private
124
- * @default false
125
- */
126
- M(this, "is_svg", !1);
127
- /** parent for creating node */
128
- M(this, "e");
129
- /** html tag nodes */
130
- M(this, "n");
131
- /** target */
132
- M(this, "t");
133
- /** anchor */
134
- M(this, "a");
135
- this.is_svg = t, this.e = this.n = null;
136
- }
137
- /**
138
- * @param {string} html
139
- * @returns {void}
140
- */
141
- c(t) {
142
- this.h(t);
143
- }
144
- /**
145
- * @param {string} html
146
- * @param {HTMLElement | SVGElement} target
147
- * @param {HTMLElement | SVGElement} anchor
148
- * @returns {void}
149
- */
150
- m(t, r, n = null) {
151
- this.e || (this.is_svg ? this.e = _r(
152
- /** @type {keyof SVGElementTagNameMap} */
153
- r.nodeName
154
- ) : this.e = x(
155
- /** @type {keyof HTMLElementTagNameMap} */
156
- r.nodeType === 11 ? "TEMPLATE" : r.nodeName
157
- ), this.t = r.tagName !== "TEMPLATE" ? r : (
158
- /** @type {HTMLTemplateElement} */
159
- r.content
160
- ), this.c(t)), this.i(n);
161
- }
162
- /**
163
- * @param {string} html
164
- * @returns {void}
165
- */
166
- h(t) {
167
- this.e.innerHTML = t, this.n = Array.from(
168
- this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
169
- );
170
- }
171
- /**
172
- * @returns {void} */
173
- i(t) {
174
- for (let r = 0; r < this.n.length; r += 1)
175
- R(this.t, this.n[r], t);
176
- }
177
- /**
178
- * @param {string} html
179
- * @returns {void}
180
- */
181
- p(t) {
182
- this.d(), this.h(t), this.i(this.a);
183
- }
184
- /**
185
- * @returns {void} */
186
- d() {
187
- this.n.forEach(S);
188
- }
189
- }
190
- function xr(e) {
191
- const t = {};
192
- return e.childNodes.forEach(
193
- /** @param {Element} node */
194
- (r) => {
195
- t[r.slot || "default"] = !0;
196
- }
197
- ), t;
198
- }
199
- let ye;
200
- function ge(e) {
201
- ye = e;
202
- }
203
- function Tr() {
204
- if (!ye)
205
- throw new Error("Function called outside component initialization");
206
- return ye;
207
- }
208
- function Br(e) {
209
- Tr().$$.on_mount.push(e);
210
- }
211
- const se = [], ze = [];
212
- let ue = [];
213
- const mt = [], wr = /* @__PURE__ */ Promise.resolve();
214
- let Xe = !1;
215
- function Hr() {
216
- Xe || (Xe = !0, wr.then(j));
217
- }
218
- function We(e) {
219
- ue.push(e);
220
- }
221
- const $e = /* @__PURE__ */ new Set();
222
- let ae = 0;
223
- function j() {
224
- if (ae !== 0)
225
- return;
226
- const e = ye;
227
- do {
228
- try {
229
- for (; ae < se.length; ) {
230
- const t = se[ae];
231
- ae++, ge(t), Sr(t.$$);
232
- }
233
- } catch (t) {
234
- throw se.length = 0, ae = 0, t;
235
- }
236
- for (ge(null), se.length = 0, ae = 0; ze.length; )
237
- ze.pop()();
238
- for (let t = 0; t < ue.length; t += 1) {
239
- const r = ue[t];
240
- $e.has(r) || ($e.add(r), r());
241
- }
242
- ue.length = 0;
243
- } while (se.length);
244
- for (; mt.length; )
245
- mt.pop()();
246
- Xe = !1, $e.clear(), ge(e);
247
- }
248
- function Sr(e) {
249
- if (e.fragment !== null) {
250
- e.update(), Ee(e.before_update);
251
- const t = e.dirty;
252
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
253
- }
254
- }
255
- function Cr(e) {
256
- const t = [], r = [];
257
- ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
258
- }
259
- const Mr = /* @__PURE__ */ new Set();
260
- function Rr(e, t) {
261
- e && e.i && (Mr.delete(e), e.i(t));
262
- }
263
- function kr(e, t, r) {
264
- const { fragment: n, after_update: i } = e.$$;
265
- n && n.m(t, r), We(() => {
266
- const a = e.$$.on_mount.map(Pt).filter(nt);
267
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Ee(a), e.$$.on_mount = [];
268
- }), i.forEach(We);
269
- }
270
- function Nr(e, t) {
271
- const r = e.$$;
272
- r.fragment !== null && (Cr(r.after_update), Ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
273
- }
274
- function Ar(e, t) {
275
- e.$$.dirty[0] === -1 && (se.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
276
- }
277
- function Lr(e, t, r, n, i, a, o = null, s = [-1]) {
278
- const l = ye;
279
- ge(e);
280
- const u = e.$$ = {
281
- fragment: null,
282
- ctx: [],
283
- // state
284
- props: a,
285
- update: W,
286
- not_equal: i,
287
- bound: ft(),
288
- // lifecycle
289
- on_mount: [],
290
- on_destroy: [],
291
- on_disconnect: [],
292
- before_update: [],
293
- after_update: [],
294
- context: new Map(t.context || (l ? l.$$.context : [])),
295
- // everything else
296
- callbacks: ft(),
297
- dirty: s,
298
- skip_bound: !1,
299
- root: t.target || l.$$.root
300
- };
301
- o && o(u.root);
302
- let h = !1;
303
- if (u.ctx = r(e, t.props || {}, (c, f, ...g) => {
304
- const _ = g.length ? g[0] : f;
305
- return u.ctx && i(u.ctx[c], u.ctx[c] = _) && (!u.skip_bound && u.bound[c] && u.bound[c](_), h && Ar(e, c)), f;
306
- }), u.update(), h = !0, Ee(u.before_update), u.fragment = n(u.ctx), t.target) {
307
- if (t.hydrate) {
308
- const c = Er(t.target);
309
- u.fragment && u.fragment.l(c), c.forEach(S);
310
- } else
311
- u.fragment && u.fragment.c();
312
- t.intro && Rr(e.$$.fragment), kr(e, t.target, t.anchor), j();
313
- }
314
- ge(l);
315
- }
316
- let $t;
317
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
318
- constructor(t, r, n) {
319
- super();
320
- /** The Svelte component constructor */
321
- M(this, "$$ctor");
322
- /** Slots */
323
- M(this, "$$s");
324
- /** The Svelte component instance */
325
- M(this, "$$c");
326
- /** Whether or not the custom element is connected */
327
- M(this, "$$cn", !1);
328
- /** Component props data */
329
- M(this, "$$d", {});
330
- /** `true` if currently in the process of reflecting component props back to attributes */
331
- M(this, "$$r", !1);
332
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
333
- M(this, "$$p_d", {});
334
- /** @type {Record<string, Function[]>} Event listeners */
335
- M(this, "$$l", {});
336
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
337
- M(this, "$$l_u", /* @__PURE__ */ new Map());
338
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
339
- }
340
- addEventListener(t, r, n) {
341
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
342
- const i = this.$$c.$on(t, r);
343
- this.$$l_u.set(r, i);
344
- }
345
- super.addEventListener(t, r, n);
346
- }
347
- removeEventListener(t, r, n) {
348
- if (super.removeEventListener(t, r, n), this.$$c) {
349
- const i = this.$$l_u.get(r);
350
- i && (i(), this.$$l_u.delete(r));
351
- }
352
- }
353
- connectedCallback() {
354
- return ct(this, null, function* () {
355
- if (this.$$cn = !0, !this.$$c) {
356
- let t = function(a) {
357
- return () => {
358
- let o;
359
- return {
360
- c: function() {
361
- o = x("slot"), a !== "default" && m(o, "name", a);
362
- },
363
- /**
364
- * @param {HTMLElement} target
365
- * @param {HTMLElement} [anchor]
366
- */
367
- m: function(u, h) {
368
- R(u, o, h);
369
- },
370
- d: function(u) {
371
- u && S(o);
372
- }
373
- };
374
- };
375
- };
376
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
377
- return;
378
- const r = {}, n = xr(this);
379
- for (const a of this.$$s)
380
- a in n && (r[a] = [t(a)]);
381
- for (const a of this.attributes) {
382
- const o = this.$$g_p(a.name);
383
- o in this.$$d || (this.$$d[o] = we(o, a.value, this.$$p_d, "toProp"));
384
- }
385
- for (const a in this.$$p_d)
386
- !(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
387
- this.$$c = new this.$$ctor({
388
- target: this.shadowRoot || this,
389
- props: ht(lt({}, this.$$d), {
390
- $$slots: r,
391
- $$scope: {
392
- ctx: []
393
- }
394
- })
395
- });
396
- const i = () => {
397
- this.$$r = !0;
398
- for (const a in this.$$p_d)
399
- if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
400
- const o = we(
401
- a,
402
- this.$$d[a],
403
- this.$$p_d,
404
- "toAttribute"
405
- );
406
- o == null ? this.removeAttribute(this.$$p_d[a].attribute || a) : this.setAttribute(this.$$p_d[a].attribute || a, o);
407
- }
408
- this.$$r = !1;
409
- };
410
- this.$$c.$$.after_update.push(i), i();
411
- for (const a in this.$$l)
412
- for (const o of this.$$l[a]) {
413
- const s = this.$$c.$on(a, o);
414
- this.$$l_u.set(o, s);
415
- }
416
- this.$$l = {};
417
- }
418
- });
419
- }
420
- // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
421
- // and setting attributes through setAttribute etc, this is helpful
422
- attributeChangedCallback(t, r, n) {
423
- var i;
424
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = we(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
425
- }
426
- disconnectedCallback() {
427
- this.$$cn = !1, Promise.resolve().then(() => {
428
- !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
429
- });
430
- }
431
- $$g_p(t) {
432
- return Object.keys(this.$$p_d).find(
433
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
434
- ) || t;
435
- }
436
- });
437
- function we(e, t, r, n) {
438
- var a;
439
- const i = (a = r[e]) == null ? void 0 : a.type;
440
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
441
- return t;
442
- if (n === "toAttribute")
443
- switch (i) {
444
- case "Object":
445
- case "Array":
446
- return t == null ? null : JSON.stringify(t);
447
- case "Boolean":
448
- return t ? "" : null;
449
- case "Number":
450
- return t == null ? null : t;
451
- default:
452
- return t;
453
- }
454
- else
455
- switch (i) {
456
- case "Object":
457
- case "Array":
458
- return t && JSON.parse(t);
459
- case "Boolean":
460
- return t;
461
- case "Number":
462
- return t != null ? +t : t;
463
- default:
464
- return t;
465
- }
466
- }
467
- function Pr(e, t, r, n, i, a) {
468
- let o = class extends $t {
469
- constructor() {
470
- super(e, r, i), this.$$p_d = t;
471
- }
472
- static get observedAttributes() {
473
- return Object.keys(t).map(
474
- (s) => (t[s].attribute || s).toLowerCase()
475
- );
476
- }
477
- };
478
- return Object.keys(t).forEach((s) => {
479
- Object.defineProperty(o.prototype, s, {
480
- get() {
481
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
482
- },
483
- set(l) {
484
- var u;
485
- l = we(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
486
- }
487
- });
488
- }), n.forEach((s) => {
489
- Object.defineProperty(o.prototype, s, {
490
- get() {
491
- var l;
492
- return (l = this.$$c) == null ? void 0 : l[s];
493
- }
494
- });
495
- }), e.element = /** @type {any} */
496
- o, o;
497
- }
498
- class Or {
499
- constructor() {
500
- /**
501
- * ### PRIVATE API
502
- *
503
- * Do not use, may change at any time
504
- *
505
- * @type {any}
506
- */
507
- M(this, "$$");
508
- /**
509
- * ### PRIVATE API
510
- *
511
- * Do not use, may change at any time
512
- *
513
- * @type {any}
514
- */
515
- M(this, "$$set");
516
- }
517
- /** @returns {void} */
518
- $destroy() {
519
- Nr(this, 1), this.$destroy = W;
520
- }
521
- /**
522
- * @template {Extract<keyof Events, string>} K
523
- * @param {K} type
524
- * @param {((e: Events[K]) => void) | null | undefined} callback
525
- * @returns {() => void}
526
- */
527
- $on(t, r) {
528
- if (!nt(r))
529
- return W;
530
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
531
- return n.push(r), () => {
532
- const i = n.indexOf(r);
533
- i !== -1 && n.splice(i, 1);
534
- };
535
- }
536
- /**
537
- * @param {Partial<Props>} props
538
- * @returns {void}
539
- */
540
- $set(t) {
541
- this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
542
- }
543
- }
544
- const Ir = "4";
545
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
546
- const oe = [];
547
- function $r(e, t) {
548
- return {
549
- subscribe: Ne(e, t).subscribe
550
- };
551
- }
552
- function Ne(e, t = W) {
553
- let r;
554
- const n = /* @__PURE__ */ new Set();
555
- function i(s) {
556
- if (Ot(e, s) && (e = s, r)) {
557
- const l = !oe.length;
558
- for (const u of n)
559
- u[1](), oe.push(u, e);
560
- if (l) {
561
- for (let u = 0; u < oe.length; u += 2)
562
- oe[u][0](oe[u + 1]);
563
- oe.length = 0;
564
- }
565
- }
566
- }
567
- function a(s) {
568
- i(s(e));
569
- }
570
- function o(s, l = W) {
571
- const u = [s, l];
572
- return n.add(u), n.size === 1 && (r = t(i, a) || W), s(e), () => {
573
- n.delete(u), n.size === 0 && r && (r(), r = null);
574
- };
575
- }
576
- return { set: i, update: a, subscribe: o };
577
- }
578
- function me(e, t, r) {
579
- const n = !Array.isArray(e), i = n ? [e] : e;
580
- if (!i.every(Boolean))
581
- throw new Error("derived() expects stores as input, got a falsy value");
582
- const a = t.length < 2;
583
- return $r(r, (o, s) => {
584
- let l = !1;
585
- const u = [];
586
- let h = 0, c = W;
587
- const f = () => {
588
- if (h)
589
- return;
590
- c();
591
- const _ = t(n ? u[0] : u, o, s);
592
- a ? o(_) : c = nt(_) ? _ : W;
593
- }, g = i.map(
594
- (_, T) => It(
595
- _,
596
- (H) => {
597
- u[T] = H, h &= ~(1 << T), l && f();
598
- },
599
- () => {
600
- h |= 1 << T;
601
- }
602
- )
603
- );
604
- return l = !0, f(), function() {
605
- Ee(g), c(), l = !1;
606
- };
607
- });
608
- }
609
- function Dr(e) {
610
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
611
- }
612
- var Ur = function(t) {
613
- return Gr(t) && !Fr(t);
614
- };
615
- function Gr(e) {
616
- return !!e && typeof e == "object";
617
- }
618
- function Fr(e) {
619
- var t = Object.prototype.toString.call(e);
620
- return t === "[object RegExp]" || t === "[object Date]" || zr(e);
621
- }
622
- var jr = typeof Symbol == "function" && Symbol.for, Vr = jr ? Symbol.for("react.element") : 60103;
623
- function zr(e) {
624
- return e.$$typeof === Vr;
625
- }
626
- function Xr(e) {
627
- return Array.isArray(e) ? [] : {};
628
- }
629
- function ve(e, t) {
630
- return t.clone !== !1 && t.isMergeableObject(e) ? le(Xr(e), e, t) : e;
631
- }
632
- function Wr(e, t, r) {
633
- return e.concat(t).map(function(n) {
634
- return ve(n, r);
635
- });
636
- }
637
- function Zr(e, t) {
638
- if (!t.customMerge)
639
- return le;
640
- var r = t.customMerge(e);
641
- return typeof r == "function" ? r : le;
642
- }
643
- function Jr(e) {
644
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
645
- return Object.propertyIsEnumerable.call(e, t);
646
- }) : [];
647
- }
648
- function dt(e) {
649
- return Object.keys(e).concat(Jr(e));
650
- }
651
- function Dt(e, t) {
652
- try {
653
- return t in e;
654
- } catch (r) {
655
- return !1;
656
- }
657
- }
658
- function Yr(e, t) {
659
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
660
- }
661
- function Kr(e, t, r) {
662
- var n = {};
663
- return r.isMergeableObject(e) && dt(e).forEach(function(i) {
664
- n[i] = ve(e[i], r);
665
- }), dt(t).forEach(function(i) {
666
- Yr(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
667
- }), n;
668
- }
669
- function le(e, t, r) {
670
- r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = ve;
671
- var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
672
- return a ? n ? r.arrayMerge(e, t, r) : Kr(e, t, r) : ve(t, r);
673
- }
674
- le.all = function(t, r) {
675
- if (!Array.isArray(t))
676
- throw new Error("first argument should be an array");
677
- return t.reduce(function(n, i) {
678
- return le(n, i, r);
679
- }, {});
680
- };
681
- var qr = le, Qr = qr;
682
- const en = /* @__PURE__ */ Dr(Qr);
683
- /*! *****************************************************************************
684
- Copyright (c) Microsoft Corporation.
685
-
686
- Permission to use, copy, modify, and/or distribute this software for any
687
- purpose with or without fee is hereby granted.
688
-
689
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
690
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
691
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
692
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
693
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
694
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
695
- PERFORMANCE OF THIS SOFTWARE.
696
- ***************************************************************************** */
697
- var Ze = function(e, t) {
698
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
699
- r.__proto__ = n;
700
- } || function(r, n) {
701
- for (var i in n)
702
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
703
- }, Ze(e, t);
704
- };
705
- function Ae(e, t) {
706
- if (typeof t != "function" && t !== null)
707
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
708
- Ze(e, t);
709
- function r() {
710
- this.constructor = e;
711
- }
712
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
713
- }
714
- var v = function() {
715
- return v = Object.assign || function(t) {
716
- for (var r, n = 1, i = arguments.length; n < i; n++) {
717
- r = arguments[n];
718
- for (var a in r)
719
- Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
720
- }
721
- return t;
722
- }, v.apply(this, arguments);
723
- };
724
- function tn(e, t) {
725
- var r = {};
726
- for (var n in e)
727
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
728
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
729
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
730
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
731
- return r;
732
- }
733
- function De(e, t, r) {
734
- if (arguments.length === 2)
735
- for (var n = 0, i = t.length, a; n < i; n++)
736
- (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
737
- return e.concat(a || t);
738
- }
739
- function Ue(e, t) {
740
- var r = t && t.cache ? t.cache : ln, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : nn;
741
- return i(e, {
742
- cache: r,
743
- serializer: n
744
- });
745
- }
746
- function rn(e) {
747
- return e == null || typeof e == "number" || typeof e == "boolean";
748
- }
749
- function Ut(e, t, r, n) {
750
- var i = rn(n) ? n : r(n), a = t.get(i);
751
- return typeof a == "undefined" && (a = e.call(this, n), t.set(i, a)), a;
752
- }
753
- function Gt(e, t, r) {
754
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
755
- return typeof a == "undefined" && (a = e.apply(this, n), t.set(i, a)), a;
756
- }
757
- function it(e, t, r, n, i) {
758
- return r.bind(t, e, n, i);
759
- }
760
- function nn(e, t) {
761
- var r = e.length === 1 ? Ut : Gt;
762
- return it(e, this, r, t.cache.create(), t.serializer);
763
- }
764
- function an(e, t) {
765
- return it(e, this, Gt, t.cache.create(), t.serializer);
766
- }
767
- function on(e, t) {
768
- return it(e, this, Ut, t.cache.create(), t.serializer);
769
- }
770
- var sn = function() {
771
- return JSON.stringify(arguments);
772
- }, un = (
773
- /** @class */
774
- function() {
775
- function e() {
776
- this.cache = /* @__PURE__ */ Object.create(null);
777
- }
778
- return e.prototype.get = function(t) {
779
- return this.cache[t];
780
- }, e.prototype.set = function(t, r) {
781
- this.cache[t] = r;
782
- }, e;
783
- }()
784
- ), ln = {
785
- create: function() {
786
- return new un();
787
- }
788
- }, Ge = {
789
- variadic: an,
790
- monadic: on
791
- }, b;
792
- (function(e) {
793
- 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";
794
- })(b || (b = {}));
795
- var B;
796
- (function(e) {
797
- 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";
798
- })(B || (B = {}));
799
- var he;
800
- (function(e) {
801
- e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
802
- })(he || (he = {}));
803
- function pt(e) {
804
- return e.type === B.literal;
805
- }
806
- function hn(e) {
807
- return e.type === B.argument;
808
- }
809
- function Ft(e) {
810
- return e.type === B.number;
811
- }
812
- function jt(e) {
813
- return e.type === B.date;
814
- }
815
- function Vt(e) {
816
- return e.type === B.time;
817
- }
818
- function zt(e) {
819
- return e.type === B.select;
820
- }
821
- function Xt(e) {
822
- return e.type === B.plural;
823
- }
824
- function cn(e) {
825
- return e.type === B.pound;
826
- }
827
- function Wt(e) {
828
- return e.type === B.tag;
829
- }
830
- function Zt(e) {
831
- return !!(e && typeof e == "object" && e.type === he.number);
832
- }
833
- function Je(e) {
834
- return !!(e && typeof e == "object" && e.type === he.dateTime);
835
- }
836
- var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fn = /(?:[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;
837
- function mn(e) {
838
- var t = {};
839
- return e.replace(fn, function(r) {
840
- var n = r.length;
841
- switch (r[0]) {
842
- case "G":
843
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
844
- break;
845
- case "y":
846
- t.year = n === 2 ? "2-digit" : "numeric";
847
- break;
848
- case "Y":
849
- case "u":
850
- case "U":
851
- case "r":
852
- throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
853
- case "q":
854
- case "Q":
855
- throw new RangeError("`q/Q` (quarter) patterns are not supported");
856
- case "M":
857
- case "L":
858
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
859
- break;
860
- case "w":
861
- case "W":
862
- throw new RangeError("`w/W` (week) patterns are not supported");
863
- case "d":
864
- t.day = ["numeric", "2-digit"][n - 1];
865
- break;
866
- case "D":
867
- case "F":
868
- case "g":
869
- throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
870
- case "E":
871
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
872
- break;
873
- case "e":
874
- if (n < 4)
875
- throw new RangeError("`e..eee` (weekday) patterns are not supported");
876
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
877
- break;
878
- case "c":
879
- if (n < 4)
880
- throw new RangeError("`c..ccc` (weekday) patterns are not supported");
881
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
882
- break;
883
- case "a":
884
- t.hour12 = !0;
885
- break;
886
- case "b":
887
- case "B":
888
- throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
889
- case "h":
890
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
891
- break;
892
- case "H":
893
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
894
- break;
895
- case "K":
896
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
897
- break;
898
- case "k":
899
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
900
- break;
901
- case "j":
902
- case "J":
903
- case "C":
904
- throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
905
- case "m":
906
- t.minute = ["numeric", "2-digit"][n - 1];
907
- break;
908
- case "s":
909
- t.second = ["numeric", "2-digit"][n - 1];
910
- break;
911
- case "S":
912
- case "A":
913
- throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
914
- case "z":
915
- t.timeZoneName = n < 4 ? "short" : "long";
916
- break;
917
- case "Z":
918
- case "O":
919
- case "v":
920
- case "V":
921
- case "X":
922
- case "x":
923
- throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
924
- }
925
- return "";
926
- }), t;
927
- }
928
- var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
929
- function pn(e) {
930
- if (e.length === 0)
931
- throw new Error("Number skeleton cannot be empty");
932
- for (var t = e.split(dn).filter(function(f) {
933
- return f.length > 0;
934
- }), r = [], n = 0, i = t; n < i.length; n++) {
935
- var a = i[n], o = a.split("/");
936
- if (o.length === 0)
937
- throw new Error("Invalid number skeleton");
938
- for (var s = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
939
- var c = h[u];
940
- if (c.length === 0)
941
- throw new Error("Invalid number skeleton");
942
- }
943
- r.push({ stem: s, options: l });
944
- }
945
- return r;
946
- }
947
- function bn(e) {
948
- return e.replace(/^(.*?)-/, "");
949
- }
950
- var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, gn = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
951
- function gt(e) {
952
- var t = {};
953
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
954
- return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
955
- }), t;
956
- }
957
- function qt(e) {
958
- switch (e) {
959
- case "sign-auto":
960
- return {
961
- signDisplay: "auto"
962
- };
963
- case "sign-accounting":
964
- case "()":
965
- return {
966
- currencySign: "accounting"
967
- };
968
- case "sign-always":
969
- case "+!":
970
- return {
971
- signDisplay: "always"
972
- };
973
- case "sign-accounting-always":
974
- case "()!":
975
- return {
976
- signDisplay: "always",
977
- currencySign: "accounting"
978
- };
979
- case "sign-except-zero":
980
- case "+?":
981
- return {
982
- signDisplay: "exceptZero"
983
- };
984
- case "sign-accounting-except-zero":
985
- case "()?":
986
- return {
987
- signDisplay: "exceptZero",
988
- currencySign: "accounting"
989
- };
990
- case "sign-never":
991
- case "+_":
992
- return {
993
- signDisplay: "never"
994
- };
995
- }
996
- }
997
- function yn(e) {
998
- var t;
999
- if (e[0] === "E" && e[1] === "E" ? (t = {
1000
- notation: "engineering"
1001
- }, e = e.slice(2)) : e[0] === "E" && (t = {
1002
- notation: "scientific"
1003
- }, e = e.slice(1)), t) {
1004
- var r = e.slice(0, 2);
1005
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
1006
- throw new Error("Malformed concise eng/scientific notation");
1007
- t.minimumIntegerDigits = e.length;
1008
- }
1009
- return t;
1010
- }
1011
- function yt(e) {
1012
- var t = {}, r = qt(e);
1013
- return r || t;
1014
- }
1015
- function vn(e) {
1016
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1017
- var i = n[r];
1018
- switch (i.stem) {
1019
- case "percent":
1020
- case "%":
1021
- t.style = "percent";
1022
- continue;
1023
- case "%x100":
1024
- t.style = "percent", t.scale = 100;
1025
- continue;
1026
- case "currency":
1027
- t.style = "currency", t.currency = i.options[0];
1028
- continue;
1029
- case "group-off":
1030
- case ",_":
1031
- t.useGrouping = !1;
1032
- continue;
1033
- case "precision-integer":
1034
- case ".":
1035
- t.maximumFractionDigits = 0;
1036
- continue;
1037
- case "measure-unit":
1038
- case "unit":
1039
- t.style = "unit", t.unit = bn(i.options[0]);
1040
- continue;
1041
- case "compact-short":
1042
- case "K":
1043
- t.notation = "compact", t.compactDisplay = "short";
1044
- continue;
1045
- case "compact-long":
1046
- case "KK":
1047
- t.notation = "compact", t.compactDisplay = "long";
1048
- continue;
1049
- case "scientific":
1050
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1051
- return v(v({}, l), yt(u));
1052
- }, {}));
1053
- continue;
1054
- case "engineering":
1055
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1056
- return v(v({}, l), yt(u));
1057
- }, {}));
1058
- continue;
1059
- case "notation-simple":
1060
- t.notation = "standard";
1061
- continue;
1062
- case "unit-width-narrow":
1063
- t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
1064
- continue;
1065
- case "unit-width-short":
1066
- t.currencyDisplay = "code", t.unitDisplay = "short";
1067
- continue;
1068
- case "unit-width-full-name":
1069
- t.currencyDisplay = "name", t.unitDisplay = "long";
1070
- continue;
1071
- case "unit-width-iso-code":
1072
- t.currencyDisplay = "symbol";
1073
- continue;
1074
- case "scale":
1075
- t.scale = parseFloat(i.options[0]);
1076
- continue;
1077
- case "rounding-mode-floor":
1078
- t.roundingMode = "floor";
1079
- continue;
1080
- case "rounding-mode-ceiling":
1081
- t.roundingMode = "ceil";
1082
- continue;
1083
- case "rounding-mode-down":
1084
- t.roundingMode = "trunc";
1085
- continue;
1086
- case "rounding-mode-up":
1087
- t.roundingMode = "expand";
1088
- continue;
1089
- case "rounding-mode-half-even":
1090
- t.roundingMode = "halfEven";
1091
- continue;
1092
- case "rounding-mode-half-down":
1093
- t.roundingMode = "halfTrunc";
1094
- continue;
1095
- case "rounding-mode-half-up":
1096
- t.roundingMode = "halfExpand";
1097
- continue;
1098
- case "integer-width":
1099
- if (i.options.length > 1)
1100
- throw new RangeError("integer-width stems only accept a single optional option");
1101
- i.options[0].replace(gn, function(l, u, h, c, f, g) {
1102
- if (u)
1103
- t.minimumIntegerDigits = h.length;
1104
- else {
1105
- if (c && f)
1106
- throw new Error("We currently do not support maximum integer digits");
1107
- if (g)
1108
- throw new Error("We currently do not support exact integer digits");
1109
- }
1110
- return "";
1111
- });
1112
- continue;
1113
- }
1114
- if (Kt.test(i.stem)) {
1115
- t.minimumIntegerDigits = i.stem.length;
1116
- continue;
1117
- }
1118
- if (bt.test(i.stem)) {
1119
- if (i.options.length > 1)
1120
- throw new RangeError("Fraction-precision stems only accept a single optional option");
1121
- i.stem.replace(bt, function(l, u, h, c, f, g) {
1122
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1123
- });
1124
- var a = i.options[0];
1125
- a === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = v(v({}, t), gt(a)));
1126
- continue;
1127
- }
1128
- if (Yt.test(i.stem)) {
1129
- t = v(v({}, t), gt(i.stem));
1130
- continue;
1131
- }
1132
- var o = qt(i.stem);
1133
- o && (t = v(v({}, t), o));
1134
- var s = yn(i.stem);
1135
- s && (t = v(v({}, t), s));
1136
- }
1137
- return t;
1138
- }
1139
- var Be = {
1140
- "001": [
1141
- "H",
1142
- "h"
1143
- ],
1144
- 419: [
1145
- "h",
1146
- "H",
1147
- "hB",
1148
- "hb"
1149
- ],
1150
- AC: [
1151
- "H",
1152
- "h",
1153
- "hb",
1154
- "hB"
1155
- ],
1156
- AD: [
1157
- "H",
1158
- "hB"
1159
- ],
1160
- AE: [
1161
- "h",
1162
- "hB",
1163
- "hb",
1164
- "H"
1165
- ],
1166
- AF: [
1167
- "H",
1168
- "hb",
1169
- "hB",
1170
- "h"
1171
- ],
1172
- AG: [
1173
- "h",
1174
- "hb",
1175
- "H",
1176
- "hB"
1177
- ],
1178
- AI: [
1179
- "H",
1180
- "h",
1181
- "hb",
1182
- "hB"
1183
- ],
1184
- AL: [
1185
- "h",
1186
- "H",
1187
- "hB"
1188
- ],
1189
- AM: [
1190
- "H",
1191
- "hB"
1192
- ],
1193
- AO: [
1194
- "H",
1195
- "hB"
1196
- ],
1197
- AR: [
1198
- "h",
1199
- "H",
1200
- "hB",
1201
- "hb"
1202
- ],
1203
- AS: [
1204
- "h",
1205
- "H"
1206
- ],
1207
- AT: [
1208
- "H",
1209
- "hB"
1210
- ],
1211
- AU: [
1212
- "h",
1213
- "hb",
1214
- "H",
1215
- "hB"
1216
- ],
1217
- AW: [
1218
- "H",
1219
- "hB"
1220
- ],
1221
- AX: [
1222
- "H"
1223
- ],
1224
- AZ: [
1225
- "H",
1226
- "hB",
1227
- "h"
1228
- ],
1229
- BA: [
1230
- "H",
1231
- "hB",
1232
- "h"
1233
- ],
1234
- BB: [
1235
- "h",
1236
- "hb",
1237
- "H",
1238
- "hB"
1239
- ],
1240
- BD: [
1241
- "h",
1242
- "hB",
1243
- "H"
1244
- ],
1245
- BE: [
1246
- "H",
1247
- "hB"
1248
- ],
1249
- BF: [
1250
- "H",
1251
- "hB"
1252
- ],
1253
- BG: [
1254
- "H",
1255
- "hB",
1256
- "h"
1257
- ],
1258
- BH: [
1259
- "h",
1260
- "hB",
1261
- "hb",
1262
- "H"
1263
- ],
1264
- BI: [
1265
- "H",
1266
- "h"
1267
- ],
1268
- BJ: [
1269
- "H",
1270
- "hB"
1271
- ],
1272
- BL: [
1273
- "H",
1274
- "hB"
1275
- ],
1276
- BM: [
1277
- "h",
1278
- "hb",
1279
- "H",
1280
- "hB"
1281
- ],
1282
- BN: [
1283
- "hb",
1284
- "hB",
1285
- "h",
1286
- "H"
1287
- ],
1288
- BO: [
1289
- "h",
1290
- "H",
1291
- "hB",
1292
- "hb"
1293
- ],
1294
- BQ: [
1295
- "H"
1296
- ],
1297
- BR: [
1298
- "H",
1299
- "hB"
1300
- ],
1301
- BS: [
1302
- "h",
1303
- "hb",
1304
- "H",
1305
- "hB"
1306
- ],
1307
- BT: [
1308
- "h",
1309
- "H"
1310
- ],
1311
- BW: [
1312
- "H",
1313
- "h",
1314
- "hb",
1315
- "hB"
1316
- ],
1317
- BY: [
1318
- "H",
1319
- "h"
1320
- ],
1321
- BZ: [
1322
- "H",
1323
- "h",
1324
- "hb",
1325
- "hB"
1326
- ],
1327
- CA: [
1328
- "h",
1329
- "hb",
1330
- "H",
1331
- "hB"
1332
- ],
1333
- CC: [
1334
- "H",
1335
- "h",
1336
- "hb",
1337
- "hB"
1338
- ],
1339
- CD: [
1340
- "hB",
1341
- "H"
1342
- ],
1343
- CF: [
1344
- "H",
1345
- "h",
1346
- "hB"
1347
- ],
1348
- CG: [
1349
- "H",
1350
- "hB"
1351
- ],
1352
- CH: [
1353
- "H",
1354
- "hB",
1355
- "h"
1356
- ],
1357
- CI: [
1358
- "H",
1359
- "hB"
1360
- ],
1361
- CK: [
1362
- "H",
1363
- "h",
1364
- "hb",
1365
- "hB"
1366
- ],
1367
- CL: [
1368
- "h",
1369
- "H",
1370
- "hB",
1371
- "hb"
1372
- ],
1373
- CM: [
1374
- "H",
1375
- "h",
1376
- "hB"
1377
- ],
1378
- CN: [
1379
- "H",
1380
- "hB",
1381
- "hb",
1382
- "h"
1383
- ],
1384
- CO: [
1385
- "h",
1386
- "H",
1387
- "hB",
1388
- "hb"
1389
- ],
1390
- CP: [
1391
- "H"
1392
- ],
1393
- CR: [
1394
- "h",
1395
- "H",
1396
- "hB",
1397
- "hb"
1398
- ],
1399
- CU: [
1400
- "h",
1401
- "H",
1402
- "hB",
1403
- "hb"
1404
- ],
1405
- CV: [
1406
- "H",
1407
- "hB"
1408
- ],
1409
- CW: [
1410
- "H",
1411
- "hB"
1412
- ],
1413
- CX: [
1414
- "H",
1415
- "h",
1416
- "hb",
1417
- "hB"
1418
- ],
1419
- CY: [
1420
- "h",
1421
- "H",
1422
- "hb",
1423
- "hB"
1424
- ],
1425
- CZ: [
1426
- "H"
1427
- ],
1428
- DE: [
1429
- "H",
1430
- "hB"
1431
- ],
1432
- DG: [
1433
- "H",
1434
- "h",
1435
- "hb",
1436
- "hB"
1437
- ],
1438
- DJ: [
1439
- "h",
1440
- "H"
1441
- ],
1442
- DK: [
1443
- "H"
1444
- ],
1445
- DM: [
1446
- "h",
1447
- "hb",
1448
- "H",
1449
- "hB"
1450
- ],
1451
- DO: [
1452
- "h",
1453
- "H",
1454
- "hB",
1455
- "hb"
1456
- ],
1457
- DZ: [
1458
- "h",
1459
- "hB",
1460
- "hb",
1461
- "H"
1462
- ],
1463
- EA: [
1464
- "H",
1465
- "h",
1466
- "hB",
1467
- "hb"
1468
- ],
1469
- EC: [
1470
- "h",
1471
- "H",
1472
- "hB",
1473
- "hb"
1474
- ],
1475
- EE: [
1476
- "H",
1477
- "hB"
1478
- ],
1479
- EG: [
1480
- "h",
1481
- "hB",
1482
- "hb",
1483
- "H"
1484
- ],
1485
- EH: [
1486
- "h",
1487
- "hB",
1488
- "hb",
1489
- "H"
1490
- ],
1491
- ER: [
1492
- "h",
1493
- "H"
1494
- ],
1495
- ES: [
1496
- "H",
1497
- "hB",
1498
- "h",
1499
- "hb"
1500
- ],
1501
- ET: [
1502
- "hB",
1503
- "hb",
1504
- "h",
1505
- "H"
1506
- ],
1507
- FI: [
1508
- "H"
1509
- ],
1510
- FJ: [
1511
- "h",
1512
- "hb",
1513
- "H",
1514
- "hB"
1515
- ],
1516
- FK: [
1517
- "H",
1518
- "h",
1519
- "hb",
1520
- "hB"
1521
- ],
1522
- FM: [
1523
- "h",
1524
- "hb",
1525
- "H",
1526
- "hB"
1527
- ],
1528
- FO: [
1529
- "H",
1530
- "h"
1531
- ],
1532
- FR: [
1533
- "H",
1534
- "hB"
1535
- ],
1536
- GA: [
1537
- "H",
1538
- "hB"
1539
- ],
1540
- GB: [
1541
- "H",
1542
- "h",
1543
- "hb",
1544
- "hB"
1545
- ],
1546
- GD: [
1547
- "h",
1548
- "hb",
1549
- "H",
1550
- "hB"
1551
- ],
1552
- GE: [
1553
- "H",
1554
- "hB",
1555
- "h"
1556
- ],
1557
- GF: [
1558
- "H",
1559
- "hB"
1560
- ],
1561
- GG: [
1562
- "H",
1563
- "h",
1564
- "hb",
1565
- "hB"
1566
- ],
1567
- GH: [
1568
- "h",
1569
- "H"
1570
- ],
1571
- GI: [
1572
- "H",
1573
- "h",
1574
- "hb",
1575
- "hB"
1576
- ],
1577
- GL: [
1578
- "H",
1579
- "h"
1580
- ],
1581
- GM: [
1582
- "h",
1583
- "hb",
1584
- "H",
1585
- "hB"
1586
- ],
1587
- GN: [
1588
- "H",
1589
- "hB"
1590
- ],
1591
- GP: [
1592
- "H",
1593
- "hB"
1594
- ],
1595
- GQ: [
1596
- "H",
1597
- "hB",
1598
- "h",
1599
- "hb"
1600
- ],
1601
- GR: [
1602
- "h",
1603
- "H",
1604
- "hb",
1605
- "hB"
1606
- ],
1607
- GT: [
1608
- "h",
1609
- "H",
1610
- "hB",
1611
- "hb"
1612
- ],
1613
- GU: [
1614
- "h",
1615
- "hb",
1616
- "H",
1617
- "hB"
1618
- ],
1619
- GW: [
1620
- "H",
1621
- "hB"
1622
- ],
1623
- GY: [
1624
- "h",
1625
- "hb",
1626
- "H",
1627
- "hB"
1628
- ],
1629
- HK: [
1630
- "h",
1631
- "hB",
1632
- "hb",
1633
- "H"
1634
- ],
1635
- HN: [
1636
- "h",
1637
- "H",
1638
- "hB",
1639
- "hb"
1640
- ],
1641
- HR: [
1642
- "H",
1643
- "hB"
1644
- ],
1645
- HU: [
1646
- "H",
1647
- "h"
1648
- ],
1649
- IC: [
1650
- "H",
1651
- "h",
1652
- "hB",
1653
- "hb"
1654
- ],
1655
- ID: [
1656
- "H"
1657
- ],
1658
- IE: [
1659
- "H",
1660
- "h",
1661
- "hb",
1662
- "hB"
1663
- ],
1664
- IL: [
1665
- "H",
1666
- "hB"
1667
- ],
1668
- IM: [
1669
- "H",
1670
- "h",
1671
- "hb",
1672
- "hB"
1673
- ],
1674
- IN: [
1675
- "h",
1676
- "H"
1677
- ],
1678
- IO: [
1679
- "H",
1680
- "h",
1681
- "hb",
1682
- "hB"
1683
- ],
1684
- IQ: [
1685
- "h",
1686
- "hB",
1687
- "hb",
1688
- "H"
1689
- ],
1690
- IR: [
1691
- "hB",
1692
- "H"
1693
- ],
1694
- IS: [
1695
- "H"
1696
- ],
1697
- IT: [
1698
- "H",
1699
- "hB"
1700
- ],
1701
- JE: [
1702
- "H",
1703
- "h",
1704
- "hb",
1705
- "hB"
1706
- ],
1707
- JM: [
1708
- "h",
1709
- "hb",
1710
- "H",
1711
- "hB"
1712
- ],
1713
- JO: [
1714
- "h",
1715
- "hB",
1716
- "hb",
1717
- "H"
1718
- ],
1719
- JP: [
1720
- "H",
1721
- "K",
1722
- "h"
1723
- ],
1724
- KE: [
1725
- "hB",
1726
- "hb",
1727
- "H",
1728
- "h"
1729
- ],
1730
- KG: [
1731
- "H",
1732
- "h",
1733
- "hB",
1734
- "hb"
1735
- ],
1736
- KH: [
1737
- "hB",
1738
- "h",
1739
- "H",
1740
- "hb"
1741
- ],
1742
- KI: [
1743
- "h",
1744
- "hb",
1745
- "H",
1746
- "hB"
1747
- ],
1748
- KM: [
1749
- "H",
1750
- "h",
1751
- "hB",
1752
- "hb"
1753
- ],
1754
- KN: [
1755
- "h",
1756
- "hb",
1757
- "H",
1758
- "hB"
1759
- ],
1760
- KP: [
1761
- "h",
1762
- "H",
1763
- "hB",
1764
- "hb"
1765
- ],
1766
- KR: [
1767
- "h",
1768
- "H",
1769
- "hB",
1770
- "hb"
1771
- ],
1772
- KW: [
1773
- "h",
1774
- "hB",
1775
- "hb",
1776
- "H"
1777
- ],
1778
- KY: [
1779
- "h",
1780
- "hb",
1781
- "H",
1782
- "hB"
1783
- ],
1784
- KZ: [
1785
- "H",
1786
- "hB"
1787
- ],
1788
- LA: [
1789
- "H",
1790
- "hb",
1791
- "hB",
1792
- "h"
1793
- ],
1794
- LB: [
1795
- "h",
1796
- "hB",
1797
- "hb",
1798
- "H"
1799
- ],
1800
- LC: [
1801
- "h",
1802
- "hb",
1803
- "H",
1804
- "hB"
1805
- ],
1806
- LI: [
1807
- "H",
1808
- "hB",
1809
- "h"
1810
- ],
1811
- LK: [
1812
- "H",
1813
- "h",
1814
- "hB",
1815
- "hb"
1816
- ],
1817
- LR: [
1818
- "h",
1819
- "hb",
1820
- "H",
1821
- "hB"
1822
- ],
1823
- LS: [
1824
- "h",
1825
- "H"
1826
- ],
1827
- LT: [
1828
- "H",
1829
- "h",
1830
- "hb",
1831
- "hB"
1832
- ],
1833
- LU: [
1834
- "H",
1835
- "h",
1836
- "hB"
1837
- ],
1838
- LV: [
1839
- "H",
1840
- "hB",
1841
- "hb",
1842
- "h"
1843
- ],
1844
- LY: [
1845
- "h",
1846
- "hB",
1847
- "hb",
1848
- "H"
1849
- ],
1850
- MA: [
1851
- "H",
1852
- "h",
1853
- "hB",
1854
- "hb"
1855
- ],
1856
- MC: [
1857
- "H",
1858
- "hB"
1859
- ],
1860
- MD: [
1861
- "H",
1862
- "hB"
1863
- ],
1864
- ME: [
1865
- "H",
1866
- "hB",
1867
- "h"
1868
- ],
1869
- MF: [
1870
- "H",
1871
- "hB"
1872
- ],
1873
- MG: [
1874
- "H",
1875
- "h"
1876
- ],
1877
- MH: [
1878
- "h",
1879
- "hb",
1880
- "H",
1881
- "hB"
1882
- ],
1883
- MK: [
1884
- "H",
1885
- "h",
1886
- "hb",
1887
- "hB"
1888
- ],
1889
- ML: [
1890
- "H"
1891
- ],
1892
- MM: [
1893
- "hB",
1894
- "hb",
1895
- "H",
1896
- "h"
1897
- ],
1898
- MN: [
1899
- "H",
1900
- "h",
1901
- "hb",
1902
- "hB"
1903
- ],
1904
- MO: [
1905
- "h",
1906
- "hB",
1907
- "hb",
1908
- "H"
1909
- ],
1910
- MP: [
1911
- "h",
1912
- "hb",
1913
- "H",
1914
- "hB"
1915
- ],
1916
- MQ: [
1917
- "H",
1918
- "hB"
1919
- ],
1920
- MR: [
1921
- "h",
1922
- "hB",
1923
- "hb",
1924
- "H"
1925
- ],
1926
- MS: [
1927
- "H",
1928
- "h",
1929
- "hb",
1930
- "hB"
1931
- ],
1932
- MT: [
1933
- "H",
1934
- "h"
1935
- ],
1936
- MU: [
1937
- "H",
1938
- "h"
1939
- ],
1940
- MV: [
1941
- "H",
1942
- "h"
1943
- ],
1944
- MW: [
1945
- "h",
1946
- "hb",
1947
- "H",
1948
- "hB"
1949
- ],
1950
- MX: [
1951
- "h",
1952
- "H",
1953
- "hB",
1954
- "hb"
1955
- ],
1956
- MY: [
1957
- "hb",
1958
- "hB",
1959
- "h",
1960
- "H"
1961
- ],
1962
- MZ: [
1963
- "H",
1964
- "hB"
1965
- ],
1966
- NA: [
1967
- "h",
1968
- "H",
1969
- "hB",
1970
- "hb"
1971
- ],
1972
- NC: [
1973
- "H",
1974
- "hB"
1975
- ],
1976
- NE: [
1977
- "H"
1978
- ],
1979
- NF: [
1980
- "H",
1981
- "h",
1982
- "hb",
1983
- "hB"
1984
- ],
1985
- NG: [
1986
- "H",
1987
- "h",
1988
- "hb",
1989
- "hB"
1990
- ],
1991
- NI: [
1992
- "h",
1993
- "H",
1994
- "hB",
1995
- "hb"
1996
- ],
1997
- NL: [
1998
- "H",
1999
- "hB"
2000
- ],
2001
- NO: [
2002
- "H",
2003
- "h"
2004
- ],
2005
- NP: [
2006
- "H",
2007
- "h",
2008
- "hB"
2009
- ],
2010
- NR: [
2011
- "H",
2012
- "h",
2013
- "hb",
2014
- "hB"
2015
- ],
2016
- NU: [
2017
- "H",
2018
- "h",
2019
- "hb",
2020
- "hB"
2021
- ],
2022
- NZ: [
2023
- "h",
2024
- "hb",
2025
- "H",
2026
- "hB"
2027
- ],
2028
- OM: [
2029
- "h",
2030
- "hB",
2031
- "hb",
2032
- "H"
2033
- ],
2034
- PA: [
2035
- "h",
2036
- "H",
2037
- "hB",
2038
- "hb"
2039
- ],
2040
- PE: [
2041
- "h",
2042
- "H",
2043
- "hB",
2044
- "hb"
2045
- ],
2046
- PF: [
2047
- "H",
2048
- "h",
2049
- "hB"
2050
- ],
2051
- PG: [
2052
- "h",
2053
- "H"
2054
- ],
2055
- PH: [
2056
- "h",
2057
- "hB",
2058
- "hb",
2059
- "H"
2060
- ],
2061
- PK: [
2062
- "h",
2063
- "hB",
2064
- "H"
2065
- ],
2066
- PL: [
2067
- "H",
2068
- "h"
2069
- ],
2070
- PM: [
2071
- "H",
2072
- "hB"
2073
- ],
2074
- PN: [
2075
- "H",
2076
- "h",
2077
- "hb",
2078
- "hB"
2079
- ],
2080
- PR: [
2081
- "h",
2082
- "H",
2083
- "hB",
2084
- "hb"
2085
- ],
2086
- PS: [
2087
- "h",
2088
- "hB",
2089
- "hb",
2090
- "H"
2091
- ],
2092
- PT: [
2093
- "H",
2094
- "hB"
2095
- ],
2096
- PW: [
2097
- "h",
2098
- "H"
2099
- ],
2100
- PY: [
2101
- "h",
2102
- "H",
2103
- "hB",
2104
- "hb"
2105
- ],
2106
- QA: [
2107
- "h",
2108
- "hB",
2109
- "hb",
2110
- "H"
2111
- ],
2112
- RE: [
2113
- "H",
2114
- "hB"
2115
- ],
2116
- RO: [
2117
- "H",
2118
- "hB"
2119
- ],
2120
- RS: [
2121
- "H",
2122
- "hB",
2123
- "h"
2124
- ],
2125
- RU: [
2126
- "H"
2127
- ],
2128
- RW: [
2129
- "H",
2130
- "h"
2131
- ],
2132
- SA: [
2133
- "h",
2134
- "hB",
2135
- "hb",
2136
- "H"
2137
- ],
2138
- SB: [
2139
- "h",
2140
- "hb",
2141
- "H",
2142
- "hB"
2143
- ],
2144
- SC: [
2145
- "H",
2146
- "h",
2147
- "hB"
2148
- ],
2149
- SD: [
2150
- "h",
2151
- "hB",
2152
- "hb",
2153
- "H"
2154
- ],
2155
- SE: [
2156
- "H"
2157
- ],
2158
- SG: [
2159
- "h",
2160
- "hb",
2161
- "H",
2162
- "hB"
2163
- ],
2164
- SH: [
2165
- "H",
2166
- "h",
2167
- "hb",
2168
- "hB"
2169
- ],
2170
- SI: [
2171
- "H",
2172
- "hB"
2173
- ],
2174
- SJ: [
2175
- "H"
2176
- ],
2177
- SK: [
2178
- "H"
2179
- ],
2180
- SL: [
2181
- "h",
2182
- "hb",
2183
- "H",
2184
- "hB"
2185
- ],
2186
- SM: [
2187
- "H",
2188
- "h",
2189
- "hB"
2190
- ],
2191
- SN: [
2192
- "H",
2193
- "h",
2194
- "hB"
2195
- ],
2196
- SO: [
2197
- "h",
2198
- "H"
2199
- ],
2200
- SR: [
2201
- "H",
2202
- "hB"
2203
- ],
2204
- SS: [
2205
- "h",
2206
- "hb",
2207
- "H",
2208
- "hB"
2209
- ],
2210
- ST: [
2211
- "H",
2212
- "hB"
2213
- ],
2214
- SV: [
2215
- "h",
2216
- "H",
2217
- "hB",
2218
- "hb"
2219
- ],
2220
- SX: [
2221
- "H",
2222
- "h",
2223
- "hb",
2224
- "hB"
2225
- ],
2226
- SY: [
2227
- "h",
2228
- "hB",
2229
- "hb",
2230
- "H"
2231
- ],
2232
- SZ: [
2233
- "h",
2234
- "hb",
2235
- "H",
2236
- "hB"
2237
- ],
2238
- TA: [
2239
- "H",
2240
- "h",
2241
- "hb",
2242
- "hB"
2243
- ],
2244
- TC: [
2245
- "h",
2246
- "hb",
2247
- "H",
2248
- "hB"
2249
- ],
2250
- TD: [
2251
- "h",
2252
- "H",
2253
- "hB"
2254
- ],
2255
- TF: [
2256
- "H",
2257
- "h",
2258
- "hB"
2259
- ],
2260
- TG: [
2261
- "H",
2262
- "hB"
2263
- ],
2264
- TH: [
2265
- "H",
2266
- "h"
2267
- ],
2268
- TJ: [
2269
- "H",
2270
- "h"
2271
- ],
2272
- TL: [
2273
- "H",
2274
- "hB",
2275
- "hb",
2276
- "h"
2277
- ],
2278
- TM: [
2279
- "H",
2280
- "h"
2281
- ],
2282
- TN: [
2283
- "h",
2284
- "hB",
2285
- "hb",
2286
- "H"
2287
- ],
2288
- TO: [
2289
- "h",
2290
- "H"
2291
- ],
2292
- TR: [
2293
- "H",
2294
- "hB"
2295
- ],
2296
- TT: [
2297
- "h",
2298
- "hb",
2299
- "H",
2300
- "hB"
2301
- ],
2302
- TW: [
2303
- "hB",
2304
- "hb",
2305
- "h",
2306
- "H"
2307
- ],
2308
- TZ: [
2309
- "hB",
2310
- "hb",
2311
- "H",
2312
- "h"
2313
- ],
2314
- UA: [
2315
- "H",
2316
- "hB",
2317
- "h"
2318
- ],
2319
- UG: [
2320
- "hB",
2321
- "hb",
2322
- "H",
2323
- "h"
2324
- ],
2325
- UM: [
2326
- "h",
2327
- "hb",
2328
- "H",
2329
- "hB"
2330
- ],
2331
- US: [
2332
- "h",
2333
- "hb",
2334
- "H",
2335
- "hB"
2336
- ],
2337
- UY: [
2338
- "h",
2339
- "H",
2340
- "hB",
2341
- "hb"
2342
- ],
2343
- UZ: [
2344
- "H",
2345
- "hB",
2346
- "h"
2347
- ],
2348
- VA: [
2349
- "H",
2350
- "h",
2351
- "hB"
2352
- ],
2353
- VC: [
2354
- "h",
2355
- "hb",
2356
- "H",
2357
- "hB"
2358
- ],
2359
- VE: [
2360
- "h",
2361
- "H",
2362
- "hB",
2363
- "hb"
2364
- ],
2365
- VG: [
2366
- "h",
2367
- "hb",
2368
- "H",
2369
- "hB"
2370
- ],
2371
- VI: [
2372
- "h",
2373
- "hb",
2374
- "H",
2375
- "hB"
2376
- ],
2377
- VN: [
2378
- "H",
2379
- "h"
2380
- ],
2381
- VU: [
2382
- "h",
2383
- "H"
2384
- ],
2385
- WF: [
2386
- "H",
2387
- "hB"
2388
- ],
2389
- WS: [
2390
- "h",
2391
- "H"
2392
- ],
2393
- XK: [
2394
- "H",
2395
- "hB",
2396
- "h"
2397
- ],
2398
- YE: [
2399
- "h",
2400
- "hB",
2401
- "hb",
2402
- "H"
2403
- ],
2404
- YT: [
2405
- "H",
2406
- "hB"
2407
- ],
2408
- ZA: [
2409
- "H",
2410
- "h",
2411
- "hb",
2412
- "hB"
2413
- ],
2414
- ZM: [
2415
- "h",
2416
- "hb",
2417
- "H",
2418
- "hB"
2419
- ],
2420
- ZW: [
2421
- "H",
2422
- "h"
2423
- ],
2424
- "af-ZA": [
2425
- "H",
2426
- "h",
2427
- "hB",
2428
- "hb"
2429
- ],
2430
- "ar-001": [
2431
- "h",
2432
- "hB",
2433
- "hb",
2434
- "H"
2435
- ],
2436
- "ca-ES": [
2437
- "H",
2438
- "h",
2439
- "hB"
2440
- ],
2441
- "en-001": [
2442
- "h",
2443
- "hb",
2444
- "H",
2445
- "hB"
2446
- ],
2447
- "en-HK": [
2448
- "h",
2449
- "hb",
2450
- "H",
2451
- "hB"
2452
- ],
2453
- "en-IL": [
2454
- "H",
2455
- "h",
2456
- "hb",
2457
- "hB"
2458
- ],
2459
- "en-MY": [
2460
- "h",
2461
- "hb",
2462
- "H",
2463
- "hB"
2464
- ],
2465
- "es-BR": [
2466
- "H",
2467
- "h",
2468
- "hB",
2469
- "hb"
2470
- ],
2471
- "es-ES": [
2472
- "H",
2473
- "h",
2474
- "hB",
2475
- "hb"
2476
- ],
2477
- "es-GQ": [
2478
- "H",
2479
- "h",
2480
- "hB",
2481
- "hb"
2482
- ],
2483
- "fr-CA": [
2484
- "H",
2485
- "h",
2486
- "hB"
2487
- ],
2488
- "gl-ES": [
2489
- "H",
2490
- "h",
2491
- "hB"
2492
- ],
2493
- "gu-IN": [
2494
- "hB",
2495
- "hb",
2496
- "h",
2497
- "H"
2498
- ],
2499
- "hi-IN": [
2500
- "hB",
2501
- "h",
2502
- "H"
2503
- ],
2504
- "it-CH": [
2505
- "H",
2506
- "h",
2507
- "hB"
2508
- ],
2509
- "it-IT": [
2510
- "H",
2511
- "h",
2512
- "hB"
2513
- ],
2514
- "kn-IN": [
2515
- "hB",
2516
- "h",
2517
- "H"
2518
- ],
2519
- "ml-IN": [
2520
- "hB",
2521
- "h",
2522
- "H"
2523
- ],
2524
- "mr-IN": [
2525
- "hB",
2526
- "hb",
2527
- "h",
2528
- "H"
2529
- ],
2530
- "pa-IN": [
2531
- "hB",
2532
- "hb",
2533
- "h",
2534
- "H"
2535
- ],
2536
- "ta-IN": [
2537
- "hB",
2538
- "h",
2539
- "hb",
2540
- "H"
2541
- ],
2542
- "te-IN": [
2543
- "hB",
2544
- "h",
2545
- "H"
2546
- ],
2547
- "zu-ZA": [
2548
- "H",
2549
- "hB",
2550
- "hb",
2551
- "h"
2552
- ]
2553
- };
2554
- function _n(e, t) {
2555
- for (var r = "", n = 0; n < e.length; n++) {
2556
- var i = e.charAt(n);
2557
- if (i === "j") {
2558
- for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2559
- a++, n++;
2560
- var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = En(t);
2561
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2562
- r += l;
2563
- for (; o-- > 0; )
2564
- r = u + r;
2565
- } else
2566
- i === "J" ? r += "H" : r += i;
2567
- }
2568
- return r;
2569
- }
2570
- function En(e) {
2571
- var t = e.hourCycle;
2572
- if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2573
- e.hourCycles && // @ts-ignore
2574
- e.hourCycles.length && (t = e.hourCycles[0]), t)
2575
- switch (t) {
2576
- case "h24":
2577
- return "k";
2578
- case "h23":
2579
- return "H";
2580
- case "h12":
2581
- return "h";
2582
- case "h11":
2583
- return "K";
2584
- default:
2585
- throw new Error("Invalid hourCycle");
2586
- }
2587
- var r = e.language, n;
2588
- r !== "root" && (n = e.maximize().region);
2589
- var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
2590
- return i[0];
2591
- }
2592
- var Fe, xn = new RegExp("^".concat(Jt.source, "*")), Tn = new RegExp("".concat(Jt.source, "*$"));
2593
- function y(e, t) {
2594
- return { start: e, end: t };
2595
- }
2596
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), wn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, kn = Rn ? Number.isSafeInteger : function(e) {
2597
- return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2598
- }, Ye = !0;
2599
- try {
2600
- var Nn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2601
- Ye = ((Fe = Nn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2602
- } catch (e) {
2603
- Ye = !1;
2604
- }
2605
- var vt = Bn ? (
2606
- // Native
2607
- function(t, r, n) {
2608
- return t.startsWith(r, n);
2609
- }
2610
- ) : (
2611
- // For IE11
2612
- function(t, r, n) {
2613
- return t.slice(n, n + r.length) === r;
2614
- }
2615
- ), Ke = wn ? String.fromCodePoint : (
2616
- // IE11
2617
- function() {
2618
- for (var t = [], r = 0; r < arguments.length; r++)
2619
- t[r] = arguments[r];
2620
- for (var n = "", i = t.length, a = 0, o; i > a; ) {
2621
- if (o = t[a++], o > 1114111)
2622
- throw RangeError(o + " is not a valid code point");
2623
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2624
- }
2625
- return n;
2626
- }
2627
- ), _t = (
2628
- // native
2629
- Hn ? Object.fromEntries : (
2630
- // Ponyfill
2631
- function(t) {
2632
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2633
- var a = i[n], o = a[0], s = a[1];
2634
- r[o] = s;
2635
- }
2636
- return r;
2637
- }
2638
- )
2639
- ), Qt = Sn ? (
2640
- // Native
2641
- function(t, r) {
2642
- return t.codePointAt(r);
2643
- }
2644
- ) : (
2645
- // IE 11
2646
- function(t, r) {
2647
- var n = t.length;
2648
- if (!(r < 0 || r >= n)) {
2649
- var i = t.charCodeAt(r), a;
2650
- return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2651
- }
2652
- }
2653
- ), An = Cn ? (
2654
- // Native
2655
- function(t) {
2656
- return t.trimStart();
2657
- }
2658
- ) : (
2659
- // Ponyfill
2660
- function(t) {
2661
- return t.replace(xn, "");
2662
- }
2663
- ), Ln = Mn ? (
2664
- // Native
2665
- function(t) {
2666
- return t.trimEnd();
2667
- }
2668
- ) : (
2669
- // Ponyfill
2670
- function(t) {
2671
- return t.replace(Tn, "");
2672
- }
2673
- );
2674
- function er(e, t) {
2675
- return new RegExp(e, t);
2676
- }
2677
- var qe;
2678
- if (Ye) {
2679
- var Et = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2680
- qe = function(t, r) {
2681
- var n;
2682
- Et.lastIndex = r;
2683
- var i = Et.exec(t);
2684
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2685
- };
2686
- } else
2687
- qe = function(t, r) {
2688
- for (var n = []; ; ) {
2689
- var i = Qt(t, r);
2690
- if (i === void 0 || tr(i) || $n(i))
2691
- break;
2692
- n.push(i), r += i >= 65536 ? 2 : 1;
2693
- }
2694
- return Ke.apply(void 0, n);
2695
- };
2696
- var Pn = (
2697
- /** @class */
2698
- function() {
2699
- function e(t, r) {
2700
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2701
- }
2702
- return e.prototype.parse = function() {
2703
- if (this.offset() !== 0)
2704
- throw Error("parser can only be used once");
2705
- return this.parseMessage(0, "", !1);
2706
- }, e.prototype.parseMessage = function(t, r, n) {
2707
- for (var i = []; !this.isEOF(); ) {
2708
- var a = this.char();
2709
- if (a === 123) {
2710
- var o = this.parseArgument(t, n);
2711
- if (o.err)
2712
- return o;
2713
- i.push(o.val);
2714
- } else {
2715
- if (a === 125 && t > 0)
2716
- break;
2717
- if (a === 35 && (r === "plural" || r === "selectordinal")) {
2718
- var s = this.clonePosition();
2719
- this.bump(), i.push({
2720
- type: B.pound,
2721
- location: y(s, this.clonePosition())
2722
- });
2723
- } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2724
- if (n)
2725
- break;
2726
- return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2727
- } else if (a === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2728
- var o = this.parseTag(t, r);
2729
- if (o.err)
2730
- return o;
2731
- i.push(o.val);
2732
- } else {
2733
- var o = this.parseLiteral(t, r);
2734
- if (o.err)
2735
- return o;
2736
- i.push(o.val);
2737
- }
2738
- }
2739
- }
2740
- return { val: i, err: null };
2741
- }, e.prototype.parseTag = function(t, r) {
2742
- var n = this.clonePosition();
2743
- this.bump();
2744
- var i = this.parseTagName();
2745
- if (this.bumpSpace(), this.bumpIf("/>"))
2746
- return {
2747
- val: {
2748
- type: B.literal,
2749
- value: "<".concat(i, "/>"),
2750
- location: y(n, this.clonePosition())
2751
- },
2752
- err: null
2753
- };
2754
- if (this.bumpIf(">")) {
2755
- var a = this.parseMessage(t + 1, r, !0);
2756
- if (a.err)
2757
- return a;
2758
- var o = a.val, s = this.clonePosition();
2759
- if (this.bumpIf("</")) {
2760
- if (this.isEOF() || !Qe(this.char()))
2761
- return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
2762
- var l = this.clonePosition(), u = this.parseTagName();
2763
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2764
- val: {
2765
- type: B.tag,
2766
- value: i,
2767
- children: o,
2768
- location: y(n, this.clonePosition())
2769
- },
2770
- err: null
2771
- } : this.error(b.INVALID_TAG, y(s, this.clonePosition())));
2772
- } else
2773
- return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2774
- } else
2775
- return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2776
- }, e.prototype.parseTagName = function() {
2777
- var t = this.offset();
2778
- for (this.bump(); !this.isEOF() && In(this.char()); )
2779
- this.bump();
2780
- return this.message.slice(t, this.offset());
2781
- }, e.prototype.parseLiteral = function(t, r) {
2782
- for (var n = this.clonePosition(), i = ""; ; ) {
2783
- var a = this.tryParseQuote(r);
2784
- if (a) {
2785
- i += a;
2786
- continue;
2787
- }
2788
- var o = this.tryParseUnquoted(t, r);
2789
- if (o) {
2790
- i += o;
2791
- continue;
2792
- }
2793
- var s = this.tryParseLeftAngleBracket();
2794
- if (s) {
2795
- i += s;
2796
- continue;
2797
- }
2798
- break;
2799
- }
2800
- var l = y(n, this.clonePosition());
2801
- return {
2802
- val: { type: B.literal, value: i, location: l },
2803
- err: null
2804
- };
2805
- }, e.prototype.tryParseLeftAngleBracket = function() {
2806
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2807
- !On(this.peek() || 0)) ? (this.bump(), "<") : null;
2808
- }, e.prototype.tryParseQuote = function(t) {
2809
- if (this.isEOF() || this.char() !== 39)
2810
- return null;
2811
- switch (this.peek()) {
2812
- case 39:
2813
- return this.bump(), this.bump(), "'";
2814
- case 123:
2815
- case 60:
2816
- case 62:
2817
- case 125:
2818
- break;
2819
- case 35:
2820
- if (t === "plural" || t === "selectordinal")
2821
- break;
2822
- return null;
2823
- default:
2824
- return null;
2825
- }
2826
- this.bump();
2827
- var r = [this.char()];
2828
- for (this.bump(); !this.isEOF(); ) {
2829
- var n = this.char();
2830
- if (n === 39)
2831
- if (this.peek() === 39)
2832
- r.push(39), this.bump();
2833
- else {
2834
- this.bump();
2835
- break;
2836
- }
2837
- else
2838
- r.push(n);
2839
- this.bump();
2840
- }
2841
- return Ke.apply(void 0, r);
2842
- }, e.prototype.tryParseUnquoted = function(t, r) {
2843
- if (this.isEOF())
2844
- return null;
2845
- var n = this.char();
2846
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
2847
- }, e.prototype.parseArgument = function(t, r) {
2848
- var n = this.clonePosition();
2849
- if (this.bump(), this.bumpSpace(), this.isEOF())
2850
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2851
- if (this.char() === 125)
2852
- return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2853
- var i = this.parseIdentifierIfPossible().value;
2854
- if (!i)
2855
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2856
- if (this.bumpSpace(), this.isEOF())
2857
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2858
- switch (this.char()) {
2859
- case 125:
2860
- return this.bump(), {
2861
- val: {
2862
- type: B.argument,
2863
- // value does not include the opening and closing braces.
2864
- value: i,
2865
- location: y(n, this.clonePosition())
2866
- },
2867
- err: null
2868
- };
2869
- case 44:
2870
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2871
- default:
2872
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2873
- }
2874
- }, e.prototype.parseIdentifierIfPossible = function() {
2875
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2876
- this.bumpTo(i);
2877
- var a = this.clonePosition(), o = y(t, a);
2878
- return { value: n, location: o };
2879
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2880
- var a, o = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2881
- switch (s) {
2882
- case "":
2883
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(o, l));
2884
- case "number":
2885
- case "date":
2886
- case "time": {
2887
- this.bumpSpace();
2888
- var u = null;
2889
- if (this.bumpIf(",")) {
2890
- this.bumpSpace();
2891
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2892
- if (c.err)
2893
- return c;
2894
- var f = Ln(c.val);
2895
- if (f.length === 0)
2896
- return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2897
- var g = y(h, this.clonePosition());
2898
- u = { style: f, styleLocation: g };
2899
- }
2900
- var _ = this.tryParseArgumentClose(i);
2901
- if (_.err)
2902
- return _;
2903
- var T = y(i, this.clonePosition());
2904
- if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
2905
- var H = An(u.style.slice(2));
2906
- if (s === "number") {
2907
- var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
2908
- return c.err ? c : {
2909
- val: { type: B.number, value: n, location: T, style: c.val },
2910
- err: null
2911
- };
2912
- } else {
2913
- if (H.length === 0)
2914
- return this.error(b.EXPECT_DATE_TIME_SKELETON, T);
2915
- var w = H;
2916
- this.locale && (w = _n(H, this.locale));
2917
- var f = {
2918
- type: he.dateTime,
2919
- pattern: w,
2920
- location: u.styleLocation,
2921
- parsedOptions: this.shouldParseSkeletons ? mn(w) : {}
2922
- }, k = s === "date" ? B.date : B.time;
2923
- return {
2924
- val: { type: k, value: n, location: T, style: f },
2925
- err: null
2926
- };
2927
- }
2928
- }
2929
- return {
2930
- val: {
2931
- type: s === "number" ? B.number : s === "date" ? B.date : B.time,
2932
- value: n,
2933
- location: T,
2934
- style: (a = u == null ? void 0 : u.style) !== null && a !== void 0 ? a : null
2935
- },
2936
- err: null
2937
- };
2938
- }
2939
- case "plural":
2940
- case "selectordinal":
2941
- case "select": {
2942
- var C = this.clonePosition();
2943
- if (this.bumpSpace(), !this.bumpIf(","))
2944
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(C, v({}, C)));
2945
- this.bumpSpace();
2946
- var L = this.parseIdentifierIfPossible(), N = 0;
2947
- if (s !== "select" && L.value === "offset") {
2948
- if (!this.bumpIf(":"))
2949
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2950
- this.bumpSpace();
2951
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2952
- if (c.err)
2953
- return c;
2954
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), N = c.val;
2955
- }
2956
- var X = this.tryParsePluralOrSelectOptions(t, s, r, L);
2957
- if (X.err)
2958
- return X;
2959
- var _ = this.tryParseArgumentClose(i);
2960
- if (_.err)
2961
- return _;
2962
- var te = y(i, this.clonePosition());
2963
- return s === "select" ? {
2964
- val: {
2965
- type: B.select,
2966
- value: n,
2967
- options: _t(X.val),
2968
- location: te
2969
- },
2970
- err: null
2971
- } : {
2972
- val: {
2973
- type: B.plural,
2974
- value: n,
2975
- options: _t(X.val),
2976
- offset: N,
2977
- pluralType: s === "plural" ? "cardinal" : "ordinal",
2978
- location: te
2979
- },
2980
- err: null
2981
- };
2982
- }
2983
- default:
2984
- return this.error(b.INVALID_ARGUMENT_TYPE, y(o, l));
2985
- }
2986
- }, e.prototype.tryParseArgumentClose = function(t) {
2987
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2988
- }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2989
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2990
- var n = this.char();
2991
- switch (n) {
2992
- case 39: {
2993
- this.bump();
2994
- var i = this.clonePosition();
2995
- if (!this.bumpUntil("'"))
2996
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
2997
- this.bump();
2998
- break;
2999
- }
3000
- case 123: {
3001
- t += 1, this.bump();
3002
- break;
3003
- }
3004
- case 125: {
3005
- if (t > 0)
3006
- t -= 1;
3007
- else
3008
- return {
3009
- val: this.message.slice(r.offset, this.offset()),
3010
- err: null
3011
- };
3012
- break;
3013
- }
3014
- default:
3015
- this.bump();
3016
- break;
3017
- }
3018
- }
3019
- return {
3020
- val: this.message.slice(r.offset, this.offset()),
3021
- err: null
3022
- };
3023
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3024
- var n = [];
3025
- try {
3026
- n = pn(t);
3027
- } catch (i) {
3028
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3029
- }
3030
- return {
3031
- val: {
3032
- type: he.number,
3033
- tokens: n,
3034
- location: r,
3035
- parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
3036
- },
3037
- err: null
3038
- };
3039
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3040
- for (var a, o = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3041
- if (u.length === 0) {
3042
- var c = this.clonePosition();
3043
- if (r !== "select" && this.bumpIf("=")) {
3044
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3045
- if (f.err)
3046
- return f;
3047
- h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3048
- } else
3049
- break;
3050
- }
3051
- if (l.has(u))
3052
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3053
- u === "other" && (o = !0), this.bumpSpace();
3054
- var g = this.clonePosition();
3055
- if (!this.bumpIf("{"))
3056
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3057
- var _ = this.parseMessage(t + 1, r, n);
3058
- if (_.err)
3059
- return _;
3060
- var T = this.tryParseArgumentClose(g);
3061
- if (T.err)
3062
- return T;
3063
- s.push([
3064
- u,
3065
- {
3066
- value: _.val,
3067
- location: y(g, this.clonePosition())
3068
- }
3069
- ]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, h = a.location;
3070
- }
3071
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3072
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3073
- var n = 1, i = this.clonePosition();
3074
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3075
- for (var a = !1, o = 0; !this.isEOF(); ) {
3076
- var s = this.char();
3077
- if (s >= 48 && s <= 57)
3078
- a = !0, o = o * 10 + (s - 48), this.bump();
3079
- else
3080
- break;
3081
- }
3082
- var l = y(i, this.clonePosition());
3083
- return a ? (o *= n, kn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3084
- }, e.prototype.offset = function() {
3085
- return this.position.offset;
3086
- }, e.prototype.isEOF = function() {
3087
- return this.offset() === this.message.length;
3088
- }, e.prototype.clonePosition = function() {
3089
- return {
3090
- offset: this.position.offset,
3091
- line: this.position.line,
3092
- column: this.position.column
3093
- };
3094
- }, e.prototype.char = function() {
3095
- var t = this.position.offset;
3096
- if (t >= this.message.length)
3097
- throw Error("out of bound");
3098
- var r = Qt(this.message, t);
3099
- if (r === void 0)
3100
- throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3101
- return r;
3102
- }, e.prototype.error = function(t, r) {
3103
- return {
3104
- val: null,
3105
- err: {
3106
- kind: t,
3107
- message: this.message,
3108
- location: r
3109
- }
3110
- };
3111
- }, e.prototype.bump = function() {
3112
- if (!this.isEOF()) {
3113
- var t = this.char();
3114
- 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);
3115
- }
3116
- }, e.prototype.bumpIf = function(t) {
3117
- if (vt(this.message, t, this.offset())) {
3118
- for (var r = 0; r < t.length; r++)
3119
- this.bump();
3120
- return !0;
3121
- }
3122
- return !1;
3123
- }, e.prototype.bumpUntil = function(t) {
3124
- var r = this.offset(), n = this.message.indexOf(t, r);
3125
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3126
- }, e.prototype.bumpTo = function(t) {
3127
- if (this.offset() > t)
3128
- throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3129
- for (t = Math.min(t, this.message.length); ; ) {
3130
- var r = this.offset();
3131
- if (r === t)
3132
- break;
3133
- if (r > t)
3134
- throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3135
- if (this.bump(), this.isEOF())
3136
- break;
3137
- }
3138
- }, e.prototype.bumpSpace = function() {
3139
- for (; !this.isEOF() && tr(this.char()); )
3140
- this.bump();
3141
- }, e.prototype.peek = function() {
3142
- if (this.isEOF())
3143
- return null;
3144
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3145
- return n != null ? n : null;
3146
- }, e;
3147
- }()
3148
- );
3149
- function Qe(e) {
3150
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3151
- }
3152
- function On(e) {
3153
- return Qe(e) || e === 47;
3154
- }
3155
- function In(e) {
3156
- 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;
3157
- }
3158
- function tr(e) {
3159
- return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3160
- }
3161
- function $n(e) {
3162
- 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;
3163
- }
3164
- function et(e) {
3165
- e.forEach(function(t) {
3166
- if (delete t.location, zt(t) || Xt(t))
3167
- for (var r in t.options)
3168
- delete t.options[r].location, et(t.options[r].value);
3169
- else
3170
- Ft(t) && Zt(t.style) || (jt(t) || Vt(t)) && Je(t.style) ? delete t.style.location : Wt(t) && et(t.children);
3171
- });
3172
- }
3173
- function Dn(e, t) {
3174
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3175
- var r = new Pn(e, t).parse();
3176
- if (r.err) {
3177
- var n = SyntaxError(b[r.err.kind]);
3178
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3179
- }
3180
- return t != null && t.captureLocation || et(r.val), r.val;
3181
- }
3182
- var ce;
3183
- (function(e) {
3184
- e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3185
- })(ce || (ce = {}));
3186
- var Le = (
3187
- /** @class */
3188
- function(e) {
3189
- Ae(t, e);
3190
- function t(r, n, i) {
3191
- var a = e.call(this, r) || this;
3192
- return a.code = n, a.originalMessage = i, a;
3193
- }
3194
- return t.prototype.toString = function() {
3195
- return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3196
- }, t;
3197
- }(Error)
3198
- ), xt = (
3199
- /** @class */
3200
- function(e) {
3201
- Ae(t, e);
3202
- function t(r, n, i, a) {
3203
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, a) || this;
3204
- }
3205
- return t;
3206
- }(Le)
3207
- ), Un = (
3208
- /** @class */
3209
- function(e) {
3210
- Ae(t, e);
3211
- function t(r, n, i) {
3212
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3213
- }
3214
- return t;
3215
- }(Le)
3216
- ), Gn = (
3217
- /** @class */
3218
- function(e) {
3219
- Ae(t, e);
3220
- function t(r, n) {
3221
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3222
- }
3223
- return t;
3224
- }(Le)
3225
- ), O;
3226
- (function(e) {
3227
- e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3228
- })(O || (O = {}));
3229
- function Fn(e) {
3230
- return e.length < 2 ? e : e.reduce(function(t, r) {
3231
- var n = t[t.length - 1];
3232
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3233
- }, []);
3234
- }
3235
- function jn(e) {
3236
- return typeof e == "function";
3237
- }
3238
- function He(e, t, r, n, i, a, o) {
3239
- if (e.length === 1 && pt(e[0]))
3240
- return [
3241
- {
3242
- type: O.literal,
3243
- value: e[0].value
3244
- }
3245
- ];
3246
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3247
- var h = u[l];
3248
- if (pt(h)) {
3249
- s.push({
3250
- type: O.literal,
3251
- value: h.value
3252
- });
3253
- continue;
3254
- }
3255
- if (cn(h)) {
3256
- typeof a == "number" && s.push({
3257
- type: O.literal,
3258
- value: r.getNumberFormat(t).format(a)
3259
- });
3260
- continue;
3261
- }
3262
- var c = h.value;
3263
- if (!(i && c in i))
3264
- throw new Gn(c, o);
3265
- var f = i[c];
3266
- if (hn(h)) {
3267
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3268
- type: typeof f == "string" ? O.literal : O.object,
3269
- value: f
3270
- });
3271
- continue;
3272
- }
3273
- if (jt(h)) {
3274
- var g = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
3275
- s.push({
3276
- type: O.literal,
3277
- value: r.getDateTimeFormat(t, g).format(f)
3278
- });
3279
- continue;
3280
- }
3281
- if (Vt(h)) {
3282
- var g = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
3283
- s.push({
3284
- type: O.literal,
3285
- value: r.getDateTimeFormat(t, g).format(f)
3286
- });
3287
- continue;
3288
- }
3289
- if (Ft(h)) {
3290
- var g = typeof h.style == "string" ? n.number[h.style] : Zt(h.style) ? h.style.parsedOptions : void 0;
3291
- g && g.scale && (f = f * (g.scale || 1)), s.push({
3292
- type: O.literal,
3293
- value: r.getNumberFormat(t, g).format(f)
3294
- });
3295
- continue;
3296
- }
3297
- if (Wt(h)) {
3298
- var _ = h.children, T = h.value, H = i[T];
3299
- if (!jn(H))
3300
- throw new Un(T, "function", o);
3301
- var w = He(_, t, r, n, i, a), k = H(w.map(function(N) {
3302
- return N.value;
3303
- }));
3304
- Array.isArray(k) || (k = [k]), s.push.apply(s, k.map(function(N) {
3305
- return {
3306
- type: typeof N == "string" ? O.literal : O.object,
3307
- value: N
3308
- };
3309
- }));
3310
- }
3311
- if (zt(h)) {
3312
- var C = h.options[f] || h.options.other;
3313
- if (!C)
3314
- throw new xt(h.value, f, Object.keys(h.options), o);
3315
- s.push.apply(s, He(C.value, t, r, n, i));
3316
- continue;
3317
- }
3318
- if (Xt(h)) {
3319
- var C = h.options["=".concat(f)];
3320
- if (!C) {
3321
- if (!Intl.PluralRules)
3322
- throw new Le(`Intl.PluralRules is not available in this environment.
3323
- Try polyfilling it using "@formatjs/intl-pluralrules"
3324
- `, ce.MISSING_INTL_API, o);
3325
- var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3326
- C = h.options[L] || h.options.other;
3327
- }
3328
- if (!C)
3329
- throw new xt(h.value, f, Object.keys(h.options), o);
3330
- s.push.apply(s, He(C.value, t, r, n, i, f - (h.offset || 0)));
3331
- continue;
3332
- }
3333
- }
3334
- return Fn(s);
3335
- }
3336
- function Vn(e, t) {
3337
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3338
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3339
- }, {})) : e;
3340
- }
3341
- function zn(e, t) {
3342
- return t ? Object.keys(e).reduce(function(r, n) {
3343
- return r[n] = Vn(e[n], t[n]), r;
3344
- }, v({}, e)) : e;
3345
- }
3346
- function je(e) {
3347
- return {
3348
- create: function() {
3349
- return {
3350
- get: function(t) {
3351
- return e[t];
3352
- },
3353
- set: function(t, r) {
3354
- e[t] = r;
3355
- }
3356
- };
3357
- }
3358
- };
3359
- }
3360
- function Xn(e) {
3361
- return e === void 0 && (e = {
3362
- number: {},
3363
- dateTime: {},
3364
- pluralRules: {}
3365
- }), {
3366
- getNumberFormat: Ue(function() {
3367
- for (var t, r = [], n = 0; n < arguments.length; n++)
3368
- r[n] = arguments[n];
3369
- return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3370
- }, {
3371
- cache: je(e.number),
3372
- strategy: Ge.variadic
3373
- }),
3374
- getDateTimeFormat: Ue(function() {
3375
- for (var t, r = [], n = 0; n < arguments.length; n++)
3376
- r[n] = arguments[n];
3377
- return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3378
- }, {
3379
- cache: je(e.dateTime),
3380
- strategy: Ge.variadic
3381
- }),
3382
- getPluralRules: Ue(function() {
3383
- for (var t, r = [], n = 0; n < arguments.length; n++)
3384
- r[n] = arguments[n];
3385
- return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3386
- }, {
3387
- cache: je(e.pluralRules),
3388
- strategy: Ge.variadic
3389
- })
3390
- };
3391
- }
3392
- var Wn = (
3393
- /** @class */
3394
- function() {
3395
- function e(t, r, n, i) {
3396
- r === void 0 && (r = e.defaultLocale);
3397
- var a = this;
3398
- if (this.formatterCache = {
3399
- number: {},
3400
- dateTime: {},
3401
- pluralRules: {}
3402
- }, this.format = function(l) {
3403
- var u = a.formatToParts(l);
3404
- if (u.length === 1)
3405
- return u[0].value;
3406
- var h = u.reduce(function(c, f) {
3407
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3408
- }, []);
3409
- return h.length <= 1 ? h[0] || "" : h;
3410
- }, this.formatToParts = function(l) {
3411
- return He(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3412
- }, this.resolvedOptions = function() {
3413
- var l;
3414
- return {
3415
- locale: ((l = a.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
3416
- };
3417
- }, this.getAst = function() {
3418
- return a.ast;
3419
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3420
- if (this.message = t, !e.__parse)
3421
- throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3422
- var o = i || {};
3423
- o.formatters;
3424
- var s = tn(o, ["formatters"]);
3425
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3426
- } else
3427
- this.ast = t;
3428
- if (!Array.isArray(this.ast))
3429
- throw new TypeError("A message must be provided as a String or AST.");
3430
- this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
3431
- }
3432
- return Object.defineProperty(e, "defaultLocale", {
3433
- get: function() {
3434
- return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
3435
- },
3436
- enumerable: !1,
3437
- configurable: !0
3438
- }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3439
- if (typeof Intl.Locale != "undefined") {
3440
- var r = Intl.NumberFormat.supportedLocalesOf(t);
3441
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3442
- }
3443
- }, e.__parse = Dn, e.formats = {
3444
- number: {
3445
- integer: {
3446
- maximumFractionDigits: 0
3447
- },
3448
- currency: {
3449
- style: "currency"
3450
- },
3451
- percent: {
3452
- style: "percent"
3453
- }
3454
- },
3455
- date: {
3456
- short: {
3457
- month: "numeric",
3458
- day: "numeric",
3459
- year: "2-digit"
3460
- },
3461
- medium: {
3462
- month: "short",
3463
- day: "numeric",
3464
- year: "numeric"
3465
- },
3466
- long: {
3467
- month: "long",
3468
- day: "numeric",
3469
- year: "numeric"
3470
- },
3471
- full: {
3472
- weekday: "long",
3473
- month: "long",
3474
- day: "numeric",
3475
- year: "numeric"
3476
- }
3477
- },
3478
- time: {
3479
- short: {
3480
- hour: "numeric",
3481
- minute: "numeric"
3482
- },
3483
- medium: {
3484
- hour: "numeric",
3485
- minute: "numeric",
3486
- second: "numeric"
3487
- },
3488
- long: {
3489
- hour: "numeric",
3490
- minute: "numeric",
3491
- second: "numeric",
3492
- timeZoneName: "short"
3493
- },
3494
- full: {
3495
- hour: "numeric",
3496
- minute: "numeric",
3497
- second: "numeric",
3498
- timeZoneName: "short"
3499
- }
3500
- }
3501
- }, e;
3502
- }()
3503
- );
3504
- function Zn(e, t) {
3505
- if (t == null)
3506
- return;
3507
- if (t in e)
3508
- return e[t];
3509
- const r = t.split(".");
3510
- let n = e;
3511
- for (let i = 0; i < r.length; i++)
3512
- if (typeof n == "object") {
3513
- if (i > 0) {
3514
- const a = r.slice(i, r.length).join(".");
3515
- if (a in n) {
3516
- n = n[a];
3517
- break;
3518
- }
3519
- }
3520
- n = n[r[i]];
3521
- } else
3522
- n = void 0;
3523
- return n;
3524
- }
3525
- const Q = {}, Jn = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), rr = (e, t) => {
3526
- if (t == null)
3527
- return;
3528
- if (t in Q && e in Q[t])
3529
- return Q[t][e];
3530
- const r = Pe(t);
3531
- for (let n = 0; n < r.length; n++) {
3532
- const i = r[n], a = Kn(i, e);
3533
- if (a)
3534
- return Jn(e, t, a);
3535
- }
3536
- };
3537
- let at;
3538
- const de = Ne({});
3539
- function Yn(e) {
3540
- return at[e] || null;
3541
- }
3542
- function nr(e) {
3543
- return e in at;
3544
- }
3545
- function Kn(e, t) {
3546
- if (!nr(e))
3547
- return null;
3548
- const r = Yn(e);
3549
- return Zn(r, t);
3550
- }
3551
- function qn(e) {
3552
- if (e == null)
3553
- return;
3554
- const t = Pe(e);
3555
- for (let r = 0; r < t.length; r++) {
3556
- const n = t[r];
3557
- if (nr(n))
3558
- return n;
3559
- }
3560
- }
3561
- function ir(e, ...t) {
3562
- delete Q[e], de.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
3563
- }
3564
- me(
3565
- [de],
3566
- ([e]) => Object.keys(e)
3567
- );
3568
- de.subscribe((e) => at = e);
3569
- const Se = {};
3570
- function Qn(e, t) {
3571
- Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3572
- }
3573
- function ar(e) {
3574
- return Se[e];
3575
- }
3576
- function ei(e) {
3577
- return Pe(e).map((t) => {
3578
- const r = ar(t);
3579
- return [t, r ? [...r] : []];
3580
- }).filter(([, t]) => t.length > 0);
3581
- }
3582
- function tt(e) {
3583
- return e == null ? !1 : Pe(e).some(
3584
- (t) => {
3585
- var r;
3586
- return (r = ar(t)) == null ? void 0 : r.size;
3587
- }
3588
- );
3589
- }
3590
- function ti(e, t) {
3591
- return Promise.all(
3592
- t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
3593
- ).then((n) => ir(e, ...n));
3594
- }
3595
- const be = {};
3596
- function or(e) {
3597
- if (!tt(e))
3598
- return e in be ? be[e] : Promise.resolve();
3599
- const t = ei(e);
3600
- return be[e] = Promise.all(
3601
- t.map(
3602
- ([r, n]) => ti(r, n)
3603
- )
3604
- ).then(() => {
3605
- if (tt(e))
3606
- return or(e);
3607
- delete be[e];
3608
- }), be[e];
3609
- }
3610
- const ri = {
3611
- number: {
3612
- scientific: { notation: "scientific" },
3613
- engineering: { notation: "engineering" },
3614
- compactLong: { notation: "compact", compactDisplay: "long" },
3615
- compactShort: { notation: "compact", compactDisplay: "short" }
3616
- },
3617
- date: {
3618
- short: { month: "numeric", day: "numeric", year: "2-digit" },
3619
- medium: { month: "short", day: "numeric", year: "numeric" },
3620
- long: { month: "long", day: "numeric", year: "numeric" },
3621
- full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
3622
- },
3623
- time: {
3624
- short: { hour: "numeric", minute: "numeric" },
3625
- medium: { hour: "numeric", minute: "numeric", second: "numeric" },
3626
- long: {
3627
- hour: "numeric",
3628
- minute: "numeric",
3629
- second: "numeric",
3630
- timeZoneName: "short"
3631
- },
3632
- full: {
3633
- hour: "numeric",
3634
- minute: "numeric",
3635
- second: "numeric",
3636
- timeZoneName: "short"
3637
- }
3638
- }
3639
- }, ni = {
3640
- fallbackLocale: null,
3641
- loadingDelay: 200,
3642
- formats: ri,
3643
- warnOnMissingMessages: !0,
3644
- handleMissingMessage: void 0,
3645
- ignoreTag: !0
3646
- }, ii = ni;
3647
- function fe() {
3648
- return ii;
3649
- }
3650
- const Ve = Ne(!1);
3651
- var ai = Object.defineProperty, oi = Object.defineProperties, si = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3652
- for (var r in t)
3653
- ui.call(t, r) && Bt(e, r, t[r]);
3654
- if (Tt)
3655
- for (var r of Tt(t))
3656
- li.call(t, r) && Bt(e, r, t[r]);
3657
- return e;
3658
- }, ci = (e, t) => oi(e, si(t));
3659
- let rt;
3660
- const Ce = Ne(null);
3661
- function wt(e) {
3662
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3663
- }
3664
- function Pe(e, t = fe().fallbackLocale) {
3665
- const r = wt(e);
3666
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3667
- }
3668
- function ne() {
3669
- return rt != null ? rt : void 0;
3670
- }
3671
- Ce.subscribe((e) => {
3672
- rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3673
- });
3674
- const fi = (e) => {
3675
- if (e && qn(e) && tt(e)) {
3676
- const { loadingDelay: t } = fe();
3677
- let r;
3678
- return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
3679
- () => Ve.set(!0),
3680
- t
3681
- ) : Ve.set(!0), or(e).then(() => {
3682
- Ce.set(e);
3683
- }).finally(() => {
3684
- clearTimeout(r), Ve.set(!1);
3685
- });
3686
- }
3687
- return Ce.set(e);
3688
- }, ee = ci(hi({}, Ce), {
3689
- set: fi
3690
- }), Oe = (e) => {
3691
- const t = /* @__PURE__ */ Object.create(null);
3692
- return (n) => {
3693
- const i = JSON.stringify(n);
3694
- return i in t ? t[i] : t[i] = e(n);
3695
- };
3696
- };
3697
- var mi = Object.defineProperty, Me = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3698
- for (var r in t || (t = {}))
3699
- sr.call(t, r) && Ht(e, r, t[r]);
3700
- if (Me)
3701
- for (var r of Me(t))
3702
- ur.call(t, r) && Ht(e, r, t[r]);
3703
- return e;
3704
- }, pe = (e, t) => {
3705
- var r = {};
3706
- for (var n in e)
3707
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3708
- if (e != null && Me)
3709
- for (var n of Me(e))
3710
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
3711
- return r;
3712
- };
3713
- const _e = (e, t) => {
3714
- const { formats: r } = fe();
3715
- if (e in r && t in r[e])
3716
- return r[e][t];
3717
- throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3718
- }, di = Oe(
3719
- (e) => {
3720
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3721
- if (r == null)
3722
- throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3723
- return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
3724
- }
3725
- ), pi = Oe(
3726
- (e) => {
3727
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3728
- if (r == null)
3729
- throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3730
- return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
3731
- }
3732
- ), bi = Oe(
3733
- (e) => {
3734
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3735
- if (r == null)
3736
- throw new Error(
3737
- '[svelte-i18n] A "locale" must be set to format time values'
3738
- );
3739
- return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
3740
- }
3741
- ), gi = (e = {}) => {
3742
- var t = e, {
3743
- locale: r = ne()
3744
- } = t, n = pe(t, [
3745
- "locale"
3746
- ]);
3747
- return di(ot({ locale: r }, n));
3748
- }, yi = (e = {}) => {
3749
- var t = e, {
3750
- locale: r = ne()
3751
- } = t, n = pe(t, [
3752
- "locale"
3753
- ]);
3754
- return pi(ot({ locale: r }, n));
3755
- }, vi = (e = {}) => {
3756
- var t = e, {
3757
- locale: r = ne()
3758
- } = t, n = pe(t, [
3759
- "locale"
3760
- ]);
3761
- return bi(ot({ locale: r }, n));
3762
- }, _i = Oe(
3763
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3764
- (e, t = ne()) => new Wn(e, t, fe().formats, {
3765
- ignoreTag: fe().ignoreTag
3766
- })
3767
- ), Ei = (e, t = {}) => {
3768
- var r, n, i, a;
3769
- let o = t;
3770
- typeof e == "object" && (o = e, e = o.id);
3771
- const {
3772
- values: s,
3773
- locale: l = ne(),
3774
- default: u
3775
- } = o;
3776
- if (l == null)
3777
- throw new Error(
3778
- "[svelte-i18n] Cannot format a message without first setting the initial locale."
3779
- );
3780
- let h = rr(e, l);
3781
- if (!h)
3782
- h = (a = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
3783
- else if (typeof h != "string")
3784
- return console.warn(
3785
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3786
- ), h;
3787
- if (!s)
3788
- return h;
3789
- let c = h;
3790
- try {
3791
- c = _i(h, l).format(s);
3792
- } catch (f) {
3793
- f instanceof Error && console.warn(
3794
- `[svelte-i18n] Message "${e}" has syntax error:`,
3795
- f.message
3796
- );
3797
- }
3798
- return c;
3799
- }, xi = (e, t) => vi(t).format(e), Ti = (e, t) => yi(t).format(e), Bi = (e, t) => gi(t).format(e), wi = (e, t = ne()) => rr(e, t), Hi = me([ee, de], () => Ei);
3800
- me([ee], () => xi);
3801
- me([ee], () => Ti);
3802
- me([ee], () => Bi);
3803
- me([ee, de], () => wi);
3804
- function Si({ withLocale: e, translations: t }) {
3805
- ee.subscribe((r) => {
3806
- r == null && (de.set(t), ee.set(e));
3807
- });
3808
- }
3809
- function St(e, t) {
3810
- ir(e, t);
3811
- }
3812
- function Ci(e) {
3813
- ee.set(e);
3814
- }
3815
- const Ct = {
3816
- en: {
3817
- scoreCriteriaType: {
3818
- 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.",
3819
- mostRounds: "The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",
3820
- winStateRatio: "The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.",
3821
- maxWinStateRatio: "The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score."
3822
- },
3823
- 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.",
3824
- timePeriod: "The tournament start {startTime} and ends {endTime}",
3825
- terms: 'See <a href="{tcUrl}" target="_blank">Terms & Conditions.</>',
3826
- productNoLimitsBet: "For {productName}, there are no minimum and maximum bet limits set.",
3827
- productMinMaxBet: "For {productName}, the minimum accepted bet is {minBet} and maximum accepted bet is {maxBet}.",
3828
- productMinBet: "For {productName}, the minimum bet amount accepted is {minBet}.",
3829
- productMaxBet: "For {productName}, the maximum bet amount accepted is {maxBet}."
3830
- },
3831
- tr: {
3832
- scoreCriteriaType: {
3833
- stake: "Bu turnuvanın puan kriteri <b>Ciro</b>'dur. Oluşturulan her X için (X= oyuncunun para biriminde veya temel para birimindeki eşdeğerinde oynanan bahis miktarı) oyuncu 1 puan alacaktır. En fazla ciroya sahip olan oyuncu en yüksek puana ve sıralamaya sahip olacaktır.",
3834
- mostRounds: "Bu turnuvanın puan kriteri <b>En Çok Tur</b>'dur. Oynanan her tur için oyuncu 1 puan alacaktır. En fazla oynanan tur/bahis sayısına sahip olan oyuncu, en yüksek puana ve sıralamaya sahip olacaktır.",
3835
- winStateRatio: "Bu turnuvanın puan kriteri <b>Galibiyet/Durum Oranı</b>'dır. Puan, nitelikli turlar ve bahisler için kazanma/bahis oranlarının toplamı olarak hesaplanacaktır. En yüksek puanı alan oyuncu turnuvayı kazanacak.",
3836
- maxWinStateRatio: "Bu turnuvanın puan kriteri <b>Maksimum Galibiyet/Durum Oranı</b>'dır. En küçük bahsi koyarak en büyük kazancı elde eden oyuncu turnuvayı kazanacaktır (bahis = 10 EUR, galibiyet = 5000 EUR, skor 500 olacaktır). Yalnızca daha yüksek oran oyuncunun puanını güncelleyecektir."
3837
- },
3838
- miniBetCount: "Minimum bahis sayısı: {betCount}. Ödüllere hak kazanmak için oyuncunun en az {betCount} tur oynaması gerekir, aksi takdirde ödül verilmeyecektir.",
3839
- timePeriod: "Turnuva {startTime} tarihinde başlar ve {endTime} tarihinde sona erer",
3840
- terms: '<a href={tcUrl}"" target=""_blank"">Şartlar ve Koşullar</>""a bakın.',
3841
- productNoLimitsBet: "{productName} için belirlenmiş minimum ve maksimum bahis limiti yoktur.",
3842
- productMinMaxBet: "{productName} için kabul edilen minimum bahis {minBet} ve kabul edilen maksimum bahis {maxBet}'tir.",
3843
- productMinBet: "{productName} için kabul edilen minimum bahis miktarı {minBet}'tir.",
3844
- productMaxBet: "{productName} için kabul edilen maksimum bahis miktarı {maxBet}'tir."
3845
- },
3846
- el: {
3847
- scoreCriteriaType: {
3848
- 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.",
3849
- mostRounds: "EL-The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",
3850
- winStateRatio: "The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.",
3851
- maxWinStateRatio: "The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score."
3852
- },
3853
- 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.",
3854
- timePeriod: "The tournament start {startTime} and ends {endTime}",
3855
- terms: 'See <a href="{tcUrl}" target="_blank">Terms & Conditions.</>',
3856
- productNoLimitsBet: "For {productName}, there are no minimum and maximum bet limits set.",
3857
- productMinMaxBet: "For {productName}, the minimum accepted bet is {minBet} and maximum accepted bet is {maxBet}.",
3858
- productMinBet: "For {productName}, the minimum bet amount accepted is {minBet}.",
3859
- productMaxBet: "For {productName}, the maximum bet amount accepted is {maxBet}."
3860
- },
3861
- hu: {
3862
- scoreCriteriaType: {
3863
- stake: "A verseny pontozási szempontja a <b>Forgalom</b>. Minden X generált összegért (X = a játékos pénznemben tett tét összege vagy az alapvaluta megfelelője) a játékos 1 pontot kap. A legnagyobb forgalmat birtokló játékos lesz a legmagasabb pontszámú és rangú.",
3864
- mostRounds: "A verseny pontozási szempontja a <b>Legtöbb kör</b>. Minden lejátszott körért a játékos 1 pontot kap. A legtöbb lejátszott körrel / tét helyezéssel rendelkező játékos lesz a legmagasabb pontszámú és rangú.",
3865
- winStateRatio: "A verseny pontozási szempontja a <b>Nyereség/Állapotarány</b>. A pontot az alkalmas körök és tétek nyerés / tét arányainak összegeként számítják. A legmagasabb pontszámot elért játékos nyeri a versenyt.",
3866
- maxWinStateRatio: "A verseny pontozási szempontja a <b>Max Nyereség/Állapotarány</b>. A legkisebb téttel a legnagyobb nyereményt elért játékos nyeri a versenyt (tét = 10 EUR, nyeremény = 5000 EUR, a pontszám 500 lesz). Csak a magasabb arány frissíti a játékos pontszámát."
3867
- },
3868
- miniBetCount: "Minimális tét szám: {betCount}. Az árakhoz való jogosultsághoz a játékosnak legalább {betCount} kört kell játszania, különben az ár nem kerül kiosztásra.",
3869
- timePeriod: "A verseny {startTime}-kor kezdődik és {endTime}-kor végződik.",
3870
- terms: 'Lásd a <a href="{tcUrl}" target="_blank">Felhasználási feltételeket.</>',
3871
- productNoLimitsBet: "A {productName}-nál nincsenek minimális és maximális tét határok beállítva.",
3872
- productMinMaxBet: "A {productName}-nál a minimálisan elfogadott tét {minBet}, a maximálisan elfogadott tét pedig {maxBet}.",
3873
- productMinBet: "A {productName}-nál a minimálisan elfogadott tét összege {minBet}.",
3874
- productMaxBet: "A {productName}-nál a maximálisan elfogadott tét összege {maxBet}."
3875
- },
3876
- pt: {
3877
- scoreCriteriaType: {
3878
- 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.",
3879
- mostRounds: "The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",
3880
- winStateRatio: "The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.",
3881
- maxWinStateRatio: "The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score."
3882
- },
3883
- miniBetCount: "Mínimo de apostas: {betCount}. Para se qualificar para os prêmios, o jogador deve jogar pelo menos {betCount} rodadas, caso contrário, o prêmio não será concedido.",
3884
- timePeriod: "O torneio começa {startTime} e termina {endTime}",
3885
- terms: 'Veja os <a href="{tcUrl}" target="_blank">Termos & Condições.</>',
3886
- productNoLimitsBet: "Para {productName}, não há limites mínimo e máximo de apostas definidos.",
3887
- productMinMaxBet: "Para {productName}, a aposta mínima aceita é {minBet} e a aposta máxima aceita é {maxBet}.",
3888
- productMinBet: "Para {productName}, o valor mínimo da aposta aceita é {minBet}.",
3889
- productMaxBet: "Para {productName}, o valor máximo da aposta aceita é {maxBet}."
3890
- }
3891
- }, A = {
3892
- AED: "د.إ",
3893
- AFN: "؋",
3894
- ALL: "L",
3895
- AMD: "֏",
3896
- ANG: "ƒ",
3897
- AOA: "Kz",
3898
- ARS: "$",
3899
- AUD: "$",
3900
- AWG: "ƒ",
3901
- AZN: "ман",
3902
- BAM: "KM",
3903
- BBD: "$",
3904
- BDT: "৳",
3905
- BGN: "лв",
3906
- BHD: ".د.ب",
3907
- BIF: "FBu",
3908
- BMD: "$",
3909
- BND: "$",
3910
- BOB: "$b",
3911
- BRL: "R$",
3912
- BSD: "$",
3913
- BTC: "฿",
3914
- BTN: "Nu.",
3915
- BWP: "P",
3916
- BYR: "p.",
3917
- BZD: "BZ$",
3918
- CAD: "$",
3919
- CDF: "FC",
3920
- CHF: "CHF",
3921
- CLP: "$",
3922
- CNY: "¥",
3923
- COP: "$",
3924
- CRC: "₡",
3925
- CUC: "$",
3926
- CUP: "₱",
3927
- CVE: "$",
3928
- CZK: "Kč",
3929
- DJF: "Fdj",
3930
- DKK: "kr",
3931
- DOP: "RD$",
3932
- DZD: "دج",
3933
- EEK: "kr",
3934
- EGP: "£",
3935
- ERN: "Nfk",
3936
- ETB: "Br",
3937
- ETH: "Ξ",
3938
- EUR: "€",
3939
- FJD: "$",
3940
- FKP: "£",
3941
- GBP: "£",
3942
- GEL: "₾",
3943
- GGP: "£",
3944
- GHC: "₵",
3945
- GHS: "GH₵",
3946
- GIP: "£",
3947
- GMD: "D",
3948
- GNF: "FG",
3949
- GTQ: "Q",
3950
- GYD: "$",
3951
- HKD: "$",
3952
- HNL: "L",
3953
- HRK: "kn",
3954
- HTG: "G",
3955
- HUF: "Ft",
3956
- IDR: "Rp",
3957
- ILS: "₪",
3958
- IMP: "£",
3959
- INR: "₹",
3960
- IQD: "ع.د",
3961
- IRR: "﷼",
3962
- ISK: "kr",
3963
- JEP: "£",
3964
- JMD: "J$",
3965
- JOD: "JD",
3966
- JPY: "¥",
3967
- KES: "KSh",
3968
- KGS: "лв",
3969
- KHR: "៛",
3970
- KMF: "CF",
3971
- KPW: "₩",
3972
- KRW: "₩",
3973
- KWD: "KD",
3974
- KYD: "$",
3975
- KZT: "лв",
3976
- LAK: "₭",
3977
- LBP: "£",
3978
- LKR: "₨",
3979
- LRD: "$",
3980
- LSL: "M",
3981
- LTC: "Ł",
3982
- LTL: "Lt",
3983
- LVL: "Ls",
3984
- LYD: "LD",
3985
- MAD: "MAD",
3986
- MDL: "lei",
3987
- MGA: "Ar",
3988
- MKD: "ден",
3989
- MMK: "K",
3990
- MNT: "₮",
3991
- MOP: "MOP$",
3992
- MRO: "UM",
3993
- MUR: "₨",
3994
- MVR: "Rf",
3995
- MWK: "MK",
3996
- MXN: "$",
3997
- MYR: "RM",
3998
- MZN: "MT",
3999
- NAD: "$",
4000
- NGN: "₦",
4001
- NIO: "C$",
4002
- NOK: "kr",
4003
- NPR: "₨",
4004
- NZD: "$",
4005
- OMR: "﷼",
4006
- PAB: "B/.",
4007
- PEN: "S/.",
4008
- PGK: "K",
4009
- PHP: "₱",
4010
- PKR: "₨",
4011
- PLN: "zł",
4012
- PYG: "Gs",
4013
- QAR: "﷼",
4014
- RMB: "¥",
4015
- RON: "lei",
4016
- RSD: "Дин.",
4017
- RUB: "₽",
4018
- RWF: "R₣",
4019
- SAR: "﷼",
4020
- SBD: "$",
4021
- SCR: "₨",
4022
- SDG: "ج.س.",
4023
- SEK: "kr",
4024
- SGD: "$",
4025
- SHP: "£",
4026
- SLL: "Le",
4027
- SOS: "S",
4028
- SRD: "$",
4029
- SSP: "£",
4030
- STD: "Db",
4031
- SVC: "$",
4032
- SYP: "£",
4033
- SZL: "E",
4034
- THB: "฿",
4035
- TJS: "SM",
4036
- TMT: "T",
4037
- TND: "د.ت",
4038
- TOP: "T$",
4039
- TRL: "₤",
4040
- TRY: "₺",
4041
- TTD: "TT$",
4042
- TVD: "$",
4043
- TWD: "NT$",
4044
- TZS: "TSh",
4045
- UAH: "₴",
4046
- UGX: "USh",
4047
- USD: "$",
4048
- UYU: "$U",
4049
- UZS: "лв",
4050
- VEF: "Bs",
4051
- VND: "₫",
4052
- VUV: "VT",
4053
- WST: "WS$",
4054
- XAF: "FCFA",
4055
- XBT: "Ƀ",
4056
- XCD: "$",
4057
- XOF: "CFA",
4058
- XPF: "₣",
4059
- YER: "﷼",
4060
- ZAR: "R",
4061
- ZWD: "Z$"
4062
- };
4063
- function Mi(e, t) {
4064
- if (e) {
4065
- const r = document.createElement("style");
4066
- r.innerHTML = t, e.appendChild(r);
4067
- }
4068
- }
4069
- function Ri(e, t) {
4070
- const r = new URL(t);
4071
- fetch(r.href).then((n) => n.text()).then((n) => {
4072
- const i = document.createElement("style");
4073
- i.innerHTML = n, e && e.appendChild(i);
4074
- }).catch((n) => {
4075
- console.error("There was an error while trying to load client styling from URL", n);
4076
- });
4077
- }
4078
- function ki(e, t, r) {
4079
- if (window.emMessageBus) {
4080
- const n = document.createElement("style");
4081
- window.emMessageBus.subscribe(t, (i) => {
4082
- n.innerHTML = i, e && e.appendChild(n);
4083
- });
4084
- }
4085
- }
4086
- const Ni = "data:image/svg+xml,%3csvg%20width='35'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2591_521)'%3e%3cpath%20d='M22.3588%2020.1363C22.3601%2020.7949%2022.1782%2021.4408%2021.8334%2022.0019C21.6456%2022.3247%2021.4036%2022.6127%2021.1179%2022.8533C20.4473%2023.4391%2019.5846%2023.7574%2018.6942%2023.7474C17.8037%2023.7373%2016.9482%2023.3997%2016.2909%2022.7989C16.0353%2022.567%2015.8156%2022.2984%2015.6389%2022.0019C15.3424%2021.5116%2015.1664%2020.958%2015.1255%2020.3865C15.0845%2019.815%2015.1799%2019.2419%2015.4034%2018.7144C15.6399%2018.1566%2016.0124%2017.667%2016.487%2017.2905C16.9617%2016.9139%2017.5234%2016.6623%2018.1204%2016.5589C18.3103%2016.5455%2018.5009%2016.5455%2018.6908%2016.5589C19.6516%2016.5589%2020.573%2016.9406%2021.2524%2017.62C21.9318%2018.2994%2022.3135%2019.2208%2022.3135%2020.1816L22.3588%2020.1363Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17.3242%2020.1371L18.2299%2021.0428L20.1591%2019.2314'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.278%206.46076C21.2037%204.5943%2019.6194%203.073%2017.711%202.0753C15.8025%201.0776%2013.6493%200.644982%2011.5036%200.828135C9.35785%201.01129%207.30885%201.8026%205.59709%203.10931C3.88533%204.41603%202.5817%206.1839%201.83935%208.20542C1.09701%2010.2269%200.9467%2012.4182%201.40598%2014.5222C1.86526%2016.6261%202.91505%2018.5555%204.43229%2020.0838C5.94953%2021.6121%207.87136%2022.6759%209.97194%2023.1504C12.0725%2023.6249%2014.2648%2023.4903%2016.2917%2022.7627C16.0361%2022.5307%2015.8163%2022.2621%2015.6396%2021.9657C15.3432%2021.4754%2015.1671%2020.9217%2015.1262%2020.3502C15.0853%2019.7788%2015.1806%2019.2057%2015.4041%2018.6781C14.4907%2019.0911%2013.4995%2019.3042%2012.497%2019.3031C11.2245%2019.3008%209.97506%2018.9635%208.87436%2018.325C7.77533%2017.6908%206.86538%2016.7747%206.23875%2015.6714V15.6714C5.33468%2014.0218%205.11294%2012.0836%205.62119%2010.2725C6.12945%208.46132%207.32717%206.92144%208.9575%205.98306C10.5878%205.04467%2012.521%204.78249%2014.3424%205.25274C16.1637%205.72298%2017.7284%206.88816%2018.7006%208.4985C18.7123%208.52746%2018.7275%208.55493%2018.746%208.58009C19.3629%209.66322%2019.6875%2010.8882%2019.6875%2012.1347C19.6875%2013.3813%2019.3629%2014.6064%2018.746%2015.6895C18.5748%2015.9855%2018.384%2016.2699%2018.1753%2016.5408C18.3652%2016.5273%2018.556%2016.5273%2018.746%2016.5408C19.3961%2016.5406%2020.0342%2016.7154%2020.5936%2017.0469C21.1529%2017.3783%2021.6128%2017.8543%2021.9249%2018.4246C23.1544%2016.5691%2023.8097%2014.3923%2023.8087%2012.1665C23.8164%2010.1621%2023.2878%208.19215%2022.278%206.46076V6.46076Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4785%200.819336V4.94915'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.1391%202.32227L16.0742%205.89962'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2866%206.46094L18.7002%208.52584'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.6875%2012.1035L23.7992%2012.1216'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2775%2017.7729L18.7363%2015.708'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4966%2019.3398L12.4785%2023.4153'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.883%2018.3613L6.82715%2021.8843'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.24745%2015.708L2.69727%2017.7276'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.30577%2012.0946L1.20312%2012.0674'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.30214%208.49903L2.75195%206.41602'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.90918%202.29492L8.94692%205.89039'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.7086%2010.4202H8.7206L7.74805%2011.0146V11.9254L8.61254%2011.4082H8.6357V14.3722H9.7086V10.4202Z'%20fill='white'/%3e%3cpath%20d='M11.7885%2014.4803C12.8633%2014.4822%2013.531%2013.7123%2013.5329%2012.4039C13.5348%2011.1033%2012.8633%2010.3662%2011.7885%2010.3662C10.7117%2010.3662%2010.0479%2011.0995%2010.044%2012.4039C10.0402%2013.7065%2010.7117%2014.4783%2011.7885%2014.4803ZM11.7885%2013.6081C11.418%2013.6081%2011.1517%2013.2356%2011.1555%2012.4039C11.1594%2011.5916%2011.418%2011.2307%2011.7885%2011.2307C12.159%2011.2307%2012.4195%2011.5916%2012.4214%2012.4039C12.4233%2013.2356%2012.159%2013.6081%2011.7885%2013.6081Z'%20fill='white'/%3e%3cpath%20d='M15.305%2014.4803C16.3798%2014.4822%2017.0475%2013.7123%2017.0494%2012.4039C17.0513%2011.1033%2016.3798%2010.3662%2015.305%2010.3662C14.2282%2010.3662%2013.5644%2011.0995%2013.5605%2012.4039C13.5567%2013.7065%2014.2282%2014.4783%2015.305%2014.4803ZM15.305%2013.6081C14.9345%2013.6081%2014.6682%2013.2356%2014.672%2012.4039C14.6759%2011.5916%2014.9345%2011.2307%2015.305%2011.2307C15.6755%2011.2307%2015.936%2011.5916%2015.9379%2012.4039C15.9398%2013.2356%2015.6755%2013.6081%2015.305%2013.6081Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_521'%3e%3crect%20width='24'%20height='24.2989'%20fill='white'%20transform='translate(0.478516%200.139648)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Ai = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6712%2020.9658H5.22363V23.2166H19.6712V20.9658Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.9074%2014.8942C16.0065%2013.9267%2019.3847%2011.229%2019.3847%204.9113C19.3847%203.38619%2019.1879%202.20546%2018.7246%201.30762H6.03995C5.58078%202.20546%205.37988%203.38619%205.37988%204.9113C5.37988%2011.0978%208.76219%2013.8611%2010.8572%2014.8696V18.6906H6.40482V20.9414H18.4868V18.6906H13.9074V14.8942Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.41677%203.39453H0.841439C0.841439%203.39453%20-0.343394%209.90085%206.77789%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.499%203.39453H24.0743C24.0743%203.39453%2025.2592%209.90085%2018.1338%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.3862%203.97656L13.2718%206.31343L15.7685%206.43642L13.8211%208.00253L14.4771%2010.4132L12.3862%209.04387L10.2953%2010.4132L10.9472%208.00253L9.00391%206.43642L11.4966%206.31343L12.3862%203.97656Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", lr = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.5%2013.7502C9.5%2014.7202%2010.25%2015.5002%2011.17%2015.5002H13.05C13.85%2015.5002%2014.5%2014.8202%2014.5%2013.9702C14.5%2013.0602%2014.1%2012.7302%2013.51%2012.5202L10.5%2011.4702C9.91%2011.2602%209.51001%2010.9402%209.51001%2010.0202C9.51001%209.18023%2010.16%208.49023%2010.96%208.49023H12.84C13.76%208.49023%2014.51%209.27023%2014.51%2010.2402'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%207.5V16.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%206V2H18'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17%207L22%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Li = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202C17.52%202%2022%206.48%2022%2012Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.7099%2015.1798L12.6099%2013.3298C12.0699%2013.0098%2011.6299%2012.2398%2011.6299%2011.6098V7.50977'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Pi = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2019.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2012.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%205.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5L4%206.5L7%203.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2012.5L4%2013.5L7%2010.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2019.5L4%2020.5L7%2017.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
4087
- function Oi(e) {
4088
- gr(e, "svelte-1aour49", "*,*::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:#B5B5B5}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid #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 .RuleIcon{width:38px;height:30px}");
4089
- }
4090
- function Mt(e) {
4091
- let t, r = (
4092
- /*$_*/
4093
- e[13]("scoreCriteriaType.mostRounds") + ""
4094
- ), n;
4095
- return {
4096
- c() {
4097
- t = new ke(!1), n = Re(), t.a = n;
4098
- },
4099
- m(i, a) {
4100
- t.m(r, i, a), R(i, n, a);
4101
- },
4102
- p(i, a) {
4103
- a & /*$_*/
4104
- 8192 && r !== (r = /*$_*/
4105
- i[13]("scoreCriteriaType.mostRounds") + "") && t.p(r);
4106
- },
4107
- d(i) {
4108
- i && (S(n), t.d());
4109
- }
4110
- };
4111
- }
4112
- function Rt(e) {
4113
- let t, r = (
4114
- /*$_*/
4115
- e[13]("scoreCriteriaType.winStateRatio") + ""
4116
- ), n;
4117
- return {
4118
- c() {
4119
- t = new ke(!1), n = Re(), t.a = n;
4120
- },
4121
- m(i, a) {
4122
- t.m(r, i, a), R(i, n, a);
4123
- },
4124
- p(i, a) {
4125
- a & /*$_*/
4126
- 8192 && r !== (r = /*$_*/
4127
- i[13]("scoreCriteriaType.winStateRatio") + "") && t.p(r);
4128
- },
4129
- d(i) {
4130
- i && (S(n), t.d());
4131
- }
4132
- };
4133
- }
4134
- function kt(e) {
4135
- let t, r = (
4136
- /*$_*/
4137
- e[13]("scoreCriteriaType.maxWinStateRatio") + ""
4138
- ), n;
4139
- return {
4140
- c() {
4141
- t = new ke(!1), n = Re(), t.a = n;
4142
- },
4143
- m(i, a) {
4144
- t.m(r, i, a), R(i, n, a);
4145
- },
4146
- p(i, a) {
4147
- a & /*$_*/
4148
- 8192 && r !== (r = /*$_*/
4149
- i[13]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(r);
4150
- },
4151
- d(i) {
4152
- i && (S(n), t.d());
4153
- }
4154
- };
4155
- }
4156
- function Nt(e) {
4157
- let t, r = (
4158
- /*$_*/
4159
- e[13]("scoreCriteriaType.stake") + ""
4160
- ), n;
4161
- return {
4162
- c() {
4163
- t = new ke(!1), n = Re(), t.a = n;
4164
- },
4165
- m(i, a) {
4166
- t.m(r, i, a), R(i, n, a);
4167
- },
4168
- p(i, a) {
4169
- a & /*$_*/
4170
- 8192 && r !== (r = /*$_*/
4171
- i[13]("scoreCriteriaType.stake") + "") && t.p(r);
4172
- },
4173
- d(i) {
4174
- i && (S(n), t.d());
4175
- }
4176
- };
4177
- }
4178
- function At(e) {
4179
- let t, r, n;
4180
- function i(s, l) {
4181
- return (
4182
- /*noMinCasinoBet*/
4183
- s[8] && /*noMaxCasinoBet*/
4184
- s[9] ? Ui : (
4185
- /*noMinCasinoBet*/
4186
- s[8] ? Di : (
4187
- /*noMaxCasinoBet*/
4188
- s[9] ? $i : Ii
4189
- )
4190
- )
4191
- );
4192
- }
4193
- let a = i(e), o = a(e);
4194
- return {
4195
- c() {
4196
- t = x("div"), r = x("div"), r.innerHTML = `<img src="${lr}"/>`, n = P(), o.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
4197
- },
4198
- m(s, l) {
4199
- R(s, t, l), p(t, r), p(t, n), o.m(t, null);
4200
- },
4201
- p(s, l) {
4202
- a === (a = i(s)) && o ? o.p(s, l) : (o.d(1), o = a(s), o && (o.c(), o.m(t, null)));
4203
- },
4204
- d(s) {
4205
- s && S(t), o.d();
4206
- }
4207
- };
4208
- }
4209
- function Ii(e) {
4210
- let t, r = (
4211
- /*$_*/
4212
- e[13]("productMinMaxBet", {
4213
- values: {
4214
- productName: (
4215
- /*casino*/
4216
- e[6].name
4217
- ),
4218
- minBet: `${/*isNumber*/
4219
- e[14](
4220
- /*casino*/
4221
- e[6].minbet
4222
- ) ? A[
4223
- /*currency*/
4224
- e[12]
4225
- ] : ""}${/*casino*/
4226
- e[6].minbet}`,
4227
- maxBet: `${/*isNumber*/
4228
- e[14](
4229
- /*casino*/
4230
- e[6].maxbet
4231
- ) ? A[
4232
- /*currency*/
4233
- e[12]
4234
- ] : ""}${/*casino*/
4235
- e[6].maxbet}`
4236
- }
4237
- }) + ""
4238
- ), n;
4239
- return {
4240
- c() {
4241
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4242
- },
4243
- m(i, a) {
4244
- R(i, t, a), p(t, n);
4245
- },
4246
- p(i, a) {
4247
- a & /*$_, casino, currency*/
4248
- 12352 && r !== (r = /*$_*/
4249
- i[13]("productMinMaxBet", {
4250
- values: {
4251
- productName: (
4252
- /*casino*/
4253
- i[6].name
4254
- ),
4255
- minBet: `${/*isNumber*/
4256
- i[14](
4257
- /*casino*/
4258
- i[6].minbet
4259
- ) ? A[
4260
- /*currency*/
4261
- i[12]
4262
- ] : ""}${/*casino*/
4263
- i[6].minbet}`,
4264
- maxBet: `${/*isNumber*/
4265
- i[14](
4266
- /*casino*/
4267
- i[6].maxbet
4268
- ) ? A[
4269
- /*currency*/
4270
- i[12]
4271
- ] : ""}${/*casino*/
4272
- i[6].maxbet}`
4273
- }
4274
- }) + "") && J(n, r);
4275
- },
4276
- d(i) {
4277
- i && S(t);
4278
- }
4279
- };
4280
- }
4281
- function $i(e) {
4282
- let t, r = (
4283
- /*$_*/
4284
- e[13]("productMinBet", {
4285
- values: {
4286
- productName: (
4287
- /*casino*/
4288
- e[6].name
4289
- ),
4290
- minBet: `${/*isNumber*/
4291
- e[14](
4292
- /*casino*/
4293
- e[6].minbet
4294
- ) ? A[
4295
- /*currency*/
4296
- e[12]
4297
- ] : ""}${/*casino*/
4298
- e[6].minbet}`
4299
- }
4300
- }) + ""
4301
- ), n;
4302
- return {
4303
- c() {
4304
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4305
- },
4306
- m(i, a) {
4307
- R(i, t, a), p(t, n);
4308
- },
4309
- p(i, a) {
4310
- a & /*$_, casino, currency*/
4311
- 12352 && r !== (r = /*$_*/
4312
- i[13]("productMinBet", {
4313
- values: {
4314
- productName: (
4315
- /*casino*/
4316
- i[6].name
4317
- ),
4318
- minBet: `${/*isNumber*/
4319
- i[14](
4320
- /*casino*/
4321
- i[6].minbet
4322
- ) ? A[
4323
- /*currency*/
4324
- i[12]
4325
- ] : ""}${/*casino*/
4326
- i[6].minbet}`
4327
- }
4328
- }) + "") && J(n, r);
4329
- },
4330
- d(i) {
4331
- i && S(t);
4332
- }
4333
- };
4334
- }
4335
- function Di(e) {
4336
- let t, r = (
4337
- /*$_*/
4338
- e[13]("productMaxBet", {
4339
- values: {
4340
- productName: (
4341
- /*casino*/
4342
- e[6].name
4343
- ),
4344
- maxBet: `${/*isNumber*/
4345
- e[14](
4346
- /*casino*/
4347
- e[6].maxbet
4348
- ) ? A[
4349
- /*currency*/
4350
- e[12]
4351
- ] : ""}${/*casino*/
4352
- e[6].maxbet}`
4353
- }
4354
- }) + ""
4355
- ), n;
4356
- return {
4357
- c() {
4358
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4359
- },
4360
- m(i, a) {
4361
- R(i, t, a), p(t, n);
4362
- },
4363
- p(i, a) {
4364
- a & /*$_, casino, currency*/
4365
- 12352 && r !== (r = /*$_*/
4366
- i[13]("productMaxBet", {
4367
- values: {
4368
- productName: (
4369
- /*casino*/
4370
- i[6].name
4371
- ),
4372
- maxBet: `${/*isNumber*/
4373
- i[14](
4374
- /*casino*/
4375
- i[6].maxbet
4376
- ) ? A[
4377
- /*currency*/
4378
- i[12]
4379
- ] : ""}${/*casino*/
4380
- i[6].maxbet}`
4381
- }
4382
- }) + "") && J(n, r);
4383
- },
4384
- d(i) {
4385
- i && S(t);
4386
- }
4387
- };
4388
- }
4389
- function Ui(e) {
4390
- let t, r = (
4391
- /*$_*/
4392
- e[13]("productNoLimitsBet", {
4393
- values: { productName: (
4394
- /*casino*/
4395
- e[6].name
4396
- ) }
4397
- }) + ""
4398
- ), n;
4399
- return {
4400
- c() {
4401
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4402
- },
4403
- m(i, a) {
4404
- R(i, t, a), p(t, n);
4405
- },
4406
- p(i, a) {
4407
- a & /*$_, casino*/
4408
- 8256 && r !== (r = /*$_*/
4409
- i[13]("productNoLimitsBet", {
4410
- values: { productName: (
4411
- /*casino*/
4412
- i[6].name
4413
- ) }
4414
- }) + "") && J(n, r);
4415
- },
4416
- d(i) {
4417
- i && S(t);
4418
- }
4419
- };
4420
- }
4421
- function Lt(e) {
4422
- let t, r, n;
4423
- function i(s, l) {
4424
- return (
4425
- /*noMinSportsBet*/
4426
- s[10] && /*noMaxSportsBet*/
4427
- s[11] ? Vi : (
4428
- /*noMinSportsBet*/
4429
- s[10] ? ji : (
4430
- /*noMaxSportsBet*/
4431
- s[11] ? Fi : Gi
4432
- )
4433
- )
4434
- );
4435
- }
4436
- let a = i(e), o = a(e);
4437
- return {
4438
- c() {
4439
- t = x("div"), r = x("div"), r.innerHTML = `<img src="${lr}"/>`, n = P(), o.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
4440
- },
4441
- m(s, l) {
4442
- R(s, t, l), p(t, r), p(t, n), o.m(t, null);
4443
- },
4444
- p(s, l) {
4445
- a === (a = i(s)) && o ? o.p(s, l) : (o.d(1), o = a(s), o && (o.c(), o.m(t, null)));
4446
- },
4447
- d(s) {
4448
- s && S(t), o.d();
4449
- }
4450
- };
4451
- }
4452
- function Gi(e) {
4453
- let t, r = (
4454
- /*$_*/
4455
- e[13]("productMinMaxBet", {
4456
- values: {
4457
- productName: (
4458
- /*sports*/
4459
- e[7].name
4460
- ),
4461
- minBet: `${/*isNumber*/
4462
- e[14](
4463
- /*sports*/
4464
- e[7].minbet
4465
- ) ? A[
4466
- /*currency*/
4467
- e[12]
4468
- ] : ""}${/*sports*/
4469
- e[7].minbet}`,
4470
- maxBet: `${/*isNumber*/
4471
- e[14](
4472
- /*sports*/
4473
- e[7].maxbet
4474
- ) ? A[
4475
- /*currency*/
4476
- e[12]
4477
- ] : ""}${/*sports*/
4478
- e[7].maxbet}`
4479
- }
4480
- }) + ""
4481
- ), n;
4482
- return {
4483
- c() {
4484
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4485
- },
4486
- m(i, a) {
4487
- R(i, t, a), p(t, n);
4488
- },
4489
- p(i, a) {
4490
- a & /*$_, sports, currency*/
4491
- 12416 && r !== (r = /*$_*/
4492
- i[13]("productMinMaxBet", {
4493
- values: {
4494
- productName: (
4495
- /*sports*/
4496
- i[7].name
4497
- ),
4498
- minBet: `${/*isNumber*/
4499
- i[14](
4500
- /*sports*/
4501
- i[7].minbet
4502
- ) ? A[
4503
- /*currency*/
4504
- i[12]
4505
- ] : ""}${/*sports*/
4506
- i[7].minbet}`,
4507
- maxBet: `${/*isNumber*/
4508
- i[14](
4509
- /*sports*/
4510
- i[7].maxbet
4511
- ) ? A[
4512
- /*currency*/
4513
- i[12]
4514
- ] : ""}${/*sports*/
4515
- i[7].maxbet}`
4516
- }
4517
- }) + "") && J(n, r);
4518
- },
4519
- d(i) {
4520
- i && S(t);
4521
- }
4522
- };
4523
- }
4524
- function Fi(e) {
4525
- let t, r = (
4526
- /*$_*/
4527
- e[13]("productMinBet", {
4528
- values: {
4529
- productName: (
4530
- /*sports*/
4531
- e[7].name
4532
- ),
4533
- minBet: `${/*isNumber*/
4534
- e[14](
4535
- /*sports*/
4536
- e[7].minbet
4537
- ) ? A[
4538
- /*currency*/
4539
- e[12]
4540
- ] : ""}${/*sports*/
4541
- e[7].minbet}`
4542
- }
4543
- }) + ""
4544
- ), n;
4545
- return {
4546
- c() {
4547
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4548
- },
4549
- m(i, a) {
4550
- R(i, t, a), p(t, n);
4551
- },
4552
- p(i, a) {
4553
- a & /*$_, sports, currency*/
4554
- 12416 && r !== (r = /*$_*/
4555
- i[13]("productMinBet", {
4556
- values: {
4557
- productName: (
4558
- /*sports*/
4559
- i[7].name
4560
- ),
4561
- minBet: `${/*isNumber*/
4562
- i[14](
4563
- /*sports*/
4564
- i[7].minbet
4565
- ) ? A[
4566
- /*currency*/
4567
- i[12]
4568
- ] : ""}${/*sports*/
4569
- i[7].minbet}`
4570
- }
4571
- }) + "") && J(n, r);
4572
- },
4573
- d(i) {
4574
- i && S(t);
4575
- }
4576
- };
4577
- }
4578
- function ji(e) {
4579
- let t, r = (
4580
- /*$_*/
4581
- e[13]("productMaxBet", {
4582
- values: {
4583
- productName: (
4584
- /*sports*/
4585
- e[7].name
4586
- ),
4587
- maxBet: `${/*isNumber*/
4588
- e[14](
4589
- /*sports*/
4590
- e[7].maxbet
4591
- ) ? A[
4592
- /*currency*/
4593
- e[12]
4594
- ] : ""}${/*sports*/
4595
- e[7].maxbet}`
4596
- }
4597
- }) + ""
4598
- ), n;
4599
- return {
4600
- c() {
4601
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4602
- },
4603
- m(i, a) {
4604
- R(i, t, a), p(t, n);
4605
- },
4606
- p(i, a) {
4607
- a & /*$_, sports, currency*/
4608
- 12416 && r !== (r = /*$_*/
4609
- i[13]("productMaxBet", {
4610
- values: {
4611
- productName: (
4612
- /*sports*/
4613
- i[7].name
4614
- ),
4615
- maxBet: `${/*isNumber*/
4616
- i[14](
4617
- /*sports*/
4618
- i[7].maxbet
4619
- ) ? A[
4620
- /*currency*/
4621
- i[12]
4622
- ] : ""}${/*sports*/
4623
- i[7].maxbet}`
4624
- }
4625
- }) + "") && J(n, r);
4626
- },
4627
- d(i) {
4628
- i && S(t);
4629
- }
4630
- };
4631
- }
4632
- function Vi(e) {
4633
- let t, r = (
4634
- /*$_*/
4635
- e[13]("productNoLimitsBet", {
4636
- values: { productName: (
4637
- /*sports*/
4638
- e[7].name
4639
- ) }
4640
- }) + ""
4641
- ), n;
4642
- return {
4643
- c() {
4644
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4645
- },
4646
- m(i, a) {
4647
- R(i, t, a), p(t, n);
4648
- },
4649
- p(i, a) {
4650
- a & /*$_, sports*/
4651
- 8320 && r !== (r = /*$_*/
4652
- i[13]("productNoLimitsBet", {
4653
- values: { productName: (
4654
- /*sports*/
4655
- i[7].name
4656
- ) }
4657
- }) + "") && J(n, r);
4658
- },
4659
- d(i) {
4660
- i && S(t);
4661
- }
4662
- };
4663
- }
4664
- function zi(e) {
4665
- let t, r, n, i, a, o, s, l, u, h, c, f, g, _ = (
4666
- /*$_*/
4667
- e[13]("miniBetCount", {
4668
- values: { betCount: (
4669
- /*betcount*/
4670
- e[1]
4671
- ) }
4672
- }) + ""
4673
- ), T, H, w, k, C, L, N = (
4674
- /*$_*/
4675
- e[13]("timePeriod", {
4676
- values: {
4677
- startTime: (
4678
- /*starttime*/
4679
- e[2]
4680
- ),
4681
- endTime: (
4682
- /*endtime*/
4683
- e[3]
4684
- )
4685
- }
4686
- }) + ""
4687
- ), X, te, Y, re, xe, K, ie = (
4688
- /*$_*/
4689
- e[13]("terms", { values: { tcUrl: (
4690
- /*tcurl*/
4691
- e[4]
4692
- ) } }) + ""
4693
- ), d, Z, q, Te, st, I = (
4694
- /*scorecriterial*/
4695
- e[0] == "BetCount" && Mt(e)
4696
- ), $ = (
4697
- /*scorecriterial*/
4698
- e[0] == "WinStakeRatio" && Rt(e)
4699
- ), D = (
4700
- /*scorecriterial*/
4701
- e[0] == "MaxWinStakeRatio" && kt(e)
4702
- ), U = (
4703
- /*scorecriterial*/
4704
- e[0] == "Stake" && Nt(e)
4705
- ), G = (
4706
- /*casino*/
4707
- e[6] && At(e)
4708
- ), F = (
4709
- /*sports*/
4710
- e[7] && Lt(e)
4711
- );
4712
- return {
4713
- c() {
4714
- t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${Ai}"/>`, i = P(), a = x("div"), I && I.c(), o = P(), $ && $.c(), s = P(), D && D.c(), l = P(), U && U.c(), u = P(), h = x("div"), c = x("div"), c.innerHTML = `<img src="${Ni}"/>`, f = P(), g = x("div"), T = z(_), H = P(), w = x("div"), k = x("div"), k.innerHTML = `<img src="${Li}"/>`, C = P(), L = x("div"), X = z(N), te = P(), Y = x("div"), re = x("div"), re.innerHTML = `<img src="${Pi}"/>`, xe = P(), K = x("div"), d = P(), G && G.c(), Z = P(), q = x("span"), st = P(), F && F.c(), m(n, "class", "RuleIcon"), m(n, "part", "RuleIcon"), m(a, "class", "RuleTxt"), m(a, "part", "RuleTxt"), m(r, "class", "RulesRow"), m(r, "part", "rule"), m(c, "class", "RuleIcon"), m(c, "part", "RuleIcon"), m(g, "class", "RuleTxt"), m(g, "part", "RuleTxt"), m(h, "class", "RulesRow"), m(h, "part", "rule"), m(k, "class", "RuleIcon"), m(k, "part", "RuleIcon"), m(L, "class", "RuleTxt"), m(L, "part", "RuleTxt"), m(w, "class", "RulesRow"), m(w, "part", "rule"), m(re, "class", "RuleIcon"), m(re, "part", "RuleIcon"), m(K, "class", "RuleTxt"), m(K, "part", "RuleTxt"), m(Y, "class", "RulesRow"), m(Y, "part", "rule"), m(q, "type", "hidden"), m(q, "href", Te = { tcurl: (
4715
- /*tcurl*/
4716
- e[4]
4717
- ) }), m(t, "class", "casino-tournaments-thumbnail-rule"), m(t, "part", "casino-tournaments-thumbnail-rule");
4718
- },
4719
- m(E, V) {
4720
- R(E, t, V), p(t, r), p(r, n), p(r, i), p(r, a), I && I.m(a, null), p(a, o), $ && $.m(a, null), p(a, s), D && D.m(a, null), p(a, l), U && U.m(a, null), p(t, u), p(t, h), p(h, c), p(h, f), p(h, g), p(g, T), p(t, H), p(t, w), p(w, k), p(w, C), p(w, L), p(L, X), p(t, te), p(t, Y), p(Y, re), p(Y, xe), p(Y, K), K.innerHTML = ie, p(t, d), G && G.m(t, null), p(t, Z), p(t, q), p(t, st), F && F.m(t, null), e[21](t);
4721
- },
4722
- p(E, [V]) {
4723
- /*scorecriterial*/
4724
- E[0] == "BetCount" ? I ? I.p(E, V) : (I = Mt(E), I.c(), I.m(a, o)) : I && (I.d(1), I = null), /*scorecriterial*/
4725
- E[0] == "WinStakeRatio" ? $ ? $.p(E, V) : ($ = Rt(E), $.c(), $.m(a, s)) : $ && ($.d(1), $ = null), /*scorecriterial*/
4726
- E[0] == "MaxWinStakeRatio" ? D ? D.p(E, V) : (D = kt(E), D.c(), D.m(a, l)) : D && (D.d(1), D = null), /*scorecriterial*/
4727
- E[0] == "Stake" ? U ? U.p(E, V) : (U = Nt(E), U.c(), U.m(a, null)) : U && (U.d(1), U = null), V & /*$_, betcount*/
4728
- 8194 && _ !== (_ = /*$_*/
4729
- E[13]("miniBetCount", {
4730
- values: { betCount: (
4731
- /*betcount*/
4732
- E[1]
4733
- ) }
4734
- }) + "") && J(T, _), V & /*$_, starttime, endtime*/
4735
- 8204 && N !== (N = /*$_*/
4736
- E[13]("timePeriod", {
4737
- values: {
4738
- startTime: (
4739
- /*starttime*/
4740
- E[2]
4741
- ),
4742
- endTime: (
4743
- /*endtime*/
4744
- E[3]
4745
- )
4746
- }
4747
- }) + "") && J(X, N), V & /*$_, tcurl*/
4748
- 8208 && ie !== (ie = /*$_*/
4749
- E[13]("terms", { values: { tcUrl: (
4750
- /*tcurl*/
4751
- E[4]
4752
- ) } }) + "") && (K.innerHTML = ie), /*casino*/
4753
- E[6] ? G ? G.p(E, V) : (G = At(E), G.c(), G.m(t, Z)) : G && (G.d(1), G = null), V & /*tcurl*/
4754
- 16 && Te !== (Te = { tcurl: (
4755
- /*tcurl*/
4756
- E[4]
4757
- ) }) && m(q, "href", Te), /*sports*/
4758
- E[7] ? F ? F.p(E, V) : (F = Lt(E), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
4759
- },
4760
- i: W,
4761
- o: W,
4762
- d(E) {
4763
- E && S(t), I && I.d(), $ && $.d(), D && D.d(), U && U.d(), G && G.d(), F && F.d(), e[21](null);
4764
- }
4765
- };
4766
- }
4767
- function Xi(e, t, r) {
4768
- let n;
4769
- br(e, Hi, (d) => r(13, n = d));
4770
- let { lang: i = "tr" } = t, { scorecriterial: a = "BetCount" } = t, { betcount: o } = t, { starttime: s } = t, { endtime: l } = t, { tcurl: u } = t, { products: h = "{}" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { mbsource: _ } = t, T, H, w, k = !1, C = !1, L = !1, N = !1, X = "EUR";
4771
- Si({ withLocale: "en", translations: {} });
4772
- const te = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", Y = () => {
4773
- fetch(g).then((Z) => Z.json()).then((Z) => {
4774
- Object.keys(Z).forEach((q) => {
4775
- St(q, Z[q]);
4776
- });
4777
- }).catch((Z) => {
4778
- console.log(Z);
4779
- });
4780
- };
4781
- Object.keys(Ct).forEach((d) => {
4782
- St(d, Ct[d]);
4783
- });
4784
- const re = (d) => {
4785
- d && (r(12, X = d.currency), d.casino ? (r(6, H = d.casino), r(8, k = !(H.hasOwnProperty("minbet") && H.minbet != 0)), r(9, C = !(H.hasOwnProperty("maxbet") && H.maxbet != 0))) : (r(8, k = !0), r(9, C = !0)), d.sports ? (r(7, w = d.sports), r(10, L = !(w.hasOwnProperty("minbet") && w.minbet != 0)), r(11, N = !(w.hasOwnProperty("maxbet") && w.maxbet != 0))) : (r(10, L = !0), r(11, N = !0)));
4786
- }, xe = () => {
4787
- Ci(i);
4788
- }, K = (d) => {
4789
- d.data && d.data.type && d.type == "TournamentsProductsUpdate" && r(15, h = d.data.productInfo);
4790
- };
4791
- Br(() => (window.addEventListener("message", K, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
4792
- window.removeEventListener("message", K);
4793
- }));
4794
- function ie(d) {
4795
- ze[d ? "unshift" : "push"](() => {
4796
- T = d, r(5, T);
4797
- });
4798
- }
4799
- return e.$$set = (d) => {
4800
- "lang" in d && r(16, i = d.lang), "scorecriterial" in d && r(0, a = d.scorecriterial), "betcount" in d && r(1, o = d.betcount), "starttime" in d && r(2, s = d.starttime), "endtime" in d && r(3, l = d.endtime), "tcurl" in d && r(4, u = d.tcurl), "products" in d && r(15, h = d.products), "clientstyling" in d && r(17, c = d.clientstyling), "clientstylingurl" in d && r(18, f = d.clientstylingurl), "translationurl" in d && r(19, g = d.translationurl), "mbsource" in d && r(20, _ = d.mbsource);
4801
- }, e.$$.update = () => {
4802
- e.$$.dirty & /*lang*/
4803
- 65536 && i && xe(), e.$$.dirty & /*products*/
4804
- 32768 && h && re(h), e.$$.dirty & /*clientstyling, customStylingContainer*/
4805
- 131104 && c && T && Mi(T, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4806
- 262176 && f && T && Ri(T, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4807
- 1048608 && _ && T && ki(T, `${_}.Style`), e.$$.dirty & /*translationurl*/
4808
- 524288 && g && Y();
4809
- }, [
4810
- a,
4811
- o,
4812
- s,
4813
- l,
4814
- u,
4815
- T,
4816
- H,
4817
- w,
4818
- k,
4819
- C,
4820
- L,
4821
- N,
4822
- X,
4823
- n,
4824
- te,
4825
- h,
4826
- i,
4827
- c,
4828
- f,
4829
- g,
4830
- _,
4831
- ie
4832
- ];
4833
- }
4834
- class Wi extends Or {
4835
- constructor(t) {
4836
- super(), Lr(
4837
- this,
4838
- t,
4839
- Xi,
4840
- zi,
4841
- Ot,
4842
- {
4843
- lang: 16,
4844
- scorecriterial: 0,
4845
- betcount: 1,
4846
- starttime: 2,
4847
- endtime: 3,
4848
- tcurl: 4,
4849
- products: 15,
4850
- clientstyling: 17,
4851
- clientstylingurl: 18,
4852
- translationurl: 19,
4853
- mbsource: 20
4854
- },
4855
- Oi
4856
- );
4857
- }
4858
- get lang() {
4859
- return this.$$.ctx[16];
4860
- }
4861
- set lang(t) {
4862
- this.$$set({ lang: t }), j();
4863
- }
4864
- get scorecriterial() {
4865
- return this.$$.ctx[0];
4866
- }
4867
- set scorecriterial(t) {
4868
- this.$$set({ scorecriterial: t }), j();
4869
- }
4870
- get betcount() {
4871
- return this.$$.ctx[1];
4872
- }
4873
- set betcount(t) {
4874
- this.$$set({ betcount: t }), j();
4875
- }
4876
- get starttime() {
4877
- return this.$$.ctx[2];
4878
- }
4879
- set starttime(t) {
4880
- this.$$set({ starttime: t }), j();
4881
- }
4882
- get endtime() {
4883
- return this.$$.ctx[3];
4884
- }
4885
- set endtime(t) {
4886
- this.$$set({ endtime: t }), j();
4887
- }
4888
- get tcurl() {
4889
- return this.$$.ctx[4];
4890
- }
4891
- set tcurl(t) {
4892
- this.$$set({ tcurl: t }), j();
4893
- }
4894
- get products() {
4895
- return this.$$.ctx[15];
4896
- }
4897
- set products(t) {
4898
- this.$$set({ products: t }), j();
4899
- }
4900
- get clientstyling() {
4901
- return this.$$.ctx[17];
4902
- }
4903
- set clientstyling(t) {
4904
- this.$$set({ clientstyling: t }), j();
4905
- }
4906
- get clientstylingurl() {
4907
- return this.$$.ctx[18];
4908
- }
4909
- set clientstylingurl(t) {
4910
- this.$$set({ clientstylingurl: t }), j();
4911
- }
4912
- get translationurl() {
4913
- return this.$$.ctx[19];
4914
- }
4915
- set translationurl(t) {
4916
- this.$$set({ translationurl: t }), j();
4917
- }
4918
- get mbsource() {
4919
- return this.$$.ctx[20];
4920
- }
4921
- set mbsource(t) {
4922
- this.$$set({ mbsource: t }), j();
4923
- }
4924
- }
4925
- Pr(Wi, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, products: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4926
- export {
4927
- Wi as default
4928
- };