@everymatrix/player-account-controller-nd 1.45.0 → 1.45.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.
- package/components/{GeneralLogout-Dur72yyv.js → GeneralLogout-DI0_2Ld2.js} +245 -245
- package/components/{GeneralLogout-WbaN9lE3.cjs → GeneralLogout-bc8vhI_H.cjs} +5 -5
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +1 -0
- package/components/PlayerAccountBettingHistory-p8-C5d_q.js +328 -0
- package/components/PlayerAccountBiometrics-36-jzvmv.js +300 -0
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +1 -0
- package/components/PlayerAccountClosureNd-DWE1BQjS.cjs +1 -0
- package/components/PlayerAccountClosureNd-DpV3ccPJ.js +339 -0
- package/components/PlayerAccountControllerNd-B2whVamd.cjs +1 -0
- package/components/{PlayerAccountControllerNd-DCbqnbg6.js → PlayerAccountControllerNd-Cn1L8BfZ.js} +2011 -2011
- package/components/{PlayerAccountGamingLimits-C2xXDjZV.js → PlayerAccountGamingLimits-X6i1dxNz.js} +183 -183
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-_s70hpGn.js +306 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-DmQ9XuZB.js → PlayerAccountGamingLimitsGroupEdit-BQ82HYJY.js} +966 -966
- package/components/PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsHistory2-_p2IXses.cjs → PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-fOH4qSJR.js → PlayerAccountGamingLimitsHistory2-BkYPsgPu.js} +1 -1
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-DTrLCGCx.js → PlayerAccountGamingLimitsInfoCard-DQkGickX.js} +351 -351
- package/components/PlayerAccountGamingLimitsPage2Gm16-DSOYjGfv.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-1ZR10Ej8.js → PlayerAccountGamingLimitsPage2Gm16-DoQKbVDC.js} +851 -851
- package/components/{PlayerAccountGamingLimitsPopup-Bss_FRfq.js → PlayerAccountGamingLimitsPopup-BRVwX_uG.js} +79 -77
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DqM8a5cp.js → PlayerAccountGamingLimitsWrapper2Nd-Bww6zBy7.js} +140 -140
- package/components/PlayerAccountGamingLimitsWrapper2Nd-LjReoru-.cjs +1 -0
- package/components/PlayerAccountMenuNd-BdhvWQDA.js +587 -0
- package/components/PlayerAccountMenuNd-uyqoX0xo.cjs +1 -0
- package/components/{PlayerAccountModal-BQ2N-DK2.js → PlayerAccountModal-BK_133rp.js} +49 -49
- package/components/PlayerAccountModal-CIR41mpM.cjs +1 -0
- package/components/PlayerAccountNotifications-COx0wvVZ.js +261 -0
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +1 -0
- package/components/{PlayerAccountSelfExclusionNd-Bx9an6cr.js → PlayerAccountSelfExclusionNd-B1PSYs3p.js} +1778 -1778
- package/components/{PlayerAccountSelfExclusionNd-BuzzsS0G.cjs → PlayerAccountSelfExclusionNd-CUN7qWEA.cjs} +125 -125
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +1 -0
- package/components/{PlayerAccountTimeout-DAzcm92_.js → PlayerAccountTimeout-DMvUsWoq.js} +106 -106
- package/components/PlayerActiveBonuses-CpEieMUG.js +986 -0
- package/components/PlayerActiveBonuses-bY0Y51Al.cjs +1 -0
- package/components/PlayerBonusCard-DGoTFlMq.js +565 -0
- package/components/PlayerBonusCard-DdxYH7lf.cjs +1 -0
- package/components/PlayerBonusHistory-DdGgXcKX.cjs +1 -0
- package/components/PlayerBonusHistory-rFWrF_Pj.js +840 -0
- package/components/PlayerChangePassword-BDyXZ2_q.cjs +3 -0
- package/components/PlayerChangePassword-BkRFX3fB.js +1161 -0
- package/components/PlayerDeposit-CYpXuZIT.cjs +1 -0
- package/components/PlayerDeposit-T-QxU0tF.js +395 -0
- package/components/PlayerGamingHistory-DCOFqQCz.js +920 -0
- package/components/PlayerGamingHistory-DXX4_ApI.cjs +1 -0
- package/components/PlayerPendingWithdrawals-DR9D_EFU.js +307 -0
- package/components/PlayerPendingWithdrawals-Dn63yKxo.cjs +1 -0
- package/components/PlayerProfileInfo-CmcXF1Sx.js +1707 -0
- package/components/PlayerProfileInfo-CsWD1vK0.cjs +1 -0
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +1 -0
- package/components/PlayerRealityCheck-CRHHpeWT.js +587 -0
- package/components/PlayerTransactionHistory-DJICk5qY.cjs +1 -0
- package/components/PlayerTransactionHistory-HQMXVkZj.js +311 -0
- package/components/PlayerWithdrawal-BToCctRz.js +365 -0
- package/components/PlayerWithdrawal-DuxGAxKs.cjs +1 -0
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/package.json +2 -2
- package/components/PlayerAccountBettingHistory-BWMEGhv1.js +0 -328
- package/components/PlayerAccountBettingHistory-CvFzGDm4.cjs +0 -1
- package/components/PlayerAccountBiometrics--Rc4hXU1.cjs +0 -1
- package/components/PlayerAccountBiometrics-ByG3_I95.js +0 -300
- package/components/PlayerAccountClosureNd-034rDNz4.cjs +0 -1
- package/components/PlayerAccountClosureNd-DZTrmidg.js +0 -339
- package/components/PlayerAccountControllerNd-BAD6QpiV.cjs +0 -1
- package/components/PlayerAccountGamingLimits-Dtw0RzGI.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-CL8VasWX.js +0 -306
- package/components/PlayerAccountGamingLimitsConfirmationModal-Cvsvauqa.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-tfKhIo7R.cjs +0 -10
- package/components/PlayerAccountGamingLimitsInfoCard--AbjEx7s.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-Dymt7LmL.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-DVEuryoE.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-D3v3WC8t.cjs +0 -1
- package/components/PlayerAccountMenuNd-CBH9HOGY.js +0 -587
- package/components/PlayerAccountMenuNd-CvdxB7NH.cjs +0 -1
- package/components/PlayerAccountModal-DpMfe1gv.cjs +0 -1
- package/components/PlayerAccountNotifications-Dwb_RDr0.cjs +0 -1
- package/components/PlayerAccountNotifications-QmKY9-B0.js +0 -261
- package/components/PlayerAccountTimeout-dxzuaoP9.cjs +0 -1
- package/components/PlayerActiveBonuses-BcPMSj2n.js +0 -986
- package/components/PlayerActiveBonuses-D0-qI8iz.cjs +0 -1
- package/components/PlayerBonusCard-BoENnXsd.cjs +0 -1
- package/components/PlayerBonusCard-DhNWEP3Y.js +0 -565
- package/components/PlayerBonusHistory-CKKn9KgY.js +0 -840
- package/components/PlayerBonusHistory-DoxmVui6.cjs +0 -1
- package/components/PlayerChangePassword-BC6buQCz.js +0 -1161
- package/components/PlayerChangePassword-RpQIhFff.cjs +0 -3
- package/components/PlayerDeposit-B7M0Rg-o.js +0 -395
- package/components/PlayerDeposit-COhpfcRx.cjs +0 -1
- package/components/PlayerGamingHistory-DIk73kDr.js +0 -920
- package/components/PlayerGamingHistory-Dbafpt79.cjs +0 -1
- package/components/PlayerPendingWithdrawals-CVBvRj42.cjs +0 -1
- package/components/PlayerPendingWithdrawals-CxklAVTc.js +0 -307
- package/components/PlayerProfileInfo-BeD6hzPW.cjs +0 -1
- package/components/PlayerProfileInfo-CoKc-eaN.js +0 -1707
- package/components/PlayerRealityCheck-B37H9_Rn.cjs +0 -1
- package/components/PlayerRealityCheck-DekJHe9F.js +0 -587
- package/components/PlayerTransactionHistory-CxYO3lnm.cjs +0 -1
- package/components/PlayerTransactionHistory-D7Tba-Nn.js +0 -311
- package/components/PlayerWithdrawal-BQyz5UQ7.js +0 -365
- package/components/PlayerWithdrawal-DYkzBPcQ.cjs +0 -1
|
@@ -0,0 +1,840 @@
|
|
|
1
|
+
import { a as We, $ as Se, S as Ae, i as Le, f as V, c as ze, s as Ie, b as Ne, e as B, k as R, o as ue, p as j, q as Ye, u as Re, v as je, x as le, y as Ge, d as T, t as L, g as b, j as l, l as d, m as K, n as x, w as Q, K as se, L as _e, r as Oe, B as ye } from "./GeneralLogout-DI0_2Ld2.js";
|
|
2
|
+
import { h as ne } from "./PlayerAccountGamingLimitsGroupEdit-BQ82HYJY.js";
|
|
3
|
+
import "./PlayerActiveBonuses-CpEieMUG.js";
|
|
4
|
+
import "./PlayerAccountSelfExclusionNd-B1PSYs3p.js";
|
|
5
|
+
function de(t, e) {
|
|
6
|
+
We(t, e);
|
|
7
|
+
}
|
|
8
|
+
function Ve(t) {
|
|
9
|
+
Se.set(t);
|
|
10
|
+
}
|
|
11
|
+
const ce = {
|
|
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
|
+
};
|
|
83
|
+
function qe(t) {
|
|
84
|
+
Ne(t, "svelte-1lo6b1t", ".BonusesWrapper{background-color:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);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, 20px)}.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, 50px);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))}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px;border-radius:var(--emw--border-radius-large, 20px)}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0;display:flex;justify-content:center}.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}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:var(--emw--font-weight-bold, 700)}");
|
|
85
|
+
}
|
|
86
|
+
function pe(t, e, s) {
|
|
87
|
+
const a = t.slice();
|
|
88
|
+
return a[44] = e[s], a[46] = s, a;
|
|
89
|
+
}
|
|
90
|
+
function me(t, e, s) {
|
|
91
|
+
const a = t.slice();
|
|
92
|
+
return a[47] = e[s], a;
|
|
93
|
+
}
|
|
94
|
+
function Ue(t) {
|
|
95
|
+
let e, s, a, n = (
|
|
96
|
+
/*$_*/
|
|
97
|
+
t[17]("titleBonusesHistory") + ""
|
|
98
|
+
), r, o, f, u, p, v, c = (
|
|
99
|
+
/*$_*/
|
|
100
|
+
t[17]("dateFrom") + ""
|
|
101
|
+
), m, k, P, F, w, H, E = (
|
|
102
|
+
/*$_*/
|
|
103
|
+
t[17]("dateTo") + ""
|
|
104
|
+
), I, W, _, g, C, y = (
|
|
105
|
+
/*$_*/
|
|
106
|
+
t[17]("dateFilter") + ""
|
|
107
|
+
), N, $, U, te, X, z, Y = (
|
|
108
|
+
/*isMobile*/
|
|
109
|
+
t[18] && Ze(t)
|
|
110
|
+
);
|
|
111
|
+
function ee(h, D) {
|
|
112
|
+
return (
|
|
113
|
+
/*bonusesList*/
|
|
114
|
+
h[16].length === 0 ? Xe : Ke
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
let J = ee(t), S = J(t), M = (
|
|
118
|
+
/*bonusesList*/
|
|
119
|
+
t[16].length !== 0 && be(t)
|
|
120
|
+
);
|
|
121
|
+
return {
|
|
122
|
+
c() {
|
|
123
|
+
e = B("div"), Y && Y.c(), s = T(), a = B("h2"), r = L(n), o = T(), f = B("div"), u = B("div"), p = B("div"), v = B("label"), m = L(c), k = T(), P = B("vaadin-date-picker"), F = T(), w = B("div"), H = B("label"), I = L(E), W = T(), _ = B("vaadin-date-picker"), g = T(), C = B("button"), N = L(y), $ = T(), U = B("div"), S.c(), te = T(), M && M.c(), b(a, "class", "BonusesTitle " + /*isMobile*/
|
|
124
|
+
(t[18] ? "BonusesTitleNone" : "")), b(a, "part", "BonusesTitle " + /*isMobile*/
|
|
125
|
+
(t[18] ? "BonusesTitleNone" : "")), b(v, "for", "BonusCalendarStartDate"), l(
|
|
126
|
+
P,
|
|
127
|
+
"max",
|
|
128
|
+
/*maxDate*/
|
|
129
|
+
t[9]
|
|
130
|
+
), l(
|
|
131
|
+
P,
|
|
132
|
+
"value",
|
|
133
|
+
/*lastMonth*/
|
|
134
|
+
t[10]
|
|
135
|
+
), l(P, "placeholder", "From"), l(P, "class", "VaadinDatePicker"), b(p, "class", "BonusesCalendarStartDate " + /*isMobile*/
|
|
136
|
+
(t[18] ? "BonusesCalendarMobile" : "")), b(H, "for", "BonusesCalendarEndDate"), l(
|
|
137
|
+
_,
|
|
138
|
+
"max",
|
|
139
|
+
/*maxDate*/
|
|
140
|
+
t[9]
|
|
141
|
+
), l(
|
|
142
|
+
_,
|
|
143
|
+
"value",
|
|
144
|
+
/*maxDate*/
|
|
145
|
+
t[9]
|
|
146
|
+
), l(_, "placeholder", "To"), l(_, "class", "VaadinDatePicker"), b(w, "class", "BonusesCalendarEndDate " + /*isMobile*/
|
|
147
|
+
(t[18] ? "BonusesCalendarMobile" : "")), b(u, "class", "BonusesCalendarContainer " + /*isMobile*/
|
|
148
|
+
(t[18] ? "BonusesCalendarContainerMobile" : "")), b(C, "class", "BonusesCalendarFilter " + /*isMobile*/
|
|
149
|
+
(t[18] ? "BonusesCalendarFilterMobile" : "")), b(f, "class", "BonusCalendarWrapper " + /*isMobile*/
|
|
150
|
+
(t[18] ? "BonusCalendarWrapperMobile" : "")), b(U, "class", "BonusesGrid " + /*isMobile*/
|
|
151
|
+
(t[18] ? "BonusesGridMobile" : "")), b(e, "class", "BonusesWrapper " + /*isMobile*/
|
|
152
|
+
(t[18] ? "BonusesWrapperMobile" : ""));
|
|
153
|
+
},
|
|
154
|
+
m(h, D) {
|
|
155
|
+
R(h, e, D), Y && Y.m(e, null), d(e, s), d(e, a), d(a, r), d(e, o), d(e, f), d(f, u), d(u, p), d(p, v), d(v, m), d(p, k), d(p, P), t[25](P), d(u, F), d(u, w), d(w, H), d(H, I), d(w, W), d(w, _), t[26](_), d(f, g), d(f, C), d(C, N), d(e, $), d(e, U), S.m(U, null), d(e, te), M && M.m(e, null), X || (z = K(
|
|
156
|
+
C,
|
|
157
|
+
"click",
|
|
158
|
+
/*click_handler_1*/
|
|
159
|
+
t[27]
|
|
160
|
+
), X = !0);
|
|
161
|
+
},
|
|
162
|
+
p(h, D) {
|
|
163
|
+
/*isMobile*/
|
|
164
|
+
h[18] && Y.p(h, D), D[0] & /*$_*/
|
|
165
|
+
131072 && n !== (n = /*$_*/
|
|
166
|
+
h[17]("titleBonusesHistory") + "") && x(r, n), D[0] & /*$_*/
|
|
167
|
+
131072 && c !== (c = /*$_*/
|
|
168
|
+
h[17]("dateFrom") + "") && x(m, c), D[0] & /*maxDate*/
|
|
169
|
+
512 && l(
|
|
170
|
+
P,
|
|
171
|
+
"max",
|
|
172
|
+
/*maxDate*/
|
|
173
|
+
h[9]
|
|
174
|
+
), D[0] & /*lastMonth*/
|
|
175
|
+
1024 && l(
|
|
176
|
+
P,
|
|
177
|
+
"value",
|
|
178
|
+
/*lastMonth*/
|
|
179
|
+
h[10]
|
|
180
|
+
), D[0] & /*$_*/
|
|
181
|
+
131072 && E !== (E = /*$_*/
|
|
182
|
+
h[17]("dateTo") + "") && x(I, E), D[0] & /*maxDate*/
|
|
183
|
+
512 && l(
|
|
184
|
+
_,
|
|
185
|
+
"max",
|
|
186
|
+
/*maxDate*/
|
|
187
|
+
h[9]
|
|
188
|
+
), D[0] & /*maxDate*/
|
|
189
|
+
512 && l(
|
|
190
|
+
_,
|
|
191
|
+
"value",
|
|
192
|
+
/*maxDate*/
|
|
193
|
+
h[9]
|
|
194
|
+
), D[0] & /*$_*/
|
|
195
|
+
131072 && y !== (y = /*$_*/
|
|
196
|
+
h[17]("dateFilter") + "") && x(N, y), J === (J = ee(h)) && S ? S.p(h, D) : (S.d(1), S = J(h), S && (S.c(), S.m(U, null))), /*bonusesList*/
|
|
197
|
+
h[16].length !== 0 ? M ? M.p(h, D) : (M = be(h), M.c(), M.m(e, null)) : M && (M.d(1), M = null);
|
|
198
|
+
},
|
|
199
|
+
d(h) {
|
|
200
|
+
h && j(e), Y && Y.d(), t[25](null), t[26](null), S.d(), M && M.d(), X = !1, z();
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
function Ze(t) {
|
|
205
|
+
let e, s, a, n, r, o, f, u, p, v, c = (
|
|
206
|
+
/*$_*/
|
|
207
|
+
t[17]("titleBonusesHistory") + ""
|
|
208
|
+
), m, k, P;
|
|
209
|
+
return {
|
|
210
|
+
c() {
|
|
211
|
+
e = B("div"), s = Q("svg"), a = Q("defs"), n = Q("style"), r = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), o = Q("g"), f = Q("g"), u = Q("path"), p = T(), v = B("h2"), m = L(c), b(u, "class", "aaa"), b(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), b(u, "transform", "translate(15 15) rotate(180)"), b(f, "transform", "translate(20 158)"), b(o, "transform", "translate(-20 -158)"), b(s, "xmlns", "http://www.w3.org/2000/svg"), b(s, "width", "15"), b(s, "height", "15"), b(s, "viewBox", "0 0 15 15"), b(v, "class", "BonusesTitleMobile"), b(e, "class", "MenuReturnButton");
|
|
212
|
+
},
|
|
213
|
+
m(F, w) {
|
|
214
|
+
R(F, e, w), d(e, s), d(s, a), d(a, n), d(n, r), d(s, o), d(o, f), d(f, u), d(e, p), d(e, v), d(v, m), k || (P = K(
|
|
215
|
+
e,
|
|
216
|
+
"click",
|
|
217
|
+
/*click_handler*/
|
|
218
|
+
t[24]
|
|
219
|
+
), k = !0);
|
|
220
|
+
},
|
|
221
|
+
p(F, w) {
|
|
222
|
+
w[0] & /*$_*/
|
|
223
|
+
131072 && c !== (c = /*$_*/
|
|
224
|
+
F[17]("titleBonusesHistory") + "") && x(m, c);
|
|
225
|
+
},
|
|
226
|
+
d(F) {
|
|
227
|
+
F && j(e), k = !1, P();
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
function Ke(t) {
|
|
232
|
+
let e, s = se(
|
|
233
|
+
/*bonusesList*/
|
|
234
|
+
t[16]
|
|
235
|
+
), a = [];
|
|
236
|
+
for (let n = 0; n < s.length; n += 1)
|
|
237
|
+
a[n] = fe(me(t, s, n));
|
|
238
|
+
return {
|
|
239
|
+
c() {
|
|
240
|
+
for (let n = 0; n < a.length; n += 1)
|
|
241
|
+
a[n].c();
|
|
242
|
+
e = ye();
|
|
243
|
+
},
|
|
244
|
+
m(n, r) {
|
|
245
|
+
for (let o = 0; o < a.length; o += 1)
|
|
246
|
+
a[o] && a[o].m(n, r);
|
|
247
|
+
R(n, e, r);
|
|
248
|
+
},
|
|
249
|
+
p(n, r) {
|
|
250
|
+
if (r[0] & /*bonusesList, lang, clientstyling, clientstylingurl, translationurl*/
|
|
251
|
+
65551) {
|
|
252
|
+
s = se(
|
|
253
|
+
/*bonusesList*/
|
|
254
|
+
n[16]
|
|
255
|
+
);
|
|
256
|
+
let o;
|
|
257
|
+
for (o = 0; o < s.length; o += 1) {
|
|
258
|
+
const f = me(n, s, o);
|
|
259
|
+
a[o] ? a[o].p(f, r) : (a[o] = fe(f), a[o].c(), a[o].m(e.parentNode, e));
|
|
260
|
+
}
|
|
261
|
+
for (; o < a.length; o += 1)
|
|
262
|
+
a[o].d(1);
|
|
263
|
+
a.length = s.length;
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
d(n) {
|
|
267
|
+
n && j(e), _e(a, n);
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
function Xe(t) {
|
|
272
|
+
let e, s = (
|
|
273
|
+
/*$_*/
|
|
274
|
+
t[17]("noBonusHistory") + ""
|
|
275
|
+
), a;
|
|
276
|
+
return {
|
|
277
|
+
c() {
|
|
278
|
+
e = B("p"), a = L(s);
|
|
279
|
+
},
|
|
280
|
+
m(n, r) {
|
|
281
|
+
R(n, e, r), d(e, a);
|
|
282
|
+
},
|
|
283
|
+
p(n, r) {
|
|
284
|
+
r[0] & /*$_*/
|
|
285
|
+
131072 && s !== (s = /*$_*/
|
|
286
|
+
n[17]("noBonusHistory") + "") && x(a, s);
|
|
287
|
+
},
|
|
288
|
+
d(n) {
|
|
289
|
+
n && j(e);
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
function Je(t) {
|
|
294
|
+
let e, s, a, n, r, o, f, u, p, v;
|
|
295
|
+
return {
|
|
296
|
+
c() {
|
|
297
|
+
e = B("player-bonus-card"), l(e, "bonuswalletid", s = /*bonus*/
|
|
298
|
+
t[47].walletId), l(e, "bonusdate", a = /*bonus*/
|
|
299
|
+
t[47].granted), l(e, "bonusstatus", n = /*bonus*/
|
|
300
|
+
t[47].status), l(e, "bonusname", r = /*bonus*/
|
|
301
|
+
t[47].name), l(e, "bonustype", o = /*bonus*/
|
|
302
|
+
t[47].type), l(e, "bonusamount", f = /*bonus*/
|
|
303
|
+
t[47].extension.grantedPlayerCurrencyAmount), l(e, "bonuswageringamount", u = `${/*bonus*/
|
|
304
|
+
t[47].fulfilledWR} / ${/*bonus*/
|
|
305
|
+
t[47].originalWageringRequirement}`), l(e, "bonusremainingamount", p = /*bonus*/
|
|
306
|
+
t[47].currentAmount), l(e, "bonuscurrency", v = /*bonus*/
|
|
307
|
+
t[47].currency), l(
|
|
308
|
+
e,
|
|
309
|
+
"lang",
|
|
310
|
+
/*lang*/
|
|
311
|
+
t[0]
|
|
312
|
+
), l(
|
|
313
|
+
e,
|
|
314
|
+
"clientstyling",
|
|
315
|
+
/*clientstyling*/
|
|
316
|
+
t[1]
|
|
317
|
+
), l(
|
|
318
|
+
e,
|
|
319
|
+
"clientstylingurl",
|
|
320
|
+
/*clientstylingurl*/
|
|
321
|
+
t[2]
|
|
322
|
+
), l(
|
|
323
|
+
e,
|
|
324
|
+
"translationurl",
|
|
325
|
+
/*translationurl*/
|
|
326
|
+
t[3]
|
|
327
|
+
);
|
|
328
|
+
},
|
|
329
|
+
m(c, m) {
|
|
330
|
+
R(c, e, m);
|
|
331
|
+
},
|
|
332
|
+
p(c, m) {
|
|
333
|
+
m[0] & /*bonusesList*/
|
|
334
|
+
65536 && s !== (s = /*bonus*/
|
|
335
|
+
c[47].walletId) && l(e, "bonuswalletid", s), m[0] & /*bonusesList*/
|
|
336
|
+
65536 && a !== (a = /*bonus*/
|
|
337
|
+
c[47].granted) && l(e, "bonusdate", a), m[0] & /*bonusesList*/
|
|
338
|
+
65536 && n !== (n = /*bonus*/
|
|
339
|
+
c[47].status) && l(e, "bonusstatus", n), m[0] & /*bonusesList*/
|
|
340
|
+
65536 && r !== (r = /*bonus*/
|
|
341
|
+
c[47].name) && l(e, "bonusname", r), m[0] & /*bonusesList*/
|
|
342
|
+
65536 && o !== (o = /*bonus*/
|
|
343
|
+
c[47].type) && l(e, "bonustype", o), m[0] & /*bonusesList*/
|
|
344
|
+
65536 && f !== (f = /*bonus*/
|
|
345
|
+
c[47].extension.grantedPlayerCurrencyAmount) && l(e, "bonusamount", f), m[0] & /*bonusesList*/
|
|
346
|
+
65536 && u !== (u = `${/*bonus*/
|
|
347
|
+
c[47].fulfilledWR} / ${/*bonus*/
|
|
348
|
+
c[47].originalWageringRequirement}`) && l(e, "bonuswageringamount", u), m[0] & /*bonusesList*/
|
|
349
|
+
65536 && p !== (p = /*bonus*/
|
|
350
|
+
c[47].currentAmount) && l(e, "bonusremainingamount", p), m[0] & /*bonusesList*/
|
|
351
|
+
65536 && v !== (v = /*bonus*/
|
|
352
|
+
c[47].currency) && l(e, "bonuscurrency", v), m[0] & /*lang*/
|
|
353
|
+
1 && l(
|
|
354
|
+
e,
|
|
355
|
+
"lang",
|
|
356
|
+
/*lang*/
|
|
357
|
+
c[0]
|
|
358
|
+
), m[0] & /*clientstyling*/
|
|
359
|
+
2 && l(
|
|
360
|
+
e,
|
|
361
|
+
"clientstyling",
|
|
362
|
+
/*clientstyling*/
|
|
363
|
+
c[1]
|
|
364
|
+
), m[0] & /*clientstylingurl*/
|
|
365
|
+
4 && l(
|
|
366
|
+
e,
|
|
367
|
+
"clientstylingurl",
|
|
368
|
+
/*clientstylingurl*/
|
|
369
|
+
c[2]
|
|
370
|
+
), m[0] & /*translationurl*/
|
|
371
|
+
8 && l(
|
|
372
|
+
e,
|
|
373
|
+
"translationurl",
|
|
374
|
+
/*translationurl*/
|
|
375
|
+
c[3]
|
|
376
|
+
);
|
|
377
|
+
},
|
|
378
|
+
d(c) {
|
|
379
|
+
c && j(e);
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
function Qe(t) {
|
|
384
|
+
let e, s, a, n, r, o, f;
|
|
385
|
+
return {
|
|
386
|
+
c() {
|
|
387
|
+
e = B("player-bonus-card"), l(e, "bonuswalletid", s = /*bonus*/
|
|
388
|
+
t[47].walletId), l(e, "bonusdate", a = /*bonus*/
|
|
389
|
+
t[47].granted), l(e, "bonusstatus", n = /*bonus*/
|
|
390
|
+
t[47].status), l(e, "bonusname", r = /*bonus*/
|
|
391
|
+
t[47].name), l(e, "bonustype", o = /*bonus*/
|
|
392
|
+
t[47].type), l(e, "bonuscurrency", f = /*bonus*/
|
|
393
|
+
t[47].currency), l(
|
|
394
|
+
e,
|
|
395
|
+
"lang",
|
|
396
|
+
/*lang*/
|
|
397
|
+
t[0]
|
|
398
|
+
), l(
|
|
399
|
+
e,
|
|
400
|
+
"clientstyling",
|
|
401
|
+
/*clientstyling*/
|
|
402
|
+
t[1]
|
|
403
|
+
), l(
|
|
404
|
+
e,
|
|
405
|
+
"clientstylingurl",
|
|
406
|
+
/*clientstylingurl*/
|
|
407
|
+
t[2]
|
|
408
|
+
), l(
|
|
409
|
+
e,
|
|
410
|
+
"translationurl",
|
|
411
|
+
/*translationurl*/
|
|
412
|
+
t[3]
|
|
413
|
+
);
|
|
414
|
+
},
|
|
415
|
+
m(u, p) {
|
|
416
|
+
R(u, e, p);
|
|
417
|
+
},
|
|
418
|
+
p(u, p) {
|
|
419
|
+
p[0] & /*bonusesList*/
|
|
420
|
+
65536 && s !== (s = /*bonus*/
|
|
421
|
+
u[47].walletId) && l(e, "bonuswalletid", s), p[0] & /*bonusesList*/
|
|
422
|
+
65536 && a !== (a = /*bonus*/
|
|
423
|
+
u[47].granted) && l(e, "bonusdate", a), p[0] & /*bonusesList*/
|
|
424
|
+
65536 && n !== (n = /*bonus*/
|
|
425
|
+
u[47].status) && l(e, "bonusstatus", n), p[0] & /*bonusesList*/
|
|
426
|
+
65536 && r !== (r = /*bonus*/
|
|
427
|
+
u[47].name) && l(e, "bonusname", r), p[0] & /*bonusesList*/
|
|
428
|
+
65536 && o !== (o = /*bonus*/
|
|
429
|
+
u[47].type) && l(e, "bonustype", o), p[0] & /*bonusesList*/
|
|
430
|
+
65536 && f !== (f = /*bonus*/
|
|
431
|
+
u[47].currency) && l(e, "bonuscurrency", f), p[0] & /*lang*/
|
|
432
|
+
1 && l(
|
|
433
|
+
e,
|
|
434
|
+
"lang",
|
|
435
|
+
/*lang*/
|
|
436
|
+
u[0]
|
|
437
|
+
), p[0] & /*clientstyling*/
|
|
438
|
+
2 && l(
|
|
439
|
+
e,
|
|
440
|
+
"clientstyling",
|
|
441
|
+
/*clientstyling*/
|
|
442
|
+
u[1]
|
|
443
|
+
), p[0] & /*clientstylingurl*/
|
|
444
|
+
4 && l(
|
|
445
|
+
e,
|
|
446
|
+
"clientstylingurl",
|
|
447
|
+
/*clientstylingurl*/
|
|
448
|
+
u[2]
|
|
449
|
+
), p[0] & /*translationurl*/
|
|
450
|
+
8 && l(
|
|
451
|
+
e,
|
|
452
|
+
"translationurl",
|
|
453
|
+
/*translationurl*/
|
|
454
|
+
u[3]
|
|
455
|
+
);
|
|
456
|
+
},
|
|
457
|
+
d(u) {
|
|
458
|
+
u && j(e);
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
function fe(t) {
|
|
463
|
+
let e;
|
|
464
|
+
function s(r, o) {
|
|
465
|
+
return (
|
|
466
|
+
/*bonus*/
|
|
467
|
+
r[47].type === "freeRound" ? Qe : Je
|
|
468
|
+
);
|
|
469
|
+
}
|
|
470
|
+
let a = s(t), n = a(t);
|
|
471
|
+
return {
|
|
472
|
+
c() {
|
|
473
|
+
n.c(), e = ye();
|
|
474
|
+
},
|
|
475
|
+
m(r, o) {
|
|
476
|
+
n.m(r, o), R(r, e, o);
|
|
477
|
+
},
|
|
478
|
+
p(r, o) {
|
|
479
|
+
a === (a = s(r)) && n ? n.p(r, o) : (n.d(1), n = a(r), n && (n.c(), n.m(e.parentNode, e)));
|
|
480
|
+
},
|
|
481
|
+
d(r) {
|
|
482
|
+
r && j(e), n.d(r);
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
function be(t) {
|
|
487
|
+
let e, s, a, n, r, o, f, u, p, v, c, m, k, P, F, w, H, E, I, W = se(Array(
|
|
488
|
+
/*numberOfPages*/
|
|
489
|
+
t[14]
|
|
490
|
+
)), _ = [];
|
|
491
|
+
for (let g = 0; g < W.length; g += 1)
|
|
492
|
+
_[g] = ge(pe(t, W, g));
|
|
493
|
+
return {
|
|
494
|
+
c() {
|
|
495
|
+
e = B("div"), s = B("span"), a = L("|<"), r = T(), o = B("span"), f = L("<"), p = T();
|
|
496
|
+
for (let g = 0; g < _.length; g += 1)
|
|
497
|
+
_[g].c();
|
|
498
|
+
v = T(), c = B("span"), m = L(">"), P = T(), F = B("span"), w = L(">|"), b(s, "class", n = "BonusesFirst " + /*currentPage*/
|
|
499
|
+
(t[15] === 0 ? "Inactive" : "")), b(o, "class", u = "BonusesPrev " + /*currentPage*/
|
|
500
|
+
(t[15] === 0 ? "Inactive" : "")), b(c, "class", k = "BonusesNext " + /*currentPage*/
|
|
501
|
+
(t[15] === /*numberOfPages*/
|
|
502
|
+
t[14] - 1 ? "Inactive" : "")), b(F, "class", H = "BonusesLast " + /*currentPage*/
|
|
503
|
+
(t[15] === /*numberOfPages*/
|
|
504
|
+
t[14] - 1 ? "Inactive" : "")), b(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
505
|
+
(t[18] ? "BonusesPaginationWrapperMobile" : ""));
|
|
506
|
+
},
|
|
507
|
+
m(g, C) {
|
|
508
|
+
R(g, e, C), d(e, s), d(s, a), d(e, r), d(e, o), d(o, f), d(e, p);
|
|
509
|
+
for (let y = 0; y < _.length; y += 1)
|
|
510
|
+
_[y] && _[y].m(e, null);
|
|
511
|
+
d(e, v), d(e, c), d(c, m), d(e, P), d(e, F), d(F, w), E || (I = [
|
|
512
|
+
K(
|
|
513
|
+
s,
|
|
514
|
+
"click",
|
|
515
|
+
/*click_handler_2*/
|
|
516
|
+
t[28]
|
|
517
|
+
),
|
|
518
|
+
K(
|
|
519
|
+
o,
|
|
520
|
+
"click",
|
|
521
|
+
/*click_handler_3*/
|
|
522
|
+
t[29]
|
|
523
|
+
),
|
|
524
|
+
K(
|
|
525
|
+
c,
|
|
526
|
+
"click",
|
|
527
|
+
/*click_handler_5*/
|
|
528
|
+
t[31]
|
|
529
|
+
),
|
|
530
|
+
K(
|
|
531
|
+
F,
|
|
532
|
+
"click",
|
|
533
|
+
/*click_handler_6*/
|
|
534
|
+
t[32]
|
|
535
|
+
)
|
|
536
|
+
], E = !0);
|
|
537
|
+
},
|
|
538
|
+
p(g, C) {
|
|
539
|
+
if (C[0] & /*currentPage*/
|
|
540
|
+
32768 && n !== (n = "BonusesFirst " + /*currentPage*/
|
|
541
|
+
(g[15] === 0 ? "Inactive" : "")) && b(s, "class", n), C[0] & /*currentPage*/
|
|
542
|
+
32768 && u !== (u = "BonusesPrev " + /*currentPage*/
|
|
543
|
+
(g[15] === 0 ? "Inactive" : "")) && b(o, "class", u), C[0] & /*currentPage, getBonuses, bonushistorystatus, bonushistorytype, numberOfPages*/
|
|
544
|
+
1097776) {
|
|
545
|
+
W = se(Array(
|
|
546
|
+
/*numberOfPages*/
|
|
547
|
+
g[14]
|
|
548
|
+
));
|
|
549
|
+
let y;
|
|
550
|
+
for (y = 0; y < W.length; y += 1) {
|
|
551
|
+
const N = pe(g, W, y);
|
|
552
|
+
_[y] ? _[y].p(N, C) : (_[y] = ge(N), _[y].c(), _[y].m(e, v));
|
|
553
|
+
}
|
|
554
|
+
for (; y < _.length; y += 1)
|
|
555
|
+
_[y].d(1);
|
|
556
|
+
_.length = W.length;
|
|
557
|
+
}
|
|
558
|
+
C[0] & /*currentPage, numberOfPages*/
|
|
559
|
+
49152 && k !== (k = "BonusesNext " + /*currentPage*/
|
|
560
|
+
(g[15] === /*numberOfPages*/
|
|
561
|
+
g[14] - 1 ? "Inactive" : "")) && b(c, "class", k), C[0] & /*currentPage, numberOfPages*/
|
|
562
|
+
49152 && H !== (H = "BonusesLast " + /*currentPage*/
|
|
563
|
+
(g[15] === /*numberOfPages*/
|
|
564
|
+
g[14] - 1 ? "Inactive" : "")) && b(F, "class", H);
|
|
565
|
+
},
|
|
566
|
+
d(g) {
|
|
567
|
+
g && j(e), _e(_, g), E = !1, Oe(I);
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
function ge(t) {
|
|
572
|
+
let e, s = (
|
|
573
|
+
/*i*/
|
|
574
|
+
t[46] + 1 + ""
|
|
575
|
+
), a, n, r, o;
|
|
576
|
+
function f() {
|
|
577
|
+
return (
|
|
578
|
+
/*click_handler_4*/
|
|
579
|
+
t[30](
|
|
580
|
+
/*i*/
|
|
581
|
+
t[46]
|
|
582
|
+
)
|
|
583
|
+
);
|
|
584
|
+
}
|
|
585
|
+
return {
|
|
586
|
+
c() {
|
|
587
|
+
e = B("span"), a = L(s), b(e, "class", n = "BonusesPage " + /*i*/
|
|
588
|
+
(t[46] === /*currentPage*/
|
|
589
|
+
t[15] ? "BonusPageActive" : ""));
|
|
590
|
+
},
|
|
591
|
+
m(u, p) {
|
|
592
|
+
R(u, e, p), d(e, a), r || (o = K(e, "click", f), r = !0);
|
|
593
|
+
},
|
|
594
|
+
p(u, p) {
|
|
595
|
+
t = u, p[0] & /*currentPage*/
|
|
596
|
+
32768 && n !== (n = "BonusesPage " + /*i*/
|
|
597
|
+
(t[46] === /*currentPage*/
|
|
598
|
+
t[15] ? "BonusPageActive" : "")) && b(e, "class", n);
|
|
599
|
+
},
|
|
600
|
+
d(u) {
|
|
601
|
+
u && j(e), r = !1, o();
|
|
602
|
+
}
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
function xe(t) {
|
|
606
|
+
let e;
|
|
607
|
+
function s(r, o) {
|
|
608
|
+
return Ue;
|
|
609
|
+
}
|
|
610
|
+
let n = s()(t);
|
|
611
|
+
return {
|
|
612
|
+
c() {
|
|
613
|
+
e = B("div"), n.c();
|
|
614
|
+
},
|
|
615
|
+
m(r, o) {
|
|
616
|
+
R(r, e, o), n.m(e, null), t[33](e);
|
|
617
|
+
},
|
|
618
|
+
p(r, o) {
|
|
619
|
+
n.p(r, o);
|
|
620
|
+
},
|
|
621
|
+
i: ue,
|
|
622
|
+
o: ue,
|
|
623
|
+
d(r) {
|
|
624
|
+
r && j(e), n.d(), t[33](null);
|
|
625
|
+
}
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
let q = 6;
|
|
629
|
+
function $e(t, e, s) {
|
|
630
|
+
let a;
|
|
631
|
+
Ye(t, Ge, (i) => s(17, a = i));
|
|
632
|
+
let { endpoint: n = "" } = e, { session: r = "" } = e, { playerid: o = "" } = e, { lang: f = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: v = "" } = e, { bonushistorystatus: c = "" } = e, { bonushistorytype: m = "" } = e, k, P = window.navigator.userAgent, F = Re(P) !== "PC", w, H, E, I;
|
|
633
|
+
E = ne(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"), I = ne(/* @__PURE__ */ new Date()).subtract(3, "months").format("YYYY-MM-DD");
|
|
634
|
+
let W = I, _ = E, g = 0, C = 0, y = 0, N = 0, $ = 0, U = [];
|
|
635
|
+
const te = () => {
|
|
636
|
+
fetch(v).then((A) => A.json()).then((A) => {
|
|
637
|
+
Object.keys(A).forEach((G) => {
|
|
638
|
+
de(G, A[G]);
|
|
639
|
+
});
|
|
640
|
+
}).catch((A) => {
|
|
641
|
+
console.log(A);
|
|
642
|
+
});
|
|
643
|
+
};
|
|
644
|
+
Object.keys(ce).forEach((i) => {
|
|
645
|
+
de(i, ce[i]);
|
|
646
|
+
});
|
|
647
|
+
const X = () => {
|
|
648
|
+
window.postMessage(
|
|
649
|
+
{
|
|
650
|
+
type: "PlayerAccountMenuActive",
|
|
651
|
+
isMobile: F
|
|
652
|
+
},
|
|
653
|
+
window.location.href
|
|
654
|
+
);
|
|
655
|
+
}, z = (i, A, G) => {
|
|
656
|
+
let ae = new URL(`${n}/v1/player/${o}/bonusWallet`), Me = ne(W).startOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), De = ne(_).endOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), Z = "", re = "", ie = "";
|
|
657
|
+
A && (re = A.split(",").map((oe) => `status=${oe}`).join(","), Z = Z + re + ","), G && (ie = G.split(",").map((oe) => `type=${oe}`).join(","), Z = Z + ie + ","), Z = Z + `granted=[${Me}~${De}]`, ae.searchParams.append("filter", Z), ae.searchParams.append("pagination", `offset=${i},limit=${q}`);
|
|
658
|
+
let Te = {
|
|
659
|
+
method: "GET",
|
|
660
|
+
headers: { "X-SessionId": r }
|
|
661
|
+
};
|
|
662
|
+
fetch(ae.href, Te).then((O) => O.json()).then(
|
|
663
|
+
(O) => {
|
|
664
|
+
s(14, N = Math.ceil(O.total / q)), i - q >= 0 && s(11, g = i - q), i + q < O.total && s(12, C = i + q), s(13, y = (N - 1) * q), s(15, $ = i / q), s(16, U = O.items);
|
|
665
|
+
},
|
|
666
|
+
(O) => {
|
|
667
|
+
console.error(O);
|
|
668
|
+
}
|
|
669
|
+
), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
670
|
+
}, Y = (i) => {
|
|
671
|
+
W = i.target.value;
|
|
672
|
+
}, ee = (i) => {
|
|
673
|
+
_ = i.target.value;
|
|
674
|
+
}, J = () => {
|
|
675
|
+
w.addEventListener("change", Y, !1), H.addEventListener("change", ee, !1);
|
|
676
|
+
};
|
|
677
|
+
je(() => () => {
|
|
678
|
+
w.removeEventListener("change", Y), H.removeEventListener("change", ee);
|
|
679
|
+
});
|
|
680
|
+
const S = () => {
|
|
681
|
+
Ve(f);
|
|
682
|
+
}, M = () => {
|
|
683
|
+
let i = document.createElement("style");
|
|
684
|
+
i.innerHTML = u, k.appendChild(i);
|
|
685
|
+
}, h = () => {
|
|
686
|
+
let i = new URL(p), A = document.createElement("style");
|
|
687
|
+
fetch(i.href).then((G) => G.text()).then((G) => {
|
|
688
|
+
A.innerHTML = G, setTimeout(
|
|
689
|
+
() => {
|
|
690
|
+
k.appendChild(A);
|
|
691
|
+
},
|
|
692
|
+
1
|
|
693
|
+
);
|
|
694
|
+
});
|
|
695
|
+
}, D = () => X();
|
|
696
|
+
function he(i) {
|
|
697
|
+
le[i ? "unshift" : "push"](() => {
|
|
698
|
+
w = i, s(7, w);
|
|
699
|
+
});
|
|
700
|
+
}
|
|
701
|
+
function Be(i) {
|
|
702
|
+
le[i ? "unshift" : "push"](() => {
|
|
703
|
+
H = i, s(8, H);
|
|
704
|
+
});
|
|
705
|
+
}
|
|
706
|
+
const ve = () => z(0, c, m), we = () => z(0, c, m), ke = () => z(g, c, m), Fe = (i) => z(i * q, c, m), Ce = () => z(C, c, m), Pe = () => z(y, c, m);
|
|
707
|
+
function He(i) {
|
|
708
|
+
le[i ? "unshift" : "push"](() => {
|
|
709
|
+
k = i, s(6, k);
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
return t.$$set = (i) => {
|
|
713
|
+
"endpoint" in i && s(21, n = i.endpoint), "session" in i && s(22, r = i.session), "playerid" in i && s(23, o = i.playerid), "lang" in i && s(0, f = i.lang), "clientstyling" in i && s(1, u = i.clientstyling), "clientstylingurl" in i && s(2, p = i.clientstylingurl), "translationurl" in i && s(3, v = i.translationurl), "bonushistorystatus" in i && s(4, c = i.bonushistorystatus), "bonushistorytype" in i && s(5, m = i.bonushistorytype);
|
|
714
|
+
}, t.$$.update = () => {
|
|
715
|
+
t.$$.dirty[0] & /*lang*/
|
|
716
|
+
1 && f && S(), t.$$.dirty[0] & /*startCalendar, endCalendar*/
|
|
717
|
+
384 && w && H && J(), t.$$.dirty[0] & /*session, playerid, endpoint, bonushistorystatus, bonushistorytype*/
|
|
718
|
+
14680112 && r && o && n && z(0, c, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
719
|
+
68 && p && k && h(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
720
|
+
66 && u && k && M(), t.$$.dirty[0] & /*translationurl*/
|
|
721
|
+
8 && v && te();
|
|
722
|
+
}, [
|
|
723
|
+
f,
|
|
724
|
+
u,
|
|
725
|
+
p,
|
|
726
|
+
v,
|
|
727
|
+
c,
|
|
728
|
+
m,
|
|
729
|
+
k,
|
|
730
|
+
w,
|
|
731
|
+
H,
|
|
732
|
+
E,
|
|
733
|
+
I,
|
|
734
|
+
g,
|
|
735
|
+
C,
|
|
736
|
+
y,
|
|
737
|
+
N,
|
|
738
|
+
$,
|
|
739
|
+
U,
|
|
740
|
+
a,
|
|
741
|
+
F,
|
|
742
|
+
X,
|
|
743
|
+
z,
|
|
744
|
+
n,
|
|
745
|
+
r,
|
|
746
|
+
o,
|
|
747
|
+
D,
|
|
748
|
+
he,
|
|
749
|
+
Be,
|
|
750
|
+
ve,
|
|
751
|
+
we,
|
|
752
|
+
ke,
|
|
753
|
+
Fe,
|
|
754
|
+
Ce,
|
|
755
|
+
Pe,
|
|
756
|
+
He
|
|
757
|
+
];
|
|
758
|
+
}
|
|
759
|
+
class et extends Ae {
|
|
760
|
+
constructor(e) {
|
|
761
|
+
super(), Le(
|
|
762
|
+
this,
|
|
763
|
+
e,
|
|
764
|
+
$e,
|
|
765
|
+
xe,
|
|
766
|
+
Ie,
|
|
767
|
+
{
|
|
768
|
+
endpoint: 21,
|
|
769
|
+
session: 22,
|
|
770
|
+
playerid: 23,
|
|
771
|
+
lang: 0,
|
|
772
|
+
clientstyling: 1,
|
|
773
|
+
clientstylingurl: 2,
|
|
774
|
+
translationurl: 3,
|
|
775
|
+
bonushistorystatus: 4,
|
|
776
|
+
bonushistorytype: 5
|
|
777
|
+
},
|
|
778
|
+
qe,
|
|
779
|
+
[-1, -1]
|
|
780
|
+
);
|
|
781
|
+
}
|
|
782
|
+
get endpoint() {
|
|
783
|
+
return this.$$.ctx[21];
|
|
784
|
+
}
|
|
785
|
+
set endpoint(e) {
|
|
786
|
+
this.$$set({ endpoint: e }), V();
|
|
787
|
+
}
|
|
788
|
+
get session() {
|
|
789
|
+
return this.$$.ctx[22];
|
|
790
|
+
}
|
|
791
|
+
set session(e) {
|
|
792
|
+
this.$$set({ session: e }), V();
|
|
793
|
+
}
|
|
794
|
+
get playerid() {
|
|
795
|
+
return this.$$.ctx[23];
|
|
796
|
+
}
|
|
797
|
+
set playerid(e) {
|
|
798
|
+
this.$$set({ playerid: e }), V();
|
|
799
|
+
}
|
|
800
|
+
get lang() {
|
|
801
|
+
return this.$$.ctx[0];
|
|
802
|
+
}
|
|
803
|
+
set lang(e) {
|
|
804
|
+
this.$$set({ lang: e }), V();
|
|
805
|
+
}
|
|
806
|
+
get clientstyling() {
|
|
807
|
+
return this.$$.ctx[1];
|
|
808
|
+
}
|
|
809
|
+
set clientstyling(e) {
|
|
810
|
+
this.$$set({ clientstyling: e }), V();
|
|
811
|
+
}
|
|
812
|
+
get clientstylingurl() {
|
|
813
|
+
return this.$$.ctx[2];
|
|
814
|
+
}
|
|
815
|
+
set clientstylingurl(e) {
|
|
816
|
+
this.$$set({ clientstylingurl: e }), V();
|
|
817
|
+
}
|
|
818
|
+
get translationurl() {
|
|
819
|
+
return this.$$.ctx[3];
|
|
820
|
+
}
|
|
821
|
+
set translationurl(e) {
|
|
822
|
+
this.$$set({ translationurl: e }), V();
|
|
823
|
+
}
|
|
824
|
+
get bonushistorystatus() {
|
|
825
|
+
return this.$$.ctx[4];
|
|
826
|
+
}
|
|
827
|
+
set bonushistorystatus(e) {
|
|
828
|
+
this.$$set({ bonushistorystatus: e }), V();
|
|
829
|
+
}
|
|
830
|
+
get bonushistorytype() {
|
|
831
|
+
return this.$$.ctx[5];
|
|
832
|
+
}
|
|
833
|
+
set bonushistorytype(e) {
|
|
834
|
+
this.$$set({ bonushistorytype: e }), V();
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
ze(et, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, bonushistorystatus: {}, bonushistorytype: {} }, [], [], !0);
|
|
838
|
+
export {
|
|
839
|
+
et as default
|
|
840
|
+
};
|