60p82u21t54k 0.0.61 → 0.0.63

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.
@@ -59,48 +59,55 @@ B.interceptors.response.use(
59
59
  return e.response ? (t.status = e.response.status, t.message = e.response.data.message || e.response.statusText, console.error("Error response:", JSON.stringify(t)), e.response.status === 401 ? console.error("Unauthorized access - redirecting to login.") : e.response.status === 404 ? console.error("Resource not found.") : e.response.status >= 500 && console.error("Server error. Please try again later.")) : e.request ? console.error("No response received:", e.request) : console.error("Error setting up request:", e.message), Promise.reject(t);
60
60
  }
61
61
  );
62
- const z = (e) => new TextEncoder().encode(e), A = (e) => {
62
+ const U = (e) => new TextEncoder().encode(e), z = (e) => {
63
63
  try {
64
64
  return atob(e);
65
65
  } catch (t) {
66
66
  return console.error("Failed to decode Base64:", t), "";
67
67
  }
68
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);
69
+ const e = /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), c = new Date(t, n, 1, 12, 0, 0), s = new Date(t, n + 1, 1, 12, 0, 0), d = Math.floor(
70
+ (s.getTime() - e.getTime()) / 1e3
71
+ ), g = Math.floor(
72
+ (s.getTime() - c.getTime()) / 1e3
73
+ ), p = g - d;
74
+ return {
75
+ monthRemainingTime: d,
76
+ monthProgressPercentage: Math.round(p / g * 100)
77
+ };
71
78
  }, 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);
79
+ const e = /* @__PURE__ */ new Date(), t = e.getDay(), n = t === 1 ? 7 : 8 - t, c = new Date(
80
+ e.getFullYear(),
81
+ e.getMonth(),
82
+ e.getDate() + n,
83
+ 12,
84
+ 0,
85
+ 0,
86
+ 0
87
+ ), s = Math.floor((c.getTime() - e.getTime()) / 1e3), b = 7 * 24 * 60 * 60;
88
+ return console.log(s), console.log(b), {
89
+ weekRemainingTime: s,
90
+ weekProgressPercentage: Math.round(s / b * 100)
91
+ };
85
92
  }, 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);
93
+ const e = /* @__PURE__ */ new Date(), t = new Date(
94
+ e.getFullYear(),
95
+ e.getMonth(),
96
+ e.getDate() + 1,
97
+ 12,
98
+ 0,
99
+ 0,
100
+ 0
101
+ ), n = Math.floor((t.getTime() - e.getTime()) / 1e3), g = 24 * 60 * 60;
102
+ return {
103
+ dayRemainingTime: n,
104
+ dayProgressPercentage: Math.round(n / g * 100)
105
+ };
99
106
  };
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 || {});
107
+ 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.applyVipBonus = "applyVipBonus", e))(u || {});
101
108
  const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
102
109
  __proto__: null,
103
- Api: m
110
+ Api: u
104
111
  }, Symbol.toStringTag, { value: "Module" }));
105
112
  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
113
  const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -138,7 +145,7 @@ const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
