@everymatrix/casino-tournaments-slider-controller 1.44.0 → 1.45.2

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.
@@ -0,0 +1,4388 @@
1
+ import { i as zr, n as Xe, s as Vr, r as mr, a as gr, b as Zr, S as qr, c as Yr, f as ge, d as Wr, e as Kr, g as K, h as he, j as ve, k as h, x as yt, l as Ze, m as H, o as at, t as wt, p as zt, q as $r, u as qe, v as en, w as tn, y as vr, z as X, A as rn, B as Er, C as Vt, D as nn, E as Zt, F as on, G as an, H as it } from "./CasinoTournamentsRank-D_sBeKjB.js";
2
+ function qt(e, { delay: t = 0, duration: r = 400, easing: n = zr } = {}) {
3
+ const i = +getComputedStyle(e).opacity;
4
+ return {
5
+ delay: t,
6
+ duration: r,
7
+ easing: n,
8
+ css: (o) => `opacity: ${o * i}`
9
+ };
10
+ }
11
+ const De = [];
12
+ function sn(e, t) {
13
+ return {
14
+ subscribe: ft(e, t).subscribe
15
+ };
16
+ }
17
+ function ft(e, t = Xe) {
18
+ let r;
19
+ const n = /* @__PURE__ */ new Set();
20
+ function i(c) {
21
+ if (gr(e, c) && (e = c, r)) {
22
+ const d = !De.length;
23
+ for (const u of n)
24
+ u[1](), De.push(u, e);
25
+ if (d) {
26
+ for (let u = 0; u < De.length; u += 2)
27
+ De[u][0](De[u + 1]);
28
+ De.length = 0;
29
+ }
30
+ }
31
+ }
32
+ function o(c) {
33
+ i(c(e));
34
+ }
35
+ function f(c, d = Xe) {
36
+ const u = [c, d];
37
+ return n.add(u), n.size === 1 && (r = t(i, o) || Xe), c(e), () => {
38
+ n.delete(u), n.size === 0 && r && (r(), r = null);
39
+ };
40
+ }
41
+ return { set: i, update: o, subscribe: f };
42
+ }
43
+ function Ge(e, t, r) {
44
+ const n = !Array.isArray(e), i = n ? [e] : e;
45
+ if (!i.every(Boolean))
46
+ throw new Error("derived() expects stores as input, got a falsy value");
47
+ const o = t.length < 2;
48
+ return sn(r, (f, c) => {
49
+ let d = !1;
50
+ const u = [];
51
+ let l = 0, g = Xe;
52
+ const v = () => {
53
+ if (l)
54
+ return;
55
+ g();
56
+ const M = t(n ? u[0] : u, f, c);
57
+ o ? f(M) : g = Zr(M) ? M : Xe;
58
+ }, S = i.map(
59
+ (M, x) => Vr(
60
+ M,
61
+ (C) => {
62
+ u[x] = C, l &= ~(1 << x), d && v();
63
+ },
64
+ () => {
65
+ l |= 1 << x;
66
+ }
67
+ )
68
+ );
69
+ return d = !0, v(), function() {
70
+ mr(S), g(), d = !1;
71
+ };
72
+ });
73
+ }
74
+ var un = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
75
+ function ln(e) {
76
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
77
+ }
78
+ var hn = function(t) {
79
+ return fn(t) && !cn(t);
80
+ };
81
+ function fn(e) {
82
+ return !!e && typeof e == "object";
83
+ }
84
+ function cn(e) {
85
+ var t = Object.prototype.toString.call(e);
86
+ return t === "[object RegExp]" || t === "[object Date]" || An(e);
87
+ }
88
+ var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
89
+ function An(e) {
90
+ return e.$$typeof === pn;
91
+ }
92
+ function mn(e) {
93
+ return Array.isArray(e) ? [] : {};
94
+ }
95
+ function ze(e, t) {
96
+ return t.clone !== !1 && t.isMergeableObject(e) ? Pe(mn(e), e, t) : e;
97
+ }
98
+ function gn(e, t, r) {
99
+ return e.concat(t).map(function(n) {
100
+ return ze(n, r);
101
+ });
102
+ }
103
+ function vn(e, t) {
104
+ if (!t.customMerge)
105
+ return Pe;
106
+ var r = t.customMerge(e);
107
+ return typeof r == "function" ? r : Pe;
108
+ }
109
+ function En(e) {
110
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
111
+ return Object.propertyIsEnumerable.call(e, t);
112
+ }) : [];
113
+ }
114
+ function Yt(e) {
115
+ return Object.keys(e).concat(En(e));
116
+ }
117
+ function br(e, t) {
118
+ try {
119
+ return t in e;
120
+ } catch (r) {
121
+ return !1;
122
+ }
123
+ }
124
+ function bn(e, t) {
125
+ return br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
126
+ }
127
+ function yn(e, t, r) {
128
+ var n = {};
129
+ return r.isMergeableObject(e) && Yt(e).forEach(function(i) {
130
+ n[i] = ze(e[i], r);
131
+ }), Yt(t).forEach(function(i) {
132
+ bn(e, i) || (br(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ze(t[i], r));
133
+ }), n;
134
+ }
135
+ function Pe(e, t, r) {
136
+ r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = ze;
137
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
138
+ return o ? n ? r.arrayMerge(e, t, r) : yn(e, t, r) : ze(t, r);
139
+ }
140
+ Pe.all = function(t, r) {
141
+ if (!Array.isArray(t))
142
+ throw new Error("first argument should be an array");
143
+ return t.reduce(function(n, i) {
144
+ return Pe(n, i, r);
145
+ }, {});
146
+ };
147
+ var wn = Pe, In = wn;
148
+ const xn = /* @__PURE__ */ ln(In);
149
+ var Ot = function(e, t) {
150
+ return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
151
+ r.__proto__ = n;
152
+ } || function(r, n) {
153
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
154
+ }, Ot(e, t);
155
+ };
156
+ function ct(e, t) {
157
+ if (typeof t != "function" && t !== null)
158
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
159
+ Ot(e, t);
160
+ function r() {
161
+ this.constructor = e;
162
+ }
163
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
164
+ }
165
+ var k = function() {
166
+ return k = Object.assign || function(t) {
167
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
168
+ r = arguments[n];
169
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
170
+ }
171
+ return t;
172
+ }, k.apply(this, arguments);
173
+ };
174
+ function Bn(e, t) {
175
+ var r = {};
176
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
177
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
178
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
179
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
180
+ return r;
181
+ }
182
+ function It(e, t, r) {
183
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
184
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
185
+ return e.concat(o || Array.prototype.slice.call(t));
186
+ }
187
+ var N;
188
+ (function(e) {
189
+ 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";
190
+ })(N || (N = {}));
191
+ var z;
192
+ (function(e) {
193
+ 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";
194
+ })(z || (z = {}));
195
+ var Me;
196
+ (function(e) {
197
+ e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
198
+ })(Me || (Me = {}));
199
+ function Wt(e) {
200
+ return e.type === z.literal;
201
+ }
202
+ function Tn(e) {
203
+ return e.type === z.argument;
204
+ }
205
+ function yr(e) {
206
+ return e.type === z.number;
207
+ }
208
+ function wr(e) {
209
+ return e.type === z.date;
210
+ }
211
+ function Ir(e) {
212
+ return e.type === z.time;
213
+ }
214
+ function xr(e) {
215
+ return e.type === z.select;
216
+ }
217
+ function Br(e) {
218
+ return e.type === z.plural;
219
+ }
220
+ function Hn(e) {
221
+ return e.type === z.pound;
222
+ }
223
+ function Tr(e) {
224
+ return e.type === z.tag;
225
+ }
226
+ function Hr(e) {
227
+ return !!(e && typeof e == "object" && e.type === Me.number);
228
+ }
229
+ function Nt(e) {
230
+ return !!(e && typeof e == "object" && e.type === Me.dateTime);
231
+ }
232
+ var Cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
233
+ function Rn(e) {
234
+ var t = {};
235
+ return e.replace(Cn, function(r) {
236
+ var n = r.length;
237
+ switch (r[0]) {
238
+ case "G":
239
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
240
+ break;
241
+ case "y":
242
+ t.year = n === 2 ? "2-digit" : "numeric";
243
+ break;
244
+ case "Y":
245
+ case "u":
246
+ case "U":
247
+ case "r":
248
+ throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
249
+ case "q":
250
+ case "Q":
251
+ throw new RangeError("`q/Q` (quarter) patterns are not supported");
252
+ case "M":
253
+ case "L":
254
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
255
+ break;
256
+ case "w":
257
+ case "W":
258
+ throw new RangeError("`w/W` (week) patterns are not supported");
259
+ case "d":
260
+ t.day = ["numeric", "2-digit"][n - 1];
261
+ break;
262
+ case "D":
263
+ case "F":
264
+ case "g":
265
+ throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
266
+ case "E":
267
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
268
+ break;
269
+ case "e":
270
+ if (n < 4)
271
+ throw new RangeError("`e..eee` (weekday) patterns are not supported");
272
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
273
+ break;
274
+ case "c":
275
+ if (n < 4)
276
+ throw new RangeError("`c..ccc` (weekday) patterns are not supported");
277
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
278
+ break;
279
+ case "a":
280
+ t.hour12 = !0;
281
+ break;
282
+ case "b":
283
+ case "B":
284
+ throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
285
+ case "h":
286
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
287
+ break;
288
+ case "H":
289
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
290
+ break;
291
+ case "K":
292
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
293
+ break;
294
+ case "k":
295
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
296
+ break;
297
+ case "j":
298
+ case "J":
299
+ case "C":
300
+ throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
301
+ case "m":
302
+ t.minute = ["numeric", "2-digit"][n - 1];
303
+ break;
304
+ case "s":
305
+ t.second = ["numeric", "2-digit"][n - 1];
306
+ break;
307
+ case "S":
308
+ case "A":
309
+ throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
310
+ case "z":
311
+ t.timeZoneName = n < 4 ? "short" : "long";
312
+ break;
313
+ case "Z":
314
+ case "O":
315
+ case "v":
316
+ case "V":
317
+ case "X":
318
+ case "x":
319
+ throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
320
+ }
321
+ return "";
322
+ }), t;
323
+ }
324
+ var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
325
+ function On(e) {
326
+ if (e.length === 0)
327
+ throw new Error("Number skeleton cannot be empty");
328
+ for (var t = e.split(Sn).filter(function(v) {
329
+ return v.length > 0;
330
+ }), r = [], n = 0, i = t; n < i.length; n++) {
331
+ var o = i[n], f = o.split("/");
332
+ if (f.length === 0)
333
+ throw new Error("Invalid number skeleton");
334
+ for (var c = f[0], d = f.slice(1), u = 0, l = d; u < l.length; u++) {
335
+ var g = l[u];
336
+ if (g.length === 0)
337
+ throw new Error("Invalid number skeleton");
338
+ }
339
+ r.push({ stem: c, options: d });
340
+ }
341
+ return r;
342
+ }
343
+ function Nn(e) {
344
+ return e.replace(/^(.*?)-/, "");
345
+ }
346
+ var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Sr = /^(0+)$/;
347
+ function $t(e) {
348
+ var t = {};
349
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
350
+ 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)), "";
351
+ }), t;
352
+ }
353
+ function Or(e) {
354
+ switch (e) {
355
+ case "sign-auto":
356
+ return {
357
+ signDisplay: "auto"
358
+ };
359
+ case "sign-accounting":
360
+ case "()":
361
+ return {
362
+ currencySign: "accounting"
363
+ };
364
+ case "sign-always":
365
+ case "+!":
366
+ return {
367
+ signDisplay: "always"
368
+ };
369
+ case "sign-accounting-always":
370
+ case "()!":
371
+ return {
372
+ signDisplay: "always",
373
+ currencySign: "accounting"
374
+ };
375
+ case "sign-except-zero":
376
+ case "+?":
377
+ return {
378
+ signDisplay: "exceptZero"
379
+ };
380
+ case "sign-accounting-except-zero":
381
+ case "()?":
382
+ return {
383
+ signDisplay: "exceptZero",
384
+ currencySign: "accounting"
385
+ };
386
+ case "sign-never":
387
+ case "+_":
388
+ return {
389
+ signDisplay: "never"
390
+ };
391
+ }
392
+ }
393
+ function Dn(e) {
394
+ var t;
395
+ if (e[0] === "E" && e[1] === "E" ? (t = {
396
+ notation: "engineering"
397
+ }, e = e.slice(2)) : e[0] === "E" && (t = {
398
+ notation: "scientific"
399
+ }, e = e.slice(1)), t) {
400
+ var r = e.slice(0, 2);
401
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Sr.test(e))
402
+ throw new Error("Malformed concise eng/scientific notation");
403
+ t.minimumIntegerDigits = e.length;
404
+ }
405
+ return t;
406
+ }
407
+ function er(e) {
408
+ var t = {}, r = Or(e);
409
+ return r || t;
410
+ }
411
+ function Pn(e) {
412
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
413
+ var i = n[r];
414
+ switch (i.stem) {
415
+ case "percent":
416
+ case "%":
417
+ t.style = "percent";
418
+ continue;
419
+ case "%x100":
420
+ t.style = "percent", t.scale = 100;
421
+ continue;
422
+ case "currency":
423
+ t.style = "currency", t.currency = i.options[0];
424
+ continue;
425
+ case "group-off":
426
+ case ",_":
427
+ t.useGrouping = !1;
428
+ continue;
429
+ case "precision-integer":
430
+ case ".":
431
+ t.maximumFractionDigits = 0;
432
+ continue;
433
+ case "measure-unit":
434
+ case "unit":
435
+ t.style = "unit", t.unit = Nn(i.options[0]);
436
+ continue;
437
+ case "compact-short":
438
+ case "K":
439
+ t.notation = "compact", t.compactDisplay = "short";
440
+ continue;
441
+ case "compact-long":
442
+ case "KK":
443
+ t.notation = "compact", t.compactDisplay = "long";
444
+ continue;
445
+ case "scientific":
446
+ t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(d, u) {
447
+ return k(k({}, d), er(u));
448
+ }, {}));
449
+ continue;
450
+ case "engineering":
451
+ t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(d, u) {
452
+ return k(k({}, d), er(u));
453
+ }, {}));
454
+ continue;
455
+ case "notation-simple":
456
+ t.notation = "standard";
457
+ continue;
458
+ case "unit-width-narrow":
459
+ t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
460
+ continue;
461
+ case "unit-width-short":
462
+ t.currencyDisplay = "code", t.unitDisplay = "short";
463
+ continue;
464
+ case "unit-width-full-name":
465
+ t.currencyDisplay = "name", t.unitDisplay = "long";
466
+ continue;
467
+ case "unit-width-iso-code":
468
+ t.currencyDisplay = "symbol";
469
+ continue;
470
+ case "scale":
471
+ t.scale = parseFloat(i.options[0]);
472
+ continue;
473
+ case "rounding-mode-floor":
474
+ t.roundingMode = "floor";
475
+ continue;
476
+ case "rounding-mode-ceiling":
477
+ t.roundingMode = "ceil";
478
+ continue;
479
+ case "rounding-mode-down":
480
+ t.roundingMode = "trunc";
481
+ continue;
482
+ case "rounding-mode-up":
483
+ t.roundingMode = "expand";
484
+ continue;
485
+ case "rounding-mode-half-even":
486
+ t.roundingMode = "halfEven";
487
+ continue;
488
+ case "rounding-mode-half-down":
489
+ t.roundingMode = "halfTrunc";
490
+ continue;
491
+ case "rounding-mode-half-up":
492
+ t.roundingMode = "halfExpand";
493
+ continue;
494
+ case "integer-width":
495
+ if (i.options.length > 1)
496
+ throw new RangeError("integer-width stems only accept a single optional option");
497
+ i.options[0].replace(Ln, function(d, u, l, g, v, S) {
498
+ if (u)
499
+ t.minimumIntegerDigits = l.length;
500
+ else {
501
+ if (g && v)
502
+ throw new Error("We currently do not support maximum integer digits");
503
+ if (S)
504
+ throw new Error("We currently do not support exact integer digits");
505
+ }
506
+ return "";
507
+ });
508
+ continue;
509
+ }
510
+ if (Sr.test(i.stem)) {
511
+ t.minimumIntegerDigits = i.stem.length;
512
+ continue;
513
+ }
514
+ if (Kt.test(i.stem)) {
515
+ if (i.options.length > 1)
516
+ throw new RangeError("Fraction-precision stems only accept a single optional option");
517
+ i.stem.replace(Kt, function(d, u, l, g, v, S) {
518
+ return l === "*" ? t.minimumFractionDigits = u.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : v && S ? (t.minimumFractionDigits = v.length, t.maximumFractionDigits = v.length + S.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
519
+ });
520
+ var o = i.options[0];
521
+ o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), $t(o)));
522
+ continue;
523
+ }
524
+ if (Rr.test(i.stem)) {
525
+ t = k(k({}, t), $t(i.stem));
526
+ continue;
527
+ }
528
+ var f = Or(i.stem);
529
+ f && (t = k(k({}, t), f));
530
+ var c = Dn(i.stem);
531
+ c && (t = k(k({}, t), c));
532
+ }
533
+ return t;
534
+ }
535
+ var ot = {
536
+ "001": [
537
+ "H",
538
+ "h"
539
+ ],
540
+ AC: [
541
+ "H",
542
+ "h",
543
+ "hb",
544
+ "hB"
545
+ ],
546
+ AD: [
547
+ "H",
548
+ "hB"
549
+ ],
550
+ AE: [
551
+ "h",
552
+ "hB",
553
+ "hb",
554
+ "H"
555
+ ],
556
+ AF: [
557
+ "H",
558
+ "hb",
559
+ "hB",
560
+ "h"
561
+ ],
562
+ AG: [
563
+ "h",
564
+ "hb",
565
+ "H",
566
+ "hB"
567
+ ],
568
+ AI: [
569
+ "H",
570
+ "h",
571
+ "hb",
572
+ "hB"
573
+ ],
574
+ AL: [
575
+ "h",
576
+ "H",
577
+ "hB"
578
+ ],
579
+ AM: [
580
+ "H",
581
+ "hB"
582
+ ],
583
+ AO: [
584
+ "H",
585
+ "hB"
586
+ ],
587
+ AR: [
588
+ "H",
589
+ "h",
590
+ "hB",
591
+ "hb"
592
+ ],
593
+ AS: [
594
+ "h",
595
+ "H"
596
+ ],
597
+ AT: [
598
+ "H",
599
+ "hB"
600
+ ],
601
+ AU: [
602
+ "h",
603
+ "hb",
604
+ "H",
605
+ "hB"
606
+ ],
607
+ AW: [
608
+ "H",
609
+ "hB"
610
+ ],
611
+ AX: [
612
+ "H"
613
+ ],
614
+ AZ: [
615
+ "H",
616
+ "hB",
617
+ "h"
618
+ ],
619
+ BA: [
620
+ "H",
621
+ "hB",
622
+ "h"
623
+ ],
624
+ BB: [
625
+ "h",
626
+ "hb",
627
+ "H",
628
+ "hB"
629
+ ],
630
+ BD: [
631
+ "h",
632
+ "hB",
633
+ "H"
634
+ ],
635
+ BE: [
636
+ "H",
637
+ "hB"
638
+ ],
639
+ BF: [
640
+ "H",
641
+ "hB"
642
+ ],
643
+ BG: [
644
+ "H",
645
+ "hB",
646
+ "h"
647
+ ],
648
+ BH: [
649
+ "h",
650
+ "hB",
651
+ "hb",
652
+ "H"
653
+ ],
654
+ BI: [
655
+ "H",
656
+ "h"
657
+ ],
658
+ BJ: [
659
+ "H",
660
+ "hB"
661
+ ],
662
+ BL: [
663
+ "H",
664
+ "hB"
665
+ ],
666
+ BM: [
667
+ "h",
668
+ "hb",
669
+ "H",
670
+ "hB"
671
+ ],
672
+ BN: [
673
+ "hb",
674
+ "hB",
675
+ "h",
676
+ "H"
677
+ ],
678
+ BO: [
679
+ "H",
680
+ "hB",
681
+ "h",
682
+ "hb"
683
+ ],
684
+ BQ: [
685
+ "H"
686
+ ],
687
+ BR: [
688
+ "H",
689
+ "hB"
690
+ ],
691
+ BS: [
692
+ "h",
693
+ "hb",
694
+ "H",
695
+ "hB"
696
+ ],
697
+ BT: [
698
+ "h",
699
+ "H"
700
+ ],
701
+ BW: [
702
+ "H",
703
+ "h",
704
+ "hb",
705
+ "hB"
706
+ ],
707
+ BY: [
708
+ "H",
709
+ "h"
710
+ ],
711
+ BZ: [
712
+ "H",
713
+ "h",
714
+ "hb",
715
+ "hB"
716
+ ],
717
+ CA: [
718
+ "h",
719
+ "hb",
720
+ "H",
721
+ "hB"
722
+ ],
723
+ CC: [
724
+ "H",
725
+ "h",
726
+ "hb",
727
+ "hB"
728
+ ],
729
+ CD: [
730
+ "hB",
731
+ "H"
732
+ ],
733
+ CF: [
734
+ "H",
735
+ "h",
736
+ "hB"
737
+ ],
738
+ CG: [
739
+ "H",
740
+ "hB"
741
+ ],
742
+ CH: [
743
+ "H",
744
+ "hB",
745
+ "h"
746
+ ],
747
+ CI: [
748
+ "H",
749
+ "hB"
750
+ ],
751
+ CK: [
752
+ "H",
753
+ "h",
754
+ "hb",
755
+ "hB"
756
+ ],
757
+ CL: [
758
+ "H",
759
+ "h",
760
+ "hB",
761
+ "hb"
762
+ ],
763
+ CM: [
764
+ "H",
765
+ "h",
766
+ "hB"
767
+ ],
768
+ CN: [
769
+ "H",
770
+ "hB",
771
+ "hb",
772
+ "h"
773
+ ],
774
+ CO: [
775
+ "h",
776
+ "H",
777
+ "hB",
778
+ "hb"
779
+ ],
780
+ CP: [
781
+ "H"
782
+ ],
783
+ CR: [
784
+ "H",
785
+ "h",
786
+ "hB",
787
+ "hb"
788
+ ],
789
+ CU: [
790
+ "H",
791
+ "h",
792
+ "hB",
793
+ "hb"
794
+ ],
795
+ CV: [
796
+ "H",
797
+ "hB"
798
+ ],
799
+ CW: [
800
+ "H",
801
+ "hB"
802
+ ],
803
+ CX: [
804
+ "H",
805
+ "h",
806
+ "hb",
807
+ "hB"
808
+ ],
809
+ CY: [
810
+ "h",
811
+ "H",
812
+ "hb",
813
+ "hB"
814
+ ],
815
+ CZ: [
816
+ "H"
817
+ ],
818
+ DE: [
819
+ "H",
820
+ "hB"
821
+ ],
822
+ DG: [
823
+ "H",
824
+ "h",
825
+ "hb",
826
+ "hB"
827
+ ],
828
+ DJ: [
829
+ "h",
830
+ "H"
831
+ ],
832
+ DK: [
833
+ "H"
834
+ ],
835
+ DM: [
836
+ "h",
837
+ "hb",
838
+ "H",
839
+ "hB"
840
+ ],
841
+ DO: [
842
+ "h",
843
+ "H",
844
+ "hB",
845
+ "hb"
846
+ ],
847
+ DZ: [
848
+ "h",
849
+ "hB",
850
+ "hb",
851
+ "H"
852
+ ],
853
+ EA: [
854
+ "H",
855
+ "h",
856
+ "hB",
857
+ "hb"
858
+ ],
859
+ EC: [
860
+ "H",
861
+ "hB",
862
+ "h",
863
+ "hb"
864
+ ],
865
+ EE: [
866
+ "H",
867
+ "hB"
868
+ ],
869
+ EG: [
870
+ "h",
871
+ "hB",
872
+ "hb",
873
+ "H"
874
+ ],
875
+ EH: [
876
+ "h",
877
+ "hB",
878
+ "hb",
879
+ "H"
880
+ ],
881
+ ER: [
882
+ "h",
883
+ "H"
884
+ ],
885
+ ES: [
886
+ "H",
887
+ "hB",
888
+ "h",
889
+ "hb"
890
+ ],
891
+ ET: [
892
+ "hB",
893
+ "hb",
894
+ "h",
895
+ "H"
896
+ ],
897
+ FI: [
898
+ "H"
899
+ ],
900
+ FJ: [
901
+ "h",
902
+ "hb",
903
+ "H",
904
+ "hB"
905
+ ],
906
+ FK: [
907
+ "H",
908
+ "h",
909
+ "hb",
910
+ "hB"
911
+ ],
912
+ FM: [
913
+ "h",
914
+ "hb",
915
+ "H",
916
+ "hB"
917
+ ],
918
+ FO: [
919
+ "H",
920
+ "h"
921
+ ],
922
+ FR: [
923
+ "H",
924
+ "hB"
925
+ ],
926
+ GA: [
927
+ "H",
928
+ "hB"
929
+ ],
930
+ GB: [
931
+ "H",
932
+ "h",
933
+ "hb",
934
+ "hB"
935
+ ],
936
+ GD: [
937
+ "h",
938
+ "hb",
939
+ "H",
940
+ "hB"
941
+ ],
942
+ GE: [
943
+ "H",
944
+ "hB",
945
+ "h"
946
+ ],
947
+ GF: [
948
+ "H",
949
+ "hB"
950
+ ],
951
+ GG: [
952
+ "H",
953
+ "h",
954
+ "hb",
955
+ "hB"
956
+ ],
957
+ GH: [
958
+ "h",
959
+ "H"
960
+ ],
961
+ GI: [
962
+ "H",
963
+ "h",
964
+ "hb",
965
+ "hB"
966
+ ],
967
+ GL: [
968
+ "H",
969
+ "h"
970
+ ],
971
+ GM: [
972
+ "h",
973
+ "hb",
974
+ "H",
975
+ "hB"
976
+ ],
977
+ GN: [
978
+ "H",
979
+ "hB"
980
+ ],
981
+ GP: [
982
+ "H",
983
+ "hB"
984
+ ],
985
+ GQ: [
986
+ "H",
987
+ "hB",
988
+ "h",
989
+ "hb"
990
+ ],
991
+ GR: [
992
+ "h",
993
+ "H",
994
+ "hb",
995
+ "hB"
996
+ ],
997
+ GT: [
998
+ "H",
999
+ "h",
1000
+ "hB",
1001
+ "hb"
1002
+ ],
1003
+ GU: [
1004
+ "h",
1005
+ "hb",
1006
+ "H",
1007
+ "hB"
1008
+ ],
1009
+ GW: [
1010
+ "H",
1011
+ "hB"
1012
+ ],
1013
+ GY: [
1014
+ "h",
1015
+ "hb",
1016
+ "H",
1017
+ "hB"
1018
+ ],
1019
+ HK: [
1020
+ "h",
1021
+ "hB",
1022
+ "hb",
1023
+ "H"
1024
+ ],
1025
+ HN: [
1026
+ "H",
1027
+ "h",
1028
+ "hB",
1029
+ "hb"
1030
+ ],
1031
+ HR: [
1032
+ "H",
1033
+ "hB"
1034
+ ],
1035
+ HU: [
1036
+ "H",
1037
+ "h"
1038
+ ],
1039
+ IC: [
1040
+ "H",
1041
+ "h",
1042
+ "hB",
1043
+ "hb"
1044
+ ],
1045
+ ID: [
1046
+ "H"
1047
+ ],
1048
+ IE: [
1049
+ "H",
1050
+ "h",
1051
+ "hb",
1052
+ "hB"
1053
+ ],
1054
+ IL: [
1055
+ "H",
1056
+ "hB"
1057
+ ],
1058
+ IM: [
1059
+ "H",
1060
+ "h",
1061
+ "hb",
1062
+ "hB"
1063
+ ],
1064
+ IN: [
1065
+ "h",
1066
+ "H"
1067
+ ],
1068
+ IO: [
1069
+ "H",
1070
+ "h",
1071
+ "hb",
1072
+ "hB"
1073
+ ],
1074
+ IQ: [
1075
+ "h",
1076
+ "hB",
1077
+ "hb",
1078
+ "H"
1079
+ ],
1080
+ IR: [
1081
+ "hB",
1082
+ "H"
1083
+ ],
1084
+ IS: [
1085
+ "H"
1086
+ ],
1087
+ IT: [
1088
+ "H",
1089
+ "hB"
1090
+ ],
1091
+ JE: [
1092
+ "H",
1093
+ "h",
1094
+ "hb",
1095
+ "hB"
1096
+ ],
1097
+ JM: [
1098
+ "h",
1099
+ "hb",
1100
+ "H",
1101
+ "hB"
1102
+ ],
1103
+ JO: [
1104
+ "h",
1105
+ "hB",
1106
+ "hb",
1107
+ "H"
1108
+ ],
1109
+ JP: [
1110
+ "H",
1111
+ "K",
1112
+ "h"
1113
+ ],
1114
+ KE: [
1115
+ "hB",
1116
+ "hb",
1117
+ "H",
1118
+ "h"
1119
+ ],
1120
+ KG: [
1121
+ "H",
1122
+ "h",
1123
+ "hB",
1124
+ "hb"
1125
+ ],
1126
+ KH: [
1127
+ "hB",
1128
+ "h",
1129
+ "H",
1130
+ "hb"
1131
+ ],
1132
+ KI: [
1133
+ "h",
1134
+ "hb",
1135
+ "H",
1136
+ "hB"
1137
+ ],
1138
+ KM: [
1139
+ "H",
1140
+ "h",
1141
+ "hB",
1142
+ "hb"
1143
+ ],
1144
+ KN: [
1145
+ "h",
1146
+ "hb",
1147
+ "H",
1148
+ "hB"
1149
+ ],
1150
+ KP: [
1151
+ "h",
1152
+ "H",
1153
+ "hB",
1154
+ "hb"
1155
+ ],
1156
+ KR: [
1157
+ "h",
1158
+ "H",
1159
+ "hB",
1160
+ "hb"
1161
+ ],
1162
+ KW: [
1163
+ "h",
1164
+ "hB",
1165
+ "hb",
1166
+ "H"
1167
+ ],
1168
+ KY: [
1169
+ "h",
1170
+ "hb",
1171
+ "H",
1172
+ "hB"
1173
+ ],
1174
+ KZ: [
1175
+ "H",
1176
+ "hB"
1177
+ ],
1178
+ LA: [
1179
+ "H",
1180
+ "hb",
1181
+ "hB",
1182
+ "h"
1183
+ ],
1184
+ LB: [
1185
+ "h",
1186
+ "hB",
1187
+ "hb",
1188
+ "H"
1189
+ ],
1190
+ LC: [
1191
+ "h",
1192
+ "hb",
1193
+ "H",
1194
+ "hB"
1195
+ ],
1196
+ LI: [
1197
+ "H",
1198
+ "hB",
1199
+ "h"
1200
+ ],
1201
+ LK: [
1202
+ "H",
1203
+ "h",
1204
+ "hB",
1205
+ "hb"
1206
+ ],
1207
+ LR: [
1208
+ "h",
1209
+ "hb",
1210
+ "H",
1211
+ "hB"
1212
+ ],
1213
+ LS: [
1214
+ "h",
1215
+ "H"
1216
+ ],
1217
+ LT: [
1218
+ "H",
1219
+ "h",
1220
+ "hb",
1221
+ "hB"
1222
+ ],
1223
+ LU: [
1224
+ "H",
1225
+ "h",
1226
+ "hB"
1227
+ ],
1228
+ LV: [
1229
+ "H",
1230
+ "hB",
1231
+ "hb",
1232
+ "h"
1233
+ ],
1234
+ LY: [
1235
+ "h",
1236
+ "hB",
1237
+ "hb",
1238
+ "H"
1239
+ ],
1240
+ MA: [
1241
+ "H",
1242
+ "h",
1243
+ "hB",
1244
+ "hb"
1245
+ ],
1246
+ MC: [
1247
+ "H",
1248
+ "hB"
1249
+ ],
1250
+ MD: [
1251
+ "H",
1252
+ "hB"
1253
+ ],
1254
+ ME: [
1255
+ "H",
1256
+ "hB",
1257
+ "h"
1258
+ ],
1259
+ MF: [
1260
+ "H",
1261
+ "hB"
1262
+ ],
1263
+ MG: [
1264
+ "H",
1265
+ "h"
1266
+ ],
1267
+ MH: [
1268
+ "h",
1269
+ "hb",
1270
+ "H",
1271
+ "hB"
1272
+ ],
1273
+ MK: [
1274
+ "H",
1275
+ "h",
1276
+ "hb",
1277
+ "hB"
1278
+ ],
1279
+ ML: [
1280
+ "H"
1281
+ ],
1282
+ MM: [
1283
+ "hB",
1284
+ "hb",
1285
+ "H",
1286
+ "h"
1287
+ ],
1288
+ MN: [
1289
+ "H",
1290
+ "h",
1291
+ "hb",
1292
+ "hB"
1293
+ ],
1294
+ MO: [
1295
+ "h",
1296
+ "hB",
1297
+ "hb",
1298
+ "H"
1299
+ ],
1300
+ MP: [
1301
+ "h",
1302
+ "hb",
1303
+ "H",
1304
+ "hB"
1305
+ ],
1306
+ MQ: [
1307
+ "H",
1308
+ "hB"
1309
+ ],
1310
+ MR: [
1311
+ "h",
1312
+ "hB",
1313
+ "hb",
1314
+ "H"
1315
+ ],
1316
+ MS: [
1317
+ "H",
1318
+ "h",
1319
+ "hb",
1320
+ "hB"
1321
+ ],
1322
+ MT: [
1323
+ "H",
1324
+ "h"
1325
+ ],
1326
+ MU: [
1327
+ "H",
1328
+ "h"
1329
+ ],
1330
+ MV: [
1331
+ "H",
1332
+ "h"
1333
+ ],
1334
+ MW: [
1335
+ "h",
1336
+ "hb",
1337
+ "H",
1338
+ "hB"
1339
+ ],
1340
+ MX: [
1341
+ "H",
1342
+ "h",
1343
+ "hB",
1344
+ "hb"
1345
+ ],
1346
+ MY: [
1347
+ "hb",
1348
+ "hB",
1349
+ "h",
1350
+ "H"
1351
+ ],
1352
+ MZ: [
1353
+ "H",
1354
+ "hB"
1355
+ ],
1356
+ NA: [
1357
+ "h",
1358
+ "H",
1359
+ "hB",
1360
+ "hb"
1361
+ ],
1362
+ NC: [
1363
+ "H",
1364
+ "hB"
1365
+ ],
1366
+ NE: [
1367
+ "H"
1368
+ ],
1369
+ NF: [
1370
+ "H",
1371
+ "h",
1372
+ "hb",
1373
+ "hB"
1374
+ ],
1375
+ NG: [
1376
+ "H",
1377
+ "h",
1378
+ "hb",
1379
+ "hB"
1380
+ ],
1381
+ NI: [
1382
+ "H",
1383
+ "h",
1384
+ "hB",
1385
+ "hb"
1386
+ ],
1387
+ NL: [
1388
+ "H",
1389
+ "hB"
1390
+ ],
1391
+ NO: [
1392
+ "H",
1393
+ "h"
1394
+ ],
1395
+ NP: [
1396
+ "H",
1397
+ "h",
1398
+ "hB"
1399
+ ],
1400
+ NR: [
1401
+ "H",
1402
+ "h",
1403
+ "hb",
1404
+ "hB"
1405
+ ],
1406
+ NU: [
1407
+ "H",
1408
+ "h",
1409
+ "hb",
1410
+ "hB"
1411
+ ],
1412
+ NZ: [
1413
+ "h",
1414
+ "hb",
1415
+ "H",
1416
+ "hB"
1417
+ ],
1418
+ OM: [
1419
+ "h",
1420
+ "hB",
1421
+ "hb",
1422
+ "H"
1423
+ ],
1424
+ PA: [
1425
+ "h",
1426
+ "H",
1427
+ "hB",
1428
+ "hb"
1429
+ ],
1430
+ PE: [
1431
+ "H",
1432
+ "hB",
1433
+ "h",
1434
+ "hb"
1435
+ ],
1436
+ PF: [
1437
+ "H",
1438
+ "h",
1439
+ "hB"
1440
+ ],
1441
+ PG: [
1442
+ "h",
1443
+ "H"
1444
+ ],
1445
+ PH: [
1446
+ "h",
1447
+ "hB",
1448
+ "hb",
1449
+ "H"
1450
+ ],
1451
+ PK: [
1452
+ "h",
1453
+ "hB",
1454
+ "H"
1455
+ ],
1456
+ PL: [
1457
+ "H",
1458
+ "h"
1459
+ ],
1460
+ PM: [
1461
+ "H",
1462
+ "hB"
1463
+ ],
1464
+ PN: [
1465
+ "H",
1466
+ "h",
1467
+ "hb",
1468
+ "hB"
1469
+ ],
1470
+ PR: [
1471
+ "h",
1472
+ "H",
1473
+ "hB",
1474
+ "hb"
1475
+ ],
1476
+ PS: [
1477
+ "h",
1478
+ "hB",
1479
+ "hb",
1480
+ "H"
1481
+ ],
1482
+ PT: [
1483
+ "H",
1484
+ "hB"
1485
+ ],
1486
+ PW: [
1487
+ "h",
1488
+ "H"
1489
+ ],
1490
+ PY: [
1491
+ "H",
1492
+ "h",
1493
+ "hB",
1494
+ "hb"
1495
+ ],
1496
+ QA: [
1497
+ "h",
1498
+ "hB",
1499
+ "hb",
1500
+ "H"
1501
+ ],
1502
+ RE: [
1503
+ "H",
1504
+ "hB"
1505
+ ],
1506
+ RO: [
1507
+ "H",
1508
+ "hB"
1509
+ ],
1510
+ RS: [
1511
+ "H",
1512
+ "hB",
1513
+ "h"
1514
+ ],
1515
+ RU: [
1516
+ "H"
1517
+ ],
1518
+ RW: [
1519
+ "H",
1520
+ "h"
1521
+ ],
1522
+ SA: [
1523
+ "h",
1524
+ "hB",
1525
+ "hb",
1526
+ "H"
1527
+ ],
1528
+ SB: [
1529
+ "h",
1530
+ "hb",
1531
+ "H",
1532
+ "hB"
1533
+ ],
1534
+ SC: [
1535
+ "H",
1536
+ "h",
1537
+ "hB"
1538
+ ],
1539
+ SD: [
1540
+ "h",
1541
+ "hB",
1542
+ "hb",
1543
+ "H"
1544
+ ],
1545
+ SE: [
1546
+ "H"
1547
+ ],
1548
+ SG: [
1549
+ "h",
1550
+ "hb",
1551
+ "H",
1552
+ "hB"
1553
+ ],
1554
+ SH: [
1555
+ "H",
1556
+ "h",
1557
+ "hb",
1558
+ "hB"
1559
+ ],
1560
+ SI: [
1561
+ "H",
1562
+ "hB"
1563
+ ],
1564
+ SJ: [
1565
+ "H"
1566
+ ],
1567
+ SK: [
1568
+ "H"
1569
+ ],
1570
+ SL: [
1571
+ "h",
1572
+ "hb",
1573
+ "H",
1574
+ "hB"
1575
+ ],
1576
+ SM: [
1577
+ "H",
1578
+ "h",
1579
+ "hB"
1580
+ ],
1581
+ SN: [
1582
+ "H",
1583
+ "h",
1584
+ "hB"
1585
+ ],
1586
+ SO: [
1587
+ "h",
1588
+ "H"
1589
+ ],
1590
+ SR: [
1591
+ "H",
1592
+ "hB"
1593
+ ],
1594
+ SS: [
1595
+ "h",
1596
+ "hb",
1597
+ "H",
1598
+ "hB"
1599
+ ],
1600
+ ST: [
1601
+ "H",
1602
+ "hB"
1603
+ ],
1604
+ SV: [
1605
+ "H",
1606
+ "h",
1607
+ "hB",
1608
+ "hb"
1609
+ ],
1610
+ SX: [
1611
+ "H",
1612
+ "h",
1613
+ "hb",
1614
+ "hB"
1615
+ ],
1616
+ SY: [
1617
+ "h",
1618
+ "hB",
1619
+ "hb",
1620
+ "H"
1621
+ ],
1622
+ SZ: [
1623
+ "h",
1624
+ "hb",
1625
+ "H",
1626
+ "hB"
1627
+ ],
1628
+ TA: [
1629
+ "H",
1630
+ "h",
1631
+ "hb",
1632
+ "hB"
1633
+ ],
1634
+ TC: [
1635
+ "h",
1636
+ "hb",
1637
+ "H",
1638
+ "hB"
1639
+ ],
1640
+ TD: [
1641
+ "h",
1642
+ "H",
1643
+ "hB"
1644
+ ],
1645
+ TF: [
1646
+ "H",
1647
+ "h",
1648
+ "hB"
1649
+ ],
1650
+ TG: [
1651
+ "H",
1652
+ "hB"
1653
+ ],
1654
+ TH: [
1655
+ "H",
1656
+ "h"
1657
+ ],
1658
+ TJ: [
1659
+ "H",
1660
+ "h"
1661
+ ],
1662
+ TL: [
1663
+ "H",
1664
+ "hB",
1665
+ "hb",
1666
+ "h"
1667
+ ],
1668
+ TM: [
1669
+ "H",
1670
+ "h"
1671
+ ],
1672
+ TN: [
1673
+ "h",
1674
+ "hB",
1675
+ "hb",
1676
+ "H"
1677
+ ],
1678
+ TO: [
1679
+ "h",
1680
+ "H"
1681
+ ],
1682
+ TR: [
1683
+ "H",
1684
+ "hB"
1685
+ ],
1686
+ TT: [
1687
+ "h",
1688
+ "hb",
1689
+ "H",
1690
+ "hB"
1691
+ ],
1692
+ TW: [
1693
+ "hB",
1694
+ "hb",
1695
+ "h",
1696
+ "H"
1697
+ ],
1698
+ TZ: [
1699
+ "hB",
1700
+ "hb",
1701
+ "H",
1702
+ "h"
1703
+ ],
1704
+ UA: [
1705
+ "H",
1706
+ "hB",
1707
+ "h"
1708
+ ],
1709
+ UG: [
1710
+ "hB",
1711
+ "hb",
1712
+ "H",
1713
+ "h"
1714
+ ],
1715
+ UM: [
1716
+ "h",
1717
+ "hb",
1718
+ "H",
1719
+ "hB"
1720
+ ],
1721
+ US: [
1722
+ "h",
1723
+ "hb",
1724
+ "H",
1725
+ "hB"
1726
+ ],
1727
+ UY: [
1728
+ "H",
1729
+ "h",
1730
+ "hB",
1731
+ "hb"
1732
+ ],
1733
+ UZ: [
1734
+ "H",
1735
+ "hB",
1736
+ "h"
1737
+ ],
1738
+ VA: [
1739
+ "H",
1740
+ "h",
1741
+ "hB"
1742
+ ],
1743
+ VC: [
1744
+ "h",
1745
+ "hb",
1746
+ "H",
1747
+ "hB"
1748
+ ],
1749
+ VE: [
1750
+ "h",
1751
+ "H",
1752
+ "hB",
1753
+ "hb"
1754
+ ],
1755
+ VG: [
1756
+ "h",
1757
+ "hb",
1758
+ "H",
1759
+ "hB"
1760
+ ],
1761
+ VI: [
1762
+ "h",
1763
+ "hb",
1764
+ "H",
1765
+ "hB"
1766
+ ],
1767
+ VN: [
1768
+ "H",
1769
+ "h"
1770
+ ],
1771
+ VU: [
1772
+ "h",
1773
+ "H"
1774
+ ],
1775
+ WF: [
1776
+ "H",
1777
+ "hB"
1778
+ ],
1779
+ WS: [
1780
+ "h",
1781
+ "H"
1782
+ ],
1783
+ XK: [
1784
+ "H",
1785
+ "hB",
1786
+ "h"
1787
+ ],
1788
+ YE: [
1789
+ "h",
1790
+ "hB",
1791
+ "hb",
1792
+ "H"
1793
+ ],
1794
+ YT: [
1795
+ "H",
1796
+ "hB"
1797
+ ],
1798
+ ZA: [
1799
+ "H",
1800
+ "h",
1801
+ "hb",
1802
+ "hB"
1803
+ ],
1804
+ ZM: [
1805
+ "h",
1806
+ "hb",
1807
+ "H",
1808
+ "hB"
1809
+ ],
1810
+ ZW: [
1811
+ "H",
1812
+ "h"
1813
+ ],
1814
+ "af-ZA": [
1815
+ "H",
1816
+ "h",
1817
+ "hB",
1818
+ "hb"
1819
+ ],
1820
+ "ar-001": [
1821
+ "h",
1822
+ "hB",
1823
+ "hb",
1824
+ "H"
1825
+ ],
1826
+ "ca-ES": [
1827
+ "H",
1828
+ "h",
1829
+ "hB"
1830
+ ],
1831
+ "en-001": [
1832
+ "h",
1833
+ "hb",
1834
+ "H",
1835
+ "hB"
1836
+ ],
1837
+ "es-BO": [
1838
+ "H",
1839
+ "h",
1840
+ "hB",
1841
+ "hb"
1842
+ ],
1843
+ "es-BR": [
1844
+ "H",
1845
+ "h",
1846
+ "hB",
1847
+ "hb"
1848
+ ],
1849
+ "es-EC": [
1850
+ "H",
1851
+ "h",
1852
+ "hB",
1853
+ "hb"
1854
+ ],
1855
+ "es-ES": [
1856
+ "H",
1857
+ "h",
1858
+ "hB",
1859
+ "hb"
1860
+ ],
1861
+ "es-GQ": [
1862
+ "H",
1863
+ "h",
1864
+ "hB",
1865
+ "hb"
1866
+ ],
1867
+ "es-PE": [
1868
+ "H",
1869
+ "h",
1870
+ "hB",
1871
+ "hb"
1872
+ ],
1873
+ "fr-CA": [
1874
+ "H",
1875
+ "h",
1876
+ "hB"
1877
+ ],
1878
+ "gl-ES": [
1879
+ "H",
1880
+ "h",
1881
+ "hB"
1882
+ ],
1883
+ "gu-IN": [
1884
+ "hB",
1885
+ "hb",
1886
+ "h",
1887
+ "H"
1888
+ ],
1889
+ "hi-IN": [
1890
+ "hB",
1891
+ "h",
1892
+ "H"
1893
+ ],
1894
+ "it-CH": [
1895
+ "H",
1896
+ "h",
1897
+ "hB"
1898
+ ],
1899
+ "it-IT": [
1900
+ "H",
1901
+ "h",
1902
+ "hB"
1903
+ ],
1904
+ "kn-IN": [
1905
+ "hB",
1906
+ "h",
1907
+ "H"
1908
+ ],
1909
+ "ml-IN": [
1910
+ "hB",
1911
+ "h",
1912
+ "H"
1913
+ ],
1914
+ "mr-IN": [
1915
+ "hB",
1916
+ "hb",
1917
+ "h",
1918
+ "H"
1919
+ ],
1920
+ "pa-IN": [
1921
+ "hB",
1922
+ "hb",
1923
+ "h",
1924
+ "H"
1925
+ ],
1926
+ "ta-IN": [
1927
+ "hB",
1928
+ "h",
1929
+ "hb",
1930
+ "H"
1931
+ ],
1932
+ "te-IN": [
1933
+ "hB",
1934
+ "h",
1935
+ "H"
1936
+ ],
1937
+ "zu-ZA": [
1938
+ "H",
1939
+ "hB",
1940
+ "hb",
1941
+ "h"
1942
+ ]
1943
+ };
1944
+ function Mn(e, t) {
1945
+ for (var r = "", n = 0; n < e.length; n++) {
1946
+ var i = e.charAt(n);
1947
+ if (i === "j") {
1948
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
1949
+ o++, n++;
1950
+ var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = kn(t);
1951
+ for ((u == "H" || u == "k") && (c = 0); c-- > 0; )
1952
+ r += d;
1953
+ for (; f-- > 0; )
1954
+ r = u + r;
1955
+ } else i === "J" ? r += "H" : r += i;
1956
+ }
1957
+ return r;
1958
+ }
1959
+ function kn(e) {
1960
+ var t = e.hourCycle;
1961
+ if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
1962
+ e.hourCycles && // @ts-ignore
1963
+ e.hourCycles.length && (t = e.hourCycles[0]), t)
1964
+ switch (t) {
1965
+ case "h24":
1966
+ return "k";
1967
+ case "h23":
1968
+ return "H";
1969
+ case "h12":
1970
+ return "h";
1971
+ case "h11":
1972
+ return "K";
1973
+ default:
1974
+ throw new Error("Invalid hourCycle");
1975
+ }
1976
+ var r = e.language, n;
1977
+ r !== "root" && (n = e.maximize().region);
1978
+ var i = ot[n || ""] || ot[r || ""] || ot["".concat(r, "-001")] || ot["001"];
1979
+ return i[0];
1980
+ }
1981
+ var xt, Un = new RegExp("^".concat(Cr.source, "*")), Gn = new RegExp("".concat(Cr.source, "*$"));
1982
+ function D(e, t) {
1983
+ return { start: e, end: t };
1984
+ }
1985
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, Qn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Vn = zn ? Number.isSafeInteger : function(e) {
1986
+ return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
1987
+ }, Lt = !0;
1988
+ try {
1989
+ var Zn = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
1990
+ Lt = ((xt = Zn.exec("a")) === null || xt === void 0 ? void 0 : xt[0]) === "a";
1991
+ } catch (e) {
1992
+ Lt = !1;
1993
+ }
1994
+ var tr = Fn ? (
1995
+ // Native
1996
+ function(t, r, n) {
1997
+ return t.startsWith(r, n);
1998
+ }
1999
+ ) : (
2000
+ // For IE11
2001
+ function(t, r, n) {
2002
+ return t.slice(n, n + r.length) === r;
2003
+ }
2004
+ ), Dt = _n ? String.fromCodePoint : (
2005
+ // IE11
2006
+ function() {
2007
+ for (var t = [], r = 0; r < arguments.length; r++)
2008
+ t[r] = arguments[r];
2009
+ for (var n = "", i = t.length, o = 0, f; i > o; ) {
2010
+ if (f = t[o++], f > 1114111)
2011
+ throw RangeError(f + " is not a valid code point");
2012
+ n += f < 65536 ? String.fromCharCode(f) : String.fromCharCode(((f -= 65536) >> 10) + 55296, f % 1024 + 56320);
2013
+ }
2014
+ return n;
2015
+ }
2016
+ ), rr = (
2017
+ // native
2018
+ Qn ? Object.fromEntries : (
2019
+ // Ponyfill
2020
+ function(t) {
2021
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2022
+ var o = i[n], f = o[0], c = o[1];
2023
+ r[f] = c;
2024
+ }
2025
+ return r;
2026
+ }
2027
+ )
2028
+ ), Nr = jn ? (
2029
+ // Native
2030
+ function(t, r) {
2031
+ return t.codePointAt(r);
2032
+ }
2033
+ ) : (
2034
+ // IE 11
2035
+ function(t, r) {
2036
+ var n = t.length;
2037
+ if (!(r < 0 || r >= n)) {
2038
+ var i = t.charCodeAt(r), o;
2039
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2040
+ }
2041
+ }
2042
+ ), qn = Jn ? (
2043
+ // Native
2044
+ function(t) {
2045
+ return t.trimStart();
2046
+ }
2047
+ ) : (
2048
+ // Ponyfill
2049
+ function(t) {
2050
+ return t.replace(Un, "");
2051
+ }
2052
+ ), Yn = Xn ? (
2053
+ // Native
2054
+ function(t) {
2055
+ return t.trimEnd();
2056
+ }
2057
+ ) : (
2058
+ // Ponyfill
2059
+ function(t) {
2060
+ return t.replace(Gn, "");
2061
+ }
2062
+ );
2063
+ function Lr(e, t) {
2064
+ return new RegExp(e, t);
2065
+ }
2066
+ var Pt;
2067
+ if (Lt) {
2068
+ var nr = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2069
+ Pt = function(t, r) {
2070
+ var n;
2071
+ nr.lastIndex = r;
2072
+ var i = nr.exec(t);
2073
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2074
+ };
2075
+ } else
2076
+ Pt = function(t, r) {
2077
+ for (var n = []; ; ) {
2078
+ var i = Nr(t, r);
2079
+ if (i === void 0 || Dr(i) || ei(i))
2080
+ break;
2081
+ n.push(i), r += i >= 65536 ? 2 : 1;
2082
+ }
2083
+ return Dt.apply(void 0, n);
2084
+ };
2085
+ var Wn = (
2086
+ /** @class */
2087
+ function() {
2088
+ function e(t, r) {
2089
+ 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;
2090
+ }
2091
+ return e.prototype.parse = function() {
2092
+ if (this.offset() !== 0)
2093
+ throw Error("parser can only be used once");
2094
+ return this.parseMessage(0, "", !1);
2095
+ }, e.prototype.parseMessage = function(t, r, n) {
2096
+ for (var i = []; !this.isEOF(); ) {
2097
+ var o = this.char();
2098
+ if (o === 123) {
2099
+ var f = this.parseArgument(t, n);
2100
+ if (f.err)
2101
+ return f;
2102
+ i.push(f.val);
2103
+ } else {
2104
+ if (o === 125 && t > 0)
2105
+ break;
2106
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2107
+ var c = this.clonePosition();
2108
+ this.bump(), i.push({
2109
+ type: z.pound,
2110
+ location: D(c, this.clonePosition())
2111
+ });
2112
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2113
+ if (n)
2114
+ break;
2115
+ return this.error(N.UNMATCHED_CLOSING_TAG, D(this.clonePosition(), this.clonePosition()));
2116
+ } else if (o === 60 && !this.ignoreTag && Mt(this.peek() || 0)) {
2117
+ var f = this.parseTag(t, r);
2118
+ if (f.err)
2119
+ return f;
2120
+ i.push(f.val);
2121
+ } else {
2122
+ var f = this.parseLiteral(t, r);
2123
+ if (f.err)
2124
+ return f;
2125
+ i.push(f.val);
2126
+ }
2127
+ }
2128
+ }
2129
+ return { val: i, err: null };
2130
+ }, e.prototype.parseTag = function(t, r) {
2131
+ var n = this.clonePosition();
2132
+ this.bump();
2133
+ var i = this.parseTagName();
2134
+ if (this.bumpSpace(), this.bumpIf("/>"))
2135
+ return {
2136
+ val: {
2137
+ type: z.literal,
2138
+ value: "<".concat(i, "/>"),
2139
+ location: D(n, this.clonePosition())
2140
+ },
2141
+ err: null
2142
+ };
2143
+ if (this.bumpIf(">")) {
2144
+ var o = this.parseMessage(t + 1, r, !0);
2145
+ if (o.err)
2146
+ return o;
2147
+ var f = o.val, c = this.clonePosition();
2148
+ if (this.bumpIf("</")) {
2149
+ if (this.isEOF() || !Mt(this.char()))
2150
+ return this.error(N.INVALID_TAG, D(c, this.clonePosition()));
2151
+ var d = this.clonePosition(), u = this.parseTagName();
2152
+ return i !== u ? this.error(N.UNMATCHED_CLOSING_TAG, D(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2153
+ val: {
2154
+ type: z.tag,
2155
+ value: i,
2156
+ children: f,
2157
+ location: D(n, this.clonePosition())
2158
+ },
2159
+ err: null
2160
+ } : this.error(N.INVALID_TAG, D(c, this.clonePosition())));
2161
+ } else
2162
+ return this.error(N.UNCLOSED_TAG, D(n, this.clonePosition()));
2163
+ } else
2164
+ return this.error(N.INVALID_TAG, D(n, this.clonePosition()));
2165
+ }, e.prototype.parseTagName = function() {
2166
+ var t = this.offset();
2167
+ for (this.bump(); !this.isEOF() && $n(this.char()); )
2168
+ this.bump();
2169
+ return this.message.slice(t, this.offset());
2170
+ }, e.prototype.parseLiteral = function(t, r) {
2171
+ for (var n = this.clonePosition(), i = ""; ; ) {
2172
+ var o = this.tryParseQuote(r);
2173
+ if (o) {
2174
+ i += o;
2175
+ continue;
2176
+ }
2177
+ var f = this.tryParseUnquoted(t, r);
2178
+ if (f) {
2179
+ i += f;
2180
+ continue;
2181
+ }
2182
+ var c = this.tryParseLeftAngleBracket();
2183
+ if (c) {
2184
+ i += c;
2185
+ continue;
2186
+ }
2187
+ break;
2188
+ }
2189
+ var d = D(n, this.clonePosition());
2190
+ return {
2191
+ val: { type: z.literal, value: i, location: d },
2192
+ err: null
2193
+ };
2194
+ }, e.prototype.tryParseLeftAngleBracket = function() {
2195
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2196
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
2197
+ }, e.prototype.tryParseQuote = function(t) {
2198
+ if (this.isEOF() || this.char() !== 39)
2199
+ return null;
2200
+ switch (this.peek()) {
2201
+ case 39:
2202
+ return this.bump(), this.bump(), "'";
2203
+ case 123:
2204
+ case 60:
2205
+ case 62:
2206
+ case 125:
2207
+ break;
2208
+ case 35:
2209
+ if (t === "plural" || t === "selectordinal")
2210
+ break;
2211
+ return null;
2212
+ default:
2213
+ return null;
2214
+ }
2215
+ this.bump();
2216
+ var r = [this.char()];
2217
+ for (this.bump(); !this.isEOF(); ) {
2218
+ var n = this.char();
2219
+ if (n === 39)
2220
+ if (this.peek() === 39)
2221
+ r.push(39), this.bump();
2222
+ else {
2223
+ this.bump();
2224
+ break;
2225
+ }
2226
+ else
2227
+ r.push(n);
2228
+ this.bump();
2229
+ }
2230
+ return Dt.apply(void 0, r);
2231
+ }, e.prototype.tryParseUnquoted = function(t, r) {
2232
+ if (this.isEOF())
2233
+ return null;
2234
+ var n = this.char();
2235
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Dt(n));
2236
+ }, e.prototype.parseArgument = function(t, r) {
2237
+ var n = this.clonePosition();
2238
+ if (this.bump(), this.bumpSpace(), this.isEOF())
2239
+ return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
2240
+ if (this.char() === 125)
2241
+ return this.bump(), this.error(N.EMPTY_ARGUMENT, D(n, this.clonePosition()));
2242
+ var i = this.parseIdentifierIfPossible().value;
2243
+ if (!i)
2244
+ return this.error(N.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
2245
+ if (this.bumpSpace(), this.isEOF())
2246
+ return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
2247
+ switch (this.char()) {
2248
+ case 125:
2249
+ return this.bump(), {
2250
+ val: {
2251
+ type: z.argument,
2252
+ // value does not include the opening and closing braces.
2253
+ value: i,
2254
+ location: D(n, this.clonePosition())
2255
+ },
2256
+ err: null
2257
+ };
2258
+ case 44:
2259
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2260
+ default:
2261
+ return this.error(N.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
2262
+ }
2263
+ }, e.prototype.parseIdentifierIfPossible = function() {
2264
+ var t = this.clonePosition(), r = this.offset(), n = Pt(this.message, r), i = r + n.length;
2265
+ this.bumpTo(i);
2266
+ var o = this.clonePosition(), f = D(t, o);
2267
+ return { value: n, location: f };
2268
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2269
+ var o, f = this.clonePosition(), c = this.parseIdentifierIfPossible().value, d = this.clonePosition();
2270
+ switch (c) {
2271
+ case "":
2272
+ return this.error(N.EXPECT_ARGUMENT_TYPE, D(f, d));
2273
+ case "number":
2274
+ case "date":
2275
+ case "time": {
2276
+ this.bumpSpace();
2277
+ var u = null;
2278
+ if (this.bumpIf(",")) {
2279
+ this.bumpSpace();
2280
+ var l = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2281
+ if (g.err)
2282
+ return g;
2283
+ var v = Yn(g.val);
2284
+ if (v.length === 0)
2285
+ return this.error(N.EXPECT_ARGUMENT_STYLE, D(this.clonePosition(), this.clonePosition()));
2286
+ var S = D(l, this.clonePosition());
2287
+ u = { style: v, styleLocation: S };
2288
+ }
2289
+ var M = this.tryParseArgumentClose(i);
2290
+ if (M.err)
2291
+ return M;
2292
+ var x = D(i, this.clonePosition());
2293
+ if (u && tr(u == null ? void 0 : u.style, "::", 0)) {
2294
+ var C = qn(u.style.slice(2));
2295
+ if (c === "number") {
2296
+ var g = this.parseNumberSkeletonFromString(C, u.styleLocation);
2297
+ return g.err ? g : {
2298
+ val: { type: z.number, value: n, location: x, style: g.val },
2299
+ err: null
2300
+ };
2301
+ } else {
2302
+ if (C.length === 0)
2303
+ return this.error(N.EXPECT_DATE_TIME_SKELETON, x);
2304
+ var B = C;
2305
+ this.locale && (B = Mn(C, this.locale));
2306
+ var v = {
2307
+ type: Me.dateTime,
2308
+ pattern: B,
2309
+ location: u.styleLocation,
2310
+ parsedOptions: this.shouldParseSkeletons ? Rn(B) : {}
2311
+ }, U = c === "date" ? z.date : z.time;
2312
+ return {
2313
+ val: { type: U, value: n, location: x, style: v },
2314
+ err: null
2315
+ };
2316
+ }
2317
+ }
2318
+ return {
2319
+ val: {
2320
+ type: c === "number" ? z.number : c === "date" ? z.date : z.time,
2321
+ value: n,
2322
+ location: x,
2323
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2324
+ },
2325
+ err: null
2326
+ };
2327
+ }
2328
+ case "plural":
2329
+ case "selectordinal":
2330
+ case "select": {
2331
+ var L = this.clonePosition();
2332
+ if (this.bumpSpace(), !this.bumpIf(","))
2333
+ return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS, D(L, k({}, L)));
2334
+ this.bumpSpace();
2335
+ var P = this.parseIdentifierIfPossible(), T = 0;
2336
+ if (c !== "select" && P.value === "offset") {
2337
+ if (!this.bumpIf(":"))
2338
+ return this.error(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, D(this.clonePosition(), this.clonePosition()));
2339
+ this.bumpSpace();
2340
+ var g = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2341
+ if (g.err)
2342
+ return g;
2343
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), T = g.val;
2344
+ }
2345
+ var E = this.tryParsePluralOrSelectOptions(t, c, r, P);
2346
+ if (E.err)
2347
+ return E;
2348
+ var M = this.tryParseArgumentClose(i);
2349
+ if (M.err)
2350
+ return M;
2351
+ var _ = D(i, this.clonePosition());
2352
+ return c === "select" ? {
2353
+ val: {
2354
+ type: z.select,
2355
+ value: n,
2356
+ options: rr(E.val),
2357
+ location: _
2358
+ },
2359
+ err: null
2360
+ } : {
2361
+ val: {
2362
+ type: z.plural,
2363
+ value: n,
2364
+ options: rr(E.val),
2365
+ offset: T,
2366
+ pluralType: c === "plural" ? "cardinal" : "ordinal",
2367
+ location: _
2368
+ },
2369
+ err: null
2370
+ };
2371
+ }
2372
+ default:
2373
+ return this.error(N.INVALID_ARGUMENT_TYPE, D(f, d));
2374
+ }
2375
+ }, e.prototype.tryParseArgumentClose = function(t) {
2376
+ return this.isEOF() || this.char() !== 125 ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, D(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2377
+ }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2378
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2379
+ var n = this.char();
2380
+ switch (n) {
2381
+ case 39: {
2382
+ this.bump();
2383
+ var i = this.clonePosition();
2384
+ if (!this.bumpUntil("'"))
2385
+ return this.error(N.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, D(i, this.clonePosition()));
2386
+ this.bump();
2387
+ break;
2388
+ }
2389
+ case 123: {
2390
+ t += 1, this.bump();
2391
+ break;
2392
+ }
2393
+ case 125: {
2394
+ if (t > 0)
2395
+ t -= 1;
2396
+ else
2397
+ return {
2398
+ val: this.message.slice(r.offset, this.offset()),
2399
+ err: null
2400
+ };
2401
+ break;
2402
+ }
2403
+ default:
2404
+ this.bump();
2405
+ break;
2406
+ }
2407
+ }
2408
+ return {
2409
+ val: this.message.slice(r.offset, this.offset()),
2410
+ err: null
2411
+ };
2412
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2413
+ var n = [];
2414
+ try {
2415
+ n = On(t);
2416
+ } catch (i) {
2417
+ return this.error(N.INVALID_NUMBER_SKELETON, r);
2418
+ }
2419
+ return {
2420
+ val: {
2421
+ type: Me.number,
2422
+ tokens: n,
2423
+ location: r,
2424
+ parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
2425
+ },
2426
+ err: null
2427
+ };
2428
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2429
+ for (var o, f = !1, c = [], d = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2430
+ if (u.length === 0) {
2431
+ var g = this.clonePosition();
2432
+ if (r !== "select" && this.bumpIf("=")) {
2433
+ var v = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_SELECTOR, N.INVALID_PLURAL_ARGUMENT_SELECTOR);
2434
+ if (v.err)
2435
+ return v;
2436
+ l = D(g, this.clonePosition()), u = this.message.slice(g.offset, this.offset());
2437
+ } else
2438
+ break;
2439
+ }
2440
+ if (d.has(u))
2441
+ return this.error(r === "select" ? N.DUPLICATE_SELECT_ARGUMENT_SELECTOR : N.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2442
+ u === "other" && (f = !0), this.bumpSpace();
2443
+ var S = this.clonePosition();
2444
+ if (!this.bumpIf("{"))
2445
+ return this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : N.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, D(this.clonePosition(), this.clonePosition()));
2446
+ var M = this.parseMessage(t + 1, r, n);
2447
+ if (M.err)
2448
+ return M;
2449
+ var x = this.tryParseArgumentClose(S);
2450
+ if (x.err)
2451
+ return x;
2452
+ c.push([
2453
+ u,
2454
+ {
2455
+ value: M.val,
2456
+ location: D(S, this.clonePosition())
2457
+ }
2458
+ ]), d.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2459
+ }
2460
+ return c.length === 0 ? this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR : N.EXPECT_PLURAL_ARGUMENT_SELECTOR, D(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(N.MISSING_OTHER_CLAUSE, D(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
2461
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
2462
+ var n = 1, i = this.clonePosition();
2463
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2464
+ for (var o = !1, f = 0; !this.isEOF(); ) {
2465
+ var c = this.char();
2466
+ if (c >= 48 && c <= 57)
2467
+ o = !0, f = f * 10 + (c - 48), this.bump();
2468
+ else
2469
+ break;
2470
+ }
2471
+ var d = D(i, this.clonePosition());
2472
+ return o ? (f *= n, Vn(f) ? { val: f, err: null } : this.error(r, d)) : this.error(t, d);
2473
+ }, e.prototype.offset = function() {
2474
+ return this.position.offset;
2475
+ }, e.prototype.isEOF = function() {
2476
+ return this.offset() === this.message.length;
2477
+ }, e.prototype.clonePosition = function() {
2478
+ return {
2479
+ offset: this.position.offset,
2480
+ line: this.position.line,
2481
+ column: this.position.column
2482
+ };
2483
+ }, e.prototype.char = function() {
2484
+ var t = this.position.offset;
2485
+ if (t >= this.message.length)
2486
+ throw Error("out of bound");
2487
+ var r = Nr(this.message, t);
2488
+ if (r === void 0)
2489
+ throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2490
+ return r;
2491
+ }, e.prototype.error = function(t, r) {
2492
+ return {
2493
+ val: null,
2494
+ err: {
2495
+ kind: t,
2496
+ message: this.message,
2497
+ location: r
2498
+ }
2499
+ };
2500
+ }, e.prototype.bump = function() {
2501
+ if (!this.isEOF()) {
2502
+ var t = this.char();
2503
+ 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);
2504
+ }
2505
+ }, e.prototype.bumpIf = function(t) {
2506
+ if (tr(this.message, t, this.offset())) {
2507
+ for (var r = 0; r < t.length; r++)
2508
+ this.bump();
2509
+ return !0;
2510
+ }
2511
+ return !1;
2512
+ }, e.prototype.bumpUntil = function(t) {
2513
+ var r = this.offset(), n = this.message.indexOf(t, r);
2514
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
2515
+ }, e.prototype.bumpTo = function(t) {
2516
+ if (this.offset() > t)
2517
+ throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
2518
+ for (t = Math.min(t, this.message.length); ; ) {
2519
+ var r = this.offset();
2520
+ if (r === t)
2521
+ break;
2522
+ if (r > t)
2523
+ throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2524
+ if (this.bump(), this.isEOF())
2525
+ break;
2526
+ }
2527
+ }, e.prototype.bumpSpace = function() {
2528
+ for (; !this.isEOF() && Dr(this.char()); )
2529
+ this.bump();
2530
+ }, e.prototype.peek = function() {
2531
+ if (this.isEOF())
2532
+ return null;
2533
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
2534
+ return n != null ? n : null;
2535
+ }, e;
2536
+ }()
2537
+ );
2538
+ function Mt(e) {
2539
+ return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2540
+ }
2541
+ function Kn(e) {
2542
+ return Mt(e) || e === 47;
2543
+ }
2544
+ function $n(e) {
2545
+ 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;
2546
+ }
2547
+ function Dr(e) {
2548
+ return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2549
+ }
2550
+ function ei(e) {
2551
+ 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;
2552
+ }
2553
+ function kt(e) {
2554
+ e.forEach(function(t) {
2555
+ if (delete t.location, xr(t) || Br(t))
2556
+ for (var r in t.options)
2557
+ delete t.options[r].location, kt(t.options[r].value);
2558
+ else yr(t) && Hr(t.style) || (wr(t) || Ir(t)) && Nt(t.style) ? delete t.style.location : Tr(t) && kt(t.children);
2559
+ });
2560
+ }
2561
+ function ti(e, t) {
2562
+ t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2563
+ var r = new Wn(e, t).parse();
2564
+ if (r.err) {
2565
+ var n = SyntaxError(N[r.err.kind]);
2566
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2567
+ }
2568
+ return t != null && t.captureLocation || kt(r.val), r.val;
2569
+ }
2570
+ function Bt(e, t) {
2571
+ var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : ni;
2572
+ return i(e, {
2573
+ cache: r,
2574
+ serializer: n
2575
+ });
2576
+ }
2577
+ function ri(e) {
2578
+ return e == null || typeof e == "number" || typeof e == "boolean";
2579
+ }
2580
+ function Pr(e, t, r, n) {
2581
+ var i = ri(n) ? n : r(n), o = t.get(i);
2582
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
2583
+ }
2584
+ function Mr(e, t, r) {
2585
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
2586
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
2587
+ }
2588
+ function _t(e, t, r, n, i) {
2589
+ return r.bind(t, e, n, i);
2590
+ }
2591
+ function ni(e, t) {
2592
+ var r = e.length === 1 ? Pr : Mr;
2593
+ return _t(e, this, r, t.cache.create(), t.serializer);
2594
+ }
2595
+ function ii(e, t) {
2596
+ return _t(e, this, Mr, t.cache.create(), t.serializer);
2597
+ }
2598
+ function oi(e, t) {
2599
+ return _t(e, this, Pr, t.cache.create(), t.serializer);
2600
+ }
2601
+ var ai = function() {
2602
+ return JSON.stringify(arguments);
2603
+ };
2604
+ function Qt() {
2605
+ this.cache = /* @__PURE__ */ Object.create(null);
2606
+ }
2607
+ Qt.prototype.get = function(e) {
2608
+ return this.cache[e];
2609
+ };
2610
+ Qt.prototype.set = function(e, t) {
2611
+ this.cache[e] = t;
2612
+ };
2613
+ var si = {
2614
+ create: function() {
2615
+ return new Qt();
2616
+ }
2617
+ }, Tt = {
2618
+ variadic: ii,
2619
+ monadic: oi
2620
+ }, ke;
2621
+ (function(e) {
2622
+ e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2623
+ })(ke || (ke = {}));
2624
+ var dt = (
2625
+ /** @class */
2626
+ function(e) {
2627
+ ct(t, e);
2628
+ function t(r, n, i) {
2629
+ var o = e.call(this, r) || this;
2630
+ return o.code = n, o.originalMessage = i, o;
2631
+ }
2632
+ return t.prototype.toString = function() {
2633
+ return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2634
+ }, t;
2635
+ }(Error)
2636
+ ), ir = (
2637
+ /** @class */
2638
+ function(e) {
2639
+ ct(t, e);
2640
+ function t(r, n, i, o) {
2641
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ke.INVALID_VALUE, o) || this;
2642
+ }
2643
+ return t;
2644
+ }(dt)
2645
+ ), ui = (
2646
+ /** @class */
2647
+ function(e) {
2648
+ ct(t, e);
2649
+ function t(r, n, i) {
2650
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ke.INVALID_VALUE, i) || this;
2651
+ }
2652
+ return t;
2653
+ }(dt)
2654
+ ), li = (
2655
+ /** @class */
2656
+ function(e) {
2657
+ ct(t, e);
2658
+ function t(r, n) {
2659
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ke.MISSING_VALUE, n) || this;
2660
+ }
2661
+ return t;
2662
+ }(dt)
2663
+ ), ue;
2664
+ (function(e) {
2665
+ e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2666
+ })(ue || (ue = {}));
2667
+ function hi(e) {
2668
+ return e.length < 2 ? e : e.reduce(function(t, r) {
2669
+ var n = t[t.length - 1];
2670
+ return !n || n.type !== ue.literal || r.type !== ue.literal ? t.push(r) : n.value += r.value, t;
2671
+ }, []);
2672
+ }
2673
+ function fi(e) {
2674
+ return typeof e == "function";
2675
+ }
2676
+ function st(e, t, r, n, i, o, f) {
2677
+ if (e.length === 1 && Wt(e[0]))
2678
+ return [
2679
+ {
2680
+ type: ue.literal,
2681
+ value: e[0].value
2682
+ }
2683
+ ];
2684
+ for (var c = [], d = 0, u = e; d < u.length; d++) {
2685
+ var l = u[d];
2686
+ if (Wt(l)) {
2687
+ c.push({
2688
+ type: ue.literal,
2689
+ value: l.value
2690
+ });
2691
+ continue;
2692
+ }
2693
+ if (Hn(l)) {
2694
+ typeof o == "number" && c.push({
2695
+ type: ue.literal,
2696
+ value: r.getNumberFormat(t).format(o)
2697
+ });
2698
+ continue;
2699
+ }
2700
+ var g = l.value;
2701
+ if (!(i && g in i))
2702
+ throw new li(g, f);
2703
+ var v = i[g];
2704
+ if (Tn(l)) {
2705
+ (!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), c.push({
2706
+ type: typeof v == "string" ? ue.literal : ue.object,
2707
+ value: v
2708
+ });
2709
+ continue;
2710
+ }
2711
+ if (wr(l)) {
2712
+ var S = typeof l.style == "string" ? n.date[l.style] : Nt(l.style) ? l.style.parsedOptions : void 0;
2713
+ c.push({
2714
+ type: ue.literal,
2715
+ value: r.getDateTimeFormat(t, S).format(v)
2716
+ });
2717
+ continue;
2718
+ }
2719
+ if (Ir(l)) {
2720
+ var S = typeof l.style == "string" ? n.time[l.style] : Nt(l.style) ? l.style.parsedOptions : n.time.medium;
2721
+ c.push({
2722
+ type: ue.literal,
2723
+ value: r.getDateTimeFormat(t, S).format(v)
2724
+ });
2725
+ continue;
2726
+ }
2727
+ if (yr(l)) {
2728
+ var S = typeof l.style == "string" ? n.number[l.style] : Hr(l.style) ? l.style.parsedOptions : void 0;
2729
+ S && S.scale && (v = v * (S.scale || 1)), c.push({
2730
+ type: ue.literal,
2731
+ value: r.getNumberFormat(t, S).format(v)
2732
+ });
2733
+ continue;
2734
+ }
2735
+ if (Tr(l)) {
2736
+ var M = l.children, x = l.value, C = i[x];
2737
+ if (!fi(C))
2738
+ throw new ui(x, "function", f);
2739
+ var B = st(M, t, r, n, i, o), U = C(B.map(function(T) {
2740
+ return T.value;
2741
+ }));
2742
+ Array.isArray(U) || (U = [U]), c.push.apply(c, U.map(function(T) {
2743
+ return {
2744
+ type: typeof T == "string" ? ue.literal : ue.object,
2745
+ value: T
2746
+ };
2747
+ }));
2748
+ }
2749
+ if (xr(l)) {
2750
+ var L = l.options[v] || l.options.other;
2751
+ if (!L)
2752
+ throw new ir(l.value, v, Object.keys(l.options), f);
2753
+ c.push.apply(c, st(L.value, t, r, n, i));
2754
+ continue;
2755
+ }
2756
+ if (Br(l)) {
2757
+ var L = l.options["=".concat(v)];
2758
+ if (!L) {
2759
+ if (!Intl.PluralRules)
2760
+ throw new dt(`Intl.PluralRules is not available in this environment.
2761
+ Try polyfilling it using "@formatjs/intl-pluralrules"
2762
+ `, ke.MISSING_INTL_API, f);
2763
+ var P = r.getPluralRules(t, { type: l.pluralType }).select(v - (l.offset || 0));
2764
+ L = l.options[P] || l.options.other;
2765
+ }
2766
+ if (!L)
2767
+ throw new ir(l.value, v, Object.keys(l.options), f);
2768
+ c.push.apply(c, st(L.value, t, r, n, i, v - (l.offset || 0)));
2769
+ continue;
2770
+ }
2771
+ }
2772
+ return hi(c);
2773
+ }
2774
+ function ci(e, t) {
2775
+ return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2776
+ return r[n] = k(k({}, e[n]), t[n] || {}), r;
2777
+ }, {})) : e;
2778
+ }
2779
+ function di(e, t) {
2780
+ return t ? Object.keys(e).reduce(function(r, n) {
2781
+ return r[n] = ci(e[n], t[n]), r;
2782
+ }, k({}, e)) : e;
2783
+ }
2784
+ function Ht(e) {
2785
+ return {
2786
+ create: function() {
2787
+ return {
2788
+ get: function(t) {
2789
+ return e[t];
2790
+ },
2791
+ set: function(t, r) {
2792
+ e[t] = r;
2793
+ }
2794
+ };
2795
+ }
2796
+ };
2797
+ }
2798
+ function pi(e) {
2799
+ return e === void 0 && (e = {
2800
+ number: {},
2801
+ dateTime: {},
2802
+ pluralRules: {}
2803
+ }), {
2804
+ getNumberFormat: Bt(function() {
2805
+ for (var t, r = [], n = 0; n < arguments.length; n++)
2806
+ r[n] = arguments[n];
2807
+ return new ((t = Intl.NumberFormat).bind.apply(t, It([void 0], r, !1)))();
2808
+ }, {
2809
+ cache: Ht(e.number),
2810
+ strategy: Tt.variadic
2811
+ }),
2812
+ getDateTimeFormat: Bt(function() {
2813
+ for (var t, r = [], n = 0; n < arguments.length; n++)
2814
+ r[n] = arguments[n];
2815
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, It([void 0], r, !1)))();
2816
+ }, {
2817
+ cache: Ht(e.dateTime),
2818
+ strategy: Tt.variadic
2819
+ }),
2820
+ getPluralRules: Bt(function() {
2821
+ for (var t, r = [], n = 0; n < arguments.length; n++)
2822
+ r[n] = arguments[n];
2823
+ return new ((t = Intl.PluralRules).bind.apply(t, It([void 0], r, !1)))();
2824
+ }, {
2825
+ cache: Ht(e.pluralRules),
2826
+ strategy: Tt.variadic
2827
+ })
2828
+ };
2829
+ }
2830
+ var Ai = (
2831
+ /** @class */
2832
+ function() {
2833
+ function e(t, r, n, i) {
2834
+ var o = this;
2835
+ if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
2836
+ number: {},
2837
+ dateTime: {},
2838
+ pluralRules: {}
2839
+ }, this.format = function(d) {
2840
+ var u = o.formatToParts(d);
2841
+ if (u.length === 1)
2842
+ return u[0].value;
2843
+ var l = u.reduce(function(g, v) {
2844
+ return !g.length || v.type !== ue.literal || typeof g[g.length - 1] != "string" ? g.push(v.value) : g[g.length - 1] += v.value, g;
2845
+ }, []);
2846
+ return l.length <= 1 ? l[0] || "" : l;
2847
+ }, this.formatToParts = function(d) {
2848
+ return st(o.ast, o.locales, o.formatters, o.formats, d, void 0, o.message);
2849
+ }, this.resolvedOptions = function() {
2850
+ var d;
2851
+ return {
2852
+ locale: ((d = o.resolvedLocale) === null || d === void 0 ? void 0 : d.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
2853
+ };
2854
+ }, this.getAst = function() {
2855
+ return o.ast;
2856
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
2857
+ if (this.message = t, !e.__parse)
2858
+ throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2859
+ var f = i || {};
2860
+ f.formatters;
2861
+ var c = Bn(f, ["formatters"]);
2862
+ this.ast = e.__parse(t, k(k({}, c), { locale: this.resolvedLocale }));
2863
+ } else
2864
+ this.ast = t;
2865
+ if (!Array.isArray(this.ast))
2866
+ throw new TypeError("A message must be provided as a String or AST.");
2867
+ this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
2868
+ }
2869
+ return Object.defineProperty(e, "defaultLocale", {
2870
+ get: function() {
2871
+ return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
2872
+ },
2873
+ enumerable: !1,
2874
+ configurable: !0
2875
+ }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
2876
+ if (typeof Intl.Locale != "undefined") {
2877
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
2878
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2879
+ }
2880
+ }, e.__parse = ti, e.formats = {
2881
+ number: {
2882
+ integer: {
2883
+ maximumFractionDigits: 0
2884
+ },
2885
+ currency: {
2886
+ style: "currency"
2887
+ },
2888
+ percent: {
2889
+ style: "percent"
2890
+ }
2891
+ },
2892
+ date: {
2893
+ short: {
2894
+ month: "numeric",
2895
+ day: "numeric",
2896
+ year: "2-digit"
2897
+ },
2898
+ medium: {
2899
+ month: "short",
2900
+ day: "numeric",
2901
+ year: "numeric"
2902
+ },
2903
+ long: {
2904
+ month: "long",
2905
+ day: "numeric",
2906
+ year: "numeric"
2907
+ },
2908
+ full: {
2909
+ weekday: "long",
2910
+ month: "long",
2911
+ day: "numeric",
2912
+ year: "numeric"
2913
+ }
2914
+ },
2915
+ time: {
2916
+ short: {
2917
+ hour: "numeric",
2918
+ minute: "numeric"
2919
+ },
2920
+ medium: {
2921
+ hour: "numeric",
2922
+ minute: "numeric",
2923
+ second: "numeric"
2924
+ },
2925
+ long: {
2926
+ hour: "numeric",
2927
+ minute: "numeric",
2928
+ second: "numeric",
2929
+ timeZoneName: "short"
2930
+ },
2931
+ full: {
2932
+ hour: "numeric",
2933
+ minute: "numeric",
2934
+ second: "numeric",
2935
+ timeZoneName: "short"
2936
+ }
2937
+ }
2938
+ }, e;
2939
+ }()
2940
+ );
2941
+ function mi(e, t) {
2942
+ if (t == null)
2943
+ return;
2944
+ if (t in e)
2945
+ return e[t];
2946
+ const r = t.split(".");
2947
+ let n = e;
2948
+ for (let i = 0; i < r.length; i++)
2949
+ if (typeof n == "object") {
2950
+ if (i > 0) {
2951
+ const o = r.slice(i, r.length).join(".");
2952
+ if (o in n) {
2953
+ n = n[o];
2954
+ break;
2955
+ }
2956
+ }
2957
+ n = n[r[i]];
2958
+ } else
2959
+ n = void 0;
2960
+ return n;
2961
+ }
2962
+ const Be = {}, gi = (e, t, r) => r && (t in Be || (Be[t] = {}), e in Be[t] || (Be[t][e] = r), r), kr = (e, t) => {
2963
+ if (t == null)
2964
+ return;
2965
+ if (t in Be && e in Be[t])
2966
+ return Be[t][e];
2967
+ const r = pt(t);
2968
+ for (let n = 0; n < r.length; n++) {
2969
+ const i = r[n], o = Ei(i, e);
2970
+ if (o)
2971
+ return gi(e, t, o);
2972
+ }
2973
+ };
2974
+ let jt;
2975
+ const Fe = ft({});
2976
+ function vi(e) {
2977
+ return jt[e] || null;
2978
+ }
2979
+ function Ur(e) {
2980
+ return e in jt;
2981
+ }
2982
+ function Ei(e, t) {
2983
+ if (!Ur(e))
2984
+ return null;
2985
+ const r = vi(e);
2986
+ return mi(r, t);
2987
+ }
2988
+ function bi(e) {
2989
+ if (e == null)
2990
+ return;
2991
+ const t = pt(e);
2992
+ for (let r = 0; r < t.length; r++) {
2993
+ const n = t[r];
2994
+ if (Ur(n))
2995
+ return n;
2996
+ }
2997
+ }
2998
+ function Gr(e, ...t) {
2999
+ delete Be[e], Fe.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
3000
+ }
3001
+ Ge(
3002
+ [Fe],
3003
+ ([e]) => Object.keys(e)
3004
+ );
3005
+ Fe.subscribe((e) => jt = e);
3006
+ const ut = {};
3007
+ function yi(e, t) {
3008
+ ut[e].delete(t), ut[e].size === 0 && delete ut[e];
3009
+ }
3010
+ function Fr(e) {
3011
+ return ut[e];
3012
+ }
3013
+ function wi(e) {
3014
+ return pt(e).map((t) => {
3015
+ const r = Fr(t);
3016
+ return [t, r ? [...r] : []];
3017
+ }).filter(([, t]) => t.length > 0);
3018
+ }
3019
+ function Ut(e) {
3020
+ return e == null ? !1 : pt(e).some(
3021
+ (t) => {
3022
+ var r;
3023
+ return (r = Fr(t)) == null ? void 0 : r.size;
3024
+ }
3025
+ );
3026
+ }
3027
+ function Ii(e, t) {
3028
+ return Promise.all(
3029
+ t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
3030
+ ).then((n) => Gr(e, ...n));
3031
+ }
3032
+ const Je = {};
3033
+ function _r(e) {
3034
+ if (!Ut(e))
3035
+ return e in Je ? Je[e] : Promise.resolve();
3036
+ const t = wi(e);
3037
+ return Je[e] = Promise.all(
3038
+ t.map(
3039
+ ([r, n]) => Ii(r, n)
3040
+ )
3041
+ ).then(() => {
3042
+ if (Ut(e))
3043
+ return _r(e);
3044
+ delete Je[e];
3045
+ }), Je[e];
3046
+ }
3047
+ const xi = {
3048
+ number: {
3049
+ scientific: { notation: "scientific" },
3050
+ engineering: { notation: "engineering" },
3051
+ compactLong: { notation: "compact", compactDisplay: "long" },
3052
+ compactShort: { notation: "compact", compactDisplay: "short" }
3053
+ },
3054
+ date: {
3055
+ short: { month: "numeric", day: "numeric", year: "2-digit" },
3056
+ medium: { month: "short", day: "numeric", year: "numeric" },
3057
+ long: { month: "long", day: "numeric", year: "numeric" },
3058
+ full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
3059
+ },
3060
+ time: {
3061
+ short: { hour: "numeric", minute: "numeric" },
3062
+ medium: { hour: "numeric", minute: "numeric", second: "numeric" },
3063
+ long: {
3064
+ hour: "numeric",
3065
+ minute: "numeric",
3066
+ second: "numeric",
3067
+ timeZoneName: "short"
3068
+ },
3069
+ full: {
3070
+ hour: "numeric",
3071
+ minute: "numeric",
3072
+ second: "numeric",
3073
+ timeZoneName: "short"
3074
+ }
3075
+ }
3076
+ }, Bi = {
3077
+ fallbackLocale: null,
3078
+ loadingDelay: 200,
3079
+ formats: xi,
3080
+ warnOnMissingMessages: !0,
3081
+ handleMissingMessage: void 0,
3082
+ ignoreTag: !0
3083
+ }, Ti = Bi;
3084
+ function Ue() {
3085
+ return Ti;
3086
+ }
3087
+ const Ct = ft(!1);
3088
+ var Hi = Object.defineProperty, Ci = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
3089
+ for (var r in t || (t = {}))
3090
+ Si.call(t, r) && ar(e, r, t[r]);
3091
+ if (or)
3092
+ for (var r of or(t))
3093
+ Oi.call(t, r) && ar(e, r, t[r]);
3094
+ return e;
3095
+ }, Li = (e, t) => Ci(e, Ri(t));
3096
+ let Gt;
3097
+ const lt = ft(null);
3098
+ function sr(e) {
3099
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3100
+ }
3101
+ function pt(e, t = Ue().fallbackLocale) {
3102
+ const r = sr(e);
3103
+ return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
3104
+ }
3105
+ function Re() {
3106
+ return Gt != null ? Gt : void 0;
3107
+ }
3108
+ lt.subscribe((e) => {
3109
+ Gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3110
+ });
3111
+ const Di = (e) => {
3112
+ if (e && bi(e) && Ut(e)) {
3113
+ const { loadingDelay: t } = Ue();
3114
+ let r;
3115
+ return typeof window != "undefined" && Re() != null && t ? r = window.setTimeout(
3116
+ () => Ct.set(!0),
3117
+ t
3118
+ ) : Ct.set(!0), _r(e).then(() => {
3119
+ lt.set(e);
3120
+ }).finally(() => {
3121
+ clearTimeout(r), Ct.set(!1);
3122
+ });
3123
+ }
3124
+ return lt.set(e);
3125
+ }, Te = Li(Ni({}, lt), {
3126
+ set: Di
3127
+ }), At = (e) => {
3128
+ const t = /* @__PURE__ */ Object.create(null);
3129
+ return (n) => {
3130
+ const i = JSON.stringify(n);
3131
+ return i in t ? t[i] : t[i] = e(n);
3132
+ };
3133
+ };
3134
+ var Pi = Object.defineProperty, ht = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jt = (e, t) => {
3135
+ for (var r in t || (t = {}))
3136
+ Qr.call(t, r) && ur(e, r, t[r]);
3137
+ if (ht)
3138
+ for (var r of ht(t))
3139
+ jr.call(t, r) && ur(e, r, t[r]);
3140
+ return e;
3141
+ }, _e = (e, t) => {
3142
+ var r = {};
3143
+ for (var n in e)
3144
+ Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3145
+ if (e != null && ht)
3146
+ for (var n of ht(e))
3147
+ t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
3148
+ return r;
3149
+ };
3150
+ const Ve = (e, t) => {
3151
+ const { formats: r } = Ue();
3152
+ if (e in r && t in r[e])
3153
+ return r[e][t];
3154
+ throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3155
+ }, Mi = At(
3156
+ (e) => {
3157
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
3158
+ if (r == null)
3159
+ throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3160
+ return n && (i = Ve("number", n)), new Intl.NumberFormat(r, i);
3161
+ }
3162
+ ), ki = At(
3163
+ (e) => {
3164
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
3165
+ if (r == null)
3166
+ throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3167
+ return n ? i = Ve("date", n) : Object.keys(i).length === 0 && (i = Ve("date", "short")), new Intl.DateTimeFormat(r, i);
3168
+ }
3169
+ ), Ui = At(
3170
+ (e) => {
3171
+ var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
3172
+ if (r == null)
3173
+ throw new Error(
3174
+ '[svelte-i18n] A "locale" must be set to format time values'
3175
+ );
3176
+ return n ? i = Ve("time", n) : Object.keys(i).length === 0 && (i = Ve("time", "short")), new Intl.DateTimeFormat(r, i);
3177
+ }
3178
+ ), Gi = (e = {}) => {
3179
+ var t = e, {
3180
+ locale: r = Re()
3181
+ } = t, n = _e(t, [
3182
+ "locale"
3183
+ ]);
3184
+ return Mi(Jt({ locale: r }, n));
3185
+ }, Fi = (e = {}) => {
3186
+ var t = e, {
3187
+ locale: r = Re()
3188
+ } = t, n = _e(t, [
3189
+ "locale"
3190
+ ]);
3191
+ return ki(Jt({ locale: r }, n));
3192
+ }, _i = (e = {}) => {
3193
+ var t = e, {
3194
+ locale: r = Re()
3195
+ } = t, n = _e(t, [
3196
+ "locale"
3197
+ ]);
3198
+ return Ui(Jt({ locale: r }, n));
3199
+ }, Qi = At(
3200
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3201
+ (e, t = Re()) => new Ai(e, t, Ue().formats, {
3202
+ ignoreTag: Ue().ignoreTag
3203
+ })
3204
+ ), ji = (e, t = {}) => {
3205
+ var r, n, i, o;
3206
+ let f = t;
3207
+ typeof e == "object" && (f = e, e = f.id);
3208
+ const {
3209
+ values: c,
3210
+ locale: d = Re(),
3211
+ default: u
3212
+ } = f;
3213
+ if (d == null)
3214
+ throw new Error(
3215
+ "[svelte-i18n] Cannot format a message without first setting the initial locale."
3216
+ );
3217
+ let l = kr(e, d);
3218
+ if (!l)
3219
+ l = (o = (i = (n = (r = Ue()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3220
+ else if (typeof l != "string")
3221
+ return console.warn(
3222
+ `[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.`
3223
+ ), l;
3224
+ if (!c)
3225
+ return l;
3226
+ let g = l;
3227
+ try {
3228
+ g = Qi(l, d).format(c);
3229
+ } catch (v) {
3230
+ v instanceof Error && console.warn(
3231
+ `[svelte-i18n] Message "${e}" has syntax error:`,
3232
+ v.message
3233
+ );
3234
+ }
3235
+ return g;
3236
+ }, Ji = (e, t) => _i(t).format(e), Xi = (e, t) => Fi(t).format(e), zi = (e, t) => Gi(t).format(e), Vi = (e, t = Re()) => kr(e, t), Zi = Ge([Te, Fe], () => ji);
3237
+ Ge([Te], () => Ji);
3238
+ Ge([Te], () => Xi);
3239
+ Ge([Te], () => zi);
3240
+ Ge([Te, Fe], () => Vi);
3241
+ function qi({ withLocale: e, translations: t }) {
3242
+ Te.subscribe((r) => {
3243
+ r == null && (Fe.set(t), Te.set(e));
3244
+ });
3245
+ }
3246
+ function lr(e, t) {
3247
+ Gr(e, t);
3248
+ }
3249
+ function Yi(e) {
3250
+ Te.set(e);
3251
+ }
3252
+ const hr = {
3253
+ en: {
3254
+ loading: "Loading"
3255
+ },
3256
+ hr: {
3257
+ loading: "Učitavanje"
3258
+ },
3259
+ ro: {
3260
+ loading: "Se încarcă"
3261
+ },
3262
+ tr: {
3263
+ loading: "Yükleniyor"
3264
+ },
3265
+ el: {
3266
+ loading: "Φο’ρτωση"
3267
+ },
3268
+ es: {
3269
+ loading: "Cargando"
3270
+ },
3271
+ hu: {
3272
+ loading: "Betöltés"
3273
+ }
3274
+ };
3275
+ var Ft = { exports: {} };
3276
+ /** @license
3277
+ * eventsource.js
3278
+ * Available under MIT License (MIT)
3279
+ * https://github.com/Yaffle/EventSource/
3280
+ */
3281
+ (function(e, t) {
3282
+ (function(r) {
3283
+ var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, f = r.XDomainRequest, c = r.ActiveXObject, d = r.EventSource, u = r.document, l = r.Promise, g = r.fetch, v = r.Response, S = r.TextDecoder, M = r.TextEncoder, x = r.AbortController;
3284
+ if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(a) {
3285
+ u.readyState = "complete";
3286
+ }, !1)), o == null && c != null && (o = function() {
3287
+ return new c("Microsoft.XMLHTTP");
3288
+ }), Object.create == null && (Object.create = function(a) {
3289
+ function p() {
3290
+ }
3291
+ return p.prototype = a, new p();
3292
+ }), Date.now || (Date.now = function() {
3293
+ return (/* @__PURE__ */ new Date()).getTime();
3294
+ }), x == null) {
3295
+ var C = g;
3296
+ g = function(a, p) {
3297
+ var b = p.signal;
3298
+ return C(a, { headers: p.headers, credentials: p.credentials, cache: p.cache }).then(function(A) {
3299
+ var w = A.body.getReader();
3300
+ return b._reader = w, b._aborted && b._reader.cancel(), {
3301
+ status: A.status,
3302
+ statusText: A.statusText,
3303
+ headers: A.headers,
3304
+ body: {
3305
+ getReader: function() {
3306
+ return w;
3307
+ }
3308
+ }
3309
+ };
3310
+ });
3311
+ }, x = function() {
3312
+ this.signal = {
3313
+ _reader: null,
3314
+ _aborted: !1
3315
+ }, this.abort = function() {
3316
+ this.signal._reader != null && this.signal._reader.cancel(), this.signal._aborted = !0;
3317
+ };
3318
+ };
3319
+ }
3320
+ function B() {
3321
+ this.bitsNeeded = 0, this.codePoint = 0;
3322
+ }
3323
+ B.prototype.decode = function(a) {
3324
+ function p(F, s, m) {
3325
+ if (m === 1)
3326
+ return F >= 128 >> s && F << s <= 2047;
3327
+ if (m === 2)
3328
+ return F >= 2048 >> s && F << s <= 55295 || F >= 57344 >> s && F << s <= 65535;
3329
+ if (m === 3)
3330
+ return F >= 65536 >> s && F << s <= 1114111;
3331
+ throw new Error();
3332
+ }
3333
+ function b(F, s) {
3334
+ if (F === 6 * 1)
3335
+ return s >> 6 > 15 ? 3 : s > 31 ? 2 : 1;
3336
+ if (F === 6 * 2)
3337
+ return s > 15 ? 3 : 2;
3338
+ if (F === 6 * 3)
3339
+ return 3;
3340
+ throw new Error();
3341
+ }
3342
+ for (var A = 65533, w = "", y = this.bitsNeeded, R = this.codePoint, J = 0; J < a.length; J += 1) {
3343
+ var O = a[J];
3344
+ y !== 0 && (O < 128 || O > 191 || !p(R << 6 | O & 63, y - 6, b(y, R))) && (y = 0, R = A, w += String.fromCharCode(R)), y === 0 ? (O >= 0 && O <= 127 ? (y = 0, R = O) : O >= 192 && O <= 223 ? (y = 6 * 1, R = O & 31) : O >= 224 && O <= 239 ? (y = 6 * 2, R = O & 15) : O >= 240 && O <= 247 ? (y = 6 * 3, R = O & 7) : (y = 0, R = A), y !== 0 && !p(R, y, b(y, R)) && (y = 0, R = A)) : (y -= 6, R = R << 6 | O & 63), y === 0 && (R <= 65535 ? w += String.fromCharCode(R) : (w += String.fromCharCode(55296 + (R - 65535 - 1 >> 10)), w += String.fromCharCode(56320 + (R - 65535 - 1 & 1023))));
3345
+ }
3346
+ return this.bitsNeeded = y, this.codePoint = R, w;
3347
+ };
3348
+ var U = function() {
3349
+ try {
3350
+ return new S().decode(new M().encode("test"), { stream: !0 }) === "test";
3351
+ } catch (a) {
3352
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + a);
3353
+ }
3354
+ return !1;
3355
+ };
3356
+ (S == null || M == null || !U()) && (S = B);
3357
+ var L = function() {
3358
+ };
3359
+ function P(a) {
3360
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = L, this.onload = L, this.onerror = L, this.onreadystatechange = L, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = L;
3361
+ }
3362
+ P.prototype.open = function(a, p) {
3363
+ this._abort(!0);
3364
+ var b = this, A = this._xhr, w = 1, y = 0;
3365
+ this._abort = function(m) {
3366
+ b._sendTimeout !== 0 && (i(b._sendTimeout), b._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, A.onload = L, A.onerror = L, A.onabort = L, A.onprogress = L, A.onreadystatechange = L, A.abort(), y !== 0 && (i(y), y = 0), m || (b.readyState = 4, b.onabort(null), b.onreadystatechange())), w = 0;
3367
+ };
3368
+ var R = function() {
3369
+ if (w === 1) {
3370
+ var m = 0, I = "", Z = void 0;
3371
+ if ("contentType" in A)
3372
+ m = 200, I = "OK", Z = A.contentType;
3373
+ else
3374
+ try {
3375
+ m = A.status, I = A.statusText, Z = A.getResponseHeader("Content-Type");
3376
+ } catch (ye) {
3377
+ m = 0, I = "", Z = void 0;
3378
+ }
3379
+ m !== 0 && (w = 2, b.readyState = 2, b.status = m, b.statusText = I, b._contentType = Z, b.onreadystatechange());
3380
+ }
3381
+ }, J = function() {
3382
+ if (R(), w === 2 || w === 3) {
3383
+ w = 3;
3384
+ var m = "";
3385
+ try {
3386
+ m = A.responseText;
3387
+ } catch (I) {
3388
+ }
3389
+ b.readyState = 3, b.responseText = m, b.onprogress();
3390
+ }
3391
+ }, O = function(m, I) {
3392
+ if ((I == null || I.preventDefault == null) && (I = {
3393
+ preventDefault: L
3394
+ }), J(), w === 1 || w === 2 || w === 3) {
3395
+ if (w = 4, y !== 0 && (i(y), y = 0), b.readyState = 4, m === "load")
3396
+ b.onload(I);
3397
+ else if (m === "error")
3398
+ b.onerror(I);
3399
+ else if (m === "abort")
3400
+ b.onabort(I);
3401
+ else
3402
+ throw new TypeError();
3403
+ b.onreadystatechange();
3404
+ }
3405
+ }, F = function(m) {
3406
+ A != null && (A.readyState === 4 ? (!("onload" in A) || !("onerror" in A) || !("onabort" in A)) && O(A.responseText === "" ? "error" : "load", m) : A.readyState === 3 ? "onprogress" in A || J() : A.readyState === 2 && R());
3407
+ }, s = function() {
3408
+ y = n(function() {
3409
+ s();
3410
+ }, 500), A.readyState === 3 && J();
3411
+ };
3412
+ "onload" in A && (A.onload = function(m) {
3413
+ O("load", m);
3414
+ }), "onerror" in A && (A.onerror = function(m) {
3415
+ O("error", m);
3416
+ }), "onabort" in A && (A.onabort = function(m) {
3417
+ O("abort", m);
3418
+ }), "onprogress" in A && (A.onprogress = J), "onreadystatechange" in A && (A.onreadystatechange = function(m) {
3419
+ F(m);
3420
+ }), ("contentType" in A || !("ontimeout" in o.prototype)) && (p += (p.indexOf("?") === -1 ? "?" : "&") + "padding=true"), A.open(a, p, !0), "readyState" in A && (y = n(function() {
3421
+ s();
3422
+ }, 0));
3423
+ }, P.prototype.abort = function() {
3424
+ this._abort(!1);
3425
+ }, P.prototype.getResponseHeader = function(a) {
3426
+ return this._contentType;
3427
+ }, P.prototype.setRequestHeader = function(a, p) {
3428
+ var b = this._xhr;
3429
+ "setRequestHeader" in b && b.setRequestHeader(a, p);
3430
+ }, P.prototype.getAllResponseHeaders = function() {
3431
+ return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
3432
+ }, P.prototype.send = function() {
3433
+ if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
3434
+ var a = this;
3435
+ a._sendTimeout = n(function() {
3436
+ a._sendTimeout = 0, a.send();
3437
+ }, 4);
3438
+ return;
3439
+ }
3440
+ var p = this._xhr;
3441
+ "withCredentials" in p && (p.withCredentials = this.withCredentials);
3442
+ try {
3443
+ p.send(void 0);
3444
+ } catch (b) {
3445
+ throw b;
3446
+ }
3447
+ };
3448
+ function T(a) {
3449
+ return a.replace(/[A-Z]/g, function(p) {
3450
+ return String.fromCharCode(p.charCodeAt(0) + 32);
3451
+ });
3452
+ }
3453
+ function E(a) {
3454
+ for (var p = /* @__PURE__ */ Object.create(null), b = a.split(`\r
3455
+ `), A = 0; A < b.length; A += 1) {
3456
+ var w = b[A], y = w.split(": "), R = y.shift(), J = y.join(": ");
3457
+ p[T(R)] = J;
3458
+ }
3459
+ this._map = p;
3460
+ }
3461
+ E.prototype.get = function(a) {
3462
+ return this._map[T(a)];
3463
+ }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
3464
+ function _() {
3465
+ }
3466
+ _.prototype.open = function(a, p, b, A, w, y, R) {
3467
+ a.open("GET", w);
3468
+ var J = 0;
3469
+ a.onprogress = function() {
3470
+ var F = a.responseText, s = F.slice(J);
3471
+ J += s.length, b(s);
3472
+ }, a.onerror = function(F) {
3473
+ F.preventDefault(), A(new Error("NetworkError"));
3474
+ }, a.onload = function() {
3475
+ A(null);
3476
+ }, a.onabort = function() {
3477
+ A(null);
3478
+ }, a.onreadystatechange = function() {
3479
+ if (a.readyState === o.HEADERS_RECEIVED) {
3480
+ var F = a.status, s = a.statusText, m = a.getResponseHeader("Content-Type"), I = a.getAllResponseHeaders();
3481
+ p(F, s, m, new E(I));
3482
+ }
3483
+ }, a.withCredentials = y;
3484
+ for (var O in R)
3485
+ Object.prototype.hasOwnProperty.call(R, O) && a.setRequestHeader(O, R[O]);
3486
+ return a.send(), a;
3487
+ };
3488
+ function Q(a) {
3489
+ this._headers = a;
3490
+ }
3491
+ Q.prototype.get = function(a) {
3492
+ return this._headers.get(a);
3493
+ };
3494
+ function ie() {
3495
+ }
3496
+ ie.prototype.open = function(a, p, b, A, w, y, R) {
3497
+ var J = null, O = new x(), F = O.signal, s = new S();
3498
+ return g(w, {
3499
+ headers: R,
3500
+ credentials: y ? "include" : "same-origin",
3501
+ signal: F,
3502
+ cache: "no-store"
3503
+ }).then(function(m) {
3504
+ return J = m.body.getReader(), p(m.status, m.statusText, m.headers.get("Content-Type"), new Q(m.headers)), new l(function(I, Z) {
3505
+ var ye = function() {
3506
+ J.read().then(function(oe) {
3507
+ if (oe.done)
3508
+ I(void 0);
3509
+ else {
3510
+ var ne = s.decode(oe.value, { stream: !0 });
3511
+ b(ne), ye();
3512
+ }
3513
+ }).catch(function(oe) {
3514
+ Z(oe);
3515
+ });
3516
+ };
3517
+ ye();
3518
+ });
3519
+ }).catch(function(m) {
3520
+ if (m.name !== "AbortError")
3521
+ return m;
3522
+ }).then(function(m) {
3523
+ A(m);
3524
+ }), {
3525
+ abort: function() {
3526
+ J != null && J.cancel(), O.abort();
3527
+ }
3528
+ };
3529
+ };
3530
+ function fe() {
3531
+ this._listeners = /* @__PURE__ */ Object.create(null);
3532
+ }
3533
+ function Y(a) {
3534
+ n(function() {
3535
+ throw a;
3536
+ }, 0);
3537
+ }
3538
+ fe.prototype.dispatchEvent = function(a) {
3539
+ a.target = this;
3540
+ var p = this._listeners[a.type];
3541
+ if (p != null)
3542
+ for (var b = p.length, A = 0; A < b; A += 1) {
3543
+ var w = p[A];
3544
+ try {
3545
+ typeof w.handleEvent == "function" ? w.handleEvent(a) : w.call(this, a);
3546
+ } catch (y) {
3547
+ Y(y);
3548
+ }
3549
+ }
3550
+ }, fe.prototype.addEventListener = function(a, p) {
3551
+ a = String(a);
3552
+ var b = this._listeners, A = b[a];
3553
+ A == null && (A = [], b[a] = A);
3554
+ for (var w = !1, y = 0; y < A.length; y += 1)
3555
+ A[y] === p && (w = !0);
3556
+ w || A.push(p);
3557
+ }, fe.prototype.removeEventListener = function(a, p) {
3558
+ a = String(a);
3559
+ var b = this._listeners, A = b[a];
3560
+ if (A != null) {
3561
+ for (var w = [], y = 0; y < A.length; y += 1)
3562
+ A[y] !== p && w.push(A[y]);
3563
+ w.length === 0 ? delete b[a] : b[a] = w;
3564
+ }
3565
+ };
3566
+ function G(a) {
3567
+ this.type = a, this.target = void 0;
3568
+ }
3569
+ function V(a, p) {
3570
+ G.call(this, a), this.data = p.data, this.lastEventId = p.lastEventId;
3571
+ }
3572
+ V.prototype = Object.create(G.prototype);
3573
+ function q(a, p) {
3574
+ G.call(this, a), this.status = p.status, this.statusText = p.statusText, this.headers = p.headers;
3575
+ }
3576
+ q.prototype = Object.create(G.prototype);
3577
+ function j(a, p) {
3578
+ G.call(this, a), this.error = p.error;
3579
+ }
3580
+ j.prototype = Object.create(G.prototype);
3581
+ var $ = -1, me = 0, Ee = 1, pe = 2, Se = -1, te = 0, Oe = 1, Ye = 2, We = 3, Ke = /^text\/event\-stream(;.*)?$/i, $e = 1e3, et = 18e6, He = function(a, p) {
3582
+ var b = a == null ? p : parseInt(a, 10);
3583
+ return b !== b && (b = p), Qe(b);
3584
+ }, Qe = function(a) {
3585
+ return Math.min(Math.max(a, $e), et);
3586
+ }, be = function(a, p, b) {
3587
+ try {
3588
+ typeof p == "function" && p.call(a, b);
3589
+ } catch (A) {
3590
+ Y(A);
3591
+ }
3592
+ };
3593
+ function le(a, p) {
3594
+ fe.call(this), p = p || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, vt(this, a, p);
3595
+ }
3596
+ function mt() {
3597
+ return o != null && "withCredentials" in o.prototype || f == null ? new o() : new f();
3598
+ }
3599
+ var gt = g != null && v != null && "body" in v.prototype;
3600
+ function vt(a, p, b) {
3601
+ p = String(p);
3602
+ var A = !!b.withCredentials, w = b.lastEventIdQueryParameterName || "lastEventId", y = Qe(1e3), R = He(b.heartbeatTimeout, 45e3), J = "", O = y, F = !1, s = 0, m = b.headers || {}, I = b.Transport, Z = gt && I == null ? void 0 : new P(I != null ? new I() : mt()), ye = I != null && typeof I != "string" ? new I() : Z == null ? new ie() : new _(), oe = void 0, ne = 0, Ae = $, Ne = "", rt = "", we = "", nt = "", ae = te, Et = 0, Ce = 0, Jr = function(ee, W, ce, de) {
3603
+ if (Ae === me)
3604
+ if (ee === 200 && ce != null && Ke.test(ce)) {
3605
+ Ae = Ee, F = Date.now(), O = y, a.readyState = Ee;
3606
+ var se = new q("open", {
3607
+ status: ee,
3608
+ statusText: W,
3609
+ headers: de
3610
+ });
3611
+ a.dispatchEvent(se), be(a, a.onopen, se);
3612
+ } else {
3613
+ var re = "";
3614
+ ee !== 200 ? (W && (W = W.replace(/\s+/g, " ")), re = "EventSource's response has a status " + ee + " " + W + " that is not 200. Aborting the connection.") : re = "EventSource's response has a Content-Type specifying an unsupported type: " + (ce == null ? "-" : ce.replace(/\s+/g, " ")) + ". Aborting the connection.", bt();
3615
+ var se = new q("error", {
3616
+ status: ee,
3617
+ statusText: W,
3618
+ headers: de
3619
+ });
3620
+ a.dispatchEvent(se), be(a, a.onerror, se), console.error(re);
3621
+ }
3622
+ }, Xr = function(ee) {
3623
+ if (Ae === Ee) {
3624
+ for (var W = -1, ce = 0; ce < ee.length; ce += 1) {
3625
+ var de = ee.charCodeAt(ce);
3626
+ (de === 10 || de === 13) && (W = ce);
3627
+ }
3628
+ var se = (W !== -1 ? nt : "") + ee.slice(0, W + 1);
3629
+ nt = (W === -1 ? nt : "") + ee.slice(W + 1), ee !== "" && (F = Date.now(), s += ee.length);
3630
+ for (var re = 0; re < se.length; re += 1) {
3631
+ var de = se.charCodeAt(re);
3632
+ if (ae === Se && de === 10)
3633
+ ae = te;
3634
+ else if (ae === Se && (ae = te), de === 13 || de === 10) {
3635
+ if (ae !== te) {
3636
+ ae === Oe && (Ce = re + 1);
3637
+ var Ie = se.slice(Et, Ce - 1), xe = se.slice(Ce + (Ce < re && se.charCodeAt(Ce) === 32 ? 1 : 0), re);
3638
+ Ie === "data" ? (Ne += `
3639
+ `, Ne += xe) : Ie === "id" ? rt = xe : Ie === "event" ? we = xe : Ie === "retry" ? (y = He(xe, y), O = y) : Ie === "heartbeatTimeout" && (R = He(xe, R), ne !== 0 && (i(ne), ne = n(function() {
3640
+ je();
3641
+ }, R)));
3642
+ }
3643
+ if (ae === te) {
3644
+ if (Ne !== "") {
3645
+ J = rt, we === "" && (we = "message");
3646
+ var Le = new V(we, {
3647
+ data: Ne.slice(1),
3648
+ lastEventId: rt
3649
+ });
3650
+ if (a.dispatchEvent(Le), we === "open" ? be(a, a.onopen, Le) : we === "message" ? be(a, a.onmessage, Le) : we === "error" && be(a, a.onerror, Le), Ae === pe)
3651
+ return;
3652
+ }
3653
+ Ne = "", we = "";
3654
+ }
3655
+ ae = de === 13 ? Se : te;
3656
+ } else
3657
+ ae === te && (Et = re, ae = Oe), ae === Oe ? de === 58 && (Ce = re + 1, ae = Ye) : ae === Ye && (ae = We);
3658
+ }
3659
+ }
3660
+ }, Xt = function(ee) {
3661
+ if (Ae === Ee || Ae === me) {
3662
+ Ae = $, ne !== 0 && (i(ne), ne = 0), ne = n(function() {
3663
+ je();
3664
+ }, O), O = Qe(Math.min(y * 16, O * 2)), a.readyState = me;
3665
+ var W = new j("error", { error: ee });
3666
+ a.dispatchEvent(W), be(a, a.onerror, W), ee != null && console.error(ee);
3667
+ }
3668
+ }, bt = function() {
3669
+ Ae = pe, oe != null && (oe.abort(), oe = void 0), ne !== 0 && (i(ne), ne = 0), a.readyState = pe;
3670
+ }, je = function() {
3671
+ if (ne = 0, Ae !== $) {
3672
+ if (!F && oe != null)
3673
+ Xt(new Error("No activity within " + R + " milliseconds. " + (Ae === me ? "No response received." : s + " chars received.") + " Reconnecting.")), oe != null && (oe.abort(), oe = void 0);
3674
+ else {
3675
+ var ee = Math.max((F || Date.now()) + R - Date.now(), 1);
3676
+ F = !1, ne = n(function() {
3677
+ je();
3678
+ }, ee);
3679
+ }
3680
+ return;
3681
+ }
3682
+ F = !1, s = 0, ne = n(function() {
3683
+ je();
3684
+ }, R), Ae = me, Ne = "", we = "", rt = J, nt = "", Et = 0, Ce = 0, ae = te;
3685
+ var W = p;
3686
+ if (p.slice(0, 5) !== "data:" && p.slice(0, 5) !== "blob:" && J !== "") {
3687
+ var ce = p.indexOf("?");
3688
+ W = ce === -1 ? p : p.slice(0, ce + 1) + p.slice(ce + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Le) {
3689
+ return Le === w ? "" : xe;
3690
+ }), W += (p.indexOf("?") === -1 ? "?" : "&") + w + "=" + encodeURIComponent(J);
3691
+ }
3692
+ var de = a.withCredentials, se = {};
3693
+ se.Accept = "text/event-stream";
3694
+ var re = a.headers;
3695
+ if (re != null)
3696
+ for (var Ie in re)
3697
+ Object.prototype.hasOwnProperty.call(re, Ie) && (se[Ie] = re[Ie]);
3698
+ try {
3699
+ oe = ye.open(Z, Jr, Xr, Xt, W, de, se);
3700
+ } catch (xe) {
3701
+ throw bt(), xe;
3702
+ }
3703
+ };
3704
+ a.url = p, a.readyState = me, a.withCredentials = A, a.headers = m, a._close = bt, je();
3705
+ }
3706
+ le.prototype = Object.create(fe.prototype), le.prototype.CONNECTING = me, le.prototype.OPEN = Ee, le.prototype.CLOSED = pe, le.prototype.close = function() {
3707
+ this._close();
3708
+ }, le.CONNECTING = me, le.OPEN = Ee, le.CLOSED = pe, le.prototype.withCredentials = void 0;
3709
+ var tt = d;
3710
+ o != null && (d == null || !("withCredentials" in d.prototype)) && (tt = le), function(a) {
3711
+ {
3712
+ var p = a(t);
3713
+ p !== void 0 && (e.exports = p);
3714
+ }
3715
+ }(function(a) {
3716
+ a.EventSourcePolyfill = le, a.NativeEventSource = d, a.EventSource = tt;
3717
+ });
3718
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : un : globalThis);
3719
+ })(Ft, Ft.exports);
3720
+ var Wi = Ft.exports;
3721
+ const Ki = `
3722
+ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7d13uF1Vnf/x93fvc25PIYAQmorYCCTBUBVSqJbBNlZ0sI3+1BkLguKMo8Yyo0IAxdFnnLGPZewgKlLTIIQSQxK6SE8hJJB+29l7/f64QQ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H60h6AkgsnnDaRytZ5YB9CN38RGUQIgfWPb5m6/tHuVfcfMO0Y7zxSXyoAJRaOf9XBWHwzcLR3FhEpjm3dve1r1m68/v4DjprhnUXqRwWgpMLLXj0GC5cQ2N87i4gUT39fLV63buMV9z7vqAO9s0h9qACUVVT7X+Bw7xgiUlzdPX2tWx7butg7h9SHCkAJhekvfyXwGu8cIlJ8mzZt2+/PE1/yr945JHsqACUTmB0Roi965xCR8tiwYcunAzMr3jkkWyoAZXP8TacCR3jHEJHy6O7ua7t34qZPeOeQbKkAlE0UXucdQUTKp7e3723eGSRbKgAlMjD9b6d75xCR8tmyuedFQfeMUtH/mWXy0hufC0z0jiEi5dPXX4vuP/Co471zSHZUAMqkagd7RxCR8kqS9DjvDJIdFYAySUxv9BOR+knCPt4RJDsqAGUSpS3eEUSkvIKFdu8Mkh0VABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCkCZpFGfdwQRKS8L1u2dQbKjAlAmcdjgHUFEysviaI13BsmOCkCZJPYX7wgiUl5WCYu8M0h2VADK5Lrf3w884h1DRMqn2lJJDn5oiQpAiagAlIhBAH7nnUNEyqerq/1Og9Q7h2RHBaBsApd6RxCR8mlrrf7UO4NkSwWgbK47+koIf/KOISLl0d7e0n3I6rHneeeQbKkAlIwxO4XoX71ziEh5jN9jzOeMeTXvHJItFYASsoW/vwILv/HOISLFN25c58rnr1ryFe8ckj1hLOs1AAAA8klEQVQVgLKKus8EVnjHEJHiam9r6Z0wZuwx3jmkPlQASsrmzduCxa9BjwWKyAi0tMTJnnuPO/XAR25Y6Z1F6kMFoMRswWX3Q3I0cKN3FhEpjs6uti377D3myIMfvnmBdxapHxWAkrOFV6wm3jYTwlcBvStARHbJzNhzzzFLxu47bv/nrrz1Vu88Ul/mHUAaJxz/qoMhfAHjDUCLdx7xt3jx3fT3J94xxJmZMW5cxwNjujre+dxHbp7vnUcaQwWgCYWTTx5HX/XlpPZqjMOBA4A9vHNJ46kANKdKJQ7Vatzb2lpd09ZevbQ9bj9fa/3N5/8DLDrhXaS1FJcAAAAASUVORK5CYII=
3723
+ `;
3724
+ if (typeof window != "undefined") {
3725
+ let e = function(t) {
3726
+ return function(...r) {
3727
+ try {
3728
+ return t.apply(this, r);
3729
+ } catch (n) {
3730
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3731
+ return !1;
3732
+ throw n;
3733
+ }
3734
+ };
3735
+ };
3736
+ customElements.define = e(customElements.define), import("./CasinoTournamentsRank-D_sBeKjB.js").then((t) => t.I).then(({ default: t }) => {
3737
+ !customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
3738
+ });
3739
+ }
3740
+ function $i(e) {
3741
+ Kr(e, "svelte-8x54mj", ".casino-tournaments-slider-controller{position:relative;width:100%;background:#212223;color:#fff;display:inline-flex;padding:10px 5px;border:1px solid #ff8364;border-radius:5px;min-height:70px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.5)}.TournamentInfo{width:calc(100% - 4px);padding:2px;display:flex;flex-direction:column;justify-content:center}.TournamentInfo .name{white-space:nowrap;width:99%;text-align:center;text-transform:capitalize;font-size:11px;margin-bottom:5px;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.TournamentInfo .TournamentNameLink{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.TournamentInfo .circle{text-align:center;height:7px;height:5px;margin-top:3px}.TournamentInfo .circle svg{color:#C4C4C4;margin:0 2px;vertical-align:top;margin-top:3px}.TournamentInfo .circle svg.active{color:white}.ArrowLeft{left:1px}.ArrowRight{right:1px}.ArrowLeft,.ArrowRight{position:absolute;cursor:pointer;top:calc(50% - 7px);margin:0px;display:flex;width:7px}.ArrowLeft.Disabled svg,.ArrowRight.Disabled svg{color:darkgrey}.ArrowLeft svg,.ArrowRight svg{vertical-align:middle;width:11px;height:11px;color:#FF8364}section#animator{position:absolute;right:0;top:0;opacity:0;display:none;cursor:pointer;text-align:center;align-items:center;flex-direction:column}section#animator .restoreButton{color:#000;display:inline-flex}casino-tournaments-rank::part(Rank),casino-tournaments-rank::part(Prize){background-color:transparent;padding:0px;margin:0px;line-height:14px}casino-tournaments-rank::part(RankText),casino-tournaments-rank::part(PrizeText){line-height:16px;margin:auto}casino-tournaments-rank::part(Rank_Arror_UP),casino-tournaments-rank::part(Rank_Arror_Down){padding:0px 3px}casino-tournaments-rank::part(PrizeText){font-weight:normal}casino-tournaments-rank::part(Rank){color:#ff8364;font-size:10px}casino-tournaments-rank::part(Prize){color:#fdd500;font-size:10px}");
3742
+ }
3743
+ function fr(e, t, r) {
3744
+ const n = e.slice();
3745
+ return n[64] = t[r], n[66] = r, n;
3746
+ }
3747
+ function cr(e) {
3748
+ let t, r, n, i = (
3749
+ /*$_*/
3750
+ e[13]("loading") + ""
3751
+ ), o, f, c, d, u, l;
3752
+ return {
3753
+ c() {
3754
+ t = K("div"), r = K("div"), n = K("span"), o = vr(i), f = ve(), c = K("div"), d = K("casino-tournaments-rank"), u = ve(), l = K("div"), l.innerHTML = "", h(n, "part", "TournamentInfo_Name_link"), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), X(d, "displayin", "col"), X(d, "showicon", "false"), X(d, "userrank", "-"), X(d, "prize", "-"), X(d, "overallrank", "-"), X(d, "tournamentid", ""), X(
3755
+ d,
3756
+ "clientstyling",
3757
+ /*clientstyling*/
3758
+ e[1]
3759
+ ), X(
3760
+ d,
3761
+ "clientstylingurl",
3762
+ /*clientstylingurl*/
3763
+ e[2]
3764
+ ), h(c, "part", "TournamentInfo_Rank"), h(c, "class", "rank"), h(l, "part", "TournamentInfo_Points"), h(l, "class", "circle"), h(t, "part", "TournamentLoading"), h(t, "class", "TournamentInfo SearchLoading"), rn(t, "height", "200px");
3765
+ },
3766
+ m(g, v) {
3767
+ Ze(g, t, v), H(t, r), H(r, n), H(n, o), H(t, f), H(t, c), H(c, d), H(t, u), H(t, l);
3768
+ },
3769
+ p(g, v) {
3770
+ v[0] & /*$_*/
3771
+ 8192 && i !== (i = /*$_*/
3772
+ g[13]("loading") + "") && Er(o, i), v[0] & /*clientstyling*/
3773
+ 2 && X(
3774
+ d,
3775
+ "clientstyling",
3776
+ /*clientstyling*/
3777
+ g[1]
3778
+ ), v[0] & /*clientstylingurl*/
3779
+ 4 && X(
3780
+ d,
3781
+ "clientstylingurl",
3782
+ /*clientstylingurl*/
3783
+ g[2]
3784
+ );
3785
+ },
3786
+ d(g) {
3787
+ g && qe(t);
3788
+ }
3789
+ };
3790
+ }
3791
+ function dr(e) {
3792
+ let t, r, n, i = (
3793
+ /*currentTournament*/
3794
+ e[7].name + ""
3795
+ ), o, f, c, d, u, l, g, v, S, M, x, C, B, U, L, P = Vt(
3796
+ /*tournamentList*/
3797
+ e[4]
3798
+ ), T = [];
3799
+ for (let E = 0; E < P.length; E += 1)
3800
+ T[E] = pr(fr(e, P, E));
3801
+ return {
3802
+ c() {
3803
+ t = K("div"), r = K("div"), n = K("span"), o = vr(i), c = ve(), d = K("div"), u = K("casino-tournaments-rank"), M = ve(), x = K("div");
3804
+ for (let E = 0; E < T.length; E += 1)
3805
+ T[E].c();
3806
+ h(n, "part", "TournamentInfo_Name_link"), h(n, "class", "TournamentNameLink"), h(n, "title", f = /*currentTournament*/
3807
+ e[7].name), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), X(u, "displayin", "col"), X(u, "showicon", "false"), X(u, "userrank", l = /*currentTournament*/
3808
+ e[7].rank), X(u, "prize", g = /*currentTournament*/
3809
+ e[7].prize), X(u, "overallrank", v = /*currentTournament*/
3810
+ e[7].overallRank), X(u, "tournamentid", S = /*currentTournament*/
3811
+ e[7].id), X(
3812
+ u,
3813
+ "clientstyling",
3814
+ /*clientstyling*/
3815
+ e[1]
3816
+ ), X(
3817
+ u,
3818
+ "clientstylingurl",
3819
+ /*clientstylingurl*/
3820
+ e[2]
3821
+ ), h(d, "part", "TournamentInfo_Rank"), h(d, "class", "rank"), h(x, "part", "TournamentInfo_Points"), h(x, "class", "circle"), h(t, "part", "TournamentInfo"), h(t, "class", "TournamentInfo");
3822
+ },
3823
+ m(E, _) {
3824
+ Ze(E, t, _), H(t, r), H(r, n), H(n, o), H(t, c), H(t, d), H(d, u), H(t, M), H(t, x);
3825
+ for (let Q = 0; Q < T.length; Q += 1)
3826
+ T[Q] && T[Q].m(x, null);
3827
+ e[27](t), B = !0, U || (L = at(
3828
+ n,
3829
+ "click",
3830
+ /*click_handler_1*/
3831
+ e[26]
3832
+ ), U = !0);
3833
+ },
3834
+ p(E, _) {
3835
+ if ((!B || _[0] & /*currentTournament*/
3836
+ 128) && i !== (i = /*currentTournament*/
3837
+ E[7].name + "") && Er(o, i), (!B || _[0] & /*currentTournament*/
3838
+ 128 && f !== (f = /*currentTournament*/
3839
+ E[7].name)) && h(n, "title", f), (!B || _[0] & /*currentTournament*/
3840
+ 128 && l !== (l = /*currentTournament*/
3841
+ E[7].rank)) && X(u, "userrank", l), (!B || _[0] & /*currentTournament*/
3842
+ 128 && g !== (g = /*currentTournament*/
3843
+ E[7].prize)) && X(u, "prize", g), (!B || _[0] & /*currentTournament*/
3844
+ 128 && v !== (v = /*currentTournament*/
3845
+ E[7].overallRank)) && X(u, "overallrank", v), (!B || _[0] & /*currentTournament*/
3846
+ 128 && S !== (S = /*currentTournament*/
3847
+ E[7].id)) && X(u, "tournamentid", S), (!B || _[0] & /*clientstyling*/
3848
+ 2) && X(
3849
+ u,
3850
+ "clientstyling",
3851
+ /*clientstyling*/
3852
+ E[1]
3853
+ ), (!B || _[0] & /*clientstylingurl*/
3854
+ 4) && X(
3855
+ u,
3856
+ "clientstylingurl",
3857
+ /*clientstylingurl*/
3858
+ E[2]
3859
+ ), _[0] & /*currentTournamentIdx, tournamentList*/
3860
+ 48) {
3861
+ P = Vt(
3862
+ /*tournamentList*/
3863
+ E[4]
3864
+ );
3865
+ let Q;
3866
+ for (Q = 0; Q < P.length; Q += 1) {
3867
+ const ie = fr(E, P, Q);
3868
+ T[Q] ? T[Q].p(ie, _) : (T[Q] = pr(ie), T[Q].c(), T[Q].m(x, null));
3869
+ }
3870
+ for (; Q < T.length; Q += 1)
3871
+ T[Q].d(1);
3872
+ T.length = P.length;
3873
+ }
3874
+ },
3875
+ i(E) {
3876
+ B || (E && nn(() => {
3877
+ B && (C || (C = Zt(t, qt, { delay: 250, duration: 300 }, !0)), C.run(1));
3878
+ }), B = !0);
3879
+ },
3880
+ o(E) {
3881
+ E && (C || (C = Zt(t, qt, { delay: 250, duration: 300 }, !1)), C.run(0)), B = !1;
3882
+ },
3883
+ d(E) {
3884
+ E && qe(t), on(T, E), e[27](null), E && C && C.end(), U = !1, L();
3885
+ }
3886
+ };
3887
+ }
3888
+ function pr(e) {
3889
+ let t, r, n;
3890
+ return {
3891
+ c() {
3892
+ t = he("svg"), r = he("circle"), h(r, "cx", "2.77888"), h(r, "cy", "2.50837"), h(r, "r", "2.28571"), h(r, "fill", "currentColor"), h(r, "stroke", "currentColor"), h(t, "class", n = /*currentTournamentIdx*/
3893
+ e[5] == /*idx*/
3894
+ e[66] ? "active" : ""), h(t, "width", "6"), h(t, "height", "5"), h(t, "viewBox", "0 0 6 5"), h(t, "fill", "none"), h(t, "xmlns", "http://www.w3.org/2000/svg");
3895
+ },
3896
+ m(i, o) {
3897
+ Ze(i, t, o), H(t, r);
3898
+ },
3899
+ p(i, o) {
3900
+ o[0] & /*currentTournamentIdx*/
3901
+ 32 && n !== (n = /*currentTournamentIdx*/
3902
+ i[5] == /*idx*/
3903
+ i[66] ? "active" : "") && h(t, "class", n);
3904
+ },
3905
+ d(i) {
3906
+ i && qe(t);
3907
+ }
3908
+ };
3909
+ }
3910
+ function Ar(e) {
3911
+ let t, r;
3912
+ return {
3913
+ c() {
3914
+ t = he("svg"), r = he("path"), h(r, "fill-rule", "evenodd"), h(r, "clip-rule", "evenodd"), h(r, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(t, "width", "6"), h(t, "height", "10"), h(t, "fill", "currentColor"), h(t, "viewBox", "0 0 6 10"), h(t, "xmlns", "http://www.w3.org/2000/svg");
3915
+ },
3916
+ m(n, i) {
3917
+ Ze(n, t, i), H(t, r);
3918
+ },
3919
+ d(n) {
3920
+ n && qe(t);
3921
+ }
3922
+ };
3923
+ }
3924
+ function eo(e) {
3925
+ let t, r, n, i, o, f, c, d, u, l, g, v, S, M, x, C, B, U, L, P, T, E, _, Q, ie, fe, Y, G = !/*tournamentList*/
3926
+ e[4] && cr(e), V = (
3927
+ /*tournamentList*/
3928
+ e[4] && /*tournamentList*/
3929
+ e[4].length > 0 && dr(e)
3930
+ ), q = (
3931
+ /*isLast*/
3932
+ e[9] && Ar()
3933
+ );
3934
+ return {
3935
+ c() {
3936
+ t = K("div"), r = K("div"), n = K("div"), i = he("svg"), o = he("path"), c = ve(), G && G.c(), d = ve(), V && V.c(), u = ve(), l = K("div"), g = he("svg"), v = he("path"), S = ve(), q && q.c(), M = ve(), x = K("section"), C = K("div"), B = he("svg"), U = he("rect"), L = he("defs"), P = he("pattern"), T = he("use"), E = he("image"), Q = ve(), ie = K("div"), ie.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', h(o, "fill-rule", "evenodd"), h(o, "clip-rule", "evenodd"), h(o, "d", "M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"), h(i, "width", "6"), h(i, "height", "10"), h(i, "viewBox", "0 0 6 10"), h(i, "fill", "currentColor"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(n, "part", "Tournaments_ArrowLeft"), h(n, "class", f = "ArrowLeft " + /*isFirst*/
3937
+ (e[8] ? "Disabled" : "")), h(v, "fill-rule", "evenodd"), h(v, "clip-rule", "evenodd"), h(v, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(g, "width", "6"), h(g, "height", "10"), h(g, "fill", "currentColor"), h(g, "viewBox", "0 0 6 10"), h(g, "xmlns", "http://www.w3.org/2000/svg"), h(l, "part", "Tournaments_ArrowRight"), h(l, "class", "ArrowRight"), h(r, "part", "Tournaments"), h(r, "class", "casino-tournaments-slider-controller"), h(
3938
+ U,
3939
+ "width",
3940
+ /*iconsize*/
3941
+ e[0]
3942
+ ), h(
3943
+ U,
3944
+ "height",
3945
+ /*iconsize*/
3946
+ e[0]
3947
+ ), h(U, "fill", "url(#pattern0)"), yt(T, "xlink:href", "#image0_2606_356"), h(T, "transform", "scale(0.00195312)"), h(P, "id", "pattern0"), h(P, "patternContentUnits", "objectBoundingBox"), h(P, "width", "1"), h(P, "height", "1"), h(E, "id", "image0_2606_356"), h(E, "width", "512"), h(E, "height", "512"), yt(
3948
+ E,
3949
+ "xlink:href",
3950
+ /*iconHref*/
3951
+ e[12]
3952
+ ), h(
3953
+ B,
3954
+ "width",
3955
+ /*iconsize*/
3956
+ e[0]
3957
+ ), h(
3958
+ B,
3959
+ "height",
3960
+ /*iconsize*/
3961
+ e[0]
3962
+ ), h(B, "viewBox", _ = `0 0 ${/*iconsize*/
3963
+ e[0]} ${/*iconsize*/
3964
+ e[0]}`), h(B, "fill", "none"), h(B, "xmlns", "http://www.w3.org/2000/svg"), h(B, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(C, "class", "svg"), h(C, "part", "Icon"), h(ie, "class", "restoreButton"), h(ie, "part", "RestoreButton"), h(x, "id", "animator"), h(x, "part", "Animator");
3965
+ },
3966
+ m(j, $) {
3967
+ Ze(j, t, $), H(t, r), H(r, n), H(n, i), H(i, o), H(r, c), G && G.m(r, null), H(r, d), V && V.m(r, null), H(r, u), H(r, l), H(l, g), H(g, v), H(l, S), q && q.m(l, null), e[29](r), H(t, M), H(t, x), H(x, C), H(C, B), H(B, U), H(B, L), H(L, P), H(P, T), H(L, E), H(x, Q), H(x, ie), e[30](x), e[32](t), fe || (Y = [
3968
+ at(
3969
+ n,
3970
+ "click",
3971
+ /*click_handler*/
3972
+ e[25]
3973
+ ),
3974
+ at(
3975
+ l,
3976
+ "click",
3977
+ /*click_handler_2*/
3978
+ e[28]
3979
+ ),
3980
+ at(
3981
+ x,
3982
+ "click",
3983
+ /*click_handler_3*/
3984
+ e[31]
3985
+ )
3986
+ ], fe = !0);
3987
+ },
3988
+ p(j, $) {
3989
+ $[0] & /*isFirst*/
3990
+ 256 && f !== (f = "ArrowLeft " + /*isFirst*/
3991
+ (j[8] ? "Disabled" : "")) && h(n, "class", f), /*tournamentList*/
3992
+ j[4] ? G && (G.d(1), G = null) : G ? G.p(j, $) : (G = cr(j), G.c(), G.m(r, d)), /*tournamentList*/
3993
+ j[4] && /*tournamentList*/
3994
+ j[4].length > 0 ? V ? (V.p(j, $), $[0] & /*tournamentList*/
3995
+ 16 && wt(V, 1)) : (V = dr(j), V.c(), wt(V, 1), V.m(r, u)) : V && (an(), zt(V, 1, 1, () => {
3996
+ V = null;
3997
+ }), $r()), /*isLast*/
3998
+ j[9] ? q || (q = Ar(), q.c(), q.m(l, null)) : q && (q.d(1), q = null), $[0] & /*iconsize*/
3999
+ 1 && h(
4000
+ U,
4001
+ "width",
4002
+ /*iconsize*/
4003
+ j[0]
4004
+ ), $[0] & /*iconsize*/
4005
+ 1 && h(
4006
+ U,
4007
+ "height",
4008
+ /*iconsize*/
4009
+ j[0]
4010
+ ), $[0] & /*iconHref*/
4011
+ 4096 && yt(
4012
+ E,
4013
+ "xlink:href",
4014
+ /*iconHref*/
4015
+ j[12]
4016
+ ), $[0] & /*iconsize*/
4017
+ 1 && h(
4018
+ B,
4019
+ "width",
4020
+ /*iconsize*/
4021
+ j[0]
4022
+ ), $[0] & /*iconsize*/
4023
+ 1 && h(
4024
+ B,
4025
+ "height",
4026
+ /*iconsize*/
4027
+ j[0]
4028
+ ), $[0] & /*iconsize*/
4029
+ 1 && _ !== (_ = `0 0 ${/*iconsize*/
4030
+ j[0]} ${/*iconsize*/
4031
+ j[0]}`) && h(B, "viewBox", _);
4032
+ },
4033
+ i(j) {
4034
+ wt(V);
4035
+ },
4036
+ o(j) {
4037
+ zt(V);
4038
+ },
4039
+ d(j) {
4040
+ j && qe(t), G && G.d(), V && V.d(), q && q.d(), e[29](null), e[30](null), e[32](null), fe = !1, mr(Y);
4041
+ }
4042
+ };
4043
+ }
4044
+ let Rt = 1, St = 300;
4045
+ function to(e, t, r) {
4046
+ let n, i;
4047
+ en(e, Zi, (s) => r(13, i = s));
4048
+ let { session: o = "" } = t, { endpoint: f = "" } = t, { lang: c = "en" } = t, { tournamentsshownnumber: d = 5 } = t, { looptime: u = "5" } = t, { iconsize: l = "9" } = t, { icon: g = "" } = t, { clientstyling: v = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: M = "" } = t, x, C = [], B, U = 0, L = !0, P = !1, T, E, _ = null, Q = null, ie, fe = !1, Y, G;
4049
+ qi({ withLocale: "en", translations: {} });
4050
+ const V = () => {
4051
+ fetch(M).then((m) => m.json()).then((m) => {
4052
+ Object.keys(m).forEach((I) => {
4053
+ lr(I, m[I]);
4054
+ });
4055
+ }).catch((m) => {
4056
+ console.log(m);
4057
+ });
4058
+ };
4059
+ Object.keys(hr).forEach((s) => {
4060
+ lr(s, hr[s]);
4061
+ });
4062
+ const q = (s) => {
4063
+ s.data && s.data.type == "TournamentList" && r(4, C = s.data.tournamentList);
4064
+ }, j = () => {
4065
+ o.length > 0 && o != "false";
4066
+ }, $ = () => {
4067
+ Yi(c);
4068
+ }, me = () => {
4069
+ C.length !== 0 && (te.curTournament.hide(), setTimeout(
4070
+ () => {
4071
+ r(5, U = (U + 1) % C.length), te.curTournament.show();
4072
+ },
4073
+ St * 1.5
4074
+ ));
4075
+ }, Ee = () => {
4076
+ clearInterval(ie), ie = setInterval(
4077
+ () => {
4078
+ fe || me();
4079
+ },
4080
+ Number(u) * 1e3
4081
+ );
4082
+ }, pe = (s) => {
4083
+ te.curTournament.hide(), Ee(), s > 0 && P && Ye(), !(s > 0 && P || s < 0 && L) && setTimeout(
4084
+ () => {
4085
+ r(5, U = U + s), te.curTournament.show();
4086
+ },
4087
+ St * 1.5
4088
+ );
4089
+ }, Se = (s) => setTimeout(() => s(), Rt * 1e3), te = {
4090
+ icon: {
4091
+ init() {
4092
+ r(10, Y.style.transition = `all ${Rt}s ease-in-out`, Y);
4093
+ },
4094
+ show() {
4095
+ r(10, Y.style.display = "flex", Y), Se(() => r(10, Y.style.opacity = "1", Y));
4096
+ },
4097
+ hide() {
4098
+ r(10, Y.style.display = "none", Y), r(10, Y.style.opacity = "0", Y);
4099
+ }
4100
+ },
4101
+ slider: {
4102
+ init() {
4103
+ r(6, E.style.transition = `all ${Rt}s ease-in-out`, E);
4104
+ },
4105
+ show() {
4106
+ r(6, E.style.opacity = "1", E), r(6, E.style.transform = null, E), document.querySelector("body").style["overflow-x"] = "hidden";
4107
+ },
4108
+ hide() {
4109
+ this.init(), r(6, E.style.opacity = "0", E), r(6, E.style.transform = `translateX(${E.clientWidth + 20}px)`, E), Se(() => document.querySelector("body").setAttribute("style", null));
4110
+ }
4111
+ },
4112
+ curTournament: {
4113
+ init() {
4114
+ r(11, G.style.transition = `all ${St}ms linear`, G);
4115
+ },
4116
+ show() {
4117
+ r(11, G.style.opacity = "1", G);
4118
+ },
4119
+ hide() {
4120
+ this.init(), r(11, G.style.opacity = "0", G);
4121
+ }
4122
+ }
4123
+ }, Oe = () => {
4124
+ te.slider.show(), te.icon.hide(), fe = !1;
4125
+ }, Ye = () => {
4126
+ te.slider.hide(), te.icon.show(), fe = !0;
4127
+ }, We = (s) => ({
4128
+ id: s.tournament.id,
4129
+ name: s.tournament.nameOrTitle,
4130
+ rank: s.leaderBoard ? s.leaderBoard.rank : "-",
4131
+ overallRank: s.endRank,
4132
+ prize: s.leaderBoard && s.leaderBoard.prizeName ? s.leaderBoard.prizeName : "-"
4133
+ }), Ke = (s) => {
4134
+ window.postMessage(
4135
+ {
4136
+ type: "MyTournamentFromNavClicked",
4137
+ tournamentid: s,
4138
+ showLeaderboard: !0
4139
+ },
4140
+ window.location.href
4141
+ );
4142
+ }, $e = (s, m, I) => (s.append("pagination", `offset=${m},limit=${I}`), s.append("sortField", "StartTime"), s.append("sortOrder", "desc"), s.append("fields", "id,nameOrTitle,state"), s.append("language", c), s.append("filter", "state=Running"), s), et = (s) => {
4143
+ let m = We(s), I = C.findIndex((Z) => Z.id == m.id);
4144
+ U == I && window.postMessage(
4145
+ {
4146
+ type: `TournamentRankInfo_${m.id}}`,
4147
+ rankInfo: {
4148
+ rank: m.rank,
4149
+ overallRank: m.overallRank,
4150
+ prize: m.prize
4151
+ }
4152
+ },
4153
+ window.location.href
4154
+ ), r(4, C[I] = m, C);
4155
+ }, He = (s) => {
4156
+ if (s.data)
4157
+ try {
4158
+ let m = s.data, I = JSON.parse(m);
4159
+ I.messageType == "PlayerLeaderBoardsUpdate" && I.items ? I.items.forEach((Z, ye) => {
4160
+ et(Z);
4161
+ }) : I.messageType == "PlayerLeaderBoardUpdate" && I.item && et(I.item);
4162
+ } catch (m) {
4163
+ console.log(m);
4164
+ }
4165
+ }, Qe = (s) => s.touches || s.originalEvent.touches, be = (s) => {
4166
+ const m = Qe(s)[0];
4167
+ _ = m.clientX, Q = m.clientY;
4168
+ }, le = (s) => {
4169
+ if (!_ || !Q) return;
4170
+ let m = s.touches[0].clientX, I = s.touches[0].clientY, Z = _ - m, ye = Q - I;
4171
+ Math.abs(Z) > Math.abs(ye) && (Z > 0 ? pe(1) : pe(-1)), _ = null, Q = null;
4172
+ }, mt = () => {
4173
+ E.addEventListener("touchstart", be, { passive: !0 }), E.addEventListener("touchmove", le, { passive: !0 });
4174
+ }, gt = () => {
4175
+ if (!f)
4176
+ return;
4177
+ T && (T.removeEventListener("message", He), T.close());
4178
+ let s = new URL(`${f}/v1/tournaments/leaderboard/player/updates`);
4179
+ $e(s.searchParams, 0, d), T = new Wi.EventSourcePolyfill(
4180
+ s.href,
4181
+ {
4182
+ headers: {
4183
+ accept: "text/event-stream",
4184
+ "X-SessionId": o
4185
+ }
4186
+ }
4187
+ ), typeof T != "undefined" && T.addEventListener("message", He);
4188
+ }, vt = () => {
4189
+ let s = document.createElement("style");
4190
+ s.innerHTML = v, x.appendChild(s);
4191
+ }, tt = () => {
4192
+ let s = new URL(S), m = document.createElement("style");
4193
+ fetch(s.href).then((I) => I.text()).then((I) => {
4194
+ m.innerHTML = I, setTimeout(
4195
+ () => {
4196
+ x.appendChild(m);
4197
+ },
4198
+ 1
4199
+ ), setTimeout(
4200
+ () => {
4201
+ },
4202
+ 500
4203
+ );
4204
+ });
4205
+ }, a = () => {
4206
+ if (!f || !o)
4207
+ return;
4208
+ let s = new URL(`${f}/v1/tournaments/leaderboard/player`), m = new Headers();
4209
+ $e(s.searchParams, 0, d), o && m.append("X-SessionID", o), fetch(s, { method: "GET", headers: m }).then((Z) => Z.json()).then((Z) => {
4210
+ if (!Z.items)
4211
+ return;
4212
+ r(4, C = []), Z.items.forEach((oe, ne) => {
4213
+ C.push(We(oe));
4214
+ }), r(7, B = C[U]), gt(), Ee();
4215
+ });
4216
+ };
4217
+ let p = !1;
4218
+ tn(() => (r(24, p = !0), window.addEventListener("message", q, !1), setTimeout(
4219
+ () => {
4220
+ r(17, c = "tr");
4221
+ },
4222
+ 5e3
4223
+ ), () => {
4224
+ clearInterval(ie), window.removeEventListener("message", q), T && T.removeEventListener("message", He), E.removeEventListener("touchstart", be), E.removeEventListener("touchmove", le);
4225
+ }));
4226
+ const b = () => pe(-1), A = () => Ke(B.id);
4227
+ function w(s) {
4228
+ it[s ? "unshift" : "push"](() => {
4229
+ G = s, r(11, G);
4230
+ });
4231
+ }
4232
+ const y = () => pe(1);
4233
+ function R(s) {
4234
+ it[s ? "unshift" : "push"](() => {
4235
+ E = s, r(6, E);
4236
+ });
4237
+ }
4238
+ function J(s) {
4239
+ it[s ? "unshift" : "push"](() => {
4240
+ Y = s, r(10, Y);
4241
+ });
4242
+ }
4243
+ const O = () => Oe();
4244
+ function F(s) {
4245
+ it[s ? "unshift" : "push"](() => {
4246
+ x = s, r(3, x);
4247
+ });
4248
+ }
4249
+ return e.$$set = (s) => {
4250
+ "session" in s && r(18, o = s.session), "endpoint" in s && r(19, f = s.endpoint), "lang" in s && r(17, c = s.lang), "tournamentsshownnumber" in s && r(20, d = s.tournamentsshownnumber), "looptime" in s && r(21, u = s.looptime), "iconsize" in s && r(0, l = s.iconsize), "icon" in s && r(22, g = s.icon), "clientstyling" in s && r(1, v = s.clientstyling), "clientstylingurl" in s && r(2, S = s.clientstylingurl), "translationurl" in s && r(23, M = s.translationurl);
4251
+ }, e.$$.update = () => {
4252
+ e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4253
+ 10 && x && v && vt(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4254
+ 12 && x && S && tt(), e.$$.dirty[0] & /*icon*/
4255
+ 4194304 && r(12, n = g || Ki), e.$$.dirty[0] & /*isMounted, endpoint, tournamentsshownnumber, lang*/
4256
+ 18481152 && p && f && d && c && a(), e.$$.dirty[0] & /*tourSlider*/
4257
+ 64 && E && mt(), e.$$.dirty[0] & /*session*/
4258
+ 262144 && o && j(), e.$$.dirty[0] & /*lang*/
4259
+ 131072 && c && $(), e.$$.dirty[0] & /*translationurl*/
4260
+ 8388608 && M && V(), e.$$.dirty[0] & /*tournamentList, currentTournamentIdx*/
4261
+ 48 && r(7, B = C[U]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
4262
+ 48 && r(9, P = U == C.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
4263
+ 32 && r(8, L = U == 0);
4264
+ }, [
4265
+ l,
4266
+ v,
4267
+ S,
4268
+ x,
4269
+ C,
4270
+ U,
4271
+ E,
4272
+ B,
4273
+ L,
4274
+ P,
4275
+ Y,
4276
+ G,
4277
+ n,
4278
+ i,
4279
+ pe,
4280
+ Oe,
4281
+ Ke,
4282
+ c,
4283
+ o,
4284
+ f,
4285
+ d,
4286
+ u,
4287
+ g,
4288
+ M,
4289
+ p,
4290
+ b,
4291
+ A,
4292
+ w,
4293
+ y,
4294
+ R,
4295
+ J,
4296
+ O,
4297
+ F
4298
+ ];
4299
+ }
4300
+ class ro extends qr {
4301
+ constructor(t) {
4302
+ super(), Yr(
4303
+ this,
4304
+ t,
4305
+ to,
4306
+ eo,
4307
+ gr,
4308
+ {
4309
+ session: 18,
4310
+ endpoint: 19,
4311
+ lang: 17,
4312
+ tournamentsshownnumber: 20,
4313
+ looptime: 21,
4314
+ iconsize: 0,
4315
+ icon: 22,
4316
+ clientstyling: 1,
4317
+ clientstylingurl: 2,
4318
+ translationurl: 23
4319
+ },
4320
+ $i,
4321
+ [-1, -1, -1]
4322
+ );
4323
+ }
4324
+ get session() {
4325
+ return this.$$.ctx[18];
4326
+ }
4327
+ set session(t) {
4328
+ this.$$set({ session: t }), ge();
4329
+ }
4330
+ get endpoint() {
4331
+ return this.$$.ctx[19];
4332
+ }
4333
+ set endpoint(t) {
4334
+ this.$$set({ endpoint: t }), ge();
4335
+ }
4336
+ get lang() {
4337
+ return this.$$.ctx[17];
4338
+ }
4339
+ set lang(t) {
4340
+ this.$$set({ lang: t }), ge();
4341
+ }
4342
+ get tournamentsshownnumber() {
4343
+ return this.$$.ctx[20];
4344
+ }
4345
+ set tournamentsshownnumber(t) {
4346
+ this.$$set({ tournamentsshownnumber: t }), ge();
4347
+ }
4348
+ get looptime() {
4349
+ return this.$$.ctx[21];
4350
+ }
4351
+ set looptime(t) {
4352
+ this.$$set({ looptime: t }), ge();
4353
+ }
4354
+ get iconsize() {
4355
+ return this.$$.ctx[0];
4356
+ }
4357
+ set iconsize(t) {
4358
+ this.$$set({ iconsize: t }), ge();
4359
+ }
4360
+ get icon() {
4361
+ return this.$$.ctx[22];
4362
+ }
4363
+ set icon(t) {
4364
+ this.$$set({ icon: t }), ge();
4365
+ }
4366
+ get clientstyling() {
4367
+ return this.$$.ctx[1];
4368
+ }
4369
+ set clientstyling(t) {
4370
+ this.$$set({ clientstyling: t }), ge();
4371
+ }
4372
+ get clientstylingurl() {
4373
+ return this.$$.ctx[2];
4374
+ }
4375
+ set clientstylingurl(t) {
4376
+ this.$$set({ clientstylingurl: t }), ge();
4377
+ }
4378
+ get translationurl() {
4379
+ return this.$$.ctx[23];
4380
+ }
4381
+ set translationurl(t) {
4382
+ this.$$set({ translationurl: t }), ge();
4383
+ }
4384
+ }
4385
+ Wr(ro, { session: {}, endpoint: {}, lang: {}, tournamentsshownnumber: {}, looptime: {}, iconsize: {}, icon: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4386
+ export {
4387
+ ro as default
4388
+ };