60p82u21t54k 0.3.12 → 0.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/60p82u21t54k.es.js +140 -140
- package/dist/60p82u21t54k.umd.js +1 -1
- package/package.json +1 -1
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -77,7 +77,7 @@ const Ta = (e) => {
|
|
|
77
77
|
__proto__: null,
|
|
78
78
|
getConfig: he,
|
|
79
79
|
setConfig: Ta
|
|
80
|
-
}, Symbol.toStringTag, { value: "Module" })), ea = 6048e5, va = 864e5, wa = 6e4, Ra = 36e5,
|
|
80
|
+
}, Symbol.toStringTag, { value: "Module" })), ea = 6048e5, va = 864e5, wa = 6e4, Ra = 36e5, Pa = 1e3, xt = Symbol.for("constructDateFrom");
|
|
81
81
|
function j(e, a) {
|
|
82
82
|
return typeof e == "function" ? e(a) : e && typeof e == "object" && xt in e ? e[xt](a) : e instanceof Date ? new e.constructor(a) : new Date(a);
|
|
83
83
|
}
|
|
@@ -88,24 +88,24 @@ function ta(e, a, t) {
|
|
|
88
88
|
const n = I(e, t == null ? void 0 : t.in);
|
|
89
89
|
return isNaN(a) ? j((t == null ? void 0 : t.in) || e, NaN) : (a && n.setDate(n.getDate() + a), n);
|
|
90
90
|
}
|
|
91
|
-
let
|
|
91
|
+
let Da = {};
|
|
92
92
|
function te() {
|
|
93
|
-
return
|
|
93
|
+
return Da;
|
|
94
94
|
}
|
|
95
95
|
function U(e, a) {
|
|
96
96
|
var l, m, i, c;
|
|
97
97
|
const t = te(), n = (a == null ? void 0 : a.weekStartsOn) ?? ((m = (l = a == null ? void 0 : a.locale) == null ? void 0 : l.options) == null ? void 0 : m.weekStartsOn) ?? t.weekStartsOn ?? ((c = (i = t.locale) == null ? void 0 : i.options) == null ? void 0 : c.weekStartsOn) ?? 0, r = I(e, a == null ? void 0 : a.in), s = r.getDay(), o = (s < n ? 7 : 0) + s - n;
|
|
98
98
|
return r.setDate(r.getDate() - o), r.setHours(0, 0, 0, 0), r;
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function K(e, a) {
|
|
101
101
|
return U(e, { ...a, weekStartsOn: 1 });
|
|
102
102
|
}
|
|
103
103
|
function aa(e, a) {
|
|
104
104
|
const t = I(e, a == null ? void 0 : a.in), n = t.getFullYear(), r = j(t, 0);
|
|
105
105
|
r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
|
|
106
|
-
const s =
|
|
106
|
+
const s = K(r), o = j(t, 0);
|
|
107
107
|
o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0);
|
|
108
|
-
const l =
|
|
108
|
+
const l = K(o);
|
|
109
109
|
return t.getTime() >= s.getTime() ? n + 1 : t.getTime() >= l.getTime() ? n : n - 1;
|
|
110
110
|
}
|
|
111
111
|
function de(e) {
|
|
@@ -143,7 +143,7 @@ function xa(e, a, t) {
|
|
|
143
143
|
}
|
|
144
144
|
function Oa(e, a) {
|
|
145
145
|
const t = aa(e, a), n = j(e, 0);
|
|
146
|
-
return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0),
|
|
146
|
+
return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), K(n);
|
|
147
147
|
}
|
|
148
148
|
function Ma(e) {
|
|
149
149
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
@@ -222,7 +222,7 @@ const ja = {
|
|
|
222
222
|
const r = ja[e];
|
|
223
223
|
return typeof r == "string" ? n = r : a === 1 ? n = r.one : n = r.other.replace("{{count}}", a.toString()), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "in " + n : n + " ago" : n;
|
|
224
224
|
};
|
|
225
|
-
function
|
|
225
|
+
function De(e) {
|
|
226
226
|
return (a = {}) => {
|
|
227
227
|
const t = a.width ? String(a.width) : e.defaultWidth;
|
|
228
228
|
return e.formats[t] || e.formats[e.defaultWidth];
|
|
@@ -244,15 +244,15 @@ const Na = {
|
|
|
244
244
|
medium: "{{date}}, {{time}}",
|
|
245
245
|
short: "{{date}}, {{time}}"
|
|
246
246
|
}, Ga = {
|
|
247
|
-
date:
|
|
247
|
+
date: De({
|
|
248
248
|
formats: Na,
|
|
249
249
|
defaultWidth: "full"
|
|
250
250
|
}),
|
|
251
|
-
time:
|
|
251
|
+
time: De({
|
|
252
252
|
formats: La,
|
|
253
253
|
defaultWidth: "full"
|
|
254
254
|
}),
|
|
255
|
-
dateTime:
|
|
255
|
+
dateTime: De({
|
|
256
256
|
formats: $a,
|
|
257
257
|
defaultWidth: "full"
|
|
258
258
|
})
|
|
@@ -591,7 +591,7 @@ function dn(e, a) {
|
|
|
591
591
|
return xa(t, Ia(t)) + 1;
|
|
592
592
|
}
|
|
593
593
|
function ra(e, a) {
|
|
594
|
-
const t = I(e, a == null ? void 0 : a.in), n = +
|
|
594
|
+
const t = I(e, a == null ? void 0 : a.in), n = +K(t) - +Oa(t);
|
|
595
595
|
return Math.round(n / ea) + 1;
|
|
596
596
|
}
|
|
597
597
|
function Ge(e, a) {
|
|
@@ -670,7 +670,7 @@ const B = {
|
|
|
670
670
|
);
|
|
671
671
|
return R(r, a.length);
|
|
672
672
|
}
|
|
673
|
-
},
|
|
673
|
+
}, X = {
|
|
674
674
|
midnight: "midnight",
|
|
675
675
|
noon: "noon",
|
|
676
676
|
morning: "morning",
|
|
@@ -1060,7 +1060,7 @@ const B = {
|
|
|
1060
1060
|
b: function(e, a, t) {
|
|
1061
1061
|
const n = e.getHours();
|
|
1062
1062
|
let r;
|
|
1063
|
-
switch (n === 12 ? r =
|
|
1063
|
+
switch (n === 12 ? r = X.noon : n === 0 ? r = X.midnight : r = n / 12 >= 1 ? "pm" : "am", a) {
|
|
1064
1064
|
case "b":
|
|
1065
1065
|
case "bb":
|
|
1066
1066
|
return t.dayPeriod(r, {
|
|
@@ -1089,7 +1089,7 @@ const B = {
|
|
|
1089
1089
|
B: function(e, a, t) {
|
|
1090
1090
|
const n = e.getHours();
|
|
1091
1091
|
let r;
|
|
1092
|
-
switch (n >= 17 ? r =
|
|
1092
|
+
switch (n >= 17 ? r = X.evening : n >= 12 ? r = X.afternoon : n >= 4 ? r = X.morning : r = X.night, a) {
|
|
1093
1093
|
case "B":
|
|
1094
1094
|
case "BB":
|
|
1095
1095
|
case "BBB":
|
|
@@ -1158,7 +1158,7 @@ const B = {
|
|
|
1158
1158
|
// so this token always has the same output as `XX`
|
|
1159
1159
|
case "XXXX":
|
|
1160
1160
|
case "XX":
|
|
1161
|
-
return
|
|
1161
|
+
return V(n);
|
|
1162
1162
|
// Hours, minutes and optional seconds with `:` delimiter
|
|
1163
1163
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1164
1164
|
// so this token always has the same output as `XXX`
|
|
@@ -1166,7 +1166,7 @@ const B = {
|
|
|
1166
1166
|
case "XXX":
|
|
1167
1167
|
// Hours and minutes with `:` delimiter
|
|
1168
1168
|
default:
|
|
1169
|
-
return
|
|
1169
|
+
return V(n, ":");
|
|
1170
1170
|
}
|
|
1171
1171
|
},
|
|
1172
1172
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -1181,7 +1181,7 @@ const B = {
|
|
|
1181
1181
|
// so this token always has the same output as `xx`
|
|
1182
1182
|
case "xxxx":
|
|
1183
1183
|
case "xx":
|
|
1184
|
-
return
|
|
1184
|
+
return V(n);
|
|
1185
1185
|
// Hours, minutes and optional seconds with `:` delimiter
|
|
1186
1186
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1187
1187
|
// so this token always has the same output as `xxx`
|
|
@@ -1189,7 +1189,7 @@ const B = {
|
|
|
1189
1189
|
case "xxx":
|
|
1190
1190
|
// Hours and minutes with `:` delimiter
|
|
1191
1191
|
default:
|
|
1192
|
-
return
|
|
1192
|
+
return V(n, ":");
|
|
1193
1193
|
}
|
|
1194
1194
|
},
|
|
1195
1195
|
// Timezone (GMT)
|
|
@@ -1204,7 +1204,7 @@ const B = {
|
|
|
1204
1204
|
// Long
|
|
1205
1205
|
case "OOOO":
|
|
1206
1206
|
default:
|
|
1207
|
-
return "GMT" +
|
|
1207
|
+
return "GMT" + V(n, ":");
|
|
1208
1208
|
}
|
|
1209
1209
|
},
|
|
1210
1210
|
// Timezone (specific non-location)
|
|
@@ -1219,7 +1219,7 @@ const B = {
|
|
|
1219
1219
|
// Long
|
|
1220
1220
|
case "zzzz":
|
|
1221
1221
|
default:
|
|
1222
|
-
return "GMT" +
|
|
1222
|
+
return "GMT" + V(n, ":");
|
|
1223
1223
|
}
|
|
1224
1224
|
},
|
|
1225
1225
|
// Seconds timestamp
|
|
@@ -1237,9 +1237,9 @@ function St(e, a = "") {
|
|
|
1237
1237
|
return s === 0 ? t + String(r) : t + String(r) + a + R(s, 2);
|
|
1238
1238
|
}
|
|
1239
1239
|
function It(e, a) {
|
|
1240
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") + R(Math.abs(e) / 60, 2) :
|
|
1240
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + R(Math.abs(e) / 60, 2) : V(e, a);
|
|
1241
1241
|
}
|
|
1242
|
-
function
|
|
1242
|
+
function V(e, a = "") {
|
|
1243
1243
|
const t = e > 0 ? "-" : "+", n = Math.abs(e), r = R(Math.trunc(n / 60), 2), s = R(n % 60, 2);
|
|
1244
1244
|
return t + r + a + s;
|
|
1245
1245
|
}
|
|
@@ -1312,26 +1312,26 @@ function Rn(e, a, t) {
|
|
|
1312
1312
|
const n = te(), r = (t == null ? void 0 : t.locale) ?? n.locale ?? na, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((y = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : y.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((g = (p = n.locale) == null ? void 0 : p.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, o = (t == null ? void 0 : t.weekStartsOn) ?? ((_ = (T = t == null ? void 0 : t.locale) == null ? void 0 : T.options) == null ? void 0 : _.weekStartsOn) ?? n.weekStartsOn ?? ((C = (k = n.locale) == null ? void 0 : k.options) == null ? void 0 : C.weekStartsOn) ?? 0, l = I(e, t == null ? void 0 : t.in);
|
|
1313
1313
|
if (!Sa(l))
|
|
1314
1314
|
throw new RangeError("Invalid time value");
|
|
1315
|
-
let m = a.match(_n).map((
|
|
1316
|
-
const h =
|
|
1315
|
+
let m = a.match(_n).map((D) => {
|
|
1316
|
+
const h = D[0];
|
|
1317
1317
|
if (h === "p" || h === "P") {
|
|
1318
1318
|
const b = Ne[h];
|
|
1319
|
-
return b(
|
|
1319
|
+
return b(D, r.formatLong);
|
|
1320
1320
|
}
|
|
1321
|
-
return
|
|
1322
|
-
}).join("").match(hn).map((
|
|
1323
|
-
if (
|
|
1321
|
+
return D;
|
|
1322
|
+
}).join("").match(hn).map((D) => {
|
|
1323
|
+
if (D === "''")
|
|
1324
1324
|
return { isToken: !1, value: "'" };
|
|
1325
|
-
const h =
|
|
1325
|
+
const h = D[0];
|
|
1326
1326
|
if (h === "'")
|
|
1327
|
-
return { isToken: !1, value:
|
|
1327
|
+
return { isToken: !1, value: Pn(D) };
|
|
1328
1328
|
if (Mt[h])
|
|
1329
|
-
return { isToken: !0, value:
|
|
1329
|
+
return { isToken: !0, value: D };
|
|
1330
1330
|
if (h.match(wn))
|
|
1331
1331
|
throw new RangeError(
|
|
1332
1332
|
"Format string contains an unescaped latin alphabet character `" + h + "`"
|
|
1333
1333
|
);
|
|
1334
|
-
return { isToken: !1, value:
|
|
1334
|
+
return { isToken: !1, value: D };
|
|
1335
1335
|
});
|
|
1336
1336
|
r.localize.preprocessor && (m = r.localize.preprocessor(l, m));
|
|
1337
1337
|
const i = {
|
|
@@ -1339,22 +1339,22 @@ function Rn(e, a, t) {
|
|
|
1339
1339
|
weekStartsOn: o,
|
|
1340
1340
|
locale: r
|
|
1341
1341
|
};
|
|
1342
|
-
return m.map((
|
|
1343
|
-
if (!
|
|
1344
|
-
const h =
|
|
1342
|
+
return m.map((D) => {
|
|
1343
|
+
if (!D.isToken) return D.value;
|
|
1344
|
+
const h = D.value;
|
|
1345
1345
|
(!(t != null && t.useAdditionalWeekYearTokens) && ua(h) || !(t != null && t.useAdditionalDayOfYearTokens) && ia(h)) && Le(h, a, String(e));
|
|
1346
1346
|
const b = Mt[h[0]];
|
|
1347
1347
|
return b(l, h, r.localize, i);
|
|
1348
1348
|
}).join("");
|
|
1349
1349
|
}
|
|
1350
|
-
function
|
|
1350
|
+
function Pn(e) {
|
|
1351
1351
|
const a = e.match(Tn);
|
|
1352
1352
|
return a ? a[1].replace(vn, "'") : e;
|
|
1353
1353
|
}
|
|
1354
1354
|
function ca() {
|
|
1355
1355
|
return Object.assign({}, te());
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function Dn(e, a) {
|
|
1358
1358
|
const t = I(e, a == null ? void 0 : a.in).getDay();
|
|
1359
1359
|
return t === 0 ? 7 : t;
|
|
1360
1360
|
}
|
|
@@ -1515,7 +1515,7 @@ function z(e, a) {
|
|
|
1515
1515
|
};
|
|
1516
1516
|
const n = t[1] === "+" ? 1 : -1, r = t[2] ? parseInt(t[2], 10) : 0, s = t[3] ? parseInt(t[3], 10) : 0, o = t[5] ? parseInt(t[5], 10) : 0;
|
|
1517
1517
|
return {
|
|
1518
|
-
value: n * (r * Ra + s * wa + o *
|
|
1518
|
+
value: n * (r * Ra + s * wa + o * Pa),
|
|
1519
1519
|
rest: a.slice(t[0].length)
|
|
1520
1520
|
};
|
|
1521
1521
|
}
|
|
@@ -1708,7 +1708,7 @@ class Nn extends w {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
set(t, n, r) {
|
|
1710
1710
|
const s = j(t, 0);
|
|
1711
|
-
return s.setFullYear(r, 0, 4), s.setHours(0, 0, 0, 0),
|
|
1711
|
+
return s.setFullYear(r, 0, 4), s.setHours(0, 0, 0, 0), K(s);
|
|
1712
1712
|
}
|
|
1713
1713
|
}
|
|
1714
1714
|
class Ln extends w {
|
|
@@ -2074,7 +2074,7 @@ class Hn extends w {
|
|
|
2074
2074
|
return n >= 1 && n <= 53;
|
|
2075
2075
|
}
|
|
2076
2076
|
set(t, n, r) {
|
|
2077
|
-
return
|
|
2077
|
+
return K(Yn(t, r));
|
|
2078
2078
|
}
|
|
2079
2079
|
}
|
|
2080
2080
|
const Bn = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Un = [
|
|
@@ -2360,7 +2360,7 @@ class Xn extends w {
|
|
|
2360
2360
|
}
|
|
2361
2361
|
}
|
|
2362
2362
|
function Zn(e, a, t) {
|
|
2363
|
-
const n = I(e, t == null ? void 0 : t.in), r =
|
|
2363
|
+
const n = I(e, t == null ? void 0 : t.in), r = Dn(n, t), s = a - r;
|
|
2364
2364
|
return ta(n, s, t);
|
|
2365
2365
|
}
|
|
2366
2366
|
class Jn extends w {
|
|
@@ -2870,8 +2870,8 @@ const gr = {
|
|
|
2870
2870
|
T: new mr()
|
|
2871
2871
|
}, fr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, pr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, yr = /^'([^]*?)'?$/, br = /''/g, hr = /\S/, _r = /[a-zA-Z]/;
|
|
2872
2872
|
function Tr(e, a, t, n) {
|
|
2873
|
-
var k, C,
|
|
2874
|
-
const r = () => j(t, NaN), s = ca(), o = s.locale ?? na, l = s.firstWeekContainsDate ?? ((C = (k = s.locale) == null ? void 0 : k.options) == null ? void 0 : C.firstWeekContainsDate) ?? 1, m = s.weekStartsOn ?? ((h = (
|
|
2873
|
+
var k, C, D, h;
|
|
2874
|
+
const r = () => j(t, NaN), s = ca(), o = s.locale ?? na, l = s.firstWeekContainsDate ?? ((C = (k = s.locale) == null ? void 0 : k.options) == null ? void 0 : C.firstWeekContainsDate) ?? 1, m = s.weekStartsOn ?? ((h = (D = s.locale) == null ? void 0 : D.options) == null ? void 0 : h.weekStartsOn) ?? 0, i = {
|
|
2875
2875
|
firstWeekContainsDate: l,
|
|
2876
2876
|
weekStartsOn: m,
|
|
2877
2877
|
locale: o
|
|
@@ -2901,15 +2901,15 @@ function Tr(e, a, t, n) {
|
|
|
2901
2901
|
`The format string mustn't contain \`${b}\` and any other token at the same time`
|
|
2902
2902
|
);
|
|
2903
2903
|
p.push({ token: d, fullToken: b });
|
|
2904
|
-
const
|
|
2904
|
+
const Q = $.run(
|
|
2905
2905
|
e,
|
|
2906
2906
|
b,
|
|
2907
2907
|
o.match,
|
|
2908
2908
|
i
|
|
2909
2909
|
);
|
|
2910
|
-
if (!
|
|
2910
|
+
if (!Q)
|
|
2911
2911
|
return r();
|
|
2912
|
-
c.push(
|
|
2912
|
+
c.push(Q.setter), e = Q.rest;
|
|
2913
2913
|
} else {
|
|
2914
2914
|
if (d.match(_r))
|
|
2915
2915
|
throw new RangeError(
|
|
@@ -2941,7 +2941,7 @@ function vr(e) {
|
|
|
2941
2941
|
return e.match(yr)[1].replace(br, "'");
|
|
2942
2942
|
}
|
|
2943
2943
|
function Ct(e, a, t) {
|
|
2944
|
-
const n = ca(), r =
|
|
2944
|
+
const n = ca(), r = Pr(e, t.timeZone, t.locale ?? n.locale);
|
|
2945
2945
|
return "formatToParts" in r ? wr(r, a) : Rr(r, a);
|
|
2946
2946
|
}
|
|
2947
2947
|
function wr(e, a) {
|
|
@@ -2954,13 +2954,13 @@ function Rr(e, a) {
|
|
|
2954
2954
|
const t = e.format(a).replace(/\u200E/g, ""), n = / [\w-+ ]+$/.exec(t);
|
|
2955
2955
|
return n ? n[0].substr(1) : "";
|
|
2956
2956
|
}
|
|
2957
|
-
function
|
|
2957
|
+
function Pr(e, a, t) {
|
|
2958
2958
|
return new Intl.DateTimeFormat(t ? [t.code, "en-US"] : void 0, {
|
|
2959
2959
|
timeZone: a,
|
|
2960
2960
|
timeZoneName: e
|
|
2961
2961
|
});
|
|
2962
2962
|
}
|
|
2963
|
-
function
|
|
2963
|
+
function Dr(e, a) {
|
|
2964
2964
|
const t = Sr(a);
|
|
2965
2965
|
return "formatToParts" in t ? xr(t, e) : Or(t, e);
|
|
2966
2966
|
}
|
|
@@ -3062,7 +3062,7 @@ function jr(e) {
|
|
|
3062
3062
|
return We(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
|
|
3063
3063
|
}
|
|
3064
3064
|
function $e(e, a) {
|
|
3065
|
-
const t =
|
|
3065
|
+
const t = Dr(e, a), n = We(t[0], t[1] - 1, t[2], t[3] % 24, t[4], t[5], 0).getTime();
|
|
3066
3066
|
let r = e.getTime();
|
|
3067
3067
|
const s = r % 1e3;
|
|
3068
3068
|
return r -= s >= 0 ? s : 1e3 + s, n - r;
|
|
@@ -3104,7 +3104,7 @@ const Lr = 60 * 1e3, $r = {
|
|
|
3104
3104
|
// so this token always has the same output as `XX`
|
|
3105
3105
|
case "XXXX":
|
|
3106
3106
|
case "XX":
|
|
3107
|
-
return
|
|
3107
|
+
return Z(n);
|
|
3108
3108
|
// Hours, minutes and optional seconds with `:` delimeter
|
|
3109
3109
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
3110
3110
|
// so this token always has the same output as `XXX`
|
|
@@ -3112,7 +3112,7 @@ const Lr = 60 * 1e3, $r = {
|
|
|
3112
3112
|
case "XXX":
|
|
3113
3113
|
// Hours and minutes with `:` delimeter
|
|
3114
3114
|
default:
|
|
3115
|
-
return
|
|
3115
|
+
return Z(n, ":");
|
|
3116
3116
|
}
|
|
3117
3117
|
},
|
|
3118
3118
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -3127,7 +3127,7 @@ const Lr = 60 * 1e3, $r = {
|
|
|
3127
3127
|
// so this token always has the same output as `xx`
|
|
3128
3128
|
case "xxxx":
|
|
3129
3129
|
case "xx":
|
|
3130
|
-
return
|
|
3130
|
+
return Z(n);
|
|
3131
3131
|
// Hours, minutes and optional seconds with `:` delimeter
|
|
3132
3132
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
3133
3133
|
// so this token always has the same output as `xxx`
|
|
@@ -3135,7 +3135,7 @@ const Lr = 60 * 1e3, $r = {
|
|
|
3135
3135
|
case "xxx":
|
|
3136
3136
|
// Hours and minutes with `:` delimeter
|
|
3137
3137
|
default:
|
|
3138
|
-
return
|
|
3138
|
+
return Z(n, ":");
|
|
3139
3139
|
}
|
|
3140
3140
|
},
|
|
3141
3141
|
// Timezone (GMT)
|
|
@@ -3150,7 +3150,7 @@ const Lr = 60 * 1e3, $r = {
|
|
|
3150
3150
|
// Long
|
|
3151
3151
|
case "OOOO":
|
|
3152
3152
|
default:
|
|
3153
|
-
return "GMT" +
|
|
3153
|
+
return "GMT" + Z(n, ":");
|
|
3154
3154
|
}
|
|
3155
3155
|
},
|
|
3156
3156
|
// Timezone (specific non-location)
|
|
@@ -3181,12 +3181,12 @@ function ge(e, a) {
|
|
|
3181
3181
|
n = "0" + n;
|
|
3182
3182
|
return t + n;
|
|
3183
3183
|
}
|
|
3184
|
-
function
|
|
3184
|
+
function Z(e, a = "") {
|
|
3185
3185
|
const t = e > 0 ? "-" : "+", n = Math.abs(e), r = ge(Math.floor(n / 60), 2), s = ge(Math.floor(n % 60), 2);
|
|
3186
3186
|
return t + r + a + s;
|
|
3187
3187
|
}
|
|
3188
3188
|
function Ft(e, a) {
|
|
3189
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") + ge(Math.abs(e) / 60, 2) :
|
|
3189
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + ge(Math.abs(e) / 60, 2) : Z(e, a);
|
|
3190
3190
|
}
|
|
3191
3191
|
function Gr(e, a = "") {
|
|
3192
3192
|
const t = e > 0 ? "-" : "+", n = Math.abs(e), r = Math.floor(n / 60), s = n % 60;
|
|
@@ -3536,7 +3536,7 @@ const Xr = (e) => new TextEncoder().encode(e), Zr = (e) => {
|
|
|
3536
3536
|
return `${e || ""}`;
|
|
3537
3537
|
const t = `0${a ? "." + "0".repeat(a) : ""}`, n = parseFloat(e);
|
|
3538
3538
|
return isNaN(n) || typeof e == "string" && /[^\d.,]/.test(e) ? `${t}` : `${n.toFixed(a).replace(/\B(?=(\d{3})+(?!\d))/g, ",")}`;
|
|
3539
|
-
},
|
|
3539
|
+
}, ee = (e, a, t) => {
|
|
3540
3540
|
const n = [
|
|
3541
3541
|
42563,
|
|
3542
3542
|
42564,
|
|
@@ -3629,7 +3629,7 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3629
3629
|
paymentList: n
|
|
3630
3630
|
};
|
|
3631
3631
|
})) ?? [];
|
|
3632
|
-
},
|
|
3632
|
+
}, Pe = (e) => {
|
|
3633
3633
|
const a = {
|
|
3634
3634
|
id: -1,
|
|
3635
3635
|
name: "excludePromo",
|
|
@@ -3678,7 +3678,7 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3678
3678
|
name: "manualMethod",
|
|
3679
3679
|
pathName: e,
|
|
3680
3680
|
type: n,
|
|
3681
|
-
promo:
|
|
3681
|
+
promo: Pe(a.promo),
|
|
3682
3682
|
bank: a.bank.map((s) => {
|
|
3683
3683
|
const o = s.list && s.list.length > 0 ? s.list[0].mintransaction ?? "0.00" : "0.00", l = s.list && s.list.length > 0 ? s.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: m, minAmount: i, maxAmount: c } = le(
|
|
3684
3684
|
Number(o),
|
|
@@ -3716,7 +3716,7 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3716
3716
|
name: "onlineBankingMethod",
|
|
3717
3717
|
pathName: e,
|
|
3718
3718
|
type: n,
|
|
3719
|
-
promo:
|
|
3719
|
+
promo: Pe(a.promo),
|
|
3720
3720
|
bank: a.banklist.map((s) => {
|
|
3721
3721
|
let o = "0.00", l = "0.00";
|
|
3722
3722
|
const m = s.bankindex ?? 0;
|
|
@@ -3734,7 +3734,7 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3734
3734
|
min: c,
|
|
3735
3735
|
max: y
|
|
3736
3736
|
}, g = s.pg.map((_) => {
|
|
3737
|
-
const k = _.mintransaction ?? "0.00", C = _.maxtransaction ?? "0.00", { amountList:
|
|
3737
|
+
const k = _.mintransaction ?? "0.00", C = _.maxtransaction ?? "0.00", { amountList: D, minAmount: h, maxAmount: b } = le(
|
|
3738
3738
|
Number(k),
|
|
3739
3739
|
Number(C),
|
|
3740
3740
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -3743,7 +3743,7 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3743
3743
|
return {
|
|
3744
3744
|
id: _.pgindex,
|
|
3745
3745
|
name: _.bankaccountname,
|
|
3746
|
-
amountList:
|
|
3746
|
+
amountList: D,
|
|
3747
3747
|
min: h,
|
|
3748
3748
|
max: b
|
|
3749
3749
|
};
|
|
@@ -3804,7 +3804,7 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3804
3804
|
name: "autoMethod",
|
|
3805
3805
|
pathName: e,
|
|
3806
3806
|
type: r,
|
|
3807
|
-
promo:
|
|
3807
|
+
promo: Pe(t.promo),
|
|
3808
3808
|
bank: s,
|
|
3809
3809
|
requiredField: Re,
|
|
3810
3810
|
hintMsg: ""
|
|
@@ -3816,7 +3816,7 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3816
3816
|
name: "fixAmountMethod",
|
|
3817
3817
|
pathName: e,
|
|
3818
3818
|
type: n,
|
|
3819
|
-
promo:
|
|
3819
|
+
promo: Pe(t.promo),
|
|
3820
3820
|
bank: t.bank.map((s) => {
|
|
3821
3821
|
const o = s.amtlist.map(Number).sort((m, i) => m - i);
|
|
3822
3822
|
return {
|
|
@@ -3864,8 +3864,8 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3864
3864
|
trial: (c.flag & 4) > 0,
|
|
3865
3865
|
new: (c.flag & 8) > 0
|
|
3866
3866
|
},
|
|
3867
|
-
imageUrl: `${e.mdDomains[c.mdDomains_id]}${
|
|
3868
|
-
logoUrl: `/image/
|
|
3867
|
+
imageUrl: `${e.mdDomains[c.mdDomains_id]}${ee(c.img, c.id_GameMaster, `?ts=${c.filemtime}`)}`,
|
|
3868
|
+
logoUrl: `/custom/image/side_menu/${l.code.toLowerCase()}.png?v=1`,
|
|
3869
3869
|
rate: "0.00",
|
|
3870
3870
|
jackpotAmount: ""
|
|
3871
3871
|
}))) ?? [] : []
|
|
@@ -3885,7 +3885,7 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3885
3885
|
trial: (l.flag ?? 0) > 0,
|
|
3886
3886
|
new: (l.flag ?? 0) > 0
|
|
3887
3887
|
},
|
|
3888
|
-
imageUrl: e.mdDomains && e.mdDomains.length > 0 ? `${e.mdDomains[l.mdDomains_id ?? 0]}${
|
|
3888
|
+
imageUrl: e.mdDomains && e.mdDomains.length > 0 ? `${e.mdDomains[l.mdDomains_id ?? 0]}${ee(l.img ?? "", l.id ?? 0, `?ts=${l.filemtime}`)}` : "",
|
|
3889
3889
|
logoUrl: l.img ? `/image/platform_logo/platform_logo_${l.com ?? ""}.png?v=1` : "",
|
|
3890
3890
|
rate: "0.00",
|
|
3891
3891
|
jackpotAmount: l.jackpotAmount ?? ""
|
|
@@ -3895,7 +3895,7 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3895
3895
|
};
|
|
3896
3896
|
}, Ts = (e) => ({
|
|
3897
3897
|
list: e.mdGrade.map((a) => {
|
|
3898
|
-
var t, n, r, s, o, l, m, i, c, y, p, g, T, _, k, C,
|
|
3898
|
+
var t, n, r, s, o, l, m, i, c, y, p, g, T, _, k, C, D, h, b, d, $, ne, Q, re, se, Ye, He, Be, Ue, qe, Ve, Ae, Qe, Xe, Ze, Je, Ke, et, tt, at, nt, rt, st, ot, it, ut, ct, lt, dt, mt, gt, ft, pt, yt, bt, ht, _t, Tt, vt, wt, Rt, Pt, Dt, kt;
|
|
3899
3899
|
return {
|
|
3900
3900
|
id: a.gradeindex,
|
|
3901
3901
|
is_current_level: !1,
|
|
@@ -3936,10 +3936,10 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3936
3936
|
},
|
|
3937
3937
|
weekly: {
|
|
3938
3938
|
isShow: !0,
|
|
3939
|
-
bonus: v(((h = (
|
|
3939
|
+
bonus: v(((h = (D = a.benefit) == null ? void 0 : D.weekly) == null ? void 0 : h.bonus) ?? "0"),
|
|
3940
3940
|
bonus_name: ((d = (b = a.benefit) == null ? void 0 : b.weekly) == null ? void 0 : d.bonus_name) ?? "",
|
|
3941
3941
|
turnover: v(((ne = ($ = a.benefit) == null ? void 0 : $.weekly) == null ? void 0 : ne.turnover) ?? "0"),
|
|
3942
|
-
turnover_name: ((re = (
|
|
3942
|
+
turnover_name: ((re = (Q = a.benefit) == null ? void 0 : Q.weekly) == null ? void 0 : re.turnover_name) ?? ""
|
|
3943
3943
|
},
|
|
3944
3944
|
upgrade: {
|
|
3945
3945
|
isShow: !0,
|
|
@@ -3973,8 +3973,8 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3973
3973
|
isShow: !0,
|
|
3974
3974
|
bonus: v(((Tt = (_t = a.benefit) == null ? void 0 : _t.salary_20th) == null ? void 0 : Tt.bonus) ?? "0"),
|
|
3975
3975
|
bonus_name: ((wt = (vt = a.benefit) == null ? void 0 : vt.salary_20th) == null ? void 0 : wt.bonus_name) ?? "",
|
|
3976
|
-
turnover: v(((
|
|
3977
|
-
turnover_name: ((kt = (
|
|
3976
|
+
turnover: v(((Pt = (Rt = a.benefit) == null ? void 0 : Rt.salary_20th) == null ? void 0 : Pt.turnover) ?? "0"),
|
|
3977
|
+
turnover_name: ((kt = (Dt = a.benefit) == null ? void 0 : Dt.salary_20th) == null ? void 0 : kt.turnover_name) ?? ""
|
|
3978
3978
|
}
|
|
3979
3979
|
}
|
|
3980
3980
|
};
|
|
@@ -4098,40 +4098,40 @@ const Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4098
4098
|
}).sort((a, t) => a.claimable && !t.claimable ? -1 : !a.claimable && t.claimable ? 1 : 0)
|
|
4099
4099
|
}), ws = (e) => ({
|
|
4100
4100
|
month: {
|
|
4101
|
-
status:
|
|
4101
|
+
status: q(e.month)
|
|
4102
4102
|
},
|
|
4103
4103
|
week: {
|
|
4104
|
-
status:
|
|
4104
|
+
status: q(e.week)
|
|
4105
4105
|
},
|
|
4106
4106
|
day: {
|
|
4107
|
-
status:
|
|
4107
|
+
status: q(e.day)
|
|
4108
4108
|
},
|
|
4109
4109
|
birthday: {
|
|
4110
|
-
status:
|
|
4110
|
+
status: q(e.birthday)
|
|
4111
4111
|
},
|
|
4112
4112
|
salary_1st: {
|
|
4113
|
-
status:
|
|
4113
|
+
status: q(e.salary1st)
|
|
4114
4114
|
},
|
|
4115
4115
|
salary_10th: {
|
|
4116
|
-
status:
|
|
4116
|
+
status: q(e.salary10th)
|
|
4117
4117
|
},
|
|
4118
4118
|
salary_20th: {
|
|
4119
|
-
status:
|
|
4119
|
+
status: q(e.salary20th)
|
|
4120
4120
|
}
|
|
4121
|
-
}),
|
|
4121
|
+
}), q = (e) => ({
|
|
4122
4122
|
claimable: e === 1,
|
|
4123
4123
|
expired: e === 0,
|
|
4124
4124
|
claimed: e === -1
|
|
4125
4125
|
}), Rs = (e) => e.mdVipSetting.filter((t) => t.status == 1).map((t) => ({
|
|
4126
4126
|
fieldName: t.fieldname,
|
|
4127
4127
|
showName: t.showname
|
|
4128
|
-
})),
|
|
4128
|
+
})), Ps = (e) => ({
|
|
4129
4129
|
current_deposit: e.deposit,
|
|
4130
4130
|
current_turnover: e.turnOver,
|
|
4131
4131
|
current_grade_id: e.mdCurrentGrade ? e.mdCurrentGrade.gradeindex : 0,
|
|
4132
4132
|
next_grade_id: e.mdNextGrade.gradeindex,
|
|
4133
4133
|
percentage: Number(e.percentage) * 100 > 100 ? 100 : Number(e.percentage) * 100
|
|
4134
|
-
}),
|
|
4134
|
+
}), Ds = (e) => {
|
|
4135
4135
|
var n, r, s, o, l, m, i, c;
|
|
4136
4136
|
let a = 4;
|
|
4137
4137
|
e.vipcalculation && (a = Number(e.vipcalculation));
|
|
@@ -4332,10 +4332,10 @@ const Ls = (e) => {
|
|
|
4332
4332
|
status: e.status == 1,
|
|
4333
4333
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
4334
4334
|
flag: e.flag
|
|
4335
|
-
}),
|
|
4335
|
+
}), P = (e) => ({
|
|
4336
4336
|
status: e.status == 1,
|
|
4337
4337
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? ""
|
|
4338
|
-
}), Ws = (e) =>
|
|
4338
|
+
}), Ws = (e) => P(e), Es = (e) => {
|
|
4339
4339
|
var a, t, n, r, s;
|
|
4340
4340
|
return {
|
|
4341
4341
|
bankCard: ((a = e.bankCard) == null ? void 0 : a.map((o) => {
|
|
@@ -4402,7 +4402,7 @@ const Ls = (e) => {
|
|
|
4402
4402
|
withdrawCount: e.withdrawCount,
|
|
4403
4403
|
withdrawMin135: Number(e.withdrawMin_135) && Number(e.withdrawMin_135) > 0 ? Number(e.withdrawMin_135) : Number(e.withdrawMin),
|
|
4404
4404
|
withdrawMax135: Number(e.withdrawMax_135) && Number(e.withdrawMax_135) > 0 ? Number(e.withdrawMax_135) : Number(e.withdrawMax)
|
|
4405
|
-
}), Hs = (e) =>
|
|
4405
|
+
}), Hs = (e) => P(e);
|
|
4406
4406
|
var L = /* @__PURE__ */ ((e) => (e.deposit = "deposit", e.withdraw = "withdraw", e.promo = "promotion", e.manual = "adjustment", e.cashIn = "cashIn", e.cashOut = "cashOut", e.transfer = "transfer", e.incentive = "incentive", e.upgradeBonus = "upgradeBonus", e.extension = "extension", e.creditTransfer = "creditTransfer", e.shareHolder = "shareHolderDividend", e))(L || {});
|
|
4407
4407
|
const Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4408
4408
|
__proto__: null,
|
|
@@ -4552,8 +4552,8 @@ const Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4552
4552
|
trial: !1,
|
|
4553
4553
|
new: !1
|
|
4554
4554
|
},
|
|
4555
|
-
imageUrl: `${e.mdDomains[s.mdDomains_id]}${
|
|
4556
|
-
logoUrl:
|
|
4555
|
+
imageUrl: `${e.mdDomains[s.mdDomains_id]}${ee(s.img, s.id, `?ts=${s.filemtime}`)}`,
|
|
4556
|
+
logoUrl: `/image/platform_logo/platform_logo_${s.code_PlatformMaster}?v=1`,
|
|
4557
4557
|
rate: "0.00",
|
|
4558
4558
|
jackpotAmount: ""
|
|
4559
4559
|
}))) ?? []
|
|
@@ -4777,7 +4777,7 @@ const Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4777
4777
|
}
|
|
4778
4778
|
}
|
|
4779
4779
|
return a;
|
|
4780
|
-
}, po = (e) =>
|
|
4780
|
+
}, po = (e) => P(e), yo = (e) => P(e), bo = (e) => {
|
|
4781
4781
|
var a, t, n, r, s;
|
|
4782
4782
|
return {
|
|
4783
4783
|
status: e.status == 1,
|
|
@@ -4809,7 +4809,7 @@ const Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4809
4809
|
regex: a.regex,
|
|
4810
4810
|
showName: a.showname,
|
|
4811
4811
|
inputHelper: a.inputHelper
|
|
4812
|
-
})) : [], _o = (e) =>
|
|
4812
|
+
})) : [], _o = (e) => P(e), To = (e) => e, vo = (e) => {
|
|
4813
4813
|
var a;
|
|
4814
4814
|
return {
|
|
4815
4815
|
status: e.status == 1,
|
|
@@ -4819,15 +4819,15 @@ const Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4819
4819
|
ledgerIndex: e.checkgame.ledgerindex ?? 0,
|
|
4820
4820
|
amount: e.checkgame.amount ?? ""
|
|
4821
4821
|
};
|
|
4822
|
-
}, wo = (e) =>
|
|
4822
|
+
}, wo = (e) => P(e), Ro = (e) => ({
|
|
4823
4823
|
status: e.status == 1,
|
|
4824
4824
|
message: e.message,
|
|
4825
4825
|
user: e.user ?? ""
|
|
4826
|
-
}),
|
|
4826
|
+
}), Po = (e) => ({
|
|
4827
4827
|
status: e.status == 1,
|
|
4828
4828
|
message: e.msg ?? "",
|
|
4829
4829
|
amount: e.amount ?? ""
|
|
4830
|
-
}),
|
|
4830
|
+
}), Do = (e) => P(e), ko = (e) => {
|
|
4831
4831
|
var a;
|
|
4832
4832
|
return {
|
|
4833
4833
|
status: e.status == 1,
|
|
@@ -4861,10 +4861,10 @@ const Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4861
4861
|
message: e.msg ?? "",
|
|
4862
4862
|
form: e.form ?? "",
|
|
4863
4863
|
gameUrl: e.data ?? ""
|
|
4864
|
-
}), So = (e) =>
|
|
4864
|
+
}), So = (e) => P(e), Io = (e) => P(e), je = (e) => ({
|
|
4865
4865
|
status: e.status == 1,
|
|
4866
4866
|
message: e.errormessage ?? ""
|
|
4867
|
-
}), jo = (e) =>
|
|
4867
|
+
}), jo = (e) => P(e), Co = (e) => e, No = (e) => P(e), Lo = (e) => {
|
|
4868
4868
|
var a;
|
|
4869
4869
|
return {
|
|
4870
4870
|
platformProduct: ((a = e.mdPlatformProduct) == null ? void 0 : a.map((t) => ({
|
|
@@ -4888,7 +4888,7 @@ const Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4888
4888
|
}))) ?? []
|
|
4889
4889
|
};
|
|
4890
4890
|
})) ?? [];
|
|
4891
|
-
}, Go = (e) =>
|
|
4891
|
+
}, Go = (e) => P(e), Fo = (e) => P(e), zo = (e) => P(e), Wo = (e) => P(e), Eo = (e) => P(e), Yo = (e) => P(e), Ho = (e) => P(e), Bo = (e) => ({
|
|
4892
4892
|
status: e.status == 1,
|
|
4893
4893
|
message: e.msg ?? "",
|
|
4894
4894
|
data: e.data
|
|
@@ -5050,7 +5050,7 @@ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5050
5050
|
binded: ((n = e.data) == null ? void 0 : n.binded) ?? !1
|
|
5051
5051
|
}
|
|
5052
5052
|
};
|
|
5053
|
-
}, ai = (e) =>
|
|
5053
|
+
}, ai = (e) => P(e), ni = (e) => {
|
|
5054
5054
|
var a;
|
|
5055
5055
|
return {
|
|
5056
5056
|
status: e.status == 1,
|
|
@@ -5060,7 +5060,7 @@ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5060
5060
|
createdAt: t.created_at
|
|
5061
5061
|
}))) ?? []
|
|
5062
5062
|
};
|
|
5063
|
-
}, ri = (e) =>
|
|
5063
|
+
}, ri = (e) => P(e), si = (e) => {
|
|
5064
5064
|
var a, t, n;
|
|
5065
5065
|
return {
|
|
5066
5066
|
status: e.status == 1,
|
|
@@ -5085,11 +5085,11 @@ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5085
5085
|
}))) ?? []
|
|
5086
5086
|
}
|
|
5087
5087
|
};
|
|
5088
|
-
}, oi = (e) =>
|
|
5088
|
+
}, oi = (e) => P(e), ii = (e) => ({
|
|
5089
5089
|
status: e.status == 1,
|
|
5090
5090
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
5091
5091
|
tokenAmount: e.token_amount
|
|
5092
|
-
}), ui = (e) =>
|
|
5092
|
+
}), ui = (e) => P(e), ci = (e) => {
|
|
5093
5093
|
let a = 0;
|
|
5094
5094
|
return e.data != null && typeof e.data == "object" && (a = e.data.amount), {
|
|
5095
5095
|
status: e.status,
|
|
@@ -5172,7 +5172,7 @@ const Yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5172
5172
|
errorMessage: e.errormessage ?? "",
|
|
5173
5173
|
isAutoTransfer: e.optionkey == "auto" || ((a = e.message) == null ? void 0 : a.optionkey) == "auto" || ((t = e.mdAccountSetting) == null ? void 0 : t.optionkey) == "auto"
|
|
5174
5174
|
};
|
|
5175
|
-
}, yi = (e) =>
|
|
5175
|
+
}, yi = (e) => P(e), bi = (e) => ({
|
|
5176
5176
|
status: e.status,
|
|
5177
5177
|
message: e.msg ?? "",
|
|
5178
5178
|
turnover: e.data ? e.data.turnover : 0,
|
|
@@ -5266,7 +5266,7 @@ const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5266
5266
|
maxLength: a.maxlen ?? "0",
|
|
5267
5267
|
inputHelper: a.inputHelper ?? ""
|
|
5268
5268
|
}))
|
|
5269
|
-
}),
|
|
5269
|
+
}), Pi = (e) => ({
|
|
5270
5270
|
currentPage: e.mdGameLists.current_page ?? 0,
|
|
5271
5271
|
lastPage: e.mdGameLists.last_page ?? 0,
|
|
5272
5272
|
data: e.mdGameLists.data && e.mdGameLists.data.length > 0 ? e.mdGameLists.data.map((a) => ({
|
|
@@ -5280,16 +5280,16 @@ const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5280
5280
|
trial: !1,
|
|
5281
5281
|
new: !1
|
|
5282
5282
|
},
|
|
5283
|
-
imageUrl: `${e.mdDomains[a.mdDomains_id]}${
|
|
5284
|
-
logoUrl: `/image/platform_logo
|
|
5283
|
+
imageUrl: `${e.mdDomains[a.mdDomains_id]}${ee(a.img, a.id, `?ts=${a.filemtime}`)}`,
|
|
5284
|
+
logoUrl: `/image/platform_logo/platform_logo_${a.code}?v=1`,
|
|
5285
5285
|
rate: "0.00",
|
|
5286
5286
|
jackpotAmount: ""
|
|
5287
5287
|
})) ?? [] : []
|
|
5288
|
-
}),
|
|
5289
|
-
var
|
|
5288
|
+
}), Di = (e) => P(e), ki = (e) => P(e);
|
|
5289
|
+
var A = /* @__PURE__ */ ((e) => (e.inProgress = "inProgress", e.collectable = "collectable", e.collected = "collected", e))(A || {});
|
|
5290
5290
|
const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5291
5291
|
__proto__: null,
|
|
5292
|
-
AccumulateDepositStatus:
|
|
5292
|
+
AccumulateDepositStatus: A
|
|
5293
5293
|
}, Symbol.toStringTag, { value: "Module" })), xi = (e) => {
|
|
5294
5294
|
if (e.status == 0)
|
|
5295
5295
|
return {
|
|
@@ -5303,7 +5303,7 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5303
5303
|
a = {
|
|
5304
5304
|
buttonStatus: e.data.tier.filter(
|
|
5305
5305
|
(o) => o.claimable == "1" && o.collected != "1"
|
|
5306
|
-
).length > 0 ?
|
|
5306
|
+
).length > 0 ? A.collectable : A.collected,
|
|
5307
5307
|
dateFrom: e.data.datefrom,
|
|
5308
5308
|
dateTo: e.data.dateto,
|
|
5309
5309
|
progress: {
|
|
@@ -5314,7 +5314,7 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5314
5314
|
list: e.data.tier.map((o) => ({
|
|
5315
5315
|
total: o.requirement,
|
|
5316
5316
|
reward: Number(o.reward),
|
|
5317
|
-
status: o.claimable != "1" ?
|
|
5317
|
+
status: o.claimable != "1" ? A.inProgress : o.collected == "1" ? A.collected : A.collectable
|
|
5318
5318
|
}))
|
|
5319
5319
|
};
|
|
5320
5320
|
}
|
|
@@ -5582,8 +5582,8 @@ const Uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5582
5582
|
trial: !1,
|
|
5583
5583
|
new: !1
|
|
5584
5584
|
},
|
|
5585
|
-
imageUrl: `${e.mdDomains[s.mdDomains_id]}${
|
|
5586
|
-
logoUrl: `/image/platform_logo
|
|
5585
|
+
imageUrl: `${e.mdDomains[s.mdDomains_id]}${ee(s.img, s.id, `?ts=${s.filemtime}`)}`,
|
|
5586
|
+
logoUrl: `/image/platform_logo/platform_logo_${s.code}?v=1`,
|
|
5587
5587
|
rate: "0.00",
|
|
5588
5588
|
jackpotAmount: ""
|
|
5589
5589
|
}))) ?? []
|
|
@@ -5607,11 +5607,11 @@ const Uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5607
5607
|
status: e.status == 1,
|
|
5608
5608
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
5609
5609
|
tokenAmount: e.token_amount
|
|
5610
|
-
}), Ji = (e) =>
|
|
5611
|
-
var
|
|
5610
|
+
}), Ji = (e) => P(e);
|
|
5611
|
+
var J = /* @__PURE__ */ ((e) => (e.inProgress = "inProgress", e.collectable = "collectable", e.collected = "collected", e))(J || {});
|
|
5612
5612
|
const qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5613
5613
|
__proto__: null,
|
|
5614
|
-
NewbieMissionStatus:
|
|
5614
|
+
NewbieMissionStatus: J
|
|
5615
5615
|
}, Symbol.toStringTag, { value: "Module" })), Ki = (e) => {
|
|
5616
5616
|
if (e.status == 0 || e.data == null)
|
|
5617
5617
|
return {
|
|
@@ -5619,8 +5619,8 @@ const qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5619
5619
|
message: e.msg ?? "",
|
|
5620
5620
|
data: null
|
|
5621
5621
|
};
|
|
5622
|
-
let a =
|
|
5623
|
-
return e.data.has_claimed ? a =
|
|
5622
|
+
let a = J.inProgress;
|
|
5623
|
+
return e.data.has_claimed ? a = J.collected : a = e.data.claimable ? J.collectable : J.inProgress, {
|
|
5624
5624
|
status: e.status == 1,
|
|
5625
5625
|
message: e.msg ?? "",
|
|
5626
5626
|
data: {
|
|
@@ -5879,11 +5879,11 @@ const Vu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5879
5879
|
code: "",
|
|
5880
5880
|
value: a.list.map((d) => d.benefit_list.salary_10th.bonus)
|
|
5881
5881
|
});
|
|
5882
|
-
const
|
|
5882
|
+
const D = n.findIndex(
|
|
5883
5883
|
(d) => d.fieldName == "salary_bonus_multiply_10th"
|
|
5884
5884
|
);
|
|
5885
|
-
|
|
5886
|
-
name: n[
|
|
5885
|
+
D > -1 && r.push({
|
|
5886
|
+
name: n[D].showName,
|
|
5887
5887
|
code: "",
|
|
5888
5888
|
value: a.list.map((d) => d.benefit_list.salary_10th.turnover)
|
|
5889
5889
|
});
|
|
@@ -6198,7 +6198,7 @@ const Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6198
6198
|
}, Ru = (e) => ({
|
|
6199
6199
|
status: e.status == 1,
|
|
6200
6200
|
message: e.message ?? ""
|
|
6201
|
-
}),
|
|
6201
|
+
}), Pu = (e) => {
|
|
6202
6202
|
if (u.casinoGameList in e && (e != null && e.casinoGameList)) {
|
|
6203
6203
|
const a = e.casinoGameList;
|
|
6204
6204
|
if (u.getPlatformTurnoverRate in e && (e != null && e.getPlatformTurnoverRate)) {
|
|
@@ -6218,7 +6218,7 @@ const Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6218
6218
|
}
|
|
6219
6219
|
}
|
|
6220
6220
|
return e;
|
|
6221
|
-
},
|
|
6221
|
+
}, Du = (e) => (e.findIndex((a) => a.name === u.casinoGameList) > -1 && e.findIndex((a) => a.name === u.getPlatformTurnoverRate) === -1 && e.push({
|
|
6222
6222
|
name: u.getPlatformTurnoverRate,
|
|
6223
6223
|
query: ""
|
|
6224
6224
|
}), e), ku = (e) => {
|
|
@@ -6237,8 +6237,8 @@ const Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6237
6237
|
trial: !1,
|
|
6238
6238
|
new: !1
|
|
6239
6239
|
},
|
|
6240
|
-
imageUrl: `${e.mdDomains[s.mdDomains_id]}${
|
|
6241
|
-
logoUrl:
|
|
6240
|
+
imageUrl: `${e.mdDomains[s.mdDomains_id]}${ee(s.img, s.id, `?ts=${s.filemtime}`)}`,
|
|
6241
|
+
logoUrl: `/image/platform_logo/platform_logo_${s.code_PlatformMaster}?v=1`,
|
|
6242
6242
|
rate: "0.00",
|
|
6243
6243
|
jackpotAmount: ""
|
|
6244
6244
|
}))) ?? []
|
|
@@ -6246,7 +6246,7 @@ const Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6246
6246
|
}, xu = async (e) => {
|
|
6247
6247
|
var a, t;
|
|
6248
6248
|
try {
|
|
6249
|
-
e = uu(e), e = tu(e), e = nu(e), e = su(e), e = cu(e), e = du(e), e = fu(e), e = pu(e), e = hu(e), e = _u(e), e = Tu(e), e = vu(e), e =
|
|
6249
|
+
e = uu(e), e = tu(e), e = nu(e), e = su(e), e = cu(e), e = du(e), e = fu(e), e = pu(e), e = hu(e), e = _u(e), e = Tu(e), e = vu(e), e = Du(e);
|
|
6250
6250
|
const r = {
|
|
6251
6251
|
requests: e.map((l) => ({
|
|
6252
6252
|
name: l.name,
|
|
@@ -6294,13 +6294,13 @@ const Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6294
6294
|
o.result[i] = Rs(c);
|
|
6295
6295
|
break;
|
|
6296
6296
|
case u.vipStatus:
|
|
6297
|
-
o.result[i] =
|
|
6297
|
+
o.result[i] = Ps(c);
|
|
6298
6298
|
break;
|
|
6299
6299
|
case u.promotion:
|
|
6300
6300
|
o.result[i] = vs(c);
|
|
6301
6301
|
break;
|
|
6302
6302
|
case u.getSetting:
|
|
6303
|
-
o.result[i] =
|
|
6303
|
+
o.result[i] = Ds(c);
|
|
6304
6304
|
break;
|
|
6305
6305
|
case u.getCountryMobile:
|
|
6306
6306
|
o.result[i] = xs(
|
|
@@ -6510,10 +6510,10 @@ const Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6510
6510
|
);
|
|
6511
6511
|
break;
|
|
6512
6512
|
case u.applyPromo:
|
|
6513
|
-
o.result[i] =
|
|
6513
|
+
o.result[i] = Po(c);
|
|
6514
6514
|
break;
|
|
6515
6515
|
case u.applyRedPacket:
|
|
6516
|
-
o.result[i] =
|
|
6516
|
+
o.result[i] = Do(c);
|
|
6517
6517
|
break;
|
|
6518
6518
|
case u.applySignIn:
|
|
6519
6519
|
o.result[i] = ko(c);
|
|
@@ -6741,12 +6741,12 @@ const Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6741
6741
|
o.result[i] = Ri(c);
|
|
6742
6742
|
break;
|
|
6743
6743
|
case u.getFavouriteGame:
|
|
6744
|
-
o.result[i] =
|
|
6744
|
+
o.result[i] = Pi(
|
|
6745
6745
|
c
|
|
6746
6746
|
);
|
|
6747
6747
|
break;
|
|
6748
6748
|
case u.updateFavouriteGame:
|
|
6749
|
-
o.result[i] =
|
|
6749
|
+
o.result[i] = Di(
|
|
6750
6750
|
c
|
|
6751
6751
|
);
|
|
6752
6752
|
break;
|
|
@@ -6883,7 +6883,7 @@ const Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6883
6883
|
break;
|
|
6884
6884
|
}
|
|
6885
6885
|
}
|
|
6886
|
-
return o.result = iu(o.result), o.result = au(o.result), o.result = ru(o.result), o.result = ou(o.result), o.result = lu(o.result), o.result = mu(o.result), o.result = gu(o.result), o.result = yu(o.result), o.result = bu(o.result), o.result =
|
|
6886
|
+
return o.result = iu(o.result), o.result = au(o.result), o.result = ru(o.result), o.result = ou(o.result), o.result = lu(o.result), o.result = mu(o.result), o.result = gu(o.result), o.result = yu(o.result), o.result = bu(o.result), o.result = Pu(o.result), o;
|
|
6887
6887
|
} catch (n) {
|
|
6888
6888
|
return Kt.isAxiosError(n) ? {
|
|
6889
6889
|
status: ((a = n.response) == null ? void 0 : a.status) || 600,
|
|
@@ -7181,10 +7181,10 @@ const Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7181
7181
|
__proto__: null
|
|
7182
7182
|
}, Symbol.toStringTag, { value: "Module" })), Rc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7183
7183
|
__proto__: null
|
|
7184
|
-
}, Symbol.toStringTag, { value: "Module" })), Dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7185
|
-
__proto__: null
|
|
7186
7184
|
}, Symbol.toStringTag, { value: "Module" })), Pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7187
7185
|
__proto__: null
|
|
7186
|
+
}, Symbol.toStringTag, { value: "Module" })), Dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7187
|
+
__proto__: null
|
|
7188
7188
|
}, Symbol.toStringTag, { value: "Module" })), kc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7189
7189
|
__proto__: null
|
|
7190
7190
|
}, Symbol.toStringTag, { value: "Module" })), xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -7292,10 +7292,10 @@ const qc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7292
7292
|
__proto__: null
|
|
7293
7293
|
}, Symbol.toStringTag, { value: "Module" })), Rl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7294
7294
|
__proto__: null
|
|
7295
|
-
}, Symbol.toStringTag, { value: "Module" })), Dl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7296
|
-
__proto__: null
|
|
7297
7295
|
}, Symbol.toStringTag, { value: "Module" })), Pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7298
7296
|
__proto__: null
|
|
7297
|
+
}, Symbol.toStringTag, { value: "Module" })), Dl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7298
|
+
__proto__: null
|
|
7299
7299
|
}, Symbol.toStringTag, { value: "Module" })), kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7300
7300
|
__proto__: null
|
|
7301
7301
|
}, Symbol.toStringTag, { value: "Module" })), xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -7399,7 +7399,7 @@ const qc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7399
7399
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7400
7400
|
export {
|
|
7401
7401
|
pc as addBankCardType,
|
|
7402
|
-
|
|
7402
|
+
Pl as agTransferCreditReportType,
|
|
7403
7403
|
oc as announcementType,
|
|
7404
7404
|
Qu as api,
|
|
7405
7405
|
zu as apiType,
|
|
@@ -7411,7 +7411,7 @@ export {
|
|
|
7411
7411
|
gc as applyVipBonusType,
|
|
7412
7412
|
zl as applyWeekCard,
|
|
7413
7413
|
ec as autoRegisterApi,
|
|
7414
|
-
|
|
7414
|
+
Dl as betReportType,
|
|
7415
7415
|
vd as casinoGameListType,
|
|
7416
7416
|
bc as changePasswordType,
|
|
7417
7417
|
Il as changeWithdrawalCodeType,
|
|
@@ -7466,7 +7466,7 @@ export {
|
|
|
7466
7466
|
Mc as getTopupRewardDataType,
|
|
7467
7467
|
Sc as getTopupRewardReportType,
|
|
7468
7468
|
Lc as getTurnOverRewardClaimType,
|
|
7469
|
-
|
|
7469
|
+
Dc as getTurnOverRewardDataType,
|
|
7470
7470
|
kc as getTurnOverRewardReportType,
|
|
7471
7471
|
rd as getTurnOverRewardSettingMultType,
|
|
7472
7472
|
Fc as getTurnOverRewardSettingType,
|
|
@@ -7517,7 +7517,7 @@ export {
|
|
|
7517
7517
|
tc as setLocaleApi,
|
|
7518
7518
|
Tl as signInRecordType,
|
|
7519
7519
|
_l as signInViewInfoType,
|
|
7520
|
-
|
|
7520
|
+
Pc as slotGameListType,
|
|
7521
7521
|
ld as spinWheelType,
|
|
7522
7522
|
yl as submitCryptoAccountType,
|
|
7523
7523
|
Td as submitFeedbackType,
|