@obb871001/api-integration-sdk 1.0.421 → 1.0.423
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 +6 -6
- package/dist/index.js +760 -758
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Ce, { createContext as Yt, useContext as bi, useState as da, useMemo as Ia, useCallback as O, useRef as
|
|
2
|
-
import { useQueries as $n, useQuery as X, useQueryClient as
|
|
1
|
+
import Ce, { createContext as Yt, useContext as bi, useState as da, useMemo as Ia, useCallback as O, useRef as re, useEffect as _e } from "react";
|
|
2
|
+
import { useQueries as $n, useQuery as X, useQueryClient as Ea, useMutation as te, QueryClient as Kr, QueryClientProvider as qr } from "@tanstack/react-query";
|
|
3
3
|
import $r from "axios";
|
|
4
|
-
import { get as ee, replace as
|
|
4
|
+
import { get as ee, replace as tt, isEmpty as we, find as We, entries as Qn, forEach as Qr, map as De, isArray as aa, toLower as Gi, omit as jr, keyBy as Yr, includes as Xr, isObject as Xt, flatMap as ei, values as el, keys as Mi } from "lodash";
|
|
5
5
|
import al from "react-dom";
|
|
6
6
|
var ni = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
7
|
function Ui(e) {
|
|
@@ -31,10 +31,10 @@ function tl(e) {
|
|
|
31
31
|
});
|
|
32
32
|
}), a;
|
|
33
33
|
}
|
|
34
|
-
var st = { exports: {} },
|
|
34
|
+
var st = { exports: {} }, ja = {};
|
|
35
35
|
var Ri;
|
|
36
36
|
function il() {
|
|
37
|
-
if (Ri) return
|
|
37
|
+
if (Ri) return ja;
|
|
38
38
|
Ri = 1;
|
|
39
39
|
var e = Ce, i = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, m = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
40
40
|
function y(d, l, t) {
|
|
@@ -44,9 +44,9 @@ function il() {
|
|
|
44
44
|
if (d && d.defaultProps) for (n in l = d.defaultProps, l) o[n] === void 0 && (o[n] = l[n]);
|
|
45
45
|
return { $$typeof: i, type: d, key: s, ref: p, props: o, _owner: m.current };
|
|
46
46
|
}
|
|
47
|
-
return
|
|
47
|
+
return ja.Fragment = a, ja.jsx = y, ja.jsxs = y, ja;
|
|
48
48
|
}
|
|
49
|
-
var
|
|
49
|
+
var Ya = {};
|
|
50
50
|
var Pi;
|
|
51
51
|
function nl() {
|
|
52
52
|
return Pi || (Pi = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
@@ -67,8 +67,8 @@ function nl() {
|
|
|
67
67
|
}
|
|
68
68
|
function U(k, Z, $) {
|
|
69
69
|
{
|
|
70
|
-
var ae = b.ReactDebugCurrentFrame,
|
|
71
|
-
|
|
70
|
+
var ae = b.ReactDebugCurrentFrame, fe = ae.getStackAddendum();
|
|
71
|
+
fe !== "" && (Z += "%s", $ = $.concat([fe]));
|
|
72
72
|
var be = $.map(function(pe) {
|
|
73
73
|
return String(pe);
|
|
74
74
|
});
|
|
@@ -88,8 +88,8 @@ function nl() {
|
|
|
88
88
|
var ae = k.displayName;
|
|
89
89
|
if (ae)
|
|
90
90
|
return ae;
|
|
91
|
-
var
|
|
92
|
-
return
|
|
91
|
+
var fe = Z.displayName || Z.name || "";
|
|
92
|
+
return fe !== "" ? $ + "(" + fe + ")" : $;
|
|
93
93
|
}
|
|
94
94
|
function F(k) {
|
|
95
95
|
return k.displayName || "Context";
|
|
@@ -129,7 +129,7 @@ function nl() {
|
|
|
129
129
|
var ae = k.displayName || null;
|
|
130
130
|
return ae !== null ? ae : R(k.type) || "Memo";
|
|
131
131
|
case s: {
|
|
132
|
-
var
|
|
132
|
+
var fe = k, be = fe._payload, pe = fe._init;
|
|
133
133
|
try {
|
|
134
134
|
return R(pe(be));
|
|
135
135
|
} catch {
|
|
@@ -207,8 +207,8 @@ function nl() {
|
|
|
207
207
|
if (J === void 0)
|
|
208
208
|
try {
|
|
209
209
|
throw Error();
|
|
210
|
-
} catch (
|
|
211
|
-
var ae =
|
|
210
|
+
} catch (fe) {
|
|
211
|
+
var ae = fe.stack.trim().match(/\n( *(at )?)/);
|
|
212
212
|
J = ae && ae[1] || "";
|
|
213
213
|
}
|
|
214
214
|
return `
|
|
@@ -217,8 +217,8 @@ function nl() {
|
|
|
217
217
|
}
|
|
218
218
|
var q = !1, Q;
|
|
219
219
|
{
|
|
220
|
-
var
|
|
221
|
-
Q = new
|
|
220
|
+
var ne = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
|
+
Q = new ne();
|
|
222
222
|
}
|
|
223
223
|
function Y(k, Z) {
|
|
224
224
|
if (!k || q)
|
|
@@ -230,7 +230,7 @@ function nl() {
|
|
|
230
230
|
}
|
|
231
231
|
var ae;
|
|
232
232
|
q = !0;
|
|
233
|
-
var
|
|
233
|
+
var fe = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
235
|
var be;
|
|
236
236
|
be = I.current, I.current = null, P();
|
|
@@ -286,15 +286,15 @@ function nl() {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
q = !1, I.current = be, j(), Error.prepareStackTrace =
|
|
289
|
+
q = !1, I.current = be, j(), Error.prepareStackTrace = fe;
|
|
290
290
|
}
|
|
291
|
-
var
|
|
291
|
+
var Aa = k ? k.displayName || k.name : "", ha = Aa ? z(Aa) : "";
|
|
292
292
|
return typeof k == "function" && Q.set(k, ha), ha;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function le(k, Z, $) {
|
|
295
295
|
return Y(k, !1);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function de(k) {
|
|
298
298
|
var Z = k.prototype;
|
|
299
299
|
return !!(Z && Z.isReactComponent);
|
|
300
300
|
}
|
|
@@ -302,7 +302,7 @@ function nl() {
|
|
|
302
302
|
if (k == null)
|
|
303
303
|
return "";
|
|
304
304
|
if (typeof k == "function")
|
|
305
|
-
return Y(k,
|
|
305
|
+
return Y(k, de(k));
|
|
306
306
|
if (typeof k == "string")
|
|
307
307
|
return z(k);
|
|
308
308
|
switch (k) {
|
|
@@ -314,13 +314,13 @@ function nl() {
|
|
|
314
314
|
if (typeof k == "object")
|
|
315
315
|
switch (k.$$typeof) {
|
|
316
316
|
case l:
|
|
317
|
-
return
|
|
317
|
+
return le(k.render);
|
|
318
318
|
case o:
|
|
319
319
|
return Ne(k.type, Z, $);
|
|
320
320
|
case s: {
|
|
321
|
-
var ae = k,
|
|
321
|
+
var ae = k, fe = ae._payload, be = ae._init;
|
|
322
322
|
try {
|
|
323
|
-
return Ne(be(
|
|
323
|
+
return Ne(be(fe), Z, $);
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
@@ -335,7 +335,7 @@ function nl() {
|
|
|
335
335
|
} else
|
|
336
336
|
ve.setExtraStackFrame(null);
|
|
337
337
|
}
|
|
338
|
-
function Ye(k, Z, $, ae,
|
|
338
|
+
function Ye(k, Z, $, ae, fe) {
|
|
339
339
|
{
|
|
340
340
|
var be = Function.call.bind(Te);
|
|
341
341
|
for (var pe in k)
|
|
@@ -350,13 +350,13 @@ function nl() {
|
|
|
350
350
|
} catch (ke) {
|
|
351
351
|
se = ke;
|
|
352
352
|
}
|
|
353
|
-
se && !(se instanceof Error) && (Le(
|
|
353
|
+
se && !(se instanceof Error) && (Le(fe), _("%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).", ae || "React class", $, pe, typeof se), Le(null)), se instanceof Error && !(se.message in je) && (je[se.message] = !0, Le(fe), _("Failed %s type: %s", $, se.message), Le(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var ce = Array.isArray;
|
|
358
358
|
function ye(k) {
|
|
359
|
-
return
|
|
359
|
+
return ce(k);
|
|
360
360
|
}
|
|
361
361
|
function xe(k) {
|
|
362
362
|
{
|
|
@@ -400,10 +400,10 @@ function nl() {
|
|
|
400
400
|
}
|
|
401
401
|
return k.key !== void 0;
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function qa(k, Z) {
|
|
404
404
|
typeof k.ref == "string" && Be.current;
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function Ga(k, Z) {
|
|
407
407
|
{
|
|
408
408
|
var $ = function() {
|
|
409
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)", Z));
|
|
@@ -414,7 +414,7 @@ function nl() {
|
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function Ma(k, Z) {
|
|
418
418
|
{
|
|
419
419
|
var $ = function() {
|
|
420
420
|
ca || (ca = !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)", Z));
|
|
@@ -425,7 +425,7 @@ function nl() {
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var
|
|
428
|
+
var $a = function(k, Z, $, ae, fe, be, pe) {
|
|
429
429
|
var se = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: i,
|
|
@@ -451,13 +451,13 @@ function nl() {
|
|
|
451
451
|
configurable: !1,
|
|
452
452
|
enumerable: !1,
|
|
453
453
|
writable: !1,
|
|
454
|
-
value:
|
|
454
|
+
value: fe
|
|
455
455
|
}), Object.freeze && (Object.freeze(se.props), Object.freeze(se)), se;
|
|
456
456
|
};
|
|
457
|
-
function
|
|
457
|
+
function Qa(k, Z, $, ae, fe) {
|
|
458
458
|
{
|
|
459
459
|
var be, pe = {}, se = null, ze = null;
|
|
460
|
-
$ !== void 0 && (Ge($), se = "" + $), ia(Z) && (Ge(Z.key), se = "" + Z.key), Ke(Z) && (ze = Z.ref,
|
|
460
|
+
$ !== void 0 && (Ge($), se = "" + $), ia(Z) && (Ge(Z.key), se = "" + Z.key), Ke(Z) && (ze = Z.ref, qa(Z, fe));
|
|
461
461
|
for (be in Z)
|
|
462
462
|
Te.call(Z, be) && !ta.hasOwnProperty(be) && (pe[be] = Z[be]);
|
|
463
463
|
if (k && k.defaultProps) {
|
|
@@ -467,9 +467,9 @@ function nl() {
|
|
|
467
467
|
}
|
|
468
468
|
if (se || ze) {
|
|
469
469
|
var Se = typeof k == "function" ? k.displayName || k.name || "Unknown" : k;
|
|
470
|
-
se &&
|
|
470
|
+
se && Ga(pe, Se), ze && Ma(pe, Se);
|
|
471
471
|
}
|
|
472
|
-
return
|
|
472
|
+
return $a(k, se, ze, fe, ae, Be.current, pe);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
var fa = b.ReactCurrentOwner, Ca = b.ReactDebugCurrentFrame;
|
|
@@ -485,7 +485,7 @@ function nl() {
|
|
|
485
485
|
function ya(k) {
|
|
486
486
|
return typeof k == "object" && k !== null && k.$$typeof === i;
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function Ra() {
|
|
489
489
|
{
|
|
490
490
|
if (fa.current) {
|
|
491
491
|
var k = R(fa.current.type);
|
|
@@ -497,13 +497,13 @@ Check the render method of \`` + k + "`.";
|
|
|
497
497
|
return "";
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function Pa(k) {
|
|
501
501
|
return "";
|
|
502
502
|
}
|
|
503
503
|
var va = {};
|
|
504
|
-
function
|
|
504
|
+
function wa(k) {
|
|
505
505
|
{
|
|
506
|
-
var Z =
|
|
506
|
+
var Z = Ra();
|
|
507
507
|
if (!Z) {
|
|
508
508
|
var $ = typeof k == "string" ? k : k.displayName || k.name;
|
|
509
509
|
$ && (Z = `
|
|
@@ -513,12 +513,12 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
513
513
|
return Z;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Fa(k, Z) {
|
|
517
517
|
{
|
|
518
518
|
if (!k._store || k._store.validated || k.key != null)
|
|
519
519
|
return;
|
|
520
520
|
k._store.validated = !0;
|
|
521
|
-
var $ =
|
|
521
|
+
var $ = wa(Z);
|
|
522
522
|
if (va[$])
|
|
523
523
|
return;
|
|
524
524
|
va[$] = !0;
|
|
@@ -533,15 +533,15 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
533
533
|
if (ye(k))
|
|
534
534
|
for (var $ = 0; $ < k.length; $++) {
|
|
535
535
|
var ae = k[$];
|
|
536
|
-
ya(ae) &&
|
|
536
|
+
ya(ae) && Fa(ae, Z);
|
|
537
537
|
}
|
|
538
538
|
else if (ya(k))
|
|
539
539
|
k._store && (k._store.validated = !0);
|
|
540
540
|
else if (k) {
|
|
541
|
-
var
|
|
542
|
-
if (typeof
|
|
543
|
-
for (var be =
|
|
544
|
-
ya(pe.value) &&
|
|
541
|
+
var fe = c(k);
|
|
542
|
+
if (typeof fe == "function" && fe !== k.entries)
|
|
543
|
+
for (var be = fe.call(k), pe; !(pe = be.next()).done; )
|
|
544
|
+
ya(pe.value) && Fa(pe.value, Z);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
@@ -564,8 +564,8 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
564
564
|
Ye($, k.props, "prop", ae, k);
|
|
565
565
|
} else if (Z.PropTypes !== void 0 && !_a) {
|
|
566
566
|
_a = !0;
|
|
567
|
-
var
|
|
568
|
-
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
567
|
+
var fe = R(Z);
|
|
568
|
+
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", fe || "Unknown");
|
|
569
569
|
}
|
|
570
570
|
typeof Z.getDefaultProps == "function" && !Z.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
571
571
|
}
|
|
@@ -583,18 +583,18 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var ra = {};
|
|
586
|
-
function He(k, Z, $, ae,
|
|
586
|
+
function He(k, Z, $, ae, fe, be) {
|
|
587
587
|
{
|
|
588
588
|
var pe = T(k);
|
|
589
589
|
if (!pe) {
|
|
590
590
|
var se = "";
|
|
591
591
|
(k === void 0 || typeof k == "object" && k !== null && Object.keys(k).length === 0) && (se += " 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
|
-
var ze =
|
|
593
|
-
ze ? se += ze : se +=
|
|
592
|
+
var ze = Pa();
|
|
593
|
+
ze ? se += ze : se += Ra();
|
|
594
594
|
var ke;
|
|
595
595
|
k === null ? ke = "null" : ye(k) ? ke = "array" : k !== void 0 && k.$$typeof === i ? (ke = "<" + (R(k.type) || "Unknown") + " />", se = " Did you accidentally export a JSX literal instead of a component?") : ke = 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", ke, se);
|
|
596
596
|
}
|
|
597
|
-
var Se =
|
|
597
|
+
var Se = Qa(k, Z, $, fe, be);
|
|
598
598
|
if (Se == null)
|
|
599
599
|
return Se;
|
|
600
600
|
if (pe) {
|
|
@@ -602,8 +602,8 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
602
602
|
if (ea !== void 0)
|
|
603
603
|
if (ae)
|
|
604
604
|
if (ye(ea)) {
|
|
605
|
-
for (var
|
|
606
|
-
Me(ea[
|
|
605
|
+
for (var Aa = 0; Aa < ea.length; Aa++)
|
|
606
|
+
Me(ea[Aa], k);
|
|
607
607
|
Object.freeze && Object.freeze(ea);
|
|
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.");
|
|
@@ -634,8 +634,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
634
634
|
return He(k, Z, $, !1);
|
|
635
635
|
}
|
|
636
636
|
var ti = ot, Vr = la;
|
|
637
|
-
|
|
638
|
-
})()),
|
|
637
|
+
Ya.Fragment = r, Ya.jsx = ti, Ya.jsxs = Vr;
|
|
638
|
+
})()), Ya;
|
|
639
639
|
}
|
|
640
640
|
var wi;
|
|
641
641
|
function rl() {
|
|
@@ -647,19 +647,19 @@ const jn = Yt(null), me = () => {
|
|
|
647
647
|
if (!e)
|
|
648
648
|
throw new Error("useApiContext must be used within ApiProvider");
|
|
649
649
|
return e;
|
|
650
|
-
},
|
|
650
|
+
}, Xa = {
|
|
651
651
|
READY: "ready",
|
|
652
652
|
PENDING: "pending"
|
|
653
653
|
}, Yn = Yt(null), ll = ({ children: e }) => {
|
|
654
|
-
const [i, a] = da(
|
|
655
|
-
const m = i ===
|
|
654
|
+
const [i, a] = da(Xa.READY), r = Ia(() => {
|
|
655
|
+
const m = i === Xa.READY, g = i === Xa.PENDING;
|
|
656
656
|
return {
|
|
657
657
|
status: i,
|
|
658
658
|
setStatus: a,
|
|
659
659
|
isReady: m,
|
|
660
660
|
isPending: g,
|
|
661
|
-
setAsReady: () => a(
|
|
662
|
-
setAsPending: () => a(
|
|
661
|
+
setAsReady: () => a(Xa.READY),
|
|
662
|
+
setAsPending: () => a(Xa.PENDING)
|
|
663
663
|
};
|
|
664
664
|
}, [i]);
|
|
665
665
|
return /* @__PURE__ */ ge.jsx(Yn.Provider, { value: r, children: e });
|
|
@@ -687,7 +687,7 @@ const jn = Yt(null), me = () => {
|
|
|
687
687
|
default:
|
|
688
688
|
return e;
|
|
689
689
|
}
|
|
690
|
-
}, Qe = "https://d1h3qe8voog6w4.cloudfront.net",
|
|
690
|
+
}, Qe = "https://d1h3qe8voog6w4.cloudfront.net", it = "https://d3jx2uvukujuvn.cloudfront.net", er = (e) => `${Qe}/reward_icon/${e}.avif`, ar = () => `${Qe}/reward_icon/background_deposit.avif`, tr = "ds88platformIcon", za = {
|
|
691
691
|
zh_TW: "系統提示",
|
|
692
692
|
zh_CN: "系统提示",
|
|
693
693
|
en_US: "System Prompt",
|
|
@@ -768,7 +768,7 @@ const ir = Yt(null), zm = () => {
|
|
|
768
768
|
preferAnimated: m = !1
|
|
769
769
|
} = {}) => {
|
|
770
770
|
if (!i || !a) return [];
|
|
771
|
-
const g =
|
|
771
|
+
const g = tt(a, / /g, "_"), y = (o, s, p) => `${it}/${sl}/${o}/${i}/${g}${s}.${p}`, d = e && e !== "en" ? [e, "en"] : ["en"], l = m ? ["gif", "webp"] : ["webp", "gif"], t = (o) => d.flatMap((s) => l.map((p) => y(s, o, p))), n = t("");
|
|
772
772
|
return r ? [...t("_long"), ...n] : n;
|
|
773
773
|
}, ul = (e) => {
|
|
774
774
|
switch (e) {
|
|
@@ -846,306 +846,26 @@ const ir = Yt(null), zm = () => {
|
|
|
846
846
|
);
|
|
847
847
|
return pl(g);
|
|
848
848
|
};
|
|
849
|
-
var dt = { exports: {} }
|
|
850
|
-
function
|
|
851
|
-
return Ai || (Ai = 1, (function(e, i) {
|
|
852
|
-
(function(a, r) {
|
|
853
|
-
e.exports = r();
|
|
854
|
-
})(cl, (function() {
|
|
855
|
-
var a = 1e3, r = 6e4, m = 36e5, g = "millisecond", y = "second", d = "minute", l = "hour", t = "day", n = "week", o = "month", s = "quarter", p = "year", u = "date", f = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) {
|
|
856
|
-
var L = ["th", "st", "nd", "rd"], G = M % 100;
|
|
857
|
-
return "[" + M + (L[(G - 20) % 10] || L[G] || L[0]) + "]";
|
|
858
|
-
} }, U = function(M, L, G) {
|
|
859
|
-
var W = String(M);
|
|
860
|
-
return !W || W.length >= L ? M : "" + Array(L + 1 - W.length).join(G) + M;
|
|
861
|
-
}, C = { s: U, z: function(M) {
|
|
862
|
-
var L = -M.utcOffset(), G = Math.abs(L), W = Math.floor(G / 60), H = G % 60;
|
|
863
|
-
return (L <= 0 ? "+" : "-") + U(W, 2, "0") + ":" + U(H, 2, "0");
|
|
864
|
-
}, m: function M(L, G) {
|
|
865
|
-
if (L.date() < G.date()) return -M(G, L);
|
|
866
|
-
var W = 12 * (G.year() - L.year()) + (G.month() - L.month()), H = L.clone().add(W, o), A = G - H < 0, V = L.clone().add(W + (A ? -1 : 1), o);
|
|
867
|
-
return +(-(W + (G - H) / (A ? H - V : V - H)) || 0);
|
|
868
|
-
}, a: function(M) {
|
|
869
|
-
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
870
|
-
}, p: function(M) {
|
|
871
|
-
return { M: o, y: p, w: n, d: t, D: u, h: l, m: d, s: y, ms: g, Q: s }[M] || String(M || "").toLowerCase().replace(/s$/, "");
|
|
872
|
-
}, u: function(M) {
|
|
873
|
-
return M === void 0;
|
|
874
|
-
} }, v = "en", h = {};
|
|
875
|
-
h[v] = _;
|
|
876
|
-
var S = "$isDayjsObject", N = function(M) {
|
|
877
|
-
return M instanceof F || !(!M || !M[S]);
|
|
878
|
-
}, B = function M(L, G, W) {
|
|
879
|
-
var H;
|
|
880
|
-
if (!L) return v;
|
|
881
|
-
if (typeof L == "string") {
|
|
882
|
-
var A = L.toLowerCase();
|
|
883
|
-
h[A] && (H = A), G && (h[A] = G, H = A);
|
|
884
|
-
var V = L.split("-");
|
|
885
|
-
if (!H && V.length > 1) return M(V[0]);
|
|
886
|
-
} else {
|
|
887
|
-
var D = L.name;
|
|
888
|
-
h[D] = L, H = D;
|
|
889
|
-
}
|
|
890
|
-
return !W && H && (v = H), H || !W && v;
|
|
891
|
-
}, T = function(M, L) {
|
|
892
|
-
if (N(M)) return M.clone();
|
|
893
|
-
var G = typeof L == "object" ? L : {};
|
|
894
|
-
return G.date = M, G.args = arguments, new F(G);
|
|
895
|
-
}, x = C;
|
|
896
|
-
x.l = B, x.i = N, x.w = function(M, L) {
|
|
897
|
-
return T(M, { locale: L.$L, utc: L.$u, x: L.$x, $offset: L.$offset });
|
|
898
|
-
};
|
|
899
|
-
var F = (function() {
|
|
900
|
-
function M(G) {
|
|
901
|
-
this.$L = B(G.locale, null, !0), this.parse(G), this.$x = this.$x || G.x || {}, this[S] = !0;
|
|
902
|
-
}
|
|
903
|
-
var L = M.prototype;
|
|
904
|
-
return L.parse = function(G) {
|
|
905
|
-
this.$d = (function(W) {
|
|
906
|
-
var H = W.date, A = W.utc;
|
|
907
|
-
if (H === null) return /* @__PURE__ */ new Date(NaN);
|
|
908
|
-
if (x.u(H)) return /* @__PURE__ */ new Date();
|
|
909
|
-
if (H instanceof Date) return new Date(H);
|
|
910
|
-
if (typeof H == "string" && !/Z$/i.test(H)) {
|
|
911
|
-
var V = H.match(c);
|
|
912
|
-
if (V) {
|
|
913
|
-
var D = V[2] - 1 || 0, E = (V[7] || "0").substring(0, 3);
|
|
914
|
-
return A ? new Date(Date.UTC(V[1], D, V[3] || 1, V[4] || 0, V[5] || 0, V[6] || 0, E)) : new Date(V[1], D, V[3] || 1, V[4] || 0, V[5] || 0, V[6] || 0, E);
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
return new Date(H);
|
|
918
|
-
})(G), this.init();
|
|
919
|
-
}, L.init = function() {
|
|
920
|
-
var G = this.$d;
|
|
921
|
-
this.$y = G.getFullYear(), this.$M = G.getMonth(), this.$D = G.getDate(), this.$W = G.getDay(), this.$H = G.getHours(), this.$m = G.getMinutes(), this.$s = G.getSeconds(), this.$ms = G.getMilliseconds();
|
|
922
|
-
}, L.$utils = function() {
|
|
923
|
-
return x;
|
|
924
|
-
}, L.isValid = function() {
|
|
925
|
-
return this.$d.toString() !== f;
|
|
926
|
-
}, L.isSame = function(G, W) {
|
|
927
|
-
var H = T(G);
|
|
928
|
-
return this.startOf(W) <= H && H <= this.endOf(W);
|
|
929
|
-
}, L.isAfter = function(G, W) {
|
|
930
|
-
return T(G) < this.startOf(W);
|
|
931
|
-
}, L.isBefore = function(G, W) {
|
|
932
|
-
return this.endOf(W) < T(G);
|
|
933
|
-
}, L.$g = function(G, W, H) {
|
|
934
|
-
return x.u(G) ? this[W] : this.set(H, G);
|
|
935
|
-
}, L.unix = function() {
|
|
936
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
937
|
-
}, L.valueOf = function() {
|
|
938
|
-
return this.$d.getTime();
|
|
939
|
-
}, L.startOf = function(G, W) {
|
|
940
|
-
var H = this, A = !!x.u(W) || W, V = x.p(G), D = function(q, Q) {
|
|
941
|
-
var re = x.w(H.$u ? Date.UTC(H.$y, Q, q) : new Date(H.$y, Q, q), H);
|
|
942
|
-
return A ? re : re.endOf(t);
|
|
943
|
-
}, E = function(q, Q) {
|
|
944
|
-
return x.w(H.toDate()[q].apply(H.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Q)), H);
|
|
945
|
-
}, w = this.$W, P = this.$M, j = this.$D, I = "set" + (this.$u ? "UTC" : "");
|
|
946
|
-
switch (V) {
|
|
947
|
-
case p:
|
|
948
|
-
return A ? D(1, 0) : D(31, 11);
|
|
949
|
-
case o:
|
|
950
|
-
return A ? D(1, P) : D(0, P + 1);
|
|
951
|
-
case n:
|
|
952
|
-
var J = this.$locale().weekStart || 0, z = (w < J ? w + 7 : w) - J;
|
|
953
|
-
return D(A ? j - z : j + (6 - z), P);
|
|
954
|
-
case t:
|
|
955
|
-
case u:
|
|
956
|
-
return E(I + "Hours", 0);
|
|
957
|
-
case l:
|
|
958
|
-
return E(I + "Minutes", 1);
|
|
959
|
-
case d:
|
|
960
|
-
return E(I + "Seconds", 2);
|
|
961
|
-
case y:
|
|
962
|
-
return E(I + "Milliseconds", 3);
|
|
963
|
-
default:
|
|
964
|
-
return this.clone();
|
|
965
|
-
}
|
|
966
|
-
}, L.endOf = function(G) {
|
|
967
|
-
return this.startOf(G, !1);
|
|
968
|
-
}, L.$set = function(G, W) {
|
|
969
|
-
var H, A = x.p(G), V = "set" + (this.$u ? "UTC" : ""), D = (H = {}, H[t] = V + "Date", H[u] = V + "Date", H[o] = V + "Month", H[p] = V + "FullYear", H[l] = V + "Hours", H[d] = V + "Minutes", H[y] = V + "Seconds", H[g] = V + "Milliseconds", H)[A], E = A === t ? this.$D + (W - this.$W) : W;
|
|
970
|
-
if (A === o || A === p) {
|
|
971
|
-
var w = this.clone().set(u, 1);
|
|
972
|
-
w.$d[D](E), w.init(), this.$d = w.set(u, Math.min(this.$D, w.daysInMonth())).$d;
|
|
973
|
-
} else D && this.$d[D](E);
|
|
974
|
-
return this.init(), this;
|
|
975
|
-
}, L.set = function(G, W) {
|
|
976
|
-
return this.clone().$set(G, W);
|
|
977
|
-
}, L.get = function(G) {
|
|
978
|
-
return this[x.p(G)]();
|
|
979
|
-
}, L.add = function(G, W) {
|
|
980
|
-
var H, A = this;
|
|
981
|
-
G = Number(G);
|
|
982
|
-
var V = x.p(W), D = function(P) {
|
|
983
|
-
var j = T(A);
|
|
984
|
-
return x.w(j.date(j.date() + Math.round(P * G)), A);
|
|
985
|
-
};
|
|
986
|
-
if (V === o) return this.set(o, this.$M + G);
|
|
987
|
-
if (V === p) return this.set(p, this.$y + G);
|
|
988
|
-
if (V === t) return D(1);
|
|
989
|
-
if (V === n) return D(7);
|
|
990
|
-
var E = (H = {}, H[d] = r, H[l] = m, H[y] = a, H)[V] || 1, w = this.$d.getTime() + G * E;
|
|
991
|
-
return x.w(w, this);
|
|
992
|
-
}, L.subtract = function(G, W) {
|
|
993
|
-
return this.add(-1 * G, W);
|
|
994
|
-
}, L.format = function(G) {
|
|
995
|
-
var W = this, H = this.$locale();
|
|
996
|
-
if (!this.isValid()) return H.invalidDate || f;
|
|
997
|
-
var A = G || "YYYY-MM-DDTHH:mm:ssZ", V = x.z(this), D = this.$H, E = this.$m, w = this.$M, P = H.weekdays, j = H.months, I = H.meridiem, J = function(Q, re, Y, ie) {
|
|
998
|
-
return Q && (Q[re] || Q(W, A)) || Y[re].slice(0, ie);
|
|
999
|
-
}, z = function(Q) {
|
|
1000
|
-
return x.s(D % 12 || 12, Q, "0");
|
|
1001
|
-
}, q = I || function(Q, re, Y) {
|
|
1002
|
-
var ie = Q < 12 ? "AM" : "PM";
|
|
1003
|
-
return Y ? ie.toLowerCase() : ie;
|
|
1004
|
-
};
|
|
1005
|
-
return A.replace(b, (function(Q, re) {
|
|
1006
|
-
return re || (function(Y) {
|
|
1007
|
-
switch (Y) {
|
|
1008
|
-
case "YY":
|
|
1009
|
-
return String(W.$y).slice(-2);
|
|
1010
|
-
case "YYYY":
|
|
1011
|
-
return x.s(W.$y, 4, "0");
|
|
1012
|
-
case "M":
|
|
1013
|
-
return w + 1;
|
|
1014
|
-
case "MM":
|
|
1015
|
-
return x.s(w + 1, 2, "0");
|
|
1016
|
-
case "MMM":
|
|
1017
|
-
return J(H.monthsShort, w, j, 3);
|
|
1018
|
-
case "MMMM":
|
|
1019
|
-
return J(j, w);
|
|
1020
|
-
case "D":
|
|
1021
|
-
return W.$D;
|
|
1022
|
-
case "DD":
|
|
1023
|
-
return x.s(W.$D, 2, "0");
|
|
1024
|
-
case "d":
|
|
1025
|
-
return String(W.$W);
|
|
1026
|
-
case "dd":
|
|
1027
|
-
return J(H.weekdaysMin, W.$W, P, 2);
|
|
1028
|
-
case "ddd":
|
|
1029
|
-
return J(H.weekdaysShort, W.$W, P, 3);
|
|
1030
|
-
case "dddd":
|
|
1031
|
-
return P[W.$W];
|
|
1032
|
-
case "H":
|
|
1033
|
-
return String(D);
|
|
1034
|
-
case "HH":
|
|
1035
|
-
return x.s(D, 2, "0");
|
|
1036
|
-
case "h":
|
|
1037
|
-
return z(1);
|
|
1038
|
-
case "hh":
|
|
1039
|
-
return z(2);
|
|
1040
|
-
case "a":
|
|
1041
|
-
return q(D, E, !0);
|
|
1042
|
-
case "A":
|
|
1043
|
-
return q(D, E, !1);
|
|
1044
|
-
case "m":
|
|
1045
|
-
return String(E);
|
|
1046
|
-
case "mm":
|
|
1047
|
-
return x.s(E, 2, "0");
|
|
1048
|
-
case "s":
|
|
1049
|
-
return String(W.$s);
|
|
1050
|
-
case "ss":
|
|
1051
|
-
return x.s(W.$s, 2, "0");
|
|
1052
|
-
case "SSS":
|
|
1053
|
-
return x.s(W.$ms, 3, "0");
|
|
1054
|
-
case "Z":
|
|
1055
|
-
return V;
|
|
1056
|
-
}
|
|
1057
|
-
return null;
|
|
1058
|
-
})(Q) || V.replace(":", "");
|
|
1059
|
-
}));
|
|
1060
|
-
}, L.utcOffset = function() {
|
|
1061
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1062
|
-
}, L.diff = function(G, W, H) {
|
|
1063
|
-
var A, V = this, D = x.p(W), E = T(G), w = (E.utcOffset() - this.utcOffset()) * r, P = this - E, j = function() {
|
|
1064
|
-
return x.m(V, E);
|
|
1065
|
-
};
|
|
1066
|
-
switch (D) {
|
|
1067
|
-
case p:
|
|
1068
|
-
A = j() / 12;
|
|
1069
|
-
break;
|
|
1070
|
-
case o:
|
|
1071
|
-
A = j();
|
|
1072
|
-
break;
|
|
1073
|
-
case s:
|
|
1074
|
-
A = j() / 3;
|
|
1075
|
-
break;
|
|
1076
|
-
case n:
|
|
1077
|
-
A = (P - w) / 6048e5;
|
|
1078
|
-
break;
|
|
1079
|
-
case t:
|
|
1080
|
-
A = (P - w) / 864e5;
|
|
1081
|
-
break;
|
|
1082
|
-
case l:
|
|
1083
|
-
A = P / m;
|
|
1084
|
-
break;
|
|
1085
|
-
case d:
|
|
1086
|
-
A = P / r;
|
|
1087
|
-
break;
|
|
1088
|
-
case y:
|
|
1089
|
-
A = P / a;
|
|
1090
|
-
break;
|
|
1091
|
-
default:
|
|
1092
|
-
A = P;
|
|
1093
|
-
}
|
|
1094
|
-
return H ? A : x.a(A);
|
|
1095
|
-
}, L.daysInMonth = function() {
|
|
1096
|
-
return this.endOf(o).$D;
|
|
1097
|
-
}, L.$locale = function() {
|
|
1098
|
-
return h[this.$L];
|
|
1099
|
-
}, L.locale = function(G, W) {
|
|
1100
|
-
if (!G) return this.$L;
|
|
1101
|
-
var H = this.clone(), A = B(G, W, !0);
|
|
1102
|
-
return A && (H.$L = A), H;
|
|
1103
|
-
}, L.clone = function() {
|
|
1104
|
-
return x.w(this.$d, this);
|
|
1105
|
-
}, L.toDate = function() {
|
|
1106
|
-
return new Date(this.valueOf());
|
|
1107
|
-
}, L.toJSON = function() {
|
|
1108
|
-
return this.isValid() ? this.toISOString() : null;
|
|
1109
|
-
}, L.toISOString = function() {
|
|
1110
|
-
return this.$d.toISOString();
|
|
1111
|
-
}, L.toString = function() {
|
|
1112
|
-
return this.$d.toUTCString();
|
|
1113
|
-
}, M;
|
|
1114
|
-
})(), R = F.prototype;
|
|
1115
|
-
return T.prototype = R, [["$ms", g], ["$s", y], ["$m", d], ["$H", l], ["$W", t], ["$M", o], ["$y", p], ["$D", u]].forEach((function(M) {
|
|
1116
|
-
R[M[1]] = function(L) {
|
|
1117
|
-
return this.$g(L, M[0], M[1]);
|
|
1118
|
-
};
|
|
1119
|
-
})), T.extend = function(M, L) {
|
|
1120
|
-
return M.$i || (M(L, F, T), M.$i = !0), T;
|
|
1121
|
-
}, T.locale = B, T.isDayjs = N, T.unix = function(M) {
|
|
1122
|
-
return T(1e3 * M);
|
|
1123
|
-
}, T.en = h[v], T.Ls = h, T.p = {}, T;
|
|
1124
|
-
}));
|
|
1125
|
-
})(dt)), dt.exports;
|
|
1126
|
-
}
|
|
1127
|
-
var _l = fl();
|
|
1128
|
-
const Pe = /* @__PURE__ */ Ui(_l);
|
|
1129
|
-
var ct = { exports: {} };
|
|
1130
|
-
function yl(e) {
|
|
849
|
+
var dt = { exports: {} };
|
|
850
|
+
function cl(e) {
|
|
1131
851
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
1132
852
|
}
|
|
1133
|
-
var
|
|
1134
|
-
const
|
|
853
|
+
var ct = { exports: {} };
|
|
854
|
+
const fl = {}, _l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1135
855
|
__proto__: null,
|
|
1136
|
-
default:
|
|
1137
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1138
|
-
var
|
|
856
|
+
default: fl
|
|
857
|
+
}, Symbol.toStringTag, { value: "Module" })), yl = /* @__PURE__ */ tl(_l);
|
|
858
|
+
var bl = ct.exports, Ai;
|
|
1139
859
|
function ue() {
|
|
1140
|
-
return
|
|
860
|
+
return Ai || (Ai = 1, (function(e, i) {
|
|
1141
861
|
(function(a, r) {
|
|
1142
862
|
e.exports = r();
|
|
1143
|
-
})(
|
|
863
|
+
})(bl, function() {
|
|
1144
864
|
var a = a || (function(r, m) {
|
|
1145
865
|
var g;
|
|
1146
|
-
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof ni < "u" && ni.crypto && (g = ni.crypto), !g && typeof
|
|
866
|
+
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof ni < "u" && ni.crypto && (g = ni.crypto), !g && typeof cl == "function")
|
|
1147
867
|
try {
|
|
1148
|
-
g =
|
|
868
|
+
g = yl;
|
|
1149
869
|
} catch {
|
|
1150
870
|
}
|
|
1151
871
|
var y = function() {
|
|
@@ -1634,14 +1354,14 @@ function ue() {
|
|
|
1634
1354
|
})(Math);
|
|
1635
1355
|
return a;
|
|
1636
1356
|
});
|
|
1637
|
-
})(
|
|
1357
|
+
})(ct)), ct.exports;
|
|
1638
1358
|
}
|
|
1639
|
-
var
|
|
1359
|
+
var ft = { exports: {} }, Ul = ft.exports, Oi;
|
|
1640
1360
|
function ai() {
|
|
1641
|
-
return
|
|
1361
|
+
return Oi || (Oi = 1, (function(e, i) {
|
|
1642
1362
|
(function(a, r) {
|
|
1643
1363
|
e.exports = r(ue());
|
|
1644
|
-
})(
|
|
1364
|
+
})(Ul, function(a) {
|
|
1645
1365
|
return (function(r) {
|
|
1646
1366
|
var m = a, g = m.lib, y = g.Base, d = g.WordArray, l = m.x64 = {};
|
|
1647
1367
|
l.Word = y.extend({
|
|
@@ -1864,14 +1584,14 @@ function ai() {
|
|
|
1864
1584
|
});
|
|
1865
1585
|
})(), a;
|
|
1866
1586
|
});
|
|
1867
|
-
})(
|
|
1587
|
+
})(ft)), ft.exports;
|
|
1868
1588
|
}
|
|
1869
|
-
var
|
|
1870
|
-
function
|
|
1871
|
-
return
|
|
1589
|
+
var _t = { exports: {} }, Cl = _t.exports, Bi;
|
|
1590
|
+
function vl() {
|
|
1591
|
+
return Bi || (Bi = 1, (function(e, i) {
|
|
1872
1592
|
(function(a, r) {
|
|
1873
1593
|
e.exports = r(ue());
|
|
1874
|
-
})(
|
|
1594
|
+
})(Cl, function(a) {
|
|
1875
1595
|
return (function() {
|
|
1876
1596
|
if (typeof ArrayBuffer == "function") {
|
|
1877
1597
|
var r = a, m = r.lib, g = m.WordArray, y = g.init, d = g.init = function(l) {
|
|
@@ -1886,14 +1606,14 @@ function kl() {
|
|
|
1886
1606
|
}
|
|
1887
1607
|
})(), a.lib.WordArray;
|
|
1888
1608
|
});
|
|
1889
|
-
})(
|
|
1609
|
+
})(_t)), _t.exports;
|
|
1890
1610
|
}
|
|
1891
|
-
var
|
|
1892
|
-
function
|
|
1893
|
-
return
|
|
1611
|
+
var yt = { exports: {} }, hl = yt.exports, Hi;
|
|
1612
|
+
function Tl() {
|
|
1613
|
+
return Hi || (Hi = 1, (function(e, i) {
|
|
1894
1614
|
(function(a, r) {
|
|
1895
1615
|
e.exports = r(ue());
|
|
1896
|
-
})(
|
|
1616
|
+
})(hl, function(a) {
|
|
1897
1617
|
return (function() {
|
|
1898
1618
|
var r = a, m = r.lib, g = m.WordArray, y = r.enc;
|
|
1899
1619
|
y.Utf16 = y.Utf16BE = {
|
|
@@ -1980,14 +1700,14 @@ function Sl() {
|
|
|
1980
1700
|
}
|
|
1981
1701
|
})(), a.enc.Utf16;
|
|
1982
1702
|
});
|
|
1983
|
-
})(
|
|
1703
|
+
})(yt)), yt.exports;
|
|
1984
1704
|
}
|
|
1985
|
-
var
|
|
1986
|
-
function
|
|
1987
|
-
return
|
|
1705
|
+
var bt = { exports: {} }, kl = bt.exports, Wi;
|
|
1706
|
+
function Da() {
|
|
1707
|
+
return Wi || (Wi = 1, (function(e, i) {
|
|
1988
1708
|
(function(a, r) {
|
|
1989
1709
|
e.exports = r(ue());
|
|
1990
|
-
})(
|
|
1710
|
+
})(kl, function(a) {
|
|
1991
1711
|
return (function() {
|
|
1992
1712
|
var r = a, m = r.lib, g = m.WordArray, y = r.enc;
|
|
1993
1713
|
y.Base64 = {
|
|
@@ -2055,14 +1775,14 @@ function Na() {
|
|
|
2055
1775
|
}
|
|
2056
1776
|
})(), a.enc.Base64;
|
|
2057
1777
|
});
|
|
2058
|
-
})(
|
|
1778
|
+
})(bt)), bt.exports;
|
|
2059
1779
|
}
|
|
2060
|
-
var
|
|
2061
|
-
function
|
|
2062
|
-
return
|
|
1780
|
+
var Ut = { exports: {} }, xl = Ut.exports, Ii;
|
|
1781
|
+
function Sl() {
|
|
1782
|
+
return Ii || (Ii = 1, (function(e, i) {
|
|
2063
1783
|
(function(a, r) {
|
|
2064
1784
|
e.exports = r(ue());
|
|
2065
|
-
})(
|
|
1785
|
+
})(xl, function(a) {
|
|
2066
1786
|
return (function() {
|
|
2067
1787
|
var r = a, m = r.lib, g = m.WordArray, y = r.enc;
|
|
2068
1788
|
y.Base64url = {
|
|
@@ -2137,14 +1857,14 @@ function Nl() {
|
|
|
2137
1857
|
}
|
|
2138
1858
|
})(), a.enc.Base64url;
|
|
2139
1859
|
});
|
|
2140
|
-
})(
|
|
1860
|
+
})(Ut)), Ut.exports;
|
|
2141
1861
|
}
|
|
2142
|
-
var
|
|
2143
|
-
function
|
|
2144
|
-
return
|
|
1862
|
+
var Ct = { exports: {} }, El = Ct.exports, zi;
|
|
1863
|
+
function Na() {
|
|
1864
|
+
return zi || (zi = 1, (function(e, i) {
|
|
2145
1865
|
(function(a, r) {
|
|
2146
1866
|
e.exports = r(ue());
|
|
2147
|
-
})(
|
|
1867
|
+
})(El, function(a) {
|
|
2148
1868
|
return (function(r) {
|
|
2149
1869
|
var m = a, g = m.lib, y = g.WordArray, d = g.Hasher, l = m.algo, t = [];
|
|
2150
1870
|
(function() {
|
|
@@ -2203,14 +1923,14 @@ function La() {
|
|
|
2203
1923
|
m.MD5 = d._createHelper(n), m.HmacMD5 = d._createHmacHelper(n);
|
|
2204
1924
|
})(Math), a.MD5;
|
|
2205
1925
|
});
|
|
2206
|
-
})(
|
|
1926
|
+
})(Ct)), Ct.exports;
|
|
2207
1927
|
}
|
|
2208
|
-
var
|
|
1928
|
+
var vt = { exports: {} }, Dl = vt.exports, Vi;
|
|
2209
1929
|
function sr() {
|
|
2210
|
-
return
|
|
1930
|
+
return Vi || (Vi = 1, (function(e, i) {
|
|
2211
1931
|
(function(a, r) {
|
|
2212
1932
|
e.exports = r(ue());
|
|
2213
|
-
})(
|
|
1933
|
+
})(Dl, function(a) {
|
|
2214
1934
|
return (function() {
|
|
2215
1935
|
var r = a, m = r.lib, g = m.WordArray, y = m.Hasher, d = r.algo, l = [], t = d.SHA1 = y.extend({
|
|
2216
1936
|
_doReset: function() {
|
|
@@ -2247,14 +1967,14 @@ function sr() {
|
|
|
2247
1967
|
r.SHA1 = y._createHelper(t), r.HmacSHA1 = y._createHmacHelper(t);
|
|
2248
1968
|
})(), a.SHA1;
|
|
2249
1969
|
});
|
|
2250
|
-
})(
|
|
1970
|
+
})(vt)), vt.exports;
|
|
2251
1971
|
}
|
|
2252
|
-
var
|
|
1972
|
+
var ht = { exports: {} }, Nl = ht.exports, Ji;
|
|
2253
1973
|
function Ci() {
|
|
2254
|
-
return
|
|
1974
|
+
return Ji || (Ji = 1, (function(e, i) {
|
|
2255
1975
|
(function(a, r) {
|
|
2256
1976
|
e.exports = r(ue());
|
|
2257
|
-
})(
|
|
1977
|
+
})(Nl, function(a) {
|
|
2258
1978
|
return (function(r) {
|
|
2259
1979
|
var m = a, g = m.lib, y = g.WordArray, d = g.Hasher, l = m.algo, t = [], n = [];
|
|
2260
1980
|
(function() {
|
|
@@ -2299,14 +2019,14 @@ function Ci() {
|
|
|
2299
2019
|
m.SHA256 = d._createHelper(s), m.HmacSHA256 = d._createHmacHelper(s);
|
|
2300
2020
|
})(Math), a.SHA256;
|
|
2301
2021
|
});
|
|
2302
|
-
})(
|
|
2022
|
+
})(ht)), ht.exports;
|
|
2303
2023
|
}
|
|
2304
|
-
var
|
|
2305
|
-
function
|
|
2306
|
-
return
|
|
2024
|
+
var Tt = { exports: {} }, Ll = Tt.exports, Zi;
|
|
2025
|
+
function Gl() {
|
|
2026
|
+
return Zi || (Zi = 1, (function(e, i) {
|
|
2307
2027
|
(function(a, r, m) {
|
|
2308
2028
|
e.exports = r(ue(), Ci());
|
|
2309
|
-
})(
|
|
2029
|
+
})(Ll, function(a) {
|
|
2310
2030
|
return (function() {
|
|
2311
2031
|
var r = a, m = r.lib, g = m.WordArray, y = r.algo, d = y.SHA256, l = y.SHA224 = d.extend({
|
|
2312
2032
|
_doReset: function() {
|
|
@@ -2329,14 +2049,14 @@ function Pl() {
|
|
|
2329
2049
|
r.SHA224 = d._createHelper(l), r.HmacSHA224 = d._createHmacHelper(l);
|
|
2330
2050
|
})(), a.SHA224;
|
|
2331
2051
|
});
|
|
2332
|
-
})(
|
|
2052
|
+
})(Tt)), Tt.exports;
|
|
2333
2053
|
}
|
|
2334
|
-
var
|
|
2054
|
+
var kt = { exports: {} }, Ml = kt.exports, Ki;
|
|
2335
2055
|
function mr() {
|
|
2336
|
-
return
|
|
2056
|
+
return Ki || (Ki = 1, (function(e, i) {
|
|
2337
2057
|
(function(a, r, m) {
|
|
2338
2058
|
e.exports = r(ue(), ai());
|
|
2339
|
-
})(
|
|
2059
|
+
})(Ml, function(a) {
|
|
2340
2060
|
return (function() {
|
|
2341
2061
|
var r = a, m = r.lib, g = m.Hasher, y = r.x64, d = y.Word, l = y.WordArray, t = r.algo;
|
|
2342
2062
|
function n() {
|
|
@@ -2442,18 +2162,18 @@ function mr() {
|
|
|
2442
2162
|
]);
|
|
2443
2163
|
},
|
|
2444
2164
|
_doProcessBlock: function(u, f) {
|
|
2445
|
-
for (var c = this._hash.words, b = c[0], _ = c[1], U = c[2], C = c[3], v = c[4], h = c[5], S = c[6], N = c[7], B = b.high, T = b.low, x = _.high, F = _.low, R = U.high, M = U.low, L = C.high, G = C.low, W = v.high, H = v.low, A = h.high, V = h.low, D = S.high, E = S.low, w = N.high, P = N.low, j = B, I = T, J = x, z = F, q = R, Q = M,
|
|
2446
|
-
var ye, xe, Ie = s[
|
|
2447
|
-
if (
|
|
2448
|
-
xe = Ie.high = u[f +
|
|
2165
|
+
for (var c = this._hash.words, b = c[0], _ = c[1], U = c[2], C = c[3], v = c[4], h = c[5], S = c[6], N = c[7], B = b.high, T = b.low, x = _.high, F = _.low, R = U.high, M = U.low, L = C.high, G = C.low, W = v.high, H = v.low, A = h.high, V = h.low, D = S.high, E = S.low, w = N.high, P = N.low, j = B, I = T, J = x, z = F, q = R, Q = M, ne = L, Y = G, le = W, de = H, Ne = A, Te = V, je = D, ve = E, Le = w, Ye = P, ce = 0; ce < 80; ce++) {
|
|
2166
|
+
var ye, xe, Ie = s[ce];
|
|
2167
|
+
if (ce < 16)
|
|
2168
|
+
xe = Ie.high = u[f + ce * 2] | 0, ye = Ie.low = u[f + ce * 2 + 1] | 0;
|
|
2449
2169
|
else {
|
|
2450
|
-
var Ze = s[
|
|
2451
|
-
ye = sa +
|
|
2170
|
+
var Ze = s[ce - 15], Ge = Ze.high, Be = Ze.low, ta = (Ge >>> 1 | Be << 31) ^ (Ge >>> 8 | Be << 24) ^ Ge >>> 7, sa = (Be >>> 1 | Ge << 31) ^ (Be >>> 8 | Ge << 24) ^ (Be >>> 7 | Ge << 25), ca = s[ce - 2], Ke = ca.high, ia = ca.low, qa = (Ke >>> 19 | ia << 13) ^ (Ke << 3 | ia >>> 29) ^ Ke >>> 6, Ga = (ia >>> 19 | Ke << 13) ^ (ia << 3 | Ke >>> 29) ^ (ia >>> 6 | Ke << 26), Ma = s[ce - 7], $a = Ma.high, Qa = Ma.low, fa = s[ce - 16], Ca = fa.high, Xe = fa.low;
|
|
2171
|
+
ye = sa + Qa, xe = ta + $a + (ye >>> 0 < sa >>> 0 ? 1 : 0), ye = ye + Ga, xe = xe + qa + (ye >>> 0 < Ga >>> 0 ? 1 : 0), ye = ye + Xe, xe = xe + Ca + (ye >>> 0 < Xe >>> 0 ? 1 : 0), Ie.high = xe, Ie.low = ye;
|
|
2452
2172
|
}
|
|
2453
|
-
var _a =
|
|
2454
|
-
Le = je, Ye = ve, je = Ne, ve = Te, Ne =
|
|
2173
|
+
var _a = le & Ne ^ ~le & je, ya = de & Te ^ ~de & ve, Ra = j & J ^ j & q ^ J & q, Pa = I & z ^ I & Q ^ z & Q, va = (j >>> 28 | I << 4) ^ (j << 30 | I >>> 2) ^ (j << 25 | I >>> 7), wa = (I >>> 28 | j << 4) ^ (I << 30 | j >>> 2) ^ (I << 25 | j >>> 7), Fa = (le >>> 14 | de << 18) ^ (le >>> 18 | de << 14) ^ (le << 23 | de >>> 9), Me = (de >>> 14 | le << 18) ^ (de >>> 18 | le << 14) ^ (de << 23 | le >>> 9), K = o[ce], Re = K.high, ra = K.low, He = Ye + Me, la = Le + Fa + (He >>> 0 < Ye >>> 0 ? 1 : 0), He = He + ya, la = la + _a + (He >>> 0 < ya >>> 0 ? 1 : 0), He = He + ra, la = la + Re + (He >>> 0 < ra >>> 0 ? 1 : 0), He = He + ye, la = la + xe + (He >>> 0 < ye >>> 0 ? 1 : 0), ot = wa + Pa, ti = va + Ra + (ot >>> 0 < wa >>> 0 ? 1 : 0);
|
|
2174
|
+
Le = je, Ye = ve, je = Ne, ve = Te, Ne = le, Te = de, de = Y + He | 0, le = ne + la + (de >>> 0 < Y >>> 0 ? 1 : 0) | 0, ne = q, Y = Q, q = J, Q = z, J = j, z = I, I = He + ot | 0, j = la + ti + (I >>> 0 < He >>> 0 ? 1 : 0) | 0;
|
|
2455
2175
|
}
|
|
2456
|
-
T = b.low = T + I, b.high = B + j + (T >>> 0 < I >>> 0 ? 1 : 0), F = _.low = F + z, _.high = x + J + (F >>> 0 < z >>> 0 ? 1 : 0), M = U.low = M + Q, U.high = R + q + (M >>> 0 < Q >>> 0 ? 1 : 0), G = C.low = G + Y, C.high = L +
|
|
2176
|
+
T = b.low = T + I, b.high = B + j + (T >>> 0 < I >>> 0 ? 1 : 0), F = _.low = F + z, _.high = x + J + (F >>> 0 < z >>> 0 ? 1 : 0), M = U.low = M + Q, U.high = R + q + (M >>> 0 < Q >>> 0 ? 1 : 0), G = C.low = G + Y, C.high = L + ne + (G >>> 0 < Y >>> 0 ? 1 : 0), H = v.low = H + de, v.high = W + le + (H >>> 0 < de >>> 0 ? 1 : 0), V = h.low = V + Te, h.high = A + Ne + (V >>> 0 < Te >>> 0 ? 1 : 0), E = S.low = E + ve, S.high = D + je + (E >>> 0 < ve >>> 0 ? 1 : 0), P = N.low = P + Ye, N.high = w + Le + (P >>> 0 < Ye >>> 0 ? 1 : 0);
|
|
2457
2177
|
},
|
|
2458
2178
|
_doFinalize: function() {
|
|
2459
2179
|
var u = this._data, f = u.words, c = this._nDataBytes * 8, b = u.sigBytes * 8;
|
|
@@ -2470,14 +2190,14 @@ function mr() {
|
|
|
2470
2190
|
r.SHA512 = g._createHelper(p), r.HmacSHA512 = g._createHmacHelper(p);
|
|
2471
2191
|
})(), a.SHA512;
|
|
2472
2192
|
});
|
|
2473
|
-
})(
|
|
2193
|
+
})(kt)), kt.exports;
|
|
2474
2194
|
}
|
|
2475
|
-
var
|
|
2476
|
-
function
|
|
2477
|
-
return
|
|
2195
|
+
var xt = { exports: {} }, Rl = xt.exports, qi;
|
|
2196
|
+
function Pl() {
|
|
2197
|
+
return qi || (qi = 1, (function(e, i) {
|
|
2478
2198
|
(function(a, r, m) {
|
|
2479
2199
|
e.exports = r(ue(), ai(), mr());
|
|
2480
|
-
})(
|
|
2200
|
+
})(Rl, function(a) {
|
|
2481
2201
|
return (function() {
|
|
2482
2202
|
var r = a, m = r.x64, g = m.Word, y = m.WordArray, d = r.algo, l = d.SHA512, t = d.SHA384 = l.extend({
|
|
2483
2203
|
_doReset: function() {
|
|
@@ -2500,14 +2220,14 @@ function Al() {
|
|
|
2500
2220
|
r.SHA384 = l._createHelper(t), r.HmacSHA384 = l._createHmacHelper(t);
|
|
2501
2221
|
})(), a.SHA384;
|
|
2502
2222
|
});
|
|
2503
|
-
})(
|
|
2223
|
+
})(xt)), xt.exports;
|
|
2504
2224
|
}
|
|
2505
|
-
var
|
|
2506
|
-
function
|
|
2507
|
-
return
|
|
2225
|
+
var St = { exports: {} }, wl = St.exports, $i;
|
|
2226
|
+
function Fl() {
|
|
2227
|
+
return $i || ($i = 1, (function(e, i) {
|
|
2508
2228
|
(function(a, r, m) {
|
|
2509
2229
|
e.exports = r(ue(), ai());
|
|
2510
|
-
})(
|
|
2230
|
+
})(wl, function(a) {
|
|
2511
2231
|
return (function(r) {
|
|
2512
2232
|
var m = a, g = m.lib, y = g.WordArray, d = g.Hasher, l = m.x64, t = l.Word, n = m.algo, o = [], s = [], p = [];
|
|
2513
2233
|
(function() {
|
|
@@ -2610,14 +2330,14 @@ function Bl() {
|
|
|
2610
2330
|
m.SHA3 = d._createHelper(f), m.HmacSHA3 = d._createHmacHelper(f);
|
|
2611
2331
|
})(Math), a.SHA3;
|
|
2612
2332
|
});
|
|
2613
|
-
})(
|
|
2333
|
+
})(St)), St.exports;
|
|
2614
2334
|
}
|
|
2615
|
-
var
|
|
2616
|
-
function
|
|
2617
|
-
return
|
|
2335
|
+
var Et = { exports: {} }, Al = Et.exports, Qi;
|
|
2336
|
+
function Ol() {
|
|
2337
|
+
return Qi || (Qi = 1, (function(e, i) {
|
|
2618
2338
|
(function(a, r) {
|
|
2619
2339
|
e.exports = r(ue());
|
|
2620
|
-
})(
|
|
2340
|
+
})(Al, function(a) {
|
|
2621
2341
|
return (function(r) {
|
|
2622
2342
|
var m = a, g = m.lib, y = g.WordArray, d = g.Hasher, l = m.algo, t = y.create([
|
|
2623
2343
|
0,
|
|
@@ -2993,14 +2713,14 @@ function Wl() {
|
|
|
2993
2713
|
m.RIPEMD160 = d._createHelper(f), m.HmacRIPEMD160 = d._createHmacHelper(f);
|
|
2994
2714
|
})(), a.RIPEMD160;
|
|
2995
2715
|
});
|
|
2996
|
-
})(
|
|
2716
|
+
})(Et)), Et.exports;
|
|
2997
2717
|
}
|
|
2998
|
-
var
|
|
2718
|
+
var Dt = { exports: {} }, Bl = Dt.exports, ji;
|
|
2999
2719
|
function vi() {
|
|
3000
|
-
return
|
|
2720
|
+
return ji || (ji = 1, (function(e, i) {
|
|
3001
2721
|
(function(a, r) {
|
|
3002
2722
|
e.exports = r(ue());
|
|
3003
|
-
})(
|
|
2723
|
+
})(Bl, function(a) {
|
|
3004
2724
|
(function() {
|
|
3005
2725
|
var r = a, m = r.lib, g = m.Base, y = r.enc, d = y.Utf8, l = r.algo;
|
|
3006
2726
|
l.HMAC = g.extend({
|
|
@@ -3071,14 +2791,14 @@ function vi() {
|
|
|
3071
2791
|
});
|
|
3072
2792
|
})();
|
|
3073
2793
|
});
|
|
3074
|
-
})(
|
|
2794
|
+
})(Dt)), Dt.exports;
|
|
3075
2795
|
}
|
|
3076
|
-
var
|
|
3077
|
-
function
|
|
3078
|
-
return
|
|
2796
|
+
var Nt = { exports: {} }, Hl = Nt.exports, Yi;
|
|
2797
|
+
function Wl() {
|
|
2798
|
+
return Yi || (Yi = 1, (function(e, i) {
|
|
3079
2799
|
(function(a, r, m) {
|
|
3080
2800
|
e.exports = r(ue(), Ci(), vi());
|
|
3081
|
-
})(
|
|
2801
|
+
})(Hl, function(a) {
|
|
3082
2802
|
return (function() {
|
|
3083
2803
|
var r = a, m = r.lib, g = m.Base, y = m.WordArray, d = r.algo, l = d.SHA256, t = d.HMAC, n = d.PBKDF2 = g.extend({
|
|
3084
2804
|
/**
|
|
@@ -3138,14 +2858,14 @@ function Vl() {
|
|
|
3138
2858
|
};
|
|
3139
2859
|
})(), a.PBKDF2;
|
|
3140
2860
|
});
|
|
3141
|
-
})(
|
|
2861
|
+
})(Nt)), Nt.exports;
|
|
3142
2862
|
}
|
|
3143
|
-
var
|
|
2863
|
+
var Lt = { exports: {} }, Il = Lt.exports, Xi;
|
|
3144
2864
|
function Ua() {
|
|
3145
|
-
return
|
|
2865
|
+
return Xi || (Xi = 1, (function(e, i) {
|
|
3146
2866
|
(function(a, r, m) {
|
|
3147
2867
|
e.exports = r(ue(), sr(), vi());
|
|
3148
|
-
})(
|
|
2868
|
+
})(Il, function(a) {
|
|
3149
2869
|
return (function() {
|
|
3150
2870
|
var r = a, m = r.lib, g = m.Base, y = m.WordArray, d = r.algo, l = d.MD5, t = d.EvpKDF = g.extend({
|
|
3151
2871
|
/**
|
|
@@ -3201,14 +2921,14 @@ function Ua() {
|
|
|
3201
2921
|
};
|
|
3202
2922
|
})(), a.EvpKDF;
|
|
3203
2923
|
});
|
|
3204
|
-
})(
|
|
2924
|
+
})(Lt)), Lt.exports;
|
|
3205
2925
|
}
|
|
3206
|
-
var
|
|
2926
|
+
var Gt = { exports: {} }, zl = Gt.exports, en;
|
|
3207
2927
|
function Fe() {
|
|
3208
|
-
return
|
|
2928
|
+
return en || (en = 1, (function(e, i) {
|
|
3209
2929
|
(function(a, r, m) {
|
|
3210
2930
|
e.exports = r(ue(), Ua());
|
|
3211
|
-
})(
|
|
2931
|
+
})(zl, function(a) {
|
|
3212
2932
|
a.lib.Cipher || (function(r) {
|
|
3213
2933
|
var m = a, g = m.lib, y = g.Base, d = g.WordArray, l = g.BufferedBlockAlgorithm, t = m.enc;
|
|
3214
2934
|
t.Utf8;
|
|
@@ -3739,14 +3459,14 @@ function Fe() {
|
|
|
3739
3459
|
});
|
|
3740
3460
|
})();
|
|
3741
3461
|
});
|
|
3742
|
-
})(
|
|
3462
|
+
})(Gt)), Gt.exports;
|
|
3743
3463
|
}
|
|
3744
|
-
var
|
|
3745
|
-
function
|
|
3746
|
-
return
|
|
3464
|
+
var Mt = { exports: {} }, Vl = Mt.exports, an;
|
|
3465
|
+
function Jl() {
|
|
3466
|
+
return an || (an = 1, (function(e, i) {
|
|
3747
3467
|
(function(a, r, m) {
|
|
3748
3468
|
e.exports = r(ue(), Fe());
|
|
3749
|
-
})(
|
|
3469
|
+
})(Vl, function(a) {
|
|
3750
3470
|
return a.mode.CFB = (function() {
|
|
3751
3471
|
var r = a.lib.BlockCipherMode.extend();
|
|
3752
3472
|
r.Encryptor = r.extend({
|
|
@@ -3769,14 +3489,14 @@ function ql() {
|
|
|
3769
3489
|
return r;
|
|
3770
3490
|
})(), a.mode.CFB;
|
|
3771
3491
|
});
|
|
3772
|
-
})(
|
|
3492
|
+
})(Mt)), Mt.exports;
|
|
3773
3493
|
}
|
|
3774
|
-
var
|
|
3775
|
-
function
|
|
3776
|
-
return
|
|
3494
|
+
var Rt = { exports: {} }, Zl = Rt.exports, tn;
|
|
3495
|
+
function Kl() {
|
|
3496
|
+
return tn || (tn = 1, (function(e, i) {
|
|
3777
3497
|
(function(a, r, m) {
|
|
3778
3498
|
e.exports = r(ue(), Fe());
|
|
3779
|
-
})(
|
|
3499
|
+
})(Zl, function(a) {
|
|
3780
3500
|
return a.mode.CTR = (function() {
|
|
3781
3501
|
var r = a.lib.BlockCipherMode.extend(), m = r.Encryptor = r.extend({
|
|
3782
3502
|
processBlock: function(g, y) {
|
|
@@ -3791,14 +3511,14 @@ function Ql() {
|
|
|
3791
3511
|
return r.Decryptor = m, r;
|
|
3792
3512
|
})(), a.mode.CTR;
|
|
3793
3513
|
});
|
|
3794
|
-
})(
|
|
3514
|
+
})(Rt)), Rt.exports;
|
|
3795
3515
|
}
|
|
3796
|
-
var
|
|
3797
|
-
function
|
|
3798
|
-
return
|
|
3516
|
+
var Pt = { exports: {} }, ql = Pt.exports, nn;
|
|
3517
|
+
function $l() {
|
|
3518
|
+
return nn || (nn = 1, (function(e, i) {
|
|
3799
3519
|
(function(a, r, m) {
|
|
3800
3520
|
e.exports = r(ue(), Fe());
|
|
3801
|
-
})(
|
|
3521
|
+
})(ql, function(a) {
|
|
3802
3522
|
return a.mode.CTRGladman = (function() {
|
|
3803
3523
|
var r = a.lib.BlockCipherMode.extend();
|
|
3804
3524
|
function m(d) {
|
|
@@ -3825,14 +3545,14 @@ function Yl() {
|
|
|
3825
3545
|
return r.Decryptor = y, r;
|
|
3826
3546
|
})(), a.mode.CTRGladman;
|
|
3827
3547
|
});
|
|
3828
|
-
})(
|
|
3548
|
+
})(Pt)), Pt.exports;
|
|
3829
3549
|
}
|
|
3830
|
-
var
|
|
3831
|
-
function
|
|
3832
|
-
return
|
|
3550
|
+
var wt = { exports: {} }, Ql = wt.exports, rn;
|
|
3551
|
+
function jl() {
|
|
3552
|
+
return rn || (rn = 1, (function(e, i) {
|
|
3833
3553
|
(function(a, r, m) {
|
|
3834
3554
|
e.exports = r(ue(), Fe());
|
|
3835
|
-
})(
|
|
3555
|
+
})(Ql, function(a) {
|
|
3836
3556
|
return a.mode.OFB = (function() {
|
|
3837
3557
|
var r = a.lib.BlockCipherMode.extend(), m = r.Encryptor = r.extend({
|
|
3838
3558
|
processBlock: function(g, y) {
|
|
@@ -3845,14 +3565,14 @@ function eo() {
|
|
|
3845
3565
|
return r.Decryptor = m, r;
|
|
3846
3566
|
})(), a.mode.OFB;
|
|
3847
3567
|
});
|
|
3848
|
-
})(
|
|
3568
|
+
})(wt)), wt.exports;
|
|
3849
3569
|
}
|
|
3850
|
-
var
|
|
3851
|
-
function
|
|
3852
|
-
return
|
|
3570
|
+
var Ft = { exports: {} }, Yl = Ft.exports, ln;
|
|
3571
|
+
function Xl() {
|
|
3572
|
+
return ln || (ln = 1, (function(e, i) {
|
|
3853
3573
|
(function(a, r, m) {
|
|
3854
3574
|
e.exports = r(ue(), Fe());
|
|
3855
|
-
})(
|
|
3575
|
+
})(Yl, function(a) {
|
|
3856
3576
|
return a.mode.ECB = (function() {
|
|
3857
3577
|
var r = a.lib.BlockCipherMode.extend();
|
|
3858
3578
|
return r.Encryptor = r.extend({
|
|
@@ -3866,14 +3586,14 @@ function to() {
|
|
|
3866
3586
|
}), r;
|
|
3867
3587
|
})(), a.mode.ECB;
|
|
3868
3588
|
});
|
|
3869
|
-
})(
|
|
3589
|
+
})(Ft)), Ft.exports;
|
|
3870
3590
|
}
|
|
3871
|
-
var
|
|
3872
|
-
function
|
|
3873
|
-
return
|
|
3591
|
+
var At = { exports: {} }, eo = At.exports, on;
|
|
3592
|
+
function ao() {
|
|
3593
|
+
return on || (on = 1, (function(e, i) {
|
|
3874
3594
|
(function(a, r, m) {
|
|
3875
3595
|
e.exports = r(ue(), Fe());
|
|
3876
|
-
})(
|
|
3596
|
+
})(eo, function(a) {
|
|
3877
3597
|
return a.pad.AnsiX923 = {
|
|
3878
3598
|
pad: function(r, m) {
|
|
3879
3599
|
var g = r.sigBytes, y = m * 4, d = y - g % y, l = g + d - 1;
|
|
@@ -3885,14 +3605,14 @@ function no() {
|
|
|
3885
3605
|
}
|
|
3886
3606
|
}, a.pad.Ansix923;
|
|
3887
3607
|
});
|
|
3888
|
-
})(
|
|
3608
|
+
})(At)), At.exports;
|
|
3889
3609
|
}
|
|
3890
|
-
var
|
|
3891
|
-
function
|
|
3892
|
-
return
|
|
3610
|
+
var Ot = { exports: {} }, to = Ot.exports, sn;
|
|
3611
|
+
function io() {
|
|
3612
|
+
return sn || (sn = 1, (function(e, i) {
|
|
3893
3613
|
(function(a, r, m) {
|
|
3894
3614
|
e.exports = r(ue(), Fe());
|
|
3895
|
-
})(
|
|
3615
|
+
})(to, function(a) {
|
|
3896
3616
|
return a.pad.Iso10126 = {
|
|
3897
3617
|
pad: function(r, m) {
|
|
3898
3618
|
var g = m * 4, y = g - r.sigBytes % g;
|
|
@@ -3904,14 +3624,14 @@ function lo() {
|
|
|
3904
3624
|
}
|
|
3905
3625
|
}, a.pad.Iso10126;
|
|
3906
3626
|
});
|
|
3907
|
-
})(
|
|
3627
|
+
})(Ot)), Ot.exports;
|
|
3908
3628
|
}
|
|
3909
|
-
var
|
|
3910
|
-
function
|
|
3911
|
-
return
|
|
3629
|
+
var Bt = { exports: {} }, no = Bt.exports, mn;
|
|
3630
|
+
function ro() {
|
|
3631
|
+
return mn || (mn = 1, (function(e, i) {
|
|
3912
3632
|
(function(a, r, m) {
|
|
3913
3633
|
e.exports = r(ue(), Fe());
|
|
3914
|
-
})(
|
|
3634
|
+
})(no, function(a) {
|
|
3915
3635
|
return a.pad.Iso97971 = {
|
|
3916
3636
|
pad: function(r, m) {
|
|
3917
3637
|
r.concat(a.lib.WordArray.create([2147483648], 1)), a.pad.ZeroPadding.pad(r, m);
|
|
@@ -3921,14 +3641,14 @@ function so() {
|
|
|
3921
3641
|
}
|
|
3922
3642
|
}, a.pad.Iso97971;
|
|
3923
3643
|
});
|
|
3924
|
-
})(
|
|
3644
|
+
})(Bt)), Bt.exports;
|
|
3925
3645
|
}
|
|
3926
|
-
var
|
|
3927
|
-
function
|
|
3928
|
-
return
|
|
3646
|
+
var Ht = { exports: {} }, lo = Ht.exports, un;
|
|
3647
|
+
function oo() {
|
|
3648
|
+
return un || (un = 1, (function(e, i) {
|
|
3929
3649
|
(function(a, r, m) {
|
|
3930
3650
|
e.exports = r(ue(), Fe());
|
|
3931
|
-
})(
|
|
3651
|
+
})(lo, function(a) {
|
|
3932
3652
|
return a.pad.ZeroPadding = {
|
|
3933
3653
|
pad: function(r, m) {
|
|
3934
3654
|
var g = m * 4;
|
|
@@ -3943,14 +3663,14 @@ function uo() {
|
|
|
3943
3663
|
}
|
|
3944
3664
|
}, a.pad.ZeroPadding;
|
|
3945
3665
|
});
|
|
3946
|
-
})(
|
|
3666
|
+
})(Ht)), Ht.exports;
|
|
3947
3667
|
}
|
|
3948
|
-
var
|
|
3949
|
-
function
|
|
3950
|
-
return
|
|
3668
|
+
var Wt = { exports: {} }, so = Wt.exports, pn;
|
|
3669
|
+
function mo() {
|
|
3670
|
+
return pn || (pn = 1, (function(e, i) {
|
|
3951
3671
|
(function(a, r, m) {
|
|
3952
3672
|
e.exports = r(ue(), Fe());
|
|
3953
|
-
})(
|
|
3673
|
+
})(so, function(a) {
|
|
3954
3674
|
return a.pad.NoPadding = {
|
|
3955
3675
|
pad: function() {
|
|
3956
3676
|
},
|
|
@@ -3958,14 +3678,14 @@ function go() {
|
|
|
3958
3678
|
}
|
|
3959
3679
|
}, a.pad.NoPadding;
|
|
3960
3680
|
});
|
|
3961
|
-
})(
|
|
3681
|
+
})(Wt)), Wt.exports;
|
|
3962
3682
|
}
|
|
3963
|
-
var
|
|
3964
|
-
function
|
|
3965
|
-
return
|
|
3683
|
+
var It = { exports: {} }, uo = It.exports, gn;
|
|
3684
|
+
function po() {
|
|
3685
|
+
return gn || (gn = 1, (function(e, i) {
|
|
3966
3686
|
(function(a, r, m) {
|
|
3967
3687
|
e.exports = r(ue(), Fe());
|
|
3968
|
-
})(
|
|
3688
|
+
})(uo, function(a) {
|
|
3969
3689
|
return (function(r) {
|
|
3970
3690
|
var m = a, g = m.lib, y = g.CipherParams, d = m.enc, l = d.Hex, t = m.format;
|
|
3971
3691
|
t.Hex = {
|
|
@@ -4005,14 +3725,14 @@ function fo() {
|
|
|
4005
3725
|
};
|
|
4006
3726
|
})(), a.format.Hex;
|
|
4007
3727
|
});
|
|
4008
|
-
})(
|
|
3728
|
+
})(It)), It.exports;
|
|
4009
3729
|
}
|
|
4010
|
-
var
|
|
4011
|
-
function
|
|
4012
|
-
return
|
|
3730
|
+
var zt = { exports: {} }, go = zt.exports, dn;
|
|
3731
|
+
function co() {
|
|
3732
|
+
return dn || (dn = 1, (function(e, i) {
|
|
4013
3733
|
(function(a, r, m) {
|
|
4014
|
-
e.exports = r(ue(),
|
|
4015
|
-
})(
|
|
3734
|
+
e.exports = r(ue(), Da(), Na(), Ua(), Fe());
|
|
3735
|
+
})(go, function(a) {
|
|
4016
3736
|
return (function() {
|
|
4017
3737
|
var r = a, m = r.lib, g = m.BlockCipher, y = r.algo, d = [], l = [], t = [], n = [], o = [], s = [], p = [], u = [], f = [], c = [];
|
|
4018
3738
|
(function() {
|
|
@@ -4065,14 +3785,14 @@ function yo() {
|
|
|
4065
3785
|
r.AES = g._createHelper(_);
|
|
4066
3786
|
})(), a.AES;
|
|
4067
3787
|
});
|
|
4068
|
-
})(
|
|
3788
|
+
})(zt)), zt.exports;
|
|
4069
3789
|
}
|
|
4070
|
-
var
|
|
4071
|
-
function
|
|
4072
|
-
return
|
|
3790
|
+
var Vt = { exports: {} }, fo = Vt.exports, cn;
|
|
3791
|
+
function _o() {
|
|
3792
|
+
return cn || (cn = 1, (function(e, i) {
|
|
4073
3793
|
(function(a, r, m) {
|
|
4074
|
-
e.exports = r(ue(),
|
|
4075
|
-
})(
|
|
3794
|
+
e.exports = r(ue(), Da(), Na(), Ua(), Fe());
|
|
3795
|
+
})(fo, function(a) {
|
|
4076
3796
|
return (function() {
|
|
4077
3797
|
var r = a, m = r.lib, g = m.WordArray, y = m.BlockCipher, d = r.algo, l = [
|
|
4078
3798
|
57,
|
|
@@ -4785,14 +4505,14 @@ function Uo() {
|
|
|
4785
4505
|
r.TripleDES = y._createHelper(c);
|
|
4786
4506
|
})(), a.TripleDES;
|
|
4787
4507
|
});
|
|
4788
|
-
})(
|
|
4508
|
+
})(Vt)), Vt.exports;
|
|
4789
4509
|
}
|
|
4790
|
-
var
|
|
4791
|
-
function
|
|
4792
|
-
return
|
|
4510
|
+
var Jt = { exports: {} }, yo = Jt.exports, fn;
|
|
4511
|
+
function bo() {
|
|
4512
|
+
return fn || (fn = 1, (function(e, i) {
|
|
4793
4513
|
(function(a, r, m) {
|
|
4794
|
-
e.exports = r(ue(),
|
|
4795
|
-
})(
|
|
4514
|
+
e.exports = r(ue(), Da(), Na(), Ua(), Fe());
|
|
4515
|
+
})(yo, function(a) {
|
|
4796
4516
|
return (function() {
|
|
4797
4517
|
var r = a, m = r.lib, g = m.StreamCipher, y = r.algo, d = y.RC4 = g.extend({
|
|
4798
4518
|
_doReset: function() {
|
|
@@ -4839,14 +4559,14 @@ function vo() {
|
|
|
4839
4559
|
r.RC4Drop = g._createHelper(t);
|
|
4840
4560
|
})(), a.RC4;
|
|
4841
4561
|
});
|
|
4842
|
-
})(
|
|
4562
|
+
})(Jt)), Jt.exports;
|
|
4843
4563
|
}
|
|
4844
|
-
var
|
|
4845
|
-
function
|
|
4846
|
-
return
|
|
4564
|
+
var Zt = { exports: {} }, Uo = Zt.exports, _n;
|
|
4565
|
+
function Co() {
|
|
4566
|
+
return _n || (_n = 1, (function(e, i) {
|
|
4847
4567
|
(function(a, r, m) {
|
|
4848
|
-
e.exports = r(ue(),
|
|
4849
|
-
})(
|
|
4568
|
+
e.exports = r(ue(), Da(), Na(), Ua(), Fe());
|
|
4569
|
+
})(Uo, function(a) {
|
|
4850
4570
|
return (function() {
|
|
4851
4571
|
var r = a, m = r.lib, g = m.StreamCipher, y = r.algo, d = [], l = [], t = [], n = y.Rabbit = g.extend({
|
|
4852
4572
|
_doReset: function() {
|
|
@@ -4905,14 +4625,14 @@ function To() {
|
|
|
4905
4625
|
r.Rabbit = g._createHelper(n);
|
|
4906
4626
|
})(), a.Rabbit;
|
|
4907
4627
|
});
|
|
4908
|
-
})(
|
|
4628
|
+
})(Zt)), Zt.exports;
|
|
4909
4629
|
}
|
|
4910
|
-
var
|
|
4911
|
-
function
|
|
4912
|
-
return
|
|
4630
|
+
var Kt = { exports: {} }, vo = Kt.exports, yn;
|
|
4631
|
+
function ho() {
|
|
4632
|
+
return yn || (yn = 1, (function(e, i) {
|
|
4913
4633
|
(function(a, r, m) {
|
|
4914
|
-
e.exports = r(ue(),
|
|
4915
|
-
})(
|
|
4634
|
+
e.exports = r(ue(), Da(), Na(), Ua(), Fe());
|
|
4635
|
+
})(vo, function(a) {
|
|
4916
4636
|
return (function() {
|
|
4917
4637
|
var r = a, m = r.lib, g = m.StreamCipher, y = r.algo, d = [], l = [], t = [], n = y.RabbitLegacy = g.extend({
|
|
4918
4638
|
_doReset: function() {
|
|
@@ -4969,14 +4689,14 @@ function xo() {
|
|
|
4969
4689
|
r.RabbitLegacy = g._createHelper(n);
|
|
4970
4690
|
})(), a.RabbitLegacy;
|
|
4971
4691
|
});
|
|
4972
|
-
})(
|
|
4692
|
+
})(Kt)), Kt.exports;
|
|
4973
4693
|
}
|
|
4974
|
-
var
|
|
4975
|
-
function
|
|
4976
|
-
return
|
|
4694
|
+
var qt = { exports: {} }, To = qt.exports, bn;
|
|
4695
|
+
function ko() {
|
|
4696
|
+
return bn || (bn = 1, (function(e, i) {
|
|
4977
4697
|
(function(a, r, m) {
|
|
4978
|
-
e.exports = r(ue(),
|
|
4979
|
-
})(
|
|
4698
|
+
e.exports = r(ue(), Da(), Na(), Ua(), Fe());
|
|
4699
|
+
})(To, function(a) {
|
|
4980
4700
|
return (function() {
|
|
4981
4701
|
var r = a, m = r.lib, g = m.BlockCipher, y = r.algo;
|
|
4982
4702
|
const d = 16, l = [
|
|
@@ -6091,20 +5811,300 @@ function Eo() {
|
|
|
6091
5811
|
r.Blowfish = g._createHelper(f);
|
|
6092
5812
|
})(), a.Blowfish;
|
|
6093
5813
|
});
|
|
6094
|
-
})(
|
|
5814
|
+
})(qt)), qt.exports;
|
|
6095
5815
|
}
|
|
6096
|
-
var
|
|
6097
|
-
function
|
|
6098
|
-
return
|
|
5816
|
+
var xo = dt.exports, Un;
|
|
5817
|
+
function So() {
|
|
5818
|
+
return Un || (Un = 1, (function(e, i) {
|
|
6099
5819
|
(function(a, r, m) {
|
|
6100
|
-
e.exports = r(ue(), ai(),
|
|
6101
|
-
})(
|
|
5820
|
+
e.exports = r(ue(), ai(), vl(), Tl(), Da(), Sl(), Na(), sr(), Ci(), Gl(), mr(), Pl(), Fl(), Ol(), vi(), Wl(), Ua(), Fe(), Jl(), Kl(), $l(), jl(), Xl(), ao(), io(), ro(), oo(), mo(), po(), co(), _o(), bo(), Co(), ho(), ko());
|
|
5821
|
+
})(xo, function(a) {
|
|
6102
5822
|
return a;
|
|
6103
5823
|
});
|
|
6104
|
-
})(
|
|
5824
|
+
})(dt)), dt.exports;
|
|
5825
|
+
}
|
|
5826
|
+
var Va = So();
|
|
5827
|
+
const ba = /* @__PURE__ */ Ui(Va);
|
|
5828
|
+
var $t = { exports: {} }, Eo = $t.exports, Cn;
|
|
5829
|
+
function Do() {
|
|
5830
|
+
return Cn || (Cn = 1, (function(e, i) {
|
|
5831
|
+
(function(a, r) {
|
|
5832
|
+
e.exports = r();
|
|
5833
|
+
})(Eo, (function() {
|
|
5834
|
+
var a = 1e3, r = 6e4, m = 36e5, g = "millisecond", y = "second", d = "minute", l = "hour", t = "day", n = "week", o = "month", s = "quarter", p = "year", u = "date", f = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) {
|
|
5835
|
+
var L = ["th", "st", "nd", "rd"], G = M % 100;
|
|
5836
|
+
return "[" + M + (L[(G - 20) % 10] || L[G] || L[0]) + "]";
|
|
5837
|
+
} }, U = function(M, L, G) {
|
|
5838
|
+
var W = String(M);
|
|
5839
|
+
return !W || W.length >= L ? M : "" + Array(L + 1 - W.length).join(G) + M;
|
|
5840
|
+
}, C = { s: U, z: function(M) {
|
|
5841
|
+
var L = -M.utcOffset(), G = Math.abs(L), W = Math.floor(G / 60), H = G % 60;
|
|
5842
|
+
return (L <= 0 ? "+" : "-") + U(W, 2, "0") + ":" + U(H, 2, "0");
|
|
5843
|
+
}, m: function M(L, G) {
|
|
5844
|
+
if (L.date() < G.date()) return -M(G, L);
|
|
5845
|
+
var W = 12 * (G.year() - L.year()) + (G.month() - L.month()), H = L.clone().add(W, o), A = G - H < 0, V = L.clone().add(W + (A ? -1 : 1), o);
|
|
5846
|
+
return +(-(W + (G - H) / (A ? H - V : V - H)) || 0);
|
|
5847
|
+
}, a: function(M) {
|
|
5848
|
+
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
5849
|
+
}, p: function(M) {
|
|
5850
|
+
return { M: o, y: p, w: n, d: t, D: u, h: l, m: d, s: y, ms: g, Q: s }[M] || String(M || "").toLowerCase().replace(/s$/, "");
|
|
5851
|
+
}, u: function(M) {
|
|
5852
|
+
return M === void 0;
|
|
5853
|
+
} }, v = "en", h = {};
|
|
5854
|
+
h[v] = _;
|
|
5855
|
+
var S = "$isDayjsObject", N = function(M) {
|
|
5856
|
+
return M instanceof F || !(!M || !M[S]);
|
|
5857
|
+
}, B = function M(L, G, W) {
|
|
5858
|
+
var H;
|
|
5859
|
+
if (!L) return v;
|
|
5860
|
+
if (typeof L == "string") {
|
|
5861
|
+
var A = L.toLowerCase();
|
|
5862
|
+
h[A] && (H = A), G && (h[A] = G, H = A);
|
|
5863
|
+
var V = L.split("-");
|
|
5864
|
+
if (!H && V.length > 1) return M(V[0]);
|
|
5865
|
+
} else {
|
|
5866
|
+
var D = L.name;
|
|
5867
|
+
h[D] = L, H = D;
|
|
5868
|
+
}
|
|
5869
|
+
return !W && H && (v = H), H || !W && v;
|
|
5870
|
+
}, T = function(M, L) {
|
|
5871
|
+
if (N(M)) return M.clone();
|
|
5872
|
+
var G = typeof L == "object" ? L : {};
|
|
5873
|
+
return G.date = M, G.args = arguments, new F(G);
|
|
5874
|
+
}, x = C;
|
|
5875
|
+
x.l = B, x.i = N, x.w = function(M, L) {
|
|
5876
|
+
return T(M, { locale: L.$L, utc: L.$u, x: L.$x, $offset: L.$offset });
|
|
5877
|
+
};
|
|
5878
|
+
var F = (function() {
|
|
5879
|
+
function M(G) {
|
|
5880
|
+
this.$L = B(G.locale, null, !0), this.parse(G), this.$x = this.$x || G.x || {}, this[S] = !0;
|
|
5881
|
+
}
|
|
5882
|
+
var L = M.prototype;
|
|
5883
|
+
return L.parse = function(G) {
|
|
5884
|
+
this.$d = (function(W) {
|
|
5885
|
+
var H = W.date, A = W.utc;
|
|
5886
|
+
if (H === null) return /* @__PURE__ */ new Date(NaN);
|
|
5887
|
+
if (x.u(H)) return /* @__PURE__ */ new Date();
|
|
5888
|
+
if (H instanceof Date) return new Date(H);
|
|
5889
|
+
if (typeof H == "string" && !/Z$/i.test(H)) {
|
|
5890
|
+
var V = H.match(c);
|
|
5891
|
+
if (V) {
|
|
5892
|
+
var D = V[2] - 1 || 0, E = (V[7] || "0").substring(0, 3);
|
|
5893
|
+
return A ? new Date(Date.UTC(V[1], D, V[3] || 1, V[4] || 0, V[5] || 0, V[6] || 0, E)) : new Date(V[1], D, V[3] || 1, V[4] || 0, V[5] || 0, V[6] || 0, E);
|
|
5894
|
+
}
|
|
5895
|
+
}
|
|
5896
|
+
return new Date(H);
|
|
5897
|
+
})(G), this.init();
|
|
5898
|
+
}, L.init = function() {
|
|
5899
|
+
var G = this.$d;
|
|
5900
|
+
this.$y = G.getFullYear(), this.$M = G.getMonth(), this.$D = G.getDate(), this.$W = G.getDay(), this.$H = G.getHours(), this.$m = G.getMinutes(), this.$s = G.getSeconds(), this.$ms = G.getMilliseconds();
|
|
5901
|
+
}, L.$utils = function() {
|
|
5902
|
+
return x;
|
|
5903
|
+
}, L.isValid = function() {
|
|
5904
|
+
return this.$d.toString() !== f;
|
|
5905
|
+
}, L.isSame = function(G, W) {
|
|
5906
|
+
var H = T(G);
|
|
5907
|
+
return this.startOf(W) <= H && H <= this.endOf(W);
|
|
5908
|
+
}, L.isAfter = function(G, W) {
|
|
5909
|
+
return T(G) < this.startOf(W);
|
|
5910
|
+
}, L.isBefore = function(G, W) {
|
|
5911
|
+
return this.endOf(W) < T(G);
|
|
5912
|
+
}, L.$g = function(G, W, H) {
|
|
5913
|
+
return x.u(G) ? this[W] : this.set(H, G);
|
|
5914
|
+
}, L.unix = function() {
|
|
5915
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
5916
|
+
}, L.valueOf = function() {
|
|
5917
|
+
return this.$d.getTime();
|
|
5918
|
+
}, L.startOf = function(G, W) {
|
|
5919
|
+
var H = this, A = !!x.u(W) || W, V = x.p(G), D = function(q, Q) {
|
|
5920
|
+
var ne = x.w(H.$u ? Date.UTC(H.$y, Q, q) : new Date(H.$y, Q, q), H);
|
|
5921
|
+
return A ? ne : ne.endOf(t);
|
|
5922
|
+
}, E = function(q, Q) {
|
|
5923
|
+
return x.w(H.toDate()[q].apply(H.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Q)), H);
|
|
5924
|
+
}, w = this.$W, P = this.$M, j = this.$D, I = "set" + (this.$u ? "UTC" : "");
|
|
5925
|
+
switch (V) {
|
|
5926
|
+
case p:
|
|
5927
|
+
return A ? D(1, 0) : D(31, 11);
|
|
5928
|
+
case o:
|
|
5929
|
+
return A ? D(1, P) : D(0, P + 1);
|
|
5930
|
+
case n:
|
|
5931
|
+
var J = this.$locale().weekStart || 0, z = (w < J ? w + 7 : w) - J;
|
|
5932
|
+
return D(A ? j - z : j + (6 - z), P);
|
|
5933
|
+
case t:
|
|
5934
|
+
case u:
|
|
5935
|
+
return E(I + "Hours", 0);
|
|
5936
|
+
case l:
|
|
5937
|
+
return E(I + "Minutes", 1);
|
|
5938
|
+
case d:
|
|
5939
|
+
return E(I + "Seconds", 2);
|
|
5940
|
+
case y:
|
|
5941
|
+
return E(I + "Milliseconds", 3);
|
|
5942
|
+
default:
|
|
5943
|
+
return this.clone();
|
|
5944
|
+
}
|
|
5945
|
+
}, L.endOf = function(G) {
|
|
5946
|
+
return this.startOf(G, !1);
|
|
5947
|
+
}, L.$set = function(G, W) {
|
|
5948
|
+
var H, A = x.p(G), V = "set" + (this.$u ? "UTC" : ""), D = (H = {}, H[t] = V + "Date", H[u] = V + "Date", H[o] = V + "Month", H[p] = V + "FullYear", H[l] = V + "Hours", H[d] = V + "Minutes", H[y] = V + "Seconds", H[g] = V + "Milliseconds", H)[A], E = A === t ? this.$D + (W - this.$W) : W;
|
|
5949
|
+
if (A === o || A === p) {
|
|
5950
|
+
var w = this.clone().set(u, 1);
|
|
5951
|
+
w.$d[D](E), w.init(), this.$d = w.set(u, Math.min(this.$D, w.daysInMonth())).$d;
|
|
5952
|
+
} else D && this.$d[D](E);
|
|
5953
|
+
return this.init(), this;
|
|
5954
|
+
}, L.set = function(G, W) {
|
|
5955
|
+
return this.clone().$set(G, W);
|
|
5956
|
+
}, L.get = function(G) {
|
|
5957
|
+
return this[x.p(G)]();
|
|
5958
|
+
}, L.add = function(G, W) {
|
|
5959
|
+
var H, A = this;
|
|
5960
|
+
G = Number(G);
|
|
5961
|
+
var V = x.p(W), D = function(P) {
|
|
5962
|
+
var j = T(A);
|
|
5963
|
+
return x.w(j.date(j.date() + Math.round(P * G)), A);
|
|
5964
|
+
};
|
|
5965
|
+
if (V === o) return this.set(o, this.$M + G);
|
|
5966
|
+
if (V === p) return this.set(p, this.$y + G);
|
|
5967
|
+
if (V === t) return D(1);
|
|
5968
|
+
if (V === n) return D(7);
|
|
5969
|
+
var E = (H = {}, H[d] = r, H[l] = m, H[y] = a, H)[V] || 1, w = this.$d.getTime() + G * E;
|
|
5970
|
+
return x.w(w, this);
|
|
5971
|
+
}, L.subtract = function(G, W) {
|
|
5972
|
+
return this.add(-1 * G, W);
|
|
5973
|
+
}, L.format = function(G) {
|
|
5974
|
+
var W = this, H = this.$locale();
|
|
5975
|
+
if (!this.isValid()) return H.invalidDate || f;
|
|
5976
|
+
var A = G || "YYYY-MM-DDTHH:mm:ssZ", V = x.z(this), D = this.$H, E = this.$m, w = this.$M, P = H.weekdays, j = H.months, I = H.meridiem, J = function(Q, ne, Y, le) {
|
|
5977
|
+
return Q && (Q[ne] || Q(W, A)) || Y[ne].slice(0, le);
|
|
5978
|
+
}, z = function(Q) {
|
|
5979
|
+
return x.s(D % 12 || 12, Q, "0");
|
|
5980
|
+
}, q = I || function(Q, ne, Y) {
|
|
5981
|
+
var le = Q < 12 ? "AM" : "PM";
|
|
5982
|
+
return Y ? le.toLowerCase() : le;
|
|
5983
|
+
};
|
|
5984
|
+
return A.replace(b, (function(Q, ne) {
|
|
5985
|
+
return ne || (function(Y) {
|
|
5986
|
+
switch (Y) {
|
|
5987
|
+
case "YY":
|
|
5988
|
+
return String(W.$y).slice(-2);
|
|
5989
|
+
case "YYYY":
|
|
5990
|
+
return x.s(W.$y, 4, "0");
|
|
5991
|
+
case "M":
|
|
5992
|
+
return w + 1;
|
|
5993
|
+
case "MM":
|
|
5994
|
+
return x.s(w + 1, 2, "0");
|
|
5995
|
+
case "MMM":
|
|
5996
|
+
return J(H.monthsShort, w, j, 3);
|
|
5997
|
+
case "MMMM":
|
|
5998
|
+
return J(j, w);
|
|
5999
|
+
case "D":
|
|
6000
|
+
return W.$D;
|
|
6001
|
+
case "DD":
|
|
6002
|
+
return x.s(W.$D, 2, "0");
|
|
6003
|
+
case "d":
|
|
6004
|
+
return String(W.$W);
|
|
6005
|
+
case "dd":
|
|
6006
|
+
return J(H.weekdaysMin, W.$W, P, 2);
|
|
6007
|
+
case "ddd":
|
|
6008
|
+
return J(H.weekdaysShort, W.$W, P, 3);
|
|
6009
|
+
case "dddd":
|
|
6010
|
+
return P[W.$W];
|
|
6011
|
+
case "H":
|
|
6012
|
+
return String(D);
|
|
6013
|
+
case "HH":
|
|
6014
|
+
return x.s(D, 2, "0");
|
|
6015
|
+
case "h":
|
|
6016
|
+
return z(1);
|
|
6017
|
+
case "hh":
|
|
6018
|
+
return z(2);
|
|
6019
|
+
case "a":
|
|
6020
|
+
return q(D, E, !0);
|
|
6021
|
+
case "A":
|
|
6022
|
+
return q(D, E, !1);
|
|
6023
|
+
case "m":
|
|
6024
|
+
return String(E);
|
|
6025
|
+
case "mm":
|
|
6026
|
+
return x.s(E, 2, "0");
|
|
6027
|
+
case "s":
|
|
6028
|
+
return String(W.$s);
|
|
6029
|
+
case "ss":
|
|
6030
|
+
return x.s(W.$s, 2, "0");
|
|
6031
|
+
case "SSS":
|
|
6032
|
+
return x.s(W.$ms, 3, "0");
|
|
6033
|
+
case "Z":
|
|
6034
|
+
return V;
|
|
6035
|
+
}
|
|
6036
|
+
return null;
|
|
6037
|
+
})(Q) || V.replace(":", "");
|
|
6038
|
+
}));
|
|
6039
|
+
}, L.utcOffset = function() {
|
|
6040
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6041
|
+
}, L.diff = function(G, W, H) {
|
|
6042
|
+
var A, V = this, D = x.p(W), E = T(G), w = (E.utcOffset() - this.utcOffset()) * r, P = this - E, j = function() {
|
|
6043
|
+
return x.m(V, E);
|
|
6044
|
+
};
|
|
6045
|
+
switch (D) {
|
|
6046
|
+
case p:
|
|
6047
|
+
A = j() / 12;
|
|
6048
|
+
break;
|
|
6049
|
+
case o:
|
|
6050
|
+
A = j();
|
|
6051
|
+
break;
|
|
6052
|
+
case s:
|
|
6053
|
+
A = j() / 3;
|
|
6054
|
+
break;
|
|
6055
|
+
case n:
|
|
6056
|
+
A = (P - w) / 6048e5;
|
|
6057
|
+
break;
|
|
6058
|
+
case t:
|
|
6059
|
+
A = (P - w) / 864e5;
|
|
6060
|
+
break;
|
|
6061
|
+
case l:
|
|
6062
|
+
A = P / m;
|
|
6063
|
+
break;
|
|
6064
|
+
case d:
|
|
6065
|
+
A = P / r;
|
|
6066
|
+
break;
|
|
6067
|
+
case y:
|
|
6068
|
+
A = P / a;
|
|
6069
|
+
break;
|
|
6070
|
+
default:
|
|
6071
|
+
A = P;
|
|
6072
|
+
}
|
|
6073
|
+
return H ? A : x.a(A);
|
|
6074
|
+
}, L.daysInMonth = function() {
|
|
6075
|
+
return this.endOf(o).$D;
|
|
6076
|
+
}, L.$locale = function() {
|
|
6077
|
+
return h[this.$L];
|
|
6078
|
+
}, L.locale = function(G, W) {
|
|
6079
|
+
if (!G) return this.$L;
|
|
6080
|
+
var H = this.clone(), A = B(G, W, !0);
|
|
6081
|
+
return A && (H.$L = A), H;
|
|
6082
|
+
}, L.clone = function() {
|
|
6083
|
+
return x.w(this.$d, this);
|
|
6084
|
+
}, L.toDate = function() {
|
|
6085
|
+
return new Date(this.valueOf());
|
|
6086
|
+
}, L.toJSON = function() {
|
|
6087
|
+
return this.isValid() ? this.toISOString() : null;
|
|
6088
|
+
}, L.toISOString = function() {
|
|
6089
|
+
return this.$d.toISOString();
|
|
6090
|
+
}, L.toString = function() {
|
|
6091
|
+
return this.$d.toUTCString();
|
|
6092
|
+
}, M;
|
|
6093
|
+
})(), R = F.prototype;
|
|
6094
|
+
return T.prototype = R, [["$ms", g], ["$s", y], ["$m", d], ["$H", l], ["$W", t], ["$M", o], ["$y", p], ["$D", u]].forEach((function(M) {
|
|
6095
|
+
R[M[1]] = function(L) {
|
|
6096
|
+
return this.$g(L, M[0], M[1]);
|
|
6097
|
+
};
|
|
6098
|
+
})), T.extend = function(M, L) {
|
|
6099
|
+
return M.$i || (M(L, F, T), M.$i = !0), T;
|
|
6100
|
+
}, T.locale = B, T.isDayjs = N, T.unix = function(M) {
|
|
6101
|
+
return T(1e3 * M);
|
|
6102
|
+
}, T.en = h[v], T.Ls = h, T.p = {}, T;
|
|
6103
|
+
}));
|
|
6104
|
+
})($t)), $t.exports;
|
|
6105
6105
|
}
|
|
6106
|
-
var
|
|
6107
|
-
const
|
|
6106
|
+
var No = Do();
|
|
6107
|
+
const Pe = /* @__PURE__ */ Ui(No), Ha = (e) => {
|
|
6108
6108
|
const i = "mySecretPassphrase", a = ba.lib.WordArray.random(16), r = ba.PBKDF2(i, a, {
|
|
6109
6109
|
keySize: 128 / 32,
|
|
6110
6110
|
iterations: 1e3,
|
|
@@ -6115,7 +6115,7 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6115
6115
|
padding: ba.pad.Pkcs7
|
|
6116
6116
|
}), g = a.toString(ba.enc.Base64), y = ba.enc.Base64.stringify(m.ciphertext);
|
|
6117
6117
|
return g + ":" + y;
|
|
6118
|
-
}, Lo = (e) => e === "aes" ?
|
|
6118
|
+
}, Lo = (e) => e === "aes" ? Ha : (i) => Va.MD5(i).toString(), ie = () => {
|
|
6119
6119
|
const {
|
|
6120
6120
|
client: e,
|
|
6121
6121
|
formDataClient: i,
|
|
@@ -6160,17 +6160,19 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6160
6160
|
unlimitCode: z,
|
|
6161
6161
|
email: q,
|
|
6162
6162
|
inviteCode: Q,
|
|
6163
|
-
currencyCode:
|
|
6164
|
-
validCode: Y
|
|
6163
|
+
currencyCode: ne,
|
|
6164
|
+
validCode: Y,
|
|
6165
|
+
nickName: le
|
|
6165
6166
|
}) => {
|
|
6166
|
-
const
|
|
6167
|
+
const de = {
|
|
6167
6168
|
memId: I,
|
|
6168
|
-
passwd:
|
|
6169
|
+
passwd: Va.MD5(J).toString(),
|
|
6169
6170
|
email: q,
|
|
6170
|
-
currency_code:
|
|
6171
|
-
code: Y
|
|
6171
|
+
currency_code: ne,
|
|
6172
|
+
code: Y,
|
|
6173
|
+
nick_name: le
|
|
6172
6174
|
};
|
|
6173
|
-
return z && (
|
|
6175
|
+
return q && (de.email = q), z && (de.unlimit_code = z), Q && (de.invite = Q), e.post("/siginUp", de);
|
|
6174
6176
|
},
|
|
6175
6177
|
[e]
|
|
6176
6178
|
), p = O(
|
|
@@ -6199,7 +6201,7 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6199
6201
|
[e, a]
|
|
6200
6202
|
), f = O(
|
|
6201
6203
|
async (I) => {
|
|
6202
|
-
const { newPwd: J } = I, z =
|
|
6204
|
+
const { newPwd: J } = I, z = Va.MD5(J).toString();
|
|
6203
6205
|
return await e.post("/member/initset", {
|
|
6204
6206
|
password: z,
|
|
6205
6207
|
password_confirmation: z
|
|
@@ -6210,8 +6212,8 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6210
6212
|
async (I) => {
|
|
6211
6213
|
const { newPwd: J, confirmNewPwd: z } = I;
|
|
6212
6214
|
return await e.post("/setWithdrawPassword", {
|
|
6213
|
-
newPassword:
|
|
6214
|
-
confirmPassword:
|
|
6215
|
+
newPassword: Ha(J),
|
|
6216
|
+
confirmPassword: Ha(z)
|
|
6215
6217
|
});
|
|
6216
6218
|
},
|
|
6217
6219
|
[e]
|
|
@@ -6219,8 +6221,8 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6219
6221
|
async (I) => {
|
|
6220
6222
|
const { oldPwd: J, newPwd: z } = I;
|
|
6221
6223
|
return await e.post("/withdrawPasswordReset", {
|
|
6222
|
-
old_pwd:
|
|
6223
|
-
new_pwd:
|
|
6224
|
+
old_pwd: Ha(J),
|
|
6225
|
+
new_pwd: Ha(z)
|
|
6224
6226
|
});
|
|
6225
6227
|
},
|
|
6226
6228
|
[e]
|
|
@@ -6260,7 +6262,7 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6260
6262
|
to_memId: J,
|
|
6261
6263
|
point: z,
|
|
6262
6264
|
currency: q,
|
|
6263
|
-
password:
|
|
6265
|
+
password: Ha(Q)
|
|
6264
6266
|
});
|
|
6265
6267
|
},
|
|
6266
6268
|
[e]
|
|
@@ -6271,9 +6273,9 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6271
6273
|
bank_account_name: z,
|
|
6272
6274
|
bank_branch_name: q,
|
|
6273
6275
|
bank_account: Q,
|
|
6274
|
-
bank_card_number:
|
|
6276
|
+
bank_card_number: ne,
|
|
6275
6277
|
id_card: Y,
|
|
6276
|
-
id_pic:
|
|
6278
|
+
id_pic: le
|
|
6277
6279
|
} = I;
|
|
6278
6280
|
return await i.post("/bindBankAccount", I);
|
|
6279
6281
|
},
|
|
@@ -6346,37 +6348,37 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6346
6348
|
[e]
|
|
6347
6349
|
), L = O(
|
|
6348
6350
|
async (I) => {
|
|
6349
|
-
const { mobile: J, verifyCode: z, snCode: q, invoiceType: Q, invoiceCode:
|
|
6351
|
+
const { mobile: J, verifyCode: z, snCode: q, invoiceType: Q, invoiceCode: ne } = I;
|
|
6350
6352
|
return await e.post("/goMobile", {
|
|
6351
6353
|
mobile: J,
|
|
6352
6354
|
verification_code: z,
|
|
6353
6355
|
sn_code: q,
|
|
6354
6356
|
invoice_type: Q,
|
|
6355
|
-
invoice_code:
|
|
6357
|
+
invoice_code: ne
|
|
6356
6358
|
});
|
|
6357
6359
|
},
|
|
6358
6360
|
[e]
|
|
6359
6361
|
), G = O(
|
|
6360
6362
|
async (I) => {
|
|
6361
|
-
const { mobile: J, verifyCode: z, invite: q, invoiceType: Q, invoiceCode:
|
|
6363
|
+
const { mobile: J, verifyCode: z, invite: q, invoiceType: Q, invoiceCode: ne } = I;
|
|
6362
6364
|
return await e.post("/goMobileByInvite", {
|
|
6363
6365
|
mobile: J,
|
|
6364
6366
|
verification_code: z,
|
|
6365
6367
|
invite: q,
|
|
6366
6368
|
invoice_type: Q,
|
|
6367
|
-
invoice_code:
|
|
6369
|
+
invoice_code: ne
|
|
6368
6370
|
});
|
|
6369
6371
|
},
|
|
6370
6372
|
[e]
|
|
6371
6373
|
), W = O(
|
|
6372
6374
|
async (I) => {
|
|
6373
|
-
const { mobile: J, password: z, invite: q, invoiceType: Q, invoiceCode:
|
|
6375
|
+
const { mobile: J, password: z, invite: q, invoiceType: Q, invoiceCode: ne } = I;
|
|
6374
6376
|
return await e.post("/goMobileByPassword", {
|
|
6375
6377
|
mobile: J,
|
|
6376
|
-
password:
|
|
6378
|
+
password: Va.MD5(z).toString(),
|
|
6377
6379
|
invite: q,
|
|
6378
6380
|
invoice_type: Q,
|
|
6379
|
-
invoice_code:
|
|
6381
|
+
invoice_code: ne
|
|
6380
6382
|
});
|
|
6381
6383
|
},
|
|
6382
6384
|
[e]
|
|
@@ -6460,7 +6462,7 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6460
6462
|
updateUserAvatarApi: P
|
|
6461
6463
|
};
|
|
6462
6464
|
}, Zm = ({ otherQueryKey: e = [], options: i = {} } = {}) => {
|
|
6463
|
-
const { userCurrencyExchangeApi: a } =
|
|
6465
|
+
const { userCurrencyExchangeApi: a } = ie(), { getToken: r } = me(), { enabled: m, ...g } = i, d = !!r?.() && (m ? m.every((l) => l) : !0);
|
|
6464
6466
|
return $n({
|
|
6465
6467
|
queries: [
|
|
6466
6468
|
{
|
|
@@ -6478,7 +6480,7 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6478
6480
|
trigger: i = [],
|
|
6479
6481
|
enabled: a = !0
|
|
6480
6482
|
} = {}) => {
|
|
6481
|
-
const { getToken: r } = me(), m = r?.(), { userInfoApi: g } =
|
|
6483
|
+
const { getToken: r } = me(), m = r?.(), { userInfoApi: g } = ie();
|
|
6482
6484
|
return $n({
|
|
6483
6485
|
queries: [
|
|
6484
6486
|
{
|
|
@@ -6495,7 +6497,7 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
|
|
|
6495
6497
|
userFavoriteGameApi: a,
|
|
6496
6498
|
userGameListApi: r,
|
|
6497
6499
|
userCurrencyExchangeApi: m
|
|
6498
|
-
} =
|
|
6500
|
+
} = ie(), g = X({
|
|
6499
6501
|
queryKey: ["getMemInfo"],
|
|
6500
6502
|
queryFn: async () => i(),
|
|
6501
6503
|
enabled: e
|
|
@@ -6712,7 +6714,7 @@ function oa() {
|
|
|
6712
6714
|
e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && m();
|
|
6713
6715
|
})(li)), li;
|
|
6714
6716
|
}
|
|
6715
|
-
var
|
|
6717
|
+
var et = {}, oi = {}, hn;
|
|
6716
6718
|
function Ti() {
|
|
6717
6719
|
return hn || (hn = 1, (function(e) {
|
|
6718
6720
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
|
|
@@ -6788,7 +6790,7 @@ function ur() {
|
|
|
6788
6790
|
}
|
|
6789
6791
|
return ut;
|
|
6790
6792
|
}
|
|
6791
|
-
var
|
|
6793
|
+
var at = {}, si = {}, xn;
|
|
6792
6794
|
function xi() {
|
|
6793
6795
|
return xn || (xn = 1, (function(e) {
|
|
6794
6796
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
|
|
@@ -6821,8 +6823,8 @@ function xi() {
|
|
|
6821
6823
|
}
|
|
6822
6824
|
var Sn;
|
|
6823
6825
|
function Si() {
|
|
6824
|
-
if (Sn) return
|
|
6825
|
-
Sn = 1, Object.defineProperty(
|
|
6826
|
+
if (Sn) return at;
|
|
6827
|
+
Sn = 1, Object.defineProperty(at, "__esModule", { value: !0 }), at.assertIsWebSocket = a, at.resetGlobalState = r;
|
|
6826
6828
|
var e = Ti(), i = xi();
|
|
6827
6829
|
function a(m, g) {
|
|
6828
6830
|
if (!g && !(m instanceof WebSocket))
|
|
@@ -6831,7 +6833,7 @@ function Si() {
|
|
|
6831
6833
|
function r(m) {
|
|
6832
6834
|
(0, i.resetSubscribers)(m), (0, e.resetWebSockets)(m);
|
|
6833
6835
|
}
|
|
6834
|
-
return
|
|
6836
|
+
return at;
|
|
6835
6837
|
}
|
|
6836
6838
|
var En;
|
|
6837
6839
|
function Po() {
|
|
@@ -6967,8 +6969,8 @@ function wo() {
|
|
|
6967
6969
|
}
|
|
6968
6970
|
var Nn;
|
|
6969
6971
|
function Fo() {
|
|
6970
|
-
if (Nn) return
|
|
6971
|
-
Nn = 1, Object.defineProperty(
|
|
6972
|
+
if (Nn) return et;
|
|
6973
|
+
Nn = 1, Object.defineProperty(et, "__esModule", { value: !0 }), et.createOrJoinSocket = void 0;
|
|
6972
6974
|
var e = Ti(), i = oa(), a = Po(), r = wo(), m = xi(), g = function(d, l, t, n, o) {
|
|
6973
6975
|
return function() {
|
|
6974
6976
|
if ((0, m.removeSubscriber)(d, l), !(0, m.hasSubscribers)(d)) {
|
|
@@ -7006,7 +7008,7 @@ function Fo() {
|
|
|
7006
7008
|
}, n, s.current, p, u, f);
|
|
7007
7009
|
}
|
|
7008
7010
|
};
|
|
7009
|
-
return
|
|
7011
|
+
return et.createOrJoinSocket = y, et;
|
|
7010
7012
|
}
|
|
7011
7013
|
var ua = {}, Ln;
|
|
7012
7014
|
function Ao() {
|
|
@@ -7539,7 +7541,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7539
7541
|
...e
|
|
7540
7542
|
});
|
|
7541
7543
|
}, Ko = ({ options: e } = {}) => {
|
|
7542
|
-
const { withdrawMonthCardApi: i } = pr(), a =
|
|
7544
|
+
const { withdrawMonthCardApi: i } = pr(), a = Ea();
|
|
7543
7545
|
return te({
|
|
7544
7546
|
mutationKey: ["withdrawMonthCard"],
|
|
7545
7547
|
mutationFn: i,
|
|
@@ -7563,7 +7565,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7563
7565
|
monthCardInfoQuery: i,
|
|
7564
7566
|
withdrawMonthCardMutation: a
|
|
7565
7567
|
};
|
|
7566
|
-
},
|
|
7568
|
+
}, La = () => {
|
|
7567
7569
|
const { client: e } = me(), i = O(async () => {
|
|
7568
7570
|
const { data: l } = await e.get("/carousels");
|
|
7569
7571
|
return l;
|
|
@@ -7604,70 +7606,70 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7604
7606
|
announcementApi: a
|
|
7605
7607
|
};
|
|
7606
7608
|
}, qo = ({ options: e } = {}) => {
|
|
7607
|
-
const { userLoginApi: i } =
|
|
7609
|
+
const { userLoginApi: i } = ie();
|
|
7608
7610
|
return te({
|
|
7609
7611
|
mutationKey: ["userLogin"],
|
|
7610
7612
|
mutationFn: async (a) => i(a),
|
|
7611
7613
|
...e
|
|
7612
7614
|
});
|
|
7613
7615
|
}, $o = ({ options: e } = {}) => {
|
|
7614
|
-
const { userLogoutApi: i } =
|
|
7616
|
+
const { userLogoutApi: i } = ie();
|
|
7615
7617
|
return te({
|
|
7616
7618
|
mutationKey: ["userLogout"],
|
|
7617
7619
|
mutationFn: async () => i(),
|
|
7618
7620
|
...e
|
|
7619
7621
|
});
|
|
7620
7622
|
}, Qo = ({ options: e } = {}) => {
|
|
7621
|
-
const { userSignUpApi: i } =
|
|
7623
|
+
const { userSignUpApi: i } = ie();
|
|
7622
7624
|
return te({
|
|
7623
7625
|
mutationKey: ["userSignUp"],
|
|
7624
7626
|
mutationFn: async (a) => i(a),
|
|
7625
7627
|
...e
|
|
7626
7628
|
});
|
|
7627
7629
|
}, jo = ({ options: e } = {}) => {
|
|
7628
|
-
const { addOrRemoveFavoriteGameApi: i } =
|
|
7630
|
+
const { addOrRemoveFavoriteGameApi: i } = ie();
|
|
7629
7631
|
return te({
|
|
7630
7632
|
mutationKey: ["toggleFavoriteGame"],
|
|
7631
7633
|
mutationFn: async (a) => i(a),
|
|
7632
7634
|
...e
|
|
7633
7635
|
});
|
|
7634
7636
|
}, Yo = ({ options: e } = {}) => {
|
|
7635
|
-
const { updateUserInfoApi: i } =
|
|
7637
|
+
const { updateUserInfoApi: i } = ie();
|
|
7636
7638
|
return te({
|
|
7637
7639
|
mutationKey: ["updateUserInfo"],
|
|
7638
7640
|
mutationFn: async (a) => i(a),
|
|
7639
7641
|
...e
|
|
7640
7642
|
});
|
|
7641
7643
|
}, Xo = ({ options: e } = {}) => {
|
|
7642
|
-
const { resetUserPasswordApi: i } =
|
|
7644
|
+
const { resetUserPasswordApi: i } = ie();
|
|
7643
7645
|
return te({
|
|
7644
7646
|
mutationKey: ["resetUserPassword"],
|
|
7645
7647
|
mutationFn: async (a) => i(a),
|
|
7646
7648
|
...e
|
|
7647
7649
|
});
|
|
7648
7650
|
}, es = ({ options: e } = {}) => {
|
|
7649
|
-
const { memberInitSetApi: i } =
|
|
7651
|
+
const { memberInitSetApi: i } = ie();
|
|
7650
7652
|
return te({
|
|
7651
7653
|
mutationKey: ["memberInitSet"],
|
|
7652
7654
|
mutationFn: async (a) => i(a),
|
|
7653
7655
|
...e
|
|
7654
7656
|
});
|
|
7655
7657
|
}, as = ({ options: e } = {}) => {
|
|
7656
|
-
const { setUserTransactionPasswordApi: i } =
|
|
7658
|
+
const { setUserTransactionPasswordApi: i } = ie();
|
|
7657
7659
|
return te({
|
|
7658
7660
|
mutationKey: ["setUserTransactionPassword"],
|
|
7659
7661
|
mutationFn: async (a) => i(a),
|
|
7660
7662
|
...e
|
|
7661
7663
|
});
|
|
7662
7664
|
}, ts = ({ options: e } = {}) => {
|
|
7663
|
-
const { resetUserTransactionPasswordApi: i } =
|
|
7665
|
+
const { resetUserTransactionPasswordApi: i } = ie();
|
|
7664
7666
|
return te({
|
|
7665
7667
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7666
7668
|
mutationFn: async (a) => i(a),
|
|
7667
7669
|
...e
|
|
7668
7670
|
});
|
|
7669
7671
|
}, is = ({ paramsData: e, options: i } = {}) => {
|
|
7670
|
-
const { userRebateApi: a } =
|
|
7672
|
+
const { userRebateApi: a } = ie(), { getToken: r } = me();
|
|
7671
7673
|
return r?.(), X({
|
|
7672
7674
|
queryKey: ["userRebate", e],
|
|
7673
7675
|
queryFn: async () => a({ paramsData: e }),
|
|
@@ -7675,14 +7677,14 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7675
7677
|
...i
|
|
7676
7678
|
});
|
|
7677
7679
|
}, ns = ({ options: e } = {}) => {
|
|
7678
|
-
const { userBindBankApi: i } =
|
|
7680
|
+
const { userBindBankApi: i } = ie();
|
|
7679
7681
|
return te({
|
|
7680
7682
|
mutationKey: ["userBindBank"],
|
|
7681
7683
|
mutationFn: async (a) => i({ formData: a }),
|
|
7682
7684
|
...e
|
|
7683
7685
|
});
|
|
7684
7686
|
}, rs = ({ options: e } = {}) => {
|
|
7685
|
-
const { transferInGameApi: i } =
|
|
7687
|
+
const { transferInGameApi: i } = ie();
|
|
7686
7688
|
return te({
|
|
7687
7689
|
mutationKey: ["transferInGame"],
|
|
7688
7690
|
mutationFn: async (a) => i(a),
|
|
@@ -7690,7 +7692,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7690
7692
|
...e
|
|
7691
7693
|
});
|
|
7692
7694
|
}, jm = ({ options: e } = {}) => {
|
|
7693
|
-
const { currency: i } = me(), { pointTransferApi: a } =
|
|
7695
|
+
const { currency: i } = me(), { pointTransferApi: a } = ie();
|
|
7694
7696
|
return te({
|
|
7695
7697
|
mutationKey: ["pointTransfer"],
|
|
7696
7698
|
mutationFn: async (r) => a({
|
|
@@ -7700,7 +7702,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7700
7702
|
...e
|
|
7701
7703
|
});
|
|
7702
7704
|
}, Ym = ({ options: e } = {}) => {
|
|
7703
|
-
const { currency: i } = me(), { checkUserWagerApi: a } =
|
|
7705
|
+
const { currency: i } = me(), { checkUserWagerApi: a } = ie();
|
|
7704
7706
|
return X({
|
|
7705
7707
|
queryKey: ["checkUserWager"],
|
|
7706
7708
|
queryFn: async () => a(),
|
|
@@ -7713,7 +7715,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7713
7715
|
...e
|
|
7714
7716
|
});
|
|
7715
7717
|
}, Xm = ({ options: e } = {}) => {
|
|
7716
|
-
const i =
|
|
7718
|
+
const i = Ea(), { abandonPointsApi: a } = ie();
|
|
7717
7719
|
return te({
|
|
7718
7720
|
mutationKey: ["abandonPoint"],
|
|
7719
7721
|
mutationFn: async (r) => a({
|
|
@@ -7725,126 +7727,126 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7725
7727
|
...e
|
|
7726
7728
|
});
|
|
7727
7729
|
}, gr = ({ options: e } = {}) => {
|
|
7728
|
-
const { lineLoginApi: i } =
|
|
7730
|
+
const { lineLoginApi: i } = ie();
|
|
7729
7731
|
return te({
|
|
7730
7732
|
mutationKey: ["lineLogin"],
|
|
7731
7733
|
mutationFn: async (a) => i(a),
|
|
7732
7734
|
...e
|
|
7733
7735
|
});
|
|
7734
7736
|
}, ls = ({ options: e } = {}) => {
|
|
7735
|
-
const { lineLogin2Api: i } =
|
|
7737
|
+
const { lineLogin2Api: i } = ie();
|
|
7736
7738
|
return te({
|
|
7737
7739
|
mutationKey: ["lineLogin"],
|
|
7738
7740
|
mutationFn: async (a) => i(a),
|
|
7739
7741
|
...e
|
|
7740
7742
|
});
|
|
7741
7743
|
}, eu = ({ options: e } = {}) => {
|
|
7742
|
-
const { machineLoginApi: i } =
|
|
7744
|
+
const { machineLoginApi: i } = ie();
|
|
7743
7745
|
return te({
|
|
7744
7746
|
mutationKey: ["machineLogin"],
|
|
7745
7747
|
mutationFn: async (a) => i(a),
|
|
7746
7748
|
...e
|
|
7747
7749
|
});
|
|
7748
7750
|
}, os = ({ options: e, formData: i } = {}) => {
|
|
7749
|
-
const { getMachineLoginCodeApi: a } =
|
|
7751
|
+
const { getMachineLoginCodeApi: a } = ie();
|
|
7750
7752
|
return X({
|
|
7751
7753
|
queryKey: ["getMachineLoginCode"],
|
|
7752
7754
|
queryFn: async () => a(i),
|
|
7753
7755
|
...e
|
|
7754
7756
|
});
|
|
7755
7757
|
}, au = ({ options: e } = {}) => {
|
|
7756
|
-
const { currency: i } = me(), { memberTransferApi: a } =
|
|
7758
|
+
const { currency: i } = me(), { memberTransferApi: a } = ie();
|
|
7757
7759
|
return te({
|
|
7758
7760
|
mutationKey: ["memberTransfer"],
|
|
7759
7761
|
mutationFn: async (r) => a({ ...r, currency: i }),
|
|
7760
7762
|
...e
|
|
7761
7763
|
});
|
|
7762
7764
|
}, tu = ({ options: e } = {}) => {
|
|
7763
|
-
const { currency: i } = me(), { checkMemberTransferApi: a } =
|
|
7765
|
+
const { currency: i } = me(), { checkMemberTransferApi: a } = ie();
|
|
7764
7766
|
return te({
|
|
7765
7767
|
mutationKey: ["checkMemberTransfer"],
|
|
7766
7768
|
mutationFn: async (r) => a({ ...r, currency: i }),
|
|
7767
7769
|
...e
|
|
7768
7770
|
});
|
|
7769
7771
|
}, iu = ({ options: e } = {}) => {
|
|
7770
|
-
const { mobileLoginApi: i } =
|
|
7772
|
+
const { mobileLoginApi: i } = ie();
|
|
7771
7773
|
return te({
|
|
7772
7774
|
mutationKey: ["mobileLogin"],
|
|
7773
7775
|
mutationFn: async (a) => i(a),
|
|
7774
7776
|
...e
|
|
7775
7777
|
});
|
|
7776
7778
|
}, nu = ({ options: e } = {}) => {
|
|
7777
|
-
const { mobileLoginApiV2: i } =
|
|
7779
|
+
const { mobileLoginApiV2: i } = ie();
|
|
7778
7780
|
return te({
|
|
7779
7781
|
mutationKey: ["mobileLoginV2"],
|
|
7780
7782
|
mutationFn: async (a) => i(a),
|
|
7781
7783
|
...e
|
|
7782
7784
|
});
|
|
7783
7785
|
}, ru = ({ options: e } = {}) => {
|
|
7784
|
-
const { mobileRegisterApi: i } =
|
|
7786
|
+
const { mobileRegisterApi: i } = ie();
|
|
7785
7787
|
return te({
|
|
7786
7788
|
mutationKey: ["mobileRegister"],
|
|
7787
7789
|
mutationFn: async (a) => i(a),
|
|
7788
7790
|
...e
|
|
7789
7791
|
});
|
|
7790
7792
|
}, lu = ({ options: e } = {}) => {
|
|
7791
|
-
const { mobilePasswordApi: i } =
|
|
7793
|
+
const { mobilePasswordApi: i } = ie();
|
|
7792
7794
|
return te({
|
|
7793
7795
|
mutationKey: ["mobileByPassword"],
|
|
7794
7796
|
mutationFn: async (a) => i(a),
|
|
7795
7797
|
...e
|
|
7796
7798
|
});
|
|
7797
7799
|
}, ou = ({ options: e } = {}) => {
|
|
7798
|
-
const { checkMobileApi: i } =
|
|
7800
|
+
const { checkMobileApi: i } = ie();
|
|
7799
7801
|
return te({
|
|
7800
7802
|
mutationKey: ["checkMobile"],
|
|
7801
7803
|
mutationFn: async (a) => i(a),
|
|
7802
7804
|
...e
|
|
7803
7805
|
});
|
|
7804
7806
|
}, ss = ({ options: e } = {}) => {
|
|
7805
|
-
const { bindAccountApi: i } =
|
|
7807
|
+
const { bindAccountApi: i } = ie();
|
|
7806
7808
|
return te({
|
|
7807
7809
|
mutationKey: ["bindAccount"],
|
|
7808
7810
|
mutationFn: async (a) => i(a),
|
|
7809
7811
|
...e
|
|
7810
7812
|
});
|
|
7811
7813
|
}, su = ({ options: e } = {}) => {
|
|
7812
|
-
const { sendMobileVerifyCodeApi: i } =
|
|
7814
|
+
const { sendMobileVerifyCodeApi: i } = ie();
|
|
7813
7815
|
return te({
|
|
7814
7816
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7815
7817
|
mutationFn: async (a) => i(a),
|
|
7816
7818
|
...e
|
|
7817
7819
|
});
|
|
7818
7820
|
}, mu = ({ options: e, paramsData: i } = {}) => {
|
|
7819
|
-
const { verifyPhoneBarApi: a } =
|
|
7821
|
+
const { verifyPhoneBarApi: a } = La();
|
|
7820
7822
|
return X({
|
|
7821
7823
|
queryKey: ["verifyPhoneBar", i],
|
|
7822
7824
|
queryFn: async () => a(i),
|
|
7823
7825
|
...e
|
|
7824
7826
|
});
|
|
7825
7827
|
}, uu = ({ options: e, paramsData: i } = {}) => {
|
|
7826
|
-
const { verifyDonationCodeApi: a } =
|
|
7828
|
+
const { verifyDonationCodeApi: a } = La();
|
|
7827
7829
|
return X({
|
|
7828
7830
|
queryKey: ["verifyDonationCode", i],
|
|
7829
7831
|
queryFn: async () => a(i),
|
|
7830
7832
|
...e
|
|
7831
7833
|
});
|
|
7832
7834
|
}, pu = ({ options: e } = {}) => {
|
|
7833
|
-
const { createMachineApi: i } =
|
|
7835
|
+
const { createMachineApi: i } = ie();
|
|
7834
7836
|
return te({
|
|
7835
7837
|
mutationKey: ["createMachine"],
|
|
7836
7838
|
mutationFn: async (a) => i({ formData: a }),
|
|
7837
7839
|
...e
|
|
7838
7840
|
});
|
|
7839
7841
|
}, gu = ({ options: e } = {}) => {
|
|
7840
|
-
const { verifyResetActionApi: i } =
|
|
7842
|
+
const { verifyResetActionApi: i } = ie();
|
|
7841
7843
|
return te({
|
|
7842
7844
|
mutationKey: ["verifyResetAction"],
|
|
7843
7845
|
mutationFn: async (a) => i(a),
|
|
7844
7846
|
...e
|
|
7845
7847
|
});
|
|
7846
7848
|
}, du = ({ options: e, bonusData: i } = {}) => {
|
|
7847
|
-
const { getJackpotApi: a } =
|
|
7849
|
+
const { getJackpotApi: a } = ie();
|
|
7848
7850
|
return X({
|
|
7849
7851
|
queryKey: ["getJackpotData"],
|
|
7850
7852
|
queryFn: async () => a(),
|
|
@@ -7863,14 +7865,14 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7863
7865
|
...e
|
|
7864
7866
|
});
|
|
7865
7867
|
}, cu = ({ options: e } = {}) => {
|
|
7866
|
-
const { getBetRankingApi: i } =
|
|
7868
|
+
const { getBetRankingApi: i } = ie();
|
|
7867
7869
|
return X({
|
|
7868
7870
|
queryKey: ["getBetRankingData"],
|
|
7869
7871
|
queryFn: async () => i(),
|
|
7870
7872
|
...e
|
|
7871
7873
|
});
|
|
7872
7874
|
}, fu = ({ options: e } = {}) => {
|
|
7873
|
-
const { getUserAvatarListApi: i } =
|
|
7875
|
+
const { getUserAvatarListApi: i } = ie();
|
|
7874
7876
|
return X({
|
|
7875
7877
|
queryKey: ["getAvatarList"],
|
|
7876
7878
|
queryFn: async () => i(),
|
|
@@ -7880,7 +7882,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7880
7882
|
...e
|
|
7881
7883
|
});
|
|
7882
7884
|
}, _u = ({ options: e } = {}) => {
|
|
7883
|
-
const { updateUserAvatarApi: i } =
|
|
7885
|
+
const { updateUserAvatarApi: i } = ie();
|
|
7884
7886
|
return te({
|
|
7885
7887
|
mutationKey: ["updateAvatar"],
|
|
7886
7888
|
mutationFn: async (a) => i(a),
|
|
@@ -7970,7 +7972,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7970
7972
|
disabledLineAutoRegister: y = !1,
|
|
7971
7973
|
navigate: d = null
|
|
7972
7974
|
}) => {
|
|
7973
|
-
const { store: l, lng: t } = me(), n =
|
|
7975
|
+
const { store: l, lng: t } = me(), n = Ea(), { isReady: o, setAsReady: s, isPending: p, setAsPending: u } = Xn(), f = Je(t), c = re(!1), b = re(i), _ = ee(r, "uid", null), U = ee(r, "cagent_uid", null);
|
|
7974
7976
|
ee(r, "testFunction", 0);
|
|
7975
7977
|
const C = new URLSearchParams(window.location.search), v = ee(
|
|
7976
7978
|
m,
|
|
@@ -8022,7 +8024,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8022
8024
|
return null;
|
|
8023
8025
|
}
|
|
8024
8026
|
}, [x]);
|
|
8025
|
-
|
|
8027
|
+
_e(() => {
|
|
8026
8028
|
const A = setInterval(
|
|
8027
8029
|
() => B("ping"),
|
|
8028
8030
|
ms
|
|
@@ -8043,10 +8045,10 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8043
8045
|
},
|
|
8044
8046
|
[g, l, f]
|
|
8045
8047
|
);
|
|
8046
|
-
|
|
8048
|
+
_e(() => {
|
|
8047
8049
|
b.current = i;
|
|
8048
8050
|
}, [i]);
|
|
8049
|
-
const L =
|
|
8051
|
+
const L = re(null), G = (A) => {
|
|
8050
8052
|
const {
|
|
8051
8053
|
onDeposit: V,
|
|
8052
8054
|
onTransCode: D,
|
|
@@ -8059,25 +8061,25 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8059
8061
|
onLineLogin: z,
|
|
8060
8062
|
onMonthlyCardIssuePoint: q,
|
|
8061
8063
|
onEventClaimable: Q
|
|
8062
|
-
} = b.current,
|
|
8064
|
+
} = b.current, ne = ee(A, "type", ""), Y = {
|
|
8063
8065
|
memberInfoUid: ee(A, "member_info_uid", null),
|
|
8064
8066
|
data: ee(A, "data", null),
|
|
8065
8067
|
memo: ee(A, "memo", null),
|
|
8066
8068
|
amount: ee(A, "amount", null),
|
|
8067
8069
|
limitAmount: ee(A, "limit_amount", null)
|
|
8068
|
-
},
|
|
8069
|
-
switch (
|
|
8070
|
+
}, le = Number(Y.memberInfoUid) === _, de = Y.data, Ne = Y.amount, Te = Y.limitAmount, je = C.get("mac") || di.get("machine_mac_address") || "", ve = ee(A, "data.line_id", null), Le = ee(A, "data.line_name", null), Ye = ee(A, "member_info_uid", null);
|
|
8071
|
+
switch (ne) {
|
|
8070
8072
|
case Ue.DEPOSIT:
|
|
8071
|
-
|
|
8073
|
+
le && (N(), V?.(Y));
|
|
8072
8074
|
break;
|
|
8073
8075
|
case Ue.TRANS_CODE:
|
|
8074
8076
|
D?.(Y);
|
|
8075
8077
|
break;
|
|
8076
8078
|
case Ue.ERROR:
|
|
8077
|
-
if (
|
|
8078
|
-
const
|
|
8079
|
-
M(
|
|
8080
|
-
notificationType:
|
|
8079
|
+
if (le) {
|
|
8080
|
+
const ce = ee(A, "open_game_modal", 0) === 1;
|
|
8081
|
+
M(de, {
|
|
8082
|
+
notificationType: ce ? "gamingNotice" : void 0
|
|
8081
8083
|
}), E?.(Y);
|
|
8082
8084
|
}
|
|
8083
8085
|
break;
|
|
@@ -8087,18 +8089,18 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8087
8089
|
}), w?.(Y));
|
|
8088
8090
|
break;
|
|
8089
8091
|
case Ue.MAINTAIN_NOTICE:
|
|
8090
|
-
M(
|
|
8092
|
+
M(de, {
|
|
8091
8093
|
notificationType: "maintainNotice"
|
|
8092
8094
|
}), P?.(Y);
|
|
8093
8095
|
break;
|
|
8094
8096
|
case Ue.MAINTAIN_NOTICE_MEMBER: {
|
|
8095
|
-
const
|
|
8096
|
-
if (
|
|
8097
|
-
String(U) === String(
|
|
8097
|
+
const ce = Y.data?.cagent_uid ?? null;
|
|
8098
|
+
if (ce != null) {
|
|
8099
|
+
String(U) === String(ce) && (M(Y.data?.msg, { rawMessage: !0 }), j?.(Y), setTimeout(() => {
|
|
8098
8100
|
d?.("/");
|
|
8099
8101
|
}, 5e3));
|
|
8100
8102
|
return;
|
|
8101
|
-
} else if (
|
|
8103
|
+
} else if (le) {
|
|
8102
8104
|
const ye = l.getState()?.game?.currentGameData?.gameUid ?? null, xe = Y.data?.game_id;
|
|
8103
8105
|
if (xe != null) {
|
|
8104
8106
|
Array.isArray(xe) && xe.some((Ie) => String(Ie) === String(ye)) && (M(Y.data?.msg, { rawMessage: !0 }), j?.(Y), setTimeout(() => {
|
|
@@ -8106,7 +8108,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8106
8108
|
}, 5e3));
|
|
8107
8109
|
return;
|
|
8108
8110
|
}
|
|
8109
|
-
M(
|
|
8111
|
+
M(de), j?.(Y), setTimeout(() => {
|
|
8110
8112
|
window.location.reload();
|
|
8111
8113
|
}, 5e4);
|
|
8112
8114
|
}
|
|
@@ -8117,14 +8119,14 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8117
8119
|
break;
|
|
8118
8120
|
case Ue.TRANSFER_IN_GAME:
|
|
8119
8121
|
case Ue.CHECK_REQUEST:
|
|
8120
|
-
if (
|
|
8121
|
-
const { request_id:
|
|
8122
|
+
if (le && v) {
|
|
8123
|
+
const { request_id: ce, amount: ye, platform: xe, status: Ie } = ee(Y, "data", {}) || {}, Ze = localStorage.getItem(
|
|
8122
8124
|
"transfer_in_game_request_id"
|
|
8123
8125
|
);
|
|
8124
8126
|
if (Ie === "pending") {
|
|
8125
|
-
localStorage.setItem("transfer_in_game_request_id",
|
|
8127
|
+
localStorage.setItem("transfer_in_game_request_id", ce);
|
|
8126
8128
|
return;
|
|
8127
|
-
} else if (Ze && Ze ===
|
|
8129
|
+
} else if (Ze && Ze === ce) {
|
|
8128
8130
|
if (Ie === "rollback") {
|
|
8129
8131
|
N();
|
|
8130
8132
|
return;
|
|
@@ -8142,26 +8144,26 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8142
8144
|
}
|
|
8143
8145
|
break;
|
|
8144
8146
|
case Ue.CASH_REGISTER_LIMIT:
|
|
8145
|
-
M(
|
|
8147
|
+
M(de, {
|
|
8146
8148
|
notificationType: "cashRegisterLimit",
|
|
8147
8149
|
amount: Ne,
|
|
8148
8150
|
limitAmount: Te
|
|
8149
8151
|
}), J?.(Y);
|
|
8150
8152
|
break;
|
|
8151
8153
|
case Ue.UPDATE_ONLY_ONE_MEMBER:
|
|
8152
|
-
|
|
8154
|
+
le && (n.invalidateQueries({
|
|
8153
8155
|
queryKey: ["getMemberInfo"]
|
|
8154
8156
|
}), w?.(Y));
|
|
8155
8157
|
break;
|
|
8156
8158
|
case Ue.GAME_MAINTAIN: {
|
|
8157
|
-
const
|
|
8158
|
-
maintainList:
|
|
8159
|
+
const ce = Y.data, { show: ye } = us({
|
|
8160
|
+
maintainList: ce,
|
|
8159
8161
|
// 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
|
|
8160
8162
|
// 因為不是每隻遊戲都會帶入該設定)
|
|
8161
8163
|
isInGameBox: window.location.pathname.includes("gamebox"),
|
|
8162
8164
|
currentGamePlatform: l.getState()?.game?.currentGameData?.gamePlatform ?? null
|
|
8163
8165
|
});
|
|
8164
|
-
ye && M(
|
|
8166
|
+
ye && M(de, {
|
|
8165
8167
|
notificationType: "gameMaintain"
|
|
8166
8168
|
});
|
|
8167
8169
|
break;
|
|
@@ -8173,10 +8175,10 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8173
8175
|
});
|
|
8174
8176
|
break;
|
|
8175
8177
|
case Ue.UPDATE_EVENT_WALLET:
|
|
8176
|
-
|
|
8178
|
+
le && (n.invalidateQueries({ queryKey: ["getEventWalletList"] }), n.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
|
|
8177
8179
|
return;
|
|
8178
8180
|
case Ue.MONTHLY_CARD_ISSUE_POINT:
|
|
8179
|
-
|
|
8181
|
+
le && (n.invalidateQueries({ queryKey: Di }), q?.(Y));
|
|
8180
8182
|
return;
|
|
8181
8183
|
/**
|
|
8182
8184
|
* event_claimable:活動可領取推播
|
|
@@ -8186,24 +8188,24 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8186
8188
|
* 註:與其他 event/member 推播一致,僅對「當前會員」生效(isForMember)。
|
|
8187
8189
|
*/
|
|
8188
8190
|
case Ue.EVENT_CLAIMABLE:
|
|
8189
|
-
if (
|
|
8191
|
+
if (le) {
|
|
8190
8192
|
n.invalidateQueries({ queryKey: ["checkEventStatus"] });
|
|
8191
|
-
const
|
|
8192
|
-
(Array.isArray(
|
|
8193
|
+
const ce = Y.data?.event_uid;
|
|
8194
|
+
(Array.isArray(ce) ? ce.length > 0 : ce != null) && Q?.(Y);
|
|
8193
8195
|
}
|
|
8194
8196
|
return;
|
|
8195
8197
|
default:
|
|
8196
|
-
console.warn("Unknown socket type:",
|
|
8198
|
+
console.warn("Unknown socket type:", ne);
|
|
8197
8199
|
break;
|
|
8198
8200
|
}
|
|
8199
8201
|
};
|
|
8200
|
-
|
|
8202
|
+
_e(() => {
|
|
8201
8203
|
!R || L.current === R || (L.current = R, G(R));
|
|
8202
|
-
}, [R]),
|
|
8204
|
+
}, [R]), _e(() => () => c.current = !0, []), _e(() => {
|
|
8203
8205
|
localStorage.getItem(
|
|
8204
8206
|
"transfer_in_game_request_id"
|
|
8205
8207
|
) && u();
|
|
8206
|
-
}, [u]),
|
|
8208
|
+
}, [u]), _e(() => {
|
|
8207
8209
|
if (v) {
|
|
8208
8210
|
const A = localStorage.getItem(
|
|
8209
8211
|
"transfer_in_game_request_id"
|
|
@@ -8214,7 +8216,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8214
8216
|
member_info_uid: _
|
|
8215
8217
|
});
|
|
8216
8218
|
}
|
|
8217
|
-
}, [_, p, T, v]),
|
|
8219
|
+
}, [_, p, T, v]), _e(() => {
|
|
8218
8220
|
p ? l.dispatch({
|
|
8219
8221
|
type: "ui/showToast",
|
|
8220
8222
|
payload: {
|
|
@@ -8231,7 +8233,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8231
8233
|
}
|
|
8232
8234
|
});
|
|
8233
8235
|
}, [p, o, l, f]);
|
|
8234
|
-
const W =
|
|
8236
|
+
const W = re(null);
|
|
8235
8237
|
W.current = G;
|
|
8236
8238
|
const H = O((A) => {
|
|
8237
8239
|
W.current?.(A);
|
|
@@ -8244,7 +8246,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8244
8246
|
simulateSocketMessage: H
|
|
8245
8247
|
// 測試用:模擬收到某型別的 WS 訊息
|
|
8246
8248
|
};
|
|
8247
|
-
},
|
|
8249
|
+
}, Za = () => {
|
|
8248
8250
|
const { client: e } = me(), i = O(
|
|
8249
8251
|
async ({ paramsData: d } = {}) => {
|
|
8250
8252
|
const { uid: l } = d || {};
|
|
@@ -8292,7 +8294,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8292
8294
|
memberEventSettleApi: y
|
|
8293
8295
|
};
|
|
8294
8296
|
}, ps = ({ paramsData: e, options: i } = {}) => {
|
|
8295
|
-
const { store: a, lng: r, data2URL: m } = me(), { eventListApi: g } =
|
|
8297
|
+
const { store: a, lng: r, data2URL: m } = me(), { eventListApi: g } = Za(), y = a?.getState()?.isWalletCurrency || a?.getState()?.currency?.currentCurrency || "TWD", d = Je(r);
|
|
8296
8298
|
return X({
|
|
8297
8299
|
queryKey: ["eventList", e],
|
|
8298
8300
|
queryFn: () => g({ paramsData: e }),
|
|
@@ -8430,21 +8432,21 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8430
8432
|
...i
|
|
8431
8433
|
});
|
|
8432
8434
|
}, Uu = ({ options: e } = {}) => {
|
|
8433
|
-
const { redeemEventRewardApi: i } =
|
|
8435
|
+
const { redeemEventRewardApi: i } = Za();
|
|
8434
8436
|
return te({
|
|
8435
8437
|
mutationKey: ["redeemEventReward"],
|
|
8436
8438
|
mutationFn: async (a) => i(a),
|
|
8437
8439
|
...e
|
|
8438
8440
|
});
|
|
8439
8441
|
}, gs = ({ options: e, formData: i } = {}) => {
|
|
8440
|
-
const { checkCurrentEventProgessApi: a } =
|
|
8442
|
+
const { checkCurrentEventProgessApi: a } = Za();
|
|
8441
8443
|
return X({
|
|
8442
8444
|
queryKey: ["checkEventProgress"],
|
|
8443
8445
|
queryFn: async () => a(i),
|
|
8444
8446
|
...e
|
|
8445
8447
|
});
|
|
8446
8448
|
}, ds = ({ options: e, formData: i } = {}) => {
|
|
8447
|
-
const { checkEventStatusApi: a } =
|
|
8449
|
+
const { checkEventStatusApi: a } = Za();
|
|
8448
8450
|
return X({
|
|
8449
8451
|
queryKey: ["checkEventStatus"],
|
|
8450
8452
|
queryFn: async () => a(i),
|
|
@@ -8452,14 +8454,14 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8452
8454
|
...e
|
|
8453
8455
|
});
|
|
8454
8456
|
}, Cu = ({ options: e } = {}) => {
|
|
8455
|
-
const { settleEventApi: i } =
|
|
8457
|
+
const { settleEventApi: i } = Za();
|
|
8456
8458
|
return te({
|
|
8457
8459
|
mutationKey: ["settleEvent"],
|
|
8458
8460
|
mutationFn: async (a) => i(a),
|
|
8459
8461
|
...e
|
|
8460
8462
|
});
|
|
8461
8463
|
}, vu = ({ options: e } = {}) => {
|
|
8462
|
-
const { memberEventSettleApi: i } =
|
|
8464
|
+
const { memberEventSettleApi: i } = Za();
|
|
8463
8465
|
return te({
|
|
8464
8466
|
mutationKey: ["memberEventSettle"],
|
|
8465
8467
|
mutationFn: async (a) => i(a),
|
|
@@ -8557,7 +8559,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8557
8559
|
}
|
|
8558
8560
|
});
|
|
8559
8561
|
}, ku = () => {
|
|
8560
|
-
const e =
|
|
8562
|
+
const e = Ea(), { enabledEventWalletApi: i } = rt();
|
|
8561
8563
|
return te({
|
|
8562
8564
|
mutationKey: ["enabledEventWallet"],
|
|
8563
8565
|
mutationFn: async ({ eventUids: a }) => await i({ eventUids: a }),
|
|
@@ -8582,7 +8584,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8582
8584
|
...i
|
|
8583
8585
|
});
|
|
8584
8586
|
}, Su = () => {
|
|
8585
|
-
const e =
|
|
8587
|
+
const e = Ea(), { settleEventWalletApi: i } = rt();
|
|
8586
8588
|
return te({
|
|
8587
8589
|
mutationKey: ["settleEventWallet"],
|
|
8588
8590
|
mutationFn: async ({ groupUid: a }) => await i({ groupUid: a }),
|
|
@@ -8591,7 +8593,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8591
8593
|
}
|
|
8592
8594
|
});
|
|
8593
8595
|
}, Eu = () => {
|
|
8594
|
-
const e =
|
|
8596
|
+
const e = Ea(), { abandonEventWalletApi: i } = rt();
|
|
8595
8597
|
return te({
|
|
8596
8598
|
mutationKey: ["abandonEventWallet"],
|
|
8597
8599
|
mutationFn: async ({ groupUid: a }) => await i({ groupUid: a }),
|
|
@@ -8600,7 +8602,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8600
8602
|
}
|
|
8601
8603
|
});
|
|
8602
8604
|
}, Du = ({ options: e } = {}) => {
|
|
8603
|
-
const { lng: i } = me(), { announcementApi: a } =
|
|
8605
|
+
const { lng: i } = me(), { announcementApi: a } = La(), r = Je(i);
|
|
8604
8606
|
return X({
|
|
8605
8607
|
queryKey: ["getAnnouncement"],
|
|
8606
8608
|
queryFn: async () => await a(),
|
|
@@ -8617,7 +8619,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8617
8619
|
...e
|
|
8618
8620
|
});
|
|
8619
8621
|
}, Nu = ({ skipPreload: e = !1 } = {}) => {
|
|
8620
|
-
const { lng: i, data2URL: a } = me(), { commonCarouselApi: r } =
|
|
8622
|
+
const { lng: i, data2URL: a } = me(), { commonCarouselApi: r } = La(), m = Je(i);
|
|
8621
8623
|
return X({
|
|
8622
8624
|
queryKey: ["getCarouselList", e],
|
|
8623
8625
|
queryFn: async () => {
|
|
@@ -8645,7 +8647,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8645
8647
|
})
|
|
8646
8648
|
});
|
|
8647
8649
|
}, Lu = () => {
|
|
8648
|
-
const { lng: e, getToken: i } = me(), a = i?.(), { commonMarqueeApi: r } =
|
|
8650
|
+
const { lng: e, getToken: i } = me(), a = i?.(), { commonMarqueeApi: r } = La(), m = Je(e);
|
|
8649
8651
|
return X({
|
|
8650
8652
|
queryKey: ["getMarqueeList", a],
|
|
8651
8653
|
queryFn: async () => {
|
|
@@ -8661,7 +8663,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8661
8663
|
}
|
|
8662
8664
|
});
|
|
8663
8665
|
}, Gu = ({ options: e } = {}) => {
|
|
8664
|
-
const { rankingGameApi: i } =
|
|
8666
|
+
const { rankingGameApi: i } = ie();
|
|
8665
8667
|
return X({
|
|
8666
8668
|
queryKey: ["rankingGame"],
|
|
8667
8669
|
queryFn: async () => i(),
|
|
@@ -8739,12 +8741,12 @@ var ga = (typeof window > "u" ? "undefined" : typeof window) == "object", na = {
|
|
|
8739
8741
|
function Ts(e) {
|
|
8740
8742
|
na.setTimeout = e.setTimeout, na.clearTimeout = e.clearTimeout, na.setInterval = e.setInterval, na.clearInterval = e.clearInterval;
|
|
8741
8743
|
}
|
|
8742
|
-
var
|
|
8744
|
+
var Oa = {}, ks = class {
|
|
8743
8745
|
name;
|
|
8744
8746
|
closed = !1;
|
|
8745
8747
|
mc = new MessageChannel();
|
|
8746
8748
|
constructor(e) {
|
|
8747
|
-
this.name = e,
|
|
8749
|
+
this.name = e, Oa[e] = Oa[e] || [], Oa[e].push(this), this.mc.port1.start(), this.mc.port2.start(), this.onStorage = this.onStorage.bind(this), window.addEventListener("storage", this.onStorage);
|
|
8748
8750
|
}
|
|
8749
8751
|
onStorage(e) {
|
|
8750
8752
|
if (e.storageArea !== window.localStorage || e.key.substring(0, this.name.length) !== this.name || e.newValue === null) return;
|
|
@@ -8756,15 +8758,15 @@ var Ba = {}, ks = class {
|
|
|
8756
8758
|
let i = JSON.stringify(e), a = `${this.name}:${String(Date.now())}${String(Math.random())}`;
|
|
8757
8759
|
window.localStorage.setItem(a, i), na.setTimeout(() => {
|
|
8758
8760
|
window.localStorage.removeItem(a);
|
|
8759
|
-
}, 500),
|
|
8761
|
+
}, 500), Oa[this.name].forEach((r) => {
|
|
8760
8762
|
r !== this && r.mc.port2.postMessage(JSON.parse(i));
|
|
8761
8763
|
});
|
|
8762
8764
|
}
|
|
8763
8765
|
close() {
|
|
8764
8766
|
if (this.closed) return;
|
|
8765
8767
|
this.closed = !0, this.mc.port1.close(), this.mc.port2.close(), window.removeEventListener("storage", this.onStorage);
|
|
8766
|
-
let e =
|
|
8767
|
-
|
|
8768
|
+
let e = Oa[this.name].indexOf(this);
|
|
8769
|
+
Oa[this.name].splice(e, 1);
|
|
8768
8770
|
}
|
|
8769
8771
|
get onmessage() {
|
|
8770
8772
|
return this.mc.port1.onmessage;
|
|
@@ -8995,7 +8997,7 @@ function ui(e, i) {
|
|
|
8995
8997
|
if (!(m - a < i)) return a = m, e(...r);
|
|
8996
8998
|
};
|
|
8997
8999
|
}
|
|
8998
|
-
var Ee = () => Date.now(),
|
|
9000
|
+
var Ee = () => Date.now(), Ba = 2147483647;
|
|
8999
9001
|
function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle: a = 0, element: r = Ns, events: m = Ls, timers: g = void 0, immediateEvents: y = [], onPresenceChange: d = () => {
|
|
9000
9002
|
}, onPrompt: l = () => {
|
|
9001
9003
|
}, onIdle: t = () => {
|
|
@@ -9003,55 +9005,55 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
|
|
|
9003
9005
|
}, onAction: o = () => {
|
|
9004
9006
|
}, onMessage: s = () => {
|
|
9005
9007
|
}, debounce: p = 0, throttle: u = 0, eventsThrottle: f = 200, startOnMount: c = !0, startManually: b = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: h = !1, disabled: S = !1 } = {}) {
|
|
9006
|
-
let N =
|
|
9007
|
-
|
|
9008
|
+
let N = re(Ee()), B = re(Ee()), T = re(null), x = re(null), F = re(0), R = re(0), M = re(0), L = re(0), G = re(!1), W = re(!1), H = re(!1), A = re(!0), V = re(!1), D = re(null), E = re(null), w = re(e), P = re(0);
|
|
9009
|
+
_e(() => {
|
|
9008
9010
|
if (i && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), a && i) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
9009
|
-
if (e >=
|
|
9010
|
-
if (i >=
|
|
9011
|
-
if (a >=
|
|
9011
|
+
if (e >= Ba) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Ba}.`);
|
|
9012
|
+
if (i >= Ba) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Ba}.`);
|
|
9013
|
+
if (a >= Ba) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${Ba}.`);
|
|
9012
9014
|
if (a >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
9013
9015
|
if (a ? (w.current = e - a, P.current = a) : (w.current = e, P.current = i), !A.current) {
|
|
9014
9016
|
if (b || S) return;
|
|
9015
|
-
G.current && (
|
|
9017
|
+
G.current && (le.current(null, Me), E.current && E.current.active()), ta();
|
|
9016
9018
|
}
|
|
9017
9019
|
}, [e, i, a, b, S]);
|
|
9018
|
-
let j =
|
|
9019
|
-
|
|
9020
|
+
let j = re(_);
|
|
9021
|
+
_e(() => {
|
|
9020
9022
|
j.current = _;
|
|
9021
9023
|
}, [_]);
|
|
9022
|
-
let I =
|
|
9023
|
-
|
|
9024
|
+
let I = re(y), J = re(r), z = re([...(/* @__PURE__ */ new Set([...m, ...y])).values()]), q = re(S);
|
|
9025
|
+
_e(() => {
|
|
9024
9026
|
q.current = S, !A.current && (S ? Ke() : b || ta());
|
|
9025
9027
|
}, [S]);
|
|
9026
|
-
let Q =
|
|
9027
|
-
|
|
9028
|
+
let Q = re(d);
|
|
9029
|
+
_e(() => {
|
|
9028
9030
|
Q.current = d;
|
|
9029
9031
|
}, [d]);
|
|
9030
|
-
let
|
|
9031
|
-
|
|
9032
|
-
|
|
9032
|
+
let ne = re(l);
|
|
9033
|
+
_e(() => {
|
|
9034
|
+
ne.current = l;
|
|
9033
9035
|
}, [l]);
|
|
9034
|
-
let Y =
|
|
9035
|
-
|
|
9036
|
+
let Y = re(t);
|
|
9037
|
+
_e(() => {
|
|
9036
9038
|
Y.current = t;
|
|
9037
9039
|
}, [t]);
|
|
9038
|
-
let
|
|
9039
|
-
|
|
9040
|
-
|
|
9040
|
+
let le = re(n);
|
|
9041
|
+
_e(() => {
|
|
9042
|
+
le.current = n;
|
|
9041
9043
|
}, [n]);
|
|
9042
|
-
let
|
|
9043
|
-
|
|
9044
|
-
|
|
9044
|
+
let de = re(o);
|
|
9045
|
+
_e(() => {
|
|
9046
|
+
de.current = o;
|
|
9045
9047
|
}, [o]);
|
|
9046
|
-
let Ne =
|
|
9047
|
-
|
|
9048
|
+
let Ne = re(s);
|
|
9049
|
+
_e(() => {
|
|
9048
9050
|
Ne.current = s;
|
|
9049
9051
|
}, [s]);
|
|
9050
9052
|
let Te = Ia(() => {
|
|
9051
|
-
let K = (Re, ra) =>
|
|
9053
|
+
let K = (Re, ra) => de.current(Re, ra);
|
|
9052
9054
|
return p > 0 ? Gs(K, p) : u > 0 ? ui(K, u) : K;
|
|
9053
|
-
}, [u, p]), je =
|
|
9054
|
-
|
|
9055
|
+
}, [u, p]), je = re();
|
|
9056
|
+
_e(() => {
|
|
9055
9057
|
U && v && (je.current = ui(() => {
|
|
9056
9058
|
E.current.active();
|
|
9057
9059
|
}, v));
|
|
@@ -9061,11 +9063,11 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
|
|
|
9061
9063
|
}, Le = (K, Re = !0) => {
|
|
9062
9064
|
ve(), D.current = na.setTimeout(xe, K || w.current), Re && (x.current = Ee());
|
|
9063
9065
|
}, Ye = (K) => {
|
|
9064
|
-
!W.current && !G.current && (
|
|
9065
|
-
},
|
|
9066
|
+
!W.current && !G.current && (ne.current(K, Me), Q.current({ type: "active", prompted: !0 }, Me)), L.current = 0, M.current = Ee(), W.current = !0, Le(P.current, !1);
|
|
9067
|
+
}, ce = () => {
|
|
9066
9068
|
ve(), G.current || (Y.current(null, Me), Q.current({ type: "idle" }, Me)), G.current = !0, T.current = Ee(), j.current ? Be() : W.current && (M.current = 0, W.current = !1);
|
|
9067
9069
|
}, ye = (K) => {
|
|
9068
|
-
ve(), (G.current || W.current) && (
|
|
9070
|
+
ve(), (G.current || W.current) && (le.current(K, Me), Q.current({ type: "active", prompted: !1 }, Me)), W.current = !1, M.current = 0, G.current = !1, F.current += Ee() - T.current, R.current += Ee() - T.current, Ge(), Le();
|
|
9069
9071
|
}, xe = (K) => {
|
|
9070
9072
|
if (!G.current) {
|
|
9071
9073
|
Te.cancel && Te.cancel();
|
|
@@ -9074,12 +9076,12 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
|
|
|
9074
9076
|
E.current ? E.current.prompt() : Ye(K);
|
|
9075
9077
|
return;
|
|
9076
9078
|
}
|
|
9077
|
-
E.current ? E.current.idle() :
|
|
9079
|
+
E.current ? E.current.idle() : ce();
|
|
9078
9080
|
return;
|
|
9079
9081
|
}
|
|
9080
9082
|
E.current ? E.current.active() : ye(K);
|
|
9081
9083
|
}, Ie = (K) => {
|
|
9082
|
-
if (!c && !x.current && (x.current = Ee(),
|
|
9084
|
+
if (!c && !x.current && (x.current = Ee(), le.current(null, Me)), Te(K, Me), W.current) return;
|
|
9083
9085
|
if (ve(), !G.current && I.current.includes(K.type)) {
|
|
9084
9086
|
xe(K);
|
|
9085
9087
|
return;
|
|
@@ -9090,11 +9092,11 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
|
|
|
9090
9092
|
return;
|
|
9091
9093
|
}
|
|
9092
9094
|
H.current = !1, L.current = 0, M.current = 0, Le(), U && v && je.current();
|
|
9093
|
-
}, Ze =
|
|
9094
|
-
|
|
9095
|
+
}, Ze = re(Ie);
|
|
9096
|
+
_e(() => {
|
|
9095
9097
|
let K = V.current;
|
|
9096
9098
|
K && Be(), f > 0 ? Ze.current = ui(Ie, f) : Ze.current = Ie, K && Ge();
|
|
9097
|
-
}, [f, u, p,
|
|
9099
|
+
}, [f, u, p, de, U, v]);
|
|
9098
9100
|
let Ge = () => {
|
|
9099
9101
|
ga && J.current && (V.current || (z.current.forEach((K) => {
|
|
9100
9102
|
J.current.addEventListener(K, Ze.current, { capture: !0, passive: !0 });
|
|
@@ -9103,18 +9105,18 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
|
|
|
9103
9105
|
ga && J.current && (V.current || K) && (z.current.forEach((Re) => {
|
|
9104
9106
|
J.current.removeEventListener(Re, Ze.current, { capture: !0 });
|
|
9105
9107
|
}), V.current = !1);
|
|
9106
|
-
}, ta = O((K) => q.current ? !1 : (ve(), Ge(), G.current = !1, W.current = !1, H.current = !1, L.current = 0, M.current = 0, E.current && !K && E.current.start(), Le(), !0), [D, G, q, w, E]), sa = O((K) => q.current ? !1 : (ve(), Ge(), B.current = Ee(), F.current += Ee() - T.current, R.current += Ee() - T.current, F.current = 0, G.current = !1, W.current = !1, H.current = !1, L.current = 0, M.current = 0, E.current && !K && E.current.reset(), b || Le(), !0), [D, G, w, b, q, E]), ca = O((K) => q.current ? !1 : (ve(), Ge(), (G.current || W.current) && ye(), G.current = !1, W.current = !1, H.current = !1, L.current = 0, M.current = 0, B.current = Ee(), E.current && !K && E.current.activate(), Le(), !0), [D, G, W, q, w, E]), Ke = O((K = !1) => q.current || H.current ? !1 : (L.current = Ca(), H.current = !0, Be(), ve(), E.current && !K && E.current.pause(), !0), [D, q, E]), ia = O((K = !1) => q.current || !H.current ? !1 : (H.current = !1, W.current || Ge(), G.current || Le(L.current), M.current && (M.current = Ee()), E.current && !K && E.current.resume(), !0), [D, w, q, L, E]),
|
|
9108
|
+
}, ta = O((K) => q.current ? !1 : (ve(), Ge(), G.current = !1, W.current = !1, H.current = !1, L.current = 0, M.current = 0, E.current && !K && E.current.start(), Le(), !0), [D, G, q, w, E]), sa = O((K) => q.current ? !1 : (ve(), Ge(), B.current = Ee(), F.current += Ee() - T.current, R.current += Ee() - T.current, F.current = 0, G.current = !1, W.current = !1, H.current = !1, L.current = 0, M.current = 0, E.current && !K && E.current.reset(), b || Le(), !0), [D, G, w, b, q, E]), ca = O((K) => q.current ? !1 : (ve(), Ge(), (G.current || W.current) && ye(), G.current = !1, W.current = !1, H.current = !1, L.current = 0, M.current = 0, B.current = Ee(), E.current && !K && E.current.activate(), Le(), !0), [D, G, W, q, w, E]), Ke = O((K = !1) => q.current || H.current ? !1 : (L.current = Ca(), H.current = !0, Be(), ve(), E.current && !K && E.current.pause(), !0), [D, q, E]), ia = O((K = !1) => q.current || !H.current ? !1 : (H.current = !1, W.current || Ge(), G.current || Le(L.current), M.current && (M.current = Ee()), E.current && !K && E.current.resume(), !0), [D, w, q, L, E]), qa = O((K, Re) => (E.current ? (Re && Ne.current(K, Me), E.current.message(K)) : Re && Ne.current(K, Me), !0), [s]), Ga = O(() => G.current, [G]), Ma = O(() => W.current, [W]), $a = O(() => E.current ? E.current.isLeader : null, [E]), Qa = O(() => E.current ? E.current.isLastActive : null, [E]), fa = O(() => E.current ? E.current.token : null, [E]), Ca = O(() => {
|
|
9107
9109
|
if (H.current) return L.current;
|
|
9108
9110
|
let K = L.current ? L.current : P.current + w.current, Re = x.current ? Ee() - x.current : 0, ra = Math.floor(K - Re);
|
|
9109
9111
|
return ra < 0 ? 0 : Math.abs(ra);
|
|
9110
|
-
}, [w, P, W, L, x]), Xe = O(() => Math.round(Ee() - B.current), [B]), _a = O(() => Math.round(Ee() - N.current), [N]), ya = O(() => T.current ? new Date(T.current) : null, [T]),
|
|
9111
|
-
let K = Math.round(Xe() -
|
|
9112
|
+
}, [w, P, W, L, x]), Xe = O(() => Math.round(Ee() - B.current), [B]), _a = O(() => Math.round(Ee() - N.current), [N]), ya = O(() => T.current ? new Date(T.current) : null, [T]), Ra = O(() => x.current ? new Date(x.current) : null, [x]), Pa = O(() => G.current ? Math.round(Ee() - T.current + F.current) : Math.round(F.current), [T, F]), va = O(() => G.current ? Math.round(Ee() - T.current + R.current) : Math.round(R.current), [T, R]), wa = O(() => {
|
|
9113
|
+
let K = Math.round(Xe() - Pa());
|
|
9112
9114
|
return K >= 0 ? K : 0;
|
|
9113
|
-
}, [T, F]),
|
|
9115
|
+
}, [T, F]), Fa = O(() => {
|
|
9114
9116
|
let K = Math.round(_a() - va());
|
|
9115
9117
|
return K >= 0 ? K : 0;
|
|
9116
9118
|
}, [T, F]);
|
|
9117
|
-
|
|
9119
|
+
_e(() => {
|
|
9118
9120
|
if (p > 0 && u > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
9119
9121
|
g && Ts(g);
|
|
9120
9122
|
let K = () => {
|
|
@@ -9123,37 +9125,37 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
|
|
|
9123
9125
|
return ga && window.addEventListener("beforeunload", K), () => {
|
|
9124
9126
|
ga && window.removeEventListener("beforeunload", K), E.current && E.current.close(), Te.cancel && Te.cancel(), ve(), Be(!0);
|
|
9125
9127
|
};
|
|
9126
|
-
}, []),
|
|
9128
|
+
}, []), _e(() => {
|
|
9127
9129
|
E.current && E.current.close(), U ? E.current = new Ds({ channelName: C, leaderElection: h, onPrompt: () => {
|
|
9128
9130
|
Ye();
|
|
9129
9131
|
}, onIdle: () => {
|
|
9130
|
-
|
|
9132
|
+
ce();
|
|
9131
9133
|
}, onActive: () => {
|
|
9132
9134
|
ye();
|
|
9133
9135
|
}, onMessage: (K) => {
|
|
9134
9136
|
Ne.current(K, Me);
|
|
9135
9137
|
}, start: ta, reset: sa, activate: ca, pause: Ke, resume: ia }) : E.current = null;
|
|
9136
|
-
}, [U, C, h,
|
|
9138
|
+
}, [U, C, h, ne, Y, le, Ne, ta, sa, Ke, ia]), _e(() => {
|
|
9137
9139
|
A.current || (ve(), Be(!0)), !(b || S) && (c ? ta() : Ge());
|
|
9138
|
-
}, [b, c, S, A]),
|
|
9140
|
+
}, [b, c, S, A]), _e(() => {
|
|
9139
9141
|
if (!A.current) {
|
|
9140
9142
|
let K = [...(/* @__PURE__ */ new Set([...m, ...y])).values()];
|
|
9141
9143
|
if (Be(), z.current = K, J.current = r, I.current = y, b || S) return;
|
|
9142
9144
|
c ? ta() : Ge();
|
|
9143
9145
|
}
|
|
9144
|
-
}, [r, JSON.stringify(m), JSON.stringify(y), A, S, b, c]),
|
|
9146
|
+
}, [r, JSON.stringify(m), JSON.stringify(y), A, S, b, c]), _e(() => {
|
|
9145
9147
|
A.current && (A.current = !1);
|
|
9146
9148
|
}, [A]);
|
|
9147
|
-
let Me = { message:
|
|
9149
|
+
let Me = { message: qa, start: ta, reset: sa, activate: ca, pause: Ke, resume: ia, isIdle: Ga, isPrompted: Ma, isLeader: $a, isLastActiveTab: Qa, getTabId: fa, getRemainingTime: Ca, getElapsedTime: Xe, getTotalElapsedTime: _a, getLastIdleTime: ya, getLastActiveTime: Ra, getIdleTime: Pa, getTotalIdleTime: va, getActiveTime: wa, getTotalActiveTime: Fa, setOnPresenceChange: (K) => {
|
|
9148
9150
|
d = K, Q.current = K;
|
|
9149
9151
|
}, setOnPrompt: (K) => {
|
|
9150
|
-
l = K,
|
|
9152
|
+
l = K, ne.current = K;
|
|
9151
9153
|
}, setOnIdle: (K) => {
|
|
9152
9154
|
t = K, Y.current = K;
|
|
9153
9155
|
}, setOnActive: (K) => {
|
|
9154
|
-
n = K,
|
|
9156
|
+
n = K, le.current = K;
|
|
9155
9157
|
}, setOnAction: (K) => {
|
|
9156
|
-
o = K,
|
|
9158
|
+
o = K, de.current = K;
|
|
9157
9159
|
}, setOnMessage: (K) => {
|
|
9158
9160
|
s = K, Ne.current = K;
|
|
9159
9161
|
} };
|
|
@@ -9168,7 +9170,7 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
9168
9170
|
timeout: r,
|
|
9169
9171
|
throttle: 500
|
|
9170
9172
|
}), Ps = ({ options: e } = {}) => {
|
|
9171
|
-
const { commonInboxApi: i } =
|
|
9173
|
+
const { commonInboxApi: i } = La(), { getToken: a, lng: r } = me(), m = a?.(), g = Je(r);
|
|
9172
9174
|
return X({
|
|
9173
9175
|
queryKey: ["inboxList"],
|
|
9174
9176
|
queryFn: async () => await i(),
|
|
@@ -9189,7 +9191,7 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
9189
9191
|
...e
|
|
9190
9192
|
});
|
|
9191
9193
|
}, ws = ({ options: e } = {}) => {
|
|
9192
|
-
const { commonReadInboxApi: i } =
|
|
9194
|
+
const { commonReadInboxApi: i } = La();
|
|
9193
9195
|
return te({
|
|
9194
9196
|
mutationKey: ["readInbox"],
|
|
9195
9197
|
mutationFn: async (a) => await i(a),
|
|
@@ -9350,7 +9352,7 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
9350
9352
|
withdrawal_amount: b,
|
|
9351
9353
|
bank_account_number: _,
|
|
9352
9354
|
currency_code: U,
|
|
9353
|
-
withdrawal_code:
|
|
9355
|
+
withdrawal_code: Va.MD5(C).toString(),
|
|
9354
9356
|
payment_type: "ThirdParty"
|
|
9355
9357
|
}
|
|
9356
9358
|
});
|
|
@@ -9679,19 +9681,19 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
9679
9681
|
eventTransaction: u,
|
|
9680
9682
|
withdrawTransaction: f
|
|
9681
9683
|
};
|
|
9682
|
-
}, _r = "3.8.0", Js = _r,
|
|
9684
|
+
}, _r = "3.8.0", Js = _r, Ka = typeof Buffer == "function", An = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, On = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Zs = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", nt = Array.prototype.slice.call(Zs), pt = ((e) => {
|
|
9683
9685
|
let i = {};
|
|
9684
9686
|
return e.forEach((a, r) => i[a] = r), i;
|
|
9685
|
-
})(
|
|
9687
|
+
})(nt), Ks = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Oe = String.fromCharCode.bind(String), Bn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), yr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (i) => i == "+" ? "-" : "_"), br = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Ur = (e) => {
|
|
9686
9688
|
let i, a, r, m, g = "";
|
|
9687
9689
|
const y = e.length % 3;
|
|
9688
9690
|
for (let d = 0; d < e.length; ) {
|
|
9689
9691
|
if ((a = e.charCodeAt(d++)) > 255 || (r = e.charCodeAt(d++)) > 255 || (m = e.charCodeAt(d++)) > 255)
|
|
9690
9692
|
throw new TypeError("invalid character found");
|
|
9691
|
-
i = a << 16 | r << 8 | m, g +=
|
|
9693
|
+
i = a << 16 | r << 8 | m, g += nt[i >> 18 & 63] + nt[i >> 12 & 63] + nt[i >> 6 & 63] + nt[i & 63];
|
|
9692
9694
|
}
|
|
9693
9695
|
return y ? g.slice(0, y - 3) + "===".substring(y) : g;
|
|
9694
|
-
}, Ni = typeof btoa == "function" ? (e) => btoa(e) :
|
|
9696
|
+
}, Ni = typeof btoa == "function" ? (e) => btoa(e) : Ka ? (e) => Buffer.from(e, "binary").toString("base64") : Ur, ci = Ka ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
9695
9697
|
let a = [];
|
|
9696
9698
|
for (let r = 0, m = e.length; r < m; r += 4096)
|
|
9697
9699
|
a.push(Oe.apply(null, e.subarray(r, r + 4096)));
|
|
@@ -9704,7 +9706,7 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
9704
9706
|
var i = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
9705
9707
|
return Oe(240 | i >>> 18 & 7) + Oe(128 | i >>> 12 & 63) + Oe(128 | i >>> 6 & 63) + Oe(128 | i & 63);
|
|
9706
9708
|
}
|
|
9707
|
-
}, $s = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Cr = (e) => e.replace($s, qs), Hn =
|
|
9709
|
+
}, $s = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Cr = (e) => e.replace($s, qs), Hn = Ka ? (e) => Buffer.from(e, "utf8").toString("base64") : On ? (e) => ci(On.encode(e)) : (e) => Ni(Cr(e)), Ja = (e, i = !1) => i ? yr(Hn(e)) : Hn(e), Wn = (e) => Ja(e, !0), Qs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, js = (e) => {
|
|
9708
9710
|
switch (e.length) {
|
|
9709
9711
|
case 4:
|
|
9710
9712
|
var i = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), a = i - 65536;
|
|
@@ -9722,7 +9724,7 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
9722
9724
|
for (let g = 0; g < e.length; )
|
|
9723
9725
|
i = pt[e.charAt(g++)] << 18 | pt[e.charAt(g++)] << 12 | (a = pt[e.charAt(g++)]) << 6 | (r = pt[e.charAt(g++)]), a === 64 ? m.push(Oe(i >> 16 & 255)) : r === 64 ? m.push(Oe(i >> 16 & 255, i >> 8 & 255)) : m.push(Oe(i >> 16 & 255, i >> 8 & 255, i & 255));
|
|
9724
9726
|
return m.join("");
|
|
9725
|
-
}, Li = typeof atob == "function" ? (e) => atob(br(e)) :
|
|
9727
|
+
}, Li = typeof atob == "function" ? (e) => atob(br(e)) : Ka ? (e) => Buffer.from(e, "base64").toString("binary") : hr, Tr = Ka ? (e) => Bn(Buffer.from(e, "base64")) : (e) => Bn(Li(e).split("").map((i) => i.charCodeAt(0))), kr = (e) => Tr(xr(e)), Ys = Ka ? (e) => Buffer.from(e, "base64").toString("utf8") : An ? (e) => An.decode(Tr(e)) : (e) => vr(Li(e)), xr = (e) => br(e.replace(/[-_]/g, (i) => i == "-" ? "+" : "/")), fi = (e) => Ys(xr(e)), Xs = (e) => {
|
|
9726
9728
|
if (typeof e != "string")
|
|
9727
9729
|
return !1;
|
|
9728
9730
|
const i = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
|
|
@@ -9737,11 +9739,11 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
9737
9739
|
e("fromBase64", function() {
|
|
9738
9740
|
return fi(this);
|
|
9739
9741
|
}), e("toBase64", function(i) {
|
|
9740
|
-
return
|
|
9742
|
+
return Ja(this, i);
|
|
9741
9743
|
}), e("toBase64URI", function() {
|
|
9742
|
-
return
|
|
9744
|
+
return Ja(this, !0);
|
|
9743
9745
|
}), e("toBase64URL", function() {
|
|
9744
|
-
return
|
|
9746
|
+
return Ja(this, !0);
|
|
9745
9747
|
}), e("toUint8Array", function() {
|
|
9746
9748
|
return kr(this);
|
|
9747
9749
|
});
|
|
@@ -9764,8 +9766,8 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
9764
9766
|
btoa: Ni,
|
|
9765
9767
|
btoaPolyfill: Ur,
|
|
9766
9768
|
fromBase64: fi,
|
|
9767
|
-
toBase64:
|
|
9768
|
-
encode:
|
|
9769
|
+
toBase64: Ja,
|
|
9770
|
+
encode: Ja,
|
|
9769
9771
|
encodeURI: Wn,
|
|
9770
9772
|
encodeURL: Wn,
|
|
9771
9773
|
utob: Cr,
|
|
@@ -10107,13 +10109,13 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
10107
10109
|
}) => ({
|
|
10108
10110
|
vipList: mm({ options: e.vipList })
|
|
10109
10111
|
}), e0 = ({ onMessage: e } = {}) => {
|
|
10110
|
-
const [i, a] = da(!1), [r, m] = da([]), g =
|
|
10112
|
+
const [i, a] = da(!1), [r, m] = da([]), g = re(e);
|
|
10111
10113
|
g.current = e;
|
|
10112
10114
|
const y = O((o) => {
|
|
10113
10115
|
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
10114
10116
|
m((p) => [...p, { time: s, message: o }]);
|
|
10115
10117
|
}, []);
|
|
10116
|
-
|
|
10118
|
+
_e(() => {
|
|
10117
10119
|
if (window.chrome && window.chrome.webview) {
|
|
10118
10120
|
a(!0), y("WebView2 環境已就緒");
|
|
10119
10121
|
const o = (s) => {
|
|
@@ -10198,7 +10200,7 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
10198
10200
|
// 越南名稱
|
|
10199
10201
|
gameNameTw: S
|
|
10200
10202
|
// 繁體中文名稱
|
|
10201
|
-
} = e, N = e?.[`gameName${a}`], B = `${
|
|
10203
|
+
} = e, N = e?.[`gameName${a}`], B = `${it}/${gt}/${i}/${t}/${tt(r, / /g, "_")}.webp`, T = `${it}/${gt}/${i}/${t}/${tt(r, / /g, "_")}.gif`, x = `${it}/${gt}/en/${t}/${tt(r, / /g, "_")}.webp`, F = `${it}/${gt}/en/${t}/${tt(r, / /g, "_")}.gif`, R = O(
|
|
10202
10204
|
({ long: M = !1, preferAnimated: L = !1 } = {}) => ml({
|
|
10203
10205
|
lng: i,
|
|
10204
10206
|
gamePlatform: t,
|
|
@@ -10429,7 +10431,7 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
10429
10431
|
},
|
|
10430
10432
|
user: { favorite: [] }
|
|
10431
10433
|
}, vm = ({ enabled: e = !0 } = {}) => {
|
|
10432
|
-
const { getToken: i } = me(), { userFavoriteGameApi: a, userGameListApi: r } =
|
|
10434
|
+
const { getToken: i } = me(), { userFavoriteGameApi: a, userGameListApi: r } = ie(), { data: m, isLoading: g, error: y, refetch: d } = X({
|
|
10433
10435
|
queryKey: ["gamesInfo"],
|
|
10434
10436
|
queryFn: async () => {
|
|
10435
10437
|
let l = {}, t = {};
|
|
@@ -36998,7 +37000,7 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
|
|
|
36998
37000
|
autoFetch: i = !1,
|
|
36999
37001
|
mockData: a = !1
|
|
37000
37002
|
}) => {
|
|
37001
|
-
|
|
37003
|
+
_e(() => {
|
|
37002
37004
|
a && hm(!0);
|
|
37003
37005
|
}, [a]);
|
|
37004
37006
|
const r = vm({ enabled: i });
|
|
@@ -37035,7 +37037,7 @@ function r0({
|
|
|
37035
37037
|
) }) }) });
|
|
37036
37038
|
}
|
|
37037
37039
|
const l0 = () => {
|
|
37038
|
-
const e =
|
|
37040
|
+
const e = Ea(), {
|
|
37039
37041
|
mutate: i,
|
|
37040
37042
|
isPending: a,
|
|
37041
37043
|
isSuccess: r,
|
|
@@ -37049,8 +37051,8 @@ const l0 = () => {
|
|
|
37049
37051
|
});
|
|
37050
37052
|
}
|
|
37051
37053
|
}
|
|
37052
|
-
}), y =
|
|
37053
|
-
return
|
|
37054
|
+
}), y = re(!1);
|
|
37055
|
+
return _e(() => {
|
|
37054
37056
|
if (y.current) return;
|
|
37055
37057
|
const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), t = d.get("bind_id");
|
|
37056
37058
|
l && t && (y.current = !0, l === "line" ? i({ bindType: l, bindId: t }) : console.warn(`Unsupported bind type: ${l}`));
|
|
@@ -37216,7 +37218,7 @@ const l0 = () => {
|
|
|
37216
37218
|
);
|
|
37217
37219
|
}, s0 = ({ onFunction: e = () => {
|
|
37218
37220
|
}, buttonProps: i = {} } = {}) => {
|
|
37219
|
-
const { lineConfig: a } = me(), r =
|
|
37221
|
+
const { lineConfig: a } = me(), r = re(!1), m = ee(a, "liffId", ""), g = new URLSearchParams(window.location.search), y = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), t = g.get("line_name"), n = g.get("invite_code"), { mutate: o, isPending: s } = gr({
|
|
37220
37222
|
options: {
|
|
37221
37223
|
onSuccess: (u) => {
|
|
37222
37224
|
e(u);
|
|
@@ -37224,7 +37226,7 @@ const l0 = () => {
|
|
|
37224
37226
|
retry: !1
|
|
37225
37227
|
}
|
|
37226
37228
|
});
|
|
37227
|
-
|
|
37229
|
+
_e(() => {
|
|
37228
37230
|
r.current || y === "true" && l && t && (o({
|
|
37229
37231
|
trans_code: d,
|
|
37230
37232
|
line_id: l,
|
|
@@ -37270,7 +37272,7 @@ var Sm = Object.defineProperty, jt = Object.getOwnPropertySymbols, Mr = Object.p
|
|
|
37270
37272
|
i.indexOf(r) < 0 && Rr.call(e, r) && (a[r] = e[r]);
|
|
37271
37273
|
return a;
|
|
37272
37274
|
};
|
|
37273
|
-
var
|
|
37275
|
+
var Sa;
|
|
37274
37276
|
((e) => {
|
|
37275
37277
|
const i = class oe {
|
|
37276
37278
|
/*-- Constructor (low level) and fields --*/
|
|
@@ -37775,7 +37777,7 @@ var Ea;
|
|
|
37775
37777
|
g.NUMERIC_REGEX = /^[0-9]*$/, g.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+.\/:-]*$/, g.ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
|
|
37776
37778
|
let y = g;
|
|
37777
37779
|
e.QrSegment = g;
|
|
37778
|
-
})(
|
|
37780
|
+
})(Sa || (Sa = {}));
|
|
37779
37781
|
((e) => {
|
|
37780
37782
|
((i) => {
|
|
37781
37783
|
const a = class {
|
|
@@ -37787,7 +37789,7 @@ var Ea;
|
|
|
37787
37789
|
};
|
|
37788
37790
|
a.LOW = new a(0, 1), a.MEDIUM = new a(1, 0), a.QUARTILE = new a(2, 3), a.HIGH = new a(3, 2), i.Ecc = a;
|
|
37789
37791
|
})(e.QrCode || (e.QrCode = {}));
|
|
37790
|
-
})(
|
|
37792
|
+
})(Sa || (Sa = {}));
|
|
37791
37793
|
((e) => {
|
|
37792
37794
|
((i) => {
|
|
37793
37795
|
const a = class {
|
|
@@ -37804,8 +37806,8 @@ var Ea;
|
|
|
37804
37806
|
};
|
|
37805
37807
|
a.NUMERIC = new a(1, [10, 12, 14]), a.ALPHANUMERIC = new a(2, [9, 11, 13]), a.BYTE = new a(4, [8, 16, 16]), a.KANJI = new a(8, [8, 10, 12]), a.ECI = new a(7, [0, 0, 0]), i.Mode = a;
|
|
37806
37808
|
})(e.QrSegment || (e.QrSegment = {}));
|
|
37807
|
-
})(
|
|
37808
|
-
var Wa =
|
|
37809
|
+
})(Sa || (Sa = {}));
|
|
37810
|
+
var Wa = Sa;
|
|
37809
37811
|
var Em = {
|
|
37810
37812
|
L: Wa.QrCode.Ecc.LOW,
|
|
37811
37813
|
M: Wa.QrCode.Ecc.MEDIUM,
|
|
@@ -38122,7 +38124,7 @@ const wm = {
|
|
|
38122
38124
|
expired: "Kode QR telah kedaluwarsa"
|
|
38123
38125
|
}
|
|
38124
38126
|
}, p0 = ({ forcedShow: e = !1, isVisible: i, setIsVisible: a } = {}) => {
|
|
38125
|
-
const { lng: r, getToken: m, lineConfig: g } = me(), [y, d] = da(300), [l, t] = da(!1), n =
|
|
38127
|
+
const { lng: r, getToken: m, lineConfig: g } = me(), [y, d] = da(300), [l, t] = da(!1), n = re(null), o = ee(g, "liffId", ""), s = Je(r), p = m?.(), f = new URLSearchParams(window.location.search).get("mac") || di.get("machine_mac_address") || "", { data: c, isFetching: b } = os({
|
|
38126
38128
|
formData: {
|
|
38127
38129
|
mac_address: f
|
|
38128
38130
|
},
|
|
@@ -38130,9 +38132,9 @@ const wm = {
|
|
|
38130
38132
|
enabled: e ? !0 : !!f && !p
|
|
38131
38133
|
}
|
|
38132
38134
|
}), _ = ee(c, "liff_url", "") || `https://liff.line.me/${o}`;
|
|
38133
|
-
|
|
38135
|
+
_e(() => {
|
|
38134
38136
|
f && di.set("machine_mac_address", f, { expires: 365 });
|
|
38135
|
-
}, [f]),
|
|
38137
|
+
}, [f]), _e(() => (_ && (d(300), t(!1), n.current && clearInterval(n.current), n.current = setInterval(() => {
|
|
38136
38138
|
d((v) => v <= 1 ? (clearInterval(n.current), t(!0), 0) : v - 1);
|
|
38137
38139
|
}, 1e3)), () => {
|
|
38138
38140
|
n.current && clearInterval(n.current);
|
|
@@ -38666,7 +38668,7 @@ const wm = {
|
|
|
38666
38668
|
contentStyle: l = {}
|
|
38667
38669
|
}) => {
|
|
38668
38670
|
const t = me(), n = g ?? t?.lng, o = Je(n), s = Am(o), p = { siteName: a, siteUrl: r }, u = qn.includes(m) ? m : "privacy", [f, c] = da(u), [b, _] = da(e);
|
|
38669
|
-
if (e !== b && (_(e), e && c(u)),
|
|
38671
|
+
if (e !== b && (_(e), e && c(u)), _e(() => {
|
|
38670
38672
|
if (!e) return;
|
|
38671
38673
|
const v = (S) => {
|
|
38672
38674
|
S.key === "Escape" && i?.(!1);
|
|
@@ -38829,7 +38831,7 @@ export {
|
|
|
38829
38831
|
p0 as LineQrCode,
|
|
38830
38832
|
Di as MONTH_CARD_QUERY_KEY,
|
|
38831
38833
|
Ue as SOCKET_TYPE,
|
|
38832
|
-
|
|
38834
|
+
Xa as STATUS_TYPES,
|
|
38833
38835
|
Yn as StatusContext,
|
|
38834
38836
|
ll as StatusProvider,
|
|
38835
38837
|
g0 as TermsDialog,
|