@everymatrix/player-account-controller 1.64.7 → 1.64.8
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-ZhPM48bD.cjs → PlayerAccountController-BVNVN1oI.cjs} +1 -1
- package/components/{PlayerAccountController-D3ijwTMy.js → PlayerAccountController-BccdIz3_.js} +3 -3
- package/components/{PlayerAccountController-BwMtArTF.js → PlayerAccountController-UzsiXAe-.js} +3 -3
- package/components/{PlayerBonusHistory-DzHpQcXW.js → PlayerBonusHistory-COOdhWKq.js} +292 -285
- package/components/{PlayerBonusHistory-BE8tXKlu.js → PlayerBonusHistory-D1a49F4D.js} +326 -317
- package/components/PlayerBonusHistory-WqNxjyOR.cjs +1 -0
- package/components/PlayerGamingHistory-Cufl7bTL.js +975 -0
- package/components/PlayerGamingHistory-DQs-t446.cjs +1 -0
- package/components/PlayerGamingHistory-DWryp2Xi.js +988 -0
- package/components/PlayerProfileInfo-5JHImDnc.js +2419 -0
- package/components/PlayerProfileInfo-Cdv7SUqU.cjs +4 -0
- package/components/PlayerProfileInfo-D2IvTGWg.js +2383 -0
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerBonusHistory-BVlVMBRb.cjs +0 -1
- package/components/PlayerGamingHistory-7-nlWdAn.js +0 -979
- package/components/PlayerGamingHistory-BgXf3USX.js +0 -966
- package/components/PlayerGamingHistory-Dp_pFQIN.cjs +0 -1
- package/components/PlayerProfileInfo-B6mAu_YA.js +0 -2058
- package/components/PlayerProfileInfo-C5-4-WGv.js +0 -2086
- package/components/PlayerProfileInfo-Cc6HVNlU.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as Ie, $ as Le, S as Ne, i as Re, s as je, f as R, b as Oe, n as
|
|
2
|
-
import "./PlayerActiveBonuses-
|
|
3
|
-
import "./PlayerAccountSelfExclusion-
|
|
4
|
-
import { f as ae, s as Qe, a as xe, e as $e } from "./PlayerAccountGamingLimitsGroupEdit-
|
|
5
|
-
function
|
|
1
|
+
import { a as Ie, $ as Le, S as Ne, i as Re, s as je, f as R, b as Oe, n as ce, d as j, g as O, j as v, p as Ge, q as Ve, u as qe, w as ie, c as $, e as s, h as d, l as J, k as S, m as W, o as f, v as x, O as oe, P as he, r as Ue, F as Be, x as Ze, y as Ye, z as Xe, A as Je, B as Ke } from "./GeneralLogout-CgxHUYZx.js";
|
|
2
|
+
import "./PlayerActiveBonuses-BoBuEiVq.js";
|
|
3
|
+
import "./PlayerAccountSelfExclusion-CIIQB9SA.js";
|
|
4
|
+
import { f as ae, s as Qe, a as xe, e as $e } from "./PlayerAccountGamingLimitsGroupEdit-DL2QWrsv.js";
|
|
5
|
+
function pe(n, e) {
|
|
6
6
|
Ie(n, e);
|
|
7
7
|
}
|
|
8
8
|
function en(n) {
|
|
9
9
|
Le.set(n);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const me = {
|
|
12
12
|
en: {
|
|
13
13
|
titleBonusesHistory: "Bonus History",
|
|
14
14
|
dateFrom: "From:",
|
|
@@ -88,165 +88,167 @@ const be = {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
function nn(n) {
|
|
91
|
-
Oe(n, "svelte-
|
|
91
|
+
Oe(n, "svelte-1lo5ai1", ".BonusesWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--color-typography-cotrast, #444444);padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.BonusesTitleMobile{font-size:var(--emw--size-standard, 16px)}.BonusesTitleNone{display:none}.BonusCalendarWrapper{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusesCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%;border-radius:var(--emw--border-radius-large, 10px)}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:var(--emw--font-size-small, 14px);font-weight:300}.BonusesCalendarStartDate input,.BonusesCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-small, 5px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px;outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesCalendarFilter{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 10px);cursor:pointer;width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;outline:none}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%;height:44px}.BonusesCalendarFilter:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesCalendarFilter:disabled{background-image:none;background-color:var(--emw--button-disabled-text-color, #cccccc);color:var(--emw--button-disabled-text-color, #666);cursor:not-allowed;opacity:0.7;pointer-events:none;border:2px solid var(--emw--button-disabled-border-color, #aaaaaa)}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px;border-radius:var(--emw--border-radius-large, 10px)}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px;font-weight:var(--emw--font-weight-bold, 700)}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-typography-cotrast, #444444);font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:var(--emw--font-weight-bold, 700)}");
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function be(n, e, t) {
|
|
94
94
|
const o = n.slice();
|
|
95
|
-
return o[
|
|
95
|
+
return o[49] = e[t], o[51] = t, o;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function fe(n, e, t) {
|
|
98
98
|
const o = n.slice();
|
|
99
|
-
return o[
|
|
99
|
+
return o[52] = e[t], o;
|
|
100
100
|
}
|
|
101
101
|
function tn(n) {
|
|
102
102
|
let e, t, o, a = (
|
|
103
103
|
/*$_*/
|
|
104
|
-
n[
|
|
104
|
+
n[22]("titleBonusesHistory") + ""
|
|
105
105
|
), l, r, b, i, p, w, c = (
|
|
106
106
|
/*$_*/
|
|
107
|
-
n[
|
|
108
|
-
), m,
|
|
107
|
+
n[22]("dateFrom") + ""
|
|
108
|
+
), m, k, B, P, M, D, E = (
|
|
109
109
|
/*$_*/
|
|
110
|
-
n[
|
|
111
|
-
),
|
|
110
|
+
n[22]("dateTo") + ""
|
|
111
|
+
), G, I, g, _, F, y = (
|
|
112
112
|
/*$_*/
|
|
113
|
-
n[
|
|
114
|
-
), L,
|
|
113
|
+
n[22]("dateFilter") + ""
|
|
114
|
+
), L, q, K, U, ee, Q, ne, N = (
|
|
115
115
|
/*isMobile*/
|
|
116
|
-
n[
|
|
116
|
+
n[23] && sn(n)
|
|
117
117
|
);
|
|
118
|
-
function se(
|
|
118
|
+
function se(h, T) {
|
|
119
119
|
return (
|
|
120
120
|
/*bonusesList*/
|
|
121
|
-
|
|
121
|
+
h[18].length === 0 ? on : an
|
|
122
122
|
);
|
|
123
123
|
}
|
|
124
|
-
let
|
|
124
|
+
let Y = se(n), C = Y(n), H = (
|
|
125
125
|
/*bonusesList*/
|
|
126
|
-
n[
|
|
126
|
+
n[18].length !== 0 && _e(n)
|
|
127
127
|
);
|
|
128
128
|
return {
|
|
129
129
|
c() {
|
|
130
|
-
e = v("div"), N && N.c(), t =
|
|
131
|
-
(n[
|
|
132
|
-
(n[
|
|
133
|
-
|
|
130
|
+
e = v("div"), N && N.c(), t = S(), o = v("h2"), l = W(a), r = S(), b = v("div"), i = v("div"), p = v("div"), w = v("label"), m = W(c), k = S(), B = v("vaadin-date-picker"), P = S(), M = v("div"), D = v("label"), G = W(E), I = S(), g = v("vaadin-date-picker"), _ = S(), F = v("button"), L = W(y), K = S(), U = v("div"), C.c(), ee = S(), H && H.c(), f(o, "class", "BonusesTitle " + /*isMobile*/
|
|
131
|
+
(n[23] ? "BonusesTitleNone" : "")), f(o, "part", "BonusesTitle " + /*isMobile*/
|
|
132
|
+
(n[23] ? "BonusesTitleNone" : "")), f(w, "for", "BonusCalendarStartDate"), s(
|
|
133
|
+
B,
|
|
134
134
|
"max",
|
|
135
|
-
/*
|
|
136
|
-
n[
|
|
135
|
+
/*today*/
|
|
136
|
+
n[24]
|
|
137
137
|
), s(
|
|
138
|
-
|
|
138
|
+
B,
|
|
139
139
|
"value",
|
|
140
|
-
/*
|
|
141
|
-
n[
|
|
142
|
-
), s(
|
|
143
|
-
(n[
|
|
140
|
+
/*bonusCalendarStartDate*/
|
|
141
|
+
n[10]
|
|
142
|
+
), s(B, "placeholder", "From"), s(B, "class", "VaadinDatePicker"), f(p, "class", "BonusesCalendarStartDate " + /*isMobile*/
|
|
143
|
+
(n[23] ? "BonusesCalendarMobile" : "")), f(D, "for", "BonusesCalendarEndDate"), s(
|
|
144
144
|
g,
|
|
145
145
|
"max",
|
|
146
|
-
/*
|
|
146
|
+
/*today*/
|
|
147
|
+
n[24]
|
|
148
|
+
), s(
|
|
149
|
+
g,
|
|
150
|
+
"min",
|
|
151
|
+
/*bonusCalendarStartDate*/
|
|
147
152
|
n[10]
|
|
148
153
|
), s(
|
|
149
154
|
g,
|
|
150
155
|
"value",
|
|
151
|
-
/*
|
|
152
|
-
n[
|
|
156
|
+
/*bonusCalendarEndDate*/
|
|
157
|
+
n[11]
|
|
153
158
|
), s(g, "placeholder", "To"), s(g, "class", "VaadinDatePicker"), f(M, "class", "BonusesCalendarEndDate " + /*isMobile*/
|
|
154
|
-
(n[
|
|
155
|
-
(n[
|
|
156
|
-
(n[
|
|
157
|
-
|
|
158
|
-
(n[
|
|
159
|
-
(n[
|
|
159
|
+
(n[23] ? "BonusesCalendarMobile" : "")), f(i, "class", "BonusesCalendarContainer " + /*isMobile*/
|
|
160
|
+
(n[23] ? "BonusesCalendarContainerMobile" : "")), f(F, "class", "BonusesCalendarFilter " + /*isMobile*/
|
|
161
|
+
(n[23] ? "BonusesCalendarFilterMobile" : "")), F.disabled = q = !/*submitEnable*/
|
|
162
|
+
n[12], f(b, "class", "BonusCalendarWrapper " + /*isMobile*/
|
|
163
|
+
(n[23] ? "BonusCalendarWrapperMobile" : "")), f(U, "class", "BonusesGrid " + /*isMobile*/
|
|
164
|
+
(n[23] ? "BonusesGridMobile" : "")), f(e, "class", "BonusesWrapper " + /*isMobile*/
|
|
165
|
+
(n[23] ? "BonusesWrapperMobile" : ""));
|
|
160
166
|
},
|
|
161
|
-
m(
|
|
162
|
-
O(
|
|
163
|
-
|
|
167
|
+
m(h, T) {
|
|
168
|
+
O(h, e, T), N && N.m(e, null), d(e, t), d(e, o), d(o, l), d(e, r), d(e, b), d(b, i), d(i, p), d(p, w), d(w, m), d(p, k), d(p, B), n[31](B), d(i, P), d(i, M), d(M, D), d(D, G), d(M, I), d(M, g), n[32](g), d(b, _), d(b, F), d(F, L), d(e, K), d(e, U), C.m(U, null), d(e, ee), H && H.m(e, null), Q || (ne = J(
|
|
169
|
+
F,
|
|
164
170
|
"click",
|
|
165
171
|
/*click_handler_1*/
|
|
166
|
-
n[
|
|
167
|
-
),
|
|
172
|
+
n[33]
|
|
173
|
+
), Q = !0);
|
|
168
174
|
},
|
|
169
|
-
p(
|
|
175
|
+
p(h, T) {
|
|
170
176
|
/*isMobile*/
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
177
|
+
h[23] && N.p(h, T), T[0] & /*$_*/
|
|
178
|
+
4194304 && a !== (a = /*$_*/
|
|
179
|
+
h[22]("titleBonusesHistory") + "") && $(l, a), T[0] & /*$_*/
|
|
180
|
+
4194304 && c !== (c = /*$_*/
|
|
181
|
+
h[22]("dateFrom") + "") && $(m, c), T[0] & /*bonusCalendarStartDate*/
|
|
176
182
|
1024 && s(
|
|
177
|
-
|
|
178
|
-
"max",
|
|
179
|
-
/*maxDate*/
|
|
180
|
-
B[10]
|
|
181
|
-
), T[0] & /*lastMonth*/
|
|
182
|
-
2048 && s(
|
|
183
|
-
h,
|
|
183
|
+
B,
|
|
184
184
|
"value",
|
|
185
|
-
/*
|
|
186
|
-
|
|
185
|
+
/*bonusCalendarStartDate*/
|
|
186
|
+
h[10]
|
|
187
187
|
), T[0] & /*$_*/
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
4194304 && E !== (E = /*$_*/
|
|
189
|
+
h[22]("dateTo") + "") && $(G, E), T[0] & /*bonusCalendarStartDate*/
|
|
190
190
|
1024 && s(
|
|
191
191
|
g,
|
|
192
|
-
"
|
|
193
|
-
/*
|
|
194
|
-
|
|
195
|
-
), T[0] & /*
|
|
196
|
-
|
|
192
|
+
"min",
|
|
193
|
+
/*bonusCalendarStartDate*/
|
|
194
|
+
h[10]
|
|
195
|
+
), T[0] & /*bonusCalendarEndDate*/
|
|
196
|
+
2048 && s(
|
|
197
197
|
g,
|
|
198
198
|
"value",
|
|
199
|
-
/*
|
|
200
|
-
|
|
199
|
+
/*bonusCalendarEndDate*/
|
|
200
|
+
h[11]
|
|
201
201
|
), T[0] & /*$_*/
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
4194304 && y !== (y = /*$_*/
|
|
203
|
+
h[22]("dateFilter") + "") && $(L, y), T[0] & /*submitEnable*/
|
|
204
|
+
4096 && q !== (q = !/*submitEnable*/
|
|
205
|
+
h[12]) && (F.disabled = q), Y === (Y = se(h)) && C ? C.p(h, T) : (C.d(1), C = Y(h), C && (C.c(), C.m(U, null))), /*bonusesList*/
|
|
206
|
+
h[18].length !== 0 ? H ? H.p(h, T) : (H = _e(h), H.c(), H.m(e, null)) : H && (H.d(1), H = null);
|
|
205
207
|
},
|
|
206
|
-
d(
|
|
207
|
-
|
|
208
|
+
d(h) {
|
|
209
|
+
h && j(e), N && N.d(), n[31](null), n[32](null), C.d(), H && H.d(), Q = !1, ne();
|
|
208
210
|
}
|
|
209
211
|
};
|
|
210
212
|
}
|
|
211
213
|
function sn(n) {
|
|
212
214
|
let e, t, o, a, l, r, b, i, p, w, c = (
|
|
213
215
|
/*$_*/
|
|
214
|
-
n[
|
|
215
|
-
), m,
|
|
216
|
+
n[22]("titleBonusesHistory") + ""
|
|
217
|
+
), m, k, B;
|
|
216
218
|
return {
|
|
217
219
|
c() {
|
|
218
|
-
e = v("div"), t =
|
|
220
|
+
e = v("div"), t = x("svg"), o = x("defs"), a = x("style"), l = W(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), r = x("g"), b = x("g"), i = x("path"), p = S(), w = v("h2"), m = W(c), f(i, "class", "aaa"), f(i, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), f(i, "transform", "translate(15 15) rotate(180)"), f(b, "transform", "translate(20 158)"), f(r, "transform", "translate(-20 -158)"), f(t, "xmlns", "http://www.w3.org/2000/svg"), f(t, "width", "15"), f(t, "height", "15"), f(t, "viewBox", "0 0 15 15"), f(w, "class", "BonusesTitleMobile"), f(e, "class", "MenuReturnButton");
|
|
219
221
|
},
|
|
220
222
|
m(P, M) {
|
|
221
|
-
O(P, e, M), d(e, t), d(t, o), d(o, a), d(a, l), d(t, r), d(r, b), d(b, i), d(e, p), d(e, w), d(w, m),
|
|
223
|
+
O(P, e, M), d(e, t), d(t, o), d(o, a), d(a, l), d(t, r), d(r, b), d(b, i), d(e, p), d(e, w), d(w, m), k || (B = J(
|
|
222
224
|
e,
|
|
223
225
|
"click",
|
|
224
226
|
/*click_handler*/
|
|
225
|
-
n[
|
|
226
|
-
),
|
|
227
|
+
n[30]
|
|
228
|
+
), k = !0);
|
|
227
229
|
},
|
|
228
230
|
p(P, M) {
|
|
229
231
|
M[0] & /*$_*/
|
|
230
|
-
|
|
231
|
-
P[
|
|
232
|
+
4194304 && c !== (c = /*$_*/
|
|
233
|
+
P[22]("titleBonusesHistory") + "") && $(m, c);
|
|
232
234
|
},
|
|
233
235
|
d(P) {
|
|
234
|
-
P && j(e),
|
|
236
|
+
P && j(e), k = !1, B();
|
|
235
237
|
}
|
|
236
238
|
};
|
|
237
239
|
}
|
|
238
240
|
function an(n) {
|
|
239
241
|
let e, t = oe(
|
|
240
242
|
/*bonusesList*/
|
|
241
|
-
n[
|
|
243
|
+
n[18]
|
|
242
244
|
), o = [];
|
|
243
245
|
for (let a = 0; a < t.length; a += 1)
|
|
244
|
-
o[a] =
|
|
246
|
+
o[a] = ge(fe(n, t, a));
|
|
245
247
|
return {
|
|
246
248
|
c() {
|
|
247
249
|
for (let a = 0; a < o.length; a += 1)
|
|
248
250
|
o[a].c();
|
|
249
|
-
e =
|
|
251
|
+
e = Be();
|
|
250
252
|
},
|
|
251
253
|
m(a, l) {
|
|
252
254
|
for (let r = 0; r < o.length; r += 1)
|
|
@@ -255,15 +257,15 @@ function an(n) {
|
|
|
255
257
|
},
|
|
256
258
|
p(a, l) {
|
|
257
259
|
if (l[0] & /*termsandconditionsdescription, termsandconditionsurl, termsandconditionsasset, bonusesList, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
|
|
258
|
-
|
|
260
|
+
3932191) {
|
|
259
261
|
t = oe(
|
|
260
262
|
/*bonusesList*/
|
|
261
|
-
a[
|
|
263
|
+
a[18]
|
|
262
264
|
);
|
|
263
265
|
let r;
|
|
264
266
|
for (r = 0; r < t.length; r += 1) {
|
|
265
|
-
const b =
|
|
266
|
-
o[r] ? o[r].p(b, l) : (o[r] =
|
|
267
|
+
const b = fe(a, t, r);
|
|
268
|
+
o[r] ? o[r].p(b, l) : (o[r] = ge(b), o[r].c(), o[r].m(e.parentNode, e));
|
|
267
269
|
}
|
|
268
270
|
for (; r < o.length; r += 1)
|
|
269
271
|
o[r].d(1);
|
|
@@ -271,26 +273,26 @@ function an(n) {
|
|
|
271
273
|
}
|
|
272
274
|
},
|
|
273
275
|
d(a) {
|
|
274
|
-
a && j(e),
|
|
276
|
+
a && j(e), he(o, a);
|
|
275
277
|
}
|
|
276
278
|
};
|
|
277
279
|
}
|
|
278
280
|
function on(n) {
|
|
279
281
|
let e, t = (
|
|
280
282
|
/*$_*/
|
|
281
|
-
n[
|
|
283
|
+
n[22]("noBonusHistory") + ""
|
|
282
284
|
), o;
|
|
283
285
|
return {
|
|
284
286
|
c() {
|
|
285
|
-
e = v("p"), o =
|
|
287
|
+
e = v("p"), o = W(t);
|
|
286
288
|
},
|
|
287
289
|
m(a, l) {
|
|
288
290
|
O(a, e, l), d(e, o);
|
|
289
291
|
},
|
|
290
292
|
p(a, l) {
|
|
291
293
|
l[0] & /*$_*/
|
|
292
|
-
|
|
293
|
-
a[
|
|
294
|
+
4194304 && t !== (t = /*$_*/
|
|
295
|
+
a[22]("noBonusHistory") + "") && $(o, t);
|
|
294
296
|
},
|
|
295
297
|
d(a) {
|
|
296
298
|
a && j(e);
|
|
@@ -305,28 +307,28 @@ function rn(n) {
|
|
|
305
307
|
e,
|
|
306
308
|
"termsandconditionsdescription",
|
|
307
309
|
/*termsandconditionsdescription*/
|
|
308
|
-
n[
|
|
310
|
+
n[21]
|
|
309
311
|
), s(
|
|
310
312
|
e,
|
|
311
313
|
"termsandconditionsurl",
|
|
312
314
|
/*termsandconditionsurl*/
|
|
313
|
-
n[
|
|
315
|
+
n[19]
|
|
314
316
|
), s(
|
|
315
317
|
e,
|
|
316
318
|
"termsandconditionsasset",
|
|
317
319
|
/*termsandconditionsasset*/
|
|
318
|
-
n[
|
|
320
|
+
n[20]
|
|
319
321
|
), s(e, "bonuswalletid", t = /*bonus*/
|
|
320
|
-
n[
|
|
321
|
-
n[
|
|
322
|
-
n[
|
|
323
|
-
n[
|
|
324
|
-
n[
|
|
325
|
-
n[
|
|
326
|
-
n[
|
|
327
|
-
n[
|
|
328
|
-
n[
|
|
329
|
-
n[
|
|
322
|
+
n[52].walletId), s(e, "bonusdate", o = /*bonus*/
|
|
323
|
+
n[52].granted), s(e, "bonusstatus", a = /*bonus*/
|
|
324
|
+
n[52].status), s(e, "bonusname", l = /*bonus*/
|
|
325
|
+
n[52].name), s(e, "bonustype", r = /*bonus*/
|
|
326
|
+
n[52].type), s(e, "bonusamount", b = /*bonus*/
|
|
327
|
+
n[52].extension.grantedPlayerCurrencyAmount), s(e, "bonuswageringamount", i = `${/*bonus*/
|
|
328
|
+
n[52].fulfilledWR} / ${/*bonus*/
|
|
329
|
+
n[52].originalWageringRequirement}`), s(e, "bonusremainingamount", p = /*bonus*/
|
|
330
|
+
n[52].currentAmount), s(e, "bonuscurrency", w = /*bonus*/
|
|
331
|
+
n[52].currency), s(
|
|
330
332
|
e,
|
|
331
333
|
"lang",
|
|
332
334
|
/*lang*/
|
|
@@ -358,43 +360,43 @@ function rn(n) {
|
|
|
358
360
|
},
|
|
359
361
|
p(c, m) {
|
|
360
362
|
m[0] & /*termsandconditionsdescription*/
|
|
361
|
-
|
|
363
|
+
2097152 && s(
|
|
362
364
|
e,
|
|
363
365
|
"termsandconditionsdescription",
|
|
364
366
|
/*termsandconditionsdescription*/
|
|
365
|
-
c[
|
|
367
|
+
c[21]
|
|
366
368
|
), m[0] & /*termsandconditionsurl*/
|
|
367
|
-
|
|
369
|
+
524288 && s(
|
|
368
370
|
e,
|
|
369
371
|
"termsandconditionsurl",
|
|
370
372
|
/*termsandconditionsurl*/
|
|
371
|
-
c[
|
|
373
|
+
c[19]
|
|
372
374
|
), m[0] & /*termsandconditionsasset*/
|
|
373
|
-
|
|
375
|
+
1048576 && s(
|
|
374
376
|
e,
|
|
375
377
|
"termsandconditionsasset",
|
|
376
378
|
/*termsandconditionsasset*/
|
|
377
|
-
c[
|
|
379
|
+
c[20]
|
|
378
380
|
), m[0] & /*bonusesList*/
|
|
379
|
-
|
|
380
|
-
c[
|
|
381
|
-
|
|
382
|
-
c[
|
|
383
|
-
|
|
384
|
-
c[
|
|
385
|
-
|
|
386
|
-
c[
|
|
387
|
-
|
|
388
|
-
c[
|
|
389
|
-
|
|
390
|
-
c[
|
|
391
|
-
|
|
392
|
-
c[
|
|
393
|
-
c[
|
|
394
|
-
|
|
395
|
-
c[
|
|
396
|
-
|
|
397
|
-
c[
|
|
381
|
+
262144 && t !== (t = /*bonus*/
|
|
382
|
+
c[52].walletId) && s(e, "bonuswalletid", t), m[0] & /*bonusesList*/
|
|
383
|
+
262144 && o !== (o = /*bonus*/
|
|
384
|
+
c[52].granted) && s(e, "bonusdate", o), m[0] & /*bonusesList*/
|
|
385
|
+
262144 && a !== (a = /*bonus*/
|
|
386
|
+
c[52].status) && s(e, "bonusstatus", a), m[0] & /*bonusesList*/
|
|
387
|
+
262144 && l !== (l = /*bonus*/
|
|
388
|
+
c[52].name) && s(e, "bonusname", l), m[0] & /*bonusesList*/
|
|
389
|
+
262144 && r !== (r = /*bonus*/
|
|
390
|
+
c[52].type) && s(e, "bonustype", r), m[0] & /*bonusesList*/
|
|
391
|
+
262144 && b !== (b = /*bonus*/
|
|
392
|
+
c[52].extension.grantedPlayerCurrencyAmount) && s(e, "bonusamount", b), m[0] & /*bonusesList*/
|
|
393
|
+
262144 && i !== (i = `${/*bonus*/
|
|
394
|
+
c[52].fulfilledWR} / ${/*bonus*/
|
|
395
|
+
c[52].originalWageringRequirement}`) && s(e, "bonuswageringamount", i), m[0] & /*bonusesList*/
|
|
396
|
+
262144 && p !== (p = /*bonus*/
|
|
397
|
+
c[52].currentAmount) && s(e, "bonusremainingamount", p), m[0] & /*bonusesList*/
|
|
398
|
+
262144 && w !== (w = /*bonus*/
|
|
399
|
+
c[52].currency) && s(e, "bonuscurrency", w), m[0] & /*lang*/
|
|
398
400
|
1 && s(
|
|
399
401
|
e,
|
|
400
402
|
"lang",
|
|
@@ -439,24 +441,24 @@ function ln(n) {
|
|
|
439
441
|
e,
|
|
440
442
|
"termsandconditionsdescription",
|
|
441
443
|
/*termsandconditionsdescription*/
|
|
442
|
-
n[
|
|
444
|
+
n[21]
|
|
443
445
|
), s(
|
|
444
446
|
e,
|
|
445
447
|
"termsandconditionsurl",
|
|
446
448
|
/*termsandconditionsurl*/
|
|
447
|
-
n[
|
|
449
|
+
n[19]
|
|
448
450
|
), s(
|
|
449
451
|
e,
|
|
450
452
|
"termsandconditionsasset",
|
|
451
453
|
/*termsandconditionsasset*/
|
|
452
|
-
n[
|
|
454
|
+
n[20]
|
|
453
455
|
), s(e, "bonuswalletid", t = /*bonus*/
|
|
454
|
-
n[
|
|
455
|
-
n[
|
|
456
|
-
n[
|
|
457
|
-
n[
|
|
458
|
-
n[
|
|
459
|
-
n[
|
|
456
|
+
n[52].walletId), s(e, "bonusdate", o = /*bonus*/
|
|
457
|
+
n[52].granted), s(e, "bonusstatus", a = /*bonus*/
|
|
458
|
+
n[52].status), s(e, "bonusname", l = /*bonus*/
|
|
459
|
+
n[52].name), s(e, "bonustype", r = /*bonus*/
|
|
460
|
+
n[52].type), s(e, "bonuscurrency", b = /*bonus*/
|
|
461
|
+
n[52].currency), s(
|
|
460
462
|
e,
|
|
461
463
|
"lang",
|
|
462
464
|
/*lang*/
|
|
@@ -488,36 +490,36 @@ function ln(n) {
|
|
|
488
490
|
},
|
|
489
491
|
p(i, p) {
|
|
490
492
|
p[0] & /*termsandconditionsdescription*/
|
|
491
|
-
|
|
493
|
+
2097152 && s(
|
|
492
494
|
e,
|
|
493
495
|
"termsandconditionsdescription",
|
|
494
496
|
/*termsandconditionsdescription*/
|
|
495
|
-
i[
|
|
497
|
+
i[21]
|
|
496
498
|
), p[0] & /*termsandconditionsurl*/
|
|
497
|
-
|
|
499
|
+
524288 && s(
|
|
498
500
|
e,
|
|
499
501
|
"termsandconditionsurl",
|
|
500
502
|
/*termsandconditionsurl*/
|
|
501
|
-
i[
|
|
503
|
+
i[19]
|
|
502
504
|
), p[0] & /*termsandconditionsasset*/
|
|
503
|
-
|
|
505
|
+
1048576 && s(
|
|
504
506
|
e,
|
|
505
507
|
"termsandconditionsasset",
|
|
506
508
|
/*termsandconditionsasset*/
|
|
507
|
-
i[
|
|
509
|
+
i[20]
|
|
508
510
|
), p[0] & /*bonusesList*/
|
|
509
|
-
|
|
510
|
-
i[
|
|
511
|
-
|
|
512
|
-
i[
|
|
513
|
-
|
|
514
|
-
i[
|
|
515
|
-
|
|
516
|
-
i[
|
|
517
|
-
|
|
518
|
-
i[
|
|
519
|
-
|
|
520
|
-
i[
|
|
511
|
+
262144 && t !== (t = /*bonus*/
|
|
512
|
+
i[52].walletId) && s(e, "bonuswalletid", t), p[0] & /*bonusesList*/
|
|
513
|
+
262144 && o !== (o = /*bonus*/
|
|
514
|
+
i[52].granted) && s(e, "bonusdate", o), p[0] & /*bonusesList*/
|
|
515
|
+
262144 && a !== (a = /*bonus*/
|
|
516
|
+
i[52].status) && s(e, "bonusstatus", a), p[0] & /*bonusesList*/
|
|
517
|
+
262144 && l !== (l = /*bonus*/
|
|
518
|
+
i[52].name) && s(e, "bonusname", l), p[0] & /*bonusesList*/
|
|
519
|
+
262144 && r !== (r = /*bonus*/
|
|
520
|
+
i[52].type) && s(e, "bonustype", r), p[0] & /*bonusesList*/
|
|
521
|
+
262144 && b !== (b = /*bonus*/
|
|
522
|
+
i[52].currency) && s(e, "bonuscurrency", b), p[0] & /*lang*/
|
|
521
523
|
1 && s(
|
|
522
524
|
e,
|
|
523
525
|
"lang",
|
|
@@ -554,18 +556,18 @@ function ln(n) {
|
|
|
554
556
|
}
|
|
555
557
|
};
|
|
556
558
|
}
|
|
557
|
-
function
|
|
559
|
+
function ge(n) {
|
|
558
560
|
let e;
|
|
559
561
|
function t(l, r) {
|
|
560
562
|
return (
|
|
561
563
|
/*bonus*/
|
|
562
|
-
l[
|
|
564
|
+
l[52].type === "freeRound" ? ln : rn
|
|
563
565
|
);
|
|
564
566
|
}
|
|
565
567
|
let o = t(n), a = o(n);
|
|
566
568
|
return {
|
|
567
569
|
c() {
|
|
568
|
-
a.c(), e =
|
|
570
|
+
a.c(), e = Be();
|
|
569
571
|
},
|
|
570
572
|
m(l, r) {
|
|
571
573
|
a.m(l, r), O(l, e, r);
|
|
@@ -578,119 +580,119 @@ function _e(n) {
|
|
|
578
580
|
}
|
|
579
581
|
};
|
|
580
582
|
}
|
|
581
|
-
function
|
|
582
|
-
let e, t, o, a, l, r, b, i, p, w, c, m,
|
|
583
|
+
function _e(n) {
|
|
584
|
+
let e, t, o, a, l, r, b, i, p, w, c, m, k, B, P, M, D, E, G, I = oe(Array(
|
|
583
585
|
/*numberOfPages*/
|
|
584
|
-
n[
|
|
586
|
+
n[16]
|
|
585
587
|
)), g = [];
|
|
586
|
-
for (let _ = 0; _ <
|
|
587
|
-
g[_] =
|
|
588
|
+
for (let _ = 0; _ < I.length; _ += 1)
|
|
589
|
+
g[_] = ye(be(n, I, _));
|
|
588
590
|
return {
|
|
589
591
|
c() {
|
|
590
|
-
e = v("div"), t = v("span"), o =
|
|
592
|
+
e = v("div"), t = v("span"), o = W("|<"), l = S(), r = v("span"), b = W("<"), p = S();
|
|
591
593
|
for (let _ = 0; _ < g.length; _ += 1)
|
|
592
594
|
g[_].c();
|
|
593
|
-
w =
|
|
594
|
-
(n[
|
|
595
|
-
(n[
|
|
596
|
-
(n[
|
|
597
|
-
n[
|
|
598
|
-
(n[
|
|
599
|
-
n[
|
|
600
|
-
(n[
|
|
595
|
+
w = S(), c = v("span"), m = W(">"), B = S(), P = v("span"), M = W(">|"), f(t, "class", a = "BonusesFirst " + /*currentPage*/
|
|
596
|
+
(n[17] === 0 ? "Inactive" : "")), f(r, "class", i = "BonusesPrev " + /*currentPage*/
|
|
597
|
+
(n[17] === 0 ? "Inactive" : "")), f(c, "class", k = "BonusesNext " + /*currentPage*/
|
|
598
|
+
(n[17] === /*numberOfPages*/
|
|
599
|
+
n[16] - 1 ? "Inactive" : "")), f(P, "class", D = "BonusesLast " + /*currentPage*/
|
|
600
|
+
(n[17] === /*numberOfPages*/
|
|
601
|
+
n[16] - 1 ? "Inactive" : "")), f(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
602
|
+
(n[23] ? "BonusesPaginationWrapperMobile" : ""));
|
|
601
603
|
},
|
|
602
|
-
m(_,
|
|
603
|
-
O(_, e,
|
|
604
|
+
m(_, F) {
|
|
605
|
+
O(_, e, F), d(e, t), d(t, o), d(e, l), d(e, r), d(r, b), d(e, p);
|
|
604
606
|
for (let y = 0; y < g.length; y += 1)
|
|
605
607
|
g[y] && g[y].m(e, null);
|
|
606
|
-
d(e, w), d(e, c), d(c, m), d(e,
|
|
607
|
-
|
|
608
|
+
d(e, w), d(e, c), d(c, m), d(e, B), d(e, P), d(P, M), E || (G = [
|
|
609
|
+
J(
|
|
608
610
|
t,
|
|
609
611
|
"click",
|
|
610
612
|
/*click_handler_2*/
|
|
611
|
-
n[
|
|
613
|
+
n[34]
|
|
612
614
|
),
|
|
613
|
-
|
|
615
|
+
J(
|
|
614
616
|
r,
|
|
615
617
|
"click",
|
|
616
618
|
/*click_handler_3*/
|
|
617
|
-
n[
|
|
619
|
+
n[35]
|
|
618
620
|
),
|
|
619
|
-
|
|
621
|
+
J(
|
|
620
622
|
c,
|
|
621
623
|
"click",
|
|
622
624
|
/*click_handler_5*/
|
|
623
|
-
n[
|
|
625
|
+
n[37]
|
|
624
626
|
),
|
|
625
|
-
|
|
627
|
+
J(
|
|
626
628
|
P,
|
|
627
629
|
"click",
|
|
628
630
|
/*click_handler_6*/
|
|
629
|
-
n[
|
|
631
|
+
n[38]
|
|
630
632
|
)
|
|
631
633
|
], E = !0);
|
|
632
634
|
},
|
|
633
|
-
p(_,
|
|
634
|
-
if (
|
|
635
|
-
|
|
636
|
-
(_[
|
|
637
|
-
|
|
638
|
-
(_[
|
|
639
|
-
|
|
640
|
-
|
|
635
|
+
p(_, F) {
|
|
636
|
+
if (F[0] & /*currentPage*/
|
|
637
|
+
131072 && a !== (a = "BonusesFirst " + /*currentPage*/
|
|
638
|
+
(_[17] === 0 ? "Inactive" : "")) && f(t, "class", a), F[0] & /*currentPage*/
|
|
639
|
+
131072 && i !== (i = "BonusesPrev " + /*currentPage*/
|
|
640
|
+
(_[17] === 0 ? "Inactive" : "")) && f(r, "class", i), F[0] & /*currentPage, getBonuses, bonushistorystatus, bonushistorytype, numberOfPages*/
|
|
641
|
+
67305568) {
|
|
642
|
+
I = oe(Array(
|
|
641
643
|
/*numberOfPages*/
|
|
642
|
-
_[
|
|
644
|
+
_[16]
|
|
643
645
|
));
|
|
644
646
|
let y;
|
|
645
|
-
for (y = 0; y <
|
|
646
|
-
const L =
|
|
647
|
-
g[y] ? g[y].p(L,
|
|
647
|
+
for (y = 0; y < I.length; y += 1) {
|
|
648
|
+
const L = be(_, I, y);
|
|
649
|
+
g[y] ? g[y].p(L, F) : (g[y] = ye(L), g[y].c(), g[y].m(e, w));
|
|
648
650
|
}
|
|
649
651
|
for (; y < g.length; y += 1)
|
|
650
652
|
g[y].d(1);
|
|
651
|
-
g.length =
|
|
653
|
+
g.length = I.length;
|
|
652
654
|
}
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
(_[
|
|
656
|
-
_[
|
|
657
|
-
|
|
658
|
-
(_[
|
|
659
|
-
_[
|
|
655
|
+
F[0] & /*currentPage, numberOfPages*/
|
|
656
|
+
196608 && k !== (k = "BonusesNext " + /*currentPage*/
|
|
657
|
+
(_[17] === /*numberOfPages*/
|
|
658
|
+
_[16] - 1 ? "Inactive" : "")) && f(c, "class", k), F[0] & /*currentPage, numberOfPages*/
|
|
659
|
+
196608 && D !== (D = "BonusesLast " + /*currentPage*/
|
|
660
|
+
(_[17] === /*numberOfPages*/
|
|
661
|
+
_[16] - 1 ? "Inactive" : "")) && f(P, "class", D);
|
|
660
662
|
},
|
|
661
663
|
d(_) {
|
|
662
|
-
_ && j(e),
|
|
664
|
+
_ && j(e), he(g, _), E = !1, Ue(G);
|
|
663
665
|
}
|
|
664
666
|
};
|
|
665
667
|
}
|
|
666
|
-
function
|
|
668
|
+
function ye(n) {
|
|
667
669
|
let e, t = (
|
|
668
670
|
/*i*/
|
|
669
|
-
n[
|
|
671
|
+
n[51] + 1 + ""
|
|
670
672
|
), o, a, l, r;
|
|
671
673
|
function b() {
|
|
672
674
|
return (
|
|
673
675
|
/*click_handler_4*/
|
|
674
|
-
n[
|
|
676
|
+
n[36](
|
|
675
677
|
/*i*/
|
|
676
|
-
n[
|
|
678
|
+
n[51]
|
|
677
679
|
)
|
|
678
680
|
);
|
|
679
681
|
}
|
|
680
682
|
return {
|
|
681
683
|
c() {
|
|
682
|
-
e = v("span"), o =
|
|
683
|
-
(n[
|
|
684
|
-
n[
|
|
684
|
+
e = v("span"), o = W(t), f(e, "class", a = "BonusesPage " + /*i*/
|
|
685
|
+
(n[51] === /*currentPage*/
|
|
686
|
+
n[17] ? "BonusPageActive" : ""));
|
|
685
687
|
},
|
|
686
688
|
m(i, p) {
|
|
687
|
-
O(i, e, p), d(e, o), l || (r =
|
|
689
|
+
O(i, e, p), d(e, o), l || (r = J(e, "click", b), l = !0);
|
|
688
690
|
},
|
|
689
691
|
p(i, p) {
|
|
690
692
|
n = i, p[0] & /*currentPage*/
|
|
691
|
-
|
|
692
|
-
(n[
|
|
693
|
-
n[
|
|
693
|
+
131072 && a !== (a = "BonusesPage " + /*i*/
|
|
694
|
+
(n[51] === /*currentPage*/
|
|
695
|
+
n[17] ? "BonusPageActive" : "")) && f(e, "class", a);
|
|
694
696
|
},
|
|
695
697
|
d(i) {
|
|
696
698
|
i && j(e), l = !1, r();
|
|
@@ -708,38 +710,38 @@ function un(n) {
|
|
|
708
710
|
e = v("div"), a.c();
|
|
709
711
|
},
|
|
710
712
|
m(l, r) {
|
|
711
|
-
O(l, e, r), a.m(e, null), n[
|
|
713
|
+
O(l, e, r), a.m(e, null), n[39](e);
|
|
712
714
|
},
|
|
713
715
|
p(l, r) {
|
|
714
716
|
a.p(l, r);
|
|
715
717
|
},
|
|
716
|
-
i:
|
|
717
|
-
o:
|
|
718
|
+
i: ce,
|
|
719
|
+
o: ce,
|
|
718
720
|
d(l) {
|
|
719
|
-
l && j(e), a.d(), n[
|
|
721
|
+
l && j(e), a.d(), n[39](null);
|
|
720
722
|
}
|
|
721
723
|
};
|
|
722
724
|
}
|
|
723
725
|
let V = 6;
|
|
724
726
|
function dn(n, e, t) {
|
|
725
727
|
let o;
|
|
726
|
-
Ge(n, Ke, (u) => t(
|
|
727
|
-
let { endpoint: a = "" } = e, { session: l = "" } = e, { playerid: r = "" } = e, { lang: b = "en" } = e, { clientstyling: i = "" } = e, { clientstylingurl: p = "" } = e, { mbsource: w } = e, { translationurl: c = "" } = e, { bonushistorystatus: m = "" } = e, { bonushistorytype:
|
|
728
|
-
|
|
729
|
-
let g =
|
|
728
|
+
Ge(n, Ke, (u) => t(22, o = u));
|
|
729
|
+
let { endpoint: a = "" } = e, { session: l = "" } = e, { playerid: r = "" } = e, { lang: b = "en" } = e, { clientstyling: i = "" } = e, { clientstylingurl: p = "" } = e, { mbsource: w } = e, { translationurl: c = "" } = e, { bonushistorystatus: m = "" } = e, { bonushistorytype: k = "" } = e, B, P = window.navigator.userAgent, M = Ve(P) !== "PC", D, E;
|
|
730
|
+
const G = ae(/* @__PURE__ */ new Date(), "yyyy-MM-dd");
|
|
731
|
+
let g = ae(Qe(/* @__PURE__ */ new Date(), 3), "yyyy-MM-dd"), _ = G, F = !0, y = 0, L = 0, q = 0, K = 0, U = 0, ee = [], Q = "", ne = "", N = "";
|
|
730
732
|
const se = () => {
|
|
731
|
-
fetch(c).then((
|
|
732
|
-
Object.keys(
|
|
733
|
-
|
|
733
|
+
fetch(c).then((A) => A.json()).then((A) => {
|
|
734
|
+
Object.keys(A).forEach((te) => {
|
|
735
|
+
pe(te, A[te]);
|
|
734
736
|
});
|
|
735
|
-
}).catch((
|
|
736
|
-
console.log(
|
|
737
|
+
}).catch((A) => {
|
|
738
|
+
console.log(A);
|
|
737
739
|
});
|
|
738
740
|
};
|
|
739
|
-
Object.keys(
|
|
740
|
-
|
|
741
|
+
Object.keys(me).forEach((u) => {
|
|
742
|
+
pe(u, me[u]);
|
|
741
743
|
});
|
|
742
|
-
const
|
|
744
|
+
const Y = () => {
|
|
743
745
|
window.postMessage(
|
|
744
746
|
{
|
|
745
747
|
type: "PlayerAccountMenuActive",
|
|
@@ -747,64 +749,67 @@ function dn(n, e, t) {
|
|
|
747
749
|
},
|
|
748
750
|
window.location.href
|
|
749
751
|
);
|
|
750
|
-
},
|
|
751
|
-
let re = new URL(`${a}/v1/player/${r}/bonusWallet`), We = ae(xe(new Date(g)), "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"), Ae = ae($e(new Date(_)), "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"),
|
|
752
|
-
|
|
752
|
+
}, C = (u, A, te) => {
|
|
753
|
+
let re = new URL(`${a}/v1/player/${r}/bonusWallet`), We = ae(xe(new Date(g)), "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"), Ae = ae($e(new Date(_)), "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"), X = "", ue = "", de = "";
|
|
754
|
+
A && (ue = A.split(",").map((Z) => `status=${Z}`).join(","), X = X + ue + ","), te && (de = te.split(",").map((Z) => `type=${Z}`).join(","), X = X + de + ","), X = X + `granted=[${We}~${Ae}]`, re.searchParams.append("filter", X), re.searchParams.append("pagination", `offset=${u},limit=${V}`);
|
|
753
755
|
let ze = {
|
|
754
756
|
method: "GET",
|
|
755
757
|
headers: { "X-SessionId": l }
|
|
756
758
|
};
|
|
757
|
-
fetch(re.href, ze).then((
|
|
758
|
-
(
|
|
759
|
-
Array.isArray(
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
}), t(15, J = Math.ceil(W.total / V)), u - V >= 0 && t(12, C = u - V), u + V < W.total && t(13, y = u + V), t(14, L = (J - 1) * V), t(16, q = u / V), t(17, $ = (W == null ? void 0 : W.items) || []);
|
|
759
|
+
fetch(re.href, ze).then((z) => z.json()).then(
|
|
760
|
+
(z) => {
|
|
761
|
+
Array.isArray(z.items) && z.items.forEach((le) => {
|
|
762
|
+
const Z = le?.extension?.bonus?.presentation;
|
|
763
|
+
Z && (t(19, Q = Z.url), t(21, N = Z.description), t(20, ne = Z.assets));
|
|
764
|
+
}), t(16, K = Math.ceil(z.total / V)), u - V >= 0 && t(13, y = u - V), u + V < z.total && t(14, L = u + V), t(15, q = (K - 1) * V), t(17, U = u / V), t(18, ee = z?.items || []);
|
|
764
765
|
},
|
|
765
|
-
(
|
|
766
|
-
console.error(
|
|
766
|
+
(z) => {
|
|
767
|
+
console.error(z);
|
|
767
768
|
}
|
|
768
769
|
), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
769
770
|
}, H = (u) => {
|
|
770
|
-
g = u.target.value;
|
|
771
|
-
},
|
|
772
|
-
_ = u.target.value;
|
|
771
|
+
t(10, g = u.target.value);
|
|
772
|
+
}, h = (u) => {
|
|
773
|
+
t(11, _ = u.target.value);
|
|
773
774
|
}, T = () => {
|
|
774
|
-
|
|
775
|
+
const u = new Date(g), A = new Date(_);
|
|
776
|
+
u.getTime() > A.getTime() ? t(12, F = !1) : t(12, F = !0);
|
|
777
|
+
}, ve = () => {
|
|
778
|
+
D.addEventListener("change", H, !1), E.addEventListener("change", h, !1);
|
|
775
779
|
};
|
|
776
780
|
qe(() => () => {
|
|
777
|
-
D.removeEventListener("change", H), E.removeEventListener("change",
|
|
781
|
+
D.removeEventListener("change", H), E.removeEventListener("change", h);
|
|
778
782
|
});
|
|
779
783
|
const we = () => {
|
|
780
784
|
en(b);
|
|
781
|
-
},
|
|
782
|
-
function
|
|
783
|
-
|
|
785
|
+
}, ke = () => Y();
|
|
786
|
+
function Fe(u) {
|
|
787
|
+
ie[u ? "unshift" : "push"](() => {
|
|
784
788
|
D = u, t(8, D);
|
|
785
789
|
});
|
|
786
790
|
}
|
|
787
791
|
function Ce(u) {
|
|
788
|
-
|
|
792
|
+
ie[u ? "unshift" : "push"](() => {
|
|
789
793
|
E = u, t(9, E);
|
|
790
794
|
});
|
|
791
795
|
}
|
|
792
|
-
const Pe = () =>
|
|
796
|
+
const Pe = () => C(0, m, k), He = () => C(0, m, k), Me = () => C(y, m, k), De = (u) => C(u * V, m, k), Te = () => C(L, m, k), Ee = () => C(q, m, k);
|
|
793
797
|
function Se(u) {
|
|
794
|
-
|
|
795
|
-
|
|
798
|
+
ie[u ? "unshift" : "push"](() => {
|
|
799
|
+
B = u, t(7, B);
|
|
796
800
|
});
|
|
797
801
|
}
|
|
798
802
|
return n.$$set = (u) => {
|
|
799
|
-
"endpoint" in u && t(
|
|
803
|
+
"endpoint" in u && t(27, a = u.endpoint), "session" in u && t(28, l = u.session), "playerid" in u && t(29, r = u.playerid), "lang" in u && t(0, b = u.lang), "clientstyling" in u && t(1, i = u.clientstyling), "clientstylingurl" in u && t(2, p = u.clientstylingurl), "mbsource" in u && t(3, w = u.mbsource), "translationurl" in u && t(4, c = u.translationurl), "bonushistorystatus" in u && t(5, m = u.bonushistorystatus), "bonushistorytype" in u && t(6, k = u.bonushistorytype);
|
|
800
804
|
}, n.$$.update = () => {
|
|
801
805
|
n.$$.dirty[0] & /*lang*/
|
|
802
806
|
1 && b && we(), n.$$.dirty[0] & /*startCalendar, endCalendar*/
|
|
803
|
-
768 && D && E &&
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
807
|
+
768 && D && E && ve(), n.$$.dirty[0] & /*bonusCalendarStartDate, bonusCalendarEndDate*/
|
|
808
|
+
3072 && g && _ && T(), n.$$.dirty[0] & /*session, playerid, endpoint, bonushistorystatus, bonushistorytype*/
|
|
809
|
+
939524192 && l && r && a && C(0, m, k), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
810
|
+
130 && i && B && Ze(B, i), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
811
|
+
132 && p && B && Ye(B, p), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
812
|
+
136 && w && B && Xe(B, `${w}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
808
813
|
16 && c && se();
|
|
809
814
|
}, [
|
|
810
815
|
b,
|
|
@@ -813,30 +818,32 @@ function dn(n, e, t) {
|
|
|
813
818
|
w,
|
|
814
819
|
c,
|
|
815
820
|
m,
|
|
816
|
-
|
|
817
|
-
|
|
821
|
+
k,
|
|
822
|
+
B,
|
|
818
823
|
D,
|
|
819
824
|
E,
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
825
|
+
g,
|
|
826
|
+
_,
|
|
827
|
+
F,
|
|
823
828
|
y,
|
|
824
829
|
L,
|
|
825
|
-
J,
|
|
826
830
|
q,
|
|
827
|
-
$,
|
|
828
831
|
K,
|
|
832
|
+
U,
|
|
829
833
|
ee,
|
|
834
|
+
Q,
|
|
835
|
+
ne,
|
|
830
836
|
N,
|
|
831
837
|
o,
|
|
832
838
|
M,
|
|
833
|
-
|
|
834
|
-
|
|
839
|
+
G,
|
|
840
|
+
Y,
|
|
841
|
+
C,
|
|
835
842
|
a,
|
|
836
843
|
l,
|
|
837
844
|
r,
|
|
838
|
-
Fe,
|
|
839
845
|
ke,
|
|
846
|
+
Fe,
|
|
840
847
|
Ce,
|
|
841
848
|
Pe,
|
|
842
849
|
He,
|
|
@@ -856,9 +863,9 @@ class cn extends Ne {
|
|
|
856
863
|
un,
|
|
857
864
|
je,
|
|
858
865
|
{
|
|
859
|
-
endpoint:
|
|
860
|
-
session:
|
|
861
|
-
playerid:
|
|
866
|
+
endpoint: 27,
|
|
867
|
+
session: 28,
|
|
868
|
+
playerid: 29,
|
|
862
869
|
lang: 0,
|
|
863
870
|
clientstyling: 1,
|
|
864
871
|
clientstylingurl: 2,
|
|
@@ -872,19 +879,19 @@ class cn extends Ne {
|
|
|
872
879
|
);
|
|
873
880
|
}
|
|
874
881
|
get endpoint() {
|
|
875
|
-
return this.$$.ctx[
|
|
882
|
+
return this.$$.ctx[27];
|
|
876
883
|
}
|
|
877
884
|
set endpoint(e) {
|
|
878
885
|
this.$$set({ endpoint: e }), R();
|
|
879
886
|
}
|
|
880
887
|
get session() {
|
|
881
|
-
return this.$$.ctx[
|
|
888
|
+
return this.$$.ctx[28];
|
|
882
889
|
}
|
|
883
890
|
set session(e) {
|
|
884
891
|
this.$$set({ session: e }), R();
|
|
885
892
|
}
|
|
886
893
|
get playerid() {
|
|
887
|
-
return this.$$.ctx[
|
|
894
|
+
return this.$$.ctx[29];
|
|
888
895
|
}
|
|
889
896
|
set playerid(e) {
|
|
890
897
|
this.$$set({ playerid: e }), R();
|