livevegas-ui-kit 1.0.292 → 1.0.294
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.
- package/README.md +69 -69
- package/dist/components/ActionButton/index.d.ts +2 -1
- package/dist/livevegas-ui-kit.es.js +14 -7
- package/dist/livevegas-ui-kit.umd.js +5 -5
- package/dist/services/i18n/translations/en.json.d.ts +832 -832
- package/dist/services/i18n/translations/es.json.d.ts +831 -831
- package/dist/services/i18n/translations/fa.json.d.ts +834 -834
- package/dist/services/i18n/translations/hy.json.d.ts +839 -839
- package/dist/services/i18n/translations/ka.json.d.ts +805 -805
- package/dist/services/i18n/translations/ru.json.d.ts +850 -850
- package/dist/services/i18n/translations/tr.json.d.ts +855 -855
- package/dist/services/i18n/translations/uz.json.d.ts +836 -836
- package/package.json +77 -76
package/README.md
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
# React + TypeScript + Vite
|
|
2
|
-
|
|
3
|
-
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
-
|
|
5
|
-
Currently, two official plugins are available:
|
|
6
|
-
|
|
7
|
-
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
-
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
-
|
|
10
|
-
## Expanding the ESLint configuration
|
|
11
|
-
|
|
12
|
-
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
|
13
|
-
|
|
14
|
-
```js
|
|
15
|
-
export default tseslint.config([
|
|
16
|
-
globalIgnores(['dist']),
|
|
17
|
-
{
|
|
18
|
-
files: ['**/*.{ts,tsx}'],
|
|
19
|
-
extends: [
|
|
20
|
-
// Other configs...
|
|
21
|
-
|
|
22
|
-
// Remove tseslint.configs.recommended and replace with this
|
|
23
|
-
...tseslint.configs.recommendedTypeChecked,
|
|
24
|
-
// Alternatively, use this for stricter rules
|
|
25
|
-
...tseslint.configs.strictTypeChecked,
|
|
26
|
-
// Optionally, add this for stylistic rules
|
|
27
|
-
...tseslint.configs.stylisticTypeChecked,
|
|
28
|
-
|
|
29
|
-
// Other configs...
|
|
30
|
-
],
|
|
31
|
-
languageOptions: {
|
|
32
|
-
parserOptions: {
|
|
33
|
-
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
34
|
-
tsconfigRootDir: import.meta.dirname,
|
|
35
|
-
},
|
|
36
|
-
// other options...
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
])
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
|
43
|
-
|
|
44
|
-
```js
|
|
45
|
-
// eslint.config.js
|
|
46
|
-
import reactX from 'eslint-plugin-react-x'
|
|
47
|
-
import reactDom from 'eslint-plugin-react-dom'
|
|
48
|
-
|
|
49
|
-
export default tseslint.config([
|
|
50
|
-
globalIgnores(['dist']),
|
|
51
|
-
{
|
|
52
|
-
files: ['**/*.{ts,tsx}'],
|
|
53
|
-
extends: [
|
|
54
|
-
// Other configs...
|
|
55
|
-
// Enable lint rules for React
|
|
56
|
-
reactX.configs['recommended-typescript'],
|
|
57
|
-
// Enable lint rules for React DOM
|
|
58
|
-
reactDom.configs.recommended,
|
|
59
|
-
],
|
|
60
|
-
languageOptions: {
|
|
61
|
-
parserOptions: {
|
|
62
|
-
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
63
|
-
tsconfigRootDir: import.meta.dirname,
|
|
64
|
-
},
|
|
65
|
-
// other options...
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
])
|
|
69
|
-
```
|
|
1
|
+
# React + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
+
|
|
10
|
+
## Expanding the ESLint configuration
|
|
11
|
+
|
|
12
|
+
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
export default tseslint.config([
|
|
16
|
+
globalIgnores(['dist']),
|
|
17
|
+
{
|
|
18
|
+
files: ['**/*.{ts,tsx}'],
|
|
19
|
+
extends: [
|
|
20
|
+
// Other configs...
|
|
21
|
+
|
|
22
|
+
// Remove tseslint.configs.recommended and replace with this
|
|
23
|
+
...tseslint.configs.recommendedTypeChecked,
|
|
24
|
+
// Alternatively, use this for stricter rules
|
|
25
|
+
...tseslint.configs.strictTypeChecked,
|
|
26
|
+
// Optionally, add this for stylistic rules
|
|
27
|
+
...tseslint.configs.stylisticTypeChecked,
|
|
28
|
+
|
|
29
|
+
// Other configs...
|
|
30
|
+
],
|
|
31
|
+
languageOptions: {
|
|
32
|
+
parserOptions: {
|
|
33
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
34
|
+
tsconfigRootDir: import.meta.dirname,
|
|
35
|
+
},
|
|
36
|
+
// other options...
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
])
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
|
43
|
+
|
|
44
|
+
```js
|
|
45
|
+
// eslint.config.js
|
|
46
|
+
import reactX from 'eslint-plugin-react-x'
|
|
47
|
+
import reactDom from 'eslint-plugin-react-dom'
|
|
48
|
+
|
|
49
|
+
export default tseslint.config([
|
|
50
|
+
globalIgnores(['dist']),
|
|
51
|
+
{
|
|
52
|
+
files: ['**/*.{ts,tsx}'],
|
|
53
|
+
extends: [
|
|
54
|
+
// Other configs...
|
|
55
|
+
// Enable lint rules for React
|
|
56
|
+
reactX.configs['recommended-typescript'],
|
|
57
|
+
// Enable lint rules for React DOM
|
|
58
|
+
reactDom.configs.recommended,
|
|
59
|
+
],
|
|
60
|
+
languageOptions: {
|
|
61
|
+
parserOptions: {
|
|
62
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
63
|
+
tsconfigRootDir: import.meta.dirname,
|
|
64
|
+
},
|
|
65
|
+
// other options...
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
])
|
|
69
|
+
```
|
|
@@ -6,8 +6,9 @@ export interface IActionButton {
|
|
|
6
6
|
icon: React.ComponentType<ISizeIcon>;
|
|
7
7
|
onClick: () => void;
|
|
8
8
|
isDisabled: boolean;
|
|
9
|
+
actionName?: string;
|
|
9
10
|
size?: number;
|
|
10
11
|
customColor?: string;
|
|
11
12
|
gameType?: number;
|
|
12
13
|
}
|
|
13
|
-
export declare const ActionButton: ({ buttonType, icon: Icon, onClick, isDisabled, size, customColor, gameType }: IActionButton) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ActionButton: ({ buttonType, icon: Icon, onClick, isDisabled, size, customColor, gameType, actionName }: IActionButton) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9356,6 +9356,7 @@ var Fn = i.div`
|
|
|
9356
9356
|
g !== T.TEXAS && /* @__PURE__ */ s($i, {
|
|
9357
9357
|
$isDisabled: m,
|
|
9358
9358
|
onClick: l,
|
|
9359
|
+
"test-id": "deal-now",
|
|
9359
9360
|
children: [/* @__PURE__ */ o("div", {
|
|
9360
9361
|
className: "button-icon icon",
|
|
9361
9362
|
children: /* @__PURE__ */ o(na, {})
|
|
@@ -9596,6 +9597,7 @@ var Fn = i.div`
|
|
|
9596
9597
|
onClick: () => _(e, n, r),
|
|
9597
9598
|
children: a("Back to Lobby")
|
|
9598
9599
|
}), /* @__PURE__ */ o("button", {
|
|
9600
|
+
"test-id": "stayInTheGame",
|
|
9599
9601
|
onClick: i,
|
|
9600
9602
|
children: a("Stay in the Game")
|
|
9601
9603
|
})] })
|
|
@@ -10024,18 +10026,19 @@ var Fn = i.div`
|
|
|
10024
10026
|
transform: scale(1.3);
|
|
10025
10027
|
}
|
|
10026
10028
|
}
|
|
10027
|
-
`, Ha = ({ buttonType: e, icon: t, onClick: n, isDisabled: r, size: i = Ra.Big, customColor: a, gameType: s }) => {
|
|
10028
|
-
let
|
|
10029
|
+
`, Ha = ({ buttonType: e, icon: t, onClick: n, isDisabled: r, size: i = Ra.Big, customColor: a, gameType: s, actionName: c }) => {
|
|
10030
|
+
let l = Ba(i, e);
|
|
10029
10031
|
return /* @__PURE__ */ o(Va, {
|
|
10030
10032
|
onClick: n,
|
|
10031
10033
|
disabled: r,
|
|
10032
10034
|
$isDisabled: r,
|
|
10033
10035
|
$color: a ?? La[e],
|
|
10034
|
-
$size:
|
|
10036
|
+
$size: l,
|
|
10035
10037
|
$gameType: s,
|
|
10038
|
+
"test-id": `action-${c}`,
|
|
10036
10039
|
children: /* @__PURE__ */ o("div", {
|
|
10037
10040
|
className: "icon",
|
|
10038
|
-
children: /* @__PURE__ */ o(t, { size:
|
|
10041
|
+
children: /* @__PURE__ */ o(t, { size: l.iconSize })
|
|
10039
10042
|
})
|
|
10040
10043
|
});
|
|
10041
10044
|
}, Ua = ({ size: e }) => /* @__PURE__ */ o("svg", {
|
|
@@ -10268,7 +10271,8 @@ var Fn = i.div`
|
|
|
10268
10271
|
},
|
|
10269
10272
|
isDisabled: i || !!l,
|
|
10270
10273
|
size: r,
|
|
10271
|
-
gameType: c
|
|
10274
|
+
gameType: c,
|
|
10275
|
+
actionName: e.name
|
|
10272
10276
|
}), f && /* @__PURE__ */ o("p", {
|
|
10273
10277
|
className: "name",
|
|
10274
10278
|
children: p(e.name)
|
|
@@ -10288,7 +10292,8 @@ var Fn = i.div`
|
|
|
10288
10292
|
a(), u(e.betType);
|
|
10289
10293
|
},
|
|
10290
10294
|
isDisabled: i || !!l,
|
|
10291
|
-
size: r
|
|
10295
|
+
size: r,
|
|
10296
|
+
actionName: e.name
|
|
10292
10297
|
}), f && /* @__PURE__ */ o("p", {
|
|
10293
10298
|
className: "name",
|
|
10294
10299
|
children: p(e.name)
|
|
@@ -10305,6 +10310,7 @@ var Fn = i.div`
|
|
|
10305
10310
|
$surrender: !0,
|
|
10306
10311
|
$isDisabled: n[G.Surrender].isDisabled,
|
|
10307
10312
|
disabled: n[G.Surrender].isDisabled,
|
|
10313
|
+
"test-id": "action-Surrender",
|
|
10308
10314
|
children: [/* @__PURE__ */ o("div", {
|
|
10309
10315
|
className: "icon",
|
|
10310
10316
|
children: /* @__PURE__ */ o(Ia, { size: r === Ra.Big ? 20 : 12 })
|
|
@@ -10672,7 +10678,8 @@ var Fn = i.div`
|
|
|
10672
10678
|
onClick: i,
|
|
10673
10679
|
isDisabled: r,
|
|
10674
10680
|
customColor: e.color,
|
|
10675
|
-
size: Ra.Bigest
|
|
10681
|
+
size: Ra.Bigest,
|
|
10682
|
+
actionName: e.name
|
|
10676
10683
|
}), /* @__PURE__ */ o("p", {
|
|
10677
10684
|
className: "name",
|
|
10678
10685
|
children: p(e.name)
|
|
@@ -3520,7 +3520,7 @@
|
|
|
3520
3520
|
width: 0%;
|
|
3521
3521
|
}
|
|
3522
3522
|
}
|
|
3523
|
-
`,ia=({time:e,timerType:n})=>{let{t:a}=(0,t.useTranslation)(),o={[q.WaitingInsurance]:a(`Insure Your Hand?`),[q.WaitingForUserAction]:a(`Make your descision`),[q.WaitingForBet]:a(`Please, Place Your Bets`)},[s,c]=(0,i.useState)(!1),[l,u]=(0,i.useState)(null),d=e/1e3;if((0,i.useEffect)(()=>{c(!0)},[]),(0,i.useEffect)(()=>{e>0&&l?setTimeout(()=>{u(l-1)},1e3):e>0&&l===null?u((e+1e3)/1e3):(c(!1),u(null))},[e,l]),e>0&&s)return(0,r.jsxs)(ra,{$time:d,children:[(0,r.jsx)(`div`,{className:`timer-line`}),(0,r.jsx)(`div`,{className:`line-time`}),(0,r.jsxs)(`div`,{className:`text-wrapper`,children:[(0,r.jsx)(`p`,{className:`p`,children:a(o[n])}),(0,r.jsx)(`div`,{className:`line`}),(0,r.jsx)(`p`,{className:`p`,children:l})]})]})},aa=()=>(0,r.jsx)(`svg`,{width:`19`,height:`20`,viewBox:`0 0 19 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,r.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`})}),oa=({time:e,chipAmounts:n,selectedChipIndex:i,selectChipIndex:a,onUndo:o,onDouble:s,onDeal:c,onRepeat:l,balance:u,isUndo:d,isDouble:f,isDeal:p,isRepeat:m,gameType:h})=>{let{t:g}=(0,t.useTranslation)();return(0,r.jsxs)(Xi,{children:[(0,r.jsx)(ia,{time:e,timerType:q.WaitingForBet}),(0,r.jsxs)(Zi,{children:[(0,r.jsx)(ea,{$isDisabled:d,onClick:o,children:(0,r.jsx)(`div`,{className:`icon`,children:(0,r.jsx)(ta,{})})}),n.map((e,t)=>{let o=t===i?64:48;return(0,r.jsx)(Qi,{$chipSize:o,children:(0,r.jsx)(H,{amount:e,chipAmounts:n,height:o,width:o,onClick:()=>a(t),isDisabled:e>u})},e)}),(0,r.jsxs)(ea,{$isDisabled:p?f:m,onClick:p?s:l,children:[(0,r.jsx)(`div`,{className:`button-icon icon`,children:p?(0,r.jsx)(At,{}):(0,r.jsx)(aa,{})}),(0,r.jsx)(`div`,{className:`animations-button-bg`})]})]}),h!==T.TEXAS&&(0,r.jsxs)($i,{$isDisabled:p,onClick:c,children:[(0,r.jsx)(`div`,{className:`button-icon icon`,children:(0,r.jsx)(na,{})}),(0,r.jsx)(`p`,{className:`text-button`,children:g(`Deal Now`)})]})]})},sa=()=>(0,r.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,r.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`})}),ca=()=>(0,r.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,r.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`})}),la=n.styled.div`
|
|
3523
|
+
`,ia=({time:e,timerType:n})=>{let{t:a}=(0,t.useTranslation)(),o={[q.WaitingInsurance]:a(`Insure Your Hand?`),[q.WaitingForUserAction]:a(`Make your descision`),[q.WaitingForBet]:a(`Please, Place Your Bets`)},[s,c]=(0,i.useState)(!1),[l,u]=(0,i.useState)(null),d=e/1e3;if((0,i.useEffect)(()=>{c(!0)},[]),(0,i.useEffect)(()=>{e>0&&l?setTimeout(()=>{u(l-1)},1e3):e>0&&l===null?u((e+1e3)/1e3):(c(!1),u(null))},[e,l]),e>0&&s)return(0,r.jsxs)(ra,{$time:d,children:[(0,r.jsx)(`div`,{className:`timer-line`}),(0,r.jsx)(`div`,{className:`line-time`}),(0,r.jsxs)(`div`,{className:`text-wrapper`,children:[(0,r.jsx)(`p`,{className:`p`,children:a(o[n])}),(0,r.jsx)(`div`,{className:`line`}),(0,r.jsx)(`p`,{className:`p`,children:l})]})]})},aa=()=>(0,r.jsx)(`svg`,{width:`19`,height:`20`,viewBox:`0 0 19 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,r.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`})}),oa=({time:e,chipAmounts:n,selectedChipIndex:i,selectChipIndex:a,onUndo:o,onDouble:s,onDeal:c,onRepeat:l,balance:u,isUndo:d,isDouble:f,isDeal:p,isRepeat:m,gameType:h})=>{let{t:g}=(0,t.useTranslation)();return(0,r.jsxs)(Xi,{children:[(0,r.jsx)(ia,{time:e,timerType:q.WaitingForBet}),(0,r.jsxs)(Zi,{children:[(0,r.jsx)(ea,{$isDisabled:d,onClick:o,children:(0,r.jsx)(`div`,{className:`icon`,children:(0,r.jsx)(ta,{})})}),n.map((e,t)=>{let o=t===i?64:48;return(0,r.jsx)(Qi,{$chipSize:o,children:(0,r.jsx)(H,{amount:e,chipAmounts:n,height:o,width:o,onClick:()=>a(t),isDisabled:e>u})},e)}),(0,r.jsxs)(ea,{$isDisabled:p?f:m,onClick:p?s:l,children:[(0,r.jsx)(`div`,{className:`button-icon icon`,children:p?(0,r.jsx)(At,{}):(0,r.jsx)(aa,{})}),(0,r.jsx)(`div`,{className:`animations-button-bg`})]})]}),h!==T.TEXAS&&(0,r.jsxs)($i,{$isDisabled:p,onClick:c,"test-id":`deal-now`,children:[(0,r.jsx)(`div`,{className:`button-icon icon`,children:(0,r.jsx)(na,{})}),(0,r.jsx)(`p`,{className:`text-button`,children:g(`Deal Now`)})]})]})},sa=()=>(0,r.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,r.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`})}),ca=()=>(0,r.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,r.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`})}),la=n.styled.div`
|
|
3524
3524
|
display: flex;
|
|
3525
3525
|
width: fit-content;
|
|
3526
3526
|
justify-content: center;
|
|
@@ -3674,7 +3674,7 @@
|
|
|
3674
3674
|
margin: 4px 0 0;
|
|
3675
3675
|
font-size: 14px;
|
|
3676
3676
|
color: rgba(255, 255, 255, 0.8);
|
|
3677
|
-
`,Ta=({partnerId:e,socket:n,urlParam:i,stayInTheGame:a})=>{let{t:o}=(0,t.useTranslation)();return(0,r.jsx)(ba,{children:(0,r.jsxs)(xa,{children:[(0,r.jsx)(Ca,{children:o(`Still with us, Player?`)}),(0,r.jsx)(wa,{children:o(`We haven’t seen any moves from you. Want to keep playing?`)}),(0,r.jsxs)(Sa,{children:[(0,r.jsx)(`button`,{onClick:()=>_(e,n,i),children:o(`Back to Lobby`)}),(0,r.jsx)(`button`,{onClick:a,children:o(`Stay in the Game`)})]})]})})},Ea=()=>(0,r.jsxs)(`svg`,{width:`190`,height:`81`,viewBox:`0 0 190 81`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,r.jsx)(`path`,{d:`M92.1719 7.74034C93.3269 5.39767 96.6659 5.39767 97.8209 7.74034L103.323 18.8867L115.627 20.674C118.21 21.0497 119.241 24.2253 117.372 26.0477L108.468 34.7277L110.57 46.9777C111.014 49.5513 108.312 51.5137 105.999 50.3003L94.9952 44.5137L83.9936 50.3003C81.6836 51.5137 78.9816 49.5537 79.4202 46.9777L81.5226 34.7277L72.6209 26.0477C70.7519 24.2277 71.7832 21.0497 74.3662 20.674L86.6699 18.8867L92.1719 7.74034Z`,fill:`url(#paint0_linear_2157_10222)`}),(0,r.jsx)(`path`,{d:`M93.0688 8.18256C93.8325 6.6336 95.9951 6.58493 96.8462 8.03705L96.9243 8.18256L102.426 19.329L102.659 19.8007L103.179 19.8759L115.483 21.664C117.19 21.9125 117.905 23.9545 116.788 25.2128L116.673 25.332L107.77 34.0117L107.393 34.3788L107.482 34.8964L109.584 47.1464V47.1474C109.877 48.8474 108.157 50.1597 106.613 49.4863L106.464 49.415L95.4604 43.6288L94.9956 43.3837L94.5298 43.6288L83.5278 49.415C81.9517 50.2423 80.1069 48.9058 80.4058 47.1464L82.5083 34.8964L82.5972 34.3788L82.2212 34.0117L73.3188 25.332V25.331L73.2046 25.2119C72.0889 23.9557 72.8025 21.9124 74.5103 21.664L86.814 19.8759L87.3335 19.8007L87.5669 19.329L93.0688 8.18256Z`,stroke:`white`,strokeOpacity:`0.24`,strokeWidth:`2`}),(0,r.jsx)(`path`,{d:`M137.26 26.8762C138.176 25.0413 140.824 25.0413 141.74 26.8762L146.103 35.6066L155.859 37.0066C157.907 37.3008 158.725 39.7882 157.243 41.2155L150.183 48.0142L151.85 57.6091C152.201 59.6249 150.059 61.1619 148.225 60.2116L139.499 55.6791L130.775 60.2116C128.943 61.1619 126.801 59.6267 127.149 57.6091L128.816 48.0142L121.757 41.2155C120.275 39.79 121.093 37.3008 123.141 37.0066L132.897 35.6066L137.26 26.8762Z`,fill:`url(#paint1_linear_2157_10222)`}),(0,r.jsx)(`path`,{d:`M138.155 27.3232C138.703 26.2262 140.297 26.2262 140.845 27.3232H140.846L145.208 36.0537L145.442 36.5225L145.961 36.5967L155.717 37.9961C156.958 38.1744 157.42 39.6572 156.55 40.4951L149.489 47.2939L149.106 47.6621L149.197 48.1855L150.864 57.7803V57.7812C151.068 58.952 149.81 59.9068 148.685 59.3232L139.96 54.792L139.499 54.5518L139.038 54.792L130.314 59.3242C129.192 59.9063 127.932 58.9552 128.134 57.7803L129.801 48.1855L129.892 47.6621L129.51 47.2939L122.45 40.4951L122.372 40.415C121.61 39.568 122.08 38.1689 123.283 37.9961L133.039 36.5967L133.558 36.5225L133.792 36.0537L138.154 27.3232H138.155Z`,stroke:`white`,strokeOpacity:`0.24`,strokeWidth:`2`}),(0,r.jsx)(`path`,{d:`M52.7398 26.8762C51.8239 25.0413 49.1761 25.0413 48.2602 26.8762L43.8973 35.6066L34.1408 37.0066C32.0926 37.3008 31.2748 39.7882 32.7568 41.2155L39.8175 48.0142L38.1504 57.6091C37.7988 59.6249 39.9414 61.1619 41.775 60.2116L50.5009 55.6791L59.225 60.2116C61.0567 61.1619 63.1993 59.6267 62.8515 57.6091L61.1844 48.0142L68.2432 41.2155C69.7252 39.79 68.9074 37.3008 66.8592 37.0066L57.1027 35.6066L52.7398 26.8762Z`,fill:`url(#paint2_linear_2157_10222)`}),(0,r.jsx)(`path`,{d:`M51.8447 27.3232C51.2971 26.2262 49.7029 26.2262 49.1553 27.3232H49.1543L44.792 36.0537L44.5576 36.5225L44.0391 36.5967L34.2832 37.9961C33.0418 38.1744 32.5804 39.6572 33.4502 40.4951L40.5107 47.2939L40.8936 47.6621L40.8027 48.1855L39.1357 57.7803V57.7812C38.9318 58.952 40.1895 59.9068 41.3154 59.3232L50.04 54.792L50.501 54.5518L50.9619 54.792L59.6855 59.3242C60.8078 59.9063 62.0677 58.9552 61.8662 57.7803L60.1992 48.1855L60.1084 47.6621L60.4902 47.2939L67.5498 40.4951L67.6279 40.415C68.3898 39.568 67.92 38.1689 66.7168 37.9961L56.9609 36.5967L56.4424 36.5225L56.208 36.0537L51.8457 27.3232H51.8447Z`,stroke:`white`,strokeOpacity:`0.24`,strokeWidth:`2`}),(0,r.jsx)(`path`,{d:`M170.182 49.1545C170.925 47.6485 173.071 47.6485 173.814 49.1545L177.351 56.32L185.26 57.469C186.921 57.7105 187.584 59.752 186.382 60.9235L180.658 66.5035L182.01 74.3785C182.295 76.033 180.558 77.2945 179.071 76.5145L171.997 72.7945L164.925 76.5145C163.44 77.2945 161.703 76.0345 161.985 74.3785L163.336 66.5035L157.614 60.9235C156.412 59.7535 157.075 57.7105 158.736 57.469L166.645 56.32L170.182 49.1545Z`,fill:`url(#paint3_linear_2157_10222)`}),(0,r.jsx)(`path`,{d:`M171.079 49.5963C171.455 48.8345 172.541 48.8343 172.917 49.5963V49.5973L176.454 56.7623L176.687 57.234L177.207 57.3092L185.116 58.4586C185.956 58.5808 186.292 59.6144 185.684 60.2076L179.96 65.7877L179.584 66.1549L179.673 66.6725L181.024 74.5475V74.5484C181.168 75.384 180.289 76.0243 179.535 75.6285L172.463 71.9098L171.997 71.6646L171.531 71.9098L164.459 75.6295C163.708 76.0236 162.827 75.3853 162.97 74.5455L164.321 66.6725L164.41 66.1549L164.034 65.7877L158.312 60.2076V60.2066L158.208 60.0914C157.748 59.4901 158.091 58.5725 158.879 58.4576L166.789 57.3092L167.309 57.234L167.542 56.7623L171.079 49.5973V49.5963Z`,stroke:`white`,strokeOpacity:`0.24`,strokeWidth:`2`}),(0,r.jsx)(`path`,{d:`M19.818 49.1545C19.0755 47.6485 16.929 47.6485 16.1865 49.1545L12.6495 56.32L4.73995 57.469C3.07945 57.7105 2.41645 59.752 3.61795 60.9235L9.34195 66.5035L7.99045 74.3785C7.70545 76.033 9.44245 77.2945 10.929 76.5145L18.003 72.7945L25.0755 76.5145C26.5605 77.2945 28.2975 76.0345 28.0155 74.3785L26.664 66.5035L32.3865 60.9235C33.588 59.7535 32.925 57.7105 31.2645 57.469L23.355 56.32L19.818 49.1545Z`,fill:`url(#paint4_linear_2157_10222)`}),(0,r.jsx)(`path`,{d:`M18.9209 49.5963C18.5449 48.8345 17.4589 48.8343 17.083 49.5963V49.5973L13.5459 56.7623L13.3135 57.234L12.793 57.3092L4.88379 58.4586C4.04383 58.5808 3.70799 59.6144 4.31641 60.2076L10.04 65.7877L10.416 66.1549L10.3271 66.6725L8.97559 74.5475V74.5484C8.83183 75.384 9.71051 76.0243 10.4648 75.6285L17.5371 71.9098L18.0029 71.6646L18.4688 71.9098L25.541 75.6295C26.2924 76.0236 27.1733 75.3853 27.0303 74.5455L25.6787 66.6725L25.5898 66.1549L25.9658 65.7877L31.6885 60.2076V60.2066L31.792 60.0914C32.2524 59.4901 31.9087 58.5725 31.1211 58.4576L23.2109 57.3092L22.6914 57.234L22.458 56.7623L18.9209 49.5973V49.5963Z`,stroke:`white`,strokeOpacity:`0.24`,strokeWidth:`2`}),(0,r.jsxs)(`defs`,{children:[(0,r.jsxs)(`linearGradient`,{id:`paint0_linear_2157_10222`,x1:`70.4054`,y1:`-1.46421`,x2:`133.186`,y2:`36.0224`,gradientUnits:`userSpaceOnUse`,children:[(0,r.jsx)(`stop`,{stopColor:`#B97304`}),(0,r.jsx)(`stop`,{offset:`0.368995`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`0.5`,stopColor:`#FFD38B`}),(0,r.jsx)(`stop`,{offset:`0.611316`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`1`,stopColor:`#B97304`})]}),(0,r.jsxs)(`linearGradient`,{id:`paint1_linear_2157_10222`,x1:`120`,y1:`19.6667`,x2:`169.459`,y2:`49.5651`,gradientUnits:`userSpaceOnUse`,children:[(0,r.jsx)(`stop`,{stopColor:`#B97304`}),(0,r.jsx)(`stop`,{offset:`0.368995`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`0.5`,stopColor:`#FFD38B`}),(0,r.jsx)(`stop`,{offset:`0.611316`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`1`,stopColor:`#B97304`})]}),(0,r.jsxs)(`linearGradient`,{id:`paint2_linear_2157_10222`,x1:`70`,y1:`19.6667`,x2:`20.5411`,y2:`49.5651`,gradientUnits:`userSpaceOnUse`,children:[(0,r.jsx)(`stop`,{stopColor:`#B97304`}),(0,r.jsx)(`stop`,{offset:`0.368995`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`0.5`,stopColor:`#FFD38B`}),(0,r.jsx)(`stop`,{offset:`0.611316`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`1`,stopColor:`#B97304`})]}),(0,r.jsxs)(`linearGradient`,{id:`paint3_linear_2157_10222`,x1:`156.189`,y1:`43.2373`,x2:`196.548`,y2:`67.3358`,gradientUnits:`userSpaceOnUse`,children:[(0,r.jsx)(`stop`,{stopColor:`#B97304`}),(0,r.jsx)(`stop`,{offset:`0.368995`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`0.5`,stopColor:`#FFD38B`}),(0,r.jsx)(`stop`,{offset:`0.611316`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`1`,stopColor:`#B97304`})]}),(0,r.jsxs)(`linearGradient`,{id:`paint4_linear_2157_10222`,x1:`33.8107`,y1:`43.2373`,x2:`-6.54837`,y2:`67.3358`,gradientUnits:`userSpaceOnUse`,children:[(0,r.jsx)(`stop`,{stopColor:`#B97304`}),(0,r.jsx)(`stop`,{offset:`0.368995`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`0.5`,stopColor:`#FFD38B`}),(0,r.jsx)(`stop`,{offset:`0.611316`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`1`,stopColor:`#B97304`})]})]})]}),Da=n.styled.div`
|
|
3677
|
+
`,Ta=({partnerId:e,socket:n,urlParam:i,stayInTheGame:a})=>{let{t:o}=(0,t.useTranslation)();return(0,r.jsx)(ba,{children:(0,r.jsxs)(xa,{children:[(0,r.jsx)(Ca,{children:o(`Still with us, Player?`)}),(0,r.jsx)(wa,{children:o(`We haven’t seen any moves from you. Want to keep playing?`)}),(0,r.jsxs)(Sa,{children:[(0,r.jsx)(`button`,{onClick:()=>_(e,n,i),children:o(`Back to Lobby`)}),(0,r.jsx)(`button`,{"test-id":`stayInTheGame`,onClick:a,children:o(`Stay in the Game`)})]})]})})},Ea=()=>(0,r.jsxs)(`svg`,{width:`190`,height:`81`,viewBox:`0 0 190 81`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,r.jsx)(`path`,{d:`M92.1719 7.74034C93.3269 5.39767 96.6659 5.39767 97.8209 7.74034L103.323 18.8867L115.627 20.674C118.21 21.0497 119.241 24.2253 117.372 26.0477L108.468 34.7277L110.57 46.9777C111.014 49.5513 108.312 51.5137 105.999 50.3003L94.9952 44.5137L83.9936 50.3003C81.6836 51.5137 78.9816 49.5537 79.4202 46.9777L81.5226 34.7277L72.6209 26.0477C70.7519 24.2277 71.7832 21.0497 74.3662 20.674L86.6699 18.8867L92.1719 7.74034Z`,fill:`url(#paint0_linear_2157_10222)`}),(0,r.jsx)(`path`,{d:`M93.0688 8.18256C93.8325 6.6336 95.9951 6.58493 96.8462 8.03705L96.9243 8.18256L102.426 19.329L102.659 19.8007L103.179 19.8759L115.483 21.664C117.19 21.9125 117.905 23.9545 116.788 25.2128L116.673 25.332L107.77 34.0117L107.393 34.3788L107.482 34.8964L109.584 47.1464V47.1474C109.877 48.8474 108.157 50.1597 106.613 49.4863L106.464 49.415L95.4604 43.6288L94.9956 43.3837L94.5298 43.6288L83.5278 49.415C81.9517 50.2423 80.1069 48.9058 80.4058 47.1464L82.5083 34.8964L82.5972 34.3788L82.2212 34.0117L73.3188 25.332V25.331L73.2046 25.2119C72.0889 23.9557 72.8025 21.9124 74.5103 21.664L86.814 19.8759L87.3335 19.8007L87.5669 19.329L93.0688 8.18256Z`,stroke:`white`,strokeOpacity:`0.24`,strokeWidth:`2`}),(0,r.jsx)(`path`,{d:`M137.26 26.8762C138.176 25.0413 140.824 25.0413 141.74 26.8762L146.103 35.6066L155.859 37.0066C157.907 37.3008 158.725 39.7882 157.243 41.2155L150.183 48.0142L151.85 57.6091C152.201 59.6249 150.059 61.1619 148.225 60.2116L139.499 55.6791L130.775 60.2116C128.943 61.1619 126.801 59.6267 127.149 57.6091L128.816 48.0142L121.757 41.2155C120.275 39.79 121.093 37.3008 123.141 37.0066L132.897 35.6066L137.26 26.8762Z`,fill:`url(#paint1_linear_2157_10222)`}),(0,r.jsx)(`path`,{d:`M138.155 27.3232C138.703 26.2262 140.297 26.2262 140.845 27.3232H140.846L145.208 36.0537L145.442 36.5225L145.961 36.5967L155.717 37.9961C156.958 38.1744 157.42 39.6572 156.55 40.4951L149.489 47.2939L149.106 47.6621L149.197 48.1855L150.864 57.7803V57.7812C151.068 58.952 149.81 59.9068 148.685 59.3232L139.96 54.792L139.499 54.5518L139.038 54.792L130.314 59.3242C129.192 59.9063 127.932 58.9552 128.134 57.7803L129.801 48.1855L129.892 47.6621L129.51 47.2939L122.45 40.4951L122.372 40.415C121.61 39.568 122.08 38.1689 123.283 37.9961L133.039 36.5967L133.558 36.5225L133.792 36.0537L138.154 27.3232H138.155Z`,stroke:`white`,strokeOpacity:`0.24`,strokeWidth:`2`}),(0,r.jsx)(`path`,{d:`M52.7398 26.8762C51.8239 25.0413 49.1761 25.0413 48.2602 26.8762L43.8973 35.6066L34.1408 37.0066C32.0926 37.3008 31.2748 39.7882 32.7568 41.2155L39.8175 48.0142L38.1504 57.6091C37.7988 59.6249 39.9414 61.1619 41.775 60.2116L50.5009 55.6791L59.225 60.2116C61.0567 61.1619 63.1993 59.6267 62.8515 57.6091L61.1844 48.0142L68.2432 41.2155C69.7252 39.79 68.9074 37.3008 66.8592 37.0066L57.1027 35.6066L52.7398 26.8762Z`,fill:`url(#paint2_linear_2157_10222)`}),(0,r.jsx)(`path`,{d:`M51.8447 27.3232C51.2971 26.2262 49.7029 26.2262 49.1553 27.3232H49.1543L44.792 36.0537L44.5576 36.5225L44.0391 36.5967L34.2832 37.9961C33.0418 38.1744 32.5804 39.6572 33.4502 40.4951L40.5107 47.2939L40.8936 47.6621L40.8027 48.1855L39.1357 57.7803V57.7812C38.9318 58.952 40.1895 59.9068 41.3154 59.3232L50.04 54.792L50.501 54.5518L50.9619 54.792L59.6855 59.3242C60.8078 59.9063 62.0677 58.9552 61.8662 57.7803L60.1992 48.1855L60.1084 47.6621L60.4902 47.2939L67.5498 40.4951L67.6279 40.415C68.3898 39.568 67.92 38.1689 66.7168 37.9961L56.9609 36.5967L56.4424 36.5225L56.208 36.0537L51.8457 27.3232H51.8447Z`,stroke:`white`,strokeOpacity:`0.24`,strokeWidth:`2`}),(0,r.jsx)(`path`,{d:`M170.182 49.1545C170.925 47.6485 173.071 47.6485 173.814 49.1545L177.351 56.32L185.26 57.469C186.921 57.7105 187.584 59.752 186.382 60.9235L180.658 66.5035L182.01 74.3785C182.295 76.033 180.558 77.2945 179.071 76.5145L171.997 72.7945L164.925 76.5145C163.44 77.2945 161.703 76.0345 161.985 74.3785L163.336 66.5035L157.614 60.9235C156.412 59.7535 157.075 57.7105 158.736 57.469L166.645 56.32L170.182 49.1545Z`,fill:`url(#paint3_linear_2157_10222)`}),(0,r.jsx)(`path`,{d:`M171.079 49.5963C171.455 48.8345 172.541 48.8343 172.917 49.5963V49.5973L176.454 56.7623L176.687 57.234L177.207 57.3092L185.116 58.4586C185.956 58.5808 186.292 59.6144 185.684 60.2076L179.96 65.7877L179.584 66.1549L179.673 66.6725L181.024 74.5475V74.5484C181.168 75.384 180.289 76.0243 179.535 75.6285L172.463 71.9098L171.997 71.6646L171.531 71.9098L164.459 75.6295C163.708 76.0236 162.827 75.3853 162.97 74.5455L164.321 66.6725L164.41 66.1549L164.034 65.7877L158.312 60.2076V60.2066L158.208 60.0914C157.748 59.4901 158.091 58.5725 158.879 58.4576L166.789 57.3092L167.309 57.234L167.542 56.7623L171.079 49.5973V49.5963Z`,stroke:`white`,strokeOpacity:`0.24`,strokeWidth:`2`}),(0,r.jsx)(`path`,{d:`M19.818 49.1545C19.0755 47.6485 16.929 47.6485 16.1865 49.1545L12.6495 56.32L4.73995 57.469C3.07945 57.7105 2.41645 59.752 3.61795 60.9235L9.34195 66.5035L7.99045 74.3785C7.70545 76.033 9.44245 77.2945 10.929 76.5145L18.003 72.7945L25.0755 76.5145C26.5605 77.2945 28.2975 76.0345 28.0155 74.3785L26.664 66.5035L32.3865 60.9235C33.588 59.7535 32.925 57.7105 31.2645 57.469L23.355 56.32L19.818 49.1545Z`,fill:`url(#paint4_linear_2157_10222)`}),(0,r.jsx)(`path`,{d:`M18.9209 49.5963C18.5449 48.8345 17.4589 48.8343 17.083 49.5963V49.5973L13.5459 56.7623L13.3135 57.234L12.793 57.3092L4.88379 58.4586C4.04383 58.5808 3.70799 59.6144 4.31641 60.2076L10.04 65.7877L10.416 66.1549L10.3271 66.6725L8.97559 74.5475V74.5484C8.83183 75.384 9.71051 76.0243 10.4648 75.6285L17.5371 71.9098L18.0029 71.6646L18.4688 71.9098L25.541 75.6295C26.2924 76.0236 27.1733 75.3853 27.0303 74.5455L25.6787 66.6725L25.5898 66.1549L25.9658 65.7877L31.6885 60.2076V60.2066L31.792 60.0914C32.2524 59.4901 31.9087 58.5725 31.1211 58.4576L23.2109 57.3092L22.6914 57.234L22.458 56.7623L18.9209 49.5973V49.5963Z`,stroke:`white`,strokeOpacity:`0.24`,strokeWidth:`2`}),(0,r.jsxs)(`defs`,{children:[(0,r.jsxs)(`linearGradient`,{id:`paint0_linear_2157_10222`,x1:`70.4054`,y1:`-1.46421`,x2:`133.186`,y2:`36.0224`,gradientUnits:`userSpaceOnUse`,children:[(0,r.jsx)(`stop`,{stopColor:`#B97304`}),(0,r.jsx)(`stop`,{offset:`0.368995`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`0.5`,stopColor:`#FFD38B`}),(0,r.jsx)(`stop`,{offset:`0.611316`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`1`,stopColor:`#B97304`})]}),(0,r.jsxs)(`linearGradient`,{id:`paint1_linear_2157_10222`,x1:`120`,y1:`19.6667`,x2:`169.459`,y2:`49.5651`,gradientUnits:`userSpaceOnUse`,children:[(0,r.jsx)(`stop`,{stopColor:`#B97304`}),(0,r.jsx)(`stop`,{offset:`0.368995`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`0.5`,stopColor:`#FFD38B`}),(0,r.jsx)(`stop`,{offset:`0.611316`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`1`,stopColor:`#B97304`})]}),(0,r.jsxs)(`linearGradient`,{id:`paint2_linear_2157_10222`,x1:`70`,y1:`19.6667`,x2:`20.5411`,y2:`49.5651`,gradientUnits:`userSpaceOnUse`,children:[(0,r.jsx)(`stop`,{stopColor:`#B97304`}),(0,r.jsx)(`stop`,{offset:`0.368995`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`0.5`,stopColor:`#FFD38B`}),(0,r.jsx)(`stop`,{offset:`0.611316`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`1`,stopColor:`#B97304`})]}),(0,r.jsxs)(`linearGradient`,{id:`paint3_linear_2157_10222`,x1:`156.189`,y1:`43.2373`,x2:`196.548`,y2:`67.3358`,gradientUnits:`userSpaceOnUse`,children:[(0,r.jsx)(`stop`,{stopColor:`#B97304`}),(0,r.jsx)(`stop`,{offset:`0.368995`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`0.5`,stopColor:`#FFD38B`}),(0,r.jsx)(`stop`,{offset:`0.611316`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`1`,stopColor:`#B97304`})]}),(0,r.jsxs)(`linearGradient`,{id:`paint4_linear_2157_10222`,x1:`33.8107`,y1:`43.2373`,x2:`-6.54837`,y2:`67.3358`,gradientUnits:`userSpaceOnUse`,children:[(0,r.jsx)(`stop`,{stopColor:`#B97304`}),(0,r.jsx)(`stop`,{offset:`0.368995`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`0.5`,stopColor:`#FFD38B`}),(0,r.jsx)(`stop`,{offset:`0.611316`,stopColor:`#FFC15D`}),(0,r.jsx)(`stop`,{offset:`1`,stopColor:`#B97304`})]})]})]}),Da=n.styled.div`
|
|
3678
3678
|
width: 250px;
|
|
3679
3679
|
height: 184px;
|
|
3680
3680
|
gap: 4px;
|
|
@@ -3811,7 +3811,7 @@
|
|
|
3811
3811
|
transform: scale(1.3);
|
|
3812
3812
|
}
|
|
3813
3813
|
}
|
|
3814
|
-
`,Ha=({buttonType:e,icon:t,onClick:n,isDisabled:i,size:a=Ra.Big,customColor:o,gameType:s})=>{let
|
|
3814
|
+
`,Ha=({buttonType:e,icon:t,onClick:n,isDisabled:i,size:a=Ra.Big,customColor:o,gameType:s,actionName:c})=>{let l=Ba(a,e);return(0,r.jsx)(Va,{onClick:n,disabled:i,$isDisabled:i,$color:o??La[e],$size:l,$gameType:s,"test-id":`action-${c}`,children:(0,r.jsx)(`div`,{className:`icon`,children:(0,r.jsx)(t,{size:l.iconSize})})})},Ua=({size:e})=>(0,r.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 18 18`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,r.jsx)(`path`,{d:`M9 0.492188C9.29685 0.492227 9.58383 0.600593 9.80566 0.797852C9.99984 0.97052 10.1322 1.20079 10.1855 1.45312L10.2031 1.5625L10.2041 1.57031L10.2051 1.5791L10.2119 1.68652V7.78809H16.2959C16.5928 7.78813 16.8797 7.89747 17.1016 8.09473C17.2955 8.26733 17.4281 8.4969 17.4814 8.74902L17.5 8.8584L17.501 8.86719V8.875L17.5078 8.98242V9C17.5078 9.29685 17.3994 9.58383 17.2021 9.80566C17.0049 10.0275 16.7323 10.1684 16.4375 10.2031L16.4297 10.2041L16.4209 10.2051L16.3135 10.2119H10.2119V16.2959C10.2119 16.5928 10.1025 16.8797 9.90527 17.1016C9.70804 17.3232 9.43625 17.4653 9.1416 17.5L9.13281 17.501H9.125L9.01758 17.5078H9C8.70314 17.5078 8.41617 17.3994 8.19434 17.2021C7.9725 17.0049 7.83161 16.7323 7.79688 16.4375L7.7959 16.4297L7.79492 16.4209L7.78809 16.3135V10.2119H1.7041C1.40724 10.2119 1.12028 10.1025 0.898438 9.90527C0.676821 9.70804 0.534712 9.43625 0.5 9.1416L0.499023 9.13281V9.125L0.492188 9.01758V9C0.492231 8.70315 0.600592 8.41617 0.797852 8.19434C0.995115 7.97251 1.26769 7.83161 1.5625 7.79688L1.57031 7.7959L1.5791 7.79492L1.68652 7.78809H7.78809V1.7041C7.78813 1.40725 7.89747 1.12027 8.09473 0.898438C8.29196 0.676827 8.56375 0.534712 8.8584 0.5L8.86719 0.499023H8.875L8.98242 0.492188H9ZM8.71387 17.1582C8.74633 17.169 8.77893 17.1785 8.8125 17.1855C8.77893 17.1785 8.74634 17.169 8.71387 17.1582ZM9.24316 17.1738C9.24614 17.173 9.24899 17.1717 9.25195 17.1709C9.24899 17.1718 9.24614 17.173 9.24316 17.1738ZM9.30762 17.1504C9.3409 17.1385 9.37367 17.126 9.40527 17.1104C9.37368 17.1261 9.34089 17.1384 9.30762 17.1504ZM8.57129 17.0967C8.59963 17.1119 8.6275 17.1276 8.65723 17.1396C8.62749 17.1276 8.59964 17.1119 8.57129 17.0967ZM9.45801 17.0801C9.48376 17.0651 9.509 17.0497 9.5332 17.0322C9.50901 17.0497 9.48374 17.065 9.45801 17.0801ZM8.50586 17.0615C8.50821 17.063 8.51033 17.0649 8.5127 17.0664C8.51033 17.0649 8.50821 17.063 8.50586 17.0615ZM9.75977 16.7979C9.76405 16.7914 9.76835 16.7849 9.77246 16.7783C9.76834 16.7849 9.76406 16.7914 9.75977 16.7979ZM9.80078 16.7266C9.8164 16.6974 9.8314 16.6683 9.84375 16.6377C9.83137 16.6683 9.81643 16.6975 9.80078 16.7266ZM9.86328 16.5801C9.87363 16.5486 9.88277 16.5169 9.88965 16.4844C9.88275 16.5169 9.87365 16.5486 9.86328 16.5801ZM1.41895 9.86328C1.45045 9.87366 1.48213 9.88273 1.51465 9.88965C1.48213 9.88272 1.45044 9.87368 1.41895 9.86328ZM16.5391 9.87793C16.542 9.87711 16.5449 9.87585 16.5479 9.875C16.5449 9.87585 16.542 9.87711 16.5391 9.87793ZM16.6035 9.85449C16.6368 9.84255 16.6696 9.83012 16.7012 9.81445C16.6696 9.83017 16.6368 9.84252 16.6035 9.85449ZM1.26855 9.79785C1.29898 9.81442 1.32928 9.83076 1.36133 9.84375C1.3293 9.83074 1.29896 9.81445 1.26855 9.79785ZM16.7539 9.78418C16.7797 9.76918 16.8049 9.75382 16.8291 9.73633C16.8049 9.75384 16.7796 9.76915 16.7539 9.78418ZM1.19531 9.75586C1.20372 9.76151 1.21212 9.7671 1.2207 9.77246C1.21213 9.7671 1.20372 9.76152 1.19531 9.75586ZM17.0967 9.42773C17.1119 9.39937 17.1276 9.37155 17.1396 9.3418C17.1276 9.37156 17.1118 9.39936 17.0967 9.42773ZM17.1582 9.28516C17.169 9.25267 17.1785 9.22011 17.1855 9.18652C17.1785 9.22011 17.169 9.25266 17.1582 9.28516ZM0.805664 8.8457C0.804441 8.85283 0.803789 8.86003 0.802734 8.86719C0.80379 8.86003 0.804439 8.85283 0.805664 8.8457ZM0.845703 8.69434C0.83573 8.72236 0.829466 8.75136 0.822266 8.78027C0.829474 8.75137 0.835721 8.72235 0.845703 8.69434ZM17.1504 8.69141C17.1384 8.65816 17.126 8.62532 17.1104 8.59375C17.1261 8.62531 17.1384 8.65816 17.1504 8.69141ZM0.910156 8.55371C0.895194 8.58033 0.882308 8.60782 0.870117 8.63574C0.882315 8.60783 0.895189 8.58033 0.910156 8.55371ZM17.0801 8.54102C17.0651 8.51529 17.0497 8.49 17.0322 8.46582C17.0498 8.48998 17.065 8.51531 17.0801 8.54102ZM16.8369 8.26562H16.8379H16.8369ZM9.87109 1.43457C9.87931 1.46115 9.88582 1.48826 9.8916 1.51562C9.88588 1.48859 9.8792 1.46183 9.87109 1.43555V1.43457Z`,fill:`white`})}),Wa=({size:e=20})=>(0,r.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 15 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,r.jsx)(`path`,{d:`M4.7641 2.93193C4.7641 2.69006 4.66802 2.45808 4.49698 2.28705C4.32595 2.11602 4.09398 2.01993 3.8521 2.01993C3.61022 2.01993 3.37825 2.11602 3.20722 2.28705C3.03619 2.45808 2.9401 2.69006 2.9401 2.93193V9.08611C2.9401 9.20705 2.89206 9.32303 2.80654 9.40855C2.72103 9.49407 2.60504 9.54211 2.4841 9.54211C2.36316 9.54211 2.24718 9.49407 2.16166 9.40855C2.07614 9.32303 2.0281 9.20705 2.0281 9.08611V4.52611C2.0281 4.28423 1.93202 4.05226 1.76098 3.88123C1.58995 3.71019 1.35798 3.61411 1.1161 3.61411C0.874224 3.61411 0.642254 3.71019 0.47122 3.88123C0.300187 4.05226 0.204102 4.28423 0.204102 4.52611V12.5116C0.204102 14.4997 1.26932 16.6247 1.94967 17.7911C2.45674 18.6612 3.39063 19.1218 4.34185 19.1218H6.31906C6.86957 19.1217 7.4092 18.9684 7.87746 18.6789C8.34573 18.3895 8.72413 17.9753 8.97025 17.4829L9.09154 17.2394C9.47458 16.4715 9.95338 15.7547 10.5161 15.1062L12.5334 12.7788L14.5325 11.2238C14.6147 11.1598 14.6811 11.0779 14.7268 10.9844C14.7724 10.8908 14.7962 10.7881 14.7961 10.6839C14.7961 10.2416 14.559 9.91329 14.2562 9.71721C13.9862 9.54393 13.6634 9.46915 13.3789 9.43449C12.7988 9.36609 12.0929 9.43632 11.4737 9.5567C11.0399 9.64509 10.6224 9.80014 10.2361 10.0163V2.93193C10.2361 2.69006 10.14 2.45808 9.96898 2.28705C9.79795 2.11602 9.56598 2.01993 9.3241 2.01993C9.08222 2.01993 8.85025 2.11602 8.67922 2.28705C8.50819 2.45808 8.4121 2.69006 8.4121 2.93193V8.63193C8.4121 8.75287 8.36406 8.86886 8.27854 8.95437C8.19303 9.03989 8.07704 9.08793 7.9561 9.08793C7.83516 9.08793 7.71918 9.03989 7.63366 8.95437C7.54814 8.86886 7.5001 8.75287 7.5001 8.63193V1.7892C7.5001 1.54732 7.40402 1.31535 7.23298 1.14432C7.06195 0.973283 6.82998 0.877197 6.5881 0.877197C6.34622 0.877197 6.11425 0.973283 5.94322 1.14432C5.77219 1.31535 5.6761 1.54732 5.6761 1.7892V8.63193C5.6761 8.75287 5.62806 8.86886 5.54254 8.95437C5.45703 9.03989 5.34104 9.08793 5.2201 9.08793C5.09916 9.08793 4.98318 9.03989 4.89766 8.95437C4.81214 8.86886 4.7641 8.75287 4.7641 8.63193V2.93193Z`,fill:`white`})}),Ga=()=>(0,r.jsx)(`svg`,{width:`26`,height:`4`,viewBox:`0 0 26 4`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,r.jsx)(`path`,{d:`M11.632 0.632041L23.944 0.632019C24.2791 0.632063 24.6025 0.755079 24.8528 0.977734C25.1032 1.20039 25.2632 1.5072 25.3024 1.83996L25.312 2.00002C25.3119 2.33509 25.1889 2.65849 24.9663 2.90888C24.7436 3.15927 24.4368 3.31924 24.104 3.35844L23.944 3.36802H11.632H2.05599C1.72092 3.36797 1.39752 3.24496 1.14713 3.0223C0.896736 2.79965 0.736767 2.49284 0.697564 2.16008L0.687988 2.00002C0.688032 1.66495 0.811048 1.34155 1.0337 1.09116C1.25636 0.840766 1.56316 0.680798 1.89593 0.641595L2.05599 0.632019L11.632 0.632041Z`,fill:`white`})}),Ka=[{betType:K.Double,name:`Double`,icon:At},{betType:K.Hit,name:`Hit`,icon:Ua},{betType:K.Stand,name:`Stand`,icon:Wa},{betType:K.Split,name:`Split`,icon:Dt}],qa=[[{betType:K.Double,name:`Double`,icon:At},{betType:K.Hit,name:`Hit`,icon:Ua},{betType:K.Stand,name:`Stand`,icon:Wa},{betType:K.Split,name:`Split`,icon:Dt},{betType:K.Surrender,name:`Surrender`,icon:Ia}],Ka],Ja=[{betType:Pe.Call,name:`Call`,icon:At},{betType:Pe.Fold,name:`Fold`,icon:Ga}],Ya=n.styled.div`
|
|
3815
3815
|
display: flex;
|
|
3816
3816
|
flex-direction: column;
|
|
3817
3817
|
position: relative;
|
|
@@ -3930,7 +3930,7 @@
|
|
|
3930
3930
|
transform: scale(1.3);
|
|
3931
3931
|
}
|
|
3932
3932
|
}
|
|
3933
|
-
`,$a=({time:e,actionsHandler:n,size:a,isMobile:o,bettingTimeId:s,gameType:c})=>{let[l,u]=(0,i.useState)(null),d=a===Ra.Big,{t:f}=(0,t.useTranslation)();return(0,r.jsxs)(Ya,{children:[d&&!o&&(0,r.jsx)(Xa,{$isBig:d,$isMobile:o,children:(0,r.jsx)(ia,{time:e,timerType:q.WaitingForUserAction})},s),(0,r.jsxs)(Za,{$isBig:d,$isMobile:o,children:[c===T.TEXAS?(0,r.jsx)(`div`,{className:`aciton`,children:Ja.map((e,t)=>{let{isDisabled:i,onHandle:o}=n[e.betType];return(0,r.jsxs)(`div`,{className:`button ${!!l&&(l===e.betType?`animated-active`:`animated-unactive`)}`,children:[(0,r.jsx)(Ha,{buttonType:e.betType,icon:e.icon,onClick:()=>{u(e.betType),o()},isDisabled:i||!!l,size:a,gameType:c}),d&&(0,r.jsx)(`p`,{className:`name`,children:f(e.name)})]},t)})}):(0,r.jsx)(`div`,{className:`aciton`,children:qa[a].map((e,t)=>{let{isDisabled:i,onHandle:o}=n[e.betType];return(0,r.jsxs)(`div`,{className:`button ${!!l&&(l===e.betType?`animated-active`:`animated-unactive`)}`,children:[(0,r.jsx)(Ha,{buttonType:e.betType,icon:e.icon,onClick:()=>{o(),u(e.betType)},isDisabled:i||!!l,size:a}),d&&(0,r.jsx)(`p`,{className:`name`,children:f(e.name)})]},t)})}),c!==T.TEXAS&&(0,r.jsx)(`div`,{className:`last-boton`,children:d&&(0,r.jsxs)(Qa,{className:`${!!l&&(l===K.Surrender?`animated-active`:`animated-unactive`)}`,onClick:()=>{n[K.Surrender].onHandle(),u(K.Surrender)},$surrender:!0,$isDisabled:n[K.Surrender].isDisabled,disabled:n[K.Surrender].isDisabled,children:[(0,r.jsx)(`div`,{className:`icon`,children:(0,r.jsx)(Ia,{size:a===Ra.Big?20:12})}),(0,r.jsx)(`p`,{className:`name`,children:f(`Surrender`)})]})})]})]})},eo=n.styled.div`
|
|
3933
|
+
`,$a=({time:e,actionsHandler:n,size:a,isMobile:o,bettingTimeId:s,gameType:c})=>{let[l,u]=(0,i.useState)(null),d=a===Ra.Big,{t:f}=(0,t.useTranslation)();return(0,r.jsxs)(Ya,{children:[d&&!o&&(0,r.jsx)(Xa,{$isBig:d,$isMobile:o,children:(0,r.jsx)(ia,{time:e,timerType:q.WaitingForUserAction})},s),(0,r.jsxs)(Za,{$isBig:d,$isMobile:o,children:[c===T.TEXAS?(0,r.jsx)(`div`,{className:`aciton`,children:Ja.map((e,t)=>{let{isDisabled:i,onHandle:o}=n[e.betType];return(0,r.jsxs)(`div`,{className:`button ${!!l&&(l===e.betType?`animated-active`:`animated-unactive`)}`,children:[(0,r.jsx)(Ha,{buttonType:e.betType,icon:e.icon,onClick:()=>{u(e.betType),o()},isDisabled:i||!!l,size:a,gameType:c,actionName:e.name}),d&&(0,r.jsx)(`p`,{className:`name`,children:f(e.name)})]},t)})}):(0,r.jsx)(`div`,{className:`aciton`,children:qa[a].map((e,t)=>{let{isDisabled:i,onHandle:o}=n[e.betType];return(0,r.jsxs)(`div`,{className:`button ${!!l&&(l===e.betType?`animated-active`:`animated-unactive`)}`,children:[(0,r.jsx)(Ha,{buttonType:e.betType,icon:e.icon,onClick:()=>{o(),u(e.betType)},isDisabled:i||!!l,size:a,actionName:e.name}),d&&(0,r.jsx)(`p`,{className:`name`,children:f(e.name)})]},t)})}),c!==T.TEXAS&&(0,r.jsx)(`div`,{className:`last-boton`,children:d&&(0,r.jsxs)(Qa,{className:`${!!l&&(l===K.Surrender?`animated-active`:`animated-unactive`)}`,onClick:()=>{n[K.Surrender].onHandle(),u(K.Surrender)},$surrender:!0,$isDisabled:n[K.Surrender].isDisabled,disabled:n[K.Surrender].isDisabled,"test-id":`action-Surrender`,children:[(0,r.jsx)(`div`,{className:`icon`,children:(0,r.jsx)(Ia,{size:a===Ra.Big?20:12})}),(0,r.jsx)(`p`,{className:`name`,children:f(`Surrender`)})]})})]})]})},eo=n.styled.div`
|
|
3934
3934
|
width: 135px;
|
|
3935
3935
|
height: 69px;
|
|
3936
3936
|
position: absolute;
|
|
@@ -4165,7 +4165,7 @@
|
|
|
4165
4165
|
color: #ffffff;
|
|
4166
4166
|
}
|
|
4167
4167
|
}
|
|
4168
|
-
`,Co=({time:e,isMobile:t,actionsHandler:n})=>(0,r.jsxs)(So,{children:[!t&&(0,r.jsx)(ia,{time:e,timerType:q.WaitingInsurance}),(0,r.jsx)(`div`,{className:`aciton`,children:xo.map((e,t)=>{let{isDisabled:i,onHandle:o}=n[e.betType];return(0,r.jsxs)(`div`,{className:`button`,children:[(0,r.jsx)(Ha,{icon:e.icon,onClick:o,isDisabled:i,customColor:e.color,size:Ra.Bigest}),(0,r.jsx)(`p`,{className:`name`,children:(0,a.t)(e.name)})]},t)})})]}),wo=n.styled.div`
|
|
4168
|
+
`,Co=({time:e,isMobile:t,actionsHandler:n})=>(0,r.jsxs)(So,{children:[!t&&(0,r.jsx)(ia,{time:e,timerType:q.WaitingInsurance}),(0,r.jsx)(`div`,{className:`aciton`,children:xo.map((e,t)=>{let{isDisabled:i,onHandle:o}=n[e.betType];return(0,r.jsxs)(`div`,{className:`button`,children:[(0,r.jsx)(Ha,{icon:e.icon,onClick:o,isDisabled:i,customColor:e.color,size:Ra.Bigest,actionName:e.name}),(0,r.jsx)(`p`,{className:`name`,children:(0,a.t)(e.name)})]},t)})})]}),wo=n.styled.div`
|
|
4169
4169
|
position: absolute;
|
|
4170
4170
|
right: 12px;
|
|
4171
4171
|
top: 200px;
|