@everymatrix/player-account-controller 1.54.4 → 1.54.6
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/{PlayerAccountController-BZYAo3oo.js → PlayerAccountController-BEYNBwE6.js} +3 -3
- package/components/PlayerBonusHistory-bS_5m4-D.js +919 -0
- package/components/PlayerGamingHistory-ByyLQwtw.js +973 -0
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-CMFoK7_E.js → checkbox-group-input_9-i8KmOWKn.js} +2 -2
- package/stencil/{general-input-DnFPstQP.js → general-input-CQlnWzpy.js} +1 -1
- package/stencil/{index-062e829b-DAFsZs6D.js → index-062e829b-CboMDKTu.js} +4 -4
- package/stencil/{password-input_2-Bb9Q6Fe0.js → password-input_2-sxSehMYk.js} +2 -2
- package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-98dcb7bc-pj_6Z40p.js} +1 -1
- package/stencil/{player-change-password-gm2-DR3e2gh5.js → player-change-password-gm2-BaQUJaH1.js} +1 -1
- package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-Sy9vd4Jp.js} +1 -1
- package/components/PlayerBonusHistory-BxBiQwQf.js +0 -847
- package/components/PlayerGamingHistory-BtQ73TId.js +0 -922
|
@@ -0,0 +1,919 @@
|
|
|
1
|
+
import { a as Le, $ as ze, S as Ie, i as Ne, f as V, c as Ye, s as Re, b as je, e as B, k as R, o as de, p as j, q as Ge, u as Oe, v as Ve, x as le, y as qe, d as W, t as z, g as b, j as a, l as c, m as X, n as x, w as Q, K as ae, L as ye, r as Ue, B as he } from "./GeneralLogout-Ddt-oH9k.js";
|
|
2
|
+
import { h as se } from "./PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js";
|
|
3
|
+
import "./PlayerActiveBonuses-DMAG7NUP.js";
|
|
4
|
+
import "./PlayerAccountSelfExclusion-DxGHXTb8.js";
|
|
5
|
+
function ce(n, e) {
|
|
6
|
+
Le(n, e);
|
|
7
|
+
}
|
|
8
|
+
function Ze(n) {
|
|
9
|
+
ze.set(n);
|
|
10
|
+
}
|
|
11
|
+
const pe = {
|
|
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 Ke(n) {
|
|
91
|
+
je(n, "svelte-15nn5yf", ".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: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 me(n, e, t) {
|
|
94
|
+
const o = n.slice();
|
|
95
|
+
return o[47] = e[t], o[49] = t, o;
|
|
96
|
+
}
|
|
97
|
+
function fe(n, e, t) {
|
|
98
|
+
const o = n.slice();
|
|
99
|
+
return o[50] = e[t], o;
|
|
100
|
+
}
|
|
101
|
+
function Xe(n) {
|
|
102
|
+
let e, t, o, s = (
|
|
103
|
+
/*$_*/
|
|
104
|
+
n[20]("titleBonusesHistory") + ""
|
|
105
|
+
), l, r, f, i, p, v, d = (
|
|
106
|
+
/*$_*/
|
|
107
|
+
n[20]("dateFrom") + ""
|
|
108
|
+
), m, F, P, k, w, M, S = (
|
|
109
|
+
/*$_*/
|
|
110
|
+
n[20]("dateTo") + ""
|
|
111
|
+
), N, A, _, g, C, y = (
|
|
112
|
+
/*$_*/
|
|
113
|
+
n[20]("dateFilter") + ""
|
|
114
|
+
), Y, $, U, ee, J, ne, G = (
|
|
115
|
+
/*isMobile*/
|
|
116
|
+
n[21] && Je(n)
|
|
117
|
+
);
|
|
118
|
+
function te(h, D) {
|
|
119
|
+
return (
|
|
120
|
+
/*bonusesList*/
|
|
121
|
+
h[16].length === 0 ? xe : Qe
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
let T = te(n), E = T(n), H = (
|
|
125
|
+
/*bonusesList*/
|
|
126
|
+
n[16].length !== 0 && ge(n)
|
|
127
|
+
);
|
|
128
|
+
return {
|
|
129
|
+
c() {
|
|
130
|
+
e = B("div"), G && G.c(), t = W(), o = B("h2"), l = z(s), r = W(), f = B("div"), i = B("div"), p = B("div"), v = B("label"), m = z(d), F = W(), P = B("vaadin-date-picker"), k = W(), w = B("div"), M = B("label"), N = z(S), A = W(), _ = B("vaadin-date-picker"), g = W(), C = B("button"), Y = z(y), $ = W(), U = B("div"), E.c(), ee = W(), H && H.c(), b(o, "class", "BonusesTitle " + /*isMobile*/
|
|
131
|
+
(n[21] ? "BonusesTitleNone" : "")), b(o, "part", "BonusesTitle " + /*isMobile*/
|
|
132
|
+
(n[21] ? "BonusesTitleNone" : "")), b(v, "for", "BonusCalendarStartDate"), a(
|
|
133
|
+
P,
|
|
134
|
+
"max",
|
|
135
|
+
/*maxDate*/
|
|
136
|
+
n[9]
|
|
137
|
+
), a(
|
|
138
|
+
P,
|
|
139
|
+
"value",
|
|
140
|
+
/*lastMonth*/
|
|
141
|
+
n[10]
|
|
142
|
+
), a(P, "placeholder", "From"), a(P, "class", "VaadinDatePicker"), b(p, "class", "BonusesCalendarStartDate " + /*isMobile*/
|
|
143
|
+
(n[21] ? "BonusesCalendarMobile" : "")), b(M, "for", "BonusesCalendarEndDate"), a(
|
|
144
|
+
_,
|
|
145
|
+
"max",
|
|
146
|
+
/*maxDate*/
|
|
147
|
+
n[9]
|
|
148
|
+
), a(
|
|
149
|
+
_,
|
|
150
|
+
"value",
|
|
151
|
+
/*maxDate*/
|
|
152
|
+
n[9]
|
|
153
|
+
), a(_, "placeholder", "To"), a(_, "class", "VaadinDatePicker"), b(w, "class", "BonusesCalendarEndDate " + /*isMobile*/
|
|
154
|
+
(n[21] ? "BonusesCalendarMobile" : "")), b(i, "class", "BonusesCalendarContainer " + /*isMobile*/
|
|
155
|
+
(n[21] ? "BonusesCalendarContainerMobile" : "")), b(C, "class", "BonusesCalendarFilter " + /*isMobile*/
|
|
156
|
+
(n[21] ? "BonusesCalendarFilterMobile" : "")), b(f, "class", "BonusCalendarWrapper " + /*isMobile*/
|
|
157
|
+
(n[21] ? "BonusCalendarWrapperMobile" : "")), b(U, "class", "BonusesGrid " + /*isMobile*/
|
|
158
|
+
(n[21] ? "BonusesGridMobile" : "")), b(e, "class", "BonusesWrapper " + /*isMobile*/
|
|
159
|
+
(n[21] ? "BonusesWrapperMobile" : ""));
|
|
160
|
+
},
|
|
161
|
+
m(h, D) {
|
|
162
|
+
R(h, e, D), G && G.m(e, null), c(e, t), c(e, o), c(o, l), c(e, r), c(e, f), c(f, i), c(i, p), c(p, v), c(v, m), c(p, F), c(p, P), n[28](P), c(i, k), c(i, w), c(w, M), c(M, N), c(w, A), c(w, _), n[29](_), c(f, g), c(f, C), c(C, Y), c(e, $), c(e, U), E.m(U, null), c(e, ee), H && H.m(e, null), J || (ne = X(
|
|
163
|
+
C,
|
|
164
|
+
"click",
|
|
165
|
+
/*click_handler_1*/
|
|
166
|
+
n[30]
|
|
167
|
+
), J = !0);
|
|
168
|
+
},
|
|
169
|
+
p(h, D) {
|
|
170
|
+
/*isMobile*/
|
|
171
|
+
h[21] && G.p(h, D), D[0] & /*$_*/
|
|
172
|
+
1048576 && s !== (s = /*$_*/
|
|
173
|
+
h[20]("titleBonusesHistory") + "") && x(l, s), D[0] & /*$_*/
|
|
174
|
+
1048576 && d !== (d = /*$_*/
|
|
175
|
+
h[20]("dateFrom") + "") && x(m, d), D[0] & /*maxDate*/
|
|
176
|
+
512 && a(
|
|
177
|
+
P,
|
|
178
|
+
"max",
|
|
179
|
+
/*maxDate*/
|
|
180
|
+
h[9]
|
|
181
|
+
), D[0] & /*lastMonth*/
|
|
182
|
+
1024 && a(
|
|
183
|
+
P,
|
|
184
|
+
"value",
|
|
185
|
+
/*lastMonth*/
|
|
186
|
+
h[10]
|
|
187
|
+
), D[0] & /*$_*/
|
|
188
|
+
1048576 && S !== (S = /*$_*/
|
|
189
|
+
h[20]("dateTo") + "") && x(N, S), D[0] & /*maxDate*/
|
|
190
|
+
512 && a(
|
|
191
|
+
_,
|
|
192
|
+
"max",
|
|
193
|
+
/*maxDate*/
|
|
194
|
+
h[9]
|
|
195
|
+
), D[0] & /*maxDate*/
|
|
196
|
+
512 && a(
|
|
197
|
+
_,
|
|
198
|
+
"value",
|
|
199
|
+
/*maxDate*/
|
|
200
|
+
h[9]
|
|
201
|
+
), D[0] & /*$_*/
|
|
202
|
+
1048576 && y !== (y = /*$_*/
|
|
203
|
+
h[20]("dateFilter") + "") && x(Y, y), T === (T = te(h)) && E ? E.p(h, D) : (E.d(1), E = T(h), E && (E.c(), E.m(U, null))), /*bonusesList*/
|
|
204
|
+
h[16].length !== 0 ? H ? H.p(h, D) : (H = ge(h), H.c(), H.m(e, null)) : H && (H.d(1), H = null);
|
|
205
|
+
},
|
|
206
|
+
d(h) {
|
|
207
|
+
h && j(e), G && G.d(), n[28](null), n[29](null), E.d(), H && H.d(), J = !1, ne();
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
function Je(n) {
|
|
212
|
+
let e, t, o, s, l, r, f, i, p, v, d = (
|
|
213
|
+
/*$_*/
|
|
214
|
+
n[20]("titleBonusesHistory") + ""
|
|
215
|
+
), m, F, P;
|
|
216
|
+
return {
|
|
217
|
+
c() {
|
|
218
|
+
e = B("div"), t = Q("svg"), o = Q("defs"), s = Q("style"), l = z(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), r = Q("g"), f = Q("g"), i = Q("path"), p = W(), v = B("h2"), m = z(d), b(i, "class", "aaa"), b(i, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), b(i, "transform", "translate(15 15) rotate(180)"), b(f, "transform", "translate(20 158)"), b(r, "transform", "translate(-20 -158)"), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "width", "15"), b(t, "height", "15"), b(t, "viewBox", "0 0 15 15"), b(v, "class", "BonusesTitleMobile"), b(e, "class", "MenuReturnButton");
|
|
219
|
+
},
|
|
220
|
+
m(k, w) {
|
|
221
|
+
R(k, e, w), c(e, t), c(t, o), c(o, s), c(s, l), c(t, r), c(r, f), c(f, i), c(e, p), c(e, v), c(v, m), F || (P = X(
|
|
222
|
+
e,
|
|
223
|
+
"click",
|
|
224
|
+
/*click_handler*/
|
|
225
|
+
n[27]
|
|
226
|
+
), F = !0);
|
|
227
|
+
},
|
|
228
|
+
p(k, w) {
|
|
229
|
+
w[0] & /*$_*/
|
|
230
|
+
1048576 && d !== (d = /*$_*/
|
|
231
|
+
k[20]("titleBonusesHistory") + "") && x(m, d);
|
|
232
|
+
},
|
|
233
|
+
d(k) {
|
|
234
|
+
k && j(e), F = !1, P();
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
function Qe(n) {
|
|
239
|
+
let e, t = ae(
|
|
240
|
+
/*bonusesList*/
|
|
241
|
+
n[16]
|
|
242
|
+
), o = [];
|
|
243
|
+
for (let s = 0; s < t.length; s += 1)
|
|
244
|
+
o[s] = be(fe(n, t, s));
|
|
245
|
+
return {
|
|
246
|
+
c() {
|
|
247
|
+
for (let s = 0; s < o.length; s += 1)
|
|
248
|
+
o[s].c();
|
|
249
|
+
e = he();
|
|
250
|
+
},
|
|
251
|
+
m(s, l) {
|
|
252
|
+
for (let r = 0; r < o.length; r += 1)
|
|
253
|
+
o[r] && o[r].m(s, l);
|
|
254
|
+
R(s, e, l);
|
|
255
|
+
},
|
|
256
|
+
p(s, l) {
|
|
257
|
+
if (l[0] & /*termsandconditionsdescription, termsandconditionsurl, termsandconditionsasset, bonusesList, lang, clientstyling, clientstylingurl, translationurl*/
|
|
258
|
+
983055) {
|
|
259
|
+
t = ae(
|
|
260
|
+
/*bonusesList*/
|
|
261
|
+
s[16]
|
|
262
|
+
);
|
|
263
|
+
let r;
|
|
264
|
+
for (r = 0; r < t.length; r += 1) {
|
|
265
|
+
const f = fe(s, t, r);
|
|
266
|
+
o[r] ? o[r].p(f, l) : (o[r] = be(f), o[r].c(), o[r].m(e.parentNode, e));
|
|
267
|
+
}
|
|
268
|
+
for (; r < o.length; r += 1)
|
|
269
|
+
o[r].d(1);
|
|
270
|
+
o.length = t.length;
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
d(s) {
|
|
274
|
+
s && j(e), ye(o, s);
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
function xe(n) {
|
|
279
|
+
let e, t = (
|
|
280
|
+
/*$_*/
|
|
281
|
+
n[20]("noBonusHistory") + ""
|
|
282
|
+
), o;
|
|
283
|
+
return {
|
|
284
|
+
c() {
|
|
285
|
+
e = B("p"), o = z(t);
|
|
286
|
+
},
|
|
287
|
+
m(s, l) {
|
|
288
|
+
R(s, e, l), c(e, o);
|
|
289
|
+
},
|
|
290
|
+
p(s, l) {
|
|
291
|
+
l[0] & /*$_*/
|
|
292
|
+
1048576 && t !== (t = /*$_*/
|
|
293
|
+
s[20]("noBonusHistory") + "") && x(o, t);
|
|
294
|
+
},
|
|
295
|
+
d(s) {
|
|
296
|
+
s && j(e);
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
function $e(n) {
|
|
301
|
+
let e, t, o, s, l, r, f, i, p, v;
|
|
302
|
+
return {
|
|
303
|
+
c() {
|
|
304
|
+
e = B("player-bonus-card"), a(
|
|
305
|
+
e,
|
|
306
|
+
"termsandconditionsdescription",
|
|
307
|
+
/*termsandconditionsdescription*/
|
|
308
|
+
n[19]
|
|
309
|
+
), a(
|
|
310
|
+
e,
|
|
311
|
+
"termsandconditionsurl",
|
|
312
|
+
/*termsandconditionsurl*/
|
|
313
|
+
n[17]
|
|
314
|
+
), a(
|
|
315
|
+
e,
|
|
316
|
+
"termsandconditionsasset",
|
|
317
|
+
/*termsandconditionsasset*/
|
|
318
|
+
n[18]
|
|
319
|
+
), a(e, "bonuswalletid", t = /*bonus*/
|
|
320
|
+
n[50].walletId), a(e, "bonusdate", o = /*bonus*/
|
|
321
|
+
n[50].granted), a(e, "bonusstatus", s = /*bonus*/
|
|
322
|
+
n[50].status), a(e, "bonusname", l = /*bonus*/
|
|
323
|
+
n[50].name), a(e, "bonustype", r = /*bonus*/
|
|
324
|
+
n[50].type), a(e, "bonusamount", f = /*bonus*/
|
|
325
|
+
n[50].extension.grantedPlayerCurrencyAmount), a(e, "bonuswageringamount", i = `${/*bonus*/
|
|
326
|
+
n[50].fulfilledWR} / ${/*bonus*/
|
|
327
|
+
n[50].originalWageringRequirement}`), a(e, "bonusremainingamount", p = /*bonus*/
|
|
328
|
+
n[50].currentAmount), a(e, "bonuscurrency", v = /*bonus*/
|
|
329
|
+
n[50].currency), a(
|
|
330
|
+
e,
|
|
331
|
+
"lang",
|
|
332
|
+
/*lang*/
|
|
333
|
+
n[0]
|
|
334
|
+
), a(
|
|
335
|
+
e,
|
|
336
|
+
"clientstyling",
|
|
337
|
+
/*clientstyling*/
|
|
338
|
+
n[1]
|
|
339
|
+
), a(
|
|
340
|
+
e,
|
|
341
|
+
"clientstylingurl",
|
|
342
|
+
/*clientstylingurl*/
|
|
343
|
+
n[2]
|
|
344
|
+
), a(
|
|
345
|
+
e,
|
|
346
|
+
"translationurl",
|
|
347
|
+
/*translationurl*/
|
|
348
|
+
n[3]
|
|
349
|
+
);
|
|
350
|
+
},
|
|
351
|
+
m(d, m) {
|
|
352
|
+
R(d, e, m);
|
|
353
|
+
},
|
|
354
|
+
p(d, m) {
|
|
355
|
+
m[0] & /*termsandconditionsdescription*/
|
|
356
|
+
524288 && a(
|
|
357
|
+
e,
|
|
358
|
+
"termsandconditionsdescription",
|
|
359
|
+
/*termsandconditionsdescription*/
|
|
360
|
+
d[19]
|
|
361
|
+
), m[0] & /*termsandconditionsurl*/
|
|
362
|
+
131072 && a(
|
|
363
|
+
e,
|
|
364
|
+
"termsandconditionsurl",
|
|
365
|
+
/*termsandconditionsurl*/
|
|
366
|
+
d[17]
|
|
367
|
+
), m[0] & /*termsandconditionsasset*/
|
|
368
|
+
262144 && a(
|
|
369
|
+
e,
|
|
370
|
+
"termsandconditionsasset",
|
|
371
|
+
/*termsandconditionsasset*/
|
|
372
|
+
d[18]
|
|
373
|
+
), m[0] & /*bonusesList*/
|
|
374
|
+
65536 && t !== (t = /*bonus*/
|
|
375
|
+
d[50].walletId) && a(e, "bonuswalletid", t), m[0] & /*bonusesList*/
|
|
376
|
+
65536 && o !== (o = /*bonus*/
|
|
377
|
+
d[50].granted) && a(e, "bonusdate", o), m[0] & /*bonusesList*/
|
|
378
|
+
65536 && s !== (s = /*bonus*/
|
|
379
|
+
d[50].status) && a(e, "bonusstatus", s), m[0] & /*bonusesList*/
|
|
380
|
+
65536 && l !== (l = /*bonus*/
|
|
381
|
+
d[50].name) && a(e, "bonusname", l), m[0] & /*bonusesList*/
|
|
382
|
+
65536 && r !== (r = /*bonus*/
|
|
383
|
+
d[50].type) && a(e, "bonustype", r), m[0] & /*bonusesList*/
|
|
384
|
+
65536 && f !== (f = /*bonus*/
|
|
385
|
+
d[50].extension.grantedPlayerCurrencyAmount) && a(e, "bonusamount", f), m[0] & /*bonusesList*/
|
|
386
|
+
65536 && i !== (i = `${/*bonus*/
|
|
387
|
+
d[50].fulfilledWR} / ${/*bonus*/
|
|
388
|
+
d[50].originalWageringRequirement}`) && a(e, "bonuswageringamount", i), m[0] & /*bonusesList*/
|
|
389
|
+
65536 && p !== (p = /*bonus*/
|
|
390
|
+
d[50].currentAmount) && a(e, "bonusremainingamount", p), m[0] & /*bonusesList*/
|
|
391
|
+
65536 && v !== (v = /*bonus*/
|
|
392
|
+
d[50].currency) && a(e, "bonuscurrency", v), m[0] & /*lang*/
|
|
393
|
+
1 && a(
|
|
394
|
+
e,
|
|
395
|
+
"lang",
|
|
396
|
+
/*lang*/
|
|
397
|
+
d[0]
|
|
398
|
+
), m[0] & /*clientstyling*/
|
|
399
|
+
2 && a(
|
|
400
|
+
e,
|
|
401
|
+
"clientstyling",
|
|
402
|
+
/*clientstyling*/
|
|
403
|
+
d[1]
|
|
404
|
+
), m[0] & /*clientstylingurl*/
|
|
405
|
+
4 && a(
|
|
406
|
+
e,
|
|
407
|
+
"clientstylingurl",
|
|
408
|
+
/*clientstylingurl*/
|
|
409
|
+
d[2]
|
|
410
|
+
), m[0] & /*translationurl*/
|
|
411
|
+
8 && a(
|
|
412
|
+
e,
|
|
413
|
+
"translationurl",
|
|
414
|
+
/*translationurl*/
|
|
415
|
+
d[3]
|
|
416
|
+
);
|
|
417
|
+
},
|
|
418
|
+
d(d) {
|
|
419
|
+
d && j(e);
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
function en(n) {
|
|
424
|
+
let e, t, o, s, l, r, f;
|
|
425
|
+
return {
|
|
426
|
+
c() {
|
|
427
|
+
e = B("player-bonus-card"), a(
|
|
428
|
+
e,
|
|
429
|
+
"termsandconditionsdescription",
|
|
430
|
+
/*termsandconditionsdescription*/
|
|
431
|
+
n[19]
|
|
432
|
+
), a(
|
|
433
|
+
e,
|
|
434
|
+
"termsandconditionsurl",
|
|
435
|
+
/*termsandconditionsurl*/
|
|
436
|
+
n[17]
|
|
437
|
+
), a(
|
|
438
|
+
e,
|
|
439
|
+
"termsandconditionsasset",
|
|
440
|
+
/*termsandconditionsasset*/
|
|
441
|
+
n[18]
|
|
442
|
+
), a(e, "bonuswalletid", t = /*bonus*/
|
|
443
|
+
n[50].walletId), a(e, "bonusdate", o = /*bonus*/
|
|
444
|
+
n[50].granted), a(e, "bonusstatus", s = /*bonus*/
|
|
445
|
+
n[50].status), a(e, "bonusname", l = /*bonus*/
|
|
446
|
+
n[50].name), a(e, "bonustype", r = /*bonus*/
|
|
447
|
+
n[50].type), a(e, "bonuscurrency", f = /*bonus*/
|
|
448
|
+
n[50].currency), a(
|
|
449
|
+
e,
|
|
450
|
+
"lang",
|
|
451
|
+
/*lang*/
|
|
452
|
+
n[0]
|
|
453
|
+
), a(
|
|
454
|
+
e,
|
|
455
|
+
"clientstyling",
|
|
456
|
+
/*clientstyling*/
|
|
457
|
+
n[1]
|
|
458
|
+
), a(
|
|
459
|
+
e,
|
|
460
|
+
"clientstylingurl",
|
|
461
|
+
/*clientstylingurl*/
|
|
462
|
+
n[2]
|
|
463
|
+
), a(
|
|
464
|
+
e,
|
|
465
|
+
"translationurl",
|
|
466
|
+
/*translationurl*/
|
|
467
|
+
n[3]
|
|
468
|
+
);
|
|
469
|
+
},
|
|
470
|
+
m(i, p) {
|
|
471
|
+
R(i, e, p);
|
|
472
|
+
},
|
|
473
|
+
p(i, p) {
|
|
474
|
+
p[0] & /*termsandconditionsdescription*/
|
|
475
|
+
524288 && a(
|
|
476
|
+
e,
|
|
477
|
+
"termsandconditionsdescription",
|
|
478
|
+
/*termsandconditionsdescription*/
|
|
479
|
+
i[19]
|
|
480
|
+
), p[0] & /*termsandconditionsurl*/
|
|
481
|
+
131072 && a(
|
|
482
|
+
e,
|
|
483
|
+
"termsandconditionsurl",
|
|
484
|
+
/*termsandconditionsurl*/
|
|
485
|
+
i[17]
|
|
486
|
+
), p[0] & /*termsandconditionsasset*/
|
|
487
|
+
262144 && a(
|
|
488
|
+
e,
|
|
489
|
+
"termsandconditionsasset",
|
|
490
|
+
/*termsandconditionsasset*/
|
|
491
|
+
i[18]
|
|
492
|
+
), p[0] & /*bonusesList*/
|
|
493
|
+
65536 && t !== (t = /*bonus*/
|
|
494
|
+
i[50].walletId) && a(e, "bonuswalletid", t), p[0] & /*bonusesList*/
|
|
495
|
+
65536 && o !== (o = /*bonus*/
|
|
496
|
+
i[50].granted) && a(e, "bonusdate", o), p[0] & /*bonusesList*/
|
|
497
|
+
65536 && s !== (s = /*bonus*/
|
|
498
|
+
i[50].status) && a(e, "bonusstatus", s), p[0] & /*bonusesList*/
|
|
499
|
+
65536 && l !== (l = /*bonus*/
|
|
500
|
+
i[50].name) && a(e, "bonusname", l), p[0] & /*bonusesList*/
|
|
501
|
+
65536 && r !== (r = /*bonus*/
|
|
502
|
+
i[50].type) && a(e, "bonustype", r), p[0] & /*bonusesList*/
|
|
503
|
+
65536 && f !== (f = /*bonus*/
|
|
504
|
+
i[50].currency) && a(e, "bonuscurrency", f), p[0] & /*lang*/
|
|
505
|
+
1 && a(
|
|
506
|
+
e,
|
|
507
|
+
"lang",
|
|
508
|
+
/*lang*/
|
|
509
|
+
i[0]
|
|
510
|
+
), p[0] & /*clientstyling*/
|
|
511
|
+
2 && a(
|
|
512
|
+
e,
|
|
513
|
+
"clientstyling",
|
|
514
|
+
/*clientstyling*/
|
|
515
|
+
i[1]
|
|
516
|
+
), p[0] & /*clientstylingurl*/
|
|
517
|
+
4 && a(
|
|
518
|
+
e,
|
|
519
|
+
"clientstylingurl",
|
|
520
|
+
/*clientstylingurl*/
|
|
521
|
+
i[2]
|
|
522
|
+
), p[0] & /*translationurl*/
|
|
523
|
+
8 && a(
|
|
524
|
+
e,
|
|
525
|
+
"translationurl",
|
|
526
|
+
/*translationurl*/
|
|
527
|
+
i[3]
|
|
528
|
+
);
|
|
529
|
+
},
|
|
530
|
+
d(i) {
|
|
531
|
+
i && j(e);
|
|
532
|
+
}
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
function be(n) {
|
|
536
|
+
let e;
|
|
537
|
+
function t(l, r) {
|
|
538
|
+
return (
|
|
539
|
+
/*bonus*/
|
|
540
|
+
l[50].type === "freeRound" ? en : $e
|
|
541
|
+
);
|
|
542
|
+
}
|
|
543
|
+
let o = t(n), s = o(n);
|
|
544
|
+
return {
|
|
545
|
+
c() {
|
|
546
|
+
s.c(), e = he();
|
|
547
|
+
},
|
|
548
|
+
m(l, r) {
|
|
549
|
+
s.m(l, r), R(l, e, r);
|
|
550
|
+
},
|
|
551
|
+
p(l, r) {
|
|
552
|
+
o === (o = t(l)) && s ? s.p(l, r) : (s.d(1), s = o(l), s && (s.c(), s.m(e.parentNode, e)));
|
|
553
|
+
},
|
|
554
|
+
d(l) {
|
|
555
|
+
l && j(e), s.d(l);
|
|
556
|
+
}
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
function ge(n) {
|
|
560
|
+
let e, t, o, s, l, r, f, i, p, v, d, m, F, P, k, w, M, S, N, A = ae(Array(
|
|
561
|
+
/*numberOfPages*/
|
|
562
|
+
n[14]
|
|
563
|
+
)), _ = [];
|
|
564
|
+
for (let g = 0; g < A.length; g += 1)
|
|
565
|
+
_[g] = _e(me(n, A, g));
|
|
566
|
+
return {
|
|
567
|
+
c() {
|
|
568
|
+
e = B("div"), t = B("span"), o = z("|<"), l = W(), r = B("span"), f = z("<"), p = W();
|
|
569
|
+
for (let g = 0; g < _.length; g += 1)
|
|
570
|
+
_[g].c();
|
|
571
|
+
v = W(), d = B("span"), m = z(">"), P = W(), k = B("span"), w = z(">|"), b(t, "class", s = "BonusesFirst " + /*currentPage*/
|
|
572
|
+
(n[15] === 0 ? "Inactive" : "")), b(r, "class", i = "BonusesPrev " + /*currentPage*/
|
|
573
|
+
(n[15] === 0 ? "Inactive" : "")), b(d, "class", F = "BonusesNext " + /*currentPage*/
|
|
574
|
+
(n[15] === /*numberOfPages*/
|
|
575
|
+
n[14] - 1 ? "Inactive" : "")), b(k, "class", M = "BonusesLast " + /*currentPage*/
|
|
576
|
+
(n[15] === /*numberOfPages*/
|
|
577
|
+
n[14] - 1 ? "Inactive" : "")), b(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
578
|
+
(n[21] ? "BonusesPaginationWrapperMobile" : ""));
|
|
579
|
+
},
|
|
580
|
+
m(g, C) {
|
|
581
|
+
R(g, e, C), c(e, t), c(t, o), c(e, l), c(e, r), c(r, f), c(e, p);
|
|
582
|
+
for (let y = 0; y < _.length; y += 1)
|
|
583
|
+
_[y] && _[y].m(e, null);
|
|
584
|
+
c(e, v), c(e, d), c(d, m), c(e, P), c(e, k), c(k, w), S || (N = [
|
|
585
|
+
X(
|
|
586
|
+
t,
|
|
587
|
+
"click",
|
|
588
|
+
/*click_handler_2*/
|
|
589
|
+
n[31]
|
|
590
|
+
),
|
|
591
|
+
X(
|
|
592
|
+
r,
|
|
593
|
+
"click",
|
|
594
|
+
/*click_handler_3*/
|
|
595
|
+
n[32]
|
|
596
|
+
),
|
|
597
|
+
X(
|
|
598
|
+
d,
|
|
599
|
+
"click",
|
|
600
|
+
/*click_handler_5*/
|
|
601
|
+
n[34]
|
|
602
|
+
),
|
|
603
|
+
X(
|
|
604
|
+
k,
|
|
605
|
+
"click",
|
|
606
|
+
/*click_handler_6*/
|
|
607
|
+
n[35]
|
|
608
|
+
)
|
|
609
|
+
], S = !0);
|
|
610
|
+
},
|
|
611
|
+
p(g, C) {
|
|
612
|
+
if (C[0] & /*currentPage*/
|
|
613
|
+
32768 && s !== (s = "BonusesFirst " + /*currentPage*/
|
|
614
|
+
(g[15] === 0 ? "Inactive" : "")) && b(t, "class", s), C[0] & /*currentPage*/
|
|
615
|
+
32768 && i !== (i = "BonusesPrev " + /*currentPage*/
|
|
616
|
+
(g[15] === 0 ? "Inactive" : "")) && b(r, "class", i), C[0] & /*currentPage, getBonuses, bonushistorystatus, bonushistorytype, numberOfPages*/
|
|
617
|
+
8437808) {
|
|
618
|
+
A = ae(Array(
|
|
619
|
+
/*numberOfPages*/
|
|
620
|
+
g[14]
|
|
621
|
+
));
|
|
622
|
+
let y;
|
|
623
|
+
for (y = 0; y < A.length; y += 1) {
|
|
624
|
+
const Y = me(g, A, y);
|
|
625
|
+
_[y] ? _[y].p(Y, C) : (_[y] = _e(Y), _[y].c(), _[y].m(e, v));
|
|
626
|
+
}
|
|
627
|
+
for (; y < _.length; y += 1)
|
|
628
|
+
_[y].d(1);
|
|
629
|
+
_.length = A.length;
|
|
630
|
+
}
|
|
631
|
+
C[0] & /*currentPage, numberOfPages*/
|
|
632
|
+
49152 && F !== (F = "BonusesNext " + /*currentPage*/
|
|
633
|
+
(g[15] === /*numberOfPages*/
|
|
634
|
+
g[14] - 1 ? "Inactive" : "")) && b(d, "class", F), C[0] & /*currentPage, numberOfPages*/
|
|
635
|
+
49152 && M !== (M = "BonusesLast " + /*currentPage*/
|
|
636
|
+
(g[15] === /*numberOfPages*/
|
|
637
|
+
g[14] - 1 ? "Inactive" : "")) && b(k, "class", M);
|
|
638
|
+
},
|
|
639
|
+
d(g) {
|
|
640
|
+
g && j(e), ye(_, g), S = !1, Ue(N);
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
}
|
|
644
|
+
function _e(n) {
|
|
645
|
+
let e, t = (
|
|
646
|
+
/*i*/
|
|
647
|
+
n[49] + 1 + ""
|
|
648
|
+
), o, s, l, r;
|
|
649
|
+
function f() {
|
|
650
|
+
return (
|
|
651
|
+
/*click_handler_4*/
|
|
652
|
+
n[33](
|
|
653
|
+
/*i*/
|
|
654
|
+
n[49]
|
|
655
|
+
)
|
|
656
|
+
);
|
|
657
|
+
}
|
|
658
|
+
return {
|
|
659
|
+
c() {
|
|
660
|
+
e = B("span"), o = z(t), b(e, "class", s = "BonusesPage " + /*i*/
|
|
661
|
+
(n[49] === /*currentPage*/
|
|
662
|
+
n[15] ? "BonusPageActive" : ""));
|
|
663
|
+
},
|
|
664
|
+
m(i, p) {
|
|
665
|
+
R(i, e, p), c(e, o), l || (r = X(e, "click", f), l = !0);
|
|
666
|
+
},
|
|
667
|
+
p(i, p) {
|
|
668
|
+
n = i, p[0] & /*currentPage*/
|
|
669
|
+
32768 && s !== (s = "BonusesPage " + /*i*/
|
|
670
|
+
(n[49] === /*currentPage*/
|
|
671
|
+
n[15] ? "BonusPageActive" : "")) && b(e, "class", s);
|
|
672
|
+
},
|
|
673
|
+
d(i) {
|
|
674
|
+
i && j(e), l = !1, r();
|
|
675
|
+
}
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
function nn(n) {
|
|
679
|
+
let e;
|
|
680
|
+
function t(l, r) {
|
|
681
|
+
return Xe;
|
|
682
|
+
}
|
|
683
|
+
let s = t()(n);
|
|
684
|
+
return {
|
|
685
|
+
c() {
|
|
686
|
+
e = B("div"), s.c();
|
|
687
|
+
},
|
|
688
|
+
m(l, r) {
|
|
689
|
+
R(l, e, r), s.m(e, null), n[36](e);
|
|
690
|
+
},
|
|
691
|
+
p(l, r) {
|
|
692
|
+
s.p(l, r);
|
|
693
|
+
},
|
|
694
|
+
i: de,
|
|
695
|
+
o: de,
|
|
696
|
+
d(l) {
|
|
697
|
+
l && j(e), s.d(), n[36](null);
|
|
698
|
+
}
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
let q = 6;
|
|
702
|
+
function tn(n, e, t) {
|
|
703
|
+
let o;
|
|
704
|
+
Ge(n, qe, (u) => t(20, o = u));
|
|
705
|
+
let { endpoint: s = "" } = e, { session: l = "" } = e, { playerid: r = "" } = e, { lang: f = "en" } = e, { clientstyling: i = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: v = "" } = e, { bonushistorystatus: d = "" } = e, { bonushistorytype: m = "" } = e, F, P = window.navigator.userAgent, k = Oe(P) !== "PC", w, M, S, N;
|
|
706
|
+
S = se(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"), N = se(/* @__PURE__ */ new Date()).subtract(3, "months").format("YYYY-MM-DD");
|
|
707
|
+
let A = N, _ = S, g = 0, C = 0, y = 0, Y = 0, $ = 0, U = [], ee = "", J = "", ne = "";
|
|
708
|
+
const G = () => {
|
|
709
|
+
fetch(v).then((L) => L.json()).then((L) => {
|
|
710
|
+
Object.keys(L).forEach((O) => {
|
|
711
|
+
ce(O, L[O]);
|
|
712
|
+
});
|
|
713
|
+
}).catch((L) => {
|
|
714
|
+
console.log(L);
|
|
715
|
+
});
|
|
716
|
+
};
|
|
717
|
+
Object.keys(pe).forEach((u) => {
|
|
718
|
+
ce(u, pe[u]);
|
|
719
|
+
});
|
|
720
|
+
const te = () => {
|
|
721
|
+
window.postMessage(
|
|
722
|
+
{
|
|
723
|
+
type: "PlayerAccountMenuActive",
|
|
724
|
+
isMobile: k
|
|
725
|
+
},
|
|
726
|
+
window.location.href
|
|
727
|
+
);
|
|
728
|
+
}, T = (u, L, O) => {
|
|
729
|
+
let oe = new URL(`${s}/v1/player/${r}/bonusWallet`), We = se(A).startOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), Se = se(_).endOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), K = "", ie = "", ue = "";
|
|
730
|
+
L && (ie = L.split(",").map((Z) => `status=${Z}`).join(","), K = K + ie + ","), O && (ue = O.split(",").map((Z) => `type=${Z}`).join(","), K = K + ue + ","), K = K + `granted=[${We}~${Se}]`, oe.searchParams.append("filter", K), oe.searchParams.append("pagination", `offset=${u},limit=${q}`);
|
|
731
|
+
let Ae = {
|
|
732
|
+
method: "GET",
|
|
733
|
+
headers: { "X-SessionId": l }
|
|
734
|
+
};
|
|
735
|
+
fetch(oe.href, Ae).then((I) => I.json()).then(
|
|
736
|
+
(I) => {
|
|
737
|
+
Array.isArray(I.items) && I.items.forEach((re) => {
|
|
738
|
+
const Z = re?.extension?.bonus?.presentation;
|
|
739
|
+
Z && (t(17, ee = Z.url), t(19, ne = Z.description), t(18, J = Z.assets));
|
|
740
|
+
}), t(14, Y = Math.ceil(I.total / q)), u - q >= 0 && t(11, g = u - q), u + q < I.total && t(12, C = u + q), t(13, y = (Y - 1) * q), t(15, $ = u / q), t(16, U = I?.items || []);
|
|
741
|
+
},
|
|
742
|
+
(I) => {
|
|
743
|
+
console.error(I);
|
|
744
|
+
}
|
|
745
|
+
), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
746
|
+
}, E = (u) => {
|
|
747
|
+
A = u.target.value;
|
|
748
|
+
}, H = (u) => {
|
|
749
|
+
_ = u.target.value;
|
|
750
|
+
}, h = () => {
|
|
751
|
+
w.addEventListener("change", E, !1), M.addEventListener("change", H, !1);
|
|
752
|
+
};
|
|
753
|
+
Ve(() => () => {
|
|
754
|
+
w.removeEventListener("change", E), M.removeEventListener("change", H);
|
|
755
|
+
});
|
|
756
|
+
const D = () => {
|
|
757
|
+
Ze(f);
|
|
758
|
+
}, Be = () => {
|
|
759
|
+
let u = document.createElement("style");
|
|
760
|
+
u.innerHTML = i, F.appendChild(u);
|
|
761
|
+
}, ve = () => {
|
|
762
|
+
let u = new URL(p), L = document.createElement("style");
|
|
763
|
+
fetch(u.href).then((O) => O.text()).then((O) => {
|
|
764
|
+
L.innerHTML = O, setTimeout(
|
|
765
|
+
() => {
|
|
766
|
+
F.appendChild(L);
|
|
767
|
+
},
|
|
768
|
+
1
|
|
769
|
+
);
|
|
770
|
+
});
|
|
771
|
+
}, we = () => te();
|
|
772
|
+
function Fe(u) {
|
|
773
|
+
le[u ? "unshift" : "push"](() => {
|
|
774
|
+
w = u, t(7, w);
|
|
775
|
+
});
|
|
776
|
+
}
|
|
777
|
+
function ke(u) {
|
|
778
|
+
le[u ? "unshift" : "push"](() => {
|
|
779
|
+
M = u, t(8, M);
|
|
780
|
+
});
|
|
781
|
+
}
|
|
782
|
+
const Ce = () => T(0, d, m), Pe = () => T(0, d, m), He = () => T(g, d, m), Me = (u) => T(u * q, d, m), De = () => T(C, d, m), Te = () => T(y, d, m);
|
|
783
|
+
function Ee(u) {
|
|
784
|
+
le[u ? "unshift" : "push"](() => {
|
|
785
|
+
F = u, t(6, F);
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
return n.$$set = (u) => {
|
|
789
|
+
"endpoint" in u && t(24, s = u.endpoint), "session" in u && t(25, l = u.session), "playerid" in u && t(26, r = u.playerid), "lang" in u && t(0, f = u.lang), "clientstyling" in u && t(1, i = u.clientstyling), "clientstylingurl" in u && t(2, p = u.clientstylingurl), "translationurl" in u && t(3, v = u.translationurl), "bonushistorystatus" in u && t(4, d = u.bonushistorystatus), "bonushistorytype" in u && t(5, m = u.bonushistorytype);
|
|
790
|
+
}, n.$$.update = () => {
|
|
791
|
+
n.$$.dirty[0] & /*lang*/
|
|
792
|
+
1 && f && D(), n.$$.dirty[0] & /*startCalendar, endCalendar*/
|
|
793
|
+
384 && w && M && h(), n.$$.dirty[0] & /*session, playerid, endpoint, bonushistorystatus, bonushistorytype*/
|
|
794
|
+
117440560 && l && r && s && T(0, d, m), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
795
|
+
68 && p && F && ve(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
796
|
+
66 && i && F && Be(), n.$$.dirty[0] & /*translationurl*/
|
|
797
|
+
8 && v && G();
|
|
798
|
+
}, [
|
|
799
|
+
f,
|
|
800
|
+
i,
|
|
801
|
+
p,
|
|
802
|
+
v,
|
|
803
|
+
d,
|
|
804
|
+
m,
|
|
805
|
+
F,
|
|
806
|
+
w,
|
|
807
|
+
M,
|
|
808
|
+
S,
|
|
809
|
+
N,
|
|
810
|
+
g,
|
|
811
|
+
C,
|
|
812
|
+
y,
|
|
813
|
+
Y,
|
|
814
|
+
$,
|
|
815
|
+
U,
|
|
816
|
+
ee,
|
|
817
|
+
J,
|
|
818
|
+
ne,
|
|
819
|
+
o,
|
|
820
|
+
k,
|
|
821
|
+
te,
|
|
822
|
+
T,
|
|
823
|
+
s,
|
|
824
|
+
l,
|
|
825
|
+
r,
|
|
826
|
+
we,
|
|
827
|
+
Fe,
|
|
828
|
+
ke,
|
|
829
|
+
Ce,
|
|
830
|
+
Pe,
|
|
831
|
+
He,
|
|
832
|
+
Me,
|
|
833
|
+
De,
|
|
834
|
+
Te,
|
|
835
|
+
Ee
|
|
836
|
+
];
|
|
837
|
+
}
|
|
838
|
+
class sn extends Ie {
|
|
839
|
+
constructor(e) {
|
|
840
|
+
super(), Ne(
|
|
841
|
+
this,
|
|
842
|
+
e,
|
|
843
|
+
tn,
|
|
844
|
+
nn,
|
|
845
|
+
Re,
|
|
846
|
+
{
|
|
847
|
+
endpoint: 24,
|
|
848
|
+
session: 25,
|
|
849
|
+
playerid: 26,
|
|
850
|
+
lang: 0,
|
|
851
|
+
clientstyling: 1,
|
|
852
|
+
clientstylingurl: 2,
|
|
853
|
+
translationurl: 3,
|
|
854
|
+
bonushistorystatus: 4,
|
|
855
|
+
bonushistorytype: 5
|
|
856
|
+
},
|
|
857
|
+
Ke,
|
|
858
|
+
[-1, -1]
|
|
859
|
+
);
|
|
860
|
+
}
|
|
861
|
+
get endpoint() {
|
|
862
|
+
return this.$$.ctx[24];
|
|
863
|
+
}
|
|
864
|
+
set endpoint(e) {
|
|
865
|
+
this.$$set({ endpoint: e }), V();
|
|
866
|
+
}
|
|
867
|
+
get session() {
|
|
868
|
+
return this.$$.ctx[25];
|
|
869
|
+
}
|
|
870
|
+
set session(e) {
|
|
871
|
+
this.$$set({ session: e }), V();
|
|
872
|
+
}
|
|
873
|
+
get playerid() {
|
|
874
|
+
return this.$$.ctx[26];
|
|
875
|
+
}
|
|
876
|
+
set playerid(e) {
|
|
877
|
+
this.$$set({ playerid: e }), V();
|
|
878
|
+
}
|
|
879
|
+
get lang() {
|
|
880
|
+
return this.$$.ctx[0];
|
|
881
|
+
}
|
|
882
|
+
set lang(e) {
|
|
883
|
+
this.$$set({ lang: e }), V();
|
|
884
|
+
}
|
|
885
|
+
get clientstyling() {
|
|
886
|
+
return this.$$.ctx[1];
|
|
887
|
+
}
|
|
888
|
+
set clientstyling(e) {
|
|
889
|
+
this.$$set({ clientstyling: e }), V();
|
|
890
|
+
}
|
|
891
|
+
get clientstylingurl() {
|
|
892
|
+
return this.$$.ctx[2];
|
|
893
|
+
}
|
|
894
|
+
set clientstylingurl(e) {
|
|
895
|
+
this.$$set({ clientstylingurl: e }), V();
|
|
896
|
+
}
|
|
897
|
+
get translationurl() {
|
|
898
|
+
return this.$$.ctx[3];
|
|
899
|
+
}
|
|
900
|
+
set translationurl(e) {
|
|
901
|
+
this.$$set({ translationurl: e }), V();
|
|
902
|
+
}
|
|
903
|
+
get bonushistorystatus() {
|
|
904
|
+
return this.$$.ctx[4];
|
|
905
|
+
}
|
|
906
|
+
set bonushistorystatus(e) {
|
|
907
|
+
this.$$set({ bonushistorystatus: e }), V();
|
|
908
|
+
}
|
|
909
|
+
get bonushistorytype() {
|
|
910
|
+
return this.$$.ctx[5];
|
|
911
|
+
}
|
|
912
|
+
set bonushistorytype(e) {
|
|
913
|
+
this.$$set({ bonushistorytype: e }), V();
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
Ye(sn, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, bonushistorystatus: {}, bonushistorytype: {} }, [], [], !0);
|
|
917
|
+
export {
|
|
918
|
+
sn as default
|
|
919
|
+
};
|