@obb871001/api-integration-sdk 1.0.408 → 1.0.409
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 +1213 -1192
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _e, { createContext as Yt, useContext as Ui, useState as ya, useMemo as za, useCallback as
|
|
2
|
-
import { useQueries as qn, useQuery as Q, useQueryClient as Da, useMutation as
|
|
1
|
+
import _e, { createContext as Yt, useContext as Ui, useState as ya, useMemo as za, useCallback as B, useRef as ie, useEffect as ue } from "react";
|
|
2
|
+
import { useQueries as qn, useQuery as Q, useQueryClient as Da, useMutation as ae, QueryClient as Zr, QueryClientProvider as Kr } from "@tanstack/react-query";
|
|
3
3
|
import qr from "axios";
|
|
4
4
|
import { get as j, isEmpty as Pe, find as We, entries as $n, forEach as $r, map as De, isArray as Xe, toLower as Gi, omit as Qr, keyBy as jr, replace as lt, includes as Yr, isObject as Xt, flatMap as ei, values as Xr, keys as Mi } from "lodash";
|
|
5
5
|
import el from "react-dom";
|
|
@@ -51,57 +51,57 @@ var Pi;
|
|
|
51
51
|
function il() {
|
|
52
52
|
return Pi || (Pi = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
53
53
|
var e = _e, n = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), u = /* @__PURE__ */ Symbol.for("react.strict_mode"), g = /* @__PURE__ */ Symbol.for("react.profiler"), U = /* @__PURE__ */ Symbol.for("react.provider"), d = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), t = /* @__PURE__ */ Symbol.for("react.suspense"), i = /* @__PURE__ */ Symbol.for("react.suspense_list"), o = /* @__PURE__ */ Symbol.for("react.memo"), s = /* @__PURE__ */ Symbol.for("react.lazy"), p = /* @__PURE__ */ Symbol.for("react.offscreen"), m = Symbol.iterator, f = "@@iterator";
|
|
54
|
-
function c(
|
|
55
|
-
if (
|
|
54
|
+
function c(k) {
|
|
55
|
+
if (k === null || typeof k != "object")
|
|
56
56
|
return null;
|
|
57
|
-
var
|
|
58
|
-
return typeof
|
|
57
|
+
var V = m && k[m] || k[f];
|
|
58
|
+
return typeof V == "function" ? V : null;
|
|
59
59
|
}
|
|
60
60
|
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
61
|
-
function _(
|
|
61
|
+
function _(k) {
|
|
62
62
|
{
|
|
63
|
-
for (var
|
|
64
|
-
|
|
65
|
-
b("error",
|
|
63
|
+
for (var V = arguments.length, q = new Array(V > 1 ? V - 1 : 0), X = 1; X < V; X++)
|
|
64
|
+
q[X - 1] = arguments[X];
|
|
65
|
+
b("error", k, q);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
function b(
|
|
68
|
+
function b(k, V, q) {
|
|
69
69
|
{
|
|
70
70
|
var X = y.ReactDebugCurrentFrame, me = X.getStackAddendum();
|
|
71
|
-
me !== "" && (
|
|
72
|
-
var de =
|
|
71
|
+
me !== "" && (V += "%s", q = q.concat([me]));
|
|
72
|
+
var de = q.map(function(se) {
|
|
73
73
|
return String(se);
|
|
74
74
|
});
|
|
75
|
-
de.unshift("Warning: " +
|
|
75
|
+
de.unshift("Warning: " + V), Function.prototype.apply.call(console[k], console, de);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var C = !1, v = !1,
|
|
78
|
+
var C = !1, v = !1, h = !1, D = !1, M = !1, A;
|
|
79
79
|
A = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
80
|
-
function k
|
|
81
|
-
return !!(typeof
|
|
80
|
+
function T(k) {
|
|
81
|
+
return !!(typeof k == "string" || typeof k == "function" || k === r || k === g || M || k === u || k === t || k === i || D || k === p || C || v || h || typeof k == "object" && k !== null && (k.$$typeof === s || k.$$typeof === o || k.$$typeof === U || k.$$typeof === d || k.$$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
|
+
k.$$typeof === A || k.getModuleId !== void 0));
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
var X =
|
|
87
|
+
function x(k, V, q) {
|
|
88
|
+
var X = k.displayName;
|
|
89
89
|
if (X)
|
|
90
90
|
return X;
|
|
91
|
-
var me =
|
|
92
|
-
return me !== "" ?
|
|
91
|
+
var me = V.displayName || V.name || "";
|
|
92
|
+
return me !== "" ? q + "(" + me + ")" : q;
|
|
93
93
|
}
|
|
94
|
-
function F(
|
|
95
|
-
return
|
|
94
|
+
function F(k) {
|
|
95
|
+
return k.displayName || "Context";
|
|
96
96
|
}
|
|
97
|
-
function P(
|
|
98
|
-
if (
|
|
97
|
+
function P(k) {
|
|
98
|
+
if (k == null)
|
|
99
99
|
return null;
|
|
100
|
-
if (typeof
|
|
101
|
-
return
|
|
102
|
-
if (typeof
|
|
103
|
-
return
|
|
104
|
-
switch (
|
|
100
|
+
if (typeof k.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof k == "function")
|
|
101
|
+
return k.displayName || k.name || null;
|
|
102
|
+
if (typeof k == "string")
|
|
103
|
+
return k;
|
|
104
|
+
switch (k) {
|
|
105
105
|
case r:
|
|
106
106
|
return "Fragment";
|
|
107
107
|
case a:
|
|
@@ -115,21 +115,21 @@ function il() {
|
|
|
115
115
|
case i:
|
|
116
116
|
return "SuspenseList";
|
|
117
117
|
}
|
|
118
|
-
if (typeof
|
|
119
|
-
switch (
|
|
118
|
+
if (typeof k == "object")
|
|
119
|
+
switch (k.$$typeof) {
|
|
120
120
|
case d:
|
|
121
|
-
var
|
|
122
|
-
return F(
|
|
121
|
+
var V = k;
|
|
122
|
+
return F(V) + ".Consumer";
|
|
123
123
|
case U:
|
|
124
|
-
var
|
|
125
|
-
return F(
|
|
124
|
+
var q = k;
|
|
125
|
+
return F(q._context) + ".Provider";
|
|
126
126
|
case l:
|
|
127
|
-
return
|
|
127
|
+
return x(k, k.render, "ForwardRef");
|
|
128
128
|
case o:
|
|
129
|
-
var X =
|
|
130
|
-
return X !== null ? X : P(
|
|
129
|
+
var X = k.displayName || null;
|
|
130
|
+
return X !== null ? X : P(k.type) || "Memo";
|
|
131
131
|
case s: {
|
|
132
|
-
var me =
|
|
132
|
+
var me = k, de = me._payload, se = me._init;
|
|
133
133
|
try {
|
|
134
134
|
return P(se(de));
|
|
135
135
|
} catch {
|
|
@@ -139,70 +139,70 @@ function il() {
|
|
|
139
139
|
}
|
|
140
140
|
return null;
|
|
141
141
|
}
|
|
142
|
-
var w = Object.assign, R = 0, L,
|
|
143
|
-
function
|
|
142
|
+
var w = Object.assign, R = 0, L, H, O, W, z, G, N;
|
|
143
|
+
function S() {
|
|
144
144
|
}
|
|
145
|
-
|
|
146
|
-
function
|
|
145
|
+
S.__reactDisabledLog = !0;
|
|
146
|
+
function E() {
|
|
147
147
|
{
|
|
148
148
|
if (R === 0) {
|
|
149
|
-
L = console.log,
|
|
150
|
-
var
|
|
149
|
+
L = console.log, H = console.info, O = console.warn, W = console.error, z = console.group, G = console.groupCollapsed, N = console.groupEnd;
|
|
150
|
+
var k = {
|
|
151
151
|
configurable: !0,
|
|
152
152
|
enumerable: !0,
|
|
153
|
-
value:
|
|
153
|
+
value: S,
|
|
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: k,
|
|
158
|
+
log: k,
|
|
159
|
+
warn: k,
|
|
160
|
+
error: k,
|
|
161
|
+
group: k,
|
|
162
|
+
groupCollapsed: k,
|
|
163
|
+
groupEnd: k
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
R++;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function I() {
|
|
170
170
|
{
|
|
171
171
|
if (R--, R === 0) {
|
|
172
|
-
var
|
|
172
|
+
var k = {
|
|
173
173
|
configurable: !0,
|
|
174
174
|
enumerable: !0,
|
|
175
175
|
writable: !0
|
|
176
176
|
};
|
|
177
177
|
Object.defineProperties(console, {
|
|
178
|
-
log: w({},
|
|
178
|
+
log: w({}, k, {
|
|
179
179
|
value: L
|
|
180
180
|
}),
|
|
181
|
-
info: w({},
|
|
182
|
-
value:
|
|
181
|
+
info: w({}, k, {
|
|
182
|
+
value: H
|
|
183
183
|
}),
|
|
184
|
-
warn: w({},
|
|
184
|
+
warn: w({}, k, {
|
|
185
185
|
value: O
|
|
186
186
|
}),
|
|
187
|
-
error: w({},
|
|
187
|
+
error: w({}, k, {
|
|
188
188
|
value: W
|
|
189
189
|
}),
|
|
190
|
-
group: w({},
|
|
190
|
+
group: w({}, k, {
|
|
191
191
|
value: z
|
|
192
192
|
}),
|
|
193
|
-
groupCollapsed: w({},
|
|
193
|
+
groupCollapsed: w({}, k, {
|
|
194
194
|
value: G
|
|
195
195
|
}),
|
|
196
|
-
groupEnd: w({},
|
|
197
|
-
value:
|
|
196
|
+
groupEnd: w({}, k, {
|
|
197
|
+
value: N
|
|
198
198
|
})
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
201
|
R < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
var
|
|
205
|
-
function
|
|
204
|
+
var Z = y.ReactCurrentDispatcher, $;
|
|
205
|
+
function J(k, V, q) {
|
|
206
206
|
{
|
|
207
207
|
if ($ === void 0)
|
|
208
208
|
try {
|
|
@@ -212,30 +212,30 @@ function il() {
|
|
|
212
212
|
$ = X && X[1] || "";
|
|
213
213
|
}
|
|
214
214
|
return `
|
|
215
|
-
` + $ +
|
|
215
|
+
` + $ + k;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
var Y = !1,
|
|
218
|
+
var Y = !1, ee;
|
|
219
219
|
{
|
|
220
|
-
var
|
|
221
|
-
|
|
220
|
+
var ye = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
|
+
ee = new ye();
|
|
222
222
|
}
|
|
223
|
-
function ve(
|
|
224
|
-
if (!
|
|
223
|
+
function ve(k, V) {
|
|
224
|
+
if (!k || Y)
|
|
225
225
|
return "";
|
|
226
226
|
{
|
|
227
|
-
var
|
|
228
|
-
if (
|
|
229
|
-
return
|
|
227
|
+
var q = ee.get(k);
|
|
228
|
+
if (q !== void 0)
|
|
229
|
+
return q;
|
|
230
230
|
}
|
|
231
231
|
var X;
|
|
232
232
|
Y = !0;
|
|
233
233
|
var me = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
235
|
var de;
|
|
236
|
-
de =
|
|
236
|
+
de = Z.current, Z.current = null, E();
|
|
237
237
|
try {
|
|
238
|
-
if (
|
|
238
|
+
if (V) {
|
|
239
239
|
var se = function() {
|
|
240
240
|
throw Error();
|
|
241
241
|
};
|
|
@@ -249,14 +249,14 @@ function il() {
|
|
|
249
249
|
} catch (Je) {
|
|
250
250
|
X = Je;
|
|
251
251
|
}
|
|
252
|
-
Reflect.construct(
|
|
252
|
+
Reflect.construct(k, [], se);
|
|
253
253
|
} else {
|
|
254
254
|
try {
|
|
255
255
|
se.call();
|
|
256
256
|
} catch (Je) {
|
|
257
257
|
X = Je;
|
|
258
258
|
}
|
|
259
|
-
|
|
259
|
+
k.call(se.prototype);
|
|
260
260
|
}
|
|
261
261
|
} else {
|
|
262
262
|
try {
|
|
@@ -264,63 +264,63 @@ function il() {
|
|
|
264
264
|
} catch (Je) {
|
|
265
265
|
X = Je;
|
|
266
266
|
}
|
|
267
|
-
|
|
267
|
+
k();
|
|
268
268
|
}
|
|
269
269
|
} catch (Je) {
|
|
270
270
|
if (Je && X && typeof Je.stack == "string") {
|
|
271
|
-
for (var
|
|
271
|
+
for (var re = Je.stack.split(`
|
|
272
272
|
`), Ie = X.stack.split(`
|
|
273
|
-
`), Te =
|
|
273
|
+
`), Te = re.length - 1, xe = Ie.length - 1; Te >= 1 && xe >= 0 && re[Te] !== Ie[xe]; )
|
|
274
274
|
xe--;
|
|
275
275
|
for (; Te >= 1 && xe >= 0; Te--, xe--)
|
|
276
|
-
if (
|
|
276
|
+
if (re[Te] !== Ie[xe]) {
|
|
277
277
|
if (Te !== 1 || xe !== 1)
|
|
278
278
|
do
|
|
279
|
-
if (Te--, xe--, xe < 0 ||
|
|
279
|
+
if (Te--, xe--, xe < 0 || re[Te] !== Ie[xe]) {
|
|
280
280
|
var Ye = `
|
|
281
|
-
` +
|
|
282
|
-
return
|
|
281
|
+
` + re[Te].replace(" at new ", " at ");
|
|
282
|
+
return k.displayName && Ye.includes("<anonymous>") && (Ye = Ye.replace("<anonymous>", k.displayName)), typeof k == "function" && ee.set(k, Ye), Ye;
|
|
283
283
|
}
|
|
284
284
|
while (Te >= 1 && xe >= 0);
|
|
285
285
|
break;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
Y = !1,
|
|
289
|
+
Y = !1, Z.current = de, I(), Error.prepareStackTrace = me;
|
|
290
290
|
}
|
|
291
|
-
var Aa =
|
|
292
|
-
return typeof
|
|
291
|
+
var Aa = k ? k.displayName || k.name : "", va = Aa ? J(Aa) : "";
|
|
292
|
+
return typeof k == "function" && ee.set(k, va), va;
|
|
293
293
|
}
|
|
294
|
-
function pe(
|
|
295
|
-
return ve(
|
|
294
|
+
function pe(k, V, q) {
|
|
295
|
+
return ve(k, !1);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
var
|
|
299
|
-
return !!(
|
|
297
|
+
function Ue(k) {
|
|
298
|
+
var V = k.prototype;
|
|
299
|
+
return !!(V && V.isReactComponent);
|
|
300
300
|
}
|
|
301
|
-
function Ne(
|
|
302
|
-
if (
|
|
301
|
+
function Ne(k, V, q) {
|
|
302
|
+
if (k == null)
|
|
303
303
|
return "";
|
|
304
|
-
if (typeof
|
|
305
|
-
return ve(
|
|
306
|
-
if (typeof
|
|
307
|
-
return
|
|
308
|
-
switch (
|
|
304
|
+
if (typeof k == "function")
|
|
305
|
+
return ve(k, Ue(k));
|
|
306
|
+
if (typeof k == "string")
|
|
307
|
+
return J(k);
|
|
308
|
+
switch (k) {
|
|
309
309
|
case t:
|
|
310
|
-
return
|
|
310
|
+
return J("Suspense");
|
|
311
311
|
case i:
|
|
312
|
-
return
|
|
312
|
+
return J("SuspenseList");
|
|
313
313
|
}
|
|
314
|
-
if (typeof
|
|
315
|
-
switch (
|
|
314
|
+
if (typeof k == "object")
|
|
315
|
+
switch (k.$$typeof) {
|
|
316
316
|
case l:
|
|
317
|
-
return pe(
|
|
317
|
+
return pe(k.render);
|
|
318
318
|
case o:
|
|
319
|
-
return Ne(
|
|
319
|
+
return Ne(k.type, V, q);
|
|
320
320
|
case s: {
|
|
321
|
-
var X =
|
|
321
|
+
var X = k, me = X._payload, de = X._init;
|
|
322
322
|
try {
|
|
323
|
-
return Ne(de(me),
|
|
323
|
+
return Ne(de(me), V, q);
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
@@ -328,55 +328,55 @@ function il() {
|
|
|
328
328
|
return "";
|
|
329
329
|
}
|
|
330
330
|
var he = Object.prototype.hasOwnProperty, fe = {}, ge = y.ReactDebugCurrentFrame;
|
|
331
|
-
function
|
|
332
|
-
if (
|
|
333
|
-
var
|
|
334
|
-
ge.setExtraStackFrame(
|
|
331
|
+
function be(k) {
|
|
332
|
+
if (k) {
|
|
333
|
+
var V = k._owner, q = Ne(k.type, k._source, V ? V.type : null);
|
|
334
|
+
ge.setExtraStackFrame(q);
|
|
335
335
|
} else
|
|
336
336
|
ge.setExtraStackFrame(null);
|
|
337
337
|
}
|
|
338
|
-
function ze(
|
|
338
|
+
function ze(k, V, q, X, me) {
|
|
339
339
|
{
|
|
340
340
|
var de = Function.call.bind(he);
|
|
341
|
-
for (var se in
|
|
342
|
-
if (de(
|
|
343
|
-
var
|
|
341
|
+
for (var se in k)
|
|
342
|
+
if (de(k, se)) {
|
|
343
|
+
var re = void 0;
|
|
344
344
|
try {
|
|
345
|
-
if (typeof
|
|
346
|
-
var Ie = Error((X || "React class") + ": " +
|
|
345
|
+
if (typeof k[se] != "function") {
|
|
346
|
+
var Ie = Error((X || "React class") + ": " + q + " type `" + se + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof k[se] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
347
347
|
throw Ie.name = "Invariant Violation", Ie;
|
|
348
348
|
}
|
|
349
|
-
|
|
349
|
+
re = k[se](V, se, X, q, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
350
350
|
} catch (Te) {
|
|
351
|
-
|
|
351
|
+
re = Te;
|
|
352
352
|
}
|
|
353
|
-
|
|
353
|
+
re && !(re instanceof Error) && (be(me), _("%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).", X || "React class", q, se, typeof re), be(null)), re instanceof Error && !(re.message in fe) && (fe[re.message] = !0, be(me), _("Failed %s type: %s", q, re.message), be(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
var Ee = Array.isArray;
|
|
358
|
-
function ke(
|
|
359
|
-
return Ee(
|
|
358
|
+
function ke(k) {
|
|
359
|
+
return Ee(k);
|
|
360
360
|
}
|
|
361
|
-
function Ve(
|
|
361
|
+
function Ve(k) {
|
|
362
362
|
{
|
|
363
|
-
var
|
|
364
|
-
return
|
|
363
|
+
var V = typeof Symbol == "function" && Symbol.toStringTag, q = V && k[Symbol.toStringTag] || k.constructor.name || "Object";
|
|
364
|
+
return q;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function ia(
|
|
367
|
+
function ia(k) {
|
|
368
368
|
try {
|
|
369
|
-
return na(
|
|
369
|
+
return na(k), !1;
|
|
370
370
|
} catch {
|
|
371
371
|
return !0;
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
function na(
|
|
375
|
-
return "" +
|
|
374
|
+
function na(k) {
|
|
375
|
+
return "" + k;
|
|
376
376
|
}
|
|
377
|
-
function Le(
|
|
378
|
-
if (ia(
|
|
379
|
-
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(
|
|
377
|
+
function Le(k) {
|
|
378
|
+
if (ia(k))
|
|
379
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(k)), na(k);
|
|
380
380
|
}
|
|
381
381
|
var Be = y.ReactCurrentOwner, ea = {
|
|
382
382
|
key: !0,
|
|
@@ -384,234 +384,234 @@ function il() {
|
|
|
384
384
|
__self: !0,
|
|
385
385
|
__source: !0
|
|
386
386
|
}, sa, da;
|
|
387
|
-
function Ke(
|
|
388
|
-
if (he.call(
|
|
389
|
-
var
|
|
390
|
-
if (
|
|
387
|
+
function Ke(k) {
|
|
388
|
+
if (he.call(k, "ref")) {
|
|
389
|
+
var V = Object.getOwnPropertyDescriptor(k, "ref").get;
|
|
390
|
+
if (V && V.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
|
-
return
|
|
393
|
+
return k.ref !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function aa(
|
|
396
|
-
if (he.call(
|
|
397
|
-
var
|
|
398
|
-
if (
|
|
395
|
+
function aa(k) {
|
|
396
|
+
if (he.call(k, "key")) {
|
|
397
|
+
var V = Object.getOwnPropertyDescriptor(k, "key").get;
|
|
398
|
+
if (V && V.isReactWarning)
|
|
399
399
|
return !1;
|
|
400
400
|
}
|
|
401
|
-
return
|
|
401
|
+
return k.key !== void 0;
|
|
402
402
|
}
|
|
403
|
-
function Ka(
|
|
404
|
-
typeof
|
|
403
|
+
function Ka(k, V) {
|
|
404
|
+
typeof k.ref == "string" && Be.current;
|
|
405
405
|
}
|
|
406
|
-
function Ga(
|
|
406
|
+
function Ga(k, V) {
|
|
407
407
|
{
|
|
408
|
-
var
|
|
409
|
-
sa || (sa = !0, _("%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)",
|
|
408
|
+
var q = function() {
|
|
409
|
+
sa || (sa = !0, _("%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)", V));
|
|
410
410
|
};
|
|
411
|
-
|
|
412
|
-
get:
|
|
411
|
+
q.isReactWarning = !0, Object.defineProperty(k, "key", {
|
|
412
|
+
get: q,
|
|
413
413
|
configurable: !0
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
function Ma(
|
|
417
|
+
function Ma(k, V) {
|
|
418
418
|
{
|
|
419
|
-
var
|
|
420
|
-
da || (da = !0, _("%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)",
|
|
419
|
+
var q = function() {
|
|
420
|
+
da || (da = !0, _("%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)", V));
|
|
421
421
|
};
|
|
422
|
-
|
|
423
|
-
get:
|
|
422
|
+
q.isReactWarning = !0, Object.defineProperty(k, "ref", {
|
|
423
|
+
get: q,
|
|
424
424
|
configurable: !0
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var qa = function(
|
|
429
|
-
var
|
|
428
|
+
var qa = function(k, V, q, X, me, de, se) {
|
|
429
|
+
var re = {
|
|
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:
|
|
434
|
-
key:
|
|
435
|
-
ref:
|
|
433
|
+
type: k,
|
|
434
|
+
key: V,
|
|
435
|
+
ref: q,
|
|
436
436
|
props: se,
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
438
|
_owner: de
|
|
439
439
|
};
|
|
440
|
-
return
|
|
440
|
+
return re._store = {}, Object.defineProperty(re._store, "validated", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !0,
|
|
444
444
|
value: !1
|
|
445
|
-
}), Object.defineProperty(
|
|
445
|
+
}), Object.defineProperty(re, "_self", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
449
|
value: X
|
|
450
|
-
}), Object.defineProperty(
|
|
450
|
+
}), Object.defineProperty(re, "_source", {
|
|
451
451
|
configurable: !1,
|
|
452
452
|
enumerable: !1,
|
|
453
453
|
writable: !1,
|
|
454
454
|
value: me
|
|
455
|
-
}), Object.freeze && (Object.freeze(
|
|
455
|
+
}), Object.freeze && (Object.freeze(re.props), Object.freeze(re)), re;
|
|
456
456
|
};
|
|
457
|
-
function $a(
|
|
458
|
-
{
|
|
459
|
-
var de, se = {},
|
|
460
|
-
|
|
461
|
-
for (de in
|
|
462
|
-
he.call(
|
|
463
|
-
if (
|
|
464
|
-
var Te =
|
|
457
|
+
function $a(k, V, q, X, me) {
|
|
458
|
+
{
|
|
459
|
+
var de, se = {}, re = null, Ie = null;
|
|
460
|
+
q !== void 0 && (Le(q), re = "" + q), aa(V) && (Le(V.key), re = "" + V.key), Ke(V) && (Ie = V.ref, Ka(V, me));
|
|
461
|
+
for (de in V)
|
|
462
|
+
he.call(V, de) && !ea.hasOwnProperty(de) && (se[de] = V[de]);
|
|
463
|
+
if (k && k.defaultProps) {
|
|
464
|
+
var Te = k.defaultProps;
|
|
465
465
|
for (de in Te)
|
|
466
466
|
se[de] === void 0 && (se[de] = Te[de]);
|
|
467
467
|
}
|
|
468
|
-
if (
|
|
469
|
-
var xe = typeof
|
|
470
|
-
|
|
468
|
+
if (re || Ie) {
|
|
469
|
+
var xe = typeof k == "function" ? k.displayName || k.name || "Unknown" : k;
|
|
470
|
+
re && Ga(se, xe), Ie && Ma(se, xe);
|
|
471
471
|
}
|
|
472
|
-
return qa(
|
|
472
|
+
return qa(k, re, Ie, me, X, Be.current, se);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
var ca = y.ReactCurrentOwner, ba = y.ReactDebugCurrentFrame;
|
|
476
|
-
function je(
|
|
477
|
-
if (
|
|
478
|
-
var
|
|
479
|
-
ba.setExtraStackFrame(
|
|
476
|
+
function je(k) {
|
|
477
|
+
if (k) {
|
|
478
|
+
var V = k._owner, q = Ne(k.type, k._source, V ? V.type : null);
|
|
479
|
+
ba.setExtraStackFrame(q);
|
|
480
480
|
} else
|
|
481
481
|
ba.setExtraStackFrame(null);
|
|
482
482
|
}
|
|
483
483
|
var fa;
|
|
484
484
|
fa = !1;
|
|
485
|
-
function _a(
|
|
486
|
-
return typeof
|
|
485
|
+
function _a(k) {
|
|
486
|
+
return typeof k == "object" && k !== null && k.$$typeof === n;
|
|
487
487
|
}
|
|
488
488
|
function Ra() {
|
|
489
489
|
{
|
|
490
490
|
if (ca.current) {
|
|
491
|
-
var
|
|
492
|
-
if (
|
|
491
|
+
var k = P(ca.current.type);
|
|
492
|
+
if (k)
|
|
493
493
|
return `
|
|
494
494
|
|
|
495
|
-
Check the render method of \`` +
|
|
495
|
+
Check the render method of \`` + k + "`.";
|
|
496
496
|
}
|
|
497
497
|
return "";
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
function Pa(
|
|
500
|
+
function Pa(k) {
|
|
501
501
|
return "";
|
|
502
502
|
}
|
|
503
503
|
var Ca = {};
|
|
504
|
-
function wa(
|
|
504
|
+
function wa(k) {
|
|
505
505
|
{
|
|
506
|
-
var
|
|
507
|
-
if (!
|
|
508
|
-
var
|
|
509
|
-
|
|
506
|
+
var V = Ra();
|
|
507
|
+
if (!V) {
|
|
508
|
+
var q = typeof k == "string" ? k : k.displayName || k.name;
|
|
509
|
+
q && (V = `
|
|
510
510
|
|
|
511
|
-
Check the top-level render call using <` +
|
|
511
|
+
Check the top-level render call using <` + q + ">.");
|
|
512
512
|
}
|
|
513
|
-
return
|
|
513
|
+
return V;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function Fa(
|
|
516
|
+
function Fa(k, V) {
|
|
517
517
|
{
|
|
518
|
-
if (!
|
|
518
|
+
if (!k._store || k._store.validated || k.key != null)
|
|
519
519
|
return;
|
|
520
|
-
|
|
521
|
-
var
|
|
522
|
-
if (Ca[
|
|
520
|
+
k._store.validated = !0;
|
|
521
|
+
var q = wa(V);
|
|
522
|
+
if (Ca[q])
|
|
523
523
|
return;
|
|
524
|
-
Ca[
|
|
524
|
+
Ca[q] = !0;
|
|
525
525
|
var X = "";
|
|
526
|
-
|
|
526
|
+
k && k._owner && k._owner !== ca.current && (X = " It was passed a child from " + P(k._owner.type) + "."), je(k), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', q, X), je(null);
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
|
-
function Ge(
|
|
529
|
+
function Ge(k, V) {
|
|
530
530
|
{
|
|
531
|
-
if (typeof
|
|
531
|
+
if (typeof k != "object")
|
|
532
532
|
return;
|
|
533
|
-
if (ke(
|
|
534
|
-
for (var
|
|
535
|
-
var X =
|
|
536
|
-
_a(X) && Fa(X,
|
|
533
|
+
if (ke(k))
|
|
534
|
+
for (var q = 0; q < k.length; q++) {
|
|
535
|
+
var X = k[q];
|
|
536
|
+
_a(X) && Fa(X, V);
|
|
537
537
|
}
|
|
538
|
-
else if (_a(
|
|
539
|
-
|
|
540
|
-
else if (
|
|
541
|
-
var me = c(
|
|
542
|
-
if (typeof me == "function" && me !==
|
|
543
|
-
for (var de = me.call(
|
|
544
|
-
_a(se.value) && Fa(se.value,
|
|
538
|
+
else if (_a(k))
|
|
539
|
+
k._store && (k._store.validated = !0);
|
|
540
|
+
else if (k) {
|
|
541
|
+
var me = c(k);
|
|
542
|
+
if (typeof me == "function" && me !== k.entries)
|
|
543
|
+
for (var de = me.call(k), se; !(se = de.next()).done; )
|
|
544
|
+
_a(se.value) && Fa(se.value, V);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function K(k) {
|
|
549
549
|
{
|
|
550
|
-
var
|
|
551
|
-
if (
|
|
550
|
+
var V = k.type;
|
|
551
|
+
if (V == null || typeof V == "string")
|
|
552
552
|
return;
|
|
553
|
-
var
|
|
554
|
-
if (typeof
|
|
555
|
-
|
|
556
|
-
else if (typeof
|
|
553
|
+
var q;
|
|
554
|
+
if (typeof V == "function")
|
|
555
|
+
q = V.propTypes;
|
|
556
|
+
else if (typeof V == "object" && (V.$$typeof === l || // Note: Memo only checks outer props here.
|
|
557
557
|
// Inner props are checked in the reconciler.
|
|
558
|
-
|
|
559
|
-
|
|
558
|
+
V.$$typeof === o))
|
|
559
|
+
q = V.propTypes;
|
|
560
560
|
else
|
|
561
561
|
return;
|
|
562
|
-
if (
|
|
563
|
-
var X = P(
|
|
564
|
-
ze(
|
|
565
|
-
} else if (
|
|
562
|
+
if (q) {
|
|
563
|
+
var X = P(V);
|
|
564
|
+
ze(q, k.props, "prop", X, k);
|
|
565
|
+
} else if (V.PropTypes !== void 0 && !fa) {
|
|
566
566
|
fa = !0;
|
|
567
|
-
var me = P(
|
|
567
|
+
var me = P(V);
|
|
568
568
|
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", me || "Unknown");
|
|
569
569
|
}
|
|
570
|
-
typeof
|
|
570
|
+
typeof V.getDefaultProps == "function" && !V.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
function Me(
|
|
573
|
+
function Me(k) {
|
|
574
574
|
{
|
|
575
|
-
for (var
|
|
576
|
-
var X =
|
|
575
|
+
for (var V = Object.keys(k.props), q = 0; q < V.length; q++) {
|
|
576
|
+
var X = V[q];
|
|
577
577
|
if (X !== "children" && X !== "key") {
|
|
578
|
-
je(
|
|
578
|
+
je(k), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", X), je(null);
|
|
579
579
|
break;
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
|
-
|
|
582
|
+
k.ref !== null && (je(k), _("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var ra = {};
|
|
586
|
-
function He(
|
|
586
|
+
function He(k, V, q, X, me, de) {
|
|
587
587
|
{
|
|
588
|
-
var se = k
|
|
588
|
+
var se = T(k);
|
|
589
589
|
if (!se) {
|
|
590
|
-
var
|
|
591
|
-
(
|
|
590
|
+
var re = "";
|
|
591
|
+
(k === void 0 || typeof k == "object" && k !== null && Object.keys(k).length === 0) && (re += " 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 Ie = Pa();
|
|
593
|
-
Ie ?
|
|
593
|
+
Ie ? re += Ie : re += Ra();
|
|
594
594
|
var Te;
|
|
595
|
-
|
|
595
|
+
k === null ? Te = "null" : ke(k) ? Te = "array" : k !== void 0 && k.$$typeof === n ? (Te = "<" + (P(k.type) || "Unknown") + " />", re = " Did you accidentally export a JSX literal instead of a component?") : Te = typeof k, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Te, re);
|
|
596
596
|
}
|
|
597
|
-
var xe = $a(
|
|
597
|
+
var xe = $a(k, V, q, me, de);
|
|
598
598
|
if (xe == null)
|
|
599
599
|
return xe;
|
|
600
600
|
if (se) {
|
|
601
|
-
var Ye =
|
|
601
|
+
var Ye = V.children;
|
|
602
602
|
if (Ye !== void 0)
|
|
603
603
|
if (X)
|
|
604
604
|
if (ke(Ye)) {
|
|
605
605
|
for (var Aa = 0; Aa < Ye.length; Aa++)
|
|
606
|
-
Ge(Ye[Aa],
|
|
606
|
+
Ge(Ye[Aa], k);
|
|
607
607
|
Object.freeze && Object.freeze(Ye);
|
|
608
608
|
} else
|
|
609
609
|
_("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
|
-
Ge(Ye,
|
|
611
|
+
Ge(Ye, k);
|
|
612
612
|
}
|
|
613
|
-
if (he.call(
|
|
614
|
-
var va = P(
|
|
613
|
+
if (he.call(V, "key")) {
|
|
614
|
+
var va = P(k), Je = Object.keys(V).filter(function(Jr) {
|
|
615
615
|
return Jr !== "key";
|
|
616
616
|
}), ii = Je.length > 0 ? "{key: someKey, " + Je.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
617
|
if (!ra[va + ii]) {
|
|
@@ -624,14 +624,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
<%s key={someKey} {...props} />`, ii, va, Vr, va), ra[va + ii] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
|
-
return
|
|
627
|
+
return k === r ? Me(xe) : K(xe), xe;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
function la(
|
|
631
|
-
return He(
|
|
630
|
+
function la(k, V, q) {
|
|
631
|
+
return He(k, V, q, !0);
|
|
632
632
|
}
|
|
633
|
-
function rt(
|
|
634
|
-
return He(
|
|
633
|
+
function rt(k, V, q) {
|
|
634
|
+
return He(k, V, q, !1);
|
|
635
635
|
}
|
|
636
636
|
var ti = rt, Ir = la;
|
|
637
637
|
ja.Fragment = r, ja.jsx = ti, ja.jsxs = Ir;
|
|
@@ -846,45 +846,45 @@ function gl() {
|
|
|
846
846
|
var R = ["th", "st", "nd", "rd"], L = w % 100;
|
|
847
847
|
return "[" + w + (R[(L - 20) % 10] || R[L] || R[0]) + "]";
|
|
848
848
|
} }, b = function(w, R, L) {
|
|
849
|
-
var
|
|
850
|
-
return !
|
|
849
|
+
var H = String(w);
|
|
850
|
+
return !H || H.length >= R ? w : "" + Array(R + 1 - H.length).join(L) + w;
|
|
851
851
|
}, C = { s: b, z: function(w) {
|
|
852
|
-
var R = -w.utcOffset(), L = Math.abs(R),
|
|
853
|
-
return (R <= 0 ? "+" : "-") + b(
|
|
852
|
+
var R = -w.utcOffset(), L = Math.abs(R), H = Math.floor(L / 60), O = L % 60;
|
|
853
|
+
return (R <= 0 ? "+" : "-") + b(H, 2, "0") + ":" + b(O, 2, "0");
|
|
854
854
|
}, m: function w(R, L) {
|
|
855
855
|
if (R.date() < L.date()) return -w(L, R);
|
|
856
|
-
var
|
|
857
|
-
return +(-(
|
|
856
|
+
var H = 12 * (L.year() - R.year()) + (L.month() - R.month()), O = R.clone().add(H, o), W = L - O < 0, z = R.clone().add(H + (W ? -1 : 1), o);
|
|
857
|
+
return +(-(H + (L - O) / (W ? O - z : z - O)) || 0);
|
|
858
858
|
}, a: function(w) {
|
|
859
859
|
return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
|
|
860
860
|
}, p: function(w) {
|
|
861
861
|
return { M: o, y: p, w: i, d: t, D: m, h: l, m: d, s: U, ms: g, Q: s }[w] || String(w || "").toLowerCase().replace(/s$/, "");
|
|
862
862
|
}, u: function(w) {
|
|
863
863
|
return w === void 0;
|
|
864
|
-
} }, v = "en",
|
|
865
|
-
|
|
864
|
+
} }, v = "en", h = {};
|
|
865
|
+
h[v] = _;
|
|
866
866
|
var D = "$isDayjsObject", M = function(w) {
|
|
867
867
|
return w instanceof F || !(!w || !w[D]);
|
|
868
|
-
}, A = function w(R, L,
|
|
868
|
+
}, A = function w(R, L, H) {
|
|
869
869
|
var O;
|
|
870
870
|
if (!R) return v;
|
|
871
871
|
if (typeof R == "string") {
|
|
872
872
|
var W = R.toLowerCase();
|
|
873
|
-
|
|
873
|
+
h[W] && (O = W), L && (h[W] = L, O = W);
|
|
874
874
|
var z = R.split("-");
|
|
875
875
|
if (!O && z.length > 1) return w(z[0]);
|
|
876
876
|
} else {
|
|
877
877
|
var G = R.name;
|
|
878
|
-
|
|
878
|
+
h[G] = R, O = G;
|
|
879
879
|
}
|
|
880
|
-
return !
|
|
881
|
-
},
|
|
880
|
+
return !H && O && (v = O), O || !H && v;
|
|
881
|
+
}, T = function(w, R) {
|
|
882
882
|
if (M(w)) return w.clone();
|
|
883
883
|
var L = typeof R == "object" ? R : {};
|
|
884
884
|
return L.date = w, L.args = arguments, new F(L);
|
|
885
|
-
},
|
|
886
|
-
|
|
887
|
-
return
|
|
885
|
+
}, x = C;
|
|
886
|
+
x.l = A, x.i = M, x.w = function(w, R) {
|
|
887
|
+
return T(w, { locale: R.$L, utc: R.$u, x: R.$x, $offset: R.$offset });
|
|
888
888
|
};
|
|
889
889
|
var F = (function() {
|
|
890
890
|
function w(L) {
|
|
@@ -892,16 +892,16 @@ function gl() {
|
|
|
892
892
|
}
|
|
893
893
|
var R = w.prototype;
|
|
894
894
|
return R.parse = function(L) {
|
|
895
|
-
this.$d = (function(
|
|
896
|
-
var O =
|
|
895
|
+
this.$d = (function(H) {
|
|
896
|
+
var O = H.date, W = H.utc;
|
|
897
897
|
if (O === null) return /* @__PURE__ */ new Date(NaN);
|
|
898
|
-
if (
|
|
898
|
+
if (x.u(O)) return /* @__PURE__ */ new Date();
|
|
899
899
|
if (O instanceof Date) return new Date(O);
|
|
900
900
|
if (typeof O == "string" && !/Z$/i.test(O)) {
|
|
901
901
|
var z = O.match(c);
|
|
902
902
|
if (z) {
|
|
903
|
-
var G = z[2] - 1 || 0,
|
|
904
|
-
return W ? new Date(Date.UTC(z[1], G, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0,
|
|
903
|
+
var G = z[2] - 1 || 0, N = (z[7] || "0").substring(0, 3);
|
|
904
|
+
return W ? new Date(Date.UTC(z[1], G, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0, N)) : new Date(z[1], G, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0, N);
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
907
|
return new Date(O);
|
|
@@ -910,188 +910,188 @@ function gl() {
|
|
|
910
910
|
var L = this.$d;
|
|
911
911
|
this.$y = L.getFullYear(), this.$M = L.getMonth(), this.$D = L.getDate(), this.$W = L.getDay(), this.$H = L.getHours(), this.$m = L.getMinutes(), this.$s = L.getSeconds(), this.$ms = L.getMilliseconds();
|
|
912
912
|
}, R.$utils = function() {
|
|
913
|
-
return
|
|
913
|
+
return x;
|
|
914
914
|
}, R.isValid = function() {
|
|
915
915
|
return this.$d.toString() !== f;
|
|
916
|
-
}, R.isSame = function(L,
|
|
917
|
-
var O =
|
|
918
|
-
return this.startOf(
|
|
919
|
-
}, R.isAfter = function(L,
|
|
920
|
-
return
|
|
921
|
-
}, R.isBefore = function(L,
|
|
922
|
-
return this.endOf(
|
|
923
|
-
}, R.$g = function(L,
|
|
924
|
-
return
|
|
916
|
+
}, R.isSame = function(L, H) {
|
|
917
|
+
var O = T(L);
|
|
918
|
+
return this.startOf(H) <= O && O <= this.endOf(H);
|
|
919
|
+
}, R.isAfter = function(L, H) {
|
|
920
|
+
return T(L) < this.startOf(H);
|
|
921
|
+
}, R.isBefore = function(L, H) {
|
|
922
|
+
return this.endOf(H) < T(L);
|
|
923
|
+
}, R.$g = function(L, H, O) {
|
|
924
|
+
return x.u(L) ? this[H] : this.set(O, L);
|
|
925
925
|
}, R.unix = function() {
|
|
926
926
|
return Math.floor(this.valueOf() / 1e3);
|
|
927
927
|
}, R.valueOf = function() {
|
|
928
928
|
return this.$d.getTime();
|
|
929
|
-
}, R.startOf = function(L,
|
|
930
|
-
var O = this, W = !!
|
|
931
|
-
var
|
|
932
|
-
return W ?
|
|
933
|
-
},
|
|
934
|
-
return
|
|
935
|
-
},
|
|
929
|
+
}, R.startOf = function(L, H) {
|
|
930
|
+
var O = this, W = !!x.u(H) || H, z = x.p(L), G = function(Y, ee) {
|
|
931
|
+
var ye = x.w(O.$u ? Date.UTC(O.$y, ee, Y) : new Date(O.$y, ee, Y), O);
|
|
932
|
+
return W ? ye : ye.endOf(t);
|
|
933
|
+
}, N = function(Y, ee) {
|
|
934
|
+
return x.w(O.toDate()[Y].apply(O.toDate("s"), (W ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ee)), O);
|
|
935
|
+
}, S = this.$W, E = this.$M, I = this.$D, Z = "set" + (this.$u ? "UTC" : "");
|
|
936
936
|
switch (z) {
|
|
937
937
|
case p:
|
|
938
938
|
return W ? G(1, 0) : G(31, 11);
|
|
939
939
|
case o:
|
|
940
|
-
return W ? G(1,
|
|
940
|
+
return W ? G(1, E) : G(0, E + 1);
|
|
941
941
|
case i:
|
|
942
|
-
var $ = this.$locale().weekStart || 0,
|
|
943
|
-
return G(W ?
|
|
942
|
+
var $ = this.$locale().weekStart || 0, J = (S < $ ? S + 7 : S) - $;
|
|
943
|
+
return G(W ? I - J : I + (6 - J), E);
|
|
944
944
|
case t:
|
|
945
945
|
case m:
|
|
946
|
-
return
|
|
946
|
+
return N(Z + "Hours", 0);
|
|
947
947
|
case l:
|
|
948
|
-
return
|
|
948
|
+
return N(Z + "Minutes", 1);
|
|
949
949
|
case d:
|
|
950
|
-
return
|
|
950
|
+
return N(Z + "Seconds", 2);
|
|
951
951
|
case U:
|
|
952
|
-
return
|
|
952
|
+
return N(Z + "Milliseconds", 3);
|
|
953
953
|
default:
|
|
954
954
|
return this.clone();
|
|
955
955
|
}
|
|
956
956
|
}, R.endOf = function(L) {
|
|
957
957
|
return this.startOf(L, !1);
|
|
958
|
-
}, R.$set = function(L,
|
|
959
|
-
var O, W =
|
|
958
|
+
}, R.$set = function(L, H) {
|
|
959
|
+
var O, W = x.p(L), z = "set" + (this.$u ? "UTC" : ""), G = (O = {}, O[t] = z + "Date", O[m] = z + "Date", O[o] = z + "Month", O[p] = z + "FullYear", O[l] = z + "Hours", O[d] = z + "Minutes", O[U] = z + "Seconds", O[g] = z + "Milliseconds", O)[W], N = W === t ? this.$D + (H - this.$W) : H;
|
|
960
960
|
if (W === o || W === p) {
|
|
961
|
-
var
|
|
962
|
-
|
|
963
|
-
} else G && this.$d[G](
|
|
961
|
+
var S = this.clone().set(m, 1);
|
|
962
|
+
S.$d[G](N), S.init(), this.$d = S.set(m, Math.min(this.$D, S.daysInMonth())).$d;
|
|
963
|
+
} else G && this.$d[G](N);
|
|
964
964
|
return this.init(), this;
|
|
965
|
-
}, R.set = function(L,
|
|
966
|
-
return this.clone().$set(L,
|
|
965
|
+
}, R.set = function(L, H) {
|
|
966
|
+
return this.clone().$set(L, H);
|
|
967
967
|
}, R.get = function(L) {
|
|
968
|
-
return this[
|
|
969
|
-
}, R.add = function(L,
|
|
968
|
+
return this[x.p(L)]();
|
|
969
|
+
}, R.add = function(L, H) {
|
|
970
970
|
var O, W = this;
|
|
971
971
|
L = Number(L);
|
|
972
|
-
var z =
|
|
973
|
-
var
|
|
974
|
-
return
|
|
972
|
+
var z = x.p(H), G = function(E) {
|
|
973
|
+
var I = T(W);
|
|
974
|
+
return x.w(I.date(I.date() + Math.round(E * L)), W);
|
|
975
975
|
};
|
|
976
976
|
if (z === o) return this.set(o, this.$M + L);
|
|
977
977
|
if (z === p) return this.set(p, this.$y + L);
|
|
978
978
|
if (z === t) return G(1);
|
|
979
979
|
if (z === i) return G(7);
|
|
980
|
-
var
|
|
981
|
-
return
|
|
982
|
-
}, R.subtract = function(L,
|
|
983
|
-
return this.add(-1 * L,
|
|
980
|
+
var N = (O = {}, O[d] = r, O[l] = u, O[U] = a, O)[z] || 1, S = this.$d.getTime() + L * N;
|
|
981
|
+
return x.w(S, this);
|
|
982
|
+
}, R.subtract = function(L, H) {
|
|
983
|
+
return this.add(-1 * L, H);
|
|
984
984
|
}, R.format = function(L) {
|
|
985
|
-
var
|
|
985
|
+
var H = this, O = this.$locale();
|
|
986
986
|
if (!this.isValid()) return O.invalidDate || f;
|
|
987
|
-
var W = L || "YYYY-MM-DDTHH:mm:ssZ", z =
|
|
988
|
-
return
|
|
989
|
-
},
|
|
990
|
-
return
|
|
991
|
-
}, Y =
|
|
992
|
-
var pe =
|
|
987
|
+
var W = L || "YYYY-MM-DDTHH:mm:ssZ", z = x.z(this), G = this.$H, N = this.$m, S = this.$M, E = O.weekdays, I = O.months, Z = O.meridiem, $ = function(ee, ye, ve, pe) {
|
|
988
|
+
return ee && (ee[ye] || ee(H, W)) || ve[ye].slice(0, pe);
|
|
989
|
+
}, J = function(ee) {
|
|
990
|
+
return x.s(G % 12 || 12, ee, "0");
|
|
991
|
+
}, Y = Z || function(ee, ye, ve) {
|
|
992
|
+
var pe = ee < 12 ? "AM" : "PM";
|
|
993
993
|
return ve ? pe.toLowerCase() : pe;
|
|
994
994
|
};
|
|
995
|
-
return W.replace(y, (function(
|
|
996
|
-
return
|
|
995
|
+
return W.replace(y, (function(ee, ye) {
|
|
996
|
+
return ye || (function(ve) {
|
|
997
997
|
switch (ve) {
|
|
998
998
|
case "YY":
|
|
999
|
-
return String(
|
|
999
|
+
return String(H.$y).slice(-2);
|
|
1000
1000
|
case "YYYY":
|
|
1001
|
-
return
|
|
1001
|
+
return x.s(H.$y, 4, "0");
|
|
1002
1002
|
case "M":
|
|
1003
|
-
return
|
|
1003
|
+
return S + 1;
|
|
1004
1004
|
case "MM":
|
|
1005
|
-
return
|
|
1005
|
+
return x.s(S + 1, 2, "0");
|
|
1006
1006
|
case "MMM":
|
|
1007
|
-
return $(O.monthsShort,
|
|
1007
|
+
return $(O.monthsShort, S, I, 3);
|
|
1008
1008
|
case "MMMM":
|
|
1009
|
-
return $(
|
|
1009
|
+
return $(I, S);
|
|
1010
1010
|
case "D":
|
|
1011
|
-
return
|
|
1011
|
+
return H.$D;
|
|
1012
1012
|
case "DD":
|
|
1013
|
-
return
|
|
1013
|
+
return x.s(H.$D, 2, "0");
|
|
1014
1014
|
case "d":
|
|
1015
|
-
return String(
|
|
1015
|
+
return String(H.$W);
|
|
1016
1016
|
case "dd":
|
|
1017
|
-
return $(O.weekdaysMin,
|
|
1017
|
+
return $(O.weekdaysMin, H.$W, E, 2);
|
|
1018
1018
|
case "ddd":
|
|
1019
|
-
return $(O.weekdaysShort,
|
|
1019
|
+
return $(O.weekdaysShort, H.$W, E, 3);
|
|
1020
1020
|
case "dddd":
|
|
1021
|
-
return
|
|
1021
|
+
return E[H.$W];
|
|
1022
1022
|
case "H":
|
|
1023
1023
|
return String(G);
|
|
1024
1024
|
case "HH":
|
|
1025
|
-
return
|
|
1025
|
+
return x.s(G, 2, "0");
|
|
1026
1026
|
case "h":
|
|
1027
|
-
return
|
|
1027
|
+
return J(1);
|
|
1028
1028
|
case "hh":
|
|
1029
|
-
return
|
|
1029
|
+
return J(2);
|
|
1030
1030
|
case "a":
|
|
1031
|
-
return Y(G,
|
|
1031
|
+
return Y(G, N, !0);
|
|
1032
1032
|
case "A":
|
|
1033
|
-
return Y(G,
|
|
1033
|
+
return Y(G, N, !1);
|
|
1034
1034
|
case "m":
|
|
1035
|
-
return String(
|
|
1035
|
+
return String(N);
|
|
1036
1036
|
case "mm":
|
|
1037
|
-
return
|
|
1037
|
+
return x.s(N, 2, "0");
|
|
1038
1038
|
case "s":
|
|
1039
|
-
return String(
|
|
1039
|
+
return String(H.$s);
|
|
1040
1040
|
case "ss":
|
|
1041
|
-
return
|
|
1041
|
+
return x.s(H.$s, 2, "0");
|
|
1042
1042
|
case "SSS":
|
|
1043
|
-
return
|
|
1043
|
+
return x.s(H.$ms, 3, "0");
|
|
1044
1044
|
case "Z":
|
|
1045
1045
|
return z;
|
|
1046
1046
|
}
|
|
1047
1047
|
return null;
|
|
1048
|
-
})(
|
|
1048
|
+
})(ee) || z.replace(":", "");
|
|
1049
1049
|
}));
|
|
1050
1050
|
}, R.utcOffset = function() {
|
|
1051
1051
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1052
|
-
}, R.diff = function(L,
|
|
1053
|
-
var W, z = this, G =
|
|
1054
|
-
return
|
|
1052
|
+
}, R.diff = function(L, H, O) {
|
|
1053
|
+
var W, z = this, G = x.p(H), N = T(L), S = (N.utcOffset() - this.utcOffset()) * r, E = this - N, I = function() {
|
|
1054
|
+
return x.m(z, N);
|
|
1055
1055
|
};
|
|
1056
1056
|
switch (G) {
|
|
1057
1057
|
case p:
|
|
1058
|
-
W =
|
|
1058
|
+
W = I() / 12;
|
|
1059
1059
|
break;
|
|
1060
1060
|
case o:
|
|
1061
|
-
W =
|
|
1061
|
+
W = I();
|
|
1062
1062
|
break;
|
|
1063
1063
|
case s:
|
|
1064
|
-
W =
|
|
1064
|
+
W = I() / 3;
|
|
1065
1065
|
break;
|
|
1066
1066
|
case i:
|
|
1067
|
-
W = (
|
|
1067
|
+
W = (E - S) / 6048e5;
|
|
1068
1068
|
break;
|
|
1069
1069
|
case t:
|
|
1070
|
-
W = (
|
|
1070
|
+
W = (E - S) / 864e5;
|
|
1071
1071
|
break;
|
|
1072
1072
|
case l:
|
|
1073
|
-
W =
|
|
1073
|
+
W = E / u;
|
|
1074
1074
|
break;
|
|
1075
1075
|
case d:
|
|
1076
|
-
W =
|
|
1076
|
+
W = E / r;
|
|
1077
1077
|
break;
|
|
1078
1078
|
case U:
|
|
1079
|
-
W =
|
|
1079
|
+
W = E / a;
|
|
1080
1080
|
break;
|
|
1081
1081
|
default:
|
|
1082
|
-
W =
|
|
1082
|
+
W = E;
|
|
1083
1083
|
}
|
|
1084
|
-
return O ? W :
|
|
1084
|
+
return O ? W : x.a(W);
|
|
1085
1085
|
}, R.daysInMonth = function() {
|
|
1086
1086
|
return this.endOf(o).$D;
|
|
1087
1087
|
}, R.$locale = function() {
|
|
1088
|
-
return
|
|
1089
|
-
}, R.locale = function(L,
|
|
1088
|
+
return h[this.$L];
|
|
1089
|
+
}, R.locale = function(L, H) {
|
|
1090
1090
|
if (!L) return this.$L;
|
|
1091
|
-
var O = this.clone(), W = A(L,
|
|
1091
|
+
var O = this.clone(), W = A(L, H, !0);
|
|
1092
1092
|
return W && (O.$L = W), O;
|
|
1093
1093
|
}, R.clone = function() {
|
|
1094
|
-
return
|
|
1094
|
+
return x.w(this.$d, this);
|
|
1095
1095
|
}, R.toDate = function() {
|
|
1096
1096
|
return new Date(this.valueOf());
|
|
1097
1097
|
}, R.toJSON = function() {
|
|
@@ -1102,15 +1102,15 @@ function gl() {
|
|
|
1102
1102
|
return this.$d.toUTCString();
|
|
1103
1103
|
}, w;
|
|
1104
1104
|
})(), P = F.prototype;
|
|
1105
|
-
return
|
|
1105
|
+
return T.prototype = P, [["$ms", g], ["$s", U], ["$m", d], ["$H", l], ["$W", t], ["$M", o], ["$y", p], ["$D", m]].forEach((function(w) {
|
|
1106
1106
|
P[w[1]] = function(R) {
|
|
1107
1107
|
return this.$g(R, w[0], w[1]);
|
|
1108
1108
|
};
|
|
1109
|
-
})),
|
|
1110
|
-
return w.$i || (w(R, F,
|
|
1111
|
-
},
|
|
1112
|
-
return
|
|
1113
|
-
},
|
|
1109
|
+
})), T.extend = function(w, R) {
|
|
1110
|
+
return w.$i || (w(R, F, T), w.$i = !0), T;
|
|
1111
|
+
}, T.locale = A, T.isDayjs = M, T.unix = function(w) {
|
|
1112
|
+
return T(1e3 * w);
|
|
1113
|
+
}, T.en = h[v], T.Ls = h, T.p = {}, T;
|
|
1114
1114
|
}));
|
|
1115
1115
|
})(dt)), dt.exports;
|
|
1116
1116
|
}
|
|
@@ -1288,16 +1288,16 @@ function oe() {
|
|
|
1288
1288
|
* wordArray1.concat(wordArray2);
|
|
1289
1289
|
*/
|
|
1290
1290
|
concat: function(_) {
|
|
1291
|
-
var b = this.words, C = _.words, v = this.sigBytes,
|
|
1291
|
+
var b = this.words, C = _.words, v = this.sigBytes, h = _.sigBytes;
|
|
1292
1292
|
if (this.clamp(), v % 4)
|
|
1293
|
-
for (var D = 0; D <
|
|
1293
|
+
for (var D = 0; D < h; D++) {
|
|
1294
1294
|
var M = C[D >>> 2] >>> 24 - D % 4 * 8 & 255;
|
|
1295
1295
|
b[v + D >>> 2] |= M << 24 - (v + D) % 4 * 8;
|
|
1296
1296
|
}
|
|
1297
1297
|
else
|
|
1298
|
-
for (var A = 0; A <
|
|
1298
|
+
for (var A = 0; A < h; A += 4)
|
|
1299
1299
|
b[v + A >>> 2] = C[A >>> 2];
|
|
1300
|
-
return this.sigBytes +=
|
|
1300
|
+
return this.sigBytes += h, this;
|
|
1301
1301
|
},
|
|
1302
1302
|
/**
|
|
1303
1303
|
* Removes insignificant bits.
|
|
@@ -1356,8 +1356,8 @@ function oe() {
|
|
|
1356
1356
|
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
|
1357
1357
|
*/
|
|
1358
1358
|
stringify: function(_) {
|
|
1359
|
-
for (var b = _.words, C = _.sigBytes, v = [],
|
|
1360
|
-
var D = b[
|
|
1359
|
+
for (var b = _.words, C = _.sigBytes, v = [], h = 0; h < C; h++) {
|
|
1360
|
+
var D = b[h >>> 2] >>> 24 - h % 4 * 8 & 255;
|
|
1361
1361
|
v.push((D >>> 4).toString(16)), v.push((D & 15).toString(16));
|
|
1362
1362
|
}
|
|
1363
1363
|
return v.join("");
|
|
@@ -1395,8 +1395,8 @@ function oe() {
|
|
|
1395
1395
|
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
|
1396
1396
|
*/
|
|
1397
1397
|
stringify: function(_) {
|
|
1398
|
-
for (var b = _.words, C = _.sigBytes, v = [],
|
|
1399
|
-
var D = b[
|
|
1398
|
+
for (var b = _.words, C = _.sigBytes, v = [], h = 0; h < C; h++) {
|
|
1399
|
+
var D = b[h >>> 2] >>> 24 - h % 4 * 8 & 255;
|
|
1400
1400
|
v.push(String.fromCharCode(D));
|
|
1401
1401
|
}
|
|
1402
1402
|
return v.join("");
|
|
@@ -1495,15 +1495,15 @@ function oe() {
|
|
|
1495
1495
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
1496
1496
|
*/
|
|
1497
1497
|
_process: function(_) {
|
|
1498
|
-
var b, C = this._data, v = C.words,
|
|
1498
|
+
var b, C = this._data, v = C.words, h = C.sigBytes, D = this.blockSize, M = D * 4, A = h / M;
|
|
1499
1499
|
_ ? A = r.ceil(A) : A = r.max((A | 0) - this._minBufferSize, 0);
|
|
1500
|
-
var
|
|
1501
|
-
if (
|
|
1502
|
-
for (var F = 0; F <
|
|
1500
|
+
var T = A * D, x = r.min(T * 4, h);
|
|
1501
|
+
if (T) {
|
|
1502
|
+
for (var F = 0; F < T; F += D)
|
|
1503
1503
|
this._doProcessBlock(v, F);
|
|
1504
|
-
b = v.splice(0,
|
|
1504
|
+
b = v.splice(0, T), C.sigBytes -= x;
|
|
1505
1505
|
}
|
|
1506
|
-
return new o.init(b,
|
|
1506
|
+
return new o.init(b, x);
|
|
1507
1507
|
},
|
|
1508
1508
|
/**
|
|
1509
1509
|
* Creates a copy of this object.
|
|
@@ -2155,17 +2155,17 @@ function Na() {
|
|
|
2155
2155
|
var _ = 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 = f[c + 0],
|
|
2159
|
-
G = o(G,
|
|
2158
|
+
var C = this._hash.words, v = f[c + 0], h = f[c + 1], D = f[c + 2], M = f[c + 3], A = f[c + 4], T = f[c + 5], x = f[c + 6], F = f[c + 7], P = f[c + 8], w = f[c + 9], R = f[c + 10], L = f[c + 11], H = f[c + 12], O = f[c + 13], W = f[c + 14], z = f[c + 15], G = C[0], N = C[1], S = C[2], E = C[3];
|
|
2159
|
+
G = o(G, N, S, E, v, 7, t[0]), E = o(E, G, N, S, h, 12, t[1]), S = o(S, E, G, N, D, 17, t[2]), N = o(N, S, E, G, M, 22, t[3]), G = o(G, N, S, E, A, 7, t[4]), E = o(E, G, N, S, T, 12, t[5]), S = o(S, E, G, N, x, 17, t[6]), N = o(N, S, E, G, F, 22, t[7]), G = o(G, N, S, E, P, 7, t[8]), E = o(E, G, N, S, w, 12, t[9]), S = o(S, E, G, N, R, 17, t[10]), N = o(N, S, E, G, L, 22, t[11]), G = o(G, N, S, E, H, 7, t[12]), E = o(E, G, N, S, O, 12, t[13]), S = o(S, E, G, N, W, 17, t[14]), N = o(N, S, E, G, z, 22, t[15]), G = s(G, N, S, E, h, 5, t[16]), E = s(E, G, N, S, x, 9, t[17]), S = s(S, E, G, N, L, 14, t[18]), N = s(N, S, E, G, v, 20, t[19]), G = s(G, N, S, E, T, 5, t[20]), E = s(E, G, N, S, R, 9, t[21]), S = s(S, E, G, N, z, 14, t[22]), N = s(N, S, E, G, A, 20, t[23]), G = s(G, N, S, E, w, 5, t[24]), E = s(E, G, N, S, W, 9, t[25]), S = s(S, E, G, N, M, 14, t[26]), N = s(N, S, E, G, P, 20, t[27]), G = s(G, N, S, E, O, 5, t[28]), E = s(E, G, N, S, D, 9, t[29]), S = s(S, E, G, N, F, 14, t[30]), N = s(N, S, E, G, H, 20, t[31]), G = p(G, N, S, E, T, 4, t[32]), E = p(E, G, N, S, P, 11, t[33]), S = p(S, E, G, N, L, 16, t[34]), N = p(N, S, E, G, W, 23, t[35]), G = p(G, N, S, E, h, 4, t[36]), E = p(E, G, N, S, A, 11, t[37]), S = p(S, E, G, N, F, 16, t[38]), N = p(N, S, E, G, R, 23, t[39]), G = p(G, N, S, E, O, 4, t[40]), E = p(E, G, N, S, v, 11, t[41]), S = p(S, E, G, N, M, 16, t[42]), N = p(N, S, E, G, x, 23, t[43]), G = p(G, N, S, E, w, 4, t[44]), E = p(E, G, N, S, H, 11, t[45]), S = p(S, E, G, N, z, 16, t[46]), N = p(N, S, E, G, D, 23, t[47]), G = m(G, N, S, E, v, 6, t[48]), E = m(E, G, N, S, F, 10, t[49]), S = m(S, E, G, N, W, 15, t[50]), N = m(N, S, E, G, T, 21, t[51]), G = m(G, N, S, E, H, 6, t[52]), E = m(E, G, N, S, M, 10, t[53]), S = m(S, E, G, N, R, 15, t[54]), N = m(N, S, E, G, h, 21, t[55]), G = m(G, N, S, E, P, 6, t[56]), E = m(E, G, N, S, z, 10, t[57]), S = m(S, E, G, N, x, 15, t[58]), N = m(N, S, E, G, O, 21, t[59]), G = m(G, N, S, E, A, 6, t[60]), E = m(E, G, N, S, L, 10, t[61]), S = m(S, E, G, N, D, 15, t[62]), N = m(N, S, E, G, w, 21, t[63]), C[0] = C[0] + G | 0, C[1] = C[1] + N | 0, C[2] = C[2] + S | 0, C[3] = C[3] + E | 0;
|
|
2160
2160
|
},
|
|
2161
2161
|
_doFinalize: function() {
|
|
2162
2162
|
var f = this._data, c = f.words, y = this._nDataBytes * 8, _ = f.sigBytes * 8;
|
|
2163
2163
|
c[_ >>> 5] |= 128 << 24 - _ % 32;
|
|
2164
2164
|
var b = r.floor(y / 4294967296), C = y;
|
|
2165
2165
|
c[(_ + 64 >>> 9 << 4) + 15] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, c[(_ + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, f.sigBytes = (c.length + 1) * 4, this._process();
|
|
2166
|
-
for (var v = this._hash,
|
|
2167
|
-
var M =
|
|
2168
|
-
|
|
2166
|
+
for (var v = this._hash, h = v.words, D = 0; D < 4; D++) {
|
|
2167
|
+
var M = h[D];
|
|
2168
|
+
h[D] = (M << 8 | M >>> 24) & 16711935 | (M << 24 | M >>> 8) & 4278255360;
|
|
2169
2169
|
}
|
|
2170
2170
|
return v;
|
|
2171
2171
|
},
|
|
@@ -2175,20 +2175,20 @@ function Na() {
|
|
|
2175
2175
|
}
|
|
2176
2176
|
});
|
|
2177
2177
|
function o(f, c, y, _, b, C, v) {
|
|
2178
|
-
var
|
|
2179
|
-
return (
|
|
2178
|
+
var h = f + (c & y | ~c & _) + b + v;
|
|
2179
|
+
return (h << C | h >>> 32 - C) + c;
|
|
2180
2180
|
}
|
|
2181
2181
|
function s(f, c, y, _, b, C, v) {
|
|
2182
|
-
var
|
|
2183
|
-
return (
|
|
2182
|
+
var h = f + (c & _ | y & ~_) + b + v;
|
|
2183
|
+
return (h << C | h >>> 32 - C) + c;
|
|
2184
2184
|
}
|
|
2185
2185
|
function p(f, c, y, _, b, C, v) {
|
|
2186
|
-
var
|
|
2187
|
-
return (
|
|
2186
|
+
var h = f + (c ^ y ^ _) + b + v;
|
|
2187
|
+
return (h << C | h >>> 32 - C) + c;
|
|
2188
2188
|
}
|
|
2189
2189
|
function m(f, c, y, _, b, C, v) {
|
|
2190
|
-
var
|
|
2191
|
-
return (
|
|
2190
|
+
var h = f + (y ^ (c | ~_)) + b + v;
|
|
2191
|
+
return (h << C | h >>> 32 - C) + c;
|
|
2192
2192
|
}
|
|
2193
2193
|
u.MD5 = d._createHelper(i), u.HmacMD5 = d._createHmacHelper(i);
|
|
2194
2194
|
})(Math), a.MD5;
|
|
@@ -2265,17 +2265,17 @@ function Ci() {
|
|
|
2265
2265
|
this._hash = new U.init(t.slice(0));
|
|
2266
2266
|
},
|
|
2267
2267
|
_doProcessBlock: function(p, m) {
|
|
2268
|
-
for (var f = this._hash.words, c = f[0], y = f[1], _ = f[2], b = f[3], C = f[4], v = f[5],
|
|
2268
|
+
for (var f = this._hash.words, c = f[0], y = f[1], _ = f[2], b = f[3], C = f[4], v = f[5], h = f[6], D = f[7], M = 0; M < 64; M++) {
|
|
2269
2269
|
if (M < 16)
|
|
2270
2270
|
o[M] = p[m + M] | 0;
|
|
2271
2271
|
else {
|
|
2272
|
-
var A = o[M - 15],
|
|
2273
|
-
o[M] =
|
|
2272
|
+
var A = o[M - 15], T = (A << 25 | A >>> 7) ^ (A << 14 | A >>> 18) ^ A >>> 3, x = o[M - 2], F = (x << 15 | x >>> 17) ^ (x << 13 | x >>> 19) ^ x >>> 10;
|
|
2273
|
+
o[M] = T + o[M - 7] + F + o[M - 16];
|
|
2274
2274
|
}
|
|
2275
|
-
var P = C & v ^ ~C &
|
|
2276
|
-
D =
|
|
2275
|
+
var P = C & v ^ ~C & h, w = c & y ^ c & _ ^ y & _, R = (c << 30 | c >>> 2) ^ (c << 19 | c >>> 13) ^ (c << 10 | c >>> 22), L = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), H = D + L + P + i[M] + o[M], O = R + w;
|
|
2276
|
+
D = h, h = v, v = C, C = b + H | 0, b = _, _ = y, y = c, c = H + O | 0;
|
|
2277
2277
|
}
|
|
2278
|
-
f[0] = f[0] + c | 0, f[1] = f[1] + y | 0, f[2] = f[2] + _ | 0, f[3] = f[3] + b | 0, f[4] = f[4] + C | 0, f[5] = f[5] + v | 0, f[6] = f[6] +
|
|
2278
|
+
f[0] = f[0] + c | 0, f[1] = f[1] + y | 0, f[2] = f[2] + _ | 0, f[3] = f[3] + b | 0, f[4] = f[4] + C | 0, f[5] = f[5] + v | 0, f[6] = f[6] + h | 0, f[7] = f[7] + D | 0;
|
|
2279
2279
|
},
|
|
2280
2280
|
_doFinalize: function() {
|
|
2281
2281
|
var p = this._data, m = p.words, f = this._nDataBytes * 8, c = p.sigBytes * 8;
|
|
@@ -2432,7 +2432,7 @@ function sr() {
|
|
|
2432
2432
|
]);
|
|
2433
2433
|
},
|
|
2434
2434
|
_doProcessBlock: function(m, f) {
|
|
2435
|
-
for (var c = this._hash.words, y = c[0], _ = c[1], b = c[2], C = c[3], v = c[4],
|
|
2435
|
+
for (var c = this._hash.words, y = c[0], _ = c[1], b = c[2], C = c[3], v = c[4], h = c[5], D = c[6], M = c[7], A = y.high, T = y.low, x = _.high, F = _.low, P = b.high, w = b.low, R = C.high, L = C.low, H = v.high, O = v.low, W = h.high, z = h.low, G = D.high, N = D.low, S = M.high, E = M.low, I = A, Z = T, $ = x, J = F, Y = P, ee = w, ye = R, ve = L, pe = H, Ue = O, Ne = W, he = z, fe = G, ge = N, be = S, ze = E, Ee = 0; Ee < 80; Ee++) {
|
|
2436
2436
|
var ke, Ve, ia = s[Ee];
|
|
2437
2437
|
if (Ee < 16)
|
|
2438
2438
|
Ve = ia.high = m[f + Ee * 2] | 0, ke = ia.low = m[f + Ee * 2 + 1] | 0;
|
|
@@ -2440,10 +2440,10 @@ function sr() {
|
|
|
2440
2440
|
var na = s[Ee - 15], Le = na.high, Be = na.low, ea = (Le >>> 1 | Be << 31) ^ (Le >>> 8 | Be << 24) ^ Le >>> 7, sa = (Be >>> 1 | Le << 31) ^ (Be >>> 8 | Le << 24) ^ (Be >>> 7 | Le << 25), da = s[Ee - 2], Ke = da.high, aa = da.low, Ka = (Ke >>> 19 | aa << 13) ^ (Ke << 3 | aa >>> 29) ^ Ke >>> 6, Ga = (aa >>> 19 | Ke << 13) ^ (aa << 3 | Ke >>> 29) ^ (aa >>> 6 | Ke << 26), Ma = s[Ee - 7], qa = Ma.high, $a = Ma.low, ca = s[Ee - 16], ba = ca.high, je = ca.low;
|
|
2441
2441
|
ke = sa + $a, Ve = ea + qa + (ke >>> 0 < sa >>> 0 ? 1 : 0), ke = ke + Ga, Ve = Ve + Ka + (ke >>> 0 < Ga >>> 0 ? 1 : 0), ke = ke + je, Ve = Ve + ba + (ke >>> 0 < je >>> 0 ? 1 : 0), ia.high = Ve, ia.low = ke;
|
|
2442
2442
|
}
|
|
2443
|
-
var fa = pe & Ne ^ ~pe & fe, _a =
|
|
2444
|
-
|
|
2443
|
+
var fa = pe & Ne ^ ~pe & fe, _a = Ue & he ^ ~Ue & ge, Ra = I & $ ^ I & Y ^ $ & Y, Pa = Z & J ^ Z & ee ^ J & ee, Ca = (I >>> 28 | Z << 4) ^ (I << 30 | Z >>> 2) ^ (I << 25 | Z >>> 7), wa = (Z >>> 28 | I << 4) ^ (Z << 30 | I >>> 2) ^ (Z << 25 | I >>> 7), Fa = (pe >>> 14 | Ue << 18) ^ (pe >>> 18 | Ue << 14) ^ (pe << 23 | Ue >>> 9), Ge = (Ue >>> 14 | pe << 18) ^ (Ue >>> 18 | pe << 14) ^ (Ue << 23 | pe >>> 9), K = o[Ee], Me = K.high, ra = K.low, He = ze + Ge, la = be + Fa + (He >>> 0 < ze >>> 0 ? 1 : 0), He = He + _a, la = la + fa + (He >>> 0 < _a >>> 0 ? 1 : 0), He = He + ra, la = la + Me + (He >>> 0 < ra >>> 0 ? 1 : 0), He = He + ke, la = la + Ve + (He >>> 0 < ke >>> 0 ? 1 : 0), rt = wa + Pa, ti = Ca + Ra + (rt >>> 0 < wa >>> 0 ? 1 : 0);
|
|
2444
|
+
be = fe, ze = ge, fe = Ne, ge = he, Ne = pe, he = Ue, Ue = ve + He | 0, pe = ye + la + (Ue >>> 0 < ve >>> 0 ? 1 : 0) | 0, ye = Y, ve = ee, Y = $, ee = J, $ = I, J = Z, Z = He + rt | 0, I = la + ti + (Z >>> 0 < He >>> 0 ? 1 : 0) | 0;
|
|
2445
2445
|
}
|
|
2446
|
-
|
|
2446
|
+
T = y.low = T + Z, y.high = A + I + (T >>> 0 < Z >>> 0 ? 1 : 0), F = _.low = F + J, _.high = x + $ + (F >>> 0 < J >>> 0 ? 1 : 0), w = b.low = w + ee, b.high = P + Y + (w >>> 0 < ee >>> 0 ? 1 : 0), L = C.low = L + ve, C.high = R + ye + (L >>> 0 < ve >>> 0 ? 1 : 0), O = v.low = O + Ue, v.high = H + pe + (O >>> 0 < Ue >>> 0 ? 1 : 0), z = h.low = z + he, h.high = W + Ne + (z >>> 0 < he >>> 0 ? 1 : 0), N = D.low = N + ge, D.high = G + fe + (N >>> 0 < ge >>> 0 ? 1 : 0), E = M.low = E + ze, M.high = S + be + (E >>> 0 < ze >>> 0 ? 1 : 0);
|
|
2447
2447
|
},
|
|
2448
2448
|
_doFinalize: function() {
|
|
2449
2449
|
var m = this._data, f = m.words, c = this._nDataBytes * 8, y = m.sigBytes * 8;
|
|
@@ -2509,15 +2509,15 @@ function Fl() {
|
|
|
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,
|
|
2512
|
+
for (var v = 1, h = 0; h < 24; h++) {
|
|
2513
2513
|
for (var D = 0, M = 0, A = 0; A < 7; A++) {
|
|
2514
2514
|
if (v & 1) {
|
|
2515
|
-
var
|
|
2516
|
-
|
|
2515
|
+
var T = (1 << A) - 1;
|
|
2516
|
+
T < 32 ? M ^= 1 << T : D ^= 1 << T - 32;
|
|
2517
2517
|
}
|
|
2518
2518
|
v & 128 ? v = v << 1 ^ 113 : v <<= 1;
|
|
2519
2519
|
}
|
|
2520
|
-
p[
|
|
2520
|
+
p[h] = t.create(D, M);
|
|
2521
2521
|
}
|
|
2522
2522
|
})();
|
|
2523
2523
|
var m = [];
|
|
@@ -2544,40 +2544,40 @@ function Fl() {
|
|
|
2544
2544
|
},
|
|
2545
2545
|
_doProcessBlock: function(c, y) {
|
|
2546
2546
|
for (var _ = 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], h = c[y + 2 * C + 1];
|
|
2548
|
+
v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, h = (h << 8 | h >>> 24) & 16711935 | (h << 24 | h >>> 8) & 4278255360;
|
|
2549
2549
|
var D = _[C];
|
|
2550
|
-
D.high ^=
|
|
2550
|
+
D.high ^= h, D.low ^= v;
|
|
2551
2551
|
}
|
|
2552
2552
|
for (var M = 0; M < 24; M++) {
|
|
2553
2553
|
for (var A = 0; A < 5; A++) {
|
|
2554
|
-
for (var
|
|
2554
|
+
for (var T = 0, x = 0, F = 0; F < 5; F++) {
|
|
2555
2555
|
var D = _[A + 5 * F];
|
|
2556
|
-
|
|
2556
|
+
T ^= D.high, x ^= D.low;
|
|
2557
2557
|
}
|
|
2558
2558
|
var P = m[A];
|
|
2559
|
-
P.high =
|
|
2559
|
+
P.high = T, P.low = x;
|
|
2560
2560
|
}
|
|
2561
2561
|
for (var A = 0; A < 5; A++)
|
|
2562
|
-
for (var w = m[(A + 4) % 5], R = m[(A + 1) % 5], L = R.high,
|
|
2562
|
+
for (var w = m[(A + 4) % 5], R = m[(A + 1) % 5], L = R.high, H = R.low, T = w.high ^ (L << 1 | H >>> 31), x = w.low ^ (H << 1 | L >>> 31), F = 0; F < 5; F++) {
|
|
2563
2563
|
var D = _[A + 5 * F];
|
|
2564
|
-
D.high ^=
|
|
2564
|
+
D.high ^= T, D.low ^= x;
|
|
2565
2565
|
}
|
|
2566
2566
|
for (var O = 1; O < 25; O++) {
|
|
2567
|
-
var
|
|
2568
|
-
G < 32 ? (
|
|
2569
|
-
var
|
|
2570
|
-
|
|
2567
|
+
var T, x, D = _[O], W = D.high, z = D.low, G = o[O];
|
|
2568
|
+
G < 32 ? (T = W << G | z >>> 32 - G, x = z << G | W >>> 32 - G) : (T = z << G - 32 | W >>> 64 - G, x = W << G - 32 | z >>> 64 - G);
|
|
2569
|
+
var N = m[s[O]];
|
|
2570
|
+
N.high = T, N.low = x;
|
|
2571
2571
|
}
|
|
2572
|
-
var
|
|
2573
|
-
|
|
2572
|
+
var S = m[0], E = _[0];
|
|
2573
|
+
S.high = E.high, S.low = E.low;
|
|
2574
2574
|
for (var A = 0; A < 5; A++)
|
|
2575
2575
|
for (var F = 0; F < 5; F++) {
|
|
2576
|
-
var O = A + 5 * F, D = _[O],
|
|
2577
|
-
D.high =
|
|
2576
|
+
var O = A + 5 * F, D = _[O], I = m[O], Z = m[(A + 1) % 5 + 5 * F], $ = m[(A + 2) % 5 + 5 * F];
|
|
2577
|
+
D.high = I.high ^ ~Z.high & $.high, D.low = I.low ^ ~Z.low & $.low;
|
|
2578
2578
|
}
|
|
2579
|
-
var D = _[0],
|
|
2580
|
-
D.high ^=
|
|
2579
|
+
var D = _[0], J = p[M];
|
|
2580
|
+
D.high ^= J.high, D.low ^= J.low;
|
|
2581
2581
|
}
|
|
2582
2582
|
},
|
|
2583
2583
|
_doFinalize: function() {
|
|
@@ -2585,9 +2585,9 @@ function Fl() {
|
|
|
2585
2585
|
this._nDataBytes * 8;
|
|
2586
2586
|
var _ = c.sigBytes * 8, b = this.blockSize * 32;
|
|
2587
2587
|
y[_ >>> 5] |= 1 << 24 - _ % 32, y[(r.ceil((_ + 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 A = C[M],
|
|
2590
|
-
|
|
2588
|
+
for (var C = this._state, v = this.cfg.outputLength / 8, h = v / 8, D = [], M = 0; M < h; M++) {
|
|
2589
|
+
var A = C[M], T = A.high, x = A.low;
|
|
2590
|
+
T = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360, x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, D.push(x), D.push(T);
|
|
2591
2591
|
}
|
|
2592
2592
|
return new U.init(D, v);
|
|
2593
2593
|
},
|
|
@@ -2937,48 +2937,48 @@ function Ol() {
|
|
|
2937
2937
|
_doReset: function() {
|
|
2938
2938
|
this._hash = U.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
|
2939
2939
|
},
|
|
2940
|
-
_doProcessBlock: function(
|
|
2940
|
+
_doProcessBlock: function(h, D) {
|
|
2941
2941
|
for (var M = 0; M < 16; M++) {
|
|
2942
|
-
var A = D + M,
|
|
2943
|
-
|
|
2942
|
+
var A = D + M, T = h[A];
|
|
2943
|
+
h[A] = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360;
|
|
2944
2944
|
}
|
|
2945
|
-
var
|
|
2946
|
-
|
|
2947
|
-
for (var
|
|
2948
|
-
|
|
2949
|
-
|
|
2945
|
+
var x = this._hash.words, F = p.words, P = m.words, w = t.words, R = i.words, L = o.words, H = s.words, O, W, z, G, N, S, E, I, Z, $;
|
|
2946
|
+
S = O = x[0], E = W = x[1], I = z = x[2], Z = G = x[3], $ = N = x[4];
|
|
2947
|
+
for (var J, M = 0; M < 80; M += 1)
|
|
2948
|
+
J = O + h[D + w[M]] | 0, M < 16 ? J += c(W, z, G) + F[0] : M < 32 ? J += y(W, z, G) + F[1] : M < 48 ? J += _(W, z, G) + F[2] : M < 64 ? J += b(W, z, G) + F[3] : J += C(W, z, G) + F[4], J = J | 0, J = v(J, L[M]), J = J + N | 0, O = N, N = G, G = v(z, 10), z = W, W = J, J = S + h[D + R[M]] | 0, M < 16 ? J += C(E, I, Z) + P[0] : M < 32 ? J += b(E, I, Z) + P[1] : M < 48 ? J += _(E, I, Z) + P[2] : M < 64 ? J += y(E, I, Z) + P[3] : J += c(E, I, Z) + P[4], J = J | 0, J = v(J, H[M]), J = J + $ | 0, S = $, $ = Z, Z = v(I, 10), I = E, E = J;
|
|
2949
|
+
J = x[1] + z + Z | 0, x[1] = x[2] + G + $ | 0, x[2] = x[3] + N + S | 0, x[3] = x[4] + O + E | 0, x[4] = x[0] + W + I | 0, x[0] = J;
|
|
2950
2950
|
},
|
|
2951
2951
|
_doFinalize: function() {
|
|
2952
|
-
var
|
|
2953
|
-
D[A >>> 5] |= 128 << 24 - A % 32, D[(A + 64 >>> 9 << 4) + 14] = (M << 8 | M >>> 24) & 16711935 | (M << 24 | M >>> 8) & 4278255360,
|
|
2954
|
-
for (var
|
|
2955
|
-
var P =
|
|
2956
|
-
|
|
2952
|
+
var h = this._data, D = h.words, M = this._nDataBytes * 8, A = h.sigBytes * 8;
|
|
2953
|
+
D[A >>> 5] |= 128 << 24 - A % 32, D[(A + 64 >>> 9 << 4) + 14] = (M << 8 | M >>> 24) & 16711935 | (M << 24 | M >>> 8) & 4278255360, h.sigBytes = (D.length + 1) * 4, this._process();
|
|
2954
|
+
for (var T = this._hash, x = T.words, F = 0; F < 5; F++) {
|
|
2955
|
+
var P = x[F];
|
|
2956
|
+
x[F] = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360;
|
|
2957
2957
|
}
|
|
2958
|
-
return
|
|
2958
|
+
return T;
|
|
2959
2959
|
},
|
|
2960
2960
|
clone: function() {
|
|
2961
|
-
var
|
|
2962
|
-
return
|
|
2961
|
+
var h = d.clone.call(this);
|
|
2962
|
+
return h._hash = this._hash.clone(), h;
|
|
2963
2963
|
}
|
|
2964
2964
|
});
|
|
2965
|
-
function c(
|
|
2966
|
-
return
|
|
2965
|
+
function c(h, D, M) {
|
|
2966
|
+
return h ^ D ^ M;
|
|
2967
2967
|
}
|
|
2968
|
-
function y(
|
|
2969
|
-
return
|
|
2968
|
+
function y(h, D, M) {
|
|
2969
|
+
return h & D | ~h & M;
|
|
2970
2970
|
}
|
|
2971
|
-
function _(
|
|
2972
|
-
return (
|
|
2971
|
+
function _(h, D, M) {
|
|
2972
|
+
return (h | ~D) ^ M;
|
|
2973
2973
|
}
|
|
2974
|
-
function b(
|
|
2975
|
-
return
|
|
2974
|
+
function b(h, D, M) {
|
|
2975
|
+
return h & M | D & ~M;
|
|
2976
2976
|
}
|
|
2977
|
-
function C(
|
|
2978
|
-
return
|
|
2977
|
+
function C(h, D, M) {
|
|
2978
|
+
return h ^ (D | ~M);
|
|
2979
2979
|
}
|
|
2980
|
-
function v(
|
|
2981
|
-
return
|
|
2980
|
+
function v(h, D) {
|
|
2981
|
+
return h << D | h >>> 32 - D;
|
|
2982
2982
|
}
|
|
2983
2983
|
u.RIPEMD160 = d._createHelper(f), u.HmacRIPEMD160 = d._createHmacHelper(f);
|
|
2984
2984
|
})(), a.RIPEMD160;
|
|
@@ -3113,10 +3113,10 @@ function Wl() {
|
|
|
3113
3113
|
for (var p = this.cfg, m = t.create(p.hasher, o), f = U.create(), c = U.create([1]), y = f.words, _ = c.words, b = p.keySize, C = p.iterations; y.length < b; ) {
|
|
3114
3114
|
var v = m.update(s).finalize(c);
|
|
3115
3115
|
m.reset();
|
|
3116
|
-
for (var
|
|
3116
|
+
for (var h = v.words, D = h.length, M = v, A = 1; A < C; A++) {
|
|
3117
3117
|
M = m.finalize(M), m.reset();
|
|
3118
|
-
for (var
|
|
3119
|
-
|
|
3118
|
+
for (var T = M.words, x = 0; x < D; x++)
|
|
3119
|
+
h[x] ^= T[x];
|
|
3120
3120
|
}
|
|
3121
3121
|
f.concat(v), _[0]++;
|
|
3122
3122
|
}
|
|
@@ -3223,8 +3223,8 @@ function we() {
|
|
|
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(T, x) {
|
|
3227
|
+
return this.create(this._ENC_XFORM_MODE, T, x);
|
|
3228
3228
|
},
|
|
3229
3229
|
/**
|
|
3230
3230
|
* Creates this cipher in decryption mode.
|
|
@@ -3240,8 +3240,8 @@ function we() {
|
|
|
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(T, x) {
|
|
3244
|
+
return this.create(this._DEC_XFORM_MODE, T, x);
|
|
3245
3245
|
},
|
|
3246
3246
|
/**
|
|
3247
3247
|
* Initializes a newly created cipher.
|
|
@@ -3254,8 +3254,8 @@ function we() {
|
|
|
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(F), this._xformMode =
|
|
3257
|
+
init: function(T, x, F) {
|
|
3258
|
+
this.cfg = this.cfg.extend(F), this._xformMode = T, this._key = x, this.reset();
|
|
3259
3259
|
},
|
|
3260
3260
|
/**
|
|
3261
3261
|
* Resets this cipher to its initial state.
|
|
@@ -3279,8 +3279,8 @@ function we() {
|
|
|
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(T) {
|
|
3283
|
+
return this._append(T), this._process();
|
|
3284
3284
|
},
|
|
3285
3285
|
/**
|
|
3286
3286
|
* Finalizes the encryption or decryption process.
|
|
@@ -3296,10 +3296,10 @@ function we() {
|
|
|
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(T) {
|
|
3300
|
+
T && this._append(T);
|
|
3301
|
+
var x = this._doFinalize();
|
|
3302
|
+
return x;
|
|
3303
3303
|
},
|
|
3304
3304
|
keySize: 128 / 32,
|
|
3305
3305
|
ivSize: 128 / 32,
|
|
@@ -3319,16 +3319,16 @@ function we() {
|
|
|
3319
3319
|
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
|
|
3320
3320
|
*/
|
|
3321
3321
|
_createHelper: /* @__PURE__ */ (function() {
|
|
3322
|
-
function
|
|
3323
|
-
return typeof
|
|
3322
|
+
function T(x) {
|
|
3323
|
+
return typeof x == "string" ? A : h;
|
|
3324
3324
|
}
|
|
3325
|
-
return function(
|
|
3325
|
+
return function(x) {
|
|
3326
3326
|
return {
|
|
3327
3327
|
encrypt: function(F, P, w) {
|
|
3328
|
-
return
|
|
3328
|
+
return T(P).encrypt(x, F, P, w);
|
|
3329
3329
|
},
|
|
3330
3330
|
decrypt: function(F, P, w) {
|
|
3331
|
-
return
|
|
3331
|
+
return T(P).decrypt(x, F, P, w);
|
|
3332
3332
|
}
|
|
3333
3333
|
};
|
|
3334
3334
|
};
|
|
@@ -3336,8 +3336,8 @@ function we() {
|
|
|
3336
3336
|
});
|
|
3337
3337
|
g.StreamCipher = p.extend({
|
|
3338
3338
|
_doFinalize: function() {
|
|
3339
|
-
var
|
|
3340
|
-
return
|
|
3339
|
+
var T = this._process(!0);
|
|
3340
|
+
return T;
|
|
3341
3341
|
},
|
|
3342
3342
|
blockSize: 1
|
|
3343
3343
|
});
|
|
@@ -3354,8 +3354,8 @@ function we() {
|
|
|
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(T, x) {
|
|
3358
|
+
return this.Encryptor.create(T, x);
|
|
3359
3359
|
},
|
|
3360
3360
|
/**
|
|
3361
3361
|
* Creates this mode for decryption.
|
|
@@ -3369,8 +3369,8 @@ function we() {
|
|
|
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(T, x) {
|
|
3373
|
+
return this.Decryptor.create(T, x);
|
|
3374
3374
|
},
|
|
3375
3375
|
/**
|
|
3376
3376
|
* Initializes a newly created mode.
|
|
@@ -3382,12 +3382,12 @@ function we() {
|
|
|
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(T, x) {
|
|
3386
|
+
this._cipher = T, this._iv = x;
|
|
3387
3387
|
}
|
|
3388
3388
|
}), c = m.CBC = (function() {
|
|
3389
|
-
var
|
|
3390
|
-
|
|
3389
|
+
var T = f.extend();
|
|
3390
|
+
T.Encryptor = T.extend({
|
|
3391
3391
|
/**
|
|
3392
3392
|
* Processes the data block at offset.
|
|
3393
3393
|
*
|
|
@@ -3400,9 +3400,9 @@ function we() {
|
|
|
3400
3400
|
*/
|
|
3401
3401
|
processBlock: function(F, P) {
|
|
3402
3402
|
var w = this._cipher, R = w.blockSize;
|
|
3403
|
-
|
|
3403
|
+
x.call(this, F, P, R), w.encryptBlock(F, P), this._prevBlock = F.slice(P, P + R);
|
|
3404
3404
|
}
|
|
3405
|
-
}),
|
|
3405
|
+
}), T.Decryptor = T.extend({
|
|
3406
3406
|
/**
|
|
3407
3407
|
* Processes the data block at offset.
|
|
3408
3408
|
*
|
|
@@ -3415,16 +3415,16 @@ function we() {
|
|
|
3415
3415
|
*/
|
|
3416
3416
|
processBlock: function(F, P) {
|
|
3417
3417
|
var w = this._cipher, R = w.blockSize, L = F.slice(P, P + R);
|
|
3418
|
-
w.decryptBlock(F, P),
|
|
3418
|
+
w.decryptBlock(F, P), x.call(this, F, P, R), this._prevBlock = L;
|
|
3419
3419
|
}
|
|
3420
3420
|
});
|
|
3421
|
-
function
|
|
3421
|
+
function x(F, P, w) {
|
|
3422
3422
|
var R, L = this._iv;
|
|
3423
3423
|
L ? (R = L, this._iv = r) : R = this._prevBlock;
|
|
3424
|
-
for (var
|
|
3425
|
-
F[P +
|
|
3424
|
+
for (var H = 0; H < w; H++)
|
|
3425
|
+
F[P + H] ^= R[H];
|
|
3426
3426
|
}
|
|
3427
|
-
return
|
|
3427
|
+
return T;
|
|
3428
3428
|
})(), y = u.pad = {}, _ = y.Pkcs7 = {
|
|
3429
3429
|
/**
|
|
3430
3430
|
* Pads data using the algorithm defined in PKCS #5/7.
|
|
@@ -3438,11 +3438,11 @@ function we() {
|
|
|
3438
3438
|
*
|
|
3439
3439
|
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
|
3440
3440
|
*/
|
|
3441
|
-
pad: function(
|
|
3442
|
-
for (var F =
|
|
3441
|
+
pad: function(T, x) {
|
|
3442
|
+
for (var F = x * 4, P = F - T.sigBytes % F, w = P << 24 | P << 16 | P << 8 | P, R = [], L = 0; L < P; L += 4)
|
|
3443
3443
|
R.push(w);
|
|
3444
|
-
var
|
|
3445
|
-
|
|
3444
|
+
var H = d.create(R, P);
|
|
3445
|
+
T.concat(H);
|
|
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 we() {
|
|
|
3455
3455
|
*
|
|
3456
3456
|
* CryptoJS.pad.Pkcs7.unpad(wordArray);
|
|
3457
3457
|
*/
|
|
3458
|
-
unpad: function(
|
|
3459
|
-
var
|
|
3460
|
-
|
|
3458
|
+
unpad: function(T) {
|
|
3459
|
+
var x = T.words[T.sigBytes - 1 >>> 2] & 255;
|
|
3460
|
+
T.sigBytes -= x;
|
|
3461
3461
|
}
|
|
3462
3462
|
};
|
|
3463
3463
|
g.BlockCipher = p.extend({
|
|
@@ -3472,17 +3472,17 @@ function we() {
|
|
|
3472
3472
|
padding: _
|
|
3473
3473
|
}),
|
|
3474
3474
|
reset: function() {
|
|
3475
|
-
var
|
|
3475
|
+
var T;
|
|
3476
3476
|
p.reset.call(this);
|
|
3477
|
-
var
|
|
3478
|
-
this._xformMode == this._ENC_XFORM_MODE ?
|
|
3477
|
+
var x = this.cfg, F = x.iv, P = x.mode;
|
|
3478
|
+
this._xformMode == this._ENC_XFORM_MODE ? T = P.createEncryptor : (T = P.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == T ? this._mode.init(this, F && F.words) : (this._mode = T.call(P, this, F && F.words), this._mode.__creator = T);
|
|
3479
3479
|
},
|
|
3480
|
-
_doProcessBlock: function(
|
|
3481
|
-
this._mode.processBlock(
|
|
3480
|
+
_doProcessBlock: function(T, x) {
|
|
3481
|
+
this._mode.processBlock(T, x);
|
|
3482
3482
|
},
|
|
3483
3483
|
_doFinalize: function() {
|
|
3484
|
-
var
|
|
3485
|
-
return this._xformMode == this._ENC_XFORM_MODE ? (
|
|
3484
|
+
var T, x = this.cfg.padding;
|
|
3485
|
+
return this._xformMode == this._ENC_XFORM_MODE ? (x.pad(this._data, this.blockSize), T = this._process(!0)) : (T = this._process(!0), x.unpad(T)), T;
|
|
3486
3486
|
},
|
|
3487
3487
|
blockSize: 128 / 32
|
|
3488
3488
|
});
|
|
@@ -3506,8 +3506,8 @@ function we() {
|
|
|
3506
3506
|
* formatter: CryptoJS.format.OpenSSL
|
|
3507
3507
|
* });
|
|
3508
3508
|
*/
|
|
3509
|
-
init: function(
|
|
3510
|
-
this.mixIn(
|
|
3509
|
+
init: function(T) {
|
|
3510
|
+
this.mixIn(T);
|
|
3511
3511
|
},
|
|
3512
3512
|
/**
|
|
3513
3513
|
* Converts this cipher params object to a string.
|
|
@@ -3524,8 +3524,8 @@ function we() {
|
|
|
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(T) {
|
|
3528
|
+
return (T || this.formatter).stringify(this);
|
|
3529
3529
|
}
|
|
3530
3530
|
}), C = u.format = {}, v = C.OpenSSL = {
|
|
3531
3531
|
/**
|
|
@@ -3541,9 +3541,9 @@ function we() {
|
|
|
3541
3541
|
*
|
|
3542
3542
|
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
|
|
3543
3543
|
*/
|
|
3544
|
-
stringify: function(
|
|
3545
|
-
var
|
|
3546
|
-
return P ?
|
|
3544
|
+
stringify: function(T) {
|
|
3545
|
+
var x, F = T.ciphertext, P = T.salt;
|
|
3546
|
+
return P ? x = d.create([1398893684, 1701076831]).concat(P).concat(F) : x = F, x.toString(i);
|
|
3547
3547
|
},
|
|
3548
3548
|
/**
|
|
3549
3549
|
* Converts an OpenSSL-compatible string to a cipher params object.
|
|
@@ -3558,11 +3558,11 @@ function we() {
|
|
|
3558
3558
|
*
|
|
3559
3559
|
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
|
|
3560
3560
|
*/
|
|
3561
|
-
parse: function(
|
|
3562
|
-
var
|
|
3563
|
-
return P[0] == 1398893684 && P[1] == 1701076831 && (
|
|
3561
|
+
parse: function(T) {
|
|
3562
|
+
var x, F = i.parse(T), P = F.words;
|
|
3563
|
+
return P[0] == 1398893684 && P[1] == 1701076831 && (x = d.create(P.slice(2, 4)), P.splice(0, 4), F.sigBytes -= 16), b.create({ ciphertext: F, salt: x });
|
|
3564
3564
|
}
|
|
3565
|
-
},
|
|
3565
|
+
}, h = g.SerializableCipher = U.extend({
|
|
3566
3566
|
/**
|
|
3567
3567
|
* Configuration options.
|
|
3568
3568
|
*
|
|
@@ -3589,17 +3589,17 @@ function we() {
|
|
|
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(
|
|
3592
|
+
encrypt: function(T, x, F, P) {
|
|
3593
3593
|
P = this.cfg.extend(P);
|
|
3594
|
-
var w =
|
|
3594
|
+
var w = T.createEncryptor(F, P), R = w.finalize(x), L = w.cfg;
|
|
3595
3595
|
return b.create({
|
|
3596
3596
|
ciphertext: R,
|
|
3597
3597
|
key: F,
|
|
3598
3598
|
iv: L.iv,
|
|
3599
|
-
algorithm:
|
|
3599
|
+
algorithm: T,
|
|
3600
3600
|
mode: L.mode,
|
|
3601
3601
|
padding: L.padding,
|
|
3602
|
-
blockSize:
|
|
3602
|
+
blockSize: T.blockSize,
|
|
3603
3603
|
formatter: P.format
|
|
3604
3604
|
});
|
|
3605
3605
|
},
|
|
@@ -3620,9 +3620,9 @@ function we() {
|
|
|
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(
|
|
3624
|
-
P = this.cfg.extend(P),
|
|
3625
|
-
var w =
|
|
3623
|
+
decrypt: function(T, x, F, P) {
|
|
3624
|
+
P = this.cfg.extend(P), x = this._parse(x, P.format);
|
|
3625
|
+
var w = T.createDecryptor(F, P).finalize(x.ciphertext);
|
|
3626
3626
|
return w;
|
|
3627
3627
|
},
|
|
3628
3628
|
/**
|
|
@@ -3640,8 +3640,8 @@ function we() {
|
|
|
3640
3640
|
*
|
|
3641
3641
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
|
|
3642
3642
|
*/
|
|
3643
|
-
_parse: function(
|
|
3644
|
-
return typeof
|
|
3643
|
+
_parse: function(T, x) {
|
|
3644
|
+
return typeof T == "string" ? x.parse(T, this) : T;
|
|
3645
3645
|
}
|
|
3646
3646
|
}), D = u.kdf = {}, M = D.OpenSSL = {
|
|
3647
3647
|
/**
|
|
@@ -3661,21 +3661,21 @@ function we() {
|
|
|
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(
|
|
3664
|
+
execute: function(T, x, F, P, w) {
|
|
3665
3665
|
if (P || (P = d.random(64 / 8)), w)
|
|
3666
|
-
var R = s.create({ keySize:
|
|
3666
|
+
var R = s.create({ keySize: x + F, hasher: w }).compute(T, P);
|
|
3667
3667
|
else
|
|
3668
|
-
var R = s.create({ keySize:
|
|
3669
|
-
var L = d.create(R.words.slice(
|
|
3670
|
-
return R.sigBytes =
|
|
3668
|
+
var R = s.create({ keySize: x + F }).compute(T, P);
|
|
3669
|
+
var L = d.create(R.words.slice(x), F * 4);
|
|
3670
|
+
return R.sigBytes = x * 4, b.create({ key: R, iv: L, salt: P });
|
|
3671
3671
|
}
|
|
3672
|
-
}, A = g.PasswordBasedCipher =
|
|
3672
|
+
}, A = g.PasswordBasedCipher = h.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: h.cfg.extend({
|
|
3679
3679
|
kdf: M
|
|
3680
3680
|
}),
|
|
3681
3681
|
/**
|
|
@@ -3695,11 +3695,11 @@ function we() {
|
|
|
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(
|
|
3698
|
+
encrypt: function(T, x, F, P) {
|
|
3699
3699
|
P = this.cfg.extend(P);
|
|
3700
|
-
var w = P.kdf.execute(F,
|
|
3700
|
+
var w = P.kdf.execute(F, T.keySize, T.ivSize, P.salt, P.hasher);
|
|
3701
3701
|
P.iv = w.iv;
|
|
3702
|
-
var R =
|
|
3702
|
+
var R = h.encrypt.call(this, T, x, w.key, P);
|
|
3703
3703
|
return R.mixIn(w), R;
|
|
3704
3704
|
},
|
|
3705
3705
|
/**
|
|
@@ -3719,11 +3719,11 @@ function we() {
|
|
|
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(
|
|
3723
|
-
P = this.cfg.extend(P),
|
|
3724
|
-
var w = P.kdf.execute(F,
|
|
3722
|
+
decrypt: function(T, x, F, P) {
|
|
3723
|
+
P = this.cfg.extend(P), x = this._parse(x, P.format);
|
|
3724
|
+
var w = P.kdf.execute(F, T.keySize, T.ivSize, x.salt, P.hasher);
|
|
3725
3725
|
P.iv = w.iv;
|
|
3726
|
-
var R =
|
|
3726
|
+
var R = h.decrypt.call(this, T, x, w.key, P);
|
|
3727
3727
|
return R;
|
|
3728
3728
|
}
|
|
3729
3729
|
});
|
|
@@ -4008,28 +4008,28 @@ function co() {
|
|
|
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 D =
|
|
4011
|
+
for (var v = 0, h = 0, C = 0; C < 256; C++) {
|
|
4012
|
+
var D = h ^ h << 1 ^ h << 2 ^ h << 3 ^ h << 4;
|
|
4013
4013
|
D = D >>> 8 ^ D & 255 ^ 99, d[v] = D, l[D] = v;
|
|
4014
|
-
var M = b[v], A = b[M],
|
|
4015
|
-
t[v] =
|
|
4016
|
-
var
|
|
4017
|
-
p[D] =
|
|
4014
|
+
var M = b[v], A = b[M], T = b[A], x = b[D] * 257 ^ D * 16843008;
|
|
4015
|
+
t[v] = x << 24 | x >>> 8, i[v] = x << 16 | x >>> 16, o[v] = x << 8 | x >>> 24, s[v] = x;
|
|
4016
|
+
var x = T * 16843009 ^ A * 65537 ^ M * 257 ^ v * 16843008;
|
|
4017
|
+
p[D] = x << 24 | x >>> 8, m[D] = x << 16 | x >>> 16, f[D] = x << 8 | x >>> 24, c[D] = x, v ? (v = M ^ b[b[b[T ^ M]]], h ^= b[b[h]]) : v = h = 1;
|
|
4018
4018
|
}
|
|
4019
4019
|
})();
|
|
4020
4020
|
var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], _ = 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
|
|
4024
|
+
for (var C = this._keyPriorReset = this._key, v = C.words, h = C.sigBytes / 4, D = this._nRounds = h + 6, M = (D + 1) * 4, A = this._keySchedule = [], T = 0; T < M; T++)
|
|
4025
|
+
T < h ? A[T] = v[T] : (b = A[T - 1], T % h ? h > 6 && T % h == 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[T / h | 0] << 24), A[T] = A[T - h] ^ b);
|
|
4026
|
+
for (var x = this._invKeySchedule = [], F = 0; F < M; F++) {
|
|
4027
|
+
var T = M - F;
|
|
4028
4028
|
if (F % 4)
|
|
4029
|
-
var b = A[
|
|
4029
|
+
var b = A[T];
|
|
4030
4030
|
else
|
|
4031
|
-
var b = A[
|
|
4032
|
-
F < 4 ||
|
|
4031
|
+
var b = A[T - 4];
|
|
4032
|
+
F < 4 || T <= 4 ? x[F] = b : x[F] = p[d[b >>> 24]] ^ m[d[b >>> 16 & 255]] ^ f[d[b >>> 8 & 255]] ^ c[d[b & 255]];
|
|
4033
4033
|
}
|
|
4034
4034
|
}
|
|
4035
4035
|
},
|
|
@@ -4042,12 +4042,12 @@ function co() {
|
|
|
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 O =
|
|
4045
|
+
_doCryptBlock: function(b, C, v, h, D, M, A, T) {
|
|
4046
|
+
for (var x = this._nRounds, F = b[C] ^ v[0], P = b[C + 1] ^ v[1], w = b[C + 2] ^ v[2], R = b[C + 3] ^ v[3], L = 4, H = 1; H < x; H++) {
|
|
4047
|
+
var O = h[F >>> 24] ^ D[P >>> 16 & 255] ^ M[w >>> 8 & 255] ^ A[R & 255] ^ v[L++], W = h[P >>> 24] ^ D[w >>> 16 & 255] ^ M[R >>> 8 & 255] ^ A[F & 255] ^ v[L++], z = h[w >>> 24] ^ D[R >>> 16 & 255] ^ M[F >>> 8 & 255] ^ A[P & 255] ^ v[L++], G = h[R >>> 24] ^ D[F >>> 16 & 255] ^ M[P >>> 8 & 255] ^ A[w & 255] ^ v[L++];
|
|
4048
4048
|
F = O, P = W, w = z, R = G;
|
|
4049
4049
|
}
|
|
4050
|
-
var O = (
|
|
4050
|
+
var O = (T[F >>> 24] << 24 | T[P >>> 16 & 255] << 16 | T[w >>> 8 & 255] << 8 | T[R & 255]) ^ v[L++], W = (T[P >>> 24] << 24 | T[w >>> 16 & 255] << 16 | T[R >>> 8 & 255] << 8 | T[F & 255]) ^ v[L++], z = (T[w >>> 24] << 24 | T[R >>> 16 & 255] << 16 | T[F >>> 8 & 255] << 8 | T[P & 255]) ^ v[L++], G = (T[R >>> 24] << 24 | T[F >>> 16 & 255] << 16 | T[P >>> 8 & 255] << 8 | T[w & 255]) ^ v[L++];
|
|
4051
4051
|
b[C] = O, b[C + 1] = W, b[C + 2] = z, b[C + 3] = G;
|
|
4052
4052
|
},
|
|
4053
4053
|
keySize: 256 / 32
|
|
@@ -4714,16 +4714,16 @@ function _o() {
|
|
|
4714
4714
|
var v = l[C] - 1;
|
|
4715
4715
|
b[C] = _[v >>> 5] >>> 31 - v % 32 & 1;
|
|
4716
4716
|
}
|
|
4717
|
-
for (var
|
|
4718
|
-
for (var M =
|
|
4717
|
+
for (var h = this._subKeys = [], D = 0; D < 16; D++) {
|
|
4718
|
+
for (var M = h[D] = [], A = i[D], C = 0; C < 24; C++)
|
|
4719
4719
|
M[C / 6 | 0] |= b[(t[C] - 1 + A) % 28] << 31 - C % 6, M[4 + (C / 6 | 0)] |= b[28 + (t[C + 24] - 1 + A) % 28] << 31 - C % 6;
|
|
4720
4720
|
M[0] = M[0] << 1 | M[0] >>> 31;
|
|
4721
4721
|
for (var C = 1; C < 7; C++)
|
|
4722
4722
|
M[C] = M[C] >>> (C - 1) * 4 + 3;
|
|
4723
4723
|
M[7] = M[7] << 5 | M[7] >>> 27;
|
|
4724
4724
|
}
|
|
4725
|
-
for (var
|
|
4726
|
-
|
|
4725
|
+
for (var T = this._invSubKeys = [], C = 0; C < 16; C++)
|
|
4726
|
+
T[C] = h[15 - C];
|
|
4727
4727
|
},
|
|
4728
4728
|
encryptBlock: function(y, _) {
|
|
4729
4729
|
this._doCryptBlock(y, _, this._subKeys);
|
|
@@ -4734,12 +4734,12 @@ function _o() {
|
|
|
4734
4734
|
_doCryptBlock: function(y, _, b) {
|
|
4735
4735
|
this._lBlock = y[_], this._rBlock = y[_ + 1], m.call(this, 4, 252645135), m.call(this, 16, 65535), f.call(this, 2, 858993459), f.call(this, 8, 16711935), m.call(this, 1, 1431655765);
|
|
4736
4736
|
for (var C = 0; C < 16; C++) {
|
|
4737
|
-
for (var v = b[C],
|
|
4737
|
+
for (var v = b[C], h = this._lBlock, D = this._rBlock, M = 0, A = 0; A < 8; A++)
|
|
4738
4738
|
M |= o[A][((D ^ v[A]) & s[A]) >>> 0];
|
|
4739
|
-
this._lBlock = D, this._rBlock =
|
|
4739
|
+
this._lBlock = D, this._rBlock = h ^ M;
|
|
4740
4740
|
}
|
|
4741
|
-
var
|
|
4742
|
-
this._lBlock = this._rBlock, this._rBlock =
|
|
4741
|
+
var T = this._lBlock;
|
|
4742
|
+
this._lBlock = this._rBlock, this._rBlock = T, m.call(this, 1, 1431655765), f.call(this, 8, 16711935), f.call(this, 2, 858993459), m.call(this, 16, 65535), m.call(this, 4, 252645135), y[_] = this._lBlock, y[_ + 1] = this._rBlock;
|
|
4743
4743
|
},
|
|
4744
4744
|
keySize: 64 / 32,
|
|
4745
4745
|
ivSize: 64 / 32,
|
|
@@ -4867,8 +4867,8 @@ function Co() {
|
|
|
4867
4867
|
for (var m = 0; m < 8; m++)
|
|
4868
4868
|
c[m] ^= f[m + 4 & 7];
|
|
4869
4869
|
if (p) {
|
|
4870
|
-
var y = p.words, _ = y[0], b = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360,
|
|
4871
|
-
c[0] ^= C, c[1] ^=
|
|
4870
|
+
var y = p.words, _ = y[0], b = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, h = C >>> 16 | v & 4294901760, D = v << 16 | C & 65535;
|
|
4871
|
+
c[0] ^= C, c[1] ^= h, c[2] ^= v, c[3] ^= D, c[4] ^= C, c[5] ^= h, c[6] ^= v, c[7] ^= D;
|
|
4872
4872
|
for (var m = 0; m < 4; m++)
|
|
4873
4873
|
o.call(this);
|
|
4874
4874
|
}
|
|
@@ -4931,8 +4931,8 @@ function ho() {
|
|
|
4931
4931
|
for (var c = 0; c < 8; c++)
|
|
4932
4932
|
f[c] ^= m[c + 4 & 7];
|
|
4933
4933
|
if (p) {
|
|
4934
|
-
var y = p.words, _ = y[0], b = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360,
|
|
4935
|
-
f[0] ^= C, f[1] ^=
|
|
4934
|
+
var y = p.words, _ = y[0], b = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, h = C >>> 16 | v & 4294901760, D = v << 16 | C & 65535;
|
|
4935
|
+
f[0] ^= C, f[1] ^= h, f[2] ^= v, f[3] ^= D, f[4] ^= C, f[5] ^= h, f[6] ^= v, f[7] ^= D;
|
|
4936
4936
|
for (var c = 0; c < 4; c++)
|
|
4937
4937
|
o.call(this);
|
|
4938
4938
|
}
|
|
@@ -6027,19 +6027,19 @@ function ko() {
|
|
|
6027
6027
|
sbox: []
|
|
6028
6028
|
};
|
|
6029
6029
|
function o(c, y) {
|
|
6030
|
-
let _ = y >> 24 & 255, b = y >> 16 & 255, C = y >> 8 & 255, v = y & 255,
|
|
6031
|
-
return
|
|
6030
|
+
let _ = y >> 24 & 255, b = y >> 16 & 255, C = y >> 8 & 255, v = y & 255, h = c.sbox[0][_] + c.sbox[1][b];
|
|
6031
|
+
return h = h ^ c.sbox[2][C], h = h + c.sbox[3][v], h;
|
|
6032
6032
|
}
|
|
6033
6033
|
function s(c, y, _) {
|
|
6034
6034
|
let b = y, C = _, v;
|
|
6035
|
-
for (let
|
|
6036
|
-
b = b ^ c.pbox[
|
|
6035
|
+
for (let h = 0; h < d; ++h)
|
|
6036
|
+
b = b ^ c.pbox[h], 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 p(c, y, _) {
|
|
6040
6040
|
let b = y, C = _, v;
|
|
6041
|
-
for (let
|
|
6042
|
-
b = b ^ c.pbox[
|
|
6041
|
+
for (let h = d + 1; h > 1; --h)
|
|
6042
|
+
b = b ^ c.pbox[h], 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, _) {
|
|
@@ -6051,12 +6051,12 @@ function ko() {
|
|
|
6051
6051
|
let b = 0;
|
|
6052
6052
|
for (let D = 0; D < d + 2; D++)
|
|
6053
6053
|
c.pbox[D] = l[D] ^ y[b], b++, b >= _ && (b = 0);
|
|
6054
|
-
let C = 0, v = 0,
|
|
6054
|
+
let C = 0, v = 0, h = 0;
|
|
6055
6055
|
for (let D = 0; D < d + 2; D += 2)
|
|
6056
|
-
|
|
6056
|
+
h = s(c, C, v), C = h.left, v = h.right, c.pbox[D] = C, c.pbox[D + 1] = v;
|
|
6057
6057
|
for (let D = 0; D < 4; D++)
|
|
6058
6058
|
for (let M = 0; M < 256; M += 2)
|
|
6059
|
-
|
|
6059
|
+
h = s(c, C, v), C = h.left, v = h.right, c.sbox[D][M] = C, c.sbox[D][M + 1] = v;
|
|
6060
6060
|
return !0;
|
|
6061
6061
|
}
|
|
6062
6062
|
var f = U.Blowfish = g.extend({
|
|
@@ -6104,277 +6104,289 @@ const ha = /* @__PURE__ */ bi(tt), Oa = (e) => {
|
|
|
6104
6104
|
padding: ha.pad.Pkcs7
|
|
6105
6105
|
}), g = a.toString(ha.enc.Base64), U = ha.enc.Base64.stringify(u.ciphertext);
|
|
6106
6106
|
return g + ":" + U;
|
|
6107
|
-
},
|
|
6108
|
-
const { client: e, formDataClient: n } = le(), a =
|
|
6109
|
-
async (
|
|
6110
|
-
const { mac_address: E = "", app_version:
|
|
6107
|
+
}, ne = () => {
|
|
6108
|
+
const { client: e, formDataClient: n } = le(), a = B(
|
|
6109
|
+
async (S) => {
|
|
6110
|
+
const { mac_address: E = "", app_version: I = "", anydesk_id: Z = "" } = S;
|
|
6111
6111
|
return await e.post("/cash-register/login", {
|
|
6112
6112
|
mac_address: E,
|
|
6113
|
-
app_version:
|
|
6114
|
-
anydesk_id:
|
|
6113
|
+
app_version: I,
|
|
6114
|
+
anydesk_id: Z
|
|
6115
6115
|
});
|
|
6116
6116
|
},
|
|
6117
6117
|
[e]
|
|
6118
|
-
), r =
|
|
6119
|
-
async (
|
|
6120
|
-
const { account: E, password:
|
|
6118
|
+
), r = B(async () => e.get("/member/getMemberInfo"), [e]), u = B(async () => await e.get("/member/getGameList"), [e]), g = B(async () => await e.get("/member/getNowCurrencyExchange"), [e]), U = B(async () => await e.get("member/getFavoriteGame"), [e]), d = B(
|
|
6119
|
+
async (S) => {
|
|
6120
|
+
const { account: E, password: I, trans_code: Z, two_fa_value: $ } = S;
|
|
6121
6121
|
return await e.post("/login", {
|
|
6122
6122
|
memId: E,
|
|
6123
|
-
passwd:
|
|
6124
|
-
trans_code:
|
|
6125
|
-
two_fa_value:
|
|
6123
|
+
passwd: I,
|
|
6124
|
+
trans_code: Z,
|
|
6125
|
+
two_fa_value: $
|
|
6126
6126
|
});
|
|
6127
6127
|
},
|
|
6128
6128
|
[e]
|
|
6129
|
-
), l =
|
|
6130
|
-
async (
|
|
6131
|
-
const { gameUid: E = "", status:
|
|
6129
|
+
), l = B(async () => await e.post("/logout"), [e]), t = B(
|
|
6130
|
+
async (S) => {
|
|
6131
|
+
const { gameUid: E = "", status: I = 0 } = S;
|
|
6132
6132
|
return await e.put(`/member/toggleFavoriteGame/${E}`, {
|
|
6133
|
-
status:
|
|
6133
|
+
status: I
|
|
6134
6134
|
});
|
|
6135
6135
|
},
|
|
6136
6136
|
[e]
|
|
6137
|
-
), i =
|
|
6137
|
+
), i = B(async () => await e.get("/profit/ranking"), [e]), o = B(
|
|
6138
6138
|
async ({
|
|
6139
|
-
memberId:
|
|
6139
|
+
memberId: S,
|
|
6140
6140
|
password: E,
|
|
6141
|
-
unlimitCode:
|
|
6142
|
-
email:
|
|
6143
|
-
inviteCode:
|
|
6144
|
-
currencyCode:
|
|
6145
|
-
validCode:
|
|
6141
|
+
unlimitCode: I,
|
|
6142
|
+
email: Z,
|
|
6143
|
+
inviteCode: $,
|
|
6144
|
+
currencyCode: J,
|
|
6145
|
+
validCode: Y
|
|
6146
6146
|
}) => {
|
|
6147
|
-
const
|
|
6148
|
-
memId:
|
|
6147
|
+
const ee = {
|
|
6148
|
+
memId: S,
|
|
6149
6149
|
passwd: Oa(E),
|
|
6150
|
-
email:
|
|
6151
|
-
currency_code:
|
|
6152
|
-
code:
|
|
6150
|
+
email: Z,
|
|
6151
|
+
currency_code: J,
|
|
6152
|
+
code: Y
|
|
6153
6153
|
};
|
|
6154
|
-
return
|
|
6154
|
+
return I && (ee.unlimit_code = I), $ && (ee.invite = $), e.post("/signUp", ee);
|
|
6155
6155
|
},
|
|
6156
6156
|
[e]
|
|
6157
|
-
), s =
|
|
6158
|
-
async (
|
|
6159
|
-
const { name: E, birthday:
|
|
6157
|
+
), s = B(
|
|
6158
|
+
async (S) => {
|
|
6159
|
+
const { name: E, birthday: I, email: Z, mobile: $ } = S;
|
|
6160
6160
|
return await e.post("/editMembetInfo", {
|
|
6161
6161
|
name: E,
|
|
6162
6162
|
// 暱稱
|
|
6163
|
-
birthday:
|
|
6163
|
+
birthday: I,
|
|
6164
6164
|
// 生日 (格式:YYYY-MM-DD)
|
|
6165
|
-
email:
|
|
6165
|
+
email: Z,
|
|
6166
6166
|
// 電子郵件
|
|
6167
|
-
mobile:
|
|
6167
|
+
mobile: $
|
|
6168
6168
|
// 手機號碼
|
|
6169
6169
|
});
|
|
6170
6170
|
},
|
|
6171
6171
|
[e]
|
|
6172
|
-
), p =
|
|
6173
|
-
async (
|
|
6174
|
-
const { oldPwd: E, newPwd:
|
|
6172
|
+
), p = B(
|
|
6173
|
+
async (S) => {
|
|
6174
|
+
const { oldPwd: E, newPwd: I } = S;
|
|
6175
6175
|
return await e.post("/passwordReset", {
|
|
6176
6176
|
old_pwd: tt.MD5(E).toString(),
|
|
6177
|
-
new_pwd: tt.MD5(
|
|
6177
|
+
new_pwd: tt.MD5(I).toString()
|
|
6178
6178
|
});
|
|
6179
6179
|
},
|
|
6180
6180
|
[e]
|
|
6181
|
-
), m =
|
|
6182
|
-
async (
|
|
6183
|
-
const { newPwd: E } =
|
|
6181
|
+
), m = B(
|
|
6182
|
+
async (S) => {
|
|
6183
|
+
const { newPwd: E } = S, I = tt.MD5(E).toString();
|
|
6184
6184
|
return await e.post("/member/initset", {
|
|
6185
|
-
password:
|
|
6186
|
-
password_confirmation:
|
|
6185
|
+
password: I,
|
|
6186
|
+
password_confirmation: I
|
|
6187
6187
|
});
|
|
6188
6188
|
},
|
|
6189
6189
|
[e]
|
|
6190
|
-
), f =
|
|
6191
|
-
async (
|
|
6192
|
-
const { newPwd: E, confirmNewPwd:
|
|
6190
|
+
), f = B(
|
|
6191
|
+
async (S) => {
|
|
6192
|
+
const { newPwd: E, confirmNewPwd: I } = S;
|
|
6193
6193
|
return await e.post("/setWithdrawPassword", {
|
|
6194
6194
|
newPassword: Oa(E),
|
|
6195
|
-
confirmPassword: Oa(
|
|
6195
|
+
confirmPassword: Oa(I)
|
|
6196
6196
|
});
|
|
6197
6197
|
},
|
|
6198
6198
|
[e]
|
|
6199
|
-
), c =
|
|
6200
|
-
async (
|
|
6201
|
-
const { oldPwd: E, newPwd:
|
|
6199
|
+
), c = B(
|
|
6200
|
+
async (S) => {
|
|
6201
|
+
const { oldPwd: E, newPwd: I } = S;
|
|
6202
6202
|
return await e.post("/withdrawPasswordReset", {
|
|
6203
6203
|
old_pwd: Oa(E),
|
|
6204
|
-
new_pwd: Oa(
|
|
6204
|
+
new_pwd: Oa(I)
|
|
6205
6205
|
});
|
|
6206
6206
|
},
|
|
6207
6207
|
[e]
|
|
6208
|
-
), y =
|
|
6209
|
-
async (
|
|
6210
|
-
const { mobile: E, verification_code:
|
|
6208
|
+
), y = B(
|
|
6209
|
+
async (S) => {
|
|
6210
|
+
const { mobile: E, verification_code: I } = S;
|
|
6211
6211
|
return await e.post("/withdrawPasswordRenew", {
|
|
6212
6212
|
mobile: E,
|
|
6213
|
-
verification_code:
|
|
6213
|
+
verification_code: I
|
|
6214
6214
|
});
|
|
6215
6215
|
},
|
|
6216
6216
|
[e]
|
|
6217
|
-
), _ =
|
|
6218
|
-
async ({ paramsData:
|
|
6219
|
-
const { start_time: E, end_time:
|
|
6217
|
+
), _ = B(
|
|
6218
|
+
async ({ paramsData: S }) => {
|
|
6219
|
+
const { start_time: E, end_time: I, limit: Z = 25 } = S || {};
|
|
6220
6220
|
return await e.get("/report/totalprofit", {
|
|
6221
6221
|
params: {
|
|
6222
6222
|
str_date: `${Re(E).format("YYYY-MM-DD")} 12:00:00`,
|
|
6223
|
-
end_date: `${Re(
|
|
6224
|
-
limit:
|
|
6223
|
+
end_date: `${Re(I).format("YYYY-MM-DD")} 11:59:59`,
|
|
6224
|
+
limit: Z
|
|
6225
6225
|
}
|
|
6226
6226
|
});
|
|
6227
6227
|
},
|
|
6228
6228
|
[e]
|
|
6229
|
-
), b =
|
|
6230
|
-
async (
|
|
6231
|
-
const { platform: E } =
|
|
6229
|
+
), b = B(
|
|
6230
|
+
async (S) => {
|
|
6231
|
+
const { platform: E } = S;
|
|
6232
6232
|
return await e.post("/member/all-in-la", {
|
|
6233
6233
|
platform: E
|
|
6234
6234
|
});
|
|
6235
6235
|
},
|
|
6236
6236
|
[e]
|
|
6237
|
-
), C =
|
|
6238
|
-
async (
|
|
6239
|
-
const { memId: E, point:
|
|
6237
|
+
), C = B(async () => await e.get("/member/checkRestrictedWagering"), [e]), v = B(
|
|
6238
|
+
async (S) => {
|
|
6239
|
+
const { memId: E, point: I, currency: Z, password: $ } = S;
|
|
6240
6240
|
return await e.post("/pointsTransaction", {
|
|
6241
6241
|
to_memId: E,
|
|
6242
|
-
point:
|
|
6243
|
-
currency:
|
|
6244
|
-
password: Oa(
|
|
6242
|
+
point: I,
|
|
6243
|
+
currency: Z,
|
|
6244
|
+
password: Oa($)
|
|
6245
6245
|
});
|
|
6246
6246
|
},
|
|
6247
6247
|
[e]
|
|
6248
|
-
),
|
|
6249
|
-
async ({ formData:
|
|
6248
|
+
), h = B(
|
|
6249
|
+
async ({ formData: S }) => {
|
|
6250
6250
|
const {
|
|
6251
6251
|
bank_name: E,
|
|
6252
|
-
bank_account_name:
|
|
6253
|
-
bank_branch_name:
|
|
6254
|
-
bank_account:
|
|
6255
|
-
bank_card_number:
|
|
6256
|
-
id_card:
|
|
6257
|
-
id_pic:
|
|
6258
|
-
} =
|
|
6259
|
-
return await n.post("/bindBankAccount",
|
|
6252
|
+
bank_account_name: I,
|
|
6253
|
+
bank_branch_name: Z,
|
|
6254
|
+
bank_account: $,
|
|
6255
|
+
bank_card_number: J,
|
|
6256
|
+
id_card: Y,
|
|
6257
|
+
id_pic: ee
|
|
6258
|
+
} = S;
|
|
6259
|
+
return await n.post("/bindBankAccount", S);
|
|
6260
6260
|
},
|
|
6261
6261
|
[n]
|
|
6262
|
-
), D =
|
|
6263
|
-
async (
|
|
6264
|
-
const { point_transfer: E } =
|
|
6262
|
+
), D = B(
|
|
6263
|
+
async (S) => {
|
|
6264
|
+
const { point_transfer: E } = S;
|
|
6265
6265
|
return await e.post("/cash-register/clear", {
|
|
6266
6266
|
point_transfer: E
|
|
6267
6267
|
});
|
|
6268
6268
|
},
|
|
6269
6269
|
[e]
|
|
6270
|
-
), M =
|
|
6271
|
-
async (
|
|
6272
|
-
const { trans_code: E, line_id:
|
|
6270
|
+
), M = B(
|
|
6271
|
+
async (S) => {
|
|
6272
|
+
const { trans_code: E, line_id: I, invite: Z, line_name: $ } = S;
|
|
6273
6273
|
return await e.post("/goLine", {
|
|
6274
6274
|
trans_code: E,
|
|
6275
|
-
line_id:
|
|
6276
|
-
invite:
|
|
6277
|
-
line_name:
|
|
6275
|
+
line_id: I,
|
|
6276
|
+
invite: Z,
|
|
6277
|
+
line_name: $
|
|
6278
6278
|
});
|
|
6279
6279
|
},
|
|
6280
6280
|
[e]
|
|
6281
|
-
), A =
|
|
6282
|
-
async (
|
|
6283
|
-
const { trans_code: E, line_id:
|
|
6281
|
+
), A = B(
|
|
6282
|
+
async (S) => {
|
|
6283
|
+
const { trans_code: E, line_id: I, line_name: Z } = S;
|
|
6284
6284
|
return await e.post("/login/line", {
|
|
6285
6285
|
trans_code: E,
|
|
6286
|
-
line_id:
|
|
6287
|
-
line_name:
|
|
6286
|
+
line_id: I,
|
|
6287
|
+
line_name: Z
|
|
6288
6288
|
});
|
|
6289
6289
|
},
|
|
6290
6290
|
[e]
|
|
6291
|
-
),
|
|
6292
|
-
async (
|
|
6293
|
-
const { mac_address: E } =
|
|
6291
|
+
), T = B(
|
|
6292
|
+
async (S) => {
|
|
6293
|
+
const { mac_address: E } = S;
|
|
6294
6294
|
return await e.get(`/machine-login-code/${E}`);
|
|
6295
6295
|
},
|
|
6296
6296
|
[e]
|
|
6297
|
-
),
|
|
6298
|
-
async (
|
|
6299
|
-
const { member_info_uid: E, point:
|
|
6297
|
+
), x = B(
|
|
6298
|
+
async (S) => {
|
|
6299
|
+
const { member_info_uid: E, point: I, currency: Z, withdraw_password: $ } = S;
|
|
6300
6300
|
return await e.post(`/member/transfer/${E}`, {
|
|
6301
|
-
point:
|
|
6302
|
-
currency:
|
|
6303
|
-
withdraw_password:
|
|
6301
|
+
point: I,
|
|
6302
|
+
currency: Z,
|
|
6303
|
+
withdraw_password: $
|
|
6304
|
+
});
|
|
6305
|
+
},
|
|
6306
|
+
[e]
|
|
6307
|
+
), F = B(
|
|
6308
|
+
async (S) => {
|
|
6309
|
+
const { member_info_uid: E, point: I, currency: Z, withdraw_password: $ } = S;
|
|
6310
|
+
return await e.get(`/member/transfer/${E}`, {
|
|
6311
|
+
params: {
|
|
6312
|
+
point: I,
|
|
6313
|
+
currency: Z,
|
|
6314
|
+
withdraw_password: $
|
|
6315
|
+
}
|
|
6304
6316
|
});
|
|
6305
6317
|
},
|
|
6306
6318
|
[e]
|
|
6307
|
-
),
|
|
6308
|
-
async (
|
|
6309
|
-
const { mobile: E, verifyCode:
|
|
6319
|
+
), P = B(
|
|
6320
|
+
async (S) => {
|
|
6321
|
+
const { mobile: E, verifyCode: I } = S;
|
|
6310
6322
|
return await e.post("/sms/verifyValidationCode", {
|
|
6311
6323
|
mobile: E,
|
|
6312
|
-
inputCode:
|
|
6324
|
+
inputCode: I
|
|
6313
6325
|
});
|
|
6314
6326
|
},
|
|
6315
6327
|
[e]
|
|
6316
|
-
),
|
|
6317
|
-
async (
|
|
6318
|
-
const { mobile: E, verifyCode:
|
|
6328
|
+
), w = B(
|
|
6329
|
+
async (S) => {
|
|
6330
|
+
const { mobile: E, verifyCode: I, snCode: Z, invoiceType: $, invoiceCode: J } = S;
|
|
6319
6331
|
return await e.post("/goMobile", {
|
|
6320
6332
|
mobile: E,
|
|
6321
|
-
verification_code:
|
|
6322
|
-
sn_code:
|
|
6323
|
-
invoice_type:
|
|
6324
|
-
invoice_code:
|
|
6333
|
+
verification_code: I,
|
|
6334
|
+
sn_code: Z,
|
|
6335
|
+
invoice_type: $,
|
|
6336
|
+
invoice_code: J
|
|
6325
6337
|
});
|
|
6326
6338
|
},
|
|
6327
6339
|
[e]
|
|
6328
|
-
),
|
|
6329
|
-
async (
|
|
6330
|
-
const { mobile: E, verifyCode:
|
|
6340
|
+
), R = B(
|
|
6341
|
+
async (S) => {
|
|
6342
|
+
const { mobile: E, verifyCode: I, invite: Z, invoiceType: $, invoiceCode: J } = S;
|
|
6331
6343
|
return await e.post("/goMobileByInvite", {
|
|
6332
6344
|
mobile: E,
|
|
6333
|
-
verification_code:
|
|
6334
|
-
invite:
|
|
6335
|
-
invoice_type:
|
|
6336
|
-
invoice_code:
|
|
6345
|
+
verification_code: I,
|
|
6346
|
+
invite: Z,
|
|
6347
|
+
invoice_type: $,
|
|
6348
|
+
invoice_code: J
|
|
6337
6349
|
});
|
|
6338
6350
|
},
|
|
6339
6351
|
[e]
|
|
6340
|
-
),
|
|
6341
|
-
async (
|
|
6342
|
-
const { mobile: E, invite:
|
|
6352
|
+
), L = B(
|
|
6353
|
+
async (S) => {
|
|
6354
|
+
const { mobile: E, invite: I } = S;
|
|
6343
6355
|
return await e.get("/sms/getValidCode", {
|
|
6344
6356
|
params: {
|
|
6345
6357
|
mobile: E,
|
|
6346
|
-
invite:
|
|
6358
|
+
invite: I
|
|
6347
6359
|
}
|
|
6348
6360
|
});
|
|
6349
6361
|
},
|
|
6350
6362
|
[e]
|
|
6351
|
-
),
|
|
6352
|
-
async (
|
|
6353
|
-
const { bindType: E, bindId:
|
|
6363
|
+
), H = B(
|
|
6364
|
+
async (S) => {
|
|
6365
|
+
const { bindType: E, bindId: I } = S;
|
|
6354
6366
|
return await e.post("/member/bindThirdPartyAccount", {
|
|
6355
6367
|
bind_type: E,
|
|
6356
|
-
bind_id:
|
|
6368
|
+
bind_id: I
|
|
6357
6369
|
});
|
|
6358
6370
|
},
|
|
6359
6371
|
[e]
|
|
6360
|
-
),
|
|
6361
|
-
async (
|
|
6372
|
+
), O = B(async () => await e.get("/jackpot", {}), [e]), W = B(
|
|
6373
|
+
async (S) => await e.get("/total-bet-ranking"),
|
|
6362
6374
|
[e]
|
|
6363
|
-
),
|
|
6364
|
-
async (
|
|
6365
|
-
const { avatarId: E } =
|
|
6375
|
+
), z = B(async () => await e.get("/member/avatar/list"), [e]), G = B(
|
|
6376
|
+
async (S) => {
|
|
6377
|
+
const { avatarId: E } = S;
|
|
6366
6378
|
return await e.post("/member/avatar/change", {
|
|
6367
6379
|
avatar_file_name: E
|
|
6368
6380
|
});
|
|
6369
6381
|
},
|
|
6370
6382
|
[e]
|
|
6371
|
-
),
|
|
6372
|
-
async ({ formData:
|
|
6383
|
+
), N = B(
|
|
6384
|
+
async ({ formData: S }) => await e.post("/cash-register/createMachine", S),
|
|
6373
6385
|
[e]
|
|
6374
6386
|
);
|
|
6375
6387
|
return {
|
|
6376
6388
|
machineLoginApi: a,
|
|
6377
|
-
createMachineApi:
|
|
6389
|
+
createMachineApi: N,
|
|
6378
6390
|
userInfoApi: r,
|
|
6379
6391
|
userGameListApi: u,
|
|
6380
6392
|
userFavoriteGameApi: U,
|
|
@@ -6390,28 +6402,29 @@ const ha = /* @__PURE__ */ bi(tt), Oa = (e) => {
|
|
|
6390
6402
|
setUserTransactionPasswordApi: f,
|
|
6391
6403
|
resetUserTransactionPasswordApi: c,
|
|
6392
6404
|
userRebateApi: _,
|
|
6393
|
-
userBindBankApi:
|
|
6405
|
+
userBindBankApi: h,
|
|
6394
6406
|
transferInGameApi: b,
|
|
6395
6407
|
checkUserWagerApi: C,
|
|
6396
6408
|
pointTransferApi: v,
|
|
6397
6409
|
abandonPointsApi: D,
|
|
6398
6410
|
lineLoginApi: M,
|
|
6399
6411
|
lineLogin2Api: A,
|
|
6400
|
-
getMachineLoginCodeApi:
|
|
6401
|
-
memberTransferApi:
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6412
|
+
getMachineLoginCodeApi: T,
|
|
6413
|
+
memberTransferApi: x,
|
|
6414
|
+
checkMemberTransferApi: F,
|
|
6415
|
+
mobileLoginApi: P,
|
|
6416
|
+
sendMobileVerifyCodeApi: L,
|
|
6417
|
+
mobileLoginApiV2: w,
|
|
6418
|
+
bindAccountApi: H,
|
|
6419
|
+
mobileRegisterApi: R,
|
|
6407
6420
|
verifyResetActionApi: y,
|
|
6408
|
-
getJackpotApi:
|
|
6409
|
-
getBetRankingApi:
|
|
6410
|
-
getUserAvatarListApi:
|
|
6411
|
-
updateUserAvatarApi:
|
|
6421
|
+
getJackpotApi: O,
|
|
6422
|
+
getBetRankingApi: W,
|
|
6423
|
+
getUserAvatarListApi: z,
|
|
6424
|
+
updateUserAvatarApi: G
|
|
6412
6425
|
};
|
|
6413
6426
|
}, Bm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
|
|
6414
|
-
const { userCurrencyExchangeApi: a } =
|
|
6427
|
+
const { userCurrencyExchangeApi: a } = ne(), { getToken: r } = le(), { enabled: u, ...g } = n, d = !!r?.() && (u ? u.every((l) => l) : !0);
|
|
6415
6428
|
return qn({
|
|
6416
6429
|
queries: [
|
|
6417
6430
|
{
|
|
@@ -6429,7 +6442,7 @@ const ha = /* @__PURE__ */ bi(tt), Oa = (e) => {
|
|
|
6429
6442
|
trigger: n = [],
|
|
6430
6443
|
enabled: a = !0
|
|
6431
6444
|
} = {}) => {
|
|
6432
|
-
const { getToken: r } = le(), u = r?.(), { userInfoApi: g } =
|
|
6445
|
+
const { getToken: r } = le(), u = r?.(), { userInfoApi: g } = ne();
|
|
6433
6446
|
return qn({
|
|
6434
6447
|
queries: [
|
|
6435
6448
|
{
|
|
@@ -6446,7 +6459,7 @@ const ha = /* @__PURE__ */ bi(tt), Oa = (e) => {
|
|
|
6446
6459
|
userFavoriteGameApi: a,
|
|
6447
6460
|
userGameListApi: r,
|
|
6448
6461
|
userCurrencyExchangeApi: u
|
|
6449
|
-
} =
|
|
6462
|
+
} = ne(), g = Q({
|
|
6450
6463
|
queryKey: ["getMemInfo"],
|
|
6451
6464
|
queryFn: async () => n(),
|
|
6452
6465
|
enabled: e
|
|
@@ -6470,7 +6483,7 @@ const ha = /* @__PURE__ */ bi(tt), Oa = (e) => {
|
|
|
6470
6483
|
l
|
|
6471
6484
|
];
|
|
6472
6485
|
}, hi = () => {
|
|
6473
|
-
const { client: e, lng: n } = le(), a = Ze(n || "tw"), r =
|
|
6486
|
+
const { client: e, lng: n } = le(), a = Ze(n || "tw"), r = B(
|
|
6474
6487
|
async (U) => {
|
|
6475
6488
|
const {
|
|
6476
6489
|
gameUid: d = "",
|
|
@@ -6495,7 +6508,7 @@ const ha = /* @__PURE__ */ bi(tt), Oa = (e) => {
|
|
|
6495
6508
|
});
|
|
6496
6509
|
},
|
|
6497
6510
|
[e, a]
|
|
6498
|
-
), u =
|
|
6511
|
+
), u = B(
|
|
6499
6512
|
async (U) => {
|
|
6500
6513
|
const {
|
|
6501
6514
|
startDate: d = Re().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
|
|
@@ -6513,7 +6526,7 @@ const ha = /* @__PURE__ */ bi(tt), Oa = (e) => {
|
|
|
6513
6526
|
return o;
|
|
6514
6527
|
},
|
|
6515
6528
|
[e]
|
|
6516
|
-
), g =
|
|
6529
|
+
), g = B(
|
|
6517
6530
|
async (U) => {
|
|
6518
6531
|
const {
|
|
6519
6532
|
startDate: d = Re().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
|
|
@@ -7061,7 +7074,7 @@ function Ro() {
|
|
|
7061
7074
|
for (var i = [], o = 2; o < arguments.length; o++)
|
|
7062
7075
|
i[o - 2] = arguments[o];
|
|
7063
7076
|
return n(void 0, r([l, t], i, !0), void 0, function(s, p, m) {
|
|
7064
|
-
var f, c, y, _, b, C, v,
|
|
7077
|
+
var f, c, y, _, b, C, v, h;
|
|
7065
7078
|
return m === void 0 && (m = 0), a(this, function(D) {
|
|
7066
7079
|
switch (D.label) {
|
|
7067
7080
|
case 0:
|
|
@@ -7076,7 +7089,7 @@ function Ro() {
|
|
|
7076
7089
|
case 4:
|
|
7077
7090
|
return D.sent(), [2, (0, e.getUrl)(s, p, m + 1)];
|
|
7078
7091
|
case 5:
|
|
7079
|
-
return (
|
|
7092
|
+
return (h = (v = p.current).onReconnectStop) === null || h === void 0 || h.call(v, m), [2, null];
|
|
7080
7093
|
case 6:
|
|
7081
7094
|
return [3, 8];
|
|
7082
7095
|
case 7:
|
|
@@ -7134,22 +7147,22 @@ function Di() {
|
|
|
7134
7147
|
});
|
|
7135
7148
|
}
|
|
7136
7149
|
return new (m || (m = Promise))(function(y, _) {
|
|
7137
|
-
function b(
|
|
7150
|
+
function b(h) {
|
|
7138
7151
|
try {
|
|
7139
|
-
v(f.next(
|
|
7152
|
+
v(f.next(h));
|
|
7140
7153
|
} catch (D) {
|
|
7141
7154
|
_(D);
|
|
7142
7155
|
}
|
|
7143
7156
|
}
|
|
7144
|
-
function C(
|
|
7157
|
+
function C(h) {
|
|
7145
7158
|
try {
|
|
7146
|
-
v(f.throw(
|
|
7159
|
+
v(f.throw(h));
|
|
7147
7160
|
} catch (D) {
|
|
7148
7161
|
_(D);
|
|
7149
7162
|
}
|
|
7150
7163
|
}
|
|
7151
|
-
function v(
|
|
7152
|
-
|
|
7164
|
+
function v(h) {
|
|
7165
|
+
h.done ? y(h.value) : c(h.value).then(b, C);
|
|
7153
7166
|
}
|
|
7154
7167
|
v((f = f.apply(s, p || [])).next());
|
|
7155
7168
|
});
|
|
@@ -7162,8 +7175,8 @@ function Di() {
|
|
|
7162
7175
|
return this;
|
|
7163
7176
|
}), _;
|
|
7164
7177
|
function b(v) {
|
|
7165
|
-
return function(
|
|
7166
|
-
return C([v,
|
|
7178
|
+
return function(h) {
|
|
7179
|
+
return C([v, h]);
|
|
7167
7180
|
};
|
|
7168
7181
|
}
|
|
7169
7182
|
function C(v) {
|
|
@@ -7204,8 +7217,8 @@ function Di() {
|
|
|
7204
7217
|
continue;
|
|
7205
7218
|
}
|
|
7206
7219
|
v = p.call(s, m);
|
|
7207
|
-
} catch (
|
|
7208
|
-
v = [6,
|
|
7220
|
+
} catch (h) {
|
|
7221
|
+
v = [6, h], c = 0;
|
|
7209
7222
|
} finally {
|
|
7210
7223
|
f = y = 0;
|
|
7211
7224
|
}
|
|
@@ -7226,50 +7239,50 @@ function Di() {
|
|
|
7226
7239
|
return U.UNPARSABLE_JSON_OBJECT;
|
|
7227
7240
|
}
|
|
7228
7241
|
return null;
|
|
7229
|
-
}, [c, p.disableJson]),
|
|
7230
|
-
}), A = (0, u.useRef)(0),
|
|
7242
|
+
}, [c, p.disableJson]), h = (0, u.useRef)(null), D = (0, u.useRef)(null), M = (0, u.useRef)(function() {
|
|
7243
|
+
}), A = (0, u.useRef)(0), T = (0, u.useRef)(Date.now()), x = (0, u.useRef)([]), F = (0, u.useRef)(null), P = (0, u.useRef)(p);
|
|
7231
7244
|
P.current = p;
|
|
7232
|
-
var w =
|
|
7245
|
+
var w = h.current && b[h.current] !== void 0 ? b[h.current] : s !== null && m === !0 ? U.ReadyState.CONNECTING : U.ReadyState.UNINSTANTIATED, R = p.queryParams ? JSON.stringify(p.queryParams) : null, L = (0, u.useCallback)(function(W, z) {
|
|
7233
7246
|
var G;
|
|
7234
7247
|
if (z === void 0 && (z = !0), U.isEventSourceSupported && D.current instanceof EventSource) {
|
|
7235
7248
|
console.warn("Unable to send a message from an eventSource");
|
|
7236
7249
|
return;
|
|
7237
7250
|
}
|
|
7238
|
-
((G = D.current) === null || G === void 0 ? void 0 : G.readyState) === U.ReadyState.OPEN ? ((0, i.assertIsWebSocket)(D.current, P.current.skipAssert), D.current.send(W)) : z &&
|
|
7239
|
-
}, []),
|
|
7251
|
+
((G = D.current) === null || G === void 0 ? void 0 : G.readyState) === U.ReadyState.OPEN ? ((0, i.assertIsWebSocket)(D.current, P.current.skipAssert), D.current.send(W)) : z && x.current.push(W);
|
|
7252
|
+
}, []), H = (0, u.useCallback)(function(W, z) {
|
|
7240
7253
|
z === void 0 && (z = !0), L(JSON.stringify(W), z);
|
|
7241
7254
|
}, [L]), O = (0, u.useCallback)(function() {
|
|
7242
7255
|
return P.current.share !== !0 || U.isEventSourceSupported && D.current instanceof EventSource ? D.current : (F.current === null && D.current && ((0, i.assertIsWebSocket)(D.current, P.current.skipAssert), F.current = (0, t.default)(D.current, M)), F.current);
|
|
7243
7256
|
}, []);
|
|
7244
7257
|
return (0, u.useEffect)(function() {
|
|
7245
7258
|
if (s !== null && m === !0) {
|
|
7246
|
-
var W, z = !1, G = !0,
|
|
7259
|
+
var W, z = !1, G = !0, N = function() {
|
|
7247
7260
|
return n(void 0, void 0, void 0, function() {
|
|
7248
|
-
var
|
|
7249
|
-
return a(this, function(
|
|
7250
|
-
switch (
|
|
7261
|
+
var S, E, I;
|
|
7262
|
+
return a(this, function(Z) {
|
|
7263
|
+
switch (Z.label) {
|
|
7251
7264
|
case 0:
|
|
7252
|
-
return
|
|
7265
|
+
return S = h, [4, (0, l.getUrl)(s, P)];
|
|
7253
7266
|
case 1:
|
|
7254
|
-
return
|
|
7267
|
+
return S.current = Z.sent(), h.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), h.current = "ABORTED", (0, g.flushSync)(function() {
|
|
7255
7268
|
return C(function($) {
|
|
7256
7269
|
return e(e({}, $), { ABORTED: U.ReadyState.CLOSED });
|
|
7257
7270
|
});
|
|
7258
7271
|
}), [
|
|
7259
7272
|
2
|
|
7260
7273
|
/*return*/
|
|
7261
|
-
]) : (
|
|
7274
|
+
]) : (E = function($) {
|
|
7262
7275
|
z || (0, g.flushSync)(function() {
|
|
7263
7276
|
return y($);
|
|
7264
7277
|
});
|
|
7265
|
-
},
|
|
7278
|
+
}, I = function($) {
|
|
7266
7279
|
z || (0, g.flushSync)(function() {
|
|
7267
|
-
return C(function(
|
|
7280
|
+
return C(function(J) {
|
|
7268
7281
|
var Y;
|
|
7269
|
-
return e(e({},
|
|
7282
|
+
return e(e({}, J), h.current && (Y = {}, Y[h.current] = $, Y));
|
|
7270
7283
|
});
|
|
7271
7284
|
});
|
|
7272
|
-
}, G && (W = (0, d.createOrJoinSocket)(D,
|
|
7285
|
+
}, G && (W = (0, d.createOrJoinSocket)(D, h.current, I, P, E, M, A, T, L)), [
|
|
7273
7286
|
2
|
|
7274
7287
|
/*return*/
|
|
7275
7288
|
]);
|
|
@@ -7278,21 +7291,21 @@ function Di() {
|
|
|
7278
7291
|
});
|
|
7279
7292
|
};
|
|
7280
7293
|
return M.current = function() {
|
|
7281
|
-
z || (F.current && (F.current = null), W?.(),
|
|
7282
|
-
},
|
|
7294
|
+
z || (F.current && (F.current = null), W?.(), N());
|
|
7295
|
+
}, N(), function() {
|
|
7283
7296
|
z = !0, G = !1, F.current && (F.current = null), W?.(), y(null);
|
|
7284
7297
|
};
|
|
7285
|
-
} else (s === null || m === !1) && (A.current = 0, C(function(
|
|
7286
|
-
var
|
|
7287
|
-
return e(e({},
|
|
7298
|
+
} else (s === null || m === !1) && (A.current = 0, C(function(S) {
|
|
7299
|
+
var E;
|
|
7300
|
+
return e(e({}, S), h.current && (E = {}, E[h.current] = U.ReadyState.CLOSED, E));
|
|
7288
7301
|
}));
|
|
7289
7302
|
}, [s, m, R, L]), (0, u.useEffect)(function() {
|
|
7290
|
-
w === U.ReadyState.OPEN &&
|
|
7303
|
+
w === U.ReadyState.OPEN && x.current.splice(0).forEach(function(W) {
|
|
7291
7304
|
L(W);
|
|
7292
7305
|
});
|
|
7293
7306
|
}, [w]), {
|
|
7294
7307
|
sendMessage: L,
|
|
7295
|
-
sendJsonMessage:
|
|
7308
|
+
sendJsonMessage: H,
|
|
7296
7309
|
lastMessage: c,
|
|
7297
7310
|
lastJsonMessage: v,
|
|
7298
7311
|
readyState: w,
|
|
@@ -7464,7 +7477,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7464
7477
|
});
|
|
7465
7478
|
} };
|
|
7466
7479
|
}, Fn = "/member-monthly-card", ur = () => {
|
|
7467
|
-
const { client: e } = le(), n =
|
|
7480
|
+
const { client: e } = le(), n = B(async () => await e.get(`${Fn}/info`), [e]), a = B(async () => await e.post(`${Fn}/withdraw`), [e]);
|
|
7468
7481
|
return {
|
|
7469
7482
|
getMonthCardInfoApi: n,
|
|
7470
7483
|
withdrawMonthCardApi: a
|
|
@@ -7491,7 +7504,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7491
7504
|
});
|
|
7492
7505
|
}, zo = ({ options: e } = {}) => {
|
|
7493
7506
|
const { withdrawMonthCardApi: n } = ur(), a = Da();
|
|
7494
|
-
return
|
|
7507
|
+
return ae({
|
|
7495
7508
|
mutationKey: ["withdrawMonthCard"],
|
|
7496
7509
|
mutationFn: n,
|
|
7497
7510
|
onSuccess: (r, u, g) => {
|
|
@@ -7515,16 +7528,16 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7515
7528
|
withdrawMonthCardMutation: a
|
|
7516
7529
|
};
|
|
7517
7530
|
}, La = () => {
|
|
7518
|
-
const { client: e } = le(), n =
|
|
7531
|
+
const { client: e } = le(), n = B(async () => {
|
|
7519
7532
|
const { data: l } = await e.get("/carousels");
|
|
7520
7533
|
return l;
|
|
7521
|
-
}, [e]), a =
|
|
7534
|
+
}, [e]), a = B(async () => {
|
|
7522
7535
|
const { data: l } = await e.get("/announcement");
|
|
7523
7536
|
return l;
|
|
7524
|
-
}, [e]), r =
|
|
7537
|
+
}, [e]), r = B(async () => await e.get("/marquees"), [e]), u = B(async () => await e.get("/notification"), [e]), g = B(
|
|
7525
7538
|
async (l) => await e.put(`/notification/${l}/read`),
|
|
7526
7539
|
[e]
|
|
7527
|
-
), U =
|
|
7540
|
+
), U = B(
|
|
7528
7541
|
async (l) => {
|
|
7529
7542
|
const { phonecode: t } = l || {};
|
|
7530
7543
|
return await e.get("/verifyPhoneBarcode", {
|
|
@@ -7534,7 +7547,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7534
7547
|
});
|
|
7535
7548
|
},
|
|
7536
7549
|
[e]
|
|
7537
|
-
), d =
|
|
7550
|
+
), d = B(
|
|
7538
7551
|
async (l) => {
|
|
7539
7552
|
const { lovecode: t } = l || {};
|
|
7540
7553
|
return await e.get("/verifyLoveCode", {
|
|
@@ -7555,70 +7568,70 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7555
7568
|
announcementApi: a
|
|
7556
7569
|
};
|
|
7557
7570
|
}, Io = ({ options: e } = {}) => {
|
|
7558
|
-
const { userLoginApi: n } =
|
|
7559
|
-
return
|
|
7571
|
+
const { userLoginApi: n } = ne();
|
|
7572
|
+
return ae({
|
|
7560
7573
|
mutationKey: ["userLogin"],
|
|
7561
7574
|
mutationFn: async (a) => n(a),
|
|
7562
7575
|
...e
|
|
7563
7576
|
});
|
|
7564
7577
|
}, Vo = ({ options: e } = {}) => {
|
|
7565
|
-
const { userLogoutApi: n } =
|
|
7566
|
-
return
|
|
7578
|
+
const { userLogoutApi: n } = ne();
|
|
7579
|
+
return ae({
|
|
7567
7580
|
mutationKey: ["userLogout"],
|
|
7568
7581
|
mutationFn: async () => n(),
|
|
7569
7582
|
...e
|
|
7570
7583
|
});
|
|
7571
7584
|
}, Jo = ({ options: e } = {}) => {
|
|
7572
|
-
const { userSignUpApi: n } =
|
|
7573
|
-
return
|
|
7585
|
+
const { userSignUpApi: n } = ne();
|
|
7586
|
+
return ae({
|
|
7574
7587
|
mutationKey: ["userSignUp"],
|
|
7575
7588
|
mutationFn: async (a) => n(a),
|
|
7576
7589
|
...e
|
|
7577
7590
|
});
|
|
7578
7591
|
}, Zo = ({ options: e } = {}) => {
|
|
7579
|
-
const { addOrRemoveFavoriteGameApi: n } =
|
|
7580
|
-
return
|
|
7592
|
+
const { addOrRemoveFavoriteGameApi: n } = ne();
|
|
7593
|
+
return ae({
|
|
7581
7594
|
mutationKey: ["toggleFavoriteGame"],
|
|
7582
7595
|
mutationFn: async (a) => n(a),
|
|
7583
7596
|
...e
|
|
7584
7597
|
});
|
|
7585
7598
|
}, Ko = ({ options: e } = {}) => {
|
|
7586
|
-
const { updateUserInfoApi: n } =
|
|
7587
|
-
return
|
|
7599
|
+
const { updateUserInfoApi: n } = ne();
|
|
7600
|
+
return ae({
|
|
7588
7601
|
mutationKey: ["updateUserInfo"],
|
|
7589
7602
|
mutationFn: async (a) => n(a),
|
|
7590
7603
|
...e
|
|
7591
7604
|
});
|
|
7592
7605
|
}, qo = ({ options: e } = {}) => {
|
|
7593
|
-
const { resetUserPasswordApi: n } =
|
|
7594
|
-
return
|
|
7606
|
+
const { resetUserPasswordApi: n } = ne();
|
|
7607
|
+
return ae({
|
|
7595
7608
|
mutationKey: ["resetUserPassword"],
|
|
7596
7609
|
mutationFn: async (a) => n(a),
|
|
7597
7610
|
...e
|
|
7598
7611
|
});
|
|
7599
7612
|
}, $o = ({ options: e } = {}) => {
|
|
7600
|
-
const { memberInitSetApi: n } =
|
|
7601
|
-
return
|
|
7613
|
+
const { memberInitSetApi: n } = ne();
|
|
7614
|
+
return ae({
|
|
7602
7615
|
mutationKey: ["memberInitSet"],
|
|
7603
7616
|
mutationFn: async (a) => n(a),
|
|
7604
7617
|
...e
|
|
7605
7618
|
});
|
|
7606
7619
|
}, Qo = ({ options: e } = {}) => {
|
|
7607
|
-
const { setUserTransactionPasswordApi: n } =
|
|
7608
|
-
return
|
|
7620
|
+
const { setUserTransactionPasswordApi: n } = ne();
|
|
7621
|
+
return ae({
|
|
7609
7622
|
mutationKey: ["setUserTransactionPassword"],
|
|
7610
7623
|
mutationFn: async (a) => n(a),
|
|
7611
7624
|
...e
|
|
7612
7625
|
});
|
|
7613
7626
|
}, jo = ({ options: e } = {}) => {
|
|
7614
|
-
const { resetUserTransactionPasswordApi: n } =
|
|
7615
|
-
return
|
|
7627
|
+
const { resetUserTransactionPasswordApi: n } = ne();
|
|
7628
|
+
return ae({
|
|
7616
7629
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7617
7630
|
mutationFn: async (a) => n(a),
|
|
7618
7631
|
...e
|
|
7619
7632
|
});
|
|
7620
7633
|
}, Yo = ({ paramsData: e, options: n } = {}) => {
|
|
7621
|
-
const { userRebateApi: a } =
|
|
7634
|
+
const { userRebateApi: a } = ne(), { getToken: r } = le();
|
|
7622
7635
|
return r?.(), Q({
|
|
7623
7636
|
queryKey: ["userRebate", e],
|
|
7624
7637
|
queryFn: async () => a({ paramsData: e }),
|
|
@@ -7626,23 +7639,23 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7626
7639
|
...n
|
|
7627
7640
|
});
|
|
7628
7641
|
}, Xo = ({ options: e } = {}) => {
|
|
7629
|
-
const { userBindBankApi: n } =
|
|
7630
|
-
return
|
|
7642
|
+
const { userBindBankApi: n } = ne();
|
|
7643
|
+
return ae({
|
|
7631
7644
|
mutationKey: ["userBindBank"],
|
|
7632
7645
|
mutationFn: async (a) => n({ formData: a }),
|
|
7633
7646
|
...e
|
|
7634
7647
|
});
|
|
7635
7648
|
}, es = ({ options: e } = {}) => {
|
|
7636
|
-
const { transferInGameApi: n } =
|
|
7637
|
-
return
|
|
7649
|
+
const { transferInGameApi: n } = ne();
|
|
7650
|
+
return ae({
|
|
7638
7651
|
mutationKey: ["transferInGame"],
|
|
7639
7652
|
mutationFn: async (a) => n(a),
|
|
7640
7653
|
retry: !1,
|
|
7641
7654
|
...e
|
|
7642
7655
|
});
|
|
7643
7656
|
}, Vm = ({ options: e } = {}) => {
|
|
7644
|
-
const { currency: n } = le(), { pointTransferApi: a } =
|
|
7645
|
-
return
|
|
7657
|
+
const { currency: n } = le(), { pointTransferApi: a } = ne();
|
|
7658
|
+
return ae({
|
|
7646
7659
|
mutationKey: ["pointTransfer"],
|
|
7647
7660
|
mutationFn: async (r) => a({
|
|
7648
7661
|
...r,
|
|
@@ -7651,7 +7664,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7651
7664
|
...e
|
|
7652
7665
|
});
|
|
7653
7666
|
}, Jm = ({ options: e } = {}) => {
|
|
7654
|
-
const { currency: n } = le(), { checkUserWagerApi: a } =
|
|
7667
|
+
const { currency: n } = le(), { checkUserWagerApi: a } = ne();
|
|
7655
7668
|
return Q({
|
|
7656
7669
|
queryKey: ["checkUserWager"],
|
|
7657
7670
|
queryFn: async () => a(),
|
|
@@ -7664,8 +7677,8 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7664
7677
|
...e
|
|
7665
7678
|
});
|
|
7666
7679
|
}, Zm = ({ options: e } = {}) => {
|
|
7667
|
-
const n = Da(), { abandonPointsApi: a } =
|
|
7668
|
-
return
|
|
7680
|
+
const n = Da(), { abandonPointsApi: a } = ne();
|
|
7681
|
+
return ae({
|
|
7669
7682
|
mutationKey: ["abandonPoint"],
|
|
7670
7683
|
mutationFn: async (r) => a({
|
|
7671
7684
|
...r
|
|
@@ -7676,105 +7689,112 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7676
7689
|
...e
|
|
7677
7690
|
});
|
|
7678
7691
|
}, pr = ({ options: e } = {}) => {
|
|
7679
|
-
const { lineLoginApi: n } =
|
|
7680
|
-
return
|
|
7692
|
+
const { lineLoginApi: n } = ne();
|
|
7693
|
+
return ae({
|
|
7681
7694
|
mutationKey: ["lineLogin"],
|
|
7682
7695
|
mutationFn: async (a) => n(a),
|
|
7683
7696
|
...e
|
|
7684
7697
|
});
|
|
7685
7698
|
}, as = ({ options: e } = {}) => {
|
|
7686
|
-
const { lineLogin2Api: n } =
|
|
7687
|
-
return
|
|
7699
|
+
const { lineLogin2Api: n } = ne();
|
|
7700
|
+
return ae({
|
|
7688
7701
|
mutationKey: ["lineLogin"],
|
|
7689
7702
|
mutationFn: async (a) => n(a),
|
|
7690
7703
|
...e
|
|
7691
7704
|
});
|
|
7692
7705
|
}, Km = ({ options: e } = {}) => {
|
|
7693
|
-
const { machineLoginApi: n } =
|
|
7694
|
-
return
|
|
7706
|
+
const { machineLoginApi: n } = ne();
|
|
7707
|
+
return ae({
|
|
7695
7708
|
mutationKey: ["machineLogin"],
|
|
7696
7709
|
mutationFn: async (a) => n(a),
|
|
7697
7710
|
...e
|
|
7698
7711
|
});
|
|
7699
7712
|
}, ts = ({ options: e, formData: n } = {}) => {
|
|
7700
|
-
const { getMachineLoginCodeApi: a } =
|
|
7713
|
+
const { getMachineLoginCodeApi: a } = ne();
|
|
7701
7714
|
return Q({
|
|
7702
7715
|
queryKey: ["getMachineLoginCode"],
|
|
7703
7716
|
queryFn: async () => a(n),
|
|
7704
7717
|
...e
|
|
7705
7718
|
});
|
|
7706
7719
|
}, qm = ({ options: e } = {}) => {
|
|
7707
|
-
const { currency: n } = le(), { memberTransferApi: a } =
|
|
7708
|
-
return
|
|
7720
|
+
const { currency: n } = le(), { memberTransferApi: a } = ne();
|
|
7721
|
+
return ae({
|
|
7709
7722
|
mutationKey: ["memberTransfer"],
|
|
7710
7723
|
mutationFn: async (r) => a({ ...r, currency: n }),
|
|
7711
7724
|
...e
|
|
7712
7725
|
});
|
|
7713
7726
|
}, $m = ({ options: e } = {}) => {
|
|
7714
|
-
const {
|
|
7715
|
-
return
|
|
7727
|
+
const { currency: n } = le(), { checkMemberTransferApi: a } = ne();
|
|
7728
|
+
return ae({
|
|
7729
|
+
mutationKey: ["checkMemberTransfer"],
|
|
7730
|
+
mutationFn: async (r) => a({ ...r, currency: n }),
|
|
7731
|
+
...e
|
|
7732
|
+
});
|
|
7733
|
+
}, Qm = ({ options: e } = {}) => {
|
|
7734
|
+
const { mobileLoginApi: n } = ne();
|
|
7735
|
+
return ae({
|
|
7716
7736
|
mutationKey: ["mobileLogin"],
|
|
7717
7737
|
mutationFn: async (a) => n(a),
|
|
7718
7738
|
...e
|
|
7719
7739
|
});
|
|
7720
|
-
},
|
|
7721
|
-
const { mobileLoginApiV2: n } =
|
|
7722
|
-
return
|
|
7740
|
+
}, jm = ({ options: e } = {}) => {
|
|
7741
|
+
const { mobileLoginApiV2: n } = ne();
|
|
7742
|
+
return ae({
|
|
7723
7743
|
mutationKey: ["mobileLoginV2"],
|
|
7724
7744
|
mutationFn: async (a) => n(a),
|
|
7725
7745
|
...e
|
|
7726
7746
|
});
|
|
7727
|
-
},
|
|
7728
|
-
const { mobileRegisterApi: n } =
|
|
7729
|
-
return
|
|
7747
|
+
}, Ym = ({ options: e } = {}) => {
|
|
7748
|
+
const { mobileRegisterApi: n } = ne();
|
|
7749
|
+
return ae({
|
|
7730
7750
|
mutationKey: ["mobileRegister"],
|
|
7731
7751
|
mutationFn: async (a) => n(a),
|
|
7732
7752
|
...e
|
|
7733
7753
|
});
|
|
7734
7754
|
}, is = ({ options: e } = {}) => {
|
|
7735
|
-
const { bindAccountApi: n } =
|
|
7736
|
-
return
|
|
7755
|
+
const { bindAccountApi: n } = ne();
|
|
7756
|
+
return ae({
|
|
7737
7757
|
mutationKey: ["bindAccount"],
|
|
7738
7758
|
mutationFn: async (a) => n(a),
|
|
7739
7759
|
...e
|
|
7740
7760
|
});
|
|
7741
|
-
},
|
|
7742
|
-
const { sendMobileVerifyCodeApi: n } =
|
|
7743
|
-
return
|
|
7761
|
+
}, Xm = ({ options: e } = {}) => {
|
|
7762
|
+
const { sendMobileVerifyCodeApi: n } = ne();
|
|
7763
|
+
return ae({
|
|
7744
7764
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7745
7765
|
mutationFn: async (a) => n(a),
|
|
7746
7766
|
...e
|
|
7747
7767
|
});
|
|
7748
|
-
},
|
|
7768
|
+
}, eu = ({ options: e, paramsData: n } = {}) => {
|
|
7749
7769
|
const { verifyPhoneBarApi: a } = La();
|
|
7750
7770
|
return Q({
|
|
7751
7771
|
queryKey: ["verifyPhoneBar", n],
|
|
7752
7772
|
queryFn: async () => a(n),
|
|
7753
7773
|
...e
|
|
7754
7774
|
});
|
|
7755
|
-
},
|
|
7775
|
+
}, au = ({ options: e, paramsData: n } = {}) => {
|
|
7756
7776
|
const { verifyDonationCodeApi: a } = La();
|
|
7757
7777
|
return Q({
|
|
7758
7778
|
queryKey: ["verifyDonationCode", n],
|
|
7759
7779
|
queryFn: async () => a(n),
|
|
7760
7780
|
...e
|
|
7761
7781
|
});
|
|
7762
|
-
},
|
|
7763
|
-
const { createMachineApi: n } =
|
|
7764
|
-
return
|
|
7782
|
+
}, tu = ({ options: e } = {}) => {
|
|
7783
|
+
const { createMachineApi: n } = ne();
|
|
7784
|
+
return ae({
|
|
7765
7785
|
mutationKey: ["createMachine"],
|
|
7766
7786
|
mutationFn: async (a) => n({ formData: a }),
|
|
7767
7787
|
...e
|
|
7768
7788
|
});
|
|
7769
|
-
},
|
|
7770
|
-
const { verifyResetActionApi: n } =
|
|
7771
|
-
return
|
|
7789
|
+
}, iu = ({ options: e } = {}) => {
|
|
7790
|
+
const { verifyResetActionApi: n } = ne();
|
|
7791
|
+
return ae({
|
|
7772
7792
|
mutationKey: ["verifyResetAction"],
|
|
7773
7793
|
mutationFn: async (a) => n(a),
|
|
7774
7794
|
...e
|
|
7775
7795
|
});
|
|
7776
|
-
},
|
|
7777
|
-
const { getJackpotApi: a } =
|
|
7796
|
+
}, nu = ({ options: e, bonusData: n } = {}) => {
|
|
7797
|
+
const { getJackpotApi: a } = ne();
|
|
7778
7798
|
return Q({
|
|
7779
7799
|
queryKey: ["getJackpotData"],
|
|
7780
7800
|
queryFn: async () => a(),
|
|
@@ -7792,15 +7812,15 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7792
7812
|
},
|
|
7793
7813
|
...e
|
|
7794
7814
|
});
|
|
7795
|
-
},
|
|
7796
|
-
const { getBetRankingApi: n } =
|
|
7815
|
+
}, ru = ({ options: e } = {}) => {
|
|
7816
|
+
const { getBetRankingApi: n } = ne();
|
|
7797
7817
|
return Q({
|
|
7798
7818
|
queryKey: ["getBetRankingData"],
|
|
7799
7819
|
queryFn: async () => n(),
|
|
7800
7820
|
...e
|
|
7801
7821
|
});
|
|
7802
|
-
},
|
|
7803
|
-
const { getUserAvatarListApi: n } =
|
|
7822
|
+
}, lu = ({ options: e } = {}) => {
|
|
7823
|
+
const { getUserAvatarListApi: n } = ne();
|
|
7804
7824
|
return Q({
|
|
7805
7825
|
queryKey: ["getAvatarList"],
|
|
7806
7826
|
queryFn: async () => n(),
|
|
@@ -7809,14 +7829,14 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7809
7829
|
// },
|
|
7810
7830
|
...e
|
|
7811
7831
|
});
|
|
7812
|
-
},
|
|
7813
|
-
const { updateUserAvatarApi: n } =
|
|
7814
|
-
return
|
|
7832
|
+
}, ou = ({ options: e } = {}) => {
|
|
7833
|
+
const { updateUserAvatarApi: n } = ne();
|
|
7834
|
+
return ae({
|
|
7815
7835
|
mutationKey: ["updateAvatar"],
|
|
7816
7836
|
mutationFn: async (a) => n(a),
|
|
7817
7837
|
...e
|
|
7818
7838
|
});
|
|
7819
|
-
},
|
|
7839
|
+
}, su = ({
|
|
7820
7840
|
options: e = {
|
|
7821
7841
|
login: {},
|
|
7822
7842
|
logout: {},
|
|
@@ -7885,7 +7905,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7885
7905
|
show: r,
|
|
7886
7906
|
reason: r ? `在 gamebox 且當前廠商「${a}」在維護清單 → 顯示` : `在 gamebox 但當前廠商「${a ?? "(無)"}」不在維護清單 → 靜默`
|
|
7887
7907
|
};
|
|
7888
|
-
},
|
|
7908
|
+
}, mu = ({
|
|
7889
7909
|
socketUrl: e,
|
|
7890
7910
|
socketHandlers: n = {},
|
|
7891
7911
|
options: a = {},
|
|
@@ -7906,7 +7926,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7906
7926
|
u,
|
|
7907
7927
|
"enableTransferInGaming",
|
|
7908
7928
|
!1
|
|
7909
|
-
), { mutateAsync:
|
|
7929
|
+
), { mutateAsync: h } = pr({
|
|
7910
7930
|
options: {
|
|
7911
7931
|
onSuccess: (L) => {
|
|
7912
7932
|
y.current.onLineLogin?.(L);
|
|
@@ -7918,8 +7938,8 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7918
7938
|
onSuccess: (L) => {
|
|
7919
7939
|
y.current.onLineLogin?.(L);
|
|
7920
7940
|
},
|
|
7921
|
-
onError: (L,
|
|
7922
|
-
U ||
|
|
7941
|
+
onError: (L, H) => {
|
|
7942
|
+
U || h(H);
|
|
7923
7943
|
}
|
|
7924
7944
|
}
|
|
7925
7945
|
}), { handleTransferInGame: M } = Ho({
|
|
@@ -7931,9 +7951,9 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7931
7951
|
}), {
|
|
7932
7952
|
sendMessage: A,
|
|
7933
7953
|
// 發送普通訊息
|
|
7934
|
-
sendJsonMessage:
|
|
7954
|
+
sendJsonMessage: T,
|
|
7935
7955
|
// 發送 JSON 訊息
|
|
7936
|
-
lastMessage:
|
|
7956
|
+
lastMessage: x,
|
|
7937
7957
|
// 最後接收到的訊息
|
|
7938
7958
|
// lastJsonMessage, // 最後接收到的 JSON 訊息
|
|
7939
7959
|
readyState: F
|
|
@@ -7948,11 +7968,11 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7948
7968
|
...a
|
|
7949
7969
|
}), P = za(() => {
|
|
7950
7970
|
try {
|
|
7951
|
-
return JSON.parse(
|
|
7971
|
+
return JSON.parse(x?.data);
|
|
7952
7972
|
} catch {
|
|
7953
7973
|
return null;
|
|
7954
7974
|
}
|
|
7955
|
-
}, [
|
|
7975
|
+
}, [x]);
|
|
7956
7976
|
ue(() => {
|
|
7957
7977
|
const L = setInterval(
|
|
7958
7978
|
() => A("ping"),
|
|
@@ -7960,15 +7980,15 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7960
7980
|
);
|
|
7961
7981
|
return () => clearInterval(L);
|
|
7962
7982
|
}, [A]);
|
|
7963
|
-
const w =
|
|
7964
|
-
(L,
|
|
7983
|
+
const w = B(
|
|
7984
|
+
(L, H) => {
|
|
7965
7985
|
g && l.dispatch({
|
|
7966
7986
|
type: "ui/openNotificationModal",
|
|
7967
7987
|
payload: {
|
|
7968
7988
|
title: Ia[f] || "System Prompt",
|
|
7969
7989
|
content: L,
|
|
7970
7990
|
type: "warning",
|
|
7971
|
-
props:
|
|
7991
|
+
props: H
|
|
7972
7992
|
}
|
|
7973
7993
|
});
|
|
7974
7994
|
},
|
|
@@ -7984,64 +8004,64 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
7984
8004
|
R.current = P;
|
|
7985
8005
|
const {
|
|
7986
8006
|
onDeposit: L,
|
|
7987
|
-
onTransCode:
|
|
8007
|
+
onTransCode: H,
|
|
7988
8008
|
onError: O,
|
|
7989
8009
|
onUpdateMember: W,
|
|
7990
8010
|
onMaintainNotice: z,
|
|
7991
8011
|
onMaintainNoticeMember: G,
|
|
7992
|
-
onTransferInGame:
|
|
7993
|
-
onCashRegisterLimit:
|
|
7994
|
-
onLineLogin:
|
|
7995
|
-
onMonthlyCardIssuePoint:
|
|
7996
|
-
onEventClaimable:
|
|
7997
|
-
} = y.current, $ = j(P, "type", ""),
|
|
8012
|
+
onTransferInGame: N,
|
|
8013
|
+
onCashRegisterLimit: S,
|
|
8014
|
+
onLineLogin: E,
|
|
8015
|
+
onMonthlyCardIssuePoint: I,
|
|
8016
|
+
onEventClaimable: Z
|
|
8017
|
+
} = y.current, $ = j(P, "type", ""), J = {
|
|
7998
8018
|
memberInfoUid: j(P, "member_info_uid", null),
|
|
7999
8019
|
data: j(P, "data", null),
|
|
8000
8020
|
memo: j(P, "memo", null),
|
|
8001
8021
|
amount: j(P, "amount", null),
|
|
8002
8022
|
limitAmount: j(P, "limit_amount", null)
|
|
8003
|
-
}, Y = Number(
|
|
8023
|
+
}, Y = Number(J.memberInfoUid) === _, ee = J.data, ye = J.amount, ve = J.limitAmount, pe = C.get("mac") || di.get("machine_mac_address") || "", Ue = j(P, "data.line_id", null), Ne = j(P, "data.line_name", null), he = j(P, "member_info_uid", null);
|
|
8004
8024
|
switch ($) {
|
|
8005
8025
|
case Ae.DEPOSIT:
|
|
8006
|
-
Y && (M(), L?.(
|
|
8026
|
+
Y && (M(), L?.(J));
|
|
8007
8027
|
break;
|
|
8008
8028
|
case Ae.TRANS_CODE:
|
|
8009
|
-
|
|
8029
|
+
H?.(J);
|
|
8010
8030
|
break;
|
|
8011
8031
|
case Ae.ERROR:
|
|
8012
8032
|
if (Y) {
|
|
8013
8033
|
const fe = j(P, "open_game_modal", 0) === 1;
|
|
8014
|
-
w(
|
|
8034
|
+
w(ee, {
|
|
8015
8035
|
notificationType: fe ? "gamingNotice" : void 0
|
|
8016
|
-
}), O?.(
|
|
8036
|
+
}), O?.(J);
|
|
8017
8037
|
}
|
|
8018
8038
|
break;
|
|
8019
8039
|
case Ae.UPDATE_MEMBER:
|
|
8020
8040
|
_ && (i.invalidateQueries({
|
|
8021
8041
|
queryKey: ["getMemberInfo"]
|
|
8022
|
-
}), W?.(
|
|
8042
|
+
}), W?.(J));
|
|
8023
8043
|
break;
|
|
8024
8044
|
case Ae.MAINTAIN_NOTICE:
|
|
8025
|
-
w(
|
|
8045
|
+
w(ee, {
|
|
8026
8046
|
notificationType: "maintainNotice"
|
|
8027
|
-
}), z?.(
|
|
8047
|
+
}), z?.(J);
|
|
8028
8048
|
break;
|
|
8029
8049
|
case Ae.MAINTAIN_NOTICE_MEMBER: {
|
|
8030
|
-
const fe =
|
|
8050
|
+
const fe = J.data?.cagent_uid ?? null;
|
|
8031
8051
|
if (fe != null) {
|
|
8032
|
-
String(b) === String(fe) && (w(
|
|
8052
|
+
String(b) === String(fe) && (w(J.data?.msg, { rawMessage: !0 }), G?.(J), setTimeout(() => {
|
|
8033
8053
|
d?.("/");
|
|
8034
8054
|
}, 5e3));
|
|
8035
8055
|
return;
|
|
8036
8056
|
} else if (Y) {
|
|
8037
|
-
const ge = l.getState()?.game?.currentGameData?.gameUid ?? null,
|
|
8038
|
-
if (
|
|
8039
|
-
Array.isArray(
|
|
8057
|
+
const ge = l.getState()?.game?.currentGameData?.gameUid ?? null, be = J.data?.game_id;
|
|
8058
|
+
if (be != null) {
|
|
8059
|
+
Array.isArray(be) && be.some((ze) => String(ze) === String(ge)) && (w(J.data?.msg, { rawMessage: !0 }), G?.(J), setTimeout(() => {
|
|
8040
8060
|
d?.("/");
|
|
8041
8061
|
}, 5e3));
|
|
8042
8062
|
return;
|
|
8043
8063
|
}
|
|
8044
|
-
w(
|
|
8064
|
+
w(ee), G?.(J), setTimeout(() => {
|
|
8045
8065
|
window.location.reload();
|
|
8046
8066
|
}, 5e4);
|
|
8047
8067
|
}
|
|
@@ -8053,7 +8073,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8053
8073
|
case Ae.TRANSFER_IN_GAME:
|
|
8054
8074
|
case Ae.CHECK_REQUEST:
|
|
8055
8075
|
if (Y && v) {
|
|
8056
|
-
const { request_id: fe, amount: ge, platform:
|
|
8076
|
+
const { request_id: fe, amount: ge, platform: be, status: ze } = j(J, "data", {}) || {}, Ee = localStorage.getItem(
|
|
8057
8077
|
"transfer_in_game_request_id"
|
|
8058
8078
|
);
|
|
8059
8079
|
if (ze === "pending") {
|
|
@@ -8068,42 +8088,42 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8068
8088
|
type: "ui/showToast",
|
|
8069
8089
|
payload: {
|
|
8070
8090
|
title: Ia[f] || "System Prompt",
|
|
8071
|
-
description: `您於${
|
|
8091
|
+
description: `您於${be}存入的${ge}元已經處理完成了,請確認遊戲餘額`,
|
|
8072
8092
|
status: "success"
|
|
8073
8093
|
}
|
|
8074
8094
|
}), s();
|
|
8075
8095
|
}
|
|
8076
|
-
|
|
8096
|
+
N?.(J);
|
|
8077
8097
|
}
|
|
8078
8098
|
break;
|
|
8079
8099
|
case Ae.CASH_REGISTER_LIMIT:
|
|
8080
|
-
w(
|
|
8100
|
+
w(ee, {
|
|
8081
8101
|
notificationType: "cashRegisterLimit",
|
|
8082
|
-
amount:
|
|
8102
|
+
amount: ye,
|
|
8083
8103
|
limitAmount: ve
|
|
8084
|
-
}),
|
|
8104
|
+
}), S?.(J);
|
|
8085
8105
|
break;
|
|
8086
8106
|
case Ae.UPDATE_ONLY_ONE_MEMBER:
|
|
8087
8107
|
Y && (i.invalidateQueries({
|
|
8088
8108
|
queryKey: ["getMemberInfo"]
|
|
8089
|
-
}), W?.(
|
|
8109
|
+
}), W?.(J));
|
|
8090
8110
|
break;
|
|
8091
8111
|
case Ae.GAME_MAINTAIN: {
|
|
8092
|
-
const fe =
|
|
8112
|
+
const fe = J.data, { show: ge } = rs({
|
|
8093
8113
|
maintainList: fe,
|
|
8094
8114
|
// 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
|
|
8095
8115
|
// 因為不是每隻遊戲都會帶入該設定)
|
|
8096
8116
|
isInGameBox: window.location.pathname.includes("gamebox"),
|
|
8097
8117
|
currentGamePlatform: l.getState()?.game?.currentGameData?.gamePlatform ?? null
|
|
8098
8118
|
});
|
|
8099
|
-
ge && w(
|
|
8119
|
+
ge && w(ee, {
|
|
8100
8120
|
notificationType: "gameMaintain"
|
|
8101
8121
|
});
|
|
8102
8122
|
break;
|
|
8103
8123
|
}
|
|
8104
8124
|
case Ae.LINE_LOGIN:
|
|
8105
|
-
he === pe &&
|
|
8106
|
-
line_id:
|
|
8125
|
+
he === pe && h({
|
|
8126
|
+
line_id: Ue,
|
|
8107
8127
|
line_name: Ne
|
|
8108
8128
|
});
|
|
8109
8129
|
break;
|
|
@@ -8111,7 +8131,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8111
8131
|
Y && (i.invalidateQueries({ queryKey: ["getEventWalletList"] }), i.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
|
|
8112
8132
|
return;
|
|
8113
8133
|
case Ae.MONTHLY_CARD_ISSUE_POINT:
|
|
8114
|
-
Y && (i.invalidateQueries({ queryKey: Ei }),
|
|
8134
|
+
Y && (i.invalidateQueries({ queryKey: Ei }), I?.(J));
|
|
8115
8135
|
return;
|
|
8116
8136
|
/**
|
|
8117
8137
|
* event_claimable:活動可領取推播
|
|
@@ -8123,8 +8143,8 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8123
8143
|
case Ae.EVENT_CLAIMABLE:
|
|
8124
8144
|
if (Y) {
|
|
8125
8145
|
i.invalidateQueries({ queryKey: ["checkEventStatus"] });
|
|
8126
|
-
const fe =
|
|
8127
|
-
(Array.isArray(fe) ? fe.length > 0 : fe != null) &&
|
|
8146
|
+
const fe = J.data?.event_uid;
|
|
8147
|
+
(Array.isArray(fe) ? fe.length > 0 : fe != null) && Z?.(J);
|
|
8128
8148
|
}
|
|
8129
8149
|
return;
|
|
8130
8150
|
default:
|
|
@@ -8143,7 +8163,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8143
8163
|
v,
|
|
8144
8164
|
s,
|
|
8145
8165
|
C,
|
|
8146
|
-
|
|
8166
|
+
h
|
|
8147
8167
|
]), ue(() => () => c.current = !0, []), ue(() => {
|
|
8148
8168
|
localStorage.getItem(
|
|
8149
8169
|
"transfer_in_game_request_id"
|
|
@@ -8153,13 +8173,13 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8153
8173
|
const L = localStorage.getItem(
|
|
8154
8174
|
"transfer_in_game_request_id"
|
|
8155
8175
|
);
|
|
8156
|
-
L && _ && p &&
|
|
8176
|
+
L && _ && p && T({
|
|
8157
8177
|
type: Ae.CHECK_REQUEST,
|
|
8158
8178
|
request_id: L,
|
|
8159
8179
|
member_info_uid: _
|
|
8160
8180
|
});
|
|
8161
8181
|
}
|
|
8162
|
-
}, [_, p,
|
|
8182
|
+
}, [_, p, T, v]), ue(() => {
|
|
8163
8183
|
p ? l.dispatch({
|
|
8164
8184
|
type: "ui/showToast",
|
|
8165
8185
|
payload: {
|
|
@@ -8177,23 +8197,23 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8177
8197
|
});
|
|
8178
8198
|
}, [p, o, l, f]), {
|
|
8179
8199
|
sendMessage: A,
|
|
8180
|
-
sendJsonMessage:
|
|
8200
|
+
sendJsonMessage: T,
|
|
8181
8201
|
readyState: F
|
|
8182
8202
|
// WebSocket 連線狀態
|
|
8183
8203
|
};
|
|
8184
8204
|
}, Ja = () => {
|
|
8185
|
-
const { client: e } = le(), n =
|
|
8205
|
+
const { client: e } = le(), n = B(
|
|
8186
8206
|
async ({ paramsData: d } = {}) => {
|
|
8187
8207
|
const { uid: l } = d || {};
|
|
8188
8208
|
return await e.get(`/event/list${l ? `/${l}` : ""}`);
|
|
8189
8209
|
},
|
|
8190
8210
|
[e]
|
|
8191
|
-
), a =
|
|
8211
|
+
), a = B(
|
|
8192
8212
|
async (d) => await e.get("/event/checkMemeberEventsWageringRestricted", {
|
|
8193
8213
|
params: d
|
|
8194
8214
|
}),
|
|
8195
8215
|
[e]
|
|
8196
|
-
), r =
|
|
8216
|
+
), r = B(
|
|
8197
8217
|
async (d = {}) => {
|
|
8198
8218
|
const { event_uid: l } = d || {};
|
|
8199
8219
|
return await e.get(`/event/${l}/memberGetEventRewards`, {
|
|
@@ -8201,7 +8221,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8201
8221
|
});
|
|
8202
8222
|
},
|
|
8203
8223
|
[e]
|
|
8204
|
-
), u =
|
|
8224
|
+
), u = B(
|
|
8205
8225
|
async (d = {}) => {
|
|
8206
8226
|
const { currency: l, event_uid: t } = d || {};
|
|
8207
8227
|
return await e.post("/event/checkMemberEventsStatus", {
|
|
@@ -8210,13 +8230,13 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8210
8230
|
});
|
|
8211
8231
|
},
|
|
8212
8232
|
[e]
|
|
8213
|
-
), g =
|
|
8233
|
+
), g = B(
|
|
8214
8234
|
async (d = {}) => {
|
|
8215
8235
|
const { uid: l } = d || {};
|
|
8216
8236
|
return await e.post(`/event/memberEventSettle/${l}`);
|
|
8217
8237
|
},
|
|
8218
8238
|
[e]
|
|
8219
|
-
), U =
|
|
8239
|
+
), U = B(
|
|
8220
8240
|
async (d = {}) => await e.post("/event/memberEventSettle", d),
|
|
8221
8241
|
[e]
|
|
8222
8242
|
);
|
|
@@ -8366,9 +8386,9 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8366
8386
|
},
|
|
8367
8387
|
...n
|
|
8368
8388
|
});
|
|
8369
|
-
},
|
|
8389
|
+
}, uu = ({ options: e } = {}) => {
|
|
8370
8390
|
const { redeemEventRewardApi: n } = Ja();
|
|
8371
|
-
return
|
|
8391
|
+
return ae({
|
|
8372
8392
|
mutationKey: ["redeemEventReward"],
|
|
8373
8393
|
mutationFn: async (a) => n(a),
|
|
8374
8394
|
...e
|
|
@@ -8388,21 +8408,21 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8388
8408
|
select: (r) => r.data.event_status || r.data,
|
|
8389
8409
|
...e
|
|
8390
8410
|
});
|
|
8391
|
-
},
|
|
8411
|
+
}, pu = ({ options: e } = {}) => {
|
|
8392
8412
|
const { settleEventApi: n } = Ja();
|
|
8393
|
-
return
|
|
8413
|
+
return ae({
|
|
8394
8414
|
mutationKey: ["settleEvent"],
|
|
8395
8415
|
mutationFn: async (a) => n(a),
|
|
8396
8416
|
...e
|
|
8397
8417
|
});
|
|
8398
|
-
},
|
|
8418
|
+
}, gu = ({ options: e } = {}) => {
|
|
8399
8419
|
const { memberEventSettleApi: n } = Ja();
|
|
8400
|
-
return
|
|
8420
|
+
return ae({
|
|
8401
8421
|
mutationKey: ["memberEventSettle"],
|
|
8402
8422
|
mutationFn: async (a) => n(a),
|
|
8403
8423
|
...e
|
|
8404
8424
|
});
|
|
8405
|
-
},
|
|
8425
|
+
}, du = ({
|
|
8406
8426
|
options: e = {
|
|
8407
8427
|
eventList: {},
|
|
8408
8428
|
checkEventProgress: {},
|
|
@@ -8420,7 +8440,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8420
8440
|
checkEventStatusQuery: r
|
|
8421
8441
|
};
|
|
8422
8442
|
}, it = () => {
|
|
8423
|
-
const { client: e } = le(), n =
|
|
8443
|
+
const { client: e } = le(), n = B(
|
|
8424
8444
|
async ({ gamePlatform: U, params: d } = {}) => await e.get(
|
|
8425
8445
|
`/gameBonusRestricted${U ? `/${U}` : ""}`,
|
|
8426
8446
|
{
|
|
@@ -8428,20 +8448,20 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8428
8448
|
}
|
|
8429
8449
|
),
|
|
8430
8450
|
[e]
|
|
8431
|
-
), a =
|
|
8451
|
+
), a = B(
|
|
8432
8452
|
async ({ eventUids: U = [] } = {}) => await e.post("/gameBonusRestricted/enable", {
|
|
8433
8453
|
uids: U
|
|
8434
8454
|
}),
|
|
8435
8455
|
[e]
|
|
8436
|
-
), r =
|
|
8456
|
+
), r = B(
|
|
8437
8457
|
async ({ gamePlatform: U = "" } = {}) => await e.post(
|
|
8438
8458
|
`/gameBonusRestricted/evaluate${U ? `/${U}` : ""}`
|
|
8439
8459
|
),
|
|
8440
8460
|
[e]
|
|
8441
|
-
), u =
|
|
8461
|
+
), u = B(
|
|
8442
8462
|
async ({ groupUid: U = "" } = {}) => await e.post(`/gameBonusRestricted/settle/${U}`),
|
|
8443
8463
|
[e]
|
|
8444
|
-
), g =
|
|
8464
|
+
), g = B(
|
|
8445
8465
|
async ({ groupUid: U = "" } = {}) => await e.post(`/gameBonusRestricted/abandon/${U}`),
|
|
8446
8466
|
[e]
|
|
8447
8467
|
);
|
|
@@ -8452,7 +8472,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8452
8472
|
settleEventWalletApi: u,
|
|
8453
8473
|
abandonEventWalletApi: g
|
|
8454
8474
|
};
|
|
8455
|
-
},
|
|
8475
|
+
}, cu = ({ gamePlatform: e, params: n } = {}) => {
|
|
8456
8476
|
const { eventWalletListApi: a } = it();
|
|
8457
8477
|
return Q({
|
|
8458
8478
|
queryKey: ["getEventWalletList", e, n],
|
|
@@ -8493,16 +8513,16 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8493
8513
|
};
|
|
8494
8514
|
}
|
|
8495
8515
|
});
|
|
8496
|
-
},
|
|
8516
|
+
}, fu = () => {
|
|
8497
8517
|
const e = Da(), { enabledEventWalletApi: n } = it();
|
|
8498
|
-
return
|
|
8518
|
+
return ae({
|
|
8499
8519
|
mutationKey: ["enabledEventWallet"],
|
|
8500
8520
|
mutationFn: async ({ eventUids: a }) => await n({ eventUids: a }),
|
|
8501
8521
|
onSuccess: () => {
|
|
8502
8522
|
e.invalidateQueries({ queryKey: ["evaluateEventWallet"] });
|
|
8503
8523
|
}
|
|
8504
8524
|
});
|
|
8505
|
-
},
|
|
8525
|
+
}, _u = ({ gamePlatform: e = "", options: n = {} } = {}) => {
|
|
8506
8526
|
const { evaluateEventWalletApi: a } = it();
|
|
8507
8527
|
return Q({
|
|
8508
8528
|
queryKey: ["evaluateEventWallet", e],
|
|
@@ -8518,25 +8538,25 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8518
8538
|
},
|
|
8519
8539
|
...n
|
|
8520
8540
|
});
|
|
8521
|
-
},
|
|
8541
|
+
}, yu = () => {
|
|
8522
8542
|
const e = Da(), { settleEventWalletApi: n } = it();
|
|
8523
|
-
return
|
|
8543
|
+
return ae({
|
|
8524
8544
|
mutationKey: ["settleEventWallet"],
|
|
8525
8545
|
mutationFn: async ({ groupUid: a }) => await n({ groupUid: a }),
|
|
8526
8546
|
onSuccess: () => {
|
|
8527
8547
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8528
8548
|
}
|
|
8529
8549
|
});
|
|
8530
|
-
},
|
|
8550
|
+
}, Uu = () => {
|
|
8531
8551
|
const e = Da(), { abandonEventWalletApi: n } = it();
|
|
8532
|
-
return
|
|
8552
|
+
return ae({
|
|
8533
8553
|
mutationKey: ["abandonEventWallet"],
|
|
8534
8554
|
mutationFn: async ({ groupUid: a }) => await n({ groupUid: a }),
|
|
8535
8555
|
onSuccess: () => {
|
|
8536
8556
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8537
8557
|
}
|
|
8538
8558
|
});
|
|
8539
|
-
},
|
|
8559
|
+
}, bu = ({ options: e } = {}) => {
|
|
8540
8560
|
const { lng: n } = le(), { announcementApi: a } = La(), r = Ze(n);
|
|
8541
8561
|
return Q({
|
|
8542
8562
|
queryKey: ["getAnnouncement"],
|
|
@@ -8553,7 +8573,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8553
8573
|
},
|
|
8554
8574
|
...e
|
|
8555
8575
|
});
|
|
8556
|
-
},
|
|
8576
|
+
}, Cu = ({ skipPreload: e = !1 } = {}) => {
|
|
8557
8577
|
const { lng: n, data2URL: a } = le(), { commonCarouselApi: r } = La(), u = Ze(n);
|
|
8558
8578
|
return Q({
|
|
8559
8579
|
queryKey: ["getCarouselList", e],
|
|
@@ -8581,7 +8601,7 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8581
8601
|
};
|
|
8582
8602
|
})
|
|
8583
8603
|
});
|
|
8584
|
-
},
|
|
8604
|
+
}, vu = () => {
|
|
8585
8605
|
const { lng: e, getToken: n } = le(), a = n?.(), { commonMarqueeApi: r } = La(), u = Ze(e);
|
|
8586
8606
|
return Q({
|
|
8587
8607
|
queryKey: ["getMarqueeList", a],
|
|
@@ -8597,8 +8617,8 @@ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
|
|
|
8597
8617
|
};
|
|
8598
8618
|
}
|
|
8599
8619
|
});
|
|
8600
|
-
},
|
|
8601
|
-
const { rankingGameApi: n } =
|
|
8620
|
+
}, hu = ({ options: e } = {}) => {
|
|
8621
|
+
const { rankingGameApi: n } = ne();
|
|
8602
8622
|
return Q({
|
|
8603
8623
|
queryKey: ["rankingGame"],
|
|
8604
8624
|
queryFn: async () => n(),
|
|
@@ -8939,34 +8959,34 @@ function Ds({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8939
8959
|
}, onActive: i = () => {
|
|
8940
8960
|
}, onAction: o = () => {
|
|
8941
8961
|
}, onMessage: s = () => {
|
|
8942
|
-
}, debounce: p = 0, throttle: m = 0, eventsThrottle: f = 200, startOnMount: c = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: b = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection:
|
|
8943
|
-
let M = ie(Se()), A = ie(Se()),
|
|
8962
|
+
}, debounce: p = 0, throttle: m = 0, eventsThrottle: f = 200, startOnMount: c = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: b = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: h = !1, disabled: D = !1 } = {}) {
|
|
8963
|
+
let M = ie(Se()), A = ie(Se()), T = ie(null), x = ie(null), F = ie(0), P = ie(0), w = ie(0), R = ie(0), L = ie(!1), H = ie(!1), O = ie(!1), W = ie(!0), z = ie(!1), G = ie(null), N = ie(null), S = ie(e), E = ie(0);
|
|
8944
8964
|
ue(() => {
|
|
8945
8965
|
if (n && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), a && n) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
8946
8966
|
if (e >= Ha) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Ha}.`);
|
|
8947
8967
|
if (n >= Ha) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Ha}.`);
|
|
8948
8968
|
if (a >= Ha) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${Ha}.`);
|
|
8949
8969
|
if (a >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
8950
|
-
if (a ? (
|
|
8970
|
+
if (a ? (S.current = e - a, E.current = a) : (S.current = e, E.current = n), !W.current) {
|
|
8951
8971
|
if (y || D) return;
|
|
8952
|
-
L.current && (pe.current(null, Ge),
|
|
8972
|
+
L.current && (pe.current(null, Ge), N.current && N.current.active()), ea();
|
|
8953
8973
|
}
|
|
8954
8974
|
}, [e, n, a, y, D]);
|
|
8955
|
-
let
|
|
8975
|
+
let I = ie(_);
|
|
8956
8976
|
ue(() => {
|
|
8957
|
-
|
|
8977
|
+
I.current = _;
|
|
8958
8978
|
}, [_]);
|
|
8959
|
-
let
|
|
8979
|
+
let Z = ie(U), $ = ie(r), J = ie([...(/* @__PURE__ */ new Set([...u, ...U])).values()]), Y = ie(D);
|
|
8960
8980
|
ue(() => {
|
|
8961
8981
|
Y.current = D, !W.current && (D ? Ke() : y || ea());
|
|
8962
8982
|
}, [D]);
|
|
8963
|
-
let
|
|
8983
|
+
let ee = ie(d);
|
|
8964
8984
|
ue(() => {
|
|
8965
|
-
|
|
8985
|
+
ee.current = d;
|
|
8966
8986
|
}, [d]);
|
|
8967
|
-
let
|
|
8987
|
+
let ye = ie(l);
|
|
8968
8988
|
ue(() => {
|
|
8969
|
-
|
|
8989
|
+
ye.current = l;
|
|
8970
8990
|
}, [l]);
|
|
8971
8991
|
let ve = ie(t);
|
|
8972
8992
|
ue(() => {
|
|
@@ -8976,129 +8996,129 @@ function Ds({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8976
8996
|
ue(() => {
|
|
8977
8997
|
pe.current = i;
|
|
8978
8998
|
}, [i]);
|
|
8979
|
-
let
|
|
8999
|
+
let Ue = ie(o);
|
|
8980
9000
|
ue(() => {
|
|
8981
|
-
|
|
9001
|
+
Ue.current = o;
|
|
8982
9002
|
}, [o]);
|
|
8983
9003
|
let Ne = ie(s);
|
|
8984
9004
|
ue(() => {
|
|
8985
9005
|
Ne.current = s;
|
|
8986
9006
|
}, [s]);
|
|
8987
9007
|
let he = za(() => {
|
|
8988
|
-
let
|
|
8989
|
-
return p > 0 ? Ss(
|
|
9008
|
+
let K = (Me, ra) => Ue.current(Me, ra);
|
|
9009
|
+
return p > 0 ? Ss(K, p) : m > 0 ? ui(K, m) : K;
|
|
8990
9010
|
}, [m, p]), fe = ie();
|
|
8991
9011
|
ue(() => {
|
|
8992
9012
|
b && v && (fe.current = ui(() => {
|
|
8993
|
-
|
|
9013
|
+
N.current.active();
|
|
8994
9014
|
}, v));
|
|
8995
9015
|
}, [b, v]);
|
|
8996
9016
|
let ge = () => {
|
|
8997
9017
|
G.current !== null && (ta.clearTimeout(G.current), G.current = null);
|
|
8998
|
-
},
|
|
8999
|
-
ge(), G.current = ta.setTimeout(Ve,
|
|
9000
|
-
}, ze = (
|
|
9001
|
-
!
|
|
9018
|
+
}, be = (K, Me = !0) => {
|
|
9019
|
+
ge(), G.current = ta.setTimeout(Ve, K || S.current), Me && (x.current = Se());
|
|
9020
|
+
}, ze = (K) => {
|
|
9021
|
+
!H.current && !L.current && (ye.current(K, Ge), ee.current({ type: "active", prompted: !0 }, Ge)), R.current = 0, w.current = Se(), H.current = !0, be(E.current, !1);
|
|
9002
9022
|
}, Ee = () => {
|
|
9003
|
-
ge(), L.current || (ve.current(null, Ge),
|
|
9004
|
-
}, ke = (
|
|
9005
|
-
ge(), (L.current ||
|
|
9006
|
-
}, Ve = (
|
|
9023
|
+
ge(), L.current || (ve.current(null, Ge), ee.current({ type: "idle" }, Ge)), L.current = !0, T.current = Se(), I.current ? Be() : H.current && (w.current = 0, H.current = !1);
|
|
9024
|
+
}, ke = (K) => {
|
|
9025
|
+
ge(), (L.current || H.current) && (pe.current(K, Ge), ee.current({ type: "active", prompted: !1 }, Ge)), H.current = !1, w.current = 0, L.current = !1, F.current += Se() - T.current, P.current += Se() - T.current, Le(), be();
|
|
9026
|
+
}, Ve = (K) => {
|
|
9007
9027
|
if (!L.current) {
|
|
9008
9028
|
he.cancel && he.cancel();
|
|
9009
|
-
let Me = Se() -
|
|
9010
|
-
if (!(
|
|
9011
|
-
|
|
9029
|
+
let Me = Se() - x.current;
|
|
9030
|
+
if (!(S.current + E.current < Me) && E.current > 0 && !H.current) {
|
|
9031
|
+
N.current ? N.current.prompt() : ze(K);
|
|
9012
9032
|
return;
|
|
9013
9033
|
}
|
|
9014
|
-
|
|
9034
|
+
N.current ? N.current.idle() : Ee();
|
|
9015
9035
|
return;
|
|
9016
9036
|
}
|
|
9017
|
-
|
|
9018
|
-
}, ia = (
|
|
9019
|
-
if (!c && !
|
|
9020
|
-
if (ge(), !L.current &&
|
|
9021
|
-
Ve(
|
|
9037
|
+
N.current ? N.current.active() : ke(K);
|
|
9038
|
+
}, ia = (K) => {
|
|
9039
|
+
if (!c && !x.current && (x.current = Se(), pe.current(null, Ge)), he(K, Ge), H.current) return;
|
|
9040
|
+
if (ge(), !L.current && Z.current.includes(K.type)) {
|
|
9041
|
+
Ve(K);
|
|
9022
9042
|
return;
|
|
9023
9043
|
}
|
|
9024
|
-
let Me = Se() -
|
|
9025
|
-
if (L.current && !_ || !L.current && Me >=
|
|
9026
|
-
Ve(
|
|
9044
|
+
let Me = Se() - x.current;
|
|
9045
|
+
if (L.current && !_ || !L.current && Me >= S.current) {
|
|
9046
|
+
Ve(K);
|
|
9027
9047
|
return;
|
|
9028
9048
|
}
|
|
9029
|
-
O.current = !1, R.current = 0, w.current = 0,
|
|
9049
|
+
O.current = !1, R.current = 0, w.current = 0, be(), b && v && fe.current();
|
|
9030
9050
|
}, na = ie(ia);
|
|
9031
9051
|
ue(() => {
|
|
9032
|
-
let
|
|
9033
|
-
|
|
9034
|
-
}, [f, m, p,
|
|
9052
|
+
let K = z.current;
|
|
9053
|
+
K && Be(), f > 0 ? na.current = ui(ia, f) : na.current = ia, K && Le();
|
|
9054
|
+
}, [f, m, p, Ue, b, v]);
|
|
9035
9055
|
let Le = () => {
|
|
9036
|
-
ga && $.current && (z.current || (
|
|
9037
|
-
$.current.addEventListener(
|
|
9056
|
+
ga && $.current && (z.current || (J.current.forEach((K) => {
|
|
9057
|
+
$.current.addEventListener(K, na.current, { capture: !0, passive: !0 });
|
|
9038
9058
|
}), z.current = !0));
|
|
9039
|
-
}, Be = (
|
|
9040
|
-
ga && $.current && (z.current ||
|
|
9059
|
+
}, Be = (K = !1) => {
|
|
9060
|
+
ga && $.current && (z.current || K) && (J.current.forEach((Me) => {
|
|
9041
9061
|
$.current.removeEventListener(Me, na.current, { capture: !0 });
|
|
9042
9062
|
}), z.current = !1);
|
|
9043
|
-
}, ea =
|
|
9063
|
+
}, ea = B((K) => Y.current ? !1 : (ge(), Le(), L.current = !1, H.current = !1, O.current = !1, R.current = 0, w.current = 0, N.current && !K && N.current.start(), be(), !0), [G, L, Y, S, N]), sa = B((K) => Y.current ? !1 : (ge(), Le(), A.current = Se(), F.current += Se() - T.current, P.current += Se() - T.current, F.current = 0, L.current = !1, H.current = !1, O.current = !1, R.current = 0, w.current = 0, N.current && !K && N.current.reset(), y || be(), !0), [G, L, S, y, Y, N]), da = B((K) => Y.current ? !1 : (ge(), Le(), (L.current || H.current) && ke(), L.current = !1, H.current = !1, O.current = !1, R.current = 0, w.current = 0, A.current = Se(), N.current && !K && N.current.activate(), be(), !0), [G, L, H, Y, S, N]), Ke = B((K = !1) => Y.current || O.current ? !1 : (R.current = ba(), O.current = !0, Be(), ge(), N.current && !K && N.current.pause(), !0), [G, Y, N]), aa = B((K = !1) => Y.current || !O.current ? !1 : (O.current = !1, H.current || Le(), L.current || be(R.current), w.current && (w.current = Se()), N.current && !K && N.current.resume(), !0), [G, S, Y, R, N]), Ka = B((K, Me) => (N.current ? (Me && Ne.current(K, Ge), N.current.message(K)) : Me && Ne.current(K, Ge), !0), [s]), Ga = B(() => L.current, [L]), Ma = B(() => H.current, [H]), qa = B(() => N.current ? N.current.isLeader : null, [N]), $a = B(() => N.current ? N.current.isLastActive : null, [N]), ca = B(() => N.current ? N.current.token : null, [N]), ba = B(() => {
|
|
9044
9064
|
if (O.current) return R.current;
|
|
9045
|
-
let
|
|
9065
|
+
let K = R.current ? R.current : E.current + S.current, Me = x.current ? Se() - x.current : 0, ra = Math.floor(K - Me);
|
|
9046
9066
|
return ra < 0 ? 0 : Math.abs(ra);
|
|
9047
|
-
}, [
|
|
9048
|
-
let
|
|
9049
|
-
return
|
|
9050
|
-
}, [
|
|
9051
|
-
let
|
|
9052
|
-
return
|
|
9053
|
-
}, [
|
|
9067
|
+
}, [S, E, H, R, x]), je = B(() => Math.round(Se() - A.current), [A]), fa = B(() => Math.round(Se() - M.current), [M]), _a = B(() => T.current ? new Date(T.current) : null, [T]), Ra = B(() => x.current ? new Date(x.current) : null, [x]), Pa = B(() => L.current ? Math.round(Se() - T.current + F.current) : Math.round(F.current), [T, F]), Ca = B(() => L.current ? Math.round(Se() - T.current + P.current) : Math.round(P.current), [T, P]), wa = B(() => {
|
|
9068
|
+
let K = Math.round(je() - Pa());
|
|
9069
|
+
return K >= 0 ? K : 0;
|
|
9070
|
+
}, [T, F]), Fa = B(() => {
|
|
9071
|
+
let K = Math.round(fa() - Ca());
|
|
9072
|
+
return K >= 0 ? K : 0;
|
|
9073
|
+
}, [T, F]);
|
|
9054
9074
|
ue(() => {
|
|
9055
9075
|
if (p > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
9056
9076
|
g && Us(g);
|
|
9057
|
-
let
|
|
9058
|
-
|
|
9077
|
+
let K = () => {
|
|
9078
|
+
N.current && N.current.close(), he.cancel && he.cancel(), ge(), Be(!0);
|
|
9059
9079
|
};
|
|
9060
|
-
return ga && window.addEventListener("beforeunload",
|
|
9061
|
-
ga && window.removeEventListener("beforeunload",
|
|
9080
|
+
return ga && window.addEventListener("beforeunload", K), () => {
|
|
9081
|
+
ga && window.removeEventListener("beforeunload", K), N.current && N.current.close(), he.cancel && he.cancel(), ge(), Be(!0);
|
|
9062
9082
|
};
|
|
9063
9083
|
}, []), ue(() => {
|
|
9064
|
-
|
|
9084
|
+
N.current && N.current.close(), b ? N.current = new Ts({ channelName: C, leaderElection: h, onPrompt: () => {
|
|
9065
9085
|
ze();
|
|
9066
9086
|
}, onIdle: () => {
|
|
9067
9087
|
Ee();
|
|
9068
9088
|
}, onActive: () => {
|
|
9069
9089
|
ke();
|
|
9070
|
-
}, onMessage: (
|
|
9071
|
-
Ne.current(
|
|
9072
|
-
}, start: ea, reset: sa, activate: da, pause: Ke, resume: aa }) :
|
|
9073
|
-
}, [b, C,
|
|
9090
|
+
}, onMessage: (K) => {
|
|
9091
|
+
Ne.current(K, Ge);
|
|
9092
|
+
}, start: ea, reset: sa, activate: da, pause: Ke, resume: aa }) : N.current = null;
|
|
9093
|
+
}, [b, C, h, ye, ve, pe, Ne, ea, sa, Ke, aa]), ue(() => {
|
|
9074
9094
|
W.current || (ge(), Be(!0)), !(y || D) && (c ? ea() : Le());
|
|
9075
9095
|
}, [y, c, D, W]), ue(() => {
|
|
9076
9096
|
if (!W.current) {
|
|
9077
|
-
let
|
|
9078
|
-
if (Be(),
|
|
9097
|
+
let K = [...(/* @__PURE__ */ new Set([...u, ...U])).values()];
|
|
9098
|
+
if (Be(), J.current = K, $.current = r, Z.current = U, y || D) return;
|
|
9079
9099
|
c ? ea() : Le();
|
|
9080
9100
|
}
|
|
9081
9101
|
}, [r, JSON.stringify(u), JSON.stringify(U), W, D, y, c]), ue(() => {
|
|
9082
9102
|
W.current && (W.current = !1);
|
|
9083
9103
|
}, [W]);
|
|
9084
|
-
let Ge = { message: Ka, start: ea, reset: sa, activate: da, pause: Ke, resume: aa, isIdle: Ga, isPrompted: Ma, isLeader: qa, isLastActiveTab: $a, getTabId: ca, getRemainingTime: ba, getElapsedTime: je, getTotalElapsedTime: fa, getLastIdleTime: _a, getLastActiveTime: Ra, getIdleTime: Pa, getTotalIdleTime: Ca, getActiveTime: wa, getTotalActiveTime: Fa, setOnPresenceChange: (
|
|
9085
|
-
d =
|
|
9086
|
-
}, setOnPrompt: (
|
|
9087
|
-
l =
|
|
9088
|
-
}, setOnIdle: (
|
|
9089
|
-
t =
|
|
9090
|
-
}, setOnActive: (
|
|
9091
|
-
i =
|
|
9092
|
-
}, setOnAction: (
|
|
9093
|
-
o =
|
|
9094
|
-
}, setOnMessage: (
|
|
9095
|
-
s =
|
|
9104
|
+
let Ge = { message: Ka, start: ea, reset: sa, activate: da, pause: Ke, resume: aa, isIdle: Ga, isPrompted: Ma, isLeader: qa, isLastActiveTab: $a, getTabId: ca, getRemainingTime: ba, getElapsedTime: je, getTotalElapsedTime: fa, getLastIdleTime: _a, getLastActiveTime: Ra, getIdleTime: Pa, getTotalIdleTime: Ca, getActiveTime: wa, getTotalActiveTime: Fa, setOnPresenceChange: (K) => {
|
|
9105
|
+
d = K, ee.current = K;
|
|
9106
|
+
}, setOnPrompt: (K) => {
|
|
9107
|
+
l = K, ye.current = K;
|
|
9108
|
+
}, setOnIdle: (K) => {
|
|
9109
|
+
t = K, ve.current = K;
|
|
9110
|
+
}, setOnActive: (K) => {
|
|
9111
|
+
i = K, pe.current = K;
|
|
9112
|
+
}, setOnAction: (K) => {
|
|
9113
|
+
o = K, Ue.current = K;
|
|
9114
|
+
}, setOnMessage: (K) => {
|
|
9115
|
+
s = K, Ne.current = K;
|
|
9096
9116
|
} };
|
|
9097
9117
|
return Ge;
|
|
9098
9118
|
}
|
|
9099
9119
|
var Es = Yt(null);
|
|
9100
9120
|
Es.Consumer;
|
|
9101
|
-
const
|
|
9121
|
+
const Tu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
9102
9122
|
onIdle: e,
|
|
9103
9123
|
onActive: n,
|
|
9104
9124
|
onAction: a,
|
|
@@ -9127,12 +9147,12 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9127
9147
|
});
|
|
9128
9148
|
}, Ls = ({ options: e } = {}) => {
|
|
9129
9149
|
const { commonReadInboxApi: n } = La();
|
|
9130
|
-
return
|
|
9150
|
+
return ae({
|
|
9131
9151
|
mutationKey: ["readInbox"],
|
|
9132
9152
|
mutationFn: async (a) => await n(a),
|
|
9133
9153
|
...e
|
|
9134
9154
|
});
|
|
9135
|
-
},
|
|
9155
|
+
}, ku = ({
|
|
9136
9156
|
options: e = {
|
|
9137
9157
|
inboxList: {},
|
|
9138
9158
|
readInbox: {}
|
|
@@ -9146,7 +9166,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9146
9166
|
}, cr = () => {
|
|
9147
9167
|
const { client: e } = le();
|
|
9148
9168
|
return {
|
|
9149
|
-
newsListApi:
|
|
9169
|
+
newsListApi: B(
|
|
9150
9170
|
async ({ uid: a, params: r } = {}) => await e.get(`/news${a ? `/${a}` : ""}`, {
|
|
9151
9171
|
params: r
|
|
9152
9172
|
}),
|
|
@@ -9199,7 +9219,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9199
9219
|
value: "other",
|
|
9200
9220
|
...e.other
|
|
9201
9221
|
}
|
|
9202
|
-
],
|
|
9222
|
+
], xu = ({ options: e, formData: n } = {}) => {
|
|
9203
9223
|
const { lng: a } = le(), { newsListApi: r } = cr(), u = Ze(a);
|
|
9204
9224
|
return Q({
|
|
9205
9225
|
queryKey: ["newsList"],
|
|
@@ -9225,7 +9245,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9225
9245
|
},
|
|
9226
9246
|
...e
|
|
9227
9247
|
});
|
|
9228
|
-
},
|
|
9248
|
+
}, Su = ({ options: e, formData: n } = {}) => {
|
|
9229
9249
|
const { lng: a } = le(), { newsListApi: r } = cr(), u = Ze(a);
|
|
9230
9250
|
return Q({
|
|
9231
9251
|
queryKey: ["newsList"],
|
|
@@ -9245,12 +9265,12 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9245
9265
|
...e
|
|
9246
9266
|
});
|
|
9247
9267
|
}, Fe = () => {
|
|
9248
|
-
const { client: e } = le(), n =
|
|
9268
|
+
const { client: e } = le(), n = B(async () => await e.get("/payment/list"), [e]), a = B(
|
|
9249
9269
|
async ({ paramsData: c }) => await e.get("/thirdPartyPayment/list", {
|
|
9250
9270
|
params: { ...c }
|
|
9251
9271
|
}),
|
|
9252
9272
|
[e]
|
|
9253
|
-
), r =
|
|
9273
|
+
), r = B(
|
|
9254
9274
|
async (c) => {
|
|
9255
9275
|
const { deposit_amount: y, method_id: _, currency_code: b, provider_uid: C } = c;
|
|
9256
9276
|
return await e.post("/thirdPartyPayment/deposit", {
|
|
@@ -9263,7 +9283,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9263
9283
|
});
|
|
9264
9284
|
},
|
|
9265
9285
|
[e]
|
|
9266
|
-
), u =
|
|
9286
|
+
), u = B(
|
|
9267
9287
|
async (c) => {
|
|
9268
9288
|
const { bank_uid: y, amount: _, bank_number_last5: b, postscript: C } = c;
|
|
9269
9289
|
return await e.post("/vip/deposit", {
|
|
@@ -9274,7 +9294,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9274
9294
|
});
|
|
9275
9295
|
},
|
|
9276
9296
|
[e]
|
|
9277
|
-
), g =
|
|
9297
|
+
), g = B(
|
|
9278
9298
|
async (c) => {
|
|
9279
9299
|
const {
|
|
9280
9300
|
withdrawal_amount: y,
|
|
@@ -9293,33 +9313,33 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9293
9313
|
});
|
|
9294
9314
|
},
|
|
9295
9315
|
[e]
|
|
9296
|
-
), U =
|
|
9316
|
+
), U = B(
|
|
9297
9317
|
async ({ paramsData: c } = {}) => {
|
|
9298
|
-
const { str_date: y, end_date: _, limit: b = 25, current_page: C } = c || {}, v = Re().format("HH:mm:ss"),
|
|
9318
|
+
const { str_date: y, end_date: _, limit: b = 25, current_page: C } = c || {}, v = Re().format("HH:mm:ss"), h = Re().subtract(24, "hour").format("HH:mm:ss");
|
|
9299
9319
|
return await e.get("/report/deposit", {
|
|
9300
9320
|
params: {
|
|
9301
9321
|
str_date: `${Re(y).format("YYYY-MM-DD")} ${v}`,
|
|
9302
|
-
end_date: `${Re(_).format("YYYY-MM-DD")} ${
|
|
9322
|
+
end_date: `${Re(_).format("YYYY-MM-DD")} ${h}`,
|
|
9303
9323
|
limit: b,
|
|
9304
9324
|
page: C
|
|
9305
9325
|
}
|
|
9306
9326
|
});
|
|
9307
9327
|
},
|
|
9308
9328
|
[e]
|
|
9309
|
-
), d =
|
|
9329
|
+
), d = B(
|
|
9310
9330
|
async ({ paramsData: c }) => {
|
|
9311
|
-
const { str_date: y, end_date: _, limit: b = 25, current_page: C } = c || {}, v = Re().format("HH:mm:ss"),
|
|
9331
|
+
const { str_date: y, end_date: _, limit: b = 25, current_page: C } = c || {}, v = Re().format("HH:mm:ss"), h = Re().subtract(24, "hour").format("HH:mm:ss");
|
|
9312
9332
|
return await e.get("report/eventsreward", {
|
|
9313
9333
|
params: {
|
|
9314
9334
|
str_date: `${Re(y).format("YYYY-MM-DD")} ${v}`,
|
|
9315
|
-
end_date: `${Re(_).format("YYYY-MM-DD")} ${
|
|
9335
|
+
end_date: `${Re(_).format("YYYY-MM-DD")} ${h}`,
|
|
9316
9336
|
limit: b,
|
|
9317
9337
|
page: C
|
|
9318
9338
|
}
|
|
9319
9339
|
});
|
|
9320
9340
|
},
|
|
9321
9341
|
[e]
|
|
9322
|
-
), l =
|
|
9342
|
+
), l = B(
|
|
9323
9343
|
async ({ paramsData: c } = {}) => {
|
|
9324
9344
|
const { str_date: y, end_date: _, limit: b = 25, current_page: C } = c || {};
|
|
9325
9345
|
return await e.get("/report/withdraw", {
|
|
@@ -9332,7 +9352,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9332
9352
|
});
|
|
9333
9353
|
},
|
|
9334
9354
|
[e]
|
|
9335
|
-
), t =
|
|
9355
|
+
), t = B(
|
|
9336
9356
|
async ({ paramsData: c } = {}) => {
|
|
9337
9357
|
const { str_date: y, end_date: _, limit: b = 25, current_page: C } = c || {};
|
|
9338
9358
|
return await e.get("/report/other", {
|
|
@@ -9345,13 +9365,13 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9345
9365
|
});
|
|
9346
9366
|
},
|
|
9347
9367
|
[e]
|
|
9348
|
-
), i =
|
|
9368
|
+
), i = B(
|
|
9349
9369
|
async (c) => {
|
|
9350
9370
|
const { redeem_code: y } = c;
|
|
9351
9371
|
return await e.post(`/sn/redeem/${y}`);
|
|
9352
9372
|
},
|
|
9353
9373
|
[e]
|
|
9354
|
-
), o =
|
|
9374
|
+
), o = B(
|
|
9355
9375
|
async (c) => {
|
|
9356
9376
|
const { type: y, code: _ } = c;
|
|
9357
9377
|
return await e.post("/member/invoice", {
|
|
@@ -9360,7 +9380,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9360
9380
|
});
|
|
9361
9381
|
},
|
|
9362
9382
|
[e]
|
|
9363
|
-
), s =
|
|
9383
|
+
), s = B(
|
|
9364
9384
|
async (c) => {
|
|
9365
9385
|
const { type: y, code: _, uid: b } = c;
|
|
9366
9386
|
return await e.put(`/member/invoice/${b}`, {
|
|
@@ -9369,21 +9389,21 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9369
9389
|
});
|
|
9370
9390
|
},
|
|
9371
9391
|
[e]
|
|
9372
|
-
), p =
|
|
9392
|
+
), p = B(
|
|
9373
9393
|
async (c, y) => {
|
|
9374
9394
|
const {
|
|
9375
9395
|
str_date: _,
|
|
9376
9396
|
end_date: b,
|
|
9377
9397
|
limit: C = 25,
|
|
9378
9398
|
page: v = 1,
|
|
9379
|
-
wallet_log_uid:
|
|
9399
|
+
wallet_log_uid: h,
|
|
9380
9400
|
transhash: D
|
|
9381
9401
|
} = c;
|
|
9382
9402
|
return await e.get(`/walletlog/${y}`, {
|
|
9383
9403
|
params: {
|
|
9384
9404
|
s_date: _,
|
|
9385
9405
|
e_date: b,
|
|
9386
|
-
wallet_log_uid:
|
|
9406
|
+
wallet_log_uid: h,
|
|
9387
9407
|
transhash: D,
|
|
9388
9408
|
limit: C,
|
|
9389
9409
|
current_page: v
|
|
@@ -9391,7 +9411,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9391
9411
|
});
|
|
9392
9412
|
},
|
|
9393
9413
|
[e]
|
|
9394
|
-
), m =
|
|
9414
|
+
), m = B(
|
|
9395
9415
|
async (c) => {
|
|
9396
9416
|
const {
|
|
9397
9417
|
str_date: y,
|
|
@@ -9411,7 +9431,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9411
9431
|
});
|
|
9412
9432
|
},
|
|
9413
9433
|
[e]
|
|
9414
|
-
), f =
|
|
9434
|
+
), f = B(
|
|
9415
9435
|
async (c) => {
|
|
9416
9436
|
const {
|
|
9417
9437
|
str_date: y,
|
|
@@ -9483,14 +9503,14 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9483
9503
|
});
|
|
9484
9504
|
}, Ps = ({ options: e } = {}) => {
|
|
9485
9505
|
const { depositApi: n } = Fe();
|
|
9486
|
-
return
|
|
9506
|
+
return ae({
|
|
9487
9507
|
mutationKey: ["depositAction"],
|
|
9488
9508
|
mutationFn: async (a) => n(a),
|
|
9489
9509
|
...e
|
|
9490
9510
|
});
|
|
9491
9511
|
}, ws = ({ options: e } = {}) => {
|
|
9492
9512
|
const { withdrawApi: n } = Fe();
|
|
9493
|
-
return
|
|
9513
|
+
return ae({
|
|
9494
9514
|
mutationKey: ["withdrawAction"],
|
|
9495
9515
|
mutationFn: async (a) => n(a),
|
|
9496
9516
|
...e
|
|
@@ -9511,7 +9531,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9511
9531
|
});
|
|
9512
9532
|
}, Os = ({ options: e } = {}) => {
|
|
9513
9533
|
const { bankDepositApi: n } = Fe();
|
|
9514
|
-
return
|
|
9534
|
+
return ae({
|
|
9515
9535
|
mutationKey: ["bankDeposit"],
|
|
9516
9536
|
mutationFn: async (a) => n(a),
|
|
9517
9537
|
...e
|
|
@@ -9523,77 +9543,77 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9523
9543
|
queryFn: () => a({ paramsData: e }),
|
|
9524
9544
|
...n
|
|
9525
9545
|
});
|
|
9526
|
-
},
|
|
9546
|
+
}, Du = ({ options: e } = {}) => {
|
|
9527
9547
|
const { redeemCodeDepositApi: n } = Fe();
|
|
9528
|
-
return
|
|
9548
|
+
return ae({
|
|
9529
9549
|
mutationKey: ["redeemCodeDeposit"],
|
|
9530
9550
|
mutationFn: async (a) => n(a),
|
|
9531
9551
|
...e
|
|
9532
9552
|
});
|
|
9533
|
-
},
|
|
9553
|
+
}, Eu = ({ options: e } = {}) => {
|
|
9534
9554
|
const { invoiceApi: n } = Fe();
|
|
9535
|
-
return
|
|
9555
|
+
return ae({
|
|
9536
9556
|
mutationKey: ["invoiceAction"],
|
|
9537
9557
|
mutationFn: async (a) => n(a),
|
|
9538
9558
|
...e
|
|
9539
9559
|
});
|
|
9540
|
-
},
|
|
9560
|
+
}, Nu = ({ options: e } = {}) => {
|
|
9541
9561
|
const { updateInvoiceApi: n } = Fe();
|
|
9542
|
-
return
|
|
9562
|
+
return ae({
|
|
9543
9563
|
mutationKey: ["updateInvoiceAction"],
|
|
9544
9564
|
mutationFn: async (a) => n(a),
|
|
9545
9565
|
...e
|
|
9546
9566
|
});
|
|
9547
|
-
},
|
|
9567
|
+
}, Lu = ({ options: e, paramsData: n } = {}) => {
|
|
9548
9568
|
const { transactionRecordApi: a } = Fe();
|
|
9549
9569
|
return Q({
|
|
9550
9570
|
queryKey: ["transactionRecord", "deposit"],
|
|
9551
9571
|
queryFn: () => a(n, "deposit"),
|
|
9552
9572
|
...e
|
|
9553
9573
|
});
|
|
9554
|
-
},
|
|
9574
|
+
}, Gu = ({ options: e, paramsData: n } = {}) => {
|
|
9555
9575
|
const { transactionRecordApi: a } = Fe();
|
|
9556
9576
|
return Q({
|
|
9557
9577
|
queryKey: ["transactionRecord", "withdraw"],
|
|
9558
9578
|
queryFn: () => a(n, "withdraw"),
|
|
9559
9579
|
...e
|
|
9560
9580
|
});
|
|
9561
|
-
},
|
|
9581
|
+
}, Mu = ({ options: e, paramsData: n } = {}) => {
|
|
9562
9582
|
const { transactionRecordApi: a } = Fe();
|
|
9563
9583
|
return Q({
|
|
9564
9584
|
queryKey: ["transactionRecord", "event"],
|
|
9565
9585
|
queryFn: () => a(n, "event"),
|
|
9566
9586
|
...e
|
|
9567
9587
|
});
|
|
9568
|
-
},
|
|
9588
|
+
}, Ru = ({ options: e, paramsData: n } = {}) => {
|
|
9569
9589
|
const { transactionRecordApi: a } = Fe();
|
|
9570
9590
|
return Q({
|
|
9571
9591
|
queryKey: ["transactionRecord", "rebate"],
|
|
9572
9592
|
queryFn: () => a(n, "rebate"),
|
|
9573
9593
|
...e
|
|
9574
9594
|
});
|
|
9575
|
-
},
|
|
9595
|
+
}, Pu = ({ options: e, paramsData: n } = {}) => {
|
|
9576
9596
|
const { treasureRecordApi: a } = Fe();
|
|
9577
9597
|
return Q({
|
|
9578
9598
|
queryKey: ["treasureRecord", n],
|
|
9579
9599
|
queryFn: () => a(n),
|
|
9580
9600
|
...e
|
|
9581
9601
|
});
|
|
9582
|
-
},
|
|
9602
|
+
}, wu = ({ options: e, paramsData: n } = {}) => {
|
|
9583
9603
|
const { snCashRecordApi: a } = Fe();
|
|
9584
9604
|
return Q({
|
|
9585
9605
|
queryKey: ["snCashRecord", n],
|
|
9586
9606
|
queryFn: () => a(n),
|
|
9587
9607
|
...e
|
|
9588
9608
|
});
|
|
9589
|
-
},
|
|
9609
|
+
}, Fu = ({ options: e, paramsData: n } = {}) => {
|
|
9590
9610
|
const { otherTransactionApi: a } = Fe();
|
|
9591
9611
|
return Q({
|
|
9592
9612
|
queryKey: ["otherTransaction", n],
|
|
9593
9613
|
queryFn: () => a({ paramsData: n }),
|
|
9594
9614
|
...e
|
|
9595
9615
|
});
|
|
9596
|
-
},
|
|
9616
|
+
}, Au = ({
|
|
9597
9617
|
depositV1: e = {},
|
|
9598
9618
|
depositV2: n = {},
|
|
9599
9619
|
depositTransaction: a = {},
|
|
@@ -9714,7 +9734,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9714
9734
|
extendString: Sr,
|
|
9715
9735
|
extendUint8Array: Dr,
|
|
9716
9736
|
extendBuiltins: $s
|
|
9717
|
-
},
|
|
9737
|
+
}, Ou = (e, n) => {
|
|
9718
9738
|
const { playGameApi: a } = hi();
|
|
9719
9739
|
return Q({
|
|
9720
9740
|
queryKey: ["playGame"],
|
|
@@ -9751,7 +9771,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9751
9771
|
...n
|
|
9752
9772
|
});
|
|
9753
9773
|
}, Er = () => {
|
|
9754
|
-
const { client: e } = le(), n =
|
|
9774
|
+
const { client: e } = le(), n = B(async () => await e.get("/rebate"), [e]), a = B(async () => await e.post("/withdraw/rebate"), [e]);
|
|
9755
9775
|
return {
|
|
9756
9776
|
currentRebateApi: n,
|
|
9757
9777
|
receiveRebateApi: a
|
|
@@ -9766,12 +9786,12 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9766
9786
|
});
|
|
9767
9787
|
}, Ys = ({ options: e } = {}) => {
|
|
9768
9788
|
const { receiveRebateApi: n } = Er();
|
|
9769
|
-
return
|
|
9789
|
+
return ae({
|
|
9770
9790
|
mutationKey: ["receiveRebate"],
|
|
9771
9791
|
mutationFn: async () => n(),
|
|
9772
9792
|
...e
|
|
9773
9793
|
});
|
|
9774
|
-
},
|
|
9794
|
+
}, Bu = ({
|
|
9775
9795
|
options: e = {
|
|
9776
9796
|
currentRebate: {},
|
|
9777
9797
|
receiveRebate: {}
|
|
@@ -9783,17 +9803,17 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9783
9803
|
receiveRebate: a
|
|
9784
9804
|
};
|
|
9785
9805
|
}, nt = () => {
|
|
9786
|
-
const { client: e } = le(), n =
|
|
9806
|
+
const { client: e } = le(), n = B(
|
|
9787
9807
|
async ({ uid: U, params: d } = {}) => await e.get(`/memberRewards${U ? `/${U}` : ""}`, {
|
|
9788
9808
|
params: d
|
|
9789
9809
|
}),
|
|
9790
9810
|
[e]
|
|
9791
|
-
), a =
|
|
9811
|
+
), a = B(async () => await e.get("/memberRewards/member/unused"), [e]), r = B(async () => await e.get("/memberRewards/member/expired"), [e]), u = B(
|
|
9792
9812
|
async (U) => await e.post("/memberRewards/memberGetRewards", {
|
|
9793
9813
|
memberRewards_uid: U
|
|
9794
9814
|
}),
|
|
9795
9815
|
[e]
|
|
9796
|
-
), g =
|
|
9816
|
+
), g = B(async () => await e.get("/memberRewards/member/history"), [e]);
|
|
9797
9817
|
return {
|
|
9798
9818
|
rewardListApi: n,
|
|
9799
9819
|
unUsedRewardListApi: a,
|
|
@@ -9850,7 +9870,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9850
9870
|
});
|
|
9851
9871
|
}, em = ({ options: e } = {}) => {
|
|
9852
9872
|
const { redeemRewardApi: n } = nt();
|
|
9853
|
-
return
|
|
9873
|
+
return ae({
|
|
9854
9874
|
mutationKey: ["redeemReward"],
|
|
9855
9875
|
mutationFn: async (a) => await n(a),
|
|
9856
9876
|
...e
|
|
@@ -9876,7 +9896,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9876
9896
|
queryFn: n,
|
|
9877
9897
|
...e
|
|
9878
9898
|
});
|
|
9879
|
-
},
|
|
9899
|
+
}, Hu = ({
|
|
9880
9900
|
options: e = {
|
|
9881
9901
|
rewardsList: {},
|
|
9882
9902
|
redeemReward: {},
|
|
@@ -9902,7 +9922,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9902
9922
|
historyRewardsListQuery: g
|
|
9903
9923
|
};
|
|
9904
9924
|
}, Nr = () => {
|
|
9905
|
-
const { client: e } = le(), n =
|
|
9925
|
+
const { client: e } = le(), n = B(
|
|
9906
9926
|
async (r = {}) => {
|
|
9907
9927
|
const {
|
|
9908
9928
|
startTime: u = "2025-12-30 00:00:00",
|
|
@@ -9925,7 +9945,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9925
9945
|
});
|
|
9926
9946
|
},
|
|
9927
9947
|
[e]
|
|
9928
|
-
), a =
|
|
9948
|
+
), a = B(
|
|
9929
9949
|
async (r) => {
|
|
9930
9950
|
const { treasure_uid: u = "" } = r;
|
|
9931
9951
|
return await e.post(`/treasure/redeem/${u}`);
|
|
@@ -9936,7 +9956,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9936
9956
|
treasureListApi: n,
|
|
9937
9957
|
redeemTreasureApi: a
|
|
9938
9958
|
};
|
|
9939
|
-
},
|
|
9959
|
+
}, Wu = ({ paramsData: e, options: n } = {}) => {
|
|
9940
9960
|
const { client: a, lng: r } = le(), u = Ze(r || "tw"), { treasureListApi: g } = Nr();
|
|
9941
9961
|
return Q({
|
|
9942
9962
|
queryKey: ["treasureList", e],
|
|
@@ -9964,20 +9984,20 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
9964
9984
|
},
|
|
9965
9985
|
...n
|
|
9966
9986
|
});
|
|
9967
|
-
},
|
|
9987
|
+
}, zu = ({ options: e } = {}) => {
|
|
9968
9988
|
const { redeemTreasureApi: n } = Nr();
|
|
9969
|
-
return
|
|
9989
|
+
return ae({
|
|
9970
9990
|
mutationKey: ["redeemTreasure"],
|
|
9971
9991
|
mutationFn: async (a) => n(a),
|
|
9972
9992
|
...e
|
|
9973
9993
|
});
|
|
9974
9994
|
}, Lr = () => {
|
|
9975
|
-
const { client: e } = le(), n =
|
|
9995
|
+
const { client: e } = le(), n = B(async () => await e.get("/vip/list"), [e]), a = B(async () => await e.get("/vip/check"), [e]);
|
|
9976
9996
|
return {
|
|
9977
9997
|
vipListApi: n,
|
|
9978
9998
|
vipInfoApi: a
|
|
9979
9999
|
};
|
|
9980
|
-
},
|
|
10000
|
+
}, Iu = ({ options: e } = {}) => {
|
|
9981
10001
|
const { store: n } = le(), a = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: r } = Lr();
|
|
9982
10002
|
return Q({
|
|
9983
10003
|
queryKey: ["vipInfo"],
|
|
@@ -10039,14 +10059,14 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10039
10059
|
},
|
|
10040
10060
|
...e
|
|
10041
10061
|
});
|
|
10042
|
-
},
|
|
10062
|
+
}, Vu = ({ options: e } = {
|
|
10043
10063
|
vipList: {}
|
|
10044
10064
|
}) => ({
|
|
10045
10065
|
vipList: nm({ options: e.vipList })
|
|
10046
|
-
}),
|
|
10066
|
+
}), Ju = ({ onMessage: e } = {}) => {
|
|
10047
10067
|
const [n, a] = ya(!1), [r, u] = ya([]), g = ie(e);
|
|
10048
10068
|
g.current = e;
|
|
10049
|
-
const U =
|
|
10069
|
+
const U = B((o) => {
|
|
10050
10070
|
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
10051
10071
|
u((p) => [...p, { time: s, message: o }]);
|
|
10052
10072
|
}, []);
|
|
@@ -10062,7 +10082,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10062
10082
|
} else
|
|
10063
10083
|
a(!1), U("目前為一般瀏覽器環境,無法與 C# 通訊");
|
|
10064
10084
|
}, [U]);
|
|
10065
|
-
const d =
|
|
10085
|
+
const d = B(
|
|
10066
10086
|
(o) => {
|
|
10067
10087
|
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
10068
10088
|
if (window.chrome && window.chrome.webview) {
|
|
@@ -10076,10 +10096,10 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10076
10096
|
U(`模擬傳送 [${o}](非 WebView2 環境)`);
|
|
10077
10097
|
},
|
|
10078
10098
|
[U]
|
|
10079
|
-
), l =
|
|
10099
|
+
), l = B(() => d("home"), [d]), t = B(
|
|
10080
10100
|
() => d("clearcatch"),
|
|
10081
10101
|
[d]
|
|
10082
|
-
), i =
|
|
10102
|
+
), i = B(
|
|
10083
10103
|
() => d("restart_money_michine"),
|
|
10084
10104
|
[d]
|
|
10085
10105
|
);
|
|
@@ -10091,7 +10111,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10091
10111
|
webViewRestartMoneyMachine: i,
|
|
10092
10112
|
logs: r
|
|
10093
10113
|
};
|
|
10094
|
-
}, gt = "game-icon-ds88",
|
|
10114
|
+
}, gt = "game-icon-ds88", Zu = ({ gameData: e = {} } = {}) => {
|
|
10095
10115
|
const { lng: n } = le(), a = ol(n), {
|
|
10096
10116
|
gameCode: r,
|
|
10097
10117
|
// 遊戲代碼
|
|
@@ -10131,11 +10151,11 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10131
10151
|
// 英文名稱
|
|
10132
10152
|
gameNameZh: v,
|
|
10133
10153
|
// 中文名稱
|
|
10134
|
-
gameNameVi:
|
|
10154
|
+
gameNameVi: h,
|
|
10135
10155
|
// 越南名稱
|
|
10136
10156
|
gameNameTw: D
|
|
10137
10157
|
// 繁體中文名稱
|
|
10138
|
-
} = e, M = e?.[`gameName${a}`], A = `${st}/${gt}/${n}/${t}/${lt(r, / /g, "_")}.webp`,
|
|
10158
|
+
} = e, M = e?.[`gameName${a}`], A = `${st}/${gt}/${n}/${t}/${lt(r, / /g, "_")}.webp`, T = `${st}/${gt}/${n}/${t}/${lt(r, / /g, "_")}.gif`, x = `${st}/${gt}/en/${t}/${lt(r, / /g, "_")}.webp`, F = `${st}/${gt}/en/${t}/${lt(r, / /g, "_")}.gif`;
|
|
10139
10159
|
return {
|
|
10140
10160
|
gameCode: r,
|
|
10141
10161
|
gameUid: u,
|
|
@@ -10153,12 +10173,12 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10153
10173
|
userClickCount: b,
|
|
10154
10174
|
gameNameEn: C,
|
|
10155
10175
|
gameNameZh: v,
|
|
10156
|
-
gameNameVi:
|
|
10176
|
+
gameNameVi: h,
|
|
10157
10177
|
gameNameTw: D,
|
|
10158
10178
|
gameName: M,
|
|
10159
10179
|
gameImageUrl: A,
|
|
10160
|
-
gameImageUrlAnimated:
|
|
10161
|
-
fallbackGameImageUrl:
|
|
10180
|
+
gameImageUrlAnimated: T,
|
|
10181
|
+
fallbackGameImageUrl: x,
|
|
10162
10182
|
fallbackGameImageUrlAnimated: F,
|
|
10163
10183
|
popularityRanking: c,
|
|
10164
10184
|
isInvalidBet: y,
|
|
@@ -10175,7 +10195,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10175
10195
|
"HACK",
|
|
10176
10196
|
"NAGA",
|
|
10177
10197
|
"RSG"
|
|
10178
|
-
], e) && n ? `${e}_dark` : e,
|
|
10198
|
+
], e) && n ? `${e}_dark` : e, Ku = ({ platformData: e, darkMode: n } = {}) => {
|
|
10179
10199
|
const {
|
|
10180
10200
|
SubPlatformEnum: a,
|
|
10181
10201
|
// 子平台枚舉
|
|
@@ -10231,7 +10251,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10231
10251
|
allPlatforms: u
|
|
10232
10252
|
});
|
|
10233
10253
|
return Pe(d) || (g[U] = d), g;
|
|
10234
|
-
}, {}),
|
|
10254
|
+
}, {}), qu = ({
|
|
10235
10255
|
types: e = [],
|
|
10236
10256
|
platforms: n = [],
|
|
10237
10257
|
allGameType: a = [],
|
|
@@ -10287,15 +10307,15 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10287
10307
|
...M,
|
|
10288
10308
|
platformImageUrl: A
|
|
10289
10309
|
};
|
|
10290
|
-
}), b = um(o, r), C = gm(y), v = dm(C),
|
|
10291
|
-
(M, [A,
|
|
10292
|
-
const
|
|
10293
|
-
return M[A] =
|
|
10310
|
+
}), b = um(o, r), C = gm(y), v = dm(C), h = $n(y).reduce(
|
|
10311
|
+
(M, [A, T]) => {
|
|
10312
|
+
const x = ei(Xr(T));
|
|
10313
|
+
return M[A] = x, M;
|
|
10294
10314
|
},
|
|
10295
10315
|
{}
|
|
10296
10316
|
), D = Mi(y).reduce((M, A) => {
|
|
10297
|
-
const
|
|
10298
|
-
return M[A] =
|
|
10317
|
+
const T = Mi(y[A]);
|
|
10318
|
+
return M[A] = T, M;
|
|
10299
10319
|
}, {});
|
|
10300
10320
|
return {
|
|
10301
10321
|
platform: {
|
|
@@ -10324,13 +10344,13 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10324
10344
|
byPlatform: C,
|
|
10325
10345
|
byPlatformAndCategory: v,
|
|
10326
10346
|
byGameTypeAndPlatform: y,
|
|
10327
|
-
byGameType:
|
|
10347
|
+
byGameType: h
|
|
10328
10348
|
},
|
|
10329
10349
|
user: {
|
|
10330
10350
|
favorite: c
|
|
10331
10351
|
}
|
|
10332
10352
|
};
|
|
10333
|
-
},
|
|
10353
|
+
}, $u = (e = []) => !Xe(e) || Pe(e) ? [] : ei(e, (n) => Pe(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((a) => ({
|
|
10334
10354
|
...n,
|
|
10335
10355
|
...a,
|
|
10336
10356
|
platform: a.SubPlatformEnum,
|
|
@@ -10356,7 +10376,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
10356
10376
|
},
|
|
10357
10377
|
user: { favorite: [] }
|
|
10358
10378
|
}, _m = ({ enabled: e = !0 } = {}) => {
|
|
10359
|
-
const { getToken: n } = le(), { userFavoriteGameApi: a, userGameListApi: r } =
|
|
10379
|
+
const { getToken: n } = le(), { userFavoriteGameApi: a, userGameListApi: r } = ne(), { data: u, isLoading: g, error: U, refetch: d } = Q({
|
|
10360
10380
|
queryKey: ["gamesInfo"],
|
|
10361
10381
|
queryFn: async () => {
|
|
10362
10382
|
let l = {}, t = {};
|
|
@@ -36931,7 +36951,7 @@ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
|
|
|
36931
36951
|
const r = _m({ enabled: n });
|
|
36932
36952
|
return /* @__PURE__ */ ce.jsx(tr.Provider, { value: r, children: e });
|
|
36933
36953
|
};
|
|
36934
|
-
function
|
|
36954
|
+
function Qu({
|
|
36935
36955
|
children: e,
|
|
36936
36956
|
autoFetchGamesInfo: n = !1,
|
|
36937
36957
|
useMockData: a = !1,
|
|
@@ -36961,7 +36981,7 @@ function $u({
|
|
|
36961
36981
|
}
|
|
36962
36982
|
) }) }) });
|
|
36963
36983
|
}
|
|
36964
|
-
const
|
|
36984
|
+
const ju = () => {
|
|
36965
36985
|
const e = Da(), {
|
|
36966
36986
|
mutate: n,
|
|
36967
36987
|
isPending: a,
|
|
@@ -36982,7 +37002,7 @@ const Qu = () => {
|
|
|
36982
37002
|
const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), t = d.get("bind_id");
|
|
36983
37003
|
l && t && (U.current = !0, l === "line" ? n({ bindType: l, bindId: t }) : console.warn(`Unsupported bind type: ${l}`));
|
|
36984
37004
|
}, [n]), null;
|
|
36985
|
-
},
|
|
37005
|
+
}, Yu = ({ onFunction: e = () => {
|
|
36986
37006
|
}, buttonProps: n = {} } = {}) => {
|
|
36987
37007
|
const { lineConfig: a } = le(), r = ie(!1), u = j(a, "liffId", ""), g = new URLSearchParams(window.location.search), U = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), t = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = pr({
|
|
36988
37008
|
options: {
|
|
@@ -37220,8 +37240,8 @@ var Sa;
|
|
|
37220
37240
|
for (let b = 0, C = 0; b < o; b++) {
|
|
37221
37241
|
let v = l.slice(C, C + f - s + (b < m ? 0 : 1));
|
|
37222
37242
|
C += v.length;
|
|
37223
|
-
const
|
|
37224
|
-
b < m && v.push(0), c.push(v.concat(
|
|
37243
|
+
const h = te.reedSolomonComputeRemainder(v, y);
|
|
37244
|
+
b < m && v.push(0), c.push(v.concat(h));
|
|
37225
37245
|
}
|
|
37226
37246
|
let _ = [];
|
|
37227
37247
|
for (let b = 0; b < c[0].length; b++)
|
|
@@ -37438,7 +37458,7 @@ var Sa;
|
|
|
37438
37458
|
if (!d)
|
|
37439
37459
|
throw new Error("Assertion error");
|
|
37440
37460
|
}
|
|
37441
|
-
const g = class
|
|
37461
|
+
const g = class Ce {
|
|
37442
37462
|
/*-- Constructor (low level) and fields --*/
|
|
37443
37463
|
// Creates a new QR Code segment with the given attributes and data.
|
|
37444
37464
|
// The character count (numChars) must agree with the mode and the bit buffer length,
|
|
@@ -37456,36 +37476,36 @@ var Sa;
|
|
|
37456
37476
|
let t = [];
|
|
37457
37477
|
for (const i of l)
|
|
37458
37478
|
a(i, 8, t);
|
|
37459
|
-
return new
|
|
37479
|
+
return new Ce(Ce.Mode.BYTE, l.length, t);
|
|
37460
37480
|
}
|
|
37461
37481
|
// Returns a segment representing the given string of decimal digits encoded in numeric mode.
|
|
37462
37482
|
static makeNumeric(l) {
|
|
37463
|
-
if (!
|
|
37483
|
+
if (!Ce.isNumeric(l))
|
|
37464
37484
|
throw new RangeError("String contains non-numeric characters");
|
|
37465
37485
|
let t = [];
|
|
37466
37486
|
for (let i = 0; i < l.length; ) {
|
|
37467
37487
|
const o = Math.min(l.length - i, 3);
|
|
37468
37488
|
a(parseInt(l.substring(i, i + o), 10), o * 3 + 1, t), i += o;
|
|
37469
37489
|
}
|
|
37470
|
-
return new
|
|
37490
|
+
return new Ce(Ce.Mode.NUMERIC, l.length, t);
|
|
37471
37491
|
}
|
|
37472
37492
|
// Returns a segment representing the given text string encoded in alphanumeric mode.
|
|
37473
37493
|
// The characters allowed are: 0 to 9, A to Z (uppercase only), space,
|
|
37474
37494
|
// dollar, percent, asterisk, plus, hyphen, period, slash, colon.
|
|
37475
37495
|
static makeAlphanumeric(l) {
|
|
37476
|
-
if (!
|
|
37496
|
+
if (!Ce.isAlphanumeric(l))
|
|
37477
37497
|
throw new RangeError("String contains unencodable characters in alphanumeric mode");
|
|
37478
37498
|
let t = [], i;
|
|
37479
37499
|
for (i = 0; i + 2 <= l.length; i += 2) {
|
|
37480
|
-
let o =
|
|
37481
|
-
o +=
|
|
37500
|
+
let o = Ce.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)) * 45;
|
|
37501
|
+
o += Ce.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i + 1)), a(o, 11, t);
|
|
37482
37502
|
}
|
|
37483
|
-
return i < l.length && a(
|
|
37503
|
+
return i < l.length && a(Ce.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)), 6, t), new Ce(Ce.Mode.ALPHANUMERIC, l.length, t);
|
|
37484
37504
|
}
|
|
37485
37505
|
// Returns a new mutable list of zero or more segments to represent the given Unicode text string.
|
|
37486
37506
|
// The result may use various segment modes and switch modes to optimize the length of the bit stream.
|
|
37487
37507
|
static makeSegments(l) {
|
|
37488
|
-
return l == "" ? [] :
|
|
37508
|
+
return l == "" ? [] : Ce.isNumeric(l) ? [Ce.makeNumeric(l)] : Ce.isAlphanumeric(l) ? [Ce.makeAlphanumeric(l)] : [Ce.makeBytes(Ce.toUtf8ByteArray(l))];
|
|
37489
37509
|
}
|
|
37490
37510
|
// Returns a segment representing an Extended Channel Interpretation
|
|
37491
37511
|
// (ECI) designator with the given assignment value.
|
|
@@ -37501,18 +37521,18 @@ var Sa;
|
|
|
37501
37521
|
a(6, 3, t), a(l, 21, t);
|
|
37502
37522
|
else
|
|
37503
37523
|
throw new RangeError("ECI assignment value out of range");
|
|
37504
|
-
return new
|
|
37524
|
+
return new Ce(Ce.Mode.ECI, 0, t);
|
|
37505
37525
|
}
|
|
37506
37526
|
// Tests whether the given string can be encoded as a segment in numeric mode.
|
|
37507
37527
|
// A string is encodable iff each character is in the range 0 to 9.
|
|
37508
37528
|
static isNumeric(l) {
|
|
37509
|
-
return
|
|
37529
|
+
return Ce.NUMERIC_REGEX.test(l);
|
|
37510
37530
|
}
|
|
37511
37531
|
// Tests whether the given string can be encoded as a segment in alphanumeric mode.
|
|
37512
37532
|
// A string is encodable iff each character is in the following set: 0 to 9, A to Z
|
|
37513
37533
|
// (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
|
|
37514
37534
|
static isAlphanumeric(l) {
|
|
37515
|
-
return
|
|
37535
|
+
return Ce.ALPHANUMERIC_REGEX.test(l);
|
|
37516
37536
|
}
|
|
37517
37537
|
/*-- Methods --*/
|
|
37518
37538
|
// Returns a new copy of the data bits of this segment.
|
|
@@ -37701,7 +37721,7 @@ var Sm = (function() {
|
|
|
37701
37721
|
b.current = w, typeof a == "function" ? a(w) : a && (a.current = w);
|
|
37702
37722
|
},
|
|
37703
37723
|
[a]
|
|
37704
|
-
), [
|
|
37724
|
+
), [h, D] = _e.useState(!1), { margin: M, cells: A, numCells: T, calculatedImageSettings: x } = Wr({
|
|
37705
37725
|
value: u,
|
|
37706
37726
|
level: U,
|
|
37707
37727
|
minVersion: i,
|
|
@@ -37717,24 +37737,24 @@ var Sm = (function() {
|
|
|
37717
37737
|
if (!R)
|
|
37718
37738
|
return;
|
|
37719
37739
|
let L = A;
|
|
37720
|
-
const
|
|
37721
|
-
O &&
|
|
37740
|
+
const H = C.current, O = x != null && H !== null && H.complete && H.naturalHeight !== 0 && H.naturalWidth !== 0;
|
|
37741
|
+
O && x.excavation != null && (L = Hr(
|
|
37722
37742
|
A,
|
|
37723
|
-
|
|
37743
|
+
x.excavation
|
|
37724
37744
|
));
|
|
37725
37745
|
const W = window.devicePixelRatio || 1;
|
|
37726
37746
|
w.height = w.width = g * W;
|
|
37727
|
-
const z = g /
|
|
37728
|
-
R.scale(z, z), R.fillStyle = d, R.fillRect(0, 0,
|
|
37729
|
-
G.forEach(function(
|
|
37730
|
-
|
|
37747
|
+
const z = g / T * W;
|
|
37748
|
+
R.scale(z, z), R.fillStyle = d, R.fillRect(0, 0, T, T), R.fillStyle = l, Sm ? R.fill(new Path2D(Br(L, M))) : A.forEach(function(G, N) {
|
|
37749
|
+
G.forEach(function(S, E) {
|
|
37750
|
+
S && R.fillRect(E + M, N + M, 1, 1);
|
|
37731
37751
|
});
|
|
37732
|
-
}),
|
|
37733
|
-
|
|
37734
|
-
|
|
37735
|
-
|
|
37736
|
-
|
|
37737
|
-
|
|
37752
|
+
}), x && (R.globalAlpha = x.opacity), O && R.drawImage(
|
|
37753
|
+
H,
|
|
37754
|
+
x.x + M,
|
|
37755
|
+
x.y + M,
|
|
37756
|
+
x.w,
|
|
37757
|
+
x.h
|
|
37738
37758
|
);
|
|
37739
37759
|
}
|
|
37740
37760
|
}), _e.useEffect(() => {
|
|
@@ -37752,7 +37772,7 @@ var Sm = (function() {
|
|
|
37752
37772
|
D(!0);
|
|
37753
37773
|
},
|
|
37754
37774
|
ref: C,
|
|
37755
|
-
crossOrigin:
|
|
37775
|
+
crossOrigin: x?.crossOrigin
|
|
37756
37776
|
}
|
|
37757
37777
|
)), /* @__PURE__ */ _e.createElement(_e.Fragment, null, /* @__PURE__ */ _e.createElement(
|
|
37758
37778
|
"canvas",
|
|
@@ -37820,7 +37840,7 @@ var zr = _e.forwardRef(
|
|
|
37820
37840
|
crossOrigin: b.crossOrigin
|
|
37821
37841
|
}
|
|
37822
37842
|
));
|
|
37823
|
-
const
|
|
37843
|
+
const h = Br(C, c);
|
|
37824
37844
|
return /* @__PURE__ */ _e.createElement(
|
|
37825
37845
|
"svg",
|
|
37826
37846
|
_i({
|
|
@@ -37839,7 +37859,7 @@ var zr = _e.forwardRef(
|
|
|
37839
37859
|
shapeRendering: "crispEdges"
|
|
37840
37860
|
}
|
|
37841
37861
|
),
|
|
37842
|
-
/* @__PURE__ */ _e.createElement("path", { fill: l, d:
|
|
37862
|
+
/* @__PURE__ */ _e.createElement("path", { fill: l, d: h, shapeRendering: "crispEdges" }),
|
|
37843
37863
|
v
|
|
37844
37864
|
);
|
|
37845
37865
|
}
|
|
@@ -37889,7 +37909,7 @@ const Em = {
|
|
|
37889
37909
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
37890
37910
|
expired: "Kode QR telah kedaluwarsa"
|
|
37891
37911
|
}
|
|
37892
|
-
},
|
|
37912
|
+
}, a0 = ({ forcedShow: e = !1, isVisible: n, setIsVisible: a } = {}) => {
|
|
37893
37913
|
const { lng: r, getToken: u, lineConfig: g } = le(), [U, d] = ya(300), [l, t] = ya(!1), i = ie(null), o = j(g, "liffId", ""), s = Ze(r), p = u?.(), f = new URLSearchParams(window.location.search).get("mac") || di.get("machine_mac_address") || "", { data: c, isFetching: y } = ts({
|
|
37894
37914
|
formData: {
|
|
37895
37915
|
mac_address: f
|
|
@@ -37906,8 +37926,8 @@ const Em = {
|
|
|
37906
37926
|
i.current && clearInterval(i.current);
|
|
37907
37927
|
}), [_]);
|
|
37908
37928
|
const b = (v) => {
|
|
37909
|
-
const
|
|
37910
|
-
return `${
|
|
37929
|
+
const h = Math.floor(v / 60), D = v % 60;
|
|
37930
|
+
return `${h}:${D < 10 ? "0" : ""}${D}`;
|
|
37911
37931
|
};
|
|
37912
37932
|
if (!e && (!f || p)) return null;
|
|
37913
37933
|
const C = Vn[s] || Vn.en_US;
|
|
@@ -38422,7 +38442,7 @@ const Em = {
|
|
|
38422
38442
|
accent: "#8b9cff",
|
|
38423
38443
|
tabActive: "#ffffff",
|
|
38424
38444
|
tabInactive: "#8a8a94"
|
|
38425
|
-
},
|
|
38445
|
+
}, t0 = ({
|
|
38426
38446
|
open: e = !1,
|
|
38427
38447
|
onOpenChange: n,
|
|
38428
38448
|
siteName: a = "",
|
|
@@ -38440,9 +38460,9 @@ const Em = {
|
|
|
38440
38460
|
D.key === "Escape" && n?.(!1);
|
|
38441
38461
|
};
|
|
38442
38462
|
document.addEventListener("keydown", v);
|
|
38443
|
-
const
|
|
38463
|
+
const h = document.body.style.overflow;
|
|
38444
38464
|
return document.body.style.overflow = "hidden", () => {
|
|
38445
|
-
document.removeEventListener("keydown", v), document.body.style.overflow =
|
|
38465
|
+
document.removeEventListener("keydown", v), document.body.style.overflow = h;
|
|
38446
38466
|
};
|
|
38447
38467
|
}, [e, n]), !e) return null;
|
|
38448
38468
|
const b = s[f], C = () => n?.(!1);
|
|
@@ -38496,7 +38516,7 @@ const Em = {
|
|
|
38496
38516
|
},
|
|
38497
38517
|
children: [
|
|
38498
38518
|
Kn.map((v) => {
|
|
38499
|
-
const
|
|
38519
|
+
const h = f === v ? {
|
|
38500
38520
|
color: $e.tabActive,
|
|
38501
38521
|
fontWeight: 700,
|
|
38502
38522
|
borderBottom: `2px solid ${$e.accent}`
|
|
@@ -38517,7 +38537,7 @@ const Em = {
|
|
|
38517
38537
|
border: "none",
|
|
38518
38538
|
cursor: "pointer",
|
|
38519
38539
|
fontSize: 15,
|
|
38520
|
-
...
|
|
38540
|
+
...h
|
|
38521
38541
|
},
|
|
38522
38542
|
children: s.tabs[v]
|
|
38523
38543
|
},
|
|
@@ -38551,7 +38571,7 @@ const Em = {
|
|
|
38551
38571
|
":",
|
|
38552
38572
|
b.updatedAt
|
|
38553
38573
|
] }),
|
|
38554
|
-
b?.sections?.map((v,
|
|
38574
|
+
b?.sections?.map((v, h) => /* @__PURE__ */ ce.jsxs("div", { style: { marginBottom: 16 }, children: [
|
|
38555
38575
|
v.heading ? /* @__PURE__ */ ce.jsx(
|
|
38556
38576
|
"h3",
|
|
38557
38577
|
{
|
|
@@ -38577,32 +38597,32 @@ const Em = {
|
|
|
38577
38597
|
},
|
|
38578
38598
|
M
|
|
38579
38599
|
))
|
|
38580
|
-
] },
|
|
38600
|
+
] }, h))
|
|
38581
38601
|
] })
|
|
38582
38602
|
]
|
|
38583
38603
|
}
|
|
38584
38604
|
)
|
|
38585
38605
|
}
|
|
38586
38606
|
);
|
|
38587
|
-
},
|
|
38588
|
-
const [n, a] = ya(e), r =
|
|
38607
|
+
}, i0 = (e = !1) => {
|
|
38608
|
+
const [n, a] = ya(e), r = B(() => a(!0), []), u = B(() => a(!1), []), g = B(() => a((d) => !d), []), U = B((d) => a(!!d), []);
|
|
38589
38609
|
return { open: n, setOpen: a, onOpen: r, onClose: u, onToggle: g, onOpenChange: U };
|
|
38590
38610
|
};
|
|
38591
38611
|
export {
|
|
38592
38612
|
Qn as ApiCtx,
|
|
38593
|
-
|
|
38594
|
-
|
|
38613
|
+
Qu as ApiProvider,
|
|
38614
|
+
ju as Bind,
|
|
38595
38615
|
tr as GamesInfoCtx,
|
|
38596
|
-
|
|
38597
|
-
|
|
38616
|
+
Yu as LineLogin,
|
|
38617
|
+
a0 as LineQrCode,
|
|
38598
38618
|
Ei as MONTH_CARD_QUERY_KEY,
|
|
38599
38619
|
Ae as SOCKET_TYPE,
|
|
38600
38620
|
Ya as STATUS_TYPES,
|
|
38601
38621
|
jn as StatusContext,
|
|
38602
38622
|
rl as StatusProvider,
|
|
38603
|
-
|
|
38623
|
+
t0 as TermsDialog,
|
|
38604
38624
|
pm as buildMultiTypes,
|
|
38605
|
-
|
|
38625
|
+
qu as buildMultiTypesWithSubTypes,
|
|
38606
38626
|
ul as buildSinglePlatformWithSubTypes,
|
|
38607
38627
|
ml as buildSingleType,
|
|
38608
38628
|
um as categorizeGames,
|
|
@@ -38627,113 +38647,114 @@ export {
|
|
|
38627
38647
|
ym as initMockWindowData,
|
|
38628
38648
|
pi as interpolate,
|
|
38629
38649
|
cm as processGameInfo,
|
|
38630
|
-
|
|
38650
|
+
$u as processPlatformData,
|
|
38631
38651
|
rs as resolveGameMaintainDisplay,
|
|
38632
|
-
|
|
38652
|
+
Uu as useAbandonEventWallet,
|
|
38633
38653
|
Zm as useAbandonPoint,
|
|
38634
38654
|
le as useApiContext,
|
|
38635
|
-
|
|
38655
|
+
lu as useAvatarList,
|
|
38636
38656
|
Bm as useBalanceGetter,
|
|
38637
38657
|
zm as useBet,
|
|
38638
|
-
|
|
38658
|
+
ru as useBetRankingData,
|
|
38639
38659
|
Do as useBetRecord,
|
|
38640
38660
|
Eo as useBetRecordDetail,
|
|
38641
38661
|
is as useBindAccount,
|
|
38642
38662
|
os as useCheckCurrentEventProgress,
|
|
38643
38663
|
ss as useCheckEventStatus,
|
|
38664
|
+
$m as useCheckMemberTransfer,
|
|
38644
38665
|
Jm as useCheckPlayerWager,
|
|
38645
|
-
|
|
38646
|
-
|
|
38666
|
+
mu as useClientWebSocket,
|
|
38667
|
+
tu as useCreateMachine,
|
|
38647
38668
|
js as useCurrentRebate,
|
|
38648
38669
|
Ps as useDepositAction,
|
|
38649
38670
|
Fs as useDepositTransaction,
|
|
38650
38671
|
Ms as useDepositV1,
|
|
38651
38672
|
Rs as useDepositV2,
|
|
38652
|
-
|
|
38653
|
-
|
|
38654
|
-
|
|
38655
|
-
|
|
38656
|
-
|
|
38673
|
+
Lu as useDepositWalletLog,
|
|
38674
|
+
i0 as useDisclosure,
|
|
38675
|
+
fu as useEnabledEventWallet,
|
|
38676
|
+
_u as useEvaluateEventWallet,
|
|
38677
|
+
du as useEvent,
|
|
38657
38678
|
ls as useEventList,
|
|
38658
38679
|
As as useEventTransaction,
|
|
38659
|
-
|
|
38680
|
+
Mu as useEventWalletLog,
|
|
38660
38681
|
tm as useExpiredRewardsList,
|
|
38661
|
-
|
|
38682
|
+
Zu as useGameConfig,
|
|
38662
38683
|
Fm as useGameInfoContext,
|
|
38663
38684
|
_m as useGamesInfo,
|
|
38664
|
-
|
|
38665
|
-
|
|
38666
|
-
|
|
38685
|
+
bu as useGetAnnouncement,
|
|
38686
|
+
Cu as useGetCarouseList,
|
|
38687
|
+
cu as useGetEventWalletList,
|
|
38667
38688
|
ts as useGetMachineLoginCode,
|
|
38668
|
-
|
|
38689
|
+
vu as useGetMarquee,
|
|
38669
38690
|
Hm as useGetMemberInfo,
|
|
38670
|
-
|
|
38691
|
+
hu as useGetRankingGame,
|
|
38671
38692
|
im as useHistoryRewardsList,
|
|
38672
|
-
|
|
38673
|
-
|
|
38693
|
+
Tu as useIdleTimeout,
|
|
38694
|
+
ku as useInbox,
|
|
38674
38695
|
Ns as useInboxList,
|
|
38675
38696
|
Wm as useInitializeWithToken,
|
|
38676
|
-
|
|
38677
|
-
|
|
38697
|
+
Eu as useInvoiceAction,
|
|
38698
|
+
nu as useJackpotData,
|
|
38678
38699
|
pr as useLineLogin,
|
|
38679
38700
|
as as useLineLogin2,
|
|
38680
38701
|
Io as useLogin,
|
|
38681
38702
|
Vo as useLogout,
|
|
38682
38703
|
Km as useMachineLogin,
|
|
38683
|
-
|
|
38704
|
+
gu as useMemberEventSettle,
|
|
38684
38705
|
$o as useMemberInitSet,
|
|
38685
38706
|
qm as useMemberTransfer,
|
|
38686
|
-
|
|
38687
|
-
|
|
38688
|
-
|
|
38707
|
+
Qm as useMobileLogin,
|
|
38708
|
+
jm as useMobileLoginV2,
|
|
38709
|
+
Ym as useMobileRegister,
|
|
38689
38710
|
Im as useMonthCard,
|
|
38690
38711
|
Wo as useMonthCardInfo,
|
|
38691
|
-
|
|
38692
|
-
|
|
38693
|
-
|
|
38694
|
-
|
|
38695
|
-
|
|
38696
|
-
|
|
38712
|
+
Su as useNewsDetail,
|
|
38713
|
+
xu as useNewsList,
|
|
38714
|
+
Fu as useOtherTransaction,
|
|
38715
|
+
Au as usePayment,
|
|
38716
|
+
Ku as usePlatformConfig,
|
|
38717
|
+
Ou as usePlayGame,
|
|
38697
38718
|
Vm as usePointTransfer,
|
|
38698
38719
|
Ls as useReadInbox,
|
|
38699
|
-
|
|
38700
|
-
|
|
38720
|
+
Bu as useRebate,
|
|
38721
|
+
Ru as useRebateWalletLog,
|
|
38701
38722
|
Ys as useReceiveRebate,
|
|
38702
|
-
|
|
38703
|
-
|
|
38723
|
+
Du as useRedeemCodeDeposit,
|
|
38724
|
+
uu as useRedeemEventReward,
|
|
38704
38725
|
em as useRedeemReward,
|
|
38705
|
-
|
|
38726
|
+
zu as useRedeemTreasure,
|
|
38706
38727
|
qo as useResetUserPassword,
|
|
38707
38728
|
jo as useResetUserTransactionPassword,
|
|
38708
|
-
|
|
38729
|
+
Hu as useRewards,
|
|
38709
38730
|
Xs as useRewardsList,
|
|
38710
|
-
|
|
38731
|
+
Xm as useSendMobileVerifyCode,
|
|
38711
38732
|
Qo as useSetUserTransactionPassword,
|
|
38712
|
-
|
|
38713
|
-
|
|
38733
|
+
pu as useSettleEvent,
|
|
38734
|
+
yu as useSettleEventWallet,
|
|
38714
38735
|
Jo as useSignUp,
|
|
38715
|
-
|
|
38736
|
+
wu as useSnCashRecord,
|
|
38716
38737
|
Yn as useStatus,
|
|
38717
38738
|
Zo as useToggleFavoriteGame,
|
|
38718
38739
|
es as useTransferInGame,
|
|
38719
|
-
|
|
38720
|
-
|
|
38740
|
+
Wu as useTreasureList,
|
|
38741
|
+
Pu as useTreasureWalletLog,
|
|
38721
38742
|
am as useUnUsedRewardsList,
|
|
38722
|
-
|
|
38723
|
-
|
|
38743
|
+
ou as useUpdateAvatar,
|
|
38744
|
+
Nu as useUpdateInvoiceAction,
|
|
38724
38745
|
Ko as useUpdateUserInfo,
|
|
38725
|
-
|
|
38746
|
+
su as useUser,
|
|
38726
38747
|
Xo as useUserBindCard,
|
|
38727
38748
|
Yo as useUserRebate,
|
|
38728
|
-
|
|
38729
|
-
|
|
38730
|
-
|
|
38731
|
-
|
|
38732
|
-
|
|
38749
|
+
au as useVerifyDonationCode,
|
|
38750
|
+
eu as useVerifyPhoneBar,
|
|
38751
|
+
iu as useVerifyResetAction,
|
|
38752
|
+
Vu as useVip,
|
|
38753
|
+
Iu as useVipInfo,
|
|
38733
38754
|
nm as useVipList,
|
|
38734
|
-
|
|
38755
|
+
Ju as useWebView2,
|
|
38735
38756
|
ws as useWithdrawAction,
|
|
38736
38757
|
zo as useWithdrawMonthCard,
|
|
38737
38758
|
Bs as useWithdrawTransaction,
|
|
38738
|
-
|
|
38759
|
+
Gu as useWithdrawWalletLog
|
|
38739
38760
|
};
|