livevegas-ui-kit 1.0.308 → 1.0.310

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.
Files changed (151) hide show
  1. package/dist/components/ActionButton/index.d.ts +1 -1
  2. package/dist/components/ActionButton/styled.d.ts +1 -3
  3. package/dist/components/BackFaceCard/index.d.ts +1 -1
  4. package/dist/components/BackFaceCard/styeld.d.ts +1 -3
  5. package/dist/components/BalanceAndBet/index.d.ts +1 -1
  6. package/dist/components/BalanceAndBet/styled.d.ts +2 -6
  7. package/dist/components/BlackJackAction/helper.d.ts +4 -4
  8. package/dist/components/BlackJackAction/index.d.ts +1 -1
  9. package/dist/components/BlackJackAction/styled.d.ts +4 -12
  10. package/dist/components/BlackJackeWinPopup/index.d.ts +1 -1
  11. package/dist/components/BlackJackeWinPopup/styled.d.ts +1 -3
  12. package/dist/components/BlackJeckInsurance/helper.d.ts +1 -1
  13. package/dist/components/BlackJeckInsurance/index.d.ts +1 -1
  14. package/dist/components/BlackJeckInsurance/styled.d.ts +1 -3
  15. package/dist/components/BonusModal/index.d.ts +1 -1
  16. package/dist/components/BonusModal/styled.d.ts +11 -33
  17. package/dist/components/Button/index.d.ts +1 -1
  18. package/dist/components/Button/styled.d.ts +3 -9
  19. package/dist/components/Card/index.d.ts +1 -1
  20. package/dist/components/Card/styled.d.ts +2 -6
  21. package/dist/components/CardSymbole/index.d.ts +1 -1
  22. package/dist/components/CardTexas/index.d.ts +1 -1
  23. package/dist/components/CardTexas/styled.d.ts +3 -9
  24. package/dist/components/CardsRightInfo/index.d.ts +1 -1
  25. package/dist/components/CardsRightInfo/styled.d.ts +1 -3
  26. package/dist/components/Chat/index.d.ts +1 -1
  27. package/dist/components/Chat/styled.d.ts +4 -12
  28. package/dist/components/Chip/index.d.ts +1 -1
  29. package/dist/components/Chip/styled.d.ts +2 -6
  30. package/dist/components/Chip3D/index.d.ts +1 -1
  31. package/dist/components/Chip3D/styled.d.ts +1 -3
  32. package/dist/components/ChipBoard/index.d.ts +1 -1
  33. package/dist/components/ChipBoard/styled.d.ts +5 -15
  34. package/dist/components/CoefficientAndCart/index.d.ts +1 -1
  35. package/dist/components/CoefficientAndCart/styled.d.ts +13 -49
  36. package/dist/components/FoolScreen/icons.d.ts +8 -8
  37. package/dist/components/FoolScreen/index.d.ts +1 -1
  38. package/dist/components/FoolScreen/styled.d.ts +17 -75
  39. package/dist/components/History/AllHistory/index.d.ts +1 -1
  40. package/dist/components/History/AllHistory/styled.d.ts +1 -3
  41. package/dist/components/History/History.stories.d.ts +12 -0
  42. package/dist/components/History/PaginationGroup/index.d.ts +1 -1
  43. package/dist/components/History/PaginationGroup/styled.d.ts +2 -6
  44. package/dist/components/History/RouletteRoundHistory/RoundGroup/index.d.ts +1 -1
  45. package/dist/components/History/RouletteRoundHistory/RoundGroup/styled.d.ts +2 -6
  46. package/dist/components/History/RouletteRoundHistory/index.d.ts +1 -1
  47. package/dist/components/History/RouletteRoundHistory/styled.d.ts +8 -24
  48. package/dist/components/History/RoundHistory/RoundGroup/index.d.ts +1 -1
  49. package/dist/components/History/RoundHistory/RoundGroup/styled.d.ts +2 -6
  50. package/dist/components/History/RoundHistory/index.d.ts +1 -1
  51. package/dist/components/History/RoundHistory/styled.d.ts +8 -24
  52. package/dist/components/History/TexasRoundHistory/index.d.ts +1 -1
  53. package/dist/components/History/TexasRoundHistory/styled.d.ts +10 -30
  54. package/dist/components/History/VipRoundHistory/index.d.ts +1 -1
  55. package/dist/components/History/VipRoundHistory/styled.d.ts +8 -24
  56. package/dist/components/History/index.d.ts +2 -1
  57. package/dist/components/History/styled.d.ts +3 -9
  58. package/dist/components/Info/TextBlock/Payments/index.d.ts +1 -1
  59. package/dist/components/Info/TextBlock/RenderContent/index.d.ts +1 -1
  60. package/dist/components/Info/TextBlock/RenderValue/index.d.ts +1 -1
  61. package/dist/components/Info/index.d.ts +1 -1
  62. package/dist/components/Info/styled.d.ts +8 -24
  63. package/dist/components/Input/index.d.ts +1 -1
  64. package/dist/components/Input/styled.d.ts +3 -9
  65. package/dist/components/LaunchFailed/index.d.ts +1 -1
  66. package/dist/components/LaunchFailed/styled.d.ts +6 -18
  67. package/dist/components/LimitInfo/index.d.ts +1 -1
  68. package/dist/components/LimitInfo/styled.d.ts +1 -3
  69. package/dist/components/LimitInfoRoulette/index.d.ts +1 -1
  70. package/dist/components/LimitInfoRoulette/styled.d.ts +2 -11
  71. package/dist/components/Limits/index.d.ts +1 -1
  72. package/dist/components/Limits/styled.d.ts +6 -18
  73. package/dist/components/MobileBottomInfo/index.d.ts +1 -1
  74. package/dist/components/MobileBottomInfo/styled.d.ts +2 -6
  75. package/dist/components/MobileMenu/ItemMenu/index.d.ts +1 -1
  76. package/dist/components/MobileMenu/ItemMenu/styled.d.ts +2 -6
  77. package/dist/components/MobileMenu/helper.d.ts +2 -2
  78. package/dist/components/MobileMenu/index.d.ts +1 -1
  79. package/dist/components/MobileMenu/styled.d.ts +8 -24
  80. package/dist/components/MoibleChipBoard/index.d.ts +1 -1
  81. package/dist/components/MoibleChipBoard/styled.d.ts +6 -18
  82. package/dist/components/NotPlaying/index.d.ts +1 -1
  83. package/dist/components/NotPlaying/styled.d.ts +5 -15
  84. package/dist/components/Popup/index.d.ts +1 -1
  85. package/dist/components/Popup/styled.d.ts +2 -6
  86. package/dist/components/Reconnect/index.d.ts +1 -1
  87. package/dist/components/Reconnect/styled.d.ts +6 -18
  88. package/dist/components/Settings/index.d.ts +1 -1
  89. package/dist/components/Settings/styled.d.ts +3 -9
  90. package/dist/components/Support/index.d.ts +1 -1
  91. package/dist/components/Support/styled.d.ts +4 -12
  92. package/dist/components/Timer/index.d.ts +1 -1
  93. package/dist/components/Timer/styled.d.ts +1 -3
  94. package/dist/components/Tip/index.d.ts +1 -1
  95. package/dist/components/Tip/styled.d.ts +2 -6
  96. package/dist/components/ToLobby/index.d.ts +1 -1
  97. package/dist/components/ToLobby/styled.d.ts +5 -15
  98. package/dist/components/ToastMessages/index.d.ts +1 -1
  99. package/dist/components/ToastMessages/styled.d.ts +3 -9
  100. package/dist/components/TopIcons/Elements.d.ts +1 -1
  101. package/dist/components/TopIcons/index.d.ts +1 -1
  102. package/dist/components/TopIcons/styled.d.ts +2 -6
  103. package/dist/components/Tournament/index.d.ts +1 -1
  104. package/dist/components/Tournament/styled.d.ts +16 -48
  105. package/dist/components/TournamentAndPoints/index.d.ts +1 -2
  106. package/dist/components/TournamentAndPoints/styled.d.ts +3 -9
  107. package/dist/components/TournamentNotification/index.d.ts +1 -1
  108. package/dist/components/TournamentNotification/styled.d.ts +10 -30
  109. package/dist/components/VolumeSlider/index.d.ts +1 -1
  110. package/dist/components/VolumeSlider/styled.d.ts +4 -8
  111. package/dist/components/WagerAndFreeSpins/index.d.ts +1 -2
  112. package/dist/components/WagerAndFreeSpins/styled.d.ts +7 -21
  113. package/dist/icons/ArrowLeft.d.ts +1 -1
  114. package/dist/icons/ChipBoardBackgraound.d.ts +1 -1
  115. package/dist/icons/ChipIconForBalance.d.ts +1 -1
  116. package/dist/icons/CloseIcon.d.ts +1 -1
  117. package/dist/icons/CompanyLogo.d.ts +1 -1
  118. package/dist/icons/Double.d.ts +1 -1
  119. package/dist/icons/Fold.d.ts +1 -1
  120. package/dist/icons/FullScreen.d.ts +1 -1
  121. package/dist/icons/FullScreenOff.d.ts +1 -1
  122. package/dist/icons/History.d.ts +1 -1
  123. package/dist/icons/Hit.d.ts +1 -1
  124. package/dist/icons/IconDeal.d.ts +1 -1
  125. package/dist/icons/Info.d.ts +1 -1
  126. package/dist/icons/InputCursor.d.ts +1 -1
  127. package/dist/icons/InsuranceNo.d.ts +1 -1
  128. package/dist/icons/InsuranceYes.d.ts +1 -1
  129. package/dist/icons/Limits.d.ts +1 -1
  130. package/dist/icons/MenuIcon.d.ts +1 -1
  131. package/dist/icons/Message.d.ts +1 -1
  132. package/dist/icons/Repeat.d.ts +1 -1
  133. package/dist/icons/Settings.d.ts +1 -1
  134. package/dist/icons/Split.d.ts +1 -1
  135. package/dist/icons/Stand.d.ts +1 -1
  136. package/dist/icons/StarsForWin.d.ts +1 -1
  137. package/dist/icons/Support.d.ts +1 -1
  138. package/dist/icons/Surrender.d.ts +1 -1
  139. package/dist/icons/TipIcon.d.ts +1 -1
  140. package/dist/icons/TournamentIcon.d.ts +1 -1
  141. package/dist/icons/Triangle.d.ts +1 -1
  142. package/dist/icons/Undo.d.ts +1 -1
  143. package/dist/icons/VolumeOff.d.ts +1 -1
  144. package/dist/icons/VolumeOn.d.ts +1 -1
  145. package/dist/icons/WalletIcon.d.ts +1 -1
  146. package/dist/icons/index.d.ts +1 -1
  147. package/dist/icons/styled.d.ts +1 -3
  148. package/dist/livevegas-ui-kit.es.js +86 -93
  149. package/dist/livevegas-ui-kit.umd.js +18 -16
  150. package/dist/styles/styled.d.ts +1 -3
  151. package/package.json +1 -1
