@obb871001/api-integration-sdk 1.0.377 → 1.0.379
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +183 -175
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import de, { createContext as Qt, useContext as _i, useState as mi, useMemo as Oa, useCallback as z, useRef as te, useEffect as pe } from "react";
|
|
2
|
-
import { useQueries as Wn, useQuery as $, useQueryClient as Wa, useMutation as
|
|
2
|
+
import { useQueries as Wn, useQuery as $, useQueryClient as Wa, useMutation as X, QueryClient as Or, QueryClientProvider as Br } from "@tanstack/react-query";
|
|
3
3
|
import Hr from "axios";
|
|
4
4
|
import { get as Y, find as Ie, isEmpty as Ne, entries as zn, forEach as Wr, map as Le, isArray as ea, toLower as Ei, omit as zr, keyBy as Ir, replace as it, includes as Vr, isObject as jt, flatMap as Yt, values as Jr, keys as Ni } from "lodash";
|
|
5
5
|
import Zr from "react-dom";
|
|
@@ -7481,56 +7481,56 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7481
7481
|
};
|
|
7482
7482
|
}, Ro = ({ options: e } = {}) => {
|
|
7483
7483
|
const { userLoginApi: n } = oe();
|
|
7484
|
-
return
|
|
7484
|
+
return X({
|
|
7485
7485
|
mutationKey: ["userLogin"],
|
|
7486
7486
|
mutationFn: async (t) => n(t),
|
|
7487
7487
|
...e
|
|
7488
7488
|
});
|
|
7489
7489
|
}, Po = ({ options: e } = {}) => {
|
|
7490
7490
|
const { userLogoutApi: n } = oe();
|
|
7491
|
-
return
|
|
7491
|
+
return X({
|
|
7492
7492
|
mutationKey: ["userLogout"],
|
|
7493
7493
|
mutationFn: async () => n(),
|
|
7494
7494
|
...e
|
|
7495
7495
|
});
|
|
7496
7496
|
}, wo = ({ options: e } = {}) => {
|
|
7497
7497
|
const { userSignUpApi: n } = oe();
|
|
7498
|
-
return
|
|
7498
|
+
return X({
|
|
7499
7499
|
mutationKey: ["userSignUp"],
|
|
7500
7500
|
mutationFn: async (t) => n(t),
|
|
7501
7501
|
...e
|
|
7502
7502
|
});
|
|
7503
7503
|
}, Fo = ({ options: e } = {}) => {
|
|
7504
7504
|
const { addOrRemoveFavoriteGameApi: n } = oe();
|
|
7505
|
-
return
|
|
7505
|
+
return X({
|
|
7506
7506
|
mutationKey: ["toggleFavoriteGame"],
|
|
7507
7507
|
mutationFn: async (t) => n(t),
|
|
7508
7508
|
...e
|
|
7509
7509
|
});
|
|
7510
7510
|
}, Ao = ({ options: e } = {}) => {
|
|
7511
7511
|
const { updateUserInfoApi: n } = oe();
|
|
7512
|
-
return
|
|
7512
|
+
return X({
|
|
7513
7513
|
mutationKey: ["updateUserInfo"],
|
|
7514
7514
|
mutationFn: async (t) => n(t),
|
|
7515
7515
|
...e
|
|
7516
7516
|
});
|
|
7517
7517
|
}, Oo = ({ options: e } = {}) => {
|
|
7518
7518
|
const { resetUserPasswordApi: n } = oe();
|
|
7519
|
-
return
|
|
7519
|
+
return X({
|
|
7520
7520
|
mutationKey: ["resetUserPassword"],
|
|
7521
7521
|
mutationFn: async (t) => n(t),
|
|
7522
7522
|
...e
|
|
7523
7523
|
});
|
|
7524
7524
|
}, Bo = ({ options: e } = {}) => {
|
|
7525
7525
|
const { setUserTransactionPasswordApi: n } = oe();
|
|
7526
|
-
return
|
|
7526
|
+
return X({
|
|
7527
7527
|
mutationKey: ["setUserTransactionPassword"],
|
|
7528
7528
|
mutationFn: async (t) => n(t),
|
|
7529
7529
|
...e
|
|
7530
7530
|
});
|
|
7531
7531
|
}, Ho = ({ options: e } = {}) => {
|
|
7532
7532
|
const { resetUserTransactionPasswordApi: n } = oe();
|
|
7533
|
-
return
|
|
7533
|
+
return X({
|
|
7534
7534
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7535
7535
|
mutationFn: async (t) => n(t),
|
|
7536
7536
|
...e
|
|
@@ -7545,14 +7545,14 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7545
7545
|
});
|
|
7546
7546
|
}, zo = ({ options: e } = {}) => {
|
|
7547
7547
|
const { userBindBankApi: n } = oe();
|
|
7548
|
-
return
|
|
7548
|
+
return X({
|
|
7549
7549
|
mutationKey: ["userBindBank"],
|
|
7550
7550
|
mutationFn: async (t) => n({ formData: t }),
|
|
7551
7551
|
...e
|
|
7552
7552
|
});
|
|
7553
7553
|
}, Io = ({ options: e } = {}) => {
|
|
7554
7554
|
const { transferInGameApi: n } = oe();
|
|
7555
|
-
return
|
|
7555
|
+
return X({
|
|
7556
7556
|
mutationKey: ["transferInGame"],
|
|
7557
7557
|
mutationFn: async (t) => n(t),
|
|
7558
7558
|
retry: !1,
|
|
@@ -7560,7 +7560,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7560
7560
|
});
|
|
7561
7561
|
}, Lm = ({ options: e } = {}) => {
|
|
7562
7562
|
const { currency: n } = se(), { pointTransferApi: t } = oe();
|
|
7563
|
-
return
|
|
7563
|
+
return X({
|
|
7564
7564
|
mutationKey: ["pointTransfer"],
|
|
7565
7565
|
mutationFn: async (r) => t({
|
|
7566
7566
|
...r,
|
|
@@ -7583,7 +7583,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7583
7583
|
});
|
|
7584
7584
|
}, Mm = ({ options: e } = {}) => {
|
|
7585
7585
|
const n = Wa(), { abandonPointsApi: t } = oe();
|
|
7586
|
-
return
|
|
7586
|
+
return X({
|
|
7587
7587
|
mutationKey: ["abandonPoint"],
|
|
7588
7588
|
mutationFn: async (r) => t({
|
|
7589
7589
|
...r
|
|
@@ -7595,18 +7595,25 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7595
7595
|
});
|
|
7596
7596
|
}, ir = ({ options: e } = {}) => {
|
|
7597
7597
|
const { lineLoginApi: n } = oe();
|
|
7598
|
-
return
|
|
7598
|
+
return X({
|
|
7599
7599
|
mutationKey: ["lineLogin"],
|
|
7600
7600
|
mutationFn: async (t) => n(t),
|
|
7601
7601
|
...e
|
|
7602
7602
|
});
|
|
7603
7603
|
}, Vo = ({ options: e } = {}) => {
|
|
7604
7604
|
const { lineLogin2Api: n } = oe();
|
|
7605
|
-
return
|
|
7605
|
+
return X({
|
|
7606
7606
|
mutationKey: ["lineLogin"],
|
|
7607
7607
|
mutationFn: async (t) => n(t),
|
|
7608
7608
|
...e
|
|
7609
7609
|
});
|
|
7610
|
+
}, Rm = ({ options: e } = {}) => {
|
|
7611
|
+
const { machineLoginApi: n } = oe();
|
|
7612
|
+
return X({
|
|
7613
|
+
mutationKey: ["machineLogin"],
|
|
7614
|
+
mutationFn: async (t) => n(t),
|
|
7615
|
+
...e
|
|
7616
|
+
});
|
|
7610
7617
|
}, Jo = ({ options: e, formData: n } = {}) => {
|
|
7611
7618
|
const { getMachineLoginCodeApi: t } = oe();
|
|
7612
7619
|
return $({
|
|
@@ -7614,70 +7621,70 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7614
7621
|
queryFn: async () => t(n),
|
|
7615
7622
|
...e
|
|
7616
7623
|
});
|
|
7617
|
-
},
|
|
7624
|
+
}, Pm = ({ options: e } = {}) => {
|
|
7618
7625
|
const { currency: n } = se(), { memberTransferApi: t } = oe();
|
|
7619
|
-
return
|
|
7626
|
+
return X({
|
|
7620
7627
|
mutationKey: ["memberTransfer"],
|
|
7621
7628
|
mutationFn: async (r) => t({ ...r, currency: n }),
|
|
7622
7629
|
...e
|
|
7623
7630
|
});
|
|
7624
|
-
},
|
|
7631
|
+
}, wm = ({ options: e } = {}) => {
|
|
7625
7632
|
const { mobileLoginApi: n } = oe();
|
|
7626
|
-
return
|
|
7633
|
+
return X({
|
|
7627
7634
|
mutationKey: ["mobileLogin"],
|
|
7628
7635
|
mutationFn: async (t) => n(t),
|
|
7629
7636
|
...e
|
|
7630
7637
|
});
|
|
7631
|
-
},
|
|
7638
|
+
}, Fm = ({ options: e } = {}) => {
|
|
7632
7639
|
const { mobileLoginApiV2: n } = oe();
|
|
7633
|
-
return
|
|
7640
|
+
return X({
|
|
7634
7641
|
mutationKey: ["mobileLoginV2"],
|
|
7635
7642
|
mutationFn: async (t) => n(t),
|
|
7636
7643
|
...e
|
|
7637
7644
|
});
|
|
7638
|
-
},
|
|
7645
|
+
}, Am = ({ options: e } = {}) => {
|
|
7639
7646
|
const { mobileRegisterApi: n } = oe();
|
|
7640
|
-
return
|
|
7647
|
+
return X({
|
|
7641
7648
|
mutationKey: ["mobileRegister"],
|
|
7642
7649
|
mutationFn: async (t) => n(t),
|
|
7643
7650
|
...e
|
|
7644
7651
|
});
|
|
7645
7652
|
}, Zo = ({ options: e } = {}) => {
|
|
7646
7653
|
const { bindAccountApi: n } = oe();
|
|
7647
|
-
return
|
|
7654
|
+
return X({
|
|
7648
7655
|
mutationKey: ["bindAccount"],
|
|
7649
7656
|
mutationFn: async (t) => n(t),
|
|
7650
7657
|
...e
|
|
7651
7658
|
});
|
|
7652
|
-
},
|
|
7659
|
+
}, Om = ({ options: e } = {}) => {
|
|
7653
7660
|
const { sendMobileVerifyCodeApi: n } = oe();
|
|
7654
|
-
return
|
|
7661
|
+
return X({
|
|
7655
7662
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7656
7663
|
mutationFn: async (t) => n(t),
|
|
7657
7664
|
...e
|
|
7658
7665
|
});
|
|
7659
|
-
},
|
|
7666
|
+
}, Bm = ({ options: e, paramsData: n } = {}) => {
|
|
7660
7667
|
const { verifyPhoneBarApi: t } = za();
|
|
7661
7668
|
return $({
|
|
7662
7669
|
queryKey: ["verifyPhoneBar", n],
|
|
7663
7670
|
queryFn: async () => t(n),
|
|
7664
7671
|
...e
|
|
7665
7672
|
});
|
|
7666
|
-
},
|
|
7673
|
+
}, Hm = ({ options: e, paramsData: n } = {}) => {
|
|
7667
7674
|
const { verifyDonationCodeApi: t } = za();
|
|
7668
7675
|
return $({
|
|
7669
7676
|
queryKey: ["verifyDonationCode", n],
|
|
7670
7677
|
queryFn: async () => t(n),
|
|
7671
7678
|
...e
|
|
7672
7679
|
});
|
|
7673
|
-
},
|
|
7680
|
+
}, Wm = ({ options: e } = {}) => {
|
|
7674
7681
|
const { verifyResetActionApi: n } = oe();
|
|
7675
|
-
return
|
|
7682
|
+
return X({
|
|
7676
7683
|
mutationKey: ["verifyResetAction"],
|
|
7677
7684
|
mutationFn: async (t) => n(t),
|
|
7678
7685
|
...e
|
|
7679
7686
|
});
|
|
7680
|
-
},
|
|
7687
|
+
}, zm = ({ options: e, bonusData: n } = {}) => {
|
|
7681
7688
|
const { getJackpotApi: t } = oe();
|
|
7682
7689
|
return $({
|
|
7683
7690
|
queryKey: ["getJackpotData"],
|
|
@@ -7696,14 +7703,14 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7696
7703
|
},
|
|
7697
7704
|
...e
|
|
7698
7705
|
});
|
|
7699
|
-
},
|
|
7706
|
+
}, Im = ({ options: e } = {}) => {
|
|
7700
7707
|
const { getBetRankingApi: n } = oe();
|
|
7701
7708
|
return $({
|
|
7702
7709
|
queryKey: ["getBetRankingData"],
|
|
7703
7710
|
queryFn: async () => n(),
|
|
7704
7711
|
...e
|
|
7705
7712
|
});
|
|
7706
|
-
},
|
|
7713
|
+
}, Vm = ({ options: e } = {}) => {
|
|
7707
7714
|
const { getUserAvatarListApi: n } = oe();
|
|
7708
7715
|
return $({
|
|
7709
7716
|
queryKey: ["getAvatarList"],
|
|
@@ -7713,14 +7720,14 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7713
7720
|
// },
|
|
7714
7721
|
...e
|
|
7715
7722
|
});
|
|
7716
|
-
},
|
|
7723
|
+
}, Jm = ({ options: e } = {}) => {
|
|
7717
7724
|
const { updateUserAvatarApi: n } = oe();
|
|
7718
|
-
return
|
|
7725
|
+
return X({
|
|
7719
7726
|
mutationKey: ["updateAvatar"],
|
|
7720
7727
|
mutationFn: async (t) => n(t),
|
|
7721
7728
|
...e
|
|
7722
7729
|
});
|
|
7723
|
-
},
|
|
7730
|
+
}, Zm = ({
|
|
7724
7731
|
options: e = {
|
|
7725
7732
|
login: {},
|
|
7726
7733
|
logout: {},
|
|
@@ -7770,7 +7777,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
7770
7777
|
GAME_MAINTAIN: "game_maintain",
|
|
7771
7778
|
LINE_LOGIN: "line_login",
|
|
7772
7779
|
UPDATE_EVENT_WALLET: "update_event_wallet"
|
|
7773
|
-
}, Ko = 3e4,
|
|
7780
|
+
}, Ko = 3e4, Km = ({
|
|
7774
7781
|
socketUrl: e,
|
|
7775
7782
|
socketHandlers: n = {},
|
|
7776
7783
|
options: t = {},
|
|
@@ -8195,9 +8202,9 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8195
8202
|
},
|
|
8196
8203
|
...n
|
|
8197
8204
|
});
|
|
8198
|
-
},
|
|
8205
|
+
}, qm = ({ options: e } = {}) => {
|
|
8199
8206
|
const { redeemEventRewardApi: n } = Xa();
|
|
8200
|
-
return
|
|
8207
|
+
return X({
|
|
8201
8208
|
mutationKey: ["redeemEventReward"],
|
|
8202
8209
|
mutationFn: async (t) => n(t),
|
|
8203
8210
|
...e
|
|
@@ -8217,14 +8224,14 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8217
8224
|
select: (r) => r.data.event_status,
|
|
8218
8225
|
...e
|
|
8219
8226
|
});
|
|
8220
|
-
},
|
|
8227
|
+
}, $m = ({ options: e } = {}) => {
|
|
8221
8228
|
const { settleEventApi: n } = Xa();
|
|
8222
|
-
return
|
|
8229
|
+
return X({
|
|
8223
8230
|
mutationKey: ["settleEvent"],
|
|
8224
8231
|
mutationFn: async (t) => n(t),
|
|
8225
8232
|
...e
|
|
8226
8233
|
});
|
|
8227
|
-
},
|
|
8234
|
+
}, Qm = ({
|
|
8228
8235
|
options: e = {
|
|
8229
8236
|
eventList: {},
|
|
8230
8237
|
checkEventProgress: {},
|
|
@@ -8274,7 +8281,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8274
8281
|
settleEventWalletApi: p,
|
|
8275
8282
|
abandonEventWalletApi: g
|
|
8276
8283
|
};
|
|
8277
|
-
},
|
|
8284
|
+
}, jm = ({ gamePlatform: e, params: n } = {}) => {
|
|
8278
8285
|
const { eventWalletListApi: t } = et();
|
|
8279
8286
|
return $({
|
|
8280
8287
|
queryKey: ["getEventWalletList", e, n],
|
|
@@ -8315,16 +8322,16 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8315
8322
|
};
|
|
8316
8323
|
}
|
|
8317
8324
|
});
|
|
8318
|
-
},
|
|
8325
|
+
}, Ym = () => {
|
|
8319
8326
|
const e = Wa(), { enabledEventWalletApi: n } = et();
|
|
8320
|
-
return
|
|
8327
|
+
return X({
|
|
8321
8328
|
mutationKey: ["enabledEventWallet"],
|
|
8322
8329
|
mutationFn: async ({ eventUids: t }) => await n({ eventUids: t }),
|
|
8323
8330
|
onSuccess: () => {
|
|
8324
8331
|
e.invalidateQueries({ queryKey: ["evaluateEventWallet"] });
|
|
8325
8332
|
}
|
|
8326
8333
|
});
|
|
8327
|
-
},
|
|
8334
|
+
}, Xm = ({ gamePlatform: e = "", options: n = {} } = {}) => {
|
|
8328
8335
|
const { evaluateEventWalletApi: t } = et();
|
|
8329
8336
|
return $({
|
|
8330
8337
|
queryKey: ["evaluateEventWallet", e],
|
|
@@ -8340,25 +8347,25 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8340
8347
|
},
|
|
8341
8348
|
...n
|
|
8342
8349
|
});
|
|
8343
|
-
},
|
|
8350
|
+
}, eu = () => {
|
|
8344
8351
|
const e = Wa(), { settleEventWalletApi: n } = et();
|
|
8345
|
-
return
|
|
8352
|
+
return X({
|
|
8346
8353
|
mutationKey: ["settleEventWallet"],
|
|
8347
8354
|
mutationFn: async ({ groupUid: t }) => await n({ groupUid: t }),
|
|
8348
8355
|
onSuccess: () => {
|
|
8349
8356
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8350
8357
|
}
|
|
8351
8358
|
});
|
|
8352
|
-
},
|
|
8359
|
+
}, au = () => {
|
|
8353
8360
|
const e = Wa(), { abandonEventWalletApi: n } = et();
|
|
8354
|
-
return
|
|
8361
|
+
return X({
|
|
8355
8362
|
mutationKey: ["abandonEventWallet"],
|
|
8356
8363
|
mutationFn: async ({ groupUid: t }) => await n({ groupUid: t }),
|
|
8357
8364
|
onSuccess: () => {
|
|
8358
8365
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8359
8366
|
}
|
|
8360
8367
|
});
|
|
8361
|
-
},
|
|
8368
|
+
}, tu = ({ skipPreload: e = !1 } = {}) => {
|
|
8362
8369
|
const { lng: n, data2URL: t } = se(), { commonCarouselApi: r } = za(), p = Qe(n);
|
|
8363
8370
|
return $({
|
|
8364
8371
|
queryKey: ["getCarouselList", e],
|
|
@@ -8386,7 +8393,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8386
8393
|
};
|
|
8387
8394
|
})
|
|
8388
8395
|
});
|
|
8389
|
-
},
|
|
8396
|
+
}, iu = () => {
|
|
8390
8397
|
const { lng: e, getToken: n } = se(), t = n?.(), { commonMarqueeApi: r } = za(), p = Qe(e);
|
|
8391
8398
|
return $({
|
|
8392
8399
|
queryKey: ["getMarqueeList", t],
|
|
@@ -8402,7 +8409,7 @@ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
|
|
|
8402
8409
|
};
|
|
8403
8410
|
}
|
|
8404
8411
|
});
|
|
8405
|
-
},
|
|
8412
|
+
}, nu = ({ options: e } = {}) => {
|
|
8406
8413
|
const { rankingGameApi: n } = oe();
|
|
8407
8414
|
return $({
|
|
8408
8415
|
queryKey: ["rankingGame"],
|
|
@@ -8903,7 +8910,7 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8903
8910
|
}
|
|
8904
8911
|
var _s = Qt(null);
|
|
8905
8912
|
_s.Consumer;
|
|
8906
|
-
const
|
|
8913
|
+
const ru = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
8907
8914
|
onIdle: e,
|
|
8908
8915
|
onActive: n,
|
|
8909
8916
|
onAction: t,
|
|
@@ -8932,12 +8939,12 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
8932
8939
|
});
|
|
8933
8940
|
}, Us = ({ options: e } = {}) => {
|
|
8934
8941
|
const { commonReadInboxApi: n } = za();
|
|
8935
|
-
return
|
|
8942
|
+
return X({
|
|
8936
8943
|
mutationKey: ["readInbox"],
|
|
8937
8944
|
mutationFn: async (t) => await n(t),
|
|
8938
8945
|
...e
|
|
8939
8946
|
});
|
|
8940
|
-
},
|
|
8947
|
+
}, lu = ({
|
|
8941
8948
|
options: e = {
|
|
8942
8949
|
inboxList: {},
|
|
8943
8950
|
readInbox: {}
|
|
@@ -9004,7 +9011,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9004
9011
|
value: "other",
|
|
9005
9012
|
...e.other
|
|
9006
9013
|
}
|
|
9007
|
-
],
|
|
9014
|
+
], ou = ({ options: e, formData: n } = {}) => {
|
|
9008
9015
|
const { lng: t } = se(), { newsListApi: r } = lr(), p = Qe(t);
|
|
9009
9016
|
return $({
|
|
9010
9017
|
queryKey: ["newsList"],
|
|
@@ -9030,7 +9037,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9030
9037
|
},
|
|
9031
9038
|
...e
|
|
9032
9039
|
});
|
|
9033
|
-
},
|
|
9040
|
+
}, su = ({ options: e, formData: n } = {}) => {
|
|
9034
9041
|
const { lng: t } = se(), { newsListApi: r } = lr(), p = Qe(t);
|
|
9035
9042
|
return $({
|
|
9036
9043
|
queryKey: ["newsList"],
|
|
@@ -9288,14 +9295,14 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9288
9295
|
});
|
|
9289
9296
|
}, hs = ({ options: e } = {}) => {
|
|
9290
9297
|
const { depositApi: n } = Me();
|
|
9291
|
-
return
|
|
9298
|
+
return X({
|
|
9292
9299
|
mutationKey: ["depositAction"],
|
|
9293
9300
|
mutationFn: async (t) => n(t),
|
|
9294
9301
|
...e
|
|
9295
9302
|
});
|
|
9296
9303
|
}, Ts = ({ options: e } = {}) => {
|
|
9297
9304
|
const { withdrawApi: n } = Me();
|
|
9298
|
-
return
|
|
9305
|
+
return X({
|
|
9299
9306
|
mutationKey: ["withdrawAction"],
|
|
9300
9307
|
mutationFn: async (t) => n(t),
|
|
9301
9308
|
...e
|
|
@@ -9316,7 +9323,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9316
9323
|
});
|
|
9317
9324
|
}, Ss = ({ options: e } = {}) => {
|
|
9318
9325
|
const { bankDepositApi: n } = Me();
|
|
9319
|
-
return
|
|
9326
|
+
return X({
|
|
9320
9327
|
mutationKey: ["bankDeposit"],
|
|
9321
9328
|
mutationFn: async (t) => n(t),
|
|
9322
9329
|
...e
|
|
@@ -9328,77 +9335,77 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9328
9335
|
queryFn: () => t({ paramsData: e }),
|
|
9329
9336
|
...n
|
|
9330
9337
|
});
|
|
9331
|
-
},
|
|
9338
|
+
}, mu = ({ options: e } = {}) => {
|
|
9332
9339
|
const { redeemCodeDepositApi: n } = Me();
|
|
9333
|
-
return
|
|
9340
|
+
return X({
|
|
9334
9341
|
mutationKey: ["redeemCodeDeposit"],
|
|
9335
9342
|
mutationFn: async (t) => n(t),
|
|
9336
9343
|
...e
|
|
9337
9344
|
});
|
|
9338
|
-
},
|
|
9345
|
+
}, uu = ({ options: e } = {}) => {
|
|
9339
9346
|
const { invoiceApi: n } = Me();
|
|
9340
|
-
return
|
|
9347
|
+
return X({
|
|
9341
9348
|
mutationKey: ["invoiceAction"],
|
|
9342
9349
|
mutationFn: async (t) => n(t),
|
|
9343
9350
|
...e
|
|
9344
9351
|
});
|
|
9345
|
-
},
|
|
9352
|
+
}, pu = ({ options: e } = {}) => {
|
|
9346
9353
|
const { updateInvoiceApi: n } = Me();
|
|
9347
|
-
return
|
|
9354
|
+
return X({
|
|
9348
9355
|
mutationKey: ["updateInvoiceAction"],
|
|
9349
9356
|
mutationFn: async (t) => n(t),
|
|
9350
9357
|
...e
|
|
9351
9358
|
});
|
|
9352
|
-
},
|
|
9359
|
+
}, gu = ({ options: e, paramsData: n } = {}) => {
|
|
9353
9360
|
const { transactionRecordApi: t } = Me();
|
|
9354
9361
|
return $({
|
|
9355
9362
|
queryKey: ["transactionRecord", "deposit"],
|
|
9356
9363
|
queryFn: () => t(n, "deposit"),
|
|
9357
9364
|
...e
|
|
9358
9365
|
});
|
|
9359
|
-
},
|
|
9366
|
+
}, du = ({ options: e, paramsData: n } = {}) => {
|
|
9360
9367
|
const { transactionRecordApi: t } = Me();
|
|
9361
9368
|
return $({
|
|
9362
9369
|
queryKey: ["transactionRecord", "withdraw"],
|
|
9363
9370
|
queryFn: () => t(n, "withdraw"),
|
|
9364
9371
|
...e
|
|
9365
9372
|
});
|
|
9366
|
-
},
|
|
9373
|
+
}, cu = ({ options: e, paramsData: n } = {}) => {
|
|
9367
9374
|
const { transactionRecordApi: t } = Me();
|
|
9368
9375
|
return $({
|
|
9369
9376
|
queryKey: ["transactionRecord", "event"],
|
|
9370
9377
|
queryFn: () => t(n, "event"),
|
|
9371
9378
|
...e
|
|
9372
9379
|
});
|
|
9373
|
-
},
|
|
9380
|
+
}, fu = ({ options: e, paramsData: n } = {}) => {
|
|
9374
9381
|
const { transactionRecordApi: t } = Me();
|
|
9375
9382
|
return $({
|
|
9376
9383
|
queryKey: ["transactionRecord", "rebate"],
|
|
9377
9384
|
queryFn: () => t(n, "rebate"),
|
|
9378
9385
|
...e
|
|
9379
9386
|
});
|
|
9380
|
-
},
|
|
9387
|
+
}, _u = ({ options: e, paramsData: n } = {}) => {
|
|
9381
9388
|
const { treasureRecordApi: t } = Me();
|
|
9382
9389
|
return $({
|
|
9383
9390
|
queryKey: ["treasureRecord", n],
|
|
9384
9391
|
queryFn: () => t(n),
|
|
9385
9392
|
...e
|
|
9386
9393
|
});
|
|
9387
|
-
},
|
|
9394
|
+
}, yu = ({ options: e, paramsData: n } = {}) => {
|
|
9388
9395
|
const { snCashRecordApi: t } = Me();
|
|
9389
9396
|
return $({
|
|
9390
9397
|
queryKey: ["snCashRecord", n],
|
|
9391
9398
|
queryFn: () => t(n),
|
|
9392
9399
|
...e
|
|
9393
9400
|
});
|
|
9394
|
-
},
|
|
9401
|
+
}, Uu = ({ options: e, paramsData: n } = {}) => {
|
|
9395
9402
|
const { otherTransactionApi: t } = Me();
|
|
9396
9403
|
return $({
|
|
9397
9404
|
queryKey: ["otherTransaction", n],
|
|
9398
9405
|
queryFn: () => t({ paramsData: n }),
|
|
9399
9406
|
...e
|
|
9400
9407
|
});
|
|
9401
|
-
},
|
|
9408
|
+
}, bu = ({
|
|
9402
9409
|
depositV1: e = {},
|
|
9403
9410
|
depositV2: n = {},
|
|
9404
9411
|
depositTransaction: t = {},
|
|
@@ -9519,7 +9526,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9519
9526
|
extendString: Ur,
|
|
9520
9527
|
extendUint8Array: br,
|
|
9521
9528
|
extendBuiltins: As
|
|
9522
|
-
},
|
|
9529
|
+
}, Cu = (e, n) => {
|
|
9523
9530
|
const { playGameApi: t } = Ci();
|
|
9524
9531
|
return $({
|
|
9525
9532
|
queryKey: ["playGame"],
|
|
@@ -9571,12 +9578,12 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9571
9578
|
});
|
|
9572
9579
|
}, Hs = ({ options: e } = {}) => {
|
|
9573
9580
|
const { receiveRebateApi: n } = Cr();
|
|
9574
|
-
return
|
|
9581
|
+
return X({
|
|
9575
9582
|
mutationKey: ["receiveRebate"],
|
|
9576
9583
|
mutationFn: async () => n(),
|
|
9577
9584
|
...e
|
|
9578
9585
|
});
|
|
9579
|
-
},
|
|
9586
|
+
}, vu = ({
|
|
9580
9587
|
options: e = {
|
|
9581
9588
|
currentRebate: {},
|
|
9582
9589
|
receiveRebate: {}
|
|
@@ -9626,7 +9633,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9626
9633
|
position: o,
|
|
9627
9634
|
type: s,
|
|
9628
9635
|
uid: u
|
|
9629
|
-
} = l;
|
|
9636
|
+
} = l || {};
|
|
9630
9637
|
return {
|
|
9631
9638
|
...g,
|
|
9632
9639
|
rewardExpirationDays: a,
|
|
@@ -9655,7 +9662,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9655
9662
|
});
|
|
9656
9663
|
}, zs = ({ options: e } = {}) => {
|
|
9657
9664
|
const { redeemRewardApi: n } = at();
|
|
9658
|
-
return
|
|
9665
|
+
return X({
|
|
9659
9666
|
mutationKey: ["redeemReward"],
|
|
9660
9667
|
mutationFn: async (t) => await n(t),
|
|
9661
9668
|
...e
|
|
@@ -9681,7 +9688,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9681
9688
|
queryFn: n,
|
|
9682
9689
|
...e
|
|
9683
9690
|
});
|
|
9684
|
-
},
|
|
9691
|
+
}, hu = ({
|
|
9685
9692
|
options: e = {
|
|
9686
9693
|
rewardsList: {},
|
|
9687
9694
|
redeemReward: {},
|
|
@@ -9741,7 +9748,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9741
9748
|
treasureListApi: n,
|
|
9742
9749
|
redeemTreasureApi: t
|
|
9743
9750
|
};
|
|
9744
|
-
},
|
|
9751
|
+
}, Tu = ({ paramsData: e, options: n } = {}) => {
|
|
9745
9752
|
const { client: t, lng: r } = se(), p = Qe(r || "tw"), { treasureListApi: g } = vr();
|
|
9746
9753
|
return $({
|
|
9747
9754
|
queryKey: ["treasureList", e],
|
|
@@ -9769,9 +9776,9 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9769
9776
|
},
|
|
9770
9777
|
...n
|
|
9771
9778
|
});
|
|
9772
|
-
},
|
|
9779
|
+
}, ku = ({ options: e } = {}) => {
|
|
9773
9780
|
const { redeemTreasureApi: n } = vr();
|
|
9774
|
-
return
|
|
9781
|
+
return X({
|
|
9775
9782
|
mutationKey: ["redeemTreasure"],
|
|
9776
9783
|
mutationFn: async (t) => n(t),
|
|
9777
9784
|
...e
|
|
@@ -9782,7 +9789,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9782
9789
|
vipListApi: n,
|
|
9783
9790
|
vipInfoApi: t
|
|
9784
9791
|
};
|
|
9785
|
-
},
|
|
9792
|
+
}, xu = ({ options: e } = {}) => {
|
|
9786
9793
|
const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: r } = hr();
|
|
9787
9794
|
return $({
|
|
9788
9795
|
queryKey: ["vipInfo"],
|
|
@@ -9844,11 +9851,11 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9844
9851
|
},
|
|
9845
9852
|
...e
|
|
9846
9853
|
});
|
|
9847
|
-
},
|
|
9854
|
+
}, Su = ({ options: e } = {
|
|
9848
9855
|
vipList: {}
|
|
9849
9856
|
}) => ({
|
|
9850
9857
|
vipList: Zs({ options: e.vipList })
|
|
9851
|
-
}), mt = "game-icon-ds88",
|
|
9858
|
+
}), mt = "game-icon-ds88", Du = ({ gameData: e = {} } = {}) => {
|
|
9852
9859
|
const { lng: n } = se(), t = Xr(n), {
|
|
9853
9860
|
gameCode: r,
|
|
9854
9861
|
// 遊戲代碼
|
|
@@ -9932,7 +9939,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9932
9939
|
"HACK",
|
|
9933
9940
|
"NAGA",
|
|
9934
9941
|
"RSG"
|
|
9935
|
-
], e) && n ? `${e}_dark` : e,
|
|
9942
|
+
], e) && n ? `${e}_dark` : e, Eu = ({ platformData: e, darkMode: n } = {}) => {
|
|
9936
9943
|
const {
|
|
9937
9944
|
SubPlatformEnum: t,
|
|
9938
9945
|
// 子平台枚舉
|
|
@@ -9988,7 +9995,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
9988
9995
|
allPlatforms: p
|
|
9989
9996
|
});
|
|
9990
9997
|
return Ne(d) || (g[b] = d), g;
|
|
9991
|
-
}, {}),
|
|
9998
|
+
}, {}), Nu = ({
|
|
9992
9999
|
types: e = [],
|
|
9993
10000
|
platforms: n = [],
|
|
9994
10001
|
allGameType: t = [],
|
|
@@ -10087,7 +10094,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
10087
10094
|
favorite: c
|
|
10088
10095
|
}
|
|
10089
10096
|
};
|
|
10090
|
-
},
|
|
10097
|
+
}, Lu = (e = []) => !ea(e) || Ne(e) ? [] : Yt(e, (n) => Ne(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((t) => ({
|
|
10091
10098
|
...n,
|
|
10092
10099
|
...t,
|
|
10093
10100
|
platform: t.SubPlatformEnum,
|
|
@@ -36688,7 +36695,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
|
|
|
36688
36695
|
const r = nm({ enabled: n });
|
|
36689
36696
|
return /* @__PURE__ */ Oe.jsx($n.Provider, { value: r, children: e });
|
|
36690
36697
|
};
|
|
36691
|
-
function
|
|
36698
|
+
function Gu({
|
|
36692
36699
|
children: e,
|
|
36693
36700
|
autoFetchGamesInfo: n = !1,
|
|
36694
36701
|
useMockData: t = !1,
|
|
@@ -36718,7 +36725,7 @@ function Lu({
|
|
|
36718
36725
|
}
|
|
36719
36726
|
) }) }) });
|
|
36720
36727
|
}
|
|
36721
|
-
const
|
|
36728
|
+
const Mu = ({ onFunction: e = () => {
|
|
36722
36729
|
}, buttonProps: n = {} } = {}) => {
|
|
36723
36730
|
const { lineConfig: t } = se(), r = te(!1), p = Y(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = ir({
|
|
36724
36731
|
options: {
|
|
@@ -36776,14 +36783,14 @@ var om = Object.defineProperty, $t = Object.getOwnPropertySymbols, Tr = Object.p
|
|
|
36776
36783
|
};
|
|
36777
36784
|
var ka;
|
|
36778
36785
|
((e) => {
|
|
36779
|
-
const n = class
|
|
36786
|
+
const n = class ee {
|
|
36780
36787
|
/*-- Constructor (low level) and fields --*/
|
|
36781
36788
|
// Creates a new QR Code with the given version number,
|
|
36782
36789
|
// error correction level, data codeword bytes, and mask number.
|
|
36783
36790
|
// This is a low-level API that most users should not use directly.
|
|
36784
36791
|
// A mid-level API is the encodeSegments() function.
|
|
36785
36792
|
constructor(l, a, i, o) {
|
|
36786
|
-
if (this.version = l, this.errorCorrectionLevel = a, this.modules = [], this.isFunction = [], l <
|
|
36793
|
+
if (this.version = l, this.errorCorrectionLevel = a, this.modules = [], this.isFunction = [], l < ee.MIN_VERSION || l > ee.MAX_VERSION)
|
|
36787
36794
|
throw new RangeError("Version value out of range");
|
|
36788
36795
|
if (o < -1 || o > 7)
|
|
36789
36796
|
throw new RangeError("Mask value out of range");
|
|
@@ -36813,7 +36820,7 @@ var ka;
|
|
|
36813
36820
|
// ecl argument if it can be done without increasing the version.
|
|
36814
36821
|
static encodeText(l, a) {
|
|
36815
36822
|
const i = e.QrSegment.makeSegments(l);
|
|
36816
|
-
return
|
|
36823
|
+
return ee.encodeSegments(i, a);
|
|
36817
36824
|
}
|
|
36818
36825
|
// Returns a QR Code representing the given binary data at the given error correction level.
|
|
36819
36826
|
// This function always encodes using the binary segment mode, not any text mode. The maximum number of
|
|
@@ -36821,7 +36828,7 @@ var ka;
|
|
|
36821
36828
|
// The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.
|
|
36822
36829
|
static encodeBinary(l, a) {
|
|
36823
36830
|
const i = e.QrSegment.makeBytes(l);
|
|
36824
|
-
return
|
|
36831
|
+
return ee.encodeSegments([i], a);
|
|
36825
36832
|
}
|
|
36826
36833
|
/*-- Static factory functions (mid level) --*/
|
|
36827
36834
|
// Returns a QR Code representing the given segments with the given encoding parameters.
|
|
@@ -36834,11 +36841,11 @@ var ka;
|
|
|
36834
36841
|
// between modes (such as alphanumeric and byte) to encode text in less space.
|
|
36835
36842
|
// This is a mid-level API; the high-level API is encodeText() and encodeBinary().
|
|
36836
36843
|
static encodeSegments(l, a, i = 1, o = 40, s = -1, u = !0) {
|
|
36837
|
-
if (!(
|
|
36844
|
+
if (!(ee.MIN_VERSION <= i && i <= o && o <= ee.MAX_VERSION) || s < -1 || s > 7)
|
|
36838
36845
|
throw new RangeError("Invalid value");
|
|
36839
36846
|
let m, _;
|
|
36840
36847
|
for (m = i; ; m++) {
|
|
36841
|
-
const U =
|
|
36848
|
+
const U = ee.getNumDataCodewords(m, a) * 8, C = b.getTotalBits(l, m);
|
|
36842
36849
|
if (C <= U) {
|
|
36843
36850
|
_ = C;
|
|
36844
36851
|
break;
|
|
@@ -36846,8 +36853,8 @@ var ka;
|
|
|
36846
36853
|
if (m >= o)
|
|
36847
36854
|
throw new RangeError("Data too long");
|
|
36848
36855
|
}
|
|
36849
|
-
for (const U of [
|
|
36850
|
-
u && _ <=
|
|
36856
|
+
for (const U of [ee.Ecc.MEDIUM, ee.Ecc.QUARTILE, ee.Ecc.HIGH])
|
|
36857
|
+
u && _ <= ee.getNumDataCodewords(m, U) * 8 && (a = U);
|
|
36851
36858
|
let c = [];
|
|
36852
36859
|
for (const U of l) {
|
|
36853
36860
|
t(U.mode.modeBits, 4, c), t(U.numChars, U.mode.numCharCountBits(m), c);
|
|
@@ -36855,14 +36862,14 @@ var ka;
|
|
|
36855
36862
|
c.push(C);
|
|
36856
36863
|
}
|
|
36857
36864
|
p(c.length == _);
|
|
36858
|
-
const y =
|
|
36865
|
+
const y = ee.getNumDataCodewords(m, a) * 8;
|
|
36859
36866
|
p(c.length <= y), t(0, Math.min(4, y - c.length), c), t(0, (8 - c.length % 8) % 8, c), p(c.length % 8 == 0);
|
|
36860
36867
|
for (let U = 236; c.length < y; U ^= 253)
|
|
36861
36868
|
t(U, 8, c);
|
|
36862
36869
|
let f = [];
|
|
36863
36870
|
for (; f.length * 8 < c.length; )
|
|
36864
36871
|
f.push(0);
|
|
36865
|
-
return c.forEach((U, C) => f[C >>> 3] |= U << 7 - (C & 7)), new
|
|
36872
|
+
return c.forEach((U, C) => f[C >>> 3] |= U << 7 - (C & 7)), new ee(m, a, f, s);
|
|
36866
36873
|
}
|
|
36867
36874
|
/*-- Accessor methods --*/
|
|
36868
36875
|
// Returns the color of the module (pixel) at the given coordinates, which is false
|
|
@@ -36948,15 +36955,15 @@ var ka;
|
|
|
36948
36955
|
// codewords appended to it, based on this object's version and error correction level.
|
|
36949
36956
|
addEccAndInterleave(l) {
|
|
36950
36957
|
const a = this.version, i = this.errorCorrectionLevel;
|
|
36951
|
-
if (l.length !=
|
|
36958
|
+
if (l.length != ee.getNumDataCodewords(a, i))
|
|
36952
36959
|
throw new RangeError("Invalid argument");
|
|
36953
|
-
const o =
|
|
36960
|
+
const o = ee.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][a], s = ee.ECC_CODEWORDS_PER_BLOCK[i.ordinal][a], u = Math.floor(ee.getNumRawDataModules(a) / 8), m = o - u % o, _ = Math.floor(u / o);
|
|
36954
36961
|
let c = [];
|
|
36955
|
-
const y =
|
|
36962
|
+
const y = ee.reedSolomonComputeDivisor(s);
|
|
36956
36963
|
for (let U = 0, C = 0; U < o; U++) {
|
|
36957
36964
|
let v = l.slice(C, C + _ - s + (U < m ? 0 : 1));
|
|
36958
36965
|
C += v.length;
|
|
36959
|
-
const x =
|
|
36966
|
+
const x = ee.reedSolomonComputeRemainder(v, y);
|
|
36960
36967
|
U < m && v.push(0), c.push(v.concat(x));
|
|
36961
36968
|
}
|
|
36962
36969
|
let f = [];
|
|
@@ -36969,7 +36976,7 @@ var ka;
|
|
|
36969
36976
|
// Draws the given sequence of 8-bit codewords (data and error correction) onto the entire
|
|
36970
36977
|
// data area of this QR Code. Function modules need to be marked off before this is called.
|
|
36971
36978
|
drawCodewords(l) {
|
|
36972
|
-
if (l.length != Math.floor(
|
|
36979
|
+
if (l.length != Math.floor(ee.getNumRawDataModules(this.version) / 8))
|
|
36973
36980
|
throw new RangeError("Invalid argument");
|
|
36974
36981
|
let a = 0;
|
|
36975
36982
|
for (let i = this.size - 1; i >= 1; i -= 2) {
|
|
@@ -37031,25 +37038,25 @@ var ka;
|
|
|
37031
37038
|
for (let s = 0; s < this.size; s++) {
|
|
37032
37039
|
let u = !1, m = 0, _ = [0, 0, 0, 0, 0, 0, 0];
|
|
37033
37040
|
for (let c = 0; c < this.size; c++)
|
|
37034
|
-
this.modules[s][c] == u ? (m++, m == 5 ? l +=
|
|
37035
|
-
l += this.finderPenaltyTerminateAndCount(u, m, _) *
|
|
37041
|
+
this.modules[s][c] == u ? (m++, m == 5 ? l += ee.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, _), u || (l += this.finderPenaltyCountPatterns(_) * ee.PENALTY_N3), u = this.modules[s][c], m = 1);
|
|
37042
|
+
l += this.finderPenaltyTerminateAndCount(u, m, _) * ee.PENALTY_N3;
|
|
37036
37043
|
}
|
|
37037
37044
|
for (let s = 0; s < this.size; s++) {
|
|
37038
37045
|
let u = !1, m = 0, _ = [0, 0, 0, 0, 0, 0, 0];
|
|
37039
37046
|
for (let c = 0; c < this.size; c++)
|
|
37040
|
-
this.modules[c][s] == u ? (m++, m == 5 ? l +=
|
|
37041
|
-
l += this.finderPenaltyTerminateAndCount(u, m, _) *
|
|
37047
|
+
this.modules[c][s] == u ? (m++, m == 5 ? l += ee.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, _), u || (l += this.finderPenaltyCountPatterns(_) * ee.PENALTY_N3), u = this.modules[c][s], m = 1);
|
|
37048
|
+
l += this.finderPenaltyTerminateAndCount(u, m, _) * ee.PENALTY_N3;
|
|
37042
37049
|
}
|
|
37043
37050
|
for (let s = 0; s < this.size - 1; s++)
|
|
37044
37051
|
for (let u = 0; u < this.size - 1; u++) {
|
|
37045
37052
|
const m = this.modules[s][u];
|
|
37046
|
-
m == this.modules[s][u + 1] && m == this.modules[s + 1][u] && m == this.modules[s + 1][u + 1] && (l +=
|
|
37053
|
+
m == this.modules[s][u + 1] && m == this.modules[s + 1][u] && m == this.modules[s + 1][u + 1] && (l += ee.PENALTY_N2);
|
|
37047
37054
|
}
|
|
37048
37055
|
let a = 0;
|
|
37049
37056
|
for (const s of this.modules)
|
|
37050
37057
|
a = s.reduce((u, m) => u + (m ? 1 : 0), a);
|
|
37051
37058
|
const i = this.size * this.size, o = Math.ceil(Math.abs(a * 20 - i * 10) / i) - 1;
|
|
37052
|
-
return p(0 <= o && o <= 9), l += o *
|
|
37059
|
+
return p(0 <= o && o <= 9), l += o * ee.PENALTY_N4, p(0 <= l && l <= 2568888), l;
|
|
37053
37060
|
}
|
|
37054
37061
|
/*-- Private helper functions --*/
|
|
37055
37062
|
// Returns an ascending list of positions of alignment patterns for this version number.
|
|
@@ -37070,7 +37077,7 @@ var ka;
|
|
|
37070
37077
|
// all function modules are excluded. This includes remainder bits, so it might not be a multiple of 8.
|
|
37071
37078
|
// The result is in the range [208, 29648]. This could be implemented as a 40-entry lookup table.
|
|
37072
37079
|
static getNumRawDataModules(l) {
|
|
37073
|
-
if (l <
|
|
37080
|
+
if (l < ee.MIN_VERSION || l > ee.MAX_VERSION)
|
|
37074
37081
|
throw new RangeError("Version number out of range");
|
|
37075
37082
|
let a = (16 * l + 128) * l + 64;
|
|
37076
37083
|
if (l >= 2) {
|
|
@@ -37083,7 +37090,7 @@ var ka;
|
|
|
37083
37090
|
// QR Code of the given version number and error correction level, with remainder bits discarded.
|
|
37084
37091
|
// This stateless pure function could be implemented as a (40*4)-cell lookup table.
|
|
37085
37092
|
static getNumDataCodewords(l, a) {
|
|
37086
|
-
return Math.floor(
|
|
37093
|
+
return Math.floor(ee.getNumRawDataModules(l) / 8) - ee.ECC_CODEWORDS_PER_BLOCK[a.ordinal][l] * ee.NUM_ERROR_CORRECTION_BLOCKS[a.ordinal][l];
|
|
37087
37094
|
}
|
|
37088
37095
|
// Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be
|
|
37089
37096
|
// implemented as a lookup table over all possible parameter values, instead of as an algorithm.
|
|
@@ -37097,8 +37104,8 @@ var ka;
|
|
|
37097
37104
|
let i = 1;
|
|
37098
37105
|
for (let o = 0; o < l; o++) {
|
|
37099
37106
|
for (let s = 0; s < a.length; s++)
|
|
37100
|
-
a[s] =
|
|
37101
|
-
i =
|
|
37107
|
+
a[s] = ee.reedSolomonMultiply(a[s], i), s + 1 < a.length && (a[s] ^= a[s + 1]);
|
|
37108
|
+
i = ee.reedSolomonMultiply(i, 2);
|
|
37102
37109
|
}
|
|
37103
37110
|
return a;
|
|
37104
37111
|
}
|
|
@@ -37107,7 +37114,7 @@ var ka;
|
|
|
37107
37114
|
let i = a.map((o) => 0);
|
|
37108
37115
|
for (const o of l) {
|
|
37109
37116
|
const s = o ^ i.shift();
|
|
37110
|
-
i.push(0), a.forEach((u, m) => i[m] ^=
|
|
37117
|
+
i.push(0), a.forEach((u, m) => i[m] ^= ee.reedSolomonMultiply(u, s));
|
|
37111
37118
|
}
|
|
37112
37119
|
return i;
|
|
37113
37120
|
}
|
|
@@ -37625,7 +37632,7 @@ const _m = {
|
|
|
37625
37632
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
37626
37633
|
expired: "Kode QR telah kedaluwarsa"
|
|
37627
37634
|
}
|
|
37628
|
-
},
|
|
37635
|
+
}, wu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
|
|
37629
37636
|
const { lng: r, getToken: p, lineConfig: g } = se(), [b, d] = mi(300), [l, a] = mi(!1), i = te(null), o = Y(g, "liffId", ""), s = Qe(r), u = p?.(), _ = new URLSearchParams(window.location.search).get("mac") || pi.get("machine_mac_address") || "", { data: c, isFetching: y } = Jo({
|
|
37630
37637
|
formData: {
|
|
37631
37638
|
mac_address: _
|
|
@@ -37690,7 +37697,7 @@ const _m = {
|
|
|
37690
37697
|
)
|
|
37691
37698
|
] })
|
|
37692
37699
|
] });
|
|
37693
|
-
},
|
|
37700
|
+
}, Fu = () => {
|
|
37694
37701
|
const e = Wa(), {
|
|
37695
37702
|
mutate: n,
|
|
37696
37703
|
isPending: t,
|
|
@@ -37722,16 +37729,16 @@ const _m = {
|
|
|
37722
37729
|
};
|
|
37723
37730
|
export {
|
|
37724
37731
|
In as ApiCtx,
|
|
37725
|
-
|
|
37726
|
-
|
|
37732
|
+
Gu as ApiProvider,
|
|
37733
|
+
Fu as Bind,
|
|
37727
37734
|
$n as GamesInfoCtx,
|
|
37728
|
-
|
|
37729
|
-
|
|
37735
|
+
Mu as LineLogin,
|
|
37736
|
+
wu as LineQrCode,
|
|
37730
37737
|
$a as STATUS_TYPES,
|
|
37731
37738
|
Vn as StatusContext,
|
|
37732
37739
|
jr as StatusProvider,
|
|
37733
37740
|
Xs as buildMultiTypes,
|
|
37734
|
-
|
|
37741
|
+
Nu as buildMultiTypesWithSubTypes,
|
|
37735
37742
|
tl as buildSinglePlatformWithSubTypes,
|
|
37736
37743
|
al as buildSingleType,
|
|
37737
37744
|
Ys as categorizeGames,
|
|
@@ -37754,102 +37761,103 @@ export {
|
|
|
37754
37761
|
Ks as handleDarkImage,
|
|
37755
37762
|
rm as initMockWindowData,
|
|
37756
37763
|
tm as processGameInfo,
|
|
37757
|
-
|
|
37758
|
-
|
|
37764
|
+
Lu as processPlatformData,
|
|
37765
|
+
au as useAbandonEventWallet,
|
|
37759
37766
|
Mm as useAbandonPoint,
|
|
37760
37767
|
se as useApiContext,
|
|
37761
|
-
|
|
37768
|
+
Vm as useAvatarList,
|
|
37762
37769
|
Sm as useBalanceGetter,
|
|
37763
37770
|
Nm as useBet,
|
|
37764
|
-
|
|
37771
|
+
Im as useBetRankingData,
|
|
37765
37772
|
bo as useBetRecord,
|
|
37766
37773
|
Co as useBetRecordDetail,
|
|
37767
37774
|
Zo as useBindAccount,
|
|
37768
37775
|
$o as useCheckCurrentEventProgress,
|
|
37769
37776
|
Qo as useCheckEventStatus,
|
|
37770
37777
|
Gm as useCheckPlayerWager,
|
|
37771
|
-
|
|
37778
|
+
Km as useClientWebSocket,
|
|
37772
37779
|
Bs as useCurrentRebate,
|
|
37773
37780
|
hs as useDepositAction,
|
|
37774
37781
|
ks as useDepositTransaction,
|
|
37775
37782
|
Cs as useDepositV1,
|
|
37776
37783
|
vs as useDepositV2,
|
|
37777
|
-
|
|
37778
|
-
|
|
37779
|
-
|
|
37780
|
-
|
|
37784
|
+
gu as useDepositWalletLog,
|
|
37785
|
+
Ym as useEnabledEventWallet,
|
|
37786
|
+
Xm as useEvaluateEventWallet,
|
|
37787
|
+
Qm as useEvent,
|
|
37781
37788
|
qo as useEventList,
|
|
37782
37789
|
xs as useEventTransaction,
|
|
37783
|
-
|
|
37790
|
+
cu as useEventWalletLog,
|
|
37784
37791
|
Vs as useExpiredRewardsList,
|
|
37785
|
-
|
|
37792
|
+
Du as useGameConfig,
|
|
37786
37793
|
Tm as useGameInfoContext,
|
|
37787
37794
|
nm as useGamesInfo,
|
|
37788
|
-
|
|
37789
|
-
|
|
37795
|
+
tu as useGetCarouseList,
|
|
37796
|
+
jm as useGetEventWalletList,
|
|
37790
37797
|
Jo as useGetMachineLoginCode,
|
|
37791
|
-
|
|
37798
|
+
iu as useGetMarquee,
|
|
37792
37799
|
Dm as useGetMemberInfo,
|
|
37793
|
-
|
|
37800
|
+
nu as useGetRankingGame,
|
|
37794
37801
|
Js as useHistoryRewardsList,
|
|
37795
|
-
|
|
37796
|
-
|
|
37802
|
+
ru as useIdleTimeout,
|
|
37803
|
+
lu as useInbox,
|
|
37797
37804
|
ys as useInboxList,
|
|
37798
37805
|
Em as useInitializeWithToken,
|
|
37799
|
-
|
|
37800
|
-
|
|
37806
|
+
uu as useInvoiceAction,
|
|
37807
|
+
zm as useJackpotData,
|
|
37801
37808
|
ir as useLineLogin,
|
|
37802
37809
|
Vo as useLineLogin2,
|
|
37803
37810
|
Ro as useLogin,
|
|
37804
37811
|
Po as useLogout,
|
|
37805
|
-
Rm as
|
|
37806
|
-
Pm as
|
|
37807
|
-
wm as
|
|
37808
|
-
Fm as
|
|
37809
|
-
|
|
37810
|
-
|
|
37811
|
-
|
|
37812
|
-
Uu as
|
|
37813
|
-
|
|
37814
|
-
|
|
37812
|
+
Rm as useMachineLogin,
|
|
37813
|
+
Pm as useMemberTransfer,
|
|
37814
|
+
wm as useMobileLogin,
|
|
37815
|
+
Fm as useMobileLoginV2,
|
|
37816
|
+
Am as useMobileRegister,
|
|
37817
|
+
su as useNewsDetail,
|
|
37818
|
+
ou as useNewsList,
|
|
37819
|
+
Uu as useOtherTransaction,
|
|
37820
|
+
bu as usePayment,
|
|
37821
|
+
Eu as usePlatformConfig,
|
|
37822
|
+
Cu as usePlayGame,
|
|
37815
37823
|
Lm as usePointTransfer,
|
|
37816
37824
|
Us as useReadInbox,
|
|
37817
|
-
|
|
37818
|
-
|
|
37825
|
+
vu as useRebate,
|
|
37826
|
+
fu as useRebateWalletLog,
|
|
37819
37827
|
Hs as useReceiveRebate,
|
|
37820
|
-
|
|
37821
|
-
|
|
37828
|
+
mu as useRedeemCodeDeposit,
|
|
37829
|
+
qm as useRedeemEventReward,
|
|
37822
37830
|
zs as useRedeemReward,
|
|
37823
|
-
|
|
37831
|
+
ku as useRedeemTreasure,
|
|
37824
37832
|
Oo as useResetUserPassword,
|
|
37825
37833
|
Ho as useResetUserTransactionPassword,
|
|
37826
|
-
|
|
37834
|
+
hu as useRewards,
|
|
37827
37835
|
Ws as useRewardsList,
|
|
37828
|
-
|
|
37836
|
+
Om as useSendMobileVerifyCode,
|
|
37829
37837
|
Bo as useSetUserTransactionPassword,
|
|
37830
|
-
|
|
37831
|
-
|
|
37838
|
+
$m as useSettleEvent,
|
|
37839
|
+
eu as useSettleEventWallet,
|
|
37832
37840
|
wo as useSignUp,
|
|
37833
|
-
|
|
37841
|
+
yu as useSnCashRecord,
|
|
37834
37842
|
Jn as useStatus,
|
|
37835
37843
|
Fo as useToggleFavoriteGame,
|
|
37836
37844
|
Io as useTransferInGame,
|
|
37837
|
-
|
|
37838
|
-
|
|
37845
|
+
Tu as useTreasureList,
|
|
37846
|
+
_u as useTreasureWalletLog,
|
|
37839
37847
|
Is as useUnUsedRewardsList,
|
|
37840
|
-
|
|
37841
|
-
|
|
37848
|
+
Jm as useUpdateAvatar,
|
|
37849
|
+
pu as useUpdateInvoiceAction,
|
|
37842
37850
|
Ao as useUpdateUserInfo,
|
|
37843
|
-
|
|
37851
|
+
Zm as useUser,
|
|
37844
37852
|
zo as useUserBindCard,
|
|
37845
37853
|
Wo as useUserRebate,
|
|
37846
|
-
|
|
37847
|
-
|
|
37848
|
-
|
|
37849
|
-
|
|
37850
|
-
|
|
37854
|
+
Hm as useVerifyDonationCode,
|
|
37855
|
+
Bm as useVerifyPhoneBar,
|
|
37856
|
+
Wm as useVerifyResetAction,
|
|
37857
|
+
Su as useVip,
|
|
37858
|
+
xu as useVipInfo,
|
|
37851
37859
|
Zs as useVipList,
|
|
37852
37860
|
Ts as useWithdrawAction,
|
|
37853
37861
|
Ds as useWithdrawTransaction,
|
|
37854
|
-
|
|
37862
|
+
du as useWithdrawWalletLog
|
|
37855
37863
|
};
|