@everymatrix/player-account-controller 1.0.69 → 1.0.70
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-CA9TEW-a.cjs +8 -0
- package/components/GeneralLogout-DtE4YABi.js +4829 -0
- package/components/PlayerAccountBettingHistory-BcTxHKyO.js +328 -0
- package/components/PlayerAccountBettingHistory-NrSjgArQ.cjs +1 -0
- package/components/PlayerAccountBiometrics-BGnkL646.js +300 -0
- package/components/PlayerAccountBiometrics-Bl0LyqT2.cjs +1 -0
- package/components/PlayerAccountClosure-B3Zq9k2d.cjs +1 -0
- package/components/PlayerAccountClosure-CHDX6d_o.js +339 -0
- package/components/PlayerAccountController-CdygDjsk.js +6188 -0
- package/components/PlayerAccountController-D9QoMCz_.cjs +1 -0
- package/components/PlayerAccountGamingLimits-BSeZY_AM.cjs +1 -0
- package/components/PlayerAccountGamingLimits-CFEgRcLO.js +758 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-CETKCaaj.js +306 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-Zflhyn-z.cjs +1 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DPZ-Uvd4.js +4148 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-_BasEjEB.cjs +10 -0
- package/components/PlayerAccountGamingLimitsHistory2-Bu-OW2oW.js +734 -0
- package/components/PlayerAccountGamingLimitsHistory2-FhMXdXTq.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-BUG8OODX.js +1488 -0
- package/components/PlayerAccountGamingLimitsInfoCard-sBX1tBDZ.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-BFnH54ZW.js +2764 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-CiGWLvn2.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPopup-BrO_Lno2.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPopup-CmAXnOQe.js +337 -0
- package/components/PlayerAccountGamingLimitsWrapper2-CQ1mGZNj.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-DWdHKdUm.js +844 -0
- package/components/PlayerAccountMenu-Bh0HKBfq.js +587 -0
- package/components/PlayerAccountMenu-D4sBRaIm.cjs +1 -0
- package/components/PlayerAccountModal-Blsborh1.js +198 -0
- package/components/PlayerAccountModal-DW8I9i4u.cjs +1 -0
- package/components/PlayerAccountNotifications-CEsL3JWV.cjs +1 -0
- package/components/PlayerAccountNotifications-DbUpordy.js +222 -0
- package/components/PlayerAccountSelfExclusion-BPADa27T.js +15842 -0
- package/components/PlayerAccountSelfExclusion-DxHpS1Fj.cjs +3693 -0
- package/components/PlayerAccountTimeout-BRQZuU_T.cjs +1 -0
- package/components/PlayerAccountTimeout-CSUT1HiR.js +448 -0
- package/components/PlayerActiveBonuses-CwHXPu9X.js +987 -0
- package/components/PlayerActiveBonuses-ReOEMRDU.cjs +1 -0
- package/components/PlayerBonusCard-665KSNoF.js +555 -0
- package/components/PlayerBonusCard-CQIuJjY5.cjs +1 -0
- package/components/PlayerBonusHistory-BaBcSSSm.js +824 -0
- package/components/PlayerBonusHistory-Dzk7jL5w.cjs +1 -0
- package/components/PlayerChangePassword-B78Gb7rT.js +1162 -0
- package/components/PlayerChangePassword-L1wYKbsT.cjs +3 -0
- package/components/PlayerDeposit-BO0nDKOB.cjs +1 -0
- package/components/PlayerDeposit-CqgNmu8i.js +395 -0
- package/components/PlayerGamingHistory-CmufIVok.cjs +1 -0
- package/components/PlayerGamingHistory-ovbzB3YP.js +920 -0
- package/components/PlayerPendingWithdrawals-CsC5mrrE.js +307 -0
- package/components/PlayerPendingWithdrawals-DXh2yA-M.cjs +1 -0
- package/components/PlayerProfileInfo-3Wp8IotN.js +1730 -0
- package/components/PlayerProfileInfo-BWzgjhyD.cjs +1 -0
- package/components/PlayerRealityCheck-8QghFLS2.cjs +1 -0
- package/components/PlayerRealityCheck-Cg1tL1KV.js +567 -0
- package/components/PlayerTransactionHistory-Cfq6pzue.js +311 -0
- package/components/PlayerTransactionHistory-iyQVlg_5.cjs +1 -0
- package/components/PlayerWithdrawal-BZdcsIWI.cjs +1 -0
- package/components/PlayerWithdrawal-DJfHPWUz.js +365 -0
- package/package.json +23 -22
|
@@ -0,0 +1,824 @@
|
|
|
1
|
+
import { a as ke, $ as Fe, S as Ce, i as Pe, f as U, c as He, s as Me, b as De, e as y, k as I, o as se, p as N, q as Te, u as Ee, v as We, x as ne, y as Le, d as E, t as L, g as p, j as o, l as d, m as K, n as Q, w as J, K as te, L as be, r as Se, B as pe } from "./GeneralLogout-DtE4YABi.js";
|
|
2
|
+
import { h as le } from "./PlayerAccountGamingLimitsGroupEdit-DPZ-Uvd4.js";
|
|
3
|
+
import "./PlayerActiveBonuses-CwHXPu9X.js";
|
|
4
|
+
import "./PlayerAccountSelfExclusion-BPADa27T.js";
|
|
5
|
+
function ae(t, e) {
|
|
6
|
+
ke(t, e);
|
|
7
|
+
}
|
|
8
|
+
function Ae(t) {
|
|
9
|
+
Fe.set(t);
|
|
10
|
+
}
|
|
11
|
+
const oe = {
|
|
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 Ie(t) {
|
|
84
|
+
De(t, "svelte-14bqq8d", ".BonusesWrapper.svelte-14bqq8d.svelte-14bqq8d{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.svelte-14bqq8d.svelte-14bqq8d{padding:20px 15px;max-width:unset}.MenuReturnButton.svelte-14bqq8d.svelte-14bqq8d{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton.svelte-14bqq8d svg.svelte-14bqq8d{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesTitle.svelte-14bqq8d.svelte-14bqq8d{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.svelte-14bqq8d.svelte-14bqq8d{font-size:var(--emw--size-standard, 16px)}.BonusesTitleNone.svelte-14bqq8d.svelte-14bqq8d{display:none}.BonusCalendarWrapper.svelte-14bqq8d.svelte-14bqq8d{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile.svelte-14bqq8d.svelte-14bqq8d{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer.svelte-14bqq8d.svelte-14bqq8d{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile.svelte-14bqq8d.svelte-14bqq8d{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate.svelte-14bqq8d.svelte-14bqq8d,.BonusesCalendarEndDate.svelte-14bqq8d.svelte-14bqq8d{color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile.svelte-14bqq8d.svelte-14bqq8d,.BonusesCalendarEndDate.BonusesCalendarMobile.svelte-14bqq8d.svelte-14bqq8d{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile.svelte-14bqq8d .VaadinDatePicker.svelte-14bqq8d,.BonusesCalendarEndDate.BonusesCalendarMobile.svelte-14bqq8d .VaadinDatePicker.svelte-14bqq8d{width:100%;border-radius:var(--emw--border-radius-large, 20px)}.BonusesCalendarStartDate.svelte-14bqq8d label.svelte-14bqq8d,.BonusesCalendarEndDate.svelte-14bqq8d label.svelte-14bqq8d{font-size:var(--emw--font-size-small, 14px);font-weight:300}.BonusesCalendarFilter.svelte-14bqq8d.svelte-14bqq8d{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.svelte-14bqq8d.svelte-14bqq8d{width:100%;height:44px}.BonusesCalendarFilter.svelte-14bqq8d.svelte-14bqq8d:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesGrid.svelte-14bqq8d.svelte-14bqq8d{display:grid;grid-template-columns:1fr 1fr;gap:50px;border-radius:var(--emw--border-radius-large, 20px)}.BonusesGrid.BonusesGridMobile.svelte-14bqq8d.svelte-14bqq8d{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper.svelte-14bqq8d.svelte-14bqq8d{margin:40px 0;display:flex;justify-content:center}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile.svelte-14bqq8d.svelte-14bqq8d{text-align:center}.BonusesPaginationWrapper.svelte-14bqq8d .BonusesFirst.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesPrev.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesNext.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesLast.svelte-14bqq8d{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.svelte-14bqq8d .BonusesFirst.Inactive.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesPrev.Inactive.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesNext.Inactive.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesLast.Inactive.svelte-14bqq8d{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper.svelte-14bqq8d .BonusesPage.svelte-14bqq8d{margin:0 5px;color:var(--emw--color-typography-cotrast, #444444);font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper.svelte-14bqq8d .BonusesPage.BonusPageActive.svelte-14bqq8d{background-color:var(--emw--color-white, #FFFFFF);font-weight:var(--emw--font-weight-bold, 700)}");
|
|
85
|
+
}
|
|
86
|
+
function re(t, e, s) {
|
|
87
|
+
const l = t.slice();
|
|
88
|
+
return l[42] = e[s], l[44] = s, l;
|
|
89
|
+
}
|
|
90
|
+
function ie(t, e, s) {
|
|
91
|
+
const l = t.slice();
|
|
92
|
+
return l[45] = e[s], l;
|
|
93
|
+
}
|
|
94
|
+
function Ne(t) {
|
|
95
|
+
let e, s, l, n = (
|
|
96
|
+
/*$_*/
|
|
97
|
+
t[15]("titleBonusesHistory") + ""
|
|
98
|
+
), r, a, v, i, b, _, c = (
|
|
99
|
+
/*$_*/
|
|
100
|
+
t[15]("dateFrom") + ""
|
|
101
|
+
), g, H, h, w, F, M, S = (
|
|
102
|
+
/*$_*/
|
|
103
|
+
t[15]("dateTo") + ""
|
|
104
|
+
), z, D, m, q, k, f = (
|
|
105
|
+
/*$_*/
|
|
106
|
+
t[15]("dateFilter") + ""
|
|
107
|
+
), R, $, G, A, X, x, j = (
|
|
108
|
+
/*isMobile*/
|
|
109
|
+
t[16] && ze(t)
|
|
110
|
+
);
|
|
111
|
+
function ee(B, P) {
|
|
112
|
+
return (
|
|
113
|
+
/*bonusesList*/
|
|
114
|
+
B[14].length === 0 ? je : Re
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
let Z = ee(t), W = Z(t), C = (
|
|
118
|
+
/*bonusesList*/
|
|
119
|
+
t[14].length !== 0 && de(t)
|
|
120
|
+
);
|
|
121
|
+
return {
|
|
122
|
+
c() {
|
|
123
|
+
e = y("div"), j && j.c(), s = E(), l = y("h2"), r = L(n), a = E(), v = y("div"), i = y("div"), b = y("div"), _ = y("label"), g = L(c), H = E(), h = y("vaadin-date-picker"), w = E(), F = y("div"), M = y("label"), z = L(S), D = E(), m = y("vaadin-date-picker"), q = E(), k = y("button"), R = L(f), $ = E(), G = y("div"), W.c(), A = E(), C && C.c(), p(l, "class", "BonusesTitle " + /*isMobile*/
|
|
124
|
+
(t[16] ? "BonusesTitleNone" : "") + " svelte-14bqq8d"), p(l, "part", "BonusesTitle " + /*isMobile*/
|
|
125
|
+
(t[16] ? "BonusesTitleNone" : "")), p(_, "for", "BonusCalendarStartDate"), p(_, "class", "svelte-14bqq8d"), o(
|
|
126
|
+
h,
|
|
127
|
+
"max",
|
|
128
|
+
/*maxDate*/
|
|
129
|
+
t[7]
|
|
130
|
+
), o(
|
|
131
|
+
h,
|
|
132
|
+
"value",
|
|
133
|
+
/*lastMonth*/
|
|
134
|
+
t[8]
|
|
135
|
+
), o(h, "placeholder", "From"), o(h, "class", "VaadinDatePicker svelte-14bqq8d"), p(b, "class", "BonusesCalendarStartDate " + /*isMobile*/
|
|
136
|
+
(t[16] ? "BonusesCalendarMobile" : "") + " svelte-14bqq8d"), p(M, "for", "BonusesCalendarEndDate"), p(M, "class", "svelte-14bqq8d"), o(
|
|
137
|
+
m,
|
|
138
|
+
"max",
|
|
139
|
+
/*maxDate*/
|
|
140
|
+
t[7]
|
|
141
|
+
), o(
|
|
142
|
+
m,
|
|
143
|
+
"value",
|
|
144
|
+
/*maxDate*/
|
|
145
|
+
t[7]
|
|
146
|
+
), o(m, "placeholder", "To"), o(m, "class", "VaadinDatePicker svelte-14bqq8d"), p(F, "class", "BonusesCalendarEndDate " + /*isMobile*/
|
|
147
|
+
(t[16] ? "BonusesCalendarMobile" : "") + " svelte-14bqq8d"), p(i, "class", "BonusesCalendarContainer " + /*isMobile*/
|
|
148
|
+
(t[16] ? "BonusesCalendarContainerMobile" : "") + " svelte-14bqq8d"), p(k, "class", "BonusesCalendarFilter " + /*isMobile*/
|
|
149
|
+
(t[16] ? "BonusesCalendarFilterMobile" : "") + " svelte-14bqq8d"), p(v, "class", "BonusCalendarWrapper " + /*isMobile*/
|
|
150
|
+
(t[16] ? "BonusCalendarWrapperMobile" : "") + " svelte-14bqq8d"), p(G, "class", "BonusesGrid " + /*isMobile*/
|
|
151
|
+
(t[16] ? "BonusesGridMobile" : "") + " svelte-14bqq8d"), p(e, "class", "BonusesWrapper " + /*isMobile*/
|
|
152
|
+
(t[16] ? "BonusesWrapperMobile" : "") + " svelte-14bqq8d");
|
|
153
|
+
},
|
|
154
|
+
m(B, P) {
|
|
155
|
+
I(B, e, P), j && j.m(e, null), d(e, s), d(e, l), d(l, r), d(e, a), d(e, v), d(v, i), d(i, b), d(b, _), d(_, g), d(b, H), d(b, h), t[23](h), d(i, w), d(i, F), d(F, M), d(M, z), d(F, D), d(F, m), t[24](m), d(v, q), d(v, k), d(k, R), d(e, $), d(e, G), W.m(G, null), d(e, A), C && C.m(e, null), X || (x = K(
|
|
156
|
+
k,
|
|
157
|
+
"click",
|
|
158
|
+
/*click_handler_1*/
|
|
159
|
+
t[25]
|
|
160
|
+
), X = !0);
|
|
161
|
+
},
|
|
162
|
+
p(B, P) {
|
|
163
|
+
/*isMobile*/
|
|
164
|
+
B[16] && j.p(B, P), P[0] & /*$_*/
|
|
165
|
+
32768 && n !== (n = /*$_*/
|
|
166
|
+
B[15]("titleBonusesHistory") + "") && Q(r, n), P[0] & /*$_*/
|
|
167
|
+
32768 && c !== (c = /*$_*/
|
|
168
|
+
B[15]("dateFrom") + "") && Q(g, c), P[0] & /*maxDate*/
|
|
169
|
+
128 && o(
|
|
170
|
+
h,
|
|
171
|
+
"max",
|
|
172
|
+
/*maxDate*/
|
|
173
|
+
B[7]
|
|
174
|
+
), P[0] & /*lastMonth*/
|
|
175
|
+
256 && o(
|
|
176
|
+
h,
|
|
177
|
+
"value",
|
|
178
|
+
/*lastMonth*/
|
|
179
|
+
B[8]
|
|
180
|
+
), P[0] & /*$_*/
|
|
181
|
+
32768 && S !== (S = /*$_*/
|
|
182
|
+
B[15]("dateTo") + "") && Q(z, S), P[0] & /*maxDate*/
|
|
183
|
+
128 && o(
|
|
184
|
+
m,
|
|
185
|
+
"max",
|
|
186
|
+
/*maxDate*/
|
|
187
|
+
B[7]
|
|
188
|
+
), P[0] & /*maxDate*/
|
|
189
|
+
128 && o(
|
|
190
|
+
m,
|
|
191
|
+
"value",
|
|
192
|
+
/*maxDate*/
|
|
193
|
+
B[7]
|
|
194
|
+
), P[0] & /*$_*/
|
|
195
|
+
32768 && f !== (f = /*$_*/
|
|
196
|
+
B[15]("dateFilter") + "") && Q(R, f), Z === (Z = ee(B)) && W ? W.p(B, P) : (W.d(1), W = Z(B), W && (W.c(), W.m(G, null))), /*bonusesList*/
|
|
197
|
+
B[14].length !== 0 ? C ? C.p(B, P) : (C = de(B), C.c(), C.m(e, null)) : C && (C.d(1), C = null);
|
|
198
|
+
},
|
|
199
|
+
d(B) {
|
|
200
|
+
B && N(e), j && j.d(), t[23](null), t[24](null), W.d(), C && C.d(), X = !1, x();
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
function ze(t) {
|
|
205
|
+
let e, s, l, n, r, a, v, i, b, _, c = (
|
|
206
|
+
/*$_*/
|
|
207
|
+
t[15]("titleBonusesHistory") + ""
|
|
208
|
+
), g, H, h;
|
|
209
|
+
return {
|
|
210
|
+
c() {
|
|
211
|
+
e = y("div"), s = J("svg"), l = J("defs"), n = J("style"), r = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = J("g"), v = J("g"), i = J("path"), b = E(), _ = y("h2"), g = L(c), p(i, "class", "aaa"), p(i, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), p(i, "transform", "translate(15 15) rotate(180)"), p(v, "transform", "translate(20 158)"), p(a, "transform", "translate(-20 -158)"), p(s, "xmlns", "http://www.w3.org/2000/svg"), p(s, "width", "15"), p(s, "height", "15"), p(s, "viewBox", "0 0 15 15"), p(s, "class", "svelte-14bqq8d"), p(_, "class", "BonusesTitleMobile svelte-14bqq8d"), p(e, "class", "MenuReturnButton svelte-14bqq8d");
|
|
212
|
+
},
|
|
213
|
+
m(w, F) {
|
|
214
|
+
I(w, e, F), d(e, s), d(s, l), d(l, n), d(n, r), d(s, a), d(a, v), d(v, i), d(e, b), d(e, _), d(_, g), H || (h = K(
|
|
215
|
+
e,
|
|
216
|
+
"click",
|
|
217
|
+
/*click_handler*/
|
|
218
|
+
t[22]
|
|
219
|
+
), H = !0);
|
|
220
|
+
},
|
|
221
|
+
p(w, F) {
|
|
222
|
+
F[0] & /*$_*/
|
|
223
|
+
32768 && c !== (c = /*$_*/
|
|
224
|
+
w[15]("titleBonusesHistory") + "") && Q(g, c);
|
|
225
|
+
},
|
|
226
|
+
d(w) {
|
|
227
|
+
w && N(e), H = !1, h();
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
function Re(t) {
|
|
232
|
+
let e, s = te(
|
|
233
|
+
/*bonusesList*/
|
|
234
|
+
t[14]
|
|
235
|
+
), l = [];
|
|
236
|
+
for (let n = 0; n < s.length; n += 1)
|
|
237
|
+
l[n] = ue(ie(t, s, n));
|
|
238
|
+
return {
|
|
239
|
+
c() {
|
|
240
|
+
for (let n = 0; n < l.length; n += 1)
|
|
241
|
+
l[n].c();
|
|
242
|
+
e = pe();
|
|
243
|
+
},
|
|
244
|
+
m(n, r) {
|
|
245
|
+
for (let a = 0; a < l.length; a += 1)
|
|
246
|
+
l[a] && l[a].m(n, r);
|
|
247
|
+
I(n, e, r);
|
|
248
|
+
},
|
|
249
|
+
p(n, r) {
|
|
250
|
+
if (r[0] & /*bonusesList, lang, clientstyling, clientstylingurl, translationurl*/
|
|
251
|
+
16399) {
|
|
252
|
+
s = te(
|
|
253
|
+
/*bonusesList*/
|
|
254
|
+
n[14]
|
|
255
|
+
);
|
|
256
|
+
let a;
|
|
257
|
+
for (a = 0; a < s.length; a += 1) {
|
|
258
|
+
const v = ie(n, s, a);
|
|
259
|
+
l[a] ? l[a].p(v, r) : (l[a] = ue(v), l[a].c(), l[a].m(e.parentNode, e));
|
|
260
|
+
}
|
|
261
|
+
for (; a < l.length; a += 1)
|
|
262
|
+
l[a].d(1);
|
|
263
|
+
l.length = s.length;
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
d(n) {
|
|
267
|
+
n && N(e), be(l, n);
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
function je(t) {
|
|
272
|
+
let e, s = (
|
|
273
|
+
/*$_*/
|
|
274
|
+
t[15]("noBonusHistory") + ""
|
|
275
|
+
), l;
|
|
276
|
+
return {
|
|
277
|
+
c() {
|
|
278
|
+
e = y("p"), l = L(s);
|
|
279
|
+
},
|
|
280
|
+
m(n, r) {
|
|
281
|
+
I(n, e, r), d(e, l);
|
|
282
|
+
},
|
|
283
|
+
p(n, r) {
|
|
284
|
+
r[0] & /*$_*/
|
|
285
|
+
32768 && s !== (s = /*$_*/
|
|
286
|
+
n[15]("noBonusHistory") + "") && Q(l, s);
|
|
287
|
+
},
|
|
288
|
+
d(n) {
|
|
289
|
+
n && N(e);
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
function Ye(t) {
|
|
294
|
+
let e, s, l, n, r, a, v, i, b, _;
|
|
295
|
+
return {
|
|
296
|
+
c() {
|
|
297
|
+
e = y("player-bonus-card"), o(e, "bonuswalletid", s = /*bonus*/
|
|
298
|
+
t[45].walletId), o(e, "bonusdate", l = /*bonus*/
|
|
299
|
+
t[45].granted), o(e, "bonusstatus", n = /*bonus*/
|
|
300
|
+
t[45].status), o(e, "bonusname", r = /*bonus*/
|
|
301
|
+
t[45].name), o(e, "bonustype", a = /*bonus*/
|
|
302
|
+
t[45].type), o(e, "bonusamount", v = /*bonus*/
|
|
303
|
+
t[45].extension.grantedPlayerCurrencyAmount), o(e, "bonuswageringamount", i = `${/*bonus*/
|
|
304
|
+
t[45].fulfilledWR} / ${/*bonus*/
|
|
305
|
+
t[45].originalWageringRequirement}`), o(e, "bonusremainingamount", b = /*bonus*/
|
|
306
|
+
t[45].currentAmount), o(e, "bonuscurrency", _ = /*bonus*/
|
|
307
|
+
t[45].currency), o(
|
|
308
|
+
e,
|
|
309
|
+
"lang",
|
|
310
|
+
/*lang*/
|
|
311
|
+
t[0]
|
|
312
|
+
), o(
|
|
313
|
+
e,
|
|
314
|
+
"clientstyling",
|
|
315
|
+
/*clientstyling*/
|
|
316
|
+
t[1]
|
|
317
|
+
), o(
|
|
318
|
+
e,
|
|
319
|
+
"clientstylingurl",
|
|
320
|
+
/*clientstylingurl*/
|
|
321
|
+
t[2]
|
|
322
|
+
), o(
|
|
323
|
+
e,
|
|
324
|
+
"translationurl",
|
|
325
|
+
/*translationurl*/
|
|
326
|
+
t[3]
|
|
327
|
+
);
|
|
328
|
+
},
|
|
329
|
+
m(c, g) {
|
|
330
|
+
I(c, e, g);
|
|
331
|
+
},
|
|
332
|
+
p(c, g) {
|
|
333
|
+
g[0] & /*bonusesList*/
|
|
334
|
+
16384 && s !== (s = /*bonus*/
|
|
335
|
+
c[45].walletId) && o(e, "bonuswalletid", s), g[0] & /*bonusesList*/
|
|
336
|
+
16384 && l !== (l = /*bonus*/
|
|
337
|
+
c[45].granted) && o(e, "bonusdate", l), g[0] & /*bonusesList*/
|
|
338
|
+
16384 && n !== (n = /*bonus*/
|
|
339
|
+
c[45].status) && o(e, "bonusstatus", n), g[0] & /*bonusesList*/
|
|
340
|
+
16384 && r !== (r = /*bonus*/
|
|
341
|
+
c[45].name) && o(e, "bonusname", r), g[0] & /*bonusesList*/
|
|
342
|
+
16384 && a !== (a = /*bonus*/
|
|
343
|
+
c[45].type) && o(e, "bonustype", a), g[0] & /*bonusesList*/
|
|
344
|
+
16384 && v !== (v = /*bonus*/
|
|
345
|
+
c[45].extension.grantedPlayerCurrencyAmount) && o(e, "bonusamount", v), g[0] & /*bonusesList*/
|
|
346
|
+
16384 && i !== (i = `${/*bonus*/
|
|
347
|
+
c[45].fulfilledWR} / ${/*bonus*/
|
|
348
|
+
c[45].originalWageringRequirement}`) && o(e, "bonuswageringamount", i), g[0] & /*bonusesList*/
|
|
349
|
+
16384 && b !== (b = /*bonus*/
|
|
350
|
+
c[45].currentAmount) && o(e, "bonusremainingamount", b), g[0] & /*bonusesList*/
|
|
351
|
+
16384 && _ !== (_ = /*bonus*/
|
|
352
|
+
c[45].currency) && o(e, "bonuscurrency", _), g[0] & /*lang*/
|
|
353
|
+
1 && o(
|
|
354
|
+
e,
|
|
355
|
+
"lang",
|
|
356
|
+
/*lang*/
|
|
357
|
+
c[0]
|
|
358
|
+
), g[0] & /*clientstyling*/
|
|
359
|
+
2 && o(
|
|
360
|
+
e,
|
|
361
|
+
"clientstyling",
|
|
362
|
+
/*clientstyling*/
|
|
363
|
+
c[1]
|
|
364
|
+
), g[0] & /*clientstylingurl*/
|
|
365
|
+
4 && o(
|
|
366
|
+
e,
|
|
367
|
+
"clientstylingurl",
|
|
368
|
+
/*clientstylingurl*/
|
|
369
|
+
c[2]
|
|
370
|
+
), g[0] & /*translationurl*/
|
|
371
|
+
8 && o(
|
|
372
|
+
e,
|
|
373
|
+
"translationurl",
|
|
374
|
+
/*translationurl*/
|
|
375
|
+
c[3]
|
|
376
|
+
);
|
|
377
|
+
},
|
|
378
|
+
d(c) {
|
|
379
|
+
c && N(e);
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
function Ge(t) {
|
|
384
|
+
let e, s, l, n, r, a, v;
|
|
385
|
+
return {
|
|
386
|
+
c() {
|
|
387
|
+
e = y("player-bonus-card"), o(e, "bonuswalletid", s = /*bonus*/
|
|
388
|
+
t[45].walletId), o(e, "bonusdate", l = /*bonus*/
|
|
389
|
+
t[45].granted), o(e, "bonusstatus", n = /*bonus*/
|
|
390
|
+
t[45].status), o(e, "bonusname", r = /*bonus*/
|
|
391
|
+
t[45].name), o(e, "bonustype", a = /*bonus*/
|
|
392
|
+
t[45].type), o(e, "bonuscurrency", v = /*bonus*/
|
|
393
|
+
t[45].currency), o(
|
|
394
|
+
e,
|
|
395
|
+
"lang",
|
|
396
|
+
/*lang*/
|
|
397
|
+
t[0]
|
|
398
|
+
), o(
|
|
399
|
+
e,
|
|
400
|
+
"clientstyling",
|
|
401
|
+
/*clientstyling*/
|
|
402
|
+
t[1]
|
|
403
|
+
), o(
|
|
404
|
+
e,
|
|
405
|
+
"clientstylingurl",
|
|
406
|
+
/*clientstylingurl*/
|
|
407
|
+
t[2]
|
|
408
|
+
), o(
|
|
409
|
+
e,
|
|
410
|
+
"translationurl",
|
|
411
|
+
/*translationurl*/
|
|
412
|
+
t[3]
|
|
413
|
+
);
|
|
414
|
+
},
|
|
415
|
+
m(i, b) {
|
|
416
|
+
I(i, e, b);
|
|
417
|
+
},
|
|
418
|
+
p(i, b) {
|
|
419
|
+
b[0] & /*bonusesList*/
|
|
420
|
+
16384 && s !== (s = /*bonus*/
|
|
421
|
+
i[45].walletId) && o(e, "bonuswalletid", s), b[0] & /*bonusesList*/
|
|
422
|
+
16384 && l !== (l = /*bonus*/
|
|
423
|
+
i[45].granted) && o(e, "bonusdate", l), b[0] & /*bonusesList*/
|
|
424
|
+
16384 && n !== (n = /*bonus*/
|
|
425
|
+
i[45].status) && o(e, "bonusstatus", n), b[0] & /*bonusesList*/
|
|
426
|
+
16384 && r !== (r = /*bonus*/
|
|
427
|
+
i[45].name) && o(e, "bonusname", r), b[0] & /*bonusesList*/
|
|
428
|
+
16384 && a !== (a = /*bonus*/
|
|
429
|
+
i[45].type) && o(e, "bonustype", a), b[0] & /*bonusesList*/
|
|
430
|
+
16384 && v !== (v = /*bonus*/
|
|
431
|
+
i[45].currency) && o(e, "bonuscurrency", v), b[0] & /*lang*/
|
|
432
|
+
1 && o(
|
|
433
|
+
e,
|
|
434
|
+
"lang",
|
|
435
|
+
/*lang*/
|
|
436
|
+
i[0]
|
|
437
|
+
), b[0] & /*clientstyling*/
|
|
438
|
+
2 && o(
|
|
439
|
+
e,
|
|
440
|
+
"clientstyling",
|
|
441
|
+
/*clientstyling*/
|
|
442
|
+
i[1]
|
|
443
|
+
), b[0] & /*clientstylingurl*/
|
|
444
|
+
4 && o(
|
|
445
|
+
e,
|
|
446
|
+
"clientstylingurl",
|
|
447
|
+
/*clientstylingurl*/
|
|
448
|
+
i[2]
|
|
449
|
+
), b[0] & /*translationurl*/
|
|
450
|
+
8 && o(
|
|
451
|
+
e,
|
|
452
|
+
"translationurl",
|
|
453
|
+
/*translationurl*/
|
|
454
|
+
i[3]
|
|
455
|
+
);
|
|
456
|
+
},
|
|
457
|
+
d(i) {
|
|
458
|
+
i && N(e);
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
function ue(t) {
|
|
463
|
+
let e;
|
|
464
|
+
function s(r, a) {
|
|
465
|
+
return (
|
|
466
|
+
/*bonus*/
|
|
467
|
+
r[45].type === "freeRound" ? Ge : Ye
|
|
468
|
+
);
|
|
469
|
+
}
|
|
470
|
+
let l = s(t), n = l(t);
|
|
471
|
+
return {
|
|
472
|
+
c() {
|
|
473
|
+
n.c(), e = pe();
|
|
474
|
+
},
|
|
475
|
+
m(r, a) {
|
|
476
|
+
n.m(r, a), I(r, e, a);
|
|
477
|
+
},
|
|
478
|
+
p(r, a) {
|
|
479
|
+
l === (l = s(r)) && n ? n.p(r, a) : (n.d(1), n = l(r), n && (n.c(), n.m(e.parentNode, e)));
|
|
480
|
+
},
|
|
481
|
+
d(r) {
|
|
482
|
+
r && N(e), n.d(r);
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
function de(t) {
|
|
487
|
+
let e, s, l, n, r, a, v, i, b, _, c, g, H, h, w, F, M, S, z, D = te(Array(
|
|
488
|
+
/*numberOfPages*/
|
|
489
|
+
t[12]
|
|
490
|
+
)), m = [];
|
|
491
|
+
for (let q = 0; q < D.length; q += 1)
|
|
492
|
+
m[q] = ce(re(t, D, q));
|
|
493
|
+
return {
|
|
494
|
+
c() {
|
|
495
|
+
e = y("div"), s = y("span"), l = L("|<"), r = E(), a = y("span"), v = L("<"), b = E();
|
|
496
|
+
for (let q = 0; q < m.length; q += 1)
|
|
497
|
+
m[q].c();
|
|
498
|
+
_ = E(), c = y("span"), g = L(">"), h = E(), w = y("span"), F = L(">|"), p(s, "class", n = "BonusesFirst " + /*currentPage*/
|
|
499
|
+
(t[13] === 0 ? "Inactive" : "") + " svelte-14bqq8d"), p(a, "class", i = "BonusesPrev " + /*currentPage*/
|
|
500
|
+
(t[13] === 0 ? "Inactive" : "") + " svelte-14bqq8d"), p(c, "class", H = "BonusesNext " + /*currentPage*/
|
|
501
|
+
(t[13] === /*numberOfPages*/
|
|
502
|
+
t[12] - 1 ? "Inactive" : "") + " svelte-14bqq8d"), p(w, "class", M = "BonusesLast " + /*currentPage*/
|
|
503
|
+
(t[13] === /*numberOfPages*/
|
|
504
|
+
t[12] - 1 ? "Inactive" : "") + " svelte-14bqq8d"), p(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
505
|
+
(t[16] ? "BonusesPaginationWrapperMobile" : "") + " svelte-14bqq8d");
|
|
506
|
+
},
|
|
507
|
+
m(q, k) {
|
|
508
|
+
I(q, e, k), d(e, s), d(s, l), d(e, r), d(e, a), d(a, v), d(e, b);
|
|
509
|
+
for (let f = 0; f < m.length; f += 1)
|
|
510
|
+
m[f] && m[f].m(e, null);
|
|
511
|
+
d(e, _), d(e, c), d(c, g), d(e, h), d(e, w), d(w, F), S || (z = [
|
|
512
|
+
K(
|
|
513
|
+
s,
|
|
514
|
+
"click",
|
|
515
|
+
/*click_handler_2*/
|
|
516
|
+
t[26]
|
|
517
|
+
),
|
|
518
|
+
K(
|
|
519
|
+
a,
|
|
520
|
+
"click",
|
|
521
|
+
/*click_handler_3*/
|
|
522
|
+
t[27]
|
|
523
|
+
),
|
|
524
|
+
K(
|
|
525
|
+
c,
|
|
526
|
+
"click",
|
|
527
|
+
/*click_handler_5*/
|
|
528
|
+
t[29]
|
|
529
|
+
),
|
|
530
|
+
K(
|
|
531
|
+
w,
|
|
532
|
+
"click",
|
|
533
|
+
/*click_handler_6*/
|
|
534
|
+
t[30]
|
|
535
|
+
)
|
|
536
|
+
], S = !0);
|
|
537
|
+
},
|
|
538
|
+
p(q, k) {
|
|
539
|
+
if (k[0] & /*currentPage*/
|
|
540
|
+
8192 && n !== (n = "BonusesFirst " + /*currentPage*/
|
|
541
|
+
(q[13] === 0 ? "Inactive" : "") + " svelte-14bqq8d") && p(s, "class", n), k[0] & /*currentPage*/
|
|
542
|
+
8192 && i !== (i = "BonusesPrev " + /*currentPage*/
|
|
543
|
+
(q[13] === 0 ? "Inactive" : "") + " svelte-14bqq8d") && p(a, "class", i), k[0] & /*currentPage, getBonuses, numberOfPages*/
|
|
544
|
+
274432) {
|
|
545
|
+
D = te(Array(
|
|
546
|
+
/*numberOfPages*/
|
|
547
|
+
q[12]
|
|
548
|
+
));
|
|
549
|
+
let f;
|
|
550
|
+
for (f = 0; f < D.length; f += 1) {
|
|
551
|
+
const R = re(q, D, f);
|
|
552
|
+
m[f] ? m[f].p(R, k) : (m[f] = ce(R), m[f].c(), m[f].m(e, _));
|
|
553
|
+
}
|
|
554
|
+
for (; f < m.length; f += 1)
|
|
555
|
+
m[f].d(1);
|
|
556
|
+
m.length = D.length;
|
|
557
|
+
}
|
|
558
|
+
k[0] & /*currentPage, numberOfPages*/
|
|
559
|
+
12288 && H !== (H = "BonusesNext " + /*currentPage*/
|
|
560
|
+
(q[13] === /*numberOfPages*/
|
|
561
|
+
q[12] - 1 ? "Inactive" : "") + " svelte-14bqq8d") && p(c, "class", H), k[0] & /*currentPage, numberOfPages*/
|
|
562
|
+
12288 && M !== (M = "BonusesLast " + /*currentPage*/
|
|
563
|
+
(q[13] === /*numberOfPages*/
|
|
564
|
+
q[12] - 1 ? "Inactive" : "") + " svelte-14bqq8d") && p(w, "class", M);
|
|
565
|
+
},
|
|
566
|
+
d(q) {
|
|
567
|
+
q && N(e), be(m, q), S = !1, Se(z);
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
function ce(t) {
|
|
572
|
+
let e, s = (
|
|
573
|
+
/*i*/
|
|
574
|
+
t[44] + 1 + ""
|
|
575
|
+
), l, n, r, a;
|
|
576
|
+
function v() {
|
|
577
|
+
return (
|
|
578
|
+
/*click_handler_4*/
|
|
579
|
+
t[28](
|
|
580
|
+
/*i*/
|
|
581
|
+
t[44]
|
|
582
|
+
)
|
|
583
|
+
);
|
|
584
|
+
}
|
|
585
|
+
return {
|
|
586
|
+
c() {
|
|
587
|
+
e = y("span"), l = L(s), p(e, "class", n = "BonusesPage " + /*i*/
|
|
588
|
+
(t[44] === /*currentPage*/
|
|
589
|
+
t[13] ? "BonusPageActive" : "") + " svelte-14bqq8d");
|
|
590
|
+
},
|
|
591
|
+
m(i, b) {
|
|
592
|
+
I(i, e, b), d(e, l), r || (a = K(e, "click", v), r = !0);
|
|
593
|
+
},
|
|
594
|
+
p(i, b) {
|
|
595
|
+
t = i, b[0] & /*currentPage*/
|
|
596
|
+
8192 && n !== (n = "BonusesPage " + /*i*/
|
|
597
|
+
(t[44] === /*currentPage*/
|
|
598
|
+
t[13] ? "BonusPageActive" : "") + " svelte-14bqq8d") && p(e, "class", n);
|
|
599
|
+
},
|
|
600
|
+
d(i) {
|
|
601
|
+
i && N(e), r = !1, a();
|
|
602
|
+
}
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
function Oe(t) {
|
|
606
|
+
let e;
|
|
607
|
+
function s(r, a) {
|
|
608
|
+
return Ne;
|
|
609
|
+
}
|
|
610
|
+
let n = s()(t);
|
|
611
|
+
return {
|
|
612
|
+
c() {
|
|
613
|
+
e = y("div"), n.c();
|
|
614
|
+
},
|
|
615
|
+
m(r, a) {
|
|
616
|
+
I(r, e, a), n.m(e, null), t[31](e);
|
|
617
|
+
},
|
|
618
|
+
p(r, a) {
|
|
619
|
+
n.p(r, a);
|
|
620
|
+
},
|
|
621
|
+
i: se,
|
|
622
|
+
o: se,
|
|
623
|
+
d(r) {
|
|
624
|
+
r && N(e), n.d(), t[31](null);
|
|
625
|
+
}
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
let Y = 6;
|
|
629
|
+
function Ve(t, e, s) {
|
|
630
|
+
let l;
|
|
631
|
+
Te(t, Le, (u) => s(15, l = u));
|
|
632
|
+
let { endpoint: n = "" } = e, { session: r = "" } = e, { playerid: a = "" } = e, { lang: v = "en" } = e, { clientstyling: i = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: _ = "" } = e, c, g = window.navigator.userAgent, H = Ee(g) !== "PC", h, w, F, M;
|
|
633
|
+
F = le(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"), M = le(/* @__PURE__ */ new Date()).subtract(3, "months").format("YYYY-MM-DD");
|
|
634
|
+
let S = M, z = F, D = 0, m = 0, q = 0, k = 0, f = 0, R = [];
|
|
635
|
+
const $ = () => {
|
|
636
|
+
fetch(_).then((T) => T.json()).then((T) => {
|
|
637
|
+
Object.keys(T).forEach((O) => {
|
|
638
|
+
ae(O, T[O]);
|
|
639
|
+
});
|
|
640
|
+
}).catch((T) => {
|
|
641
|
+
console.log(T);
|
|
642
|
+
});
|
|
643
|
+
};
|
|
644
|
+
Object.keys(oe).forEach((u) => {
|
|
645
|
+
ae(u, oe[u]);
|
|
646
|
+
});
|
|
647
|
+
const G = () => {
|
|
648
|
+
window.postMessage(
|
|
649
|
+
{
|
|
650
|
+
type: "PlayerAccountMenuActive",
|
|
651
|
+
isMobile: H
|
|
652
|
+
},
|
|
653
|
+
window.location.href
|
|
654
|
+
);
|
|
655
|
+
}, A = (u) => {
|
|
656
|
+
let T = new URL(`${n}/v1/player/${a}/bonusWallet`), O = new Date(S).toISOString(), ye = new Date(z).toISOString(), he = `status=closed,status=forfeited,status=released,status=expired,type=standard,type=freeround,type=freebet,granted=[${O}~${ye}]`;
|
|
657
|
+
T.searchParams.append("filter", he), T.searchParams.append("pagination", `offset=${u},limit=${Y}`);
|
|
658
|
+
let we = {
|
|
659
|
+
method: "GET",
|
|
660
|
+
headers: { "X-SessionId": r }
|
|
661
|
+
};
|
|
662
|
+
fetch(T.href, we).then((V) => V.json()).then(
|
|
663
|
+
(V) => {
|
|
664
|
+
s(12, k = Math.ceil(V.total / Y)), u - Y >= 0 && s(9, D = u - Y), u + Y < V.total && s(10, m = u + Y), s(11, q = (k - 1) * Y), s(13, f = u / Y), s(14, R = V.items);
|
|
665
|
+
},
|
|
666
|
+
(V) => {
|
|
667
|
+
console.error(V);
|
|
668
|
+
}
|
|
669
|
+
), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
670
|
+
}, X = (u) => {
|
|
671
|
+
S = u.target.value;
|
|
672
|
+
}, x = (u) => {
|
|
673
|
+
z = u.target.value;
|
|
674
|
+
}, j = () => {
|
|
675
|
+
h.addEventListener("change", X, !1), w.addEventListener("change", x, !1);
|
|
676
|
+
};
|
|
677
|
+
We(() => () => {
|
|
678
|
+
h.removeEventListener("change", X), w.removeEventListener("change", x);
|
|
679
|
+
});
|
|
680
|
+
const ee = () => {
|
|
681
|
+
Ae(v);
|
|
682
|
+
}, Z = () => {
|
|
683
|
+
let u = document.createElement("style");
|
|
684
|
+
u.innerHTML = i, c.appendChild(u);
|
|
685
|
+
}, W = () => {
|
|
686
|
+
let u = new URL(b), T = document.createElement("style");
|
|
687
|
+
fetch(u.href).then((O) => O.text()).then((O) => {
|
|
688
|
+
T.innerHTML = O, setTimeout(
|
|
689
|
+
() => {
|
|
690
|
+
c.appendChild(T);
|
|
691
|
+
},
|
|
692
|
+
1
|
|
693
|
+
);
|
|
694
|
+
});
|
|
695
|
+
}, C = () => G();
|
|
696
|
+
function B(u) {
|
|
697
|
+
ne[u ? "unshift" : "push"](() => {
|
|
698
|
+
h = u, s(5, h);
|
|
699
|
+
});
|
|
700
|
+
}
|
|
701
|
+
function P(u) {
|
|
702
|
+
ne[u ? "unshift" : "push"](() => {
|
|
703
|
+
w = u, s(6, w);
|
|
704
|
+
});
|
|
705
|
+
}
|
|
706
|
+
const ve = () => A(0), me = () => A(0), qe = () => A(D), ge = (u) => A(u * Y), fe = () => A(m), _e = () => A(q);
|
|
707
|
+
function Be(u) {
|
|
708
|
+
ne[u ? "unshift" : "push"](() => {
|
|
709
|
+
c = u, s(4, c);
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
return t.$$set = (u) => {
|
|
713
|
+
"endpoint" in u && s(19, n = u.endpoint), "session" in u && s(20, r = u.session), "playerid" in u && s(21, a = u.playerid), "lang" in u && s(0, v = u.lang), "clientstyling" in u && s(1, i = u.clientstyling), "clientstylingurl" in u && s(2, b = u.clientstylingurl), "translationurl" in u && s(3, _ = u.translationurl);
|
|
714
|
+
}, t.$$.update = () => {
|
|
715
|
+
t.$$.dirty[0] & /*lang*/
|
|
716
|
+
1 && v && ee(), t.$$.dirty[0] & /*startCalendar, endCalendar*/
|
|
717
|
+
96 && h && w && j(), t.$$.dirty[0] & /*session, playerid, endpoint*/
|
|
718
|
+
3670016 && r && a && n && A(0), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
719
|
+
20 && b && c && W(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
720
|
+
18 && i && c && Z(), t.$$.dirty[0] & /*translationurl*/
|
|
721
|
+
8 && _ && $();
|
|
722
|
+
}, [
|
|
723
|
+
v,
|
|
724
|
+
i,
|
|
725
|
+
b,
|
|
726
|
+
_,
|
|
727
|
+
c,
|
|
728
|
+
h,
|
|
729
|
+
w,
|
|
730
|
+
F,
|
|
731
|
+
M,
|
|
732
|
+
D,
|
|
733
|
+
m,
|
|
734
|
+
q,
|
|
735
|
+
k,
|
|
736
|
+
f,
|
|
737
|
+
R,
|
|
738
|
+
l,
|
|
739
|
+
H,
|
|
740
|
+
G,
|
|
741
|
+
A,
|
|
742
|
+
n,
|
|
743
|
+
r,
|
|
744
|
+
a,
|
|
745
|
+
C,
|
|
746
|
+
B,
|
|
747
|
+
P,
|
|
748
|
+
ve,
|
|
749
|
+
me,
|
|
750
|
+
qe,
|
|
751
|
+
ge,
|
|
752
|
+
fe,
|
|
753
|
+
_e,
|
|
754
|
+
Be
|
|
755
|
+
];
|
|
756
|
+
}
|
|
757
|
+
class Ue extends Ce {
|
|
758
|
+
constructor(e) {
|
|
759
|
+
super(), Pe(
|
|
760
|
+
this,
|
|
761
|
+
e,
|
|
762
|
+
Ve,
|
|
763
|
+
Oe,
|
|
764
|
+
Me,
|
|
765
|
+
{
|
|
766
|
+
endpoint: 19,
|
|
767
|
+
session: 20,
|
|
768
|
+
playerid: 21,
|
|
769
|
+
lang: 0,
|
|
770
|
+
clientstyling: 1,
|
|
771
|
+
clientstylingurl: 2,
|
|
772
|
+
translationurl: 3
|
|
773
|
+
},
|
|
774
|
+
Ie,
|
|
775
|
+
[-1, -1]
|
|
776
|
+
);
|
|
777
|
+
}
|
|
778
|
+
get endpoint() {
|
|
779
|
+
return this.$$.ctx[19];
|
|
780
|
+
}
|
|
781
|
+
set endpoint(e) {
|
|
782
|
+
this.$$set({ endpoint: e }), U();
|
|
783
|
+
}
|
|
784
|
+
get session() {
|
|
785
|
+
return this.$$.ctx[20];
|
|
786
|
+
}
|
|
787
|
+
set session(e) {
|
|
788
|
+
this.$$set({ session: e }), U();
|
|
789
|
+
}
|
|
790
|
+
get playerid() {
|
|
791
|
+
return this.$$.ctx[21];
|
|
792
|
+
}
|
|
793
|
+
set playerid(e) {
|
|
794
|
+
this.$$set({ playerid: e }), U();
|
|
795
|
+
}
|
|
796
|
+
get lang() {
|
|
797
|
+
return this.$$.ctx[0];
|
|
798
|
+
}
|
|
799
|
+
set lang(e) {
|
|
800
|
+
this.$$set({ lang: e }), U();
|
|
801
|
+
}
|
|
802
|
+
get clientstyling() {
|
|
803
|
+
return this.$$.ctx[1];
|
|
804
|
+
}
|
|
805
|
+
set clientstyling(e) {
|
|
806
|
+
this.$$set({ clientstyling: e }), U();
|
|
807
|
+
}
|
|
808
|
+
get clientstylingurl() {
|
|
809
|
+
return this.$$.ctx[2];
|
|
810
|
+
}
|
|
811
|
+
set clientstylingurl(e) {
|
|
812
|
+
this.$$set({ clientstylingurl: e }), U();
|
|
813
|
+
}
|
|
814
|
+
get translationurl() {
|
|
815
|
+
return this.$$.ctx[3];
|
|
816
|
+
}
|
|
817
|
+
set translationurl(e) {
|
|
818
|
+
this.$$set({ translationurl: e }), U();
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
He(Ue, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
822
|
+
export {
|
|
823
|
+
Ue as default
|
|
824
|
+
};
|