@obb871001/api-integration-sdk 1.0.402 → 1.0.404

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.js CHANGED
@@ -1,7 +1,7 @@
1
- import fe, { createContext as jt, useContext as _i, useState as at, useMemo as Ha, useCallback as H, useRef as te, useEffect as pe } from "react";
1
+ import fe, { createContext as jt, useContext as _i, useState as at, useMemo as Ha, useCallback as H, useRef as ie, useEffect as ue } from "react";
2
2
  import { useQueries as In, useQuery as Q, useQueryClient as xa, useMutation as ee, QueryClient as Wr, QueryClientProvider as zr } from "@tanstack/react-query";
3
3
  import Ir from "axios";
4
- import { get as j, isEmpty as Ge, find as We, entries as Vn, forEach as Vr, map as xe, isArray as Ye, toLower as Ni, omit as Jr, keyBy as Zr, replace as rt, includes as Kr, isObject as Yt, flatMap as Xt, values as qr, keys as Li } from "lodash";
4
+ import { get as j, isEmpty as Re, find as We, entries as Vn, forEach as Vr, map as Se, isArray as Ye, toLower as Ni, omit as Jr, keyBy as Zr, replace as rt, includes as Kr, isObject as Yt, flatMap as Xt, values as qr, keys as Li } from "lodash";
5
5
  import $r from "react-dom";
