@everymatrix/player-account-controller 1.90.9 → 1.90.16

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 (110) hide show
  1. package/components/{GeneralLogout-pwKsJ5-l.js → GeneralLogout-BKx51Zaq.js} +1 -1
  2. package/components/{GeneralLogout-eoaVkxXT.cjs → GeneralLogout-VTkKJB8c.cjs} +1 -1
  3. package/components/{GeneralLogout-BSzBmLE_.js → GeneralLogout-mhvPXdQS.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-DnnK0ZuT.js → PlayerAccountBettingHistory-60htcrut.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-BsjWgPyh.cjs → PlayerAccountBettingHistory-BMg5yoY5.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-fbByqyQl.js → PlayerAccountBettingHistory-JWTctySt.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-D-Kaql-D.js → PlayerAccountBiometrics-B7WFoVnp.js} +2 -2
  8. package/components/{PlayerAccountBiometrics-CRxspQox.js → PlayerAccountBiometrics-CnaARJe_.js} +2 -2
  9. package/components/{PlayerAccountBiometrics-DWIjHMcK.cjs → PlayerAccountBiometrics-zdFmr-58.cjs} +1 -1
  10. package/components/{PlayerAccountBiometricsAction-CsLPS9kI.js → PlayerAccountBiometricsAction-BWog1wle.js} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-DLdRVPeF.js → PlayerAccountBiometricsAction-Cq_CYfcW.js} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-CwVdWg0a.cjs → PlayerAccountBiometricsAction-D4HOPMt8.cjs} +1 -1
  13. package/components/{PlayerAccountClosure-CmfaWOto.js → PlayerAccountClosure-8aPkk1cP.js} +1 -1
  14. package/components/{PlayerAccountClosure-3nAyYGNv.js → PlayerAccountClosure-BfONWAwp.js} +1 -1
  15. package/components/{PlayerAccountClosure-BHsPlJYD.cjs → PlayerAccountClosure-DDwjKJmB.cjs} +1 -1
  16. package/components/{PlayerAccountController-CwmiXx7L.cjs → PlayerAccountController-BcBfTKzG.cjs} +1 -1
  17. package/components/{PlayerAccountController-BW6_Nrpt.js → PlayerAccountController-ByLZN610.js} +22 -22
  18. package/components/{PlayerAccountController-Cf08NGel.js → PlayerAccountController-Dfff9xAu.js} +22 -22
  19. package/components/{PlayerAccountGamingLimits-YGMLSrUE.js → PlayerAccountGamingLimits-BQOSAIiX.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-DWethY6_.js → PlayerAccountGamingLimits-COtk5U5W.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-Bi6mmTOl.cjs → PlayerAccountGamingLimits-CineMYxO.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-V6nDIaE5.js → PlayerAccountGamingLimitsConfirmationModal-CLx7zUaa.js} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-CM41Syzb.js → PlayerAccountGamingLimitsConfirmationModal-DMPjx0Ei.js} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-BDh59QjA.cjs → PlayerAccountGamingLimitsConfirmationModal-DWER3ml0.cjs} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-BtFa9KCl.js → PlayerAccountGamingLimitsGroupEdit-BWvjS300.js} +5 -5
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-DqV4AtH5.cjs → PlayerAccountGamingLimitsGroupEdit-C1i_unLf.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-CG7qjkxE.js → PlayerAccountGamingLimitsGroupEdit-CVnN5-d7.js} +5 -5
  28. package/components/{PlayerAccountGamingLimitsHistory2-ew1Heowl.js → PlayerAccountGamingLimitsHistory2-C3Qousav.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-a9rfpUnK.cjs → PlayerAccountGamingLimitsHistory2-CtDQanI7.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-C7HMSrDy.js → PlayerAccountGamingLimitsHistory2-DprnSDYw.js} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-EoH3LYgz.cjs → PlayerAccountGamingLimitsInfoCard-AjTnsmvq.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsInfoCard-B_eFH3dz.js → PlayerAccountGamingLimitsInfoCard-BiZTVktI.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-xKAvvClH.js → PlayerAccountGamingLimitsInfoCard-CANE4TBu.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-C5fW7kTL.js → PlayerAccountGamingLimitsPage2Gm16-C0m1GAeE.js} +2 -2
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-_BG_vaTF.js → PlayerAccountGamingLimitsPage2Gm16-CSRxmQti.js} +2 -2
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cq8FXgsj.cjs → PlayerAccountGamingLimitsPage2Gm16-N9NHLWAf.cjs} +2 -2
  37. package/components/{PlayerAccountGamingLimitsPopup-qrBdr5ln.js → PlayerAccountGamingLimitsPopup-BvThHy_x.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-B78h611-.cjs → PlayerAccountGamingLimitsPopup-C3UM47UE.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-Cfjlqsil.js → PlayerAccountGamingLimitsPopup-CyGn50tO.js} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-DdkAEE11.js → PlayerAccountGamingLimitsWrapper2-BPJyqTpv.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-m_slDh-m.cjs → PlayerAccountGamingLimitsWrapper2-DsOS3q11.cjs} +1 -1
  42. package/components/{PlayerAccountGamingLimitsWrapper2-DvJ-UucJ.js → PlayerAccountGamingLimitsWrapper2-ze8gMSgD.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-BfDEZbFo.cjs → PlayerAccountGeneralConfirmationModal-B0tiStxb.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-B6z13nq9.js → PlayerAccountGeneralConfirmationModal-C9_fj-ax.js} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-_-yavTWi.js → PlayerAccountGeneralConfirmationModal-DhPqdXb8.js} +1 -1
  46. package/components/{PlayerAccountMenu-vYH4XoHy.js → PlayerAccountMenu-B6WEgCGT.js} +2 -2
  47. package/components/{PlayerAccountMenu-9StBK6Zg.cjs → PlayerAccountMenu-BqPlPSZk.cjs} +1 -1
  48. package/components/{PlayerAccountMenu-CXyyAu9L.js → PlayerAccountMenu-DogKHV0t.js} +2 -2
  49. package/components/{PlayerAccountModal--UA5TTcM.js → PlayerAccountModal-B5SzzxV1.js} +1 -1
  50. package/components/{PlayerAccountModal-BvUBEyfj.js → PlayerAccountModal-BF6Er1Lx.js} +1 -1
  51. package/components/{PlayerAccountModal-YchKutin.cjs → PlayerAccountModal-Bj22eBYi.cjs} +1 -1
  52. package/components/{PlayerAccountNotifications-COmR0LZp.js → PlayerAccountNotifications-BYCwuefx.js} +1 -1
  53. package/components/{PlayerAccountNotifications-Mr_BeADO.cjs → PlayerAccountNotifications-Dpo3gxTG.cjs} +1 -1
  54. package/components/{PlayerAccountNotifications-D8Jgov2k.js → PlayerAccountNotifications-yHt4nfBt.js} +1 -1
  55. package/components/{PlayerAccountProductRestriction-CWQqePy9.cjs → PlayerAccountProductRestriction-C-S-Kp67.cjs} +1 -1
  56. package/components/{PlayerAccountProductRestriction-BYoFCW50.js → PlayerAccountProductRestriction-CRfGjuK8.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-CGHKOeA2.js → PlayerAccountProductRestriction-D-T-Q0i0.js} +3 -3
  58. package/components/{PlayerAccountReviewFrequency-DXsm9Kxb.js → PlayerAccountReviewFrequency-BX4ZOZO3.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-2dxK41fP.cjs → PlayerAccountReviewFrequency-DGPypWCz.cjs} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-DeOaTkpv.js → PlayerAccountReviewFrequency-D_523zeH.js} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-z-mtM_1-.cjs → PlayerAccountSelfExclusion-D_Dzr9Ef.cjs} +1 -1
  62. package/components/{PlayerAccountSelfExclusion-Cb_ILwpM.js → PlayerAccountSelfExclusion-htAiRNd8.js} +2 -2
  63. package/components/{PlayerAccountSelfExclusion-BB2W5ZW7.js → PlayerAccountSelfExclusion-n1ITbpIp.js} +2 -2
  64. package/components/{PlayerAccountTimeout-D1olNCwP.js → PlayerAccountTimeout-Cequkvkb.js} +3 -3
  65. package/components/{PlayerAccountTimeout-DTx32Y27.cjs → PlayerAccountTimeout-DwPRwAB-.cjs} +2 -2
  66. package/components/{PlayerAccountTimeout-Bj-E6XFS.js → PlayerAccountTimeout-y3hjOsXO.js} +3 -3
  67. package/components/PlayerAccountTransactionsHistory-BWyZi7Qp.cjs +4 -0
  68. package/components/{PlayerAccountTransactionsHistory-CIT7Xej7.js → PlayerAccountTransactionsHistory-CEeQtpnz.js} +1003 -955
  69. package/components/{PlayerAccountTransactionsHistory-DD8lUCUC.js → PlayerAccountTransactionsHistory-qNioNwOC.js} +925 -877
  70. package/components/PlayerActiveBonuses-B-qoHMOm.js +1236 -0
  71. package/components/PlayerActiveBonuses-BSvSlrZ6.cjs +4 -0
  72. package/components/PlayerActiveBonuses-DZvx3d46.js +1235 -0
  73. package/components/{PlayerBonusCard-Dn0RKPs4.js → PlayerBonusCard-CGxAG6z_.js} +2 -2
  74. package/components/{PlayerBonusCard-B5z-GvMk.js → PlayerBonusCard-Dx_OBRNE.js} +2 -2
  75. package/components/{PlayerBonusCard-BDcQdp_v.cjs → PlayerBonusCard-bni7RTt6.cjs} +1 -1
  76. package/components/{PlayerBonusHistory-rlVMVX9f.js → PlayerBonusHistory-BMGGF3HT.js} +852 -831
  77. package/components/{PlayerBonusHistory-D19ZrpTD.cjs → PlayerBonusHistory-BgH_4BdX.cjs} +130 -130
  78. package/components/{PlayerBonusHistory-BWdX6yEb.js → PlayerBonusHistory-DMgFbVl0.js} +853 -832
  79. package/components/{PlayerChangePassword-C2uXLba1.js → PlayerChangePassword-BHxSpc5G.js} +1 -1
  80. package/components/{PlayerChangePassword-Babx74Qz.js → PlayerChangePassword-DRMobu_o.js} +1 -1
  81. package/components/{PlayerChangePassword-D9rff_O8.cjs → PlayerChangePassword-DUDCCpZQ.cjs} +1 -1
  82. package/components/{PlayerDeposit-C_LvjcPO.js → PlayerDeposit-BSPlkbCR.js} +1 -1
  83. package/components/{PlayerDeposit-DeqWaDXm.cjs → PlayerDeposit-CU_WPuaJ.cjs} +1 -1
  84. package/components/{PlayerDeposit-B7wB3hII.js → PlayerDeposit-kIpXr91P.js} +1 -1
  85. package/components/{PlayerGamingHistory-C159EZF4.js → PlayerGamingHistory-Ceodzwlv.js} +3 -3
  86. package/components/{PlayerGamingHistory-BSWmvfmc.js → PlayerGamingHistory-Whp9v4r2.js} +3 -3
  87. package/components/{PlayerGamingHistory-DTp2JQtN.cjs → PlayerGamingHistory-xT3Cuw9x.cjs} +1 -1
  88. package/components/{PlayerPendingWithdrawals-DRxJ3qnE.js → PlayerPendingWithdrawals-BkfQTAX2.js} +1 -1
  89. package/components/{PlayerPendingWithdrawals-cjjcNcLB.js → PlayerPendingWithdrawals-C-1A4NRP.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-DutlOo-8.cjs → PlayerPendingWithdrawals-C-DRF1Pn.cjs} +1 -1
  91. package/components/{PlayerProfileInfo-50LTi6uq.js → PlayerProfileInfo-CUjvJ919.js} +2 -2
  92. package/components/{PlayerProfileInfo-Dyn8AL9W.cjs → PlayerProfileInfo-Co9JIdI5.cjs} +1 -1
  93. package/components/{PlayerProfileInfo-preS3v9N.js → PlayerProfileInfo-nQ2Spv3N.js} +2 -2
  94. package/components/{PlayerRealityCheck-DpHvkjgl.js → PlayerRealityCheck-C0qdHoGc.js} +1 -1
  95. package/components/{PlayerRealityCheck-CFnr2ylO.cjs → PlayerRealityCheck-DR3Kl9Kf.cjs} +1 -1
  96. package/components/{PlayerRealityCheck-Siu4Zaz0.js → PlayerRealityCheck-WlO0MuEq.js} +1 -1
  97. package/components/{PlayerTransactionHistory-dUBMwEUL.js → PlayerTransactionHistory-BZsT4POG.js} +1 -1
  98. package/components/{PlayerTransactionHistory-Becw5cxg.js → PlayerTransactionHistory-D8RHvojV.js} +1 -1
  99. package/components/{PlayerTransactionHistory-2A6UCz-6.cjs → PlayerTransactionHistory-DRqdB9PQ.cjs} +1 -1
  100. package/components/{PlayerWithdrawal-4XJRPp_K.cjs → PlayerWithdrawal-BFZYwuih.cjs} +1 -1
  101. package/components/{PlayerWithdrawal-IZ2Q7Z13.js → PlayerWithdrawal-BHmpUEzV.js} +1 -1
  102. package/components/{PlayerWithdrawal-BT8URDyz.js → PlayerWithdrawal-D3O0Lku7.js} +1 -1
  103. package/es2015/player-account-controller.cjs +1 -1
  104. package/es2015/player-account-controller.js +1 -1
  105. package/esnext/player-account-controller.js +1 -1
  106. package/package.json +1 -1
  107. package/components/PlayerAccountTransactionsHistory-Bhp_1aDC.cjs +0 -4
  108. package/components/PlayerActiveBonuses-B6TzjH6T.js +0 -1215
  109. package/components/PlayerActiveBonuses-Ddu-M9d-.js +0 -1214
  110. package/components/PlayerActiveBonuses-pj2yCTEZ.cjs +0 -4
