@everymatrix/casino-tournaments-slider-controller 1.85.17 → 1.85.19

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.
@@ -37,27 +37,27 @@ function re(t, e, n) {
37
37
  }
38
38
  const mt = typeof window < "u";
39
39
  let vt = mt ? () => window.performance.now() : () => Date.now(), rt = mt ? (t) => requestAnimationFrame(t) : M;
40
- const I = /* @__PURE__ */ new Set();
40
+ const U = /* @__PURE__ */ new Set();
41
41
  function _t(t) {
42
- I.forEach((e) => {
43
- e.c(t) || (I.delete(e), e.f());
44
- }), I.size !== 0 && rt(_t);
42
+ U.forEach((e) => {
43
+ e.c(t) || (U.delete(e), e.f());
44
+ }), U.size !== 0 && rt(_t);
45
45
  }
46
46
  function St(t) {
47
47
  let e;
48
- return I.size === 0 && rt(_t), {
48
+ return U.size === 0 && rt(_t), {
49
49
  promise: new Promise((n) => {
50
- I.add(e = { c: t, f: n });
50
+ U.add(e = { c: t, f: n });
51
51
  }),
52
52
  abort() {
53
- I.delete(e);
53
+ U.delete(e);
54
54
  }
55
55
  };
56
56
  }
57
57
  function x(t, e) {
58
58
  t.appendChild(e);
59
59
  }
60
- function Ct(t, e, n) {
60
+ function At(t, e, n) {
61
61
  const i = ot(t);
62
62
  if (!i.getElementById(e)) {
63
63
  const s = E("style");
@@ -74,7 +74,7 @@ function ot(t) {
74
74
  e
75
75
  ) : t.ownerDocument;
76
76
  }
77
- function At(t) {
77
+ function Ct(t) {
78
78
  const e = E("style");
79
79
  return e.textContent = "/* empty */", $t(ot(t), e), e.sheet;
80
80
  }
@@ -151,7 +151,7 @@ function Lt(t) {
151
151
  return e >>> 0;
152
152
  }
153
153
  function Pt(t, e) {
154
- const n = { stylesheet: At(e), rules: {} };
154
+ const n = { stylesheet: Ct(e), rules: {} };
155
155
  return K.set(t, n), n;
156
156
  }
157
157
  function ut(t, e, n, i, s, c, l, o = 0) {
@@ -188,15 +188,15 @@ let q;
188
188
  function B(t) {
189
189
  q = t;
190
190
  }
191
- function Ut() {
191
+ function It() {
192
192
  if (!q)
193
193
  throw new Error("Function called outside component initialization");
194
194
  return q;
195
195
  }
196
- function It(t) {
197
- Ut().$$.on_mount.push(t);
196
+ function Ut(t) {
197
+ It().$$.on_mount.push(t);
198
198
  }
199
- const U = [], nt = [];
199
+ const I = [], nt = [];
200
200
  let j = [];
201
201
  const ft = [], jt = /* @__PURE__ */ Promise.resolve();
202
202
  let it = !1;
@@ -214,21 +214,21 @@ function S() {
214
214
  const t = q;
215
215
  do {
216
216
  try {
217
- for (; T < U.length; ) {
218
- const e = U[T];
217
+ for (; T < I.length; ) {
218
+ const e = I[T];
219
219
  T++, B(e), Ot(e.$$);
220
220
  }
221
221
  } catch (e) {
222
- throw U.length = 0, T = 0, e;
222
+ throw I.length = 0, T = 0, e;
223
223
  }
224
- for (B(null), U.length = 0, T = 0; nt.length; )
224
+ for (B(null), I.length = 0, T = 0; nt.length; )
225
225
  nt.pop()();
226
226
  for (let e = 0; e < j.length; e += 1) {
227
227
  const n = j[e];
228
228
  tt.has(n) || (tt.add(n), n());
229
229
  }
230
230
  j.length = 0;
231
- } while (U.length);
231
+ } while (I.length);
232
232
  for (; ft.length; )
233
233
  ft.pop()();
234
234
  it = !1, tt.clear(), B(t);
@@ -305,14 +305,14 @@ function me(t, e, n, i) {
305
305
  delay: $ = 0,
306
306
  duration: g = 300,
307
307
  easing: v = yt,
308
- tick: C = M,
308
+ tick: A = M,
309
309
  css: z
310
310
  } = c || qt, R = {
311
311
  start: vt() + $,
312
312
  b: a
313
313
  };
314
314
  a || (R.group = P, P.r += 1), "inert" in t && (a ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
315
- t.inert, t.inert = !0)), o || r ? r = R : (z && (d(), f = ut(t, l, a, g, $, v, z)), a && C(0, 1), o = m(R, g), W(() => et(t, a, "start")), St((y) => {
315
+ t.inert, t.inert = !0)), o || r ? r = R : (z && (d(), f = ut(t, l, a, g, $, v, z)), a && A(0, 1), o = m(R, g), W(() => et(t, a, "start")), St((y) => {
316
316
  if (r && y > r.start && (o = m(r, g), r = null, et(t, o.b, "start"), z && (d(), f = ut(
317
317
  t,
318
318
  l,
@@ -323,10 +323,10 @@ function me(t, e, n, i) {
323
323
  c.css
324
324
  ))), o) {
325
325
  if (y >= o.end)
326
- C(l = o.b, 1 - l), et(t, o.b, "end"), r || (o.b ? d() : --o.group.r || H(o.group.c)), o = null;
326
+ A(l = o.b, 1 - l), et(t, o.b, "end"), r || (o.b ? d() : --o.group.r || H(o.group.c)), o = null;
327
327
  else if (y >= o.start) {
328
328
  const L = y - o.start;
329
- l = o.a + o.d * v(L / o.duration), C(l, 1 - l);
329
+ l = o.a + o.d * v(L / o.duration), A(l, 1 - l);
330
330
  }
331
331
  }
332
332
  return !!(o || r);
@@ -358,7 +358,7 @@ function Jt(t, e) {
358
358
  n.fragment !== null && (Dt(n.after_update), H(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
359
359
  }
360
360
  function Vt(t, e) {
361
- t.$$.dirty[0] === -1 && (U.push(t), Ht(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
361
+ t.$$.dirty[0] === -1 && (I.push(t), Ht(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
362
362
  }
363
363
  function Zt(t, e, n, i, s, c, l = null, o = [-1]) {
364
364
  const r = q;
@@ -628,6 +628,8 @@ function Wt(t, e) {
628
628
  }
629
629
  }
630
630
  function Xt(t, e) {
631
+ if (!t || !e)
632
+ return;
631
633
  const n = new URL(e);
632
634
  fetch(n.href).then((i) => i.text()).then((i) => {
633
635
  const s = document.createElement("style");
@@ -646,7 +648,7 @@ function Yt(t, e, n) {
646
648
  }
647
649
  const te = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", ee = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
648
650
  function ne(t) {
649
- Ct(t, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
651
+ At(t, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
650
652
  }
651
653
  function ht(t) {
652
654
  let e;
@@ -677,7 +679,7 @@ function dt(t) {
677
679
  };
678
680
  }
679
681
  function ie(t) {
680
- let e, n, i, s, c, l, o, r, f, p, d, m, w, a, $, g, v, C, z, R, y, L, b = (
682
+ let e, n, i, s, c, l, o, r, f, p, d, m, w, a, $, g, v, A, z, R, y, L, b = (
681
683
  /*showicon*/
682
684
  t[2] == "true" && ht()
683
685
  ), k = (
@@ -692,50 +694,50 @@ function ie(t) {
692
694
  ), l = V(
693
695
  /*rankinfo*/
694
696
  t[7]
695
- ), o = D(), r = E("img"), d = D(), m = E("img"), $ = D(), g = E("div"), k && k.c(), v = D(), C = E("span"), z = V(
697
+ ), o = D(), r = E("img"), d = D(), m = E("img"), $ = D(), g = E("div"), k && k.c(), v = D(), A = E("span"), z = V(
696
698
  /*prize*/
697
699
  t[0]
698
700
  ), h(r, "part", "Rank_Arror_UP"), h(r, "alt", "Rank Up"), lt(r.src, f = te) || h(r, "src", f), h(r, "width", "20"), h(r, "height", "20"), h(r, "class", p = "svg Arrow Up " + /*userRankChanged*/
699
701
  (t[5] && /*isRankingUp*/
700
702
  t[6] ? "Show" : "Hidden")), h(m, "part", "Rank_Arror_Down"), h(m, "alt", "Rank Down"), lt(m.src, w = ee) || h(m, "src", w), h(m, "width", "10"), h(m, "height", "10"), h(m, "class", a = "svg Arrow Down " + /*userRankChanged*/
701
703
  (t[5] && !/*isRankingUp*/
702
- t[6] ? "Show" : "Hidden")), h(s, "class", "RankInfo"), h(s, "part", "RankText"), h(n, "class", "RankSec"), h(n, "part", "Rank"), h(C, "class", "RankInfo UserPrize"), h(C, "part", "PrizeText"), h(g, "class", R = /*displayin*/
704
+ t[6] ? "Show" : "Hidden")), h(s, "class", "RankInfo"), h(s, "part", "RankText"), h(n, "class", "RankSec"), h(n, "part", "Rank"), h(A, "class", "RankInfo UserPrize"), h(A, "part", "PrizeText"), h(g, "class", R = /*displayin*/
703
705
  t[3] + " PrizeSec"), h(g, "part", "Prize"), h(e, "class", y = /*displayin*/
704
706
  t[3] + " casino-tournaments-rank"), h(e, "part", L = /*displayin*/
705
707
  t[3] + " casino-tournaments-rank");
706
708
  },
707
- m(_, A) {
708
- X(_, e, A), x(e, n), b && b.m(n, null), x(n, i), x(n, s), x(s, c), x(s, l), x(s, o), x(s, r), x(s, d), x(s, m), x(e, $), x(e, g), k && k.m(g, null), x(g, v), x(g, C), x(C, z), t[15](e);
709
+ m(_, C) {
710
+ X(_, e, C), x(e, n), b && b.m(n, null), x(n, i), x(n, s), x(s, c), x(s, l), x(s, o), x(s, r), x(s, d), x(s, m), x(e, $), x(e, g), k && k.m(g, null), x(g, v), x(g, A), x(A, z), t[15](e);
709
711
  },
710
- p(_, [A]) {
712
+ p(_, [C]) {
711
713
  /*showicon*/
712
- _[2] == "true" ? b || (b = ht(), b.c(), b.m(n, i)) : b && (b.d(1), b = null), A & /*rankprefix*/
714
+ _[2] == "true" ? b || (b = ht(), b.c(), b.m(n, i)) : b && (b.d(1), b = null), C & /*rankprefix*/
713
715
  2 && Y(
714
716
  c,
715
717
  /*rankprefix*/
716
718
  _[1]
717
- ), A & /*rankinfo*/
719
+ ), C & /*rankinfo*/
718
720
  128 && Y(
719
721
  l,
720
722
  /*rankinfo*/
721
723
  _[7]
722
- ), A & /*userRankChanged, isRankingUp*/
724
+ ), C & /*userRankChanged, isRankingUp*/
723
725
  96 && p !== (p = "svg Arrow Up " + /*userRankChanged*/
724
726
  (_[5] && /*isRankingUp*/
725
- _[6] ? "Show" : "Hidden")) && h(r, "class", p), A & /*userRankChanged, isRankingUp*/
727
+ _[6] ? "Show" : "Hidden")) && h(r, "class", p), C & /*userRankChanged, isRankingUp*/
726
728
  96 && a !== (a = "svg Arrow Down " + /*userRankChanged*/
727
729
  (_[5] && !/*isRankingUp*/
728
730
  _[6] ? "Show" : "Hidden")) && h(m, "class", a), /*showicon*/
729
- _[2] == "true" ? k || (k = dt(), k.c(), k.m(g, v)) : k && (k.d(1), k = null), A & /*prize*/
731
+ _[2] == "true" ? k || (k = dt(), k.c(), k.m(g, v)) : k && (k.d(1), k = null), C & /*prize*/
730
732
  1 && Y(
731
733
  z,
732
734
  /*prize*/
733
735
  _[0]
734
- ), A & /*displayin*/
736
+ ), C & /*displayin*/
735
737
  8 && R !== (R = /*displayin*/
736
- _[3] + " PrizeSec") && h(g, "class", R), A & /*displayin*/
738
+ _[3] + " PrizeSec") && h(g, "class", R), C & /*displayin*/
737
739
  8 && y !== (y = /*displayin*/
738
- _[3] + " casino-tournaments-rank") && h(e, "class", y), A & /*displayin*/
740
+ _[3] + " casino-tournaments-rank") && h(e, "class", y), C & /*displayin*/
739
741
  8 && L !== (L = /*displayin*/
740
742
  _[3] + " casino-tournaments-rank") && h(e, "part", L);
741
743
  },
@@ -747,7 +749,7 @@ function ie(t) {
747
749
  };
748
750
  }
749
751
  function se(t, e, n) {
750
- let { rankprefix: i = "#" } = e, { showicon: s = "true" } = e, { tournamentid: c = "" } = e, { overallrank: l = "0" } = e, { showoverallrank: o = "true" } = e, { userrank: r = "0" } = e, { prize: f = "PrizeName" } = e, { mbsource: p } = e, { displayin: d = "row" } = e, { clientstyling: m = "" } = e, { clientstylingurl: w = "" } = e, a, $, g = !1, v = !0, C, z, R, y, L = "";
752
+ let { rankprefix: i = "#" } = e, { showicon: s = "true" } = e, { tournamentid: c = "" } = e, { overallrank: l = "0" } = e, { showoverallrank: o = "true" } = e, { userrank: r = "0" } = e, { prize: f = "PrizeName" } = e, { mbsource: p } = e, { displayin: d = "row" } = e, { clientstyling: m = "" } = e, { clientstylingurl: w = "" } = e, a, $, g = !1, v = !0, A, z, R, y, L = "";
751
753
  const b = (u) => {
752
754
  u.data && u.data.type == `TournamentRankInfo_${c}` && (k(u.data.rankInfo), _());
753
755
  }, k = (u) => {
@@ -758,19 +760,19 @@ function se(t, e, n) {
758
760
  y = $, ct(u);
759
761
  return;
760
762
  }
761
- $ && (n(5, g = y != u.rank), n(6, v = y > u.rank), C = (/* @__PURE__ */ new Date()).getTime(), R = setTimeout(
763
+ $ && (n(5, g = y != u.rank), n(6, v = y > u.rank), A = (/* @__PURE__ */ new Date()).getTime(), R = setTimeout(
762
764
  () => {
763
- z = (/* @__PURE__ */ new Date()).getTime(), (z - C) / 1e3 > 4 && n(5, g = !1), y = $;
765
+ z = (/* @__PURE__ */ new Date()).getTime(), (z - A) / 1e3 > 4 && n(5, g = !1), y = $;
764
766
  },
765
767
  5e3
766
768
  ), ct(u));
767
769
  }, _ = () => {
768
770
  n(7, L = o == "true" ? `${+r == 0 ? "-" : r || "-"}/${+l == 0 ? "-" : l}` : r);
769
771
  };
770
- It(() => ($ = r == null ? void 0 : parseInt(r), y = $, n(9, r = r ?? "-"), window.addEventListener("message", b, !0), _(), () => {
772
+ Ut(() => ($ = r == null ? void 0 : parseInt(r), y = $, n(9, r = r ?? "-"), window.addEventListener("message", b, !0), _(), () => {
771
773
  window.removeEventListener("message", b), clearTimeout(R);
772
774
  }));
773
- function A(u) {
775
+ function C(u) {
774
776
  nt[u ? "unshift" : "push"](() => {
775
777
  a = u, n(4, a);
776
778
  });
@@ -801,7 +803,7 @@ function se(t, e, n) {
801
803
  p,
802
804
  m,
803
805
  w,
804
- A
806
+ C
805
807
  ];
806
808
  }
807
809
  class wt extends Kt {
@@ -918,7 +920,7 @@ export {
918
920
  st as b,
919
921
  Gt as c,
920
922
  Zt as d,
921
- Ct as e,
923
+ At as e,
922
924
  S as f,
923
925
  O as g,
924
926
  Bt as h,
@@ -936,7 +938,7 @@ export {
936
938
  ge as t,
937
939
  D as u,
938
940
  re as v,
939
- It as w,
941
+ Ut as w,
940
942
  ue as x,
941
943
  Y as y,
942
944
  le as z
@@ -1,4 +1,4 @@
1
1
  "use strict";var jt=Object.defineProperty,Ht=Object.defineProperties;var Nt=Object.getOwnPropertyDescriptors;var ut=Object.getOwnPropertySymbols;var Dt=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable;var it=(e,t,n)=>t in e?jt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ft=(e,t)=>{for(var n in t||(t={}))Dt.call(t,n)&&it(e,n,t[n]);if(ut)for(var n of ut(t))Bt.call(t,n)&&it(e,n,t[n]);return e},ht=(e,t)=>Ht(e,Nt(t));var E=(e,t,n)=>(it(e,typeof t!="symbol"?t+"":t,n),n);var dt=(e,t,n)=>new Promise((i,o)=>{var r=s=>{try{c(n.next(s))}catch(a){o(a)}},l=s=>{try{c(n.throw(s))}catch(a){o(a)}},c=s=>s.done?i(s.value):Promise.resolve(s.value).then(r,l);c((n=n.apply(e,t)).next())});function T(){}const yt=e=>e;function bt(e){return e()}function gt(){return Object.create(null)}function U(e){e.forEach(bt)}function nt(e){return typeof e=="function"}function kt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let K;function mt(e,t){return e===t?!0:(K||(K=document.createElement("a")),K.href=t,e===K.href)}function qt(e){return Object.keys(e).length===0}function xt(e,...t){if(e==null){for(const i of t)i(void 0);return T}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ft(e,t,n){e.$$.on_destroy.push(xt(t,n))}const vt=typeof window!="undefined";let Jt=vt?()=>window.performance.now():()=>Date.now(),ct=vt?e=>requestAnimationFrame(e):T;const N=new Set;function St(e){N.forEach(t=>{t.c(e)||(N.delete(t),t.f())}),N.size!==0&&ct(St)}function Vt(e){let t;return N.size===0&&ct(St),{promise:new Promise(n=>{N.add(t={c:e,f:n})}),abort(){N.delete(t)}}}function k(e,t){e.appendChild(t)}function Ct(e,t,n){const i=lt(e);if(!i.getElementById(t)){const o=C("style");o.id=t,o.textContent=n,At(i,o)}}function lt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Zt(e){const t=C("style");return t.textContent="/* empty */",At(lt(e),t),t.sheet}function At(e,t){return k(e.head||e,t),t.sheet}function Z(e,t,n){e.insertBefore(t,n||null)}function I(e){e.parentNode&&e.parentNode.removeChild(e)}function Gt(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function C(e){return document.createElement(e)}function Kt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function q(e){return document.createTextNode(e)}function j(){return q(" ")}function Qt(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function h(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Wt(e,t,n){const i=t.toLowerCase();i in e?e[i]=typeof e[i]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:h(e,t,n)}function Xt(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function Yt(e){return Array.from(e.childNodes)}function Q(e,t){t=""+t,e.data!==t&&(e.data=t)}function te(e,t,n,i){e.style.setProperty(t,n,"")}function ee(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}function ne(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const Y=new Map;let tt=0;function ie(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function se(e,t){const n={stylesheet:Zt(t),rules:{}};return Y.set(e,n),n}function _t(e,t,n,i,o,r,l,c=0){const s=16.666/i;let a=`{
2
2
  `;for(let g=0;g<=1;g+=s){const S=t+(n-t)*r(g);a+=g*100+`%{${l(S,1-S)}}
3
3
  `}const _=a+`100% {${l(n,1-n)}}
4
- }`,d=`__svelte_${ie(_)}_${c}`,m=lt(e),{stylesheet:w,rules:u}=Y.get(m)||se(m,e);u[d]||(u[d]=!0,w.insertRule(`@keyframes ${d} ${_}`,w.cssRules.length));const p=e.style.animation||"";return e.style.animation=`${p?`${p}, `:""}${d} ${i}ms linear ${o}ms 1 both`,tt+=1,d}function re(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?r=>r.indexOf(t)<0:r=>r.indexOf("__svelte")===-1),o=n.length-i.length;o&&(e.style.animation=i.join(", "),tt-=o,tt||oe())}function oe(){ct(()=>{tt||(Y.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&I(t)}),Y.clear())})}let J;function F(e){J=e}function ce(){if(!J)throw new Error("Function called outside component initialization");return J}function Rt(e){ce().$$.on_mount.push(e)}const H=[],et=[];let D=[];const $t=[],le=Promise.resolve();let ot=!1;function ae(){ot||(ot=!0,le.then(v))}function V(e){D.push(e)}const st=new Set;let O=0;function v(){if(O!==0)return;const e=J;do{try{for(;O<H.length;){const t=H[O];O++,F(t),ue(t.$$)}}catch(t){throw H.length=0,O=0,t}for(F(null),H.length=0,O=0;et.length;)et.pop()();for(let t=0;t<D.length;t+=1){const n=D[t];st.has(n)||(st.add(n),n())}D.length=0}while(H.length);for(;$t.length;)$t.pop()();ot=!1,st.clear(),F(e)}function ue(e){if(e.fragment!==null){e.update(),U(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(V)}}function fe(e){const t=[],n=[];D.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),D=t}let B;function he(){return B||(B=Promise.resolve(),B.then(()=>{B=null})),B}function rt(e,t,n){e.dispatchEvent(ee(`${t?"intro":"outro"}${n}`))}const W=new Set;let M;function de(){M={r:0,c:[],p:M}}function ge(){M.r||U(M.c),M=M.p}function Et(e,t){e&&e.i&&(W.delete(e),e.i(t))}function me(e,t,n,i){if(e&&e.o){if(W.has(e))return;W.add(e),M.c.push(()=>{W.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}const _e={duration:0};function $e(e,t,n,i){let r=t(e,n,{direction:"both"}),l=i?0:1,c=null,s=null,a=null,_;function d(){a&&re(e,a)}function m(u,p){const g=u.b-l;return p*=Math.abs(g),{a:l,b:u.b,d:g,duration:p,start:u.start,end:u.start+p,group:u.group}}function w(u){const{delay:p=0,duration:g=300,easing:S=yt,tick:A=T,css:z}=r||_e,L={start:Jt()+p,b:u};u||(L.group=M,M.r+=1),"inert"in e&&(u?_!==void 0&&(e.inert=_):(_=e.inert,e.inert=!0)),c||s?s=L:(z&&(d(),a=_t(e,l,u,g,p,S,z)),u&&A(0,1),c=m(L,g),V(()=>rt(e,u,"start")),Vt(y=>{if(s&&y>s.start&&(c=m(s,g),s=null,rt(e,c.b,"start"),z&&(d(),a=_t(e,l,c.b,c.duration,0,S,r.css))),c){if(y>=c.end)A(l=c.b,1-l),rt(e,c.b,"end"),s||(c.b?d():--c.group.r||U(c.group.c)),c=null;else if(y>=c.start){const P=y-c.start;l=c.a+c.d*S(P/c.duration),A(l,1-l)}}return!!(c||s)}))}return{run(u){nt(r)?he().then(()=>{r=r({direction:u?"in":"out"}),w(u)}):w(u)},end(){d(),c=s=null}}}function pe(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function we(e,t,n){const{fragment:i,after_update:o}=e.$$;i&&i.m(t,n),V(()=>{const r=e.$$.on_mount.map(bt).filter(nt);e.$$.on_destroy?e.$$.on_destroy.push(...r):U(r),e.$$.on_mount=[]}),o.forEach(V)}function ye(e,t){const n=e.$$;n.fragment!==null&&(fe(n.after_update),U(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function be(e,t){e.$$.dirty[0]===-1&&(H.push(e),ae(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Lt(e,t,n,i,o,r,l=null,c=[-1]){const s=J;F(e);const a=e.$$={fragment:null,ctx:[],props:r,update:T,not_equal:o,bound:gt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(s?s.$$.context:[])),callbacks:gt(),dirty:c,skip_bound:!1,root:t.target||s.$$.root};l&&l(a.root);let _=!1;if(a.ctx=n?n(e,t.props||{},(d,m,...w)=>{const u=w.length?w[0]:m;return a.ctx&&o(a.ctx[d],a.ctx[d]=u)&&(!a.skip_bound&&a.bound[d]&&a.bound[d](u),_&&be(e,d)),m}):[],a.update(),_=!0,U(a.before_update),a.fragment=i?i(a.ctx):!1,t.target){if(t.hydrate){const d=Yt(t.target);a.fragment&&a.fragment.l(d),d.forEach(I)}else a.fragment&&a.fragment.c();t.intro&&Et(e.$$.fragment),we(e,t.target,t.anchor),v()}F(s)}let zt;typeof HTMLElement=="function"&&(zt=class extends HTMLElement{constructor(t,n,i){super();E(this,"$$ctor");E(this,"$$s");E(this,"$$c");E(this,"$$cn",!1);E(this,"$$d",{});E(this,"$$r",!1);E(this,"$$p_d",{});E(this,"$$l",{});E(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const o=this.$$c.$on(t,n);this.$$l_u.set(n,o)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const o=this.$$l_u.get(n);o&&(o(),this.$$l_u.delete(n))}}connectedCallback(){return dt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(r){return()=>{let l;return{c:function(){l=C("slot"),r!=="default"&&h(l,"name",r)},m:function(a,_){Z(a,l,_)},d:function(a){a&&I(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=ne(this);for(const r of this.$$s)r in i&&(n[r]=[t(r)]);for(const r of this.attributes){const l=this.$$g_p(r.name);l in this.$$d||(this.$$d[l]=X(l,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ht(ft({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const l=X(r,this.$$d[r],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,l)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const r in this.$$l)for(const l of this.$$l[r]){const c=this.$$c.$on(r,l);this.$$l_u.set(l,c)}this.$$l={}}})}attributeChangedCallback(t,n,i){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=X(t,i,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function X(e,t,n,i){var r;const o=(r=n[e])==null?void 0:r.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Pt(e,t,n,i,o,r){let l=class extends zt{constructor(){super(e,n,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(c=>(t[c].attribute||c).toLowerCase())}};return Object.keys(t).forEach(c=>{Object.defineProperty(l.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(s){var a;s=X(c,s,t),this.$$d[c]=s,(a=this.$$c)==null||a.$set({[c]:s})}})}),i.forEach(c=>{Object.defineProperty(l.prototype,c,{get(){var s;return(s=this.$$c)==null?void 0:s[c]}})}),e.element=l,l}class Mt{constructor(){E(this,"$$");E(this,"$$set")}$destroy(){ye(this,1),this.$destroy=T}$on(t,n){if(!nt(n))return T;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const o=i.indexOf(n);o!==-1&&i.splice(o,1)}}$set(t){this.$$set&&!qt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ke="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ke);function Tt(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Ut(e,t){const n=new URL(t);fetch(n.href).then(i=>i.text()).then(i=>{const o=document.createElement("style");o.innerHTML=i,e&&e.appendChild(o)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function It(e,t,n){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,o=>{i.innerHTML=o,e&&e.appendChild(i)})}}const xe="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ve="data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Se(e){Ct(e,"svelte-1njm5xr",".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}")}function pt(e){let t;return{c(){t=C("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>',h(t,"class","Icon UserIcon"),h(t,"part","Icon UserIcon")},m(n,i){Z(n,t,i)},d(n){n&&I(t)}}}function wt(e){let t;return{c(){t=C("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>',h(t,"class","Icon PrizeIcon"),h(t,"part","Icon PrizeIcon")},m(n,i){Z(n,t,i)},d(n){n&&I(t)}}}function Ce(e){let t,n,i,o,r,l,c,s,a,_,d,m,w,u,p,g,S,A,z,L,y,P,b=e[2]=="true"&&pt(),x=e[2]=="true"&&wt();return{c(){t=C("div"),n=C("div"),b&&b.c(),i=j(),o=C("span"),r=q(e[1]),l=q(e[7]),c=j(),s=C("img"),d=j(),m=C("img"),p=j(),g=C("div"),x&&x.c(),S=j(),A=C("span"),z=q(e[0]),h(s,"part","Rank_Arror_UP"),h(s,"alt","Rank Up"),mt(s.src,a=xe)||h(s,"src",a),h(s,"width","20"),h(s,"height","20"),h(s,"class",_="svg Arrow Up "+(e[5]&&e[6]?"Show":"Hidden")),h(m,"part","Rank_Arror_Down"),h(m,"alt","Rank Down"),mt(m.src,w=ve)||h(m,"src",w),h(m,"width","10"),h(m,"height","10"),h(m,"class",u="svg Arrow Down "+(e[5]&&!e[6]?"Show":"Hidden")),h(o,"class","RankInfo"),h(o,"part","RankText"),h(n,"class","RankSec"),h(n,"part","Rank"),h(A,"class","RankInfo UserPrize"),h(A,"part","PrizeText"),h(g,"class",L=e[3]+" PrizeSec"),h(g,"part","Prize"),h(t,"class",y=e[3]+" casino-tournaments-rank"),h(t,"part",P=e[3]+" casino-tournaments-rank")},m($,R){Z($,t,R),k(t,n),b&&b.m(n,null),k(n,i),k(n,o),k(o,r),k(o,l),k(o,c),k(o,s),k(o,d),k(o,m),k(t,p),k(t,g),x&&x.m(g,null),k(g,S),k(g,A),k(A,z),e[15](t)},p($,[R]){$[2]=="true"?b||(b=pt(),b.c(),b.m(n,i)):b&&(b.d(1),b=null),R&2&&Q(r,$[1]),R&128&&Q(l,$[7]),R&96&&_!==(_="svg Arrow Up "+($[5]&&$[6]?"Show":"Hidden"))&&h(s,"class",_),R&96&&u!==(u="svg Arrow Down "+($[5]&&!$[6]?"Show":"Hidden"))&&h(m,"class",u),$[2]=="true"?x||(x=wt(),x.c(),x.m(g,S)):x&&(x.d(1),x=null),R&1&&Q(z,$[0]),R&8&&L!==(L=$[3]+" PrizeSec")&&h(g,"class",L),R&8&&y!==(y=$[3]+" casino-tournaments-rank")&&h(t,"class",y),R&8&&P!==(P=$[3]+" casino-tournaments-rank")&&h(t,"part",P)},i:T,o:T,d($){$&&I(t),b&&b.d(),x&&x.d(),e[15](null)}}}function Ae(e,t,n){let{rankprefix:i="#"}=t,{showicon:o="true"}=t,{tournamentid:r=""}=t,{overallrank:l="0"}=t,{showoverallrank:c="true"}=t,{userrank:s="0"}=t,{prize:a="PrizeName"}=t,{mbsource:_}=t,{displayin:d="row"}=t,{clientstyling:m=""}=t,{clientstylingurl:w=""}=t,u,p,g=!1,S=!0,A,z,L,y,P="";const b=f=>{f.data&&f.data.type==`TournamentRankInfo_${r}`&&(x(f.data.rankInfo),$())},x=f=>{let at=G=>{n(9,s=G.rank),n(8,l=G.overallRank),n(0,a=G.prize)};if(!y){y=p,at(f);return}p&&(n(5,g=y!=f.rank),n(6,S=y>f.rank),A=new Date().getTime(),L=setTimeout(()=>{z=new Date().getTime(),(z-A)/1e3>4&&n(5,g=!1),y=p},5e3),at(f))},$=()=>{n(7,P=c=="true"?`${+s==0?"-":s||"-"}/${+l==0?"-":l}`:s)};Rt(()=>(p=s==null?void 0:parseInt(s),y=p,n(9,s=s==null?"-":s),window.addEventListener("message",b,!0),$(),()=>{window.removeEventListener("message",b),clearTimeout(L)}));function R(f){et[f?"unshift":"push"](()=>{u=f,n(4,u)})}return e.$$set=f=>{"rankprefix"in f&&n(1,i=f.rankprefix),"showicon"in f&&n(2,o=f.showicon),"tournamentid"in f&&n(10,r=f.tournamentid),"overallrank"in f&&n(8,l=f.overallrank),"showoverallrank"in f&&n(11,c=f.showoverallrank),"userrank"in f&&n(9,s=f.userrank),"prize"in f&&n(0,a=f.prize),"mbsource"in f&&n(12,_=f.mbsource),"displayin"in f&&n(3,d=f.displayin),"clientstyling"in f&&n(13,m=f.clientstyling),"clientstylingurl"in f&&n(14,w=f.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&8208&&m&&u&&Tt(u,m),e.$$.dirty&16400&&w&&u&&Ut(u,w),e.$$.dirty&4112&&_&&u&&It(u,`${_}.Style`),e.$$.dirty&512&&(p=parseInt(s)),e.$$.dirty&512&&s&&$(),e.$$.dirty&256&&l&&$()},[a,i,o,d,u,g,S,P,l,s,r,c,_,m,w,R]}class Ot extends Mt{constructor(t){super(),Lt(this,t,Ae,Ce,kt,{rankprefix:1,showicon:2,tournamentid:10,overallrank:8,showoverallrank:11,userrank:9,prize:0,mbsource:12,displayin:3,clientstyling:13,clientstylingurl:14},Se)}get rankprefix(){return this.$$.ctx[1]}set rankprefix(t){this.$$set({rankprefix:t}),v()}get showicon(){return this.$$.ctx[2]}set showicon(t){this.$$set({showicon:t}),v()}get tournamentid(){return this.$$.ctx[10]}set tournamentid(t){this.$$set({tournamentid:t}),v()}get overallrank(){return this.$$.ctx[8]}set overallrank(t){this.$$set({overallrank:t}),v()}get showoverallrank(){return this.$$.ctx[11]}set showoverallrank(t){this.$$set({showoverallrank:t}),v()}get userrank(){return this.$$.ctx[9]}set userrank(t){this.$$set({userrank:t}),v()}get prize(){return this.$$.ctx[0]}set prize(t){this.$$set({prize:t}),v()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),v()}get displayin(){return this.$$.ctx[3]}set displayin(t){this.$$set({displayin:t}),v()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),v()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),v()}}Pt(Ot,{rankprefix:{},showicon:{},tournamentid:{},overallrank:{},showoverallrank:{},userrank:{},prize:{},mbsource:{},displayin:{},clientstyling:{},clientstylingurl:{}},[],[],!0);const Re=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsRank_ce=Re;exports.SvelteComponent=Mt;exports.add_render_callback=V;exports.append=k;exports.append_styles=Ct;exports.attr=h;exports.binding_callbacks=et;exports.check_outros=ge;exports.component_subscribe=Ft;exports.create_bidirectional_transition=$e;exports.create_custom_element=Pt;exports.destroy_each=Gt;exports.detach=I;exports.element=C;exports.ensure_array_like=pe;exports.flush=v;exports.group_outros=de;exports.identity=yt;exports.init=Lt;exports.insert=Z;exports.is_function=nt;exports.listen=Qt;exports.noop=T;exports.onMount=Rt;exports.run_all=U;exports.safe_not_equal=kt;exports.setClientStyling=Tt;exports.setClientStylingURL=Ut;exports.setStreamStyling=It;exports.set_custom_element_data=Wt;exports.set_data=Q;exports.set_style=te;exports.space=j;exports.subscribe=xt;exports.svg_element=Kt;exports.text=q;exports.transition_in=Et;exports.transition_out=me;exports.xlink_attr=Xt;
4
+ }`,d=`__svelte_${ie(_)}_${c}`,m=lt(e),{stylesheet:w,rules:u}=Y.get(m)||se(m,e);u[d]||(u[d]=!0,w.insertRule(`@keyframes ${d} ${_}`,w.cssRules.length));const p=e.style.animation||"";return e.style.animation=`${p?`${p}, `:""}${d} ${i}ms linear ${o}ms 1 both`,tt+=1,d}function re(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?r=>r.indexOf(t)<0:r=>r.indexOf("__svelte")===-1),o=n.length-i.length;o&&(e.style.animation=i.join(", "),tt-=o,tt||oe())}function oe(){ct(()=>{tt||(Y.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&I(t)}),Y.clear())})}let J;function F(e){J=e}function ce(){if(!J)throw new Error("Function called outside component initialization");return J}function Rt(e){ce().$$.on_mount.push(e)}const H=[],et=[];let D=[];const $t=[],le=Promise.resolve();let ot=!1;function ae(){ot||(ot=!0,le.then(v))}function V(e){D.push(e)}const st=new Set;let O=0;function v(){if(O!==0)return;const e=J;do{try{for(;O<H.length;){const t=H[O];O++,F(t),ue(t.$$)}}catch(t){throw H.length=0,O=0,t}for(F(null),H.length=0,O=0;et.length;)et.pop()();for(let t=0;t<D.length;t+=1){const n=D[t];st.has(n)||(st.add(n),n())}D.length=0}while(H.length);for(;$t.length;)$t.pop()();ot=!1,st.clear(),F(e)}function ue(e){if(e.fragment!==null){e.update(),U(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(V)}}function fe(e){const t=[],n=[];D.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),D=t}let B;function he(){return B||(B=Promise.resolve(),B.then(()=>{B=null})),B}function rt(e,t,n){e.dispatchEvent(ee(`${t?"intro":"outro"}${n}`))}const W=new Set;let M;function de(){M={r:0,c:[],p:M}}function ge(){M.r||U(M.c),M=M.p}function Et(e,t){e&&e.i&&(W.delete(e),e.i(t))}function me(e,t,n,i){if(e&&e.o){if(W.has(e))return;W.add(e),M.c.push(()=>{W.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}const _e={duration:0};function $e(e,t,n,i){let r=t(e,n,{direction:"both"}),l=i?0:1,c=null,s=null,a=null,_;function d(){a&&re(e,a)}function m(u,p){const g=u.b-l;return p*=Math.abs(g),{a:l,b:u.b,d:g,duration:p,start:u.start,end:u.start+p,group:u.group}}function w(u){const{delay:p=0,duration:g=300,easing:S=yt,tick:A=T,css:z}=r||_e,L={start:Jt()+p,b:u};u||(L.group=M,M.r+=1),"inert"in e&&(u?_!==void 0&&(e.inert=_):(_=e.inert,e.inert=!0)),c||s?s=L:(z&&(d(),a=_t(e,l,u,g,p,S,z)),u&&A(0,1),c=m(L,g),V(()=>rt(e,u,"start")),Vt(y=>{if(s&&y>s.start&&(c=m(s,g),s=null,rt(e,c.b,"start"),z&&(d(),a=_t(e,l,c.b,c.duration,0,S,r.css))),c){if(y>=c.end)A(l=c.b,1-l),rt(e,c.b,"end"),s||(c.b?d():--c.group.r||U(c.group.c)),c=null;else if(y>=c.start){const P=y-c.start;l=c.a+c.d*S(P/c.duration),A(l,1-l)}}return!!(c||s)}))}return{run(u){nt(r)?he().then(()=>{r=r({direction:u?"in":"out"}),w(u)}):w(u)},end(){d(),c=s=null}}}function pe(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function we(e,t,n){const{fragment:i,after_update:o}=e.$$;i&&i.m(t,n),V(()=>{const r=e.$$.on_mount.map(bt).filter(nt);e.$$.on_destroy?e.$$.on_destroy.push(...r):U(r),e.$$.on_mount=[]}),o.forEach(V)}function ye(e,t){const n=e.$$;n.fragment!==null&&(fe(n.after_update),U(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function be(e,t){e.$$.dirty[0]===-1&&(H.push(e),ae(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Lt(e,t,n,i,o,r,l=null,c=[-1]){const s=J;F(e);const a=e.$$={fragment:null,ctx:[],props:r,update:T,not_equal:o,bound:gt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(s?s.$$.context:[])),callbacks:gt(),dirty:c,skip_bound:!1,root:t.target||s.$$.root};l&&l(a.root);let _=!1;if(a.ctx=n?n(e,t.props||{},(d,m,...w)=>{const u=w.length?w[0]:m;return a.ctx&&o(a.ctx[d],a.ctx[d]=u)&&(!a.skip_bound&&a.bound[d]&&a.bound[d](u),_&&be(e,d)),m}):[],a.update(),_=!0,U(a.before_update),a.fragment=i?i(a.ctx):!1,t.target){if(t.hydrate){const d=Yt(t.target);a.fragment&&a.fragment.l(d),d.forEach(I)}else a.fragment&&a.fragment.c();t.intro&&Et(e.$$.fragment),we(e,t.target,t.anchor),v()}F(s)}let zt;typeof HTMLElement=="function"&&(zt=class extends HTMLElement{constructor(t,n,i){super();E(this,"$$ctor");E(this,"$$s");E(this,"$$c");E(this,"$$cn",!1);E(this,"$$d",{});E(this,"$$r",!1);E(this,"$$p_d",{});E(this,"$$l",{});E(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const o=this.$$c.$on(t,n);this.$$l_u.set(n,o)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const o=this.$$l_u.get(n);o&&(o(),this.$$l_u.delete(n))}}connectedCallback(){return dt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(r){return()=>{let l;return{c:function(){l=C("slot"),r!=="default"&&h(l,"name",r)},m:function(a,_){Z(a,l,_)},d:function(a){a&&I(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=ne(this);for(const r of this.$$s)r in i&&(n[r]=[t(r)]);for(const r of this.attributes){const l=this.$$g_p(r.name);l in this.$$d||(this.$$d[l]=X(l,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ht(ft({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const l=X(r,this.$$d[r],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,l)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const r in this.$$l)for(const l of this.$$l[r]){const c=this.$$c.$on(r,l);this.$$l_u.set(l,c)}this.$$l={}}})}attributeChangedCallback(t,n,i){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=X(t,i,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function X(e,t,n,i){var r;const o=(r=n[e])==null?void 0:r.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Pt(e,t,n,i,o,r){let l=class extends zt{constructor(){super(e,n,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(c=>(t[c].attribute||c).toLowerCase())}};return Object.keys(t).forEach(c=>{Object.defineProperty(l.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(s){var a;s=X(c,s,t),this.$$d[c]=s,(a=this.$$c)==null||a.$set({[c]:s})}})}),i.forEach(c=>{Object.defineProperty(l.prototype,c,{get(){var s;return(s=this.$$c)==null?void 0:s[c]}})}),e.element=l,l}class Mt{constructor(){E(this,"$$");E(this,"$$set")}$destroy(){ye(this,1),this.$destroy=T}$on(t,n){if(!nt(n))return T;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const o=i.indexOf(n);o!==-1&&i.splice(o,1)}}$set(t){this.$$set&&!qt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ke="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ke);function Tt(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Ut(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(i=>i.text()).then(i=>{const o=document.createElement("style");o.innerHTML=i,e&&e.appendChild(o)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function It(e,t,n){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,o=>{i.innerHTML=o,e&&e.appendChild(i)})}}const xe="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ve="data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Se(e){Ct(e,"svelte-1njm5xr",".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}")}function pt(e){let t;return{c(){t=C("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>',h(t,"class","Icon UserIcon"),h(t,"part","Icon UserIcon")},m(n,i){Z(n,t,i)},d(n){n&&I(t)}}}function wt(e){let t;return{c(){t=C("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>',h(t,"class","Icon PrizeIcon"),h(t,"part","Icon PrizeIcon")},m(n,i){Z(n,t,i)},d(n){n&&I(t)}}}function Ce(e){let t,n,i,o,r,l,c,s,a,_,d,m,w,u,p,g,S,A,z,L,y,P,b=e[2]=="true"&&pt(),x=e[2]=="true"&&wt();return{c(){t=C("div"),n=C("div"),b&&b.c(),i=j(),o=C("span"),r=q(e[1]),l=q(e[7]),c=j(),s=C("img"),d=j(),m=C("img"),p=j(),g=C("div"),x&&x.c(),S=j(),A=C("span"),z=q(e[0]),h(s,"part","Rank_Arror_UP"),h(s,"alt","Rank Up"),mt(s.src,a=xe)||h(s,"src",a),h(s,"width","20"),h(s,"height","20"),h(s,"class",_="svg Arrow Up "+(e[5]&&e[6]?"Show":"Hidden")),h(m,"part","Rank_Arror_Down"),h(m,"alt","Rank Down"),mt(m.src,w=ve)||h(m,"src",w),h(m,"width","10"),h(m,"height","10"),h(m,"class",u="svg Arrow Down "+(e[5]&&!e[6]?"Show":"Hidden")),h(o,"class","RankInfo"),h(o,"part","RankText"),h(n,"class","RankSec"),h(n,"part","Rank"),h(A,"class","RankInfo UserPrize"),h(A,"part","PrizeText"),h(g,"class",L=e[3]+" PrizeSec"),h(g,"part","Prize"),h(t,"class",y=e[3]+" casino-tournaments-rank"),h(t,"part",P=e[3]+" casino-tournaments-rank")},m($,R){Z($,t,R),k(t,n),b&&b.m(n,null),k(n,i),k(n,o),k(o,r),k(o,l),k(o,c),k(o,s),k(o,d),k(o,m),k(t,p),k(t,g),x&&x.m(g,null),k(g,S),k(g,A),k(A,z),e[15](t)},p($,[R]){$[2]=="true"?b||(b=pt(),b.c(),b.m(n,i)):b&&(b.d(1),b=null),R&2&&Q(r,$[1]),R&128&&Q(l,$[7]),R&96&&_!==(_="svg Arrow Up "+($[5]&&$[6]?"Show":"Hidden"))&&h(s,"class",_),R&96&&u!==(u="svg Arrow Down "+($[5]&&!$[6]?"Show":"Hidden"))&&h(m,"class",u),$[2]=="true"?x||(x=wt(),x.c(),x.m(g,S)):x&&(x.d(1),x=null),R&1&&Q(z,$[0]),R&8&&L!==(L=$[3]+" PrizeSec")&&h(g,"class",L),R&8&&y!==(y=$[3]+" casino-tournaments-rank")&&h(t,"class",y),R&8&&P!==(P=$[3]+" casino-tournaments-rank")&&h(t,"part",P)},i:T,o:T,d($){$&&I(t),b&&b.d(),x&&x.d(),e[15](null)}}}function Ae(e,t,n){let{rankprefix:i="#"}=t,{showicon:o="true"}=t,{tournamentid:r=""}=t,{overallrank:l="0"}=t,{showoverallrank:c="true"}=t,{userrank:s="0"}=t,{prize:a="PrizeName"}=t,{mbsource:_}=t,{displayin:d="row"}=t,{clientstyling:m=""}=t,{clientstylingurl:w=""}=t,u,p,g=!1,S=!0,A,z,L,y,P="";const b=f=>{f.data&&f.data.type==`TournamentRankInfo_${r}`&&(x(f.data.rankInfo),$())},x=f=>{let at=G=>{n(9,s=G.rank),n(8,l=G.overallRank),n(0,a=G.prize)};if(!y){y=p,at(f);return}p&&(n(5,g=y!=f.rank),n(6,S=y>f.rank),A=new Date().getTime(),L=setTimeout(()=>{z=new Date().getTime(),(z-A)/1e3>4&&n(5,g=!1),y=p},5e3),at(f))},$=()=>{n(7,P=c=="true"?`${+s==0?"-":s||"-"}/${+l==0?"-":l}`:s)};Rt(()=>(p=s==null?void 0:parseInt(s),y=p,n(9,s=s==null?"-":s),window.addEventListener("message",b,!0),$(),()=>{window.removeEventListener("message",b),clearTimeout(L)}));function R(f){et[f?"unshift":"push"](()=>{u=f,n(4,u)})}return e.$$set=f=>{"rankprefix"in f&&n(1,i=f.rankprefix),"showicon"in f&&n(2,o=f.showicon),"tournamentid"in f&&n(10,r=f.tournamentid),"overallrank"in f&&n(8,l=f.overallrank),"showoverallrank"in f&&n(11,c=f.showoverallrank),"userrank"in f&&n(9,s=f.userrank),"prize"in f&&n(0,a=f.prize),"mbsource"in f&&n(12,_=f.mbsource),"displayin"in f&&n(3,d=f.displayin),"clientstyling"in f&&n(13,m=f.clientstyling),"clientstylingurl"in f&&n(14,w=f.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&8208&&m&&u&&Tt(u,m),e.$$.dirty&16400&&w&&u&&Ut(u,w),e.$$.dirty&4112&&_&&u&&It(u,`${_}.Style`),e.$$.dirty&512&&(p=parseInt(s)),e.$$.dirty&512&&s&&$(),e.$$.dirty&256&&l&&$()},[a,i,o,d,u,g,S,P,l,s,r,c,_,m,w,R]}class Ot extends Mt{constructor(t){super(),Lt(this,t,Ae,Ce,kt,{rankprefix:1,showicon:2,tournamentid:10,overallrank:8,showoverallrank:11,userrank:9,prize:0,mbsource:12,displayin:3,clientstyling:13,clientstylingurl:14},Se)}get rankprefix(){return this.$$.ctx[1]}set rankprefix(t){this.$$set({rankprefix:t}),v()}get showicon(){return this.$$.ctx[2]}set showicon(t){this.$$set({showicon:t}),v()}get tournamentid(){return this.$$.ctx[10]}set tournamentid(t){this.$$set({tournamentid:t}),v()}get overallrank(){return this.$$.ctx[8]}set overallrank(t){this.$$set({overallrank:t}),v()}get showoverallrank(){return this.$$.ctx[11]}set showoverallrank(t){this.$$set({showoverallrank:t}),v()}get userrank(){return this.$$.ctx[9]}set userrank(t){this.$$set({userrank:t}),v()}get prize(){return this.$$.ctx[0]}set prize(t){this.$$set({prize:t}),v()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),v()}get displayin(){return this.$$.ctx[3]}set displayin(t){this.$$set({displayin:t}),v()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),v()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),v()}}Pt(Ot,{rankprefix:{},showicon:{},tournamentid:{},overallrank:{},showoverallrank:{},userrank:{},prize:{},mbsource:{},displayin:{},clientstyling:{},clientstylingurl:{}},[],[],!0);const Re=Object.freeze(Object.defineProperty({__proto__:null,default:Ot},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsRank_ce=Re;exports.SvelteComponent=Mt;exports.add_render_callback=V;exports.append=k;exports.append_styles=Ct;exports.attr=h;exports.binding_callbacks=et;exports.check_outros=ge;exports.component_subscribe=Ft;exports.create_bidirectional_transition=$e;exports.create_custom_element=Pt;exports.destroy_each=Gt;exports.detach=I;exports.element=C;exports.ensure_array_like=pe;exports.flush=v;exports.group_outros=de;exports.identity=yt;exports.init=Lt;exports.insert=Z;exports.is_function=nt;exports.listen=Qt;exports.noop=T;exports.onMount=Rt;exports.run_all=U;exports.safe_not_equal=kt;exports.setClientStyling=Tt;exports.setClientStylingURL=Ut;exports.setStreamStyling=It;exports.set_custom_element_data=Wt;exports.set_data=Q;exports.set_style=te;exports.space=j;exports.subscribe=xt;exports.svg_element=Kt;exports.text=q;exports.transition_in=Et;exports.transition_out=me;exports.xlink_attr=Xt;
@@ -1,15 +1,15 @@
1
- var Ct = Object.defineProperty, At = Object.defineProperties;
1
+ var At = Object.defineProperty, Ct = Object.defineProperties;
2
2
  var Et = Object.getOwnPropertyDescriptors;
3
3
  var ut = Object.getOwnPropertySymbols;
4
4
  var Rt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
5
- var tt = (e, t, n) => t in e ? Ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ft = (e, t) => {
5
+ var tt = (e, t, n) => t in e ? At(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ft = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
7
  Rt.call(t, n) && tt(e, n, t[n]);
8
8
  if (ut)
9
9
  for (var n of ut(t))
10
10
  zt.call(t, n) && tt(e, n, t[n]);
11
11
  return e;
12
- }, ht = (e, t) => At(e, Et(t));
12
+ }, ht = (e, t) => Ct(e, Et(t));
13
13
  var E = (e, t, n) => (tt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var dt = (e, t, n) => new Promise((i, o) => {
15
15
  var r = (s) => {
@@ -65,14 +65,14 @@ function pe(e, t, n) {
65
65
  e.$$.on_destroy.push(Tt(t, n));
66
66
  }
67
67
  const bt = typeof window != "undefined";
68
- let Ut = bt ? () => window.performance.now() : () => Date.now(), ct = bt ? (e) => requestAnimationFrame(e) : T;
68
+ let It = bt ? () => window.performance.now() : () => Date.now(), ct = bt ? (e) => requestAnimationFrame(e) : T;
69
69
  const j = /* @__PURE__ */ new Set();
70
70
  function kt(e) {
71
71
  j.forEach((t) => {
72
72
  t.c(e) || (j.delete(t), t.f());
73
73
  }), j.size !== 0 && ct(kt);
74
74
  }
75
- function It(e) {
75
+ function Ut(e) {
76
76
  let t;
77
77
  return j.size === 0 && ct(kt), {
78
78
  promise: new Promise((n) => {
@@ -225,7 +225,7 @@ function Vt() {
225
225
  function Zt(e) {
226
226
  Vt().$$.on_mount.push(e);
227
227
  }
228
- const I = [], st = [];
228
+ const U = [], st = [];
229
229
  let H = [];
230
230
  const pt = [], Gt = /* @__PURE__ */ Promise.resolve();
231
231
  let rt = !1;
@@ -236,28 +236,28 @@ function X(e) {
236
236
  H.push(e);
237
237
  }
238
238
  const nt = /* @__PURE__ */ new Set();
239
- let U = 0;
239
+ let I = 0;
240
240
  function S() {
241
- if (U !== 0)
241
+ if (I !== 0)
242
242
  return;
243
243
  const e = F;
244
244
  do {
245
245
  try {
246
- for (; U < I.length; ) {
247
- const t = I[U];
248
- U++, q(t), Qt(t.$$);
246
+ for (; I < U.length; ) {
247
+ const t = U[I];
248
+ I++, q(t), Qt(t.$$);
249
249
  }
250
250
  } catch (t) {
251
- throw I.length = 0, U = 0, t;
251
+ throw U.length = 0, I = 0, t;
252
252
  }
253
- for (q(null), I.length = 0, U = 0; st.length; )
253
+ for (q(null), U.length = 0, I = 0; st.length; )
254
254
  st.pop()();
255
255
  for (let t = 0; t < H.length; t += 1) {
256
256
  const n = H[t];
257
257
  nt.has(n) || (nt.add(n), n());
258
258
  }
259
259
  H.length = 0;
260
- } while (I.length);
260
+ } while (U.length);
261
261
  for (; pt.length; )
262
262
  pt.pop()();
263
263
  rt = !1, nt.clear(), q(e);
@@ -298,7 +298,7 @@ function Se() {
298
298
  function Yt(e, t) {
299
299
  e && e.i && (G.delete(e), e.i(t));
300
300
  }
301
- function Ce(e, t, n, i) {
301
+ function Ae(e, t, n, i) {
302
302
  if (e && e.o) {
303
303
  if (G.has(e))
304
304
  return;
@@ -309,7 +309,7 @@ function Ce(e, t, n, i) {
309
309
  i && i();
310
310
  }
311
311
  const te = { duration: 0 };
312
- function Ae(e, t, n, i) {
312
+ function Ce(e, t, n, i) {
313
313
  let r = t(e, n, { direction: "both" }), l = i ? 0 : 1, c = null, s = null, a = null, $;
314
314
  function d() {
315
315
  a && Ft(e, a);
@@ -334,14 +334,14 @@ function Ae(e, t, n, i) {
334
334
  delay: _ = 0,
335
335
  duration: g = 300,
336
336
  easing: v = Lt,
337
- tick: C = T,
337
+ tick: A = T,
338
338
  css: L
339
339
  } = r || te, z = {
340
- start: Ut() + _,
340
+ start: It() + _,
341
341
  b: u
342
342
  };
343
343
  u || (z.group = M, M.r += 1), "inert" in e && (u ? $ !== void 0 && (e.inert = $) : ($ = /** @type {HTMLElement} */
344
- e.inert, e.inert = !0)), c || s ? s = z : (L && (d(), a = $t(e, l, u, g, _, v, L)), u && C(0, 1), c = m(z, g), X(() => it(e, u, "start")), It((y) => {
344
+ e.inert, e.inert = !0)), c || s ? s = z : (L && (d(), a = $t(e, l, u, g, _, v, L)), u && A(0, 1), c = m(z, g), X(() => it(e, u, "start")), Ut((y) => {
345
345
  if (s && y > s.start && (c = m(s, g), s = null, it(e, c.b, "start"), L && (d(), a = $t(
346
346
  e,
347
347
  l,
@@ -352,10 +352,10 @@ function Ae(e, t, n, i) {
352
352
  r.css
353
353
  ))), c) {
354
354
  if (y >= c.end)
355
- C(l = c.b, 1 - l), it(e, c.b, "end"), s || (c.b ? d() : --c.group.r || O(c.group.c)), c = null;
355
+ A(l = c.b, 1 - l), it(e, c.b, "end"), s || (c.b ? d() : --c.group.r || O(c.group.c)), c = null;
356
356
  else if (y >= c.start) {
357
357
  const P = y - c.start;
358
- l = c.a + c.d * v(P / c.duration), C(l, 1 - l);
358
+ l = c.a + c.d * v(P / c.duration), A(l, 1 - l);
359
359
  }
360
360
  }
361
361
  return !!(c || s);
@@ -387,7 +387,7 @@ function ne(e, t) {
387
387
  n.fragment !== null && (Wt(n.after_update), O(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
388
388
  }
389
389
  function ie(e, t) {
390
- e.$$.dirty[0] === -1 && (I.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
390
+ e.$$.dirty[0] === -1 && (U.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
391
391
  }
392
392
  function se(e, t, n, i, o, r, l = null, c = [-1]) {
393
393
  const s = F;
@@ -665,6 +665,8 @@ function le(e, t) {
665
665
  }
666
666
  }
667
667
  function ae(e, t) {
668
+ if (!e || !t)
669
+ return;
668
670
  const n = new URL(t);
669
671
  fetch(n.href).then((i) => i.text()).then((i) => {
670
672
  const o = document.createElement("style");
@@ -714,7 +716,7 @@ function wt(e) {
714
716
  };
715
717
  }
716
718
  function ge(e) {
717
- let t, n, i, o, r, l, c, s, a, $, d, m, w, u, _, g, v, C, L, z, y, P, b = (
719
+ let t, n, i, o, r, l, c, s, a, $, d, m, w, u, _, g, v, A, L, z, y, P, b = (
718
720
  /*showicon*/
719
721
  e[2] == "true" && _t()
720
722
  ), k = (
@@ -729,50 +731,50 @@ function ge(e) {
729
731
  ), l = Z(
730
732
  /*rankinfo*/
731
733
  e[7]
732
- ), c = N(), s = R("img"), d = N(), m = R("img"), _ = N(), g = R("div"), k && k.c(), v = N(), C = R("span"), L = Z(
734
+ ), c = N(), s = R("img"), d = N(), m = R("img"), _ = N(), g = R("div"), k && k.c(), v = N(), A = R("span"), L = Z(
733
735
  /*prize*/
734
736
  e[0]
735
737
  ), h(s, "part", "Rank_Arror_UP"), h(s, "alt", "Rank Up"), mt(s.src, a = fe) || h(s, "src", a), h(s, "width", "20"), h(s, "height", "20"), h(s, "class", $ = "svg Arrow Up " + /*userRankChanged*/
736
738
  (e[5] && /*isRankingUp*/
737
739
  e[6] ? "Show" : "Hidden")), h(m, "part", "Rank_Arror_Down"), h(m, "alt", "Rank Down"), mt(m.src, w = he) || h(m, "src", w), h(m, "width", "10"), h(m, "height", "10"), h(m, "class", u = "svg Arrow Down " + /*userRankChanged*/
738
740
  (e[5] && !/*isRankingUp*/
739
- e[6] ? "Show" : "Hidden")), h(o, "class", "RankInfo"), h(o, "part", "RankText"), h(n, "class", "RankSec"), h(n, "part", "Rank"), h(C, "class", "RankInfo UserPrize"), h(C, "part", "PrizeText"), h(g, "class", z = /*displayin*/
741
+ e[6] ? "Show" : "Hidden")), h(o, "class", "RankInfo"), h(o, "part", "RankText"), h(n, "class", "RankSec"), h(n, "part", "Rank"), h(A, "class", "RankInfo UserPrize"), h(A, "part", "PrizeText"), h(g, "class", z = /*displayin*/
740
742
  e[3] + " PrizeSec"), h(g, "part", "Prize"), h(t, "class", y = /*displayin*/
741
743
  e[3] + " casino-tournaments-rank"), h(t, "part", P = /*displayin*/
742
744
  e[3] + " casino-tournaments-rank");
743
745
  },
744
- m(p, A) {
745
- Y(p, t, A), x(t, n), b && b.m(n, null), x(n, i), x(n, o), x(o, r), x(o, l), x(o, c), x(o, s), x(o, d), x(o, m), x(t, _), x(t, g), k && k.m(g, null), x(g, v), x(g, C), x(C, L), e[15](t);
746
+ m(p, C) {
747
+ Y(p, t, C), x(t, n), b && b.m(n, null), x(n, i), x(n, o), x(o, r), x(o, l), x(o, c), x(o, s), x(o, d), x(o, m), x(t, _), x(t, g), k && k.m(g, null), x(g, v), x(g, A), x(A, L), e[15](t);
746
748
  },
747
- p(p, [A]) {
749
+ p(p, [C]) {
748
750
  /*showicon*/
749
- p[2] == "true" ? b || (b = _t(), b.c(), b.m(n, i)) : b && (b.d(1), b = null), A & /*rankprefix*/
751
+ p[2] == "true" ? b || (b = _t(), b.c(), b.m(n, i)) : b && (b.d(1), b = null), C & /*rankprefix*/
750
752
  2 && et(
751
753
  r,
752
754
  /*rankprefix*/
753
755
  p[1]
754
- ), A & /*rankinfo*/
756
+ ), C & /*rankinfo*/
755
757
  128 && et(
756
758
  l,
757
759
  /*rankinfo*/
758
760
  p[7]
759
- ), A & /*userRankChanged, isRankingUp*/
761
+ ), C & /*userRankChanged, isRankingUp*/
760
762
  96 && $ !== ($ = "svg Arrow Up " + /*userRankChanged*/
761
763
  (p[5] && /*isRankingUp*/
762
- p[6] ? "Show" : "Hidden")) && h(s, "class", $), A & /*userRankChanged, isRankingUp*/
764
+ p[6] ? "Show" : "Hidden")) && h(s, "class", $), C & /*userRankChanged, isRankingUp*/
763
765
  96 && u !== (u = "svg Arrow Down " + /*userRankChanged*/
764
766
  (p[5] && !/*isRankingUp*/
765
767
  p[6] ? "Show" : "Hidden")) && h(m, "class", u), /*showicon*/
766
- p[2] == "true" ? k || (k = wt(), k.c(), k.m(g, v)) : k && (k.d(1), k = null), A & /*prize*/
768
+ p[2] == "true" ? k || (k = wt(), k.c(), k.m(g, v)) : k && (k.d(1), k = null), C & /*prize*/
767
769
  1 && et(
768
770
  L,
769
771
  /*prize*/
770
772
  p[0]
771
- ), A & /*displayin*/
773
+ ), C & /*displayin*/
772
774
  8 && z !== (z = /*displayin*/
773
- p[3] + " PrizeSec") && h(g, "class", z), A & /*displayin*/
775
+ p[3] + " PrizeSec") && h(g, "class", z), C & /*displayin*/
774
776
  8 && y !== (y = /*displayin*/
775
- p[3] + " casino-tournaments-rank") && h(t, "class", y), A & /*displayin*/
777
+ p[3] + " casino-tournaments-rank") && h(t, "class", y), C & /*displayin*/
776
778
  8 && P !== (P = /*displayin*/
777
779
  p[3] + " casino-tournaments-rank") && h(t, "part", P);
778
780
  },
@@ -784,7 +786,7 @@ function ge(e) {
784
786
  };
785
787
  }
786
788
  function me(e, t, n) {
787
- let { rankprefix: i = "#" } = t, { showicon: o = "true" } = t, { tournamentid: r = "" } = t, { overallrank: l = "0" } = t, { showoverallrank: c = "true" } = t, { userrank: s = "0" } = t, { prize: a = "PrizeName" } = t, { mbsource: $ } = t, { displayin: d = "row" } = t, { clientstyling: m = "" } = t, { clientstylingurl: w = "" } = t, u, _, g = !1, v = !0, C, L, z, y, P = "";
789
+ let { rankprefix: i = "#" } = t, { showicon: o = "true" } = t, { tournamentid: r = "" } = t, { overallrank: l = "0" } = t, { showoverallrank: c = "true" } = t, { userrank: s = "0" } = t, { prize: a = "PrizeName" } = t, { mbsource: $ } = t, { displayin: d = "row" } = t, { clientstyling: m = "" } = t, { clientstylingurl: w = "" } = t, u, _, g = !1, v = !0, A, L, z, y, P = "";
788
790
  const b = (f) => {
789
791
  f.data && f.data.type == `TournamentRankInfo_${r}` && (k(f.data.rankInfo), p());
790
792
  }, k = (f) => {
@@ -795,9 +797,9 @@ function me(e, t, n) {
795
797
  y = _, at(f);
796
798
  return;
797
799
  }
798
- _ && (n(5, g = y != f.rank), n(6, v = y > f.rank), C = (/* @__PURE__ */ new Date()).getTime(), z = setTimeout(
800
+ _ && (n(5, g = y != f.rank), n(6, v = y > f.rank), A = (/* @__PURE__ */ new Date()).getTime(), z = setTimeout(
799
801
  () => {
800
- L = (/* @__PURE__ */ new Date()).getTime(), (L - C) / 1e3 > 4 && n(5, g = !1), y = _;
802
+ L = (/* @__PURE__ */ new Date()).getTime(), (L - A) / 1e3 > 4 && n(5, g = !1), y = _;
801
803
  },
802
804
  5e3
803
805
  ), at(f));
@@ -807,7 +809,7 @@ function me(e, t, n) {
807
809
  Zt(() => (_ = s == null ? void 0 : parseInt(s), y = _, n(9, s = s == null ? "-" : s), window.addEventListener("message", b, !0), p(), () => {
808
810
  window.removeEventListener("message", b), clearTimeout(z);
809
811
  }));
810
- function A(f) {
812
+ function C(f) {
811
813
  st[f ? "unshift" : "push"](() => {
812
814
  u = f, n(4, u);
813
815
  });
@@ -838,7 +840,7 @@ function me(e, t, n) {
838
840
  $,
839
841
  m,
840
842
  w,
841
- A
843
+ C
842
844
  ];
843
845
  }
844
846
  class St extends oe {
@@ -942,7 +944,7 @@ export {
942
944
  xe as B,
943
945
  Ee as C,
944
946
  _e as D,
945
- Ae as E,
947
+ Ce as E,
946
948
  X as F,
947
949
  st as G,
948
950
  ve as H,
@@ -970,7 +972,7 @@ export {
970
972
  we as q,
971
973
  O as r,
972
974
  Pt as s,
973
- Ce as t,
975
+ Ae as t,
974
976
  N as u,
975
977
  pe as v,
976
978
  Zt as w,
@@ -1,4 +1,4 @@
1
- import { i as Vr, n as Ve, s as gr, a as Zr, r as vr, b as qr, S as Yr, c as Wr, f as Ae, d as Kr, e as $r, g as Ye, t as zt, h as It, j as h, k as en, x as xt, l as We, m as C, o as st, p as Y, q as se, u as ge, v as tn, w as rn, y as Er, z as j, A as br, B as nn, C as Vt, D as on, E as Zt, F as an, G as ot, H as sn, I as un, J as ln, K as qt } from "./CasinoTournamentsRank-8VTyyGb0.js";
1
+ import { i as Vr, n as Ve, s as gr, a as Zr, r as vr, b as qr, S as Yr, c as Wr, f as Ae, d as Kr, e as $r, g as Ye, t as zt, h as It, j as h, k as en, x as xt, l as We, m as C, o as st, p as Y, q as se, u as ge, v as tn, w as rn, y as Er, z as j, A as br, B as nn, C as Vt, D as on, E as Zt, F as an, G as ot, H as sn, I as un, J as ln, K as qt } from "./CasinoTournamentsRank-DMlTPYI_.js";
2
2
  function Yt(e, { delay: t = 0, duration: r = 400, easing: n = Vr } = {}) {
3
3
  const i = +getComputedStyle(e).opacity;
4
4
  return {
@@ -3767,7 +3767,7 @@ if (typeof window != "undefined") {
3767
3767
  }
3768
3768
  };
3769
3769
  };
3770
- customElements.define = e(customElements.define), import("./CasinoTournamentsRank-8VTyyGb0.js").then((t) => t.L).then(({ default: t }) => {
3770
+ customElements.define = e(customElements.define), import("./CasinoTournamentsRank-DMlTPYI_.js").then((t) => t.L).then(({ default: t }) => {
3771
3771
  !customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
3772
3772
  });
3773
3773
  }
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsRank-CTEAgTms.cjs");function Lt(e,{delay:t=0,duration:r=400,easing:n=i.identity}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:r,easing:n,css:o=>`opacity: ${o*a}`}}const Se=[];function Hr(e,t){return{subscribe:rt(e,t).subscribe}}function rt(e,t=i.noop){let r;const n=new Set;function a(c){if(i.safe_not_equal(e,c)&&(e=c,r)){const d=!Se.length;for(const l of n)l[1](),Se.push(l,e);if(d){for(let l=0;l<Se.length;l+=2)Se[l][0](Se[l+1]);Se.length=0}}}function o(c){a(c(e))}function f(c,d=i.noop){const l=[c,d];return n.add(l),n.size===1&&(r=t(a,o)||i.noop),c(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:a,update:o,subscribe:f}}function De(e,t,r){const n=!Array.isArray(e),a=n?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Hr(r,(f,c)=>{let d=!1;const l=[];let h=0,A=i.noop;const g=()=>{if(h)return;A();const M=t(n?l[0]:l,f,c);o?f(M):A=i.is_function(M)?M:i.noop},R=a.map((M,T)=>i.subscribe(M,S=>{l[T]=S,h&=~(1<<T),d&&g()},()=>{h|=1<<T}));return d=!0,g(),function(){i.run_all(R),A(),d=!1}})}var Cr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Rr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sr=function(t){return Or(t)&&!Nr(t)};function Or(e){return!!e&&typeof e=="object"}function Nr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Dr(e)}var Lr=typeof Symbol=="function"&&Symbol.for,_r=Lr?Symbol.for("react.element"):60103;function Dr(e){return e.$$typeof===_r}function Pr(e){return Array.isArray(e)?[]:{}}function Fe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Oe(Pr(e),e,t):e}function Mr(e,t,r){return e.concat(t).map(function(n){return Fe(n,r)})}function kr(e,t){if(!t.customMerge)return Oe;var r=t.customMerge(e);return typeof r=="function"?r:Oe}function Ur(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function _t(e){return Object.keys(e).concat(Ur(e))}function er(e,t){try{return t in e}catch(r){return!1}}function Gr(e,t){return er(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Fr(e,t,r){var n={};return r.isMergeableObject(e)&&_t(e).forEach(function(a){n[a]=Fe(e[a],r)}),_t(t).forEach(function(a){Gr(e,a)||(er(e,a)&&r.isMergeableObject(t[a])?n[a]=kr(a,r)(e[a],t[a],r):n[a]=Fe(t[a],r))}),n}function Oe(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Mr,r.isMergeableObject=r.isMergeableObject||Sr,r.cloneUnlessOtherwiseSpecified=Fe;var n=Array.isArray(t),a=Array.isArray(e),o=n===a;return o?n?r.arrayMerge(e,t,r):Fr(e,t,r):Fe(t,r)}Oe.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,a){return Oe(n,a,r)},{})};var Qr=Oe,jr=Qr;const Jr=Rr(jr);var bt=function(e,t){return bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},bt(e,t)};function nt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");bt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ce=function(){return ce=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ce.apply(this,arguments)};function Xr(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function ct(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function dt(e,t){var r=t&&t.cache?t.cache:Kr,n=t&&t.serializer?t.serializer:Yr,a=t&&t.strategy?t.strategy:Zr;return a(e,{cache:r,serializer:n})}function zr(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vr(e,t,r,n){var a=zr(n)?n:r(n),o=t.get(a);return typeof o=="undefined"&&(o=e.call(this,n),t.set(a,o)),o}function tr(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),o=t.get(a);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(a,o)),o}function rr(e,t,r,n,a){return r.bind(t,e,n,a)}function Zr(e,t){var r=e.length===1?Vr:tr;return rr(e,this,r,t.cache.create(),t.serializer)}function qr(e,t){return rr(e,this,tr,t.cache.create(),t.serializer)}var Yr=function(){return JSON.stringify(arguments)},Wr=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Kr={create:function(){return new Wr}},pt={variadic:qr},$e=function(){return $e=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},$e.apply(this,arguments)};var D;(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"})(D||(D={}));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 Ne;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ne||(Ne={}));function Dt(e){return e.type===J.literal}function $r(e){return e.type===J.argument}function nr(e){return e.type===J.number}function ir(e){return e.type===J.date}function ar(e){return e.type===J.time}function or(e){return e.type===J.select}function sr(e){return e.type===J.plural}function en(e){return e.type===J.pound}function ur(e){return e.type===J.tag}function lr(e){return!!(e&&typeof e=="object"&&e.type===Ne.number)}function yt(e){return!!(e&&typeof e=="object"&&e.type===Ne.dateTime)}var hr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tn=/(?:[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 rn(e){var t={};return e.replace(tn,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===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"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-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=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-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"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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 X=function(){return X=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},X.apply(this,arguments)};var nn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function an(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(nn).filter(function(g){return g.length>0}),r=[],n=0,a=t;n<a.length;n++){var o=a[n],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 A=h[l];if(A.length===0)throw new Error("Invalid number skeleton")}r.push({stem:c,options:d})}return r}function on(e){return e.replace(/^(.*?)-/,"")}var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,fr=/^(@+)?(\+|#+)?[rs]?$/g,sn=/(\*)(0+)|(#+)(0+)|(0+)/g,cr=/^(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(fr,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="string"?a.length:0)),""}),t}function dr(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 un(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 r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!cr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function kt(e){var t={},r=dr(e);return r||t}function ln(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];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=on(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=X(X(X({},t),{notation:"scientific"}),a.options.reduce(function(d,l){return X(X({},d),kt(l))},{}));continue;case"engineering":t=X(X(X({},t),{notation:"engineering"}),a.options.reduce(function(d,l){return X(X({},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(sn,function(d,l,h,A,g,R){if(l)t.minimumIntegerDigits=h.length;else{if(A&&g)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(cr.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,A,g,R){return h==="*"?t.minimumFractionDigits=l.length:A&&A[0]==="#"?t.maximumFractionDigits=A.length:g&&R?(t.minimumFractionDigits=g.length,t.maximumFractionDigits=g.length+R.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=a.options[0];o==="w"?t=X(X({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=X(X({},t),Mt(o)));continue}if(fr.test(a.stem)){t=X(X({},t),Mt(a.stem));continue}var f=dr(a.stem);f&&(t=X(X({},t),f));var c=un(a.stem);c&&(t=X(X({},t),c))}return t}var Ye={"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 hn(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===a;)o++,n++;var f=1+(o&1),c=o<2?1:3+(o>>1),d="a",l=fn(t);for((l=="H"||l=="k")&&(c=0);c-- >0;)r+=d;for(;f-- >0;)r=l+r}else a==="J"?r+="H":r+=a}return r}function fn(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 r=e.language,n;r!=="root"&&(n=e.maximize().region);var a=Ye[n||""]||Ye[r||""]||Ye["".concat(r,"-001")]||Ye["001"];return a[0]}var mt,cn=new RegExp("^".concat(hr.source,"*")),dn=new RegExp("".concat(hr.source,"*$"));function P(e,t){return{start:e,end:t}}var pn=!!String.prototype.startsWith&&"_a".startsWith("a",1),mn=!!String.fromCodePoint,An=!!Object.fromEntries,gn=!!String.prototype.codePointAt,vn=!!String.prototype.trimStart,En=!!String.prototype.trimEnd,bn=!!Number.isSafeInteger,yn=bn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},wt=!0;try{var wn=mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wt=((mt=wn.exec("a"))===null||mt===void 0?void 0:mt[0])==="a"}catch(e){wt=!1}var Ut=pn?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},It=mn?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,o=0,f;a>o;){if(f=t[o++],f>1114111)throw RangeError(f+" is not a valid code point");n+=f<65536?String.fromCharCode(f):String.fromCharCode(((f-=65536)>>10)+55296,f%1024+56320)}return n},Gt=An?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var o=a[n],f=o[0],c=o[1];r[f]=c}return r},pr=gn?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),o;return a<55296||a>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536}},In=vn?function(t){return t.trimStart()}:function(t){return t.replace(cn,"")},xn=En?function(t){return t.trimEnd()}:function(t){return t.replace(dn,"")};function mr(e,t){return new RegExp(e,t)}var xt;if(wt){var Ft=mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xt=function(t,r){var n;Ft.lastIndex=r;var a=Ft.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else xt=function(t,r){for(var n=[];;){var a=pr(t,r);if(a===void 0||Ar(a)||Cn(a))break;n.push(a),r+=a>=65536?2:1}return It.apply(void 0,n)};var Bn=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}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,r,n){for(var a=[];!this.isEOF();){var o=this.char();if(o===123){var f=this.parseArgument(t,n);if(f.err)return f;a.push(f.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var c=this.clonePosition();this.bump(),a.push({type:J.pound,location:P(c,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(D.UNMATCHED_CLOSING_TAG,P(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Bt(this.peek()||0)){var f=this.parseTag(t,r);if(f.err)return f;a.push(f.val)}else{var f=this.parseLiteral(t,r);if(f.err)return f;a.push(f.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(a,"/>"),location:P(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var f=o.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Bt(this.char()))return this.error(D.INVALID_TAG,P(c,this.clonePosition()));var d=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(D.UNMATCHED_CLOSING_TAG,P(d,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:a,children:f,location:P(n,this.clonePosition())},err:null}:this.error(D.INVALID_TAG,P(c,this.clonePosition())))}else return this.error(D.UNCLOSED_TAG,P(n,this.clonePosition()))}else return this.error(D.INVALID_TAG,P(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Hn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var o=this.tryParseQuote(r);if(o){a+=o;continue}var f=this.tryParseUnquoted(t,r);if(f){a+=f;continue}var c=this.tryParseLeftAngleBracket();if(c){a+=c;continue}break}var d=P(n,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||!Tn(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 r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return It.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),It(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,P(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(D.EMPTY_ARGUMENT,P(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(D.MALFORMED_ARGUMENT,P(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,P(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:a,location:P(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,P(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(D.MALFORMED_ARGUMENT,P(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=xt(this.message,r),a=r+n.length;this.bumpTo(a);var o=this.clonePosition(),f=P(t,o);return{value:n,location:f}},e.prototype.parseArgumentOptions=function(t,r,n,a){var o,f=this.clonePosition(),c=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(c){case"":return this.error(D.EXPECT_ARGUMENT_TYPE,P(f,d));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),A=this.parseSimpleArgStyleIfPossible();if(A.err)return A;var g=xn(A.val);if(g.length===0)return this.error(D.EXPECT_ARGUMENT_STYLE,P(this.clonePosition(),this.clonePosition()));var R=P(h,this.clonePosition());l={style:g,styleLocation:R}}var M=this.tryParseArgumentClose(a);if(M.err)return M;var T=P(a,this.clonePosition());if(l&&Ut(l==null?void 0:l.style,"::",0)){var S=In(l.style.slice(2));if(c==="number"){var A=this.parseNumberSkeletonFromString(S,l.styleLocation);return A.err?A:{val:{type:J.number,value:n,location:T,style:A.val},err:null}}else{if(S.length===0)return this.error(D.EXPECT_DATE_TIME_SKELETON,T);var I=S;this.locale&&(I=hn(S,this.locale));var g={type:Ne.dateTime,pattern:I,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?rn(I):{}},Q=c==="date"?J.date:J.time;return{val:{type:Q,value:n,location:T,style:g},err:null}}}return{val:{type:c==="number"?J.number:c==="date"?J.date:J.time,value:n,location:T,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var H=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS,P(H,$e({},H)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),O=0;if(c!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P(this.clonePosition(),this.clonePosition()));this.bumpSpace();var A=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(A.err)return A;this.bumpSpace(),k=this.parseIdentifierIfPossible(),O=A.val}var b=this.tryParsePluralOrSelectOptions(t,c,r,k);if(b.err)return b;var M=this.tryParseArgumentClose(a);if(M.err)return M;var B=P(a,this.clonePosition());return c==="select"?{val:{type:J.select,value:n,options:Gt(b.val),location:B},err:null}:{val:{type:J.plural,value:n,options:Gt(b.val),offset:O,pluralType:c==="plural"?"cardinal":"ordinal",location:B},err:null}}default:return this.error(D.INVALID_ARGUMENT_TYPE,P(f,d))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,P(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(D.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,P(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(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=an(t)}catch(a){return this.error(D.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ne.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ln(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var o,f=!1,c=[],d=new Set,l=a.value,h=a.location;;){if(l.length===0){var A=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var g=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR,D.INVALID_PLURAL_ARGUMENT_SELECTOR);if(g.err)return g;h=P(A,this.clonePosition()),l=this.message.slice(A.offset,this.offset())}else break}if(d.has(l))return this.error(r==="select"?D.DUPLICATE_SELECT_ARGUMENT_SELECTOR:D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(f=!0),this.bumpSpace();var R=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,P(this.clonePosition(),this.clonePosition()));var M=this.parseMessage(t+1,r,n);if(M.err)return M;var T=this.tryParseArgumentClose(R);if(T.err)return T;c.push([l,{value:M.val,location:P(R,this.clonePosition())}]),d.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return c.length===0?this.error(r==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR:D.EXPECT_PLURAL_ARGUMENT_SELECTOR,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!f?this.error(D.MISSING_OTHER_CLAUSE,P(this.clonePosition(),this.clonePosition())):{val:c,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-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=P(a,this.clonePosition());return o?(f*=n,yn(f)?{val:f,err:null}:this.error(r,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 r=pr(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},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 r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!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 r=this.offset();if(r===t)break;if(r>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()&&Ar(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Bt(e){return e>=97&&e<=122||e>=65&&e<=90}function Tn(e){return Bt(e)||e===47}function Hn(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 Ar(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Cn(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 Tt(e){e.forEach(function(t){if(delete t.location,or(t)||sr(t))for(var r in t.options)delete t.options[r].location,Tt(t.options[r].value);else nr(t)&&lr(t.style)||(ir(t)||ar(t))&&yt(t.style)?delete t.style.location:ur(t)&&Tt(t.children)})}function Rn(e,t){t===void 0&&(t={}),t=$e({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Bn(e,t).parse();if(r.err){var n=SyntaxError(D[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Tt(r.val),r.val}var Le;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Le||(Le={}));var it=function(e){nt(t,e);function t(r,n,a){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=a,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Qt=function(e){nt(t,e);function t(r,n,a,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Le.INVALID_VALUE,o)||this}return t}(it),Sn=function(e){nt(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Le.INVALID_VALUE,a)||this}return t}(it),On=function(e){nt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Le.MISSING_VALUE,n)||this}return t}(it),te;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(te||(te={}));function Nn(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==te.literal||r.type!==te.literal?t.push(r):n.value+=r.value,t},[])}function Ln(e){return typeof e=="function"}function We(e,t,r,n,a,o,f){if(e.length===1&&Dt(e[0]))return[{type:te.literal,value:e[0].value}];for(var c=[],d=0,l=e;d<l.length;d++){var h=l[d];if(Dt(h)){c.push({type:te.literal,value:h.value});continue}if(en(h)){typeof o=="number"&&c.push({type:te.literal,value:r.getNumberFormat(t).format(o)});continue}var A=h.value;if(!(a&&A in a))throw new On(A,f);var g=a[A];if($r(h)){(!g||typeof g=="string"||typeof g=="number")&&(g=typeof g=="string"||typeof g=="number"?String(g):""),c.push({type:typeof g=="string"?te.literal:te.object,value:g});continue}if(ir(h)){var R=typeof h.style=="string"?n.date[h.style]:yt(h.style)?h.style.parsedOptions:void 0;c.push({type:te.literal,value:r.getDateTimeFormat(t,R).format(g)});continue}if(ar(h)){var R=typeof h.style=="string"?n.time[h.style]:yt(h.style)?h.style.parsedOptions:n.time.medium;c.push({type:te.literal,value:r.getDateTimeFormat(t,R).format(g)});continue}if(nr(h)){var R=typeof h.style=="string"?n.number[h.style]:lr(h.style)?h.style.parsedOptions:void 0;R&&R.scale&&(g=g*(R.scale||1)),c.push({type:te.literal,value:r.getNumberFormat(t,R).format(g)});continue}if(ur(h)){var M=h.children,T=h.value,S=a[T];if(!Ln(S))throw new Sn(T,"function",f);var I=We(M,t,r,n,a,o),Q=S(I.map(function(O){return O.value}));Array.isArray(Q)||(Q=[Q]),c.push.apply(c,Q.map(function(O){return{type:typeof O=="string"?te.literal:te.object,value:O}}))}if(or(h)){var H=h.options[g]||h.options.other;if(!H)throw new Qt(h.value,g,Object.keys(h.options),f);c.push.apply(c,We(H.value,t,r,n,a));continue}if(sr(h)){var H=h.options["=".concat(g)];if(!H){if(!Intl.PluralRules)throw new it(`Intl.PluralRules is not available in this environment.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsRank-CEE5nAvG.cjs");function Lt(e,{delay:t=0,duration:r=400,easing:n=i.identity}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:r,easing:n,css:o=>`opacity: ${o*a}`}}const Se=[];function Hr(e,t){return{subscribe:rt(e,t).subscribe}}function rt(e,t=i.noop){let r;const n=new Set;function a(c){if(i.safe_not_equal(e,c)&&(e=c,r)){const d=!Se.length;for(const l of n)l[1](),Se.push(l,e);if(d){for(let l=0;l<Se.length;l+=2)Se[l][0](Se[l+1]);Se.length=0}}}function o(c){a(c(e))}function f(c,d=i.noop){const l=[c,d];return n.add(l),n.size===1&&(r=t(a,o)||i.noop),c(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:a,update:o,subscribe:f}}function De(e,t,r){const n=!Array.isArray(e),a=n?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Hr(r,(f,c)=>{let d=!1;const l=[];let h=0,A=i.noop;const g=()=>{if(h)return;A();const M=t(n?l[0]:l,f,c);o?f(M):A=i.is_function(M)?M:i.noop},R=a.map((M,T)=>i.subscribe(M,S=>{l[T]=S,h&=~(1<<T),d&&g()},()=>{h|=1<<T}));return d=!0,g(),function(){i.run_all(R),A(),d=!1}})}var Cr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Rr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sr=function(t){return Or(t)&&!Nr(t)};function Or(e){return!!e&&typeof e=="object"}function Nr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Dr(e)}var Lr=typeof Symbol=="function"&&Symbol.for,_r=Lr?Symbol.for("react.element"):60103;function Dr(e){return e.$$typeof===_r}function Pr(e){return Array.isArray(e)?[]:{}}function Fe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Oe(Pr(e),e,t):e}function Mr(e,t,r){return e.concat(t).map(function(n){return Fe(n,r)})}function kr(e,t){if(!t.customMerge)return Oe;var r=t.customMerge(e);return typeof r=="function"?r:Oe}function Ur(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function _t(e){return Object.keys(e).concat(Ur(e))}function er(e,t){try{return t in e}catch(r){return!1}}function Gr(e,t){return er(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Fr(e,t,r){var n={};return r.isMergeableObject(e)&&_t(e).forEach(function(a){n[a]=Fe(e[a],r)}),_t(t).forEach(function(a){Gr(e,a)||(er(e,a)&&r.isMergeableObject(t[a])?n[a]=kr(a,r)(e[a],t[a],r):n[a]=Fe(t[a],r))}),n}function Oe(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Mr,r.isMergeableObject=r.isMergeableObject||Sr,r.cloneUnlessOtherwiseSpecified=Fe;var n=Array.isArray(t),a=Array.isArray(e),o=n===a;return o?n?r.arrayMerge(e,t,r):Fr(e,t,r):Fe(t,r)}Oe.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,a){return Oe(n,a,r)},{})};var Qr=Oe,jr=Qr;const Jr=Rr(jr);var bt=function(e,t){return bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},bt(e,t)};function nt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");bt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ce=function(){return ce=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ce.apply(this,arguments)};function Xr(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function ct(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function dt(e,t){var r=t&&t.cache?t.cache:Kr,n=t&&t.serializer?t.serializer:Yr,a=t&&t.strategy?t.strategy:Zr;return a(e,{cache:r,serializer:n})}function zr(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vr(e,t,r,n){var a=zr(n)?n:r(n),o=t.get(a);return typeof o=="undefined"&&(o=e.call(this,n),t.set(a,o)),o}function tr(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),o=t.get(a);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(a,o)),o}function rr(e,t,r,n,a){return r.bind(t,e,n,a)}function Zr(e,t){var r=e.length===1?Vr:tr;return rr(e,this,r,t.cache.create(),t.serializer)}function qr(e,t){return rr(e,this,tr,t.cache.create(),t.serializer)}var Yr=function(){return JSON.stringify(arguments)},Wr=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Kr={create:function(){return new Wr}},pt={variadic:qr},$e=function(){return $e=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},$e.apply(this,arguments)};var D;(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"})(D||(D={}));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 Ne;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ne||(Ne={}));function Dt(e){return e.type===J.literal}function $r(e){return e.type===J.argument}function nr(e){return e.type===J.number}function ir(e){return e.type===J.date}function ar(e){return e.type===J.time}function or(e){return e.type===J.select}function sr(e){return e.type===J.plural}function en(e){return e.type===J.pound}function ur(e){return e.type===J.tag}function lr(e){return!!(e&&typeof e=="object"&&e.type===Ne.number)}function yt(e){return!!(e&&typeof e=="object"&&e.type===Ne.dateTime)}var hr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tn=/(?:[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 rn(e){var t={};return e.replace(tn,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===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"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-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=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-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"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-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"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<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 X=function(){return X=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},X.apply(this,arguments)};var nn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function an(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(nn).filter(function(g){return g.length>0}),r=[],n=0,a=t;n<a.length;n++){var o=a[n],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 A=h[l];if(A.length===0)throw new Error("Invalid number skeleton")}r.push({stem:c,options:d})}return r}function on(e){return e.replace(/^(.*?)-/,"")}var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,fr=/^(@+)?(\+|#+)?[rs]?$/g,sn=/(\*)(0+)|(#+)(0+)|(0+)/g,cr=/^(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(fr,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="string"?a.length:0)),""}),t}function dr(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 un(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 r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!cr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function kt(e){var t={},r=dr(e);return r||t}function ln(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];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=on(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=X(X(X({},t),{notation:"scientific"}),a.options.reduce(function(d,l){return X(X({},d),kt(l))},{}));continue;case"engineering":t=X(X(X({},t),{notation:"engineering"}),a.options.reduce(function(d,l){return X(X({},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(sn,function(d,l,h,A,g,R){if(l)t.minimumIntegerDigits=h.length;else{if(A&&g)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(cr.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,A,g,R){return h==="*"?t.minimumFractionDigits=l.length:A&&A[0]==="#"?t.maximumFractionDigits=A.length:g&&R?(t.minimumFractionDigits=g.length,t.maximumFractionDigits=g.length+R.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=a.options[0];o==="w"?t=X(X({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=X(X({},t),Mt(o)));continue}if(fr.test(a.stem)){t=X(X({},t),Mt(a.stem));continue}var f=dr(a.stem);f&&(t=X(X({},t),f));var c=un(a.stem);c&&(t=X(X({},t),c))}return t}var Ye={"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 hn(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===a;)o++,n++;var f=1+(o&1),c=o<2?1:3+(o>>1),d="a",l=fn(t);for((l=="H"||l=="k")&&(c=0);c-- >0;)r+=d;for(;f-- >0;)r=l+r}else a==="J"?r+="H":r+=a}return r}function fn(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 r=e.language,n;r!=="root"&&(n=e.maximize().region);var a=Ye[n||""]||Ye[r||""]||Ye["".concat(r,"-001")]||Ye["001"];return a[0]}var mt,cn=new RegExp("^".concat(hr.source,"*")),dn=new RegExp("".concat(hr.source,"*$"));function P(e,t){return{start:e,end:t}}var pn=!!String.prototype.startsWith&&"_a".startsWith("a",1),mn=!!String.fromCodePoint,An=!!Object.fromEntries,gn=!!String.prototype.codePointAt,vn=!!String.prototype.trimStart,En=!!String.prototype.trimEnd,bn=!!Number.isSafeInteger,yn=bn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},wt=!0;try{var wn=mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wt=((mt=wn.exec("a"))===null||mt===void 0?void 0:mt[0])==="a"}catch(e){wt=!1}var Ut=pn?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},It=mn?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,o=0,f;a>o;){if(f=t[o++],f>1114111)throw RangeError(f+" is not a valid code point");n+=f<65536?String.fromCharCode(f):String.fromCharCode(((f-=65536)>>10)+55296,f%1024+56320)}return n},Gt=An?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var o=a[n],f=o[0],c=o[1];r[f]=c}return r},pr=gn?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),o;return a<55296||a>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536}},In=vn?function(t){return t.trimStart()}:function(t){return t.replace(cn,"")},xn=En?function(t){return t.trimEnd()}:function(t){return t.replace(dn,"")};function mr(e,t){return new RegExp(e,t)}var xt;if(wt){var Ft=mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xt=function(t,r){var n;Ft.lastIndex=r;var a=Ft.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else xt=function(t,r){for(var n=[];;){var a=pr(t,r);if(a===void 0||Ar(a)||Cn(a))break;n.push(a),r+=a>=65536?2:1}return It.apply(void 0,n)};var Bn=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}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,r,n){for(var a=[];!this.isEOF();){var o=this.char();if(o===123){var f=this.parseArgument(t,n);if(f.err)return f;a.push(f.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var c=this.clonePosition();this.bump(),a.push({type:J.pound,location:P(c,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(D.UNMATCHED_CLOSING_TAG,P(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Bt(this.peek()||0)){var f=this.parseTag(t,r);if(f.err)return f;a.push(f.val)}else{var f=this.parseLiteral(t,r);if(f.err)return f;a.push(f.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(a,"/>"),location:P(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var f=o.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Bt(this.char()))return this.error(D.INVALID_TAG,P(c,this.clonePosition()));var d=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(D.UNMATCHED_CLOSING_TAG,P(d,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:a,children:f,location:P(n,this.clonePosition())},err:null}:this.error(D.INVALID_TAG,P(c,this.clonePosition())))}else return this.error(D.UNCLOSED_TAG,P(n,this.clonePosition()))}else return this.error(D.INVALID_TAG,P(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Hn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var o=this.tryParseQuote(r);if(o){a+=o;continue}var f=this.tryParseUnquoted(t,r);if(f){a+=f;continue}var c=this.tryParseLeftAngleBracket();if(c){a+=c;continue}break}var d=P(n,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||!Tn(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 r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return It.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),It(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,P(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(D.EMPTY_ARGUMENT,P(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(D.MALFORMED_ARGUMENT,P(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,P(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:a,location:P(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,P(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(D.MALFORMED_ARGUMENT,P(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=xt(this.message,r),a=r+n.length;this.bumpTo(a);var o=this.clonePosition(),f=P(t,o);return{value:n,location:f}},e.prototype.parseArgumentOptions=function(t,r,n,a){var o,f=this.clonePosition(),c=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(c){case"":return this.error(D.EXPECT_ARGUMENT_TYPE,P(f,d));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),A=this.parseSimpleArgStyleIfPossible();if(A.err)return A;var g=xn(A.val);if(g.length===0)return this.error(D.EXPECT_ARGUMENT_STYLE,P(this.clonePosition(),this.clonePosition()));var R=P(h,this.clonePosition());l={style:g,styleLocation:R}}var M=this.tryParseArgumentClose(a);if(M.err)return M;var T=P(a,this.clonePosition());if(l&&Ut(l==null?void 0:l.style,"::",0)){var S=In(l.style.slice(2));if(c==="number"){var A=this.parseNumberSkeletonFromString(S,l.styleLocation);return A.err?A:{val:{type:J.number,value:n,location:T,style:A.val},err:null}}else{if(S.length===0)return this.error(D.EXPECT_DATE_TIME_SKELETON,T);var I=S;this.locale&&(I=hn(S,this.locale));var g={type:Ne.dateTime,pattern:I,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?rn(I):{}},Q=c==="date"?J.date:J.time;return{val:{type:Q,value:n,location:T,style:g},err:null}}}return{val:{type:c==="number"?J.number:c==="date"?J.date:J.time,value:n,location:T,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var H=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS,P(H,$e({},H)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),O=0;if(c!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P(this.clonePosition(),this.clonePosition()));this.bumpSpace();var A=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(A.err)return A;this.bumpSpace(),k=this.parseIdentifierIfPossible(),O=A.val}var b=this.tryParsePluralOrSelectOptions(t,c,r,k);if(b.err)return b;var M=this.tryParseArgumentClose(a);if(M.err)return M;var B=P(a,this.clonePosition());return c==="select"?{val:{type:J.select,value:n,options:Gt(b.val),location:B},err:null}:{val:{type:J.plural,value:n,options:Gt(b.val),offset:O,pluralType:c==="plural"?"cardinal":"ordinal",location:B},err:null}}default:return this.error(D.INVALID_ARGUMENT_TYPE,P(f,d))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,P(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(D.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,P(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(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=an(t)}catch(a){return this.error(D.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ne.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ln(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var o,f=!1,c=[],d=new Set,l=a.value,h=a.location;;){if(l.length===0){var A=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var g=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR,D.INVALID_PLURAL_ARGUMENT_SELECTOR);if(g.err)return g;h=P(A,this.clonePosition()),l=this.message.slice(A.offset,this.offset())}else break}if(d.has(l))return this.error(r==="select"?D.DUPLICATE_SELECT_ARGUMENT_SELECTOR:D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(f=!0),this.bumpSpace();var R=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,P(this.clonePosition(),this.clonePosition()));var M=this.parseMessage(t+1,r,n);if(M.err)return M;var T=this.tryParseArgumentClose(R);if(T.err)return T;c.push([l,{value:M.val,location:P(R,this.clonePosition())}]),d.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return c.length===0?this.error(r==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR:D.EXPECT_PLURAL_ARGUMENT_SELECTOR,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!f?this.error(D.MISSING_OTHER_CLAUSE,P(this.clonePosition(),this.clonePosition())):{val:c,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-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=P(a,this.clonePosition());return o?(f*=n,yn(f)?{val:f,err:null}:this.error(r,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 r=pr(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},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 r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!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 r=this.offset();if(r===t)break;if(r>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()&&Ar(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Bt(e){return e>=97&&e<=122||e>=65&&e<=90}function Tn(e){return Bt(e)||e===47}function Hn(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 Ar(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Cn(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 Tt(e){e.forEach(function(t){if(delete t.location,or(t)||sr(t))for(var r in t.options)delete t.options[r].location,Tt(t.options[r].value);else nr(t)&&lr(t.style)||(ir(t)||ar(t))&&yt(t.style)?delete t.style.location:ur(t)&&Tt(t.children)})}function Rn(e,t){t===void 0&&(t={}),t=$e({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Bn(e,t).parse();if(r.err){var n=SyntaxError(D[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Tt(r.val),r.val}var Le;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Le||(Le={}));var it=function(e){nt(t,e);function t(r,n,a){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=a,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Qt=function(e){nt(t,e);function t(r,n,a,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Le.INVALID_VALUE,o)||this}return t}(it),Sn=function(e){nt(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Le.INVALID_VALUE,a)||this}return t}(it),On=function(e){nt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Le.MISSING_VALUE,n)||this}return t}(it),te;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(te||(te={}));function Nn(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==te.literal||r.type!==te.literal?t.push(r):n.value+=r.value,t},[])}function Ln(e){return typeof e=="function"}function We(e,t,r,n,a,o,f){if(e.length===1&&Dt(e[0]))return[{type:te.literal,value:e[0].value}];for(var c=[],d=0,l=e;d<l.length;d++){var h=l[d];if(Dt(h)){c.push({type:te.literal,value:h.value});continue}if(en(h)){typeof o=="number"&&c.push({type:te.literal,value:r.getNumberFormat(t).format(o)});continue}var A=h.value;if(!(a&&A in a))throw new On(A,f);var g=a[A];if($r(h)){(!g||typeof g=="string"||typeof g=="number")&&(g=typeof g=="string"||typeof g=="number"?String(g):""),c.push({type:typeof g=="string"?te.literal:te.object,value:g});continue}if(ir(h)){var R=typeof h.style=="string"?n.date[h.style]:yt(h.style)?h.style.parsedOptions:void 0;c.push({type:te.literal,value:r.getDateTimeFormat(t,R).format(g)});continue}if(ar(h)){var R=typeof h.style=="string"?n.time[h.style]:yt(h.style)?h.style.parsedOptions:n.time.medium;c.push({type:te.literal,value:r.getDateTimeFormat(t,R).format(g)});continue}if(nr(h)){var R=typeof h.style=="string"?n.number[h.style]:lr(h.style)?h.style.parsedOptions:void 0;R&&R.scale&&(g=g*(R.scale||1)),c.push({type:te.literal,value:r.getNumberFormat(t,R).format(g)});continue}if(ur(h)){var M=h.children,T=h.value,S=a[T];if(!Ln(S))throw new Sn(T,"function",f);var I=We(M,t,r,n,a,o),Q=S(I.map(function(O){return O.value}));Array.isArray(Q)||(Q=[Q]),c.push.apply(c,Q.map(function(O){return{type:typeof O=="string"?te.literal:te.object,value:O}}))}if(or(h)){var H=h.options[g]||h.options.other;if(!H)throw new Qt(h.value,g,Object.keys(h.options),f);c.push.apply(c,We(H.value,t,r,n,a));continue}if(sr(h)){var H=h.options["=".concat(g)];if(!H){if(!Intl.PluralRules)throw new it(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,Le.MISSING_INTL_API,f);var k=r.getPluralRules(t,{type:h.pluralType}).select(g-(h.offset||0));H=h.options[k]||h.options.other}if(!H)throw new Qt(h.value,g,Object.keys(h.options),f);c.push.apply(c,We(H.value,t,r,n,a,g-(h.offset||0)));continue}}return Nn(c)}function _n(e,t){return t?ce(ce(ce({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=ce(ce({},e[n]),t[n]||{}),r},{})):e}function Dn(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=_n(e[n],t[n]),r},ce({},e)):e}function At(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Pn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:dt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,ct([void 0],r,!1)))},{cache:At(e.number),strategy:pt.variadic}),getDateTimeFormat:dt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,ct([void 0],r,!1)))},{cache:At(e.dateTime),strategy:pt.variadic}),getPluralRules:dt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,ct([void 0],r,!1)))},{cache:At(e.pluralRules),strategy:pt.variadic})}}var Mn=function(){function e(t,r,n,a){r===void 0&&(r=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(A,g){return!A.length||g.type!==te.literal||typeof A[A.length-1]!="string"?A.push(g.value):A[A.length-1]+=g.value,A},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(d){return We(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=r,this.resolvedLocale=e.resolveLocale(r),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=Xr(f,["formatters"]);this.ast=e.__parse(t,ce(ce({},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=Dn(e.formats,n),this.formatters=a&&a.formatters||Pn(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 r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Rn,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 kn(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let a=0;a<r.length;a++)if(typeof n=="object"){if(a>0){const o=r.slice(a,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[a]]}else n=void 0;return n}const ye={},Un=(e,t,r)=>r&&(t in ye||(ye[t]={}),e in ye[t]||(ye[t][e]=r),r),gr=(e,t)=>{if(t==null)return;if(t in ye&&e in ye[t])return ye[t][e];const r=at(t);for(let n=0;n<r.length;n++){const a=r[n],o=Fn(a,e);if(o)return Un(e,t,o)}};let St;const Pe=rt({});function Gn(e){return St[e]||null}function vr(e){return e in St}function Fn(e,t){if(!vr(e))return null;const r=Gn(e);return kn(r,t)}function Qn(e){if(e==null)return;const t=at(e);for(let r=0;r<t.length;r++){const n=t[r];if(vr(n))return n}}function Er(e,...t){delete ye[e],Pe.update(r=>(r[e]=Jr.all([r[e]||{},...t]),r))}De([Pe],([e])=>Object.keys(e));Pe.subscribe(e=>St=e);const Ke={};function jn(e,t){Ke[e].delete(t),Ke[e].size===0&&delete Ke[e]}function br(e){return Ke[e]}function Jn(e){return at(e).map(t=>{const r=br(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Ht(e){return e==null?!1:at(e).some(t=>{var r;return(r=br(t))==null?void 0:r.size})}function Xn(e,t){return Promise.all(t.map(n=>(jn(e,n),n().then(a=>a.default||a)))).then(n=>Er(e,...n))}const Ge={};function yr(e){if(!Ht(e))return e in Ge?Ge[e]:Promise.resolve();const t=Jn(e);return Ge[e]=Promise.all(t.map(([r,n])=>Xn(r,n))).then(()=>{if(Ht(e))return yr(e);delete Ge[e]}),Ge[e]}const zn={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"}}},Vn={fallbackLocale:null,loadingDelay:200,formats:zn,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Zn=Vn;function _e(){return Zn}const gt=rt(!1);var qn=Object.defineProperty,Yn=Object.defineProperties,Wn=Object.getOwnPropertyDescriptors,jt=Object.getOwnPropertySymbols,Kn=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,Jt=(e,t,r)=>t in e?qn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ei=(e,t)=>{for(var r in t||(t={}))Kn.call(t,r)&&Jt(e,r,t[r]);if(jt)for(var r of jt(t))$n.call(t,r)&&Jt(e,r,t[r]);return e},ti=(e,t)=>Yn(e,Wn(t));let Ct;const et=rt(null);function Xt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function at(e,t=_e().fallbackLocale){const r=Xt(e);return t?[...new Set([...r,...Xt(t)])]:r}function Te(){return Ct!=null?Ct:void 0}et.subscribe(e=>{Ct=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ri=e=>{if(e&&Qn(e)&&Ht(e)){const{loadingDelay:t}=_e();let r;return typeof window!="undefined"&&Te()!=null&&t?r=window.setTimeout(()=>gt.set(!0),t):gt.set(!0),yr(e).then(()=>{et.set(e)}).finally(()=>{clearTimeout(r),gt.set(!1)})}return et.set(e)},we=ti(ei({},et),{set:ri}),ot=e=>{const t=Object.create(null);return n=>{const a=JSON.stringify(n);return a in t?t[a]:t[a]=e(n)}};var ni=Object.defineProperty,tt=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable,zt=(e,t,r)=>t in e?ni(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ot=(e,t)=>{for(var r in t||(t={}))wr.call(t,r)&&zt(e,r,t[r]);if(tt)for(var r of tt(t))Ir.call(t,r)&&zt(e,r,t[r]);return e},Me=(e,t)=>{var r={};for(var n in e)wr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&tt)for(var n of tt(e))t.indexOf(n)<0&&Ir.call(e,n)&&(r[n]=e[n]);return r};const Qe=(e,t)=>{const{formats:r}=_e();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ii=ot(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(a=Qe("number",n)),new Intl.NumberFormat(r,a)}),ai=ot(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?a=Qe("date",n):Object.keys(a).length===0&&(a=Qe("date","short")),new Intl.DateTimeFormat(r,a)}),oi=ot(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?a=Qe("time",n):Object.keys(a).length===0&&(a=Qe("time","short")),new Intl.DateTimeFormat(r,a)}),si=(e={})=>{var t=e,{locale:r=Te()}=t,n=Me(t,["locale"]);return ii(Ot({locale:r},n))},ui=(e={})=>{var t=e,{locale:r=Te()}=t,n=Me(t,["locale"]);return ai(Ot({locale:r},n))},li=(e={})=>{var t=e,{locale:r=Te()}=t,n=Me(t,["locale"]);return oi(Ot({locale:r},n))},hi=ot((e,t=Te())=>new Mn(e,t,_e().formats,{ignoreTag:_e().ignoreTag})),fi=(e,t={})=>{var r,n,a,o;let f=t;typeof e=="object"&&(f=e,e=f.id);const{values:c,locale:d=Te(),default:l}=f;if(d==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=gr(e,d);if(!h)h=(o=(a=(n=(r=_e()).handleMissingMessage)==null?void 0:n.call(r,{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 A=h;try{A=hi(h,d).format(c)}catch(g){g instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,g.message)}return A},ci=(e,t)=>li(t).format(e),di=(e,t)=>ui(t).format(e),pi=(e,t)=>si(t).format(e),mi=(e,t=Te())=>gr(e,t),Ai=De([we,Pe],()=>fi);De([we],()=>ci);De([we],()=>di);De([we],()=>pi);De([we,Pe],()=>mi);function gi({withLocale:e,translations:t}){we.subscribe(r=>{r==null&&(Pe.set(t),we.set(e))})}function Vt(e,t){Er(e,t)}function vi(e){we.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 Rt={exports:{}};/** @license
4
4
  * eventsource.js
@@ -8,4 +8,4 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
8
8
  `),p=0;p<v.length;p+=1){var x=v[p],w=x.split(": "),C=w.shift(),j=w.join(": ");m[O(C)]=j}this._map=m}b.prototype.get=function(s){return this._map[O(s)]},o!=null&&o.HEADERS_RECEIVED==null&&(o.HEADERS_RECEIVED=2);function B(){}B.prototype.open=function(s,m,v,p,x,w,C){s.open("GET",x);var j=0;s.onprogress=function(){var u=s.responseText,y=u.slice(j);j+=y.length,v(y)},s.onerror=function(u){u.preventDefault(),p(new Error("NetworkError"))},s.onload=function(){p(null)},s.onabort=function(){p(null)},s.onreadystatechange=function(){if(s.readyState===o.HEADERS_RECEIVED){var u=s.status,y=s.statusText,E=s.getResponseHeader("Content-Type"),_=s.getAllResponseHeaders();m(u,y,E,new b(_))}},s.withCredentials=w;for(var N in C)Object.prototype.hasOwnProperty.call(C,N)&&s.setRequestHeader(N,C[N]);return s.send(),s};function G(s){this._headers=s}G.prototype.get=function(s){return this._headers.get(s)};function W(){}W.prototype.open=function(s,m,v,p,x,w,C){var j=null,N=new T,u=N.signal,y=new R;return A(x,{headers:C,credentials:w?"include":"same-origin",signal:u,cache:"no-store"}).then(function(E){return j=E.body.getReader(),m(E.status,E.statusText,E.headers.get("Content-Type"),new G(E.headers)),new h(function(_,ae){var xe=function(){j.read().then(function(ne){if(ne.done)_(void 0);else{var K=y.decode(ne.value,{stream:!0});v(K),xe()}}).catch(function(ne){ae(ne)})};xe()})}).catch(function(E){if(E.name!=="AbortError")return E}).then(function(E){p(E)}),{abort:function(){j!=null&&j.cancel(),N.abort()}}};function ie(){this._listeners=Object.create(null)}function de(s){n(function(){throw s},0)}ie.prototype.dispatchEvent=function(s){s.target=this;var m=this._listeners[s.type];if(m!=null)for(var v=m.length,p=0;p<v;p+=1){var x=m[p];try{typeof x.handleEvent=="function"?x.handleEvent(s):x.call(this,s)}catch(w){de(w)}}},ie.prototype.addEventListener=function(s,m){s=String(s);var v=this._listeners,p=v[s];p==null&&(p=[],v[s]=p);for(var x=!1,w=0;w<p.length;w+=1)p[w]===m&&(x=!0);x||p.push(m)},ie.prototype.removeEventListener=function(s,m){s=String(s);var v=this._listeners,p=v[s];if(p!=null){for(var x=[],w=0;w<p.length;w+=1)p[w]!==m&&x.push(p[w]);x.length===0?delete v[s]:v[s]=x}};function L(s){this.type=s,this.target=void 0}function U(s,m){L.call(this,s),this.data=m.data,this.lastEventId=m.lastEventId}U.prototype=Object.create(L.prototype);function z(s,m){L.call(this,s),this.status=m.status,this.statusText=m.statusText,this.headers=m.headers}z.prototype=Object.create(L.prototype);function F(s,m){L.call(this,s),this.error=m.error}F.prototype=Object.create(L.prototype);var Z=-1,fe=0,ve=1,Ee=2,pe=-1,le=0,ue=1,ke=2,st=3,je=/^text\/event\-stream(;.*)?$/i,Je=1e3,Xe=18e6,He=function(s,m){var v=s==null?m:parseInt(s,10);return v!==v&&(v=m),Ie(v)},Ie=function(s){return Math.min(Math.max(s,Je),Xe)},be=function(s,m,v){try{typeof m=="function"&&m.call(s,v)}catch(p){de(p)}};function re(s,m){ie.call(this),m=m||{},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,lt(this,s,m)}function ze(){return o!=null&&"withCredentials"in o.prototype||f==null?new o:new f}var ut=A!=null&&g!=null&&"body"in g.prototype;function lt(s,m,v){m=String(m);var p=!!v.withCredentials,x=v.lastEventIdQueryParameterName||"lastEventId",w=Ie(1e3),C=He(v.heartbeatTimeout,45e3),j="",N=w,u=!1,y=0,E=v.headers||{},_=v.Transport,ae=ut&&_==null?void 0:new k(_!=null?new _:ze()),xe=_!=null&&typeof _!="string"?new _:ae==null?new W:new B,ne=void 0,K=0,he=Z,Ce="",Ze="",me="",qe="",$=le,ht=0,Be=0,Br=function(q,V,oe,se){if(he===fe)if(q===200&&oe!=null&&je.test(oe)){he=ve,u=Date.now(),N=w,s.readyState=ve;var ee=new z("open",{status:q,statusText:V,headers:se});s.dispatchEvent(ee),be(s,s.onopen,ee)}else{var Y="";q!==200?(V&&(V=V.replace(/\s+/g," ")),Y="EventSource's response has a status "+q+" "+V+" that is not 200. Aborting the connection."):Y="EventSource's response has a Content-Type specifying an unsupported type: "+(oe==null?"-":oe.replace(/\s+/g," "))+". Aborting the connection.",ft();var ee=new z("error",{status:q,statusText:V,headers:se});s.dispatchEvent(ee),be(s,s.onerror,ee),console.error(Y)}},Tr=function(q){if(he===ve){for(var V=-1,oe=0;oe<q.length;oe+=1){var se=q.charCodeAt(oe);(se===10||se===13)&&(V=oe)}var ee=(V!==-1?qe:"")+q.slice(0,V+1);qe=(V===-1?qe:"")+q.slice(V+1),q!==""&&(u=Date.now(),y+=q.length);for(var Y=0;Y<ee.length;Y+=1){var se=ee.charCodeAt(Y);if($===pe&&se===10)$=le;else if($===pe&&($=le),se===13||se===10){if($!==le){$===ue&&(Be=Y+1);var Ae=ee.slice(ht,Be-1),ge=ee.slice(Be+(Be<Y&&ee.charCodeAt(Be)===32?1:0),Y);Ae==="data"?(Ce+=`
9
9
  `,Ce+=ge):Ae==="id"?Ze=ge:Ae==="event"?me=ge:Ae==="retry"?(w=He(ge,w),N=w):Ae==="heartbeatTimeout"&&(C=He(ge,C),K!==0&&(a(K),K=n(function(){Ue()},C)))}if($===le){if(Ce!==""){j=Ze,me===""&&(me="message");var Re=new U(me,{data:Ce.slice(1),lastEventId:Ze});if(s.dispatchEvent(Re),me==="open"?be(s,s.onopen,Re):me==="message"?be(s,s.onmessage,Re):me==="error"&&be(s,s.onerror,Re),he===Ee)return}Ce="",me=""}$=se===13?pe:le}else $===le&&(ht=Y,$=ue),$===ue?se===58&&(Be=Y+1,$=ke):$===ke&&($=st)}}},Nt=function(q){if(he===ve||he===fe){he=Z,K!==0&&(a(K),K=0),K=n(function(){Ue()},N),N=Ie(Math.min(w*16,N*2)),s.readyState=fe;var V=new F("error",{error:q});s.dispatchEvent(V),be(s,s.onerror,V),q!=null&&console.error(q)}},ft=function(){he=Ee,ne!=null&&(ne.abort(),ne=void 0),K!==0&&(a(K),K=0),s.readyState=Ee},Ue=function(){if(K=0,he!==Z){if(!u&&ne!=null)Nt(new Error("No activity within "+C+" milliseconds. "+(he===fe?"No response received.":y+" chars received.")+" Reconnecting.")),ne!=null&&(ne.abort(),ne=void 0);else{var q=Math.max((u||Date.now())+C-Date.now(),1);u=!1,K=n(function(){Ue()},q)}return}u=!1,y=0,K=n(function(){Ue()},C),he=fe,Ce="",me="",Ze=j,qe="",ht=0,Be=0,$=le;var V=m;if(m.slice(0,5)!=="data:"&&m.slice(0,5)!=="blob:"&&j!==""){var oe=m.indexOf("?");V=oe===-1?m:m.slice(0,oe+1)+m.slice(oe+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(ge,Re){return Re===x?"":ge}),V+=(m.indexOf("?")===-1?"?":"&")+x+"="+encodeURIComponent(j)}var se=s.withCredentials,ee={};ee.Accept="text/event-stream";var Y=s.headers;if(Y!=null)for(var Ae in Y)Object.prototype.hasOwnProperty.call(Y,Ae)&&(ee[Ae]=Y[Ae]);try{ne=xe.open(ae,Br,Tr,Nt,V,se,ee)}catch(ge){throw ft(),ge}};s.url=m,s.readyState=fe,s.withCredentials=p,s.headers=E,s._close=ft,Ue()}re.prototype=Object.create(ie.prototype),re.prototype.CONNECTING=fe,re.prototype.OPEN=ve,re.prototype.CLOSED=Ee,re.prototype.close=function(){this._close()},re.CONNECTING=fe,re.OPEN=ve,re.CLOSED=Ee,re.prototype.withCredentials=void 0;var Ve=d;o!=null&&(d==null||!("withCredentials"in d.prototype))&&(Ve=re),function(s){{var m=s(t);m!==void 0&&(e.exports=m)}}(function(s){s.EventSourcePolyfill=re,s.NativeEventSource=d,s.EventSource=Ve})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!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AIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCkCZpFGfdwQRKS8L1u2dQbKjAlAmcdjgHUFEysviaI13BsmOCkCZJPYX7wgiUl5WCYu8M0h2VADK5Lrf3w884h1DRMqn2lJJDn5oiQpAiagAlIhBAH7nnUNEyqerq/1Og9Q7h2RHBaBsApd6RxCR8mlrrf7UO4NkSwWgbK47+koIf/KOISLl0d7e0n3I6rHneeeQbKkAlIwxO4XoX71ziEh5jN9jzOeMeTXvHJItFYASsoW/vwILv/HOISLFN25c58rnr1ryFe8ckj1hLOs1AAAA8klEQVQVgLKKus8EVnjHEJHiam9r6Z0wZuwx3jmkPlQASsrmzduCxa9BjwWKyAi0tMTJnnuPO/XAR25Y6Z1F6kMFoMRswWX3Q3I0cKN3FhEpjs6uti377D3myIMfvnmBdxapHxWAkrOFV6wm3jYTwlcBvStARHbJzNhzzzFLxu47bv/nrrz1Vu88Ul/mHUAaJxz/qoMhfAHjDUCLdx7xt3jx3fT3J94xxJmZMW5cxwNjujre+dxHbp7vnUcaQwWgCYWTTx5HX/XlpPZqjMOBA4A9vHNJ46kANKdKJQ7Vatzb2lpd09ZevbQ9bj9fa/3N5/8DLDrhXaS1FJcAAAAASUVORK5CYII=
11
- `;if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsRank-CTEAgTms.cjs")).then(t=>t.CasinoTournamentsRank_ce).then(({default:t})=>{!customElements.get("casino-tournaments-rank")&&customElements.define("casino-tournaments-rank",t.element)})}function yi(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,r){const n=e.slice();return n[63]=t[r],n[65]=r,n}function Yt(e){let t,r,n,a=e[14]("loading")+"",o,f,c,d,l,h;return{c(){t=i.element("div"),r=i.element("div"),n=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(n,"part","TournamentInfo_Name_link"),i.attr(r,"part","TournamentInfo_Name"),i.attr(r,"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,"mbsource",e[3]),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(A,g){i.insert(A,t,g),i.append(t,r),i.append(r,n),i.append(n,o),i.append(t,f),i.append(t,c),i.append(c,d),i.append(t,l),i.append(t,h)},p(A,g){g[0]&16384&&a!==(a=A[14]("loading")+"")&&i.set_data(o,a),g[0]&8&&i.set_custom_element_data(d,"mbsource",A[3]),g[0]&2&&i.set_custom_element_data(d,"clientstyling",A[1]),g[0]&4&&i.set_custom_element_data(d,"clientstylingurl",A[2])},d(A){A&&i.detach(t)}}}function Wt(e){let t,r,n,a=e[8].name+"",o,f,c,d,l,h,A,g,R,M,T,S,I,Q,H,k=i.ensure_array_like(e[5]),O=[];for(let b=0;b<k.length;b+=1)O[b]=Kt(qt(e,k,b));return{c(){t=i.element("div"),r=i.element("div"),n=i.element("span"),o=i.text(a),c=i.space(),d=i.element("div"),l=i.element("casino-tournaments-rank"),M=i.space(),T=i.element("div");for(let b=0;b<O.length;b+=1)O[b].c();i.attr(n,"part","TournamentInfo_Name_link"),i.attr(n,"class","TournamentNameLink"),i.attr(n,"title",f=e[8].name),i.attr(r,"part","TournamentInfo_Name"),i.attr(r,"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[8].rank),i.set_custom_element_data(l,"mbsource",e[3]),i.set_custom_element_data(l,"prize",A=e[8].prize),i.set_custom_element_data(l,"overallrank",g=e[8].overallRank),i.set_custom_element_data(l,"tournamentid",R=e[8].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(T,"part","TournamentInfo_Points"),i.attr(T,"class","circle"),i.attr(t,"part","TournamentInfo"),i.attr(t,"class","TournamentInfo")},m(b,B){i.insert(b,t,B),i.append(t,r),i.append(r,n),i.append(n,o),i.append(t,c),i.append(t,d),i.append(d,l),i.append(t,M),i.append(t,T);for(let G=0;G<O.length;G+=1)O[G]&&O[G].m(T,null);e[28](t),I=!0,Q||(H=i.listen(n,"click",e[27]),Q=!0)},p(b,B){if((!I||B[0]&256)&&a!==(a=b[8].name+"")&&i.set_data(o,a),(!I||B[0]&256&&f!==(f=b[8].name))&&i.attr(n,"title",f),(!I||B[0]&256&&h!==(h=b[8].rank))&&i.set_custom_element_data(l,"userrank",h),(!I||B[0]&8)&&i.set_custom_element_data(l,"mbsource",b[3]),(!I||B[0]&256&&A!==(A=b[8].prize))&&i.set_custom_element_data(l,"prize",A),(!I||B[0]&256&&g!==(g=b[8].overallRank))&&i.set_custom_element_data(l,"overallrank",g),(!I||B[0]&256&&R!==(R=b[8].id))&&i.set_custom_element_data(l,"tournamentid",R),(!I||B[0]&2)&&i.set_custom_element_data(l,"clientstyling",b[1]),(!I||B[0]&4)&&i.set_custom_element_data(l,"clientstylingurl",b[2]),B[0]&96){k=i.ensure_array_like(b[5]);let G;for(G=0;G<k.length;G+=1){const W=qt(b,k,G);O[G]?O[G].p(W,B):(O[G]=Kt(W),O[G].c(),O[G].m(T,null))}for(;G<O.length;G+=1)O[G].d(1);O.length=k.length}},i(b){I||(b&&i.add_render_callback(()=>{I&&(S||(S=i.create_bidirectional_transition(t,Lt,{delay:250,duration:300},!0)),S.run(1))}),I=!0)},o(b){b&&(S||(S=i.create_bidirectional_transition(t,Lt,{delay:250,duration:300},!1)),S.run(0)),I=!1},d(b){b&&i.detach(t),i.destroy_each(O,b),e[28](null),b&&S&&S.end(),Q=!1,H()}}}function Kt(e){let t,r,n;return{c(){t=i.svg_element("svg"),r=i.svg_element("circle"),i.attr(r,"cx","2.77888"),i.attr(r,"cy","2.50837"),i.attr(r,"r","2.28571"),i.attr(r,"fill","currentColor"),i.attr(r,"stroke","currentColor"),i.attr(t,"class",n=e[6]==e[65]?"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,r)},p(a,o){o[0]&64&&n!==(n=a[6]==a[65]?"active":"")&&i.attr(t,"class",n)},d(a){a&&i.detach(t)}}}function $t(e){let t,r;return{c(){t=i.svg_element("svg"),r=i.svg_element("path"),i.attr(r,"fill-rule","evenodd"),i.attr(r,"clip-rule","evenodd"),i.attr(r,"d","M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"),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(n,a){i.insert(n,t,a),i.append(t,r)},d(n){n&&i.detach(t)}}}function wi(e){let t,r,n,a,o,f,c,d,l,h,A,g,R,M,T,S,I,Q,H,k,O,b,B,G,W,ie,de,L=!e[5]&&Yt(e),U=e[5]&&e[5].length>0&&Wt(e),z=e[10]&&$t();return{c(){t=i.element("div"),r=i.element("div"),n=i.element("div"),a=i.svg_element("svg"),o=i.svg_element("path"),c=i.space(),L&&L.c(),d=i.space(),U&&U.c(),l=i.space(),h=i.element("div"),A=i.svg_element("svg"),g=i.svg_element("path"),R=i.space(),z&&z.c(),M=i.space(),T=i.element("section"),S=i.element("div"),I=i.svg_element("svg"),Q=i.svg_element("rect"),H=i.svg_element("defs"),k=i.svg_element("pattern"),O=i.svg_element("use"),b=i.svg_element("image"),G=i.space(),W=i.element("div"),W.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(n,"part","Tournaments_ArrowLeft"),i.attr(n,"class",f="ArrowLeft "+(e[9]?"Disabled":"")),i.attr(g,"fill-rule","evenodd"),i.attr(g,"clip-rule","evenodd"),i.attr(g,"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(A,"width","6"),i.attr(A,"height","10"),i.attr(A,"fill","currentColor"),i.attr(A,"viewBox","0 0 6 10"),i.attr(A,"xmlns","http://www.w3.org/2000/svg"),i.attr(h,"part","Tournaments_ArrowRight"),i.attr(h,"class","ArrowRight"),i.attr(r,"part","Tournaments"),i.attr(r,"class","casino-tournaments-slider-controller"),i.attr(Q,"width",e[0]),i.attr(Q,"height",e[0]),i.attr(Q,"fill","url(#pattern0)"),i.xlink_attr(O,"xlink:href","#image0_2606_356"),i.attr(O,"transform","scale(0.00195312)"),i.attr(k,"id","pattern0"),i.attr(k,"patternContentUnits","objectBoundingBox"),i.attr(k,"width","1"),i.attr(k,"height","1"),i.attr(b,"id","image0_2606_356"),i.attr(b,"width","512"),i.attr(b,"height","512"),i.xlink_attr(b,"xlink:href",e[13]),i.attr(I,"width",e[0]),i.attr(I,"height",e[0]),i.attr(I,"viewBox",B=`0 0 ${e[0]} ${e[0]}`),i.attr(I,"fill","none"),i.attr(I,"xmlns","http://www.w3.org/2000/svg"),i.attr(I,"xmlns:xlink","http://www.w3.org/1999/xlink"),i.attr(S,"class","svg"),i.attr(S,"part","Icon"),i.attr(W,"class","restoreButton"),i.attr(W,"part","RestoreButton"),i.attr(T,"id","animator"),i.attr(T,"part","Animator")},m(F,Z){i.insert(F,t,Z),i.append(t,r),i.append(r,n),i.append(n,a),i.append(a,o),i.append(r,c),L&&L.m(r,null),i.append(r,d),U&&U.m(r,null),i.append(r,l),i.append(r,h),i.append(h,A),i.append(A,g),i.append(h,R),z&&z.m(h,null),e[30](r),i.append(t,M),i.append(t,T),i.append(T,S),i.append(S,I),i.append(I,Q),i.append(I,H),i.append(H,k),i.append(k,O),i.append(H,b),i.append(T,G),i.append(T,W),e[31](T),e[33](t),ie||(de=[i.listen(n,"click",e[26]),i.listen(h,"click",e[29]),i.listen(T,"click",e[32])],ie=!0)},p(F,Z){Z[0]&512&&f!==(f="ArrowLeft "+(F[9]?"Disabled":""))&&i.attr(n,"class",f),F[5]?L&&(L.d(1),L=null):L?L.p(F,Z):(L=Yt(F),L.c(),L.m(r,d)),F[5]&&F[5].length>0?U?(U.p(F,Z),Z[0]&32&&i.transition_in(U,1)):(U=Wt(F),U.c(),i.transition_in(U,1),U.m(r,l)):U&&(i.group_outros(),i.transition_out(U,1,1,()=>{U=null}),i.check_outros()),F[10]?z||(z=$t(),z.c(),z.m(h,null)):z&&(z.d(1),z=null),Z[0]&1&&i.attr(Q,"width",F[0]),Z[0]&1&&i.attr(Q,"height",F[0]),Z[0]&8192&&i.xlink_attr(b,"xlink:href",F[13]),Z[0]&1&&i.attr(I,"width",F[0]),Z[0]&1&&i.attr(I,"height",F[0]),Z[0]&1&&B!==(B=`0 0 ${F[0]} ${F[0]}`)&&i.attr(I,"viewBox",B)},i(F){i.transition_in(U)},o(F){i.transition_out(U)},d(F){F&&i.detach(t),L&&L.d(),U&&U.d(),z&&z.d(),e[30](null),e[31](null),e[33](null),ie=!1,i.run_all(de)}}}let vt=1,Et=300;function Ii(e,t,r){let n,a;i.component_subscribe(e,Ai,u=>r(14,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:A=""}=t,{clientstyling:g=""}=t,{clientstylingurl:R=""}=t,{translationurl:M=""}=t,{mbsource:T}=t,S,I=[],Q,H=0,k=!0,O=!1,b,B,G=null,W=null,ie,de=!1,L,U;gi({withLocale:"en",translations:{}});const z=()=>{fetch(M).then(y=>y.json()).then(y=>{Object.keys(y).forEach(E=>{Vt(E,y[E])})}).catch(y=>{console.log(y)})};Object.keys(Zt).forEach(u=>{Vt(u,Zt[u])});const F=u=>{u.data&&u.data.type=="TournamentList"&&r(5,I=u.data.tournamentList)},Z=()=>{o.length>0&&o!="false"},fe=()=>{vi(c)},ve=()=>{I.length!==0&&(ue.curTournament.hide(),setTimeout(()=>{r(6,H=(H+1)%I.length),ue.curTournament.show()},Et*1.5))},Ee=()=>{clearInterval(ie),ie=setInterval(()=>{de||ve()},Number(l)*1e3)},pe=u=>{ue.curTournament.hide(),Ee(),u>0&&O&&st(),!(u>0&&O||u<0&&k)&&setTimeout(()=>{r(6,H=H+u),ue.curTournament.show()},Et*1.5)},le=u=>setTimeout(()=>u(),vt*1e3),ue={icon:{init(){r(11,L.style.transition=`all ${vt}s ease-in-out`,L)},show(){r(11,L.style.display="flex",L),le(()=>r(11,L.style.opacity="1",L))},hide(){r(11,L.style.display="none",L),r(11,L.style.opacity="0",L)}},slider:{init(){r(7,B.style.transition=`all ${vt}s ease-in-out`,B)},show(){r(7,B.style.opacity="1",B),r(7,B.style.transform=null,B),document.querySelector("body").style["overflow-x"]="hidden"},hide(){this.init(),r(7,B.style.opacity="0",B),r(7,B.style.transform=`translateX(${B.clientWidth+20}px)`,B),le(()=>document.querySelector("body").setAttribute("style",null))}},curTournament:{init(){r(12,U.style.transition=`all ${Et}ms linear`,U)},show(){r(12,U.style.opacity="1",U)},hide(){this.init(),r(12,U.style.opacity="0",U)}}},ke=()=>{ue.slider.show(),ue.icon.hide(),de=!1},st=()=>{ue.slider.hide(),ue.icon.show(),de=!0},je=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)},Xe=(u,y,E)=>(u.append("pagination",`offset=${y},limit=${E}`),u.append("sortField","StartTime"),u.append("sortOrder","desc"),u.append("fields","id,nameOrTitle,state"),u.append("language",c),u.append("filter","state=Running"),u),He=u=>{let y=je(u),E=I.findIndex(_=>_.id==y.id);H==E&&window.postMessage({type:`TournamentRankInfo_${y.id}}`,rankInfo:{rank:y.rank,overallRank:y.overallRank,prize:y.prize}},window.location.href),r(5,I[E]=y,I)},Ie=u=>{if(u.data)try{let y=u.data,E=JSON.parse(y);E.messageType=="PlayerLeaderBoardsUpdate"&&E.items?E.items.forEach((_,ae)=>{He(_)}):E.messageType=="PlayerLeaderBoardUpdate"&&E.item&&He(E.item)}catch(y){console.log(y)}},be=u=>u.touches||u.originalEvent.touches,re=u=>{const y=be(u)[0];G=y.clientX,W=y.clientY},ze=u=>{if(!G||!W)return;let y=u.touches[0].clientX,E=u.touches[0].clientY,_=G-y,ae=W-E;Math.abs(_)>Math.abs(ae)&&(_>0?pe(1):pe(-1)),G=null,W=null},ut=()=>{B.addEventListener("touchstart",re,{passive:!0}),B.addEventListener("touchmove",ze,{passive:!0})},lt=()=>{if(!f)return;b&&(b.removeEventListener("message",Ie),b.close());let u=new URL(`${f}/v1/tournaments/leaderboard/player/updates`);Xe(u.searchParams,0,d),b=new Ei.EventSourcePolyfill(u.href,{headers:{accept:"text/event-stream","X-SessionId":o}}),typeof b!="undefined"&&b.addEventListener("message",Ie)},Ve=()=>{if(!f||!o)return;let u=new URL(`${f}/v1/tournaments/leaderboard/player`),y=new Headers;Xe(u.searchParams,0,d),o&&y.append("X-SessionID",o),fetch(u,{method:"GET",headers:y}).then(_=>_.json()).then(_=>{if(!_.items)return;r(5,I=[]),_.items.forEach((xe,ne)=>{I.push(je(xe))}),r(8,Q=I[H]),lt(),Ee()})};let s=!1;i.onMount(()=>(r(25,s=!0),window.addEventListener("message",F,!1),setTimeout(()=>{r(18,c="tr")},5e3),()=>{clearInterval(ie),window.removeEventListener("message",F),b&&b.removeEventListener("message",Ie),B.removeEventListener("touchstart",re),B.removeEventListener("touchmove",ze)}));const m=()=>pe(-1),v=()=>Je(Q.id);function p(u){i.binding_callbacks[u?"unshift":"push"](()=>{U=u,r(12,U)})}const x=()=>pe(1);function w(u){i.binding_callbacks[u?"unshift":"push"](()=>{B=u,r(7,B)})}function C(u){i.binding_callbacks[u?"unshift":"push"](()=>{L=u,r(11,L)})}const j=()=>ke();function N(u){i.binding_callbacks[u?"unshift":"push"](()=>{S=u,r(4,S)})}return e.$$set=u=>{"session"in u&&r(19,o=u.session),"endpoint"in u&&r(20,f=u.endpoint),"lang"in u&&r(18,c=u.lang),"tournamentsshownnumber"in u&&r(21,d=u.tournamentsshownnumber),"looptime"in u&&r(22,l=u.looptime),"iconsize"in u&&r(0,h=u.iconsize),"icon"in u&&r(23,A=u.icon),"clientstyling"in u&&r(1,g=u.clientstyling),"clientstylingurl"in u&&r(2,R=u.clientstylingurl),"translationurl"in u&&r(24,M=u.translationurl),"mbsource"in u&&r(3,T=u.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&18&&g&&S&&i.setClientStyling(S,g),e.$$.dirty[0]&20&&R&&S&&i.setClientStylingURL(S,R),e.$$.dirty[0]&24&&T&&S&&i.setStreamStyling(S,`${T}.Style`),e.$$.dirty[0]&24&&T&&S&&i.setStreamStyling(S,`${T}.Style`),e.$$.dirty[0]&8388608&&r(13,n=A||bi),e.$$.dirty[0]&36962304&&s&&f&&d&&c&&Ve(),e.$$.dirty[0]&128&&B&&ut(),e.$$.dirty[0]&524288&&o&&Z(),e.$$.dirty[0]&262144&&c&&fe(),e.$$.dirty[0]&16777216&&M&&z(),e.$$.dirty[0]&96&&r(8,Q=I[H]),e.$$.dirty[0]&96&&r(10,O=H==I.length-1),e.$$.dirty[0]&64&&r(9,k=H==0)},[h,g,R,T,S,I,H,B,Q,k,O,L,U,n,a,pe,ke,Je,c,o,f,d,l,A,M,s,m,v,p,x,w,C,j,N]}class xr extends i.SvelteComponent{constructor(t){super(),i.init(this,t,Ii,wi,i.safe_not_equal,{session:19,endpoint:20,lang:18,tournamentsshownnumber:21,looptime:22,iconsize:0,icon:23,clientstyling:1,clientstylingurl:2,translationurl:24,mbsource:3},yi,[-1,-1,-1])}get session(){return this.$$.ctx[19]}set session(t){this.$$set({session:t}),i.flush()}get endpoint(){return this.$$.ctx[20]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),i.flush()}get tournamentsshownnumber(){return this.$$.ctx[21]}set tournamentsshownnumber(t){this.$$set({tournamentsshownnumber:t}),i.flush()}get looptime(){return this.$$.ctx[22]}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[23]}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[24]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(xr,{session:{},endpoint:{},lang:{},tournamentsshownnumber:{},looptime:{},iconsize:{},icon:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=xr;
11
+ `;if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsRank-CEE5nAvG.cjs")).then(t=>t.CasinoTournamentsRank_ce).then(({default:t})=>{!customElements.get("casino-tournaments-rank")&&customElements.define("casino-tournaments-rank",t.element)})}function yi(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,r){const n=e.slice();return n[63]=t[r],n[65]=r,n}function Yt(e){let t,r,n,a=e[14]("loading")+"",o,f,c,d,l,h;return{c(){t=i.element("div"),r=i.element("div"),n=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(n,"part","TournamentInfo_Name_link"),i.attr(r,"part","TournamentInfo_Name"),i.attr(r,"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,"mbsource",e[3]),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(A,g){i.insert(A,t,g),i.append(t,r),i.append(r,n),i.append(n,o),i.append(t,f),i.append(t,c),i.append(c,d),i.append(t,l),i.append(t,h)},p(A,g){g[0]&16384&&a!==(a=A[14]("loading")+"")&&i.set_data(o,a),g[0]&8&&i.set_custom_element_data(d,"mbsource",A[3]),g[0]&2&&i.set_custom_element_data(d,"clientstyling",A[1]),g[0]&4&&i.set_custom_element_data(d,"clientstylingurl",A[2])},d(A){A&&i.detach(t)}}}function Wt(e){let t,r,n,a=e[8].name+"",o,f,c,d,l,h,A,g,R,M,T,S,I,Q,H,k=i.ensure_array_like(e[5]),O=[];for(let b=0;b<k.length;b+=1)O[b]=Kt(qt(e,k,b));return{c(){t=i.element("div"),r=i.element("div"),n=i.element("span"),o=i.text(a),c=i.space(),d=i.element("div"),l=i.element("casino-tournaments-rank"),M=i.space(),T=i.element("div");for(let b=0;b<O.length;b+=1)O[b].c();i.attr(n,"part","TournamentInfo_Name_link"),i.attr(n,"class","TournamentNameLink"),i.attr(n,"title",f=e[8].name),i.attr(r,"part","TournamentInfo_Name"),i.attr(r,"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[8].rank),i.set_custom_element_data(l,"mbsource",e[3]),i.set_custom_element_data(l,"prize",A=e[8].prize),i.set_custom_element_data(l,"overallrank",g=e[8].overallRank),i.set_custom_element_data(l,"tournamentid",R=e[8].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(T,"part","TournamentInfo_Points"),i.attr(T,"class","circle"),i.attr(t,"part","TournamentInfo"),i.attr(t,"class","TournamentInfo")},m(b,B){i.insert(b,t,B),i.append(t,r),i.append(r,n),i.append(n,o),i.append(t,c),i.append(t,d),i.append(d,l),i.append(t,M),i.append(t,T);for(let G=0;G<O.length;G+=1)O[G]&&O[G].m(T,null);e[28](t),I=!0,Q||(H=i.listen(n,"click",e[27]),Q=!0)},p(b,B){if((!I||B[0]&256)&&a!==(a=b[8].name+"")&&i.set_data(o,a),(!I||B[0]&256&&f!==(f=b[8].name))&&i.attr(n,"title",f),(!I||B[0]&256&&h!==(h=b[8].rank))&&i.set_custom_element_data(l,"userrank",h),(!I||B[0]&8)&&i.set_custom_element_data(l,"mbsource",b[3]),(!I||B[0]&256&&A!==(A=b[8].prize))&&i.set_custom_element_data(l,"prize",A),(!I||B[0]&256&&g!==(g=b[8].overallRank))&&i.set_custom_element_data(l,"overallrank",g),(!I||B[0]&256&&R!==(R=b[8].id))&&i.set_custom_element_data(l,"tournamentid",R),(!I||B[0]&2)&&i.set_custom_element_data(l,"clientstyling",b[1]),(!I||B[0]&4)&&i.set_custom_element_data(l,"clientstylingurl",b[2]),B[0]&96){k=i.ensure_array_like(b[5]);let G;for(G=0;G<k.length;G+=1){const W=qt(b,k,G);O[G]?O[G].p(W,B):(O[G]=Kt(W),O[G].c(),O[G].m(T,null))}for(;G<O.length;G+=1)O[G].d(1);O.length=k.length}},i(b){I||(b&&i.add_render_callback(()=>{I&&(S||(S=i.create_bidirectional_transition(t,Lt,{delay:250,duration:300},!0)),S.run(1))}),I=!0)},o(b){b&&(S||(S=i.create_bidirectional_transition(t,Lt,{delay:250,duration:300},!1)),S.run(0)),I=!1},d(b){b&&i.detach(t),i.destroy_each(O,b),e[28](null),b&&S&&S.end(),Q=!1,H()}}}function Kt(e){let t,r,n;return{c(){t=i.svg_element("svg"),r=i.svg_element("circle"),i.attr(r,"cx","2.77888"),i.attr(r,"cy","2.50837"),i.attr(r,"r","2.28571"),i.attr(r,"fill","currentColor"),i.attr(r,"stroke","currentColor"),i.attr(t,"class",n=e[6]==e[65]?"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,r)},p(a,o){o[0]&64&&n!==(n=a[6]==a[65]?"active":"")&&i.attr(t,"class",n)},d(a){a&&i.detach(t)}}}function $t(e){let t,r;return{c(){t=i.svg_element("svg"),r=i.svg_element("path"),i.attr(r,"fill-rule","evenodd"),i.attr(r,"clip-rule","evenodd"),i.attr(r,"d","M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"),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(n,a){i.insert(n,t,a),i.append(t,r)},d(n){n&&i.detach(t)}}}function wi(e){let t,r,n,a,o,f,c,d,l,h,A,g,R,M,T,S,I,Q,H,k,O,b,B,G,W,ie,de,L=!e[5]&&Yt(e),U=e[5]&&e[5].length>0&&Wt(e),z=e[10]&&$t();return{c(){t=i.element("div"),r=i.element("div"),n=i.element("div"),a=i.svg_element("svg"),o=i.svg_element("path"),c=i.space(),L&&L.c(),d=i.space(),U&&U.c(),l=i.space(),h=i.element("div"),A=i.svg_element("svg"),g=i.svg_element("path"),R=i.space(),z&&z.c(),M=i.space(),T=i.element("section"),S=i.element("div"),I=i.svg_element("svg"),Q=i.svg_element("rect"),H=i.svg_element("defs"),k=i.svg_element("pattern"),O=i.svg_element("use"),b=i.svg_element("image"),G=i.space(),W=i.element("div"),W.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(n,"part","Tournaments_ArrowLeft"),i.attr(n,"class",f="ArrowLeft "+(e[9]?"Disabled":"")),i.attr(g,"fill-rule","evenodd"),i.attr(g,"clip-rule","evenodd"),i.attr(g,"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(A,"width","6"),i.attr(A,"height","10"),i.attr(A,"fill","currentColor"),i.attr(A,"viewBox","0 0 6 10"),i.attr(A,"xmlns","http://www.w3.org/2000/svg"),i.attr(h,"part","Tournaments_ArrowRight"),i.attr(h,"class","ArrowRight"),i.attr(r,"part","Tournaments"),i.attr(r,"class","casino-tournaments-slider-controller"),i.attr(Q,"width",e[0]),i.attr(Q,"height",e[0]),i.attr(Q,"fill","url(#pattern0)"),i.xlink_attr(O,"xlink:href","#image0_2606_356"),i.attr(O,"transform","scale(0.00195312)"),i.attr(k,"id","pattern0"),i.attr(k,"patternContentUnits","objectBoundingBox"),i.attr(k,"width","1"),i.attr(k,"height","1"),i.attr(b,"id","image0_2606_356"),i.attr(b,"width","512"),i.attr(b,"height","512"),i.xlink_attr(b,"xlink:href",e[13]),i.attr(I,"width",e[0]),i.attr(I,"height",e[0]),i.attr(I,"viewBox",B=`0 0 ${e[0]} ${e[0]}`),i.attr(I,"fill","none"),i.attr(I,"xmlns","http://www.w3.org/2000/svg"),i.attr(I,"xmlns:xlink","http://www.w3.org/1999/xlink"),i.attr(S,"class","svg"),i.attr(S,"part","Icon"),i.attr(W,"class","restoreButton"),i.attr(W,"part","RestoreButton"),i.attr(T,"id","animator"),i.attr(T,"part","Animator")},m(F,Z){i.insert(F,t,Z),i.append(t,r),i.append(r,n),i.append(n,a),i.append(a,o),i.append(r,c),L&&L.m(r,null),i.append(r,d),U&&U.m(r,null),i.append(r,l),i.append(r,h),i.append(h,A),i.append(A,g),i.append(h,R),z&&z.m(h,null),e[30](r),i.append(t,M),i.append(t,T),i.append(T,S),i.append(S,I),i.append(I,Q),i.append(I,H),i.append(H,k),i.append(k,O),i.append(H,b),i.append(T,G),i.append(T,W),e[31](T),e[33](t),ie||(de=[i.listen(n,"click",e[26]),i.listen(h,"click",e[29]),i.listen(T,"click",e[32])],ie=!0)},p(F,Z){Z[0]&512&&f!==(f="ArrowLeft "+(F[9]?"Disabled":""))&&i.attr(n,"class",f),F[5]?L&&(L.d(1),L=null):L?L.p(F,Z):(L=Yt(F),L.c(),L.m(r,d)),F[5]&&F[5].length>0?U?(U.p(F,Z),Z[0]&32&&i.transition_in(U,1)):(U=Wt(F),U.c(),i.transition_in(U,1),U.m(r,l)):U&&(i.group_outros(),i.transition_out(U,1,1,()=>{U=null}),i.check_outros()),F[10]?z||(z=$t(),z.c(),z.m(h,null)):z&&(z.d(1),z=null),Z[0]&1&&i.attr(Q,"width",F[0]),Z[0]&1&&i.attr(Q,"height",F[0]),Z[0]&8192&&i.xlink_attr(b,"xlink:href",F[13]),Z[0]&1&&i.attr(I,"width",F[0]),Z[0]&1&&i.attr(I,"height",F[0]),Z[0]&1&&B!==(B=`0 0 ${F[0]} ${F[0]}`)&&i.attr(I,"viewBox",B)},i(F){i.transition_in(U)},o(F){i.transition_out(U)},d(F){F&&i.detach(t),L&&L.d(),U&&U.d(),z&&z.d(),e[30](null),e[31](null),e[33](null),ie=!1,i.run_all(de)}}}let vt=1,Et=300;function Ii(e,t,r){let n,a;i.component_subscribe(e,Ai,u=>r(14,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:A=""}=t,{clientstyling:g=""}=t,{clientstylingurl:R=""}=t,{translationurl:M=""}=t,{mbsource:T}=t,S,I=[],Q,H=0,k=!0,O=!1,b,B,G=null,W=null,ie,de=!1,L,U;gi({withLocale:"en",translations:{}});const z=()=>{fetch(M).then(y=>y.json()).then(y=>{Object.keys(y).forEach(E=>{Vt(E,y[E])})}).catch(y=>{console.log(y)})};Object.keys(Zt).forEach(u=>{Vt(u,Zt[u])});const F=u=>{u.data&&u.data.type=="TournamentList"&&r(5,I=u.data.tournamentList)},Z=()=>{o.length>0&&o!="false"},fe=()=>{vi(c)},ve=()=>{I.length!==0&&(ue.curTournament.hide(),setTimeout(()=>{r(6,H=(H+1)%I.length),ue.curTournament.show()},Et*1.5))},Ee=()=>{clearInterval(ie),ie=setInterval(()=>{de||ve()},Number(l)*1e3)},pe=u=>{ue.curTournament.hide(),Ee(),u>0&&O&&st(),!(u>0&&O||u<0&&k)&&setTimeout(()=>{r(6,H=H+u),ue.curTournament.show()},Et*1.5)},le=u=>setTimeout(()=>u(),vt*1e3),ue={icon:{init(){r(11,L.style.transition=`all ${vt}s ease-in-out`,L)},show(){r(11,L.style.display="flex",L),le(()=>r(11,L.style.opacity="1",L))},hide(){r(11,L.style.display="none",L),r(11,L.style.opacity="0",L)}},slider:{init(){r(7,B.style.transition=`all ${vt}s ease-in-out`,B)},show(){r(7,B.style.opacity="1",B),r(7,B.style.transform=null,B),document.querySelector("body").style["overflow-x"]="hidden"},hide(){this.init(),r(7,B.style.opacity="0",B),r(7,B.style.transform=`translateX(${B.clientWidth+20}px)`,B),le(()=>document.querySelector("body").setAttribute("style",null))}},curTournament:{init(){r(12,U.style.transition=`all ${Et}ms linear`,U)},show(){r(12,U.style.opacity="1",U)},hide(){this.init(),r(12,U.style.opacity="0",U)}}},ke=()=>{ue.slider.show(),ue.icon.hide(),de=!1},st=()=>{ue.slider.hide(),ue.icon.show(),de=!0},je=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)},Xe=(u,y,E)=>(u.append("pagination",`offset=${y},limit=${E}`),u.append("sortField","StartTime"),u.append("sortOrder","desc"),u.append("fields","id,nameOrTitle,state"),u.append("language",c),u.append("filter","state=Running"),u),He=u=>{let y=je(u),E=I.findIndex(_=>_.id==y.id);H==E&&window.postMessage({type:`TournamentRankInfo_${y.id}}`,rankInfo:{rank:y.rank,overallRank:y.overallRank,prize:y.prize}},window.location.href),r(5,I[E]=y,I)},Ie=u=>{if(u.data)try{let y=u.data,E=JSON.parse(y);E.messageType=="PlayerLeaderBoardsUpdate"&&E.items?E.items.forEach((_,ae)=>{He(_)}):E.messageType=="PlayerLeaderBoardUpdate"&&E.item&&He(E.item)}catch(y){console.log(y)}},be=u=>u.touches||u.originalEvent.touches,re=u=>{const y=be(u)[0];G=y.clientX,W=y.clientY},ze=u=>{if(!G||!W)return;let y=u.touches[0].clientX,E=u.touches[0].clientY,_=G-y,ae=W-E;Math.abs(_)>Math.abs(ae)&&(_>0?pe(1):pe(-1)),G=null,W=null},ut=()=>{B.addEventListener("touchstart",re,{passive:!0}),B.addEventListener("touchmove",ze,{passive:!0})},lt=()=>{if(!f)return;b&&(b.removeEventListener("message",Ie),b.close());let u=new URL(`${f}/v1/tournaments/leaderboard/player/updates`);Xe(u.searchParams,0,d),b=new Ei.EventSourcePolyfill(u.href,{headers:{accept:"text/event-stream","X-SessionId":o}}),typeof b!="undefined"&&b.addEventListener("message",Ie)},Ve=()=>{if(!f||!o)return;let u=new URL(`${f}/v1/tournaments/leaderboard/player`),y=new Headers;Xe(u.searchParams,0,d),o&&y.append("X-SessionID",o),fetch(u,{method:"GET",headers:y}).then(_=>_.json()).then(_=>{if(!_.items)return;r(5,I=[]),_.items.forEach((xe,ne)=>{I.push(je(xe))}),r(8,Q=I[H]),lt(),Ee()})};let s=!1;i.onMount(()=>(r(25,s=!0),window.addEventListener("message",F,!1),setTimeout(()=>{r(18,c="tr")},5e3),()=>{clearInterval(ie),window.removeEventListener("message",F),b&&b.removeEventListener("message",Ie),B.removeEventListener("touchstart",re),B.removeEventListener("touchmove",ze)}));const m=()=>pe(-1),v=()=>Je(Q.id);function p(u){i.binding_callbacks[u?"unshift":"push"](()=>{U=u,r(12,U)})}const x=()=>pe(1);function w(u){i.binding_callbacks[u?"unshift":"push"](()=>{B=u,r(7,B)})}function C(u){i.binding_callbacks[u?"unshift":"push"](()=>{L=u,r(11,L)})}const j=()=>ke();function N(u){i.binding_callbacks[u?"unshift":"push"](()=>{S=u,r(4,S)})}return e.$$set=u=>{"session"in u&&r(19,o=u.session),"endpoint"in u&&r(20,f=u.endpoint),"lang"in u&&r(18,c=u.lang),"tournamentsshownnumber"in u&&r(21,d=u.tournamentsshownnumber),"looptime"in u&&r(22,l=u.looptime),"iconsize"in u&&r(0,h=u.iconsize),"icon"in u&&r(23,A=u.icon),"clientstyling"in u&&r(1,g=u.clientstyling),"clientstylingurl"in u&&r(2,R=u.clientstylingurl),"translationurl"in u&&r(24,M=u.translationurl),"mbsource"in u&&r(3,T=u.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&18&&g&&S&&i.setClientStyling(S,g),e.$$.dirty[0]&20&&R&&S&&i.setClientStylingURL(S,R),e.$$.dirty[0]&24&&T&&S&&i.setStreamStyling(S,`${T}.Style`),e.$$.dirty[0]&24&&T&&S&&i.setStreamStyling(S,`${T}.Style`),e.$$.dirty[0]&8388608&&r(13,n=A||bi),e.$$.dirty[0]&36962304&&s&&f&&d&&c&&Ve(),e.$$.dirty[0]&128&&B&&ut(),e.$$.dirty[0]&524288&&o&&Z(),e.$$.dirty[0]&262144&&c&&fe(),e.$$.dirty[0]&16777216&&M&&z(),e.$$.dirty[0]&96&&r(8,Q=I[H]),e.$$.dirty[0]&96&&r(10,O=H==I.length-1),e.$$.dirty[0]&64&&r(9,k=H==0)},[h,g,R,T,S,I,H,B,Q,k,O,L,U,n,a,pe,ke,Je,c,o,f,d,l,A,M,s,m,v,p,x,w,C,j,N]}class xr extends i.SvelteComponent{constructor(t){super(),i.init(this,t,Ii,wi,i.safe_not_equal,{session:19,endpoint:20,lang:18,tournamentsshownnumber:21,looptime:22,iconsize:0,icon:23,clientstyling:1,clientstylingurl:2,translationurl:24,mbsource:3},yi,[-1,-1,-1])}get session(){return this.$$.ctx[19]}set session(t){this.$$set({session:t}),i.flush()}get endpoint(){return this.$$.ctx[20]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),i.flush()}get tournamentsshownnumber(){return this.$$.ctx[21]}set tournamentsshownnumber(t){this.$$set({tournamentsshownnumber:t}),i.flush()}get looptime(){return this.$$.ctx[22]}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[23]}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[24]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(xr,{session:{},endpoint:{},lang:{},tournamentsshownnumber:{},looptime:{},iconsize:{},icon:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=xr;
@@ -1,4 +1,4 @@
1
- import { i as Vr, n as Ve, s as gr, a as Zr, r as vr, b as qr, c as Yr, S as Wr, d as Kr, f as Ae, e as $r, g as Ye, t as zt, h as It, j as h, k as en, x as xt, l as We, m as C, o as st, p as Y, q as se, u as ge, v as tn, w as rn, y as Er, z as j, A as br, B as nn, C as Vt, D as on, E as Zt, F as an, G as ot, H as sn, I as un, J as ln, K as qt } from "./CasinoTournamentsRank-fixMr3v8.js";
1
+ import { i as Vr, n as Ve, s as gr, a as Zr, r as vr, b as qr, c as Yr, S as Wr, d as Kr, f as Ae, e as $r, g as Ye, t as zt, h as It, j as h, k as en, x as xt, l as We, m as C, o as st, p as Y, q as se, u as ge, v as tn, w as rn, y as Er, z as j, A as br, B as nn, C as Vt, D as on, E as Zt, F as an, G as ot, H as sn, I as un, J as ln, K as qt } from "./CasinoTournamentsRank-9iTIINaq.js";
2
2
  function Yt(e, { delay: t = 0, duration: r = 400, easing: n = Vr } = {}) {
3
3
  const i = +getComputedStyle(e).opacity;
4
4
  return {
@@ -3767,7 +3767,7 @@ if (typeof window < "u") {
3767
3767
  }
3768
3768
  };
3769
3769
  };
3770
- customElements.define = e(customElements.define), import("./CasinoTournamentsRank-fixMr3v8.js").then((t) => t.L).then(({ default: t }) => {
3770
+ customElements.define = e(customElements.define), import("./CasinoTournamentsRank-9iTIINaq.js").then((t) => t.L).then(({ default: t }) => {
3771
3771
  !customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
3772
3772
  });
3773
3773
  }
@@ -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-BtUmq-LK.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-L01xbHSt.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-BX1vy7c7.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsSliderController-BZMKTZ11.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-tournaments-slider-controller") && customElements.define("casino-tournaments-slider-controller", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoTournamentsSliderController-BAsN5qH6.js";
1
+ import { C as s } from "../components/CasinoTournamentsSliderController-XBRQQpZ2.js";
2
2
  function r(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-slider-controller",
3
- "version": "1.85.17",
3
+ "version": "1.85.19",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-slider-controller.cjs",
6
6
  "module": "esnext/casino-tournaments-slider-controller.js",