60p82u21t54k 0.1.60 → 0.1.62

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.
@@ -89,8 +89,8 @@ function Pe() {
89
89
  return wn;
90
90
  }
91
91
  function ge(e, n) {
92
- var d, p, f, b;
93
- const t = Pe(), r = (n == null ? void 0 : n.weekStartsOn) ?? ((p = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : p.weekStartsOn) ?? t.weekStartsOn ?? ((b = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : b.weekStartsOn) ?? 0, a = z(e, n == null ? void 0 : n.in), s = a.getDay(), o = (s < r ? 7 : 0) + s - r;
92
+ var d, g, f, b;
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 ?? ((b = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : b.weekStartsOn) ?? 0, a = z(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
96
  function we(e, n) {
@@ -134,8 +134,8 @@ function xn(e, n, t) {
134
134
  t == null ? void 0 : t.in,
135
135
  e,
136
136
  n
137
- ), s = ht(r), o = ht(a), d = +s - Ce(s), p = +o - Ce(o);
138
- return Math.round((d - p) / hn);
137
+ ), s = ht(r), o = ht(a), d = +s - Ce(s), g = +o - Ce(o);
138
+ return Math.round((d - g) / hn);
139
139
  }
140
140
  function Dn(e, n) {
141
141
  const t = Qt(e, n), r = W(e, 0);
@@ -431,12 +431,12 @@ function Me(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], p = Array.isArray(d) ? $n(d, (w) => w.test(o)) : (
434
+ const o = s[0], d = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], g = Array.isArray(d) ? $n(d, (w) => w.test(o)) : (
435
435
  // [TODO] -- I challenge you to fix the type
436
436
  Un(d, (w) => w.test(o))
437
437
  );
438
438
  let f;
439
- f = e.valueCallback ? e.valueCallback(p) : p, f = t.valueCallback ? (
439
+ f = e.valueCallback ? e.valueCallback(g) : g, f = t.valueCallback ? (
440
440
  // [TODO] -- I challenge you to fix the type
441
441
  t.valueCallback(f)
442
442
  ) : f;
@@ -591,17 +591,17 @@ function Zt(e, n) {
591
591
  return Math.round(r / Vt) + 1;
592
592
  }
593
593
  function Je(e, n) {
594
- var b, w, _, g;
595
- const t = z(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Pe(), s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((w = (b = n == null ? void 0 : n.locale) == null ? void 0 : b.options) == null ? void 0 : w.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((g = (_ = a.locale) == null ? void 0 : _.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, o = W((n == null ? void 0 : n.in) || e, 0);
594
+ var b, w, _, p;
595
+ const t = z(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Pe(), s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((w = (b = n == null ? void 0 : n.locale) == null ? void 0 : b.options) == null ? void 0 : w.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((p = (_ = a.locale) == null ? void 0 : _.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = W((n == null ? void 0 : n.in) || e, 0);
596
596
  o.setFullYear(r + 1, 0, s), o.setHours(0, 0, 0, 0);
597
- const d = ge(o, n), p = W((n == null ? void 0 : n.in) || e, 0);
598
- p.setFullYear(r, 0, s), p.setHours(0, 0, 0, 0);
599
- const f = ge(p, n);
597
+ const d = ge(o, n), g = W((n == null ? void 0 : n.in) || e, 0);
598
+ g.setFullYear(r, 0, s), g.setHours(0, 0, 0, 0);
599
+ const f = ge(g, n);
600
600
  return +t >= +d ? r + 1 : +t >= +f ? r : r - 1;
601
601
  }
602
602
  function ur(e, n) {
603
- var d, p, f, b;
604
- const t = Pe(), r = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((p = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : p.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((b = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, a = Je(e, n), s = W((n == null ? void 0 : n.in) || e, 0);
603
+ var d, g, f, b;
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 ?? ((b = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, a = Je(e, n), s = W((n == null ? void 0 : n.in) || e, 0);
605
605
  return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0), ge(s, n);
606
606
  }
607
607
  function Jt(e, n) {
@@ -1238,11 +1238,11 @@ function fr(e, n, t) {
1238
1238
  }
1239
1239
  const gr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, pr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, br = /^'([^]*?)'?$/, yr = /''/g, hr = /[a-zA-Z]/;
1240
1240
  function _r(e, n, t) {
1241
- var b, w, _, g, D, N, B, H;
1242
- const r = Pe(), a = (t == null ? void 0 : t.locale) ?? r.locale ?? Xt, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((w = (b = t == null ? void 0 : t.locale) == null ? void 0 : b.options) == null ? void 0 : w.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((g = (_ = r.locale) == null ? void 0 : _.options) == null ? void 0 : g.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 = z(e, t == null ? void 0 : t.in);
1241
+ var b, w, _, p, D, N, B, H;
1242
+ const r = Pe(), a = (t == null ? void 0 : t.locale) ?? r.locale ?? Xt, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((w = (b = t == null ? void 0 : t.locale) == null ? void 0 : b.options) == null ? void 0 : w.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 = z(e, t == null ? void 0 : t.in);
1243
1243
  if (!On(d))
1244
1244
  throw new RangeError("Invalid time value");
1245
- let p = n.match(pr).map((T) => {
1245
+ let g = n.match(pr).map((T) => {
1246
1246
  const S = T[0];
1247
1247
  if (S === "p" || S === "P") {
1248
1248
  const v = Qe[S];
@@ -1263,13 +1263,13 @@ function _r(e, n, t) {
1263
1263
  );
1264
1264
  return { isToken: !1, value: T };
1265
1265
  });
1266
- a.localize.preprocessor && (p = a.localize.preprocessor(d, p));
1266
+ a.localize.preprocessor && (g = a.localize.preprocessor(d, g));
1267
1267
  const f = {
1268
1268
  firstWeekContainsDate: s,
1269
1269
  weekStartsOn: o,
1270
1270
  locale: a
1271
1271
  };
1272
- return p.map((T) => {
1272
+ return g.map((T) => {
1273
1273
  if (!T.isToken) return T.value;
1274
1274
  const S = T.value;
1275
1275
  (!(t != null && t.useAdditionalWeekYearTokens) && tn(S) || !(t != null && t.useAdditionalDayOfYearTokens) && en(S)) && Xe(S, n, String(e));
@@ -1594,12 +1594,12 @@ class Rr extends M {
1594
1594
  set(t, r, a, s) {
1595
1595
  const o = Je(t, s);
1596
1596
  if (a.isTwoDigitYear) {
1597
- const p = sn(
1597
+ const g = sn(
1598
1598
  a.year,
1599
1599
  o
1600
1600
  );
1601
1601
  return t.setFullYear(
1602
- p,
1602
+ g,
1603
1603
  0,
1604
1604
  s.firstWeekContainsDate
1605
1605
  ), t.setHours(0, 0, 0, 0), ge(t, s);
@@ -2077,8 +2077,8 @@ class Br extends M {
2077
2077
  }
2078
2078
  }
2079
2079
  function et(e, n, t) {
2080
- var w, _, g, D;
2081
- const r = Pe(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((_ = (w = t == null ? void 0 : t.locale) == null ? void 0 : w.options) == null ? void 0 : _.weekStartsOn) ?? r.weekStartsOn ?? ((D = (g = r.locale) == null ? void 0 : g.options) == null ? void 0 : D.weekStartsOn) ?? 0, s = z(e, t == null ? void 0 : t.in), o = s.getDay(), p = (n % 7 + 7) % 7, f = 7 - a, b = n < 0 || n > 6 ? n - (o + f) % 7 : (p + f) % 7 - (o + f) % 7;
2080
+ var w, _, p, D;
2081
+ const r = Pe(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((_ = (w = t == null ? void 0 : t.locale) == null ? void 0 : w.options) == null ? void 0 : _.weekStartsOn) ?? r.weekStartsOn ?? ((D = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : D.weekStartsOn) ?? 0, s = z(e, t == null ? void 0 : t.in), o = s.getDay(), g = (n % 7 + 7) % 7, f = 7 - a, b = n < 0 || n > 6 ? n - (o + f) % 7 : (g + f) % 7 - (o + f) % 7;
2082
2082
  return At(s, b, t);
2083
2083
  }
2084
2084
  class Hr extends M {
@@ -2142,8 +2142,8 @@ class Ur extends M {
2142
2142
  }
2143
2143
  parse(t, r, a, s) {
2144
2144
  const o = (d) => {
2145
- const p = Math.floor((d - 1) / 7) * 7;
2146
- return (d + s.weekStartsOn + 6) % 7 + p;
2145
+ const g = Math.floor((d - 1) / 7) * 7;
2146
+ return (d + s.weekStartsOn + 6) % 7 + g;
2147
2147
  };
2148
2148
  switch (r) {
2149
2149
  case "e":
@@ -2207,8 +2207,8 @@ class $r extends M {
2207
2207
  }
2208
2208
  parse(t, r, a, s) {
2209
2209
  const o = (d) => {
2210
- const p = Math.floor((d - 1) / 7) * 7;
2211
- return (d + s.weekStartsOn + 6) % 7 + p;
2210
+ const g = Math.floor((d - 1) / 7) * 7;
2211
+ return (d + s.weekStartsOn + 6) % 7 + g;
2212
2212
  };
2213
2213
  switch (r) {
2214
2214
  case "c":
@@ -2754,9 +2754,9 @@ const la = {
2754
2754
  }, ca = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, da = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ma = /^'([^]*?)'?$/, fa = /''/g, ga = /\S/, pa = /[a-zA-Z]/;
2755
2755
  function ba(e, n, t, r) {
2756
2756
  var B, H, T, S;
2757
- const a = () => W(t, NaN), s = nn(), o = s.locale ?? Xt, d = s.firstWeekContainsDate ?? ((H = (B = s.locale) == null ? void 0 : B.options) == null ? void 0 : H.firstWeekContainsDate) ?? 1, p = s.weekStartsOn ?? ((S = (T = s.locale) == null ? void 0 : T.options) == null ? void 0 : S.weekStartsOn) ?? 0, f = {
2757
+ const a = () => W(t, NaN), s = nn(), o = s.locale ?? Xt, d = s.firstWeekContainsDate ?? ((H = (B = s.locale) == null ? void 0 : B.options) == null ? void 0 : H.firstWeekContainsDate) ?? 1, g = s.weekStartsOn ?? ((S = (T = s.locale) == null ? void 0 : T.options) == null ? void 0 : S.weekStartsOn) ?? 0, f = {
2758
2758
  firstWeekContainsDate: d,
2759
- weekStartsOn: p,
2759
+ weekStartsOn: g,
2760
2760
  locale: o
2761
2761
  }, b = [new Mr(r == null ? void 0 : r.in, t)], w = n.match(da).map((v) => {
2762
2762
  const k = v[0];
@@ -2806,13 +2806,13 @@ function ba(e, n, t, r) {
2806
2806
  }
2807
2807
  if (e.length > 0 && ga.test(e))
2808
2808
  return a();
2809
- const g = b.map((v) => v.priority).sort((v, k) => k - v).filter((v, k, q) => q.indexOf(v) === k).map(
2809
+ const p = b.map((v) => v.priority).sort((v, k) => k - v).filter((v, k, q) => q.indexOf(v) === k).map(
2810
2810
  (v) => b.filter((k) => k.priority === v).sort((k, q) => q.subPriority - k.subPriority)
2811
2811
  ).map((v) => v[0]);
2812
2812
  let D = z(t, r == null ? void 0 : r.in);
2813
2813
  if (isNaN(+D)) return a();
2814
2814
  const N = {};
2815
- for (const v of g) {
2815
+ for (const v of p) {
2816
2816
  if (!v.validate(D, f))
2817
2817
  return a();
2818
2818
  const k = v.set(D, N, f);
@@ -3114,15 +3114,15 @@ function Le(e, n = {}) {
3114
3114
  return /* @__PURE__ */ new Date(NaN);
3115
3115
  if (o) {
3116
3116
  const d = o.getTime();
3117
- let p = 0, f;
3118
- if (r.time && (p = za(r.time), p === null || isNaN(p)))
3117
+ let g = 0, f;
3118
+ if (r.time && (g = za(r.time), g === null || isNaN(g)))
3119
3119
  return /* @__PURE__ */ new Date(NaN);
3120
3120
  if (r.timeZone || n.timeZone) {
3121
- if (f = Ge(r.timeZone || n.timeZone, new Date(d + p)), isNaN(f))
3121
+ if (f = Ge(r.timeZone || n.timeZone, new Date(d + g)), isNaN(f))
3122
3122
  return /* @__PURE__ */ new Date(NaN);
3123
3123
  } else
3124
- f = Rt(new Date(d + p)), f = Rt(new Date(d + p + f));
3125
- return new Date(d + p + f);
3124
+ f = Rt(new Date(d + g)), f = Rt(new Date(d + g + f));
3125
+ return new Date(d + g + f);
3126
3126
  } else
3127
3127
  return /* @__PURE__ */ new Date(NaN);
3128
3128
  }
@@ -3243,8 +3243,8 @@ function Ba(e, n, t = {}) {
3243
3243
  n = r.reduce(function(s, o) {
3244
3244
  if (o[0] === "'")
3245
3245
  return s;
3246
- const d = s.indexOf(o), p = s[d - 1] === "'", f = s.replace(o, "'" + Ca[o[0]](a, o, t) + "'");
3247
- return p ? f.substring(0, d - 1) + f.substring(d + 1) : f;
3246
+ const d = s.indexOf(o), g = s[d - 1] === "'", f = s.replace(o, "'" + Ca[o[0]](a, o, t) + "'");
3247
+ return g ? f.substring(0, d - 1) + f.substring(d + 1) : f;
3248
3248
  }, n);
3249
3249
  }
3250
3250
  return _r(e, n, t);
@@ -3308,13 +3308,13 @@ const $a = (e) => new TextEncoder().encode(e), Va = (e) => {
3308
3308
  remainingTimeTo5th: 0,
3309
3309
  progressPercentageTo5th: 100
3310
3310
  };
3311
- const a = r.getTime() - e.getTime(), s = new Date(n, t, 1, 0, 0, 0), o = r.getTime() - s.getTime(), d = e.getTime() - s.getTime(), p = Math.min(
3311
+ const a = r.getTime() - e.getTime(), s = new Date(n, t, 1, 0, 0, 0), o = r.getTime() - s.getTime(), d = e.getTime() - s.getTime(), g = Math.min(
3312
3312
  Math.round(d / o * 100),
3313
3313
  100
3314
3314
  );
3315
3315
  return {
3316
3316
  remainingTimeTo5th: a,
3317
- progressPercentageTo5th: p
3317
+ progressPercentageTo5th: g
3318
3318
  };
3319
3319
  }, Ja = () => {
3320
3320
  const e = /* @__PURE__ */ new Date(), n = e.getFullYear(), t = e.getMonth(), r = new Date(n, t, 10, 12, 0, 0);
@@ -3323,13 +3323,13 @@ const $a = (e) => new TextEncoder().encode(e), Va = (e) => {
3323
3323
  remainingTimeTo10th: 0,
3324
3324
  progressPercentageTo10th: 100
3325
3325
  };
3326
- const a = r.getTime() - e.getTime(), s = new Date(n, t, 1, 0, 0, 0), o = r.getTime() - s.getTime(), d = e.getTime() - s.getTime(), p = Math.min(
3326
+ const a = r.getTime() - e.getTime(), s = new Date(n, t, 1, 0, 0, 0), o = r.getTime() - s.getTime(), d = e.getTime() - s.getTime(), g = Math.min(
3327
3327
  Math.round(d / o * 100),
3328
3328
  100
3329
3329
  );
3330
3330
  return {
3331
3331
  remainingTimeTo10th: a,
3332
- progressPercentageTo10th: p
3332
+ progressPercentageTo10th: g
3333
3333
  };
3334
3334
  }, Ka = () => {
3335
3335
  const e = /* @__PURE__ */ new Date(), n = e.getFullYear(), t = e.getMonth(), r = new Date(n, t, 20, 12, 0, 0);
@@ -3338,13 +3338,13 @@ const $a = (e) => new TextEncoder().encode(e), Va = (e) => {
3338
3338
  remainingTimeTo20th: 0,
3339
3339
  progressPercentageTo20th: 100
3340
3340
  };
3341
- const a = r.getTime() - e.getTime(), s = new Date(n, t, 1, 0, 0, 0), o = r.getTime() - s.getTime(), d = e.getTime() - s.getTime(), p = Math.min(
3341
+ const a = r.getTime() - e.getTime(), s = new Date(n, t, 1, 0, 0, 0), o = r.getTime() - s.getTime(), d = e.getTime() - s.getTime(), g = Math.min(
3342
3342
  Math.round(d / o * 100),
3343
3343
  100
3344
3344
  );
3345
3345
  return {
3346
3346
  remainingTimeTo20th: a,
3347
- progressPercentageTo20th: p
3347
+ progressPercentageTo20th: g
3348
3348
  };
3349
3349
  }, cn = (e) => {
3350
3350
  try {
@@ -3357,8 +3357,8 @@ const $a = (e) => new TextEncoder().encode(e), Va = (e) => {
3357
3357
  throw console.error("Error converting to user timezone:", n), n;
3358
3358
  }
3359
3359
  }, dn = (e) => {
3360
- const t = e.replace(" at ", " ").replace(/GMT([+-]\d+)/, (w, _) => `${_.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"), p = String(r.getMinutes()).padStart(2, "0"), f = String(r.getSeconds()).padStart(2, "0");
3361
- return `${a}-${s}-${o} ${d}:${p}:${f}`;
3360
+ const t = e.replace(" at ", " ").replace(/GMT([+-]\d+)/, (w, _) => `${_.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
+ return `${a}-${s}-${o} ${d}:${g}:${f}`;
3362
3362
  }, es = () => Date.now(), ts = (e) => new Date(e).getTime(), Nt = (e, n = 0) => {
3363
3363
  const t = es(), r = ts(
3364
3364
  dn(cn(e))
@@ -3453,9 +3453,9 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3453
3453
  const o = Math.round(a);
3454
3454
  let d = 1e3;
3455
3455
  s < d && (d = Math.round(s));
3456
- const p = d - o;
3456
+ const g = d - o;
3457
3457
  let f = "", b = "";
3458
- if (p > 0) {
3458
+ if (g > 0) {
3459
3459
  let D = Math.round((d - o) * 0.25).toString().split(""), N = [];
3460
3460
  for (const T of D)
3461
3461
  T !== "" && N.push(T);
@@ -3480,7 +3480,7 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3480
3480
  type: oe.manual,
3481
3481
  promo: Ye(e.promo),
3482
3482
  bank: e.bank.map((a) => {
3483
- const s = a.list && a.list.length > 0 ? a.list[0].mintransaction ?? "0.00" : "0.00", o = a.list && a.list.length > 0 ? a.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: d, minAmount: p, maxAmount: f } = Oe(
3483
+ const s = a.list && a.list.length > 0 ? a.list[0].mintransaction ?? "0.00" : "0.00", o = a.list && a.list.length > 0 ? a.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: d, minAmount: g, maxAmount: f } = Oe(
3484
3484
  Number(s),
3485
3485
  Number(o),
3486
3486
  n.mdBankLevelDetail.deposit_min,
@@ -3494,7 +3494,7 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3494
3494
  accountNo: a.list && a.list.length > 0 ? a.list[0].bankaccountno ?? "" : "",
3495
3495
  qrcode: a.list && a.list.length > 0 ? a.list[0].bankaccountdesc : "",
3496
3496
  amountList: d,
3497
- min: p,
3497
+ min: g,
3498
3498
  max: f
3499
3499
  };
3500
3500
  }),
@@ -3516,7 +3516,7 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3516
3516
  const d = a.bankindex ?? 0;
3517
3517
  for (let D = 0; D < n.mdGatewayMinMax.length; D++)
3518
3518
  n.mdGatewayMinMax[D].bankindex == d.toString() && (s = n.mdGatewayMinMax[D].min, o = n.mdGatewayMinMax[D].max);
3519
- const { amountList: p, minAmount: f, maxAmount: b } = Oe(
3519
+ const { amountList: g, minAmount: f, maxAmount: b } = Oe(
3520
3520
  Number(s),
3521
3521
  Number(o),
3522
3522
  n.mdBankLevelDetail.onlinepayment_min,
@@ -3524,7 +3524,7 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3524
3524
  ), w = {
3525
3525
  id: 0,
3526
3526
  name: "autoChannel",
3527
- amountList: p,
3527
+ amountList: g,
3528
3528
  min: f,
3529
3529
  max: b
3530
3530
  }, _ = a.pg.map((D) => {
@@ -3559,7 +3559,7 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3559
3559
  const s = t.mdGatewayMinMax ?? [];
3560
3560
  if (n.bank.length > 0 && t.mdPGSelection === "1")
3561
3561
  a = n.bank.map((d) => {
3562
- const { amountList: p, minAmount: f, maxAmount: b } = Oe(
3562
+ const { amountList: g, minAmount: f, maxAmount: b } = Oe(
3563
3563
  d.mintransaction ?? 0,
3564
3564
  d.maxtransaction ?? 0,
3565
3565
  t.mdBankLevelDetail.onlinepayment_min,
@@ -3568,18 +3568,18 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3568
3568
  return {
3569
3569
  id: d.pgindex ?? 0,
3570
3570
  name: d.bankaccountname || "",
3571
- amountList: p,
3571
+ amountList: g,
3572
3572
  min: f,
3573
3573
  max: b
3574
3574
  };
3575
3575
  });
3576
3576
  else {
3577
- let d = "0.00", p = "0.00";
3578
- for (let g = 0; g < s.length; g++)
3579
- s[g].bankindex === e.toString() && (d = s[g].min, p = s[g].max);
3577
+ let d = "0.00", g = "0.00";
3578
+ for (let p = 0; p < s.length; p++)
3579
+ s[p].bankindex === e.toString() && (d = s[p].min, g = s[p].max);
3580
3580
  const { amountList: f, minAmount: b, maxAmount: w } = Oe(
3581
3581
  Number(d),
3582
- Number(p),
3582
+ Number(g),
3583
3583
  t.mdBankLevelDetail.onlinepayment_min,
3584
3584
  t.mdBankLevelDetail.onlinepayment_max
3585
3585
  ), _ = {
@@ -3607,7 +3607,7 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3607
3607
  type: t,
3608
3608
  promo: Ye(n.promo),
3609
3609
  bank: n.bank.map((a) => {
3610
- const s = a.amtlist.map(Number).sort((d, p) => d - p);
3610
+ const s = a.amtlist.map(Number).sort((d, g) => d - g);
3611
3611
  return {
3612
3612
  id: a.pgindex,
3613
3613
  name: a.name,
@@ -3630,7 +3630,7 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3630
3630
  phoneNumber: e.mdUserDetail.mobileno ?? "",
3631
3631
  profilePicUrl: e.mdUserDetail.profile_pic
3632
3632
  }), cs = (e) => {
3633
- var n, t, r, a, s, o, d, p, f;
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((b) => {
3636
3636
  var w, _;
@@ -3640,19 +3640,19 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3640
3640
  name: b.name,
3641
3641
  iconUrl: `/custom/image/side_menu/${b.code.toLowerCase()}.png?v=1`,
3642
3642
  nextPage: b.nextPage === 1,
3643
- list: (b.mdPlatformProducts !== null && ((w = b.mdPlatformProducts) == null ? void 0 : w.length)) ?? !1 ? ((_ = b.mdPlatformProducts) == null ? void 0 : _.map((g) => ({
3644
- gameId: Number(g.id_GameMaster),
3645
- platformId: Number(g.id),
3646
- platformCode: g.code,
3647
- name: g.name,
3643
+ list: (b.mdPlatformProducts !== null && ((w = b.mdPlatformProducts) == null ? void 0 : w.length)) ?? !1 ? ((_ = b.mdPlatformProducts) == null ? void 0 : _.map((p) => ({
3644
+ gameId: Number(p.id_GameMaster),
3645
+ platformId: Number(p.id),
3646
+ platformCode: p.code,
3647
+ name: p.name,
3648
3648
  flag: {
3649
- value: g.flag,
3650
- hot: (g.flag & 2) > 0,
3651
- trial: (g.flag & 4) > 0,
3652
- new: (g.flag & 8) > 0
3649
+ value: p.flag,
3650
+ hot: (p.flag & 2) > 0,
3651
+ trial: (p.flag & 4) > 0,
3652
+ new: (p.flag & 8) > 0
3653
3653
  },
3654
- imageUrl: `${e.mdDomains[g.mdDomains_id]}${g.img}?ts=${g.filemtime}`,
3655
- logoUrl: `/image/platform_logo/${g.img.split("/").pop()}?v=1`,
3654
+ imageUrl: `${e.mdDomains[p.mdDomains_id]}${p.img}?ts=${p.filemtime}`,
3655
+ logoUrl: `/image/platform_logo/${p.img.split("/").pop()}?v=1`,
3656
3656
  rate: "0.00"
3657
3657
  }))) ?? [] : []
3658
3658
  };
@@ -3679,7 +3679,7 @@ const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3679
3679
  platformGameList: ms(e.mdGameLists.data) ? {
3680
3680
  currentPage: ((o = e.mdGameLists) == null ? void 0 : o.current_page) ?? 1,
3681
3681
  lastPage: ((d = e.mdGameLists) == null ? void 0 : d.last_page) ?? 1,
3682
- data: ((f = (p = e.mdGameLists) == null ? void 0 : p.data) == null ? void 0 : f.map((b) => ({
3682
+ data: ((f = (g = e.mdGameLists) == null ? void 0 : g.data) == null ? void 0 : f.map((b) => ({
3683
3683
  gameId: Number(b.id),
3684
3684
  platformId: Number(b.id_PlatformProduct),
3685
3685
  platformCode: "",
@@ -3710,7 +3710,7 @@ function ms(e) {
3710
3710
  }
3711
3711
  const fs = (e) => ({
3712
3712
  list: e.mdGrade.map((n) => {
3713
- var t, r, a, s, o, d, p, f, b, w, _, g, D, N, B, H, T, S, v, k, q, re, pe, ae, _e, ke, Re, l, m, P, u, i, O, G, Q, X, Y, Z, J, V, A, U, ie, ue, le, ce, de, me, y, xe, Se, at, st, ot, it, ut, lt, ct, dt, mt, ft, gt, pt, bt;
3713
+ var t, r, a, s, o, d, g, f, b, w, _, p, D, N, B, H, T, S, v, k, q, re, pe, ae, _e, ke, Re, l, m, P, u, i, O, G, Q, X, Y, Z, J, V, A, U, ie, ue, le, ce, de, me, y, xe, Se, at, st, ot, it, ut, lt, ct, dt, mt, ft, gt, pt, bt;
3714
3714
  return {
3715
3715
  id: n.gradeindex,
3716
3716
  is_current_level: !1,
@@ -3739,11 +3739,11 @@ const fs = (e) => ({
3739
3739
  bonus: x(((r = (t = n.benefit) == null ? void 0 : t.daily) == null ? void 0 : r.bonus) ?? "0"),
3740
3740
  bonus_name: ((s = (a = n.benefit) == null ? void 0 : a.daily) == null ? void 0 : s.bonus_name) ?? "",
3741
3741
  turnover: x(((d = (o = n.benefit) == null ? void 0 : o.daily) == null ? void 0 : d.turnover) ?? "0"),
3742
- turnover_name: ((f = (p = n.benefit) == null ? void 0 : p.daily) == null ? void 0 : f.turnover_name) ?? ""
3742
+ turnover_name: ((f = (g = n.benefit) == null ? void 0 : g.daily) == null ? void 0 : f.turnover_name) ?? ""
3743
3743
  },
3744
3744
  monthly: {
3745
3745
  bonus: x(((w = (b = n.benefit) == null ? void 0 : b.monthly) == null ? void 0 : w.bonus) ?? "0"),
3746
- bonus_name: ((g = (_ = n.benefit) == null ? void 0 : _.monthly) == null ? void 0 : g.bonus_name) ?? "",
3746
+ bonus_name: ((p = (_ = n.benefit) == null ? void 0 : _.monthly) == null ? void 0 : p.bonus_name) ?? "",
3747
3747
  turnover: x(((N = (D = n.benefit) == null ? void 0 : D.monthly) == null ? void 0 : N.turnover) ?? "0"),
3748
3748
  turnover_name: ((H = (B = n.benefit) == null ? void 0 : B.monthly) == null ? void 0 : H.turnover_name) ?? ""
3749
3749
  },
@@ -4047,21 +4047,21 @@ const ks = (e) => {
4047
4047
  companyId: n.company_id,
4048
4048
  companyName: n.company_name,
4049
4049
  resultByDateList: n.draws.map((t) => {
4050
- const r = t.results.filter((g) => g.combination_dimension == 3).map((g) => g.combination_combination), a = t.results.filter(
4051
- (g) => g.combination_dimension == 4 && g.combination_position === 1
4052
- ).map((g) => g.combination_combination), s = t.results.filter(
4053
- (g) => g.combination_dimension === 4 && g.combination_position === 2
4054
- ).map((g) => g.combination_combination), o = t.results.filter(
4055
- (g) => g.combination_dimension === 4 && g.combination_position === 3
4056
- ).map((g) => g.combination_combination), d = t.results.filter(
4057
- (g) => g.combination_dimension === 4 && g.combination_position === 4
4058
- ).map((g) => g.combination_combination), p = t.results.filter(
4059
- (g) => g.combination_dimension === 4 && g.combination_position === 5
4060
- ).map((g) => g.combination_combination), f = t.results.filter(
4061
- (g) => g.combination_dimension === 5 && g.combination_position === 1
4062
- ).map((g) => g.combination_combination), b = t.results.filter((g) => g.combination_dimension == 5).map((g) => g.combination_combination), w = t.results.filter(
4063
- (g) => g.combination_dimension === 6 && g.combination_position === 1
4064
- ).map((g) => g.combination_combination), _ = t.results.filter((g) => g.combination_dimension === 6).map((g) => g.combination_combination);
4050
+ const r = t.results.filter((p) => p.combination_dimension == 3).map((p) => p.combination_combination), a = t.results.filter(
4051
+ (p) => p.combination_dimension == 4 && p.combination_position === 1
4052
+ ).map((p) => p.combination_combination), s = t.results.filter(
4053
+ (p) => p.combination_dimension === 4 && p.combination_position === 2
4054
+ ).map((p) => p.combination_combination), o = t.results.filter(
4055
+ (p) => p.combination_dimension === 4 && p.combination_position === 3
4056
+ ).map((p) => p.combination_combination), d = t.results.filter(
4057
+ (p) => p.combination_dimension === 4 && p.combination_position === 4
4058
+ ).map((p) => p.combination_combination), g = t.results.filter(
4059
+ (p) => p.combination_dimension === 4 && p.combination_position === 5
4060
+ ).map((p) => p.combination_combination), f = t.results.filter(
4061
+ (p) => p.combination_dimension === 5 && p.combination_position === 1
4062
+ ).map((p) => p.combination_combination), b = t.results.filter((p) => p.combination_dimension == 5).map((p) => p.combination_combination), w = t.results.filter(
4063
+ (p) => p.combination_dimension === 6 && p.combination_position === 1
4064
+ ).map((p) => p.combination_combination), _ = t.results.filter((p) => p.combination_dimension === 6).map((p) => p.combination_combination);
4065
4065
  return {
4066
4066
  date: t.date,
4067
4067
  dimension_3: r,
@@ -4070,7 +4070,7 @@ const ks = (e) => {
4070
4070
  prize_2: s,
4071
4071
  prize_3: o,
4072
4072
  prize_4: d,
4073
- prize_5: p
4073
+ prize_5: g
4074
4074
  },
4075
4075
  dimension_5: {
4076
4076
  prize_1: f,
@@ -4121,14 +4121,14 @@ const ks = (e) => {
4121
4121
  var n, t, r, a, s;
4122
4122
  return {
4123
4123
  bankCard: ((n = e.bankCard) == null ? void 0 : n.map((o) => {
4124
- var d, p;
4124
+ var d, g;
4125
4125
  return {
4126
4126
  bankIndex: o.bankindex,
4127
4127
  bankProvince: {
4128
4128
  id: o.bankprovince,
4129
- desc: ((p = (d = e.province) == null ? void 0 : d.find(
4129
+ desc: ((g = (d = e.province) == null ? void 0 : d.find(
4130
4130
  (f) => f.provinceindex == o.bankprovince
4131
- )) == null ? void 0 : p.label) ?? ""
4131
+ )) == null ? void 0 : g.label) ?? ""
4132
4132
  },
4133
4133
  bankName: o.banknamesimplified,
4134
4134
  bankAccountNo: o.bankaccountno,
@@ -4202,7 +4202,7 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4202
4202
  currentPage: ((r = e.mdCashLedgers) == null ? void 0 : r.current_page) ?? 0,
4203
4203
  lastPage: ((a = e.mdCashLedgers) == null ? void 0 : a.last_page) ?? 0,
4204
4204
  data: ((o = (s = e.mdCashLedgers) == null ? void 0 : s.data) == null ? void 0 : o.map((d) => {
4205
- var p, f;
4205
+ var g, f;
4206
4206
  return {
4207
4207
  transactionIndex: d.ledgerindex,
4208
4208
  transactionInfo: {
@@ -4213,7 +4213,7 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4213
4213
  statusInfo: {
4214
4214
  id: d.status,
4215
4215
  value: d.status == 1,
4216
- desc: ((f = (p = e.subStatusModes) == null ? void 0 : p.find((b) => b.key === d.status)) == null ? void 0 : f.value) ?? ""
4216
+ desc: ((f = (g = e.subStatusModes) == null ? void 0 : g.find((b) => b.key === d.status)) == null ? void 0 : f.value) ?? ""
4217
4217
  },
4218
4218
  amount: x(d.amount),
4219
4219
  dateTime: d.ledgerdatetime,
@@ -4438,7 +4438,7 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4438
4438
  totalCommission: "0",
4439
4439
  isClaimable: !1
4440
4440
  }, to = (e) => {
4441
- var p;
4441
+ var g;
4442
4442
  let n = null, t = null;
4443
4443
  if (e.status == 0)
4444
4444
  return { welcomeBonus: null, dailyBonus: null };
@@ -4469,7 +4469,7 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4469
4469
  expiryTime: f.etime
4470
4470
  };
4471
4471
  });
4472
- let s = 0, o = ((p = a[0]) == null ? void 0 : p.expiryTime) || "";
4472
+ let s = 0, o = ((g = a[0]) == null ? void 0 : g.expiryTime) || "";
4473
4473
  const d = a.map((f) => (s = Math.max(s, f.percentage), new Date(f.expiryTime) < new Date(o) && (o = f.expiryTime), {
4474
4474
  name: f.name,
4475
4475
  depositAmount: f.depositAmount,
@@ -4763,7 +4763,7 @@ const $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4763
4763
  }))) ?? []
4764
4764
  };
4765
4765
  }, Qo = (e) => {
4766
- var n, t, r, a, s, o, d, p, f, b, w;
4766
+ var n, t, r, a, s, o, d, g, f, b, w;
4767
4767
  return {
4768
4768
  status: e.status == 1,
4769
4769
  message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
@@ -4786,7 +4786,7 @@ const $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4786
4786
  target: _.name,
4787
4787
  com: _.com
4788
4788
  }))) ?? [],
4789
- wagers: ((f = (p = e.data) == null ? void 0 : p.wagers) == null ? void 0 : f.map((_) => ({
4789
+ wagers: ((f = (g = e.data) == null ? void 0 : g.wagers) == null ? void 0 : f.map((_) => ({
4790
4790
  payout: x(_.payout),
4791
4791
  betType: _.betType,
4792
4792
  stakeF: x(_.stakeF),
@@ -5171,24 +5171,24 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5171
5171
  data: Li(t)
5172
5172
  }))) ?? [];
5173
5173
  }, Li = (e) => {
5174
- const n = [];
5175
- for (const t in e)
5176
- if (t !== "name" && Object.prototype.hasOwnProperty.call(e, t)) {
5177
- const r = e[t];
5178
- for (let a = 0; a < r.length; a++) {
5179
- const s = r[a];
5180
- let o = "";
5181
- a + 1 < r.length && (o = (Number(r[a + 1].achievement) - 1).toString()), n.push({
5182
- minValue: s.achievement.toString(),
5183
- maxValue: o,
5184
- rate: s.rate,
5185
- multiplier: s.multiply
5186
- });
5187
- }
5174
+ const n = [], t = Object.entries(e).filter(([r]) => r !== "name");
5175
+ for (const [, r] of t) {
5176
+ const a = r, s = [];
5177
+ for (let o = 0; o < a.length; o++) {
5178
+ const d = a[o];
5179
+ let g = "";
5180
+ o + 1 < a.length && (g = (Number(a[o + 1].achievement) - 1).toString()), s.push({
5181
+ minValue: d.achievement.toString(),
5182
+ maxValue: g,
5183
+ rate: d.rate,
5184
+ multiplier: d.multiply
5185
+ });
5188
5186
  }
5187
+ n.push({ achievementRate: s });
5188
+ }
5189
5189
  return n;
5190
5190
  }, Fi = async (e) => {
5191
- var n, t, r, a, s, o, d, p, f, b, w, _, g, D, N, B, H;
5191
+ var n, t, r, a, s, o, d, g, f, b, w, _, p, D, N, B, H;
5192
5192
  try {
5193
5193
  e.findIndex((m) => m.name === c.vipList) !== -1 && e.push(
5194
5194
  {
@@ -6053,7 +6053,7 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6053
6053
  }
6054
6054
  l.result.vipList = m;
6055
6055
  }
6056
- if (c.getFavouriteGame in l.result && ((p = l.result) != null && p.getFavouriteGame)) {
6056
+ if (c.getFavouriteGame in l.result && ((g = l.result) != null && g.getFavouriteGame)) {
6057
6057
  const m = l.result.getFavouriteGame;
6058
6058
  if (JSON.parse(e[S].query).pid && c.getPlatformTurnoverRate in l.result && (f = l.result) != null && f.getPlatformTurnoverRate) {
6059
6059
  const P = l.result.getPlatformTurnoverRate;
@@ -6087,7 +6087,7 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6087
6087
  const m = l.result.gameList;
6088
6088
  if (JSON.parse(e[k].query).pid) {
6089
6089
  const P = m.platformGame.map((u) => u.list.filter((i) => i.flag.trial && !u.nextPage).map((i) => i));
6090
- if (m.trialGameList = P.flat(), c.getPlatformTurnoverRate in l.result && ((g = l.result) != null && g.getPlatformTurnoverRate)) {
6090
+ if (m.trialGameList = P.flat(), c.getPlatformTurnoverRate in l.result && ((p = l.result) != null && p.getPlatformTurnoverRate)) {
6091
6091
  const u = l.result.getPlatformTurnoverRate;
6092
6092
  m.platformGame = m.platformGame.map((i) => ({
6093
6093
  ...i,
@@ -6161,8 +6161,7 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6161
6161
  message: ""
6162
6162
  };
6163
6163
  try {
6164
- const t = await K.post("/loginVia/telegram", e);
6165
- console.log("=>", t), n = {
6164
+ await K.post("/loginVia/telegram", e), n = {
6166
6165
  status: 200,
6167
6166
  message: ""
6168
6167
  };