@everymatrix/player-account-controller-nd 1.55.0 → 1.56.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 (191) hide show
  1. package/components/GeneralLogout-9pZTJKCj.cjs +8 -0
  2. package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-CqNn1bEG.js} +1081 -1088
  3. package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-qtT2UsMu.js} +1076 -1083
  4. package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-CgKp1Tsa.js +329 -0
  6. package/components/{PlayerAccountBettingHistory-C9n4Lfo3.js → PlayerAccountBettingHistory-DGdU5x1X.js} +130 -134
  7. package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-BynUcDER.js} +125 -126
  9. package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-hfEg8HK3.js} +125 -126
  10. package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-BNAxe4kI.js} +127 -128
  11. package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BzygnnRL.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-C56v4kQH.js} +127 -128
  13. package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-0Azz2muh.js} +1575 -1049
  14. package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-CU0CZtN2.js} +1509 -983
  15. package/components/PlayerAccountControllerNd-DiMI0zck.cjs +1 -0
  16. package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-BUBbpeFt.js} +301 -250
  17. package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
  18. package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-cGyCwFe3.js} +301 -250
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js} +127 -131
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js} +127 -131
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js} +1073 -1077
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js} +1073 -1077
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js} +208 -216
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js} +213 -221
  28. package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js} +639 -588
  29. package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js} +639 -588
  30. package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs +21 -0
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js} +1043 -1019
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js} +845 -821
  34. package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-BgdXe6lp.js} +116 -120
  35. package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-BhqEVpIP.js} +116 -120
  36. package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
  37. package/components/PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs +1 -0
  38. package/components/PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js +1016 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js +1022 -0
  40. package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-BUSAMIdf.js} +141 -142
  41. package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-BXQQtxIE.js} +141 -142
  42. package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
  43. package/components/PlayerAccountMenuNd-BGd35WSX.js +695 -0
  44. package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +1 -0
  45. package/components/PlayerAccountMenuNd-Dw-owOIv.js +694 -0
  46. package/components/PlayerAccountModal-C7aE-f75.js +209 -0
  47. package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
  48. package/components/PlayerAccountModal-DcQTZlVT.js +209 -0
  49. package/components/PlayerAccountNotifications-0ecn9JH_.js +369 -0
  50. package/components/PlayerAccountNotifications-CmSue8JR.cjs +1 -0
  51. package/components/PlayerAccountNotifications-lv1He1RO.js +368 -0
  52. package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-CsBAGhjI.js} +10893 -11100
  53. package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-DRQwA-0O.js} +10812 -11065
  54. package/components/PlayerAccountSelfExclusionNd-TZyj4_3a.cjs +3557 -0
  55. package/components/PlayerAccountTimeout-BDvJp_Zk.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-C0WAFaPW.js} +498 -367
  57. package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-CixN4uD5.js} +498 -367
  58. package/components/PlayerActiveBonuses-BAx9d0pm.js +1055 -0
  59. package/components/PlayerActiveBonuses-CbJliQvN.js +1056 -0
  60. package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
  61. package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
  62. package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-BiVG3k7R.js} +166 -168
  63. package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-DnyVL-Cb.js} +166 -168
  64. package/components/PlayerBonusHistory-CaiqLQk_.js +938 -0
  65. package/components/PlayerBonusHistory-DA8a2ZnE.js +937 -0
  66. package/components/PlayerBonusHistory-rLGeO078.cjs +1 -0
  67. package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
  68. package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-DsR4BO-Y.js} +383 -387
  69. package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-dEL-0H2u.js} +383 -387
  70. package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
  71. package/components/PlayerDeposit-D_Ujmr4j.js +391 -0
  72. package/components/PlayerDeposit-IS6_f845.js +391 -0
  73. package/components/PlayerGamingHistory-BRstQCWo.cjs +1 -0
  74. package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-BYRzcRjb.js} +348 -352
  75. package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-GGgBAhXX.js} +373 -377
  76. package/components/PlayerPendingWithdrawals-CaoLTPFk.js +310 -0
  77. package/components/PlayerPendingWithdrawals-M9Wq9w2M.js +310 -0
  78. package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
  79. package/components/PlayerProfileInfo-B4pkapUi.js +1821 -0
  80. package/components/PlayerProfileInfo-Cr6m7e2V.js +1804 -0
  81. package/components/PlayerProfileInfo-Mqg0xIQD.cjs +1 -0
  82. package/components/PlayerRealityCheck-B9LHSWRj.js +652 -0
  83. package/components/PlayerRealityCheck-CMKhVVBJ.js +668 -0
  84. package/components/PlayerRealityCheck-DoXLoM9G.cjs +1 -0
  85. package/components/PlayerTransactionHistory-BaALuJRH.js +314 -0
  86. package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
  87. package/components/PlayerTransactionHistory-CYob92HC.js +314 -0
  88. package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
  89. package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CNDRfeXy.js} +137 -141
  90. package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-U9E0FEDt.js} +137 -141
  91. package/es2015/player-account-controller-nd.cjs +1 -1
  92. package/es2015/player-account-controller-nd.js +1 -1
  93. package/esnext/player-account-controller-nd.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  96. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  97. package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-B_RfUM6E.js} +3279 -2404
  98. package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +2045 -0
  99. package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-C98yT4vw.js} +3348 -2459
  100. package/stencil/{general-input-Yj_LRx0v.js → general-input-CqTf7ErJ.js} +6 -6
  101. package/stencil/{general-input-d5RULL12.js → general-input-DTHw5Z1Q.js} +6 -6
  102. package/stencil/general-input-wM2i7b57.cjs +1 -0
  103. package/stencil/index-92b64862-BRYoLHww.cjs +1 -0
  104. package/stencil/index-92b64862-C_69cKxK.js +708 -0
  105. package/stencil/index-92b64862-w9a1l35N.js +692 -0
  106. package/stencil/index-db5752f9-DlyF6uv8.js +594 -0
  107. package/stencil/index-db5752f9-DrdunCay.js +610 -0
  108. package/stencil/index-db5752f9-dFKrDpwt.cjs +1 -0
  109. package/stencil/password-input_2-B2qvf6ku.cjs +105 -0
  110. package/stencil/password-input_2-CdHS5fmR.js +569 -0
  111. package/stencil/password-input_2-DdQvCp3o.js +569 -0
  112. package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +85 -66
  113. package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +85 -66
  114. package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
  115. package/stencil/player-change-password-gm2-Cxdum0Hh.js +25 -0
  116. package/stencil/player-change-password-gm2-DJqZO25d.cjs +1 -0
  117. package/stencil/player-change-password-gm2-DWoAaJ2f.js +7 -0
  118. package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-B4OOk9wz.js} +7 -7
  119. package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-Cwo_Ny77.js} +7 -7
  120. package/stencil/toggle-checkbox-input-tQDhlcag.cjs +1 -0
  121. package/stencil/ui-skeleton-982450d2-BKnKTh4c.js +122 -0
  122. package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +1 -0
  123. package/stencil/ui-skeleton-982450d2-DQzKNKe8.js +122 -0
  124. package/stencil/ui-skeleton-BL5JJXyn.js +11 -0
  125. package/stencil/ui-skeleton-CGldUjn2.js +29 -0
  126. package/stencil/ui-skeleton-ITys8nIA.cjs +1 -0
  127. package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +8177 -8813
  128. package/stencil/vaadin-button-mixin-ef61174c-DuDVejN4.cjs +2385 -0
  129. package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +6270 -6860
  130. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  131. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  132. package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
  133. package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
  134. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  135. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  136. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  137. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
  138. package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
  139. package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
  140. package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
  141. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  142. package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
  143. package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
  144. package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
  145. package/components/PlayerAccountModal-BK81ZotM.js +0 -213
  146. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  147. package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
  148. package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
  149. package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
  150. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  151. package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
  152. package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
  153. package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
  154. package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
  155. package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
  156. package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
  157. package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
  158. package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
  159. package/components/PlayerDeposit-BIBRCGiC.js +0 -414
  160. package/components/PlayerDeposit-B_7saxic.js +0 -414
  161. package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
  162. package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
  163. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  164. package/components/PlayerPendingWithdrawals-C8jyjgZ0.js +0 -311
  165. package/components/PlayerPendingWithdrawals-wMhZTLpq.js +0 -311
  166. package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
  167. package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
  168. package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
  169. package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
  170. package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
  171. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  172. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  173. package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
  174. package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
  175. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  176. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  177. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  178. package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
  179. package/stencil/general-input-igTYIJ6W.cjs +0 -1
  180. package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
  181. package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
  182. package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
  183. package/stencil/password-input_2-CHOu4hgw.js +0 -1420
  184. package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
  185. package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
  186. package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
  187. package/stencil/player-change-password-gm2-ClBiis4q.js +0 -25
  188. package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
  189. package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
  190. package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
  191. package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
