60p82u21t54k 0.1.74 → 0.1.75

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.
@@ -85,23 +85,23 @@ function Vt(e, n, t) {
85
85
  return isNaN(n) ? Y((t == null ? void 0 : t.in) || e, NaN) : (n && r.setDate(r.getDate() + n), r);
86
86
  }
87
87
  let vn = {};
88
- function De() {
88
+ function Pe() {
89
89
  return vn;
90
90
  }
91
91
  function de(e, n) {
92
92
  var d, g, f, y;
93
- const t = De(), r = (n == null ? void 0 : n.weekStartsOn) ?? ((g = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : g.weekStartsOn) ?? t.weekStartsOn ?? ((y = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : y.weekStartsOn) ?? 0, a = W(e, n == null ? void 0 : n.in), s = a.getDay(), o = (s < r ? 7 : 0) + s - r;
93
+ const t = Pe(), r = (n == null ? void 0 : n.weekStartsOn) ?? ((g = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : g.weekStartsOn) ?? t.weekStartsOn ?? ((y = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : y.weekStartsOn) ?? 0, a = W(e, n == null ? void 0 : n.in), s = a.getDay(), o = (s < r ? 7 : 0) + s - r;
94
94
  return a.setDate(a.getDate() - o), a.setHours(0, 0, 0, 0), a;
95
95
  }
96
- function Pe(e, n) {
96
+ function xe(e, n) {
97
97
  return de(e, { ...n, weekStartsOn: 1 });
98
98
  }
99
99
  function At(e, n) {
100
100
  const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Y(t, 0);
101
101
  a.setFullYear(r + 1, 0, 4), a.setHours(0, 0, 0, 0);
102
- const s = Pe(a), o = Y(t, 0);
102
+ const s = xe(a), o = Y(t, 0);
103
103
  o.setFullYear(r, 0, 4), o.setHours(0, 0, 0, 0);
104
- const d = Pe(o);
104
+ const d = xe(o);
105
105
  return t.getTime() >= s.getTime() ? r + 1 : t.getTime() >= d.getTime() ? r : r - 1;
106
106
  }
107
107
  function ze(e) {
@@ -129,7 +129,7 @@ function ht(e, n) {
129
129
  const t = W(e, n == null ? void 0 : n.in);
130
130
  return t.setHours(0, 0, 0, 0), t;
131
131
  }
132
- function xn(e, n, t) {
132
+ function Dn(e, n, t) {
133
133
  const [r, a] = wn(
134
134
  t == null ? void 0 : t.in,
135
135
  e,
@@ -137,21 +137,21 @@ function xn(e, n, t) {
137
137
  ), s = ht(r), o = ht(a), d = +s - ze(s), g = +o - ze(o);
138
138
  return Math.round((d - g) / yn);
139
139
  }
140
- function Pn(e, n) {
140
+ function xn(e, n) {
141
141
  const t = At(e, n), r = Y(e, 0);
142
- return r.setFullYear(t, 0, 4), r.setHours(0, 0, 0, 0), Pe(r);
142
+ return r.setFullYear(t, 0, 4), r.setHours(0, 0, 0, 0), xe(r);
143
143
  }
144
- function Dn(e) {
144
+ function Pn(e) {
145
145
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
146
146
  }
147
- function Mn(e) {
148
- return !(!Dn(e) && typeof e != "number" || isNaN(+W(e)));
147
+ function Rn(e) {
148
+ return !(!Pn(e) && typeof e != "number" || isNaN(+W(e)));
149
149
  }
150
150
  function On(e, n) {
151
151
  const t = W(e, n == null ? void 0 : n.in);
152
152
  return t.setFullYear(t.getFullYear(), 0, 1), t.setHours(0, 0, 0, 0), t;
153
153
  }
154
- const Rn = {
154
+ const Mn = {
155
155
  lessThanXSeconds: {
156
156
  one: "less than a second",
157
157
  other: "less than {{count}} seconds"
@@ -215,7 +215,7 @@ const Rn = {
215
215
  }
216
216
  }, kn = (e, n, t) => {
217
217
  let r;
218
- const a = Rn[e];
218
+ const a = Mn[e];
219
219
  return typeof a == "string" ? r = a : n === 1 ? r = a.one : r = a.other.replace("{{count}}", n.toString()), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "in " + r : r + " ago" : r;
220
220
  };
221
221
  function Ve(e) {
@@ -431,9 +431,9 @@ function Ie(e) {
431
431
  const r = t.width, a = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], s = n.match(a);
432
432
  if (!s)
433
433
  return null;
434
- const o = s[0], d = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], g = Array.isArray(d) ? Un(d, (x) => x.test(o)) : (
434
+ const o = s[0], d = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], g = Array.isArray(d) ? Un(d, (D) => D.test(o)) : (
435
435
  // [TODO] -- I challenge you to fix the type
436
- Hn(d, (x) => x.test(o))
436
+ Hn(d, (D) => D.test(o))
437
437
  );
438
438
  let f;
439
439
  f = e.valueCallback ? e.valueCallback(g) : g, f = t.valueCallback ? (
@@ -584,15 +584,15 @@ const Vn = /^(\d+)(th|st|nd|rd)?/i, An = /\d+/i, Qn = {
584
584
  };
585
585
  function or(e, n) {
586
586
  const t = W(e, n == null ? void 0 : n.in);
587
- return xn(t, On(t)) + 1;
587
+ return Dn(t, On(t)) + 1;
588
588
  }
589
589
  function Xt(e, n) {
590
- const t = W(e, n == null ? void 0 : n.in), r = +Pe(t) - +Pn(t);
590
+ const t = W(e, n == null ? void 0 : n.in), r = +xe(t) - +xn(t);
591
591
  return Math.round(r / $t) + 1;
592
592
  }
593
593
  function st(e, n) {
594
- var y, x, _, p;
595
- const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = De(), s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((x = (y = n == null ? void 0 : n.locale) == null ? void 0 : y.options) == null ? void 0 : x.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((p = (_ = a.locale) == null ? void 0 : _.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = Y((n == null ? void 0 : n.in) || e, 0);
594
+ var y, D, _, p;
595
+ const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Pe(), s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((D = (y = n == null ? void 0 : n.locale) == null ? void 0 : y.options) == null ? void 0 : D.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((p = (_ = a.locale) == null ? void 0 : _.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = Y((n == null ? void 0 : n.in) || e, 0);
596
596
  o.setFullYear(r + 1, 0, s), o.setHours(0, 0, 0, 0);
597
597
  const d = de(o, n), g = Y((n == null ? void 0 : n.in) || e, 0);
598
598
  g.setFullYear(r, 0, s), g.setHours(0, 0, 0, 0);
@@ -601,14 +601,14 @@ function st(e, n) {
601
601
  }
602
602
  function ir(e, n) {
603
603
  var d, g, f, y;
604
- const t = De(), r = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((g = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : g.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((y = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : y.firstWeekContainsDate) ?? 1, a = st(e, n), s = Y((n == null ? void 0 : n.in) || e, 0);
604
+ const t = Pe(), r = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((g = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : g.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((y = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : y.firstWeekContainsDate) ?? 1, a = st(e, n), s = Y((n == null ? void 0 : n.in) || e, 0);
605
605
  return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0), de(s, n);
606
606
  }
607
607
  function Zt(e, n) {
608
608
  const t = W(e, n == null ? void 0 : n.in), r = +de(t, n) - +ir(t, n);
609
609
  return Math.round(r / $t) + 1;
610
610
  }
611
- function R(e, n) {
611
+ function M(e, n) {
612
612
  const t = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(n, "0");
613
613
  return t + r;
614
614
  }
@@ -616,16 +616,16 @@ const ce = {
616
616
  // Year
617
617
  y(e, n) {
618
618
  const t = e.getFullYear(), r = t > 0 ? t : 1 - t;
619
- return R(n === "yy" ? r % 100 : r, n.length);
619
+ return M(n === "yy" ? r % 100 : r, n.length);
620
620
  },
621
621
  // Month
622
622
  M(e, n) {
623
623
  const t = e.getMonth();
624
- return n === "M" ? String(t + 1) : R(t + 1, 2);
624
+ return n === "M" ? String(t + 1) : M(t + 1, 2);
625
625
  },
626
626
  // Day of the month
627
627
  d(e, n) {
628
- return R(e.getDate(), n.length);
628
+ return M(e.getDate(), n.length);
629
629
  },
630
630
  // AM or PM
631
631
  a(e, n) {
@@ -645,26 +645,26 @@ const ce = {
645
645
  },
646
646
  // Hour [1-12]
647
647
  h(e, n) {
648
- return R(e.getHours() % 12 || 12, n.length);
648
+ return M(e.getHours() % 12 || 12, n.length);
649
649
  },
650
650
  // Hour [0-23]
651
651
  H(e, n) {
652
- return R(e.getHours(), n.length);
652
+ return M(e.getHours(), n.length);
653
653
  },
654
654
  // Minute
655
655
  m(e, n) {
656
- return R(e.getMinutes(), n.length);
656
+ return M(e.getMinutes(), n.length);
657
657
  },
658
658
  // Second
659
659
  s(e, n) {
660
- return R(e.getSeconds(), n.length);
660
+ return M(e.getSeconds(), n.length);
661
661
  },
662
662
  // Fraction of second
663
663
  S(e, n) {
664
664
  const t = n.length, r = e.getMilliseconds(), a = Math.trunc(
665
665
  r * Math.pow(10, t - 3)
666
666
  );
667
- return R(a, n.length);
667
+ return M(a, n.length);
668
668
  }
669
669
  }, we = {
670
670
  am: "am",
@@ -704,14 +704,14 @@ const ce = {
704
704
  const a = st(e, r), s = a > 0 ? a : 1 - a;
705
705
  if (n === "YY") {
706
706
  const o = s % 100;
707
- return R(o, 2);
707
+ return M(o, 2);
708
708
  }
709
- return n === "Yo" ? t.ordinalNumber(s, { unit: "year" }) : R(s, n.length);
709
+ return n === "Yo" ? t.ordinalNumber(s, { unit: "year" }) : M(s, n.length);
710
710
  },
711
711
  // ISO week-numbering year
712
712
  R: function(e, n) {
713
713
  const t = At(e);
714
- return R(t, n.length);
714
+ return M(t, n.length);
715
715
  },
716
716
  // Extended year. This is a single number designating the year of this calendar system.
717
717
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -724,7 +724,7 @@ const ce = {
724
724
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
725
725
  u: function(e, n) {
726
726
  const t = e.getFullYear();
727
- return R(t, n.length);
727
+ return M(t, n.length);
728
728
  },
729
729
  // Quarter
730
730
  Q: function(e, n, t) {
@@ -733,7 +733,7 @@ const ce = {
733
733
  case "Q":
734
734
  return String(r);
735
735
  case "QQ":
736
- return R(r, 2);
736
+ return M(r, 2);
737
737
  case "Qo":
738
738
  return t.ordinalNumber(r, { unit: "quarter" });
739
739
  case "QQQ":
@@ -761,7 +761,7 @@ const ce = {
761
761
  case "q":
762
762
  return String(r);
763
763
  case "qq":
764
- return R(r, 2);
764
+ return M(r, 2);
765
765
  case "qo":
766
766
  return t.ordinalNumber(r, { unit: "quarter" });
767
767
  case "qqq":
@@ -813,7 +813,7 @@ const ce = {
813
813
  case "L":
814
814
  return String(r + 1);
815
815
  case "LL":
816
- return R(r + 1, 2);
816
+ return M(r + 1, 2);
817
817
  case "Lo":
818
818
  return t.ordinalNumber(r + 1, { unit: "month" });
819
819
  case "LLL":
@@ -834,12 +834,12 @@ const ce = {
834
834
  // Local week of year
835
835
  w: function(e, n, t, r) {
836
836
  const a = Zt(e, r);
837
- return n === "wo" ? t.ordinalNumber(a, { unit: "week" }) : R(a, n.length);
837
+ return n === "wo" ? t.ordinalNumber(a, { unit: "week" }) : M(a, n.length);
838
838
  },
839
839
  // ISO week of year
840
840
  I: function(e, n, t) {
841
841
  const r = Xt(e);
842
- return n === "Io" ? t.ordinalNumber(r, { unit: "week" }) : R(r, n.length);
842
+ return n === "Io" ? t.ordinalNumber(r, { unit: "week" }) : M(r, n.length);
843
843
  },
844
844
  // Day of the month
845
845
  d: function(e, n, t) {
@@ -848,7 +848,7 @@ const ce = {
848
848
  // Day of year
849
849
  D: function(e, n, t) {
850
850
  const r = or(e);
851
- return n === "Do" ? t.ordinalNumber(r, { unit: "dayOfYear" }) : R(r, n.length);
851
+ return n === "Do" ? t.ordinalNumber(r, { unit: "dayOfYear" }) : M(r, n.length);
852
852
  },
853
853
  // Day of week
854
854
  E: function(e, n, t) {
@@ -886,7 +886,7 @@ const ce = {
886
886
  case "e":
887
887
  return String(s);
888
888
  case "ee":
889
- return R(s, 2);
889
+ return M(s, 2);
890
890
  case "eo":
891
891
  return t.ordinalNumber(s, { unit: "day" });
892
892
  case "eee":
@@ -919,7 +919,7 @@ const ce = {
919
919
  case "c":
920
920
  return String(s);
921
921
  case "cc":
922
- return R(s, n.length);
922
+ return M(s, n.length);
923
923
  case "co":
924
924
  return t.ordinalNumber(s, { unit: "day" });
925
925
  case "ccc":
@@ -952,7 +952,7 @@ const ce = {
952
952
  case "i":
953
953
  return String(a);
954
954
  case "ii":
955
- return R(a, n.length);
955
+ return M(a, n.length);
956
956
  case "io":
957
957
  return t.ordinalNumber(a, { unit: "day" });
958
958
  case "iii":
@@ -1075,12 +1075,12 @@ const ce = {
1075
1075
  // Hour [0-11]
1076
1076
  K: function(e, n, t) {
1077
1077
  const r = e.getHours() % 12;
1078
- return n === "Ko" ? t.ordinalNumber(r, { unit: "hour" }) : R(r, n.length);
1078
+ return n === "Ko" ? t.ordinalNumber(r, { unit: "hour" }) : M(r, n.length);
1079
1079
  },
1080
1080
  // Hour [1-24]
1081
1081
  k: function(e, n, t) {
1082
1082
  let r = e.getHours();
1083
- return r === 0 && (r = 24), n === "ko" ? t.ordinalNumber(r, { unit: "hour" }) : R(r, n.length);
1083
+ return r === 0 && (r = 24), n === "ko" ? t.ordinalNumber(r, { unit: "hour" }) : M(r, n.length);
1084
1084
  },
1085
1085
  // Minute
1086
1086
  m: function(e, n, t) {
@@ -1155,22 +1155,22 @@ const ce = {
1155
1155
  // Seconds timestamp
1156
1156
  t: function(e, n, t) {
1157
1157
  const r = Math.trunc(+e / 1e3);
1158
- return R(r, n.length);
1158
+ return M(r, n.length);
1159
1159
  },
1160
1160
  // Milliseconds timestamp
1161
1161
  T: function(e, n, t) {
1162
- return R(+e, n.length);
1162
+ return M(+e, n.length);
1163
1163
  }
1164
1164
  };
1165
1165
  function Tt(e, n = "") {
1166
1166
  const t = e > 0 ? "-" : "+", r = Math.abs(e), a = Math.trunc(r / 60), s = r % 60;
1167
- return s === 0 ? t + String(a) : t + String(a) + n + R(s, 2);
1167
+ return s === 0 ? t + String(a) : t + String(a) + n + M(s, 2);
1168
1168
  }
1169
1169
  function vt(e, n) {
1170
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + R(Math.abs(e) / 60, 2) : pe(e, n);
1170
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + M(Math.abs(e) / 60, 2) : pe(e, n);
1171
1171
  }
1172
1172
  function pe(e, n = "") {
1173
- const t = e > 0 ? "-" : "+", r = Math.abs(e), a = R(Math.trunc(r / 60), 2), s = R(r % 60, 2);
1173
+ const t = e > 0 ? "-" : "+", r = Math.abs(e), a = M(Math.trunc(r / 60), 2), s = M(r % 60, 2);
1174
1174
  return t + a + n + s;
1175
1175
  }
1176
1176
  const wt = (e, n) => {
@@ -1238,9 +1238,9 @@ function mr(e, n, t) {
1238
1238
  }
1239
1239
  const fr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, gr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, pr = /^'([^]*?)'?$/, br = /''/g, yr = /[a-zA-Z]/;
1240
1240
  function hr(e, n, t) {
1241
- var y, x, _, p, D, N, B, H;
1242
- const r = De(), a = (t == null ? void 0 : t.locale) ?? r.locale ?? Qt, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((x = (y = t == null ? void 0 : t.locale) == null ? void 0 : y.options) == null ? void 0 : x.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((p = (_ = r.locale) == null ? void 0 : _.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = (t == null ? void 0 : t.weekStartsOn) ?? ((N = (D = t == null ? void 0 : t.locale) == null ? void 0 : D.options) == null ? void 0 : N.weekStartsOn) ?? r.weekStartsOn ?? ((H = (B = r.locale) == null ? void 0 : B.options) == null ? void 0 : H.weekStartsOn) ?? 0, d = W(e, t == null ? void 0 : t.in);
1243
- if (!Mn(d))
1241
+ var y, D, _, p, P, N, B, H;
1242
+ const r = Pe(), a = (t == null ? void 0 : t.locale) ?? r.locale ?? Qt, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((D = (y = t == null ? void 0 : t.locale) == null ? void 0 : y.options) == null ? void 0 : D.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((p = (_ = r.locale) == null ? void 0 : _.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = (t == null ? void 0 : t.weekStartsOn) ?? ((N = (P = t == null ? void 0 : t.locale) == null ? void 0 : P.options) == null ? void 0 : N.weekStartsOn) ?? r.weekStartsOn ?? ((H = (B = r.locale) == null ? void 0 : B.options) == null ? void 0 : H.weekStartsOn) ?? 0, d = W(e, t == null ? void 0 : t.in);
1243
+ if (!Rn(d))
1244
1244
  throw new RangeError("Invalid time value");
1245
1245
  let g = n.match(gr).map((v) => {
1246
1246
  const S = v[0];
@@ -1282,7 +1282,7 @@ function _r(e) {
1282
1282
  return n ? n[1].replace(br, "'") : e;
1283
1283
  }
1284
1284
  function tn() {
1285
- return Object.assign({}, De());
1285
+ return Object.assign({}, Pe());
1286
1286
  }
1287
1287
  function Tr(e, n) {
1288
1288
  const t = W(e, n == null ? void 0 : n.in).getDay();
@@ -1301,7 +1301,7 @@ function wr(e) {
1301
1301
  var n;
1302
1302
  return typeof e == "function" && ((n = e.prototype) == null ? void 0 : n.constructor) === e;
1303
1303
  }
1304
- const xr = 10;
1304
+ const Dr = 10;
1305
1305
  class nn {
1306
1306
  constructor() {
1307
1307
  h(this, "subPriority", 0);
@@ -1310,7 +1310,7 @@ class nn {
1310
1310
  return !0;
1311
1311
  }
1312
1312
  }
1313
- class Pr extends nn {
1313
+ class xr extends nn {
1314
1314
  constructor(n, t, r, a, s) {
1315
1315
  super(), this.value = n, this.validateValue = t, this.setValue = r, this.priority = a, s && (this.subPriority = s);
1316
1316
  }
@@ -1321,10 +1321,10 @@ class Pr extends nn {
1321
1321
  return this.setValue(n, t, this.value, r);
1322
1322
  }
1323
1323
  }
1324
- class Dr extends nn {
1324
+ class Pr extends nn {
1325
1325
  constructor(t, r) {
1326
1326
  super();
1327
- h(this, "priority", xr);
1327
+ h(this, "priority", Dr);
1328
1328
  h(this, "subPriority", -1);
1329
1329
  this.context = t || ((a) => Y(r, a));
1330
1330
  }
@@ -1336,7 +1336,7 @@ class O {
1336
1336
  run(n, t, r, a) {
1337
1337
  const s = this.parse(n, t, r, a);
1338
1338
  return s ? {
1339
- setter: new Pr(
1339
+ setter: new xr(
1340
1340
  s.value,
1341
1341
  this.validate,
1342
1342
  this.set,
@@ -1350,7 +1350,7 @@ class O {
1350
1350
  return !0;
1351
1351
  }
1352
1352
  }
1353
- class Mr extends O {
1353
+ class Rr extends O {
1354
1354
  constructor() {
1355
1355
  super(...arguments);
1356
1356
  h(this, "priority", 140);
@@ -1549,7 +1549,7 @@ class Or extends O {
1549
1549
  return t.setFullYear(o, 0, 1), t.setHours(0, 0, 0, 0), t;
1550
1550
  }
1551
1551
  }
1552
- class Rr extends O {
1552
+ class Mr extends O {
1553
1553
  constructor() {
1554
1554
  super(...arguments);
1555
1555
  h(this, "priority", 130);
@@ -1635,7 +1635,7 @@ class kr extends O {
1635
1635
  }
1636
1636
  set(t, r, a) {
1637
1637
  const s = Y(t, 0);
1638
- return s.setFullYear(a, 0, 4), s.setHours(0, 0, 0, 0), Pe(s);
1638
+ return s.setFullYear(a, 0, 4), s.setHours(0, 0, 0, 0), xe(s);
1639
1639
  }
1640
1640
  }
1641
1641
  class Sr extends O {
@@ -1979,7 +1979,7 @@ class Gr extends O {
1979
1979
  return r >= 1 && r <= 53;
1980
1980
  }
1981
1981
  set(t, r, a) {
1982
- return Pe(zr(t, a));
1982
+ return xe(zr(t, a));
1983
1983
  }
1984
1984
  }
1985
1985
  const Wr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Yr = [
@@ -2077,8 +2077,8 @@ class Er extends O {
2077
2077
  }
2078
2078
  }
2079
2079
  function it(e, n, t) {
2080
- var x, _, p, D;
2081
- const r = De(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((_ = (x = t == null ? void 0 : t.locale) == null ? void 0 : x.options) == null ? void 0 : _.weekStartsOn) ?? r.weekStartsOn ?? ((D = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : D.weekStartsOn) ?? 0, s = W(e, t == null ? void 0 : t.in), o = s.getDay(), g = (n % 7 + 7) % 7, f = 7 - a, y = n < 0 || n > 6 ? n - (o + f) % 7 : (g + f) % 7 - (o + f) % 7;
2080
+ var D, _, p, P;
2081
+ const r = Pe(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((_ = (D = t == null ? void 0 : t.locale) == null ? void 0 : D.options) == null ? void 0 : _.weekStartsOn) ?? r.weekStartsOn ?? ((P = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : P.weekStartsOn) ?? 0, s = W(e, t == null ? void 0 : t.in), o = s.getDay(), g = (n % 7 + 7) % 7, f = 7 - a, y = n < 0 || n > 6 ? n - (o + f) % 7 : (g + f) % 7 - (o + f) % 7;
2082
2082
  return Vt(s, y, t);
2083
2083
  }
2084
2084
  class Br extends O {
@@ -2720,9 +2720,9 @@ class ia extends O {
2720
2720
  }
2721
2721
  }
2722
2722
  const ua = {
2723
- G: new Mr(),
2723
+ G: new Rr(),
2724
2724
  y: new Or(),
2725
- Y: new Rr(),
2725
+ Y: new Mr(),
2726
2726
  R: new kr(),
2727
2727
  u: new Sr(),
2728
2728
  Q: new Ir(),
@@ -2758,7 +2758,7 @@ function pa(e, n, t, r) {
2758
2758
  firstWeekContainsDate: d,
2759
2759
  weekStartsOn: g,
2760
2760
  locale: o
2761
- }, y = [new Dr(r == null ? void 0 : r.in, t)], x = n.match(ca).map((T) => {
2761
+ }, y = [new Pr(r == null ? void 0 : r.in, t)], D = n.match(ca).map((T) => {
2762
2762
  const k = T[0];
2763
2763
  if (k in nt) {
2764
2764
  const q = nt[k];
@@ -2766,7 +2766,7 @@ function pa(e, n, t, r) {
2766
2766
  }
2767
2767
  return T;
2768
2768
  }).join("").match(la), _ = [];
2769
- for (let T of x) {
2769
+ for (let T of D) {
2770
2770
  en(T) && rt(T, n, e), Kt(T) && rt(T, n, e);
2771
2771
  const k = T[0], q = ua[k];
2772
2772
  if (q) {
@@ -2809,21 +2809,21 @@ function pa(e, n, t, r) {
2809
2809
  const p = y.map((T) => T.priority).sort((T, k) => k - T).filter((T, k, q) => q.indexOf(T) === k).map(
2810
2810
  (T) => y.filter((k) => k.priority === T).sort((k, q) => q.subPriority - k.subPriority)
2811
2811
  ).map((T) => T[0]);
2812
- let D = W(t, r == null ? void 0 : r.in);
2813
- if (isNaN(+D)) return a();
2812
+ let P = W(t, r == null ? void 0 : r.in);
2813
+ if (isNaN(+P)) return a();
2814
2814
  const N = {};
2815
2815
  for (const T of p) {
2816
- if (!T.validate(D, f))
2816
+ if (!T.validate(P, f))
2817
2817
  return a();
2818
- const k = T.set(D, N, f);
2819
- Array.isArray(k) ? (D = k[0], Object.assign(N, k[1])) : D = k;
2818
+ const k = T.set(P, N, f);
2819
+ Array.isArray(k) ? (P = k[0], Object.assign(N, k[1])) : P = k;
2820
2820
  }
2821
- return D;
2821
+ return P;
2822
2822
  }
2823
2823
  function ba(e) {
2824
2824
  return e.match(da)[1].replace(ma, "'");
2825
2825
  }
2826
- function xt(e, n, t) {
2826
+ function Dt(e, n, t) {
2827
2827
  const r = tn(), a = _a(e, t.timeZone, t.locale ?? r.locale);
2828
2828
  return "formatToParts" in a ? ya(a, n) : ha(a, n);
2829
2829
  }
@@ -2844,8 +2844,8 @@ function _a(e, n, t) {
2844
2844
  });
2845
2845
  }
2846
2846
  function Ta(e, n) {
2847
- const t = Da(n);
2848
- return "formatToParts" in t ? wa(t, e) : xa(t, e);
2847
+ const t = Pa(n);
2848
+ return "formatToParts" in t ? wa(t, e) : Da(t, e);
2849
2849
  }
2850
2850
  const va = {
2851
2851
  year: 0,
@@ -2869,7 +2869,7 @@ function wa(e, n) {
2869
2869
  throw t;
2870
2870
  }
2871
2871
  }
2872
- function xa(e, n) {
2872
+ function Da(e, n) {
2873
2873
  const t = e.format(n), r = /(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(t);
2874
2874
  return [
2875
2875
  parseInt(r[3], 10),
@@ -2880,7 +2880,7 @@ function xa(e, n) {
2880
2880
  parseInt(r[6], 10)
2881
2881
  ];
2882
2882
  }
2883
- const Ae = {}, Pt = new Intl.DateTimeFormat("en-US", {
2883
+ const Ae = {}, xt = new Intl.DateTimeFormat("en-US", {
2884
2884
  hourCycle: "h23",
2885
2885
  timeZone: "America/New_York",
2886
2886
  year: "numeric",
@@ -2889,9 +2889,9 @@ const Ae = {}, Pt = new Intl.DateTimeFormat("en-US", {
2889
2889
  hour: "2-digit",
2890
2890
  minute: "2-digit",
2891
2891
  second: "2-digit"
2892
- }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Pa = Pt === "06/25/2014, 00:00:00" || Pt === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
2893
- function Da(e) {
2894
- return Ae[e] || (Ae[e] = Pa ? new Intl.DateTimeFormat("en-US", {
2892
+ }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), xa = xt === "06/25/2014, 00:00:00" || xt === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
2893
+ function Pa(e) {
2894
+ return Ae[e] || (Ae[e] = xa ? new Intl.DateTimeFormat("en-US", {
2895
2895
  hourCycle: "h23",
2896
2896
  timeZone: e,
2897
2897
  year: "numeric",
@@ -2915,7 +2915,7 @@ function ut(e, n, t, r, a, s, o) {
2915
2915
  const d = /* @__PURE__ */ new Date(0);
2916
2916
  return d.setUTCFullYear(e, n, t), d.setUTCHours(r, a, s, o), d;
2917
2917
  }
2918
- const Dt = 36e5, Ma = 6e4, Qe = {
2918
+ const Pt = 36e5, Ra = 6e4, Qe = {
2919
2919
  timezone: /([Z+-].*)$/,
2920
2920
  timezoneZ: /^(Z)$/,
2921
2921
  timezoneHH: /^([+-]\d{2})$/,
@@ -2929,16 +2929,16 @@ function Ee(e, n, t) {
2929
2929
  return 0;
2930
2930
  let a, s;
2931
2931
  if (r = Qe.timezoneHH.exec(e), r)
2932
- return a = parseInt(r[1], 10), Mt(a) ? -(a * Dt) : NaN;
2932
+ return a = parseInt(r[1], 10), Rt(a) ? -(a * Pt) : NaN;
2933
2933
  if (r = Qe.timezoneHHMM.exec(e), r) {
2934
2934
  a = parseInt(r[2], 10);
2935
2935
  const o = parseInt(r[3], 10);
2936
- return Mt(a, o) ? (s = Math.abs(a) * Dt + o * Ma, r[1] === "+" ? -s : s) : NaN;
2936
+ return Rt(a, o) ? (s = Math.abs(a) * Pt + o * Ra, r[1] === "+" ? -s : s) : NaN;
2937
2937
  }
2938
2938
  if (ka(e)) {
2939
2939
  n = new Date(n || Date.now());
2940
2940
  const o = t ? n : Oa(n), d = at(o, e);
2941
- return -(t ? d : Ra(n, d, e));
2941
+ return -(t ? d : Ma(n, d, e));
2942
2942
  }
2943
2943
  return NaN;
2944
2944
  }
@@ -2951,7 +2951,7 @@ function at(e, n) {
2951
2951
  const s = a % 1e3;
2952
2952
  return a -= s >= 0 ? s : 1e3 + s, r - a;
2953
2953
  }
2954
- function Ra(e, n, t) {
2954
+ function Ma(e, n, t) {
2955
2955
  let a = e.getTime() - n;
2956
2956
  const s = at(new Date(a), t);
2957
2957
  if (n === s)
@@ -2960,7 +2960,7 @@ function Ra(e, n, t) {
2960
2960
  const o = at(new Date(a), t);
2961
2961
  return s === o ? s : Math.max(s, o);
2962
2962
  }
2963
- function Mt(e, n) {
2963
+ function Rt(e, n) {
2964
2964
  return -23 <= e && e <= 23 && (n == null || 0 <= n && n <= 59);
2965
2965
  }
2966
2966
  const Ot = {};
@@ -2981,14 +2981,14 @@ const Sa = 60 * 1e3, Ia = {
2981
2981
  return "Z";
2982
2982
  switch (n) {
2983
2983
  case "X":
2984
- return Rt(r);
2984
+ return Mt(r);
2985
2985
  case "XXXX":
2986
2986
  case "XX":
2987
- return xe(r);
2987
+ return De(r);
2988
2988
  case "XXXXX":
2989
2989
  case "XXX":
2990
2990
  default:
2991
- return xe(r, ":");
2991
+ return De(r, ":");
2992
2992
  }
2993
2993
  },
2994
2994
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -2996,14 +2996,14 @@ const Sa = 60 * 1e3, Ia = {
2996
2996
  const r = Xe(t.timeZone, e);
2997
2997
  switch (n) {
2998
2998
  case "x":
2999
- return Rt(r);
2999
+ return Mt(r);
3000
3000
  case "xxxx":
3001
3001
  case "xx":
3002
- return xe(r);
3002
+ return De(r);
3003
3003
  case "xxxxx":
3004
3004
  case "xxx":
3005
3005
  default:
3006
- return xe(r, ":");
3006
+ return De(r, ":");
3007
3007
  }
3008
3008
  },
3009
3009
  // Timezone (GMT)
@@ -3016,7 +3016,7 @@ const Sa = 60 * 1e3, Ia = {
3016
3016
  return "GMT" + Ca(r, ":");
3017
3017
  case "OOOO":
3018
3018
  default:
3019
- return "GMT" + xe(r, ":");
3019
+ return "GMT" + De(r, ":");
3020
3020
  }
3021
3021
  },
3022
3022
  // Timezone (specific non-location)
@@ -3025,10 +3025,10 @@ const Sa = 60 * 1e3, Ia = {
3025
3025
  case "z":
3026
3026
  case "zz":
3027
3027
  case "zzz":
3028
- return xt("short", e, t);
3028
+ return Dt("short", e, t);
3029
3029
  case "zzzz":
3030
3030
  default:
3031
- return xt("long", e, t);
3031
+ return Dt("long", e, t);
3032
3032
  }
3033
3033
  }
3034
3034
  };
@@ -3045,12 +3045,12 @@ function We(e, n) {
3045
3045
  r = "0" + r;
3046
3046
  return t + r;
3047
3047
  }
3048
- function xe(e, n = "") {
3048
+ function De(e, n = "") {
3049
3049
  const t = e > 0 ? "-" : "+", r = Math.abs(e), a = We(Math.floor(r / 60), 2), s = We(Math.floor(r % 60), 2);
3050
3050
  return t + a + n + s;
3051
3051
  }
3052
- function Rt(e, n) {
3053
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + We(Math.abs(e) / 60, 2) : xe(e, n);
3052
+ function Mt(e, n) {
3053
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + We(Math.abs(e) / 60, 2) : De(e, n);
3054
3054
  }
3055
3055
  function Ca(e, n = "") {
3056
3056
  const t = e > 0 ? "-" : "+", r = Math.abs(e), a = Math.floor(r / 60), s = r % 60;
@@ -3357,7 +3357,7 @@ const Ua = (e) => new TextEncoder().encode(e), $a = (e) => {
3357
3357
  throw console.error("Error converting to user timezone:", n), n;
3358
3358
  }
3359
3359
  }, cn = (e) => {
3360
- const t = e.replace(" at ", " ").replace(/GMT([+-]\d+)/, (x, _) => `${_.padStart(3, "0")}:00`), r = new Date(t.replace(/0([+-]\d{1,2}:\d{2})/, "$1")), a = r.getFullYear(), s = String(r.getMonth() + 1).padStart(2, "0"), o = String(r.getDate()).padStart(2, "0"), d = String(r.getHours()).padStart(2, "0"), g = String(r.getMinutes()).padStart(2, "0"), f = String(r.getSeconds()).padStart(2, "0");
3360
+ const t = e.replace(" at ", " ").replace(/GMT([+-]\d+)/, (D, _) => `${_.padStart(3, "0")}:00`), r = new Date(t.replace(/0([+-]\d{1,2}:\d{2})/, "$1")), a = r.getFullYear(), s = String(r.getMonth() + 1).padStart(2, "0"), o = String(r.getDate()).padStart(2, "0"), d = String(r.getHours()).padStart(2, "0"), g = String(r.getMinutes()).padStart(2, "0"), f = String(r.getSeconds()).padStart(2, "0");
3361
3361
  return `${a}-${s}-${o} ${d}:${g}:${f}`;
3362
3362
  }, Ka = () => Date.now(), es = (e) => new Date(e).getTime(), Nt = (e, n = 0) => {
3363
3363
  const t = Ka(), r = es(
@@ -3368,7 +3368,7 @@ const Ua = (e) => new TextEncoder().encode(e), $a = (e) => {
3368
3368
  return !(t <= a);
3369
3369
  }
3370
3370
  return !1;
3371
- }, Fe = (e) => parseFloat(e.replace(/[^0-9.-]/g, "")), P = (e, n = 2) => {
3371
+ }, Fe = (e) => parseFloat(e.replace(/[^0-9.-]/g, "")), x = (e, n = 2) => {
3372
3372
  if (Number(e) !== 0 && !Number(e))
3373
3373
  return `${e || ""}`;
3374
3374
  const t = `0${n ? "." + "0".repeat(n) : ""}`, r = parseFloat(e);
@@ -3456,13 +3456,13 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3456
3456
  const g = d - o;
3457
3457
  let f = "", y = "";
3458
3458
  if (g > 0) {
3459
- let D = Math.round((d - o) * 0.25).toString().split(""), N = [];
3460
- for (const v of D)
3459
+ let P = Math.round((d - o) * 0.25).toString().split(""), N = [];
3460
+ for (const v of P)
3461
3461
  v !== "" && N.push(v);
3462
3462
  for (let v = 0; v < N.length; v++)
3463
3463
  v === 0 ? f += (parseInt(N[v]) + 1).toString() : f += "0";
3464
- D = Math.round((d - o) * 0.5).toString().split(""), N = [];
3465
- for (const v of D)
3464
+ P = Math.round((d - o) * 0.5).toString().split(""), N = [];
3465
+ for (const v of P)
3466
3466
  v !== "" && N.push(v);
3467
3467
  for (let v = 0; v < N.length; v++)
3468
3468
  v === 0 ? y += (parseInt(N[v]) + 1).toString() : y += "0";
@@ -3514,29 +3514,29 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3514
3514
  bank: e.banklist.map((a) => {
3515
3515
  let s = "0.00", o = "0.00";
3516
3516
  const d = a.bankindex ?? 0;
3517
- for (let D = 0; D < n.mdGatewayMinMax.length; D++)
3518
- n.mdGatewayMinMax[D].bankindex == d.toString() && (s = n.mdGatewayMinMax[D].min, o = n.mdGatewayMinMax[D].max);
3517
+ for (let P = 0; P < n.mdGatewayMinMax.length; P++)
3518
+ n.mdGatewayMinMax[P].bankindex == d.toString() && (s = n.mdGatewayMinMax[P].min, o = n.mdGatewayMinMax[P].max);
3519
3519
  const { amountList: g, minAmount: f, maxAmount: y } = Ce(
3520
3520
  Number(s),
3521
3521
  Number(o),
3522
3522
  n.mdBankLevelDetail.onlinepayment_min,
3523
3523
  n.mdBankLevelDetail.onlinepayment_max
3524
- ), x = {
3524
+ ), D = {
3525
3525
  id: 0,
3526
3526
  name: "autoChannel",
3527
3527
  amountList: g,
3528
3528
  min: f,
3529
3529
  max: y
3530
- }, _ = a.pg.map((D) => {
3531
- const N = D.mintransaction ?? "0.00", B = D.maxtransaction ?? "0.00", { amountList: H, minAmount: v, maxAmount: S } = Ce(
3530
+ }, _ = a.pg.map((P) => {
3531
+ const N = P.mintransaction ?? "0.00", B = P.maxtransaction ?? "0.00", { amountList: H, minAmount: v, maxAmount: S } = Ce(
3532
3532
  Number(N),
3533
3533
  Number(B),
3534
3534
  n.mdBankLevelDetail.onlinepayment_min,
3535
3535
  n.mdBankLevelDetail.onlinepayment_max
3536
3536
  );
3537
3537
  return {
3538
- id: D.pgindex,
3539
- name: D.bankaccountname,
3538
+ id: P.pgindex,
3539
+ name: P.bankaccountname,
3540
3540
  amountList: H,
3541
3541
  min: v,
3542
3542
  max: S
@@ -3548,7 +3548,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3548
3548
  amountList: [],
3549
3549
  min: 0,
3550
3550
  max: 0,
3551
- gateway: [x, ..._]
3551
+ gateway: [D, ..._]
3552
3552
  };
3553
3553
  }),
3554
3554
  requiredField: Be
@@ -3577,7 +3577,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3577
3577
  let d = "0.00", g = "0.00";
3578
3578
  for (let p = 0; p < s.length; p++)
3579
3579
  s[p].bankindex === e.toString() && (d = s[p].min, g = s[p].max);
3580
- const { amountList: f, minAmount: y, maxAmount: x } = Ce(
3580
+ const { amountList: f, minAmount: y, maxAmount: D } = Ce(
3581
3581
  Number(d),
3582
3582
  Number(g),
3583
3583
  t.mdBankLevelDetail.onlinepayment_min,
@@ -3587,7 +3587,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3587
3587
  name: "autoChannel",
3588
3588
  amountList: f,
3589
3589
  min: y,
3590
- max: x
3590
+ max: D
3591
3591
  };
3592
3592
  a.push(_);
3593
3593
  }
@@ -3633,14 +3633,14 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3633
3633
  var n, t, r, a, s, o, d, g, f;
3634
3634
  return {
3635
3635
  platformGame: ((n = e.mdGameListResult) == null ? void 0 : n.map((y) => {
3636
- var x, _;
3636
+ var D, _;
3637
3637
  return {
3638
3638
  code: y.code.toLowerCase(),
3639
3639
  id: y.id,
3640
3640
  name: y.name,
3641
3641
  iconUrl: `/custom/image/side_menu/${y.code.toLowerCase()}.png?v=1`,
3642
3642
  nextPage: y.nextPage === 1,
3643
- list: (y.mdPlatformProducts !== null && ((x = y.mdPlatformProducts) == null ? void 0 : x.length)) ?? !1 ? ((_ = y.mdPlatformProducts) == null ? void 0 : _.map((p) => ({
3643
+ list: (y.mdPlatformProducts !== null && ((D = y.mdPlatformProducts) == null ? void 0 : D.length)) ?? !1 ? ((_ = y.mdPlatformProducts) == null ? void 0 : _.map((p) => ({
3644
3644
  gameId: Number(p.id_GameMaster),
3645
3645
  platformId: Number(p.id),
3646
3646
  platformCode: p.code,
@@ -3710,7 +3710,7 @@ function ds(e) {
3710
3710
  }
3711
3711
  const ms = (e) => ({
3712
3712
  list: e.mdGrade.map((n) => {
3713
- var t, r, a, s, o, d, g, f, y, x, _, p, D, N, B, H, v, S, T, k, q, ue, se, le, V, je, ye, he, _e, Me, Te, Ue, ve, $e, Ne, Le, i, m, w, u, l, M, z, A, J, G, K, X, Z, U, Q, ee, Oe, me, Re, fe, ke, b, dt, mt, ft, gt, pt, bt;
3713
+ var t, r, a, s, o, d, g, f, y, D, _, p, P, N, B, H, v, S, T, k, q, ue, se, le, V, je, ye, he, _e, Re, Te, Ue, ve, $e, Ne, Le, i, m, w, u, l, R, z, A, J, G, K, X, Z, U, Q, ee, Oe, me, Me, fe, ke, b, dt, mt, ft, gt, pt, bt;
3714
3714
  return {
3715
3715
  id: n.gradeindex,
3716
3716
  is_current_level: !1,
@@ -3719,76 +3719,76 @@ const ms = (e) => ({
3719
3719
  turnover: {
3720
3720
  isShow: !1,
3721
3721
  current: "0.00",
3722
- total: P(n.min_activebet)
3722
+ total: x(n.min_activebet)
3723
3723
  },
3724
3724
  deposit: {
3725
3725
  isShow: !1,
3726
3726
  current: "0.00",
3727
- total: P(n.min_deposit)
3727
+ total: x(n.min_deposit)
3728
3728
  },
3729
3729
  promo_list: n.promocash.filter((oe) => oe.isshow == 1 && oe.status == "1").map((oe) => ({
3730
3730
  name: oe.promosimplified,
3731
- min_deposit: P(oe.min_deposit),
3731
+ min_deposit: x(oe.min_deposit),
3732
3732
  promo_bonus: oe.percentage,
3733
- promo_limit: P(oe.max_promo_amt),
3733
+ promo_limit: x(oe.max_promo_amt),
3734
3734
  turnover_multiplier: oe.multiply,
3735
3735
  type: oe.promo_type
3736
3736
  })),
3737
3737
  benefit_list: {
3738
3738
  daily: {
3739
3739
  isShow: !0,
3740
- bonus: P(((r = (t = n.benefit) == null ? void 0 : t.daily) == null ? void 0 : r.bonus) ?? "0"),
3740
+ bonus: x(((r = (t = n.benefit) == null ? void 0 : t.daily) == null ? void 0 : r.bonus) ?? "0"),
3741
3741
  bonus_name: ((s = (a = n.benefit) == null ? void 0 : a.daily) == null ? void 0 : s.bonus_name) ?? "",
3742
- turnover: P(((d = (o = n.benefit) == null ? void 0 : o.daily) == null ? void 0 : d.turnover) ?? "0"),
3742
+ turnover: x(((d = (o = n.benefit) == null ? void 0 : o.daily) == null ? void 0 : d.turnover) ?? "0"),
3743
3743
  turnover_name: ((f = (g = n.benefit) == null ? void 0 : g.daily) == null ? void 0 : f.turnover_name) ?? ""
3744
3744
  },
3745
3745
  monthly: {
3746
3746
  isShow: !0,
3747
- bonus: P(((x = (y = n.benefit) == null ? void 0 : y.monthly) == null ? void 0 : x.bonus) ?? "0"),
3747
+ bonus: x(((D = (y = n.benefit) == null ? void 0 : y.monthly) == null ? void 0 : D.bonus) ?? "0"),
3748
3748
  bonus_name: ((p = (_ = n.benefit) == null ? void 0 : _.monthly) == null ? void 0 : p.bonus_name) ?? "",
3749
- turnover: P(((N = (D = n.benefit) == null ? void 0 : D.monthly) == null ? void 0 : N.turnover) ?? "0"),
3749
+ turnover: x(((N = (P = n.benefit) == null ? void 0 : P.monthly) == null ? void 0 : N.turnover) ?? "0"),
3750
3750
  turnover_name: ((H = (B = n.benefit) == null ? void 0 : B.monthly) == null ? void 0 : H.turnover_name) ?? ""
3751
3751
  },
3752
3752
  weekly: {
3753
3753
  isShow: !0,
3754
- bonus: P(((S = (v = n.benefit) == null ? void 0 : v.weekly) == null ? void 0 : S.bonus) ?? "0"),
3754
+ bonus: x(((S = (v = n.benefit) == null ? void 0 : v.weekly) == null ? void 0 : S.bonus) ?? "0"),
3755
3755
  bonus_name: ((k = (T = n.benefit) == null ? void 0 : T.weekly) == null ? void 0 : k.bonus_name) ?? "",
3756
- turnover: P(((ue = (q = n.benefit) == null ? void 0 : q.weekly) == null ? void 0 : ue.turnover) ?? "0"),
3756
+ turnover: x(((ue = (q = n.benefit) == null ? void 0 : q.weekly) == null ? void 0 : ue.turnover) ?? "0"),
3757
3757
  turnover_name: ((le = (se = n.benefit) == null ? void 0 : se.weekly) == null ? void 0 : le.turnover_name) ?? ""
3758
3758
  },
3759
3759
  upgrade: {
3760
3760
  isShow: !0,
3761
- bonus: P(((je = (V = n.benefit) == null ? void 0 : V.upgrade) == null ? void 0 : je.bonus) ?? "0"),
3761
+ bonus: x(((je = (V = n.benefit) == null ? void 0 : V.upgrade) == null ? void 0 : je.bonus) ?? "0"),
3762
3762
  bonus_name: ((he = (ye = n.benefit) == null ? void 0 : ye.upgrade) == null ? void 0 : he.bonus_name) ?? "",
3763
- turnover: P(((Me = (_e = n.benefit) == null ? void 0 : _e.upgrade) == null ? void 0 : Me.turnover) ?? "0"),
3763
+ turnover: x(((Re = (_e = n.benefit) == null ? void 0 : _e.upgrade) == null ? void 0 : Re.turnover) ?? "0"),
3764
3764
  turnover_name: ((Ue = (Te = n.benefit) == null ? void 0 : Te.upgrade) == null ? void 0 : Ue.turnover_name) ?? ""
3765
3765
  },
3766
3766
  birthday: {
3767
3767
  isShow: !0,
3768
- bonus: P((($e = (ve = n.benefit) == null ? void 0 : ve.birthday) == null ? void 0 : $e.bonus) ?? "0"),
3768
+ bonus: x((($e = (ve = n.benefit) == null ? void 0 : ve.birthday) == null ? void 0 : $e.bonus) ?? "0"),
3769
3769
  bonus_name: ((Le = (Ne = n.benefit) == null ? void 0 : Ne.birthday) == null ? void 0 : Le.bonus_name) ?? "",
3770
- turnover: P(((m = (i = n.benefit) == null ? void 0 : i.birthday) == null ? void 0 : m.turnover) ?? "0"),
3770
+ turnover: x(((m = (i = n.benefit) == null ? void 0 : i.birthday) == null ? void 0 : m.turnover) ?? "0"),
3771
3771
  turnover_name: ((u = (w = n.benefit) == null ? void 0 : w.birthday) == null ? void 0 : u.turnover_name) ?? ""
3772
3772
  },
3773
3773
  salary_1st: {
3774
3774
  isShow: !0,
3775
- bonus: P(((M = (l = n.benefit) == null ? void 0 : l.salary_1st) == null ? void 0 : M.bonus) ?? "0"),
3775
+ bonus: x(((R = (l = n.benefit) == null ? void 0 : l.salary_1st) == null ? void 0 : R.bonus) ?? "0"),
3776
3776
  bonus_name: ((A = (z = n.benefit) == null ? void 0 : z.salary_1st) == null ? void 0 : A.bonus_name) ?? "",
3777
- turnover: P(((G = (J = n.benefit) == null ? void 0 : J.salary_1st) == null ? void 0 : G.turnover) ?? "0"),
3777
+ turnover: x(((G = (J = n.benefit) == null ? void 0 : J.salary_1st) == null ? void 0 : G.turnover) ?? "0"),
3778
3778
  turnover_name: ((X = (K = n.benefit) == null ? void 0 : K.salary_1st) == null ? void 0 : X.turnover_name) ?? ""
3779
3779
  },
3780
3780
  salary_10th: {
3781
3781
  isShow: !0,
3782
- bonus: P(((U = (Z = n.benefit) == null ? void 0 : Z.salary_10th) == null ? void 0 : U.bonus) ?? "0"),
3782
+ bonus: x(((U = (Z = n.benefit) == null ? void 0 : Z.salary_10th) == null ? void 0 : U.bonus) ?? "0"),
3783
3783
  bonus_name: ((ee = (Q = n.benefit) == null ? void 0 : Q.salary_10th) == null ? void 0 : ee.bonus_name) ?? "",
3784
- turnover: P(((me = (Oe = n.benefit) == null ? void 0 : Oe.salary_10th) == null ? void 0 : me.turnover) ?? "0"),
3785
- turnover_name: ((fe = (Re = n.benefit) == null ? void 0 : Re.salary_10th) == null ? void 0 : fe.turnover_name) ?? ""
3784
+ turnover: x(((me = (Oe = n.benefit) == null ? void 0 : Oe.salary_10th) == null ? void 0 : me.turnover) ?? "0"),
3785
+ turnover_name: ((fe = (Me = n.benefit) == null ? void 0 : Me.salary_10th) == null ? void 0 : fe.turnover_name) ?? ""
3786
3786
  },
3787
3787
  salary_20th: {
3788
3788
  isShow: !0,
3789
- bonus: P(((b = (ke = n.benefit) == null ? void 0 : ke.salary_20th) == null ? void 0 : b.bonus) ?? "0"),
3789
+ bonus: x(((b = (ke = n.benefit) == null ? void 0 : ke.salary_20th) == null ? void 0 : b.bonus) ?? "0"),
3790
3790
  bonus_name: ((mt = (dt = n.benefit) == null ? void 0 : dt.salary_20th) == null ? void 0 : mt.bonus_name) ?? "",
3791
- turnover: P(((gt = (ft = n.benefit) == null ? void 0 : ft.salary_20th) == null ? void 0 : gt.turnover) ?? "0"),
3791
+ turnover: x(((gt = (ft = n.benefit) == null ? void 0 : ft.salary_20th) == null ? void 0 : gt.turnover) ?? "0"),
3792
3792
  turnover_name: ((bt = (pt = n.benefit) == null ? void 0 : pt.salary_20th) == null ? void 0 : bt.turnover_name) ?? ""
3793
3793
  }
3794
3794
  }
@@ -4015,26 +4015,26 @@ const ms = (e) => ({
4015
4015
  code: t.code,
4016
4016
  iconUrl: t.flag_icon
4017
4017
  }))) ?? [];
4018
- }, xs = (e) => ({
4018
+ }, Ds = (e) => ({
4019
4019
  name: ""
4020
- }), Ps = (e) => {
4020
+ }), xs = (e) => {
4021
4021
  var n;
4022
4022
  return ((n = e.data) == null ? void 0 : n.filter((t) => t.company_status == 1).map((t) => ({
4023
4023
  id: t.company_id,
4024
4024
  name: t.company_name,
4025
4025
  date: []
4026
4026
  }))) ?? [];
4027
- }, Ds = (e) => {
4027
+ }, Ps = (e) => {
4028
4028
  var n;
4029
4029
  return ((n = e.data) == null ? void 0 : n.map((t) => {
4030
4030
  var r;
4031
4031
  return {
4032
4032
  id: t.key,
4033
- date: ((r = t.draw_date) == null ? void 0 : r.map((a) => Ms(a.draw_tmactive))) ?? []
4033
+ date: ((r = t.draw_date) == null ? void 0 : r.map((a) => Rs(a.draw_tmactive))) ?? []
4034
4034
  };
4035
4035
  })) ?? [];
4036
4036
  };
4037
- function Ms(e) {
4037
+ function Rs(e) {
4038
4038
  const n = new Date(e * 1e3), t = n.getFullYear(), r = ("0" + (n.getMonth() + 1)).slice(-2), a = ("0" + n.getDate()).slice(-2);
4039
4039
  return `${t}-${r}-${a}`;
4040
4040
  }
@@ -4051,7 +4051,7 @@ const Os = (e) => {
4051
4051
  }))) ?? []
4052
4052
  };
4053
4053
  })) ?? [];
4054
- }, Rs = (e) => e.data.map((n) => ({
4054
+ }, Ms = (e) => e.data.map((n) => ({
4055
4055
  companyId: n.company_id,
4056
4056
  companyName: n.company_name,
4057
4057
  resultByDateList: n.draws.map((t) => {
@@ -4067,7 +4067,7 @@ const Os = (e) => {
4067
4067
  (p) => p.combination_dimension === 4 && p.combination_position === 5
4068
4068
  ).map((p) => p.combination_combination), f = t.results.filter(
4069
4069
  (p) => p.combination_dimension === 5 && p.combination_position === 1
4070
- ).map((p) => p.combination_combination), y = t.results.filter((p) => p.combination_dimension == 5).map((p) => p.combination_combination), x = t.results.filter(
4070
+ ).map((p) => p.combination_combination), y = t.results.filter((p) => p.combination_dimension == 5).map((p) => p.combination_combination), D = t.results.filter(
4071
4071
  (p) => p.combination_dimension === 6 && p.combination_position === 1
4072
4072
  ).map((p) => p.combination_combination), _ = t.results.filter((p) => p.combination_dimension === 6).map((p) => p.combination_combination);
4073
4073
  return {
@@ -4085,7 +4085,7 @@ const Os = (e) => {
4085
4085
  all: y
4086
4086
  },
4087
4087
  dimension_6: {
4088
- prize_1: x,
4088
+ prize_1: D,
4089
4089
  all: _
4090
4090
  }
4091
4091
  };
@@ -4223,7 +4223,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4223
4223
  value: d.status == 1,
4224
4224
  desc: ((f = (g = e.subStatusModes) == null ? void 0 : g.find((y) => y.key === d.status)) == null ? void 0 : f.value) ?? ""
4225
4225
  },
4226
- amount: P(d.amount),
4226
+ amount: x(d.amount),
4227
4227
  dateTime: d.ledgerdatetime,
4228
4228
  reason: d.reasonsimplified,
4229
4229
  method: d.fundmethod
@@ -4272,7 +4272,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4272
4272
  categoryId: r.category_id,
4273
4273
  maintenance: r.maintenance === 1
4274
4274
  }))) ?? [],
4275
- platformWallet: P(n.platformwallet),
4275
+ platformWallet: x(n.platformwallet),
4276
4276
  com: n.com ?? "",
4277
4277
  maintenance: n.maintenance ?? !1
4278
4278
  };
@@ -4431,20 +4431,54 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4431
4431
  totalCount: a,
4432
4432
  list: t
4433
4433
  };
4434
- }, Ks = (e) => e.status == 0 ? {
4435
- directDownline: "0",
4436
- otherDownline: "0",
4437
- uplineCode: "",
4438
- referralCode: "",
4439
- totalCommission: "0",
4440
- isClaimable: !1
4441
- } : {
4442
- directDownline: e.data.direct_downline_count.toString(),
4443
- otherDownline: e.data.others_downline_count.toString(),
4444
- uplineCode: e.data.upline.accountcode,
4445
- referralCode: e.data.referral_code,
4446
- totalCommission: "0",
4447
- isClaimable: !1
4434
+ }, Ks = (e) => {
4435
+ const n = {
4436
+ claimedReward: "0",
4437
+ currentInvite: "0",
4438
+ currentReward: "0",
4439
+ totalInvite: "0",
4440
+ totalReward: "0",
4441
+ unclaimReward: "0"
4442
+ }, t = {
4443
+ claimedReward: "0",
4444
+ currentDirectDownline: "0",
4445
+ currentOtherDownline: "0",
4446
+ currentReward: "0",
4447
+ totalReward: "0",
4448
+ unclaimReward: "0"
4449
+ }, r = {
4450
+ claimedReward: "0",
4451
+ currentDirectDownline: "0",
4452
+ currentOtherDownline: "0",
4453
+ currentReward: "0",
4454
+ totalReward: "0",
4455
+ unclaimReward: "0"
4456
+ };
4457
+ return e.status == 0 ? {
4458
+ referralRewardData: {
4459
+ directDownline: "0",
4460
+ otherDownline: "0",
4461
+ uplineCode: "",
4462
+ referralCode: "",
4463
+ totalCommission: "0",
4464
+ isClaimable: !1
4465
+ },
4466
+ inviteRewardData: n,
4467
+ turnOverRewardData: t,
4468
+ topupRewardData: r
4469
+ } : {
4470
+ referralRewardData: {
4471
+ directDownline: e.data.direct_downline_count.toString(),
4472
+ otherDownline: e.data.others_downline_count.toString(),
4473
+ uplineCode: e.data.upline.accountcode,
4474
+ referralCode: e.data.referral_code,
4475
+ totalCommission: "0",
4476
+ isClaimable: !1
4477
+ },
4478
+ inviteRewardData: n,
4479
+ turnOverRewardData: t,
4480
+ topupRewardData: r
4481
+ };
4448
4482
  }, eo = (e) => {
4449
4483
  var g;
4450
4484
  let n = null, t = null;
@@ -4631,10 +4665,10 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4631
4665
  message: e.msg ?? "",
4632
4666
  form: e.form ?? "",
4633
4667
  gameUrl: e.data ?? ""
4634
- }), xo = (e) => I(e), Po = (e) => I(e), et = (e) => ({
4668
+ }), Do = (e) => I(e), xo = (e) => I(e), et = (e) => ({
4635
4669
  status: e.status == 1,
4636
4670
  message: e.errormessage ?? ""
4637
- }), Do = (e) => I(e), Mo = (e) => e, Oo = (e) => I(e), Ro = (e) => {
4671
+ }), Po = (e) => I(e), Ro = (e) => e, Oo = (e) => I(e), Mo = (e) => {
4638
4672
  var n;
4639
4673
  return {
4640
4674
  platformProduct: ((n = e.mdPlatformProduct) == null ? void 0 : n.map((t) => ({
@@ -4753,7 +4787,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4753
4787
  transferIndex: t.clindex,
4754
4788
  target: t.com_from !== "" ? t.com_from : t.com_to,
4755
4789
  category: t.com_from !== "" ? qe.toWallet : qe.toPlatform,
4756
- amount: P(t.amount),
4790
+ amount: x(t.amount),
4757
4791
  dateTime: t.transferdatetime
4758
4792
  }))) ?? []
4759
4793
  };
@@ -4771,16 +4805,16 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4771
4805
  }))) ?? []
4772
4806
  };
4773
4807
  }, Ao = (e) => {
4774
- var n, t, r, a, s, o, d, g, f, y, x;
4808
+ var n, t, r, a, s, o, d, g, f, y, D;
4775
4809
  return {
4776
4810
  status: e.status == 1,
4777
4811
  message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
4778
4812
  data: {
4779
4813
  total: (n = e.data) != null && n.total ? {
4780
- bet: P(((t = e.data) == null ? void 0 : t.total.bet) ?? 0),
4781
- activeBet: P(((r = e.data) == null ? void 0 : r.total.activebet) ?? 0),
4782
- validBet: P(((a = e.data) == null ? void 0 : a.total.validbet) ?? 0),
4783
- payout: P(((s = e.data) == null ? void 0 : s.total.payout) ?? 0)
4814
+ bet: x(((t = e.data) == null ? void 0 : t.total.bet) ?? 0),
4815
+ activeBet: x(((r = e.data) == null ? void 0 : r.total.activebet) ?? 0),
4816
+ validBet: x(((a = e.data) == null ? void 0 : a.total.validbet) ?? 0),
4817
+ payout: x(((s = e.data) == null ? void 0 : s.total.payout) ?? 0)
4784
4818
  } : {
4785
4819
  bet: "0.00",
4786
4820
  activeBet: "0.00",
@@ -4788,17 +4822,17 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4788
4822
  payout: "0.00"
4789
4823
  },
4790
4824
  data: ((d = (o = e.data) == null ? void 0 : o.sum) == null ? void 0 : d.map((_) => ({
4791
- bet: P(_.bet),
4792
- activeBet: P(_.activebet),
4793
- payout: P(_.payout),
4825
+ bet: x(_.bet),
4826
+ activeBet: x(_.activebet),
4827
+ payout: x(_.payout),
4794
4828
  target: _.name,
4795
4829
  com: _.com
4796
4830
  }))) ?? [],
4797
4831
  wagers: ((f = (g = e.data) == null ? void 0 : g.wagers) == null ? void 0 : f.map((_) => ({
4798
- payout: P(_.payout),
4832
+ payout: x(_.payout),
4799
4833
  betType: _.betType,
4800
- stakeF: P(_.stakeF),
4801
- stakeL: P(_.stakeL),
4834
+ stakeF: x(_.stakeF),
4835
+ stakeL: x(_.stakeL),
4802
4836
  date: _.date,
4803
4837
  key: _.key,
4804
4838
  detailSA: _.detailsa,
@@ -4806,7 +4840,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4806
4840
  resultL: _.resultL
4807
4841
  }))) ?? [],
4808
4842
  currentPage: ((y = e.data) == null ? void 0 : y.page.current_page) ?? 1,
4809
- lastPage: ((x = e.data) == null ? void 0 : x.page.last_page) ?? 1
4843
+ lastPage: ((D = e.data) == null ? void 0 : D.page.last_page) ?? 1
4810
4844
  }
4811
4845
  };
4812
4846
  }, Qo = (e) => {
@@ -5055,10 +5089,10 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5055
5089
  })) ?? [] : []
5056
5090
  }), vi = (e) => I(e), wi = (e) => I(e);
5057
5091
  var be = /* @__PURE__ */ ((e) => (e.inProgress = "inProgress", e.collectable = "collectable", e.collected = "collected", e))(be || {});
5058
- const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5092
+ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5059
5093
  __proto__: null,
5060
5094
  AccumulateDepositStatus: be
5061
- }, Symbol.toStringTag, { value: "Module" })), Pi = (e) => {
5095
+ }, Symbol.toStringTag, { value: "Module" })), xi = (e) => {
5062
5096
  if (e.status == 0)
5063
5097
  return {
5064
5098
  status: !1,
@@ -5091,10 +5125,10 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5091
5125
  message: e.msg ?? "",
5092
5126
  data: n
5093
5127
  };
5094
- }, Di = (e) => ({
5128
+ }, Pi = (e) => ({
5095
5129
  status: e.status == 1,
5096
5130
  message: e.msg ?? ""
5097
- }), Mi = (e) => {
5131
+ }), Ri = (e) => {
5098
5132
  var n;
5099
5133
  return {
5100
5134
  status: e.status == 1,
@@ -5133,7 +5167,7 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5133
5167
  };
5134
5168
  })) ?? []
5135
5169
  };
5136
- }, Ri = (e) => ({
5170
+ }, Mi = (e) => ({
5137
5171
  status: e.status == 1,
5138
5172
  message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
5139
5173
  data: {
@@ -5248,7 +5282,7 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5248
5282
  }))
5249
5283
  }
5250
5284
  }), Yi = async (e) => {
5251
- var n, t, r, a, s, o, d, g, f, y, x, _, p, D, N, B, H, v, S, T, k, q, ue, se, le;
5285
+ var n, t, r, a, s, o, d, g, f, y, D, _, p, P, N, B, H, v, S, T, k, q, ue, se, le;
5252
5286
  try {
5253
5287
  e.findIndex((m) => m.name === c.vipList) !== -1 && e.push(
5254
5288
  {
@@ -5294,12 +5328,12 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5294
5328
  name: c.getPlatformTurnoverRate,
5295
5329
  query: ""
5296
5330
  }));
5297
- const Me = e.findIndex((m) => m.name === c.searchHot);
5298
- if (Me !== -1) {
5331
+ const Re = e.findIndex((m) => m.name === c.searchHot);
5332
+ if (Re !== -1) {
5299
5333
  let m = {};
5300
5334
  e.forEach((w) => {
5301
5335
  m = w.query;
5302
- }), e.splice(Me), e.push({
5336
+ }), e.splice(Re), e.push({
5303
5337
  name: c.getFourDimensionData,
5304
5338
  query: String(m)
5305
5339
  });
@@ -5416,15 +5450,15 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5416
5450
  );
5417
5451
  break;
5418
5452
  case c.getFourDimensionData:
5419
- i.result[u] = xs(
5453
+ i.result[u] = Ds(
5420
5454
  l
5421
5455
  );
5422
5456
  break;
5423
5457
  case c.getCompany:
5424
- i.result[u] = Ps(l);
5458
+ i.result[u] = xs(l);
5425
5459
  break;
5426
5460
  case c.searchResultDate:
5427
- i.result[u] = Ds(
5461
+ i.result[u] = Ps(
5428
5462
  l
5429
5463
  );
5430
5464
  break;
@@ -5432,7 +5466,7 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5432
5466
  i.result[u] = Os(l);
5433
5467
  break;
5434
5468
  case c.searchByDate:
5435
- i.result[u] = Rs(l);
5469
+ i.result[u] = Ms(l);
5436
5470
  break;
5437
5471
  case c.upcomingMatches:
5438
5472
  i.result[u] = ks(
@@ -5623,10 +5657,10 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5623
5657
  i.result[u] = wo(l);
5624
5658
  break;
5625
5659
  case c.transferToMain:
5626
- i.result[u] = xo(l);
5660
+ i.result[u] = Do(l);
5627
5661
  break;
5628
5662
  case c.transferProcess:
5629
- i.result[u] = Po(
5663
+ i.result[u] = xo(
5630
5664
  l
5631
5665
  );
5632
5666
  break;
@@ -5637,18 +5671,18 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5637
5671
  i.result[u] = et(l);
5638
5672
  break;
5639
5673
  case c.checkTransferCredit:
5640
- i.result[u] = Do(
5674
+ i.result[u] = Po(
5641
5675
  l
5642
5676
  );
5643
5677
  break;
5644
5678
  case c.friendList:
5645
- i.result[u] = Mo(l);
5679
+ i.result[u] = Ro(l);
5646
5680
  break;
5647
5681
  case c.friendListEdit:
5648
5682
  i.result[u] = Oo(l);
5649
5683
  break;
5650
5684
  case c.getActivePP:
5651
- i.result[u] = Ro(l);
5685
+ i.result[u] = Mo(l);
5652
5686
  break;
5653
5687
  case c.getActiveProduct:
5654
5688
  i.result[u] = ko(
@@ -5851,17 +5885,17 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5851
5885
  );
5852
5886
  break;
5853
5887
  case c.submitForgetUsername:
5854
- i.result[u] = Mi(
5888
+ i.result[u] = Ri(
5855
5889
  l
5856
5890
  );
5857
5891
  break;
5858
5892
  case c.getAccumulateDepositData:
5859
- i.result[u] = Pi(
5893
+ i.result[u] = xi(
5860
5894
  l
5861
5895
  );
5862
5896
  break;
5863
5897
  case c.getAccumulateDepositClaim:
5864
- i.result[u] = Di(
5898
+ i.result[u] = Pi(
5865
5899
  l
5866
5900
  );
5867
5901
  break;
@@ -5871,7 +5905,7 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5871
5905
  );
5872
5906
  break;
5873
5907
  case c.getASCMatchCount:
5874
- i.result[u] = Ri(
5908
+ i.result[u] = Mi(
5875
5909
  l
5876
5910
  );
5877
5911
  break;
@@ -5939,25 +5973,25 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5939
5973
  if ((s = i.result) != null && s.vipStatus) {
5940
5974
  const u = i.result.vipStatus, {
5941
5975
  current_grade_id: l,
5942
- current_deposit: M,
5976
+ current_deposit: R,
5943
5977
  current_turnover: z,
5944
5978
  percentage: A
5945
5979
  } = u, J = m.list.findIndex((G) => G.id === l);
5946
5980
  m.list = m.list.map((G, K) => {
5947
5981
  const X = K === J;
5948
5982
  let Z = "0", U = "0", Q = 0;
5949
- return X ? (Z = `${Math.min(Fe(M), Fe(G.deposit.total))}`, U = `${Math.min(Fe(z), Fe(G.turnover.total))}`, Q = A) : K < J ? (Z = G.deposit.total, U = G.turnover.total, Q = 1) : K > J && (Z = "0.00", U = "0.00", Q = 0), {
5983
+ return X ? (Z = `${Math.min(Fe(R), Fe(G.deposit.total))}`, U = `${Math.min(Fe(z), Fe(G.turnover.total))}`, Q = A) : K < J ? (Z = G.deposit.total, U = G.turnover.total, Q = 1) : K > J && (Z = "0.00", U = "0.00", Q = 0), {
5950
5984
  ...G,
5951
5985
  is_current_level: X,
5952
5986
  deposit: {
5953
5987
  ...G.deposit,
5954
5988
  isShow: w === 1 || w === 3 || w === 4,
5955
- current: P(Z)
5989
+ current: x(Z)
5956
5990
  },
5957
5991
  turnover: {
5958
5992
  ...G.turnover,
5959
5993
  isShow: w === 2 || w === 3 || w === 4,
5960
- current: P(U)
5994
+ current: x(U)
5961
5995
  },
5962
5996
  percentage: Q * 100 > 100 ? 100 : Q * 100
5963
5997
  };
@@ -5969,10 +6003,10 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5969
6003
  if ((o = i.result) != null && o.vipBonus) {
5970
6004
  const u = i.result.vipBonus;
5971
6005
  m.bonus.day.status = u.day.status;
5972
- const { dayRemainingTime: l, dayProgressPercentage: M } = Qa();
6006
+ const { dayRemainingTime: l, dayProgressPercentage: R } = Qa();
5973
6007
  m.bonus.day.timestamp = {
5974
6008
  current: l,
5975
- percentage: M > 100 ? 100 : M
6009
+ percentage: R > 100 ? 100 : R
5976
6010
  }, m.bonus.week.status = u.week.status;
5977
6011
  const { weekRemainingTime: z, weekProgressPercentage: A } = Aa();
5978
6012
  m.bonus.week.timestamp = {
@@ -6010,11 +6044,11 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6010
6044
  code: "vipLevel",
6011
6045
  value: m.list.map((b) => b.name)
6012
6046
  });
6013
- const M = u.findIndex(
6047
+ const R = u.findIndex(
6014
6048
  (b) => b.fieldName == "upgrade_bonus"
6015
6049
  );
6016
- M > -1 && l.push({
6017
- name: u[M].showName,
6050
+ R > -1 && l.push({
6051
+ name: u[R].showName,
6018
6052
  code: "",
6019
6053
  value: m.list.map((b) => b.benefit_list.upgrade.bonus)
6020
6054
  });
@@ -6118,11 +6152,11 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6118
6152
  code: "",
6119
6153
  value: m.list.map((b) => b.benefit_list.salary_10th.bonus)
6120
6154
  });
6121
- const Re = u.findIndex(
6155
+ const Me = u.findIndex(
6122
6156
  (b) => b.fieldName == "salary_bonus_multiply_10th"
6123
6157
  );
6124
- Re > -1 && l.push({
6125
- name: u[Re].showName,
6158
+ Me > -1 && l.push({
6159
+ name: u[Me].showName,
6126
6160
  code: "",
6127
6161
  value: m.list.map((b) => b.benefit_list.salary_10th.turnover)
6128
6162
  });
@@ -6161,18 +6195,18 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6161
6195
  const m = (f = i.result) == null ? void 0 : f.getRewardReferral;
6162
6196
  let w = 0, u = 0;
6163
6197
  if (c.getTurnOverRewardData in i.result && ((y = i.result) != null && y.getTurnOverRewardData)) {
6164
- const l = (x = i.result) == null ? void 0 : x.getTurnOverRewardData;
6165
- w += Number(l.totalReward), u += Number(l.unclaimReward);
6198
+ const l = (D = i.result) == null ? void 0 : D.getTurnOverRewardData;
6199
+ w += Number(l.totalReward), u += Number(l.unclaimReward), m.turnOverRewardData = l;
6166
6200
  }
6167
6201
  if (c.getInviteRewardData in i.result && ((_ = i.result) != null && _.getInviteRewardData)) {
6168
6202
  const l = (p = i.result) == null ? void 0 : p.getInviteRewardData;
6169
- w += Number(l.totalReward), u += Number(l.unclaimReward);
6203
+ w += Number(l.totalReward), u += Number(l.unclaimReward), m.inviteRewardData = l;
6170
6204
  }
6171
- if (c.getTopupRewardData in i.result && ((D = i.result) != null && D.getTopupRewardData)) {
6205
+ if (c.getTopupRewardData in i.result && ((P = i.result) != null && P.getTopupRewardData)) {
6172
6206
  const l = (N = i.result) == null ? void 0 : N.getTopupRewardData;
6173
- w += Number(l.totalReward), u += Number(l.unclaimReward);
6207
+ w += Number(l.totalReward), u += Number(l.unclaimReward), m.topupRewardData = l;
6174
6208
  }
6175
- m.isClaimable = u > 0, m.totalCommission = w.toString();
6209
+ m.referralRewardData.isClaimable = u > 0, m.referralRewardData.totalCommission = w.toString();
6176
6210
  }
6177
6211
  if (c.getFavouriteGame in i.result && ((B = i.result) != null && B.getFavouriteGame)) {
6178
6212
  const m = i.result.getFavouriteGame;
@@ -6180,7 +6214,7 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6180
6214
  const w = i.result.getPlatformTurnoverRate;
6181
6215
  i.result.getFavouriteGame = m.data.map((u) => {
6182
6216
  const l = w.find(
6183
- (M) => M.id === u.platformId
6217
+ (R) => R.id === u.platformId
6184
6218
  );
6185
6219
  return {
6186
6220
  ...u,
@@ -6195,7 +6229,7 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6195
6229
  const w = i.result.getPlatformTurnoverRate;
6196
6230
  i.result.fishGameList = m.data.map((u) => {
6197
6231
  const l = w.find(
6198
- (M) => M.id === u.platformId
6232
+ (R) => R.id === u.platformId
6199
6233
  );
6200
6234
  return {
6201
6235
  ...u,
@@ -6212,38 +6246,38 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6212
6246
  const u = i.result.getPlatformTurnoverRate;
6213
6247
  m.platformGame = m.platformGame.map((l) => ({
6214
6248
  ...l,
6215
- list: l.list.map((M) => {
6249
+ list: l.list.map((R) => {
6216
6250
  const z = u.find(
6217
- (A) => A.id === M.platformId
6251
+ (A) => A.id === R.platformId
6218
6252
  );
6219
6253
  return {
6220
- ...M,
6254
+ ...R,
6221
6255
  rate: (z == null ? void 0 : z.percentage) ?? "0.00"
6222
6256
  };
6223
6257
  })
6224
6258
  })), m.platformGameList.data = m.platformGameList.data.map((l) => {
6225
- const M = u.find(
6259
+ const R = u.find(
6226
6260
  (z) => z.id === l.platformId
6227
6261
  );
6228
6262
  return {
6229
6263
  ...l,
6230
- rate: (M == null ? void 0 : M.percentage) ?? "0.00"
6264
+ rate: (R == null ? void 0 : R.percentage) ?? "0.00"
6231
6265
  };
6232
6266
  }), m.hotGameList.data = m.hotGameList.data.map((l) => {
6233
- const M = u.find(
6267
+ const R = u.find(
6234
6268
  (z) => z.id === l.platformId
6235
6269
  );
6236
6270
  return {
6237
6271
  ...l,
6238
- rate: (M == null ? void 0 : M.percentage) ?? "0.00"
6272
+ rate: (R == null ? void 0 : R.percentage) ?? "0.00"
6239
6273
  };
6240
6274
  }), m.trialGameList = m.trialGameList.map((l) => {
6241
- const M = u.find(
6275
+ const R = u.find(
6242
6276
  (z) => z.id === l.platformId
6243
6277
  );
6244
6278
  return {
6245
6279
  ...l,
6246
- rate: (M == null ? void 0 : M.percentage) ?? "0.00"
6280
+ rate: (R == null ? void 0 : R.percentage) ?? "0.00"
6247
6281
  };
6248
6282
  }), delete i.result.getPlatformTurnoverRate;
6249
6283
  }
@@ -6255,7 +6289,7 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6255
6289
  if (c.searchResultDate in i.result && (ue = i.result) != null && ue.searchResultDate) {
6256
6290
  const w = i.result.searchResultDate;
6257
6291
  m.forEach((u) => {
6258
- const l = w.find((M) => M.id == u.id);
6292
+ const l = w.find((R) => R.id == u.id);
6259
6293
  l && (u.date = l == null ? void 0 : l.date);
6260
6294
  }), delete i.result.searchResultDate;
6261
6295
  }
@@ -6532,17 +6566,17 @@ const uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6532
6566
  __proto__: null
6533
6567
  }, Symbol.toStringTag, { value: "Module" })), wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6534
6568
  __proto__: null
6569
+ }, Symbol.toStringTag, { value: "Module" })), Du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6570
+ __proto__: null
6535
6571
  }, Symbol.toStringTag, { value: "Module" })), xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6536
6572
  __proto__: null
6537
6573
  }, Symbol.toStringTag, { value: "Module" })), Pu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6538
6574
  __proto__: null
6539
- }, Symbol.toStringTag, { value: "Module" })), Du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6540
- __proto__: null
6541
- }, Symbol.toStringTag, { value: "Module" })), Mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6575
+ }, Symbol.toStringTag, { value: "Module" })), Ru = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6542
6576
  __proto__: null
6543
6577
  }, Symbol.toStringTag, { value: "Module" })), Ou = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6544
6578
  __proto__: null
6545
- }, Symbol.toStringTag, { value: "Module" })), Ru = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6579
+ }, Symbol.toStringTag, { value: "Module" })), Mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6546
6580
  __proto__: null
6547
6581
  }, Symbol.toStringTag, { value: "Module" })), ku = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6548
6582
  __proto__: null
@@ -6647,17 +6681,17 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6647
6681
  __proto__: null
6648
6682
  }, Symbol.toStringTag, { value: "Module" })), wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6649
6683
  __proto__: null
6684
+ }, Symbol.toStringTag, { value: "Module" })), Dl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6685
+ __proto__: null
6650
6686
  }, Symbol.toStringTag, { value: "Module" })), xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6651
6687
  __proto__: null
6652
6688
  }, Symbol.toStringTag, { value: "Module" })), Pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6653
6689
  __proto__: null
6654
- }, Symbol.toStringTag, { value: "Module" })), Dl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6655
- __proto__: null
6656
- }, Symbol.toStringTag, { value: "Module" })), Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6690
+ }, Symbol.toStringTag, { value: "Module" })), Rl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6657
6691
  __proto__: null
6658
6692
  }, Symbol.toStringTag, { value: "Module" })), Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6659
6693
  __proto__: null
6660
- }, Symbol.toStringTag, { value: "Module" })), Rl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6694
+ }, Symbol.toStringTag, { value: "Module" })), Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6661
6695
  __proto__: null
6662
6696
  }, Symbol.toStringTag, { value: "Module" })), kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6663
6697
  __proto__: null
@@ -6758,12 +6792,12 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6758
6792
  getExtraGameType: Tu,
6759
6793
  mailBoxType: vu,
6760
6794
  fishGameListType: wu,
6761
- slotGameListType: xu,
6762
- getTurnOverRewardDataType: Pu,
6763
- getTurnOverRewardReportType: Du,
6764
- getInviteRewardDataType: Mu,
6795
+ slotGameListType: Du,
6796
+ getTurnOverRewardDataType: xu,
6797
+ getTurnOverRewardReportType: Pu,
6798
+ getInviteRewardDataType: Ru,
6765
6799
  getInviteRewardReportType: Ou,
6766
- getTopupRewardDataType: Ru,
6800
+ getTopupRewardDataType: Mu,
6767
6801
  getTopupRewardReportType: ku,
6768
6802
  getRewardReferralType: Su,
6769
6803
  getDepositPromotionType: Iu,
@@ -6817,12 +6851,12 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6817
6851
  transferReportType: Uo,
6818
6852
  agTransferCreditReportType: vl,
6819
6853
  betReportType: wl,
6820
- getTwoFactorAuthenticateType: xl,
6821
- submitTwoFactorAuthenticateType: Pl,
6822
- getUserDeviceListType: Dl,
6823
- unbindUserDeviceType: Ml,
6854
+ getTwoFactorAuthenticateType: Dl,
6855
+ submitTwoFactorAuthenticateType: xl,
6856
+ getUserDeviceListType: Pl,
6857
+ unbindUserDeviceType: Rl,
6824
6858
  searchNumberHistoryType: Ol,
6825
- changeWithdrawalCodeType: Rl,
6859
+ changeWithdrawalCodeType: Ml,
6826
6860
  checkRedPacketTokenType: kl,
6827
6861
  submitWithdrawalAlipayType: Sl,
6828
6862
  applyReliefFund: Il,
@@ -6843,7 +6877,7 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6843
6877
  updateFavouriteGameType: Ul,
6844
6878
  requestForgetUsernameType: $l,
6845
6879
  submitForgetUsernameType: Vl,
6846
- getAccumulateDepositDataType: xi,
6880
+ getAccumulateDepositDataType: Di,
6847
6881
  getAccumulateDepositClaimType: Al,
6848
6882
  rebateRefundSettingType: Ql,
6849
6883
  getASCMatchCountType: Xl,
@@ -6874,7 +6908,7 @@ export {
6874
6908
  Qi as autoRegisterApi,
6875
6909
  wl as betReportType,
6876
6910
  bu as changePasswordType,
6877
- Rl as changeWithdrawalCodeType,
6911
+ Ml as changeWithdrawalCodeType,
6878
6912
  kl as checkRedPacketTokenType,
6879
6913
  Vu as checkRedPacketValidateType,
6880
6914
  al as checkTransferCreditType,
@@ -6889,7 +6923,7 @@ export {
6889
6923
  su as gameListType,
6890
6924
  Xl as getASCMatchCountType,
6891
6925
  Al as getAccumulateDepositClaimType,
6892
- xi as getAccumulateDepositDataType,
6926
+ Di as getAccumulateDepositDataType,
6893
6927
  il as getActivePPType,
6894
6928
  ul as getActiveProductType,
6895
6929
  el as getCountryType,
@@ -6904,7 +6938,7 @@ export {
6904
6938
  Yl as getIncentiveData,
6905
6939
  ql as getIncentiveRebate,
6906
6940
  Cu as getInviteRewardClaimType,
6907
- Mu as getInviteRewardDataType,
6941
+ Ru as getInviteRewardDataType,
6908
6942
  Ou as getInviteRewardReportType,
6909
6943
  Lu as getInviteRewardSettingType,
6910
6944
  tu as getMaintenanceModeApi,
@@ -6917,15 +6951,15 @@ export {
6917
6951
  ri as getSettingType,
6918
6952
  ju as getTopUpRewardClaimType,
6919
6953
  Fu as getTopUpRewardSettingType,
6920
- Ru as getTopupRewardDataType,
6954
+ Mu as getTopupRewardDataType,
6921
6955
  ku as getTopupRewardReportType,
6922
6956
  Nu as getTurnOverRewardClaimType,
6923
- Pu as getTurnOverRewardDataType,
6924
- Du as getTurnOverRewardReportType,
6957
+ xu as getTurnOverRewardDataType,
6958
+ Pu as getTurnOverRewardReportType,
6925
6959
  tc as getTurnOverRewardSettingMultType,
6926
6960
  zu as getTurnOverRewardSettingType,
6927
- xl as getTwoFactorAuthenticateType,
6928
- Dl as getUserDeviceListType,
6961
+ Dl as getTwoFactorAuthenticateType,
6962
+ Pl as getUserDeviceListType,
6929
6963
  Au as getUserProfileType,
6930
6964
  Xu as getUsernameByReferType,
6931
6965
  Hu as getValidateType,
@@ -6965,14 +6999,14 @@ export {
6965
6999
  Zi as setLocaleApi,
6966
7000
  yl as signInRecordType,
6967
7001
  bl as signInViewInfoType,
6968
- xu as slotGameListType,
7002
+ Du as slotGameListType,
6969
7003
  fl as submitCryptoAccountType,
6970
7004
  Wu as submitForgetPasswordType,
6971
7005
  Vl as submitForgetUsernameType,
6972
7006
  Et as submitGiftCode,
6973
7007
  Et as submitGiftCodeType,
6974
7008
  pl as submitTransferMoneyType,
6975
- Pl as submitTwoFactorAuthenticateType,
7009
+ xl as submitTwoFactorAuthenticateType,
6976
7010
  qu as submitUpdateMobileTacCode,
6977
7011
  rl as submitValidateType,
6978
7012
  Sl as submitWithdrawalAlipayType,
@@ -6984,7 +7018,7 @@ export {
6984
7018
  zl as transferSettingType,
6985
7019
  tl as transferToMainType,
6986
7020
  Gl as transferType,
6987
- Ml as unbindUserDeviceType,
7021
+ Rl as unbindUserDeviceType,
6988
7022
  cu as upcomingMatchType,
6989
7023
  Zl as updateDeviceTokenType,
6990
7024
  Ul as updateFavouriteGameType,