60p82u21t54k 0.1.0 → 0.1.2
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 +181 -179
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/model/autoRegister/autoRegisterApi.d.ts.map +1 -0
- package/dist/model/{autoregister → autoRegister}/type.d.ts.map +1 -1
- package/dist/plugin.d.ts +3 -5
- package/dist/plugin.d.ts.map +1 -1
- package/dist/util/tool.d.ts.map +1 -1
- package/package.json +17 -17
- package/dist/model/autoregister/autoRegisterApi.d.ts.map +0 -1
- /package/dist/model/{autoregister → autoRegister}/autoRegisterApi.d.ts +0 -0
- /package/dist/model/{autoregister → autoRegister}/type.d.ts +0 -0
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
const L =
|
|
1
|
+
import de from "axios";
|
|
2
|
+
const L = de.create({
|
|
3
3
|
baseURL: "",
|
|
4
4
|
timeout: 15e3,
|
|
5
5
|
// Request timeout
|
|
@@ -68,12 +68,12 @@ const fe = (e) => new TextEncoder().encode(e), ye = (e) => {
|
|
|
68
68
|
}, _e = () => {
|
|
69
69
|
const e = /* @__PURE__ */ new Date(), t = e.getFullYear(), a = e.getMonth(), l = new Date(t, a, 1, 12, 0, 0), i = new Date(t, a + 1, 1, 12, 0, 0), u = Math.floor(
|
|
70
70
|
(i.getTime() - e.getTime()) / 1e3
|
|
71
|
-
),
|
|
71
|
+
), c = Math.floor(
|
|
72
72
|
(i.getTime() - l.getTime()) / 1e3
|
|
73
|
-
), p =
|
|
73
|
+
), p = c - u;
|
|
74
74
|
return {
|
|
75
75
|
monthRemainingTime: u,
|
|
76
|
-
monthProgressPercentage: Math.round(p /
|
|
76
|
+
monthProgressPercentage: Math.round(p / c * 100)
|
|
77
77
|
};
|
|
78
78
|
}, ve = () => {
|
|
79
79
|
const e = /* @__PURE__ */ new Date(), t = e.getDay(), a = t === 1 ? 7 : 8 - t, l = new Date(
|
|
@@ -98,10 +98,10 @@ const fe = (e) => new TextEncoder().encode(e), ye = (e) => {
|
|
|
98
98
|
0,
|
|
99
99
|
0,
|
|
100
100
|
0
|
|
101
|
-
), a = Math.floor((t.getTime() - e.getTime()) / 1e3),
|
|
101
|
+
), a = Math.floor((t.getTime() - e.getTime()) / 1e3), c = 24 * 60 * 60;
|
|
102
102
|
return {
|
|
103
103
|
dayRemainingTime: a,
|
|
104
|
-
dayProgressPercentage: Math.round(a /
|
|
104
|
+
dayProgressPercentage: Math.round(a / c * 100)
|
|
105
105
|
};
|
|
106
106
|
}, Te = () => Intl.DateTimeFormat().resolvedOptions().timeZone, me = (e) => {
|
|
107
107
|
console.log("enter convertToUserTimeZone");
|
|
@@ -114,13 +114,15 @@ const fe = (e) => new TextEncoder().encode(e), ye = (e) => {
|
|
|
114
114
|
}).format(t);
|
|
115
115
|
return console.log(`enter convertToUserTimeZone data: ${a}`), a;
|
|
116
116
|
}, pe = (e) => {
|
|
117
|
-
console.log("enter
|
|
117
|
+
console.log("enter formatToISODateTime");
|
|
118
118
|
const t = e.replace(" at ", " ");
|
|
119
|
-
console.log(`enter processedDateTime
|
|
119
|
+
console.log(`enter convertToUserTimeZone processedDateTime: ${t}`);
|
|
120
120
|
const a = t.replace(/GMT([+-]\d+)/, (S, h) => `${h.padStart(3, "0")}:00`);
|
|
121
|
-
console.log(`enter
|
|
122
|
-
const l = new Date(a.replace(/0([+-]\d{1,2}:\d{2})/, "$1"))
|
|
123
|
-
|
|
121
|
+
console.log(`enter convertToUserTimeZone updatedDateTime: ${a}`);
|
|
122
|
+
const l = new Date(a.replace(/0([+-]\d{1,2}:\d{2})/, "$1"));
|
|
123
|
+
console.log(`enter convertToUserTimeZone date: ${l}`);
|
|
124
|
+
const i = l.getFullYear(), u = String(l.getMonth() + 1).padStart(2, "0"), c = String(l.getDate()).padStart(2, "0"), p = String(l.getHours()).padStart(2, "0"), y = String(l.getMinutes()).padStart(2, "0"), g = String(l.getSeconds()).padStart(2, "0"), b = `${i}-${u}-${c} ${p}:${y}:${g}`;
|
|
125
|
+
return console.log(`enter convertToUserTimeZone data: ${b}`), b;
|
|
124
126
|
}, Re = () => Date.now(), Se = (e) => new Date(e).getTime(), Pe = (e) => Re() > Se(pe(me(e)));
|
|
125
127
|
var s = /* @__PURE__ */ ((e) => (e.announcement = "announcement", e.gameList = "gameList", e.fishGameList = "fishGameList", e.cmsList = "cmsList", e.paymentsProvider = "paymentsProvider", e.getUserProfile = "getUserProfile", e.vipList = "vipList", e.vipStatus = "vipStatus", e.vipBonus = "vipBonus", e.vipFieldStatus = "vipFieldStatus", e.promotion = "promotion", e.getSetting = "getSetting", e.getCountryMobile = "getCountryMobile", e.getPlatformTurnoverRate = "getPlatformTurnoverRate", e.mainWallet = "mainWallet", e.getLanguageSetting = "getLanguageSetting", e.getFourDimensionData = "getfourDimensionData", e.getCompany = "getCompany", e.searchResultDate = "searchResultDate", e.searchHot = "searchHot", e.searchByDate = "searchByDate", e.upcomingMatches = "upcomingMatches", e.deposit = "deposit", e.applyVipBonus = "applyVipBonus", e.getBankCardData = "getBankCardData", e.withdrawalGet = "withdrawalGet", e.withdraw = "withdraw", e.addBankCard = "addBankCard", e.transactionReport = "transactionReport", e.changePassword = "changePassword", e.wallet = "wallet", e.getEventList = "getEventlist", e.getEventToken = "getEventToken", e.getExtraGame = "getExtraGame", e.mailBox = "mailBox", e.slotGameList = "slotGameList", e.getTurnOverRewardData = "getTurnOverRewardData", e.getTurnOverRewardReport = "getTurnOverRewardReport", e.getInviteRewardData = "getInviteRewardData", e.getInviteRewardReport = "getInviteRewardReport", e.getTopupRewardData = "getTopupRewardData", e.getTopupRewardReport = "getTopupRewardReport", e.getRewardReferral = "getRewardReferral", e.submitWithdrawValidate = "submitWithdrawValidate", e.getDepositPromotion = "getDepositPromotion", e.getInviteRewardClaim = "getInviteRewardClaim", e.getTopUpRewardClaim = "getTopupRewardClaim", e.getTurnOverRewardClaim = "getTurnOverRewardClaim", e.getInviteRewardSetting = "getInviteRewardSetting", e.getTopUpRewardSetting = "getTopupRewardSetting", e.getTurnOverRewardSetting = "getTurnOverRewardSetting", e.requestForgetPassword = "requestForgetPassword", e.submitForgetPassword = "submitForgetPassword", e.getImage = "getImage", e.getDepositValidate = "getDepositValidate", e.getTransferCreditValidate = "getTransferCreditValidate", e.getWithdrawValidate = "getWithdrawValidate", e.updateProfilePicture = "updateProfilePicture", e.readMail = "readMail", e.checkRedPacketValidate = "checkRedpacketValidate", e.requestTacCode = "requestTacCode", e.getUsernameByRefer = "getUsernameByRefer", e.applyPromo = "applyPromo", e.applyRedPacket = "applyRedpacket", e.applySignIn = "applySignIn", e.getCountry = "getCountry", e.submitGiftCode = "submitGiftCode", e.playGame = "playGame", e.transferToMain = "transferToMain", e.transferProcess = "transferProcess", e.submitDepositValidate = "submitDepositValidate", e.submitTransferCreditValidate = "submitTransferCreditValidate", e.checkTransferCredit = "checkTransferCredit", e.friendList = "friendList", e.friendListEdit = "friendListEdit", e.getActivePP = "getActivePP", e.getActiveProduct = "getActiveProduct", e.requestWithdrawTac = "requestWithdrawTac", e.requestWithdrawalCode = "requestWithdrawalCode", e.commissionWithdraw = "commissionWithdraw", e.submitWithdrawalCode = "submitWithdrawalCode", e.submitCryptoAccount = "submitCryptoAccount", e.requestTransferMoney = "requestTransferMoney", e.submitTransferMoney = "submitTransferMoney", e.getVerifyPromo = "getVerifyPromo", e.requestUpdateMobileTacCode = "requestUpdateMobileTacCode", e.submitUpdateMobileTacCode = "submitUpdateMobileTacCode", e.signInViewInfo = "signInViewInfo", e.signInRecord = "signInRecord", e.referralProfile = "referralProfile", e.referralMemberProfile = "referralMemberProfile", e.registerAction = "registerAction", e.transferReport = "transferReport", e.agTransferCreditReport = "agTransferCreditReport", e.betReport = "betReport", e.getTwoFactorAuthenticate = "getTwoFactorAuthenticate", e.getUserDeviceList = "getUserDeviceList", e.submitTwoFactorAuthenticate = "submitTwoFactorAuthenticate", e.unbindUserDevice = "unbindUserDevice", e.searchNumberHistory = "searchNumberHistory", e.changeWithdrawalCode = "changeWithdrawalCode", e.checkRedPacketToken = "checkRedPacketToken", e.submitWithdrawalAlipay = "submitWithdrawalAlipay", e.applyReliefFund = "applyReliefFund", e.getReliefFundData = "getReliefFundData", e.getReliefFundReport = "getReliefFundReport", e.getWeekCardData = "getWeekCardData", e.applyWeekCard = "applyWeekCard", e.getWeekCardClaim = "getWeekCardClaim", e.transferSetting = "transfersetting", e.transfer = "transfer", e.getIncentiveData = "getIncentiveData", e.getIncentiveRebate = "getIncentiveRebate", e.claimIncentiveRebate = "claimIncentiveRebate", e.getMissionData = "getMissionData", e.getMissionClaim = "getMissionClaim", e.registerForm = "registerForm", e.getFavouriteGame = "getFavouriteGame", e.updateFavouriteGame = "updateFavouriteGame", e.requestForgetUsername = "requestForgetUsername", e.submitForgetUsername = "submitForgetUsername", e.getAccumulateDepositData = "getAccumulateDepositData", e.getAccumulateDepositClaim = "getAccumulateDepositClaim", e))(s || {});
|
|
126
128
|
const ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -162,8 +164,8 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
162
164
|
), a.paymentmethod.manual.bank.length > 0) {
|
|
163
165
|
let i = !1;
|
|
164
166
|
for (let u = 0; u < a.paymentmethod.manual.bank.length; u++) {
|
|
165
|
-
const
|
|
166
|
-
if (
|
|
167
|
+
const c = a.paymentmethod.manual.bank[u];
|
|
168
|
+
if (c.list && c.list.length > 0) {
|
|
167
169
|
i = !0;
|
|
168
170
|
break;
|
|
169
171
|
}
|
|
@@ -198,18 +200,18 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
198
200
|
}, A = (e, t, a, l) => {
|
|
199
201
|
let i, u;
|
|
200
202
|
a > 0 ? i = e > 0 ? Math.max(a, e) : a : i = Math.max(e, 0), l > 0 ? u = t > 0 ? Math.min(l, t) : l : u = Math.max(t, 0);
|
|
201
|
-
const
|
|
203
|
+
const c = Math.round(i);
|
|
202
204
|
let p = 1e3;
|
|
203
205
|
u < p && (p = Math.round(u));
|
|
204
|
-
const y = p -
|
|
206
|
+
const y = p - c;
|
|
205
207
|
let g = "", b = "";
|
|
206
208
|
if (y > 0) {
|
|
207
|
-
let P = Math.round((p -
|
|
209
|
+
let P = Math.round((p - c) * 0.25).toString().split(""), M = [];
|
|
208
210
|
for (const T of P)
|
|
209
211
|
T !== "" && M.push(T);
|
|
210
212
|
for (let T = 0; T < M.length; T++)
|
|
211
213
|
T === 0 ? g += (parseInt(M[T]) + 1).toString() : g += "0";
|
|
212
|
-
P = Math.round((p -
|
|
214
|
+
P = Math.round((p - c) * 0.5).toString().split(""), M = [];
|
|
213
215
|
for (const T of P)
|
|
214
216
|
T !== "" && M.push(T);
|
|
215
217
|
for (let T = 0; T < M.length; T++)
|
|
@@ -217,20 +219,20 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
217
219
|
} else
|
|
218
220
|
g = p.toString(), b = p.toString();
|
|
219
221
|
return { amountList: [
|
|
220
|
-
|
|
222
|
+
c.toString(),
|
|
221
223
|
g,
|
|
222
224
|
b,
|
|
223
225
|
p.toString()
|
|
224
|
-
], minAmount:
|
|
226
|
+
], minAmount: c, maxAmount: u };
|
|
225
227
|
}, ne = (e, t) => t ? {
|
|
226
228
|
id: 0,
|
|
227
229
|
name: "manualMethod",
|
|
228
230
|
type: F.manual,
|
|
229
231
|
promo: Y(e.promo),
|
|
230
232
|
bank: e.bank.map((i) => {
|
|
231
|
-
const u = i.list && i.list.length > 0 ? i.list[0].mintransaction ?? "0.00" : "0.00",
|
|
233
|
+
const u = i.list && i.list.length > 0 ? i.list[0].mintransaction ?? "0.00" : "0.00", c = i.list && i.list.length > 0 ? i.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: p, minAmount: y, maxAmount: g } = A(
|
|
232
234
|
Number(u),
|
|
233
|
-
Number(
|
|
235
|
+
Number(c),
|
|
234
236
|
t.mdBankLevelDetail.deposit_min,
|
|
235
237
|
t.mdBankLevelDetail.deposit_max
|
|
236
238
|
);
|
|
@@ -260,13 +262,13 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
260
262
|
type: F.pay,
|
|
261
263
|
promo: Y(e.promo),
|
|
262
264
|
bank: e.banklist.map((i) => {
|
|
263
|
-
let u = "0.00",
|
|
265
|
+
let u = "0.00", c = "0.00";
|
|
264
266
|
const p = i.bankindex ?? 0;
|
|
265
267
|
for (let P = 0; P < t.mdGatewayMinMax.length; P++)
|
|
266
|
-
t.mdGatewayMinMax[P].bankindex == p.toString() && (u = t.mdGatewayMinMax[P].min,
|
|
268
|
+
t.mdGatewayMinMax[P].bankindex == p.toString() && (u = t.mdGatewayMinMax[P].min, c = t.mdGatewayMinMax[P].max);
|
|
267
269
|
const { amountList: y, minAmount: g, maxAmount: b } = A(
|
|
268
270
|
Number(u),
|
|
269
|
-
Number(
|
|
271
|
+
Number(c),
|
|
270
272
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
271
273
|
t.mdBankLevelDetail.onlinepayment_max
|
|
272
274
|
), S = {
|
|
@@ -378,7 +380,7 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
378
380
|
phoneNumber: e.mdUserDetail.mobileno ?? "",
|
|
379
381
|
profilePicUrl: e.mdUserDetail.profile_pic
|
|
380
382
|
}), Fe = (e) => {
|
|
381
|
-
var t, a, l, i, u,
|
|
383
|
+
var t, a, l, i, u, c, p, y, g;
|
|
382
384
|
return {
|
|
383
385
|
platformGame: ((t = e.mdGameListResult) == null ? void 0 : t.map((b) => {
|
|
384
386
|
var S, h;
|
|
@@ -423,7 +425,7 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
423
425
|
}))) ?? []
|
|
424
426
|
} : {},
|
|
425
427
|
platformGameList: Ge(e.mdGameLists.data) ? {
|
|
426
|
-
currentPage: ((
|
|
428
|
+
currentPage: ((c = e.mdGameLists) == null ? void 0 : c.current_page) ?? 1,
|
|
427
429
|
lastPage: ((p = e.mdGameLists) == null ? void 0 : p.last_page) ?? 1,
|
|
428
430
|
data: ((g = (y = e.mdGameLists) == null ? void 0 : y.data) == null ? void 0 : g.map((b) => ({
|
|
429
431
|
gameId: Number(b.id),
|
|
@@ -455,7 +457,7 @@ function Ge(e) {
|
|
|
455
457
|
}
|
|
456
458
|
const ze = (e) => ({
|
|
457
459
|
list: e.mdGrade.map((t) => {
|
|
458
|
-
var a, l, i, u,
|
|
460
|
+
var a, l, i, u, c, p, y, g, b, S, h, m, P, M, G, z, T, j, U, q, E, W, K, $, Q, H, J, n, d, v, r, o;
|
|
459
461
|
return {
|
|
460
462
|
id: t.gradeindex,
|
|
461
463
|
is_current_level: !1,
|
|
@@ -483,7 +485,7 @@ const ze = (e) => ({
|
|
|
483
485
|
daily: {
|
|
484
486
|
bonus: parseFloat(((l = (a = t.benefit) == null ? void 0 : a.daily) == null ? void 0 : l.bonus) ?? "0.00").toFixed(2),
|
|
485
487
|
bonus_name: ((u = (i = t.benefit) == null ? void 0 : i.daily) == null ? void 0 : u.bonus_name) ?? "",
|
|
486
|
-
turnover: parseFloat(((p = (
|
|
488
|
+
turnover: parseFloat(((p = (c = t.benefit) == null ? void 0 : c.daily) == null ? void 0 : p.turnover) ?? "0.00").toFixed(2),
|
|
487
489
|
turnover_name: ((g = (y = t.benefit) == null ? void 0 : y.daily) == null ? void 0 : g.turnover_name) ?? ""
|
|
488
490
|
},
|
|
489
491
|
monthly: {
|
|
@@ -501,7 +503,7 @@ const ze = (e) => ({
|
|
|
501
503
|
upgrade: {
|
|
502
504
|
bonus: parseFloat(((H = (Q = t.benefit) == null ? void 0 : Q.upgrade) == null ? void 0 : H.bonus) ?? "0.00").toFixed(2),
|
|
503
505
|
bonus_name: ((n = (J = t.benefit) == null ? void 0 : J.upgrade) == null ? void 0 : n.bonus_name) ?? "",
|
|
504
|
-
turnover: parseFloat(((v = (
|
|
506
|
+
turnover: parseFloat(((v = (d = t.benefit) == null ? void 0 : d.upgrade) == null ? void 0 : v.turnover) ?? "0.00").toFixed(2),
|
|
505
507
|
turnover_name: ((o = (r = t.benefit) == null ? void 0 : r.upgrade) == null ? void 0 : o.turnover_name) ?? ""
|
|
506
508
|
}
|
|
507
509
|
}
|
|
@@ -580,10 +582,10 @@ const ze = (e) => ({
|
|
|
580
582
|
vipCalculation: t,
|
|
581
583
|
livechat: e.livechat ?? "",
|
|
582
584
|
livechatList: a.filter((u) => u.status == 1).map((u) => {
|
|
583
|
-
let
|
|
584
|
-
return
|
|
585
|
+
let c = u.imgname;
|
|
586
|
+
return c.slice(-4) === ".png" && (c = u.imgname.slice(0, -4)), {
|
|
585
587
|
name: u.name,
|
|
586
|
-
imageUrl: `/image/game/native/customer_service/${
|
|
588
|
+
imageUrl: `/image/game/native/customer_service/${c}.png`,
|
|
587
589
|
url: u.url,
|
|
588
590
|
status: u.status == 1
|
|
589
591
|
};
|
|
@@ -684,7 +686,7 @@ const Ke = (e) => {
|
|
|
684
686
|
(m) => m.combination_dimension == 4 && m.combination_position === 1
|
|
685
687
|
).map((m) => m.combination_combination), u = a.results.filter(
|
|
686
688
|
(m) => m.combination_dimension === 4 && m.combination_position === 2
|
|
687
|
-
).map((m) => m.combination_combination),
|
|
689
|
+
).map((m) => m.combination_combination), c = a.results.filter(
|
|
688
690
|
(m) => m.combination_dimension === 4 && m.combination_position === 3
|
|
689
691
|
).map((m) => m.combination_combination), p = a.results.filter(
|
|
690
692
|
(m) => m.combination_dimension === 4 && m.combination_position === 4
|
|
@@ -701,7 +703,7 @@ const Ke = (e) => {
|
|
|
701
703
|
dimension_4: {
|
|
702
704
|
prize_1: i,
|
|
703
705
|
prize_2: u,
|
|
704
|
-
prize_3:
|
|
706
|
+
prize_3: c,
|
|
705
707
|
prize_4: p,
|
|
706
708
|
prize_5: y
|
|
707
709
|
},
|
|
@@ -749,50 +751,50 @@ const Ke = (e) => {
|
|
|
749
751
|
}), at = (e) => R(e), nt = (e) => {
|
|
750
752
|
var t, a, l, i, u;
|
|
751
753
|
return {
|
|
752
|
-
bankCard: ((t = e.bankCard) == null ? void 0 : t.map((
|
|
754
|
+
bankCard: ((t = e.bankCard) == null ? void 0 : t.map((c) => {
|
|
753
755
|
var p, y;
|
|
754
756
|
return {
|
|
755
|
-
bankIndex:
|
|
757
|
+
bankIndex: c.bankindex,
|
|
756
758
|
bankProvince: {
|
|
757
|
-
id:
|
|
759
|
+
id: c.bankprovince,
|
|
758
760
|
desc: ((y = (p = e.province) == null ? void 0 : p.find(
|
|
759
|
-
(g) => g.provinceindex ==
|
|
761
|
+
(g) => g.provinceindex == c.bankprovince
|
|
760
762
|
)) == null ? void 0 : y.label) ?? ""
|
|
761
763
|
},
|
|
762
|
-
bankName:
|
|
763
|
-
bankAccountNo:
|
|
764
|
-
bankUrl:
|
|
765
|
-
imgUrl:
|
|
766
|
-
countryIndex:
|
|
764
|
+
bankName: c.banknamesimplified,
|
|
765
|
+
bankAccountNo: c.bankaccountno,
|
|
766
|
+
bankUrl: c.bankaddress ?? "",
|
|
767
|
+
imgUrl: c.img,
|
|
768
|
+
countryIndex: c.countryindex
|
|
767
769
|
};
|
|
768
770
|
})) ?? [],
|
|
769
|
-
bankList: ((a = e.bankList) == null ? void 0 : a.map((
|
|
770
|
-
bankIndex:
|
|
771
|
-
bankType:
|
|
772
|
-
bankName:
|
|
773
|
-
bankUrl:
|
|
774
|
-
swiftCode:
|
|
775
|
-
showBind:
|
|
776
|
-
showDeposit:
|
|
777
|
-
countryIndex:
|
|
771
|
+
bankList: ((a = e.bankList) == null ? void 0 : a.map((c) => ({
|
|
772
|
+
bankIndex: c.bankindex,
|
|
773
|
+
bankType: c.bank_type,
|
|
774
|
+
bankName: c.banknamesimplified,
|
|
775
|
+
bankUrl: c.address ?? "",
|
|
776
|
+
swiftCode: c.swiftcode,
|
|
777
|
+
showBind: c.show_bind === "1",
|
|
778
|
+
showDeposit: c.show_deposit === "1",
|
|
779
|
+
countryIndex: c.countryindex
|
|
778
780
|
}))) ?? [],
|
|
779
|
-
province: ((l = e.province) == null ? void 0 : l.map((
|
|
780
|
-
index:
|
|
781
|
-
label:
|
|
782
|
-
countryIndex:
|
|
781
|
+
province: ((l = e.province) == null ? void 0 : l.map((c) => ({
|
|
782
|
+
index: c.provinceindex,
|
|
783
|
+
label: c.label,
|
|
784
|
+
countryIndex: c.countryindex
|
|
783
785
|
}))) ?? [],
|
|
784
|
-
cryptoAccount: ((i = e.mdAccountCrypto) == null ? void 0 : i.map((
|
|
785
|
-
id:
|
|
786
|
-
type:
|
|
787
|
-
name:
|
|
788
|
-
address:
|
|
786
|
+
cryptoAccount: ((i = e.mdAccountCrypto) == null ? void 0 : i.map((c) => ({
|
|
787
|
+
id: c.crypto_id,
|
|
788
|
+
type: c.type,
|
|
789
|
+
name: c.crypto_name,
|
|
790
|
+
address: c.address
|
|
789
791
|
}))) ?? [],
|
|
790
792
|
cryptoDetail: {
|
|
791
793
|
limit: e.mdCryptoDetail.cryptolimit,
|
|
792
|
-
protocol: ((u = e.mdCryptoDetail.cryptoprotocol) == null ? void 0 : u.map((
|
|
793
|
-
id:
|
|
794
|
-
name:
|
|
795
|
-
status:
|
|
794
|
+
protocol: ((u = e.mdCryptoDetail.cryptoprotocol) == null ? void 0 : u.map((c) => ({
|
|
795
|
+
id: c.id,
|
|
796
|
+
name: c.name,
|
|
797
|
+
status: c.status == "1"
|
|
796
798
|
}))) ?? []
|
|
797
799
|
},
|
|
798
800
|
alipayData: e.subWithdrawalAlipayData,
|
|
@@ -812,7 +814,7 @@ const Ke = (e) => {
|
|
|
812
814
|
withdrawMaxFee: Number(e.withdrawMaxFee),
|
|
813
815
|
withdrawCount: e.withdrawCount
|
|
814
816
|
}), rt = (e) => R(e), st = (e) => {
|
|
815
|
-
var t, a, l, i, u,
|
|
817
|
+
var t, a, l, i, u, c;
|
|
816
818
|
return {
|
|
817
819
|
statusMode: ((t = e.subStatusModes) == null ? void 0 : t.map((p) => ({
|
|
818
820
|
key: p.key,
|
|
@@ -825,7 +827,7 @@ const Ke = (e) => {
|
|
|
825
827
|
data: {
|
|
826
828
|
currentPage: ((l = e.mdCashLedgers) == null ? void 0 : l.current_page) ?? 0,
|
|
827
829
|
lastPage: ((i = e.mdCashLedgers) == null ? void 0 : i.last_page) ?? 0,
|
|
828
|
-
data: ((
|
|
830
|
+
data: ((c = (u = e.mdCashLedgers) == null ? void 0 : u.data) == null ? void 0 : c.map((p) => {
|
|
829
831
|
var y, g;
|
|
830
832
|
return {
|
|
831
833
|
transactionIndex: p.ledgerindex,
|
|
@@ -892,7 +894,7 @@ const Ke = (e) => {
|
|
|
892
894
|
com: t.com ?? "",
|
|
893
895
|
maintenance: t.maintenance ?? !1
|
|
894
896
|
};
|
|
895
|
-
})) ?? [],
|
|
897
|
+
})) ?? [], ct = (e) => ({
|
|
896
898
|
status: e.status == 1,
|
|
897
899
|
message: e.message ?? "",
|
|
898
900
|
data: e.data.map((t) => ({
|
|
@@ -902,7 +904,7 @@ const Ke = (e) => {
|
|
|
902
904
|
imageUrl: t.image_url,
|
|
903
905
|
getToken: t.getToken === 1
|
|
904
906
|
}))
|
|
905
|
-
}),
|
|
907
|
+
}), dt = (e) => {
|
|
906
908
|
var t;
|
|
907
909
|
return {
|
|
908
910
|
status: e.status == 1,
|
|
@@ -975,7 +977,7 @@ const Ke = (e) => {
|
|
|
975
977
|
name: u.firstname,
|
|
976
978
|
cashback: u.turnover,
|
|
977
979
|
commission: u.income
|
|
978
|
-
})), l = e.data.reduce((u,
|
|
980
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.income), 0), i = t.size;
|
|
979
981
|
return {
|
|
980
982
|
totalReward: l,
|
|
981
983
|
totalCount: i,
|
|
@@ -1003,7 +1005,7 @@ const Ke = (e) => {
|
|
|
1003
1005
|
deposit: u.deposit,
|
|
1004
1006
|
activeBet: u.activebet,
|
|
1005
1007
|
commission: u.reward
|
|
1006
|
-
})), l = e.data.reduce((u,
|
|
1008
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0), i = t.size;
|
|
1007
1009
|
return {
|
|
1008
1010
|
totalReward: l,
|
|
1009
1011
|
totalCount: i,
|
|
@@ -1029,7 +1031,7 @@ const Ke = (e) => {
|
|
|
1029
1031
|
name: u.firstname,
|
|
1030
1032
|
total: u.deposit,
|
|
1031
1033
|
commission: u.reward
|
|
1032
|
-
})), l = e.data.reduce((u,
|
|
1034
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0), i = t.size;
|
|
1033
1035
|
return {
|
|
1034
1036
|
totalReward: l,
|
|
1035
1037
|
totalCount: i,
|
|
@@ -1077,15 +1079,15 @@ const Ke = (e) => {
|
|
|
1077
1079
|
expiryTime: g.etime
|
|
1078
1080
|
};
|
|
1079
1081
|
});
|
|
1080
|
-
let u = 0,
|
|
1081
|
-
const p = i.map((g) => (u = Math.max(u, g.percentage), new Date(g.expiryTime) < new Date(
|
|
1082
|
+
let u = 0, c = ((y = i[0]) == null ? void 0 : y.expiryTime) || "";
|
|
1083
|
+
const p = i.map((g) => (u = Math.max(u, g.percentage), new Date(g.expiryTime) < new Date(c) && (c = g.expiryTime), {
|
|
1082
1084
|
name: g.name,
|
|
1083
1085
|
depositAmount: g.depositAmount,
|
|
1084
1086
|
promoAmount: g.promoAmount
|
|
1085
1087
|
}));
|
|
1086
1088
|
return a = {
|
|
1087
1089
|
percentage: u,
|
|
1088
|
-
expiryTime:
|
|
1090
|
+
expiryTime: c,
|
|
1089
1091
|
list: p
|
|
1090
1092
|
}, { welcomeBonus: t, dailyBonus: a };
|
|
1091
1093
|
}, Pt = (e) => ({
|
|
@@ -1115,11 +1117,11 @@ const Ke = (e) => {
|
|
|
1115
1117
|
t[a] = [];
|
|
1116
1118
|
for (let i = 0; i < l.length; i++) {
|
|
1117
1119
|
const u = l[i];
|
|
1118
|
-
let
|
|
1119
|
-
l.length > i + 1 && (
|
|
1120
|
+
let c = "";
|
|
1121
|
+
l.length > i + 1 && (c = (Number(l[i + 1].achievement) - 1).toString()), t[a].push({
|
|
1120
1122
|
rate: u.rate,
|
|
1121
1123
|
minValue: u.achievement.toString(),
|
|
1122
|
-
maxValue:
|
|
1124
|
+
maxValue: c
|
|
1123
1125
|
});
|
|
1124
1126
|
}
|
|
1125
1127
|
}
|
|
@@ -1134,11 +1136,11 @@ const Ke = (e) => {
|
|
|
1134
1136
|
t[a] = [];
|
|
1135
1137
|
for (let i = 0; i < l.length; i++) {
|
|
1136
1138
|
const u = l[i];
|
|
1137
|
-
let
|
|
1138
|
-
l.length > i + 1 && (
|
|
1139
|
+
let c = "";
|
|
1140
|
+
l.length > i + 1 && (c = (Number(l[i + 1].achievement) - 1).toString()), t[a].push({
|
|
1139
1141
|
rate: u.rate,
|
|
1140
1142
|
minValue: u.achievement,
|
|
1141
|
-
maxValue:
|
|
1143
|
+
maxValue: c
|
|
1142
1144
|
});
|
|
1143
1145
|
}
|
|
1144
1146
|
}
|
|
@@ -1273,7 +1275,7 @@ const Ke = (e) => {
|
|
|
1273
1275
|
signedToday: e.todayIsSign === 1,
|
|
1274
1276
|
dayStreak: e.continuousDay,
|
|
1275
1277
|
canSignToday: e.canSign === 1
|
|
1276
|
-
}),
|
|
1278
|
+
}), ca = (e) => ({
|
|
1277
1279
|
status: e.status == 1,
|
|
1278
1280
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1279
1281
|
fullName: e.fullname,
|
|
@@ -1309,7 +1311,7 @@ const Ke = (e) => {
|
|
|
1309
1311
|
commission: a.commission
|
|
1310
1312
|
}))
|
|
1311
1313
|
}))
|
|
1312
|
-
}),
|
|
1314
|
+
}), da = (e) => ({
|
|
1313
1315
|
status: e.status == 1,
|
|
1314
1316
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1315
1317
|
id: e.id ?? 0,
|
|
@@ -1353,7 +1355,7 @@ const Ke = (e) => {
|
|
|
1353
1355
|
}))) ?? []
|
|
1354
1356
|
};
|
|
1355
1357
|
}, ba = (e) => {
|
|
1356
|
-
var t, a, l, i, u,
|
|
1358
|
+
var t, a, l, i, u, c, p, y, g, b, S;
|
|
1357
1359
|
return {
|
|
1358
1360
|
status: e.status == 1,
|
|
1359
1361
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
@@ -1369,7 +1371,7 @@ const Ke = (e) => {
|
|
|
1369
1371
|
validBet: "0.00",
|
|
1370
1372
|
payout: "0.00"
|
|
1371
1373
|
},
|
|
1372
|
-
data: ((p = (
|
|
1374
|
+
data: ((p = (c = e.data) == null ? void 0 : c.sum) == null ? void 0 : p.map((h) => ({
|
|
1373
1375
|
bet: Number(h.bet).toFixed(2),
|
|
1374
1376
|
activeBet: Number(h.activebet).toFixed(2),
|
|
1375
1377
|
payout: Number(h.payout).toFixed(2),
|
|
@@ -1648,7 +1650,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1648
1650
|
const a = e.data.achieve ?? 0, l = e.data.achieve ?? 0, i = a / l * 100;
|
|
1649
1651
|
t = {
|
|
1650
1652
|
buttonStatus: e.data.tier.filter(
|
|
1651
|
-
(
|
|
1653
|
+
(c) => c.claimable == "1" && c.collected != "1"
|
|
1652
1654
|
).length > 0 ? B.collectable : B.collected,
|
|
1653
1655
|
dateFrom: e.data.datefrom,
|
|
1654
1656
|
dateTo: e.data.dateto,
|
|
@@ -1657,10 +1659,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1657
1659
|
total: l,
|
|
1658
1660
|
currentPercentage: i
|
|
1659
1661
|
},
|
|
1660
|
-
list: e.data.tier.map((
|
|
1661
|
-
total:
|
|
1662
|
-
reward: Number(
|
|
1663
|
-
status:
|
|
1662
|
+
list: e.data.tier.map((c) => ({
|
|
1663
|
+
total: c.requirement,
|
|
1664
|
+
reward: Number(c.reward),
|
|
1665
|
+
status: c.claimable != "1" ? B.inProgress : c.collected == "1" ? B.collected : B.collectable
|
|
1664
1666
|
}))
|
|
1665
1667
|
};
|
|
1666
1668
|
}
|
|
@@ -1673,9 +1675,9 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1673
1675
|
status: e.status == 1,
|
|
1674
1676
|
message: e.msg ?? ""
|
|
1675
1677
|
}), Ja = async (e) => {
|
|
1676
|
-
var t, a, l, i, u,
|
|
1678
|
+
var t, a, l, i, u, c, p, y, g, b, S, h, m, P, M, G, z;
|
|
1677
1679
|
try {
|
|
1678
|
-
e.findIndex((
|
|
1680
|
+
e.findIndex((d) => d.name === s.vipList) !== -1 && e.push(
|
|
1679
1681
|
{
|
|
1680
1682
|
name: s.vipBonus,
|
|
1681
1683
|
query: ""
|
|
@@ -1688,53 +1690,53 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1688
1690
|
}
|
|
1689
1691
|
);
|
|
1690
1692
|
const j = e.findIndex(
|
|
1691
|
-
(
|
|
1693
|
+
(d) => d.name === s.getFavouriteGame
|
|
1692
1694
|
);
|
|
1693
1695
|
j !== -1 && (JSON.parse(e[j].query).pid || e.push({
|
|
1694
1696
|
name: s.getPlatformTurnoverRate,
|
|
1695
1697
|
query: ""
|
|
1696
1698
|
}));
|
|
1697
|
-
const U = e.findIndex((
|
|
1699
|
+
const U = e.findIndex((d) => d.name === s.fishGameList);
|
|
1698
1700
|
U !== -1 && (JSON.parse(e[U].query).pid || e.push({
|
|
1699
1701
|
name: s.getPlatformTurnoverRate,
|
|
1700
1702
|
query: ""
|
|
1701
1703
|
}));
|
|
1702
|
-
const q = e.findIndex((
|
|
1704
|
+
const q = e.findIndex((d) => d.name === s.gameList);
|
|
1703
1705
|
q !== -1 && (JSON.parse(e[q].query).pid || e.push({
|
|
1704
1706
|
name: s.getPlatformTurnoverRate,
|
|
1705
1707
|
query: ""
|
|
1706
1708
|
}));
|
|
1707
|
-
const E = e.findIndex((
|
|
1709
|
+
const E = e.findIndex((d) => d.name === s.searchHot);
|
|
1708
1710
|
if (E !== -1) {
|
|
1709
|
-
let
|
|
1711
|
+
let d = {};
|
|
1710
1712
|
e.forEach((v) => {
|
|
1711
|
-
|
|
1713
|
+
d = v.query;
|
|
1712
1714
|
}), e.splice(E), e.push({
|
|
1713
1715
|
name: s.getFourDimensionData,
|
|
1714
|
-
query: String(
|
|
1716
|
+
query: String(d)
|
|
1715
1717
|
});
|
|
1716
1718
|
}
|
|
1717
|
-
const W = e.findIndex((
|
|
1719
|
+
const W = e.findIndex((d) => d.name === s.searchNumberHistory);
|
|
1718
1720
|
if (W !== -1) {
|
|
1719
|
-
let
|
|
1721
|
+
let d = {};
|
|
1720
1722
|
e.forEach((v) => {
|
|
1721
|
-
|
|
1723
|
+
d = v.query;
|
|
1722
1724
|
}), e.splice(W), e.push({
|
|
1723
1725
|
name: s.getFourDimensionData,
|
|
1724
|
-
query: String(
|
|
1726
|
+
query: String(d)
|
|
1725
1727
|
});
|
|
1726
1728
|
}
|
|
1727
|
-
if (e.findIndex((
|
|
1728
|
-
let
|
|
1729
|
+
if (e.findIndex((d) => d.name === s.searchByDate) !== -1) {
|
|
1730
|
+
let d = {};
|
|
1729
1731
|
e.forEach((v) => {
|
|
1730
|
-
|
|
1732
|
+
d = v.query;
|
|
1731
1733
|
}), e.splice(W), e.push({
|
|
1732
1734
|
name: s.getFourDimensionData,
|
|
1733
|
-
query: String(
|
|
1735
|
+
query: String(d)
|
|
1734
1736
|
});
|
|
1735
1737
|
}
|
|
1736
1738
|
const $ = e.findIndex(
|
|
1737
|
-
(
|
|
1739
|
+
(d) => d.name === s.getFourDimensionData
|
|
1738
1740
|
);
|
|
1739
1741
|
$ !== -1 && e[$].query == "" && (e.splice($), e.push(
|
|
1740
1742
|
{
|
|
@@ -1753,9 +1755,9 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1753
1755
|
}
|
|
1754
1756
|
));
|
|
1755
1757
|
const H = {
|
|
1756
|
-
requests: e.map((
|
|
1757
|
-
name:
|
|
1758
|
-
query: btoa(
|
|
1758
|
+
requests: e.map((d) => ({
|
|
1759
|
+
name: d.name,
|
|
1760
|
+
query: btoa(d.query)
|
|
1759
1761
|
}))
|
|
1760
1762
|
}, J = await L.post(
|
|
1761
1763
|
"/graph/jwt",
|
|
@@ -1765,9 +1767,9 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1765
1767
|
message: "",
|
|
1766
1768
|
result: {}
|
|
1767
1769
|
};
|
|
1768
|
-
for (const
|
|
1769
|
-
|
|
1770
|
-
const v =
|
|
1770
|
+
for (const d of J.data.responses) {
|
|
1771
|
+
d.error != null && d.error.code != 200 && (n.status = d.error.code, n.message = d.error.message);
|
|
1772
|
+
const v = d.attributes !== null && d.attributes !== void 0 ? ye(d.attributes) : null, r = d.name, o = v ? JSON.parse(v) : null;
|
|
1771
1773
|
if (console.log(r), console.log(o), !o)
|
|
1772
1774
|
console.log("Not data received"), n.result[r] = null;
|
|
1773
1775
|
else
|
|
@@ -1881,10 +1883,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1881
1883
|
n.result[r] = ut(o);
|
|
1882
1884
|
break;
|
|
1883
1885
|
case s.getEventList:
|
|
1884
|
-
n.result[r] =
|
|
1886
|
+
n.result[r] = ct(o);
|
|
1885
1887
|
break;
|
|
1886
1888
|
case s.getEventToken:
|
|
1887
|
-
n.result[r] =
|
|
1889
|
+
n.result[r] = dt(o);
|
|
1888
1890
|
break;
|
|
1889
1891
|
case s.getExtraGame:
|
|
1890
1892
|
n.result[r] = mt(o);
|
|
@@ -2120,12 +2122,12 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2120
2122
|
n.result[r] = ua(o);
|
|
2121
2123
|
break;
|
|
2122
2124
|
case s.referralProfile:
|
|
2123
|
-
n.result[r] =
|
|
2125
|
+
n.result[r] = ca(
|
|
2124
2126
|
o
|
|
2125
2127
|
);
|
|
2126
2128
|
break;
|
|
2127
2129
|
case s.referralMemberProfile:
|
|
2128
|
-
n.result[r] =
|
|
2130
|
+
n.result[r] = da(
|
|
2129
2131
|
o
|
|
2130
2132
|
);
|
|
2131
2133
|
break;
|
|
@@ -2278,18 +2280,18 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2278
2280
|
}
|
|
2279
2281
|
}
|
|
2280
2282
|
if (s.getIncentiveData in n.result && ((t = n.result) != null && t.getIncentiveData)) {
|
|
2281
|
-
const
|
|
2283
|
+
const d = n.result.getIncentiveData;
|
|
2282
2284
|
if (s.getIncentiveRebate in n.result) {
|
|
2283
2285
|
if ((a = n.result) != null && a.getIncentiveRebate) {
|
|
2284
2286
|
const v = n.result.getIncentiveRebate;
|
|
2285
|
-
|
|
2287
|
+
d.claimable = Number(v.amount);
|
|
2286
2288
|
}
|
|
2287
2289
|
delete n.result.getIncentiveRebate;
|
|
2288
2290
|
}
|
|
2289
|
-
n.result.getIncentiveData =
|
|
2291
|
+
n.result.getIncentiveData = d;
|
|
2290
2292
|
}
|
|
2291
2293
|
if (s.vipList in n.result && ((l = n.result) != null && l.vipList)) {
|
|
2292
|
-
const
|
|
2294
|
+
const d = n.result.vipList;
|
|
2293
2295
|
let v = 4;
|
|
2294
2296
|
if (s.getSetting in n.result && ((i = n.result) != null && i.getSetting && (v = n.result.getSetting.vipCalculation), delete n.result.getSetting), s.vipStatus in n.result) {
|
|
2295
2297
|
if ((u = n.result) != null && u.vipStatus) {
|
|
@@ -2298,8 +2300,8 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2298
2300
|
current_deposit: _,
|
|
2299
2301
|
current_turnover: k,
|
|
2300
2302
|
percentage: x
|
|
2301
|
-
} = r, N =
|
|
2302
|
-
|
|
2303
|
+
} = r, N = d.list.findIndex((O) => O.id === o);
|
|
2304
|
+
d.list = d.list.map((O, w) => {
|
|
2303
2305
|
const C = w === N;
|
|
2304
2306
|
let I = "0", f = "0", V = 0;
|
|
2305
2307
|
return C ? (I = `${Math.min(Number(_), Number(O.deposit.total))}`, f = `${Math.min(Number(k), Number(O.turnover.total))}`, V = x) : w < N ? (I = O.deposit.total, f = O.turnover.total, V = 1) : w > N && (I = "0.00", f = "0.00", V = 0), {
|
|
@@ -2322,21 +2324,21 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2322
2324
|
delete n.result.vipStatus;
|
|
2323
2325
|
}
|
|
2324
2326
|
if (s.vipBonus in n.result) {
|
|
2325
|
-
if ((
|
|
2326
|
-
const r = n.result.vipBonus, o =
|
|
2327
|
-
|
|
2327
|
+
if ((c = n.result) != null && c.vipBonus) {
|
|
2328
|
+
const r = n.result.vipBonus, o = d.list.find((V) => V.is_current_level == !0), _ = Number(o == null ? void 0 : o.benefit_list.daily.bonus) ?? 0, k = Number(o == null ? void 0 : o.benefit_list.weekly.bonus) ?? 0, x = Number(o == null ? void 0 : o.benefit_list.monthly.bonus) ?? 0;
|
|
2329
|
+
d.bonus.day.isClaimable = r.day.isClaimable;
|
|
2328
2330
|
const { dayRemainingTime: N, dayProgressPercentage: O } = he();
|
|
2329
|
-
|
|
2331
|
+
d.bonus.day.timestamp = {
|
|
2330
2332
|
current: !r.day.isClaimable && _ > 0 ? N : 0,
|
|
2331
2333
|
percentage: O > 100 ? 100 : O
|
|
2332
|
-
},
|
|
2334
|
+
}, d.bonus.week.isClaimable = r.week.isClaimable;
|
|
2333
2335
|
const { weekRemainingTime: w, weekProgressPercentage: C } = ve();
|
|
2334
|
-
|
|
2336
|
+
d.bonus.week.timestamp = {
|
|
2335
2337
|
current: !r.week.isClaimable && k > 0 ? w : 0,
|
|
2336
2338
|
percentage: C > 100 ? 100 : C
|
|
2337
|
-
},
|
|
2339
|
+
}, d.bonus.month.isClaimable = r.month.isClaimable;
|
|
2338
2340
|
const { monthRemainingTime: I, monthProgressPercentage: f } = _e();
|
|
2339
|
-
|
|
2341
|
+
d.bonus.month.timestamp = {
|
|
2340
2342
|
current: !r.month.isClaimable && x > 0 ? I : 0,
|
|
2341
2343
|
percentage: f > 100 ? 100 : f
|
|
2342
2344
|
};
|
|
@@ -2349,7 +2351,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2349
2351
|
o.push({
|
|
2350
2352
|
name: "",
|
|
2351
2353
|
code: "vipLevel",
|
|
2352
|
-
value:
|
|
2354
|
+
value: d.list.map((f) => f.name)
|
|
2353
2355
|
});
|
|
2354
2356
|
const _ = r.findIndex(
|
|
2355
2357
|
(f) => f.fieldName == "upgrade_bonus"
|
|
@@ -2357,7 +2359,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2357
2359
|
_ > -1 && o.push({
|
|
2358
2360
|
name: r[_].showName,
|
|
2359
2361
|
code: "",
|
|
2360
|
-
value:
|
|
2362
|
+
value: d.list.map((f) => f.benefit_list.upgrade.bonus)
|
|
2361
2363
|
});
|
|
2362
2364
|
const k = r.findIndex(
|
|
2363
2365
|
(f) => f.fieldName == "upgrade_bonus_multiply"
|
|
@@ -2365,15 +2367,15 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2365
2367
|
k > -1 && o.push({
|
|
2366
2368
|
name: r[k].showName,
|
|
2367
2369
|
code: "",
|
|
2368
|
-
value:
|
|
2370
|
+
value: d.list.map((f) => f.benefit_list.upgrade.turnover)
|
|
2369
2371
|
});
|
|
2370
2372
|
const x = r.findIndex(
|
|
2371
2373
|
(f) => f.fieldName == "monthly_bonus"
|
|
2372
2374
|
);
|
|
2373
|
-
|
|
2375
|
+
d.bonus.month.isShow = x > -1, x > -1 && o.push({
|
|
2374
2376
|
name: r[x].showName,
|
|
2375
2377
|
code: "",
|
|
2376
|
-
value:
|
|
2378
|
+
value: d.list.map((f) => f.benefit_list.monthly.bonus)
|
|
2377
2379
|
});
|
|
2378
2380
|
const N = r.findIndex(
|
|
2379
2381
|
(f) => f.fieldName == "monthly_bonus_multiply"
|
|
@@ -2381,15 +2383,15 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2381
2383
|
N > -1 && o.push({
|
|
2382
2384
|
name: r[N].showName,
|
|
2383
2385
|
code: "",
|
|
2384
|
-
value:
|
|
2386
|
+
value: d.list.map((f) => f.benefit_list.monthly.turnover)
|
|
2385
2387
|
});
|
|
2386
2388
|
const O = r.findIndex(
|
|
2387
2389
|
(f) => f.fieldName == "weekly_bonus"
|
|
2388
2390
|
);
|
|
2389
|
-
|
|
2391
|
+
d.bonus.week.isShow = O > -1, O > -1 && o.push({
|
|
2390
2392
|
name: r[O].showName,
|
|
2391
2393
|
code: "",
|
|
2392
|
-
value:
|
|
2394
|
+
value: d.list.map((f) => f.benefit_list.weekly.bonus)
|
|
2393
2395
|
});
|
|
2394
2396
|
const w = r.findIndex(
|
|
2395
2397
|
(f) => f.fieldName == "weekly_bonus_multiply"
|
|
@@ -2397,15 +2399,15 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2397
2399
|
w > -1 && o.push({
|
|
2398
2400
|
name: r[w].showName,
|
|
2399
2401
|
code: "",
|
|
2400
|
-
value:
|
|
2402
|
+
value: d.list.map((f) => f.benefit_list.weekly.turnover)
|
|
2401
2403
|
});
|
|
2402
2404
|
const C = r.findIndex(
|
|
2403
2405
|
(f) => f.fieldName == "daily_bonus"
|
|
2404
2406
|
);
|
|
2405
|
-
|
|
2407
|
+
d.bonus.day.isShow = C > -1, C > -1 && o.push({
|
|
2406
2408
|
name: r[C].showName,
|
|
2407
2409
|
code: "",
|
|
2408
|
-
value:
|
|
2410
|
+
value: d.list.map((f) => f.benefit_list.daily.bonus)
|
|
2409
2411
|
});
|
|
2410
2412
|
const I = r.findIndex(
|
|
2411
2413
|
(f) => f.fieldName == "daily_bonus_multiply"
|
|
@@ -2413,26 +2415,26 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2413
2415
|
I > -1 && o.push({
|
|
2414
2416
|
name: r[I].showName,
|
|
2415
2417
|
code: "",
|
|
2416
|
-
value:
|
|
2418
|
+
value: d.list.map((f) => f.benefit_list.daily.turnover)
|
|
2417
2419
|
}), (v === 1 || v === 3 || v === 4) && o.push({
|
|
2418
2420
|
name: "",
|
|
2419
2421
|
code: "detail_deposit",
|
|
2420
|
-
value:
|
|
2422
|
+
value: d.list.map((f) => f.deposit.total)
|
|
2421
2423
|
}), (v === 2 || v === 3 || v === 4) && o.push({
|
|
2422
2424
|
name: "",
|
|
2423
2425
|
code: "detail_turnover",
|
|
2424
|
-
value:
|
|
2425
|
-
}),
|
|
2426
|
+
value: d.list.map((f) => f.turnover.total)
|
|
2427
|
+
}), d.detail = o;
|
|
2426
2428
|
}
|
|
2427
2429
|
delete n.result.vipFieldStatus;
|
|
2428
2430
|
}
|
|
2429
|
-
n.result.vipList =
|
|
2431
|
+
n.result.vipList = d;
|
|
2430
2432
|
}
|
|
2431
2433
|
if (s.getFavouriteGame in n.result && ((y = n.result) != null && y.getFavouriteGame)) {
|
|
2432
|
-
const
|
|
2434
|
+
const d = n.result.getFavouriteGame;
|
|
2433
2435
|
if (JSON.parse(e[j].query).pid && s.getPlatformTurnoverRate in n.result && (g = n.result) != null && g.getPlatformTurnoverRate) {
|
|
2434
2436
|
const v = n.result.getPlatformTurnoverRate;
|
|
2435
|
-
n.result.getFavouriteGame =
|
|
2437
|
+
n.result.getFavouriteGame = d.data.map((r) => {
|
|
2436
2438
|
const o = v.find(
|
|
2437
2439
|
(_) => _.id === r.platformId
|
|
2438
2440
|
);
|
|
@@ -2444,10 +2446,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2444
2446
|
}
|
|
2445
2447
|
}
|
|
2446
2448
|
if (s.fishGameList in n.result && ((b = n.result) != null && b.fishGameList)) {
|
|
2447
|
-
const
|
|
2449
|
+
const d = n.result.fishGameList;
|
|
2448
2450
|
if (JSON.parse(e[U].query).pid && s.getPlatformTurnoverRate in n.result && (S = n.result) != null && S.getPlatformTurnoverRate) {
|
|
2449
2451
|
const v = n.result.getPlatformTurnoverRate;
|
|
2450
|
-
n.result.fishGameList =
|
|
2452
|
+
n.result.fishGameList = d.data.map((r) => {
|
|
2451
2453
|
const o = v.find(
|
|
2452
2454
|
(_) => _.id === r.platformId
|
|
2453
2455
|
);
|
|
@@ -2459,12 +2461,12 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2459
2461
|
}
|
|
2460
2462
|
}
|
|
2461
2463
|
if (s.gameList in n.result && ((h = n.result) != null && h.gameList)) {
|
|
2462
|
-
const
|
|
2464
|
+
const d = n.result.gameList;
|
|
2463
2465
|
if (JSON.parse(e[q].query).pid) {
|
|
2464
|
-
const v =
|
|
2465
|
-
if (
|
|
2466
|
+
const v = d.platformGame.map((r) => r.list.filter((o) => o.flag.trial && !r.nextPage).map((o) => o));
|
|
2467
|
+
if (d.trialGameList = v.flat(), s.getPlatformTurnoverRate in n.result && ((m = n.result) != null && m.getPlatformTurnoverRate)) {
|
|
2466
2468
|
const r = n.result.getPlatformTurnoverRate;
|
|
2467
|
-
|
|
2469
|
+
d.platformGame = d.platformGame.map((o) => ({
|
|
2468
2470
|
...o,
|
|
2469
2471
|
list: o.list.map((_) => {
|
|
2470
2472
|
const k = r.find(
|
|
@@ -2475,7 +2477,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2475
2477
|
rate: (k == null ? void 0 : k.percentage) ?? "0.00"
|
|
2476
2478
|
};
|
|
2477
2479
|
})
|
|
2478
|
-
})),
|
|
2480
|
+
})), d.platformGameList.data = d.platformGameList.data.map((o) => {
|
|
2479
2481
|
const _ = r.find(
|
|
2480
2482
|
(k) => k.id === o.platformId
|
|
2481
2483
|
);
|
|
@@ -2483,7 +2485,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2483
2485
|
...o,
|
|
2484
2486
|
rate: (_ == null ? void 0 : _.percentage) ?? "0.00"
|
|
2485
2487
|
};
|
|
2486
|
-
}),
|
|
2488
|
+
}), d.hotGameList.data = d.hotGameList.data.map((o) => {
|
|
2487
2489
|
const _ = r.find(
|
|
2488
2490
|
(k) => k.id === o.platformId
|
|
2489
2491
|
);
|
|
@@ -2491,7 +2493,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2491
2493
|
...o,
|
|
2492
2494
|
rate: (_ == null ? void 0 : _.percentage) ?? "0.00"
|
|
2493
2495
|
};
|
|
2494
|
-
}),
|
|
2496
|
+
}), d.trialGameList = d.trialGameList.map((o) => {
|
|
2495
2497
|
const _ = r.find(
|
|
2496
2498
|
(k) => k.id === o.platformId
|
|
2497
2499
|
);
|
|
@@ -2502,22 +2504,22 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2502
2504
|
}), delete n.result.getPlatformTurnoverRate;
|
|
2503
2505
|
}
|
|
2504
2506
|
}
|
|
2505
|
-
n.result.gameList =
|
|
2507
|
+
n.result.gameList = d;
|
|
2506
2508
|
}
|
|
2507
2509
|
if (s.getCompany in n.result && ((P = n.result) != null && P.getCompany)) {
|
|
2508
|
-
const
|
|
2510
|
+
const d = n.result.getCompany;
|
|
2509
2511
|
if (s.searchResultDate in n.result && (M = n.result) != null && M.searchResultDate) {
|
|
2510
2512
|
const v = n.result.searchResultDate;
|
|
2511
|
-
|
|
2513
|
+
d.forEach((r) => {
|
|
2512
2514
|
const o = v.find((_) => _.id == r.id);
|
|
2513
2515
|
o && (r.date = o == null ? void 0 : o.date);
|
|
2514
2516
|
}), delete n.result.searchResultDate;
|
|
2515
2517
|
}
|
|
2516
|
-
n.result.getCompany =
|
|
2518
|
+
n.result.getCompany = d;
|
|
2517
2519
|
}
|
|
2518
2520
|
return n;
|
|
2519
2521
|
} catch (T) {
|
|
2520
|
-
return
|
|
2522
|
+
return de.isAxiosError(T) ? {
|
|
2521
2523
|
status: ((G = T.response) == null ? void 0 : G.status) || 600,
|
|
2522
2524
|
message: JSON.stringify((z = T.response) == null ? void 0 : z.data),
|
|
2523
2525
|
result: {}
|
|
@@ -2651,7 +2653,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2651
2653
|
}
|
|
2652
2654
|
};
|
|
2653
2655
|
try {
|
|
2654
|
-
const
|
|
2656
|
+
const c = (await L.post("/loadgame/40770", {
|
|
2655
2657
|
wanturl: 1,
|
|
2656
2658
|
extra: {
|
|
2657
2659
|
Stage: e,
|
|
@@ -2664,8 +2666,8 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2664
2666
|
status: 200,
|
|
2665
2667
|
message: "",
|
|
2666
2668
|
data: {
|
|
2667
|
-
message:
|
|
2668
|
-
urlLink:
|
|
2669
|
+
message: c.msg ?? "",
|
|
2670
|
+
urlLink: c.data ?? ""
|
|
2669
2671
|
}
|
|
2670
2672
|
};
|
|
2671
2673
|
} catch (u) {
|
|
@@ -2721,10 +2723,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2721
2723
|
call: sn
|
|
2722
2724
|
}, Symbol.toStringTag, { value: "Module" })), un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2723
2725
|
__proto__: null
|
|
2724
|
-
}, Symbol.toStringTag, { value: "Module" })), dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2725
|
-
__proto__: null
|
|
2726
2726
|
}, Symbol.toStringTag, { value: "Module" })), cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2727
2727
|
__proto__: null
|
|
2728
|
+
}, Symbol.toStringTag, { value: "Module" })), dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2729
|
+
__proto__: null
|
|
2728
2730
|
}, Symbol.toStringTag, { value: "Module" })), mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2729
2731
|
__proto__: null
|
|
2730
2732
|
}, Symbol.toStringTag, { value: "Module" })), pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2802,7 +2804,7 @@ const bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2802
2804
|
__proto__: null
|
|
2803
2805
|
}, Symbol.toStringTag, { value: "Module" })), ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2804
2806
|
__proto__: null
|
|
2805
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2807
|
+
}, Symbol.toStringTag, { value: "Module" })), ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2806
2808
|
__proto__: null
|
|
2807
2809
|
}, Symbol.toStringTag, { value: "Module" })), Jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2808
2810
|
__proto__: null
|
|
@@ -2945,8 +2947,8 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2945
2947
|
loginWithCaptchaApi: ln,
|
|
2946
2948
|
apiType: ke,
|
|
2947
2949
|
loginType: un,
|
|
2948
|
-
logoutType:
|
|
2949
|
-
announcementType:
|
|
2950
|
+
logoutType: cn,
|
|
2951
|
+
announcementType: dn,
|
|
2950
2952
|
paymentsProviderType: Oe,
|
|
2951
2953
|
gameListType: mn,
|
|
2952
2954
|
vipListType: pn,
|
|
@@ -2986,7 +2988,7 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2986
2988
|
requestForgetPasswordType: An,
|
|
2987
2989
|
submitForgetPasswordType: Hn,
|
|
2988
2990
|
submitGiftCode: ue,
|
|
2989
|
-
playGame:
|
|
2991
|
+
playGame: ce,
|
|
2990
2992
|
requestUpdateMobileTacCode: Jn,
|
|
2991
2993
|
submitUpdateMobileTacCode: Zn,
|
|
2992
2994
|
getVerifyPromo: Yn,
|
|
@@ -3003,7 +3005,7 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3003
3005
|
applyRedPacketType: io,
|
|
3004
3006
|
getCountryType: lo,
|
|
3005
3007
|
submitGiftCodeType: ue,
|
|
3006
|
-
playGameType:
|
|
3008
|
+
playGameType: ce,
|
|
3007
3009
|
transferToMainType: uo,
|
|
3008
3010
|
transferProcessType: co,
|
|
3009
3011
|
submitValidateType: mo,
|
|
@@ -3064,7 +3066,7 @@ export {
|
|
|
3064
3066
|
ir as Repository,
|
|
3065
3067
|
Tn as addBankCardType,
|
|
3066
3068
|
Co as agTransferCreditReportType,
|
|
3067
|
-
|
|
3069
|
+
dn as announcementType,
|
|
3068
3070
|
Za as api,
|
|
3069
3071
|
ke as apiType,
|
|
3070
3072
|
ro as applyPromoType,
|
|
@@ -3132,12 +3134,12 @@ export {
|
|
|
3132
3134
|
un as loginType,
|
|
3133
3135
|
ln as loginWithCaptchaApi,
|
|
3134
3136
|
Xa as logoutApi,
|
|
3135
|
-
|
|
3137
|
+
cn as logoutType,
|
|
3136
3138
|
jn as mailBoxType,
|
|
3137
3139
|
fn as mainWalletType,
|
|
3138
3140
|
Oe as paymentsProviderType,
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
+
ce as playGame,
|
|
3142
|
+
ce as playGameType,
|
|
3141
3143
|
gn as promotionType,
|
|
3142
3144
|
eo as readMailType,
|
|
3143
3145
|
Do as referralMemberProfileType,
|