138
145
  imageUrl: `/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,
139
146
  paymentList: n
140
147
  };
141
- }), I = {
148
+ }), w = {
142
149
  id: 0,
143
150
  name: "",
144
151
  type: D.unknown,
@@ -165,42 +172,42 @@ const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
165
172
  disabled: !1
166
173
  }));
167
174
  return [t, ...n];
168
- }, P = (e, t, n, c) => {
175
+ }, I = (e, t, n, c) => {
169
176
  let s, d;
170
177
  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);
171
- const b = Math.round(s);
178
+ const g = Math.round(s);
172
179
  let p = 1e3;
173
180
  d < p && (p = Math.round(d));
174
- const y = p - b;
175
- let _ = "", h = "";
181
+ const y = p - g;
182
+ let b = "", h = "";
176
183
  if (y > 0) {
177
- let f = Math.round((p - b) * 0.25).toString().split(""), M = [];
178
- for (const o of f)
184
+ let _ = Math.round((p - g) * 0.25).toString().split(""), M = [];
185
+ for (const o of _)
179
186
  o !== "" && M.push(o);
180
187
  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 = [];
183
- for (const o of f)
188
+ o === 0 ? b += (parseInt(M[o]) + 1).toString() : b += "0";
189
+ _ = Math.round((p - g) * 0.5).toString().split(""), M = [];
190
+ for (const o of _)
184
191
  o !== "" && M.push(o);
185
192
  for (let o = 0; o < M.length; o++)
186
193
  o === 0 ? h += (parseInt(M[o]) + 1).toString() : h += "0";
187
194
  } else
188
- _ = p.toString(), h = p.toString();
195
+ b = p.toString(), h = p.toString();
189
196
  return { amountList: [
190
- b.toString(),
191
- _,
197
+ g.toString(),
198
+ b,
192
199
  h,
193
200
  p.toString()
194
- ], minAmount: b, maxAmount: d };
201
+ ], minAmount: g, maxAmount: d };
195
202
  }, q = (e, t) => t ? {
196
203
  id: 0,
197
204
  name: "manualMethod",
198
205
  type: D.manual,
199
206
  promo: F(e.promo),
200
207
  bank: e.bank.map((s) => {
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(
208
+ const d = s.list && s.list.length > 0 ? s.list[0].mintransaction ?? "0.00" : "0.00", g = s.list && s.list.length > 0 ? s.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: p, minAmount: y, maxAmount: b } = I(
202
209
  Number(d),
203
- Number(b),
210
+ Number(g),
204
211
  t.mdBankLevelDetail.deposit_min,
205
212
  t.mdBankLevelDetail.deposit_max
206
213
  );
@@ -213,45 +220,45 @@ const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
213
220
  qrcode: s.list && s.list.length > 0 ? s.list[0].bankaccountdesc : "",
214
221
  amountList: p,
215
222
  min: y,
216
- max: _
223
+ max: b
217
224
  };
218
225
  }),
219
226
  requiredField: {
220
227
  ...t.mdManualDepositRequireField,
221
228
  uploadReceipt: t.mdUploadReceipt
222
229
  }
223
- } : I, Y = (e, t) => t ? {
230
+ } : w, Y = (e, t) => t ? {
224
231
  id: 0,
225
232
  name: "onlineBankingMethod",
226
233
  type: D.pay,
227
234
  promo: F(e.promo),
228
235
  bank: e.banklist.map((s) => {
229
- let d = "0.00", b = "0.00";
236
+ let d = "0.00", g = "0.00";
230
237
  const p = s.bankindex ?? 0;
231
- for (let f = 0; f < t.mdGatewayMinMax.length; f++)
232
- t.mdGatewayMinMax[f].bankindex == p.toString() && (d = t.mdGatewayMinMax[f].min, b = t.mdGatewayMinMax[f].max);
233
- const { amountList: y, minAmount: _, maxAmount: h } = P(
238
+ for (let _ = 0; _ < t.mdGatewayMinMax.length; _++)
239
+ t.mdGatewayMinMax[_].bankindex == p.toString() && (d = t.mdGatewayMinMax[_].min, g = t.mdGatewayMinMax[_].max);
240
+ const { amountList: y, minAmount: b, maxAmount: h } = I(
234
241
  Number(d),
235
- Number(b),
242
+ Number(g),
236
243
  t.mdBankLevelDetail.onlinepayment_min,
237
244
  t.mdBankLevelDetail.onlinepayment_max
238
245
  ), T = {
239
246
  id: 0,
240
247
  name: "autoChannel",
241
248
  amountList: y,
242
- min: _,
249
+ min: b,
243
250
  max: h
244
- }, v = s.pg.map((f) => {
245
- const M = f.mintransaction ?? "0.00", j = f.maxtransaction ?? "0.00", { amountList: U, minAmount: o, maxAmount: l } = P(
251
+ }, x = s.pg.map((_) => {
252
+ const M = _.mintransaction ?? "0.00", j = _.maxtransaction ?? "0.00", { amountList: A, minAmount: o, maxAmount: l } = I(
246
253
  Number(M),
247
254
  Number(j),
248
255
  t.mdBankLevelDetail.onlinepayment_min,
249
256
  t.mdBankLevelDetail.onlinepayment_max
250
257
  );
251
258
  return {
252
- id: f.pgindex,
253
- name: f.bankaccountname,
254
- amountList: U,
259
+ id: _.pgindex,
260
+ name: _.bankaccountname,
261
+ amountList: A,
255
262
  min: o,
256
263
  max: l
257
264
  };
@@ -262,7 +269,7 @@ const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
262
269
  amountList: [],
263
270
  min: 0,
264
271
  max: 0,
265
- gateway: [T, ...v]
272
+ gateway: [T, ...x]
266
273
  };
267
274
  }),
268
275
  requiredField: {
@@ -273,14 +280,14 @@ const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
273
280
  depositor: !1,
274
281
  uploadReceipt: !1
275
282
  }
276
- } : I, K = (e, t, n) => {
277
- if (!n) return I;
283
+ } : w, K = (e, t, n) => {
284
+ if (!n) return w;
278
285
  const c = D.auto;
279
286
  let s = [];
280
287
  const d = n.mdGatewayMinMax;
281
288
  if (t.bank.length > 0 && n.mdPGSelection == "1")
282
289
  s = t.bank.map((p) => {
283
- const { amountList: y, minAmount: _, maxAmount: h } = P(
290
+ const { amountList: y, minAmount: b, maxAmount: h } = I(
284
291
  p.minTransaction ?? 0,
285
292
  p.maxTransaction ?? 0,
286
293
  n.mdBankLevelDetail.onlinepayment_min,
@@ -290,7 +297,7 @@ const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
290
297
  id: p.pgindex,
291
298
  name: p.bankaccountname || "",
292
299
  amountList: y,
293
- min: _,
300
+ min: b,
294
301
  max: h
295
302
  };
296
303
  });
@@ -298,19 +305,19 @@ const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
298
305
  let p = "0.00", y = "0.00";
299
306
  for (let r = 0; r < d.length; r++)
300
307
  d[r].bankindex === e.toString() && (p = d[r].min, y = d[r].max);
301
- const { amountList: _, minAmount: h, maxAmount: T } = P(
308
+ const { amountList: b, minAmount: h, maxAmount: T } = I(
302
309
  Number(p),
303
310
  Number(y),
304
311
  n.mdBankLevelDetail.onlinepayment_min,
305
312
  n.mdBankLevelDetail.onlinepayment_max
306
- ), v = {
313
+ ), x = {
307
314
  id: 0,
308
315
  name: "autoChannel",
309
- amountList: _,
316
+ amountList: b,
310
317
  min: h,
311
318
  max: T
312
319
  };
313
- s.push(v);
320
+ s.push(x);
314
321
  }
315
322
  return {
316
323
  id: e,
@@ -408,19 +415,28 @@ const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
408
415
  isShow: !1,
409
416
  isClaimable: !1,
410
417
  value: "M",
411
- timestamp: 0
418
+ timestamp: {
419
+ current: 0,
420
+ percentage: 0
421
+ }
412
422
  },
413
423
  week: {
414
424
  isShow: !1,
415
425
  isClaimable: !1,
416
426
  value: "W",
417
- timestamp: 0
427
+ timestamp: {
428
+ current: 0,
429
+ percentage: 0
430
+ }
418
431
  },
419
432
  day: {
420
433
  isShow: !1,
421
434
  isClaimable: !1,
422
435
  value: "D",
423
- timestamp: 0
436
+ timestamp: {
437
+ current: 0,
438
+ percentage: 0
439
+ }
424
440
  }
425
441
  }
426
442
  }), ne = (e) => ({
@@ -524,34 +540,34 @@ const be = (e) => e.data.map((t) => ({
524
540
  (r) => r.combination_dimension == 4 && r.combination_position == 1
525
541
  ).map((r) => r.combination_combination), d = n.results.filter(
526
542
  (r) => r.combination_dimension == 4 && r.combination_position == 2
527
- ).map((r) => r.combination_combination), b = n.results.filter(
543
+ ).map((r) => r.combination_combination), g = n.results.filter(
528
544
  (r) => r.combination_dimension == 4 && r.combination_position == 3
529
545
  ).map((r) => r.combination_combination), p = n.results.filter(
530
546
  (r) => r.combination_dimension == 4 && r.combination_position == 4
531
547
  ).map((r) => r.combination_combination), y = n.results.filter(
532
548
  (r) => r.combination_dimension == 4 && r.combination_position == 5
533
- ).map((r) => r.combination_combination), _ = n.results.filter(
549
+ ).map((r) => r.combination_combination), b = n.results.filter(
534
550
  (r) => r.combination_dimension == 5 && r.combination_position == 1
535
551
  ).map((r) => r.combination_combination), h = n.results.filter((r) => r.combination_dimension == 5).map((r) => r.combination_combination), T = n.results.filter(
536
552
  (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);
553
+ ).map((r) => r.combination_combination), x = n.results.filter((r) => r.combination_dimension == 6).map((r) => r.combination_combination);
538
554
  return {
539
555
  date: n.date,
540
556
  3: c,
541
557
  4: {
542
558
  1: s,
543
559
  2: d,
544
- 3: b,
560
+ 3: g,
545
561
  4: p,
546
562
  5: y
547
563
  },
548
564
  5: {
549
- 1: _,
565
+ 1: b,
550
566
  all: h
551
567
  },
552
568
  6: {
553
569
  1: T,
554
- all: v
570
+ all: x
555
571
  }
556
572
  };
557
573
  })
@@ -575,30 +591,30 @@ const be = (e) => e.data.map((t) => ({
575
591
  error_message: e.errormessage ?? "",
576
592
  flag: e.flag
577
593
  }), xe = async (e) => {
578
- var t, n, c, s, d, b, p, y, _, h, T;
594
+ var t, n, c, s, d, g, p, y, b, h, T;
579
595
  try {
580
- e.findIndex((l) => l.name === m.vipList) !== -1 && e.push(
596
+ e.findIndex((l) => l.name === u.vipList) !== -1 && e.push(
581
597
  {
582
- name: m.vipBonus,
598
+ name: u.vipBonus,
583
599
  query: ""
584
600
  },
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,
601
+ { name: u.vipFieldStatus, query: "" },
602
+ { name: u.vipStatus, query: "" },
603
+ { name: u.getSetting, query: JSON.stringify({ name: ["vipcalculation"] }) }
604
+ ), e.findIndex((l) => l.name === u.gameList) !== -1 && e.push({
605
+ name: u.getPlatformTurnoverRate,
590
606
  query: ""
591
607
  });
592
- const f = e.findIndex(
593
- (l) => l.name === m.getFourDimensionData
608
+ const _ = e.findIndex(
609
+ (l) => l.name === u.getFourDimensionData
594
610
  );
595
- f !== -1 && e[f].query == "" && (e.splice(f), e.push(
611
+ _ !== -1 && e[_].query == "" && (e.splice(_), e.push(
596
612
  {
597
- name: m.getFourDimensionData,
613
+ name: u.getFourDimensionData,
598
614
  query: JSON.stringify({ action: "getCompany", native: "1" })
599
615
  },
600
616
  {
601
- name: m.getFourDimensionData,
617
+ name: u.getFourDimensionData,
602
618
  query: JSON.stringify({
603
619
  action: "searchResultDate",
604
620
  limit: 100,
@@ -613,241 +629,254 @@ const be = (e) => e.data.map((t) => ({
613
629
  name: l.name,
614
630
  query: btoa(l.query)
615
631
  }))
616
- }, U = await B.post(
632
+ }, A = await B.post(
617
633
  "/jwt",
618
- z(JSON.stringify(j))
634
+ U(JSON.stringify(j))
619
635
  ), o = {
620
636
  status: 200,
621
637
  message: "",
622
638
  result: {}
623
639
  };
624
- for (const l of U.data.responses) {
640
+ for (const l of A.data.responses) {
625
641
  l.error != null && l.error.code != 200 && (o.status = l.error.code, o.message = l.error.message);
626
- const g = l.attributes !== null && l.attributes !== void 0 ? A(l.attributes) : null, a = l.name, i = g ? JSON.parse(g) : null;
642
+ const f = l.attributes !== null && l.attributes !== void 0 ? z(l.attributes) : null, a = l.name, i = f ? JSON.parse(f) : null;
627
643
  if (!i)
628
644
  o.result[a] = null;
629
645
  else
630
646
  switch (a) {
631
- case m.announcement:
647
+ case u.announcement:
632
648
  o.result[a] = X(i);
633
649
  break;
634
- case m.gameList:
650
+ case u.gameList:
635
651
  o.result[a] = ee(i);
636
652
  break;
637
- case m.cmsList:
653
+ case u.cmsList:
638
654
  o.result[a] = re(i);
639
655
  break;
640
- case m.paymentsProvider:
656
+ case u.paymentsProvider:
641
657
  o.result[a] = H(
642
658
  i
643
659
  );
644
660
  break;
645
- case m.getUserProfile:
661
+ case u.getUserProfile:
646
662
  o.result[a] = Z(i);
647
663
  break;
648
- case m.vipList:
664
+ case u.vipList:
649
665
  o.result[a] = te(i);
650
666
  break;
651
- case m.vipBonus:
652
- console.log(i), o.result[a] = oe(i);
667
+ case u.vipBonus:
668
+ o.result[a] = oe(i);
653
669
  break;
654
- case m.vipFieldStatus:
670
+ case u.vipFieldStatus:
655
671
  o.result[a] = se(i);
656
672
  break;
657
- case m.vipStatus:
673
+ case u.vipStatus:
658
674
  o.result[a] = ae(i);
659
675
  break;
660
- case m.promotion:
676
+ case u.promotion:
661
677
  o.result[a] = ne(i);
662
678
  break;
663
- case m.getSetting:
679
+ case u.getSetting:
664
680
  o.result[a] = ie(i);
665
681
  break;
666
- case m.getCountryMobile:
682
+ case u.getCountryMobile:
667
683
  o.result[a] = le(
668
684
  i
669
685
  );
670
686
  break;
671
- case m.getPlatformTurnoverRate:
687
+ case u.getPlatformTurnoverRate:
672
688
  o.result[a] = me(
673
689
  i
674
690
  );
675
691
  break;
676
- case m.mainWallet:
692
+ case u.mainWallet:
677
693
  o.result[a] = ue(i);
678
694
  break;
679
- case m.getLanguageSetting:
695
+ case u.getLanguageSetting:
680
696
  o.result[a] = ce(
681
697
  i
682
698
  );
683
699
  break;
684
- case m.getFourDimensionData:
700
+ case u.getFourDimensionData:
685
701
  o.result[a] = de(
686
702
  i
687
703
  );
688
704
  break;
689
- case m.getCompany:
705
+ case u.getCompany:
690
706
  o.result[a] = pe(i);
691
707
  break;
692
- case m.searchResultDate:
708
+ case u.searchResultDate:
693
709
  o.result[a] = ge(
694
710
  i
695
711
  );
696
712
  break;
697
- case m.searchHot:
713
+ case u.searchHot:
698
714
  o.result[a] = be(i);
699
715
  break;
700
- case m.searchByDate:
716
+ case u.searchByDate:
701
717
  o.result[a] = ye(i);
702
718
  break;
703
- case m.upcomingMatches:
719
+ case u.upcomingMatches:
704
720
  o.result[a] = _e(
705
721
  i
706
722
  );
707
723
  break;
708
- case m.deposit:
724
+ case u.deposit:
709
725
  o.result[a] = he(i);
710
726
  break;
711
- case m.applyVipBonus:
727
+ case u.applyVipBonus:
712
728
  o.result[a] = ve(i);
713
729
  break;
714
730
  }
715
731
  }
716
- if (m.vipList in o.result && ((t = o.result) != null && t.vipList)) {
732
+ if (u.vipList in o.result && ((t = o.result) != null && t.vipList)) {
717
733
  const l = o.result.vipList;
718
- let g = 4;
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) {
734
+ let f = 4;
735
+ if (u.getSetting in o.result && ((n = o.result) != null && n.getSetting && (f = o.result.getSetting.vip_calculation), delete o.result.getSetting), u.vipStatus in o.result) {
720
736
  if ((c = o.result) != null && c.vipStatus) {
721
737
  const a = o.result.vipStatus, {
722
738
  current_grade_id: i,
723
739
  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), {
731
- ...x,
732
- is_current_level: O,
740
+ current_turnover: R,
741
+ percentage: O
742
+ } = a, L = l.list.findIndex((v) => v.id === i);
743
+ l.list = l.list.map((v, P) => {
744
+ const N = P === L;
745
+ let k = "0", m = "0", C = 0;
746
+ return N ? (k = `${Math.min(Number(S), Number(v.deposit.total))}`, m = `${Math.min(Number(R), Number(v.turnover.total))}`, C = O) : P < L ? (k = v.deposit.total, m = v.turnover.total, C = 1) : P > L && (k = "0.00", m = "0.00", C = 0), {
747
+ ...v,
748
+ is_current_level: N,
733
749
  deposit: {
734
- ...x.deposit,
735
- isShow: g === 1 || g === 3 || g === 4,
736
- current: R
750
+ ...v.deposit,
751
+ isShow: f === 1 || f === 3 || f === 4,
752
+ current: k
737
753
  },
738
754
  turnover: {
739
- ...x.turnover,
740
- isShow: g === 2 || g === 3 || g === 4,
741
- current: u
755
+ ...v.turnover,
756
+ isShow: f === 2 || f === 3 || f === 4,
757
+ current: m
742
758
  },
743
- percentage: w
759
+ percentage: C
744
760
  };
745
761
  });
746
762
  }
747
763
  delete o.result.vipStatus;
748
764
  }
749
- if (m.vipBonus in o.result) {
765
+ if (u.vipBonus in o.result) {
750
766
  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;
767
+ const a = o.result.vipBonus, i = l.list.find((C) => C.is_current_level == !0), S = Number(i == null ? void 0 : i.benefit_list.daily.bonus) ?? 0, R = Number(i == null ? void 0 : i.benefit_list.weekly.bonus) ?? 0, O = Number(i == null ? void 0 : i.benefit_list.monthly.bonus) ?? 0;
768
+ l.bonus.day.isClaimable = a.day.isClaimable;
769
+ const { dayRemainingTime: L, dayProgressPercentage: v } = V();
770
+ l.bonus.day.timestamp = {
771
+ current: !a.day.isClaimable && S > 0 ? L : 0,
772
+ percentage: v
773
+ }, l.bonus.week.isClaimable = a.week.isClaimable;
774
+ const { weekRemainingTime: P, weekProgressPercentage: N } = E();
775
+ l.bonus.week.timestamp = {
776
+ current: !a.week.isClaimable && R > 0 ? P : 0,
777
+ percentage: N
778
+ }, l.bonus.month.isClaimable = a.month.isClaimable;
779
+ const { monthRemainingTime: k, monthProgressPercentage: m } = $();
780
+ l.bonus.month.timestamp = {
781
+ current: !a.month.isClaimable && O > 0 ? k : 0,
782
+ percentage: m
783
+ };
755
784
  }
756
785
  delete o.result.vipBonus;
757
786
  }
758
- if (m.vipFieldStatus in o.result) {
787
+ if (u.vipFieldStatus in o.result) {
759
788
  if ((d = o.result) != null && d.vipFieldStatus) {
760
789
  const a = o.result.vipFieldStatus, i = [];
761
790
  i.push({
762
791
  name: "",
763
792
  code: "vipLevel",
764
- value: l.list.map((u) => u.name)
793
+ value: l.list.map((m) => m.name)
765
794
  });
766
795
  const S = a.findIndex(
767
- (u) => u.fieldName == "upgrade_bonus"
796
+ (m) => m.fieldName == "upgrade_bonus"
768
797
  );
769
798
  S > -1 && i.push({
770
799
  name: a[S].showName,
771
800
  code: "",
772
- value: l.list.map((u) => u.benefit_list.upgrade.bonus)
801
+ value: l.list.map((m) => m.benefit_list.upgrade.bonus)
773
802
  });
774
- const C = a.findIndex(
775
- (u) => u.fieldName == "upgrade_bonus_multiply"
803
+ const R = a.findIndex(
804
+ (m) => m.fieldName == "upgrade_bonus_multiply"
776
805
  );
777
- C > -1 && i.push({
778
- name: a[C].showName,
806
+ R > -1 && i.push({
807
+ name: a[R].showName,
779
808
  code: "",
780
- value: l.list.map((u) => u.benefit_list.upgrade.turnover)
809
+ value: l.list.map((m) => m.benefit_list.upgrade.turnover)
810
+ });
811
+ const O = a.findIndex(
812
+ (m) => m.fieldName == "monthly_bonus"
813
+ );
814
+ l.bonus.month.isShow = O > -1, O > -1 && i.push({
815
+ name: a[O].showName,
816
+ code: "",
817
+ value: l.list.map((m) => m.benefit_list.monthly.bonus)
781
818
  });
782
819
  const L = a.findIndex(
783
- (u) => u.fieldName == "monthly_bonus"
820
+ (m) => m.fieldName == "monthly_bonus_multiply"
784
821
  );
785
- l.bonus.month.isShow = L > -1, L > -1 && i.push({
822
+ L > -1 && i.push({
786
823
  name: a[L].showName,
787
824
  code: "",
788
- value: l.list.map((u) => u.benefit_list.monthly.bonus)
825
+ value: l.list.map((m) => m.benefit_list.monthly.turnover)
789
826
  });
790
- const k = a.findIndex(
791
- (u) => u.fieldName == "monthly_bonus_multiply"
827
+ const v = a.findIndex(
828
+ (m) => m.fieldName == "weekly_bonus"
792
829
  );
793
- k > -1 && i.push({
794
- name: a[k].showName,
830
+ l.bonus.week.isShow = v > -1, v > -1 && i.push({
831
+ name: a[v].showName,
795
832
  code: "",
796
- value: l.list.map((u) => u.benefit_list.monthly.turnover)
833
+ value: l.list.map((m) => m.benefit_list.weekly.bonus)
797
834
  });
798
- const x = a.findIndex(
799
- (u) => u.fieldName == "weekly_bonus"
835
+ const P = a.findIndex(
836
+ (m) => m.fieldName == "weekly_bonus_multiply"
800
837
  );
801
- l.bonus.week.isShow = x > -1, x > -1 && i.push({
802
- name: a[x].showName,
838
+ P > -1 && i.push({
839
+ name: a[P].showName,
803
840
  code: "",
804
- value: l.list.map((u) => u.benefit_list.weekly.bonus)
841
+ value: l.list.map((m) => m.benefit_list.weekly.turnover)
805
842
  });
806
843
  const N = a.findIndex(
807
- (u) => u.fieldName == "weekly_bonus_multiply"
844
+ (m) => m.fieldName == "daily_bonus"
808
845
  );
809
- N > -1 && i.push({
846
+ l.bonus.day.isShow = N > -1, N > -1 && i.push({
810
847
  name: a[N].showName,
811
848
  code: "",
812
- value: l.list.map((u) => u.benefit_list.weekly.turnover)
813
- });
814
- const O = a.findIndex(
815
- (u) => u.fieldName == "daily_bonus"
816
- );
817
- l.bonus.day.isShow = O > -1, O > -1 && i.push({
818
- name: a[O].showName,
819
- code: "",
820
- value: l.list.map((u) => u.benefit_list.daily.bonus)
849
+ value: l.list.map((m) => m.benefit_list.daily.bonus)
821
850
  });
822
- const R = a.findIndex(
823
- (u) => u.fieldName == "daily_bonus_multiply"
851
+ const k = a.findIndex(
852
+ (m) => m.fieldName == "daily_bonus_multiply"
824
853
  );
825
- R > -1 && i.push({
826
- name: a[R].showName,
854
+ k > -1 && i.push({
855
+ name: a[k].showName,
827
856
  code: "",
828
- value: l.list.map((u) => u.benefit_list.daily.turnover)
829
- }), (g === 1 || g === 3 || g === 4) && i.push({
857
+ value: l.list.map((m) => m.benefit_list.daily.turnover)
858
+ }), (f === 1 || f === 3 || f === 4) && i.push({
830
859
  name: "",
831
860
  code: "detail_deposit",
832
- value: l.list.map((u) => u.deposit.total)
833
- }), (g === 2 || g === 3 || g === 4) && i.push({
861
+ value: l.list.map((m) => m.deposit.total)
862
+ }), (f === 2 || f === 3 || f === 4) && i.push({
834
863
  name: "",
835
864
  code: "detail_turnover",
836
- value: l.list.map((u) => u.turnover.total)
865
+ value: l.list.map((m) => m.turnover.total)
837
866
  }), l.detail = i;
838
867
  }
839
868
  delete o.result.vipFieldStatus;
840
869
  }
841
870
  o.result.vipList = l;
842
871
  }
843
- if (m.gameList in o.result && ((b = o.result) != null && b.gameList)) {
872
+ if (u.gameList in o.result && ((g = o.result) != null && g.gameList)) {
844
873
  const l = o.result.gameList;
845
- if (m.getPlatformTurnoverRate in o.result && ((p = o.result) != null && p.getPlatformTurnoverRate)) {
846
- const g = o.result.getPlatformTurnoverRate;
874
+ if (u.getPlatformTurnoverRate in o.result && ((p = o.result) != null && p.getPlatformTurnoverRate)) {
875
+ const f = o.result.getPlatformTurnoverRate;
847
876
  l.forEach((a) => {
848
877
  a.list = a.list.map((i) => {
849
- const S = g.find(
850
- (C) => C.id === i.id
878
+ const S = f.find(
879
+ (R) => R.id === i.id
851
880
  );
852
881
  return {
853
882
  ...i,
@@ -858,26 +887,26 @@ const be = (e) => e.data.map((t) => ({
858
887
  }
859
888
  o.result.gameList = l;
860
889
  }
861
- if (m.getCompany in o.result && ((y = o.result) != null && y.getCompany)) {
890
+ if (u.getCompany in o.result && ((y = o.result) != null && y.getCompany)) {
862
891
  const l = o.result.getCompany;
863
- if (m.searchResultDate in o.result && (_ = o.result) != null && _.searchResultDate) {
864
- const g = o.result.searchResultDate;
892
+ if (u.searchResultDate in o.result && (b = o.result) != null && b.searchResultDate) {
893
+ const f = o.result.searchResultDate;
865
894
  l.forEach((a) => {
866
- const i = g.find((S) => S.id == a.id);
895
+ const i = f.find((S) => S.id == a.id);
867
896
  i && (a.date = i == null ? void 0 : i.date);
868
897
  }), delete o.result.searchResultDate;
869
898
  }
870
899
  o.result.getCompany = l;
871
900
  }
872
901
  return o;
873
- } catch (v) {
874
- return G.isAxiosError(v) ? {
875
- status: ((h = v.response) == null ? void 0 : h.status) || 600,
876
- message: JSON.stringify((T = v.response) == null ? void 0 : T.data),
902
+ } catch (x) {
903
+ return G.isAxiosError(x) ? {
904
+ status: ((h = x.response) == null ? void 0 : h.status) || 600,
905
+ message: JSON.stringify((T = x.response) == null ? void 0 : T.data),
877
906
  result: {}
878
- } : (console.error(v), {
879
- status: v.status || 500,
880
- message: v.message,
907
+ } : (console.error(x), {
908
+ status: x.status || 500,
909
+ message: x.message,
881
910
  result: {}
882
911
  });
883
912
  }
@@ -906,7 +935,7 @@ const be = (e) => e.data.map((t) => ({
906
935
  }, Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
907
936
  __proto__: null,
908
937
  call: Te
909
- }, Symbol.toStringTag, { value: "Module" })), De = async () => {
938
+ }, Symbol.toStringTag, { value: "Module" })), ke = async () => {
910
939
  try {
911
940
  const e = {
912
941
  status: 200,
@@ -919,69 +948,69 @@ const be = (e) => e.data.map((t) => ({
919
948
  message: e.message
920
949
  };
921
950
  }
922
- }, Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
951
+ }, De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
923
952
  __proto__: null,
924
- call: De
925
- }, Symbol.toStringTag, { value: "Module" })), ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
953
+ call: ke
954
+ }, Symbol.toStringTag, { value: "Module" })), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
926
955
  __proto__: null
927
956
  }, Symbol.toStringTag, { value: "Module" })), Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
928
957
  __proto__: null
929
- }, Symbol.toStringTag, { value: "Module" })), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
958
+ }, Symbol.toStringTag, { value: "Module" })), Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
930
959
  __proto__: null
931
960
  }, Symbol.toStringTag, { value: "Module" })), Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
932
961
  __proto__: null
933
962
  }, Symbol.toStringTag, { value: "Module" })), Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
934
963
  __proto__: null
935
- }, Symbol.toStringTag, { value: "Module" })), Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
964
+ }, Symbol.toStringTag, { value: "Module" })), Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
965
+ __proto__: null
966
+ }, Symbol.toStringTag, { value: "Module" })), Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
936
967
  __proto__: null
937
968
  }, Symbol.toStringTag, { value: "Module" })), Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
938
969
  __proto__: null
939
970
  }, Symbol.toStringTag, { value: "Module" })), je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
940
971
  __proto__: null
941
- }, Symbol.toStringTag, { value: "Module" })), Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
942
- __proto__: null
943
- }, Symbol.toStringTag, { value: "Module" })), we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
972
+ }, Symbol.toStringTag, { value: "Module" })), Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
944
973
  __proto__: null
945
974
  }, Symbol.toStringTag, { value: "Module" })), Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
946
975
  __proto__: null
947
- }, Symbol.toStringTag, { value: "Module" })), Ie = {
976
+ }, Symbol.toStringTag, { value: "Module" })), we = {
948
977
  api: Se,
949
978
  loginApi: Me,
950
- logoutApi: Ce,
979
+ logoutApi: De,
951
980
  apiType: J,
952
- loginType: ke,
981
+ loginType: Re,
953
982
  logoutType: Le,
954
- announcementType: Re,
983
+ announcementType: Pe,
955
984
  paymentsProviderType: W,
956
985
  gameListType: Ne,
957
986
  vipListType: Oe,
958
- promotionType: Pe,
959
- cmsListType: Be,
960
- mainWalletType: je,
961
- upcomingMatchType: Ue,
962
- depositType: we,
987
+ promotionType: Ce,
988
+ cmsListType: Ie,
989
+ mainWalletType: Be,
990
+ upcomingMatchType: je,
991
+ depositType: Ae,
963
992
  applyVipBonus: Fe
964
993
  }, Ge = {
965
994
  install(e) {
966
- e.config.globalProperties.$library = Ie;
995
+ e.config.globalProperties.$library = we;
967
996
  }
968
997
  };
969
998
  export {
970
999
  Ge as Repository,
971
- Re as announcementType,
1000
+ Pe as announcementType,
972
1001
  Se as api,
973
1002
  J as apiType,
974
1003
  Fe as applyVipBonus,
975
- Be as cmsListType,
976
- we as depositType,
1004
+ Ie as cmsListType,
1005
+ Ae as depositType,
977
1006
  Ne as gameListType,
978
1007
  Me as loginApi,
979
- ke as loginType,
980
- Ce as logoutApi,
1008
+ Re as loginType,
1009
+ De as logoutApi,
981
1010
  Le as logoutType,
982
- je as mainWalletType,
1011
+ Be as mainWalletType,
983
1012
  W as paymentsProviderType,
984
- Pe as promotionType,
985
- Ue as upcomingMatchType,
1013
+ Ce as promotionType,
1014
+ je as upcomingMatchType,
986
1015
  Oe as vipListType
987
1016
  };
@@ -1 +1 @@
1
- (function(g,O){typeof exports=="object"&&typeof module<"u"?O(exports,require("axios")):typeof define=="function"&&define.amd?define(["exports","axios"],O):(g=typeof globalThis<"u"?globalThis:g||self,O(g["60p82u21t54k"]={},g.axios))})(this,function(g,O){"use strict";const j=O.create({baseURL:"/graph",timeout:5e3,headers:{"Content-Type":"application/json"}});j.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),j.interceptors.response.use(e=>e,e=>{const t={status:null,message:"An error occurred"};return e.response?(t.status=e.response.status,t.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(t)),e.response.status===401?console.error("Unauthorized access - redirecting to login."):e.response.status===404?console.error("Resource not found."):e.response.status>=500&&console.error("Server error. Please try again later.")):e.request?console.error("No response received:",e.request):console.error("Error setting up request:",e.message),Promise.reject(t)});const ae=e=>new TextEncoder().encode(e),se=e=>{try{return atob(e)}catch(t){return console.error("Failed to decode Base64:",t),""}},ie=()=>{const e=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();return Math.floor(d/1e3)},le=()=>{const e=new Date,t=new Date(e.getTime()),n=t.getUTCDay(),c=(n===1?7:8-n)%7,d=new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+c,4,0,0,0)).getTime()-t.getTime();return Math.floor(d/1e3)},re=()=>{const e=new Date,t=new Date(e.getTime()),c=new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1,4,0,0,0)).getTime()-t.getTime();return Math.floor(c/1e3)};var m=(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||{});const G=Object.freeze(Object.defineProperty({__proto__:null,Api:m},Symbol.toStringTag,{value:"Module"}));var C=(e=>(e.default="default",e.pay="pay",e.auto="auto",e.fix="fix",e.manual="manual",e.unknown="unknown",e))(C||{});const $=Object.freeze(Object.defineProperty({__proto__:null,PaymentType:C},Symbol.toStringTag,{value:"Module"})),me=e=>e.mdPaymentChannels.map(t=>{const n=[];switch(t.name){case C.default:n.push(z(t.paymentmethod.manual,e));break;case C.pay:n.push(ue(t.paymentmethod.onlinebanking,e));break;default:if(t.paymentmethod.auto.bank.length>0&&n.push(ce(t.bankid??0,t.paymentmethod.auto,e)),t.paymentmethod.manual.bank.length>0){let c=!1;for(let a=0;a<t.paymentmethod.manual.bank.length;a++){const d=t.paymentmethod.manual.bank[a];if(d.list&&d.list.length>0){c=!0;break}}c&&n.push(z(t.paymentmethod.manual,e))}t.paymentmethod.fixamount.bank.length>0&&n.push(de(t.bankid??0,t.paymentmethod.fixamount))}return{name:t.label,imageUrl:`/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,paymentList:n}}),A={id:0,name:"",type:C.unknown,promo:[],bank:[],requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}},w=e=>{const t={id:0,name:"excludePromo",value:"0",disabled:!0},n=e.map((c,a)=>({id:a+1,name:c.promodesc,value:c.promoindex.toString(),disabled:!1}));return[t,...n]},U=(e,t,n,c)=>{let a,d;n>0?a=e>0?Math.max(n,e):n:a=Math.max(e,0),c>0?d=t>0?Math.min(c,t):c:d=Math.max(t,0);const y=Math.round(a);let p=1e3;d<p&&(p=Math.round(d));const _=p-y;let h="",v="";if(_>0){let b=Math.round((p-y)*.25).toString().split(""),D=[];for(const o of b)o!==""&&D.push(o);for(let o=0;o<D.length;o++)o===0?h+=(parseInt(D[o])+1).toString():h+="0";b=Math.round((p-y)*.5).toString().split(""),D=[];for(const o of b)o!==""&&D.push(o);for(let o=0;o<D.length;o++)o===0?v+=(parseInt(D[o])+1).toString():v+="0"}else h=p.toString(),v=p.toString();return{amountList:[y.toString(),h,v,p.toString()],minAmount:y,maxAmount:d}},z=(e,t)=>t?{id:0,name:"manualMethod",type:C.manual,promo:w(e.promo),bank:e.bank.map(a=>{const d=a.list&&a.list.length>0?a.list[0].mintransaction??"0.00":"0.00",y=a.list&&a.list.length>0?a.list[0].maxtransaction??"0.00":"0.00",{amountList:p,minAmount:_,maxAmount:h}=U(Number(d),Number(y),t.mdBankLevelDetail.deposit_min,t.mdBankLevelDetail.deposit_max);return t.mdManualDepositRequireField.depositor=!0,{id:a.bankindex??0,bankAccountId:a.list&&a.list.length>0?a.list[0].bankaccountindex??0:0,name:a.list&&a.list.length>0?a.list[0].label??"":"",accountName:a.list&&a.list.length>0?a.list[0].bankaccountname??"":"",accountNo:a.list&&a.list.length>0?a.list[0].bankaccountno??"":"",qrcode:a.list&&a.list.length>0?a.list[0].bankaccountdesc:"",amountList:p,min:_,max:h}}),requiredField:{...t.mdManualDepositRequireField,uploadReceipt:t.mdUploadReceipt}}:A,ue=(e,t)=>t?{id:0,name:"onlineBankingMethod",type:C.pay,promo:w(e.promo),bank:e.banklist.map(a=>{let d="0.00",y="0.00";const p=a.bankindex??0;for(let b=0;b<t.mdGatewayMinMax.length;b++)t.mdGatewayMinMax[b].bankindex==p.toString()&&(d=t.mdGatewayMinMax[b].min,y=t.mdGatewayMinMax[b].max);const{amountList:_,minAmount:h,maxAmount:v}=U(Number(d),Number(y),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max),M={id:0,name:"autoChannel",amountList:_,min:h,max:v},S=a.pg.map(b=>{const D=b.mintransaction??"0.00",F=b.maxtransaction??"0.00",{amountList:I,minAmount:o,maxAmount:r}=U(Number(D),Number(F),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max);return{id:b.pgindex,name:b.bankaccountname,amountList:I,min:o,max:r}});return{id:a.bankindex??0,name:a.banknameenglish??"",amountList:[],min:0,max:0,gateway:[M,...S]}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}:A,ce=(e,t,n)=>{if(!n)return A;const c=C.auto;let a=[];const d=n.mdGatewayMinMax;if(t.bank.length>0&&n.mdPGSelection=="1")a=t.bank.map(p=>{const{amountList:_,minAmount:h,maxAmount:v}=U(p.minTransaction??0,p.maxTransaction??0,n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max);return{id:p.pgindex,name:p.bankaccountname||"",amountList:_,min:h,max:v}});else{let p="0.00",_="0.00";for(let l=0;l<d.length;l++)d[l].bankindex===e.toString()&&(p=d[l].min,_=d[l].max);const{amountList:h,minAmount:v,maxAmount:M}=U(Number(p),Number(_),n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max),S={id:0,name:"autoChannel",amountList:h,min:v,max:M};a.push(S)}return{id:e,name:"autoMethod",type:c,promo:w(t.promo),bank:a,requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},de=(e,t)=>{const n=C.fix;return{id:e,name:"fixAmountMethod",type:n,promo:w(t.promo),bank:t.bank.map(a=>{const d=a.amtlist.map(Number).sort((p,_)=>p-_);return{id:a.pgindex,name:a.name,amountList:a.amtlist,min:d.length>0?d[0]:0,max:d.length>0?d[d.length-1]:0}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},pe=e=>e.map(t=>({alert:t.announcement_alert=="1",update_time:t.announcement_lastupdated,content:t.announcement_simplified})),ge=e=>({username:e.username,birthday:e.mdUserDetail.dob,email:e.mdUserDetail.email,fullName:e.mdUserDetail.firstname,phoneNumber:e.mdUserDetail.mobileno,profilePicUrl:e.mdUserDetail.profile_pic}),fe=e=>e.mdGameListResult.map(t=>({code:t.code,id:t.id,name:t.name,nextPage:t.nextPage===1,list:t.mdPlatformProducts.map(n=>({id:Number(n.id),name:n.shortName,flag:n.flag,imageUrl:n.img,rate:"0.00"}))})),be=e=>({list:e.mdGrade.map(t=>({id:t.gradeindex,is_current_level:!1,name:t.grade_simplified,percentage:0,turnover:{isShow:!1,current:"0",total:t.min_activebet},deposit:{isShow:!1,current:"0",total:t.min_deposit},promo_list:t.promocash.filter(n=>n.isshow==1&&n.status=="1").map(n=>({name:n.promosimplified,min_deposit:n.min_deposit,promo_bonus:n.percentage,promo_limit:n.max_promo_amt,turnover_multiplier:n.multiply,type:n.promo_type})),benefit_list:t.benefit})),detail:[],bonus:{month:{isShow:!1,isClaimable:!1,value:"M",timestamp:0},week:{isShow:!1,isClaimable:!1,value:"W",timestamp:0},day:{isShow:!1,isClaimable:!1,value:"D",timestamp:0}}}),ye=e=>({category:e.category.sort((t,n)=>t.sequence-n.sequence).map(t=>({id:t.catid,name:t.name})),list:e.list.sort((t,n)=>t.sequence-n.sequence).map(t=>{let n="";return t.stime!==""&&t.etime!==""&&(n=`${t.stime} - ${t.etime}`),t.stime!==""&&t.etime===""&&(n=t.stime),t.stime===""&&t.etime!==""&&(n=t.etime),{category_id:t.catid,img_url:t.banner,content:t.content,time:n,name:t.title}})}),_e=e=>({month:{isClaimable:e.month===1},week:{isClaimable:e.week===1},day:{isClaimable:e.day===1}}),he=e=>e.mdVipSetting.filter(n=>n.status==1).map(n=>({fieldName:n.fieldname,showName:n.showname})),ve=e=>({current_deposit:e.deposit,current_turnover:e.turnOver,current_grade_id:e.mdCurrentGrade.gradeindex,next_grade_id:e.mdNextGrade.gradeindex,percentage:Number(e.percentage)*100}),Se=e=>{let t=4;e.vipcalculation&&(t=Number(e.vipcalculation));let n=[];return e.extralivechat&&(n=JSON.parse(e.extralivechat)),{vip_calculation:t,livechat:n.filter(c=>c.status===1).map(c=>({name:c.name,image_url:c.imgname,url:c.url})),mobileValidate:e.mobilevalidate?e.mobilevalidate=="1":!1}},Te=e=>{let t=[];e.mobileBanner&&(t=e.mobileBanner);let n=[];e.mobileAd&&(n=e.mobileAd);let c=[];return e.mobileAbout&&(c=e.mobileAbout),{banner:t.map(a=>`${a.imagepath}?${a.filemtime}`),ad:n.map(a=>`${a.imagepath}?${a.filemtime}`),about:c.map(a=>({name:a.name,content:a.content}))}},xe=e=>e.data.filter(t=>t.status==="1").map(t=>({code:t.area_code,regex:t.regex,value:t.value})),Me=e=>e,De=e=>{let t=null;return e?e.status!=1?t=0:t=e.mainwallet:t=0,{amount:t}},Ce=e=>e.data.filter(t=>t.status=="1").map(t=>({name:t.title,icon_url:t.flag_icon,code:t.code})),Le=e=>(console.log(e),{name:""}),ke=e=>e.data.filter(t=>t.company_status==1).map(t=>({id:t.company_id,name:t.company_name,date:[]})),Re=e=>e.data.map(t=>({id:t.key,date:t.draw_date.map(n=>Ne(n.draw_tmactive))}));function Ne(e){const t=new Date(e*1e3),n=t.getFullYear(),c=("0"+(t.getMonth()+1)).slice(-2),a=("0"+t.getDate()).slice(-2);return`${n}-${c}-${a}`}const Oe=e=>e.data.map(t=>({id:t.company_id,list:t.drawCount.map(n=>({combination:n.combination_combination,total:n.total}))})),Pe=e=>e.data.map(t=>({id:t.company_id,resultByDateList:t.draws.map(n=>{const c=n.results.filter(l=>l.combination_dimension==3).map(l=>l.combination_combination),a=n.results.filter(l=>l.combination_dimension==4&&l.combination_position==1).map(l=>l.combination_combination),d=n.results.filter(l=>l.combination_dimension==4&&l.combination_position==2).map(l=>l.combination_combination),y=n.results.filter(l=>l.combination_dimension==4&&l.combination_position==3).map(l=>l.combination_combination),p=n.results.filter(l=>l.combination_dimension==4&&l.combination_position==4).map(l=>l.combination_combination),_=n.results.filter(l=>l.combination_dimension==4&&l.combination_position==5).map(l=>l.combination_combination),h=n.results.filter(l=>l.combination_dimension==5&&l.combination_position==1).map(l=>l.combination_combination),v=n.results.filter(l=>l.combination_dimension==5).map(l=>l.combination_combination),M=n.results.filter(l=>l.combination_dimension==6&&l.combination_position==1).map(l=>l.combination_combination),S=n.results.filter(l=>l.combination_dimension==6).map(l=>l.combination_combination);return{date:n.date,3:c,4:{1:a,2:d,3:y,4:p,5:_},5:{1:h,all:v},6:{1:M,all:S}}})})),Be=e=>e.data.map(t=>({id:t.id,date:t.matchDate,tag:t.tag,away:{id:t.awayid,name:t.away,logo_url:t.awayLogo},home:{id:t.homeid,name:t.home,logo_url:t.homeLogo}})),je=e=>e,Ue=e=>({status:e.status==1,message:e.message??"",error_message:e.errormessage??"",flag:e.flag}),E=Object.freeze(Object.defineProperty({__proto__:null,post:async e=>{var t,n,c,a,d,y,p,_,h,v,M;try{e.findIndex(r=>r.name===m.vipList)!==-1&&e.push({name:m.vipBonus,query:""},{name:m.vipFieldStatus,query:""},{name:m.vipStatus,query:""},{name:m.getSetting,query:JSON.stringify({name:["vipcalculation"]})}),e.findIndex(r=>r.name===m.gameList)!==-1&&e.push({name:m.getPlatformTurnoverRate,query:""});const b=e.findIndex(r=>r.name===m.getFourDimensionData);b!==-1&&e[b].query==""&&(e.splice(b),e.push({name:m.getFourDimensionData,query:JSON.stringify({action:"getCompany",native:"1"})},{name:m.getFourDimensionData,query:JSON.stringify({action:"searchResultDate",limit:100,company:[],native:"1",splitCompany:"1"})}));const F={requests:e.map(r=>({name:r.name,query:btoa(r.query)}))},I=await j.post("/jwt",ae(JSON.stringify(F))),o={status:200,message:"",result:{}};for(const r of I.data.responses){r.error!=null&&r.error.code!=200&&(o.status=r.error.code,o.message=r.error.message);const f=r.attributes!==null&&r.attributes!==void 0?se(r.attributes):null,s=r.name,i=f?JSON.parse(f):null;if(!i)o.result[s]=null;else switch(s){case m.announcement:o.result[s]=pe(i);break;case m.gameList:o.result[s]=fe(i);break;case m.cmsList:o.result[s]=Te(i);break;case m.paymentsProvider:o.result[s]=me(i);break;case m.getUserProfile:o.result[s]=ge(i);break;case m.vipList:o.result[s]=be(i);break;case m.vipBonus:console.log(i),o.result[s]=_e(i);break;case m.vipFieldStatus:o.result[s]=he(i);break;case m.vipStatus:o.result[s]=ve(i);break;case m.promotion:o.result[s]=ye(i);break;case m.getSetting:o.result[s]=Se(i);break;case m.getCountryMobile:o.result[s]=xe(i);break;case m.getPlatformTurnoverRate:o.result[s]=Me(i);break;case m.mainWallet:o.result[s]=De(i);break;case m.getLanguageSetting:o.result[s]=Ce(i);break;case m.getFourDimensionData:o.result[s]=Le(i);break;case m.getCompany:o.result[s]=ke(i);break;case m.searchResultDate:o.result[s]=Re(i);break;case m.searchHot:o.result[s]=Oe(i);break;case m.searchByDate:o.result[s]=Pe(i);break;case m.upcomingMatches:o.result[s]=Be(i);break;case m.deposit:o.result[s]=je(i);break;case m.applyVipBonus:o.result[s]=Ue(i);break}}if(m.vipList in o.result&&((t=o.result)!=null&&t.vipList)){const r=o.result.vipList;let f=4;if(m.getSetting in o.result&&((n=o.result)!=null&&n.getSetting&&(f=o.result.getSetting.vip_calculation),delete o.result.getSetting),m.vipStatus in o.result){if((c=o.result)!=null&&c.vipStatus){const s=o.result.vipStatus,{current_grade_id:i,current_deposit:x,current_turnover:L,percentage:R}=s,k=r.list.findIndex(T=>T.id===i);r.list=r.list.map((T,P)=>{const B=P===k;let N="0",u="0",q=0;return B?(N=`${Math.min(Number(x),Number(T.deposit.total))}`,u=`${Math.min(Number(L),Number(T.turnover.total))}`,q=R):P<k?(N=T.deposit.total,u=T.turnover.total,q=1):P>k&&(N="0.00",u="0.00",q=0),{...T,is_current_level:B,deposit:{...T.deposit,isShow:f===1||f===3||f===4,current:N},turnover:{...T.turnover,isShow:f===2||f===3||f===4,current:u},percentage:q}})}delete o.result.vipStatus}if(m.vipBonus in o.result){if((a=o.result)!=null&&a.vipBonus){const s=o.result.vipBonus,i=r.list.find(k=>k.is_current_level==!0);console.log(r.list);const x=Number(i==null?void 0:i.benefit_list.daily.bonus)??0,L=Number(i==null?void 0:i.benefit_list.weekly.bonus)??0,R=Number(i==null?void 0:i.benefit_list.monthly.bonus)??0;r.bonus.day.isClaimable=s.day.isClaimable,r.bonus.day.timestamp=!s.day.isClaimable&&x>0?re():0,r.bonus.week.isClaimable=s.week.isClaimable,r.bonus.week.timestamp=!s.week.isClaimable&&L>0?le():0,r.bonus.month.isClaimable=s.month.isClaimable,r.bonus.month.timestamp=!s.month.isClaimable&&R>0?ie():0}delete o.result.vipBonus}if(m.vipFieldStatus in o.result){if((d=o.result)!=null&&d.vipFieldStatus){const s=o.result.vipFieldStatus,i=[];i.push({name:"",code:"vipLevel",value:r.list.map(u=>u.name)});const x=s.findIndex(u=>u.fieldName=="upgrade_bonus");x>-1&&i.push({name:s[x].showName,code:"",value:r.list.map(u=>u.benefit_list.upgrade.bonus)});const L=s.findIndex(u=>u.fieldName=="upgrade_bonus_multiply");L>-1&&i.push({name:s[L].showName,code:"",value:r.list.map(u=>u.benefit_list.upgrade.turnover)});const R=s.findIndex(u=>u.fieldName=="monthly_bonus");r.bonus.month.isShow=R>-1,R>-1&&i.push({name:s[R].showName,code:"",value:r.list.map(u=>u.benefit_list.monthly.bonus)});const k=s.findIndex(u=>u.fieldName=="monthly_bonus_multiply");k>-1&&i.push({name:s[k].showName,code:"",value:r.list.map(u=>u.benefit_list.monthly.turnover)});const T=s.findIndex(u=>u.fieldName=="weekly_bonus");r.bonus.week.isShow=T>-1,T>-1&&i.push({name:s[T].showName,code:"",value:r.list.map(u=>u.benefit_list.weekly.bonus)});const P=s.findIndex(u=>u.fieldName=="weekly_bonus_multiply");P>-1&&i.push({name:s[P].showName,code:"",value:r.list.map(u=>u.benefit_list.weekly.turnover)});const B=s.findIndex(u=>u.fieldName=="daily_bonus");r.bonus.day.isShow=B>-1,B>-1&&i.push({name:s[B].showName,code:"",value:r.list.map(u=>u.benefit_list.daily.bonus)});const N=s.findIndex(u=>u.fieldName=="daily_bonus_multiply");N>-1&&i.push({name:s[N].showName,code:"",value:r.list.map(u=>u.benefit_list.daily.turnover)}),(f===1||f===3||f===4)&&i.push({name:"",code:"detail_deposit",value:r.list.map(u=>u.deposit.total)}),(f===2||f===3||f===4)&&i.push({name:"",code:"detail_turnover",value:r.list.map(u=>u.turnover.total)}),r.detail=i}delete o.result.vipFieldStatus}o.result.vipList=r}if(m.gameList in o.result&&((y=o.result)!=null&&y.gameList)){const r=o.result.gameList;if(m.getPlatformTurnoverRate in o.result&&((p=o.result)!=null&&p.getPlatformTurnoverRate)){const f=o.result.getPlatformTurnoverRate;r.forEach(s=>{s.list=s.list.map(i=>{const x=f.find(L=>L.id===i.id);return{...i,rate:(x==null?void 0:x.percentage)??"0.00"}})}),delete o.result.getPlatformTurnoverRate}o.result.gameList=r}if(m.getCompany in o.result&&((_=o.result)!=null&&_.getCompany)){const r=o.result.getCompany;if(m.searchResultDate in o.result&&(h=o.result)!=null&&h.searchResultDate){const f=o.result.searchResultDate;r.forEach(s=>{const i=f.find(x=>x.id==s.id);i&&(s.date=i==null?void 0:i.date)}),delete o.result.searchResultDate}o.result.getCompany=r}return o}catch(S){return O.isAxiosError(S)?{status:((v=S.response)==null?void 0:v.status)||600,message:JSON.stringify((M=S.response)==null?void 0:M.data),result:{}}:(console.error(S),{status:S.status||500,message:S.message,result:{}})}}},Symbol.toStringTag,{value:"Module"})),V=Object.freeze(Object.defineProperty({__proto__:null,call:async(e,t)=>{try{const n={status:200,message:""};return await j.post("/auth/sesh",JSON.stringify({usr:e,pwd:t})),n}catch(n){return console.error(`login: ${JSON.stringify(n)}`),{status:n.status||500,message:n.message}}}},Symbol.toStringTag,{value:"Module"})),J=Object.freeze(Object.defineProperty({__proto__:null,call:async()=>{try{const e={status:200,message:""};return await j.post("/auth/sesh/logout"),e}catch(e){return console.error(`login: ${JSON.stringify(e)}`),{status:e.status||500,message:e.message}}}},Symbol.toStringTag,{value:"Module"})),W=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),H=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Y=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),K=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Q=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),X=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Z=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ee=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),te=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ne=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),oe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),we={api:E,loginApi:V,logoutApi:J,apiType:G,loginType:W,logoutType:H,announcementType:Y,paymentsProviderType:$,gameListType:K,vipListType:Q,promotionType:X,cmsListType:Z,mainWalletType:ee,upcomingMatchType:te,depositType:ne,applyVipBonus:oe},Fe={install(e){e.config.globalProperties.$library=we}};g.Repository=Fe,g.announcementType=Y,g.api=E,g.apiType=G,g.applyVipBonus=oe,g.cmsListType=Z,g.depositType=ne,g.gameListType=K,g.loginApi=V,g.loginType=W,g.logoutApi=J,g.logoutType=H,g.mainWalletType=ee,g.paymentsProviderType=$,g.promotionType=X,g.upcomingMatchType=te,g.vipListType=Q,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
1
+ (function(g,I){typeof exports=="object"&&typeof module<"u"?I(exports,require("axios")):typeof define=="function"&&define.amd?define(["exports","axios"],I):(g=typeof globalThis<"u"?globalThis:g||self,I(g["60p82u21t54k"]={},g.axios))})(this,function(g,I){"use strict";const j=I.create({baseURL:"/graph",timeout:5e3,headers:{"Content-Type":"application/json"}});j.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),j.interceptors.response.use(e=>e,e=>{const t={status:null,message:"An error occurred"};return e.response?(t.status=e.response.status,t.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(t)),e.response.status===401?console.error("Unauthorized access - redirecting to login."):e.response.status===404?console.error("Resource not found."):e.response.status>=500&&console.error("Server error. Please try again later.")):e.request?console.error("No response received:",e.request):console.error("Error setting up request:",e.message),Promise.reject(t)});const se=e=>new TextEncoder().encode(e),ae=e=>{try{return atob(e)}catch(t){return console.error("Failed to decode Base64:",t),""}},ie=()=>{const e=new Date,t=e.getFullYear(),n=e.getMonth(),c=new Date(t,n,1,12,0,0),s=new Date(t,n+1,1,12,0,0),d=Math.floor((s.getTime()-e.getTime())/1e3),f=Math.floor((s.getTime()-c.getTime())/1e3),p=f-d;return{monthRemainingTime:d,monthProgressPercentage:Math.round(p/f*100)}},re=()=>{const e=new Date,t=e.getDay(),n=t===1?7:8-t,c=new Date(e.getFullYear(),e.getMonth(),e.getDate()+n,12,0,0,0),s=Math.floor((c.getTime()-e.getTime())/1e3),b=7*24*60*60;return console.log(s),console.log(b),{weekRemainingTime:s,weekProgressPercentage:Math.round(s/b*100)}},le=()=>{const e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()+1,12,0,0,0),n=Math.floor((t.getTime()-e.getTime())/1e3),f=24*60*60;return{dayRemainingTime:n,dayProgressPercentage:Math.round(n/f*100)}};var u=(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))(u||{});const U=Object.freeze(Object.defineProperty({__proto__:null,Api:u},Symbol.toStringTag,{value:"Module"}));var D=(e=>(e.default="default",e.pay="pay",e.auto="auto",e.fix="fix",e.manual="manual",e.unknown="unknown",e))(D||{});const $=Object.freeze(Object.defineProperty({__proto__:null,PaymentType:D},Symbol.toStringTag,{value:"Module"})),ue=e=>e.mdPaymentChannels.map(t=>{const n=[];switch(t.name){case D.default:n.push(z(t.paymentmethod.manual,e));break;case D.pay:n.push(me(t.paymentmethod.onlinebanking,e));break;default:if(t.paymentmethod.auto.bank.length>0&&n.push(ce(t.bankid??0,t.paymentmethod.auto,e)),t.paymentmethod.manual.bank.length>0){let c=!1;for(let s=0;s<t.paymentmethod.manual.bank.length;s++){const d=t.paymentmethod.manual.bank[s];if(d.list&&d.list.length>0){c=!0;break}}c&&n.push(z(t.paymentmethod.manual,e))}t.paymentmethod.fixamount.bank.length>0&&n.push(de(t.bankid??0,t.paymentmethod.fixamount))}return{name:t.label,imageUrl:`/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,paymentList:n}}),G={id:0,name:"",type:D.unknown,promo:[],bank:[],requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}},F=e=>{const t={id:0,name:"excludePromo",value:"0",disabled:!0},n=e.map((c,s)=>({id:s+1,name:c.promodesc,value:c.promoindex.toString(),disabled:!1}));return[t,...n]},A=(e,t,n,c)=>{let s,d;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);const f=Math.round(s);let p=1e3;d<p&&(p=Math.round(d));const _=p-f;let b="",v="";if(_>0){let h=Math.round((p-f)*.25).toString().split(""),k=[];for(const o of h)o!==""&&k.push(o);for(let o=0;o<k.length;o++)o===0?b+=(parseInt(k[o])+1).toString():b+="0";h=Math.round((p-f)*.5).toString().split(""),k=[];for(const o of h)o!==""&&k.push(o);for(let o=0;o<k.length;o++)o===0?v+=(parseInt(k[o])+1).toString():v+="0"}else b=p.toString(),v=p.toString();return{amountList:[f.toString(),b,v,p.toString()],minAmount:f,maxAmount:d}},z=(e,t)=>t?{id:0,name:"manualMethod",type:D.manual,promo:F(e.promo),bank:e.bank.map(s=>{const d=s.list&&s.list.length>0?s.list[0].mintransaction??"0.00":"0.00",f=s.list&&s.list.length>0?s.list[0].maxtransaction??"0.00":"0.00",{amountList:p,minAmount:_,maxAmount:b}=A(Number(d),Number(f),t.mdBankLevelDetail.deposit_min,t.mdBankLevelDetail.deposit_max);return t.mdManualDepositRequireField.depositor=!0,{id:s.bankindex??0,bankAccountId:s.list&&s.list.length>0?s.list[0].bankaccountindex??0:0,name:s.list&&s.list.length>0?s.list[0].label??"":"",accountName:s.list&&s.list.length>0?s.list[0].bankaccountname??"":"",accountNo:s.list&&s.list.length>0?s.list[0].bankaccountno??"":"",qrcode:s.list&&s.list.length>0?s.list[0].bankaccountdesc:"",amountList:p,min:_,max:b}}),requiredField:{...t.mdManualDepositRequireField,uploadReceipt:t.mdUploadReceipt}}:G,me=(e,t)=>t?{id:0,name:"onlineBankingMethod",type:D.pay,promo:F(e.promo),bank:e.banklist.map(s=>{let d="0.00",f="0.00";const p=s.bankindex??0;for(let h=0;h<t.mdGatewayMinMax.length;h++)t.mdGatewayMinMax[h].bankindex==p.toString()&&(d=t.mdGatewayMinMax[h].min,f=t.mdGatewayMinMax[h].max);const{amountList:_,minAmount:b,maxAmount:v}=A(Number(d),Number(f),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max),M={id:0,name:"autoChannel",amountList:_,min:b,max:v},x=s.pg.map(h=>{const k=h.mintransaction??"0.00",w=h.maxtransaction??"0.00",{amountList:q,minAmount:o,maxAmount:l}=A(Number(k),Number(w),t.mdBankLevelDetail.onlinepayment_min,t.mdBankLevelDetail.onlinepayment_max);return{id:h.pgindex,name:h.bankaccountname,amountList:q,min:o,max:l}});return{id:s.bankindex??0,name:s.banknameenglish??"",amountList:[],min:0,max:0,gateway:[M,...x]}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}:G,ce=(e,t,n)=>{if(!n)return G;const c=D.auto;let s=[];const d=n.mdGatewayMinMax;if(t.bank.length>0&&n.mdPGSelection=="1")s=t.bank.map(p=>{const{amountList:_,minAmount:b,maxAmount:v}=A(p.minTransaction??0,p.maxTransaction??0,n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max);return{id:p.pgindex,name:p.bankaccountname||"",amountList:_,min:b,max:v}});else{let p="0.00",_="0.00";for(let r=0;r<d.length;r++)d[r].bankindex===e.toString()&&(p=d[r].min,_=d[r].max);const{amountList:b,minAmount:v,maxAmount:M}=A(Number(p),Number(_),n.mdBankLevelDetail.onlinepayment_min,n.mdBankLevelDetail.onlinepayment_max),x={id:0,name:"autoChannel",amountList:b,min:v,max:M};s.push(x)}return{id:e,name:"autoMethod",type:c,promo:F(t.promo),bank:s,requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},de=(e,t)=>{const n=D.fix;return{id:e,name:"fixAmountMethod",type:n,promo:F(t.promo),bank:t.bank.map(s=>{const d=s.amtlist.map(Number).sort((p,_)=>p-_);return{id:s.pgindex,name:s.name,amountList:s.amtlist,min:d.length>0?d[0]:0,max:d.length>0?d[d.length-1]:0}}),requiredField:{deposit_bank:!1,deposit_datetime:!1,deposit_detail:!1,deposit_method:!1,depositor:!1,uploadReceipt:!1}}},pe=e=>e.map(t=>({alert:t.announcement_alert=="1",update_time:t.announcement_lastupdated,content:t.announcement_simplified})),ge=e=>({username:e.username,birthday:e.mdUserDetail.dob,email:e.mdUserDetail.email,fullName:e.mdUserDetail.firstname,phoneNumber:e.mdUserDetail.mobileno,profilePicUrl:e.mdUserDetail.profile_pic}),fe=e=>e.mdGameListResult.map(t=>({code:t.code,id:t.id,name:t.name,nextPage:t.nextPage===1,list:t.mdPlatformProducts.map(n=>({id:Number(n.id),name:n.shortName,flag:n.flag,imageUrl:n.img,rate:"0.00"}))})),ye=e=>({list:e.mdGrade.map(t=>({id:t.gradeindex,is_current_level:!1,name:t.grade_simplified,percentage:0,turnover:{isShow:!1,current:"0",total:t.min_activebet},deposit:{isShow:!1,current:"0",total:t.min_deposit},promo_list:t.promocash.filter(n=>n.isshow==1&&n.status=="1").map(n=>({name:n.promosimplified,min_deposit:n.min_deposit,promo_bonus:n.percentage,promo_limit:n.max_promo_amt,turnover_multiplier:n.multiply,type:n.promo_type})),benefit_list:t.benefit})),detail:[],bonus:{month:{isShow:!1,isClaimable:!1,value:"M",timestamp:{current:0,percentage:0}},week:{isShow:!1,isClaimable:!1,value:"W",timestamp:{current:0,percentage:0}},day:{isShow:!1,isClaimable:!1,value:"D",timestamp:{current:0,percentage:0}}}}),be=e=>({category:e.category.sort((t,n)=>t.sequence-n.sequence).map(t=>({id:t.catid,name:t.name})),list:e.list.sort((t,n)=>t.sequence-n.sequence).map(t=>{let n="";return t.stime!==""&&t.etime!==""&&(n=`${t.stime} - ${t.etime}`),t.stime!==""&&t.etime===""&&(n=t.stime),t.stime===""&&t.etime!==""&&(n=t.etime),{category_id:t.catid,img_url:t.banner,content:t.content,time:n,name:t.title}})}),_e=e=>({month:{isClaimable:e.month===1},week:{isClaimable:e.week===1},day:{isClaimable:e.day===1}}),he=e=>e.mdVipSetting.filter(n=>n.status==1).map(n=>({fieldName:n.fieldname,showName:n.showname})),ve=e=>({current_deposit:e.deposit,current_turnover:e.turnOver,current_grade_id:e.mdCurrentGrade.gradeindex,next_grade_id:e.mdNextGrade.gradeindex,percentage:Number(e.percentage)*100}),Se=e=>{let t=4;e.vipcalculation&&(t=Number(e.vipcalculation));let n=[];return e.extralivechat&&(n=JSON.parse(e.extralivechat)),{vip_calculation:t,livechat:n.filter(c=>c.status===1).map(c=>({name:c.name,image_url:c.imgname,url:c.url})),mobileValidate:e.mobilevalidate?e.mobilevalidate=="1":!1}},xe=e=>{let t=[];e.mobileBanner&&(t=e.mobileBanner);let n=[];e.mobileAd&&(n=e.mobileAd);let c=[];return e.mobileAbout&&(c=e.mobileAbout),{banner:t.map(s=>`${s.imagepath}?${s.filemtime}`),ad:n.map(s=>`${s.imagepath}?${s.filemtime}`),about:c.map(s=>({name:s.name,content:s.content}))}},Te=e=>e.data.filter(t=>t.status==="1").map(t=>({code:t.area_code,regex:t.regex,value:t.value})),Me=e=>e,ke=e=>{let t=null;return e?e.status!=1?t=0:t=e.mainwallet:t=0,{amount:t}},De=e=>e.data.filter(t=>t.status=="1").map(t=>({name:t.title,icon_url:t.flag_icon,code:t.code})),Re=e=>(console.log(e),{name:""}),Le=e=>e.data.filter(t=>t.company_status==1).map(t=>({id:t.company_id,name:t.company_name,date:[]})),Pe=e=>e.data.map(t=>({id:t.key,date:t.draw_date.map(n=>Ne(n.draw_tmactive))}));function Ne(e){const t=new Date(e*1e3),n=t.getFullYear(),c=("0"+(t.getMonth()+1)).slice(-2),s=("0"+t.getDate()).slice(-2);return`${n}-${c}-${s}`}const Oe=e=>e.data.map(t=>({id:t.company_id,list:t.drawCount.map(n=>({combination:n.combination_combination,total:n.total}))})),Ce=e=>e.data.map(t=>({id:t.company_id,resultByDateList:t.draws.map(n=>{const c=n.results.filter(r=>r.combination_dimension==3).map(r=>r.combination_combination),s=n.results.filter(r=>r.combination_dimension==4&&r.combination_position==1).map(r=>r.combination_combination),d=n.results.filter(r=>r.combination_dimension==4&&r.combination_position==2).map(r=>r.combination_combination),f=n.results.filter(r=>r.combination_dimension==4&&r.combination_position==3).map(r=>r.combination_combination),p=n.results.filter(r=>r.combination_dimension==4&&r.combination_position==4).map(r=>r.combination_combination),_=n.results.filter(r=>r.combination_dimension==4&&r.combination_position==5).map(r=>r.combination_combination),b=n.results.filter(r=>r.combination_dimension==5&&r.combination_position==1).map(r=>r.combination_combination),v=n.results.filter(r=>r.combination_dimension==5).map(r=>r.combination_combination),M=n.results.filter(r=>r.combination_dimension==6&&r.combination_position==1).map(r=>r.combination_combination),x=n.results.filter(r=>r.combination_dimension==6).map(r=>r.combination_combination);return{date:n.date,3:c,4:{1:s,2:d,3:f,4:p,5:_},5:{1:b,all:v},6:{1:M,all:x}}})})),Ie=e=>e.data.map(t=>({id:t.id,date:t.matchDate,tag:t.tag,away:{id:t.awayid,name:t.away,logo_url:t.awayLogo},home:{id:t.homeid,name:t.home,logo_url:t.homeLogo}})),Be=e=>e,je=e=>({status:e.status==1,message:e.message??"",error_message:e.errormessage??"",flag:e.flag}),E=Object.freeze(Object.defineProperty({__proto__:null,post:async e=>{var t,n,c,s,d,f,p,_,b,v,M;try{e.findIndex(l=>l.name===u.vipList)!==-1&&e.push({name:u.vipBonus,query:""},{name:u.vipFieldStatus,query:""},{name:u.vipStatus,query:""},{name:u.getSetting,query:JSON.stringify({name:["vipcalculation"]})}),e.findIndex(l=>l.name===u.gameList)!==-1&&e.push({name:u.getPlatformTurnoverRate,query:""});const h=e.findIndex(l=>l.name===u.getFourDimensionData);h!==-1&&e[h].query==""&&(e.splice(h),e.push({name:u.getFourDimensionData,query:JSON.stringify({action:"getCompany",native:"1"})},{name:u.getFourDimensionData,query:JSON.stringify({action:"searchResultDate",limit:100,company:[],native:"1",splitCompany:"1"})}));const w={requests:e.map(l=>({name:l.name,query:btoa(l.query)}))},q=await j.post("/jwt",se(JSON.stringify(w))),o={status:200,message:"",result:{}};for(const l of q.data.responses){l.error!=null&&l.error.code!=200&&(o.status=l.error.code,o.message=l.error.message);const y=l.attributes!==null&&l.attributes!==void 0?ae(l.attributes):null,a=l.name,i=y?JSON.parse(y):null;if(!i)o.result[a]=null;else switch(a){case u.announcement:o.result[a]=pe(i);break;case u.gameList:o.result[a]=fe(i);break;case u.cmsList:o.result[a]=xe(i);break;case u.paymentsProvider:o.result[a]=ue(i);break;case u.getUserProfile:o.result[a]=ge(i);break;case u.vipList:o.result[a]=ye(i);break;case u.vipBonus:o.result[a]=_e(i);break;case u.vipFieldStatus:o.result[a]=he(i);break;case u.vipStatus:o.result[a]=ve(i);break;case u.promotion:o.result[a]=be(i);break;case u.getSetting:o.result[a]=Se(i);break;case u.getCountryMobile:o.result[a]=Te(i);break;case u.getPlatformTurnoverRate:o.result[a]=Me(i);break;case u.mainWallet:o.result[a]=ke(i);break;case u.getLanguageSetting:o.result[a]=De(i);break;case u.getFourDimensionData:o.result[a]=Re(i);break;case u.getCompany:o.result[a]=Le(i);break;case u.searchResultDate:o.result[a]=Pe(i);break;case u.searchHot:o.result[a]=Oe(i);break;case u.searchByDate:o.result[a]=Ce(i);break;case u.upcomingMatches:o.result[a]=Ie(i);break;case u.deposit:o.result[a]=Be(i);break;case u.applyVipBonus:o.result[a]=je(i);break}}if(u.vipList in o.result&&((t=o.result)!=null&&t.vipList)){const l=o.result.vipList;let y=4;if(u.getSetting in o.result&&((n=o.result)!=null&&n.getSetting&&(y=o.result.getSetting.vip_calculation),delete o.result.getSetting),u.vipStatus in o.result){if((c=o.result)!=null&&c.vipStatus){const a=o.result.vipStatus,{current_grade_id:i,current_deposit:T,current_turnover:L,percentage:C}=a,P=l.list.findIndex(S=>S.id===i);l.list=l.list.map((S,N)=>{const O=N===P;let R="0",m="0",B=0;return O?(R=`${Math.min(Number(T),Number(S.deposit.total))}`,m=`${Math.min(Number(L),Number(S.turnover.total))}`,B=C):N<P?(R=S.deposit.total,m=S.turnover.total,B=1):N>P&&(R="0.00",m="0.00",B=0),{...S,is_current_level:O,deposit:{...S.deposit,isShow:y===1||y===3||y===4,current:R},turnover:{...S.turnover,isShow:y===2||y===3||y===4,current:m},percentage:B}})}delete o.result.vipStatus}if(u.vipBonus in o.result){if((s=o.result)!=null&&s.vipBonus){const a=o.result.vipBonus,i=l.list.find(B=>B.is_current_level==!0),T=Number(i==null?void 0:i.benefit_list.daily.bonus)??0,L=Number(i==null?void 0:i.benefit_list.weekly.bonus)??0,C=Number(i==null?void 0:i.benefit_list.monthly.bonus)??0;l.bonus.day.isClaimable=a.day.isClaimable;const{dayRemainingTime:P,dayProgressPercentage:S}=le();l.bonus.day.timestamp={current:!a.day.isClaimable&&T>0?P:0,percentage:S},l.bonus.week.isClaimable=a.week.isClaimable;const{weekRemainingTime:N,weekProgressPercentage:O}=re();l.bonus.week.timestamp={current:!a.week.isClaimable&&L>0?N:0,percentage:O},l.bonus.month.isClaimable=a.month.isClaimable;const{monthRemainingTime:R,monthProgressPercentage:m}=ie();l.bonus.month.timestamp={current:!a.month.isClaimable&&C>0?R:0,percentage:m}}delete o.result.vipBonus}if(u.vipFieldStatus in o.result){if((d=o.result)!=null&&d.vipFieldStatus){const a=o.result.vipFieldStatus,i=[];i.push({name:"",code:"vipLevel",value:l.list.map(m=>m.name)});const T=a.findIndex(m=>m.fieldName=="upgrade_bonus");T>-1&&i.push({name:a[T].showName,code:"",value:l.list.map(m=>m.benefit_list.upgrade.bonus)});const L=a.findIndex(m=>m.fieldName=="upgrade_bonus_multiply");L>-1&&i.push({name:a[L].showName,code:"",value:l.list.map(m=>m.benefit_list.upgrade.turnover)});const C=a.findIndex(m=>m.fieldName=="monthly_bonus");l.bonus.month.isShow=C>-1,C>-1&&i.push({name:a[C].showName,code:"",value:l.list.map(m=>m.benefit_list.monthly.bonus)});const P=a.findIndex(m=>m.fieldName=="monthly_bonus_multiply");P>-1&&i.push({name:a[P].showName,code:"",value:l.list.map(m=>m.benefit_list.monthly.turnover)});const S=a.findIndex(m=>m.fieldName=="weekly_bonus");l.bonus.week.isShow=S>-1,S>-1&&i.push({name:a[S].showName,code:"",value:l.list.map(m=>m.benefit_list.weekly.bonus)});const N=a.findIndex(m=>m.fieldName=="weekly_bonus_multiply");N>-1&&i.push({name:a[N].showName,code:"",value:l.list.map(m=>m.benefit_list.weekly.turnover)});const O=a.findIndex(m=>m.fieldName=="daily_bonus");l.bonus.day.isShow=O>-1,O>-1&&i.push({name:a[O].showName,code:"",value:l.list.map(m=>m.benefit_list.daily.bonus)});const R=a.findIndex(m=>m.fieldName=="daily_bonus_multiply");R>-1&&i.push({name:a[R].showName,code:"",value:l.list.map(m=>m.benefit_list.daily.turnover)}),(y===1||y===3||y===4)&&i.push({name:"",code:"detail_deposit",value:l.list.map(m=>m.deposit.total)}),(y===2||y===3||y===4)&&i.push({name:"",code:"detail_turnover",value:l.list.map(m=>m.turnover.total)}),l.detail=i}delete o.result.vipFieldStatus}o.result.vipList=l}if(u.gameList in o.result&&((f=o.result)!=null&&f.gameList)){const l=o.result.gameList;if(u.getPlatformTurnoverRate in o.result&&((p=o.result)!=null&&p.getPlatformTurnoverRate)){const y=o.result.getPlatformTurnoverRate;l.forEach(a=>{a.list=a.list.map(i=>{const T=y.find(L=>L.id===i.id);return{...i,rate:(T==null?void 0:T.percentage)??"0.00"}})}),delete o.result.getPlatformTurnoverRate}o.result.gameList=l}if(u.getCompany in o.result&&((_=o.result)!=null&&_.getCompany)){const l=o.result.getCompany;if(u.searchResultDate in o.result&&(b=o.result)!=null&&b.searchResultDate){const y=o.result.searchResultDate;l.forEach(a=>{const i=y.find(T=>T.id==a.id);i&&(a.date=i==null?void 0:i.date)}),delete o.result.searchResultDate}o.result.getCompany=l}return o}catch(x){return I.isAxiosError(x)?{status:((v=x.response)==null?void 0:v.status)||600,message:JSON.stringify((M=x.response)==null?void 0:M.data),result:{}}:(console.error(x),{status:x.status||500,message:x.message,result:{}})}}},Symbol.toStringTag,{value:"Module"})),V=Object.freeze(Object.defineProperty({__proto__:null,call:async(e,t)=>{try{const n={status:200,message:""};return await j.post("/auth/sesh",JSON.stringify({usr:e,pwd:t})),n}catch(n){return console.error(`login: ${JSON.stringify(n)}`),{status:n.status||500,message:n.message}}}},Symbol.toStringTag,{value:"Module"})),W=Object.freeze(Object.defineProperty({__proto__:null,call:async()=>{try{const e={status:200,message:""};return await j.post("/auth/sesh/logout"),e}catch(e){return console.error(`login: ${JSON.stringify(e)}`),{status:e.status||500,message:e.message}}}},Symbol.toStringTag,{value:"Module"})),J=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),H=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Y=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),K=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Q=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),X=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Z=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ee=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),te=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),ne=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),oe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Ae={api:E,loginApi:V,logoutApi:W,apiType:U,loginType:J,logoutType:H,announcementType:Y,paymentsProviderType:$,gameListType:K,vipListType:Q,promotionType:X,cmsListType:Z,mainWalletType:ee,upcomingMatchType:te,depositType:ne,applyVipBonus:oe},Fe={install(e){e.config.globalProperties.$library=Ae}};g.Repository=Fe,g.announcementType=Y,g.api=E,g.apiType=U,g.applyVipBonus=oe,g.cmsListType=Z,g.depositType=ne,g.gameListType=K,g.loginApi=V,g.loginType=J,g.logoutApi=W,g.logoutType=H,g.mainWalletType=ee,g.paymentsProviderType=$,g.promotionType=X,g.upcomingMatchType=te,g.vipListType=Q,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAQA,OAAO,EAAO,cAAc,EAAiB,cAAc,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmCnF,eAAO,MAAM,IAAI,GAAU,CAAC,SAAS,MAAM,cAAc,YAC7C,cAAc,CAAC,CAAC,CAAC,EAAE,KAC5B,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAkdnB,CAAA"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api/api.ts"],"names":[],"mappings":"AAQA,OAAO,EAAO,cAAc,EAAiB,cAAc,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmCnF,eAAO,MAAM,IAAI,GAAU,CAAC,SAAS,MAAM,cAAc,YAC7C,cAAc,CAAC,CAAC,CAAC,EAAE,KAC5B,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CA4dnB,CAAA"}
package/dist/main.d.ts CHANGED
@@ -1,2 +1 @@
1
- export {};
2
1
  //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getVipListResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipList/getVipListResponse.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"getVipListResponse.d.ts","sourceRoot":"","sources":["../../../src/model/vipList/getVipListResponse.ts"],"names":[],"mappings":"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"}
@@ -55,19 +55,28 @@ export type VipListResponse = {
55
55
  isShow: boolean;
56
56
  isClaimable: boolean;
57
57
  value: string;
58
- timestamp: number;
58
+ timestamp: {
59
+ current: number;
60
+ percentage: number;
61
+ };
59
62
  };
60
63
  week: {
61
64
  isShow: boolean;
62
65
  isClaimable: boolean;
63
66
  value: string;
64
- timestamp: number;
67
+ timestamp: {
68
+ current: number;
69
+ percentage: number;
70
+ };
65
71
  };
66
72
  day: {
67
73
  isShow: boolean;
68
74
  isClaimable: boolean;
69
75
  value: string;
70
- timestamp: number;
76
+ timestamp: {
77
+ current: number;
78
+ percentage: number;
79
+ };
71
80
  };
72
81
  };
73
82
  };
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/vipList/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,gBAAgB,EAAE,OAAO,CAAA;QACzB,IAAI,EAAE,MAAM,CAAA;QACZ,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE;YACR,MAAM,EAAE,OAAO,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;QACD,OAAO,EAAE;YACP,MAAM,EAAE,OAAO,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;QACD,UAAU,EAAE;YACV,IAAI,EAAE,MAAM,CAAA;YACZ,WAAW,EAAE,MAAM,CAAA;YACnB,WAAW,EAAE,MAAM,CAAA;YACnB,WAAW,EAAE,MAAM,CAAA;YACnB,mBAAmB,EAAE,MAAM,CAAA;YAC3B,IAAI,EAAE,MAAM,CAAA;SACb,EAAE,CAAA;QACH,YAAY,EAAE;YACZ,KAAK,EAAE;gBACL,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;SACF,CAAA;KACF,EAAE,CAAA;IACH,MAAM,EAAE,SAAS,CAAA;IACjB,KAAK,EAAE;QACL,KAAK,EAAE;YACL,MAAM,EAAE,OAAO,CAAA;YACf,WAAW,EAAE,OAAO,CAAA;YACpB,KAAK,EAAE,MAAM,CAAA;YACb,SAAS,EAAE,MAAM,CAAA;SAClB,CAAA;QACD,IAAI,EAAE;YACJ,MAAM,EAAE,OAAO,CAAA;YACf,WAAW,EAAE,OAAO,CAAA;YACpB,KAAK,EAAE,MAAM,CAAA;YACb,SAAS,EAAE,MAAM,CAAA;SAClB,CAAA;QACD,GAAG,EAAE;YACH,MAAM,EAAE,OAAO,CAAA;YACf,WAAW,EAAE,OAAO,CAAA;YACpB,KAAK,EAAE,MAAM,CAAA;YACb,SAAS,EAAE,MAAM,CAAA;SAClB,CAAA;KACF,CAAA;CACF,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB,EAAE,CAAA"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/model/vipList/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,gBAAgB,EAAE,OAAO,CAAA;QACzB,IAAI,EAAE,MAAM,CAAA;QACZ,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE;YACR,MAAM,EAAE,OAAO,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;QACD,OAAO,EAAE;YACP,MAAM,EAAE,OAAO,CAAA;YACf,OAAO,EAAE,MAAM,CAAA;YACf,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;QACD,UAAU,EAAE;YACV,IAAI,EAAE,MAAM,CAAA;YACZ,WAAW,EAAE,MAAM,CAAA;YACnB,WAAW,EAAE,MAAM,CAAA;YACnB,WAAW,EAAE,MAAM,CAAA;YACnB,mBAAmB,EAAE,MAAM,CAAA;YAC3B,IAAI,EAAE,MAAM,CAAA;SACb,EAAE,CAAA;QACH,YAAY,EAAE;YACZ,KAAK,EAAE;gBACL,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAA;gBACb,UAAU,EAAE,MAAM,CAAA;gBAClB,QAAQ,EAAE,MAAM,CAAA;gBAChB,aAAa,EAAE,MAAM,CAAA;aACtB,CAAA;SACF,CAAA;KACF,EAAE,CAAA;IACH,MAAM,EAAE,SAAS,CAAA;IACjB,KAAK,EAAE;QACL,KAAK,EAAE;YACL,MAAM,EAAE,OAAO,CAAA;YACf,WAAW,EAAE,OAAO,CAAA;YACpB,KAAK,EAAE,MAAM,CAAA;YACb,SAAS,EAAE;gBACT,OAAO,EAAE,MAAM,CAAA;gBACf,UAAU,EAAE,MAAM,CAAA;aACnB,CAAA;SACF,CAAA;QACD,IAAI,EAAE;YACJ,MAAM,EAAE,OAAO,CAAA;YACf,WAAW,EAAE,OAAO,CAAA;YACpB,KAAK,EAAE,MAAM,CAAA;YACb,SAAS,EAAE;gBACT,OAAO,EAAE,MAAM,CAAA;gBACf,UAAU,EAAE,MAAM,CAAA;aACnB,CAAA;SACF,CAAA;QACD,GAAG,EAAE;YACH,MAAM,EAAE,OAAO,CAAA;YACf,WAAW,EAAE,OAAO,CAAA;YACpB,KAAK,EAAE,MAAM,CAAA;YACb,SAAS,EAAE;gBACT,OAAO,EAAE,MAAM,CAAA;gBACf,UAAU,EAAE,MAAM,CAAA;aACnB,CAAA;SACF,CAAA;KACF,CAAA;CACF,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB,EAAE,CAAA"}
@@ -1,6 +1,17 @@
1
1
  export declare const stringToBytes: (str: string) => Uint8Array;
2
2
  export declare const base64Decode: (encodedData: string) => string;
3
- export declare const getRemainingTimestampToNextMonthFirstDay12pm: () => number;
4
- export declare const getRemainingTimestampToNextWeekMonday12am: () => number;
5
- export declare const getRemainingTimestampToTomorrow12am: () => number;
3
+ export declare const getRemainingTimestampToNextMonthFirstDay12pm: () => {
4
+ monthRemainingTime: number;
5
+ monthProgressPercentage: number;
6
+ };
7
+ export declare const getRemainingTimestampToNextWeekMonday12pm: () => {
8
+ weekRemainingTime: number;
9
+ weekProgressPercentage: number;
10
+ };
11
+ export declare const getRemainingTimestampToTomorrow12pm: () => {
12
+ dayRemainingTime: number;
13
+ dayProgressPercentage: number;
14
+ };
15
+ export declare const getTimestampForCurrentMonth: () => number;
16
+ export declare const startCountdown: (remainingTime: number) => void;
6
17
  //# sourceMappingURL=tool.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../src/util/tool.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,QAAS,MAAM,KAAG,UAE3C,CAAA;AAED,eAAO,MAAM,YAAY,gBAAiB,MAAM,KAAG,MAOlD,CAAA;AAED,eAAO,MAAM,4CAA4C,QAAO,MAgB/D,CAAA;AA8BD,eAAO,MAAM,yCAAyC,QAAO,MA8B5D,CAAA;AAkCD,eAAO,MAAM,mCAAmC,QAAO,MAwBtD,CAAA"}
1
+ {"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../src/util/tool.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,QAAS,MAAM,KAAG,UAE3C,CAAA;AAED,eAAO,MAAM,YAAY,gBAAiB,MAAM,KAAG,MAOlD,CAAA;AAED,eAAO,MAAM,4CAA4C,QAAO;IAC9D,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,CAAA;CAuBhC,CAAA;AAED,eAAO,MAAM,yCAAyC,QAAO;IAC3D,iBAAiB,EAAE,MAAM,CAAA;IACzB,sBAAsB,EAAE,MAAM,CAAA;CA+B/B,CAAA;AAED,eAAO,MAAM,mCAAmC,QAAO;IACrD,gBAAgB,EAAE,MAAM,CAAA;IACxB,qBAAqB,EAAE,MAAM,CAAA;CAyB9B,CAAA;AAED,eAAO,MAAM,2BAA2B,QAAO,MAgB9C,CAAA;AAiBD,eAAO,MAAM,cAAc,kBAAmB,MAAM,KAAG,IAUtD,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "60p82u21t54k",
3
- "version": "0.0.61",
3
+ "version": "0.0.63",
4
4
  "description": "A description of your library",
5
5
  "main": "dist/60p82u21t54k.umd.js",
6
6
  "module": "dist/60p82u21t54k.es.js",