@everymatrix/casino-tournaments-slider-controller 1.50.1 → 1.52.0

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.
@@ -234,10 +234,10 @@ var On = {
234
234
  }, Bt = {
235
235
  variadic: Cn,
236
236
  monadic: Rn
237
- }, N;
237
+ }, L;
238
238
  (function(e) {
239
239
  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";
240
- })(N || (N = {}));
240
+ })(L || (L = {}));
241
241
  var z;
242
242
  (function(e) {
243
243
  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";
@@ -249,7 +249,7 @@ var Me;
249
249
  function Wt(e) {
250
250
  return e.type === z.literal;
251
251
  }
252
- function Nn(e) {
252
+ function Ln(e) {
253
253
  return e.type === z.argument;
254
254
  }
255
255
  function Ir(e) {
@@ -267,7 +267,7 @@ function Tr(e) {
267
267
  function Hr(e) {
268
268
  return e.type === z.plural;
269
269
  }
270
- function Ln(e) {
270
+ function Nn(e) {
271
271
  return e.type === z.pound;
272
272
  }
273
273
  function Cr(e) {
@@ -276,7 +276,7 @@ function Cr(e) {
276
276
  function Rr(e) {
277
277
  return !!(e && typeof e == "object" && e.type === Me.number);
278
278
  }
279
- function Nt(e) {
279
+ function Lt(e) {
280
280
  return !!(e && typeof e == "object" && e.type === Me.dateTime);
281
281
  }
282
282
  var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
@@ -393,14 +393,14 @@ function kn(e) {
393
393
  function Un(e) {
394
394
  return e.replace(/^(.*?)-/, "");
395
395
  }
396
- var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Or = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, Nr = /^(0+)$/;
396
+ var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Or = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
397
397
  function $t(e) {
398
398
  var t = {};
399
399
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Or, function(r, n, i) {
400
400
  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)), "";
401
401
  }), t;
402
402
  }
403
- function Lr(e) {
403
+ function Nr(e) {
404
404
  switch (e) {
405
405
  case "sign-auto":
406
406
  return {
@@ -448,14 +448,14 @@ function Fn(e) {
448
448
  notation: "scientific"
449
449
  }, e = e.slice(1)), t) {
450
450
  var r = e.slice(0, 2);
451
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nr.test(e))
451
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
452
452
  throw new Error("Malformed concise eng/scientific notation");
453
453
  t.minimumIntegerDigits = e.length;
454
454
  }
455
455
  return t;
456
456
  }
457
457
  function er(e) {
458
- var t = {}, r = Lr(e);
458
+ var t = {}, r = Nr(e);
459
459
  return r || t;
460
460
  }
461
461
  function _n(e) {
@@ -557,7 +557,7 @@ function _n(e) {
557
557
  });
558
558
  continue;
559
559
  }
560
- if (Nr.test(i.stem)) {
560
+ if (Lr.test(i.stem)) {
561
561
  t.minimumIntegerDigits = i.stem.length;
562
562
  continue;
563
563
  }
@@ -575,7 +575,7 @@ function _n(e) {
575
575
  t = k(k({}, t), $t(i.stem));
576
576
  continue;
577
577
  }
578
- var f = Lr(i.stem);
578
+ var f = Nr(i.stem);
579
579
  f && (t = k(k({}, t), f));
580
580
  var c = Fn(i.stem);
581
581
  c && (t = k(k({}, t), c));
@@ -2040,12 +2040,12 @@ function D(e, t) {
2040
2040
  }
2041
2041
  var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Zn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, $n = Kn ? Number.isSafeInteger : function(e) {
2042
2042
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2043
- }, Lt = !0;
2043
+ }, Nt = !0;
2044
2044
  try {
2045
2045
  var ei = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2046
- Lt = ((Tt = ei.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
2046
+ Nt = ((Tt = ei.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
2047
2047
  } catch (e) {
2048
- Lt = !1;
2048
+ Nt = !1;
2049
2049
  }
2050
2050
  var tr = zn ? (
2051
2051
  // Native
@@ -2120,7 +2120,7 @@ function Pr(e, t) {
2120
2120
  return new RegExp(e, t);
2121
2121
  }
2122
2122
  var Pt;
2123
- if (Lt) {
2123
+ if (Nt) {
2124
2124
  var nr = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2125
2125
  Pt = function(t, r) {
2126
2126
  var n;
@@ -2168,7 +2168,7 @@ var ni = (
2168
2168
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2169
2169
  if (n)
2170
2170
  break;
2171
- return this.error(N.UNMATCHED_CLOSING_TAG, D(this.clonePosition(), this.clonePosition()));
2171
+ return this.error(L.UNMATCHED_CLOSING_TAG, D(this.clonePosition(), this.clonePosition()));
2172
2172
  } else if (o === 60 && !this.ignoreTag && Mt(this.peek() || 0)) {
2173
2173
  var f = this.parseTag(t, r);
2174
2174
  if (f.err)
@@ -2203,9 +2203,9 @@ var ni = (
2203
2203
  var f = o.val, c = this.clonePosition();
2204
2204
  if (this.bumpIf("</")) {
2205
2205
  if (this.isEOF() || !Mt(this.char()))
2206
- return this.error(N.INVALID_TAG, D(c, this.clonePosition()));
2206
+ return this.error(L.INVALID_TAG, D(c, this.clonePosition()));
2207
2207
  var d = this.clonePosition(), u = this.parseTagName();
2208
- return i !== u ? this.error(N.UNMATCHED_CLOSING_TAG, D(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2208
+ return i !== u ? this.error(L.UNMATCHED_CLOSING_TAG, D(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2209
2209
  val: {
2210
2210
  type: z.tag,
2211
2211
  value: i,
@@ -2213,11 +2213,11 @@ var ni = (
2213
2213
  location: D(n, this.clonePosition())
2214
2214
  },
2215
2215
  err: null
2216
- } : this.error(N.INVALID_TAG, D(c, this.clonePosition())));
2216
+ } : this.error(L.INVALID_TAG, D(c, this.clonePosition())));
2217
2217
  } else
2218
- return this.error(N.UNCLOSED_TAG, D(n, this.clonePosition()));
2218
+ return this.error(L.UNCLOSED_TAG, D(n, this.clonePosition()));
2219
2219
  } else
2220
- return this.error(N.INVALID_TAG, D(n, this.clonePosition()));
2220
+ return this.error(L.INVALID_TAG, D(n, this.clonePosition()));
2221
2221
  }, e.prototype.parseTagName = function() {
2222
2222
  var t = this.offset();
2223
2223
  for (this.bump(); !this.isEOF() && oi(this.char()); )
@@ -2292,14 +2292,14 @@ var ni = (
2292
2292
  }, e.prototype.parseArgument = function(t, r) {
2293
2293
  var n = this.clonePosition();
2294
2294
  if (this.bump(), this.bumpSpace(), this.isEOF())
2295
- return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
2295
+ return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
2296
2296
  if (this.char() === 125)
2297
- return this.bump(), this.error(N.EMPTY_ARGUMENT, D(n, this.clonePosition()));
2297
+ return this.bump(), this.error(L.EMPTY_ARGUMENT, D(n, this.clonePosition()));
2298
2298
  var i = this.parseIdentifierIfPossible().value;
2299
2299
  if (!i)
2300
- return this.error(N.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
2300
+ return this.error(L.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
2301
2301
  if (this.bumpSpace(), this.isEOF())
2302
- return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
2302
+ return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
2303
2303
  switch (this.char()) {
2304
2304
  case 125:
2305
2305
  return this.bump(), {
@@ -2312,9 +2312,9 @@ var ni = (
2312
2312
  err: null
2313
2313
  };
2314
2314
  case 44:
2315
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2315
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2316
2316
  default:
2317
- return this.error(N.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
2317
+ return this.error(L.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
2318
2318
  }
2319
2319
  }, e.prototype.parseIdentifierIfPossible = function() {
2320
2320
  var t = this.clonePosition(), r = this.offset(), n = Pt(this.message, r), i = r + n.length;
@@ -2325,7 +2325,7 @@ var ni = (
2325
2325
  var o, f = this.clonePosition(), c = this.parseIdentifierIfPossible().value, d = this.clonePosition();
2326
2326
  switch (c) {
2327
2327
  case "":
2328
- return this.error(N.EXPECT_ARGUMENT_TYPE, D(f, d));
2328
+ return this.error(L.EXPECT_ARGUMENT_TYPE, D(f, d));
2329
2329
  case "number":
2330
2330
  case "date":
2331
2331
  case "time": {
@@ -2338,7 +2338,7 @@ var ni = (
2338
2338
  return g;
2339
2339
  var v = ri(g.val);
2340
2340
  if (v.length === 0)
2341
- return this.error(N.EXPECT_ARGUMENT_STYLE, D(this.clonePosition(), this.clonePosition()));
2341
+ return this.error(L.EXPECT_ARGUMENT_STYLE, D(this.clonePosition(), this.clonePosition()));
2342
2342
  var S = D(l, this.clonePosition());
2343
2343
  u = { style: v, styleLocation: S };
2344
2344
  }
@@ -2356,7 +2356,7 @@ var ni = (
2356
2356
  };
2357
2357
  } else {
2358
2358
  if (C.length === 0)
2359
- return this.error(N.EXPECT_DATE_TIME_SKELETON, x);
2359
+ return this.error(L.EXPECT_DATE_TIME_SKELETON, x);
2360
2360
  var B = C;
2361
2361
  this.locale && (B = Qn(C, this.locale));
2362
2362
  var v = {
@@ -2384,16 +2384,16 @@ var ni = (
2384
2384
  case "plural":
2385
2385
  case "selectordinal":
2386
2386
  case "select": {
2387
- var L = this.clonePosition();
2387
+ var N = this.clonePosition();
2388
2388
  if (this.bumpSpace(), !this.bumpIf(","))
2389
- return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS, D(L, k({}, L)));
2389
+ return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS, D(N, k({}, N)));
2390
2390
  this.bumpSpace();
2391
2391
  var P = this.parseIdentifierIfPossible(), T = 0;
2392
2392
  if (c !== "select" && P.value === "offset") {
2393
2393
  if (!this.bumpIf(":"))
2394
- return this.error(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, D(this.clonePosition(), this.clonePosition()));
2394
+ return this.error(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, D(this.clonePosition(), this.clonePosition()));
2395
2395
  this.bumpSpace();
2396
- var g = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2396
+ var g = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2397
2397
  if (g.err)
2398
2398
  return g;
2399
2399
  this.bumpSpace(), P = this.parseIdentifierIfPossible(), T = g.val;
@@ -2426,10 +2426,10 @@ var ni = (
2426
2426
  };
2427
2427
  }
2428
2428
  default:
2429
- return this.error(N.INVALID_ARGUMENT_TYPE, D(f, d));
2429
+ return this.error(L.INVALID_ARGUMENT_TYPE, D(f, d));
2430
2430
  }
2431
2431
  }, e.prototype.tryParseArgumentClose = function(t) {
2432
- return this.isEOF() || this.char() !== 125 ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, D(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2432
+ return this.isEOF() || this.char() !== 125 ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2433
2433
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2434
2434
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2435
2435
  var n = this.char();
@@ -2438,7 +2438,7 @@ var ni = (
2438
2438
  this.bump();
2439
2439
  var i = this.clonePosition();
2440
2440
  if (!this.bumpUntil("'"))
2441
- return this.error(N.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, D(i, this.clonePosition()));
2441
+ return this.error(L.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, D(i, this.clonePosition()));
2442
2442
  this.bump();
2443
2443
  break;
2444
2444
  }
@@ -2470,7 +2470,7 @@ var ni = (
2470
2470
  try {
2471
2471
  n = kn(t);
2472
2472
  } catch (i) {
2473
- return this.error(N.INVALID_NUMBER_SKELETON, r);
2473
+ return this.error(L.INVALID_NUMBER_SKELETON, r);
2474
2474
  }
2475
2475
  return {
2476
2476
  val: {
@@ -2486,7 +2486,7 @@ var ni = (
2486
2486
  if (u.length === 0) {
2487
2487
  var g = this.clonePosition();
2488
2488
  if (r !== "select" && this.bumpIf("=")) {
2489
- var v = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_SELECTOR, N.INVALID_PLURAL_ARGUMENT_SELECTOR);
2489
+ var v = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR, L.INVALID_PLURAL_ARGUMENT_SELECTOR);
2490
2490
  if (v.err)
2491
2491
  return v;
2492
2492
  l = D(g, this.clonePosition()), u = this.message.slice(g.offset, this.offset());
@@ -2494,11 +2494,11 @@ var ni = (
2494
2494
  break;
2495
2495
  }
2496
2496
  if (d.has(u))
2497
- return this.error(r === "select" ? N.DUPLICATE_SELECT_ARGUMENT_SELECTOR : N.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2497
+ return this.error(r === "select" ? L.DUPLICATE_SELECT_ARGUMENT_SELECTOR : L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2498
2498
  u === "other" && (f = !0), this.bumpSpace();
2499
2499
  var S = this.clonePosition();
2500
2500
  if (!this.bumpIf("{"))
2501
- return this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : N.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, D(this.clonePosition(), this.clonePosition()));
2501
+ return this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, D(this.clonePosition(), this.clonePosition()));
2502
2502
  var M = this.parseMessage(t + 1, r, n);
2503
2503
  if (M.err)
2504
2504
  return M;
@@ -2513,7 +2513,7 @@ var ni = (
2513
2513
  }
2514
2514
  ]), d.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2515
2515
  }
2516
- 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 };
2516
+ return c.length === 0 ? this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, D(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(L.MISSING_OTHER_CLAUSE, D(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
2517
2517
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2518
2518
  var n = 1, i = this.clonePosition();
2519
2519
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2611,14 +2611,14 @@ function kt(e) {
2611
2611
  if (delete t.location, Tr(t) || Hr(t))
2612
2612
  for (var r in t.options)
2613
2613
  delete t.options[r].location, kt(t.options[r].value);
2614
- else Ir(t) && Rr(t.style) || (xr(t) || Br(t)) && Nt(t.style) ? delete t.style.location : Cr(t) && kt(t.children);
2614
+ else Ir(t) && Rr(t.style) || (xr(t) || Br(t)) && Lt(t.style) ? delete t.style.location : Cr(t) && kt(t.children);
2615
2615
  });
2616
2616
  }
2617
2617
  function si(e, t) {
2618
2618
  t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2619
2619
  var r = new ni(e, t).parse();
2620
2620
  if (r.err) {
2621
- var n = SyntaxError(N[r.err.kind]);
2621
+ var n = SyntaxError(L[r.err.kind]);
2622
2622
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2623
2623
  }
2624
2624
  return t != null && t.captureLocation || kt(r.val), r.val;
@@ -2696,7 +2696,7 @@ function st(e, t, r, n, i, o, f) {
2696
2696
  });
2697
2697
  continue;
2698
2698
  }
2699
- if (Ln(l)) {
2699
+ if (Nn(l)) {
2700
2700
  typeof o == "number" && c.push({
2701
2701
  type: ue.literal,
2702
2702
  value: r.getNumberFormat(t).format(o)
@@ -2707,7 +2707,7 @@ function st(e, t, r, n, i, o, f) {
2707
2707
  if (!(i && g in i))
2708
2708
  throw new li(g, f);
2709
2709
  var v = i[g];
2710
- if (Nn(l)) {
2710
+ if (Ln(l)) {
2711
2711
  (!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), c.push({
2712
2712
  type: typeof v == "string" ? ue.literal : ue.object,
2713
2713
  value: v
@@ -2715,7 +2715,7 @@ function st(e, t, r, n, i, o, f) {
2715
2715
  continue;
2716
2716
  }
2717
2717
  if (xr(l)) {
2718
- var S = typeof l.style == "string" ? n.date[l.style] : Nt(l.style) ? l.style.parsedOptions : void 0;
2718
+ var S = typeof l.style == "string" ? n.date[l.style] : Lt(l.style) ? l.style.parsedOptions : void 0;
2719
2719
  c.push({
2720
2720
  type: ue.literal,
2721
2721
  value: r.getDateTimeFormat(t, S).format(v)
@@ -2723,7 +2723,7 @@ function st(e, t, r, n, i, o, f) {
2723
2723
  continue;
2724
2724
  }
2725
2725
  if (Br(l)) {
2726
- var S = typeof l.style == "string" ? n.time[l.style] : Nt(l.style) ? l.style.parsedOptions : n.time.medium;
2726
+ var S = typeof l.style == "string" ? n.time[l.style] : Lt(l.style) ? l.style.parsedOptions : n.time.medium;
2727
2727
  c.push({
2728
2728
  type: ue.literal,
2729
2729
  value: r.getDateTimeFormat(t, S).format(v)
@@ -2753,25 +2753,25 @@ function st(e, t, r, n, i, o, f) {
2753
2753
  }));
2754
2754
  }
2755
2755
  if (Tr(l)) {
2756
- var L = l.options[v] || l.options.other;
2757
- if (!L)
2756
+ var N = l.options[v] || l.options.other;
2757
+ if (!N)
2758
2758
  throw new ir(l.value, v, Object.keys(l.options), f);
2759
- c.push.apply(c, st(L.value, t, r, n, i));
2759
+ c.push.apply(c, st(N.value, t, r, n, i));
2760
2760
  continue;
2761
2761
  }
2762
2762
  if (Hr(l)) {
2763
- var L = l.options["=".concat(v)];
2764
- if (!L) {
2763
+ var N = l.options["=".concat(v)];
2764
+ if (!N) {
2765
2765
  if (!Intl.PluralRules)
2766
2766
  throw new dt(`Intl.PluralRules is not available in this environment.
2767
2767
  Try polyfilling it using "@formatjs/intl-pluralrules"
2768
2768
  `, ke.MISSING_INTL_API, f);
2769
2769
  var P = r.getPluralRules(t, { type: l.pluralType }).select(v - (l.offset || 0));
2770
- L = l.options[P] || l.options.other;
2770
+ N = l.options[P] || l.options.other;
2771
2771
  }
2772
- if (!L)
2772
+ if (!N)
2773
2773
  throw new ir(l.value, v, Object.keys(l.options), f);
2774
- c.push.apply(c, st(L.value, t, r, n, i, v - (l.offset || 0)));
2774
+ c.push.apply(c, st(N.value, t, r, n, i, v - (l.offset || 0)));
2775
2775
  continue;
2776
2776
  }
2777
2777
  }
@@ -3092,14 +3092,14 @@ function Ue() {
3092
3092
  return Ti;
3093
3093
  }
3094
3094
  const Ct = ft(!1);
3095
- 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) => {
3095
+ 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, Li = (e, t) => {
3096
3096
  for (var r in t || (t = {}))
3097
3097
  Si.call(t, r) && ar(e, r, t[r]);
3098
3098
  if (or)
3099
3099
  for (var r of or(t))
3100
3100
  Oi.call(t, r) && ar(e, r, t[r]);
3101
3101
  return e;
3102
- }, Li = (e, t) => Ci(e, Ri(t));
3102
+ }, Ni = (e, t) => Ci(e, Ri(t));
3103
3103
  let Gt;
3104
3104
  const lt = ft(null);
3105
3105
  function sr(e) {
@@ -3129,7 +3129,7 @@ const Di = (e) => {
3129
3129
  });
3130
3130
  }
3131
3131
  return lt.set(e);
3132
- }, Te = Li(Ni({}, lt), {
3132
+ }, Te = Ni(Li({}, lt), {
3133
3133
  set: Di
3134
3134
  }), At = (e) => {
3135
3135
  const t = /* @__PURE__ */ Object.create(null);
@@ -3277,6 +3277,9 @@ const hr = {
3277
3277
  },
3278
3278
  hu: {
3279
3279
  loading: "Betöltés"
3280
+ },
3281
+ "en-us": {
3282
+ loading: "Loading"
3280
3283
  }
3281
3284
  };
3282
3285
  var Ft = { exports: {} };
@@ -3361,16 +3364,16 @@ var Ft = { exports: {} };
3361
3364
  return !1;
3362
3365
  };
3363
3366
  (S == null || M == null || !U()) && (S = B);
3364
- var L = function() {
3367
+ var N = function() {
3365
3368
  };
3366
3369
  function P(a) {
3367
- 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;
3370
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = N, this.onload = N, this.onerror = N, this.onreadystatechange = N, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = N;
3368
3371
  }
3369
3372
  P.prototype.open = function(a, p) {
3370
3373
  this._abort(!0);
3371
3374
  var b = this, A = this._xhr, w = 1, y = 0;
3372
3375
  this._abort = function(m) {
3373
- 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;
3376
+ b._sendTimeout !== 0 && (i(b._sendTimeout), b._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, A.onload = N, A.onerror = N, A.onabort = N, A.onprogress = N, A.onreadystatechange = N, A.abort(), y !== 0 && (i(y), y = 0), m || (b.readyState = 4, b.onabort(null), b.onreadystatechange())), w = 0;
3374
3377
  };
3375
3378
  var R = function() {
3376
3379
  if (w === 1) {
@@ -3397,7 +3400,7 @@ var Ft = { exports: {} };
3397
3400
  }
3398
3401
  }, O = function(m, I) {
3399
3402
  if ((I == null || I.preventDefault == null) && (I = {
3400
- preventDefault: L
3403
+ preventDefault: N
3401
3404
  }), J(), w === 1 || w === 2 || w === 3) {
3402
3405
  if (w = 4, y !== 0 && (i(y), y = 0), b.readyState = 4, m === "load")
3403
3406
  b.onload(I);
@@ -3606,7 +3609,7 @@ var Ft = { exports: {} };
3606
3609
  var gt = g != null && v != null && "body" in v.prototype;
3607
3610
  function vt(a, p, b) {
3608
3611
  p = String(p);
3609
- 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) {
3612
+ 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 = $, Le = "", rt = "", we = "", nt = "", ae = te, Et = 0, Ce = 0, Jr = function(ee, W, ce, de) {
3610
3613
  if (Ae === me)
3611
3614
  if (ee === 200 && ce != null && Ke.test(ce)) {
3612
3615
  Ae = Ee, F = Date.now(), O = y, a.readyState = Ee;
@@ -3642,22 +3645,22 @@ var Ft = { exports: {} };
3642
3645
  if (ae !== te) {
3643
3646
  ae === Oe && (Ce = re + 1);
3644
3647
  var Ie = se.slice(Et, Ce - 1), xe = se.slice(Ce + (Ce < re && se.charCodeAt(Ce) === 32 ? 1 : 0), re);
3645
- Ie === "data" ? (Ne += `
3646
- `, 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() {
3648
+ Ie === "data" ? (Le += `
3649
+ `, Le += 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() {
3647
3650
  je();
3648
3651
  }, R)));
3649
3652
  }
3650
3653
  if (ae === te) {
3651
- if (Ne !== "") {
3654
+ if (Le !== "") {
3652
3655
  J = rt, we === "" && (we = "message");
3653
- var Le = new V(we, {
3654
- data: Ne.slice(1),
3656
+ var Ne = new V(we, {
3657
+ data: Le.slice(1),
3655
3658
  lastEventId: rt
3656
3659
  });
3657
- 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)
3660
+ if (a.dispatchEvent(Ne), we === "open" ? be(a, a.onopen, Ne) : we === "message" ? be(a, a.onmessage, Ne) : we === "error" && be(a, a.onerror, Ne), Ae === pe)
3658
3661
  return;
3659
3662
  }
3660
- Ne = "", we = "";
3663
+ Le = "", we = "";
3661
3664
  }
3662
3665
  ae = de === 13 ? Se : te;
3663
3666
  } else
@@ -3688,12 +3691,12 @@ var Ft = { exports: {} };
3688
3691
  }
3689
3692
  F = !1, s = 0, ne = n(function() {
3690
3693
  je();
3691
- }, R), Ae = me, Ne = "", we = "", rt = J, nt = "", Et = 0, Ce = 0, ae = te;
3694
+ }, R), Ae = me, Le = "", we = "", rt = J, nt = "", Et = 0, Ce = 0, ae = te;
3692
3695
  var W = p;
3693
3696
  if (p.slice(0, 5) !== "data:" && p.slice(0, 5) !== "blob:" && J !== "") {
3694
3697
  var ce = p.indexOf("?");
3695
- W = ce === -1 ? p : p.slice(0, ce + 1) + p.slice(ce + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Le) {
3696
- return Le === w ? "" : xe;
3698
+ W = ce === -1 ? p : p.slice(0, ce + 1) + p.slice(ce + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Ne) {
3699
+ return Ne === w ? "" : xe;
3697
3700
  }), W += (p.indexOf("?") === -1 ? "?" : "&") + w + "=" + encodeURIComponent(J);
3698
3701
  }
3699
3702
  var de = a.withCredentials, se = {};
@@ -3799,7 +3802,7 @@ function dr(e) {
3799
3802
  let t, r, n, i = (
3800
3803
  /*currentTournament*/
3801
3804
  e[7].name + ""
3802
- ), o, f, c, d, u, l, g, v, S, M, x, C, B, U, L, P = Vt(
3805
+ ), o, f, c, d, u, l, g, v, S, M, x, C, B, U, N, P = Vt(
3803
3806
  /*tournamentList*/
3804
3807
  e[4]
3805
3808
  ), T = [];
@@ -3831,7 +3834,7 @@ function dr(e) {
3831
3834
  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);
3832
3835
  for (let Q = 0; Q < T.length; Q += 1)
3833
3836
  T[Q] && T[Q].m(x, null);
3834
- e[27](t), B = !0, U || (L = at(
3837
+ e[27](t), B = !0, U || (N = at(
3835
3838
  n,
3836
3839
  "click",
3837
3840
  /*click_handler_1*/
@@ -3888,7 +3891,7 @@ function dr(e) {
3888
3891
  E && (C || (C = Zt(t, qt, { delay: 250, duration: 300 }, !1)), C.run(0)), B = !1;
3889
3892
  },
3890
3893
  d(E) {
3891
- E && qe(t), on(T, E), e[27](null), E && C && C.end(), U = !1, L();
3894
+ E && qe(t), on(T, E), e[27](null), E && C && C.end(), U = !1, N();
3892
3895
  }
3893
3896
  };
3894
3897
  }
@@ -3929,7 +3932,7 @@ function Ar(e) {
3929
3932
  };
3930
3933
  }
3931
3934
  function eo(e) {
3932
- 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*/
3935
+ let t, r, n, i, o, f, c, d, u, l, g, v, S, M, x, C, B, U, N, P, T, E, _, Q, ie, fe, Y, G = !/*tournamentList*/
3933
3936
  e[4] && cr(e), V = (
3934
3937
  /*tournamentList*/
3935
3938
  e[4] && /*tournamentList*/
@@ -3940,7 +3943,7 @@ function eo(e) {
3940
3943
  );
3941
3944
  return {
3942
3945
  c() {
3943
- 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*/
3946
+ 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"), N = 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*/
3944
3947
  (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(
3945
3948
  U,
3946
3949
  "width",
@@ -3971,7 +3974,7 @@ function eo(e) {
3971
3974
  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");
3972
3975
  },
3973
3976
  m(j, $) {
3974
- 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 = [
3977
+ 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, N), H(N, P), H(P, T), H(N, E), H(x, Q), H(x, ie), e[30](x), e[32](t), fe || (Y = [
3975
3978
  at(
3976
3979
  n,
3977
3980
  "click",
@@ -4052,7 +4055,7 @@ let Rt = 1, St = 300;
4052
4055
  function to(e, t, r) {
4053
4056
  let n, i;
4054
4057
  en(e, Zi, (s) => r(13, i = s));
4055
- 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;
4058
+ 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, N = !0, P = !1, T, E, _ = null, Q = null, ie, fe = !1, Y, G;
4056
4059
  qi({ withLocale: "en", translations: {} });
4057
4060
  const V = () => {
4058
4061
  fetch(M).then((m) => m.json()).then((m) => {
@@ -4087,7 +4090,7 @@ function to(e, t, r) {
4087
4090
  Number(u) * 1e3
4088
4091
  );
4089
4092
  }, pe = (s) => {
4090
- te.curTournament.hide(), Ee(), s > 0 && P && Ye(), !(s > 0 && P || s < 0 && L) && setTimeout(
4093
+ te.curTournament.hide(), Ee(), s > 0 && P && Ye(), !(s > 0 && P || s < 0 && N) && setTimeout(
4091
4094
  () => {
4092
4095
  r(5, U = U + s), te.curTournament.show();
4093
4096
  },
@@ -4267,7 +4270,7 @@ function to(e, t, r) {
4267
4270
  8388608 && M && V(), e.$$.dirty[0] & /*tournamentList, currentTournamentIdx*/
4268
4271
  48 && r(7, B = C[U]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
4269
4272
  48 && r(9, P = U == C.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
4270
- 32 && r(8, L = U == 0);
4273
+ 32 && r(8, N = U == 0);
4271
4274
  }, [
4272
4275
  l,
4273
4276
  v,
@@ -4277,7 +4280,7 @@ function to(e, t, r) {
4277
4280
  U,
4278
4281
  E,
4279
4282
  B,
4280
- L,
4283
+ N,
4281
4284
  P,
4282
4285
  Y,
4283
4286
  G,
@@ -1,11 +1,11 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsRank-D3y9cpOQ.cjs");function Lt(e,{delay:t=0,duration:n=400,easing:r=i.identity}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:o=>`opacity: ${o*a}`}}const Ce=[];function Cn(e,t){return{subscribe:et(e,t).subscribe}}function et(e,t=i.noop){let n;const r=new Set;function a(c){if(i.safe_not_equal(e,c)&&(e=c,n)){const d=!Ce.length;for(const l of r)l[1](),Ce.push(l,e);if(d){for(let l=0;l<Ce.length;l+=2)Ce[l][0](Ce[l+1]);Ce.length=0}}}function o(c){a(c(e))}function f(c,d=i.noop){const l=[c,d];return r.add(l),r.size===1&&(n=t(a,o)||i.noop),c(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:o,subscribe:f}}function Le(e,t,n){const r=!Array.isArray(e),a=r?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Cn(n,(f,c)=>{let d=!1;const l=[];let h=0,g=i.noop;const v=()=>{if(h)return;g();const _=t(r?l[0]:l,f,c);o?f(_):g=i.is_function(_)?_:i.noop},R=a.map((_,x)=>i.subscribe(_,H=>{l[x]=H,h&=~(1<<x),d&&v()},()=>{h|=1<<x}));return d=!0,v(),function(){i.run_all(R),g(),d=!1}})}var Rn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var On=function(t){return Nn(t)&&!Ln(t)};function Nn(e){return!!e&&typeof e=="object"}function Ln(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Pn(e)}var Dn=typeof Symbol=="function"&&Symbol.for,_n=Dn?Symbol.for("react.element"):60103;function Pn(e){return e.$$typeof===_n}function Mn(e){return Array.isArray(e)?[]:{}}function Ue(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Re(Mn(e),e,t):e}function kn(e,t,n){return e.concat(t).map(function(r){return Ue(r,n)})}function Un(e,t){if(!t.customMerge)return Re;var n=t.customMerge(e);return typeof n=="function"?n:Re}function Gn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Dt(e){return Object.keys(e).concat(Gn(e))}function en(e,t){try{return t in e}catch(n){return!1}}function Fn(e,t){return en(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Qn(e,t,n){var r={};return n.isMergeableObject(e)&&Dt(e).forEach(function(a){r[a]=Ue(e[a],n)}),Dt(t).forEach(function(a){Fn(e,a)||(en(e,a)&&n.isMergeableObject(t[a])?r[a]=Un(a,n)(e[a],t[a],n):r[a]=Ue(t[a],n))}),r}function Re(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||kn,n.isMergeableObject=n.isMergeableObject||On,n.cloneUnlessOtherwiseSpecified=Ue;var r=Array.isArray(t),a=Array.isArray(e),o=r===a;return o?r?n.arrayMerge(e,t,n):Qn(e,t,n):Ue(t,n)}Re.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Re(r,a,n)},{})};var jn=Re,Jn=jn;const Xn=Sn(Jn);var vt=function(e,t){return vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},vt(e,t)};function tt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vt(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var P=function(){return P=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},P.apply(this,arguments)};function zn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function ht(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function ft(e,t){var n=t&&t.cache?t.cache:Kn,r=t&&t.serializer?t.serializer:Wn,a=t&&t.strategy?t.strategy:Zn;return a(e,{cache:n,serializer:r})}function Vn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function tn(e,t,n,r){var a=Vn(r)?r:n(r),o=t.get(a);return typeof o=="undefined"&&(o=e.call(this,r),t.set(a,o)),o}function nn(e,t,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),o=t.get(a);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(a,o)),o}function Ct(e,t,n,r,a){return n.bind(t,e,r,a)}function Zn(e,t){var n=e.length===1?tn:nn;return Ct(e,this,n,t.cache.create(),t.serializer)}function qn(e,t){return Ct(e,this,nn,t.cache.create(),t.serializer)}function Yn(e,t){return Ct(e,this,tn,t.cache.create(),t.serializer)}var Wn=function(){return JSON.stringify(arguments)};function Rt(){this.cache=Object.create(null)}Rt.prototype.get=function(e){return this.cache[e]};Rt.prototype.set=function(e,t){this.cache[e]=t};var Kn={create:function(){return new Rt}},ct={variadic:qn,monadic:Yn},O;(function(e){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"})(O||(O={}));var J;(function(e){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"})(J||(J={}));var Se;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Se||(Se={}));function _t(e){return e.type===J.literal}function $n(e){return e.type===J.argument}function rn(e){return e.type===J.number}function an(e){return e.type===J.date}function on(e){return e.type===J.time}function sn(e){return e.type===J.select}function un(e){return e.type===J.plural}function er(e){return e.type===J.pound}function ln(e){return e.type===J.tag}function hn(e){return!!(e&&typeof e=="object"&&e.type===Se.number)}function Et(e){return!!(e&&typeof e=="object"&&e.type===Se.dateTime)}var fn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tr=/(?:[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;function nr(e){var t={};return e.replace(tr,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var rr=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ir(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(rr).filter(function(v){return v.length>0}),n=[],r=0,a=t;r<a.length;r++){var o=a[r],f=o.split("/");if(f.length===0)throw new Error("Invalid number skeleton");for(var c=f[0],d=f.slice(1),l=0,h=d;l<h.length;l++){var g=h[l];if(g.length===0)throw new Error("Invalid number skeleton")}n.push({stem:c,options:d})}return n}function ar(e){return e.replace(/^(.*?)-/,"")}var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,cn=/^(@+)?(\+|#+)?[rs]?$/g,or=/(\*)(0+)|(#+)(0+)|(0+)/g,dn=/^(0+)$/;function Mt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(cn,function(n,r,a){return typeof a!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):a==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof a=="string"?a.length:0)),""}),t}function pn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function sr(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!dn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function kt(e){var t={},n=pn(e);return n||t}function ur(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ar(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=P(P(P({},t),{notation:"scientific"}),a.options.reduce(function(d,l){return P(P({},d),kt(l))},{}));continue;case"engineering":t=P(P(P({},t),{notation:"engineering"}),a.options.reduce(function(d,l){return P(P({},d),kt(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(or,function(d,l,h,g,v,R){if(l)t.minimumIntegerDigits=h.length;else{if(g&&v)throw new Error("We currently do not support maximum integer digits");if(R)throw new Error("We currently do not support exact integer digits")}return""});continue}if(dn.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(Pt.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(Pt,function(d,l,h,g,v,R){return h==="*"?t.minimumFractionDigits=l.length:g&&g[0]==="#"?t.maximumFractionDigits=g.length:v&&R?(t.minimumFractionDigits=v.length,t.maximumFractionDigits=v.length+R.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=a.options[0];o==="w"?t=P(P({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=P(P({},t),Mt(o)));continue}if(cn.test(a.stem)){t=P(P({},t),Mt(a.stem));continue}var f=pn(a.stem);f&&(t=P(P({},t),f));var c=sr(a.stem);c&&(t=P(P({},t),c))}return t}var qe={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function lr(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if(a==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===a;)o++,r++;var f=1+(o&1),c=o<2?1:3+(o>>1),d="a",l=hr(t);for((l=="H"||l=="k")&&(c=0);c-- >0;)n+=d;for(;f-- >0;)n=l+n}else a==="J"?n+="H":n+=a}return n}function hr(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var a=qe[r||""]||qe[n||""]||qe["".concat(n,"-001")]||qe["001"];return a[0]}var dt,fr=new RegExp("^".concat(fn.source,"*")),cr=new RegExp("".concat(fn.source,"*$"));function L(e,t){return{start:e,end:t}}var dr=!!String.prototype.startsWith&&"_a".startsWith("a",1),pr=!!String.fromCodePoint,mr=!!Object.fromEntries,Ar=!!String.prototype.codePointAt,gr=!!String.prototype.trimStart,vr=!!String.prototype.trimEnd,Er=!!Number.isSafeInteger,br=Er?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},bt=!0;try{var yr=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bt=((dt=yr.exec("a"))===null||dt===void 0?void 0:dt[0])==="a"}catch(e){bt=!1}var Ut=dr?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},yt=pr?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",a=t.length,o=0,f;a>o;){if(f=t[o++],f>1114111)throw RangeError(f+" is not a valid code point");r+=f<65536?String.fromCharCode(f):String.fromCharCode(((f-=65536)>>10)+55296,f%1024+56320)}return r},Gt=mr?Object.fromEntries:function(t){for(var n={},r=0,a=t;r<a.length;r++){var o=a[r],f=o[0],c=o[1];n[f]=c}return n},mn=Ar?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var a=t.charCodeAt(n),o;return a<55296||a>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536}},wr=gr?function(t){return t.trimStart()}:function(t){return t.replace(fr,"")},Ir=vr?function(t){return t.trimEnd()}:function(t){return t.replace(cr,"")};function An(e,t){return new RegExp(e,t)}var wt;if(bt){var Ft=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wt=function(t,n){var r;Ft.lastIndex=n;var a=Ft.exec(t);return(r=a[1])!==null&&r!==void 0?r:""}}else wt=function(t,n){for(var r=[];;){var a=mn(t,n);if(a===void 0||gn(a)||Hr(a))break;r.push(a),n+=a>=65536?2:1}return yt.apply(void 0,r)};var xr=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var a=[];!this.isEOF();){var o=this.char();if(o===123){var f=this.parseArgument(t,r);if(f.err)return f;a.push(f.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var c=this.clonePosition();this.bump(),a.push({type:J.pound,location:L(c,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(O.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&It(this.peek()||0)){var f=this.parseTag(t,n);if(f.err)return f;a.push(f.val)}else{var f=this.parseLiteral(t,n);if(f.err)return f;a.push(f.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(a,"/>"),location:L(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var f=o.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!It(this.char()))return this.error(O.INVALID_TAG,L(c,this.clonePosition()));var d=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(O.UNMATCHED_CLOSING_TAG,L(d,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:a,children:f,location:L(r,this.clonePosition())},err:null}:this.error(O.INVALID_TAG,L(c,this.clonePosition())))}else return this.error(O.UNCLOSED_TAG,L(r,this.clonePosition()))}else return this.error(O.INVALID_TAG,L(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Tr(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),a="";;){var o=this.tryParseQuote(n);if(o){a+=o;continue}var f=this.tryParseUnquoted(t,n);if(f){a+=f;continue}var c=this.tryParseLeftAngleBracket();if(c){a+=c;continue}break}var d=L(r,this.clonePosition());return{val:{type:J.literal,value:a,location:d},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Br(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return yt.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),yt(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(O.EMPTY_ARGUMENT,L(r,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(O.MALFORMED_ARGUMENT,L(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:a,location:L(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(r,this.clonePosition())):this.parseArgumentOptions(t,n,a,r);default:return this.error(O.MALFORMED_ARGUMENT,L(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=wt(this.message,n),a=n+r.length;this.bumpTo(a);var o=this.clonePosition(),f=L(t,o);return{value:r,location:f}},e.prototype.parseArgumentOptions=function(t,n,r,a){var o,f=this.clonePosition(),c=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(c){case"":return this.error(O.EXPECT_ARGUMENT_TYPE,L(f,d));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),g=this.parseSimpleArgStyleIfPossible();if(g.err)return g;var v=Ir(g.val);if(v.length===0)return this.error(O.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));var R=L(h,this.clonePosition());l={style:v,styleLocation:R}}var _=this.tryParseArgumentClose(a);if(_.err)return _;var x=L(a,this.clonePosition());if(l&&Ut(l==null?void 0:l.style,"::",0)){var H=wr(l.style.slice(2));if(c==="number"){var g=this.parseNumberSkeletonFromString(H,l.styleLocation);return g.err?g:{val:{type:J.number,value:r,location:x,style:g.val},err:null}}else{if(H.length===0)return this.error(O.EXPECT_DATE_TIME_SKELETON,x);var B=H;this.locale&&(B=lr(H,this.locale));var v={type:Se.dateTime,pattern:B,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?nr(B):{}},M=c==="date"?J.date:J.time;return{val:{type:M,value:r,location:x,style:v},err:null}}}return{val:{type:c==="number"?J.number:c==="date"?J.date:J.time,value:r,location:x,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS,L(N,P({},N)));this.bumpSpace();var D=this.parseIdentifierIfPossible(),T=0;if(c!=="select"&&D.value==="offset"){if(!this.bumpIf(":"))return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));this.bumpSpace();var g=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(g.err)return g;this.bumpSpace(),D=this.parseIdentifierIfPossible(),T=g.val}var E=this.tryParsePluralOrSelectOptions(t,c,n,D);if(E.err)return E;var _=this.tryParseArgumentClose(a);if(_.err)return _;var G=L(a,this.clonePosition());return c==="select"?{val:{type:J.select,value:r,options:Gt(E.val),location:G},err:null}:{val:{type:J.plural,value:r,options:Gt(E.val),offset:T,pluralType:c==="plural"?"cardinal":"ordinal",location:G},err:null}}default:return this.error(O.INVALID_ARGUMENT_TYPE,L(f,d))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=ir(t)}catch(a){return this.error(O.INVALID_NUMBER_SKELETON,n)}return{val:{type:Se.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?ur(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,a){for(var o,f=!1,c=[],d=new Set,l=a.value,h=a.location;;){if(l.length===0){var g=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var v=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR,O.INVALID_PLURAL_ARGUMENT_SELECTOR);if(v.err)return v;h=L(g,this.clonePosition()),l=this.message.slice(g.offset,this.offset())}else break}if(d.has(l))return this.error(n==="select"?O.DUPLICATE_SELECT_ARGUMENT_SELECTOR:O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(f=!0),this.bumpSpace();var R=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,L(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,n,r);if(_.err)return _;var x=this.tryParseArgumentClose(R);if(x.err)return x;c.push([l,{value:_.val,location:L(R,this.clonePosition())}]),d.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return c.length===0?this.error(n==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR:O.EXPECT_PLURAL_ARGUMENT_SELECTOR,L(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!f?this.error(O.MISSING_OTHER_CLAUSE,L(this.clonePosition(),this.clonePosition())):{val:c,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,f=0;!this.isEOF();){var c=this.char();if(c>=48&&c<=57)o=!0,f=f*10+(c-48),this.bump();else break}var d=L(a,this.clonePosition());return o?(f*=r,br(f)?{val:f,err:null}:this.error(n,d)):this.error(t,d)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=mn(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();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)}},e.prototype.bumpIf=function(t){if(Ut(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&gn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function It(e){return e>=97&&e<=122||e>=65&&e<=90}function Br(e){return It(e)||e===47}function Tr(e){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}function gn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Hr(e){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}function xt(e){e.forEach(function(t){if(delete t.location,sn(t)||un(t))for(var n in t.options)delete t.options[n].location,xt(t.options[n].value);else rn(t)&&hn(t.style)||(an(t)||on(t))&&Et(t.style)?delete t.style.location:ln(t)&&xt(t.children)})}function Cr(e,t){t===void 0&&(t={}),t=P({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new xr(e,t).parse();if(n.err){var r=SyntaxError(O[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||xt(n.val),n.val}var Oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Oe||(Oe={}));var nt=function(e){tt(t,e);function t(n,r,a){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=a,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Qt=function(e){tt(t,e);function t(n,r,a,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Oe.INVALID_VALUE,o)||this}return t}(nt),Rr=function(e){tt(t,e);function t(n,r,a){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Oe.INVALID_VALUE,a)||this}return t}(nt),Sr=function(e){tt(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Oe.MISSING_VALUE,r)||this}return t}(nt),ae;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ae||(ae={}));function Or(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==ae.literal||n.type!==ae.literal?t.push(n):r.value+=n.value,t},[])}function Nr(e){return typeof e=="function"}function Ye(e,t,n,r,a,o,f){if(e.length===1&&_t(e[0]))return[{type:ae.literal,value:e[0].value}];for(var c=[],d=0,l=e;d<l.length;d++){var h=l[d];if(_t(h)){c.push({type:ae.literal,value:h.value});continue}if(er(h)){typeof o=="number"&&c.push({type:ae.literal,value:n.getNumberFormat(t).format(o)});continue}var g=h.value;if(!(a&&g in a))throw new Sr(g,f);var v=a[g];if($n(h)){(!v||typeof v=="string"||typeof v=="number")&&(v=typeof v=="string"||typeof v=="number"?String(v):""),c.push({type:typeof v=="string"?ae.literal:ae.object,value:v});continue}if(an(h)){var R=typeof h.style=="string"?r.date[h.style]:Et(h.style)?h.style.parsedOptions:void 0;c.push({type:ae.literal,value:n.getDateTimeFormat(t,R).format(v)});continue}if(on(h)){var R=typeof h.style=="string"?r.time[h.style]:Et(h.style)?h.style.parsedOptions:r.time.medium;c.push({type:ae.literal,value:n.getDateTimeFormat(t,R).format(v)});continue}if(rn(h)){var R=typeof h.style=="string"?r.number[h.style]:hn(h.style)?h.style.parsedOptions:void 0;R&&R.scale&&(v=v*(R.scale||1)),c.push({type:ae.literal,value:n.getNumberFormat(t,R).format(v)});continue}if(ln(h)){var _=h.children,x=h.value,H=a[x];if(!Nr(H))throw new Rr(x,"function",f);var B=Ye(_,t,n,r,a,o),M=H(B.map(function(T){return T.value}));Array.isArray(M)||(M=[M]),c.push.apply(c,M.map(function(T){return{type:typeof T=="string"?ae.literal:ae.object,value:T}}))}if(sn(h)){var N=h.options[v]||h.options.other;if(!N)throw new Qt(h.value,v,Object.keys(h.options),f);c.push.apply(c,Ye(N.value,t,n,r,a));continue}if(un(h)){var N=h.options["=".concat(v)];if(!N){if(!Intl.PluralRules)throw new nt(`Intl.PluralRules is not available in this environment.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsRank-D3y9cpOQ.cjs");function Nt(e,{delay:t=0,duration:n=400,easing:r=i.identity}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:o=>`opacity: ${o*a}`}}const Ce=[];function Cn(e,t){return{subscribe:et(e,t).subscribe}}function et(e,t=i.noop){let n;const r=new Set;function a(c){if(i.safe_not_equal(e,c)&&(e=c,n)){const d=!Ce.length;for(const l of r)l[1](),Ce.push(l,e);if(d){for(let l=0;l<Ce.length;l+=2)Ce[l][0](Ce[l+1]);Ce.length=0}}}function o(c){a(c(e))}function f(c,d=i.noop){const l=[c,d];return r.add(l),r.size===1&&(n=t(a,o)||i.noop),c(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:o,subscribe:f}}function Ne(e,t,n){const r=!Array.isArray(e),a=r?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Cn(n,(f,c)=>{let d=!1;const l=[];let h=0,g=i.noop;const v=()=>{if(h)return;g();const _=t(r?l[0]:l,f,c);o?f(_):g=i.is_function(_)?_:i.noop},R=a.map((_,x)=>i.subscribe(_,H=>{l[x]=H,h&=~(1<<x),d&&v()},()=>{h|=1<<x}));return d=!0,v(),function(){i.run_all(R),g(),d=!1}})}var Rn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var On=function(t){return Ln(t)&&!Nn(t)};function Ln(e){return!!e&&typeof e=="object"}function Nn(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Pn(e)}var Dn=typeof Symbol=="function"&&Symbol.for,_n=Dn?Symbol.for("react.element"):60103;function Pn(e){return e.$$typeof===_n}function Mn(e){return Array.isArray(e)?[]:{}}function Ue(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Re(Mn(e),e,t):e}function kn(e,t,n){return e.concat(t).map(function(r){return Ue(r,n)})}function Un(e,t){if(!t.customMerge)return Re;var n=t.customMerge(e);return typeof n=="function"?n:Re}function Gn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Dt(e){return Object.keys(e).concat(Gn(e))}function en(e,t){try{return t in e}catch(n){return!1}}function Fn(e,t){return en(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Qn(e,t,n){var r={};return n.isMergeableObject(e)&&Dt(e).forEach(function(a){r[a]=Ue(e[a],n)}),Dt(t).forEach(function(a){Fn(e,a)||(en(e,a)&&n.isMergeableObject(t[a])?r[a]=Un(a,n)(e[a],t[a],n):r[a]=Ue(t[a],n))}),r}function Re(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||kn,n.isMergeableObject=n.isMergeableObject||On,n.cloneUnlessOtherwiseSpecified=Ue;var r=Array.isArray(t),a=Array.isArray(e),o=r===a;return o?r?n.arrayMerge(e,t,n):Qn(e,t,n):Ue(t,n)}Re.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Re(r,a,n)},{})};var jn=Re,Jn=jn;const Xn=Sn(Jn);var vt=function(e,t){return vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},vt(e,t)};function tt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vt(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var P=function(){return P=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},P.apply(this,arguments)};function zn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function ht(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function ft(e,t){var n=t&&t.cache?t.cache:Kn,r=t&&t.serializer?t.serializer:Wn,a=t&&t.strategy?t.strategy:Zn;return a(e,{cache:n,serializer:r})}function Vn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function tn(e,t,n,r){var a=Vn(r)?r:n(r),o=t.get(a);return typeof o=="undefined"&&(o=e.call(this,r),t.set(a,o)),o}function nn(e,t,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),o=t.get(a);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(a,o)),o}function Ct(e,t,n,r,a){return n.bind(t,e,r,a)}function Zn(e,t){var n=e.length===1?tn:nn;return Ct(e,this,n,t.cache.create(),t.serializer)}function qn(e,t){return Ct(e,this,nn,t.cache.create(),t.serializer)}function Yn(e,t){return Ct(e,this,tn,t.cache.create(),t.serializer)}var Wn=function(){return JSON.stringify(arguments)};function Rt(){this.cache=Object.create(null)}Rt.prototype.get=function(e){return this.cache[e]};Rt.prototype.set=function(e,t){this.cache[e]=t};var Kn={create:function(){return new Rt}},ct={variadic:qn,monadic:Yn},O;(function(e){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"})(O||(O={}));var J;(function(e){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"})(J||(J={}));var Se;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Se||(Se={}));function _t(e){return e.type===J.literal}function $n(e){return e.type===J.argument}function rn(e){return e.type===J.number}function an(e){return e.type===J.date}function on(e){return e.type===J.time}function sn(e){return e.type===J.select}function un(e){return e.type===J.plural}function er(e){return e.type===J.pound}function ln(e){return e.type===J.tag}function hn(e){return!!(e&&typeof e=="object"&&e.type===Se.number)}function Et(e){return!!(e&&typeof e=="object"&&e.type===Se.dateTime)}var fn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tr=/(?:[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;function nr(e){var t={};return e.replace(tr,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var rr=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ir(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(rr).filter(function(v){return v.length>0}),n=[],r=0,a=t;r<a.length;r++){var o=a[r],f=o.split("/");if(f.length===0)throw new Error("Invalid number skeleton");for(var c=f[0],d=f.slice(1),l=0,h=d;l<h.length;l++){var g=h[l];if(g.length===0)throw new Error("Invalid number skeleton")}n.push({stem:c,options:d})}return n}function ar(e){return e.replace(/^(.*?)-/,"")}var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,cn=/^(@+)?(\+|#+)?[rs]?$/g,or=/(\*)(0+)|(#+)(0+)|(0+)/g,dn=/^(0+)$/;function Mt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(cn,function(n,r,a){return typeof a!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):a==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof a=="string"?a.length:0)),""}),t}function pn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function sr(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!dn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function kt(e){var t={},n=pn(e);return n||t}function ur(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ar(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=P(P(P({},t),{notation:"scientific"}),a.options.reduce(function(d,l){return P(P({},d),kt(l))},{}));continue;case"engineering":t=P(P(P({},t),{notation:"engineering"}),a.options.reduce(function(d,l){return P(P({},d),kt(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(or,function(d,l,h,g,v,R){if(l)t.minimumIntegerDigits=h.length;else{if(g&&v)throw new Error("We currently do not support maximum integer digits");if(R)throw new Error("We currently do not support exact integer digits")}return""});continue}if(dn.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(Pt.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(Pt,function(d,l,h,g,v,R){return h==="*"?t.minimumFractionDigits=l.length:g&&g[0]==="#"?t.maximumFractionDigits=g.length:v&&R?(t.minimumFractionDigits=v.length,t.maximumFractionDigits=v.length+R.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=a.options[0];o==="w"?t=P(P({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=P(P({},t),Mt(o)));continue}if(cn.test(a.stem)){t=P(P({},t),Mt(a.stem));continue}var f=pn(a.stem);f&&(t=P(P({},t),f));var c=sr(a.stem);c&&(t=P(P({},t),c))}return t}var qe={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function lr(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if(a==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===a;)o++,r++;var f=1+(o&1),c=o<2?1:3+(o>>1),d="a",l=hr(t);for((l=="H"||l=="k")&&(c=0);c-- >0;)n+=d;for(;f-- >0;)n=l+n}else a==="J"?n+="H":n+=a}return n}function hr(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var a=qe[r||""]||qe[n||""]||qe["".concat(n,"-001")]||qe["001"];return a[0]}var dt,fr=new RegExp("^".concat(fn.source,"*")),cr=new RegExp("".concat(fn.source,"*$"));function N(e,t){return{start:e,end:t}}var dr=!!String.prototype.startsWith&&"_a".startsWith("a",1),pr=!!String.fromCodePoint,mr=!!Object.fromEntries,Ar=!!String.prototype.codePointAt,gr=!!String.prototype.trimStart,vr=!!String.prototype.trimEnd,Er=!!Number.isSafeInteger,br=Er?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},bt=!0;try{var yr=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bt=((dt=yr.exec("a"))===null||dt===void 0?void 0:dt[0])==="a"}catch(e){bt=!1}var Ut=dr?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},yt=pr?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",a=t.length,o=0,f;a>o;){if(f=t[o++],f>1114111)throw RangeError(f+" is not a valid code point");r+=f<65536?String.fromCharCode(f):String.fromCharCode(((f-=65536)>>10)+55296,f%1024+56320)}return r},Gt=mr?Object.fromEntries:function(t){for(var n={},r=0,a=t;r<a.length;r++){var o=a[r],f=o[0],c=o[1];n[f]=c}return n},mn=Ar?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var a=t.charCodeAt(n),o;return a<55296||a>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536}},wr=gr?function(t){return t.trimStart()}:function(t){return t.replace(fr,"")},Ir=vr?function(t){return t.trimEnd()}:function(t){return t.replace(cr,"")};function An(e,t){return new RegExp(e,t)}var wt;if(bt){var Ft=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wt=function(t,n){var r;Ft.lastIndex=n;var a=Ft.exec(t);return(r=a[1])!==null&&r!==void 0?r:""}}else wt=function(t,n){for(var r=[];;){var a=mn(t,n);if(a===void 0||gn(a)||Hr(a))break;r.push(a),n+=a>=65536?2:1}return yt.apply(void 0,r)};var xr=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var a=[];!this.isEOF();){var o=this.char();if(o===123){var f=this.parseArgument(t,r);if(f.err)return f;a.push(f.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var c=this.clonePosition();this.bump(),a.push({type:J.pound,location:N(c,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(O.UNMATCHED_CLOSING_TAG,N(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&It(this.peek()||0)){var f=this.parseTag(t,n);if(f.err)return f;a.push(f.val)}else{var f=this.parseLiteral(t,n);if(f.err)return f;a.push(f.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(a,"/>"),location:N(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var f=o.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!It(this.char()))return this.error(O.INVALID_TAG,N(c,this.clonePosition()));var d=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(O.UNMATCHED_CLOSING_TAG,N(d,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:a,children:f,location:N(r,this.clonePosition())},err:null}:this.error(O.INVALID_TAG,N(c,this.clonePosition())))}else return this.error(O.UNCLOSED_TAG,N(r,this.clonePosition()))}else return this.error(O.INVALID_TAG,N(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Tr(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),a="";;){var o=this.tryParseQuote(n);if(o){a+=o;continue}var f=this.tryParseUnquoted(t,n);if(f){a+=f;continue}var c=this.tryParseLeftAngleBracket();if(c){a+=c;continue}break}var d=N(r,this.clonePosition());return{val:{type:J.literal,value:a,location:d},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Br(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return yt.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),yt(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,N(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(O.EMPTY_ARGUMENT,N(r,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(O.MALFORMED_ARGUMENT,N(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,N(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:a,location:N(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,N(r,this.clonePosition())):this.parseArgumentOptions(t,n,a,r);default:return this.error(O.MALFORMED_ARGUMENT,N(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=wt(this.message,n),a=n+r.length;this.bumpTo(a);var o=this.clonePosition(),f=N(t,o);return{value:r,location:f}},e.prototype.parseArgumentOptions=function(t,n,r,a){var o,f=this.clonePosition(),c=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(c){case"":return this.error(O.EXPECT_ARGUMENT_TYPE,N(f,d));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),g=this.parseSimpleArgStyleIfPossible();if(g.err)return g;var v=Ir(g.val);if(v.length===0)return this.error(O.EXPECT_ARGUMENT_STYLE,N(this.clonePosition(),this.clonePosition()));var R=N(h,this.clonePosition());l={style:v,styleLocation:R}}var _=this.tryParseArgumentClose(a);if(_.err)return _;var x=N(a,this.clonePosition());if(l&&Ut(l==null?void 0:l.style,"::",0)){var H=wr(l.style.slice(2));if(c==="number"){var g=this.parseNumberSkeletonFromString(H,l.styleLocation);return g.err?g:{val:{type:J.number,value:r,location:x,style:g.val},err:null}}else{if(H.length===0)return this.error(O.EXPECT_DATE_TIME_SKELETON,x);var B=H;this.locale&&(B=lr(H,this.locale));var v={type:Se.dateTime,pattern:B,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?nr(B):{}},M=c==="date"?J.date:J.time;return{val:{type:M,value:r,location:x,style:v},err:null}}}return{val:{type:c==="number"?J.number:c==="date"?J.date:J.time,value:r,location:x,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var L=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS,N(L,P({},L)));this.bumpSpace();var D=this.parseIdentifierIfPossible(),T=0;if(c!=="select"&&D.value==="offset"){if(!this.bumpIf(":"))return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N(this.clonePosition(),this.clonePosition()));this.bumpSpace();var g=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(g.err)return g;this.bumpSpace(),D=this.parseIdentifierIfPossible(),T=g.val}var E=this.tryParsePluralOrSelectOptions(t,c,n,D);if(E.err)return E;var _=this.tryParseArgumentClose(a);if(_.err)return _;var G=N(a,this.clonePosition());return c==="select"?{val:{type:J.select,value:r,options:Gt(E.val),location:G},err:null}:{val:{type:J.plural,value:r,options:Gt(E.val),offset:T,pluralType:c==="plural"?"cardinal":"ordinal",location:G},err:null}}default:return this.error(O.INVALID_ARGUMENT_TYPE,N(f,d))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,N(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,N(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=ir(t)}catch(a){return this.error(O.INVALID_NUMBER_SKELETON,n)}return{val:{type:Se.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?ur(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,a){for(var o,f=!1,c=[],d=new Set,l=a.value,h=a.location;;){if(l.length===0){var g=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var v=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR,O.INVALID_PLURAL_ARGUMENT_SELECTOR);if(v.err)return v;h=N(g,this.clonePosition()),l=this.message.slice(g.offset,this.offset())}else break}if(d.has(l))return this.error(n==="select"?O.DUPLICATE_SELECT_ARGUMENT_SELECTOR:O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(f=!0),this.bumpSpace();var R=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,N(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,n,r);if(_.err)return _;var x=this.tryParseArgumentClose(R);if(x.err)return x;c.push([l,{value:_.val,location:N(R,this.clonePosition())}]),d.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return c.length===0?this.error(n==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR:O.EXPECT_PLURAL_ARGUMENT_SELECTOR,N(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!f?this.error(O.MISSING_OTHER_CLAUSE,N(this.clonePosition(),this.clonePosition())):{val:c,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,f=0;!this.isEOF();){var c=this.char();if(c>=48&&c<=57)o=!0,f=f*10+(c-48),this.bump();else break}var d=N(a,this.clonePosition());return o?(f*=r,br(f)?{val:f,err:null}:this.error(n,d)):this.error(t,d)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=mn(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();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)}},e.prototype.bumpIf=function(t){if(Ut(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&gn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function It(e){return e>=97&&e<=122||e>=65&&e<=90}function Br(e){return It(e)||e===47}function Tr(e){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}function gn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Hr(e){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}function xt(e){e.forEach(function(t){if(delete t.location,sn(t)||un(t))for(var n in t.options)delete t.options[n].location,xt(t.options[n].value);else rn(t)&&hn(t.style)||(an(t)||on(t))&&Et(t.style)?delete t.style.location:ln(t)&&xt(t.children)})}function Cr(e,t){t===void 0&&(t={}),t=P({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new xr(e,t).parse();if(n.err){var r=SyntaxError(O[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||xt(n.val),n.val}var Oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Oe||(Oe={}));var nt=function(e){tt(t,e);function t(n,r,a){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=a,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Qt=function(e){tt(t,e);function t(n,r,a,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Oe.INVALID_VALUE,o)||this}return t}(nt),Rr=function(e){tt(t,e);function t(n,r,a){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Oe.INVALID_VALUE,a)||this}return t}(nt),Sr=function(e){tt(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Oe.MISSING_VALUE,r)||this}return t}(nt),ae;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ae||(ae={}));function Or(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==ae.literal||n.type!==ae.literal?t.push(n):r.value+=n.value,t},[])}function Lr(e){return typeof e=="function"}function Ye(e,t,n,r,a,o,f){if(e.length===1&&_t(e[0]))return[{type:ae.literal,value:e[0].value}];for(var c=[],d=0,l=e;d<l.length;d++){var h=l[d];if(_t(h)){c.push({type:ae.literal,value:h.value});continue}if(er(h)){typeof o=="number"&&c.push({type:ae.literal,value:n.getNumberFormat(t).format(o)});continue}var g=h.value;if(!(a&&g in a))throw new Sr(g,f);var v=a[g];if($n(h)){(!v||typeof v=="string"||typeof v=="number")&&(v=typeof v=="string"||typeof v=="number"?String(v):""),c.push({type:typeof v=="string"?ae.literal:ae.object,value:v});continue}if(an(h)){var R=typeof h.style=="string"?r.date[h.style]:Et(h.style)?h.style.parsedOptions:void 0;c.push({type:ae.literal,value:n.getDateTimeFormat(t,R).format(v)});continue}if(on(h)){var R=typeof h.style=="string"?r.time[h.style]:Et(h.style)?h.style.parsedOptions:r.time.medium;c.push({type:ae.literal,value:n.getDateTimeFormat(t,R).format(v)});continue}if(rn(h)){var R=typeof h.style=="string"?r.number[h.style]:hn(h.style)?h.style.parsedOptions:void 0;R&&R.scale&&(v=v*(R.scale||1)),c.push({type:ae.literal,value:n.getNumberFormat(t,R).format(v)});continue}if(ln(h)){var _=h.children,x=h.value,H=a[x];if(!Lr(H))throw new Rr(x,"function",f);var B=Ye(_,t,n,r,a,o),M=H(B.map(function(T){return T.value}));Array.isArray(M)||(M=[M]),c.push.apply(c,M.map(function(T){return{type:typeof T=="string"?ae.literal:ae.object,value:T}}))}if(sn(h)){var L=h.options[v]||h.options.other;if(!L)throw new Qt(h.value,v,Object.keys(h.options),f);c.push.apply(c,Ye(L.value,t,n,r,a));continue}if(un(h)){var L=h.options["=".concat(v)];if(!L){if(!Intl.PluralRules)throw new nt(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
- `,Oe.MISSING_INTL_API,f);var D=n.getPluralRules(t,{type:h.pluralType}).select(v-(h.offset||0));N=h.options[D]||h.options.other}if(!N)throw new Qt(h.value,v,Object.keys(h.options),f);c.push.apply(c,Ye(N.value,t,n,r,a,v-(h.offset||0)));continue}}return Or(c)}function Lr(e,t){return t?P(P(P({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=P(P({},e[r]),t[r]||{}),n},{})):e}function Dr(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Lr(e[r],t[r]),n},P({},e)):e}function pt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function _r(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.number),strategy:ct.variadic}),getDateTimeFormat:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.dateTime),strategy:ct.variadic}),getPluralRules:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.pluralRules),strategy:ct.variadic})}}var Pr=function(){function e(t,n,r,a){n===void 0&&(n=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(d){var l=o.formatToParts(d);if(l.length===1)return l[0].value;var h=l.reduce(function(g,v){return!g.length||v.type!==ae.literal||typeof g[g.length-1]!="string"?g.push(v.value):g[g.length-1]+=v.value,g},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(d){return Ye(o.ast,o.locales,o.formatters,o.formats,d,void 0,o.message)},this.resolvedOptions=function(){var d;return{locale:((d=o.resolvedLocale)===null||d===void 0?void 0:d.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var f=a||{};f.formatters;var c=zn(f,["formatters"]);this.ast=e.__parse(t,P(P({},c),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Dr(e.formats,r),this.formatters=a&&a.formatters||_r(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Cr,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Mr(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let a=0;a<n.length;a++)if(typeof r=="object"){if(a>0){const o=n.slice(a,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[a]]}else r=void 0;return r}const Ee={},kr=(e,t,n)=>n&&(t in Ee||(Ee[t]={}),e in Ee[t]||(Ee[t][e]=n),n),vn=(e,t)=>{if(t==null)return;if(t in Ee&&e in Ee[t])return Ee[t][e];const n=rt(t);for(let r=0;r<n.length;r++){const a=n[r],o=Gr(a,e);if(o)return kr(e,t,o)}};let St;const De=et({});function Ur(e){return St[e]||null}function En(e){return e in St}function Gr(e,t){if(!En(e))return null;const n=Ur(e);return Mr(n,t)}function Fr(e){if(e==null)return;const t=rt(e);for(let n=0;n<t.length;n++){const r=t[n];if(En(r))return r}}function bn(e,...t){delete Ee[e],De.update(n=>(n[e]=Xn.all([n[e]||{},...t]),n))}Le([De],([e])=>Object.keys(e));De.subscribe(e=>St=e);const We={};function Qr(e,t){We[e].delete(t),We[e].size===0&&delete We[e]}function yn(e){return We[e]}function jr(e){return rt(e).map(t=>{const n=yn(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Bt(e){return e==null?!1:rt(e).some(t=>{var n;return(n=yn(t))==null?void 0:n.size})}function Jr(e,t){return Promise.all(t.map(r=>(Qr(e,r),r().then(a=>a.default||a)))).then(r=>bn(e,...r))}const ke={};function wn(e){if(!Bt(e))return e in ke?ke[e]:Promise.resolve();const t=jr(e);return ke[e]=Promise.all(t.map(([n,r])=>Jr(n,r))).then(()=>{if(Bt(e))return wn(e);delete ke[e]}),ke[e]}const Xr={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},zr={fallbackLocale:null,loadingDelay:200,formats:Xr,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Vr=zr;function Ne(){return Vr}const mt=et(!1);var Zr=Object.defineProperty,qr=Object.defineProperties,Yr=Object.getOwnPropertyDescriptors,jt=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable,Jt=(e,t,n)=>t in e?Zr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$r=(e,t)=>{for(var n in t||(t={}))Wr.call(t,n)&&Jt(e,n,t[n]);if(jt)for(var n of jt(t))Kr.call(t,n)&&Jt(e,n,t[n]);return e},ei=(e,t)=>qr(e,Yr(t));let Tt;const Ke=et(null);function Xt(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function rt(e,t=Ne().fallbackLocale){const n=Xt(e);return t?[...new Set([...n,...Xt(t)])]:n}function Ie(){return Tt!=null?Tt:void 0}Ke.subscribe(e=>{Tt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ti=e=>{if(e&&Fr(e)&&Bt(e)){const{loadingDelay:t}=Ne();let n;return typeof window!="undefined"&&Ie()!=null&&t?n=window.setTimeout(()=>mt.set(!0),t):mt.set(!0),wn(e).then(()=>{Ke.set(e)}).finally(()=>{clearTimeout(n),mt.set(!1)})}return Ke.set(e)},be=ei($r({},Ke),{set:ti}),it=e=>{const t=Object.create(null);return r=>{const a=JSON.stringify(r);return a in t?t[a]:t[a]=e(r)}};var ni=Object.defineProperty,$e=Object.getOwnPropertySymbols,In=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,zt=(e,t,n)=>t in e?ni(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ot=(e,t)=>{for(var n in t||(t={}))In.call(t,n)&&zt(e,n,t[n]);if($e)for(var n of $e(t))xn.call(t,n)&&zt(e,n,t[n]);return e},_e=(e,t)=>{var n={};for(var r in e)In.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$e)for(var r of $e(e))t.indexOf(r)<0&&xn.call(e,r)&&(n[r]=e[r]);return n};const Ge=(e,t)=>{const{formats:n}=Ne();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ri=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(a=Ge("number",r)),new Intl.NumberFormat(n,a)}),ii=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?a=Ge("date",r):Object.keys(a).length===0&&(a=Ge("date","short")),new Intl.DateTimeFormat(n,a)}),ai=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?a=Ge("time",r):Object.keys(a).length===0&&(a=Ge("time","short")),new Intl.DateTimeFormat(n,a)}),oi=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ri(Ot({locale:n},r))},si=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ii(Ot({locale:n},r))},ui=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ai(Ot({locale:n},r))},li=it((e,t=Ie())=>new Pr(e,t,Ne().formats,{ignoreTag:Ne().ignoreTag})),hi=(e,t={})=>{var n,r,a,o;let f=t;typeof e=="object"&&(f=e,e=f.id);const{values:c,locale:d=Ie(),default:l}=f;if(d==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=vn(e,d);if(!h)h=(o=(a=(r=(n=Ne()).handleMissingMessage)==null?void 0:r.call(n,{locale:d,id:e,defaultValue:l}))!=null?a:l)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!c)return h;let g=h;try{g=li(h,d).format(c)}catch(v){v instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,v.message)}return g},fi=(e,t)=>ui(t).format(e),ci=(e,t)=>si(t).format(e),di=(e,t)=>oi(t).format(e),pi=(e,t=Ie())=>vn(e,t),mi=Le([be,De],()=>hi);Le([be],()=>fi);Le([be],()=>ci);Le([be],()=>di);Le([be,De],()=>pi);function Ai({withLocale:e,translations:t}){be.subscribe(n=>{n==null&&(De.set(t),be.set(e))})}function Vt(e,t){bn(e,t)}function gi(e){be.set(e)}const Zt={en:{loading:"Loading"},hr:{loading:"Učitavanje"},ro:{loading:"Se încarcă"},tr:{loading:"Yükleniyor"},el:{loading:"Φο’ρτωση"},es:{loading:"Cargando"},hu:{loading:"Betöltés"}};var Ht={exports:{}};/** @license
3
+ `,Oe.MISSING_INTL_API,f);var D=n.getPluralRules(t,{type:h.pluralType}).select(v-(h.offset||0));L=h.options[D]||h.options.other}if(!L)throw new Qt(h.value,v,Object.keys(h.options),f);c.push.apply(c,Ye(L.value,t,n,r,a,v-(h.offset||0)));continue}}return Or(c)}function Nr(e,t){return t?P(P(P({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=P(P({},e[r]),t[r]||{}),n},{})):e}function Dr(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Nr(e[r],t[r]),n},P({},e)):e}function pt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function _r(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.number),strategy:ct.variadic}),getDateTimeFormat:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.dateTime),strategy:ct.variadic}),getPluralRules:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.pluralRules),strategy:ct.variadic})}}var Pr=function(){function e(t,n,r,a){n===void 0&&(n=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(d){var l=o.formatToParts(d);if(l.length===1)return l[0].value;var h=l.reduce(function(g,v){return!g.length||v.type!==ae.literal||typeof g[g.length-1]!="string"?g.push(v.value):g[g.length-1]+=v.value,g},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(d){return Ye(o.ast,o.locales,o.formatters,o.formats,d,void 0,o.message)},this.resolvedOptions=function(){var d;return{locale:((d=o.resolvedLocale)===null||d===void 0?void 0:d.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var f=a||{};f.formatters;var c=zn(f,["formatters"]);this.ast=e.__parse(t,P(P({},c),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Dr(e.formats,r),this.formatters=a&&a.formatters||_r(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Cr,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Mr(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let a=0;a<n.length;a++)if(typeof r=="object"){if(a>0){const o=n.slice(a,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[a]]}else r=void 0;return r}const Ee={},kr=(e,t,n)=>n&&(t in Ee||(Ee[t]={}),e in Ee[t]||(Ee[t][e]=n),n),vn=(e,t)=>{if(t==null)return;if(t in Ee&&e in Ee[t])return Ee[t][e];const n=rt(t);for(let r=0;r<n.length;r++){const a=n[r],o=Gr(a,e);if(o)return kr(e,t,o)}};let St;const De=et({});function Ur(e){return St[e]||null}function En(e){return e in St}function Gr(e,t){if(!En(e))return null;const n=Ur(e);return Mr(n,t)}function Fr(e){if(e==null)return;const t=rt(e);for(let n=0;n<t.length;n++){const r=t[n];if(En(r))return r}}function bn(e,...t){delete Ee[e],De.update(n=>(n[e]=Xn.all([n[e]||{},...t]),n))}Ne([De],([e])=>Object.keys(e));De.subscribe(e=>St=e);const We={};function Qr(e,t){We[e].delete(t),We[e].size===0&&delete We[e]}function yn(e){return We[e]}function jr(e){return rt(e).map(t=>{const n=yn(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Bt(e){return e==null?!1:rt(e).some(t=>{var n;return(n=yn(t))==null?void 0:n.size})}function Jr(e,t){return Promise.all(t.map(r=>(Qr(e,r),r().then(a=>a.default||a)))).then(r=>bn(e,...r))}const ke={};function wn(e){if(!Bt(e))return e in ke?ke[e]:Promise.resolve();const t=jr(e);return ke[e]=Promise.all(t.map(([n,r])=>Jr(n,r))).then(()=>{if(Bt(e))return wn(e);delete ke[e]}),ke[e]}const Xr={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},zr={fallbackLocale:null,loadingDelay:200,formats:Xr,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Vr=zr;function Le(){return Vr}const mt=et(!1);var Zr=Object.defineProperty,qr=Object.defineProperties,Yr=Object.getOwnPropertyDescriptors,jt=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable,Jt=(e,t,n)=>t in e?Zr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$r=(e,t)=>{for(var n in t||(t={}))Wr.call(t,n)&&Jt(e,n,t[n]);if(jt)for(var n of jt(t))Kr.call(t,n)&&Jt(e,n,t[n]);return e},ei=(e,t)=>qr(e,Yr(t));let Tt;const Ke=et(null);function Xt(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function rt(e,t=Le().fallbackLocale){const n=Xt(e);return t?[...new Set([...n,...Xt(t)])]:n}function Ie(){return Tt!=null?Tt:void 0}Ke.subscribe(e=>{Tt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ti=e=>{if(e&&Fr(e)&&Bt(e)){const{loadingDelay:t}=Le();let n;return typeof window!="undefined"&&Ie()!=null&&t?n=window.setTimeout(()=>mt.set(!0),t):mt.set(!0),wn(e).then(()=>{Ke.set(e)}).finally(()=>{clearTimeout(n),mt.set(!1)})}return Ke.set(e)},be=ei($r({},Ke),{set:ti}),it=e=>{const t=Object.create(null);return r=>{const a=JSON.stringify(r);return a in t?t[a]:t[a]=e(r)}};var ni=Object.defineProperty,$e=Object.getOwnPropertySymbols,In=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,zt=(e,t,n)=>t in e?ni(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ot=(e,t)=>{for(var n in t||(t={}))In.call(t,n)&&zt(e,n,t[n]);if($e)for(var n of $e(t))xn.call(t,n)&&zt(e,n,t[n]);return e},_e=(e,t)=>{var n={};for(var r in e)In.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$e)for(var r of $e(e))t.indexOf(r)<0&&xn.call(e,r)&&(n[r]=e[r]);return n};const Ge=(e,t)=>{const{formats:n}=Le();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ri=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(a=Ge("number",r)),new Intl.NumberFormat(n,a)}),ii=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?a=Ge("date",r):Object.keys(a).length===0&&(a=Ge("date","short")),new Intl.DateTimeFormat(n,a)}),ai=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?a=Ge("time",r):Object.keys(a).length===0&&(a=Ge("time","short")),new Intl.DateTimeFormat(n,a)}),oi=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ri(Ot({locale:n},r))},si=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ii(Ot({locale:n},r))},ui=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ai(Ot({locale:n},r))},li=it((e,t=Ie())=>new Pr(e,t,Le().formats,{ignoreTag:Le().ignoreTag})),hi=(e,t={})=>{var n,r,a,o;let f=t;typeof e=="object"&&(f=e,e=f.id);const{values:c,locale:d=Ie(),default:l}=f;if(d==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=vn(e,d);if(!h)h=(o=(a=(r=(n=Le()).handleMissingMessage)==null?void 0:r.call(n,{locale:d,id:e,defaultValue:l}))!=null?a:l)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!c)return h;let g=h;try{g=li(h,d).format(c)}catch(v){v instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,v.message)}return g},fi=(e,t)=>ui(t).format(e),ci=(e,t)=>si(t).format(e),di=(e,t)=>oi(t).format(e),pi=(e,t=Ie())=>vn(e,t),mi=Ne([be,De],()=>hi);Ne([be],()=>fi);Ne([be],()=>ci);Ne([be],()=>di);Ne([be,De],()=>pi);function Ai({withLocale:e,translations:t}){be.subscribe(n=>{n==null&&(De.set(t),be.set(e))})}function Vt(e,t){bn(e,t)}function gi(e){be.set(e)}const Zt={en:{loading:"Loading"},hr:{loading:"Učitavanje"},ro:{loading:"Se încarcă"},tr:{loading:"Yükleniyor"},el:{loading:"Φο’ρτωση"},es:{loading:"Cargando"},hu:{loading:"Betöltés"},"en-us":{loading:"Loading"}};var Ht={exports:{}};/** @license
4
4
  * eventsource.js
5
5
  * Available under MIT License (MIT)
6
6
  * https://github.com/Yaffle/EventSource/
7
- */(function(e,t){(function(n){var r=n.setTimeout,a=n.clearTimeout,o=n.XMLHttpRequest,f=n.XDomainRequest,c=n.ActiveXObject,d=n.EventSource,l=n.document,h=n.Promise,g=n.fetch,v=n.Response,R=n.TextDecoder,_=n.TextEncoder,x=n.AbortController;if(typeof window!="undefined"&&typeof l!="undefined"&&!("readyState"in l)&&l.body==null&&(l.readyState="loading",window.addEventListener("load",function(s){l.readyState="complete"},!1)),o==null&&c!=null&&(o=function(){return new c("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(s){function p(){}return p.prototype=s,new p}),Date.now||(Date.now=function(){return new Date().getTime()}),x==null){var H=g;g=function(s,p){var b=p.signal;return H(s,{headers:p.headers,credentials:p.credentials,cache:p.cache}).then(function(m){var w=m.body.getReader();return b._reader=w,b._aborted&&b._reader.cancel(),{status:m.status,statusText:m.statusText,headers:m.headers,body:{getReader:function(){return w}}}})},x=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function B(){this.bitsNeeded=0,this.codePoint=0}B.prototype.decode=function(s){function p(U,u,A){if(A===1)return U>=128>>u&&U<<u<=2047;if(A===2)return U>=2048>>u&&U<<u<=55295||U>=57344>>u&&U<<u<=65535;if(A===3)return U>=65536>>u&&U<<u<=1114111;throw new Error}function b(U,u){if(U===6*1)return u>>6>15?3:u>31?2:1;if(U===6*2)return u>15?3:2;if(U===6*3)return 3;throw new Error}for(var m=65533,w="",y=this.bitsNeeded,C=this.codePoint,j=0;j<s.length;j+=1){var S=s[j];y!==0&&(S<128||S>191||!p(C<<6|S&63,y-6,b(y,C)))&&(y=0,C=m,w+=String.fromCharCode(C)),y===0?(S>=0&&S<=127?(y=0,C=S):S>=192&&S<=223?(y=6*1,C=S&31):S>=224&&S<=239?(y=6*2,C=S&15):S>=240&&S<=247?(y=6*3,C=S&7):(y=0,C=m),y!==0&&!p(C,y,b(y,C))&&(y=0,C=m)):(y-=6,C=C<<6|S&63),y===0&&(C<=65535?w+=String.fromCharCode(C):(w+=String.fromCharCode(55296+(C-65535-1>>10)),w+=String.fromCharCode(56320+(C-65535-1&1023))))}return this.bitsNeeded=y,this.codePoint=C,w};var M=function(){try{return new R().decode(new _().encode("test"),{stream:!0})==="test"}catch(s){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+s)}return!1};(R==null||_==null||!M())&&(R=B);var N=function(){};function D(s){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=N,this.onload=N,this.onerror=N,this.onreadystatechange=N,this._contentType="",this._xhr=s,this._sendTimeout=0,this._abort=N}D.prototype.open=function(s,p){this._abort(!0);var b=this,m=this._xhr,w=1,y=0;this._abort=function(A){b._sendTimeout!==0&&(a(b._sendTimeout),b._sendTimeout=0),(w===1||w===2||w===3)&&(w=4,m.onload=N,m.onerror=N,m.onabort=N,m.onprogress=N,m.onreadystatechange=N,m.abort(),y!==0&&(a(y),y=0),A||(b.readyState=4,b.onabort(null),b.onreadystatechange())),w=0};var C=function(){if(w===1){var A=0,I="",z=void 0;if("contentType"in m)A=200,I="OK",z=m.contentType;else try{A=m.status,I=m.statusText,z=m.getResponseHeader("Content-Type")}catch(me){A=0,I="",z=void 0}A!==0&&(w=2,b.readyState=2,b.status=A,b.statusText=I,b._contentType=z,b.onreadystatechange())}},j=function(){if(C(),w===2||w===3){w=3;var A="";try{A=m.responseText}catch(I){}b.readyState=3,b.responseText=A,b.onprogress()}},S=function(A,I){if((I==null||I.preventDefault==null)&&(I={preventDefault:N}),j(),w===1||w===2||w===3){if(w=4,y!==0&&(a(y),y=0),b.readyState=4,A==="load")b.onload(I);else if(A==="error")b.onerror(I);else if(A==="abort")b.onabort(I);else throw new TypeError;b.onreadystatechange()}},U=function(A){m!=null&&(m.readyState===4?(!("onload"in m)||!("onerror"in m)||!("onabort"in m))&&S(m.responseText===""?"error":"load",A):m.readyState===3?"onprogress"in m||j():m.readyState===2&&C())},u=function(){y=r(function(){u()},500),m.readyState===3&&j()};"onload"in m&&(m.onload=function(A){S("load",A)}),"onerror"in m&&(m.onerror=function(A){S("error",A)}),"onabort"in m&&(m.onabort=function(A){S("abort",A)}),"onprogress"in m&&(m.onprogress=j),"onreadystatechange"in m&&(m.onreadystatechange=function(A){U(A)}),("contentType"in m||!("ontimeout"in o.prototype))&&(p+=(p.indexOf("?")===-1?"?":"&")+"padding=true"),m.open(s,p,!0),"readyState"in m&&(y=r(function(){u()},0))},D.prototype.abort=function(){this._abort(!1)},D.prototype.getResponseHeader=function(s){return this._contentType},D.prototype.setRequestHeader=function(s,p){var b=this._xhr;"setRequestHeader"in b&&b.setRequestHeader(s,p)},D.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},D.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&l!=null&&l.readyState!=null&&l.readyState!=="complete"){var s=this;s._sendTimeout=r(function(){s._sendTimeout=0,s.send()},4);return}var p=this._xhr;"withCredentials"in p&&(p.withCredentials=this.withCredentials);try{p.send(void 0)}catch(b){throw b}};function T(s){return s.replace(/[A-Z]/g,function(p){return String.fromCharCode(p.charCodeAt(0)+32)})}function E(s){for(var p=Object.create(null),b=s.split(`\r
7
+ */(function(e,t){(function(n){var r=n.setTimeout,a=n.clearTimeout,o=n.XMLHttpRequest,f=n.XDomainRequest,c=n.ActiveXObject,d=n.EventSource,l=n.document,h=n.Promise,g=n.fetch,v=n.Response,R=n.TextDecoder,_=n.TextEncoder,x=n.AbortController;if(typeof window!="undefined"&&typeof l!="undefined"&&!("readyState"in l)&&l.body==null&&(l.readyState="loading",window.addEventListener("load",function(s){l.readyState="complete"},!1)),o==null&&c!=null&&(o=function(){return new c("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(s){function p(){}return p.prototype=s,new p}),Date.now||(Date.now=function(){return new Date().getTime()}),x==null){var H=g;g=function(s,p){var b=p.signal;return H(s,{headers:p.headers,credentials:p.credentials,cache:p.cache}).then(function(m){var w=m.body.getReader();return b._reader=w,b._aborted&&b._reader.cancel(),{status:m.status,statusText:m.statusText,headers:m.headers,body:{getReader:function(){return w}}}})},x=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function B(){this.bitsNeeded=0,this.codePoint=0}B.prototype.decode=function(s){function p(U,u,A){if(A===1)return U>=128>>u&&U<<u<=2047;if(A===2)return U>=2048>>u&&U<<u<=55295||U>=57344>>u&&U<<u<=65535;if(A===3)return U>=65536>>u&&U<<u<=1114111;throw new Error}function b(U,u){if(U===6*1)return u>>6>15?3:u>31?2:1;if(U===6*2)return u>15?3:2;if(U===6*3)return 3;throw new Error}for(var m=65533,w="",y=this.bitsNeeded,C=this.codePoint,j=0;j<s.length;j+=1){var S=s[j];y!==0&&(S<128||S>191||!p(C<<6|S&63,y-6,b(y,C)))&&(y=0,C=m,w+=String.fromCharCode(C)),y===0?(S>=0&&S<=127?(y=0,C=S):S>=192&&S<=223?(y=6*1,C=S&31):S>=224&&S<=239?(y=6*2,C=S&15):S>=240&&S<=247?(y=6*3,C=S&7):(y=0,C=m),y!==0&&!p(C,y,b(y,C))&&(y=0,C=m)):(y-=6,C=C<<6|S&63),y===0&&(C<=65535?w+=String.fromCharCode(C):(w+=String.fromCharCode(55296+(C-65535-1>>10)),w+=String.fromCharCode(56320+(C-65535-1&1023))))}return this.bitsNeeded=y,this.codePoint=C,w};var M=function(){try{return new R().decode(new _().encode("test"),{stream:!0})==="test"}catch(s){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+s)}return!1};(R==null||_==null||!M())&&(R=B);var L=function(){};function D(s){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=s,this._sendTimeout=0,this._abort=L}D.prototype.open=function(s,p){this._abort(!0);var b=this,m=this._xhr,w=1,y=0;this._abort=function(A){b._sendTimeout!==0&&(a(b._sendTimeout),b._sendTimeout=0),(w===1||w===2||w===3)&&(w=4,m.onload=L,m.onerror=L,m.onabort=L,m.onprogress=L,m.onreadystatechange=L,m.abort(),y!==0&&(a(y),y=0),A||(b.readyState=4,b.onabort(null),b.onreadystatechange())),w=0};var C=function(){if(w===1){var A=0,I="",z=void 0;if("contentType"in m)A=200,I="OK",z=m.contentType;else try{A=m.status,I=m.statusText,z=m.getResponseHeader("Content-Type")}catch(me){A=0,I="",z=void 0}A!==0&&(w=2,b.readyState=2,b.status=A,b.statusText=I,b._contentType=z,b.onreadystatechange())}},j=function(){if(C(),w===2||w===3){w=3;var A="";try{A=m.responseText}catch(I){}b.readyState=3,b.responseText=A,b.onprogress()}},S=function(A,I){if((I==null||I.preventDefault==null)&&(I={preventDefault:L}),j(),w===1||w===2||w===3){if(w=4,y!==0&&(a(y),y=0),b.readyState=4,A==="load")b.onload(I);else if(A==="error")b.onerror(I);else if(A==="abort")b.onabort(I);else throw new TypeError;b.onreadystatechange()}},U=function(A){m!=null&&(m.readyState===4?(!("onload"in m)||!("onerror"in m)||!("onabort"in m))&&S(m.responseText===""?"error":"load",A):m.readyState===3?"onprogress"in m||j():m.readyState===2&&C())},u=function(){y=r(function(){u()},500),m.readyState===3&&j()};"onload"in m&&(m.onload=function(A){S("load",A)}),"onerror"in m&&(m.onerror=function(A){S("error",A)}),"onabort"in m&&(m.onabort=function(A){S("abort",A)}),"onprogress"in m&&(m.onprogress=j),"onreadystatechange"in m&&(m.onreadystatechange=function(A){U(A)}),("contentType"in m||!("ontimeout"in o.prototype))&&(p+=(p.indexOf("?")===-1?"?":"&")+"padding=true"),m.open(s,p,!0),"readyState"in m&&(y=r(function(){u()},0))},D.prototype.abort=function(){this._abort(!1)},D.prototype.getResponseHeader=function(s){return this._contentType},D.prototype.setRequestHeader=function(s,p){var b=this._xhr;"setRequestHeader"in b&&b.setRequestHeader(s,p)},D.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},D.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&l!=null&&l.readyState!=null&&l.readyState!=="complete"){var s=this;s._sendTimeout=r(function(){s._sendTimeout=0,s.send()},4);return}var p=this._xhr;"withCredentials"in p&&(p.withCredentials=this.withCredentials);try{p.send(void 0)}catch(b){throw b}};function T(s){return s.replace(/[A-Z]/g,function(p){return String.fromCharCode(p.charCodeAt(0)+32)})}function E(s){for(var p=Object.create(null),b=s.split(`\r
8
8
  `),m=0;m<b.length;m+=1){var w=b[m],y=w.split(": "),C=y.shift(),j=y.join(": ");p[T(C)]=j}this._map=p}E.prototype.get=function(s){return this._map[T(s)]},o!=null&&o.HEADERS_RECEIVED==null&&(o.HEADERS_RECEIVED=2);function G(){}G.prototype.open=function(s,p,b,m,w,y,C){s.open("GET",w);var j=0;s.onprogress=function(){var U=s.responseText,u=U.slice(j);j+=u.length,b(u)},s.onerror=function(U){U.preventDefault(),m(new Error("NetworkError"))},s.onload=function(){m(null)},s.onabort=function(){m(null)},s.onreadystatechange=function(){if(s.readyState===o.HEADERS_RECEIVED){var U=s.status,u=s.statusText,A=s.getResponseHeader("Content-Type"),I=s.getAllResponseHeaders();p(U,u,A,new E(I))}},s.withCredentials=y;for(var S in C)Object.prototype.hasOwnProperty.call(C,S)&&s.setRequestHeader(S,C[S]);return s.send(),s};function F(s){this._headers=s}F.prototype.get=function(s){return this._headers.get(s)};function te(){}te.prototype.open=function(s,p,b,m,w,y,C){var j=null,S=new x,U=S.signal,u=new R;return g(w,{headers:C,credentials:y?"include":"same-origin",signal:U,cache:"no-store"}).then(function(A){return j=A.body.getReader(),p(A.status,A.statusText,A.headers.get("Content-Type"),new F(A.headers)),new h(function(I,z){var me=function(){j.read().then(function(ne){if(ne.done)I(void 0);else{var ee=u.decode(ne.value,{stream:!0});b(ee),me()}}).catch(function(ne){z(ne)})};me()})}).catch(function(A){if(A.name!=="AbortError")return A}).then(function(A){m(A)}),{abort:function(){j!=null&&j.cancel(),S.abort()}}};function se(){this._listeners=Object.create(null)}function Z(s){r(function(){throw s},0)}se.prototype.dispatchEvent=function(s){s.target=this;var p=this._listeners[s.type];if(p!=null)for(var b=p.length,m=0;m<b;m+=1){var w=p[m];try{typeof w.handleEvent=="function"?w.handleEvent(s):w.call(this,s)}catch(y){Z(y)}}},se.prototype.addEventListener=function(s,p){s=String(s);var b=this._listeners,m=b[s];m==null&&(m=[],b[s]=m);for(var w=!1,y=0;y<m.length;y+=1)m[y]===p&&(w=!0);w||m.push(p)},se.prototype.removeEventListener=function(s,p){s=String(s);var b=this._listeners,m=b[s];if(m!=null){for(var w=[],y=0;y<m.length;y+=1)m[y]!==p&&w.push(m[y]);w.length===0?delete b[s]:b[s]=w}};function k(s){this.type=s,this.target=void 0}function X(s,p){k.call(this,s),this.data=p.data,this.lastEventId=p.lastEventId}X.prototype=Object.create(k.prototype);function V(s,p){k.call(this,s),this.status=p.status,this.statusText=p.statusText,this.headers=p.headers}V.prototype=Object.create(k.prototype);function Q(s,p){k.call(this,s),this.error=p.error}Q.prototype=Object.create(k.prototype);var Y=-1,ce=0,de=1,he=2,xe=-1,K=0,Be=1,Fe=2,Qe=3,je=/^text\/event\-stream(;.*)?$/i,Je=1e3,Xe=18e6,ye=function(s,p){var b=s==null?p:parseInt(s,10);return b!==b&&(b=p),Pe(b)},Pe=function(s){return Math.min(Math.max(s,Je),Xe)},pe=function(s,p,b){try{typeof p=="function"&&p.call(s,b)}catch(m){Z(m)}};function oe(s,p){se.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,st(this,s,p)}function at(){return o!=null&&"withCredentials"in o.prototype||f==null?new o:new f}var ot=g!=null&&v!=null&&"body"in v.prototype;function st(s,p,b){p=String(p);var m=!!b.withCredentials,w=b.lastEventIdQueryParameterName||"lastEventId",y=Pe(1e3),C=ye(b.heartbeatTimeout,45e3),j="",S=y,U=!1,u=0,A=b.headers||{},I=b.Transport,z=ot&&I==null?void 0:new D(I!=null?new I:at()),me=I!=null&&typeof I!="string"?new I:z==null?new te:new G,ne=void 0,ee=0,fe=Y,Te="",Ve="",Ae="",Ze="",re=K,ut=0,we=0,Tn=function(W,q,ue,le){if(fe===ce)if(W===200&&ue!=null&&je.test(ue)){fe=de,U=Date.now(),S=y,s.readyState=de;var ie=new V("open",{status:W,statusText:q,headers:le});s.dispatchEvent(ie),pe(s,s.onopen,ie)}else{var $="";W!==200?(q&&(q=q.replace(/\s+/g," ")),$="EventSource's response has a status "+W+" "+q+" that is not 200. Aborting the connection."):$="EventSource's response has a Content-Type specifying an unsupported type: "+(ue==null?"-":ue.replace(/\s+/g," "))+". Aborting the connection.",lt();var ie=new V("error",{status:W,statusText:q,headers:le});s.dispatchEvent(ie),pe(s,s.onerror,ie),console.error($)}},Hn=function(W){if(fe===de){for(var q=-1,ue=0;ue<W.length;ue+=1){var le=W.charCodeAt(ue);(le===10||le===13)&&(q=ue)}var ie=(q!==-1?Ze:"")+W.slice(0,q+1);Ze=(q===-1?Ze:"")+W.slice(q+1),W!==""&&(U=Date.now(),u+=W.length);for(var $=0;$<ie.length;$+=1){var le=ie.charCodeAt($);if(re===xe&&le===10)re=K;else if(re===xe&&(re=K),le===13||le===10){if(re!==K){re===Be&&(we=$+1);var ge=ie.slice(ut,we-1),ve=ie.slice(we+(we<$&&ie.charCodeAt(we)===32?1:0),$);ge==="data"?(Te+=`
9
- `,Te+=ve):ge==="id"?Ve=ve:ge==="event"?Ae=ve:ge==="retry"?(y=ye(ve,y),S=y):ge==="heartbeatTimeout"&&(C=ye(ve,C),ee!==0&&(a(ee),ee=r(function(){Me()},C)))}if(re===K){if(Te!==""){j=Ve,Ae===""&&(Ae="message");var He=new X(Ae,{data:Te.slice(1),lastEventId:Ve});if(s.dispatchEvent(He),Ae==="open"?pe(s,s.onopen,He):Ae==="message"?pe(s,s.onmessage,He):Ae==="error"&&pe(s,s.onerror,He),fe===he)return}Te="",Ae=""}re=le===13?xe:K}else re===K&&(ut=$,re=Be),re===Be?le===58&&(we=$+1,re=Fe):re===Fe&&(re=Qe)}}},Nt=function(W){if(fe===de||fe===ce){fe=Y,ee!==0&&(a(ee),ee=0),ee=r(function(){Me()},S),S=Pe(Math.min(y*16,S*2)),s.readyState=ce;var q=new Q("error",{error:W});s.dispatchEvent(q),pe(s,s.onerror,q),W!=null&&console.error(W)}},lt=function(){fe=he,ne!=null&&(ne.abort(),ne=void 0),ee!==0&&(a(ee),ee=0),s.readyState=he},Me=function(){if(ee=0,fe!==Y){if(!U&&ne!=null)Nt(new Error("No activity within "+C+" milliseconds. "+(fe===ce?"No response received.":u+" chars received.")+" Reconnecting.")),ne!=null&&(ne.abort(),ne=void 0);else{var W=Math.max((U||Date.now())+C-Date.now(),1);U=!1,ee=r(function(){Me()},W)}return}U=!1,u=0,ee=r(function(){Me()},C),fe=ce,Te="",Ae="",Ve=j,Ze="",ut=0,we=0,re=K;var q=p;if(p.slice(0,5)!=="data:"&&p.slice(0,5)!=="blob:"&&j!==""){var ue=p.indexOf("?");q=ue===-1?p:p.slice(0,ue+1)+p.slice(ue+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(ve,He){return He===w?"":ve}),q+=(p.indexOf("?")===-1?"?":"&")+w+"="+encodeURIComponent(j)}var le=s.withCredentials,ie={};ie.Accept="text/event-stream";var $=s.headers;if($!=null)for(var ge in $)Object.prototype.hasOwnProperty.call($,ge)&&(ie[ge]=$[ge]);try{ne=me.open(z,Tn,Hn,Nt,q,le,ie)}catch(ve){throw lt(),ve}};s.url=p,s.readyState=ce,s.withCredentials=m,s.headers=A,s._close=lt,Me()}oe.prototype=Object.create(se.prototype),oe.prototype.CONNECTING=ce,oe.prototype.OPEN=de,oe.prototype.CLOSED=he,oe.prototype.close=function(){this._close()},oe.CONNECTING=ce,oe.OPEN=de,oe.CLOSED=he,oe.prototype.withCredentials=void 0;var ze=d;o!=null&&(d==null||!("withCredentials"in d.prototype))&&(ze=oe),function(s){{var p=s(t);p!==void 0&&(e.exports=p)}}(function(s){s.EventSourcePolyfill=oe,s.NativeEventSource=d,s.EventSource=ze})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:Rn:globalThis)})(Ht,Ht.exports);var vi=Ht.exports;const Ei=`
9
+ `,Te+=ve):ge==="id"?Ve=ve:ge==="event"?Ae=ve:ge==="retry"?(y=ye(ve,y),S=y):ge==="heartbeatTimeout"&&(C=ye(ve,C),ee!==0&&(a(ee),ee=r(function(){Me()},C)))}if(re===K){if(Te!==""){j=Ve,Ae===""&&(Ae="message");var He=new X(Ae,{data:Te.slice(1),lastEventId:Ve});if(s.dispatchEvent(He),Ae==="open"?pe(s,s.onopen,He):Ae==="message"?pe(s,s.onmessage,He):Ae==="error"&&pe(s,s.onerror,He),fe===he)return}Te="",Ae=""}re=le===13?xe:K}else re===K&&(ut=$,re=Be),re===Be?le===58&&(we=$+1,re=Fe):re===Fe&&(re=Qe)}}},Lt=function(W){if(fe===de||fe===ce){fe=Y,ee!==0&&(a(ee),ee=0),ee=r(function(){Me()},S),S=Pe(Math.min(y*16,S*2)),s.readyState=ce;var q=new Q("error",{error:W});s.dispatchEvent(q),pe(s,s.onerror,q),W!=null&&console.error(W)}},lt=function(){fe=he,ne!=null&&(ne.abort(),ne=void 0),ee!==0&&(a(ee),ee=0),s.readyState=he},Me=function(){if(ee=0,fe!==Y){if(!U&&ne!=null)Lt(new Error("No activity within "+C+" milliseconds. "+(fe===ce?"No response received.":u+" chars received.")+" Reconnecting.")),ne!=null&&(ne.abort(),ne=void 0);else{var W=Math.max((U||Date.now())+C-Date.now(),1);U=!1,ee=r(function(){Me()},W)}return}U=!1,u=0,ee=r(function(){Me()},C),fe=ce,Te="",Ae="",Ve=j,Ze="",ut=0,we=0,re=K;var q=p;if(p.slice(0,5)!=="data:"&&p.slice(0,5)!=="blob:"&&j!==""){var ue=p.indexOf("?");q=ue===-1?p:p.slice(0,ue+1)+p.slice(ue+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(ve,He){return He===w?"":ve}),q+=(p.indexOf("?")===-1?"?":"&")+w+"="+encodeURIComponent(j)}var le=s.withCredentials,ie={};ie.Accept="text/event-stream";var $=s.headers;if($!=null)for(var ge in $)Object.prototype.hasOwnProperty.call($,ge)&&(ie[ge]=$[ge]);try{ne=me.open(z,Tn,Hn,Lt,q,le,ie)}catch(ve){throw lt(),ve}};s.url=p,s.readyState=ce,s.withCredentials=m,s.headers=A,s._close=lt,Me()}oe.prototype=Object.create(se.prototype),oe.prototype.CONNECTING=ce,oe.prototype.OPEN=de,oe.prototype.CLOSED=he,oe.prototype.close=function(){this._close()},oe.CONNECTING=ce,oe.OPEN=de,oe.CLOSED=he,oe.prototype.withCredentials=void 0;var ze=d;o!=null&&(d==null||!("withCredentials"in d.prototype))&&(ze=oe),function(s){{var p=s(t);p!==void 0&&(e.exports=p)}}(function(s){s.EventSourcePolyfill=oe,s.NativeEventSource=d,s.EventSource=ze})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:Rn:globalThis)})(Ht,Ht.exports);var vi=Ht.exports;const Ei=`
10
10
  data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7d13uF1Vnf/x93fvc25PIYAQmorYCCTBUBVSqJbBNlZ0sI3+1BkLguKMo8Yyo0IAxdFnnLGPZewgKlLTIIQSQxK6SE8hJJB+29l7/f64QQMkN7fsc7577/N5PQ+PSu7d6wMmd3/OWmuvbUimwtxJXcTxywmcDkwFDgTGA+abTGQnbr8Dkpp3CpFniuNApdJDS8sqqtXfkFTPtzMfXesdq0x0U8pImDv5AKLwObAzgDbvPCJDogIgRWEGXV330NF6hr1p3RLvOGWgAjBKYe7MCvHjnyNwFtDunUdkWFQApGiiCMZ0LSSZcKq964Ee7zhFFnkHKLKwaNIEosf/SOBf0c1fRKT+0hQ2bjqB2to14Zf7vcg7TpGpAIxQuPqwfeiPFwMneWcREWk6PdvGsX7dsvDDfQ7zjlJUKgAjEG6f1EI1+jnw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6d75xCR8tmyuedFQfeMUtH/mWXy0hufC0z0jiEi5dPXX4vuP/Co471zSHZUAMqkagd7RxCR8kqS9DjvDJIdFYAySUxv9BOR+knCPt4RJDsqAGUSpS3eEUSkvIKFdu8Mkh0VABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCkCZpFGfdwQRKS8L1u2dQbKjAlAmcdjgHUFEysviaI13BsmOCkCZJPYX7wgiUl5WCYu8M0h2VADK5Lrf3w884h1DRMqn2lJJDn5oiQpAiagAlIhBAH7nnUNEyqerq/1Og9Q7h2RHBaBsApd6RxCR8mlrrf7UO4NkSwWgbK47+koIf/KOISLl0d7e0n3I6rHneeeQbKkAlIwxO4XoX71ziEh5jN9jzOeMeTXvHJItFYASsoW/vwILv/HOISLFN25c58rnr1ryFe8ckj1hLOs1AAAA8klEQVQVgLKKus8EVnjHEJHiam9r6Z0wZuwx3jmkPlQASsrmzduCxa9BjwWKyAi0tMTJnnuPO/XAR25Y6Z1F6kMFoMRswWX3Q3I0cKN3FhEpjs6uti377D3myIMfvnmBdxapHxWAkrOFV6wm3jYTwlcBvStARHbJzNhzzzFLxu47bv/nrrz1Vu88Ul/mHUAaJxz/qoMhfAHjDUCLdx7xt3jx3fT3J94xxJmZMW5cxwNjujre+dxHbp7vnUcaQwWgCYWTTx5HX/XlpPZqjMOBA4A9vHNJ46kANKdKJQ7Vatzb2lpd09ZevbQ9bj9fa/3N5/8DLDrhXaS1FJcAAAAASUVORK5CYII=
11
- `;if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsRank-D3y9cpOQ.cjs")).then(t=>t.CasinoTournamentsRank_ce).then(({default:t})=>{!customElements.get("casino-tournaments-rank")&&customElements.define("casino-tournaments-rank",t.element)})}function bi(e){i.append_styles(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}")}function qt(e,t,n){const r=e.slice();return r[64]=t[n],r[66]=n,r}function Yt(e){let t,n,r,a=e[13]("loading")+"",o,f,c,d,l,h;return{c(){t=i.element("div"),n=i.element("div"),r=i.element("span"),o=i.text(a),f=i.space(),c=i.element("div"),d=i.element("casino-tournaments-rank"),l=i.space(),h=i.element("div"),h.innerHTML="",i.attr(r,"part","TournamentInfo_Name_link"),i.attr(n,"part","TournamentInfo_Name"),i.attr(n,"class","name"),i.set_custom_element_data(d,"displayin","col"),i.set_custom_element_data(d,"showicon","false"),i.set_custom_element_data(d,"userrank","-"),i.set_custom_element_data(d,"prize","-"),i.set_custom_element_data(d,"overallrank","-"),i.set_custom_element_data(d,"tournamentid",""),i.set_custom_element_data(d,"clientstyling",e[1]),i.set_custom_element_data(d,"clientstylingurl",e[2]),i.attr(c,"part","TournamentInfo_Rank"),i.attr(c,"class","rank"),i.attr(h,"part","TournamentInfo_Points"),i.attr(h,"class","circle"),i.attr(t,"part","TournamentLoading"),i.attr(t,"class","TournamentInfo SearchLoading"),i.set_style(t,"height","200px")},m(g,v){i.insert(g,t,v),i.append(t,n),i.append(n,r),i.append(r,o),i.append(t,f),i.append(t,c),i.append(c,d),i.append(t,l),i.append(t,h)},p(g,v){v[0]&8192&&a!==(a=g[13]("loading")+"")&&i.set_data(o,a),v[0]&2&&i.set_custom_element_data(d,"clientstyling",g[1]),v[0]&4&&i.set_custom_element_data(d,"clientstylingurl",g[2])},d(g){g&&i.detach(t)}}}function Wt(e){let t,n,r,a=e[7].name+"",o,f,c,d,l,h,g,v,R,_,x,H,B,M,N,D=i.ensure_array_like(e[4]),T=[];for(let E=0;E<D.length;E+=1)T[E]=Kt(qt(e,D,E));return{c(){t=i.element("div"),n=i.element("div"),r=i.element("span"),o=i.text(a),c=i.space(),d=i.element("div"),l=i.element("casino-tournaments-rank"),_=i.space(),x=i.element("div");for(let E=0;E<T.length;E+=1)T[E].c();i.attr(r,"part","TournamentInfo_Name_link"),i.attr(r,"class","TournamentNameLink"),i.attr(r,"title",f=e[7].name),i.attr(n,"part","TournamentInfo_Name"),i.attr(n,"class","name"),i.set_custom_element_data(l,"displayin","col"),i.set_custom_element_data(l,"showicon","false"),i.set_custom_element_data(l,"userrank",h=e[7].rank),i.set_custom_element_data(l,"prize",g=e[7].prize),i.set_custom_element_data(l,"overallrank",v=e[7].overallRank),i.set_custom_element_data(l,"tournamentid",R=e[7].id),i.set_custom_element_data(l,"clientstyling",e[1]),i.set_custom_element_data(l,"clientstylingurl",e[2]),i.attr(d,"part","TournamentInfo_Rank"),i.attr(d,"class","rank"),i.attr(x,"part","TournamentInfo_Points"),i.attr(x,"class","circle"),i.attr(t,"part","TournamentInfo"),i.attr(t,"class","TournamentInfo")},m(E,G){i.insert(E,t,G),i.append(t,n),i.append(n,r),i.append(r,o),i.append(t,c),i.append(t,d),i.append(d,l),i.append(t,_),i.append(t,x);for(let F=0;F<T.length;F+=1)T[F]&&T[F].m(x,null);e[27](t),B=!0,M||(N=i.listen(r,"click",e[26]),M=!0)},p(E,G){if((!B||G[0]&128)&&a!==(a=E[7].name+"")&&i.set_data(o,a),(!B||G[0]&128&&f!==(f=E[7].name))&&i.attr(r,"title",f),(!B||G[0]&128&&h!==(h=E[7].rank))&&i.set_custom_element_data(l,"userrank",h),(!B||G[0]&128&&g!==(g=E[7].prize))&&i.set_custom_element_data(l,"prize",g),(!B||G[0]&128&&v!==(v=E[7].overallRank))&&i.set_custom_element_data(l,"overallrank",v),(!B||G[0]&128&&R!==(R=E[7].id))&&i.set_custom_element_data(l,"tournamentid",R),(!B||G[0]&2)&&i.set_custom_element_data(l,"clientstyling",E[1]),(!B||G[0]&4)&&i.set_custom_element_data(l,"clientstylingurl",E[2]),G[0]&48){D=i.ensure_array_like(E[4]);let F;for(F=0;F<D.length;F+=1){const te=qt(E,D,F);T[F]?T[F].p(te,G):(T[F]=Kt(te),T[F].c(),T[F].m(x,null))}for(;F<T.length;F+=1)T[F].d(1);T.length=D.length}},i(E){B||(E&&i.add_render_callback(()=>{B&&(H||(H=i.create_bidirectional_transition(t,Lt,{delay:250,duration:300},!0)),H.run(1))}),B=!0)},o(E){E&&(H||(H=i.create_bidirectional_transition(t,Lt,{delay:250,duration:300},!1)),H.run(0)),B=!1},d(E){E&&i.detach(t),i.destroy_each(T,E),e[27](null),E&&H&&H.end(),M=!1,N()}}}function Kt(e){let t,n,r;return{c(){t=i.svg_element("svg"),n=i.svg_element("circle"),i.attr(n,"cx","2.77888"),i.attr(n,"cy","2.50837"),i.attr(n,"r","2.28571"),i.attr(n,"fill","currentColor"),i.attr(n,"stroke","currentColor"),i.attr(t,"class",r=e[5]==e[66]?"active":""),i.attr(t,"width","6"),i.attr(t,"height","5"),i.attr(t,"viewBox","0 0 6 5"),i.attr(t,"fill","none"),i.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(a,o){i.insert(a,t,o),i.append(t,n)},p(a,o){o[0]&32&&r!==(r=a[5]==a[66]?"active":"")&&i.attr(t,"class",r)},d(a){a&&i.detach(t)}}}function $t(e){let t,n;return{c(){t=i.svg_element("svg"),n=i.svg_element("path"),i.attr(n,"fill-rule","evenodd"),i.attr(n,"clip-rule","evenodd"),i.attr(n,"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"),i.attr(t,"width","6"),i.attr(t,"height","10"),i.attr(t,"fill","currentColor"),i.attr(t,"viewBox","0 0 6 10"),i.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(r,a){i.insert(r,t,a),i.append(t,n)},d(r){r&&i.detach(t)}}}function yi(e){let t,n,r,a,o,f,c,d,l,h,g,v,R,_,x,H,B,M,N,D,T,E,G,F,te,se,Z,k=!e[4]&&Yt(e),X=e[4]&&e[4].length>0&&Wt(e),V=e[9]&&$t();return{c(){t=i.element("div"),n=i.element("div"),r=i.element("div"),a=i.svg_element("svg"),o=i.svg_element("path"),c=i.space(),k&&k.c(),d=i.space(),X&&X.c(),l=i.space(),h=i.element("div"),g=i.svg_element("svg"),v=i.svg_element("path"),R=i.space(),V&&V.c(),_=i.space(),x=i.element("section"),H=i.element("div"),B=i.svg_element("svg"),M=i.svg_element("rect"),N=i.svg_element("defs"),D=i.svg_element("pattern"),T=i.svg_element("use"),E=i.svg_element("image"),F=i.space(),te=i.element("div"),te.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>',i.attr(o,"fill-rule","evenodd"),i.attr(o,"clip-rule","evenodd"),i.attr(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"),i.attr(a,"width","6"),i.attr(a,"height","10"),i.attr(a,"viewBox","0 0 6 10"),i.attr(a,"fill","currentColor"),i.attr(a,"xmlns","http://www.w3.org/2000/svg"),i.attr(r,"part","Tournaments_ArrowLeft"),i.attr(r,"class",f="ArrowLeft "+(e[8]?"Disabled":"")),i.attr(v,"fill-rule","evenodd"),i.attr(v,"clip-rule","evenodd"),i.attr(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"),i.attr(g,"width","6"),i.attr(g,"height","10"),i.attr(g,"fill","currentColor"),i.attr(g,"viewBox","0 0 6 10"),i.attr(g,"xmlns","http://www.w3.org/2000/svg"),i.attr(h,"part","Tournaments_ArrowRight"),i.attr(h,"class","ArrowRight"),i.attr(n,"part","Tournaments"),i.attr(n,"class","casino-tournaments-slider-controller"),i.attr(M,"width",e[0]),i.attr(M,"height",e[0]),i.attr(M,"fill","url(#pattern0)"),i.xlink_attr(T,"xlink:href","#image0_2606_356"),i.attr(T,"transform","scale(0.00195312)"),i.attr(D,"id","pattern0"),i.attr(D,"patternContentUnits","objectBoundingBox"),i.attr(D,"width","1"),i.attr(D,"height","1"),i.attr(E,"id","image0_2606_356"),i.attr(E,"width","512"),i.attr(E,"height","512"),i.xlink_attr(E,"xlink:href",e[12]),i.attr(B,"width",e[0]),i.attr(B,"height",e[0]),i.attr(B,"viewBox",G=`0 0 ${e[0]} ${e[0]}`),i.attr(B,"fill","none"),i.attr(B,"xmlns","http://www.w3.org/2000/svg"),i.attr(B,"xmlns:xlink","http://www.w3.org/1999/xlink"),i.attr(H,"class","svg"),i.attr(H,"part","Icon"),i.attr(te,"class","restoreButton"),i.attr(te,"part","RestoreButton"),i.attr(x,"id","animator"),i.attr(x,"part","Animator")},m(Q,Y){i.insert(Q,t,Y),i.append(t,n),i.append(n,r),i.append(r,a),i.append(a,o),i.append(n,c),k&&k.m(n,null),i.append(n,d),X&&X.m(n,null),i.append(n,l),i.append(n,h),i.append(h,g),i.append(g,v),i.append(h,R),V&&V.m(h,null),e[29](n),i.append(t,_),i.append(t,x),i.append(x,H),i.append(H,B),i.append(B,M),i.append(B,N),i.append(N,D),i.append(D,T),i.append(N,E),i.append(x,F),i.append(x,te),e[30](x),e[32](t),se||(Z=[i.listen(r,"click",e[25]),i.listen(h,"click",e[28]),i.listen(x,"click",e[31])],se=!0)},p(Q,Y){Y[0]&256&&f!==(f="ArrowLeft "+(Q[8]?"Disabled":""))&&i.attr(r,"class",f),Q[4]?k&&(k.d(1),k=null):k?k.p(Q,Y):(k=Yt(Q),k.c(),k.m(n,d)),Q[4]&&Q[4].length>0?X?(X.p(Q,Y),Y[0]&16&&i.transition_in(X,1)):(X=Wt(Q),X.c(),i.transition_in(X,1),X.m(n,l)):X&&(i.group_outros(),i.transition_out(X,1,1,()=>{X=null}),i.check_outros()),Q[9]?V||(V=$t(),V.c(),V.m(h,null)):V&&(V.d(1),V=null),Y[0]&1&&i.attr(M,"width",Q[0]),Y[0]&1&&i.attr(M,"height",Q[0]),Y[0]&4096&&i.xlink_attr(E,"xlink:href",Q[12]),Y[0]&1&&i.attr(B,"width",Q[0]),Y[0]&1&&i.attr(B,"height",Q[0]),Y[0]&1&&G!==(G=`0 0 ${Q[0]} ${Q[0]}`)&&i.attr(B,"viewBox",G)},i(Q){i.transition_in(X)},o(Q){i.transition_out(X)},d(Q){Q&&i.detach(t),k&&k.d(),X&&X.d(),V&&V.d(),e[29](null),e[30](null),e[32](null),se=!1,i.run_all(Z)}}}let At=1,gt=300;function wi(e,t,n){let r,a;i.component_subscribe(e,mi,u=>n(13,a=u));let{session:o=""}=t,{endpoint:f=""}=t,{lang:c="en"}=t,{tournamentsshownnumber:d=5}=t,{looptime:l="5"}=t,{iconsize:h="9"}=t,{icon:g=""}=t,{clientstyling:v=""}=t,{clientstylingurl:R=""}=t,{translationurl:_=""}=t,x,H=[],B,M=0,N=!0,D=!1,T,E,G=null,F=null,te,se=!1,Z,k;Ai({withLocale:"en",translations:{}});const X=()=>{fetch(_).then(A=>A.json()).then(A=>{Object.keys(A).forEach(I=>{Vt(I,A[I])})}).catch(A=>{console.log(A)})};Object.keys(Zt).forEach(u=>{Vt(u,Zt[u])});const V=u=>{u.data&&u.data.type=="TournamentList"&&n(4,H=u.data.tournamentList)},Q=()=>{o.length>0&&o!="false"},Y=()=>{gi(c)},ce=()=>{H.length!==0&&(K.curTournament.hide(),setTimeout(()=>{n(5,M=(M+1)%H.length),K.curTournament.show()},gt*1.5))},de=()=>{clearInterval(te),te=setInterval(()=>{se||ce()},Number(l)*1e3)},he=u=>{K.curTournament.hide(),de(),u>0&&D&&Fe(),!(u>0&&D||u<0&&N)&&setTimeout(()=>{n(5,M=M+u),K.curTournament.show()},gt*1.5)},xe=u=>setTimeout(()=>u(),At*1e3),K={icon:{init(){n(10,Z.style.transition=`all ${At}s ease-in-out`,Z)},show(){n(10,Z.style.display="flex",Z),xe(()=>n(10,Z.style.opacity="1",Z))},hide(){n(10,Z.style.display="none",Z),n(10,Z.style.opacity="0",Z)}},slider:{init(){n(6,E.style.transition=`all ${At}s ease-in-out`,E)},show(){n(6,E.style.opacity="1",E),n(6,E.style.transform=null,E),document.querySelector("body").style["overflow-x"]="hidden"},hide(){this.init(),n(6,E.style.opacity="0",E),n(6,E.style.transform=`translateX(${E.clientWidth+20}px)`,E),xe(()=>document.querySelector("body").setAttribute("style",null))}},curTournament:{init(){n(11,k.style.transition=`all ${gt}ms linear`,k)},show(){n(11,k.style.opacity="1",k)},hide(){this.init(),n(11,k.style.opacity="0",k)}}},Be=()=>{K.slider.show(),K.icon.hide(),se=!1},Fe=()=>{K.slider.hide(),K.icon.show(),se=!0},Qe=u=>({id:u.tournament.id,name:u.tournament.nameOrTitle,rank:u.leaderBoard?u.leaderBoard.rank:"-",overallRank:u.endRank,prize:u.leaderBoard&&u.leaderBoard.prizeName?u.leaderBoard.prizeName:"-"}),je=u=>{window.postMessage({type:"MyTournamentFromNavClicked",tournamentid:u,showLeaderboard:!0},window.location.href)},Je=(u,A,I)=>(u.append("pagination",`offset=${A},limit=${I}`),u.append("sortField","StartTime"),u.append("sortOrder","desc"),u.append("fields","id,nameOrTitle,state"),u.append("language",c),u.append("filter","state=Running"),u),Xe=u=>{let A=Qe(u),I=H.findIndex(z=>z.id==A.id);M==I&&window.postMessage({type:`TournamentRankInfo_${A.id}}`,rankInfo:{rank:A.rank,overallRank:A.overallRank,prize:A.prize}},window.location.href),n(4,H[I]=A,H)},ye=u=>{if(u.data)try{let A=u.data,I=JSON.parse(A);I.messageType=="PlayerLeaderBoardsUpdate"&&I.items?I.items.forEach((z,me)=>{Xe(z)}):I.messageType=="PlayerLeaderBoardUpdate"&&I.item&&Xe(I.item)}catch(A){console.log(A)}},Pe=u=>u.touches||u.originalEvent.touches,pe=u=>{const A=Pe(u)[0];G=A.clientX,F=A.clientY},oe=u=>{if(!G||!F)return;let A=u.touches[0].clientX,I=u.touches[0].clientY,z=G-A,me=F-I;Math.abs(z)>Math.abs(me)&&(z>0?he(1):he(-1)),G=null,F=null},at=()=>{E.addEventListener("touchstart",pe,{passive:!0}),E.addEventListener("touchmove",oe,{passive:!0})},ot=()=>{if(!f)return;T&&(T.removeEventListener("message",ye),T.close());let u=new URL(`${f}/v1/tournaments/leaderboard/player/updates`);Je(u.searchParams,0,d),T=new vi.EventSourcePolyfill(u.href,{headers:{accept:"text/event-stream","X-SessionId":o}}),typeof T!="undefined"&&T.addEventListener("message",ye)},st=()=>{let u=document.createElement("style");u.innerHTML=v,x.appendChild(u)},ze=()=>{let u=new URL(R),A=document.createElement("style");fetch(u.href).then(I=>I.text()).then(I=>{A.innerHTML=I,setTimeout(()=>{x.appendChild(A)},1),setTimeout(()=>{},500)})},s=()=>{if(!f||!o)return;let u=new URL(`${f}/v1/tournaments/leaderboard/player`),A=new Headers;Je(u.searchParams,0,d),o&&A.append("X-SessionID",o),fetch(u,{method:"GET",headers:A}).then(z=>z.json()).then(z=>{if(!z.items)return;n(4,H=[]),z.items.forEach((ne,ee)=>{H.push(Qe(ne))}),n(7,B=H[M]),ot(),de()})};let p=!1;i.onMount(()=>(n(24,p=!0),window.addEventListener("message",V,!1),setTimeout(()=>{n(17,c="tr")},5e3),()=>{clearInterval(te),window.removeEventListener("message",V),T&&T.removeEventListener("message",ye),E.removeEventListener("touchstart",pe),E.removeEventListener("touchmove",oe)}));const b=()=>he(-1),m=()=>je(B.id);function w(u){i.binding_callbacks[u?"unshift":"push"](()=>{k=u,n(11,k)})}const y=()=>he(1);function C(u){i.binding_callbacks[u?"unshift":"push"](()=>{E=u,n(6,E)})}function j(u){i.binding_callbacks[u?"unshift":"push"](()=>{Z=u,n(10,Z)})}const S=()=>Be();function U(u){i.binding_callbacks[u?"unshift":"push"](()=>{x=u,n(3,x)})}return e.$$set=u=>{"session"in u&&n(18,o=u.session),"endpoint"in u&&n(19,f=u.endpoint),"lang"in u&&n(17,c=u.lang),"tournamentsshownnumber"in u&&n(20,d=u.tournamentsshownnumber),"looptime"in u&&n(21,l=u.looptime),"iconsize"in u&&n(0,h=u.iconsize),"icon"in u&&n(22,g=u.icon),"clientstyling"in u&&n(1,v=u.clientstyling),"clientstylingurl"in u&&n(2,R=u.clientstylingurl),"translationurl"in u&&n(23,_=u.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&10&&x&&v&&st(),e.$$.dirty[0]&12&&x&&R&&ze(),e.$$.dirty[0]&4194304&&n(12,r=g||Ei),e.$$.dirty[0]&18481152&&p&&f&&d&&c&&s(),e.$$.dirty[0]&64&&E&&at(),e.$$.dirty[0]&262144&&o&&Q(),e.$$.dirty[0]&131072&&c&&Y(),e.$$.dirty[0]&8388608&&_&&X(),e.$$.dirty[0]&48&&n(7,B=H[M]),e.$$.dirty[0]&48&&n(9,D=M==H.length-1),e.$$.dirty[0]&32&&n(8,N=M==0)},[h,v,R,x,H,M,E,B,N,D,Z,k,r,a,he,Be,je,c,o,f,d,l,g,_,p,b,m,w,y,C,j,S,U]}class Bn extends i.SvelteComponent{constructor(t){super(),i.init(this,t,wi,yi,i.safe_not_equal,{session:18,endpoint:19,lang:17,tournamentsshownnumber:20,looptime:21,iconsize:0,icon:22,clientstyling:1,clientstylingurl:2,translationurl:23},bi,[-1,-1,-1])}get session(){return this.$$.ctx[18]}set session(t){this.$$set({session:t}),i.flush()}get endpoint(){return this.$$.ctx[19]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),i.flush()}get tournamentsshownnumber(){return this.$$.ctx[20]}set tournamentsshownnumber(t){this.$$set({tournamentsshownnumber:t}),i.flush()}get looptime(){return this.$$.ctx[21]}set looptime(t){this.$$set({looptime:t}),i.flush()}get iconsize(){return this.$$.ctx[0]}set iconsize(t){this.$$set({iconsize:t}),i.flush()}get icon(){return this.$$.ctx[22]}set icon(t){this.$$set({icon:t}),i.flush()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}}i.create_custom_element(Bn,{session:{},endpoint:{},lang:{},tournamentsshownnumber:{},looptime:{},iconsize:{},icon:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=Bn;
11
+ `;if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsRank-D3y9cpOQ.cjs")).then(t=>t.CasinoTournamentsRank_ce).then(({default:t})=>{!customElements.get("casino-tournaments-rank")&&customElements.define("casino-tournaments-rank",t.element)})}function bi(e){i.append_styles(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}")}function qt(e,t,n){const r=e.slice();return r[64]=t[n],r[66]=n,r}function Yt(e){let t,n,r,a=e[13]("loading")+"",o,f,c,d,l,h;return{c(){t=i.element("div"),n=i.element("div"),r=i.element("span"),o=i.text(a),f=i.space(),c=i.element("div"),d=i.element("casino-tournaments-rank"),l=i.space(),h=i.element("div"),h.innerHTML="",i.attr(r,"part","TournamentInfo_Name_link"),i.attr(n,"part","TournamentInfo_Name"),i.attr(n,"class","name"),i.set_custom_element_data(d,"displayin","col"),i.set_custom_element_data(d,"showicon","false"),i.set_custom_element_data(d,"userrank","-"),i.set_custom_element_data(d,"prize","-"),i.set_custom_element_data(d,"overallrank","-"),i.set_custom_element_data(d,"tournamentid",""),i.set_custom_element_data(d,"clientstyling",e[1]),i.set_custom_element_data(d,"clientstylingurl",e[2]),i.attr(c,"part","TournamentInfo_Rank"),i.attr(c,"class","rank"),i.attr(h,"part","TournamentInfo_Points"),i.attr(h,"class","circle"),i.attr(t,"part","TournamentLoading"),i.attr(t,"class","TournamentInfo SearchLoading"),i.set_style(t,"height","200px")},m(g,v){i.insert(g,t,v),i.append(t,n),i.append(n,r),i.append(r,o),i.append(t,f),i.append(t,c),i.append(c,d),i.append(t,l),i.append(t,h)},p(g,v){v[0]&8192&&a!==(a=g[13]("loading")+"")&&i.set_data(o,a),v[0]&2&&i.set_custom_element_data(d,"clientstyling",g[1]),v[0]&4&&i.set_custom_element_data(d,"clientstylingurl",g[2])},d(g){g&&i.detach(t)}}}function Wt(e){let t,n,r,a=e[7].name+"",o,f,c,d,l,h,g,v,R,_,x,H,B,M,L,D=i.ensure_array_like(e[4]),T=[];for(let E=0;E<D.length;E+=1)T[E]=Kt(qt(e,D,E));return{c(){t=i.element("div"),n=i.element("div"),r=i.element("span"),o=i.text(a),c=i.space(),d=i.element("div"),l=i.element("casino-tournaments-rank"),_=i.space(),x=i.element("div");for(let E=0;E<T.length;E+=1)T[E].c();i.attr(r,"part","TournamentInfo_Name_link"),i.attr(r,"class","TournamentNameLink"),i.attr(r,"title",f=e[7].name),i.attr(n,"part","TournamentInfo_Name"),i.attr(n,"class","name"),i.set_custom_element_data(l,"displayin","col"),i.set_custom_element_data(l,"showicon","false"),i.set_custom_element_data(l,"userrank",h=e[7].rank),i.set_custom_element_data(l,"prize",g=e[7].prize),i.set_custom_element_data(l,"overallrank",v=e[7].overallRank),i.set_custom_element_data(l,"tournamentid",R=e[7].id),i.set_custom_element_data(l,"clientstyling",e[1]),i.set_custom_element_data(l,"clientstylingurl",e[2]),i.attr(d,"part","TournamentInfo_Rank"),i.attr(d,"class","rank"),i.attr(x,"part","TournamentInfo_Points"),i.attr(x,"class","circle"),i.attr(t,"part","TournamentInfo"),i.attr(t,"class","TournamentInfo")},m(E,G){i.insert(E,t,G),i.append(t,n),i.append(n,r),i.append(r,o),i.append(t,c),i.append(t,d),i.append(d,l),i.append(t,_),i.append(t,x);for(let F=0;F<T.length;F+=1)T[F]&&T[F].m(x,null);e[27](t),B=!0,M||(L=i.listen(r,"click",e[26]),M=!0)},p(E,G){if((!B||G[0]&128)&&a!==(a=E[7].name+"")&&i.set_data(o,a),(!B||G[0]&128&&f!==(f=E[7].name))&&i.attr(r,"title",f),(!B||G[0]&128&&h!==(h=E[7].rank))&&i.set_custom_element_data(l,"userrank",h),(!B||G[0]&128&&g!==(g=E[7].prize))&&i.set_custom_element_data(l,"prize",g),(!B||G[0]&128&&v!==(v=E[7].overallRank))&&i.set_custom_element_data(l,"overallrank",v),(!B||G[0]&128&&R!==(R=E[7].id))&&i.set_custom_element_data(l,"tournamentid",R),(!B||G[0]&2)&&i.set_custom_element_data(l,"clientstyling",E[1]),(!B||G[0]&4)&&i.set_custom_element_data(l,"clientstylingurl",E[2]),G[0]&48){D=i.ensure_array_like(E[4]);let F;for(F=0;F<D.length;F+=1){const te=qt(E,D,F);T[F]?T[F].p(te,G):(T[F]=Kt(te),T[F].c(),T[F].m(x,null))}for(;F<T.length;F+=1)T[F].d(1);T.length=D.length}},i(E){B||(E&&i.add_render_callback(()=>{B&&(H||(H=i.create_bidirectional_transition(t,Nt,{delay:250,duration:300},!0)),H.run(1))}),B=!0)},o(E){E&&(H||(H=i.create_bidirectional_transition(t,Nt,{delay:250,duration:300},!1)),H.run(0)),B=!1},d(E){E&&i.detach(t),i.destroy_each(T,E),e[27](null),E&&H&&H.end(),M=!1,L()}}}function Kt(e){let t,n,r;return{c(){t=i.svg_element("svg"),n=i.svg_element("circle"),i.attr(n,"cx","2.77888"),i.attr(n,"cy","2.50837"),i.attr(n,"r","2.28571"),i.attr(n,"fill","currentColor"),i.attr(n,"stroke","currentColor"),i.attr(t,"class",r=e[5]==e[66]?"active":""),i.attr(t,"width","6"),i.attr(t,"height","5"),i.attr(t,"viewBox","0 0 6 5"),i.attr(t,"fill","none"),i.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(a,o){i.insert(a,t,o),i.append(t,n)},p(a,o){o[0]&32&&r!==(r=a[5]==a[66]?"active":"")&&i.attr(t,"class",r)},d(a){a&&i.detach(t)}}}function $t(e){let t,n;return{c(){t=i.svg_element("svg"),n=i.svg_element("path"),i.attr(n,"fill-rule","evenodd"),i.attr(n,"clip-rule","evenodd"),i.attr(n,"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"),i.attr(t,"width","6"),i.attr(t,"height","10"),i.attr(t,"fill","currentColor"),i.attr(t,"viewBox","0 0 6 10"),i.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(r,a){i.insert(r,t,a),i.append(t,n)},d(r){r&&i.detach(t)}}}function yi(e){let t,n,r,a,o,f,c,d,l,h,g,v,R,_,x,H,B,M,L,D,T,E,G,F,te,se,Z,k=!e[4]&&Yt(e),X=e[4]&&e[4].length>0&&Wt(e),V=e[9]&&$t();return{c(){t=i.element("div"),n=i.element("div"),r=i.element("div"),a=i.svg_element("svg"),o=i.svg_element("path"),c=i.space(),k&&k.c(),d=i.space(),X&&X.c(),l=i.space(),h=i.element("div"),g=i.svg_element("svg"),v=i.svg_element("path"),R=i.space(),V&&V.c(),_=i.space(),x=i.element("section"),H=i.element("div"),B=i.svg_element("svg"),M=i.svg_element("rect"),L=i.svg_element("defs"),D=i.svg_element("pattern"),T=i.svg_element("use"),E=i.svg_element("image"),F=i.space(),te=i.element("div"),te.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>',i.attr(o,"fill-rule","evenodd"),i.attr(o,"clip-rule","evenodd"),i.attr(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"),i.attr(a,"width","6"),i.attr(a,"height","10"),i.attr(a,"viewBox","0 0 6 10"),i.attr(a,"fill","currentColor"),i.attr(a,"xmlns","http://www.w3.org/2000/svg"),i.attr(r,"part","Tournaments_ArrowLeft"),i.attr(r,"class",f="ArrowLeft "+(e[8]?"Disabled":"")),i.attr(v,"fill-rule","evenodd"),i.attr(v,"clip-rule","evenodd"),i.attr(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"),i.attr(g,"width","6"),i.attr(g,"height","10"),i.attr(g,"fill","currentColor"),i.attr(g,"viewBox","0 0 6 10"),i.attr(g,"xmlns","http://www.w3.org/2000/svg"),i.attr(h,"part","Tournaments_ArrowRight"),i.attr(h,"class","ArrowRight"),i.attr(n,"part","Tournaments"),i.attr(n,"class","casino-tournaments-slider-controller"),i.attr(M,"width",e[0]),i.attr(M,"height",e[0]),i.attr(M,"fill","url(#pattern0)"),i.xlink_attr(T,"xlink:href","#image0_2606_356"),i.attr(T,"transform","scale(0.00195312)"),i.attr(D,"id","pattern0"),i.attr(D,"patternContentUnits","objectBoundingBox"),i.attr(D,"width","1"),i.attr(D,"height","1"),i.attr(E,"id","image0_2606_356"),i.attr(E,"width","512"),i.attr(E,"height","512"),i.xlink_attr(E,"xlink:href",e[12]),i.attr(B,"width",e[0]),i.attr(B,"height",e[0]),i.attr(B,"viewBox",G=`0 0 ${e[0]} ${e[0]}`),i.attr(B,"fill","none"),i.attr(B,"xmlns","http://www.w3.org/2000/svg"),i.attr(B,"xmlns:xlink","http://www.w3.org/1999/xlink"),i.attr(H,"class","svg"),i.attr(H,"part","Icon"),i.attr(te,"class","restoreButton"),i.attr(te,"part","RestoreButton"),i.attr(x,"id","animator"),i.attr(x,"part","Animator")},m(Q,Y){i.insert(Q,t,Y),i.append(t,n),i.append(n,r),i.append(r,a),i.append(a,o),i.append(n,c),k&&k.m(n,null),i.append(n,d),X&&X.m(n,null),i.append(n,l),i.append(n,h),i.append(h,g),i.append(g,v),i.append(h,R),V&&V.m(h,null),e[29](n),i.append(t,_),i.append(t,x),i.append(x,H),i.append(H,B),i.append(B,M),i.append(B,L),i.append(L,D),i.append(D,T),i.append(L,E),i.append(x,F),i.append(x,te),e[30](x),e[32](t),se||(Z=[i.listen(r,"click",e[25]),i.listen(h,"click",e[28]),i.listen(x,"click",e[31])],se=!0)},p(Q,Y){Y[0]&256&&f!==(f="ArrowLeft "+(Q[8]?"Disabled":""))&&i.attr(r,"class",f),Q[4]?k&&(k.d(1),k=null):k?k.p(Q,Y):(k=Yt(Q),k.c(),k.m(n,d)),Q[4]&&Q[4].length>0?X?(X.p(Q,Y),Y[0]&16&&i.transition_in(X,1)):(X=Wt(Q),X.c(),i.transition_in(X,1),X.m(n,l)):X&&(i.group_outros(),i.transition_out(X,1,1,()=>{X=null}),i.check_outros()),Q[9]?V||(V=$t(),V.c(),V.m(h,null)):V&&(V.d(1),V=null),Y[0]&1&&i.attr(M,"width",Q[0]),Y[0]&1&&i.attr(M,"height",Q[0]),Y[0]&4096&&i.xlink_attr(E,"xlink:href",Q[12]),Y[0]&1&&i.attr(B,"width",Q[0]),Y[0]&1&&i.attr(B,"height",Q[0]),Y[0]&1&&G!==(G=`0 0 ${Q[0]} ${Q[0]}`)&&i.attr(B,"viewBox",G)},i(Q){i.transition_in(X)},o(Q){i.transition_out(X)},d(Q){Q&&i.detach(t),k&&k.d(),X&&X.d(),V&&V.d(),e[29](null),e[30](null),e[32](null),se=!1,i.run_all(Z)}}}let At=1,gt=300;function wi(e,t,n){let r,a;i.component_subscribe(e,mi,u=>n(13,a=u));let{session:o=""}=t,{endpoint:f=""}=t,{lang:c="en"}=t,{tournamentsshownnumber:d=5}=t,{looptime:l="5"}=t,{iconsize:h="9"}=t,{icon:g=""}=t,{clientstyling:v=""}=t,{clientstylingurl:R=""}=t,{translationurl:_=""}=t,x,H=[],B,M=0,L=!0,D=!1,T,E,G=null,F=null,te,se=!1,Z,k;Ai({withLocale:"en",translations:{}});const X=()=>{fetch(_).then(A=>A.json()).then(A=>{Object.keys(A).forEach(I=>{Vt(I,A[I])})}).catch(A=>{console.log(A)})};Object.keys(Zt).forEach(u=>{Vt(u,Zt[u])});const V=u=>{u.data&&u.data.type=="TournamentList"&&n(4,H=u.data.tournamentList)},Q=()=>{o.length>0&&o!="false"},Y=()=>{gi(c)},ce=()=>{H.length!==0&&(K.curTournament.hide(),setTimeout(()=>{n(5,M=(M+1)%H.length),K.curTournament.show()},gt*1.5))},de=()=>{clearInterval(te),te=setInterval(()=>{se||ce()},Number(l)*1e3)},he=u=>{K.curTournament.hide(),de(),u>0&&D&&Fe(),!(u>0&&D||u<0&&L)&&setTimeout(()=>{n(5,M=M+u),K.curTournament.show()},gt*1.5)},xe=u=>setTimeout(()=>u(),At*1e3),K={icon:{init(){n(10,Z.style.transition=`all ${At}s ease-in-out`,Z)},show(){n(10,Z.style.display="flex",Z),xe(()=>n(10,Z.style.opacity="1",Z))},hide(){n(10,Z.style.display="none",Z),n(10,Z.style.opacity="0",Z)}},slider:{init(){n(6,E.style.transition=`all ${At}s ease-in-out`,E)},show(){n(6,E.style.opacity="1",E),n(6,E.style.transform=null,E),document.querySelector("body").style["overflow-x"]="hidden"},hide(){this.init(),n(6,E.style.opacity="0",E),n(6,E.style.transform=`translateX(${E.clientWidth+20}px)`,E),xe(()=>document.querySelector("body").setAttribute("style",null))}},curTournament:{init(){n(11,k.style.transition=`all ${gt}ms linear`,k)},show(){n(11,k.style.opacity="1",k)},hide(){this.init(),n(11,k.style.opacity="0",k)}}},Be=()=>{K.slider.show(),K.icon.hide(),se=!1},Fe=()=>{K.slider.hide(),K.icon.show(),se=!0},Qe=u=>({id:u.tournament.id,name:u.tournament.nameOrTitle,rank:u.leaderBoard?u.leaderBoard.rank:"-",overallRank:u.endRank,prize:u.leaderBoard&&u.leaderBoard.prizeName?u.leaderBoard.prizeName:"-"}),je=u=>{window.postMessage({type:"MyTournamentFromNavClicked",tournamentid:u,showLeaderboard:!0},window.location.href)},Je=(u,A,I)=>(u.append("pagination",`offset=${A},limit=${I}`),u.append("sortField","StartTime"),u.append("sortOrder","desc"),u.append("fields","id,nameOrTitle,state"),u.append("language",c),u.append("filter","state=Running"),u),Xe=u=>{let A=Qe(u),I=H.findIndex(z=>z.id==A.id);M==I&&window.postMessage({type:`TournamentRankInfo_${A.id}}`,rankInfo:{rank:A.rank,overallRank:A.overallRank,prize:A.prize}},window.location.href),n(4,H[I]=A,H)},ye=u=>{if(u.data)try{let A=u.data,I=JSON.parse(A);I.messageType=="PlayerLeaderBoardsUpdate"&&I.items?I.items.forEach((z,me)=>{Xe(z)}):I.messageType=="PlayerLeaderBoardUpdate"&&I.item&&Xe(I.item)}catch(A){console.log(A)}},Pe=u=>u.touches||u.originalEvent.touches,pe=u=>{const A=Pe(u)[0];G=A.clientX,F=A.clientY},oe=u=>{if(!G||!F)return;let A=u.touches[0].clientX,I=u.touches[0].clientY,z=G-A,me=F-I;Math.abs(z)>Math.abs(me)&&(z>0?he(1):he(-1)),G=null,F=null},at=()=>{E.addEventListener("touchstart",pe,{passive:!0}),E.addEventListener("touchmove",oe,{passive:!0})},ot=()=>{if(!f)return;T&&(T.removeEventListener("message",ye),T.close());let u=new URL(`${f}/v1/tournaments/leaderboard/player/updates`);Je(u.searchParams,0,d),T=new vi.EventSourcePolyfill(u.href,{headers:{accept:"text/event-stream","X-SessionId":o}}),typeof T!="undefined"&&T.addEventListener("message",ye)},st=()=>{let u=document.createElement("style");u.innerHTML=v,x.appendChild(u)},ze=()=>{let u=new URL(R),A=document.createElement("style");fetch(u.href).then(I=>I.text()).then(I=>{A.innerHTML=I,setTimeout(()=>{x.appendChild(A)},1),setTimeout(()=>{},500)})},s=()=>{if(!f||!o)return;let u=new URL(`${f}/v1/tournaments/leaderboard/player`),A=new Headers;Je(u.searchParams,0,d),o&&A.append("X-SessionID",o),fetch(u,{method:"GET",headers:A}).then(z=>z.json()).then(z=>{if(!z.items)return;n(4,H=[]),z.items.forEach((ne,ee)=>{H.push(Qe(ne))}),n(7,B=H[M]),ot(),de()})};let p=!1;i.onMount(()=>(n(24,p=!0),window.addEventListener("message",V,!1),setTimeout(()=>{n(17,c="tr")},5e3),()=>{clearInterval(te),window.removeEventListener("message",V),T&&T.removeEventListener("message",ye),E.removeEventListener("touchstart",pe),E.removeEventListener("touchmove",oe)}));const b=()=>he(-1),m=()=>je(B.id);function w(u){i.binding_callbacks[u?"unshift":"push"](()=>{k=u,n(11,k)})}const y=()=>he(1);function C(u){i.binding_callbacks[u?"unshift":"push"](()=>{E=u,n(6,E)})}function j(u){i.binding_callbacks[u?"unshift":"push"](()=>{Z=u,n(10,Z)})}const S=()=>Be();function U(u){i.binding_callbacks[u?"unshift":"push"](()=>{x=u,n(3,x)})}return e.$$set=u=>{"session"in u&&n(18,o=u.session),"endpoint"in u&&n(19,f=u.endpoint),"lang"in u&&n(17,c=u.lang),"tournamentsshownnumber"in u&&n(20,d=u.tournamentsshownnumber),"looptime"in u&&n(21,l=u.looptime),"iconsize"in u&&n(0,h=u.iconsize),"icon"in u&&n(22,g=u.icon),"clientstyling"in u&&n(1,v=u.clientstyling),"clientstylingurl"in u&&n(2,R=u.clientstylingurl),"translationurl"in u&&n(23,_=u.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&10&&x&&v&&st(),e.$$.dirty[0]&12&&x&&R&&ze(),e.$$.dirty[0]&4194304&&n(12,r=g||Ei),e.$$.dirty[0]&18481152&&p&&f&&d&&c&&s(),e.$$.dirty[0]&64&&E&&at(),e.$$.dirty[0]&262144&&o&&Q(),e.$$.dirty[0]&131072&&c&&Y(),e.$$.dirty[0]&8388608&&_&&X(),e.$$.dirty[0]&48&&n(7,B=H[M]),e.$$.dirty[0]&48&&n(9,D=M==H.length-1),e.$$.dirty[0]&32&&n(8,L=M==0)},[h,v,R,x,H,M,E,B,L,D,Z,k,r,a,he,Be,je,c,o,f,d,l,g,_,p,b,m,w,y,C,j,S,U]}class Bn extends i.SvelteComponent{constructor(t){super(),i.init(this,t,wi,yi,i.safe_not_equal,{session:18,endpoint:19,lang:17,tournamentsshownnumber:20,looptime:21,iconsize:0,icon:22,clientstyling:1,clientstylingurl:2,translationurl:23},bi,[-1,-1,-1])}get session(){return this.$$.ctx[18]}set session(t){this.$$set({session:t}),i.flush()}get endpoint(){return this.$$.ctx[19]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),i.flush()}get tournamentsshownnumber(){return this.$$.ctx[20]}set tournamentsshownnumber(t){this.$$set({tournamentsshownnumber:t}),i.flush()}get looptime(){return this.$$.ctx[21]}set looptime(t){this.$$set({looptime:t}),i.flush()}get iconsize(){return this.$$.ctx[0]}set iconsize(t){this.$$set({iconsize:t}),i.flush()}get icon(){return this.$$.ctx[22]}set icon(t){this.$$set({icon:t}),i.flush()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}}i.create_custom_element(Bn,{session:{},endpoint:{},lang:{},tournamentsshownnumber:{},looptime:{},iconsize:{},icon:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=Bn;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsSliderController-C2M2Y7Wb.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-slider-controller")&&customElements.define("casino-tournaments-slider-controller",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsSliderController-DX1aylfU.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-slider-controller")&&customElements.define("casino-tournaments-slider-controller",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsSliderController-BbZNYMFJ.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsSliderController-7MaUhgX-.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-tournaments-slider-controller") && customElements.define("casino-tournaments-slider-controller", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-slider-controller",
3
- "version": "1.50.1",
3
+ "version": "1.52.0",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-slider-controller.cjs",
6
6
  "module": "es2015/casino-tournaments-slider-controller.js",