6
6
  var ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function yi(e) {
@@ -60,16 +60,16 @@ function Yr() {
60
60
  var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
61
61
  function f(k) {
62
62
  {
63
- for (var I = arguments.length, q = new Array(I > 1 ? I - 1 : 0), Y = 1; Y < I; Y++)
64
- q[Y - 1] = arguments[Y];
65
- b("error", k, q);
63
+ for (var I = arguments.length, K = new Array(I > 1 ? I - 1 : 0), X = 1; X < I; X++)
64
+ K[X - 1] = arguments[X];
65
+ b("error", k, K);
66
66
  }
67
67
  }
68
- function b(k, I, q) {
68
+ function b(k, I, K) {
69
69
  {
70
- var Y = y.ReactDebugCurrentFrame, me = Y.getStackAddendum();
71
- me !== "" && (I += "%s", q = q.concat([me]));
72
- var de = q.map(function(oe) {
70
+ var X = y.ReactDebugCurrentFrame, me = X.getStackAddendum();
71
+ me !== "" && (I += "%s", K = K.concat([me]));
72
+ var de = K.map(function(oe) {
73
73
  return String(oe);
74
74
  });
75
75
  de.unshift("Warning: " + I), Function.prototype.apply.call(console[k], console, de);
@@ -84,12 +84,12 @@ function Yr() {
84
84
  // with.
85
85
  k.$$typeof === A || k.getModuleId !== void 0));
86
86
  }
87
- function S(k, I, q) {
88
- var Y = k.displayName;
89
- if (Y)
90
- return Y;
87
+ function S(k, I, K) {
88
+ var X = k.displayName;
89
+ if (X)
90
+ return X;
91
91
  var me = I.displayName || I.name || "";
92
- return me !== "" ? q + "(" + me + ")" : q;
92
+ return me !== "" ? K + "(" + me + ")" : K;
93
93
  }
94
94
  function F(k) {
95
95
  return k.displayName || "Context";
@@ -121,13 +121,13 @@ function Yr() {
121
121
  var I = k;
122
122
  return F(I) + ".Consumer";
123
123
  case U:
124
- var q = k;
125
- return F(q._context) + ".Provider";
124
+ var K = k;
125
+ return F(K._context) + ".Provider";
126
126
  case l:
127
127
  return S(k, k.render, "ForwardRef");
128
128
  case o:
129
- var Y = k.displayName || null;
130
- return Y !== null ? Y : P(k.type) || "Memo";
129
+ var X = k.displayName || null;
130
+ return X !== null ? X : P(k.type) || "Memo";
131
131
  case s: {
132
132
  var me = k, de = me._payload, oe = me._init;
133
133
  try {
@@ -166,7 +166,7 @@ function Yr() {
166
166
  R++;
167
167
  }
168
168
  }
169
- function V() {
169
+ function J() {
170
170
  {
171
171
  if (R--, R === 0) {
172
172
  var k = {
@@ -201,39 +201,39 @@ function Yr() {
201
201
  R < 0 && f("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
202
202
  }
203
203
  }
204
- var $ = y.ReactCurrentDispatcher, Z;
205
- function K(k, I, q) {
204
+ var q = y.ReactCurrentDispatcher, $;
205
+ function V(k, I, K) {
206
206
  {
207
- if (Z === void 0)
207
+ if ($ === void 0)
208
208
  try {
209
209
  throw Error();
210
210
  } catch (me) {
211
- var Y = me.stack.trim().match(/\n( *(at )?)/);
212
- Z = Y && Y[1] || "";
211
+ var X = me.stack.trim().match(/\n( *(at )?)/);
212
+ $ = X && X[1] || "";
213
213
  }
214
214
  return `
215
- ` + Z + k;
215
+ ` + $ + k;
216
216
  }
217
217
  }
218
- var X = !1, re;
218
+ var Y = !1, ae;
219
219
  {
220
- var Ue = typeof WeakMap == "function" ? WeakMap : Map;
221
- re = new Ue();
220
+ var be = typeof WeakMap == "function" ? WeakMap : Map;
221
+ ae = new be();
222
222
  }
223
- function be(k, I) {
224
- if (!k || X)
223
+ function Ce(k, I) {
224
+ if (!k || Y)
225
225
  return "";
226
226
  {
227
- var q = re.get(k);
228
- if (q !== void 0)
229
- return q;
227
+ var K = ae.get(k);
228
+ if (K !== void 0)
229
+ return K;
230
230
  }
231
- var Y;
232
- X = !0;
231
+ var X;
232
+ Y = !0;
233
233
  var me = Error.prepareStackTrace;
234
234
  Error.prepareStackTrace = void 0;
235
235
  var de;
236
- de = $.current, $.current = null, N();
236
+ de = q.current, q.current = null, N();
237
237
  try {
238
238
  if (I) {
239
239
  var oe = function() {
@@ -246,122 +246,122 @@ function Yr() {
246
246
  }), typeof Reflect == "object" && Reflect.construct) {
247
247
  try {
248
248
  Reflect.construct(oe, []);
249
- } catch (Ve) {
250
- Y = Ve;
249
+ } catch (Je) {
250
+ X = Je;
251
251
  }
252
252
  Reflect.construct(k, [], oe);
253
253
  } else {
254
254
  try {
255
255
  oe.call();
256
- } catch (Ve) {
257
- Y = Ve;
256
+ } catch (Je) {
257
+ X = Je;
258
258
  }
259
259
  k.call(oe.prototype);
260
260
  }
261
261
  } else {
262
262
  try {
263
263
  throw Error();
264
- } catch (Ve) {
265
- Y = Ve;
264
+ } catch (Je) {
265
+ X = Je;
266
266
  }
267
267
  k();
268
268
  }
269
- } catch (Ve) {
270
- if (Ve && Y && typeof Ve.stack == "string") {
271
- for (var ie = Ve.stack.split(`
272
- `), ze = Y.stack.split(`
273
- `), ve = ie.length - 1, Te = ze.length - 1; ve >= 1 && Te >= 0 && ie[ve] !== ze[Te]; )
274
- Te--;
275
- for (; ve >= 1 && Te >= 0; ve--, Te--)
276
- if (ie[ve] !== ze[Te]) {
277
- if (ve !== 1 || Te !== 1)
269
+ } catch (Je) {
270
+ if (Je && X && typeof Je.stack == "string") {
271
+ for (var ne = Je.stack.split(`
272
+ `), Ie = X.stack.split(`
273
+ `), he = ne.length - 1, ke = Ie.length - 1; he >= 1 && ke >= 0 && ne[he] !== Ie[ke]; )
274
+ ke--;
275
+ for (; he >= 1 && ke >= 0; he--, ke--)
276
+ if (ne[he] !== Ie[ke]) {
277
+ if (he !== 1 || ke !== 1)
278
278
  do
279
- if (ve--, Te--, Te < 0 || ie[ve] !== ze[Te]) {
279
+ if (he--, ke--, ke < 0 || ne[he] !== Ie[ke]) {
280
280
  var je = `
281
- ` + ie[ve].replace(" at new ", " at ");
282
- return k.displayName && je.includes("<anonymous>") && (je = je.replace("<anonymous>", k.displayName)), typeof k == "function" && re.set(k, je), je;
281
+ ` + ne[he].replace(" at new ", " at ");
282
+ return k.displayName && je.includes("<anonymous>") && (je = je.replace("<anonymous>", k.displayName)), typeof k == "function" && ae.set(k, je), je;
283
283
  }
284
- while (ve >= 1 && Te >= 0);
284
+ while (he >= 1 && ke >= 0);
285
285
  break;
286
286
  }
287
287
  }
288
288
  } finally {
289
- X = !1, $.current = de, V(), Error.prepareStackTrace = me;
289
+ Y = !1, q.current = de, J(), Error.prepareStackTrace = me;
290
290
  }
291
- var wa = k ? k.displayName || k.name : "", ba = wa ? K(wa) : "";
292
- return typeof k == "function" && re.set(k, ba), ba;
291
+ var wa = k ? k.displayName || k.name : "", ba = wa ? V(wa) : "";
292
+ return typeof k == "function" && ae.set(k, ba), ba;
293
293
  }
294
- function ge(k, I, q) {
295
- return be(k, !1);
294
+ function pe(k, I, K) {
295
+ return Ce(k, !1);
296
296
  }
297
297
  function _e(k) {
298
298
  var I = k.prototype;
299
299
  return !!(I && I.isReactComponent);
300
300
  }
301
- function Se(k, I, q) {
301
+ function Ee(k, I, K) {
302
302
  if (k == null)
303
303
  return "";
304
304
  if (typeof k == "function")
305
- return be(k, _e(k));
305
+ return Ce(k, _e(k));
306
306
  if (typeof k == "string")
307
- return K(k);
307
+ return V(k);
308
308
  switch (k) {
309
309
  case t:
310
- return K("Suspense");
310
+ return V("Suspense");
311
311
  case i:
312
- return K("SuspenseList");
312
+ return V("SuspenseList");
313
313
  }
314
314
  if (typeof k == "object")
315
315
  switch (k.$$typeof) {
316
316
  case l:
317
- return ge(k.render);
317
+ return pe(k.render);
318
318
  case o:
319
- return Se(k.type, I, q);
319
+ return Ee(k.type, I, K);
320
320
  case s: {
321
- var Y = k, me = Y._payload, de = Y._init;
321
+ var X = k, me = X._payload, de = X._init;
322
322
  try {
323
- return Se(de(me), I, q);
323
+ return Ee(de(me), I, K);
324
324
  } catch {
325
325
  }
326
326
  }
327
327
  }
328
328
  return "";
329
329
  }
330
- var ue = Object.prototype.hasOwnProperty, we = {}, ce = y.ReactDebugCurrentFrame;
331
- function Ce(k) {
330
+ var ve = Object.prototype.hasOwnProperty, ce = {}, ge = y.ReactDebugCurrentFrame;
331
+ function ye(k) {
332
332
  if (k) {
333
- var I = k._owner, q = Se(k.type, k._source, I ? I.type : null);
334
- ce.setExtraStackFrame(q);
333
+ var I = k._owner, K = Ee(k.type, k._source, I ? I.type : null);
334
+ ge.setExtraStackFrame(K);
335
335
  } else
336
- ce.setExtraStackFrame(null);
336
+ ge.setExtraStackFrame(null);
337
337
  }
338
- function Je(k, I, q, Y, me) {
338
+ function ze(k, I, K, X, me) {
339
339
  {
340
- var de = Function.call.bind(ue);
340
+ var de = Function.call.bind(ve);
341
341
  for (var oe in k)
342
342
  if (de(k, oe)) {
343
- var ie = void 0;
343
+ var ne = void 0;
344
344
  try {
345
345
  if (typeof k[oe] != "function") {
346
- var ze = Error((Y || "React class") + ": " + q + " type `" + oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof k[oe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
- throw ze.name = "Invariant Violation", ze;
346
+ var Ie = Error((X || "React class") + ": " + K + " type `" + oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof k[oe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
+ throw Ie.name = "Invariant Violation", Ie;
348
348
  }
349
- ie = k[oe](I, oe, Y, q, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
350
- } catch (ve) {
351
- ie = ve;
349
+ ne = k[oe](I, oe, X, K, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
350
+ } catch (he) {
351
+ ne = he;
352
352
  }
353
- ie && !(ie instanceof Error) && (Ce(me), f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Y || "React class", q, oe, typeof ie), Ce(null)), ie instanceof Error && !(ie.message in we) && (we[ie.message] = !0, Ce(me), f("Failed %s type: %s", q, ie.message), Ce(null));
353
+ ne && !(ne instanceof Error) && (ye(me), f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", X || "React class", K, oe, typeof ne), ye(null)), ne instanceof Error && !(ne.message in ce) && (ce[ne.message] = !0, ye(me), f("Failed %s type: %s", K, ne.message), ye(null));
354
354
  }
355
355
  }
356
356
  }
357
- var Fe = Array.isArray;
358
- function he(k) {
359
- return Fe(k);
357
+ var De = Array.isArray;
358
+ function Te(k) {
359
+ return De(k);
360
360
  }
361
- function Ie(k) {
361
+ function Ve(k) {
362
362
  {
363
- var I = typeof Symbol == "function" && Symbol.toStringTag, q = I && k[Symbol.toStringTag] || k.constructor.name || "Object";
364
- return q;
363
+ var I = typeof Symbol == "function" && Symbol.toStringTag, K = I && k[Symbol.toStringTag] || k.constructor.name || "Object";
364
+ return K;
365
365
  }
366
366
  }
367
367
  function ta(k) {
@@ -374,18 +374,18 @@ function Yr() {
374
374
  function ia(k) {
375
375
  return "" + k;
376
376
  }
377
- function De(k) {
377
+ function Ne(k) {
378
378
  if (ta(k))
379
- return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ie(k)), ia(k);
379
+ return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(k)), ia(k);
380
380
  }
381
- var Ae = y.ReactCurrentOwner, Xe = {
381
+ var Oe = y.ReactCurrentOwner, Xe = {
382
382
  key: !0,
383
383
  ref: !0,
384
384
  __self: !0,
385
385
  __source: !0
386
386
  }, oa, ga;
387
387
  function Ze(k) {
388
- if (ue.call(k, "ref")) {
388
+ if (ve.call(k, "ref")) {
389
389
  var I = Object.getOwnPropertyDescriptor(k, "ref").get;
390
390
  if (I && I.isReactWarning)
391
391
  return !1;
@@ -393,7 +393,7 @@ function Yr() {
393
393
  return k.ref !== void 0;
394
394
  }
395
395
  function ea(k) {
396
- if (ue.call(k, "key")) {
396
+ if (ve.call(k, "key")) {
397
397
  var I = Object.getOwnPropertyDescriptor(k, "key").get;
398
398
  if (I && I.isReactWarning)
399
399
  return !1;
@@ -401,82 +401,82 @@ function Yr() {
401
401
  return k.key !== void 0;
402
402
  }
403
403
  function Ja(k, I) {
404
- typeof k.ref == "string" && Ae.current;
404
+ typeof k.ref == "string" && Oe.current;
405
405
  }
406
406
  function Na(k, I) {
407
407
  {
408
- var q = function() {
408
+ var K = function() {
409
409
  oa || (oa = !0, f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
410
410
  };
411
- q.isReactWarning = !0, Object.defineProperty(k, "key", {
412
- get: q,
411
+ K.isReactWarning = !0, Object.defineProperty(k, "key", {
412
+ get: K,
413
413
  configurable: !0
414
414
  });
415
415
  }
416
416
  }
417
417
  function La(k, I) {
418
418
  {
419
- var q = function() {
419
+ var K = function() {
420
420
  ga || (ga = !0, f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
421
421
  };
422
- q.isReactWarning = !0, Object.defineProperty(k, "ref", {
423
- get: q,
422
+ K.isReactWarning = !0, Object.defineProperty(k, "ref", {
423
+ get: K,
424
424
  configurable: !0
425
425
  });
426
426
  }
427
427
  }
428
- var Za = function(k, I, q, Y, me, de, oe) {
429
- var ie = {
428
+ var Za = function(k, I, K, X, me, de, oe) {
429
+ var ne = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: n,
432
432
  // Built-in properties that belong on the element
433
433
  type: k,
434
434
  key: I,
435
- ref: q,
435
+ ref: K,
436
436
  props: oe,
437
437
  // Record the component responsible for creating this element.
438
438
  _owner: de
439
439
  };
440
- return ie._store = {}, Object.defineProperty(ie._store, "validated", {
440
+ return ne._store = {}, Object.defineProperty(ne._store, "validated", {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !0,
444
444
  value: !1
445
- }), Object.defineProperty(ie, "_self", {
445
+ }), Object.defineProperty(ne, "_self", {
446
446
  configurable: !1,
447
447
  enumerable: !1,
448
448
  writable: !1,
449
- value: Y
450
- }), Object.defineProperty(ie, "_source", {
449
+ value: X
450
+ }), Object.defineProperty(ne, "_source", {
451
451
  configurable: !1,
452
452
  enumerable: !1,
453
453
  writable: !1,
454
454
  value: me
455
- }), Object.freeze && (Object.freeze(ie.props), Object.freeze(ie)), ie;
455
+ }), Object.freeze && (Object.freeze(ne.props), Object.freeze(ne)), ne;
456
456
  };
457
- function Ka(k, I, q, Y, me) {
457
+ function Ka(k, I, K, X, me) {
458
458
  {
459
- var de, oe = {}, ie = null, ze = null;
460
- q !== void 0 && (De(q), ie = "" + q), ea(I) && (De(I.key), ie = "" + I.key), Ze(I) && (ze = I.ref, Ja(I, me));
459
+ var de, oe = {}, ne = null, Ie = null;
460
+ K !== void 0 && (Ne(K), ne = "" + K), ea(I) && (Ne(I.key), ne = "" + I.key), Ze(I) && (Ie = I.ref, Ja(I, me));
461
461
  for (de in I)
462
- ue.call(I, de) && !Xe.hasOwnProperty(de) && (oe[de] = I[de]);
462
+ ve.call(I, de) && !Xe.hasOwnProperty(de) && (oe[de] = I[de]);
463
463
  if (k && k.defaultProps) {
464
- var ve = k.defaultProps;
465
- for (de in ve)
466
- oe[de] === void 0 && (oe[de] = ve[de]);
464
+ var he = k.defaultProps;
465
+ for (de in he)
466
+ oe[de] === void 0 && (oe[de] = he[de]);
467
467
  }
468
- if (ie || ze) {
469
- var Te = typeof k == "function" ? k.displayName || k.name || "Unknown" : k;
470
- ie && Na(oe, Te), ze && La(oe, Te);
468
+ if (ne || Ie) {
469
+ var ke = typeof k == "function" ? k.displayName || k.name || "Unknown" : k;
470
+ ne && Na(oe, ke), Ie && La(oe, ke);
471
471
  }
472
- return Za(k, ie, ze, me, Y, Ae.current, oe);
472
+ return Za(k, ne, Ie, me, X, Oe.current, oe);
473
473
  }
474
474
  }
475
475
  var da = y.ReactCurrentOwner, ya = y.ReactDebugCurrentFrame;
476
476
  function Qe(k) {
477
477
  if (k) {
478
- var I = k._owner, q = Se(k.type, k._source, I ? I.type : null);
479
- ya.setExtraStackFrame(q);
478
+ var I = k._owner, K = Ee(k.type, k._source, I ? I.type : null);
479
+ ya.setExtraStackFrame(K);
480
480
  } else
481
481
  ya.setExtraStackFrame(null);
482
482
  }
@@ -505,10 +505,10 @@ Check the render method of \`` + k + "`.";
505
505
  {
506
506
  var I = Ga();
507
507
  if (!I) {
508
- var q = typeof k == "string" ? k : k.displayName || k.name;
509
- q && (I = `
508
+ var K = typeof k == "string" ? k : k.displayName || k.name;
509
+ K && (I = `
510
510
 
511
- Check the top-level render call using <` + q + ">.");
511
+ Check the top-level render call using <` + K + ">.");
512
512
  }
513
513
  return I;
514
514
  }
@@ -518,22 +518,22 @@ Check the top-level render call using <` + q + ">.");
518
518
  if (!k._store || k._store.validated || k.key != null)
519
519
  return;
520
520
  k._store.validated = !0;
521
- var q = Ra(I);
522
- if (Ua[q])
521
+ var K = Ra(I);
522
+ if (Ua[K])
523
523
  return;
524
- Ua[q] = !0;
525
- var Y = "";
526
- k && k._owner && k._owner !== da.current && (Y = " It was passed a child from " + P(k._owner.type) + "."), Qe(k), f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', q, Y), Qe(null);
524
+ Ua[K] = !0;
525
+ var X = "";
526
+ k && k._owner && k._owner !== da.current && (X = " It was passed a child from " + P(k._owner.type) + "."), Qe(k), f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', K, X), Qe(null);
527
527
  }
528
528
  }
529
- function Ee(k, I) {
529
+ function Le(k, I) {
530
530
  {
531
531
  if (typeof k != "object")
532
532
  return;
533
- if (he(k))
534
- for (var q = 0; q < k.length; q++) {
535
- var Y = k[q];
536
- fa(Y) && Pa(Y, I);
533
+ if (Te(k))
534
+ for (var K = 0; K < k.length; K++) {
535
+ var X = k[K];
536
+ fa(X) && Pa(X, I);
537
537
  }
538
538
  else if (fa(k))
539
539
  k._store && (k._store.validated = !0);
@@ -545,23 +545,23 @@ Check the top-level render call using <` + q + ">.");
545
545
  }
546
546
  }
547
547
  }
548
- function J(k) {
548
+ function Z(k) {
549
549
  {
550
550
  var I = k.type;
551
551
  if (I == null || typeof I == "string")
552
552
  return;
553
- var q;
553
+ var K;
554
554
  if (typeof I == "function")
555
- q = I.propTypes;
555
+ K = I.propTypes;
556
556
  else if (typeof I == "object" && (I.$$typeof === l || // Note: Memo only checks outer props here.
557
557
  // Inner props are checked in the reconciler.
558
558
  I.$$typeof === o))
559
- q = I.propTypes;
559
+ K = I.propTypes;
560
560
  else
561
561
  return;
562
- if (q) {
563
- var Y = P(I);
564
- Je(q, k.props, "prop", Y, k);
562
+ if (K) {
563
+ var X = P(I);
564
+ ze(K, k.props, "prop", X, k);
565
565
  } else if (I.PropTypes !== void 0 && !ca) {
566
566
  ca = !0;
567
567
  var me = P(I);
@@ -570,12 +570,12 @@ Check the top-level render call using <` + q + ">.");
570
570
  typeof I.getDefaultProps == "function" && !I.getDefaultProps.isReactClassApproved && f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
571
571
  }
572
572
  }
573
- function Ne(k) {
573
+ function Ge(k) {
574
574
  {
575
- for (var I = Object.keys(k.props), q = 0; q < I.length; q++) {
576
- var Y = I[q];
577
- if (Y !== "children" && Y !== "key") {
578
- Qe(k), f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Y), Qe(null);
575
+ for (var I = Object.keys(k.props), K = 0; K < I.length; K++) {
576
+ var X = I[K];
577
+ if (X !== "children" && X !== "key") {
578
+ Qe(k), f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", X), Qe(null);
579
579
  break;
580
580
  }
581
581
  }
@@ -583,39 +583,39 @@ Check the top-level render call using <` + q + ">.");
583
583
  }
584
584
  }
585
585
  var na = {};
586
- function Oe(k, I, q, Y, me, de) {
586
+ function Be(k, I, K, X, me, de) {
587
587
  {
588
588
  var oe = T(k);
589
589
  if (!oe) {
590
- var ie = "";
591
- (k === void 0 || typeof k == "object" && k !== null && Object.keys(k).length === 0) && (ie += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
592
- var ze = Ma();
593
- ze ? ie += ze : ie += Ga();
594
- var ve;
595
- k === null ? ve = "null" : he(k) ? ve = "array" : k !== void 0 && k.$$typeof === n ? (ve = "<" + (P(k.type) || "Unknown") + " />", ie = " Did you accidentally export a JSX literal instead of a component?") : ve = typeof k, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ve, ie);
590
+ var ne = "";
591
+ (k === void 0 || typeof k == "object" && k !== null && Object.keys(k).length === 0) && (ne += " 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 Ie = Ma();
593
+ Ie ? ne += Ie : ne += Ga();
594
+ var he;
595
+ k === null ? he = "null" : Te(k) ? he = "array" : k !== void 0 && k.$$typeof === n ? (he = "<" + (P(k.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : he = typeof k, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", he, ne);
596
596
  }
597
- var Te = Ka(k, I, q, me, de);
598
- if (Te == null)
599
- return Te;
597
+ var ke = Ka(k, I, K, me, de);
598
+ if (ke == null)
599
+ return ke;
600
600
  if (oe) {
601
601
  var je = I.children;
602
602
  if (je !== void 0)
603
- if (Y)
604
- if (he(je)) {
603
+ if (X)
604
+ if (Te(je)) {
605
605
  for (var wa = 0; wa < je.length; wa++)
606
- Ee(je[wa], k);
606
+ Le(je[wa], k);
607
607
  Object.freeze && Object.freeze(je);
608
608
  } else
609
609
  f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
610
610
  else
611
- Ee(je, k);
611
+ Le(je, k);
612
612
  }
613
- if (ue.call(I, "key")) {
614
- var ba = P(k), Ve = Object.keys(I).filter(function(Hr) {
613
+ if (ve.call(I, "key")) {
614
+ var ba = P(k), Je = Object.keys(I).filter(function(Hr) {
615
615
  return Hr !== "key";
616
- }), ti = Ve.length > 0 ? "{key: someKey, " + Ve.join(": ..., ") + ": ...}" : "{key: someKey}";
616
+ }), ti = Je.length > 0 ? "{key: someKey, " + Je.join(": ..., ") + ": ...}" : "{key: someKey}";
617
617
  if (!na[ba + ti]) {
618
- var Br = Ve.length > 0 ? "{" + Ve.join(": ..., ") + ": ...}" : "{}";
618
+ var Br = Je.length > 0 ? "{" + Je.join(": ..., ") + ": ...}" : "{}";
619
619
  f(`A props object containing a "key" prop is being spread into JSX:
620
620
  let props = %s;
621
621
  <%s {...props} />
@@ -624,14 +624,14 @@ React keys must be passed directly to JSX without using spread:
624
624
  <%s key={someKey} {...props} />`, ti, ba, Br, ba), na[ba + ti] = !0;
625
625
  }
626
626
  }
627
- return k === r ? Ne(Te) : J(Te), Te;
627
+ return k === r ? Ge(ke) : Z(ke), ke;
628
628
  }
629
629
  }
630
- function ra(k, I, q) {
631
- return Oe(k, I, q, !0);
630
+ function ra(k, I, K) {
631
+ return Be(k, I, K, !0);
632
632
  }
633
- function nt(k, I, q) {
634
- return Oe(k, I, q, !1);
633
+ function nt(k, I, K) {
634
+ return Be(k, I, K, !1);
635
635
  }
636
636
  var ai = nt, Or = ra;
637
637
  $a.Fragment = r, $a.jsx = ai, $a.jsxs = Or;
@@ -805,7 +805,7 @@ const jn = jt(null), Lm = () => {
805
805
  minimumFractionDigits: 2,
806
806
  maximumFractionDigits: 2
807
807
  }).format(n);
808
- }, Yn = (e = [], n) => We(e, { gameTypeName: n })?.gameTypeUid, Xn = (e = [], n) => We(e, { platform: n })?.platformUid, er = (e = [], n) => We(e, { SubPlatformEnum: n }), ar = (e = [], n, a) => Ge(e) ? [] : e.filter((r) => a ? String(r?.SubPlatformEnumUid) === String(a?.SubPlatformEnumUid) : String(r.platformUid) === String(n)), il = (e = []) => Ge(e) ? {} : e.reduce((n, a) => {
808
+ }, Yn = (e = [], n) => We(e, { gameTypeName: n })?.gameTypeUid, Xn = (e = [], n) => We(e, { platform: n })?.platformUid, er = (e = [], n) => We(e, { SubPlatformEnum: n }), ar = (e = [], n, a) => Re(e) ? [] : e.filter((r) => a ? String(r?.SubPlatformEnumUid) === String(a?.SubPlatformEnumUid) : String(r.platformUid) === String(n)), il = (e = []) => Re(e) ? {} : e.reduce((n, a) => {
809
809
  const r = a?.game_subtype || "UNKNOWN";
810
810
  return n[r] || (n[r] = []), n[r].push(a), n;
811
811
  }, {}), nl = ({
@@ -822,7 +822,7 @@ const jn = jt(null), Lm = () => {
822
822
  l,
823
823
  t
824
824
  );
825
- return Ge(o) || (U[d] = o), U;
825
+ return Re(o) || (U[d] = o), U;
826
826
  }, {}) : {};
827
827
  }, rl = ({
828
828
  platformName: e,
@@ -927,29 +927,29 @@ function ol() {
927
927
  }, R.valueOf = function() {
928
928
  return this.$d.getTime();
929
929
  }, R.startOf = function(L, B) {
930
- var O = this, W = !!S.u(B) || B, z = S.p(L), G = function(X, re) {
931
- var Ue = S.w(O.$u ? Date.UTC(O.$y, re, X) : new Date(O.$y, re, X), O);
932
- return W ? Ue : Ue.endOf(t);
933
- }, h = function(X, re) {
934
- return S.w(O.toDate()[X].apply(O.toDate("s"), (W ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(re)), O);
935
- }, E = this.$W, N = this.$M, V = this.$D, $ = "set" + (this.$u ? "UTC" : "");
930
+ var O = this, W = !!S.u(B) || B, z = S.p(L), G = function(Y, ae) {
931
+ var be = S.w(O.$u ? Date.UTC(O.$y, ae, Y) : new Date(O.$y, ae, Y), O);
932
+ return W ? be : be.endOf(t);
933
+ }, h = function(Y, ae) {
934
+ return S.w(O.toDate()[Y].apply(O.toDate("s"), (W ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), O);
935
+ }, E = this.$W, N = this.$M, J = this.$D, q = "set" + (this.$u ? "UTC" : "");
936
936
  switch (z) {
937
937
  case p:
938
938
  return W ? G(1, 0) : G(31, 11);
939
939
  case o:
940
940
  return W ? G(1, N) : G(0, N + 1);
941
941
  case i:
942
- var Z = this.$locale().weekStart || 0, K = (E < Z ? E + 7 : E) - Z;
943
- return G(W ? V - K : V + (6 - K), N);
942
+ var $ = this.$locale().weekStart || 0, V = (E < $ ? E + 7 : E) - $;
943
+ return G(W ? J - V : J + (6 - V), N);
944
944
  case t:
945
945
  case m:
946
- return h($ + "Hours", 0);
946
+ return h(q + "Hours", 0);
947
947
  case l:
948
- return h($ + "Minutes", 1);
948
+ return h(q + "Minutes", 1);
949
949
  case d:
950
- return h($ + "Seconds", 2);
950
+ return h(q + "Seconds", 2);
951
951
  case U:
952
- return h($ + "Milliseconds", 3);
952
+ return h(q + "Milliseconds", 3);
953
953
  default:
954
954
  return this.clone();
955
955
  }
@@ -970,8 +970,8 @@ function ol() {
970
970
  var O, W = this;
971
971
  L = Number(L);
972
972
  var z = S.p(B), G = function(N) {
973
- var V = T(W);
974
- return S.w(V.date(V.date() + Math.round(N * L)), W);
973
+ var J = T(W);
974
+ return S.w(J.date(J.date() + Math.round(N * L)), W);
975
975
  };
976
976
  if (z === o) return this.set(o, this.$M + L);
977
977
  if (z === p) return this.set(p, this.$y + L);
@@ -984,17 +984,17 @@ function ol() {
984
984
  }, R.format = function(L) {
985
985
  var B = this, O = this.$locale();
986
986
  if (!this.isValid()) return O.invalidDate || _;
987
- var W = L || "YYYY-MM-DDTHH:mm:ssZ", z = S.z(this), G = this.$H, h = this.$m, E = this.$M, N = O.weekdays, V = O.months, $ = O.meridiem, Z = function(re, Ue, be, ge) {
988
- return re && (re[Ue] || re(B, W)) || be[Ue].slice(0, ge);
989
- }, K = function(re) {
990
- return S.s(G % 12 || 12, re, "0");
991
- }, X = $ || function(re, Ue, be) {
992
- var ge = re < 12 ? "AM" : "PM";
993
- return be ? ge.toLowerCase() : ge;
987
+ var W = L || "YYYY-MM-DDTHH:mm:ssZ", z = S.z(this), G = this.$H, h = this.$m, E = this.$M, N = O.weekdays, J = O.months, q = O.meridiem, $ = function(ae, be, Ce, pe) {
988
+ return ae && (ae[be] || ae(B, W)) || Ce[be].slice(0, pe);
989
+ }, V = function(ae) {
990
+ return S.s(G % 12 || 12, ae, "0");
991
+ }, Y = q || function(ae, be, Ce) {
992
+ var pe = ae < 12 ? "AM" : "PM";
993
+ return Ce ? pe.toLowerCase() : pe;
994
994
  };
995
- return W.replace(y, (function(re, Ue) {
996
- return Ue || (function(be) {
997
- switch (be) {
995
+ return W.replace(y, (function(ae, be) {
996
+ return be || (function(Ce) {
997
+ switch (Ce) {
998
998
  case "YY":
999
999
  return String(B.$y).slice(-2);
1000
1000
  case "YYYY":
@@ -1004,9 +1004,9 @@ function ol() {
1004
1004
  case "MM":
1005
1005
  return S.s(E + 1, 2, "0");
1006
1006
  case "MMM":
1007
- return Z(O.monthsShort, E, V, 3);
1007
+ return $(O.monthsShort, E, J, 3);
1008
1008
  case "MMMM":
1009
- return Z(V, E);
1009
+ return $(J, E);
1010
1010
  case "D":
1011
1011
  return B.$D;
1012
1012
  case "DD":
@@ -1014,9 +1014,9 @@ function ol() {
1014
1014
  case "d":
1015
1015
  return String(B.$W);
1016
1016
  case "dd":
1017
- return Z(O.weekdaysMin, B.$W, N, 2);
1017
+ return $(O.weekdaysMin, B.$W, N, 2);
1018
1018
  case "ddd":
1019
- return Z(O.weekdaysShort, B.$W, N, 3);
1019
+ return $(O.weekdaysShort, B.$W, N, 3);
1020
1020
  case "dddd":
1021
1021
  return N[B.$W];
1022
1022
  case "H":
@@ -1024,13 +1024,13 @@ function ol() {
1024
1024
  case "HH":
1025
1025
  return S.s(G, 2, "0");
1026
1026
  case "h":
1027
- return K(1);
1027
+ return V(1);
1028
1028
  case "hh":
1029
- return K(2);
1029
+ return V(2);
1030
1030
  case "a":
1031
- return X(G, h, !0);
1031
+ return Y(G, h, !0);
1032
1032
  case "A":
1033
- return X(G, h, !1);
1033
+ return Y(G, h, !1);
1034
1034
  case "m":
1035
1035
  return String(h);
1036
1036
  case "mm":
@@ -1045,23 +1045,23 @@ function ol() {
1045
1045
  return z;
1046
1046
  }
1047
1047
  return null;
1048
- })(re) || z.replace(":", "");
1048
+ })(ae) || z.replace(":", "");
1049
1049
  }));
1050
1050
  }, R.utcOffset = function() {
1051
1051
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1052
1052
  }, R.diff = function(L, B, O) {
1053
- var W, z = this, G = S.p(B), h = T(L), E = (h.utcOffset() - this.utcOffset()) * r, N = this - h, V = function() {
1053
+ var W, z = this, G = S.p(B), h = T(L), E = (h.utcOffset() - this.utcOffset()) * r, N = this - h, J = function() {
1054
1054
  return S.m(z, h);
1055
1055
  };
1056
1056
  switch (G) {
1057
1057
  case p:
1058
- W = V() / 12;
1058
+ W = J() / 12;
1059
1059
  break;
1060
1060
  case o:
1061
- W = V();
1061
+ W = J();
1062
1062
  break;
1063
1063
  case s:
1064
- W = V() / 3;
1064
+ W = J() / 3;
1065
1065
  break;
1066
1066
  case i:
1067
1067
  W = (N - E) / 6048e5;
@@ -1115,7 +1115,7 @@ function ol() {
1115
1115
  })(gt)), gt.exports;
1116
1116
  }
1117
1117
  var sl = ol();
1118
- const Le = /* @__PURE__ */ yi(sl);
1118
+ const Me = /* @__PURE__ */ yi(sl);
1119
1119
  var dt = { exports: {} };
1120
1120
  function ml(e) {
1121
1121
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -2432,18 +2432,18 @@ function ir() {
2432
2432
  ]);
2433
2433
  },
2434
2434
  _doProcessBlock: function(m, _) {
2435
- for (var c = this._hash.words, y = c[0], f = c[1], b = c[2], C = c[3], v = c[4], x = c[5], D = c[6], M = c[7], A = y.high, T = y.low, S = f.high, F = f.low, P = b.high, w = b.low, R = C.high, L = C.low, B = v.high, O = v.low, W = x.high, z = x.low, G = D.high, h = D.low, E = M.high, N = M.low, V = A, $ = T, Z = S, K = F, X = P, re = w, Ue = R, be = L, ge = B, _e = O, Se = W, ue = z, we = G, ce = h, Ce = E, Je = N, Fe = 0; Fe < 80; Fe++) {
2436
- var he, Ie, ta = s[Fe];
2437
- if (Fe < 16)
2438
- Ie = ta.high = m[_ + Fe * 2] | 0, he = ta.low = m[_ + Fe * 2 + 1] | 0;
2435
+ for (var c = this._hash.words, y = c[0], f = c[1], b = c[2], C = c[3], v = c[4], x = c[5], D = c[6], M = c[7], A = y.high, T = y.low, S = f.high, F = f.low, P = b.high, w = b.low, R = C.high, L = C.low, B = v.high, O = v.low, W = x.high, z = x.low, G = D.high, h = D.low, E = M.high, N = M.low, J = A, q = T, $ = S, V = F, Y = P, ae = w, be = R, Ce = L, pe = B, _e = O, Ee = W, ve = z, ce = G, ge = h, ye = E, ze = N, De = 0; De < 80; De++) {
2436
+ var Te, Ve, ta = s[De];
2437
+ if (De < 16)
2438
+ Ve = ta.high = m[_ + De * 2] | 0, Te = ta.low = m[_ + De * 2 + 1] | 0;
2439
2439
  else {
2440
- var ia = s[Fe - 15], De = ia.high, Ae = ia.low, Xe = (De >>> 1 | Ae << 31) ^ (De >>> 8 | Ae << 24) ^ De >>> 7, oa = (Ae >>> 1 | De << 31) ^ (Ae >>> 8 | De << 24) ^ (Ae >>> 7 | De << 25), ga = s[Fe - 2], Ze = ga.high, ea = ga.low, Ja = (Ze >>> 19 | ea << 13) ^ (Ze << 3 | ea >>> 29) ^ Ze >>> 6, Na = (ea >>> 19 | Ze << 13) ^ (ea << 3 | Ze >>> 29) ^ (ea >>> 6 | Ze << 26), La = s[Fe - 7], Za = La.high, Ka = La.low, da = s[Fe - 16], ya = da.high, Qe = da.low;
2441
- he = oa + Ka, Ie = Xe + Za + (he >>> 0 < oa >>> 0 ? 1 : 0), he = he + Na, Ie = Ie + Ja + (he >>> 0 < Na >>> 0 ? 1 : 0), he = he + Qe, Ie = Ie + ya + (he >>> 0 < Qe >>> 0 ? 1 : 0), ta.high = Ie, ta.low = he;
2440
+ var ia = s[De - 15], Ne = ia.high, Oe = ia.low, Xe = (Ne >>> 1 | Oe << 31) ^ (Ne >>> 8 | Oe << 24) ^ Ne >>> 7, oa = (Oe >>> 1 | Ne << 31) ^ (Oe >>> 8 | Ne << 24) ^ (Oe >>> 7 | Ne << 25), ga = s[De - 2], Ze = ga.high, ea = ga.low, Ja = (Ze >>> 19 | ea << 13) ^ (Ze << 3 | ea >>> 29) ^ Ze >>> 6, Na = (ea >>> 19 | Ze << 13) ^ (ea << 3 | Ze >>> 29) ^ (ea >>> 6 | Ze << 26), La = s[De - 7], Za = La.high, Ka = La.low, da = s[De - 16], ya = da.high, Qe = da.low;
2441
+ Te = oa + Ka, Ve = Xe + Za + (Te >>> 0 < oa >>> 0 ? 1 : 0), Te = Te + Na, Ve = Ve + Ja + (Te >>> 0 < Na >>> 0 ? 1 : 0), Te = Te + Qe, Ve = Ve + ya + (Te >>> 0 < Qe >>> 0 ? 1 : 0), ta.high = Ve, ta.low = Te;
2442
2442
  }
2443
- var ca = ge & Se ^ ~ge & we, fa = _e & ue ^ ~_e & ce, Ga = V & Z ^ V & X ^ Z & X, Ma = $ & K ^ $ & re ^ K & re, Ua = (V >>> 28 | $ << 4) ^ (V << 30 | $ >>> 2) ^ (V << 25 | $ >>> 7), Ra = ($ >>> 28 | V << 4) ^ ($ << 30 | V >>> 2) ^ ($ << 25 | V >>> 7), Pa = (ge >>> 14 | _e << 18) ^ (ge >>> 18 | _e << 14) ^ (ge << 23 | _e >>> 9), Ee = (_e >>> 14 | ge << 18) ^ (_e >>> 18 | ge << 14) ^ (_e << 23 | ge >>> 9), J = o[Fe], Ne = J.high, na = J.low, Oe = Je + Ee, ra = Ce + Pa + (Oe >>> 0 < Je >>> 0 ? 1 : 0), Oe = Oe + fa, ra = ra + ca + (Oe >>> 0 < fa >>> 0 ? 1 : 0), Oe = Oe + na, ra = ra + Ne + (Oe >>> 0 < na >>> 0 ? 1 : 0), Oe = Oe + he, ra = ra + Ie + (Oe >>> 0 < he >>> 0 ? 1 : 0), nt = Ra + Ma, ai = Ua + Ga + (nt >>> 0 < Ra >>> 0 ? 1 : 0);
2444
- Ce = we, Je = ce, we = Se, ce = ue, Se = ge, ue = _e, _e = be + Oe | 0, ge = Ue + ra + (_e >>> 0 < be >>> 0 ? 1 : 0) | 0, Ue = X, be = re, X = Z, re = K, Z = V, K = $, $ = Oe + nt | 0, V = ra + ai + ($ >>> 0 < Oe >>> 0 ? 1 : 0) | 0;
2443
+ var ca = pe & Ee ^ ~pe & ce, fa = _e & ve ^ ~_e & ge, Ga = J & $ ^ J & Y ^ $ & Y, Ma = q & V ^ q & ae ^ V & ae, Ua = (J >>> 28 | q << 4) ^ (J << 30 | q >>> 2) ^ (J << 25 | q >>> 7), Ra = (q >>> 28 | J << 4) ^ (q << 30 | J >>> 2) ^ (q << 25 | J >>> 7), Pa = (pe >>> 14 | _e << 18) ^ (pe >>> 18 | _e << 14) ^ (pe << 23 | _e >>> 9), Le = (_e >>> 14 | pe << 18) ^ (_e >>> 18 | pe << 14) ^ (_e << 23 | pe >>> 9), Z = o[De], Ge = Z.high, na = Z.low, Be = ze + Le, ra = ye + Pa + (Be >>> 0 < ze >>> 0 ? 1 : 0), Be = Be + fa, ra = ra + ca + (Be >>> 0 < fa >>> 0 ? 1 : 0), Be = Be + na, ra = ra + Ge + (Be >>> 0 < na >>> 0 ? 1 : 0), Be = Be + Te, ra = ra + Ve + (Be >>> 0 < Te >>> 0 ? 1 : 0), nt = Ra + Ma, ai = Ua + Ga + (nt >>> 0 < Ra >>> 0 ? 1 : 0);
2444
+ ye = ce, ze = ge, ce = Ee, ge = ve, Ee = pe, ve = _e, _e = Ce + Be | 0, pe = be + ra + (_e >>> 0 < Ce >>> 0 ? 1 : 0) | 0, be = Y, Ce = ae, Y = $, ae = V, $ = J, V = q, q = Be + nt | 0, J = ra + ai + (q >>> 0 < Be >>> 0 ? 1 : 0) | 0;
2445
2445
  }
2446
- T = y.low = T + $, y.high = A + V + (T >>> 0 < $ >>> 0 ? 1 : 0), F = f.low = F + K, f.high = S + Z + (F >>> 0 < K >>> 0 ? 1 : 0), w = b.low = w + re, b.high = P + X + (w >>> 0 < re >>> 0 ? 1 : 0), L = C.low = L + be, C.high = R + Ue + (L >>> 0 < be >>> 0 ? 1 : 0), O = v.low = O + _e, v.high = B + ge + (O >>> 0 < _e >>> 0 ? 1 : 0), z = x.low = z + ue, x.high = W + Se + (z >>> 0 < ue >>> 0 ? 1 : 0), h = D.low = h + ce, D.high = G + we + (h >>> 0 < ce >>> 0 ? 1 : 0), N = M.low = N + Je, M.high = E + Ce + (N >>> 0 < Je >>> 0 ? 1 : 0);
2446
+ T = y.low = T + q, y.high = A + J + (T >>> 0 < q >>> 0 ? 1 : 0), F = f.low = F + V, f.high = S + $ + (F >>> 0 < V >>> 0 ? 1 : 0), w = b.low = w + ae, b.high = P + Y + (w >>> 0 < ae >>> 0 ? 1 : 0), L = C.low = L + Ce, C.high = R + be + (L >>> 0 < Ce >>> 0 ? 1 : 0), O = v.low = O + _e, v.high = B + pe + (O >>> 0 < _e >>> 0 ? 1 : 0), z = x.low = z + ve, x.high = W + Ee + (z >>> 0 < ve >>> 0 ? 1 : 0), h = D.low = h + ge, D.high = G + ce + (h >>> 0 < ge >>> 0 ? 1 : 0), N = M.low = N + ze, M.high = E + ye + (N >>> 0 < ze >>> 0 ? 1 : 0);
2447
2447
  },
2448
2448
  _doFinalize: function() {
2449
2449
  var m = this._data, _ = m.words, c = this._nDataBytes * 8, y = m.sigBytes * 8;
@@ -2573,11 +2573,11 @@ function Gl() {
2573
2573
  E.high = N.high, E.low = N.low;
2574
2574
  for (var A = 0; A < 5; A++)
2575
2575
  for (var F = 0; F < 5; F++) {
2576
- var O = A + 5 * F, D = f[O], V = m[O], $ = m[(A + 1) % 5 + 5 * F], Z = m[(A + 2) % 5 + 5 * F];
2577
- D.high = V.high ^ ~$.high & Z.high, D.low = V.low ^ ~$.low & Z.low;
2576
+ var O = A + 5 * F, D = f[O], J = m[O], q = m[(A + 1) % 5 + 5 * F], $ = m[(A + 2) % 5 + 5 * F];
2577
+ D.high = J.high ^ ~q.high & $.high, D.low = J.low ^ ~q.low & $.low;
2578
2578
  }
2579
- var D = f[0], K = p[M];
2580
- D.high ^= K.high, D.low ^= K.low;
2579
+ var D = f[0], V = p[M];
2580
+ D.high ^= V.high, D.low ^= V.low;
2581
2581
  }
2582
2582
  },
2583
2583
  _doFinalize: function() {
@@ -2942,11 +2942,11 @@ function Rl() {
2942
2942
  var A = D + M, T = x[A];
2943
2943
  x[A] = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360;
2944
2944
  }
2945
- var S = this._hash.words, F = p.words, P = m.words, w = t.words, R = i.words, L = o.words, B = s.words, O, W, z, G, h, E, N, V, $, Z;
2946
- E = O = S[0], N = W = S[1], V = z = S[2], $ = G = S[3], Z = h = S[4];
2947
- for (var K, M = 0; M < 80; M += 1)
2948
- K = O + x[D + w[M]] | 0, M < 16 ? K += c(W, z, G) + F[0] : M < 32 ? K += y(W, z, G) + F[1] : M < 48 ? K += f(W, z, G) + F[2] : M < 64 ? K += b(W, z, G) + F[3] : K += C(W, z, G) + F[4], K = K | 0, K = v(K, L[M]), K = K + h | 0, O = h, h = G, G = v(z, 10), z = W, W = K, K = E + x[D + R[M]] | 0, M < 16 ? K += C(N, V, $) + P[0] : M < 32 ? K += b(N, V, $) + P[1] : M < 48 ? K += f(N, V, $) + P[2] : M < 64 ? K += y(N, V, $) + P[3] : K += c(N, V, $) + P[4], K = K | 0, K = v(K, B[M]), K = K + Z | 0, E = Z, Z = $, $ = v(V, 10), V = N, N = K;
2949
- K = S[1] + z + $ | 0, S[1] = S[2] + G + Z | 0, S[2] = S[3] + h + E | 0, S[3] = S[4] + O + N | 0, S[4] = S[0] + W + V | 0, S[0] = K;
2945
+ var S = this._hash.words, F = p.words, P = m.words, w = t.words, R = i.words, L = o.words, B = s.words, O, W, z, G, h, E, N, J, q, $;
2946
+ E = O = S[0], N = W = S[1], J = z = S[2], q = G = S[3], $ = h = S[4];
2947
+ for (var V, M = 0; M < 80; M += 1)
2948
+ V = O + x[D + w[M]] | 0, M < 16 ? V += c(W, z, G) + F[0] : M < 32 ? V += y(W, z, G) + F[1] : M < 48 ? V += f(W, z, G) + F[2] : M < 64 ? V += b(W, z, G) + F[3] : V += C(W, z, G) + F[4], V = V | 0, V = v(V, L[M]), V = V + h | 0, O = h, h = G, G = v(z, 10), z = W, W = V, V = E + x[D + R[M]] | 0, M < 16 ? V += C(N, J, q) + P[0] : M < 32 ? V += b(N, J, q) + P[1] : M < 48 ? V += f(N, J, q) + P[2] : M < 64 ? V += y(N, J, q) + P[3] : V += c(N, J, q) + P[4], V = V | 0, V = v(V, B[M]), V = V + $ | 0, E = $, $ = q, q = v(J, 10), J = N, N = V;
2949
+ V = S[1] + z + q | 0, S[1] = S[2] + G + $ | 0, S[2] = S[3] + h + E | 0, S[3] = S[4] + O + N | 0, S[4] = S[0] + W + J | 0, S[0] = V;
2950
2950
  },
2951
2951
  _doFinalize: function() {
2952
2952
  var x = this._data, D = x.words, M = this._nDataBytes * 8, A = x.sigBytes * 8;
@@ -3194,7 +3194,7 @@ function _a() {
3194
3194
  })(Lt)), Lt.exports;
3195
3195
  }
3196
3196
  var Gt = { exports: {} }, Ol = Gt.exports, Xi;
3197
- function Me() {
3197
+ function Pe() {
3198
3198
  return Xi || (Xi = 1, (function(e, n) {
3199
3199
  (function(a, r, u) {
3200
3200
  e.exports = r(le(), _a());
@@ -3735,7 +3735,7 @@ var Mt = { exports: {} }, Bl = Mt.exports, en;
3735
3735
  function Hl() {
3736
3736
  return en || (en = 1, (function(e, n) {
3737
3737
  (function(a, r, u) {
3738
- e.exports = r(le(), Me());
3738
+ e.exports = r(le(), Pe());
3739
3739
  })(Bl, function(a) {
3740
3740
  return a.mode.CFB = (function() {
3741
3741
  var r = a.lib.BlockCipherMode.extend();
@@ -3765,7 +3765,7 @@ var Rt = { exports: {} }, Wl = Rt.exports, an;
3765
3765
  function zl() {
3766
3766
  return an || (an = 1, (function(e, n) {
3767
3767
  (function(a, r, u) {
3768
- e.exports = r(le(), Me());
3768
+ e.exports = r(le(), Pe());
3769
3769
  })(Wl, function(a) {
3770
3770
  return a.mode.CTR = (function() {
3771
3771
  var r = a.lib.BlockCipherMode.extend(), u = r.Encryptor = r.extend({
@@ -3787,7 +3787,7 @@ var Pt = { exports: {} }, Il = Pt.exports, tn;
3787
3787
  function Vl() {
3788
3788
  return tn || (tn = 1, (function(e, n) {
3789
3789
  (function(a, r, u) {
3790
- e.exports = r(le(), Me());
3790
+ e.exports = r(le(), Pe());
3791
3791
  })(Il, function(a) {
3792
3792
  return a.mode.CTRGladman = (function() {
3793
3793
  var r = a.lib.BlockCipherMode.extend();
@@ -3821,7 +3821,7 @@ var wt = { exports: {} }, Jl = wt.exports, nn;
3821
3821
  function Zl() {
3822
3822
  return nn || (nn = 1, (function(e, n) {
3823
3823
  (function(a, r, u) {
3824
- e.exports = r(le(), Me());
3824
+ e.exports = r(le(), Pe());
3825
3825
  })(Jl, function(a) {
3826
3826
  return a.mode.OFB = (function() {
3827
3827
  var r = a.lib.BlockCipherMode.extend(), u = r.Encryptor = r.extend({
@@ -3841,7 +3841,7 @@ var Ft = { exports: {} }, Kl = Ft.exports, rn;
3841
3841
  function ql() {
3842
3842
  return rn || (rn = 1, (function(e, n) {
3843
3843
  (function(a, r, u) {
3844
- e.exports = r(le(), Me());
3844
+ e.exports = r(le(), Pe());
3845
3845
  })(Kl, function(a) {
3846
3846
  return a.mode.ECB = (function() {
3847
3847
  var r = a.lib.BlockCipherMode.extend();
@@ -3862,7 +3862,7 @@ var At = { exports: {} }, $l = At.exports, ln;
3862
3862
  function Ql() {
3863
3863
  return ln || (ln = 1, (function(e, n) {
3864
3864
  (function(a, r, u) {
3865
- e.exports = r(le(), Me());
3865
+ e.exports = r(le(), Pe());
3866
3866
  })($l, function(a) {
3867
3867
  return a.pad.AnsiX923 = {
3868
3868
  pad: function(r, u) {
@@ -3881,7 +3881,7 @@ var Ot = { exports: {} }, jl = Ot.exports, on;
3881
3881
  function Yl() {
3882
3882
  return on || (on = 1, (function(e, n) {
3883
3883
  (function(a, r, u) {
3884
- e.exports = r(le(), Me());
3884
+ e.exports = r(le(), Pe());
3885
3885
  })(jl, function(a) {
3886
3886
  return a.pad.Iso10126 = {
3887
3887
  pad: function(r, u) {
@@ -3900,7 +3900,7 @@ var Bt = { exports: {} }, Xl = Bt.exports, sn;
3900
3900
  function eo() {
3901
3901
  return sn || (sn = 1, (function(e, n) {
3902
3902
  (function(a, r, u) {
3903
- e.exports = r(le(), Me());
3903
+ e.exports = r(le(), Pe());
3904
3904
  })(Xl, function(a) {
3905
3905
  return a.pad.Iso97971 = {
3906
3906
  pad: function(r, u) {
@@ -3917,7 +3917,7 @@ var Ht = { exports: {} }, ao = Ht.exports, mn;
3917
3917
  function to() {
3918
3918
  return mn || (mn = 1, (function(e, n) {
3919
3919
  (function(a, r, u) {
3920
- e.exports = r(le(), Me());
3920
+ e.exports = r(le(), Pe());
3921
3921
  })(ao, function(a) {
3922
3922
  return a.pad.ZeroPadding = {
3923
3923
  pad: function(r, u) {
@@ -3939,7 +3939,7 @@ var Wt = { exports: {} }, io = Wt.exports, un;
3939
3939
  function no() {
3940
3940
  return un || (un = 1, (function(e, n) {
3941
3941
  (function(a, r, u) {
3942
- e.exports = r(le(), Me());
3942
+ e.exports = r(le(), Pe());
3943
3943
  })(io, function(a) {
3944
3944
  return a.pad.NoPadding = {
3945
3945
  pad: function() {
@@ -3954,7 +3954,7 @@ var zt = { exports: {} }, ro = zt.exports, pn;
3954
3954
  function lo() {
3955
3955
  return pn || (pn = 1, (function(e, n) {
3956
3956
  (function(a, r, u) {
3957
- e.exports = r(le(), Me());
3957
+ e.exports = r(le(), Pe());
3958
3958
  })(ro, function(a) {
3959
3959
  return (function(r) {
3960
3960
  var u = a, g = u.lib, U = g.CipherParams, d = u.enc, l = d.Hex, t = u.format;
@@ -4001,7 +4001,7 @@ var It = { exports: {} }, oo = It.exports, gn;
4001
4001
  function so() {
4002
4002
  return gn || (gn = 1, (function(e, n) {
4003
4003
  (function(a, r, u) {
4004
- e.exports = r(le(), Sa(), Da(), _a(), Me());
4004
+ e.exports = r(le(), Sa(), Da(), _a(), Pe());
4005
4005
  })(oo, function(a) {
4006
4006
  return (function() {
4007
4007
  var r = a, u = r.lib, g = u.BlockCipher, U = r.algo, d = [], l = [], t = [], i = [], o = [], s = [], p = [], m = [], _ = [], c = [];
@@ -4061,7 +4061,7 @@ var Vt = { exports: {} }, mo = Vt.exports, dn;
4061
4061
  function uo() {
4062
4062
  return dn || (dn = 1, (function(e, n) {
4063
4063
  (function(a, r, u) {
4064
- e.exports = r(le(), Sa(), Da(), _a(), Me());
4064
+ e.exports = r(le(), Sa(), Da(), _a(), Pe());
4065
4065
  })(mo, function(a) {
4066
4066
  return (function() {
4067
4067
  var r = a, u = r.lib, g = u.WordArray, U = u.BlockCipher, d = r.algo, l = [
@@ -4781,7 +4781,7 @@ var Jt = { exports: {} }, po = Jt.exports, cn;
4781
4781
  function go() {
4782
4782
  return cn || (cn = 1, (function(e, n) {
4783
4783
  (function(a, r, u) {
4784
- e.exports = r(le(), Sa(), Da(), _a(), Me());
4784
+ e.exports = r(le(), Sa(), Da(), _a(), Pe());
4785
4785
  })(po, function(a) {
4786
4786
  return (function() {
4787
4787
  var r = a, u = r.lib, g = u.StreamCipher, U = r.algo, d = U.RC4 = g.extend({
@@ -4835,7 +4835,7 @@ var Zt = { exports: {} }, co = Zt.exports, fn;
4835
4835
  function fo() {
4836
4836
  return fn || (fn = 1, (function(e, n) {
4837
4837
  (function(a, r, u) {
4838
- e.exports = r(le(), Sa(), Da(), _a(), Me());
4838
+ e.exports = r(le(), Sa(), Da(), _a(), Pe());
4839
4839
  })(co, function(a) {
4840
4840
  return (function() {
4841
4841
  var r = a, u = r.lib, g = u.StreamCipher, U = r.algo, d = [], l = [], t = [], i = U.Rabbit = g.extend({
@@ -4901,7 +4901,7 @@ var Kt = { exports: {} }, _o = Kt.exports, _n;
4901
4901
  function yo() {
4902
4902
  return _n || (_n = 1, (function(e, n) {
4903
4903
  (function(a, r, u) {
4904
- e.exports = r(le(), Sa(), Da(), _a(), Me());
4904
+ e.exports = r(le(), Sa(), Da(), _a(), Pe());
4905
4905
  })(_o, function(a) {
4906
4906
  return (function() {
4907
4907
  var r = a, u = r.lib, g = u.StreamCipher, U = r.algo, d = [], l = [], t = [], i = U.RabbitLegacy = g.extend({
@@ -4965,7 +4965,7 @@ var qt = { exports: {} }, Uo = qt.exports, yn;
4965
4965
  function bo() {
4966
4966
  return yn || (yn = 1, (function(e, n) {
4967
4967
  (function(a, r, u) {
4968
- e.exports = r(le(), Sa(), Da(), _a(), Me());
4968
+ e.exports = r(le(), Sa(), Da(), _a(), Pe());
4969
4969
  })(Uo, function(a) {
4970
4970
  return (function() {
4971
4971
  var r = a, u = r.lib, g = u.BlockCipher, U = r.algo;
@@ -6087,7 +6087,7 @@ var Co = dt.exports, Un;
6087
6087
  function vo() {
6088
6088
  return Un || (Un = 1, (function(e, n) {
6089
6089
  (function(a, r, u) {
6090
- e.exports = r(le(), ei(), _l(), Ul(), Sa(), vl(), Da(), tr(), Ui(), Sl(), ir(), Nl(), Gl(), Rl(), bi(), Fl(), _a(), Me(), Hl(), zl(), Vl(), Zl(), ql(), Ql(), Yl(), eo(), to(), no(), lo(), so(), uo(), go(), fo(), yo(), bo());
6090
+ e.exports = r(le(), ei(), _l(), Ul(), Sa(), vl(), Da(), tr(), Ui(), Sl(), ir(), Nl(), Gl(), Rl(), bi(), Fl(), _a(), Pe(), Hl(), zl(), Vl(), Zl(), ql(), Ql(), Yl(), eo(), to(), no(), lo(), so(), uo(), go(), fo(), yo(), bo());
6091
6091
  })(Co, function(a) {
6092
6092
  return a;
6093
6093
  });
@@ -6104,24 +6104,24 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6104
6104
  padding: Ca.pad.Pkcs7
6105
6105
  }), g = a.toString(Ca.enc.Base64), U = Ca.enc.Base64.stringify(u.ciphertext);
6106
6106
  return g + ":" + U;
6107
- }, ne = () => {
6107
+ }, re = () => {
6108
6108
  const { client: e, formDataClient: n } = se(), a = H(
6109
6109
  async (h) => {
6110
- const { mac_address: E = "", app_version: N = "", anydesk_id: V = "" } = h;
6110
+ const { mac_address: E = "", app_version: N = "", anydesk_id: J = "" } = h;
6111
6111
  return await e.post("/cash-register/login", {
6112
6112
  mac_address: E,
6113
6113
  app_version: N,
6114
- anydesk_id: V
6114
+ anydesk_id: J
6115
6115
  });
6116
6116
  },
6117
6117
  [e]
6118
6118
  ), r = H(async () => e.get("/member/getMemberInfo"), [e]), u = H(async () => await e.get("/member/getGameList"), [e]), g = H(async () => await e.get("/member/getNowCurrencyExchange"), [e]), U = H(async () => await e.get("member/getFavoriteGame"), [e]), d = H(
6119
6119
  async (h) => {
6120
- const { account: E, password: N, trans_code: V } = h;
6120
+ const { account: E, password: N, trans_code: J } = h;
6121
6121
  return await e.post("/login", {
6122
6122
  memId: E,
6123
6123
  passwd: N,
6124
- trans_code: V
6124
+ trans_code: J
6125
6125
  });
6126
6126
  },
6127
6127
  [e]
@@ -6138,32 +6138,32 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6138
6138
  memberId: h,
6139
6139
  password: E,
6140
6140
  unlimitCode: N,
6141
- email: V,
6142
- inviteCode: $,
6143
- currencyCode: Z,
6144
- validCode: K
6141
+ email: J,
6142
+ inviteCode: q,
6143
+ currencyCode: $,
6144
+ validCode: V
6145
6145
  }) => {
6146
- const X = {
6146
+ const Y = {
6147
6147
  memId: h,
6148
6148
  passwd: Fa(E),
6149
- email: V,
6150
- currency_code: Z,
6151
- code: K
6149
+ email: J,
6150
+ currency_code: $,
6151
+ code: V
6152
6152
  };
6153
- return N && (X.unlimit_code = N), $ && (X.invite = $), e.post("/signUp", X);
6153
+ return N && (Y.unlimit_code = N), q && (Y.invite = q), e.post("/signUp", Y);
6154
6154
  },
6155
6155
  [e]
6156
6156
  ), s = H(
6157
6157
  async (h) => {
6158
- const { name: E, birthday: N, email: V, mobile: $ } = h;
6158
+ const { name: E, birthday: N, email: J, mobile: q } = h;
6159
6159
  return await e.post("/editMembetInfo", {
6160
6160
  name: E,
6161
6161
  // 暱稱
6162
6162
  birthday: N,
6163
6163
  // 生日 (格式:YYYY-MM-DD)
6164
- email: V,
6164
+ email: J,
6165
6165
  // 電子郵件
6166
- mobile: $
6166
+ mobile: q
6167
6167
  // 手機號碼
6168
6168
  });
6169
6169
  },
@@ -6215,12 +6215,12 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6215
6215
  [e]
6216
6216
  ), f = H(
6217
6217
  async ({ paramsData: h }) => {
6218
- const { start_time: E, end_time: N, limit: V = 25 } = h || {};
6218
+ const { start_time: E, end_time: N, limit: J = 25 } = h || {};
6219
6219
  return await e.get("/report/totalprofit", {
6220
6220
  params: {
6221
- str_date: `${Le(E).format("YYYY-MM-DD")} 12:00:00`,
6222
- end_date: `${Le(N).format("YYYY-MM-DD")} 11:59:59`,
6223
- limit: V
6221
+ str_date: `${Me(E).format("YYYY-MM-DD")} 12:00:00`,
6222
+ end_date: `${Me(N).format("YYYY-MM-DD")} 11:59:59`,
6223
+ limit: J
6224
6224
  }
6225
6225
  });
6226
6226
  },
@@ -6235,12 +6235,12 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6235
6235
  [e]
6236
6236
  ), C = H(async () => await e.get("/member/checkRestrictedWagering"), [e]), v = H(
6237
6237
  async (h) => {
6238
- const { memId: E, point: N, currency: V, password: $ } = h;
6238
+ const { memId: E, point: N, currency: J, password: q } = h;
6239
6239
  return await e.post("/pointsTransaction", {
6240
6240
  to_memId: E,
6241
6241
  point: N,
6242
- currency: V,
6243
- password: Fa($)
6242
+ currency: J,
6243
+ password: Fa(q)
6244
6244
  });
6245
6245
  },
6246
6246
  [e]
@@ -6249,11 +6249,11 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6249
6249
  const {
6250
6250
  bank_name: E,
6251
6251
  bank_account_name: N,
6252
- bank_branch_name: V,
6253
- bank_account: $,
6254
- bank_card_number: Z,
6255
- id_card: K,
6256
- id_pic: X
6252
+ bank_branch_name: J,
6253
+ bank_account: q,
6254
+ bank_card_number: $,
6255
+ id_card: V,
6256
+ id_pic: Y
6257
6257
  } = h;
6258
6258
  return await n.post("/bindBankAccount", h);
6259
6259
  },
@@ -6268,22 +6268,22 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6268
6268
  [e]
6269
6269
  ), M = H(
6270
6270
  async (h) => {
6271
- const { trans_code: E, line_id: N, invite: V, line_name: $ } = h;
6271
+ const { trans_code: E, line_id: N, invite: J, line_name: q } = h;
6272
6272
  return await e.post("/goLine", {
6273
6273
  trans_code: E,
6274
6274
  line_id: N,
6275
- invite: V,
6276
- line_name: $
6275
+ invite: J,
6276
+ line_name: q
6277
6277
  });
6278
6278
  },
6279
6279
  [e]
6280
6280
  ), A = H(
6281
6281
  async (h) => {
6282
- const { trans_code: E, line_id: N, line_name: V } = h;
6282
+ const { trans_code: E, line_id: N, line_name: J } = h;
6283
6283
  return await e.post("/login/line", {
6284
6284
  trans_code: E,
6285
6285
  line_id: N,
6286
- line_name: V
6286
+ line_name: J
6287
6287
  });
6288
6288
  },
6289
6289
  [e]
@@ -6295,11 +6295,11 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6295
6295
  [e]
6296
6296
  ), S = H(
6297
6297
  async (h) => {
6298
- const { member_info_uid: E, point: N, currency: V, withdraw_password: $ } = h;
6298
+ const { member_info_uid: E, point: N, currency: J, withdraw_password: q } = h;
6299
6299
  return await e.post(`/member/transfer/${E}`, {
6300
6300
  point: N,
6301
- currency: V,
6302
- withdraw_password: $
6301
+ currency: J,
6302
+ withdraw_password: q
6303
6303
  });
6304
6304
  },
6305
6305
  [e]
@@ -6314,25 +6314,25 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6314
6314
  [e]
6315
6315
  ), P = H(
6316
6316
  async (h) => {
6317
- const { mobile: E, verifyCode: N, snCode: V, invoiceType: $, invoiceCode: Z } = h;
6317
+ const { mobile: E, verifyCode: N, snCode: J, invoiceType: q, invoiceCode: $ } = h;
6318
6318
  return await e.post("/goMobile", {
6319
6319
  mobile: E,
6320
6320
  verification_code: N,
6321
- sn_code: V,
6322
- invoice_type: $,
6323
- invoice_code: Z
6321
+ sn_code: J,
6322
+ invoice_type: q,
6323
+ invoice_code: $
6324
6324
  });
6325
6325
  },
6326
6326
  [e]
6327
6327
  ), w = H(
6328
6328
  async (h) => {
6329
- const { mobile: E, verifyCode: N, invite: V, invoiceType: $, invoiceCode: Z } = h;
6329
+ const { mobile: E, verifyCode: N, invite: J, invoiceType: q, invoiceCode: $ } = h;
6330
6330
  return await e.post("/goMobileByInvite", {
6331
6331
  mobile: E,
6332
6332
  verification_code: N,
6333
- invite: V,
6334
- invoice_type: $,
6335
- invoice_code: Z
6333
+ invite: J,
6334
+ invoice_type: q,
6335
+ invoice_code: $
6336
6336
  });
6337
6337
  },
6338
6338
  [e]
@@ -6410,7 +6410,7 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6410
6410
  updateUserAvatarApi: z
6411
6411
  };
6412
6412
  }, Rm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6413
- const { userCurrencyExchangeApi: a } = ne(), { getToken: r } = se(), { enabled: u, ...g } = n, d = !!r?.() && (u ? u.every((l) => l) : !0);
6413
+ const { userCurrencyExchangeApi: a } = re(), { getToken: r } = se(), { enabled: u, ...g } = n, d = !!r?.() && (u ? u.every((l) => l) : !0);
6414
6414
  return In({
6415
6415
  queries: [
6416
6416
  {
@@ -6428,7 +6428,7 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6428
6428
  trigger: n = [],
6429
6429
  enabled: a = !0
6430
6430
  } = {}) => {
6431
- const { getToken: r } = se(), u = r?.(), { userInfoApi: g } = ne();
6431
+ const { getToken: r } = se(), u = r?.(), { userInfoApi: g } = re();
6432
6432
  return In({
6433
6433
  queries: [
6434
6434
  {
@@ -6445,7 +6445,7 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6445
6445
  userFavoriteGameApi: a,
6446
6446
  userGameListApi: r,
6447
6447
  userCurrencyExchangeApi: u
6448
- } = ne(), g = Q({
6448
+ } = re(), g = Q({
6449
6449
  queryKey: ["getMemInfo"],
6450
6450
  queryFn: async () => n(),
6451
6451
  enabled: e
@@ -6497,8 +6497,8 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6497
6497
  ), u = H(
6498
6498
  async (U) => {
6499
6499
  const {
6500
- startDate: d = Le().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6501
- endDate: l = Le().format("YYYY-MM-DD 11:59:59"),
6500
+ startDate: d = Me().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6501
+ endDate: l = Me().format("YYYY-MM-DD 11:59:59"),
6502
6502
  platform: t = "",
6503
6503
  limit: i = 25
6504
6504
  } = U, { data: o } = await e.get("/report/netprofit", {
@@ -6515,8 +6515,8 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
6515
6515
  ), g = H(
6516
6516
  async (U) => {
6517
6517
  const {
6518
- startDate: d = Le().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6519
- endDate: l = Le().format("YYYY-MM-DD 11:59:59"),
6518
+ startDate: d = Me().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6519
+ endDate: l = Me().format("YYYY-MM-DD 11:59:59"),
6520
6520
  platform: t,
6521
6521
  limit: i = 25,
6522
6522
  page: o = 1
@@ -7244,31 +7244,31 @@ function xi() {
7244
7244
  if (s !== null && m === !0) {
7245
7245
  var W, z = !1, G = !0, h = function() {
7246
7246
  return n(void 0, void 0, void 0, function() {
7247
- var E, N, V;
7248
- return a(this, function($) {
7249
- switch ($.label) {
7247
+ var E, N, J;
7248
+ return a(this, function(q) {
7249
+ switch (q.label) {
7250
7250
  case 0:
7251
7251
  return E = x, [4, (0, l.getUrl)(s, P)];
7252
7252
  case 1:
7253
- return E.current = $.sent(), x.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), x.current = "ABORTED", (0, g.flushSync)(function() {
7254
- return C(function(Z) {
7255
- return e(e({}, Z), { ABORTED: U.ReadyState.CLOSED });
7253
+ return E.current = q.sent(), x.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), x.current = "ABORTED", (0, g.flushSync)(function() {
7254
+ return C(function($) {
7255
+ return e(e({}, $), { ABORTED: U.ReadyState.CLOSED });
7256
7256
  });
7257
7257
  }), [
7258
7258
  2
7259
7259
  /*return*/
7260
- ]) : (N = function(Z) {
7260
+ ]) : (N = function($) {
7261
7261
  z || (0, g.flushSync)(function() {
7262
- return y(Z);
7262
+ return y($);
7263
7263
  });
7264
- }, V = function(Z) {
7264
+ }, J = function($) {
7265
7265
  z || (0, g.flushSync)(function() {
7266
- return C(function(K) {
7267
- var X;
7268
- return e(e({}, K), x.current && (X = {}, X[x.current] = Z, X));
7266
+ return C(function(V) {
7267
+ var Y;
7268
+ return e(e({}, V), x.current && (Y = {}, Y[x.current] = $, Y));
7269
7269
  });
7270
7270
  });
7271
- }, G && (W = (0, d.createOrJoinSocket)(D, x.current, V, P, N, M, A, T, L)), [
7271
+ }, G && (W = (0, d.createOrJoinSocket)(D, x.current, J, P, N, M, A, T, L)), [
7272
7272
  2
7273
7273
  /*return*/
7274
7274
  ]);
@@ -7554,70 +7554,70 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7554
7554
  announcementApi: a
7555
7555
  };
7556
7556
  }, Oo = ({ options: e } = {}) => {
7557
- const { userLoginApi: n } = ne();
7557
+ const { userLoginApi: n } = re();
7558
7558
  return ee({
7559
7559
  mutationKey: ["userLogin"],
7560
7560
  mutationFn: async (a) => n(a),
7561
7561
  ...e
7562
7562
  });
7563
7563
  }, Bo = ({ options: e } = {}) => {
7564
- const { userLogoutApi: n } = ne();
7564
+ const { userLogoutApi: n } = re();
7565
7565
  return ee({
7566
7566
  mutationKey: ["userLogout"],
7567
7567
  mutationFn: async () => n(),
7568
7568
  ...e
7569
7569
  });
7570
7570
  }, Ho = ({ options: e } = {}) => {
7571
- const { userSignUpApi: n } = ne();
7571
+ const { userSignUpApi: n } = re();
7572
7572
  return ee({
7573
7573
  mutationKey: ["userSignUp"],
7574
7574
  mutationFn: async (a) => n(a),
7575
7575
  ...e
7576
7576
  });
7577
7577
  }, Wo = ({ options: e } = {}) => {
7578
- const { addOrRemoveFavoriteGameApi: n } = ne();
7578
+ const { addOrRemoveFavoriteGameApi: n } = re();
7579
7579
  return ee({
7580
7580
  mutationKey: ["toggleFavoriteGame"],
7581
7581
  mutationFn: async (a) => n(a),
7582
7582
  ...e
7583
7583
  });
7584
7584
  }, zo = ({ options: e } = {}) => {
7585
- const { updateUserInfoApi: n } = ne();
7585
+ const { updateUserInfoApi: n } = re();
7586
7586
  return ee({
7587
7587
  mutationKey: ["updateUserInfo"],
7588
7588
  mutationFn: async (a) => n(a),
7589
7589
  ...e
7590
7590
  });
7591
7591
  }, Io = ({ options: e } = {}) => {
7592
- const { resetUserPasswordApi: n } = ne();
7592
+ const { resetUserPasswordApi: n } = re();
7593
7593
  return ee({
7594
7594
  mutationKey: ["resetUserPassword"],
7595
7595
  mutationFn: async (a) => n(a),
7596
7596
  ...e
7597
7597
  });
7598
7598
  }, Vo = ({ options: e } = {}) => {
7599
- const { memberInitSetApi: n } = ne();
7599
+ const { memberInitSetApi: n } = re();
7600
7600
  return ee({
7601
7601
  mutationKey: ["memberInitSet"],
7602
7602
  mutationFn: async (a) => n(a),
7603
7603
  ...e
7604
7604
  });
7605
7605
  }, Jo = ({ options: e } = {}) => {
7606
- const { setUserTransactionPasswordApi: n } = ne();
7606
+ const { setUserTransactionPasswordApi: n } = re();
7607
7607
  return ee({
7608
7608
  mutationKey: ["setUserTransactionPassword"],
7609
7609
  mutationFn: async (a) => n(a),
7610
7610
  ...e
7611
7611
  });
7612
7612
  }, Zo = ({ options: e } = {}) => {
7613
- const { resetUserTransactionPasswordApi: n } = ne();
7613
+ const { resetUserTransactionPasswordApi: n } = re();
7614
7614
  return ee({
7615
7615
  mutationKey: ["resetUserTransactionPassword"],
7616
7616
  mutationFn: async (a) => n(a),
7617
7617
  ...e
7618
7618
  });
7619
7619
  }, Ko = ({ paramsData: e, options: n } = {}) => {
7620
- const { userRebateApi: a } = ne(), { getToken: r } = se();
7620
+ const { userRebateApi: a } = re(), { getToken: r } = se();
7621
7621
  return r?.(), Q({
7622
7622
  queryKey: ["userRebate", e],
7623
7623
  queryFn: async () => a({ paramsData: e }),
@@ -7625,14 +7625,14 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7625
7625
  ...n
7626
7626
  });
7627
7627
  }, qo = ({ options: e } = {}) => {
7628
- const { userBindBankApi: n } = ne();
7628
+ const { userBindBankApi: n } = re();
7629
7629
  return ee({
7630
7630
  mutationKey: ["userBindBank"],
7631
7631
  mutationFn: async (a) => n({ formData: a }),
7632
7632
  ...e
7633
7633
  });
7634
7634
  }, $o = ({ options: e } = {}) => {
7635
- const { transferInGameApi: n } = ne();
7635
+ const { transferInGameApi: n } = re();
7636
7636
  return ee({
7637
7637
  mutationKey: ["transferInGame"],
7638
7638
  mutationFn: async (a) => n(a),
@@ -7640,7 +7640,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7640
7640
  ...e
7641
7641
  });
7642
7642
  }, Om = ({ options: e } = {}) => {
7643
- const { currency: n } = se(), { pointTransferApi: a } = ne();
7643
+ const { currency: n } = se(), { pointTransferApi: a } = re();
7644
7644
  return ee({
7645
7645
  mutationKey: ["pointTransfer"],
7646
7646
  mutationFn: async (r) => a({
@@ -7650,7 +7650,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7650
7650
  ...e
7651
7651
  });
7652
7652
  }, Bm = ({ options: e } = {}) => {
7653
- const { currency: n } = se(), { checkUserWagerApi: a } = ne();
7653
+ const { currency: n } = se(), { checkUserWagerApi: a } = re();
7654
7654
  return Q({
7655
7655
  queryKey: ["checkUserWager"],
7656
7656
  queryFn: async () => a(),
@@ -7663,7 +7663,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7663
7663
  ...e
7664
7664
  });
7665
7665
  }, Hm = ({ options: e } = {}) => {
7666
- const n = xa(), { abandonPointsApi: a } = ne();
7666
+ const n = xa(), { abandonPointsApi: a } = re();
7667
7667
  return ee({
7668
7668
  mutationKey: ["abandonPoint"],
7669
7669
  mutationFn: async (r) => a({
@@ -7675,70 +7675,70 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7675
7675
  ...e
7676
7676
  });
7677
7677
  }, lr = ({ options: e } = {}) => {
7678
- const { lineLoginApi: n } = ne();
7678
+ const { lineLoginApi: n } = re();
7679
7679
  return ee({
7680
7680
  mutationKey: ["lineLogin"],
7681
7681
  mutationFn: async (a) => n(a),
7682
7682
  ...e
7683
7683
  });
7684
7684
  }, Qo = ({ options: e } = {}) => {
7685
- const { lineLogin2Api: n } = ne();
7685
+ const { lineLogin2Api: n } = re();
7686
7686
  return ee({
7687
7687
  mutationKey: ["lineLogin"],
7688
7688
  mutationFn: async (a) => n(a),
7689
7689
  ...e
7690
7690
  });
7691
7691
  }, Wm = ({ options: e } = {}) => {
7692
- const { machineLoginApi: n } = ne();
7692
+ const { machineLoginApi: n } = re();
7693
7693
  return ee({
7694
7694
  mutationKey: ["machineLogin"],
7695
7695
  mutationFn: async (a) => n(a),
7696
7696
  ...e
7697
7697
  });
7698
7698
  }, jo = ({ options: e, formData: n } = {}) => {
7699
- const { getMachineLoginCodeApi: a } = ne();
7699
+ const { getMachineLoginCodeApi: a } = re();
7700
7700
  return Q({
7701
7701
  queryKey: ["getMachineLoginCode"],
7702
7702
  queryFn: async () => a(n),
7703
7703
  ...e
7704
7704
  });
7705
7705
  }, zm = ({ options: e } = {}) => {
7706
- const { currency: n } = se(), { memberTransferApi: a } = ne();
7706
+ const { currency: n } = se(), { memberTransferApi: a } = re();
7707
7707
  return ee({
7708
7708
  mutationKey: ["memberTransfer"],
7709
7709
  mutationFn: async (r) => a({ ...r, currency: n }),
7710
7710
  ...e
7711
7711
  });
7712
7712
  }, Im = ({ options: e } = {}) => {
7713
- const { mobileLoginApi: n } = ne();
7713
+ const { mobileLoginApi: n } = re();
7714
7714
  return ee({
7715
7715
  mutationKey: ["mobileLogin"],
7716
7716
  mutationFn: async (a) => n(a),
7717
7717
  ...e
7718
7718
  });
7719
7719
  }, Vm = ({ options: e } = {}) => {
7720
- const { mobileLoginApiV2: n } = ne();
7720
+ const { mobileLoginApiV2: n } = re();
7721
7721
  return ee({
7722
7722
  mutationKey: ["mobileLoginV2"],
7723
7723
  mutationFn: async (a) => n(a),
7724
7724
  ...e
7725
7725
  });
7726
7726
  }, Jm = ({ options: e } = {}) => {
7727
- const { mobileRegisterApi: n } = ne();
7727
+ const { mobileRegisterApi: n } = re();
7728
7728
  return ee({
7729
7729
  mutationKey: ["mobileRegister"],
7730
7730
  mutationFn: async (a) => n(a),
7731
7731
  ...e
7732
7732
  });
7733
7733
  }, Yo = ({ options: e } = {}) => {
7734
- const { bindAccountApi: n } = ne();
7734
+ const { bindAccountApi: n } = re();
7735
7735
  return ee({
7736
7736
  mutationKey: ["bindAccount"],
7737
7737
  mutationFn: async (a) => n(a),
7738
7738
  ...e
7739
7739
  });
7740
7740
  }, Zm = ({ options: e } = {}) => {
7741
- const { sendMobileVerifyCodeApi: n } = ne();
7741
+ const { sendMobileVerifyCodeApi: n } = re();
7742
7742
  return ee({
7743
7743
  mutationKey: ["sendMobileVerifyCode"],
7744
7744
  mutationFn: async (a) => n(a),
@@ -7759,21 +7759,21 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7759
7759
  ...e
7760
7760
  });
7761
7761
  }, $m = ({ options: e } = {}) => {
7762
- const { createMachineApi: n } = ne();
7762
+ const { createMachineApi: n } = re();
7763
7763
  return ee({
7764
7764
  mutationKey: ["createMachine"],
7765
7765
  mutationFn: async (a) => n({ formData: a }),
7766
7766
  ...e
7767
7767
  });
7768
7768
  }, Qm = ({ options: e } = {}) => {
7769
- const { verifyResetActionApi: n } = ne();
7769
+ const { verifyResetActionApi: n } = re();
7770
7770
  return ee({
7771
7771
  mutationKey: ["verifyResetAction"],
7772
7772
  mutationFn: async (a) => n(a),
7773
7773
  ...e
7774
7774
  });
7775
7775
  }, jm = ({ options: e, bonusData: n } = {}) => {
7776
- const { getJackpotApi: a } = ne();
7776
+ const { getJackpotApi: a } = re();
7777
7777
  return Q({
7778
7778
  queryKey: ["getJackpotData"],
7779
7779
  queryFn: async () => a(),
@@ -7792,14 +7792,14 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7792
7792
  ...e
7793
7793
  });
7794
7794
  }, Ym = ({ options: e } = {}) => {
7795
- const { getBetRankingApi: n } = ne();
7795
+ const { getBetRankingApi: n } = re();
7796
7796
  return Q({
7797
7797
  queryKey: ["getBetRankingData"],
7798
7798
  queryFn: async () => n(),
7799
7799
  ...e
7800
7800
  });
7801
7801
  }, Xm = ({ options: e } = {}) => {
7802
- const { getUserAvatarListApi: n } = ne();
7802
+ const { getUserAvatarListApi: n } = re();
7803
7803
  return Q({
7804
7804
  queryKey: ["getAvatarList"],
7805
7805
  queryFn: async () => n(),
@@ -7809,7 +7809,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7809
7809
  ...e
7810
7810
  });
7811
7811
  }, eu = ({ options: e } = {}) => {
7812
- const { updateUserAvatarApi: n } = ne();
7812
+ const { updateUserAvatarApi: n } = re();
7813
7813
  return ee({
7814
7814
  mutationKey: ["updateAvatar"],
7815
7815
  mutationFn: async (a) => n(a),
@@ -7853,7 +7853,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7853
7853
  userRebate: i,
7854
7854
  userBindCard: o
7855
7855
  };
7856
- }, Be = {
7856
+ }, Fe = {
7857
7857
  DEPOSIT: "deposit",
7858
7858
  TRANS_CODE: "transCode",
7859
7859
  ERROR: "error",
@@ -7868,7 +7868,8 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7868
7868
  GAME_MAINTAIN: "game_maintain",
7869
7869
  LINE_LOGIN: "line_login",
7870
7870
  UPDATE_EVENT_WALLET: "update_event_wallet",
7871
- MONTHLY_CARD_ISSUE_POINT: "monthly_card_issue_point"
7871
+ MONTHLY_CARD_ISSUE_POINT: "monthly_card_issue_point",
7872
+ EVENT_CLAIMABLE: "event_claimable"
7872
7873
  }, Xo = 3e4, es = ({
7873
7874
  maintainList: e,
7874
7875
  isInGameBox: n,
@@ -7898,7 +7899,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7898
7899
  disabledLineAutoRegister: U = !1,
7899
7900
  navigate: d = null
7900
7901
  }) => {
7901
- const { store: l, lng: t } = se(), i = xa(), { isReady: o, setAsReady: s, isPending: p, setAsPending: m } = Kn(), _ = $e(t), c = te(!1), y = te(n), f = j(r, "uid", null), b = j(r, "cagent_uid", null);
7902
+ const { store: l, lng: t } = se(), i = xa(), { isReady: o, setAsReady: s, isPending: p, setAsPending: m } = Kn(), _ = $e(t), c = ie(!1), y = ie(n), f = j(r, "uid", null), b = j(r, "cagent_uid", null);
7902
7903
  j(r, "testFunction", 0);
7903
7904
  const C = new URLSearchParams(window.location.search), v = j(
7904
7905
  u,
@@ -7951,7 +7952,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7951
7952
  return null;
7952
7953
  }
7953
7954
  }, [S]);
7954
- pe(() => {
7955
+ ue(() => {
7955
7956
  const L = setInterval(
7956
7957
  () => A("ping"),
7957
7958
  Xo
@@ -7972,11 +7973,11 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7972
7973
  },
7973
7974
  [g, l, _]
7974
7975
  );
7975
- pe(() => {
7976
+ ue(() => {
7976
7977
  y.current = n;
7977
7978
  }, [n]);
7978
- const R = te(null);
7979
- return pe(() => {
7979
+ const R = ie(null);
7980
+ return ue(() => {
7980
7981
  if (!P || R.current === P)
7981
7982
  return;
7982
7983
  R.current = P;
@@ -7990,74 +7991,75 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7990
7991
  onTransferInGame: h,
7991
7992
  onCashRegisterLimit: E,
7992
7993
  onLineLogin: N,
7993
- onMonthlyCardIssuePoint: V
7994
- } = y.current, $ = j(P, "type", ""), Z = {
7994
+ onMonthlyCardIssuePoint: J,
7995
+ onEventClaimable: q
7996
+ } = y.current, $ = j(P, "type", ""), V = {
7995
7997
  memberInfoUid: j(P, "member_info_uid", null),
7996
7998
  data: j(P, "data", null),
7997
7999
  memo: j(P, "memo", null),
7998
8000
  amount: j(P, "amount", null),
7999
8001
  limitAmount: j(P, "limit_amount", null)
8000
- }, K = Number(Z.memberInfoUid) === f, X = Z.data, re = Z.amount, Ue = Z.limitAmount, be = C.get("mac") || pi.get("machine_mac_address") || "", ge = j(P, "data.line_id", null), _e = j(P, "data.line_name", null), Se = j(P, "member_info_uid", null);
8002
+ }, Y = Number(V.memberInfoUid) === f, ae = V.data, be = V.amount, Ce = V.limitAmount, pe = C.get("mac") || pi.get("machine_mac_address") || "", _e = j(P, "data.line_id", null), Ee = j(P, "data.line_name", null), ve = j(P, "member_info_uid", null);
8001
8003
  switch ($) {
8002
- case Be.DEPOSIT:
8003
- K && (M(), L?.(Z));
8004
+ case Fe.DEPOSIT:
8005
+ Y && (M(), L?.(V));
8004
8006
  break;
8005
- case Be.TRANS_CODE:
8006
- B?.(Z);
8007
+ case Fe.TRANS_CODE:
8008
+ B?.(V);
8007
8009
  break;
8008
- case Be.ERROR:
8009
- if (K) {
8010
- const ue = j(P, "open_game_modal", 0) === 1;
8011
- w(X, {
8012
- notificationType: ue ? "gamingNotice" : void 0
8013
- }), O?.(Z);
8010
+ case Fe.ERROR:
8011
+ if (Y) {
8012
+ const ce = j(P, "open_game_modal", 0) === 1;
8013
+ w(ae, {
8014
+ notificationType: ce ? "gamingNotice" : void 0
8015
+ }), O?.(V);
8014
8016
  }
8015
8017
  break;
8016
- case Be.UPDATE_MEMBER:
8018
+ case Fe.UPDATE_MEMBER:
8017
8019
  f && (i.invalidateQueries({
8018
8020
  queryKey: ["getMemberInfo"]
8019
- }), W?.(Z));
8021
+ }), W?.(V));
8020
8022
  break;
8021
- case Be.MAINTAIN_NOTICE:
8022
- w(X, {
8023
+ case Fe.MAINTAIN_NOTICE:
8024
+ w(ae, {
8023
8025
  notificationType: "maintainNotice"
8024
- }), z?.(Z);
8026
+ }), z?.(V);
8025
8027
  break;
8026
- case Be.MAINTAIN_NOTICE_MEMBER: {
8027
- const ue = Z.data?.cagent_uid ?? null;
8028
- if (ue != null) {
8029
- String(b) === String(ue) && (w(Z.data?.msg, { rawMessage: !0 }), G?.(Z), setTimeout(() => {
8028
+ case Fe.MAINTAIN_NOTICE_MEMBER: {
8029
+ const ce = V.data?.cagent_uid ?? null;
8030
+ if (ce != null) {
8031
+ String(b) === String(ce) && (w(V.data?.msg, { rawMessage: !0 }), G?.(V), setTimeout(() => {
8030
8032
  d?.("/");
8031
8033
  }, 5e3));
8032
8034
  return;
8033
- } else if (K) {
8034
- const we = l.getState()?.game?.currentGameData?.gameUid ?? null, ce = Z.data?.game_id;
8035
- if (ce != null) {
8036
- Array.isArray(ce) && ce.some((Ce) => String(Ce) === String(we)) && (w(Z.data?.msg, { rawMessage: !0 }), G?.(Z), setTimeout(() => {
8035
+ } else if (Y) {
8036
+ const ge = l.getState()?.game?.currentGameData?.gameUid ?? null, ye = V.data?.game_id;
8037
+ if (ye != null) {
8038
+ Array.isArray(ye) && ye.some((ze) => String(ze) === String(ge)) && (w(V.data?.msg, { rawMessage: !0 }), G?.(V), setTimeout(() => {
8037
8039
  d?.("/");
8038
8040
  }, 5e3));
8039
8041
  return;
8040
8042
  }
8041
- w(X), G?.(Z), setTimeout(() => {
8043
+ w(ae), G?.(V), setTimeout(() => {
8042
8044
  window.location.reload();
8043
8045
  }, 5e4);
8044
8046
  }
8045
8047
  break;
8046
8048
  }
8047
- case Be.RELOAD:
8049
+ case Fe.RELOAD:
8048
8050
  window.location.reload();
8049
8051
  break;
8050
- case Be.TRANSFER_IN_GAME:
8051
- case Be.CHECK_REQUEST:
8052
- if (K && v) {
8053
- const { request_id: ue, amount: we, platform: ce, status: Ce } = j(Z, "data", {}) || {}, Je = localStorage.getItem(
8052
+ case Fe.TRANSFER_IN_GAME:
8053
+ case Fe.CHECK_REQUEST:
8054
+ if (Y && v) {
8055
+ const { request_id: ce, amount: ge, platform: ye, status: ze } = j(V, "data", {}) || {}, De = localStorage.getItem(
8054
8056
  "transfer_in_game_request_id"
8055
8057
  );
8056
- if (Ce === "pending") {
8057
- localStorage.setItem("transfer_in_game_request_id", ue);
8058
+ if (ze === "pending") {
8059
+ localStorage.setItem("transfer_in_game_request_id", ce);
8058
8060
  return;
8059
- } else if (Je && Je === ue) {
8060
- if (Ce === "rollback") {
8061
+ } else if (De && De === ce) {
8062
+ if (ze === "rollback") {
8061
8063
  M();
8062
8064
  return;
8063
8065
  }
@@ -8065,50 +8067,64 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
8065
8067
  type: "ui/showToast",
8066
8068
  payload: {
8067
8069
  title: Wa[_] || "System Prompt",
8068
- description: `您於${ce}存入的${we}元已經處理完成了,請確認遊戲餘額`,
8070
+ description: `您於${ye}存入的${ge}元已經處理完成了,請確認遊戲餘額`,
8069
8071
  status: "success"
8070
8072
  }
8071
8073
  }), s();
8072
8074
  }
8073
- h?.(Z);
8075
+ h?.(V);
8074
8076
  }
8075
8077
  break;
8076
- case Be.CASH_REGISTER_LIMIT:
8077
- w(X, {
8078
+ case Fe.CASH_REGISTER_LIMIT:
8079
+ w(ae, {
8078
8080
  notificationType: "cashRegisterLimit",
8079
- amount: re,
8080
- limitAmount: Ue
8081
- }), E?.(Z);
8081
+ amount: be,
8082
+ limitAmount: Ce
8083
+ }), E?.(V);
8082
8084
  break;
8083
- case Be.UPDATE_ONLY_ONE_MEMBER:
8084
- K && (i.invalidateQueries({
8085
+ case Fe.UPDATE_ONLY_ONE_MEMBER:
8086
+ Y && (i.invalidateQueries({
8085
8087
  queryKey: ["getMemberInfo"]
8086
- }), W?.(Z));
8088
+ }), W?.(V));
8087
8089
  break;
8088
- case Be.GAME_MAINTAIN: {
8089
- const ue = Z.data, { show: we } = es({
8090
- maintainList: ue,
8090
+ case Fe.GAME_MAINTAIN: {
8091
+ const ce = V.data, { show: ge } = es({
8092
+ maintainList: ce,
8091
8093
  // 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
8092
8094
  // 因為不是每隻遊戲都會帶入該設定)
8093
8095
  isInGameBox: window.location.pathname.includes("gamebox"),
8094
8096
  currentGamePlatform: l.getState()?.game?.currentGameData?.gamePlatform ?? null
8095
8097
  });
8096
- we && w(X, {
8098
+ ge && w(ae, {
8097
8099
  notificationType: "gameMaintain"
8098
8100
  });
8099
8101
  break;
8100
8102
  }
8101
- case Be.LINE_LOGIN:
8102
- Se === be && x({
8103
- line_id: ge,
8104
- line_name: _e
8103
+ case Fe.LINE_LOGIN:
8104
+ ve === pe && x({
8105
+ line_id: _e,
8106
+ line_name: Ee
8105
8107
  });
8106
8108
  break;
8107
- case Be.UPDATE_EVENT_WALLET:
8108
- K && (i.invalidateQueries({ queryKey: ["getEventWalletList"] }), i.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
8109
+ case Fe.UPDATE_EVENT_WALLET:
8110
+ Y && (i.invalidateQueries({ queryKey: ["getEventWalletList"] }), i.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
8111
+ return;
8112
+ case Fe.MONTHLY_CARD_ISSUE_POINT:
8113
+ Y && (i.invalidateQueries({ queryKey: Si }), J?.(V));
8109
8114
  return;
8110
- case Be.MONTHLY_CARD_ISSUE_POINT:
8111
- K && (i.invalidateQueries({ queryKey: Si }), V?.(Z));
8115
+ /**
8116
+ * event_claimable:活動可領取推播
8117
+ * 訊息格式:{ type, member_info_uid, data: { event_uid: [3001, 3005] } }
8118
+ * - 不管有沒有 event_uid,都觸發 useCheckEventStatus(invalidate 讓它 refetch)
8119
+ * - 有 event_uid 時,另外執行外部傳入的客製化 function(帶入整包 payload)
8120
+ * 註:與其他 event/member 推播一致,僅對「當前會員」生效(isForMember)。
8121
+ */
8122
+ case Fe.EVENT_CLAIMABLE:
8123
+ if (Y) {
8124
+ i.invalidateQueries({ queryKey: ["checkEventStatus"] });
8125
+ const ce = V.data?.event_uid;
8126
+ (Array.isArray(ce) ? ce.length > 0 : ce != null) && q?.(V);
8127
+ }
8112
8128
  return;
8113
8129
  default:
8114
8130
  console.warn("Unknown socket type:", $);
@@ -8127,22 +8143,22 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
8127
8143
  s,
8128
8144
  C,
8129
8145
  x
8130
- ]), pe(() => () => c.current = !0, []), pe(() => {
8146
+ ]), ue(() => () => c.current = !0, []), ue(() => {
8131
8147
  localStorage.getItem(
8132
8148
  "transfer_in_game_request_id"
8133
8149
  ) && m();
8134
- }, [m]), pe(() => {
8150
+ }, [m]), ue(() => {
8135
8151
  if (v) {
8136
8152
  const L = localStorage.getItem(
8137
8153
  "transfer_in_game_request_id"
8138
8154
  );
8139
8155
  L && f && p && T({
8140
- type: Be.CHECK_REQUEST,
8156
+ type: Fe.CHECK_REQUEST,
8141
8157
  request_id: L,
8142
8158
  member_info_uid: f
8143
8159
  });
8144
8160
  }
8145
- }, [f, p, T, v]), pe(() => {
8161
+ }, [f, p, T, v]), ue(() => {
8146
8162
  p ? l.dispatch({
8147
8163
  type: "ui/showToast",
8148
8164
  payload: {
@@ -8219,7 +8235,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
8219
8235
  select: (l) => {
8220
8236
  try {
8221
8237
  const { data: t } = l;
8222
- return xe(t, (o) => {
8238
+ return Se(t, (o) => {
8223
8239
  const { events_attributes: s } = o, p = We(
8224
8240
  s,
8225
8241
  (v) => v.attribute_currency === U
@@ -8298,7 +8314,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
8298
8314
  rewardType: p?.reward_type,
8299
8315
  //獎勵類型
8300
8316
  rewardDetail: p?.rewards || {},
8301
- originEventAttribute: xe(s, (v) => ({
8317
+ originEventAttribute: Se(s, (v) => ({
8302
8318
  isActive: v.attribute_is_active === 1,
8303
8319
  currencyCode: v.attribute_currency,
8304
8320
  value: v.attribute_value,
@@ -8368,7 +8384,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
8368
8384
  return Q({
8369
8385
  queryKey: ["checkEventStatus"],
8370
8386
  queryFn: async () => a(n),
8371
- select: (r) => r.data.event_status || r.data.events,
8387
+ select: (r) => r.data.event_status || r.data,
8372
8388
  ...e
8373
8389
  });
8374
8390
  }, nu = ({ options: e } = {}) => {
@@ -8526,7 +8542,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
8526
8542
  queryFn: async () => await a(),
8527
8543
  select: (u) => {
8528
8544
  const g = Ye(u) ? u : u?.data ?? [];
8529
- return xe(g, (U) => {
8545
+ return Se(g, (U) => {
8530
8546
  const d = We(U?.news_language, { language: r }) || We(U?.news_language, { language: "en_US" }) || U?.news_language?.[0];
8531
8547
  return {
8532
8548
  ...U,
@@ -8573,7 +8589,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
8573
8589
  return g && !a ? g : await r();
8574
8590
  },
8575
8591
  select: (g) => {
8576
- const U = Ye(g) ? g : g.Marquees, d = Ye(g) ? g : g.MarqueesInsideGameBox, l = xe(U, (i) => i[u] || i?.en_US), t = xe(d, (i) => i[u] || i?.en_US);
8592
+ const U = Ye(g) ? g : g.Marquees, d = Ye(g) ? g : g.MarqueesInsideGameBox, l = Se(U, (i) => i[u] || i?.en_US), t = Se(d, (i) => i[u] || i?.en_US);
8577
8593
  return {
8578
8594
  marquee: l,
8579
8595
  gameMarquee: t
@@ -8581,14 +8597,14 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
8581
8597
  }
8582
8598
  });
8583
8599
  }, fu = ({ options: e } = {}) => {
8584
- const { rankingGameApi: n } = ne();
8600
+ const { rankingGameApi: n } = re();
8585
8601
  return Q({
8586
8602
  queryKey: ["rankingGame"],
8587
8603
  queryFn: async () => n(),
8588
8604
  enabled: window.profit_ranking_status === 1,
8589
8605
  select: (a) => {
8590
8606
  const { data: r } = a;
8591
- return xe(r, (g) => {
8607
+ return Se(r, (g) => {
8592
8608
  const {
8593
8609
  game_uid: U,
8594
8610
  game_code: d,
@@ -8915,7 +8931,7 @@ function mi(e, n) {
8915
8931
  if (!(u - a < n)) return a = u, e(...r);
8916
8932
  };
8917
8933
  }
8918
- var ke = () => Date.now(), Oa = 2147483647;
8934
+ var xe = () => Date.now(), Oa = 2147483647;
8919
8935
  function hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: a = 0, element: r = bs, events: u = Cs, timers: g = void 0, immediateEvents: U = [], onPresenceChange: d = () => {
8920
8936
  }, onPrompt: l = () => {
8921
8937
  }, onIdle: t = () => {
@@ -8923,8 +8939,8 @@ function hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8923
8939
  }, onAction: o = () => {
8924
8940
  }, onMessage: s = () => {
8925
8941
  }, debounce: p = 0, throttle: m = 0, eventsThrottle: _ = 200, startOnMount: c = !0, startManually: y = !1, stopOnIdle: f = !1, crossTab: b = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: x = !1, disabled: D = !1 } = {}) {
8926
- let M = te(ke()), A = te(ke()), T = te(null), S = te(null), F = te(0), P = te(0), w = te(0), R = te(0), L = te(!1), B = te(!1), O = te(!1), W = te(!0), z = te(!1), G = te(null), h = te(null), E = te(e), N = te(0);
8927
- pe(() => {
8942
+ let M = ie(xe()), A = ie(xe()), T = ie(null), S = ie(null), F = ie(0), P = ie(0), w = ie(0), R = ie(0), L = ie(!1), B = ie(!1), O = ie(!1), W = ie(!0), z = ie(!1), G = ie(null), h = ie(null), E = ie(e), N = ie(0);
8943
+ ue(() => {
8928
8944
  if (n && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), a && n) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
8929
8945
  if (e >= Oa) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Oa}.`);
8930
8946
  if (n >= Oa) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Oa}.`);
@@ -8932,152 +8948,152 @@ function hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8932
8948
  if (a >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
8933
8949
  if (a ? (E.current = e - a, N.current = a) : (E.current = e, N.current = n), !W.current) {
8934
8950
  if (y || D) return;
8935
- L.current && (ge.current(null, Ee), h.current && h.current.active()), Xe();
8951
+ L.current && (pe.current(null, Le), h.current && h.current.active()), Xe();
8936
8952
  }
8937
8953
  }, [e, n, a, y, D]);
8938
- let V = te(f);
8939
- pe(() => {
8940
- V.current = f;
8954
+ let J = ie(f);
8955
+ ue(() => {
8956
+ J.current = f;
8941
8957
  }, [f]);
8942
- let $ = te(U), Z = te(r), K = te([...(/* @__PURE__ */ new Set([...u, ...U])).values()]), X = te(D);
8943
- pe(() => {
8944
- X.current = D, !W.current && (D ? Ze() : y || Xe());
8958
+ let q = ie(U), $ = ie(r), V = ie([...(/* @__PURE__ */ new Set([...u, ...U])).values()]), Y = ie(D);
8959
+ ue(() => {
8960
+ Y.current = D, !W.current && (D ? Ze() : y || Xe());
8945
8961
  }, [D]);
8946
- let re = te(d);
8947
- pe(() => {
8948
- re.current = d;
8962
+ let ae = ie(d);
8963
+ ue(() => {
8964
+ ae.current = d;
8949
8965
  }, [d]);
8950
- let Ue = te(l);
8951
- pe(() => {
8952
- Ue.current = l;
8966
+ let be = ie(l);
8967
+ ue(() => {
8968
+ be.current = l;
8953
8969
  }, [l]);
8954
- let be = te(t);
8955
- pe(() => {
8956
- be.current = t;
8970
+ let Ce = ie(t);
8971
+ ue(() => {
8972
+ Ce.current = t;
8957
8973
  }, [t]);
8958
- let ge = te(i);
8959
- pe(() => {
8960
- ge.current = i;
8974
+ let pe = ie(i);
8975
+ ue(() => {
8976
+ pe.current = i;
8961
8977
  }, [i]);
8962
- let _e = te(o);
8963
- pe(() => {
8978
+ let _e = ie(o);
8979
+ ue(() => {
8964
8980
  _e.current = o;
8965
8981
  }, [o]);
8966
- let Se = te(s);
8967
- pe(() => {
8968
- Se.current = s;
8982
+ let Ee = ie(s);
8983
+ ue(() => {
8984
+ Ee.current = s;
8969
8985
  }, [s]);
8970
- let ue = Ha(() => {
8971
- let J = (Ne, na) => _e.current(Ne, na);
8972
- return p > 0 ? vs(J, p) : m > 0 ? mi(J, m) : J;
8973
- }, [m, p]), we = te();
8974
- pe(() => {
8975
- b && v && (we.current = mi(() => {
8986
+ let ve = Ha(() => {
8987
+ let Z = (Ge, na) => _e.current(Ge, na);
8988
+ return p > 0 ? vs(Z, p) : m > 0 ? mi(Z, m) : Z;
8989
+ }, [m, p]), ce = ie();
8990
+ ue(() => {
8991
+ b && v && (ce.current = mi(() => {
8976
8992
  h.current.active();
8977
8993
  }, v));
8978
8994
  }, [b, v]);
8979
- let ce = () => {
8995
+ let ge = () => {
8980
8996
  G.current !== null && (aa.clearTimeout(G.current), G.current = null);
8981
- }, Ce = (J, Ne = !0) => {
8982
- ce(), G.current = aa.setTimeout(Ie, J || E.current), Ne && (S.current = ke());
8983
- }, Je = (J) => {
8984
- !B.current && !L.current && (Ue.current(J, Ee), re.current({ type: "active", prompted: !0 }, Ee)), R.current = 0, w.current = ke(), B.current = !0, Ce(N.current, !1);
8985
- }, Fe = () => {
8986
- ce(), L.current || (be.current(null, Ee), re.current({ type: "idle" }, Ee)), L.current = !0, T.current = ke(), V.current ? Ae() : B.current && (w.current = 0, B.current = !1);
8987
- }, he = (J) => {
8988
- ce(), (L.current || B.current) && (ge.current(J, Ee), re.current({ type: "active", prompted: !1 }, Ee)), B.current = !1, w.current = 0, L.current = !1, F.current += ke() - T.current, P.current += ke() - T.current, De(), Ce();
8989
- }, Ie = (J) => {
8997
+ }, ye = (Z, Ge = !0) => {
8998
+ ge(), G.current = aa.setTimeout(Ve, Z || E.current), Ge && (S.current = xe());
8999
+ }, ze = (Z) => {
9000
+ !B.current && !L.current && (be.current(Z, Le), ae.current({ type: "active", prompted: !0 }, Le)), R.current = 0, w.current = xe(), B.current = !0, ye(N.current, !1);
9001
+ }, De = () => {
9002
+ ge(), L.current || (Ce.current(null, Le), ae.current({ type: "idle" }, Le)), L.current = !0, T.current = xe(), J.current ? Oe() : B.current && (w.current = 0, B.current = !1);
9003
+ }, Te = (Z) => {
9004
+ ge(), (L.current || B.current) && (pe.current(Z, Le), ae.current({ type: "active", prompted: !1 }, Le)), B.current = !1, w.current = 0, L.current = !1, F.current += xe() - T.current, P.current += xe() - T.current, Ne(), ye();
9005
+ }, Ve = (Z) => {
8990
9006
  if (!L.current) {
8991
- ue.cancel && ue.cancel();
8992
- let Ne = ke() - S.current;
8993
- if (!(E.current + N.current < Ne) && N.current > 0 && !B.current) {
8994
- h.current ? h.current.prompt() : Je(J);
9007
+ ve.cancel && ve.cancel();
9008
+ let Ge = xe() - S.current;
9009
+ if (!(E.current + N.current < Ge) && N.current > 0 && !B.current) {
9010
+ h.current ? h.current.prompt() : ze(Z);
8995
9011
  return;
8996
9012
  }
8997
- h.current ? h.current.idle() : Fe();
9013
+ h.current ? h.current.idle() : De();
8998
9014
  return;
8999
9015
  }
9000
- h.current ? h.current.active() : he(J);
9001
- }, ta = (J) => {
9002
- if (!c && !S.current && (S.current = ke(), ge.current(null, Ee)), ue(J, Ee), B.current) return;
9003
- if (ce(), !L.current && $.current.includes(J.type)) {
9004
- Ie(J);
9016
+ h.current ? h.current.active() : Te(Z);
9017
+ }, ta = (Z) => {
9018
+ if (!c && !S.current && (S.current = xe(), pe.current(null, Le)), ve(Z, Le), B.current) return;
9019
+ if (ge(), !L.current && q.current.includes(Z.type)) {
9020
+ Ve(Z);
9005
9021
  return;
9006
9022
  }
9007
- let Ne = ke() - S.current;
9008
- if (L.current && !f || !L.current && Ne >= E.current) {
9009
- Ie(J);
9023
+ let Ge = xe() - S.current;
9024
+ if (L.current && !f || !L.current && Ge >= E.current) {
9025
+ Ve(Z);
9010
9026
  return;
9011
9027
  }
9012
- O.current = !1, R.current = 0, w.current = 0, Ce(), b && v && we.current();
9013
- }, ia = te(ta);
9014
- pe(() => {
9015
- let J = z.current;
9016
- J && Ae(), _ > 0 ? ia.current = mi(ta, _) : ia.current = ta, J && De();
9028
+ O.current = !1, R.current = 0, w.current = 0, ye(), b && v && ce.current();
9029
+ }, ia = ie(ta);
9030
+ ue(() => {
9031
+ let Z = z.current;
9032
+ Z && Oe(), _ > 0 ? ia.current = mi(ta, _) : ia.current = ta, Z && Ne();
9017
9033
  }, [_, m, p, _e, b, v]);
9018
- let De = () => {
9019
- pa && Z.current && (z.current || (K.current.forEach((J) => {
9020
- Z.current.addEventListener(J, ia.current, { capture: !0, passive: !0 });
9034
+ let Ne = () => {
9035
+ pa && $.current && (z.current || (V.current.forEach((Z) => {
9036
+ $.current.addEventListener(Z, ia.current, { capture: !0, passive: !0 });
9021
9037
  }), z.current = !0));
9022
- }, Ae = (J = !1) => {
9023
- pa && Z.current && (z.current || J) && (K.current.forEach((Ne) => {
9024
- Z.current.removeEventListener(Ne, ia.current, { capture: !0 });
9038
+ }, Oe = (Z = !1) => {
9039
+ pa && $.current && (z.current || Z) && (V.current.forEach((Ge) => {
9040
+ $.current.removeEventListener(Ge, ia.current, { capture: !0 });
9025
9041
  }), z.current = !1);
9026
- }, Xe = H((J) => X.current ? !1 : (ce(), De(), L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, h.current && !J && h.current.start(), Ce(), !0), [G, L, X, E, h]), oa = H((J) => X.current ? !1 : (ce(), De(), A.current = ke(), F.current += ke() - T.current, P.current += ke() - T.current, F.current = 0, L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, h.current && !J && h.current.reset(), y || Ce(), !0), [G, L, E, y, X, h]), ga = H((J) => X.current ? !1 : (ce(), De(), (L.current || B.current) && he(), L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, A.current = ke(), h.current && !J && h.current.activate(), Ce(), !0), [G, L, B, X, E, h]), Ze = H((J = !1) => X.current || O.current ? !1 : (R.current = ya(), O.current = !0, Ae(), ce(), h.current && !J && h.current.pause(), !0), [G, X, h]), ea = H((J = !1) => X.current || !O.current ? !1 : (O.current = !1, B.current || De(), L.current || Ce(R.current), w.current && (w.current = ke()), h.current && !J && h.current.resume(), !0), [G, E, X, R, h]), Ja = H((J, Ne) => (h.current ? (Ne && Se.current(J, Ee), h.current.message(J)) : Ne && Se.current(J, Ee), !0), [s]), Na = H(() => L.current, [L]), La = H(() => B.current, [B]), Za = H(() => h.current ? h.current.isLeader : null, [h]), Ka = H(() => h.current ? h.current.isLastActive : null, [h]), da = H(() => h.current ? h.current.token : null, [h]), ya = H(() => {
9042
+ }, Xe = H((Z) => Y.current ? !1 : (ge(), Ne(), L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, h.current && !Z && h.current.start(), ye(), !0), [G, L, Y, E, h]), oa = H((Z) => Y.current ? !1 : (ge(), Ne(), A.current = xe(), F.current += xe() - T.current, P.current += xe() - T.current, F.current = 0, L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, h.current && !Z && h.current.reset(), y || ye(), !0), [G, L, E, y, Y, h]), ga = H((Z) => Y.current ? !1 : (ge(), Ne(), (L.current || B.current) && Te(), L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, A.current = xe(), h.current && !Z && h.current.activate(), ye(), !0), [G, L, B, Y, E, h]), Ze = H((Z = !1) => Y.current || O.current ? !1 : (R.current = ya(), O.current = !0, Oe(), ge(), h.current && !Z && h.current.pause(), !0), [G, Y, h]), ea = H((Z = !1) => Y.current || !O.current ? !1 : (O.current = !1, B.current || Ne(), L.current || ye(R.current), w.current && (w.current = xe()), h.current && !Z && h.current.resume(), !0), [G, E, Y, R, h]), Ja = H((Z, Ge) => (h.current ? (Ge && Ee.current(Z, Le), h.current.message(Z)) : Ge && Ee.current(Z, Le), !0), [s]), Na = H(() => L.current, [L]), La = H(() => B.current, [B]), Za = H(() => h.current ? h.current.isLeader : null, [h]), Ka = H(() => h.current ? h.current.isLastActive : null, [h]), da = H(() => h.current ? h.current.token : null, [h]), ya = H(() => {
9027
9043
  if (O.current) return R.current;
9028
- let J = R.current ? R.current : N.current + E.current, Ne = S.current ? ke() - S.current : 0, na = Math.floor(J - Ne);
9044
+ let Z = R.current ? R.current : N.current + E.current, Ge = S.current ? xe() - S.current : 0, na = Math.floor(Z - Ge);
9029
9045
  return na < 0 ? 0 : Math.abs(na);
9030
- }, [E, N, B, R, S]), Qe = H(() => Math.round(ke() - A.current), [A]), ca = H(() => Math.round(ke() - M.current), [M]), fa = H(() => T.current ? new Date(T.current) : null, [T]), Ga = H(() => S.current ? new Date(S.current) : null, [S]), Ma = H(() => L.current ? Math.round(ke() - T.current + F.current) : Math.round(F.current), [T, F]), Ua = H(() => L.current ? Math.round(ke() - T.current + P.current) : Math.round(P.current), [T, P]), Ra = H(() => {
9031
- let J = Math.round(Qe() - Ma());
9032
- return J >= 0 ? J : 0;
9046
+ }, [E, N, B, R, S]), Qe = H(() => Math.round(xe() - A.current), [A]), ca = H(() => Math.round(xe() - M.current), [M]), fa = H(() => T.current ? new Date(T.current) : null, [T]), Ga = H(() => S.current ? new Date(S.current) : null, [S]), Ma = H(() => L.current ? Math.round(xe() - T.current + F.current) : Math.round(F.current), [T, F]), Ua = H(() => L.current ? Math.round(xe() - T.current + P.current) : Math.round(P.current), [T, P]), Ra = H(() => {
9047
+ let Z = Math.round(Qe() - Ma());
9048
+ return Z >= 0 ? Z : 0;
9033
9049
  }, [T, F]), Pa = H(() => {
9034
- let J = Math.round(ca() - Ua());
9035
- return J >= 0 ? J : 0;
9050
+ let Z = Math.round(ca() - Ua());
9051
+ return Z >= 0 ? Z : 0;
9036
9052
  }, [T, F]);
9037
- pe(() => {
9053
+ ue(() => {
9038
9054
  if (p > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
9039
9055
  g && ds(g);
9040
- let J = () => {
9041
- h.current && h.current.close(), ue.cancel && ue.cancel(), ce(), Ae(!0);
9056
+ let Z = () => {
9057
+ h.current && h.current.close(), ve.cancel && ve.cancel(), ge(), Oe(!0);
9042
9058
  };
9043
- return pa && window.addEventListener("beforeunload", J), () => {
9044
- pa && window.removeEventListener("beforeunload", J), h.current && h.current.close(), ue.cancel && ue.cancel(), ce(), Ae(!0);
9059
+ return pa && window.addEventListener("beforeunload", Z), () => {
9060
+ pa && window.removeEventListener("beforeunload", Z), h.current && h.current.close(), ve.cancel && ve.cancel(), ge(), Oe(!0);
9045
9061
  };
9046
- }, []), pe(() => {
9062
+ }, []), ue(() => {
9047
9063
  h.current && h.current.close(), b ? h.current = new Us({ channelName: C, leaderElection: x, onPrompt: () => {
9048
- Je();
9064
+ ze();
9049
9065
  }, onIdle: () => {
9050
- Fe();
9066
+ De();
9051
9067
  }, onActive: () => {
9052
- he();
9053
- }, onMessage: (J) => {
9054
- Se.current(J, Ee);
9068
+ Te();
9069
+ }, onMessage: (Z) => {
9070
+ Ee.current(Z, Le);
9055
9071
  }, start: Xe, reset: oa, activate: ga, pause: Ze, resume: ea }) : h.current = null;
9056
- }, [b, C, x, Ue, be, ge, Se, Xe, oa, Ze, ea]), pe(() => {
9057
- W.current || (ce(), Ae(!0)), !(y || D) && (c ? Xe() : De());
9058
- }, [y, c, D, W]), pe(() => {
9072
+ }, [b, C, x, be, Ce, pe, Ee, Xe, oa, Ze, ea]), ue(() => {
9073
+ W.current || (ge(), Oe(!0)), !(y || D) && (c ? Xe() : Ne());
9074
+ }, [y, c, D, W]), ue(() => {
9059
9075
  if (!W.current) {
9060
- let J = [...(/* @__PURE__ */ new Set([...u, ...U])).values()];
9061
- if (Ae(), K.current = J, Z.current = r, $.current = U, y || D) return;
9062
- c ? Xe() : De();
9076
+ let Z = [...(/* @__PURE__ */ new Set([...u, ...U])).values()];
9077
+ if (Oe(), V.current = Z, $.current = r, q.current = U, y || D) return;
9078
+ c ? Xe() : Ne();
9063
9079
  }
9064
- }, [r, JSON.stringify(u), JSON.stringify(U), W, D, y, c]), pe(() => {
9080
+ }, [r, JSON.stringify(u), JSON.stringify(U), W, D, y, c]), ue(() => {
9065
9081
  W.current && (W.current = !1);
9066
9082
  }, [W]);
9067
- let Ee = { message: Ja, start: Xe, reset: oa, activate: ga, pause: Ze, resume: ea, isIdle: Na, isPrompted: La, isLeader: Za, isLastActiveTab: Ka, getTabId: da, getRemainingTime: ya, getElapsedTime: Qe, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Ga, getIdleTime: Ma, getTotalIdleTime: Ua, getActiveTime: Ra, getTotalActiveTime: Pa, setOnPresenceChange: (J) => {
9068
- d = J, re.current = J;
9069
- }, setOnPrompt: (J) => {
9070
- l = J, Ue.current = J;
9071
- }, setOnIdle: (J) => {
9072
- t = J, be.current = J;
9073
- }, setOnActive: (J) => {
9074
- i = J, ge.current = J;
9075
- }, setOnAction: (J) => {
9076
- o = J, _e.current = J;
9077
- }, setOnMessage: (J) => {
9078
- s = J, Se.current = J;
9083
+ let Le = { message: Ja, start: Xe, reset: oa, activate: ga, pause: Ze, resume: ea, isIdle: Na, isPrompted: La, isLeader: Za, isLastActiveTab: Ka, getTabId: da, getRemainingTime: ya, getElapsedTime: Qe, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Ga, getIdleTime: Ma, getTotalIdleTime: Ua, getActiveTime: Ra, getTotalActiveTime: Pa, setOnPresenceChange: (Z) => {
9084
+ d = Z, ae.current = Z;
9085
+ }, setOnPrompt: (Z) => {
9086
+ l = Z, be.current = Z;
9087
+ }, setOnIdle: (Z) => {
9088
+ t = Z, Ce.current = Z;
9089
+ }, setOnActive: (Z) => {
9090
+ i = Z, pe.current = Z;
9091
+ }, setOnAction: (Z) => {
9092
+ o = Z, _e.current = Z;
9093
+ }, setOnMessage: (Z) => {
9094
+ s = Z, Ee.current = Z;
9079
9095
  } };
9080
- return Ee;
9096
+ return Le;
9081
9097
  }
9082
9098
  var Ts = jt(null);
9083
9099
  Ts.Consumer;
@@ -9094,7 +9110,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9094
9110
  queryFn: async () => await n(),
9095
9111
  select: (U) => {
9096
9112
  const { data: d } = U;
9097
- return xe(d, (t) => {
9113
+ return Se(d, (t) => {
9098
9114
  const { internal_notifications_language: i } = t;
9099
9115
  return {
9100
9116
  ...t,
@@ -9191,7 +9207,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9191
9207
  return r({ uid: g, params: U });
9192
9208
  },
9193
9209
  select: (g) => {
9194
- const { data: U } = g, d = U.data?.filter((t) => t.is_active === 1), l = xe(d, (t) => {
9210
+ const { data: U } = g, d = U.data?.filter((t) => t.is_active === 1), l = Se(d, (t) => {
9195
9211
  const i = We(t.news_language, {
9196
9212
  language: u
9197
9213
  }) || t.news_language[0];
@@ -9227,7 +9243,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9227
9243
  },
9228
9244
  ...e
9229
9245
  });
9230
- }, Re = () => {
9246
+ }, we = () => {
9231
9247
  const { client: e } = se(), n = H(async () => await e.get("/payment/list"), [e]), a = H(
9232
9248
  async ({ paramsData: c }) => await e.get("/thirdPartyPayment/list", {
9233
9249
  params: { ...c }
@@ -9278,11 +9294,11 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9278
9294
  [e]
9279
9295
  ), U = H(
9280
9296
  async ({ paramsData: c } = {}) => {
9281
- const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Le().format("HH:mm:ss"), x = Le().subtract(24, "hour").format("HH:mm:ss");
9297
+ const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Me().format("HH:mm:ss"), x = Me().subtract(24, "hour").format("HH:mm:ss");
9282
9298
  return await e.get("/report/deposit", {
9283
9299
  params: {
9284
- str_date: `${Le(y).format("YYYY-MM-DD")} ${v}`,
9285
- end_date: `${Le(f).format("YYYY-MM-DD")} ${x}`,
9300
+ str_date: `${Me(y).format("YYYY-MM-DD")} ${v}`,
9301
+ end_date: `${Me(f).format("YYYY-MM-DD")} ${x}`,
9286
9302
  limit: b,
9287
9303
  page: C
9288
9304
  }
@@ -9291,11 +9307,11 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9291
9307
  [e]
9292
9308
  ), d = H(
9293
9309
  async ({ paramsData: c }) => {
9294
- const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Le().format("HH:mm:ss"), x = Le().subtract(24, "hour").format("HH:mm:ss");
9310
+ const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Me().format("HH:mm:ss"), x = Me().subtract(24, "hour").format("HH:mm:ss");
9295
9311
  return await e.get("report/eventsreward", {
9296
9312
  params: {
9297
- str_date: `${Le(y).format("YYYY-MM-DD")} ${v}`,
9298
- end_date: `${Le(f).format("YYYY-MM-DD")} ${x}`,
9313
+ str_date: `${Me(y).format("YYYY-MM-DD")} ${v}`,
9314
+ end_date: `${Me(f).format("YYYY-MM-DD")} ${x}`,
9299
9315
  limit: b,
9300
9316
  page: C
9301
9317
  }
@@ -9307,8 +9323,8 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9307
9323
  const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {};
9308
9324
  return await e.get("/report/withdraw", {
9309
9325
  params: {
9310
- str_date: `${Le(y).format("YYYY-MM-DD")} 12:00:00`,
9311
- end_date: `${Le(f).format("YYYY-MM-DD")} 11:59:59`,
9326
+ str_date: `${Me(y).format("YYYY-MM-DD")} 12:00:00`,
9327
+ end_date: `${Me(f).format("YYYY-MM-DD")} 11:59:59`,
9312
9328
  limit: b,
9313
9329
  page: C
9314
9330
  }
@@ -9320,8 +9336,8 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9320
9336
  const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {};
9321
9337
  return await e.get("/report/other", {
9322
9338
  params: {
9323
- str_date: `${Le(y).format("YYYY-MM-DD")} 12:00:00`,
9324
- end_date: `${Le(f).format("YYYY-MM-DD")} 11:59:59`,
9339
+ str_date: `${Me(y).format("YYYY-MM-DD")} 12:00:00`,
9340
+ end_date: `${Me(f).format("YYYY-MM-DD")} 11:59:59`,
9325
9341
  limit: b,
9326
9342
  page: C
9327
9343
  }
@@ -9433,21 +9449,21 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9433
9449
  otherTransactionApi: t
9434
9450
  };
9435
9451
  }, Ds = ({ options: e } = {}) => {
9436
- const { depositApiV1: n } = Re();
9452
+ const { depositApiV1: n } = we();
9437
9453
  return Q({
9438
9454
  queryKey: ["depositV1"],
9439
9455
  queryFn: n,
9440
9456
  ...e
9441
9457
  });
9442
9458
  }, Es = ({ paramsData: e, options: n } = {}) => {
9443
- const { depositApiV2: a } = Re();
9459
+ const { depositApiV2: a } = we();
9444
9460
  return Q({
9445
9461
  queryKey: ["depositV2", e],
9446
9462
  queryFn: () => a({ paramsData: e }),
9447
9463
  select: (r) => {
9448
- const { third_party: u, bank: g, vip: U } = r, d = xe(u, (l) => ({
9464
+ const { third_party: u, bank: g, vip: U } = r, d = Se(u, (l) => ({
9449
9465
  ...l,
9450
- providerList: xe(l.providers, (t) => ({
9466
+ providerList: Se(l.providers, (t) => ({
9451
9467
  ...t,
9452
9468
  providerUid: t.uid,
9453
9469
  providerImageUrl: `${qe}/paymentIcon/${Ni(t.provider_name)}.png`,
@@ -9465,112 +9481,112 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9465
9481
  ...n
9466
9482
  });
9467
9483
  }, Ns = ({ options: e } = {}) => {
9468
- const { depositApi: n } = Re();
9484
+ const { depositApi: n } = we();
9469
9485
  return ee({
9470
9486
  mutationKey: ["depositAction"],
9471
9487
  mutationFn: async (a) => n(a),
9472
9488
  ...e
9473
9489
  });
9474
9490
  }, Ls = ({ options: e } = {}) => {
9475
- const { withdrawApi: n } = Re();
9491
+ const { withdrawApi: n } = we();
9476
9492
  return ee({
9477
9493
  mutationKey: ["withdrawAction"],
9478
9494
  mutationFn: async (a) => n(a),
9479
9495
  ...e
9480
9496
  });
9481
9497
  }, Gs = ({ paramsData: e, options: n } = {}) => {
9482
- const { depositTransactionApi: a } = Re();
9498
+ const { depositTransactionApi: a } = we();
9483
9499
  return Q({
9484
9500
  queryKey: ["depositTransaction", e],
9485
9501
  queryFn: () => a({ paramsData: e }),
9486
9502
  ...n
9487
9503
  });
9488
9504
  }, Ms = ({ paramsData: e, options: n } = {}) => {
9489
- const { eventTransactionApi: a } = Re();
9505
+ const { eventTransactionApi: a } = we();
9490
9506
  return Q({
9491
9507
  queryKey: ["eventTransaction", e],
9492
9508
  queryFn: () => a({ paramsData: e }),
9493
9509
  ...n
9494
9510
  });
9495
9511
  }, Rs = ({ options: e } = {}) => {
9496
- const { bankDepositApi: n } = Re();
9512
+ const { bankDepositApi: n } = we();
9497
9513
  return ee({
9498
9514
  mutationKey: ["bankDeposit"],
9499
9515
  mutationFn: async (a) => n(a),
9500
9516
  ...e
9501
9517
  });
9502
9518
  }, Ps = ({ paramsData: e, options: n } = {}) => {
9503
- const { withdrawTransactionApi: a } = Re();
9519
+ const { withdrawTransactionApi: a } = we();
9504
9520
  return Q({
9505
9521
  queryKey: ["withdrawTransaction", e],
9506
9522
  queryFn: () => a({ paramsData: e }),
9507
9523
  ...n
9508
9524
  });
9509
9525
  }, Cu = ({ options: e } = {}) => {
9510
- const { redeemCodeDepositApi: n } = Re();
9526
+ const { redeemCodeDepositApi: n } = we();
9511
9527
  return ee({
9512
9528
  mutationKey: ["redeemCodeDeposit"],
9513
9529
  mutationFn: async (a) => n(a),
9514
9530
  ...e
9515
9531
  });
9516
9532
  }, vu = ({ options: e } = {}) => {
9517
- const { invoiceApi: n } = Re();
9533
+ const { invoiceApi: n } = we();
9518
9534
  return ee({
9519
9535
  mutationKey: ["invoiceAction"],
9520
9536
  mutationFn: async (a) => n(a),
9521
9537
  ...e
9522
9538
  });
9523
9539
  }, hu = ({ options: e } = {}) => {
9524
- const { updateInvoiceApi: n } = Re();
9540
+ const { updateInvoiceApi: n } = we();
9525
9541
  return ee({
9526
9542
  mutationKey: ["updateInvoiceAction"],
9527
9543
  mutationFn: async (a) => n(a),
9528
9544
  ...e
9529
9545
  });
9530
9546
  }, Tu = ({ options: e, paramsData: n } = {}) => {
9531
- const { transactionRecordApi: a } = Re();
9547
+ const { transactionRecordApi: a } = we();
9532
9548
  return Q({
9533
9549
  queryKey: ["transactionRecord", "deposit"],
9534
9550
  queryFn: () => a(n, "deposit"),
9535
9551
  ...e
9536
9552
  });
9537
9553
  }, ku = ({ options: e, paramsData: n } = {}) => {
9538
- const { transactionRecordApi: a } = Re();
9554
+ const { transactionRecordApi: a } = we();
9539
9555
  return Q({
9540
9556
  queryKey: ["transactionRecord", "withdraw"],
9541
9557
  queryFn: () => a(n, "withdraw"),
9542
9558
  ...e
9543
9559
  });
9544
9560
  }, xu = ({ options: e, paramsData: n } = {}) => {
9545
- const { transactionRecordApi: a } = Re();
9561
+ const { transactionRecordApi: a } = we();
9546
9562
  return Q({
9547
9563
  queryKey: ["transactionRecord", "event"],
9548
9564
  queryFn: () => a(n, "event"),
9549
9565
  ...e
9550
9566
  });
9551
9567
  }, Su = ({ options: e, paramsData: n } = {}) => {
9552
- const { transactionRecordApi: a } = Re();
9568
+ const { transactionRecordApi: a } = we();
9553
9569
  return Q({
9554
9570
  queryKey: ["transactionRecord", "rebate"],
9555
9571
  queryFn: () => a(n, "rebate"),
9556
9572
  ...e
9557
9573
  });
9558
9574
  }, Du = ({ options: e, paramsData: n } = {}) => {
9559
- const { treasureRecordApi: a } = Re();
9575
+ const { treasureRecordApi: a } = we();
9560
9576
  return Q({
9561
9577
  queryKey: ["treasureRecord", n],
9562
9578
  queryFn: () => a(n),
9563
9579
  ...e
9564
9580
  });
9565
9581
  }, Eu = ({ options: e, paramsData: n } = {}) => {
9566
- const { snCashRecordApi: a } = Re();
9582
+ const { snCashRecordApi: a } = we();
9567
9583
  return Q({
9568
9584
  queryKey: ["snCashRecord", n],
9569
9585
  queryFn: () => a(n),
9570
9586
  ...e
9571
9587
  });
9572
9588
  }, Nu = ({ options: e, paramsData: n } = {}) => {
9573
- const { otherTransactionApi: a } = Re();
9589
+ const { otherTransactionApi: a } = we();
9574
9590
  return Q({
9575
9591
  queryKey: ["otherTransaction", n],
9576
9592
  queryFn: () => a({ paramsData: n }),
@@ -9602,7 +9618,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9602
9618
  }, ur = "3.8.0", ws = ur, Va = typeof Buffer == "function", wn = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, Fn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Fs = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Xa = Array.prototype.slice.call(Fs), ut = ((e) => {
9603
9619
  let n = {};
9604
9620
  return e.forEach((a, r) => n[a] = r), n;
9605
- })(Xa), As = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Pe = String.fromCharCode.bind(String), An = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), pr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), gr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), dr = (e) => {
9621
+ })(Xa), As = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Ae = String.fromCharCode.bind(String), An = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), pr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), gr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), dr = (e) => {
9606
9622
  let n, a, r, u, g = "";
9607
9623
  const U = e.length % 3;
9608
9624
  for (let d = 0; d < e.length; ) {
@@ -9614,25 +9630,25 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9614
9630
  }, Di = typeof btoa == "function" ? (e) => btoa(e) : Va ? (e) => Buffer.from(e, "binary").toString("base64") : dr, gi = Va ? (e) => Buffer.from(e).toString("base64") : (e) => {
9615
9631
  let a = [];
9616
9632
  for (let r = 0, u = e.length; r < u; r += 4096)
9617
- a.push(Pe.apply(null, e.subarray(r, r + 4096)));
9633
+ a.push(Ae.apply(null, e.subarray(r, r + 4096)));
9618
9634
  return Di(a.join(""));
9619
9635
  }, $t = (e, n = !1) => n ? pr(gi(e)) : gi(e), Os = (e) => {
9620
9636
  if (e.length < 2) {
9621
9637
  var n = e.charCodeAt(0);
9622
- return n < 128 ? e : n < 2048 ? Pe(192 | n >>> 6) + Pe(128 | n & 63) : Pe(224 | n >>> 12 & 15) + Pe(128 | n >>> 6 & 63) + Pe(128 | n & 63);
9638
+ return n < 128 ? e : n < 2048 ? Ae(192 | n >>> 6) + Ae(128 | n & 63) : Ae(224 | n >>> 12 & 15) + Ae(128 | n >>> 6 & 63) + Ae(128 | n & 63);
9623
9639
  } else {
9624
9640
  var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
9625
- return Pe(240 | n >>> 18 & 7) + Pe(128 | n >>> 12 & 63) + Pe(128 | n >>> 6 & 63) + Pe(128 | n & 63);
9641
+ return Ae(240 | n >>> 18 & 7) + Ae(128 | n >>> 12 & 63) + Ae(128 | n >>> 6 & 63) + Ae(128 | n & 63);
9626
9642
  }
9627
9643
  }, Bs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, cr = (e) => e.replace(Bs, Os), On = Va ? (e) => Buffer.from(e, "utf8").toString("base64") : Fn ? (e) => gi(Fn.encode(e)) : (e) => Di(cr(e)), za = (e, n = !1) => n ? pr(On(e)) : On(e), Bn = (e) => za(e, !0), Hs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Ws = (e) => {
9628
9644
  switch (e.length) {
9629
9645
  case 4:
9630
9646
  var n = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), a = n - 65536;
9631
- return Pe((a >>> 10) + 55296) + Pe((a & 1023) + 56320);
9647
+ return Ae((a >>> 10) + 55296) + Ae((a & 1023) + 56320);
9632
9648
  case 3:
9633
- return Pe((15 & e.charCodeAt(0)) << 12 | (63 & e.charCodeAt(1)) << 6 | 63 & e.charCodeAt(2));
9649
+ return Ae((15 & e.charCodeAt(0)) << 12 | (63 & e.charCodeAt(1)) << 6 | 63 & e.charCodeAt(2));
9634
9650
  default:
9635
- return Pe((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
9651
+ return Ae((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
9636
9652
  }
9637
9653
  }, fr = (e) => e.replace(Hs, Ws), _r = (e) => {
9638
9654
  if (e = e.replace(/\s+/g, ""), !As.test(e))
@@ -9640,7 +9656,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9640
9656
  e += "==".slice(2 - (e.length & 3));
9641
9657
  let n, a, r, u = [];
9642
9658
  for (let g = 0; g < e.length; )
9643
- n = ut[e.charAt(g++)] << 18 | ut[e.charAt(g++)] << 12 | (a = ut[e.charAt(g++)]) << 6 | (r = ut[e.charAt(g++)]), a === 64 ? u.push(Pe(n >> 16 & 255)) : r === 64 ? u.push(Pe(n >> 16 & 255, n >> 8 & 255)) : u.push(Pe(n >> 16 & 255, n >> 8 & 255, n & 255));
9659
+ n = ut[e.charAt(g++)] << 18 | ut[e.charAt(g++)] << 12 | (a = ut[e.charAt(g++)]) << 6 | (r = ut[e.charAt(g++)]), a === 64 ? u.push(Ae(n >> 16 & 255)) : r === 64 ? u.push(Ae(n >> 16 & 255, n >> 8 & 255)) : u.push(Ae(n >> 16 & 255, n >> 8 & 255, n & 255));
9644
9660
  return u.join("");
9645
9661
  }, Ei = typeof atob == "function" ? (e) => atob(gr(e)) : Va ? (e) => Buffer.from(e, "base64").toString("binary") : _r, yr = Va ? (e) => An(Buffer.from(e, "base64")) : (e) => An(Ei(e).split("").map((n) => n.charCodeAt(0))), Ur = (e) => yr(br(e)), zs = Va ? (e) => Buffer.from(e, "base64").toString("utf8") : wn ? (e) => wn.decode(yr(e)) : (e) => fr(Ei(e)), br = (e) => gr(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), di = (e) => zs(br(e)), Is = (e) => {
9646
9662
  if (typeof e != "string")
@@ -9794,7 +9810,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9794
9810
  },
9795
9811
  select: (r) => {
9796
9812
  try {
9797
- const u = xe(j(r, "data.data", []), (g) => {
9813
+ const u = Se(j(r, "data.data", []), (g) => {
9798
9814
  const {
9799
9815
  wagering_restricted_amount: U,
9800
9816
  claimed_amount: d
@@ -9932,7 +9948,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9932
9948
  last_page: j(d, "last_page", 1)
9933
9949
  };
9934
9950
  return {
9935
- list: xe(j(d, "data", []), (i) => {
9951
+ list: Se(j(d, "data", []), (i) => {
9936
9952
  const o = We(i.treasure_copywriting, {
9937
9953
  language: u
9938
9954
  });
@@ -9966,7 +9982,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9966
9982
  queryKey: ["vipInfo"],
9967
9983
  queryFn: async () => r(),
9968
9984
  select: (u) => {
9969
- const { data: g } = u, U = j(g, "data", []), d = xe(U, (t) => ({
9985
+ const { data: g } = u, U = j(g, "data", []), d = Se(U, (t) => ({
9970
9986
  currentWager: t.wagering || t.value,
9971
9987
  currentStatus: t.status,
9972
9988
  currentOverflow: t.promotion_overflow,
@@ -9979,7 +9995,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9979
9995
  currentType: g.type,
9980
9996
  currentOverflow: g.promotion_overflow,
9981
9997
  nextLevel: g.promotion_level,
9982
- typeList: xe(d, (t) => t.type),
9998
+ typeList: Se(d, (t) => t.type),
9983
9999
  currentWagerKeyBy: l
9984
10000
  };
9985
10001
  },
@@ -9995,14 +10011,14 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
9995
10011
  },
9996
10012
  select: (u) => {
9997
10013
  const g = Ye(u) ? u : u.data;
9998
- return xe(g, (d) => {
10014
+ return Se(g, (d) => {
9999
10015
  const {
10000
10016
  vip_criteria: l,
10001
10017
  vip_payment_tags: t,
10002
10018
  vip_withdrawal_rate: i,
10003
10019
  rebate_range: o,
10004
10020
  vip_game_rebate: s
10005
- } = d, p = We(l, { currency_code: a }) || {}, m = We(t, { currency_code: a }) || {}, _ = i, c = xe(o, (b) => ({
10021
+ } = d, p = We(l, { currency_code: a }) || {}, m = We(t, { currency_code: a }) || {}, _ = i, c = Se(o, (b) => ({
10006
10022
  ...b,
10007
10023
  rebateRange: JSON.parse(b.rebate_range)
10008
10024
  })), y = j(s, "[0]", {}), f = {
@@ -10027,13 +10043,13 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
10027
10043
  }) => ({
10028
10044
  vipList: Xs({ options: e.vipList })
10029
10045
  }), Ou = ({ onMessage: e } = {}) => {
10030
- const [n, a] = at(!1), [r, u] = at([]), g = te(e);
10046
+ const [n, a] = at(!1), [r, u] = at([]), g = ie(e);
10031
10047
  g.current = e;
10032
10048
  const U = H((o) => {
10033
10049
  const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
10034
10050
  u((p) => [...p, { time: s, message: o }]);
10035
10051
  }, []);
10036
- pe(() => {
10052
+ ue(() => {
10037
10053
  if (window.chrome && window.chrome.webview) {
10038
10054
  a(!0), U("WebView2 環境已就緒");
10039
10055
  const o = (s) => {
@@ -10194,7 +10210,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
10194
10210
  tempMaintenanceEndTime: o,
10195
10211
  platformImageUrl: s
10196
10212
  };
10197
- }, am = (e = {}) => !Yt(e) || Ge(e) ? [] : Xt(e), Hn = (e = []) => !Ye(e) || Ge(e) ? [] : xe(e, "platform"), tm = (e = []) => !Ye(e) || Ge(e) ? [] : xe(e, "gameTypeName"), im = (e = []) => !Ye(e) || Ge(e) ? [] : xe(e, "game_subtype"), nm = (e = {}) => !Yt(e) || Ge(e) ? [] : Xt(e), rm = (e = [], n = []) => !Ye(e) || Ge(e) ? {} : !Ye(n) || Ge(n) ? {} : e.reduce((a, r) => {
10213
+ }, am = (e = {}) => !Yt(e) || Re(e) ? [] : Xt(e), Hn = (e = []) => !Ye(e) || Re(e) ? [] : Se(e, "platform"), tm = (e = []) => !Ye(e) || Re(e) ? [] : Se(e, "gameTypeName"), im = (e = []) => !Ye(e) || Re(e) ? [] : Se(e, "game_subtype"), nm = (e = {}) => !Yt(e) || Re(e) ? [] : Xt(e), rm = (e = [], n = []) => !Ye(e) || Re(e) ? {} : !Ye(n) || Re(n) ? {} : e.reduce((a, r) => {
10198
10214
  const u = n.map((g) => g.game_subtype);
10199
10215
  return u.forEach((g) => {
10200
10216
  a[g] = a[g] || [];
@@ -10205,7 +10221,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
10205
10221
  gameList: a = {},
10206
10222
  allGameTypes: r = [],
10207
10223
  allPlatforms: u = []
10208
- }) => !Ye(e) || !Ye(n) ? {} : Ge(a) ? {} : e.reduce((g, U) => {
10224
+ }) => !Ye(e) || !Ye(n) ? {} : Re(a) ? {} : e.reduce((g, U) => {
10209
10225
  const d = nl({
10210
10226
  gameTypeName: U,
10211
10227
  platforms: n,
@@ -10213,7 +10229,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
10213
10229
  allGameTypes: r,
10214
10230
  allPlatforms: u
10215
10231
  });
10216
- return Ge(d) || (g[U] = d), g;
10232
+ return Re(d) || (g[U] = d), g;
10217
10233
  }, {}), Wu = ({
10218
10234
  types: e = [],
10219
10235
  platforms: n = [],
@@ -10229,13 +10245,13 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
10229
10245
  gamesOfType: l,
10230
10246
  allPlatforms: r
10231
10247
  });
10232
- return Ge(s) ? i : { ...i, [o]: s };
10248
+ return Re(s) ? i : { ...i, [o]: s };
10233
10249
  }, {});
10234
- return Ge(t) || (g[U] = t), g;
10235
- }, {}), om = (e = {}) => !Yt(e) || Ge(e) ? {} : Object.values(e).reduce((a, r) => (Object.entries(r).forEach(([u, g]) => {
10250
+ return Re(t) || (g[U] = t), g;
10251
+ }, {}), om = (e = {}) => !Yt(e) || Re(e) ? {} : Object.values(e).reduce((a, r) => (Object.entries(r).forEach(([u, g]) => {
10236
10252
  a[u] ? a[u] = [...a[u], ...g] : a[u] = g;
10237
10253
  }), a), {}), sm = (e = {}) => {
10238
- if (!Yt(e) || Ge(e)) return {};
10254
+ if (!Yt(e) || Re(e)) return {};
10239
10255
  const n = {};
10240
10256
  for (const [a, r] of Object.entries(e)) {
10241
10257
  n[a] = {};
@@ -10264,7 +10280,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
10264
10280
  gameList: e,
10265
10281
  allGameTypes: a,
10266
10282
  allPlatforms: n
10267
- }), f = xe(n, (M) => {
10283
+ }), f = Se(n, (M) => {
10268
10284
  const A = `${qe}/${Qn}/${M.platformEnum}.png`;
10269
10285
  return {
10270
10286
  ...M,
@@ -10313,7 +10329,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
10313
10329
  favorite: c
10314
10330
  }
10315
10331
  };
10316
- }, zu = (e = []) => !Ye(e) || Ge(e) ? [] : Xt(e, (n) => Ge(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((a) => ({
10332
+ }, zu = (e = []) => !Ye(e) || Re(e) ? [] : Xt(e, (n) => Re(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((a) => ({
10317
10333
  ...n,
10318
10334
  ...a,
10319
10335
  platform: a.SubPlatformEnum,
@@ -10339,7 +10355,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
10339
10355
  },
10340
10356
  user: { favorite: [] }
10341
10357
  }, pm = ({ enabled: e = !0 } = {}) => {
10342
- const { getToken: n } = se(), { userFavoriteGameApi: a, userGameListApi: r } = ne(), { data: u, isLoading: g, error: U, refetch: d } = Q({
10358
+ const { getToken: n } = se(), { userFavoriteGameApi: a, userGameListApi: r } = re(), { data: u, isLoading: g, error: U, refetch: d } = Q({
10343
10359
  queryKey: ["gamesInfo"],
10344
10360
  queryFn: async () => {
10345
10361
  let l = {}, t = {};
@@ -36908,7 +36924,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
36908
36924
  autoFetch: n = !1,
36909
36925
  mockData: a = !1
36910
36926
  }) => {
36911
- pe(() => {
36927
+ ue(() => {
36912
36928
  a && gm(!0);
36913
36929
  }, [a]);
36914
36930
  const r = pm({ enabled: n });
@@ -36946,7 +36962,7 @@ function Iu({
36946
36962
  }
36947
36963
  const Vu = ({ onFunction: e = () => {
36948
36964
  }, buttonProps: n = {} } = {}) => {
36949
- const { lineConfig: a } = se(), r = te(!1), u = j(a, "liffId", ""), g = new URLSearchParams(window.location.search), U = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), t = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = lr({
36965
+ const { lineConfig: a } = se(), r = ie(!1), u = j(a, "liffId", ""), g = new URLSearchParams(window.location.search), U = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), t = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = lr({
36950
36966
  options: {
36951
36967
  onSuccess: (m) => {
36952
36968
  e(m);
@@ -36954,7 +36970,7 @@ const Vu = ({ onFunction: e = () => {
36954
36970
  retry: !1
36955
36971
  }
36956
36972
  });
36957
- pe(() => {
36973
+ ue(() => {
36958
36974
  r.current || U === "true" && l && t && (o({
36959
36975
  trans_code: d,
36960
36976
  line_id: l,
@@ -37002,14 +37018,14 @@ var cm = Object.defineProperty, Qt = Object.getOwnPropertySymbols, Sr = Object.p
37002
37018
  };
37003
37019
  var ka;
37004
37020
  ((e) => {
37005
- const n = class ae {
37021
+ const n = class te {
37006
37022
  /*-- Constructor (low level) and fields --*/
37007
37023
  // Creates a new QR Code with the given version number,
37008
37024
  // error correction level, data codeword bytes, and mask number.
37009
37025
  // This is a low-level API that most users should not use directly.
37010
37026
  // A mid-level API is the encodeSegments() function.
37011
37027
  constructor(l, t, i, o) {
37012
- if (this.version = l, this.errorCorrectionLevel = t, this.modules = [], this.isFunction = [], l < ae.MIN_VERSION || l > ae.MAX_VERSION)
37028
+ if (this.version = l, this.errorCorrectionLevel = t, this.modules = [], this.isFunction = [], l < te.MIN_VERSION || l > te.MAX_VERSION)
37013
37029
  throw new RangeError("Version value out of range");
37014
37030
  if (o < -1 || o > 7)
37015
37031
  throw new RangeError("Mask value out of range");
@@ -37039,7 +37055,7 @@ var ka;
37039
37055
  // ecl argument if it can be done without increasing the version.
37040
37056
  static encodeText(l, t) {
37041
37057
  const i = e.QrSegment.makeSegments(l);
37042
- return ae.encodeSegments(i, t);
37058
+ return te.encodeSegments(i, t);
37043
37059
  }
37044
37060
  // Returns a QR Code representing the given binary data at the given error correction level.
37045
37061
  // This function always encodes using the binary segment mode, not any text mode. The maximum number of
@@ -37047,7 +37063,7 @@ var ka;
37047
37063
  // The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.
37048
37064
  static encodeBinary(l, t) {
37049
37065
  const i = e.QrSegment.makeBytes(l);
37050
- return ae.encodeSegments([i], t);
37066
+ return te.encodeSegments([i], t);
37051
37067
  }
37052
37068
  /*-- Static factory functions (mid level) --*/
37053
37069
  // Returns a QR Code representing the given segments with the given encoding parameters.
@@ -37060,11 +37076,11 @@ var ka;
37060
37076
  // between modes (such as alphanumeric and byte) to encode text in less space.
37061
37077
  // This is a mid-level API; the high-level API is encodeText() and encodeBinary().
37062
37078
  static encodeSegments(l, t, i = 1, o = 40, s = -1, p = !0) {
37063
- if (!(ae.MIN_VERSION <= i && i <= o && o <= ae.MAX_VERSION) || s < -1 || s > 7)
37079
+ if (!(te.MIN_VERSION <= i && i <= o && o <= te.MAX_VERSION) || s < -1 || s > 7)
37064
37080
  throw new RangeError("Invalid value");
37065
37081
  let m, _;
37066
37082
  for (m = i; ; m++) {
37067
- const b = ae.getNumDataCodewords(m, t) * 8, C = U.getTotalBits(l, m);
37083
+ const b = te.getNumDataCodewords(m, t) * 8, C = U.getTotalBits(l, m);
37068
37084
  if (C <= b) {
37069
37085
  _ = C;
37070
37086
  break;
@@ -37072,8 +37088,8 @@ var ka;
37072
37088
  if (m >= o)
37073
37089
  throw new RangeError("Data too long");
37074
37090
  }
37075
- for (const b of [ae.Ecc.MEDIUM, ae.Ecc.QUARTILE, ae.Ecc.HIGH])
37076
- p && _ <= ae.getNumDataCodewords(m, b) * 8 && (t = b);
37091
+ for (const b of [te.Ecc.MEDIUM, te.Ecc.QUARTILE, te.Ecc.HIGH])
37092
+ p && _ <= te.getNumDataCodewords(m, b) * 8 && (t = b);
37077
37093
  let c = [];
37078
37094
  for (const b of l) {
37079
37095
  a(b.mode.modeBits, 4, c), a(b.numChars, b.mode.numCharCountBits(m), c);
@@ -37081,14 +37097,14 @@ var ka;
37081
37097
  c.push(C);
37082
37098
  }
37083
37099
  u(c.length == _);
37084
- const y = ae.getNumDataCodewords(m, t) * 8;
37100
+ const y = te.getNumDataCodewords(m, t) * 8;
37085
37101
  u(c.length <= y), a(0, Math.min(4, y - c.length), c), a(0, (8 - c.length % 8) % 8, c), u(c.length % 8 == 0);
37086
37102
  for (let b = 236; c.length < y; b ^= 253)
37087
37103
  a(b, 8, c);
37088
37104
  let f = [];
37089
37105
  for (; f.length * 8 < c.length; )
37090
37106
  f.push(0);
37091
- return c.forEach((b, C) => f[C >>> 3] |= b << 7 - (C & 7)), new ae(m, t, f, s);
37107
+ return c.forEach((b, C) => f[C >>> 3] |= b << 7 - (C & 7)), new te(m, t, f, s);
37092
37108
  }
37093
37109
  /*-- Accessor methods --*/
37094
37110
  // Returns the color of the module (pixel) at the given coordinates, which is false
@@ -37174,15 +37190,15 @@ var ka;
37174
37190
  // codewords appended to it, based on this object's version and error correction level.
37175
37191
  addEccAndInterleave(l) {
37176
37192
  const t = this.version, i = this.errorCorrectionLevel;
37177
- if (l.length != ae.getNumDataCodewords(t, i))
37193
+ if (l.length != te.getNumDataCodewords(t, i))
37178
37194
  throw new RangeError("Invalid argument");
37179
- const o = ae.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][t], s = ae.ECC_CODEWORDS_PER_BLOCK[i.ordinal][t], p = Math.floor(ae.getNumRawDataModules(t) / 8), m = o - p % o, _ = Math.floor(p / o);
37195
+ const o = te.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][t], s = te.ECC_CODEWORDS_PER_BLOCK[i.ordinal][t], p = Math.floor(te.getNumRawDataModules(t) / 8), m = o - p % o, _ = Math.floor(p / o);
37180
37196
  let c = [];
37181
- const y = ae.reedSolomonComputeDivisor(s);
37197
+ const y = te.reedSolomonComputeDivisor(s);
37182
37198
  for (let b = 0, C = 0; b < o; b++) {
37183
37199
  let v = l.slice(C, C + _ - s + (b < m ? 0 : 1));
37184
37200
  C += v.length;
37185
- const x = ae.reedSolomonComputeRemainder(v, y);
37201
+ const x = te.reedSolomonComputeRemainder(v, y);
37186
37202
  b < m && v.push(0), c.push(v.concat(x));
37187
37203
  }
37188
37204
  let f = [];
@@ -37195,7 +37211,7 @@ var ka;
37195
37211
  // Draws the given sequence of 8-bit codewords (data and error correction) onto the entire
37196
37212
  // data area of this QR Code. Function modules need to be marked off before this is called.
37197
37213
  drawCodewords(l) {
37198
- if (l.length != Math.floor(ae.getNumRawDataModules(this.version) / 8))
37214
+ if (l.length != Math.floor(te.getNumRawDataModules(this.version) / 8))
37199
37215
  throw new RangeError("Invalid argument");
37200
37216
  let t = 0;
37201
37217
  for (let i = this.size - 1; i >= 1; i -= 2) {
@@ -37257,25 +37273,25 @@ var ka;
37257
37273
  for (let s = 0; s < this.size; s++) {
37258
37274
  let p = !1, m = 0, _ = [0, 0, 0, 0, 0, 0, 0];
37259
37275
  for (let c = 0; c < this.size; c++)
37260
- this.modules[s][c] == p ? (m++, m == 5 ? l += ae.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, _), p || (l += this.finderPenaltyCountPatterns(_) * ae.PENALTY_N3), p = this.modules[s][c], m = 1);
37261
- l += this.finderPenaltyTerminateAndCount(p, m, _) * ae.PENALTY_N3;
37276
+ this.modules[s][c] == p ? (m++, m == 5 ? l += te.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, _), p || (l += this.finderPenaltyCountPatterns(_) * te.PENALTY_N3), p = this.modules[s][c], m = 1);
37277
+ l += this.finderPenaltyTerminateAndCount(p, m, _) * te.PENALTY_N3;
37262
37278
  }
37263
37279
  for (let s = 0; s < this.size; s++) {
37264
37280
  let p = !1, m = 0, _ = [0, 0, 0, 0, 0, 0, 0];
37265
37281
  for (let c = 0; c < this.size; c++)
37266
- this.modules[c][s] == p ? (m++, m == 5 ? l += ae.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, _), p || (l += this.finderPenaltyCountPatterns(_) * ae.PENALTY_N3), p = this.modules[c][s], m = 1);
37267
- l += this.finderPenaltyTerminateAndCount(p, m, _) * ae.PENALTY_N3;
37282
+ this.modules[c][s] == p ? (m++, m == 5 ? l += te.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, _), p || (l += this.finderPenaltyCountPatterns(_) * te.PENALTY_N3), p = this.modules[c][s], m = 1);
37283
+ l += this.finderPenaltyTerminateAndCount(p, m, _) * te.PENALTY_N3;
37268
37284
  }
37269
37285
  for (let s = 0; s < this.size - 1; s++)
37270
37286
  for (let p = 0; p < this.size - 1; p++) {
37271
37287
  const m = this.modules[s][p];
37272
- m == this.modules[s][p + 1] && m == this.modules[s + 1][p] && m == this.modules[s + 1][p + 1] && (l += ae.PENALTY_N2);
37288
+ m == this.modules[s][p + 1] && m == this.modules[s + 1][p] && m == this.modules[s + 1][p + 1] && (l += te.PENALTY_N2);
37273
37289
  }
37274
37290
  let t = 0;
37275
37291
  for (const s of this.modules)
37276
37292
  t = s.reduce((p, m) => p + (m ? 1 : 0), t);
37277
37293
  const i = this.size * this.size, o = Math.ceil(Math.abs(t * 20 - i * 10) / i) - 1;
37278
- return u(0 <= o && o <= 9), l += o * ae.PENALTY_N4, u(0 <= l && l <= 2568888), l;
37294
+ return u(0 <= o && o <= 9), l += o * te.PENALTY_N4, u(0 <= l && l <= 2568888), l;
37279
37295
  }
37280
37296
  /*-- Private helper functions --*/
37281
37297
  // Returns an ascending list of positions of alignment patterns for this version number.
@@ -37296,7 +37312,7 @@ var ka;
37296
37312
  // all function modules are excluded. This includes remainder bits, so it might not be a multiple of 8.
37297
37313
  // The result is in the range [208, 29648]. This could be implemented as a 40-entry lookup table.
37298
37314
  static getNumRawDataModules(l) {
37299
- if (l < ae.MIN_VERSION || l > ae.MAX_VERSION)
37315
+ if (l < te.MIN_VERSION || l > te.MAX_VERSION)
37300
37316
  throw new RangeError("Version number out of range");
37301
37317
  let t = (16 * l + 128) * l + 64;
37302
37318
  if (l >= 2) {
@@ -37309,7 +37325,7 @@ var ka;
37309
37325
  // QR Code of the given version number and error correction level, with remainder bits discarded.
37310
37326
  // This stateless pure function could be implemented as a (40*4)-cell lookup table.
37311
37327
  static getNumDataCodewords(l, t) {
37312
- return Math.floor(ae.getNumRawDataModules(l) / 8) - ae.ECC_CODEWORDS_PER_BLOCK[t.ordinal][l] * ae.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][l];
37328
+ return Math.floor(te.getNumRawDataModules(l) / 8) - te.ECC_CODEWORDS_PER_BLOCK[t.ordinal][l] * te.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][l];
37313
37329
  }
37314
37330
  // Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be
37315
37331
  // implemented as a lookup table over all possible parameter values, instead of as an algorithm.
@@ -37323,8 +37339,8 @@ var ka;
37323
37339
  let i = 1;
37324
37340
  for (let o = 0; o < l; o++) {
37325
37341
  for (let s = 0; s < t.length; s++)
37326
- t[s] = ae.reedSolomonMultiply(t[s], i), s + 1 < t.length && (t[s] ^= t[s + 1]);
37327
- i = ae.reedSolomonMultiply(i, 2);
37342
+ t[s] = te.reedSolomonMultiply(t[s], i), s + 1 < t.length && (t[s] ^= t[s + 1]);
37343
+ i = te.reedSolomonMultiply(i, 2);
37328
37344
  }
37329
37345
  return t;
37330
37346
  }
@@ -37333,7 +37349,7 @@ var ka;
37333
37349
  let i = t.map((o) => 0);
37334
37350
  for (const o of l) {
37335
37351
  const s = o ^ i.shift();
37336
- i.push(0), t.forEach((p, m) => i[m] ^= ae.reedSolomonMultiply(p, s));
37352
+ i.push(0), t.forEach((p, m) => i[m] ^= te.reedSolomonMultiply(p, s));
37337
37353
  }
37338
37354
  return i;
37339
37355
  }
@@ -37400,7 +37416,7 @@ var ka;
37400
37416
  if (!d)
37401
37417
  throw new Error("Assertion error");
37402
37418
  }
37403
- const g = class ye {
37419
+ const g = class Ue {
37404
37420
  /*-- Constructor (low level) and fields --*/
37405
37421
  // Creates a new QR Code segment with the given attributes and data.
37406
37422
  // The character count (numChars) must agree with the mode and the bit buffer length,
@@ -37418,36 +37434,36 @@ var ka;
37418
37434
  let t = [];
37419
37435
  for (const i of l)
37420
37436
  a(i, 8, t);
37421
- return new ye(ye.Mode.BYTE, l.length, t);
37437
+ return new Ue(Ue.Mode.BYTE, l.length, t);
37422
37438
  }
37423
37439
  // Returns a segment representing the given string of decimal digits encoded in numeric mode.
37424
37440
  static makeNumeric(l) {
37425
- if (!ye.isNumeric(l))
37441
+ if (!Ue.isNumeric(l))
37426
37442
  throw new RangeError("String contains non-numeric characters");
37427
37443
  let t = [];
37428
37444
  for (let i = 0; i < l.length; ) {
37429
37445
  const o = Math.min(l.length - i, 3);
37430
37446
  a(parseInt(l.substring(i, i + o), 10), o * 3 + 1, t), i += o;
37431
37447
  }
37432
- return new ye(ye.Mode.NUMERIC, l.length, t);
37448
+ return new Ue(Ue.Mode.NUMERIC, l.length, t);
37433
37449
  }
37434
37450
  // Returns a segment representing the given text string encoded in alphanumeric mode.
37435
37451
  // The characters allowed are: 0 to 9, A to Z (uppercase only), space,
37436
37452
  // dollar, percent, asterisk, plus, hyphen, period, slash, colon.
37437
37453
  static makeAlphanumeric(l) {
37438
- if (!ye.isAlphanumeric(l))
37454
+ if (!Ue.isAlphanumeric(l))
37439
37455
  throw new RangeError("String contains unencodable characters in alphanumeric mode");
37440
37456
  let t = [], i;
37441
37457
  for (i = 0; i + 2 <= l.length; i += 2) {
37442
- let o = ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)) * 45;
37443
- o += ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i + 1)), a(o, 11, t);
37458
+ let o = Ue.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)) * 45;
37459
+ o += Ue.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i + 1)), a(o, 11, t);
37444
37460
  }
37445
- return i < l.length && a(ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)), 6, t), new ye(ye.Mode.ALPHANUMERIC, l.length, t);
37461
+ return i < l.length && a(Ue.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)), 6, t), new Ue(Ue.Mode.ALPHANUMERIC, l.length, t);
37446
37462
  }
37447
37463
  // Returns a new mutable list of zero or more segments to represent the given Unicode text string.
37448
37464
  // The result may use various segment modes and switch modes to optimize the length of the bit stream.
37449
37465
  static makeSegments(l) {
37450
- return l == "" ? [] : ye.isNumeric(l) ? [ye.makeNumeric(l)] : ye.isAlphanumeric(l) ? [ye.makeAlphanumeric(l)] : [ye.makeBytes(ye.toUtf8ByteArray(l))];
37466
+ return l == "" ? [] : Ue.isNumeric(l) ? [Ue.makeNumeric(l)] : Ue.isAlphanumeric(l) ? [Ue.makeAlphanumeric(l)] : [Ue.makeBytes(Ue.toUtf8ByteArray(l))];
37451
37467
  }
37452
37468
  // Returns a segment representing an Extended Channel Interpretation
37453
37469
  // (ECI) designator with the given assignment value.
@@ -37463,18 +37479,18 @@ var ka;
37463
37479
  a(6, 3, t), a(l, 21, t);
37464
37480
  else
37465
37481
  throw new RangeError("ECI assignment value out of range");
37466
- return new ye(ye.Mode.ECI, 0, t);
37482
+ return new Ue(Ue.Mode.ECI, 0, t);
37467
37483
  }
37468
37484
  // Tests whether the given string can be encoded as a segment in numeric mode.
37469
37485
  // A string is encodable iff each character is in the range 0 to 9.
37470
37486
  static isNumeric(l) {
37471
- return ye.NUMERIC_REGEX.test(l);
37487
+ return Ue.NUMERIC_REGEX.test(l);
37472
37488
  }
37473
37489
  // Tests whether the given string can be encoded as a segment in alphanumeric mode.
37474
37490
  // A string is encodable iff each character is in the following set: 0 to 9, A to Z
37475
37491
  // (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
37476
37492
  static isAlphanumeric(l) {
37477
- return ye.ALPHANUMERIC_REGEX.test(l);
37493
+ return Ue.ALPHANUMERIC_REGEX.test(l);
37478
37494
  }
37479
37495
  /*-- Methods --*/
37480
37496
  // Returns a new copy of the data bits of this segment.
@@ -37852,7 +37868,7 @@ const Tm = {
37852
37868
  expired: "Kode QR telah kedaluwarsa"
37853
37869
  }
37854
37870
  }, Ku = ({ forcedShow: e = !1, isVisible: n, setIsVisible: a } = {}) => {
37855
- const { lng: r, getToken: u, lineConfig: g } = se(), [U, d] = at(300), [l, t] = at(!1), i = te(null), o = j(g, "liffId", ""), s = $e(r), p = u?.(), _ = new URLSearchParams(window.location.search).get("mac") || pi.get("machine_mac_address") || "", { data: c, isFetching: y } = jo({
37871
+ const { lng: r, getToken: u, lineConfig: g } = se(), [U, d] = at(300), [l, t] = at(!1), i = ie(null), o = j(g, "liffId", ""), s = $e(r), p = u?.(), _ = new URLSearchParams(window.location.search).get("mac") || pi.get("machine_mac_address") || "", { data: c, isFetching: y } = jo({
37856
37872
  formData: {
37857
37873
  mac_address: _
37858
37874
  },
@@ -37860,9 +37876,9 @@ const Tm = {
37860
37876
  enabled: e ? !0 : !!_ && !p
37861
37877
  }
37862
37878
  }), f = j(c, "liff_url", "") || `https://liff.line.me/${o}`;
37863
- pe(() => {
37879
+ ue(() => {
37864
37880
  _ && pi.set("machine_mac_address", _, { expires: 365 });
37865
- }, [_]), pe(() => (f && (d(300), t(!1), i.current && clearInterval(i.current), i.current = setInterval(() => {
37881
+ }, [_]), ue(() => (f && (d(300), t(!1), i.current && clearInterval(i.current), i.current = setInterval(() => {
37866
37882
  d((v) => v <= 1 ? (clearInterval(i.current), t(!0), 0) : v - 1);
37867
37883
  }, 1e3)), () => {
37868
37884
  i.current && clearInterval(i.current);
@@ -37931,8 +37947,8 @@ const Tm = {
37931
37947
  });
37932
37948
  }
37933
37949
  }
37934
- }), U = te(!1);
37935
- return pe(() => {
37950
+ }), U = ie(!1);
37951
+ return ue(() => {
37936
37952
  if (U.current) return;
37937
37953
  const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), t = d.get("bind_id");
37938
37954
  l && t && (U.current = !0, l === "line" ? n({ bindType: l, bindId: t }) : console.warn(`Unsupported bind type: ${l}`));
@@ -37946,7 +37962,7 @@ export {
37946
37962
  Vu as LineLogin,
37947
37963
  Ku as LineQrCode,
37948
37964
  Si as MONTH_CARD_QUERY_KEY,
37949
- Be as SOCKET_TYPE,
37965
+ Fe as SOCKET_TYPE,
37950
37966
  Qa as STATUS_TYPES,
37951
37967
  Zn as StatusContext,
37952
37968
  el as StatusProvider,