@@ -0,0 +1,1235 @@
1
+ import { a as Le, $ as Ne, S as Re, i as je, s as De, f as O, b as Oe, n as ne, d as R, w as se, u as Z, K as le, e as j, p as m, x as U, g as M, q as L, v as N, t as v, h as qe, j as Ge, o as Ue, y as Q, k as Ve, L as te, l as ee, m as ve, r as s, B as He, C as Xe, D as Ye, c as Je, A as Ke } from "./PlayerAccountController-Dfff9xAu.js";
2
+ function ue(o, e) {
3
+ Le(o, e);
4
+ }
5
+ function Ze(o) {
6
+ Ne.set(o);
7
+ }
8
+ const de = {
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
+ };
142
+ if (typeof window < "u") {
143
+ let o = function(e) {
144
+ return function(...n) {
145
+ try {
146
+ return e.apply(this, n);
147
+ } catch (i) {
148
+ 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"))
149
+ return !1;
150
+ throw i;
151
+ }
152
+ };
153
+ };
154
+ customElements.define = o(customElements.define), import("./PlayerBonusCard-CGxAG6z_.js").then(({ default: e }) => {
155
+ !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
156
+ });
157
+ }
158
+ function Qe(o) {
159
+ Oe(o, "svelte-154bfm9", '.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)}}');
160
+ }
161
+ function ce(o, e, n) {
162
+ const i = o.slice();
163
+ return i[52] = e[n], i[54] = n, i;
164
+ }
165
+ function pe(o, e, n) {
166
+ const i = o.slice();
167
+ return i[55] = e[n], i;
168
+ }
169
+ function xe(o) {
170
+ let e, n, i, t, r, a, c, d, f, y, w = (
171
+ /*$_*/
172
+ o[20]("titleBonuses") + ""
173
+ ), k, _, h;
174
+ return {
175
+ c() {
176
+ e = M("div"), n = Q("svg"), i = Q("defs"), t = Q("style"), r = N(`.aaa {
177
+ fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
178
+ }
179
+ `), a = Q("g"), c = Q("g"), d = Q("path"), f = L(), y = M("h2"), k = N(w), v(d, "class", "aaa"), v(d, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), v(d, "transform", "translate(15 15) rotate(180)"), v(c, "transform", "translate(20 158)"), v(a, "transform", "translate(-20 -158)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "15"), v(n, "height", "15"), v(n, "viewBox", "0 0 15 15"), v(y, "class", "ActiveBonusesTitleMobile"), v(e, "class", "MenuReturnButton");
180
+ },
181
+ m(C, p) {
182
+ j(C, e, p), m(e, n), m(n, i), m(i, t), m(t, r), m(n, a), m(a, c), m(c, d), m(e, f), m(e, y), m(y, k), _ || (h = U(
183
+ e,
184
+ "click",
185
+ /*click_handler*/
186
+ o[34]
187
+ ), _ = !0);
188
+ },
189
+ p(C, p) {
190
+ p[0] & /*$_*/
191
+ 1048576 && w !== (w = /*$_*/
192
+ C[20]("titleBonuses") + "") && Z(k, w);
193
+ },
194
+ d(C) {
195
+ C && R(e), _ = !1, h();
196
+ }
197
+ };
198
+ }
199
+ function me(o) {
200
+ let e, n = (
201
+ /*$_*/
202
+ o[20]("invalidBonusCode") + ""
203
+ ), i;
204
+ return {
205
+ c() {
206
+ e = M("p"), i = N(n), v(e, "class", "InvalidBonusCodeMessage");
207
+ },
208
+ m(t, r) {
209
+ j(t, e, r), m(e, i);
210
+ },
211
+ p(t, r) {
212
+ r[0] & /*$_*/
213
+ 1048576 && n !== (n = /*$_*/
214
+ t[20]("invalidBonusCode") + "") && Z(i, n);
215
+ },
216
+ d(t) {
217
+ t && R(e);
218
+ }
219
+ };
220
+ }
221
+ function $e(o) {
222
+ let e, n, i;
223
+ function t(d, f) {
224
+ return (
225
+ /*activeBonusesList*/
226
+ d[18].length === 0 ? no : oo
227
+ );
228
+ }
229
+ let r = t(o), a = r(o), c = (
230
+ /*activeBonusesList*/
231
+ o[18].length !== 0 && be(o)
232
+ );
233
+ return {
234
+ c() {
235
+ e = M("div"), a.c(), n = L(), c && c.c(), i = te(), v(e, "class", "ActiveBonusesGrid " + /*isMobile*/
236
+ (o[21] ? "ActiveBonusesGridMobile" : ""));
237
+ },
238
+ m(d, f) {
239
+ j(d, e, f), a.m(e, null), j(d, n, f), c && c.m(d, f), j(d, i, f);
240
+ },
241
+ p(d, f) {
242
+ r === (r = t(d)) && a ? a.p(d, f) : (a.d(1), a = r(d), a && (a.c(), a.m(e, null))), /*activeBonusesList*/
243
+ d[18].length !== 0 ? c ? c.p(d, f) : (c = be(d), c.c(), c.m(i.parentNode, i)) : c && (c.d(1), c = null);
244
+ },
245
+ d(d) {
246
+ d && (R(e), R(n), R(i)), a.d(), c && c.d(d);
247
+ }
248
+ };
249
+ }
250
+ function eo(o) {
251
+ let e;
252
+ return {
253
+ c() {
254
+ e = M("div"), v(e, "class", "ModalLoader"), v(e, "part", "ModalLoader");
255
+ },
256
+ m(n, i) {
257
+ j(n, e, i);
258
+ },
259
+ p: ne,
260
+ d(n) {
261
+ n && R(e);
262
+ }
263
+ };
264
+ }
265
+ function oo(o) {
266
+ let e, n = ee(
267
+ /*activeBonusesList*/
268
+ o[18]
269
+ ), i = [];
270
+ for (let t = 0; t < n.length; t += 1)
271
+ i[t] = fe(pe(o, n, t));
272
+ return {
273
+ c() {
274
+ for (let t = 0; t < i.length; t += 1)
275
+ i[t].c();
276
+ e = te();
277
+ },
278
+ m(t, r) {
279
+ for (let a = 0; a < i.length; a += 1)
280
+ i[a] && i[a].m(t, r);
281
+ j(t, e, r);
282
+ },
283
+ p(t, r) {
284
+ if (r[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
285
+ 262399) {
286
+ n = ee(
287
+ /*activeBonusesList*/
288
+ t[18]
289
+ );
290
+ let a;
291
+ for (a = 0; a < n.length; a += 1) {
292
+ const c = pe(t, n, a);
293
+ i[a] ? i[a].p(c, r) : (i[a] = fe(c), i[a].c(), i[a].m(e.parentNode, e));
294
+ }
295
+ for (; a < i.length; a += 1)
296
+ i[a].d(1);
297
+ i.length = n.length;
298
+ }
299
+ },
300
+ d(t) {
301
+ t && R(e), ve(i, t);
302
+ }
303
+ };
304
+ }
305
+ function no(o) {
306
+ let e, n = (
307
+ /*$_*/
308
+ o[20]("noActiveBonuses") + ""
309
+ ), i;
310
+ return {
311
+ c() {
312
+ e = M("p"), i = N(n);
313
+ },
314
+ m(t, r) {
315
+ j(t, e, r), m(e, i);
316
+ },
317
+ p(t, r) {
318
+ r[0] & /*$_*/
319
+ 1048576 && n !== (n = /*$_*/
320
+ t[20]("noActiveBonuses") + "") && Z(i, n);
321
+ },
322
+ d(t) {
323
+ t && R(e);
324
+ }
325
+ };
326
+ }
327
+ function so(o) {
328
+ let e, n, i, t, r, a, c, d, f, y, w, k, _, h, C, p, g;
329
+ return {
330
+ c() {
331
+ e = M("player-bonus-card"), s(e, "termsandconditionsdescription", n = /*activeBonus*/
332
+ o[55].termsandconditionsdescription), s(e, "termsandconditionsurl", i = /*activeBonus*/
333
+ o[55].termsandconditionsurl), s(e, "termsandconditionsasset", t = /*activeBonus*/
334
+ o[55].termsandconditionsasset), s(e, "endpoint", r = /*activeBonus*/
335
+ o[55].endpoint), s(e, "playerid", a = /*activeBonus*/
336
+ o[55].playerid), s(e, "session", c = /*activeBonus*/
337
+ o[55].session), s(e, "bonuswalletid", d = /*activeBonus*/
338
+ o[55].walletId), s(e, "bonusdate", f = /*activeBonus*/
339
+ o[55].granted), s(e, "bonusexpirationdate", y = /*activeBonus*/
340
+ o[55].expiryTime), s(e, "bonusstatus", w = /*activeBonus*/
341
+ o[55].status), s(e, "bonusname", k = /*activeBonus*/
342
+ o[55].name), s(e, "bonustype", _ = /*activeBonus*/
343
+ o[55].type), s(e, "bonusamount", h = /*activeBonus*/
344
+ o[55].extension.grantedPlayerCurrencyAmount), s(e, "bonuswageringamount", C = `${/*activeBonus*/
345
+ o[55].fulfilledWR} / ${/*activeBonus*/
346
+ o[55].originalWageringRequirement}`), s(e, "bonusremainingamount", p = /*activeBonus*/
347
+ o[55].currentAmount), s(e, "bonuscurrency", g = /*activeBonus*/
348
+ o[55].currency), s(
349
+ e,
350
+ "lang",
351
+ /*lang*/
352
+ o[0]
353
+ ), s(
354
+ e,
355
+ "dateformat",
356
+ /*dateformat*/
357
+ o[6]
358
+ ), s(
359
+ e,
360
+ "clientstyling",
361
+ /*clientstyling*/
362
+ o[1]
363
+ ), s(
364
+ e,
365
+ "clientstylingurl",
366
+ /*clientstylingurl*/
367
+ o[2]
368
+ ), s(
369
+ e,
370
+ "mbsource",
371
+ /*mbsource*/
372
+ o[3]
373
+ ), s(
374
+ e,
375
+ "translationurl",
376
+ /*translationurl*/
377
+ o[4]
378
+ ), s(
379
+ e,
380
+ "currencylocale",
381
+ /*currencylocale*/
382
+ o[5]
383
+ ), s(
384
+ e,
385
+ "ishiddenwageringbonus",
386
+ /*ishiddenwageringbonus*/
387
+ o[7]
388
+ );
389
+ },
390
+ m(l, B) {
391
+ j(l, e, B);
392
+ },
393
+ p(l, B) {
394
+ B[0] & /*activeBonusesList*/
395
+ 262144 && n !== (n = /*activeBonus*/
396
+ l[55].termsandconditionsdescription) && s(e, "termsandconditionsdescription", n), B[0] & /*activeBonusesList*/
397
+ 262144 && i !== (i = /*activeBonus*/
398
+ l[55].termsandconditionsurl) && s(e, "termsandconditionsurl", i), B[0] & /*activeBonusesList*/
399
+ 262144 && t !== (t = /*activeBonus*/
400
+ l[55].termsandconditionsasset) && s(e, "termsandconditionsasset", t), B[0] & /*activeBonusesList*/
401
+ 262144 && r !== (r = /*activeBonus*/
402
+ l[55].endpoint) && s(e, "endpoint", r), B[0] & /*activeBonusesList*/
403
+ 262144 && a !== (a = /*activeBonus*/
404
+ l[55].playerid) && s(e, "playerid", a), B[0] & /*activeBonusesList*/
405
+ 262144 && c !== (c = /*activeBonus*/
406
+ l[55].session) && s(e, "session", c), B[0] & /*activeBonusesList*/
407
+ 262144 && d !== (d = /*activeBonus*/
408
+ l[55].walletId) && s(e, "bonuswalletid", d), B[0] & /*activeBonusesList*/
409
+ 262144 && f !== (f = /*activeBonus*/
410
+ l[55].granted) && s(e, "bonusdate", f), B[0] & /*activeBonusesList*/
411
+ 262144 && y !== (y = /*activeBonus*/
412
+ l[55].expiryTime) && s(e, "bonusexpirationdate", y), B[0] & /*activeBonusesList*/
413
+ 262144 && w !== (w = /*activeBonus*/
414
+ l[55].status) && s(e, "bonusstatus", w), B[0] & /*activeBonusesList*/
415
+ 262144 && k !== (k = /*activeBonus*/
416
+ l[55].name) && s(e, "bonusname", k), B[0] & /*activeBonusesList*/
417
+ 262144 && _ !== (_ = /*activeBonus*/
418
+ l[55].type) && s(e, "bonustype", _), B[0] & /*activeBonusesList*/
419
+ 262144 && h !== (h = /*activeBonus*/
420
+ l[55].extension.grantedPlayerCurrencyAmount) && s(e, "bonusamount", h), B[0] & /*activeBonusesList*/
421
+ 262144 && C !== (C = `${/*activeBonus*/
422
+ l[55].fulfilledWR} / ${/*activeBonus*/
423
+ l[55].originalWageringRequirement}`) && s(e, "bonuswageringamount", C), B[0] & /*activeBonusesList*/
424
+ 262144 && p !== (p = /*activeBonus*/
425
+ l[55].currentAmount) && s(e, "bonusremainingamount", p), B[0] & /*activeBonusesList*/
426
+ 262144 && g !== (g = /*activeBonus*/
427
+ l[55].currency) && s(e, "bonuscurrency", g), B[0] & /*lang*/
428
+ 1 && s(
429
+ e,
430
+ "lang",
431
+ /*lang*/
432
+ l[0]
433
+ ), B[0] & /*dateformat*/
434
+ 64 && s(
435
+ e,
436
+ "dateformat",
437
+ /*dateformat*/
438
+ l[6]
439
+ ), B[0] & /*clientstyling*/
440
+ 2 && s(
441
+ e,
442
+ "clientstyling",
443
+ /*clientstyling*/
444
+ l[1]
445
+ ), B[0] & /*clientstylingurl*/
446
+ 4 && s(
447
+ e,
448
+ "clientstylingurl",
449
+ /*clientstylingurl*/
450
+ l[2]
451
+ ), B[0] & /*mbsource*/
452
+ 8 && s(
453
+ e,
454
+ "mbsource",
455
+ /*mbsource*/
456
+ l[3]
457
+ ), B[0] & /*translationurl*/
458
+ 16 && s(
459
+ e,
460
+ "translationurl",
461
+ /*translationurl*/
462
+ l[4]
463
+ ), B[0] & /*currencylocale*/
464
+ 32 && s(
465
+ e,
466
+ "currencylocale",
467
+ /*currencylocale*/
468
+ l[5]
469
+ ), B[0] & /*ishiddenwageringbonus*/
470
+ 128 && s(
471
+ e,
472
+ "ishiddenwageringbonus",
473
+ /*ishiddenwageringbonus*/
474
+ l[7]
475
+ );
476
+ },
477
+ d(l) {
478
+ l && R(e);
479
+ }
480
+ };
481
+ }
482
+ function to(o) {
483
+ let e, n, i, t, r, a, c, d, f, y, w, k, _, h, C;
484
+ return {
485
+ c() {
486
+ e = M("player-bonus-card"), s(e, "termsandconditionsdescription", n = /*activeBonus*/
487
+ o[55].termsandconditionsdescription), s(e, "termsandconditionsurl", i = /*activeBonus*/
488
+ o[55].termsandconditionsurl), s(e, "termsandconditionsasset", t = /*activeBonus*/
489
+ o[55].termsandconditionsasset), s(e, "endpoint", r = /*activeBonus*/
490
+ o[55].endpoint), s(e, "playerid", a = /*activeBonus*/
491
+ o[55].playerid), s(e, "session", c = /*activeBonus*/
492
+ o[55].session), s(e, "bonuswalletid", d = /*activeBonus*/
493
+ o[55].walletId), s(e, "bonusdate", f = /*activeBonus*/
494
+ o[55].granted), s(e, "bonusexpirationdate", y = /*activeBonus*/
495
+ o[55].expiryTime), s(e, "bonusstatus", w = /*activeBonus*/
496
+ o[55].status), s(e, "bonusname", k = /*activeBonus*/
497
+ o[55].name), s(e, "bonustype", _ = /*activeBonus*/
498
+ o[55].type), s(e, "bonuscurrency", h = /*activeBonus*/
499
+ o[55].currency), s(e, "bonusfreespins", C = /*activeBonus*/
500
+ o[55].freeRoundNumber), s(
501
+ e,
502
+ "lang",
503
+ /*lang*/
504
+ o[0]
505
+ ), s(
506
+ e,
507
+ "dateformat",
508
+ /*dateformat*/
509
+ o[6]
510
+ ), s(
511
+ e,
512
+ "clientstyling",
513
+ /*clientstyling*/
514
+ o[1]
515
+ ), s(
516
+ e,
517
+ "clientstylingurl",
518
+ /*clientstylingurl*/
519
+ o[2]
520
+ ), s(
521
+ e,
522
+ "mbsource",
523
+ /*mbsource*/
524
+ o[3]
525
+ ), s(
526
+ e,
527
+ "translationurl",
528
+ /*translationurl*/
529
+ o[4]
530
+ ), s(
531
+ e,
532
+ "currencylocale",
533
+ /*currencylocale*/
534
+ o[5]
535
+ ), s(
536
+ e,
537
+ "ishiddenwageringbonus",
538
+ /*ishiddenwageringbonus*/
539
+ o[7]
540
+ );
541
+ },
542
+ m(p, g) {
543
+ j(p, e, g);
544
+ },
545
+ p(p, g) {
546
+ g[0] & /*activeBonusesList*/
547
+ 262144 && n !== (n = /*activeBonus*/
548
+ p[55].termsandconditionsdescription) && s(e, "termsandconditionsdescription", n), g[0] & /*activeBonusesList*/
549
+ 262144 && i !== (i = /*activeBonus*/
550
+ p[55].termsandconditionsurl) && s(e, "termsandconditionsurl", i), g[0] & /*activeBonusesList*/
551
+ 262144 && t !== (t = /*activeBonus*/
552
+ p[55].termsandconditionsasset) && s(e, "termsandconditionsasset", t), g[0] & /*activeBonusesList*/
553
+ 262144 && r !== (r = /*activeBonus*/
554
+ p[55].endpoint) && s(e, "endpoint", r), g[0] & /*activeBonusesList*/
555
+ 262144 && a !== (a = /*activeBonus*/
556
+ p[55].playerid) && s(e, "playerid", a), g[0] & /*activeBonusesList*/
557
+ 262144 && c !== (c = /*activeBonus*/
558
+ p[55].session) && s(e, "session", c), g[0] & /*activeBonusesList*/
559
+ 262144 && d !== (d = /*activeBonus*/
560
+ p[55].walletId) && s(e, "bonuswalletid", d), g[0] & /*activeBonusesList*/
561
+ 262144 && f !== (f = /*activeBonus*/
562
+ p[55].granted) && s(e, "bonusdate", f), g[0] & /*activeBonusesList*/
563
+ 262144 && y !== (y = /*activeBonus*/
564
+ p[55].expiryTime) && s(e, "bonusexpirationdate", y), g[0] & /*activeBonusesList*/
565
+ 262144 && w !== (w = /*activeBonus*/
566
+ p[55].status) && s(e, "bonusstatus", w), g[0] & /*activeBonusesList*/
567
+ 262144 && k !== (k = /*activeBonus*/
568
+ p[55].name) && s(e, "bonusname", k), g[0] & /*activeBonusesList*/
569
+ 262144 && _ !== (_ = /*activeBonus*/
570
+ p[55].type) && s(e, "bonustype", _), g[0] & /*activeBonusesList*/
571
+ 262144 && h !== (h = /*activeBonus*/
572
+ p[55].currency) && s(e, "bonuscurrency", h), g[0] & /*activeBonusesList*/
573
+ 262144 && C !== (C = /*activeBonus*/
574
+ p[55].freeRoundNumber) && s(e, "bonusfreespins", C), g[0] & /*lang*/
575
+ 1 && s(
576
+ e,
577
+ "lang",
578
+ /*lang*/
579
+ p[0]
580
+ ), g[0] & /*dateformat*/
581
+ 64 && s(
582
+ e,
583
+ "dateformat",
584
+ /*dateformat*/
585
+ p[6]
586
+ ), g[0] & /*clientstyling*/
587
+ 2 && s(
588
+ e,
589
+ "clientstyling",
590
+ /*clientstyling*/
591
+ p[1]
592
+ ), g[0] & /*clientstylingurl*/
593
+ 4 && s(
594
+ e,
595
+ "clientstylingurl",
596
+ /*clientstylingurl*/
597
+ p[2]
598
+ ), g[0] & /*mbsource*/
599
+ 8 && s(
600
+ e,
601
+ "mbsource",
602
+ /*mbsource*/
603
+ p[3]
604
+ ), g[0] & /*translationurl*/
605
+ 16 && s(
606
+ e,
607
+ "translationurl",
608
+ /*translationurl*/
609
+ p[4]
610
+ ), g[0] & /*currencylocale*/
611
+ 32 && s(
612
+ e,
613
+ "currencylocale",
614
+ /*currencylocale*/
615
+ p[5]
616
+ ), g[0] & /*ishiddenwageringbonus*/
617
+ 128 && s(
618
+ e,
619
+ "ishiddenwageringbonus",
620
+ /*ishiddenwageringbonus*/
621
+ p[7]
622
+ );
623
+ },
624
+ d(p) {
625
+ p && R(e);
626
+ }
627
+ };
628
+ }
629
+ function fe(o) {
630
+ let e;
631
+ function n(r, a) {
632
+ return (
633
+ /*activeBonus*/
634
+ r[55].type === "freeRound" ? to : so
635
+ );
636
+ }
637
+ let i = n(o), t = i(o);
638
+ return {
639
+ c() {
640
+ t.c(), e = te();
641
+ },
642
+ m(r, a) {
643
+ t.m(r, a), j(r, e, a);
644
+ },
645
+ p(r, a) {
646
+ i === (i = n(r)) && t ? t.p(r, a) : (t.d(1), t = i(r), t && (t.c(), t.m(e.parentNode, e)));
647
+ },
648
+ d(r) {
649
+ r && R(e), t.d(r);
650
+ }
651
+ };
652
+ }
653
+ function be(o) {
654
+ let e, n, i, t, r, a, c, d, f, y, w, k, _, h, C, p, g, l, B, X, V, H, G, S = ee(Array(
655
+ /*numberOfPages*/
656
+ o[16]
657
+ )), W = [];
658
+ for (let b = 0; b < S.length; b += 1)
659
+ W[b] = ge(ce(o, S, b));
660
+ return {
661
+ c() {
662
+ e = M("div"), n = M("button"), i = N("|<"), a = L(), c = M("button"), d = N("<"), w = L();
663
+ for (let b = 0; b < W.length; b += 1)
664
+ W[b].c();
665
+ k = L(), _ = M("button"), h = N(">"), g = L(), l = M("button"), B = N(">|"), n.disabled = t = /*currentPage*/
666
+ o[17] === 0, v(n, "class", r = "BonusesFirst " + /*currentPage*/
667
+ (o[17] === 0 ? "Inactive" : "")), c.disabled = f = /*currentPage*/
668
+ o[17] === 0, v(c, "class", y = "BonusesPrev " + /*currentPage*/
669
+ (o[17] === 0 ? "Inactive" : "")), _.disabled = C = /*currentPage*/
670
+ o[17] === /*numberOfPages*/
671
+ o[16] - 1, v(_, "class", p = "BonusesNext " + /*currentPage*/
672
+ (o[17] === /*numberOfPages*/
673
+ o[16] - 1 ? "Inactive" : "")), l.disabled = X = /*currentPage*/
674
+ o[17] === /*numberOfPages*/
675
+ o[16] - 1, v(l, "class", V = "BonusesLast " + /*currentPage*/
676
+ (o[17] === /*numberOfPages*/
677
+ o[16] - 1 ? "Inactive" : "")), v(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
678
+ (o[21] ? "BonusesPaginationWrapperMobile" : ""));
679
+ },
680
+ m(b, P) {
681
+ j(b, e, P), m(e, n), m(n, i), m(e, a), m(e, c), m(c, d), m(e, w);
682
+ for (let E = 0; E < W.length; E += 1)
683
+ W[E] && W[E].m(e, null);
684
+ m(e, k), m(e, _), m(_, h), m(e, g), m(e, l), m(l, B), H || (G = [
685
+ U(
686
+ n,
687
+ "click",
688
+ /*click_handler_1*/
689
+ o[36]
690
+ ),
691
+ U(
692
+ c,
693
+ "click",
694
+ /*click_handler_2*/
695
+ o[37]
696
+ ),
697
+ U(
698
+ _,
699
+ "click",
700
+ /*click_handler_4*/
701
+ o[39]
702
+ ),
703
+ U(
704
+ l,
705
+ "click",
706
+ /*click_handler_5*/
707
+ o[40]
708
+ )
709
+ ], H = !0);
710
+ },
711
+ p(b, P) {
712
+ if (P[0] & /*currentPage*/
713
+ 131072 && t !== (t = /*currentPage*/
714
+ b[17] === 0) && (n.disabled = t), P[0] & /*currentPage*/
715
+ 131072 && r !== (r = "BonusesFirst " + /*currentPage*/
716
+ (b[17] === 0 ? "Inactive" : "")) && v(n, "class", r), P[0] & /*currentPage*/
717
+ 131072 && f !== (f = /*currentPage*/
718
+ b[17] === 0) && (c.disabled = f), P[0] & /*currentPage*/
719
+ 131072 && y !== (y = "BonusesPrev " + /*currentPage*/
720
+ (b[17] === 0 ? "Inactive" : "")) && v(c, "class", y), P[0] & /*currentPage, getActiveBonuses, numberOfPages*/
721
+ 16973824) {
722
+ S = ee(Array(
723
+ /*numberOfPages*/
724
+ b[16]
725
+ ));
726
+ let E;
727
+ for (E = 0; E < S.length; E += 1) {
728
+ const I = ce(b, S, E);
729
+ W[E] ? W[E].p(I, P) : (W[E] = ge(I), W[E].c(), W[E].m(e, k));
730
+ }
731
+ for (; E < W.length; E += 1)
732
+ W[E].d(1);
733
+ W.length = S.length;
734
+ }
735
+ P[0] & /*currentPage, numberOfPages*/
736
+ 196608 && C !== (C = /*currentPage*/
737
+ b[17] === /*numberOfPages*/
738
+ b[16] - 1) && (_.disabled = C), P[0] & /*currentPage, numberOfPages*/
739
+ 196608 && p !== (p = "BonusesNext " + /*currentPage*/
740
+ (b[17] === /*numberOfPages*/
741
+ b[16] - 1 ? "Inactive" : "")) && v(_, "class", p), P[0] & /*currentPage, numberOfPages*/
742
+ 196608 && X !== (X = /*currentPage*/
743
+ b[17] === /*numberOfPages*/
744
+ b[16] - 1) && (l.disabled = X), P[0] & /*currentPage, numberOfPages*/
745
+ 196608 && V !== (V = "BonusesLast " + /*currentPage*/
746
+ (b[17] === /*numberOfPages*/
747
+ b[16] - 1 ? "Inactive" : "")) && v(l, "class", V);
748
+ },
749
+ d(b) {
750
+ b && R(e), ve(W, b), H = !1, se(G);
751
+ }
752
+ };
753
+ }
754
+ function ge(o) {
755
+ let e, n = (
756
+ /*i*/
757
+ o[54] + 1 + ""
758
+ ), i, t, r, a, c;
759
+ function d() {
760
+ return (
761
+ /*click_handler_3*/
762
+ o[38](
763
+ /*i*/
764
+ o[54]
765
+ )
766
+ );
767
+ }
768
+ return {
769
+ c() {
770
+ e = M("button"), i = N(n), e.disabled = t = /*i*/
771
+ o[54] === /*currentPage*/
772
+ o[17], v(e, "class", r = "BonusesPage " + /*i*/
773
+ (o[54] === /*currentPage*/
774
+ o[17] ? "BonusPageActive" : ""));
775
+ },
776
+ m(f, y) {
777
+ j(f, e, y), m(e, i), a || (c = U(e, "click", d), a = !0);
778
+ },
779
+ p(f, y) {
780
+ o = f, y[0] & /*currentPage*/
781
+ 131072 && t !== (t = /*i*/
782
+ o[54] === /*currentPage*/
783
+ o[17]) && (e.disabled = t), y[0] & /*currentPage*/
784
+ 131072 && r !== (r = "BonusesPage " + /*i*/
785
+ (o[54] === /*currentPage*/
786
+ o[17] ? "BonusPageActive" : "")) && v(e, "class", r);
787
+ },
788
+ d(f) {
789
+ f && R(e), a = !1, c();
790
+ }
791
+ };
792
+ }
793
+ function Be(o) {
794
+ let e, n, i, t, r = (
795
+ /*$_*/
796
+ o[20]("forfeitBonus") + ""
797
+ ), a, c, d, f, y = (
798
+ /*$_*/
799
+ o[20]("forfeitBonusCancel") + ""
800
+ ), w, k, _, h = (
801
+ /*$_*/
802
+ o[20]("forfeitBonusConfirm") + ""
803
+ ), C, p, g;
804
+ return {
805
+ c() {
806
+ e = M("div"), n = M("div"), i = M("div"), t = M("p"), a = N(r), c = L(), d = M("div"), f = M("button"), w = N(y), k = L(), _ = M("button"), C = N(h), v(t, "class", "ModalText"), v(f, "class", "ModalCancel"), v(_, "class", "ModalConfirm"), v(d, "class", "ModalButtons"), v(i, "class", "ModalBody"), v(n, "class", "ModalContent"), v(e, "class", "ModalWrapper " + /*isMobile*/
807
+ (o[21] ? "ModalWrapperMobile" : ""));
808
+ },
809
+ m(l, B) {
810
+ j(l, e, B), m(e, n), m(n, i), m(i, t), m(t, a), m(i, c), m(i, d), m(d, f), m(f, w), m(d, k), m(d, _), m(_, C), p || (g = [
811
+ U(
812
+ f,
813
+ "click",
814
+ /*closeBonusModal*/
815
+ o[26]
816
+ ),
817
+ U(
818
+ _,
819
+ "click",
820
+ /*debouncedFunction*/
821
+ o[28](
822
+ /*deleteBonus*/
823
+ o[27]
824
+ )
825
+ )
826
+ ], p = !0);
827
+ },
828
+ p(l, B) {
829
+ B[0] & /*$_*/
830
+ 1048576 && r !== (r = /*$_*/
831
+ l[20]("forfeitBonus") + "") && Z(a, r), B[0] & /*$_*/
832
+ 1048576 && y !== (y = /*$_*/
833
+ l[20]("forfeitBonusCancel") + "") && Z(w, y), B[0] & /*$_*/
834
+ 1048576 && h !== (h = /*$_*/
835
+ l[20]("forfeitBonusConfirm") + "") && Z(C, h);
836
+ },
837
+ d(l) {
838
+ l && R(e), p = !1, se(g);
839
+ }
840
+ };
841
+ }
842
+ function io(o) {
843
+ let e, n, i, t, r = (
844
+ /*$_*/
845
+ o[20]("titleBonuses") + ""
846
+ ), a, c, d, f, y = (
847
+ /*$_*/
848
+ o[20]("bonusCode") + ""
849
+ ), w, k, _, h, C, p, g = (
850
+ /*$_*/
851
+ o[20]("getBonus") + ""
852
+ ), l, B, X, V, H, G, S, W = (
853
+ /*isMobile*/
854
+ o[21] && xe(o)
855
+ ), b = (
856
+ /*invalidBonusCode*/
857
+ o[11] && me(o)
858
+ );
859
+ function P(A, T) {
860
+ return (
861
+ /*isLoading*/
862
+ A[9] ? eo : $e
863
+ );
864
+ }
865
+ let E = P(o), I = E(o), F = (
866
+ /*bonusModal*/
867
+ o[19] && Be(o)
868
+ );
869
+ return {
870
+ c() {
871
+ e = M("div"), n = M("div"), W && W.c(), i = L(), t = M("h2"), a = N(r), c = L(), d = M("div"), f = M("label"), w = N(y), k = L(), _ = M("div"), h = M("input"), C = L(), p = M("button"), l = N(g), X = L(), b && b.c(), V = L(), I.c(), H = L(), F && F.c(), v(t, "class", "ActiveBonusesTitle " + /*isMobile*/
872
+ (o[21] ? "ActiveBonusesTitleNone" : "")), v(f, "for", "BonusCode"), v(h, "class", "BonusCodeInput " + /*isMobile*/
873
+ (o[21] ? "BonusCodeInputMobile" : "")), v(h, "type", "text"), v(h, "id", "BonusCode"), v(p, "class", "SubmitBonusCode " + /*isMobile*/
874
+ (o[21] ? "SubmitBonusCodeMobile" : "")), p.disabled = B = /*invalidBonusField*/
875
+ o[10] || /*isLoading*/
876
+ o[9], v(_, "class", "BonusCodeWrapper " + /*isMobile*/
877
+ (o[21] ? "BonusCodeWrapperMobile" : "")), v(d, "class", "BonusCodeContainer " + /*isMobile*/
878
+ (o[21] ? "BonusCodeContainerMobile" : "")), v(n, "class", "ActiveBonusesWrapper " + /*isMobile*/
879
+ (o[21] ? "ActiveBonusesWrapperMobile" : ""));
880
+ },
881
+ m(A, T) {
882
+ j(A, e, T), m(e, n), W && W.m(n, null), m(n, i), m(n, t), m(t, a), m(n, c), m(n, d), m(d, f), m(f, w), m(d, k), m(d, _), m(_, h), le(
883
+ h,
884
+ /*bonusCode*/
885
+ o[12]
886
+ ), m(_, C), m(_, p), m(p, l), m(d, X), b && b.m(d, null), m(n, V), I.m(n, null), m(e, H), F && F.m(e, null), o[41](e), G || (S = [
887
+ U(
888
+ h,
889
+ "input",
890
+ /*input_input_handler*/
891
+ o[35]
892
+ ),
893
+ U(
894
+ h,
895
+ "keyup",
896
+ /*validateBonusCode*/
897
+ o[23]
898
+ ),
899
+ U(
900
+ p,
901
+ "click",
902
+ /*claimBonus*/
903
+ o[25]
904
+ )
905
+ ], G = !0);
906
+ },
907
+ p(A, T) {
908
+ /*isMobile*/
909
+ A[21] && W.p(A, T), T[0] & /*$_*/
910
+ 1048576 && r !== (r = /*$_*/
911
+ A[20]("titleBonuses") + "") && Z(a, r), T[0] & /*$_*/
912
+ 1048576 && y !== (y = /*$_*/
913
+ A[20]("bonusCode") + "") && Z(w, y), T[0] & /*bonusCode*/
914
+ 4096 && h.value !== /*bonusCode*/
915
+ A[12] && le(
916
+ h,
917
+ /*bonusCode*/
918
+ A[12]
919
+ ), T[0] & /*$_*/
920
+ 1048576 && g !== (g = /*$_*/
921
+ A[20]("getBonus") + "") && Z(l, g), T[0] & /*invalidBonusField, isLoading*/
922
+ 1536 && B !== (B = /*invalidBonusField*/
923
+ A[10] || /*isLoading*/
924
+ A[9]) && (p.disabled = B), /*invalidBonusCode*/
925
+ A[11] ? b ? b.p(A, T) : (b = me(A), b.c(), b.m(d, null)) : b && (b.d(1), b = null), E === (E = P(A)) && I ? I.p(A, T) : (I.d(1), I = E(A), I && (I.c(), I.m(n, null))), /*bonusModal*/
926
+ A[19] ? F ? F.p(A, T) : (F = Be(A), F.c(), F.m(e, null)) : F && (F.d(1), F = null);
927
+ },
928
+ i: ne,
929
+ o: ne,
930
+ d(A) {
931
+ A && R(e), W && W.d(), b && b.d(), I.d(), F && F.d(), o[41](null), G = !1, se(S);
932
+ }
933
+ };
934
+ }
935
+ let ao = "status=active", K = 6;
936
+ function ro(o, e, n) {
937
+ let i;
938
+ qe(o, Ke, (u) => n(20, i = u));
939
+ let { endpoint: t = "" } = e, { session: r = "" } = e, { playerid: a = "" } = e, { lang: c = "en" } = e, { currency: d = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: w } = e, { translationurl: k = "" } = e, { currencylocale: _ = "" } = e, { dateformat: h = "" } = e, { bonuscoderegex: C = "" } = e, { ishiddenwageringbonus: p = "false" } = e, g = !1, l, B, X = window.navigator.userAgent, V = Ge(X) !== "PC", H = !0, G = !1, S = "", W = 0, b = 0, P = 0, E = 0, I = 0, F = [], A, T = "", oe = !1;
940
+ const _e = () => {
941
+ fetch(k).then((z) => z.json()).then((z) => {
942
+ Object.keys(z).forEach((q) => {
943
+ ue(q, z[q]);
944
+ });
945
+ }).catch((z) => {
946
+ console.log(z);
947
+ });
948
+ };
949
+ Object.keys(de).forEach((u) => {
950
+ ue(u, de[u]);
951
+ });
952
+ const ie = (u) => {
953
+ if (u.data)
954
+ switch (u.data.type) {
955
+ case "DeleteActiveBonus":
956
+ T = u.data.bonuswalletid, n(19, oe = !0);
957
+ break;
958
+ }
959
+ };
960
+ function ye(u, z) {
961
+ return (...q) => {
962
+ clearTimeout(A), A = setTimeout(
963
+ () => {
964
+ u.apply(this, q);
965
+ },
966
+ z
967
+ );
968
+ };
969
+ }
970
+ const ae = () => {
971
+ window.postMessage(
972
+ {
973
+ type: "PlayerAccountMenuActive",
974
+ isMobile: V
975
+ },
976
+ window.location.href
977
+ );
978
+ }, he = () => S ? C ? new RegExp(C).test(S) : !0 : !1, Ce = () => {
979
+ n(10, H = !he()), C && n(11, G = H);
980
+ }, Y = (u) => {
981
+ n(9, g = !0);
982
+ let z = {
983
+ method: "GET",
984
+ headers: { "X-SessionId": r }
985
+ }, q = new URL(`${t}/v1/player/${a}/bonusWallet`);
986
+ q.searchParams.append("filter", ao), q.searchParams.append("pagination", `offset=${u},limit=${K}`), fetch(q, z).then((J) => J.json()).then(
987
+ (J) => {
988
+ Array.isArray(J.items) && J.items.forEach((D) => {
989
+ const $ = D?.extension?.bonus?.presentation;
990
+ $ && (D.termsandconditionsurl = $.url, D.termsandconditionsdescription = $.description, D.termsandconditionsasset = $.assets);
991
+ }), n(16, E = Math.ceil(J.total / K)), u - K >= 0 && n(13, W = u - K), u + K < J.total && n(14, b = u + K), n(15, P = (E - 1) * K), n(17, I = u / K), n(18, F = J?.items || []), _ && F.forEach((D) => {
992
+ D.fulfilledWR = x(D.fulfilledWR), D.originalWageringRequirement = x(D.originalWageringRequirement), D.currentAmount = x(D.currentAmount), D.extension.grantedPlayerCurrencyAmount = x(D.extension.grantedPlayerCurrencyAmount);
993
+ }), window.scrollTo({ top: 0, behavior: "smooth" });
994
+ },
995
+ (J) => {
996
+ console.error(J);
997
+ }
998
+ ).finally(() => {
999
+ n(9, g = !1);
1000
+ });
1001
+ }, x = (u) => new Intl.NumberFormat(_, { style: "currency", currency: d }).format(u).replace(/\s/g, ""), we = () => {
1002
+ n(9, g = !0);
1003
+ let u = new URL(`${t}/v1/player/${a}/claimbonus`), z = {
1004
+ method: "POST",
1005
+ headers: {
1006
+ "X-SessionId": r,
1007
+ accept: "application/json"
1008
+ }
1009
+ };
1010
+ u.searchParams.append("currency", d), u.searchParams.append("bonusCode", S), fetch(u.href, z).then((q) => {
1011
+ q.status == 200 ? (n(11, G = !1), Y(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
1012
+ {
1013
+ type: "WidgetNotification",
1014
+ data: {
1015
+ type: "success",
1016
+ message: i("bonusClaimSuccessMessage")
1017
+ }
1018
+ },
1019
+ window.location.href
1020
+ ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
1021
+ context: "PlayerActiveBonuses",
1022
+ userId: `${a || "Not logged in"}`,
1023
+ bonusCode: `${S}`
1024
+ })) : (n(11, G = !0), window.postMessage(
1025
+ {
1026
+ type: "WidgetNotification",
1027
+ data: {
1028
+ type: "error",
1029
+ message: i("bonusClaimErrorMessage")
1030
+ }
1031
+ },
1032
+ window.location.href
1033
+ ));
1034
+ }).finally(() => {
1035
+ n(9, g = !1);
1036
+ });
1037
+ }, re = () => {
1038
+ window.postMessage({ type: "EnableScroll" }, window.location.href), n(19, oe = !1);
1039
+ }, Me = () => {
1040
+ let u = {
1041
+ method: "DELETE",
1042
+ headers: {
1043
+ "X-SessionId": r,
1044
+ "Content-Type": "application/json",
1045
+ Accept: "application/json"
1046
+ }
1047
+ }, z = new URL(`${t}/v1/player/${a}/bonusWallet`);
1048
+ z.searchParams.append("bonusWalletID", T), fetch(z, u).then((q) => {
1049
+ q.status == 200 && (Y(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), re());
1050
+ });
1051
+ }, ke = () => {
1052
+ Ze(c);
1053
+ };
1054
+ function We(u) {
1055
+ return ye(u, 1e3);
1056
+ }
1057
+ Ue(() => (window.addEventListener("message", ie, !1), () => {
1058
+ window.removeEventListener("message", ie);
1059
+ }));
1060
+ const Ae = () => ae();
1061
+ function Ee() {
1062
+ S = this.value, n(12, S);
1063
+ }
1064
+ const Pe = () => Y(0), Fe = () => Y(W), Se = (u) => Y(u * K), Ie = () => Y(b), ze = () => Y(P);
1065
+ function Te(u) {
1066
+ Ve[u ? "unshift" : "push"](() => {
1067
+ l = u, n(8, l);
1068
+ });
1069
+ }
1070
+ return o.$$set = (u) => {
1071
+ "endpoint" in u && n(29, t = u.endpoint), "session" in u && n(30, r = u.session), "playerid" in u && n(31, a = u.playerid), "lang" in u && n(0, c = u.lang), "currency" in u && n(32, d = u.currency), "clientstyling" in u && n(1, f = u.clientstyling), "clientstylingurl" in u && n(2, y = u.clientstylingurl), "mbsource" in u && n(3, w = u.mbsource), "translationurl" in u && n(4, k = u.translationurl), "currencylocale" in u && n(5, _ = u.currencylocale), "dateformat" in u && n(6, h = u.dateformat), "bonuscoderegex" in u && n(33, C = u.bonuscoderegex), "ishiddenwageringbonus" in u && n(7, p = u.ishiddenwageringbonus);
1072
+ }, o.$$.update = () => {
1073
+ o.$$.dirty[0] & /*lang*/
1074
+ 1 && c && ke(), o.$$.dirty[0] & /*session, endpoint*/
1075
+ 1610612736 | o.$$.dirty[1] & /*playerid*/
1076
+ 1 && r && a && t && Y(0), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1077
+ 258 && f && l && He(l, f), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1078
+ 260 && y && l && Xe(l, y), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
1079
+ 264 && w && l && Ye(l, `${w}.Style`, B), o.$$.dirty[0] & /*translationurl*/
1080
+ 16 && k && _e();
1081
+ }, [
1082
+ c,
1083
+ f,
1084
+ y,
1085
+ w,
1086
+ k,
1087
+ _,
1088
+ h,
1089
+ p,
1090
+ l,
1091
+ g,
1092
+ H,
1093
+ G,
1094
+ S,
1095
+ W,
1096
+ b,
1097
+ P,
1098
+ E,
1099
+ I,
1100
+ F,
1101
+ oe,
1102
+ i,
1103
+ V,
1104
+ ae,
1105
+ Ce,
1106
+ Y,
1107
+ we,
1108
+ re,
1109
+ Me,
1110
+ We,
1111
+ t,
1112
+ r,
1113
+ a,
1114
+ d,
1115
+ C,
1116
+ Ae,
1117
+ Ee,
1118
+ Pe,
1119
+ Fe,
1120
+ Se,
1121
+ Ie,
1122
+ ze,
1123
+ Te
1124
+ ];
1125
+ }
1126
+ class lo extends Re {
1127
+ constructor(e) {
1128
+ super(), je(
1129
+ this,
1130
+ e,
1131
+ ro,
1132
+ io,
1133
+ De,
1134
+ {
1135
+ endpoint: 29,
1136
+ session: 30,
1137
+ playerid: 31,
1138
+ lang: 0,
1139
+ currency: 32,
1140
+ clientstyling: 1,
1141
+ clientstylingurl: 2,
1142
+ mbsource: 3,
1143
+ translationurl: 4,
1144
+ currencylocale: 5,
1145
+ dateformat: 6,
1146
+ bonuscoderegex: 33,
1147
+ ishiddenwageringbonus: 7
1148
+ },
1149
+ Qe,
1150
+ [-1, -1]
1151
+ );
1152
+ }
1153
+ get endpoint() {
1154
+ return this.$$.ctx[29];
1155
+ }
1156
+ set endpoint(e) {
1157
+ this.$$set({ endpoint: e }), O();
1158
+ }
1159
+ get session() {
1160
+ return this.$$.ctx[30];
1161
+ }
1162
+ set session(e) {
1163
+ this.$$set({ session: e }), O();
1164
+ }
1165
+ get playerid() {
1166
+ return this.$$.ctx[31];
1167
+ }
1168
+ set playerid(e) {
1169
+ this.$$set({ playerid: e }), O();
1170
+ }
1171
+ get lang() {
1172
+ return this.$$.ctx[0];
1173
+ }
1174
+ set lang(e) {
1175
+ this.$$set({ lang: e }), O();
1176
+ }
1177
+ get currency() {
1178
+ return this.$$.ctx[32];
1179
+ }
1180
+ set currency(e) {
1181
+ this.$$set({ currency: e }), O();
1182
+ }
1183
+ get clientstyling() {
1184
+ return this.$$.ctx[1];
1185
+ }
1186
+ set clientstyling(e) {
1187
+ this.$$set({ clientstyling: e }), O();
1188
+ }
1189
+ get clientstylingurl() {
1190
+ return this.$$.ctx[2];
1191
+ }
1192
+ set clientstylingurl(e) {
1193
+ this.$$set({ clientstylingurl: e }), O();
1194
+ }
1195
+ get mbsource() {
1196
+ return this.$$.ctx[3];
1197
+ }
1198
+ set mbsource(e) {
1199
+ this.$$set({ mbsource: e }), O();
1200
+ }
1201
+ get translationurl() {
1202
+ return this.$$.ctx[4];
1203
+ }
1204
+ set translationurl(e) {
1205
+ this.$$set({ translationurl: e }), O();
1206
+ }
1207
+ get currencylocale() {
1208
+ return this.$$.ctx[5];
1209
+ }
1210
+ set currencylocale(e) {
1211
+ this.$$set({ currencylocale: e }), O();
1212
+ }
1213
+ get dateformat() {
1214
+ return this.$$.ctx[6];
1215
+ }
1216
+ set dateformat(e) {
1217
+ this.$$set({ dateformat: e }), O();
1218
+ }
1219
+ get bonuscoderegex() {
1220
+ return this.$$.ctx[33];
1221
+ }
1222
+ set bonuscoderegex(e) {
1223
+ this.$$set({ bonuscoderegex: e }), O();
1224
+ }
1225
+ get ishiddenwageringbonus() {
1226
+ return this.$$.ctx[7];
1227
+ }
1228
+ set ishiddenwageringbonus(e) {
1229
+ this.$$set({ ishiddenwageringbonus: e }), O();
1230
+ }
1231
+ }
1232
+ Je(lo, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {} }, [], [], !0);
1233
+ export {
1234
+ lo as default
1235
+ };