@everymatrix/player-account-controller 1.90.27 → 1.90.29

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 (109) hide show
  1. package/components/{GeneralLogout-DwNLBfEm.js → GeneralLogout-CFe5EzJp.js} +1 -1
  2. package/components/{GeneralLogout-C4EumplP.js → GeneralLogout-CitD2kYx.js} +1 -1
  3. package/components/{GeneralLogout-CJ83F0T-.cjs → GeneralLogout-DLKd4-Ex.cjs} +1 -1
  4. package/components/{PlayerAccountBettingHistory-kpMqXTCa.js → PlayerAccountBettingHistory-B5p94xtR.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-BhY_Ww_e.js → PlayerAccountBettingHistory-BMiaFMqV.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-B4Dj6cYD.cjs → PlayerAccountBettingHistory-D0Wglxr0.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-CUrQTKBz.cjs → PlayerAccountBiometrics-DAgI3Cu7.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-D39leCsG.js → PlayerAccountBiometrics-DUZ8RdYt.js} +2 -2
  9. package/components/{PlayerAccountBiometrics-tzJhpDfY.js → PlayerAccountBiometrics-DmA2jSc_.js} +2 -2
  10. package/components/{PlayerAccountBiometricsAction-DMR4gM3W.cjs → PlayerAccountBiometricsAction-BBvB0d8o.cjs} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-BNiRdNGG.js → PlayerAccountBiometricsAction-BRSGVH4X.js} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-BEi6fJnh.js → PlayerAccountBiometricsAction-CKXIdMtU.js} +1 -1
  13. package/components/{PlayerAccountClosure-z8D8s410.js → PlayerAccountClosure-BcLyNrNG.js} +1 -1
  14. package/components/{PlayerAccountClosure-BHJVs9rZ.cjs → PlayerAccountClosure-CXlHuZ92.cjs} +1 -1
  15. package/components/{PlayerAccountClosure-Cl3x1fL0.js → PlayerAccountClosure-XGc9ZiYm.js} +1 -1
  16. package/components/{PlayerAccountController-D0b5nEtR.js → PlayerAccountController-BSPngDYz.js} +113 -109
  17. package/components/{PlayerAccountController-CKaOyxPs.js → PlayerAccountController-CJHc3SS3.js} +47 -43
  18. package/components/PlayerAccountController-Dmj-2JqQ.cjs +21 -0
  19. package/components/{PlayerAccountGamingLimits-U-H5gb3e.cjs → PlayerAccountGamingLimits-8htL7vSV.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimits-k6RYNNnE.js → PlayerAccountGamingLimits-D611L03D.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-CBLv92Kh.js → PlayerAccountGamingLimits-DTyDBlTf.js} +2 -2
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-DKzqC8Vf.cjs → PlayerAccountGamingLimitsConfirmationModal-CAv_Sbmr.cjs} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-FG4Mfvt0.js → PlayerAccountGamingLimitsConfirmationModal-D-PgeKH_.js} +15 -15
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-538HdqwS.js → PlayerAccountGamingLimitsConfirmationModal-DvqCM2G1.js} +12 -12
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-6fCqHqkM.cjs → PlayerAccountGamingLimitsGroupEdit-BEiNHS24.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-DL8BUzBz.js → PlayerAccountGamingLimitsGroupEdit-BEjXX_jg.js} +5 -5
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-B2JhDz2i.js → PlayerAccountGamingLimitsGroupEdit-BvgALXLX.js} +5 -5
  28. package/components/{PlayerAccountGamingLimitsHistory2-g_IWvLmy.js → PlayerAccountGamingLimitsHistory2-BN22RxDR.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-xIrqOBue.js → PlayerAccountGamingLimitsHistory2-CoeYPmqH.js} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-BNWPIbWB.cjs → PlayerAccountGamingLimitsHistory2-CpBo3wiy.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-C3kYu3Mz.js → PlayerAccountGamingLimitsInfoCard-BopVn9oy.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-DQT8NxCM.cjs → PlayerAccountGamingLimitsInfoCard-DPWKw--2.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsInfoCard-aPWTEP6v.js → PlayerAccountGamingLimitsInfoCard-DhPnmBGG.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cv_0o78w.js → PlayerAccountGamingLimitsPage2Gm16-BNg2EUQV.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-vBu6DIoa.cjs → PlayerAccountGamingLimitsPage2Gm16-Bpje0igb.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-BTPwSCw_.js → PlayerAccountGamingLimitsPage2Gm16-C3QRkRCB.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-CsiOIti5.js → PlayerAccountGamingLimitsPopup-BA2AIvOy.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-BBelp3R2.cjs → PlayerAccountGamingLimitsPopup-CI72Atg2.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-mKUhuTAc.js → PlayerAccountGamingLimitsPopup-CcuzeUgQ.js} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-LXe3wpOz.js → PlayerAccountGamingLimitsWrapper2-Cms8_ntK.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-BXgOs7ar.cjs → PlayerAccountGamingLimitsWrapper2-DAbOpaeN.cjs} +1 -1
  42. package/components/{PlayerAccountGamingLimitsWrapper2-206eT_43.js → PlayerAccountGamingLimitsWrapper2-DQ4Obfib.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-h3MmxVod.js → PlayerAccountGeneralConfirmationModal-BZ0X1Dlo.js} +20 -20
  44. package/components/{PlayerAccountGeneralConfirmationModal-SggjdB4z.js → PlayerAccountGeneralConfirmationModal-Brw8NZsV.js} +22 -22
  45. package/components/{PlayerAccountGeneralConfirmationModal-Bs4_RcFn.cjs → PlayerAccountGeneralConfirmationModal-CfcVktbY.cjs} +1 -1
  46. package/components/{PlayerAccountMenu-DbWbd1yC.cjs → PlayerAccountMenu-Bb2xcPwn.cjs} +1 -1
  47. package/components/{PlayerAccountMenu-CLz0VlnA.js → PlayerAccountMenu-C5Oz4-6A.js} +2 -2
  48. package/components/{PlayerAccountMenu-DNcEo09K.js → PlayerAccountMenu-Xv3fxf8T.js} +2 -2
  49. package/components/{PlayerAccountModal-CscgLYV5.js → PlayerAccountModal-BvOz9AsV.js} +36 -36
  50. package/components/{PlayerAccountModal-BjiMUaLd.js → PlayerAccountModal-Cp-wOYCn.js} +39 -39
  51. package/components/{PlayerAccountModal-BXE5DAmY.cjs → PlayerAccountModal-DgCkoKyq.cjs} +1 -1
  52. package/components/{PlayerAccountNotifications-B17BVCRD.js → PlayerAccountNotifications-B_hkFksG.js} +1 -1
  53. package/components/{PlayerAccountNotifications-DAVg-El1.js → PlayerAccountNotifications-DGIFN4Ch.js} +1 -1
  54. package/components/{PlayerAccountNotifications-D-QSwFJL.cjs → PlayerAccountNotifications-DlHE_mz7.cjs} +1 -1
  55. package/components/{PlayerAccountProductRestriction-BVbpwBgo.cjs → PlayerAccountProductRestriction-CTfm4h7U.cjs} +1 -1
  56. package/components/{PlayerAccountProductRestriction-B4qAQc1H.js → PlayerAccountProductRestriction-CcRDj5sy.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-BGxedQ3X.js → PlayerAccountProductRestriction-_WoKMFT4.js} +3 -3
  58. package/components/{PlayerAccountReviewFrequency-Cuvddk9X.js → PlayerAccountReviewFrequency-CF9IzplT.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-Cq7qpg-I.js → PlayerAccountReviewFrequency-D1pAeX79.js} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-oQ7NCWlX.cjs → PlayerAccountReviewFrequency-DwkdzawT.cjs} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-xIyAHdnn.js → PlayerAccountSelfExclusion-Bmhb8Jli.js} +2 -2
  62. package/components/{PlayerAccountSelfExclusion-BMOP0W_Z.js → PlayerAccountSelfExclusion-CPQ8JtZa.js} +2 -2
  63. package/components/{PlayerAccountSelfExclusion-BSyc12y1.cjs → PlayerAccountSelfExclusion-DDHra23U.cjs} +1 -1
  64. package/components/{PlayerAccountTimeout-D0RW52RF.js → PlayerAccountTimeout-Dg4O3iyw.js} +3 -3
  65. package/components/{PlayerAccountTimeout-BNLHG5j3.js → PlayerAccountTimeout-P5DtsoTx.js} +3 -3
  66. package/components/{PlayerAccountTimeout-ZOGQj5G2.cjs → PlayerAccountTimeout-sjSL5Dpv.cjs} +2 -2
  67. package/components/{PlayerAccountTransactionsHistory-CbtfeCgT.cjs → PlayerAccountTransactionsHistory-BX3UReVy.cjs} +1 -1
  68. package/components/{PlayerAccountTransactionsHistory-DKB8qW5n.js → PlayerAccountTransactionsHistory-CU2DDALF.js} +4 -4
  69. package/components/{PlayerAccountTransactionsHistory-BzGvWPDJ.js → PlayerAccountTransactionsHistory-D7rJzh5B.js} +4 -4
  70. package/components/{PlayerActiveBonuses-Df33uFo8.js → PlayerActiveBonuses-B2vhMIkm.js} +501 -483
  71. package/components/PlayerActiveBonuses-BCQ5UVut.cjs +4 -0
  72. package/components/{PlayerActiveBonuses-pJGDjCj9.js → PlayerActiveBonuses-GB6JZx99.js} +530 -512
  73. package/components/{PlayerBonusCard-ByC1IBuw.js → PlayerBonusCard-CkLGXPzC.js} +2 -2
  74. package/components/{PlayerBonusCard-CxRngJSZ.cjs → PlayerBonusCard-DJXHrQG_.cjs} +1 -1
  75. package/components/{PlayerBonusCard-BUDT4xyi.js → PlayerBonusCard-rqenDufG.js} +2 -2
  76. package/components/{PlayerBonusHistory-CkarFQt0.js → PlayerBonusHistory-BM7-cIBI.js} +2 -2
  77. package/components/{PlayerBonusHistory-CEWrGvIt.js → PlayerBonusHistory-BpHtGGxA.js} +2 -2
  78. package/components/{PlayerBonusHistory-C7UDn3wR.cjs → PlayerBonusHistory-ChOUZADS.cjs} +1 -1
  79. package/components/{PlayerChangePassword-_SMq16X1.js → PlayerChangePassword-ARbCOIaI.js} +1 -1
  80. package/components/{PlayerChangePassword-3Pfi4t-s.cjs → PlayerChangePassword-DOJm87SJ.cjs} +1 -1
  81. package/components/{PlayerChangePassword-BRiEQQkP.js → PlayerChangePassword-DPR4EiVR.js} +1 -1
  82. package/components/{PlayerDeposit-DHqNMLjt.js → PlayerDeposit-DWWFDXYC.js} +1 -1
  83. package/components/{PlayerDeposit-CRJRg5Wr.cjs → PlayerDeposit-Xp_hblpz.cjs} +1 -1
  84. package/components/{PlayerDeposit-sLxAAkrb.js → PlayerDeposit-svLagB2z.js} +1 -1
  85. package/components/{PlayerGamingHistory-B-pE0ysm.js → PlayerGamingHistory-B49lNrr0.js} +42 -42
  86. package/components/{PlayerGamingHistory-C9II4LcD.cjs → PlayerGamingHistory-Csa97UvH.cjs} +1 -1
  87. package/components/{PlayerGamingHistory-Bzb5pocD.js → PlayerGamingHistory-CwLhuKnf.js} +41 -41
  88. package/components/{PlayerPendingWithdrawals-CbB3XENc.cjs → PlayerPendingWithdrawals-CbEkwv63.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-Dl09yYaH.js → PlayerPendingWithdrawals-DW09BeSU.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-bSDN7eqy.js → PlayerPendingWithdrawals-ZJ-BQLh6.js} +1 -1
  91. package/components/{PlayerProfileInfo-BHezZcjN.js → PlayerProfileInfo-BIyoITow.js} +1511 -1344
  92. package/components/PlayerProfileInfo-BOighpMr.cjs +4 -0
  93. package/components/{PlayerProfileInfo-BgW-E1St.js → PlayerProfileInfo-woho1ht0.js} +1567 -1311
  94. package/components/{PlayerRealityCheck-Dg7GLCk4.cjs → PlayerRealityCheck-BPKGQrhm.cjs} +1 -1
  95. package/components/{PlayerRealityCheck-Cy5rO9DI.js → PlayerRealityCheck-DA6S751H.js} +22 -22
  96. package/components/{PlayerRealityCheck-BrfGbURR.js → PlayerRealityCheck-Dv9kJXvy.js} +21 -21
  97. package/components/{PlayerTransactionHistory-C2S5faSi.js → PlayerTransactionHistory-CGm_RGIr.js} +1 -1
  98. package/components/{PlayerTransactionHistory-CruxvxRp.js → PlayerTransactionHistory-D6CYlkgp.js} +1 -1
  99. package/components/{PlayerTransactionHistory-8OqngAkm.cjs → PlayerTransactionHistory-m6f5iED2.cjs} +1 -1
  100. package/components/{PlayerWithdrawal-BD1XhA5i.js → PlayerWithdrawal-6pPxrikc.js} +1 -1
  101. package/components/{PlayerWithdrawal-C0_dg9OD.js → PlayerWithdrawal-CrJeRcho.js} +1 -1
  102. package/components/{PlayerWithdrawal-CLiy-ohS.cjs → PlayerWithdrawal-SqlPOCrD.cjs} +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/PlayerAccountController-DKq6RO5X.cjs +0 -21
  108. package/components/PlayerActiveBonuses-CT7XTxBJ.cjs +0 -4
  109. package/components/PlayerProfileInfo-lynpo_OL.cjs +0 -4
