@everymatrix/player-account-controller-nd 1.45.6 → 1.45.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/{PlayerAccountControllerNd-DaY3peCm.cjs → PlayerAccountControllerNd-BymYr_ze.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-CVnrfix5.js → PlayerAccountControllerNd-D-NE5fky.js} +2 -2
- package/components/{PlayerActiveBonuses-CpEieMUG.js → PlayerActiveBonuses-CIvyQppa.js} +61 -61
- package/components/PlayerActiveBonuses-D2PR-NJe.cjs +1 -0
- package/components/PlayerBonusHistory-CDDjXtHi.cjs +1 -0
- package/components/{PlayerBonusHistory-rFWrF_Pj.js → PlayerBonusHistory-DjdpaXkK.js} +97 -97
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/package.json +20 -20
- package/components/PlayerActiveBonuses-bY0Y51Al.cjs +0 -1
- package/components/PlayerBonusHistory-DdGgXcKX.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as We, $ as Se, S as Ae, i as Le, f as V, c as ze, s as Ie, b as Ne, e as B, k as
|
|
1
|
+
import { a as We, $ as Se, S as Ae, i as Le, f as V, c as ze, s as Ie, b as Ne, e as B, k as j, o as ue, p as G, q as Ye, u as Re, v as je, x as le, y as Ge, d as T, t as L, g as f, j as l, l as d, m as K, n as x, w as Q, K as se, L as _e, r as Oe, B as ye } from "./GeneralLogout-DI0_2Ld2.js";
|
|
2
2
|
import { h as ne } from "./PlayerAccountGamingLimitsGroupEdit-BQ82HYJY.js";
|
|
3
|
-
import "./PlayerActiveBonuses-
|
|
3
|
+
import "./PlayerActiveBonuses-CIvyQppa.js";
|
|
4
4
|
import "./PlayerAccountSelfExclusionNd-B1PSYs3p.js";
|
|
5
5
|
function de(t, e) {
|
|
6
6
|
We(t, e);
|
|
@@ -81,7 +81,7 @@ const ce = {
|
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
function qe(t) {
|
|
84
|
-
Ne(t, "svelte-
|
|
84
|
+
Ne(t, "svelte-jtxmoo", ".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)}");
|
|
85
85
|
}
|
|
86
86
|
function pe(t, e, s) {
|
|
87
87
|
const a = t.slice();
|
|
@@ -95,16 +95,16 @@ function Ue(t) {
|
|
|
95
95
|
let e, s, a, n = (
|
|
96
96
|
/*$_*/
|
|
97
97
|
t[17]("titleBonusesHistory") + ""
|
|
98
|
-
), r, o,
|
|
98
|
+
), r, o, b, u, p, v, c = (
|
|
99
99
|
/*$_*/
|
|
100
100
|
t[17]("dateFrom") + ""
|
|
101
101
|
), m, k, P, F, w, H, E = (
|
|
102
102
|
/*$_*/
|
|
103
103
|
t[17]("dateTo") + ""
|
|
104
|
-
),
|
|
104
|
+
), N, W, _, g, C, y = (
|
|
105
105
|
/*$_*/
|
|
106
106
|
t[17]("dateFilter") + ""
|
|
107
|
-
),
|
|
107
|
+
), Y, $, U, te, X, z, R = (
|
|
108
108
|
/*isMobile*/
|
|
109
109
|
t[18] && Ze(t)
|
|
110
110
|
);
|
|
@@ -116,13 +116,13 @@ function Ue(t) {
|
|
|
116
116
|
}
|
|
117
117
|
let J = ee(t), S = J(t), M = (
|
|
118
118
|
/*bonusesList*/
|
|
119
|
-
t[16].length !== 0 &&
|
|
119
|
+
t[16].length !== 0 && fe(t)
|
|
120
120
|
);
|
|
121
121
|
return {
|
|
122
122
|
c() {
|
|
123
|
-
e = B("div"),
|
|
124
|
-
(t[18] ? "BonusesTitleNone" : "")),
|
|
125
|
-
(t[18] ? "BonusesTitleNone" : "")),
|
|
123
|
+
e = B("div"), R && R.c(), s = T(), a = B("h2"), r = L(n), o = T(), b = B("div"), u = B("div"), p = B("div"), v = B("label"), m = L(c), k = T(), P = B("vaadin-date-picker"), F = T(), w = B("div"), H = B("label"), N = L(E), W = T(), _ = B("vaadin-date-picker"), g = T(), C = B("button"), Y = L(y), $ = T(), U = B("div"), S.c(), te = T(), M && M.c(), f(a, "class", "BonusesTitle " + /*isMobile*/
|
|
124
|
+
(t[18] ? "BonusesTitleNone" : "")), f(a, "part", "BonusesTitle " + /*isMobile*/
|
|
125
|
+
(t[18] ? "BonusesTitleNone" : "")), f(v, "for", "BonusCalendarStartDate"), l(
|
|
126
126
|
P,
|
|
127
127
|
"max",
|
|
128
128
|
/*maxDate*/
|
|
@@ -132,8 +132,8 @@ function Ue(t) {
|
|
|
132
132
|
"value",
|
|
133
133
|
/*lastMonth*/
|
|
134
134
|
t[10]
|
|
135
|
-
), l(P, "placeholder", "From"), l(P, "class", "VaadinDatePicker"),
|
|
136
|
-
(t[18] ? "BonusesCalendarMobile" : "")),
|
|
135
|
+
), l(P, "placeholder", "From"), l(P, "class", "VaadinDatePicker"), f(p, "class", "BonusesCalendarStartDate " + /*isMobile*/
|
|
136
|
+
(t[18] ? "BonusesCalendarMobile" : "")), f(H, "for", "BonusesCalendarEndDate"), l(
|
|
137
137
|
_,
|
|
138
138
|
"max",
|
|
139
139
|
/*maxDate*/
|
|
@@ -143,16 +143,16 @@ function Ue(t) {
|
|
|
143
143
|
"value",
|
|
144
144
|
/*maxDate*/
|
|
145
145
|
t[9]
|
|
146
|
-
), l(_, "placeholder", "To"), l(_, "class", "VaadinDatePicker"),
|
|
147
|
-
(t[18] ? "BonusesCalendarMobile" : "")),
|
|
148
|
-
(t[18] ? "BonusesCalendarContainerMobile" : "")),
|
|
149
|
-
(t[18] ? "BonusesCalendarFilterMobile" : "")), b
|
|
150
|
-
(t[18] ? "BonusCalendarWrapperMobile" : "")),
|
|
151
|
-
(t[18] ? "BonusesGridMobile" : "")),
|
|
146
|
+
), l(_, "placeholder", "To"), l(_, "class", "VaadinDatePicker"), f(w, "class", "BonusesCalendarEndDate " + /*isMobile*/
|
|
147
|
+
(t[18] ? "BonusesCalendarMobile" : "")), f(u, "class", "BonusesCalendarContainer " + /*isMobile*/
|
|
148
|
+
(t[18] ? "BonusesCalendarContainerMobile" : "")), f(C, "class", "BonusesCalendarFilter " + /*isMobile*/
|
|
149
|
+
(t[18] ? "BonusesCalendarFilterMobile" : "")), f(b, "class", "BonusCalendarWrapper " + /*isMobile*/
|
|
150
|
+
(t[18] ? "BonusCalendarWrapperMobile" : "")), f(U, "class", "BonusesGrid " + /*isMobile*/
|
|
151
|
+
(t[18] ? "BonusesGridMobile" : "")), f(e, "class", "BonusesWrapper " + /*isMobile*/
|
|
152
152
|
(t[18] ? "BonusesWrapperMobile" : ""));
|
|
153
153
|
},
|
|
154
154
|
m(h, D) {
|
|
155
|
-
|
|
155
|
+
j(h, e, D), R && R.m(e, null), d(e, s), d(e, a), d(a, r), d(e, o), d(e, b), d(b, u), d(u, p), d(p, v), d(v, m), d(p, k), d(p, P), t[25](P), d(u, F), d(u, w), d(w, H), d(H, N), d(w, W), d(w, _), t[26](_), d(b, g), d(b, C), d(C, Y), d(e, $), d(e, U), S.m(U, null), d(e, te), M && M.m(e, null), X || (z = K(
|
|
156
156
|
C,
|
|
157
157
|
"click",
|
|
158
158
|
/*click_handler_1*/
|
|
@@ -161,7 +161,7 @@ function Ue(t) {
|
|
|
161
161
|
},
|
|
162
162
|
p(h, D) {
|
|
163
163
|
/*isMobile*/
|
|
164
|
-
h[18] &&
|
|
164
|
+
h[18] && R.p(h, D), D[0] & /*$_*/
|
|
165
165
|
131072 && n !== (n = /*$_*/
|
|
166
166
|
h[17]("titleBonusesHistory") + "") && x(r, n), D[0] & /*$_*/
|
|
167
167
|
131072 && c !== (c = /*$_*/
|
|
@@ -179,7 +179,7 @@ function Ue(t) {
|
|
|
179
179
|
h[10]
|
|
180
180
|
), D[0] & /*$_*/
|
|
181
181
|
131072 && E !== (E = /*$_*/
|
|
182
|
-
h[17]("dateTo") + "") && x(
|
|
182
|
+
h[17]("dateTo") + "") && x(N, E), D[0] & /*maxDate*/
|
|
183
183
|
512 && l(
|
|
184
184
|
_,
|
|
185
185
|
"max",
|
|
@@ -193,25 +193,25 @@ function Ue(t) {
|
|
|
193
193
|
h[9]
|
|
194
194
|
), D[0] & /*$_*/
|
|
195
195
|
131072 && y !== (y = /*$_*/
|
|
196
|
-
h[17]("dateFilter") + "") && x(
|
|
197
|
-
h[16].length !== 0 ? M ? M.p(h, D) : (M =
|
|
196
|
+
h[17]("dateFilter") + "") && x(Y, y), J === (J = ee(h)) && S ? S.p(h, D) : (S.d(1), S = J(h), S && (S.c(), S.m(U, null))), /*bonusesList*/
|
|
197
|
+
h[16].length !== 0 ? M ? M.p(h, D) : (M = fe(h), M.c(), M.m(e, null)) : M && (M.d(1), M = null);
|
|
198
198
|
},
|
|
199
199
|
d(h) {
|
|
200
|
-
h &&
|
|
200
|
+
h && G(e), R && R.d(), t[25](null), t[26](null), S.d(), M && M.d(), X = !1, z();
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
function Ze(t) {
|
|
205
|
-
let e, s, a, n, r, o,
|
|
205
|
+
let e, s, a, n, r, o, b, u, p, v, c = (
|
|
206
206
|
/*$_*/
|
|
207
207
|
t[17]("titleBonusesHistory") + ""
|
|
208
208
|
), m, k, P;
|
|
209
209
|
return {
|
|
210
210
|
c() {
|
|
211
|
-
e = B("div"), s = Q("svg"), a = Q("defs"), n = Q("style"), r = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), o = Q("g"),
|
|
211
|
+
e = B("div"), s = Q("svg"), a = Q("defs"), n = Q("style"), r = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), o = Q("g"), b = Q("g"), u = Q("path"), p = T(), v = B("h2"), m = L(c), f(u, "class", "aaa"), f(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), f(u, "transform", "translate(15 15) rotate(180)"), f(b, "transform", "translate(20 158)"), f(o, "transform", "translate(-20 -158)"), f(s, "xmlns", "http://www.w3.org/2000/svg"), f(s, "width", "15"), f(s, "height", "15"), f(s, "viewBox", "0 0 15 15"), f(v, "class", "BonusesTitleMobile"), f(e, "class", "MenuReturnButton");
|
|
212
212
|
},
|
|
213
213
|
m(F, w) {
|
|
214
|
-
|
|
214
|
+
j(F, e, w), d(e, s), d(s, a), d(a, n), d(n, r), d(s, o), d(o, b), d(b, u), d(e, p), d(e, v), d(v, m), k || (P = K(
|
|
215
215
|
e,
|
|
216
216
|
"click",
|
|
217
217
|
/*click_handler*/
|
|
@@ -224,7 +224,7 @@ function Ze(t) {
|
|
|
224
224
|
F[17]("titleBonusesHistory") + "") && x(m, c);
|
|
225
225
|
},
|
|
226
226
|
d(F) {
|
|
227
|
-
F &&
|
|
227
|
+
F && G(e), k = !1, P();
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
}
|
|
@@ -234,7 +234,7 @@ function Ke(t) {
|
|
|
234
234
|
t[16]
|
|
235
235
|
), a = [];
|
|
236
236
|
for (let n = 0; n < s.length; n += 1)
|
|
237
|
-
a[n] =
|
|
237
|
+
a[n] = be(me(t, s, n));
|
|
238
238
|
return {
|
|
239
239
|
c() {
|
|
240
240
|
for (let n = 0; n < a.length; n += 1)
|
|
@@ -244,7 +244,7 @@ function Ke(t) {
|
|
|
244
244
|
m(n, r) {
|
|
245
245
|
for (let o = 0; o < a.length; o += 1)
|
|
246
246
|
a[o] && a[o].m(n, r);
|
|
247
|
-
|
|
247
|
+
j(n, e, r);
|
|
248
248
|
},
|
|
249
249
|
p(n, r) {
|
|
250
250
|
if (r[0] & /*bonusesList, lang, clientstyling, clientstylingurl, translationurl*/
|
|
@@ -255,8 +255,8 @@ function Ke(t) {
|
|
|
255
255
|
);
|
|
256
256
|
let o;
|
|
257
257
|
for (o = 0; o < s.length; o += 1) {
|
|
258
|
-
const
|
|
259
|
-
a[o] ? a[o].p(
|
|
258
|
+
const b = me(n, s, o);
|
|
259
|
+
a[o] ? a[o].p(b, r) : (a[o] = be(b), a[o].c(), a[o].m(e.parentNode, e));
|
|
260
260
|
}
|
|
261
261
|
for (; o < a.length; o += 1)
|
|
262
262
|
a[o].d(1);
|
|
@@ -264,7 +264,7 @@ function Ke(t) {
|
|
|
264
264
|
}
|
|
265
265
|
},
|
|
266
266
|
d(n) {
|
|
267
|
-
n &&
|
|
267
|
+
n && G(e), _e(a, n);
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
}
|
|
@@ -278,7 +278,7 @@ function Xe(t) {
|
|
|
278
278
|
e = B("p"), a = L(s);
|
|
279
279
|
},
|
|
280
280
|
m(n, r) {
|
|
281
|
-
|
|
281
|
+
j(n, e, r), d(e, a);
|
|
282
282
|
},
|
|
283
283
|
p(n, r) {
|
|
284
284
|
r[0] & /*$_*/
|
|
@@ -286,12 +286,12 @@ function Xe(t) {
|
|
|
286
286
|
n[17]("noBonusHistory") + "") && x(a, s);
|
|
287
287
|
},
|
|
288
288
|
d(n) {
|
|
289
|
-
n &&
|
|
289
|
+
n && G(e);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
293
|
function Je(t) {
|
|
294
|
-
let e, s, a, n, r, o,
|
|
294
|
+
let e, s, a, n, r, o, b, u, p, v;
|
|
295
295
|
return {
|
|
296
296
|
c() {
|
|
297
297
|
e = B("player-bonus-card"), l(e, "bonuswalletid", s = /*bonus*/
|
|
@@ -299,7 +299,7 @@ function Je(t) {
|
|
|
299
299
|
t[47].granted), l(e, "bonusstatus", n = /*bonus*/
|
|
300
300
|
t[47].status), l(e, "bonusname", r = /*bonus*/
|
|
301
301
|
t[47].name), l(e, "bonustype", o = /*bonus*/
|
|
302
|
-
t[47].type), l(e, "bonusamount",
|
|
302
|
+
t[47].type), l(e, "bonusamount", b = /*bonus*/
|
|
303
303
|
t[47].extension.grantedPlayerCurrencyAmount), l(e, "bonuswageringamount", u = `${/*bonus*/
|
|
304
304
|
t[47].fulfilledWR} / ${/*bonus*/
|
|
305
305
|
t[47].originalWageringRequirement}`), l(e, "bonusremainingamount", p = /*bonus*/
|
|
@@ -327,7 +327,7 @@ function Je(t) {
|
|
|
327
327
|
);
|
|
328
328
|
},
|
|
329
329
|
m(c, m) {
|
|
330
|
-
|
|
330
|
+
j(c, e, m);
|
|
331
331
|
},
|
|
332
332
|
p(c, m) {
|
|
333
333
|
m[0] & /*bonusesList*/
|
|
@@ -341,8 +341,8 @@ function Je(t) {
|
|
|
341
341
|
c[47].name) && l(e, "bonusname", r), m[0] & /*bonusesList*/
|
|
342
342
|
65536 && o !== (o = /*bonus*/
|
|
343
343
|
c[47].type) && l(e, "bonustype", o), m[0] & /*bonusesList*/
|
|
344
|
-
65536 &&
|
|
345
|
-
c[47].extension.grantedPlayerCurrencyAmount) && l(e, "bonusamount",
|
|
344
|
+
65536 && b !== (b = /*bonus*/
|
|
345
|
+
c[47].extension.grantedPlayerCurrencyAmount) && l(e, "bonusamount", b), m[0] & /*bonusesList*/
|
|
346
346
|
65536 && u !== (u = `${/*bonus*/
|
|
347
347
|
c[47].fulfilledWR} / ${/*bonus*/
|
|
348
348
|
c[47].originalWageringRequirement}`) && l(e, "bonuswageringamount", u), m[0] & /*bonusesList*/
|
|
@@ -376,12 +376,12 @@ function Je(t) {
|
|
|
376
376
|
);
|
|
377
377
|
},
|
|
378
378
|
d(c) {
|
|
379
|
-
c &&
|
|
379
|
+
c && G(e);
|
|
380
380
|
}
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
383
|
function Qe(t) {
|
|
384
|
-
let e, s, a, n, r, o,
|
|
384
|
+
let e, s, a, n, r, o, b;
|
|
385
385
|
return {
|
|
386
386
|
c() {
|
|
387
387
|
e = B("player-bonus-card"), l(e, "bonuswalletid", s = /*bonus*/
|
|
@@ -389,7 +389,7 @@ function Qe(t) {
|
|
|
389
389
|
t[47].granted), l(e, "bonusstatus", n = /*bonus*/
|
|
390
390
|
t[47].status), l(e, "bonusname", r = /*bonus*/
|
|
391
391
|
t[47].name), l(e, "bonustype", o = /*bonus*/
|
|
392
|
-
t[47].type), l(e, "bonuscurrency",
|
|
392
|
+
t[47].type), l(e, "bonuscurrency", b = /*bonus*/
|
|
393
393
|
t[47].currency), l(
|
|
394
394
|
e,
|
|
395
395
|
"lang",
|
|
@@ -413,7 +413,7 @@ function Qe(t) {
|
|
|
413
413
|
);
|
|
414
414
|
},
|
|
415
415
|
m(u, p) {
|
|
416
|
-
|
|
416
|
+
j(u, e, p);
|
|
417
417
|
},
|
|
418
418
|
p(u, p) {
|
|
419
419
|
p[0] & /*bonusesList*/
|
|
@@ -427,8 +427,8 @@ function Qe(t) {
|
|
|
427
427
|
u[47].name) && l(e, "bonusname", r), p[0] & /*bonusesList*/
|
|
428
428
|
65536 && o !== (o = /*bonus*/
|
|
429
429
|
u[47].type) && l(e, "bonustype", o), p[0] & /*bonusesList*/
|
|
430
|
-
65536 &&
|
|
431
|
-
u[47].currency) && l(e, "bonuscurrency",
|
|
430
|
+
65536 && b !== (b = /*bonus*/
|
|
431
|
+
u[47].currency) && l(e, "bonuscurrency", b), p[0] & /*lang*/
|
|
432
432
|
1 && l(
|
|
433
433
|
e,
|
|
434
434
|
"lang",
|
|
@@ -455,11 +455,11 @@ function Qe(t) {
|
|
|
455
455
|
);
|
|
456
456
|
},
|
|
457
457
|
d(u) {
|
|
458
|
-
u &&
|
|
458
|
+
u && G(e);
|
|
459
459
|
}
|
|
460
460
|
};
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function be(t) {
|
|
463
463
|
let e;
|
|
464
464
|
function s(r, o) {
|
|
465
465
|
return (
|
|
@@ -473,18 +473,18 @@ function fe(t) {
|
|
|
473
473
|
n.c(), e = ye();
|
|
474
474
|
},
|
|
475
475
|
m(r, o) {
|
|
476
|
-
n.m(r, o),
|
|
476
|
+
n.m(r, o), j(r, e, o);
|
|
477
477
|
},
|
|
478
478
|
p(r, o) {
|
|
479
479
|
a === (a = s(r)) && n ? n.p(r, o) : (n.d(1), n = a(r), n && (n.c(), n.m(e.parentNode, e)));
|
|
480
480
|
},
|
|
481
481
|
d(r) {
|
|
482
|
-
r &&
|
|
482
|
+
r && G(e), n.d(r);
|
|
483
483
|
}
|
|
484
484
|
};
|
|
485
485
|
}
|
|
486
|
-
function
|
|
487
|
-
let e, s, a, n, r, o,
|
|
486
|
+
function fe(t) {
|
|
487
|
+
let e, s, a, n, r, o, b, u, p, v, c, m, k, P, F, w, H, E, N, W = se(Array(
|
|
488
488
|
/*numberOfPages*/
|
|
489
489
|
t[14]
|
|
490
490
|
)), _ = [];
|
|
@@ -492,23 +492,23 @@ function be(t) {
|
|
|
492
492
|
_[g] = ge(pe(t, W, g));
|
|
493
493
|
return {
|
|
494
494
|
c() {
|
|
495
|
-
e = B("div"), s = B("span"), a = L("|<"), r = T(), o = B("span"),
|
|
495
|
+
e = B("div"), s = B("span"), a = L("|<"), r = T(), o = B("span"), b = L("<"), p = T();
|
|
496
496
|
for (let g = 0; g < _.length; g += 1)
|
|
497
497
|
_[g].c();
|
|
498
|
-
v = T(), c = B("span"), m = L(">"), P = T(), F = B("span"), w = L(">|"),
|
|
499
|
-
(t[15] === 0 ? "Inactive" : "")),
|
|
500
|
-
(t[15] === 0 ? "Inactive" : "")),
|
|
498
|
+
v = T(), c = B("span"), m = L(">"), P = T(), F = B("span"), w = L(">|"), f(s, "class", n = "BonusesFirst " + /*currentPage*/
|
|
499
|
+
(t[15] === 0 ? "Inactive" : "")), f(o, "class", u = "BonusesPrev " + /*currentPage*/
|
|
500
|
+
(t[15] === 0 ? "Inactive" : "")), f(c, "class", k = "BonusesNext " + /*currentPage*/
|
|
501
501
|
(t[15] === /*numberOfPages*/
|
|
502
|
-
t[14] - 1 ? "Inactive" : "")),
|
|
502
|
+
t[14] - 1 ? "Inactive" : "")), f(F, "class", H = "BonusesLast " + /*currentPage*/
|
|
503
503
|
(t[15] === /*numberOfPages*/
|
|
504
|
-
t[14] - 1 ? "Inactive" : "")),
|
|
504
|
+
t[14] - 1 ? "Inactive" : "")), f(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
505
505
|
(t[18] ? "BonusesPaginationWrapperMobile" : ""));
|
|
506
506
|
},
|
|
507
507
|
m(g, C) {
|
|
508
|
-
|
|
508
|
+
j(g, e, C), d(e, s), d(s, a), d(e, r), d(e, o), d(o, b), d(e, p);
|
|
509
509
|
for (let y = 0; y < _.length; y += 1)
|
|
510
510
|
_[y] && _[y].m(e, null);
|
|
511
|
-
d(e, v), d(e, c), d(c, m), d(e, P), d(e, F), d(F, w), E || (
|
|
511
|
+
d(e, v), d(e, c), d(c, m), d(e, P), d(e, F), d(F, w), E || (N = [
|
|
512
512
|
K(
|
|
513
513
|
s,
|
|
514
514
|
"click",
|
|
@@ -538,9 +538,9 @@ function be(t) {
|
|
|
538
538
|
p(g, C) {
|
|
539
539
|
if (C[0] & /*currentPage*/
|
|
540
540
|
32768 && n !== (n = "BonusesFirst " + /*currentPage*/
|
|
541
|
-
(g[15] === 0 ? "Inactive" : "")) &&
|
|
541
|
+
(g[15] === 0 ? "Inactive" : "")) && f(s, "class", n), C[0] & /*currentPage*/
|
|
542
542
|
32768 && u !== (u = "BonusesPrev " + /*currentPage*/
|
|
543
|
-
(g[15] === 0 ? "Inactive" : "")) &&
|
|
543
|
+
(g[15] === 0 ? "Inactive" : "")) && f(o, "class", u), C[0] & /*currentPage, getBonuses, bonushistorystatus, bonushistorytype, numberOfPages*/
|
|
544
544
|
1097776) {
|
|
545
545
|
W = se(Array(
|
|
546
546
|
/*numberOfPages*/
|
|
@@ -548,8 +548,8 @@ function be(t) {
|
|
|
548
548
|
));
|
|
549
549
|
let y;
|
|
550
550
|
for (y = 0; y < W.length; y += 1) {
|
|
551
|
-
const
|
|
552
|
-
_[y] ? _[y].p(
|
|
551
|
+
const Y = pe(g, W, y);
|
|
552
|
+
_[y] ? _[y].p(Y, C) : (_[y] = ge(Y), _[y].c(), _[y].m(e, v));
|
|
553
553
|
}
|
|
554
554
|
for (; y < _.length; y += 1)
|
|
555
555
|
_[y].d(1);
|
|
@@ -558,13 +558,13 @@ function be(t) {
|
|
|
558
558
|
C[0] & /*currentPage, numberOfPages*/
|
|
559
559
|
49152 && k !== (k = "BonusesNext " + /*currentPage*/
|
|
560
560
|
(g[15] === /*numberOfPages*/
|
|
561
|
-
g[14] - 1 ? "Inactive" : "")) &&
|
|
561
|
+
g[14] - 1 ? "Inactive" : "")) && f(c, "class", k), C[0] & /*currentPage, numberOfPages*/
|
|
562
562
|
49152 && H !== (H = "BonusesLast " + /*currentPage*/
|
|
563
563
|
(g[15] === /*numberOfPages*/
|
|
564
|
-
g[14] - 1 ? "Inactive" : "")) &&
|
|
564
|
+
g[14] - 1 ? "Inactive" : "")) && f(F, "class", H);
|
|
565
565
|
},
|
|
566
566
|
d(g) {
|
|
567
|
-
g &&
|
|
567
|
+
g && G(e), _e(_, g), E = !1, Oe(N);
|
|
568
568
|
}
|
|
569
569
|
};
|
|
570
570
|
}
|
|
@@ -573,7 +573,7 @@ function ge(t) {
|
|
|
573
573
|
/*i*/
|
|
574
574
|
t[46] + 1 + ""
|
|
575
575
|
), a, n, r, o;
|
|
576
|
-
function
|
|
576
|
+
function b() {
|
|
577
577
|
return (
|
|
578
578
|
/*click_handler_4*/
|
|
579
579
|
t[30](
|
|
@@ -584,21 +584,21 @@ function ge(t) {
|
|
|
584
584
|
}
|
|
585
585
|
return {
|
|
586
586
|
c() {
|
|
587
|
-
e = B("span"), a = L(s),
|
|
587
|
+
e = B("span"), a = L(s), f(e, "class", n = "BonusesPage " + /*i*/
|
|
588
588
|
(t[46] === /*currentPage*/
|
|
589
589
|
t[15] ? "BonusPageActive" : ""));
|
|
590
590
|
},
|
|
591
591
|
m(u, p) {
|
|
592
|
-
|
|
592
|
+
j(u, e, p), d(e, a), r || (o = K(e, "click", b), r = !0);
|
|
593
593
|
},
|
|
594
594
|
p(u, p) {
|
|
595
595
|
t = u, p[0] & /*currentPage*/
|
|
596
596
|
32768 && n !== (n = "BonusesPage " + /*i*/
|
|
597
597
|
(t[46] === /*currentPage*/
|
|
598
|
-
t[15] ? "BonusPageActive" : "")) &&
|
|
598
|
+
t[15] ? "BonusPageActive" : "")) && f(e, "class", n);
|
|
599
599
|
},
|
|
600
600
|
d(u) {
|
|
601
|
-
u &&
|
|
601
|
+
u && G(e), r = !1, o();
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
604
|
}
|
|
@@ -613,7 +613,7 @@ function xe(t) {
|
|
|
613
613
|
e = B("div"), n.c();
|
|
614
614
|
},
|
|
615
615
|
m(r, o) {
|
|
616
|
-
|
|
616
|
+
j(r, e, o), n.m(e, null), t[33](e);
|
|
617
617
|
},
|
|
618
618
|
p(r, o) {
|
|
619
619
|
n.p(r, o);
|
|
@@ -621,7 +621,7 @@ function xe(t) {
|
|
|
621
621
|
i: ue,
|
|
622
622
|
o: ue,
|
|
623
623
|
d(r) {
|
|
624
|
-
r &&
|
|
624
|
+
r && G(e), n.d(), t[33](null);
|
|
625
625
|
}
|
|
626
626
|
};
|
|
627
627
|
}
|
|
@@ -629,13 +629,13 @@ let q = 6;
|
|
|
629
629
|
function $e(t, e, s) {
|
|
630
630
|
let a;
|
|
631
631
|
Ye(t, Ge, (i) => s(17, a = i));
|
|
632
|
-
let { endpoint: n = "" } = e, { session: r = "" } = e, { playerid: o = "" } = e, { lang:
|
|
633
|
-
E = ne(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"),
|
|
634
|
-
let W =
|
|
632
|
+
let { endpoint: n = "" } = e, { session: r = "" } = e, { playerid: o = "" } = e, { lang: b = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: v = "" } = e, { bonushistorystatus: c = "" } = e, { bonushistorytype: m = "" } = e, k, P = window.navigator.userAgent, F = Re(P) !== "PC", w, H, E, N;
|
|
633
|
+
E = ne(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"), N = ne(/* @__PURE__ */ new Date()).subtract(3, "months").format("YYYY-MM-DD");
|
|
634
|
+
let W = N, _ = E, g = 0, C = 0, y = 0, Y = 0, $ = 0, U = [];
|
|
635
635
|
const te = () => {
|
|
636
636
|
fetch(v).then((A) => A.json()).then((A) => {
|
|
637
|
-
Object.keys(A).forEach((
|
|
638
|
-
de(
|
|
637
|
+
Object.keys(A).forEach((O) => {
|
|
638
|
+
de(O, A[O]);
|
|
639
639
|
});
|
|
640
640
|
}).catch((A) => {
|
|
641
641
|
console.log(A);
|
|
@@ -652,40 +652,40 @@ function $e(t, e, s) {
|
|
|
652
652
|
},
|
|
653
653
|
window.location.href
|
|
654
654
|
);
|
|
655
|
-
}, z = (i, A,
|
|
655
|
+
}, z = (i, A, O) => {
|
|
656
656
|
let ae = new URL(`${n}/v1/player/${o}/bonusWallet`), Me = ne(W).startOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), De = ne(_).endOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), Z = "", re = "", ie = "";
|
|
657
|
-
A && (re = A.split(",").map((oe) => `status=${oe}`).join(","), Z = Z + re + ","),
|
|
657
|
+
A && (re = A.split(",").map((oe) => `status=${oe}`).join(","), Z = Z + re + ","), O && (ie = O.split(",").map((oe) => `type=${oe}`).join(","), Z = Z + ie + ","), Z = Z + `granted=[${Me}~${De}]`, ae.searchParams.append("filter", Z), ae.searchParams.append("pagination", `offset=${i},limit=${q}`);
|
|
658
658
|
let Te = {
|
|
659
659
|
method: "GET",
|
|
660
660
|
headers: { "X-SessionId": r }
|
|
661
661
|
};
|
|
662
|
-
fetch(ae.href, Te).then((
|
|
663
|
-
(
|
|
664
|
-
s(14,
|
|
662
|
+
fetch(ae.href, Te).then((I) => I.json()).then(
|
|
663
|
+
(I) => {
|
|
664
|
+
s(14, Y = Math.ceil(I.total / q)), i - q >= 0 && s(11, g = i - q), i + q < I.total && s(12, C = i + q), s(13, y = (Y - 1) * q), s(15, $ = i / q), s(16, U = (I == null ? void 0 : I.items) || []);
|
|
665
665
|
},
|
|
666
|
-
(
|
|
667
|
-
console.error(
|
|
666
|
+
(I) => {
|
|
667
|
+
console.error(I);
|
|
668
668
|
}
|
|
669
669
|
), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
670
|
-
},
|
|
670
|
+
}, R = (i) => {
|
|
671
671
|
W = i.target.value;
|
|
672
672
|
}, ee = (i) => {
|
|
673
673
|
_ = i.target.value;
|
|
674
674
|
}, J = () => {
|
|
675
|
-
w.addEventListener("change",
|
|
675
|
+
w.addEventListener("change", R, !1), H.addEventListener("change", ee, !1);
|
|
676
676
|
};
|
|
677
677
|
je(() => () => {
|
|
678
|
-
w.removeEventListener("change",
|
|
678
|
+
w.removeEventListener("change", R), H.removeEventListener("change", ee);
|
|
679
679
|
});
|
|
680
680
|
const S = () => {
|
|
681
|
-
Ve(
|
|
681
|
+
Ve(b);
|
|
682
682
|
}, M = () => {
|
|
683
683
|
let i = document.createElement("style");
|
|
684
684
|
i.innerHTML = u, k.appendChild(i);
|
|
685
685
|
}, h = () => {
|
|
686
686
|
let i = new URL(p), A = document.createElement("style");
|
|
687
|
-
fetch(i.href).then((
|
|
688
|
-
A.innerHTML =
|
|
687
|
+
fetch(i.href).then((O) => O.text()).then((O) => {
|
|
688
|
+
A.innerHTML = O, setTimeout(
|
|
689
689
|
() => {
|
|
690
690
|
k.appendChild(A);
|
|
691
691
|
},
|
|
@@ -710,17 +710,17 @@ function $e(t, e, s) {
|
|
|
710
710
|
});
|
|
711
711
|
}
|
|
712
712
|
return t.$$set = (i) => {
|
|
713
|
-
"endpoint" in i && s(21, n = i.endpoint), "session" in i && s(22, r = i.session), "playerid" in i && s(23, o = i.playerid), "lang" in i && s(0,
|
|
713
|
+
"endpoint" in i && s(21, n = i.endpoint), "session" in i && s(22, r = i.session), "playerid" in i && s(23, o = i.playerid), "lang" in i && s(0, b = i.lang), "clientstyling" in i && s(1, u = i.clientstyling), "clientstylingurl" in i && s(2, p = i.clientstylingurl), "translationurl" in i && s(3, v = i.translationurl), "bonushistorystatus" in i && s(4, c = i.bonushistorystatus), "bonushistorytype" in i && s(5, m = i.bonushistorytype);
|
|
714
714
|
}, t.$$.update = () => {
|
|
715
715
|
t.$$.dirty[0] & /*lang*/
|
|
716
|
-
1 &&
|
|
716
|
+
1 && b && S(), t.$$.dirty[0] & /*startCalendar, endCalendar*/
|
|
717
717
|
384 && w && H && J(), t.$$.dirty[0] & /*session, playerid, endpoint, bonushistorystatus, bonushistorytype*/
|
|
718
718
|
14680112 && r && o && n && z(0, c, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
719
719
|
68 && p && k && h(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
720
720
|
66 && u && k && M(), t.$$.dirty[0] & /*translationurl*/
|
|
721
721
|
8 && v && te();
|
|
722
722
|
}, [
|
|
723
|
-
|
|
723
|
+
b,
|
|
724
724
|
u,
|
|
725
725
|
p,
|
|
726
726
|
v,
|
|
@@ -730,11 +730,11 @@ function $e(t, e, s) {
|
|
|
730
730
|
w,
|
|
731
731
|
H,
|
|
732
732
|
E,
|
|
733
|
-
|
|
733
|
+
N,
|
|
734
734
|
g,
|
|
735
735
|
C,
|
|
736
736
|
y,
|
|
737
|
-
|
|
737
|
+
Y,
|
|
738
738
|
$,
|
|
739
739
|
U,
|
|
740
740
|
a,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountControllerNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountControllerNd-BymYr_ze.cjs")).then(({default:t})=>{!customElements.get("player-account-controller-nd")&&customElements.define("player-account-controller-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountControllerNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountControllerNd-D-NE5fky.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-controller-nd") && customElements.define("player-account-controller-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/player-account-controller-nd",
|
|
3
|
-
"version": "1.45.
|
|
3
|
+
"version": "1.45.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "es2015/player-account-controller-nd.cjs",
|
|
6
6
|
"module": "es2015/player-account-controller-nd.js",
|
|
@@ -19,25 +19,25 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@everymatrix/player-account-menu-nd": "1.45.
|
|
23
|
-
"@everymatrix/player-account-notifications": "1.45.
|
|
24
|
-
"@everymatrix/player-account-timeout": "1.45.
|
|
25
|
-
"@everymatrix/player-account-self-exclusion-nd": "1.45.
|
|
26
|
-
"@everymatrix/player-account-closure-nd": "1.45.
|
|
27
|
-
"@everymatrix/player-account-gaming-limits": "1.45.
|
|
28
|
-
"@everymatrix/player-active-bonuses": "1.45.
|
|
29
|
-
"@everymatrix/player-profile-info": "1.45.
|
|
30
|
-
"@everymatrix/player-change-password": "1.45.
|
|
31
|
-
"@everymatrix/player-reality-check": "1.45.
|
|
32
|
-
"@everymatrix/player-bonus-history": "1.45.
|
|
33
|
-
"@everymatrix/player-deposit": "1.45.
|
|
34
|
-
"@everymatrix/player-withdrawal": "1.45.
|
|
35
|
-
"@everymatrix/player-pending-withdrawals": "1.45.
|
|
36
|
-
"@everymatrix/player-transaction-history": "1.45.
|
|
37
|
-
"@everymatrix/player-gaming-history": "1.45.
|
|
38
|
-
"@everymatrix/player-account-betting-history": "1.45.
|
|
39
|
-
"@everymatrix/player-account-gaming-limits-wrapper-2-nd": "1.45.
|
|
40
|
-
"@everymatrix/player-account-biometrics": "1.45.
|
|
22
|
+
"@everymatrix/player-account-menu-nd": "1.45.8",
|
|
23
|
+
"@everymatrix/player-account-notifications": "1.45.8",
|
|
24
|
+
"@everymatrix/player-account-timeout": "1.45.8",
|
|
25
|
+
"@everymatrix/player-account-self-exclusion-nd": "1.45.8",
|
|
26
|
+
"@everymatrix/player-account-closure-nd": "1.45.8",
|
|
27
|
+
"@everymatrix/player-account-gaming-limits": "1.45.8",
|
|
28
|
+
"@everymatrix/player-active-bonuses": "1.45.8",
|
|
29
|
+
"@everymatrix/player-profile-info": "1.45.8",
|
|
30
|
+
"@everymatrix/player-change-password": "1.45.8",
|
|
31
|
+
"@everymatrix/player-reality-check": "1.45.8",
|
|
32
|
+
"@everymatrix/player-bonus-history": "1.45.8",
|
|
33
|
+
"@everymatrix/player-deposit": "1.45.8",
|
|
34
|
+
"@everymatrix/player-withdrawal": "1.45.8",
|
|
35
|
+
"@everymatrix/player-pending-withdrawals": "1.45.8",
|
|
36
|
+
"@everymatrix/player-transaction-history": "1.45.8",
|
|
37
|
+
"@everymatrix/player-gaming-history": "1.45.8",
|
|
38
|
+
"@everymatrix/player-account-betting-history": "1.45.8",
|
|
39
|
+
"@everymatrix/player-account-gaming-limits-wrapper-2-nd": "1.45.8",
|
|
40
|
+
"@everymatrix/player-account-biometrics": "1.45.8",
|
|
41
41
|
"@everymatrix/user-deposit-withdrawal": "*",
|
|
42
42
|
"@everymatrix/player-kyc-verification": "*",
|
|
43
43
|
"@everymatrix/user-transaction-history": "*"
|