@everymatrix/player-account-controller 1.43.4 → 1.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/components/GeneralLogout-PMsAgsr8.js +4832 -0
  2. package/components/GeneralLogout-WbaN9lE3.cjs +8 -0
  3. package/components/PlayerAccountBettingHistory-C5O_N5I6.js +328 -0
  4. package/components/PlayerAccountBettingHistory-CvFzGDm4.cjs +1 -0
  5. package/components/PlayerAccountBiometrics--Rc4hXU1.cjs +1 -0
  6. package/components/PlayerAccountBiometrics-BIZ77T9P.js +300 -0
  7. package/components/PlayerAccountClosure-DIRkc6kA.cjs +1 -0
  8. package/components/PlayerAccountClosure-O9rY7FHF.js +339 -0
  9. package/components/PlayerAccountController-1M1FKlrd.cjs +1 -0
  10. package/components/PlayerAccountController-DRQpN2gW.js +6176 -0
  11. package/components/PlayerAccountGamingLimits-BnH1h5ZI.js +758 -0
  12. package/components/PlayerAccountGamingLimits-Dtw0RzGI.cjs +1 -0
  13. package/components/PlayerAccountGamingLimitsConfirmationModal-CHBpCAi7.js +306 -0
  14. package/components/PlayerAccountGamingLimitsConfirmationModal-Cvsvauqa.cjs +1 -0
  15. package/components/PlayerAccountGamingLimitsGroupEdit-QO4BtCS2.js +4148 -0
  16. package/components/PlayerAccountGamingLimitsGroupEdit-tfKhIo7R.cjs +10 -0
  17. package/components/PlayerAccountGamingLimitsHistory2-CJxOlPZu.js +734 -0
  18. package/components/PlayerAccountGamingLimitsHistory2-_p2IXses.cjs +1 -0
  19. package/components/PlayerAccountGamingLimitsInfoCard--AbjEx7s.cjs +1 -0
  20. package/components/PlayerAccountGamingLimitsInfoCard-GwIjd7fB.js +1488 -0
  21. package/components/PlayerAccountGamingLimitsPage2Gm16-DcGsK_Nq.js +2794 -0
  22. package/components/PlayerAccountGamingLimitsPage2Gm16-Dymt7LmL.cjs +21 -0
  23. package/components/PlayerAccountGamingLimitsPopup-DO2f_4IF.js +337 -0
  24. package/components/PlayerAccountGamingLimitsPopup-DVEuryoE.cjs +1 -0
  25. package/components/PlayerAccountGamingLimitsWrapper2-BZ-Ax67a.cjs +1 -0
  26. package/components/PlayerAccountGamingLimitsWrapper2-CQClFTjE.js +844 -0
  27. package/components/PlayerAccountMenu-1kpYtr6Q.cjs +1 -0
  28. package/components/PlayerAccountMenu-C9YFW_X4.js +576 -0
  29. package/components/PlayerAccountModal-BPuDqVwe.js +198 -0
  30. package/components/PlayerAccountModal-DpMfe1gv.cjs +1 -0
  31. package/components/PlayerAccountNotifications-DfLcLCTk.js +261 -0
  32. package/components/PlayerAccountNotifications-Dwb_RDr0.cjs +1 -0
  33. package/components/PlayerAccountSelfExclusion-BR4bl6bz.js +16404 -0
  34. package/components/PlayerAccountSelfExclusion-CA2oAuhb.cjs +3693 -0
  35. package/components/PlayerAccountTimeout-Df9mSPXx.js +448 -0
  36. package/components/PlayerAccountTimeout-dxzuaoP9.cjs +1 -0
  37. package/components/PlayerActiveBonuses-BJtk2_80.js +986 -0
  38. package/components/PlayerActiveBonuses-D0-qI8iz.cjs +1 -0
  39. package/components/PlayerBonusCard-BoENnXsd.cjs +1 -0
  40. package/components/PlayerBonusCard-D4MZsrSK.js +565 -0
  41. package/components/PlayerBonusHistory-3B1tPB8g.cjs +1 -0
  42. package/components/PlayerBonusHistory-CDA_Ahs-.js +840 -0
  43. package/components/PlayerChangePassword-C69CRrvS.js +1161 -0
  44. package/components/PlayerChangePassword-RpQIhFff.cjs +3 -0
  45. package/components/PlayerDeposit-BK_UhkqG.js +395 -0
  46. package/components/PlayerDeposit-COhpfcRx.cjs +1 -0
  47. package/components/PlayerGamingHistory-C8Kvaq7b.cjs +1 -0
  48. package/components/PlayerGamingHistory-CCSGdevP.js +920 -0
  49. package/components/PlayerPendingWithdrawals-CVBvRj42.cjs +1 -0
  50. package/components/PlayerPendingWithdrawals-DIp1o6Bq.js +307 -0
  51. package/components/PlayerProfileInfo-BeD6hzPW.cjs +1 -0
  52. package/components/PlayerProfileInfo-CkcYNGGP.js +1707 -0
  53. package/components/PlayerRealityCheck-B37H9_Rn.cjs +1 -0
  54. package/components/PlayerRealityCheck-UaRdeADU.js +587 -0
  55. package/components/PlayerTransactionHistory-CxYO3lnm.cjs +1 -0
  56. package/components/PlayerTransactionHistory-Da2H2goa.js +311 -0
  57. package/components/PlayerWithdrawal-DK_JxD9z.js +365 -0
  58. package/components/PlayerWithdrawal-DYkzBPcQ.cjs +1 -0
  59. package/es2015/player-account-controller.cjs +1 -0
  60. package/es2015/player-account-controller.js +16 -0
  61. package/package.json +38 -32
  62. package/CHANGELOG.md +0 -19
  63. package/README.md +0 -0
  64. package/assets/arrow-down.svg +0 -3
  65. package/dist/player-account-controller.js +0 -2221
  66. package/dist/player-account-controller.js.map +0 -1
  67. package/documentation.md +0 -166
  68. package/index.html +0 -46
  69. package/index.js +0 -1
  70. package/public/favicon.png +0 -0
  71. package/public/reset.css +0 -48
  72. package/rollup.config.js +0 -67
  73. package/src/PlayerAccountController.svelte +0 -732
  74. package/src/PlayerAccountController.types.ts +0 -5
  75. package/src/i18n.js +0 -27
  76. package/src/index.ts +0 -4
  77. package/src/translations.js +0 -102
  78. package/stories/PlayerAccountPage.stories.js +0 -13
  79. package/tsconfig.json +0 -6
