@everymatrix/player-account-controller 1.99.9 → 1.99.11

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 (133) hide show
  1. package/components/{GeneralLogout-CS5JGbyZ.cjs → GeneralLogout-C8uha0fv.cjs} +1 -1
  2. package/components/{GeneralLogout-ylPz6d9-.js → GeneralLogout-C_gI_R1H.js} +1 -1
  3. package/components/{GeneralLogout-D_B99bgb.js → GeneralLogout-DNBmrn_I.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-CgAxAXeI.js → PlayerAccountBettingHistory-BIsdpuot.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-DaiEMxD4.js → PlayerAccountBettingHistory-C6cfVAPR.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-DK6VwiP4.cjs → PlayerAccountBettingHistory-CqyE--f0.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-D0gfVrRZ.js → PlayerAccountBiometrics-BykPq5Pg.js} +2 -2
  8. package/components/{PlayerAccountBiometrics-DROa0b2J.cjs → PlayerAccountBiometrics-Df-aEq50.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-BLSAHsMo.js → PlayerAccountBiometrics-dWjf0aht.js} +2 -2
  10. package/components/{PlayerAccountBiometricsAction-CCJNxSqo.js → PlayerAccountBiometricsAction-BRzfQqv3.js} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-DOWFzDik.cjs → PlayerAccountBiometricsAction-BUY5UdZq.cjs} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-BA-p7e8S.js → PlayerAccountBiometricsAction-N57o_Z9s.js} +1 -1
  13. package/components/{PlayerAccountClosure-_9_ijqTL.cjs → PlayerAccountClosure-C1B_ZBEU.cjs} +1 -1
  14. package/components/{PlayerAccountClosure-fM-ukh0T.js → PlayerAccountClosure-CaHcbZx4.js} +1 -1
  15. package/components/{PlayerAccountClosure-BEr3csP2.js → PlayerAccountClosure-DWW8qJzp.js} +1 -1
  16. package/components/{PlayerAccountController-MGbwC1HC.cjs → PlayerAccountController-CEK_HK71.cjs} +2 -2
  17. package/components/{PlayerAccountController-Bzyyos6a.js → PlayerAccountController-DEnPJQBh.js} +24 -24
  18. package/components/{PlayerAccountController-B1T83opy.js → PlayerAccountController-Es9irSft.js} +24 -24
  19. package/components/{PlayerAccountGamingLimits-BjAraTye.js → PlayerAccountGamingLimits-BO1DJPy8.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-BgHAF05-.js → PlayerAccountGamingLimits-DAznfZPX.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-CGIiFh8A.cjs → PlayerAccountGamingLimits-DOQwx_eh.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-CONAAeuw.js → PlayerAccountGamingLimitsConfirmationModal-BBu1e-Ak.js} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-2OjBn_gB.js → PlayerAccountGamingLimitsConfirmationModal-Bfn1pmET.js} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DkD2jmqk.cjs → PlayerAccountGamingLimitsConfirmationModal-CHRU7DSJ.cjs} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-Dic7pkSv.cjs → PlayerAccountGamingLimitsGroupEdit-BycCIQj4.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-DnxQ_Aun.js → PlayerAccountGamingLimitsGroupEdit-CQXsRkef.js} +5 -5
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-Do_JVTlh.js → PlayerAccountGamingLimitsGroupEdit-u49fPMYW.js} +5 -5
  28. package/components/{PlayerAccountGamingLimitsHistory2-DBKKjPyP.js → PlayerAccountGamingLimitsHistory2-C4nUS0Is.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-ln8ChRPg.cjs → PlayerAccountGamingLimitsHistory2-DH024n9N.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-36navF_9.js → PlayerAccountGamingLimitsHistory2-YwMa-qtz.js} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-YhlrrMHp.js → PlayerAccountGamingLimitsInfoCard-CKRqT6Lj.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-CJwro6TJ.cjs → PlayerAccountGamingLimitsInfoCard-CTXnun9j.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsInfoCard-CydiqUEg.js → PlayerAccountGamingLimitsInfoCard-iZOLXmWX.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-BRX4glWs.js → PlayerAccountGamingLimitsPage2Gm16-BMymC0LS.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-BOr9Bc4E.js → PlayerAccountGamingLimitsPage2Gm16-BdCe3DbI.js} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-Jw2Ox1Rq.cjs → PlayerAccountGamingLimitsPage2Gm16-DXvpHMMe.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-BwA85QG2.js → PlayerAccountGamingLimitsPopup-BsShxE2f.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-A5Dt3NqS.cjs → PlayerAccountGamingLimitsPopup-CGlqQamZ.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-B2ncDnxA.js → PlayerAccountGamingLimitsPopup-PUmnkn8S.js} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-DFoaYEgp.js → PlayerAccountGamingLimitsWrapper2-BHAtXifb.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-Bz6GR15u.cjs → PlayerAccountGamingLimitsWrapper2-DYjdtwuu.cjs} +1 -1
  42. package/components/{PlayerAccountGamingLimitsWrapper2-TJa8EDyX.js → PlayerAccountGamingLimitsWrapper2-tV34lN0c.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-B5ygzSUn.js → PlayerAccountGeneralConfirmationModal-BX71hwol.js} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-B9mM3ETK.js → PlayerAccountGeneralConfirmationModal-Bcv6MvSn.js} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-DPWUKnv5.cjs → PlayerAccountGeneralConfirmationModal-cohVk64N.cjs} +1 -1
  46. package/components/{PlayerAccountMenu-Bsg8AgDt.cjs → PlayerAccountMenu-BfpPhrV2.cjs} +1 -1
  47. package/components/{PlayerAccountMenu-BU9Bsu22.js → PlayerAccountMenu-DFE8RlKY.js} +2 -2
  48. package/components/{PlayerAccountMenu-C1dDqXNf.js → PlayerAccountMenu-DxNM9Mva.js} +2 -2
  49. package/components/{PlayerAccountModal-k8HbqXnc.cjs → PlayerAccountModal-BNg5U5dp.cjs} +1 -1
  50. package/components/{PlayerAccountModal-CZ2NFeqr.js → PlayerAccountModal-BuUXaLZ-.js} +1 -1
  51. package/components/{PlayerAccountModal-DhHn3Gor.js → PlayerAccountModal-C3EW1FN1.js} +1 -1
  52. package/components/{PlayerAccountNotifications-CeRoVh1h.js → PlayerAccountNotifications-BgwzfbUz.js} +1 -1
  53. package/components/{PlayerAccountNotifications-DiSUdhdN.js → PlayerAccountNotifications-BmJ6oFWs.js} +1 -1
  54. package/components/{PlayerAccountNotifications-AIqtTxaw.cjs → PlayerAccountNotifications-CSYI-JPC.cjs} +1 -1
  55. package/components/{PlayerAccountProductRestriction-CpG5yUNw.js → PlayerAccountProductRestriction-BnZZge6I.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-DWeu4kd2.cjs → PlayerAccountProductRestriction-DXvYpDTY.cjs} +1 -1
  57. package/components/{PlayerAccountProductRestriction-NMh2lqU_.js → PlayerAccountProductRestriction-jZlY4tH5.js} +3 -3
  58. package/components/{PlayerAccountReviewFrequency-VX7udrBu.js → PlayerAccountReviewFrequency-CWKXkUBA.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-By7dkZ6d.cjs → PlayerAccountReviewFrequency-C_YKhul2.cjs} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-DhSi-i8T.js → PlayerAccountReviewFrequency-DFoBgDn7.js} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-C7vkg2VA.js → PlayerAccountSelfExclusion-B8ZNDNjt.js} +2 -2
  62. package/components/{PlayerAccountSelfExclusion-ByKAsu3k.cjs → PlayerAccountSelfExclusion-Bhgm7vdZ.cjs} +1 -1
  63. package/components/{PlayerAccountSelfExclusion-CWx_CMao.js → PlayerAccountSelfExclusion-Dr_E2IGx.js} +2 -2
  64. package/components/{PlayerAccountTimeout-Daf4siRx.js → PlayerAccountTimeout-Bd7jp4DL.js} +3 -3
  65. package/components/{PlayerAccountTimeout-BxQCb2AL.cjs → PlayerAccountTimeout-BfJY3hup.cjs} +2 -2
  66. package/components/{PlayerAccountTimeout-C6vNq0oO.js → PlayerAccountTimeout-lbK0LfOW.js} +3 -3
  67. package/components/{PlayerAccountTransactionsHistory-BI9mzwfM.js → PlayerAccountTransactionsHistory-DGwKDMbT.js} +4 -4
  68. package/components/{PlayerAccountTransactionsHistory-Dnu70oFg.cjs → PlayerAccountTransactionsHistory-DWxH7aKx.cjs} +1 -1
  69. package/components/{PlayerAccountTransactionsHistory-DmRH7czz.js → PlayerAccountTransactionsHistory-NfpUToDp.js} +4 -4
  70. package/components/PlayerActiveBonuses-14y3VfS6.js +1495 -0
  71. package/components/PlayerActiveBonuses-DD510fSz.cjs +5 -0
  72. package/components/PlayerActiveBonuses-DY1LXEcN.js +1455 -0
  73. package/components/{PlayerBonusCard-CEis8AOy.cjs → PlayerBonusCard-CoILEVxs.cjs} +1 -1
  74. package/components/{PlayerBonusCard-DCDjhYy5.js → PlayerBonusCard-DDu5ZQOP.js} +2 -2
  75. package/components/{PlayerBonusCard-Cw5Po2BS.js → PlayerBonusCard-DmeXLAGA.js} +2 -2
  76. package/components/{PlayerBonusHistory-CRq2_811.js → PlayerBonusHistory-BSLthdCP.js} +4 -4
  77. package/components/{PlayerBonusHistory-5DiVHoEa.js → PlayerBonusHistory-CWPlVw8J.js} +4 -4
  78. package/components/{PlayerBonusHistory-D8XBnYmR.cjs → PlayerBonusHistory-DrXSLip7.cjs} +2 -2
  79. package/components/{PlayerChangePassword-X0AKn75L.js → PlayerChangePassword-DHbA0sqL.js} +1 -1
  80. package/components/{PlayerChangePassword-CXkTutX-.cjs → PlayerChangePassword-DZX74hgw.cjs} +1 -1
  81. package/components/{PlayerChangePassword-CqkKvCMX.js → PlayerChangePassword-hfTKFvsL.js} +1 -1
  82. package/components/{PlayerDeposit-Bv3ff77m.cjs → PlayerDeposit-1KF-pd_5.cjs} +1 -1
  83. package/components/{PlayerDeposit-BnyQm_xz.js → PlayerDeposit-CVtk6B-U.js} +1 -1
  84. package/components/{PlayerDeposit-CYdQ8WHT.js → PlayerDeposit-CxPuA1iT.js} +1 -1
  85. package/components/{PlayerGamingHistory-wgTzo5Ob.js → PlayerGamingHistory-BCNAnTTC.js} +3 -3
  86. package/components/{PlayerGamingHistory-D_hw-Z9A.js → PlayerGamingHistory-CRlL3g9J.js} +3 -3
  87. package/components/{PlayerGamingHistory-Cagn5YmN.cjs → PlayerGamingHistory-DvGFTlp5.cjs} +1 -1
  88. package/components/{PlayerPendingWithdrawals-VVZLjtMi.cjs → PlayerPendingWithdrawals-BEWlhMez.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-CgrKjP1j.js → PlayerPendingWithdrawals-BNwejUO0.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-B6SqB51w.js → PlayerPendingWithdrawals-gsIhvQXi.js} +1 -1
  91. package/components/{PlayerProfileInfo-D1sVmOcv.js → PlayerProfileInfo-3cnaz0Hf.js} +3 -3
  92. package/components/{PlayerProfileInfo-BuJ_DXqK.cjs → PlayerProfileInfo-CCQqpyP3.cjs} +1 -1
  93. package/components/{PlayerProfileInfo-BmKGNu7o.js → PlayerProfileInfo-ZVwlBvbh.js} +3 -3
  94. package/components/{PlayerRealityCheck-86583LeS.js → PlayerRealityCheck-Bi6lpL0v.js} +1 -1
  95. package/components/{PlayerRealityCheck-CdlWAkQg.js → PlayerRealityCheck-C9W8GtJR.js} +1 -1
  96. package/components/{PlayerRealityCheck-CpgSxLln.cjs → PlayerRealityCheck-myBgKAFp.cjs} +1 -1
  97. package/components/{PlayerTransactionHistory-bsxgV6xX.js → PlayerTransactionHistory-8mNREoYL.js} +1 -1
  98. package/components/{PlayerTransactionHistory-BlWEgh59.cjs → PlayerTransactionHistory-j6l71uHK.cjs} +1 -1
  99. package/components/{PlayerTransactionHistory-Dg2XlFwN.js → PlayerTransactionHistory-yz96f1bh.js} +1 -1
  100. package/components/{PlayerWithdrawal-D-XCh-ux.js → PlayerWithdrawal-BsIMkmuq.js} +1 -1
  101. package/components/{PlayerWithdrawal-DIcAZ2Za.js → PlayerWithdrawal-CbqAhvEu.js} +1 -1
  102. package/components/{PlayerWithdrawal-LDUCQQDt.cjs → PlayerWithdrawal-toa_4z_p.cjs} +1 -1
  103. package/components/{QrSessionGenerator-k0YDmYhV.cjs → QrSessionGenerator-C3uhzidE.cjs} +1 -1
  104. package/components/{QrSessionGenerator-9OoGV4BE.js → QrSessionGenerator-ChH_9ISD.js} +1 -1
  105. package/components/{QrSessionGenerator-C_rxm4a0.js → QrSessionGenerator-Czqk9RyS.js} +1 -1
  106. package/es2015/player-account-controller.cjs +1 -1
  107. package/es2015/player-account-controller.js +1 -1
  108. package/esnext/player-account-controller.js +1 -1
  109. package/package.json +1 -1
  110. package/stencil/{checkbox-group-input_16-B3Q8BsNt.js → checkbox-group-input_16-6Q48qnH3.js} +5 -5
  111. package/stencil/{checkbox-group-input_16-Ch2a614Y.js → checkbox-group-input_16-BMjvNvHa.js} +5 -5
  112. package/stencil/{checkbox-group-input_16-Bl3nz8vl.cjs → checkbox-group-input_16-DaVxkd-1.cjs} +2 -2
  113. package/stencil/{index-6e523641-n8F0I2Fs.js → index-6e523641-CJrpPK4C.js} +1 -1
  114. package/stencil/{index-6e523641-CzpA6fqp.js → index-6e523641-EWmP1pia.js} +1 -1
  115. package/stencil/{index-6e523641-CHZRFi0W.cjs → index-6e523641-TK5DF7QV.cjs} +1 -1
  116. package/stencil/{index-7469517b-BJUwqKKL.cjs → index-7469517b-CKJM9_63.cjs} +1 -1
  117. package/stencil/{index-7469517b-CcoXx0xZ.js → index-7469517b-HlczuUNe.js} +1 -1
  118. package/stencil/{index-7469517b-By8QE83v.js → index-7469517b-jUw8vEpT.js} +1 -1
  119. package/stencil/{pam-change-password-259289fa-Lma9NxXI.js → pam-change-password-259289fa-CNerHttU.js} +1 -1
  120. package/stencil/{pam-change-password-259289fa-B5dx1Axg.cjs → pam-change-password-259289fa-CX7Xc9Mv.cjs} +1 -1
  121. package/stencil/{pam-change-password-259289fa-DZy6C1de.js → pam-change-password-259289fa-D7M5FL_N.js} +1 -1
  122. package/stencil/{pam-change-password-CjebgjBK.js → pam-change-password-Cy6HSbFw.js} +1 -1
  123. package/stencil/{pam-change-password-C6oeJssX.cjs → pam-change-password-DYqjBlC4.cjs} +1 -1
  124. package/stencil/{pam-change-password-kW6qm3Cd.js → pam-change-password-dT3jE272.js} +1 -1
  125. package/stencil/{user-transaction-history-DF87ngqZ.js → user-transaction-history-BtnI2ldJ.js} +1 -1
  126. package/stencil/{user-transaction-history-p2F_rXVi.js → user-transaction-history-ZgGwRutF.js} +1 -1
  127. package/stencil/{user-transaction-history-CH5LwNcg.cjs → user-transaction-history-y79A7Y4b.cjs} +1 -1
  128. package/stencil/{user-transaction-history_2--tfZWSJL.cjs → user-transaction-history_2-Bw7IODA-.cjs} +2 -2
  129. package/stencil/{user-transaction-history_2-ChdfveXx.js → user-transaction-history_2-CYeXsQCF.js} +3 -3
  130. package/stencil/{user-transaction-history_2-CanvRRkc.js → user-transaction-history_2-kRVBG3Qw.js} +3 -3
  131. package/components/PlayerActiveBonuses-CCDB_bHe.cjs +0 -5
  132. package/components/PlayerActiveBonuses-C_KTLQjn.js +0 -1449
  133. package/components/PlayerActiveBonuses-DK7Fzx0t.js +0 -1409