@@ -1,920 +0,0 @@
1
- import { a as Ie, $ as Ne, S as Ye, i as Re, f as V, c as je, s as Ge, b as Oe, e as B, k as R, o as pe, p as j, q as Ve, u as qe, v as Ue, x as le, y as Ze, d as S, t as I, g as b, j as a, l as c, m as X, n as x, w as Q, K as oe, L as Be, r as Ke, B as ve } from "./GeneralLogout-BZhvD1EQ.js";
2
- import { h as ae } from "./PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js";
3
- import "./PlayerActiveBonuses-DkKDWhBN.js";
4
- import "./PlayerAccountSelfExclusionNd-D2JmyzgE.js";
5
- function me(n, e) {
6
- Ie(n, e);
7
- }
8
- function Xe(n) {
9
- Ne.set(n);
10
- }
11
- const fe = {
12
- en: {
13
- titleBonusesHistory: "Bonus History",
14
- dateFrom: "From:",
15
- dateTo: "To:",
16
- dateFilter: "Filter",
17
- noBonusHistory: "You have no bonuses for the selected period."
18
- },
19
- "zh-hk": {
20
- titleBonusesHistory: "獎金歷史",
21
- dateFrom: "從:",
22
- dateTo: "至:",
23
- dateFilter: "篩選",
24
- noBonusHistory: "您目前沒有獎金歷史。"
25
- },
26
- fr: {
27
- titleBonusesHistory: "Historique du bonus",
28
- dateFrom: "De:",
29
- dateTo: "A:",
30
- dateFilter: "Filtre",
31
- noBonusHistory: "Vous n'avez pas d'historique de bonus pour le moment."
32
- },
33
- ro: {
34
- titleBonusesHistory: "Istoric bonusuri",
35
- dateFrom: "De la",
36
- dateTo: "La",
37
- dateFilter: "Filtru",
38
- noBonusHistory: "Nu ai bonusuri pentru perioada selectata."
39
- },
40
- es: {
41
- titleBonusesHistory: "Historial de Bonos",
42
- dateFrom: "Desde:",
43
- dateTo: "A:",
44
- dateFilter: "Filtro",
45
- noBonusHistory: "No tiene Bonos para el periodo seleccionado."
46
- },
47
- pt: {
48
- titleBonusesHistory: "Histórico de bônus",
49
- dateFrom: "A partir de:",
50
- dateTo: "Para:",
51
- dateFilter: "Filtro:",
52
- noBonusHistory: "Você não tem histórico de bônus no momento."
53
- },
54
- hr: {
55
- titleBonusesHistory: "Povijest bonusa",
56
- dateFrom: "Od:",
57
- dateTo: "Do:",
58
- dateFilter: "Filter",
59
- noBonusHistory: "Nemate bonusa u povijesti."
60
- },
61
- "pt-br": {
62
- titleBonusesHistory: "Histórico de bônus",
63
- dateFrom: "De:",
64
- dateTo: "PARA:",
65
- dateFilter: "Filtro",
66
- noBonusHistory: "Não há bônus para o período selecionado"
67
- },
68
- "es-mx": {
69
- titleBonusesHistory: "Historial de bonos",
70
- dateFrom: "De:",
71
- dateTo: "A:",
72
- dateFilter: "Filtro",
73
- noBonusHistory: "No tiene bonus para el periodo seleccionado"
74
- },
75
- tr: {
76
- titleBonusesHistory: "Bonus Geçmişi",
77
- dateFrom: "İtibaren:",
78
- dateTo: "İle:",
79
- dateFilter: "Filtre",
80
- noBonusHistory: "Seçilen dönem için bonusunuz yok."
81
- },
82
- "en-us": {
83
- titleBonusesHistory: "Bonus History",
84
- dateFrom: "From:",
85
- dateTo: "To:",
86
- dateFilter: "Filter",
87
- noBonusHistory: "You have no bonuses for the selected period."
88
- }
89
- };
90
- function Je(n) {
91
- Oe(n, "svelte-15nn5yf", ".BonusesWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--color-typography-cotrast, #444444);padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesTitle{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)}.BonusesTitleMobile{font-size:var(--emw--size-standard, 16px)}.BonusesTitleNone{display:none}.BonusCalendarWrapper{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusesCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%;border-radius:var(--emw--border-radius-large, 20px)}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:var(--emw--font-size-small, 14px);font-weight:300}.BonusesCalendarStartDate input,.BonusesCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-small, 5px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px;outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesCalendarFilter{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);cursor:pointer;width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;outline:none}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%;height:44px}.BonusesCalendarFilter:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px;border-radius:var(--emw--border-radius-large, 20px)}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px;font-weight:var(--emw--font-weight-bold, 700)}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-typography-cotrast, #444444);font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:var(--emw--font-weight-bold, 700)}");
92
- }
93
- function be(n, e, t) {
94
- const o = n.slice();
95
- return o[47] = e[t], o[49] = t, o;
96
- }
97
- function ge(n, e, t) {
98
- const o = n.slice();
99
- return o[50] = e[t], o;
100
- }
101
- function Qe(n) {
102
- let e, t, o, s = (
103
- /*$_*/
104
- n[20]("titleBonusesHistory") + ""
105
- ), l, r, f, i, p, v, d = (
106
- /*$_*/
107
- n[20]("dateFrom") + ""
108
- ), m, F, P, k, w, M, A = (
109
- /*$_*/
110
- n[20]("dateTo") + ""
111
- ), N, L, _, g, C, y = (
112
- /*$_*/
113
- n[20]("dateFilter") + ""
114
- ), Y, $, U, ee, J, ne, G = (
115
- /*isMobile*/
116
- n[21] && xe(n)
117
- );
118
- function te(h, D) {
119
- return (
120
- /*bonusesList*/
121
- h[16].length === 0 ? en : $e
122
- );
123
- }
124
- let T = te(n), E = T(n), H = (
125
- /*bonusesList*/
126
- n[16].length !== 0 && ye(n)
127
- );
128
- return {
129
- c() {
130
- e = B("div"), G && G.c(), t = S(), o = B("h2"), l = I(s), r = S(), f = B("div"), i = B("div"), p = B("div"), v = B("label"), m = I(d), F = S(), P = B("vaadin-date-picker"), k = S(), w = B("div"), M = B("label"), N = I(A), L = S(), _ = B("vaadin-date-picker"), g = S(), C = B("button"), Y = I(y), $ = S(), U = B("div"), E.c(), ee = S(), H && H.c(), b(o, "class", "BonusesTitle " + /*isMobile*/
131
- (n[21] ? "BonusesTitleNone" : "")), b(o, "part", "BonusesTitle " + /*isMobile*/
132
- (n[21] ? "BonusesTitleNone" : "")), b(v, "for", "BonusCalendarStartDate"), a(
133
- P,
134
- "max",
135
- /*maxDate*/
136
- n[9]
137
- ), a(
138
- P,
139
- "value",
140
- /*lastMonth*/
141
- n[10]
142
- ), a(P, "placeholder", "From"), a(P, "class", "VaadinDatePicker"), b(p, "class", "BonusesCalendarStartDate " + /*isMobile*/
143
- (n[21] ? "BonusesCalendarMobile" : "")), b(M, "for", "BonusesCalendarEndDate"), a(
144
- _,
145
- "max",
146
- /*maxDate*/
147
- n[9]
148
- ), a(
149
- _,
150
- "value",
151
- /*maxDate*/
152
- n[9]
153
- ), a(_, "placeholder", "To"), a(_, "class", "VaadinDatePicker"), b(w, "class", "BonusesCalendarEndDate " + /*isMobile*/
154
- (n[21] ? "BonusesCalendarMobile" : "")), b(i, "class", "BonusesCalendarContainer " + /*isMobile*/
155
- (n[21] ? "BonusesCalendarContainerMobile" : "")), b(C, "class", "BonusesCalendarFilter " + /*isMobile*/
156
- (n[21] ? "BonusesCalendarFilterMobile" : "")), b(f, "class", "BonusCalendarWrapper " + /*isMobile*/
157
- (n[21] ? "BonusCalendarWrapperMobile" : "")), b(U, "class", "BonusesGrid " + /*isMobile*/
158
- (n[21] ? "BonusesGridMobile" : "")), b(e, "class", "BonusesWrapper " + /*isMobile*/
159
- (n[21] ? "BonusesWrapperMobile" : ""));
160
- },
161
- m(h, D) {
162
- R(h, e, D), G && G.m(e, null), c(e, t), c(e, o), c(o, l), c(e, r), c(e, f), c(f, i), c(i, p), c(p, v), c(v, m), c(p, F), c(p, P), n[28](P), c(i, k), c(i, w), c(w, M), c(M, N), c(w, L), c(w, _), n[29](_), c(f, g), c(f, C), c(C, Y), c(e, $), c(e, U), E.m(U, null), c(e, ee), H && H.m(e, null), J || (ne = X(
163
- C,
164
- "click",
165
- /*click_handler_1*/
166
- n[30]
167
- ), J = !0);
168
- },
169
- p(h, D) {
170
- /*isMobile*/
171
- h[21] && G.p(h, D), D[0] & /*$_*/
172
- 1048576 && s !== (s = /*$_*/
173
- h[20]("titleBonusesHistory") + "") && x(l, s), D[0] & /*$_*/
174
- 1048576 && d !== (d = /*$_*/
175
- h[20]("dateFrom") + "") && x(m, d), D[0] & /*maxDate*/
176
- 512 && a(
177
- P,
178
- "max",
179
- /*maxDate*/
180
- h[9]
181
- ), D[0] & /*lastMonth*/
182
- 1024 && a(
183
- P,
184
- "value",
185
- /*lastMonth*/
186
- h[10]
187
- ), D[0] & /*$_*/
188
- 1048576 && A !== (A = /*$_*/
189
- h[20]("dateTo") + "") && x(N, A), D[0] & /*maxDate*/
190
- 512 && a(
191
- _,
192
- "max",
193
- /*maxDate*/
194
- h[9]
195
- ), D[0] & /*maxDate*/
196
- 512 && a(
197
- _,
198
- "value",
199
- /*maxDate*/
200
- h[9]
201
- ), D[0] & /*$_*/
202
- 1048576 && y !== (y = /*$_*/
203
- h[20]("dateFilter") + "") && x(Y, y), T === (T = te(h)) && E ? E.p(h, D) : (E.d(1), E = T(h), E && (E.c(), E.m(U, null))), /*bonusesList*/
204
- h[16].length !== 0 ? H ? H.p(h, D) : (H = ye(h), H.c(), H.m(e, null)) : H && (H.d(1), H = null);
205
- },
206
- d(h) {
207
- h && j(e), G && G.d(), n[28](null), n[29](null), E.d(), H && H.d(), J = !1, ne();
208
- }
209
- };
210
- }
211
- function xe(n) {
212
- let e, t, o, s, l, r, f, i, p, v, d = (
213
- /*$_*/
214
- n[20]("titleBonusesHistory") + ""
215
- ), m, F, P;
216
- return {
217
- c() {
218
- e = B("div"), t = Q("svg"), o = Q("defs"), s = Q("style"), l = I(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), r = Q("g"), f = Q("g"), i = Q("path"), p = S(), v = B("h2"), m = I(d), b(i, "class", "aaa"), b(i, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), b(i, "transform", "translate(15 15) rotate(180)"), b(f, "transform", "translate(20 158)"), b(r, "transform", "translate(-20 -158)"), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "width", "15"), b(t, "height", "15"), b(t, "viewBox", "0 0 15 15"), b(v, "class", "BonusesTitleMobile"), b(e, "class", "MenuReturnButton");
219
- },
220
- m(k, w) {
221
- R(k, e, w), c(e, t), c(t, o), c(o, s), c(s, l), c(t, r), c(r, f), c(f, i), c(e, p), c(e, v), c(v, m), F || (P = X(
222
- e,
223
- "click",
224
- /*click_handler*/
225
- n[27]
226
- ), F = !0);
227
- },
228
- p(k, w) {
229
- w[0] & /*$_*/
230
- 1048576 && d !== (d = /*$_*/
231
- k[20]("titleBonusesHistory") + "") && x(m, d);
232
- },
233
- d(k) {
234
- k && j(e), F = !1, P();
235
- }
236
- };
237
- }
238
- function $e(n) {
239
- let e, t = oe(
240
- /*bonusesList*/
241
- n[16]
242
- ), o = [];
243
- for (let s = 0; s < t.length; s += 1)
244
- o[s] = _e(ge(n, t, s));
245
- return {
246
- c() {
247
- for (let s = 0; s < o.length; s += 1)
248
- o[s].c();
249
- e = ve();
250
- },
251
- m(s, l) {
252
- for (let r = 0; r < o.length; r += 1)
253
- o[r] && o[r].m(s, l);
254
- R(s, e, l);
255
- },
256
- p(s, l) {
257
- if (l[0] & /*termsandconditionsdescription, termsandconditionsurl, termsandconditionsasset, bonusesList, lang, clientstyling, clientstylingurl, translationurl*/
258
- 983055) {
259
- t = oe(
260
- /*bonusesList*/
261
- s[16]
262
- );
263
- let r;
264
- for (r = 0; r < t.length; r += 1) {
265
- const f = ge(s, t, r);
266
- o[r] ? o[r].p(f, l) : (o[r] = _e(f), o[r].c(), o[r].m(e.parentNode, e));
267
- }
268
- for (; r < o.length; r += 1)
269
- o[r].d(1);
270
- o.length = t.length;
271
- }
272
- },
273
- d(s) {
274
- s && j(e), Be(o, s);
275
- }
276
- };
277
- }
278
- function en(n) {
279
- let e, t = (
280
- /*$_*/
281
- n[20]("noBonusHistory") + ""
282
- ), o;
283
- return {
284
- c() {
285
- e = B("p"), o = I(t);
286
- },
287
- m(s, l) {
288
- R(s, e, l), c(e, o);
289
- },
290
- p(s, l) {
291
- l[0] & /*$_*/
292
- 1048576 && t !== (t = /*$_*/
293
- s[20]("noBonusHistory") + "") && x(o, t);
294
- },
295
- d(s) {
296
- s && j(e);
297
- }
298
- };
299
- }
300
- function nn(n) {
301
- let e, t, o, s, l, r, f, i, p, v;
302
- return {
303
- c() {
304
- e = B("player-bonus-card"), a(
305
- e,
306
- "termsandconditionsdescription",
307
- /*termsandconditionsdescription*/
308
- n[19]
309
- ), a(
310
- e,
311
- "termsandconditionsurl",
312
- /*termsandconditionsurl*/
313
- n[17]
314
- ), a(
315
- e,
316
- "termsandconditionsasset",
317
- /*termsandconditionsasset*/
318
- n[18]
319
- ), a(e, "bonuswalletid", t = /*bonus*/
320
- n[50].walletId), a(e, "bonusdate", o = /*bonus*/
321
- n[50].granted), a(e, "bonusstatus", s = /*bonus*/
322
- n[50].status), a(e, "bonusname", l = /*bonus*/
323
- n[50].name), a(e, "bonustype", r = /*bonus*/
324
- n[50].type), a(e, "bonusamount", f = /*bonus*/
325
- n[50].extension.grantedPlayerCurrencyAmount), a(e, "bonuswageringamount", i = `${/*bonus*/
326
- n[50].fulfilledWR} / ${/*bonus*/
327
- n[50].originalWageringRequirement}`), a(e, "bonusremainingamount", p = /*bonus*/
328
- n[50].currentAmount), a(e, "bonuscurrency", v = /*bonus*/
329
- n[50].currency), a(
330
- e,
331
- "lang",
332
- /*lang*/
333
- n[0]
334
- ), a(
335
- e,
336
- "clientstyling",
337
- /*clientstyling*/
338
- n[1]
339
- ), a(
340
- e,
341
- "clientstylingurl",
342
- /*clientstylingurl*/
343
- n[2]
344
- ), a(
345
- e,
346
- "translationurl",
347
- /*translationurl*/
348
- n[3]
349
- );
350
- },
351
- m(d, m) {
352
- R(d, e, m);
353
- },
354
- p(d, m) {
355
- m[0] & /*termsandconditionsdescription*/
356
- 524288 && a(
357
- e,
358
- "termsandconditionsdescription",
359
- /*termsandconditionsdescription*/
360
- d[19]
361
- ), m[0] & /*termsandconditionsurl*/
362
- 131072 && a(
363
- e,
364
- "termsandconditionsurl",
365
- /*termsandconditionsurl*/
366
- d[17]
367
- ), m[0] & /*termsandconditionsasset*/
368
- 262144 && a(
369
- e,
370
- "termsandconditionsasset",
371
- /*termsandconditionsasset*/
372
- d[18]
373
- ), m[0] & /*bonusesList*/
374
- 65536 && t !== (t = /*bonus*/
375
- d[50].walletId) && a(e, "bonuswalletid", t), m[0] & /*bonusesList*/
376
- 65536 && o !== (o = /*bonus*/
377
- d[50].granted) && a(e, "bonusdate", o), m[0] & /*bonusesList*/
378
- 65536 && s !== (s = /*bonus*/
379
- d[50].status) && a(e, "bonusstatus", s), m[0] & /*bonusesList*/
380
- 65536 && l !== (l = /*bonus*/
381
- d[50].name) && a(e, "bonusname", l), m[0] & /*bonusesList*/
382
- 65536 && r !== (r = /*bonus*/
383
- d[50].type) && a(e, "bonustype", r), m[0] & /*bonusesList*/
384
- 65536 && f !== (f = /*bonus*/
385
- d[50].extension.grantedPlayerCurrencyAmount) && a(e, "bonusamount", f), m[0] & /*bonusesList*/
386
- 65536 && i !== (i = `${/*bonus*/
387
- d[50].fulfilledWR} / ${/*bonus*/
388
- d[50].originalWageringRequirement}`) && a(e, "bonuswageringamount", i), m[0] & /*bonusesList*/
389
- 65536 && p !== (p = /*bonus*/
390
- d[50].currentAmount) && a(e, "bonusremainingamount", p), m[0] & /*bonusesList*/
391
- 65536 && v !== (v = /*bonus*/
392
- d[50].currency) && a(e, "bonuscurrency", v), m[0] & /*lang*/
393
- 1 && a(
394
- e,
395
- "lang",
396
- /*lang*/
397
- d[0]
398
- ), m[0] & /*clientstyling*/
399
- 2 && a(
400
- e,
401
- "clientstyling",
402
- /*clientstyling*/
403
- d[1]
404
- ), m[0] & /*clientstylingurl*/
405
- 4 && a(
406
- e,
407
- "clientstylingurl",
408
- /*clientstylingurl*/
409
- d[2]
410
- ), m[0] & /*translationurl*/
411
- 8 && a(
412
- e,
413
- "translationurl",
414
- /*translationurl*/
415
- d[3]
416
- );
417
- },
418
- d(d) {
419
- d && j(e);
420
- }
421
- };
422
- }
423
- function tn(n) {
424
- let e, t, o, s, l, r, f;
425
- return {
426
- c() {
427
- e = B("player-bonus-card"), a(
428
- e,
429
- "termsandconditionsdescription",
430
- /*termsandconditionsdescription*/
431
- n[19]
432
- ), a(
433
- e,
434
- "termsandconditionsurl",
435
- /*termsandconditionsurl*/
436
- n[17]
437
- ), a(
438
- e,
439
- "termsandconditionsasset",
440
- /*termsandconditionsasset*/
441
- n[18]
442
- ), a(e, "bonuswalletid", t = /*bonus*/
443
- n[50].walletId), a(e, "bonusdate", o = /*bonus*/
444
- n[50].granted), a(e, "bonusstatus", s = /*bonus*/
445
- n[50].status), a(e, "bonusname", l = /*bonus*/
446
- n[50].name), a(e, "bonustype", r = /*bonus*/
447
- n[50].type), a(e, "bonuscurrency", f = /*bonus*/
448
- n[50].currency), a(
449
- e,
450
- "lang",
451
- /*lang*/
452
- n[0]
453
- ), a(
454
- e,
455
- "clientstyling",
456
- /*clientstyling*/
457
- n[1]
458
- ), a(
459
- e,
460
- "clientstylingurl",
461
- /*clientstylingurl*/
462
- n[2]
463
- ), a(
464
- e,
465
- "translationurl",
466
- /*translationurl*/
467
- n[3]
468
- );
469
- },
470
- m(i, p) {
471
- R(i, e, p);
472
- },
473
- p(i, p) {
474
- p[0] & /*termsandconditionsdescription*/
475
- 524288 && a(
476
- e,
477
- "termsandconditionsdescription",
478
- /*termsandconditionsdescription*/
479
- i[19]
480
- ), p[0] & /*termsandconditionsurl*/
481
- 131072 && a(
482
- e,
483
- "termsandconditionsurl",
484
- /*termsandconditionsurl*/
485
- i[17]
486
- ), p[0] & /*termsandconditionsasset*/
487
- 262144 && a(
488
- e,
489
- "termsandconditionsasset",
490
- /*termsandconditionsasset*/
491
- i[18]
492
- ), p[0] & /*bonusesList*/
493
- 65536 && t !== (t = /*bonus*/
494
- i[50].walletId) && a(e, "bonuswalletid", t), p[0] & /*bonusesList*/
495
- 65536 && o !== (o = /*bonus*/
496
- i[50].granted) && a(e, "bonusdate", o), p[0] & /*bonusesList*/
497
- 65536 && s !== (s = /*bonus*/
498
- i[50].status) && a(e, "bonusstatus", s), p[0] & /*bonusesList*/
499
- 65536 && l !== (l = /*bonus*/
500
- i[50].name) && a(e, "bonusname", l), p[0] & /*bonusesList*/
501
- 65536 && r !== (r = /*bonus*/
502
- i[50].type) && a(e, "bonustype", r), p[0] & /*bonusesList*/
503
- 65536 && f !== (f = /*bonus*/
504
- i[50].currency) && a(e, "bonuscurrency", f), p[0] & /*lang*/
505
- 1 && a(
506
- e,
507
- "lang",
508
- /*lang*/
509
- i[0]
510
- ), p[0] & /*clientstyling*/
511
- 2 && a(
512
- e,
513
- "clientstyling",
514
- /*clientstyling*/
515
- i[1]
516
- ), p[0] & /*clientstylingurl*/
517
- 4 && a(
518
- e,
519
- "clientstylingurl",
520
- /*clientstylingurl*/
521
- i[2]
522
- ), p[0] & /*translationurl*/
523
- 8 && a(
524
- e,
525
- "translationurl",
526
- /*translationurl*/
527
- i[3]
528
- );
529
- },
530
- d(i) {
531
- i && j(e);
532
- }
533
- };
534
- }
535
- function _e(n) {
536
- let e;
537
- function t(l, r) {
538
- return (
539
- /*bonus*/
540
- l[50].type === "freeRound" ? tn : nn
541
- );
542
- }
543
- let o = t(n), s = o(n);
544
- return {
545
- c() {
546
- s.c(), e = ve();
547
- },
548
- m(l, r) {
549
- s.m(l, r), R(l, e, r);
550
- },
551
- p(l, r) {
552
- o === (o = t(l)) && s ? s.p(l, r) : (s.d(1), s = o(l), s && (s.c(), s.m(e.parentNode, e)));
553
- },
554
- d(l) {
555
- l && j(e), s.d(l);
556
- }
557
- };
558
- }
559
- function ye(n) {
560
- let e, t, o, s, l, r, f, i, p, v, d, m, F, P, k, w, M, A, N, L = oe(Array(
561
- /*numberOfPages*/
562
- n[14]
563
- )), _ = [];
564
- for (let g = 0; g < L.length; g += 1)
565
- _[g] = he(be(n, L, g));
566
- return {
567
- c() {
568
- e = B("div"), t = B("span"), o = I("|<"), l = S(), r = B("span"), f = I("<"), p = S();
569
- for (let g = 0; g < _.length; g += 1)
570
- _[g].c();
571
- v = S(), d = B("span"), m = I(">"), P = S(), k = B("span"), w = I(">|"), b(t, "class", s = "BonusesFirst " + /*currentPage*/
572
- (n[15] === 0 ? "Inactive" : "")), b(r, "class", i = "BonusesPrev " + /*currentPage*/
573
- (n[15] === 0 ? "Inactive" : "")), b(d, "class", F = "BonusesNext " + /*currentPage*/
574
- (n[15] === /*numberOfPages*/
575
- n[14] - 1 ? "Inactive" : "")), b(k, "class", M = "BonusesLast " + /*currentPage*/
576
- (n[15] === /*numberOfPages*/
577
- n[14] - 1 ? "Inactive" : "")), b(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
578
- (n[21] ? "BonusesPaginationWrapperMobile" : ""));
579
- },
580
- m(g, C) {
581
- R(g, e, C), c(e, t), c(t, o), c(e, l), c(e, r), c(r, f), c(e, p);
582
- for (let y = 0; y < _.length; y += 1)
583
- _[y] && _[y].m(e, null);
584
- c(e, v), c(e, d), c(d, m), c(e, P), c(e, k), c(k, w), A || (N = [
585
- X(
586
- t,
587
- "click",
588
- /*click_handler_2*/
589
- n[31]
590
- ),
591
- X(
592
- r,
593
- "click",
594
- /*click_handler_3*/
595
- n[32]
596
- ),
597
- X(
598
- d,
599
- "click",
600
- /*click_handler_5*/
601
- n[34]
602
- ),
603
- X(
604
- k,
605
- "click",
606
- /*click_handler_6*/
607
- n[35]
608
- )
609
- ], A = !0);
610
- },
611
- p(g, C) {
612
- if (C[0] & /*currentPage*/
613
- 32768 && s !== (s = "BonusesFirst " + /*currentPage*/
614
- (g[15] === 0 ? "Inactive" : "")) && b(t, "class", s), C[0] & /*currentPage*/
615
- 32768 && i !== (i = "BonusesPrev " + /*currentPage*/
616
- (g[15] === 0 ? "Inactive" : "")) && b(r, "class", i), C[0] & /*currentPage, getBonuses, bonushistorystatus, bonushistorytype, numberOfPages*/
617
- 8437808) {
618
- L = oe(Array(
619
- /*numberOfPages*/
620
- g[14]
621
- ));
622
- let y;
623
- for (y = 0; y < L.length; y += 1) {
624
- const Y = be(g, L, y);
625
- _[y] ? _[y].p(Y, C) : (_[y] = he(Y), _[y].c(), _[y].m(e, v));
626
- }
627
- for (; y < _.length; y += 1)
628
- _[y].d(1);
629
- _.length = L.length;
630
- }
631
- C[0] & /*currentPage, numberOfPages*/
632
- 49152 && F !== (F = "BonusesNext " + /*currentPage*/
633
- (g[15] === /*numberOfPages*/
634
- g[14] - 1 ? "Inactive" : "")) && b(d, "class", F), C[0] & /*currentPage, numberOfPages*/
635
- 49152 && M !== (M = "BonusesLast " + /*currentPage*/
636
- (g[15] === /*numberOfPages*/
637
- g[14] - 1 ? "Inactive" : "")) && b(k, "class", M);
638
- },
639
- d(g) {
640
- g && j(e), Be(_, g), A = !1, Ke(N);
641
- }
642
- };
643
- }
644
- function he(n) {
645
- let e, t = (
646
- /*i*/
647
- n[49] + 1 + ""
648
- ), o, s, l, r;
649
- function f() {
650
- return (
651
- /*click_handler_4*/
652
- n[33](
653
- /*i*/
654
- n[49]
655
- )
656
- );
657
- }
658
- return {
659
- c() {
660
- e = B("span"), o = I(t), b(e, "class", s = "BonusesPage " + /*i*/
661
- (n[49] === /*currentPage*/
662
- n[15] ? "BonusPageActive" : ""));
663
- },
664
- m(i, p) {
665
- R(i, e, p), c(e, o), l || (r = X(e, "click", f), l = !0);
666
- },
667
- p(i, p) {
668
- n = i, p[0] & /*currentPage*/
669
- 32768 && s !== (s = "BonusesPage " + /*i*/
670
- (n[49] === /*currentPage*/
671
- n[15] ? "BonusPageActive" : "")) && b(e, "class", s);
672
- },
673
- d(i) {
674
- i && j(e), l = !1, r();
675
- }
676
- };
677
- }
678
- function sn(n) {
679
- let e;
680
- function t(l, r) {
681
- return Qe;
682
- }
683
- let s = t()(n);
684
- return {
685
- c() {
686
- e = B("div"), s.c();
687
- },
688
- m(l, r) {
689
- R(l, e, r), s.m(e, null), n[36](e);
690
- },
691
- p(l, r) {
692
- s.p(l, r);
693
- },
694
- i: pe,
695
- o: pe,
696
- d(l) {
697
- l && j(e), s.d(), n[36](null);
698
- }
699
- };
700
- }
701
- let q = 6;
702
- function an(n, e, t) {
703
- let o;
704
- Ve(n, Ze, (u) => t(20, o = u));
705
- let { endpoint: s = "" } = e, { session: l = "" } = e, { playerid: r = "" } = e, { lang: f = "en" } = e, { clientstyling: i = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: v = "" } = e, { bonushistorystatus: d = "" } = e, { bonushistorytype: m = "" } = e, F, P = window.navigator.userAgent, k = qe(P) !== "PC", w, M, A, N;
706
- A = ae(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"), N = ae(/* @__PURE__ */ new Date()).subtract(3, "months").format("YYYY-MM-DD");
707
- let L = N, _ = A, g = 0, C = 0, y = 0, Y = 0, $ = 0, U = [], ee = "", J = "", ne = "";
708
- const G = () => {
709
- fetch(v).then((z) => z.json()).then((z) => {
710
- Object.keys(z).forEach((O) => {
711
- me(O, z[O]);
712
- });
713
- }).catch((z) => {
714
- console.log(z);
715
- });
716
- };
717
- Object.keys(fe).forEach((u) => {
718
- me(u, fe[u]);
719
- });
720
- const te = () => {
721
- window.postMessage(
722
- {
723
- type: "PlayerAccountMenuActive",
724
- isMobile: k
725
- },
726
- window.location.href
727
- );
728
- }, T = (u, z, O) => {
729
- let re = new URL(`${s}/v1/player/${r}/bonusWallet`), Ae = ae(L).startOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), Le = ae(_).endOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), K = "", ie = "", ue = "";
730
- z && (ie = z.split(",").map((Z) => `status=${Z}`).join(","), K = K + ie + ","), O && (ue = O.split(",").map((Z) => `type=${Z}`).join(","), K = K + ue + ","), K = K + `granted=[${Ae}~${Le}]`, re.searchParams.append("filter", K), re.searchParams.append("pagination", `offset=${u},limit=${q}`);
731
- let ze = {
732
- method: "GET",
733
- headers: { "X-SessionId": l }
734
- };
735
- fetch(re.href, ze).then((W) => W.json()).then(
736
- (W) => {
737
- Array.isArray(W.items) && W.items.forEach((se) => {
738
- var de, ce;
739
- const Z = (ce = (de = se == null ? void 0 : se.extension) == null ? void 0 : de.bonus) == null ? void 0 : ce.presentation;
740
- Z && (t(17, ee = Z.url), t(19, ne = Z.description), t(18, J = Z.assets));
741
- }), t(14, Y = Math.ceil(W.total / q)), u - q >= 0 && t(11, g = u - q), u + q < W.total && t(12, C = u + q), t(13, y = (Y - 1) * q), t(15, $ = u / q), t(16, U = (W == null ? void 0 : W.items) || []);
742
- },
743
- (W) => {
744
- console.error(W);
745
- }
746
- ), window.postMessage({ type: "ScrollToTop" }, window.location.href);
747
- }, E = (u) => {
748
- L = u.target.value;
749
- }, H = (u) => {
750
- _ = u.target.value;
751
- }, h = () => {
752
- w.addEventListener("change", E, !1), M.addEventListener("change", H, !1);
753
- };
754
- Ue(() => () => {
755
- w.removeEventListener("change", E), M.removeEventListener("change", H);
756
- });
757
- const D = () => {
758
- Xe(f);
759
- }, we = () => {
760
- let u = document.createElement("style");
761
- u.innerHTML = i, F.appendChild(u);
762
- }, Fe = () => {
763
- let u = new URL(p), z = document.createElement("style");
764
- fetch(u.href).then((O) => O.text()).then((O) => {
765
- z.innerHTML = O, setTimeout(
766
- () => {
767
- F.appendChild(z);
768
- },
769
- 1
770
- );
771
- });
772
- }, ke = () => te();
773
- function Ce(u) {
774
- le[u ? "unshift" : "push"](() => {
775
- w = u, t(7, w);
776
- });
777
- }
778
- function Pe(u) {
779
- le[u ? "unshift" : "push"](() => {
780
- M = u, t(8, M);
781
- });
782
- }
783
- const He = () => T(0, d, m), Me = () => T(0, d, m), De = () => T(g, d, m), Te = (u) => T(u * q, d, m), Ee = () => T(C, d, m), We = () => T(y, d, m);
784
- function Se(u) {
785
- le[u ? "unshift" : "push"](() => {
786
- F = u, t(6, F);
787
- });
788
- }
789
- return n.$$set = (u) => {
790
- "endpoint" in u && t(24, s = u.endpoint), "session" in u && t(25, l = u.session), "playerid" in u && t(26, r = u.playerid), "lang" in u && t(0, f = u.lang), "clientstyling" in u && t(1, i = u.clientstyling), "clientstylingurl" in u && t(2, p = u.clientstylingurl), "translationurl" in u && t(3, v = u.translationurl), "bonushistorystatus" in u && t(4, d = u.bonushistorystatus), "bonushistorytype" in u && t(5, m = u.bonushistorytype);
791
- }, n.$$.update = () => {
792
- n.$$.dirty[0] & /*lang*/
793
- 1 && f && D(), n.$$.dirty[0] & /*startCalendar, endCalendar*/
794
- 384 && w && M && h(), n.$$.dirty[0] & /*session, playerid, endpoint, bonushistorystatus, bonushistorytype*/
795
- 117440560 && l && r && s && T(0, d, m), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
796
- 68 && p && F && Fe(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
797
- 66 && i && F && we(), n.$$.dirty[0] & /*translationurl*/
798
- 8 && v && G();
799
- }, [
800
- f,
801
- i,
802
- p,
803
- v,
804
- d,
805
- m,
806
- F,
807
- w,
808
- M,
809
- A,
810
- N,
811
- g,
812
- C,
813
- y,
814
- Y,
815
- $,
816
- U,
817
- ee,
818
- J,
819
- ne,
820
- o,
821
- k,
822
- te,
823
- T,
824
- s,
825
- l,
826
- r,
827
- ke,
828
- Ce,
829
- Pe,
830
- He,
831
- Me,
832
- De,
833
- Te,
834
- Ee,
835
- We,
836
- Se
837
- ];
838
- }
839
- class on extends Ye {
840
- constructor(e) {
841
- super(), Re(
842
- this,
843
- e,
844
- an,
845
- sn,
846
- Ge,
847
- {
848
- endpoint: 24,
849
- session: 25,
850
- playerid: 26,
851
- lang: 0,
852
- clientstyling: 1,
853
- clientstylingurl: 2,
854
- translationurl: 3,
855
- bonushistorystatus: 4,
856
- bonushistorytype: 5
857
- },
858
- Je,
859
- [-1, -1]
860
- );
861
- }
862
- get endpoint() {
863
- return this.$$.ctx[24];
864
- }
865
- set endpoint(e) {
866
- this.$$set({ endpoint: e }), V();
867
- }
868
- get session() {
869
- return this.$$.ctx[25];
870
- }
871
- set session(e) {
872
- this.$$set({ session: e }), V();
873
- }
874
- get playerid() {
875
- return this.$$.ctx[26];
876
- }
877
- set playerid(e) {
878
- this.$$set({ playerid: e }), V();
879
- }
880
- get lang() {
881
- return this.$$.ctx[0];
882
- }
883
- set lang(e) {
884
- this.$$set({ lang: e }), V();
885
- }
886
- get clientstyling() {
887
- return this.$$.ctx[1];
888
- }
889
- set clientstyling(e) {
890
- this.$$set({ clientstyling: e }), V();
891
- }
892
- get clientstylingurl() {
893
- return this.$$.ctx[2];
894
- }
895
- set clientstylingurl(e) {
896
- this.$$set({ clientstylingurl: e }), V();
897
- }
898
- get translationurl() {
899
- return this.$$.ctx[3];
900
- }
901
- set translationurl(e) {
902
- this.$$set({ translationurl: e }), V();
903
- }
904
- get bonushistorystatus() {
905
- return this.$$.ctx[4];
906
- }
907
- set bonushistorystatus(e) {
908
- this.$$set({ bonushistorystatus: e }), V();
909
- }
910
- get bonushistorytype() {
911
- return this.$$.ctx[5];
912
- }
913
- set bonushistorytype(e) {
914
- this.$$set({ bonushistorytype: e }), V();
915
- }
916
- }
917
- je(on, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, bonushistorystatus: {}, bonushistorytype: {} }, [], [], !0);
918
- export {
919
- on as default
920
- };