@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
@@ -1,1409 +0,0 @@
1
- import { a as Je, $ as Ke, S as Qe, i as Ze, s as xe, f as N, b as $e, n as ue, d as j, w as de, u as X, K as ye, e as U, p, x as V, g as W, q as O, v as D, t as _, h as en, j as nn, o as on, y as Z, k as sn, L as ce, l as te, m as Te, r as t, B as tn, C as an, D as rn, c as ln, A as un } from "./PlayerAccountController-Bzyyos6a.js";
2
- function he(n, e) {
3
- Je(n, e);
4
- }
5
- function dn(n) {
6
- Ke.set(n);
7
- }
8
- const Ce = {
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
- bonusClaimSuccessMessage: "Bonus claimed!",
19
- bonusClaimErrorMessage: "Invalid bonus"
20
- },
21
- "zh-hk": {
22
- titleBonuses: "活躍獎金",
23
- bonusCode: "你有獎金代碼嗎?",
24
- getBonus: "獲得獎金",
25
- invalidBonusCode: "提供的紅利代碼無效。",
26
- noActiveBonuses: "您目前沒有有效的獎金。",
27
- forfeitBonus: "您確定要放棄獎金及其獎金嗎?",
28
- forfeitBonusConfirm: "確認",
29
- forfeitBonusCancel: "取消",
30
- bonusClaimSuccessMessage: "獎金要求!",
31
- bonusClaimErrorMessage: "無效獎金"
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
- bonusClaimSuccessMessage: "Bonus réclamé!",
43
- bonusClaimErrorMessage: "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
- bonusClaimSuccessMessage: "Bonus revendicat!",
55
- bonusClaimErrorMessage: "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
- bonusClaimSuccessMessage: "Bono adjudicado!",
67
- bonusClaimErrorMessage: "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
- bonusClaimSuccessMessage: "Bônus reivindicado!",
79
- bonusClaimErrorMessage: "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
- bonusClaimSuccessMessage: "Preuzet bonus!",
91
- bonusClaimErrorMessage: "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
- bonusClaimSuccessMessage: "Bônus ativado",
103
- bonusClaimErrorMessage: "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
- bonusClaimSuccessMessage: "Bono activado",
115
- bonusClaimErrorMessage: "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
- bonusClaimSuccessMessage: "Bonus talep edildi!",
127
- bonusClaimErrorMessage: "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
- bonusClaimSuccessMessage: "Bonus claimed!",
139
- bonusClaimErrorMessage: "Invalid bonus"
140
- }
141
- }, pe = {
142
- CLAIM: "/v1/bonus/claim",
143
- FORFEIT: "/v1/bonus/forfeit",
144
- GRANTED: "/v1/bonus/granted"
145
- }, we = {
146
- TYPES: "standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",
147
- STATUS_ACTIVE: "active",
148
- STATUS_COMPLETED: "completed,released,forfeited,expired,closed"
149
- }, cn = {
150
- ODDS_BOOST: "oddsBoost"
151
- };
152
- async function fe(n, e = {}) {
153
- const o = typeof n == "string" ? n : n.toString(), i = await fetch(o, e);
154
- let s = null;
155
- try {
156
- s = await i.json();
157
- } catch {
158
- s = null;
159
- }
160
- if (i.ok && s)
161
- return s;
162
- const r = s && typeof s == "object" ? s : {}, l = {
163
- success: !1,
164
- errorMessage: typeof r.errorMessage == "string" && r.errorMessage || i.statusText || String(i.status),
165
- errorCode: typeof r.errorCode == "number" ? r.errorCode : void 0
166
- };
167
- return { ...r, ...l };
168
- }
169
- async function pn(n, e, o) {
170
- const i = `${n}${pe.CLAIM}`;
171
- return fe(i, {
172
- method: "PUT",
173
- headers: {
174
- "x-SessionId": e,
175
- accept: "application/json",
176
- "Content-Type": "application/json-patch+json"
177
- },
178
- body: JSON.stringify(o)
179
- });
180
- }
181
- async function fn(n, e, o) {
182
- const i = new URL(`${n}${pe.FORFEIT}`);
183
- return i.searchParams.append("bonusWalletID", o.bonusWalletID), fe(i, {
184
- method: "DELETE",
185
- headers: {
186
- "x-SessionId": e,
187
- accept: "application/json"
188
- }
189
- });
190
- }
191
- async function mn(n, e, o) {
192
- const i = new URL(`${n}${pe.GRANTED}`);
193
- Object.entries(o).forEach(([r, l]) => {
194
- l != null && i.searchParams.append(r, String(l));
195
- });
196
- const s = {};
197
- return e && (s["x-SessionId"] = e), fe(i, {
198
- headers: s
199
- });
200
- }
201
- if (typeof window < "u") {
202
- let n = function(e) {
203
- return function(...o) {
204
- try {
205
- return e.apply(this, o);
206
- } catch (i) {
207
- if (i instanceof DOMException && i.message.includes("has already been used with this registry") || i.message.includes("Cannot define multiple custom elements with the same tag name"))
208
- return !1;
209
- throw i;
210
- }
211
- };
212
- };
213
- customElements.define = n(customElements.define), import("./PlayerBonusCard-Cw5Po2BS.js").then(({ default: e }) => {
214
- !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
215
- });
216
- }
217
- function bn(n) {
218
- $e(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)}}');
219
- }
220
- function Me(n, e, o) {
221
- const i = n.slice();
222
- return i[58] = e[o], i[60] = o, i;
223
- }
224
- function We(n, e, o) {
225
- const i = n.slice();
226
- return i[61] = e[o], i;
227
- }
228
- function gn(n) {
229
- let e, o, i, s, r, l, d, u, b, y, M = (
230
- /*$_*/
231
- n[21]("titleBonuses") + ""
232
- ), A, v, h;
233
- return {
234
- c() {
235
- e = W("div"), o = Z("svg"), i = Z("defs"), s = Z("style"), r = D(`.aaa {
236
- fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
237
- }
238
- `), l = Z("g"), d = Z("g"), u = Z("path"), b = O(), y = W("h2"), A = D(M), _(u, "class", "aaa"), _(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), _(u, "transform", "translate(15 15) rotate(180)"), _(d, "transform", "translate(20 158)"), _(l, "transform", "translate(-20 -158)"), _(o, "xmlns", "http://www.w3.org/2000/svg"), _(o, "width", "15"), _(o, "height", "15"), _(o, "viewBox", "0 0 15 15"), _(y, "class", "ActiveBonusesTitleMobile"), _(e, "class", "MenuReturnButton");
239
- },
240
- m(w, C) {
241
- U(w, e, C), p(e, o), p(o, i), p(i, s), p(s, r), p(o, l), p(l, d), p(d, u), p(e, b), p(e, y), p(y, A), v || (h = V(
242
- e,
243
- "click",
244
- /*click_handler*/
245
- n[37]
246
- ), v = !0);
247
- },
248
- p(w, C) {
249
- C[0] & /*$_*/
250
- 2097152 && M !== (M = /*$_*/
251
- w[21]("titleBonuses") + "") && X(A, M);
252
- },
253
- d(w) {
254
- w && j(e), v = !1, h();
255
- }
256
- };
257
- }
258
- function Ae(n) {
259
- let e, o = (
260
- /*$_*/
261
- n[21]("invalidBonusCode") + ""
262
- ), i;
263
- return {
264
- c() {
265
- e = W("p"), i = D(o), _(e, "class", "InvalidBonusCodeMessage");
266
- },
267
- m(s, r) {
268
- U(s, e, r), p(e, i);
269
- },
270
- p(s, r) {
271
- r[0] & /*$_*/
272
- 2097152 && o !== (o = /*$_*/
273
- s[21]("invalidBonusCode") + "") && X(i, o);
274
- },
275
- d(s) {
276
- s && j(e);
277
- }
278
- };
279
- }
280
- function Bn(n) {
281
- let e, o, i;
282
- function s(u, b) {
283
- return (
284
- /*activeBonusesList*/
285
- u[19].length === 0 ? yn : vn
286
- );
287
- }
288
- let r = s(n), l = r(n), d = (
289
- /*activeBonusesList*/
290
- n[19].length !== 0 && Ee(n)
291
- );
292
- return {
293
- c() {
294
- e = W("div"), l.c(), o = O(), d && d.c(), i = ce(), _(e, "class", "ActiveBonusesGrid " + /*isMobile*/
295
- (n[22] ? "ActiveBonusesGridMobile" : ""));
296
- },
297
- m(u, b) {
298
- U(u, e, b), l.m(e, null), U(u, o, b), d && d.m(u, b), U(u, i, b);
299
- },
300
- p(u, b) {
301
- r === (r = s(u)) && l ? l.p(u, b) : (l.d(1), l = r(u), l && (l.c(), l.m(e, null))), /*activeBonusesList*/
302
- u[19].length !== 0 ? d ? d.p(u, b) : (d = Ee(u), d.c(), d.m(i.parentNode, i)) : d && (d.d(1), d = null);
303
- },
304
- d(u) {
305
- u && (j(e), j(o), j(i)), l.d(), d && d.d(u);
306
- }
307
- };
308
- }
309
- function _n(n) {
310
- let e;
311
- return {
312
- c() {
313
- e = W("div"), _(e, "class", "ModalLoader"), _(e, "part", "ModalLoader");
314
- },
315
- m(o, i) {
316
- U(o, e, i);
317
- },
318
- p: ue,
319
- d(o) {
320
- o && j(e);
321
- }
322
- };
323
- }
324
- function vn(n) {
325
- let e, o = te(
326
- /*activeBonusesList*/
327
- n[19]
328
- ), i = [];
329
- for (let s = 0; s < o.length; s += 1)
330
- i[s] = ke(We(n, o, s));
331
- return {
332
- c() {
333
- for (let s = 0; s < i.length; s += 1)
334
- i[s].c();
335
- e = ce();
336
- },
337
- m(s, r) {
338
- for (let l = 0; l < i.length; l += 1)
339
- i[l] && i[l].m(s, r);
340
- U(s, e, r);
341
- },
342
- p(s, r) {
343
- if (r[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus, filterbonusbalance*/
344
- 524799) {
345
- o = te(
346
- /*activeBonusesList*/
347
- s[19]
348
- );
349
- let l;
350
- for (l = 0; l < o.length; l += 1) {
351
- const d = We(s, o, l);
352
- i[l] ? i[l].p(d, r) : (i[l] = ke(d), i[l].c(), i[l].m(e.parentNode, e));
353
- }
354
- for (; l < i.length; l += 1)
355
- i[l].d(1);
356
- i.length = o.length;
357
- }
358
- },
359
- d(s) {
360
- s && j(e), Te(i, s);
361
- }
362
- };
363
- }
364
- function yn(n) {
365
- let e, o = (
366
- /*$_*/
367
- n[21]("noActiveBonuses") + ""
368
- ), i;
369
- return {
370
- c() {
371
- e = W("p"), i = D(o);
372
- },
373
- m(s, r) {
374
- U(s, e, r), p(e, i);
375
- },
376
- p(s, r) {
377
- r[0] & /*$_*/
378
- 2097152 && o !== (o = /*$_*/
379
- s[21]("noActiveBonuses") + "") && X(i, o);
380
- },
381
- d(s) {
382
- s && j(e);
383
- }
384
- };
385
- }
386
- function hn(n) {
387
- let e, o, i, s, r, l, d, u, b, y, M, A, v, h, w, C, f, c;
388
- return {
389
- c() {
390
- e = W("player-bonus-card"), t(e, "termsandconditionsdescription", o = /*activeBonus*/
391
- n[61].termsandconditionsdescription), t(e, "termsandconditionsurl", i = /*activeBonus*/
392
- n[61].termsandconditionsurl), t(e, "termsandconditionsasset", s = /*activeBonus*/
393
- n[61].termsandconditionsasset), t(e, "endpoint", r = /*activeBonus*/
394
- n[61].endpoint), t(e, "playerid", l = /*activeBonus*/
395
- n[61].playerid), t(e, "session", d = /*activeBonus*/
396
- n[61].session), t(e, "bonuswalletid", u = /*activeBonus*/
397
- n[61].walletId), t(e, "bonusdate", b = /*activeBonus*/
398
- n[61].granted), t(e, "bonusexpirationdate", y = /*activeBonus*/
399
- n[61].expiryTime), t(e, "bonusstatus", M = /*activeBonus*/
400
- n[61].status), t(e, "bonusname", A = /*activeBonus*/
401
- n[61].name), t(e, "bonustype", v = /*activeBonus*/
402
- n[61].type), t(e, "bonusamount", h = /*activeBonus*/
403
- n[61].extension.grantedPlayerCurrencyAmount), t(e, "bonuswageringamount", w = `${/*activeBonus*/
404
- n[61].fulfilledWR} / ${/*activeBonus*/
405
- n[61].originalWageringRequirement}`), t(e, "bonusremainingamount", C = /*activeBonus*/
406
- n[61].currentAmount), t(e, "bonuscurrency", f = /*activeBonus*/
407
- n[61].currency), t(e, "isWinBonus", c = /*activeBonus*/
408
- n[61].isWinBonus), t(
409
- e,
410
- "lang",
411
- /*lang*/
412
- n[0]
413
- ), t(
414
- e,
415
- "dateformat",
416
- /*dateformat*/
417
- n[6]
418
- ), t(
419
- e,
420
- "clientstyling",
421
- /*clientstyling*/
422
- n[1]
423
- ), t(
424
- e,
425
- "clientstylingurl",
426
- /*clientstylingurl*/
427
- n[2]
428
- ), t(
429
- e,
430
- "mbsource",
431
- /*mbsource*/
432
- n[3]
433
- ), t(
434
- e,
435
- "translationurl",
436
- /*translationurl*/
437
- n[4]
438
- ), t(
439
- e,
440
- "currencylocale",
441
- /*currencylocale*/
442
- n[5]
443
- ), t(
444
- e,
445
- "ishiddenwageringbonus",
446
- /*ishiddenwageringbonus*/
447
- n[7]
448
- ), t(
449
- e,
450
- "filterbonusbalance",
451
- /*filterbonusbalance*/
452
- n[8]
453
- );
454
- },
455
- m(m, B) {
456
- U(m, e, B);
457
- },
458
- p(m, B) {
459
- B[0] & /*activeBonusesList*/
460
- 524288 && o !== (o = /*activeBonus*/
461
- m[61].termsandconditionsdescription) && t(e, "termsandconditionsdescription", o), B[0] & /*activeBonusesList*/
462
- 524288 && i !== (i = /*activeBonus*/
463
- m[61].termsandconditionsurl) && t(e, "termsandconditionsurl", i), B[0] & /*activeBonusesList*/
464
- 524288 && s !== (s = /*activeBonus*/
465
- m[61].termsandconditionsasset) && t(e, "termsandconditionsasset", s), B[0] & /*activeBonusesList*/
466
- 524288 && r !== (r = /*activeBonus*/
467
- m[61].endpoint) && t(e, "endpoint", r), B[0] & /*activeBonusesList*/
468
- 524288 && l !== (l = /*activeBonus*/
469
- m[61].playerid) && t(e, "playerid", l), B[0] & /*activeBonusesList*/
470
- 524288 && d !== (d = /*activeBonus*/
471
- m[61].session) && t(e, "session", d), B[0] & /*activeBonusesList*/
472
- 524288 && u !== (u = /*activeBonus*/
473
- m[61].walletId) && t(e, "bonuswalletid", u), B[0] & /*activeBonusesList*/
474
- 524288 && b !== (b = /*activeBonus*/
475
- m[61].granted) && t(e, "bonusdate", b), B[0] & /*activeBonusesList*/
476
- 524288 && y !== (y = /*activeBonus*/
477
- m[61].expiryTime) && t(e, "bonusexpirationdate", y), B[0] & /*activeBonusesList*/
478
- 524288 && M !== (M = /*activeBonus*/
479
- m[61].status) && t(e, "bonusstatus", M), B[0] & /*activeBonusesList*/
480
- 524288 && A !== (A = /*activeBonus*/
481
- m[61].name) && t(e, "bonusname", A), B[0] & /*activeBonusesList*/
482
- 524288 && v !== (v = /*activeBonus*/
483
- m[61].type) && t(e, "bonustype", v), B[0] & /*activeBonusesList*/
484
- 524288 && h !== (h = /*activeBonus*/
485
- m[61].extension.grantedPlayerCurrencyAmount) && t(e, "bonusamount", h), B[0] & /*activeBonusesList*/
486
- 524288 && w !== (w = `${/*activeBonus*/
487
- m[61].fulfilledWR} / ${/*activeBonus*/
488
- m[61].originalWageringRequirement}`) && t(e, "bonuswageringamount", w), B[0] & /*activeBonusesList*/
489
- 524288 && C !== (C = /*activeBonus*/
490
- m[61].currentAmount) && t(e, "bonusremainingamount", C), B[0] & /*activeBonusesList*/
491
- 524288 && f !== (f = /*activeBonus*/
492
- m[61].currency) && t(e, "bonuscurrency", f), B[0] & /*activeBonusesList*/
493
- 524288 && c !== (c = /*activeBonus*/
494
- m[61].isWinBonus) && t(e, "isWinBonus", c), B[0] & /*lang*/
495
- 1 && t(
496
- e,
497
- "lang",
498
- /*lang*/
499
- m[0]
500
- ), B[0] & /*dateformat*/
501
- 64 && t(
502
- e,
503
- "dateformat",
504
- /*dateformat*/
505
- m[6]
506
- ), B[0] & /*clientstyling*/
507
- 2 && t(
508
- e,
509
- "clientstyling",
510
- /*clientstyling*/
511
- m[1]
512
- ), B[0] & /*clientstylingurl*/
513
- 4 && t(
514
- e,
515
- "clientstylingurl",
516
- /*clientstylingurl*/
517
- m[2]
518
- ), B[0] & /*mbsource*/
519
- 8 && t(
520
- e,
521
- "mbsource",
522
- /*mbsource*/
523
- m[3]
524
- ), B[0] & /*translationurl*/
525
- 16 && t(
526
- e,
527
- "translationurl",
528
- /*translationurl*/
529
- m[4]
530
- ), B[0] & /*currencylocale*/
531
- 32 && t(
532
- e,
533
- "currencylocale",
534
- /*currencylocale*/
535
- m[5]
536
- ), B[0] & /*ishiddenwageringbonus*/
537
- 128 && t(
538
- e,
539
- "ishiddenwageringbonus",
540
- /*ishiddenwageringbonus*/
541
- m[7]
542
- ), B[0] & /*filterbonusbalance*/
543
- 256 && t(
544
- e,
545
- "filterbonusbalance",
546
- /*filterbonusbalance*/
547
- m[8]
548
- );
549
- },
550
- d(m) {
551
- m && j(e);
552
- }
553
- };
554
- }
555
- function Cn(n) {
556
- let e, o, i, s, r, l, d, u, b, y, M, A, v, h, w, C;
557
- return {
558
- c() {
559
- e = W("player-bonus-card"), t(e, "termsandconditionsdescription", o = /*activeBonus*/
560
- n[61].termsandconditionsdescription), t(e, "termsandconditionsurl", i = /*activeBonus*/
561
- n[61].termsandconditionsurl), t(e, "termsandconditionsasset", s = /*activeBonus*/
562
- n[61].termsandconditionsasset), t(e, "endpoint", r = /*activeBonus*/
563
- n[61].endpoint), t(e, "playerid", l = /*activeBonus*/
564
- n[61].playerid), t(e, "session", d = /*activeBonus*/
565
- n[61].session), t(e, "bonuswalletid", u = /*activeBonus*/
566
- n[61].walletId), t(e, "bonusdate", b = /*activeBonus*/
567
- n[61].granted), t(e, "bonusexpirationdate", y = /*activeBonus*/
568
- n[61].expiryTime), t(e, "bonusstatus", M = /*activeBonus*/
569
- n[61].status), t(e, "bonusname", A = /*activeBonus*/
570
- n[61].name), t(e, "bonustype", v = /*activeBonus*/
571
- n[61].type), t(e, "bonuscurrency", h = /*activeBonus*/
572
- n[61].currency), t(e, "bonusfreespins", w = /*activeBonus*/
573
- n[61].freeRoundNumber), t(e, "isWinBonus", C = /*activeBonus*/
574
- n[61].isWinBonus), t(
575
- e,
576
- "lang",
577
- /*lang*/
578
- n[0]
579
- ), t(
580
- e,
581
- "dateformat",
582
- /*dateformat*/
583
- n[6]
584
- ), t(
585
- e,
586
- "clientstyling",
587
- /*clientstyling*/
588
- n[1]
589
- ), t(
590
- e,
591
- "clientstylingurl",
592
- /*clientstylingurl*/
593
- n[2]
594
- ), t(
595
- e,
596
- "mbsource",
597
- /*mbsource*/
598
- n[3]
599
- ), t(
600
- e,
601
- "translationurl",
602
- /*translationurl*/
603
- n[4]
604
- ), t(
605
- e,
606
- "currencylocale",
607
- /*currencylocale*/
608
- n[5]
609
- ), t(
610
- e,
611
- "ishiddenwageringbonus",
612
- /*ishiddenwageringbonus*/
613
- n[7]
614
- ), t(
615
- e,
616
- "filterbonusbalance",
617
- /*filterbonusbalance*/
618
- n[8]
619
- );
620
- },
621
- m(f, c) {
622
- U(f, e, c);
623
- },
624
- p(f, c) {
625
- c[0] & /*activeBonusesList*/
626
- 524288 && o !== (o = /*activeBonus*/
627
- f[61].termsandconditionsdescription) && t(e, "termsandconditionsdescription", o), c[0] & /*activeBonusesList*/
628
- 524288 && i !== (i = /*activeBonus*/
629
- f[61].termsandconditionsurl) && t(e, "termsandconditionsurl", i), c[0] & /*activeBonusesList*/
630
- 524288 && s !== (s = /*activeBonus*/
631
- f[61].termsandconditionsasset) && t(e, "termsandconditionsasset", s), c[0] & /*activeBonusesList*/
632
- 524288 && r !== (r = /*activeBonus*/
633
- f[61].endpoint) && t(e, "endpoint", r), c[0] & /*activeBonusesList*/
634
- 524288 && l !== (l = /*activeBonus*/
635
- f[61].playerid) && t(e, "playerid", l), c[0] & /*activeBonusesList*/
636
- 524288 && d !== (d = /*activeBonus*/
637
- f[61].session) && t(e, "session", d), c[0] & /*activeBonusesList*/
638
- 524288 && u !== (u = /*activeBonus*/
639
- f[61].walletId) && t(e, "bonuswalletid", u), c[0] & /*activeBonusesList*/
640
- 524288 && b !== (b = /*activeBonus*/
641
- f[61].granted) && t(e, "bonusdate", b), c[0] & /*activeBonusesList*/
642
- 524288 && y !== (y = /*activeBonus*/
643
- f[61].expiryTime) && t(e, "bonusexpirationdate", y), c[0] & /*activeBonusesList*/
644
- 524288 && M !== (M = /*activeBonus*/
645
- f[61].status) && t(e, "bonusstatus", M), c[0] & /*activeBonusesList*/
646
- 524288 && A !== (A = /*activeBonus*/
647
- f[61].name) && t(e, "bonusname", A), c[0] & /*activeBonusesList*/
648
- 524288 && v !== (v = /*activeBonus*/
649
- f[61].type) && t(e, "bonustype", v), c[0] & /*activeBonusesList*/
650
- 524288 && h !== (h = /*activeBonus*/
651
- f[61].currency) && t(e, "bonuscurrency", h), c[0] & /*activeBonusesList*/
652
- 524288 && w !== (w = /*activeBonus*/
653
- f[61].freeRoundNumber) && t(e, "bonusfreespins", w), c[0] & /*activeBonusesList*/
654
- 524288 && C !== (C = /*activeBonus*/
655
- f[61].isWinBonus) && t(e, "isWinBonus", C), c[0] & /*lang*/
656
- 1 && t(
657
- e,
658
- "lang",
659
- /*lang*/
660
- f[0]
661
- ), c[0] & /*dateformat*/
662
- 64 && t(
663
- e,
664
- "dateformat",
665
- /*dateformat*/
666
- f[6]
667
- ), c[0] & /*clientstyling*/
668
- 2 && t(
669
- e,
670
- "clientstyling",
671
- /*clientstyling*/
672
- f[1]
673
- ), c[0] & /*clientstylingurl*/
674
- 4 && t(
675
- e,
676
- "clientstylingurl",
677
- /*clientstylingurl*/
678
- f[2]
679
- ), c[0] & /*mbsource*/
680
- 8 && t(
681
- e,
682
- "mbsource",
683
- /*mbsource*/
684
- f[3]
685
- ), c[0] & /*translationurl*/
686
- 16 && t(
687
- e,
688
- "translationurl",
689
- /*translationurl*/
690
- f[4]
691
- ), c[0] & /*currencylocale*/
692
- 32 && t(
693
- e,
694
- "currencylocale",
695
- /*currencylocale*/
696
- f[5]
697
- ), c[0] & /*ishiddenwageringbonus*/
698
- 128 && t(
699
- e,
700
- "ishiddenwageringbonus",
701
- /*ishiddenwageringbonus*/
702
- f[7]
703
- ), c[0] & /*filterbonusbalance*/
704
- 256 && t(
705
- e,
706
- "filterbonusbalance",
707
- /*filterbonusbalance*/
708
- f[8]
709
- );
710
- },
711
- d(f) {
712
- f && j(e);
713
- }
714
- };
715
- }
716
- function ke(n) {
717
- let e;
718
- function o(r, l) {
719
- return (
720
- /*activeBonus*/
721
- r[61].type === "freeRound" ? Cn : hn
722
- );
723
- }
724
- let i = o(n), s = i(n);
725
- return {
726
- c() {
727
- s.c(), e = ce();
728
- },
729
- m(r, l) {
730
- s.m(r, l), U(r, e, l);
731
- },
732
- p(r, l) {
733
- i === (i = o(r)) && s ? s.p(r, l) : (s.d(1), s = i(r), s && (s.c(), s.m(e.parentNode, e)));
734
- },
735
- d(r) {
736
- r && j(e), s.d(r);
737
- }
738
- };
739
- }
740
- function Ee(n) {
741
- let e, o, i, s, r, l, d, u, b, y, M, A, v, h, w, C, f, c, m, B, F, J, K, G = te(Array(
742
- /*numberOfPages*/
743
- n[17]
744
- )), E = [];
745
- for (let g = 0; g < G.length; g += 1)
746
- E[g] = Se(Me(n, G, g));
747
- return {
748
- c() {
749
- e = W("div"), o = W("button"), i = D("|<"), l = O(), d = W("button"), u = D("<"), M = O();
750
- for (let g = 0; g < E.length; g += 1)
751
- E[g].c();
752
- A = O(), v = W("button"), h = D(">"), f = O(), c = W("button"), m = D(">|"), o.disabled = s = /*currentPage*/
753
- n[18] === 0, _(o, "class", r = "BonusesFirst " + /*currentPage*/
754
- (n[18] === 0 ? "Inactive" : "")), d.disabled = b = /*currentPage*/
755
- n[18] === 0, _(d, "class", y = "BonusesPrev " + /*currentPage*/
756
- (n[18] === 0 ? "Inactive" : "")), v.disabled = w = /*currentPage*/
757
- n[18] === /*numberOfPages*/
758
- n[17] - 1, _(v, "class", C = "BonusesNext " + /*currentPage*/
759
- (n[18] === /*numberOfPages*/
760
- n[17] - 1 ? "Inactive" : "")), c.disabled = B = /*currentPage*/
761
- n[18] === /*numberOfPages*/
762
- n[17] - 1, _(c, "class", F = "BonusesLast " + /*currentPage*/
763
- (n[18] === /*numberOfPages*/
764
- n[17] - 1 ? "Inactive" : "")), _(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
765
- (n[22] ? "BonusesPaginationWrapperMobile" : ""));
766
- },
767
- m(g, P) {
768
- U(g, e, P), p(e, o), p(o, i), p(e, l), p(e, d), p(d, u), p(e, M);
769
- for (let S = 0; S < E.length; S += 1)
770
- E[S] && E[S].m(e, null);
771
- p(e, A), p(e, v), p(v, h), p(e, f), p(e, c), p(c, m), J || (K = [
772
- V(
773
- o,
774
- "click",
775
- /*click_handler_1*/
776
- n[39]
777
- ),
778
- V(
779
- d,
780
- "click",
781
- /*click_handler_2*/
782
- n[40]
783
- ),
784
- V(
785
- v,
786
- "click",
787
- /*click_handler_4*/
788
- n[42]
789
- ),
790
- V(
791
- c,
792
- "click",
793
- /*click_handler_5*/
794
- n[43]
795
- )
796
- ], J = !0);
797
- },
798
- p(g, P) {
799
- if (P[0] & /*currentPage*/
800
- 262144 && s !== (s = /*currentPage*/
801
- g[18] === 0) && (o.disabled = s), P[0] & /*currentPage*/
802
- 262144 && r !== (r = "BonusesFirst " + /*currentPage*/
803
- (g[18] === 0 ? "Inactive" : "")) && _(o, "class", r), P[0] & /*currentPage*/
804
- 262144 && b !== (b = /*currentPage*/
805
- g[18] === 0) && (d.disabled = b), P[0] & /*currentPage*/
806
- 262144 && y !== (y = "BonusesPrev " + /*currentPage*/
807
- (g[18] === 0 ? "Inactive" : "")) && _(d, "class", y), P[0] & /*currentPage, getActiveBonuses, numberOfPages*/
808
- 33947648) {
809
- G = te(Array(
810
- /*numberOfPages*/
811
- g[17]
812
- ));
813
- let S;
814
- for (S = 0; S < G.length; S += 1) {
815
- const R = Me(g, G, S);
816
- E[S] ? E[S].p(R, P) : (E[S] = Se(R), E[S].c(), E[S].m(e, A));
817
- }
818
- for (; S < E.length; S += 1)
819
- E[S].d(1);
820
- E.length = G.length;
821
- }
822
- P[0] & /*currentPage, numberOfPages*/
823
- 393216 && w !== (w = /*currentPage*/
824
- g[18] === /*numberOfPages*/
825
- g[17] - 1) && (v.disabled = w), P[0] & /*currentPage, numberOfPages*/
826
- 393216 && C !== (C = "BonusesNext " + /*currentPage*/
827
- (g[18] === /*numberOfPages*/
828
- g[17] - 1 ? "Inactive" : "")) && _(v, "class", C), P[0] & /*currentPage, numberOfPages*/
829
- 393216 && B !== (B = /*currentPage*/
830
- g[18] === /*numberOfPages*/
831
- g[17] - 1) && (c.disabled = B), P[0] & /*currentPage, numberOfPages*/
832
- 393216 && F !== (F = "BonusesLast " + /*currentPage*/
833
- (g[18] === /*numberOfPages*/
834
- g[17] - 1 ? "Inactive" : "")) && _(c, "class", F);
835
- },
836
- d(g) {
837
- g && j(e), Te(E, g), J = !1, de(K);
838
- }
839
- };
840
- }
841
- function Se(n) {
842
- let e, o = (
843
- /*i*/
844
- n[60] + 1 + ""
845
- ), i, s, r, l, d;
846
- function u() {
847
- return (
848
- /*click_handler_3*/
849
- n[41](
850
- /*i*/
851
- n[60]
852
- )
853
- );
854
- }
855
- return {
856
- c() {
857
- e = W("button"), i = D(o), e.disabled = s = /*i*/
858
- n[60] === /*currentPage*/
859
- n[18], _(e, "class", r = "BonusesPage " + /*i*/
860
- (n[60] === /*currentPage*/
861
- n[18] ? "BonusPageActive" : ""));
862
- },
863
- m(b, y) {
864
- U(b, e, y), p(e, i), l || (d = V(e, "click", u), l = !0);
865
- },
866
- p(b, y) {
867
- n = b, y[0] & /*currentPage*/
868
- 262144 && s !== (s = /*i*/
869
- n[60] === /*currentPage*/
870
- n[18]) && (e.disabled = s), y[0] & /*currentPage*/
871
- 262144 && r !== (r = "BonusesPage " + /*i*/
872
- (n[60] === /*currentPage*/
873
- n[18] ? "BonusPageActive" : "")) && _(e, "class", r);
874
- },
875
- d(b) {
876
- b && j(e), l = !1, d();
877
- }
878
- };
879
- }
880
- function Pe(n) {
881
- let e, o, i, s, r = (
882
- /*$_*/
883
- n[21]("forfeitBonus") + ""
884
- ), l, d, u, b, y = (
885
- /*$_*/
886
- n[21]("forfeitBonusCancel") + ""
887
- ), M, A, v, h = (
888
- /*$_*/
889
- n[21]("forfeitBonusConfirm") + ""
890
- ), w, C, f;
891
- return {
892
- c() {
893
- e = W("div"), o = W("div"), i = W("div"), s = W("p"), l = D(r), d = O(), u = W("div"), b = W("button"), M = D(y), A = O(), v = W("button"), w = D(h), _(s, "class", "ModalText"), _(b, "class", "ModalCancel"), _(v, "class", "ModalConfirm"), _(u, "class", "ModalButtons"), _(i, "class", "ModalBody"), _(o, "class", "ModalContent"), _(e, "class", "ModalWrapper " + /*isMobile*/
894
- (n[22] ? "ModalWrapperMobile" : ""));
895
- },
896
- m(c, m) {
897
- U(c, e, m), p(e, o), p(o, i), p(i, s), p(s, l), p(i, d), p(i, u), p(u, b), p(b, M), p(u, A), p(u, v), p(v, w), C || (f = [
898
- V(
899
- b,
900
- "click",
901
- /*closeBonusModal*/
902
- n[27]
903
- ),
904
- V(
905
- v,
906
- "click",
907
- /*debouncedFunction*/
908
- n[29](
909
- /*deleteBonus*/
910
- n[28]
911
- )
912
- )
913
- ], C = !0);
914
- },
915
- p(c, m) {
916
- m[0] & /*$_*/
917
- 2097152 && r !== (r = /*$_*/
918
- c[21]("forfeitBonus") + "") && X(l, r), m[0] & /*$_*/
919
- 2097152 && y !== (y = /*$_*/
920
- c[21]("forfeitBonusCancel") + "") && X(M, y), m[0] & /*$_*/
921
- 2097152 && h !== (h = /*$_*/
922
- c[21]("forfeitBonusConfirm") + "") && X(w, h);
923
- },
924
- d(c) {
925
- c && j(e), C = !1, de(f);
926
- }
927
- };
928
- }
929
- function wn(n) {
930
- let e, o, i, s, r = (
931
- /*$_*/
932
- n[21]("titleBonuses") + ""
933
- ), l, d, u, b, y = (
934
- /*$_*/
935
- n[21]("bonusCode") + ""
936
- ), M, A, v, h, w, C, f = (
937
- /*$_*/
938
- n[21]("getBonus") + ""
939
- ), c, m, B, F, J, K, G, E = (
940
- /*isMobile*/
941
- n[22] && gn(n)
942
- ), g = (
943
- /*invalidBonusCode*/
944
- n[12] && Ae(n)
945
- );
946
- function P(k, z) {
947
- return (
948
- /*isLoading*/
949
- k[10] ? _n : Bn
950
- );
951
- }
952
- let S = P(n), R = S(n), I = (
953
- /*bonusModal*/
954
- n[20] && Pe(n)
955
- );
956
- return {
957
- c() {
958
- e = W("div"), o = W("div"), E && E.c(), i = O(), s = W("h2"), l = D(r), d = O(), u = W("div"), b = W("label"), M = D(y), A = O(), v = W("div"), h = W("input"), w = O(), C = W("button"), c = D(f), B = O(), g && g.c(), F = O(), R.c(), J = O(), I && I.c(), _(s, "class", "ActiveBonusesTitle " + /*isMobile*/
959
- (n[22] ? "ActiveBonusesTitleNone" : "")), _(b, "for", "BonusCode"), _(h, "class", "BonusCodeInput " + /*isMobile*/
960
- (n[22] ? "BonusCodeInputMobile" : "")), _(h, "type", "text"), _(h, "id", "BonusCode"), _(C, "class", "SubmitBonusCode " + /*isMobile*/
961
- (n[22] ? "SubmitBonusCodeMobile" : "")), C.disabled = m = /*invalidBonusField*/
962
- n[11] || /*isLoading*/
963
- n[10], _(v, "class", "BonusCodeWrapper " + /*isMobile*/
964
- (n[22] ? "BonusCodeWrapperMobile" : "")), _(u, "class", "BonusCodeContainer " + /*isMobile*/
965
- (n[22] ? "BonusCodeContainerMobile" : "")), _(o, "class", "ActiveBonusesWrapper " + /*isMobile*/
966
- (n[22] ? "ActiveBonusesWrapperMobile" : ""));
967
- },
968
- m(k, z) {
969
- U(k, e, z), p(e, o), E && E.m(o, null), p(o, i), p(o, s), p(s, l), p(o, d), p(o, u), p(u, b), p(b, M), p(u, A), p(u, v), p(v, h), ye(
970
- h,
971
- /*bonusCode*/
972
- n[13]
973
- ), p(v, w), p(v, C), p(C, c), p(u, B), g && g.m(u, null), p(o, F), R.m(o, null), p(e, J), I && I.m(e, null), n[44](e), K || (G = [
974
- V(
975
- h,
976
- "input",
977
- /*input_input_handler*/
978
- n[38]
979
- ),
980
- V(
981
- h,
982
- "keyup",
983
- /*validateBonusCode*/
984
- n[24]
985
- ),
986
- V(
987
- C,
988
- "click",
989
- /*claimBonus*/
990
- n[26]
991
- )
992
- ], K = !0);
993
- },
994
- p(k, z) {
995
- /*isMobile*/
996
- k[22] && E.p(k, z), z[0] & /*$_*/
997
- 2097152 && r !== (r = /*$_*/
998
- k[21]("titleBonuses") + "") && X(l, r), z[0] & /*$_*/
999
- 2097152 && y !== (y = /*$_*/
1000
- k[21]("bonusCode") + "") && X(M, y), z[0] & /*bonusCode*/
1001
- 8192 && h.value !== /*bonusCode*/
1002
- k[13] && ye(
1003
- h,
1004
- /*bonusCode*/
1005
- k[13]
1006
- ), z[0] & /*$_*/
1007
- 2097152 && f !== (f = /*$_*/
1008
- k[21]("getBonus") + "") && X(c, f), z[0] & /*invalidBonusField, isLoading*/
1009
- 3072 && m !== (m = /*invalidBonusField*/
1010
- k[11] || /*isLoading*/
1011
- k[10]) && (C.disabled = m), /*invalidBonusCode*/
1012
- k[12] ? g ? g.p(k, z) : (g = Ae(k), g.c(), g.m(u, null)) : g && (g.d(1), g = null), S === (S = P(k)) && R ? R.p(k, z) : (R.d(1), R = S(k), R && (R.c(), R.m(o, null))), /*bonusModal*/
1013
- k[20] ? I ? I.p(k, z) : (I = Pe(k), I.c(), I.m(e, null)) : I && (I.d(1), I = null);
1014
- },
1015
- i: ue,
1016
- o: ue,
1017
- d(k) {
1018
- k && j(e), E && E.d(), g && g.d(), R.d(), I && I.d(), n[44](null), K = !1, de(G);
1019
- }
1020
- };
1021
- }
1022
- let Mn = "status=active", Y = 6;
1023
- function Wn(n, e, o) {
1024
- let i;
1025
- en(n, un, (a) => o(21, i = a));
1026
- let { endpoint: s = "" } = e, { session: r = "" } = e, { playerid: l = "" } = e, { lang: d = "en" } = e, { currency: u = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: M } = e, { translationurl: A = "" } = e, { currencylocale: v = "" } = e, { dateformat: h = "" } = e, { bonuscoderegex: w = "" } = e, { ishiddenwageringbonus: C = "false" } = e, { gmversion: f = "" } = e, { filterbonusbalance: c = "false" } = e, { filtertags: m = "" } = e, B = !1, F, J, K = window.navigator.userAgent, G = nn(K) !== "PC", E = !0, g = !1, P = "", S = 0, R = 0, I = 0, k = 0, z = 0, ie = [], me, ae = "", re = !1;
1027
- const Ie = () => {
1028
- fetch(A).then((T) => T.json()).then((T) => {
1029
- Object.keys(T).forEach((q) => {
1030
- he(q, T[q]);
1031
- });
1032
- }).catch((T) => {
1033
- console.log(T);
1034
- });
1035
- };
1036
- Object.keys(Ce).forEach((a) => {
1037
- he(a, Ce[a]);
1038
- });
1039
- const be = (a) => {
1040
- if (a.data)
1041
- switch (a.data.type) {
1042
- case "DeleteActiveBonus":
1043
- ae = a.data.bonuswalletid, o(20, re = !0);
1044
- break;
1045
- }
1046
- };
1047
- function Fe(a, T) {
1048
- return (...q) => {
1049
- clearTimeout(me), me = setTimeout(
1050
- () => {
1051
- a.apply(this, q);
1052
- },
1053
- T
1054
- );
1055
- };
1056
- }
1057
- const ge = () => {
1058
- window.postMessage(
1059
- {
1060
- type: "PlayerAccountMenuActive",
1061
- isMobile: G
1062
- },
1063
- window.location.href
1064
- );
1065
- }, Re = () => P ? w ? new RegExp(w).test(P) : !0 : !1, Le = () => {
1066
- o(11, E = !Re()), w && o(12, g = E);
1067
- };
1068
- function Be(a) {
1069
- const T = a.initialWagerRequirementAmount ?? 0, q = a.remainingWagerRequirementAmount ?? 0;
1070
- return {
1071
- ...a,
1072
- freeRoundNumber: a.numberOfFreeSpin ?? void 0,
1073
- walletId: a.bonusWalletID ?? void 0,
1074
- granted: a.grantedDate ?? void 0,
1075
- expiryTime: a.expiryDate ?? void 0,
1076
- currentAmount: a.remainingAmount ?? void 0,
1077
- originalWageringRequirement: a.initialWagerRequirementAmount ?? void 0,
1078
- fulfilledWR: T - q,
1079
- extension: {
1080
- grantedPlayerCurrencyAmount: a.amount ?? void 0
1081
- },
1082
- termsandconditionsurl: a.url ?? void 0,
1083
- termsandconditionsdescription: a.description ?? void 0,
1084
- termsandconditionsasset: a.assets ?? void 0,
1085
- isWinBonus: a?.tags?.includes("auto_apply") === !0 && a.type === cn.ODDS_BOOST
1086
- };
1087
- }
1088
- const H = async (a) => {
1089
- o(10, B = !0);
1090
- try {
1091
- let T = [], q = 0;
1092
- if (f === "gm2") {
1093
- console.log("getActiveBonuses - gm2", f);
1094
- const L = {
1095
- pagination: `limit=${Y},offset=${a}`,
1096
- language: d || "en",
1097
- sortOrder: "desc",
1098
- status: we.STATUS_ACTIVE,
1099
- type: we.TYPES,
1100
- expand: "freeSpin",
1101
- filterTags: m
1102
- };
1103
- C === "true" && (L.includeHiddenWallet = !0);
1104
- const x = await mn(s, r, L), Q = x.items;
1105
- Array.isArray(Q) ? m ? T = Q.filter(($) => $?.tags?.includes("auto_apply") !== !0).map(Be) : T = Q.map(Be) : console.error("Unexpected granted bonuses payload", x), q = x.total ?? 0;
1106
- } else {
1107
- console.log("getActiveBonuses - /bonusWallet", f);
1108
- const L = {
1109
- method: "GET",
1110
- headers: { "X-SessionId": r }
1111
- }, x = `/v1/player/${l}/bonusWallet`, Q = new URL(`${s}${x}`), $ = new URLSearchParams();
1112
- $.set("filter", Mn), $.set("pagination", `offset=${a},limit=${Y}`), Q.search = $.toString();
1113
- const ee = await (await fetch(Q, L)).json();
1114
- if (Array.isArray(ee.items)) {
1115
- for (const oe of ee.items) {
1116
- const se = oe?.extension?.bonus?.presentation;
1117
- se && (oe.termsandconditionsurl = se.url, oe.termsandconditionsdescription = se.description, oe.termsandconditionsasset = se.assets);
1118
- }
1119
- T = ee.items;
1120
- } else
1121
- console.error("Unexpected legacy bonus list payload", ee);
1122
- q = ee.total ?? 0;
1123
- }
1124
- o(17, k = Math.ceil(q / Y)), a - Y >= 0 && o(14, S = a - Y), a + Y < q && o(15, R = a + Y), o(16, I = (k - 1) * Y), o(18, z = a / Y), o(19, ie = T), v && ie.forEach((L) => {
1125
- L.fulfilledWR = ne(L.fulfilledWR), L.originalWageringRequirement = ne(L.originalWageringRequirement), L.currentAmount = ne(L.currentAmount), L.extension && (L.extension.grantedPlayerCurrencyAmount = ne(L.extension.grantedPlayerCurrencyAmount));
1126
- }), window.scrollTo({ top: 0, behavior: "smooth" });
1127
- } catch (T) {
1128
- console.error(T);
1129
- } finally {
1130
- o(10, B = !1);
1131
- }
1132
- }, ne = (a) => new Intl.NumberFormat(v, { style: "currency", currency: u }).format(a).replace(/\s/g, ""), _e = () => {
1133
- console.log("post claim success, status 200"), o(12, g = !1), H(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
1134
- {
1135
- type: "WidgetNotification",
1136
- data: {
1137
- type: "success",
1138
- message: i("bonusClaimSuccessMessage")
1139
- }
1140
- },
1141
- window.location.href
1142
- ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
1143
- context: "PlayerActiveBonuses",
1144
- userId: `${l || "Not logged in"}`,
1145
- bonusCode: `${P}`
1146
- });
1147
- }, ve = () => {
1148
- o(12, g = !0), console.log("post claim error - status not 200"), window.postMessage(
1149
- {
1150
- type: "WidgetNotification",
1151
- data: {
1152
- type: "error",
1153
- message: i("bonusClaimErrorMessage")
1154
- }
1155
- },
1156
- window.location.href
1157
- );
1158
- }, Ne = async () => {
1159
- o(10, B = !0);
1160
- try {
1161
- if (f === "gm2") {
1162
- if (!(await pn(s, r, { bonusCode: P, currency: u })).success) {
1163
- ve();
1164
- //!
1165
- return;
1166
- }
1167
- _e();
1168
- return;
1169
- }
1170
- const a = new URL(`${s}/v1/player/${l}/claimbonus`);
1171
- a.searchParams.append("currency", u), a.searchParams.append("bonusCode", P);
1172
- const T = {
1173
- method: "POST",
1174
- headers: {
1175
- "X-SessionId": r,
1176
- accept: "application/json"
1177
- }
1178
- };
1179
- (await fetch(a.href, T)).status == 200 ? _e() : ve();
1180
- } finally {
1181
- o(10, B = !1);
1182
- }
1183
- }, le = () => {
1184
- window.postMessage({ type: "EnableScroll" }, window.location.href), o(20, re = !1);
1185
- }, ze = async () => {
1186
- if (f === "gm2") {
1187
- if (!(await fn(s, r, { bonusWalletID: ae })).success)
1188
- return;
1189
- H(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), le();
1190
- return;
1191
- }
1192
- const a = {
1193
- method: "DELETE",
1194
- headers: {
1195
- "X-SessionId": r,
1196
- "Content-Type": "application/json",
1197
- Accept: "application/json"
1198
- }
1199
- }, T = new URL(`${s}/v1/player/${l}/bonusWallet`);
1200
- T.searchParams.append("bonusWalletID", ae), (await fetch(T, a)).status == 200 && (H(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), le());
1201
- }, Oe = () => {
1202
- dn(d);
1203
- };
1204
- function De(a) {
1205
- return Fe(a, 1e3);
1206
- }
1207
- on(() => (window.addEventListener("message", be, !1), () => {
1208
- window.removeEventListener("message", be);
1209
- }));
1210
- const je = () => ge();
1211
- function Ue() {
1212
- P = this.value, o(13, P);
1213
- }
1214
- const qe = () => H(0), Ge = () => H(S), Ve = (a) => H(a * Y), He = () => H(R), Ye = () => H(I);
1215
- function Xe(a) {
1216
- sn[a ? "unshift" : "push"](() => {
1217
- F = a, o(9, F);
1218
- });
1219
- }
1220
- return n.$$set = (a) => {
1221
- "endpoint" in a && o(30, s = a.endpoint), "session" in a && o(31, r = a.session), "playerid" in a && o(32, l = a.playerid), "lang" in a && o(0, d = a.lang), "currency" in a && o(33, u = a.currency), "clientstyling" in a && o(1, b = a.clientstyling), "clientstylingurl" in a && o(2, y = a.clientstylingurl), "mbsource" in a && o(3, M = a.mbsource), "translationurl" in a && o(4, A = a.translationurl), "currencylocale" in a && o(5, v = a.currencylocale), "dateformat" in a && o(6, h = a.dateformat), "bonuscoderegex" in a && o(34, w = a.bonuscoderegex), "ishiddenwageringbonus" in a && o(7, C = a.ishiddenwageringbonus), "gmversion" in a && o(35, f = a.gmversion), "filterbonusbalance" in a && o(8, c = a.filterbonusbalance), "filtertags" in a && o(36, m = a.filtertags);
1222
- }, n.$$.update = () => {
1223
- n.$$.dirty[0] & /*lang*/
1224
- 1 && d && Oe(), n.$$.dirty[0] & /*endpoint*/
1225
- 1073741824 | n.$$.dirty[1] & /*session, playerid*/
1226
- 3 && r && l && s && H(0), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1227
- 514 && b && F && tn(F, b), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1228
- 516 && y && F && an(F, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1229
- 520 && M && F && rn(F, `${M}.Style`, J), n.$$.dirty[0] & /*translationurl*/
1230
- 16 && A && Ie();
1231
- }, [
1232
- d,
1233
- b,
1234
- y,
1235
- M,
1236
- A,
1237
- v,
1238
- h,
1239
- C,
1240
- c,
1241
- F,
1242
- B,
1243
- E,
1244
- g,
1245
- P,
1246
- S,
1247
- R,
1248
- I,
1249
- k,
1250
- z,
1251
- ie,
1252
- re,
1253
- i,
1254
- G,
1255
- ge,
1256
- Le,
1257
- H,
1258
- Ne,
1259
- le,
1260
- ze,
1261
- De,
1262
- s,
1263
- r,
1264
- l,
1265
- u,
1266
- w,
1267
- f,
1268
- m,
1269
- je,
1270
- Ue,
1271
- qe,
1272
- Ge,
1273
- Ve,
1274
- He,
1275
- Ye,
1276
- Xe
1277
- ];
1278
- }
1279
- class An extends Qe {
1280
- constructor(e) {
1281
- super(), Ze(
1282
- this,
1283
- e,
1284
- Wn,
1285
- wn,
1286
- xe,
1287
- {
1288
- endpoint: 30,
1289
- session: 31,
1290
- playerid: 32,
1291
- lang: 0,
1292
- currency: 33,
1293
- clientstyling: 1,
1294
- clientstylingurl: 2,
1295
- mbsource: 3,
1296
- translationurl: 4,
1297
- currencylocale: 5,
1298
- dateformat: 6,
1299
- bonuscoderegex: 34,
1300
- ishiddenwageringbonus: 7,
1301
- gmversion: 35,
1302
- filterbonusbalance: 8,
1303
- filtertags: 36
1304
- },
1305
- bn,
1306
- [-1, -1, -1]
1307
- );
1308
- }
1309
- get endpoint() {
1310
- return this.$$.ctx[30];
1311
- }
1312
- set endpoint(e) {
1313
- this.$$set({ endpoint: e }), N();
1314
- }
1315
- get session() {
1316
- return this.$$.ctx[31];
1317
- }
1318
- set session(e) {
1319
- this.$$set({ session: e }), N();
1320
- }
1321
- get playerid() {
1322
- return this.$$.ctx[32];
1323
- }
1324
- set playerid(e) {
1325
- this.$$set({ playerid: e }), N();
1326
- }
1327
- get lang() {
1328
- return this.$$.ctx[0];
1329
- }
1330
- set lang(e) {
1331
- this.$$set({ lang: e }), N();
1332
- }
1333
- get currency() {
1334
- return this.$$.ctx[33];
1335
- }
1336
- set currency(e) {
1337
- this.$$set({ currency: e }), N();
1338
- }
1339
- get clientstyling() {
1340
- return this.$$.ctx[1];
1341
- }
1342
- set clientstyling(e) {
1343
- this.$$set({ clientstyling: e }), N();
1344
- }
1345
- get clientstylingurl() {
1346
- return this.$$.ctx[2];
1347
- }
1348
- set clientstylingurl(e) {
1349
- this.$$set({ clientstylingurl: e }), N();
1350
- }
1351
- get mbsource() {
1352
- return this.$$.ctx[3];
1353
- }
1354
- set mbsource(e) {
1355
- this.$$set({ mbsource: e }), N();
1356
- }
1357
- get translationurl() {
1358
- return this.$$.ctx[4];
1359
- }
1360
- set translationurl(e) {
1361
- this.$$set({ translationurl: e }), N();
1362
- }
1363
- get currencylocale() {
1364
- return this.$$.ctx[5];
1365
- }
1366
- set currencylocale(e) {
1367
- this.$$set({ currencylocale: e }), N();
1368
- }
1369
- get dateformat() {
1370
- return this.$$.ctx[6];
1371
- }
1372
- set dateformat(e) {
1373
- this.$$set({ dateformat: e }), N();
1374
- }
1375
- get bonuscoderegex() {
1376
- return this.$$.ctx[34];
1377
- }
1378
- set bonuscoderegex(e) {
1379
- this.$$set({ bonuscoderegex: e }), N();
1380
- }
1381
- get ishiddenwageringbonus() {
1382
- return this.$$.ctx[7];
1383
- }
1384
- set ishiddenwageringbonus(e) {
1385
- this.$$set({ ishiddenwageringbonus: e }), N();
1386
- }
1387
- get gmversion() {
1388
- return this.$$.ctx[35];
1389
- }
1390
- set gmversion(e) {
1391
- this.$$set({ gmversion: e }), N();
1392
- }
1393
- get filterbonusbalance() {
1394
- return this.$$.ctx[8];
1395
- }
1396
- set filterbonusbalance(e) {
1397
- this.$$set({ filterbonusbalance: e }), N();
1398
- }
1399
- get filtertags() {
1400
- return this.$$.ctx[36];
1401
- }
1402
- set filtertags(e) {
1403
- this.$$set({ filtertags: e }), N();
1404
- }
1405
- }
1406
- ln(An, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {}, filterbonusbalance: {}, filtertags: {} }, [], [], !0);
1407
- export {
1408
- An as default
1409
- };