@@ -0,0 +1,1455 @@
1
+ import { a as Ze, $ as xe, S as $e, i as en, s as nn, f as z, b as on, n as de, d as D, w as fe, u as J, K as we, e as j, p as f, x as H, g as A, q as U, v as O, t as B, h as sn, j as tn, o as an, y as Z, k as rn, L as pe, l as ae, m as Le, r as t, B as ln, C as un, D as dn, c as cn, A as fn } from "./PlayerAccountController-DEnPJQBh.js";
2
+ function Me(n, e) {
3
+ Ze(n, e);
4
+ }
5
+ function pn(n) {
6
+ xe.set(n);
7
+ }
8
+ const We = {
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
+ activeBonusesLoadError: "We are unable to load your active bonuses right now. Please try again later.",
16
+ forfeitBonus: "Are you sure want to forfeit bonus?",
17
+ forfeitBonusConfirm: "Confirm",
18
+ forfeitBonusCancel: "Cancel",
19
+ bonusClaimSuccessMessage: "Bonus claimed!",
20
+ bonusClaimErrorMessage: "Invalid bonus"
21
+ },
22
+ "zh-hk": {
23
+ titleBonuses: "活躍獎金",
24
+ bonusCode: "你有獎金代碼嗎?",
25
+ getBonus: "獲得獎金",
26
+ invalidBonusCode: "提供的紅利代碼無效。",
27
+ noActiveBonuses: "您目前沒有有效的獎金。",
28
+ activeBonusesLoadError: "目前無法載入您的有效獎金。請稍後再試。",
29
+ forfeitBonus: "您確定要放棄獎金及其獎金嗎?",
30
+ forfeitBonusConfirm: "確認",
31
+ forfeitBonusCancel: "取消",
32
+ bonusClaimSuccessMessage: "獎金要求!",
33
+ bonusClaimErrorMessage: "無效獎金"
34
+ },
35
+ fr: {
36
+ titleBonuses: "Bonus actifs",
37
+ bonusCode: "Avez-vous un code bonus?",
38
+ getBonus: "Obtenir un bonus",
39
+ invalidBonusCode: "Le code bonus fourni n'est pas valide.",
40
+ noActiveBonuses: "Vous n'avez pas de bonus actifs pour le moment.",
41
+ activeBonusesLoadError: "Nous ne pouvons pas charger vos bonus actifs pour le moment. Veuillez réessayer plus tard.",
42
+ forfeitBonus: "Etes-vous sûr de vouloir supprimer le bonus et ses gains?",
43
+ forfeitBonusConfirm: "Confirmer",
44
+ forfeitBonusCancel: "Annuler",
45
+ bonusClaimSuccessMessage: "Bonus réclamé!",
46
+ bonusClaimErrorMessage: "Bonus invalide"
47
+ },
48
+ ro: {
49
+ titleBonuses: "Bonusuri active",
50
+ bonusCode: "Ai un cod de bonus?",
51
+ getBonus: "Revendică",
52
+ invalidBonusCode: "Codul de bonus introdus este invalid.",
53
+ noActiveBonuses: "Nu ai niciun bonus activ în acest moment.",
54
+ activeBonusesLoadError: "Nu putem încărca bonusurile tale active momentan. Te rugăm să încerci din nou mai târziu.",
55
+ forfeitBonus: "Ești sigur că vrei să anulezi acest bonus și câștigurile provenite din acest bonus?",
56
+ forfeitBonusConfirm: "Confirmă",
57
+ forfeitBonusCancel: "Anulează",
58
+ bonusClaimSuccessMessage: "Bonus revendicat!",
59
+ bonusClaimErrorMessage: "Bonus invalid"
60
+ },
61
+ es: {
62
+ titleBonuses: "Bonos Activos",
63
+ bonusCode: "Tienes un código de Bono?",
64
+ getBonus: "Obtener Bono",
65
+ invalidBonusCode: "El código del Bono no es válido.",
66
+ noActiveBonuses: "Usted no tiene Bonos activos en este momento.",
67
+ activeBonusesLoadError: "No podemos cargar tus bonos activos en este momento. Inténtalo de nuevo más tarde.",
68
+ forfeitBonus: "Estas seguro que quieres perder el bono?",
69
+ forfeitBonusConfirm: "Confirmar",
70
+ forfeitBonusCancel: "Cancelar",
71
+ bonusClaimSuccessMessage: "Bono adjudicado!",
72
+ bonusClaimErrorMessage: "Bono invalido"
73
+ },
74
+ pt: {
75
+ titleBonuses: "Bônus Ativos",
76
+ bonusCode: "Você tem um código de bônus?",
77
+ getBonus: "Obter bônus",
78
+ invalidBonusCode: "O código de bônus fornecido é inválido.",
79
+ noActiveBonuses: "Você não tem bônus ativos no momento.",
80
+ activeBonusesLoadError: "Não foi possível carregar os seus bônus ativos neste momento. Tente novamente mais tarde.",
81
+ forfeitBonus: "Tem certeza de que deseja perder o bônus e seus ganhos?",
82
+ forfeitBonusConfirm: "Confirmar",
83
+ forfeitBonusCancel: "Cancelar",
84
+ bonusClaimSuccessMessage: "Bônus reivindicado!",
85
+ bonusClaimErrorMessage: "Bônus inválido"
86
+ },
87
+ hr: {
88
+ titleBonuses: "Aktivni bonusi",
89
+ bonusCode: "Imate li bonus kod?",
90
+ getBonus: "Preuzmi bonus",
91
+ invalidBonusCode: "Navedeni bonus kod je nevažeći.",
92
+ noActiveBonuses: "Trenutno nemate aktivnih bonusa.",
93
+ activeBonusesLoadError: "Trenutno ne možemo učitati vaše aktivne bonuse. Pokušajte ponovno kasnije.",
94
+ forfeitBonus: "Jeste li sigurni da želite otkazati bonus?",
95
+ forfeitBonusConfirm: "Potvrdi",
96
+ forfeitBonusCancel: "Otkaži",
97
+ bonusClaimSuccessMessage: "Preuzet bonus!",
98
+ bonusClaimErrorMessage: "Nevažeći bonus"
99
+ },
100
+ "pt-br": {
101
+ titleBonuses: "Títulos ativos",
102
+ bonusCode: "Você tem um código de bônus?",
103
+ getBonus: "Reivindicar bônus",
104
+ invalidBonusCode: "O código de bônus emitido é inválido",
105
+ noActiveBonuses: "Não possui títulos ativos no momento",
106
+ activeBonusesLoadError: "Não foi possível carregar seus bônus ativos no momento. Tente novamente mais tarde.",
107
+ forfeitBonus: "Tem certeza de que deseja recusar o bônus?",
108
+ forfeitBonusConfirm: "confirme",
109
+ forfeitBonusCancel: "Cancelar",
110
+ bonusClaimSuccessMessage: "Bônus ativado",
111
+ bonusClaimErrorMessage: "Voucher inválido"
112
+ },
113
+ "es-mx": {
114
+ titleBonuses: "Bonos activos",
115
+ bonusCode: "¿Tiene código de bonos?",
116
+ getBonus: "Reclamar bono",
117
+ invalidBonusCode: "El código de bono emitido es inválido",
118
+ noActiveBonuses: "No tiene bonos activos al momento",
119
+ activeBonusesLoadError: "No podemos cargar sus bonos activos en este momento. Inténtelo de nuevo más tarde.",
120
+ forfeitBonus: "¿ Está seguro que quiere declinar el bono?",
121
+ forfeitBonusConfirm: "Confirmar",
122
+ forfeitBonusCancel: "Cancelar",
123
+ bonusClaimSuccessMessage: "Bono activado",
124
+ bonusClaimErrorMessage: "Bono inválido"
125
+ },
126
+ tr: {
127
+ titleBonuses: "Aktif Bonuslar",
128
+ bonusCode: "Bonus kodunuz var mı?",
129
+ getBonus: "Bonusu Al",
130
+ invalidBonusCode: "Sağlanan bonus kodu geçersiz.",
131
+ noActiveBonuses: "Şu anda aktif bonusunuz yok.",
132
+ activeBonusesLoadError: "Aktif bonuslarınız şu anda yüklenemiyor. Lütfen daha sonra tekrar deneyin.",
133
+ forfeitBonus: "Bonusu kaybetmek istediğinizden emin misiniz?",
134
+ forfeitBonusConfirm: "Onaylamak",
135
+ forfeitBonusCancel: "İptal etmek",
136
+ bonusClaimSuccessMessage: "Bonus talep edildi!",
137
+ bonusClaimErrorMessage: "Geçersiz bonus"
138
+ },
139
+ "en-us": {
140
+ titleBonuses: "Active Bonuses",
141
+ bonusCode: "Do you have a bonus code?",
142
+ getBonus: "Get Bonus",
143
+ invalidBonusCode: "The bonus code provided is invalid.",
144
+ noActiveBonuses: "You have no active bonuses at the moment.",
145
+ activeBonusesLoadError: "We are unable to load your active bonuses right now. Please try again later.",
146
+ forfeitBonus: "Are you sure want to forfeit bonus?",
147
+ forfeitBonusConfirm: "Confirm",
148
+ forfeitBonusCancel: "Cancel",
149
+ bonusClaimSuccessMessage: "Bonus claimed!",
150
+ bonusClaimErrorMessage: "Invalid bonus"
151
+ }
152
+ }, me = {
153
+ CLAIM: "/v1/bonus/claim",
154
+ FORFEIT: "/v1/bonus/forfeit",
155
+ GRANTED: "/v1/bonus/granted"
156
+ }, Ae = {
157
+ TYPES: "standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",
158
+ STATUS_ACTIVE: "active",
159
+ STATUS_COMPLETED: "completed,released,forfeited,expired,closed"
160
+ }, mn = {
161
+ ODDS_BOOST: "oddsBoost"
162
+ };
163
+ class ce extends Error {
164
+ constructor(e) {
165
+ super(`Unable to load active bonuses (HTTP ${e})`), this.status = e, this.name = "BonusServerError";
166
+ }
167
+ }
168
+ async function be(n, e = {}, o = !1) {
169
+ const a = typeof n == "string" ? n : n.toString(), s = await fetch(a, e);
170
+ if (o && s.status >= 500 && s.status < 600)
171
+ throw new ce(s.status);
172
+ let r = null;
173
+ try {
174
+ r = await s.json();
175
+ } catch {
176
+ r = null;
177
+ }
178
+ if (s.ok && r)
179
+ return r;
180
+ const i = r && typeof r == "object" ? r : {}, d = {
181
+ success: !1,
182
+ errorMessage: typeof i.errorMessage == "string" && i.errorMessage || s.statusText || String(s.status),
183
+ errorCode: typeof i.errorCode == "number" ? i.errorCode : void 0
184
+ };
185
+ return { ...i, ...d };
186
+ }
187
+ async function bn(n, e, o) {
188
+ const a = `${n}${me.CLAIM}`;
189
+ return be(a, {
190
+ method: "PUT",
191
+ headers: {
192
+ "x-SessionId": e,
193
+ accept: "application/json",
194
+ "Content-Type": "application/json-patch+json"
195
+ },
196
+ body: JSON.stringify(o)
197
+ });
198
+ }
199
+ async function gn(n, e, o) {
200
+ const a = new URL(`${n}${me.FORFEIT}`);
201
+ return a.searchParams.append("bonusWalletID", o.bonusWalletID), be(a, {
202
+ method: "DELETE",
203
+ headers: {
204
+ "x-SessionId": e,
205
+ accept: "application/json"
206
+ }
207
+ });
208
+ }
209
+ async function Bn(n, e, o) {
210
+ const a = new URL(`${n}${me.GRANTED}`);
211
+ Object.entries(o).forEach(([r, i]) => {
212
+ i != null && a.searchParams.append(r, String(i));
213
+ });
214
+ const s = {};
215
+ return e && (s["x-SessionId"] = e), be(a, {
216
+ headers: s
217
+ }, !0);
218
+ }
219
+ if (typeof window < "u") {
220
+ let n = function(e) {
221
+ return function(...o) {
222
+ try {
223
+ return e.apply(this, o);
224
+ } catch (a) {
225
+ if (a instanceof DOMException && a.message.includes("has already been used with this registry") || a.message.includes("Cannot define multiple custom elements with the same tag name"))
226
+ return !1;
227
+ throw a;
228
+ }
229
+ };
230
+ };
231
+ customElements.define = n(customElements.define), import("./PlayerBonusCard-DmeXLAGA.js").then(({ default: e }) => {
232
+ !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
233
+ });
234
+ }
235
+ function vn(n) {
236
+ on(n, "svelte-2jgm79", '.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, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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:16px;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, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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,.BonusesPaginationWrapper .BonusesPage{all:unset;box-sizing:border-box;cursor:pointer}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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;cursor:default}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
237
+ }
238
+ function ke(n, e, o) {
239
+ const a = n.slice();
240
+ return a[59] = e[o], a[61] = o, a;
241
+ }
242
+ function Ee(n, e, o) {
243
+ const a = n.slice();
244
+ return a[62] = e[o], a;
245
+ }
246
+ function _n(n) {
247
+ let e, o, a, s, r, i, d, u, b, y, W = (
248
+ /*$_*/
249
+ n[22]("titleBonuses") + ""
250
+ ), k, _, h;
251
+ return {
252
+ c() {
253
+ e = A("div"), o = Z("svg"), a = Z("defs"), s = Z("style"), r = O(`.aaa {
254
+ fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
255
+ }
256
+ `), i = Z("g"), d = Z("g"), u = Z("path"), b = U(), y = A("h2"), k = O(W), B(u, "class", "aaa"), B(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(u, "transform", "translate(15 15) rotate(180)"), B(d, "transform", "translate(20 158)"), B(i, "transform", "translate(-20 -158)"), B(o, "xmlns", "http://www.w3.org/2000/svg"), B(o, "width", "15"), B(o, "height", "15"), B(o, "viewBox", "0 0 15 15"), B(y, "class", "ActiveBonusesTitleMobile"), B(e, "class", "MenuReturnButton");
257
+ },
258
+ m(w, C) {
259
+ j(w, e, C), f(e, o), f(o, a), f(a, s), f(s, r), f(o, i), f(i, d), f(d, u), f(e, b), f(e, y), f(y, k), _ || (h = H(
260
+ e,
261
+ "click",
262
+ /*click_handler*/
263
+ n[38]
264
+ ), _ = !0);
265
+ },
266
+ p(w, C) {
267
+ C[0] & /*$_*/
268
+ 4194304 && W !== (W = /*$_*/
269
+ w[22]("titleBonuses") + "") && J(k, W);
270
+ },
271
+ d(w) {
272
+ w && D(e), _ = !1, h();
273
+ }
274
+ };
275
+ }
276
+ function Se(n) {
277
+ let e, o = (
278
+ /*$_*/
279
+ n[22]("invalidBonusCode") + ""
280
+ ), a;
281
+ return {
282
+ c() {
283
+ e = A("p"), a = O(o), B(e, "class", "InvalidBonusCodeMessage");
284
+ },
285
+ m(s, r) {
286
+ j(s, e, r), f(e, a);
287
+ },
288
+ p(s, r) {
289
+ r[0] & /*$_*/
290
+ 4194304 && o !== (o = /*$_*/
291
+ s[22]("invalidBonusCode") + "") && J(a, o);
292
+ },
293
+ d(s) {
294
+ s && D(e);
295
+ }
296
+ };
297
+ }
298
+ function yn(n) {
299
+ let e, o, a;
300
+ function s(u, b) {
301
+ return (
302
+ /*hasServerError*/
303
+ u[11] ? Mn : (
304
+ /*activeBonusesList*/
305
+ u[20].length === 0 ? wn : Cn
306
+ )
307
+ );
308
+ }
309
+ let r = s(n), i = r(n), d = !/*hasServerError*/
310
+ n[11] && /*activeBonusesList*/
311
+ n[20].length !== 0 && Te(n);
312
+ return {
313
+ c() {
314
+ e = A("div"), i.c(), o = U(), d && d.c(), a = pe(), B(e, "class", "ActiveBonusesGrid " + /*isMobile*/
315
+ (n[23] ? "ActiveBonusesGridMobile" : ""));
316
+ },
317
+ m(u, b) {
318
+ j(u, e, b), i.m(e, null), j(u, o, b), d && d.m(u, b), j(u, a, b);
319
+ },
320
+ p(u, b) {
321
+ r === (r = s(u)) && i ? i.p(u, b) : (i.d(1), i = r(u), i && (i.c(), i.m(e, null))), !/*hasServerError*/
322
+ u[11] && /*activeBonusesList*/
323
+ u[20].length !== 0 ? d ? d.p(u, b) : (d = Te(u), d.c(), d.m(a.parentNode, a)) : d && (d.d(1), d = null);
324
+ },
325
+ d(u) {
326
+ u && (D(e), D(o), D(a)), i.d(), d && d.d(u);
327
+ }
328
+ };
329
+ }
330
+ function hn(n) {
331
+ let e;
332
+ return {
333
+ c() {
334
+ e = A("div"), B(e, "class", "ModalLoader"), B(e, "part", "ModalLoader");
335
+ },
336
+ m(o, a) {
337
+ j(o, e, a);
338
+ },
339
+ p: de,
340
+ d(o) {
341
+ o && D(e);
342
+ }
343
+ };
344
+ }
345
+ function Cn(n) {
346
+ let e, o = ae(
347
+ /*activeBonusesList*/
348
+ n[20]
349
+ ), a = [];
350
+ for (let s = 0; s < o.length; s += 1)
351
+ a[s] = Pe(Ee(n, o, s));
352
+ return {
353
+ c() {
354
+ for (let s = 0; s < a.length; s += 1)
355
+ a[s].c();
356
+ e = pe();
357
+ },
358
+ m(s, r) {
359
+ for (let i = 0; i < a.length; i += 1)
360
+ a[i] && a[i].m(s, r);
361
+ j(s, e, r);
362
+ },
363
+ p(s, r) {
364
+ if (r[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus, filterbonusbalance*/
365
+ 1049087) {
366
+ o = ae(
367
+ /*activeBonusesList*/
368
+ s[20]
369
+ );
370
+ let i;
371
+ for (i = 0; i < o.length; i += 1) {
372
+ const d = Ee(s, o, i);
373
+ a[i] ? a[i].p(d, r) : (a[i] = Pe(d), a[i].c(), a[i].m(e.parentNode, e));
374
+ }
375
+ for (; i < a.length; i += 1)
376
+ a[i].d(1);
377
+ a.length = o.length;
378
+ }
379
+ },
380
+ d(s) {
381
+ s && D(e), Le(a, s);
382
+ }
383
+ };
384
+ }
385
+ function wn(n) {
386
+ let e, o = (
387
+ /*$_*/
388
+ n[22]("noActiveBonuses") + ""
389
+ ), a;
390
+ return {
391
+ c() {
392
+ e = A("p"), a = O(o);
393
+ },
394
+ m(s, r) {
395
+ j(s, e, r), f(e, a);
396
+ },
397
+ p(s, r) {
398
+ r[0] & /*$_*/
399
+ 4194304 && o !== (o = /*$_*/
400
+ s[22]("noActiveBonuses") + "") && J(a, o);
401
+ },
402
+ d(s) {
403
+ s && D(e);
404
+ }
405
+ };
406
+ }
407
+ function Mn(n) {
408
+ let e, o = (
409
+ /*$_*/
410
+ n[22]("activeBonusesLoadError") + ""
411
+ ), a;
412
+ return {
413
+ c() {
414
+ e = A("p"), a = O(o), B(e, "class", "ActiveBonusesErrorMessage"), B(e, "role", "alert");
415
+ },
416
+ m(s, r) {
417
+ j(s, e, r), f(e, a);
418
+ },
419
+ p(s, r) {
420
+ r[0] & /*$_*/
421
+ 4194304 && o !== (o = /*$_*/
422
+ s[22]("activeBonusesLoadError") + "") && J(a, o);
423
+ },
424
+ d(s) {
425
+ s && D(e);
426
+ }
427
+ };
428
+ }
429
+ function Wn(n) {
430
+ let e, o, a, s, r, i, d, u, b, y, W, k, _, h, w, C, p, c;
431
+ return {
432
+ c() {
433
+ e = A("player-bonus-card"), t(e, "termsandconditionsdescription", o = /*activeBonus*/
434
+ n[62].termsandconditionsdescription), t(e, "termsandconditionsurl", a = /*activeBonus*/
435
+ n[62].termsandconditionsurl), t(e, "termsandconditionsasset", s = /*activeBonus*/
436
+ n[62].termsandconditionsasset), t(e, "endpoint", r = /*activeBonus*/
437
+ n[62].endpoint), t(e, "playerid", i = /*activeBonus*/
438
+ n[62].playerid), t(e, "session", d = /*activeBonus*/
439
+ n[62].session), t(e, "bonuswalletid", u = /*activeBonus*/
440
+ n[62].walletId), t(e, "bonusdate", b = /*activeBonus*/
441
+ n[62].granted), t(e, "bonusexpirationdate", y = /*activeBonus*/
442
+ n[62].expiryTime), t(e, "bonusstatus", W = /*activeBonus*/
443
+ n[62].status), t(e, "bonusname", k = /*activeBonus*/
444
+ n[62].name), t(e, "bonustype", _ = /*activeBonus*/
445
+ n[62].type), t(e, "bonusamount", h = /*activeBonus*/
446
+ n[62].extension.grantedPlayerCurrencyAmount), t(e, "bonuswageringamount", w = `${/*activeBonus*/
447
+ n[62].fulfilledWR} / ${/*activeBonus*/
448
+ n[62].originalWageringRequirement}`), t(e, "bonusremainingamount", C = /*activeBonus*/
449
+ n[62].currentAmount), t(e, "bonuscurrency", p = /*activeBonus*/
450
+ n[62].currency), t(e, "isWinBonus", c = /*activeBonus*/
451
+ n[62].isWinBonus), t(
452
+ e,
453
+ "lang",
454
+ /*lang*/
455
+ n[0]
456
+ ), t(
457
+ e,
458
+ "dateformat",
459
+ /*dateformat*/
460
+ n[6]
461
+ ), t(
462
+ e,
463
+ "clientstyling",
464
+ /*clientstyling*/
465
+ n[1]
466
+ ), t(
467
+ e,
468
+ "clientstylingurl",
469
+ /*clientstylingurl*/
470
+ n[2]
471
+ ), t(
472
+ e,
473
+ "mbsource",
474
+ /*mbsource*/
475
+ n[3]
476
+ ), t(
477
+ e,
478
+ "translationurl",
479
+ /*translationurl*/
480
+ n[4]
481
+ ), t(
482
+ e,
483
+ "currencylocale",
484
+ /*currencylocale*/
485
+ n[5]
486
+ ), t(
487
+ e,
488
+ "ishiddenwageringbonus",
489
+ /*ishiddenwageringbonus*/
490
+ n[7]
491
+ ), t(
492
+ e,
493
+ "filterbonusbalance",
494
+ /*filterbonusbalance*/
495
+ n[8]
496
+ );
497
+ },
498
+ m(m, v) {
499
+ j(m, e, v);
500
+ },
501
+ p(m, v) {
502
+ v[0] & /*activeBonusesList*/
503
+ 1048576 && o !== (o = /*activeBonus*/
504
+ m[62].termsandconditionsdescription) && t(e, "termsandconditionsdescription", o), v[0] & /*activeBonusesList*/
505
+ 1048576 && a !== (a = /*activeBonus*/
506
+ m[62].termsandconditionsurl) && t(e, "termsandconditionsurl", a), v[0] & /*activeBonusesList*/
507
+ 1048576 && s !== (s = /*activeBonus*/
508
+ m[62].termsandconditionsasset) && t(e, "termsandconditionsasset", s), v[0] & /*activeBonusesList*/
509
+ 1048576 && r !== (r = /*activeBonus*/
510
+ m[62].endpoint) && t(e, "endpoint", r), v[0] & /*activeBonusesList*/
511
+ 1048576 && i !== (i = /*activeBonus*/
512
+ m[62].playerid) && t(e, "playerid", i), v[0] & /*activeBonusesList*/
513
+ 1048576 && d !== (d = /*activeBonus*/
514
+ m[62].session) && t(e, "session", d), v[0] & /*activeBonusesList*/
515
+ 1048576 && u !== (u = /*activeBonus*/
516
+ m[62].walletId) && t(e, "bonuswalletid", u), v[0] & /*activeBonusesList*/
517
+ 1048576 && b !== (b = /*activeBonus*/
518
+ m[62].granted) && t(e, "bonusdate", b), v[0] & /*activeBonusesList*/
519
+ 1048576 && y !== (y = /*activeBonus*/
520
+ m[62].expiryTime) && t(e, "bonusexpirationdate", y), v[0] & /*activeBonusesList*/
521
+ 1048576 && W !== (W = /*activeBonus*/
522
+ m[62].status) && t(e, "bonusstatus", W), v[0] & /*activeBonusesList*/
523
+ 1048576 && k !== (k = /*activeBonus*/
524
+ m[62].name) && t(e, "bonusname", k), v[0] & /*activeBonusesList*/
525
+ 1048576 && _ !== (_ = /*activeBonus*/
526
+ m[62].type) && t(e, "bonustype", _), v[0] & /*activeBonusesList*/
527
+ 1048576 && h !== (h = /*activeBonus*/
528
+ m[62].extension.grantedPlayerCurrencyAmount) && t(e, "bonusamount", h), v[0] & /*activeBonusesList*/
529
+ 1048576 && w !== (w = `${/*activeBonus*/
530
+ m[62].fulfilledWR} / ${/*activeBonus*/
531
+ m[62].originalWageringRequirement}`) && t(e, "bonuswageringamount", w), v[0] & /*activeBonusesList*/
532
+ 1048576 && C !== (C = /*activeBonus*/
533
+ m[62].currentAmount) && t(e, "bonusremainingamount", C), v[0] & /*activeBonusesList*/
534
+ 1048576 && p !== (p = /*activeBonus*/
535
+ m[62].currency) && t(e, "bonuscurrency", p), v[0] & /*activeBonusesList*/
536
+ 1048576 && c !== (c = /*activeBonus*/
537
+ m[62].isWinBonus) && t(e, "isWinBonus", c), v[0] & /*lang*/
538
+ 1 && t(
539
+ e,
540
+ "lang",
541
+ /*lang*/
542
+ m[0]
543
+ ), v[0] & /*dateformat*/
544
+ 64 && t(
545
+ e,
546
+ "dateformat",
547
+ /*dateformat*/
548
+ m[6]
549
+ ), v[0] & /*clientstyling*/
550
+ 2 && t(
551
+ e,
552
+ "clientstyling",
553
+ /*clientstyling*/
554
+ m[1]
555
+ ), v[0] & /*clientstylingurl*/
556
+ 4 && t(
557
+ e,
558
+ "clientstylingurl",
559
+ /*clientstylingurl*/
560
+ m[2]
561
+ ), v[0] & /*mbsource*/
562
+ 8 && t(
563
+ e,
564
+ "mbsource",
565
+ /*mbsource*/
566
+ m[3]
567
+ ), v[0] & /*translationurl*/
568
+ 16 && t(
569
+ e,
570
+ "translationurl",
571
+ /*translationurl*/
572
+ m[4]
573
+ ), v[0] & /*currencylocale*/
574
+ 32 && t(
575
+ e,
576
+ "currencylocale",
577
+ /*currencylocale*/
578
+ m[5]
579
+ ), v[0] & /*ishiddenwageringbonus*/
580
+ 128 && t(
581
+ e,
582
+ "ishiddenwageringbonus",
583
+ /*ishiddenwageringbonus*/
584
+ m[7]
585
+ ), v[0] & /*filterbonusbalance*/
586
+ 256 && t(
587
+ e,
588
+ "filterbonusbalance",
589
+ /*filterbonusbalance*/
590
+ m[8]
591
+ );
592
+ },
593
+ d(m) {
594
+ m && D(e);
595
+ }
596
+ };
597
+ }
598
+ function An(n) {
599
+ let e, o, a, s, r, i, d, u, b, y, W, k, _, h, w, C;
600
+ return {
601
+ c() {
602
+ e = A("player-bonus-card"), t(e, "termsandconditionsdescription", o = /*activeBonus*/
603
+ n[62].termsandconditionsdescription), t(e, "termsandconditionsurl", a = /*activeBonus*/
604
+ n[62].termsandconditionsurl), t(e, "termsandconditionsasset", s = /*activeBonus*/
605
+ n[62].termsandconditionsasset), t(e, "endpoint", r = /*activeBonus*/
606
+ n[62].endpoint), t(e, "playerid", i = /*activeBonus*/
607
+ n[62].playerid), t(e, "session", d = /*activeBonus*/
608
+ n[62].session), t(e, "bonuswalletid", u = /*activeBonus*/
609
+ n[62].walletId), t(e, "bonusdate", b = /*activeBonus*/
610
+ n[62].granted), t(e, "bonusexpirationdate", y = /*activeBonus*/
611
+ n[62].expiryTime), t(e, "bonusstatus", W = /*activeBonus*/
612
+ n[62].status), t(e, "bonusname", k = /*activeBonus*/
613
+ n[62].name), t(e, "bonustype", _ = /*activeBonus*/
614
+ n[62].type), t(e, "bonuscurrency", h = /*activeBonus*/
615
+ n[62].currency), t(e, "bonusfreespins", w = /*activeBonus*/
616
+ n[62].freeRoundNumber), t(e, "isWinBonus", C = /*activeBonus*/
617
+ n[62].isWinBonus), t(
618
+ e,
619
+ "lang",
620
+ /*lang*/
621
+ n[0]
622
+ ), t(
623
+ e,
624
+ "dateformat",
625
+ /*dateformat*/
626
+ n[6]
627
+ ), t(
628
+ e,
629
+ "clientstyling",
630
+ /*clientstyling*/
631
+ n[1]
632
+ ), t(
633
+ e,
634
+ "clientstylingurl",
635
+ /*clientstylingurl*/
636
+ n[2]
637
+ ), t(
638
+ e,
639
+ "mbsource",
640
+ /*mbsource*/
641
+ n[3]
642
+ ), t(
643
+ e,
644
+ "translationurl",
645
+ /*translationurl*/
646
+ n[4]
647
+ ), t(
648
+ e,
649
+ "currencylocale",
650
+ /*currencylocale*/
651
+ n[5]
652
+ ), t(
653
+ e,
654
+ "ishiddenwageringbonus",
655
+ /*ishiddenwageringbonus*/
656
+ n[7]
657
+ ), t(
658
+ e,
659
+ "filterbonusbalance",
660
+ /*filterbonusbalance*/
661
+ n[8]
662
+ );
663
+ },
664
+ m(p, c) {
665
+ j(p, e, c);
666
+ },
667
+ p(p, c) {
668
+ c[0] & /*activeBonusesList*/
669
+ 1048576 && o !== (o = /*activeBonus*/
670
+ p[62].termsandconditionsdescription) && t(e, "termsandconditionsdescription", o), c[0] & /*activeBonusesList*/
671
+ 1048576 && a !== (a = /*activeBonus*/
672
+ p[62].termsandconditionsurl) && t(e, "termsandconditionsurl", a), c[0] & /*activeBonusesList*/
673
+ 1048576 && s !== (s = /*activeBonus*/
674
+ p[62].termsandconditionsasset) && t(e, "termsandconditionsasset", s), c[0] & /*activeBonusesList*/
675
+ 1048576 && r !== (r = /*activeBonus*/
676
+ p[62].endpoint) && t(e, "endpoint", r), c[0] & /*activeBonusesList*/
677
+ 1048576 && i !== (i = /*activeBonus*/
678
+ p[62].playerid) && t(e, "playerid", i), c[0] & /*activeBonusesList*/
679
+ 1048576 && d !== (d = /*activeBonus*/
680
+ p[62].session) && t(e, "session", d), c[0] & /*activeBonusesList*/
681
+ 1048576 && u !== (u = /*activeBonus*/
682
+ p[62].walletId) && t(e, "bonuswalletid", u), c[0] & /*activeBonusesList*/
683
+ 1048576 && b !== (b = /*activeBonus*/
684
+ p[62].granted) && t(e, "bonusdate", b), c[0] & /*activeBonusesList*/
685
+ 1048576 && y !== (y = /*activeBonus*/
686
+ p[62].expiryTime) && t(e, "bonusexpirationdate", y), c[0] & /*activeBonusesList*/
687
+ 1048576 && W !== (W = /*activeBonus*/
688
+ p[62].status) && t(e, "bonusstatus", W), c[0] & /*activeBonusesList*/
689
+ 1048576 && k !== (k = /*activeBonus*/
690
+ p[62].name) && t(e, "bonusname", k), c[0] & /*activeBonusesList*/
691
+ 1048576 && _ !== (_ = /*activeBonus*/
692
+ p[62].type) && t(e, "bonustype", _), c[0] & /*activeBonusesList*/
693
+ 1048576 && h !== (h = /*activeBonus*/
694
+ p[62].currency) && t(e, "bonuscurrency", h), c[0] & /*activeBonusesList*/
695
+ 1048576 && w !== (w = /*activeBonus*/
696
+ p[62].freeRoundNumber) && t(e, "bonusfreespins", w), c[0] & /*activeBonusesList*/
697
+ 1048576 && C !== (C = /*activeBonus*/
698
+ p[62].isWinBonus) && t(e, "isWinBonus", C), c[0] & /*lang*/
699
+ 1 && t(
700
+ e,
701
+ "lang",
702
+ /*lang*/
703
+ p[0]
704
+ ), c[0] & /*dateformat*/
705
+ 64 && t(
706
+ e,
707
+ "dateformat",
708
+ /*dateformat*/
709
+ p[6]
710
+ ), c[0] & /*clientstyling*/
711
+ 2 && t(
712
+ e,
713
+ "clientstyling",
714
+ /*clientstyling*/
715
+ p[1]
716
+ ), c[0] & /*clientstylingurl*/
717
+ 4 && t(
718
+ e,
719
+ "clientstylingurl",
720
+ /*clientstylingurl*/
721
+ p[2]
722
+ ), c[0] & /*mbsource*/
723
+ 8 && t(
724
+ e,
725
+ "mbsource",
726
+ /*mbsource*/
727
+ p[3]
728
+ ), c[0] & /*translationurl*/
729
+ 16 && t(
730
+ e,
731
+ "translationurl",
732
+ /*translationurl*/
733
+ p[4]
734
+ ), c[0] & /*currencylocale*/
735
+ 32 && t(
736
+ e,
737
+ "currencylocale",
738
+ /*currencylocale*/
739
+ p[5]
740
+ ), c[0] & /*ishiddenwageringbonus*/
741
+ 128 && t(
742
+ e,
743
+ "ishiddenwageringbonus",
744
+ /*ishiddenwageringbonus*/
745
+ p[7]
746
+ ), c[0] & /*filterbonusbalance*/
747
+ 256 && t(
748
+ e,
749
+ "filterbonusbalance",
750
+ /*filterbonusbalance*/
751
+ p[8]
752
+ );
753
+ },
754
+ d(p) {
755
+ p && D(e);
756
+ }
757
+ };
758
+ }
759
+ function Pe(n) {
760
+ let e;
761
+ function o(r, i) {
762
+ return (
763
+ /*activeBonus*/
764
+ r[62].type === "freeRound" ? An : Wn
765
+ );
766
+ }
767
+ let a = o(n), s = a(n);
768
+ return {
769
+ c() {
770
+ s.c(), e = pe();
771
+ },
772
+ m(r, i) {
773
+ s.m(r, i), j(r, e, i);
774
+ },
775
+ p(r, i) {
776
+ a === (a = o(r)) && s ? s.p(r, i) : (s.d(1), s = a(r), s && (s.c(), s.m(e.parentNode, e)));
777
+ },
778
+ d(r) {
779
+ r && D(e), s.d(r);
780
+ }
781
+ };
782
+ }
783
+ function Te(n) {
784
+ let e, o, a, s, r, i, d, u, b, y, W, k, _, h, w, C, p, c, m, v, G, L, K, V = ae(Array(
785
+ /*numberOfPages*/
786
+ n[18]
787
+ )), S = [];
788
+ for (let g = 0; g < V.length; g += 1)
789
+ S[g] = Ie(ke(n, V, g));
790
+ return {
791
+ c() {
792
+ e = A("div"), o = A("button"), a = O("|<"), i = U(), d = A("button"), u = O("<"), W = U();
793
+ for (let g = 0; g < S.length; g += 1)
794
+ S[g].c();
795
+ k = U(), _ = A("button"), h = O(">"), p = U(), c = A("button"), m = O(">|"), o.disabled = s = /*currentPage*/
796
+ n[19] === 0, B(o, "class", r = "BonusesFirst " + /*currentPage*/
797
+ (n[19] === 0 ? "Inactive" : "")), d.disabled = b = /*currentPage*/
798
+ n[19] === 0, B(d, "class", y = "BonusesPrev " + /*currentPage*/
799
+ (n[19] === 0 ? "Inactive" : "")), _.disabled = w = /*currentPage*/
800
+ n[19] === /*numberOfPages*/
801
+ n[18] - 1, B(_, "class", C = "BonusesNext " + /*currentPage*/
802
+ (n[19] === /*numberOfPages*/
803
+ n[18] - 1 ? "Inactive" : "")), c.disabled = v = /*currentPage*/
804
+ n[19] === /*numberOfPages*/
805
+ n[18] - 1, B(c, "class", G = "BonusesLast " + /*currentPage*/
806
+ (n[19] === /*numberOfPages*/
807
+ n[18] - 1 ? "Inactive" : "")), B(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
808
+ (n[23] ? "BonusesPaginationWrapperMobile" : ""));
809
+ },
810
+ m(g, T) {
811
+ j(g, e, T), f(e, o), f(o, a), f(e, i), f(e, d), f(d, u), f(e, W);
812
+ for (let M = 0; M < S.length; M += 1)
813
+ S[M] && S[M].m(e, null);
814
+ f(e, k), f(e, _), f(_, h), f(e, p), f(e, c), f(c, m), L || (K = [
815
+ H(
816
+ o,
817
+ "click",
818
+ /*click_handler_1*/
819
+ n[40]
820
+ ),
821
+ H(
822
+ d,
823
+ "click",
824
+ /*click_handler_2*/
825
+ n[41]
826
+ ),
827
+ H(
828
+ _,
829
+ "click",
830
+ /*click_handler_4*/
831
+ n[43]
832
+ ),
833
+ H(
834
+ c,
835
+ "click",
836
+ /*click_handler_5*/
837
+ n[44]
838
+ )
839
+ ], L = !0);
840
+ },
841
+ p(g, T) {
842
+ if (T[0] & /*currentPage*/
843
+ 524288 && s !== (s = /*currentPage*/
844
+ g[19] === 0) && (o.disabled = s), T[0] & /*currentPage*/
845
+ 524288 && r !== (r = "BonusesFirst " + /*currentPage*/
846
+ (g[19] === 0 ? "Inactive" : "")) && B(o, "class", r), T[0] & /*currentPage*/
847
+ 524288 && b !== (b = /*currentPage*/
848
+ g[19] === 0) && (d.disabled = b), T[0] & /*currentPage*/
849
+ 524288 && y !== (y = "BonusesPrev " + /*currentPage*/
850
+ (g[19] === 0 ? "Inactive" : "")) && B(d, "class", y), T[0] & /*currentPage, getActiveBonuses, numberOfPages*/
851
+ 67895296) {
852
+ V = ae(Array(
853
+ /*numberOfPages*/
854
+ g[18]
855
+ ));
856
+ let M;
857
+ for (M = 0; M < V.length; M += 1) {
858
+ const F = ke(g, V, M);
859
+ S[M] ? S[M].p(F, T) : (S[M] = Ie(F), S[M].c(), S[M].m(e, k));
860
+ }
861
+ for (; M < S.length; M += 1)
862
+ S[M].d(1);
863
+ S.length = V.length;
864
+ }
865
+ T[0] & /*currentPage, numberOfPages*/
866
+ 786432 && w !== (w = /*currentPage*/
867
+ g[19] === /*numberOfPages*/
868
+ g[18] - 1) && (_.disabled = w), T[0] & /*currentPage, numberOfPages*/
869
+ 786432 && C !== (C = "BonusesNext " + /*currentPage*/
870
+ (g[19] === /*numberOfPages*/
871
+ g[18] - 1 ? "Inactive" : "")) && B(_, "class", C), T[0] & /*currentPage, numberOfPages*/
872
+ 786432 && v !== (v = /*currentPage*/
873
+ g[19] === /*numberOfPages*/
874
+ g[18] - 1) && (c.disabled = v), T[0] & /*currentPage, numberOfPages*/
875
+ 786432 && G !== (G = "BonusesLast " + /*currentPage*/
876
+ (g[19] === /*numberOfPages*/
877
+ g[18] - 1 ? "Inactive" : "")) && B(c, "class", G);
878
+ },
879
+ d(g) {
880
+ g && D(e), Le(S, g), L = !1, fe(K);
881
+ }
882
+ };
883
+ }
884
+ function Ie(n) {
885
+ let e, o = (
886
+ /*i*/
887
+ n[61] + 1 + ""
888
+ ), a, s, r, i, d;
889
+ function u() {
890
+ return (
891
+ /*click_handler_3*/
892
+ n[42](
893
+ /*i*/
894
+ n[61]
895
+ )
896
+ );
897
+ }
898
+ return {
899
+ c() {
900
+ e = A("button"), a = O(o), e.disabled = s = /*i*/
901
+ n[61] === /*currentPage*/
902
+ n[19], B(e, "class", r = "BonusesPage " + /*i*/
903
+ (n[61] === /*currentPage*/
904
+ n[19] ? "BonusPageActive" : ""));
905
+ },
906
+ m(b, y) {
907
+ j(b, e, y), f(e, a), i || (d = H(e, "click", u), i = !0);
908
+ },
909
+ p(b, y) {
910
+ n = b, y[0] & /*currentPage*/
911
+ 524288 && s !== (s = /*i*/
912
+ n[61] === /*currentPage*/
913
+ n[19]) && (e.disabled = s), y[0] & /*currentPage*/
914
+ 524288 && r !== (r = "BonusesPage " + /*i*/
915
+ (n[61] === /*currentPage*/
916
+ n[19] ? "BonusPageActive" : "")) && B(e, "class", r);
917
+ },
918
+ d(b) {
919
+ b && D(e), i = !1, d();
920
+ }
921
+ };
922
+ }
923
+ function Fe(n) {
924
+ let e, o, a, s, r = (
925
+ /*$_*/
926
+ n[22]("forfeitBonus") + ""
927
+ ), i, d, u, b, y = (
928
+ /*$_*/
929
+ n[22]("forfeitBonusCancel") + ""
930
+ ), W, k, _, h = (
931
+ /*$_*/
932
+ n[22]("forfeitBonusConfirm") + ""
933
+ ), w, C, p;
934
+ return {
935
+ c() {
936
+ e = A("div"), o = A("div"), a = A("div"), s = A("p"), i = O(r), d = U(), u = A("div"), b = A("button"), W = O(y), k = U(), _ = A("button"), w = O(h), B(s, "class", "ModalText"), B(b, "class", "ModalCancel"), B(_, "class", "ModalConfirm"), B(u, "class", "ModalButtons"), B(a, "class", "ModalBody"), B(o, "class", "ModalContent"), B(e, "class", "ModalWrapper " + /*isMobile*/
937
+ (n[23] ? "ModalWrapperMobile" : ""));
938
+ },
939
+ m(c, m) {
940
+ j(c, e, m), f(e, o), f(o, a), f(a, s), f(s, i), f(a, d), f(a, u), f(u, b), f(b, W), f(u, k), f(u, _), f(_, w), C || (p = [
941
+ H(
942
+ b,
943
+ "click",
944
+ /*closeBonusModal*/
945
+ n[28]
946
+ ),
947
+ H(
948
+ _,
949
+ "click",
950
+ /*debouncedFunction*/
951
+ n[30](
952
+ /*deleteBonus*/
953
+ n[29]
954
+ )
955
+ )
956
+ ], C = !0);
957
+ },
958
+ p(c, m) {
959
+ m[0] & /*$_*/
960
+ 4194304 && r !== (r = /*$_*/
961
+ c[22]("forfeitBonus") + "") && J(i, r), m[0] & /*$_*/
962
+ 4194304 && y !== (y = /*$_*/
963
+ c[22]("forfeitBonusCancel") + "") && J(W, y), m[0] & /*$_*/
964
+ 4194304 && h !== (h = /*$_*/
965
+ c[22]("forfeitBonusConfirm") + "") && J(w, h);
966
+ },
967
+ d(c) {
968
+ c && D(e), C = !1, fe(p);
969
+ }
970
+ };
971
+ }
972
+ function kn(n) {
973
+ let e, o, a, s, r = (
974
+ /*$_*/
975
+ n[22]("titleBonuses") + ""
976
+ ), i, d, u, b, y = (
977
+ /*$_*/
978
+ n[22]("bonusCode") + ""
979
+ ), W, k, _, h, w, C, p = (
980
+ /*$_*/
981
+ n[22]("getBonus") + ""
982
+ ), c, m, v, G, L, K, V, S = (
983
+ /*isMobile*/
984
+ n[23] && _n(n)
985
+ ), g = (
986
+ /*invalidBonusCode*/
987
+ n[13] && Se(n)
988
+ );
989
+ function T(E, R) {
990
+ return (
991
+ /*isLoading*/
992
+ E[10] ? hn : yn
993
+ );
994
+ }
995
+ let M = T(n), F = M(n), I = (
996
+ /*bonusModal*/
997
+ n[21] && Fe(n)
998
+ );
999
+ return {
1000
+ c() {
1001
+ e = A("div"), o = A("div"), S && S.c(), a = U(), s = A("h2"), i = O(r), d = U(), u = A("div"), b = A("label"), W = O(y), k = U(), _ = A("div"), h = A("input"), w = U(), C = A("button"), c = O(p), v = U(), g && g.c(), G = U(), F.c(), L = U(), I && I.c(), B(s, "class", "ActiveBonusesTitle " + /*isMobile*/
1002
+ (n[23] ? "ActiveBonusesTitleNone" : "")), B(b, "for", "BonusCode"), B(h, "class", "BonusCodeInput " + /*isMobile*/
1003
+ (n[23] ? "BonusCodeInputMobile" : "")), B(h, "type", "text"), B(h, "id", "BonusCode"), B(C, "class", "SubmitBonusCode " + /*isMobile*/
1004
+ (n[23] ? "SubmitBonusCodeMobile" : "")), C.disabled = m = /*invalidBonusField*/
1005
+ n[12] || /*isLoading*/
1006
+ n[10], B(_, "class", "BonusCodeWrapper " + /*isMobile*/
1007
+ (n[23] ? "BonusCodeWrapperMobile" : "")), B(u, "class", "BonusCodeContainer " + /*isMobile*/
1008
+ (n[23] ? "BonusCodeContainerMobile" : "")), B(o, "class", "ActiveBonusesWrapper " + /*isMobile*/
1009
+ (n[23] ? "ActiveBonusesWrapperMobile" : ""));
1010
+ },
1011
+ m(E, R) {
1012
+ j(E, e, R), f(e, o), S && S.m(o, null), f(o, a), f(o, s), f(s, i), f(o, d), f(o, u), f(u, b), f(b, W), f(u, k), f(u, _), f(_, h), we(
1013
+ h,
1014
+ /*bonusCode*/
1015
+ n[14]
1016
+ ), f(_, w), f(_, C), f(C, c), f(u, v), g && g.m(u, null), f(o, G), F.m(o, null), f(e, L), I && I.m(e, null), n[45](e), K || (V = [
1017
+ H(
1018
+ h,
1019
+ "input",
1020
+ /*input_input_handler*/
1021
+ n[39]
1022
+ ),
1023
+ H(
1024
+ h,
1025
+ "keyup",
1026
+ /*validateBonusCode*/
1027
+ n[25]
1028
+ ),
1029
+ H(
1030
+ C,
1031
+ "click",
1032
+ /*claimBonus*/
1033
+ n[27]
1034
+ )
1035
+ ], K = !0);
1036
+ },
1037
+ p(E, R) {
1038
+ /*isMobile*/
1039
+ E[23] && S.p(E, R), R[0] & /*$_*/
1040
+ 4194304 && r !== (r = /*$_*/
1041
+ E[22]("titleBonuses") + "") && J(i, r), R[0] & /*$_*/
1042
+ 4194304 && y !== (y = /*$_*/
1043
+ E[22]("bonusCode") + "") && J(W, y), R[0] & /*bonusCode*/
1044
+ 16384 && h.value !== /*bonusCode*/
1045
+ E[14] && we(
1046
+ h,
1047
+ /*bonusCode*/
1048
+ E[14]
1049
+ ), R[0] & /*$_*/
1050
+ 4194304 && p !== (p = /*$_*/
1051
+ E[22]("getBonus") + "") && J(c, p), R[0] & /*invalidBonusField, isLoading*/
1052
+ 5120 && m !== (m = /*invalidBonusField*/
1053
+ E[12] || /*isLoading*/
1054
+ E[10]) && (C.disabled = m), /*invalidBonusCode*/
1055
+ E[13] ? g ? g.p(E, R) : (g = Se(E), g.c(), g.m(u, null)) : g && (g.d(1), g = null), M === (M = T(E)) && F ? F.p(E, R) : (F.d(1), F = M(E), F && (F.c(), F.m(o, null))), /*bonusModal*/
1056
+ E[21] ? I ? I.p(E, R) : (I = Fe(E), I.c(), I.m(e, null)) : I && (I.d(1), I = null);
1057
+ },
1058
+ i: de,
1059
+ o: de,
1060
+ d(E) {
1061
+ E && D(e), S && S.d(), g && g.d(), F.d(), I && I.d(), n[45](null), K = !1, fe(V);
1062
+ }
1063
+ };
1064
+ }
1065
+ let En = "status=active", X = 6;
1066
+ function Sn(n, e, o) {
1067
+ let a;
1068
+ sn(n, fn, (l) => o(22, a = l));
1069
+ let { endpoint: s = "" } = e, { session: r = "" } = e, { playerid: i = "" } = e, { lang: d = "en" } = e, { currency: u = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: W } = e, { translationurl: k = "" } = e, { currencylocale: _ = "" } = e, { dateformat: h = "" } = e, { bonuscoderegex: w = "" } = e, { ishiddenwageringbonus: C = "false" } = e, { gmversion: p = "" } = e, { filterbonusbalance: c = "false" } = e, { filtertags: m = "" } = e, v = !1, G = !1, L, K, V = window.navigator.userAgent, S = tn(V) !== "PC", g = !0, T = !1, M = "", F = 0, I = 0, E = 0, R = 0, ge = 0, re = [], Be, ie = "", le = !1;
1070
+ const Re = () => {
1071
+ fetch(k).then((P) => P.json()).then((P) => {
1072
+ Object.keys(P).forEach((q) => {
1073
+ Me(q, P[q]);
1074
+ });
1075
+ }).catch((P) => {
1076
+ console.log(P);
1077
+ });
1078
+ };
1079
+ Object.keys(We).forEach((l) => {
1080
+ Me(l, We[l]);
1081
+ });
1082
+ const ve = (l) => {
1083
+ if (l.data)
1084
+ switch (l.data.type) {
1085
+ case "DeleteActiveBonus":
1086
+ ie = l.data.bonuswalletid, o(21, le = !0);
1087
+ break;
1088
+ }
1089
+ };
1090
+ function Ne(l, P) {
1091
+ return (...q) => {
1092
+ clearTimeout(Be), Be = setTimeout(
1093
+ () => {
1094
+ l.apply(this, q);
1095
+ },
1096
+ P
1097
+ );
1098
+ };
1099
+ }
1100
+ const _e = () => {
1101
+ window.postMessage(
1102
+ {
1103
+ type: "PlayerAccountMenuActive",
1104
+ isMobile: S
1105
+ },
1106
+ window.location.href
1107
+ );
1108
+ }, ze = () => M ? w ? new RegExp(w).test(M) : !0 : !1, Oe = () => {
1109
+ o(12, g = !ze()), w && o(13, T = g);
1110
+ };
1111
+ function ye(l) {
1112
+ const P = l.initialWagerRequirementAmount ?? 0, q = l.remainingWagerRequirementAmount ?? 0;
1113
+ return {
1114
+ ...l,
1115
+ freeRoundNumber: l.numberOfFreeSpin ?? void 0,
1116
+ walletId: l.bonusWalletID ?? void 0,
1117
+ granted: l.grantedDate ?? void 0,
1118
+ expiryTime: l.expiryDate ?? void 0,
1119
+ currentAmount: l.remainingAmount ?? void 0,
1120
+ originalWageringRequirement: l.initialWagerRequirementAmount ?? void 0,
1121
+ fulfilledWR: P - q,
1122
+ extension: {
1123
+ grantedPlayerCurrencyAmount: l.amount ?? void 0
1124
+ },
1125
+ termsandconditionsurl: l.url ?? void 0,
1126
+ termsandconditionsdescription: l.description ?? void 0,
1127
+ termsandconditionsasset: l.assets ?? void 0,
1128
+ isWinBonus: l?.tags?.includes("auto_apply") === !0 && l.type === mn.ODDS_BOOST
1129
+ };
1130
+ }
1131
+ const Y = async (l) => {
1132
+ o(10, v = !0), o(11, G = !1);
1133
+ try {
1134
+ let P = [], q = 0;
1135
+ if (p === "gm2") {
1136
+ console.log("getActiveBonuses - gm2", p);
1137
+ const N = {
1138
+ pagination: `limit=${X},offset=${l}`,
1139
+ language: d || "en",
1140
+ sortOrder: "desc",
1141
+ status: Ae.STATUS_ACTIVE,
1142
+ type: Ae.TYPES,
1143
+ expand: "freeSpin",
1144
+ filterTags: m
1145
+ };
1146
+ C === "true" && (N.includeHiddenWallet = !0);
1147
+ const x = await Bn(s, r, N), Q = x.items;
1148
+ Array.isArray(Q) ? m ? P = Q.filter(($) => $?.tags?.includes("auto_apply") !== !0).map(ye) : P = Q.map(ye) : console.error("Unexpected granted bonuses payload", x), q = x.total ?? 0;
1149
+ } else {
1150
+ console.log("getActiveBonuses - /bonusWallet", p);
1151
+ const N = {
1152
+ method: "GET",
1153
+ headers: { "X-SessionId": r }
1154
+ }, x = `/v1/player/${i}/bonusWallet`, Q = new URL(`${s}${x}`), $ = new URLSearchParams();
1155
+ $.set("filter", En), $.set("pagination", `offset=${l},limit=${X}`), Q.search = $.toString();
1156
+ const oe = await fetch(Q, N);
1157
+ if (oe.status >= 500 && oe.status < 600)
1158
+ throw new ce(oe.status);
1159
+ const ee = await oe.json();
1160
+ if (Array.isArray(ee.items)) {
1161
+ for (const se of ee.items) {
1162
+ const te = se?.extension?.bonus?.presentation;
1163
+ te && (se.termsandconditionsurl = te.url, se.termsandconditionsdescription = te.description, se.termsandconditionsasset = te.assets);
1164
+ }
1165
+ P = ee.items;
1166
+ } else
1167
+ console.error("Unexpected legacy bonus list payload", ee);
1168
+ q = ee.total ?? 0;
1169
+ }
1170
+ o(18, R = Math.ceil(q / X)), l - X >= 0 && o(15, F = l - X), l + X < q && o(16, I = l + X), o(17, E = (R - 1) * X), o(19, ge = l / X), o(20, re = P), _ && re.forEach((N) => {
1171
+ N.fulfilledWR = ne(N.fulfilledWR), N.originalWageringRequirement = ne(N.originalWageringRequirement), N.currentAmount = ne(N.currentAmount), N.extension && (N.extension.grantedPlayerCurrencyAmount = ne(N.extension.grantedPlayerCurrencyAmount));
1172
+ }), window.scrollTo({ top: 0, behavior: "smooth" });
1173
+ } catch (P) {
1174
+ o(11, G = P instanceof ce), console.error(P);
1175
+ } finally {
1176
+ o(10, v = !1);
1177
+ }
1178
+ }, ne = (l) => new Intl.NumberFormat(_, { style: "currency", currency: u }).format(l).replace(/\s/g, ""), he = () => {
1179
+ console.log("post claim success, status 200"), o(13, T = !1), Y(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
1180
+ {
1181
+ type: "WidgetNotification",
1182
+ data: {
1183
+ type: "success",
1184
+ message: a("bonusClaimSuccessMessage")
1185
+ }
1186
+ },
1187
+ window.location.href
1188
+ ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
1189
+ context: "PlayerActiveBonuses",
1190
+ userId: `${i || "Not logged in"}`,
1191
+ bonusCode: `${M}`
1192
+ });
1193
+ }, Ce = () => {
1194
+ o(13, T = !0), console.log("post claim error - status not 200"), window.postMessage(
1195
+ {
1196
+ type: "WidgetNotification",
1197
+ data: {
1198
+ type: "error",
1199
+ message: a("bonusClaimErrorMessage")
1200
+ }
1201
+ },
1202
+ window.location.href
1203
+ );
1204
+ }, De = async () => {
1205
+ o(10, v = !0);
1206
+ try {
1207
+ if (p === "gm2") {
1208
+ if (!(await bn(s, r, { bonusCode: M, currency: u })).success) {
1209
+ Ce();
1210
+ //!
1211
+ return;
1212
+ }
1213
+ he();
1214
+ return;
1215
+ }
1216
+ const l = new URL(`${s}/v1/player/${i}/claimbonus`);
1217
+ l.searchParams.append("currency", u), l.searchParams.append("bonusCode", M);
1218
+ const P = {
1219
+ method: "POST",
1220
+ headers: {
1221
+ "X-SessionId": r,
1222
+ accept: "application/json"
1223
+ }
1224
+ };
1225
+ (await fetch(l.href, P)).status == 200 ? he() : Ce();
1226
+ } finally {
1227
+ o(10, v = !1);
1228
+ }
1229
+ }, ue = () => {
1230
+ window.postMessage({ type: "EnableScroll" }, window.location.href), o(21, le = !1);
1231
+ }, je = async () => {
1232
+ if (p === "gm2") {
1233
+ if (!(await gn(s, r, { bonusWalletID: ie })).success)
1234
+ return;
1235
+ Y(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), ue();
1236
+ return;
1237
+ }
1238
+ const l = {
1239
+ method: "DELETE",
1240
+ headers: {
1241
+ "X-SessionId": r,
1242
+ "Content-Type": "application/json",
1243
+ Accept: "application/json"
1244
+ }
1245
+ }, P = new URL(`${s}/v1/player/${i}/bonusWallet`);
1246
+ P.searchParams.append("bonusWalletID", ie), (await fetch(P, l)).status == 200 && (Y(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), ue());
1247
+ }, Ue = () => {
1248
+ pn(d);
1249
+ };
1250
+ function qe(l) {
1251
+ return Ne(l, 1e3);
1252
+ }
1253
+ an(() => (window.addEventListener("message", ve, !1), () => {
1254
+ window.removeEventListener("message", ve);
1255
+ }));
1256
+ const Ge = () => _e();
1257
+ function Ve() {
1258
+ M = this.value, o(14, M);
1259
+ }
1260
+ const He = () => Y(0), Ye = () => Y(F), Xe = (l) => Y(l * X), Je = () => Y(I), Ke = () => Y(E);
1261
+ function Qe(l) {
1262
+ rn[l ? "unshift" : "push"](() => {
1263
+ L = l, o(9, L);
1264
+ });
1265
+ }
1266
+ return n.$$set = (l) => {
1267
+ "endpoint" in l && o(31, s = l.endpoint), "session" in l && o(32, r = l.session), "playerid" in l && o(33, i = l.playerid), "lang" in l && o(0, d = l.lang), "currency" in l && o(34, u = l.currency), "clientstyling" in l && o(1, b = l.clientstyling), "clientstylingurl" in l && o(2, y = l.clientstylingurl), "mbsource" in l && o(3, W = l.mbsource), "translationurl" in l && o(4, k = l.translationurl), "currencylocale" in l && o(5, _ = l.currencylocale), "dateformat" in l && o(6, h = l.dateformat), "bonuscoderegex" in l && o(35, w = l.bonuscoderegex), "ishiddenwageringbonus" in l && o(7, C = l.ishiddenwageringbonus), "gmversion" in l && o(36, p = l.gmversion), "filterbonusbalance" in l && o(8, c = l.filterbonusbalance), "filtertags" in l && o(37, m = l.filtertags);
1268
+ }, n.$$.update = () => {
1269
+ n.$$.dirty[0] & /*lang*/
1270
+ 1 && d && Ue(), n.$$.dirty[1] & /*session, playerid, endpoint*/
1271
+ 7 && r && i && s && Y(0), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1272
+ 514 && b && L && ln(L, b), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1273
+ 516 && y && L && un(L, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1274
+ 520 && W && L && dn(L, `${W}.Style`, K), n.$$.dirty[0] & /*translationurl*/
1275
+ 16 && k && Re();
1276
+ }, [
1277
+ d,
1278
+ b,
1279
+ y,
1280
+ W,
1281
+ k,
1282
+ _,
1283
+ h,
1284
+ C,
1285
+ c,
1286
+ L,
1287
+ v,
1288
+ G,
1289
+ g,
1290
+ T,
1291
+ M,
1292
+ F,
1293
+ I,
1294
+ E,
1295
+ R,
1296
+ ge,
1297
+ re,
1298
+ le,
1299
+ a,
1300
+ S,
1301
+ _e,
1302
+ Oe,
1303
+ Y,
1304
+ De,
1305
+ ue,
1306
+ je,
1307
+ qe,
1308
+ s,
1309
+ r,
1310
+ i,
1311
+ u,
1312
+ w,
1313
+ p,
1314
+ m,
1315
+ Ge,
1316
+ Ve,
1317
+ He,
1318
+ Ye,
1319
+ Xe,
1320
+ Je,
1321
+ Ke,
1322
+ Qe
1323
+ ];
1324
+ }
1325
+ class Pn extends $e {
1326
+ constructor(e) {
1327
+ super(), en(
1328
+ this,
1329
+ e,
1330
+ Sn,
1331
+ kn,
1332
+ nn,
1333
+ {
1334
+ endpoint: 31,
1335
+ session: 32,
1336
+ playerid: 33,
1337
+ lang: 0,
1338
+ currency: 34,
1339
+ clientstyling: 1,
1340
+ clientstylingurl: 2,
1341
+ mbsource: 3,
1342
+ translationurl: 4,
1343
+ currencylocale: 5,
1344
+ dateformat: 6,
1345
+ bonuscoderegex: 35,
1346
+ ishiddenwageringbonus: 7,
1347
+ gmversion: 36,
1348
+ filterbonusbalance: 8,
1349
+ filtertags: 37
1350
+ },
1351
+ vn,
1352
+ [-1, -1, -1]
1353
+ );
1354
+ }
1355
+ get endpoint() {
1356
+ return this.$$.ctx[31];
1357
+ }
1358
+ set endpoint(e) {
1359
+ this.$$set({ endpoint: e }), z();
1360
+ }
1361
+ get session() {
1362
+ return this.$$.ctx[32];
1363
+ }
1364
+ set session(e) {
1365
+ this.$$set({ session: e }), z();
1366
+ }
1367
+ get playerid() {
1368
+ return this.$$.ctx[33];
1369
+ }
1370
+ set playerid(e) {
1371
+ this.$$set({ playerid: e }), z();
1372
+ }
1373
+ get lang() {
1374
+ return this.$$.ctx[0];
1375
+ }
1376
+ set lang(e) {
1377
+ this.$$set({ lang: e }), z();
1378
+ }
1379
+ get currency() {
1380
+ return this.$$.ctx[34];
1381
+ }
1382
+ set currency(e) {
1383
+ this.$$set({ currency: e }), z();
1384
+ }
1385
+ get clientstyling() {
1386
+ return this.$$.ctx[1];
1387
+ }
1388
+ set clientstyling(e) {
1389
+ this.$$set({ clientstyling: e }), z();
1390
+ }
1391
+ get clientstylingurl() {
1392
+ return this.$$.ctx[2];
1393
+ }
1394
+ set clientstylingurl(e) {
1395
+ this.$$set({ clientstylingurl: e }), z();
1396
+ }
1397
+ get mbsource() {
1398
+ return this.$$.ctx[3];
1399
+ }
1400
+ set mbsource(e) {
1401
+ this.$$set({ mbsource: e }), z();
1402
+ }
1403
+ get translationurl() {
1404
+ return this.$$.ctx[4];
1405
+ }
1406
+ set translationurl(e) {
1407
+ this.$$set({ translationurl: e }), z();
1408
+ }
1409
+ get currencylocale() {
1410
+ return this.$$.ctx[5];
1411
+ }
1412
+ set currencylocale(e) {
1413
+ this.$$set({ currencylocale: e }), z();
1414
+ }
1415
+ get dateformat() {
1416
+ return this.$$.ctx[6];
1417
+ }
1418
+ set dateformat(e) {
1419
+ this.$$set({ dateformat: e }), z();
1420
+ }
1421
+ get bonuscoderegex() {
1422
+ return this.$$.ctx[35];
1423
+ }
1424
+ set bonuscoderegex(e) {
1425
+ this.$$set({ bonuscoderegex: e }), z();
1426
+ }
1427
+ get ishiddenwageringbonus() {
1428
+ return this.$$.ctx[7];
1429
+ }
1430
+ set ishiddenwageringbonus(e) {
1431
+ this.$$set({ ishiddenwageringbonus: e }), z();
1432
+ }
1433
+ get gmversion() {
1434
+ return this.$$.ctx[36];
1435
+ }
1436
+ set gmversion(e) {
1437
+ this.$$set({ gmversion: e }), z();
1438
+ }
1439
+ get filterbonusbalance() {
1440
+ return this.$$.ctx[8];
1441
+ }
1442
+ set filterbonusbalance(e) {
1443
+ this.$$set({ filterbonusbalance: e }), z();
1444
+ }
1445
+ get filtertags() {
1446
+ return this.$$.ctx[37];
1447
+ }
1448
+ set filtertags(e) {
1449
+ this.$$set({ filtertags: e }), z();
1450
+ }
1451
+ }
1452
+ cn(Pn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {}, filterbonusbalance: {}, filtertags: {} }, [], [], !0);
1453
+ export {
1454
+ Pn as default
1455
+ };