60p82u21t54k 0.0.68 → 0.0.69
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/dist/60p82u21t54k.es.js +296 -285
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/model/getBankCardData/getGetBankCardDataResponse.d.ts.map +1 -1
- package/dist/model/getBankCardData/type.d.ts +4 -1
- package/dist/model/getBankCardData/type.d.ts.map +1 -1
- package/dist/model/getCountry/getGetCountryResponse.d.ts +2 -2
- package/dist/model/getCountry/getGetCountryResponse.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -66,10 +66,10 @@ const te = (e) => new TextEncoder().encode(e), ne = (e) => {
|
|
|
66
66
|
return console.error("Failed to decode Base64:", t), "";
|
|
67
67
|
}
|
|
68
68
|
}, ae = () => {
|
|
69
|
-
const e = /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), l = new Date(t, n, 1, 12, 0, 0),
|
|
70
|
-
(
|
|
69
|
+
const e = /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), l = new Date(t, n, 1, 12, 0, 0), o = new Date(t, n + 1, 1, 12, 0, 0), u = Math.floor(
|
|
70
|
+
(o.getTime() - e.getTime()) / 1e3
|
|
71
71
|
), c = Math.floor(
|
|
72
|
-
(
|
|
72
|
+
(o.getTime() - l.getTime()) / 1e3
|
|
73
73
|
), m = c - u;
|
|
74
74
|
return {
|
|
75
75
|
monthRemainingTime: u,
|
|
@@ -84,10 +84,10 @@ const te = (e) => new TextEncoder().encode(e), ne = (e) => {
|
|
|
84
84
|
0,
|
|
85
85
|
0,
|
|
86
86
|
0
|
|
87
|
-
),
|
|
88
|
-
return console.log(
|
|
89
|
-
weekRemainingTime:
|
|
90
|
-
weekProgressPercentage: Math.round(
|
|
87
|
+
), o = Math.floor((l.getTime() - e.getTime()) / 1e3), g = 7 * 24 * 60 * 60;
|
|
88
|
+
return console.log(o), console.log(g), {
|
|
89
|
+
weekRemainingTime: o,
|
|
90
|
+
weekProgressPercentage: Math.round(o / g * 100)
|
|
91
91
|
};
|
|
92
92
|
}, re = () => {
|
|
93
93
|
const e = /* @__PURE__ */ new Date(), t = new Date(
|
|
@@ -141,8 +141,8 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
141
141
|
ce(t.bankid ?? 0, t.paymentmethod.auto, e)
|
|
142
142
|
), t.paymentmethod.manual.bank.length > 0) {
|
|
143
143
|
let l = !1;
|
|
144
|
-
for (let
|
|
145
|
-
const u = t.paymentmethod.manual.bank[
|
|
144
|
+
for (let o = 0; o < t.paymentmethod.manual.bank.length; o++) {
|
|
145
|
+
const u = t.paymentmethod.manual.bank[o];
|
|
146
146
|
if (u.list && u.list.length > 0) {
|
|
147
147
|
l = !0;
|
|
148
148
|
break;
|
|
@@ -175,14 +175,14 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
175
175
|
}));
|
|
176
176
|
return [t, ...n];
|
|
177
177
|
}, F = (e, t, n, l) => {
|
|
178
|
-
let
|
|
179
|
-
n > 0 ?
|
|
180
|
-
const c = Math.round(
|
|
178
|
+
let o, u;
|
|
179
|
+
n > 0 ? o = e > 0 ? Math.max(n, e) : n : o = Math.max(e, 0), l > 0 ? u = t > 0 ? Math.min(l, t) : l : u = Math.max(t, 0);
|
|
180
|
+
const c = Math.round(o);
|
|
181
181
|
let m = 1e3;
|
|
182
182
|
u < m && (m = Math.round(u));
|
|
183
|
-
const
|
|
183
|
+
const f = m - c;
|
|
184
184
|
let g = "", _ = "";
|
|
185
|
-
if (
|
|
185
|
+
if (f > 0) {
|
|
186
186
|
let v = Math.round((m - c) * 0.25).toString().split(""), k = [];
|
|
187
187
|
for (const T of v)
|
|
188
188
|
T !== "" && k.push(T);
|
|
@@ -206,22 +206,22 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
206
206
|
name: "manualMethod",
|
|
207
207
|
type: x.manual,
|
|
208
208
|
promo: G(e.promo),
|
|
209
|
-
bank: e.bank.map((
|
|
210
|
-
const u =
|
|
209
|
+
bank: e.bank.map((o) => {
|
|
210
|
+
const u = o.list && o.list.length > 0 ? o.list[0].mintransaction ?? "0.00" : "0.00", c = o.list && o.list.length > 0 ? o.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: m, minAmount: f, maxAmount: g } = F(
|
|
211
211
|
Number(u),
|
|
212
212
|
Number(c),
|
|
213
213
|
t.mdBankLevelDetail.deposit_min,
|
|
214
214
|
t.mdBankLevelDetail.deposit_max
|
|
215
215
|
);
|
|
216
216
|
return t.mdManualDepositRequireField.depositor = !0, {
|
|
217
|
-
id:
|
|
218
|
-
bankAccountId:
|
|
219
|
-
name:
|
|
220
|
-
accountName:
|
|
221
|
-
accountNo:
|
|
222
|
-
qrcode:
|
|
217
|
+
id: o.bankindex ?? 0,
|
|
218
|
+
bankAccountId: o.list && o.list.length > 0 ? o.list[0].bankaccountindex ?? 0 : 0,
|
|
219
|
+
name: o.list && o.list.length > 0 ? o.list[0].label ?? "" : "",
|
|
220
|
+
accountName: o.list && o.list.length > 0 ? o.list[0].bankaccountname ?? "" : "",
|
|
221
|
+
accountNo: o.list && o.list.length > 0 ? o.list[0].bankaccountno ?? "" : "",
|
|
222
|
+
qrcode: o.list && o.list.length > 0 ? o.list[0].bankaccountdesc : "",
|
|
223
223
|
amountList: m,
|
|
224
|
-
min:
|
|
224
|
+
min: f,
|
|
225
225
|
max: g
|
|
226
226
|
};
|
|
227
227
|
}),
|
|
@@ -238,12 +238,12 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
238
238
|
name: "onlineBankingMethod",
|
|
239
239
|
type: x.pay,
|
|
240
240
|
promo: G(e.promo),
|
|
241
|
-
bank: e.banklist.map((
|
|
241
|
+
bank: e.banklist.map((o) => {
|
|
242
242
|
let u = "0.00", c = "0.00";
|
|
243
|
-
const m =
|
|
243
|
+
const m = o.bankindex ?? 0;
|
|
244
244
|
for (let v = 0; v < t.mdGatewayMinMax.length; v++)
|
|
245
245
|
t.mdGatewayMinMax[v].bankindex == m.toString() && (u = t.mdGatewayMinMax[v].min, c = t.mdGatewayMinMax[v].max);
|
|
246
|
-
const { amountList:
|
|
246
|
+
const { amountList: f, minAmount: g, maxAmount: _ } = F(
|
|
247
247
|
Number(u),
|
|
248
248
|
Number(c),
|
|
249
249
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -251,10 +251,10 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
251
251
|
), O = {
|
|
252
252
|
id: 0,
|
|
253
253
|
name: "autoChannel",
|
|
254
|
-
amountList:
|
|
254
|
+
amountList: f,
|
|
255
255
|
min: g,
|
|
256
256
|
max: _
|
|
257
|
-
}, S =
|
|
257
|
+
}, S = o.pg.map((v) => {
|
|
258
258
|
const k = v.mintransaction ?? "0.00", q = v.maxtransaction ?? "0.00", { amountList: z, minAmount: T, maxAmount: U } = F(
|
|
259
259
|
Number(k),
|
|
260
260
|
Number(q),
|
|
@@ -270,8 +270,8 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
270
270
|
};
|
|
271
271
|
});
|
|
272
272
|
return {
|
|
273
|
-
id:
|
|
274
|
-
name:
|
|
273
|
+
id: o.bankindex ?? 0,
|
|
274
|
+
name: o.banknameenglish ?? "",
|
|
275
275
|
amountList: [],
|
|
276
276
|
min: 0,
|
|
277
277
|
max: 0,
|
|
@@ -282,11 +282,11 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
282
282
|
} : E, ce = (e, t, n) => {
|
|
283
283
|
if (!n) return E;
|
|
284
284
|
const l = x.auto;
|
|
285
|
-
let
|
|
285
|
+
let o = [];
|
|
286
286
|
const u = n.mdGatewayMinMax;
|
|
287
287
|
if (t.bank.length > 0 && n.mdPGSelection === "1")
|
|
288
|
-
|
|
289
|
-
const { amountList:
|
|
288
|
+
o = t.bank.map((m) => {
|
|
289
|
+
const { amountList: f, minAmount: g, maxAmount: _ } = F(
|
|
290
290
|
m.mintransaction ?? 0,
|
|
291
291
|
m.maxtransaction ?? 0,
|
|
292
292
|
n.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -295,18 +295,18 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
295
295
|
return {
|
|
296
296
|
id: m.pgindex ?? 0,
|
|
297
297
|
name: m.bankaccountname || "",
|
|
298
|
-
amountList:
|
|
298
|
+
amountList: f,
|
|
299
299
|
min: g,
|
|
300
300
|
max: _
|
|
301
301
|
};
|
|
302
302
|
});
|
|
303
303
|
else {
|
|
304
|
-
let m = "0.00",
|
|
304
|
+
let m = "0.00", f = "0.00";
|
|
305
305
|
for (let p = 0; p < u.length; p++)
|
|
306
|
-
u[p].bankindex === e.toString() && (m = u[p].min,
|
|
306
|
+
u[p].bankindex === e.toString() && (m = u[p].min, f = u[p].max);
|
|
307
307
|
const { amountList: g, minAmount: _, maxAmount: O } = F(
|
|
308
308
|
Number(m),
|
|
309
|
-
Number(
|
|
309
|
+
Number(f),
|
|
310
310
|
n.mdBankLevelDetail.onlinepayment_min,
|
|
311
311
|
n.mdBankLevelDetail.onlinepayment_max
|
|
312
312
|
), S = {
|
|
@@ -316,14 +316,14 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
316
316
|
min: _,
|
|
317
317
|
max: O
|
|
318
318
|
};
|
|
319
|
-
|
|
319
|
+
o.push(S);
|
|
320
320
|
}
|
|
321
321
|
return {
|
|
322
322
|
id: e,
|
|
323
323
|
name: "autoMethod",
|
|
324
324
|
type: l,
|
|
325
325
|
promo: G(t.promo),
|
|
326
|
-
bank:
|
|
326
|
+
bank: o,
|
|
327
327
|
requiredField: B
|
|
328
328
|
};
|
|
329
329
|
}, de = (e, t) => {
|
|
@@ -333,12 +333,12 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
333
333
|
name: "fixAmountMethod",
|
|
334
334
|
type: n,
|
|
335
335
|
promo: G(t.promo),
|
|
336
|
-
bank: t.bank.map((
|
|
337
|
-
const u =
|
|
336
|
+
bank: t.bank.map((o) => {
|
|
337
|
+
const u = o.amtlist.map(Number).sort((m, f) => m - f);
|
|
338
338
|
return {
|
|
339
|
-
id:
|
|
340
|
-
name:
|
|
341
|
-
amountList:
|
|
339
|
+
id: o.pgindex,
|
|
340
|
+
name: o.name,
|
|
341
|
+
amountList: o.amtlist,
|
|
342
342
|
min: u.length > 0 ? u[0] : 0,
|
|
343
343
|
max: u.length > 0 ? u[u.length - 1] : 0
|
|
344
344
|
};
|
|
@@ -365,15 +365,15 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
365
365
|
id: n.id,
|
|
366
366
|
name: n.name,
|
|
367
367
|
nextPage: n.nextPage === 1,
|
|
368
|
-
list: ((l = n.mdPlatformProducts) == null ? void 0 : l.map((
|
|
369
|
-
id: Number(
|
|
370
|
-
name:
|
|
368
|
+
list: ((l = n.mdPlatformProducts) == null ? void 0 : l.map((o) => ({
|
|
369
|
+
id: Number(o.id),
|
|
370
|
+
name: o.shortName,
|
|
371
371
|
flag: {
|
|
372
|
-
hot: (
|
|
373
|
-
trial: (
|
|
374
|
-
new: (
|
|
372
|
+
hot: (o.flag & 2) > 0,
|
|
373
|
+
trial: (o.flag & 4) > 0,
|
|
374
|
+
new: (o.flag & 8) > 0
|
|
375
375
|
},
|
|
376
|
-
imageUrl:
|
|
376
|
+
imageUrl: o.img,
|
|
377
377
|
rate: "0.00"
|
|
378
378
|
}))) ?? []
|
|
379
379
|
};
|
|
@@ -476,10 +476,10 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
476
476
|
vipCalculation: t,
|
|
477
477
|
livechat: e.livechat ?? "",
|
|
478
478
|
livechatList: n.filter((l) => l.status == 1).map((l) => {
|
|
479
|
-
let
|
|
480
|
-
return
|
|
479
|
+
let o = l.imgname;
|
|
480
|
+
return o.slice(-4) === ".png" && (o = l.imgname.slice(0, -4)), {
|
|
481
481
|
name: l.name,
|
|
482
|
-
imageUrl: `/image/game/native/customer_service/${
|
|
482
|
+
imageUrl: `/image/game/native/customer_service/${o}.png`,
|
|
483
483
|
url: l.url
|
|
484
484
|
};
|
|
485
485
|
}),
|
|
@@ -495,11 +495,11 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
495
495
|
}, ve = (e) => {
|
|
496
496
|
var t, n, l;
|
|
497
497
|
return {
|
|
498
|
-
banner: ((t = e.mobileBanner) == null ? void 0 : t.map((
|
|
499
|
-
ad: ((n = e.mobileAd) == null ? void 0 : n.map((
|
|
500
|
-
about: ((l = e.mobileAbout) == null ? void 0 : l.map((
|
|
501
|
-
name:
|
|
502
|
-
content:
|
|
498
|
+
banner: ((t = e.mobileBanner) == null ? void 0 : t.map((o) => `${o.imagepath}?${o.filemtime}`)) ?? [],
|
|
499
|
+
ad: ((n = e.mobileAd) == null ? void 0 : n.map((o) => `${o.imagepath}?${o.filemtime}`)) ?? [],
|
|
500
|
+
about: ((l = e.mobileAbout) == null ? void 0 : l.map((o) => ({
|
|
501
|
+
name: o.name,
|
|
502
|
+
content: o.content
|
|
503
503
|
}))) ?? []
|
|
504
504
|
};
|
|
505
505
|
}, Re = (e) => {
|
|
@@ -536,13 +536,13 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
536
536
|
var l;
|
|
537
537
|
return {
|
|
538
538
|
id: n.key,
|
|
539
|
-
date: ((l = n.draw_date) == null ? void 0 : l.map((
|
|
539
|
+
date: ((l = n.draw_date) == null ? void 0 : l.map((o) => je(o.draw_tmactive))) ?? []
|
|
540
540
|
};
|
|
541
541
|
})) ?? [];
|
|
542
542
|
};
|
|
543
543
|
function je(e) {
|
|
544
|
-
const t = new Date(e * 1e3), n = t.getFullYear(), l = ("0" + (t.getMonth() + 1)).slice(-2),
|
|
545
|
-
return `${n}-${l}-${
|
|
544
|
+
const t = new Date(e * 1e3), n = t.getFullYear(), l = ("0" + (t.getMonth() + 1)).slice(-2), o = ("0" + t.getDate()).slice(-2);
|
|
545
|
+
return `${n}-${l}-${o}`;
|
|
546
546
|
}
|
|
547
547
|
const Ce = (e) => {
|
|
548
548
|
var t;
|
|
@@ -551,9 +551,9 @@ const Ce = (e) => {
|
|
|
551
551
|
return {
|
|
552
552
|
id: n.company_id,
|
|
553
553
|
name: n.company_name,
|
|
554
|
-
list: ((l = n.drawCount) == null ? void 0 : l.map((
|
|
555
|
-
combination:
|
|
556
|
-
total:
|
|
554
|
+
list: ((l = n.drawCount) == null ? void 0 : l.map((o) => ({
|
|
555
|
+
combination: o.combination_combination,
|
|
556
|
+
total: o.total
|
|
557
557
|
}))) ?? []
|
|
558
558
|
};
|
|
559
559
|
})) ?? [];
|
|
@@ -561,7 +561,7 @@ const Ce = (e) => {
|
|
|
561
561
|
companyId: t.company_id,
|
|
562
562
|
companyName: t.company_name,
|
|
563
563
|
resultByDateList: t.draws.map((n) => {
|
|
564
|
-
const l = n.results.filter((p) => p.combination_dimension == 3).map((p) => p.combination_combination),
|
|
564
|
+
const l = n.results.filter((p) => p.combination_dimension == 3).map((p) => p.combination_combination), o = n.results.filter(
|
|
565
565
|
(p) => p.combination_dimension == 4 && p.combination_position === 1
|
|
566
566
|
).map((p) => p.combination_combination), u = n.results.filter(
|
|
567
567
|
(p) => p.combination_dimension === 4 && p.combination_position === 2
|
|
@@ -569,7 +569,7 @@ const Ce = (e) => {
|
|
|
569
569
|
(p) => p.combination_dimension === 4 && p.combination_position === 3
|
|
570
570
|
).map((p) => p.combination_combination), m = n.results.filter(
|
|
571
571
|
(p) => p.combination_dimension === 4 && p.combination_position === 4
|
|
572
|
-
).map((p) => p.combination_combination),
|
|
572
|
+
).map((p) => p.combination_combination), f = n.results.filter(
|
|
573
573
|
(p) => p.combination_dimension === 4 && p.combination_position === 5
|
|
574
574
|
).map((p) => p.combination_combination), g = n.results.filter(
|
|
575
575
|
(p) => p.combination_dimension === 5 && p.combination_position === 1
|
|
@@ -580,11 +580,11 @@ const Ce = (e) => {
|
|
|
580
580
|
date: n.date,
|
|
581
581
|
dimension_3: l,
|
|
582
582
|
dimension_4: {
|
|
583
|
-
prize_1:
|
|
583
|
+
prize_1: o,
|
|
584
584
|
prize_2: u,
|
|
585
585
|
prize_3: c,
|
|
586
586
|
prize_4: m,
|
|
587
|
-
prize_5:
|
|
587
|
+
prize_5: f
|
|
588
588
|
},
|
|
589
589
|
dimension_5: {
|
|
590
590
|
prize_1: g,
|
|
@@ -622,17 +622,25 @@ const Ce = (e) => {
|
|
|
622
622
|
status: e.status == 1,
|
|
623
623
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? ""
|
|
624
624
|
}), ze = (e) => h(e), Ne = (e) => {
|
|
625
|
-
var t, n, l,
|
|
625
|
+
var t, n, l, o, u;
|
|
626
626
|
return {
|
|
627
|
-
bankCard: ((t = e.bankCard) == null ? void 0 : t.map((c) =>
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
627
|
+
bankCard: ((t = e.bankCard) == null ? void 0 : t.map((c) => {
|
|
628
|
+
var m, f;
|
|
629
|
+
return {
|
|
630
|
+
bankIndex: c.bankindex,
|
|
631
|
+
bankProvince: {
|
|
632
|
+
id: c.bankprovince,
|
|
633
|
+
desc: ((f = (m = e.province) == null ? void 0 : m.find(
|
|
634
|
+
(g) => g.provinceindex == c.bankprovince
|
|
635
|
+
)) == null ? void 0 : f.label) ?? ""
|
|
636
|
+
},
|
|
637
|
+
bankName: c.banknamesimplified,
|
|
638
|
+
bankAccountNo: c.bankaccountno,
|
|
639
|
+
bankUrl: c.bankaddress ?? "",
|
|
640
|
+
imgUrl: c.img,
|
|
641
|
+
countryIndex: c.countryindex
|
|
642
|
+
};
|
|
643
|
+
})) ?? [],
|
|
636
644
|
bankList: ((n = e.bankList) == null ? void 0 : n.map((c) => ({
|
|
637
645
|
bankIndex: c.bankindex,
|
|
638
646
|
bankType: c.bank_type,
|
|
@@ -648,7 +656,7 @@ const Ce = (e) => {
|
|
|
648
656
|
label: c.label,
|
|
649
657
|
countryIndex: c.countryindex
|
|
650
658
|
}))) ?? [],
|
|
651
|
-
cryptoAccount: ((
|
|
659
|
+
cryptoAccount: ((o = e.mdAccountCrypto) == null ? void 0 : o.map((c) => ({
|
|
652
660
|
id: c.crypto_id,
|
|
653
661
|
type: c.type,
|
|
654
662
|
name: c.crypto_name,
|
|
@@ -678,7 +686,7 @@ const Ce = (e) => {
|
|
|
678
686
|
withdrawMaxFee: Number(e.withdrawMaxFee),
|
|
679
687
|
withdrawCount: e.withdrawCount
|
|
680
688
|
}), Be = (e) => h(e), Ge = (e) => {
|
|
681
|
-
var t, n, l,
|
|
689
|
+
var t, n, l, o, u, c;
|
|
682
690
|
return {
|
|
683
691
|
subStatusModes: ((t = e.subStatusModes) == null ? void 0 : t.map((m) => ({
|
|
684
692
|
key: m.key,
|
|
@@ -690,9 +698,9 @@ const Ce = (e) => {
|
|
|
690
698
|
}))) ?? [],
|
|
691
699
|
mdCashLedgers: {
|
|
692
700
|
currentPage: ((l = e.mdCashLedgers) == null ? void 0 : l.current_page) ?? 0,
|
|
693
|
-
lastPage: ((
|
|
701
|
+
lastPage: ((o = e.mdCashLedgers) == null ? void 0 : o.last_page) ?? 0,
|
|
694
702
|
data: ((c = (u = e.mdCashLedgers) == null ? void 0 : u.data) == null ? void 0 : c.map((m) => {
|
|
695
|
-
var
|
|
703
|
+
var f, g;
|
|
696
704
|
return {
|
|
697
705
|
ledgerIndex: m.ledgerindex,
|
|
698
706
|
transactionIndex: m.transactionindex,
|
|
@@ -704,7 +712,7 @@ const Ce = (e) => {
|
|
|
704
712
|
status: {
|
|
705
713
|
id: m.status,
|
|
706
714
|
value: m.status == 1,
|
|
707
|
-
desc: ((g = (
|
|
715
|
+
desc: ((g = (f = e.subStatusModes) == null ? void 0 : f.find((_) => _.key === m.status)) == null ? void 0 : g.value) ?? ""
|
|
708
716
|
},
|
|
709
717
|
amount: m.amount,
|
|
710
718
|
ledgerDateTime: m.ledgerdatetime,
|
|
@@ -830,10 +838,10 @@ const Ce = (e) => {
|
|
|
830
838
|
name: u.firstname,
|
|
831
839
|
cashback: u.turnover,
|
|
832
840
|
commission: u.income
|
|
833
|
-
})), l = e.data.reduce((u, c) => u + parseFloat(c.income), 0),
|
|
841
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.income), 0), o = t.size;
|
|
834
842
|
return {
|
|
835
843
|
totalReward: l,
|
|
836
|
-
totalCount:
|
|
844
|
+
totalCount: o,
|
|
837
845
|
list: n
|
|
838
846
|
};
|
|
839
847
|
}, Qe = (e) => e.status == 0 ? {
|
|
@@ -858,10 +866,10 @@ const Ce = (e) => {
|
|
|
858
866
|
deposit: u.deposit,
|
|
859
867
|
activeBet: u.activebet,
|
|
860
868
|
commission: u.reward
|
|
861
|
-
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0),
|
|
869
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0), o = t.size;
|
|
862
870
|
return {
|
|
863
871
|
totalReward: l,
|
|
864
|
-
totalCount:
|
|
872
|
+
totalCount: o,
|
|
865
873
|
list: n
|
|
866
874
|
};
|
|
867
875
|
}, Ze = (e) => e.status == 0 ? {
|
|
@@ -884,10 +892,10 @@ const Ce = (e) => {
|
|
|
884
892
|
name: u.firstname,
|
|
885
893
|
total: u.deposit,
|
|
886
894
|
commission: u.reward
|
|
887
|
-
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0),
|
|
895
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0), o = t.size;
|
|
888
896
|
return {
|
|
889
897
|
totalReward: l,
|
|
890
|
-
totalCount:
|
|
898
|
+
totalCount: o,
|
|
891
899
|
list: n
|
|
892
900
|
};
|
|
893
901
|
}, tt = (e) => e.status == 0 ? {
|
|
@@ -901,7 +909,7 @@ const Ce = (e) => {
|
|
|
901
909
|
uplineCode: e.data.upline.accountcode,
|
|
902
910
|
referralCode: e.data.referral_code
|
|
903
911
|
}, nt = (e) => {
|
|
904
|
-
var
|
|
912
|
+
var f;
|
|
905
913
|
let t = null, n = null;
|
|
906
914
|
if (e.status == 0)
|
|
907
915
|
return { welcomeBonus: null, dailyBonus: null };
|
|
@@ -919,7 +927,7 @@ const Ce = (e) => {
|
|
|
919
927
|
};
|
|
920
928
|
});
|
|
921
929
|
l.length > 0 && (t = l[0]);
|
|
922
|
-
const
|
|
930
|
+
const o = e.data.filter((g) => g.dtype == "5" && g.type == "D").map((g) => {
|
|
923
931
|
const _ = Math.min(
|
|
924
932
|
Number(g.min_deposit) * Number(g.percentage) / 100,
|
|
925
933
|
Number(g.max_promo_amt)
|
|
@@ -932,8 +940,8 @@ const Ce = (e) => {
|
|
|
932
940
|
expiryTime: g.etime
|
|
933
941
|
};
|
|
934
942
|
});
|
|
935
|
-
let u = 0, c = ((
|
|
936
|
-
const m =
|
|
943
|
+
let u = 0, c = ((f = o[0]) == null ? void 0 : f.expiryTime) || "";
|
|
944
|
+
const m = o.map((g) => (u = Math.max(u, g.percentage), new Date(g.expiryTime) < new Date(c) && (c = g.expiryTime), {
|
|
937
945
|
name: g.name,
|
|
938
946
|
depositAmount: g.depositAmount,
|
|
939
947
|
promoAmount: g.promoAmount
|
|
@@ -968,10 +976,10 @@ const Ce = (e) => {
|
|
|
968
976
|
if (Object.prototype.hasOwnProperty.call(e.data, n)) {
|
|
969
977
|
const l = e.data[n];
|
|
970
978
|
t[n] = [];
|
|
971
|
-
for (let
|
|
972
|
-
const u = l[
|
|
979
|
+
for (let o = 0; o < l.length; o++) {
|
|
980
|
+
const u = l[o];
|
|
973
981
|
let c = "";
|
|
974
|
-
l.length >
|
|
982
|
+
l.length > o + 1 && (c = (Number(l[o + 1].achievement) - 1).toString()), t[n].push({
|
|
975
983
|
rate: u.rate,
|
|
976
984
|
minValue: u.achievement.toString(),
|
|
977
985
|
maxValue: c
|
|
@@ -987,10 +995,10 @@ const Ce = (e) => {
|
|
|
987
995
|
if (Object.prototype.hasOwnProperty.call(e.data, n)) {
|
|
988
996
|
const l = e.data[n];
|
|
989
997
|
t[n] = [];
|
|
990
|
-
for (let
|
|
991
|
-
const u = l[
|
|
998
|
+
for (let o = 0; o < l.length; o++) {
|
|
999
|
+
const u = l[o];
|
|
992
1000
|
let c = "";
|
|
993
|
-
l.length >
|
|
1001
|
+
l.length > o + 1 && (c = (Number(l[o + 1].achievement) - 1).toString()), t[n].push({
|
|
994
1002
|
rate: u.rate,
|
|
995
1003
|
minValue: u.achievement,
|
|
996
1004
|
maxValue: c
|
|
@@ -999,14 +1007,14 @@ const Ce = (e) => {
|
|
|
999
1007
|
}
|
|
1000
1008
|
return t;
|
|
1001
1009
|
}, ut = (e) => h(e), ct = (e) => h(e), dt = (e) => {
|
|
1002
|
-
var t, n, l,
|
|
1010
|
+
var t, n, l, o, u;
|
|
1003
1011
|
return {
|
|
1004
1012
|
status: e.status == 1,
|
|
1005
1013
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1006
1014
|
default: ((t = e.data) == null ? void 0 : t.default) ?? [],
|
|
1007
1015
|
online: ((n = e.data) == null ? void 0 : n.online) ?? [],
|
|
1008
1016
|
mycard: ((l = e.data) == null ? void 0 : l.mycard) ?? [],
|
|
1009
|
-
qrcode: ((
|
|
1017
|
+
qrcode: ((o = e.data) == null ? void 0 : o.qrcode) ?? [],
|
|
1010
1018
|
personal: ((u = e.data) == null ? void 0 : u.personal) ?? []
|
|
1011
1019
|
};
|
|
1012
1020
|
}, V = (e) => (console.log(e), {
|
|
@@ -1053,15 +1061,18 @@ const Ce = (e) => {
|
|
|
1053
1061
|
return {
|
|
1054
1062
|
status: e.status == 1,
|
|
1055
1063
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1056
|
-
countryList: ((t = e.data) == null ? void 0 : t.map((n) =>
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1064
|
+
countryList: ((t = e.data) == null ? void 0 : t.map((n) => {
|
|
1065
|
+
var l, o;
|
|
1066
|
+
return {
|
|
1067
|
+
countryIndex: n.countryindex,
|
|
1068
|
+
currencyName: n.currency_name ?? "",
|
|
1069
|
+
label: n.label,
|
|
1070
|
+
currencyRate: {
|
|
1071
|
+
depositCurrencyRate: ((l = n.currency_rate) == null ? void 0 : l.currency_rate_deposit) ?? "",
|
|
1072
|
+
withdrawCurrencyRate: ((o = n.currency_rate) == null ? void 0 : o.currency_rate_withdraw) ?? ""
|
|
1073
|
+
}
|
|
1074
|
+
};
|
|
1075
|
+
})) ?? []
|
|
1065
1076
|
};
|
|
1066
1077
|
}, Rt = (e) => ({
|
|
1067
1078
|
status: e.status == 1,
|
|
@@ -1253,22 +1264,22 @@ const Ce = (e) => {
|
|
|
1253
1264
|
status: e.status == 1,
|
|
1254
1265
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1255
1266
|
data: {
|
|
1256
|
-
companyCount: ((t = e.data.companyRCount) == null ? void 0 : t.map((
|
|
1257
|
-
key:
|
|
1258
|
-
count:
|
|
1267
|
+
companyCount: ((t = e.data.companyRCount) == null ? void 0 : t.map((o) => ({
|
|
1268
|
+
key: o.key,
|
|
1269
|
+
count: o.count
|
|
1259
1270
|
}))) ?? [],
|
|
1260
|
-
prizeCount: ((n = e.data.prizeRCount) == null ? void 0 : n.map((
|
|
1261
|
-
key:
|
|
1262
|
-
count:
|
|
1271
|
+
prizeCount: ((n = e.data.prizeRCount) == null ? void 0 : n.map((o) => ({
|
|
1272
|
+
key: o.key,
|
|
1273
|
+
count: o.count
|
|
1263
1274
|
}))) ?? [],
|
|
1264
|
-
list: ((l = e.data.list) == null ? void 0 : l.map((
|
|
1265
|
-
dimension:
|
|
1266
|
-
combination:
|
|
1267
|
-
prizePosition:
|
|
1268
|
-
drawIdentifier:
|
|
1269
|
-
drawTimestamp:
|
|
1270
|
-
companyId:
|
|
1271
|
-
companyName:
|
|
1275
|
+
list: ((l = e.data.list) == null ? void 0 : l.map((o) => ({
|
|
1276
|
+
dimension: o.combination_dimension,
|
|
1277
|
+
combination: o.combination_combination,
|
|
1278
|
+
prizePosition: o.combination_position,
|
|
1279
|
+
drawIdentifier: o.draw.draw_identifier,
|
|
1280
|
+
drawTimestamp: o.draw.draw_tmactive,
|
|
1281
|
+
companyId: o.company.company_id,
|
|
1282
|
+
companyName: o.company.company_name
|
|
1272
1283
|
}))) ?? []
|
|
1273
1284
|
}
|
|
1274
1285
|
};
|
|
@@ -1282,7 +1293,7 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1282
1293
|
__proto__: null,
|
|
1283
1294
|
SettingType: $
|
|
1284
1295
|
}, Symbol.toStringTag, { value: "Module" })), an = async (e) => {
|
|
1285
|
-
var t, n, l,
|
|
1296
|
+
var t, n, l, o, u, c, m, f, g, _, O;
|
|
1286
1297
|
try {
|
|
1287
1298
|
e.findIndex((d) => d.name === i.vipList) !== -1 && e.push(
|
|
1288
1299
|
{
|
|
@@ -1302,8 +1313,8 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1302
1313
|
const v = e.findIndex((d) => d.name === i.searchHot);
|
|
1303
1314
|
if (v !== -1) {
|
|
1304
1315
|
let d = {};
|
|
1305
|
-
e.forEach((
|
|
1306
|
-
d =
|
|
1316
|
+
e.forEach((y) => {
|
|
1317
|
+
d = y.query;
|
|
1307
1318
|
}), e.splice(v), e.push({
|
|
1308
1319
|
name: i.getFourDimensionData,
|
|
1309
1320
|
query: String(d)
|
|
@@ -1312,8 +1323,8 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1312
1323
|
const k = e.findIndex((d) => d.name === i.searchNumberHistory);
|
|
1313
1324
|
if (k !== -1) {
|
|
1314
1325
|
let d = {};
|
|
1315
|
-
e.forEach((
|
|
1316
|
-
d =
|
|
1326
|
+
e.forEach((y) => {
|
|
1327
|
+
d = y.query;
|
|
1317
1328
|
}), e.splice(k), e.push({
|
|
1318
1329
|
name: i.getFourDimensionData,
|
|
1319
1330
|
query: String(d)
|
|
@@ -1321,8 +1332,8 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1321
1332
|
}
|
|
1322
1333
|
if (e.findIndex((d) => d.name === i.searchByDate) !== -1) {
|
|
1323
1334
|
let d = {};
|
|
1324
|
-
e.forEach((
|
|
1325
|
-
d =
|
|
1335
|
+
e.forEach((y) => {
|
|
1336
|
+
d = y.query;
|
|
1326
1337
|
}), e.splice(k), e.push({
|
|
1327
1338
|
name: i.getFourDimensionData,
|
|
1328
1339
|
query: String(d)
|
|
@@ -1362,414 +1373,414 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1362
1373
|
};
|
|
1363
1374
|
for (const d of H.data.responses) {
|
|
1364
1375
|
d.error != null && d.error.code != 200 && (a.status = d.error.code, a.message = d.error.message);
|
|
1365
|
-
const
|
|
1366
|
-
if (console.log(
|
|
1367
|
-
console.log("Not data received"), a.result[
|
|
1376
|
+
const y = d.attributes !== null && d.attributes !== void 0 ? ne(d.attributes) : null, r = d.name, s = y ? JSON.parse(y) : null;
|
|
1377
|
+
if (console.log(r), console.log(JSON.stringify(s)), !s)
|
|
1378
|
+
console.log("Not data received"), a.result[r] = null;
|
|
1368
1379
|
else
|
|
1369
|
-
switch (
|
|
1380
|
+
switch (r) {
|
|
1370
1381
|
case i.announcement:
|
|
1371
|
-
a.result[
|
|
1382
|
+
a.result[r] = me(s);
|
|
1372
1383
|
break;
|
|
1373
1384
|
case i.gameList:
|
|
1374
|
-
a.result[
|
|
1385
|
+
a.result[r] = ge(s);
|
|
1375
1386
|
break;
|
|
1376
1387
|
case i.cmsList:
|
|
1377
|
-
a.result[
|
|
1388
|
+
a.result[r] = ve(s);
|
|
1378
1389
|
break;
|
|
1379
1390
|
case i.paymentsProvider:
|
|
1380
|
-
a.result[
|
|
1391
|
+
a.result[r] = le(
|
|
1381
1392
|
s
|
|
1382
1393
|
);
|
|
1383
1394
|
break;
|
|
1384
1395
|
case i.getUserProfile:
|
|
1385
|
-
a.result[
|
|
1396
|
+
a.result[r] = pe(s);
|
|
1386
1397
|
break;
|
|
1387
1398
|
case i.vipList:
|
|
1388
|
-
a.result[
|
|
1399
|
+
a.result[r] = be(s);
|
|
1389
1400
|
break;
|
|
1390
1401
|
case i.vipBonus:
|
|
1391
|
-
a.result[
|
|
1402
|
+
a.result[r] = ye(s);
|
|
1392
1403
|
break;
|
|
1393
1404
|
case i.vipFieldStatus:
|
|
1394
|
-
a.result[
|
|
1405
|
+
a.result[r] = _e(s);
|
|
1395
1406
|
break;
|
|
1396
1407
|
case i.vipStatus:
|
|
1397
|
-
a.result[
|
|
1408
|
+
a.result[r] = he(s);
|
|
1398
1409
|
break;
|
|
1399
1410
|
case i.promotion:
|
|
1400
|
-
a.result[
|
|
1411
|
+
a.result[r] = fe(s);
|
|
1401
1412
|
break;
|
|
1402
1413
|
case i.getSetting:
|
|
1403
|
-
a.result[
|
|
1414
|
+
a.result[r] = Te(s);
|
|
1404
1415
|
break;
|
|
1405
1416
|
case i.getCountryMobile:
|
|
1406
|
-
a.result[
|
|
1417
|
+
a.result[r] = Re(
|
|
1407
1418
|
s
|
|
1408
1419
|
);
|
|
1409
1420
|
break;
|
|
1410
1421
|
case i.getPlatformTurnoverRate:
|
|
1411
|
-
a.result[
|
|
1422
|
+
a.result[r] = Se(
|
|
1412
1423
|
s
|
|
1413
1424
|
);
|
|
1414
1425
|
break;
|
|
1415
1426
|
case i.mainWallet:
|
|
1416
|
-
a.result[
|
|
1427
|
+
a.result[r] = ke(s);
|
|
1417
1428
|
break;
|
|
1418
1429
|
case i.getLanguageSetting:
|
|
1419
|
-
a.result[
|
|
1430
|
+
a.result[r] = Pe(
|
|
1420
1431
|
s
|
|
1421
1432
|
);
|
|
1422
1433
|
break;
|
|
1423
1434
|
case i.getFourDimensionData:
|
|
1424
|
-
a.result[
|
|
1435
|
+
a.result[r] = Oe(
|
|
1425
1436
|
s
|
|
1426
1437
|
);
|
|
1427
1438
|
break;
|
|
1428
1439
|
case i.getCompany:
|
|
1429
|
-
a.result[
|
|
1440
|
+
a.result[r] = Me(s);
|
|
1430
1441
|
break;
|
|
1431
1442
|
case i.searchResultDate:
|
|
1432
|
-
a.result[
|
|
1443
|
+
a.result[r] = xe(
|
|
1433
1444
|
s
|
|
1434
1445
|
);
|
|
1435
1446
|
break;
|
|
1436
1447
|
case i.searchHot:
|
|
1437
|
-
a.result[
|
|
1448
|
+
a.result[r] = Ce(s);
|
|
1438
1449
|
break;
|
|
1439
1450
|
case i.searchByDate:
|
|
1440
|
-
a.result[
|
|
1451
|
+
a.result[r] = De(s);
|
|
1441
1452
|
break;
|
|
1442
1453
|
case i.upcomingMatches:
|
|
1443
|
-
a.result[
|
|
1454
|
+
a.result[r] = we(
|
|
1444
1455
|
s
|
|
1445
1456
|
);
|
|
1446
1457
|
break;
|
|
1447
1458
|
case i.deposit:
|
|
1448
|
-
a.result[
|
|
1459
|
+
a.result[r] = Ie(s);
|
|
1449
1460
|
break;
|
|
1450
1461
|
case i.applyVipBonus:
|
|
1451
|
-
a.result[
|
|
1462
|
+
a.result[r] = Le(s);
|
|
1452
1463
|
break;
|
|
1453
1464
|
case i.withdraw:
|
|
1454
|
-
a.result[
|
|
1465
|
+
a.result[r] = ze(s);
|
|
1455
1466
|
break;
|
|
1456
1467
|
case i.getBankCardData:
|
|
1457
|
-
a.result[
|
|
1468
|
+
a.result[r] = Ne(
|
|
1458
1469
|
s
|
|
1459
1470
|
);
|
|
1460
1471
|
break;
|
|
1461
1472
|
case i.withdrawalGet:
|
|
1462
|
-
a.result[
|
|
1473
|
+
a.result[r] = Fe(s);
|
|
1463
1474
|
break;
|
|
1464
1475
|
case i.addBankCard:
|
|
1465
|
-
a.result[
|
|
1476
|
+
a.result[r] = Be(s);
|
|
1466
1477
|
break;
|
|
1467
1478
|
case i.transactionReport:
|
|
1468
|
-
a.result[
|
|
1479
|
+
a.result[r] = Ge(
|
|
1469
1480
|
s
|
|
1470
1481
|
);
|
|
1471
1482
|
break;
|
|
1472
1483
|
case i.changePassword:
|
|
1473
|
-
a.result[
|
|
1484
|
+
a.result[r] = Ue(s);
|
|
1474
1485
|
break;
|
|
1475
1486
|
case i.wallet:
|
|
1476
|
-
a.result[
|
|
1487
|
+
a.result[r] = Ve(s);
|
|
1477
1488
|
break;
|
|
1478
1489
|
case i.getEventList:
|
|
1479
|
-
a.result[
|
|
1490
|
+
a.result[r] = We(s);
|
|
1480
1491
|
break;
|
|
1481
1492
|
case i.getEventToken:
|
|
1482
|
-
a.result[
|
|
1493
|
+
a.result[r] = Ee(s);
|
|
1483
1494
|
break;
|
|
1484
1495
|
case i.getExtraGame:
|
|
1485
|
-
a.result[
|
|
1496
|
+
a.result[r] = $e(s);
|
|
1486
1497
|
break;
|
|
1487
1498
|
case i.mailBox:
|
|
1488
|
-
a.result[
|
|
1499
|
+
a.result[r] = He(s);
|
|
1489
1500
|
break;
|
|
1490
1501
|
case i.fishGameList:
|
|
1491
|
-
a.result[
|
|
1502
|
+
a.result[r] = Ae(s);
|
|
1492
1503
|
break;
|
|
1493
1504
|
case i.slotGameList:
|
|
1494
|
-
a.result[
|
|
1505
|
+
a.result[r] = Je(s);
|
|
1495
1506
|
break;
|
|
1496
1507
|
case i.getTurnOverRewardData:
|
|
1497
|
-
a.result[
|
|
1508
|
+
a.result[r] = Ye(
|
|
1498
1509
|
s
|
|
1499
1510
|
);
|
|
1500
1511
|
break;
|
|
1501
1512
|
case i.getTurnOverRewardReport:
|
|
1502
|
-
a.result[
|
|
1513
|
+
a.result[r] = Ke(
|
|
1503
1514
|
s
|
|
1504
1515
|
);
|
|
1505
1516
|
break;
|
|
1506
1517
|
case i.getInviteRewardData:
|
|
1507
|
-
a.result[
|
|
1518
|
+
a.result[r] = Qe(
|
|
1508
1519
|
s
|
|
1509
1520
|
);
|
|
1510
1521
|
break;
|
|
1511
1522
|
case i.getInviteRewardReport:
|
|
1512
|
-
a.result[
|
|
1523
|
+
a.result[r] = Xe(
|
|
1513
1524
|
s
|
|
1514
1525
|
);
|
|
1515
1526
|
break;
|
|
1516
1527
|
case i.getTopupRewardData:
|
|
1517
|
-
a.result[
|
|
1528
|
+
a.result[r] = Ze(
|
|
1518
1529
|
s
|
|
1519
1530
|
);
|
|
1520
1531
|
break;
|
|
1521
1532
|
case i.getTopupRewardReport:
|
|
1522
|
-
a.result[
|
|
1533
|
+
a.result[r] = et(
|
|
1523
1534
|
s
|
|
1524
1535
|
);
|
|
1525
1536
|
break;
|
|
1526
1537
|
case i.getRewardReferral:
|
|
1527
|
-
a.result[
|
|
1538
|
+
a.result[r] = tt(
|
|
1528
1539
|
s
|
|
1529
1540
|
);
|
|
1530
1541
|
break;
|
|
1531
1542
|
case i.submitWithdrawValidate:
|
|
1532
|
-
a.result[
|
|
1543
|
+
a.result[r] = W(s);
|
|
1533
1544
|
break;
|
|
1534
1545
|
case i.getDepositPromotion:
|
|
1535
|
-
a.result[
|
|
1546
|
+
a.result[r] = nt(
|
|
1536
1547
|
s
|
|
1537
1548
|
);
|
|
1538
1549
|
break;
|
|
1539
1550
|
case i.getTopUpRewardClaim:
|
|
1540
|
-
a.result[
|
|
1551
|
+
a.result[r] = at(
|
|
1541
1552
|
s
|
|
1542
1553
|
);
|
|
1543
1554
|
break;
|
|
1544
1555
|
case i.getInviteRewardClaim:
|
|
1545
|
-
a.result[
|
|
1556
|
+
a.result[r] = ot(
|
|
1546
1557
|
s
|
|
1547
1558
|
);
|
|
1548
1559
|
break;
|
|
1549
1560
|
case i.getTurnOverRewardClaim:
|
|
1550
|
-
a.result[
|
|
1561
|
+
a.result[r] = rt(
|
|
1551
1562
|
s
|
|
1552
1563
|
);
|
|
1553
1564
|
break;
|
|
1554
1565
|
case i.getInviteRewardSetting:
|
|
1555
|
-
a.result[
|
|
1566
|
+
a.result[r] = st(
|
|
1556
1567
|
s
|
|
1557
1568
|
);
|
|
1558
1569
|
break;
|
|
1559
1570
|
case i.getTurnOverRewardSetting:
|
|
1560
|
-
a.result[
|
|
1571
|
+
a.result[r] = it(
|
|
1561
1572
|
s
|
|
1562
1573
|
);
|
|
1563
1574
|
break;
|
|
1564
1575
|
case i.getTopUpRewardSetting:
|
|
1565
|
-
a.result[
|
|
1576
|
+
a.result[r] = lt(
|
|
1566
1577
|
s
|
|
1567
1578
|
);
|
|
1568
1579
|
break;
|
|
1569
1580
|
case i.requestForgetPassword:
|
|
1570
|
-
a.result[
|
|
1581
|
+
a.result[r] = ut(
|
|
1571
1582
|
s
|
|
1572
1583
|
);
|
|
1573
1584
|
break;
|
|
1574
1585
|
case i.submitForgetPassword:
|
|
1575
|
-
a.result[
|
|
1586
|
+
a.result[r] = ct(
|
|
1576
1587
|
s
|
|
1577
1588
|
);
|
|
1578
1589
|
break;
|
|
1579
1590
|
case i.getImage:
|
|
1580
|
-
a.result[
|
|
1591
|
+
a.result[r] = dt(s);
|
|
1581
1592
|
break;
|
|
1582
1593
|
case i.getDepositValidate:
|
|
1583
|
-
a.result[
|
|
1594
|
+
a.result[r] = V(s);
|
|
1584
1595
|
break;
|
|
1585
1596
|
case i.getWithdrawValidate:
|
|
1586
|
-
a.result[
|
|
1597
|
+
a.result[r] = V(s);
|
|
1587
1598
|
break;
|
|
1588
1599
|
case i.getTransferCreditValidate:
|
|
1589
|
-
a.result[
|
|
1600
|
+
a.result[r] = V(s);
|
|
1590
1601
|
break;
|
|
1591
1602
|
case i.updateProfilePicture:
|
|
1592
|
-
a.result[
|
|
1603
|
+
a.result[r] = pt(
|
|
1593
1604
|
s
|
|
1594
1605
|
);
|
|
1595
1606
|
break;
|
|
1596
1607
|
case i.readMail:
|
|
1597
|
-
a.result[
|
|
1608
|
+
a.result[r] = gt(s);
|
|
1598
1609
|
break;
|
|
1599
1610
|
case i.checkRedPacketValidate:
|
|
1600
|
-
a.result[
|
|
1611
|
+
a.result[r] = bt(
|
|
1601
1612
|
s
|
|
1602
1613
|
);
|
|
1603
1614
|
break;
|
|
1604
1615
|
case i.requestTacCode:
|
|
1605
|
-
a.result[
|
|
1616
|
+
a.result[r] = ft(s);
|
|
1606
1617
|
break;
|
|
1607
1618
|
case i.getUsernameByRefer:
|
|
1608
|
-
a.result[
|
|
1619
|
+
a.result[r] = yt(
|
|
1609
1620
|
s
|
|
1610
1621
|
);
|
|
1611
1622
|
break;
|
|
1612
1623
|
case i.applyPromo:
|
|
1613
|
-
a.result[
|
|
1624
|
+
a.result[r] = _t(s);
|
|
1614
1625
|
break;
|
|
1615
1626
|
case i.applyRedPacket:
|
|
1616
|
-
a.result[
|
|
1627
|
+
a.result[r] = ht(s);
|
|
1617
1628
|
break;
|
|
1618
1629
|
case i.applySignIn:
|
|
1619
|
-
a.result[
|
|
1630
|
+
a.result[r] = Tt(s);
|
|
1620
1631
|
break;
|
|
1621
1632
|
case i.getCountry:
|
|
1622
|
-
a.result[
|
|
1633
|
+
a.result[r] = vt(s);
|
|
1623
1634
|
break;
|
|
1624
1635
|
case i.submitGiftCode:
|
|
1625
|
-
a.result[
|
|
1636
|
+
a.result[r] = Rt(s);
|
|
1626
1637
|
break;
|
|
1627
1638
|
case i.playGame:
|
|
1628
|
-
a.result[
|
|
1639
|
+
a.result[r] = St(s);
|
|
1629
1640
|
break;
|
|
1630
1641
|
case i.transferToMain:
|
|
1631
|
-
a.result[
|
|
1642
|
+
a.result[r] = kt(s);
|
|
1632
1643
|
break;
|
|
1633
1644
|
case i.transferProcess:
|
|
1634
|
-
a.result[
|
|
1645
|
+
a.result[r] = Pt(
|
|
1635
1646
|
s
|
|
1636
1647
|
);
|
|
1637
1648
|
break;
|
|
1638
1649
|
case i.submitDepositValidate:
|
|
1639
|
-
a.result[
|
|
1650
|
+
a.result[r] = W(s);
|
|
1640
1651
|
break;
|
|
1641
1652
|
case i.submitTransferCreditValidate:
|
|
1642
|
-
a.result[
|
|
1653
|
+
a.result[r] = W(s);
|
|
1643
1654
|
break;
|
|
1644
1655
|
case i.checkTransferCredit:
|
|
1645
|
-
a.result[
|
|
1656
|
+
a.result[r] = Ot(
|
|
1646
1657
|
s
|
|
1647
1658
|
);
|
|
1648
1659
|
break;
|
|
1649
1660
|
case i.friendList:
|
|
1650
|
-
a.result[
|
|
1661
|
+
a.result[r] = Mt(s);
|
|
1651
1662
|
break;
|
|
1652
1663
|
case i.friendListEdit:
|
|
1653
|
-
a.result[
|
|
1664
|
+
a.result[r] = xt(s);
|
|
1654
1665
|
break;
|
|
1655
1666
|
case i.getActivePP:
|
|
1656
|
-
a.result[
|
|
1667
|
+
a.result[r] = jt(s);
|
|
1657
1668
|
break;
|
|
1658
1669
|
case i.getActiveProduct:
|
|
1659
|
-
a.result[
|
|
1670
|
+
a.result[r] = Ct(
|
|
1660
1671
|
s
|
|
1661
1672
|
);
|
|
1662
1673
|
break;
|
|
1663
1674
|
case i.requestWithdrawTac:
|
|
1664
|
-
a.result[
|
|
1675
|
+
a.result[r] = Dt(
|
|
1665
1676
|
s
|
|
1666
1677
|
);
|
|
1667
1678
|
break;
|
|
1668
1679
|
case i.requestWithdrawalCode:
|
|
1669
|
-
a.result[
|
|
1680
|
+
a.result[r] = wt(
|
|
1670
1681
|
s
|
|
1671
1682
|
);
|
|
1672
1683
|
break;
|
|
1673
1684
|
case i.commissionWithdraw:
|
|
1674
|
-
a.result[
|
|
1685
|
+
a.result[r] = It(
|
|
1675
1686
|
s
|
|
1676
1687
|
);
|
|
1677
1688
|
break;
|
|
1678
1689
|
case i.submitWithdrawalCode:
|
|
1679
|
-
a.result[
|
|
1690
|
+
a.result[r] = Lt(
|
|
1680
1691
|
s
|
|
1681
1692
|
);
|
|
1682
1693
|
break;
|
|
1683
1694
|
case i.submitCryptoAccount:
|
|
1684
|
-
a.result[
|
|
1695
|
+
a.result[r] = zt(
|
|
1685
1696
|
s
|
|
1686
1697
|
);
|
|
1687
1698
|
break;
|
|
1688
1699
|
case i.requestTransferMoney:
|
|
1689
|
-
a.result[
|
|
1700
|
+
a.result[r] = Nt(
|
|
1690
1701
|
s
|
|
1691
1702
|
);
|
|
1692
1703
|
break;
|
|
1693
1704
|
case i.submitTransferMoney:
|
|
1694
|
-
a.result[
|
|
1705
|
+
a.result[r] = Ft(
|
|
1695
1706
|
s
|
|
1696
1707
|
);
|
|
1697
1708
|
break;
|
|
1698
1709
|
case i.requestUpdateMobileTacCode:
|
|
1699
|
-
a.result[
|
|
1710
|
+
a.result[r] = Bt(
|
|
1700
1711
|
s
|
|
1701
1712
|
);
|
|
1702
1713
|
break;
|
|
1703
1714
|
case i.submitUpdateMobileTacCode:
|
|
1704
|
-
a.result[
|
|
1715
|
+
a.result[r] = Gt(
|
|
1705
1716
|
s
|
|
1706
1717
|
);
|
|
1707
1718
|
break;
|
|
1708
1719
|
case i.getVerifyPromo:
|
|
1709
|
-
a.result[
|
|
1720
|
+
a.result[r] = qt(s);
|
|
1710
1721
|
break;
|
|
1711
1722
|
case i.signInViewInfo:
|
|
1712
|
-
a.result[
|
|
1723
|
+
a.result[r] = Ut(s);
|
|
1713
1724
|
break;
|
|
1714
1725
|
case i.signInRecord:
|
|
1715
|
-
a.result[
|
|
1726
|
+
a.result[r] = Vt(s);
|
|
1716
1727
|
break;
|
|
1717
1728
|
case i.referralProfile:
|
|
1718
|
-
a.result[
|
|
1729
|
+
a.result[r] = Wt(
|
|
1719
1730
|
s
|
|
1720
1731
|
);
|
|
1721
1732
|
break;
|
|
1722
1733
|
case i.referralMemberProfile:
|
|
1723
|
-
a.result[
|
|
1734
|
+
a.result[r] = Et(
|
|
1724
1735
|
s
|
|
1725
1736
|
);
|
|
1726
1737
|
break;
|
|
1727
1738
|
case i.registerAction:
|
|
1728
|
-
a.result[
|
|
1739
|
+
a.result[r] = $t(s);
|
|
1729
1740
|
break;
|
|
1730
1741
|
case i.transferReport:
|
|
1731
|
-
a.result[
|
|
1742
|
+
a.result[r] = Ht(s);
|
|
1732
1743
|
break;
|
|
1733
1744
|
case i.agTransferCreditReport:
|
|
1734
|
-
a.result[
|
|
1745
|
+
a.result[r] = At(
|
|
1735
1746
|
s
|
|
1736
1747
|
);
|
|
1737
1748
|
break;
|
|
1738
1749
|
case i.betReport:
|
|
1739
|
-
a.result[
|
|
1750
|
+
a.result[r] = Jt(s);
|
|
1740
1751
|
break;
|
|
1741
1752
|
case i.getTwoFactorAuthenticate:
|
|
1742
|
-
a.result[
|
|
1753
|
+
a.result[r] = Yt(
|
|
1743
1754
|
s
|
|
1744
1755
|
);
|
|
1745
1756
|
break;
|
|
1746
1757
|
case i.submitTwoFactorAuthenticate:
|
|
1747
|
-
a.result[
|
|
1758
|
+
a.result[r] = Kt(
|
|
1748
1759
|
s
|
|
1749
1760
|
);
|
|
1750
1761
|
break;
|
|
1751
1762
|
case i.getUserDeviceList:
|
|
1752
|
-
a.result[
|
|
1763
|
+
a.result[r] = Qt(
|
|
1753
1764
|
s
|
|
1754
1765
|
);
|
|
1755
1766
|
break;
|
|
1756
1767
|
case i.unbindUserDevice:
|
|
1757
|
-
a.result[
|
|
1768
|
+
a.result[r] = Xt(
|
|
1758
1769
|
s
|
|
1759
1770
|
);
|
|
1760
1771
|
break;
|
|
1761
1772
|
case i.searchNumberHistory:
|
|
1762
|
-
a.result[
|
|
1773
|
+
a.result[r] = Zt(
|
|
1763
1774
|
s
|
|
1764
1775
|
);
|
|
1765
1776
|
break;
|
|
1766
1777
|
case i.changeWithdrawalCode:
|
|
1767
|
-
a.result[
|
|
1778
|
+
a.result[r] = en(
|
|
1768
1779
|
s
|
|
1769
1780
|
);
|
|
1770
1781
|
break;
|
|
1771
1782
|
case i.checkRedPacketToken:
|
|
1772
|
-
a.result[
|
|
1783
|
+
a.result[r] = tn(
|
|
1773
1784
|
s
|
|
1774
1785
|
);
|
|
1775
1786
|
break;
|
|
@@ -1777,15 +1788,15 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1777
1788
|
}
|
|
1778
1789
|
if (i.vipList in a.result && ((t = a.result) != null && t.vipList)) {
|
|
1779
1790
|
const d = a.result.vipList;
|
|
1780
|
-
let
|
|
1781
|
-
if (i.getSetting in a.result && ((n = a.result) != null && n.getSetting && (
|
|
1791
|
+
let y = 4;
|
|
1792
|
+
if (i.getSetting in a.result && ((n = a.result) != null && n.getSetting && (y = a.result.getSetting.vipCalculation), delete a.result.getSetting), i.vipStatus in a.result) {
|
|
1782
1793
|
if ((l = a.result) != null && l.vipStatus) {
|
|
1783
|
-
const
|
|
1794
|
+
const r = a.result.vipStatus, {
|
|
1784
1795
|
current_grade_id: s,
|
|
1785
1796
|
current_deposit: P,
|
|
1786
1797
|
current_turnover: j,
|
|
1787
1798
|
percentage: L
|
|
1788
|
-
} =
|
|
1799
|
+
} = r, C = d.list.findIndex((R) => R.id === s);
|
|
1789
1800
|
d.list = d.list.map((R, D) => {
|
|
1790
1801
|
const w = D === C;
|
|
1791
1802
|
let M = "0", b = "0", N = 0;
|
|
@@ -1794,12 +1805,12 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1794
1805
|
is_current_level: w,
|
|
1795
1806
|
deposit: {
|
|
1796
1807
|
...R.deposit,
|
|
1797
|
-
isShow:
|
|
1808
|
+
isShow: y === 1 || y === 3 || y === 4,
|
|
1798
1809
|
current: M
|
|
1799
1810
|
},
|
|
1800
1811
|
turnover: {
|
|
1801
1812
|
...R.turnover,
|
|
1802
|
-
isShow:
|
|
1813
|
+
isShow: y === 2 || y === 3 || y === 4,
|
|
1803
1814
|
current: b
|
|
1804
1815
|
},
|
|
1805
1816
|
percentage: N
|
|
@@ -1809,22 +1820,22 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1809
1820
|
delete a.result.vipStatus;
|
|
1810
1821
|
}
|
|
1811
1822
|
if (i.vipBonus in a.result) {
|
|
1812
|
-
if ((
|
|
1813
|
-
const
|
|
1814
|
-
d.bonus.day.isClaimable =
|
|
1823
|
+
if ((o = a.result) != null && o.vipBonus) {
|
|
1824
|
+
const r = a.result.vipBonus, s = d.list.find((N) => N.is_current_level == !0), P = Number(s == null ? void 0 : s.benefit_list.daily.bonus) ?? 0, j = Number(s == null ? void 0 : s.benefit_list.weekly.bonus) ?? 0, L = Number(s == null ? void 0 : s.benefit_list.monthly.bonus) ?? 0;
|
|
1825
|
+
d.bonus.day.isClaimable = r.day.isClaimable;
|
|
1815
1826
|
const { dayRemainingTime: C, dayProgressPercentage: R } = re();
|
|
1816
1827
|
d.bonus.day.timestamp = {
|
|
1817
|
-
current: !
|
|
1828
|
+
current: !r.day.isClaimable && P > 0 ? C : 0,
|
|
1818
1829
|
percentage: R
|
|
1819
|
-
}, d.bonus.week.isClaimable =
|
|
1830
|
+
}, d.bonus.week.isClaimable = r.week.isClaimable;
|
|
1820
1831
|
const { weekRemainingTime: D, weekProgressPercentage: w } = oe();
|
|
1821
1832
|
d.bonus.week.timestamp = {
|
|
1822
|
-
current: !
|
|
1833
|
+
current: !r.week.isClaimable && j > 0 ? D : 0,
|
|
1823
1834
|
percentage: w
|
|
1824
|
-
}, d.bonus.month.isClaimable =
|
|
1835
|
+
}, d.bonus.month.isClaimable = r.month.isClaimable;
|
|
1825
1836
|
const { monthRemainingTime: M, monthProgressPercentage: b } = ae();
|
|
1826
1837
|
d.bonus.month.timestamp = {
|
|
1827
|
-
current: !
|
|
1838
|
+
current: !r.month.isClaimable && L > 0 ? M : 0,
|
|
1828
1839
|
percentage: b
|
|
1829
1840
|
};
|
|
1830
1841
|
}
|
|
@@ -1832,80 +1843,80 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1832
1843
|
}
|
|
1833
1844
|
if (i.vipFieldStatus in a.result) {
|
|
1834
1845
|
if ((u = a.result) != null && u.vipFieldStatus) {
|
|
1835
|
-
const
|
|
1846
|
+
const r = a.result.vipFieldStatus, s = [];
|
|
1836
1847
|
s.push({
|
|
1837
1848
|
name: "",
|
|
1838
1849
|
code: "vipLevel",
|
|
1839
1850
|
value: d.list.map((b) => b.name)
|
|
1840
1851
|
});
|
|
1841
|
-
const P =
|
|
1852
|
+
const P = r.findIndex(
|
|
1842
1853
|
(b) => b.fieldName == "upgrade_bonus"
|
|
1843
1854
|
);
|
|
1844
1855
|
P > -1 && s.push({
|
|
1845
|
-
name:
|
|
1856
|
+
name: r[P].showName,
|
|
1846
1857
|
code: "",
|
|
1847
1858
|
value: d.list.map((b) => b.benefit_list.upgrade.bonus)
|
|
1848
1859
|
});
|
|
1849
|
-
const j =
|
|
1860
|
+
const j = r.findIndex(
|
|
1850
1861
|
(b) => b.fieldName == "upgrade_bonus_multiply"
|
|
1851
1862
|
);
|
|
1852
1863
|
j > -1 && s.push({
|
|
1853
|
-
name:
|
|
1864
|
+
name: r[j].showName,
|
|
1854
1865
|
code: "",
|
|
1855
1866
|
value: d.list.map((b) => b.benefit_list.upgrade.turnover)
|
|
1856
1867
|
});
|
|
1857
|
-
const L =
|
|
1868
|
+
const L = r.findIndex(
|
|
1858
1869
|
(b) => b.fieldName == "monthly_bonus"
|
|
1859
1870
|
);
|
|
1860
1871
|
d.bonus.month.isShow = L > -1, L > -1 && s.push({
|
|
1861
|
-
name:
|
|
1872
|
+
name: r[L].showName,
|
|
1862
1873
|
code: "",
|
|
1863
1874
|
value: d.list.map((b) => b.benefit_list.monthly.bonus)
|
|
1864
1875
|
});
|
|
1865
|
-
const C =
|
|
1876
|
+
const C = r.findIndex(
|
|
1866
1877
|
(b) => b.fieldName == "monthly_bonus_multiply"
|
|
1867
1878
|
);
|
|
1868
1879
|
C > -1 && s.push({
|
|
1869
|
-
name:
|
|
1880
|
+
name: r[C].showName,
|
|
1870
1881
|
code: "",
|
|
1871
1882
|
value: d.list.map((b) => b.benefit_list.monthly.turnover)
|
|
1872
1883
|
});
|
|
1873
|
-
const R =
|
|
1884
|
+
const R = r.findIndex(
|
|
1874
1885
|
(b) => b.fieldName == "weekly_bonus"
|
|
1875
1886
|
);
|
|
1876
1887
|
d.bonus.week.isShow = R > -1, R > -1 && s.push({
|
|
1877
|
-
name:
|
|
1888
|
+
name: r[R].showName,
|
|
1878
1889
|
code: "",
|
|
1879
1890
|
value: d.list.map((b) => b.benefit_list.weekly.bonus)
|
|
1880
1891
|
});
|
|
1881
|
-
const D =
|
|
1892
|
+
const D = r.findIndex(
|
|
1882
1893
|
(b) => b.fieldName == "weekly_bonus_multiply"
|
|
1883
1894
|
);
|
|
1884
1895
|
D > -1 && s.push({
|
|
1885
|
-
name:
|
|
1896
|
+
name: r[D].showName,
|
|
1886
1897
|
code: "",
|
|
1887
1898
|
value: d.list.map((b) => b.benefit_list.weekly.turnover)
|
|
1888
1899
|
});
|
|
1889
|
-
const w =
|
|
1900
|
+
const w = r.findIndex(
|
|
1890
1901
|
(b) => b.fieldName == "daily_bonus"
|
|
1891
1902
|
);
|
|
1892
1903
|
d.bonus.day.isShow = w > -1, w > -1 && s.push({
|
|
1893
|
-
name:
|
|
1904
|
+
name: r[w].showName,
|
|
1894
1905
|
code: "",
|
|
1895
1906
|
value: d.list.map((b) => b.benefit_list.daily.bonus)
|
|
1896
1907
|
});
|
|
1897
|
-
const M =
|
|
1908
|
+
const M = r.findIndex(
|
|
1898
1909
|
(b) => b.fieldName == "daily_bonus_multiply"
|
|
1899
1910
|
);
|
|
1900
1911
|
M > -1 && s.push({
|
|
1901
|
-
name:
|
|
1912
|
+
name: r[M].showName,
|
|
1902
1913
|
code: "",
|
|
1903
1914
|
value: d.list.map((b) => b.benefit_list.daily.turnover)
|
|
1904
|
-
}), (
|
|
1915
|
+
}), (y === 1 || y === 3 || y === 4) && s.push({
|
|
1905
1916
|
name: "",
|
|
1906
1917
|
code: "detail_deposit",
|
|
1907
1918
|
value: d.list.map((b) => b.deposit.total)
|
|
1908
|
-
}), (
|
|
1919
|
+
}), (y === 2 || y === 3 || y === 4) && s.push({
|
|
1909
1920
|
name: "",
|
|
1910
1921
|
code: "detail_turnover",
|
|
1911
1922
|
value: d.list.map((b) => b.turnover.total)
|
|
@@ -1918,10 +1929,10 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1918
1929
|
if (i.gameList in a.result && ((c = a.result) != null && c.gameList)) {
|
|
1919
1930
|
const d = a.result.gameList;
|
|
1920
1931
|
if (i.getPlatformTurnoverRate in a.result && ((m = a.result) != null && m.getPlatformTurnoverRate)) {
|
|
1921
|
-
const
|
|
1922
|
-
d.forEach((
|
|
1923
|
-
|
|
1924
|
-
const P =
|
|
1932
|
+
const y = a.result.getPlatformTurnoverRate;
|
|
1933
|
+
d.forEach((r) => {
|
|
1934
|
+
r.list = r.list.map((s) => {
|
|
1935
|
+
const P = y.find(
|
|
1925
1936
|
(j) => j.id === s.id
|
|
1926
1937
|
);
|
|
1927
1938
|
return {
|
|
@@ -1933,13 +1944,13 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1933
1944
|
}
|
|
1934
1945
|
a.result.gameList = d;
|
|
1935
1946
|
}
|
|
1936
|
-
if (i.getCompany in a.result && ((
|
|
1947
|
+
if (i.getCompany in a.result && ((f = a.result) != null && f.getCompany)) {
|
|
1937
1948
|
const d = a.result.getCompany;
|
|
1938
1949
|
if (i.searchResultDate in a.result && (g = a.result) != null && g.searchResultDate) {
|
|
1939
|
-
const
|
|
1940
|
-
d.forEach((
|
|
1941
|
-
const s =
|
|
1942
|
-
s && (
|
|
1950
|
+
const y = a.result.searchResultDate;
|
|
1951
|
+
d.forEach((r) => {
|
|
1952
|
+
const s = y.find((P) => P.id == r.id);
|
|
1953
|
+
s && (r.date = s == null ? void 0 : s.date);
|
|
1943
1954
|
}), delete a.result.searchResultDate;
|
|
1944
1955
|
}
|
|
1945
1956
|
a.result.getCompany = d;
|
|
@@ -1982,7 +1993,7 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1982
1993
|
};
|
|
1983
1994
|
}
|
|
1984
1995
|
return n;
|
|
1985
|
-
}, sn = async (e, t, n, l,
|
|
1996
|
+
}, sn = async (e, t, n, l, o) => {
|
|
1986
1997
|
let u = {
|
|
1987
1998
|
status: 200,
|
|
1988
1999
|
message: "",
|
|
@@ -1994,7 +2005,7 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1994
2005
|
usr: t,
|
|
1995
2006
|
pwd: n,
|
|
1996
2007
|
mobileno: l,
|
|
1997
|
-
type:
|
|
2008
|
+
type: o
|
|
1998
2009
|
})).data;
|
|
1999
2010
|
u.status === 200 && (u = {
|
|
2000
2011
|
status: 200,
|
|
@@ -2083,12 +2094,12 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2083
2094
|
const l = await I.post("/setlocale", {
|
|
2084
2095
|
language: e,
|
|
2085
2096
|
udid: t ?? ""
|
|
2086
|
-
}),
|
|
2097
|
+
}), o = JSON.parse(
|
|
2087
2098
|
atob(l.data.responses[0].attributes)
|
|
2088
2099
|
);
|
|
2089
2100
|
n.data = {
|
|
2090
|
-
status:
|
|
2091
|
-
message:
|
|
2101
|
+
status: o.status == 1,
|
|
2102
|
+
message: o.message ?? ""
|
|
2092
2103
|
};
|
|
2093
2104
|
} catch (l) {
|
|
2094
2105
|
n = {
|