@everymatrix/player-account-controller 1.88.18 → 1.88.19
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-BjKL_Rb9.js → GeneralLogout-Bv7_Hjpi.js} +1 -1
- package/components/{GeneralLogout-BWnT3bPU.cjs → GeneralLogout-DGD3Wimt.cjs} +1 -1
- package/components/{GeneralLogout-Pm569dnE.js → GeneralLogout-Dc7cjBgO.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BrVWt7b_.js → PlayerAccountBettingHistory-CPKchWiz.js} +1 -1
- package/components/{PlayerAccountBettingHistory-D6Cyq3WF.cjs → PlayerAccountBettingHistory-Cj5xdLaY.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-CB96NlhM.js → PlayerAccountBettingHistory-D5czWEzh.js} +1 -1
- package/components/{PlayerAccountBiometrics-CUI_N8HF.js → PlayerAccountBiometrics-B3N1k1iq.js} +132 -155
- package/components/{PlayerAccountBiometrics-B73Nnw_K.js → PlayerAccountBiometrics-CM6HtOe5.js} +132 -155
- package/components/PlayerAccountBiometrics-Cox3uLdn.cjs +1 -0
- package/components/{PlayerAccountBiometricsAction-CleCRwjx.cjs → PlayerAccountBiometricsAction-B6piKdRw.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-BJ3qHowr.js → PlayerAccountBiometricsAction-C88wDzzh.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-CfcDxgQv.js → PlayerAccountBiometricsAction-mwuBOkUR.js} +1 -1
- package/components/{PlayerAccountClosure-Cb9gvRyl.js → PlayerAccountClosure-BhN6NrfV.js} +1 -1
- package/components/{PlayerAccountClosure-Blbxfb7D.js → PlayerAccountClosure-fmisGWID.js} +1 -1
- package/components/{PlayerAccountClosure-DOdzs4CJ.cjs → PlayerAccountClosure-tb5YZKqU.cjs} +1 -1
- package/components/{PlayerAccountController-VR4ouVKN.cjs → PlayerAccountController-CoF8Ufpg.cjs} +1 -1
- package/components/{PlayerAccountController-BVDle7pw.js → PlayerAccountController-DQUfjs7n.js} +22 -22
- package/components/{PlayerAccountController-Djrm9mkW.js → PlayerAccountController-OnOGVd86.js} +22 -22
- package/components/{PlayerAccountGamingLimits-C82x4dr9.cjs → PlayerAccountGamingLimits-CtzzOiXA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BVFG9Ic0.js → PlayerAccountGamingLimits-DsrYUKe6.js} +2 -2
- package/components/{PlayerAccountGamingLimits-C0WB1Rg7.js → PlayerAccountGamingLimits-XrMt7u7_.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DkI1y80T.js → PlayerAccountGamingLimitsConfirmationModal-BbIfSBPs.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BDKvkKy1.cjs → PlayerAccountGamingLimitsConfirmationModal-BrKDmsVQ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DxcB2G70.js → PlayerAccountGamingLimitsConfirmationModal-CLaAS2Ya.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DX4pucX9.cjs → PlayerAccountGamingLimitsGroupEdit-BmPsy0_I.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BABwCflt.js → PlayerAccountGamingLimitsGroupEdit-C_PMXvBa.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-yM8nSRTv.js → PlayerAccountGamingLimitsGroupEdit-kbnxcDOz.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2-C8I_48rp.js → PlayerAccountGamingLimitsHistory2-BIGNoSYf.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Cu7CcAU0.js → PlayerAccountGamingLimitsHistory2-Cqivb7ZG.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-C7A7BtPV.cjs → PlayerAccountGamingLimitsHistory2-DSAnHmkK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-B941EM2_.js → PlayerAccountGamingLimitsInfoCard-DFEVmssC.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-p2iumv-p.js → PlayerAccountGamingLimitsInfoCard-DVDZWmcb.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-CpXjHtZ5.cjs → PlayerAccountGamingLimitsInfoCard-DeubKzZl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DRAY-1vl.js → PlayerAccountGamingLimitsPage2Gm16-Byd7W9fp.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DC1xq15C.js → PlayerAccountGamingLimitsPage2Gm16-CNgbkY5W.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DdBzUMAi.cjs → PlayerAccountGamingLimitsPage2Gm16-CaigQ1-b.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-FKIKw10Y.js → PlayerAccountGamingLimitsPopup-DqlkKlF7.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-K4DtiNoT.cjs → PlayerAccountGamingLimitsPopup-Q5MGLJrx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DvMoGbLS.js → PlayerAccountGamingLimitsPopup-ruhXDuWD.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CiaFZBvV.js → PlayerAccountGamingLimitsWrapper2-9FI5uyAC.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-BnUdThjl.js → PlayerAccountGamingLimitsWrapper2-Cgg1CFGN.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-BY2kdiPH.cjs → PlayerAccountGamingLimitsWrapper2-DyLaxKVg.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-RhLp4O0H.js → PlayerAccountGeneralConfirmationModal-B0yz-Cc-.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DjLGHWEO.cjs → PlayerAccountGeneralConfirmationModal-B7qYPGX1.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-10lItihj.js → PlayerAccountGeneralConfirmationModal-PBoPY8nC.js} +1 -1
- package/components/{PlayerAccountMenu-CRcNnJP6.cjs → PlayerAccountMenu-BJuktStr.cjs} +1 -1
- package/components/{PlayerAccountMenu-C1R8Q6P_.js → PlayerAccountMenu-BzRHDdzL.js} +2 -2
- package/components/{PlayerAccountMenu-WQc3Et5O.js → PlayerAccountMenu-jfxw-IKp.js} +2 -2
- package/components/{PlayerAccountModal-DrM9XxHd.js → PlayerAccountModal-Bb9su2hg.js} +1 -1
- package/components/{PlayerAccountModal-B5rE9mxq.js → PlayerAccountModal-CUlfGYO1.js} +1 -1
- package/components/{PlayerAccountModal-DIqLs9Vh.cjs → PlayerAccountModal-D2KtLtVv.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BjA__3-n.js → PlayerAccountNotifications-19HMXeqY.js} +1 -1
- package/components/{PlayerAccountNotifications-BpeGkfNT.js → PlayerAccountNotifications-BP8c2-g1.js} +1 -1
- package/components/{PlayerAccountNotifications-B56rAaMH.cjs → PlayerAccountNotifications-Uaxt-shQ.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-Zh5reVNs.js → PlayerAccountProductRestriction-CKr5GwHB.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DgLkxxCc.js → PlayerAccountProductRestriction-CcppEvXv.js} +3 -3
- package/components/{PlayerAccountProductRestriction-BM1zVqvj.cjs → PlayerAccountProductRestriction-DVQHhRFr.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-liWwUR9e.js → PlayerAccountReviewFrequency-BRrIOaR5.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-N4dL-MIX.cjs → PlayerAccountReviewFrequency-C4yrP9Nu.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-C1s5jeJy.js → PlayerAccountReviewFrequency-OWmcAGuw.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-Mnr4ezhF.cjs → PlayerAccountSelfExclusion-BXeJFVQL.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-3XNRVmKJ.js → PlayerAccountSelfExclusion-DFpFjgWl.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-DxmhMBFo.js → PlayerAccountSelfExclusion-JyiDck3P.js} +2 -2
- package/components/{PlayerAccountTimeout-B5a2UIuC.js → PlayerAccountTimeout-BI8ChPm8.js} +3 -3
- package/components/{PlayerAccountTimeout-COBBC_RZ.cjs → PlayerAccountTimeout-BRo_Dkho.cjs} +2 -2
- package/components/{PlayerAccountTimeout-DHCucehH.js → PlayerAccountTimeout-BrapQ1rx.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-s_dSShJH.js → PlayerAccountTransactionsHistory-B70GCHZR.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-BRX4X935.cjs → PlayerAccountTransactionsHistory-DKRbk-um.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-BW4wucLZ.js → PlayerAccountTransactionsHistory-T_xEdN-Q.js} +4 -4
- package/components/{PlayerActiveBonuses-BVsCsVbF.cjs → PlayerActiveBonuses-8-6rIuoH.cjs} +1 -1
- package/components/{PlayerActiveBonuses-2opJVM8b.js → PlayerActiveBonuses-ByiFP0Ip.js} +2 -2
- package/components/{PlayerActiveBonuses-Cnc_4qrS.js → PlayerActiveBonuses-D0Hbj7rk.js} +2 -2
- package/components/{PlayerBonusCard-BY05obLc.js → PlayerBonusCard-B-s1fbHb.js} +2 -2
- package/components/{PlayerBonusCard-K1AFsBEs.js → PlayerBonusCard-BaPk9c2Q.js} +2 -2
- package/components/{PlayerBonusCard-9B6E0yXz.cjs → PlayerBonusCard-nui3-xpw.cjs} +1 -1
- package/components/{PlayerBonusHistory-BhHfGS4U.js → PlayerBonusHistory-Cb_cD2n7.js} +2 -2
- package/components/{PlayerBonusHistory-DyHpEkLM.cjs → PlayerBonusHistory-CkeQ27YF.cjs} +1 -1
- package/components/{PlayerBonusHistory-DJ2l7dIe.js → PlayerBonusHistory-DwkJkHgZ.js} +2 -2
- package/components/{PlayerChangePassword-C8Ros8xw.cjs → PlayerChangePassword-CQ35iXXe.cjs} +1 -1
- package/components/{PlayerChangePassword-O9od03VV.js → PlayerChangePassword-ClstZN0P.js} +1 -1
- package/components/{PlayerChangePassword-DLVDP2zG.js → PlayerChangePassword-DGBuSXR1.js} +1 -1
- package/components/{PlayerDeposit-DcSUO_f9.cjs → PlayerDeposit-BGH9NaxI.cjs} +1 -1
- package/components/{PlayerDeposit--gBThjFz.js → PlayerDeposit-DR59d-Ms.js} +1 -1
- package/components/{PlayerDeposit-CmQFAmra.js → PlayerDeposit-TRfLahyJ.js} +1 -1
- package/components/{PlayerGamingHistory-BGiMIcyd.js → PlayerGamingHistory-BHogc5B_.js} +3 -3
- package/components/{PlayerGamingHistory-2cQaRB1S.js → PlayerGamingHistory-BxfoN5ok.js} +3 -3
- package/components/{PlayerGamingHistory-D8BKYNx6.cjs → PlayerGamingHistory-DTo0VJkP.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-By-m__52.cjs → PlayerPendingWithdrawals-BkaEAPGq.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-Irq1MYak.js → PlayerPendingWithdrawals-CHhIhe9Y.js} +1 -1
- package/components/{PlayerPendingWithdrawals-CH3P2rqT.js → PlayerPendingWithdrawals-D0KMnA0g.js} +1 -1
- package/components/{PlayerProfileInfo-C2bBlu-A.js → PlayerProfileInfo-Dn6dJ29_.js} +717 -701
- package/components/{PlayerProfileInfo-CBv_Hd6d.js → PlayerProfileInfo-DsQrebpF.js} +869 -853
- package/components/PlayerProfileInfo-oMqRDNUE.cjs +4 -0
- package/components/{PlayerRealityCheck-PaIjq_nl.js → PlayerRealityCheck-CoAQY0az.js} +1 -1
- package/components/{PlayerRealityCheck-DksJtFUJ.js → PlayerRealityCheck-UGpTBMix.js} +1 -1
- package/components/{PlayerRealityCheck-uX_j0JXS.cjs → PlayerRealityCheck-j3DKSjyd.cjs} +1 -1
- package/components/{PlayerTransactionHistory-B-33JdVN.js → PlayerTransactionHistory-CHIZWeJA.js} +1 -1
- package/components/{PlayerTransactionHistory-BKjdv_Jl.cjs → PlayerTransactionHistory-Dawp3VCA.cjs} +1 -1
- package/components/{PlayerTransactionHistory-B0KivafL.js → PlayerTransactionHistory-jQD5D0At.js} +1 -1
- package/components/{PlayerWithdrawal-CRcxNpPN.cjs → PlayerWithdrawal-B9Nrzcn3.cjs} +1 -1
- package/components/{PlayerWithdrawal-DC8tbt5z.js → PlayerWithdrawal-BBEhF3E_.js} +1 -1
- package/components/{PlayerWithdrawal-D_eNCUQ8.js → PlayerWithdrawal-Chhr1mgD.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBiometrics-BzKHiWZT.cjs +0 -1
- package/components/PlayerProfileInfo-D2foXLPV.cjs +0 -4
package/components/{PlayerAccountBiometrics-B73Nnw_K.js → PlayerAccountBiometrics-CM6HtOe5.js}
RENAMED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { a as O, $ as R, S as L, i as N, s as W, f as M, b as x, n as U, d as z, t as S, q as B, c as C, m as a, e as y, p as k, u as j, r as s, g as q, h as H, o as I, w as K, x as E, j as V, z as Z, A as F, B as G, C as J, D as Q } from "./PlayerAccountController-DQUfjs7n.js";
|
|
2
|
+
import "./PlayerProfileInfo-DsQrebpF.js";
|
|
3
|
+
function T(t, i) {
|
|
4
|
+
O(t, i);
|
|
4
5
|
}
|
|
5
|
-
function
|
|
6
|
-
R.set(
|
|
6
|
+
function X(t) {
|
|
7
|
+
R.set(t);
|
|
7
8
|
}
|
|
8
|
-
const
|
|
9
|
+
const Y = {
|
|
9
10
|
en: {
|
|
10
11
|
titleBiometrics: "Biometrics Authentication",
|
|
11
12
|
descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
|
|
@@ -84,171 +85,152 @@ const O = {
|
|
|
84
85
|
btnDisableBiometrics: "Disable biometrics"
|
|
85
86
|
}
|
|
86
87
|
};
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return function(...r) {
|
|
90
|
-
try {
|
|
91
|
-
return t.apply(this, r);
|
|
92
|
-
} catch (l) {
|
|
93
|
-
if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
94
|
-
return !1;
|
|
95
|
-
throw l;
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-BJ3qHowr.js").then(({ default: t }) => {
|
|
100
|
-
!customElements.get("player-account-biometrics-action") && customElements.define("player-account-biometrics-action", t.element);
|
|
101
|
-
});
|
|
88
|
+
function $(t) {
|
|
89
|
+
x(t, "svelte-1fepl4m", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
|
|
102
90
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
106
|
-
function tt(e) {
|
|
107
|
-
q(e, "svelte-1fepl4m", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
|
|
108
|
-
}
|
|
109
|
-
function et(e) {
|
|
110
|
-
let t, r, l, m, b, f, p, a, c, g, B = (
|
|
91
|
+
function tt(t) {
|
|
92
|
+
let i, r, w, m, b, u, p, n, c, f, d = (
|
|
111
93
|
/*$_*/
|
|
112
|
-
|
|
113
|
-
), v,
|
|
94
|
+
t[6]("titleBiometrics") + ""
|
|
95
|
+
), v, P, D;
|
|
114
96
|
return {
|
|
115
97
|
c() {
|
|
116
|
-
|
|
98
|
+
i = y("div"), r = E("svg"), w = E("defs"), m = E("style"), b = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), u = E("g"), p = E("g"), n = E("path"), c = k(), f = y("h2"), v = j(d), s(n, "class", "aaa"), s(n, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(n, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(u, "transform", "translate(-20 -158)"), s(r, "xmlns", "http://www.w3.org/2000/svg"), s(r, "width", "15"), s(r, "height", "15"), s(r, "viewBox", "0 0 15 15"), s(f, "class", "BiometricsTitleMobile"), s(f, "part", "BiometricsTitleMobile"), s(i, "class", "MenuReturnButton"), s(i, "part", "MenuReturnButton");
|
|
117
99
|
},
|
|
118
|
-
m(
|
|
119
|
-
|
|
120
|
-
|
|
100
|
+
m(g, _) {
|
|
101
|
+
C(g, i, _), a(i, r), a(r, w), a(w, m), a(m, b), a(r, u), a(u, p), a(p, n), a(i, c), a(i, f), a(f, v), P || (D = K(
|
|
102
|
+
i,
|
|
121
103
|
"click",
|
|
122
104
|
/*click_handler*/
|
|
123
|
-
|
|
124
|
-
),
|
|
105
|
+
t[9]
|
|
106
|
+
), P = !0);
|
|
125
107
|
},
|
|
126
|
-
p(
|
|
127
|
-
|
|
128
|
-
64 &&
|
|
129
|
-
|
|
108
|
+
p(g, _) {
|
|
109
|
+
_ & /*$_*/
|
|
110
|
+
64 && d !== (d = /*$_*/
|
|
111
|
+
g[6]("titleBiometrics") + "") && S(v, d);
|
|
130
112
|
},
|
|
131
|
-
d(
|
|
132
|
-
|
|
113
|
+
d(g) {
|
|
114
|
+
g && z(i), P = !1, D();
|
|
133
115
|
}
|
|
134
116
|
};
|
|
135
117
|
}
|
|
136
|
-
function it(
|
|
137
|
-
let
|
|
118
|
+
function it(t) {
|
|
119
|
+
let i, r, w, m, b = (
|
|
138
120
|
/*$_*/
|
|
139
|
-
|
|
140
|
-
),
|
|
121
|
+
t[6]("titleBiometrics") + ""
|
|
122
|
+
), u, p, n, c, f = (
|
|
141
123
|
/*$_*/
|
|
142
|
-
|
|
143
|
-
),
|
|
124
|
+
t[6]("descriptionParagraph1") + ""
|
|
125
|
+
), d, v, P, D = (
|
|
144
126
|
/*$_*/
|
|
145
|
-
|
|
146
|
-
),
|
|
127
|
+
t[6]("descriptionParagraph2") + ""
|
|
128
|
+
), g, _, A, e, l = (
|
|
147
129
|
/*isMobile*/
|
|
148
|
-
|
|
130
|
+
t[7] && tt(t)
|
|
149
131
|
);
|
|
150
132
|
return {
|
|
151
133
|
c() {
|
|
152
|
-
|
|
153
|
-
(
|
|
154
|
-
(
|
|
155
|
-
|
|
134
|
+
i = y("div"), r = y("div"), l && l.c(), w = k(), m = y("h2"), u = j(b), p = k(), n = y("div"), c = y("p"), d = j(f), v = k(), P = y("p"), g = j(D), _ = k(), A = y("div"), e = y("player-account-biometrics-action"), s(m, "class", "BiometricsTitle " + /*isMobile*/
|
|
135
|
+
(t[7] ? "BiometricsTitleNone" : "")), s(n, "class", "BiometricsDescription " + /*isMobile*/
|
|
136
|
+
(t[7] ? "BiometricsDescriptionMobile" : "")), B(
|
|
137
|
+
e,
|
|
156
138
|
"lang",
|
|
157
139
|
/*lang*/
|
|
158
|
-
|
|
159
|
-
),
|
|
160
|
-
|
|
140
|
+
t[0]
|
|
141
|
+
), B(
|
|
142
|
+
e,
|
|
161
143
|
"translationurl",
|
|
162
144
|
/*translationurl*/
|
|
163
|
-
|
|
164
|
-
),
|
|
165
|
-
|
|
145
|
+
t[4]
|
|
146
|
+
), B(
|
|
147
|
+
e,
|
|
166
148
|
"clientstyling",
|
|
167
149
|
/*clientstyling*/
|
|
168
|
-
|
|
169
|
-
),
|
|
170
|
-
|
|
150
|
+
t[1]
|
|
151
|
+
), B(
|
|
152
|
+
e,
|
|
171
153
|
"clientstylingurl",
|
|
172
154
|
/*clientstylingurl*/
|
|
173
|
-
|
|
174
|
-
),
|
|
175
|
-
|
|
155
|
+
t[2]
|
|
156
|
+
), B(
|
|
157
|
+
e,
|
|
176
158
|
"mbsource",
|
|
177
159
|
/*mbsource*/
|
|
178
|
-
|
|
179
|
-
), s(
|
|
180
|
-
(
|
|
181
|
-
(
|
|
160
|
+
t[3]
|
|
161
|
+
), s(A, "class", "BiometricsActionButtons " + /*isMobile*/
|
|
162
|
+
(t[7] ? "BiometricsActionButtonsMobile" : "")), s(r, "class", "BiometricsWrapper " + /*isMobile*/
|
|
163
|
+
(t[7] ? "BiometricsWrapperMobile" : ""));
|
|
182
164
|
},
|
|
183
|
-
m(o,
|
|
184
|
-
|
|
165
|
+
m(o, h) {
|
|
166
|
+
C(o, i, h), a(i, r), l && l.m(r, null), a(r, w), a(r, m), a(m, u), a(r, p), a(r, n), a(n, c), a(c, d), a(n, v), a(n, P), a(P, g), a(r, _), a(r, A), a(A, e), t[10](i);
|
|
185
167
|
},
|
|
186
|
-
p(o, [
|
|
168
|
+
p(o, [h]) {
|
|
187
169
|
/*isMobile*/
|
|
188
|
-
o[7] &&
|
|
170
|
+
o[7] && l.p(o, h), h & /*$_*/
|
|
189
171
|
64 && b !== (b = /*$_*/
|
|
190
|
-
o[6]("titleBiometrics") + "") && S(
|
|
191
|
-
64 &&
|
|
192
|
-
o[6]("descriptionParagraph1") + "") && S(
|
|
193
|
-
64 &&
|
|
194
|
-
o[6]("descriptionParagraph2") + "") && S(
|
|
195
|
-
1 &&
|
|
196
|
-
|
|
172
|
+
o[6]("titleBiometrics") + "") && S(u, b), h & /*$_*/
|
|
173
|
+
64 && f !== (f = /*$_*/
|
|
174
|
+
o[6]("descriptionParagraph1") + "") && S(d, f), h & /*$_*/
|
|
175
|
+
64 && D !== (D = /*$_*/
|
|
176
|
+
o[6]("descriptionParagraph2") + "") && S(g, D), h & /*lang*/
|
|
177
|
+
1 && B(
|
|
178
|
+
e,
|
|
197
179
|
"lang",
|
|
198
180
|
/*lang*/
|
|
199
181
|
o[0]
|
|
200
|
-
),
|
|
201
|
-
16 &&
|
|
202
|
-
|
|
182
|
+
), h & /*translationurl*/
|
|
183
|
+
16 && B(
|
|
184
|
+
e,
|
|
203
185
|
"translationurl",
|
|
204
186
|
/*translationurl*/
|
|
205
187
|
o[4]
|
|
206
|
-
),
|
|
207
|
-
2 &&
|
|
208
|
-
|
|
188
|
+
), h & /*clientstyling*/
|
|
189
|
+
2 && B(
|
|
190
|
+
e,
|
|
209
191
|
"clientstyling",
|
|
210
192
|
/*clientstyling*/
|
|
211
193
|
o[1]
|
|
212
|
-
),
|
|
213
|
-
4 &&
|
|
214
|
-
|
|
194
|
+
), h & /*clientstylingurl*/
|
|
195
|
+
4 && B(
|
|
196
|
+
e,
|
|
215
197
|
"clientstylingurl",
|
|
216
198
|
/*clientstylingurl*/
|
|
217
199
|
o[2]
|
|
218
|
-
),
|
|
219
|
-
8 &&
|
|
220
|
-
|
|
200
|
+
), h & /*mbsource*/
|
|
201
|
+
8 && B(
|
|
202
|
+
e,
|
|
221
203
|
"mbsource",
|
|
222
204
|
/*mbsource*/
|
|
223
205
|
o[3]
|
|
224
206
|
);
|
|
225
207
|
},
|
|
226
|
-
i:
|
|
227
|
-
o:
|
|
208
|
+
i: U,
|
|
209
|
+
o: U,
|
|
228
210
|
d(o) {
|
|
229
|
-
o && z(
|
|
211
|
+
o && z(i), l && l.d(), t[10](null);
|
|
230
212
|
}
|
|
231
213
|
};
|
|
232
214
|
}
|
|
233
|
-
function
|
|
234
|
-
let
|
|
235
|
-
|
|
236
|
-
let { lang: m = "en" } =
|
|
237
|
-
const
|
|
238
|
-
fetch(
|
|
239
|
-
Object.keys(
|
|
240
|
-
|
|
215
|
+
function et(t, i, r) {
|
|
216
|
+
let w;
|
|
217
|
+
q(t, Q, (e) => r(6, w = e));
|
|
218
|
+
let { lang: m = "en" } = i, { clientstyling: b = "" } = i, { clientstylingurl: u = "" } = i, { mbsource: p } = i, { translationurl: n = "" } = i, c, f, d = window.navigator.userAgent, v = H(d) !== "PC";
|
|
219
|
+
const P = () => {
|
|
220
|
+
fetch(n).then((l) => l.json()).then((l) => {
|
|
221
|
+
Object.keys(l).forEach((o) => {
|
|
222
|
+
T(o, l[o]);
|
|
241
223
|
});
|
|
242
|
-
}).catch((
|
|
243
|
-
console.log(
|
|
224
|
+
}).catch((l) => {
|
|
225
|
+
console.log(l);
|
|
244
226
|
});
|
|
245
227
|
};
|
|
246
|
-
Object.keys(
|
|
247
|
-
|
|
228
|
+
Object.keys(Y).forEach((e) => {
|
|
229
|
+
T(e, Y[e]);
|
|
248
230
|
});
|
|
249
|
-
const
|
|
250
|
-
|
|
251
|
-
},
|
|
231
|
+
const D = () => {
|
|
232
|
+
X(m);
|
|
233
|
+
}, g = () => {
|
|
252
234
|
window.postMessage(
|
|
253
235
|
{
|
|
254
236
|
type: "PlayerAccountMenuActive",
|
|
@@ -257,43 +239,43 @@ function rt(e, t, r) {
|
|
|
257
239
|
window.location.href
|
|
258
240
|
);
|
|
259
241
|
};
|
|
260
|
-
|
|
242
|
+
I(() => () => {
|
|
261
243
|
});
|
|
262
|
-
const
|
|
263
|
-
function
|
|
264
|
-
|
|
265
|
-
c =
|
|
244
|
+
const _ = () => g();
|
|
245
|
+
function A(e) {
|
|
246
|
+
V[e ? "unshift" : "push"](() => {
|
|
247
|
+
c = e, r(5, c);
|
|
266
248
|
});
|
|
267
249
|
}
|
|
268
|
-
return
|
|
269
|
-
"lang" in
|
|
270
|
-
},
|
|
271
|
-
|
|
272
|
-
1 && m &&
|
|
273
|
-
34 && b && c &&
|
|
274
|
-
36 &&
|
|
275
|
-
40 && p && c &&
|
|
276
|
-
16 &&
|
|
250
|
+
return t.$$set = (e) => {
|
|
251
|
+
"lang" in e && r(0, m = e.lang), "clientstyling" in e && r(1, b = e.clientstyling), "clientstylingurl" in e && r(2, u = e.clientstylingurl), "mbsource" in e && r(3, p = e.mbsource), "translationurl" in e && r(4, n = e.translationurl);
|
|
252
|
+
}, t.$$.update = () => {
|
|
253
|
+
t.$$.dirty & /*lang*/
|
|
254
|
+
1 && m && D(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
255
|
+
34 && b && c && Z(c, b), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
256
|
+
36 && u && c && F(c, u), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
257
|
+
40 && p && c && G(c, `${p}.Style`, f), t.$$.dirty & /*translationurl*/
|
|
258
|
+
16 && n && P();
|
|
277
259
|
}, [
|
|
278
260
|
m,
|
|
279
261
|
b,
|
|
280
|
-
|
|
262
|
+
u,
|
|
281
263
|
p,
|
|
282
|
-
|
|
264
|
+
n,
|
|
283
265
|
c,
|
|
284
|
-
|
|
266
|
+
w,
|
|
285
267
|
v,
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
268
|
+
g,
|
|
269
|
+
_,
|
|
270
|
+
A
|
|
289
271
|
];
|
|
290
272
|
}
|
|
291
|
-
class
|
|
292
|
-
constructor(
|
|
273
|
+
class rt extends L {
|
|
274
|
+
constructor(i) {
|
|
293
275
|
super(), N(
|
|
294
276
|
this,
|
|
295
|
-
|
|
296
|
-
|
|
277
|
+
i,
|
|
278
|
+
et,
|
|
297
279
|
it,
|
|
298
280
|
W,
|
|
299
281
|
{
|
|
@@ -303,46 +285,41 @@ class C extends L {
|
|
|
303
285
|
mbsource: 3,
|
|
304
286
|
translationurl: 4
|
|
305
287
|
},
|
|
306
|
-
|
|
288
|
+
$
|
|
307
289
|
);
|
|
308
290
|
}
|
|
309
291
|
get lang() {
|
|
310
292
|
return this.$$.ctx[0];
|
|
311
293
|
}
|
|
312
|
-
set lang(
|
|
313
|
-
this.$$set({ lang:
|
|
294
|
+
set lang(i) {
|
|
295
|
+
this.$$set({ lang: i }), M();
|
|
314
296
|
}
|
|
315
297
|
get clientstyling() {
|
|
316
298
|
return this.$$.ctx[1];
|
|
317
299
|
}
|
|
318
|
-
set clientstyling(
|
|
319
|
-
this.$$set({ clientstyling:
|
|
300
|
+
set clientstyling(i) {
|
|
301
|
+
this.$$set({ clientstyling: i }), M();
|
|
320
302
|
}
|
|
321
303
|
get clientstylingurl() {
|
|
322
304
|
return this.$$.ctx[2];
|
|
323
305
|
}
|
|
324
|
-
set clientstylingurl(
|
|
325
|
-
this.$$set({ clientstylingurl:
|
|
306
|
+
set clientstylingurl(i) {
|
|
307
|
+
this.$$set({ clientstylingurl: i }), M();
|
|
326
308
|
}
|
|
327
309
|
get mbsource() {
|
|
328
310
|
return this.$$.ctx[3];
|
|
329
311
|
}
|
|
330
|
-
set mbsource(
|
|
331
|
-
this.$$set({ mbsource:
|
|
312
|
+
set mbsource(i) {
|
|
313
|
+
this.$$set({ mbsource: i }), M();
|
|
332
314
|
}
|
|
333
315
|
get translationurl() {
|
|
334
316
|
return this.$$.ctx[4];
|
|
335
317
|
}
|
|
336
|
-
set translationurl(
|
|
337
|
-
this.$$set({ translationurl:
|
|
318
|
+
set translationurl(i) {
|
|
319
|
+
this.$$set({ translationurl: i }), M();
|
|
338
320
|
}
|
|
339
321
|
}
|
|
340
|
-
|
|
341
|
-
const ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
342
|
-
__proto__: null,
|
|
343
|
-
default: C
|
|
344
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
322
|
+
J(rt, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
345
323
|
export {
|
|
346
|
-
|
|
347
|
-
at as i
|
|
324
|
+
rt as default
|
|
348
325
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-CoF8Ufpg.cjs");require("./PlayerProfileInfo-oMqRDNUE.cjs");function P(e,i){t.addMessages(e,i)}function E(e){t.$locale.set(e)}const A={en:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"zh-hk":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},fr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},tr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},ro:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},es:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},pt:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},hr:{titleBiometrics:"Biometrijska autentifikacija",descriptionParagraph1:"Koristite biometrijsku prijavu otiskom prsta ili licem za brži i jednostavniji pristup svom računu.",descriptionParagraph2:"Ovu značajku možete uključiti i isključiti u bilo kojem trenutku",btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju"},"pt-br":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"es-mx":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"en-us":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"}};function M(e){t.append_styles(e,"svelte-1fepl4m",".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}")}function k(e){let i,n,h,l,u,m,p,a,s,g,d=e[6]("titleBiometrics")+"",B,y,_;return{c(){i=t.element("div"),n=t.svg_element("svg"),h=t.svg_element("defs"),l=t.svg_element("style"),u=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=t.svg_element("g"),p=t.svg_element("g"),a=t.svg_element("path"),s=t.space(),g=t.element("h2"),B=t.text(d),t.attr(a,"class","aaa"),t.attr(a,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(a,"transform","translate(15 15) rotate(180)"),t.attr(p,"transform","translate(20 158)"),t.attr(m,"transform","translate(-20 -158)"),t.attr(n,"xmlns","http://www.w3.org/2000/svg"),t.attr(n,"width","15"),t.attr(n,"height","15"),t.attr(n,"viewBox","0 0 15 15"),t.attr(g,"class","BiometricsTitleMobile"),t.attr(g,"part","BiometricsTitleMobile"),t.attr(i,"class","MenuReturnButton"),t.attr(i,"part","MenuReturnButton")},m(b,v){t.insert(b,i,v),t.append(i,n),t.append(n,h),t.append(h,l),t.append(l,u),t.append(n,m),t.append(m,p),t.append(p,a),t.append(i,s),t.append(i,g),t.append(g,B),y||(_=t.listen(i,"click",e[9]),y=!0)},p(b,v){v&64&&d!==(d=b[6]("titleBiometrics")+"")&&t.set_data(B,d)},d(b){b&&t.detach(i),y=!1,_()}}}function j(e){let i,n,h,l,u=e[6]("titleBiometrics")+"",m,p,a,s,g=e[6]("descriptionParagraph1")+"",d,B,y,_=e[6]("descriptionParagraph2")+"",b,v,w,r,c=e[7]&&k(e);return{c(){i=t.element("div"),n=t.element("div"),c&&c.c(),h=t.space(),l=t.element("h2"),m=t.text(u),p=t.space(),a=t.element("div"),s=t.element("p"),d=t.text(g),B=t.space(),y=t.element("p"),b=t.text(_),v=t.space(),w=t.element("div"),r=t.element("player-account-biometrics-action"),t.attr(l,"class","BiometricsTitle "+(e[7]?"BiometricsTitleNone":"")),t.attr(a,"class","BiometricsDescription "+(e[7]?"BiometricsDescriptionMobile":"")),t.set_custom_element_data(r,"lang",e[0]),t.set_custom_element_data(r,"translationurl",e[4]),t.set_custom_element_data(r,"clientstyling",e[1]),t.set_custom_element_data(r,"clientstylingurl",e[2]),t.set_custom_element_data(r,"mbsource",e[3]),t.attr(w,"class","BiometricsActionButtons "+(e[7]?"BiometricsActionButtonsMobile":"")),t.attr(n,"class","BiometricsWrapper "+(e[7]?"BiometricsWrapperMobile":""))},m(o,f){t.insert(o,i,f),t.append(i,n),c&&c.m(n,null),t.append(n,h),t.append(n,l),t.append(l,m),t.append(n,p),t.append(n,a),t.append(a,s),t.append(s,d),t.append(a,B),t.append(a,y),t.append(y,b),t.append(n,v),t.append(n,w),t.append(w,r),e[10](i)},p(o,[f]){o[7]&&c.p(o,f),f&64&&u!==(u=o[6]("titleBiometrics")+"")&&t.set_data(m,u),f&64&&g!==(g=o[6]("descriptionParagraph1")+"")&&t.set_data(d,g),f&64&&_!==(_=o[6]("descriptionParagraph2")+"")&&t.set_data(b,_),f&1&&t.set_custom_element_data(r,"lang",o[0]),f&16&&t.set_custom_element_data(r,"translationurl",o[4]),f&2&&t.set_custom_element_data(r,"clientstyling",o[1]),f&4&&t.set_custom_element_data(r,"clientstylingurl",o[2]),f&8&&t.set_custom_element_data(r,"mbsource",o[3])},i:t.noop,o:t.noop,d(o){o&&t.detach(i),c&&c.d(),e[10](null)}}}function S(e,i,n){let h;t.component_subscribe(e,t.$format,r=>n(6,h=r));let{lang:l="en"}=i,{clientstyling:u=""}=i,{clientstylingurl:m=""}=i,{mbsource:p}=i,{translationurl:a=""}=i,s,g,d=window.navigator.userAgent,B=t.getDevice(d)!=="PC";const y=()=>{fetch(a).then(c=>c.json()).then(c=>{Object.keys(c).forEach(o=>{P(o,c[o])})}).catch(c=>{console.log(c)})};Object.keys(A).forEach(r=>{P(r,A[r])});const _=()=>{E(l)},b=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:B},window.location.href)};t.onMount(()=>()=>{});const v=()=>b();function w(r){t.binding_callbacks[r?"unshift":"push"](()=>{s=r,n(5,s)})}return e.$$set=r=>{"lang"in r&&n(0,l=r.lang),"clientstyling"in r&&n(1,u=r.clientstyling),"clientstylingurl"in r&&n(2,m=r.clientstylingurl),"mbsource"in r&&n(3,p=r.mbsource),"translationurl"in r&&n(4,a=r.translationurl)},e.$$.update=()=>{e.$$.dirty&1&&l&&_(),e.$$.dirty&34&&u&&s&&t.setClientStyling(s,u),e.$$.dirty&36&&m&&s&&t.setClientStylingURL(s,m),e.$$.dirty&40&&p&&s&&t.setStreamStyling(s,`${p}.Style`,g),e.$$.dirty&16&&a&&y()},[l,u,m,p,a,s,h,B,b,v,w]}class D extends t.SvelteComponent{constructor(i){super(),t.init(this,i,S,j,t.safe_not_equal,{lang:0,clientstyling:1,clientstylingurl:2,mbsource:3,translationurl:4},M)}get lang(){return this.$$.ctx[0]}set lang(i){this.$$set({lang:i}),t.flush()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(i){this.$$set({mbsource:i}),t.flush()}get translationurl(){return this.$$.ctx[4]}set translationurl(i){this.$$set({translationurl:i}),t.flush()}}t.create_custom_element(D,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=D;
|
|
@@ -1 +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-VR4ouVKN.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;
|
|
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-CoF8Ufpg.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;
|
|
@@ -14,7 +14,7 @@ var R = (t, e, i) => new Promise((n, s) => {
|
|
|
14
14
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(c, r);
|
|
15
15
|
a((i = i.apply(t, e)).next());
|
|
16
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, L 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, J as h, z as ae, A as re, B as ce, C as le, D as be } from "./PlayerAccountController-
|
|
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, L 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, J as h, z as ae, A as re, B as ce, C as le, D as be } from "./PlayerAccountController-DQUfjs7n.js";
|
|
18
18
|
function me(t, e) {
|
|
19
19
|
J(t, e);
|
|
20
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as W, $ as G, S as J, i as Q, s as V, f as u, b as Y, n as R, d as k, e as E, L as Z, h as $, o as ee, g as w, k as ie, u as te, p as C, x as X, v as se, t as S, J as f, B as ne, C as oe, D as ae, c as re, A as ce } from "./PlayerAccountController-
|
|
1
|
+
import { a as W, $ as G, S as J, i as Q, s as V, f as u, b as Y, n as R, d as k, e as E, L as Z, h as $, o as ee, g as w, k as ie, u as te, p as C, x as X, v as se, t as S, J as f, B as ne, C as oe, D as ae, c as re, A as ce } from "./PlayerAccountController-OnOGVd86.js";
|
|
2
2
|
function le(t, e) {
|
|
3
3
|
W(t, e);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Z, $ as P, S as Y, i as U, s as J, f as j, b as K, n as T, d as D, t as F, c as S, m as a, w as N, e as C, p as z, u as B, r as i, g as V, h as G, o as Q, x as E, v as X, j as $, k as ee, l as oe, z as te, A as re, B as ae, C as ne, D as le } from "./PlayerAccountController-
|
|
1
|
+
import { a as Z, $ as P, S as Y, i as U, s as J, f as j, b as K, n as T, d as D, t as F, c as S, m as a, w as N, e as C, p as z, u as B, r as i, g as V, h as G, o as Q, x as E, v as X, j as $, k as ee, l as oe, z as te, A as re, B as ae, C as ne, D as le } from "./PlayerAccountController-DQUfjs7n.js";
|
|
2
2
|
import "../stencil/ui-skeleton-BKpwkQ2A.js";
|
|
3
3
|
function H(t, e) {
|
|
4
4
|
Z(t, e);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Z, $ as P, S as Y, i as U, s as J, f as j, b as K, n as T, d as D, u as F, e as S, p as a, x as N, g as C, q as z, v as B, t as i, h as V, j as G, o as Q, y as E, w as X, k as $, l as ee, m as oe, B as te, C as re, D as ae, c as ne, A as le } from "./PlayerAccountController-
|
|
1
|
+
import { a as Z, $ as P, S as Y, i as U, s as J, f as j, b as K, n as T, d as D, u as F, e as S, p as a, x as N, g as C, q as z, v as B, t as i, h as V, j as G, o as Q, y as E, w as X, k as $, l as ee, m as oe, B as te, C as re, D as ae, c as ne, A as le } from "./PlayerAccountController-OnOGVd86.js";
|
|
2
2
|
import "../stencil/ui-skeleton-DNuG5l9W.js";
|
|
3
3
|
function H(t, e) {
|
|
4
4
|
Z(t, e);
|