@everymatrix/player-account-controller 1.68.0 → 1.69.2

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 (103) hide show
  1. package/components/{PlayerAccountController-BGIYoCkD.js → PlayerAccountController-C1jhz8iz.js} +2859 -2829
  2. package/components/{PlayerAccountController-BckipwcO.js → PlayerAccountController-DKzAloCz.js} +2864 -2834
  3. package/components/PlayerAccountController-DQEf6TPh.cjs +1 -0
  4. package/components/{PlayerAccountGamingLimits-BF1Dd_Yw.js → PlayerAccountGamingLimits-B0QALjVi.js} +1 -1
  5. package/components/{PlayerAccountGamingLimits-DZBzKFyv.cjs → PlayerAccountGamingLimits-BIXEO8qU.cjs} +1 -1
  6. package/components/{PlayerAccountGamingLimits-BKHRQo_P.js → PlayerAccountGamingLimits-C11On8aq.js} +1 -1
  7. package/components/PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js +4792 -0
  8. package/components/PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js +4792 -0
  9. package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +2 -0
  10. package/components/{PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs → PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs} +1 -1
  11. package/components/{PlayerAccountGamingLimitsInfoCard-BlMfsPqJ.js → PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js} +2 -2
  12. package/components/{PlayerAccountGamingLimitsInfoCard-BqsEfU1b.js → PlayerAccountGamingLimitsInfoCard-blI001Nx.js} +2 -2
  13. package/components/{PlayerAccountGamingLimitsPage2Gm16-D_gOt2wG.cjs → PlayerAccountGamingLimitsPage2Gm16-B8fTk_-o.cjs} +3 -3
  14. package/components/{PlayerAccountGamingLimitsPage2Gm16-C-xpYl-9.js → PlayerAccountGamingLimitsPage2Gm16-CrXrmOOR.js} +108 -114
  15. package/components/{PlayerAccountGamingLimitsPage2Gm16-DHrtbHzT.js → PlayerAccountGamingLimitsPage2Gm16-DGEsvVnD.js} +130 -136
  16. package/components/{PlayerAccountGamingLimitsWrapper2-CwscbjX3.cjs → PlayerAccountGamingLimitsWrapper2-C3JxPyTO.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimitsWrapper2-CfyD6xtV.js → PlayerAccountGamingLimitsWrapper2-CV9Ppspb.js} +1 -1
  18. package/components/{PlayerAccountGamingLimitsWrapper2-BCk1ujGX.js → PlayerAccountGamingLimitsWrapper2-QK_u6gkN.js} +1 -1
  19. package/components/PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs +1 -0
  20. package/components/{PlayerAccountGeneralConfirmationModal-lHX_vmhB.js → PlayerAccountGeneralConfirmationModal-DbBEBukz.js} +114 -119
  21. package/components/{PlayerAccountGeneralConfirmationModal-DQ7Oklqf.js → PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js} +114 -119
  22. package/components/{PlayerAccountMenu-BZnkRiU-.cjs → PlayerAccountMenu-Bc1xqfD5.cjs} +1 -1
  23. package/components/{PlayerAccountMenu-D4d9TQsD.js → PlayerAccountMenu-BfzPa4Td.js} +1 -1
  24. package/components/{PlayerAccountMenu-j3TA2Osb.js → PlayerAccountMenu-C1a12Lr9.js} +1 -1
  25. package/components/{PlayerAccountNotifications-f0A-2obd.js → PlayerAccountNotifications-CtpF-_nl.js} +1 -1
  26. package/components/{PlayerAccountNotifications-ejASOsrU.cjs → PlayerAccountNotifications-D8r2XtCv.cjs} +1 -1
  27. package/components/{PlayerAccountNotifications-CkbUxjuk.js → PlayerAccountNotifications-DhH9cLSi.js} +1 -1
  28. package/components/{PlayerAccountProductRestriction-D-EBC7dz.js → PlayerAccountProductRestriction-BqqmqIFv.js} +2147 -2158
  29. package/components/{PlayerAccountProductRestriction-BDO7zmmM.js → PlayerAccountProductRestriction-DXk8fZVl.js} +2135 -2146
  30. package/components/{PlayerAccountProductRestriction-BK1qKxhK.cjs → PlayerAccountProductRestriction-cB-XKLa3.cjs} +263 -263
  31. package/components/{PlayerAccountSelfExclusion-B1UJulje.js → PlayerAccountSelfExclusion-BwP1k1J1.js} +3 -3
  32. package/components/{PlayerAccountSelfExclusion-DNhGD82-.js → PlayerAccountSelfExclusion-C7osAw2S.js} +3 -3
  33. package/components/{PlayerAccountSelfExclusion-CBfJvzsw.cjs → PlayerAccountSelfExclusion-DnD8S8cP.cjs} +1 -1
  34. package/components/{PlayerAccountTimeout-CajByu4y.js → PlayerAccountTimeout-C3t3hMBv.js} +3 -3
  35. package/components/{PlayerAccountTimeout-Cs6kPeQE.cjs → PlayerAccountTimeout-C7stuQYF.cjs} +1 -1
  36. package/components/{PlayerAccountTimeout-C7TRf46n.js → PlayerAccountTimeout-DPijcv-j.js} +3 -3
  37. package/components/{PlayerAccountTransactionsHistory-DlxuOGYF.js → PlayerAccountTransactionsHistory-BdDeZqv4.js} +3 -3
  38. package/components/{PlayerAccountTransactionsHistory-BaakM7i6.js → PlayerAccountTransactionsHistory-Bq1HR2Zs.js} +3 -3
  39. package/components/{PlayerAccountTransactionsHistory-CXUQytDG.cjs → PlayerAccountTransactionsHistory-CCjDcfUg.cjs} +1 -1
  40. package/components/{PlayerActiveBonuses-DRc-ZvO7.js → PlayerActiveBonuses-CSDz-kWg.js} +489 -459
  41. package/components/{PlayerActiveBonuses-BbX2ugwN.js → PlayerActiveBonuses-CrOQdlJB.js} +492 -462
  42. package/components/PlayerActiveBonuses-wlP0A00N.cjs +1 -0
  43. package/components/PlayerBonusCard-BBQEU4zs.cjs +1 -0
  44. package/components/{PlayerBonusCard-CXbETnCF.js → PlayerBonusCard-Ca4GQeMu.js} +207 -191
  45. package/components/{PlayerBonusCard-6xOKi384.js → PlayerBonusCard-qHJ-z21x.js} +207 -191
  46. package/components/PlayerBonusHistory-CutjzsY9.js +1073 -0
  47. package/components/PlayerBonusHistory-Cwyo5GX1.cjs +1 -0
  48. package/components/PlayerBonusHistory-DTc1ryET.js +1062 -0
  49. package/components/{PlayerGamingHistory-AV5mZQlk.js → PlayerGamingHistory-BarHy4b8.js} +485 -431
  50. package/components/PlayerGamingHistory-CqcOOClH.cjs +1 -0
  51. package/components/{PlayerGamingHistory-BmwyIBJN.js → PlayerGamingHistory-hRGbv9h5.js} +508 -455
  52. package/components/{PlayerProfileInfo-lfogo592.js → PlayerProfileInfo-BLq56d0K.js} +1 -1
  53. package/components/{PlayerProfileInfo-DcmY9plr.cjs → PlayerProfileInfo-B_Ljin_V.cjs} +1 -1
  54. package/components/{PlayerProfileInfo-FeIk7zXc.js → PlayerProfileInfo-CNMMJLIu.js} +1 -1
  55. package/components/{PlayerRealityCheck-DMNAglZN.js → PlayerRealityCheck-4r0QyLS4.js} +1 -1
  56. package/components/{PlayerRealityCheck-BrVF76qp.cjs → PlayerRealityCheck-BjYYGdSA.cjs} +1 -1
  57. package/components/{PlayerRealityCheck-C2TUMl9-.js → PlayerRealityCheck-Ct9eoa4T.js} +1 -1
  58. package/es2015/player-account-controller.cjs +1 -1
  59. package/es2015/player-account-controller.js +1 -1
  60. package/esnext/player-account-controller.js +1 -1
  61. package/package.json +1 -1
  62. package/stencil/{checkbox-group-input_14-D0Wi9yCm.js → checkbox-group-input_14-BFSnZagr.js} +59 -39
  63. package/stencil/{checkbox-group-input_14-0MlabybW.js → checkbox-group-input_14-GLjTTxmH.js} +59 -39
  64. package/stencil/{checkbox-group-input_14-BUUOn-f1.cjs → checkbox-group-input_14-uRy46KSq.cjs} +117 -117
  65. package/stencil/{index-13661b98-wjpz7oVL.cjs → index-13661b98-4yXy6CPB.cjs} +1 -1
  66. package/stencil/{index-13661b98-Dd0kDfGP.js → index-13661b98-D2nlyS8e.js} +1 -1
  67. package/stencil/{index-13661b98-Vb11Gqfi.js → index-13661b98-DIbjgfzn.js} +1 -1
  68. package/stencil/{index-7c5e707a-C9R6jYpt.js → index-7c5e707a-2AC9SnQ7.js} +1 -1
  69. package/stencil/{index-7c5e707a-DvxqcEpc.js → index-7c5e707a-BM4sfR0h.js} +1 -1
  70. package/stencil/{index-7c5e707a-ESX_oqGB.cjs → index-7c5e707a-Cw-c3Bke.cjs} +1 -1
  71. package/stencil/{index-b2193545-Ct5AhxM8.cjs → index-b2193545-BabAkr0e.cjs} +1 -1
  72. package/stencil/{index-b2193545-DePry399.js → index-b2193545-BiOpH9En.js} +1 -1
  73. package/stencil/{index-b2193545-CnMZ4-Ff.js → index-b2193545-Ce-13pAo.js} +1 -1
  74. package/stencil/{pam-change-password-D23ISzqi.js → pam-change-password-BJkxTpcZ.js} +2 -2
  75. package/stencil/{pam-change-password-1_IegfkZ.cjs → pam-change-password-DBQlR2TU.cjs} +1 -1
  76. package/stencil/{pam-change-password-f4a1e7e7-Cxe8Atmr.js → pam-change-password-f4a1e7e7-BWQCkDNb.js} +1 -1
  77. package/stencil/{pam-change-password-f4a1e7e7-DzJmDiaX.js → pam-change-password-f4a1e7e7-C9NkOxiM.js} +1 -1
  78. package/stencil/{pam-change-password-f4a1e7e7-BqEyIcXD.cjs → pam-change-password-f4a1e7e7-D-bYL6gs.cjs} +1 -1
  79. package/stencil/{pam-change-password-BUGFXbZ2.js → pam-change-password-iLjG4ryi.js} +2 -2
  80. package/stencil/ui-skeleton-161699c3-B01ZhhJT.cjs +73 -0
  81. package/stencil/{ui-skeleton-1cb75d00-BI5A-j0y.js → ui-skeleton-161699c3-B6lE-0Wi.js} +61 -41
  82. package/stencil/{ui-skeleton-1cb75d00-CwDKR1VD.js → ui-skeleton-161699c3-D0o9EmS0.js} +61 -41
  83. package/stencil/{ui-skeleton-DoX-UmRU.js → ui-skeleton-B3VBr2Bz.js} +3 -3
  84. package/stencil/{ui-skeleton-C974aG7g.js → ui-skeleton-BENu4NGl.js} +3 -3
  85. package/stencil/{ui-skeleton-t0bb1jH7.cjs → ui-skeleton-DQD9osiT.cjs} +1 -1
  86. package/stencil/user-transaction-history-7_yFZr3w.js +1645 -0
  87. package/stencil/user-transaction-history-DZZT2rYX.cjs +1 -0
  88. package/stencil/user-transaction-history-Dpd_aKdj.js +1621 -0
  89. package/components/PlayerAccountController-DCe0-Np2.cjs +0 -1
  90. package/components/PlayerAccountGamingLimitsGroupEdit-B7O4IGQB.js +0 -2891
  91. package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +0 -1
  92. package/components/PlayerAccountGamingLimitsGroupEdit-DlaRG8Hg.js +0 -2891
  93. package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +0 -1
  94. package/components/PlayerActiveBonuses-Bc5S3wl_.cjs +0 -1
  95. package/components/PlayerBonusCard-BNNcjGWn.cjs +0 -1
  96. package/components/PlayerBonusHistory-DrdkliDU.cjs +0 -1
  97. package/components/PlayerBonusHistory-MuL66Q-z.js +0 -985
  98. package/components/PlayerBonusHistory-bApDQYer.js +0 -986
  99. package/components/PlayerGamingHistory-BDzbgOBi.cjs +0 -1
  100. package/stencil/ui-skeleton-1cb75d00-Batko5iK.cjs +0 -73
  101. package/stencil/user-transaction-history-BAK7MHHa.js +0 -374
  102. package/stencil/user-transaction-history-DhQ6RqNc.js +0 -350
  103. package/stencil/user-transaction-history-DiRXpfbN.cjs +0 -1
