@obb871001/api-integration-sdk 1.0.382 → 1.0.383
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 +7 -7
- package/dist/index.js +1238 -1226
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import de, { createContext as jt, useContext as _i, useState as Xa, useMemo as Oa, useCallback as
|
|
1
|
+
import de, { createContext as jt, useContext as _i, useState as Xa, useMemo as Oa, useCallback as H, 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
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";
|
|
@@ -51,57 +51,57 @@ var Gi;
|
|
|
51
51
|
function $r() {
|
|
52
52
|
return Gi || (Gi = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
53
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
|
-
function c(
|
|
55
|
-
if (
|
|
54
|
+
function c(x) {
|
|
55
|
+
if (x === null || typeof x != "object")
|
|
56
56
|
return null;
|
|
57
|
-
var I = m &&
|
|
57
|
+
var I = m && x[m] || x[_];
|
|
58
58
|
return typeof I == "function" ? I : null;
|
|
59
59
|
}
|
|
60
60
|
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
61
|
-
function f(
|
|
61
|
+
function f(x) {
|
|
62
62
|
{
|
|
63
|
-
for (var I = arguments.length,
|
|
64
|
-
|
|
65
|
-
b("error",
|
|
63
|
+
for (var I = arguments.length, Z = new Array(I > 1 ? I - 1 : 0), Q = 1; Q < I; Q++)
|
|
64
|
+
Z[Q - 1] = arguments[Q];
|
|
65
|
+
b("error", x, Z);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
function b(
|
|
68
|
+
function b(x, I, Z) {
|
|
69
69
|
{
|
|
70
70
|
var Q = y.ReactDebugCurrentFrame, ue = Q.getStackAddendum();
|
|
71
|
-
ue !== "" && (I += "%s",
|
|
72
|
-
var ge =
|
|
73
|
-
return String(
|
|
71
|
+
ue !== "" && (I += "%s", Z = Z.concat([ue]));
|
|
72
|
+
var ge = Z.map(function(oe) {
|
|
73
|
+
return String(oe);
|
|
74
74
|
});
|
|
75
|
-
ge.unshift("Warning: " + I), Function.prototype.apply.call(console[
|
|
75
|
+
ge.unshift("Warning: " + I), Function.prototype.apply.call(console[x], console, ge);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var C = !1, v = !1,
|
|
79
|
-
|
|
80
|
-
function
|
|
81
|
-
return !!(typeof
|
|
78
|
+
var C = !1, v = !1, D = !1, E = !1, G = !1, A;
|
|
79
|
+
A = Symbol.for("react.module.reference");
|
|
80
|
+
function S(x) {
|
|
81
|
+
return !!(typeof x == "string" || typeof x == "function" || x === r || x === g || G || x === p || x === a || x === i || E || x === u || C || v || D || typeof x == "object" && x !== null && (x.$$typeof === s || x.$$typeof === o || x.$$typeof === U || x.$$typeof === d || x.$$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.
|
|
85
|
-
|
|
85
|
+
x.$$typeof === A || x.getModuleId !== void 0));
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
var Q =
|
|
87
|
+
function k(x, I, Z) {
|
|
88
|
+
var Q = x.displayName;
|
|
89
89
|
if (Q)
|
|
90
90
|
return Q;
|
|
91
91
|
var ue = I.displayName || I.name || "";
|
|
92
|
-
return ue !== "" ?
|
|
92
|
+
return ue !== "" ? Z + "(" + ue + ")" : Z;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
95
|
-
return
|
|
94
|
+
function w(x) {
|
|
95
|
+
return x.displayName || "Context";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
98
|
-
if (
|
|
97
|
+
function F(x) {
|
|
98
|
+
if (x == null)
|
|
99
99
|
return null;
|
|
100
|
-
if (typeof
|
|
101
|
-
return
|
|
102
|
-
if (typeof
|
|
103
|
-
return
|
|
104
|
-
switch (
|
|
100
|
+
if (typeof x.tag == "number" && f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof x == "function")
|
|
101
|
+
return x.displayName || x.name || null;
|
|
102
|
+
if (typeof x == "string")
|
|
103
|
+
return x;
|
|
104
|
+
switch (x) {
|
|
105
105
|
case r:
|
|
106
106
|
return "Fragment";
|
|
107
107
|
case t:
|
|
@@ -115,23 +115,23 @@ function $r() {
|
|
|
115
115
|
case i:
|
|
116
116
|
return "SuspenseList";
|
|
117
117
|
}
|
|
118
|
-
if (typeof
|
|
119
|
-
switch (
|
|
118
|
+
if (typeof x == "object")
|
|
119
|
+
switch (x.$$typeof) {
|
|
120
120
|
case d:
|
|
121
|
-
var I =
|
|
122
|
-
return
|
|
121
|
+
var I = x;
|
|
122
|
+
return w(I) + ".Consumer";
|
|
123
123
|
case U:
|
|
124
|
-
var
|
|
125
|
-
return
|
|
124
|
+
var Z = x;
|
|
125
|
+
return w(Z._context) + ".Provider";
|
|
126
126
|
case l:
|
|
127
|
-
return
|
|
127
|
+
return k(x, x.render, "ForwardRef");
|
|
128
128
|
case o:
|
|
129
|
-
var Q =
|
|
130
|
-
return Q !== null ? Q :
|
|
129
|
+
var Q = x.displayName || null;
|
|
130
|
+
return Q !== null ? Q : F(x.type) || "Memo";
|
|
131
131
|
case s: {
|
|
132
|
-
var ue =
|
|
132
|
+
var ue = x, ge = ue._payload, oe = ue._init;
|
|
133
133
|
try {
|
|
134
|
-
return
|
|
134
|
+
return F(oe(ge));
|
|
135
135
|
} catch {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
@@ -139,70 +139,70 @@ function $r() {
|
|
|
139
139
|
}
|
|
140
140
|
return null;
|
|
141
141
|
}
|
|
142
|
-
var
|
|
142
|
+
var P = Object.assign, M = 0, R, B, O, W, z, h, T;
|
|
143
143
|
function L() {
|
|
144
144
|
}
|
|
145
145
|
L.__reactDisabledLog = !0;
|
|
146
146
|
function N() {
|
|
147
147
|
{
|
|
148
|
-
if (
|
|
149
|
-
|
|
150
|
-
var
|
|
148
|
+
if (M === 0) {
|
|
149
|
+
R = console.log, B = console.info, O = console.warn, W = console.error, z = console.group, h = console.groupCollapsed, T = console.groupEnd;
|
|
150
|
+
var x = {
|
|
151
151
|
configurable: !0,
|
|
152
152
|
enumerable: !0,
|
|
153
153
|
value: L,
|
|
154
154
|
writable: !0
|
|
155
155
|
};
|
|
156
156
|
Object.defineProperties(console, {
|
|
157
|
-
info:
|
|
158
|
-
log:
|
|
159
|
-
warn:
|
|
160
|
-
error:
|
|
161
|
-
group:
|
|
162
|
-
groupCollapsed:
|
|
163
|
-
groupEnd:
|
|
157
|
+
info: x,
|
|
158
|
+
log: x,
|
|
159
|
+
warn: x,
|
|
160
|
+
error: x,
|
|
161
|
+
group: x,
|
|
162
|
+
groupCollapsed: x,
|
|
163
|
+
groupEnd: x
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
M++;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function J() {
|
|
170
170
|
{
|
|
171
|
-
if (
|
|
172
|
-
var
|
|
171
|
+
if (M--, M === 0) {
|
|
172
|
+
var x = {
|
|
173
173
|
configurable: !0,
|
|
174
174
|
enumerable: !0,
|
|
175
175
|
writable: !0
|
|
176
176
|
};
|
|
177
177
|
Object.defineProperties(console, {
|
|
178
|
-
log:
|
|
179
|
-
value:
|
|
178
|
+
log: P({}, x, {
|
|
179
|
+
value: R
|
|
180
180
|
}),
|
|
181
|
-
info:
|
|
182
|
-
value: H
|
|
183
|
-
}),
|
|
184
|
-
warn: w({}, T, {
|
|
181
|
+
info: P({}, x, {
|
|
185
182
|
value: B
|
|
186
183
|
}),
|
|
187
|
-
|
|
188
|
-
value:
|
|
184
|
+
warn: P({}, x, {
|
|
185
|
+
value: O
|
|
186
|
+
}),
|
|
187
|
+
error: P({}, x, {
|
|
188
|
+
value: W
|
|
189
189
|
}),
|
|
190
|
-
group:
|
|
191
|
-
value:
|
|
190
|
+
group: P({}, x, {
|
|
191
|
+
value: z
|
|
192
192
|
}),
|
|
193
|
-
groupCollapsed:
|
|
194
|
-
value:
|
|
193
|
+
groupCollapsed: P({}, x, {
|
|
194
|
+
value: h
|
|
195
195
|
}),
|
|
196
|
-
groupEnd:
|
|
197
|
-
value:
|
|
196
|
+
groupEnd: P({}, x, {
|
|
197
|
+
value: T
|
|
198
198
|
})
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
|
|
201
|
+
M < 0 && f("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
var q = y.ReactCurrentDispatcher, j;
|
|
205
|
-
function K(
|
|
205
|
+
function K(x, I, Z) {
|
|
206
206
|
{
|
|
207
207
|
if (j === void 0)
|
|
208
208
|
try {
|
|
@@ -212,51 +212,51 @@ function $r() {
|
|
|
212
212
|
j = Q && Q[1] || "";
|
|
213
213
|
}
|
|
214
214
|
return `
|
|
215
|
-
` + j +
|
|
215
|
+
` + j + x;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
var
|
|
218
|
+
var te = !1, le;
|
|
219
219
|
{
|
|
220
220
|
var ye = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
|
-
|
|
221
|
+
le = new ye();
|
|
222
222
|
}
|
|
223
|
-
function Ue(
|
|
224
|
-
if (!
|
|
223
|
+
function Ue(x, I) {
|
|
224
|
+
if (!x || te)
|
|
225
225
|
return "";
|
|
226
226
|
{
|
|
227
|
-
var
|
|
228
|
-
if (
|
|
229
|
-
return
|
|
227
|
+
var Z = le.get(x);
|
|
228
|
+
if (Z !== void 0)
|
|
229
|
+
return Z;
|
|
230
230
|
}
|
|
231
231
|
var Q;
|
|
232
|
-
|
|
232
|
+
te = !0;
|
|
233
233
|
var ue = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
235
|
var ge;
|
|
236
236
|
ge = q.current, q.current = null, N();
|
|
237
237
|
try {
|
|
238
238
|
if (I) {
|
|
239
|
-
var
|
|
239
|
+
var oe = function() {
|
|
240
240
|
throw Error();
|
|
241
241
|
};
|
|
242
|
-
if (Object.defineProperty(
|
|
242
|
+
if (Object.defineProperty(oe.prototype, "props", {
|
|
243
243
|
set: function() {
|
|
244
244
|
throw Error();
|
|
245
245
|
}
|
|
246
246
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
247
247
|
try {
|
|
248
|
-
Reflect.construct(
|
|
248
|
+
Reflect.construct(oe, []);
|
|
249
249
|
} catch (ze) {
|
|
250
250
|
Q = ze;
|
|
251
251
|
}
|
|
252
|
-
Reflect.construct(
|
|
252
|
+
Reflect.construct(x, [], oe);
|
|
253
253
|
} else {
|
|
254
254
|
try {
|
|
255
|
-
|
|
255
|
+
oe.call();
|
|
256
256
|
} catch (ze) {
|
|
257
257
|
Q = ze;
|
|
258
258
|
}
|
|
259
|
-
|
|
259
|
+
x.call(oe.prototype);
|
|
260
260
|
}
|
|
261
261
|
} else {
|
|
262
262
|
try {
|
|
@@ -264,63 +264,63 @@ function $r() {
|
|
|
264
264
|
} catch (ze) {
|
|
265
265
|
Q = ze;
|
|
266
266
|
}
|
|
267
|
-
|
|
267
|
+
x();
|
|
268
268
|
}
|
|
269
269
|
} catch (ze) {
|
|
270
270
|
if (ze && Q && typeof ze.stack == "string") {
|
|
271
|
-
for (var
|
|
271
|
+
for (var ie = ze.stack.split(`
|
|
272
272
|
`), Be = Q.stack.split(`
|
|
273
|
-
`), be =
|
|
273
|
+
`), be = ie.length - 1, he = Be.length - 1; be >= 1 && he >= 0 && ie[be] !== Be[he]; )
|
|
274
274
|
he--;
|
|
275
275
|
for (; be >= 1 && he >= 0; be--, he--)
|
|
276
|
-
if (
|
|
276
|
+
if (ie[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 || ie[be] !== Be[he]) {
|
|
280
280
|
var $e = `
|
|
281
|
-
` +
|
|
282
|
-
return
|
|
281
|
+
` + ie[be].replace(" at new ", " at ");
|
|
282
|
+
return x.displayName && $e.includes("<anonymous>") && ($e = $e.replace("<anonymous>", x.displayName)), typeof x == "function" && le.set(x, $e), $e;
|
|
283
283
|
}
|
|
284
284
|
while (be >= 1 && he >= 0);
|
|
285
285
|
break;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
|
|
289
|
+
te = !1, q.current = ge, J(), Error.prepareStackTrace = ue;
|
|
290
290
|
}
|
|
291
|
-
var Ra =
|
|
292
|
-
return typeof
|
|
291
|
+
var Ra = x ? x.displayName || x.name : "", ba = Ra ? K(Ra) : "";
|
|
292
|
+
return typeof x == "function" && le.set(x, ba), ba;
|
|
293
293
|
}
|
|
294
|
-
function me(
|
|
295
|
-
return Ue(
|
|
294
|
+
function me(x, I, Z) {
|
|
295
|
+
return Ue(x, !1);
|
|
296
296
|
}
|
|
297
|
-
function ce(
|
|
298
|
-
var I =
|
|
297
|
+
function ce(x) {
|
|
298
|
+
var I = x.prototype;
|
|
299
299
|
return !!(I && I.isReactComponent);
|
|
300
300
|
}
|
|
301
|
-
function ke(
|
|
302
|
-
if (
|
|
301
|
+
function ke(x, I, Z) {
|
|
302
|
+
if (x == null)
|
|
303
303
|
return "";
|
|
304
|
-
if (typeof
|
|
305
|
-
return Ue(
|
|
306
|
-
if (typeof
|
|
307
|
-
return K(
|
|
308
|
-
switch (
|
|
304
|
+
if (typeof x == "function")
|
|
305
|
+
return Ue(x, ce(x));
|
|
306
|
+
if (typeof x == "string")
|
|
307
|
+
return K(x);
|
|
308
|
+
switch (x) {
|
|
309
309
|
case a:
|
|
310
310
|
return K("Suspense");
|
|
311
311
|
case i:
|
|
312
312
|
return K("SuspenseList");
|
|
313
313
|
}
|
|
314
|
-
if (typeof
|
|
315
|
-
switch (
|
|
314
|
+
if (typeof x == "object")
|
|
315
|
+
switch (x.$$typeof) {
|
|
316
316
|
case l:
|
|
317
|
-
return me(
|
|
317
|
+
return me(x.render);
|
|
318
318
|
case o:
|
|
319
|
-
return ke(
|
|
319
|
+
return ke(x.type, I, Z);
|
|
320
320
|
case s: {
|
|
321
|
-
var Q =
|
|
321
|
+
var Q = x, ue = Q._payload, ge = Q._init;
|
|
322
322
|
try {
|
|
323
|
-
return ke(ge(ue), I,
|
|
323
|
+
return ke(ge(ue), I, Z);
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
@@ -328,55 +328,55 @@ function $r() {
|
|
|
328
328
|
return "";
|
|
329
329
|
}
|
|
330
330
|
var fe = Object.prototype.hasOwnProperty, Ve = {}, Ce = y.ReactDebugCurrentFrame;
|
|
331
|
-
function Pe(
|
|
332
|
-
if (
|
|
333
|
-
var I =
|
|
334
|
-
Ce.setExtraStackFrame(
|
|
331
|
+
function Pe(x) {
|
|
332
|
+
if (x) {
|
|
333
|
+
var I = x._owner, Z = ke(x.type, x._source, I ? I.type : null);
|
|
334
|
+
Ce.setExtraStackFrame(Z);
|
|
335
335
|
} else
|
|
336
336
|
Ce.setExtraStackFrame(null);
|
|
337
337
|
}
|
|
338
|
-
function aa(
|
|
338
|
+
function aa(x, I, Z, Q, ue) {
|
|
339
339
|
{
|
|
340
340
|
var ge = Function.call.bind(fe);
|
|
341
|
-
for (var
|
|
342
|
-
if (ge(
|
|
343
|
-
var
|
|
341
|
+
for (var oe in x)
|
|
342
|
+
if (ge(x, oe)) {
|
|
343
|
+
var ie = void 0;
|
|
344
344
|
try {
|
|
345
|
-
if (typeof
|
|
346
|
-
var Be = Error((Q || "React class") + ": " +
|
|
345
|
+
if (typeof x[oe] != "function") {
|
|
346
|
+
var Be = Error((Q || "React class") + ": " + Z + " type `" + oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[oe] + "`.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
|
+
ie = x[oe](I, oe, Q, Z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
350
350
|
} catch (be) {
|
|
351
|
-
|
|
351
|
+
ie = be;
|
|
352
352
|
}
|
|
353
|
-
|
|
353
|
+
ie && !(ie 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", Z, oe, typeof ie), Pe(null)), ie instanceof Error && !(ie.message in Ve) && (Ve[ie.message] = !0, Pe(ue), f("Failed %s type: %s", Z, ie.message), Pe(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
var we = Array.isArray;
|
|
358
|
-
function ve(
|
|
359
|
-
return we(
|
|
358
|
+
function ve(x) {
|
|
359
|
+
return we(x);
|
|
360
360
|
}
|
|
361
|
-
function We(
|
|
361
|
+
function We(x) {
|
|
362
362
|
{
|
|
363
|
-
var I = typeof Symbol == "function" && Symbol.toStringTag,
|
|
364
|
-
return
|
|
363
|
+
var I = typeof Symbol == "function" && Symbol.toStringTag, Z = I && x[Symbol.toStringTag] || x.constructor.name || "Object";
|
|
364
|
+
return Z;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function ta(
|
|
367
|
+
function ta(x) {
|
|
368
368
|
try {
|
|
369
|
-
return ia(
|
|
369
|
+
return ia(x), !1;
|
|
370
370
|
} catch {
|
|
371
371
|
return !0;
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
function ia(
|
|
375
|
-
return "" +
|
|
374
|
+
function ia(x) {
|
|
375
|
+
return "" + x;
|
|
376
376
|
}
|
|
377
|
-
function xe(
|
|
378
|
-
if (ta(
|
|
379
|
-
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", We(
|
|
377
|
+
function xe(x) {
|
|
378
|
+
if (ta(x))
|
|
379
|
+
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", We(x)), ia(x);
|
|
380
380
|
}
|
|
381
381
|
var Fe = y.ReactCurrentOwner, je = {
|
|
382
382
|
key: !0,
|
|
@@ -384,234 +384,234 @@ function $r() {
|
|
|
384
384
|
__self: !0,
|
|
385
385
|
__source: !0
|
|
386
386
|
}, oa, ga;
|
|
387
|
-
function Je(
|
|
388
|
-
if (fe.call(
|
|
389
|
-
var I = Object.getOwnPropertyDescriptor(
|
|
387
|
+
function Je(x) {
|
|
388
|
+
if (fe.call(x, "ref")) {
|
|
389
|
+
var I = Object.getOwnPropertyDescriptor(x, "ref").get;
|
|
390
390
|
if (I && I.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
|
-
return
|
|
393
|
+
return x.ref !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function Ye(
|
|
396
|
-
if (fe.call(
|
|
397
|
-
var I = Object.getOwnPropertyDescriptor(
|
|
395
|
+
function Ye(x) {
|
|
396
|
+
if (fe.call(x, "key")) {
|
|
397
|
+
var I = Object.getOwnPropertyDescriptor(x, "key").get;
|
|
398
398
|
if (I && I.isReactWarning)
|
|
399
399
|
return !1;
|
|
400
400
|
}
|
|
401
|
-
return
|
|
401
|
+
return x.key !== void 0;
|
|
402
402
|
}
|
|
403
|
-
function Va(
|
|
404
|
-
typeof
|
|
403
|
+
function Va(x, I) {
|
|
404
|
+
typeof x.ref == "string" && Fe.current;
|
|
405
405
|
}
|
|
406
|
-
function Da(
|
|
406
|
+
function Da(x, I) {
|
|
407
407
|
{
|
|
408
|
-
var
|
|
408
|
+
var Z = function() {
|
|
409
409
|
oa || (oa = !0, f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
|
|
410
410
|
};
|
|
411
|
-
|
|
412
|
-
get:
|
|
411
|
+
Z.isReactWarning = !0, Object.defineProperty(x, "key", {
|
|
412
|
+
get: Z,
|
|
413
413
|
configurable: !0
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
function Ea(
|
|
417
|
+
function Ea(x, I) {
|
|
418
418
|
{
|
|
419
|
-
var
|
|
419
|
+
var Z = function() {
|
|
420
420
|
ga || (ga = !0, f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
|
|
421
421
|
};
|
|
422
|
-
|
|
423
|
-
get:
|
|
422
|
+
Z.isReactWarning = !0, Object.defineProperty(x, "ref", {
|
|
423
|
+
get: Z,
|
|
424
424
|
configurable: !0
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var Ja = function(
|
|
429
|
-
var
|
|
428
|
+
var Ja = function(x, I, Z, Q, ue, ge, oe) {
|
|
429
|
+
var ie = {
|
|
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
|
|
433
|
-
type:
|
|
433
|
+
type: x,
|
|
434
434
|
key: I,
|
|
435
|
-
ref:
|
|
436
|
-
props:
|
|
435
|
+
ref: Z,
|
|
436
|
+
props: oe,
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
438
|
_owner: ge
|
|
439
439
|
};
|
|
440
|
-
return
|
|
440
|
+
return ie._store = {}, Object.defineProperty(ie._store, "validated", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !0,
|
|
444
444
|
value: !1
|
|
445
|
-
}), Object.defineProperty(
|
|
445
|
+
}), Object.defineProperty(ie, "_self", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
449
|
value: Q
|
|
450
|
-
}), Object.defineProperty(
|
|
450
|
+
}), Object.defineProperty(ie, "_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(ie.props), Object.freeze(ie)), ie;
|
|
456
456
|
};
|
|
457
|
-
function Za(
|
|
457
|
+
function Za(x, I, Z, Q, ue) {
|
|
458
458
|
{
|
|
459
|
-
var ge,
|
|
460
|
-
|
|
459
|
+
var ge, oe = {}, ie = null, Be = null;
|
|
460
|
+
Z !== void 0 && (xe(Z), ie = "" + Z), Ye(I) && (xe(I.key), ie = "" + I.key), Je(I) && (Be = I.ref, Va(I, ue));
|
|
461
461
|
for (ge in I)
|
|
462
|
-
fe.call(I, ge) && !je.hasOwnProperty(ge) && (
|
|
463
|
-
if (
|
|
464
|
-
var be =
|
|
462
|
+
fe.call(I, ge) && !je.hasOwnProperty(ge) && (oe[ge] = I[ge]);
|
|
463
|
+
if (x && x.defaultProps) {
|
|
464
|
+
var be = x.defaultProps;
|
|
465
465
|
for (ge in be)
|
|
466
|
-
|
|
466
|
+
oe[ge] === void 0 && (oe[ge] = be[ge]);
|
|
467
467
|
}
|
|
468
|
-
if (
|
|
469
|
-
var he = typeof
|
|
470
|
-
|
|
468
|
+
if (ie || Be) {
|
|
469
|
+
var he = typeof x == "function" ? x.displayName || x.name || "Unknown" : x;
|
|
470
|
+
ie && Da(oe, he), Be && Ea(oe, he);
|
|
471
471
|
}
|
|
472
|
-
return Ja(
|
|
472
|
+
return Ja(x, ie, Be, ue, Q, Fe.current, oe);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
var da = y.ReactCurrentOwner, ya = y.ReactDebugCurrentFrame;
|
|
476
|
-
function qe(
|
|
477
|
-
if (
|
|
478
|
-
var I =
|
|
479
|
-
ya.setExtraStackFrame(
|
|
476
|
+
function qe(x) {
|
|
477
|
+
if (x) {
|
|
478
|
+
var I = x._owner, Z = ke(x.type, x._source, I ? I.type : null);
|
|
479
|
+
ya.setExtraStackFrame(Z);
|
|
480
480
|
} else
|
|
481
481
|
ya.setExtraStackFrame(null);
|
|
482
482
|
}
|
|
483
483
|
var ca;
|
|
484
484
|
ca = !1;
|
|
485
|
-
function fa(
|
|
486
|
-
return typeof
|
|
485
|
+
function fa(x) {
|
|
486
|
+
return typeof x == "object" && x !== null && x.$$typeof === n;
|
|
487
487
|
}
|
|
488
488
|
function Na() {
|
|
489
489
|
{
|
|
490
490
|
if (da.current) {
|
|
491
|
-
var
|
|
492
|
-
if (
|
|
491
|
+
var x = F(da.current.type);
|
|
492
|
+
if (x)
|
|
493
493
|
return `
|
|
494
494
|
|
|
495
|
-
Check the render method of \`` +
|
|
495
|
+
Check the render method of \`` + x + "`.";
|
|
496
496
|
}
|
|
497
497
|
return "";
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
function La(
|
|
500
|
+
function La(x) {
|
|
501
501
|
return "";
|
|
502
502
|
}
|
|
503
503
|
var Ua = {};
|
|
504
|
-
function Ga(
|
|
504
|
+
function Ga(x) {
|
|
505
505
|
{
|
|
506
506
|
var I = Na();
|
|
507
507
|
if (!I) {
|
|
508
|
-
var
|
|
509
|
-
|
|
508
|
+
var Z = typeof x == "string" ? x : x.displayName || x.name;
|
|
509
|
+
Z && (I = `
|
|
510
510
|
|
|
511
|
-
Check the top-level render call using <` +
|
|
511
|
+
Check the top-level render call using <` + Z + ">.");
|
|
512
512
|
}
|
|
513
513
|
return I;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function Ma(
|
|
516
|
+
function Ma(x, I) {
|
|
517
517
|
{
|
|
518
|
-
if (!
|
|
518
|
+
if (!x._store || x._store.validated || x.key != null)
|
|
519
519
|
return;
|
|
520
|
-
|
|
521
|
-
var
|
|
522
|
-
if (Ua[
|
|
520
|
+
x._store.validated = !0;
|
|
521
|
+
var Z = Ga(I);
|
|
522
|
+
if (Ua[Z])
|
|
523
523
|
return;
|
|
524
|
-
Ua[
|
|
524
|
+
Ua[Z] = !0;
|
|
525
525
|
var Q = "";
|
|
526
|
-
|
|
526
|
+
x && x._owner && x._owner !== da.current && (Q = " It was passed a child from " + F(x._owner.type) + "."), qe(x), f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Z, Q), qe(null);
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
|
-
function Se(
|
|
529
|
+
function Se(x, I) {
|
|
530
530
|
{
|
|
531
|
-
if (typeof
|
|
531
|
+
if (typeof x != "object")
|
|
532
532
|
return;
|
|
533
|
-
if (ve(
|
|
534
|
-
for (var
|
|
535
|
-
var Q =
|
|
533
|
+
if (ve(x))
|
|
534
|
+
for (var Z = 0; Z < x.length; Z++) {
|
|
535
|
+
var Q = x[Z];
|
|
536
536
|
fa(Q) && Ma(Q, I);
|
|
537
537
|
}
|
|
538
|
-
else if (fa(
|
|
539
|
-
|
|
540
|
-
else if (
|
|
541
|
-
var ue = c(
|
|
542
|
-
if (typeof ue == "function" && ue !==
|
|
543
|
-
for (var ge = ue.call(
|
|
544
|
-
fa(
|
|
538
|
+
else if (fa(x))
|
|
539
|
+
x._store && (x._store.validated = !0);
|
|
540
|
+
else if (x) {
|
|
541
|
+
var ue = c(x);
|
|
542
|
+
if (typeof ue == "function" && ue !== x.entries)
|
|
543
|
+
for (var ge = ue.call(x), oe; !(oe = ge.next()).done; )
|
|
544
|
+
fa(oe.value) && Ma(oe.value, I);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
function V(
|
|
548
|
+
function V(x) {
|
|
549
549
|
{
|
|
550
|
-
var I =
|
|
550
|
+
var I = x.type;
|
|
551
551
|
if (I == null || typeof I == "string")
|
|
552
552
|
return;
|
|
553
|
-
var
|
|
553
|
+
var Z;
|
|
554
554
|
if (typeof I == "function")
|
|
555
|
-
|
|
555
|
+
Z = I.propTypes;
|
|
556
556
|
else if (typeof I == "object" && (I.$$typeof === l || // Note: Memo only checks outer props here.
|
|
557
557
|
// Inner props are checked in the reconciler.
|
|
558
558
|
I.$$typeof === o))
|
|
559
|
-
|
|
559
|
+
Z = I.propTypes;
|
|
560
560
|
else
|
|
561
561
|
return;
|
|
562
|
-
if (
|
|
563
|
-
var Q =
|
|
564
|
-
aa(
|
|
562
|
+
if (Z) {
|
|
563
|
+
var Q = F(I);
|
|
564
|
+
aa(Z, x.props, "prop", Q, x);
|
|
565
565
|
} else if (I.PropTypes !== void 0 && !ca) {
|
|
566
566
|
ca = !0;
|
|
567
|
-
var ue =
|
|
567
|
+
var ue = F(I);
|
|
568
568
|
f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ue || "Unknown");
|
|
569
569
|
}
|
|
570
570
|
typeof I.getDefaultProps == "function" && !I.getDefaultProps.isReactClassApproved && f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
function De(
|
|
573
|
+
function De(x) {
|
|
574
574
|
{
|
|
575
|
-
for (var I = Object.keys(
|
|
576
|
-
var Q = I[
|
|
575
|
+
for (var I = Object.keys(x.props), Z = 0; Z < I.length; Z++) {
|
|
576
|
+
var Q = I[Z];
|
|
577
577
|
if (Q !== "children" && Q !== "key") {
|
|
578
|
-
qe(
|
|
578
|
+
qe(x), f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Q), qe(null);
|
|
579
579
|
break;
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
|
-
|
|
582
|
+
x.ref !== null && (qe(x), f("Invalid attribute `ref` supplied to `React.Fragment`."), qe(null));
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var na = {};
|
|
586
|
-
function Ae(
|
|
586
|
+
function Ae(x, I, Z, Q, ue, ge) {
|
|
587
587
|
{
|
|
588
|
-
var
|
|
589
|
-
if (!
|
|
590
|
-
var
|
|
591
|
-
(
|
|
588
|
+
var oe = S(x);
|
|
589
|
+
if (!oe) {
|
|
590
|
+
var ie = "";
|
|
591
|
+
(x === void 0 || typeof x == "object" && x !== null && Object.keys(x).length === 0) && (ie += " 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 ? ie += Be : ie += Na();
|
|
594
594
|
var be;
|
|
595
|
-
|
|
595
|
+
x === null ? be = "null" : ve(x) ? be = "array" : x !== void 0 && x.$$typeof === n ? (be = "<" + (F(x.type) || "Unknown") + " />", ie = " Did you accidentally export a JSX literal instead of a component?") : be = typeof x, 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, ie);
|
|
596
596
|
}
|
|
597
|
-
var he = Za(
|
|
597
|
+
var he = Za(x, I, Z, ue, ge);
|
|
598
598
|
if (he == null)
|
|
599
599
|
return he;
|
|
600
|
-
if (
|
|
600
|
+
if (oe) {
|
|
601
601
|
var $e = I.children;
|
|
602
602
|
if ($e !== void 0)
|
|
603
603
|
if (Q)
|
|
604
604
|
if (ve($e)) {
|
|
605
605
|
for (var Ra = 0; Ra < $e.length; Ra++)
|
|
606
|
-
Se($e[Ra],
|
|
606
|
+
Se($e[Ra], x);
|
|
607
607
|
Object.freeze && Object.freeze($e);
|
|
608
608
|
} else
|
|
609
609
|
f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
610
610
|
else
|
|
611
|
-
Se($e,
|
|
611
|
+
Se($e, x);
|
|
612
612
|
}
|
|
613
613
|
if (fe.call(I, "key")) {
|
|
614
|
-
var ba =
|
|
614
|
+
var ba = F(x), ze = Object.keys(I).filter(function(Ar) {
|
|
615
615
|
return Ar !== "key";
|
|
616
616
|
}), ti = ze.length > 0 ? "{key: someKey, " + ze.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
617
|
if (!na[ba + ti]) {
|
|
@@ -624,14 +624,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
<%s key={someKey} {...props} />`, ti, ba, Fr, ba), na[ba + ti] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
|
-
return
|
|
627
|
+
return x === r ? De(he) : V(he), he;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
function ra(
|
|
631
|
-
return Ae(
|
|
630
|
+
function ra(x, I, Z) {
|
|
631
|
+
return Ae(x, I, Z, !0);
|
|
632
632
|
}
|
|
633
|
-
function it(
|
|
634
|
-
return Ae(
|
|
633
|
+
function it(x, I, Z) {
|
|
634
|
+
return Ae(x, I, Z, !1);
|
|
635
635
|
}
|
|
636
636
|
var ai = it, wr = ra;
|
|
637
637
|
qa.Fragment = r, qa.jsx = ai, qa.jsxs = wr;
|
|
@@ -842,275 +842,275 @@ function nl() {
|
|
|
842
842
|
(function(t, r) {
|
|
843
843
|
e.exports = r();
|
|
844
844
|
})(il, (function() {
|
|
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(
|
|
846
|
-
var
|
|
847
|
-
return "[" +
|
|
848
|
-
} }, b = function(
|
|
849
|
-
var
|
|
850
|
-
return !
|
|
851
|
-
}, C = { s: b, z: function(
|
|
852
|
-
var
|
|
853
|
-
return (
|
|
854
|
-
}, m: function
|
|
855
|
-
if (
|
|
856
|
-
var
|
|
857
|
-
return +(-(
|
|
858
|
-
}, a: function(
|
|
859
|
-
return
|
|
860
|
-
}, p: function(
|
|
861
|
-
return { M: o, y: u, w: i, d: a, D: m, h: l, m: d, s: U, ms: g, Q: s }[
|
|
862
|
-
}, u: function(
|
|
863
|
-
return
|
|
864
|
-
} }, v = "en",
|
|
865
|
-
|
|
866
|
-
var E = "$isDayjsObject", G = function(
|
|
867
|
-
return
|
|
868
|
-
},
|
|
869
|
-
var
|
|
870
|
-
if (!
|
|
871
|
-
if (typeof
|
|
872
|
-
var
|
|
873
|
-
|
|
874
|
-
var
|
|
875
|
-
if (!
|
|
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(P) {
|
|
846
|
+
var M = ["th", "st", "nd", "rd"], R = P % 100;
|
|
847
|
+
return "[" + P + (M[(R - 20) % 10] || M[R] || M[0]) + "]";
|
|
848
|
+
} }, b = function(P, M, R) {
|
|
849
|
+
var B = String(P);
|
|
850
|
+
return !B || B.length >= M ? P : "" + Array(M + 1 - B.length).join(R) + P;
|
|
851
|
+
}, C = { s: b, z: function(P) {
|
|
852
|
+
var M = -P.utcOffset(), R = Math.abs(M), B = Math.floor(R / 60), O = R % 60;
|
|
853
|
+
return (M <= 0 ? "+" : "-") + b(B, 2, "0") + ":" + b(O, 2, "0");
|
|
854
|
+
}, m: function P(M, R) {
|
|
855
|
+
if (M.date() < R.date()) return -P(R, M);
|
|
856
|
+
var B = 12 * (R.year() - M.year()) + (R.month() - M.month()), O = M.clone().add(B, o), W = R - O < 0, z = M.clone().add(B + (W ? -1 : 1), o);
|
|
857
|
+
return +(-(B + (R - O) / (W ? O - z : z - O)) || 0);
|
|
858
|
+
}, a: function(P) {
|
|
859
|
+
return P < 0 ? Math.ceil(P) || 0 : Math.floor(P);
|
|
860
|
+
}, p: function(P) {
|
|
861
|
+
return { M: o, y: u, w: i, d: a, D: m, h: l, m: d, s: U, ms: g, Q: s }[P] || String(P || "").toLowerCase().replace(/s$/, "");
|
|
862
|
+
}, u: function(P) {
|
|
863
|
+
return P === void 0;
|
|
864
|
+
} }, v = "en", D = {};
|
|
865
|
+
D[v] = f;
|
|
866
|
+
var E = "$isDayjsObject", G = function(P) {
|
|
867
|
+
return P instanceof w || !(!P || !P[E]);
|
|
868
|
+
}, A = function P(M, R, B) {
|
|
869
|
+
var O;
|
|
870
|
+
if (!M) return v;
|
|
871
|
+
if (typeof M == "string") {
|
|
872
|
+
var W = M.toLowerCase();
|
|
873
|
+
D[W] && (O = W), R && (D[W] = R, O = W);
|
|
874
|
+
var z = M.split("-");
|
|
875
|
+
if (!O && z.length > 1) return P(z[0]);
|
|
876
876
|
} else {
|
|
877
|
-
var
|
|
878
|
-
|
|
877
|
+
var h = M.name;
|
|
878
|
+
D[h] = M, O = h;
|
|
879
879
|
}
|
|
880
|
-
return !
|
|
881
|
-
},
|
|
882
|
-
if (G(
|
|
883
|
-
var
|
|
884
|
-
return
|
|
885
|
-
},
|
|
886
|
-
|
|
887
|
-
return
|
|
880
|
+
return !B && O && (v = O), O || !B && v;
|
|
881
|
+
}, S = function(P, M) {
|
|
882
|
+
if (G(P)) return P.clone();
|
|
883
|
+
var R = typeof M == "object" ? M : {};
|
|
884
|
+
return R.date = P, R.args = arguments, new w(R);
|
|
885
|
+
}, k = C;
|
|
886
|
+
k.l = A, k.i = G, k.w = function(P, M) {
|
|
887
|
+
return S(P, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
|
|
888
888
|
};
|
|
889
|
-
var
|
|
890
|
-
function
|
|
891
|
-
this.$L =
|
|
889
|
+
var w = (function() {
|
|
890
|
+
function P(R) {
|
|
891
|
+
this.$L = A(R.locale, null, !0), this.parse(R), this.$x = this.$x || R.x || {}, this[E] = !0;
|
|
892
892
|
}
|
|
893
|
-
var
|
|
894
|
-
return
|
|
895
|
-
this.$d = (function(
|
|
896
|
-
var
|
|
897
|
-
if (
|
|
898
|
-
if (
|
|
899
|
-
if (
|
|
900
|
-
if (typeof
|
|
901
|
-
var
|
|
902
|
-
if (
|
|
903
|
-
var
|
|
904
|
-
return
|
|
893
|
+
var M = P.prototype;
|
|
894
|
+
return M.parse = function(R) {
|
|
895
|
+
this.$d = (function(B) {
|
|
896
|
+
var O = B.date, W = B.utc;
|
|
897
|
+
if (O === null) return /* @__PURE__ */ new Date(NaN);
|
|
898
|
+
if (k.u(O)) return /* @__PURE__ */ new Date();
|
|
899
|
+
if (O instanceof Date) return new Date(O);
|
|
900
|
+
if (typeof O == "string" && !/Z$/i.test(O)) {
|
|
901
|
+
var z = O.match(c);
|
|
902
|
+
if (z) {
|
|
903
|
+
var h = z[2] - 1 || 0, T = (z[7] || "0").substring(0, 3);
|
|
904
|
+
return W ? new Date(Date.UTC(z[1], h, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0, T)) : new Date(z[1], h, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0, T);
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
|
-
return new Date(
|
|
908
|
-
})(
|
|
909
|
-
},
|
|
910
|
-
var
|
|
911
|
-
this.$y =
|
|
912
|
-
},
|
|
913
|
-
return
|
|
914
|
-
},
|
|
907
|
+
return new Date(O);
|
|
908
|
+
})(R), this.init();
|
|
909
|
+
}, M.init = function() {
|
|
910
|
+
var R = this.$d;
|
|
911
|
+
this.$y = R.getFullYear(), this.$M = R.getMonth(), this.$D = R.getDate(), this.$W = R.getDay(), this.$H = R.getHours(), this.$m = R.getMinutes(), this.$s = R.getSeconds(), this.$ms = R.getMilliseconds();
|
|
912
|
+
}, M.$utils = function() {
|
|
913
|
+
return k;
|
|
914
|
+
}, M.isValid = function() {
|
|
915
915
|
return this.$d.toString() !== _;
|
|
916
|
-
},
|
|
917
|
-
var
|
|
918
|
-
return this.startOf(
|
|
919
|
-
},
|
|
920
|
-
return
|
|
921
|
-
},
|
|
922
|
-
return this.endOf(
|
|
923
|
-
},
|
|
924
|
-
return
|
|
925
|
-
},
|
|
916
|
+
}, M.isSame = function(R, B) {
|
|
917
|
+
var O = S(R);
|
|
918
|
+
return this.startOf(B) <= O && O <= this.endOf(B);
|
|
919
|
+
}, M.isAfter = function(R, B) {
|
|
920
|
+
return S(R) < this.startOf(B);
|
|
921
|
+
}, M.isBefore = function(R, B) {
|
|
922
|
+
return this.endOf(B) < S(R);
|
|
923
|
+
}, M.$g = function(R, B, O) {
|
|
924
|
+
return k.u(R) ? this[B] : this.set(O, R);
|
|
925
|
+
}, M.unix = function() {
|
|
926
926
|
return Math.floor(this.valueOf() / 1e3);
|
|
927
|
-
},
|
|
927
|
+
}, M.valueOf = function() {
|
|
928
928
|
return this.$d.getTime();
|
|
929
|
-
},
|
|
930
|
-
var
|
|
931
|
-
var ye =
|
|
932
|
-
return
|
|
933
|
-
},
|
|
934
|
-
return
|
|
935
|
-
}, L = this.$W, N = this.$M,
|
|
936
|
-
switch (
|
|
929
|
+
}, M.startOf = function(R, B) {
|
|
930
|
+
var O = this, W = !!k.u(B) || B, z = k.p(R), h = function(te, le) {
|
|
931
|
+
var ye = k.w(O.$u ? Date.UTC(O.$y, le, te) : new Date(O.$y, le, te), O);
|
|
932
|
+
return W ? ye : ye.endOf(a);
|
|
933
|
+
}, T = function(te, le) {
|
|
934
|
+
return k.w(O.toDate()[te].apply(O.toDate("s"), (W ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(le)), O);
|
|
935
|
+
}, L = this.$W, N = this.$M, J = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
936
|
+
switch (z) {
|
|
937
937
|
case u:
|
|
938
|
-
return
|
|
938
|
+
return W ? h(1, 0) : h(31, 11);
|
|
939
939
|
case o:
|
|
940
|
-
return
|
|
940
|
+
return W ? h(1, N) : h(0, N + 1);
|
|
941
941
|
case i:
|
|
942
942
|
var j = this.$locale().weekStart || 0, K = (L < j ? L + 7 : L) - j;
|
|
943
|
-
return
|
|
943
|
+
return h(W ? J - K : J + (6 - K), N);
|
|
944
944
|
case a:
|
|
945
945
|
case m:
|
|
946
|
-
return
|
|
946
|
+
return T(q + "Hours", 0);
|
|
947
947
|
case l:
|
|
948
|
-
return
|
|
948
|
+
return T(q + "Minutes", 1);
|
|
949
949
|
case d:
|
|
950
|
-
return
|
|
950
|
+
return T(q + "Seconds", 2);
|
|
951
951
|
case U:
|
|
952
|
-
return
|
|
952
|
+
return T(q + "Milliseconds", 3);
|
|
953
953
|
default:
|
|
954
954
|
return this.clone();
|
|
955
955
|
}
|
|
956
|
-
},
|
|
957
|
-
return this.startOf(
|
|
958
|
-
},
|
|
959
|
-
var
|
|
960
|
-
if (
|
|
956
|
+
}, M.endOf = function(R) {
|
|
957
|
+
return this.startOf(R, !1);
|
|
958
|
+
}, M.$set = function(R, B) {
|
|
959
|
+
var O, W = k.p(R), z = "set" + (this.$u ? "UTC" : ""), h = (O = {}, O[a] = z + "Date", O[m] = z + "Date", O[o] = z + "Month", O[u] = z + "FullYear", O[l] = z + "Hours", O[d] = z + "Minutes", O[U] = z + "Seconds", O[g] = z + "Milliseconds", O)[W], T = W === a ? this.$D + (B - this.$W) : B;
|
|
960
|
+
if (W === o || W === u) {
|
|
961
961
|
var L = this.clone().set(m, 1);
|
|
962
|
-
L.$d[
|
|
963
|
-
} else
|
|
962
|
+
L.$d[h](T), L.init(), this.$d = L.set(m, Math.min(this.$D, L.daysInMonth())).$d;
|
|
963
|
+
} else h && this.$d[h](T);
|
|
964
964
|
return this.init(), this;
|
|
965
|
-
},
|
|
966
|
-
return this.clone().$set(
|
|
967
|
-
},
|
|
968
|
-
return this[
|
|
969
|
-
},
|
|
970
|
-
var
|
|
971
|
-
|
|
972
|
-
var
|
|
973
|
-
var
|
|
974
|
-
return
|
|
965
|
+
}, M.set = function(R, B) {
|
|
966
|
+
return this.clone().$set(R, B);
|
|
967
|
+
}, M.get = function(R) {
|
|
968
|
+
return this[k.p(R)]();
|
|
969
|
+
}, M.add = function(R, B) {
|
|
970
|
+
var O, W = this;
|
|
971
|
+
R = Number(R);
|
|
972
|
+
var z = k.p(B), h = function(N) {
|
|
973
|
+
var J = S(W);
|
|
974
|
+
return k.w(J.date(J.date() + Math.round(N * R)), W);
|
|
975
975
|
};
|
|
976
|
-
if (
|
|
977
|
-
if (
|
|
978
|
-
if (
|
|
979
|
-
if (
|
|
980
|
-
var
|
|
981
|
-
return
|
|
982
|
-
},
|
|
983
|
-
return this.add(-1 *
|
|
984
|
-
},
|
|
985
|
-
var
|
|
986
|
-
if (!this.isValid()) return
|
|
987
|
-
var
|
|
988
|
-
return
|
|
989
|
-
}, K = function(
|
|
990
|
-
return
|
|
991
|
-
},
|
|
992
|
-
var me =
|
|
976
|
+
if (z === o) return this.set(o, this.$M + R);
|
|
977
|
+
if (z === u) return this.set(u, this.$y + R);
|
|
978
|
+
if (z === a) return h(1);
|
|
979
|
+
if (z === i) return h(7);
|
|
980
|
+
var T = (O = {}, O[d] = r, O[l] = p, O[U] = t, O)[z] || 1, L = this.$d.getTime() + R * T;
|
|
981
|
+
return k.w(L, this);
|
|
982
|
+
}, M.subtract = function(R, B) {
|
|
983
|
+
return this.add(-1 * R, B);
|
|
984
|
+
}, M.format = function(R) {
|
|
985
|
+
var B = this, O = this.$locale();
|
|
986
|
+
if (!this.isValid()) return O.invalidDate || _;
|
|
987
|
+
var W = R || "YYYY-MM-DDTHH:mm:ssZ", z = k.z(this), h = this.$H, T = this.$m, L = this.$M, N = O.weekdays, J = O.months, q = O.meridiem, j = function(le, ye, Ue, me) {
|
|
988
|
+
return le && (le[ye] || le(B, W)) || Ue[ye].slice(0, me);
|
|
989
|
+
}, K = function(le) {
|
|
990
|
+
return k.s(h % 12 || 12, le, "0");
|
|
991
|
+
}, te = q || function(le, ye, Ue) {
|
|
992
|
+
var me = le < 12 ? "AM" : "PM";
|
|
993
993
|
return Ue ? me.toLowerCase() : me;
|
|
994
994
|
};
|
|
995
|
-
return
|
|
995
|
+
return W.replace(y, (function(le, ye) {
|
|
996
996
|
return ye || (function(Ue) {
|
|
997
997
|
switch (Ue) {
|
|
998
998
|
case "YY":
|
|
999
|
-
return String(
|
|
999
|
+
return String(B.$y).slice(-2);
|
|
1000
1000
|
case "YYYY":
|
|
1001
|
-
return
|
|
1001
|
+
return k.s(B.$y, 4, "0");
|
|
1002
1002
|
case "M":
|
|
1003
1003
|
return L + 1;
|
|
1004
1004
|
case "MM":
|
|
1005
|
-
return
|
|
1005
|
+
return k.s(L + 1, 2, "0");
|
|
1006
1006
|
case "MMM":
|
|
1007
|
-
return j(
|
|
1007
|
+
return j(O.monthsShort, L, J, 3);
|
|
1008
1008
|
case "MMMM":
|
|
1009
|
-
return j(
|
|
1009
|
+
return j(J, L);
|
|
1010
1010
|
case "D":
|
|
1011
|
-
return
|
|
1011
|
+
return B.$D;
|
|
1012
1012
|
case "DD":
|
|
1013
|
-
return
|
|
1013
|
+
return k.s(B.$D, 2, "0");
|
|
1014
1014
|
case "d":
|
|
1015
|
-
return String(
|
|
1015
|
+
return String(B.$W);
|
|
1016
1016
|
case "dd":
|
|
1017
|
-
return j(
|
|
1017
|
+
return j(O.weekdaysMin, B.$W, N, 2);
|
|
1018
1018
|
case "ddd":
|
|
1019
|
-
return j(
|
|
1019
|
+
return j(O.weekdaysShort, B.$W, N, 3);
|
|
1020
1020
|
case "dddd":
|
|
1021
|
-
return N[
|
|
1021
|
+
return N[B.$W];
|
|
1022
1022
|
case "H":
|
|
1023
|
-
return String(
|
|
1023
|
+
return String(h);
|
|
1024
1024
|
case "HH":
|
|
1025
|
-
return
|
|
1025
|
+
return k.s(h, 2, "0");
|
|
1026
1026
|
case "h":
|
|
1027
1027
|
return K(1);
|
|
1028
1028
|
case "hh":
|
|
1029
1029
|
return K(2);
|
|
1030
1030
|
case "a":
|
|
1031
|
-
return
|
|
1031
|
+
return te(h, T, !0);
|
|
1032
1032
|
case "A":
|
|
1033
|
-
return
|
|
1033
|
+
return te(h, T, !1);
|
|
1034
1034
|
case "m":
|
|
1035
|
-
return String(
|
|
1035
|
+
return String(T);
|
|
1036
1036
|
case "mm":
|
|
1037
|
-
return
|
|
1037
|
+
return k.s(T, 2, "0");
|
|
1038
1038
|
case "s":
|
|
1039
|
-
return String(
|
|
1039
|
+
return String(B.$s);
|
|
1040
1040
|
case "ss":
|
|
1041
|
-
return
|
|
1041
|
+
return k.s(B.$s, 2, "0");
|
|
1042
1042
|
case "SSS":
|
|
1043
|
-
return
|
|
1043
|
+
return k.s(B.$ms, 3, "0");
|
|
1044
1044
|
case "Z":
|
|
1045
|
-
return
|
|
1045
|
+
return z;
|
|
1046
1046
|
}
|
|
1047
1047
|
return null;
|
|
1048
|
-
})(
|
|
1048
|
+
})(le) || z.replace(":", "");
|
|
1049
1049
|
}));
|
|
1050
|
-
},
|
|
1050
|
+
}, M.utcOffset = function() {
|
|
1051
1051
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1052
|
-
},
|
|
1053
|
-
var
|
|
1054
|
-
return
|
|
1052
|
+
}, M.diff = function(R, B, O) {
|
|
1053
|
+
var W, z = this, h = k.p(B), T = S(R), L = (T.utcOffset() - this.utcOffset()) * r, N = this - T, J = function() {
|
|
1054
|
+
return k.m(z, T);
|
|
1055
1055
|
};
|
|
1056
|
-
switch (
|
|
1056
|
+
switch (h) {
|
|
1057
1057
|
case u:
|
|
1058
|
-
|
|
1058
|
+
W = J() / 12;
|
|
1059
1059
|
break;
|
|
1060
1060
|
case o:
|
|
1061
|
-
|
|
1061
|
+
W = J();
|
|
1062
1062
|
break;
|
|
1063
1063
|
case s:
|
|
1064
|
-
|
|
1064
|
+
W = J() / 3;
|
|
1065
1065
|
break;
|
|
1066
1066
|
case i:
|
|
1067
|
-
|
|
1067
|
+
W = (N - L) / 6048e5;
|
|
1068
1068
|
break;
|
|
1069
1069
|
case a:
|
|
1070
|
-
|
|
1070
|
+
W = (N - L) / 864e5;
|
|
1071
1071
|
break;
|
|
1072
1072
|
case l:
|
|
1073
|
-
|
|
1073
|
+
W = N / p;
|
|
1074
1074
|
break;
|
|
1075
1075
|
case d:
|
|
1076
|
-
|
|
1076
|
+
W = N / r;
|
|
1077
1077
|
break;
|
|
1078
1078
|
case U:
|
|
1079
|
-
|
|
1079
|
+
W = N / t;
|
|
1080
1080
|
break;
|
|
1081
1081
|
default:
|
|
1082
|
-
|
|
1082
|
+
W = N;
|
|
1083
1083
|
}
|
|
1084
|
-
return
|
|
1085
|
-
},
|
|
1084
|
+
return O ? W : k.a(W);
|
|
1085
|
+
}, M.daysInMonth = function() {
|
|
1086
1086
|
return this.endOf(o).$D;
|
|
1087
|
-
},
|
|
1088
|
-
return
|
|
1089
|
-
},
|
|
1090
|
-
if (!
|
|
1091
|
-
var
|
|
1092
|
-
return
|
|
1093
|
-
},
|
|
1094
|
-
return
|
|
1095
|
-
},
|
|
1087
|
+
}, M.$locale = function() {
|
|
1088
|
+
return D[this.$L];
|
|
1089
|
+
}, M.locale = function(R, B) {
|
|
1090
|
+
if (!R) return this.$L;
|
|
1091
|
+
var O = this.clone(), W = A(R, B, !0);
|
|
1092
|
+
return W && (O.$L = W), O;
|
|
1093
|
+
}, M.clone = function() {
|
|
1094
|
+
return k.w(this.$d, this);
|
|
1095
|
+
}, M.toDate = function() {
|
|
1096
1096
|
return new Date(this.valueOf());
|
|
1097
|
-
},
|
|
1097
|
+
}, M.toJSON = function() {
|
|
1098
1098
|
return this.isValid() ? this.toISOString() : null;
|
|
1099
|
-
},
|
|
1099
|
+
}, M.toISOString = function() {
|
|
1100
1100
|
return this.$d.toISOString();
|
|
1101
|
-
},
|
|
1101
|
+
}, M.toString = function() {
|
|
1102
1102
|
return this.$d.toUTCString();
|
|
1103
|
-
},
|
|
1104
|
-
})(),
|
|
1105
|
-
return
|
|
1106
|
-
|
|
1107
|
-
return this.$g(
|
|
1103
|
+
}, P;
|
|
1104
|
+
})(), F = w.prototype;
|
|
1105
|
+
return S.prototype = F, [["$ms", g], ["$s", U], ["$m", d], ["$H", l], ["$W", a], ["$M", o], ["$y", u], ["$D", m]].forEach((function(P) {
|
|
1106
|
+
F[P[1]] = function(M) {
|
|
1107
|
+
return this.$g(M, P[0], P[1]);
|
|
1108
1108
|
};
|
|
1109
|
-
})),
|
|
1110
|
-
return
|
|
1111
|
-
},
|
|
1112
|
-
return
|
|
1113
|
-
},
|
|
1109
|
+
})), S.extend = function(P, M) {
|
|
1110
|
+
return P.$i || (P(M, w, S), P.$i = !0), S;
|
|
1111
|
+
}, S.locale = A, S.isDayjs = G, S.unix = function(P) {
|
|
1112
|
+
return S(1e3 * P);
|
|
1113
|
+
}, S.en = D[v], S.Ls = D, S.p = {}, S;
|
|
1114
1114
|
}));
|
|
1115
1115
|
})(pt)), pt.exports;
|
|
1116
1116
|
}
|
|
@@ -1288,16 +1288,16 @@ function ne() {
|
|
|
1288
1288
|
* wordArray1.concat(wordArray2);
|
|
1289
1289
|
*/
|
|
1290
1290
|
concat: function(f) {
|
|
1291
|
-
var b = this.words, C = f.words, v = this.sigBytes,
|
|
1291
|
+
var b = this.words, C = f.words, v = this.sigBytes, D = f.sigBytes;
|
|
1292
1292
|
if (this.clamp(), v % 4)
|
|
1293
|
-
for (var E = 0; E <
|
|
1293
|
+
for (var E = 0; E < D; 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
|
-
for (var
|
|
1299
|
-
b[v +
|
|
1300
|
-
return this.sigBytes +=
|
|
1298
|
+
for (var A = 0; A < D; A += 4)
|
|
1299
|
+
b[v + A >>> 2] = C[A >>> 2];
|
|
1300
|
+
return this.sigBytes += D, this;
|
|
1301
1301
|
},
|
|
1302
1302
|
/**
|
|
1303
1303
|
* Removes insignificant bits.
|
|
@@ -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 b = f.words, C = f.sigBytes, v = [],
|
|
1360
|
-
var E = b[
|
|
1359
|
+
for (var b = f.words, C = f.sigBytes, v = [], D = 0; D < C; D++) {
|
|
1360
|
+
var E = b[D >>> 2] >>> 24 - D % 4 * 8 & 255;
|
|
1361
1361
|
v.push((E >>> 4).toString(16)), v.push((E & 15).toString(16));
|
|
1362
1362
|
}
|
|
1363
1363
|
return v.join("");
|
|
@@ -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 b = f.words, C = f.sigBytes, v = [],
|
|
1399
|
-
var E = b[
|
|
1398
|
+
for (var b = f.words, C = f.sigBytes, v = [], D = 0; D < C; D++) {
|
|
1399
|
+
var E = b[D >>> 2] >>> 24 - D % 4 * 8 & 255;
|
|
1400
1400
|
v.push(String.fromCharCode(E));
|
|
1401
1401
|
}
|
|
1402
1402
|
return v.join("");
|
|
@@ -1495,15 +1495,15 @@ function ne() {
|
|
|
1495
1495
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
1496
1496
|
*/
|
|
1497
1497
|
_process: function(f) {
|
|
1498
|
-
var b, C = this._data, v = C.words,
|
|
1499
|
-
f ?
|
|
1500
|
-
var
|
|
1501
|
-
if (
|
|
1502
|
-
for (var
|
|
1503
|
-
this._doProcessBlock(v,
|
|
1504
|
-
b = v.splice(0,
|
|
1498
|
+
var b, C = this._data, v = C.words, D = C.sigBytes, E = this.blockSize, G = E * 4, A = D / G;
|
|
1499
|
+
f ? A = r.ceil(A) : A = r.max((A | 0) - this._minBufferSize, 0);
|
|
1500
|
+
var S = A * E, k = r.min(S * 4, D);
|
|
1501
|
+
if (S) {
|
|
1502
|
+
for (var w = 0; w < S; w += E)
|
|
1503
|
+
this._doProcessBlock(v, w);
|
|
1504
|
+
b = v.splice(0, S), C.sigBytes -= k;
|
|
1505
1505
|
}
|
|
1506
|
-
return new o.init(b,
|
|
1506
|
+
return new o.init(b, k);
|
|
1507
1507
|
},
|
|
1508
1508
|
/**
|
|
1509
1509
|
* Creates a copy of this object.
|
|
@@ -2155,17 +2155,17 @@ function Sa() {
|
|
|
2155
2155
|
var f = c + y, b = _[f];
|
|
2156
2156
|
_[f] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360;
|
|
2157
2157
|
}
|
|
2158
|
-
var C = this._hash.words, v = _[c + 0],
|
|
2159
|
-
|
|
2158
|
+
var C = this._hash.words, v = _[c + 0], D = _[c + 1], E = _[c + 2], G = _[c + 3], A = _[c + 4], S = _[c + 5], k = _[c + 6], w = _[c + 7], F = _[c + 8], P = _[c + 9], M = _[c + 10], R = _[c + 11], B = _[c + 12], O = _[c + 13], W = _[c + 14], z = _[c + 15], h = C[0], T = C[1], L = C[2], N = C[3];
|
|
2159
|
+
h = o(h, T, L, N, v, 7, a[0]), N = o(N, h, T, L, D, 12, a[1]), L = o(L, N, h, T, E, 17, a[2]), T = o(T, L, N, h, G, 22, a[3]), h = o(h, T, L, N, A, 7, a[4]), N = o(N, h, T, L, S, 12, a[5]), L = o(L, N, h, T, k, 17, a[6]), T = o(T, L, N, h, w, 22, a[7]), h = o(h, T, L, N, F, 7, a[8]), N = o(N, h, T, L, P, 12, a[9]), L = o(L, N, h, T, M, 17, a[10]), T = o(T, L, N, h, R, 22, a[11]), h = o(h, T, L, N, B, 7, a[12]), N = o(N, h, T, L, O, 12, a[13]), L = o(L, N, h, T, W, 17, a[14]), T = o(T, L, N, h, z, 22, a[15]), h = s(h, T, L, N, D, 5, a[16]), N = s(N, h, T, L, k, 9, a[17]), L = s(L, N, h, T, R, 14, a[18]), T = s(T, L, N, h, v, 20, a[19]), h = s(h, T, L, N, S, 5, a[20]), N = s(N, h, T, L, M, 9, a[21]), L = s(L, N, h, T, z, 14, a[22]), T = s(T, L, N, h, A, 20, a[23]), h = s(h, T, L, N, P, 5, a[24]), N = s(N, h, T, L, W, 9, a[25]), L = s(L, N, h, T, G, 14, a[26]), T = s(T, L, N, h, F, 20, a[27]), h = s(h, T, L, N, O, 5, a[28]), N = s(N, h, T, L, E, 9, a[29]), L = s(L, N, h, T, w, 14, a[30]), T = s(T, L, N, h, B, 20, a[31]), h = u(h, T, L, N, S, 4, a[32]), N = u(N, h, T, L, F, 11, a[33]), L = u(L, N, h, T, R, 16, a[34]), T = u(T, L, N, h, W, 23, a[35]), h = u(h, T, L, N, D, 4, a[36]), N = u(N, h, T, L, A, 11, a[37]), L = u(L, N, h, T, w, 16, a[38]), T = u(T, L, N, h, M, 23, a[39]), h = u(h, T, L, N, O, 4, a[40]), N = u(N, h, T, L, v, 11, a[41]), L = u(L, N, h, T, G, 16, a[42]), T = u(T, L, N, h, k, 23, a[43]), h = u(h, T, L, N, P, 4, a[44]), N = u(N, h, T, L, B, 11, a[45]), L = u(L, N, h, T, z, 16, a[46]), T = u(T, L, N, h, E, 23, a[47]), h = m(h, T, L, N, v, 6, a[48]), N = m(N, h, T, L, w, 10, a[49]), L = m(L, N, h, T, W, 15, a[50]), T = m(T, L, N, h, S, 21, a[51]), h = m(h, T, L, N, B, 6, a[52]), N = m(N, h, T, L, G, 10, a[53]), L = m(L, N, h, T, M, 15, a[54]), T = m(T, L, N, h, D, 21, a[55]), h = m(h, T, L, N, F, 6, a[56]), N = m(N, h, T, L, z, 10, a[57]), L = m(L, N, h, T, k, 15, a[58]), T = m(T, L, N, h, O, 21, a[59]), h = m(h, T, L, N, A, 6, a[60]), N = m(N, h, T, L, R, 10, a[61]), L = m(L, N, h, T, E, 15, a[62]), T = m(T, L, N, h, P, 21, a[63]), C[0] = C[0] + h | 0, C[1] = C[1] + T | 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
2164
|
var b = r.floor(y / 4294967296), C = y;
|
|
2165
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
|
-
for (var v = this._hash,
|
|
2167
|
-
var G =
|
|
2168
|
-
|
|
2166
|
+
for (var v = this._hash, D = v.words, E = 0; E < 4; E++) {
|
|
2167
|
+
var G = D[E];
|
|
2168
|
+
D[E] = (G << 8 | G >>> 24) & 16711935 | (G << 24 | G >>> 8) & 4278255360;
|
|
2169
2169
|
}
|
|
2170
2170
|
return v;
|
|
2171
2171
|
},
|
|
@@ -2175,20 +2175,20 @@ function Sa() {
|
|
|
2175
2175
|
}
|
|
2176
2176
|
});
|
|
2177
2177
|
function o(_, c, y, f, b, C, v) {
|
|
2178
|
-
var
|
|
2179
|
-
return (
|
|
2178
|
+
var D = _ + (c & y | ~c & f) + b + v;
|
|
2179
|
+
return (D << C | D >>> 32 - C) + c;
|
|
2180
2180
|
}
|
|
2181
2181
|
function s(_, c, y, f, b, C, v) {
|
|
2182
|
-
var
|
|
2183
|
-
return (
|
|
2182
|
+
var D = _ + (c & f | y & ~f) + b + v;
|
|
2183
|
+
return (D << C | D >>> 32 - C) + c;
|
|
2184
2184
|
}
|
|
2185
2185
|
function u(_, c, y, f, b, C, v) {
|
|
2186
|
-
var
|
|
2187
|
-
return (
|
|
2186
|
+
var D = _ + (c ^ y ^ f) + b + v;
|
|
2187
|
+
return (D << C | D >>> 32 - C) + c;
|
|
2188
2188
|
}
|
|
2189
2189
|
function m(_, c, y, f, b, C, v) {
|
|
2190
|
-
var
|
|
2191
|
-
return (
|
|
2190
|
+
var D = _ + (y ^ (c | ~f)) + b + v;
|
|
2191
|
+
return (D << C | D >>> 32 - C) + c;
|
|
2192
2192
|
}
|
|
2193
2193
|
p.MD5 = d._createHelper(i), p.HmacMD5 = d._createHmacHelper(i);
|
|
2194
2194
|
})(Math), t.MD5;
|
|
@@ -2265,17 +2265,17 @@ function Ui() {
|
|
|
2265
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], b = _[3], C = _[4], v = _[5],
|
|
2268
|
+
for (var _ = this._hash.words, c = _[0], y = _[1], f = _[2], b = _[3], C = _[4], v = _[5], D = _[6], E = _[7], G = 0; G < 64; G++) {
|
|
2269
2269
|
if (G < 16)
|
|
2270
2270
|
o[G] = u[m + G] | 0;
|
|
2271
2271
|
else {
|
|
2272
|
-
var
|
|
2273
|
-
o[G] =
|
|
2272
|
+
var A = o[G - 15], S = (A << 25 | A >>> 7) ^ (A << 14 | A >>> 18) ^ A >>> 3, k = o[G - 2], w = (k << 15 | k >>> 17) ^ (k << 13 | k >>> 19) ^ k >>> 10;
|
|
2273
|
+
o[G] = S + o[G - 7] + w + o[G - 16];
|
|
2274
2274
|
}
|
|
2275
|
-
var
|
|
2276
|
-
E =
|
|
2275
|
+
var F = C & v ^ ~C & D, P = c & y ^ c & f ^ y & f, M = (c << 30 | c >>> 2) ^ (c << 19 | c >>> 13) ^ (c << 10 | c >>> 22), R = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), B = E + R + F + i[G] + o[G], O = M + P;
|
|
2276
|
+
E = D, D = v, v = C, C = b + B | 0, b = f, f = y, y = c, c = B + O | 0;
|
|
2277
2277
|
}
|
|
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] +
|
|
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] + D | 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;
|
|
@@ -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], b = c[2], C = c[3], v = c[4],
|
|
2435
|
+
for (var c = this._hash.words, y = c[0], f = c[1], b = c[2], C = c[3], v = c[4], D = c[5], E = c[6], G = c[7], A = y.high, S = y.low, k = f.high, w = f.low, F = b.high, P = b.low, M = C.high, R = C.low, B = v.high, O = v.low, W = D.high, z = D.low, h = E.high, T = E.low, L = G.high, N = G.low, J = A, q = S, j = k, K = w, te = F, le = P, ye = M, Ue = R, me = B, ce = O, ke = W, fe = z, Ve = h, Ce = T, 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 =
|
|
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 =
|
|
2443
|
+
var ca = me & ke ^ ~me & Ve, fa = ce & fe ^ ~ce & Ce, Na = J & j ^ J & te ^ j & te, La = q & K ^ q & le ^ K & le, Ua = (J >>> 28 | q << 4) ^ (J << 30 | q >>> 2) ^ (J << 25 | q >>> 7), Ga = (q >>> 28 | J << 4) ^ (q << 30 | J >>> 2) ^ (q << 25 | J >>> 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 = te, Ue = le, te = j, le = K, j = J, K = q, q = Ae + it | 0, J = ra + ai + (q >>> 0 < Ae >>> 0 ? 1 : 0) | 0;
|
|
2445
2445
|
}
|
|
2446
|
-
|
|
2446
|
+
S = y.low = S + q, y.high = A + J + (S >>> 0 < q >>> 0 ? 1 : 0), w = f.low = w + K, f.high = k + j + (w >>> 0 < K >>> 0 ? 1 : 0), P = b.low = P + le, b.high = F + te + (P >>> 0 < le >>> 0 ? 1 : 0), R = C.low = R + Ue, C.high = M + ye + (R >>> 0 < Ue >>> 0 ? 1 : 0), O = v.low = O + ce, v.high = B + me + (O >>> 0 < ce >>> 0 ? 1 : 0), z = D.low = z + fe, D.high = W + ke + (z >>> 0 < fe >>> 0 ? 1 : 0), T = E.low = T + Ce, E.high = h + Ve + (T >>> 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;
|
|
@@ -2509,15 +2509,15 @@ function El() {
|
|
|
2509
2509
|
for (var c = 0; c < 5; c++)
|
|
2510
2510
|
for (var y = 0; y < 5; y++)
|
|
2511
2511
|
s[c + 5 * y] = y + (2 * c + 3 * y) % 5 * 5;
|
|
2512
|
-
for (var v = 1,
|
|
2513
|
-
for (var E = 0, G = 0,
|
|
2512
|
+
for (var v = 1, D = 0; D < 24; D++) {
|
|
2513
|
+
for (var E = 0, G = 0, A = 0; A < 7; A++) {
|
|
2514
2514
|
if (v & 1) {
|
|
2515
|
-
var
|
|
2516
|
-
|
|
2515
|
+
var S = (1 << A) - 1;
|
|
2516
|
+
S < 32 ? G ^= 1 << S : E ^= 1 << S - 32;
|
|
2517
2517
|
}
|
|
2518
2518
|
v & 128 ? v = v << 1 ^ 113 : v <<= 1;
|
|
2519
2519
|
}
|
|
2520
|
-
u[
|
|
2520
|
+
u[D] = a.create(E, G);
|
|
2521
2521
|
}
|
|
2522
2522
|
})();
|
|
2523
2523
|
var m = [];
|
|
@@ -2544,37 +2544,37 @@ function El() {
|
|
|
2544
2544
|
},
|
|
2545
2545
|
_doProcessBlock: function(c, y) {
|
|
2546
2546
|
for (var f = this._state, b = this.blockSize / 2, C = 0; C < b; C++) {
|
|
2547
|
-
var v = c[y + 2 * C],
|
|
2548
|
-
v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360,
|
|
2547
|
+
var v = c[y + 2 * C], D = c[y + 2 * C + 1];
|
|
2548
|
+
v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, D = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360;
|
|
2549
2549
|
var E = f[C];
|
|
2550
|
-
E.high ^=
|
|
2550
|
+
E.high ^= D, E.low ^= v;
|
|
2551
2551
|
}
|
|
2552
2552
|
for (var G = 0; G < 24; G++) {
|
|
2553
|
-
for (var
|
|
2554
|
-
for (var
|
|
2555
|
-
var E = f[
|
|
2556
|
-
|
|
2553
|
+
for (var A = 0; A < 5; A++) {
|
|
2554
|
+
for (var S = 0, k = 0, w = 0; w < 5; w++) {
|
|
2555
|
+
var E = f[A + 5 * w];
|
|
2556
|
+
S ^= E.high, k ^= E.low;
|
|
2557
2557
|
}
|
|
2558
|
-
var
|
|
2559
|
-
|
|
2558
|
+
var F = m[A];
|
|
2559
|
+
F.high = S, F.low = k;
|
|
2560
2560
|
}
|
|
2561
|
-
for (var
|
|
2562
|
-
for (var
|
|
2563
|
-
var E = f[
|
|
2564
|
-
E.high ^=
|
|
2561
|
+
for (var A = 0; A < 5; A++)
|
|
2562
|
+
for (var P = m[(A + 4) % 5], M = m[(A + 1) % 5], R = M.high, B = M.low, S = P.high ^ (R << 1 | B >>> 31), k = P.low ^ (B << 1 | R >>> 31), w = 0; w < 5; w++) {
|
|
2563
|
+
var E = f[A + 5 * w];
|
|
2564
|
+
E.high ^= S, E.low ^= k;
|
|
2565
2565
|
}
|
|
2566
|
-
for (var
|
|
2567
|
-
var
|
|
2568
|
-
|
|
2569
|
-
var
|
|
2570
|
-
|
|
2566
|
+
for (var O = 1; O < 25; O++) {
|
|
2567
|
+
var S, k, E = f[O], W = E.high, z = E.low, h = o[O];
|
|
2568
|
+
h < 32 ? (S = W << h | z >>> 32 - h, k = z << h | W >>> 32 - h) : (S = z << h - 32 | W >>> 64 - h, k = W << h - 32 | z >>> 64 - h);
|
|
2569
|
+
var T = m[s[O]];
|
|
2570
|
+
T.high = S, T.low = k;
|
|
2571
2571
|
}
|
|
2572
2572
|
var L = m[0], N = f[0];
|
|
2573
2573
|
L.high = N.high, L.low = N.low;
|
|
2574
|
-
for (var
|
|
2575
|
-
for (var
|
|
2576
|
-
var
|
|
2577
|
-
E.high =
|
|
2574
|
+
for (var A = 0; A < 5; A++)
|
|
2575
|
+
for (var w = 0; w < 5; w++) {
|
|
2576
|
+
var O = A + 5 * w, E = f[O], J = m[O], q = m[(A + 1) % 5 + 5 * w], j = m[(A + 2) % 5 + 5 * w];
|
|
2577
|
+
E.high = J.high ^ ~q.high & j.high, E.low = J.low ^ ~q.low & j.low;
|
|
2578
2578
|
}
|
|
2579
2579
|
var E = f[0], K = u[G];
|
|
2580
2580
|
E.high ^= K.high, E.low ^= K.low;
|
|
@@ -2585,9 +2585,9 @@ function El() {
|
|
|
2585
2585
|
this._nDataBytes * 8;
|
|
2586
2586
|
var f = c.sigBytes * 8, b = this.blockSize * 32;
|
|
2587
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
|
-
for (var C = this._state, v = this.cfg.outputLength / 8,
|
|
2589
|
-
var
|
|
2590
|
-
|
|
2588
|
+
for (var C = this._state, v = this.cfg.outputLength / 8, D = v / 8, E = [], G = 0; G < D; G++) {
|
|
2589
|
+
var A = C[G], S = A.high, k = A.low;
|
|
2590
|
+
S = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, k = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, E.push(k), E.push(S);
|
|
2591
2591
|
}
|
|
2592
2592
|
return new U.init(E, v);
|
|
2593
2593
|
},
|
|
@@ -2937,48 +2937,48 @@ function Ll() {
|
|
|
2937
2937
|
_doReset: function() {
|
|
2938
2938
|
this._hash = U.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
|
2939
2939
|
},
|
|
2940
|
-
_doProcessBlock: function(
|
|
2940
|
+
_doProcessBlock: function(D, E) {
|
|
2941
2941
|
for (var G = 0; G < 16; G++) {
|
|
2942
|
-
var
|
|
2943
|
-
|
|
2942
|
+
var A = E + G, S = D[A];
|
|
2943
|
+
D[A] = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360;
|
|
2944
2944
|
}
|
|
2945
|
-
var
|
|
2946
|
-
L =
|
|
2945
|
+
var k = this._hash.words, w = u.words, F = m.words, P = a.words, M = i.words, R = o.words, B = s.words, O, W, z, h, T, L, N, J, q, j;
|
|
2946
|
+
L = O = k[0], N = W = k[1], J = z = k[2], q = h = k[3], j = T = k[4];
|
|
2947
2947
|
for (var K, G = 0; G < 80; G += 1)
|
|
2948
|
-
K =
|
|
2949
|
-
K =
|
|
2948
|
+
K = O + D[E + P[G]] | 0, G < 16 ? K += c(W, z, h) + w[0] : G < 32 ? K += y(W, z, h) + w[1] : G < 48 ? K += f(W, z, h) + w[2] : G < 64 ? K += b(W, z, h) + w[3] : K += C(W, z, h) + w[4], K = K | 0, K = v(K, R[G]), K = K + T | 0, O = T, T = h, h = v(z, 10), z = W, W = K, K = L + D[E + M[G]] | 0, G < 16 ? K += C(N, J, q) + F[0] : G < 32 ? K += b(N, J, q) + F[1] : G < 48 ? K += f(N, J, q) + F[2] : G < 64 ? K += y(N, J, q) + F[3] : K += c(N, J, q) + F[4], K = K | 0, K = v(K, B[G]), K = K + j | 0, L = j, j = q, q = v(J, 10), J = N, N = K;
|
|
2949
|
+
K = k[1] + z + q | 0, k[1] = k[2] + h + j | 0, k[2] = k[3] + T + L | 0, k[3] = k[4] + O + N | 0, k[4] = k[0] + W + J | 0, k[0] = K;
|
|
2950
2950
|
},
|
|
2951
2951
|
_doFinalize: function() {
|
|
2952
|
-
var
|
|
2953
|
-
E[
|
|
2954
|
-
for (var
|
|
2955
|
-
var
|
|
2956
|
-
|
|
2952
|
+
var D = this._data, E = D.words, G = this._nDataBytes * 8, A = D.sigBytes * 8;
|
|
2953
|
+
E[A >>> 5] |= 128 << 24 - A % 32, E[(A + 64 >>> 9 << 4) + 14] = (G << 8 | G >>> 24) & 16711935 | (G << 24 | G >>> 8) & 4278255360, D.sigBytes = (E.length + 1) * 4, this._process();
|
|
2954
|
+
for (var S = this._hash, k = S.words, w = 0; w < 5; w++) {
|
|
2955
|
+
var F = k[w];
|
|
2956
|
+
k[w] = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360;
|
|
2957
2957
|
}
|
|
2958
|
-
return
|
|
2958
|
+
return S;
|
|
2959
2959
|
},
|
|
2960
2960
|
clone: function() {
|
|
2961
|
-
var
|
|
2962
|
-
return
|
|
2961
|
+
var D = d.clone.call(this);
|
|
2962
|
+
return D._hash = this._hash.clone(), D;
|
|
2963
2963
|
}
|
|
2964
2964
|
});
|
|
2965
|
-
function c(
|
|
2966
|
-
return
|
|
2965
|
+
function c(D, E, G) {
|
|
2966
|
+
return D ^ E ^ G;
|
|
2967
2967
|
}
|
|
2968
|
-
function y(
|
|
2969
|
-
return
|
|
2968
|
+
function y(D, E, G) {
|
|
2969
|
+
return D & E | ~D & G;
|
|
2970
2970
|
}
|
|
2971
|
-
function f(
|
|
2972
|
-
return (
|
|
2971
|
+
function f(D, E, G) {
|
|
2972
|
+
return (D | ~E) ^ G;
|
|
2973
2973
|
}
|
|
2974
|
-
function b(
|
|
2975
|
-
return
|
|
2974
|
+
function b(D, E, G) {
|
|
2975
|
+
return D & G | E & ~G;
|
|
2976
2976
|
}
|
|
2977
|
-
function C(
|
|
2978
|
-
return
|
|
2977
|
+
function C(D, E, G) {
|
|
2978
|
+
return D ^ (E | ~G);
|
|
2979
2979
|
}
|
|
2980
|
-
function v(
|
|
2981
|
-
return
|
|
2980
|
+
function v(D, E) {
|
|
2981
|
+
return D << E | D >>> 32 - E;
|
|
2982
2982
|
}
|
|
2983
2983
|
p.RIPEMD160 = d._createHelper(_), p.HmacRIPEMD160 = d._createHmacHelper(_);
|
|
2984
2984
|
})(), t.RIPEMD160;
|
|
@@ -3113,10 +3113,10 @@ function Rl() {
|
|
|
3113
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
|
-
for (var
|
|
3116
|
+
for (var D = v.words, E = D.length, G = v, A = 1; A < C; A++) {
|
|
3117
3117
|
G = m.finalize(G), m.reset();
|
|
3118
|
-
for (var
|
|
3119
|
-
|
|
3118
|
+
for (var S = G.words, k = 0; k < E; k++)
|
|
3119
|
+
D[k] ^= S[k];
|
|
3120
3120
|
}
|
|
3121
3121
|
_.concat(v), f[0]++;
|
|
3122
3122
|
}
|
|
@@ -3223,8 +3223,8 @@ function Ge() {
|
|
|
3223
3223
|
*
|
|
3224
3224
|
* var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
|
|
3225
3225
|
*/
|
|
3226
|
-
createEncryptor: function(
|
|
3227
|
-
return this.create(this._ENC_XFORM_MODE,
|
|
3226
|
+
createEncryptor: function(S, k) {
|
|
3227
|
+
return this.create(this._ENC_XFORM_MODE, S, k);
|
|
3228
3228
|
},
|
|
3229
3229
|
/**
|
|
3230
3230
|
* Creates this cipher in decryption mode.
|
|
@@ -3240,8 +3240,8 @@ function Ge() {
|
|
|
3240
3240
|
*
|
|
3241
3241
|
* var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
|
|
3242
3242
|
*/
|
|
3243
|
-
createDecryptor: function(
|
|
3244
|
-
return this.create(this._DEC_XFORM_MODE,
|
|
3243
|
+
createDecryptor: function(S, k) {
|
|
3244
|
+
return this.create(this._DEC_XFORM_MODE, S, k);
|
|
3245
3245
|
},
|
|
3246
3246
|
/**
|
|
3247
3247
|
* Initializes a newly created cipher.
|
|
@@ -3254,8 +3254,8 @@ function Ge() {
|
|
|
3254
3254
|
*
|
|
3255
3255
|
* var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
|
|
3256
3256
|
*/
|
|
3257
|
-
init: function(
|
|
3258
|
-
this.cfg = this.cfg.extend(
|
|
3257
|
+
init: function(S, k, w) {
|
|
3258
|
+
this.cfg = this.cfg.extend(w), this._xformMode = S, this._key = k, this.reset();
|
|
3259
3259
|
},
|
|
3260
3260
|
/**
|
|
3261
3261
|
* Resets this cipher to its initial state.
|
|
@@ -3279,8 +3279,8 @@ function Ge() {
|
|
|
3279
3279
|
* var encrypted = cipher.process('data');
|
|
3280
3280
|
* var encrypted = cipher.process(wordArray);
|
|
3281
3281
|
*/
|
|
3282
|
-
process: function(
|
|
3283
|
-
return this._append(
|
|
3282
|
+
process: function(S) {
|
|
3283
|
+
return this._append(S), this._process();
|
|
3284
3284
|
},
|
|
3285
3285
|
/**
|
|
3286
3286
|
* Finalizes the encryption or decryption process.
|
|
@@ -3296,10 +3296,10 @@ function Ge() {
|
|
|
3296
3296
|
* var encrypted = cipher.finalize('data');
|
|
3297
3297
|
* var encrypted = cipher.finalize(wordArray);
|
|
3298
3298
|
*/
|
|
3299
|
-
finalize: function(
|
|
3300
|
-
|
|
3301
|
-
var
|
|
3302
|
-
return
|
|
3299
|
+
finalize: function(S) {
|
|
3300
|
+
S && this._append(S);
|
|
3301
|
+
var k = this._doFinalize();
|
|
3302
|
+
return k;
|
|
3303
3303
|
},
|
|
3304
3304
|
keySize: 128 / 32,
|
|
3305
3305
|
ivSize: 128 / 32,
|
|
@@ -3319,16 +3319,16 @@ function Ge() {
|
|
|
3319
3319
|
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
|
|
3320
3320
|
*/
|
|
3321
3321
|
_createHelper: /* @__PURE__ */ (function() {
|
|
3322
|
-
function k
|
|
3323
|
-
return typeof
|
|
3322
|
+
function S(k) {
|
|
3323
|
+
return typeof k == "string" ? A : D;
|
|
3324
3324
|
}
|
|
3325
|
-
return function(
|
|
3325
|
+
return function(k) {
|
|
3326
3326
|
return {
|
|
3327
|
-
encrypt: function(
|
|
3328
|
-
return
|
|
3327
|
+
encrypt: function(w, F, P) {
|
|
3328
|
+
return S(F).encrypt(k, w, F, P);
|
|
3329
3329
|
},
|
|
3330
|
-
decrypt: function(
|
|
3331
|
-
return
|
|
3330
|
+
decrypt: function(w, F, P) {
|
|
3331
|
+
return S(F).decrypt(k, w, F, P);
|
|
3332
3332
|
}
|
|
3333
3333
|
};
|
|
3334
3334
|
};
|
|
@@ -3336,8 +3336,8 @@ function Ge() {
|
|
|
3336
3336
|
});
|
|
3337
3337
|
g.StreamCipher = u.extend({
|
|
3338
3338
|
_doFinalize: function() {
|
|
3339
|
-
var
|
|
3340
|
-
return
|
|
3339
|
+
var S = this._process(!0);
|
|
3340
|
+
return S;
|
|
3341
3341
|
},
|
|
3342
3342
|
blockSize: 1
|
|
3343
3343
|
});
|
|
@@ -3354,8 +3354,8 @@ function Ge() {
|
|
|
3354
3354
|
*
|
|
3355
3355
|
* var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
|
|
3356
3356
|
*/
|
|
3357
|
-
createEncryptor: function(
|
|
3358
|
-
return this.Encryptor.create(
|
|
3357
|
+
createEncryptor: function(S, k) {
|
|
3358
|
+
return this.Encryptor.create(S, k);
|
|
3359
3359
|
},
|
|
3360
3360
|
/**
|
|
3361
3361
|
* Creates this mode for decryption.
|
|
@@ -3369,8 +3369,8 @@ function Ge() {
|
|
|
3369
3369
|
*
|
|
3370
3370
|
* var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
|
|
3371
3371
|
*/
|
|
3372
|
-
createDecryptor: function(
|
|
3373
|
-
return this.Decryptor.create(
|
|
3372
|
+
createDecryptor: function(S, k) {
|
|
3373
|
+
return this.Decryptor.create(S, k);
|
|
3374
3374
|
},
|
|
3375
3375
|
/**
|
|
3376
3376
|
* Initializes a newly created mode.
|
|
@@ -3382,12 +3382,12 @@ function Ge() {
|
|
|
3382
3382
|
*
|
|
3383
3383
|
* var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
|
|
3384
3384
|
*/
|
|
3385
|
-
init: function(
|
|
3386
|
-
this._cipher =
|
|
3385
|
+
init: function(S, k) {
|
|
3386
|
+
this._cipher = S, this._iv = k;
|
|
3387
3387
|
}
|
|
3388
3388
|
}), c = m.CBC = (function() {
|
|
3389
|
-
var
|
|
3390
|
-
|
|
3389
|
+
var S = _.extend();
|
|
3390
|
+
S.Encryptor = S.extend({
|
|
3391
3391
|
/**
|
|
3392
3392
|
* Processes the data block at offset.
|
|
3393
3393
|
*
|
|
@@ -3398,11 +3398,11 @@ function Ge() {
|
|
|
3398
3398
|
*
|
|
3399
3399
|
* mode.processBlock(data.words, offset);
|
|
3400
3400
|
*/
|
|
3401
|
-
processBlock: function(
|
|
3402
|
-
var
|
|
3403
|
-
|
|
3401
|
+
processBlock: function(w, F) {
|
|
3402
|
+
var P = this._cipher, M = P.blockSize;
|
|
3403
|
+
k.call(this, w, F, M), P.encryptBlock(w, F), this._prevBlock = w.slice(F, F + M);
|
|
3404
3404
|
}
|
|
3405
|
-
}),
|
|
3405
|
+
}), S.Decryptor = S.extend({
|
|
3406
3406
|
/**
|
|
3407
3407
|
* Processes the data block at offset.
|
|
3408
3408
|
*
|
|
@@ -3413,18 +3413,18 @@ function Ge() {
|
|
|
3413
3413
|
*
|
|
3414
3414
|
* mode.processBlock(data.words, offset);
|
|
3415
3415
|
*/
|
|
3416
|
-
processBlock: function(
|
|
3417
|
-
var
|
|
3418
|
-
|
|
3416
|
+
processBlock: function(w, F) {
|
|
3417
|
+
var P = this._cipher, M = P.blockSize, R = w.slice(F, F + M);
|
|
3418
|
+
P.decryptBlock(w, F), k.call(this, w, F, M), this._prevBlock = R;
|
|
3419
3419
|
}
|
|
3420
3420
|
});
|
|
3421
|
-
function
|
|
3422
|
-
var
|
|
3423
|
-
|
|
3424
|
-
for (var
|
|
3425
|
-
F
|
|
3421
|
+
function k(w, F, P) {
|
|
3422
|
+
var M, R = this._iv;
|
|
3423
|
+
R ? (M = R, this._iv = r) : M = this._prevBlock;
|
|
3424
|
+
for (var B = 0; B < P; B++)
|
|
3425
|
+
w[F + B] ^= M[B];
|
|
3426
3426
|
}
|
|
3427
|
-
return
|
|
3427
|
+
return S;
|
|
3428
3428
|
})(), y = p.pad = {}, f = y.Pkcs7 = {
|
|
3429
3429
|
/**
|
|
3430
3430
|
* Pads data using the algorithm defined in PKCS #5/7.
|
|
@@ -3438,11 +3438,11 @@ function Ge() {
|
|
|
3438
3438
|
*
|
|
3439
3439
|
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
|
3440
3440
|
*/
|
|
3441
|
-
pad: function(
|
|
3442
|
-
for (var
|
|
3443
|
-
|
|
3444
|
-
var
|
|
3445
|
-
|
|
3441
|
+
pad: function(S, k) {
|
|
3442
|
+
for (var w = k * 4, F = w - S.sigBytes % w, P = F << 24 | F << 16 | F << 8 | F, M = [], R = 0; R < F; R += 4)
|
|
3443
|
+
M.push(P);
|
|
3444
|
+
var B = d.create(M, F);
|
|
3445
|
+
S.concat(B);
|
|
3446
3446
|
},
|
|
3447
3447
|
/**
|
|
3448
3448
|
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
|
|
@@ -3455,9 +3455,9 @@ function Ge() {
|
|
|
3455
3455
|
*
|
|
3456
3456
|
* CryptoJS.pad.Pkcs7.unpad(wordArray);
|
|
3457
3457
|
*/
|
|
3458
|
-
unpad: function(
|
|
3459
|
-
var
|
|
3460
|
-
|
|
3458
|
+
unpad: function(S) {
|
|
3459
|
+
var k = S.words[S.sigBytes - 1 >>> 2] & 255;
|
|
3460
|
+
S.sigBytes -= k;
|
|
3461
3461
|
}
|
|
3462
3462
|
};
|
|
3463
3463
|
g.BlockCipher = u.extend({
|
|
@@ -3472,17 +3472,17 @@ function Ge() {
|
|
|
3472
3472
|
padding: f
|
|
3473
3473
|
}),
|
|
3474
3474
|
reset: function() {
|
|
3475
|
-
var
|
|
3475
|
+
var S;
|
|
3476
3476
|
u.reset.call(this);
|
|
3477
|
-
var
|
|
3478
|
-
this._xformMode == this._ENC_XFORM_MODE ?
|
|
3477
|
+
var k = this.cfg, w = k.iv, F = k.mode;
|
|
3478
|
+
this._xformMode == this._ENC_XFORM_MODE ? S = F.createEncryptor : (S = F.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == S ? this._mode.init(this, w && w.words) : (this._mode = S.call(F, this, w && w.words), this._mode.__creator = S);
|
|
3479
3479
|
},
|
|
3480
|
-
_doProcessBlock: function(
|
|
3481
|
-
this._mode.processBlock(
|
|
3480
|
+
_doProcessBlock: function(S, k) {
|
|
3481
|
+
this._mode.processBlock(S, k);
|
|
3482
3482
|
},
|
|
3483
3483
|
_doFinalize: function() {
|
|
3484
|
-
var
|
|
3485
|
-
return this._xformMode == this._ENC_XFORM_MODE ? (
|
|
3484
|
+
var S, k = this.cfg.padding;
|
|
3485
|
+
return this._xformMode == this._ENC_XFORM_MODE ? (k.pad(this._data, this.blockSize), S = this._process(!0)) : (S = this._process(!0), k.unpad(S)), S;
|
|
3486
3486
|
},
|
|
3487
3487
|
blockSize: 128 / 32
|
|
3488
3488
|
});
|
|
@@ -3506,8 +3506,8 @@ function Ge() {
|
|
|
3506
3506
|
* formatter: CryptoJS.format.OpenSSL
|
|
3507
3507
|
* });
|
|
3508
3508
|
*/
|
|
3509
|
-
init: function(
|
|
3510
|
-
this.mixIn(
|
|
3509
|
+
init: function(S) {
|
|
3510
|
+
this.mixIn(S);
|
|
3511
3511
|
},
|
|
3512
3512
|
/**
|
|
3513
3513
|
* Converts this cipher params object to a string.
|
|
@@ -3524,8 +3524,8 @@ function Ge() {
|
|
|
3524
3524
|
* var string = cipherParams.toString();
|
|
3525
3525
|
* var string = cipherParams.toString(CryptoJS.format.OpenSSL);
|
|
3526
3526
|
*/
|
|
3527
|
-
toString: function(
|
|
3528
|
-
return (
|
|
3527
|
+
toString: function(S) {
|
|
3528
|
+
return (S || this.formatter).stringify(this);
|
|
3529
3529
|
}
|
|
3530
3530
|
}), C = p.format = {}, v = C.OpenSSL = {
|
|
3531
3531
|
/**
|
|
@@ -3541,9 +3541,9 @@ function Ge() {
|
|
|
3541
3541
|
*
|
|
3542
3542
|
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
|
|
3543
3543
|
*/
|
|
3544
|
-
stringify: function(
|
|
3545
|
-
var
|
|
3546
|
-
return
|
|
3544
|
+
stringify: function(S) {
|
|
3545
|
+
var k, w = S.ciphertext, F = S.salt;
|
|
3546
|
+
return F ? k = d.create([1398893684, 1701076831]).concat(F).concat(w) : k = w, k.toString(i);
|
|
3547
3547
|
},
|
|
3548
3548
|
/**
|
|
3549
3549
|
* Converts an OpenSSL-compatible string to a cipher params object.
|
|
@@ -3558,11 +3558,11 @@ function Ge() {
|
|
|
3558
3558
|
*
|
|
3559
3559
|
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
|
|
3560
3560
|
*/
|
|
3561
|
-
parse: function(
|
|
3562
|
-
var
|
|
3563
|
-
return
|
|
3561
|
+
parse: function(S) {
|
|
3562
|
+
var k, w = i.parse(S), F = w.words;
|
|
3563
|
+
return F[0] == 1398893684 && F[1] == 1701076831 && (k = d.create(F.slice(2, 4)), F.splice(0, 4), w.sigBytes -= 16), b.create({ ciphertext: w, salt: k });
|
|
3564
3564
|
}
|
|
3565
|
-
},
|
|
3565
|
+
}, D = g.SerializableCipher = U.extend({
|
|
3566
3566
|
/**
|
|
3567
3567
|
* Configuration options.
|
|
3568
3568
|
*
|
|
@@ -3589,18 +3589,18 @@ function Ge() {
|
|
|
3589
3589
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
|
|
3590
3590
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
3591
3591
|
*/
|
|
3592
|
-
encrypt: function(k,
|
|
3593
|
-
|
|
3594
|
-
var
|
|
3592
|
+
encrypt: function(S, k, w, F) {
|
|
3593
|
+
F = this.cfg.extend(F);
|
|
3594
|
+
var P = S.createEncryptor(w, F), M = P.finalize(k), R = P.cfg;
|
|
3595
3595
|
return b.create({
|
|
3596
|
-
ciphertext:
|
|
3597
|
-
key:
|
|
3598
|
-
iv:
|
|
3599
|
-
algorithm:
|
|
3600
|
-
mode:
|
|
3601
|
-
padding:
|
|
3602
|
-
blockSize:
|
|
3603
|
-
formatter:
|
|
3596
|
+
ciphertext: M,
|
|
3597
|
+
key: w,
|
|
3598
|
+
iv: R.iv,
|
|
3599
|
+
algorithm: S,
|
|
3600
|
+
mode: R.mode,
|
|
3601
|
+
padding: R.padding,
|
|
3602
|
+
blockSize: S.blockSize,
|
|
3603
|
+
formatter: F.format
|
|
3604
3604
|
});
|
|
3605
3605
|
},
|
|
3606
3606
|
/**
|
|
@@ -3620,10 +3620,10 @@ function Ge() {
|
|
|
3620
3620
|
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
3621
3621
|
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
3622
3622
|
*/
|
|
3623
|
-
decrypt: function(k,
|
|
3624
|
-
|
|
3625
|
-
var
|
|
3626
|
-
return
|
|
3623
|
+
decrypt: function(S, k, w, F) {
|
|
3624
|
+
F = this.cfg.extend(F), k = this._parse(k, F.format);
|
|
3625
|
+
var P = S.createDecryptor(w, F).finalize(k.ciphertext);
|
|
3626
|
+
return P;
|
|
3627
3627
|
},
|
|
3628
3628
|
/**
|
|
3629
3629
|
* Converts serialized ciphertext to CipherParams,
|
|
@@ -3640,8 +3640,8 @@ function Ge() {
|
|
|
3640
3640
|
*
|
|
3641
3641
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
|
|
3642
3642
|
*/
|
|
3643
|
-
_parse: function(
|
|
3644
|
-
return typeof
|
|
3643
|
+
_parse: function(S, k) {
|
|
3644
|
+
return typeof S == "string" ? k.parse(S, this) : S;
|
|
3645
3645
|
}
|
|
3646
3646
|
}), E = p.kdf = {}, G = E.OpenSSL = {
|
|
3647
3647
|
/**
|
|
@@ -3661,21 +3661,21 @@ function Ge() {
|
|
|
3661
3661
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
3662
3662
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
3663
3663
|
*/
|
|
3664
|
-
execute: function(k,
|
|
3665
|
-
if (
|
|
3666
|
-
var
|
|
3664
|
+
execute: function(S, k, w, F, P) {
|
|
3665
|
+
if (F || (F = d.random(64 / 8)), P)
|
|
3666
|
+
var M = s.create({ keySize: k + w, hasher: P }).compute(S, F);
|
|
3667
3667
|
else
|
|
3668
|
-
var
|
|
3669
|
-
var
|
|
3670
|
-
return
|
|
3668
|
+
var M = s.create({ keySize: k + w }).compute(S, F);
|
|
3669
|
+
var R = d.create(M.words.slice(k), w * 4);
|
|
3670
|
+
return M.sigBytes = k * 4, b.create({ key: M, iv: R, salt: F });
|
|
3671
3671
|
}
|
|
3672
|
-
},
|
|
3672
|
+
}, A = g.PasswordBasedCipher = D.extend({
|
|
3673
3673
|
/**
|
|
3674
3674
|
* Configuration options.
|
|
3675
3675
|
*
|
|
3676
3676
|
* @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
|
|
3677
3677
|
*/
|
|
3678
|
-
cfg:
|
|
3678
|
+
cfg: D.cfg.extend({
|
|
3679
3679
|
kdf: G
|
|
3680
3680
|
}),
|
|
3681
3681
|
/**
|
|
@@ -3695,12 +3695,12 @@ function Ge() {
|
|
|
3695
3695
|
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
|
|
3696
3696
|
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
|
|
3697
3697
|
*/
|
|
3698
|
-
encrypt: function(k,
|
|
3699
|
-
|
|
3700
|
-
var
|
|
3701
|
-
|
|
3702
|
-
var
|
|
3703
|
-
return
|
|
3698
|
+
encrypt: function(S, k, w, F) {
|
|
3699
|
+
F = this.cfg.extend(F);
|
|
3700
|
+
var P = F.kdf.execute(w, S.keySize, S.ivSize, F.salt, F.hasher);
|
|
3701
|
+
F.iv = P.iv;
|
|
3702
|
+
var M = D.encrypt.call(this, S, k, P.key, F);
|
|
3703
|
+
return M.mixIn(P), M;
|
|
3704
3704
|
},
|
|
3705
3705
|
/**
|
|
3706
3706
|
* Decrypts serialized ciphertext using a password.
|
|
@@ -3719,12 +3719,12 @@ function Ge() {
|
|
|
3719
3719
|
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
|
|
3720
3720
|
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
|
|
3721
3721
|
*/
|
|
3722
|
-
decrypt: function(k,
|
|
3723
|
-
|
|
3724
|
-
var
|
|
3725
|
-
|
|
3726
|
-
var
|
|
3727
|
-
return
|
|
3722
|
+
decrypt: function(S, k, w, F) {
|
|
3723
|
+
F = this.cfg.extend(F), k = this._parse(k, F.format);
|
|
3724
|
+
var P = F.kdf.execute(w, S.keySize, S.ivSize, k.salt, F.hasher);
|
|
3725
|
+
F.iv = P.iv;
|
|
3726
|
+
var M = D.decrypt.call(this, S, k, P.key, F);
|
|
3727
|
+
return M;
|
|
3728
3728
|
}
|
|
3729
3729
|
});
|
|
3730
3730
|
})();
|
|
@@ -4008,28 +4008,28 @@ function ro() {
|
|
|
4008
4008
|
(function() {
|
|
4009
4009
|
for (var b = [], C = 0; C < 256; C++)
|
|
4010
4010
|
C < 128 ? b[C] = C << 1 : b[C] = C << 1 ^ 283;
|
|
4011
|
-
for (var v = 0,
|
|
4012
|
-
var E =
|
|
4011
|
+
for (var v = 0, D = 0, C = 0; C < 256; C++) {
|
|
4012
|
+
var E = D ^ D << 1 ^ D << 2 ^ D << 3 ^ D << 4;
|
|
4013
4013
|
E = E >>> 8 ^ E & 255 ^ 99, d[v] = E, l[E] = v;
|
|
4014
|
-
var G = b[v],
|
|
4015
|
-
a[v] =
|
|
4016
|
-
var
|
|
4017
|
-
u[E] =
|
|
4014
|
+
var G = b[v], A = b[G], S = b[A], k = b[E] * 257 ^ E * 16843008;
|
|
4015
|
+
a[v] = k << 24 | k >>> 8, i[v] = k << 16 | k >>> 16, o[v] = k << 8 | k >>> 24, s[v] = k;
|
|
4016
|
+
var k = S * 16843009 ^ A * 65537 ^ G * 257 ^ v * 16843008;
|
|
4017
|
+
u[E] = k << 24 | k >>> 8, m[E] = k << 16 | k >>> 16, _[E] = k << 8 | k >>> 24, c[E] = k, v ? (v = G ^ b[b[b[S ^ G]]], D ^= b[b[D]]) : v = D = 1;
|
|
4018
4018
|
}
|
|
4019
4019
|
})();
|
|
4020
4020
|
var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], f = U.AES = g.extend({
|
|
4021
4021
|
_doReset: function() {
|
|
4022
4022
|
var b;
|
|
4023
4023
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
4024
|
-
for (var C = this._keyPriorReset = this._key, v = C.words,
|
|
4025
|
-
|
|
4026
|
-
for (var
|
|
4027
|
-
var
|
|
4028
|
-
if (
|
|
4029
|
-
var b =
|
|
4024
|
+
for (var C = this._keyPriorReset = this._key, v = C.words, D = C.sigBytes / 4, E = this._nRounds = D + 6, G = (E + 1) * 4, A = this._keySchedule = [], S = 0; S < G; S++)
|
|
4025
|
+
S < D ? A[S] = v[S] : (b = A[S - 1], S % D ? D > 6 && S % D == 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[S / D | 0] << 24), A[S] = A[S - D] ^ b);
|
|
4026
|
+
for (var k = this._invKeySchedule = [], w = 0; w < G; w++) {
|
|
4027
|
+
var S = G - w;
|
|
4028
|
+
if (w % 4)
|
|
4029
|
+
var b = A[S];
|
|
4030
4030
|
else
|
|
4031
|
-
var b =
|
|
4032
|
-
|
|
4031
|
+
var b = A[S - 4];
|
|
4032
|
+
w < 4 || S <= 4 ? k[w] = b : k[w] = u[d[b >>> 24]] ^ m[d[b >>> 16 & 255]] ^ _[d[b >>> 8 & 255]] ^ c[d[b & 255]];
|
|
4033
4033
|
}
|
|
4034
4034
|
}
|
|
4035
4035
|
},
|
|
@@ -4042,13 +4042,13 @@ function ro() {
|
|
|
4042
4042
|
var v = b[C + 1];
|
|
4043
4043
|
b[C + 1] = b[C + 3], b[C + 3] = v;
|
|
4044
4044
|
},
|
|
4045
|
-
_doCryptBlock: function(b, C, v,
|
|
4046
|
-
for (var
|
|
4047
|
-
var
|
|
4048
|
-
|
|
4045
|
+
_doCryptBlock: function(b, C, v, D, E, G, A, S) {
|
|
4046
|
+
for (var k = this._nRounds, w = b[C] ^ v[0], F = b[C + 1] ^ v[1], P = b[C + 2] ^ v[2], M = b[C + 3] ^ v[3], R = 4, B = 1; B < k; B++) {
|
|
4047
|
+
var O = D[w >>> 24] ^ E[F >>> 16 & 255] ^ G[P >>> 8 & 255] ^ A[M & 255] ^ v[R++], W = D[F >>> 24] ^ E[P >>> 16 & 255] ^ G[M >>> 8 & 255] ^ A[w & 255] ^ v[R++], z = D[P >>> 24] ^ E[M >>> 16 & 255] ^ G[w >>> 8 & 255] ^ A[F & 255] ^ v[R++], h = D[M >>> 24] ^ E[w >>> 16 & 255] ^ G[F >>> 8 & 255] ^ A[P & 255] ^ v[R++];
|
|
4048
|
+
w = O, F = W, P = z, M = h;
|
|
4049
4049
|
}
|
|
4050
|
-
var
|
|
4051
|
-
b[C] =
|
|
4050
|
+
var O = (S[w >>> 24] << 24 | S[F >>> 16 & 255] << 16 | S[P >>> 8 & 255] << 8 | S[M & 255]) ^ v[R++], W = (S[F >>> 24] << 24 | S[P >>> 16 & 255] << 16 | S[M >>> 8 & 255] << 8 | S[w & 255]) ^ v[R++], z = (S[P >>> 24] << 24 | S[M >>> 16 & 255] << 16 | S[w >>> 8 & 255] << 8 | S[F & 255]) ^ v[R++], h = (S[M >>> 24] << 24 | S[w >>> 16 & 255] << 16 | S[F >>> 8 & 255] << 8 | S[P & 255]) ^ v[R++];
|
|
4051
|
+
b[C] = O, b[C + 1] = W, b[C + 2] = z, b[C + 3] = h;
|
|
4052
4052
|
},
|
|
4053
4053
|
keySize: 256 / 32
|
|
4054
4054
|
});
|
|
@@ -4714,16 +4714,16 @@ function oo() {
|
|
|
4714
4714
|
var v = l[C] - 1;
|
|
4715
4715
|
b[C] = f[v >>> 5] >>> 31 - v % 32 & 1;
|
|
4716
4716
|
}
|
|
4717
|
-
for (var
|
|
4718
|
-
for (var G =
|
|
4719
|
-
G[C / 6 | 0] |= b[(a[C] - 1 +
|
|
4717
|
+
for (var D = this._subKeys = [], E = 0; E < 16; E++) {
|
|
4718
|
+
for (var G = D[E] = [], A = i[E], C = 0; C < 24; C++)
|
|
4719
|
+
G[C / 6 | 0] |= b[(a[C] - 1 + A) % 28] << 31 - C % 6, G[4 + (C / 6 | 0)] |= b[28 + (a[C + 24] - 1 + A) % 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;
|
|
4723
4723
|
G[7] = G[7] << 5 | G[7] >>> 27;
|
|
4724
4724
|
}
|
|
4725
|
-
for (var
|
|
4726
|
-
|
|
4725
|
+
for (var S = this._invSubKeys = [], C = 0; C < 16; C++)
|
|
4726
|
+
S[C] = D[15 - C];
|
|
4727
4727
|
},
|
|
4728
4728
|
encryptBlock: function(y, f) {
|
|
4729
4729
|
this._doCryptBlock(y, f, this._subKeys);
|
|
@@ -4734,12 +4734,12 @@ function oo() {
|
|
|
4734
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 = b[C],
|
|
4738
|
-
G |= o[
|
|
4739
|
-
this._lBlock = E, this._rBlock =
|
|
4737
|
+
for (var v = b[C], D = this._lBlock, E = this._rBlock, G = 0, A = 0; A < 8; A++)
|
|
4738
|
+
G |= o[A][((E ^ v[A]) & s[A]) >>> 0];
|
|
4739
|
+
this._lBlock = E, this._rBlock = D ^ G;
|
|
4740
4740
|
}
|
|
4741
|
-
var
|
|
4742
|
-
this._lBlock = this._rBlock, this._rBlock =
|
|
4741
|
+
var S = this._lBlock;
|
|
4742
|
+
this._lBlock = this._rBlock, this._rBlock = S, m.call(this, 1, 1431655765), _.call(this, 8, 16711935), _.call(this, 2, 858993459), m.call(this, 16, 65535), m.call(this, 4, 252645135), y[f] = this._lBlock, y[f + 1] = this._rBlock;
|
|
4743
4743
|
},
|
|
4744
4744
|
keySize: 64 / 32,
|
|
4745
4745
|
ivSize: 64 / 32,
|
|
@@ -4867,8 +4867,8 @@ 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], 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,
|
|
4871
|
-
c[0] ^= C, c[1] ^=
|
|
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, D = C >>> 16 | v & 4294901760, E = v << 16 | C & 65535;
|
|
4871
|
+
c[0] ^= C, c[1] ^= D, c[2] ^= v, c[3] ^= E, c[4] ^= C, c[5] ^= D, c[6] ^= v, c[7] ^= E;
|
|
4872
4872
|
for (var m = 0; m < 4; m++)
|
|
4873
4873
|
o.call(this);
|
|
4874
4874
|
}
|
|
@@ -4931,8 +4931,8 @@ 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], 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,
|
|
4935
|
-
_[0] ^= C, _[1] ^=
|
|
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, D = C >>> 16 | v & 4294901760, E = v << 16 | C & 65535;
|
|
4935
|
+
_[0] ^= C, _[1] ^= D, _[2] ^= v, _[3] ^= E, _[4] ^= C, _[5] ^= D, _[6] ^= v, _[7] ^= E;
|
|
4936
4936
|
for (var c = 0; c < 4; c++)
|
|
4937
4937
|
o.call(this);
|
|
4938
4938
|
}
|
|
@@ -6027,19 +6027,19 @@ function _o() {
|
|
|
6027
6027
|
sbox: []
|
|
6028
6028
|
};
|
|
6029
6029
|
function o(c, y) {
|
|
6030
|
-
let f = y >> 24 & 255, b = y >> 16 & 255, C = y >> 8 & 255, v = y & 255,
|
|
6031
|
-
return
|
|
6030
|
+
let f = y >> 24 & 255, b = y >> 16 & 255, C = y >> 8 & 255, v = y & 255, D = c.sbox[0][f] + c.sbox[1][b];
|
|
6031
|
+
return D = D ^ c.sbox[2][C], D = D + c.sbox[3][v], D;
|
|
6032
6032
|
}
|
|
6033
6033
|
function s(c, y, f) {
|
|
6034
6034
|
let b = y, C = f, v;
|
|
6035
|
-
for (let
|
|
6036
|
-
b = b ^ c.pbox[
|
|
6035
|
+
for (let D = 0; D < d; ++D)
|
|
6036
|
+
b = b ^ c.pbox[D], C = o(c, b) ^ C, v = b, b = C, C = v;
|
|
6037
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
6040
|
let b = y, C = f, v;
|
|
6041
|
-
for (let
|
|
6042
|
-
b = b ^ c.pbox[
|
|
6041
|
+
for (let D = d + 1; D > 1; --D)
|
|
6042
|
+
b = b ^ c.pbox[D], C = o(c, b) ^ C, v = b, b = C, C = v;
|
|
6043
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) {
|
|
@@ -6051,12 +6051,12 @@ function _o() {
|
|
|
6051
6051
|
let b = 0;
|
|
6052
6052
|
for (let E = 0; E < d + 2; E++)
|
|
6053
6053
|
c.pbox[E] = l[E] ^ y[b], b++, b >= f && (b = 0);
|
|
6054
|
-
let C = 0, v = 0,
|
|
6054
|
+
let C = 0, v = 0, D = 0;
|
|
6055
6055
|
for (let E = 0; E < d + 2; E += 2)
|
|
6056
|
-
|
|
6056
|
+
D = s(c, C, v), C = D.left, v = D.right, c.pbox[E] = C, c.pbox[E + 1] = v;
|
|
6057
6057
|
for (let E = 0; E < 4; E++)
|
|
6058
6058
|
for (let G = 0; G < 256; G += 2)
|
|
6059
|
-
|
|
6059
|
+
D = s(c, C, v), C = D.left, v = D.right, c.sbox[E][G] = C, c.sbox[E][G + 1] = v;
|
|
6060
6060
|
return !0;
|
|
6061
6061
|
}
|
|
6062
6062
|
var _ = U.Blowfish = g.extend({
|
|
@@ -6104,258 +6104,262 @@ const Ca = /* @__PURE__ */ yi($t), Pa = (e) => {
|
|
|
6104
6104
|
padding: Ca.pad.Pkcs7
|
|
6105
6105
|
}), g = t.toString(Ca.enc.Base64), U = Ca.enc.Base64.stringify(p.ciphertext);
|
|
6106
6106
|
return g + ":" + U;
|
|
6107
|
-
},
|
|
6108
|
-
const { client: e, formDataClient: n } = se(), t =
|
|
6109
|
-
async (
|
|
6110
|
-
const { mac_address:
|
|
6107
|
+
}, re = () => {
|
|
6108
|
+
const { client: e, formDataClient: n } = se(), t = H(
|
|
6109
|
+
async (h) => {
|
|
6110
|
+
const { mac_address: T = "", app_version: L = "", anydesk_id: N = "" } = h;
|
|
6111
6111
|
return await e.post("/cash-register/login", {
|
|
6112
|
-
mac_address:
|
|
6113
|
-
app_version:
|
|
6114
|
-
anydesk_id:
|
|
6112
|
+
mac_address: T,
|
|
6113
|
+
app_version: L,
|
|
6114
|
+
anydesk_id: N
|
|
6115
6115
|
});
|
|
6116
6116
|
},
|
|
6117
6117
|
[e]
|
|
6118
|
-
), r =
|
|
6119
|
-
async (
|
|
6120
|
-
const { account:
|
|
6118
|
+
), r = H(async () => e.get("/member/getMemberInfo"), [e]), p = H(async () => await e.get("/member/getGameList"), [e]), g = H(async () => await e.get("/member/getNowCurrencyExchange"), [e]), U = H(async () => await e.get("member/getFavoriteGame"), [e]), d = H(
|
|
6119
|
+
async (h) => {
|
|
6120
|
+
const { account: T, password: L, trans_code: N } = h;
|
|
6121
6121
|
return await e.post("/login", {
|
|
6122
|
-
memId:
|
|
6123
|
-
passwd:
|
|
6124
|
-
trans_code:
|
|
6122
|
+
memId: T,
|
|
6123
|
+
passwd: L,
|
|
6124
|
+
trans_code: N
|
|
6125
6125
|
});
|
|
6126
6126
|
},
|
|
6127
6127
|
[e]
|
|
6128
|
-
), l =
|
|
6129
|
-
async (
|
|
6130
|
-
const { gameUid:
|
|
6131
|
-
return await e.put(`/member/toggleFavoriteGame/${
|
|
6132
|
-
status:
|
|
6128
|
+
), l = H(async () => await e.post("/logout"), [e]), a = H(
|
|
6129
|
+
async (h) => {
|
|
6130
|
+
const { gameUid: T = "", status: L = 0 } = h;
|
|
6131
|
+
return await e.put(`/member/toggleFavoriteGame/${T}`, {
|
|
6132
|
+
status: L
|
|
6133
6133
|
});
|
|
6134
6134
|
},
|
|
6135
6135
|
[e]
|
|
6136
|
-
), i =
|
|
6136
|
+
), i = H(async () => await e.get("/profit/ranking"), [e]), o = H(
|
|
6137
6137
|
async ({
|
|
6138
|
-
memberId:
|
|
6139
|
-
password:
|
|
6140
|
-
unlimitCode:
|
|
6141
|
-
email:
|
|
6142
|
-
inviteCode:
|
|
6143
|
-
currencyCode:
|
|
6144
|
-
validCode:
|
|
6138
|
+
memberId: h,
|
|
6139
|
+
password: T,
|
|
6140
|
+
unlimitCode: L,
|
|
6141
|
+
email: N,
|
|
6142
|
+
inviteCode: J,
|
|
6143
|
+
currencyCode: q,
|
|
6144
|
+
validCode: j
|
|
6145
6145
|
}) => {
|
|
6146
|
-
const
|
|
6147
|
-
memId:
|
|
6148
|
-
passwd: Pa(
|
|
6149
|
-
email:
|
|
6150
|
-
currency_code:
|
|
6151
|
-
code:
|
|
6146
|
+
const K = {
|
|
6147
|
+
memId: h,
|
|
6148
|
+
passwd: Pa(T),
|
|
6149
|
+
email: N,
|
|
6150
|
+
currency_code: q,
|
|
6151
|
+
code: j
|
|
6152
6152
|
};
|
|
6153
|
-
return
|
|
6153
|
+
return L && (K.unlimit_code = L), J && (K.invite = J), e.post("/signUp", K);
|
|
6154
6154
|
},
|
|
6155
6155
|
[e]
|
|
6156
|
-
), s =
|
|
6157
|
-
async (
|
|
6158
|
-
const { name:
|
|
6156
|
+
), s = H(
|
|
6157
|
+
async (h) => {
|
|
6158
|
+
const { name: T, birthday: L, email: N, mobile: J } = h;
|
|
6159
6159
|
return await e.post("/editMembetInfo", {
|
|
6160
|
-
name:
|
|
6160
|
+
name: T,
|
|
6161
6161
|
// 暱稱
|
|
6162
|
-
birthday:
|
|
6162
|
+
birthday: L,
|
|
6163
6163
|
// 生日 (格式:YYYY-MM-DD)
|
|
6164
|
-
email:
|
|
6164
|
+
email: N,
|
|
6165
6165
|
// 電子郵件
|
|
6166
|
-
mobile:
|
|
6166
|
+
mobile: J
|
|
6167
6167
|
// 手機號碼
|
|
6168
6168
|
});
|
|
6169
6169
|
},
|
|
6170
6170
|
[e]
|
|
6171
|
-
), u =
|
|
6172
|
-
async (
|
|
6173
|
-
const { oldPwd:
|
|
6171
|
+
), u = H(
|
|
6172
|
+
async (h) => {
|
|
6173
|
+
const { oldPwd: T, newPwd: L } = h;
|
|
6174
6174
|
return await e.post("/passwordReset", {
|
|
6175
|
-
old_pwd: $t.MD5(
|
|
6176
|
-
new_pwd: $t.MD5(
|
|
6175
|
+
old_pwd: $t.MD5(T).toString(),
|
|
6176
|
+
new_pwd: $t.MD5(L).toString()
|
|
6177
6177
|
});
|
|
6178
6178
|
},
|
|
6179
6179
|
[e]
|
|
6180
|
-
), m =
|
|
6181
|
-
async (
|
|
6182
|
-
const { newPwd:
|
|
6180
|
+
), m = H(
|
|
6181
|
+
async (h) => {
|
|
6182
|
+
const { newPwd: T, confirmNewPwd: L } = h;
|
|
6183
6183
|
return await e.post("/setWithdrawPassword", {
|
|
6184
|
-
newPassword: Pa(
|
|
6185
|
-
confirmPassword: Pa(
|
|
6184
|
+
newPassword: Pa(T),
|
|
6185
|
+
confirmPassword: Pa(L)
|
|
6186
6186
|
});
|
|
6187
6187
|
},
|
|
6188
6188
|
[e]
|
|
6189
|
-
), _ =
|
|
6190
|
-
async (
|
|
6191
|
-
const { oldPwd:
|
|
6189
|
+
), _ = H(
|
|
6190
|
+
async (h) => {
|
|
6191
|
+
const { oldPwd: T, newPwd: L } = h;
|
|
6192
6192
|
return await e.post("/withdrawPasswordReset", {
|
|
6193
|
-
old_pwd: Pa(
|
|
6194
|
-
new_pwd: Pa(
|
|
6193
|
+
old_pwd: Pa(T),
|
|
6194
|
+
new_pwd: Pa(L)
|
|
6195
6195
|
});
|
|
6196
6196
|
},
|
|
6197
6197
|
[e]
|
|
6198
|
-
), c =
|
|
6199
|
-
async (
|
|
6200
|
-
const { mobile:
|
|
6198
|
+
), c = H(
|
|
6199
|
+
async (h) => {
|
|
6200
|
+
const { mobile: T, verification_code: L } = h;
|
|
6201
6201
|
return await e.post("/withdrawPasswordRenew", {
|
|
6202
|
-
mobile:
|
|
6203
|
-
verification_code:
|
|
6202
|
+
mobile: T,
|
|
6203
|
+
verification_code: L
|
|
6204
6204
|
});
|
|
6205
6205
|
},
|
|
6206
6206
|
[e]
|
|
6207
|
-
), y =
|
|
6208
|
-
async ({ paramsData:
|
|
6209
|
-
const { start_time:
|
|
6207
|
+
), y = H(
|
|
6208
|
+
async ({ paramsData: h }) => {
|
|
6209
|
+
const { start_time: T, end_time: L, limit: N = 25 } = h || {};
|
|
6210
6210
|
return await e.get("/report/totalprofit", {
|
|
6211
6211
|
params: {
|
|
6212
|
-
str_date: `${Ee(
|
|
6213
|
-
end_date: `${Ee(
|
|
6214
|
-
limit:
|
|
6212
|
+
str_date: `${Ee(T).format("YYYY-MM-DD")} 12:00:00`,
|
|
6213
|
+
end_date: `${Ee(L).format("YYYY-MM-DD")} 11:59:59`,
|
|
6214
|
+
limit: N
|
|
6215
6215
|
}
|
|
6216
6216
|
});
|
|
6217
6217
|
},
|
|
6218
6218
|
[e]
|
|
6219
|
-
), f =
|
|
6220
|
-
async (
|
|
6221
|
-
const { platform:
|
|
6219
|
+
), f = H(
|
|
6220
|
+
async (h) => {
|
|
6221
|
+
const { platform: T } = h;
|
|
6222
6222
|
return await e.post("/member/all-in-la", {
|
|
6223
|
-
platform:
|
|
6223
|
+
platform: T
|
|
6224
6224
|
});
|
|
6225
6225
|
},
|
|
6226
6226
|
[e]
|
|
6227
|
-
), b =
|
|
6228
|
-
async (
|
|
6229
|
-
const { memId:
|
|
6227
|
+
), b = H(async () => await e.get("/member/checkRestrictedWagering"), [e]), C = H(
|
|
6228
|
+
async (h) => {
|
|
6229
|
+
const { memId: T, point: L, currency: N, password: J } = h;
|
|
6230
6230
|
return await e.post("/pointsTransaction", {
|
|
6231
|
-
to_memId:
|
|
6232
|
-
point:
|
|
6233
|
-
currency:
|
|
6234
|
-
password: Pa(
|
|
6231
|
+
to_memId: T,
|
|
6232
|
+
point: L,
|
|
6233
|
+
currency: N,
|
|
6234
|
+
password: Pa(J)
|
|
6235
6235
|
});
|
|
6236
6236
|
},
|
|
6237
6237
|
[e]
|
|
6238
|
-
), v =
|
|
6239
|
-
async ({ formData:
|
|
6238
|
+
), v = H(
|
|
6239
|
+
async ({ formData: h }) => {
|
|
6240
6240
|
const {
|
|
6241
|
-
bank_name:
|
|
6242
|
-
bank_account_name:
|
|
6243
|
-
bank_branch_name:
|
|
6244
|
-
bank_account:
|
|
6245
|
-
bank_card_number:
|
|
6246
|
-
id_card:
|
|
6247
|
-
id_pic:
|
|
6248
|
-
} =
|
|
6249
|
-
return await n.post("/bindBankAccount",
|
|
6241
|
+
bank_name: T,
|
|
6242
|
+
bank_account_name: L,
|
|
6243
|
+
bank_branch_name: N,
|
|
6244
|
+
bank_account: J,
|
|
6245
|
+
bank_card_number: q,
|
|
6246
|
+
id_card: j,
|
|
6247
|
+
id_pic: K
|
|
6248
|
+
} = h;
|
|
6249
|
+
return await n.post("/bindBankAccount", h);
|
|
6250
6250
|
},
|
|
6251
6251
|
[n]
|
|
6252
|
-
),
|
|
6253
|
-
async (
|
|
6254
|
-
const { point_transfer:
|
|
6252
|
+
), D = H(
|
|
6253
|
+
async (h) => {
|
|
6254
|
+
const { point_transfer: T } = h;
|
|
6255
6255
|
return await e.post("/cash-register/clear", {
|
|
6256
|
-
point_transfer:
|
|
6256
|
+
point_transfer: T
|
|
6257
6257
|
});
|
|
6258
6258
|
},
|
|
6259
6259
|
[e]
|
|
6260
|
-
), E =
|
|
6261
|
-
async (
|
|
6262
|
-
const { trans_code:
|
|
6260
|
+
), E = H(
|
|
6261
|
+
async (h) => {
|
|
6262
|
+
const { trans_code: T, line_id: L, invite: N, line_name: J } = h;
|
|
6263
6263
|
return await e.post("/goLine", {
|
|
6264
|
-
trans_code:
|
|
6265
|
-
line_id:
|
|
6266
|
-
invite:
|
|
6267
|
-
line_name:
|
|
6264
|
+
trans_code: T,
|
|
6265
|
+
line_id: L,
|
|
6266
|
+
invite: N,
|
|
6267
|
+
line_name: J
|
|
6268
6268
|
});
|
|
6269
6269
|
},
|
|
6270
6270
|
[e]
|
|
6271
|
-
), G =
|
|
6272
|
-
async (
|
|
6273
|
-
const { trans_code:
|
|
6271
|
+
), G = H(
|
|
6272
|
+
async (h) => {
|
|
6273
|
+
const { trans_code: T, line_id: L, line_name: N } = h;
|
|
6274
6274
|
return await e.post("/login/line", {
|
|
6275
|
-
trans_code:
|
|
6276
|
-
line_id:
|
|
6277
|
-
line_name:
|
|
6275
|
+
trans_code: T,
|
|
6276
|
+
line_id: L,
|
|
6277
|
+
line_name: N
|
|
6278
6278
|
});
|
|
6279
6279
|
},
|
|
6280
6280
|
[e]
|
|
6281
|
-
),
|
|
6282
|
-
async (
|
|
6283
|
-
const { mac_address:
|
|
6284
|
-
return await e.get(`/machine-login-code/${
|
|
6281
|
+
), A = H(
|
|
6282
|
+
async (h) => {
|
|
6283
|
+
const { mac_address: T } = h;
|
|
6284
|
+
return await e.get(`/machine-login-code/${T}`);
|
|
6285
6285
|
},
|
|
6286
6286
|
[e]
|
|
6287
|
-
),
|
|
6288
|
-
async (
|
|
6289
|
-
const { member_info_uid:
|
|
6290
|
-
return await e.post(`/member/transfer/${
|
|
6291
|
-
point:
|
|
6292
|
-
currency:
|
|
6293
|
-
withdraw_password:
|
|
6287
|
+
), S = H(
|
|
6288
|
+
async (h) => {
|
|
6289
|
+
const { member_info_uid: T, point: L, currency: N, withdraw_password: J } = h;
|
|
6290
|
+
return await e.post(`/member/transfer/${T}`, {
|
|
6291
|
+
point: L,
|
|
6292
|
+
currency: N,
|
|
6293
|
+
withdraw_password: J
|
|
6294
6294
|
});
|
|
6295
6295
|
},
|
|
6296
6296
|
[e]
|
|
6297
|
-
),
|
|
6298
|
-
async (
|
|
6299
|
-
const { mobile:
|
|
6297
|
+
), k = H(
|
|
6298
|
+
async (h) => {
|
|
6299
|
+
const { mobile: T, verifyCode: L } = h;
|
|
6300
6300
|
return await e.post("/sms/verifyValidationCode", {
|
|
6301
|
-
mobile:
|
|
6302
|
-
inputCode:
|
|
6301
|
+
mobile: T,
|
|
6302
|
+
inputCode: L
|
|
6303
6303
|
});
|
|
6304
6304
|
},
|
|
6305
6305
|
[e]
|
|
6306
|
-
),
|
|
6307
|
-
async (
|
|
6308
|
-
const { mobile:
|
|
6306
|
+
), w = H(
|
|
6307
|
+
async (h) => {
|
|
6308
|
+
const { mobile: T, verifyCode: L, snCode: N } = h;
|
|
6309
6309
|
return await e.post("/goMobile", {
|
|
6310
|
-
mobile:
|
|
6311
|
-
verification_code:
|
|
6312
|
-
sn_code:
|
|
6310
|
+
mobile: T,
|
|
6311
|
+
verification_code: L,
|
|
6312
|
+
sn_code: N
|
|
6313
6313
|
});
|
|
6314
6314
|
},
|
|
6315
6315
|
[e]
|
|
6316
|
-
),
|
|
6317
|
-
async (
|
|
6318
|
-
const { mobile:
|
|
6316
|
+
), F = H(
|
|
6317
|
+
async (h) => {
|
|
6318
|
+
const { mobile: T, verifyCode: L, invite: N } = h;
|
|
6319
6319
|
return await e.post("/goMobileByInvite", {
|
|
6320
|
-
mobile:
|
|
6321
|
-
verification_code:
|
|
6322
|
-
invite:
|
|
6320
|
+
mobile: T,
|
|
6321
|
+
verification_code: L,
|
|
6322
|
+
invite: N
|
|
6323
6323
|
});
|
|
6324
6324
|
},
|
|
6325
6325
|
[e]
|
|
6326
|
-
),
|
|
6327
|
-
async (
|
|
6328
|
-
const { mobile:
|
|
6326
|
+
), P = H(
|
|
6327
|
+
async (h) => {
|
|
6328
|
+
const { mobile: T } = h;
|
|
6329
6329
|
return await e.get("/sms/getValidCode", {
|
|
6330
6330
|
params: {
|
|
6331
|
-
mobile:
|
|
6331
|
+
mobile: T
|
|
6332
6332
|
}
|
|
6333
6333
|
});
|
|
6334
6334
|
},
|
|
6335
6335
|
[e]
|
|
6336
|
-
),
|
|
6337
|
-
async (
|
|
6338
|
-
const { bindType:
|
|
6336
|
+
), M = H(
|
|
6337
|
+
async (h) => {
|
|
6338
|
+
const { bindType: T, bindId: L } = h;
|
|
6339
6339
|
return await e.post("/member/bindThirdPartyAccount", {
|
|
6340
|
-
bind_type:
|
|
6341
|
-
bind_id:
|
|
6340
|
+
bind_type: T,
|
|
6341
|
+
bind_id: L
|
|
6342
6342
|
});
|
|
6343
6343
|
},
|
|
6344
6344
|
[e]
|
|
6345
|
-
),
|
|
6346
|
-
async (
|
|
6345
|
+
), R = H(async () => await e.get("/jackpot", {}), [e]), B = H(
|
|
6346
|
+
async (h) => await e.get("/total-bet-ranking"),
|
|
6347
6347
|
[e]
|
|
6348
|
-
),
|
|
6349
|
-
async (
|
|
6350
|
-
const { avatarId:
|
|
6348
|
+
), O = H(async () => await e.get("/member/avatar/list"), [e]), W = H(
|
|
6349
|
+
async (h) => {
|
|
6350
|
+
const { avatarId: T } = h;
|
|
6351
6351
|
return await e.post("/member/avatar/change", {
|
|
6352
|
-
avatar_file_name:
|
|
6352
|
+
avatar_file_name: T
|
|
6353
6353
|
});
|
|
6354
6354
|
},
|
|
6355
6355
|
[e]
|
|
6356
|
+
), z = H(
|
|
6357
|
+
async ({ formData: h }) => await e.post("/cash-register/create", h),
|
|
6358
|
+
[e]
|
|
6356
6359
|
);
|
|
6357
6360
|
return {
|
|
6358
6361
|
machineLoginApi: t,
|
|
6362
|
+
createMachineApi: z,
|
|
6359
6363
|
userInfoApi: r,
|
|
6360
6364
|
userGameListApi: p,
|
|
6361
6365
|
userFavoriteGameApi: U,
|
|
@@ -6374,24 +6378,24 @@ const Ca = /* @__PURE__ */ yi($t), Pa = (e) => {
|
|
|
6374
6378
|
transferInGameApi: f,
|
|
6375
6379
|
checkUserWagerApi: b,
|
|
6376
6380
|
pointTransferApi: C,
|
|
6377
|
-
abandonPointsApi:
|
|
6381
|
+
abandonPointsApi: D,
|
|
6378
6382
|
lineLoginApi: E,
|
|
6379
6383
|
lineLogin2Api: G,
|
|
6380
|
-
getMachineLoginCodeApi:
|
|
6381
|
-
memberTransferApi:
|
|
6382
|
-
mobileLoginApi:
|
|
6383
|
-
sendMobileVerifyCodeApi:
|
|
6384
|
-
mobileLoginApiV2:
|
|
6385
|
-
bindAccountApi:
|
|
6386
|
-
mobileRegisterApi:
|
|
6384
|
+
getMachineLoginCodeApi: A,
|
|
6385
|
+
memberTransferApi: S,
|
|
6386
|
+
mobileLoginApi: k,
|
|
6387
|
+
sendMobileVerifyCodeApi: P,
|
|
6388
|
+
mobileLoginApiV2: w,
|
|
6389
|
+
bindAccountApi: M,
|
|
6390
|
+
mobileRegisterApi: F,
|
|
6387
6391
|
verifyResetActionApi: c,
|
|
6388
|
-
getJackpotApi:
|
|
6389
|
-
getBetRankingApi:
|
|
6390
|
-
getUserAvatarListApi:
|
|
6391
|
-
updateUserAvatarApi:
|
|
6392
|
+
getJackpotApi: R,
|
|
6393
|
+
getBetRankingApi: B,
|
|
6394
|
+
getUserAvatarListApi: O,
|
|
6395
|
+
updateUserAvatarApi: W
|
|
6392
6396
|
};
|
|
6393
6397
|
}, Sm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
|
|
6394
|
-
const { userCurrencyExchangeApi: t } =
|
|
6398
|
+
const { userCurrencyExchangeApi: t } = re(), { getToken: r } = se(), { enabled: p, ...g } = n, d = !!r?.() && (p ? p.every((l) => l) : !0);
|
|
6395
6399
|
return Wn({
|
|
6396
6400
|
queries: [
|
|
6397
6401
|
{
|
|
@@ -6409,7 +6413,7 @@ const Ca = /* @__PURE__ */ yi($t), Pa = (e) => {
|
|
|
6409
6413
|
trigger: n = [],
|
|
6410
6414
|
enabled: t = !0
|
|
6411
6415
|
} = {}) => {
|
|
6412
|
-
const { getToken: r } = se(), p = r?.(), { userInfoApi: g } =
|
|
6416
|
+
const { getToken: r } = se(), p = r?.(), { userInfoApi: g } = re();
|
|
6413
6417
|
return Wn({
|
|
6414
6418
|
queries: [
|
|
6415
6419
|
{
|
|
@@ -6426,7 +6430,7 @@ const Ca = /* @__PURE__ */ yi($t), Pa = (e) => {
|
|
|
6426
6430
|
userFavoriteGameApi: t,
|
|
6427
6431
|
userGameListApi: r,
|
|
6428
6432
|
userCurrencyExchangeApi: p
|
|
6429
|
-
} =
|
|
6433
|
+
} = re(), g = $({
|
|
6430
6434
|
queryKey: ["getMemInfo"],
|
|
6431
6435
|
queryFn: async () => n(),
|
|
6432
6436
|
enabled: e
|
|
@@ -6450,7 +6454,7 @@ const Ca = /* @__PURE__ */ yi($t), Pa = (e) => {
|
|
|
6450
6454
|
l
|
|
6451
6455
|
];
|
|
6452
6456
|
}, Ci = () => {
|
|
6453
|
-
const { client: e, lng: n } = se(), t = Qe(n || "tw"), r =
|
|
6457
|
+
const { client: e, lng: n } = se(), t = Qe(n || "tw"), r = H(
|
|
6454
6458
|
async (U) => {
|
|
6455
6459
|
const {
|
|
6456
6460
|
gameUid: d = "",
|
|
@@ -6475,7 +6479,7 @@ const Ca = /* @__PURE__ */ yi($t), Pa = (e) => {
|
|
|
6475
6479
|
});
|
|
6476
6480
|
},
|
|
6477
6481
|
[e, t]
|
|
6478
|
-
), p =
|
|
6482
|
+
), p = H(
|
|
6479
6483
|
async (U) => {
|
|
6480
6484
|
const {
|
|
6481
6485
|
startDate: d = Ee().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
|
|
@@ -6493,7 +6497,7 @@ const Ca = /* @__PURE__ */ yi($t), Pa = (e) => {
|
|
|
6493
6497
|
return o;
|
|
6494
6498
|
},
|
|
6495
6499
|
[e]
|
|
6496
|
-
), g =
|
|
6500
|
+
), g = H(
|
|
6497
6501
|
async (U) => {
|
|
6498
6502
|
const {
|
|
6499
6503
|
startDate: d = Ee().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
|
|
@@ -7041,7 +7045,7 @@ function xo() {
|
|
|
7041
7045
|
for (var i = [], o = 2; o < arguments.length; o++)
|
|
7042
7046
|
i[o - 2] = arguments[o];
|
|
7043
7047
|
return n(void 0, r([l, a], i, !0), void 0, function(s, u, m) {
|
|
7044
|
-
var _, c, y, f, b, C, v,
|
|
7048
|
+
var _, c, y, f, b, C, v, D;
|
|
7045
7049
|
return m === void 0 && (m = 0), t(this, function(E) {
|
|
7046
7050
|
switch (E.label) {
|
|
7047
7051
|
case 0:
|
|
@@ -7056,7 +7060,7 @@ function xo() {
|
|
|
7056
7060
|
case 4:
|
|
7057
7061
|
return E.sent(), [2, (0, e.getUrl)(s, u, m + 1)];
|
|
7058
7062
|
case 5:
|
|
7059
|
-
return (
|
|
7063
|
+
return (D = (v = u.current).onReconnectStop) === null || D === void 0 || D.call(v, m), [2, null];
|
|
7060
7064
|
case 6:
|
|
7061
7065
|
return [3, 8];
|
|
7062
7066
|
case 7:
|
|
@@ -7114,22 +7118,22 @@ function xi() {
|
|
|
7114
7118
|
});
|
|
7115
7119
|
}
|
|
7116
7120
|
return new (m || (m = Promise))(function(y, f) {
|
|
7117
|
-
function b(
|
|
7121
|
+
function b(D) {
|
|
7118
7122
|
try {
|
|
7119
|
-
v(_.next(
|
|
7123
|
+
v(_.next(D));
|
|
7120
7124
|
} catch (E) {
|
|
7121
7125
|
f(E);
|
|
7122
7126
|
}
|
|
7123
7127
|
}
|
|
7124
|
-
function C(
|
|
7128
|
+
function C(D) {
|
|
7125
7129
|
try {
|
|
7126
|
-
v(_.throw(
|
|
7130
|
+
v(_.throw(D));
|
|
7127
7131
|
} catch (E) {
|
|
7128
7132
|
f(E);
|
|
7129
7133
|
}
|
|
7130
7134
|
}
|
|
7131
|
-
function v(
|
|
7132
|
-
|
|
7135
|
+
function v(D) {
|
|
7136
|
+
D.done ? y(D.value) : c(D.value).then(b, C);
|
|
7133
7137
|
}
|
|
7134
7138
|
v((_ = _.apply(s, u || [])).next());
|
|
7135
7139
|
});
|
|
@@ -7142,8 +7146,8 @@ function xi() {
|
|
|
7142
7146
|
return this;
|
|
7143
7147
|
}), f;
|
|
7144
7148
|
function b(v) {
|
|
7145
|
-
return function(
|
|
7146
|
-
return C([v,
|
|
7149
|
+
return function(D) {
|
|
7150
|
+
return C([v, D]);
|
|
7147
7151
|
};
|
|
7148
7152
|
}
|
|
7149
7153
|
function C(v) {
|
|
@@ -7184,8 +7188,8 @@ function xi() {
|
|
|
7184
7188
|
continue;
|
|
7185
7189
|
}
|
|
7186
7190
|
v = u.call(s, m);
|
|
7187
|
-
} catch (
|
|
7188
|
-
v = [6,
|
|
7191
|
+
} catch (D) {
|
|
7192
|
+
v = [6, D], c = 0;
|
|
7189
7193
|
} finally {
|
|
7190
7194
|
_ = y = 0;
|
|
7191
7195
|
}
|
|
@@ -7206,32 +7210,32 @@ function xi() {
|
|
|
7206
7210
|
return U.UNPARSABLE_JSON_OBJECT;
|
|
7207
7211
|
}
|
|
7208
7212
|
return null;
|
|
7209
|
-
}, [c, u.disableJson]),
|
|
7210
|
-
}),
|
|
7211
|
-
|
|
7212
|
-
var
|
|
7213
|
-
var
|
|
7214
|
-
if (
|
|
7213
|
+
}, [c, u.disableJson]), D = (0, p.useRef)(null), E = (0, p.useRef)(null), G = (0, p.useRef)(function() {
|
|
7214
|
+
}), A = (0, p.useRef)(0), S = (0, p.useRef)(Date.now()), k = (0, p.useRef)([]), w = (0, p.useRef)(null), F = (0, p.useRef)(u);
|
|
7215
|
+
F.current = u;
|
|
7216
|
+
var P = D.current && b[D.current] !== void 0 ? b[D.current] : s !== null && m === !0 ? U.ReadyState.CONNECTING : U.ReadyState.UNINSTANTIATED, M = u.queryParams ? JSON.stringify(u.queryParams) : null, R = (0, p.useCallback)(function(W, z) {
|
|
7217
|
+
var h;
|
|
7218
|
+
if (z === void 0 && (z = !0), U.isEventSourceSupported && E.current instanceof EventSource) {
|
|
7215
7219
|
console.warn("Unable to send a message from an eventSource");
|
|
7216
7220
|
return;
|
|
7217
7221
|
}
|
|
7218
|
-
((
|
|
7219
|
-
}, []),
|
|
7220
|
-
|
|
7221
|
-
}, [
|
|
7222
|
-
return
|
|
7222
|
+
((h = E.current) === null || h === void 0 ? void 0 : h.readyState) === U.ReadyState.OPEN ? ((0, i.assertIsWebSocket)(E.current, F.current.skipAssert), E.current.send(W)) : z && k.current.push(W);
|
|
7223
|
+
}, []), B = (0, p.useCallback)(function(W, z) {
|
|
7224
|
+
z === void 0 && (z = !0), R(JSON.stringify(W), z);
|
|
7225
|
+
}, [R]), O = (0, p.useCallback)(function() {
|
|
7226
|
+
return F.current.share !== !0 || U.isEventSourceSupported && E.current instanceof EventSource ? E.current : (w.current === null && E.current && ((0, i.assertIsWebSocket)(E.current, F.current.skipAssert), w.current = (0, a.default)(E.current, G)), w.current);
|
|
7223
7227
|
}, []);
|
|
7224
7228
|
return (0, p.useEffect)(function() {
|
|
7225
7229
|
if (s !== null && m === !0) {
|
|
7226
|
-
var
|
|
7230
|
+
var W, z = !1, h = !0, T = function() {
|
|
7227
7231
|
return n(void 0, void 0, void 0, function() {
|
|
7228
|
-
var L, N,
|
|
7232
|
+
var L, N, J;
|
|
7229
7233
|
return t(this, function(q) {
|
|
7230
7234
|
switch (q.label) {
|
|
7231
7235
|
case 0:
|
|
7232
|
-
return L =
|
|
7236
|
+
return L = D, [4, (0, l.getUrl)(s, F)];
|
|
7233
7237
|
case 1:
|
|
7234
|
-
return L.current = q.sent(),
|
|
7238
|
+
return L.current = q.sent(), D.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), D.current = "ABORTED", (0, g.flushSync)(function() {
|
|
7235
7239
|
return C(function(j) {
|
|
7236
7240
|
return e(e({}, j), { ABORTED: U.ReadyState.CLOSED });
|
|
7237
7241
|
});
|
|
@@ -7239,17 +7243,17 @@ function xi() {
|
|
|
7239
7243
|
2
|
|
7240
7244
|
/*return*/
|
|
7241
7245
|
]) : (N = function(j) {
|
|
7242
|
-
|
|
7246
|
+
z || (0, g.flushSync)(function() {
|
|
7243
7247
|
return y(j);
|
|
7244
7248
|
});
|
|
7245
|
-
},
|
|
7246
|
-
|
|
7249
|
+
}, J = function(j) {
|
|
7250
|
+
z || (0, g.flushSync)(function() {
|
|
7247
7251
|
return C(function(K) {
|
|
7248
|
-
var
|
|
7249
|
-
return e(e({}, K),
|
|
7252
|
+
var te;
|
|
7253
|
+
return e(e({}, K), D.current && (te = {}, te[D.current] = j, te));
|
|
7250
7254
|
});
|
|
7251
7255
|
});
|
|
7252
|
-
},
|
|
7256
|
+
}, h && (W = (0, d.createOrJoinSocket)(E, D.current, J, F, N, G, A, S, R)), [
|
|
7253
7257
|
2
|
|
7254
7258
|
/*return*/
|
|
7255
7259
|
]);
|
|
@@ -7258,25 +7262,25 @@ function xi() {
|
|
|
7258
7262
|
});
|
|
7259
7263
|
};
|
|
7260
7264
|
return G.current = function() {
|
|
7261
|
-
|
|
7262
|
-
},
|
|
7263
|
-
|
|
7265
|
+
z || (w.current && (w.current = null), W?.(), T());
|
|
7266
|
+
}, T(), function() {
|
|
7267
|
+
z = !0, h = !1, w.current && (w.current = null), W?.(), y(null);
|
|
7264
7268
|
};
|
|
7265
|
-
} else (s === null || m === !1) && (
|
|
7269
|
+
} else (s === null || m === !1) && (A.current = 0, C(function(L) {
|
|
7266
7270
|
var N;
|
|
7267
|
-
return e(e({}, L),
|
|
7271
|
+
return e(e({}, L), D.current && (N = {}, N[D.current] = U.ReadyState.CLOSED, N));
|
|
7268
7272
|
}));
|
|
7269
|
-
}, [s, m,
|
|
7270
|
-
|
|
7271
|
-
|
|
7273
|
+
}, [s, m, M, R]), (0, p.useEffect)(function() {
|
|
7274
|
+
P === U.ReadyState.OPEN && k.current.splice(0).forEach(function(W) {
|
|
7275
|
+
R(W);
|
|
7272
7276
|
});
|
|
7273
|
-
}, [
|
|
7274
|
-
sendMessage:
|
|
7275
|
-
sendJsonMessage:
|
|
7277
|
+
}, [P]), {
|
|
7278
|
+
sendMessage: R,
|
|
7279
|
+
sendJsonMessage: B,
|
|
7276
7280
|
lastMessage: c,
|
|
7277
7281
|
lastJsonMessage: v,
|
|
7278
|
-
readyState:
|
|
7279
|
-
getWebSocket:
|
|
7282
|
+
readyState: P,
|
|
7283
|
+
getWebSocket: O
|
|
7280
7284
|
};
|
|
7281
7285
|
};
|
|
7282
7286
|
return Ze.useWebSocket = o, Ze;
|
|
@@ -7444,13 +7448,13 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7444
7448
|
});
|
|
7445
7449
|
} };
|
|
7446
7450
|
}, za = () => {
|
|
7447
|
-
const { client: e } = se(), n =
|
|
7451
|
+
const { client: e } = se(), n = H(async () => {
|
|
7448
7452
|
const { data: d } = await e.get("/carousels");
|
|
7449
7453
|
return d;
|
|
7450
|
-
}, [e]), t =
|
|
7454
|
+
}, [e]), t = H(async () => await e.get("/marquees"), [e]), r = H(async () => await e.get("/notification"), [e]), p = H(
|
|
7451
7455
|
async (d) => await e.put(`/notification/${d}/read`),
|
|
7452
7456
|
[e]
|
|
7453
|
-
), g =
|
|
7457
|
+
), g = H(
|
|
7454
7458
|
async (d) => {
|
|
7455
7459
|
const { phonecode: l } = d || {};
|
|
7456
7460
|
return await e.get("/verifyPhoneBarcode", {
|
|
@@ -7460,7 +7464,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7460
7464
|
});
|
|
7461
7465
|
},
|
|
7462
7466
|
[e]
|
|
7463
|
-
), U =
|
|
7467
|
+
), U = H(
|
|
7464
7468
|
async (d) => {
|
|
7465
7469
|
const { lovecode: l } = d || {};
|
|
7466
7470
|
return await e.get("/verifyLoveCode", {
|
|
@@ -7480,63 +7484,63 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7480
7484
|
verifyDonationCodeApi: U
|
|
7481
7485
|
};
|
|
7482
7486
|
}, Ro = ({ options: e } = {}) => {
|
|
7483
|
-
const { userLoginApi: n } =
|
|
7487
|
+
const { userLoginApi: n } = re();
|
|
7484
7488
|
return X({
|
|
7485
7489
|
mutationKey: ["userLogin"],
|
|
7486
7490
|
mutationFn: async (t) => n(t),
|
|
7487
7491
|
...e
|
|
7488
7492
|
});
|
|
7489
7493
|
}, Po = ({ options: e } = {}) => {
|
|
7490
|
-
const { userLogoutApi: n } =
|
|
7494
|
+
const { userLogoutApi: n } = re();
|
|
7491
7495
|
return X({
|
|
7492
7496
|
mutationKey: ["userLogout"],
|
|
7493
7497
|
mutationFn: async () => n(),
|
|
7494
7498
|
...e
|
|
7495
7499
|
});
|
|
7496
7500
|
}, wo = ({ options: e } = {}) => {
|
|
7497
|
-
const { userSignUpApi: n } =
|
|
7501
|
+
const { userSignUpApi: n } = re();
|
|
7498
7502
|
return X({
|
|
7499
7503
|
mutationKey: ["userSignUp"],
|
|
7500
7504
|
mutationFn: async (t) => n(t),
|
|
7501
7505
|
...e
|
|
7502
7506
|
});
|
|
7503
7507
|
}, Fo = ({ options: e } = {}) => {
|
|
7504
|
-
const { addOrRemoveFavoriteGameApi: n } =
|
|
7508
|
+
const { addOrRemoveFavoriteGameApi: n } = re();
|
|
7505
7509
|
return X({
|
|
7506
7510
|
mutationKey: ["toggleFavoriteGame"],
|
|
7507
7511
|
mutationFn: async (t) => n(t),
|
|
7508
7512
|
...e
|
|
7509
7513
|
});
|
|
7510
7514
|
}, Ao = ({ options: e } = {}) => {
|
|
7511
|
-
const { updateUserInfoApi: n } =
|
|
7515
|
+
const { updateUserInfoApi: n } = re();
|
|
7512
7516
|
return X({
|
|
7513
7517
|
mutationKey: ["updateUserInfo"],
|
|
7514
7518
|
mutationFn: async (t) => n(t),
|
|
7515
7519
|
...e
|
|
7516
7520
|
});
|
|
7517
7521
|
}, Oo = ({ options: e } = {}) => {
|
|
7518
|
-
const { resetUserPasswordApi: n } =
|
|
7522
|
+
const { resetUserPasswordApi: n } = re();
|
|
7519
7523
|
return X({
|
|
7520
7524
|
mutationKey: ["resetUserPassword"],
|
|
7521
7525
|
mutationFn: async (t) => n(t),
|
|
7522
7526
|
...e
|
|
7523
7527
|
});
|
|
7524
7528
|
}, Bo = ({ options: e } = {}) => {
|
|
7525
|
-
const { setUserTransactionPasswordApi: n } =
|
|
7529
|
+
const { setUserTransactionPasswordApi: n } = re();
|
|
7526
7530
|
return X({
|
|
7527
7531
|
mutationKey: ["setUserTransactionPassword"],
|
|
7528
7532
|
mutationFn: async (t) => n(t),
|
|
7529
7533
|
...e
|
|
7530
7534
|
});
|
|
7531
7535
|
}, Ho = ({ options: e } = {}) => {
|
|
7532
|
-
const { resetUserTransactionPasswordApi: n } =
|
|
7536
|
+
const { resetUserTransactionPasswordApi: n } = re();
|
|
7533
7537
|
return X({
|
|
7534
7538
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7535
7539
|
mutationFn: async (t) => n(t),
|
|
7536
7540
|
...e
|
|
7537
7541
|
});
|
|
7538
7542
|
}, Wo = ({ paramsData: e, options: n } = {}) => {
|
|
7539
|
-
const { userRebateApi: t } =
|
|
7543
|
+
const { userRebateApi: t } = re(), { getToken: r } = se();
|
|
7540
7544
|
return r?.(), $({
|
|
7541
7545
|
queryKey: ["userRebate", e],
|
|
7542
7546
|
queryFn: async () => t({ paramsData: e }),
|
|
@@ -7544,14 +7548,14 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7544
7548
|
...n
|
|
7545
7549
|
});
|
|
7546
7550
|
}, zo = ({ options: e } = {}) => {
|
|
7547
|
-
const { userBindBankApi: n } =
|
|
7551
|
+
const { userBindBankApi: n } = re();
|
|
7548
7552
|
return X({
|
|
7549
7553
|
mutationKey: ["userBindBank"],
|
|
7550
7554
|
mutationFn: async (t) => n({ formData: t }),
|
|
7551
7555
|
...e
|
|
7552
7556
|
});
|
|
7553
7557
|
}, Io = ({ options: e } = {}) => {
|
|
7554
|
-
const { transferInGameApi: n } =
|
|
7558
|
+
const { transferInGameApi: n } = re();
|
|
7555
7559
|
return X({
|
|
7556
7560
|
mutationKey: ["transferInGame"],
|
|
7557
7561
|
mutationFn: async (t) => n(t),
|
|
@@ -7559,7 +7563,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7559
7563
|
...e
|
|
7560
7564
|
});
|
|
7561
7565
|
}, Lm = ({ options: e } = {}) => {
|
|
7562
|
-
const { currency: n } = se(), { pointTransferApi: t } =
|
|
7566
|
+
const { currency: n } = se(), { pointTransferApi: t } = re();
|
|
7563
7567
|
return X({
|
|
7564
7568
|
mutationKey: ["pointTransfer"],
|
|
7565
7569
|
mutationFn: async (r) => t({
|
|
@@ -7569,7 +7573,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7569
7573
|
...e
|
|
7570
7574
|
});
|
|
7571
7575
|
}, Gm = ({ options: e } = {}) => {
|
|
7572
|
-
const { currency: n } = se(), { checkUserWagerApi: t } =
|
|
7576
|
+
const { currency: n } = se(), { checkUserWagerApi: t } = re();
|
|
7573
7577
|
return $({
|
|
7574
7578
|
queryKey: ["checkUserWager"],
|
|
7575
7579
|
queryFn: async () => t(),
|
|
@@ -7582,7 +7586,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7582
7586
|
...e
|
|
7583
7587
|
});
|
|
7584
7588
|
}, Mm = ({ options: e } = {}) => {
|
|
7585
|
-
const n = Wa(), { abandonPointsApi: t } =
|
|
7589
|
+
const n = Wa(), { abandonPointsApi: t } = re();
|
|
7586
7590
|
return X({
|
|
7587
7591
|
mutationKey: ["abandonPoint"],
|
|
7588
7592
|
mutationFn: async (r) => t({
|
|
@@ -7594,70 +7598,70 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7594
7598
|
...e
|
|
7595
7599
|
});
|
|
7596
7600
|
}, ir = ({ options: e } = {}) => {
|
|
7597
|
-
const { lineLoginApi: n } =
|
|
7601
|
+
const { lineLoginApi: n } = re();
|
|
7598
7602
|
return X({
|
|
7599
7603
|
mutationKey: ["lineLogin"],
|
|
7600
7604
|
mutationFn: async (t) => n(t),
|
|
7601
7605
|
...e
|
|
7602
7606
|
});
|
|
7603
7607
|
}, Vo = ({ options: e } = {}) => {
|
|
7604
|
-
const { lineLogin2Api: n } =
|
|
7608
|
+
const { lineLogin2Api: n } = re();
|
|
7605
7609
|
return X({
|
|
7606
7610
|
mutationKey: ["lineLogin"],
|
|
7607
7611
|
mutationFn: async (t) => n(t),
|
|
7608
7612
|
...e
|
|
7609
7613
|
});
|
|
7610
7614
|
}, Rm = ({ options: e } = {}) => {
|
|
7611
|
-
const { machineLoginApi: n } =
|
|
7615
|
+
const { machineLoginApi: n } = re();
|
|
7612
7616
|
return X({
|
|
7613
7617
|
mutationKey: ["machineLogin"],
|
|
7614
7618
|
mutationFn: async (t) => n(t),
|
|
7615
7619
|
...e
|
|
7616
7620
|
});
|
|
7617
7621
|
}, Jo = ({ options: e, formData: n } = {}) => {
|
|
7618
|
-
const { getMachineLoginCodeApi: t } =
|
|
7622
|
+
const { getMachineLoginCodeApi: t } = re();
|
|
7619
7623
|
return $({
|
|
7620
7624
|
queryKey: ["getMachineLoginCode"],
|
|
7621
7625
|
queryFn: async () => t(n),
|
|
7622
7626
|
...e
|
|
7623
7627
|
});
|
|
7624
7628
|
}, Pm = ({ options: e } = {}) => {
|
|
7625
|
-
const { currency: n } = se(), { memberTransferApi: t } =
|
|
7629
|
+
const { currency: n } = se(), { memberTransferApi: t } = re();
|
|
7626
7630
|
return X({
|
|
7627
7631
|
mutationKey: ["memberTransfer"],
|
|
7628
7632
|
mutationFn: async (r) => t({ ...r, currency: n }),
|
|
7629
7633
|
...e
|
|
7630
7634
|
});
|
|
7631
7635
|
}, wm = ({ options: e } = {}) => {
|
|
7632
|
-
const { mobileLoginApi: n } =
|
|
7636
|
+
const { mobileLoginApi: n } = re();
|
|
7633
7637
|
return X({
|
|
7634
7638
|
mutationKey: ["mobileLogin"],
|
|
7635
7639
|
mutationFn: async (t) => n(t),
|
|
7636
7640
|
...e
|
|
7637
7641
|
});
|
|
7638
7642
|
}, Fm = ({ options: e } = {}) => {
|
|
7639
|
-
const { mobileLoginApiV2: n } =
|
|
7643
|
+
const { mobileLoginApiV2: n } = re();
|
|
7640
7644
|
return X({
|
|
7641
7645
|
mutationKey: ["mobileLoginV2"],
|
|
7642
7646
|
mutationFn: async (t) => n(t),
|
|
7643
7647
|
...e
|
|
7644
7648
|
});
|
|
7645
7649
|
}, Am = ({ options: e } = {}) => {
|
|
7646
|
-
const { mobileRegisterApi: n } =
|
|
7650
|
+
const { mobileRegisterApi: n } = re();
|
|
7647
7651
|
return X({
|
|
7648
7652
|
mutationKey: ["mobileRegister"],
|
|
7649
7653
|
mutationFn: async (t) => n(t),
|
|
7650
7654
|
...e
|
|
7651
7655
|
});
|
|
7652
7656
|
}, Zo = ({ options: e } = {}) => {
|
|
7653
|
-
const { bindAccountApi: n } =
|
|
7657
|
+
const { bindAccountApi: n } = re();
|
|
7654
7658
|
return X({
|
|
7655
7659
|
mutationKey: ["bindAccount"],
|
|
7656
7660
|
mutationFn: async (t) => n(t),
|
|
7657
7661
|
...e
|
|
7658
7662
|
});
|
|
7659
7663
|
}, Om = ({ options: e } = {}) => {
|
|
7660
|
-
const { sendMobileVerifyCodeApi: n } =
|
|
7664
|
+
const { sendMobileVerifyCodeApi: n } = re();
|
|
7661
7665
|
return X({
|
|
7662
7666
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7663
7667
|
mutationFn: async (t) => n(t),
|
|
@@ -7678,14 +7682,21 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7678
7682
|
...e
|
|
7679
7683
|
});
|
|
7680
7684
|
}, Wm = ({ options: e } = {}) => {
|
|
7681
|
-
const {
|
|
7685
|
+
const { createMachineApi: n } = re();
|
|
7686
|
+
return X({
|
|
7687
|
+
mutationKey: ["createMachine"],
|
|
7688
|
+
mutationFn: async (t) => n({ formData: t }),
|
|
7689
|
+
...e
|
|
7690
|
+
});
|
|
7691
|
+
}, zm = ({ options: e } = {}) => {
|
|
7692
|
+
const { verifyResetActionApi: n } = re();
|
|
7682
7693
|
return X({
|
|
7683
7694
|
mutationKey: ["verifyResetAction"],
|
|
7684
7695
|
mutationFn: async (t) => n(t),
|
|
7685
7696
|
...e
|
|
7686
7697
|
});
|
|
7687
|
-
},
|
|
7688
|
-
const { getJackpotApi: t } =
|
|
7698
|
+
}, Im = ({ options: e, bonusData: n } = {}) => {
|
|
7699
|
+
const { getJackpotApi: t } = re();
|
|
7689
7700
|
return $({
|
|
7690
7701
|
queryKey: ["getJackpotData"],
|
|
7691
7702
|
queryFn: async () => t(),
|
|
@@ -7703,15 +7714,15 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7703
7714
|
},
|
|
7704
7715
|
...e
|
|
7705
7716
|
});
|
|
7706
|
-
},
|
|
7707
|
-
const { getBetRankingApi: n } =
|
|
7717
|
+
}, Vm = ({ options: e } = {}) => {
|
|
7718
|
+
const { getBetRankingApi: n } = re();
|
|
7708
7719
|
return $({
|
|
7709
7720
|
queryKey: ["getBetRankingData"],
|
|
7710
7721
|
queryFn: async () => n(),
|
|
7711
7722
|
...e
|
|
7712
7723
|
});
|
|
7713
|
-
},
|
|
7714
|
-
const { getUserAvatarListApi: n } =
|
|
7724
|
+
}, Jm = ({ options: e } = {}) => {
|
|
7725
|
+
const { getUserAvatarListApi: n } = re();
|
|
7715
7726
|
return $({
|
|
7716
7727
|
queryKey: ["getAvatarList"],
|
|
7717
7728
|
queryFn: async () => n(),
|
|
@@ -7720,14 +7731,14 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7720
7731
|
// },
|
|
7721
7732
|
...e
|
|
7722
7733
|
});
|
|
7723
|
-
},
|
|
7724
|
-
const { updateUserAvatarApi: n } =
|
|
7734
|
+
}, Zm = ({ options: e } = {}) => {
|
|
7735
|
+
const { updateUserAvatarApi: n } = re();
|
|
7725
7736
|
return X({
|
|
7726
7737
|
mutationKey: ["updateAvatar"],
|
|
7727
7738
|
mutationFn: async (t) => n(t),
|
|
7728
7739
|
...e
|
|
7729
7740
|
});
|
|
7730
|
-
},
|
|
7741
|
+
}, Km = ({
|
|
7731
7742
|
options: e = {
|
|
7732
7743
|
login: {},
|
|
7733
7744
|
logout: {},
|
|
@@ -7777,7 +7788,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7777
7788
|
GAME_MAINTAIN: "game_maintain",
|
|
7778
7789
|
LINE_LOGIN: "line_login",
|
|
7779
7790
|
UPDATE_EVENT_WALLET: "update_event_wallet"
|
|
7780
|
-
}, Ko = 3e4,
|
|
7791
|
+
}, Ko = 3e4, qm = ({
|
|
7781
7792
|
socketUrl: e,
|
|
7782
7793
|
socketHandlers: n = {},
|
|
7783
7794
|
options: t = {},
|
|
@@ -7799,21 +7810,21 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7799
7810
|
!1
|
|
7800
7811
|
), { mutateAsync: C } = ir({
|
|
7801
7812
|
options: {
|
|
7802
|
-
onSuccess: (
|
|
7803
|
-
c.current.onLineLogin?.(
|
|
7813
|
+
onSuccess: (P) => {
|
|
7814
|
+
c.current.onLineLogin?.(P);
|
|
7804
7815
|
},
|
|
7805
7816
|
retry: !1
|
|
7806
7817
|
}
|
|
7807
7818
|
}), { mutateAsync: v } = Vo({
|
|
7808
7819
|
options: {
|
|
7809
|
-
onSuccess: (
|
|
7810
|
-
c.current.onLineLogin?.(
|
|
7820
|
+
onSuccess: (P) => {
|
|
7821
|
+
c.current.onLineLogin?.(P);
|
|
7811
7822
|
},
|
|
7812
|
-
onError: (
|
|
7813
|
-
U || C(
|
|
7823
|
+
onError: (P, M) => {
|
|
7824
|
+
U || C(M);
|
|
7814
7825
|
}
|
|
7815
7826
|
}
|
|
7816
|
-
}), { handleTransferInGame:
|
|
7827
|
+
}), { handleTransferInGame: D } = Mo({
|
|
7817
7828
|
enable: b,
|
|
7818
7829
|
isTestFunction: !0,
|
|
7819
7830
|
isTransferMode: Y(p, "isTransferMode", !1),
|
|
@@ -7824,10 +7835,10 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7824
7835
|
// 發送普通訊息
|
|
7825
7836
|
sendJsonMessage: G,
|
|
7826
7837
|
// 發送 JSON 訊息
|
|
7827
|
-
lastMessage:
|
|
7838
|
+
lastMessage: A,
|
|
7828
7839
|
// 最後接收到的訊息
|
|
7829
7840
|
// lastJsonMessage, // 最後接收到的 JSON 訊息
|
|
7830
|
-
readyState:
|
|
7841
|
+
readyState: S
|
|
7831
7842
|
// WebSocket 連線狀態
|
|
7832
7843
|
// getWebSocket, // 獲取 WebSocket 實例
|
|
7833
7844
|
} = Go(e, {
|
|
@@ -7837,29 +7848,29 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7837
7848
|
reconnectAttempts: 9999,
|
|
7838
7849
|
reconnectInterval: 1e3,
|
|
7839
7850
|
...t
|
|
7840
|
-
}),
|
|
7851
|
+
}), k = Oa(() => {
|
|
7841
7852
|
try {
|
|
7842
|
-
return JSON.parse(
|
|
7853
|
+
return JSON.parse(A?.data);
|
|
7843
7854
|
} catch {
|
|
7844
7855
|
return null;
|
|
7845
7856
|
}
|
|
7846
|
-
}, [
|
|
7857
|
+
}, [A]);
|
|
7847
7858
|
pe(() => {
|
|
7848
|
-
const
|
|
7859
|
+
const P = setInterval(
|
|
7849
7860
|
() => E("ping"),
|
|
7850
7861
|
Ko
|
|
7851
7862
|
);
|
|
7852
|
-
return () => clearInterval(
|
|
7863
|
+
return () => clearInterval(P);
|
|
7853
7864
|
}, [E]);
|
|
7854
|
-
const
|
|
7855
|
-
(
|
|
7865
|
+
const w = H(
|
|
7866
|
+
(P, M) => {
|
|
7856
7867
|
g && d.dispatch({
|
|
7857
7868
|
type: "ui/openNotificationModal",
|
|
7858
7869
|
payload: {
|
|
7859
7870
|
title: Ba[m] || "System Prompt",
|
|
7860
|
-
content:
|
|
7871
|
+
content: P,
|
|
7861
7872
|
type: "warning",
|
|
7862
|
-
props:
|
|
7873
|
+
props: M
|
|
7863
7874
|
}
|
|
7864
7875
|
});
|
|
7865
7876
|
},
|
|
@@ -7868,55 +7879,55 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7868
7879
|
pe(() => {
|
|
7869
7880
|
c.current = n;
|
|
7870
7881
|
}, [n]);
|
|
7871
|
-
const
|
|
7882
|
+
const F = ae(null);
|
|
7872
7883
|
return pe(() => {
|
|
7873
|
-
if (!
|
|
7884
|
+
if (!k || F.current === k)
|
|
7874
7885
|
return;
|
|
7875
|
-
|
|
7886
|
+
F.current = k;
|
|
7876
7887
|
const {
|
|
7877
|
-
onDeposit:
|
|
7878
|
-
onTransCode:
|
|
7879
|
-
onError:
|
|
7880
|
-
onUpdateMember:
|
|
7881
|
-
onMaintainNotice:
|
|
7882
|
-
onMaintainNoticeMember:
|
|
7883
|
-
onTransferInGame:
|
|
7884
|
-
onCashRegisterLimit:
|
|
7885
|
-
onLineLogin:
|
|
7886
|
-
} = c.current, L = Y(
|
|
7887
|
-
memberInfoUid: Y(
|
|
7888
|
-
data: Y(
|
|
7889
|
-
memo: Y(
|
|
7890
|
-
amount: Y(
|
|
7891
|
-
limitAmount: Y(
|
|
7892
|
-
},
|
|
7888
|
+
onDeposit: P,
|
|
7889
|
+
onTransCode: M,
|
|
7890
|
+
onError: R,
|
|
7891
|
+
onUpdateMember: B,
|
|
7892
|
+
onMaintainNotice: O,
|
|
7893
|
+
onMaintainNoticeMember: W,
|
|
7894
|
+
onTransferInGame: z,
|
|
7895
|
+
onCashRegisterLimit: h,
|
|
7896
|
+
onLineLogin: T
|
|
7897
|
+
} = c.current, L = Y(k, "type", ""), N = {
|
|
7898
|
+
memberInfoUid: Y(k, "member_info_uid", null),
|
|
7899
|
+
data: Y(k, "data", null),
|
|
7900
|
+
memo: Y(k, "memo", null),
|
|
7901
|
+
amount: Y(k, "amount", null),
|
|
7902
|
+
limitAmount: Y(k, "limit_amount", null)
|
|
7903
|
+
}, J = Number(N.memberInfoUid) === y, q = N.data, j = N.amount, K = N.limitAmount, te = f.get("mac") || pi.get("machine_mac_address") || "", le = Y(k, "data.line_id", null), ye = Y(k, "data.line_name", null), Ue = Y(k, "member_info_uid", null);
|
|
7893
7904
|
switch (L) {
|
|
7894
7905
|
case He.DEPOSIT:
|
|
7895
|
-
|
|
7906
|
+
J && (D(), P?.(N));
|
|
7896
7907
|
break;
|
|
7897
7908
|
case He.TRANS_CODE:
|
|
7898
|
-
|
|
7909
|
+
M?.(N);
|
|
7899
7910
|
break;
|
|
7900
7911
|
case He.ERROR:
|
|
7901
|
-
if (
|
|
7902
|
-
const me = Y(
|
|
7903
|
-
|
|
7912
|
+
if (J) {
|
|
7913
|
+
const me = Y(k, "open_game_modal", 0) === 1;
|
|
7914
|
+
w(q, {
|
|
7904
7915
|
notificationType: me ? "gamingNotice" : void 0
|
|
7905
|
-
}),
|
|
7916
|
+
}), R?.(N);
|
|
7906
7917
|
}
|
|
7907
7918
|
break;
|
|
7908
7919
|
case He.UPDATE_MEMBER:
|
|
7909
7920
|
y && (a.invalidateQueries({
|
|
7910
7921
|
queryKey: ["getMemberInfo"]
|
|
7911
|
-
}),
|
|
7922
|
+
}), B?.(N));
|
|
7912
7923
|
break;
|
|
7913
7924
|
case He.MAINTAIN_NOTICE:
|
|
7914
|
-
|
|
7925
|
+
w(q, {
|
|
7915
7926
|
notificationType: "maintainNotice"
|
|
7916
|
-
}),
|
|
7927
|
+
}), O?.(N);
|
|
7917
7928
|
break;
|
|
7918
7929
|
case He.MAINTAIN_NOTICE_MEMBER:
|
|
7919
|
-
|
|
7930
|
+
J && (w(q), W?.(N), setTimeout(() => {
|
|
7920
7931
|
window.location.reload();
|
|
7921
7932
|
}, 5e4));
|
|
7922
7933
|
break;
|
|
@@ -7925,7 +7936,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7925
7936
|
break;
|
|
7926
7937
|
case He.TRANSFER_IN_GAME:
|
|
7927
7938
|
case He.CHECK_REQUEST:
|
|
7928
|
-
if (
|
|
7939
|
+
if (J && b) {
|
|
7929
7940
|
const { request_id: me, amount: ce, platform: ke, status: fe } = Y(N, "data", {}) || {}, Ve = localStorage.getItem(
|
|
7930
7941
|
"transfer_in_game_request_id"
|
|
7931
7942
|
);
|
|
@@ -7934,7 +7945,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7934
7945
|
return;
|
|
7935
7946
|
} else if (Ve && Ve === me) {
|
|
7936
7947
|
if (fe === "rollback") {
|
|
7937
|
-
|
|
7948
|
+
D();
|
|
7938
7949
|
return;
|
|
7939
7950
|
}
|
|
7940
7951
|
localStorage.removeItem("transfer_in_game_request_id"), d.dispatch({
|
|
@@ -7946,48 +7957,48 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7946
7957
|
}
|
|
7947
7958
|
}), o();
|
|
7948
7959
|
}
|
|
7949
|
-
|
|
7960
|
+
z?.(N);
|
|
7950
7961
|
}
|
|
7951
7962
|
break;
|
|
7952
7963
|
case He.CASH_REGISTER_LIMIT:
|
|
7953
|
-
|
|
7964
|
+
w(q, {
|
|
7954
7965
|
notificationType: "cashRegisterLimit",
|
|
7955
7966
|
amount: j,
|
|
7956
7967
|
limitAmount: K
|
|
7957
|
-
}),
|
|
7968
|
+
}), h?.(N);
|
|
7958
7969
|
break;
|
|
7959
7970
|
case He.UPDATE_ONLY_ONE_MEMBER:
|
|
7960
|
-
|
|
7971
|
+
J && (a.invalidateQueries({
|
|
7961
7972
|
queryKey: ["getMemberInfo"]
|
|
7962
|
-
}),
|
|
7973
|
+
}), B?.(N));
|
|
7963
7974
|
break;
|
|
7964
7975
|
case He.GAME_MAINTAIN:
|
|
7965
|
-
|
|
7976
|
+
w(q, {
|
|
7966
7977
|
notificationType: "gameMaintain"
|
|
7967
7978
|
});
|
|
7968
7979
|
break;
|
|
7969
7980
|
case He.LINE_LOGIN:
|
|
7970
|
-
Ue ===
|
|
7971
|
-
line_id:
|
|
7981
|
+
Ue === te && C({
|
|
7982
|
+
line_id: le,
|
|
7972
7983
|
line_name: ye
|
|
7973
7984
|
});
|
|
7974
7985
|
break;
|
|
7975
7986
|
case He.UPDATE_EVENT_WALLET:
|
|
7976
|
-
|
|
7987
|
+
J && (a.invalidateQueries({ queryKey: ["getEventWalletList"] }), a.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
|
|
7977
7988
|
return;
|
|
7978
7989
|
default:
|
|
7979
7990
|
console.warn("Unknown socket type:", L);
|
|
7980
7991
|
break;
|
|
7981
7992
|
}
|
|
7982
7993
|
}, [
|
|
7983
|
-
|
|
7994
|
+
k,
|
|
7984
7995
|
y,
|
|
7985
7996
|
d,
|
|
7986
7997
|
a,
|
|
7987
7998
|
m,
|
|
7988
|
-
|
|
7999
|
+
w,
|
|
7989
8000
|
s,
|
|
7990
|
-
|
|
8001
|
+
D,
|
|
7991
8002
|
b,
|
|
7992
8003
|
o,
|
|
7993
8004
|
f,
|
|
@@ -7998,12 +8009,12 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7998
8009
|
) && u();
|
|
7999
8010
|
}, [u]), pe(() => {
|
|
8000
8011
|
if (b) {
|
|
8001
|
-
const
|
|
8012
|
+
const P = localStorage.getItem(
|
|
8002
8013
|
"transfer_in_game_request_id"
|
|
8003
8014
|
);
|
|
8004
|
-
|
|
8015
|
+
P && y && s && G({
|
|
8005
8016
|
type: He.CHECK_REQUEST,
|
|
8006
|
-
request_id:
|
|
8017
|
+
request_id: P,
|
|
8007
8018
|
member_info_uid: y
|
|
8008
8019
|
});
|
|
8009
8020
|
}
|
|
@@ -8026,22 +8037,22 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8026
8037
|
}, [s, i, d, m]), {
|
|
8027
8038
|
sendMessage: E,
|
|
8028
8039
|
sendJsonMessage: G,
|
|
8029
|
-
readyState:
|
|
8040
|
+
readyState: S
|
|
8030
8041
|
// WebSocket 連線狀態
|
|
8031
8042
|
};
|
|
8032
8043
|
}, et = () => {
|
|
8033
|
-
const { client: e } = se(), n =
|
|
8044
|
+
const { client: e } = se(), n = H(
|
|
8034
8045
|
async ({ paramsData: U } = {}) => {
|
|
8035
8046
|
const { uid: d } = U || {};
|
|
8036
8047
|
return await e.get(`/event/list${d ? `/${d}` : ""}`);
|
|
8037
8048
|
},
|
|
8038
8049
|
[e]
|
|
8039
|
-
), t =
|
|
8050
|
+
), t = H(
|
|
8040
8051
|
async (U) => await e.get("/event/checkMemeberEventsWageringRestricted", {
|
|
8041
8052
|
params: U
|
|
8042
8053
|
}),
|
|
8043
8054
|
[e]
|
|
8044
|
-
), r =
|
|
8055
|
+
), r = H(
|
|
8045
8056
|
async (U = {}) => {
|
|
8046
8057
|
const { event_uid: d } = U || {};
|
|
8047
8058
|
return await e.get(`/event/${d}/memberGetEventRewards`, {
|
|
@@ -8049,7 +8060,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8049
8060
|
});
|
|
8050
8061
|
},
|
|
8051
8062
|
[e]
|
|
8052
|
-
), p =
|
|
8063
|
+
), p = H(
|
|
8053
8064
|
async (U = {}) => {
|
|
8054
8065
|
const { currency: d, event_uid: l } = U || {};
|
|
8055
8066
|
return await e.post("/event/checkMemberEventsStatus", {
|
|
@@ -8058,7 +8069,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8058
8069
|
});
|
|
8059
8070
|
},
|
|
8060
8071
|
[e]
|
|
8061
|
-
), g =
|
|
8072
|
+
), g = H(
|
|
8062
8073
|
async (U = {}) => {
|
|
8063
8074
|
const { uid: d } = U || {};
|
|
8064
8075
|
return await e.post(`/event/memberEventSettle/${d}`);
|
|
@@ -8202,7 +8213,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8202
8213
|
},
|
|
8203
8214
|
...n
|
|
8204
8215
|
});
|
|
8205
|
-
},
|
|
8216
|
+
}, $m = ({ options: e } = {}) => {
|
|
8206
8217
|
const { redeemEventRewardApi: n } = et();
|
|
8207
8218
|
return X({
|
|
8208
8219
|
mutationKey: ["redeemEventReward"],
|
|
@@ -8224,14 +8235,14 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8224
8235
|
select: (r) => r.data.event_status,
|
|
8225
8236
|
...e
|
|
8226
8237
|
});
|
|
8227
|
-
},
|
|
8238
|
+
}, Qm = ({ options: e } = {}) => {
|
|
8228
8239
|
const { settleEventApi: n } = et();
|
|
8229
8240
|
return X({
|
|
8230
8241
|
mutationKey: ["settleEvent"],
|
|
8231
8242
|
mutationFn: async (t) => n(t),
|
|
8232
8243
|
...e
|
|
8233
8244
|
});
|
|
8234
|
-
},
|
|
8245
|
+
}, jm = ({
|
|
8235
8246
|
options: e = {
|
|
8236
8247
|
eventList: {},
|
|
8237
8248
|
checkEventProgress: {},
|
|
@@ -8249,7 +8260,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8249
8260
|
checkEventStatusQuery: r
|
|
8250
8261
|
};
|
|
8251
8262
|
}, at = () => {
|
|
8252
|
-
const { client: e } = se(), n =
|
|
8263
|
+
const { client: e } = se(), n = H(
|
|
8253
8264
|
async ({ gamePlatform: U, params: d } = {}) => await e.get(
|
|
8254
8265
|
`/gameBonusRestricted${U ? `/${U}` : ""}`,
|
|
8255
8266
|
{
|
|
@@ -8257,20 +8268,20 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8257
8268
|
}
|
|
8258
8269
|
),
|
|
8259
8270
|
[e]
|
|
8260
|
-
), t =
|
|
8271
|
+
), t = H(
|
|
8261
8272
|
async ({ eventUids: U = [] } = {}) => await e.post("/gameBonusRestricted/enable", {
|
|
8262
8273
|
uids: U
|
|
8263
8274
|
}),
|
|
8264
8275
|
[e]
|
|
8265
|
-
), r =
|
|
8276
|
+
), r = H(
|
|
8266
8277
|
async ({ gamePlatform: U = "" } = {}) => await e.post(
|
|
8267
8278
|
`/gameBonusRestricted/evaluate${U ? `/${U}` : ""}`
|
|
8268
8279
|
),
|
|
8269
8280
|
[e]
|
|
8270
|
-
), p =
|
|
8281
|
+
), p = H(
|
|
8271
8282
|
async ({ groupUid: U = "" } = {}) => await e.post(`/gameBonusRestricted/settle/${U}`),
|
|
8272
8283
|
[e]
|
|
8273
|
-
), g =
|
|
8284
|
+
), g = H(
|
|
8274
8285
|
async ({ groupUid: U = "" } = {}) => await e.post(`/gameBonusRestricted/abandon/${U}`),
|
|
8275
8286
|
[e]
|
|
8276
8287
|
);
|
|
@@ -8281,7 +8292,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8281
8292
|
settleEventWalletApi: p,
|
|
8282
8293
|
abandonEventWalletApi: g
|
|
8283
8294
|
};
|
|
8284
|
-
},
|
|
8295
|
+
}, Ym = ({ gamePlatform: e, params: n } = {}) => {
|
|
8285
8296
|
const { eventWalletListApi: t } = at();
|
|
8286
8297
|
return $({
|
|
8287
8298
|
queryKey: ["getEventWalletList", e, n],
|
|
@@ -8322,7 +8333,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8322
8333
|
};
|
|
8323
8334
|
}
|
|
8324
8335
|
});
|
|
8325
|
-
},
|
|
8336
|
+
}, Xm = () => {
|
|
8326
8337
|
const e = Wa(), { enabledEventWalletApi: n } = at();
|
|
8327
8338
|
return X({
|
|
8328
8339
|
mutationKey: ["enabledEventWallet"],
|
|
@@ -8331,7 +8342,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8331
8342
|
e.invalidateQueries({ queryKey: ["evaluateEventWallet"] });
|
|
8332
8343
|
}
|
|
8333
8344
|
});
|
|
8334
|
-
},
|
|
8345
|
+
}, eu = ({ gamePlatform: e = "", options: n = {} } = {}) => {
|
|
8335
8346
|
const { evaluateEventWalletApi: t } = at();
|
|
8336
8347
|
return $({
|
|
8337
8348
|
queryKey: ["evaluateEventWallet", e],
|
|
@@ -8347,7 +8358,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8347
8358
|
},
|
|
8348
8359
|
...n
|
|
8349
8360
|
});
|
|
8350
|
-
},
|
|
8361
|
+
}, au = () => {
|
|
8351
8362
|
const e = Wa(), { settleEventWalletApi: n } = at();
|
|
8352
8363
|
return X({
|
|
8353
8364
|
mutationKey: ["settleEventWallet"],
|
|
@@ -8356,7 +8367,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8356
8367
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8357
8368
|
}
|
|
8358
8369
|
});
|
|
8359
|
-
},
|
|
8370
|
+
}, tu = () => {
|
|
8360
8371
|
const e = Wa(), { abandonEventWalletApi: n } = at();
|
|
8361
8372
|
return X({
|
|
8362
8373
|
mutationKey: ["abandonEventWallet"],
|
|
@@ -8365,7 +8376,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8365
8376
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8366
8377
|
}
|
|
8367
8378
|
});
|
|
8368
|
-
},
|
|
8379
|
+
}, iu = ({ skipPreload: e = !1 } = {}) => {
|
|
8369
8380
|
const { lng: n, data2URL: t } = se(), { commonCarouselApi: r } = za(), p = Qe(n);
|
|
8370
8381
|
return $({
|
|
8371
8382
|
queryKey: ["getCarouselList", e],
|
|
@@ -8393,7 +8404,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8393
8404
|
};
|
|
8394
8405
|
})
|
|
8395
8406
|
});
|
|
8396
|
-
},
|
|
8407
|
+
}, nu = () => {
|
|
8397
8408
|
const { lng: e, getToken: n } = se(), t = n?.(), { commonMarqueeApi: r } = za(), p = Qe(e);
|
|
8398
8409
|
return $({
|
|
8399
8410
|
queryKey: ["getMarqueeList", t],
|
|
@@ -8409,8 +8420,8 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8409
8420
|
};
|
|
8410
8421
|
}
|
|
8411
8422
|
});
|
|
8412
|
-
},
|
|
8413
|
-
const { rankingGameApi: n } =
|
|
8423
|
+
}, ru = ({ options: e } = {}) => {
|
|
8424
|
+
const { rankingGameApi: n } = re();
|
|
8414
8425
|
return $({
|
|
8415
8426
|
queryKey: ["rankingGame"],
|
|
8416
8427
|
queryFn: async () => n(),
|
|
@@ -8751,30 +8762,30 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8751
8762
|
}, onActive: i = () => {
|
|
8752
8763
|
}, onAction: o = () => {
|
|
8753
8764
|
}, onMessage: s = () => {
|
|
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:
|
|
8755
|
-
let G = ae(Te()),
|
|
8765
|
+
}, 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: D = !1, disabled: E = !1 } = {}) {
|
|
8766
|
+
let G = ae(Te()), A = ae(Te()), S = ae(null), k = ae(null), w = ae(0), F = ae(0), P = ae(0), M = ae(0), R = ae(!1), B = ae(!1), O = ae(!1), W = ae(!0), z = ae(!1), h = ae(null), T = ae(null), L = ae(e), N = ae(0);
|
|
8756
8767
|
pe(() => {
|
|
8757
8768
|
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
8769
|
if (e >= Fa) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Fa}.`);
|
|
8759
8770
|
if (n >= Fa) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Fa}.`);
|
|
8760
8771
|
if (t >= Fa) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${Fa}.`);
|
|
8761
8772
|
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), !
|
|
8773
|
+
if (t ? (L.current = e - t, N.current = t) : (L.current = e, N.current = n), !W.current) {
|
|
8763
8774
|
if (y || E) return;
|
|
8764
|
-
|
|
8775
|
+
R.current && (me.current(null, Se), T.current && T.current.active()), je();
|
|
8765
8776
|
}
|
|
8766
8777
|
}, [e, n, t, y, E]);
|
|
8767
|
-
let
|
|
8778
|
+
let J = ae(f);
|
|
8768
8779
|
pe(() => {
|
|
8769
|
-
|
|
8780
|
+
J.current = f;
|
|
8770
8781
|
}, [f]);
|
|
8771
|
-
let q = ae(U), j = ae(r), K = ae([...(/* @__PURE__ */ new Set([...p, ...U])).values()]),
|
|
8782
|
+
let q = ae(U), j = ae(r), K = ae([...(/* @__PURE__ */ new Set([...p, ...U])).values()]), te = ae(E);
|
|
8772
8783
|
pe(() => {
|
|
8773
|
-
|
|
8784
|
+
te.current = E, !W.current && (E ? Je() : y || je());
|
|
8774
8785
|
}, [E]);
|
|
8775
|
-
let
|
|
8786
|
+
let le = ae(d);
|
|
8776
8787
|
pe(() => {
|
|
8777
|
-
|
|
8788
|
+
le.current = d;
|
|
8778
8789
|
}, [d]);
|
|
8779
8790
|
let ye = ae(l);
|
|
8780
8791
|
pe(() => {
|
|
@@ -8802,78 +8813,78 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8802
8813
|
}, [m, u]), Ve = ae();
|
|
8803
8814
|
pe(() => {
|
|
8804
8815
|
b && v && (Ve.current = mi(() => {
|
|
8805
|
-
|
|
8816
|
+
T.current.active();
|
|
8806
8817
|
}, v));
|
|
8807
8818
|
}, [b, v]);
|
|
8808
8819
|
let Ce = () => {
|
|
8809
|
-
|
|
8820
|
+
h.current !== null && (Xe.clearTimeout(h.current), h.current = null);
|
|
8810
8821
|
}, Pe = (V, De = !0) => {
|
|
8811
|
-
Ce(),
|
|
8822
|
+
Ce(), h.current = Xe.setTimeout(We, V || L.current), De && (k.current = Te());
|
|
8812
8823
|
}, aa = (V) => {
|
|
8813
|
-
!
|
|
8824
|
+
!B.current && !R.current && (ye.current(V, Se), le.current({ type: "active", prompted: !0 }, Se)), M.current = 0, P.current = Te(), B.current = !0, Pe(N.current, !1);
|
|
8814
8825
|
}, we = () => {
|
|
8815
|
-
Ce(),
|
|
8826
|
+
Ce(), R.current || (Ue.current(null, Se), le.current({ type: "idle" }, Se)), R.current = !0, S.current = Te(), J.current ? Fe() : B.current && (P.current = 0, B.current = !1);
|
|
8816
8827
|
}, ve = (V) => {
|
|
8817
|
-
Ce(), (
|
|
8828
|
+
Ce(), (R.current || B.current) && (me.current(V, Se), le.current({ type: "active", prompted: !1 }, Se)), B.current = !1, P.current = 0, R.current = !1, w.current += Te() - S.current, F.current += Te() - S.current, xe(), Pe();
|
|
8818
8829
|
}, We = (V) => {
|
|
8819
|
-
if (!
|
|
8830
|
+
if (!R.current) {
|
|
8820
8831
|
fe.cancel && fe.cancel();
|
|
8821
|
-
let De = Te() -
|
|
8822
|
-
if (!(L.current + N.current < De) && N.current > 0 && !
|
|
8823
|
-
|
|
8832
|
+
let De = Te() - k.current;
|
|
8833
|
+
if (!(L.current + N.current < De) && N.current > 0 && !B.current) {
|
|
8834
|
+
T.current ? T.current.prompt() : aa(V);
|
|
8824
8835
|
return;
|
|
8825
8836
|
}
|
|
8826
|
-
|
|
8837
|
+
T.current ? T.current.idle() : we();
|
|
8827
8838
|
return;
|
|
8828
8839
|
}
|
|
8829
|
-
|
|
8840
|
+
T.current ? T.current.active() : ve(V);
|
|
8830
8841
|
}, ta = (V) => {
|
|
8831
|
-
if (!c && !
|
|
8832
|
-
if (Ce(), !
|
|
8842
|
+
if (!c && !k.current && (k.current = Te(), me.current(null, Se)), fe(V, Se), B.current) return;
|
|
8843
|
+
if (Ce(), !R.current && q.current.includes(V.type)) {
|
|
8833
8844
|
We(V);
|
|
8834
8845
|
return;
|
|
8835
8846
|
}
|
|
8836
|
-
let De = Te() -
|
|
8837
|
-
if (
|
|
8847
|
+
let De = Te() - k.current;
|
|
8848
|
+
if (R.current && !f || !R.current && De >= L.current) {
|
|
8838
8849
|
We(V);
|
|
8839
8850
|
return;
|
|
8840
8851
|
}
|
|
8841
|
-
|
|
8852
|
+
O.current = !1, M.current = 0, P.current = 0, Pe(), b && v && Ve.current();
|
|
8842
8853
|
}, ia = ae(ta);
|
|
8843
8854
|
pe(() => {
|
|
8844
|
-
let V =
|
|
8855
|
+
let V = z.current;
|
|
8845
8856
|
V && Fe(), _ > 0 ? ia.current = mi(ta, _) : ia.current = ta, V && xe();
|
|
8846
8857
|
}, [_, m, u, ce, b, v]);
|
|
8847
8858
|
let xe = () => {
|
|
8848
|
-
pa && j.current && (
|
|
8859
|
+
pa && j.current && (z.current || (K.current.forEach((V) => {
|
|
8849
8860
|
j.current.addEventListener(V, ia.current, { capture: !0, passive: !0 });
|
|
8850
|
-
}),
|
|
8861
|
+
}), z.current = !0));
|
|
8851
8862
|
}, Fe = (V = !1) => {
|
|
8852
|
-
pa && j.current && (
|
|
8863
|
+
pa && j.current && (z.current || V) && (K.current.forEach((De) => {
|
|
8853
8864
|
j.current.removeEventListener(De, ia.current, { capture: !0 });
|
|
8854
|
-
}),
|
|
8855
|
-
}, je =
|
|
8856
|
-
if (
|
|
8857
|
-
let V =
|
|
8865
|
+
}), z.current = !1);
|
|
8866
|
+
}, je = H((V) => te.current ? !1 : (Ce(), xe(), R.current = !1, B.current = !1, O.current = !1, M.current = 0, P.current = 0, T.current && !V && T.current.start(), Pe(), !0), [h, R, te, L, T]), oa = H((V) => te.current ? !1 : (Ce(), xe(), A.current = Te(), w.current += Te() - S.current, F.current += Te() - S.current, w.current = 0, R.current = !1, B.current = !1, O.current = !1, M.current = 0, P.current = 0, T.current && !V && T.current.reset(), y || Pe(), !0), [h, R, L, y, te, T]), ga = H((V) => te.current ? !1 : (Ce(), xe(), (R.current || B.current) && ve(), R.current = !1, B.current = !1, O.current = !1, M.current = 0, P.current = 0, A.current = Te(), T.current && !V && T.current.activate(), Pe(), !0), [h, R, B, te, L, T]), Je = H((V = !1) => te.current || O.current ? !1 : (M.current = ya(), O.current = !0, Fe(), Ce(), T.current && !V && T.current.pause(), !0), [h, te, T]), Ye = H((V = !1) => te.current || !O.current ? !1 : (O.current = !1, B.current || xe(), R.current || Pe(M.current), P.current && (P.current = Te()), T.current && !V && T.current.resume(), !0), [h, L, te, M, T]), Va = H((V, De) => (T.current ? (De && ke.current(V, Se), T.current.message(V)) : De && ke.current(V, Se), !0), [s]), Da = H(() => R.current, [R]), Ea = H(() => B.current, [B]), Ja = H(() => T.current ? T.current.isLeader : null, [T]), Za = H(() => T.current ? T.current.isLastActive : null, [T]), da = H(() => T.current ? T.current.token : null, [T]), ya = H(() => {
|
|
8867
|
+
if (O.current) return M.current;
|
|
8868
|
+
let V = M.current ? M.current : N.current + L.current, De = k.current ? Te() - k.current : 0, na = Math.floor(V - De);
|
|
8858
8869
|
return na < 0 ? 0 : Math.abs(na);
|
|
8859
|
-
}, [L, N,
|
|
8870
|
+
}, [L, N, B, M, k]), qe = H(() => Math.round(Te() - A.current), [A]), ca = H(() => Math.round(Te() - G.current), [G]), fa = H(() => S.current ? new Date(S.current) : null, [S]), Na = H(() => k.current ? new Date(k.current) : null, [k]), La = H(() => R.current ? Math.round(Te() - S.current + w.current) : Math.round(w.current), [S, w]), Ua = H(() => R.current ? Math.round(Te() - S.current + F.current) : Math.round(F.current), [S, F]), Ga = H(() => {
|
|
8860
8871
|
let V = Math.round(qe() - La());
|
|
8861
8872
|
return V >= 0 ? V : 0;
|
|
8862
|
-
}, [
|
|
8873
|
+
}, [S, w]), Ma = H(() => {
|
|
8863
8874
|
let V = Math.round(ca() - Ua());
|
|
8864
8875
|
return V >= 0 ? V : 0;
|
|
8865
|
-
}, [
|
|
8876
|
+
}, [S, w]);
|
|
8866
8877
|
pe(() => {
|
|
8867
8878
|
if (u > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
8868
8879
|
g && ls(g);
|
|
8869
8880
|
let V = () => {
|
|
8870
|
-
|
|
8881
|
+
T.current && T.current.close(), fe.cancel && fe.cancel(), Ce(), Fe(!0);
|
|
8871
8882
|
};
|
|
8872
8883
|
return pa && window.addEventListener("beforeunload", V), () => {
|
|
8873
|
-
pa && window.removeEventListener("beforeunload", V),
|
|
8884
|
+
pa && window.removeEventListener("beforeunload", V), T.current && T.current.close(), fe.cancel && fe.cancel(), Ce(), Fe(!0);
|
|
8874
8885
|
};
|
|
8875
8886
|
}, []), pe(() => {
|
|
8876
|
-
|
|
8887
|
+
T.current && T.current.close(), b ? T.current = new ps({ channelName: C, leaderElection: D, onPrompt: () => {
|
|
8877
8888
|
aa();
|
|
8878
8889
|
}, onIdle: () => {
|
|
8879
8890
|
we();
|
|
@@ -8881,20 +8892,20 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8881
8892
|
ve();
|
|
8882
8893
|
}, onMessage: (V) => {
|
|
8883
8894
|
ke.current(V, Se);
|
|
8884
|
-
}, start: je, reset: oa, activate: ga, pause: Je, resume: Ye }) :
|
|
8885
|
-
}, [b, C,
|
|
8886
|
-
|
|
8887
|
-
}, [y, c, E,
|
|
8888
|
-
if (!
|
|
8895
|
+
}, start: je, reset: oa, activate: ga, pause: Je, resume: Ye }) : T.current = null;
|
|
8896
|
+
}, [b, C, D, ye, Ue, me, ke, je, oa, Je, Ye]), pe(() => {
|
|
8897
|
+
W.current || (Ce(), Fe(!0)), !(y || E) && (c ? je() : xe());
|
|
8898
|
+
}, [y, c, E, W]), pe(() => {
|
|
8899
|
+
if (!W.current) {
|
|
8889
8900
|
let V = [...(/* @__PURE__ */ new Set([...p, ...U])).values()];
|
|
8890
8901
|
if (Fe(), K.current = V, j.current = r, q.current = U, y || E) return;
|
|
8891
8902
|
c ? je() : xe();
|
|
8892
8903
|
}
|
|
8893
|
-
}, [r, JSON.stringify(p), JSON.stringify(U),
|
|
8894
|
-
|
|
8895
|
-
}, [
|
|
8904
|
+
}, [r, JSON.stringify(p), JSON.stringify(U), W, E, y, c]), pe(() => {
|
|
8905
|
+
W.current && (W.current = !1);
|
|
8906
|
+
}, [W]);
|
|
8896
8907
|
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
|
-
d = V,
|
|
8908
|
+
d = V, le.current = V;
|
|
8898
8909
|
}, setOnPrompt: (V) => {
|
|
8899
8910
|
l = V, ye.current = V;
|
|
8900
8911
|
}, setOnIdle: (V) => {
|
|
@@ -8910,7 +8921,7 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8910
8921
|
}
|
|
8911
8922
|
var _s = jt(null);
|
|
8912
8923
|
_s.Consumer;
|
|
8913
|
-
const
|
|
8924
|
+
const lu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
8914
8925
|
onIdle: e,
|
|
8915
8926
|
onActive: n,
|
|
8916
8927
|
onAction: t,
|
|
@@ -8944,7 +8955,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
8944
8955
|
mutationFn: async (t) => await n(t),
|
|
8945
8956
|
...e
|
|
8946
8957
|
});
|
|
8947
|
-
},
|
|
8958
|
+
}, ou = ({
|
|
8948
8959
|
options: e = {
|
|
8949
8960
|
inboxList: {},
|
|
8950
8961
|
readInbox: {}
|
|
@@ -8958,7 +8969,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
8958
8969
|
}, lr = () => {
|
|
8959
8970
|
const { client: e } = se();
|
|
8960
8971
|
return {
|
|
8961
|
-
newsListApi:
|
|
8972
|
+
newsListApi: H(
|
|
8962
8973
|
async ({ uid: t, params: r } = {}) => await e.get(`/news${t ? `/${t}` : ""}`, {
|
|
8963
8974
|
params: r
|
|
8964
8975
|
}),
|
|
@@ -9011,7 +9022,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9011
9022
|
value: "other",
|
|
9012
9023
|
...e.other
|
|
9013
9024
|
}
|
|
9014
|
-
],
|
|
9025
|
+
], su = ({ options: e, formData: n } = {}) => {
|
|
9015
9026
|
const { lng: t } = se(), { newsListApi: r } = lr(), p = Qe(t);
|
|
9016
9027
|
return $({
|
|
9017
9028
|
queryKey: ["newsList"],
|
|
@@ -9037,7 +9048,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9037
9048
|
},
|
|
9038
9049
|
...e
|
|
9039
9050
|
});
|
|
9040
|
-
},
|
|
9051
|
+
}, mu = ({ options: e, formData: n } = {}) => {
|
|
9041
9052
|
const { lng: t } = se(), { newsListApi: r } = lr(), p = Qe(t);
|
|
9042
9053
|
return $({
|
|
9043
9054
|
queryKey: ["newsList"],
|
|
@@ -9057,12 +9068,12 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9057
9068
|
...e
|
|
9058
9069
|
});
|
|
9059
9070
|
}, Me = () => {
|
|
9060
|
-
const { client: e } = se(), n =
|
|
9071
|
+
const { client: e } = se(), n = H(async () => await e.get("/payment/list"), [e]), t = H(
|
|
9061
9072
|
async ({ paramsData: c }) => await e.get("/thirdPartyPayment/list", {
|
|
9062
9073
|
params: { ...c }
|
|
9063
9074
|
}),
|
|
9064
9075
|
[e]
|
|
9065
|
-
), r =
|
|
9076
|
+
), r = H(
|
|
9066
9077
|
async (c) => {
|
|
9067
9078
|
const { deposit_amount: y, method_id: f, currency_code: b, provider_uid: C } = c;
|
|
9068
9079
|
return await e.post("/thirdPartyPayment/deposit", {
|
|
@@ -9075,7 +9086,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9075
9086
|
});
|
|
9076
9087
|
},
|
|
9077
9088
|
[e]
|
|
9078
|
-
), p =
|
|
9089
|
+
), p = H(
|
|
9079
9090
|
async (c) => {
|
|
9080
9091
|
const { bank_uid: y, amount: f, bank_number_last5: b, postscript: C } = c;
|
|
9081
9092
|
return await e.post("/vip/deposit", {
|
|
@@ -9086,7 +9097,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9086
9097
|
});
|
|
9087
9098
|
},
|
|
9088
9099
|
[e]
|
|
9089
|
-
), g =
|
|
9100
|
+
), g = H(
|
|
9090
9101
|
async (c) => {
|
|
9091
9102
|
const {
|
|
9092
9103
|
withdrawal_amount: y,
|
|
@@ -9105,33 +9116,33 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9105
9116
|
});
|
|
9106
9117
|
},
|
|
9107
9118
|
[e]
|
|
9108
|
-
), U =
|
|
9119
|
+
), U = H(
|
|
9109
9120
|
async ({ paramsData: c } = {}) => {
|
|
9110
|
-
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Ee().format("HH:mm:ss"),
|
|
9121
|
+
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Ee().format("HH:mm:ss"), D = Ee().subtract(24, "hour").format("HH:mm:ss");
|
|
9111
9122
|
return await e.get("/report/deposit", {
|
|
9112
9123
|
params: {
|
|
9113
9124
|
str_date: `${Ee(y).format("YYYY-MM-DD")} ${v}`,
|
|
9114
|
-
end_date: `${Ee(f).format("YYYY-MM-DD")} ${
|
|
9125
|
+
end_date: `${Ee(f).format("YYYY-MM-DD")} ${D}`,
|
|
9115
9126
|
limit: b,
|
|
9116
9127
|
page: C
|
|
9117
9128
|
}
|
|
9118
9129
|
});
|
|
9119
9130
|
},
|
|
9120
9131
|
[e]
|
|
9121
|
-
), d =
|
|
9132
|
+
), d = H(
|
|
9122
9133
|
async ({ paramsData: c }) => {
|
|
9123
|
-
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Ee().format("HH:mm:ss"),
|
|
9134
|
+
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Ee().format("HH:mm:ss"), D = Ee().subtract(24, "hour").format("HH:mm:ss");
|
|
9124
9135
|
return await e.get("report/eventsreward", {
|
|
9125
9136
|
params: {
|
|
9126
9137
|
str_date: `${Ee(y).format("YYYY-MM-DD")} ${v}`,
|
|
9127
|
-
end_date: `${Ee(f).format("YYYY-MM-DD")} ${
|
|
9138
|
+
end_date: `${Ee(f).format("YYYY-MM-DD")} ${D}`,
|
|
9128
9139
|
limit: b,
|
|
9129
9140
|
page: C
|
|
9130
9141
|
}
|
|
9131
9142
|
});
|
|
9132
9143
|
},
|
|
9133
9144
|
[e]
|
|
9134
|
-
), l =
|
|
9145
|
+
), l = H(
|
|
9135
9146
|
async ({ paramsData: c } = {}) => {
|
|
9136
9147
|
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {};
|
|
9137
9148
|
return await e.get("/report/withdraw", {
|
|
@@ -9144,7 +9155,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9144
9155
|
});
|
|
9145
9156
|
},
|
|
9146
9157
|
[e]
|
|
9147
|
-
), a =
|
|
9158
|
+
), a = H(
|
|
9148
9159
|
async ({ paramsData: c } = {}) => {
|
|
9149
9160
|
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {};
|
|
9150
9161
|
return await e.get("/report/other", {
|
|
@@ -9157,13 +9168,13 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9157
9168
|
});
|
|
9158
9169
|
},
|
|
9159
9170
|
[e]
|
|
9160
|
-
), i =
|
|
9171
|
+
), i = H(
|
|
9161
9172
|
async (c) => {
|
|
9162
9173
|
const { redeem_code: y } = c;
|
|
9163
9174
|
return await e.post(`/sn/redeem/${y}`);
|
|
9164
9175
|
},
|
|
9165
9176
|
[e]
|
|
9166
|
-
), o =
|
|
9177
|
+
), o = H(
|
|
9167
9178
|
async (c) => {
|
|
9168
9179
|
const { type: y, code: f } = c;
|
|
9169
9180
|
return await e.post("/member/invoice", {
|
|
@@ -9172,7 +9183,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9172
9183
|
});
|
|
9173
9184
|
},
|
|
9174
9185
|
[e]
|
|
9175
|
-
), s =
|
|
9186
|
+
), s = H(
|
|
9176
9187
|
async (c) => {
|
|
9177
9188
|
const { type: y, code: f, uid: b } = c;
|
|
9178
9189
|
return await e.put(`/member/invoice/${b}`, {
|
|
@@ -9181,21 +9192,21 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9181
9192
|
});
|
|
9182
9193
|
},
|
|
9183
9194
|
[e]
|
|
9184
|
-
), u =
|
|
9195
|
+
), u = H(
|
|
9185
9196
|
async (c, y) => {
|
|
9186
9197
|
const {
|
|
9187
9198
|
str_date: f,
|
|
9188
9199
|
end_date: b,
|
|
9189
9200
|
limit: C = 25,
|
|
9190
9201
|
page: v = 1,
|
|
9191
|
-
wallet_log_uid:
|
|
9202
|
+
wallet_log_uid: D,
|
|
9192
9203
|
transhash: E
|
|
9193
9204
|
} = c;
|
|
9194
9205
|
return await e.get(`/walletlog/${y}`, {
|
|
9195
9206
|
params: {
|
|
9196
9207
|
s_date: f,
|
|
9197
9208
|
e_date: b,
|
|
9198
|
-
wallet_log_uid:
|
|
9209
|
+
wallet_log_uid: D,
|
|
9199
9210
|
transhash: E,
|
|
9200
9211
|
limit: C,
|
|
9201
9212
|
page: v
|
|
@@ -9203,7 +9214,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9203
9214
|
});
|
|
9204
9215
|
},
|
|
9205
9216
|
[e]
|
|
9206
|
-
), m =
|
|
9217
|
+
), m = H(
|
|
9207
9218
|
async (c) => {
|
|
9208
9219
|
const {
|
|
9209
9220
|
str_date: y,
|
|
@@ -9223,7 +9234,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9223
9234
|
});
|
|
9224
9235
|
},
|
|
9225
9236
|
[e]
|
|
9226
|
-
), _ =
|
|
9237
|
+
), _ = H(
|
|
9227
9238
|
async (c) => {
|
|
9228
9239
|
const {
|
|
9229
9240
|
str_date: y,
|
|
@@ -9335,77 +9346,77 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9335
9346
|
queryFn: () => t({ paramsData: e }),
|
|
9336
9347
|
...n
|
|
9337
9348
|
});
|
|
9338
|
-
},
|
|
9349
|
+
}, uu = ({ options: e } = {}) => {
|
|
9339
9350
|
const { redeemCodeDepositApi: n } = Me();
|
|
9340
9351
|
return X({
|
|
9341
9352
|
mutationKey: ["redeemCodeDeposit"],
|
|
9342
9353
|
mutationFn: async (t) => n(t),
|
|
9343
9354
|
...e
|
|
9344
9355
|
});
|
|
9345
|
-
},
|
|
9356
|
+
}, pu = ({ options: e } = {}) => {
|
|
9346
9357
|
const { invoiceApi: n } = Me();
|
|
9347
9358
|
return X({
|
|
9348
9359
|
mutationKey: ["invoiceAction"],
|
|
9349
9360
|
mutationFn: async (t) => n(t),
|
|
9350
9361
|
...e
|
|
9351
9362
|
});
|
|
9352
|
-
},
|
|
9363
|
+
}, gu = ({ options: e } = {}) => {
|
|
9353
9364
|
const { updateInvoiceApi: n } = Me();
|
|
9354
9365
|
return X({
|
|
9355
9366
|
mutationKey: ["updateInvoiceAction"],
|
|
9356
9367
|
mutationFn: async (t) => n(t),
|
|
9357
9368
|
...e
|
|
9358
9369
|
});
|
|
9359
|
-
},
|
|
9370
|
+
}, du = ({ options: e, paramsData: n } = {}) => {
|
|
9360
9371
|
const { transactionRecordApi: t } = Me();
|
|
9361
9372
|
return $({
|
|
9362
9373
|
queryKey: ["transactionRecord", "deposit"],
|
|
9363
9374
|
queryFn: () => t(n, "deposit"),
|
|
9364
9375
|
...e
|
|
9365
9376
|
});
|
|
9366
|
-
},
|
|
9377
|
+
}, cu = ({ options: e, paramsData: n } = {}) => {
|
|
9367
9378
|
const { transactionRecordApi: t } = Me();
|
|
9368
9379
|
return $({
|
|
9369
9380
|
queryKey: ["transactionRecord", "withdraw"],
|
|
9370
9381
|
queryFn: () => t(n, "withdraw"),
|
|
9371
9382
|
...e
|
|
9372
9383
|
});
|
|
9373
|
-
},
|
|
9384
|
+
}, fu = ({ options: e, paramsData: n } = {}) => {
|
|
9374
9385
|
const { transactionRecordApi: t } = Me();
|
|
9375
9386
|
return $({
|
|
9376
9387
|
queryKey: ["transactionRecord", "event"],
|
|
9377
9388
|
queryFn: () => t(n, "event"),
|
|
9378
9389
|
...e
|
|
9379
9390
|
});
|
|
9380
|
-
},
|
|
9391
|
+
}, _u = ({ options: e, paramsData: n } = {}) => {
|
|
9381
9392
|
const { transactionRecordApi: t } = Me();
|
|
9382
9393
|
return $({
|
|
9383
9394
|
queryKey: ["transactionRecord", "rebate"],
|
|
9384
9395
|
queryFn: () => t(n, "rebate"),
|
|
9385
9396
|
...e
|
|
9386
9397
|
});
|
|
9387
|
-
},
|
|
9398
|
+
}, yu = ({ options: e, paramsData: n } = {}) => {
|
|
9388
9399
|
const { treasureRecordApi: t } = Me();
|
|
9389
9400
|
return $({
|
|
9390
9401
|
queryKey: ["treasureRecord", n],
|
|
9391
9402
|
queryFn: () => t(n),
|
|
9392
9403
|
...e
|
|
9393
9404
|
});
|
|
9394
|
-
},
|
|
9405
|
+
}, Uu = ({ options: e, paramsData: n } = {}) => {
|
|
9395
9406
|
const { snCashRecordApi: t } = Me();
|
|
9396
9407
|
return $({
|
|
9397
9408
|
queryKey: ["snCashRecord", n],
|
|
9398
9409
|
queryFn: () => t(n),
|
|
9399
9410
|
...e
|
|
9400
9411
|
});
|
|
9401
|
-
},
|
|
9412
|
+
}, bu = ({ options: e, paramsData: n } = {}) => {
|
|
9402
9413
|
const { otherTransactionApi: t } = Me();
|
|
9403
9414
|
return $({
|
|
9404
9415
|
queryKey: ["otherTransaction", n],
|
|
9405
9416
|
queryFn: () => t({ paramsData: n }),
|
|
9406
9417
|
...e
|
|
9407
9418
|
});
|
|
9408
|
-
},
|
|
9419
|
+
}, Cu = ({
|
|
9409
9420
|
depositV1: e = {},
|
|
9410
9421
|
depositV2: n = {},
|
|
9411
9422
|
depositTransaction: t = {},
|
|
@@ -9526,7 +9537,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9526
9537
|
extendString: Ur,
|
|
9527
9538
|
extendUint8Array: br,
|
|
9528
9539
|
extendBuiltins: As
|
|
9529
|
-
},
|
|
9540
|
+
}, vu = (e, n) => {
|
|
9530
9541
|
const { playGameApi: t } = Ci();
|
|
9531
9542
|
return $({
|
|
9532
9543
|
queryKey: ["playGame"],
|
|
@@ -9563,7 +9574,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9563
9574
|
...n
|
|
9564
9575
|
});
|
|
9565
9576
|
}, Cr = () => {
|
|
9566
|
-
const { client: e } = se(), n =
|
|
9577
|
+
const { client: e } = se(), n = H(async () => await e.get("/rebate"), [e]), t = H(async () => await e.post("/withdraw/rebate"), [e]);
|
|
9567
9578
|
return {
|
|
9568
9579
|
currentRebateApi: n,
|
|
9569
9580
|
receiveRebateApi: t
|
|
@@ -9583,7 +9594,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9583
9594
|
mutationFn: async () => n(),
|
|
9584
9595
|
...e
|
|
9585
9596
|
});
|
|
9586
|
-
},
|
|
9597
|
+
}, hu = ({
|
|
9587
9598
|
options: e = {
|
|
9588
9599
|
currentRebate: {},
|
|
9589
9600
|
receiveRebate: {}
|
|
@@ -9595,17 +9606,17 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9595
9606
|
receiveRebate: t
|
|
9596
9607
|
};
|
|
9597
9608
|
}, tt = () => {
|
|
9598
|
-
const { client: e } = se(), n =
|
|
9609
|
+
const { client: e } = se(), n = H(
|
|
9599
9610
|
async ({ uid: U, params: d } = {}) => await e.get(`/memberRewards${U ? `/${U}` : ""}`, {
|
|
9600
9611
|
params: d
|
|
9601
9612
|
}),
|
|
9602
9613
|
[e]
|
|
9603
|
-
), t =
|
|
9614
|
+
), t = H(async () => await e.get("/memberRewards/member/unused"), [e]), r = H(async () => await e.get("/memberRewards/member/expired"), [e]), p = H(
|
|
9604
9615
|
async (U) => await e.post("/memberRewards/memberGetRewards", {
|
|
9605
9616
|
memberRewards_uid: U
|
|
9606
9617
|
}),
|
|
9607
9618
|
[e]
|
|
9608
|
-
), g =
|
|
9619
|
+
), g = H(async () => await e.get("/memberRewards/member/history"), [e]);
|
|
9609
9620
|
return {
|
|
9610
9621
|
rewardListApi: n,
|
|
9611
9622
|
unUsedRewardListApi: t,
|
|
@@ -9688,7 +9699,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9688
9699
|
queryFn: n,
|
|
9689
9700
|
...e
|
|
9690
9701
|
});
|
|
9691
|
-
},
|
|
9702
|
+
}, Tu = ({
|
|
9692
9703
|
options: e = {
|
|
9693
9704
|
rewardsList: {},
|
|
9694
9705
|
redeemReward: {},
|
|
@@ -9714,7 +9725,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9714
9725
|
historyRewardsListQuery: g
|
|
9715
9726
|
};
|
|
9716
9727
|
}, vr = () => {
|
|
9717
|
-
const { client: e } = se(), n =
|
|
9728
|
+
const { client: e } = se(), n = H(
|
|
9718
9729
|
async (r = {}) => {
|
|
9719
9730
|
const {
|
|
9720
9731
|
startTime: p = "2025-12-30 00:00:00",
|
|
@@ -9737,7 +9748,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9737
9748
|
});
|
|
9738
9749
|
},
|
|
9739
9750
|
[e]
|
|
9740
|
-
), t =
|
|
9751
|
+
), t = H(
|
|
9741
9752
|
async (r) => {
|
|
9742
9753
|
const { treasure_uid: p = "" } = r;
|
|
9743
9754
|
return await e.post(`/treasure/redeem/${p}`);
|
|
@@ -9748,7 +9759,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9748
9759
|
treasureListApi: n,
|
|
9749
9760
|
redeemTreasureApi: t
|
|
9750
9761
|
};
|
|
9751
|
-
},
|
|
9762
|
+
}, ku = ({ paramsData: e, options: n } = {}) => {
|
|
9752
9763
|
const { client: t, lng: r } = se(), p = Qe(r || "tw"), { treasureListApi: g } = vr();
|
|
9753
9764
|
return $({
|
|
9754
9765
|
queryKey: ["treasureList", e],
|
|
@@ -9776,7 +9787,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9776
9787
|
},
|
|
9777
9788
|
...n
|
|
9778
9789
|
});
|
|
9779
|
-
},
|
|
9790
|
+
}, xu = ({ options: e } = {}) => {
|
|
9780
9791
|
const { redeemTreasureApi: n } = vr();
|
|
9781
9792
|
return X({
|
|
9782
9793
|
mutationKey: ["redeemTreasure"],
|
|
@@ -9784,12 +9795,12 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9784
9795
|
...e
|
|
9785
9796
|
});
|
|
9786
9797
|
}, hr = () => {
|
|
9787
|
-
const { client: e } = se(), n =
|
|
9798
|
+
const { client: e } = se(), n = H(async () => await e.get("/vip/list"), [e]), t = H(async () => await e.get("/vip/check"), [e]);
|
|
9788
9799
|
return {
|
|
9789
9800
|
vipListApi: n,
|
|
9790
9801
|
vipInfoApi: t
|
|
9791
9802
|
};
|
|
9792
|
-
},
|
|
9803
|
+
}, Su = ({ options: e } = {}) => {
|
|
9793
9804
|
const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: r } = hr();
|
|
9794
9805
|
return $({
|
|
9795
9806
|
queryKey: ["vipInfo"],
|
|
@@ -9851,14 +9862,14 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9851
9862
|
},
|
|
9852
9863
|
...e
|
|
9853
9864
|
});
|
|
9854
|
-
},
|
|
9865
|
+
}, Du = ({ options: e } = {
|
|
9855
9866
|
vipList: {}
|
|
9856
9867
|
}) => ({
|
|
9857
9868
|
vipList: Zs({ options: e.vipList })
|
|
9858
|
-
}),
|
|
9869
|
+
}), Eu = ({ onMessage: e } = {}) => {
|
|
9859
9870
|
const [n, t] = Xa(!1), [r, p] = Xa([]), g = ae(e);
|
|
9860
9871
|
g.current = e;
|
|
9861
|
-
const U =
|
|
9872
|
+
const U = H((o) => {
|
|
9862
9873
|
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
9863
9874
|
p((u) => [...u, { time: s, message: o }]);
|
|
9864
9875
|
}, []);
|
|
@@ -9874,7 +9885,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9874
9885
|
} else
|
|
9875
9886
|
t(!1), U("目前為一般瀏覽器環境,無法與 C# 通訊");
|
|
9876
9887
|
}, [U]);
|
|
9877
|
-
const d =
|
|
9888
|
+
const d = H(
|
|
9878
9889
|
(o) => {
|
|
9879
9890
|
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
9880
9891
|
if (window.chrome && window.chrome.webview) {
|
|
@@ -9888,10 +9899,10 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9888
9899
|
U(`模擬傳送 [${o}](非 WebView2 環境)`);
|
|
9889
9900
|
},
|
|
9890
9901
|
[U]
|
|
9891
|
-
), l =
|
|
9902
|
+
), l = H(() => d("home"), [d]), a = H(
|
|
9892
9903
|
() => d("clearcatch"),
|
|
9893
9904
|
[d]
|
|
9894
|
-
), i =
|
|
9905
|
+
), i = H(
|
|
9895
9906
|
() => d("restart_money_michine"),
|
|
9896
9907
|
[d]
|
|
9897
9908
|
);
|
|
@@ -9903,7 +9914,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9903
9914
|
webViewRestartMoneyMachine: i,
|
|
9904
9915
|
logs: r
|
|
9905
9916
|
};
|
|
9906
|
-
}, ut = "game-icon-ds88",
|
|
9917
|
+
}, ut = "game-icon-ds88", Nu = ({ gameData: e = {} } = {}) => {
|
|
9907
9918
|
const { lng: n } = se(), t = Xr(n), {
|
|
9908
9919
|
gameCode: r,
|
|
9909
9920
|
// 遊戲代碼
|
|
@@ -9943,11 +9954,11 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9943
9954
|
// 英文名稱
|
|
9944
9955
|
gameNameZh: v,
|
|
9945
9956
|
// 中文名稱
|
|
9946
|
-
gameNameVi:
|
|
9957
|
+
gameNameVi: D,
|
|
9947
9958
|
// 越南名稱
|
|
9948
9959
|
gameNameTw: E
|
|
9949
9960
|
// 繁體中文名稱
|
|
9950
|
-
} = e, G = e?.[`gameName${t}`],
|
|
9961
|
+
} = e, G = e?.[`gameName${t}`], A = `${lt}/${ut}/${n}/${a}/${nt(r, / /g, "_")}.webp`, S = `${lt}/${ut}/${n}/${a}/${nt(r, / /g, "_")}.gif`, k = `${lt}/${ut}/en/${a}/${nt(r, / /g, "_")}.webp`, w = `${lt}/${ut}/en/${a}/${nt(r, / /g, "_")}.gif`;
|
|
9951
9962
|
return {
|
|
9952
9963
|
gameCode: r,
|
|
9953
9964
|
gameUid: p,
|
|
@@ -9965,13 +9976,13 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9965
9976
|
userClickCount: b,
|
|
9966
9977
|
gameNameEn: C,
|
|
9967
9978
|
gameNameZh: v,
|
|
9968
|
-
gameNameVi:
|
|
9979
|
+
gameNameVi: D,
|
|
9969
9980
|
gameNameTw: E,
|
|
9970
9981
|
gameName: G,
|
|
9971
|
-
gameImageUrl:
|
|
9972
|
-
gameImageUrlAnimated:
|
|
9973
|
-
fallbackGameImageUrl:
|
|
9974
|
-
fallbackGameImageUrlAnimated:
|
|
9982
|
+
gameImageUrl: A,
|
|
9983
|
+
gameImageUrlAnimated: S,
|
|
9984
|
+
fallbackGameImageUrl: k,
|
|
9985
|
+
fallbackGameImageUrlAnimated: w,
|
|
9975
9986
|
popularityRanking: c,
|
|
9976
9987
|
isInvalidBet: y,
|
|
9977
9988
|
haveJackpot: f
|
|
@@ -9987,7 +9998,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9987
9998
|
"HACK",
|
|
9988
9999
|
"NAGA",
|
|
9989
10000
|
"RSG"
|
|
9990
|
-
], e) && n ? `${e}_dark` : e,
|
|
10001
|
+
], e) && n ? `${e}_dark` : e, Lu = ({ platformData: e, darkMode: n } = {}) => {
|
|
9991
10002
|
const {
|
|
9992
10003
|
SubPlatformEnum: t,
|
|
9993
10004
|
// 子平台枚舉
|
|
@@ -10043,7 +10054,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10043
10054
|
allPlatforms: p
|
|
10044
10055
|
});
|
|
10045
10056
|
return Ne(d) || (g[U] = d), g;
|
|
10046
|
-
}, {}),
|
|
10057
|
+
}, {}), Gu = ({
|
|
10047
10058
|
types: e = [],
|
|
10048
10059
|
platforms: n = [],
|
|
10049
10060
|
allGameType: t = [],
|
|
@@ -10094,20 +10105,20 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10094
10105
|
allGameTypes: t,
|
|
10095
10106
|
allPlatforms: n
|
|
10096
10107
|
}), f = Le(n, (G) => {
|
|
10097
|
-
const
|
|
10108
|
+
const A = `${Ke}/${qn}/${G.platformEnum}.png`;
|
|
10098
10109
|
return {
|
|
10099
10110
|
...G,
|
|
10100
|
-
platformImageUrl:
|
|
10111
|
+
platformImageUrl: A
|
|
10101
10112
|
};
|
|
10102
|
-
}), b = Ys(o, r), C = em(y), v = am(C),
|
|
10103
|
-
(G, [
|
|
10104
|
-
const
|
|
10105
|
-
return G[
|
|
10113
|
+
}), b = Ys(o, r), C = em(y), v = am(C), D = zn(y).reduce(
|
|
10114
|
+
(G, [A, S]) => {
|
|
10115
|
+
const k = Xt(Jr(S));
|
|
10116
|
+
return G[A] = k, G;
|
|
10106
10117
|
},
|
|
10107
10118
|
{}
|
|
10108
|
-
), E = Ni(y).reduce((G,
|
|
10109
|
-
const
|
|
10110
|
-
return G[
|
|
10119
|
+
), E = Ni(y).reduce((G, A) => {
|
|
10120
|
+
const S = Ni(y[A]);
|
|
10121
|
+
return G[A] = S, G;
|
|
10111
10122
|
}, {});
|
|
10112
10123
|
return {
|
|
10113
10124
|
platform: {
|
|
@@ -10136,13 +10147,13 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10136
10147
|
byPlatform: C,
|
|
10137
10148
|
byPlatformAndCategory: v,
|
|
10138
10149
|
byGameTypeAndPlatform: y,
|
|
10139
|
-
byGameType:
|
|
10150
|
+
byGameType: D
|
|
10140
10151
|
},
|
|
10141
10152
|
user: {
|
|
10142
10153
|
favorite: c
|
|
10143
10154
|
}
|
|
10144
10155
|
};
|
|
10145
|
-
},
|
|
10156
|
+
}, Mu = (e = []) => !ea(e) || Ne(e) ? [] : Xt(e, (n) => Ne(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((t) => ({
|
|
10146
10157
|
...n,
|
|
10147
10158
|
...t,
|
|
10148
10159
|
platform: t.SubPlatformEnum,
|
|
@@ -10168,7 +10179,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10168
10179
|
},
|
|
10169
10180
|
user: { favorite: [] }
|
|
10170
10181
|
}, nm = ({ enabled: e = !0 } = {}) => {
|
|
10171
|
-
const { getToken: n } = se(), { userFavoriteGameApi: t, userGameListApi: r } =
|
|
10182
|
+
const { getToken: n } = se(), { userFavoriteGameApi: t, userGameListApi: r } = re(), { data: p, isLoading: g, error: U, refetch: d } = $({
|
|
10172
10183
|
queryKey: ["gamesInfo"],
|
|
10173
10184
|
queryFn: async () => {
|
|
10174
10185
|
let l = {}, a = {};
|
|
@@ -36743,7 +36754,7 @@ const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
36743
36754
|
const r = nm({ enabled: n });
|
|
36744
36755
|
return /* @__PURE__ */ Oe.jsx($n.Provider, { value: r, children: e });
|
|
36745
36756
|
};
|
|
36746
|
-
function
|
|
36757
|
+
function Ru({
|
|
36747
36758
|
children: e,
|
|
36748
36759
|
autoFetchGamesInfo: n = !1,
|
|
36749
36760
|
useMockData: t = !1,
|
|
@@ -36773,7 +36784,7 @@ function Mu({
|
|
|
36773
36784
|
}
|
|
36774
36785
|
) }) }) });
|
|
36775
36786
|
}
|
|
36776
|
-
const
|
|
36787
|
+
const Pu = ({ onFunction: e = () => {
|
|
36777
36788
|
}, buttonProps: n = {} } = {}) => {
|
|
36778
36789
|
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({
|
|
36779
36790
|
options: {
|
|
@@ -37011,8 +37022,8 @@ var ka;
|
|
|
37011
37022
|
for (let b = 0, C = 0; b < o; b++) {
|
|
37012
37023
|
let v = l.slice(C, C + _ - s + (b < m ? 0 : 1));
|
|
37013
37024
|
C += v.length;
|
|
37014
|
-
const
|
|
37015
|
-
b < m && v.push(0), c.push(v.concat(
|
|
37025
|
+
const D = ee.reedSolomonComputeRemainder(v, y);
|
|
37026
|
+
b < m && v.push(0), c.push(v.concat(D));
|
|
37016
37027
|
}
|
|
37017
37028
|
let f = [];
|
|
37018
37029
|
for (let b = 0; b < c[0].length; b++)
|
|
@@ -37488,11 +37499,11 @@ var cm = (function() {
|
|
|
37488
37499
|
"marginSize",
|
|
37489
37500
|
"imageSettings"
|
|
37490
37501
|
]), { style: c } = _, y = fi(_, ["style"]), f = u?.src, b = de.useRef(null), C = de.useRef(null), v = de.useCallback(
|
|
37491
|
-
(
|
|
37492
|
-
b.current =
|
|
37502
|
+
(P) => {
|
|
37503
|
+
b.current = P, typeof t == "function" ? t(P) : t && (t.current = P);
|
|
37493
37504
|
},
|
|
37494
37505
|
[t]
|
|
37495
|
-
), [
|
|
37506
|
+
), [D, E] = de.useState(!1), { margin: G, cells: A, numCells: S, calculatedImageSettings: k } = Rr({
|
|
37496
37507
|
value: p,
|
|
37497
37508
|
level: U,
|
|
37498
37509
|
minVersion: i,
|
|
@@ -37504,36 +37515,36 @@ var cm = (function() {
|
|
|
37504
37515
|
});
|
|
37505
37516
|
de.useEffect(() => {
|
|
37506
37517
|
if (b.current != null) {
|
|
37507
|
-
const
|
|
37508
|
-
if (!
|
|
37518
|
+
const P = b.current, M = P.getContext("2d");
|
|
37519
|
+
if (!M)
|
|
37509
37520
|
return;
|
|
37510
|
-
let
|
|
37511
|
-
const
|
|
37512
|
-
|
|
37513
|
-
|
|
37514
|
-
|
|
37521
|
+
let R = A;
|
|
37522
|
+
const B = C.current, O = k != null && B !== null && B.complete && B.naturalHeight !== 0 && B.naturalWidth !== 0;
|
|
37523
|
+
O && k.excavation != null && (R = Mr(
|
|
37524
|
+
A,
|
|
37525
|
+
k.excavation
|
|
37515
37526
|
));
|
|
37516
|
-
const
|
|
37517
|
-
|
|
37518
|
-
const
|
|
37519
|
-
|
|
37520
|
-
|
|
37521
|
-
L &&
|
|
37527
|
+
const W = window.devicePixelRatio || 1;
|
|
37528
|
+
P.height = P.width = g * W;
|
|
37529
|
+
const z = g / S * W;
|
|
37530
|
+
M.scale(z, z), M.fillStyle = d, M.fillRect(0, 0, S, S), M.fillStyle = l, cm ? M.fill(new Path2D(Gr(R, G))) : A.forEach(function(h, T) {
|
|
37531
|
+
h.forEach(function(L, N) {
|
|
37532
|
+
L && M.fillRect(N + G, T + G, 1, 1);
|
|
37522
37533
|
});
|
|
37523
|
-
}),
|
|
37524
|
-
|
|
37525
|
-
|
|
37526
|
-
|
|
37527
|
-
|
|
37528
|
-
|
|
37534
|
+
}), k && (M.globalAlpha = k.opacity), O && M.drawImage(
|
|
37535
|
+
B,
|
|
37536
|
+
k.x + G,
|
|
37537
|
+
k.y + G,
|
|
37538
|
+
k.w,
|
|
37539
|
+
k.h
|
|
37529
37540
|
);
|
|
37530
37541
|
}
|
|
37531
37542
|
}), de.useEffect(() => {
|
|
37532
37543
|
E(!1);
|
|
37533
37544
|
}, [f]);
|
|
37534
|
-
const
|
|
37535
|
-
let
|
|
37536
|
-
return f != null && (
|
|
37545
|
+
const w = ci({ height: g, width: g }, c);
|
|
37546
|
+
let F = null;
|
|
37547
|
+
return f != null && (F = /* @__PURE__ */ de.createElement(
|
|
37537
37548
|
"img",
|
|
37538
37549
|
{
|
|
37539
37550
|
src: f,
|
|
@@ -37543,18 +37554,18 @@ var cm = (function() {
|
|
|
37543
37554
|
E(!0);
|
|
37544
37555
|
},
|
|
37545
37556
|
ref: C,
|
|
37546
|
-
crossOrigin:
|
|
37557
|
+
crossOrigin: k?.crossOrigin
|
|
37547
37558
|
}
|
|
37548
37559
|
)), /* @__PURE__ */ de.createElement(de.Fragment, null, /* @__PURE__ */ de.createElement(
|
|
37549
37560
|
"canvas",
|
|
37550
37561
|
ci({
|
|
37551
|
-
style:
|
|
37562
|
+
style: w,
|
|
37552
37563
|
height: g,
|
|
37553
37564
|
width: g,
|
|
37554
37565
|
ref: v,
|
|
37555
37566
|
role: "img"
|
|
37556
37567
|
}, y)
|
|
37557
|
-
),
|
|
37568
|
+
), F);
|
|
37558
37569
|
}
|
|
37559
37570
|
);
|
|
37560
37571
|
fm.displayName = "QRCodeCanvas";
|
|
@@ -37611,7 +37622,7 @@ var Pr = de.forwardRef(
|
|
|
37611
37622
|
crossOrigin: b.crossOrigin
|
|
37612
37623
|
}
|
|
37613
37624
|
));
|
|
37614
|
-
const
|
|
37625
|
+
const D = Gr(C, c);
|
|
37615
37626
|
return /* @__PURE__ */ de.createElement(
|
|
37616
37627
|
"svg",
|
|
37617
37628
|
ci({
|
|
@@ -37630,7 +37641,7 @@ var Pr = de.forwardRef(
|
|
|
37630
37641
|
shapeRendering: "crispEdges"
|
|
37631
37642
|
}
|
|
37632
37643
|
),
|
|
37633
|
-
/* @__PURE__ */ de.createElement("path", { fill: l, d:
|
|
37644
|
+
/* @__PURE__ */ de.createElement("path", { fill: l, d: D, shapeRendering: "crispEdges" }),
|
|
37634
37645
|
v
|
|
37635
37646
|
);
|
|
37636
37647
|
}
|
|
@@ -37680,7 +37691,7 @@ const _m = {
|
|
|
37680
37691
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
37681
37692
|
expired: "Kode QR telah kedaluwarsa"
|
|
37682
37693
|
}
|
|
37683
|
-
},
|
|
37694
|
+
}, Au = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
|
|
37684
37695
|
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({
|
|
37685
37696
|
formData: {
|
|
37686
37697
|
mac_address: _
|
|
@@ -37697,8 +37708,8 @@ const _m = {
|
|
|
37697
37708
|
i.current && clearInterval(i.current);
|
|
37698
37709
|
}), [f]);
|
|
37699
37710
|
const b = (v) => {
|
|
37700
|
-
const
|
|
37701
|
-
return `${
|
|
37711
|
+
const D = Math.floor(v / 60), E = v % 60;
|
|
37712
|
+
return `${D}:${E < 10 ? "0" : ""}${E}`;
|
|
37702
37713
|
};
|
|
37703
37714
|
if (!e && (!_ || u)) return null;
|
|
37704
37715
|
const C = Hn[s] || Hn.en_US;
|
|
@@ -37745,7 +37756,7 @@ const _m = {
|
|
|
37745
37756
|
)
|
|
37746
37757
|
] })
|
|
37747
37758
|
] });
|
|
37748
|
-
},
|
|
37759
|
+
}, Ou = () => {
|
|
37749
37760
|
const e = Wa(), {
|
|
37750
37761
|
mutate: n,
|
|
37751
37762
|
isPending: t,
|
|
@@ -37777,16 +37788,16 @@ const _m = {
|
|
|
37777
37788
|
};
|
|
37778
37789
|
export {
|
|
37779
37790
|
In as ApiCtx,
|
|
37780
|
-
|
|
37781
|
-
|
|
37791
|
+
Ru as ApiProvider,
|
|
37792
|
+
Ou as Bind,
|
|
37782
37793
|
$n as GamesInfoCtx,
|
|
37783
|
-
|
|
37784
|
-
|
|
37794
|
+
Pu as LineLogin,
|
|
37795
|
+
Au as LineQrCode,
|
|
37785
37796
|
$a as STATUS_TYPES,
|
|
37786
37797
|
Vn as StatusContext,
|
|
37787
37798
|
jr as StatusProvider,
|
|
37788
37799
|
Xs as buildMultiTypes,
|
|
37789
|
-
|
|
37800
|
+
Gu as buildMultiTypesWithSubTypes,
|
|
37790
37801
|
tl as buildSinglePlatformWithSubTypes,
|
|
37791
37802
|
al as buildSingleType,
|
|
37792
37803
|
Ys as categorizeGames,
|
|
@@ -37809,50 +37820,51 @@ export {
|
|
|
37809
37820
|
Ks as handleDarkImage,
|
|
37810
37821
|
rm as initMockWindowData,
|
|
37811
37822
|
tm as processGameInfo,
|
|
37812
|
-
|
|
37813
|
-
|
|
37823
|
+
Mu as processPlatformData,
|
|
37824
|
+
tu as useAbandonEventWallet,
|
|
37814
37825
|
Mm as useAbandonPoint,
|
|
37815
37826
|
se as useApiContext,
|
|
37816
|
-
|
|
37827
|
+
Jm as useAvatarList,
|
|
37817
37828
|
Sm as useBalanceGetter,
|
|
37818
37829
|
Nm as useBet,
|
|
37819
|
-
|
|
37830
|
+
Vm as useBetRankingData,
|
|
37820
37831
|
bo as useBetRecord,
|
|
37821
37832
|
Co as useBetRecordDetail,
|
|
37822
37833
|
Zo as useBindAccount,
|
|
37823
37834
|
$o as useCheckCurrentEventProgress,
|
|
37824
37835
|
Qo as useCheckEventStatus,
|
|
37825
37836
|
Gm as useCheckPlayerWager,
|
|
37826
|
-
|
|
37837
|
+
qm as useClientWebSocket,
|
|
37838
|
+
Wm as useCreateMachine,
|
|
37827
37839
|
Bs as useCurrentRebate,
|
|
37828
37840
|
hs as useDepositAction,
|
|
37829
37841
|
ks as useDepositTransaction,
|
|
37830
37842
|
Cs as useDepositV1,
|
|
37831
37843
|
vs as useDepositV2,
|
|
37832
|
-
|
|
37833
|
-
|
|
37834
|
-
|
|
37835
|
-
|
|
37844
|
+
du as useDepositWalletLog,
|
|
37845
|
+
Xm as useEnabledEventWallet,
|
|
37846
|
+
eu as useEvaluateEventWallet,
|
|
37847
|
+
jm as useEvent,
|
|
37836
37848
|
qo as useEventList,
|
|
37837
37849
|
xs as useEventTransaction,
|
|
37838
|
-
|
|
37850
|
+
fu as useEventWalletLog,
|
|
37839
37851
|
Vs as useExpiredRewardsList,
|
|
37840
|
-
|
|
37852
|
+
Nu as useGameConfig,
|
|
37841
37853
|
Tm as useGameInfoContext,
|
|
37842
37854
|
nm as useGamesInfo,
|
|
37843
|
-
|
|
37844
|
-
|
|
37855
|
+
iu as useGetCarouseList,
|
|
37856
|
+
Ym as useGetEventWalletList,
|
|
37845
37857
|
Jo as useGetMachineLoginCode,
|
|
37846
|
-
|
|
37858
|
+
nu as useGetMarquee,
|
|
37847
37859
|
Dm as useGetMemberInfo,
|
|
37848
|
-
|
|
37860
|
+
ru as useGetRankingGame,
|
|
37849
37861
|
Js as useHistoryRewardsList,
|
|
37850
|
-
|
|
37851
|
-
|
|
37862
|
+
lu as useIdleTimeout,
|
|
37863
|
+
ou as useInbox,
|
|
37852
37864
|
ys as useInboxList,
|
|
37853
37865
|
Em as useInitializeWithToken,
|
|
37854
|
-
|
|
37855
|
-
|
|
37866
|
+
pu as useInvoiceAction,
|
|
37867
|
+
Im as useJackpotData,
|
|
37856
37868
|
ir as useLineLogin,
|
|
37857
37869
|
Vo as useLineLogin2,
|
|
37858
37870
|
Ro as useLogin,
|
|
@@ -37862,51 +37874,51 @@ export {
|
|
|
37862
37874
|
wm as useMobileLogin,
|
|
37863
37875
|
Fm as useMobileLoginV2,
|
|
37864
37876
|
Am as useMobileRegister,
|
|
37865
|
-
|
|
37866
|
-
|
|
37867
|
-
|
|
37868
|
-
|
|
37869
|
-
|
|
37870
|
-
|
|
37877
|
+
mu as useNewsDetail,
|
|
37878
|
+
su as useNewsList,
|
|
37879
|
+
bu as useOtherTransaction,
|
|
37880
|
+
Cu as usePayment,
|
|
37881
|
+
Lu as usePlatformConfig,
|
|
37882
|
+
vu as usePlayGame,
|
|
37871
37883
|
Lm as usePointTransfer,
|
|
37872
37884
|
Us as useReadInbox,
|
|
37873
|
-
|
|
37874
|
-
|
|
37885
|
+
hu as useRebate,
|
|
37886
|
+
_u as useRebateWalletLog,
|
|
37875
37887
|
Hs as useReceiveRebate,
|
|
37876
|
-
|
|
37877
|
-
|
|
37888
|
+
uu as useRedeemCodeDeposit,
|
|
37889
|
+
$m as useRedeemEventReward,
|
|
37878
37890
|
zs as useRedeemReward,
|
|
37879
|
-
|
|
37891
|
+
xu as useRedeemTreasure,
|
|
37880
37892
|
Oo as useResetUserPassword,
|
|
37881
37893
|
Ho as useResetUserTransactionPassword,
|
|
37882
|
-
|
|
37894
|
+
Tu as useRewards,
|
|
37883
37895
|
Ws as useRewardsList,
|
|
37884
37896
|
Om as useSendMobileVerifyCode,
|
|
37885
37897
|
Bo as useSetUserTransactionPassword,
|
|
37886
|
-
|
|
37887
|
-
|
|
37898
|
+
Qm as useSettleEvent,
|
|
37899
|
+
au as useSettleEventWallet,
|
|
37888
37900
|
wo as useSignUp,
|
|
37889
|
-
|
|
37901
|
+
Uu as useSnCashRecord,
|
|
37890
37902
|
Jn as useStatus,
|
|
37891
37903
|
Fo as useToggleFavoriteGame,
|
|
37892
37904
|
Io as useTransferInGame,
|
|
37893
|
-
|
|
37894
|
-
|
|
37905
|
+
ku as useTreasureList,
|
|
37906
|
+
yu as useTreasureWalletLog,
|
|
37895
37907
|
Is as useUnUsedRewardsList,
|
|
37896
|
-
|
|
37897
|
-
|
|
37908
|
+
Zm as useUpdateAvatar,
|
|
37909
|
+
gu as useUpdateInvoiceAction,
|
|
37898
37910
|
Ao as useUpdateUserInfo,
|
|
37899
|
-
|
|
37911
|
+
Km as useUser,
|
|
37900
37912
|
zo as useUserBindCard,
|
|
37901
37913
|
Wo as useUserRebate,
|
|
37902
37914
|
Hm as useVerifyDonationCode,
|
|
37903
37915
|
Bm as useVerifyPhoneBar,
|
|
37904
|
-
|
|
37905
|
-
|
|
37906
|
-
|
|
37916
|
+
zm as useVerifyResetAction,
|
|
37917
|
+
Du as useVip,
|
|
37918
|
+
Su as useVipInfo,
|
|
37907
37919
|
Zs as useVipList,
|
|
37908
|
-
|
|
37920
|
+
Eu as useWebView2,
|
|
37909
37921
|
Ts as useWithdrawAction,
|
|
37910
37922
|
Ds as useWithdrawTransaction,
|
|
37911
|
-
|
|
37923
|
+
cu as useWithdrawWalletLog
|
|
37912
37924
|
};
|