@@ -1,11 +1,11 @@
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-D0b5nEtR.js";
2
- function ue(o, e) {
3
- Le(o, e);
1
+ import { a as Re, $ as Ne, S as je, i as qe, s as De, f as D, b as Oe, n as oe, d as N, w as se, u as Z, K as ue, e as j, p as m, x as G, g as W, q as L, v as R, t as v, h as Ge, j as Ue, o as Ve, y as Q, k as Xe, L as te, l as ee, m as _e, r as s, B as He, C as Je, D as Ye, c as Ke, A as Ze } from "./PlayerAccountController-BSPngDYz.js";
2
+ function de(n, e) {
3
+ Re(n, e);
4
4
  }
5
- function Ze(o) {
6
- Ne.set(o);
5
+ function Qe(n) {
6
+ Ne.set(n);
7
7
  }
8
- const de = {
8
+ const ce = {
9
9
  en: {
10
10
  titleBonuses: "Active Bonuses",
11
11
  bonusCode: "Do you have a bonus code?",
@@ -140,10 +140,10 @@ const de = {
140
140
  }
141
141
  };
142
142
  if (typeof window < "u") {
143
- let o = function(e) {
144
- return function(...n) {
143
+ let n = function(e) {
144
+ return function(...o) {
145
145
  try {
146
- return e.apply(this, n);
146
+ return e.apply(this, o);
147
147
  } catch (i) {
148
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
149
  return !1;
@@ -151,124 +151,124 @@ if (typeof window < "u") {
151
151
  }
152
152
  };
153
153
  };
154
- customElements.define = o(customElements.define), import("./PlayerBonusCard-BUDT4xyi.js").then(({ default: e }) => {
154
+ customElements.define = n(customElements.define), import("./PlayerBonusCard-rqenDufG.js").then(({ default: e }) => {
155
155
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
156
156
  });
157
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)}}');
158
+ function xe(n) {
159
+ Oe(n, "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
160
  }
161
- function ce(o, e, n) {
162
- const i = o.slice();
163
- return i[52] = e[n], i[54] = n, i;
161
+ function pe(n, e, o) {
162
+ const i = n.slice();
163
+ return i[53] = e[o], i[55] = o, i;
164
164
  }
165
- function pe(o, e, n) {
166
- const i = o.slice();
167
- return i[55] = e[n], i;
165
+ function me(n, e, o) {
166
+ const i = n.slice();
167
+ return i[56] = e[o], i;
168
168
  }
169
- function xe(o) {
170
- let e, n, i, t, r, a, c, d, f, y, w = (
169
+ function $e(n) {
170
+ let e, o, i, t, r, a, c, u, b, y, M = (
171
171
  /*$_*/
172
- o[20]("titleBonuses") + ""
173
- ), k, _, h;
172
+ n[20]("titleBonuses") + ""
173
+ ), A, _, h;
174
174
  return {
175
175
  c() {
176
- e = M("div"), n = Q("svg"), i = Q("defs"), t = Q("style"), r = N(`.aaa {
176
+ e = W("div"), o = Q("svg"), i = Q("defs"), t = Q("style"), r = R(`.aaa {
177
177
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
178
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");
179
+ `), a = Q("g"), c = Q("g"), u = Q("path"), b = L(), y = W("h2"), A = R(M), v(u, "class", "aaa"), v(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), v(u, "transform", "translate(15 15) rotate(180)"), v(c, "transform", "translate(20 158)"), v(a, "transform", "translate(-20 -158)"), v(o, "xmlns", "http://www.w3.org/2000/svg"), v(o, "width", "15"), v(o, "height", "15"), v(o, "viewBox", "0 0 15 15"), v(y, "class", "ActiveBonusesTitleMobile"), v(e, "class", "MenuReturnButton");
180
180
  },
181
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(
182
+ j(C, e, p), m(e, o), m(o, i), m(i, t), m(t, r), m(o, a), m(a, c), m(c, u), m(e, b), m(e, y), m(y, A), _ || (h = G(
183
183
  e,
184
184
  "click",
185
185
  /*click_handler*/
186
- o[34]
186
+ n[35]
187
187
  ), _ = !0);
188
188
  },
189
189
  p(C, p) {
190
190
  p[0] & /*$_*/
191
- 1048576 && w !== (w = /*$_*/
192
- C[20]("titleBonuses") + "") && Z(k, w);
191
+ 1048576 && M !== (M = /*$_*/
192
+ C[20]("titleBonuses") + "") && Z(A, M);
193
193
  },
194
194
  d(C) {
195
- C && R(e), _ = !1, h();
195
+ C && N(e), _ = !1, h();
196
196
  }
197
197
  };
198
198
  }
199
- function me(o) {
200
- let e, n = (
199
+ function fe(n) {
200
+ let e, o = (
201
201
  /*$_*/
202
- o[20]("invalidBonusCode") + ""
202
+ n[20]("invalidBonusCode") + ""
203
203
  ), i;
204
204
  return {
205
205
  c() {
206
- e = M("p"), i = N(n), v(e, "class", "InvalidBonusCodeMessage");
206
+ e = W("p"), i = R(o), v(e, "class", "InvalidBonusCodeMessage");
207
207
  },
208
208
  m(t, r) {
209
209
  j(t, e, r), m(e, i);
210
210
  },
211
211
  p(t, r) {
212
212
  r[0] & /*$_*/
213
- 1048576 && n !== (n = /*$_*/
214
- t[20]("invalidBonusCode") + "") && Z(i, n);
213
+ 1048576 && o !== (o = /*$_*/
214
+ t[20]("invalidBonusCode") + "") && Z(i, o);
215
215
  },
216
216
  d(t) {
217
- t && R(e);
217
+ t && N(e);
218
218
  }
219
219
  };
220
220
  }
221
- function $e(o) {
222
- let e, n, i;
223
- function t(d, f) {
221
+ function en(n) {
222
+ let e, o, i;
223
+ function t(u, b) {
224
224
  return (
225
225
  /*activeBonusesList*/
226
- d[18].length === 0 ? no : oo
226
+ u[18].length === 0 ? sn : on
227
227
  );
228
228
  }
229
- let r = t(o), a = r(o), c = (
229
+ let r = t(n), a = r(n), c = (
230
230
  /*activeBonusesList*/
231
- o[18].length !== 0 && be(o)
231
+ n[18].length !== 0 && ge(n)
232
232
  );
233
233
  return {
234
234
  c() {
235
- e = M("div"), a.c(), n = L(), c && c.c(), i = te(), v(e, "class", "ActiveBonusesGrid " + /*isMobile*/
236
- (o[21] ? "ActiveBonusesGridMobile" : ""));
235
+ e = W("div"), a.c(), o = L(), c && c.c(), i = te(), v(e, "class", "ActiveBonusesGrid " + /*isMobile*/
236
+ (n[21] ? "ActiveBonusesGridMobile" : ""));
237
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);
238
+ m(u, b) {
239
+ j(u, e, b), a.m(e, null), j(u, o, b), c && c.m(u, b), j(u, i, b);
240
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);
241
+ p(u, b) {
242
+ r === (r = t(u)) && a ? a.p(u, b) : (a.d(1), a = r(u), a && (a.c(), a.m(e, null))), /*activeBonusesList*/
243
+ u[18].length !== 0 ? c ? c.p(u, b) : (c = ge(u), c.c(), c.m(i.parentNode, i)) : c && (c.d(1), c = null);
244
244
  },
245
- d(d) {
246
- d && (R(e), R(n), R(i)), a.d(), c && c.d(d);
245
+ d(u) {
246
+ u && (N(e), N(o), N(i)), a.d(), c && c.d(u);
247
247
  }
248
248
  };
249
249
  }
250
- function eo(o) {
250
+ function nn(n) {
251
251
  let e;
252
252
  return {
253
253
  c() {
254
- e = M("div"), v(e, "class", "ModalLoader"), v(e, "part", "ModalLoader");
254
+ e = W("div"), v(e, "class", "ModalLoader"), v(e, "part", "ModalLoader");
255
255
  },
256
- m(n, i) {
257
- j(n, e, i);
256
+ m(o, i) {
257
+ j(o, e, i);
258
258
  },
259
- p: ne,
260
- d(n) {
261
- n && R(e);
259
+ p: oe,
260
+ d(o) {
261
+ o && N(e);
262
262
  }
263
263
  };
264
264
  }
265
- function oo(o) {
266
- let e, n = ee(
265
+ function on(n) {
266
+ let e, o = ee(
267
267
  /*activeBonusesList*/
268
- o[18]
268
+ n[18]
269
269
  ), i = [];
270
- for (let t = 0; t < n.length; t += 1)
271
- i[t] = fe(pe(o, n, t));
270
+ for (let t = 0; t < o.length; t += 1)
271
+ i[t] = be(me(n, o, t));
272
272
  return {
273
273
  c() {
274
274
  for (let t = 0; t < i.length; t += 1)
@@ -283,260 +283,260 @@ function oo(o) {
283
283
  p(t, r) {
284
284
  if (r[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
285
285
  262399) {
286
- n = ee(
286
+ o = ee(
287
287
  /*activeBonusesList*/
288
288
  t[18]
289
289
  );
290
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));
291
+ for (a = 0; a < o.length; a += 1) {
292
+ const c = me(t, o, a);
293
+ i[a] ? i[a].p(c, r) : (i[a] = be(c), i[a].c(), i[a].m(e.parentNode, e));
294
294
  }
295
295
  for (; a < i.length; a += 1)
296
296
  i[a].d(1);
297
- i.length = n.length;
297
+ i.length = o.length;
298
298
  }
299
299
  },
300
300
  d(t) {
301
- t && R(e), ve(i, t);
301
+ t && N(e), _e(i, t);
302
302
  }
303
303
  };
304
304
  }
305
- function no(o) {
306
- let e, n = (
305
+ function sn(n) {
306
+ let e, o = (
307
307
  /*$_*/
308
- o[20]("noActiveBonuses") + ""
308
+ n[20]("noActiveBonuses") + ""
309
309
  ), i;
310
310
  return {
311
311
  c() {
312
- e = M("p"), i = N(n);
312
+ e = W("p"), i = R(o);
313
313
  },
314
314
  m(t, r) {
315
315
  j(t, e, r), m(e, i);
316
316
  },
317
317
  p(t, r) {
318
318
  r[0] & /*$_*/
319
- 1048576 && n !== (n = /*$_*/
320
- t[20]("noActiveBonuses") + "") && Z(i, n);
319
+ 1048576 && o !== (o = /*$_*/
320
+ t[20]("noActiveBonuses") + "") && Z(i, o);
321
321
  },
322
322
  d(t) {
323
- t && R(e);
323
+ t && N(e);
324
324
  }
325
325
  };
326
326
  }
327
- function so(o) {
328
- let e, n, i, t, r, a, c, d, f, y, w, k, _, h, C, p, g;
327
+ function tn(n) {
328
+ let e, o, i, t, r, a, c, u, b, y, M, A, _, h, C, p, g;
329
329
  return {
330
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(
331
+ e = W("player-bonus-card"), s(e, "termsandconditionsdescription", o = /*activeBonus*/
332
+ n[56].termsandconditionsdescription), s(e, "termsandconditionsurl", i = /*activeBonus*/
333
+ n[56].termsandconditionsurl), s(e, "termsandconditionsasset", t = /*activeBonus*/
334
+ n[56].termsandconditionsasset), s(e, "endpoint", r = /*activeBonus*/
335
+ n[56].endpoint), s(e, "playerid", a = /*activeBonus*/
336
+ n[56].playerid), s(e, "session", c = /*activeBonus*/
337
+ n[56].session), s(e, "bonuswalletid", u = /*activeBonus*/
338
+ n[56].walletId), s(e, "bonusdate", b = /*activeBonus*/
339
+ n[56].granted), s(e, "bonusexpirationdate", y = /*activeBonus*/
340
+ n[56].expiryTime), s(e, "bonusstatus", M = /*activeBonus*/
341
+ n[56].status), s(e, "bonusname", A = /*activeBonus*/
342
+ n[56].name), s(e, "bonustype", _ = /*activeBonus*/
343
+ n[56].type), s(e, "bonusamount", h = /*activeBonus*/
344
+ n[56].extension.grantedPlayerCurrencyAmount), s(e, "bonuswageringamount", C = `${/*activeBonus*/
345
+ n[56].fulfilledWR} / ${/*activeBonus*/
346
+ n[56].originalWageringRequirement}`), s(e, "bonusremainingamount", p = /*activeBonus*/
347
+ n[56].currentAmount), s(e, "bonuscurrency", g = /*activeBonus*/
348
+ n[56].currency), s(
349
349
  e,
350
350
  "lang",
351
351
  /*lang*/
352
- o[0]
352
+ n[0]
353
353
  ), s(
354
354
  e,
355
355
  "dateformat",
356
356
  /*dateformat*/
357
- o[6]
357
+ n[6]
358
358
  ), s(
359
359
  e,
360
360
  "clientstyling",
361
361
  /*clientstyling*/
362
- o[1]
362
+ n[1]
363
363
  ), s(
364
364
  e,
365
365
  "clientstylingurl",
366
366
  /*clientstylingurl*/
367
- o[2]
367
+ n[2]
368
368
  ), s(
369
369
  e,
370
370
  "mbsource",
371
371
  /*mbsource*/
372
- o[3]
372
+ n[3]
373
373
  ), s(
374
374
  e,
375
375
  "translationurl",
376
376
  /*translationurl*/
377
- o[4]
377
+ n[4]
378
378
  ), s(
379
379
  e,
380
380
  "currencylocale",
381
381
  /*currencylocale*/
382
- o[5]
382
+ n[5]
383
383
  ), s(
384
384
  e,
385
385
  "ishiddenwageringbonus",
386
386
  /*ishiddenwageringbonus*/
387
- o[7]
387
+ n[7]
388
388
  );
389
389
  },
390
- m(l, B) {
391
- j(l, e, B);
390
+ m(d, f) {
391
+ j(d, e, f);
392
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*/
393
+ p(d, f) {
394
+ f[0] & /*activeBonusesList*/
395
+ 262144 && o !== (o = /*activeBonus*/
396
+ d[56].termsandconditionsdescription) && s(e, "termsandconditionsdescription", o), f[0] & /*activeBonusesList*/
397
397
  262144 && i !== (i = /*activeBonus*/
398
- l[55].termsandconditionsurl) && s(e, "termsandconditionsurl", i), B[0] & /*activeBonusesList*/
398
+ d[56].termsandconditionsurl) && s(e, "termsandconditionsurl", i), f[0] & /*activeBonusesList*/
399
399
  262144 && t !== (t = /*activeBonus*/
400
- l[55].termsandconditionsasset) && s(e, "termsandconditionsasset", t), B[0] & /*activeBonusesList*/
400
+ d[56].termsandconditionsasset) && s(e, "termsandconditionsasset", t), f[0] & /*activeBonusesList*/
401
401
  262144 && r !== (r = /*activeBonus*/
402
- l[55].endpoint) && s(e, "endpoint", r), B[0] & /*activeBonusesList*/
402
+ d[56].endpoint) && s(e, "endpoint", r), f[0] & /*activeBonusesList*/
403
403
  262144 && a !== (a = /*activeBonus*/
404
- l[55].playerid) && s(e, "playerid", a), B[0] & /*activeBonusesList*/
404
+ d[56].playerid) && s(e, "playerid", a), f[0] & /*activeBonusesList*/
405
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*/
406
+ d[56].session) && s(e, "session", c), f[0] & /*activeBonusesList*/
407
+ 262144 && u !== (u = /*activeBonus*/
408
+ d[56].walletId) && s(e, "bonuswalletid", u), f[0] & /*activeBonusesList*/
409
+ 262144 && b !== (b = /*activeBonus*/
410
+ d[56].granted) && s(e, "bonusdate", b), f[0] & /*activeBonusesList*/
411
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*/
412
+ d[56].expiryTime) && s(e, "bonusexpirationdate", y), f[0] & /*activeBonusesList*/
413
+ 262144 && M !== (M = /*activeBonus*/
414
+ d[56].status) && s(e, "bonusstatus", M), f[0] & /*activeBonusesList*/
415
+ 262144 && A !== (A = /*activeBonus*/
416
+ d[56].name) && s(e, "bonusname", A), f[0] & /*activeBonusesList*/
417
417
  262144 && _ !== (_ = /*activeBonus*/
418
- l[55].type) && s(e, "bonustype", _), B[0] & /*activeBonusesList*/
418
+ d[56].type) && s(e, "bonustype", _), f[0] & /*activeBonusesList*/
419
419
  262144 && h !== (h = /*activeBonus*/
420
- l[55].extension.grantedPlayerCurrencyAmount) && s(e, "bonusamount", h), B[0] & /*activeBonusesList*/
420
+ d[56].extension.grantedPlayerCurrencyAmount) && s(e, "bonusamount", h), f[0] & /*activeBonusesList*/
421
421
  262144 && C !== (C = `${/*activeBonus*/
422
- l[55].fulfilledWR} / ${/*activeBonus*/
423
- l[55].originalWageringRequirement}`) && s(e, "bonuswageringamount", C), B[0] & /*activeBonusesList*/
422
+ d[56].fulfilledWR} / ${/*activeBonus*/
423
+ d[56].originalWageringRequirement}`) && s(e, "bonuswageringamount", C), f[0] & /*activeBonusesList*/
424
424
  262144 && p !== (p = /*activeBonus*/
425
- l[55].currentAmount) && s(e, "bonusremainingamount", p), B[0] & /*activeBonusesList*/
425
+ d[56].currentAmount) && s(e, "bonusremainingamount", p), f[0] & /*activeBonusesList*/
426
426
  262144 && g !== (g = /*activeBonus*/
427
- l[55].currency) && s(e, "bonuscurrency", g), B[0] & /*lang*/
427
+ d[56].currency) && s(e, "bonuscurrency", g), f[0] & /*lang*/
428
428
  1 && s(
429
429
  e,
430
430
  "lang",
431
431
  /*lang*/
432
- l[0]
433
- ), B[0] & /*dateformat*/
432
+ d[0]
433
+ ), f[0] & /*dateformat*/
434
434
  64 && s(
435
435
  e,
436
436
  "dateformat",
437
437
  /*dateformat*/
438
- l[6]
439
- ), B[0] & /*clientstyling*/
438
+ d[6]
439
+ ), f[0] & /*clientstyling*/
440
440
  2 && s(
441
441
  e,
442
442
  "clientstyling",
443
443
  /*clientstyling*/
444
- l[1]
445
- ), B[0] & /*clientstylingurl*/
444
+ d[1]
445
+ ), f[0] & /*clientstylingurl*/
446
446
  4 && s(
447
447
  e,
448
448
  "clientstylingurl",
449
449
  /*clientstylingurl*/
450
- l[2]
451
- ), B[0] & /*mbsource*/
450
+ d[2]
451
+ ), f[0] & /*mbsource*/
452
452
  8 && s(
453
453
  e,
454
454
  "mbsource",
455
455
  /*mbsource*/
456
- l[3]
457
- ), B[0] & /*translationurl*/
456
+ d[3]
457
+ ), f[0] & /*translationurl*/
458
458
  16 && s(
459
459
  e,
460
460
  "translationurl",
461
461
  /*translationurl*/
462
- l[4]
463
- ), B[0] & /*currencylocale*/
462
+ d[4]
463
+ ), f[0] & /*currencylocale*/
464
464
  32 && s(
465
465
  e,
466
466
  "currencylocale",
467
467
  /*currencylocale*/
468
- l[5]
469
- ), B[0] & /*ishiddenwageringbonus*/
468
+ d[5]
469
+ ), f[0] & /*ishiddenwageringbonus*/
470
470
  128 && s(
471
471
  e,
472
472
  "ishiddenwageringbonus",
473
473
  /*ishiddenwageringbonus*/
474
- l[7]
474
+ d[7]
475
475
  );
476
476
  },
477
- d(l) {
478
- l && R(e);
477
+ d(d) {
478
+ d && N(e);
479
479
  }
480
480
  };
481
481
  }
482
- function to(o) {
483
- let e, n, i, t, r, a, c, d, f, y, w, k, _, h, C;
482
+ function an(n) {
483
+ let e, o, i, t, r, a, c, u, b, y, M, A, _, h, C;
484
484
  return {
485
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(
486
+ e = W("player-bonus-card"), s(e, "termsandconditionsdescription", o = /*activeBonus*/
487
+ n[56].termsandconditionsdescription), s(e, "termsandconditionsurl", i = /*activeBonus*/
488
+ n[56].termsandconditionsurl), s(e, "termsandconditionsasset", t = /*activeBonus*/
489
+ n[56].termsandconditionsasset), s(e, "endpoint", r = /*activeBonus*/
490
+ n[56].endpoint), s(e, "playerid", a = /*activeBonus*/
491
+ n[56].playerid), s(e, "session", c = /*activeBonus*/
492
+ n[56].session), s(e, "bonuswalletid", u = /*activeBonus*/
493
+ n[56].walletId), s(e, "bonusdate", b = /*activeBonus*/
494
+ n[56].granted), s(e, "bonusexpirationdate", y = /*activeBonus*/
495
+ n[56].expiryTime), s(e, "bonusstatus", M = /*activeBonus*/
496
+ n[56].status), s(e, "bonusname", A = /*activeBonus*/
497
+ n[56].name), s(e, "bonustype", _ = /*activeBonus*/
498
+ n[56].type), s(e, "bonuscurrency", h = /*activeBonus*/
499
+ n[56].currency), s(e, "bonusfreespins", C = /*activeBonus*/
500
+ n[56].freeRoundNumber), s(
501
501
  e,
502
502
  "lang",
503
503
  /*lang*/
504
- o[0]
504
+ n[0]
505
505
  ), s(
506
506
  e,
507
507
  "dateformat",
508
508
  /*dateformat*/
509
- o[6]
509
+ n[6]
510
510
  ), s(
511
511
  e,
512
512
  "clientstyling",
513
513
  /*clientstyling*/
514
- o[1]
514
+ n[1]
515
515
  ), s(
516
516
  e,
517
517
  "clientstylingurl",
518
518
  /*clientstylingurl*/
519
- o[2]
519
+ n[2]
520
520
  ), s(
521
521
  e,
522
522
  "mbsource",
523
523
  /*mbsource*/
524
- o[3]
524
+ n[3]
525
525
  ), s(
526
526
  e,
527
527
  "translationurl",
528
528
  /*translationurl*/
529
- o[4]
529
+ n[4]
530
530
  ), s(
531
531
  e,
532
532
  "currencylocale",
533
533
  /*currencylocale*/
534
- o[5]
534
+ n[5]
535
535
  ), s(
536
536
  e,
537
537
  "ishiddenwageringbonus",
538
538
  /*ishiddenwageringbonus*/
539
- o[7]
539
+ n[7]
540
540
  );
541
541
  },
542
542
  m(p, g) {
@@ -544,34 +544,34 @@ function to(o) {
544
544
  },
545
545
  p(p, g) {
546
546
  g[0] & /*activeBonusesList*/
547
- 262144 && n !== (n = /*activeBonus*/
548
- p[55].termsandconditionsdescription) && s(e, "termsandconditionsdescription", n), g[0] & /*activeBonusesList*/
547
+ 262144 && o !== (o = /*activeBonus*/
548
+ p[56].termsandconditionsdescription) && s(e, "termsandconditionsdescription", o), g[0] & /*activeBonusesList*/
549
549
  262144 && i !== (i = /*activeBonus*/
550
- p[55].termsandconditionsurl) && s(e, "termsandconditionsurl", i), g[0] & /*activeBonusesList*/
550
+ p[56].termsandconditionsurl) && s(e, "termsandconditionsurl", i), g[0] & /*activeBonusesList*/
551
551
  262144 && t !== (t = /*activeBonus*/
552
- p[55].termsandconditionsasset) && s(e, "termsandconditionsasset", t), g[0] & /*activeBonusesList*/
552
+ p[56].termsandconditionsasset) && s(e, "termsandconditionsasset", t), g[0] & /*activeBonusesList*/
553
553
  262144 && r !== (r = /*activeBonus*/
554
- p[55].endpoint) && s(e, "endpoint", r), g[0] & /*activeBonusesList*/
554
+ p[56].endpoint) && s(e, "endpoint", r), g[0] & /*activeBonusesList*/
555
555
  262144 && a !== (a = /*activeBonus*/
556
- p[55].playerid) && s(e, "playerid", a), g[0] & /*activeBonusesList*/
556
+ p[56].playerid) && s(e, "playerid", a), g[0] & /*activeBonusesList*/
557
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*/
558
+ p[56].session) && s(e, "session", c), g[0] & /*activeBonusesList*/
559
+ 262144 && u !== (u = /*activeBonus*/
560
+ p[56].walletId) && s(e, "bonuswalletid", u), g[0] & /*activeBonusesList*/
561
+ 262144 && b !== (b = /*activeBonus*/
562
+ p[56].granted) && s(e, "bonusdate", b), g[0] & /*activeBonusesList*/
563
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*/
564
+ p[56].expiryTime) && s(e, "bonusexpirationdate", y), g[0] & /*activeBonusesList*/
565
+ 262144 && M !== (M = /*activeBonus*/
566
+ p[56].status) && s(e, "bonusstatus", M), g[0] & /*activeBonusesList*/
567
+ 262144 && A !== (A = /*activeBonus*/
568
+ p[56].name) && s(e, "bonusname", A), g[0] & /*activeBonusesList*/
569
569
  262144 && _ !== (_ = /*activeBonus*/
570
- p[55].type) && s(e, "bonustype", _), g[0] & /*activeBonusesList*/
570
+ p[56].type) && s(e, "bonustype", _), g[0] & /*activeBonusesList*/
571
571
  262144 && h !== (h = /*activeBonus*/
572
- p[55].currency) && s(e, "bonuscurrency", h), g[0] & /*activeBonusesList*/
572
+ p[56].currency) && s(e, "bonuscurrency", h), g[0] & /*activeBonusesList*/
573
573
  262144 && C !== (C = /*activeBonus*/
574
- p[55].freeRoundNumber) && s(e, "bonusfreespins", C), g[0] & /*lang*/
574
+ p[56].freeRoundNumber) && s(e, "bonusfreespins", C), g[0] & /*lang*/
575
575
  1 && s(
576
576
  e,
577
577
  "lang",
@@ -622,19 +622,19 @@ function to(o) {
622
622
  );
623
623
  },