@@ -0,0 +1,920 @@
1
+ var Be = Object.defineProperty;
2
+ var ke = Object.getOwnPropertySymbols;
3
+ var Ne = Object.prototype.hasOwnProperty, Se = Object.prototype.propertyIsEnumerable;
4
+ var Ee = (a, e, t) => e in a ? Be(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, De = (a, e) => {
5
+ for (var t in e || (e = {}))
6
+ Ne.call(e, t) && Ee(a, t, e[t]);
7
+ if (ke)
8
+ for (var t of ke(e))
9
+ Se.call(e, t) && Ee(a, t, e[t]);
10
+ return a;
11
+ };
12
+ import { a as Ye, $ as Oe, S as Ve, i as Ue, f as fe, c as qe, s as Qe, b as Ze, e as n, d as F, t as M, g as s, j as te, k as ae, l, m as he, n as z, o as He, p as le, q as Xe, u as Je, v as Ke, w as se, M as Fe, R as $e, T as Me, N as Le, r as ze, Q as et, x as Ge, O as tt, y as at } from "./GeneralLogout-PMsAgsr8.js";
13
+ import { h as ye } from "./PlayerAccountGamingLimitsGroupEdit-QO4BtCS2.js";
14
+ import "./PlayerAccountGamingLimits-BnH1h5ZI.js";
15
+ import "./PlayerAccountSelfExclusion-BR4bl6bz.js";
16
+ function Ce(a, e) {
17
+ Ye(a, e);
18
+ }
19
+ function lt(a) {
20
+ Oe.set(a);
21
+ }
22
+ const xe = {
23
+ en: {
24
+ titleGamingHistory: "Gaming History",
25
+ return: "Return",
26
+ previous: "Prev",
27
+ next: "Next",
28
+ dateFrom: "From:",
29
+ dateTo: "To:",
30
+ dateFilter: "Filter",
31
+ numberOfResults: "Show:",
32
+ noRecord: "You haven't played any games so far.",
33
+ transactionId: "Transaction ID",
34
+ date: "Date",
35
+ gameName: "Game Name",
36
+ stake: "Stake"
37
+ },
38
+ "zh-hk": {
39
+ titleGamingHistory: "遊戲歷史",
40
+ return: "回來",
41
+ previous: "上一頁",
42
+ next: "下一個",
43
+ dateFrom: "從:",
44
+ dateTo: "至:",
45
+ dateFilter: "篩選",
46
+ numberOfResults: "節目:",
47
+ noRecord: "到目前為止,您還沒有玩任何遊戲。",
48
+ transactionId: "交易編號",
49
+ date: "日期",
50
+ gameName: "遊戲名稱",
51
+ stake: "賭注"
52
+ },
53
+ fr: {
54
+ titleGamingHistory: "Historique des jeux",
55
+ return: "Revenir",
56
+ previous: "Précedent",
57
+ next: "Suivant",
58
+ dateFrom: "De:",
59
+ dateTo: "A:",
60
+ dateFilter: "Filtre",
61
+ numberOfResults: "Afficher:",
62
+ noRecord: "Vous n'avez joué à aucun jeu jusqu'à présent.",
63
+ transactionId: "Transaction ID",
64
+ date: "Date",
65
+ gameName: "Nom du jeu",
66
+ stake: "Mise"
67
+ },
68
+ ro: {
69
+ titleGamingHistory: "Istoric jocuri",
70
+ return: "Înapoi la meniu",
71
+ previous: "Înapoi",
72
+ next: "Înainte",
73
+ dateFrom: "De la",
74
+ dateTo: "La",
75
+ dateFilter: "Filtru",
76
+ numberOfResults: "Arată",
77
+ noRecord: "Nu ai niciun istoric de jocuri în acest moment."
78
+ },
79
+ es: {
80
+ titleGamingHistory: "Historial de apuestas",
81
+ return: "Regresar",
82
+ previous: "Previo",
83
+ next: "Siguiente",
84
+ dateFrom: "Desde:",
85
+ dateTo: "A:",
86
+ dateFilter: "Filtro",
87
+ numberOfResults: "Mostrar:",
88
+ noRecord: "Aún no ha jugado ningún juego",
89
+ transactionId: "ID de Transacción",
90
+ date: "Fecha",
91
+ gameName: "Nombre del juego",
92
+ stake: "Apostado"
93
+ },
94
+ pt: {
95
+ titleGamingHistory: "Histórico de jogos",
96
+ return: "Voltar ao menu",
97
+ previous: "Anterior",
98
+ next: "Próximo",
99
+ dateFrom: "A partir de:",
100
+ dateTo: "Para:",
101
+ dateFilter: "Filtro:",
102
+ numberOfResults: "Mostrar:",
103
+ noRecord: "Você não jogou nenhum jogo até agora."
104
+ },
105
+ hr: {
106
+ titleGamingHistory: "Povijest igranja",
107
+ return: "Povratak",
108
+ previous: "Prethodno",
109
+ next: "Slijedeće",
110
+ dateFrom: "Od:",
111
+ dateTo: "Do:",
112
+ dateFilter: "Filter",
113
+ numberOfResults: "Prikaži:",
114
+ noRecord: "Do sada niste igrali nijednu igru.",
115
+ transactionId: "ID transakcije",
116
+ date: "Datum",
117
+ gameName: "Naziv igre",
118
+ stake: "Ulog"
119
+ },
120
+ "pt-br": {
121
+ titleGamingHistory: "História do jogo",
122
+ return: "Volte",
123
+ previous: "Anterior",
124
+ next: "Seguindo",
125
+ dateFrom: "De:",
126
+ dateTo: "PARA:",
127
+ dateFilter: "Filtro",
128
+ numberOfResults: "Mostrar:",
129
+ noRecord: "Ele não jogou até agora.",
130
+ transactionId: "ID da transação",
131
+ date: "Data",
132
+ gameName: "Nome do jogo",
133
+ stake: "Valor da aposta"
134
+ },
135
+ "es-mx": {
136
+ titleGamingHistory: "Historial de juego",
137
+ return: "Regresar",
138
+ previous: "Prev",
139
+ next: "Siguiente",
140
+ dateFrom: "De:",
141
+ dateTo: "A:",
142
+ dateFilter: "Filtro",
143
+ numberOfResults: "Mostrar:",
144
+ noRecord: "No ha jugado hasta el momento.",
145
+ transactionId: "ID de transacción",
146
+ date: "Fecha",
147
+ gameName: "Nombre de Juego",
148
+ stake: "Monto de apuesta"
149
+ },
150
+ tr: {
151
+ titleGamingHistory: "Oyun Tarihi",
152
+ return: "Geri dönmek",
153
+ previous: "Önceki",
154
+ next: "Sonraki",
155
+ dateFrom: "İtibaren:",
156
+ dateTo: "İle:",
157
+ dateFilter: "Filtre",
158
+ numberOfResults: "Göstermek:",
159
+ noRecord: "Şu ana kadar hiçbir oyun oynamadınız.",
160
+ transactionId: "İşlem Kimliği",
161
+ date: "Tarih",
162
+ gameName: "Oyun Adı",
163
+ stake: "Bahis"
164
+ }
165
+ };
166
+ function st(a) {
167
+ Ze(a, "svelte-11s6if8", `.PlayerGamingHistoryWrapper.svelte-11s6if8.svelte-11s6if8{background-color:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;max-width:760px}.PlayerGamingHistoryWrapper.svelte-11s6if8 .PlayerGamingHistoryTitle.svelte-11s6if8{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerGamingDateContainer.svelte-11s6if8.svelte-11s6if8{display:inline-flex;gap:20px}.PlayerGamingHistoryFilterWrapper.svelte-11s6if8.svelte-11s6if8,.PlayerGamingDateWrapper.svelte-11s6if8.svelte-11s6if8{display:inline-flex;align-items:center;gap:10px}.PlayerGamingHistoryFilterWrapper.svelte-11s6if8.svelte-11s6if8{margin-bottom:20px;gap:20px;width:100%}.PlayerGamingItemCountContainer.svelte-11s6if8.svelte-11s6if8{margin-left:auto}.PlayerGamingHistoryTitle.svelte-11s6if8.svelte-11s6if8{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryTitleMobile.svelte-11s6if8.svelte-11s6if8{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryTitleNone.svelte-11s6if8.svelte-11s6if8{display:none}.MenuReturnButton.svelte-11s6if8.svelte-11s6if8{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton.svelte-11s6if8 svg.svelte-11s6if8{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryEmpty.svelte-11s6if8.svelte-11s6if8{color:var(--emw--color-typography-cotrast, #444444)}.PlayerGamingHistoryContainer.svelte-11s6if8.svelte-11s6if8{width:100%;row-gap:30px;color:var(--emw--color-typography-cotrast, #444444);background:var(--emw--color-white, #FFFFFF);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-large, 20px);padding:10px 0}.PlayerGamingHistoryContainer.svelte-11s6if8 table.svelte-11s6if8{border:0}.PlayerGamingHistoryContainer.svelte-11s6if8 table tr.svelte-11s6if8{border:0;background:var(--emw--color-white, #FFFFFF)}.PlayerGamingHistoryContainer.svelte-11s6if8 table tr.svelte-11s6if8:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer.svelte-11s6if8 thead tr.svelte-11s6if8{border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer.svelte-11s6if8 thead th.svelte-11s6if8{font-size:var(--emw--);font-weight:400}.PlayerGamingHistoryItemCount.svelte-11s6if8.svelte-11s6if8{padding:8px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6);-webkit-appearance:none;-moz-appearance:none;appearance:none;width:60px;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center;cursor:pointer}.PlayerGamingHistoryItemCount.svelte-11s6if8.svelte-11s6if8:focus,.PlayerGamingHistoryItemCount.svelte-11s6if8 .svelte-11s6if8:focus-within,.PlayerGamingHistoryItemCount.svelte-11s6if8 .svelte-11s6if8:focus-visible,.PlayerGamingHistoryItemCount.svelte-11s6if8 .svelte-11s6if8:visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));outline:none}.PlayerPaginationControls.svelte-11s6if8.svelte-11s6if8{background:transparent;border:none;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;gap:8px;cursor:pointer}.PlayerPaginationControls.PlayerPaginationControlsDisabled.svelte-11s6if8.svelte-11s6if8{color:var(--emw--color-gray-100, #E6E6E6)}.PlayerPaginationControlsArea.svelte-11s6if8.svelte-11s6if8{margin-top:30px;display:flex;justify-content:center}.PlayerGamingHistoryFilterWrapper.svelte-11s6if8 span.svelte-11s6if8{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-light, 300);font-size:var(--emw--font-size-small, 14px)}.PlayerGamingHistoryFilterButton.svelte-11s6if8.svelte-11s6if8{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 50px);width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;padding:10px;cursor:pointer}.PlayerGamingHistoryWrapperMobile.svelte-11s6if8 .PlayerGamingHistoryFilterWrapper.svelte-11s6if8{align-items:flex-start;gap:10px;flex-direction:column}.PlayerGamingHistoryWrapperMobile.svelte-11s6if8 .PlayerGamingHistoryFilterWrapper .PlayerGamingDateContainer.svelte-11s6if8{gap:0;flex-direction:row;width:100%;justify-content:space-between}.PlayerGamingHistoryWrapperMobile.svelte-11s6if8 .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper.svelte-11s6if8{display:block;gap:0;align-items:end;width:48%}.PlayerGamingHistoryWrapperMobile.svelte-11s6if8 .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper span.svelte-11s6if8{display:block;margin-bottom:5px}.PlayerGamingHistoryWrapperMobile.svelte-11s6if8 .PlayerGamingHistoryFilterWrapper .PlayerGamingHistoryFilterButton.svelte-11s6if8{width:100%}.PlayerGamingHistoryWrapperMobile.svelte-11s6if8 .PlayerGamingHistoryTitle.svelte-11s6if8{font-size:var(--emw--size-standard, 16px);font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryWrapperMobile.svelte-11s6if8 .PlayerPaginationControlsArea.svelte-11s6if8{justify-content:center;gap:30px}.PlayerGamingHistoryWrapperMobile.svelte-11s6if8 .PlayerPaginationControlsArea .PlayerPaginationControls.svelte-11s6if8{align-items:center}.PlayerGamingHistoryWrapperMobile.svelte-11s6if8 .PlayerPaginationControlsArea .PlayerPaginationControlsText.svelte-11s6if8{font-size:var(--emw--size-standard, 16px)}.PlayerGamingHistoryWrapperMobile.svelte-11s6if8 .VaadinDatePicker.svelte-11s6if8{width:100%}table.svelte-11s6if8.svelte-11s6if8{border:1px solid var(--emw--color-gray-100, #E6E6E6);border-collapse:collapse;margin:0;padding:0;width:100%;table-layout:fixed}table.svelte-11s6if8 tr.svelte-11s6if8{border:1px solid var(--emw--color-gray-100, #E6E6E6)}table.svelte-11s6if8 th.svelte-11s6if8,table.svelte-11s6if8 td.svelte-11s6if8{padding:10px;text-align:center}table.svelte-11s6if8 th.svelte-11s6if8:first-child,table.svelte-11s6if8 td.svelte-11s6if8:first-child{padding-left:20px}table.svelte-11s6if8 th:first-child span.svelte-11s6if8,table.svelte-11s6if8 td:first-child span.svelte-11s6if8{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table.svelte-11s6if8 th.svelte-11s6if8:last-child,table.svelte-11s6if8 td.svelte-11s6if8:last-child{padding-right:20px}table.svelte-11s6if8 th.svelte-11s6if8{font-size:0.85em;letter-spacing:0.1em;text-align:left}table.svelte-11s6if8 tr td.svelte-11s6if8{font-size:12px;font-weight:300;text-align:left}@media screen and (max-width: 1024px){.PlayerGamingHistoryWrapper.svelte-11s6if8.svelte-11s6if8{padding:20px}.PlayerGamingHistoryContainer.svelte-11s6if8.svelte-11s6if8{box-shadow:none;padding:0}table.svelte-11s6if8.svelte-11s6if8{border:0}tbody.svelte-11s6if8.svelte-11s6if8{background:var(--emw--color-gray-50, #F9F8F8)}table.svelte-11s6if8 thead.svelte-11s6if8{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}table.svelte-11s6if8 tr.svelte-11s6if8{border-bottom:3px solid var(--emw--color-gray-100, #E6E6E6);display:block;border-radius:var(--emw--border-radius-small, 5px);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);padding:10px}table.svelte-11s6if8 tr.svelte-11s6if8:not(:last-child){margin-bottom:0.625em}table.svelte-11s6if8 tr th.svelte-11s6if8,table.svelte-11s6if8 tr td.svelte-11s6if8{border:0;border-radius:var(--emw--border-radius-small, 5px)}table.svelte-11s6if8 tr th.svelte-11s6if8:nth-child(even),table.svelte-11s6if8 tr td.svelte-11s6if8:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}table.svelte-11s6if8 th.svelte-11s6if8:first-child,table.svelte-11s6if8 td.svelte-11s6if8:first-child{padding-left:10px}table.svelte-11s6if8 th.svelte-11s6if8:last-child,table.svelte-11s6if8 td.svelte-11s6if8:last-child{padding-right:10px}table.svelte-11s6if8 td.svelte-11s6if8{border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6);display:block;font-size:0.8em;text-align:right;display:flex}table.svelte-11s6if8 th:first-child span.svelte-11s6if8,table.svelte-11s6if8 td:first-child span.svelte-11s6if8{width:50%;text-align:right}table.svelte-11s6if8 td.svelte-11s6if8::before{content:attr(data-label);float:left;font-weight:bold;text-transform:uppercase;flex:1}table.svelte-11s6if8 td.svelte-11s6if8:last-child{border-bottom:0}}.DataLoader.svelte-11s6if8.svelte-11s6if8{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.DataLoader.svelte-11s6if8.svelte-11s6if8:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:svelte-11s6if8-Loader 1.2s linear infinite}@keyframes svelte-11s6if8-Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
168
+ }
169
+ function Te(a, e, t) {
170
+ const f = a.slice();
171
+ return f[55] = e[t], f;
172
+ }
173
+ function Ie(a, e, t) {
174
+ const f = a.slice();
175
+ return f[58] = e[t], f;
176
+ }
177
+ function rt(a) {
178
+ let e, t, f, i, v, c, _, H, p, d, o = (
179
+ /*$_*/
180
+ a[14]("titleGamingHistory") + ""
181
+ ), h, m, C;
182
+ return {
183
+ c() {
184
+ e = n("div"), t = se("svg"), f = se("defs"), i = se("style"), v = M(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), c = se("g"), _ = se("g"), H = se("path"), p = F(), d = n("h2"), h = M(o), s(H, "class", "aaa"), s(H, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(H, "transform", "translate(15 15) rotate(180)"), s(_, "transform", "translate(20 158)"), s(c, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(t, "class", "svelte-11s6if8"), s(d, "class", "PlayerGamingHistoryTitleMobile svelte-11s6if8"), s(d, "part", "PlayerGamingHistoryTitleMobile"), s(e, "class", "MenuReturnButton svelte-11s6if8"), s(e, "part", "MenuReturnButton");
185
+ },
186
+ m(k, P) {
187
+ ae(k, e, P), l(e, t), l(t, f), l(f, i), l(i, v), l(t, c), l(c, _), l(_, H), l(e, p), l(e, d), l(d, h), m || (C = he(
188
+ e,
189
+ "click",
190
+ /*click_handler*/
191
+ a[29]
192
+ ), m = !0);
193
+ },
194
+ p(k, P) {
195
+ P[0] & /*$_*/
196
+ 16384 && o !== (o = /*$_*/
197
+ k[14]("titleGamingHistory") + "") && z(h, o);
198
+ },
199
+ d(k) {
200
+ k && le(e), m = !1, C();
201
+ }
202
+ };
203
+ }
204
+ function Re(a) {
205
+ let e, t, f = (
206
+ /*$_*/
207
+ a[14]("numberOfResults") + ""
208
+ ), i, v, c, _, H, p = Fe(
209
+ /*gameHistoryItems*/
210
+ a[15]
211
+ ), d = [];
212
+ for (let o = 0; o < p.length; o += 1)
213
+ d[o] = Ae(Ie(a, p, o));
214
+ return {
215
+ c() {
216
+ e = n("div"), t = n("span"), i = M(f), v = F(), c = n("select");
217
+ for (let o = 0; o < d.length; o += 1)
218
+ d[o].c();
219
+ s(t, "class", "svelte-11s6if8"), s(c, "class", "PlayerGamingHistoryItemCount svelte-11s6if8"), /*gameHistoryLimit*/
220
+ a[7] === void 0 && $e(() => (
221
+ /*select_change_handler*/
222
+ a[33].call(c)
223
+ )), s(e, "class", "PlayerGamingItemCountContainer svelte-11s6if8");
224
+ },
225
+ m(o, h) {
226
+ ae(o, e, h), l(e, t), l(t, i), l(e, v), l(e, c);
227
+ for (let m = 0; m < d.length; m += 1)
228
+ d[m] && d[m].m(c, null);
229
+ Me(
230
+ c,
231
+ /*gameHistoryLimit*/
232
+ a[7],
233
+ !0
234
+ ), _ || (H = [
235
+ he(
236
+ c,
237
+ "change",
238
+ /*select_change_handler*/
239
+ a[33]
240
+ ),
241
+ he(
242
+ c,
243
+ "change",
244
+ /*change_handler*/
245
+ a[34]
246
+ )
247
+ ], _ = !0);
248
+ },
249
+ p(o, h) {
250
+ if (h[0] & /*$_*/
251
+ 16384 && f !== (f = /*$_*/
252
+ o[14]("numberOfResults") + "") && z(i, f), h[0] & /*gameHistoryItems*/
253
+ 32768) {
254
+ p = Fe(
255
+ /*gameHistoryItems*/
256
+ o[15]
257
+ );
258
+ let m;
259
+ for (m = 0; m < p.length; m += 1) {
260
+ const C = Ie(o, p, m);
261
+ d[m] ? d[m].p(C, h) : (d[m] = Ae(C), d[m].c(), d[m].m(c, null));
262
+ }
263
+ for (; m < d.length; m += 1)
264
+ d[m].d(1);
265
+ d.length = p.length;
266
+ }
267
+ h[0] & /*gameHistoryLimit, gameHistoryItems*/
268
+ 32896 && Me(
269
+ c,
270
+ /*gameHistoryLimit*/
271
+ o[7]
272
+ );
273
+ },
274
+ d(o) {
275
+ o && le(e), Le(d, o), _ = !1, ze(H);
276
+ }
277
+ };
278
+ }
279
+ function Ae(a) {
280
+ let e, t = (
281
+ /*item*/
282
+ a[58] + ""
283
+ ), f;
284
+ return {
285
+ c() {
286
+ e = n("option"), f = M(t), e.__value = /*item*/
287
+ a[58], et(e, e.__value), s(e, "class", "svelte-11s6if8");
288
+ },
289
+ m(i, v) {
290
+ ae(i, e, v), l(e, f);
291
+ },
292
+ p: He,
293
+ d(i) {
294
+ i && le(e);
295
+ }
296
+ };
297
+ }
298
+ function it(a) {
299
+ let e, t = (
300
+ /*$_*/
301
+ a[14]("noRecord") + ""
302
+ ), f;
303
+ return {
304
+ c() {
305
+ e = n("p"), f = M(t), s(e, "class", "PlayerGamingHistoryEmpty svelte-11s6if8");
306
+ },
307
+ m(i, v) {
308
+ ae(i, e, v), l(e, f);
309
+ },
310
+ p(i, v) {
311
+ v[0] & /*$_*/
312
+ 16384 && t !== (t = /*$_*/
313
+ i[14]("noRecord") + "") && z(f, t);
314
+ },
315
+ d(i) {
316
+ i && le(e);
317
+ }
318
+ };
319
+ }
320
+ function nt(a) {
321
+ let e, t, f;
322
+ return {
323
+ c() {
324
+ e = n("p"), t = M("Invalid data: "), f = M(
325
+ /*invalidDataInput*/
326
+ a[8]
327
+ ), s(e, "class", "PlayerGamingHistoryEmpty svelte-11s6if8");
328
+ },
329
+ m(i, v) {
330
+ ae(i, e, v), l(e, t), l(e, f);
331
+ },
332
+ p(i, v) {
333
+ v[0] & /*invalidDataInput*/
334
+ 256 && z(
335
+ f,
336
+ /*invalidDataInput*/
337
+ i[8]
338
+ );
339
+ },
340
+ d(i) {
341
+ i && le(e);
342
+ }
343
+ };
344
+ }
345
+ function ot(a) {
346
+ let e, t, f, i, v, c = (
347
+ /*$_*/
348
+ a[14]("transactionId") + ""
349
+ ), _, H, p, d = (
350
+ /*$_*/
351
+ a[14]("date") + ""
352
+ ), o, h, m, C = (
353
+ /*$_*/
354
+ a[14]("gameName") + ""
355
+ ), k, P, q, Y = (
356
+ /*$_*/
357
+ a[14]("stake") + ""
358
+ ), B, Z, E, J = (
359
+ /*$_*/
360
+ a[14]("return") + ""
361
+ ), T, Q, D, N, I, R, O, V, X, A, G, $ = (
362
+ /*$_*/
363
+ a[14]("previous") + ""
364
+ ), b, y, g, w, ee, ne, de = (
365
+ /*$_*/
366
+ a[14]("next") + ""
367
+ ), pe, we, re, ie, ve, ce, ge, be, _e, oe = Fe(
368
+ /*gamingHistoryData*/
369
+ a[13]
370
+ ), U = [];
371
+ for (let u = 0; u < oe.length; u += 1)
372
+ U[u] = je(Te(a, oe, u));
373
+ return {
374
+ c() {
375
+ e = n("div"), t = n("table"), f = n("thead"), i = n("tr"), v = n("th"), _ = M(c), H = F(), p = n("th"), o = M(d), h = F(), m = n("th"), k = M(C), P = F(), q = n("th"), B = M(Y), Z = F(), E = n("th"), T = M(J), Q = F(), D = n("tbody");
376
+ for (let u = 0; u < U.length; u += 1)
377
+ U[u].c();
378
+ N = F(), I = n("div"), R = n("button"), O = se("svg"), V = se("path"), A = F(), G = n("span"), b = M($), w = F(), ee = n("button"), ne = n("span"), pe = M(de), we = F(), re = se("svg"), ie = se("path"), s(v, "class", "svelte-11s6if8"), s(p, "class", "svelte-11s6if8"), s(m, "class", "svelte-11s6if8"), s(q, "class", "svelte-11s6if8"), s(E, "class", "svelte-11s6if8"), s(i, "class", "svelte-11s6if8"), s(f, "class", "svelte-11s6if8"), s(D, "class", "svelte-11s6if8"), s(t, "class", "svelte-11s6if8"), s(e, "class", "PlayerGamingHistoryContainer svelte-11s6if8"), s(V, "fill", X = /*previousPage*/
379
+ a[5] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)"), s(V, "class", "a"), s(V, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), s(V, "transform", "translate(19.246 -6.188) rotate(90)"), s(O, "xmlns", "http://www.w3.org/2000/svg"), s(O, "width", "8"), s(O, "height", "13.992"), s(O, "viewBox", "0 0 8 13.992"), s(G, "class", "PlayerPaginationControlsText svelte-11s6if8"), s(R, "class", y = "PlayerPaginationControls " + (/*previousPage*/
380
+ a[5] ? "" : "PlayerPaginationControlsDisabled") + " svelte-11s6if8"), R.disabled = g = /*previousPage*/
381
+ !a[5], s(ne, "class", "PlayerPaginationControlsText svelte-11s6if8"), s(ie, "fill", ve = /*nextPage*/
382
+ a[4] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)"), s(ie, "class", "a"), s(ie, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), s(ie, "transform", "translate(-11.246 20.179) rotate(-90)"), s(re, "xmlns", "http://www.w3.org/2000/svg"), s(re, "width", "8"), s(re, "height", "13.992"), s(re, "viewBox", "0 0 8 13.992"), s(ee, "class", ce = "PlayerPaginationControls " + (/*nextPage*/
383
+ a[4] ? "" : "PlayerPaginationControlsDisabled") + " svelte-11s6if8"), ee.disabled = ge = /*nextPage*/
384
+ !a[4], s(I, "class", "PlayerPaginationControlsArea svelte-11s6if8");
385
+ },
386
+ m(u, j) {
387
+ ae(u, e, j), l(e, t), l(t, f), l(f, i), l(i, v), l(v, _), l(i, H), l(i, p), l(p, o), l(i, h), l(i, m), l(m, k), l(i, P), l(i, q), l(q, B), l(i, Z), l(i, E), l(E, T), l(t, Q), l(t, D);
388
+ for (let S = 0; S < U.length; S += 1)
389
+ U[S] && U[S].m(D, null);
390
+ ae(u, N, j), ae(u, I, j), l(I, R), l(R, O), l(O, V), l(R, A), l(R, G), l(G, b), l(I, w), l(I, ee), l(ee, ne), l(ne, pe), l(ee, we), l(ee, re), l(re, ie), be || (_e = [
391
+ he(
392
+ R,
393
+ "click",
394
+ /*click_handler_2*/
395
+ a[35]
396
+ ),
397
+ he(
398
+ ee,
399
+ "click",
400
+ /*click_handler_3*/
401
+ a[36]
402
+ )
403
+ ], be = !0);
404
+ },
405
+ p(u, j) {
406
+ if (j[0] & /*$_*/
407
+ 16384 && c !== (c = /*$_*/
408
+ u[14]("transactionId") + "") && z(_, c), j[0] & /*$_*/
409
+ 16384 && d !== (d = /*$_*/
410
+ u[14]("date") + "") && z(o, d), j[0] & /*$_*/
411
+ 16384 && C !== (C = /*$_*/
412
+ u[14]("gameName") + "") && z(k, C), j[0] & /*$_*/
413
+ 16384 && Y !== (Y = /*$_*/
414
+ u[14]("stake") + "") && z(B, Y), j[0] & /*$_*/
415
+ 16384 && J !== (J = /*$_*/
416
+ u[14]("return") + "") && z(T, J), j[0] & /*$_, gamingHistoryData, formatDate*/
417
+ 1073152) {
418
+ oe = Fe(
419
+ /*gamingHistoryData*/
420
+ u[13]
421
+ );
422
+ let S;
423
+ for (S = 0; S < oe.length; S += 1) {
424
+ const Pe = Te(u, oe, S);
425
+ U[S] ? U[S].p(Pe, j) : (U[S] = je(Pe), U[S].c(), U[S].m(D, null));
426
+ }
427
+ for (; S < U.length; S += 1)
428
+ U[S].d(1);
429
+ U.length = oe.length;
430
+ }
431
+ j[0] & /*previousPage*/
432
+ 32 && X !== (X = /*previousPage*/
433
+ u[5] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)") && s(V, "fill", X), j[0] & /*$_*/
434
+ 16384 && $ !== ($ = /*$_*/
435
+ u[14]("previous") + "") && z(b, $), j[0] & /*previousPage*/
436
+ 32 && y !== (y = "PlayerPaginationControls " + (/*previousPage*/
437
+ u[5] ? "" : "PlayerPaginationControlsDisabled") + " svelte-11s6if8") && s(R, "class", y), j[0] & /*previousPage*/
438
+ 32 && g !== (g = /*previousPage*/
439
+ !u[5]) && (R.disabled = g), j[0] & /*$_*/
440
+ 16384 && de !== (de = /*$_*/
441
+ u[14]("next") + "") && z(pe, de), j[0] & /*nextPage*/
442
+ 16 && ve !== (ve = /*nextPage*/
443
+ u[4] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)") && s(ie, "fill", ve), j[0] & /*nextPage*/
444
+ 16 && ce !== (ce = "PlayerPaginationControls " + (/*nextPage*/
445
+ u[4] ? "" : "PlayerPaginationControlsDisabled") + " svelte-11s6if8") && s(ee, "class", ce), j[0] & /*nextPage*/
446
+ 16 && ge !== (ge = /*nextPage*/
447
+ !u[4]) && (ee.disabled = ge);
448
+ },
449
+ d(u) {
450
+ u && (le(e), le(N), le(I)), Le(U, u), be = !1, ze(_e);
451
+ }
452
+ };
453
+ }
454
+ function ft(a) {
455
+ let e;
456
+ return {
457
+ c() {
458
+ e = n("div"), s(e, "class", "DataLoader svelte-11s6if8");
459
+ },
460
+ m(t, f) {
461
+ ae(t, e, f);
462
+ },
463
+ p: He,
464
+ d(t) {
465
+ t && le(e);
466
+ }
467
+ };
468
+ }
469
+ function je(a) {
470
+ var G, $;
471
+ let e, t, f, i = (
472
+ /*gamingHistoryDataset*/
473
+ a[55].roundId + ""
474
+ ), v, c, _, H, p, d, o = (
475
+ /*formatDate*/
476
+ a[20](
477
+ /*gamingHistoryDataset*/
478
+ a[55]
479
+ ) + ""
480
+ ), h, m, C, k, P, q = (
481
+ /*gamingHistoryDataset*/
482
+ (($ = (G = a[55].gameModel) == null ? void 0 : G.name) != null ? $ : "-") + ""
483
+ ), Y, B, Z, E, J, T = (
484
+ /*gamingHistoryDataset*/
485
+ a[55].stakeAmount + ""
486
+ ), Q, D, N, I, R, O = (
487
+ /*gamingHistoryDataset*/
488
+ a[55].returnAmount + ""
489
+ ), V, X, A;
490
+ return {
491
+ c() {
492
+ e = n("tr"), t = n("td"), f = n("span"), v = M(i), H = F(), p = n("td"), d = n("span"), h = M(o), C = F(), k = n("td"), P = n("span"), Y = M(q), Z = F(), E = n("td"), J = n("span"), Q = M(T), N = F(), I = n("td"), R = n("span"), V = M(O), A = F(), s(f, "class", "svelte-11s6if8"), s(t, "data-label", c = /*$_*/
493
+ a[14]("transactionId")), s(t, "title", _ = /*gamingHistoryDataset*/
494
+ a[55].roundId), s(t, "class", "svelte-11s6if8"), s(d, "class", "svelte-11s6if8"), s(p, "data-label", m = /*$_*/
495
+ a[14]("date")), s(p, "class", "svelte-11s6if8"), s(P, "class", "svelte-11s6if8"), s(k, "data-label", B = /*$_*/
496
+ a[14]("gameName")), s(k, "class", "svelte-11s6if8"), s(J, "class", "svelte-11s6if8"), s(E, "data-label", D = /*$_*/
497
+ a[14]("stake")), s(E, "class", "svelte-11s6if8"), s(R, "class", "svelte-11s6if8"), s(I, "data-label", X = /*$_*/
498
+ a[14]("return")), s(I, "class", "svelte-11s6if8"), s(e, "class", "svelte-11s6if8");
499
+ },
500
+ m(b, y) {
501
+ ae(b, e, y), l(e, t), l(t, f), l(f, v), l(e, H), l(e, p), l(p, d), l(d, h), l(e, C), l(e, k), l(k, P), l(P, Y), l(e, Z), l(e, E), l(E, J), l(J, Q), l(e, N), l(e, I), l(I, R), l(R, V), l(e, A);
502
+ },
503
+ p(b, y) {
504
+ var g, w;
505
+ y[0] & /*gamingHistoryData*/
506
+ 8192 && i !== (i = /*gamingHistoryDataset*/
507
+ b[55].roundId + "") && z(v, i), y[0] & /*$_*/
508
+ 16384 && c !== (c = /*$_*/
509
+ b[14]("transactionId")) && s(t, "data-label", c), y[0] & /*gamingHistoryData*/
510
+ 8192 && _ !== (_ = /*gamingHistoryDataset*/
511
+ b[55].roundId) && s(t, "title", _), y[0] & /*gamingHistoryData*/
512
+ 8192 && o !== (o = /*formatDate*/
513
+ b[20](
514
+ /*gamingHistoryDataset*/
515
+ b[55]
516
+ ) + "") && z(h, o), y[0] & /*$_*/
517
+ 16384 && m !== (m = /*$_*/
518
+ b[14]("date")) && s(p, "data-label", m), y[0] & /*gamingHistoryData*/
519
+ 8192 && q !== (q = /*gamingHistoryDataset*/
520
+ ((w = (g = b[55].gameModel) == null ? void 0 : g.name) != null ? w : "-") + "") && z(Y, q), y[0] & /*$_*/
521
+ 16384 && B !== (B = /*$_*/
522
+ b[14]("gameName")) && s(k, "data-label", B), y[0] & /*gamingHistoryData*/
523
+ 8192 && T !== (T = /*gamingHistoryDataset*/
524
+ b[55].stakeAmount + "") && z(Q, T), y[0] & /*$_*/
525
+ 16384 && D !== (D = /*$_*/
526
+ b[14]("stake")) && s(E, "data-label", D), y[0] & /*gamingHistoryData*/
527
+ 8192 && O !== (O = /*gamingHistoryDataset*/
528
+ b[55].returnAmount + "") && z(V, O), y[0] & /*$_*/
529
+ 16384 && X !== (X = /*$_*/
530
+ b[14]("return")) && s(I, "data-label", X);
531
+ },
532
+ d(b) {
533
+ b && le(e);
534
+ }
535
+ };
536
+ }
537
+ function dt(a) {
538
+ let e, t, f, i, v = (
539
+ /*$_*/
540
+ a[14]("titleGamingHistory") + ""
541
+ ), c, _, H, p, d, o, h, m = (
542
+ /*$_*/
543
+ a[14]("dateFrom") + ""
544
+ ), C, k, P, q, Y, B, Z = (
545
+ /*$_*/
546
+ a[14]("dateTo") + ""
547
+ ), E, J, T, Q, D, N = (
548
+ /*$_*/
549
+ a[14]("dateFilter") + ""
550
+ ), I, R, O, V, X, A = (
551
+ /*isMobile*/
552
+ a[16] && rt(a)
553
+ ), G = !/*mediaQueryMedim*/
554
+ a[12].matches && Re(a);
555
+ function $(g, w) {
556
+ return (
557
+ /*isLoading*/
558
+ g[9] ? ft : (
559
+ /*gamingHistoryData*/
560
+ g[13].length > 0 ? ot : (
561
+ /*invalidDataInput*/
562
+ g[8].length > 0 ? nt : it
563
+ )
564
+ )
565
+ );
566
+ }
567
+ let b = $(a), y = b(a);
568
+ return {
569
+ c() {
570
+ e = n("div"), t = n("div"), A && A.c(), f = F(), i = n("h2"), c = M(v), _ = F(), H = n("div"), p = n("div"), d = n("div"), o = n("div"), h = n("span"), C = M(m), k = F(), P = n("vaadin-date-picker"), q = F(), Y = n("div"), B = n("span"), E = M(Z), J = F(), T = n("vaadin-date-picker"), Q = F(), D = n("button"), I = M(N), R = F(), G && G.c(), O = F(), y.c(), s(i, "class", "PlayerGamingHistoryTitle " + /*isMobile*/
571
+ (a[16] ? "PlayerGamingHistoryTitleNone" : "") + " svelte-11s6if8"), s(h, "class", "svelte-11s6if8"), te(
572
+ P,
573
+ "max",
574
+ /*maxDate*/
575
+ a[10]
576
+ ), te(P, "placeholder", "From"), te(
577
+ P,
578
+ "value",
579
+ /*yesterday*/
580
+ a[11]
581
+ ), te(P, "class", "VaadinDatePicker svelte-11s6if8"), s(o, "class", "PlayerGamingDateWrapper svelte-11s6if8"), s(B, "class", "svelte-11s6if8"), te(
582
+ T,
583
+ "max",
584
+ /*maxDate*/
585
+ a[10]
586
+ ), te(T, "placeholder", "To"), te(
587
+ T,
588
+ "value",
589
+ /*maxDate*/
590
+ a[10]
591
+ ), te(T, "class", "VaadinDatePicker svelte-11s6if8"), s(Y, "class", "PlayerGamingDateWrapper svelte-11s6if8"), s(d, "class", "PlayerGamingDateContainer svelte-11s6if8"), s(D, "class", "PlayerGamingHistoryFilterButton svelte-11s6if8"), s(p, "class", "PlayerGamingHistoryFilterWrapper svelte-11s6if8"), s(H, "class", "PlayerGamingHistoryTopSection"), s(t, "class", "PlayerGamingHistoryWrapper " + /*isMobile*/
592
+ (a[16] ? "PlayerGamingHistoryWrapperMobile" : "") + " " + /*mediaQuery*/
593
+ (a[17].matches && /*isMobile*/
594
+ a[16] ? "PlayerTabletGamingHistoryWrapper" : "") + " svelte-11s6if8");
595
+ },
596
+ m(g, w) {
597
+ ae(g, e, w), l(e, t), A && A.m(t, null), l(t, f), l(t, i), l(i, c), l(t, _), l(t, H), l(H, p), l(p, d), l(d, o), l(o, h), l(h, C), l(o, k), l(o, P), a[30](P), l(d, q), l(d, Y), l(Y, B), l(B, E), l(Y, J), l(Y, T), a[31](T), l(p, Q), l(p, D), l(D, I), l(p, R), G && G.m(p, null), l(t, O), y.m(t, null), a[37](t), a[38](e), V || (X = he(
598
+ D,
599
+ "click",
600
+ /*click_handler_1*/
601
+ a[32]
602
+ ), V = !0);
603
+ },
604
+ p(g, w) {
605
+ /*isMobile*/
606
+ g[16] && A.p(g, w), w[0] & /*$_*/
607
+ 16384 && v !== (v = /*$_*/
608
+ g[14]("titleGamingHistory") + "") && z(c, v), w[0] & /*$_*/
609
+ 16384 && m !== (m = /*$_*/
610
+ g[14]("dateFrom") + "") && z(C, m), w[0] & /*maxDate*/
611
+ 1024 && te(
612
+ P,
613
+ "max",
614
+ /*maxDate*/
615
+ g[10]
616
+ ), w[0] & /*yesterday*/
617
+ 2048 && te(
618
+ P,
619
+ "value",
620
+ /*yesterday*/
621
+ g[11]
622
+ ), w[0] & /*$_*/
623
+ 16384 && Z !== (Z = /*$_*/
624
+ g[14]("dateTo") + "") && z(E, Z), w[0] & /*maxDate*/
625
+ 1024 && te(
626
+ T,
627
+ "max",
628
+ /*maxDate*/
629
+ g[10]
630
+ ), w[0] & /*maxDate*/
631
+ 1024 && te(
632
+ T,
633
+ "value",
634
+ /*maxDate*/
635
+ g[10]
636
+ ), w[0] & /*$_*/
637
+ 16384 && N !== (N = /*$_*/
638
+ g[14]("dateFilter") + "") && z(I, N), /*mediaQueryMedim*/
639
+ g[12].matches ? G && (G.d(1), G = null) : G ? G.p(g, w) : (G = Re(g), G.c(), G.m(p, null)), b === (b = $(g)) && y ? y.p(g, w) : (y.d(1), y = b(g), y && (y.c(), y.m(t, null)));
640
+ },
641
+ i: He,
642
+ o: He,
643
+ d(g) {
644
+ g && le(e), A && A.d(), a[30](null), a[31](null), G && G.d(), y.d(), a[37](null), a[38](null), V = !1, X();
645
+ }
646
+ };
647
+ }
648
+ let We = "0";
649
+ function mt(a, e, t) {
650
+ let f;
651
+ Xe(a, at, (r) => t(14, f = r));
652
+ let { endpoint: i = "" } = e, { playerid: v = "" } = e, { session: c = "" } = e, { lang: _ = "en" } = e, { clientstyling: H = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: d = "" } = e, { gmversion: o = "" } = e, h = "", m = "", C = "", k, P = ye().format("YYYY-MM-DD"), q = ye().format("YYYY-MM-DD"), Y = ["5", "10", "25", "50"], B = "5", Z = "", E = !1, J = window.navigator.userAgent, T = Je(J) !== "PC", Q, D, N, I, R;
653
+ I = ye(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"), R = ye(/* @__PURE__ */ new Date()).subtract(1, "days").format("YYYY-MM-DD");
654
+ const O = () => {
655
+ fetch(d).then((W) => W.json()).then((W) => {
656
+ Object.keys(W).forEach((L) => {
657
+ Ce(L, W[L]);
658
+ });
659
+ }).catch((W) => {
660
+ console.log(W);
661
+ });
662
+ };
663
+ Object.keys(xe).forEach((r) => {
664
+ Ce(r, xe[r]);
665
+ });
666
+ let V = window.matchMedia("(min-width: 768px)"), X = window.matchMedia("(max-width: 1280px)"), A = [];
667
+ const G = () => {
668
+ window.postMessage(
669
+ {
670
+ type: "PlayerAccountMenuActive",
671
+ isMobile: T
672
+ },
673
+ window.location.href
674
+ );
675
+ }, $ = () => {
676
+ t(12, X = window.matchMedia("(max-width: 1280px)"));
677
+ }, b = (r) => {
678
+ let W = /* @__PURE__ */ new Map();
679
+ return r.forEach((L) => {
680
+ let K = L.transType === "1" ? "stakeAmount" : "returnAmount", ue = W.get(L.roundId);
681
+ if (ue)
682
+ ue[K] = L.totalAmount;
683
+ else {
684
+ let x = De({}, L);
685
+ x[K] = L.totalAmount, W.set(L.roundId, x);
686
+ }
687
+ }), r = Array.from(W.values()), r;
688
+ }, y = (r, W, L) => {
689
+ let K = new URL(r);
690
+ t(13, A = []);
691
+ let ue = {
692
+ method: "GET",
693
+ headers: { "X-SessionID": c }
694
+ };
695
+ W || (K.searchParams.append("offset", String(+We * 2)), K.searchParams.append("limit", String(+B * 2))), L && (K.searchParams.append("startDate", P), K.searchParams.append("endDate", q)), t(9, E = !0), fetch(K.href, ue).then((x) => x.json()).then(
696
+ (x) => {
697
+ if (!x.error)
698
+ t(13, A = x.transactions), t(13, A = b(A)), t(4, m = x.pagination.next), t(5, C = x.pagination.previous);
699
+ else {
700
+ let me = x.error.split(":");
701
+ t(8, Z = me[1].substring(0, me[1].lastIndexOf(" ")) + " " + me[2]);
702
+ }
703
+ t(9, E = !1);
704
+ },
705
+ (x) => {
706
+ t(9, E = !1), console.error(x);
707
+ }
708
+ );
709
+ }, g = (r, W, L) => {
710
+ let K = new URL(r);
711
+ t(13, A = []), t(8, Z = "");
712
+ let ue = {
713
+ method: "GET",
714
+ headers: { "X-SessionID": c }
715
+ };
716
+ W || (K.searchParams.append("offset", We), K.searchParams.append("limit", B)), L && (K.searchParams.append("startDate", P), K.searchParams.append("endDate", q)), t(9, E = !0), fetch(K.href, ue).then((x) => x.json()).then(
717
+ (x) => {
718
+ if (!x.error)
719
+ t(13, A = x.transactions), t(4, m = x.pagination.next), t(5, C = x.pagination.previous);
720
+ else {
721
+ let me = x.error.split(":");
722
+ t(8, Z = me[1].substring(0, me[1].lastIndexOf(" ")) + " " + me[2]);
723
+ }
724
+ t(9, E = !1);
725
+ },
726
+ (x) => {
727
+ t(9, E = !1), console.error(x);
728
+ }
729
+ );
730
+ }, w = (r, W, L) => {
731
+ switch (o) {
732
+ case "gm16":
733
+ y(r, W, L);
734
+ break;
735
+ default:
736
+ g(r, W, L);
737
+ break;
738
+ }
739
+ window.postMessage({ type: "ScrollToTop" }, window.location.href);
740
+ }, ee = () => {
741
+ lt(_), t(3, h = o === "gm16" ? `${i}/v1/player/${v}/transactions/wagering?type=Casino` : `${i}/v1/player/${v}/bets`), w(h, !1, !0);
742
+ }, ne = (r) => {
743
+ if (r.data)
744
+ switch (r.data.type) {
745
+ }
746
+ }, de = (r) => {
747
+ P = r.target.value;
748
+ }, pe = (r) => {
749
+ q = r.target.value;
750
+ }, we = () => {
751
+ Q.addEventListener("change", de, !1), D.addEventListener("change", pe, !1);
752
+ }, re = () => {
753
+ let r = document.createElement("style");
754
+ r.innerHTML = H, N.appendChild(r);
755
+ }, ie = () => {
756
+ let r = new URL(p), W = document.createElement("style");
757
+ fetch(r.href).then((L) => L.text()).then((L) => {
758
+ W.innerHTML = L, setTimeout(
759
+ () => {
760
+ N.appendChild(W);
761
+ },
762
+ 1
763
+ );
764
+ });
765
+ }, ve = (r) => o === "gm16" ? ye(r.ins).format("D/M/YYYY - h:mm A") : ye(r.roundStartDate).format("D/M/YYYY - h:mm A");
766
+ Ke(() => (window.addEventListener("message", ne, !1), window.addEventListener("resize", $, !1), () => {
767
+ Q.removeEventListener("change", de), D.removeEventListener("change", pe), window.removeEventListener("message", ne), window.removeEventListener("resize", ne);
768
+ }));
769
+ const ce = () => G();
770
+ function ge(r) {
771
+ Ge[r ? "unshift" : "push"](() => {
772
+ Q = r, t(0, Q);
773
+ });
774
+ }
775
+ function be(r) {
776
+ Ge[r ? "unshift" : "push"](() => {
777
+ D = r, t(1, D);
778
+ });
779
+ }
780
+ const _e = () => w(h, !1, !0);
781
+ function oe() {
782
+ B = tt(this), t(7, B), t(15, Y);
783
+ }
784
+ const U = () => w(h, !1, !0), u = () => w(C, !0, !1), j = () => w(m, !0, !1);
785
+ function S(r) {
786
+ Ge[r ? "unshift" : "push"](() => {
787
+ k = r, t(6, k);
788
+ });
789
+ }
790
+ function Pe(r) {
791
+ Ge[r ? "unshift" : "push"](() => {
792
+ N = r, t(2, N);
793
+ });
794
+ }
795
+ return a.$$set = (r) => {
796
+ "endpoint" in r && t(21, i = r.endpoint), "playerid" in r && t(22, v = r.playerid), "session" in r && t(23, c = r.session), "lang" in r && t(24, _ = r.lang), "clientstyling" in r && t(25, H = r.clientstyling), "clientstylingurl" in r && t(26, p = r.clientstylingurl), "translationurl" in r && t(27, d = r.translationurl), "gmversion" in r && t(28, o = r.gmversion);
797
+ }, a.$$.update = () => {
798
+ a.$$.dirty[0] & /*startCalendar, endCalendar*/
799
+ 3 && Q && D && we(), a.$$.dirty[0] & /*session, playerid, endpoint, lang*/
800
+ 31457280 && c && v && i && _ && ee(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
801
+ 67108868 && p && N && ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
802
+ 33554436 && H && N && re(), a.$$.dirty[0] & /*translationurl*/
803
+ 134217728 && d && O();
804
+ }, [
805
+ Q,
806
+ D,
807
+ N,
808
+ h,
809
+ m,
810
+ C,
811
+ k,
812
+ B,
813
+ Z,
814
+ E,
815
+ I,
816
+ R,
817
+ X,
818
+ A,
819
+ f,
820
+ Y,
821
+ T,
822
+ V,
823
+ G,
824
+ w,
825
+ ve,
826
+ i,
827
+ v,
828
+ c,
829
+ _,
830
+ H,
831
+ p,
832
+ d,
833
+ o,
834
+ ce,
835
+ ge,
836
+ be,
837
+ _e,
838
+ oe,
839
+ U,
840
+ u,
841
+ j,
842
+ S,
843
+ Pe
844
+ ];
845
+ }
846
+ class pt extends Ve {
847
+ constructor(e) {
848
+ super(), Ue(
849
+ this,
850
+ e,
851
+ mt,
852
+ dt,
853
+ Qe,
854
+ {
855
+ endpoint: 21,
856
+ playerid: 22,
857
+ session: 23,
858
+ lang: 24,
859
+ clientstyling: 25,
860
+ clientstylingurl: 26,
861
+ translationurl: 27,
862
+ gmversion: 28
863
+ },
864
+ st,
865
+ [-1, -1]
866
+ );
867
+ }
868
+ get endpoint() {
869
+ return this.$$.ctx[21];
870
+ }
871
+ set endpoint(e) {
872
+ this.$$set({ endpoint: e }), fe();
873
+ }
874
+ get playerid() {
875
+ return this.$$.ctx[22];
876
+ }
877
+ set playerid(e) {
878
+ this.$$set({ playerid: e }), fe();
879
+ }
880
+ get session() {
881
+ return this.$$.ctx[23];
882
+ }
883
+ set session(e) {
884
+ this.$$set({ session: e }), fe();
885
+ }
886
+ get lang() {
887
+ return this.$$.ctx[24];
888
+ }
889
+ set lang(e) {
890
+ this.$$set({ lang: e }), fe();
891
+ }
892
+ get clientstyling() {
893
+ return this.$$.ctx[25];
894
+ }
895
+ set clientstyling(e) {
896
+ this.$$set({ clientstyling: e }), fe();
897
+ }
898
+ get clientstylingurl() {
899
+ return this.$$.ctx[26];
900
+ }
901
+ set clientstylingurl(e) {
902
+ this.$$set({ clientstylingurl: e }), fe();
903
+ }
904
+ get translationurl() {
905
+ return this.$$.ctx[27];
906
+ }
907
+ set translationurl(e) {
908
+ this.$$set({ translationurl: e }), fe();
909
+ }
910
+ get gmversion() {
911
+ return this.$$.ctx[28];
912
+ }
913
+ set gmversion(e) {
914
+ this.$$set({ gmversion: e }), fe();
915
+ }
916
+ }
917
+ qe(pt, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {} }, [], [], !0);
918
+ export {
919
+ pt as default
920
+ };