@@ -94,8 +94,8 @@ var m = i.div`
94
94
  minutes: 0,
95
95
  seconds: 0
96
96
  } : {
97
- days: Math.floor(r / 864e5),
98
- hours: Math.floor(r / 36e5 % 24),
97
+ days: Math.floor(r / (1e3 * 60 * 60 * 24)),
98
+ hours: Math.floor(r / (1e3 * 60 * 60) % 24),
99
99
  minutes: Math.floor(r / 1e3 / 60 % 60),
100
100
  seconds: Math.floor(r / 1e3 % 60)
101
101
  };
@@ -213,7 +213,7 @@ var w = /* @__PURE__ */ function(e) {
213
213
  16: "Six Card Poker"
214
214
  }, D = /* @__PURE__ */ function(e) {
215
215
  return e[e.RUSSIANPOKER = 0] = "RUSSIANPOKER", e[e.TEXASHOLDEM = 1] = "TEXASHOLDEM", e[e.TEXASULTIMATE = 2] = "TEXASULTIMATE", e[e.OASIS = 3] = "OASIS", e[e.SIXCARD = 4] = "SIXCARD", e;
216
- }({}), ee = /* @__PURE__ */ new Set([
216
+ }({}), ee = new Set([
217
217
  155,
218
218
  160,
219
219
  150,
@@ -1807,29 +1807,17 @@ var w = /* @__PURE__ */ function(e) {
1807
1807
  _();
1808
1808
  }, [t]);
1809
1809
  let _ = () => {
1810
- if (e >= 10) {
1811
- if (t < 3) {
1812
- let t = m.slice(0, 3);
1813
- i(t), l(["...", e]);
1814
- } else i([1, "..."]);
1815
- if (t > e - 3) {
1816
- let t = m.slice(e - 3);
1817
- l(t);
1818
- } else l(["...", e]);
1819
- t >= 3 && t <= e - 3 ? f([t]) : f([]);
1820
- } else f([...m]);
1810
+ e >= 10 ? (t < 3 ? (i(m.slice(0, 3)), l(["...", e])) : i([1, "..."]), t > e - 3 ? l(m.slice(e - 3)) : l(["...", e]), t >= 3 && t <= e - 3 ? f([t]) : f([])) : f([...m]);
1821
1811
  }, v = (r, i) => {
1822
- if (r !== t) {
1823
- if (p(), typeof r == "string") {
1824
- if (i === 4 || i === 5) {
1825
- let r = m.slice(t, e);
1826
- n(r[(r.length / 2).toFixed() - 1]);
1827
- } else if (i === 1) {
1828
- let e = m.slice(0, t);
1829
- n(e[(e.length / 2).toFixed() - 1]);
1830
- }
1831
- } else n(r);
1832
- }
1812
+ if (r !== t) if (p(), typeof r == "string") {
1813
+ if (i === 4 || i === 5) {
1814
+ let r = m.slice(t, e);
1815
+ n(r[(r.length / 2).toFixed() - 1]);
1816
+ } else if (i === 1) {
1817
+ let e = m.slice(0, t);
1818
+ n(e[(e.length / 2).toFixed() - 1]);
1819
+ }
1820
+ } else n(r);
1833
1821
  };
1834
1822
  return /* @__PURE__ */ o(Ue, { children: /* @__PURE__ */ s("div", {
1835
1823
  className: "wrapper",
@@ -2179,9 +2167,11 @@ var w = /* @__PURE__ */ function(e) {
2179
2167
  text-align: end;
2180
2168
  `, et = i.div`
2181
2169
  max-width: 100%;
2182
- height: calc(100% - 50px);
2170
+ height: 100%;
2171
+ position: relative;
2183
2172
  overflow: hidden;
2184
2173
  `, tt = i.div`
2174
+ height: calc(100% - 75px);
2185
2175
  padding: 8px;
2186
2176
  overflow: auto;
2187
2177
 
@@ -2261,7 +2251,7 @@ var w = /* @__PURE__ */ function(e) {
2261
2251
  }
2262
2252
  `, rt = ({ count: e, active: n, setActive: r, handleClickRound: i, historyData: c, isTexas: l, isRoulette: u }) => {
2263
2253
  let { t: d } = t(), { clickSound: f } = U({ effectsVolume: 50 });
2264
- return /* @__PURE__ */ s(et, { children: [/* @__PURE__ */ s(tt, { children: [/* @__PURE__ */ s("div", {
2254
+ return /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ s(tt, { children: [/* @__PURE__ */ s("div", {
2265
2255
  className: "header",
2266
2256
  children: [
2267
2257
  /* @__PURE__ */ o("p", {
@@ -2739,9 +2729,9 @@ var w = /* @__PURE__ */ function(e) {
2739
2729
  children: t?.hand && t?.hand.finalValue
2740
2730
  }),
2741
2731
  t?.hand && t?.hand.cards && t?.hand?.cards.map(({ scannerIndex: e }, t) => {
2742
- let n = at[e - 1].value, r = ft(e), i = ht(e);
2732
+ let n = at[e - 1].value, r = ft(e);
2743
2733
  return /* @__PURE__ */ o(jt, {
2744
- color: i,
2734
+ color: ht(e),
2745
2735
  value: n,
2746
2736
  suit: r
2747
2737
  }, t);
@@ -2756,9 +2746,9 @@ var w = /* @__PURE__ */ function(e) {
2756
2746
  children: t
2757
2747
  }),
2758
2748
  e.map(({ scannerIndex: e }, t) => {
2759
- let n = at[e - 1].value, r = ft(e), i = ht(e);
2749
+ let n = at[e - 1].value, r = ft(e);
2760
2750
  return /* @__PURE__ */ o(a, { children: /* @__PURE__ */ o(jt, {
2761
- color: i,
2751
+ color: ht(e),
2762
2752
  value: n,
2763
2753
  suit: r
2764
2754
  }, t) });
@@ -4590,44 +4580,44 @@ var Jt = i.div`
4590
4580
  indexHistory: r
4591
4581
  })
4592
4582
  ] });
4593
- }, Mn = ({ historyData: e, getHistory: t, setOpenRoundHistory: n, openRoundHistory: r, isMobile: i = !0, isLandscape: a = !0 }) => {
4594
- let [s, l] = d(1), [u, f] = d(null), [p, m] = d(null), { clickSound: h } = U({ effectsVolume: 50 });
4583
+ }, Mn = ({ historyData: e, getHistory: t, setOpenRoundHistory: n, openRoundHistory: r, isMobile: i = !0, isLandscape: a = !0, pageSize: s = 10 }) => {
4584
+ let [l, u] = d(1), [f, p] = d(null), [m, h] = d(null), { clickSound: g } = U({ effectsVolume: 50 });
4595
4585
  c(() => {
4596
- t(s);
4597
- }, [s]);
4598
- let g = (t) => {
4599
- h(), f(e.rounds[t]), m(t), n(1);
4586
+ t(l);
4587
+ }, [l]);
4588
+ let _ = (t) => {
4589
+ g(), p(e.rounds[t]), h(t), n(1);
4600
4590
  };
4601
4591
  return c(() => {
4602
- (p === null || p < 0) && n(0);
4603
- }, [p]), c(() => {
4604
- r === 2 && (n(0), f(null), m(null));
4605
- }, [r]), /* @__PURE__ */ o(et, { children: u ? e?.rounds[0]?.gameId === w.TEXAS ? /* @__PURE__ */ o(Zt, {
4606
- roundData: u,
4607
- handleClickRound: g,
4608
- indexHistory: p,
4592
+ (m === null || m < 0) && n(0);
4593
+ }, [m]), c(() => {
4594
+ r === 2 && (n(0), p(null), h(null));
4595
+ }, [r]), /* @__PURE__ */ o(et, { children: f ? e?.rounds[0]?.gameId === w.TEXAS ? /* @__PURE__ */ o(Zt, {
4596
+ roundData: f,
4597
+ handleClickRound: _,
4598
+ indexHistory: m,
4609
4599
  isMobile: i,
4610
4600
  isLandscape: a
4611
4601
  }) : e?.rounds[0]?.gameId === w.ROULETTE ? /* @__PURE__ */ o(Cn, {
4612
- roundData: u,
4613
- handleClickRound: g,
4614
- indexHistory: p,
4602
+ roundData: f,
4603
+ handleClickRound: _,
4604
+ indexHistory: m,
4615
4605
  isMobile: i
4616
4606
  }) : e?.rounds[0]?.gameId === w.VIPVERTUAL || e?.rounds[0]?.gameId === w.VIP ? /* @__PURE__ */ o(jn, {
4617
- roundData: u,
4618
- handleClickRound: g,
4619
- indexHistory: p,
4607
+ roundData: f,
4608
+ handleClickRound: _,
4609
+ indexHistory: m,
4620
4610
  isMobile: i
4621
4611
  }) : /* @__PURE__ */ o(Mt, {
4622
- roundData: u,
4623
- handleClickRound: g,
4624
- indexHistory: p,
4612
+ roundData: f,
4613
+ handleClickRound: _,
4614
+ indexHistory: m,
4625
4615
  isMobile: i
4626
4616
  }) : /* @__PURE__ */ o(rt, {
4627
- active: s,
4628
- count: Math.ceil(e?.totalCount / 10),
4629
- setActive: l,
4630
- handleClickRound: g,
4617
+ active: l,
4618
+ count: Math.ceil(e?.totalCount / s),
4619
+ setActive: u,
4620
+ handleClickRound: _,
4631
4621
  historyData: e,
4632
4622
  isTexas: e?.rounds[0]?.gameId === w.TEXAS || e?.rounds[0]?.gameId === w.VIPVERTUAL || e?.rounds[0]?.gameId === w.VIP,
4633
4623
  isRoulette: e?.rounds[0]?.gameId === w.ROULETTE
@@ -5174,8 +5164,8 @@ var In = i.div`
5174
5164
  "To make a decision": ["By making an Ante bet before the end of the betting time, it means to participate in the given round, after which you have to decide before the end of the time to make a bonus bet or not. At the end of the betting time, the dealer deals the cards:2 face up cards to your box, 2 face down cards to the player and 3 face up community cards (Flop). Next, the time for the next bets is opened, during which you have to make a decision to make a bet or not. If no decision is made by the endof this round's playing time, the system will consider it an automatic fold."],
5175
5165
  "Total bet": ["In the upper part of the game balance, the sum value of all the bets made in the given game is displayed."]
5176
5166
  }, rr = /<Card(\d+)\/>/g, ir = ({ textKey: e }) => {
5177
- let { t: n } = t(), r = n(e).split(rr);
5178
- return /* @__PURE__ */ o(a, { children: r.map((e, t) => {
5167
+ let { t: n } = t();
5168
+ return /* @__PURE__ */ o(a, { children: n(e).split(rr).map((e, t) => {
5179
5169
  if (t % 2 == 1) {
5180
5170
  let n = Number(e);
5181
5171
  return /* @__PURE__ */ o(jt, {
@@ -6780,21 +6770,27 @@ var In = i.div`
6780
6770
  t = nr;
6781
6771
  break;
6782
6772
  case w.VIP:
6783
- case w.VIPVERTUAL: switch (n) {
6784
- case D.RUSSIANPOKER:
6785
- t = ur;
6786
- break;
6787
- case D.TEXASHOLDEM:
6788
- t = dr;
6789
- break;
6790
- case D.TEXASULTIMATE:
6791
- t = pr;
6792
- break;
6793
- case D.OASIS:
6794
- t = fr;
6795
- break;
6796
- case D.SIXCARD: t = Pr;
6797
- }
6773
+ case w.VIPVERTUAL:
6774
+ switch (n) {
6775
+ case D.RUSSIANPOKER:
6776
+ t = ur;
6777
+ break;
6778
+ case D.TEXASHOLDEM:
6779
+ t = dr;
6780
+ break;
6781
+ case D.TEXASULTIMATE:
6782
+ t = pr;
6783
+ break;
6784
+ case D.OASIS:
6785
+ t = fr;
6786
+ break;
6787
+ case D.SIXCARD:
6788
+ t = Pr;
6789
+ break;
6790
+ default: break;
6791
+ }
6792
+ break;
6793
+ default: break;
6798
6794
  }
6799
6795
  return {
6800
6796
  ...t,
@@ -7967,9 +7963,9 @@ var In = i.div`
7967
7963
  /* @__PURE__ */ o("div", {
7968
7964
  className: "card",
7969
7965
  children: t.cards.map(({ scannerIndex: e }, t) => {
7970
- let n = at[e - 1].value, r = ft(e), i = ht(e);
7966
+ let n = at[e - 1].value, r = ft(e);
7971
7967
  return /* @__PURE__ */ o(jt, {
7972
- color: i,
7968
+ color: ht(e),
7973
7969
  value: n,
7974
7970
  suit: r
7975
7971
  }, t);
@@ -8291,8 +8287,8 @@ var In = i.div`
8291
8287
  if (e === V.VolumeOn) {
8292
8288
  T(b === 0 ? 100 : 0);
8293
8289
  return;
8294
- }
8295
- e !== V.closeMenu && L(e), B(), R(!1);
8290
+ } else e !== V.closeMenu && L(e);
8291
+ B(), R(!1);
8296
8292
  }, Ee = P === 1 ? { headerClick: () => F(2) } : {}, De = (e) => [
8297
8293
  {
8298
8294
  name: "Settings",
@@ -8775,8 +8771,7 @@ var In = i.div`
8775
8771
  if (e.buttonType === V.FullScreen && m(), e.buttonType === V.VolumeOn) {
8776
8772
  v(h === 0 ? 100 : 0);
8777
8773
  return;
8778
- }
8779
- P(t ? null : e.buttonType), k?.();
8774
+ } else P(t ? null : e.buttonType), k?.();
8780
8775
  }, z = (e) => e.buttonType === V.FullScreen && p ? Ri() : e.buttonType === V.VolumeOn ? h === 0 ? gi() : _e() : e.icon;
8781
8776
  c(() => {
8782
8777
  b && (P(V.Tournament), k?.());
@@ -8982,12 +8977,11 @@ var In = i.div`
8982
8977
  clearInterval(e);
8983
8978
  return;
8984
8979
  }
8985
- let i = Math.floor(r / 864e5).toString(), a = String(Math.floor(r / 36e5 % 24)).padStart(2, "0"), o = String(Math.floor(r / 1e3 / 60 % 60)).padStart(2, "0"), s = String(Math.floor(r / 1e3 % 60)).padStart(2, "0");
8986
8980
  l({
8987
- days: i,
8988
- hours: a,
8989
- minutes: o,
8990
- seconds: s
8981
+ days: Math.floor(r / (1e3 * 60 * 60 * 24)).toString(),
8982
+ hours: String(Math.floor(r / (1e3 * 60 * 60) % 24)).padStart(2, "0"),
8983
+ minutes: String(Math.floor(r / 1e3 / 60 % 60)).padStart(2, "0"),
8984
+ seconds: String(Math.floor(r / 1e3 % 60)).padStart(2, "0")
8991
8985
  });
8992
8986
  }, 1e3);
8993
8987
  return () => clearInterval(e);
@@ -10626,12 +10620,11 @@ var In = i.div`
10626
10620
  clearInterval(t);
10627
10621
  return;
10628
10622
  }
10629
- let i = Math.floor(r / 864e5).toString(), a = String(Math.floor(r / 36e5 % 24)).padStart(2, "0"), o = String(Math.floor(r / 1e3 / 60 % 60)).padStart(2, "0"), s = String(Math.floor(r / 1e3 % 60)).padStart(2, "0");
10630
10623
  l({
10631
- days: i,
10632
- hours: a,
10633
- minutes: o,
10634
- seconds: s
10624
+ days: Math.floor(r / (1e3 * 60 * 60 * 24)).toString(),
10625
+ hours: String(Math.floor(r / (1e3 * 60 * 60) % 24)).padStart(2, "0"),
10626
+ minutes: String(Math.floor(r / 1e3 / 60 % 60)).padStart(2, "0"),
10627
+ seconds: String(Math.floor(r / 1e3 % 60)).padStart(2, "0")
10635
10628
  });
10636
10629
  }, 1e3);
10637
10630
  return () => clearInterval(t);
@@ -10984,7 +10977,7 @@ var In = i.div`
10984
10977
  Ro,
10985
10978
  zo,
10986
10979
  Bo
10987
- ], f = Math.max(0, Math.min(c, d.length - 1));
10980
+ ];
10988
10981
  return /* @__PURE__ */ s(Vo, {
10989
10982
  "data-testid": "chip3d",
10990
10983
  $height: r,
@@ -10994,7 +10987,7 @@ var In = i.div`
10994
10987
  $positionSize: u,
10995
10988
  children: [/* @__PURE__ */ o("img", {
10996
10989
  draggable: !1,
10997
- src: d[f],
10990
+ src: d[Math.max(0, Math.min(c, d.length - 1))],
10998
10991
  className: "chip",
10999
10992
  alt: `chip-${t}`
11000
10993
  }), /* @__PURE__ */ o("div", {
@@ -11803,7 +11796,7 @@ var Ps = i.button`
11803
11796
  },
11804
11797
  isActive: (e, t = !0) => {
11805
11798
  let n = Q(e).getItem(e);
11806
- return n !== "1" && n !== "0" && zs.remove(e), n === "1" || n !== "0" && t;
11799
+ return n !== "1" && n !== "0" && zs.remove(e), n === "1" ? !0 : n === "0" ? !1 : t;
11807
11800
  }
11808
11801
  }, $ = /* @__PURE__ */ function(e) {
11809
11802
  return e.English = "en", e.Armenian = "hy", e.Russia = "ru", e.Turkey = "tr", e.Georgian = "ka", e.Persian = "fa", e.Spanish = "es", e.Uzbek = "uz", e;