624
624
  d(p) {
625
- p && R(e);
625
+ p && N(e);
626
626
  }
627
627
  };
628
628
  }
629
- function fe(o) {
629
+ function be(n) {
630
630
  let e;
631
- function n(r, a) {
631
+ function o(r, a) {
632
632
  return (
633
633
  /*activeBonus*/
634
- r[55].type === "freeRound" ? to : so
634
+ r[56].type === "freeRound" ? an : tn
635
635
  );
636
636
  }
637
- let i = n(o), t = i(o);
637
+ let i = o(n), t = i(n);
638
638
  return {
639
639
  c() {
640
640
  t.c(), e = te();
@@ -643,372 +643,382 @@ function fe(o) {
643
643
  t.m(r, a), j(r, e, a);
644
644
  },
645
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)));
646
+ i === (i = o(r)) && t ? t.p(r, a) : (t.d(1), t = i(r), t && (t.c(), t.m(e.parentNode, e)));
647
647
  },
648
648
  d(r) {
649
- r && R(e), t.d(r);
649
+ r && N(e), t.d(r);
650
650
  }
651
651
  };
652
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(
653
+ function ge(n) {
654
+ let e, o, i, t, r, a, c, u, b, y, M, A, _, h, C, p, g, d, f, X, H, J, U, q = ee(Array(
655
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));
656
+ n[16]
657
+ )), w = [];
658
+ for (let B = 0; B < q.length; B += 1)
659
+ w[B] = Be(pe(n, q, B));
660
660
  return {
661
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" : ""));
662
+ e = W("div"), o = W("button"), i = R("|<"), a = L(), c = W("button"), u = R("<"), M = L();
663
+ for (let B = 0; B < w.length; B += 1)
664
+ w[B].c();
665
+ A = L(), _ = W("button"), h = R(">"), g = L(), d = W("button"), f = R(">|"), o.disabled = t = /*currentPage*/
666
+ n[17] === 0, v(o, "class", r = "BonusesFirst " + /*currentPage*/
667
+ (n[17] === 0 ? "Inactive" : "")), c.disabled = b = /*currentPage*/
668
+ n[17] === 0, v(c, "class", y = "BonusesPrev " + /*currentPage*/
669
+ (n[17] === 0 ? "Inactive" : "")), _.disabled = C = /*currentPage*/
670
+ n[17] === /*numberOfPages*/
671
+ n[16] - 1, v(_, "class", p = "BonusesNext " + /*currentPage*/
672
+ (n[17] === /*numberOfPages*/
673
+ n[16] - 1 ? "Inactive" : "")), d.disabled = X = /*currentPage*/
674
+ n[17] === /*numberOfPages*/
675
+ n[16] - 1, v(d, "class", H = "BonusesLast " + /*currentPage*/
676
+ (n[17] === /*numberOfPages*/
677
+ n[16] - 1 ? "Inactive" : "")), v(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
678
+ (n[21] ? "BonusesPaginationWrapperMobile" : ""));
679
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,
680
+ m(B, F) {
681
+ j(B, e, F), m(e, o), m(o, i), m(e, a), m(e, c), m(c, u), m(e, M);
682
+ for (let P = 0; P < w.length; P += 1)
683
+ w[P] && w[P].m(e, null);
684
+ m(e, A), m(e, _), m(_, h), m(e, g), m(e, d), m(d, f), J || (U = [
685
+ G(
686
+ o,
687
687
  "click",
688
688
  /*click_handler_1*/
689
- o[36]
689
+ n[37]
690
690
  ),
691
- U(
691
+ G(
692
692
  c,
693
693
  "click",
694
694
  /*click_handler_2*/
695
- o[37]
695
+ n[38]
696
696
  ),
697
- U(
697
+ G(
698
698
  _,
699
699
  "click",
700
700
  /*click_handler_4*/
701
- o[39]
701
+ n[40]
702
702
  ),
703
- U(
704
- l,
703
+ G(
704
+ d,
705
705
  "click",
706
706
  /*click_handler_5*/
707
- o[40]
707
+ n[41]
708
708
  )
709
- ], H = !0);
709
+ ], J = !0);
710
710
  },
711
- p(b, P) {
712
- if (P[0] & /*currentPage*/
711
+ p(B, F) {
712
+ if (F[0] & /*currentPage*/
713
713
  131072 && t !== (t = /*currentPage*/
714
- b[17] === 0) && (n.disabled = t), P[0] & /*currentPage*/
714
+ B[17] === 0) && (o.disabled = t), F[0] & /*currentPage*/
715
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*/
716
+ (B[17] === 0 ? "Inactive" : "")) && v(o, "class", r), F[0] & /*currentPage*/
717
+ 131072 && b !== (b = /*currentPage*/
718
+ B[17] === 0) && (c.disabled = b), F[0] & /*currentPage*/
719
719
  131072 && y !== (y = "BonusesPrev " + /*currentPage*/
720
- (b[17] === 0 ? "Inactive" : "")) && v(c, "class", y), P[0] & /*currentPage, getActiveBonuses, numberOfPages*/
720
+ (B[17] === 0 ? "Inactive" : "")) && v(c, "class", y), F[0] & /*currentPage, getActiveBonuses, numberOfPages*/
721
721
  16973824) {
722
- S = ee(Array(
722
+ q = ee(Array(
723
723
  /*numberOfPages*/
724
- b[16]
724
+ B[16]
725
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));
726
+ let P;
727
+ for (P = 0; P < q.length; P += 1) {
728
+ const I = pe(B, q, P);
729
+ w[P] ? w[P].p(I, F) : (w[P] = Be(I), w[P].c(), w[P].m(e, A));
730
730
  }
731
- for (; E < W.length; E += 1)
732
- W[E].d(1);
733
- W.length = S.length;
731
+ for (; P < w.length; P += 1)
732
+ w[P].d(1);
733
+ w.length = q.length;
734
734
  }
735
- P[0] & /*currentPage, numberOfPages*/
735
+ F[0] & /*currentPage, numberOfPages*/
736
736
  196608 && C !== (C = /*currentPage*/
737
- b[17] === /*numberOfPages*/
738
- b[16] - 1) && (_.disabled = C), P[0] & /*currentPage, numberOfPages*/
737
+ B[17] === /*numberOfPages*/
738
+ B[16] - 1) && (_.disabled = C), F[0] & /*currentPage, numberOfPages*/
739
739
  196608 && p !== (p = "BonusesNext " + /*currentPage*/
740
- (b[17] === /*numberOfPages*/
741
- b[16] - 1 ? "Inactive" : "")) && v(_, "class", p), P[0] & /*currentPage, numberOfPages*/
740
+ (B[17] === /*numberOfPages*/
741
+ B[16] - 1 ? "Inactive" : "")) && v(_, "class", p), F[0] & /*currentPage, numberOfPages*/
742
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);
743
+ B[17] === /*numberOfPages*/
744
+ B[16] - 1) && (d.disabled = X), F[0] & /*currentPage, numberOfPages*/
745
+ 196608 && H !== (H = "BonusesLast " + /*currentPage*/
746
+ (B[17] === /*numberOfPages*/
747
+ B[16] - 1 ? "Inactive" : "")) && v(d, "class", H);
748
748
  },
