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

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