@@ -1,985 +0,0 @@
1
- import { a as Re, $ as je, S as qe, i as Oe, s as Ge, f as z, b as Ve, n as me, d as O, g as G, j as B, p as Ue, q as Ze, u as Ye, w as ie, c as te, e as s, h as d, l as K, k as E, m as I, o as f, v as ne, O as re, P as ve, r as Xe, F as we, x as Je, y as Ke, z as Qe, A as xe, B as $e } from "./GeneralLogout-CgxHUYZx.js";
2
- import "./PlayerActiveBonuses-BbX2ugwN.js";
3
- import "./PlayerAccountSelfExclusion-DNhGD82-.js";
4
- import { f as oe, s as en, a as nn, e as tn } from "./PlayerAccountGamingLimitsGroupEdit-DlaRG8Hg.js";
5
- function be(n, e) {
6
- Re(n, e);
7
- }
8
- function sn(n) {
9
- je.set(n);
10
- }
11
- const fe = {
12
- en: {
13
- titleBonusesHistory: "Bonus History",
14
- dateFrom: "From:",
15
- dateTo: "To:",
16
- dateFilter: "Filter",
17
- noBonusHistory: "You have no bonuses for the selected period."
18
- },
19
- "zh-hk": {
20
- titleBonusesHistory: "獎金歷史",
21
- dateFrom: "從:",
22
- dateTo: "至:",
23
- dateFilter: "篩選",
24
- noBonusHistory: "您目前沒有獎金歷史。"
25
- },
26
- fr: {
27
- titleBonusesHistory: "Historique du bonus",
28
- dateFrom: "De:",
29
- dateTo: "A:",
30
- dateFilter: "Filtre",
31
- noBonusHistory: "Vous n'avez pas d'historique de bonus pour le moment."
32
- },
33
- ro: {
34
- titleBonusesHistory: "Istoric bonusuri",
35
- dateFrom: "De la",
36
- dateTo: "La",
37
- dateFilter: "Filtru",
38
- noBonusHistory: "Nu ai bonusuri pentru perioada selectata."
39
- },
40
- es: {
41
- titleBonusesHistory: "Historial de Bonos",
42
- dateFrom: "Desde:",
43
- dateTo: "A:",
44
- dateFilter: "Filtro",
45
- noBonusHistory: "No tiene Bonos para el periodo seleccionado."
46
- },
47
- pt: {
48
- titleBonusesHistory: "Histórico de bônus",
49
- dateFrom: "A partir de:",
50
- dateTo: "Para:",
51
- dateFilter: "Filtro:",
52
- noBonusHistory: "Você não tem histórico de bônus no momento."
53
- },
54
- hr: {
55
- titleBonusesHistory: "Povijest bonusa",
56
- dateFrom: "Od:",
57
- dateTo: "Do:",
58
- dateFilter: "Filter",
59
- noBonusHistory: "Nemate bonusa u povijesti."
60
- },
61
- "pt-br": {
62
- titleBonusesHistory: "Histórico de bônus",
63
- dateFrom: "De:",
64
- dateTo: "PARA:",
65
- dateFilter: "Filtro",
66
- noBonusHistory: "Não há bônus para o período selecionado"
67
- },
68
- "es-mx": {
69
- titleBonusesHistory: "Historial de bonos",
70
- dateFrom: "De:",
71
- dateTo: "A:",
72
- dateFilter: "Filtro",
73
- noBonusHistory: "No tiene bonus para el periodo seleccionado"
74
- },
75
- tr: {
76
- titleBonusesHistory: "Bonus Geçmişi",
77
- dateFrom: "İtibaren:",
78
- dateTo: "İle:",
79
- dateFilter: "Filtre",
80
- noBonusHistory: "Seçilen dönem için bonusunuz yok."
81
- },
82
- "en-us": {
83
- titleBonusesHistory: "Bonus History",
84
- dateFrom: "From:",
85
- dateTo: "To:",
86
- dateFilter: "Filter",
87
- noBonusHistory: "You have no bonuses for the selected period."
88
- }
89
- };
90
- function an(n) {
91
- Ve(n, "svelte-1lo5ai1", ".BonusesWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--color-typography-cotrast, #444444);padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{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:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.BonusesTitleMobile{font-size:var(--emw--size-standard, 16px)}.BonusesTitleNone{display:none}.BonusCalendarWrapper{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusesCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%;border-radius:var(--emw--border-radius-large, 10px)}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:var(--emw--font-size-small, 14px);font-weight:300}.BonusesCalendarStartDate input,.BonusesCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-small, 5px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px;outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesCalendarFilter{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 10px);cursor:pointer;width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;outline:none}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%;height:44px}.BonusesCalendarFilter:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesCalendarFilter:disabled{background-image:none;background-color:var(--emw--button-disabled-text-color, #cccccc);color:var(--emw--button-disabled-text-color, #666);cursor:not-allowed;opacity:0.7;pointer-events:none;border:2px solid var(--emw--button-disabled-border-color, #aaaaaa)}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px;border-radius:var(--emw--border-radius-large, 10px)}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.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:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px;font-weight:var(--emw--font-weight-bold, 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-typography-cotrast, #444444);font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:var(--emw--font-weight-bold, 700)}");
92
- }
93
- function ge(n, e, t) {
94
- const o = n.slice();
95
- return o[52] = e[t], o[54] = t, o;
96
- }
97
- function ye(n, e, t) {
98
- const o = n.slice();
99
- return o[55] = e[t], o;
100
- }
101
- function on(n) {
102
- let e, t, o, a = (
103
- /*$_*/
104
- n[23]("titleBonusesHistory") + ""
105
- ), l, r, b, u, p, v, c = (
106
- /*$_*/
107
- n[23]("dateFrom") + ""
108
- ), m, k, C, P, w, L, N = (
109
- /*$_*/
110
- n[23]("dateTo") + ""
111
- ), T, D, y, h, F, _ = (
112
- /*$_*/
113
- n[23]("dateFilter") + ""
114
- ), j, Z, Q, V, x, $, ee, q = (
115
- /*isMobile*/
116
- n[24] && rn(n)
117
- );
118
- function se(g, H) {
119
- return (
120
- /*bonusesList*/
121
- g[19].length === 0 ? un : ln
122
- );
123
- }
124
- let X = se(n), S = X(n), M = (
125
- /*bonusesList*/
126
- n[19].length !== 0 && he(n)
127
- );
128
- return {
129
- c() {
130
- e = B("div"), q && q.c(), t = E(), o = B("h2"), l = I(a), r = E(), b = B("div"), u = B("div"), p = B("div"), v = B("label"), m = I(c), k = E(), C = B("vaadin-date-picker"), P = E(), w = B("div"), L = B("label"), T = I(N), D = E(), y = B("vaadin-date-picker"), h = E(), F = B("button"), j = I(_), Q = E(), V = B("div"), S.c(), x = E(), M && M.c(), f(o, "class", "BonusesTitle " + /*isMobile*/
131
- (n[24] ? "BonusesTitleNone" : "")), f(o, "part", "BonusesTitle " + /*isMobile*/
132
- (n[24] ? "BonusesTitleNone" : "")), f(v, "for", "BonusCalendarStartDate"), s(
133
- C,
134
- "max",
135
- /*today*/
136
- n[25]
137
- ), s(
138
- C,
139
- "value",
140
- /*bonusCalendarStartDate*/
141
- n[11]
142
- ), s(C, "placeholder", "From"), s(C, "class", "VaadinDatePicker"), f(p, "class", "BonusesCalendarStartDate " + /*isMobile*/
143
- (n[24] ? "BonusesCalendarMobile" : "")), f(L, "for", "BonusesCalendarEndDate"), s(
144
- y,
145
- "max",
146
- /*today*/
147
- n[25]
148
- ), s(
149
- y,
150
- "min",
151
- /*bonusCalendarStartDate*/
152
- n[11]
153
- ), s(
154
- y,
155
- "value",
156
- /*bonusCalendarEndDate*/
157
- n[12]
158
- ), s(y, "placeholder", "To"), s(y, "class", "VaadinDatePicker"), f(w, "class", "BonusesCalendarEndDate " + /*isMobile*/
159
- (n[24] ? "BonusesCalendarMobile" : "")), f(u, "class", "BonusesCalendarContainer " + /*isMobile*/
160
- (n[24] ? "BonusesCalendarContainerMobile" : "")), f(F, "class", "BonusesCalendarFilter " + /*isMobile*/
161
- (n[24] ? "BonusesCalendarFilterMobile" : "")), F.disabled = Z = !/*submitEnable*/
162
- n[13], f(b, "class", "BonusCalendarWrapper " + /*isMobile*/
163
- (n[24] ? "BonusCalendarWrapperMobile" : "")), f(V, "class", "BonusesGrid " + /*isMobile*/
164
- (n[24] ? "BonusesGridMobile" : "")), f(e, "class", "BonusesWrapper " + /*isMobile*/
165
- (n[24] ? "BonusesWrapperMobile" : ""));
166
- },
167
- m(g, H) {
168
- G(g, e, H), q && q.m(e, null), d(e, t), d(e, o), d(o, l), d(e, r), d(e, b), d(b, u), d(u, p), d(p, v), d(v, m), d(p, k), d(p, C), n[33](C), d(u, P), d(u, w), d(w, L), d(L, T), d(w, D), d(w, y), n[34](y), d(b, h), d(b, F), d(F, j), d(e, Q), d(e, V), S.m(V, null), d(e, x), M && M.m(e, null), $ || (ee = K(
169
- F,
170
- "click",
171
- /*click_handler_1*/
172
- n[35]
173
- ), $ = !0);
174
- },
175
- p(g, H) {
176
- /*isMobile*/
177
- g[24] && q.p(g, H), H[0] & /*$_*/
178
- 8388608 && a !== (a = /*$_*/
179
- g[23]("titleBonusesHistory") + "") && te(l, a), H[0] & /*$_*/
180
- 8388608 && c !== (c = /*$_*/
181
- g[23]("dateFrom") + "") && te(m, c), H[0] & /*bonusCalendarStartDate*/
182
- 2048 && s(
183
- C,
184
- "value",
185
- /*bonusCalendarStartDate*/
186
- g[11]
187
- ), H[0] & /*$_*/
188
- 8388608 && N !== (N = /*$_*/
189
- g[23]("dateTo") + "") && te(T, N), H[0] & /*bonusCalendarStartDate*/
190
- 2048 && s(
191
- y,
192
- "min",
193
- /*bonusCalendarStartDate*/
194
- g[11]
195
- ), H[0] & /*bonusCalendarEndDate*/
196
- 4096 && s(
197
- y,
198
- "value",
199
- /*bonusCalendarEndDate*/
200
- g[12]
201
- ), H[0] & /*$_*/
202
- 8388608 && _ !== (_ = /*$_*/
203
- g[23]("dateFilter") + "") && te(j, _), H[0] & /*submitEnable*/
204
- 8192 && Z !== (Z = !/*submitEnable*/
205
- g[13]) && (F.disabled = Z), X === (X = se(g)) && S ? S.p(g, H) : (S.d(1), S = X(g), S && (S.c(), S.m(V, null))), /*bonusesList*/
206
- g[19].length !== 0 ? M ? M.p(g, H) : (M = he(g), M.c(), M.m(e, null)) : M && (M.d(1), M = null);
207
- },
208
- d(g) {
209
- g && O(e), q && q.d(), n[33](null), n[34](null), S.d(), M && M.d(), $ = !1, ee();
210
- }
211
- };
212
- }
213
- function rn(n) {
214
- let e, t, o, a, l, r, b, u, p, v, c = (
215
- /*$_*/
216
- n[23]("titleBonusesHistory") + ""
217
- ), m, k, C;
218
- return {
219
- c() {
220
- e = B("div"), t = ne("svg"), o = ne("defs"), a = ne("style"), l = I(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), r = ne("g"), b = ne("g"), u = ne("path"), p = E(), v = B("h2"), m = I(c), f(u, "class", "aaa"), f(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), f(u, "transform", "translate(15 15) rotate(180)"), f(b, "transform", "translate(20 158)"), f(r, "transform", "translate(-20 -158)"), f(t, "xmlns", "http://www.w3.org/2000/svg"), f(t, "width", "15"), f(t, "height", "15"), f(t, "viewBox", "0 0 15 15"), f(v, "class", "BonusesTitleMobile"), f(e, "class", "MenuReturnButton");
221
- },
222
- m(P, w) {
223
- G(P, e, w), d(e, t), d(t, o), d(o, a), d(a, l), d(t, r), d(r, b), d(b, u), d(e, p), d(e, v), d(v, m), k || (C = K(
224
- e,
225
- "click",
226
- /*click_handler*/
227
- n[32]
228
- ), k = !0);
229
- },
230
- p(P, w) {
231
- w[0] & /*$_*/
232
- 8388608 && c !== (c = /*$_*/
233
- P[23]("titleBonusesHistory") + "") && te(m, c);
234
- },
235
- d(P) {
236
- P && O(e), k = !1, C();
237
- }
238
- };
239
- }
240
- function ln(n) {
241
- let e, t = re(
242
- /*bonusesList*/
243
- n[19]
244
- ), o = [];
245
- for (let a = 0; a < t.length; a += 1)
246
- o[a] = _e(ye(n, t, a));
247
- return {
248
- c() {
249
- for (let a = 0; a < o.length; a += 1)
250
- o[a].c();
251
- e = we();
252
- },
253
- m(a, l) {
254
- for (let r = 0; r < o.length; r += 1)
255
- o[r] && o[r].m(a, l);
256
- G(a, e, l);
257
- },
258
- p(a, l) {
259
- if (l[0] & /*termsandconditionsdescription, termsandconditionsurl, termsandconditionsasset, bonusesList, lang, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
260
- 7864479) {
261
- t = re(
262
- /*bonusesList*/
263
- a[19]
264
- );
265
- let r;
266
- for (r = 0; r < t.length; r += 1) {
267
- const b = ye(a, t, r);
268
- o[r] ? o[r].p(b, l) : (o[r] = _e(b), o[r].c(), o[r].m(e.parentNode, e));
269
- }
270
- for (; r < o.length; r += 1)
271
- o[r].d(1);
272
- o.length = t.length;
273
- }
274
- },
275
- d(a) {
276
- a && O(e), ve(o, a);
277
- }
278
- };
279
- }
280
- function un(n) {
281
- let e, t = (
282
- /*$_*/
283
- n[23]("noBonusHistory") + ""
284
- ), o;
285
- return {
286
- c() {
287
- e = B("p"), o = I(t);
288
- },
289
- m(a, l) {
290
- G(a, e, l), d(e, o);
291
- },
292
- p(a, l) {
293
- l[0] & /*$_*/
294
- 8388608 && t !== (t = /*$_*/
295
- a[23]("noBonusHistory") + "") && te(o, t);
296
- },
297
- d(a) {
298
- a && O(e);
299
- }
300
- };
301
- }
302
- function dn(n) {
303
- let e, t, o, a, l, r, b, u, p, v;
304
- return {
305
- c() {
306
- e = B("player-bonus-card"), s(
307
- e,
308
- "termsandconditionsdescription",
309
- /*termsandconditionsdescription*/
310
- n[22]
311
- ), s(
312
- e,
313
- "termsandconditionsurl",
314
- /*termsandconditionsurl*/
315
- n[20]
316
- ), s(
317
- e,
318
- "termsandconditionsasset",
319
- /*termsandconditionsasset*/
320
- n[21]
321
- ), s(e, "bonuswalletid", t = /*bonus*/
322
- n[55].walletId), s(e, "bonusdate", o = /*bonus*/
323
- n[55].granted), s(e, "bonusstatus", a = /*bonus*/
324
- n[55].status), s(e, "bonusname", l = /*bonus*/
325
- n[55].name), s(e, "bonustype", r = /*bonus*/
326
- n[55].type), s(e, "bonusamount", b = /*bonus*/
327
- n[55].extension.grantedPlayerCurrencyAmount), s(e, "bonuswageringamount", u = `${/*bonus*/
328
- n[55].fulfilledWR} / ${/*bonus*/
329
- n[55].originalWageringRequirement}`), s(e, "bonusremainingamount", p = /*bonus*/
330
- n[55].currentAmount), s(e, "bonuscurrency", v = /*bonus*/
331
- n[55].currency), s(
332
- e,
333
- "lang",
334
- /*lang*/
335
- n[0]
336
- ), s(
337
- e,
338
- "clientstyling",
339
- /*clientstyling*/
340
- n[1]
341
- ), s(
342
- e,
343
- "clientstylingurl",
344
- /*clientstylingurl*/
345
- n[2]
346
- ), s(
347
- e,
348
- "mbsource",
349
- /*mbsource*/
350
- n[3]
351
- ), s(
352
- e,
353
- "translationurl",
354
- /*translationurl*/
355
- n[4]
356
- ), s(
357
- e,
358
- "currencylocale",
359
- /*currencylocale*/
360
- n[7]
361
- );
362
- },
363
- m(c, m) {
364
- G(c, e, m);
365
- },
366
- p(c, m) {
367
- m[0] & /*termsandconditionsdescription*/
368
- 4194304 && s(
369
- e,
370
- "termsandconditionsdescription",
371
- /*termsandconditionsdescription*/
372
- c[22]
373
- ), m[0] & /*termsandconditionsurl*/
374
- 1048576 && s(
375
- e,
376
- "termsandconditionsurl",
377
- /*termsandconditionsurl*/
378
- c[20]
379
- ), m[0] & /*termsandconditionsasset*/
380
- 2097152 && s(
381
- e,
382
- "termsandconditionsasset",
383
- /*termsandconditionsasset*/
384
- c[21]
385
- ), m[0] & /*bonusesList*/
386
- 524288 && t !== (t = /*bonus*/
387
- c[55].walletId) && s(e, "bonuswalletid", t), m[0] & /*bonusesList*/
388
- 524288 && o !== (o = /*bonus*/
389
- c[55].granted) && s(e, "bonusdate", o), m[0] & /*bonusesList*/
390
- 524288 && a !== (a = /*bonus*/
391
- c[55].status) && s(e, "bonusstatus", a), m[0] & /*bonusesList*/
392
- 524288 && l !== (l = /*bonus*/
393
- c[55].name) && s(e, "bonusname", l), m[0] & /*bonusesList*/
394
- 524288 && r !== (r = /*bonus*/
395
- c[55].type) && s(e, "bonustype", r), m[0] & /*bonusesList*/
396
- 524288 && b !== (b = /*bonus*/
397
- c[55].extension.grantedPlayerCurrencyAmount) && s(e, "bonusamount", b), m[0] & /*bonusesList*/
398
- 524288 && u !== (u = `${/*bonus*/
399
- c[55].fulfilledWR} / ${/*bonus*/
400
- c[55].originalWageringRequirement}`) && s(e, "bonuswageringamount", u), m[0] & /*bonusesList*/
401
- 524288 && p !== (p = /*bonus*/
402
- c[55].currentAmount) && s(e, "bonusremainingamount", p), m[0] & /*bonusesList*/
403
- 524288 && v !== (v = /*bonus*/
404
- c[55].currency) && s(e, "bonuscurrency", v), m[0] & /*lang*/
405
- 1 && s(
406
- e,
407
- "lang",
408
- /*lang*/
409
- c[0]
410
- ), m[0] & /*clientstyling*/
411
- 2 && s(
412
- e,
413
- "clientstyling",
414
- /*clientstyling*/
415
- c[1]
416
- ), m[0] & /*clientstylingurl*/
417
- 4 && s(
418
- e,
419
- "clientstylingurl",
420
- /*clientstylingurl*/
421
- c[2]
422
- ), m[0] & /*mbsource*/
423
- 8 && s(
424
- e,
425
- "mbsource",
426
- /*mbsource*/
427
- c[3]
428
- ), m[0] & /*translationurl*/
429
- 16 && s(
430
- e,
431
- "translationurl",
432
- /*translationurl*/
433
- c[4]
434
- ), m[0] & /*currencylocale*/
435
- 128 && s(
436
- e,
437
- "currencylocale",
438
- /*currencylocale*/
439
- c[7]
440
- );
441
- },
442
- d(c) {
443
- c && O(e);
444
- }
445
- };
446
- }
447
- function cn(n) {
448
- let e, t, o, a, l, r, b;
449
- return {
450
- c() {
451
- e = B("player-bonus-card"), s(
452
- e,
453
- "termsandconditionsdescription",
454
- /*termsandconditionsdescription*/
455
- n[22]
456
- ), s(
457
- e,
458
- "termsandconditionsurl",
459
- /*termsandconditionsurl*/
460
- n[20]
461
- ), s(
462
- e,
463
- "termsandconditionsasset",
464
- /*termsandconditionsasset*/
465
- n[21]
466
- ), s(e, "bonuswalletid", t = /*bonus*/
467
- n[55].walletId), s(e, "bonusdate", o = /*bonus*/
468
- n[55].granted), s(e, "bonusstatus", a = /*bonus*/
469
- n[55].status), s(e, "bonusname", l = /*bonus*/
470
- n[55].name), s(e, "bonustype", r = /*bonus*/
471
- n[55].type), s(e, "bonuscurrency", b = /*bonus*/
472
- n[55].currency), s(
473
- e,
474
- "lang",
475
- /*lang*/
476
- n[0]
477
- ), s(
478
- e,
479
- "clientstyling",
480
- /*clientstyling*/
481
- n[1]
482
- ), s(
483
- e,
484
- "clientstylingurl",
485
- /*clientstylingurl*/
486
- n[2]
487
- ), s(
488
- e,
489
- "mbsource",
490
- /*mbsource*/
491
- n[3]
492
- ), s(
493
- e,
494
- "translationurl",
495
- /*translationurl*/
496
- n[4]
497
- ), s(
498
- e,
499
- "currencylocale",
500
- /*currencylocale*/
501
- n[7]
502
- );
503
- },
504
- m(u, p) {
505
- G(u, e, p);
506
- },
507
- p(u, p) {
508
- p[0] & /*termsandconditionsdescription*/
509
- 4194304 && s(
510
- e,
511
- "termsandconditionsdescription",
512
- /*termsandconditionsdescription*/
513
- u[22]
514
- ), p[0] & /*termsandconditionsurl*/
515
- 1048576 && s(
516
- e,
517
- "termsandconditionsurl",
518
- /*termsandconditionsurl*/
519
- u[20]
520
- ), p[0] & /*termsandconditionsasset*/
521
- 2097152 && s(
522
- e,
523
- "termsandconditionsasset",
524
- /*termsandconditionsasset*/
525
- u[21]
526
- ), p[0] & /*bonusesList*/
527
- 524288 && t !== (t = /*bonus*/
528
- u[55].walletId) && s(e, "bonuswalletid", t), p[0] & /*bonusesList*/
529
- 524288 && o !== (o = /*bonus*/
530
- u[55].granted) && s(e, "bonusdate", o), p[0] & /*bonusesList*/
531
- 524288 && a !== (a = /*bonus*/
532
- u[55].status) && s(e, "bonusstatus", a), p[0] & /*bonusesList*/
533
- 524288 && l !== (l = /*bonus*/
534
- u[55].name) && s(e, "bonusname", l), p[0] & /*bonusesList*/
535
- 524288 && r !== (r = /*bonus*/
536
- u[55].type) && s(e, "bonustype", r), p[0] & /*bonusesList*/
537
- 524288 && b !== (b = /*bonus*/
538
- u[55].currency) && s(e, "bonuscurrency", b), p[0] & /*lang*/
539
- 1 && s(
540
- e,
541
- "lang",
542
- /*lang*/
543
- u[0]
544
- ), p[0] & /*clientstyling*/
545
- 2 && s(
546
- e,
547
- "clientstyling",
548
- /*clientstyling*/
549
- u[1]
550
- ), p[0] & /*clientstylingurl*/
551
- 4 && s(
552
- e,
553
- "clientstylingurl",
554
- /*clientstylingurl*/
555
- u[2]
556
- ), p[0] & /*mbsource*/
557
- 8 && s(
558
- e,
559
- "mbsource",
560
- /*mbsource*/
561
- u[3]
562
- ), p[0] & /*translationurl*/
563
- 16 && s(
564
- e,
565
- "translationurl",
566
- /*translationurl*/
567
- u[4]
568
- ), p[0] & /*currencylocale*/
569
- 128 && s(
570
- e,
571
- "currencylocale",
572
- /*currencylocale*/
573
- u[7]
574
- );
575
- },
576
- d(u) {
577
- u && O(e);
578
- }
579
- };
580
- }
581
- function _e(n) {
582
- let e;
583
- function t(l, r) {
584
- return (
585
- /*bonus*/
586
- l[55].type === "freeRound" ? cn : dn
587
- );
588
- }
589
- let o = t(n), a = o(n);
590
- return {
591
- c() {
592
- a.c(), e = we();
593
- },
594
- m(l, r) {
595
- a.m(l, r), G(l, e, r);
596
- },
597
- p(l, r) {
598
- o === (o = t(l)) && a ? a.p(l, r) : (a.d(1), a = o(l), a && (a.c(), a.m(e.parentNode, e)));
599
- },
600
- d(l) {
601
- l && O(e), a.d(l);
602
- }
603
- };
604
- }
605
- function he(n) {
606
- let e, t, o, a, l, r, b, u, p, v, c, m, k, C, P, w, L, N, T, D = re(Array(
607
- /*numberOfPages*/
608
- n[17]
609
- )), y = [];
610
- for (let h = 0; h < D.length; h += 1)
611
- y[h] = Be(ge(n, D, h));
612
- return {
613
- c() {
614
- e = B("div"), t = B("span"), o = I("|<"), l = E(), r = B("span"), b = I("<"), p = E();
615
- for (let h = 0; h < y.length; h += 1)
616
- y[h].c();
617
- v = E(), c = B("span"), m = I(">"), C = E(), P = B("span"), w = I(">|"), f(t, "class", a = "BonusesFirst " + /*currentPage*/
618
- (n[18] === 0 ? "Inactive" : "")), f(r, "class", u = "BonusesPrev " + /*currentPage*/
619
- (n[18] === 0 ? "Inactive" : "")), f(c, "class", k = "BonusesNext " + /*currentPage*/
620
- (n[18] === /*numberOfPages*/
621
- n[17] - 1 ? "Inactive" : "")), f(P, "class", L = "BonusesLast " + /*currentPage*/
622
- (n[18] === /*numberOfPages*/
623
- n[17] - 1 ? "Inactive" : "")), f(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
624
- (n[24] ? "BonusesPaginationWrapperMobile" : ""));
625
- },
626
- m(h, F) {
627
- G(h, e, F), d(e, t), d(t, o), d(e, l), d(e, r), d(r, b), d(e, p);
628
- for (let _ = 0; _ < y.length; _ += 1)
629
- y[_] && y[_].m(e, null);
630
- d(e, v), d(e, c), d(c, m), d(e, C), d(e, P), d(P, w), N || (T = [
631
- K(
632
- t,
633
- "click",
634
- /*click_handler_2*/
635
- n[36]
636
- ),
637
- K(
638
- r,
639
- "click",
640
- /*click_handler_3*/
641
- n[37]
642
- ),
643
- K(
644
- c,
645
- "click",
646
- /*click_handler_5*/
647
- n[39]
648
- ),
649
- K(
650
- P,
651
- "click",
652
- /*click_handler_6*/
653
- n[40]
654
- )
655
- ], N = !0);
656
- },
657
- p(h, F) {
658
- if (F[0] & /*currentPage*/
659
- 262144 && a !== (a = "BonusesFirst " + /*currentPage*/
660
- (h[18] === 0 ? "Inactive" : "")) && f(t, "class", a), F[0] & /*currentPage*/
661
- 262144 && u !== (u = "BonusesPrev " + /*currentPage*/
662
- (h[18] === 0 ? "Inactive" : "")) && f(r, "class", u), F[0] & /*currentPage, getBonuses, bonushistorystatus, bonushistorytype, numberOfPages*/
663
- 134611040) {
664
- D = re(Array(
665
- /*numberOfPages*/
666
- h[17]
667
- ));
668
- let _;
669
- for (_ = 0; _ < D.length; _ += 1) {
670
- const j = ge(h, D, _);
671
- y[_] ? y[_].p(j, F) : (y[_] = Be(j), y[_].c(), y[_].m(e, v));
672
- }
673
- for (; _ < y.length; _ += 1)
674
- y[_].d(1);
675
- y.length = D.length;
676
- }
677
- F[0] & /*currentPage, numberOfPages*/
678
- 393216 && k !== (k = "BonusesNext " + /*currentPage*/
679
- (h[18] === /*numberOfPages*/
680
- h[17] - 1 ? "Inactive" : "")) && f(c, "class", k), F[0] & /*currentPage, numberOfPages*/
681
- 393216 && L !== (L = "BonusesLast " + /*currentPage*/
682
- (h[18] === /*numberOfPages*/
683
- h[17] - 1 ? "Inactive" : "")) && f(P, "class", L);
684
- },
685
- d(h) {
686
- h && O(e), ve(y, h), N = !1, Xe(T);
687
- }
688
- };
689
- }
690
- function Be(n) {
691
- let e, t = (
692
- /*i*/
693
- n[54] + 1 + ""
694
- ), o, a, l, r;
695
- function b() {
696
- return (
697
- /*click_handler_4*/
698
- n[38](
699
- /*i*/
700
- n[54]
701
- )
702
- );
703
- }
704
- return {
705
- c() {
706
- e = B("span"), o = I(t), f(e, "class", a = "BonusesPage " + /*i*/
707
- (n[54] === /*currentPage*/
708
- n[18] ? "BonusPageActive" : ""));
709
- },
710
- m(u, p) {
711
- G(u, e, p), d(e, o), l || (r = K(e, "click", b), l = !0);
712
- },
713
- p(u, p) {
714
- n = u, p[0] & /*currentPage*/
715
- 262144 && a !== (a = "BonusesPage " + /*i*/
716
- (n[54] === /*currentPage*/
717
- n[18] ? "BonusPageActive" : "")) && f(e, "class", a);
718
- },
719
- d(u) {
720
- u && O(e), l = !1, r();
721
- }
722
- };
723
- }
724
- function pn(n) {
725
- let e;
726
- function t(l, r) {
727
- return on;
728
- }
729
- let a = t()(n);
730
- return {
731
- c() {
732
- e = B("div"), a.c();
733
- },
734
- m(l, r) {
735
- G(l, e, r), a.m(e, null), n[41](e);
736
- },
737
- p(l, r) {
738
- a.p(l, r);
739
- },
740
- i: me,
741
- o: me,
742
- d(l) {
743
- l && O(e), a.d(), n[41](null);
744
- }
745
- };
746
- }
747
- let U = 6;
748
- function mn(n, e, t) {
749
- let o;
750
- Ue(n, $e, (i) => t(23, o = i));
751
- let { endpoint: a = "" } = e, { session: l = "" } = e, { playerid: r = "" } = e, { lang: b = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: p = "" } = e, { mbsource: v } = e, { translationurl: c = "" } = e, { bonushistorystatus: m = "" } = e, { bonushistorytype: k = "" } = e, { currencylocale: C = "" } = e, { currency: P = "" } = e, w, L = window.navigator.userAgent, N = Ze(L) !== "PC", T, D;
752
- const y = oe(/* @__PURE__ */ new Date(), "yyyy-MM-dd");
753
- let F = oe(en(/* @__PURE__ */ new Date(), 3), "yyyy-MM-dd"), _ = y, j = !0, Z = 0, Q = 0, V = 0, x = 0, $ = 0, ee = [], q = "", se = "", X = "";
754
- const S = () => {
755
- fetch(c).then((W) => W.json()).then((W) => {
756
- Object.keys(W).forEach((ae) => {
757
- be(ae, W[ae]);
758
- });
759
- }).catch((W) => {
760
- console.log(W);
761
- });
762
- };
763
- Object.keys(fe).forEach((i) => {
764
- be(i, fe[i]);
765
- });
766
- const M = () => {
767
- window.postMessage(
768
- {
769
- type: "PlayerAccountMenuActive",
770
- isMobile: N
771
- },
772
- window.location.href
773
- );
774
- }, g = (i, W, ae) => {
775
- let le = new URL(`${a}/v1/player/${r}/bonusWallet`), Ie = oe(nn(new Date(F)), "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"), Le = oe(tn(new Date(_)), "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"), J = "", ce = "", pe = "";
776
- W && (ce = W.split(",").map((Y) => `status=${Y}`).join(","), J = J + ce + ","), ae && (pe = ae.split(",").map((Y) => `type=${Y}`).join(","), J = J + pe + ","), J = J + `granted=[${Ie}~${Le}]`, le.searchParams.append("filter", J), le.searchParams.append("pagination", `offset=${i},limit=${U}`);
777
- let Ne = {
778
- method: "GET",
779
- headers: { "X-SessionId": l }
780
- };
781
- fetch(le.href, Ne).then((R) => R.json()).then(
782
- (R) => {
783
- Array.isArray(R.items) && R.items.forEach((A) => {
784
- const Y = A?.extension?.bonus?.presentation;
785
- Y && (t(20, q = Y.url), t(22, X = Y.description), t(21, se = Y.assets));
786
- }), t(17, x = Math.ceil(R.total / U)), i - U >= 0 && t(14, Z = i - U), i + U < R.total && t(15, Q = i + U), t(16, V = (x - 1) * U), t(18, $ = i / U), t(19, ee = R?.items || []), C && ee.forEach((A) => {
787
- A.fulfilledWR = H(A.fulfilledWR), A.originalWageringRequirement = H(A.originalWageringRequirement), A.currentAmount = H(A.currentAmount), A.extension.grantedPlayerCurrencyAmount = H(A.extension.grantedPlayerCurrencyAmount);
788
- });
789
- },
790
- (R) => {
791
- console.error(R);
792
- }
793
- ), window.postMessage({ type: "ScrollToTop" }, window.location.href);
794
- }, H = (i) => new Intl.NumberFormat(C, { style: "currency", currency: P }).format(i).replace(/\s/g, ""), ue = (i) => {
795
- t(11, F = i.target.value);
796
- }, de = (i) => {
797
- t(12, _ = i.target.value);
798
- }, Fe = () => {
799
- const i = new Date(F), W = new Date(_);
800
- i.getTime() > W.getTime() ? t(13, j = !1) : t(13, j = !0);
801
- }, ke = () => {
802
- T.addEventListener("change", ue, !1), D.addEventListener("change", de, !1);
803
- };
804
- Ye(() => () => {
805
- T.removeEventListener("change", ue), D.removeEventListener("change", de);
806
- });
807
- const Ce = () => {
808
- sn(b);
809
- }, Pe = () => M();
810
- function He(i) {
811
- ie[i ? "unshift" : "push"](() => {
812
- T = i, t(9, T);
813
- });
814
- }
815
- function Me(i) {
816
- ie[i ? "unshift" : "push"](() => {
817
- D = i, t(10, D);
818
- });
819
- }
820
- const De = () => g(0, m, k), Te = () => g(0, m, k), Ee = () => g(Z, m, k), Se = (i) => g(i * U, m, k), We = () => g(Q, m, k), Ae = () => g(V, m, k);
821
- function ze(i) {
822
- ie[i ? "unshift" : "push"](() => {
823
- w = i, t(8, w);
824
- });
825
- }
826
- return n.$$set = (i) => {
827
- "endpoint" in i && t(28, a = i.endpoint), "session" in i && t(29, l = i.session), "playerid" in i && t(30, r = i.playerid), "lang" in i && t(0, b = i.lang), "clientstyling" in i && t(1, u = i.clientstyling), "clientstylingurl" in i && t(2, p = i.clientstylingurl), "mbsource" in i && t(3, v = i.mbsource), "translationurl" in i && t(4, c = i.translationurl), "bonushistorystatus" in i && t(5, m = i.bonushistorystatus), "bonushistorytype" in i && t(6, k = i.bonushistorytype), "currencylocale" in i && t(7, C = i.currencylocale), "currency" in i && t(31, P = i.currency);
828
- }, n.$$.update = () => {
829
- n.$$.dirty[0] & /*lang*/
830
- 1 && b && Ce(), n.$$.dirty[0] & /*startCalendar, endCalendar*/
831
- 1536 && T && D && ke(), n.$$.dirty[0] & /*bonusCalendarStartDate, bonusCalendarEndDate*/
832
- 6144 && F && _ && Fe(), n.$$.dirty[0] & /*session, playerid, endpoint, bonushistorystatus, bonushistorytype*/
833
- 1879048288 && l && r && a && g(0, m, k), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
834
- 258 && u && w && Je(w, u), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
835
- 260 && p && w && Ke(w, p), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
836
- 264 && v && w && Qe(w, `${v}.Style`), n.$$.dirty[0] & /*translationurl*/
837
- 16 && c && S();
838
- }, [
839
- b,
840
- u,
841
- p,
842
- v,
843
- c,
844
- m,
845
- k,
846
- C,
847
- w,
848
- T,
849
- D,
850
- F,
851
- _,
852
- j,
853
- Z,
854
- Q,
855
- V,
856
- x,
857
- $,
858
- ee,
859
- q,
860
- se,
861
- X,
862
- o,
863
- N,
864
- y,
865
- M,
866
- g,
867
- a,
868
- l,
869
- r,
870
- P,
871
- Pe,
872
- He,
873
- Me,
874
- De,
875
- Te,
876
- Ee,
877
- Se,
878
- We,
879
- Ae,
880
- ze
881
- ];
882
- }
883
- class bn extends qe {
884
- constructor(e) {
885
- super(), Oe(
886
- this,
887
- e,
888
- mn,
889
- pn,
890
- Ge,
891
- {
892
- endpoint: 28,
893
- session: 29,
894
- playerid: 30,
895
- lang: 0,
896
- clientstyling: 1,
897
- clientstylingurl: 2,
898
- mbsource: 3,
899
- translationurl: 4,
900
- bonushistorystatus: 5,
901
- bonushistorytype: 6,
902
- currencylocale: 7,
903
- currency: 31
904
- },
905
- an,
906
- [-1, -1]
907
- );
908
- }
909
- get endpoint() {
910
- return this.$$.ctx[28];
911
- }
912
- set endpoint(e) {
913
- this.$$set({ endpoint: e }), z();
914
- }
915
- get session() {
916
- return this.$$.ctx[29];
917
- }
918
- set session(e) {
919
- this.$$set({ session: e }), z();
920
- }
921
- get playerid() {
922
- return this.$$.ctx[30];
923
- }
924
- set playerid(e) {
925
- this.$$set({ playerid: e }), z();
926
- }
927
- get lang() {
928
- return this.$$.ctx[0];
929
- }
930
- set lang(e) {
931
- this.$$set({ lang: e }), z();
932
- }
933
- get clientstyling() {
934
- return this.$$.ctx[1];
935
- }
936
- set clientstyling(e) {
937
- this.$$set({ clientstyling: e }), z();
938
- }
939
- get clientstylingurl() {
940
- return this.$$.ctx[2];
941
- }
942
- set clientstylingurl(e) {
943
- this.$$set({ clientstylingurl: e }), z();
944
- }
945
- get mbsource() {
946
- return this.$$.ctx[3];
947
- }
948
- set mbsource(e) {
949
- this.$$set({ mbsource: e }), z();
950
- }
951
- get translationurl() {
952
- return this.$$.ctx[4];
953
- }
954
- set translationurl(e) {
955
- this.$$set({ translationurl: e }), z();
956
- }
957
- get bonushistorystatus() {
958
- return this.$$.ctx[5];
959
- }
960
- set bonushistorystatus(e) {
961
- this.$$set({ bonushistorystatus: e }), z();
962
- }
963
- get bonushistorytype() {
964
- return this.$$.ctx[6];
965
- }
966
- set bonushistorytype(e) {
967
- this.$$set({ bonushistorytype: e }), z();
968
- }
969
- get currencylocale() {
970
- return this.$$.ctx[7];
971
- }
972
- set currencylocale(e) {
973
- this.$$set({ currencylocale: e }), z();
974
- }
975
- get currency() {
976
- return this.$$.ctx[31];
977
- }
978
- set currency(e) {
979
- this.$$set({ currency: e }), z();
980
- }
981
- }
982
- xe(bn, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, bonushistorystatus: {}, bonushistorytype: {}, currencylocale: {}, currency: {} }, [], [], !0);
983
- export {
984
- bn as default
985
- };