749
- d(b) {
750
- b && R(e), ve(W, b), H = !1, se(G);
749
+ d(B) {
750
+ B && N(e), _e(w, B), J = !1, se(U);
751
751
  }
752
752
  };
753
753
  }
754
- function ge(o) {
755
- let e, n = (
754
+ function Be(n) {
755
+ let e, o = (
756
756
  /*i*/
757
- o[54] + 1 + ""
757
+ n[55] + 1 + ""
758
758
  ), i, t, r, a, c;
759
- function d() {
759
+ function u() {
760
760
  return (
761
761
  /*click_handler_3*/
762
- o[38](
762
+ n[39](
763
763
  /*i*/
764
- o[54]
764
+ n[55]
765
765
  )
766
766
  );
767
767
  }
768
768
  return {
769
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" : ""));
770
+ e = W("button"), i = R(o), e.disabled = t = /*i*/
771
+ n[55] === /*currentPage*/
772
+ n[17], v(e, "class", r = "BonusesPage " + /*i*/
773
+ (n[55] === /*currentPage*/
774
+ n[17] ? "BonusPageActive" : ""));
775
775
  },
776
- m(f, y) {
777
- j(f, e, y), m(e, i), a || (c = U(e, "click", d), a = !0);
776
+ m(b, y) {
777
+ j(b, e, y), m(e, i), a || (c = G(e, "click", u), a = !0);
778
778
  },
779
- p(f, y) {
780
- o = f, y[0] & /*currentPage*/
779
+ p(b, y) {
780
+ n = b, y[0] & /*currentPage*/
781
781
  131072 && t !== (t = /*i*/
782
- o[54] === /*currentPage*/
783
- o[17]) && (e.disabled = t), y[0] & /*currentPage*/
782
+ n[55] === /*currentPage*/
783
+ n[17]) && (e.disabled = t), y[0] & /*currentPage*/
784
784
  131072 && r !== (r = "BonusesPage " + /*i*/
785
- (o[54] === /*currentPage*/
786
- o[17] ? "BonusPageActive" : "")) && v(e, "class", r);
785
+ (n[55] === /*currentPage*/
786
+ n[17] ? "BonusPageActive" : "")) && v(e, "class", r);
787
787
  },
788
- d(f) {
789
- f && R(e), a = !1, c();
788
+ d(b) {
789
+ b && N(e), a = !1, c();
790
790
  }
791
791
  };
792
792
  }
793
- function Be(o) {
794
- let e, n, i, t, r = (
793
+ function ve(n) {
794
+ let e, o, i, t, r = (
795
795
  /*$_*/
796
- o[20]("forfeitBonus") + ""
797
- ), a, c, d, f, y = (
796
+ n[20]("forfeitBonus") + ""
797
+ ), a, c, u, b, y = (
798
798
  /*$_*/
799
- o[20]("forfeitBonusCancel") + ""
800
- ), w, k, _, h = (
799
+ n[20]("forfeitBonusCancel") + ""
800
+ ), M, A, _, h = (
801
801
  /*$_*/
802
- o[20]("forfeitBonusConfirm") + ""
802
+ n[20]("forfeitBonusConfirm") + ""
803
803
  ), C, p, g;
804
804
  return {
805
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" : ""));
806
+ e = W("div"), o = W("div"), i = W("div"), t = W("p"), a = R(r), c = L(), u = W("div"), b = W("button"), M = R(y), A = L(), _ = W("button"), C = R(h), v(t, "class", "ModalText"), v(b, "class", "ModalCancel"), v(_, "class", "ModalConfirm"), v(u, "class", "ModalButtons"), v(i, "class", "ModalBody"), v(o, "class", "ModalContent"), v(e, "class", "ModalWrapper " + /*isMobile*/
807
+ (n[21] ? "ModalWrapperMobile" : ""));
808
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,
809
+ m(d, f) {
810
+ j(d, e, f), m(e, o), m(o, i), m(i, t), m(t, a), m(i, c), m(i, u), m(u, b), m(b, M), m(u, A), m(u, _), m(_, C), p || (g = [
811
+ G(
812
+ b,
813
813
  "click",
814
814
  /*closeBonusModal*/
815
- o[26]
815
+ n[26]
816
816
  ),
817
- U(
817
+ G(
818
818
  _,
819
819
  "click",
820
820
  /*debouncedFunction*/
821
- o[28](
821
+ n[28](
822
822
  /*deleteBonus*/
823
- o[27]
823
+ n[27]
824
824
  )
825
825
  )
826
826
  ], p = !0);
827
827
  },
828
- p(l, B) {
829
- B[0] & /*$_*/
828
+ p(d, f) {
829
+ f[0] & /*$_*/
830
830
  1048576 && r !== (r = /*$_*/
831
- l[20]("forfeitBonus") + "") && Z(a, r), B[0] & /*$_*/
831
+ d[20]("forfeitBonus") + "") && Z(a, r), f[0] & /*$_*/
832
832
  1048576 && y !== (y = /*$_*/
833
- l[20]("forfeitBonusCancel") + "") && Z(w, y), B[0] & /*$_*/
833
+ d[20]("forfeitBonusCancel") + "") && Z(M, y), f[0] & /*$_*/
834
834
  1048576 && h !== (h = /*$_*/
835
- l[20]("forfeitBonusConfirm") + "") && Z(C, h);
835
+ d[20]("forfeitBonusConfirm") + "") && Z(C, h);
836
836
  },
837
- d(l) {
838
- l && R(e), p = !1, se(g);
837
+ d(d) {
838
+ d && N(e), p = !1, se(g);
839
839
  }
840
840
  };
841
841
  }
842
- function io(o) {
843
- let e, n, i, t, r = (
842
+ function rn(n) {
843
+ let e, o, i, t, r = (
844
844
  /*$_*/
845
- o[20]("titleBonuses") + ""
846
- ), a, c, d, f, y = (
845
+ n[20]("titleBonuses") + ""
846
+ ), a, c, u, b, y = (
847
847
  /*$_*/
848
- o[20]("bonusCode") + ""
849
- ), w, k, _, h, C, p, g = (
848
+ n[20]("bonusCode") + ""
849
+ ), M, A, _, h, C, p, g = (
850
850
  /*$_*/
851
- o[20]("getBonus") + ""
852
- ), l, B, X, V, H, G, S, W = (
851
+ n[20]("getBonus") + ""
852
+ ), d, f, X, H, J, U, q, w = (
853
853
  /*isMobile*/
854
- o[21] && xe(o)
855
- ), b = (
854
+ n[21] && $e(n)
855
+ ), B = (
856
856
  /*invalidBonusCode*/
857
- o[11] && me(o)
857
+ n[11] && fe(n)
858
858
  );
859
- function P(A, T) {
859
+ function F(E, T) {
860
860
  return (
861
861
  /*isLoading*/
862
- A[9] ? eo : $e
862
+ E[9] ? nn : en
863
863
  );
864
864
  }
865
- let E = P(o), I = E(o), F = (
865
+ let P = F(n), I = P(n), z = (
866
866
  /*bonusModal*/
867
- o[19] && Be(o)
867
+ n[19] && ve(n)
868
868
  );
869
869
  return {
870
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" : ""));
871
+ e = W("div"), o = W("div"), w && w.c(), i = L(), t = W("h2"), a = R(r), c = L(), u = W("div"), b = W("label"), M = R(y), A = L(), _ = W("div"), h = W("input"), C = L(), p = W("button"), d = R(g), X = L(), B && B.c(), H = L(), I.c(), J = L(), z && z.c(), v(t, "class", "ActiveBonusesTitle " + /*isMobile*/
872
+ (n[21] ? "ActiveBonusesTitleNone" : "")), v(b, "for", "BonusCode"), v(h, "class", "BonusCodeInput " + /*isMobile*/
873
+ (n[21] ? "BonusCodeInputMobile" : "")), v(h, "type", "text"), v(h, "id", "BonusCode"), v(p, "class", "SubmitBonusCode " + /*isMobile*/
874
+ (n[21] ? "SubmitBonusCodeMobile" : "")), p.disabled = f = /*invalidBonusField*/
875
+ n[10] || /*isLoading*/
876
+ n[9], v(_, "class", "BonusCodeWrapper " + /*isMobile*/
877
+ (n[21] ? "BonusCodeWrapperMobile" : "")), v(u, "class", "BonusCodeContainer " + /*isMobile*/
878
+ (n[21] ? "BonusCodeContainerMobile" : "")), v(o, "class", "ActiveBonusesWrapper " + /*isMobile*/
879
+ (n[21] ? "ActiveBonusesWrapperMobile" : ""));
880
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(
881
+ m(E, T) {
882
+ j(E, e, T), m(e, o), w && w.m(o, null), m(o, i), m(o, t), m(t, a), m(o, c), m(o, u), m(u, b), m(b, M), m(u, A), m(u, _), m(_, h), ue(
883
883
  h,
884
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(
885
+ n[12]
886
+ ), m(_, C), m(_, p), m(p, d), m(u, X), B && B.m(u, null), m(o, H), I.m(o, null), m(e, J), z && z.m(e, null), n[42](e), U || (q = [
887
+ G(
888
888
  h,
889
889
  "input",
890
890
  /*input_input_handler*/
891
- o[35]
891
+ n[36]
892
892
  ),
893
- U(
893
+ G(
894
894
  h,
895
895
  "keyup",
896
896
  /*validateBonusCode*/
897
- o[23]
897
+ n[23]
898
898
  ),
899
- U(
899
+ G(
900
900
  p,
901
901
  "click",
902
902
  /*claimBonus*/
903
- o[25]
903
+ n[25]
904
904
  )
905
- ], G = !0);
905
+ ], U = !0);
906
906
  },
907
- p(A, T) {
907
+ p(E, T) {
908
908
  /*isMobile*/
909
- A[21] && W.p(A, T), T[0] & /*$_*/
909
+ E[21] && w.p(E, T), T[0] & /*$_*/
910
910
  1048576 && r !== (r = /*$_*/
911
- A[20]("titleBonuses") + "") && Z(a, r), T[0] & /*$_*/
911
+ E[20]("titleBonuses") + "") && Z(a, r), T[0] & /*$_*/
912
912
  1048576 && y !== (y = /*$_*/
913
- A[20]("bonusCode") + "") && Z(w, y), T[0] & /*bonusCode*/
913
+ E[20]("bonusCode") + "") && Z(M, y), T[0] & /*bonusCode*/
914
914
  4096 && h.value !== /*bonusCode*/
915
- A[12] && le(
915
+ E[12] && ue(
916
916
  h,
917
917
  /*bonusCode*/
918
- A[12]
918
+ E[12]
919
919
  ), T[0] & /*$_*/
920
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);
921
+ E[20]("getBonus") + "") && Z(d, g), T[0] & /*invalidBonusField, isLoading*/
922
+ 1536 && f !== (f = /*invalidBonusField*/
923
+ E[10] || /*isLoading*/
924
+ E[9]) && (p.disabled = f), /*invalidBonusCode*/
925
+ E[11] ? B ? B.p(E, T) : (B = fe(E), B.c(), B.m(u, null)) : B && (B.d(1), B = null), P === (P = F(E)) && I ? I.p(E, T) : (I.d(1), I = P(E), I && (I.c(), I.m(o, null))), /*bonusModal*/
926
+ E[19] ? z ? z.p(E, T) : (z = ve(E), z.c(), z.m(e, null)) : z && (z.d(1), z = null);
927
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);
928
+ i: oe,
929
+ o: oe,
930
+ d(E) {
931
+ E && N(e), w && w.d(), B && B.d(), I.d(), z && z.d(), n[42](null), U = !1, se(q);
932
932
  }
933
933
  };
934
934
  }
935
- let ao = "status=active", K = 6;
936
- function ro(o, e, n) {
935
+ let ln = "status=active", K = 6;
936
+ function un(n, e, o) {
937
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]);
938
+ Ge(n, Ze, (l) => o(20, i = l));
939
+ let { endpoint: t = "" } = e, { session: r = "" } = e, { playerid: a = "" } = e, { lang: c = "en" } = e, { currency: u = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: M } = e, { translationurl: A = "" } = e, { currencylocale: _ = "" } = e, { dateformat: h = "" } = e, { bonuscoderegex: C = "" } = e, { ishiddenwageringbonus: p = "false" } = e, { gmversion: g = "" } = e, d = !1, f, X, H = window.navigator.userAgent, J = Ue(H) !== "PC", U = !0, q = !1, w = "", B = 0, F = 0, P = 0, I = 0, z = 0, E = [], T, ie = "", ne = !1;
940
+ const ye = () => {
941
+ fetch(A).then((S) => S.json()).then((S) => {
942
+ Object.keys(S).forEach((O) => {
943
+ de(O, S[O]);
944
944
  });
945
- }).catch((z) => {
946
- console.log(z);
945
+ }).catch((S) => {
946
+ console.log(S);
947
947
  });
948
948
  };
949
- Object.keys(de).forEach((u) => {
950
- ue(u, de[u]);
949
+ Object.keys(ce).forEach((l) => {
950
+ de(l, ce[l]);
951
951
  });
952
- const ie = (u) => {
953
- if (u.data)
954
- switch (u.data.type) {
952
+ const ae = (l) => {
953
+ if (l.data)
954
+ switch (l.data.type) {
955
955
  case "DeleteActiveBonus":
956
- T = u.data.bonuswalletid, n(19, oe = !0);
956
+ ie = l.data.bonuswalletid, o(19, ne = !0);
957
957
  break;
958
958
  }
959
959
  };
960
- function ye(u, z) {
961
- return (...q) => {
962
- clearTimeout(A), A = setTimeout(
960
+ function he(l, S) {
961
+ return (...O) => {
962
+ clearTimeout(T), T = setTimeout(
963
963
  () => {
964
- u.apply(this, q);
964
+ l.apply(this, O);
965
965
  },
966
- z
966
+ S
967
967
  );
968
968
  };
969
969
  }
970
- const ae = () => {
970
+ const re = () => {
971
971
  window.postMessage(
972
972
  {
973
973
  type: "PlayerAccountMenuActive",
974
- isMobile: V
974
+ isMobile: J
975
975
  },
976
976
  window.location.href
977
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 = {
978
+ }, Ce = () => w ? C ? new RegExp(C).test(w) : !0 : !1, we = () => {
979
+ o(10, U = !Ce()), C && o(11, q = U);
980
+ }, Y = (l) => {
981
+ o(9, d = !0);
982
+ let S = {
983
983
  method: "GET",
984
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);
985
+ }, O = new URL(`${t}${g === "gm2" ? "/v1/bonus/granted" : `/v1/player/${a}/bonusWallet`}`);
986
+ O.searchParams.append("filter", ln), O.searchParams.append("pagination", `offset=${l},limit=${K}`), fetch(O, S).then((V) => V.json()).then(
987
+ (V) => {
988
+ Array.isArray(V.items) && (g === "gm2" ? V.items.forEach((k) => {
989
+ k.walletId = k.bonusWalletID, k.granted = k.grantedDate, k.expiryTime = k.expiryDate, k.currentAmount = k.remainingAmount, k.originalWageringRequirement = k.initialWagerRequirementAmount, k.fulfilledWR = k.initialWagerRequirementAmount - k.remainingWagerRequirementAmount, k.extension = { grantedPlayerCurrencyAmount: k.amount };
990
+ }) : V.items.forEach((k) => {
991
+ const $ = k?.extension?.bonus?.presentation;
992
+ $ && (k.termsandconditionsurl = $.url, k.termsandconditionsdescription = $.description, k.termsandconditionsasset = $.assets);
993
+ })), o(16, I = Math.ceil(V.total / K)), l - K >= 0 && o(13, B = l - K), l + K < V.total && o(14, F = l + K), o(15, P = (I - 1) * K), o(17, z = l / K), o(18, E = V?.items || []), _ && E.forEach((k) => {
994
+ k.fulfilledWR = x(k.fulfilledWR), k.originalWageringRequirement = x(k.originalWageringRequirement), k.currentAmount = x(k.currentAmount), k.extension.grantedPlayerCurrencyAmount = x(k.extension.grantedPlayerCurrencyAmount);
993
995
  }), window.scrollTo({ top: 0, behavior: "smooth" });
994
996
  },
995
- (J) => {
996
- console.error(J);
997
+ (V) => {
998
+ console.error(V);
997
999
  }
998
1000
  ).finally(() => {
999
- n(9, g = !1);
1001
+ o(9, d = !1);
1000
1002
  });
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 = {
1003
+ }, x = (l) => new Intl.NumberFormat(_, { style: "currency", currency: u }).format(l).replace(/\s/g, ""), Me = () => {
1004
+ o(9, d = !0);
1005
+ let l = new URL(`${t}${g === "gm2" ? "/v1/bonus/claim" : `/v1/player/${a}/claimbonus`}`), S;
1006
+ g === "gm2" ? S = {
1007
+ method: "PUT",
1008
+ headers: {
1009
+ "X-SessionId": r,
1010
+ accept: "application/json",
1011
+ "Content-Type": "application/json"
1012
+ },
1013
+ body: JSON.stringify({ bonusCode: w, currency: u })
1014
+ } : (S = {
1004
1015
  method: "POST",
1005
1016
  headers: {
1006
1017
  "X-SessionId": r,
1007
1018
  accept: "application/json"
1008
1019
  }
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(
1020
+ }, l.searchParams.append("currency", u), l.searchParams.append("bonusCode", w)), fetch(l.href, S).then((O) => {
1021
+ O.status == 200 ? (o(11, q = !1), Y(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
1012
1022
  {
1013
1023
  type: "WidgetNotification",
1014
1024
  data: {
@@ -1020,8 +1030,8 @@ function ro(o, e, n) {
1020
1030
  ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
1021
1031
  context: "PlayerActiveBonuses",
1022
1032
  userId: `${a || "Not logged in"}`,
1023
- bonusCode: `${S}`
1024
- })) : (n(11, G = !0), window.postMessage(
1033
+ bonusCode: `${w}`
1034
+ })) : (o(11, q = !0), window.postMessage(
1025
1035
  {
1026
1036
  type: "WidgetNotification",
1027
1037
  data: {
@@ -1032,104 +1042,105 @@ function ro(o, e, n) {
1032
1042
  window.location.href
1033
1043
  ));
1034
1044
  }).finally(() => {
1035
- n(9, g = !1);
1045
+ o(9, d = !1);
1036
1046
  });
1037
- }, re = () => {
1038
- window.postMessage({ type: "EnableScroll" }, window.location.href), n(19, oe = !1);
1039
- }, Me = () => {
1040
- let u = {
1047
+ }, le = () => {
1048
+ window.postMessage({ type: "EnableScroll" }, window.location.href), o(19, ne = !1);
1049
+ }, ke = () => {
1050
+ let l = {
1041
1051
  method: "DELETE",
1042
1052
  headers: {
1043
1053
  "X-SessionId": r,
1044
1054
  "Content-Type": "application/json",
1045
1055
  Accept: "application/json"
1046
1056
  }
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());
1057
+ }, S = new URL(`${t}${g === "gm2" ? "/v1/bonus/forfeit" : `/v1/player/${a}/bonusWallet`}`);
1058
+ S.searchParams.append("bonusWalletID", ie), fetch(S, l).then((O) => {
1059
+ O.status == 200 && (Y(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), le());
1050
1060
  });
1051
- }, ke = () => {
1052
- Ze(c);
1061
+ }, We = () => {
1062
+ Qe(c);
1053
1063
  };
1054
- function We(u) {
1055
- return ye(u, 1e3);
1064
+ function Ae(l) {
1065
+ return he(l, 1e3);
1056
1066
  }
1057
- Ue(() => (window.addEventListener("message", ie, !1), () => {
1058
- window.removeEventListener("message", ie);
1067
+ Ve(() => (window.addEventListener("message", ae, !1), () => {
1068
+ window.removeEventListener("message", ae);
1059
1069
  }));
1060
- const Ae = () => ae();
1061
- function Ee() {
1062
- S = this.value, n(12, S);
1070
+ const Ee = () => re();
1071
+ function Pe() {
1072
+ w = this.value, o(12, w);
1063
1073
  }
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);
1074
+ const Fe = () => Y(0), Se = () => Y(B), Ie = (l) => Y(l * K), ze = () => Y(F), Te = () => Y(P);
1075
+ function Le(l) {
1076
+ Xe[l ? "unshift" : "push"](() => {
1077
+ f = l, o(8, f);
1068
1078
  });
1069
1079
  }
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();
1080
+ return n.$$set = (l) => {
1081
+ "endpoint" in l && o(29, t = l.endpoint), "session" in l && o(30, r = l.session), "playerid" in l && o(31, a = l.playerid), "lang" in l && o(0, c = l.lang), "currency" in l && o(32, u = l.currency), "clientstyling" in l && o(1, b = l.clientstyling), "clientstylingurl" in l && o(2, y = l.clientstylingurl), "mbsource" in l && o(3, M = l.mbsource), "translationurl" in l && o(4, A = l.translationurl), "currencylocale" in l && o(5, _ = l.currencylocale), "dateformat" in l && o(6, h = l.dateformat), "bonuscoderegex" in l && o(33, C = l.bonuscoderegex), "ishiddenwageringbonus" in l && o(7, p = l.ishiddenwageringbonus), "gmversion" in l && o(34, g = l.gmversion);
1082
+ }, n.$$.update = () => {
1083
+ n.$$.dirty[0] & /*lang*/
1084
+ 1 && c && We(), n.$$.dirty[0] & /*session, endpoint*/
1085
+ 1610612736 | n.$$.dirty[1] & /*playerid*/
1086
+ 1 && r && a && t && Y(0), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1087
+ 258 && b && f && He(f, b), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1088
+ 260 && y && f && Je(f, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1089
+ 264 && M && f && Ye(f, `${M}.Style`, X), n.$$.dirty[0] & /*translationurl*/
1090
+ 16 && A && ye();
1081
1091
  }, [
1082
1092
  c,
1083
- f,
1093
+ b,
1084
1094
  y,
1085
- w,
1086
- k,
1095
+ M,
1096
+ A,
1087
1097
  _,
1088
1098
  h,
1089
1099
  p,
1090
- l,
1091
- g,
1092
- H,
1093
- G,
1094
- S,
1095
- W,
1096
- b,
1100
+ f,
1101
+ d,
1102
+ U,
1103
+ q,
1104
+ w,
1105
+ B,
1106
+ F,
1097
1107
  P,
1098
- E,
1099
1108
  I,
1100
- F,
1101
- oe,
1109
+ z,
1110
+ E,
1111
+ ne,
1102
1112
  i,
1103
- V,
1104
- ae,
1105
- Ce,
1106
- Y,
1107
- we,
1113
+ J,
1108
1114
  re,
1115
+ we,
1116
+ Y,
1109
1117
  Me,
1110
- We,
1118
+ le,
1119
+ ke,
1120
+ Ae,
1111
1121
  t,
1112
1122
  r,
1113
1123
  a,
1114
- d,
1124
+ u,
1115
1125
  C,
1116
- Ae,
1126
+ g,
1117
1127
  Ee,
1118
1128
  Pe,
1119
1129
  Fe,
1120
1130
  Se,
1121
1131
  Ie,
1122
1132
  ze,
1123
- Te
1133
+ Te,
1134
+ Le
1124
1135
  ];
1125
1136
  }
1126
- class lo extends Re {
1137
+ class dn extends je {
1127
1138
  constructor(e) {
1128
- super(), je(
1139
+ super(), qe(
1129
1140
  this,
1130
1141
  e,
1131
- ro,
1132
- io,
1142
+ un,
1143
+ rn,
1133
1144
  De,
1134
1145
  {
1135
1146
  endpoint: 29,
@@ -1144,9 +1155,10 @@ class lo extends Re {
1144
1155
  currencylocale: 5,
1145
1156
  dateformat: 6,
1146
1157
  bonuscoderegex: 33,
1147
- ishiddenwageringbonus: 7
1158
+ ishiddenwageringbonus: 7,
1159
+ gmversion: 34
1148
1160
  },
1149
- Qe,
1161
+ xe,
1150
1162
  [-1, -1]
1151
1163
  );
1152
1164
  }
@@ -1154,82 +1166,88 @@ class lo extends Re {
1154
1166
  return this.$$.ctx[29];
1155
1167
  }
1156
1168
  set endpoint(e) {
1157
- this.$$set({ endpoint: e }), O();
1169
+ this.$$set({ endpoint: e }), D();
1158
1170
  }
1159
1171
  get session() {
1160
1172
  return this.$$.ctx[30];
1161
1173
  }
1162
1174
  set session(e) {
1163
- this.$$set({ session: e }), O();
1175
+ this.$$set({ session: e }), D();
1164
1176
  }
1165
1177
  get playerid() {
1166
1178
  return this.$$.ctx[31];
1167
1179
  }
1168
1180
  set playerid(e) {
1169
- this.$$set({ playerid: e }), O();
1181
+ this.$$set({ playerid: e }), D();
1170
1182
  }
1171
1183
  get lang() {
1172
1184
  return this.$$.ctx[0];
1173
1185
  }
1174
1186
  set lang(e) {
1175
- this.$$set({ lang: e }), O();
1187
+ this.$$set({ lang: e }), D();
1176
1188
  }
1177
1189
  get currency() {
1178
1190
  return this.$$.ctx[32];
1179
1191
  }
1180
1192
  set currency(e) {
1181
- this.$$set({ currency: e }), O();
1193
+ this.$$set({ currency: e }), D();
1182
1194
  }
1183
1195
  get clientstyling() {
1184
1196
  return this.$$.ctx[1];
1185
1197
  }
1186
1198
  set clientstyling(e) {
1187
- this.$$set({ clientstyling: e }), O();
1199
+ this.$$set({ clientstyling: e }), D();
1188
1200
  }
1189
1201
  get clientstylingurl() {
1190
1202
  return this.$$.ctx[2];
1191
1203
  }
1192
1204
  set clientstylingurl(e) {
1193
- this.$$set({ clientstylingurl: e }), O();
1205
+ this.$$set({ clientstylingurl: e }), D();
1194
1206
  }
1195
1207
  get mbsource() {
1196
1208
  return this.$$.ctx[3];
1197
1209
  }
1198
1210
  set mbsource(e) {
1199
- this.$$set({ mbsource: e }), O();
1211
+ this.$$set({ mbsource: e }), D();
1200
1212
  }
1201
1213
  get translationurl() {
1202
1214
  return this.$$.ctx[4];
1203
1215
  }
1204
1216
  set translationurl(e) {
1205
- this.$$set({ translationurl: e }), O();
1217
+ this.$$set({ translationurl: e }), D();
1206
1218
  }
1207
1219
  get currencylocale() {
1208
1220
  return this.$$.ctx[5];
1209
1221
  }
1210
1222
  set currencylocale(e) {
1211
- this.$$set({ currencylocale: e }), O();
1223
+ this.$$set({ currencylocale: e }), D();
1212
1224
  }
1213
1225
  get dateformat() {
1214
1226
  return this.$$.ctx[6];
1215
1227
  }
1216
1228
  set dateformat(e) {
1217
- this.$$set({ dateformat: e }), O();
1229
+ this.$$set({ dateformat: e }), D();
1218
1230
  }
1219
1231
  get bonuscoderegex() {
1220
1232
  return this.$$.ctx[33];
1221
1233
  }
1222
1234
  set bonuscoderegex(e) {
1223
- this.$$set({ bonuscoderegex: e }), O();
1235
+ this.$$set({ bonuscoderegex: e }), D();
1224
1236
  }
1225
1237
  get ishiddenwageringbonus() {
1226
1238
  return this.$$.ctx[7];
1227
1239
  }
1228
1240
  set ishiddenwageringbonus(e) {
1229
- this.$$set({ ishiddenwageringbonus: e }), O();
1241
+ this.$$set({ ishiddenwageringbonus: e }), D();
1242
+ }
1243
+ get gmversion() {
1244
+ return this.$$.ctx[34];
1245
+ }
1246
+ set gmversion(e) {
1247
+ this.$$set({ gmversion: e }), D();
1230
1248
  }
1231
1249
  }
1232
- Je(lo, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {} }, [], [], !0);
1250
+ Ke(dn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {} }, [], [], !0);
1233
1251
  export {
1234
- lo as default
1252
+ dn as default
1235
1253
  };