@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,1038 +0,0 @@
1
- import { a as ze, $ as Ee, S as Te, i as De, f as J, c as Se, s as Le, b as Ne, e as M, k as j, o as ae, p as O, q as Re, u as je, v as Oe, x as qe, y as Ge, d as N, t as R, B as oe, g, l as u, O as re, m as V, n as X, r as ne, w as Q, K as ee, L as Be, j as r } from "./GeneralLogout-BZhvD1EQ.js";
2
- function le(o, e) {
3
- ze(o, e);
4
- }
5
- function Ue(o) {
6
- Ee.set(o);
7
- }
8
- const ue = {
9
- en: {
10
- titleBonuses: "Active Bonuses",
11
- bonusCode: "Do you have a bonus code?",
12
- getBonus: "Get Bonus",
13
- invalidBonusCode: "The bonus code provided is invalid.",
14
- noActiveBonuses: "You have no active bonuses at the moment.",
15
- forfeitBonus: "Are you sure want to forfeit bonus?",
16
- forfeitBonusConfirm: "Confirm",
17
- forfeitBonusCancel: "Cancel",
18
- successMessage: "Bonus claimed!",
19
- errorMessage: "Invalid bonus"
20
- },
21
- "zh-hk": {
22
- titleBonuses: "活躍獎金",
23
- bonusCode: "你有獎金代碼嗎?",
24
- getBonus: "獲得獎金",
25
- invalidBonusCode: "提供的紅利代碼無效。",
26
- noActiveBonuses: "您目前沒有有效的獎金。",
27
- forfeitBonus: "您確定要放棄獎金及其獎金嗎?",
28
- forfeitBonusConfirm: "確認",
29
- forfeitBonusCancel: "取消",
30
- successMessage: "獎金要求!",
31
- errorMessage: "無效獎金"
32
- },
33
- fr: {
34
- titleBonuses: "Bonus actifs",
35
- bonusCode: "Avez-vous un code bonus?",
36
- getBonus: "Obtenir un bonus",
37
- invalidBonusCode: "Le code bonus fourni n'est pas valide.",
38
- noActiveBonuses: "Vous n'avez pas de bonus actifs pour le moment.",
39
- forfeitBonus: "Etes-vous sûr de vouloir supprimer le bonus et ses gains?",
40
- forfeitBonusConfirm: "Confirmer",
41
- forfeitBonusCancel: "Annuler",
42
- successMessage: "Bonus réclamé!",
43
- errorMessage: "Bonus invalide"
44
- },
45
- ro: {
46
- titleBonuses: "Bonusuri active",
47
- bonusCode: "Ai un cod de bonus?",
48
- getBonus: "Revendică",
49
- invalidBonusCode: "Codul de bonus introdus este invalid.",
50
- noActiveBonuses: "Nu ai niciun bonus activ în acest moment.",
51
- forfeitBonus: "Ești sigur că vrei să anulezi acest bonus și câștigurile provenite din acest bonus?",
52
- forfeitBonusConfirm: "Confirmă",
53
- forfeitBonusCancel: "Anulează",
54
- successMessage: "Bonus revendicat!",
55
- errorMessage: "Bonus invalid"
56
- },
57
- es: {
58
- titleBonuses: "Bonos Activos",
59
- bonusCode: "Tienes un código de Bono?",
60
- getBonus: "Obtener Bono",
61
- invalidBonusCode: "El código del Bono no es válido.",
62
- noActiveBonuses: "Usted no tiene Bonos activos en este momento.",
63
- forfeitBonus: "Estas seguro que quieres perder el bono?",
64
- forfeitBonusConfirm: "Confirmar",
65
- forfeitBonusCancel: "Cancelar",
66
- successMessage: "Bono adjudicado!",
67
- errorMessage: "Bono invalido"
68
- },
69
- pt: {
70
- titleBonuses: "Bônus Ativos",
71
- bonusCode: "Você tem um código de bônus?",
72
- getBonus: "Obter bônus",
73
- invalidBonusCode: "O código de bônus fornecido é inválido.",
74
- noActiveBonuses: "Você não tem bônus ativos no momento.",
75
- forfeitBonus: "Tem certeza de que deseja perder o bônus e seus ganhos?",
76
- forfeitBonusConfirm: "Confirmar",
77
- forfeitBonusCancel: "Cancelar",
78
- successMessage: "Bônus reivindicado!",
79
- errorMessage: "Bônus inválido"
80
- },
81
- hr: {
82
- titleBonuses: "Aktivni bonusi",
83
- bonusCode: "Imate li bonus kod?",
84
- getBonus: "Preuzmi bonus",
85
- invalidBonusCode: "Navedeni bonus kod je nevažeći.",
86
- noActiveBonuses: "Trenutno nemate aktivnih bonusa.",
87
- forfeitBonus: "Jeste li sigurni da želite otkazati bonus?",
88
- forfeitBonusConfirm: "Potvrdi",
89
- forfeitBonusCancel: "Otkaži",
90
- successMessage: "Preuzet bonus!",
91
- errorMessage: "Nevažeći bonus"
92
- },
93
- "pt-br": {
94
- titleBonuses: "Títulos ativos",
95
- bonusCode: "Você tem um código de bônus?",
96
- getBonus: "Reivindicar bônus",
97
- invalidBonusCode: "O código de bônus emitido é inválido",
98
- noActiveBonuses: "Não possui títulos ativos no momento",
99
- forfeitBonus: "Tem certeza de que deseja recusar o bônus?",
100
- forfeitBonusConfirm: "confirme",
101
- forfeitBonusCancel: "Cancelar",
102
- successMessage: "Bônus ativado",
103
- errorMessage: "Voucher inválido"
104
- },
105
- "es-mx": {
106
- titleBonuses: "Bonos activos",
107
- bonusCode: "¿Tiene código de bonos?",
108
- getBonus: "Reclamar bono",
109
- invalidBonusCode: "El código de bono emitido es inválido",
110
- noActiveBonuses: "No tiene bonos activos al momento",
111
- forfeitBonus: "¿ Está seguro que quiere declinar el bono?",
112
- forfeitBonusConfirm: "Confirmar",
113
- forfeitBonusCancel: "Cancelar",
114
- successMessage: "Bono activado",
115
- errorMessage: "Bono inválido"
116
- },
117
- tr: {
118
- titleBonuses: "Aktif Bonuslar",
119
- bonusCode: "Bonus kodunuz var mı?",
120
- getBonus: "Bonusu Al",
121
- invalidBonusCode: "Sağlanan bonus kodu geçersiz.",
122
- noActiveBonuses: "Şu anda aktif bonusunuz yok.",
123
- forfeitBonus: "Bonusu kaybetmek istediğinizden emin misiniz?",
124
- forfeitBonusConfirm: "Onaylamak",
125
- forfeitBonusCancel: "İptal etmek",
126
- successMessage: "Bonus talep edildi!",
127
- errorMessage: "Geçersiz bonus"
128
- },
129
- "en-us": {
130
- titleBonuses: "Active Bonuses",
131
- bonusCode: "Do you have a bonus code?",
132
- getBonus: "Get Bonus",
133
- invalidBonusCode: "The bonus code provided is invalid.",
134
- noActiveBonuses: "You have no active bonuses at the moment.",
135
- forfeitBonus: "Are you sure want to forfeit bonus?",
136
- forfeitBonusConfirm: "Confirm",
137
- forfeitBonusCancel: "Cancel",
138
- successMessage: "Bonus claimed!",
139
- errorMessage: "Invalid bonus"
140
- }
141
- };
142
- if (typeof window != "undefined") {
143
- let o = function(e) {
144
- return function(...n) {
145
- try {
146
- return e.apply(this, n);
147
- } catch (t) {
148
- if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
149
- return !1;
150
- throw t;
151
- }
152
- };
153
- };
154
- customElements.define = o(customElements.define), import("./PlayerBonusCard-BvrlU7Ao.js").then(({ default: e }) => {
155
- !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
156
- });
157
- }
158
- function Ve(o) {
159
- Ne(o, "svelte-1uw0g7j", ".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.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, #D0046C));font-size:16px;cursor:pointer;padding:5px 10px;font-weight: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-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
160
- }
161
- function de(o, e, n) {
162
- const t = o.slice();
163
- return t[46] = e[n], t[48] = n, t;
164
- }
165
- function ce(o, e, n) {
166
- const t = o.slice();
167
- return t[49] = e[n], t;
168
- }
169
- function He(o) {
170
- let e, n, t, s = (
171
- /*$_*/
172
- o[14]("titleBonuses") + ""
173
- ), a, i, m, c, _ = (
174
- /*$_*/
175
- o[14]("bonusCode") + ""
176
- ), h, C, y, v, f, d, k = (
177
- /*$_*/
178
- o[14]("getBonus") + ""
179
- ), p, B, L, z, W, w, I, A, Y, G = (
180
- /*isMobile*/
181
- o[15] && Xe(o)
182
- ), E = (
183
- /*invalidBonusCode*/
184
- o[5] && pe(o)
185
- );
186
- function x(b, P) {
187
- return (
188
- /*activeBonusesList*/
189
- b[12].length === 0 ? Je : Ye
190
- );
191
- }
192
- let K = x(o), q = K(o), T = (
193
- /*activeBonusesList*/
194
- o[12].length !== 0 && me(o)
195
- ), D = (
196
- /*bonusModal*/
197
- o[13] && ge(o)
198
- );
199
- return {
200
- c() {
201
- e = M("div"), G && G.c(), n = N(), t = M("h2"), a = R(s), i = N(), m = M("div"), c = M("label"), h = R(_), C = N(), y = M("div"), v = M("input"), f = N(), d = M("button"), p = R(k), B = N(), E && E.c(), L = N(), z = M("div"), q.c(), W = N(), T && T.c(), w = N(), D && D.c(), I = oe(), g(t, "class", "ActiveBonusesTitle " + /*isMobile*/
202
- (o[15] ? "ActiveBonusesTitleNone" : "")), g(c, "for", "BonusCode"), g(v, "class", "BonusCodeInput " + /*isMobile*/
203
- (o[15] ? "BonusCodeInputMobile" : "")), g(v, "type", "text"), g(v, "id", "BonusCode"), g(d, "class", "SubmitBonusCode " + /*isMobile*/
204
- (o[15] ? "SubmitBonusCodeMobile" : "")), d.disabled = /*invalidBonusField*/
205
- o[4], g(y, "class", "BonusCodeWrapper " + /*isMobile*/
206
- (o[15] ? "BonusCodeWrapperMobile" : "")), g(m, "class", "BonusCodeContainer " + /*isMobile*/
207
- (o[15] ? "BonusCodeContainerMobile" : "")), g(z, "class", "ActiveBonusesGrid " + /*isMobile*/
208
- (o[15] ? "ActiveBonusesGridMobile" : "")), g(e, "class", "ActiveBonusesWrapper " + /*isMobile*/
209
- (o[15] ? "ActiveBonusesWrapperMobile" : ""));
210
- },
211
- m(b, P) {
212
- j(b, e, P), G && G.m(e, null), u(e, n), u(e, t), u(t, a), u(e, i), u(e, m), u(m, c), u(c, h), u(m, C), u(m, y), u(y, v), re(
213
- v,
214
- /*bonusCode*/
215
- o[6]
216
- ), u(y, f), u(y, d), u(d, p), u(m, B), E && E.m(m, null), u(e, L), u(e, z), q.m(z, null), u(e, W), T && T.m(e, null), j(b, w, P), D && D.m(b, P), j(b, I, P), A || (Y = [
217
- V(
218
- v,
219
- "input",
220
- /*input_input_handler*/
221
- o[29]
222
- ),
223
- V(
224
- v,
225
- "keyup",
226
- /*validateBonusCode*/
227
- o[17]
228
- ),
229
- V(
230
- d,
231
- "click",
232
- /*debouncedFunction*/
233
- o[22](
234
- /*claimBonus*/
235
- o[19]
236
- )
237
- )
238
- ], A = !0);
239
- },
240
- p(b, P) {
241
- /*isMobile*/
242
- b[15] && G.p(b, P), P[0] & /*$_*/
243
- 16384 && s !== (s = /*$_*/
244
- b[14]("titleBonuses") + "") && X(a, s), P[0] & /*$_*/
245
- 16384 && _ !== (_ = /*$_*/
246
- b[14]("bonusCode") + "") && X(h, _), P[0] & /*bonusCode*/
247
- 64 && v.value !== /*bonusCode*/
248
- b[6] && re(
249
- v,
250
- /*bonusCode*/
251
- b[6]
252
- ), P[0] & /*$_*/
253
- 16384 && k !== (k = /*$_*/
254
- b[14]("getBonus") + "") && X(p, k), P[0] & /*invalidBonusField*/
255
- 16 && (d.disabled = /*invalidBonusField*/
256
- b[4]), /*invalidBonusCode*/
257
- b[5] ? E ? E.p(b, P) : (E = pe(b), E.c(), E.m(m, null)) : E && (E.d(1), E = null), K === (K = x(b)) && q ? q.p(b, P) : (q.d(1), q = K(b), q && (q.c(), q.m(z, null))), /*activeBonusesList*/
258
- b[12].length !== 0 ? T ? T.p(b, P) : (T = me(b), T.c(), T.m(e, null)) : T && (T.d(1), T = null), /*bonusModal*/
259
- b[13] ? D ? D.p(b, P) : (D = ge(b), D.c(), D.m(I.parentNode, I)) : D && (D.d(1), D = null);
260
- },
261
- d(b) {
262
- b && (O(e), O(w), O(I)), G && G.d(), E && E.d(), q.d(), T && T.d(), D && D.d(b), A = !1, ne(Y);
263
- }
264
- };
265
- }
266
- function Xe(o) {
267
- let e, n, t, s, a, i, m, c, _, h, C = (
268
- /*$_*/
269
- o[14]("titleBonuses") + ""
270
- ), y, v, f;
271
- return {
272
- c() {
273
- e = M("div"), n = Q("svg"), t = Q("defs"), s = Q("style"), a = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), i = Q("g"), m = Q("g"), c = Q("path"), _ = N(), h = M("h2"), y = R(C), g(c, "class", "aaa"), g(c, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(c, "transform", "translate(15 15) rotate(180)"), g(m, "transform", "translate(20 158)"), g(i, "transform", "translate(-20 -158)"), g(n, "xmlns", "http://www.w3.org/2000/svg"), g(n, "width", "15"), g(n, "height", "15"), g(n, "viewBox", "0 0 15 15"), g(h, "class", "ActiveBonusesTitleMobile"), g(e, "class", "MenuReturnButton");
274
- },
275
- m(d, k) {
276
- j(d, e, k), u(e, n), u(n, t), u(t, s), u(s, a), u(n, i), u(i, m), u(m, c), u(e, _), u(e, h), u(h, y), v || (f = V(
277
- e,
278
- "click",
279
- /*click_handler*/
280
- o[28]
281
- ), v = !0);
282
- },
283
- p(d, k) {
284
- k[0] & /*$_*/
285
- 16384 && C !== (C = /*$_*/
286
- d[14]("titleBonuses") + "") && X(y, C);
287
- },
288
- d(d) {
289
- d && O(e), v = !1, f();
290
- }
291
- };
292
- }
293
- function pe(o) {
294
- let e, n = (
295
- /*$_*/
296
- o[14]("invalidBonusCode") + ""
297
- ), t;
298
- return {
299
- c() {
300
- e = M("p"), t = R(n), g(e, "class", "InvalidBonusCodeMessage");
301
- },
302
- m(s, a) {
303
- j(s, e, a), u(e, t);
304
- },
305
- p(s, a) {
306
- a[0] & /*$_*/
307
- 16384 && n !== (n = /*$_*/
308
- s[14]("invalidBonusCode") + "") && X(t, n);
309
- },
310
- d(s) {
311
- s && O(e);
312
- }
313
- };
314
- }
315
- function Ye(o) {
316
- let e, n = ee(
317
- /*activeBonusesList*/
318
- o[12]
319
- ), t = [];
320
- for (let s = 0; s < n.length; s += 1)
321
- t[s] = fe(ce(o, n, s));
322
- return {
323
- c() {
324
- for (let s = 0; s < t.length; s += 1)
325
- t[s].c();
326
- e = oe();
327
- },
328
- m(s, a) {
329
- for (let i = 0; i < t.length; i += 1)
330
- t[i] && t[i].m(s, a);
331
- j(s, e, a);
332
- },
333
- p(s, a) {
334
- if (a[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl*/
335
- 4103) {
336
- n = ee(
337
- /*activeBonusesList*/
338
- s[12]
339
- );
340
- let i;
341
- for (i = 0; i < n.length; i += 1) {
342
- const m = ce(s, n, i);
343
- t[i] ? t[i].p(m, a) : (t[i] = fe(m), t[i].c(), t[i].m(e.parentNode, e));
344
- }
345
- for (; i < t.length; i += 1)
346
- t[i].d(1);
347
- t.length = n.length;
348
- }
349
- },
350
- d(s) {
351
- s && O(e), Be(t, s);
352
- }
353
- };
354
- }
355
- function Je(o) {
356
- let e, n = (
357
- /*$_*/
358
- o[14]("noActiveBonuses") + ""
359
- ), t;
360
- return {
361
- c() {
362
- e = M("p"), t = R(n);
363
- },
364
- m(s, a) {
365
- j(s, e, a), u(e, t);
366
- },
367
- p(s, a) {
368
- a[0] & /*$_*/
369
- 16384 && n !== (n = /*$_*/
370
- s[14]("noActiveBonuses") + "") && X(t, n);
371
- },
372
- d(s) {
373
- s && O(e);
374
- }
375
- };
376
- }
377
- function Ke(o) {
378
- let e, n, t, s, a, i, m, c, _, h, C, y, v, f, d, k;
379
- return {
380
- c() {
381
- e = M("player-bonus-card"), r(e, "termsandconditionsdescription", n = /*activeBonus*/
382
- o[49].termsandconditionsdescription), r(e, "termsandconditionsurl", t = /*activeBonus*/
383
- o[49].termsandconditionsurl), r(e, "termsandconditionsasset", s = /*activeBonus*/
384
- o[49].termsandconditionsasset), r(e, "endpoint", a = /*activeBonus*/
385
- o[49].endpoint), r(e, "playerid", i = /*activeBonus*/
386
- o[49].playerid), r(e, "session", m = /*activeBonus*/
387
- o[49].session), r(e, "bonuswalletid", c = /*activeBonus*/
388
- o[49].walletId), r(e, "bonusdate", _ = /*activeBonus*/
389
- o[49].granted), r(e, "bonusstatus", h = /*activeBonus*/
390
- o[49].status), r(e, "bonusname", C = /*activeBonus*/
391
- o[49].name), r(e, "bonustype", y = /*activeBonus*/
392
- o[49].type), r(e, "bonusamount", v = /*activeBonus*/
393
- o[49].extension.grantedPlayerCurrencyAmount), r(e, "bonuswageringamount", f = `${/*activeBonus*/
394
- o[49].fulfilledWR} / ${/*activeBonus*/
395
- o[49].originalWageringRequirement}`), r(e, "bonusremainingamount", d = /*activeBonus*/
396
- o[49].currentAmount), r(e, "bonuscurrency", k = /*activeBonus*/
397
- o[49].currency), r(
398
- e,
399
- "lang",
400
- /*lang*/
401
- o[0]
402
- ), r(
403
- e,
404
- "clientstyling",
405
- /*clientstyling*/
406
- o[1]
407
- ), r(
408
- e,
409
- "clientstylingurl",
410
- /*clientstylingurl*/
411
- o[2]
412
- );
413
- },
414
- m(p, B) {
415
- j(p, e, B);
416
- },
417
- p(p, B) {
418
- B[0] & /*activeBonusesList*/
419
- 4096 && n !== (n = /*activeBonus*/
420
- p[49].termsandconditionsdescription) && r(e, "termsandconditionsdescription", n), B[0] & /*activeBonusesList*/
421
- 4096 && t !== (t = /*activeBonus*/
422
- p[49].termsandconditionsurl) && r(e, "termsandconditionsurl", t), B[0] & /*activeBonusesList*/
423
- 4096 && s !== (s = /*activeBonus*/
424
- p[49].termsandconditionsasset) && r(e, "termsandconditionsasset", s), B[0] & /*activeBonusesList*/
425
- 4096 && a !== (a = /*activeBonus*/
426
- p[49].endpoint) && r(e, "endpoint", a), B[0] & /*activeBonusesList*/
427
- 4096 && i !== (i = /*activeBonus*/
428
- p[49].playerid) && r(e, "playerid", i), B[0] & /*activeBonusesList*/
429
- 4096 && m !== (m = /*activeBonus*/
430
- p[49].session) && r(e, "session", m), B[0] & /*activeBonusesList*/
431
- 4096 && c !== (c = /*activeBonus*/
432
- p[49].walletId) && r(e, "bonuswalletid", c), B[0] & /*activeBonusesList*/
433
- 4096 && _ !== (_ = /*activeBonus*/
434
- p[49].granted) && r(e, "bonusdate", _), B[0] & /*activeBonusesList*/
435
- 4096 && h !== (h = /*activeBonus*/
436
- p[49].status) && r(e, "bonusstatus", h), B[0] & /*activeBonusesList*/
437
- 4096 && C !== (C = /*activeBonus*/
438
- p[49].name) && r(e, "bonusname", C), B[0] & /*activeBonusesList*/
439
- 4096 && y !== (y = /*activeBonus*/
440
- p[49].type) && r(e, "bonustype", y), B[0] & /*activeBonusesList*/
441
- 4096 && v !== (v = /*activeBonus*/
442
- p[49].extension.grantedPlayerCurrencyAmount) && r(e, "bonusamount", v), B[0] & /*activeBonusesList*/
443
- 4096 && f !== (f = `${/*activeBonus*/
444
- p[49].fulfilledWR} / ${/*activeBonus*/
445
- p[49].originalWageringRequirement}`) && r(e, "bonuswageringamount", f), B[0] & /*activeBonusesList*/
446
- 4096 && d !== (d = /*activeBonus*/
447
- p[49].currentAmount) && r(e, "bonusremainingamount", d), B[0] & /*activeBonusesList*/
448
- 4096 && k !== (k = /*activeBonus*/
449
- p[49].currency) && r(e, "bonuscurrency", k), B[0] & /*lang*/
450
- 1 && r(
451
- e,
452
- "lang",
453
- /*lang*/
454
- p[0]
455
- ), B[0] & /*clientstyling*/
456
- 2 && r(
457
- e,
458
- "clientstyling",
459
- /*clientstyling*/
460
- p[1]
461
- ), B[0] & /*clientstylingurl*/
462
- 4 && r(
463
- e,
464
- "clientstylingurl",
465
- /*clientstylingurl*/
466
- p[2]
467
- );
468
- },
469
- d(p) {
470
- p && O(e);
471
- }
472
- };
473
- }
474
- function Ze(o) {
475
- let e, n, t, s, a, i, m, c, _, h, C, y, v;
476
- return {
477
- c() {
478
- e = M("player-bonus-card"), r(e, "termsandconditionsdescription", n = /*activeBonus*/
479
- o[49].termsandconditionsdescription), r(e, "termsandconditionsurl", t = /*activeBonus*/
480
- o[49].termsandconditionsurl), r(e, "termsandconditionsasset", s = /*activeBonus*/
481
- o[49].termsandconditionsasset), r(e, "endpoint", a = /*activeBonus*/
482
- o[49].endpoint), r(e, "playerid", i = /*activeBonus*/
483
- o[49].playerid), r(e, "session", m = /*activeBonus*/
484
- o[49].session), r(e, "bonuswalletid", c = /*activeBonus*/
485
- o[49].walletId), r(e, "bonusdate", _ = /*activeBonus*/
486
- o[49].granted), r(e, "bonusstatus", h = /*activeBonus*/
487
- o[49].status), r(e, "bonusname", C = /*activeBonus*/
488
- o[49].name), r(e, "bonustype", y = /*activeBonus*/
489
- o[49].type), r(e, "bonuscurrency", v = /*activeBonus*/
490
- o[49].currency), r(
491
- e,
492
- "lang",
493
- /*lang*/
494
- o[0]
495
- ), r(
496
- e,
497
- "clientstyling",
498
- /*clientstyling*/
499
- o[1]
500
- ), r(
501
- e,
502
- "clientstylingurl",
503
- /*clientstylingurl*/
504
- o[2]
505
- );
506
- },
507
- m(f, d) {
508
- j(f, e, d);
509
- },
510
- p(f, d) {
511
- d[0] & /*activeBonusesList*/
512
- 4096 && n !== (n = /*activeBonus*/
513
- f[49].termsandconditionsdescription) && r(e, "termsandconditionsdescription", n), d[0] & /*activeBonusesList*/
514
- 4096 && t !== (t = /*activeBonus*/
515
- f[49].termsandconditionsurl) && r(e, "termsandconditionsurl", t), d[0] & /*activeBonusesList*/
516
- 4096 && s !== (s = /*activeBonus*/
517
- f[49].termsandconditionsasset) && r(e, "termsandconditionsasset", s), d[0] & /*activeBonusesList*/
518
- 4096 && a !== (a = /*activeBonus*/
519
- f[49].endpoint) && r(e, "endpoint", a), d[0] & /*activeBonusesList*/
520
- 4096 && i !== (i = /*activeBonus*/
521
- f[49].playerid) && r(e, "playerid", i), d[0] & /*activeBonusesList*/
522
- 4096 && m !== (m = /*activeBonus*/
523
- f[49].session) && r(e, "session", m), d[0] & /*activeBonusesList*/
524
- 4096 && c !== (c = /*activeBonus*/
525
- f[49].walletId) && r(e, "bonuswalletid", c), d[0] & /*activeBonusesList*/
526
- 4096 && _ !== (_ = /*activeBonus*/
527
- f[49].granted) && r(e, "bonusdate", _), d[0] & /*activeBonusesList*/
528
- 4096 && h !== (h = /*activeBonus*/
529
- f[49].status) && r(e, "bonusstatus", h), d[0] & /*activeBonusesList*/
530
- 4096 && C !== (C = /*activeBonus*/
531
- f[49].name) && r(e, "bonusname", C), d[0] & /*activeBonusesList*/
532
- 4096 && y !== (y = /*activeBonus*/
533
- f[49].type) && r(e, "bonustype", y), d[0] & /*activeBonusesList*/
534
- 4096 && v !== (v = /*activeBonus*/
535
- f[49].currency) && r(e, "bonuscurrency", v), d[0] & /*lang*/
536
- 1 && r(
537
- e,
538
- "lang",
539
- /*lang*/
540
- f[0]
541
- ), d[0] & /*clientstyling*/
542
- 2 && r(
543
- e,
544
- "clientstyling",
545
- /*clientstyling*/
546
- f[1]
547
- ), d[0] & /*clientstylingurl*/
548
- 4 && r(
549
- e,
550
- "clientstylingurl",
551
- /*clientstylingurl*/
552
- f[2]
553
- );
554
- },
555
- d(f) {
556
- f && O(e);
557
- }
558
- };
559
- }
560
- function fe(o) {
561
- let e;
562
- function n(a, i) {
563
- return (
564
- /*activeBonus*/
565
- a[49].type === "freeRound" ? Ze : Ke
566
- );
567
- }
568
- let t = n(o), s = t(o);
569
- return {
570
- c() {
571
- s.c(), e = oe();
572
- },
573
- m(a, i) {
574
- s.m(a, i), j(a, e, i);
575
- },
576
- p(a, i) {
577
- t === (t = n(a)) && s ? s.p(a, i) : (s.d(1), s = t(a), s && (s.c(), s.m(e.parentNode, e)));
578
- },
579
- d(a) {
580
- a && O(e), s.d(a);
581
- }
582
- };
583
- }
584
- function me(o) {
585
- let e, n, t, s, a, i, m, c, _, h, C, y, v, f, d, k, p, B, L, z = ee(Array(
586
- /*numberOfPages*/
587
- o[10]
588
- )), W = [];
589
- for (let w = 0; w < z.length; w += 1)
590
- W[w] = be(de(o, z, w));
591
- return {
592
- c() {
593
- e = M("div"), n = M("span"), t = R("|<"), a = N(), i = M("span"), m = R("<"), _ = N();
594
- for (let w = 0; w < W.length; w += 1)
595
- W[w].c();
596
- h = N(), C = M("span"), y = R(">"), f = N(), d = M("span"), k = R(">|"), g(n, "class", s = "BonusesFirst " + /*currentPage*/
597
- (o[11] === 0 ? "Inactive" : "")), g(i, "class", c = "BonusesPrev " + /*currentPage*/
598
- (o[11] === 0 ? "Inactive" : "")), g(C, "class", v = "BonusesNext " + /*currentPage*/
599
- (o[11] === /*numberOfPages*/
600
- o[10] - 1 ? "Inactive" : "")), g(d, "class", p = "BonusesLast " + /*currentPage*/
601
- (o[11] === /*numberOfPages*/
602
- o[10] - 1 ? "Inactive" : "")), g(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
603
- (o[15] ? "BonusesPaginationWrapperMobile" : ""));
604
- },
605
- m(w, I) {
606
- j(w, e, I), u(e, n), u(n, t), u(e, a), u(e, i), u(i, m), u(e, _);
607
- for (let A = 0; A < W.length; A += 1)
608
- W[A] && W[A].m(e, null);
609
- u(e, h), u(e, C), u(C, y), u(e, f), u(e, d), u(d, k), B || (L = [
610
- V(
611
- n,
612
- "click",
613
- /*click_handler_1*/
614
- o[30]
615
- ),
616
- V(
617
- i,
618
- "click",
619
- /*click_handler_2*/
620
- o[31]
621
- ),
622
- V(
623
- C,
624
- "click",
625
- /*click_handler_4*/
626
- o[33]
627
- ),
628
- V(
629
- d,
630
- "click",
631
- /*click_handler_5*/
632
- o[34]
633
- )
634
- ], B = !0);
635
- },
636
- p(w, I) {
637
- if (I[0] & /*currentPage*/
638
- 2048 && s !== (s = "BonusesFirst " + /*currentPage*/
639
- (w[11] === 0 ? "Inactive" : "")) && g(n, "class", s), I[0] & /*currentPage*/
640
- 2048 && c !== (c = "BonusesPrev " + /*currentPage*/
641
- (w[11] === 0 ? "Inactive" : "")) && g(i, "class", c), I[0] & /*currentPage, getActiveBonuses, numberOfPages*/
642
- 265216) {
643
- z = ee(Array(
644
- /*numberOfPages*/
645
- w[10]
646
- ));
647
- let A;
648
- for (A = 0; A < z.length; A += 1) {
649
- const Y = de(w, z, A);
650
- W[A] ? W[A].p(Y, I) : (W[A] = be(Y), W[A].c(), W[A].m(e, h));
651
- }
652
- for (; A < W.length; A += 1)
653
- W[A].d(1);
654
- W.length = z.length;
655
- }
656
- I[0] & /*currentPage, numberOfPages*/
657
- 3072 && v !== (v = "BonusesNext " + /*currentPage*/
658
- (w[11] === /*numberOfPages*/
659
- w[10] - 1 ? "Inactive" : "")) && g(C, "class", v), I[0] & /*currentPage, numberOfPages*/
660
- 3072 && p !== (p = "BonusesLast " + /*currentPage*/
661
- (w[11] === /*numberOfPages*/
662
- w[10] - 1 ? "Inactive" : "")) && g(d, "class", p);
663
- },
664
- d(w) {
665
- w && O(e), Be(W, w), B = !1, ne(L);
666
- }
667
- };
668
- }
669
- function be(o) {
670
- let e, n = (
671
- /*i*/
672
- o[48] + 1 + ""
673
- ), t, s, a, i;
674
- function m() {
675
- return (
676
- /*click_handler_3*/
677
- o[32](
678
- /*i*/
679
- o[48]
680
- )
681
- );
682
- }
683
- return {
684
- c() {
685
- e = M("span"), t = R(n), g(e, "class", s = "BonusesPage " + /*i*/
686
- (o[48] === /*currentPage*/
687
- o[11] ? "BonusPageActive" : ""));
688
- },
689
- m(c, _) {
690
- j(c, e, _), u(e, t), a || (i = V(e, "click", m), a = !0);
691
- },
692
- p(c, _) {
693
- o = c, _[0] & /*currentPage*/
694
- 2048 && s !== (s = "BonusesPage " + /*i*/
695
- (o[48] === /*currentPage*/
696
- o[11] ? "BonusPageActive" : "")) && g(e, "class", s);
697
- },
698
- d(c) {
699
- c && O(e), a = !1, i();
700
- }
701
- };
702
- }
703
- function ge(o) {
704
- let e, n, t, s, a = (
705
- /*$_*/
706
- o[14]("forfeitBonus") + ""
707
- ), i, m, c, _, h = (
708
- /*$_*/
709
- o[14]("forfeitBonusCancel") + ""
710
- ), C, y, v, f = (
711
- /*$_*/
712
- o[14]("forfeitBonusConfirm") + ""
713
- ), d, k, p;
714
- return {
715
- c() {
716
- e = M("div"), n = M("div"), t = M("div"), s = M("p"), i = R(a), m = N(), c = M("div"), _ = M("button"), C = R(h), y = N(), v = M("button"), d = R(f), g(s, "class", "ModalText"), g(_, "class", "ModalCancel"), g(v, "class", "ModalConfirm"), g(c, "class", "ModalButtons"), g(t, "class", "ModalBody"), g(n, "class", "ModalContent"), g(e, "class", "ModalWrapper " + /*isMobile*/
717
- (o[15] ? "ModalWrapperMobile" : ""));
718
- },
719
- m(B, L) {
720
- j(B, e, L), u(e, n), u(n, t), u(t, s), u(s, i), u(t, m), u(t, c), u(c, _), u(_, C), u(c, y), u(c, v), u(v, d), k || (p = [
721
- V(
722
- _,
723
- "click",
724
- /*closeBonusModal*/
725
- o[20]
726
- ),
727
- V(
728
- v,
729
- "click",
730
- /*debouncedFunction*/
731
- o[22](
732
- /*deleteBonus*/
733
- o[21]
734
- )
735
- )
736
- ], k = !0);
737
- },
738
- p(B, L) {
739
- L[0] & /*$_*/
740
- 16384 && a !== (a = /*$_*/
741
- B[14]("forfeitBonus") + "") && X(i, a), L[0] & /*$_*/
742
- 16384 && h !== (h = /*$_*/
743
- B[14]("forfeitBonusCancel") + "") && X(C, h), L[0] & /*$_*/
744
- 16384 && f !== (f = /*$_*/
745
- B[14]("forfeitBonusConfirm") + "") && X(d, f);
746
- },
747
- d(B) {
748
- B && O(e), k = !1, ne(p);
749
- }
750
- };
751
- }
752
- function Qe(o) {
753
- let e;
754
- function n(a, i) {
755
- return He;
756
- }
757
- let s = n()(o);
758
- return {
759
- c() {
760
- e = M("div"), s.c();
761
- },
762
- m(a, i) {
763
- j(a, e, i), s.m(e, null), o[35](e);
764
- },
765
- p(a, i) {
766
- s.p(a, i);
767
- },
768
- i: ae,
769
- o: ae,
770
- d(a) {
771
- a && O(e), s.d(), o[35](null);
772
- }
773
- };
774
- }
775
- let xe = "status=active", H = 6;
776
- function $e(o, e, n) {
777
- let t;
778
- Re(o, Ge, (l) => n(14, t = l));
779
- let { endpoint: s = "" } = e, { session: a = "" } = e, { playerid: i = "" } = e, { lang: m = "en" } = e, { playercurrency: c = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: C = "" } = e, y, v = window.navigator.userAgent, f = je(v) !== "PC", d = !0, k = !1, p = "", B = 0, L = 0, z = 0, W = 0, w = 0, I = [], A, Y = "", G = !1;
780
- const E = () => {
781
- fetch(C).then((F) => F.json()).then((F) => {
782
- Object.keys(F).forEach((S) => {
783
- le(S, F[S]);
784
- });
785
- }).catch((F) => {
786
- console.log(F);
787
- });
788
- };
789
- Object.keys(ue).forEach((l) => {
790
- le(l, ue[l]);
791
- });
792
- const x = (l) => {
793
- if (l.data)
794
- switch (l.data.type) {
795
- case "DeleteActiveBonus":
796
- Y = l.data.bonuswalletid, n(13, G = !0);
797
- break;
798
- }
799
- };
800
- function K(l, F) {
801
- return (...S) => {
802
- clearTimeout(A), A = setTimeout(
803
- () => {
804
- l.apply(this, S);
805
- },
806
- F
807
- );
808
- };
809
- }
810
- const q = () => {
811
- window.postMessage(
812
- {
813
- type: "PlayerAccountMenuActive",
814
- isMobile: f
815
- },
816
- window.location.href
817
- );
818
- }, T = () => !!p, D = () => {
819
- n(4, d = !T());
820
- }, b = (l) => {
821
- let F = {
822
- method: "GET",
823
- headers: { "X-SessionId": a }
824
- }, S = new URL(`${s}/v1/player/${i}/bonusWallet`);
825
- S.searchParams.append("filter", xe), S.searchParams.append("pagination", `offset=${l},limit=${H}`), fetch(S, F).then((U) => U.json()).then(
826
- (U) => {
827
- Array.isArray(U.items) && U.items.forEach((Z) => {
828
- var te, ie;
829
- const $ = (ie = (te = Z == null ? void 0 : Z.extension) == null ? void 0 : te.bonus) == null ? void 0 : ie.presentation;
830
- $ && (Z.termsandconditionsurl = $.url, Z.termsandconditionsdescription = $.description, Z.termsandconditionsasset = $.assets);
831
- }), n(10, W = Math.ceil(U.total / H)), l - H >= 0 && n(7, B = l - H), l + H < U.total && n(8, L = l + H), n(9, z = (W - 1) * H), n(11, w = l / H), n(12, I = (U == null ? void 0 : U.items) || []), window.scrollTo({ top: 0, behavior: "smooth" });
832
- },
833
- (U) => {
834
- console.error(U);
835
- }
836
- );
837
- }, P = () => {
838
- let l = new URL(`${s}/v1/player/${i}/claimbonus`), F = {
839
- method: "POST",
840
- headers: {
841
- "X-SessionId": a,
842
- accept: "application/json"
843
- }
844
- };
845
- l.searchParams.append("currency", c), l.searchParams.append("bonusCode", p), fetch(l.href, F).then((S) => {
846
- S.status == 200 ? (n(5, k = !1), b(0), window.postMessage(
847
- {
848
- type: "WidgetNotification",
849
- data: {
850
- type: "success",
851
- message: t("successMessage")
852
- }
853
- },
854
- window.location.href
855
- ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
856
- context: "PlayerActiveBonuses",
857
- userId: `${i || "Not logged in"}`,
858
- bonusCode: `${p}`
859
- })) : (n(5, k = !0), window.postMessage(
860
- {
861
- type: "WidgetNotification",
862
- data: {
863
- type: "error",
864
- message: t("errorMessage")
865
- }
866
- },
867
- window.location.href
868
- ));
869
- });
870
- }, se = () => {
871
- window.postMessage({ type: "EnableScroll" }, window.location.href), n(13, G = !1);
872
- }, ve = () => {
873
- let l = {
874
- method: "DELETE",
875
- headers: {
876
- "X-SessionId": a,
877
- "Content-Type": "application/json",
878
- Accept: "application/json"
879
- }
880
- }, F = new URL(`${s}/v1/player/${i}/bonusWallet`);
881
- F.searchParams.append("bonusWalletID", Y), fetch(F, l).then((S) => {
882
- S.status == 200 && (b(0), se());
883
- });
884
- }, _e = () => {
885
- Ue(m);
886
- }, ye = () => {
887
- let l = document.createElement("style");
888
- l.innerHTML = _, y.appendChild(l);
889
- }, Ce = () => {
890
- let l = new URL(h), F = document.createElement("style");
891
- fetch(l.href).then((S) => S.text()).then((S) => {
892
- F.innerHTML = S, setTimeout(
893
- () => {
894
- y.appendChild(F);
895
- },
896
- 1
897
- );
898
- });
899
- };
900
- function he(l) {
901
- return K(l, 1e3);
902
- }
903
- Oe(() => (window.addEventListener("message", x, !1), () => {
904
- window.removeEventListener("message", x);
905
- }));
906
- const we = () => q();
907
- function Me() {
908
- p = this.value, n(6, p);
909
- }
910
- const ke = () => b(0), Ae = () => b(B), We = (l) => b(l * H), Pe = () => b(L), Fe = () => b(z);
911
- function Ie(l) {
912
- qe[l ? "unshift" : "push"](() => {
913
- y = l, n(3, y);
914
- });
915
- }
916
- return o.$$set = (l) => {
917
- "endpoint" in l && n(23, s = l.endpoint), "session" in l && n(24, a = l.session), "playerid" in l && n(25, i = l.playerid), "lang" in l && n(0, m = l.lang), "playercurrency" in l && n(26, c = l.playercurrency), "clientstyling" in l && n(1, _ = l.clientstyling), "clientstylingurl" in l && n(2, h = l.clientstylingurl), "translationurl" in l && n(27, C = l.translationurl);
918
- }, o.$$.update = () => {
919
- o.$$.dirty[0] & /*lang*/
920
- 1 && m && _e(), o.$$.dirty[0] & /*session, playerid, endpoint*/
921
- 58720256 && a && i && s && b(0), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
922
- 12 && h && y && Ce(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
923
- 10 && _ && y && ye(), o.$$.dirty[0] & /*translationurl*/
924
- 134217728 && C && E();
925
- }, [
926
- m,
927
- _,
928
- h,
929
- y,
930
- d,
931
- k,
932
- p,
933
- B,
934
- L,
935
- z,
936
- W,
937
- w,
938
- I,
939
- G,
940
- t,
941
- f,
942
- q,
943
- D,
944
- b,
945
- P,
946
- se,
947
- ve,
948
- he,
949
- s,
950
- a,
951
- i,
952
- c,
953
- C,
954
- we,
955
- Me,
956
- ke,
957
- Ae,
958
- We,
959
- Pe,
960
- Fe,
961
- Ie
962
- ];
963
- }
964
- class eo extends Te {
965
- constructor(e) {
966
- super(), De(
967
- this,
968
- e,
969
- $e,
970
- Qe,
971
- Le,
972
- {
973
- endpoint: 23,
974
- session: 24,
975
- playerid: 25,
976
- lang: 0,
977
- playercurrency: 26,
978
- clientstyling: 1,
979
- clientstylingurl: 2,
980
- translationurl: 27
981
- },
982
- Ve,
983
- [-1, -1]
984
- );
985
- }
986
- get endpoint() {
987
- return this.$$.ctx[23];
988
- }
989
- set endpoint(e) {
990
- this.$$set({ endpoint: e }), J();
991
- }
992
- get session() {
993
- return this.$$.ctx[24];
994
- }
995
- set session(e) {
996
- this.$$set({ session: e }), J();
997
- }
998
- get playerid() {
999
- return this.$$.ctx[25];
1000
- }
1001
- set playerid(e) {
1002
- this.$$set({ playerid: e }), J();
1003
- }
1004
- get lang() {
1005
- return this.$$.ctx[0];
1006
- }
1007
- set lang(e) {
1008
- this.$$set({ lang: e }), J();
1009
- }
1010
- get playercurrency() {
1011
- return this.$$.ctx[26];
1012
- }
1013
- set playercurrency(e) {
1014
- this.$$set({ playercurrency: e }), J();
1015
- }
1016
- get clientstyling() {
1017
- return this.$$.ctx[1];
1018
- }
1019
- set clientstyling(e) {
1020
- this.$$set({ clientstyling: e }), J();
1021
- }
1022
- get clientstylingurl() {
1023
- return this.$$.ctx[2];
1024
- }
1025
- set clientstylingurl(e) {
1026
- this.$$set({ clientstylingurl: e }), J();
1027
- }
1028
- get translationurl() {
1029
- return this.$$.ctx[27];
1030
- }
1031
- set translationurl(e) {
1032
- this.$$set({ translationurl: e }), J();
1033
- }
1034
- }
1035
- Se(eo, { endpoint: {}, session: {}, playerid: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
1036
- export {
1037
- eo as default
1038
- };