@everymatrix/player-account-controller 1.87.26 → 1.87.28
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/components/GeneralLogout-CEm1d9TV.js +300 -0
- package/components/GeneralLogout-Cx-68AU-.cjs +1 -0
- package/components/GeneralLogout-P3tigWsE.js +300 -0
- package/components/PlayerAccountBettingHistory-BTrKyG5c.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CumeIegs.js +310 -0
- package/components/PlayerAccountBettingHistory-V_ZXgT_m.js +311 -0
- package/components/PlayerAccountBiometrics-is5id3Pu.cjs +1 -0
- package/components/{PlayerAccountBiometrics-kmv4HqQ_.js → PlayerAccountBiometrics-kZejQke-.js} +94 -94
- package/components/{PlayerAccountBiometrics-Cu1scn1a.js → PlayerAccountBiometrics-nvw10pCK.js} +94 -94
- package/components/PlayerAccountBiometricsAction-CnzIUbKT.js +434 -0
- package/components/PlayerAccountBiometricsAction-DgA-1ZVp.js +451 -0
- package/components/PlayerAccountBiometricsAction-KVABAIgM.cjs +1 -0
- package/components/{PlayerAccountClosure-B7lWhxS5.js → PlayerAccountClosure-BRWbN9CL.js} +90 -90
- package/components/{PlayerAccountClosure-DWX0cAW_.js → PlayerAccountClosure-CMHJCKmw.js} +92 -92
- package/components/PlayerAccountClosure-eMDaHm0s.cjs +1 -0
- package/components/PlayerAccountController-BnmD5Ofx.cjs +21 -0
- package/components/PlayerAccountController-DuWNHRdy.js +13466 -0
- package/components/PlayerAccountController-j-NYynzq.js +13423 -0
- package/components/{PlayerAccountGamingLimits-DuDCpH1C.js → PlayerAccountGamingLimits-B4jiOpbe.js} +101 -101
- package/components/{PlayerAccountGamingLimits-DNqahHsA.js → PlayerAccountGamingLimits-CKJ6b9fI.js} +97 -97
- package/components/PlayerAccountGamingLimits-CWozJexi.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-D7U-SETU.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-De_w7-UU.js → PlayerAccountGamingLimitsConfirmationModal-DnrFMJHA.js} +88 -88
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DfJgQjRr.js → PlayerAccountGamingLimitsConfirmationModal-kEFYK5ek.js} +77 -77
- package/components/PlayerAccountGamingLimitsGroupEdit-Bxzv8N1q.cjs +1 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DE3NQvEw.js +1555 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-e5InPcEl.js +1555 -0
- package/components/PlayerAccountGamingLimitsHistory2-COzxMqse.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2-D1N2rg25.js → PlayerAccountGamingLimitsHistory2-CjyULSw7.js} +111 -111
- package/components/{PlayerAccountGamingLimitsHistory2-BN0w14Hg.js → PlayerAccountGamingLimitsHistory2-D77EY8P-.js} +100 -100
- package/components/{PlayerAccountGamingLimitsInfoCard-D_ro79gB.js → PlayerAccountGamingLimitsInfoCard-8dFikYNs.js} +415 -399
- package/components/PlayerAccountGamingLimitsInfoCard-BGpnQhkj.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-B6oHRJP6.js → PlayerAccountGamingLimitsInfoCard-DOiKdkIk.js} +415 -399
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CMxzI07w.cjs → PlayerAccountGamingLimitsPage2Gm16-B-ROLFTB.cjs} +6 -6
- package/components/{PlayerAccountGamingLimitsPage2Gm16-o_0DfyBW.js → PlayerAccountGamingLimitsPage2Gm16-Bs5pGY8V.js} +699 -699
- package/components/{PlayerAccountGamingLimitsPage2Gm16-EA4I02NQ.js → PlayerAccountGamingLimitsPage2Gm16-CmV0jB0D.js} +702 -702
- package/components/{PlayerAccountGamingLimitsPopup-9casCGHJ.js → PlayerAccountGamingLimitsPopup-C9wKY91L.js} +34 -34
- package/components/PlayerAccountGamingLimitsPopup-Cpzn3X0n.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPopup-DhlQaawG.js → PlayerAccountGamingLimitsPopup-_AnjYuYf.js} +38 -38
- package/components/{PlayerAccountGamingLimitsWrapper2-DG5pRuF1.js → PlayerAccountGamingLimitsWrapper2-DqAnX1Py.js} +81 -81
- package/components/{PlayerAccountGamingLimitsWrapper2-B_pUqlM0.js → PlayerAccountGamingLimitsWrapper2-Dwknu3Cb.js} +75 -75
- package/components/PlayerAccountGamingLimitsWrapper2-y6bGvy33.cjs +4 -0
- package/components/{PlayerAccountGeneralConfirmationModal-BIStQzTL.js → PlayerAccountGeneralConfirmationModal-BiBU4e0n.js} +103 -103
- package/components/{PlayerAccountGeneralConfirmationModal-DAUZlQfJ.js → PlayerAccountGeneralConfirmationModal-DA07qkhd.js} +106 -106
- package/components/PlayerAccountGeneralConfirmationModal-PNfL91mi.cjs +1 -0
- package/components/{PlayerAccountMenu-khqZEoBc.js → PlayerAccountMenu-BW2VbXTx.js} +129 -129
- package/components/PlayerAccountMenu-CERrQlC7.cjs +1 -0
- package/components/{PlayerAccountMenu-OqVmttiI.js → PlayerAccountMenu-C_OETzKF.js} +129 -129
- package/components/{PlayerAccountModal-NUSkSmow.js → PlayerAccountModal-CL2SvpaJ.js} +58 -58
- package/components/{PlayerAccountModal-BXez3U77.js → PlayerAccountModal-CRzDk0do.js} +54 -54
- package/components/PlayerAccountModal-Dv3Yl1K_.cjs +1 -0
- package/components/{PlayerAccountNotifications-0v1ghF-m.js → PlayerAccountNotifications-BSwGy1iD.js} +87 -87
- package/components/{PlayerAccountNotifications-XjCLekPR.js → PlayerAccountNotifications-BmE8XpGH.js} +126 -126
- package/components/PlayerAccountNotifications-CevM0zeL.cjs +1 -0
- package/components/PlayerAccountProductRestriction-Bnwnb-af.js +1458 -0
- package/components/PlayerAccountProductRestriction-CLH_YtYd.cjs +4 -0
- package/components/PlayerAccountProductRestriction-Cj9ofL_Q.js +1493 -0
- package/components/{PlayerAccountReviewFrequency-ByPlOg40.js → PlayerAccountReviewFrequency-C8N1VIV5.js} +245 -245
- package/components/{PlayerAccountReviewFrequency-yLwAfHZd.js → PlayerAccountReviewFrequency-Cm4mwygx.js} +235 -235
- package/components/PlayerAccountReviewFrequency-D2YmIGdB.cjs +4 -0
- package/components/PlayerAccountSelfExclusion-C3XJo3op.js +1523 -0
- package/components/PlayerAccountSelfExclusion-CRCAuW_I.js +1551 -0
- package/components/PlayerAccountSelfExclusion-DIoBP-zp.cjs +1 -0
- package/components/{PlayerAccountSelfExclusion-0IraJUCF.js → PlayerAccountTimeout-Be13_cTt.js} +2363 -2581
- package/components/{PlayerAccountSelfExclusion-CP3lzn6g.cjs → PlayerAccountTimeout-DEpNYl-t.cjs} +161 -161
- package/components/{PlayerAccountSelfExclusion-B9QFixvG.js → PlayerAccountTimeout-H7G4ySPT.js} +2327 -2545
- package/components/{PlayerAccountTransactionsHistory-C4dSIP6l.js → PlayerAccountTransactionsHistory-BHDgStwb.js} +293 -292
- package/components/{PlayerAccountTransactionsHistory-CAFUIFUl.js → PlayerAccountTransactionsHistory-CKfnF5YJ.js} +304 -303
- package/components/PlayerAccountTransactionsHistory-CgTmptks.cjs +4 -0
- package/components/{PlayerActiveBonuses-BQSKxH9G.js → PlayerActiveBonuses-BAevp5YH.js} +222 -221
- package/components/{PlayerActiveBonuses-DSpez0EN.js → PlayerActiveBonuses-DRppY1vB.js} +192 -193
- package/components/PlayerActiveBonuses-M-vgtJjj.cjs +4 -0
- package/components/{PlayerBonusCard-D4jw0D02.js → PlayerBonusCard-BBq4z62c.js} +53 -53
- package/components/{PlayerBonusCard--2t2lX4X.js → PlayerBonusCard-BWZ4o6Nm.js} +53 -53
- package/components/PlayerBonusCard-BenCFvw0.cjs +1 -0
- package/components/{PlayerAccountProductRestriction-Drc1Iu2o.cjs → PlayerBonusHistory-CKhVhlwo.cjs} +295 -294
- package/components/PlayerBonusHistory-D1DkiHxv.js +20048 -0
- package/components/PlayerBonusHistory-DJdSfH1n.js +20037 -0
- package/components/{PlayerChangePassword-CK9EmNEl.js → PlayerChangePassword-DeoUbAd5.js} +257 -257
- package/components/{PlayerChangePassword-DDqLNG5r.js → PlayerChangePassword-OSahUgLo.js} +257 -257
- package/components/PlayerChangePassword-WUgeBsFa.cjs +3 -0
- package/components/{PlayerDeposit-BiOuprGV.js → PlayerDeposit-Du1nnR1u.js} +53 -53
- package/components/PlayerDeposit-Yd04zzeQ.cjs +1 -0
- package/components/{PlayerDeposit-B0xGf2EY.js → PlayerDeposit-abPtD5hO.js} +51 -51
- package/components/PlayerGamingHistory-DyYqzcQv.cjs +1 -0
- package/components/{PlayerGamingHistory-CDPSEyVI.js → PlayerGamingHistory-PBFc5gs-.js} +372 -373
- package/components/{PlayerGamingHistory-CJn-wybc.js → PlayerGamingHistory-XBIUqV4O.js} +404 -405
- package/components/{PlayerPendingWithdrawals-DKIV0VFt.js → PlayerPendingWithdrawals-6W2QUcnc.js} +54 -54
- package/components/PlayerPendingWithdrawals-7YfYYSbo.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-Cw2CONsa.js → PlayerPendingWithdrawals-Dvufib_U.js} +54 -54
- package/components/PlayerProfileInfo-BTa1BRn8.cjs +4 -0
- package/components/{PlayerProfileInfo-B2PmsKAI.js → PlayerProfileInfo-BmqBm5DP.js} +782 -782
- package/components/{PlayerProfileInfo-YrTsyEfP.js → PlayerProfileInfo-DtV65Pxq.js} +646 -646
- package/components/PlayerRealityCheck-CqGAN5_L.cjs +1 -0
- package/components/{PlayerRealityCheck-CEToSHcC.js → PlayerRealityCheck-CziErfd6.js} +202 -202
- package/components/{PlayerRealityCheck-BdFZDJFk.js → PlayerRealityCheck-lVnY8s1I.js} +217 -217
- package/components/PlayerTransactionHistory-D5WIm27W.cjs +1 -0
- package/components/{PlayerTransactionHistory-BWwWT8z7.js → PlayerTransactionHistory-DZmR7K3t.js} +64 -64
- package/components/{PlayerTransactionHistory-C8uedDZz.js → PlayerTransactionHistory-WpDMStju.js} +68 -68
- package/components/{PlayerWithdrawal-BXYWP9OV.js → PlayerWithdrawal-BctNJ79f.js} +65 -65
- package/components/{PlayerWithdrawal-DuhBS0tB.js → PlayerWithdrawal-BgFPB_ak.js} +65 -65
- package/components/PlayerWithdrawal-rv6DLOa1.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +7 -7
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BjWsvLzr.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-XUXOuUQl.js} +4 -4
- package/stencil/{checkbox-group-input_16-CFtp0f8h.js → checkbox-group-input_16-Bn7_E98r.js} +2 -2
- package/stencil/{checkbox-group-input_16-DuSVlPzJ.cjs → checkbox-group-input_16-C6_jN3p0.cjs} +1 -1
- package/stencil/{checkbox-group-input_16-ywIYg4ns.js → checkbox-group-input_16-D9ML4j06.js} +2 -2
- package/stencil/{index-1ef3a64c-CEngIsyB.js → index-1ef3a64c-BvSXLnmQ.js} +1 -1
- package/stencil/{index-1ef3a64c-BzR_jMKw.cjs → index-1ef3a64c-DK-TGomt.cjs} +1 -1
- package/stencil/{index-1ef3a64c-D5p-wZAC.js → index-1ef3a64c-Dwdxxwjy.js} +1 -1
- package/stencil/{index-6e523641-D2onrjgE.cjs → index-6e523641-DOnePbtQ.cjs} +1 -1
- package/stencil/{index-6e523641-B9tbNrXZ.js → index-6e523641-DpGJosc3.js} +1 -1
- package/stencil/{index-6e523641-DH0Ezdpy.js → index-6e523641-pWMNWAtQ.js} +1 -1
- package/stencil/{index-9c0f6c58-DjED2nNw.js → index-9c0f6c58-BN39eMNX.js} +1 -1
- package/stencil/{index-9c0f6c58-XIZolvs1.cjs → index-9c0f6c58-DK260bKj.cjs} +1 -1
- package/stencil/{index-9c0f6c58-DEQL19Io.js → index-9c0f6c58-_RRbHDNl.js} +1 -1
- package/stencil/{index-b2193545-0zWC7J3V.js → index-b2193545-CubpYFkO.js} +1 -1
- package/stencil/{index-b2193545-BDUg7na_.js → index-b2193545-D3SG_Z28.js} +1 -1
- package/stencil/{index-b2193545-C-iFa_cO.cjs → index-b2193545-DM_LjYJq.cjs} +1 -1
- package/stencil/{index-c666b6e6-GVnzND9A.cjs → index-c666b6e6-2zPWxCxt.cjs} +1 -1
- package/stencil/{index-c666b6e6-C3HFUtzN.js → index-c666b6e6-C0YjtgbT.js} +1 -1
- package/stencil/{index-c666b6e6-C5SvvcXp.js → index-c666b6e6-DO3NG0d_.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-BM0i-nkQ.js → pam-change-password-25b46f90--RvqyvAS.js} +122 -93
- package/stencil/{pam-change-password-6b535bd5-CwazAyPT.cjs → pam-change-password-25b46f90-CILEgZdb.cjs} +2 -2
- package/stencil/{pam-change-password-6b535bd5-BMlVfXop.js → pam-change-password-25b46f90-DBsCYhoF.js} +121 -93
- package/stencil/pam-change-password-BaP9RQnm.cjs +1 -0
- package/stencil/{pam-change-password-vIDF9oZ0.js → pam-change-password-CfJwcRNG.js} +2 -2
- package/stencil/{pam-change-password-YY_WAq3p.js → pam-change-password-a_MEmefG.js} +2 -2
- package/stencil/{player-kyc-verification-Cg0fVyvL.cjs → player-kyc-verification-CR-8JjQM.cjs} +2 -2
- package/stencil/{player-kyc-verification-vQ6gNPBe.js → player-kyc-verification-DQBYB3LU.js} +90 -62
- package/stencil/{player-kyc-verification-BUKoBt3P.js → player-kyc-verification-TCKpEp1x.js} +120 -93
- package/stencil/{ui-skeleton-CTFP1U_H.js → ui-skeleton-BKpwkQ2A.js} +3 -3
- package/stencil/{ui-skeleton-C2ZVNvDq.cjs → ui-skeleton-CS05SPLQ.cjs} +1 -1
- package/stencil/{ui-skeleton-BQnxp85t.js → ui-skeleton-DNuG5l9W.js} +3 -3
- package/stencil/{ui-skeleton-ed169f8f-BXqYzfTU.js → ui-skeleton-ed169f8f-BI8lGn4f.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-DCJKKb_M.cjs → ui-skeleton-ed169f8f-CKUfafNC.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-OyzwWyyv.js → ui-skeleton-ed169f8f-CLfa7nfh.js} +1 -1
- package/stencil/{user-deposit-withdrawal-C5lc1C0l.js → user-deposit-withdrawal-BXuiRURM.js} +366 -338
- package/stencil/{user-deposit-withdrawal-DmXcotOq.js → user-deposit-withdrawal-CL7rhukA.js} +321 -294
- package/stencil/user-deposit-withdrawal-gb0EFmeV.cjs +72 -0
- package/stencil/{user-transaction-history-BdbQJzhb.js → user-transaction-history-DCZDdxLh.js} +2 -2
- package/stencil/{user-transaction-history-CcfxBfFN.js → user-transaction-history-E1bvLWYx.js} +2 -2
- package/stencil/{user-transaction-history-CucZiFYD.cjs → user-transaction-history-_0g5E0XE.cjs} +1 -1
- package/stencil/{user-transaction-history_2-B2XvgToy.cjs → user-transaction-history_2-BsrwI7Ib.cjs} +275 -275
- package/stencil/{user-transaction-history_2-Ds0pNCu8.js → user-transaction-history_2-C5uqpRMQ.js} +1701 -1651
- package/stencil/{user-transaction-history_2-B9fxyLUj.js → user-transaction-history_2-DXX9cR5-.js} +916 -911
- package/components/GeneralLogout-0J1RtGyR.js +0 -5018
- package/components/GeneralLogout-CmR1r8PX.cjs +0 -21
- package/components/GeneralLogout-CwcvAxfM.js +0 -4981
- package/components/PlayerAccountBettingHistory-Bf-VPJhk.cjs +0 -1
- package/components/PlayerAccountBettingHistory-CiMelnLz.js +0 -311
- package/components/PlayerAccountBettingHistory-Cr9hPDou.js +0 -310
- package/components/PlayerAccountBiometrics-j15j-n3y.cjs +0 -1
- package/components/PlayerAccountBiometricsAction-BJrkhDoI.js +0 -403
- package/components/PlayerAccountBiometricsAction-BcR2gS30.js +0 -386
- package/components/PlayerAccountBiometricsAction-z16q0M2J.cjs +0 -1
- package/components/PlayerAccountClosure-CxxMCXDa.cjs +0 -1
- package/components/PlayerAccountController-0zwzJJ4s.js +0 -8738
- package/components/PlayerAccountController-Cg3bzQs5.js +0 -8721
- package/components/PlayerAccountController-J-78lsk8.cjs +0 -1
- package/components/PlayerAccountGamingLimits-DdwsiJT8.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-BiEiNlIc.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-2iDWNhRl.js +0 -4781
- package/components/PlayerAccountGamingLimitsGroupEdit-CsTpmmhw.js +0 -4781
- package/components/PlayerAccountGamingLimitsGroupEdit-gLF0R4uM.cjs +0 -2
- package/components/PlayerAccountGamingLimitsHistory2-D3h2vvVL.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-CUhqA1Ww.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPopup-DJbPWFdb.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-1lOfUhUT.cjs +0 -4
- package/components/PlayerAccountGeneralConfirmationModal-BCMD8hM8.cjs +0 -1
- package/components/PlayerAccountMenu-DXhrPxvF.cjs +0 -1
- package/components/PlayerAccountModal-BpTtaUfX.cjs +0 -1
- package/components/PlayerAccountNotifications-CMZltoyc.cjs +0 -1
- package/components/PlayerAccountProductRestriction-Dl552qim.js +0 -17524
- package/components/PlayerAccountProductRestriction-THYKSRMa.js +0 -17559
- package/components/PlayerAccountReviewFrequency-BeI7-JB-.cjs +0 -4
- package/components/PlayerAccountTimeout-BRlyos9t.cjs +0 -1
- package/components/PlayerAccountTimeout-BVyjYoqw.js +0 -975
- package/components/PlayerAccountTimeout-CkMUko7-.js +0 -975
- package/components/PlayerAccountTransactionsHistory-DlCJ6V4t.cjs +0 -4
- package/components/PlayerActiveBonuses-CQXEEx6M.cjs +0 -4
- package/components/PlayerBonusCard-DqB-YOwa.cjs +0 -1
- package/components/PlayerBonusHistory-BbO5bAQY.js +0 -1106
- package/components/PlayerBonusHistory-C6ZPMR2L.js +0 -1095
- package/components/PlayerBonusHistory-DtiQesaY.cjs +0 -4
- package/components/PlayerChangePassword-IADHpyQs.cjs +0 -3
- package/components/PlayerDeposit-CN2QU967.cjs +0 -1
- package/components/PlayerGamingHistory-2XEKCfky.cjs +0 -1
- package/components/PlayerPendingWithdrawals-HXAehYWA.cjs +0 -1
- package/components/PlayerProfileInfo-wZEXXCWQ.cjs +0 -4
- package/components/PlayerRealityCheck-DWoQCHkQ.cjs +0 -1
- package/components/PlayerTransactionHistory-CHKGqwam.cjs +0 -1
- package/components/PlayerWithdrawal-DhfwYn8c.cjs +0 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
- package/stencil/pam-change-password-zaJZcylb.cjs +0 -1
- package/stencil/user-deposit-withdrawal-DfWpITDc.cjs +0 -72
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
var R = (t, e, i) => new Promise((n, s) => {
|
|
2
|
+
var c = (l) => {
|
|
3
|
+
try {
|
|
4
|
+
a(i.next(l));
|
|
5
|
+
} catch (d) {
|
|
6
|
+
s(d);
|
|
7
|
+
}
|
|
8
|
+
}, r = (l) => {
|
|
9
|
+
try {
|
|
10
|
+
a(i.throw(l));
|
|
11
|
+
} catch (d) {
|
|
12
|
+
s(d);
|
|
13
|
+
}
|
|
14
|
+
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(c, r);
|
|
15
|
+
a((i = i.apply(t, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { a as J, $ as Q, S as V, i as Y, s as Z, f as u, b as $, n as C, d as k, c as E, O as ee, g as ie, o as te, e as w, j as se, t as ne, m as j, w as F, u as oe, r as S, N as h, z as ae, A as re, B as ce, C as le, D as be } from "./PlayerAccountController-DuWNHRdy.js";
|
|
18
|
+
function me(t, e) {
|
|
19
|
+
J(t, e);
|
|
20
|
+
}
|
|
21
|
+
function ue(t) {
|
|
22
|
+
Q.set(t);
|
|
23
|
+
}
|
|
24
|
+
const de = {
|
|
25
|
+
en: {
|
|
26
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
27
|
+
btnDisableBiometrics: "Disable biometrics",
|
|
28
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
29
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
30
|
+
errorMessage: "Biometrics update failed"
|
|
31
|
+
},
|
|
32
|
+
"zh-hk": {
|
|
33
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
34
|
+
btnDisableBiometrics: "Disable biometrics",
|
|
35
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
36
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
37
|
+
errorMessage: "Biometrics update failed"
|
|
38
|
+
},
|
|
39
|
+
fr: {
|
|
40
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
41
|
+
btnDisableBiometrics: "Disable biometrics",
|
|
42
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
43
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
44
|
+
errorMessage: "Biometrics update failed"
|
|
45
|
+
},
|
|
46
|
+
tr: {
|
|
47
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
48
|
+
btnDisableBiometrics: "Disable biometrics",
|
|
49
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
50
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
51
|
+
errorMessage: "Biometrics update failed"
|
|
52
|
+
},
|
|
53
|
+
ro: {
|
|
54
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
55
|
+
btnDisableBiometrics: "Disable biometrics",
|
|
56
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
57
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
58
|
+
errorMessage: "Biometrics update failed"
|
|
59
|
+
},
|
|
60
|
+
es: {
|
|
61
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
62
|
+
btnDisableBiometrics: "Disable biometrics",
|
|
63
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
64
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
65
|
+
errorMessage: "Biometrics update failed"
|
|
66
|
+
},
|
|
67
|
+
pt: {
|
|
68
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
69
|
+
btnDisableBiometrics: "Disable biometrics",
|
|
70
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
71
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
72
|
+
errorMessage: "Biometrics update failed"
|
|
73
|
+
},
|
|
74
|
+
hr: {
|
|
75
|
+
btnEnableBiometrics: "Omogući biometriju",
|
|
76
|
+
btnDisableBiometrics: "Onemogući biometriju",
|
|
77
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
78
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
79
|
+
errorMessage: "Biometrics update failed"
|
|
80
|
+
},
|
|
81
|
+
"pt-br": {
|
|
82
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
83
|
+
btnDisableBiometrics: "Disable biometrics",
|
|
84
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
85
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
86
|
+
errorMessage: "Biometrics update failed"
|
|
87
|
+
},
|
|
88
|
+
"es-mx": {
|
|
89
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
90
|
+
btnDisableBiometrics: "Disable biometrics",
|
|
91
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
92
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
93
|
+
errorMessage: "Biometrics update failed"
|
|
94
|
+
},
|
|
95
|
+
"en-us": {
|
|
96
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
97
|
+
btnDisableBiometrics: "Disable biometrics",
|
|
98
|
+
successEnableBiometrics: "Biometric authentication enabled.",
|
|
99
|
+
successDisableBiometrics: "Biometric authentication disabled.",
|
|
100
|
+
errorMessage: "Biometrics update failed"
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
function ge(t, e, i) {
|
|
104
|
+
return window.emMessageBus && (e = window.emMessageBus.subscribe(t, i)), e;
|
|
105
|
+
}
|
|
106
|
+
function fe(t) {
|
|
107
|
+
$(t, "svelte-4r3z7g", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}');
|
|
108
|
+
}
|
|
109
|
+
function X(t) {
|
|
110
|
+
let e;
|
|
111
|
+
function i(c, r) {
|
|
112
|
+
if (
|
|
113
|
+
/*mode*/
|
|
114
|
+
c[1] === "button"
|
|
115
|
+
)
|
|
116
|
+
return Be;
|
|
117
|
+
if (
|
|
118
|
+
/*mode*/
|
|
119
|
+
c[1] === "switch"
|
|
120
|
+
)
|
|
121
|
+
return he;
|
|
122
|
+
}
|
|
123
|
+
let n = i(t), s = n && n(t);
|
|
124
|
+
return {
|
|
125
|
+
c() {
|
|
126
|
+
e = w("div"), s && s.c();
|
|
127
|
+
},
|
|
128
|
+
m(c, r) {
|
|
129
|
+
E(c, e, r), s && s.m(e, null), t[17](e);
|
|
130
|
+
},
|
|
131
|
+
p(c, r) {
|
|
132
|
+
n === (n = i(c)) && s ? s.p(c, r) : (s && s.d(1), s = n && n(c), s && (s.c(), s.m(e, null)));
|
|
133
|
+
},
|
|
134
|
+
d(c) {
|
|
135
|
+
c && k(e), s && s.d(), t[17](null);
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
function he(t) {
|
|
140
|
+
let e, i, n, s, c;
|
|
141
|
+
return {
|
|
142
|
+
c() {
|
|
143
|
+
e = w("button"), i = w("div"), i.innerHTML = '<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>', S(i, "class", "skip-switch"), h(
|
|
144
|
+
i,
|
|
145
|
+
"checked",
|
|
146
|
+
/*biometricsEnabled*/
|
|
147
|
+
t[4]
|
|
148
|
+
), h(
|
|
149
|
+
i,
|
|
150
|
+
"disabled",
|
|
151
|
+
/*isUpdatingBiometrics*/
|
|
152
|
+
t[5] || /*isLoading*/
|
|
153
|
+
t[2]
|
|
154
|
+
), h(
|
|
155
|
+
i,
|
|
156
|
+
"shake",
|
|
157
|
+
/*shake*/
|
|
158
|
+
t[6]
|
|
159
|
+
), S(e, "class", "toggle-content"), e.disabled = n = /*isUpdatingBiometrics*/
|
|
160
|
+
t[5] || /*isLoading*/
|
|
161
|
+
t[2];
|
|
162
|
+
},
|
|
163
|
+
m(r, a) {
|
|
164
|
+
E(r, e, a), j(e, i), s || (c = F(
|
|
165
|
+
e,
|
|
166
|
+
"click",
|
|
167
|
+
/*toggleBiometrics*/
|
|
168
|
+
t[8]
|
|
169
|
+
), s = !0);
|
|
170
|
+
},
|
|
171
|
+
p(r, a) {
|
|
172
|
+
a & /*biometricsEnabled*/
|
|
173
|
+
16 && h(
|
|
174
|
+
i,
|
|
175
|
+
"checked",
|
|
176
|
+
/*biometricsEnabled*/
|
|
177
|
+
r[4]
|
|
178
|
+
), a & /*isUpdatingBiometrics, isLoading*/
|
|
179
|
+
36 && h(
|
|
180
|
+
i,
|
|
181
|
+
"disabled",
|
|
182
|
+
/*isUpdatingBiometrics*/
|
|
183
|
+
r[5] || /*isLoading*/
|
|
184
|
+
r[2]
|
|
185
|
+
), a & /*shake*/
|
|
186
|
+
64 && h(
|
|
187
|
+
i,
|
|
188
|
+
"shake",
|
|
189
|
+
/*shake*/
|
|
190
|
+
r[6]
|
|
191
|
+
), a & /*isUpdatingBiometrics, isLoading*/
|
|
192
|
+
36 && n !== (n = /*isUpdatingBiometrics*/
|
|
193
|
+
r[5] || /*isLoading*/
|
|
194
|
+
r[2]) && (e.disabled = n);
|
|
195
|
+
},
|
|
196
|
+
d(r) {
|
|
197
|
+
r && k(e), s = !1, c();
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
function Be(t) {
|
|
202
|
+
let e, i = (
|
|
203
|
+
/*biometricsEnabled*/
|
|
204
|
+
(t[4] ? (
|
|
205
|
+
/*$_*/
|
|
206
|
+
t[7]("btnDisableBiometrics")
|
|
207
|
+
) : (
|
|
208
|
+
/*$_*/
|
|
209
|
+
t[7]("btnEnableBiometrics")
|
|
210
|
+
)) + ""
|
|
211
|
+
), n, s, c, r;
|
|
212
|
+
return {
|
|
213
|
+
c() {
|
|
214
|
+
e = w("button"), n = oe(i), S(e, "class", "BiometricsToggle"), e.disabled = s = /*isUpdatingBiometrics*/
|
|
215
|
+
t[5] || /*isLoading*/
|
|
216
|
+
t[2];
|
|
217
|
+
},
|
|
218
|
+
m(a, l) {
|
|
219
|
+
E(a, e, l), j(e, n), c || (r = F(
|
|
220
|
+
e,
|
|
221
|
+
"click",
|
|
222
|
+
/*click_handler*/
|
|
223
|
+
t[16]
|
|
224
|
+
), c = !0);
|
|
225
|
+
},
|
|
226
|
+
p(a, l) {
|
|
227
|
+
l & /*biometricsEnabled, $_*/
|
|
228
|
+
144 && i !== (i = /*biometricsEnabled*/
|
|
229
|
+
(a[4] ? (
|
|
230
|
+
/*$_*/
|
|
231
|
+
a[7]("btnDisableBiometrics")
|
|
232
|
+
) : (
|
|
233
|
+
/*$_*/
|
|
234
|
+
a[7]("btnEnableBiometrics")
|
|
235
|
+
)) + "") && ne(n, i), l & /*isUpdatingBiometrics, isLoading*/
|
|
236
|
+
36 && s !== (s = /*isUpdatingBiometrics*/
|
|
237
|
+
a[5] || /*isLoading*/
|
|
238
|
+
a[2]) && (e.disabled = s);
|
|
239
|
+
},
|
|
240
|
+
d(a) {
|
|
241
|
+
a && k(e), c = !1, r();
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
function pe(t) {
|
|
246
|
+
let e, i = (
|
|
247
|
+
/*isNativeApp*/
|
|
248
|
+
t[0] && X(t)
|
|
249
|
+
);
|
|
250
|
+
return {
|
|
251
|
+
c() {
|
|
252
|
+
i && i.c(), e = ee();
|
|
253
|
+
},
|
|
254
|
+
m(n, s) {
|
|
255
|
+
i && i.m(n, s), E(n, e, s);
|
|
256
|
+
},
|
|
257
|
+
p(n, [s]) {
|
|
258
|
+
/*isNativeApp*/
|
|
259
|
+
n[0] ? i ? i.p(n, s) : (i = X(n), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
|
|
260
|
+
},
|
|
261
|
+
i: C,
|
|
262
|
+
o: C,
|
|
263
|
+
d(n) {
|
|
264
|
+
n && k(e), i && i.d(n);
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
function ye(t, e, i) {
|
|
269
|
+
let n;
|
|
270
|
+
ie(t, be, (o) => i(7, n = o));
|
|
271
|
+
let { lang: s = "en" } = e, { clientstyling: c = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: a } = e, { translationurl: l = "" } = e, { isNativeApp: d = !1 } = e, { mode: T = "button" } = e, { isFromLogin: p = !1 } = e, { isLoading: L = !1 } = e, m, U, B, g = null, y = !1, f = !1, _ = !1;
|
|
272
|
+
const D = (o) => {
|
|
273
|
+
Object.keys(o).forEach((b) => {
|
|
274
|
+
me(b, o[b]);
|
|
275
|
+
});
|
|
276
|
+
}, H = () => {
|
|
277
|
+
fetch(l).then((b) => b.json()).then((b) => {
|
|
278
|
+
D(b);
|
|
279
|
+
}).catch((b) => {
|
|
280
|
+
console.log(b);
|
|
281
|
+
});
|
|
282
|
+
};
|
|
283
|
+
D(de);
|
|
284
|
+
const P = () => {
|
|
285
|
+
ue(s);
|
|
286
|
+
}, N = {
|
|
287
|
+
BIOMETRICS_RESPONSE: 3e3,
|
|
288
|
+
SHAKE_DURATION: 500
|
|
289
|
+
};
|
|
290
|
+
let M = !1;
|
|
291
|
+
const q = () => {
|
|
292
|
+
i(6, M = !0), setTimeout(
|
|
293
|
+
() => {
|
|
294
|
+
i(6, M = !1);
|
|
295
|
+
},
|
|
296
|
+
N.SHAKE_DURATION
|
|
297
|
+
);
|
|
298
|
+
}, A = () => {
|
|
299
|
+
g && clearTimeout(g), g = setTimeout(
|
|
300
|
+
() => {
|
|
301
|
+
i(5, f = !1), q(), z("error", n("errorMessage"));
|
|
302
|
+
},
|
|
303
|
+
N.BIOMETRICS_RESPONSE
|
|
304
|
+
);
|
|
305
|
+
}, v = () => R(this, null, function* () {
|
|
306
|
+
f || (i(5, f = !0), _ = !0, window.postMessage({
|
|
307
|
+
type: "ToggleBiometrics",
|
|
308
|
+
data: `${!y}`,
|
|
309
|
+
isFromLogin: p
|
|
310
|
+
}), A());
|
|
311
|
+
}), x = (o) => {
|
|
312
|
+
var b, I;
|
|
313
|
+
((b = o.data) == null ? void 0 : b.type) === "NativeAppReady" && (i(0, d = !0), O()), ((I = o.data) == null ? void 0 : I.type) === "BiometricsStatus" && (i(4, y = o.data.status || !1), i(5, f = !1), g && (clearTimeout(g), g = null), _ && (p || z("success", n(y ? "successEnableBiometrics" : "successDisableBiometrics"))), _ = !1);
|
|
314
|
+
}, O = () => {
|
|
315
|
+
i(5, f = !0), window.postMessage({ type: "GetBiometricsStatus" }), A();
|
|
316
|
+
}, K = () => {
|
|
317
|
+
window.postMessage({ type: "CheckNativeApp" });
|
|
318
|
+
}, z = (o, b) => {
|
|
319
|
+
window.postMessage(
|
|
320
|
+
{
|
|
321
|
+
type: "WidgetNotification",
|
|
322
|
+
data: {
|
|
323
|
+
type: o,
|
|
324
|
+
message: b,
|
|
325
|
+
config: { clearBefore: !0 }
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
window.location.href
|
|
329
|
+
);
|
|
330
|
+
};
|
|
331
|
+
te(() => (window.addEventListener("message", x), d === !0 ? O() : K(), () => {
|
|
332
|
+
window.removeEventListener("message", x), B && B.unsubscribe(), g && clearTimeout(g);
|
|
333
|
+
}));
|
|
334
|
+
const W = () => v();
|
|
335
|
+
function G(o) {
|
|
336
|
+
se[o ? "unshift" : "push"](() => {
|
|
337
|
+
m = o, i(3, m);
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
return t.$$set = (o) => {
|
|
341
|
+
"lang" in o && i(9, s = o.lang), "clientstyling" in o && i(10, c = o.clientstyling), "clientstylingurl" in o && i(11, r = o.clientstylingurl), "mbsource" in o && i(12, a = o.mbsource), "translationurl" in o && i(13, l = o.translationurl), "isNativeApp" in o && i(0, d = o.isNativeApp), "mode" in o && i(1, T = o.mode), "isFromLogin" in o && i(14, p = o.isFromLogin), "isLoading" in o && i(2, L = o.isLoading);
|
|
342
|
+
}, t.$$.update = () => {
|
|
343
|
+
t.$$.dirty & /*lang*/
|
|
344
|
+
512 && s && P(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
345
|
+
1032 && c && m && ae(m, c), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
346
|
+
2056 && r && m && re(m, r), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
347
|
+
4104 && a && m && ce(m, `${a}.Style`, U), t.$$.dirty & /*translationurl*/
|
|
348
|
+
8192 && l && H(), t.$$.dirty & /*mbsource, translationurl, translationSubscription*/
|
|
349
|
+
45056 && a && !l && i(15, B = ge(`${a}.Translation`, B, D));
|
|
350
|
+
}, [
|
|
351
|
+
d,
|
|
352
|
+
T,
|
|
353
|
+
L,
|
|
354
|
+
m,
|
|
355
|
+
y,
|
|
356
|
+
f,
|
|
357
|
+
M,
|
|
358
|
+
n,
|
|
359
|
+
v,
|
|
360
|
+
s,
|
|
361
|
+
c,
|
|
362
|
+
r,
|
|
363
|
+
a,
|
|
364
|
+
l,
|
|
365
|
+
p,
|
|
366
|
+
B,
|
|
367
|
+
W,
|
|
368
|
+
G
|
|
369
|
+
];
|
|
370
|
+
}
|
|
371
|
+
class we extends V {
|
|
372
|
+
constructor(e) {
|
|
373
|
+
super(), Y(
|
|
374
|
+
this,
|
|
375
|
+
e,
|
|
376
|
+
ye,
|
|
377
|
+
pe,
|
|
378
|
+
Z,
|
|
379
|
+
{
|
|
380
|
+
lang: 9,
|
|
381
|
+
clientstyling: 10,
|
|
382
|
+
clientstylingurl: 11,
|
|
383
|
+
mbsource: 12,
|
|
384
|
+
translationurl: 13,
|
|
385
|
+
isNativeApp: 0,
|
|
386
|
+
mode: 1,
|
|
387
|
+
isFromLogin: 14,
|
|
388
|
+
isLoading: 2
|
|
389
|
+
},
|
|
390
|
+
fe
|
|
391
|
+
);
|
|
392
|
+
}
|
|
393
|
+
get lang() {
|
|
394
|
+
return this.$$.ctx[9];
|
|
395
|
+
}
|
|
396
|
+
set lang(e) {
|
|
397
|
+
this.$$set({ lang: e }), u();
|
|
398
|
+
}
|
|
399
|
+
get clientstyling() {
|
|
400
|
+
return this.$$.ctx[10];
|
|
401
|
+
}
|
|
402
|
+
set clientstyling(e) {
|
|
403
|
+
this.$$set({ clientstyling: e }), u();
|
|
404
|
+
}
|
|
405
|
+
get clientstylingurl() {
|
|
406
|
+
return this.$$.ctx[11];
|
|
407
|
+
}
|
|
408
|
+
set clientstylingurl(e) {
|
|
409
|
+
this.$$set({ clientstylingurl: e }), u();
|
|
410
|
+
}
|
|
411
|
+
get mbsource() {
|
|
412
|
+
return this.$$.ctx[12];
|
|
413
|
+
}
|
|
414
|
+
set mbsource(e) {
|
|
415
|
+
this.$$set({ mbsource: e }), u();
|
|
416
|
+
}
|
|
417
|
+
get translationurl() {
|
|
418
|
+
return this.$$.ctx[13];
|
|
419
|
+
}
|
|
420
|
+
set translationurl(e) {
|
|
421
|
+
this.$$set({ translationurl: e }), u();
|
|
422
|
+
}
|
|
423
|
+
get isNativeApp() {
|
|
424
|
+
return this.$$.ctx[0];
|
|
425
|
+
}
|
|
426
|
+
set isNativeApp(e) {
|
|
427
|
+
this.$$set({ isNativeApp: e }), u();
|
|
428
|
+
}
|
|
429
|
+
get mode() {
|
|
430
|
+
return this.$$.ctx[1];
|
|
431
|
+
}
|
|
432
|
+
set mode(e) {
|
|
433
|
+
this.$$set({ mode: e }), u();
|
|
434
|
+
}
|
|
435
|
+
get isFromLogin() {
|
|
436
|
+
return this.$$.ctx[14];
|
|
437
|
+
}
|
|
438
|
+
set isFromLogin(e) {
|
|
439
|
+
this.$$set({ isFromLogin: e }), u();
|
|
440
|
+
}
|
|
441
|
+
get isLoading() {
|
|
442
|
+
return this.$$.ctx[2];
|
|
443
|
+
}
|
|
444
|
+
set isLoading(e) {
|
|
445
|
+
this.$$set({ isLoading: e }), u();
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
le(we, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, isNativeApp: { type: "Boolean" }, mode: {}, isFromLogin: { type: "Boolean" }, isLoading: { type: "Boolean" } }, [], [], !0);
|
|
449
|
+
export {
|
|
450
|
+
we as default
|
|
451
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var v=(s,e,t)=>new Promise((o,n)=>{var l=b=>{try{a(t.next(b))}catch(d){n(d)}},c=b=>{try{a(t.throw(b))}catch(d){n(d)}},a=b=>b.done?o(b.value):Promise.resolve(b.value).then(l,c);a((t=t.apply(s,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./PlayerAccountController-BnmD5Ofx.cjs");function U(s,e){i.addMessages(s,e)}function P(s){i.$locale.set(s)}const H={en:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"zh-hk":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},fr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},tr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},ro:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},es:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},pt:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},hr:{btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"pt-br":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"es-mx":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"en-us":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"}};function q(s,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(s,t)),e}function K(s){i.append_styles(s,"svelte-4r3z7g",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}')}function x(s){let e;function t(l,c){if(l[1]==="button")return G;if(l[1]==="switch")return W}let o=t(s),n=o&&o(s);return{c(){e=i.element("div"),n&&n.c()},m(l,c){i.insert(l,e,c),n&&n.m(e,null),s[17](e)},p(l,c){o===(o=t(l))&&n?n.p(l,c):(n&&n.d(1),n=o&&o(l),n&&(n.c(),n.m(e,null)))},d(l){l&&i.detach(e),n&&n.d(),s[17](null)}}}function W(s){let e,t,o,n,l;return{c(){e=i.element("button"),t=i.element("div"),t.innerHTML='<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>',i.attr(t,"class","skip-switch"),i.toggle_class(t,"checked",s[4]),i.toggle_class(t,"disabled",s[5]||s[2]),i.toggle_class(t,"shake",s[6]),i.attr(e,"class","toggle-content"),e.disabled=o=s[5]||s[2]},m(c,a){i.insert(c,e,a),i.append(e,t),n||(l=i.listen(e,"click",s[8]),n=!0)},p(c,a){a&16&&i.toggle_class(t,"checked",c[4]),a&36&&i.toggle_class(t,"disabled",c[5]||c[2]),a&64&&i.toggle_class(t,"shake",c[6]),a&36&&o!==(o=c[5]||c[2])&&(e.disabled=o)},d(c){c&&i.detach(e),n=!1,l()}}}function G(s){let e,t=(s[4]?s[7]("btnDisableBiometrics"):s[7]("btnEnableBiometrics"))+"",o,n,l,c;return{c(){e=i.element("button"),o=i.text(t),i.attr(e,"class","BiometricsToggle"),e.disabled=n=s[5]||s[2]},m(a,b){i.insert(a,e,b),i.append(e,o),l||(c=i.listen(e,"click",s[16]),l=!0)},p(a,b){b&144&&t!==(t=(a[4]?a[7]("btnDisableBiometrics"):a[7]("btnEnableBiometrics"))+"")&&i.set_data(o,t),b&36&&n!==(n=a[5]||a[2])&&(e.disabled=n)},d(a){a&&i.detach(e),l=!1,c()}}}function J(s){let e,t=s[0]&&x(s);return{c(){t&&t.c(),e=i.empty()},m(o,n){t&&t.m(o,n),i.insert(o,e,n)},p(o,[n]){o[0]?t?t.p(o,n):(t=x(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:i.noop,o:i.noop,d(o){o&&i.detach(e),t&&t.d(o)}}}function Q(s,e,t){let o;i.component_subscribe(s,i.$format,r=>t(7,o=r));let{lang:n="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:c=""}=e,{mbsource:a}=e,{translationurl:b=""}=e,{isNativeApp:d=!1}=e,{mode:E="button"}=e,{isFromLogin:B=!1}=e,{isLoading:_=!1}=e,m,I,h,g=null,p=!1,f=!1,y=!1;const w=r=>{Object.keys(r).forEach(u=>{U(u,r[u])})},R=()=>{fetch(b).then(u=>u.json()).then(u=>{w(u)}).catch(u=>{console.log(u)})};w(H);const z=()=>{P(n)},D={BIOMETRICS_RESPONSE:3e3,SHAKE_DURATION:500};let k=!1;const C=()=>{t(6,k=!0),setTimeout(()=>{t(6,k=!1)},D.SHAKE_DURATION)},M=()=>{g&&clearTimeout(g),g=setTimeout(()=>{t(5,f=!1),C(),A("error",o("errorMessage"))},D.BIOMETRICS_RESPONSE)},S=()=>v(this,null,function*(){f||(t(5,f=!0),y=!0,window.postMessage({type:"ToggleBiometrics",data:`${!p}`,isFromLogin:B}),M())}),T=r=>{var u,N;((u=r.data)==null?void 0:u.type)==="NativeAppReady"&&(t(0,d=!0),L()),((N=r.data)==null?void 0:N.type)==="BiometricsStatus"&&(t(4,p=r.data.status||!1),t(5,f=!1),g&&(clearTimeout(g),g=null),y&&(B||A("success",o(p?"successEnableBiometrics":"successDisableBiometrics"))),y=!1)},L=()=>{t(5,f=!0),window.postMessage({type:"GetBiometricsStatus"}),M()},X=()=>{window.postMessage({type:"CheckNativeApp"})},A=(r,u)=>{window.postMessage({type:"WidgetNotification",data:{type:r,message:u,config:{clearBefore:!0}}},window.location.href)};i.onMount(()=>(window.addEventListener("message",T),d===!0?L():X(),()=>{window.removeEventListener("message",T),h&&h.unsubscribe(),g&&clearTimeout(g)}));const j=()=>S();function F(r){i.binding_callbacks[r?"unshift":"push"](()=>{m=r,t(3,m)})}return s.$$set=r=>{"lang"in r&&t(9,n=r.lang),"clientstyling"in r&&t(10,l=r.clientstyling),"clientstylingurl"in r&&t(11,c=r.clientstylingurl),"mbsource"in r&&t(12,a=r.mbsource),"translationurl"in r&&t(13,b=r.translationurl),"isNativeApp"in r&&t(0,d=r.isNativeApp),"mode"in r&&t(1,E=r.mode),"isFromLogin"in r&&t(14,B=r.isFromLogin),"isLoading"in r&&t(2,_=r.isLoading)},s.$$.update=()=>{s.$$.dirty&512&&n&&z(),s.$$.dirty&1032&&l&&m&&i.setClientStyling(m,l),s.$$.dirty&2056&&c&&m&&i.setClientStylingURL(m,c),s.$$.dirty&4104&&a&&m&&i.setStreamStyling(m,`${a}.Style`,I),s.$$.dirty&8192&&b&&R(),s.$$.dirty&45056&&a&&!b&&t(15,h=q(`${a}.Translation`,h,w))},[d,E,_,m,p,f,k,o,S,n,l,c,a,b,B,h,j,F]}class O extends i.SvelteComponent{constructor(e){super(),i.init(this,e,Q,J,i.safe_not_equal,{lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13,isNativeApp:0,mode:1,isFromLogin:14,isLoading:2},K)}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),i.flush()}get isNativeApp(){return this.$$.ctx[0]}set isNativeApp(e){this.$$set({isNativeApp:e}),i.flush()}get mode(){return this.$$.ctx[1]}set mode(e){this.$$set({mode:e}),i.flush()}get isFromLogin(){return this.$$.ctx[14]}set isFromLogin(e){this.$$set({isFromLogin:e}),i.flush()}get isLoading(){return this.$$.ctx[2]}set isLoading(e){this.$$set({isLoading:e}),i.flush()}}i.create_custom_element(O,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},isNativeApp:{type:"Boolean"},mode:{},isFromLogin:{type:"Boolean"},isLoading:{type:"Boolean"}},[],[],!0);exports.default=O;
|