60p82u21t54k 0.0.59 → 0.0.61

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.
@@ -1,5 +1,5 @@
1
- import $ from "axios";
2
- const B = $.create({
1
+ import G from "axios";
2
+ const B = G.create({
3
3
  baseURL: "/graph",
4
4
  timeout: 5e3,
5
5
  // Request timeout
@@ -65,28 +65,59 @@ const z = (e) => new TextEncoder().encode(e), A = (e) => {
65
65
  } catch (t) {
66
66
  return console.error("Failed to decode Base64:", t), "";
67
67
  }
68
+ }, $ = () => {
69
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getTime()), n = t.getUTCFullYear(), c = t.getUTCMonth(), d = new Date(n, c + 1, 1, 12, 0, 0).getTime() - t.getTime();
70
+ return Math.floor(d / 1e3);
71
+ }, E = () => {
72
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getTime()), n = t.getUTCDay(), c = (n === 1 ? 7 : 8 - n) % 7, d = new Date(
73
+ Date.UTC(
74
+ t.getUTCFullYear(),
75
+ t.getUTCMonth(),
76
+ t.getUTCDate() + c,
77
+ 4,
78
+ 0,
79
+ 0,
80
+ 0
81
+ // 12:00 AM UTC-4
82
+ )
83
+ ).getTime() - t.getTime();
84
+ return Math.floor(d / 1e3);
85
+ }, V = () => {
86
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getTime()), c = new Date(
87
+ Date.UTC(
88
+ t.getUTCFullYear(),
89
+ t.getUTCMonth(),
90
+ t.getUTCDate() + 1,
91
+ 4,
92
+ 0,
93
+ 0,
94
+ 0
95
+ // 12:00 AM UTC-4
96
+ )
97
+ ).getTime() - t.getTime();
98
+ return Math.floor(c / 1e3);
68
99
  };
69
- var u = /* @__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))(u || {});
70
- const E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
+ var m = /* @__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))(m || {});
101
+ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
71
102
  __proto__: null,
72
- Api: u
103
+ Api: m
73
104
  }, Symbol.toStringTag, { value: "Module" }));
74
- var M = /* @__PURE__ */ ((e) => (e.default = "default", e.pay = "pay", e.auto = "auto", e.fix = "fix", e.manual = "manual", e.unknown = "unknown", e))(M || {});
75
- const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
105
+ var D = /* @__PURE__ */ ((e) => (e.default = "default", e.pay = "pay", e.auto = "auto", e.fix = "fix", e.manual = "manual", e.unknown = "unknown", e))(D || {});
106
+ const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
76
107
  __proto__: null,
