livevegas-ui-kit 1.0.172 → 1.0.173
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.
|
@@ -21,5 +21,5 @@ export interface IBlackJackAction {
|
|
|
21
21
|
bettingTimeId: string;
|
|
22
22
|
gameType?: number;
|
|
23
23
|
}
|
|
24
|
-
export declare const BlackJackAction: ({ time, actionsHandler, size, isMobile, bettingTimeId, gameType }: IBlackJackAction) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare const BlackJackAction: ({ time, actionsHandler, size, isMobile, bettingTimeId, gameType, }: IBlackJackAction) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -2205,7 +2205,7 @@ const x1 = m.div`
|
|
|
2205
2205
|
text-align: center;
|
|
2206
2206
|
vertical-align: middle;
|
|
2207
2207
|
`, D1 = m.svg`
|
|
2208
|
-
${({ $isDisabled: e }) => e && `
|
|
2208
|
+
${({ $isDisabled: e }) => e && ` text-align: center;
|
|
2209
2209
|
cursor: none;
|
|
2210
2210
|
opacity: 50%;
|
|
2211
2211
|
pointer-events: none;
|
|
@@ -5790,7 +5790,7 @@ const rr = ({ type: e, cardWidth: t = 54, cardHeight: n = 72 }) => {
|
|
|
5790
5790
|
return /* @__PURE__ */ a.jsxs("tr", { className: "boxes", children: [
|
|
5791
5791
|
/* @__PURE__ */ a.jsx("td", { children: /* @__PURE__ */ a.jsx("p", { className: "text", children: y + 1 }) }),
|
|
5792
5792
|
/* @__PURE__ */ a.jsx("td", { children: g.bets.map((C) => {
|
|
5793
|
-
if (s.includes(C.betType))
|
|
5793
|
+
if (!(!s.includes(C.betType) || !C.amount))
|
|
5794
5794
|
return /* @__PURE__ */ a.jsx("p", { className: "text", children: r(er[C.betType]) }, C.betType);
|
|
5795
5795
|
}) }),
|
|
5796
5796
|
/* @__PURE__ */ a.jsxs("td", { className: "cards", children: [
|
|
@@ -5840,7 +5840,7 @@ const rr = ({ type: e, cardWidth: t = 54, cardHeight: n = 72 }) => {
|
|
|
5840
5840
|
(C, S) => {
|
|
5841
5841
|
var j;
|
|
5842
5842
|
return (j = C == null ? void 0 : C.bets) == null ? void 0 : j.map(
|
|
5843
|
-
(L) => s.includes(L.betType) ? /* @__PURE__ */ a.jsxs(
|
|
5843
|
+
(L) => !s.includes(L.betType) || !L.amount ? null : /* @__PURE__ */ a.jsxs(
|
|
5844
5844
|
"p",
|
|
5845
5845
|
{
|
|
5846
5846
|
className: "text amount-text",
|
|
@@ -5850,7 +5850,7 @@ const rr = ({ type: e, cardWidth: t = 54, cardHeight: n = 72 }) => {
|
|
|
5850
5850
|
]
|
|
5851
5851
|
},
|
|
5852
5852
|
`${S}-${L.betType}`
|
|
5853
|
-
)
|
|
5853
|
+
)
|
|
5854
5854
|
);
|
|
5855
5855
|
}
|
|
5856
5856
|
)
|
|
@@ -6679,7 +6679,7 @@ const a2 = m.div`
|
|
|
6679
6679
|
}) => {
|
|
6680
6680
|
const [s, o] = U(e[0]), { t: l } = V(), { clickSound: c } = Be({ effectsVolume: 50 });
|
|
6681
6681
|
return /* @__PURE__ */ a.jsxs(x2, { children: [
|
|
6682
|
-
/* @__PURE__ */ a.jsx("div", { className: "chip-wrapper", children: e.map((d, h) => /* @__PURE__ */ a.jsx(
|
|
6682
|
+
/* @__PURE__ */ a.jsx("div", { className: "chip-wrapper", children: e.map((d, h) => /* @__PURE__ */ a.jsx(
|
|
6683
6683
|
Qt,
|
|
6684
6684
|
{
|
|
6685
6685
|
onClick: () => {
|
|
@@ -6692,7 +6692,7 @@ const a2 = m.div`
|
|
|
6692
6692
|
isDisabled: d > n
|
|
6693
6693
|
},
|
|
6694
6694
|
h
|
|
6695
|
-
)
|
|
6695
|
+
)) }),
|
|
6696
6696
|
/* @__PURE__ */ a.jsxs(C2, { onClick: () => i(s), children: [
|
|
6697
6697
|
l("Tip"),
|
|
6698
6698
|
" ",
|
|
@@ -8323,6 +8323,7 @@ const rl = ["Min", "Low", "Med", "High", "Auto"], sl = ({
|
|
|
8323
8323
|
height: ${({ $isLandscape: e }) => e ? "100%" : "330px"};
|
|
8324
8324
|
background: #111111fd;
|
|
8325
8325
|
bottom: 0px;
|
|
8326
|
+
z-index: 10;
|
|
8326
8327
|
position: absolute;
|
|
8327
8328
|
touch-action: none;
|
|
8328
8329
|
border-top-left-radius: 16px;
|
|
@@ -9688,25 +9689,17 @@ const rl = ["Min", "Low", "Med", "High", "Auto"], sl = ({
|
|
|
9688
9689
|
/* @__PURE__ */ a.jsx(li, { $isDisabled: d, onClick: r, children: /* @__PURE__ */ a.jsx("div", { className: "icon", children: /* @__PURE__ */ a.jsx(mr, {}) }) }),
|
|
9689
9690
|
t.map((y, x) => {
|
|
9690
9691
|
const C = x === n ? 64 : 48;
|
|
9691
|
-
return /* @__PURE__ */ a.jsx(
|
|
9692
|
-
|
|
9692
|
+
return /* @__PURE__ */ a.jsx(zl, { $chipSize: C, children: /* @__PURE__ */ a.jsx(
|
|
9693
|
+
Qt,
|
|
9693
9694
|
{
|
|
9694
|
-
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
width: C,
|
|
9703
|
-
onClick: () => i(x),
|
|
9704
|
-
isDisabled: y > c
|
|
9705
|
-
}
|
|
9706
|
-
)
|
|
9707
|
-
},
|
|
9708
|
-
y
|
|
9709
|
-
);
|
|
9695
|
+
amount: y,
|
|
9696
|
+
chipAmounts: t,
|
|
9697
|
+
height: C,
|
|
9698
|
+
width: C,
|
|
9699
|
+
onClick: () => i(x),
|
|
9700
|
+
isDisabled: y > c
|
|
9701
|
+
}
|
|
9702
|
+
) }, y);
|
|
9710
9703
|
}),
|
|
9711
9704
|
/* @__PURE__ */ a.jsxs(
|
|
9712
9705
|
li,
|
|
@@ -10529,9 +10522,11 @@ const d0 = {
|
|
|
10529
10522
|
@keyframes buttonActive {
|
|
10530
10523
|
from {
|
|
10531
10524
|
opacity: 1;
|
|
10525
|
+
touch-action: none;
|
|
10532
10526
|
}
|
|
10533
10527
|
to {
|
|
10534
10528
|
opacity: 0;
|
|
10529
|
+
touch-action: none;
|
|
10535
10530
|
}
|
|
10536
10531
|
}
|
|
10537
10532
|
}
|
|
@@ -10623,7 +10618,7 @@ const d0 = {
|
|
|
10623
10618
|
onClick: () => {
|
|
10624
10619
|
p(), l(h.betType);
|
|
10625
10620
|
},
|
|
10626
|
-
isDisabled: b,
|
|
10621
|
+
isDisabled: b || !!o,
|
|
10627
10622
|
size: n
|
|
10628
10623
|
}
|
|
10629
10624
|
),
|
|
@@ -10634,28 +10629,21 @@ const d0 = {
|
|
|
10634
10629
|
);
|
|
10635
10630
|
}) }) : /* @__PURE__ */ a.jsx("div", { className: "aciton", children: b0.map((h, f) => {
|
|
10636
10631
|
const { onHandle: b } = t[h.betType];
|
|
10637
|
-
return /* @__PURE__ */ a.jsxs(
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
|
|
10648
|
-
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
}
|
|
10653
|
-
),
|
|
10654
|
-
c && /* @__PURE__ */ a.jsx("p", { className: "name", children: d(h.name) })
|
|
10655
|
-
]
|
|
10656
|
-
},
|
|
10657
|
-
f
|
|
10658
|
-
);
|
|
10632
|
+
return /* @__PURE__ */ a.jsxs("div", { className: "button", children: [
|
|
10633
|
+
/* @__PURE__ */ a.jsx(
|
|
10634
|
+
Wa,
|
|
10635
|
+
{
|
|
10636
|
+
buttonType: h.betType,
|
|
10637
|
+
icon: h.icon,
|
|
10638
|
+
onClick: () => {
|
|
10639
|
+
b();
|
|
10640
|
+
},
|
|
10641
|
+
isDisabled: !1,
|
|
10642
|
+
size: n
|
|
10643
|
+
}
|
|
10644
|
+
),
|
|
10645
|
+
c && /* @__PURE__ */ a.jsx("p", { className: "name", children: d(h.name) })
|
|
10646
|
+
] }, f);
|
|
10659
10647
|
}) }),
|
|
10660
10648
|
s !== gt.TEXAS && /* @__PURE__ */ a.jsx("div", { className: "last-boton", children: c && /* @__PURE__ */ a.jsxs(
|
|
10661
10649
|
w0,
|
|
@@ -11607,25 +11595,19 @@ const d0 = {
|
|
|
11607
11595
|
isChipsSelector: y
|
|
11608
11596
|
}
|
|
11609
11597
|
),
|
|
11610
|
-
/* @__PURE__ */ a.jsx(
|
|
11611
|
-
|
|
11598
|
+
/* @__PURE__ */ a.jsx("div", { className: "chips-select", children: /* @__PURE__ */ a.jsx(
|
|
11599
|
+
Qt,
|
|
11612
11600
|
{
|
|
11613
|
-
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
onClick: () => {
|
|
11622
|
-
x(!1), n(C);
|
|
11623
|
-
},
|
|
11624
|
-
isDisabled: v > o
|
|
11625
|
-
}
|
|
11626
|
-
)
|
|
11601
|
+
amount: v,
|
|
11602
|
+
chipAmounts: e,
|
|
11603
|
+
height: 42,
|
|
11604
|
+
width: 42,
|
|
11605
|
+
onClick: () => {
|
|
11606
|
+
x(!1), n(C);
|
|
11607
|
+
},
|
|
11608
|
+
isDisabled: v > o
|
|
11627
11609
|
}
|
|
11628
|
-
)
|
|
11610
|
+
) })
|
|
11629
11611
|
]
|
|
11630
11612
|
},
|
|
11631
11613
|
v
|
|
@@ -257,7 +257,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Rt]+=1);const Vs=m.div`
|
|
|
257
257
|
text-align: center;
|
|
258
258
|
vertical-align: middle;
|
|
259
259
|
`,t1=m.svg`
|
|
260
|
-
${({$isDisabled:e})=>e&&`
|
|
260
|
+
${({$isDisabled:e})=>e&&` text-align: center;
|
|
261
261
|
cursor: none;
|
|
262
262
|
opacity: 50%;
|
|
263
263
|
pointer-events: none;
|
|
@@ -780,7 +780,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Rt]+=1);const Vs=m.div`
|
|
|
780
780
|
line-height: 16px;
|
|
781
781
|
color: ${({color:e})=>e};
|
|
782
782
|
}
|
|
783
|
-
`,Qt=({color:e,value:t,suit:n})=>a.jsxs(Co,{color:e,children:[a.jsx("p",{className:"p",children:t}),a.jsx("svg",{width:"12",height:"12",viewBox:"0 0 21 26",children:a.jsx("g",{clipPath:"url(#clip0_647_1135)",children:a.jsx("path",{d:n,fill:e})})})]}),_e=({size:e=18})=>a.jsx("svg",{width:e,height:e,viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M12.9469 0.217285C14.414 0.217303 15.7127 0.67969 16.5423 1.73516L16.6884 1.93389C17.3344 2.87779 17.4987 4.06605 17.3308 5.30586L17.29 5.57334C17.0943 6.71021 16.5226 7.4647 15.8076 7.98389L15.4928 8.19229C15.0636 8.45288 14.5502 8.66244 14.0748 8.83789L13.6151 9.00332L13.1607 9.16982C12.541 9.40694 12.0818 9.64151 11.7449 9.96904L11.6074 10.1151L11.6063 10.1173C11.3952 10.3724 11.241 10.67 11.154 10.9896L11.0971 11.1979H16.1416L16.2566 11.2033C16.5236 11.2298 16.7752 11.3481 16.9666 11.5396C17.1849 11.7581 17.3082 12.0546 17.3082 12.3635C17.3081 12.6726 17.1852 12.9699 16.9666 13.1885C16.748 13.407 16.4508 13.5301 16.1416 13.5301H9.81772C9.50888 13.5299 9.2123 13.4067 8.99379 13.1885C8.77523 12.9699 8.65231 12.6726 8.65219 12.3635C8.65221 10.7257 9.06392 9.506 9.82954 8.60478L9.97133 8.44688C10.691 7.67779 11.5855 7.27349 12.3292 6.99131C12.6015 6.8869 12.8409 6.80039 13.0554 6.7249C13.5488 6.54813 13.9294 6.41371 14.2843 6.19854L14.4186 6.11152C14.5471 6.02154 14.6588 5.92008 14.7495 5.7957C14.8709 5.62892 14.9481 5.43002 14.9912 5.1791L15.0406 4.80957C15.1083 4.10758 14.9889 3.6291 14.8053 3.31855L14.7086 3.17783C14.4529 2.8526 13.9424 2.54836 12.9458 2.54834C12.4575 2.54837 12.0981 2.64418 11.8297 2.78252C11.6284 2.88635 11.4834 3.0117 11.3764 3.13057L11.2808 3.24766C11.139 3.43824 11.034 3.65412 10.9725 3.88359L10.9682 3.89756L10.9671 3.9126V3.91475L10.9661 3.92119V3.92334C10.9133 4.22491 10.7439 4.49413 10.4945 4.67207C10.2428 4.85144 9.93023 4.92382 9.62543 4.87295C9.32054 4.82195 9.04775 4.65185 8.86811 4.40029C8.68855 4.1486 8.66723 3.5291 8.66723 3.5291V3.52695L8.66938 3.52051L8.67045 3.51406L8.6726 3.49902C8.68211 3.44434 8.69347 3.38958 8.70698 3.33574L8.76284 3.13594C8.90493 2.6722 9.12692 2.23605 9.41811 1.84688L9.54379 1.68789C10.2019 0.898665 11.2882 0.217417 12.9469 0.217285ZM1.64399 7.18789C1.79857 7.18925 1.95202 7.22149 2.09409 7.28242C2.23625 7.34353 2.36578 7.43323 2.47329 7.54453L3.64741 8.71865L3.76342 8.60156L4.81938 7.54668L4.81831 7.54561C5.03802 7.33433 5.33306 7.21854 5.63793 7.22119C5.94346 7.22399 6.23613 7.34673 6.45219 7.56279C6.66801 7.77892 6.79114 8.07161 6.79379 8.37705C6.79627 8.68143 6.67909 8.97504 6.4683 9.19453L5.41235 10.2505L5.29633 10.3676L6.47045 11.5417C6.58151 11.6491 6.6705 11.7778 6.73149 11.9198C6.79246 12.0619 6.82468 12.2153 6.82602 12.3699C6.82729 12.5245 6.7975 12.678 6.73901 12.8211C6.68038 12.9643 6.59381 13.0952 6.48442 13.2046C6.37509 13.3138 6.24503 13.4006 6.102 13.4592C5.95875 13.5178 5.80451 13.5475 5.64975 13.5462C5.49508 13.5448 5.34179 13.5127 5.19965 13.4517C5.09317 13.4059 4.99449 13.3437 4.90639 13.269L4.82153 13.1896L4.81938 13.1885L3.76342 12.1325L3.64741 12.0154L2.47758 13.1863C2.25771 13.3986 1.96249 13.5155 1.65688 13.5129C1.3513 13.5102 1.05877 13.3873 0.842621 13.1713C0.626666 12.9552 0.503787 12.6625 0.501019 12.357C0.498457 12.0515 0.616452 11.7572 0.828656 11.5374L0.827582 11.5363L1.88139 10.4836L1.99848 10.3676L0.826508 9.19453L0.824359 9.19346L0.744867 9.10859C0.67014 9.02048 0.609132 8.92079 0.563324 8.81426C0.50229 8.67215 0.470194 8.51881 0.468793 8.36416C0.467479 8.20968 0.496329 8.05601 0.55473 7.91299C0.613327 7.76977 0.700997 7.63894 0.810394 7.52949C0.919771 7.42022 1.04972 7.33346 1.19282 7.2749C1.33595 7.21635 1.48936 7.18661 1.64399 7.18789Z",fill:"white"})}),wo=({roundData:e,handleClickRound:t,indexHistory:n,isMobile:i=!0})=>{var c,d,h,f,y,p;const{t:r}=E(),s=[F.Ante,F.Insurance,F.PerfectPairs,F.TwentyOnePlusThree,F.Double,F.Split],o=i?32:48,l=i?26:38;return a.jsxs(q1,{children:[a.jsxs(Q1,{children:[a.jsxs("div",{className:"item",children:[a.jsx("p",{className:"title",children:r("Dealer")}),a.jsx("p",{className:"text",children:(c=e==null?void 0:e.dealer)==null?void 0:c.nickname})]}),a.jsxs("div",{className:"item",children:[a.jsx("p",{className:"title",children:r("Round")}),a.jsx("p",{className:"text",children:e.currentRoundId})]}),a.jsxs("div",{className:"item",children:[a.jsx("p",{className:"title",children:r("Bet Amount")}),a.jsxs("p",{className:"text",children:[e.player.gameCurrencyId,(d=e.player.boxes)==null?void 0:d.reduce((g,b)=>g+b.totalBet,0)]})]}),a.jsxs("div",{className:"item",children:[a.jsx("p",{className:"title",children:r("Win Amount")}),a.jsxs("p",{className:"text",children:[e.player.gameCurrencyId,e.player.winAmount]})]})]}),a.jsx(Li,{}),a.jsxs(X1,{children:[a.jsxs("div",{className:"dealerCards",children:[a.jsx("p",{className:"title",children:r("Dealer Cards")}),a.jsxs("div",{className:"cards",children:[(h=e.player.dealerBox)==null?void 0:h.hand.cards.map((g,b)=>a.jsx("div",{className:"card-style",children:a.jsx(Ea,{index:g.scannerIndex,cardHeight:o,cardWidth:l})},b)),a.jsx("span",{className:"final-value",children:(f=e.player.dealerBox)==null?void 0:f.hand.finalValue})]})]}),a.jsxs("div",{className:"dealerCards",children:[a.jsx("p",{className:"title",children:r("Your Seats")}),a.jsx("div",{className:"playerSeats",children:(y=e.player.boxes)==null?void 0:y.map((g,b)=>a.jsx($1,{$isActive:!!g.playerNick,$index:b,children:b+1},b))})]})]}),a.jsx(Li,{}),a.jsx(_1,{children:a.jsxs("table",{className:"table",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"boxes",children:[a.jsx("th",{className:"title",children:r("Seat")}),a.jsx("th",{className:"title",children:r("Bet Type")}),a.jsx("th",{className:"title",children:r("Cards & Score")}),a.jsx("th",{className:"title",children:r("Amount")}),a.jsx("th",{className:"title",children:r("Win/Lose")})]})}),a.jsx("tbody",{children:(p=e.player.boxes)==null?void 0:p.map((g,b)=>{var x,v;if(g.playerId)return a.jsxs("tr",{className:"boxes",children:[a.jsx("td",{children:a.jsx("p",{className:"text",children:b+1})}),a.jsx("td",{children:g.bets.map(C=>{if(s.includes(C.betType))return a.jsx("p",{className:"text",children:r(ji[C.betType])},C.betType)})}),a.jsxs("td",{className:"cards",children:[g.splittedHands.length===0&&a.jsxs("div",{className:"hand",children:[a.jsx("span",{className:"final-value",children:g.hand.finalValue}),g.hand.cards.map(({scannerIndex:C},L)=>{const S=bt[C-1].value,B=Kt(C),I=qt(C);return a.jsx(Qt,{color:I,value:S,suit:B},L)}),g.bets[g.bets.length-1].betType===F.Double&&a.jsx(_e,{})]}),g.splittedHands.map(({cards:C,finalValue:L},S)=>a.jsxs("div",{className:"hand",children:[a.jsx("span",{className:"final-value",children:L}),C.map(({scannerIndex:B},I)=>{const j=bt[B-1].value,H=Kt(B),P=qt(B);return a.jsx(a.Fragment,{children:a.jsx(Qt,{color:P,value:j,suit:H},I)})}),a.jsx(Ua,{})]}))]}),a.jsxs("td",{children:[g.splittedHands.length===0&&((v=(x=g.hand)==null?void 0:x.bets)==null?void 0:v.map(C=>s.includes(C.betType)?a.jsxs("p",{className:"text amount-text",children:[C.amount,e.player.gameCurrencyId]},C.betType):null)),g.splittedHands.length>0&&g.splittedHands.map((C,L)=>{var S;return(S=C==null?void 0:C.bets)==null?void 0:S.map(B
|
|
783
|
+
`,Qt=({color:e,value:t,suit:n})=>a.jsxs(Co,{color:e,children:[a.jsx("p",{className:"p",children:t}),a.jsx("svg",{width:"12",height:"12",viewBox:"0 0 21 26",children:a.jsx("g",{clipPath:"url(#clip0_647_1135)",children:a.jsx("path",{d:n,fill:e})})})]}),_e=({size:e=18})=>a.jsx("svg",{width:e,height:e,viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M12.9469 0.217285C14.414 0.217303 15.7127 0.67969 16.5423 1.73516L16.6884 1.93389C17.3344 2.87779 17.4987 4.06605 17.3308 5.30586L17.29 5.57334C17.0943 6.71021 16.5226 7.4647 15.8076 7.98389L15.4928 8.19229C15.0636 8.45288 14.5502 8.66244 14.0748 8.83789L13.6151 9.00332L13.1607 9.16982C12.541 9.40694 12.0818 9.64151 11.7449 9.96904L11.6074 10.1151L11.6063 10.1173C11.3952 10.3724 11.241 10.67 11.154 10.9896L11.0971 11.1979H16.1416L16.2566 11.2033C16.5236 11.2298 16.7752 11.3481 16.9666 11.5396C17.1849 11.7581 17.3082 12.0546 17.3082 12.3635C17.3081 12.6726 17.1852 12.9699 16.9666 13.1885C16.748 13.407 16.4508 13.5301 16.1416 13.5301H9.81772C9.50888 13.5299 9.2123 13.4067 8.99379 13.1885C8.77523 12.9699 8.65231 12.6726 8.65219 12.3635C8.65221 10.7257 9.06392 9.506 9.82954 8.60478L9.97133 8.44688C10.691 7.67779 11.5855 7.27349 12.3292 6.99131C12.6015 6.8869 12.8409 6.80039 13.0554 6.7249C13.5488 6.54813 13.9294 6.41371 14.2843 6.19854L14.4186 6.11152C14.5471 6.02154 14.6588 5.92008 14.7495 5.7957C14.8709 5.62892 14.9481 5.43002 14.9912 5.1791L15.0406 4.80957C15.1083 4.10758 14.9889 3.6291 14.8053 3.31855L14.7086 3.17783C14.4529 2.8526 13.9424 2.54836 12.9458 2.54834C12.4575 2.54837 12.0981 2.64418 11.8297 2.78252C11.6284 2.88635 11.4834 3.0117 11.3764 3.13057L11.2808 3.24766C11.139 3.43824 11.034 3.65412 10.9725 3.88359L10.9682 3.89756L10.9671 3.9126V3.91475L10.9661 3.92119V3.92334C10.9133 4.22491 10.7439 4.49413 10.4945 4.67207C10.2428 4.85144 9.93023 4.92382 9.62543 4.87295C9.32054 4.82195 9.04775 4.65185 8.86811 4.40029C8.68855 4.1486 8.66723 3.5291 8.66723 3.5291V3.52695L8.66938 3.52051L8.67045 3.51406L8.6726 3.49902C8.68211 3.44434 8.69347 3.38958 8.70698 3.33574L8.76284 3.13594C8.90493 2.6722 9.12692 2.23605 9.41811 1.84688L9.54379 1.68789C10.2019 0.898665 11.2882 0.217417 12.9469 0.217285ZM1.64399 7.18789C1.79857 7.18925 1.95202 7.22149 2.09409 7.28242C2.23625 7.34353 2.36578 7.43323 2.47329 7.54453L3.64741 8.71865L3.76342 8.60156L4.81938 7.54668L4.81831 7.54561C5.03802 7.33433 5.33306 7.21854 5.63793 7.22119C5.94346 7.22399 6.23613 7.34673 6.45219 7.56279C6.66801 7.77892 6.79114 8.07161 6.79379 8.37705C6.79627 8.68143 6.67909 8.97504 6.4683 9.19453L5.41235 10.2505L5.29633 10.3676L6.47045 11.5417C6.58151 11.6491 6.6705 11.7778 6.73149 11.9198C6.79246 12.0619 6.82468 12.2153 6.82602 12.3699C6.82729 12.5245 6.7975 12.678 6.73901 12.8211C6.68038 12.9643 6.59381 13.0952 6.48442 13.2046C6.37509 13.3138 6.24503 13.4006 6.102 13.4592C5.95875 13.5178 5.80451 13.5475 5.64975 13.5462C5.49508 13.5448 5.34179 13.5127 5.19965 13.4517C5.09317 13.4059 4.99449 13.3437 4.90639 13.269L4.82153 13.1896L4.81938 13.1885L3.76342 12.1325L3.64741 12.0154L2.47758 13.1863C2.25771 13.3986 1.96249 13.5155 1.65688 13.5129C1.3513 13.5102 1.05877 13.3873 0.842621 13.1713C0.626666 12.9552 0.503787 12.6625 0.501019 12.357C0.498457 12.0515 0.616452 11.7572 0.828656 11.5374L0.827582 11.5363L1.88139 10.4836L1.99848 10.3676L0.826508 9.19453L0.824359 9.19346L0.744867 9.10859C0.67014 9.02048 0.609132 8.92079 0.563324 8.81426C0.50229 8.67215 0.470194 8.51881 0.468793 8.36416C0.467479 8.20968 0.496329 8.05601 0.55473 7.91299C0.613327 7.76977 0.700997 7.63894 0.810394 7.52949C0.919771 7.42022 1.04972 7.33346 1.19282 7.2749C1.33595 7.21635 1.48936 7.18661 1.64399 7.18789Z",fill:"white"})}),wo=({roundData:e,handleClickRound:t,indexHistory:n,isMobile:i=!0})=>{var c,d,h,f,y,p;const{t:r}=E(),s=[F.Ante,F.Insurance,F.PerfectPairs,F.TwentyOnePlusThree,F.Double,F.Split],o=i?32:48,l=i?26:38;return a.jsxs(q1,{children:[a.jsxs(Q1,{children:[a.jsxs("div",{className:"item",children:[a.jsx("p",{className:"title",children:r("Dealer")}),a.jsx("p",{className:"text",children:(c=e==null?void 0:e.dealer)==null?void 0:c.nickname})]}),a.jsxs("div",{className:"item",children:[a.jsx("p",{className:"title",children:r("Round")}),a.jsx("p",{className:"text",children:e.currentRoundId})]}),a.jsxs("div",{className:"item",children:[a.jsx("p",{className:"title",children:r("Bet Amount")}),a.jsxs("p",{className:"text",children:[e.player.gameCurrencyId,(d=e.player.boxes)==null?void 0:d.reduce((g,b)=>g+b.totalBet,0)]})]}),a.jsxs("div",{className:"item",children:[a.jsx("p",{className:"title",children:r("Win Amount")}),a.jsxs("p",{className:"text",children:[e.player.gameCurrencyId,e.player.winAmount]})]})]}),a.jsx(Li,{}),a.jsxs(X1,{children:[a.jsxs("div",{className:"dealerCards",children:[a.jsx("p",{className:"title",children:r("Dealer Cards")}),a.jsxs("div",{className:"cards",children:[(h=e.player.dealerBox)==null?void 0:h.hand.cards.map((g,b)=>a.jsx("div",{className:"card-style",children:a.jsx(Ea,{index:g.scannerIndex,cardHeight:o,cardWidth:l})},b)),a.jsx("span",{className:"final-value",children:(f=e.player.dealerBox)==null?void 0:f.hand.finalValue})]})]}),a.jsxs("div",{className:"dealerCards",children:[a.jsx("p",{className:"title",children:r("Your Seats")}),a.jsx("div",{className:"playerSeats",children:(y=e.player.boxes)==null?void 0:y.map((g,b)=>a.jsx($1,{$isActive:!!g.playerNick,$index:b,children:b+1},b))})]})]}),a.jsx(Li,{}),a.jsx(_1,{children:a.jsxs("table",{className:"table",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"boxes",children:[a.jsx("th",{className:"title",children:r("Seat")}),a.jsx("th",{className:"title",children:r("Bet Type")}),a.jsx("th",{className:"title",children:r("Cards & Score")}),a.jsx("th",{className:"title",children:r("Amount")}),a.jsx("th",{className:"title",children:r("Win/Lose")})]})}),a.jsx("tbody",{children:(p=e.player.boxes)==null?void 0:p.map((g,b)=>{var x,v;if(g.playerId)return a.jsxs("tr",{className:"boxes",children:[a.jsx("td",{children:a.jsx("p",{className:"text",children:b+1})}),a.jsx("td",{children:g.bets.map(C=>{if(!(!s.includes(C.betType)||!C.amount))return a.jsx("p",{className:"text",children:r(ji[C.betType])},C.betType)})}),a.jsxs("td",{className:"cards",children:[g.splittedHands.length===0&&a.jsxs("div",{className:"hand",children:[a.jsx("span",{className:"final-value",children:g.hand.finalValue}),g.hand.cards.map(({scannerIndex:C},L)=>{const S=bt[C-1].value,B=Kt(C),I=qt(C);return a.jsx(Qt,{color:I,value:S,suit:B},L)}),g.bets[g.bets.length-1].betType===F.Double&&a.jsx(_e,{})]}),g.splittedHands.map(({cards:C,finalValue:L},S)=>a.jsxs("div",{className:"hand",children:[a.jsx("span",{className:"final-value",children:L}),C.map(({scannerIndex:B},I)=>{const j=bt[B-1].value,H=Kt(B),P=qt(B);return a.jsx(a.Fragment,{children:a.jsx(Qt,{color:P,value:j,suit:H},I)})}),a.jsx(Ua,{})]}))]}),a.jsxs("td",{children:[g.splittedHands.length===0&&((v=(x=g.hand)==null?void 0:x.bets)==null?void 0:v.map(C=>s.includes(C.betType)?a.jsxs("p",{className:"text amount-text",children:[C.amount,e.player.gameCurrencyId]},C.betType):null)),g.splittedHands.length>0&&g.splittedHands.map((C,L)=>{var S;return(S=C==null?void 0:C.bets)==null?void 0:S.map(B=>!s.includes(B.betType)||!B.amount?null:a.jsxs("p",{className:"text amount-text",children:[B.amount,e.player.gameCurrencyId]},`${L}-${B.betType}`))})]}),a.jsx("td",{children:g.bets.every(C=>!C.winAmount)?a.jsx(Ga,{$isWin:!1,children:r("Lost")}):g.bets.map(C=>!s.includes(C.betType)||!C.winAmount?null:a.jsxs(Ga,{$isWin:!0,children:[C.winAmount,e.player.gameCurrencyId]},C.betType))})]},b)})})]})}),a.jsx(J1,{}),a.jsx(xo,{handleClickRound:t,indexHistory:n})]})},vo=m.div`
|
|
784
784
|
max-width: 100%;
|
|
785
785
|
height: 100%;
|
|
786
786
|
overflow: auto;
|
|
@@ -1261,7 +1261,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Rt]+=1);const Vs=m.div`
|
|
|
1261
1261
|
var(--black-40, rgba(17, 17, 17, 0.4))
|
|
1262
1262
|
);
|
|
1263
1263
|
}
|
|
1264
|
-
`,Uo=({chipAmounts:e,isLandscape:t,balance:n,sendTip:i,currencyId:r})=>{const[s,o]=k.useState(e[0]),{t:l}=E(),{clickSound:c}=Be({effectsVolume:50});return a.jsxs(Go,{children:[a.jsx("div",{className:"chip-wrapper",children:e.map((d,h)=>a.jsx(
|
|
1264
|
+
`,Uo=({chipAmounts:e,isLandscape:t,balance:n,sendTip:i,currencyId:r})=>{const[s,o]=k.useState(e[0]),{t:l}=E(),{clickSound:c}=Be({effectsVolume:50});return a.jsxs(Go,{children:[a.jsx("div",{className:"chip-wrapper",children:e.map((d,h)=>a.jsx(dt,{onClick:()=>{o(d),c()},amount:d,chipAmounts:e,height:s===d?t?82:48:t?64:36,width:s===d?t?82:48:t?64:36,isDisabled:d>n},h))}),a.jsxs(Eo,{onClick:()=>i(s),children:[l("Tip")," ",s," ",r]})]})};m.div`
|
|
1265
1265
|
width: 500px;
|
|
1266
1266
|
height: 400px;
|
|
1267
1267
|
border-radius: 8px;
|
|
@@ -2065,6 +2065,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Rt]+=1);const Vs=m.div`
|
|
|
2065
2065
|
height: ${({$isLandscape:e})=>e?"100%":"330px"};
|
|
2066
2066
|
background: #111111fd;
|
|
2067
2067
|
bottom: 0px;
|
|
2068
|
+
z-index: 10;
|
|
2068
2069
|
position: absolute;
|
|
2069
2070
|
touch-action: none;
|
|
2070
2071
|
border-top-left-radius: 16px;
|
|
@@ -2847,7 +2848,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Rt]+=1);const Vs=m.div`
|
|
|
2847
2848
|
width: 0%;
|
|
2848
2849
|
}
|
|
2849
2850
|
}
|
|
2850
|
-
`,ia=({time:e,timerType:t})=>{const{t:n}=E(),i={[Ge.WaitingInsurance]:n("Insure Your Hand?"),[Ge.WaitingForUserAction]:n("Make your descision"),[Ge.WaitingForBet]:n("Please, Place Your Bets")},[r,s]=k.useState(!1),[o,l]=k.useState(null),c=e/1e3;if(k.useEffect(()=>{s(!0)},[]),k.useEffect(()=>{e>0&&o?setTimeout(()=>{l(o-1)},1e3):e>0&&o===null?l((e+1e3)/1e3):(s(!1),l(null))},[e,o]),e>0&&r)return a.jsxs(hl,{$time:c,children:[a.jsx("div",{className:"timer-line"}),a.jsx("div",{className:"line-time"}),a.jsxs("div",{className:"text-wrapper",children:[a.jsx("p",{className:"p",children:n(i[t])}),a.jsx("div",{className:"line"}),a.jsx("p",{className:"p",children:o})]})]})},Qi=()=>a.jsx("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M11.9732 1.14331L11.8939 1.07217C11.7185 0.933693 11.4983 0.864436 11.2752 0.877549C11.0521 0.890662 10.8416 0.985234 10.6837 1.14331L10.6125 1.22265C10.4741 1.39791 10.4049 1.6179 10.418 1.84085C10.4311 2.06379 10.5256 2.27415 10.6837 2.43197L11.8683 3.61483H6.76297L6.54409 3.61848C4.89068 3.67475 3.32375 4.37095 2.17375 5.56025C1.02375 6.74955 0.380581 8.33899 0.379883 9.99336C0.379883 11.3112 0.779339 12.536 1.46425 13.5492C1.6049 13.7459 1.81791 13.8786 2.05642 13.9182C2.29492 13.9578 2.53939 13.901 2.73603 13.7604C2.93268 13.6197 3.0654 13.4067 3.10499 13.1682C3.14459 12.9297 3.08781 12.6852 2.94716 12.4886L2.82404 12.2898C2.42037 11.5971 2.20658 10.8102 2.20425 10.0084C2.20192 9.20669 2.41113 8.41853 2.81078 7.72351C3.21042 7.02848 3.78634 6.45118 4.48042 6.04989C5.17449 5.64859 5.96215 5.4375 6.76388 5.43792H11.8665L10.6837 6.62078L10.6125 6.70013C10.4644 6.88224 10.3923 7.11448 10.4113 7.34844C10.4302 7.5824 10.5387 7.80002 10.7142 7.95595C10.8896 8.11188 11.1185 8.19408 11.353 8.18541C11.5876 8.17675 11.8098 8.07789 11.9732 7.90944L14.7147 5.1707L14.7849 5.09136C14.9233 4.9161 14.9926 4.69611 14.9795 4.47317C14.9663 4.25023 14.8718 4.03987 14.7138 3.88205L11.9732 1.14331ZM17.5136 6.40646C17.3968 6.25658 17.2361 6.14696 17.0539 6.09296C16.8717 6.03895 16.6772 6.04326 16.4976 6.10527C16.318 6.16729 16.1623 6.28391 16.0522 6.43881C15.9422 6.59372 15.8833 6.77915 15.8839 6.96917C15.8839 7.15977 15.9423 7.33579 16.0407 7.4808C16.4942 8.16771 16.7532 8.96462 16.7901 9.78688C16.8271 10.6091 16.6407 11.4261 16.2507 12.1509C15.8607 12.8757 15.2816 13.4814 14.5751 13.9036C13.8685 14.3258 13.0608 14.5488 12.2377 14.5488H7.14145L8.32158 13.3723L8.39727 13.2848C8.52148 13.1239 8.5884 12.9262 8.58741 12.7229C8.58641 12.5197 8.51757 12.3226 8.3918 12.163L8.32158 12.0828L8.23494 12.0061C8.07386 11.8816 7.87579 11.8146 7.67221 11.8155C7.46862 11.8165 7.27121 11.8856 7.11135 12.0116L7.0311 12.0828L4.29054 14.8215L4.21484 14.9081C4.09041 15.0691 4.02337 15.267 4.02436 15.4704C4.02535 15.6738 4.09432 15.8711 4.22031 16.0308L4.29054 16.1101L7.0311 18.8489L7.11774 18.9255C7.29382 19.0615 7.51354 19.1284 7.73554 19.1137C7.95754 19.099 8.1665 19.0037 8.32309 18.8456C8.47968 18.6876 8.5731 18.4777 8.58576 18.2556C8.59841 18.0335 8.52943 17.8144 8.3918 17.6396L8.32158 17.5602L7.13233 16.3719H12.2359L12.4548 16.3692C13.5954 16.33 14.7047 15.9856 15.667 15.3718C16.6293 14.7581 17.4094 13.8975 17.9259 12.8798C18.4425 11.862 18.6767 10.7243 18.604 9.58529C18.5313 8.44626 18.1544 7.34757 17.5127 6.40373V6.40646H17.5136Z",fill:"white"})}),ul=({time:e,chipAmounts:t,selectedChipIndex:n,selectChipIndex:i,onUndo:r,onDouble:s,onDeal:o,onRepeat:l,balance:c,isUndo:d,isDouble:h,isDeal:f,isRepeat:y,gameType:p})=>{const{t:g}=E();return a.jsxs(ol,{children:[a.jsx(ia,{time:e,timerType:Ge.WaitingForBet}),a.jsxs(ll,{children:[a.jsx(Zi,{$isDisabled:d,onClick:r,children:a.jsx("div",{className:"icon",children:a.jsx(Ki,{})})}),t.map((b,x)=>{const C=x===n?64:48;return a.jsx(cl,{className:`${b>c&&"disabled"}`,$chipSize:C,children:a.jsx(dt,{amount:b,chipAmounts:t,height:C,width:C,onClick:()=>i(x),isDisabled:b>c})},b)}),a.jsxs(Zi,{$isDisabled:f?h:y,onClick:f?s:l,children:[a.jsx("div",{className:"button-icon icon",children:f?a.jsx(_e,{}):a.jsx(Qi,{})}),a.jsx("div",{className:"animations-button-bg"})]})]}),p!==ht.TEXAS&&a.jsxs(dl,{$isDisabled:f,onClick:o,children:[a.jsx("div",{className:"button-icon icon",children:a.jsx(qi,{})}),a.jsx("p",{className:"text-button",children:g("Deal Now")})]})]})},fl=()=>a.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M3.99263 8.90917C4.17783 8.72188 4.46426 8.69908 4.69319 8.82816C4.81878 8.89899 4.9419 8.95617 5.07501 8.99988C5.35041 9.09024 5.58042 9.32093 5.5806 9.61304V10.1248C5.58046 10.3441 5.42921 10.5262 5.23223 10.5604H5.09795C5.09316 10.5596 5.08794 10.5595 5.08313 10.5585C4.79859 10.5001 4.5187 10.4135 4.24781 10.3004C4.24331 10.2985 4.23879 10.2973 4.23443 10.2951C4.18982 10.2726 3.92135 10.1364 3.65334 9.98171C3.41305 9.84299 3.38637 9.52284 3.58166 9.3249L3.99263 8.90917ZM7.30572 8.82816C7.53466 8.69911 7.8211 8.72185 8.00628 8.90917L8.41725 9.3249C8.61254 9.52283 8.58584 9.84298 8.34557 9.98171C8.07759 10.1363 7.80917 10.2726 7.76448 10.2951C7.76013 10.2973 7.75558 10.2986 7.7511 10.3004C7.48021 10.4135 7.20031 10.5001 6.91577 10.5585C6.91096 10.5595 6.90576 10.5596 6.90096 10.5604H6.76668C6.56965 10.5262 6.41845 10.3441 6.41831 10.1248V9.61304C6.41849 9.321 6.64811 9.09028 6.92342 8.99988C7.05659 8.95616 7.18008 8.89902 7.30572 8.82816ZM2.58099 6.70345C2.83702 6.7035 3.05462 6.88468 3.14727 7.12548C3.212 7.29364 3.29141 7.45595 3.3843 7.61057C3.53342 7.85883 3.52672 8.18597 3.32361 8.39157L2.93844 8.78062C2.75298 8.96826 2.44733 8.96202 2.29236 8.74812C2.254 8.69511 2.2167 8.64088 2.18053 8.5861C1.90486 8.16835 1.69961 7.71022 1.57029 7.23074C1.49661 6.95746 1.71299 6.70361 1.99369 6.70345H2.58099ZM10.0052 6.70345C10.2859 6.70361 10.5023 6.95746 10.4286 7.23074C10.2993 7.71023 10.0941 8.16835 9.81837 8.5861C9.78221 8.64088 9.7449 8.69511 9.70655 8.74812C9.55159 8.96202 9.24593 8.96825 9.06047 8.78062L8.6753 8.39157C8.47223 8.18602 8.46511 7.85881 8.61413 7.61057C8.70703 7.45594 8.7869 7.29365 8.85164 7.12548C8.9443 6.88465 9.16185 6.70345 9.41792 6.70345H10.0052ZM6.00113 3.89087C6.05017 3.89094 6.09923 3.89269 6.14783 3.89621C6.15038 3.8964 6.15293 3.8965 6.15548 3.89669C6.25561 3.90433 6.35458 3.91946 6.45176 3.94132C6.45383 3.94179 6.4559 3.9423 6.45797 3.94278C6.55539 3.96501 6.65076 3.99464 6.74374 4.03058C6.74675 4.03175 6.74981 4.03279 6.75282 4.03398C7.02133 4.13921 7.26833 4.29984 7.47584 4.50985C7.86696 4.90588 8.08683 5.44342 8.08752 6.00346C8.08747 6.42123 7.96504 6.8305 7.7358 7.17787C7.51681 7.50945 7.20902 7.76964 6.84983 7.93171C6.84683 7.93307 6.84375 7.93424 6.84075 7.93559C6.82694 7.94174 6.81361 7.94913 6.79965 7.95499C6.7739 7.96579 6.74737 7.97437 6.72128 7.9841C6.71093 7.98798 6.70064 7.99202 6.69022 7.99574C6.65432 8.00846 6.61817 8.01997 6.58174 8.03066C6.56853 8.03457 6.55538 8.03866 6.54208 8.04231C6.50896 8.05132 6.47567 8.05922 6.4422 8.06656C6.42987 8.06929 6.4178 8.07328 6.40541 8.07578C6.39835 8.0772 6.39097 8.07783 6.3839 8.07917C6.3563 8.0844 6.32852 8.08818 6.30075 8.09227C6.27718 8.09577 6.25367 8.0993 6.23003 8.10197C6.2022 8.10509 6.17433 8.10726 6.1464 8.10925C6.12392 8.11087 6.10151 8.11274 6.07902 8.11362C6.05243 8.11463 6.02585 8.1146 5.99921 8.11459C5.97258 8.11459 5.946 8.11464 5.91941 8.11362C5.89692 8.11273 5.87451 8.11087 5.85203 8.10925C5.82394 8.10725 5.79591 8.10512 5.76792 8.10197C5.74509 8.09938 5.72236 8.09612 5.69959 8.09276C5.67052 8.0885 5.6415 8.08419 5.61262 8.07869C5.60632 8.07748 5.59979 8.07704 5.5935 8.07578C5.58209 8.07348 5.57093 8.07002 5.55957 8.06753C5.52403 8.05979 5.48864 8.05144 5.45348 8.04182C5.44307 8.03895 5.43279 8.03564 5.42242 8.03261C5.38321 8.02121 5.34442 8.00851 5.30582 7.99477C5.29736 7.99174 5.28891 7.98869 5.28049 7.98555C5.25339 7.9755 5.22599 7.9662 5.19926 7.95499C5.18519 7.94909 5.1716 7.94179 5.15768 7.93559C5.15462 7.93421 5.15166 7.93261 5.1486 7.93122C4.78956 7.76911 4.48153 7.50938 4.26263 7.17787C4.03339 6.8305 3.91143 6.42123 3.91139 6.00346C3.91208 5.44342 4.13194 4.90588 4.52307 4.50985C4.73048 4.29995 4.97725 4.1392 5.24561 4.03398C5.24862 4.03279 5.25168 4.03175 5.25469 4.03058C5.34766 3.99463 5.44305 3.96503 5.54046 3.94278C5.54253 3.9423 5.54459 3.94179 5.54667 3.94132C5.64385 3.91944 5.74282 3.90435 5.84295 3.89669C5.8455 3.8965 5.84805 3.8964 5.8506 3.89621C5.89927 3.89267 5.94819 3.89094 5.9973 3.89087H6.00113ZM2.05629 3.62601C2.19843 3.38476 2.52601 3.3628 2.72244 3.56149L3.14488 3.98983C3.31958 4.16671 3.34251 4.44156 3.23616 4.66702C3.13575 4.87987 3.06032 5.1037 3.01012 5.33354C2.94687 5.62317 2.70958 5.85824 2.41565 5.85841H1.82739C1.59938 5.85832 1.41445 5.66762 1.44222 5.43929C1.52049 4.79622 1.73057 4.17893 2.05629 3.62601ZM9.27646 3.56149C9.47286 3.36289 9.79996 3.38492 9.94214 3.62601C10.2679 4.17894 10.4784 4.79621 10.5567 5.43929C10.5845 5.66759 10.3995 5.85827 10.1715 5.85841H9.58326C9.28931 5.85824 9.05154 5.62319 8.98831 5.33354C8.93811 5.10371 8.86267 4.87986 8.76227 4.66702C8.656 4.44159 8.67936 4.16667 8.85403 3.98983L9.27646 3.56149ZM5.08313 1.44891C5.34753 1.39446 5.58059 1.61025 5.5806 1.88258V2.45014C5.58036 2.72733 5.37481 2.95673 5.11181 3.03711C5.0154 3.06658 4.9201 3.1012 4.82652 3.14043C4.68276 3.20074 4.54409 3.27229 4.4122 3.35339C4.16531 3.50508 3.83974 3.49784 3.63566 3.2913L3.25384 2.90516C3.06945 2.71833 3.07544 2.41149 3.28585 2.25514C3.82088 1.85801 4.43486 1.58316 5.08313 1.44891ZM6.41831 1.88258C6.41831 1.61022 6.65134 1.39439 6.91577 1.44891C7.56404 1.58316 8.17803 1.85801 8.71305 2.25514C8.92338 2.41149 8.92939 2.71834 8.74507 2.90516L8.36325 3.2913C8.15917 3.49784 7.83359 3.50507 7.58671 3.35339C7.45481 3.27228 7.31616 3.20075 7.17239 3.14043C7.07881 3.1012 6.98351 3.06659 6.8871 3.03711C6.62409 2.95673 6.41855 2.72733 6.41831 2.45014V1.88258Z",fill:"white",fillOpacity:"0.8"})}),pl=()=>a.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M9.31625 3.285V3.15048C9.31625 2.8179 9.18413 2.49894 8.94896 2.26377C8.71379 2.0286 8.39483 1.89648 8.06225 1.89648H2.93225C2.79142 1.89651 2.6521 1.92552 2.52297 1.98173C2.39384 2.03793 2.27767 2.12011 2.18167 2.22316C2.08568 2.32621 2.01194 2.44791 1.96502 2.5807C1.91811 2.71349 1.89903 2.85451 1.90899 2.99499C1.90724 3.00875 1.90633 3.02261 1.90625 3.03648V8.62248C1.90625 9.01554 2.06239 9.39249 2.34032 9.67042C2.61825 9.94835 2.9952 10.1045 3.38825 10.1045H9.08825C9.42083 10.1045 9.73979 9.97237 9.97496 9.7372C10.2101 9.50203 10.3423 9.18307 10.3423 8.85048V4.51848C10.3423 4.22539 10.2398 3.94152 10.0523 3.71619C9.8649 3.49086 9.60446 3.33829 9.31625 3.285ZM2.93225 2.58048H8.06225C8.37689 2.58048 8.63225 2.83584 8.63225 3.15048V3.26448H2.93225C2.84155 3.26448 2.75456 3.22845 2.69042 3.16431C2.62628 3.10018 2.59025 3.01319 2.59025 2.92248C2.59025 2.83178 2.62628 2.74479 2.69042 2.68065C2.75456 2.61652 2.84155 2.58048 2.93225 2.58048ZM7.94825 6.45648H8.86025C8.95095 6.45648 9.03794 6.49252 9.10208 6.55665C9.16622 6.62079 9.20225 6.70778 9.20225 6.79848C9.20225 6.88919 9.16622 6.97618 9.10208 7.04031C9.03794 7.10445 8.95095 7.14048 8.86025 7.14048H7.94825C7.85755 7.14048 7.77056 7.10445 7.70642 7.04031C7.64228 6.97618 7.60625 6.88919 7.60625 6.79848C7.60625 6.70778 7.64228 6.62079 7.70642 6.55665C7.77056 6.49252 7.85755 6.45648 7.94825 6.45648Z",fill:"white",fillOpacity:"0.8"})}),ml=m.div`
|
|
2851
|
+
`,ia=({time:e,timerType:t})=>{const{t:n}=E(),i={[Ge.WaitingInsurance]:n("Insure Your Hand?"),[Ge.WaitingForUserAction]:n("Make your descision"),[Ge.WaitingForBet]:n("Please, Place Your Bets")},[r,s]=k.useState(!1),[o,l]=k.useState(null),c=e/1e3;if(k.useEffect(()=>{s(!0)},[]),k.useEffect(()=>{e>0&&o?setTimeout(()=>{l(o-1)},1e3):e>0&&o===null?l((e+1e3)/1e3):(s(!1),l(null))},[e,o]),e>0&&r)return a.jsxs(hl,{$time:c,children:[a.jsx("div",{className:"timer-line"}),a.jsx("div",{className:"line-time"}),a.jsxs("div",{className:"text-wrapper",children:[a.jsx("p",{className:"p",children:n(i[t])}),a.jsx("div",{className:"line"}),a.jsx("p",{className:"p",children:o})]})]})},Qi=()=>a.jsx("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M11.9732 1.14331L11.8939 1.07217C11.7185 0.933693 11.4983 0.864436 11.2752 0.877549C11.0521 0.890662 10.8416 0.985234 10.6837 1.14331L10.6125 1.22265C10.4741 1.39791 10.4049 1.6179 10.418 1.84085C10.4311 2.06379 10.5256 2.27415 10.6837 2.43197L11.8683 3.61483H6.76297L6.54409 3.61848C4.89068 3.67475 3.32375 4.37095 2.17375 5.56025C1.02375 6.74955 0.380581 8.33899 0.379883 9.99336C0.379883 11.3112 0.779339 12.536 1.46425 13.5492C1.6049 13.7459 1.81791 13.8786 2.05642 13.9182C2.29492 13.9578 2.53939 13.901 2.73603 13.7604C2.93268 13.6197 3.0654 13.4067 3.10499 13.1682C3.14459 12.9297 3.08781 12.6852 2.94716 12.4886L2.82404 12.2898C2.42037 11.5971 2.20658 10.8102 2.20425 10.0084C2.20192 9.20669 2.41113 8.41853 2.81078 7.72351C3.21042 7.02848 3.78634 6.45118 4.48042 6.04989C5.17449 5.64859 5.96215 5.4375 6.76388 5.43792H11.8665L10.6837 6.62078L10.6125 6.70013C10.4644 6.88224 10.3923 7.11448 10.4113 7.34844C10.4302 7.5824 10.5387 7.80002 10.7142 7.95595C10.8896 8.11188 11.1185 8.19408 11.353 8.18541C11.5876 8.17675 11.8098 8.07789 11.9732 7.90944L14.7147 5.1707L14.7849 5.09136C14.9233 4.9161 14.9926 4.69611 14.9795 4.47317C14.9663 4.25023 14.8718 4.03987 14.7138 3.88205L11.9732 1.14331ZM17.5136 6.40646C17.3968 6.25658 17.2361 6.14696 17.0539 6.09296C16.8717 6.03895 16.6772 6.04326 16.4976 6.10527C16.318 6.16729 16.1623 6.28391 16.0522 6.43881C15.9422 6.59372 15.8833 6.77915 15.8839 6.96917C15.8839 7.15977 15.9423 7.33579 16.0407 7.4808C16.4942 8.16771 16.7532 8.96462 16.7901 9.78688C16.8271 10.6091 16.6407 11.4261 16.2507 12.1509C15.8607 12.8757 15.2816 13.4814 14.5751 13.9036C13.8685 14.3258 13.0608 14.5488 12.2377 14.5488H7.14145L8.32158 13.3723L8.39727 13.2848C8.52148 13.1239 8.5884 12.9262 8.58741 12.7229C8.58641 12.5197 8.51757 12.3226 8.3918 12.163L8.32158 12.0828L8.23494 12.0061C8.07386 11.8816 7.87579 11.8146 7.67221 11.8155C7.46862 11.8165 7.27121 11.8856 7.11135 12.0116L7.0311 12.0828L4.29054 14.8215L4.21484 14.9081C4.09041 15.0691 4.02337 15.267 4.02436 15.4704C4.02535 15.6738 4.09432 15.8711 4.22031 16.0308L4.29054 16.1101L7.0311 18.8489L7.11774 18.9255C7.29382 19.0615 7.51354 19.1284 7.73554 19.1137C7.95754 19.099 8.1665 19.0037 8.32309 18.8456C8.47968 18.6876 8.5731 18.4777 8.58576 18.2556C8.59841 18.0335 8.52943 17.8144 8.3918 17.6396L8.32158 17.5602L7.13233 16.3719H12.2359L12.4548 16.3692C13.5954 16.33 14.7047 15.9856 15.667 15.3718C16.6293 14.7581 17.4094 13.8975 17.9259 12.8798C18.4425 11.862 18.6767 10.7243 18.604 9.58529C18.5313 8.44626 18.1544 7.34757 17.5127 6.40373V6.40646H17.5136Z",fill:"white"})}),ul=({time:e,chipAmounts:t,selectedChipIndex:n,selectChipIndex:i,onUndo:r,onDouble:s,onDeal:o,onRepeat:l,balance:c,isUndo:d,isDouble:h,isDeal:f,isRepeat:y,gameType:p})=>{const{t:g}=E();return a.jsxs(ol,{children:[a.jsx(ia,{time:e,timerType:Ge.WaitingForBet}),a.jsxs(ll,{children:[a.jsx(Zi,{$isDisabled:d,onClick:r,children:a.jsx("div",{className:"icon",children:a.jsx(Ki,{})})}),t.map((b,x)=>{const C=x===n?64:48;return a.jsx(cl,{$chipSize:C,children:a.jsx(dt,{amount:b,chipAmounts:t,height:C,width:C,onClick:()=>i(x),isDisabled:b>c})},b)}),a.jsxs(Zi,{$isDisabled:f?h:y,onClick:f?s:l,children:[a.jsx("div",{className:"button-icon icon",children:f?a.jsx(_e,{}):a.jsx(Qi,{})}),a.jsx("div",{className:"animations-button-bg"})]})]}),p!==ht.TEXAS&&a.jsxs(dl,{$isDisabled:f,onClick:o,children:[a.jsx("div",{className:"button-icon icon",children:a.jsx(qi,{})}),a.jsx("p",{className:"text-button",children:g("Deal Now")})]})]})},fl=()=>a.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M3.99263 8.90917C4.17783 8.72188 4.46426 8.69908 4.69319 8.82816C4.81878 8.89899 4.9419 8.95617 5.07501 8.99988C5.35041 9.09024 5.58042 9.32093 5.5806 9.61304V10.1248C5.58046 10.3441 5.42921 10.5262 5.23223 10.5604H5.09795C5.09316 10.5596 5.08794 10.5595 5.08313 10.5585C4.79859 10.5001 4.5187 10.4135 4.24781 10.3004C4.24331 10.2985 4.23879 10.2973 4.23443 10.2951C4.18982 10.2726 3.92135 10.1364 3.65334 9.98171C3.41305 9.84299 3.38637 9.52284 3.58166 9.3249L3.99263 8.90917ZM7.30572 8.82816C7.53466 8.69911 7.8211 8.72185 8.00628 8.90917L8.41725 9.3249C8.61254 9.52283 8.58584 9.84298 8.34557 9.98171C8.07759 10.1363 7.80917 10.2726 7.76448 10.2951C7.76013 10.2973 7.75558 10.2986 7.7511 10.3004C7.48021 10.4135 7.20031 10.5001 6.91577 10.5585C6.91096 10.5595 6.90576 10.5596 6.90096 10.5604H6.76668C6.56965 10.5262 6.41845 10.3441 6.41831 10.1248V9.61304C6.41849 9.321 6.64811 9.09028 6.92342 8.99988C7.05659 8.95616 7.18008 8.89902 7.30572 8.82816ZM2.58099 6.70345C2.83702 6.7035 3.05462 6.88468 3.14727 7.12548C3.212 7.29364 3.29141 7.45595 3.3843 7.61057C3.53342 7.85883 3.52672 8.18597 3.32361 8.39157L2.93844 8.78062C2.75298 8.96826 2.44733 8.96202 2.29236 8.74812C2.254 8.69511 2.2167 8.64088 2.18053 8.5861C1.90486 8.16835 1.69961 7.71022 1.57029 7.23074C1.49661 6.95746 1.71299 6.70361 1.99369 6.70345H2.58099ZM10.0052 6.70345C10.2859 6.70361 10.5023 6.95746 10.4286 7.23074C10.2993 7.71023 10.0941 8.16835 9.81837 8.5861C9.78221 8.64088 9.7449 8.69511 9.70655 8.74812C9.55159 8.96202 9.24593 8.96825 9.06047 8.78062L8.6753 8.39157C8.47223 8.18602 8.46511 7.85881 8.61413 7.61057C8.70703 7.45594 8.7869 7.29365 8.85164 7.12548C8.9443 6.88465 9.16185 6.70345 9.41792 6.70345H10.0052ZM6.00113 3.89087C6.05017 3.89094 6.09923 3.89269 6.14783 3.89621C6.15038 3.8964 6.15293 3.8965 6.15548 3.89669C6.25561 3.90433 6.35458 3.91946 6.45176 3.94132C6.45383 3.94179 6.4559 3.9423 6.45797 3.94278C6.55539 3.96501 6.65076 3.99464 6.74374 4.03058C6.74675 4.03175 6.74981 4.03279 6.75282 4.03398C7.02133 4.13921 7.26833 4.29984 7.47584 4.50985C7.86696 4.90588 8.08683 5.44342 8.08752 6.00346C8.08747 6.42123 7.96504 6.8305 7.7358 7.17787C7.51681 7.50945 7.20902 7.76964 6.84983 7.93171C6.84683 7.93307 6.84375 7.93424 6.84075 7.93559C6.82694 7.94174 6.81361 7.94913 6.79965 7.95499C6.7739 7.96579 6.74737 7.97437 6.72128 7.9841C6.71093 7.98798 6.70064 7.99202 6.69022 7.99574C6.65432 8.00846 6.61817 8.01997 6.58174 8.03066C6.56853 8.03457 6.55538 8.03866 6.54208 8.04231C6.50896 8.05132 6.47567 8.05922 6.4422 8.06656C6.42987 8.06929 6.4178 8.07328 6.40541 8.07578C6.39835 8.0772 6.39097 8.07783 6.3839 8.07917C6.3563 8.0844 6.32852 8.08818 6.30075 8.09227C6.27718 8.09577 6.25367 8.0993 6.23003 8.10197C6.2022 8.10509 6.17433 8.10726 6.1464 8.10925C6.12392 8.11087 6.10151 8.11274 6.07902 8.11362C6.05243 8.11463 6.02585 8.1146 5.99921 8.11459C5.97258 8.11459 5.946 8.11464 5.91941 8.11362C5.89692 8.11273 5.87451 8.11087 5.85203 8.10925C5.82394 8.10725 5.79591 8.10512 5.76792 8.10197C5.74509 8.09938 5.72236 8.09612 5.69959 8.09276C5.67052 8.0885 5.6415 8.08419 5.61262 8.07869C5.60632 8.07748 5.59979 8.07704 5.5935 8.07578C5.58209 8.07348 5.57093 8.07002 5.55957 8.06753C5.52403 8.05979 5.48864 8.05144 5.45348 8.04182C5.44307 8.03895 5.43279 8.03564 5.42242 8.03261C5.38321 8.02121 5.34442 8.00851 5.30582 7.99477C5.29736 7.99174 5.28891 7.98869 5.28049 7.98555C5.25339 7.9755 5.22599 7.9662 5.19926 7.95499C5.18519 7.94909 5.1716 7.94179 5.15768 7.93559C5.15462 7.93421 5.15166 7.93261 5.1486 7.93122C4.78956 7.76911 4.48153 7.50938 4.26263 7.17787C4.03339 6.8305 3.91143 6.42123 3.91139 6.00346C3.91208 5.44342 4.13194 4.90588 4.52307 4.50985C4.73048 4.29995 4.97725 4.1392 5.24561 4.03398C5.24862 4.03279 5.25168 4.03175 5.25469 4.03058C5.34766 3.99463 5.44305 3.96503 5.54046 3.94278C5.54253 3.9423 5.54459 3.94179 5.54667 3.94132C5.64385 3.91944 5.74282 3.90435 5.84295 3.89669C5.8455 3.8965 5.84805 3.8964 5.8506 3.89621C5.89927 3.89267 5.94819 3.89094 5.9973 3.89087H6.00113ZM2.05629 3.62601C2.19843 3.38476 2.52601 3.3628 2.72244 3.56149L3.14488 3.98983C3.31958 4.16671 3.34251 4.44156 3.23616 4.66702C3.13575 4.87987 3.06032 5.1037 3.01012 5.33354C2.94687 5.62317 2.70958 5.85824 2.41565 5.85841H1.82739C1.59938 5.85832 1.41445 5.66762 1.44222 5.43929C1.52049 4.79622 1.73057 4.17893 2.05629 3.62601ZM9.27646 3.56149C9.47286 3.36289 9.79996 3.38492 9.94214 3.62601C10.2679 4.17894 10.4784 4.79621 10.5567 5.43929C10.5845 5.66759 10.3995 5.85827 10.1715 5.85841H9.58326C9.28931 5.85824 9.05154 5.62319 8.98831 5.33354C8.93811 5.10371 8.86267 4.87986 8.76227 4.66702C8.656 4.44159 8.67936 4.16667 8.85403 3.98983L9.27646 3.56149ZM5.08313 1.44891C5.34753 1.39446 5.58059 1.61025 5.5806 1.88258V2.45014C5.58036 2.72733 5.37481 2.95673 5.11181 3.03711C5.0154 3.06658 4.9201 3.1012 4.82652 3.14043C4.68276 3.20074 4.54409 3.27229 4.4122 3.35339C4.16531 3.50508 3.83974 3.49784 3.63566 3.2913L3.25384 2.90516C3.06945 2.71833 3.07544 2.41149 3.28585 2.25514C3.82088 1.85801 4.43486 1.58316 5.08313 1.44891ZM6.41831 1.88258C6.41831 1.61022 6.65134 1.39439 6.91577 1.44891C7.56404 1.58316 8.17803 1.85801 8.71305 2.25514C8.92338 2.41149 8.92939 2.71834 8.74507 2.90516L8.36325 3.2913C8.15917 3.49784 7.83359 3.50507 7.58671 3.35339C7.45481 3.27228 7.31616 3.20075 7.17239 3.14043C7.07881 3.1012 6.98351 3.06659 6.8871 3.03711C6.62409 2.95673 6.41855 2.72733 6.41831 2.45014V1.88258Z",fill:"white",fillOpacity:"0.8"})}),pl=()=>a.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M9.31625 3.285V3.15048C9.31625 2.8179 9.18413 2.49894 8.94896 2.26377C8.71379 2.0286 8.39483 1.89648 8.06225 1.89648H2.93225C2.79142 1.89651 2.6521 1.92552 2.52297 1.98173C2.39384 2.03793 2.27767 2.12011 2.18167 2.22316C2.08568 2.32621 2.01194 2.44791 1.96502 2.5807C1.91811 2.71349 1.89903 2.85451 1.90899 2.99499C1.90724 3.00875 1.90633 3.02261 1.90625 3.03648V8.62248C1.90625 9.01554 2.06239 9.39249 2.34032 9.67042C2.61825 9.94835 2.9952 10.1045 3.38825 10.1045H9.08825C9.42083 10.1045 9.73979 9.97237 9.97496 9.7372C10.2101 9.50203 10.3423 9.18307 10.3423 8.85048V4.51848C10.3423 4.22539 10.2398 3.94152 10.0523 3.71619C9.8649 3.49086 9.60446 3.33829 9.31625 3.285ZM2.93225 2.58048H8.06225C8.37689 2.58048 8.63225 2.83584 8.63225 3.15048V3.26448H2.93225C2.84155 3.26448 2.75456 3.22845 2.69042 3.16431C2.62628 3.10018 2.59025 3.01319 2.59025 2.92248C2.59025 2.83178 2.62628 2.74479 2.69042 2.68065C2.75456 2.61652 2.84155 2.58048 2.93225 2.58048ZM7.94825 6.45648H8.86025C8.95095 6.45648 9.03794 6.49252 9.10208 6.55665C9.16622 6.62079 9.20225 6.70778 9.20225 6.79848C9.20225 6.88919 9.16622 6.97618 9.10208 7.04031C9.03794 7.10445 8.95095 7.14048 8.86025 7.14048H7.94825C7.85755 7.14048 7.77056 7.10445 7.70642 7.04031C7.64228 6.97618 7.60625 6.88919 7.60625 6.79848C7.60625 6.70778 7.64228 6.62079 7.70642 6.55665C7.77056 6.49252 7.85755 6.45648 7.94825 6.45648Z",fill:"white",fillOpacity:"0.8"})}),ml=m.div`
|
|
2851
2852
|
display: flex;
|
|
2852
2853
|
width: fit-content;
|
|
2853
2854
|
justify-content: center;
|
|
@@ -3190,9 +3191,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Rt]+=1);const Vs=m.div`
|
|
|
3190
3191
|
@keyframes buttonActive {
|
|
3191
3192
|
from {
|
|
3192
3193
|
opacity: 1;
|
|
3194
|
+
touch-action: none;
|
|
3193
3195
|
}
|
|
3194
3196
|
to {
|
|
3195
3197
|
opacity: 0;
|
|
3198
|
+
touch-action: none;
|
|
3196
3199
|
}
|
|
3197
3200
|
}
|
|
3198
3201
|
}
|
|
@@ -3255,7 +3258,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Rt]+=1);const Vs=m.div`
|
|
|
3255
3258
|
transform: scale(1.3);
|
|
3256
3259
|
}
|
|
3257
3260
|
}
|
|
3258
|
-
`,e0=({time:e,actionsHandler:t,size:n,isMobile:i,bettingTimeId:r,gameType:s})=>{const[o,l]=k.useState(null),c=n===Ct.Big,{t:d}=E();return a.jsxs(Xl,{children:[c&&!i&&a.jsx(Jl,{$isBig:c,$isMobile:i,children:a.jsx(ia,{time:e,timerType:Ge.WaitingForUserAction})},r),a.jsxs($l,{$isBig:c,$isMobile:i,children:[s!==ht.TEXAS?a.jsx("div",{className:"aciton",children:ql[n].map((h,f)=>{const{isDisabled:y,onHandle:p}=t[h.betType];return a.jsxs("div",{className:`button ${!!o&&(o===h.betType?"animated-active":"animated-unactive")}`,children:[a.jsx(Ka,{buttonType:h.betType,icon:h.icon,onClick:()=>{p(),l(h.betType)},isDisabled:y,size:n}),c&&a.jsx("p",{className:"name",children:d(h.name)})]},f)})}):a.jsx("div",{className:"aciton",children:Ql.map((h,f)=>{const{onHandle:y}=t[h.betType];return a.jsxs("div",{className:"button",children:[a.jsx(Ka,{buttonType:h.betType,icon:h.icon,onClick:()=>{y()},isDisabled:!1,size:n}),c&&a.jsx("p",{className:"name",children:d(h.name)})]},f)})}),s!==ht.TEXAS&&a.jsx("div",{className:"last-boton",children:c&&a.jsxs(_l,{className:`${!!o&&(o===F.Surrender?"animated-active":"animated-unactive")}`,onClick:()=>{t[F.Surrender].onHandle(),l(F.Surrender)},$surrender:!0,$isDisabled:t[F.Surrender].isDisabled,disabled:t[F.Surrender].isDisabled,children:[a.jsx("div",{className:"icon",children:a.jsx(Xi,{size:n===Ct.Big?20:12})}),a.jsx("p",{className:"name",children:d("Surrender")})]})})]})]})},t0=m.div`
|
|
3261
|
+
`,e0=({time:e,actionsHandler:t,size:n,isMobile:i,bettingTimeId:r,gameType:s})=>{const[o,l]=k.useState(null),c=n===Ct.Big,{t:d}=E();return a.jsxs(Xl,{children:[c&&!i&&a.jsx(Jl,{$isBig:c,$isMobile:i,children:a.jsx(ia,{time:e,timerType:Ge.WaitingForUserAction})},r),a.jsxs($l,{$isBig:c,$isMobile:i,children:[s!==ht.TEXAS?a.jsx("div",{className:"aciton",children:ql[n].map((h,f)=>{const{isDisabled:y,onHandle:p}=t[h.betType];return a.jsxs("div",{className:`button ${!!o&&(o===h.betType?"animated-active":"animated-unactive")}`,children:[a.jsx(Ka,{buttonType:h.betType,icon:h.icon,onClick:()=>{p(),l(h.betType)},isDisabled:y||!!o,size:n}),c&&a.jsx("p",{className:"name",children:d(h.name)})]},f)})}):a.jsx("div",{className:"aciton",children:Ql.map((h,f)=>{const{onHandle:y}=t[h.betType];return a.jsxs("div",{className:"button",children:[a.jsx(Ka,{buttonType:h.betType,icon:h.icon,onClick:()=>{y()},isDisabled:!1,size:n}),c&&a.jsx("p",{className:"name",children:d(h.name)})]},f)})}),s!==ht.TEXAS&&a.jsx("div",{className:"last-boton",children:c&&a.jsxs(_l,{className:`${!!o&&(o===F.Surrender?"animated-active":"animated-unactive")}`,onClick:()=>{t[F.Surrender].onHandle(),l(F.Surrender)},$surrender:!0,$isDisabled:t[F.Surrender].isDisabled,disabled:t[F.Surrender].isDisabled,children:[a.jsx("div",{className:"icon",children:a.jsx(Xi,{size:n===Ct.Big?20:12})}),a.jsx("p",{className:"name",children:d("Surrender")})]})})]})]})},t0=m.div`
|
|
3259
3262
|
width: 135px;
|
|
3260
3263
|
height: 69px;
|
|
3261
3264
|
position: absolute;
|
|
@@ -3835,7 +3838,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Rt]+=1);const Vs=m.div`
|
|
|
3835
3838
|
transform: scale(1.3);
|
|
3836
3839
|
}
|
|
3837
3840
|
}
|
|
3838
|
-
`,$0=({chipAmounts:e,selectedChipIndex:t,selectChipIndex:n,onUndo:i,onDouble:r,onRepeat:s,balance:o,isUndo:l,isDouble:c,onDeal:d,isDeal:h,isRepeat:f,isLandscape:y,gameType:p})=>{const{t:g}=E(),[b,x]=k.useState(!1);return a.jsxs(Z0,{$isLandscape:y,children:[a.jsxs(K0,{children:[a.jsx(ar,{$isLandscape:y,$isDisabled:l,onClick:i,children:a.jsx("div",{className:"icon",children:a.jsx(Ki,{})})}),a.jsxs(X0,{$isLandscape:y,$isChipsSelector:b,children:[a.jsx("div",{className:"chip",children:a.jsx(dt,{amount:e[t],chipAmounts:e,height:b?64:56,width:b?64:56,onClick:()=>{x(!b)}})}),e.map((v,C)=>a.jsxs(Q0,{$isLandscape:y,$isActiveChips:b,$index:C,children:[a.jsx(Y0,{index:C,isActive:C===t,isChipsSelector:b}),a.jsx("div",{className
|
|
3841
|
+
`,$0=({chipAmounts:e,selectedChipIndex:t,selectChipIndex:n,onUndo:i,onDouble:r,onRepeat:s,balance:o,isUndo:l,isDouble:c,onDeal:d,isDeal:h,isRepeat:f,isLandscape:y,gameType:p})=>{const{t:g}=E(),[b,x]=k.useState(!1);return a.jsxs(Z0,{$isLandscape:y,children:[a.jsxs(K0,{children:[a.jsx(ar,{$isLandscape:y,$isDisabled:l,onClick:i,children:a.jsx("div",{className:"icon",children:a.jsx(Ki,{})})}),a.jsxs(X0,{$isLandscape:y,$isChipsSelector:b,children:[a.jsx("div",{className:"chip",children:a.jsx(dt,{amount:e[t],chipAmounts:e,height:b?64:56,width:b?64:56,onClick:()=>{x(!b)}})}),e.map((v,C)=>a.jsxs(Q0,{$isLandscape:y,$isActiveChips:b,$index:C,children:[a.jsx(Y0,{index:C,isActive:C===t,isChipsSelector:b}),a.jsx("div",{className:"chips-select",children:a.jsx(dt,{amount:v,chipAmounts:e,height:42,width:42,onClick:()=>{x(!1),n(C)},isDisabled:v>o})})]},v))]}),a.jsxs(ar,{$isLandscape:y,$isDisabled:h?c:f,onClick:h?r:s,children:[a.jsx("div",{className:"icon button-icon",children:h?a.jsx(_e,{}):a.jsx(Qi,{})}),a.jsx("div",{className:"animations-button-bg"})]})]}),p!==ht.TEXAS&&a.jsxs(J0,{$isDisabled:h,onClick:d,$isLandscape:y,children:[a.jsx("div",{className:"button-icon icon",children:a.jsx(qi,{})}),a.jsx("p",{className:"text-button",children:g("Deal Now")})]})]})},_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAYAAAAmlE46AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJCSURBVHgBjVI9bxNBEJ3Z3du9s0MSylROCgokJJKGDmEjIUGFKZAoCRJ1SIdEQfwHSGoUidDRIEFNEbugoSGhoERG9P4S9t3e7t4wZ8dgFCFx0t7uad+7N/PeICw8P15fe65NZT2OKxBXqqB5B71KoC6MIF56hVeens6xWL6+Hl6uJVi9p41+ESdMiqtg4gpKUwWIVpm8zEgxANurw6T3HRtHA/xycGnfGL1j4iomTDJJQkzEiNVESdDLpSKAHyPkfSiy4SCd2IaQQjQLjzeNNkcqUqSURqkUCGkIhAEQMQIVACHj2sJG8LZL4JqKQSijGES5S41KRSCVBpBMkCVRsdoEwU0A8gyC9/3C51yN1mS0XFFRBGeLUGqakmQMrEYQUpoq6pycy9F7T0JJfaJ18iRSUa1UE7xAJjgrk88hZcUMqbCUjdJ6CH4zL/IOXyW73NuAS75R9oZCz0ilIoVZbz4F7xz64PaLUOyt3W+3cZ5L+uFBncs+FqWL0QqCXiLIf06dJDska7NOcvttY44X80Ny601biLh11hv9dtKzIcENWX17cVjE4gdef7nHxEeA6pTLQw6tTyHveJlvJXfedeF/Hvq0e0wfHz/81z3+Bf7c2gHUTSjGNch6q4UdorWTrh2nJ9koa61tt7tzrPpDenaX/3MwddKlZX8UOOjg3FV2c9NJW2fYxvkeC1Xn3njnsHmRt8BBo3ce2RwqvF//drhVO6fIyb9nJy+Cy3kULbrgODtPLgSeFMejFmg0puEc/gvfFxOz+2y5IwAAAABJRU5ErkJggg==",ec=m.div`
|
|
3839
3842
|
position: absolute;
|
|
3840
3843
|
width: 40px;
|
|
3841
3844
|
height: 40px;
|