@obb871001/api-integration-sdk 1.0.379 → 1.0.381
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/index.cjs +5 -5
- package/dist/index.js +870 -827
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import de, { createContext as
|
|
1
|
+
import de, { createContext as jt, useContext as _i, useState as Xa, useMemo as Oa, useCallback as W, useRef as ae, useEffect as pe } from "react";
|
|
2
2
|
import { useQueries as Wn, useQuery as $, useQueryClient as Wa, useMutation as X, QueryClient as Or, QueryClientProvider as Br } from "@tanstack/react-query";
|
|
3
3
|
import Hr from "axios";
|
|
4
|
-
import { get as Y, find as Ie, isEmpty as Ne, entries as zn, forEach as Wr, map as Le, isArray as ea, toLower as Ei, omit as zr, keyBy as Ir, replace as
|
|
4
|
+
import { get as Y, find as Ie, isEmpty as Ne, entries as zn, forEach as Wr, map as Le, isArray as ea, toLower as Ei, omit as zr, keyBy as Ir, replace as nt, includes as Vr, isObject as Yt, flatMap as Xt, values as Jr, keys as Ni } from "lodash";
|
|
5
5
|
import Zr from "react-dom";
|
|
6
|
-
var
|
|
6
|
+
var ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
7
|
function yi(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9
9
|
}
|
|
@@ -31,26 +31,26 @@ function Kr(e) {
|
|
|
31
31
|
});
|
|
32
32
|
}), t;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var rt = { exports: {} }, Ka = {};
|
|
35
35
|
var Li;
|
|
36
36
|
function qr() {
|
|
37
37
|
if (Li) return Ka;
|
|
38
38
|
Li = 1;
|
|
39
39
|
var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
40
|
-
function
|
|
40
|
+
function U(d, l, a) {
|
|
41
41
|
var i, o = {}, s = null, u = null;
|
|
42
42
|
a !== void 0 && (s = "" + a), l.key !== void 0 && (s = "" + l.key), l.ref !== void 0 && (u = l.ref);
|
|
43
43
|
for (i in l) r.call(l, i) && !g.hasOwnProperty(i) && (o[i] = l[i]);
|
|
44
44
|
if (d && d.defaultProps) for (i in l = d.defaultProps, l) o[i] === void 0 && (o[i] = l[i]);
|
|
45
45
|
return { $$typeof: n, type: d, key: s, ref: u, props: o, _owner: p.current };
|
|
46
46
|
}
|
|
47
|
-
return Ka.Fragment = t, Ka.jsx =
|
|
47
|
+
return Ka.Fragment = t, Ka.jsx = U, Ka.jsxs = U, Ka;
|
|
48
48
|
}
|
|
49
49
|
var qa = {};
|
|
50
50
|
var Gi;
|
|
51
51
|
function $r() {
|
|
52
52
|
return Gi || (Gi = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
53
|
-
var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"),
|
|
53
|
+
var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), U = Symbol.for("react.provider"), d = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, _ = "@@iterator";
|
|
54
54
|
function c(T) {
|
|
55
55
|
if (T === null || typeof T != "object")
|
|
56
56
|
return null;
|
|
@@ -62,10 +62,10 @@ function $r() {
|
|
|
62
62
|
{
|
|
63
63
|
for (var I = arguments.length, J = new Array(I > 1 ? I - 1 : 0), Q = 1; Q < I; Q++)
|
|
64
64
|
J[Q - 1] = arguments[Q];
|
|
65
|
-
|
|
65
|
+
b("error", T, J);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function b(T, I, J) {
|
|
69
69
|
{
|
|
70
70
|
var Q = y.ReactDebugCurrentFrame, ue = Q.getStackAddendum();
|
|
71
71
|
ue !== "" && (I += "%s", J = J.concat([ue]));
|
|
@@ -78,7 +78,7 @@ function $r() {
|
|
|
78
78
|
var C = !1, v = !1, x = !1, E = !1, G = !1, O;
|
|
79
79
|
O = Symbol.for("react.module.reference");
|
|
80
80
|
function k(T) {
|
|
81
|
-
return !!(typeof T == "string" || typeof T == "function" || T === r || T === g || G || T === p || T === a || T === i || E || T === u || C || v || x || typeof T == "object" && T !== null && (T.$$typeof === s || T.$$typeof === o || T.$$typeof ===
|
|
81
|
+
return !!(typeof T == "string" || typeof T == "function" || T === r || T === g || G || T === p || T === a || T === i || E || T === u || C || v || x || typeof T == "object" && T !== null && (T.$$typeof === s || T.$$typeof === o || T.$$typeof === U || T.$$typeof === d || T.$$typeof === l || // This needs to include all possible module reference object
|
|
82
82
|
// types supported by any Flight configuration anywhere since
|
|
83
83
|
// we don't know which Flight build this will end up being used
|
|
84
84
|
// with.
|
|
@@ -120,7 +120,7 @@ function $r() {
|
|
|
120
120
|
case d:
|
|
121
121
|
var I = T;
|
|
122
122
|
return F(I) + ".Consumer";
|
|
123
|
-
case
|
|
123
|
+
case U:
|
|
124
124
|
var J = T;
|
|
125
125
|
return F(J._context) + ".Provider";
|
|
126
126
|
case l:
|
|
@@ -139,14 +139,14 @@ function $r() {
|
|
|
139
139
|
}
|
|
140
140
|
return null;
|
|
141
141
|
}
|
|
142
|
-
var w = Object.assign, R = 0, P, H, B,
|
|
142
|
+
var w = Object.assign, R = 0, P, H, B, z, M, D, S;
|
|
143
143
|
function L() {
|
|
144
144
|
}
|
|
145
145
|
L.__reactDisabledLog = !0;
|
|
146
146
|
function N() {
|
|
147
147
|
{
|
|
148
148
|
if (R === 0) {
|
|
149
|
-
P = console.log, H = console.info, B = console.warn,
|
|
149
|
+
P = console.log, H = console.info, B = console.warn, z = console.error, M = console.group, D = console.groupCollapsed, S = console.groupEnd;
|
|
150
150
|
var T = {
|
|
151
151
|
configurable: !0,
|
|
152
152
|
enumerable: !0,
|
|
@@ -185,7 +185,7 @@ function $r() {
|
|
|
185
185
|
value: B
|
|
186
186
|
}),
|
|
187
187
|
error: w({}, T, {
|
|
188
|
-
value:
|
|
188
|
+
value: z
|
|
189
189
|
}),
|
|
190
190
|
group: w({}, T, {
|
|
191
191
|
value: M
|
|
@@ -268,17 +268,17 @@ function $r() {
|
|
|
268
268
|
}
|
|
269
269
|
} catch (ze) {
|
|
270
270
|
if (ze && Q && typeof ze.stack == "string") {
|
|
271
|
-
for (var
|
|
271
|
+
for (var te = ze.stack.split(`
|
|
272
272
|
`), Be = Q.stack.split(`
|
|
273
|
-
`), be =
|
|
273
|
+
`), be = te.length - 1, he = Be.length - 1; be >= 1 && he >= 0 && te[be] !== Be[he]; )
|
|
274
274
|
he--;
|
|
275
275
|
for (; be >= 1 && he >= 0; be--, he--)
|
|
276
|
-
if (
|
|
276
|
+
if (te[be] !== Be[he]) {
|
|
277
277
|
if (be !== 1 || he !== 1)
|
|
278
278
|
do
|
|
279
|
-
if (be--, he--, he < 0 ||
|
|
279
|
+
if (be--, he--, he < 0 || te[be] !== Be[he]) {
|
|
280
280
|
var $e = `
|
|
281
|
-
` +
|
|
281
|
+
` + te[be].replace(" at new ", " at ");
|
|
282
282
|
return T.displayName && $e.includes("<anonymous>") && ($e = $e.replace("<anonymous>", T.displayName)), typeof T == "function" && re.set(T, $e), $e;
|
|
283
283
|
}
|
|
284
284
|
while (be >= 1 && he >= 0);
|
|
@@ -340,17 +340,17 @@ function $r() {
|
|
|
340
340
|
var ge = Function.call.bind(fe);
|
|
341
341
|
for (var le in T)
|
|
342
342
|
if (ge(T, le)) {
|
|
343
|
-
var
|
|
343
|
+
var te = void 0;
|
|
344
344
|
try {
|
|
345
345
|
if (typeof T[le] != "function") {
|
|
346
346
|
var Be = Error((Q || "React class") + ": " + J + " type `" + le + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof T[le] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
347
347
|
throw Be.name = "Invariant Violation", Be;
|
|
348
348
|
}
|
|
349
|
-
|
|
349
|
+
te = T[le](I, le, Q, J, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
350
350
|
} catch (be) {
|
|
351
|
-
|
|
351
|
+
te = be;
|
|
352
352
|
}
|
|
353
|
-
|
|
353
|
+
te && !(te instanceof Error) && (Pe(ue), f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Q || "React class", J, le, typeof te), Pe(null)), te instanceof Error && !(te.message in Ve) && (Ve[te.message] = !0, Pe(ue), f("Failed %s type: %s", J, te.message), Pe(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
@@ -426,7 +426,7 @@ function $r() {
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
var Ja = function(T, I, J, Q, ue, ge, le) {
|
|
429
|
-
var
|
|
429
|
+
var te = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: n,
|
|
432
432
|
// Built-in properties that belong on the element
|
|
@@ -437,27 +437,27 @@ function $r() {
|
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
438
|
_owner: ge
|
|
439
439
|
};
|
|
440
|
-
return
|
|
440
|
+
return te._store = {}, Object.defineProperty(te._store, "validated", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !0,
|
|
444
444
|
value: !1
|
|
445
|
-
}), Object.defineProperty(
|
|
445
|
+
}), Object.defineProperty(te, "_self", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
449
|
value: Q
|
|
450
|
-
}), Object.defineProperty(
|
|
450
|
+
}), Object.defineProperty(te, "_source", {
|
|
451
451
|
configurable: !1,
|
|
452
452
|
enumerable: !1,
|
|
453
453
|
writable: !1,
|
|
454
454
|
value: ue
|
|
455
|
-
}), Object.freeze && (Object.freeze(
|
|
455
|
+
}), Object.freeze && (Object.freeze(te.props), Object.freeze(te)), te;
|
|
456
456
|
};
|
|
457
457
|
function Za(T, I, J, Q, ue) {
|
|
458
458
|
{
|
|
459
|
-
var ge, le = {},
|
|
460
|
-
J !== void 0 && (xe(J),
|
|
459
|
+
var ge, le = {}, te = null, Be = null;
|
|
460
|
+
J !== void 0 && (xe(J), te = "" + J), Ye(I) && (xe(I.key), te = "" + I.key), Je(I) && (Be = I.ref, Va(I, ue));
|
|
461
461
|
for (ge in I)
|
|
462
462
|
fe.call(I, ge) && !je.hasOwnProperty(ge) && (le[ge] = I[ge]);
|
|
463
463
|
if (T && T.defaultProps) {
|
|
@@ -465,11 +465,11 @@ function $r() {
|
|
|
465
465
|
for (ge in be)
|
|
466
466
|
le[ge] === void 0 && (le[ge] = be[ge]);
|
|
467
467
|
}
|
|
468
|
-
if (
|
|
468
|
+
if (te || Be) {
|
|
469
469
|
var he = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
|
|
470
|
-
|
|
470
|
+
te && Da(le, he), Be && Ea(le, he);
|
|
471
471
|
}
|
|
472
|
-
return Ja(T,
|
|
472
|
+
return Ja(T, te, Be, ue, Q, Fe.current, le);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
var da = y.ReactCurrentOwner, ya = y.ReactDebugCurrentFrame;
|
|
@@ -587,12 +587,12 @@ Check the top-level render call using <` + J + ">.");
|
|
|
587
587
|
{
|
|
588
588
|
var le = k(T);
|
|
589
589
|
if (!le) {
|
|
590
|
-
var
|
|
591
|
-
(T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (
|
|
590
|
+
var te = "";
|
|
591
|
+
(T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (te += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
592
592
|
var Be = La();
|
|
593
|
-
Be ?
|
|
593
|
+
Be ? te += Be : te += Na();
|
|
594
594
|
var be;
|
|
595
|
-
T === null ? be = "null" : ve(T) ? be = "array" : T !== void 0 && T.$$typeof === n ? (be = "<" + (A(T.type) || "Unknown") + " />",
|
|
595
|
+
T === null ? be = "null" : ve(T) ? be = "array" : T !== void 0 && T.$$typeof === n ? (be = "<" + (A(T.type) || "Unknown") + " />", te = " Did you accidentally export a JSX literal instead of a component?") : be = typeof T, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", be, te);
|
|
596
596
|
}
|
|
597
597
|
var he = Za(T, I, J, ue, ge);
|
|
598
598
|
if (he == null)
|
|
@@ -613,15 +613,15 @@ Check the top-level render call using <` + J + ">.");
|
|
|
613
613
|
if (fe.call(I, "key")) {
|
|
614
614
|
var ba = A(T), ze = Object.keys(I).filter(function(Ar) {
|
|
615
615
|
return Ar !== "key";
|
|
616
|
-
}),
|
|
617
|
-
if (!na[ba +
|
|
616
|
+
}), ti = ze.length > 0 ? "{key: someKey, " + ze.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
|
+
if (!na[ba + ti]) {
|
|
618
618
|
var Fr = ze.length > 0 ? "{" + ze.join(": ..., ") + ": ...}" : "{}";
|
|
619
619
|
f(`A props object containing a "key" prop is being spread into JSX:
|
|
620
620
|
let props = %s;
|
|
621
621
|
<%s {...props} />
|
|
622
622
|
React keys must be passed directly to JSX without using spread:
|
|
623
623
|
let props = %s;
|
|
624
|
-
<%s key={someKey} {...props} />`,
|
|
624
|
+
<%s key={someKey} {...props} />`, ti, ba, Fr, ba), na[ba + ti] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
return T === r ? De(he) : V(he), he;
|
|
@@ -630,19 +630,19 @@ React keys must be passed directly to JSX without using spread:
|
|
|
630
630
|
function ra(T, I, J) {
|
|
631
631
|
return Ae(T, I, J, !0);
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function it(T, I, J) {
|
|
634
634
|
return Ae(T, I, J, !1);
|
|
635
635
|
}
|
|
636
|
-
var
|
|
637
|
-
qa.Fragment = r, qa.jsx =
|
|
636
|
+
var ai = it, wr = ra;
|
|
637
|
+
qa.Fragment = r, qa.jsx = ai, qa.jsxs = wr;
|
|
638
638
|
})()), qa;
|
|
639
639
|
}
|
|
640
640
|
var Mi;
|
|
641
641
|
function Qr() {
|
|
642
|
-
return Mi || (Mi = 1, process.env.NODE_ENV === "production" ?
|
|
642
|
+
return Mi || (Mi = 1, process.env.NODE_ENV === "production" ? rt.exports = qr() : rt.exports = $r()), rt.exports;
|
|
643
643
|
}
|
|
644
644
|
var Oe = Qr();
|
|
645
|
-
const In =
|
|
645
|
+
const In = jt(null), se = () => {
|
|
646
646
|
const e = _i(In);
|
|
647
647
|
if (!e)
|
|
648
648
|
throw new Error("useApiContext must be used within ApiProvider");
|
|
@@ -650,8 +650,8 @@ const In = Qt(null), se = () => {
|
|
|
650
650
|
}, $a = {
|
|
651
651
|
READY: "ready",
|
|
652
652
|
PENDING: "pending"
|
|
653
|
-
}, Vn =
|
|
654
|
-
const [n, t] =
|
|
653
|
+
}, Vn = jt(null), jr = ({ children: e }) => {
|
|
654
|
+
const [n, t] = Xa($a.READY), r = Oa(() => {
|
|
655
655
|
const p = n === $a.READY, g = n === $a.PENDING;
|
|
656
656
|
return {
|
|
657
657
|
status: n,
|
|
@@ -687,7 +687,7 @@ const In = Qt(null), se = () => {
|
|
|
687
687
|
default:
|
|
688
688
|
return e;
|
|
689
689
|
}
|
|
690
|
-
}, Ke = "https://d1h3qe8voog6w4.cloudfront.net",
|
|
690
|
+
}, Ke = "https://d1h3qe8voog6w4.cloudfront.net", lt = "https://d3jx2uvukujuvn.cloudfront.net", Zn = (e) => `${Ke}/reward_icon/${e}.avif`, Kn = () => `${Ke}/reward_icon/background_deposit.avif`, qn = "ds88platformIcon", Ba = {
|
|
691
691
|
zh_TW: "系統提示",
|
|
692
692
|
zh_CN: "系统提示",
|
|
693
693
|
en_US: "System Prompt",
|
|
@@ -711,7 +711,7 @@ function Ri({
|
|
|
711
711
|
lng: r = "tw",
|
|
712
712
|
store: p,
|
|
713
713
|
onError: g,
|
|
714
|
-
formData:
|
|
714
|
+
formData: U = !1,
|
|
715
715
|
currency: d,
|
|
716
716
|
toasterOpen: l = !1
|
|
717
717
|
} = {}) {
|
|
@@ -719,7 +719,7 @@ function Ri({
|
|
|
719
719
|
baseURL: e,
|
|
720
720
|
timeout: t,
|
|
721
721
|
headers: {
|
|
722
|
-
"Content-Type":
|
|
722
|
+
"Content-Type": U ? "multipart/form-data" : "application/json"
|
|
723
723
|
}
|
|
724
724
|
});
|
|
725
725
|
return a.interceptors.request.use(async (i) => {
|
|
@@ -753,7 +753,7 @@ function Ri({
|
|
|
753
753
|
}
|
|
754
754
|
), a;
|
|
755
755
|
}
|
|
756
|
-
const $n =
|
|
756
|
+
const $n = jt(null), Tm = () => {
|
|
757
757
|
const e = _i($n);
|
|
758
758
|
if (!e)
|
|
759
759
|
throw new Error(
|
|
@@ -786,14 +786,14 @@ const $n = Qt(null), Tm = () => {
|
|
|
786
786
|
isCallBackInvalid: r = !1,
|
|
787
787
|
hostname: p = "",
|
|
788
788
|
shouldRedirect: g,
|
|
789
|
-
onShowError:
|
|
789
|
+
onShowError: U,
|
|
790
790
|
onCleanup: d,
|
|
791
791
|
onRemoveToken: l,
|
|
792
792
|
onRedirect: a,
|
|
793
793
|
onGoogleLogout: i
|
|
794
794
|
}) => {
|
|
795
795
|
const o = n(p);
|
|
796
|
-
e(r, o) &&
|
|
796
|
+
e(r, o) && U?.(), d?.(), l?.(), g && a?.("/"), i?.();
|
|
797
797
|
},
|
|
798
798
|
shouldShowErrorNotice: e,
|
|
799
799
|
isMachineDomain: n
|
|
@@ -816,13 +816,13 @@ const $n = Qt(null), Tm = () => {
|
|
|
816
816
|
allPlatforms: p
|
|
817
817
|
}) => {
|
|
818
818
|
const g = Qn(r, e);
|
|
819
|
-
return g ? n.reduce((
|
|
819
|
+
return g ? n.reduce((U, d) => {
|
|
820
820
|
const l = jn(p, d), a = Yn(p, d), i = t[g] || [], o = Xn(
|
|
821
821
|
i,
|
|
822
822
|
l,
|
|
823
823
|
a
|
|
824
824
|
);
|
|
825
|
-
return Ne(o) || (
|
|
825
|
+
return Ne(o) || (U[d] = o), U;
|
|
826
826
|
}, {}) : {};
|
|
827
827
|
}, tl = ({
|
|
828
828
|
platformName: e,
|
|
@@ -836,29 +836,29 @@ const $n = Qt(null), Tm = () => {
|
|
|
836
836
|
);
|
|
837
837
|
return el(g);
|
|
838
838
|
};
|
|
839
|
-
var
|
|
839
|
+
var pt = { exports: {} }, il = pt.exports, Pi;
|
|
840
840
|
function nl() {
|
|
841
841
|
return Pi || (Pi = 1, (function(e, n) {
|
|
842
842
|
(function(t, r) {
|
|
843
843
|
e.exports = r();
|
|
844
844
|
})(il, (function() {
|
|
845
|
-
var t = 1e3, r = 6e4, p = 36e5, g = "millisecond",
|
|
845
|
+
var t = 1e3, r = 6e4, p = 36e5, g = "millisecond", U = "second", d = "minute", l = "hour", a = "day", i = "week", o = "month", s = "quarter", u = "year", m = "date", _ = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, f = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
|
|
846
846
|
var R = ["th", "st", "nd", "rd"], P = w % 100;
|
|
847
847
|
return "[" + w + (R[(P - 20) % 10] || R[P] || R[0]) + "]";
|
|
848
|
-
} },
|
|
848
|
+
} }, b = function(w, R, P) {
|
|
849
849
|
var H = String(w);
|
|
850
850
|
return !H || H.length >= R ? w : "" + Array(R + 1 - H.length).join(P) + w;
|
|
851
|
-
}, C = { s:
|
|
851
|
+
}, C = { s: b, z: function(w) {
|
|
852
852
|
var R = -w.utcOffset(), P = Math.abs(R), H = Math.floor(P / 60), B = P % 60;
|
|
853
|
-
return (R <= 0 ? "+" : "-") +
|
|
853
|
+
return (R <= 0 ? "+" : "-") + b(H, 2, "0") + ":" + b(B, 2, "0");
|
|
854
854
|
}, m: function w(R, P) {
|
|
855
855
|
if (R.date() < P.date()) return -w(P, R);
|
|
856
|
-
var H = 12 * (P.year() - R.year()) + (P.month() - R.month()), B = R.clone().add(H, o),
|
|
857
|
-
return +(-(H + (P - B) / (
|
|
856
|
+
var H = 12 * (P.year() - R.year()) + (P.month() - R.month()), B = R.clone().add(H, o), z = P - B < 0, M = R.clone().add(H + (z ? -1 : 1), o);
|
|
857
|
+
return +(-(H + (P - B) / (z ? B - M : M - B)) || 0);
|
|
858
858
|
}, a: function(w) {
|
|
859
859
|
return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
|
|
860
860
|
}, p: function(w) {
|
|
861
|
-
return { M: o, y: u, w: i, d: a, D: m, h: l, m: d, s:
|
|
861
|
+
return { M: o, y: u, w: i, d: a, D: m, h: l, m: d, s: U, ms: g, Q: s }[w] || String(w || "").toLowerCase().replace(/s$/, "");
|
|
862
862
|
}, u: function(w) {
|
|
863
863
|
return w === void 0;
|
|
864
864
|
} }, v = "en", x = {};
|
|
@@ -869,8 +869,8 @@ function nl() {
|
|
|
869
869
|
var B;
|
|
870
870
|
if (!R) return v;
|
|
871
871
|
if (typeof R == "string") {
|
|
872
|
-
var
|
|
873
|
-
x[
|
|
872
|
+
var z = R.toLowerCase();
|
|
873
|
+
x[z] && (B = z), P && (x[z] = P, B = z);
|
|
874
874
|
var M = R.split("-");
|
|
875
875
|
if (!B && M.length > 1) return w(M[0]);
|
|
876
876
|
} else {
|
|
@@ -893,7 +893,7 @@ function nl() {
|
|
|
893
893
|
var R = w.prototype;
|
|
894
894
|
return R.parse = function(P) {
|
|
895
895
|
this.$d = (function(H) {
|
|
896
|
-
var B = H.date,
|
|
896
|
+
var B = H.date, z = H.utc;
|
|
897
897
|
if (B === null) return /* @__PURE__ */ new Date(NaN);
|
|
898
898
|
if (h.u(B)) return /* @__PURE__ */ new Date();
|
|
899
899
|
if (B instanceof Date) return new Date(B);
|
|
@@ -901,7 +901,7 @@ function nl() {
|
|
|
901
901
|
var M = B.match(c);
|
|
902
902
|
if (M) {
|
|
903
903
|
var D = M[2] - 1 || 0, S = (M[7] || "0").substring(0, 3);
|
|
904
|
-
return
|
|
904
|
+
return z ? new Date(Date.UTC(M[1], D, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, S)) : new Date(M[1], D, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, S);
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
907
|
return new Date(B);
|
|
@@ -927,20 +927,20 @@ function nl() {
|
|
|
927
927
|
}, R.valueOf = function() {
|
|
928
928
|
return this.$d.getTime();
|
|
929
929
|
}, R.startOf = function(P, H) {
|
|
930
|
-
var B = this,
|
|
930
|
+
var B = this, z = !!h.u(H) || H, M = h.p(P), D = function(ie, re) {
|
|
931
931
|
var ye = h.w(B.$u ? Date.UTC(B.$y, re, ie) : new Date(B.$y, re, ie), B);
|
|
932
|
-
return
|
|
932
|
+
return z ? ye : ye.endOf(a);
|
|
933
933
|
}, S = function(ie, re) {
|
|
934
|
-
return h.w(B.toDate()[ie].apply(B.toDate("s"), (
|
|
934
|
+
return h.w(B.toDate()[ie].apply(B.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(re)), B);
|
|
935
935
|
}, L = this.$W, N = this.$M, Z = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
936
936
|
switch (M) {
|
|
937
937
|
case u:
|
|
938
|
-
return
|
|
938
|
+
return z ? D(1, 0) : D(31, 11);
|
|
939
939
|
case o:
|
|
940
|
-
return
|
|
940
|
+
return z ? D(1, N) : D(0, N + 1);
|
|
941
941
|
case i:
|
|
942
942
|
var j = this.$locale().weekStart || 0, K = (L < j ? L + 7 : L) - j;
|
|
943
|
-
return D(
|
|
943
|
+
return D(z ? Z - K : Z + (6 - K), N);
|
|
944
944
|
case a:
|
|
945
945
|
case m:
|
|
946
946
|
return S(q + "Hours", 0);
|
|
@@ -948,7 +948,7 @@ function nl() {
|
|
|
948
948
|
return S(q + "Minutes", 1);
|
|
949
949
|
case d:
|
|
950
950
|
return S(q + "Seconds", 2);
|
|
951
|
-
case
|
|
951
|
+
case U:
|
|
952
952
|
return S(q + "Milliseconds", 3);
|
|
953
953
|
default:
|
|
954
954
|
return this.clone();
|
|
@@ -956,8 +956,8 @@ function nl() {
|
|
|
956
956
|
}, R.endOf = function(P) {
|
|
957
957
|
return this.startOf(P, !1);
|
|
958
958
|
}, R.$set = function(P, H) {
|
|
959
|
-
var B,
|
|
960
|
-
if (
|
|
959
|
+
var B, z = h.p(P), M = "set" + (this.$u ? "UTC" : ""), D = (B = {}, B[a] = M + "Date", B[m] = M + "Date", B[o] = M + "Month", B[u] = M + "FullYear", B[l] = M + "Hours", B[d] = M + "Minutes", B[U] = M + "Seconds", B[g] = M + "Milliseconds", B)[z], S = z === a ? this.$D + (H - this.$W) : H;
|
|
960
|
+
if (z === o || z === u) {
|
|
961
961
|
var L = this.clone().set(m, 1);
|
|
962
962
|
L.$d[D](S), L.init(), this.$d = L.set(m, Math.min(this.$D, L.daysInMonth())).$d;
|
|
963
963
|
} else D && this.$d[D](S);
|
|
@@ -967,32 +967,32 @@ function nl() {
|
|
|
967
967
|
}, R.get = function(P) {
|
|
968
968
|
return this[h.p(P)]();
|
|
969
969
|
}, R.add = function(P, H) {
|
|
970
|
-
var B,
|
|
970
|
+
var B, z = this;
|
|
971
971
|
P = Number(P);
|
|
972
972
|
var M = h.p(H), D = function(N) {
|
|
973
|
-
var Z = k(
|
|
974
|
-
return h.w(Z.date(Z.date() + Math.round(N * P)),
|
|
973
|
+
var Z = k(z);
|
|
974
|
+
return h.w(Z.date(Z.date() + Math.round(N * P)), z);
|
|
975
975
|
};
|
|
976
976
|
if (M === o) return this.set(o, this.$M + P);
|
|
977
977
|
if (M === u) return this.set(u, this.$y + P);
|
|
978
978
|
if (M === a) return D(1);
|
|
979
979
|
if (M === i) return D(7);
|
|
980
|
-
var S = (B = {}, B[d] = r, B[l] = p, B[
|
|
980
|
+
var S = (B = {}, B[d] = r, B[l] = p, B[U] = t, B)[M] || 1, L = this.$d.getTime() + P * S;
|
|
981
981
|
return h.w(L, this);
|
|
982
982
|
}, R.subtract = function(P, H) {
|
|
983
983
|
return this.add(-1 * P, H);
|
|
984
984
|
}, R.format = function(P) {
|
|
985
985
|
var H = this, B = this.$locale();
|
|
986
986
|
if (!this.isValid()) return B.invalidDate || _;
|
|
987
|
-
var
|
|
988
|
-
return re && (re[ye] || re(H,
|
|
987
|
+
var z = P || "YYYY-MM-DDTHH:mm:ssZ", M = h.z(this), D = this.$H, S = this.$m, L = this.$M, N = B.weekdays, Z = B.months, q = B.meridiem, j = function(re, ye, Ue, me) {
|
|
988
|
+
return re && (re[ye] || re(H, z)) || Ue[ye].slice(0, me);
|
|
989
989
|
}, K = function(re) {
|
|
990
990
|
return h.s(D % 12 || 12, re, "0");
|
|
991
991
|
}, ie = q || function(re, ye, Ue) {
|
|
992
992
|
var me = re < 12 ? "AM" : "PM";
|
|
993
993
|
return Ue ? me.toLowerCase() : me;
|
|
994
994
|
};
|
|
995
|
-
return
|
|
995
|
+
return z.replace(y, (function(re, ye) {
|
|
996
996
|
return ye || (function(Ue) {
|
|
997
997
|
switch (Ue) {
|
|
998
998
|
case "YY":
|
|
@@ -1050,46 +1050,46 @@ function nl() {
|
|
|
1050
1050
|
}, R.utcOffset = function() {
|
|
1051
1051
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1052
1052
|
}, R.diff = function(P, H, B) {
|
|
1053
|
-
var
|
|
1053
|
+
var z, M = this, D = h.p(H), S = k(P), L = (S.utcOffset() - this.utcOffset()) * r, N = this - S, Z = function() {
|
|
1054
1054
|
return h.m(M, S);
|
|
1055
1055
|
};
|
|
1056
1056
|
switch (D) {
|
|
1057
1057
|
case u:
|
|
1058
|
-
|
|
1058
|
+
z = Z() / 12;
|
|
1059
1059
|
break;
|
|
1060
1060
|
case o:
|
|
1061
|
-
|
|
1061
|
+
z = Z();
|
|
1062
1062
|
break;
|
|
1063
1063
|
case s:
|
|
1064
|
-
|
|
1064
|
+
z = Z() / 3;
|
|
1065
1065
|
break;
|
|
1066
1066
|
case i:
|
|
1067
|
-
|
|
1067
|
+
z = (N - L) / 6048e5;
|
|
1068
1068
|
break;
|
|
1069
1069
|
case a:
|
|
1070
|
-
|
|
1070
|
+
z = (N - L) / 864e5;
|
|
1071
1071
|
break;
|
|
1072
1072
|
case l:
|
|
1073
|
-
|
|
1073
|
+
z = N / p;
|
|
1074
1074
|
break;
|
|
1075
1075
|
case d:
|
|
1076
|
-
|
|
1076
|
+
z = N / r;
|
|
1077
1077
|
break;
|
|
1078
|
-
case
|
|
1079
|
-
|
|
1078
|
+
case U:
|
|
1079
|
+
z = N / t;
|
|
1080
1080
|
break;
|
|
1081
1081
|
default:
|
|
1082
|
-
|
|
1082
|
+
z = N;
|
|
1083
1083
|
}
|
|
1084
|
-
return B ?
|
|
1084
|
+
return B ? z : h.a(z);
|
|
1085
1085
|
}, R.daysInMonth = function() {
|
|
1086
1086
|
return this.endOf(o).$D;
|
|
1087
1087
|
}, R.$locale = function() {
|
|
1088
1088
|
return x[this.$L];
|
|
1089
1089
|
}, R.locale = function(P, H) {
|
|
1090
1090
|
if (!P) return this.$L;
|
|
1091
|
-
var B = this.clone(),
|
|
1092
|
-
return
|
|
1091
|
+
var B = this.clone(), z = O(P, H, !0);
|
|
1092
|
+
return z && (B.$L = z), B;
|
|
1093
1093
|
}, R.clone = function() {
|
|
1094
1094
|
return h.w(this.$d, this);
|
|
1095
1095
|
}, R.toDate = function() {
|
|
@@ -1102,7 +1102,7 @@ function nl() {
|
|
|
1102
1102
|
return this.$d.toUTCString();
|
|
1103
1103
|
}, w;
|
|
1104
1104
|
})(), A = F.prototype;
|
|
1105
|
-
return k.prototype = A, [["$ms", g], ["$s",
|
|
1105
|
+
return k.prototype = A, [["$ms", g], ["$s", U], ["$m", d], ["$H", l], ["$W", a], ["$M", o], ["$y", u], ["$D", m]].forEach((function(w) {
|
|
1106
1106
|
A[w[1]] = function(R) {
|
|
1107
1107
|
return this.$g(R, w[0], w[1]);
|
|
1108
1108
|
};
|
|
@@ -1112,20 +1112,20 @@ function nl() {
|
|
|
1112
1112
|
return k(1e3 * w);
|
|
1113
1113
|
}, k.en = x[v], k.Ls = x, k.p = {}, k;
|
|
1114
1114
|
}));
|
|
1115
|
-
})(
|
|
1115
|
+
})(pt)), pt.exports;
|
|
1116
1116
|
}
|
|
1117
1117
|
var rl = nl();
|
|
1118
1118
|
const Ee = /* @__PURE__ */ yi(rl);
|
|
1119
|
-
var
|
|
1119
|
+
var gt = { exports: {} };
|
|
1120
1120
|
function ll(e) {
|
|
1121
1121
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
1122
1122
|
}
|
|
1123
|
-
var
|
|
1123
|
+
var dt = { exports: {} };
|
|
1124
1124
|
const ol = {}, sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1125
1125
|
__proto__: null,
|
|
1126
1126
|
default: ol
|
|
1127
1127
|
}, Symbol.toStringTag, { value: "Module" })), ml = /* @__PURE__ */ Kr(sl);
|
|
1128
|
-
var ul =
|
|
1128
|
+
var ul = dt.exports, wi;
|
|
1129
1129
|
function ne() {
|
|
1130
1130
|
return wi || (wi = 1, (function(e, n) {
|
|
1131
1131
|
(function(t, r) {
|
|
@@ -1133,12 +1133,12 @@ function ne() {
|
|
|
1133
1133
|
})(ul, function() {
|
|
1134
1134
|
var t = t || (function(r, p) {
|
|
1135
1135
|
var g;
|
|
1136
|
-
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof
|
|
1136
|
+
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof ii < "u" && ii.crypto && (g = ii.crypto), !g && typeof ll == "function")
|
|
1137
1137
|
try {
|
|
1138
1138
|
g = ml;
|
|
1139
1139
|
} catch {
|
|
1140
1140
|
}
|
|
1141
|
-
var
|
|
1141
|
+
var U = function() {
|
|
1142
1142
|
if (g) {
|
|
1143
1143
|
if (typeof g.getRandomValues == "function")
|
|
1144
1144
|
try {
|
|
@@ -1155,9 +1155,9 @@ function ne() {
|
|
|
1155
1155
|
}, d = Object.create || /* @__PURE__ */ (function() {
|
|
1156
1156
|
function f() {
|
|
1157
1157
|
}
|
|
1158
|
-
return function(
|
|
1158
|
+
return function(b) {
|
|
1159
1159
|
var C;
|
|
1160
|
-
return f.prototype =
|
|
1160
|
+
return f.prototype = b, C = new f(), f.prototype = null, C;
|
|
1161
1161
|
};
|
|
1162
1162
|
})(), l = {}, a = l.lib = {}, i = a.Base = /* @__PURE__ */ (function() {
|
|
1163
1163
|
return {
|
|
@@ -1180,10 +1180,10 @@ function ne() {
|
|
|
1180
1180
|
* });
|
|
1181
1181
|
*/
|
|
1182
1182
|
extend: function(f) {
|
|
1183
|
-
var
|
|
1184
|
-
return f &&
|
|
1185
|
-
|
|
1186
|
-
}),
|
|
1183
|
+
var b = d(this);
|
|
1184
|
+
return f && b.mixIn(f), (!b.hasOwnProperty("init") || this.init === b.init) && (b.init = function() {
|
|
1185
|
+
b.$super.init.apply(this, arguments);
|
|
1186
|
+
}), b.init.prototype = b, b.$super = this, b;
|
|
1187
1187
|
},
|
|
1188
1188
|
/**
|
|
1189
1189
|
* Extends this object and runs the init method.
|
|
@@ -1227,8 +1227,8 @@ function ne() {
|
|
|
1227
1227
|
* });
|
|
1228
1228
|
*/
|
|
1229
1229
|
mixIn: function(f) {
|
|
1230
|
-
for (var
|
|
1231
|
-
f.hasOwnProperty(
|
|
1230
|
+
for (var b in f)
|
|
1231
|
+
f.hasOwnProperty(b) && (this[b] = f[b]);
|
|
1232
1232
|
f.hasOwnProperty("toString") && (this.toString = f.toString);
|
|
1233
1233
|
},
|
|
1234
1234
|
/**
|
|
@@ -1257,8 +1257,8 @@ function ne() {
|
|
|
1257
1257
|
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
|
|
1258
1258
|
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
|
|
1259
1259
|
*/
|
|
1260
|
-
init: function(f,
|
|
1261
|
-
f = this.words = f || [],
|
|
1260
|
+
init: function(f, b) {
|
|
1261
|
+
f = this.words = f || [], b != p ? this.sigBytes = b : this.sigBytes = f.length * 4;
|
|
1262
1262
|
},
|
|
1263
1263
|
/**
|
|
1264
1264
|
* Converts this word array to a string.
|
|
@@ -1288,15 +1288,15 @@ function ne() {
|
|
|
1288
1288
|
* wordArray1.concat(wordArray2);
|
|
1289
1289
|
*/
|
|
1290
1290
|
concat: function(f) {
|
|
1291
|
-
var
|
|
1291
|
+
var b = this.words, C = f.words, v = this.sigBytes, x = f.sigBytes;
|
|
1292
1292
|
if (this.clamp(), v % 4)
|
|
1293
1293
|
for (var E = 0; E < x; E++) {
|
|
1294
1294
|
var G = C[E >>> 2] >>> 24 - E % 4 * 8 & 255;
|
|
1295
|
-
|
|
1295
|
+
b[v + E >>> 2] |= G << 24 - (v + E) % 4 * 8;
|
|
1296
1296
|
}
|
|
1297
1297
|
else
|
|
1298
1298
|
for (var O = 0; O < x; O += 4)
|
|
1299
|
-
|
|
1299
|
+
b[v + O >>> 2] = C[O >>> 2];
|
|
1300
1300
|
return this.sigBytes += x, this;
|
|
1301
1301
|
},
|
|
1302
1302
|
/**
|
|
@@ -1307,8 +1307,8 @@ function ne() {
|
|
|
1307
1307
|
* wordArray.clamp();
|
|
1308
1308
|
*/
|
|
1309
1309
|
clamp: function() {
|
|
1310
|
-
var f = this.words,
|
|
1311
|
-
f[
|
|
1310
|
+
var f = this.words, b = this.sigBytes;
|
|
1311
|
+
f[b >>> 2] &= 4294967295 << 32 - b % 4 * 8, f.length = r.ceil(b / 4);
|
|
1312
1312
|
},
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Creates a copy of this word array.
|
|
@@ -1337,9 +1337,9 @@ function ne() {
|
|
|
1337
1337
|
* var wordArray = CryptoJS.lib.WordArray.random(16);
|
|
1338
1338
|
*/
|
|
1339
1339
|
random: function(f) {
|
|
1340
|
-
for (var
|
|
1341
|
-
|
|
1342
|
-
return new o.init(
|
|
1340
|
+
for (var b = [], C = 0; C < f; C += 4)
|
|
1341
|
+
b.push(U());
|
|
1342
|
+
return new o.init(b, f);
|
|
1343
1343
|
}
|
|
1344
1344
|
}), s = l.enc = {}, u = s.Hex = {
|
|
1345
1345
|
/**
|
|
@@ -1356,8 +1356,8 @@ function ne() {
|
|
|
1356
1356
|
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
|
1357
1357
|
*/
|
|
1358
1358
|
stringify: function(f) {
|
|
1359
|
-
for (var
|
|
1360
|
-
var E =
|
|
1359
|
+
for (var b = f.words, C = f.sigBytes, v = [], x = 0; x < C; x++) {
|
|
1360
|
+
var E = b[x >>> 2] >>> 24 - x % 4 * 8 & 255;
|
|
1361
1361
|
v.push((E >>> 4).toString(16)), v.push((E & 15).toString(16));
|
|
1362
1362
|
}
|
|
1363
1363
|
return v.join("");
|
|
@@ -1376,9 +1376,9 @@ function ne() {
|
|
|
1376
1376
|
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
|
|
1377
1377
|
*/
|
|
1378
1378
|
parse: function(f) {
|
|
1379
|
-
for (var
|
|
1379
|
+
for (var b = f.length, C = [], v = 0; v < b; v += 2)
|
|
1380
1380
|
C[v >>> 3] |= parseInt(f.substr(v, 2), 16) << 24 - v % 8 * 4;
|
|
1381
|
-
return new o.init(C,
|
|
1381
|
+
return new o.init(C, b / 2);
|
|
1382
1382
|
}
|
|
1383
1383
|
}, m = s.Latin1 = {
|
|
1384
1384
|
/**
|
|
@@ -1395,8 +1395,8 @@ function ne() {
|
|
|
1395
1395
|
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
|
1396
1396
|
*/
|
|
1397
1397
|
stringify: function(f) {
|
|
1398
|
-
for (var
|
|
1399
|
-
var E =
|
|
1398
|
+
for (var b = f.words, C = f.sigBytes, v = [], x = 0; x < C; x++) {
|
|
1399
|
+
var E = b[x >>> 2] >>> 24 - x % 4 * 8 & 255;
|
|
1400
1400
|
v.push(String.fromCharCode(E));
|
|
1401
1401
|
}
|
|
1402
1402
|
return v.join("");
|
|
@@ -1415,9 +1415,9 @@ function ne() {
|
|
|
1415
1415
|
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
|
|
1416
1416
|
*/
|
|
1417
1417
|
parse: function(f) {
|
|
1418
|
-
for (var
|
|
1418
|
+
for (var b = f.length, C = [], v = 0; v < b; v++)
|
|
1419
1419
|
C[v >>> 2] |= (f.charCodeAt(v) & 255) << 24 - v % 4 * 8;
|
|
1420
|
-
return new o.init(C,
|
|
1420
|
+
return new o.init(C, b);
|
|
1421
1421
|
}
|
|
1422
1422
|
}, _ = s.Utf8 = {
|
|
1423
1423
|
/**
|
|
@@ -1495,15 +1495,15 @@ function ne() {
|
|
|
1495
1495
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
1496
1496
|
*/
|
|
1497
1497
|
_process: function(f) {
|
|
1498
|
-
var
|
|
1498
|
+
var b, C = this._data, v = C.words, x = C.sigBytes, E = this.blockSize, G = E * 4, O = x / G;
|
|
1499
1499
|
f ? O = r.ceil(O) : O = r.max((O | 0) - this._minBufferSize, 0);
|
|
1500
1500
|
var k = O * E, h = r.min(k * 4, x);
|
|
1501
1501
|
if (k) {
|
|
1502
1502
|
for (var F = 0; F < k; F += E)
|
|
1503
1503
|
this._doProcessBlock(v, F);
|
|
1504
|
-
|
|
1504
|
+
b = v.splice(0, k), C.sigBytes -= h;
|
|
1505
1505
|
}
|
|
1506
|
-
return new o.init(
|
|
1506
|
+
return new o.init(b, h);
|
|
1507
1507
|
},
|
|
1508
1508
|
/**
|
|
1509
1509
|
* Creates a copy of this object.
|
|
@@ -1578,8 +1578,8 @@ function ne() {
|
|
|
1578
1578
|
*/
|
|
1579
1579
|
finalize: function(f) {
|
|
1580
1580
|
f && this._append(f);
|
|
1581
|
-
var
|
|
1582
|
-
return
|
|
1581
|
+
var b = this._doFinalize();
|
|
1582
|
+
return b;
|
|
1583
1583
|
},
|
|
1584
1584
|
blockSize: 16,
|
|
1585
1585
|
/**
|
|
@@ -1596,8 +1596,8 @@ function ne() {
|
|
|
1596
1596
|
* var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
|
|
1597
1597
|
*/
|
|
1598
1598
|
_createHelper: function(f) {
|
|
1599
|
-
return function(
|
|
1600
|
-
return new f.init(C).finalize(
|
|
1599
|
+
return function(b, C) {
|
|
1600
|
+
return new f.init(C).finalize(b);
|
|
1601
1601
|
};
|
|
1602
1602
|
},
|
|
1603
1603
|
/**
|
|
@@ -1614,8 +1614,8 @@ function ne() {
|
|
|
1614
1614
|
* var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
|
|
1615
1615
|
*/
|
|
1616
1616
|
_createHmacHelper: function(f) {
|
|
1617
|
-
return function(
|
|
1618
|
-
return new y.HMAC.init(f, C).finalize(
|
|
1617
|
+
return function(b, C) {
|
|
1618
|
+
return new y.HMAC.init(f, C).finalize(b);
|
|
1619
1619
|
};
|
|
1620
1620
|
}
|
|
1621
1621
|
});
|
|
@@ -1624,17 +1624,17 @@ function ne() {
|
|
|
1624
1624
|
})(Math);
|
|
1625
1625
|
return t;
|
|
1626
1626
|
});
|
|
1627
|
-
})(
|
|
1627
|
+
})(dt)), dt.exports;
|
|
1628
1628
|
}
|
|
1629
|
-
var
|
|
1630
|
-
function
|
|
1629
|
+
var ct = { exports: {} }, pl = ct.exports, Fi;
|
|
1630
|
+
function ei() {
|
|
1631
1631
|
return Fi || (Fi = 1, (function(e, n) {
|
|
1632
1632
|
(function(t, r) {
|
|
1633
1633
|
e.exports = r(ne());
|
|
1634
1634
|
})(pl, function(t) {
|
|
1635
1635
|
return (function(r) {
|
|
1636
|
-
var p = t, g = p.lib,
|
|
1637
|
-
l.Word =
|
|
1636
|
+
var p = t, g = p.lib, U = g.Base, d = g.WordArray, l = p.x64 = {};
|
|
1637
|
+
l.Word = U.extend({
|
|
1638
1638
|
/**
|
|
1639
1639
|
* Initializes a newly created 64-bit word.
|
|
1640
1640
|
*
|
|
@@ -1797,7 +1797,7 @@ function Xt() {
|
|
|
1797
1797
|
// var high = (this.high + word.high + carry) | 0;
|
|
1798
1798
|
// return X64Word.create(high, low);
|
|
1799
1799
|
// }
|
|
1800
|
-
}), l.WordArray =
|
|
1800
|
+
}), l.WordArray = U.extend({
|
|
1801
1801
|
/**
|
|
1802
1802
|
* Initializes a newly created word array.
|
|
1803
1803
|
*
|
|
@@ -1847,16 +1847,16 @@ function Xt() {
|
|
|
1847
1847
|
* var clone = x64WordArray.clone();
|
|
1848
1848
|
*/
|
|
1849
1849
|
clone: function() {
|
|
1850
|
-
for (var a =
|
|
1850
|
+
for (var a = U.clone.call(this), i = a.words = this.words.slice(0), o = i.length, s = 0; s < o; s++)
|
|
1851
1851
|
i[s] = i[s].clone();
|
|
1852
1852
|
return a;
|
|
1853
1853
|
}
|
|
1854
1854
|
});
|
|
1855
1855
|
})(), t;
|
|
1856
1856
|
});
|
|
1857
|
-
})(
|
|
1857
|
+
})(ct)), ct.exports;
|
|
1858
1858
|
}
|
|
1859
|
-
var
|
|
1859
|
+
var ft = { exports: {} }, gl = ft.exports, Ai;
|
|
1860
1860
|
function dl() {
|
|
1861
1861
|
return Ai || (Ai = 1, (function(e, n) {
|
|
1862
1862
|
(function(t, r) {
|
|
@@ -1864,29 +1864,29 @@ function dl() {
|
|
|
1864
1864
|
})(gl, function(t) {
|
|
1865
1865
|
return (function() {
|
|
1866
1866
|
if (typeof ArrayBuffer == "function") {
|
|
1867
|
-
var r = t, p = r.lib, g = p.WordArray,
|
|
1867
|
+
var r = t, p = r.lib, g = p.WordArray, U = g.init, d = g.init = function(l) {
|
|
1868
1868
|
if (l instanceof ArrayBuffer && (l = new Uint8Array(l)), (l instanceof Int8Array || typeof Uint8ClampedArray < "u" && l instanceof Uint8ClampedArray || l instanceof Int16Array || l instanceof Uint16Array || l instanceof Int32Array || l instanceof Uint32Array || l instanceof Float32Array || l instanceof Float64Array) && (l = new Uint8Array(l.buffer, l.byteOffset, l.byteLength)), l instanceof Uint8Array) {
|
|
1869
1869
|
for (var a = l.byteLength, i = [], o = 0; o < a; o++)
|
|
1870
1870
|
i[o >>> 2] |= l[o] << 24 - o % 4 * 8;
|
|
1871
|
-
|
|
1871
|
+
U.call(this, i, a);
|
|
1872
1872
|
} else
|
|
1873
|
-
|
|
1873
|
+
U.apply(this, arguments);
|
|
1874
1874
|
};
|
|
1875
1875
|
d.prototype = g;
|
|
1876
1876
|
}
|
|
1877
1877
|
})(), t.lib.WordArray;
|
|
1878
1878
|
});
|
|
1879
|
-
})(
|
|
1879
|
+
})(ft)), ft.exports;
|
|
1880
1880
|
}
|
|
1881
|
-
var
|
|
1881
|
+
var _t = { exports: {} }, cl = _t.exports, Oi;
|
|
1882
1882
|
function fl() {
|
|
1883
1883
|
return Oi || (Oi = 1, (function(e, n) {
|
|
1884
1884
|
(function(t, r) {
|
|
1885
1885
|
e.exports = r(ne());
|
|
1886
1886
|
})(cl, function(t) {
|
|
1887
1887
|
return (function() {
|
|
1888
|
-
var r = t, p = r.lib, g = p.WordArray,
|
|
1889
|
-
|
|
1888
|
+
var r = t, p = r.lib, g = p.WordArray, U = r.enc;
|
|
1889
|
+
U.Utf16 = U.Utf16BE = {
|
|
1890
1890
|
/**
|
|
1891
1891
|
* Converts a word array to a UTF-16 BE string.
|
|
1892
1892
|
*
|
|
@@ -1925,7 +1925,7 @@ function fl() {
|
|
|
1925
1925
|
i[o >>> 1] |= l.charCodeAt(o) << 16 - o % 2 * 16;
|
|
1926
1926
|
return g.create(i, a * 2);
|
|
1927
1927
|
}
|
|
1928
|
-
},
|
|
1928
|
+
}, U.Utf16LE = {
|
|
1929
1929
|
/**
|
|
1930
1930
|
* Converts a word array to a UTF-16 LE string.
|
|
1931
1931
|
*
|
|
@@ -1970,17 +1970,17 @@ function fl() {
|
|
|
1970
1970
|
}
|
|
1971
1971
|
})(), t.enc.Utf16;
|
|
1972
1972
|
});
|
|
1973
|
-
})(
|
|
1973
|
+
})(_t)), _t.exports;
|
|
1974
1974
|
}
|
|
1975
|
-
var
|
|
1975
|
+
var yt = { exports: {} }, _l = yt.exports, Bi;
|
|
1976
1976
|
function xa() {
|
|
1977
1977
|
return Bi || (Bi = 1, (function(e, n) {
|
|
1978
1978
|
(function(t, r) {
|
|
1979
1979
|
e.exports = r(ne());
|
|
1980
1980
|
})(_l, function(t) {
|
|
1981
1981
|
return (function() {
|
|
1982
|
-
var r = t, p = r.lib, g = p.WordArray,
|
|
1983
|
-
|
|
1982
|
+
var r = t, p = r.lib, g = p.WordArray, U = r.enc;
|
|
1983
|
+
U.Base64 = {
|
|
1984
1984
|
/**
|
|
1985
1985
|
* Converts a word array to a Base64 string.
|
|
1986
1986
|
*
|
|
@@ -2000,10 +2000,10 @@ function xa() {
|
|
|
2000
2000
|
for (var s = [], u = 0; u < i; u += 3)
|
|
2001
2001
|
for (var m = a[u >>> 2] >>> 24 - u % 4 * 8 & 255, _ = a[u + 1 >>> 2] >>> 24 - (u + 1) % 4 * 8 & 255, c = a[u + 2 >>> 2] >>> 24 - (u + 2) % 4 * 8 & 255, y = m << 16 | _ << 8 | c, f = 0; f < 4 && u + f * 0.75 < i; f++)
|
|
2002
2002
|
s.push(o.charAt(y >>> 6 * (3 - f) & 63));
|
|
2003
|
-
var
|
|
2004
|
-
if (
|
|
2003
|
+
var b = o.charAt(64);
|
|
2004
|
+
if (b)
|
|
2005
2005
|
for (; s.length % 4; )
|
|
2006
|
-
s.push(
|
|
2006
|
+
s.push(b);
|
|
2007
2007
|
return s.join("");
|
|
2008
2008
|
},
|
|
2009
2009
|
/**
|
|
@@ -2045,17 +2045,17 @@ function xa() {
|
|
|
2045
2045
|
}
|
|
2046
2046
|
})(), t.enc.Base64;
|
|
2047
2047
|
});
|
|
2048
|
-
})(
|
|
2048
|
+
})(yt)), yt.exports;
|
|
2049
2049
|
}
|
|
2050
|
-
var
|
|
2050
|
+
var Ut = { exports: {} }, yl = Ut.exports, Hi;
|
|
2051
2051
|
function Ul() {
|
|
2052
2052
|
return Hi || (Hi = 1, (function(e, n) {
|
|
2053
2053
|
(function(t, r) {
|
|
2054
2054
|
e.exports = r(ne());
|
|
2055
2055
|
})(yl, function(t) {
|
|
2056
2056
|
return (function() {
|
|
2057
|
-
var r = t, p = r.lib, g = p.WordArray,
|
|
2058
|
-
|
|
2057
|
+
var r = t, p = r.lib, g = p.WordArray, U = r.enc;
|
|
2058
|
+
U.Base64url = {
|
|
2059
2059
|
/**
|
|
2060
2060
|
* Converts a word array to a Base64url string.
|
|
2061
2061
|
*
|
|
@@ -2076,8 +2076,8 @@ function Ul() {
|
|
|
2076
2076
|
var i = l.words, o = l.sigBytes, s = a ? this._safe_map : this._map;
|
|
2077
2077
|
l.clamp();
|
|
2078
2078
|
for (var u = [], m = 0; m < o; m += 3)
|
|
2079
|
-
for (var _ = i[m >>> 2] >>> 24 - m % 4 * 8 & 255, c = i[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, y = i[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, f = _ << 16 | c << 8 | y,
|
|
2080
|
-
u.push(s.charAt(f >>> 6 * (3 -
|
|
2079
|
+
for (var _ = i[m >>> 2] >>> 24 - m % 4 * 8 & 255, c = i[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, y = i[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, f = _ << 16 | c << 8 | y, b = 0; b < 4 && m + b * 0.75 < o; b++)
|
|
2080
|
+
u.push(s.charAt(f >>> 6 * (3 - b) & 63));
|
|
2081
2081
|
var C = s.charAt(64);
|
|
2082
2082
|
if (C)
|
|
2083
2083
|
for (; u.length % 4; )
|
|
@@ -2127,23 +2127,23 @@ function Ul() {
|
|
|
2127
2127
|
}
|
|
2128
2128
|
})(), t.enc.Base64url;
|
|
2129
2129
|
});
|
|
2130
|
-
})(
|
|
2130
|
+
})(Ut)), Ut.exports;
|
|
2131
2131
|
}
|
|
2132
|
-
var
|
|
2132
|
+
var bt = { exports: {} }, bl = bt.exports, Wi;
|
|
2133
2133
|
function Sa() {
|
|
2134
2134
|
return Wi || (Wi = 1, (function(e, n) {
|
|
2135
2135
|
(function(t, r) {
|
|
2136
2136
|
e.exports = r(ne());
|
|
2137
2137
|
})(bl, function(t) {
|
|
2138
2138
|
return (function(r) {
|
|
2139
|
-
var p = t, g = p.lib,
|
|
2139
|
+
var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, l = p.algo, a = [];
|
|
2140
2140
|
(function() {
|
|
2141
2141
|
for (var _ = 0; _ < 64; _++)
|
|
2142
2142
|
a[_] = r.abs(r.sin(_ + 1)) * 4294967296 | 0;
|
|
2143
2143
|
})();
|
|
2144
2144
|
var i = l.MD5 = d.extend({
|
|
2145
2145
|
_doReset: function() {
|
|
2146
|
-
this._hash = new
|
|
2146
|
+
this._hash = new U.init([
|
|
2147
2147
|
1732584193,
|
|
2148
2148
|
4023233417,
|
|
2149
2149
|
2562383102,
|
|
@@ -2152,17 +2152,17 @@ function Sa() {
|
|
|
2152
2152
|
},
|
|
2153
2153
|
_doProcessBlock: function(_, c) {
|
|
2154
2154
|
for (var y = 0; y < 16; y++) {
|
|
2155
|
-
var f = c + y,
|
|
2156
|
-
_[f] = (
|
|
2155
|
+
var f = c + y, b = _[f];
|
|
2156
|
+
_[f] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360;
|
|
2157
2157
|
}
|
|
2158
|
-
var C = this._hash.words, v = _[c + 0], x = _[c + 1], E = _[c + 2], G = _[c + 3], O = _[c + 4], k = _[c + 5], h = _[c + 6], F = _[c + 7], A = _[c + 8], w = _[c + 9], R = _[c + 10], P = _[c + 11], H = _[c + 12], B = _[c + 13],
|
|
2159
|
-
D = o(D, S, L, N, v, 7, a[0]), N = o(N, D, S, L, x, 12, a[1]), L = o(L, N, D, S, E, 17, a[2]), S = o(S, L, N, D, G, 22, a[3]), D = o(D, S, L, N, O, 7, a[4]), N = o(N, D, S, L, k, 12, a[5]), L = o(L, N, D, S, h, 17, a[6]), S = o(S, L, N, D, F, 22, a[7]), D = o(D, S, L, N, A, 7, a[8]), N = o(N, D, S, L, w, 12, a[9]), L = o(L, N, D, S, R, 17, a[10]), S = o(S, L, N, D, P, 22, a[11]), D = o(D, S, L, N, H, 7, a[12]), N = o(N, D, S, L, B, 12, a[13]), L = o(L, N, D, S,
|
|
2158
|
+
var C = this._hash.words, v = _[c + 0], x = _[c + 1], E = _[c + 2], G = _[c + 3], O = _[c + 4], k = _[c + 5], h = _[c + 6], F = _[c + 7], A = _[c + 8], w = _[c + 9], R = _[c + 10], P = _[c + 11], H = _[c + 12], B = _[c + 13], z = _[c + 14], M = _[c + 15], D = C[0], S = C[1], L = C[2], N = C[3];
|
|
2159
|
+
D = o(D, S, L, N, v, 7, a[0]), N = o(N, D, S, L, x, 12, a[1]), L = o(L, N, D, S, E, 17, a[2]), S = o(S, L, N, D, G, 22, a[3]), D = o(D, S, L, N, O, 7, a[4]), N = o(N, D, S, L, k, 12, a[5]), L = o(L, N, D, S, h, 17, a[6]), S = o(S, L, N, D, F, 22, a[7]), D = o(D, S, L, N, A, 7, a[8]), N = o(N, D, S, L, w, 12, a[9]), L = o(L, N, D, S, R, 17, a[10]), S = o(S, L, N, D, P, 22, a[11]), D = o(D, S, L, N, H, 7, a[12]), N = o(N, D, S, L, B, 12, a[13]), L = o(L, N, D, S, z, 17, a[14]), S = o(S, L, N, D, M, 22, a[15]), D = s(D, S, L, N, x, 5, a[16]), N = s(N, D, S, L, h, 9, a[17]), L = s(L, N, D, S, P, 14, a[18]), S = s(S, L, N, D, v, 20, a[19]), D = s(D, S, L, N, k, 5, a[20]), N = s(N, D, S, L, R, 9, a[21]), L = s(L, N, D, S, M, 14, a[22]), S = s(S, L, N, D, O, 20, a[23]), D = s(D, S, L, N, w, 5, a[24]), N = s(N, D, S, L, z, 9, a[25]), L = s(L, N, D, S, G, 14, a[26]), S = s(S, L, N, D, A, 20, a[27]), D = s(D, S, L, N, B, 5, a[28]), N = s(N, D, S, L, E, 9, a[29]), L = s(L, N, D, S, F, 14, a[30]), S = s(S, L, N, D, H, 20, a[31]), D = u(D, S, L, N, k, 4, a[32]), N = u(N, D, S, L, A, 11, a[33]), L = u(L, N, D, S, P, 16, a[34]), S = u(S, L, N, D, z, 23, a[35]), D = u(D, S, L, N, x, 4, a[36]), N = u(N, D, S, L, O, 11, a[37]), L = u(L, N, D, S, F, 16, a[38]), S = u(S, L, N, D, R, 23, a[39]), D = u(D, S, L, N, B, 4, a[40]), N = u(N, D, S, L, v, 11, a[41]), L = u(L, N, D, S, G, 16, a[42]), S = u(S, L, N, D, h, 23, a[43]), D = u(D, S, L, N, w, 4, a[44]), N = u(N, D, S, L, H, 11, a[45]), L = u(L, N, D, S, M, 16, a[46]), S = u(S, L, N, D, E, 23, a[47]), D = m(D, S, L, N, v, 6, a[48]), N = m(N, D, S, L, F, 10, a[49]), L = m(L, N, D, S, z, 15, a[50]), S = m(S, L, N, D, k, 21, a[51]), D = m(D, S, L, N, H, 6, a[52]), N = m(N, D, S, L, G, 10, a[53]), L = m(L, N, D, S, R, 15, a[54]), S = m(S, L, N, D, x, 21, a[55]), D = m(D, S, L, N, A, 6, a[56]), N = m(N, D, S, L, M, 10, a[57]), L = m(L, N, D, S, h, 15, a[58]), S = m(S, L, N, D, B, 21, a[59]), D = m(D, S, L, N, O, 6, a[60]), N = m(N, D, S, L, P, 10, a[61]), L = m(L, N, D, S, E, 15, a[62]), S = m(S, L, N, D, w, 21, a[63]), C[0] = C[0] + D | 0, C[1] = C[1] + S | 0, C[2] = C[2] + L | 0, C[3] = C[3] + N | 0;
|
|
2160
2160
|
},
|
|
2161
2161
|
_doFinalize: function() {
|
|
2162
2162
|
var _ = this._data, c = _.words, y = this._nDataBytes * 8, f = _.sigBytes * 8;
|
|
2163
2163
|
c[f >>> 5] |= 128 << 24 - f % 32;
|
|
2164
|
-
var
|
|
2165
|
-
c[(f + 64 >>> 9 << 4) + 15] = (
|
|
2164
|
+
var b = r.floor(y / 4294967296), C = y;
|
|
2165
|
+
c[(f + 64 >>> 9 << 4) + 15] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, c[(f + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, _.sigBytes = (c.length + 1) * 4, this._process();
|
|
2166
2166
|
for (var v = this._hash, x = v.words, E = 0; E < 4; E++) {
|
|
2167
2167
|
var G = x[E];
|
|
2168
2168
|
x[E] = (G << 8 | G >>> 24) & 16711935 | (G << 24 | G >>> 8) & 4278255360;
|
|
@@ -2174,35 +2174,35 @@ function Sa() {
|
|
|
2174
2174
|
return _._hash = this._hash.clone(), _;
|
|
2175
2175
|
}
|
|
2176
2176
|
});
|
|
2177
|
-
function o(_, c, y, f,
|
|
2178
|
-
var x = _ + (c & y | ~c & f) +
|
|
2177
|
+
function o(_, c, y, f, b, C, v) {
|
|
2178
|
+
var x = _ + (c & y | ~c & f) + b + v;
|
|
2179
2179
|
return (x << C | x >>> 32 - C) + c;
|
|
2180
2180
|
}
|
|
2181
|
-
function s(_, c, y, f,
|
|
2182
|
-
var x = _ + (c & f | y & ~f) +
|
|
2181
|
+
function s(_, c, y, f, b, C, v) {
|
|
2182
|
+
var x = _ + (c & f | y & ~f) + b + v;
|
|
2183
2183
|
return (x << C | x >>> 32 - C) + c;
|
|
2184
2184
|
}
|
|
2185
|
-
function u(_, c, y, f,
|
|
2186
|
-
var x = _ + (c ^ y ^ f) +
|
|
2185
|
+
function u(_, c, y, f, b, C, v) {
|
|
2186
|
+
var x = _ + (c ^ y ^ f) + b + v;
|
|
2187
2187
|
return (x << C | x >>> 32 - C) + c;
|
|
2188
2188
|
}
|
|
2189
|
-
function m(_, c, y, f,
|
|
2190
|
-
var x = _ + (y ^ (c | ~f)) +
|
|
2189
|
+
function m(_, c, y, f, b, C, v) {
|
|
2190
|
+
var x = _ + (y ^ (c | ~f)) + b + v;
|
|
2191
2191
|
return (x << C | x >>> 32 - C) + c;
|
|
2192
2192
|
}
|
|
2193
2193
|
p.MD5 = d._createHelper(i), p.HmacMD5 = d._createHmacHelper(i);
|
|
2194
2194
|
})(Math), t.MD5;
|
|
2195
2195
|
});
|
|
2196
|
-
})(
|
|
2196
|
+
})(bt)), bt.exports;
|
|
2197
2197
|
}
|
|
2198
|
-
var
|
|
2198
|
+
var Ct = { exports: {} }, Cl = Ct.exports, zi;
|
|
2199
2199
|
function er() {
|
|
2200
2200
|
return zi || (zi = 1, (function(e, n) {
|
|
2201
2201
|
(function(t, r) {
|
|
2202
2202
|
e.exports = r(ne());
|
|
2203
2203
|
})(Cl, function(t) {
|
|
2204
2204
|
return (function() {
|
|
2205
|
-
var r = t, p = r.lib, g = p.WordArray,
|
|
2205
|
+
var r = t, p = r.lib, g = p.WordArray, U = p.Hasher, d = r.algo, l = [], a = d.SHA1 = U.extend({
|
|
2206
2206
|
_doReset: function() {
|
|
2207
2207
|
this._hash = new g.init([
|
|
2208
2208
|
1732584193,
|
|
@@ -2217,8 +2217,8 @@ function er() {
|
|
|
2217
2217
|
if (f < 16)
|
|
2218
2218
|
l[f] = i[o + f] | 0;
|
|
2219
2219
|
else {
|
|
2220
|
-
var
|
|
2221
|
-
l[f] =
|
|
2220
|
+
var b = l[f - 3] ^ l[f - 8] ^ l[f - 14] ^ l[f - 16];
|
|
2221
|
+
l[f] = b << 1 | b >>> 31;
|
|
2222
2222
|
}
|
|
2223
2223
|
var C = (u << 5 | u >>> 27) + y + l[f];
|
|
2224
2224
|
f < 20 ? C += (m & _ | ~m & c) + 1518500249 : f < 40 ? C += (m ^ _ ^ c) + 1859775393 : f < 60 ? C += (m & _ | m & c | _ & c) - 1894007588 : C += (m ^ _ ^ c) - 899497514, y = c, c = _, _ = m << 30 | m >>> 2, m = u, u = C;
|
|
@@ -2230,27 +2230,27 @@ function er() {
|
|
|
2230
2230
|
return o[u >>> 5] |= 128 << 24 - u % 32, o[(u + 64 >>> 9 << 4) + 14] = Math.floor(s / 4294967296), o[(u + 64 >>> 9 << 4) + 15] = s, i.sigBytes = o.length * 4, this._process(), this._hash;
|
|
2231
2231
|
},
|
|
2232
2232
|
clone: function() {
|
|
2233
|
-
var i =
|
|
2233
|
+
var i = U.clone.call(this);
|
|
2234
2234
|
return i._hash = this._hash.clone(), i;
|
|
2235
2235
|
}
|
|
2236
2236
|
});
|
|
2237
|
-
r.SHA1 =
|
|
2237
|
+
r.SHA1 = U._createHelper(a), r.HmacSHA1 = U._createHmacHelper(a);
|
|
2238
2238
|
})(), t.SHA1;
|
|
2239
2239
|
});
|
|
2240
|
-
})(
|
|
2240
|
+
})(Ct)), Ct.exports;
|
|
2241
2241
|
}
|
|
2242
|
-
var
|
|
2242
|
+
var vt = { exports: {} }, vl = vt.exports, Ii;
|
|
2243
2243
|
function Ui() {
|
|
2244
2244
|
return Ii || (Ii = 1, (function(e, n) {
|
|
2245
2245
|
(function(t, r) {
|
|
2246
2246
|
e.exports = r(ne());
|
|
2247
2247
|
})(vl, function(t) {
|
|
2248
2248
|
return (function(r) {
|
|
2249
|
-
var p = t, g = p.lib,
|
|
2249
|
+
var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, l = p.algo, a = [], i = [];
|
|
2250
2250
|
(function() {
|
|
2251
2251
|
function u(y) {
|
|
2252
|
-
for (var f = r.sqrt(y),
|
|
2253
|
-
if (!(y %
|
|
2252
|
+
for (var f = r.sqrt(y), b = 2; b <= f; b++)
|
|
2253
|
+
if (!(y % b))
|
|
2254
2254
|
return !1;
|
|
2255
2255
|
return !0;
|
|
2256
2256
|
}
|
|
@@ -2262,10 +2262,10 @@ function Ui() {
|
|
|
2262
2262
|
})();
|
|
2263
2263
|
var o = [], s = l.SHA256 = d.extend({
|
|
2264
2264
|
_doReset: function() {
|
|
2265
|
-
this._hash = new
|
|
2265
|
+
this._hash = new U.init(a.slice(0));
|
|
2266
2266
|
},
|
|
2267
2267
|
_doProcessBlock: function(u, m) {
|
|
2268
|
-
for (var _ = this._hash.words, c = _[0], y = _[1], f = _[2],
|
|
2268
|
+
for (var _ = this._hash.words, c = _[0], y = _[1], f = _[2], b = _[3], C = _[4], v = _[5], x = _[6], E = _[7], G = 0; G < 64; G++) {
|
|
2269
2269
|
if (G < 16)
|
|
2270
2270
|
o[G] = u[m + G] | 0;
|
|
2271
2271
|
else {
|
|
@@ -2273,9 +2273,9 @@ function Ui() {
|
|
|
2273
2273
|
o[G] = k + o[G - 7] + F + o[G - 16];
|
|
2274
2274
|
}
|
|
2275
2275
|
var A = C & v ^ ~C & x, w = c & y ^ c & f ^ y & f, R = (c << 30 | c >>> 2) ^ (c << 19 | c >>> 13) ^ (c << 10 | c >>> 22), P = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), H = E + P + A + i[G] + o[G], B = R + w;
|
|
2276
|
-
E = x, x = v, v = C, C =
|
|
2276
|
+
E = x, x = v, v = C, C = b + H | 0, b = f, f = y, y = c, c = H + B | 0;
|
|
2277
2277
|
}
|
|
2278
|
-
_[0] = _[0] + c | 0, _[1] = _[1] + y | 0, _[2] = _[2] + f | 0, _[3] = _[3] +
|
|
2278
|
+
_[0] = _[0] + c | 0, _[1] = _[1] + y | 0, _[2] = _[2] + f | 0, _[3] = _[3] + b | 0, _[4] = _[4] + C | 0, _[5] = _[5] + v | 0, _[6] = _[6] + x | 0, _[7] = _[7] + E | 0;
|
|
2279
2279
|
},
|
|
2280
2280
|
_doFinalize: function() {
|
|
2281
2281
|
var u = this._data, m = u.words, _ = this._nDataBytes * 8, c = u.sigBytes * 8;
|
|
@@ -2289,16 +2289,16 @@ function Ui() {
|
|
|
2289
2289
|
p.SHA256 = d._createHelper(s), p.HmacSHA256 = d._createHmacHelper(s);
|
|
2290
2290
|
})(Math), t.SHA256;
|
|
2291
2291
|
});
|
|
2292
|
-
})(
|
|
2292
|
+
})(vt)), vt.exports;
|
|
2293
2293
|
}
|
|
2294
|
-
var
|
|
2294
|
+
var ht = { exports: {} }, hl = ht.exports, Vi;
|
|
2295
2295
|
function Tl() {
|
|
2296
2296
|
return Vi || (Vi = 1, (function(e, n) {
|
|
2297
2297
|
(function(t, r, p) {
|
|
2298
2298
|
e.exports = r(ne(), Ui());
|
|
2299
2299
|
})(hl, function(t) {
|
|
2300
2300
|
return (function() {
|
|
2301
|
-
var r = t, p = r.lib, g = p.WordArray,
|
|
2301
|
+
var r = t, p = r.lib, g = p.WordArray, U = r.algo, d = U.SHA256, l = U.SHA224 = d.extend({
|
|
2302
2302
|
_doReset: function() {
|
|
2303
2303
|
this._hash = new g.init([
|
|
2304
2304
|
3238371032,
|
|
@@ -2319,16 +2319,16 @@ function Tl() {
|
|
|
2319
2319
|
r.SHA224 = d._createHelper(l), r.HmacSHA224 = d._createHmacHelper(l);
|
|
2320
2320
|
})(), t.SHA224;
|
|
2321
2321
|
});
|
|
2322
|
-
})(
|
|
2322
|
+
})(ht)), ht.exports;
|
|
2323
2323
|
}
|
|
2324
|
-
var
|
|
2324
|
+
var Tt = { exports: {} }, kl = Tt.exports, Ji;
|
|
2325
2325
|
function ar() {
|
|
2326
2326
|
return Ji || (Ji = 1, (function(e, n) {
|
|
2327
2327
|
(function(t, r, p) {
|
|
2328
|
-
e.exports = r(ne(),
|
|
2328
|
+
e.exports = r(ne(), ei());
|
|
2329
2329
|
})(kl, function(t) {
|
|
2330
2330
|
return (function() {
|
|
2331
|
-
var r = t, p = r.lib, g = p.Hasher,
|
|
2331
|
+
var r = t, p = r.lib, g = p.Hasher, U = r.x64, d = U.Word, l = U.WordArray, a = r.algo;
|
|
2332
2332
|
function i() {
|
|
2333
2333
|
return d.create.apply(d, arguments);
|
|
2334
2334
|
}
|
|
@@ -2432,7 +2432,7 @@ function ar() {
|
|
|
2432
2432
|
]);
|
|
2433
2433
|
},
|
|
2434
2434
|
_doProcessBlock: function(m, _) {
|
|
2435
|
-
for (var c = this._hash.words, y = c[0], f = c[1],
|
|
2435
|
+
for (var c = this._hash.words, y = c[0], f = c[1], b = c[2], C = c[3], v = c[4], x = c[5], E = c[6], G = c[7], O = y.high, k = y.low, h = f.high, F = f.low, A = b.high, w = b.low, R = C.high, P = C.low, H = v.high, B = v.low, z = x.high, M = x.low, D = E.high, S = E.low, L = G.high, N = G.low, Z = O, q = k, j = h, K = F, ie = A, re = w, ye = R, Ue = P, me = H, ce = B, ke = z, fe = M, Ve = D, Ce = S, Pe = L, aa = N, we = 0; we < 80; we++) {
|
|
2436
2436
|
var ve, We, ta = s[we];
|
|
2437
2437
|
if (we < 16)
|
|
2438
2438
|
We = ta.high = m[_ + we * 2] | 0, ve = ta.low = m[_ + we * 2 + 1] | 0;
|
|
@@ -2440,10 +2440,10 @@ function ar() {
|
|
|
2440
2440
|
var ia = s[we - 15], xe = ia.high, Fe = ia.low, je = (xe >>> 1 | Fe << 31) ^ (xe >>> 8 | Fe << 24) ^ xe >>> 7, oa = (Fe >>> 1 | xe << 31) ^ (Fe >>> 8 | xe << 24) ^ (Fe >>> 7 | xe << 25), ga = s[we - 2], Je = ga.high, Ye = ga.low, Va = (Je >>> 19 | Ye << 13) ^ (Je << 3 | Ye >>> 29) ^ Je >>> 6, Da = (Ye >>> 19 | Je << 13) ^ (Ye << 3 | Je >>> 29) ^ (Ye >>> 6 | Je << 26), Ea = s[we - 7], Ja = Ea.high, Za = Ea.low, da = s[we - 16], ya = da.high, qe = da.low;
|
|
2441
2441
|
ve = oa + Za, We = je + Ja + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Da, We = We + Va + (ve >>> 0 < Da >>> 0 ? 1 : 0), ve = ve + qe, We = We + ya + (ve >>> 0 < qe >>> 0 ? 1 : 0), ta.high = We, ta.low = ve;
|
|
2442
2442
|
}
|
|
2443
|
-
var ca = me & ke ^ ~me & Ve, fa = ce & fe ^ ~ce & Ce, Na = Z & j ^ Z & ie ^ j & ie, La = q & K ^ q & re ^ K & re, Ua = (Z >>> 28 | q << 4) ^ (Z << 30 | q >>> 2) ^ (Z << 25 | q >>> 7), Ga = (q >>> 28 | Z << 4) ^ (q << 30 | Z >>> 2) ^ (q << 25 | Z >>> 7), Ma = (me >>> 14 | ce << 18) ^ (me >>> 18 | ce << 14) ^ (me << 23 | ce >>> 9), Se = (ce >>> 14 | me << 18) ^ (ce >>> 18 | me << 14) ^ (ce << 23 | me >>> 9), V = o[we], De = V.high, na = V.low, Ae = aa + Se, ra = Pe + Ma + (Ae >>> 0 < aa >>> 0 ? 1 : 0), Ae = Ae + fa, ra = ra + ca + (Ae >>> 0 < fa >>> 0 ? 1 : 0), Ae = Ae + na, ra = ra + De + (Ae >>> 0 < na >>> 0 ? 1 : 0), Ae = Ae + ve, ra = ra + We + (Ae >>> 0 < ve >>> 0 ? 1 : 0),
|
|
2444
|
-
Pe = Ve, aa = Ce, Ve = ke, Ce = fe, ke = me, fe = ce, ce = Ue + Ae | 0, me = ye + ra + (ce >>> 0 < Ue >>> 0 ? 1 : 0) | 0, ye = ie, Ue = re, ie = j, re = K, j = Z, K = q, q = Ae +
|
|
2443
|
+
var ca = me & ke ^ ~me & Ve, fa = ce & fe ^ ~ce & Ce, Na = Z & j ^ Z & ie ^ j & ie, La = q & K ^ q & re ^ K & re, Ua = (Z >>> 28 | q << 4) ^ (Z << 30 | q >>> 2) ^ (Z << 25 | q >>> 7), Ga = (q >>> 28 | Z << 4) ^ (q << 30 | Z >>> 2) ^ (q << 25 | Z >>> 7), Ma = (me >>> 14 | ce << 18) ^ (me >>> 18 | ce << 14) ^ (me << 23 | ce >>> 9), Se = (ce >>> 14 | me << 18) ^ (ce >>> 18 | me << 14) ^ (ce << 23 | me >>> 9), V = o[we], De = V.high, na = V.low, Ae = aa + Se, ra = Pe + Ma + (Ae >>> 0 < aa >>> 0 ? 1 : 0), Ae = Ae + fa, ra = ra + ca + (Ae >>> 0 < fa >>> 0 ? 1 : 0), Ae = Ae + na, ra = ra + De + (Ae >>> 0 < na >>> 0 ? 1 : 0), Ae = Ae + ve, ra = ra + We + (Ae >>> 0 < ve >>> 0 ? 1 : 0), it = Ga + La, ai = Ua + Na + (it >>> 0 < Ga >>> 0 ? 1 : 0);
|
|
2444
|
+
Pe = Ve, aa = Ce, Ve = ke, Ce = fe, ke = me, fe = ce, ce = Ue + Ae | 0, me = ye + ra + (ce >>> 0 < Ue >>> 0 ? 1 : 0) | 0, ye = ie, Ue = re, ie = j, re = K, j = Z, K = q, q = Ae + it | 0, Z = ra + ai + (q >>> 0 < Ae >>> 0 ? 1 : 0) | 0;
|
|
2445
2445
|
}
|
|
2446
|
-
k = y.low = k + q, y.high = O + Z + (k >>> 0 < q >>> 0 ? 1 : 0), F = f.low = F + K, f.high = h + j + (F >>> 0 < K >>> 0 ? 1 : 0), w =
|
|
2446
|
+
k = y.low = k + q, y.high = O + Z + (k >>> 0 < q >>> 0 ? 1 : 0), F = f.low = F + K, f.high = h + j + (F >>> 0 < K >>> 0 ? 1 : 0), w = b.low = w + re, b.high = A + ie + (w >>> 0 < re >>> 0 ? 1 : 0), P = C.low = P + Ue, C.high = R + ye + (P >>> 0 < Ue >>> 0 ? 1 : 0), B = v.low = B + ce, v.high = H + me + (B >>> 0 < ce >>> 0 ? 1 : 0), M = x.low = M + fe, x.high = z + ke + (M >>> 0 < fe >>> 0 ? 1 : 0), S = E.low = S + Ce, E.high = D + Ve + (S >>> 0 < Ce >>> 0 ? 1 : 0), N = G.low = N + aa, G.high = L + Pe + (N >>> 0 < aa >>> 0 ? 1 : 0);
|
|
2447
2447
|
},
|
|
2448
2448
|
_doFinalize: function() {
|
|
2449
2449
|
var m = this._data, _ = m.words, c = this._nDataBytes * 8, y = m.sigBytes * 8;
|
|
@@ -2460,18 +2460,18 @@ function ar() {
|
|
|
2460
2460
|
r.SHA512 = g._createHelper(u), r.HmacSHA512 = g._createHmacHelper(u);
|
|
2461
2461
|
})(), t.SHA512;
|
|
2462
2462
|
});
|
|
2463
|
-
})(
|
|
2463
|
+
})(Tt)), Tt.exports;
|
|
2464
2464
|
}
|
|
2465
|
-
var
|
|
2465
|
+
var kt = { exports: {} }, xl = kt.exports, Zi;
|
|
2466
2466
|
function Sl() {
|
|
2467
2467
|
return Zi || (Zi = 1, (function(e, n) {
|
|
2468
2468
|
(function(t, r, p) {
|
|
2469
|
-
e.exports = r(ne(),
|
|
2469
|
+
e.exports = r(ne(), ei(), ar());
|
|
2470
2470
|
})(xl, function(t) {
|
|
2471
2471
|
return (function() {
|
|
2472
|
-
var r = t, p = r.x64, g = p.Word,
|
|
2472
|
+
var r = t, p = r.x64, g = p.Word, U = p.WordArray, d = r.algo, l = d.SHA512, a = d.SHA384 = l.extend({
|
|
2473
2473
|
_doReset: function() {
|
|
2474
|
-
this._hash = new
|
|
2474
|
+
this._hash = new U.init([
|
|
2475
2475
|
new g.init(3418070365, 3238371032),
|
|
2476
2476
|
new g.init(1654270250, 914150663),
|
|
2477
2477
|
new g.init(2438529370, 812702999),
|
|
@@ -2490,21 +2490,21 @@ function Sl() {
|
|
|
2490
2490
|
r.SHA384 = l._createHelper(a), r.HmacSHA384 = l._createHmacHelper(a);
|
|
2491
2491
|
})(), t.SHA384;
|
|
2492
2492
|
});
|
|
2493
|
-
})(
|
|
2493
|
+
})(kt)), kt.exports;
|
|
2494
2494
|
}
|
|
2495
|
-
var
|
|
2495
|
+
var xt = { exports: {} }, Dl = xt.exports, Ki;
|
|
2496
2496
|
function El() {
|
|
2497
2497
|
return Ki || (Ki = 1, (function(e, n) {
|
|
2498
2498
|
(function(t, r, p) {
|
|
2499
|
-
e.exports = r(ne(),
|
|
2499
|
+
e.exports = r(ne(), ei());
|
|
2500
2500
|
})(Dl, function(t) {
|
|
2501
2501
|
return (function(r) {
|
|
2502
|
-
var p = t, g = p.lib,
|
|
2502
|
+
var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, l = p.x64, a = l.Word, i = p.algo, o = [], s = [], u = [];
|
|
2503
2503
|
(function() {
|
|
2504
2504
|
for (var c = 1, y = 0, f = 0; f < 24; f++) {
|
|
2505
2505
|
o[c + 5 * y] = (f + 1) * (f + 2) / 2 % 64;
|
|
2506
|
-
var
|
|
2507
|
-
c =
|
|
2506
|
+
var b = y % 5, C = (2 * c + 3 * y) % 5;
|
|
2507
|
+
c = b, y = C;
|
|
2508
2508
|
}
|
|
2509
2509
|
for (var c = 0; c < 5; c++)
|
|
2510
2510
|
for (var y = 0; y < 5; y++)
|
|
@@ -2543,7 +2543,7 @@ function El() {
|
|
|
2543
2543
|
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
|
|
2544
2544
|
},
|
|
2545
2545
|
_doProcessBlock: function(c, y) {
|
|
2546
|
-
for (var f = this._state,
|
|
2546
|
+
for (var f = this._state, b = this.blockSize / 2, C = 0; C < b; C++) {
|
|
2547
2547
|
var v = c[y + 2 * C], x = c[y + 2 * C + 1];
|
|
2548
2548
|
v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360;
|
|
2549
2549
|
var E = f[C];
|
|
@@ -2564,8 +2564,8 @@ function El() {
|
|
|
2564
2564
|
E.high ^= k, E.low ^= h;
|
|
2565
2565
|
}
|
|
2566
2566
|
for (var B = 1; B < 25; B++) {
|
|
2567
|
-
var k, h, E = f[B],
|
|
2568
|
-
D < 32 ? (k =
|
|
2567
|
+
var k, h, E = f[B], z = E.high, M = E.low, D = o[B];
|
|
2568
|
+
D < 32 ? (k = z << D | M >>> 32 - D, h = M << D | z >>> 32 - D) : (k = M << D - 32 | z >>> 64 - D, h = z << D - 32 | M >>> 64 - D);
|
|
2569
2569
|
var S = m[s[B]];
|
|
2570
2570
|
S.high = k, S.low = h;
|
|
2571
2571
|
}
|
|
@@ -2583,13 +2583,13 @@ function El() {
|
|
|
2583
2583
|
_doFinalize: function() {
|
|
2584
2584
|
var c = this._data, y = c.words;
|
|
2585
2585
|
this._nDataBytes * 8;
|
|
2586
|
-
var f = c.sigBytes * 8,
|
|
2587
|
-
y[f >>> 5] |= 1 << 24 - f % 32, y[(r.ceil((f + 1) /
|
|
2586
|
+
var f = c.sigBytes * 8, b = this.blockSize * 32;
|
|
2587
|
+
y[f >>> 5] |= 1 << 24 - f % 32, y[(r.ceil((f + 1) / b) * b >>> 5) - 1] |= 128, c.sigBytes = y.length * 4, this._process();
|
|
2588
2588
|
for (var C = this._state, v = this.cfg.outputLength / 8, x = v / 8, E = [], G = 0; G < x; G++) {
|
|
2589
2589
|
var O = C[G], k = O.high, h = O.low;
|
|
2590
2590
|
k = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, h = (h << 8 | h >>> 24) & 16711935 | (h << 24 | h >>> 8) & 4278255360, E.push(h), E.push(k);
|
|
2591
2591
|
}
|
|
2592
|
-
return new
|
|
2592
|
+
return new U.init(E, v);
|
|
2593
2593
|
},
|
|
2594
2594
|
clone: function() {
|
|
2595
2595
|
for (var c = d.clone.call(this), y = c._state = this._state.slice(0), f = 0; f < 25; f++)
|
|
@@ -2600,16 +2600,16 @@ function El() {
|
|
|
2600
2600
|
p.SHA3 = d._createHelper(_), p.HmacSHA3 = d._createHmacHelper(_);
|
|
2601
2601
|
})(Math), t.SHA3;
|
|
2602
2602
|
});
|
|
2603
|
-
})(
|
|
2603
|
+
})(xt)), xt.exports;
|
|
2604
2604
|
}
|
|
2605
|
-
var
|
|
2605
|
+
var St = { exports: {} }, Nl = St.exports, qi;
|
|
2606
2606
|
function Ll() {
|
|
2607
2607
|
return qi || (qi = 1, (function(e, n) {
|
|
2608
2608
|
(function(t, r) {
|
|
2609
2609
|
e.exports = r(ne());
|
|
2610
2610
|
})(Nl, function(t) {
|
|
2611
2611
|
return (function(r) {
|
|
2612
|
-
var p = t, g = p.lib,
|
|
2612
|
+
var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, l = p.algo, a = U.create([
|
|
2613
2613
|
0,
|
|
2614
2614
|
1,
|
|
2615
2615
|
2,
|
|
@@ -2690,7 +2690,7 @@ function Ll() {
|
|
|
2690
2690
|
6,
|
|
2691
2691
|
15,
|
|
2692
2692
|
13
|
|
2693
|
-
]), i =
|
|
2693
|
+
]), i = U.create([
|
|
2694
2694
|
5,
|
|
2695
2695
|
14,
|
|
2696
2696
|
7,
|
|
@@ -2771,7 +2771,7 @@ function Ll() {
|
|
|
2771
2771
|
3,
|
|
2772
2772
|
9,
|
|
2773
2773
|
11
|
|
2774
|
-
]), o =
|
|
2774
|
+
]), o = U.create([
|
|
2775
2775
|
11,
|
|
2776
2776
|
14,
|
|
2777
2777
|
15,
|
|
@@ -2852,7 +2852,7 @@ function Ll() {
|
|
|
2852
2852
|
8,
|
|
2853
2853
|
5,
|
|
2854
2854
|
6
|
|
2855
|
-
]), s =
|
|
2855
|
+
]), s = U.create([
|
|
2856
2856
|
8,
|
|
2857
2857
|
9,
|
|
2858
2858
|
9,
|
|
@@ -2933,20 +2933,20 @@ function Ll() {
|
|
|
2933
2933
|
13,
|
|
2934
2934
|
11,
|
|
2935
2935
|
11
|
|
2936
|
-
]), u =
|
|
2936
|
+
]), u = U.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = U.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), _ = l.RIPEMD160 = d.extend({
|
|
2937
2937
|
_doReset: function() {
|
|
2938
|
-
this._hash =
|
|
2938
|
+
this._hash = U.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
|
2939
2939
|
},
|
|
2940
2940
|
_doProcessBlock: function(x, E) {
|
|
2941
2941
|
for (var G = 0; G < 16; G++) {
|
|
2942
2942
|
var O = E + G, k = x[O];
|
|
2943
2943
|
x[O] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
|
|
2944
2944
|
}
|
|
2945
|
-
var h = this._hash.words, F = u.words, A = m.words, w = a.words, R = i.words, P = o.words, H = s.words, B,
|
|
2946
|
-
L = B = h[0], N =
|
|
2945
|
+
var h = this._hash.words, F = u.words, A = m.words, w = a.words, R = i.words, P = o.words, H = s.words, B, z, M, D, S, L, N, Z, q, j;
|
|
2946
|
+
L = B = h[0], N = z = h[1], Z = M = h[2], q = D = h[3], j = S = h[4];
|
|
2947
2947
|
for (var K, G = 0; G < 80; G += 1)
|
|
2948
|
-
K = B + x[E + w[G]] | 0, G < 16 ? K += c(
|
|
2949
|
-
K = h[1] + M + q | 0, h[1] = h[2] + D + j | 0, h[2] = h[3] + S + L | 0, h[3] = h[4] + B + N | 0, h[4] = h[0] +
|
|
2948
|
+
K = B + x[E + w[G]] | 0, G < 16 ? K += c(z, M, D) + F[0] : G < 32 ? K += y(z, M, D) + F[1] : G < 48 ? K += f(z, M, D) + F[2] : G < 64 ? K += b(z, M, D) + F[3] : K += C(z, M, D) + F[4], K = K | 0, K = v(K, P[G]), K = K + S | 0, B = S, S = D, D = v(M, 10), M = z, z = K, K = L + x[E + R[G]] | 0, G < 16 ? K += C(N, Z, q) + A[0] : G < 32 ? K += b(N, Z, q) + A[1] : G < 48 ? K += f(N, Z, q) + A[2] : G < 64 ? K += y(N, Z, q) + A[3] : K += c(N, Z, q) + A[4], K = K | 0, K = v(K, H[G]), K = K + j | 0, L = j, j = q, q = v(Z, 10), Z = N, N = K;
|
|
2949
|
+
K = h[1] + M + q | 0, h[1] = h[2] + D + j | 0, h[2] = h[3] + S + L | 0, h[3] = h[4] + B + N | 0, h[4] = h[0] + z + Z | 0, h[0] = K;
|
|
2950
2950
|
},
|
|
2951
2951
|
_doFinalize: function() {
|
|
2952
2952
|
var x = this._data, E = x.words, G = this._nDataBytes * 8, O = x.sigBytes * 8;
|
|
@@ -2971,7 +2971,7 @@ function Ll() {
|
|
|
2971
2971
|
function f(x, E, G) {
|
|
2972
2972
|
return (x | ~E) ^ G;
|
|
2973
2973
|
}
|
|
2974
|
-
function
|
|
2974
|
+
function b(x, E, G) {
|
|
2975
2975
|
return x & G | E & ~G;
|
|
2976
2976
|
}
|
|
2977
2977
|
function C(x, E, G) {
|
|
@@ -2983,16 +2983,16 @@ function Ll() {
|
|
|
2983
2983
|
p.RIPEMD160 = d._createHelper(_), p.HmacRIPEMD160 = d._createHmacHelper(_);
|
|
2984
2984
|
})(), t.RIPEMD160;
|
|
2985
2985
|
});
|
|
2986
|
-
})(
|
|
2986
|
+
})(St)), St.exports;
|
|
2987
2987
|
}
|
|
2988
|
-
var
|
|
2988
|
+
var Dt = { exports: {} }, Gl = Dt.exports, $i;
|
|
2989
2989
|
function bi() {
|
|
2990
2990
|
return $i || ($i = 1, (function(e, n) {
|
|
2991
2991
|
(function(t, r) {
|
|
2992
2992
|
e.exports = r(ne());
|
|
2993
2993
|
})(Gl, function(t) {
|
|
2994
2994
|
(function() {
|
|
2995
|
-
var r = t, p = r.lib, g = p.Base,
|
|
2995
|
+
var r = t, p = r.lib, g = p.Base, U = r.enc, d = U.Utf8, l = r.algo;
|
|
2996
2996
|
l.HMAC = g.extend({
|
|
2997
2997
|
/**
|
|
2998
2998
|
* Initializes a newly created HMAC.
|
|
@@ -3061,16 +3061,16 @@ function bi() {
|
|
|
3061
3061
|
});
|
|
3062
3062
|
})();
|
|
3063
3063
|
});
|
|
3064
|
-
})(
|
|
3064
|
+
})(Dt)), Dt.exports;
|
|
3065
3065
|
}
|
|
3066
|
-
var
|
|
3066
|
+
var Et = { exports: {} }, Ml = Et.exports, Qi;
|
|
3067
3067
|
function Rl() {
|
|
3068
3068
|
return Qi || (Qi = 1, (function(e, n) {
|
|
3069
3069
|
(function(t, r, p) {
|
|
3070
3070
|
e.exports = r(ne(), Ui(), bi());
|
|
3071
3071
|
})(Ml, function(t) {
|
|
3072
3072
|
return (function() {
|
|
3073
|
-
var r = t, p = r.lib, g = p.Base,
|
|
3073
|
+
var r = t, p = r.lib, g = p.Base, U = p.WordArray, d = r.algo, l = d.SHA256, a = d.HMAC, i = d.PBKDF2 = g.extend({
|
|
3074
3074
|
/**
|
|
3075
3075
|
* Configuration options.
|
|
3076
3076
|
*
|
|
@@ -3110,7 +3110,7 @@ function Rl() {
|
|
|
3110
3110
|
* var key = kdf.compute(password, salt);
|
|
3111
3111
|
*/
|
|
3112
3112
|
compute: function(o, s) {
|
|
3113
|
-
for (var u = this.cfg, m = a.create(u.hasher, o), _ =
|
|
3113
|
+
for (var u = this.cfg, m = a.create(u.hasher, o), _ = U.create(), c = U.create([1]), y = _.words, f = c.words, b = u.keySize, C = u.iterations; y.length < b; ) {
|
|
3114
3114
|
var v = m.update(s).finalize(c);
|
|
3115
3115
|
m.reset();
|
|
3116
3116
|
for (var x = v.words, E = x.length, G = v, O = 1; O < C; O++) {
|
|
@@ -3120,7 +3120,7 @@ function Rl() {
|
|
|
3120
3120
|
}
|
|
3121
3121
|
_.concat(v), f[0]++;
|
|
3122
3122
|
}
|
|
3123
|
-
return _.sigBytes =
|
|
3123
|
+
return _.sigBytes = b * 4, _;
|
|
3124
3124
|
}
|
|
3125
3125
|
});
|
|
3126
3126
|
r.PBKDF2 = function(o, s, u) {
|
|
@@ -3128,16 +3128,16 @@ function Rl() {
|
|
|
3128
3128
|
};
|
|
3129
3129
|
})(), t.PBKDF2;
|
|
3130
3130
|
});
|
|
3131
|
-
})(
|
|
3131
|
+
})(Et)), Et.exports;
|
|
3132
3132
|
}
|
|
3133
|
-
var
|
|
3133
|
+
var Nt = { exports: {} }, Pl = Nt.exports, ji;
|
|
3134
3134
|
function _a() {
|
|
3135
3135
|
return ji || (ji = 1, (function(e, n) {
|
|
3136
3136
|
(function(t, r, p) {
|
|
3137
3137
|
e.exports = r(ne(), er(), bi());
|
|
3138
3138
|
})(Pl, function(t) {
|
|
3139
3139
|
return (function() {
|
|
3140
|
-
var r = t, p = r.lib, g = p.Base,
|
|
3140
|
+
var r = t, p = r.lib, g = p.Base, U = p.WordArray, d = r.algo, l = d.MD5, a = d.EvpKDF = g.extend({
|
|
3141
3141
|
/**
|
|
3142
3142
|
* Configuration options.
|
|
3143
3143
|
*
|
|
@@ -3177,9 +3177,9 @@ function _a() {
|
|
|
3177
3177
|
* var key = kdf.compute(password, salt);
|
|
3178
3178
|
*/
|
|
3179
3179
|
compute: function(i, o) {
|
|
3180
|
-
for (var s, u = this.cfg, m = u.hasher.create(), _ =
|
|
3180
|
+
for (var s, u = this.cfg, m = u.hasher.create(), _ = U.create(), c = _.words, y = u.keySize, f = u.iterations; c.length < y; ) {
|
|
3181
3181
|
s && m.update(s), s = m.update(i).finalize(o), m.reset();
|
|
3182
|
-
for (var
|
|
3182
|
+
for (var b = 1; b < f; b++)
|
|
3183
3183
|
s = m.finalize(s), m.reset();
|
|
3184
3184
|
_.concat(s);
|
|
3185
3185
|
}
|
|
@@ -3191,16 +3191,16 @@ function _a() {
|
|
|
3191
3191
|
};
|
|
3192
3192
|
})(), t.EvpKDF;
|
|
3193
3193
|
});
|
|
3194
|
-
})(
|
|
3194
|
+
})(Nt)), Nt.exports;
|
|
3195
3195
|
}
|
|
3196
|
-
var
|
|
3196
|
+
var Lt = { exports: {} }, wl = Lt.exports, Yi;
|
|
3197
3197
|
function Ge() {
|
|
3198
3198
|
return Yi || (Yi = 1, (function(e, n) {
|
|
3199
3199
|
(function(t, r, p) {
|
|
3200
3200
|
e.exports = r(ne(), _a());
|
|
3201
3201
|
})(wl, function(t) {
|
|
3202
3202
|
t.lib.Cipher || (function(r) {
|
|
3203
|
-
var p = t, g = p.lib,
|
|
3203
|
+
var p = t, g = p.lib, U = g.Base, d = g.WordArray, l = g.BufferedBlockAlgorithm, a = p.enc;
|
|
3204
3204
|
a.Utf8;
|
|
3205
3205
|
var i = a.Base64, o = p.algo, s = o.EvpKDF, u = g.Cipher = l.extend({
|
|
3206
3206
|
/**
|
|
@@ -3208,7 +3208,7 @@ function Ge() {
|
|
|
3208
3208
|
*
|
|
3209
3209
|
* @property {WordArray} iv The IV to use for this operation.
|
|
3210
3210
|
*/
|
|
3211
|
-
cfg:
|
|
3211
|
+
cfg: U.extend(),
|
|
3212
3212
|
/**
|
|
3213
3213
|
* Creates this cipher in encryption mode.
|
|
3214
3214
|
*
|
|
@@ -3341,7 +3341,7 @@ function Ge() {
|
|
|
3341
3341
|
},
|
|
3342
3342
|
blockSize: 1
|
|
3343
3343
|
});
|
|
3344
|
-
var m = p.mode = {}, _ = g.BlockCipherMode =
|
|
3344
|
+
var m = p.mode = {}, _ = g.BlockCipherMode = U.extend({
|
|
3345
3345
|
/**
|
|
3346
3346
|
* Creates this mode for encryption.
|
|
3347
3347
|
*
|
|
@@ -3486,7 +3486,7 @@ function Ge() {
|
|
|
3486
3486
|
},
|
|
3487
3487
|
blockSize: 128 / 32
|
|
3488
3488
|
});
|
|
3489
|
-
var
|
|
3489
|
+
var b = g.CipherParams = U.extend({
|
|
3490
3490
|
/**
|
|
3491
3491
|
* Initializes a newly created cipher params object.
|
|
3492
3492
|
*
|
|
@@ -3560,15 +3560,15 @@ function Ge() {
|
|
|
3560
3560
|
*/
|
|
3561
3561
|
parse: function(k) {
|
|
3562
3562
|
var h, F = i.parse(k), A = F.words;
|
|
3563
|
-
return A[0] == 1398893684 && A[1] == 1701076831 && (h = d.create(A.slice(2, 4)), A.splice(0, 4), F.sigBytes -= 16),
|
|
3563
|
+
return A[0] == 1398893684 && A[1] == 1701076831 && (h = d.create(A.slice(2, 4)), A.splice(0, 4), F.sigBytes -= 16), b.create({ ciphertext: F, salt: h });
|
|
3564
3564
|
}
|
|
3565
|
-
}, x = g.SerializableCipher =
|
|
3565
|
+
}, x = g.SerializableCipher = U.extend({
|
|
3566
3566
|
/**
|
|
3567
3567
|
* Configuration options.
|
|
3568
3568
|
*
|
|
3569
3569
|
* @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
|
|
3570
3570
|
*/
|
|
3571
|
-
cfg:
|
|
3571
|
+
cfg: U.extend({
|
|
3572
3572
|
format: v
|
|
3573
3573
|
}),
|
|
3574
3574
|
/**
|
|
@@ -3592,7 +3592,7 @@ function Ge() {
|
|
|
3592
3592
|
encrypt: function(k, h, F, A) {
|
|
3593
3593
|
A = this.cfg.extend(A);
|
|
3594
3594
|
var w = k.createEncryptor(F, A), R = w.finalize(h), P = w.cfg;
|
|
3595
|
-
return
|
|
3595
|
+
return b.create({
|
|
3596
3596
|
ciphertext: R,
|
|
3597
3597
|
key: F,
|
|
3598
3598
|
iv: P.iv,
|
|
@@ -3667,7 +3667,7 @@ function Ge() {
|
|
|
3667
3667
|
else
|
|
3668
3668
|
var R = s.create({ keySize: h + F }).compute(k, A);
|
|
3669
3669
|
var P = d.create(R.words.slice(h), F * 4);
|
|
3670
|
-
return R.sigBytes = h * 4,
|
|
3670
|
+
return R.sigBytes = h * 4, b.create({ key: R, iv: P, salt: A });
|
|
3671
3671
|
}
|
|
3672
3672
|
}, O = g.PasswordBasedCipher = x.extend({
|
|
3673
3673
|
/**
|
|
@@ -3729,9 +3729,9 @@ function Ge() {
|
|
|
3729
3729
|
});
|
|
3730
3730
|
})();
|
|
3731
3731
|
});
|
|
3732
|
-
})(
|
|
3732
|
+
})(Lt)), Lt.exports;
|
|
3733
3733
|
}
|
|
3734
|
-
var
|
|
3734
|
+
var Gt = { exports: {} }, Fl = Gt.exports, Xi;
|
|
3735
3735
|
function Al() {
|
|
3736
3736
|
return Xi || (Xi = 1, (function(e, n) {
|
|
3737
3737
|
(function(t, r, p) {
|
|
@@ -3740,28 +3740,28 @@ function Al() {
|
|
|
3740
3740
|
return t.mode.CFB = (function() {
|
|
3741
3741
|
var r = t.lib.BlockCipherMode.extend();
|
|
3742
3742
|
r.Encryptor = r.extend({
|
|
3743
|
-
processBlock: function(g,
|
|
3743
|
+
processBlock: function(g, U) {
|
|
3744
3744
|
var d = this._cipher, l = d.blockSize;
|
|
3745
|
-
p.call(this, g,
|
|
3745
|
+
p.call(this, g, U, l, d), this._prevBlock = g.slice(U, U + l);
|
|
3746
3746
|
}
|
|
3747
3747
|
}), r.Decryptor = r.extend({
|
|
3748
|
-
processBlock: function(g,
|
|
3749
|
-
var d = this._cipher, l = d.blockSize, a = g.slice(
|
|
3750
|
-
p.call(this, g,
|
|
3748
|
+
processBlock: function(g, U) {
|
|
3749
|
+
var d = this._cipher, l = d.blockSize, a = g.slice(U, U + l);
|
|
3750
|
+
p.call(this, g, U, l, d), this._prevBlock = a;
|
|
3751
3751
|
}
|
|
3752
3752
|
});
|
|
3753
|
-
function p(g,
|
|
3753
|
+
function p(g, U, d, l) {
|
|
3754
3754
|
var a, i = this._iv;
|
|
3755
3755
|
i ? (a = i.slice(0), this._iv = void 0) : a = this._prevBlock, l.encryptBlock(a, 0);
|
|
3756
3756
|
for (var o = 0; o < d; o++)
|
|
3757
|
-
g[
|
|
3757
|
+
g[U + o] ^= a[o];
|
|
3758
3758
|
}
|
|
3759
3759
|
return r;
|
|
3760
3760
|
})(), t.mode.CFB;
|
|
3761
3761
|
});
|
|
3762
|
-
})(
|
|
3762
|
+
})(Gt)), Gt.exports;
|
|
3763
3763
|
}
|
|
3764
|
-
var
|
|
3764
|
+
var Mt = { exports: {} }, Ol = Mt.exports, en;
|
|
3765
3765
|
function Bl() {
|
|
3766
3766
|
return en || (en = 1, (function(e, n) {
|
|
3767
3767
|
(function(t, r, p) {
|
|
@@ -3769,21 +3769,21 @@ function Bl() {
|
|
|
3769
3769
|
})(Ol, function(t) {
|
|
3770
3770
|
return t.mode.CTR = (function() {
|
|
3771
3771
|
var r = t.lib.BlockCipherMode.extend(), p = r.Encryptor = r.extend({
|
|
3772
|
-
processBlock: function(g,
|
|
3772
|
+
processBlock: function(g, U) {
|
|
3773
3773
|
var d = this._cipher, l = d.blockSize, a = this._iv, i = this._counter;
|
|
3774
3774
|
a && (i = this._counter = a.slice(0), this._iv = void 0);
|
|
3775
3775
|
var o = i.slice(0);
|
|
3776
3776
|
d.encryptBlock(o, 0), i[l - 1] = i[l - 1] + 1 | 0;
|
|
3777
3777
|
for (var s = 0; s < l; s++)
|
|
3778
|
-
g[
|
|
3778
|
+
g[U + s] ^= o[s];
|
|
3779
3779
|
}
|
|
3780
3780
|
});
|
|
3781
3781
|
return r.Decryptor = p, r;
|
|
3782
3782
|
})(), t.mode.CTR;
|
|
3783
3783
|
});
|
|
3784
|
-
})(
|
|
3784
|
+
})(Mt)), Mt.exports;
|
|
3785
3785
|
}
|
|
3786
|
-
var
|
|
3786
|
+
var Rt = { exports: {} }, Hl = Rt.exports, an;
|
|
3787
3787
|
function Wl() {
|
|
3788
3788
|
return an || (an = 1, (function(e, n) {
|
|
3789
3789
|
(function(t, r, p) {
|
|
@@ -3802,7 +3802,7 @@ function Wl() {
|
|
|
3802
3802
|
function g(d) {
|
|
3803
3803
|
return (d[0] = p(d[0])) === 0 && (d[1] = p(d[1])), d;
|
|
3804
3804
|
}
|
|
3805
|
-
var
|
|
3805
|
+
var U = r.Encryptor = r.extend({
|
|
3806
3806
|
processBlock: function(d, l) {
|
|
3807
3807
|
var a = this._cipher, i = a.blockSize, o = this._iv, s = this._counter;
|
|
3808
3808
|
o && (s = this._counter = o.slice(0), this._iv = void 0), g(s);
|
|
@@ -3812,12 +3812,12 @@ function Wl() {
|
|
|
3812
3812
|
d[l + m] ^= u[m];
|
|
3813
3813
|
}
|
|
3814
3814
|
});
|
|
3815
|
-
return r.Decryptor =
|
|
3815
|
+
return r.Decryptor = U, r;
|
|
3816
3816
|
})(), t.mode.CTRGladman;
|
|
3817
3817
|
});
|
|
3818
|
-
})(
|
|
3818
|
+
})(Rt)), Rt.exports;
|
|
3819
3819
|
}
|
|
3820
|
-
var
|
|
3820
|
+
var Pt = { exports: {} }, zl = Pt.exports, tn;
|
|
3821
3821
|
function Il() {
|
|
3822
3822
|
return tn || (tn = 1, (function(e, n) {
|
|
3823
3823
|
(function(t, r, p) {
|
|
@@ -3825,19 +3825,19 @@ function Il() {
|
|
|
3825
3825
|
})(zl, function(t) {
|
|
3826
3826
|
return t.mode.OFB = (function() {
|
|
3827
3827
|
var r = t.lib.BlockCipherMode.extend(), p = r.Encryptor = r.extend({
|
|
3828
|
-
processBlock: function(g,
|
|
3828
|
+
processBlock: function(g, U) {
|
|
3829
3829
|
var d = this._cipher, l = d.blockSize, a = this._iv, i = this._keystream;
|
|
3830
3830
|
a && (i = this._keystream = a.slice(0), this._iv = void 0), d.encryptBlock(i, 0);
|
|
3831
3831
|
for (var o = 0; o < l; o++)
|
|
3832
|
-
g[
|
|
3832
|
+
g[U + o] ^= i[o];
|
|
3833
3833
|
}
|
|
3834
3834
|
});
|
|
3835
3835
|
return r.Decryptor = p, r;
|
|
3836
3836
|
})(), t.mode.OFB;
|
|
3837
3837
|
});
|
|
3838
|
-
})(
|
|
3838
|
+
})(Pt)), Pt.exports;
|
|
3839
3839
|
}
|
|
3840
|
-
var
|
|
3840
|
+
var wt = { exports: {} }, Vl = wt.exports, nn;
|
|
3841
3841
|
function Jl() {
|
|
3842
3842
|
return nn || (nn = 1, (function(e, n) {
|
|
3843
3843
|
(function(t, r, p) {
|
|
@@ -3856,9 +3856,9 @@ function Jl() {
|
|
|
3856
3856
|
}), r;
|
|
3857
3857
|
})(), t.mode.ECB;
|
|
3858
3858
|
});
|
|
3859
|
-
})(
|
|
3859
|
+
})(wt)), wt.exports;
|
|
3860
3860
|
}
|
|
3861
|
-
var
|
|
3861
|
+
var Ft = { exports: {} }, Zl = Ft.exports, rn;
|
|
3862
3862
|
function Kl() {
|
|
3863
3863
|
return rn || (rn = 1, (function(e, n) {
|
|
3864
3864
|
(function(t, r, p) {
|
|
@@ -3866,7 +3866,7 @@ function Kl() {
|
|
|
3866
3866
|
})(Zl, function(t) {
|
|
3867
3867
|
return t.pad.AnsiX923 = {
|
|
3868
3868
|
pad: function(r, p) {
|
|
3869
|
-
var g = r.sigBytes,
|
|
3869
|
+
var g = r.sigBytes, U = p * 4, d = U - g % U, l = g + d - 1;
|
|
3870
3870
|
r.clamp(), r.words[l >>> 2] |= d << 24 - l % 4 * 8, r.sigBytes += d;
|
|
3871
3871
|
},
|
|
3872
3872
|
unpad: function(r) {
|
|
@@ -3875,9 +3875,9 @@ function Kl() {
|
|
|
3875
3875
|
}
|
|
3876
3876
|
}, t.pad.Ansix923;
|
|
3877
3877
|
});
|
|
3878
|
-
})(
|
|
3878
|
+
})(Ft)), Ft.exports;
|
|
3879
3879
|
}
|
|
3880
|
-
var
|
|
3880
|
+
var At = { exports: {} }, ql = At.exports, ln;
|
|
3881
3881
|
function $l() {
|
|
3882
3882
|
return ln || (ln = 1, (function(e, n) {
|
|
3883
3883
|
(function(t, r, p) {
|
|
@@ -3885,8 +3885,8 @@ function $l() {
|
|
|
3885
3885
|
})(ql, function(t) {
|
|
3886
3886
|
return t.pad.Iso10126 = {
|
|
3887
3887
|
pad: function(r, p) {
|
|
3888
|
-
var g = p * 4,
|
|
3889
|
-
r.concat(t.lib.WordArray.random(
|
|
3888
|
+
var g = p * 4, U = g - r.sigBytes % g;
|
|
3889
|
+
r.concat(t.lib.WordArray.random(U - 1)).concat(t.lib.WordArray.create([U << 24], 1));
|
|
3890
3890
|
},
|
|
3891
3891
|
unpad: function(r) {
|
|
3892
3892
|
var p = r.words[r.sigBytes - 1 >>> 2] & 255;
|
|
@@ -3894,9 +3894,9 @@ function $l() {
|
|
|
3894
3894
|
}
|
|
3895
3895
|
}, t.pad.Iso10126;
|
|
3896
3896
|
});
|
|
3897
|
-
})(
|
|
3897
|
+
})(At)), At.exports;
|
|
3898
3898
|
}
|
|
3899
|
-
var
|
|
3899
|
+
var Ot = { exports: {} }, Ql = Ot.exports, on;
|
|
3900
3900
|
function jl() {
|
|
3901
3901
|
return on || (on = 1, (function(e, n) {
|
|
3902
3902
|
(function(t, r, p) {
|
|
@@ -3911,9 +3911,9 @@ function jl() {
|
|
|
3911
3911
|
}
|
|
3912
3912
|
}, t.pad.Iso97971;
|
|
3913
3913
|
});
|
|
3914
|
-
})(
|
|
3914
|
+
})(Ot)), Ot.exports;
|
|
3915
3915
|
}
|
|
3916
|
-
var
|
|
3916
|
+
var Bt = { exports: {} }, Yl = Bt.exports, sn;
|
|
3917
3917
|
function Xl() {
|
|
3918
3918
|
return sn || (sn = 1, (function(e, n) {
|
|
3919
3919
|
(function(t, r, p) {
|
|
@@ -3933,9 +3933,9 @@ function Xl() {
|
|
|
3933
3933
|
}
|
|
3934
3934
|
}, t.pad.ZeroPadding;
|
|
3935
3935
|
});
|
|
3936
|
-
})(
|
|
3936
|
+
})(Bt)), Bt.exports;
|
|
3937
3937
|
}
|
|
3938
|
-
var
|
|
3938
|
+
var Ht = { exports: {} }, eo = Ht.exports, mn;
|
|
3939
3939
|
function ao() {
|
|
3940
3940
|
return mn || (mn = 1, (function(e, n) {
|
|
3941
3941
|
(function(t, r, p) {
|
|
@@ -3948,16 +3948,16 @@ function ao() {
|
|
|
3948
3948
|
}
|
|
3949
3949
|
}, t.pad.NoPadding;
|
|
3950
3950
|
});
|
|
3951
|
-
})(
|
|
3951
|
+
})(Ht)), Ht.exports;
|
|
3952
3952
|
}
|
|
3953
|
-
var
|
|
3953
|
+
var Wt = { exports: {} }, to = Wt.exports, un;
|
|
3954
3954
|
function io() {
|
|
3955
3955
|
return un || (un = 1, (function(e, n) {
|
|
3956
3956
|
(function(t, r, p) {
|
|
3957
3957
|
e.exports = r(ne(), Ge());
|
|
3958
3958
|
})(to, function(t) {
|
|
3959
3959
|
return (function(r) {
|
|
3960
|
-
var p = t, g = p.lib,
|
|
3960
|
+
var p = t, g = p.lib, U = g.CipherParams, d = p.enc, l = d.Hex, a = p.format;
|
|
3961
3961
|
a.Hex = {
|
|
3962
3962
|
/**
|
|
3963
3963
|
* Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
|
|
@@ -3990,81 +3990,81 @@ function io() {
|
|
|
3990
3990
|
*/
|
|
3991
3991
|
parse: function(i) {
|
|
3992
3992
|
var o = l.parse(i);
|
|
3993
|
-
return
|
|
3993
|
+
return U.create({ ciphertext: o });
|
|
3994
3994
|
}
|
|
3995
3995
|
};
|
|
3996
3996
|
})(), t.format.Hex;
|
|
3997
3997
|
});
|
|
3998
|
-
})(
|
|
3998
|
+
})(Wt)), Wt.exports;
|
|
3999
3999
|
}
|
|
4000
|
-
var
|
|
4000
|
+
var zt = { exports: {} }, no = zt.exports, pn;
|
|
4001
4001
|
function ro() {
|
|
4002
4002
|
return pn || (pn = 1, (function(e, n) {
|
|
4003
4003
|
(function(t, r, p) {
|
|
4004
4004
|
e.exports = r(ne(), xa(), Sa(), _a(), Ge());
|
|
4005
4005
|
})(no, function(t) {
|
|
4006
4006
|
return (function() {
|
|
4007
|
-
var r = t, p = r.lib, g = p.BlockCipher,
|
|
4007
|
+
var r = t, p = r.lib, g = p.BlockCipher, U = r.algo, d = [], l = [], a = [], i = [], o = [], s = [], u = [], m = [], _ = [], c = [];
|
|
4008
4008
|
(function() {
|
|
4009
|
-
for (var
|
|
4010
|
-
C < 128 ?
|
|
4009
|
+
for (var b = [], C = 0; C < 256; C++)
|
|
4010
|
+
C < 128 ? b[C] = C << 1 : b[C] = C << 1 ^ 283;
|
|
4011
4011
|
for (var v = 0, x = 0, C = 0; C < 256; C++) {
|
|
4012
4012
|
var E = x ^ x << 1 ^ x << 2 ^ x << 3 ^ x << 4;
|
|
4013
4013
|
E = E >>> 8 ^ E & 255 ^ 99, d[v] = E, l[E] = v;
|
|
4014
|
-
var G =
|
|
4014
|
+
var G = b[v], O = b[G], k = b[O], h = b[E] * 257 ^ E * 16843008;
|
|
4015
4015
|
a[v] = h << 24 | h >>> 8, i[v] = h << 16 | h >>> 16, o[v] = h << 8 | h >>> 24, s[v] = h;
|
|
4016
4016
|
var h = k * 16843009 ^ O * 65537 ^ G * 257 ^ v * 16843008;
|
|
4017
|
-
u[E] = h << 24 | h >>> 8, m[E] = h << 16 | h >>> 16, _[E] = h << 8 | h >>> 24, c[E] = h, v ? (v = G ^
|
|
4017
|
+
u[E] = h << 24 | h >>> 8, m[E] = h << 16 | h >>> 16, _[E] = h << 8 | h >>> 24, c[E] = h, v ? (v = G ^ b[b[b[k ^ G]]], x ^= b[b[x]]) : v = x = 1;
|
|
4018
4018
|
}
|
|
4019
4019
|
})();
|
|
4020
|
-
var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], f =
|
|
4020
|
+
var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], f = U.AES = g.extend({
|
|
4021
4021
|
_doReset: function() {
|
|
4022
|
-
var
|
|
4022
|
+
var b;
|
|
4023
4023
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
4024
4024
|
for (var C = this._keyPriorReset = this._key, v = C.words, x = C.sigBytes / 4, E = this._nRounds = x + 6, G = (E + 1) * 4, O = this._keySchedule = [], k = 0; k < G; k++)
|
|
4025
|
-
k < x ? O[k] = v[k] : (
|
|
4025
|
+
k < x ? O[k] = v[k] : (b = O[k - 1], k % x ? x > 6 && k % x == 4 && (b = d[b >>> 24] << 24 | d[b >>> 16 & 255] << 16 | d[b >>> 8 & 255] << 8 | d[b & 255]) : (b = b << 8 | b >>> 24, b = d[b >>> 24] << 24 | d[b >>> 16 & 255] << 16 | d[b >>> 8 & 255] << 8 | d[b & 255], b ^= y[k / x | 0] << 24), O[k] = O[k - x] ^ b);
|
|
4026
4026
|
for (var h = this._invKeySchedule = [], F = 0; F < G; F++) {
|
|
4027
4027
|
var k = G - F;
|
|
4028
4028
|
if (F % 4)
|
|
4029
|
-
var
|
|
4029
|
+
var b = O[k];
|
|
4030
4030
|
else
|
|
4031
|
-
var
|
|
4032
|
-
F < 4 || k <= 4 ? h[F] =
|
|
4031
|
+
var b = O[k - 4];
|
|
4032
|
+
F < 4 || k <= 4 ? h[F] = b : h[F] = u[d[b >>> 24]] ^ m[d[b >>> 16 & 255]] ^ _[d[b >>> 8 & 255]] ^ c[d[b & 255]];
|
|
4033
4033
|
}
|
|
4034
4034
|
}
|
|
4035
4035
|
},
|
|
4036
|
-
encryptBlock: function(
|
|
4037
|
-
this._doCryptBlock(
|
|
4036
|
+
encryptBlock: function(b, C) {
|
|
4037
|
+
this._doCryptBlock(b, C, this._keySchedule, a, i, o, s, d);
|
|
4038
4038
|
},
|
|
4039
|
-
decryptBlock: function(
|
|
4040
|
-
var v =
|
|
4041
|
-
|
|
4042
|
-
var v =
|
|
4043
|
-
|
|
4039
|
+
decryptBlock: function(b, C) {
|
|
4040
|
+
var v = b[C + 1];
|
|
4041
|
+
b[C + 1] = b[C + 3], b[C + 3] = v, this._doCryptBlock(b, C, this._invKeySchedule, u, m, _, c, l);
|
|
4042
|
+
var v = b[C + 1];
|
|
4043
|
+
b[C + 1] = b[C + 3], b[C + 3] = v;
|
|
4044
4044
|
},
|
|
4045
|
-
_doCryptBlock: function(
|
|
4046
|
-
for (var h = this._nRounds, F =
|
|
4047
|
-
var B = x[F >>> 24] ^ E[A >>> 16 & 255] ^ G[w >>> 8 & 255] ^ O[R & 255] ^ v[P++],
|
|
4048
|
-
F = B, A =
|
|
4045
|
+
_doCryptBlock: function(b, C, v, x, E, G, O, k) {
|
|
4046
|
+
for (var h = this._nRounds, F = b[C] ^ v[0], A = b[C + 1] ^ v[1], w = b[C + 2] ^ v[2], R = b[C + 3] ^ v[3], P = 4, H = 1; H < h; H++) {
|
|
4047
|
+
var B = x[F >>> 24] ^ E[A >>> 16 & 255] ^ G[w >>> 8 & 255] ^ O[R & 255] ^ v[P++], z = x[A >>> 24] ^ E[w >>> 16 & 255] ^ G[R >>> 8 & 255] ^ O[F & 255] ^ v[P++], M = x[w >>> 24] ^ E[R >>> 16 & 255] ^ G[F >>> 8 & 255] ^ O[A & 255] ^ v[P++], D = x[R >>> 24] ^ E[F >>> 16 & 255] ^ G[A >>> 8 & 255] ^ O[w & 255] ^ v[P++];
|
|
4048
|
+
F = B, A = z, w = M, R = D;
|
|
4049
4049
|
}
|
|
4050
|
-
var B = (k[F >>> 24] << 24 | k[A >>> 16 & 255] << 16 | k[w >>> 8 & 255] << 8 | k[R & 255]) ^ v[P++],
|
|
4051
|
-
|
|
4050
|
+
var B = (k[F >>> 24] << 24 | k[A >>> 16 & 255] << 16 | k[w >>> 8 & 255] << 8 | k[R & 255]) ^ v[P++], z = (k[A >>> 24] << 24 | k[w >>> 16 & 255] << 16 | k[R >>> 8 & 255] << 8 | k[F & 255]) ^ v[P++], M = (k[w >>> 24] << 24 | k[R >>> 16 & 255] << 16 | k[F >>> 8 & 255] << 8 | k[A & 255]) ^ v[P++], D = (k[R >>> 24] << 24 | k[F >>> 16 & 255] << 16 | k[A >>> 8 & 255] << 8 | k[w & 255]) ^ v[P++];
|
|
4051
|
+
b[C] = B, b[C + 1] = z, b[C + 2] = M, b[C + 3] = D;
|
|
4052
4052
|
},
|
|
4053
4053
|
keySize: 256 / 32
|
|
4054
4054
|
});
|
|
4055
4055
|
r.AES = g._createHelper(f);
|
|
4056
4056
|
})(), t.AES;
|
|
4057
4057
|
});
|
|
4058
|
-
})(
|
|
4058
|
+
})(zt)), zt.exports;
|
|
4059
4059
|
}
|
|
4060
|
-
var
|
|
4060
|
+
var It = { exports: {} }, lo = It.exports, gn;
|
|
4061
4061
|
function oo() {
|
|
4062
4062
|
return gn || (gn = 1, (function(e, n) {
|
|
4063
4063
|
(function(t, r, p) {
|
|
4064
4064
|
e.exports = r(ne(), xa(), Sa(), _a(), Ge());
|
|
4065
4065
|
})(lo, function(t) {
|
|
4066
4066
|
return (function() {
|
|
4067
|
-
var r = t, p = r.lib, g = p.WordArray,
|
|
4067
|
+
var r = t, p = r.lib, g = p.WordArray, U = p.BlockCipher, d = r.algo, l = [
|
|
4068
4068
|
57,
|
|
4069
4069
|
49,
|
|
4070
4070
|
41,
|
|
@@ -4708,15 +4708,15 @@ function oo() {
|
|
|
4708
4708
|
8064,
|
|
4709
4709
|
504,
|
|
4710
4710
|
2147483679
|
|
4711
|
-
], u = d.DES =
|
|
4711
|
+
], u = d.DES = U.extend({
|
|
4712
4712
|
_doReset: function() {
|
|
4713
|
-
for (var y = this._key, f = y.words,
|
|
4713
|
+
for (var y = this._key, f = y.words, b = [], C = 0; C < 56; C++) {
|
|
4714
4714
|
var v = l[C] - 1;
|
|
4715
|
-
|
|
4715
|
+
b[C] = f[v >>> 5] >>> 31 - v % 32 & 1;
|
|
4716
4716
|
}
|
|
4717
4717
|
for (var x = this._subKeys = [], E = 0; E < 16; E++) {
|
|
4718
4718
|
for (var G = x[E] = [], O = i[E], C = 0; C < 24; C++)
|
|
4719
|
-
G[C / 6 | 0] |=
|
|
4719
|
+
G[C / 6 | 0] |= b[(a[C] - 1 + O) % 28] << 31 - C % 6, G[4 + (C / 6 | 0)] |= b[28 + (a[C + 24] - 1 + O) % 28] << 31 - C % 6;
|
|
4720
4720
|
G[0] = G[0] << 1 | G[0] >>> 31;
|
|
4721
4721
|
for (var C = 1; C < 7; C++)
|
|
4722
4722
|
G[C] = G[C] >>> (C - 1) * 4 + 3;
|
|
@@ -4731,10 +4731,10 @@ function oo() {
|
|
|
4731
4731
|
decryptBlock: function(y, f) {
|
|
4732
4732
|
this._doCryptBlock(y, f, this._invSubKeys);
|
|
4733
4733
|
},
|
|
4734
|
-
_doCryptBlock: function(y, f,
|
|
4734
|
+
_doCryptBlock: function(y, f, b) {
|
|
4735
4735
|
this._lBlock = y[f], this._rBlock = y[f + 1], m.call(this, 4, 252645135), m.call(this, 16, 65535), _.call(this, 2, 858993459), _.call(this, 8, 16711935), m.call(this, 1, 1431655765);
|
|
4736
4736
|
for (var C = 0; C < 16; C++) {
|
|
4737
|
-
for (var v =
|
|
4737
|
+
for (var v = b[C], x = this._lBlock, E = this._rBlock, G = 0, O = 0; O < 8; O++)
|
|
4738
4738
|
G |= o[O][((E ^ v[O]) & s[O]) >>> 0];
|
|
4739
4739
|
this._lBlock = E, this._rBlock = x ^ G;
|
|
4740
4740
|
}
|
|
@@ -4746,21 +4746,21 @@ function oo() {
|
|
|
4746
4746
|
blockSize: 64 / 32
|
|
4747
4747
|
});
|
|
4748
4748
|
function m(y, f) {
|
|
4749
|
-
var
|
|
4750
|
-
this._rBlock ^=
|
|
4749
|
+
var b = (this._lBlock >>> y ^ this._rBlock) & f;
|
|
4750
|
+
this._rBlock ^= b, this._lBlock ^= b << y;
|
|
4751
4751
|
}
|
|
4752
4752
|
function _(y, f) {
|
|
4753
|
-
var
|
|
4754
|
-
this._lBlock ^=
|
|
4753
|
+
var b = (this._rBlock >>> y ^ this._lBlock) & f;
|
|
4754
|
+
this._lBlock ^= b, this._rBlock ^= b << y;
|
|
4755
4755
|
}
|
|
4756
|
-
r.DES =
|
|
4757
|
-
var c = d.TripleDES =
|
|
4756
|
+
r.DES = U._createHelper(u);
|
|
4757
|
+
var c = d.TripleDES = U.extend({
|
|
4758
4758
|
_doReset: function() {
|
|
4759
4759
|
var y = this._key, f = y.words;
|
|
4760
4760
|
if (f.length !== 2 && f.length !== 4 && f.length < 6)
|
|
4761
4761
|
throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
|
|
4762
|
-
var
|
|
4763
|
-
this._des1 = u.createEncryptor(g.create(
|
|
4762
|
+
var b = f.slice(0, 2), C = f.length < 4 ? f.slice(0, 2) : f.slice(2, 4), v = f.length < 6 ? f.slice(0, 2) : f.slice(4, 6);
|
|
4763
|
+
this._des1 = u.createEncryptor(g.create(b)), this._des2 = u.createEncryptor(g.create(C)), this._des3 = u.createEncryptor(g.create(v));
|
|
4764
4764
|
},
|
|
4765
4765
|
encryptBlock: function(y, f) {
|
|
4766
4766
|
this._des1.encryptBlock(y, f), this._des2.decryptBlock(y, f), this._des3.encryptBlock(y, f);
|
|
@@ -4772,19 +4772,19 @@ function oo() {
|
|
|
4772
4772
|
ivSize: 64 / 32,
|
|
4773
4773
|
blockSize: 64 / 32
|
|
4774
4774
|
});
|
|
4775
|
-
r.TripleDES =
|
|
4775
|
+
r.TripleDES = U._createHelper(c);
|
|
4776
4776
|
})(), t.TripleDES;
|
|
4777
4777
|
});
|
|
4778
|
-
})(
|
|
4778
|
+
})(It)), It.exports;
|
|
4779
4779
|
}
|
|
4780
|
-
var
|
|
4780
|
+
var Vt = { exports: {} }, so = Vt.exports, dn;
|
|
4781
4781
|
function mo() {
|
|
4782
4782
|
return dn || (dn = 1, (function(e, n) {
|
|
4783
4783
|
(function(t, r, p) {
|
|
4784
4784
|
e.exports = r(ne(), xa(), Sa(), _a(), Ge());
|
|
4785
4785
|
})(so, function(t) {
|
|
4786
4786
|
return (function() {
|
|
4787
|
-
var r = t, p = r.lib, g = p.StreamCipher,
|
|
4787
|
+
var r = t, p = r.lib, g = p.StreamCipher, U = r.algo, d = U.RC4 = g.extend({
|
|
4788
4788
|
_doReset: function() {
|
|
4789
4789
|
for (var i = this._key, o = i.words, s = i.sigBytes, u = this._S = [], m = 0; m < 256; m++)
|
|
4790
4790
|
u[m] = m;
|
|
@@ -4811,7 +4811,7 @@ function mo() {
|
|
|
4811
4811
|
return this._i = o, this._j = s, u;
|
|
4812
4812
|
}
|
|
4813
4813
|
r.RC4 = g._createHelper(d);
|
|
4814
|
-
var a =
|
|
4814
|
+
var a = U.RC4Drop = d.extend({
|
|
4815
4815
|
/**
|
|
4816
4816
|
* Configuration options.
|
|
4817
4817
|
*
|
|
@@ -4829,16 +4829,16 @@ function mo() {
|
|
|
4829
4829
|
r.RC4Drop = g._createHelper(a);
|
|
4830
4830
|
})(), t.RC4;
|
|
4831
4831
|
});
|
|
4832
|
-
})(
|
|
4832
|
+
})(Vt)), Vt.exports;
|
|
4833
4833
|
}
|
|
4834
|
-
var
|
|
4834
|
+
var Jt = { exports: {} }, uo = Jt.exports, cn;
|
|
4835
4835
|
function po() {
|
|
4836
4836
|
return cn || (cn = 1, (function(e, n) {
|
|
4837
4837
|
(function(t, r, p) {
|
|
4838
4838
|
e.exports = r(ne(), xa(), Sa(), _a(), Ge());
|
|
4839
4839
|
})(uo, function(t) {
|
|
4840
4840
|
return (function() {
|
|
4841
|
-
var r = t, p = r.lib, g = p.StreamCipher,
|
|
4841
|
+
var r = t, p = r.lib, g = p.StreamCipher, U = r.algo, d = [], l = [], a = [], i = U.Rabbit = g.extend({
|
|
4842
4842
|
_doReset: function() {
|
|
4843
4843
|
for (var s = this._key.words, u = this.cfg.iv, m = 0; m < 4; m++)
|
|
4844
4844
|
s[m] = (s[m] << 8 | s[m] >>> 24) & 16711935 | (s[m] << 24 | s[m] >>> 8) & 4278255360;
|
|
@@ -4867,7 +4867,7 @@ function po() {
|
|
|
4867
4867
|
for (var m = 0; m < 8; m++)
|
|
4868
4868
|
c[m] ^= _[m + 4 & 7];
|
|
4869
4869
|
if (u) {
|
|
4870
|
-
var y = u.words, f = y[0],
|
|
4870
|
+
var y = u.words, f = y[0], b = y[1], C = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360, v = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760, E = v << 16 | C & 65535;
|
|
4871
4871
|
c[0] ^= C, c[1] ^= x, c[2] ^= v, c[3] ^= E, c[4] ^= C, c[5] ^= x, c[6] ^= v, c[7] ^= E;
|
|
4872
4872
|
for (var m = 0; m < 4; m++)
|
|
4873
4873
|
o.call(this);
|
|
@@ -4887,24 +4887,24 @@ function po() {
|
|
|
4887
4887
|
l[m] = u[m];
|
|
4888
4888
|
u[0] = u[0] + 1295307597 + this._b | 0, u[1] = u[1] + 3545052371 + (u[0] >>> 0 < l[0] >>> 0 ? 1 : 0) | 0, u[2] = u[2] + 886263092 + (u[1] >>> 0 < l[1] >>> 0 ? 1 : 0) | 0, u[3] = u[3] + 1295307597 + (u[2] >>> 0 < l[2] >>> 0 ? 1 : 0) | 0, u[4] = u[4] + 3545052371 + (u[3] >>> 0 < l[3] >>> 0 ? 1 : 0) | 0, u[5] = u[5] + 886263092 + (u[4] >>> 0 < l[4] >>> 0 ? 1 : 0) | 0, u[6] = u[6] + 1295307597 + (u[5] >>> 0 < l[5] >>> 0 ? 1 : 0) | 0, u[7] = u[7] + 3545052371 + (u[6] >>> 0 < l[6] >>> 0 ? 1 : 0) | 0, this._b = u[7] >>> 0 < l[7] >>> 0 ? 1 : 0;
|
|
4889
4889
|
for (var m = 0; m < 8; m++) {
|
|
4890
|
-
var _ = s[m] + u[m], c = _ & 65535, y = _ >>> 16, f = ((c * c >>> 17) + c * y >>> 15) + y * y,
|
|
4891
|
-
a[m] = f ^
|
|
4890
|
+
var _ = s[m] + u[m], c = _ & 65535, y = _ >>> 16, f = ((c * c >>> 17) + c * y >>> 15) + y * y, b = ((_ & 4294901760) * _ | 0) + ((_ & 65535) * _ | 0);
|
|
4891
|
+
a[m] = f ^ b;
|
|
4892
4892
|
}
|
|
4893
4893
|
s[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, s[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, s[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, s[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, s[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, s[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, s[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, s[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
|
|
4894
4894
|
}
|
|
4895
4895
|
r.Rabbit = g._createHelper(i);
|
|
4896
4896
|
})(), t.Rabbit;
|
|
4897
4897
|
});
|
|
4898
|
-
})(
|
|
4898
|
+
})(Jt)), Jt.exports;
|
|
4899
4899
|
}
|
|
4900
|
-
var
|
|
4900
|
+
var Zt = { exports: {} }, go = Zt.exports, fn;
|
|
4901
4901
|
function co() {
|
|
4902
4902
|
return fn || (fn = 1, (function(e, n) {
|
|
4903
4903
|
(function(t, r, p) {
|
|
4904
4904
|
e.exports = r(ne(), xa(), Sa(), _a(), Ge());
|
|
4905
4905
|
})(go, function(t) {
|
|
4906
4906
|
return (function() {
|
|
4907
|
-
var r = t, p = r.lib, g = p.StreamCipher,
|
|
4907
|
+
var r = t, p = r.lib, g = p.StreamCipher, U = r.algo, d = [], l = [], a = [], i = U.RabbitLegacy = g.extend({
|
|
4908
4908
|
_doReset: function() {
|
|
4909
4909
|
var s = this._key.words, u = this.cfg.iv, m = this._X = [
|
|
4910
4910
|
s[0],
|
|
@@ -4931,7 +4931,7 @@ function co() {
|
|
|
4931
4931
|
for (var c = 0; c < 8; c++)
|
|
4932
4932
|
_[c] ^= m[c + 4 & 7];
|
|
4933
4933
|
if (u) {
|
|
4934
|
-
var y = u.words, f = y[0],
|
|
4934
|
+
var y = u.words, f = y[0], b = y[1], C = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360, v = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760, E = v << 16 | C & 65535;
|
|
4935
4935
|
_[0] ^= C, _[1] ^= x, _[2] ^= v, _[3] ^= E, _[4] ^= C, _[5] ^= x, _[6] ^= v, _[7] ^= E;
|
|
4936
4936
|
for (var c = 0; c < 4; c++)
|
|
4937
4937
|
o.call(this);
|
|
@@ -4951,24 +4951,24 @@ function co() {
|
|
|
4951
4951
|
l[m] = u[m];
|
|
4952
4952
|
u[0] = u[0] + 1295307597 + this._b | 0, u[1] = u[1] + 3545052371 + (u[0] >>> 0 < l[0] >>> 0 ? 1 : 0) | 0, u[2] = u[2] + 886263092 + (u[1] >>> 0 < l[1] >>> 0 ? 1 : 0) | 0, u[3] = u[3] + 1295307597 + (u[2] >>> 0 < l[2] >>> 0 ? 1 : 0) | 0, u[4] = u[4] + 3545052371 + (u[3] >>> 0 < l[3] >>> 0 ? 1 : 0) | 0, u[5] = u[5] + 886263092 + (u[4] >>> 0 < l[4] >>> 0 ? 1 : 0) | 0, u[6] = u[6] + 1295307597 + (u[5] >>> 0 < l[5] >>> 0 ? 1 : 0) | 0, u[7] = u[7] + 3545052371 + (u[6] >>> 0 < l[6] >>> 0 ? 1 : 0) | 0, this._b = u[7] >>> 0 < l[7] >>> 0 ? 1 : 0;
|
|
4953
4953
|
for (var m = 0; m < 8; m++) {
|
|
4954
|
-
var _ = s[m] + u[m], c = _ & 65535, y = _ >>> 16, f = ((c * c >>> 17) + c * y >>> 15) + y * y,
|
|
4955
|
-
a[m] = f ^
|
|
4954
|
+
var _ = s[m] + u[m], c = _ & 65535, y = _ >>> 16, f = ((c * c >>> 17) + c * y >>> 15) + y * y, b = ((_ & 4294901760) * _ | 0) + ((_ & 65535) * _ | 0);
|
|
4955
|
+
a[m] = f ^ b;
|
|
4956
4956
|
}
|
|
4957
4957
|
s[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, s[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, s[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, s[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, s[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, s[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, s[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, s[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
|
|
4958
4958
|
}
|
|
4959
4959
|
r.RabbitLegacy = g._createHelper(i);
|
|
4960
4960
|
})(), t.RabbitLegacy;
|
|
4961
4961
|
});
|
|
4962
|
-
})(
|
|
4962
|
+
})(Zt)), Zt.exports;
|
|
4963
4963
|
}
|
|
4964
|
-
var
|
|
4964
|
+
var Kt = { exports: {} }, fo = Kt.exports, _n;
|
|
4965
4965
|
function _o() {
|
|
4966
4966
|
return _n || (_n = 1, (function(e, n) {
|
|
4967
4967
|
(function(t, r, p) {
|
|
4968
4968
|
e.exports = r(ne(), xa(), Sa(), _a(), Ge());
|
|
4969
4969
|
})(fo, function(t) {
|
|
4970
4970
|
return (function() {
|
|
4971
|
-
var r = t, p = r.lib, g = p.BlockCipher,
|
|
4971
|
+
var r = t, p = r.lib, g = p.BlockCipher, U = r.algo;
|
|
4972
4972
|
const d = 16, l = [
|
|
4973
4973
|
608135816,
|
|
4974
4974
|
2242054355,
|
|
@@ -6027,20 +6027,20 @@ function _o() {
|
|
|
6027
6027
|
sbox: []
|
|
6028
6028
|
};
|
|
6029
6029
|
function o(c, y) {
|
|
6030
|
-
let f = y >> 24 & 255,
|
|
6030
|
+
let f = y >> 24 & 255, b = y >> 16 & 255, C = y >> 8 & 255, v = y & 255, x = c.sbox[0][f] + c.sbox[1][b];
|
|
6031
6031
|
return x = x ^ c.sbox[2][C], x = x + c.sbox[3][v], x;
|
|
6032
6032
|
}
|
|
6033
6033
|
function s(c, y, f) {
|
|
6034
|
-
let
|
|
6034
|
+
let b = y, C = f, v;
|
|
6035
6035
|
for (let x = 0; x < d; ++x)
|
|
6036
|
-
|
|
6037
|
-
return v =
|
|
6036
|
+
b = b ^ c.pbox[x], C = o(c, b) ^ C, v = b, b = C, C = v;
|
|
6037
|
+
return v = b, b = C, C = v, C = C ^ c.pbox[d], b = b ^ c.pbox[d + 1], { left: b, right: C };
|
|
6038
6038
|
}
|
|
6039
6039
|
function u(c, y, f) {
|
|
6040
|
-
let
|
|
6040
|
+
let b = y, C = f, v;
|
|
6041
6041
|
for (let x = d + 1; x > 1; --x)
|
|
6042
|
-
|
|
6043
|
-
return v =
|
|
6042
|
+
b = b ^ c.pbox[x], C = o(c, b) ^ C, v = b, b = C, C = v;
|
|
6043
|
+
return v = b, b = C, C = v, C = C ^ c.pbox[1], b = b ^ c.pbox[0], { left: b, right: C };
|
|
6044
6044
|
}
|
|
6045
6045
|
function m(c, y, f) {
|
|
6046
6046
|
for (let E = 0; E < 4; E++) {
|
|
@@ -6048,9 +6048,9 @@ function _o() {
|
|
|
6048
6048
|
for (let G = 0; G < 256; G++)
|
|
6049
6049
|
c.sbox[E][G] = a[E][G];
|
|
6050
6050
|
}
|
|
6051
|
-
let
|
|
6051
|
+
let b = 0;
|
|
6052
6052
|
for (let E = 0; E < d + 2; E++)
|
|
6053
|
-
c.pbox[E] = l[E] ^ y[
|
|
6053
|
+
c.pbox[E] = l[E] ^ y[b], b++, b >= f && (b = 0);
|
|
6054
6054
|
let C = 0, v = 0, x = 0;
|
|
6055
6055
|
for (let E = 0; E < d + 2; E += 2)
|
|
6056
6056
|
x = s(c, C, v), C = x.left, v = x.right, c.pbox[E] = C, c.pbox[E + 1] = v;
|
|
@@ -6059,7 +6059,7 @@ function _o() {
|
|
|
6059
6059
|
x = s(c, C, v), C = x.left, v = x.right, c.sbox[E][G] = C, c.sbox[E][G + 1] = v;
|
|
6060
6060
|
return !0;
|
|
6061
6061
|
}
|
|
6062
|
-
var _ =
|
|
6062
|
+
var _ = U.Blowfish = g.extend({
|
|
6063
6063
|
_doReset: function() {
|
|
6064
6064
|
if (this._keyPriorReset !== this._key) {
|
|
6065
6065
|
var c = this._keyPriorReset = this._key, y = c.words, f = c.sigBytes / 4;
|
|
@@ -6081,20 +6081,20 @@ function _o() {
|
|
|
6081
6081
|
r.Blowfish = g._createHelper(_);
|
|
6082
6082
|
})(), t.Blowfish;
|
|
6083
6083
|
});
|
|
6084
|
-
})(
|
|
6084
|
+
})(Kt)), Kt.exports;
|
|
6085
6085
|
}
|
|
6086
|
-
var yo =
|
|
6086
|
+
var yo = gt.exports, yn;
|
|
6087
6087
|
function Uo() {
|
|
6088
6088
|
return yn || (yn = 1, (function(e, n) {
|
|
6089
6089
|
(function(t, r, p) {
|
|
6090
|
-
e.exports = r(ne(),
|
|
6090
|
+
e.exports = r(ne(), ei(), dl(), fl(), xa(), Ul(), Sa(), er(), Ui(), Tl(), ar(), Sl(), El(), Ll(), bi(), Rl(), _a(), Ge(), Al(), Bl(), Wl(), Il(), Jl(), Kl(), $l(), jl(), Xl(), ao(), io(), ro(), oo(), mo(), po(), co(), _o());
|
|
6091
6091
|
})(yo, function(t) {
|
|
6092
6092
|
return t;
|
|
6093
6093
|
});
|
|
6094
|
-
})(
|
|
6094
|
+
})(gt)), gt.exports;
|
|
6095
6095
|
}
|
|
6096
|
-
var
|
|
6097
|
-
const Ca = /* @__PURE__ */ yi(
|
|
6096
|
+
var $t = Uo();
|
|
6097
|
+
const Ca = /* @__PURE__ */ yi($t), Pa = (e) => {
|
|
6098
6098
|
const n = "mySecretPassphrase", t = Ca.lib.WordArray.random(16), r = Ca.PBKDF2(n, t, {
|
|
6099
6099
|
keySize: 128 / 32,
|
|
6100
6100
|
iterations: 1e3
|
|
@@ -6102,20 +6102,20 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6102
6102
|
iv: t,
|
|
6103
6103
|
mode: Ca.mode.CBC,
|
|
6104
6104
|
padding: Ca.pad.Pkcs7
|
|
6105
|
-
}), g = t.toString(Ca.enc.Base64),
|
|
6106
|
-
return g + ":" +
|
|
6105
|
+
}), g = t.toString(Ca.enc.Base64), U = Ca.enc.Base64.stringify(p.ciphertext);
|
|
6106
|
+
return g + ":" + U;
|
|
6107
6107
|
}, oe = () => {
|
|
6108
|
-
const { client: e, formDataClient: n } = se(), t =
|
|
6108
|
+
const { client: e, formDataClient: n } = se(), t = W(
|
|
6109
6109
|
async (M) => {
|
|
6110
|
-
const { mac_address: D = "", app_version: S = "", anydesk_id: L = "" } = M
|
|
6110
|
+
const { mac_address: D = "", app_version: S = "", anydesk_id: L = "" } = M;
|
|
6111
|
+
return await e.post("/cash-register/login", {
|
|
6111
6112
|
mac_address: D,
|
|
6112
6113
|
app_version: S,
|
|
6113
6114
|
anydesk_id: L
|
|
6114
6115
|
});
|
|
6115
|
-
return N;
|
|
6116
6116
|
},
|
|
6117
6117
|
[e]
|
|
6118
|
-
), r =
|
|
6118
|
+
), r = W(async () => e.get("/member/getMemberInfo"), [e]), p = W(async () => await e.get("/member/getGameList"), [e]), g = W(async () => await e.get("/member/getNowCurrencyExchange"), [e]), U = W(async () => await e.get("member/getFavoriteGame"), [e]), d = W(
|
|
6119
6119
|
async (M) => {
|
|
6120
6120
|
const { account: D, password: S, trans_code: L } = M;
|
|
6121
6121
|
return await e.post("/login", {
|
|
@@ -6125,7 +6125,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6125
6125
|
});
|
|
6126
6126
|
},
|
|
6127
6127
|
[e]
|
|
6128
|
-
), l =
|
|
6128
|
+
), l = W(async () => await e.post("/logout"), [e]), a = W(
|
|
6129
6129
|
async (M) => {
|
|
6130
6130
|
const { gameUid: D = "", status: S = 0 } = M;
|
|
6131
6131
|
return await e.put(`/member/toggleFavoriteGame/${D}`, {
|
|
@@ -6133,7 +6133,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6133
6133
|
});
|
|
6134
6134
|
},
|
|
6135
6135
|
[e]
|
|
6136
|
-
), i =
|
|
6136
|
+
), i = W(async () => await e.get("/profit/ranking"), [e]), o = W(
|
|
6137
6137
|
async ({
|
|
6138
6138
|
memberId: M,
|
|
6139
6139
|
password: D,
|
|
@@ -6153,7 +6153,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6153
6153
|
return S && (j.unlimit_code = S), N && (j.invite = N), e.post("/signUp", j);
|
|
6154
6154
|
},
|
|
6155
6155
|
[e]
|
|
6156
|
-
), s =
|
|
6156
|
+
), s = W(
|
|
6157
6157
|
async (M) => {
|
|
6158
6158
|
const { name: D, birthday: S, email: L, mobile: N } = M;
|
|
6159
6159
|
return await e.post("/editMembetInfo", {
|
|
@@ -6168,16 +6168,16 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6168
6168
|
});
|
|
6169
6169
|
},
|
|
6170
6170
|
[e]
|
|
6171
|
-
), u =
|
|
6171
|
+
), u = W(
|
|
6172
6172
|
async (M) => {
|
|
6173
6173
|
const { oldPwd: D, newPwd: S } = M;
|
|
6174
6174
|
return await e.post("/passwordReset", {
|
|
6175
|
-
old_pwd:
|
|
6176
|
-
new_pwd:
|
|
6175
|
+
old_pwd: $t.MD5(D).toString(),
|
|
6176
|
+
new_pwd: $t.MD5(S).toString()
|
|
6177
6177
|
});
|
|
6178
6178
|
},
|
|
6179
6179
|
[e]
|
|
6180
|
-
), m =
|
|
6180
|
+
), m = W(
|
|
6181
6181
|
async (M) => {
|
|
6182
6182
|
const { newPwd: D, confirmNewPwd: S } = M;
|
|
6183
6183
|
return await e.post("/setWithdrawPassword", {
|
|
@@ -6186,7 +6186,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6186
6186
|
});
|
|
6187
6187
|
},
|
|
6188
6188
|
[e]
|
|
6189
|
-
), _ =
|
|
6189
|
+
), _ = W(
|
|
6190
6190
|
async (M) => {
|
|
6191
6191
|
const { oldPwd: D, newPwd: S } = M;
|
|
6192
6192
|
return await e.post("/withdrawPasswordReset", {
|
|
@@ -6195,7 +6195,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6195
6195
|
});
|
|
6196
6196
|
},
|
|
6197
6197
|
[e]
|
|
6198
|
-
), c =
|
|
6198
|
+
), c = W(
|
|
6199
6199
|
async (M) => {
|
|
6200
6200
|
const { mobile: D, verification_code: S } = M;
|
|
6201
6201
|
return await e.post("/withdrawPasswordRenew", {
|
|
@@ -6204,7 +6204,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6204
6204
|
});
|
|
6205
6205
|
},
|
|
6206
6206
|
[e]
|
|
6207
|
-
), y =
|
|
6207
|
+
), y = W(
|
|
6208
6208
|
async ({ paramsData: M }) => {
|
|
6209
6209
|
const { start_time: D, end_time: S, limit: L = 25 } = M || {};
|
|
6210
6210
|
return await e.get("/report/totalprofit", {
|
|
@@ -6216,7 +6216,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6216
6216
|
});
|
|
6217
6217
|
},
|
|
6218
6218
|
[e]
|
|
6219
|
-
), f =
|
|
6219
|
+
), f = W(
|
|
6220
6220
|
async (M) => {
|
|
6221
6221
|
const { platform: D } = M;
|
|
6222
6222
|
return await e.post("/member/all-in-la", {
|
|
@@ -6224,7 +6224,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6224
6224
|
});
|
|
6225
6225
|
},
|
|
6226
6226
|
[e]
|
|
6227
|
-
),
|
|
6227
|
+
), b = W(async () => await e.get("/member/checkRestrictedWagering"), [e]), C = W(
|
|
6228
6228
|
async (M) => {
|
|
6229
6229
|
const { memId: D, point: S, currency: L, password: N } = M;
|
|
6230
6230
|
return await e.post("/pointsTransaction", {
|
|
@@ -6235,7 +6235,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6235
6235
|
});
|
|
6236
6236
|
},
|
|
6237
6237
|
[e]
|
|
6238
|
-
), v =
|
|
6238
|
+
), v = W(
|
|
6239
6239
|
async ({ formData: M }) => {
|
|
6240
6240
|
const {
|
|
6241
6241
|
bank_name: D,
|
|
@@ -6249,7 +6249,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6249
6249
|
return await n.post("/bindBankAccount", M);
|
|
6250
6250
|
},
|
|
6251
6251
|
[n]
|
|
6252
|
-
), x =
|
|
6252
|
+
), x = W(
|
|
6253
6253
|
async (M) => {
|
|
6254
6254
|
const { point_transfer: D } = M;
|
|
6255
6255
|
return await e.post("/cash-register/clear", {
|
|
@@ -6257,7 +6257,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6257
6257
|
});
|
|
6258
6258
|
},
|
|
6259
6259
|
[e]
|
|
6260
|
-
), E =
|
|
6260
|
+
), E = W(
|
|
6261
6261
|
async (M) => {
|
|
6262
6262
|
const { trans_code: D, line_id: S, invite: L, line_name: N } = M;
|
|
6263
6263
|
return await e.post("/goLine", {
|
|
@@ -6268,7 +6268,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6268
6268
|
});
|
|
6269
6269
|
},
|
|
6270
6270
|
[e]
|
|
6271
|
-
), G =
|
|
6271
|
+
), G = W(
|
|
6272
6272
|
async (M) => {
|
|
6273
6273
|
const { trans_code: D, line_id: S, line_name: L } = M;
|
|
6274
6274
|
return await e.post("/login/line", {
|
|
@@ -6278,13 +6278,13 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6278
6278
|
});
|
|
6279
6279
|
},
|
|
6280
6280
|
[e]
|
|
6281
|
-
), O =
|
|
6281
|
+
), O = W(
|
|
6282
6282
|
async (M) => {
|
|
6283
6283
|
const { mac_address: D } = M;
|
|
6284
6284
|
return await e.get(`/machine-login-code/${D}`);
|
|
6285
6285
|
},
|
|
6286
6286
|
[e]
|
|
6287
|
-
), k =
|
|
6287
|
+
), k = W(
|
|
6288
6288
|
async (M) => {
|
|
6289
6289
|
const { member_info_uid: D, point: S, currency: L, withdraw_password: N } = M;
|
|
6290
6290
|
return await e.post(`/member/transfer/${D}`, {
|
|
@@ -6294,7 +6294,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6294
6294
|
});
|
|
6295
6295
|
},
|
|
6296
6296
|
[e]
|
|
6297
|
-
), h =
|
|
6297
|
+
), h = W(
|
|
6298
6298
|
async (M) => {
|
|
6299
6299
|
const { mobile: D, verifyCode: S } = M;
|
|
6300
6300
|
return await e.post("/sms/verifyValidationCode", {
|
|
@@ -6303,7 +6303,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6303
6303
|
});
|
|
6304
6304
|
},
|
|
6305
6305
|
[e]
|
|
6306
|
-
), F =
|
|
6306
|
+
), F = W(
|
|
6307
6307
|
async (M) => {
|
|
6308
6308
|
const { mobile: D, verifyCode: S, snCode: L } = M;
|
|
6309
6309
|
return await e.post("/goMobile", {
|
|
@@ -6313,7 +6313,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6313
6313
|
});
|
|
6314
6314
|
},
|
|
6315
6315
|
[e]
|
|
6316
|
-
), A =
|
|
6316
|
+
), A = W(
|
|
6317
6317
|
async (M) => {
|
|
6318
6318
|
const { mobile: D, verifyCode: S, invite: L } = M;
|
|
6319
6319
|
return await e.post("/goMobileByInvite", {
|
|
@@ -6323,7 +6323,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6323
6323
|
});
|
|
6324
6324
|
},
|
|
6325
6325
|
[e]
|
|
6326
|
-
), w =
|
|
6326
|
+
), w = W(
|
|
6327
6327
|
async (M) => {
|
|
6328
6328
|
const { mobile: D } = M;
|
|
6329
6329
|
return await e.get("/sms/getValidCode", {
|
|
@@ -6333,7 +6333,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6333
6333
|
});
|
|
6334
6334
|
},
|
|
6335
6335
|
[e]
|
|
6336
|
-
), R =
|
|
6336
|
+
), R = W(
|
|
6337
6337
|
async (M) => {
|
|
6338
6338
|
const { bindType: D, bindId: S } = M;
|
|
6339
6339
|
return await e.post("/member/bindThirdPartyAccount", {
|
|
@@ -6342,10 +6342,10 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6342
6342
|
});
|
|
6343
6343
|
},
|
|
6344
6344
|
[e]
|
|
6345
|
-
), P =
|
|
6345
|
+
), P = W(async () => await e.get("/jackpot", {}), [e]), H = W(
|
|
6346
6346
|
async (M) => await e.get("/total-bet-ranking"),
|
|
6347
6347
|
[e]
|
|
6348
|
-
), B =
|
|
6348
|
+
), B = W(async () => await e.get("/member/avatar/list"), [e]), z = W(
|
|
6349
6349
|
async (M) => {
|
|
6350
6350
|
const { avatarId: D } = M;
|
|
6351
6351
|
return await e.post("/member/avatar/change", {
|
|
@@ -6358,7 +6358,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6358
6358
|
machineLoginApi: t,
|
|
6359
6359
|
userInfoApi: r,
|
|
6360
6360
|
userGameListApi: p,
|
|
6361
|
-
userFavoriteGameApi:
|
|
6361
|
+
userFavoriteGameApi: U,
|
|
6362
6362
|
userCurrencyExchangeApi: g,
|
|
6363
6363
|
userLoginApi: d,
|
|
6364
6364
|
userLogoutApi: l,
|
|
@@ -6372,7 +6372,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6372
6372
|
userRebateApi: y,
|
|
6373
6373
|
userBindBankApi: v,
|
|
6374
6374
|
transferInGameApi: f,
|
|
6375
|
-
checkUserWagerApi:
|
|
6375
|
+
checkUserWagerApi: b,
|
|
6376
6376
|
pointTransferApi: C,
|
|
6377
6377
|
abandonPointsApi: x,
|
|
6378
6378
|
lineLoginApi: E,
|
|
@@ -6388,7 +6388,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6388
6388
|
getJackpotApi: P,
|
|
6389
6389
|
getBetRankingApi: H,
|
|
6390
6390
|
getUserAvatarListApi: B,
|
|
6391
|
-
updateUserAvatarApi:
|
|
6391
|
+
updateUserAvatarApi: z
|
|
6392
6392
|
};
|
|
6393
6393
|
}, Sm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
|
|
6394
6394
|
const { userCurrencyExchangeApi: t } = oe(), { getToken: r } = se(), { enabled: p, ...g } = n, d = !!r?.() && (p ? p.every((l) => l) : !0);
|
|
@@ -6430,28 +6430,28 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6430
6430
|
queryKey: ["getMemInfo"],
|
|
6431
6431
|
queryFn: async () => n(),
|
|
6432
6432
|
enabled: e
|
|
6433
|
-
}),
|
|
6433
|
+
}), U = $({
|
|
6434
6434
|
queryKey: ["getFavoriteGame"],
|
|
6435
6435
|
queryFn: async () => t(),
|
|
6436
6436
|
enabled: e && g.isSuccess
|
|
6437
6437
|
}), d = $({
|
|
6438
6438
|
queryKey: ["getUserGameList"],
|
|
6439
6439
|
queryFn: async () => r(),
|
|
6440
|
-
enabled: e && g.isSuccess &&
|
|
6440
|
+
enabled: e && g.isSuccess && U.isSuccess
|
|
6441
6441
|
}), l = $({
|
|
6442
6442
|
queryKey: ["getUserCurrencyExchange"],
|
|
6443
6443
|
queryFn: async () => p(),
|
|
6444
|
-
enabled: e && g.isSuccess &&
|
|
6444
|
+
enabled: e && g.isSuccess && U.isSuccess && d.isSuccess
|
|
6445
6445
|
});
|
|
6446
6446
|
return [
|
|
6447
6447
|
g,
|
|
6448
|
-
|
|
6448
|
+
U,
|
|
6449
6449
|
d,
|
|
6450
6450
|
l
|
|
6451
6451
|
];
|
|
6452
6452
|
}, Ci = () => {
|
|
6453
|
-
const { client: e, lng: n } = se(), t = Qe(n || "tw"), r =
|
|
6454
|
-
async (
|
|
6453
|
+
const { client: e, lng: n } = se(), t = Qe(n || "tw"), r = W(
|
|
6454
|
+
async (U) => {
|
|
6455
6455
|
const {
|
|
6456
6456
|
gameUid: d = "",
|
|
6457
6457
|
// 遊戲唯一標識
|
|
@@ -6463,7 +6463,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6463
6463
|
// 遊戲幣別
|
|
6464
6464
|
currentCurrency: o = ""
|
|
6465
6465
|
// 目前使用的幣別
|
|
6466
|
-
} =
|
|
6466
|
+
} = U;
|
|
6467
6467
|
return await e.post("/game/go", {
|
|
6468
6468
|
gameUid: d,
|
|
6469
6469
|
gameCode: l,
|
|
@@ -6475,14 +6475,14 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6475
6475
|
});
|
|
6476
6476
|
},
|
|
6477
6477
|
[e, t]
|
|
6478
|
-
), p =
|
|
6479
|
-
async (
|
|
6478
|
+
), p = W(
|
|
6479
|
+
async (U) => {
|
|
6480
6480
|
const {
|
|
6481
6481
|
startDate: d = Ee().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
|
|
6482
6482
|
endDate: l = Ee().format("YYYY-MM-DD 11:59:59"),
|
|
6483
6483
|
platform: a = "",
|
|
6484
6484
|
limit: i = 25
|
|
6485
|
-
} =
|
|
6485
|
+
} = U, { data: o } = await e.get("/report/netprofit", {
|
|
6486
6486
|
params: {
|
|
6487
6487
|
str_date: d,
|
|
6488
6488
|
end_date: l,
|
|
@@ -6493,15 +6493,15 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6493
6493
|
return o;
|
|
6494
6494
|
},
|
|
6495
6495
|
[e]
|
|
6496
|
-
), g =
|
|
6497
|
-
async (
|
|
6496
|
+
), g = W(
|
|
6497
|
+
async (U) => {
|
|
6498
6498
|
const {
|
|
6499
6499
|
startDate: d = Ee().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
|
|
6500
6500
|
endDate: l = Ee().format("YYYY-MM-DD 11:59:59"),
|
|
6501
6501
|
platform: a,
|
|
6502
6502
|
limit: i = 25,
|
|
6503
6503
|
page: o = 1
|
|
6504
|
-
} =
|
|
6504
|
+
} = U, { data: s } = await e.get("/report/betlog", {
|
|
6505
6505
|
params: {
|
|
6506
6506
|
str_date: d,
|
|
6507
6507
|
end_date: l,
|
|
@@ -6520,8 +6520,8 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6520
6520
|
return $({
|
|
6521
6521
|
queryKey: ["getBetRecord"],
|
|
6522
6522
|
queryFn: async () => await t(n),
|
|
6523
|
-
select: (r) => zn(r).map(([g,
|
|
6524
|
-
...
|
|
6523
|
+
select: (r) => zn(r).map(([g, U]) => ({
|
|
6524
|
+
...U,
|
|
6525
6525
|
platform: g
|
|
6526
6526
|
})),
|
|
6527
6527
|
...e
|
|
@@ -6547,7 +6547,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
|
|
|
6547
6547
|
betRecordDetail: t
|
|
6548
6548
|
};
|
|
6549
6549
|
};
|
|
6550
|
-
function
|
|
6550
|
+
function ot(e) {
|
|
6551
6551
|
for (var n = 1; n < arguments.length; n++) {
|
|
6552
6552
|
var t = arguments[n];
|
|
6553
6553
|
for (var r in t)
|
|
@@ -6567,27 +6567,27 @@ var vo = {
|
|
|
6567
6567
|
}
|
|
6568
6568
|
};
|
|
6569
6569
|
function ui(e, n) {
|
|
6570
|
-
function t(p, g,
|
|
6570
|
+
function t(p, g, U) {
|
|
6571
6571
|
if (!(typeof document > "u")) {
|
|
6572
|
-
|
|
6572
|
+
U = ot({}, n, U), typeof U.expires == "number" && (U.expires = new Date(Date.now() + U.expires * 864e5)), U.expires && (U.expires = U.expires.toUTCString()), p = encodeURIComponent(p).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
6573
6573
|
var d = "";
|
|
6574
|
-
for (var l in
|
|
6575
|
-
|
|
6574
|
+
for (var l in U)
|
|
6575
|
+
U[l] && (d += "; " + l, U[l] !== !0 && (d += "=" + U[l].split(";")[0]));
|
|
6576
6576
|
return document.cookie = p + "=" + e.write(g, p) + d;
|
|
6577
6577
|
}
|
|
6578
6578
|
}
|
|
6579
6579
|
function r(p) {
|
|
6580
6580
|
if (!(typeof document > "u" || arguments.length && !p)) {
|
|
6581
|
-
for (var g = document.cookie ? document.cookie.split("; ") : [],
|
|
6581
|
+
for (var g = document.cookie ? document.cookie.split("; ") : [], U = {}, d = 0; d < g.length; d++) {
|
|
6582
6582
|
var l = g[d].split("="), a = l.slice(1).join("=");
|
|
6583
6583
|
try {
|
|
6584
6584
|
var i = decodeURIComponent(l[0]);
|
|
6585
|
-
if (
|
|
6585
|
+
if (U[i] = e.read(a, i), p === i)
|
|
6586
6586
|
break;
|
|
6587
6587
|
} catch {
|
|
6588
6588
|
}
|
|
6589
6589
|
}
|
|
6590
|
-
return p ?
|
|
6590
|
+
return p ? U[p] : U;
|
|
6591
6591
|
}
|
|
6592
6592
|
}
|
|
6593
6593
|
return Object.create(
|
|
@@ -6598,16 +6598,16 @@ function ui(e, n) {
|
|
|
6598
6598
|
t(
|
|
6599
6599
|
p,
|
|
6600
6600
|
"",
|
|
6601
|
-
|
|
6601
|
+
ot({}, g, {
|
|
6602
6602
|
expires: -1
|
|
6603
6603
|
})
|
|
6604
6604
|
);
|
|
6605
6605
|
},
|
|
6606
6606
|
withAttributes: function(p) {
|
|
6607
|
-
return ui(this.converter,
|
|
6607
|
+
return ui(this.converter, ot({}, this.attributes, p));
|
|
6608
6608
|
},
|
|
6609
6609
|
withConverter: function(p) {
|
|
6610
|
-
return ui(
|
|
6610
|
+
return ui(ot({}, this.converter, p), this.attributes);
|
|
6611
6611
|
}
|
|
6612
6612
|
},
|
|
6613
6613
|
{
|
|
@@ -6616,7 +6616,7 @@ function ui(e, n) {
|
|
|
6616
6616
|
}
|
|
6617
6617
|
);
|
|
6618
6618
|
}
|
|
6619
|
-
var pi = ui(vo, { path: "/" }),
|
|
6619
|
+
var pi = ui(vo, { path: "/" }), ni = {}, Ze = {}, ri = {}, Un;
|
|
6620
6620
|
function la() {
|
|
6621
6621
|
return Un || (Un = 1, (function(e) {
|
|
6622
6622
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
|
|
@@ -6641,9 +6641,9 @@ function la() {
|
|
|
6641
6641
|
}
|
|
6642
6642
|
};
|
|
6643
6643
|
e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && p();
|
|
6644
|
-
})(
|
|
6644
|
+
})(ri)), ri;
|
|
6645
6645
|
}
|
|
6646
|
-
var Qa = {},
|
|
6646
|
+
var Qa = {}, li = {}, bn;
|
|
6647
6647
|
function vi() {
|
|
6648
6648
|
return bn || (bn = 1, (function(e) {
|
|
6649
6649
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
|
|
@@ -6655,7 +6655,7 @@ function vi() {
|
|
|
6655
6655
|
e.sharedWebSockets.hasOwnProperty(r) && delete e.sharedWebSockets[r];
|
|
6656
6656
|
};
|
|
6657
6657
|
e.resetWebSockets = n;
|
|
6658
|
-
})(
|
|
6658
|
+
})(li)), li;
|
|
6659
6659
|
}
|
|
6660
6660
|
var va = {}, sa = {}, Cn;
|
|
6661
6661
|
function hi() {
|
|
@@ -6663,7 +6663,7 @@ function hi() {
|
|
|
6663
6663
|
Cn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.setUpSocketIOPing = sa.appendQueryParams = sa.parseSocketIOUrl = void 0;
|
|
6664
6664
|
var e = la(), n = function(p) {
|
|
6665
6665
|
if (p) {
|
|
6666
|
-
var g = /^https|wss/.test(p),
|
|
6666
|
+
var g = /^https|wss/.test(p), U = p.replace(/^(https?|wss?)(:\/\/)?/, ""), d = U.replace(/\/$/, ""), l = g ? "wss" : "ws";
|
|
6667
6667
|
return "".concat(l, "://").concat(d).concat(e.SOCKET_IO_PATH);
|
|
6668
6668
|
} else if (p === "") {
|
|
6669
6669
|
var g = /^https/.test(window.location.protocol), l = g ? "wss" : "ws", a = window.location.port ? ":".concat(window.location.port) : "";
|
|
@@ -6674,7 +6674,7 @@ function hi() {
|
|
|
6674
6674
|
sa.parseSocketIOUrl = n;
|
|
6675
6675
|
var t = function(p, g) {
|
|
6676
6676
|
g === void 0 && (g = {});
|
|
6677
|
-
var
|
|
6677
|
+
var U = /\?([\w]+=[\w]+)/, d = U.test(p), l = "".concat(Object.entries(g).reduce(function(a, i) {
|
|
6678
6678
|
var o = i[0], s = i[1];
|
|
6679
6679
|
return a + "".concat(o, "=").concat(s, "&");
|
|
6680
6680
|
}, "").slice(0, -1));
|
|
@@ -6683,17 +6683,17 @@ function hi() {
|
|
|
6683
6683
|
sa.appendQueryParams = t;
|
|
6684
6684
|
var r = function(p, g) {
|
|
6685
6685
|
g === void 0 && (g = e.SOCKET_IO_PING_INTERVAL);
|
|
6686
|
-
var
|
|
6686
|
+
var U = function() {
|
|
6687
6687
|
return p(e.SOCKET_IO_PING_CODE);
|
|
6688
6688
|
};
|
|
6689
|
-
return window.setInterval(
|
|
6689
|
+
return window.setInterval(U, g);
|
|
6690
6690
|
};
|
|
6691
6691
|
return sa.setUpSocketIOPing = r, sa;
|
|
6692
6692
|
}
|
|
6693
|
-
var
|
|
6693
|
+
var st = {}, vn;
|
|
6694
6694
|
function tr() {
|
|
6695
|
-
if (vn) return
|
|
6696
|
-
vn = 1, Object.defineProperty(
|
|
6695
|
+
if (vn) return st;
|
|
6696
|
+
vn = 1, Object.defineProperty(st, "__esModule", { value: !0 }), st.heartbeat = t;
|
|
6697
6697
|
var e = la();
|
|
6698
6698
|
function n(r) {
|
|
6699
6699
|
return Array.isArray(r) ? r.reduce(function(p, g) {
|
|
@@ -6701,7 +6701,7 @@ function tr() {
|
|
|
6701
6701
|
}).current : r.current;
|
|
6702
6702
|
}
|
|
6703
6703
|
function t(r, p, g) {
|
|
6704
|
-
var
|
|
6704
|
+
var U = g || {}, d = U.interval, l = d === void 0 ? e.DEFAULT_HEARTBEAT.interval : d, a = U.timeout, i = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = U.message, s = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, u = Math.max(100, l / 10), m = Date.now(), _ = setInterval(function() {
|
|
6705
6705
|
var c = Date.now(), y = n(p);
|
|
6706
6706
|
if (y + i <= c)
|
|
6707
6707
|
console.warn("Heartbeat timed out, closing connection, last message received ".concat(c - y, "ms ago, last ping sent ").concat(c - m, "ms ago")), r.close();
|
|
@@ -6717,9 +6717,9 @@ function tr() {
|
|
|
6717
6717
|
}), function() {
|
|
6718
6718
|
};
|
|
6719
6719
|
}
|
|
6720
|
-
return
|
|
6720
|
+
return st;
|
|
6721
6721
|
}
|
|
6722
|
-
var ja = {},
|
|
6722
|
+
var ja = {}, oi = {}, hn;
|
|
6723
6723
|
function Ti() {
|
|
6724
6724
|
return hn || (hn = 1, (function(e) {
|
|
6725
6725
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
|
|
@@ -6736,10 +6736,10 @@ function Ti() {
|
|
|
6736
6736
|
n[l] = n[l] || /* @__PURE__ */ new Set(), n[l].add(a);
|
|
6737
6737
|
};
|
|
6738
6738
|
e.addSubscriber = g;
|
|
6739
|
-
var
|
|
6739
|
+
var U = function(l, a) {
|
|
6740
6740
|
n[l].delete(a);
|
|
6741
6741
|
};
|
|
6742
|
-
e.removeSubscriber =
|
|
6742
|
+
e.removeSubscriber = U;
|
|
6743
6743
|
var d = function(l) {
|
|
6744
6744
|
if (l && n.hasOwnProperty(l))
|
|
6745
6745
|
delete n[l];
|
|
@@ -6748,7 +6748,7 @@ function Ti() {
|
|
|
6748
6748
|
n.hasOwnProperty(a) && delete n[a];
|
|
6749
6749
|
};
|
|
6750
6750
|
e.resetSubscribers = d;
|
|
6751
|
-
})(
|
|
6751
|
+
})(oi)), oi;
|
|
6752
6752
|
}
|
|
6753
6753
|
var Tn;
|
|
6754
6754
|
function ki() {
|
|
@@ -6783,7 +6783,7 @@ function ho() {
|
|
|
6783
6783
|
var _;
|
|
6784
6784
|
o.current.onMessage && o.current.onMessage(m), typeof u?.current == "number" && (u.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(m) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((_ = o.current.heartbeat) === null || _ === void 0 ? void 0 : _.returnMessage) === m.data || s(m));
|
|
6785
6785
|
};
|
|
6786
|
-
},
|
|
6786
|
+
}, U = function(i, o, s, u, m) {
|
|
6787
6787
|
i.onopen = function(_) {
|
|
6788
6788
|
if (o.current.onOpen && o.current.onOpen(_), u.current = 0, s(r.ReadyState.OPEN), o.current.heartbeat && i instanceof WebSocket) {
|
|
6789
6789
|
var c = typeof o.current.heartbeat == "boolean" ? void 0 : o.current.heartbeat;
|
|
@@ -6801,10 +6801,10 @@ function ho() {
|
|
|
6801
6801
|
if (o.current.onClose && o.current.onClose(c), s(r.ReadyState.CLOSED), o.current.shouldReconnect && o.current.shouldReconnect(c)) {
|
|
6802
6802
|
var f = (y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : r.DEFAULT_RECONNECT_LIMIT;
|
|
6803
6803
|
if (m.current < f) {
|
|
6804
|
-
var
|
|
6804
|
+
var b = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
|
|
6805
6805
|
_ = window.setTimeout(function() {
|
|
6806
6806
|
m.current++, u();
|
|
6807
|
-
},
|
|
6807
|
+
}, b ?? r.DEFAULT_RECONNECT_INTERVAL_MS);
|
|
6808
6808
|
} else
|
|
6809
6809
|
o.current.onReconnectStop && o.current.onReconnectStop(f), console.warn("Max reconnect attempts of ".concat(f, " exceeded"));
|
|
6810
6810
|
}
|
|
@@ -6827,9 +6827,9 @@ function ho() {
|
|
|
6827
6827
|
return _ && window.clearTimeout(_);
|
|
6828
6828
|
};
|
|
6829
6829
|
}, a = function(i, o, s, u, m, _, c) {
|
|
6830
|
-
var y = o.setLastMessage, f = o.setReadyState,
|
|
6831
|
-
return s.current.fromSocketIO && (
|
|
6832
|
-
f(r.ReadyState.CLOSING), C(), v(), i.close(),
|
|
6830
|
+
var y = o.setLastMessage, f = o.setReadyState, b, C, v;
|
|
6831
|
+
return s.current.fromSocketIO && (b = (0, n.setUpSocketIOPing)(c)), g(i, s, y, _), U(i, s, f, m, _), C = d(i, s, f, u, m), v = l(i, s, f, u, m), function() {
|
|
6832
|
+
f(r.ReadyState.CLOSING), C(), v(), i.close(), b && clearInterval(b);
|
|
6833
6833
|
};
|
|
6834
6834
|
};
|
|
6835
6835
|
return va.attachListeners = a, va;
|
|
@@ -6848,7 +6848,7 @@ function To() {
|
|
|
6848
6848
|
}, e.apply(this, arguments);
|
|
6849
6849
|
};
|
|
6850
6850
|
Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachSharedListeners = void 0;
|
|
6851
|
-
var n = vi(), t = la(), r = Ti(), p = hi(), g = tr(),
|
|
6851
|
+
var n = vi(), t = la(), r = Ti(), p = hi(), g = tr(), U = function(o, s, u) {
|
|
6852
6852
|
o.onmessage = function(m) {
|
|
6853
6853
|
(0, r.getSubscribers)(s).forEach(function(_) {
|
|
6854
6854
|
var c;
|
|
@@ -6890,7 +6890,7 @@ function To() {
|
|
|
6890
6890
|
};
|
|
6891
6891
|
}, i = function(o, s, u, m) {
|
|
6892
6892
|
var _;
|
|
6893
|
-
return u.current.fromSocketIO && (_ = (0, p.setUpSocketIOPing)(m)),
|
|
6893
|
+
return u.current.fromSocketIO && (_ = (0, p.setUpSocketIOPing)(m)), U(o, s, u.current.heartbeat), l(o, s), d(o, s, u.current.heartbeat), a(o, s), function() {
|
|
6894
6894
|
_ && clearInterval(_);
|
|
6895
6895
|
};
|
|
6896
6896
|
};
|
|
@@ -6913,7 +6913,7 @@ function ko() {
|
|
|
6913
6913
|
o && o(), delete e.sharedWebSockets[d];
|
|
6914
6914
|
}
|
|
6915
6915
|
};
|
|
6916
|
-
},
|
|
6916
|
+
}, U = function(d, l, a, i, o, s, u, m, _) {
|
|
6917
6917
|
if (!n.isEventSourceSupported && i.current.eventSourceOptions)
|
|
6918
6918
|
throw n.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
|
|
6919
6919
|
if (i.current.share) {
|
|
@@ -6937,7 +6937,7 @@ function ko() {
|
|
|
6937
6937
|
}, i, s.current, u, m, _);
|
|
6938
6938
|
}
|
|
6939
6939
|
};
|
|
6940
|
-
return Qa.createOrJoinSocket =
|
|
6940
|
+
return Qa.createOrJoinSocket = U, Qa;
|
|
6941
6941
|
}
|
|
6942
6942
|
var ma = {}, Dn;
|
|
6943
6943
|
function xo() {
|
|
@@ -6952,15 +6952,15 @@ function xo() {
|
|
|
6952
6952
|
function _(f) {
|
|
6953
6953
|
try {
|
|
6954
6954
|
y(o.next(f));
|
|
6955
|
-
} catch (
|
|
6956
|
-
m(
|
|
6955
|
+
} catch (b) {
|
|
6956
|
+
m(b);
|
|
6957
6957
|
}
|
|
6958
6958
|
}
|
|
6959
6959
|
function c(f) {
|
|
6960
6960
|
try {
|
|
6961
6961
|
y(o.throw(f));
|
|
6962
|
-
} catch (
|
|
6963
|
-
m(
|
|
6962
|
+
} catch (b) {
|
|
6963
|
+
m(b);
|
|
6964
6964
|
}
|
|
6965
6965
|
}
|
|
6966
6966
|
function y(f) {
|
|
@@ -7033,7 +7033,7 @@ function xo() {
|
|
|
7033
7033
|
return l.concat(u || Array.prototype.slice.call(a));
|
|
7034
7034
|
};
|
|
7035
7035
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
|
|
7036
|
-
var p = hi(), g = la(),
|
|
7036
|
+
var p = hi(), g = la(), U = function(l) {
|
|
7037
7037
|
return new Promise(function(a) {
|
|
7038
7038
|
return window.setTimeout(a, l);
|
|
7039
7039
|
});
|
|
@@ -7041,7 +7041,7 @@ function xo() {
|
|
|
7041
7041
|
for (var i = [], o = 2; o < arguments.length; o++)
|
|
7042
7042
|
i[o - 2] = arguments[o];
|
|
7043
7043
|
return n(void 0, r([l, a], i, !0), void 0, function(s, u, m) {
|
|
7044
|
-
var _, c, y, f,
|
|
7044
|
+
var _, c, y, f, b, C, v, x;
|
|
7045
7045
|
return m === void 0 && (m = 0), t(this, function(E) {
|
|
7046
7046
|
switch (E.label) {
|
|
7047
7047
|
case 0:
|
|
@@ -7052,7 +7052,7 @@ function xo() {
|
|
|
7052
7052
|
case 2:
|
|
7053
7053
|
return _ = E.sent(), [3, 9];
|
|
7054
7054
|
case 3:
|
|
7055
|
-
return E.sent(), u.current.retryOnError ? (c = (C = u.current.reconnectAttempts) !== null && C !== void 0 ? C : g.DEFAULT_RECONNECT_LIMIT, m < c ? (y = typeof u.current.reconnectInterval == "function" ? u.current.reconnectInterval(m) : u.current.reconnectInterval, [4,
|
|
7055
|
+
return E.sent(), u.current.retryOnError ? (c = (C = u.current.reconnectAttempts) !== null && C !== void 0 ? C : g.DEFAULT_RECONNECT_LIMIT, m < c ? (y = typeof u.current.reconnectInterval == "function" ? u.current.reconnectInterval(m) : u.current.reconnectInterval, [4, U(y ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
|
|
7056
7056
|
case 4:
|
|
7057
7057
|
return E.sent(), [2, (0, e.getUrl)(s, u, m + 1)];
|
|
7058
7058
|
case 5:
|
|
@@ -7068,7 +7068,7 @@ function xo() {
|
|
|
7068
7068
|
case 10:
|
|
7069
7069
|
_ = s, E.label = 11;
|
|
7070
7070
|
case 11:
|
|
7071
|
-
return f = u.current.fromSocketIO ? (0, p.parseSocketIOUrl)(_) : _,
|
|
7071
|
+
return f = u.current.fromSocketIO ? (0, p.parseSocketIOUrl)(_) : _, b = u.current.queryParams ? (0, p.appendQueryParams)(f, u.current.queryParams) : f, [2, b];
|
|
7072
7072
|
}
|
|
7073
7073
|
});
|
|
7074
7074
|
});
|
|
@@ -7076,24 +7076,24 @@ function xo() {
|
|
|
7076
7076
|
e.getUrl = d;
|
|
7077
7077
|
})(ma)), ma;
|
|
7078
7078
|
}
|
|
7079
|
-
var
|
|
7079
|
+
var si = {}, En;
|
|
7080
7080
|
function So() {
|
|
7081
7081
|
return En || (En = 1, (function(e) {
|
|
7082
7082
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
|
|
7083
7083
|
var n = function(t, r) {
|
|
7084
7084
|
return new Proxy(t, {
|
|
7085
7085
|
get: function(p, g) {
|
|
7086
|
-
var
|
|
7087
|
-
return g === "reconnect" ? r : typeof
|
|
7088
|
-
}) :
|
|
7086
|
+
var U = p[g];
|
|
7087
|
+
return g === "reconnect" ? r : typeof U == "function" ? (console.error("Calling methods directly on the websocket is not supported at this moment. You must use the methods returned by useWebSocket."), function() {
|
|
7088
|
+
}) : U;
|
|
7089
7089
|
},
|
|
7090
|
-
set: function(p, g,
|
|
7091
|
-
return /^on/.test(g) ? (console.warn("The websocket's event handlers should be defined through the options object passed into useWebSocket."), !1) : (p[g] =
|
|
7090
|
+
set: function(p, g, U) {
|
|
7091
|
+
return /^on/.test(g) ? (console.warn("The websocket's event handlers should be defined through the options object passed into useWebSocket."), !1) : (p[g] = U, !0);
|
|
7092
7092
|
}
|
|
7093
7093
|
});
|
|
7094
7094
|
};
|
|
7095
7095
|
e.websocketWrapper = n, e.default = e.websocketWrapper;
|
|
7096
|
-
})(
|
|
7096
|
+
})(si)), si;
|
|
7097
7097
|
}
|
|
7098
7098
|
var Nn;
|
|
7099
7099
|
function xi() {
|
|
@@ -7114,7 +7114,7 @@ function xi() {
|
|
|
7114
7114
|
});
|
|
7115
7115
|
}
|
|
7116
7116
|
return new (m || (m = Promise))(function(y, f) {
|
|
7117
|
-
function
|
|
7117
|
+
function b(x) {
|
|
7118
7118
|
try {
|
|
7119
7119
|
v(_.next(x));
|
|
7120
7120
|
} catch (E) {
|
|
@@ -7129,7 +7129,7 @@ function xi() {
|
|
|
7129
7129
|
}
|
|
7130
7130
|
}
|
|
7131
7131
|
function v(x) {
|
|
7132
|
-
x.done ? y(x.value) : c(x.value).then(
|
|
7132
|
+
x.done ? y(x.value) : c(x.value).then(b, C);
|
|
7133
7133
|
}
|
|
7134
7134
|
v((_ = _.apply(s, u || [])).next());
|
|
7135
7135
|
});
|
|
@@ -7138,10 +7138,10 @@ function xi() {
|
|
|
7138
7138
|
if (y[0] & 1) throw y[1];
|
|
7139
7139
|
return y[1];
|
|
7140
7140
|
}, trys: [], ops: [] }, _, c, y, f = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
|
|
7141
|
-
return f.next =
|
|
7141
|
+
return f.next = b(0), f.throw = b(1), f.return = b(2), typeof Symbol == "function" && (f[Symbol.iterator] = function() {
|
|
7142
7142
|
return this;
|
|
7143
7143
|
}), f;
|
|
7144
|
-
function
|
|
7144
|
+
function b(v) {
|
|
7145
7145
|
return function(x) {
|
|
7146
7146
|
return C([v, x]);
|
|
7147
7147
|
};
|
|
@@ -7196,34 +7196,34 @@ function xi() {
|
|
|
7196
7196
|
return s && s.__esModule ? s : { default: s };
|
|
7197
7197
|
};
|
|
7198
7198
|
Object.defineProperty(Ze, "__esModule", { value: !0 }), Ze.useWebSocket = void 0;
|
|
7199
|
-
var p = de, g = Zr,
|
|
7200
|
-
u === void 0 && (u =
|
|
7201
|
-
var _ = (0, p.useState)(null), c = _[0], y = _[1], f = (0, p.useState)({}),
|
|
7199
|
+
var p = de, g = Zr, U = la(), d = ko(), l = xo(), a = r(So()), i = ki(), o = function(s, u, m) {
|
|
7200
|
+
u === void 0 && (u = U.DEFAULT_OPTIONS), m === void 0 && (m = !0);
|
|
7201
|
+
var _ = (0, p.useState)(null), c = _[0], y = _[1], f = (0, p.useState)({}), b = f[0], C = f[1], v = (0, p.useMemo)(function() {
|
|
7202
7202
|
if (!u.disableJson && c)
|
|
7203
7203
|
try {
|
|
7204
7204
|
return JSON.parse(c.data);
|
|
7205
7205
|
} catch {
|
|
7206
|
-
return
|
|
7206
|
+
return U.UNPARSABLE_JSON_OBJECT;
|
|
7207
7207
|
}
|
|
7208
7208
|
return null;
|
|
7209
7209
|
}, [c, u.disableJson]), x = (0, p.useRef)(null), E = (0, p.useRef)(null), G = (0, p.useRef)(function() {
|
|
7210
7210
|
}), O = (0, p.useRef)(0), k = (0, p.useRef)(Date.now()), h = (0, p.useRef)([]), F = (0, p.useRef)(null), A = (0, p.useRef)(u);
|
|
7211
7211
|
A.current = u;
|
|
7212
|
-
var w = x.current &&
|
|
7212
|
+
var w = x.current && b[x.current] !== void 0 ? b[x.current] : s !== null && m === !0 ? U.ReadyState.CONNECTING : U.ReadyState.UNINSTANTIATED, R = u.queryParams ? JSON.stringify(u.queryParams) : null, P = (0, p.useCallback)(function(z, M) {
|
|
7213
7213
|
var D;
|
|
7214
|
-
if (M === void 0 && (M = !0),
|
|
7214
|
+
if (M === void 0 && (M = !0), U.isEventSourceSupported && E.current instanceof EventSource) {
|
|
7215
7215
|
console.warn("Unable to send a message from an eventSource");
|
|
7216
7216
|
return;
|
|
7217
7217
|
}
|
|
7218
|
-
((D = E.current) === null || D === void 0 ? void 0 : D.readyState) ===
|
|
7219
|
-
}, []), H = (0, p.useCallback)(function(
|
|
7220
|
-
M === void 0 && (M = !0), P(JSON.stringify(
|
|
7218
|
+
((D = E.current) === null || D === void 0 ? void 0 : D.readyState) === U.ReadyState.OPEN ? ((0, i.assertIsWebSocket)(E.current, A.current.skipAssert), E.current.send(z)) : M && h.current.push(z);
|
|
7219
|
+
}, []), H = (0, p.useCallback)(function(z, M) {
|
|
7220
|
+
M === void 0 && (M = !0), P(JSON.stringify(z), M);
|
|
7221
7221
|
}, [P]), B = (0, p.useCallback)(function() {
|
|
7222
|
-
return A.current.share !== !0 ||
|
|
7222
|
+
return A.current.share !== !0 || U.isEventSourceSupported && E.current instanceof EventSource ? E.current : (F.current === null && E.current && ((0, i.assertIsWebSocket)(E.current, A.current.skipAssert), F.current = (0, a.default)(E.current, G)), F.current);
|
|
7223
7223
|
}, []);
|
|
7224
7224
|
return (0, p.useEffect)(function() {
|
|
7225
7225
|
if (s !== null && m === !0) {
|
|
7226
|
-
var
|
|
7226
|
+
var z, M = !1, D = !0, S = function() {
|
|
7227
7227
|
return n(void 0, void 0, void 0, function() {
|
|
7228
7228
|
var L, N, Z;
|
|
7229
7229
|
return t(this, function(q) {
|
|
@@ -7233,7 +7233,7 @@ function xi() {
|
|
|
7233
7233
|
case 1:
|
|
7234
7234
|
return L.current = q.sent(), x.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), x.current = "ABORTED", (0, g.flushSync)(function() {
|
|
7235
7235
|
return C(function(j) {
|
|
7236
|
-
return e(e({}, j), { ABORTED:
|
|
7236
|
+
return e(e({}, j), { ABORTED: U.ReadyState.CLOSED });
|
|
7237
7237
|
});
|
|
7238
7238
|
}), [
|
|
7239
7239
|
2
|
|
@@ -7249,7 +7249,7 @@ function xi() {
|
|
|
7249
7249
|
return e(e({}, K), x.current && (ie = {}, ie[x.current] = j, ie));
|
|
7250
7250
|
});
|
|
7251
7251
|
});
|
|
7252
|
-
}, D && (
|
|
7252
|
+
}, D && (z = (0, d.createOrJoinSocket)(E, x.current, Z, A, N, G, O, k, P)), [
|
|
7253
7253
|
2
|
|
7254
7254
|
/*return*/
|
|
7255
7255
|
]);
|
|
@@ -7258,17 +7258,17 @@ function xi() {
|
|
|
7258
7258
|
});
|
|
7259
7259
|
};
|
|
7260
7260
|
return G.current = function() {
|
|
7261
|
-
M || (F.current && (F.current = null),
|
|
7261
|
+
M || (F.current && (F.current = null), z?.(), S());
|
|
7262
7262
|
}, S(), function() {
|
|
7263
|
-
M = !0, D = !1, F.current && (F.current = null),
|
|
7263
|
+
M = !0, D = !1, F.current && (F.current = null), z?.(), y(null);
|
|
7264
7264
|
};
|
|
7265
7265
|
} else (s === null || m === !1) && (O.current = 0, C(function(L) {
|
|
7266
7266
|
var N;
|
|
7267
|
-
return e(e({}, L), x.current && (N = {}, N[x.current] =
|
|
7267
|
+
return e(e({}, L), x.current && (N = {}, N[x.current] = U.ReadyState.CLOSED, N));
|
|
7268
7268
|
}));
|
|
7269
7269
|
}, [s, m, R, P]), (0, p.useEffect)(function() {
|
|
7270
|
-
w ===
|
|
7271
|
-
P(
|
|
7270
|
+
w === U.ReadyState.OPEN && h.current.splice(0).forEach(function(z) {
|
|
7271
|
+
P(z);
|
|
7272
7272
|
});
|
|
7273
7273
|
}, [w]), {
|
|
7274
7274
|
sendMessage: P,
|
|
@@ -7309,7 +7309,7 @@ function Do() {
|
|
|
7309
7309
|
type: a[0],
|
|
7310
7310
|
payload: a[1]
|
|
7311
7311
|
};
|
|
7312
|
-
},
|
|
7312
|
+
}, U = function(d, l, a) {
|
|
7313
7313
|
l === void 0 && (l = r.DEFAULT_OPTIONS), a === void 0 && (a = !0);
|
|
7314
7314
|
var i = (0, n.useMemo)(function() {
|
|
7315
7315
|
return e(e({}, l), { fromSocketIO: !0 });
|
|
@@ -7325,30 +7325,30 @@ function Do() {
|
|
|
7325
7325
|
getWebSocket: c
|
|
7326
7326
|
};
|
|
7327
7327
|
};
|
|
7328
|
-
return Ta.useSocketIO =
|
|
7328
|
+
return Ta.useSocketIO = U, Ta;
|
|
7329
7329
|
}
|
|
7330
7330
|
var ua = {}, Gn;
|
|
7331
7331
|
function Eo() {
|
|
7332
7332
|
if (Gn) return ua;
|
|
7333
7333
|
Gn = 1;
|
|
7334
7334
|
var e = ua && ua.__assign || function() {
|
|
7335
|
-
return e = Object.assign || function(
|
|
7335
|
+
return e = Object.assign || function(U) {
|
|
7336
7336
|
for (var d, l = 1, a = arguments.length; l < a; l++) {
|
|
7337
7337
|
d = arguments[l];
|
|
7338
|
-
for (var i in d) Object.prototype.hasOwnProperty.call(d, i) && (
|
|
7338
|
+
for (var i in d) Object.prototype.hasOwnProperty.call(d, i) && (U[i] = d[i]);
|
|
7339
7339
|
}
|
|
7340
|
-
return
|
|
7340
|
+
return U;
|
|
7341
7341
|
}, e.apply(this, arguments);
|
|
7342
|
-
}, n = ua && ua.__rest || function(
|
|
7342
|
+
}, n = ua && ua.__rest || function(U, d) {
|
|
7343
7343
|
var l = {};
|
|
7344
|
-
for (var a in
|
|
7345
|
-
if (
|
|
7346
|
-
for (var i = 0, a = Object.getOwnPropertySymbols(
|
|
7347
|
-
d.indexOf(a[i]) < 0 && Object.prototype.propertyIsEnumerable.call(
|
|
7344
|
+
for (var a in U) Object.prototype.hasOwnProperty.call(U, a) && d.indexOf(a) < 0 && (l[a] = U[a]);
|
|
7345
|
+
if (U != null && typeof Object.getOwnPropertySymbols == "function")
|
|
7346
|
+
for (var i = 0, a = Object.getOwnPropertySymbols(U); i < a.length; i++)
|
|
7347
|
+
d.indexOf(a[i]) < 0 && Object.prototype.propertyIsEnumerable.call(U, a[i]) && (l[a[i]] = U[a[i]]);
|
|
7348
7348
|
return l;
|
|
7349
7349
|
};
|
|
7350
7350
|
Object.defineProperty(ua, "__esModule", { value: !0 }), ua.useEventSource = void 0;
|
|
7351
|
-
var t = de, r = xi(), p = la(), g = function(
|
|
7351
|
+
var t = de, r = xi(), p = la(), g = function(U, d, l) {
|
|
7352
7352
|
d === void 0 && (d = p.DEFAULT_EVENT_SOURCE_OPTIONS);
|
|
7353
7353
|
var a = d.withCredentials, i = d.events, o = n(d, ["withCredentials", "events"]);
|
|
7354
7354
|
l === void 0 && (l = !0);
|
|
@@ -7356,11 +7356,11 @@ function Eo() {
|
|
|
7356
7356
|
withCredentials: a
|
|
7357
7357
|
} }), u = (0, t.useRef)(p.EMPTY_EVENT_HANDLERS);
|
|
7358
7358
|
i && (u.current = i);
|
|
7359
|
-
var m = (0, r.useWebSocket)(
|
|
7359
|
+
var m = (0, r.useWebSocket)(U, s, l), _ = m.lastMessage, c = m.readyState, y = m.getWebSocket;
|
|
7360
7360
|
return (0, t.useEffect)(function() {
|
|
7361
7361
|
_?.type && Object.entries(u.current).forEach(function(f) {
|
|
7362
|
-
var
|
|
7363
|
-
|
|
7362
|
+
var b = f[0], C = f[1];
|
|
7363
|
+
b === _.type && C(_);
|
|
7364
7364
|
});
|
|
7365
7365
|
}, [_]), {
|
|
7366
7366
|
lastEvent: _,
|
|
@@ -7394,7 +7394,7 @@ function No() {
|
|
|
7394
7394
|
Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
|
|
7395
7395
|
return g.resetGlobalState;
|
|
7396
7396
|
} });
|
|
7397
|
-
})(
|
|
7397
|
+
})(ni)), ni;
|
|
7398
7398
|
}
|
|
7399
7399
|
var Lo = No();
|
|
7400
7400
|
const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
@@ -7404,7 +7404,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7404
7404
|
isInGameBox: r = !1,
|
|
7405
7405
|
currentGamePlatform: p = ""
|
|
7406
7406
|
}) => {
|
|
7407
|
-
const { store: g, lng:
|
|
7407
|
+
const { store: g, lng: U } = se(), { isReady: d, setAsReady: l, isPending: a, setAsPending: i } = Jn(), o = Qe(U), { mutateAsync: s } = Io();
|
|
7408
7408
|
return !e || !n || !t ? { handleTransferInGame: () => {
|
|
7409
7409
|
} } : { handleTransferInGame: async () => {
|
|
7410
7410
|
console.log("執行遊戲內轉帳"), r && await s({
|
|
@@ -7444,13 +7444,13 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7444
7444
|
});
|
|
7445
7445
|
} };
|
|
7446
7446
|
}, za = () => {
|
|
7447
|
-
const { client: e } = se(), n =
|
|
7447
|
+
const { client: e } = se(), n = W(async () => {
|
|
7448
7448
|
const { data: d } = await e.get("/carousels");
|
|
7449
7449
|
return d;
|
|
7450
|
-
}, [e]), t =
|
|
7450
|
+
}, [e]), t = W(async () => await e.get("/marquees"), [e]), r = W(async () => await e.get("/notification"), [e]), p = W(
|
|
7451
7451
|
async (d) => await e.put(`/notification/${d}/read`),
|
|
7452
7452
|
[e]
|
|
7453
|
-
), g =
|
|
7453
|
+
), g = W(
|
|
7454
7454
|
async (d) => {
|
|
7455
7455
|
const { phonecode: l } = d || {};
|
|
7456
7456
|
return await e.get("/verifyPhoneBarcode", {
|
|
@@ -7460,7 +7460,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7460
7460
|
});
|
|
7461
7461
|
},
|
|
7462
7462
|
[e]
|
|
7463
|
-
),
|
|
7463
|
+
), U = W(
|
|
7464
7464
|
async (d) => {
|
|
7465
7465
|
const { lovecode: l } = d || {};
|
|
7466
7466
|
return await e.get("/verifyLoveCode", {
|
|
@@ -7477,7 +7477,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7477
7477
|
commonInboxApi: r,
|
|
7478
7478
|
commonReadInboxApi: p,
|
|
7479
7479
|
verifyPhoneBarApi: g,
|
|
7480
|
-
verifyDonationCodeApi:
|
|
7480
|
+
verifyDonationCodeApi: U
|
|
7481
7481
|
};
|
|
7482
7482
|
}, Ro = ({ options: e } = {}) => {
|
|
7483
7483
|
const { userLoginApi: n } = oe();
|
|
@@ -7697,8 +7697,8 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7697
7697
|
GRAND: 0,
|
|
7698
7698
|
MEGA: 0
|
|
7699
7699
|
});
|
|
7700
|
-
return n ? Wr(n, (
|
|
7701
|
-
|
|
7700
|
+
return n ? Wr(n, (U, d) => {
|
|
7701
|
+
U.amount = Y(p, d, 0) + Math.floor(Math.random() * 1e3);
|
|
7702
7702
|
}) : p;
|
|
7703
7703
|
},
|
|
7704
7704
|
...e
|
|
@@ -7743,7 +7743,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7743
7743
|
} = {}) => {
|
|
7744
7744
|
const n = Ro({ options: e.login }), t = Po({ options: e.logout }), r = wo({ options: e.register }), p = Ao({ options: e.updateUserInfo }), g = Fo({
|
|
7745
7745
|
options: e.toggleFavoriteGame
|
|
7746
|
-
}),
|
|
7746
|
+
}), U = Oo({
|
|
7747
7747
|
options: e.resetUserPassword
|
|
7748
7748
|
}), d = Bo({
|
|
7749
7749
|
options: e.setUserTransactionPassword
|
|
@@ -7756,7 +7756,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7756
7756
|
register: r,
|
|
7757
7757
|
updateUserInfo: p,
|
|
7758
7758
|
toggleFavoriteGame: g,
|
|
7759
|
-
resetUserPassword:
|
|
7759
|
+
resetUserPassword: U,
|
|
7760
7760
|
setUserTransactionPassword: d,
|
|
7761
7761
|
resetUserTransactionPassword: l,
|
|
7762
7762
|
userRebate: a,
|
|
@@ -7789,11 +7789,11 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7789
7789
|
currentGamePlatform: ""
|
|
7790
7790
|
},
|
|
7791
7791
|
enableNotification: g = !1,
|
|
7792
|
-
disabledLineAutoRegister:
|
|
7792
|
+
disabledLineAutoRegister: U = !1
|
|
7793
7793
|
}) => {
|
|
7794
|
-
const { store: d, lng: l } = se(), a = Wa(), { isReady: i, setAsReady: o, isPending: s, setAsPending: u } = Jn(), m = Qe(l), _ =
|
|
7794
|
+
const { store: d, lng: l } = se(), a = Wa(), { isReady: i, setAsReady: o, isPending: s, setAsPending: u } = Jn(), m = Qe(l), _ = ae(!1), c = ae(n), y = Y(r, "uid", null);
|
|
7795
7795
|
Y(r, "testFunction", 0);
|
|
7796
|
-
const f = new URLSearchParams(window.location.search),
|
|
7796
|
+
const f = new URLSearchParams(window.location.search), b = Y(
|
|
7797
7797
|
p,
|
|
7798
7798
|
"enableTransferInGaming",
|
|
7799
7799
|
!1
|
|
@@ -7810,11 +7810,11 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7810
7810
|
c.current.onLineLogin?.(w);
|
|
7811
7811
|
},
|
|
7812
7812
|
onError: (w, R) => {
|
|
7813
|
-
|
|
7813
|
+
U || C(R);
|
|
7814
7814
|
}
|
|
7815
7815
|
}
|
|
7816
7816
|
}), { handleTransferInGame: x } = Mo({
|
|
7817
|
-
enable:
|
|
7817
|
+
enable: b,
|
|
7818
7818
|
isTestFunction: !0,
|
|
7819
7819
|
isTransferMode: Y(p, "isTransferMode", !1),
|
|
7820
7820
|
isInGameBox: Y(p, "isInGameBox", !1),
|
|
@@ -7851,7 +7851,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7851
7851
|
);
|
|
7852
7852
|
return () => clearInterval(w);
|
|
7853
7853
|
}, [E]);
|
|
7854
|
-
const F =
|
|
7854
|
+
const F = W(
|
|
7855
7855
|
(w, R) => {
|
|
7856
7856
|
g && d.dispatch({
|
|
7857
7857
|
type: "ui/openNotificationModal",
|
|
@@ -7868,7 +7868,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7868
7868
|
pe(() => {
|
|
7869
7869
|
c.current = n;
|
|
7870
7870
|
}, [n]);
|
|
7871
|
-
const A =
|
|
7871
|
+
const A = ae(null);
|
|
7872
7872
|
return pe(() => {
|
|
7873
7873
|
if (!h || A.current === h)
|
|
7874
7874
|
return;
|
|
@@ -7879,7 +7879,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7879
7879
|
onError: P,
|
|
7880
7880
|
onUpdateMember: H,
|
|
7881
7881
|
onMaintainNotice: B,
|
|
7882
|
-
onMaintainNoticeMember:
|
|
7882
|
+
onMaintainNoticeMember: z,
|
|
7883
7883
|
onTransferInGame: M,
|
|
7884
7884
|
onCashRegisterLimit: D,
|
|
7885
7885
|
onLineLogin: S
|
|
@@ -7916,7 +7916,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7916
7916
|
}), B?.(N);
|
|
7917
7917
|
break;
|
|
7918
7918
|
case He.MAINTAIN_NOTICE_MEMBER:
|
|
7919
|
-
Z && (F(q),
|
|
7919
|
+
Z && (F(q), z?.(N), setTimeout(() => {
|
|
7920
7920
|
window.location.reload();
|
|
7921
7921
|
}, 5e4));
|
|
7922
7922
|
break;
|
|
@@ -7925,7 +7925,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7925
7925
|
break;
|
|
7926
7926
|
case He.TRANSFER_IN_GAME:
|
|
7927
7927
|
case He.CHECK_REQUEST:
|
|
7928
|
-
if (Z &&
|
|
7928
|
+
if (Z && b) {
|
|
7929
7929
|
const { request_id: me, amount: ce, platform: ke, status: fe } = Y(N, "data", {}) || {}, Ve = localStorage.getItem(
|
|
7930
7930
|
"transfer_in_game_request_id"
|
|
7931
7931
|
);
|
|
@@ -7988,7 +7988,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7988
7988
|
F,
|
|
7989
7989
|
s,
|
|
7990
7990
|
x,
|
|
7991
|
-
|
|
7991
|
+
b,
|
|
7992
7992
|
o,
|
|
7993
7993
|
f,
|
|
7994
7994
|
C
|
|
@@ -7997,7 +7997,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7997
7997
|
"transfer_in_game_request_id"
|
|
7998
7998
|
) && u();
|
|
7999
7999
|
}, [u]), pe(() => {
|
|
8000
|
-
if (
|
|
8000
|
+
if (b) {
|
|
8001
8001
|
const w = localStorage.getItem(
|
|
8002
8002
|
"transfer_in_game_request_id"
|
|
8003
8003
|
);
|
|
@@ -8007,7 +8007,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8007
8007
|
member_info_uid: y
|
|
8008
8008
|
});
|
|
8009
8009
|
}
|
|
8010
|
-
}, [y, s, G,
|
|
8010
|
+
}, [y, s, G, b]), pe(() => {
|
|
8011
8011
|
s ? d.dispatch({
|
|
8012
8012
|
type: "ui/showToast",
|
|
8013
8013
|
payload: {
|
|
@@ -8029,38 +8029,38 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8029
8029
|
readyState: k
|
|
8030
8030
|
// WebSocket 連線狀態
|
|
8031
8031
|
};
|
|
8032
|
-
},
|
|
8033
|
-
const { client: e } = se(), n =
|
|
8034
|
-
async ({ paramsData:
|
|
8035
|
-
const { uid: d } =
|
|
8032
|
+
}, et = () => {
|
|
8033
|
+
const { client: e } = se(), n = W(
|
|
8034
|
+
async ({ paramsData: U } = {}) => {
|
|
8035
|
+
const { uid: d } = U || {};
|
|
8036
8036
|
return await e.get(`/event/list${d ? `/${d}` : ""}`);
|
|
8037
8037
|
},
|
|
8038
8038
|
[e]
|
|
8039
|
-
), t =
|
|
8040
|
-
async (
|
|
8041
|
-
params:
|
|
8039
|
+
), t = W(
|
|
8040
|
+
async (U) => await e.get("/event/checkMemeberEventsWageringRestricted", {
|
|
8041
|
+
params: U
|
|
8042
8042
|
}),
|
|
8043
8043
|
[e]
|
|
8044
|
-
), r =
|
|
8045
|
-
async (
|
|
8046
|
-
const { event_uid: d } =
|
|
8044
|
+
), r = W(
|
|
8045
|
+
async (U = {}) => {
|
|
8046
|
+
const { event_uid: d } = U || {};
|
|
8047
8047
|
return await e.get(`/event/${d}/memberGetEventRewards`, {
|
|
8048
8048
|
event_uid: d
|
|
8049
8049
|
});
|
|
8050
8050
|
},
|
|
8051
8051
|
[e]
|
|
8052
|
-
), p =
|
|
8053
|
-
async (
|
|
8054
|
-
const { currency: d, event_uid: l } =
|
|
8052
|
+
), p = W(
|
|
8053
|
+
async (U = {}) => {
|
|
8054
|
+
const { currency: d, event_uid: l } = U || {};
|
|
8055
8055
|
return await e.post("/event/checkMemberEventsStatus", {
|
|
8056
8056
|
currency: d,
|
|
8057
8057
|
event_uid: l
|
|
8058
8058
|
});
|
|
8059
8059
|
},
|
|
8060
8060
|
[e]
|
|
8061
|
-
), g =
|
|
8062
|
-
async (
|
|
8063
|
-
const { uid: d } =
|
|
8061
|
+
), g = W(
|
|
8062
|
+
async (U = {}) => {
|
|
8063
|
+
const { uid: d } = U || {};
|
|
8064
8064
|
return await e.post(`/event/memberEventSettle/${d}`);
|
|
8065
8065
|
},
|
|
8066
8066
|
[e]
|
|
@@ -8073,7 +8073,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8073
8073
|
settleEventApi: g
|
|
8074
8074
|
};
|
|
8075
8075
|
}, qo = ({ paramsData: e, options: n } = {}) => {
|
|
8076
|
-
const { store: t, lng: r, data2URL: p } = se(), { eventListApi: g } =
|
|
8076
|
+
const { store: t, lng: r, data2URL: p } = se(), { eventListApi: g } = et(), U = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", d = Qe(r);
|
|
8077
8077
|
return $({
|
|
8078
8078
|
queryKey: ["eventList", e],
|
|
8079
8079
|
queryFn: () => g({ paramsData: e }),
|
|
@@ -8083,7 +8083,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8083
8083
|
return Le(a, (o) => {
|
|
8084
8084
|
const { events_attributes: s } = o, u = Ie(
|
|
8085
8085
|
s,
|
|
8086
|
-
(v) => v.attribute_currency ===
|
|
8086
|
+
(v) => v.attribute_currency === U
|
|
8087
8087
|
) || s[0], m = Y(
|
|
8088
8088
|
u,
|
|
8089
8089
|
"rewards",
|
|
@@ -8147,7 +8147,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8147
8147
|
//下一次結算日期
|
|
8148
8148
|
lastSettlementDate: o.last_settlement_date
|
|
8149
8149
|
//最後一次結算日期
|
|
8150
|
-
},
|
|
8150
|
+
}, b = {
|
|
8151
8151
|
isActive: u?.attribute_is_active === 1,
|
|
8152
8152
|
//是否啟用
|
|
8153
8153
|
currencyCode: u?.attribute_currency,
|
|
@@ -8190,7 +8190,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8190
8190
|
};
|
|
8191
8191
|
return {
|
|
8192
8192
|
eventBase: f,
|
|
8193
|
-
eventAttribute:
|
|
8193
|
+
eventAttribute: b,
|
|
8194
8194
|
eventReward: C,
|
|
8195
8195
|
eventCarousel: { ...y },
|
|
8196
8196
|
originalData: o
|
|
@@ -8203,21 +8203,21 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8203
8203
|
...n
|
|
8204
8204
|
});
|
|
8205
8205
|
}, qm = ({ options: e } = {}) => {
|
|
8206
|
-
const { redeemEventRewardApi: n } =
|
|
8206
|
+
const { redeemEventRewardApi: n } = et();
|
|
8207
8207
|
return X({
|
|
8208
8208
|
mutationKey: ["redeemEventReward"],
|
|
8209
8209
|
mutationFn: async (t) => n(t),
|
|
8210
8210
|
...e
|
|
8211
8211
|
});
|
|
8212
8212
|
}, $o = ({ options: e, formData: n } = {}) => {
|
|
8213
|
-
const { checkCurrentEventProgessApi: t } =
|
|
8213
|
+
const { checkCurrentEventProgessApi: t } = et();
|
|
8214
8214
|
return $({
|
|
8215
8215
|
queryKey: ["checkEventProgress"],
|
|
8216
8216
|
queryFn: async () => t(n),
|
|
8217
8217
|
...e
|
|
8218
8218
|
});
|
|
8219
8219
|
}, Qo = ({ options: e, formData: n } = {}) => {
|
|
8220
|
-
const { checkEventStatusApi: t } =
|
|
8220
|
+
const { checkEventStatusApi: t } = et();
|
|
8221
8221
|
return $({
|
|
8222
8222
|
queryKey: ["checkEventStatus"],
|
|
8223
8223
|
queryFn: async () => t(n),
|
|
@@ -8225,7 +8225,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8225
8225
|
...e
|
|
8226
8226
|
});
|
|
8227
8227
|
}, $m = ({ options: e } = {}) => {
|
|
8228
|
-
const { settleEventApi: n } =
|
|
8228
|
+
const { settleEventApi: n } = et();
|
|
8229
8229
|
return X({
|
|
8230
8230
|
mutationKey: ["settleEvent"],
|
|
8231
8231
|
mutationFn: async (t) => n(t),
|
|
@@ -8248,30 +8248,30 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8248
8248
|
checkEventProgressQuery: t,
|
|
8249
8249
|
checkEventStatusQuery: r
|
|
8250
8250
|
};
|
|
8251
|
-
},
|
|
8252
|
-
const { client: e } = se(), n =
|
|
8253
|
-
async ({ gamePlatform:
|
|
8254
|
-
`/gameBonusRestricted${
|
|
8251
|
+
}, at = () => {
|
|
8252
|
+
const { client: e } = se(), n = W(
|
|
8253
|
+
async ({ gamePlatform: U, params: d } = {}) => await e.get(
|
|
8254
|
+
`/gameBonusRestricted${U ? `/${U}` : ""}`,
|
|
8255
8255
|
{
|
|
8256
8256
|
params: d
|
|
8257
8257
|
}
|
|
8258
8258
|
),
|
|
8259
8259
|
[e]
|
|
8260
|
-
), t =
|
|
8261
|
-
async ({ eventUids:
|
|
8262
|
-
uids:
|
|
8260
|
+
), t = W(
|
|
8261
|
+
async ({ eventUids: U = [] } = {}) => await e.post("/gameBonusRestricted/enable", {
|
|
8262
|
+
uids: U
|
|
8263
8263
|
}),
|
|
8264
8264
|
[e]
|
|
8265
|
-
), r =
|
|
8266
|
-
async ({ gamePlatform:
|
|
8267
|
-
`/gameBonusRestricted/evaluate${
|
|
8265
|
+
), r = W(
|
|
8266
|
+
async ({ gamePlatform: U = "" } = {}) => await e.post(
|
|
8267
|
+
`/gameBonusRestricted/evaluate${U ? `/${U}` : ""}`
|
|
8268
8268
|
),
|
|
8269
8269
|
[e]
|
|
8270
|
-
), p =
|
|
8271
|
-
async ({ groupUid:
|
|
8270
|
+
), p = W(
|
|
8271
|
+
async ({ groupUid: U = "" } = {}) => await e.post(`/gameBonusRestricted/settle/${U}`),
|
|
8272
8272
|
[e]
|
|
8273
|
-
), g =
|
|
8274
|
-
async ({ groupUid:
|
|
8273
|
+
), g = W(
|
|
8274
|
+
async ({ groupUid: U = "" } = {}) => await e.post(`/gameBonusRestricted/abandon/${U}`),
|
|
8275
8275
|
[e]
|
|
8276
8276
|
);
|
|
8277
8277
|
return {
|
|
@@ -8282,7 +8282,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8282
8282
|
abandonEventWalletApi: g
|
|
8283
8283
|
};
|
|
8284
8284
|
}, jm = ({ gamePlatform: e, params: n } = {}) => {
|
|
8285
|
-
const { eventWalletListApi: t } =
|
|
8285
|
+
const { eventWalletListApi: t } = at();
|
|
8286
8286
|
return $({
|
|
8287
8287
|
queryKey: ["getEventWalletList", e, n],
|
|
8288
8288
|
queryFn: async () => await t({
|
|
@@ -8290,7 +8290,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8290
8290
|
params: n
|
|
8291
8291
|
}),
|
|
8292
8292
|
select: (r) => {
|
|
8293
|
-
const p = Y(r, "data", []), g = Y(r, "summary", []),
|
|
8293
|
+
const p = Y(r, "data", []), g = Y(r, "summary", []), U = e ? Ie(g, (C) => C.platform === e) : g, d = Y(p, "data", []), {
|
|
8294
8294
|
current_page: l,
|
|
8295
8295
|
first_page_url: a,
|
|
8296
8296
|
from: i,
|
|
@@ -8305,7 +8305,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8305
8305
|
} = p;
|
|
8306
8306
|
return {
|
|
8307
8307
|
list: d,
|
|
8308
|
-
summary:
|
|
8308
|
+
summary: U,
|
|
8309
8309
|
pagination: {
|
|
8310
8310
|
current_page: l,
|
|
8311
8311
|
first_page_url: a,
|
|
@@ -8323,7 +8323,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8323
8323
|
}
|
|
8324
8324
|
});
|
|
8325
8325
|
}, Ym = () => {
|
|
8326
|
-
const e = Wa(), { enabledEventWalletApi: n } =
|
|
8326
|
+
const e = Wa(), { enabledEventWalletApi: n } = at();
|
|
8327
8327
|
return X({
|
|
8328
8328
|
mutationKey: ["enabledEventWallet"],
|
|
8329
8329
|
mutationFn: async ({ eventUids: t }) => await n({ eventUids: t }),
|
|
@@ -8332,23 +8332,23 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8332
8332
|
}
|
|
8333
8333
|
});
|
|
8334
8334
|
}, Xm = ({ gamePlatform: e = "", options: n = {} } = {}) => {
|
|
8335
|
-
const { evaluateEventWalletApi: t } =
|
|
8335
|
+
const { evaluateEventWalletApi: t } = at();
|
|
8336
8336
|
return $({
|
|
8337
8337
|
queryKey: ["evaluateEventWallet", e],
|
|
8338
8338
|
queryFn: async () => await t({ gamePlatform: e }),
|
|
8339
8339
|
select: (r) => {
|
|
8340
|
-
const p = Y(r, "data", []), g = Y(r, "summary", []),
|
|
8340
|
+
const p = Y(r, "data", []), g = Y(r, "summary", []), U = e ? Ie(g, (l) => l.platform === e) : g;
|
|
8341
8341
|
return {
|
|
8342
8342
|
list: Y(p, "data", []),
|
|
8343
8343
|
summary: {
|
|
8344
|
-
...
|
|
8344
|
+
...U
|
|
8345
8345
|
}
|
|
8346
8346
|
};
|
|
8347
8347
|
},
|
|
8348
8348
|
...n
|
|
8349
8349
|
});
|
|
8350
8350
|
}, eu = () => {
|
|
8351
|
-
const e = Wa(), { settleEventWalletApi: n } =
|
|
8351
|
+
const e = Wa(), { settleEventWalletApi: n } = at();
|
|
8352
8352
|
return X({
|
|
8353
8353
|
mutationKey: ["settleEventWallet"],
|
|
8354
8354
|
mutationFn: async ({ groupUid: t }) => await n({ groupUid: t }),
|
|
@@ -8357,7 +8357,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8357
8357
|
}
|
|
8358
8358
|
});
|
|
8359
8359
|
}, au = () => {
|
|
8360
|
-
const e = Wa(), { abandonEventWalletApi: n } =
|
|
8360
|
+
const e = Wa(), { abandonEventWalletApi: n } = at();
|
|
8361
8361
|
return X({
|
|
8362
8362
|
mutationKey: ["abandonEventWallet"],
|
|
8363
8363
|
mutationFn: async ({ groupUid: t }) => await n({ groupUid: t }),
|
|
@@ -8402,7 +8402,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8402
8402
|
return g && !t ? g : await r();
|
|
8403
8403
|
},
|
|
8404
8404
|
select: (g) => {
|
|
8405
|
-
const
|
|
8405
|
+
const U = ea(g) ? g : g.Marquees, d = ea(g) ? g : g.MarqueesInsideGameBox, l = Le(U, (i) => i[p] || i?.en_US), a = Le(d, (i) => i[p] || i?.en_US);
|
|
8406
8406
|
return {
|
|
8407
8407
|
marquee: l,
|
|
8408
8408
|
gameMarquee: a
|
|
@@ -8419,7 +8419,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8419
8419
|
const { data: r } = t;
|
|
8420
8420
|
return Le(r, (g) => {
|
|
8421
8421
|
const {
|
|
8422
|
-
game_uid:
|
|
8422
|
+
game_uid: U,
|
|
8423
8423
|
game_code: d,
|
|
8424
8424
|
game_name_en: l,
|
|
8425
8425
|
game_platform_uid: a,
|
|
@@ -8429,7 +8429,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8429
8429
|
profit: u
|
|
8430
8430
|
} = g;
|
|
8431
8431
|
return {
|
|
8432
|
-
gameUid:
|
|
8432
|
+
gameUid: U,
|
|
8433
8433
|
//遊戲UID
|
|
8434
8434
|
gameCode: d,
|
|
8435
8435
|
//遊戲代碼
|
|
@@ -8467,11 +8467,11 @@ var jo = Object.create, nr = Object.defineProperty, Yo = Object.getOwnPropertyDe
|
|
|
8467
8467
|
return function(m, _) {
|
|
8468
8468
|
return u.set(m, _), _;
|
|
8469
8469
|
};
|
|
8470
|
-
}, g = Number.MAX_SAFE_INTEGER === void 0 ? 9007199254740991 : Number.MAX_SAFE_INTEGER,
|
|
8470
|
+
}, g = Number.MAX_SAFE_INTEGER === void 0 ? 9007199254740991 : Number.MAX_SAFE_INTEGER, U = 536870912, d = U * 2, l = function(u, m) {
|
|
8471
8471
|
return function(_) {
|
|
8472
8472
|
var c = m.get(_), y = c === void 0 ? _.size : c < d ? c + 1 : 0;
|
|
8473
8473
|
if (!_.has(y)) return u(_, y);
|
|
8474
|
-
if (_.size <
|
|
8474
|
+
if (_.size < U) {
|
|
8475
8475
|
for (; _.has(y); ) y = Math.floor(Math.random() * d);
|
|
8476
8476
|
return u(_, y);
|
|
8477
8477
|
}
|
|
@@ -8592,8 +8592,8 @@ var us = class {
|
|
|
8592
8592
|
});
|
|
8593
8593
|
}, this.options.fallbackInterval), this.intervals.push(n);
|
|
8594
8594
|
let p = (g) => {
|
|
8595
|
-
let { action:
|
|
8596
|
-
|
|
8595
|
+
let { action: U } = g.data;
|
|
8596
|
+
U === 2 && this.apply().then(() => {
|
|
8597
8597
|
this.isLeader && r();
|
|
8598
8598
|
});
|
|
8599
8599
|
};
|
|
@@ -8737,7 +8737,7 @@ function cs(e, n) {
|
|
|
8737
8737
|
clearTimeout(t);
|
|
8738
8738
|
}, r;
|
|
8739
8739
|
}
|
|
8740
|
-
function
|
|
8740
|
+
function mi(e, n) {
|
|
8741
8741
|
let t = 0;
|
|
8742
8742
|
return function(...r) {
|
|
8743
8743
|
let p = (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -8745,66 +8745,66 @@ function si(e, n) {
|
|
|
8745
8745
|
};
|
|
8746
8746
|
}
|
|
8747
8747
|
var Te = () => Date.now(), Fa = 2147483647;
|
|
8748
|
-
function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: t = 0, element: r = gs, events: p = ds, timers: g = void 0, immediateEvents:
|
|
8748
|
+
function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: t = 0, element: r = gs, events: p = ds, timers: g = void 0, immediateEvents: U = [], onPresenceChange: d = () => {
|
|
8749
8749
|
}, onPrompt: l = () => {
|
|
8750
8750
|
}, onIdle: a = () => {
|
|
8751
8751
|
}, onActive: i = () => {
|
|
8752
8752
|
}, onAction: o = () => {
|
|
8753
8753
|
}, onMessage: s = () => {
|
|
8754
|
-
}, debounce: u = 0, throttle: m = 0, eventsThrottle: _ = 200, startOnMount: c = !0, startManually: y = !1, stopOnIdle: f = !1, crossTab:
|
|
8755
|
-
let G =
|
|
8754
|
+
}, debounce: u = 0, throttle: m = 0, eventsThrottle: _ = 200, startOnMount: c = !0, startManually: y = !1, stopOnIdle: f = !1, crossTab: b = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: x = !1, disabled: E = !1 } = {}) {
|
|
8755
|
+
let G = ae(Te()), O = ae(Te()), k = ae(null), h = ae(null), F = ae(0), A = ae(0), w = ae(0), R = ae(0), P = ae(!1), H = ae(!1), B = ae(!1), z = ae(!0), M = ae(!1), D = ae(null), S = ae(null), L = ae(e), N = ae(0);
|
|
8756
8756
|
pe(() => {
|
|
8757
8757
|
if (n && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), t && n) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
8758
8758
|
if (e >= Fa) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Fa}.`);
|
|
8759
8759
|
if (n >= Fa) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Fa}.`);
|
|
8760
8760
|
if (t >= Fa) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${Fa}.`);
|
|
8761
8761
|
if (t >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
8762
|
-
if (t ? (L.current = e - t, N.current = t) : (L.current = e, N.current = n), !
|
|
8762
|
+
if (t ? (L.current = e - t, N.current = t) : (L.current = e, N.current = n), !z.current) {
|
|
8763
8763
|
if (y || E) return;
|
|
8764
8764
|
P.current && (me.current(null, Se), S.current && S.current.active()), je();
|
|
8765
8765
|
}
|
|
8766
8766
|
}, [e, n, t, y, E]);
|
|
8767
|
-
let Z =
|
|
8767
|
+
let Z = ae(f);
|
|
8768
8768
|
pe(() => {
|
|
8769
8769
|
Z.current = f;
|
|
8770
8770
|
}, [f]);
|
|
8771
|
-
let q =
|
|
8771
|
+
let q = ae(U), j = ae(r), K = ae([...(/* @__PURE__ */ new Set([...p, ...U])).values()]), ie = ae(E);
|
|
8772
8772
|
pe(() => {
|
|
8773
|
-
ie.current = E, !
|
|
8773
|
+
ie.current = E, !z.current && (E ? Je() : y || je());
|
|
8774
8774
|
}, [E]);
|
|
8775
|
-
let re =
|
|
8775
|
+
let re = ae(d);
|
|
8776
8776
|
pe(() => {
|
|
8777
8777
|
re.current = d;
|
|
8778
8778
|
}, [d]);
|
|
8779
|
-
let ye =
|
|
8779
|
+
let ye = ae(l);
|
|
8780
8780
|
pe(() => {
|
|
8781
8781
|
ye.current = l;
|
|
8782
8782
|
}, [l]);
|
|
8783
|
-
let Ue =
|
|
8783
|
+
let Ue = ae(a);
|
|
8784
8784
|
pe(() => {
|
|
8785
8785
|
Ue.current = a;
|
|
8786
8786
|
}, [a]);
|
|
8787
|
-
let me =
|
|
8787
|
+
let me = ae(i);
|
|
8788
8788
|
pe(() => {
|
|
8789
8789
|
me.current = i;
|
|
8790
8790
|
}, [i]);
|
|
8791
|
-
let ce =
|
|
8791
|
+
let ce = ae(o);
|
|
8792
8792
|
pe(() => {
|
|
8793
8793
|
ce.current = o;
|
|
8794
8794
|
}, [o]);
|
|
8795
|
-
let ke =
|
|
8795
|
+
let ke = ae(s);
|
|
8796
8796
|
pe(() => {
|
|
8797
8797
|
ke.current = s;
|
|
8798
8798
|
}, [s]);
|
|
8799
8799
|
let fe = Oa(() => {
|
|
8800
8800
|
let V = (De, na) => ce.current(De, na);
|
|
8801
|
-
return u > 0 ? cs(V, u) : m > 0 ?
|
|
8802
|
-
}, [m, u]), Ve =
|
|
8801
|
+
return u > 0 ? cs(V, u) : m > 0 ? mi(V, m) : V;
|
|
8802
|
+
}, [m, u]), Ve = ae();
|
|
8803
8803
|
pe(() => {
|
|
8804
|
-
|
|
8804
|
+
b && v && (Ve.current = mi(() => {
|
|
8805
8805
|
S.current.active();
|
|
8806
8806
|
}, v));
|
|
8807
|
-
}, [
|
|
8807
|
+
}, [b, v]);
|
|
8808
8808
|
let Ce = () => {
|
|
8809
8809
|
D.current !== null && (Xe.clearTimeout(D.current), D.current = null);
|
|
8810
8810
|
}, Pe = (V, De = !0) => {
|
|
@@ -8838,12 +8838,12 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8838
8838
|
We(V);
|
|
8839
8839
|
return;
|
|
8840
8840
|
}
|
|
8841
|
-
B.current = !1, R.current = 0, w.current = 0, Pe(),
|
|
8842
|
-
}, ia =
|
|
8841
|
+
B.current = !1, R.current = 0, w.current = 0, Pe(), b && v && Ve.current();
|
|
8842
|
+
}, ia = ae(ta);
|
|
8843
8843
|
pe(() => {
|
|
8844
8844
|
let V = M.current;
|
|
8845
|
-
V && Fe(), _ > 0 ? ia.current =
|
|
8846
|
-
}, [_, m, u, ce,
|
|
8845
|
+
V && Fe(), _ > 0 ? ia.current = mi(ta, _) : ia.current = ta, V && xe();
|
|
8846
|
+
}, [_, m, u, ce, b, v]);
|
|
8847
8847
|
let xe = () => {
|
|
8848
8848
|
pa && j.current && (M.current || (K.current.forEach((V) => {
|
|
8849
8849
|
j.current.addEventListener(V, ia.current, { capture: !0, passive: !0 });
|
|
@@ -8852,14 +8852,14 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8852
8852
|
pa && j.current && (M.current || V) && (K.current.forEach((De) => {
|
|
8853
8853
|
j.current.removeEventListener(De, ia.current, { capture: !0 });
|
|
8854
8854
|
}), M.current = !1);
|
|
8855
|
-
}, je =
|
|
8855
|
+
}, je = W((V) => ie.current ? !1 : (Ce(), xe(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, S.current && !V && S.current.start(), Pe(), !0), [D, P, ie, L, S]), oa = W((V) => ie.current ? !1 : (Ce(), xe(), O.current = Te(), F.current += Te() - k.current, A.current += Te() - k.current, F.current = 0, P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, S.current && !V && S.current.reset(), y || Pe(), !0), [D, P, L, y, ie, S]), ga = W((V) => ie.current ? !1 : (Ce(), xe(), (P.current || H.current) && ve(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, O.current = Te(), S.current && !V && S.current.activate(), Pe(), !0), [D, P, H, ie, L, S]), Je = W((V = !1) => ie.current || B.current ? !1 : (R.current = ya(), B.current = !0, Fe(), Ce(), S.current && !V && S.current.pause(), !0), [D, ie, S]), Ye = W((V = !1) => ie.current || !B.current ? !1 : (B.current = !1, H.current || xe(), P.current || Pe(R.current), w.current && (w.current = Te()), S.current && !V && S.current.resume(), !0), [D, L, ie, R, S]), Va = W((V, De) => (S.current ? (De && ke.current(V, Se), S.current.message(V)) : De && ke.current(V, Se), !0), [s]), Da = W(() => P.current, [P]), Ea = W(() => H.current, [H]), Ja = W(() => S.current ? S.current.isLeader : null, [S]), Za = W(() => S.current ? S.current.isLastActive : null, [S]), da = W(() => S.current ? S.current.token : null, [S]), ya = W(() => {
|
|
8856
8856
|
if (B.current) return R.current;
|
|
8857
8857
|
let V = R.current ? R.current : N.current + L.current, De = h.current ? Te() - h.current : 0, na = Math.floor(V - De);
|
|
8858
8858
|
return na < 0 ? 0 : Math.abs(na);
|
|
8859
|
-
}, [L, N, H, R, h]), qe =
|
|
8859
|
+
}, [L, N, H, R, h]), qe = W(() => Math.round(Te() - O.current), [O]), ca = W(() => Math.round(Te() - G.current), [G]), fa = W(() => k.current ? new Date(k.current) : null, [k]), Na = W(() => h.current ? new Date(h.current) : null, [h]), La = W(() => P.current ? Math.round(Te() - k.current + F.current) : Math.round(F.current), [k, F]), Ua = W(() => P.current ? Math.round(Te() - k.current + A.current) : Math.round(A.current), [k, A]), Ga = W(() => {
|
|
8860
8860
|
let V = Math.round(qe() - La());
|
|
8861
8861
|
return V >= 0 ? V : 0;
|
|
8862
|
-
}, [k, F]), Ma =
|
|
8862
|
+
}, [k, F]), Ma = W(() => {
|
|
8863
8863
|
let V = Math.round(ca() - Ua());
|
|
8864
8864
|
return V >= 0 ? V : 0;
|
|
8865
8865
|
}, [k, F]);
|
|
@@ -8873,7 +8873,7 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8873
8873
|
pa && window.removeEventListener("beforeunload", V), S.current && S.current.close(), fe.cancel && fe.cancel(), Ce(), Fe(!0);
|
|
8874
8874
|
};
|
|
8875
8875
|
}, []), pe(() => {
|
|
8876
|
-
S.current && S.current.close(),
|
|
8876
|
+
S.current && S.current.close(), b ? S.current = new ps({ channelName: C, leaderElection: x, onPrompt: () => {
|
|
8877
8877
|
aa();
|
|
8878
8878
|
}, onIdle: () => {
|
|
8879
8879
|
we();
|
|
@@ -8882,17 +8882,17 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8882
8882
|
}, onMessage: (V) => {
|
|
8883
8883
|
ke.current(V, Se);
|
|
8884
8884
|
}, start: je, reset: oa, activate: ga, pause: Je, resume: Ye }) : S.current = null;
|
|
8885
|
-
}, [
|
|
8886
|
-
|
|
8887
|
-
}, [y, c, E,
|
|
8888
|
-
if (!
|
|
8889
|
-
let V = [...(/* @__PURE__ */ new Set([...p, ...
|
|
8890
|
-
if (Fe(), K.current = V, j.current = r, q.current =
|
|
8885
|
+
}, [b, C, x, ye, Ue, me, ke, je, oa, Je, Ye]), pe(() => {
|
|
8886
|
+
z.current || (Ce(), Fe(!0)), !(y || E) && (c ? je() : xe());
|
|
8887
|
+
}, [y, c, E, z]), pe(() => {
|
|
8888
|
+
if (!z.current) {
|
|
8889
|
+
let V = [...(/* @__PURE__ */ new Set([...p, ...U])).values()];
|
|
8890
|
+
if (Fe(), K.current = V, j.current = r, q.current = U, y || E) return;
|
|
8891
8891
|
c ? je() : xe();
|
|
8892
8892
|
}
|
|
8893
|
-
}, [r, JSON.stringify(p), JSON.stringify(
|
|
8894
|
-
|
|
8895
|
-
}, [
|
|
8893
|
+
}, [r, JSON.stringify(p), JSON.stringify(U), z, E, y, c]), pe(() => {
|
|
8894
|
+
z.current && (z.current = !1);
|
|
8895
|
+
}, [z]);
|
|
8896
8896
|
let Se = { message: Va, start: je, reset: oa, activate: ga, pause: Je, resume: Ye, isIdle: Da, isPrompted: Ea, isLeader: Ja, isLastActiveTab: Za, getTabId: da, getRemainingTime: ya, getElapsedTime: qe, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Na, getIdleTime: La, getTotalIdleTime: Ua, getActiveTime: Ga, getTotalActiveTime: Ma, setOnPresenceChange: (V) => {
|
|
8897
8897
|
d = V, re.current = V;
|
|
8898
8898
|
}, setOnPrompt: (V) => {
|
|
@@ -8908,7 +8908,7 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8908
8908
|
} };
|
|
8909
8909
|
return Se;
|
|
8910
8910
|
}
|
|
8911
|
-
var _s =
|
|
8911
|
+
var _s = jt(null);
|
|
8912
8912
|
_s.Consumer;
|
|
8913
8913
|
const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
8914
8914
|
onIdle: e,
|
|
@@ -8921,8 +8921,8 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
8921
8921
|
return $({
|
|
8922
8922
|
queryKey: ["inboxList"],
|
|
8923
8923
|
queryFn: async () => await n(),
|
|
8924
|
-
select: (
|
|
8925
|
-
const { data: d } =
|
|
8924
|
+
select: (U) => {
|
|
8925
|
+
const { data: d } = U;
|
|
8926
8926
|
return Le(d, (a) => {
|
|
8927
8927
|
const { internal_notifications_language: i } = a;
|
|
8928
8928
|
return {
|
|
@@ -8958,7 +8958,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
8958
8958
|
}, lr = () => {
|
|
8959
8959
|
const { client: e } = se();
|
|
8960
8960
|
return {
|
|
8961
|
-
newsListApi:
|
|
8961
|
+
newsListApi: W(
|
|
8962
8962
|
async ({ uid: t, params: r } = {}) => await e.get(`/news${t ? `/${t}` : ""}`, {
|
|
8963
8963
|
params: r
|
|
8964
8964
|
}),
|
|
@@ -9016,11 +9016,11 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9016
9016
|
return $({
|
|
9017
9017
|
queryKey: ["newsList"],
|
|
9018
9018
|
queryFn: () => {
|
|
9019
|
-
const { uid: g, params:
|
|
9020
|
-
return r({ uid: g, params:
|
|
9019
|
+
const { uid: g, params: U } = n || {};
|
|
9020
|
+
return r({ uid: g, params: U });
|
|
9021
9021
|
},
|
|
9022
9022
|
select: (g) => {
|
|
9023
|
-
const { data:
|
|
9023
|
+
const { data: U } = g, d = U.data?.filter((a) => a.is_active === 1), l = Le(d, (a) => {
|
|
9024
9024
|
const i = Ie(a.news_language, {
|
|
9025
9025
|
language: p
|
|
9026
9026
|
}) || a.news_language[0];
|
|
@@ -9042,128 +9042,128 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9042
9042
|
return $({
|
|
9043
9043
|
queryKey: ["newsList"],
|
|
9044
9044
|
queryFn: () => {
|
|
9045
|
-
const { uid: g, params:
|
|
9046
|
-
return r({ uid: g, params:
|
|
9045
|
+
const { uid: g, params: U } = n || {};
|
|
9046
|
+
return r({ uid: g, params: U });
|
|
9047
9047
|
},
|
|
9048
9048
|
select: (g) => {
|
|
9049
|
-
const
|
|
9049
|
+
const U = Ie(g.data.news_language, {
|
|
9050
9050
|
language: p
|
|
9051
9051
|
}) || g.data.news_language[0];
|
|
9052
9052
|
return {
|
|
9053
9053
|
...g.data,
|
|
9054
|
-
currentLngData:
|
|
9054
|
+
currentLngData: U
|
|
9055
9055
|
};
|
|
9056
9056
|
},
|
|
9057
9057
|
...e
|
|
9058
9058
|
});
|
|
9059
9059
|
}, Me = () => {
|
|
9060
|
-
const { client: e } = se(), n =
|
|
9060
|
+
const { client: e } = se(), n = W(async () => await e.get("/payment/list"), [e]), t = W(
|
|
9061
9061
|
async ({ paramsData: c }) => await e.get("/thirdPartyPayment/list", {
|
|
9062
9062
|
params: { ...c }
|
|
9063
9063
|
}),
|
|
9064
9064
|
[e]
|
|
9065
|
-
), r =
|
|
9065
|
+
), r = W(
|
|
9066
9066
|
async (c) => {
|
|
9067
|
-
const { deposit_amount: y, method_id: f, currency_code:
|
|
9067
|
+
const { deposit_amount: y, method_id: f, currency_code: b, provider_uid: C } = c;
|
|
9068
9068
|
return await e.post("/thirdPartyPayment/deposit", {
|
|
9069
9069
|
deposit: {
|
|
9070
9070
|
deposit_amount: y,
|
|
9071
9071
|
method_id: f,
|
|
9072
|
-
currency_code:
|
|
9072
|
+
currency_code: b,
|
|
9073
9073
|
provider_uid: C
|
|
9074
9074
|
}
|
|
9075
9075
|
});
|
|
9076
9076
|
},
|
|
9077
9077
|
[e]
|
|
9078
|
-
), p =
|
|
9078
|
+
), p = W(
|
|
9079
9079
|
async (c) => {
|
|
9080
|
-
const { bank_uid: y, amount: f, bank_number_last5:
|
|
9080
|
+
const { bank_uid: y, amount: f, bank_number_last5: b, postscript: C } = c;
|
|
9081
9081
|
return await e.post("/vip/deposit", {
|
|
9082
9082
|
bank_uid: y,
|
|
9083
9083
|
amount: f,
|
|
9084
|
-
bank_number_last5:
|
|
9084
|
+
bank_number_last5: b,
|
|
9085
9085
|
postscript: C
|
|
9086
9086
|
});
|
|
9087
9087
|
},
|
|
9088
9088
|
[e]
|
|
9089
|
-
), g =
|
|
9089
|
+
), g = W(
|
|
9090
9090
|
async (c) => {
|
|
9091
9091
|
const {
|
|
9092
9092
|
withdrawal_amount: y,
|
|
9093
9093
|
bank_account_number: f,
|
|
9094
|
-
currency_code:
|
|
9094
|
+
currency_code: b,
|
|
9095
9095
|
withdrawal_code: C
|
|
9096
9096
|
} = c;
|
|
9097
9097
|
return await e.post("/thirdPartyPayment/withdraw", {
|
|
9098
9098
|
withdraw: {
|
|
9099
9099
|
withdrawal_amount: y,
|
|
9100
9100
|
bank_account_number: f,
|
|
9101
|
-
currency_code:
|
|
9102
|
-
withdrawal_code:
|
|
9101
|
+
currency_code: b,
|
|
9102
|
+
withdrawal_code: $t.MD5(C).toString(),
|
|
9103
9103
|
payment_type: "ThirdParty"
|
|
9104
9104
|
}
|
|
9105
9105
|
});
|
|
9106
9106
|
},
|
|
9107
9107
|
[e]
|
|
9108
|
-
),
|
|
9108
|
+
), U = W(
|
|
9109
9109
|
async ({ paramsData: c } = {}) => {
|
|
9110
|
-
const { str_date: y, end_date: f, limit:
|
|
9110
|
+
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Ee().format("HH:mm:ss"), x = Ee().subtract(24, "hour").format("HH:mm:ss");
|
|
9111
9111
|
return await e.get("/report/deposit", {
|
|
9112
9112
|
params: {
|
|
9113
9113
|
str_date: `${Ee(y).format("YYYY-MM-DD")} ${v}`,
|
|
9114
9114
|
end_date: `${Ee(f).format("YYYY-MM-DD")} ${x}`,
|
|
9115
|
-
limit:
|
|
9115
|
+
limit: b,
|
|
9116
9116
|
page: C
|
|
9117
9117
|
}
|
|
9118
9118
|
});
|
|
9119
9119
|
},
|
|
9120
9120
|
[e]
|
|
9121
|
-
), d =
|
|
9121
|
+
), d = W(
|
|
9122
9122
|
async ({ paramsData: c }) => {
|
|
9123
|
-
const { str_date: y, end_date: f, limit:
|
|
9123
|
+
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Ee().format("HH:mm:ss"), x = Ee().subtract(24, "hour").format("HH:mm:ss");
|
|
9124
9124
|
return await e.get("report/eventsreward", {
|
|
9125
9125
|
params: {
|
|
9126
9126
|
str_date: `${Ee(y).format("YYYY-MM-DD")} ${v}`,
|
|
9127
9127
|
end_date: `${Ee(f).format("YYYY-MM-DD")} ${x}`,
|
|
9128
|
-
limit:
|
|
9128
|
+
limit: b,
|
|
9129
9129
|
page: C
|
|
9130
9130
|
}
|
|
9131
9131
|
});
|
|
9132
9132
|
},
|
|
9133
9133
|
[e]
|
|
9134
|
-
), l =
|
|
9134
|
+
), l = W(
|
|
9135
9135
|
async ({ paramsData: c } = {}) => {
|
|
9136
|
-
const { str_date: y, end_date: f, limit:
|
|
9136
|
+
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {};
|
|
9137
9137
|
return await e.get("/report/withdraw", {
|
|
9138
9138
|
params: {
|
|
9139
9139
|
str_date: `${Ee(y).format("YYYY-MM-DD")} 12:00:00`,
|
|
9140
9140
|
end_date: `${Ee(f).format("YYYY-MM-DD")} 11:59:59`,
|
|
9141
|
-
limit:
|
|
9141
|
+
limit: b,
|
|
9142
9142
|
page: C
|
|
9143
9143
|
}
|
|
9144
9144
|
});
|
|
9145
9145
|
},
|
|
9146
9146
|
[e]
|
|
9147
|
-
), a =
|
|
9147
|
+
), a = W(
|
|
9148
9148
|
async ({ paramsData: c } = {}) => {
|
|
9149
|
-
const { str_date: y, end_date: f, limit:
|
|
9149
|
+
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {};
|
|
9150
9150
|
return await e.get("/report/other", {
|
|
9151
9151
|
params: {
|
|
9152
9152
|
str_date: `${Ee(y).format("YYYY-MM-DD")} 12:00:00`,
|
|
9153
9153
|
end_date: `${Ee(f).format("YYYY-MM-DD")} 11:59:59`,
|
|
9154
|
-
limit:
|
|
9154
|
+
limit: b,
|
|
9155
9155
|
page: C
|
|
9156
9156
|
}
|
|
9157
9157
|
});
|
|
9158
9158
|
},
|
|
9159
9159
|
[e]
|
|
9160
|
-
), i =
|
|
9160
|
+
), i = W(
|
|
9161
9161
|
async (c) => {
|
|
9162
9162
|
const { redeem_code: y } = c;
|
|
9163
9163
|
return await e.post(`/sn/redeem/${y}`);
|
|
9164
9164
|
},
|
|
9165
9165
|
[e]
|
|
9166
|
-
), o =
|
|
9166
|
+
), o = W(
|
|
9167
9167
|
async (c) => {
|
|
9168
9168
|
const { type: y, code: f } = c;
|
|
9169
9169
|
return await e.post("/member/invoice", {
|
|
@@ -9172,20 +9172,20 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9172
9172
|
});
|
|
9173
9173
|
},
|
|
9174
9174
|
[e]
|
|
9175
|
-
), s =
|
|
9175
|
+
), s = W(
|
|
9176
9176
|
async (c) => {
|
|
9177
|
-
const { type: y, code: f, uid:
|
|
9178
|
-
return await e.put(`/member/invoice/${
|
|
9177
|
+
const { type: y, code: f, uid: b } = c;
|
|
9178
|
+
return await e.put(`/member/invoice/${b}`, {
|
|
9179
9179
|
type: y,
|
|
9180
9180
|
code: f
|
|
9181
9181
|
});
|
|
9182
9182
|
},
|
|
9183
9183
|
[e]
|
|
9184
|
-
), u =
|
|
9184
|
+
), u = W(
|
|
9185
9185
|
async (c, y) => {
|
|
9186
9186
|
const {
|
|
9187
9187
|
str_date: f,
|
|
9188
|
-
end_date:
|
|
9188
|
+
end_date: b,
|
|
9189
9189
|
limit: C = 25,
|
|
9190
9190
|
page: v = 1,
|
|
9191
9191
|
wallet_log_uid: x,
|
|
@@ -9194,7 +9194,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9194
9194
|
return await e.get(`/walletlog/${y}`, {
|
|
9195
9195
|
params: {
|
|
9196
9196
|
s_date: f,
|
|
9197
|
-
e_date:
|
|
9197
|
+
e_date: b,
|
|
9198
9198
|
wallet_log_uid: x,
|
|
9199
9199
|
transhash: E,
|
|
9200
9200
|
limit: C,
|
|
@@ -9203,12 +9203,12 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9203
9203
|
});
|
|
9204
9204
|
},
|
|
9205
9205
|
[e]
|
|
9206
|
-
), m =
|
|
9206
|
+
), m = W(
|
|
9207
9207
|
async (c) => {
|
|
9208
9208
|
const {
|
|
9209
9209
|
str_date: y,
|
|
9210
9210
|
end_date: f,
|
|
9211
|
-
limit:
|
|
9211
|
+
limit: b = 25,
|
|
9212
9212
|
page: C = 1,
|
|
9213
9213
|
treasure_uid: v
|
|
9214
9214
|
} = c;
|
|
@@ -9216,19 +9216,19 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9216
9216
|
params: {
|
|
9217
9217
|
str_date: y,
|
|
9218
9218
|
end_date: f,
|
|
9219
|
-
limit:
|
|
9219
|
+
limit: b,
|
|
9220
9220
|
page: C,
|
|
9221
9221
|
treasure_uid: v
|
|
9222
9222
|
}
|
|
9223
9223
|
});
|
|
9224
9224
|
},
|
|
9225
9225
|
[e]
|
|
9226
|
-
), _ =
|
|
9226
|
+
), _ = W(
|
|
9227
9227
|
async (c) => {
|
|
9228
9228
|
const {
|
|
9229
9229
|
str_date: y,
|
|
9230
9230
|
end_date: f,
|
|
9231
|
-
limit:
|
|
9231
|
+
limit: b = 25,
|
|
9232
9232
|
page: C = 1,
|
|
9233
9233
|
order_token: v
|
|
9234
9234
|
} = c;
|
|
@@ -9236,7 +9236,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9236
9236
|
params: {
|
|
9237
9237
|
str_date: y,
|
|
9238
9238
|
end_date: f,
|
|
9239
|
-
limit:
|
|
9239
|
+
limit: b,
|
|
9240
9240
|
page: C,
|
|
9241
9241
|
order_token: v
|
|
9242
9242
|
}
|
|
@@ -9250,7 +9250,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9250
9250
|
depositApi: r,
|
|
9251
9251
|
bankDepositApi: p,
|
|
9252
9252
|
withdrawApi: g,
|
|
9253
|
-
depositTransactionApi:
|
|
9253
|
+
depositTransactionApi: U,
|
|
9254
9254
|
eventTransactionApi: d,
|
|
9255
9255
|
withdrawTransactionApi: l,
|
|
9256
9256
|
redeemCodeDepositApi: i,
|
|
@@ -9274,7 +9274,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9274
9274
|
queryKey: ["depositV2", e],
|
|
9275
9275
|
queryFn: () => t({ paramsData: e }),
|
|
9276
9276
|
select: (r) => {
|
|
9277
|
-
const { third_party: p, bank: g, vip:
|
|
9277
|
+
const { third_party: p, bank: g, vip: U } = r, d = Le(p, (l) => ({
|
|
9278
9278
|
...l,
|
|
9279
9279
|
providerList: Le(l.providers, (a) => ({
|
|
9280
9280
|
...a,
|
|
@@ -9287,7 +9287,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9287
9287
|
}));
|
|
9288
9288
|
return {
|
|
9289
9289
|
bank: g,
|
|
9290
|
-
vip:
|
|
9290
|
+
vip: U,
|
|
9291
9291
|
thirdParty: d
|
|
9292
9292
|
};
|
|
9293
9293
|
},
|
|
@@ -9412,10 +9412,10 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9412
9412
|
depositAction: r = {},
|
|
9413
9413
|
withdrawAction: p = {},
|
|
9414
9414
|
bankDeposit: g = {},
|
|
9415
|
-
eventTransaction:
|
|
9415
|
+
eventTransaction: U = {},
|
|
9416
9416
|
withdrawTransaction: d = {}
|
|
9417
9417
|
} = {}) => {
|
|
9418
|
-
const l = Cs(e), a = vs(n), i = ks(t), o = hs(r), s = Ts(p), u = Ss(g), m = xs(
|
|
9418
|
+
const l = Cs(e), a = vs(n), i = ks(t), o = hs(r), s = Ts(p), u = Ss(g), m = xs(U), _ = Ds(
|
|
9419
9419
|
d
|
|
9420
9420
|
);
|
|
9421
9421
|
return {
|
|
@@ -9428,24 +9428,24 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9428
9428
|
eventTransaction: m,
|
|
9429
9429
|
withdrawTransaction: _
|
|
9430
9430
|
};
|
|
9431
|
-
}, or = "3.7.8", Es = or, Ia = typeof Buffer == "function", Rn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Pn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ns = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ya = Array.prototype.slice.call(Ns),
|
|
9431
|
+
}, or = "3.7.8", Es = or, Ia = typeof Buffer == "function", Rn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Pn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ns = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ya = Array.prototype.slice.call(Ns), mt = ((e) => {
|
|
9432
9432
|
let n = {};
|
|
9433
9433
|
return e.forEach((t, r) => n[t] = r), n;
|
|
9434
9434
|
})(Ya), Ls = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Re = String.fromCharCode.bind(String), wn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), sr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), mr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ur = (e) => {
|
|
9435
9435
|
let n, t, r, p, g = "";
|
|
9436
|
-
const
|
|
9436
|
+
const U = e.length % 3;
|
|
9437
9437
|
for (let d = 0; d < e.length; ) {
|
|
9438
9438
|
if ((t = e.charCodeAt(d++)) > 255 || (r = e.charCodeAt(d++)) > 255 || (p = e.charCodeAt(d++)) > 255)
|
|
9439
9439
|
throw new TypeError("invalid character found");
|
|
9440
9440
|
n = t << 16 | r << 8 | p, g += Ya[n >> 18 & 63] + Ya[n >> 12 & 63] + Ya[n >> 6 & 63] + Ya[n & 63];
|
|
9441
9441
|
}
|
|
9442
|
-
return
|
|
9442
|
+
return U ? g.slice(0, U - 3) + "===".substring(U) : g;
|
|
9443
9443
|
}, Si = typeof btoa == "function" ? (e) => btoa(e) : Ia ? (e) => Buffer.from(e, "binary").toString("base64") : ur, gi = Ia ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
9444
9444
|
let t = [];
|
|
9445
9445
|
for (let r = 0, p = e.length; r < p; r += 4096)
|
|
9446
9446
|
t.push(Re.apply(null, e.subarray(r, r + 4096)));
|
|
9447
9447
|
return Si(t.join(""));
|
|
9448
|
-
},
|
|
9448
|
+
}, qt = (e, n = !1) => n ? sr(gi(e)) : gi(e), Gs = (e) => {
|
|
9449
9449
|
if (e.length < 2) {
|
|
9450
9450
|
var n = e.charCodeAt(0);
|
|
9451
9451
|
return n < 128 ? e : n < 2048 ? Re(192 | n >>> 6) + Re(128 | n & 63) : Re(224 | n >>> 12 & 15) + Re(128 | n >>> 6 & 63) + Re(128 | n & 63);
|
|
@@ -9469,7 +9469,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9469
9469
|
e += "==".slice(2 - (e.length & 3));
|
|
9470
9470
|
let n, t, r, p = [];
|
|
9471
9471
|
for (let g = 0; g < e.length; )
|
|
9472
|
-
n =
|
|
9472
|
+
n = mt[e.charAt(g++)] << 18 | mt[e.charAt(g++)] << 12 | (t = mt[e.charAt(g++)]) << 6 | (r = mt[e.charAt(g++)]), t === 64 ? p.push(Re(n >> 16 & 255)) : r === 64 ? p.push(Re(n >> 16 & 255, n >> 8 & 255)) : p.push(Re(n >> 16 & 255, n >> 8 & 255, n & 255));
|
|
9473
9473
|
return p.join("");
|
|
9474
9474
|
}, Di = typeof atob == "function" ? (e) => atob(mr(e)) : Ia ? (e) => Buffer.from(e, "base64").toString("binary") : dr, cr = Ia ? (e) => wn(Buffer.from(e, "base64")) : (e) => wn(Di(e).split("").map((n) => n.charCodeAt(0))), fr = (e) => cr(_r(e)), ws = Ia ? (e) => Buffer.from(e, "base64").toString("utf8") : Rn ? (e) => Rn.decode(cr(e)) : (e) => gr(Di(e)), _r = (e) => mr(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), di = (e) => ws(_r(e)), Fs = (e) => {
|
|
9475
9475
|
if (typeof e != "string")
|
|
@@ -9497,11 +9497,11 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9497
9497
|
}, br = function() {
|
|
9498
9498
|
const e = (n, t) => Object.defineProperty(Uint8Array.prototype, n, yr(t));
|
|
9499
9499
|
e("toBase64", function(n) {
|
|
9500
|
-
return
|
|
9500
|
+
return qt(this, n);
|
|
9501
9501
|
}), e("toBase64URI", function() {
|
|
9502
|
-
return
|
|
9502
|
+
return qt(this, !0);
|
|
9503
9503
|
}), e("toBase64URL", function() {
|
|
9504
|
-
return
|
|
9504
|
+
return qt(this, !0);
|
|
9505
9505
|
});
|
|
9506
9506
|
}, As = () => {
|
|
9507
9507
|
Ur(), br();
|
|
@@ -9521,7 +9521,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9521
9521
|
btou: gr,
|
|
9522
9522
|
decode: di,
|
|
9523
9523
|
isValid: Fs,
|
|
9524
|
-
fromUint8Array:
|
|
9524
|
+
fromUint8Array: qt,
|
|
9525
9525
|
toUint8Array: fr,
|
|
9526
9526
|
extendString: Ur,
|
|
9527
9527
|
extendUint8Array: br,
|
|
@@ -9531,11 +9531,11 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9531
9531
|
return $({
|
|
9532
9532
|
queryKey: ["playGame"],
|
|
9533
9533
|
queryFn: async () => {
|
|
9534
|
-
const { gameUid: r, gameCode: p, isMobile: g, gameCurrency:
|
|
9534
|
+
const { gameUid: r, gameCode: p, isMobile: g, gameCurrency: U, currentCurrency: d } = e || {}, l = await t({
|
|
9535
9535
|
gameUid: r,
|
|
9536
9536
|
gameCode: p,
|
|
9537
9537
|
isMobile: g,
|
|
9538
|
-
gameCurrency:
|
|
9538
|
+
gameCurrency: U,
|
|
9539
9539
|
currentCurrency: d
|
|
9540
9540
|
}), {
|
|
9541
9541
|
game_currency: a,
|
|
@@ -9563,7 +9563,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9563
9563
|
...n
|
|
9564
9564
|
});
|
|
9565
9565
|
}, Cr = () => {
|
|
9566
|
-
const { client: e } = se(), n =
|
|
9566
|
+
const { client: e } = se(), n = W(async () => await e.get("/rebate"), [e]), t = W(async () => await e.post("/withdraw/rebate"), [e]);
|
|
9567
9567
|
return {
|
|
9568
9568
|
currentRebateApi: n,
|
|
9569
9569
|
receiveRebateApi: t
|
|
@@ -9594,18 +9594,18 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9594
9594
|
currentRebate: n,
|
|
9595
9595
|
receiveRebate: t
|
|
9596
9596
|
};
|
|
9597
|
-
},
|
|
9598
|
-
const { client: e } = se(), n =
|
|
9599
|
-
async ({ uid:
|
|
9597
|
+
}, tt = () => {
|
|
9598
|
+
const { client: e } = se(), n = W(
|
|
9599
|
+
async ({ uid: U, params: d } = {}) => await e.get(`/memberRewards${U ? `/${U}` : ""}`, {
|
|
9600
9600
|
params: d
|
|
9601
9601
|
}),
|
|
9602
9602
|
[e]
|
|
9603
|
-
), t =
|
|
9604
|
-
async (
|
|
9605
|
-
memberRewards_uid:
|
|
9603
|
+
), t = W(async () => await e.get("/memberRewards/member/unused"), [e]), r = W(async () => await e.get("/memberRewards/member/expired"), [e]), p = W(
|
|
9604
|
+
async (U) => await e.post("/memberRewards/memberGetRewards", {
|
|
9605
|
+
memberRewards_uid: U
|
|
9606
9606
|
}),
|
|
9607
9607
|
[e]
|
|
9608
|
-
), g =
|
|
9608
|
+
), g = W(async () => await e.get("/memberRewards/member/history"), [e]);
|
|
9609
9609
|
return {
|
|
9610
9610
|
rewardListApi: n,
|
|
9611
9611
|
unUsedRewardListApi: t,
|
|
@@ -9614,7 +9614,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9614
9614
|
historyRewardApi: g
|
|
9615
9615
|
};
|
|
9616
9616
|
}, Ws = ({ options: e, formData: n } = {}) => {
|
|
9617
|
-
const { rewardListApi: t } =
|
|
9617
|
+
const { rewardListApi: t } = tt();
|
|
9618
9618
|
return $({
|
|
9619
9619
|
queryKey: ["rewardsList"],
|
|
9620
9620
|
queryFn: () => {
|
|
@@ -9625,7 +9625,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9625
9625
|
try {
|
|
9626
9626
|
const p = Le(Y(r, "data.data", []), (g) => {
|
|
9627
9627
|
const {
|
|
9628
|
-
wagering_restricted_amount:
|
|
9628
|
+
wagering_restricted_amount: U,
|
|
9629
9629
|
claimed_amount: d
|
|
9630
9630
|
} = g, l = Y(g, "rewards", {}), {
|
|
9631
9631
|
expiration_days: a,
|
|
@@ -9641,7 +9641,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9641
9641
|
rewardPosition: o,
|
|
9642
9642
|
rewardType: s,
|
|
9643
9643
|
rewardUid: u,
|
|
9644
|
-
rewardWagering:
|
|
9644
|
+
rewardWagering: U,
|
|
9645
9645
|
rewardAmount: d,
|
|
9646
9646
|
rewardBg: Kn(),
|
|
9647
9647
|
rewardIcon: Zn("win")
|
|
@@ -9661,28 +9661,28 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9661
9661
|
...e
|
|
9662
9662
|
});
|
|
9663
9663
|
}, zs = ({ options: e } = {}) => {
|
|
9664
|
-
const { redeemRewardApi: n } =
|
|
9664
|
+
const { redeemRewardApi: n } = tt();
|
|
9665
9665
|
return X({
|
|
9666
9666
|
mutationKey: ["redeemReward"],
|
|
9667
9667
|
mutationFn: async (t) => await n(t),
|
|
9668
9668
|
...e
|
|
9669
9669
|
});
|
|
9670
9670
|
}, Is = ({ options: e } = {}) => {
|
|
9671
|
-
const { unUsedRewardListApi: n } =
|
|
9671
|
+
const { unUsedRewardListApi: n } = tt();
|
|
9672
9672
|
return $({
|
|
9673
9673
|
queryKey: ["unUsedRewardsList"],
|
|
9674
9674
|
queryFn: n,
|
|
9675
9675
|
...e
|
|
9676
9676
|
});
|
|
9677
9677
|
}, Vs = ({ options: e } = {}) => {
|
|
9678
|
-
const { expiredRewardListApi: n } =
|
|
9678
|
+
const { expiredRewardListApi: n } = tt();
|
|
9679
9679
|
return $({
|
|
9680
9680
|
queryKey: ["expiredRewardsList"],
|
|
9681
9681
|
queryFn: n,
|
|
9682
9682
|
...e
|
|
9683
9683
|
});
|
|
9684
9684
|
}, Js = ({ options: e } = {}) => {
|
|
9685
|
-
const { historyRewardApi: n } =
|
|
9685
|
+
const { historyRewardApi: n } = tt();
|
|
9686
9686
|
return $({
|
|
9687
9687
|
queryKey: ["historyRewardsList"],
|
|
9688
9688
|
queryFn: n,
|
|
@@ -9714,12 +9714,12 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9714
9714
|
historyRewardsListQuery: g
|
|
9715
9715
|
};
|
|
9716
9716
|
}, vr = () => {
|
|
9717
|
-
const { client: e } = se(), n =
|
|
9717
|
+
const { client: e } = se(), n = W(
|
|
9718
9718
|
async (r = {}) => {
|
|
9719
9719
|
const {
|
|
9720
9720
|
startTime: p = "2025-12-30 00:00:00",
|
|
9721
9721
|
endTime: g = "2026-12-31 23:59:59",
|
|
9722
|
-
isActive:
|
|
9722
|
+
isActive: U = 1,
|
|
9723
9723
|
showUnavailable: d = 1,
|
|
9724
9724
|
orderBy: l = "total_prize_money",
|
|
9725
9725
|
//total_prize_money,updated_at,created_at
|
|
@@ -9729,7 +9729,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9729
9729
|
params: {
|
|
9730
9730
|
start_time: p,
|
|
9731
9731
|
end_time: g,
|
|
9732
|
-
is_active:
|
|
9732
|
+
is_active: U,
|
|
9733
9733
|
show_unavailable: d,
|
|
9734
9734
|
order_by: l,
|
|
9735
9735
|
page: a
|
|
@@ -9737,7 +9737,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9737
9737
|
});
|
|
9738
9738
|
},
|
|
9739
9739
|
[e]
|
|
9740
|
-
), t =
|
|
9740
|
+
), t = W(
|
|
9741
9741
|
async (r) => {
|
|
9742
9742
|
const { treasure_uid: p = "" } = r;
|
|
9743
9743
|
return await e.post(`/treasure/redeem/${p}`);
|
|
@@ -9753,8 +9753,8 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9753
9753
|
return $({
|
|
9754
9754
|
queryKey: ["treasureList", e],
|
|
9755
9755
|
queryFn: () => g(e),
|
|
9756
|
-
select: (
|
|
9757
|
-
const d = Y(
|
|
9756
|
+
select: (U) => {
|
|
9757
|
+
const d = Y(U, "data", {}), l = {
|
|
9758
9758
|
current_page: Y(d, "current_page", 1),
|
|
9759
9759
|
per_page: Y(d, "per_page", 10),
|
|
9760
9760
|
total: Y(d, "total", 1),
|
|
@@ -9784,7 +9784,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9784
9784
|
...e
|
|
9785
9785
|
});
|
|
9786
9786
|
}, hr = () => {
|
|
9787
|
-
const { client: e } = se(), n =
|
|
9787
|
+
const { client: e } = se(), n = W(async () => await e.get("/vip/list"), [e]), t = W(async () => await e.get("/vip/check"), [e]);
|
|
9788
9788
|
return {
|
|
9789
9789
|
vipListApi: n,
|
|
9790
9790
|
vipInfoApi: t
|
|
@@ -9795,7 +9795,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9795
9795
|
queryKey: ["vipInfo"],
|
|
9796
9796
|
queryFn: async () => r(),
|
|
9797
9797
|
select: (p) => {
|
|
9798
|
-
const { data: g } = p,
|
|
9798
|
+
const { data: g } = p, U = Y(g, "data", []), d = Le(U, (a) => ({
|
|
9799
9799
|
currentWager: a.wagering || a.value,
|
|
9800
9800
|
currentStatus: a.status,
|
|
9801
9801
|
currentOverflow: a.promotion_overflow,
|
|
@@ -9831,9 +9831,9 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9831
9831
|
vip_withdrawal_rate: i,
|
|
9832
9832
|
rebate_range: o,
|
|
9833
9833
|
vip_game_rebate: s
|
|
9834
|
-
} = d, u = Ie(l, { currency_code: t }) || {}, m = Ie(a, { currency_code: t }) || {}, _ = i, c = Le(o, (
|
|
9835
|
-
...
|
|
9836
|
-
rebateRange: JSON.parse(
|
|
9834
|
+
} = d, u = Ie(l, { currency_code: t }) || {}, m = Ie(a, { currency_code: t }) || {}, _ = i, c = Le(o, (b) => ({
|
|
9835
|
+
...b,
|
|
9836
|
+
rebateRange: JSON.parse(b.rebate_range)
|
|
9837
9837
|
})), y = Y(s, "[0]", {}), f = {
|
|
9838
9838
|
...y,
|
|
9839
9839
|
platformRebate: JSON.parse(y.rebate || "{}")
|
|
@@ -9855,7 +9855,49 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9855
9855
|
vipList: {}
|
|
9856
9856
|
}) => ({
|
|
9857
9857
|
vipList: Zs({ options: e.vipList })
|
|
9858
|
-
}),
|
|
9858
|
+
}), Du = ({ onMessage: e } = {}) => {
|
|
9859
|
+
const [n, t] = Xa(!1), [r, p] = Xa([]), g = ae(e);
|
|
9860
|
+
g.current = e;
|
|
9861
|
+
const U = W((o) => {
|
|
9862
|
+
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
9863
|
+
p((u) => [...u, { time: s, message: o }]);
|
|
9864
|
+
}, []);
|
|
9865
|
+
pe(() => {
|
|
9866
|
+
if (window.chrome && window.chrome.webview) {
|
|
9867
|
+
t(!0), U("WebView2 環境已就緒");
|
|
9868
|
+
const o = (s) => {
|
|
9869
|
+
U(`收到 C# 回覆:${s.data}`), g.current?.(s.data);
|
|
9870
|
+
};
|
|
9871
|
+
return window.chrome.webview.addEventListener("message", o), () => {
|
|
9872
|
+
window.chrome.webview.removeEventListener("message", o);
|
|
9873
|
+
};
|
|
9874
|
+
} else
|
|
9875
|
+
t(!1), U("目前為一般瀏覽器環境,無法與 C# 通訊");
|
|
9876
|
+
}, [U]);
|
|
9877
|
+
const d = W(
|
|
9878
|
+
(o) => {
|
|
9879
|
+
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
9880
|
+
if (window.chrome && window.chrome.webview) {
|
|
9881
|
+
const u = JSON.stringify({
|
|
9882
|
+
action: o,
|
|
9883
|
+
timestamp: s,
|
|
9884
|
+
source: "test_buttons"
|
|
9885
|
+
});
|
|
9886
|
+
window.chrome.webview.postMessage(u), U(`已傳送 [${o}] 到 C#`);
|
|
9887
|
+
} else
|
|
9888
|
+
U(`模擬傳送 [${o}](非 WebView2 環境)`);
|
|
9889
|
+
},
|
|
9890
|
+
[U]
|
|
9891
|
+
), l = W(() => d("home"), [d]), a = W(() => d("clearcatch"), [d]), i = W(() => d("restart_money_machine"), [d]);
|
|
9892
|
+
return {
|
|
9893
|
+
isWebView2: n,
|
|
9894
|
+
sendAction: d,
|
|
9895
|
+
webViewHome: l,
|
|
9896
|
+
webViewClearCache: a,
|
|
9897
|
+
webViewRestartMoneyMachine: i,
|
|
9898
|
+
logs: r
|
|
9899
|
+
};
|
|
9900
|
+
}, ut = "game-icon-ds88", Eu = ({ gameData: e = {} } = {}) => {
|
|
9859
9901
|
const { lng: n } = se(), t = Xr(n), {
|
|
9860
9902
|
gameCode: r,
|
|
9861
9903
|
// 遊戲代碼
|
|
@@ -9863,7 +9905,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9863
9905
|
// 遊戲唯一標識符
|
|
9864
9906
|
gameTypeUid: g,
|
|
9865
9907
|
// 遊戲類型唯一標識符
|
|
9866
|
-
platformUid:
|
|
9908
|
+
platformUid: U,
|
|
9867
9909
|
// 平台唯一標識符
|
|
9868
9910
|
// platform_enum: platformEnum, // 平台枚舉
|
|
9869
9911
|
currencyCode: d,
|
|
@@ -9889,7 +9931,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9889
9931
|
// 是否無效投注
|
|
9890
9932
|
haveJackpot: f,
|
|
9891
9933
|
// 是否有累積獎金
|
|
9892
|
-
userClickCount:
|
|
9934
|
+
userClickCount: b,
|
|
9893
9935
|
// 用戶點擊次數
|
|
9894
9936
|
gameNameEn: C,
|
|
9895
9937
|
// 英文名稱
|
|
@@ -9899,12 +9941,12 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9899
9941
|
// 越南名稱
|
|
9900
9942
|
gameNameTw: E
|
|
9901
9943
|
// 繁體中文名稱
|
|
9902
|
-
} = e, G = e?.[`gameName${t}`], O = `${
|
|
9944
|
+
} = e, G = e?.[`gameName${t}`], O = `${lt}/${ut}/${n}/${a}/${nt(r, / /g, "_")}.webp`, k = `${lt}/${ut}/${n}/${a}/${nt(r, / /g, "_")}.gif`, h = `${lt}/${ut}/en/${a}/${nt(r, / /g, "_")}.webp`, F = `${lt}/${ut}/en/${a}/${nt(r, / /g, "_")}.gif`;
|
|
9903
9945
|
return {
|
|
9904
9946
|
gameCode: r,
|
|
9905
9947
|
gameUid: p,
|
|
9906
9948
|
gameTypeUid: g,
|
|
9907
|
-
providerUid:
|
|
9949
|
+
providerUid: U,
|
|
9908
9950
|
supportCurrency: d,
|
|
9909
9951
|
enterLobbyMode: l,
|
|
9910
9952
|
gamePlatform: a,
|
|
@@ -9914,7 +9956,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9914
9956
|
isUnderMaintenance: u,
|
|
9915
9957
|
supportVertical: m,
|
|
9916
9958
|
supportHorizontal: _,
|
|
9917
|
-
userClickCount:
|
|
9959
|
+
userClickCount: b,
|
|
9918
9960
|
gameNameEn: C,
|
|
9919
9961
|
gameNameZh: v,
|
|
9920
9962
|
gameNameVi: x,
|
|
@@ -9939,7 +9981,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9939
9981
|
"HACK",
|
|
9940
9982
|
"NAGA",
|
|
9941
9983
|
"RSG"
|
|
9942
|
-
], e) && n ? `${e}_dark` : e,
|
|
9984
|
+
], e) && n ? `${e}_dark` : e, Nu = ({ platformData: e, darkMode: n } = {}) => {
|
|
9943
9985
|
const {
|
|
9944
9986
|
SubPlatformEnum: t,
|
|
9945
9987
|
// 子平台枚舉
|
|
@@ -9949,7 +9991,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9949
9991
|
// 是否維護中
|
|
9950
9992
|
maintenanceStartTime: g,
|
|
9951
9993
|
// 維護開始時間
|
|
9952
|
-
maintenanceEndTime:
|
|
9994
|
+
maintenanceEndTime: U,
|
|
9953
9995
|
// 維護結束時間
|
|
9954
9996
|
platform: d,
|
|
9955
9997
|
// 平台代碼
|
|
@@ -9967,7 +10009,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9967
10009
|
platformEnum: r,
|
|
9968
10010
|
isUnderMaintenance: p,
|
|
9969
10011
|
maintenanceStartTime: g,
|
|
9970
|
-
maintenanceEndTime:
|
|
10012
|
+
maintenanceEndTime: U,
|
|
9971
10013
|
platform: d,
|
|
9972
10014
|
platformUid: l,
|
|
9973
10015
|
platformMode: a,
|
|
@@ -9975,7 +10017,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9975
10017
|
tempMaintenanceEndTime: o,
|
|
9976
10018
|
platformImageUrl: s
|
|
9977
10019
|
};
|
|
9978
|
-
}, qs = (e = {}) => !
|
|
10020
|
+
}, qs = (e = {}) => !Yt(e) || Ne(e) ? [] : Xt(e), On = (e = []) => !ea(e) || Ne(e) ? [] : Le(e, "platform"), $s = (e = []) => !ea(e) || Ne(e) ? [] : Le(e, "gameTypeName"), Qs = (e = []) => !ea(e) || Ne(e) ? [] : Le(e, "game_subtype"), js = (e = {}) => !Yt(e) || Ne(e) ? [] : Xt(e), Ys = (e = [], n = []) => !ea(e) || Ne(e) ? {} : !ea(n) || Ne(n) ? {} : e.reduce((t, r) => {
|
|
9979
10021
|
const p = n.map((g) => g.game_subtype);
|
|
9980
10022
|
return p.forEach((g) => {
|
|
9981
10023
|
t[g] = t[g] || [];
|
|
@@ -9986,23 +10028,23 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9986
10028
|
gameList: t = {},
|
|
9987
10029
|
allGameTypes: r = [],
|
|
9988
10030
|
allPlatforms: p = []
|
|
9989
|
-
}) => !ea(e) || !ea(n) ? {} : Ne(t) ? {} : e.reduce((g,
|
|
10031
|
+
}) => !ea(e) || !ea(n) ? {} : Ne(t) ? {} : e.reduce((g, U) => {
|
|
9990
10032
|
const d = al({
|
|
9991
|
-
gameTypeName:
|
|
10033
|
+
gameTypeName: U,
|
|
9992
10034
|
platforms: n,
|
|
9993
10035
|
gameList: t,
|
|
9994
10036
|
allGameTypes: r,
|
|
9995
10037
|
allPlatforms: p
|
|
9996
10038
|
});
|
|
9997
|
-
return Ne(d) || (g[
|
|
9998
|
-
}, {}),
|
|
10039
|
+
return Ne(d) || (g[U] = d), g;
|
|
10040
|
+
}, {}), Lu = ({
|
|
9999
10041
|
types: e = [],
|
|
10000
10042
|
platforms: n = [],
|
|
10001
10043
|
allGameType: t = [],
|
|
10002
10044
|
allGamePlatform: r = [],
|
|
10003
10045
|
allGameList: p = {}
|
|
10004
|
-
} = {}) => !Array.isArray(e) || !Array.isArray(n) ? {} : e.reduce((g,
|
|
10005
|
-
const d = Qn(t,
|
|
10046
|
+
} = {}) => !Array.isArray(e) || !Array.isArray(n) ? {} : e.reduce((g, U) => {
|
|
10047
|
+
const d = Qn(t, U);
|
|
10006
10048
|
if (!d) return g;
|
|
10007
10049
|
const l = p[d] || [], a = n.reduce((i, o) => {
|
|
10008
10050
|
const s = tl({
|
|
@@ -10012,11 +10054,11 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10012
10054
|
});
|
|
10013
10055
|
return Ne(s) ? i : { ...i, [o]: s };
|
|
10014
10056
|
}, {});
|
|
10015
|
-
return Ne(a) || (g[
|
|
10016
|
-
}, {}), em = (e = {}) => !
|
|
10057
|
+
return Ne(a) || (g[U] = a), g;
|
|
10058
|
+
}, {}), em = (e = {}) => !Yt(e) || Ne(e) ? {} : Object.values(e).reduce((t, r) => (Object.entries(r).forEach(([p, g]) => {
|
|
10017
10059
|
t[p] ? t[p] = [...t[p], ...g] : t[p] = g;
|
|
10018
10060
|
}), t), {}), am = (e = {}) => {
|
|
10019
|
-
if (!
|
|
10061
|
+
if (!Yt(e) || Ne(e)) return {};
|
|
10020
10062
|
const n = {};
|
|
10021
10063
|
for (const [t, r] of Object.entries(e)) {
|
|
10022
10064
|
n[t] = {};
|
|
@@ -10033,7 +10075,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10033
10075
|
allGame_subtype: r = [],
|
|
10034
10076
|
allNewGameList: p = [],
|
|
10035
10077
|
allTopGameList: g = [],
|
|
10036
|
-
randomlySelectedGames:
|
|
10078
|
+
randomlySelectedGames: U = [],
|
|
10037
10079
|
userFavoriteGame: d = {},
|
|
10038
10080
|
exclusiveBrandGames: l = [],
|
|
10039
10081
|
highlightGames: a = [],
|
|
@@ -10051,9 +10093,9 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10051
10093
|
...G,
|
|
10052
10094
|
platformImageUrl: O
|
|
10053
10095
|
};
|
|
10054
|
-
}),
|
|
10096
|
+
}), b = Ys(o, r), C = em(y), v = am(C), x = zn(y).reduce(
|
|
10055
10097
|
(G, [O, k]) => {
|
|
10056
|
-
const h =
|
|
10098
|
+
const h = Xt(Jr(k));
|
|
10057
10099
|
return G[O] = h, G;
|
|
10058
10100
|
},
|
|
10059
10101
|
{}
|
|
@@ -10081,10 +10123,10 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10081
10123
|
favorite: c,
|
|
10082
10124
|
highlight: a,
|
|
10083
10125
|
exclusiveBrand: l,
|
|
10084
|
-
randomlySelected:
|
|
10126
|
+
randomlySelected: U
|
|
10085
10127
|
},
|
|
10086
10128
|
categorized: {
|
|
10087
|
-
bySubType: { ...
|
|
10129
|
+
bySubType: { ...b, MyFavorite: c },
|
|
10088
10130
|
byPlatform: C,
|
|
10089
10131
|
byPlatformAndCategory: v,
|
|
10090
10132
|
byGameTypeAndPlatform: y,
|
|
@@ -10094,7 +10136,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10094
10136
|
favorite: c
|
|
10095
10137
|
}
|
|
10096
10138
|
};
|
|
10097
|
-
},
|
|
10139
|
+
}, Gu = (e = []) => !ea(e) || Ne(e) ? [] : Xt(e, (n) => Ne(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((t) => ({
|
|
10098
10140
|
...n,
|
|
10099
10141
|
...t,
|
|
10100
10142
|
platform: t.SubPlatformEnum,
|
|
@@ -10120,7 +10162,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10120
10162
|
},
|
|
10121
10163
|
user: { favorite: [] }
|
|
10122
10164
|
}, nm = ({ enabled: e = !0 } = {}) => {
|
|
10123
|
-
const { getToken: n } = se(), { userFavoriteGameApi: t, userGameListApi: r } = oe(), { data: p, isLoading: g, error:
|
|
10165
|
+
const { getToken: n } = se(), { userFavoriteGameApi: t, userGameListApi: r } = oe(), { data: p, isLoading: g, error: U, refetch: d } = $({
|
|
10124
10166
|
queryKey: ["gamesInfo"],
|
|
10125
10167
|
queryFn: async () => {
|
|
10126
10168
|
let l = {}, a = {};
|
|
@@ -10154,7 +10196,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10154
10196
|
return {
|
|
10155
10197
|
gamesInfo: p || im,
|
|
10156
10198
|
isLoading: g,
|
|
10157
|
-
error:
|
|
10199
|
+
error: U,
|
|
10158
10200
|
refetch: d
|
|
10159
10201
|
};
|
|
10160
10202
|
}, rm = (e = !1) => {
|
|
@@ -36695,14 +36737,14 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
36695
36737
|
const r = nm({ enabled: n });
|
|
36696
36738
|
return /* @__PURE__ */ Oe.jsx($n.Provider, { value: r, children: e });
|
|
36697
36739
|
};
|
|
36698
|
-
function
|
|
36740
|
+
function Mu({
|
|
36699
36741
|
children: e,
|
|
36700
36742
|
autoFetchGamesInfo: n = !1,
|
|
36701
36743
|
useMockData: t = !1,
|
|
36702
36744
|
queryClient: r,
|
|
36703
36745
|
...p
|
|
36704
36746
|
}) {
|
|
36705
|
-
const g = Oa(() => Ri(p), [p]),
|
|
36747
|
+
const g = Oa(() => Ri(p), [p]), U = Oa(
|
|
36706
36748
|
() => Ri({ ...p, formData: !0 }),
|
|
36707
36749
|
[p]
|
|
36708
36750
|
), d = Oa(
|
|
@@ -36716,7 +36758,7 @@ function Gu({
|
|
|
36716
36758
|
}),
|
|
36717
36759
|
[]
|
|
36718
36760
|
), l = r || d;
|
|
36719
|
-
return /* @__PURE__ */ Oe.jsx(Br, { client: l, children: /* @__PURE__ */ Oe.jsx(In.Provider, { value: { client: g, formDataClient:
|
|
36761
|
+
return /* @__PURE__ */ Oe.jsx(Br, { client: l, children: /* @__PURE__ */ Oe.jsx(In.Provider, { value: { client: g, formDataClient: U, ...p }, children: /* @__PURE__ */ Oe.jsx(jr, { children: /* @__PURE__ */ Oe.jsx(
|
|
36720
36762
|
lm,
|
|
36721
36763
|
{
|
|
36722
36764
|
autoFetch: n,
|
|
@@ -36725,9 +36767,9 @@ function Gu({
|
|
|
36725
36767
|
}
|
|
36726
36768
|
) }) }) });
|
|
36727
36769
|
}
|
|
36728
|
-
const
|
|
36770
|
+
const Ru = ({ onFunction: e = () => {
|
|
36729
36771
|
}, buttonProps: n = {} } = {}) => {
|
|
36730
|
-
const { lineConfig: t } = se(), r =
|
|
36772
|
+
const { lineConfig: t } = se(), r = ae(!1), p = Y(t, "liffId", ""), g = new URLSearchParams(window.location.search), U = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = ir({
|
|
36731
36773
|
options: {
|
|
36732
36774
|
onSuccess: (m) => {
|
|
36733
36775
|
e(m);
|
|
@@ -36736,14 +36778,14 @@ const Mu = ({ onFunction: e = () => {
|
|
|
36736
36778
|
}
|
|
36737
36779
|
});
|
|
36738
36780
|
pe(() => {
|
|
36739
|
-
r.current ||
|
|
36781
|
+
r.current || U === "true" && l && a && (o({
|
|
36740
36782
|
trans_code: d,
|
|
36741
36783
|
line_id: l,
|
|
36742
36784
|
invite_code: i,
|
|
36743
36785
|
line_name: a
|
|
36744
36786
|
}), r.current = !0);
|
|
36745
36787
|
}, [
|
|
36746
|
-
|
|
36788
|
+
U,
|
|
36747
36789
|
d,
|
|
36748
36790
|
l,
|
|
36749
36791
|
i,
|
|
@@ -36765,19 +36807,19 @@ const Mu = ({ onFunction: e = () => {
|
|
|
36765
36807
|
}
|
|
36766
36808
|
) : null;
|
|
36767
36809
|
};
|
|
36768
|
-
var om = Object.defineProperty,
|
|
36810
|
+
var om = Object.defineProperty, Qt = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable, Bn = (e, n, t) => n in e ? om(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, ci = (e, n) => {
|
|
36769
36811
|
for (var t in n || (n = {}))
|
|
36770
36812
|
Tr.call(n, t) && Bn(e, t, n[t]);
|
|
36771
|
-
if (
|
|
36772
|
-
for (var t of
|
|
36813
|
+
if (Qt)
|
|
36814
|
+
for (var t of Qt(n))
|
|
36773
36815
|
kr.call(n, t) && Bn(e, t, n[t]);
|
|
36774
36816
|
return e;
|
|
36775
36817
|
}, fi = (e, n) => {
|
|
36776
36818
|
var t = {};
|
|
36777
36819
|
for (var r in e)
|
|
36778
36820
|
Tr.call(e, r) && n.indexOf(r) < 0 && (t[r] = e[r]);
|
|
36779
|
-
if (e != null &&
|
|
36780
|
-
for (var r of
|
|
36821
|
+
if (e != null && Qt)
|
|
36822
|
+
for (var r of Qt(e))
|
|
36781
36823
|
n.indexOf(r) < 0 && kr.call(e, r) && (t[r] = e[r]);
|
|
36782
36824
|
return t;
|
|
36783
36825
|
};
|
|
@@ -36845,31 +36887,31 @@ var ka;
|
|
|
36845
36887
|
throw new RangeError("Invalid value");
|
|
36846
36888
|
let m, _;
|
|
36847
36889
|
for (m = i; ; m++) {
|
|
36848
|
-
const
|
|
36849
|
-
if (C <=
|
|
36890
|
+
const b = ee.getNumDataCodewords(m, a) * 8, C = U.getTotalBits(l, m);
|
|
36891
|
+
if (C <= b) {
|
|
36850
36892
|
_ = C;
|
|
36851
36893
|
break;
|
|
36852
36894
|
}
|
|
36853
36895
|
if (m >= o)
|
|
36854
36896
|
throw new RangeError("Data too long");
|
|
36855
36897
|
}
|
|
36856
|
-
for (const
|
|
36857
|
-
u && _ <= ee.getNumDataCodewords(m,
|
|
36898
|
+
for (const b of [ee.Ecc.MEDIUM, ee.Ecc.QUARTILE, ee.Ecc.HIGH])
|
|
36899
|
+
u && _ <= ee.getNumDataCodewords(m, b) * 8 && (a = b);
|
|
36858
36900
|
let c = [];
|
|
36859
|
-
for (const
|
|
36860
|
-
t(
|
|
36861
|
-
for (const C of
|
|
36901
|
+
for (const b of l) {
|
|
36902
|
+
t(b.mode.modeBits, 4, c), t(b.numChars, b.mode.numCharCountBits(m), c);
|
|
36903
|
+
for (const C of b.getData())
|
|
36862
36904
|
c.push(C);
|
|
36863
36905
|
}
|
|
36864
36906
|
p(c.length == _);
|
|
36865
36907
|
const y = ee.getNumDataCodewords(m, a) * 8;
|
|
36866
36908
|
p(c.length <= y), t(0, Math.min(4, y - c.length), c), t(0, (8 - c.length % 8) % 8, c), p(c.length % 8 == 0);
|
|
36867
|
-
for (let
|
|
36868
|
-
t(
|
|
36909
|
+
for (let b = 236; c.length < y; b ^= 253)
|
|
36910
|
+
t(b, 8, c);
|
|
36869
36911
|
let f = [];
|
|
36870
36912
|
for (; f.length * 8 < c.length; )
|
|
36871
36913
|
f.push(0);
|
|
36872
|
-
return c.forEach((
|
|
36914
|
+
return c.forEach((b, C) => f[C >>> 3] |= b << 7 - (C & 7)), new ee(m, a, f, s);
|
|
36873
36915
|
}
|
|
36874
36916
|
/*-- Accessor methods --*/
|
|
36875
36917
|
// Returns the color of the module (pixel) at the given coordinates, which is false
|
|
@@ -36960,16 +37002,16 @@ var ka;
|
|
|
36960
37002
|
const o = ee.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][a], s = ee.ECC_CODEWORDS_PER_BLOCK[i.ordinal][a], u = Math.floor(ee.getNumRawDataModules(a) / 8), m = o - u % o, _ = Math.floor(u / o);
|
|
36961
37003
|
let c = [];
|
|
36962
37004
|
const y = ee.reedSolomonComputeDivisor(s);
|
|
36963
|
-
for (let
|
|
36964
|
-
let v = l.slice(C, C + _ - s + (
|
|
37005
|
+
for (let b = 0, C = 0; b < o; b++) {
|
|
37006
|
+
let v = l.slice(C, C + _ - s + (b < m ? 0 : 1));
|
|
36965
37007
|
C += v.length;
|
|
36966
37008
|
const x = ee.reedSolomonComputeRemainder(v, y);
|
|
36967
|
-
|
|
37009
|
+
b < m && v.push(0), c.push(v.concat(x));
|
|
36968
37010
|
}
|
|
36969
37011
|
let f = [];
|
|
36970
|
-
for (let
|
|
37012
|
+
for (let b = 0; b < c[0].length; b++)
|
|
36971
37013
|
c.forEach((C, v) => {
|
|
36972
|
-
(
|
|
37014
|
+
(b != _ - s || v >= m) && f.push(C[b]);
|
|
36973
37015
|
});
|
|
36974
37016
|
return p(f.length == u), f;
|
|
36975
37017
|
}
|
|
@@ -37284,7 +37326,7 @@ var ka;
|
|
|
37284
37326
|
}
|
|
37285
37327
|
};
|
|
37286
37328
|
g.NUMERIC_REGEX = /^[0-9]*$/, g.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+.\/:-]*$/, g.ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
|
|
37287
|
-
let
|
|
37329
|
+
let U = g;
|
|
37288
37330
|
e.QrSegment = g;
|
|
37289
37331
|
})(ka || (ka = {}));
|
|
37290
37332
|
((e) => {
|
|
@@ -37327,22 +37369,22 @@ function Gr(e, n = 0) {
|
|
|
37327
37369
|
const t = [];
|
|
37328
37370
|
return e.forEach(function(r, p) {
|
|
37329
37371
|
let g = null;
|
|
37330
|
-
r.forEach(function(
|
|
37331
|
-
if (!
|
|
37372
|
+
r.forEach(function(U, d) {
|
|
37373
|
+
if (!U && g !== null) {
|
|
37332
37374
|
t.push(
|
|
37333
37375
|
`M${g + n} ${p + n}h${d - g}v1H${g + n}z`
|
|
37334
37376
|
), g = null;
|
|
37335
37377
|
return;
|
|
37336
37378
|
}
|
|
37337
37379
|
if (d === r.length - 1) {
|
|
37338
|
-
if (!
|
|
37380
|
+
if (!U)
|
|
37339
37381
|
return;
|
|
37340
37382
|
g === null ? t.push(`M${d + n},${p + n} h1v1H${d + n}z`) : t.push(
|
|
37341
37383
|
`M${g + n},${p + n} h${d + 1 - g}v1H${g + n}z`
|
|
37342
37384
|
);
|
|
37343
37385
|
return;
|
|
37344
37386
|
}
|
|
37345
|
-
|
|
37387
|
+
U && g === null && (g = d);
|
|
37346
37388
|
});
|
|
37347
37389
|
}), t.join("");
|
|
37348
37390
|
}
|
|
@@ -37352,7 +37394,7 @@ function Mr(e, n) {
|
|
|
37352
37394
|
function gm(e, n, t, r) {
|
|
37353
37395
|
if (r == null)
|
|
37354
37396
|
return null;
|
|
37355
|
-
const p = e.length + t * 2, g = Math.floor(n * pm),
|
|
37397
|
+
const p = e.length + t * 2, g = Math.floor(n * pm), U = p / n, d = (r.width || g) * U, l = (r.height || g) * U, a = r.x == null ? e.length / 2 - d / 2 : r.x * U, i = r.y == null ? e.length / 2 - l / 2 : r.y * U, o = r.opacity == null ? 1 : r.opacity;
|
|
37356
37398
|
let s = null;
|
|
37357
37399
|
if (r.excavate) {
|
|
37358
37400
|
let m = Math.floor(a), _ = Math.floor(i), c = Math.ceil(d + a - m), y = Math.ceil(l + i - _);
|
|
@@ -37371,7 +37413,7 @@ function Rr({
|
|
|
37371
37413
|
includeMargin: r,
|
|
37372
37414
|
marginSize: p,
|
|
37373
37415
|
imageSettings: g,
|
|
37374
|
-
size:
|
|
37416
|
+
size: U,
|
|
37375
37417
|
boostLevel: d
|
|
37376
37418
|
}) {
|
|
37377
37419
|
let l = de.useMemo(() => {
|
|
@@ -37389,7 +37431,7 @@ function Rr({
|
|
|
37389
37431
|
let u = l.getModules();
|
|
37390
37432
|
const m = dm(r, p), _ = u.length + m * 2, c = gm(
|
|
37391
37433
|
u,
|
|
37392
|
-
|
|
37434
|
+
U,
|
|
37393
37435
|
m,
|
|
37394
37436
|
g
|
|
37395
37437
|
);
|
|
@@ -37399,7 +37441,7 @@ function Rr({
|
|
|
37399
37441
|
numCells: _,
|
|
37400
37442
|
calculatedImageSettings: c
|
|
37401
37443
|
};
|
|
37402
|
-
}, [l,
|
|
37444
|
+
}, [l, U, g, r, p]);
|
|
37403
37445
|
return {
|
|
37404
37446
|
qrcode: l,
|
|
37405
37447
|
margin: i,
|
|
@@ -37420,7 +37462,7 @@ var cm = (function() {
|
|
|
37420
37462
|
const r = n, {
|
|
37421
37463
|
value: p,
|
|
37422
37464
|
size: g = xr,
|
|
37423
|
-
level:
|
|
37465
|
+
level: U = Sr,
|
|
37424
37466
|
bgColor: d = Dr,
|
|
37425
37467
|
fgColor: l = Er,
|
|
37426
37468
|
includeMargin: a = Nr,
|
|
@@ -37439,14 +37481,14 @@ var cm = (function() {
|
|
|
37439
37481
|
"boostLevel",
|
|
37440
37482
|
"marginSize",
|
|
37441
37483
|
"imageSettings"
|
|
37442
|
-
]), { style: c } = _, y = fi(_, ["style"]), f = u?.src,
|
|
37484
|
+
]), { style: c } = _, y = fi(_, ["style"]), f = u?.src, b = de.useRef(null), C = de.useRef(null), v = de.useCallback(
|
|
37443
37485
|
(w) => {
|
|
37444
|
-
|
|
37486
|
+
b.current = w, typeof t == "function" ? t(w) : t && (t.current = w);
|
|
37445
37487
|
},
|
|
37446
37488
|
[t]
|
|
37447
37489
|
), [x, E] = de.useState(!1), { margin: G, cells: O, numCells: k, calculatedImageSettings: h } = Rr({
|
|
37448
37490
|
value: p,
|
|
37449
|
-
level:
|
|
37491
|
+
level: U,
|
|
37450
37492
|
minVersion: i,
|
|
37451
37493
|
boostLevel: o,
|
|
37452
37494
|
includeMargin: a,
|
|
@@ -37455,8 +37497,8 @@ var cm = (function() {
|
|
|
37455
37497
|
size: g
|
|
37456
37498
|
});
|
|
37457
37499
|
de.useEffect(() => {
|
|
37458
|
-
if (
|
|
37459
|
-
const w =
|
|
37500
|
+
if (b.current != null) {
|
|
37501
|
+
const w = b.current, R = w.getContext("2d");
|
|
37460
37502
|
if (!R)
|
|
37461
37503
|
return;
|
|
37462
37504
|
let P = O;
|
|
@@ -37465,9 +37507,9 @@ var cm = (function() {
|
|
|
37465
37507
|
O,
|
|
37466
37508
|
h.excavation
|
|
37467
37509
|
));
|
|
37468
|
-
const
|
|
37469
|
-
w.height = w.width = g *
|
|
37470
|
-
const M = g / k *
|
|
37510
|
+
const z = window.devicePixelRatio || 1;
|
|
37511
|
+
w.height = w.width = g * z;
|
|
37512
|
+
const M = g / k * z;
|
|
37471
37513
|
R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = l, cm ? R.fill(new Path2D(Gr(P, G))) : O.forEach(function(D, S) {
|
|
37472
37514
|
D.forEach(function(L, N) {
|
|
37473
37515
|
L && R.fillRect(N + G, S + G, 1, 1);
|
|
@@ -37515,7 +37557,7 @@ var Pr = de.forwardRef(
|
|
|
37515
37557
|
const r = n, {
|
|
37516
37558
|
value: p,
|
|
37517
37559
|
size: g = xr,
|
|
37518
|
-
level:
|
|
37560
|
+
level: U = Sr,
|
|
37519
37561
|
bgColor: d = Dr,
|
|
37520
37562
|
fgColor: l = Er,
|
|
37521
37563
|
includeMargin: a = Nr,
|
|
@@ -37536,9 +37578,9 @@ var Pr = de.forwardRef(
|
|
|
37536
37578
|
"title",
|
|
37537
37579
|
"marginSize",
|
|
37538
37580
|
"imageSettings"
|
|
37539
|
-
]), { margin: c, cells: y, numCells: f, calculatedImageSettings:
|
|
37581
|
+
]), { margin: c, cells: y, numCells: f, calculatedImageSettings: b } = Rr({
|
|
37540
37582
|
value: p,
|
|
37541
|
-
level:
|
|
37583
|
+
level: U,
|
|
37542
37584
|
minVersion: i,
|
|
37543
37585
|
boostLevel: o,
|
|
37544
37586
|
includeMargin: a,
|
|
@@ -37547,20 +37589,20 @@ var Pr = de.forwardRef(
|
|
|
37547
37589
|
size: g
|
|
37548
37590
|
});
|
|
37549
37591
|
let C = y, v = null;
|
|
37550
|
-
m != null &&
|
|
37592
|
+
m != null && b != null && (b.excavation != null && (C = Mr(
|
|
37551
37593
|
y,
|
|
37552
|
-
|
|
37594
|
+
b.excavation
|
|
37553
37595
|
)), v = /* @__PURE__ */ de.createElement(
|
|
37554
37596
|
"image",
|
|
37555
37597
|
{
|
|
37556
37598
|
href: m.src,
|
|
37557
|
-
height:
|
|
37558
|
-
width:
|
|
37559
|
-
x:
|
|
37560
|
-
y:
|
|
37599
|
+
height: b.h,
|
|
37600
|
+
width: b.w,
|
|
37601
|
+
x: b.x + c,
|
|
37602
|
+
y: b.y + c,
|
|
37561
37603
|
preserveAspectRatio: "none",
|
|
37562
|
-
opacity:
|
|
37563
|
-
crossOrigin:
|
|
37604
|
+
opacity: b.opacity,
|
|
37605
|
+
crossOrigin: b.crossOrigin
|
|
37564
37606
|
}
|
|
37565
37607
|
));
|
|
37566
37608
|
const x = Gr(C, c);
|
|
@@ -37632,8 +37674,8 @@ const _m = {
|
|
|
37632
37674
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
37633
37675
|
expired: "Kode QR telah kedaluwarsa"
|
|
37634
37676
|
}
|
|
37635
|
-
},
|
|
37636
|
-
const { lng: r, getToken: p, lineConfig: g } = se(), [
|
|
37677
|
+
}, Fu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
|
|
37678
|
+
const { lng: r, getToken: p, lineConfig: g } = se(), [U, d] = Xa(300), [l, a] = Xa(!1), i = ae(null), o = Y(g, "liffId", ""), s = Qe(r), u = p?.(), _ = new URLSearchParams(window.location.search).get("mac") || pi.get("machine_mac_address") || "", { data: c, isFetching: y } = Jo({
|
|
37637
37679
|
formData: {
|
|
37638
37680
|
mac_address: _
|
|
37639
37681
|
},
|
|
@@ -37648,7 +37690,7 @@ const _m = {
|
|
|
37648
37690
|
}, 1e3)), () => {
|
|
37649
37691
|
i.current && clearInterval(i.current);
|
|
37650
37692
|
}), [f]);
|
|
37651
|
-
const
|
|
37693
|
+
const b = (v) => {
|
|
37652
37694
|
const x = Math.floor(v / 60), E = v % 60;
|
|
37653
37695
|
return `${x}:${E < 10 ? "0" : ""}${E}`;
|
|
37654
37696
|
};
|
|
@@ -37692,12 +37734,12 @@ const _m = {
|
|
|
37692
37734
|
fontWeight: "bold",
|
|
37693
37735
|
fontSize: "3em"
|
|
37694
37736
|
},
|
|
37695
|
-
children: U
|
|
37737
|
+
children: b(U)
|
|
37696
37738
|
}
|
|
37697
37739
|
)
|
|
37698
37740
|
] })
|
|
37699
37741
|
] });
|
|
37700
|
-
},
|
|
37742
|
+
}, Au = () => {
|
|
37701
37743
|
const e = Wa(), {
|
|
37702
37744
|
mutate: n,
|
|
37703
37745
|
isPending: t,
|
|
@@ -37712,12 +37754,12 @@ const _m = {
|
|
|
37712
37754
|
});
|
|
37713
37755
|
}
|
|
37714
37756
|
}
|
|
37715
|
-
}),
|
|
37757
|
+
}), U = ae(!1);
|
|
37716
37758
|
return pe(() => {
|
|
37717
|
-
if (
|
|
37759
|
+
if (U.current) return;
|
|
37718
37760
|
const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), a = d.get("bind_id");
|
|
37719
37761
|
if (l && a)
|
|
37720
|
-
switch (
|
|
37762
|
+
switch (U.current = !0, l) {
|
|
37721
37763
|
case "line":
|
|
37722
37764
|
n({ bindType: l, bindId: a });
|
|
37723
37765
|
break;
|
|
@@ -37729,16 +37771,16 @@ const _m = {
|
|
|
37729
37771
|
};
|
|
37730
37772
|
export {
|
|
37731
37773
|
In as ApiCtx,
|
|
37732
|
-
|
|
37733
|
-
|
|
37774
|
+
Mu as ApiProvider,
|
|
37775
|
+
Au as Bind,
|
|
37734
37776
|
$n as GamesInfoCtx,
|
|
37735
|
-
|
|
37736
|
-
|
|
37777
|
+
Ru as LineLogin,
|
|
37778
|
+
Fu as LineQrCode,
|
|
37737
37779
|
$a as STATUS_TYPES,
|
|
37738
37780
|
Vn as StatusContext,
|
|
37739
37781
|
jr as StatusProvider,
|
|
37740
37782
|
Xs as buildMultiTypes,
|
|
37741
|
-
|
|
37783
|
+
Lu as buildMultiTypesWithSubTypes,
|
|
37742
37784
|
tl as buildSinglePlatformWithSubTypes,
|
|
37743
37785
|
al as buildSingleType,
|
|
37744
37786
|
Ys as categorizeGames,
|
|
@@ -37761,7 +37803,7 @@ export {
|
|
|
37761
37803
|
Ks as handleDarkImage,
|
|
37762
37804
|
rm as initMockWindowData,
|
|
37763
37805
|
tm as processGameInfo,
|
|
37764
|
-
|
|
37806
|
+
Gu as processPlatformData,
|
|
37765
37807
|
au as useAbandonEventWallet,
|
|
37766
37808
|
Mm as useAbandonPoint,
|
|
37767
37809
|
se as useApiContext,
|
|
@@ -37789,7 +37831,7 @@ export {
|
|
|
37789
37831
|
xs as useEventTransaction,
|
|
37790
37832
|
cu as useEventWalletLog,
|
|
37791
37833
|
Vs as useExpiredRewardsList,
|
|
37792
|
-
|
|
37834
|
+
Eu as useGameConfig,
|
|
37793
37835
|
Tm as useGameInfoContext,
|
|
37794
37836
|
nm as useGamesInfo,
|
|
37795
37837
|
tu as useGetCarouseList,
|
|
@@ -37818,7 +37860,7 @@ export {
|
|
|
37818
37860
|
ou as useNewsList,
|
|
37819
37861
|
Uu as useOtherTransaction,
|
|
37820
37862
|
bu as usePayment,
|
|
37821
|
-
|
|
37863
|
+
Nu as usePlatformConfig,
|
|
37822
37864
|
Cu as usePlayGame,
|
|
37823
37865
|
Lm as usePointTransfer,
|
|
37824
37866
|
Us as useReadInbox,
|
|
@@ -37857,6 +37899,7 @@ export {
|
|
|
37857
37899
|
Su as useVip,
|
|
37858
37900
|
xu as useVipInfo,
|
|
37859
37901
|
Zs as useVipList,
|
|
37902
|
+
Du as useWebView2,
|
|
37860
37903
|
Ts as useWithdrawAction,
|
|
37861
37904
|
Ds as useWithdrawTransaction,
|
|
37862
37905
|
du as useWithdrawWalletLog
|