@everymatrix/player-account-controller 1.76.1 → 1.76.4

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 (170) hide show
  1. package/components/GeneralLogout-CuvnoUn1.cjs +21 -0
  2. package/components/{GeneralLogout-DIRnj10H.js → GeneralLogout-DSECYo0-.js} +843 -822
  3. package/components/{GeneralLogout-Dd4n6Kp2.js → GeneralLogout-DpZ-BcWm.js} +814 -793
  4. package/components/PlayerAccountBettingHistory-BDYeFmkk.js +310 -0
  5. package/components/PlayerAccountBettingHistory-CNH9wk4q.js +311 -0
  6. package/components/PlayerAccountBettingHistory-Cb9zY2cj.cjs +1 -0
  7. package/components/{PlayerAccountBiometrics-D8lv7JzY.js → PlayerAccountBiometrics-B9d0_egW.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-N164JTVo.cjs → PlayerAccountBiometrics-CSSQNl0K.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-DzUvqvfR.js → PlayerAccountBiometrics-DvAjLCSX.js} +22 -22
  10. package/components/{PlayerAccountClosure-ByNnHtUf.cjs → PlayerAccountClosure-D2ovK8jC.cjs} +1 -1
  11. package/components/{PlayerAccountClosure-B7LJRfF_.js → PlayerAccountClosure-DzDcGjw6.js} +17 -17
  12. package/components/{PlayerAccountClosure-VNjXTTeE.js → PlayerAccountClosure-uGbZZ9An.js} +17 -17
  13. package/components/{PlayerAccountController-ByH1pKyb.js → PlayerAccountController-Bh2YqpJa.js} +317 -317
  14. package/components/{PlayerAccountController-CB0hWHF5.cjs → PlayerAccountController-COwgIzeU.cjs} +1 -1
  15. package/components/{PlayerAccountController-CEWDE65T.js → PlayerAccountController-CvNKS6xL.js} +317 -317
  16. package/components/{PlayerAccountGamingLimits-CSFkUiYY.js → PlayerAccountGamingLimits-B6wKBvsB.js} +127 -127
  17. package/components/{PlayerAccountGamingLimits-DLyOkU8g.cjs → PlayerAccountGamingLimits-BPVpte4c.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-BPAFyYb5.js → PlayerAccountGamingLimits-DBraet-_.js} +127 -127
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-DON2ejFa.js → PlayerAccountGamingLimitsConfirmationModal-BKVbjWGo.js} +30 -30
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-De1JAgPX.js → PlayerAccountGamingLimitsConfirmationModal-C7eo4n91.js} +30 -30
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs → PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-B4l5VAbb.js → PlayerAccountGamingLimitsGroupEdit-CfD-M6Qh.js} +127 -129
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-CrgfBvua.js → PlayerAccountGamingLimitsGroupEdit-JjBMtw_4.js} +127 -129
  24. package/components/PlayerAccountGamingLimitsGroupEdit-gUkWnHwu.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2-BRgxAXo_.js → PlayerAccountGamingLimitsHistory2-B41VVq8R.js} +39 -39
  26. package/components/{PlayerAccountGamingLimitsHistory2-RFRr_X30.js → PlayerAccountGamingLimitsHistory2-BM9UlpyS.js} +41 -41
  27. package/components/{PlayerAccountGamingLimitsHistory2-x-v5JjhN.cjs → PlayerAccountGamingLimitsHistory2-Bl-VMGFi.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs → PlayerAccountGamingLimitsInfoCard-B1-rS3C8.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-BRDuV_cd.js → PlayerAccountGamingLimitsInfoCard-B9H7I5Gr.js} +83 -83
  30. package/components/{PlayerAccountGamingLimitsInfoCard-BiwEIF0r.js → PlayerAccountGamingLimitsInfoCard-DwX_bkPR.js} +83 -83
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-ON7JEHkh.js → PlayerAccountGamingLimitsPage2Gm16-Brd3m-fP.js} +153 -153
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-BzYDfg-O.cjs → PlayerAccountGamingLimitsPage2Gm16-Q5WrBUgy.cjs} +2 -2
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-BhxxIBRB.js → PlayerAccountGamingLimitsPage2Gm16-w3PA_HBR.js} +103 -103
  34. package/components/{PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs → PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPopup-Biyoz4lK.js → PlayerAccountGamingLimitsPopup-BhTuwNDv.js} +42 -42
  36. package/components/{PlayerAccountGamingLimitsPopup-cBscDgFe.js → PlayerAccountGamingLimitsPopup-Bm8wJyt7.js} +42 -42
  37. package/components/{PlayerAccountGamingLimitsWrapper2-GKUv6Mnn.js → PlayerAccountGamingLimitsWrapper2-DlnqaCXY.js} +37 -37
  38. package/components/{PlayerAccountGamingLimitsWrapper2-B-IU7btg.js → PlayerAccountGamingLimitsWrapper2-Em5gYydz.js} +37 -37
  39. package/components/{PlayerAccountGamingLimitsWrapper2-xh6AqJmt.cjs → PlayerAccountGamingLimitsWrapper2-HBygavB0.cjs} +1 -1
  40. package/components/{PlayerAccountGeneralConfirmationModal-BNoE_P3G.js → PlayerAccountGeneralConfirmationModal-C2j-cezP.js} +32 -32
  41. package/components/{PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs → PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs} +1 -1
  42. package/components/{PlayerAccountGeneralConfirmationModal-q4Du5zdg.js → PlayerAccountGeneralConfirmationModal-TR0re855.js} +32 -32
  43. package/components/{PlayerAccountMenu-CVBew6Nf.cjs → PlayerAccountMenu-BQu1uMXy.cjs} +1 -1
  44. package/components/{PlayerAccountMenu-BbdWpRLe.js → PlayerAccountMenu-DDK28uRA.js} +36 -36
  45. package/components/{PlayerAccountMenu-BicTGCSZ.js → PlayerAccountMenu-DZqChKXK.js} +33 -33
  46. package/components/{PlayerAccountModal-Day4vMPZ.js → PlayerAccountModal-Cw2Mcd-d.js} +23 -23
  47. package/components/{PlayerAccountModal-DaIBO9tP.cjs → PlayerAccountModal-CzspHDhO.cjs} +1 -1
  48. package/components/{PlayerAccountModal-J-6B3L2x.js → PlayerAccountModal-DoBwOdNI.js} +23 -23
  49. package/components/{PlayerAccountNotifications-wc_EBqY2.js → PlayerAccountNotifications-BpsUOj0M.js} +36 -36
  50. package/components/{PlayerAccountNotifications-BbvJAh0S.cjs → PlayerAccountNotifications-CGmkTd-y.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-PuDZBFQ4.js → PlayerAccountNotifications-CzhNTTTd.js} +35 -35
  52. package/components/{PlayerAccountProductRestriction-BA3Ht4v0.js → PlayerAccountProductRestriction-ClvW28BI.js} +9124 -4058
  53. package/components/{PlayerAccountProductRestriction-BVD0VXs9.js → PlayerAccountProductRestriction-DEGzc5kz.js} +9149 -4083
  54. package/components/PlayerAccountProductRestriction-HFCCxFxz.cjs +7968 -0
  55. package/components/{PlayerAccountSelfExclusion-B9rXp_dv.js → PlayerAccountSelfExclusion-BOViWFS9.js} +113 -116
  56. package/components/{PlayerAccountSelfExclusion-CwlTQfYm.cjs → PlayerAccountSelfExclusion-BWBLv-18.cjs} +87 -87
  57. package/components/{PlayerAccountSelfExclusion-BwFD6ZJu.js → PlayerAccountSelfExclusion-C7Br5VmH.js} +563 -566
  58. package/components/{PlayerAccountTimeout-DfxFUM4s.js → PlayerAccountTimeout-CIHTd0LQ.js} +75 -75
  59. package/components/{PlayerAccountTimeout-mAcIWL2w.js → PlayerAccountTimeout-CfEHZ9pc.js} +75 -75
  60. package/components/{PlayerAccountTimeout-CPLGI8jX.cjs → PlayerAccountTimeout-DtpzMxQd.cjs} +1 -1
  61. package/components/{PlayerAccountTransactionsHistory-BvHq23Ih.cjs → PlayerAccountTransactionsHistory-F6GVNqFp.cjs} +1 -1
  62. package/components/{PlayerAccountTransactionsHistory-ChuZGnz_.js → PlayerAccountTransactionsHistory-Y6ZG0CWS.js} +87 -87
  63. package/components/{PlayerAccountTransactionsHistory-K9dyemhE.js → PlayerAccountTransactionsHistory-igmI9FwW.js} +87 -87
  64. package/components/PlayerActiveBonuses-BX2RoyE3.js +1169 -0
  65. package/components/PlayerActiveBonuses-CQY1HsqF.js +1170 -0
  66. package/components/PlayerActiveBonuses-DVq9bN8v.cjs +4 -0
  67. package/components/{PlayerBonusCard-D68dTYiw.js → PlayerBonusCard-BXjt3PQh.js} +81 -81
  68. package/components/{PlayerBonusCard-B58kMR83.js → PlayerBonusCard-BYBQy1Si.js} +81 -81
  69. package/components/{PlayerBonusCard-KehruUku.cjs → PlayerBonusCard-C6zYcpN6.cjs} +1 -1
  70. package/components/PlayerBonusHistory-D_dN_hkb.cjs +4 -0
  71. package/components/PlayerBonusHistory-nKCbz6D4.js +1089 -0
  72. package/components/PlayerBonusHistory-qV6ulYRf.js +1100 -0
  73. package/components/{PlayerChangePassword-VQJYG-HQ.js → PlayerChangePassword-B5A-0Obq.js} +66 -66
  74. package/components/{PlayerChangePassword-DYpl0DV7.cjs → PlayerChangePassword-CTNjnq_r.cjs} +1 -1
  75. package/components/{PlayerChangePassword-CQqQIyDU.js → PlayerChangePassword-DTahlEtx.js} +66 -66
  76. package/components/PlayerDeposit-BsyYS9xx.cjs +1 -0
  77. package/components/{PlayerDeposit-R4oRYCP7.js → PlayerDeposit-DOzGblzs.js} +80 -80
  78. package/components/{PlayerDeposit-nin4U--Y.js → PlayerDeposit-DqT5-LKW.js} +80 -80
  79. package/components/{PlayerGamingHistory-BxN4Cjj3.cjs → PlayerGamingHistory-8Bo-uc3o.cjs} +1 -1
  80. package/components/{PlayerGamingHistory-CN6XDOWB.js → PlayerGamingHistory-ByLE5wRu.js} +63 -63
  81. package/components/{PlayerGamingHistory-VnHkfl2z.js → PlayerGamingHistory-CfvSHYhg.js} +72 -72
  82. package/components/{PlayerPendingWithdrawals-adHFXpiC.js → PlayerPendingWithdrawals-CGYcCotO.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-DfQ_PvkY.cjs → PlayerPendingWithdrawals-Dvq9lK8F.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-C1tt1OJl.js → PlayerPendingWithdrawals-iWN6LsIP.js} +26 -26
  85. package/components/{PlayerProfileInfo-CKJNYYA8.cjs → PlayerProfileInfo-CImeJryH.cjs} +2 -2
  86. package/components/{PlayerProfileInfo-DpEH00v-.js → PlayerProfileInfo-CXB2S4G7.js} +70 -70
  87. package/components/{PlayerProfileInfo-CrGJ1yEi.js → PlayerProfileInfo-CkE2sMgx.js} +70 -70
  88. package/components/{PlayerRealityCheck-Cq2rIALW.cjs → PlayerRealityCheck-BynMsi1X.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-JkP_hy_p.js → PlayerRealityCheck-Dr5lvwHL.js} +44 -44
  90. package/components/{PlayerRealityCheck-CTGhzTwa.js → PlayerRealityCheck-kgcCV8FV.js} +43 -43
  91. package/components/{PlayerTransactionHistory-DPvvu8Wp.cjs → PlayerTransactionHistory-BU4_vLyx.cjs} +1 -1
  92. package/components/{PlayerTransactionHistory-CQPQw37D.js → PlayerTransactionHistory-CEEirGIE.js} +19 -19
  93. package/components/{PlayerTransactionHistory-DQfalEXN.js → PlayerTransactionHistory-j-FbnqEI.js} +19 -19
  94. package/components/{PlayerWithdrawal-11j92uAk.js → PlayerWithdrawal-B_nHZSvY.js} +19 -19
  95. package/components/{PlayerWithdrawal-BcaC1sEF.cjs → PlayerWithdrawal-CkSCfQ4A.cjs} +1 -1
  96. package/components/{PlayerWithdrawal-yB5c-nTz.js → PlayerWithdrawal-DjRR7TrQ.js} +19 -19
  97. package/es2015/player-account-controller.cjs +1 -1
  98. package/es2015/player-account-controller.js +1 -1
  99. package/esnext/player-account-controller.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-BYhnrwip.js → checkbox-group-input_15-BBNhj_Ez.js} +9723 -4661
  102. package/stencil/checkbox-group-input_15-BUAKCzmY.cjs +8212 -0
  103. package/stencil/{checkbox-group-input_15-HwHjvct_.js → checkbox-group-input_15-DhdZZMQG.js} +9726 -4664
  104. package/stencil/index-1ef3a64c-DR7bpfUj.cjs +1 -0
  105. package/stencil/index-1ef3a64c-HE2lDlEL.js +572 -0
  106. package/stencil/index-1ef3a64c-zEGNB-u8.js +556 -0
  107. package/stencil/{index-6e523641-078VKWzv.js → index-6e523641-C-aWDr56.js} +215 -215
  108. package/stencil/index-6e523641-CIqESSFm.js +654 -0
  109. package/stencil/index-6e523641-D-RFKZXR.cjs +1 -0
  110. package/stencil/{index-9c0f6c58-DH5Ki39B.js → index-9c0f6c58-CWsaYxOT.js} +197 -197
  111. package/stencil/index-9c0f6c58-Cv5Mos03.cjs +1 -0
  112. package/stencil/index-9c0f6c58-ntq_iYNK.js +576 -0
  113. package/stencil/index-b2193545-DQUvHUpa.cjs +1 -0
  114. package/stencil/index-b2193545-DoYU_tL8.js +503 -0
  115. package/stencil/index-b2193545-_I2wisuY.js +519 -0
  116. package/stencil/index-c666b6e6-CZr6syf8.cjs +1 -0
  117. package/stencil/index-c666b6e6-D8xGexCZ.js +595 -0
  118. package/stencil/index-c666b6e6-Vwu9_e2o.js +611 -0
  119. package/stencil/{pam-change-password-9aef79f2-DiWK4wfJ.js → pam-change-password-9aef79f2-JgtKjVdV.js} +1 -1
  120. package/stencil/{pam-change-password-9aef79f2-C-qbI9bv.cjs → pam-change-password-9aef79f2-S57P1f_2.cjs} +1 -1
  121. package/stencil/{pam-change-password-9aef79f2-D_ez_GX8.js → pam-change-password-9aef79f2-WHSL8b2R.js} +1 -1
  122. package/stencil/{pam-change-password-CzOysbF5.js → pam-change-password-COjXUnoM.js} +1 -1
  123. package/stencil/{pam-change-password-DpPAvGik.cjs → pam-change-password-DRj4ACYC.cjs} +1 -1
  124. package/stencil/{pam-change-password-GW3U-yIN.js → pam-change-password-mjpt8ZLw.js} +1 -1
  125. package/stencil/{player-kyc-verification-DW2tWbg_.cjs → player-kyc-verification-BOxNJ6x_.cjs} +1 -1
  126. package/stencil/{player-kyc-verification-BJuBsd7A.js → player-kyc-verification-jOo_qPpq.js} +1 -1
  127. package/stencil/{player-kyc-verification-u-XUlDen.js → player-kyc-verification-sZ9OAQ8Z.js} +1 -1
  128. package/stencil/{ui-skeleton-CnxOhYAT.js → ui-skeleton-C_FDz0NJ.js} +2 -2
  129. package/stencil/{ui-skeleton-Bez-iF-R.cjs → ui-skeleton-GEqIXVxo.cjs} +1 -1
  130. package/stencil/{ui-skeleton-ae35c6f2-Bl0_r9TX.js → ui-skeleton-ae35c6f2-BreM325l.js} +1 -1
  131. package/stencil/{ui-skeleton-ae35c6f2-D37mmp9J.cjs → ui-skeleton-ae35c6f2-CeNpgiKf.cjs} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-CXRVKjq-.js → ui-skeleton-ae35c6f2-e6Wte4qi.js} +1 -1
  133. package/stencil/{ui-skeleton-CScGJdv_.js → ui-skeleton-mkMdvWYI.js} +2 -2
  134. package/stencil/{user-deposit-withdrawal-KqJCF9Hl.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
  135. package/stencil/{user-deposit-withdrawal-ar8K3Kn7.js → user-deposit-withdrawal-Cr0-V-2c.js} +1 -1
  136. package/stencil/{user-deposit-withdrawal-B7dnuKq0.js → user-deposit-withdrawal-DdJYJeX1.js} +1 -1
  137. package/stencil/{user-transaction-history-DeLTrl8E.js → user-transaction-history-ChQcZwtX.js} +1 -1
  138. package/stencil/{user-transaction-history-Ch7DwPng.cjs → user-transaction-history-D4WBmCh8.cjs} +1 -1
  139. package/stencil/{user-transaction-history-8J3-J0I0.js → user-transaction-history-Dla0Do5o.js} +1 -1
  140. package/stencil/{user-transaction-history_2-B4YDWP13.js → user-transaction-history_2-B1al0Y-h.js} +3 -5
  141. package/stencil/{user-transaction-history_2-MG1TmhMo.js → user-transaction-history_2-DznYNRIL.js} +3 -5
  142. package/stencil/user-transaction-history_2-bMxqSwYs.cjs +2 -0
  143. package/components/GeneralLogout-TofSUXEw.cjs +0 -21
  144. package/components/PlayerAccountBettingHistory-85apG_ux.cjs +0 -1
  145. package/components/PlayerAccountBettingHistory-CuMJRUaH.js +0 -310
  146. package/components/PlayerAccountBettingHistory-ZZH1M51O.js +0 -311
  147. package/components/PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs +0 -2
  148. package/components/PlayerAccountProductRestriction-DJUublp5.cjs +0 -6061
  149. package/components/PlayerActiveBonuses-DBGj3lj2.js +0 -1139
  150. package/components/PlayerActiveBonuses-VMRnoY1_.cjs +0 -1
  151. package/components/PlayerActiveBonuses-lflDqCU8.js +0 -1140
  152. package/components/PlayerBonusHistory-BZz5QP4A.js +0 -1073
  153. package/components/PlayerBonusHistory-BxcxPRN7.js +0 -1062
  154. package/components/PlayerBonusHistory-WEjZxD6T.cjs +0 -1
  155. package/components/PlayerDeposit-BLDWbMBK.cjs +0 -1
  156. package/stencil/checkbox-group-input_15-Mcop3LHQ.cjs +0 -6305
  157. package/stencil/index-1ef3a64c-BJwg6KZV.js +0 -572
  158. package/stencil/index-1ef3a64c-BkMv_VME.cjs +0 -1
  159. package/stencil/index-1ef3a64c-Cl4fiqPl.js +0 -556
  160. package/stencil/index-6e523641-BzXfsijo.cjs +0 -1
  161. package/stencil/index-6e523641-Q8F9VHK2.js +0 -654
  162. package/stencil/index-9c0f6c58-8sXzcKbt.js +0 -576
  163. package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +0 -1
  164. package/stencil/index-b2193545-BekNYO1T.js +0 -519
  165. package/stencil/index-b2193545-BteAUmdh.cjs +0 -1
  166. package/stencil/index-b2193545-DfDFpDFs.js +0 -503
  167. package/stencil/index-c666b6e6-BVlUm5XF.js +0 -611
  168. package/stencil/index-c666b6e6-Dg6tFb_k.js +0 -595
  169. package/stencil/index-c666b6e6-rZoDoKh2.cjs +0 -1
  170. package/stencil/user-transaction-history_2-BxjAG99A.cjs +0 -2
@@ -0,0 +1,1169 @@
1
+ import { a as Ie, $ as ze, S as Te, i as Le, s as Ne, f as V, b as Re, n as oe, d as N, r as ne, c as J, V as re, h as R, j as c, l as U, k as w, m as T, t as L, e as B, p as je, q as Oe, u as qe, v as Q, w as De, F as se, O as ee, P as ge, g as a, x as Ge, y as Ve, z as Ue, A as He, B as Xe } from "./GeneralLogout-DSECYo0-.js";
2
+ function ie(o, e) {
3
+ Ie(o, e);
4
+ }
5
+ function Ye(o) {
6
+ ze.set(o);
7
+ }
8
+ const le = {
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 (t) {
148
+ if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
149
+ return !1;
150
+ throw t;
151
+ }
152
+ };
153
+ };
154
+ customElements.define = o(customElements.define), import("./PlayerBonusCard-BYBQy1Si.js").then(({ default: e }) => {
155
+ !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
156
+ });
157
+ }
158
+ function Je(o) {
159
+ Re(o, "svelte-44vwrd", '.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{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}.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 ue(o, e, n) {
162
+ const t = o.slice();
163
+ return t[50] = e[n], t[52] = n, t;
164
+ }
165
+ function de(o, e, n) {
166
+ const t = o.slice();
167
+ return t[53] = e[n], t;
168
+ }
169
+ function Ze(o) {
170
+ let e, n, t, s, i, r, m, l, f, y, _ = (
171
+ /*$_*/
172
+ o[19]("titleBonuses") + ""
173
+ ), M, v, d;
174
+ return {
175
+ c() {
176
+ e = w("div"), n = Q("svg"), t = Q("defs"), s = Q("style"), i = L(`.aaa {
177
+ fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
178
+ }
179
+ `), r = Q("g"), m = Q("g"), l = Q("path"), f = T(), y = w("h2"), M = L(_), B(l, "class", "aaa"), B(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(l, "transform", "translate(15 15) rotate(180)"), B(m, "transform", "translate(20 158)"), B(r, "transform", "translate(-20 -158)"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "width", "15"), B(n, "height", "15"), B(n, "viewBox", "0 0 15 15"), B(y, "class", "ActiveBonusesTitleMobile"), B(e, "class", "MenuReturnButton");
180
+ },
181
+ m(p, C) {
182
+ R(p, e, C), c(e, n), c(n, t), c(t, s), c(s, i), c(n, r), c(r, m), c(m, l), c(e, f), c(e, y), c(y, M), v || (d = U(
183
+ e,
184
+ "click",
185
+ /*click_handler*/
186
+ o[32]
187
+ ), v = !0);
188
+ },
189
+ p(p, C) {
190
+ C[0] & /*$_*/
191
+ 524288 && _ !== (_ = /*$_*/
192
+ p[19]("titleBonuses") + "") && J(M, _);
193
+ },
194
+ d(p) {
195
+ p && N(e), v = !1, d();
196
+ }
197
+ };
198
+ }
199
+ function ce(o) {
200
+ let e, n = (
201
+ /*$_*/
202
+ o[19]("invalidBonusCode") + ""
203
+ ), t;
204
+ return {
205
+ c() {
206
+ e = w("p"), t = L(n), B(e, "class", "InvalidBonusCodeMessage");
207
+ },
208
+ m(s, i) {
209
+ R(s, e, i), c(e, t);
210
+ },
211
+ p(s, i) {
212
+ i[0] & /*$_*/
213
+ 524288 && n !== (n = /*$_*/
214
+ s[19]("invalidBonusCode") + "") && J(t, n);
215
+ },
216
+ d(s) {
217
+ s && N(e);
218
+ }
219
+ };
220
+ }
221
+ function Ke(o) {
222
+ let e, n, t;
223
+ function s(l, f) {
224
+ return (
225
+ /*activeBonusesList*/
226
+ l[17].length === 0 ? $e : xe
227
+ );
228
+ }
229
+ let i = s(o), r = i(o), m = (
230
+ /*activeBonusesList*/
231
+ o[17].length !== 0 && me(o)
232
+ );
233
+ return {
234
+ c() {
235
+ e = w("div"), r.c(), n = T(), m && m.c(), t = se(), B(e, "class", "ActiveBonusesGrid " + /*isMobile*/
236
+ (o[20] ? "ActiveBonusesGridMobile" : ""));
237
+ },
238
+ m(l, f) {
239
+ R(l, e, f), r.m(e, null), R(l, n, f), m && m.m(l, f), R(l, t, f);
240
+ },
241
+ p(l, f) {
242
+ i === (i = s(l)) && r ? r.p(l, f) : (r.d(1), r = i(l), r && (r.c(), r.m(e, null))), /*activeBonusesList*/
243
+ l[17].length !== 0 ? m ? m.p(l, f) : (m = me(l), m.c(), m.m(t.parentNode, t)) : m && (m.d(1), m = null);
244
+ },
245
+ d(l) {
246
+ l && (N(e), N(n), N(t)), r.d(), m && m.d(l);
247
+ }
248
+ };
249
+ }
250
+ function Qe(o) {
251
+ let e;
252
+ return {
253
+ c() {
254
+ e = w("div"), B(e, "class", "ModalLoader"), B(e, "part", "ModalLoader");
255
+ },
256
+ m(n, t) {
257
+ R(n, e, t);
258
+ },
259
+ p: oe,
260
+ d(n) {
261
+ n && N(e);
262
+ }
263
+ };
264
+ }
265
+ function xe(o) {
266
+ let e, n = ee(
267
+ /*activeBonusesList*/
268
+ o[17]
269
+ ), t = [];
270
+ for (let s = 0; s < n.length; s += 1)
271
+ t[s] = pe(de(o, n, s));
272
+ return {
273
+ c() {
274
+ for (let s = 0; s < t.length; s += 1)
275
+ t[s].c();
276
+ e = se();
277
+ },
278
+ m(s, i) {
279
+ for (let r = 0; r < t.length; r += 1)
280
+ t[r] && t[r].m(s, i);
281
+ R(s, e, i);
282
+ },
283
+ p(s, i) {
284
+ if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
285
+ 131199) {
286
+ n = ee(
287
+ /*activeBonusesList*/
288
+ s[17]
289
+ );
290
+ let r;
291
+ for (r = 0; r < n.length; r += 1) {
292
+ const m = de(s, n, r);
293
+ t[r] ? t[r].p(m, i) : (t[r] = pe(m), t[r].c(), t[r].m(e.parentNode, e));
294
+ }
295
+ for (; r < t.length; r += 1)
296
+ t[r].d(1);
297
+ t.length = n.length;
298
+ }
299
+ },
300
+ d(s) {
301
+ s && N(e), ge(t, s);
302
+ }
303
+ };
304
+ }
305
+ function $e(o) {
306
+ let e, n = (
307
+ /*$_*/
308
+ o[19]("noActiveBonuses") + ""
309
+ ), t;
310
+ return {
311
+ c() {
312
+ e = w("p"), t = L(n);
313
+ },
314
+ m(s, i) {
315
+ R(s, e, i), c(e, t);
316
+ },
317
+ p(s, i) {
318
+ i[0] & /*$_*/
319
+ 524288 && n !== (n = /*$_*/
320
+ s[19]("noActiveBonuses") + "") && J(t, n);
321
+ },
322
+ d(s) {
323
+ s && N(e);
324
+ }
325
+ };
326
+ }
327
+ function eo(o) {
328
+ let e, n, t, s, i, r, m, l, f, y, _, M, v, d, p, C;
329
+ return {
330
+ c() {
331
+ e = w("player-bonus-card"), a(e, "termsandconditionsdescription", n = /*activeBonus*/
332
+ o[53].termsandconditionsdescription), a(e, "termsandconditionsurl", t = /*activeBonus*/
333
+ o[53].termsandconditionsurl), a(e, "termsandconditionsasset", s = /*activeBonus*/
334
+ o[53].termsandconditionsasset), a(e, "endpoint", i = /*activeBonus*/
335
+ o[53].endpoint), a(e, "playerid", r = /*activeBonus*/
336
+ o[53].playerid), a(e, "session", m = /*activeBonus*/
337
+ o[53].session), a(e, "bonuswalletid", l = /*activeBonus*/
338
+ o[53].walletId), a(e, "bonusdate", f = /*activeBonus*/
339
+ o[53].granted), a(e, "bonusstatus", y = /*activeBonus*/
340
+ o[53].status), a(e, "bonusname", _ = /*activeBonus*/
341
+ o[53].name), a(e, "bonustype", M = /*activeBonus*/
342
+ o[53].type), a(e, "bonusamount", v = /*activeBonus*/
343
+ o[53].extension.grantedPlayerCurrencyAmount), a(e, "bonuswageringamount", d = `${/*activeBonus*/
344
+ o[53].fulfilledWR} / ${/*activeBonus*/
345
+ o[53].originalWageringRequirement}`), a(e, "bonusremainingamount", p = /*activeBonus*/
346
+ o[53].currentAmount), a(e, "bonuscurrency", C = /*activeBonus*/
347
+ o[53].currency), a(
348
+ e,
349
+ "lang",
350
+ /*lang*/
351
+ o[0]
352
+ ), a(
353
+ e,
354
+ "dateformat",
355
+ /*dateformat*/
356
+ o[6]
357
+ ), a(
358
+ e,
359
+ "clientstyling",
360
+ /*clientstyling*/
361
+ o[1]
362
+ ), a(
363
+ e,
364
+ "clientstylingurl",
365
+ /*clientstylingurl*/
366
+ o[2]
367
+ ), a(
368
+ e,
369
+ "mbsource",
370
+ /*mbsource*/
371
+ o[3]
372
+ ), a(
373
+ e,
374
+ "translationurl",
375
+ /*translationurl*/
376
+ o[4]
377
+ ), a(
378
+ e,
379
+ "currencylocale",
380
+ /*currencylocale*/
381
+ o[5]
382
+ );
383
+ },
384
+ m(g, b) {
385
+ R(g, e, b);
386
+ },
387
+ p(g, b) {
388
+ b[0] & /*activeBonusesList*/
389
+ 131072 && n !== (n = /*activeBonus*/
390
+ g[53].termsandconditionsdescription) && a(e, "termsandconditionsdescription", n), b[0] & /*activeBonusesList*/
391
+ 131072 && t !== (t = /*activeBonus*/
392
+ g[53].termsandconditionsurl) && a(e, "termsandconditionsurl", t), b[0] & /*activeBonusesList*/
393
+ 131072 && s !== (s = /*activeBonus*/
394
+ g[53].termsandconditionsasset) && a(e, "termsandconditionsasset", s), b[0] & /*activeBonusesList*/
395
+ 131072 && i !== (i = /*activeBonus*/
396
+ g[53].endpoint) && a(e, "endpoint", i), b[0] & /*activeBonusesList*/
397
+ 131072 && r !== (r = /*activeBonus*/
398
+ g[53].playerid) && a(e, "playerid", r), b[0] & /*activeBonusesList*/
399
+ 131072 && m !== (m = /*activeBonus*/
400
+ g[53].session) && a(e, "session", m), b[0] & /*activeBonusesList*/
401
+ 131072 && l !== (l = /*activeBonus*/
402
+ g[53].walletId) && a(e, "bonuswalletid", l), b[0] & /*activeBonusesList*/
403
+ 131072 && f !== (f = /*activeBonus*/
404
+ g[53].granted) && a(e, "bonusdate", f), b[0] & /*activeBonusesList*/
405
+ 131072 && y !== (y = /*activeBonus*/
406
+ g[53].status) && a(e, "bonusstatus", y), b[0] & /*activeBonusesList*/
407
+ 131072 && _ !== (_ = /*activeBonus*/
408
+ g[53].name) && a(e, "bonusname", _), b[0] & /*activeBonusesList*/
409
+ 131072 && M !== (M = /*activeBonus*/
410
+ g[53].type) && a(e, "bonustype", M), b[0] & /*activeBonusesList*/
411
+ 131072 && v !== (v = /*activeBonus*/
412
+ g[53].extension.grantedPlayerCurrencyAmount) && a(e, "bonusamount", v), b[0] & /*activeBonusesList*/
413
+ 131072 && d !== (d = `${/*activeBonus*/
414
+ g[53].fulfilledWR} / ${/*activeBonus*/
415
+ g[53].originalWageringRequirement}`) && a(e, "bonuswageringamount", d), b[0] & /*activeBonusesList*/
416
+ 131072 && p !== (p = /*activeBonus*/
417
+ g[53].currentAmount) && a(e, "bonusremainingamount", p), b[0] & /*activeBonusesList*/
418
+ 131072 && C !== (C = /*activeBonus*/
419
+ g[53].currency) && a(e, "bonuscurrency", C), b[0] & /*lang*/
420
+ 1 && a(
421
+ e,
422
+ "lang",
423
+ /*lang*/
424
+ g[0]
425
+ ), b[0] & /*dateformat*/
426
+ 64 && a(
427
+ e,
428
+ "dateformat",
429
+ /*dateformat*/
430
+ g[6]
431
+ ), b[0] & /*clientstyling*/
432
+ 2 && a(
433
+ e,
434
+ "clientstyling",
435
+ /*clientstyling*/
436
+ g[1]
437
+ ), b[0] & /*clientstylingurl*/
438
+ 4 && a(
439
+ e,
440
+ "clientstylingurl",
441
+ /*clientstylingurl*/
442
+ g[2]
443
+ ), b[0] & /*mbsource*/
444
+ 8 && a(
445
+ e,
446
+ "mbsource",
447
+ /*mbsource*/
448
+ g[3]
449
+ ), b[0] & /*translationurl*/
450
+ 16 && a(
451
+ e,
452
+ "translationurl",
453
+ /*translationurl*/
454
+ g[4]
455
+ ), b[0] & /*currencylocale*/
456
+ 32 && a(
457
+ e,
458
+ "currencylocale",
459
+ /*currencylocale*/
460
+ g[5]
461
+ );
462
+ },
463
+ d(g) {
464
+ g && N(e);
465
+ }
466
+ };
467
+ }
468
+ function oo(o) {
469
+ let e, n, t, s, i, r, m, l, f, y, _, M, v;
470
+ return {
471
+ c() {
472
+ e = w("player-bonus-card"), a(e, "termsandconditionsdescription", n = /*activeBonus*/
473
+ o[53].termsandconditionsdescription), a(e, "termsandconditionsurl", t = /*activeBonus*/
474
+ o[53].termsandconditionsurl), a(e, "termsandconditionsasset", s = /*activeBonus*/
475
+ o[53].termsandconditionsasset), a(e, "endpoint", i = /*activeBonus*/
476
+ o[53].endpoint), a(e, "playerid", r = /*activeBonus*/
477
+ o[53].playerid), a(e, "session", m = /*activeBonus*/
478
+ o[53].session), a(e, "bonuswalletid", l = /*activeBonus*/
479
+ o[53].walletId), a(e, "bonusdate", f = /*activeBonus*/
480
+ o[53].granted), a(e, "bonusstatus", y = /*activeBonus*/
481
+ o[53].status), a(e, "bonusname", _ = /*activeBonus*/
482
+ o[53].name), a(e, "bonustype", M = /*activeBonus*/
483
+ o[53].type), a(e, "bonuscurrency", v = /*activeBonus*/
484
+ o[53].currency), a(
485
+ e,
486
+ "lang",
487
+ /*lang*/
488
+ o[0]
489
+ ), a(
490
+ e,
491
+ "dateformat",
492
+ /*dateformat*/
493
+ o[6]
494
+ ), a(
495
+ e,
496
+ "clientstyling",
497
+ /*clientstyling*/
498
+ o[1]
499
+ ), a(
500
+ e,
501
+ "clientstylingurl",
502
+ /*clientstylingurl*/
503
+ o[2]
504
+ ), a(
505
+ e,
506
+ "mbsource",
507
+ /*mbsource*/
508
+ o[3]
509
+ ), a(
510
+ e,
511
+ "translationurl",
512
+ /*translationurl*/
513
+ o[4]
514
+ ), a(
515
+ e,
516
+ "currencylocale",
517
+ /*currencylocale*/
518
+ o[5]
519
+ );
520
+ },
521
+ m(d, p) {
522
+ R(d, e, p);
523
+ },
524
+ p(d, p) {
525
+ p[0] & /*activeBonusesList*/
526
+ 131072 && n !== (n = /*activeBonus*/
527
+ d[53].termsandconditionsdescription) && a(e, "termsandconditionsdescription", n), p[0] & /*activeBonusesList*/
528
+ 131072 && t !== (t = /*activeBonus*/
529
+ d[53].termsandconditionsurl) && a(e, "termsandconditionsurl", t), p[0] & /*activeBonusesList*/
530
+ 131072 && s !== (s = /*activeBonus*/
531
+ d[53].termsandconditionsasset) && a(e, "termsandconditionsasset", s), p[0] & /*activeBonusesList*/
532
+ 131072 && i !== (i = /*activeBonus*/
533
+ d[53].endpoint) && a(e, "endpoint", i), p[0] & /*activeBonusesList*/
534
+ 131072 && r !== (r = /*activeBonus*/
535
+ d[53].playerid) && a(e, "playerid", r), p[0] & /*activeBonusesList*/
536
+ 131072 && m !== (m = /*activeBonus*/
537
+ d[53].session) && a(e, "session", m), p[0] & /*activeBonusesList*/
538
+ 131072 && l !== (l = /*activeBonus*/
539
+ d[53].walletId) && a(e, "bonuswalletid", l), p[0] & /*activeBonusesList*/
540
+ 131072 && f !== (f = /*activeBonus*/
541
+ d[53].granted) && a(e, "bonusdate", f), p[0] & /*activeBonusesList*/
542
+ 131072 && y !== (y = /*activeBonus*/
543
+ d[53].status) && a(e, "bonusstatus", y), p[0] & /*activeBonusesList*/
544
+ 131072 && _ !== (_ = /*activeBonus*/
545
+ d[53].name) && a(e, "bonusname", _), p[0] & /*activeBonusesList*/
546
+ 131072 && M !== (M = /*activeBonus*/
547
+ d[53].type) && a(e, "bonustype", M), p[0] & /*activeBonusesList*/
548
+ 131072 && v !== (v = /*activeBonus*/
549
+ d[53].currency) && a(e, "bonuscurrency", v), p[0] & /*lang*/
550
+ 1 && a(
551
+ e,
552
+ "lang",
553
+ /*lang*/
554
+ d[0]
555
+ ), p[0] & /*dateformat*/
556
+ 64 && a(
557
+ e,
558
+ "dateformat",
559
+ /*dateformat*/
560
+ d[6]
561
+ ), p[0] & /*clientstyling*/
562
+ 2 && a(
563
+ e,
564
+ "clientstyling",
565
+ /*clientstyling*/
566
+ d[1]
567
+ ), p[0] & /*clientstylingurl*/
568
+ 4 && a(
569
+ e,
570
+ "clientstylingurl",
571
+ /*clientstylingurl*/
572
+ d[2]
573
+ ), p[0] & /*mbsource*/
574
+ 8 && a(
575
+ e,
576
+ "mbsource",
577
+ /*mbsource*/
578
+ d[3]
579
+ ), p[0] & /*translationurl*/
580
+ 16 && a(
581
+ e,
582
+ "translationurl",
583
+ /*translationurl*/
584
+ d[4]
585
+ ), p[0] & /*currencylocale*/
586
+ 32 && a(
587
+ e,
588
+ "currencylocale",
589
+ /*currencylocale*/
590
+ d[5]
591
+ );
592
+ },
593
+ d(d) {
594
+ d && N(e);
595
+ }
596
+ };
597
+ }
598
+ function pe(o) {
599
+ let e;
600
+ function n(i, r) {
601
+ return (
602
+ /*activeBonus*/
603
+ i[53].type === "freeRound" ? oo : eo
604
+ );
605
+ }
606
+ let t = n(o), s = t(o);
607
+ return {
608
+ c() {
609
+ s.c(), e = se();
610
+ },
611
+ m(i, r) {
612
+ s.m(i, r), R(i, e, r);
613
+ },
614
+ p(i, r) {
615
+ t === (t = n(i)) && s ? s.p(i, r) : (s.d(1), s = t(i), s && (s.c(), s.m(e.parentNode, e)));
616
+ },
617
+ d(i) {
618
+ i && N(e), s.d(i);
619
+ }
620
+ };
621
+ }
622
+ function me(o) {
623
+ let e, n, t, s, i, r, m, l, f, y, _, M, v, d, p, C, g, b, F, O = ee(Array(
624
+ /*numberOfPages*/
625
+ o[15]
626
+ )), A = [];
627
+ for (let h = 0; h < O.length; h += 1)
628
+ A[h] = fe(ue(o, O, h));
629
+ return {
630
+ c() {
631
+ e = w("div"), n = w("span"), t = L("|<"), i = T(), r = w("span"), m = L("<"), f = T();
632
+ for (let h = 0; h < A.length; h += 1)
633
+ A[h].c();
634
+ y = T(), _ = w("span"), M = L(">"), d = T(), p = w("span"), C = L(">|"), B(n, "class", s = "BonusesFirst " + /*currentPage*/
635
+ (o[16] === 0 ? "Inactive" : "")), B(r, "class", l = "BonusesPrev " + /*currentPage*/
636
+ (o[16] === 0 ? "Inactive" : "")), B(_, "class", v = "BonusesNext " + /*currentPage*/
637
+ (o[16] === /*numberOfPages*/
638
+ o[15] - 1 ? "Inactive" : "")), B(p, "class", g = "BonusesLast " + /*currentPage*/
639
+ (o[16] === /*numberOfPages*/
640
+ o[15] - 1 ? "Inactive" : "")), B(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
641
+ (o[20] ? "BonusesPaginationWrapperMobile" : ""));
642
+ },
643
+ m(h, S) {
644
+ R(h, e, S), c(e, n), c(n, t), c(e, i), c(e, r), c(r, m), c(e, f);
645
+ for (let W = 0; W < A.length; W += 1)
646
+ A[W] && A[W].m(e, null);
647
+ c(e, y), c(e, _), c(_, M), c(e, d), c(e, p), c(p, C), b || (F = [
648
+ U(
649
+ n,
650
+ "click",
651
+ /*click_handler_1*/
652
+ o[34]
653
+ ),
654
+ U(
655
+ r,
656
+ "click",
657
+ /*click_handler_2*/
658
+ o[35]
659
+ ),
660
+ U(
661
+ _,
662
+ "click",
663
+ /*click_handler_4*/
664
+ o[37]
665
+ ),
666
+ U(
667
+ p,
668
+ "click",
669
+ /*click_handler_5*/
670
+ o[38]
671
+ )
672
+ ], b = !0);
673
+ },
674
+ p(h, S) {
675
+ if (S[0] & /*currentPage*/
676
+ 65536 && s !== (s = "BonusesFirst " + /*currentPage*/
677
+ (h[16] === 0 ? "Inactive" : "")) && B(n, "class", s), S[0] & /*currentPage*/
678
+ 65536 && l !== (l = "BonusesPrev " + /*currentPage*/
679
+ (h[16] === 0 ? "Inactive" : "")) && B(r, "class", l), S[0] & /*currentPage, getActiveBonuses, numberOfPages*/
680
+ 8486912) {
681
+ O = ee(Array(
682
+ /*numberOfPages*/
683
+ h[15]
684
+ ));
685
+ let W;
686
+ for (W = 0; W < O.length; W += 1) {
687
+ const j = ue(h, O, W);
688
+ A[W] ? A[W].p(j, S) : (A[W] = fe(j), A[W].c(), A[W].m(e, y));
689
+ }
690
+ for (; W < A.length; W += 1)
691
+ A[W].d(1);
692
+ A.length = O.length;
693
+ }
694
+ S[0] & /*currentPage, numberOfPages*/
695
+ 98304 && v !== (v = "BonusesNext " + /*currentPage*/
696
+ (h[16] === /*numberOfPages*/
697
+ h[15] - 1 ? "Inactive" : "")) && B(_, "class", v), S[0] & /*currentPage, numberOfPages*/
698
+ 98304 && g !== (g = "BonusesLast " + /*currentPage*/
699
+ (h[16] === /*numberOfPages*/
700
+ h[15] - 1 ? "Inactive" : "")) && B(p, "class", g);
701
+ },
702
+ d(h) {
703
+ h && N(e), ge(A, h), b = !1, ne(F);
704
+ }
705
+ };
706
+ }
707
+ function fe(o) {
708
+ let e, n = (
709
+ /*i*/
710
+ o[52] + 1 + ""
711
+ ), t, s, i, r;
712
+ function m() {
713
+ return (
714
+ /*click_handler_3*/
715
+ o[36](
716
+ /*i*/
717
+ o[52]
718
+ )
719
+ );
720
+ }
721
+ return {
722
+ c() {
723
+ e = w("span"), t = L(n), B(e, "class", s = "BonusesPage " + /*i*/
724
+ (o[52] === /*currentPage*/
725
+ o[16] ? "BonusPageActive" : ""));
726
+ },
727
+ m(l, f) {
728
+ R(l, e, f), c(e, t), i || (r = U(e, "click", m), i = !0);
729
+ },
730
+ p(l, f) {
731
+ o = l, f[0] & /*currentPage*/
732
+ 65536 && s !== (s = "BonusesPage " + /*i*/
733
+ (o[52] === /*currentPage*/
734
+ o[16] ? "BonusPageActive" : "")) && B(e, "class", s);
735
+ },
736
+ d(l) {
737
+ l && N(e), i = !1, r();
738
+ }
739
+ };
740
+ }
741
+ function be(o) {
742
+ let e, n, t, s, i = (
743
+ /*$_*/
744
+ o[19]("forfeitBonus") + ""
745
+ ), r, m, l, f, y = (
746
+ /*$_*/
747
+ o[19]("forfeitBonusCancel") + ""
748
+ ), _, M, v, d = (
749
+ /*$_*/
750
+ o[19]("forfeitBonusConfirm") + ""
751
+ ), p, C, g;
752
+ return {
753
+ c() {
754
+ e = w("div"), n = w("div"), t = w("div"), s = w("p"), r = L(i), m = T(), l = w("div"), f = w("button"), _ = L(y), M = T(), v = w("button"), p = L(d), B(s, "class", "ModalText"), B(f, "class", "ModalCancel"), B(v, "class", "ModalConfirm"), B(l, "class", "ModalButtons"), B(t, "class", "ModalBody"), B(n, "class", "ModalContent"), B(e, "class", "ModalWrapper " + /*isMobile*/
755
+ (o[20] ? "ModalWrapperMobile" : ""));
756
+ },
757
+ m(b, F) {
758
+ R(b, e, F), c(e, n), c(n, t), c(t, s), c(s, r), c(t, m), c(t, l), c(l, f), c(f, _), c(l, M), c(l, v), c(v, p), C || (g = [
759
+ U(
760
+ f,
761
+ "click",
762
+ /*closeBonusModal*/
763
+ o[25]
764
+ ),
765
+ U(
766
+ v,
767
+ "click",
768
+ /*debouncedFunction*/
769
+ o[27](
770
+ /*deleteBonus*/
771
+ o[26]
772
+ )
773
+ )
774
+ ], C = !0);
775
+ },
776
+ p(b, F) {
777
+ F[0] & /*$_*/
778
+ 524288 && i !== (i = /*$_*/
779
+ b[19]("forfeitBonus") + "") && J(r, i), F[0] & /*$_*/
780
+ 524288 && y !== (y = /*$_*/
781
+ b[19]("forfeitBonusCancel") + "") && J(_, y), F[0] & /*$_*/
782
+ 524288 && d !== (d = /*$_*/
783
+ b[19]("forfeitBonusConfirm") + "") && J(p, d);
784
+ },
785
+ d(b) {
786
+ b && N(e), C = !1, ne(g);
787
+ }
788
+ };
789
+ }
790
+ function no(o) {
791
+ let e, n, t, s, i = (
792
+ /*$_*/
793
+ o[19]("titleBonuses") + ""
794
+ ), r, m, l, f, y = (
795
+ /*$_*/
796
+ o[19]("bonusCode") + ""
797
+ ), _, M, v, d, p, C, g = (
798
+ /*$_*/
799
+ o[19]("getBonus") + ""
800
+ ), b, F, O, A, h, S, W, j = (
801
+ /*isMobile*/
802
+ o[20] && Ze(o)
803
+ ), P = (
804
+ /*invalidBonusCode*/
805
+ o[10] && ce(o)
806
+ );
807
+ function K(k, z) {
808
+ return (
809
+ /*isLoading*/
810
+ k[8] ? Qe : Ke
811
+ );
812
+ }
813
+ let Z = K(o), q = Z(o), E = (
814
+ /*bonusModal*/
815
+ o[18] && be(o)
816
+ );
817
+ return {
818
+ c() {
819
+ e = w("div"), n = w("div"), j && j.c(), t = T(), s = w("h2"), r = L(i), m = T(), l = w("div"), f = w("label"), _ = L(y), M = T(), v = w("div"), d = w("input"), p = T(), C = w("button"), b = L(g), O = T(), P && P.c(), A = T(), q.c(), h = T(), E && E.c(), B(s, "class", "ActiveBonusesTitle " + /*isMobile*/
820
+ (o[20] ? "ActiveBonusesTitleNone" : "")), B(f, "for", "BonusCode"), B(d, "class", "BonusCodeInput " + /*isMobile*/
821
+ (o[20] ? "BonusCodeInputMobile" : "")), B(d, "type", "text"), B(d, "id", "BonusCode"), B(C, "class", "SubmitBonusCode " + /*isMobile*/
822
+ (o[20] ? "SubmitBonusCodeMobile" : "")), C.disabled = F = /*invalidBonusField*/
823
+ o[9] || /*isLoading*/
824
+ o[8], B(v, "class", "BonusCodeWrapper " + /*isMobile*/
825
+ (o[20] ? "BonusCodeWrapperMobile" : "")), B(l, "class", "BonusCodeContainer " + /*isMobile*/
826
+ (o[20] ? "BonusCodeContainerMobile" : "")), B(n, "class", "ActiveBonusesWrapper " + /*isMobile*/
827
+ (o[20] ? "ActiveBonusesWrapperMobile" : ""));
828
+ },
829
+ m(k, z) {
830
+ R(k, e, z), c(e, n), j && j.m(n, null), c(n, t), c(n, s), c(s, r), c(n, m), c(n, l), c(l, f), c(f, _), c(l, M), c(l, v), c(v, d), re(
831
+ d,
832
+ /*bonusCode*/
833
+ o[11]
834
+ ), c(v, p), c(v, C), c(C, b), c(l, O), P && P.m(l, null), c(n, A), q.m(n, null), c(e, h), E && E.m(e, null), o[39](e), S || (W = [
835
+ U(
836
+ d,
837
+ "input",
838
+ /*input_input_handler*/
839
+ o[33]
840
+ ),
841
+ U(
842
+ d,
843
+ "keyup",
844
+ /*validateBonusCode*/
845
+ o[22]
846
+ ),
847
+ U(
848
+ C,
849
+ "click",
850
+ /*debouncedFunction*/
851
+ o[27](
852
+ /*claimBonus*/
853
+ o[24]
854
+ )
855
+ )
856
+ ], S = !0);
857
+ },
858
+ p(k, z) {
859
+ /*isMobile*/
860
+ k[20] && j.p(k, z), z[0] & /*$_*/
861
+ 524288 && i !== (i = /*$_*/
862
+ k[19]("titleBonuses") + "") && J(r, i), z[0] & /*$_*/
863
+ 524288 && y !== (y = /*$_*/
864
+ k[19]("bonusCode") + "") && J(_, y), z[0] & /*bonusCode*/
865
+ 2048 && d.value !== /*bonusCode*/
866
+ k[11] && re(
867
+ d,
868
+ /*bonusCode*/
869
+ k[11]
870
+ ), z[0] & /*$_*/
871
+ 524288 && g !== (g = /*$_*/
872
+ k[19]("getBonus") + "") && J(b, g), z[0] & /*invalidBonusField, isLoading*/
873
+ 768 && F !== (F = /*invalidBonusField*/
874
+ k[9] || /*isLoading*/
875
+ k[8]) && (C.disabled = F), /*invalidBonusCode*/
876
+ k[10] ? P ? P.p(k, z) : (P = ce(k), P.c(), P.m(l, null)) : P && (P.d(1), P = null), Z === (Z = K(k)) && q ? q.p(k, z) : (q.d(1), q = Z(k), q && (q.c(), q.m(n, null))), /*bonusModal*/
877
+ k[18] ? E ? E.p(k, z) : (E = be(k), E.c(), E.m(e, null)) : E && (E.d(1), E = null);
878
+ },
879
+ i: oe,
880
+ o: oe,
881
+ d(k) {
882
+ k && N(e), j && j.d(), P && P.d(), q.d(), E && E.d(), o[39](null), S = !1, ne(W);
883
+ }
884
+ };
885
+ }
886
+ let so = "status=active", Y = 6;
887
+ function to(o, e, n) {
888
+ let t;
889
+ je(o, Xe, (u) => n(19, t = u));
890
+ let { endpoint: s = "" } = e, { session: i = "" } = e, { playerid: r = "" } = e, { lang: m = "en" } = e, { currency: l = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: _ } = e, { translationurl: M = "" } = e, { currencylocale: v = "" } = e, { dateformat: d = "" } = e, p = !1, C, g = window.navigator.userAgent, b = Oe(g) !== "PC", F = !0, O = !1, A = "", h = 0, S = 0, W = 0, j = 0, P = 0, K = [], Z, q = "", E = !1;
891
+ const k = () => {
892
+ fetch(M).then((I) => I.json()).then((I) => {
893
+ Object.keys(I).forEach((G) => {
894
+ ie(G, I[G]);
895
+ });
896
+ }).catch((I) => {
897
+ console.log(I);
898
+ });
899
+ };
900
+ Object.keys(le).forEach((u) => {
901
+ ie(u, le[u]);
902
+ });
903
+ const z = (u) => {
904
+ if (u.data)
905
+ switch (u.data.type) {
906
+ case "DeleteActiveBonus":
907
+ q = u.data.bonuswalletid, n(18, E = !0);
908
+ break;
909
+ }
910
+ };
911
+ function Be(u, I) {
912
+ return (...G) => {
913
+ clearTimeout(Z), Z = setTimeout(
914
+ () => {
915
+ u.apply(this, G);
916
+ },
917
+ I
918
+ );
919
+ };
920
+ }
921
+ const te = () => {
922
+ window.postMessage(
923
+ {
924
+ type: "PlayerAccountMenuActive",
925
+ isMobile: b
926
+ },
927
+ window.location.href
928
+ );
929
+ }, ve = () => !!A, _e = () => {
930
+ n(9, F = !ve());
931
+ }, H = (u) => {
932
+ n(8, p = !0);
933
+ let I = {
934
+ method: "GET",
935
+ headers: { "X-SessionId": i }
936
+ }, G = new URL(`${s}/v1/player/${r}/bonusWallet`);
937
+ G.searchParams.append("filter", so), G.searchParams.append("pagination", `offset=${u},limit=${Y}`), fetch(G, I).then((X) => X.json()).then(
938
+ (X) => {
939
+ Array.isArray(X.items) && X.items.forEach((D) => {
940
+ const $ = D?.extension?.bonus?.presentation;
941
+ $ && (D.termsandconditionsurl = $.url, D.termsandconditionsdescription = $.description, D.termsandconditionsasset = $.assets);
942
+ }), n(15, j = Math.ceil(X.total / Y)), u - Y >= 0 && n(12, h = u - Y), u + Y < X.total && n(13, S = u + Y), n(14, W = (j - 1) * Y), n(16, P = u / Y), n(17, K = X?.items || []), v && K.forEach((D) => {
943
+ D.fulfilledWR = x(D.fulfilledWR), D.originalWageringRequirement = x(D.originalWageringRequirement), D.currentAmount = x(D.currentAmount), D.extension.grantedPlayerCurrencyAmount = x(D.extension.grantedPlayerCurrencyAmount);
944
+ }), window.scrollTo({ top: 0, behavior: "smooth" });
945
+ },
946
+ (X) => {
947
+ console.error(X);
948
+ }
949
+ ).finally(() => {
950
+ n(8, p = !1);
951
+ });
952
+ }, x = (u) => new Intl.NumberFormat(v, { style: "currency", currency: l }).format(u).replace(/\s/g, ""), ye = () => {
953
+ n(8, p = !0);
954
+ let u = new URL(`${s}/v1/player/${r}/claimbonus`), I = {
955
+ method: "POST",
956
+ headers: {
957
+ "X-SessionId": i,
958
+ accept: "application/json"
959
+ }
960
+ };
961
+ u.searchParams.append("currency", l), u.searchParams.append("bonusCode", A), fetch(u.href, I).then((G) => {
962
+ G.status == 200 ? (n(10, O = !1), H(0), window.postMessage(
963
+ {
964
+ type: "WidgetNotification",
965
+ data: {
966
+ type: "success",
967
+ message: t("bonusClaimSuccessMessage")
968
+ }
969
+ },
970
+ window.location.href
971
+ ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
972
+ context: "PlayerActiveBonuses",
973
+ userId: `${r || "Not logged in"}`,
974
+ bonusCode: `${A}`
975
+ })) : (n(10, O = !0), window.postMessage(
976
+ {
977
+ type: "WidgetNotification",
978
+ data: {
979
+ type: "error",
980
+ message: t("bonusClaimErrorMessage")
981
+ }
982
+ },
983
+ window.location.href
984
+ ));
985
+ }).finally(() => {
986
+ n(8, p = !1);
987
+ });
988
+ }, ae = () => {
989
+ window.postMessage({ type: "EnableScroll" }, window.location.href), n(18, E = !1);
990
+ }, Ce = () => {
991
+ let u = {
992
+ method: "DELETE",
993
+ headers: {
994
+ "X-SessionId": i,
995
+ "Content-Type": "application/json",
996
+ Accept: "application/json"
997
+ }
998
+ }, I = new URL(`${s}/v1/player/${r}/bonusWallet`);
999
+ I.searchParams.append("bonusWalletID", q), fetch(I, u).then((G) => {
1000
+ G.status == 200 && (H(0), ae());
1001
+ });
1002
+ }, he = () => {
1003
+ Ye(m);
1004
+ };
1005
+ function we(u) {
1006
+ return Be(u, 1e3);
1007
+ }
1008
+ qe(() => (window.addEventListener("message", z, !1), () => {
1009
+ window.removeEventListener("message", z);
1010
+ }));
1011
+ const Me = () => te();
1012
+ function ke() {
1013
+ A = this.value, n(11, A);
1014
+ }
1015
+ const Ae = () => H(0), We = () => H(h), Ee = (u) => H(u * Y), Pe = () => H(S), Fe = () => H(W);
1016
+ function Se(u) {
1017
+ De[u ? "unshift" : "push"](() => {
1018
+ C = u, n(7, C);
1019
+ });
1020
+ }
1021
+ return o.$$set = (u) => {
1022
+ "endpoint" in u && n(28, s = u.endpoint), "session" in u && n(29, i = u.session), "playerid" in u && n(30, r = u.playerid), "lang" in u && n(0, m = u.lang), "currency" in u && n(31, l = u.currency), "clientstyling" in u && n(1, f = u.clientstyling), "clientstylingurl" in u && n(2, y = u.clientstylingurl), "mbsource" in u && n(3, _ = u.mbsource), "translationurl" in u && n(4, M = u.translationurl), "currencylocale" in u && n(5, v = u.currencylocale), "dateformat" in u && n(6, d = u.dateformat);
1023
+ }, o.$$.update = () => {
1024
+ o.$$.dirty[0] & /*lang*/
1025
+ 1 && m && he(), o.$$.dirty[0] & /*session, playerid, endpoint*/
1026
+ 1879048192 && i && r && s && H(0), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1027
+ 130 && f && C && Ge(C, f), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1028
+ 132 && y && C && Ve(C, y), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
1029
+ 136 && _ && C && Ue(C, `${_}.Style`), o.$$.dirty[0] & /*translationurl*/
1030
+ 16 && M && k();
1031
+ }, [
1032
+ m,
1033
+ f,
1034
+ y,
1035
+ _,
1036
+ M,
1037
+ v,
1038
+ d,
1039
+ C,
1040
+ p,
1041
+ F,
1042
+ O,
1043
+ A,
1044
+ h,
1045
+ S,
1046
+ W,
1047
+ j,
1048
+ P,
1049
+ K,
1050
+ E,
1051
+ t,
1052
+ b,
1053
+ te,
1054
+ _e,
1055
+ H,
1056
+ ye,
1057
+ ae,
1058
+ Ce,
1059
+ we,
1060
+ s,
1061
+ i,
1062
+ r,
1063
+ l,
1064
+ Me,
1065
+ ke,
1066
+ Ae,
1067
+ We,
1068
+ Ee,
1069
+ Pe,
1070
+ Fe,
1071
+ Se
1072
+ ];
1073
+ }
1074
+ class ao extends Te {
1075
+ constructor(e) {
1076
+ super(), Le(
1077
+ this,
1078
+ e,
1079
+ to,
1080
+ no,
1081
+ Ne,
1082
+ {
1083
+ endpoint: 28,
1084
+ session: 29,
1085
+ playerid: 30,
1086
+ lang: 0,
1087
+ currency: 31,
1088
+ clientstyling: 1,
1089
+ clientstylingurl: 2,
1090
+ mbsource: 3,
1091
+ translationurl: 4,
1092
+ currencylocale: 5,
1093
+ dateformat: 6
1094
+ },
1095
+ Je,
1096
+ [-1, -1]
1097
+ );
1098
+ }
1099
+ get endpoint() {
1100
+ return this.$$.ctx[28];
1101
+ }
1102
+ set endpoint(e) {
1103
+ this.$$set({ endpoint: e }), V();
1104
+ }
1105
+ get session() {
1106
+ return this.$$.ctx[29];
1107
+ }
1108
+ set session(e) {
1109
+ this.$$set({ session: e }), V();
1110
+ }
1111
+ get playerid() {
1112
+ return this.$$.ctx[30];
1113
+ }
1114
+ set playerid(e) {
1115
+ this.$$set({ playerid: e }), V();
1116
+ }
1117
+ get lang() {
1118
+ return this.$$.ctx[0];
1119
+ }
1120
+ set lang(e) {
1121
+ this.$$set({ lang: e }), V();
1122
+ }
1123
+ get currency() {
1124
+ return this.$$.ctx[31];
1125
+ }
1126
+ set currency(e) {
1127
+ this.$$set({ currency: e }), V();
1128
+ }
1129
+ get clientstyling() {
1130
+ return this.$$.ctx[1];
1131
+ }
1132
+ set clientstyling(e) {
1133
+ this.$$set({ clientstyling: e }), V();
1134
+ }
1135
+ get clientstylingurl() {
1136
+ return this.$$.ctx[2];
1137
+ }
1138
+ set clientstylingurl(e) {
1139
+ this.$$set({ clientstylingurl: e }), V();
1140
+ }
1141
+ get mbsource() {
1142
+ return this.$$.ctx[3];
1143
+ }
1144
+ set mbsource(e) {
1145
+ this.$$set({ mbsource: e }), V();
1146
+ }
1147
+ get translationurl() {
1148
+ return this.$$.ctx[4];
1149
+ }
1150
+ set translationurl(e) {
1151
+ this.$$set({ translationurl: e }), V();
1152
+ }
1153
+ get currencylocale() {
1154
+ return this.$$.ctx[5];
1155
+ }
1156
+ set currencylocale(e) {
1157
+ this.$$set({ currencylocale: e }), V();
1158
+ }
1159
+ get dateformat() {
1160
+ return this.$$.ctx[6];
1161
+ }
1162
+ set dateformat(e) {
1163
+ this.$$set({ dateformat: e }), V();
1164
+ }
1165
+ }
1166
+ He(ao, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
1167
+ export {
1168
+ ao as default
1169
+ };