77
- PaymentType: M
78
- }, Symbol.toStringTag, { value: "Module" })), w = (e) => e.mdPaymentChannels.map((t) => {
108
+ PaymentType: D
109
+ }, Symbol.toStringTag, { value: "Module" })), H = (e) => e.mdPaymentChannels.map((t) => {
79
110
  const n = [];
80
111
  switch (t.name) {
81
- case M.default:
82
- n.push(U(t.paymentmethod.manual, e));
112
+ case D.default:
113
+ n.push(q(t.paymentmethod.manual, e));
83
114
  break;
84
- case M.pay:
85
- n.push(V(t.paymentmethod.onlinebanking, e));
115
+ case D.pay:
116
+ n.push(Y(t.paymentmethod.onlinebanking, e));
86
117
  break;
87
118
  default:
88
119
  if (t.paymentmethod.auto.bank.length > 0 && n.push(
89
- W(t.bankid ?? 0, t.paymentmethod.auto, e)
120
+ K(t.bankid ?? 0, t.paymentmethod.auto, e)
90
121
  ), t.paymentmethod.manual.bank.length > 0) {
91
122
  let c = !1;
92
123
  for (let s = 0; s < t.paymentmethod.manual.bank.length; s++) {
@@ -96,10 +127,10 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
96
127
  break;
97
128
  }
98
129
  }
99
- c && n.push(U(t.paymentmethod.manual, e));
130
+ c && n.push(q(t.paymentmethod.manual, e));
100
131
  }
101
132
  t.paymentmethod.fixamount.bank.length > 0 && n.push(
102
- H(t.bankid ?? 0, t.paymentmethod.fixamount)
133
+ Q(t.bankid ?? 0, t.paymentmethod.fixamount)
103
134
  );
104
135
  }
105
136
  return {
@@ -107,10 +138,10 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
107
138
  imageUrl: `/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,
108
139
  paymentList: n
109
140
  };
110
- }), G = {
141
+ }), I = {
111
142
  id: 0,
112
143
  name: "",
113
- type: M.unknown,
144
+ type: D.unknown,
114
145
  promo: [],
115
146
  bank: [],
116
147
  requiredField: {
@@ -121,7 +152,7 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
121
152
  depositor: !1,
122
153
  uploadReceipt: !1
123
154
  }
124
- }, q = (e) => {
155
+ }, F = (e) => {
125
156
  const t = {
126
157
  id: 0,
127
158
  name: "excludePromo",
@@ -134,40 +165,40 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
134
165
  disabled: !1
135
166
  }));
136
167
  return [t, ...n];
137
- }, O = (e, t, n, c) => {
168
+ }, P = (e, t, n, c) => {
138
169
  let s, d;
139
170
  n > 0 ? s = e > 0 ? Math.max(n, e) : n : s = Math.max(e, 0), c > 0 ? d = t > 0 ? Math.min(c, t) : c : d = Math.max(t, 0);
140
171
  const b = Math.round(s);
141
172
  let p = 1e3;
142
173
  d < p && (p = Math.round(d));
143
- const _ = p - b;
144
- let y = "", h = "";
145
- if (_ > 0) {
146
- let f = Math.round((p - b) * 0.25).toString().split(""), L = [];
174
+ const y = p - b;
175
+ let _ = "", h = "";
176
+ if (y > 0) {
177
+ let f = Math.round((p - b) * 0.25).toString().split(""), M = [];
147
178
  for (const o of f)
148
- o !== "" && L.push(o);
149
- for (let o = 0; o < L.length; o++)
150
- o === 0 ? y += (parseInt(L[o]) + 1).toString() : y += "0";
151
- f = Math.round((p - b) * 0.5).toString().split(""), L = [];
179
+ o !== "" && M.push(o);
180
+ for (let o = 0; o < M.length; o++)
181
+ o === 0 ? _ += (parseInt(M[o]) + 1).toString() : _ += "0";
182
+ f = Math.round((p - b) * 0.5).toString().split(""), M = [];
152
183
  for (const o of f)
153
- o !== "" && L.push(o);
154
- for (let o = 0; o < L.length; o++)
155
- o === 0 ? h += (parseInt(L[o]) + 1).toString() : h += "0";
184
+ o !== "" && M.push(o);
185
+ for (let o = 0; o < M.length; o++)
186
+ o === 0 ? h += (parseInt(M[o]) + 1).toString() : h += "0";
156
187
  } else
157
- y = p.toString(), h = p.toString();
188
+ _ = p.toString(), h = p.toString();
158
189
  return { amountList: [
159
190
  b.toString(),
160
- y,
191
+ _,
161
192
  h,
162
193
  p.toString()
163
194
  ], minAmount: b, maxAmount: d };
164
- }, U = (e, t) => t ? {
195
+ }, q = (e, t) => t ? {
165
196
  id: 0,
166
197
  name: "manualMethod",
167
- type: M.manual,
168
- promo: q(e.promo),
198
+ type: D.manual,
199
+ promo: F(e.promo),
169
200
  bank: e.bank.map((s) => {
170
- const d = s.list && s.list.length > 0 ? s.list[0].mintransaction ?? "0.00" : "0.00", b = s.list && s.list.length > 0 ? s.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: p, minAmount: _, maxAmount: y } = O(
201
+ const d = s.list && s.list.length > 0 ? s.list[0].mintransaction ?? "0.00" : "0.00", b = s.list && s.list.length > 0 ? s.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: p, minAmount: y, maxAmount: _ } = P(
171
202
  Number(d),
172
203
  Number(b),
173
204
  t.mdBankLevelDetail.deposit_min,
@@ -181,38 +212,38 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
181
212
  accountNo: s.list && s.list.length > 0 ? s.list[0].bankaccountno ?? "" : "",
182
213
  qrcode: s.list && s.list.length > 0 ? s.list[0].bankaccountdesc : "",
183
214
  amountList: p,
184
- min: _,
185
- max: y
215
+ min: y,
216
+ max: _
186
217
  };
187
218
  }),
188
219
  requiredField: {
189
220
  ...t.mdManualDepositRequireField,
190
221
  uploadReceipt: t.mdUploadReceipt
191
222
  }
192
- } : G, V = (e, t) => t ? {
223
+ } : I, Y = (e, t) => t ? {
193
224
  id: 0,
194
225
  name: "onlineBankingMethod",
195
- type: M.pay,
196
- promo: q(e.promo),
226
+ type: D.pay,
227
+ promo: F(e.promo),
197
228
  bank: e.banklist.map((s) => {
198
229
  let d = "0.00", b = "0.00";
199
230
  const p = s.bankindex ?? 0;
200
231
  for (let f = 0; f < t.mdGatewayMinMax.length; f++)
201
232
  t.mdGatewayMinMax[f].bankindex == p.toString() && (d = t.mdGatewayMinMax[f].min, b = t.mdGatewayMinMax[f].max);
202
- const { amountList: _, minAmount: y, maxAmount: h } = O(
233
+ const { amountList: y, minAmount: _, maxAmount: h } = P(
203
234
  Number(d),
204
235
  Number(b),
205
236
  t.mdBankLevelDetail.onlinepayment_min,
206
237
  t.mdBankLevelDetail.onlinepayment_max
207
- ), S = {
238
+ ), T = {
208
239
  id: 0,
209
240
  name: "autoChannel",
210
- amountList: _,
211
- min: y,
241
+ amountList: y,
242
+ min: _,
212
243
  max: h
213
244
  }, v = s.pg.map((f) => {
214
- const L = f.mintransaction ?? "0.00", j = f.maxtransaction ?? "0.00", { amountList: C, minAmount: o, maxAmount: l } = O(
215
- Number(L),
245
+ const M = f.mintransaction ?? "0.00", j = f.maxtransaction ?? "0.00", { amountList: U, minAmount: o, maxAmount: l } = P(
246
+ Number(M),
216
247
  Number(j),
217
248
  t.mdBankLevelDetail.onlinepayment_min,
218
249
  t.mdBankLevelDetail.onlinepayment_max
@@ -220,7 +251,7 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
220
251
  return {
221
252
  id: f.pgindex,
222
253
  name: f.bankaccountname,
223
- amountList: C,
254
+ amountList: U,
224
255
  min: o,
225
256
  max: l
226
257
  };
@@ -231,7 +262,7 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
231
262
  amountList: [],
232
263
  min: 0,
233
264
  max: 0,
234
- gateway: [S, ...v]
265
+ gateway: [T, ...v]
235
266
  };
236
267
  }),
237
268
  requiredField: {
@@ -242,14 +273,14 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
242
273
  depositor: !1,
243
274
  uploadReceipt: !1
244
275
  }
245
- } : G, W = (e, t, n) => {
246
- if (!n) return G;
247
- const c = M.auto;
276
+ } : I, K = (e, t, n) => {
277
+ if (!n) return I;
278
+ const c = D.auto;
248
279
  let s = [];
249
280
  const d = n.mdGatewayMinMax;
250
281
  if (t.bank.length > 0 && n.mdPGSelection == "1")
251
282
  s = t.bank.map((p) => {
252
- const { amountList: _, minAmount: y, maxAmount: h } = O(
283
+ const { amountList: y, minAmount: _, maxAmount: h } = P(
253
284
  p.minTransaction ?? 0,
254
285
  p.maxTransaction ?? 0,
255
286
  n.mdBankLevelDetail.onlinepayment_min,
@@ -258,26 +289,26 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
258
289
  return {
259
290
  id: p.pgindex,
260
291
  name: p.bankaccountname || "",
261
- amountList: _,
262
- min: y,
292
+ amountList: y,
293
+ min: _,
263
294
  max: h
264
295
  };
265
296
  });
266
297
  else {
267
- let p = "0.00", _ = "0.00";
268
- for (let a = 0; a < d.length; a++)
269
- d[a].bankindex === e.toString() && (p = d[a].min, _ = d[a].max);
270
- const { amountList: y, minAmount: h, maxAmount: S } = O(
298
+ let p = "0.00", y = "0.00";
299
+ for (let r = 0; r < d.length; r++)
300
+ d[r].bankindex === e.toString() && (p = d[r].min, y = d[r].max);
301
+ const { amountList: _, minAmount: h, maxAmount: T } = P(
271
302
  Number(p),
272
- Number(_),
303
+ Number(y),
273
304
  n.mdBankLevelDetail.onlinepayment_min,
274
305
  n.mdBankLevelDetail.onlinepayment_max
275
306
  ), v = {
276
307
  id: 0,
277
308
  name: "autoChannel",
278
- amountList: y,
309
+ amountList: _,
279
310
  min: h,
280
- max: S
311
+ max: T
281
312
  };
282
313
  s.push(v);
283
314
  }
@@ -285,7 +316,7 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
285
316
  id: e,
286
317
  name: "autoMethod",
287
318
  type: c,
288
- promo: q(t.promo),
319
+ promo: F(t.promo),
289
320
  bank: s,
290
321
  requiredField: {
291
322
  deposit_bank: !1,
@@ -296,15 +327,15 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
296
327
  uploadReceipt: !1
297
328
  }
298
329
  };
299
- }, H = (e, t) => {
300
- const n = M.fix;
330
+ }, Q = (e, t) => {
331
+ const n = D.fix;
301
332
  return {
302
333
  id: e,
303
334
  name: "fixAmountMethod",
304
335
  type: n,
305
- promo: q(t.promo),
336
+ promo: F(t.promo),
306
337
  bank: t.bank.map((s) => {
307
- const d = s.amtlist.map(Number).sort((p, _) => p - _);
338
+ const d = s.amtlist.map(Number).sort((p, y) => p - y);
308
339
  return {
309
340
  id: s.pgindex,
310
341
  name: s.name,
@@ -322,18 +353,18 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
322
353
  uploadReceipt: !1
323
354
  }
324
355
  };
325
- }, Y = (e) => e.map((t) => ({
356
+ }, X = (e) => e.map((t) => ({
326
357
  alert: t.announcement_alert == "1",
327
358
  update_time: t.announcement_lastupdated,
328
359
  content: t.announcement_simplified
329
- })), K = (e) => ({
360
+ })), Z = (e) => ({
330
361
  username: e.username,
331
362
  birthday: e.mdUserDetail.dob,
332
363
  email: e.mdUserDetail.email,
333
364
  fullName: e.mdUserDetail.firstname,
334
365
  phoneNumber: e.mdUserDetail.mobileno,
335
366
  profilePicUrl: e.mdUserDetail.profile_pic
336
- }), Q = (e) => e.mdGameListResult.map((t) => ({
367
+ }), ee = (e) => e.mdGameListResult.map((t) => ({
337
368
  code: t.code,
338
369
  id: t.id,
339
370
  name: t.name,
@@ -345,7 +376,7 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
345
376
  imageUrl: n.img,
346
377
  rate: "0.00"
347
378
  }))
348
- })), X = (e) => ({
379
+ })), te = (e) => ({
349
380
  list: e.mdGrade.map((t) => ({
350
381
  id: t.gradeindex,
351
382
  is_current_level: !1,
@@ -373,11 +404,26 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
373
404
  })),
374
405
  detail: [],
375
406
  bonus: {
376
- showMonthButton: !1,
377
- showWeekButton: !1,
378
- showDayButton: !1
407
+ month: {
408
+ isShow: !1,
409
+ isClaimable: !1,
410
+ value: "M",
411
+ timestamp: 0
412
+ },
413
+ week: {
414
+ isShow: !1,
415
+ isClaimable: !1,
416
+ value: "W",
417
+ timestamp: 0
418
+ },
419
+ day: {
420
+ isShow: !1,
421
+ isClaimable: !1,
422
+ value: "D",
423
+ timestamp: 0
424
+ }
379
425
  }
380
- }), Z = (e) => ({
426
+ }), ne = (e) => ({
381
427
  category: e.category.sort((t, n) => t.sequence - n.sequence).map((t) => ({
382
428
  id: t.catid,
383
429
  name: t.name
@@ -392,20 +438,26 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
392
438
  name: t.title
393
439
  };
394
440
  })
395
- }), ee = (e) => ({
396
- showMonthButton: e.month === 1,
397
- showWeekButton: e.week === 1,
398
- showDayButton: e.day === 1
399
- }), te = (e) => e.mdVipSetting.filter((n) => n.status == 1).map((n) => ({
441
+ }), oe = (e) => ({
442
+ month: {
443
+ isClaimable: e.month === 1
444
+ },
445
+ week: {
446
+ isClaimable: e.week === 1
447
+ },
448
+ day: {
449
+ isClaimable: e.day === 1
450
+ }
451
+ }), se = (e) => e.mdVipSetting.filter((n) => n.status == 1).map((n) => ({
400
452
  fieldName: n.fieldname,
401
453
  showName: n.showname
402
- })), ne = (e) => ({
454
+ })), ae = (e) => ({
403
455
  current_deposit: e.deposit,
404
456
  current_turnover: e.turnOver,
405
457
  current_grade_id: e.mdCurrentGrade.gradeindex,
406
458
  next_grade_id: e.mdNextGrade.gradeindex,
407
459
  percentage: Number(e.percentage) * 100
408
- }), oe = (e) => {
460
+ }), ie = (e) => {
409
461
  let t = 4;
410
462
  e.vipcalculation && (t = Number(e.vipcalculation));
411
463
  let n = [];
@@ -418,7 +470,7 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
418
470
  })),
419
471
  mobileValidate: e.mobilevalidate ? e.mobilevalidate == "1" : !1
420
472
  };
421
- }, se = (e) => {
473
+ }, re = (e) => {
422
474
  let t = [];
423
475
  e.mobileBanner && (t = e.mobileBanner);
424
476
  let n = [];
@@ -432,57 +484,57 @@ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
432
484
  content: s.content
433
485
  }))
434
486
  };
435
- }, ae = (e) => e.data.filter((t) => t.status === "1").map((t) => ({
487
+ }, le = (e) => e.data.filter((t) => t.status === "1").map((t) => ({
436
488
  code: t.area_code,
437
489
  regex: t.regex,
438
490
  value: t.value
439
- })), ie = (e) => e, re = (e) => {
491
+ })), me = (e) => e, ue = (e) => {
440
492
  let t = null;
441
493
  return e ? e.status != 1 ? t = 0 : t = e.mainwallet : t = 0, {
442
494
  amount: t
443
495
  };
444
- }, le = (e) => e.data.filter((t) => t.status == "1").map((t) => ({
496
+ }, ce = (e) => e.data.filter((t) => t.status == "1").map((t) => ({
445
497
  name: t.title,
446
498
  icon_url: t.flag_icon,
447
499
  code: t.code
448
- })), ue = (e) => (console.log(e), {
500
+ })), de = (e) => (console.log(e), {
449
501
  name: ""
450
- }), me = (e) => e.data.filter((t) => t.company_status == 1).map((t) => ({
502
+ }), pe = (e) => e.data.filter((t) => t.company_status == 1).map((t) => ({
451
503
  id: t.company_id,
452
504
  name: t.company_name,
453
505
  date: []
454
- })), ce = (e) => e.data.map((t) => ({
506
+ })), ge = (e) => e.data.map((t) => ({
455
507
  id: t.key,
456
- date: t.draw_date.map((n) => de(n.draw_tmactive))
508
+ date: t.draw_date.map((n) => fe(n.draw_tmactive))
457
509
  }));
458
- function de(e) {
510
+ function fe(e) {
459
511
  const t = new Date(e * 1e3), n = t.getFullYear(), c = ("0" + (t.getMonth() + 1)).slice(-2), s = ("0" + t.getDate()).slice(-2);
460
512
  return `${n}-${c}-${s}`;
461
513
  }
462
- const pe = (e) => e.data.map((t) => ({
514
+ const be = (e) => e.data.map((t) => ({
463
515
  id: t.company_id,
464
516
  list: t.drawCount.map((n) => ({
465
517
  combination: n.combination_combination,
466
518
  total: n.total
467
519
  }))
468
- })), ge = (e) => e.data.map((t) => ({
520
+ })), ye = (e) => e.data.map((t) => ({
469
521
  id: t.company_id,
470
522
  resultByDateList: t.draws.map((n) => {
471
- const c = n.results.filter((a) => a.combination_dimension == 3).map((a) => a.combination_combination), s = n.results.filter(
472
- (a) => a.combination_dimension == 4 && a.combination_position == 1
473
- ).map((a) => a.combination_combination), d = n.results.filter(
474
- (a) => a.combination_dimension == 4 && a.combination_position == 2
475
- ).map((a) => a.combination_combination), b = n.results.filter(
476
- (a) => a.combination_dimension == 4 && a.combination_position == 3
477
- ).map((a) => a.combination_combination), p = n.results.filter(
478
- (a) => a.combination_dimension == 4 && a.combination_position == 4
479
- ).map((a) => a.combination_combination), _ = n.results.filter(
480
- (a) => a.combination_dimension == 4 && a.combination_position == 5
481
- ).map((a) => a.combination_combination), y = n.results.filter(
482
- (a) => a.combination_dimension == 5 && a.combination_position == 1
483
- ).map((a) => a.combination_combination), h = n.results.filter((a) => a.combination_dimension == 5).map((a) => a.combination_combination), S = n.results.filter(
484
- (a) => a.combination_dimension == 6 && a.combination_position == 1
485
- ).map((a) => a.combination_combination), v = n.results.filter((a) => a.combination_dimension == 6).map((a) => a.combination_combination);
523
+ const c = n.results.filter((r) => r.combination_dimension == 3).map((r) => r.combination_combination), s = n.results.filter(
524
+ (r) => r.combination_dimension == 4 && r.combination_position == 1
525
+ ).map((r) => r.combination_combination), d = n.results.filter(
526
+ (r) => r.combination_dimension == 4 && r.combination_position == 2
527
+ ).map((r) => r.combination_combination), b = n.results.filter(
528
+ (r) => r.combination_dimension == 4 && r.combination_position == 3
529
+ ).map((r) => r.combination_combination), p = n.results.filter(
530
+ (r) => r.combination_dimension == 4 && r.combination_position == 4
531
+ ).map((r) => r.combination_combination), y = n.results.filter(
532
+ (r) => r.combination_dimension == 4 && r.combination_position == 5
533
+ ).map((r) => r.combination_combination), _ = n.results.filter(
534
+ (r) => r.combination_dimension == 5 && r.combination_position == 1
535
+ ).map((r) => r.combination_combination), h = n.results.filter((r) => r.combination_dimension == 5).map((r) => r.combination_combination), T = n.results.filter(
536
+ (r) => r.combination_dimension == 6 && r.combination_position == 1
537
+ ).map((r) => r.combination_combination), v = n.results.filter((r) => r.combination_dimension == 6).map((r) => r.combination_combination);
486
538
  return {
487
539
  date: n.date,
488
540
  3: c,
@@ -491,19 +543,19 @@ const pe = (e) => e.data.map((t) => ({
491
543
  2: d,
492
544
  3: b,
493
545
  4: p,
494
- 5: _
546
+ 5: y
495
547
  },
496
548
  5: {
497
- 1: y,
549
+ 1: _,
498
550
  all: h
499
551
  },
500
552
  6: {
501
- 1: S,
553
+ 1: T,
502
554
  all: v
503
555
  }
504
556
  };
505
557
  })
506
- })), fe = (e) => e.data.map((t) => ({
558
+ })), _e = (e) => e.data.map((t) => ({
507
559
  id: t.id,
508
560
  date: t.matchDate,
509
561
  tag: t.tag,
@@ -517,31 +569,36 @@ const pe = (e) => e.data.map((t) => ({
517
569
  name: t.home,
518
570
  logo_url: t.homeLogo
519
571
  }
520
- })), be = (e) => e, _e = async (e) => {
521
- var t, n, c, s, d, b, p, _, y, h, S;
572
+ })), he = (e) => e, ve = (e) => ({
573
+ status: e.status == 1,
574
+ message: e.message ?? "",
575
+ error_message: e.errormessage ?? "",
576
+ flag: e.flag
577
+ }), xe = async (e) => {
578
+ var t, n, c, s, d, b, p, y, _, h, T;
522
579
  try {
523
- e.findIndex((l) => l.name === u.vipList) !== -1 && e.push(
580
+ e.findIndex((l) => l.name === m.vipList) !== -1 && e.push(
524
581
  {
525
- name: u.vipBonus,
582
+ name: m.vipBonus,
526
583
  query: ""
527
584
  },
528
- { name: u.vipFieldStatus, query: "" },
529
- { name: u.vipStatus, query: "" },
530
- { name: u.getSetting, query: JSON.stringify({ name: ["vipcalculation"] }) }
531
- ), e.findIndex((l) => l.name === u.gameList) !== -1 && e.push({
532
- name: u.getPlatformTurnoverRate,
585
+ { name: m.vipFieldStatus, query: "" },
586
+ { name: m.vipStatus, query: "" },
587
+ { name: m.getSetting, query: JSON.stringify({ name: ["vipcalculation"] }) }
588
+ ), e.findIndex((l) => l.name === m.gameList) !== -1 && e.push({
589
+ name: m.getPlatformTurnoverRate,
533
590
  query: ""
534
591
  });
535
592
  const f = e.findIndex(
536
- (l) => l.name === u.getFourDimensionData
593
+ (l) => l.name === m.getFourDimensionData
537
594
  );
538
595
  f !== -1 && e[f].query == "" && (e.splice(f), e.push(
539
596
  {
540
- name: u.getFourDimensionData,
597
+ name: m.getFourDimensionData,
541
598
  query: JSON.stringify({ action: "getCompany", native: "1" })
542
599
  },
543
600
  {
544
- name: u.getFourDimensionData,
601
+ name: m.getFourDimensionData,
545
602
  query: JSON.stringify({
546
603
  action: "searchResultDate",
547
604
  limit: 100,
@@ -556,7 +613,7 @@ const pe = (e) => e.data.map((t) => ({
556
613
  name: l.name,
557
614
  query: btoa(l.query)
558
615
  }))
559
- }, C = await B.post(
616
+ }, U = await B.post(
560
617
  "/jwt",
561
618
  z(JSON.stringify(j))
562
619
  ), o = {
@@ -564,247 +621,259 @@ const pe = (e) => e.data.map((t) => ({
564
621
  message: "",
565
622
  result: {}
566
623
  };
567
- for (const l of C.data.responses) {
624
+ for (const l of U.data.responses) {
568
625
  l.error != null && l.error.code != 200 && (o.status = l.error.code, o.message = l.error.message);
569
- const g = l.attributes !== null && l.attributes !== void 0 ? A(l.attributes) : null, i = l.name, r = g ? JSON.parse(g) : null;
570
- if (!r)
571
- o.result[i] = null;
626
+ const g = l.attributes !== null && l.attributes !== void 0 ? A(l.attributes) : null, a = l.name, i = g ? JSON.parse(g) : null;
627
+ if (!i)
628
+ o.result[a] = null;
572
629
  else
573
- switch (i) {
574
- case u.announcement:
575
- o.result[i] = Y(r);
630
+ switch (a) {
631
+ case m.announcement:
632
+ o.result[a] = X(i);
576
633
  break;
577
- case u.gameList:
578
- o.result[i] = Q(r);
634
+ case m.gameList:
635
+ o.result[a] = ee(i);
579
636
  break;
580
- case u.cmsList:
581
- o.result[i] = se(r);
637
+ case m.cmsList:
638
+ o.result[a] = re(i);
582
639
  break;
583
- case u.paymentsProvider:
584
- o.result[i] = w(
585
- r
640
+ case m.paymentsProvider:
641
+ o.result[a] = H(
642
+ i
586
643
  );
587
644
  break;
588
- case u.getUserProfile:
589
- o.result[i] = K(r);
645
+ case m.getUserProfile:
646
+ o.result[a] = Z(i);
590
647
  break;
591
- case u.vipList:
592
- o.result[i] = X(r);
648
+ case m.vipList:
649
+ o.result[a] = te(i);
593
650
  break;
594
- case u.vipBonus:
595
- o.result[i] = ee(r);
651
+ case m.vipBonus:
652
+ console.log(i), o.result[a] = oe(i);
596
653
  break;
597
- case u.vipFieldStatus:
598
- o.result[i] = te(r);
654
+ case m.vipFieldStatus:
655
+ o.result[a] = se(i);
599
656
  break;
600
- case u.vipStatus:
601
- o.result[i] = ne(r);
657
+ case m.vipStatus:
658
+ o.result[a] = ae(i);
602
659
  break;
603
- case u.promotion:
604
- o.result[i] = Z(r);
660
+ case m.promotion:
661
+ o.result[a] = ne(i);
605
662
  break;
606
- case u.getSetting:
607
- o.result[i] = oe(r);
663
+ case m.getSetting:
664
+ o.result[a] = ie(i);
608
665
  break;
609
- case u.getCountryMobile:
610
- o.result[i] = ae(
611
- r
666
+ case m.getCountryMobile:
667
+ o.result[a] = le(
668
+ i
612
669
  );
613
670
  break;
614
- case u.getPlatformTurnoverRate:
615
- o.result[i] = ie(
616
- r
671
+ case m.getPlatformTurnoverRate:
672
+ o.result[a] = me(
673
+ i
617
674
  );
618
675
  break;
619
- case u.mainWallet:
620
- o.result[i] = re(r);
676
+ case m.mainWallet:
677
+ o.result[a] = ue(i);
621
678
  break;
622
- case u.getLanguageSetting:
623
- o.result[i] = le(
624
- r
679
+ case m.getLanguageSetting:
680
+ o.result[a] = ce(
681
+ i
625
682
  );
626
683
  break;
627
- case u.getFourDimensionData:
628
- o.result[i] = ue(
629
- r
684
+ case m.getFourDimensionData:
685
+ o.result[a] = de(
686
+ i
630
687
  );
631
688
  break;
632
- case u.getCompany:
633
- o.result[i] = me(r);
689
+ case m.getCompany:
690
+ o.result[a] = pe(i);
634
691
  break;
635
- case u.searchResultDate:
636
- o.result[i] = ce(
637
- r
692
+ case m.searchResultDate:
693
+ o.result[a] = ge(
694
+ i
638
695
  );
639
696
  break;
640
- case u.searchHot:
641
- o.result[i] = pe(r);
697
+ case m.searchHot:
698
+ o.result[a] = be(i);
642
699
  break;
643
- case u.searchByDate:
644
- o.result[i] = ge(r);
700
+ case m.searchByDate:
701
+ o.result[a] = ye(i);
645
702
  break;
646
- case u.upcomingMatches:
647
- o.result[i] = fe(
648
- r
703
+ case m.upcomingMatches:
704
+ o.result[a] = _e(
705
+ i
649
706
  );
650
707
  break;
651
- case u.deposit:
652
- o.result[i] = be(r);
708
+ case m.deposit:
709
+ o.result[a] = he(i);
710
+ break;
711
+ case m.applyVipBonus:
712
+ o.result[a] = ve(i);
653
713
  break;
654
714
  }
655
715
  }
656
- if (u.vipList in o.result && ((t = o.result) != null && t.vipList)) {
716
+ if (m.vipList in o.result && ((t = o.result) != null && t.vipList)) {
657
717
  const l = o.result.vipList;
658
718
  let g = 4;
659
- if (u.getSetting in o.result && ((n = o.result) != null && n.getSetting && (g = o.result.getSetting.vip_calculation), delete o.result.getSetting), u.vipBonus in o.result && ((c = o.result) != null && c.vipBonus && (l.bonus = o.result.vipBonus), delete o.result.vipBonus), u.vipStatus in o.result) {
660
- if ((s = o.result) != null && s.vipStatus) {
661
- const i = o.result.vipStatus, {
662
- current_grade_id: r,
663
- current_deposit: R,
664
- current_turnover: D,
665
- percentage: I
666
- } = i, N = l.list.findIndex((x) => x.id === r);
667
- l.list = l.list.map((x, T) => {
668
- const P = T === N;
669
- let k = "0", m = "0", F = 0;
670
- return P ? (k = `${Math.min(Number(R), Number(x.deposit.total))}`, m = `${Math.min(Number(D), Number(x.turnover.total))}`, F = I) : T < N ? (k = x.deposit.total, m = x.turnover.total, F = 1) : T > N && (k = "0.00", m = "0.00", F = 0), {
719
+ if (m.getSetting in o.result && ((n = o.result) != null && n.getSetting && (g = o.result.getSetting.vip_calculation), delete o.result.getSetting), m.vipStatus in o.result) {
720
+ if ((c = o.result) != null && c.vipStatus) {
721
+ const a = o.result.vipStatus, {
722
+ current_grade_id: i,
723
+ current_deposit: S,
724
+ current_turnover: C,
725
+ percentage: L
726
+ } = a, k = l.list.findIndex((x) => x.id === i);
727
+ l.list = l.list.map((x, N) => {
728
+ const O = N === k;
729
+ let R = "0", u = "0", w = 0;
730
+ return O ? (R = `${Math.min(Number(S), Number(x.deposit.total))}`, u = `${Math.min(Number(C), Number(x.turnover.total))}`, w = L) : N < k ? (R = x.deposit.total, u = x.turnover.total, w = 1) : N > k && (R = "0.00", u = "0.00", w = 0), {
671
731
  ...x,
672
- is_current_level: P,
732
+ is_current_level: O,
673
733
  deposit: {
674
734
  ...x.deposit,
675
735
  isShow: g === 1 || g === 3 || g === 4,
676
- current: k
736
+ current: R
677
737
  },
678
738
  turnover: {
679
739
  ...x.turnover,
680
740
  isShow: g === 2 || g === 3 || g === 4,
681
- current: m
741
+ current: u
682
742
  },
683
- percentage: F
743
+ percentage: w
684
744
  };
685
745
  });
686
746
  }
687
747
  delete o.result.vipStatus;
688
748
  }
689
- if (u.vipFieldStatus in o.result) {
749
+ if (m.vipBonus in o.result) {
750
+ if ((s = o.result) != null && s.vipBonus) {
751
+ const a = o.result.vipBonus, i = l.list.find((k) => k.is_current_level == !0);
752
+ console.log(l.list);
753
+ const S = Number(i == null ? void 0 : i.benefit_list.daily.bonus) ?? 0, C = Number(i == null ? void 0 : i.benefit_list.weekly.bonus) ?? 0, L = Number(i == null ? void 0 : i.benefit_list.monthly.bonus) ?? 0;
754
+ l.bonus.day.isClaimable = a.day.isClaimable, l.bonus.day.timestamp = !a.day.isClaimable && S > 0 ? V() : 0, l.bonus.week.isClaimable = a.week.isClaimable, l.bonus.week.timestamp = !a.week.isClaimable && C > 0 ? E() : 0, l.bonus.month.isClaimable = a.month.isClaimable, l.bonus.month.timestamp = !a.month.isClaimable && L > 0 ? $() : 0;
755
+ }
756
+ delete o.result.vipBonus;
757
+ }
758
+ if (m.vipFieldStatus in o.result) {
690
759
  if ((d = o.result) != null && d.vipFieldStatus) {
691
- const i = o.result.vipFieldStatus, r = [];
692
- r.push({
760
+ const a = o.result.vipFieldStatus, i = [];
761
+ i.push({
693
762
  name: "",
694
763
  code: "vipLevel",
695
- value: l.list.map((m) => m.name)
764
+ value: l.list.map((u) => u.name)
696
765
  });
697
- const R = i.findIndex(
698
- (m) => m.fieldName == "upgrade_bonus"
766
+ const S = a.findIndex(
767
+ (u) => u.fieldName == "upgrade_bonus"
699
768
  );
700
- R > -1 && r.push({
701
- name: i[R].showName,
769
+ S > -1 && i.push({
770
+ name: a[S].showName,
702
771
  code: "",
703
- value: l.list.map((m) => m.benefit_list.upgrade.bonus)
772
+ value: l.list.map((u) => u.benefit_list.upgrade.bonus)
704
773
  });
705
- const D = i.findIndex(
706
- (m) => m.fieldName == "upgrade_bonus_multiply"
774
+ const C = a.findIndex(
775
+ (u) => u.fieldName == "upgrade_bonus_multiply"
707
776
  );
708
- D > -1 && r.push({
709
- name: i[D].showName,
777
+ C > -1 && i.push({
778
+ name: a[C].showName,
710
779
  code: "",
711
- value: l.list.map((m) => m.benefit_list.upgrade.turnover)
780
+ value: l.list.map((u) => u.benefit_list.upgrade.turnover)
712
781
  });
713
- const I = i.findIndex(
714
- (m) => m.fieldName == "monthly_bonus"
782
+ const L = a.findIndex(
783
+ (u) => u.fieldName == "monthly_bonus"
715
784
  );
716
- I > -1 && r.push({
717
- name: i[I].showName,
785
+ l.bonus.month.isShow = L > -1, L > -1 && i.push({
786
+ name: a[L].showName,
718
787
  code: "",
719
- value: l.list.map((m) => m.benefit_list.monthly.bonus)
788
+ value: l.list.map((u) => u.benefit_list.monthly.bonus)
720
789
  });
721
- const N = i.findIndex(
722
- (m) => m.fieldName == "monthly_bonus_multiply"
790
+ const k = a.findIndex(
791
+ (u) => u.fieldName == "monthly_bonus_multiply"
723
792
  );
724
- N > -1 && r.push({
725
- name: i[N].showName,
793
+ k > -1 && i.push({
794
+ name: a[k].showName,
726
795
  code: "",
727
- value: l.list.map((m) => m.benefit_list.monthly.turnover)
796
+ value: l.list.map((u) => u.benefit_list.monthly.turnover)
728
797
  });
729
- const x = i.findIndex(
730
- (m) => m.fieldName == "weekly_bonus"
798
+ const x = a.findIndex(
799
+ (u) => u.fieldName == "weekly_bonus"
731
800
  );
732
- x > -1 && r.push({
733
- name: i[x].showName,
801
+ l.bonus.week.isShow = x > -1, x > -1 && i.push({
802
+ name: a[x].showName,
734
803
  code: "",
735
- value: l.list.map((m) => m.benefit_list.weekly.bonus)
804
+ value: l.list.map((u) => u.benefit_list.weekly.bonus)
736
805
  });
737
- const T = i.findIndex(
738
- (m) => m.fieldName == "weekly_bonus_multiply"
806
+ const N = a.findIndex(
807
+ (u) => u.fieldName == "weekly_bonus_multiply"
739
808
  );
740
- T > -1 && r.push({
741
- name: i[T].showName,
809
+ N > -1 && i.push({
810
+ name: a[N].showName,
742
811
  code: "",
743
- value: l.list.map((m) => m.benefit_list.weekly.turnover)
812
+ value: l.list.map((u) => u.benefit_list.weekly.turnover)
744
813
  });
745
- const P = i.findIndex(
746
- (m) => m.fieldName == "daily_bonus"
814
+ const O = a.findIndex(
815
+ (u) => u.fieldName == "daily_bonus"
747
816
  );
748
- P > -1 && r.push({
749
- name: i[P].showName,
817
+ l.bonus.day.isShow = O > -1, O > -1 && i.push({
818
+ name: a[O].showName,
750
819
  code: "",
751
- value: l.list.map((m) => m.benefit_list.daily.bonus)
820
+ value: l.list.map((u) => u.benefit_list.daily.bonus)
752
821
  });
753
- const k = i.findIndex(
754
- (m) => m.fieldName == "daily_bonus_multiply"
822
+ const R = a.findIndex(
823
+ (u) => u.fieldName == "daily_bonus_multiply"
755
824
  );
756
- k > -1 && r.push({
757
- name: i[k].showName,
825
+ R > -1 && i.push({
826
+ name: a[R].showName,
758
827
  code: "",
759
- value: l.list.map((m) => m.benefit_list.daily.turnover)
760
- }), (g === 1 || g === 3 || g === 4) && r.push({
828
+ value: l.list.map((u) => u.benefit_list.daily.turnover)
829
+ }), (g === 1 || g === 3 || g === 4) && i.push({
761
830
  name: "",
762
831
  code: "detail_deposit",
763
- value: l.list.map((m) => m.deposit.total)
764
- }), (g === 2 || g === 3 || g === 4) && r.push({
832
+ value: l.list.map((u) => u.deposit.total)
833
+ }), (g === 2 || g === 3 || g === 4) && i.push({
765
834
  name: "",
766
835
  code: "detail_turnover",
767
- value: l.list.map((m) => m.turnover.total)
768
- }), l.detail = r;
836
+ value: l.list.map((u) => u.turnover.total)
837
+ }), l.detail = i;
769
838
  }
770
839
  delete o.result.vipFieldStatus;
771
840
  }
772
841
  o.result.vipList = l;
773
842
  }
774
- if (u.gameList in o.result && ((b = o.result) != null && b.gameList)) {
843
+ if (m.gameList in o.result && ((b = o.result) != null && b.gameList)) {
775
844
  const l = o.result.gameList;
776
- if (u.getPlatformTurnoverRate in o.result && ((p = o.result) != null && p.getPlatformTurnoverRate)) {
845
+ if (m.getPlatformTurnoverRate in o.result && ((p = o.result) != null && p.getPlatformTurnoverRate)) {
777
846
  const g = o.result.getPlatformTurnoverRate;
778
- l.forEach((i) => {
779
- i.list = i.list.map((r) => {
780
- const R = g.find(
781
- (D) => D.id === r.id
847
+ l.forEach((a) => {
848
+ a.list = a.list.map((i) => {
849
+ const S = g.find(
850
+ (C) => C.id === i.id
782
851
  );
783
852
  return {
784
- ...r,
785
- rate: (R == null ? void 0 : R.percentage) ?? "0.00"
853
+ ...i,
854
+ rate: (S == null ? void 0 : S.percentage) ?? "0.00"
786
855
  };
787
856
  });
788
857
  }), delete o.result.getPlatformTurnoverRate;
789
858
  }
790
859
  o.result.gameList = l;
791
860
  }
792
- if (u.getCompany in o.result && ((_ = o.result) != null && _.getCompany)) {
861
+ if (m.getCompany in o.result && ((y = o.result) != null && y.getCompany)) {
793
862
  const l = o.result.getCompany;
794
- if (u.searchResultDate in o.result && (y = o.result) != null && y.searchResultDate) {
863
+ if (m.searchResultDate in o.result && (_ = o.result) != null && _.searchResultDate) {
795
864
  const g = o.result.searchResultDate;
796
- l.forEach((i) => {
797
- const r = g.find((R) => R.id == i.id);
798
- r && (i.date = r == null ? void 0 : r.date);
865
+ l.forEach((a) => {
866
+ const i = g.find((S) => S.id == a.id);
867
+ i && (a.date = i == null ? void 0 : i.date);
799
868
  }), delete o.result.searchResultDate;
800
869
  }
801
870
  o.result.getCompany = l;
802
871
  }
803
872
  return o;
804
873
  } catch (v) {
805
- return $.isAxiosError(v) ? {
874
+ return G.isAxiosError(v) ? {
806
875
  status: ((h = v.response) == null ? void 0 : h.status) || 600,
807
- message: JSON.stringify((S = v.response) == null ? void 0 : S.data),
876
+ message: JSON.stringify((T = v.response) == null ? void 0 : T.data),
808
877
  result: {}
809
878
  } : (console.error(v), {
810
879
  status: v.status || 500,
@@ -812,10 +881,10 @@ const pe = (e) => e.data.map((t) => ({
812
881
  result: {}
813
882
  });
814
883
  }
815
- }, ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
884
+ }, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
816
885
  __proto__: null,
817
- post: _e
818
- }, Symbol.toStringTag, { value: "Module" })), he = async (e, t) => {
886
+ post: xe
887
+ }, Symbol.toStringTag, { value: "Module" })), Te = async (e, t) => {
819
888
  try {
820
889
  const n = {
821
890
  status: 200,
@@ -834,10 +903,10 @@ const pe = (e) => e.data.map((t) => ({
834
903
  message: n.message
835
904
  };
836
905
  }
837
- }, ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
906
+ }, Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
838
907
  __proto__: null,
839
- call: he
840
- }, Symbol.toStringTag, { value: "Module" })), xe = async () => {
908
+ call: Te
909
+ }, Symbol.toStringTag, { value: "Module" })), De = async () => {
841
910
  try {
842
911
  const e = {
843
912
  status: 200,
@@ -850,65 +919,69 @@ const pe = (e) => e.data.map((t) => ({
850
919
  message: e.message
851
920
  };
852
921
  }
853
- }, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
922
+ }, Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
854
923
  __proto__: null,
855
- call: xe
924
+ call: De
925
+ }, Symbol.toStringTag, { value: "Module" })), ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
926
+ __proto__: null
856
927
  }, Symbol.toStringTag, { value: "Module" })), Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
857
928
  __proto__: null
858
929
  }, Symbol.toStringTag, { value: "Module" })), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
859
930
  __proto__: null
860
- }, Symbol.toStringTag, { value: "Module" })), Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
931
+ }, Symbol.toStringTag, { value: "Module" })), Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
861
932
  __proto__: null
862
- }, Symbol.toStringTag, { value: "Module" })), ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
933
+ }, Symbol.toStringTag, { value: "Module" })), Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
863
934
  __proto__: null
864
- }, Symbol.toStringTag, { value: "Module" })), De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
935
+ }, Symbol.toStringTag, { value: "Module" })), Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
865
936
  __proto__: null
866
- }, Symbol.toStringTag, { value: "Module" })), Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
937
+ }, Symbol.toStringTag, { value: "Module" })), Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
867
938
  __proto__: null
868
- }, Symbol.toStringTag, { value: "Module" })), Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
939
+ }, Symbol.toStringTag, { value: "Module" })), je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
869
940
  __proto__: null
870
- }, Symbol.toStringTag, { value: "Module" })), Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
941
+ }, Symbol.toStringTag, { value: "Module" })), Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
871
942
  __proto__: null
872
- }, Symbol.toStringTag, { value: "Module" })), Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
943
+ }, Symbol.toStringTag, { value: "Module" })), we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
873
944
  __proto__: null
874
- }, Symbol.toStringTag, { value: "Module" })), Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
945
+ }, Symbol.toStringTag, { value: "Module" })), Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
875
946
  __proto__: null
876
- }, Symbol.toStringTag, { value: "Module" })), je = {
877
- api: ye,
878
- loginApi: ve,
879
- logoutApi: Se,
880
- apiType: E,
881
- loginType: Le,
882
- logoutType: Re,
883
- announcementType: Me,
884
- paymentsProviderType: J,
885
- gameListType: ke,
886
- vipListType: De,
887
- promotionType: Ne,
888
- cmsListType: Te,
889
- mainWalletType: Pe,
890
- upcomingMatchType: Oe,
891
- depositType: Be
892
- }, Ie = {
947
+ }, Symbol.toStringTag, { value: "Module" })), Ie = {
948
+ api: Se,
949
+ loginApi: Me,
950
+ logoutApi: Ce,
951
+ apiType: J,
952
+ loginType: ke,
953
+ logoutType: Le,
954
+ announcementType: Re,
955
+ paymentsProviderType: W,
956
+ gameListType: Ne,
957
+ vipListType: Oe,
958
+ promotionType: Pe,
959
+ cmsListType: Be,
960
+ mainWalletType: je,
961
+ upcomingMatchType: Ue,
962
+ depositType: we,
963
+ applyVipBonus: Fe
964
+ }, Ge = {
893
965
  install(e) {
894
- e.config.globalProperties.$library = je;
966
+ e.config.globalProperties.$library = Ie;
895
967
  }
896
968
  };
897
969
  export {
898
- Ie as Repository,
899
- Me as announcementType,
900
- ye as api,
901
- E as apiType,
902
- Te as cmsListType,
903
- Be as depositType,
904
- ke as gameListType,
905
- ve as loginApi,
906
- Le as loginType,
907
- Se as logoutApi,
908
- Re as logoutType,
909
- Pe as mainWalletType,
910
- J as paymentsProviderType,
911
- Ne as promotionType,
912
- Oe as upcomingMatchType,
913
- De as vipListType
970
+ Ge as Repository,
971
+ Re as announcementType,
972
+ Se as api,
973
+ J as apiType,
974
+ Fe as applyVipBonus,
975
+ Be as cmsListType,
976
+ we as depositType,
977
+ Ne as gameListType,
978
+ Me as loginApi,
979
+ ke as loginType,
980
+ Ce as logoutApi,
981
+ Le as logoutType,
982
+ je as mainWalletType,
983
+ W as paymentsProviderType,
984
+ Pe as promotionType,
985
+ Ue as upcomingMatchType,
986
+ Oe as vipListType
914
987
  };