@everymatrix/player-account-controller 1.87.20 → 1.87.21

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.
Files changed (81) hide show
  1. package/components/{GeneralLogout-B7wytw3i.js → GeneralLogout-0J1RtGyR.js} +6 -6
  2. package/components/{GeneralLogout-CCZ-t51N.js → GeneralLogout-CwcvAxfM.js} +6 -6
  3. package/components/{PlayerAccountBettingHistory-D0wawg3E.js → PlayerAccountBettingHistory-CiMelnLz.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-BKPLzWjG.js → PlayerAccountBettingHistory-Cr9hPDou.js} +1 -1
  5. package/components/PlayerAccountBiometrics-Cu1scn1a.js +348 -0
  6. package/components/PlayerAccountBiometrics-j15j-n3y.cjs +1 -0
  7. package/components/PlayerAccountBiometrics-kmv4HqQ_.js +348 -0
  8. package/components/PlayerAccountBiometricsAction-BJrkhDoI.js +403 -0
  9. package/components/PlayerAccountBiometricsAction-BcR2gS30.js +386 -0
  10. package/components/PlayerAccountBiometricsAction-z16q0M2J.cjs +1 -0
  11. package/components/{PlayerAccountClosure-DvW4enyZ.js → PlayerAccountClosure-B7lWhxS5.js} +1 -1
  12. package/components/{PlayerAccountClosure-CMUn4wJp.js → PlayerAccountClosure-DWX0cAW_.js} +1 -1
  13. package/components/{PlayerAccountController-C_Dk8gB_.js → PlayerAccountController-66cQ6w-G.js} +23 -23
  14. package/components/PlayerAccountController-DFz4kY5R.cjs +1 -0
  15. package/components/{PlayerAccountController-BfQuilYf.js → PlayerAccountController-W7-MTLUM.js} +23 -23
  16. package/components/{PlayerAccountGamingLimits-CklbTGD-.js → PlayerAccountGamingLimits-DNqahHsA.js} +2 -2
  17. package/components/{PlayerAccountGamingLimits-mpFmmTOS.js → PlayerAccountGamingLimits-DuDCpH1C.js} +2 -2
  18. package/components/{PlayerAccountGamingLimitsConfirmationModal-BiWWkcfB.js → PlayerAccountGamingLimitsConfirmationModal-De_w7-UU.js} +1 -1
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-HnZK1KNZ.js → PlayerAccountGamingLimitsConfirmationModal-DfJgQjRr.js} +1 -1
  20. package/components/{PlayerAccountGamingLimitsGroupEdit-D4mY92Oz.js → PlayerAccountGamingLimitsGroupEdit-2iDWNhRl.js} +4 -4
  21. package/components/{PlayerAccountGamingLimitsGroupEdit-DBQ3mbbn.js → PlayerAccountGamingLimitsGroupEdit-CsTpmmhw.js} +4 -4
  22. package/components/{PlayerAccountGamingLimitsHistory2-B3tBWMqJ.js → PlayerAccountGamingLimitsHistory2-BN0w14Hg.js} +15 -15
  23. package/components/{PlayerAccountGamingLimitsHistory2-msy9-7Hj.js → PlayerAccountGamingLimitsHistory2-D1N2rg25.js} +15 -15
  24. package/components/{PlayerAccountGamingLimitsInfoCard-DuUOKvMO.js → PlayerAccountGamingLimitsInfoCard-B6oHRJP6.js} +34 -34
  25. package/components/{PlayerAccountGamingLimitsInfoCard-BdXyqbVP.js → PlayerAccountGamingLimitsInfoCard-D_ro79gB.js} +34 -34
  26. package/components/{PlayerAccountGamingLimitsPage2Gm16-CfzYBBqB.js → PlayerAccountGamingLimitsPage2Gm16-BTBGuybw.js} +53 -53
  27. package/components/{PlayerAccountGamingLimitsPage2Gm16-Da5wOtfX.js → PlayerAccountGamingLimitsPage2Gm16-DR1vKR63.js} +54 -54
  28. package/components/{PlayerAccountGamingLimitsPopup-BeeT7ZxG.js → PlayerAccountGamingLimitsPopup-9casCGHJ.js} +5 -5
  29. package/components/{PlayerAccountGamingLimitsPopup-Qnh_LotJ.js → PlayerAccountGamingLimitsPopup-DhlQaawG.js} +5 -5
  30. package/components/{PlayerAccountGamingLimitsWrapper2-B5mzoX05.js → PlayerAccountGamingLimitsWrapper2-DRpLzl8S.js} +3 -3
  31. package/components/{PlayerAccountGamingLimitsWrapper2-S44rmcAR.js → PlayerAccountGamingLimitsWrapper2-p9PPOiaH.js} +3 -3
  32. package/components/{PlayerAccountGeneralConfirmationModal-Cync35ll.js → PlayerAccountGeneralConfirmationModal-BIStQzTL.js} +1 -1
  33. package/components/{PlayerAccountGeneralConfirmationModal-Sy253bQi.js → PlayerAccountGeneralConfirmationModal-DAUZlQfJ.js} +1 -1
  34. package/components/{PlayerAccountMenu-C-ScLXnR.js → PlayerAccountMenu-OqVmttiI.js} +2 -2
  35. package/components/{PlayerAccountMenu-eEUhDU6D.js → PlayerAccountMenu-khqZEoBc.js} +2 -2
  36. package/components/{PlayerAccountModal-CH0OzrVe.js → PlayerAccountModal-BXez3U77.js} +5 -5
  37. package/components/{PlayerAccountModal-ERzJg1Jt.js → PlayerAccountModal-NUSkSmow.js} +5 -5
  38. package/components/{PlayerAccountNotifications-3AAnjfJ_.js → PlayerAccountNotifications-0v1ghF-m.js} +5 -5
  39. package/components/{PlayerAccountNotifications-D9jD4K09.js → PlayerAccountNotifications-XjCLekPR.js} +5 -5
  40. package/components/{PlayerAccountProductRestriction-DWjdmOFI.js → PlayerAccountProductRestriction-Dl552qim.js} +3 -3
  41. package/components/{PlayerAccountProductRestriction-D5TZl8TF.js → PlayerAccountProductRestriction-THYKSRMa.js} +3 -3
  42. package/components/{PlayerAccountReviewFrequency-DyJDps3d.js → PlayerAccountReviewFrequency-ByPlOg40.js} +1 -1
  43. package/components/{PlayerAccountReviewFrequency-CrArCM_3.js → PlayerAccountReviewFrequency-yLwAfHZd.js} +1 -1
  44. package/components/{PlayerAccountSelfExclusion-CySbO2r9.js → PlayerAccountSelfExclusion-0IraJUCF.js} +3 -3
  45. package/components/{PlayerAccountSelfExclusion-CXSti58w.js → PlayerAccountSelfExclusion-B9QFixvG.js} +3 -3
  46. package/components/{PlayerAccountTimeout-C_tKIEV0.js → PlayerAccountTimeout-BVyjYoqw.js} +4 -4
  47. package/components/{PlayerAccountTimeout-DWA72hqV.js → PlayerAccountTimeout-CkMUko7-.js} +4 -4
  48. package/components/{PlayerAccountTransactionsHistory-CWue8W7t.js → PlayerAccountTransactionsHistory-C4dSIP6l.js} +3 -3
  49. package/components/{PlayerAccountTransactionsHistory-BYX2ypA5.js → PlayerAccountTransactionsHistory-CAFUIFUl.js} +3 -3
  50. package/components/{PlayerActiveBonuses-BDme9SNL.js → PlayerActiveBonuses-BQSKxH9G.js} +2 -2
  51. package/components/{PlayerActiveBonuses-D14q9Lq7.js → PlayerActiveBonuses-DSpez0EN.js} +2 -2
  52. package/components/{PlayerBonusCard-BrPXJISl.js → PlayerBonusCard--2t2lX4X.js} +2 -2
  53. package/components/{PlayerBonusCard-Lska2BfL.js → PlayerBonusCard-D4jw0D02.js} +2 -2
  54. package/components/{PlayerBonusHistory-Dw0IzpdC.js → PlayerBonusHistory-BbO5bAQY.js} +4 -4
  55. package/components/{PlayerBonusHistory-D8dTdXD3.js → PlayerBonusHistory-C6ZPMR2L.js} +4 -4
  56. package/components/{PlayerChangePassword-MZn0FPpH.js → PlayerChangePassword-CK9EmNEl.js} +1 -1
  57. package/components/{PlayerChangePassword-BWDcQTeK.js → PlayerChangePassword-DDqLNG5r.js} +1 -1
  58. package/components/{PlayerDeposit-C92ti35C.js → PlayerDeposit-B0xGf2EY.js} +1 -1
  59. package/components/{PlayerDeposit-CxXgHXZN.js → PlayerDeposit-BiOuprGV.js} +1 -1
  60. package/components/{PlayerGamingHistory-D3DfJ0iq.js → PlayerGamingHistory-CDPSEyVI.js} +4 -4
  61. package/components/{PlayerGamingHistory-iAUjv5w2.js → PlayerGamingHistory-CJn-wybc.js} +4 -4
  62. package/components/{PlayerPendingWithdrawals-CIqj4rw5.js → PlayerPendingWithdrawals-Cw2CONsa.js} +1 -1
  63. package/components/{PlayerPendingWithdrawals-Cr3Bb8fp.js → PlayerPendingWithdrawals-DKIV0VFt.js} +1 -1
  64. package/components/{PlayerProfileInfo-DsxKyHAZ.js → PlayerProfileInfo-B2PmsKAI.js} +1325 -1173
  65. package/components/{PlayerProfileInfo-BT3pxCnt.js → PlayerProfileInfo-YrTsyEfP.js} +1359 -1206
  66. package/components/PlayerProfileInfo-wZEXXCWQ.cjs +4 -0
  67. package/components/{PlayerRealityCheck-ewNYbcWX.js → PlayerRealityCheck-BdFZDJFk.js} +8 -8
  68. package/components/{PlayerRealityCheck-JgLIeGQ-.js → PlayerRealityCheck-CEToSHcC.js} +8 -8
  69. package/components/{PlayerTransactionHistory-C6G_L9Xi.js → PlayerTransactionHistory-BWwWT8z7.js} +1 -1
  70. package/components/{PlayerTransactionHistory-zG-97Crt.js → PlayerTransactionHistory-C8uedDZz.js} +1 -1
  71. package/components/{PlayerWithdrawal-Cr2PACnM.js → PlayerWithdrawal-BXYWP9OV.js} +1 -1
  72. package/components/{PlayerWithdrawal-DkY29uqD.js → PlayerWithdrawal-DuhBS0tB.js} +1 -1
  73. package/es2015/player-account-controller.cjs +1 -1
  74. package/es2015/player-account-controller.js +1 -1
  75. package/esnext/player-account-controller.js +1 -1
  76. package/package.json +1 -1
  77. package/components/PlayerAccountBiometrics-BwwuNFd7.js +0 -306
  78. package/components/PlayerAccountBiometrics-CqZ92UWP.cjs +0 -1
  79. package/components/PlayerAccountBiometrics-DQqhVOLe.js +0 -306
  80. package/components/PlayerAccountController-CxtN8yw6.cjs +0 -1
  81. package/components/PlayerProfileInfo-jxduD7Y_.cjs +0 -4
@@ -1,306 +0,0 @@
1
- import { a as L, $ as N, S as W, i as q, s as H, f as k, b as I, n as z, d as O, c as U, h as R, j as o, l as C, k as h, m as S, t as x, e as n, p as K, q as V, u as Z, v as j, w as G, x as J, y as Q, z as X, A as $, B as tt } from "./GeneralLogout-B7wytw3i.js";
2
- function Y(i, t) {
3
- L(i, t);
4
- }
5
- function it(i) {
6
- N.set(i);
7
- }
8
- const F = {
9
- en: {
10
- titleBiometrics: "Biometrics Authentication",
11
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
12
- descriptionParagraph2: "You can turn this feature on and off at any time",
13
- btnEnableBiometrics: "Enable biometrics",
14
- btnDisableBiometrics: "Disable biometrics"
15
- },
16
- "zh-hk": {
17
- titleBiometrics: "Biometrics Authentication",
18
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
19
- descriptionParagraph2: "You can turn this feature on and off at any time",
20
- btnEnableBiometrics: "Enable biometrics",
21
- btnDisableBiometrics: "Disable biometrics"
22
- },
23
- fr: {
24
- titleBiometrics: "Biometrics Authentication",
25
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
26
- descriptionParagraph2: "You can turn this feature on and off at any time",
27
- btnEnableBiometrics: "Enable biometrics",
28
- btnDisableBiometrics: "Disable biometrics"
29
- },
30
- tr: {
31
- titleBiometrics: "Biometrics Authentication",
32
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
33
- descriptionParagraph2: "You can turn this feature on and off at any time",
34
- btnEnableBiometrics: "Enable biometrics",
35
- btnDisableBiometrics: "Disable biometrics"
36
- },
37
- ro: {
38
- titleBiometrics: "Biometrics Authentication",
39
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
40
- descriptionParagraph2: "You can turn this feature on and off at any time",
41
- btnEnableBiometrics: "Enable biometrics",
42
- btnDisableBiometrics: "Disable biometrics"
43
- },
44
- es: {
45
- titleBiometrics: "Biometrics Authentication",
46
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
47
- descriptionParagraph2: "You can turn this feature on and off at any time",
48
- btnEnableBiometrics: "Enable biometrics",
49
- btnDisableBiometrics: "Disable biometrics"
50
- },
51
- pt: {
52
- titleBiometrics: "Biometrics Authentication",
53
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
54
- descriptionParagraph2: "You can turn this feature on and off at any time",
55
- btnEnableBiometrics: "Enable biometrics",
56
- btnDisableBiometrics: "Disable biometrics"
57
- },
58
- hr: {
59
- titleBiometrics: "Biometrijska autentifikacija",
60
- descriptionParagraph1: "Koristite biometrijsku prijavu otiskom prsta ili licem za brži i jednostavniji pristup svom računu.",
61
- descriptionParagraph2: "Ovu značajku možete uključiti i isključiti u bilo kojem trenutku",
62
- btnEnableBiometrics: "Omogući biometriju",
63
- btnDisableBiometrics: "Onemogući biometriju"
64
- },
65
- "pt-br": {
66
- titleBiometrics: "Biometrics Authentication",
67
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
68
- descriptionParagraph2: "You can turn this feature on and off at any time",
69
- btnEnableBiometrics: "Enable biometrics",
70
- btnDisableBiometrics: "Disable biometrics"
71
- },
72
- "es-mx": {
73
- titleBiometrics: "Biometrics Authentication",
74
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
75
- descriptionParagraph2: "You can turn this feature on and off at any time",
76
- btnEnableBiometrics: "Enable biometrics",
77
- btnDisableBiometrics: "Disable biometrics"
78
- },
79
- "en-us": {
80
- titleBiometrics: "Biometrics Authentication",
81
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
82
- descriptionParagraph2: "You can turn this feature on and off at any time",
83
- btnEnableBiometrics: "Enable biometrics",
84
- btnDisableBiometrics: "Disable biometrics"
85
- }
86
- };
87
- function et(i) {
88
- I(i, "svelte-6qxh5g", ".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 .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}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
89
- }
90
- function rt(i) {
91
- let t, e, B, c, m, l, u, s, p, a, f = (
92
- /*$_*/
93
- i[2]("titleBiometrics") + ""
94
- ), y, w, v;
95
- return {
96
- c() {
97
- t = h("div"), e = j("svg"), B = j("defs"), c = j("style"), m = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), l = j("g"), u = j("g"), s = j("path"), p = S(), a = h("h2"), y = x(f), n(s, "class", "aaa"), n(s, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), n(s, "transform", "translate(15 15) rotate(180)"), n(u, "transform", "translate(20 158)"), n(l, "transform", "translate(-20 -158)"), n(e, "xmlns", "http://www.w3.org/2000/svg"), n(e, "width", "15"), n(e, "height", "15"), n(e, "viewBox", "0 0 15 15"), n(a, "class", "BiometricsTitleMobile"), n(a, "part", "BiometricsTitleMobile"), n(t, "class", "MenuReturnButton"), n(t, "part", "MenuReturnButton");
98
- },
99
- m(b, E) {
100
- R(b, t, E), o(t, e), o(e, B), o(B, c), o(c, m), o(e, l), o(l, u), o(u, s), o(t, p), o(t, a), o(a, y), w || (v = C(
101
- t,
102
- "click",
103
- /*click_handler*/
104
- i[11]
105
- ), w = !0);
106
- },
107
- p(b, E) {
108
- E & /*$_*/
109
- 4 && f !== (f = /*$_*/
110
- b[2]("titleBiometrics") + "") && U(y, f);
111
- },
112
- d(b) {
113
- b && O(t), w = !1, v();
114
- }
115
- };
116
- }
117
- function ot(i) {
118
- let t, e, B, c, m = (
119
- /*$_*/
120
- i[2]("titleBiometrics") + ""
121
- ), l, u, s, p, a = (
122
- /*$_*/
123
- i[2]("descriptionParagraph1") + ""
124
- ), f, y, w, v = (
125
- /*$_*/
126
- i[2]("descriptionParagraph2") + ""
127
- ), b, E, _, D, M = (
128
- /*biometricsenabled*/
129
- (i[0] === "true" ? (
130
- /*$_*/
131
- i[2]("btnDisableBiometrics")
132
- ) : (
133
- /*$_*/
134
- i[2]("btnEnableBiometrics")
135
- )) + ""
136
- ), r, d, T, P = (
137
- /*isMobile*/
138
- i[3] && rt(i)
139
- );
140
- return {
141
- c() {
142
- t = h("div"), e = h("div"), P && P.c(), B = S(), c = h("h2"), l = x(m), u = S(), s = h("div"), p = h("p"), f = x(a), y = S(), w = h("p"), b = x(v), E = S(), _ = h("div"), D = h("button"), r = x(M), n(c, "class", "BiometricsTitle " + /*isMobile*/
143
- (i[3] ? "BiometricsTitleNone" : "")), n(s, "class", "BiometricsDescription " + /*isMobile*/
144
- (i[3] ? "BiometricsDescriptionMobile" : "")), n(D, "class", "BiometricsToggle"), n(_, "class", "BiometricsActionButtons " + /*isMobile*/
145
- (i[3] ? "BiometricsActionButtonsMobile" : "")), n(e, "class", "BiometricsWrapper " + /*isMobile*/
146
- (i[3] ? "BiometricsWrapperMobile" : ""));
147
- },
148
- m(g, A) {
149
- R(g, t, A), o(t, e), P && P.m(e, null), o(e, B), o(e, c), o(c, l), o(e, u), o(e, s), o(s, p), o(p, f), o(s, y), o(s, w), o(w, b), o(e, E), o(e, _), o(_, D), o(D, r), i[13](t), d || (T = C(
150
- D,
151
- "click",
152
- /*click_handler_1*/
153
- i[12]
154
- ), d = !0);
155
- },
156
- p(g, [A]) {
157
- /*isMobile*/
158
- g[3] && P.p(g, A), A & /*$_*/
159
- 4 && m !== (m = /*$_*/
160
- g[2]("titleBiometrics") + "") && U(l, m), A & /*$_*/
161
- 4 && a !== (a = /*$_*/
162
- g[2]("descriptionParagraph1") + "") && U(f, a), A & /*$_*/
163
- 4 && v !== (v = /*$_*/
164
- g[2]("descriptionParagraph2") + "") && U(b, v), A & /*biometricsenabled, $_*/
165
- 5 && M !== (M = /*biometricsenabled*/
166
- (g[0] === "true" ? (
167
- /*$_*/
168
- g[2]("btnDisableBiometrics")
169
- ) : (
170
- /*$_*/
171
- g[2]("btnEnableBiometrics")
172
- )) + "") && U(r, M);
173
- },
174
- i: z,
175
- o: z,
176
- d(g) {
177
- g && O(t), P && P.d(), i[13](null), d = !1, T();
178
- }
179
- };
180
- }
181
- function at(i, t, e) {
182
- let B;
183
- K(i, tt, (r) => e(2, B = r));
184
- let { biometricsenabled: c = "false" } = t, { lang: m = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: s } = t, { translationurl: p = "" } = t, a, f = window.navigator.userAgent, y = V(f) !== "PC";
185
- const w = () => {
186
- fetch(p).then((d) => d.json()).then((d) => {
187
- Object.keys(d).forEach((T) => {
188
- Y(T, d[T]);
189
- });
190
- }).catch((d) => {
191
- console.log(d);
192
- });
193
- };
194
- Object.keys(F).forEach((r) => {
195
- Y(r, F[r]);
196
- });
197
- const v = () => {
198
- it(m);
199
- }, b = () => {
200
- window.postMessage(
201
- {
202
- type: "PlayerAccountMenuActive",
203
- isMobile: y
204
- },
205
- window.location.href
206
- );
207
- }, E = () => {
208
- c === "true" ? e(0, c = "false") : c === "false" && e(0, c = "true"), window.postMessage({
209
- type: "ToggleBiometrics",
210
- data: c
211
- });
212
- };
213
- Z(() => () => {
214
- });
215
- const _ = () => b(), D = () => E();
216
- function M(r) {
217
- G[r ? "unshift" : "push"](() => {
218
- a = r, e(1, a);
219
- });
220
- }
221
- return i.$$set = (r) => {
222
- "biometricsenabled" in r && e(0, c = r.biometricsenabled), "lang" in r && e(6, m = r.lang), "clientstyling" in r && e(7, l = r.clientstyling), "clientstylingurl" in r && e(8, u = r.clientstylingurl), "mbsource" in r && e(9, s = r.mbsource), "translationurl" in r && e(10, p = r.translationurl);
223
- }, i.$$.update = () => {
224
- i.$$.dirty & /*lang*/
225
- 64 && m && v(), i.$$.dirty & /*clientstyling, customStylingContainer*/
226
- 130 && l && a && J(a, l), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
227
- 258 && u && a && Q(a, u), i.$$.dirty & /*mbsource, customStylingContainer*/
228
- 514 && s && a && X(a, `${s}.Style`), i.$$.dirty & /*translationurl*/
229
- 1024 && p && w();
230
- }, [
231
- c,
232
- a,
233
- B,
234
- y,
235
- b,
236
- E,
237
- m,
238
- l,
239
- u,
240
- s,
241
- p,
242
- _,
243
- D,
244
- M
245
- ];
246
- }
247
- class nt extends W {
248
- constructor(t) {
249
- super(), q(
250
- this,
251
- t,
252
- at,
253
- ot,
254
- H,
255
- {
256
- biometricsenabled: 0,
257
- lang: 6,
258
- clientstyling: 7,
259
- clientstylingurl: 8,
260
- mbsource: 9,
261
- translationurl: 10
262
- },
263
- et
264
- );
265
- }
266
- get biometricsenabled() {
267
- return this.$$.ctx[0];
268
- }
269
- set biometricsenabled(t) {
270
- this.$$set({ biometricsenabled: t }), k();
271
- }
272
- get lang() {
273
- return this.$$.ctx[6];
274
- }
275
- set lang(t) {
276
- this.$$set({ lang: t }), k();
277
- }
278
- get clientstyling() {
279
- return this.$$.ctx[7];
280
- }
281
- set clientstyling(t) {
282
- this.$$set({ clientstyling: t }), k();
283
- }
284
- get clientstylingurl() {
285
- return this.$$.ctx[8];
286
- }
287
- set clientstylingurl(t) {
288
- this.$$set({ clientstylingurl: t }), k();
289
- }
290
- get mbsource() {
291
- return this.$$.ctx[9];
292
- }
293
- set mbsource(t) {
294
- this.$$set({ mbsource: t }), k();
295
- }
296
- get translationurl() {
297
- return this.$$.ctx[10];
298
- }
299
- set translationurl(t) {
300
- this.$$set({ translationurl: t }), k();
301
- }
302
- }
303
- $(nt, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
304
- export {
305
- nt as default
306
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CmR1r8PX.cjs");function M(i,e){t.addMessages(i,e)}function j(i){t.$locale.set(i)}const k={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 T(i){t.append_styles(i,"svelte-6qxh5g",".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 .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}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}")}function S(i){let e,r,f,s,l,c,m,o,b,n,g=i[2]("titleBiometrics")+"",h,B,y;return{c(){e=t.element("div"),r=t.svg_element("svg"),f=t.svg_element("defs"),s=t.svg_element("style"),l=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),c=t.svg_element("g"),m=t.svg_element("g"),o=t.svg_element("path"),b=t.space(),n=t.element("h2"),h=t.text(g),t.attr(o,"class","aaa"),t.attr(o,"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(o,"transform","translate(15 15) rotate(180)"),t.attr(m,"transform","translate(20 158)"),t.attr(c,"transform","translate(-20 -158)"),t.attr(r,"xmlns","http://www.w3.org/2000/svg"),t.attr(r,"width","15"),t.attr(r,"height","15"),t.attr(r,"viewBox","0 0 15 15"),t.attr(n,"class","BiometricsTitleMobile"),t.attr(n,"part","BiometricsTitleMobile"),t.attr(e,"class","MenuReturnButton"),t.attr(e,"part","MenuReturnButton")},m(u,w){t.insert(u,e,w),t.append(e,r),t.append(r,f),t.append(f,s),t.append(s,l),t.append(r,c),t.append(c,m),t.append(m,o),t.append(e,b),t.append(e,n),t.append(n,h),B||(y=t.listen(e,"click",i[11]),B=!0)},p(u,w){w&4&&g!==(g=u[2]("titleBiometrics")+"")&&t.set_data(h,g)},d(u){u&&t.detach(e),B=!1,y()}}}function U(i){let e,r,f,s,l=i[2]("titleBiometrics")+"",c,m,o,b,n=i[2]("descriptionParagraph1")+"",g,h,B,y=i[2]("descriptionParagraph2")+"",u,w,P,v,D=(i[0]==="true"?i[2]("btnDisableBiometrics"):i[2]("btnEnableBiometrics"))+"",a,d,A,_=i[3]&&S(i);return{c(){e=t.element("div"),r=t.element("div"),_&&_.c(),f=t.space(),s=t.element("h2"),c=t.text(l),m=t.space(),o=t.element("div"),b=t.element("p"),g=t.text(n),h=t.space(),B=t.element("p"),u=t.text(y),w=t.space(),P=t.element("div"),v=t.element("button"),a=t.text(D),t.attr(s,"class","BiometricsTitle "+(i[3]?"BiometricsTitleNone":"")),t.attr(o,"class","BiometricsDescription "+(i[3]?"BiometricsDescriptionMobile":"")),t.attr(v,"class","BiometricsToggle"),t.attr(P,"class","BiometricsActionButtons "+(i[3]?"BiometricsActionButtonsMobile":"")),t.attr(r,"class","BiometricsWrapper "+(i[3]?"BiometricsWrapperMobile":""))},m(p,E){t.insert(p,e,E),t.append(e,r),_&&_.m(r,null),t.append(r,f),t.append(r,s),t.append(s,c),t.append(r,m),t.append(r,o),t.append(o,b),t.append(b,g),t.append(o,h),t.append(o,B),t.append(B,u),t.append(r,w),t.append(r,P),t.append(P,v),t.append(v,a),i[13](e),d||(A=t.listen(v,"click",i[12]),d=!0)},p(p,[E]){p[3]&&_.p(p,E),E&4&&l!==(l=p[2]("titleBiometrics")+"")&&t.set_data(c,l),E&4&&n!==(n=p[2]("descriptionParagraph1")+"")&&t.set_data(g,n),E&4&&y!==(y=p[2]("descriptionParagraph2")+"")&&t.set_data(u,y),E&5&&D!==(D=(p[0]==="true"?p[2]("btnDisableBiometrics"):p[2]("btnEnableBiometrics"))+"")&&t.set_data(a,D)},i:t.noop,o:t.noop,d(p){p&&t.detach(e),_&&_.d(),i[13](null),d=!1,A()}}}function Y(i,e,r){let f;t.component_subscribe(i,t.$format,a=>r(2,f=a));let{biometricsenabled:s="false"}=e,{lang:l="en"}=e,{clientstyling:c=""}=e,{clientstylingurl:m=""}=e,{mbsource:o}=e,{translationurl:b=""}=e,n,g=window.navigator.userAgent,h=t.getDevice(g)!=="PC";const B=()=>{fetch(b).then(d=>d.json()).then(d=>{Object.keys(d).forEach(A=>{M(A,d[A])})}).catch(d=>{console.log(d)})};Object.keys(k).forEach(a=>{M(a,k[a])});const y=()=>{j(l)},u=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:h},window.location.href)},w=()=>{s==="true"?r(0,s="false"):s==="false"&&r(0,s="true"),window.postMessage({type:"ToggleBiometrics",data:s})};t.onMount(()=>()=>{});const P=()=>u(),v=()=>w();function D(a){t.binding_callbacks[a?"unshift":"push"](()=>{n=a,r(1,n)})}return i.$$set=a=>{"biometricsenabled"in a&&r(0,s=a.biometricsenabled),"lang"in a&&r(6,l=a.lang),"clientstyling"in a&&r(7,c=a.clientstyling),"clientstylingurl"in a&&r(8,m=a.clientstylingurl),"mbsource"in a&&r(9,o=a.mbsource),"translationurl"in a&&r(10,b=a.translationurl)},i.$$.update=()=>{i.$$.dirty&64&&l&&y(),i.$$.dirty&130&&c&&n&&t.setClientStyling(n,c),i.$$.dirty&258&&m&&n&&t.setClientStylingURL(n,m),i.$$.dirty&514&&o&&n&&t.setStreamStyling(n,`${o}.Style`),i.$$.dirty&1024&&b&&B()},[s,n,f,h,u,w,l,c,m,o,b,P,v,D]}class x extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Y,U,t.safe_not_equal,{biometricsenabled:0,lang:6,clientstyling:7,clientstylingurl:8,mbsource:9,translationurl:10},T)}get biometricsenabled(){return this.$$.ctx[0]}set biometricsenabled(e){this.$$set({biometricsenabled:e}),t.flush()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(x,{biometricsenabled:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
@@ -1,306 +0,0 @@
1
- import { a as L, $ as N, S as W, i as q, s as H, f as k, b as I, n as z, d as O, c as U, h as R, j as o, l as C, k as h, m as S, t as x, e as n, p as K, q as V, u as Z, v as j, w as G, x as J, y as Q, z as X, A as $, B as tt } from "./GeneralLogout-CCZ-t51N.js";
2
- function Y(i, t) {
3
- L(i, t);
4
- }
5
- function it(i) {
6
- N.set(i);
7
- }
8
- const F = {
9
- en: {
10
- titleBiometrics: "Biometrics Authentication",
11
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
12
- descriptionParagraph2: "You can turn this feature on and off at any time",
13
- btnEnableBiometrics: "Enable biometrics",
14
- btnDisableBiometrics: "Disable biometrics"
15
- },
16
- "zh-hk": {
17
- titleBiometrics: "Biometrics Authentication",
18
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
19
- descriptionParagraph2: "You can turn this feature on and off at any time",
20
- btnEnableBiometrics: "Enable biometrics",
21
- btnDisableBiometrics: "Disable biometrics"
22
- },
23
- fr: {
24
- titleBiometrics: "Biometrics Authentication",
25
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
26
- descriptionParagraph2: "You can turn this feature on and off at any time",
27
- btnEnableBiometrics: "Enable biometrics",
28
- btnDisableBiometrics: "Disable biometrics"
29
- },
30
- tr: {
31
- titleBiometrics: "Biometrics Authentication",
32
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
33
- descriptionParagraph2: "You can turn this feature on and off at any time",
34
- btnEnableBiometrics: "Enable biometrics",
35
- btnDisableBiometrics: "Disable biometrics"
36
- },
37
- ro: {
38
- titleBiometrics: "Biometrics Authentication",
39
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
40
- descriptionParagraph2: "You can turn this feature on and off at any time",
41
- btnEnableBiometrics: "Enable biometrics",
42
- btnDisableBiometrics: "Disable biometrics"
43
- },
44
- es: {
45
- titleBiometrics: "Biometrics Authentication",
46
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
47
- descriptionParagraph2: "You can turn this feature on and off at any time",
48
- btnEnableBiometrics: "Enable biometrics",
49
- btnDisableBiometrics: "Disable biometrics"
50
- },
51
- pt: {
52
- titleBiometrics: "Biometrics Authentication",
53
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
54
- descriptionParagraph2: "You can turn this feature on and off at any time",
55
- btnEnableBiometrics: "Enable biometrics",
56
- btnDisableBiometrics: "Disable biometrics"
57
- },
58
- hr: {
59
- titleBiometrics: "Biometrijska autentifikacija",
60
- descriptionParagraph1: "Koristite biometrijsku prijavu otiskom prsta ili licem za brži i jednostavniji pristup svom računu.",
61
- descriptionParagraph2: "Ovu značajku možete uključiti i isključiti u bilo kojem trenutku",
62
- btnEnableBiometrics: "Omogući biometriju",
63
- btnDisableBiometrics: "Onemogući biometriju"
64
- },
65
- "pt-br": {
66
- titleBiometrics: "Biometrics Authentication",
67
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
68
- descriptionParagraph2: "You can turn this feature on and off at any time",
69
- btnEnableBiometrics: "Enable biometrics",
70
- btnDisableBiometrics: "Disable biometrics"
71
- },
72
- "es-mx": {
73
- titleBiometrics: "Biometrics Authentication",
74
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
75
- descriptionParagraph2: "You can turn this feature on and off at any time",
76
- btnEnableBiometrics: "Enable biometrics",
77
- btnDisableBiometrics: "Disable biometrics"
78
- },
79
- "en-us": {
80
- titleBiometrics: "Biometrics Authentication",
81
- descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
82
- descriptionParagraph2: "You can turn this feature on and off at any time",
83
- btnEnableBiometrics: "Enable biometrics",
84
- btnDisableBiometrics: "Disable biometrics"
85
- }
86
- };
87
- function et(i) {
88
- I(i, "svelte-6qxh5g", ".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 .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}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
89
- }
90
- function rt(i) {
91
- let t, e, B, c, m, l, u, s, p, a, f = (
92
- /*$_*/
93
- i[2]("titleBiometrics") + ""
94
- ), y, w, v;
95
- return {
96
- c() {
97
- t = h("div"), e = j("svg"), B = j("defs"), c = j("style"), m = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), l = j("g"), u = j("g"), s = j("path"), p = S(), a = h("h2"), y = x(f), n(s, "class", "aaa"), n(s, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), n(s, "transform", "translate(15 15) rotate(180)"), n(u, "transform", "translate(20 158)"), n(l, "transform", "translate(-20 -158)"), n(e, "xmlns", "http://www.w3.org/2000/svg"), n(e, "width", "15"), n(e, "height", "15"), n(e, "viewBox", "0 0 15 15"), n(a, "class", "BiometricsTitleMobile"), n(a, "part", "BiometricsTitleMobile"), n(t, "class", "MenuReturnButton"), n(t, "part", "MenuReturnButton");
98
- },
99
- m(b, E) {
100
- R(b, t, E), o(t, e), o(e, B), o(B, c), o(c, m), o(e, l), o(l, u), o(u, s), o(t, p), o(t, a), o(a, y), w || (v = C(
101
- t,
102
- "click",
103
- /*click_handler*/
104
- i[11]
105
- ), w = !0);
106
- },
107
- p(b, E) {
108
- E & /*$_*/
109
- 4 && f !== (f = /*$_*/
110
- b[2]("titleBiometrics") + "") && U(y, f);
111
- },
112
- d(b) {
113
- b && O(t), w = !1, v();
114
- }
115
- };
116
- }
117
- function ot(i) {
118
- let t, e, B, c, m = (
119
- /*$_*/
120
- i[2]("titleBiometrics") + ""
121
- ), l, u, s, p, a = (
122
- /*$_*/
123
- i[2]("descriptionParagraph1") + ""
124
- ), f, y, w, v = (
125
- /*$_*/
126
- i[2]("descriptionParagraph2") + ""
127
- ), b, E, _, D, M = (
128
- /*biometricsenabled*/
129
- (i[0] === "true" ? (
130
- /*$_*/
131
- i[2]("btnDisableBiometrics")
132
- ) : (
133
- /*$_*/
134
- i[2]("btnEnableBiometrics")
135
- )) + ""
136
- ), r, d, T, P = (
137
- /*isMobile*/
138
- i[3] && rt(i)
139
- );
140
- return {
141
- c() {
142
- t = h("div"), e = h("div"), P && P.c(), B = S(), c = h("h2"), l = x(m), u = S(), s = h("div"), p = h("p"), f = x(a), y = S(), w = h("p"), b = x(v), E = S(), _ = h("div"), D = h("button"), r = x(M), n(c, "class", "BiometricsTitle " + /*isMobile*/
143
- (i[3] ? "BiometricsTitleNone" : "")), n(s, "class", "BiometricsDescription " + /*isMobile*/
144
- (i[3] ? "BiometricsDescriptionMobile" : "")), n(D, "class", "BiometricsToggle"), n(_, "class", "BiometricsActionButtons " + /*isMobile*/
145
- (i[3] ? "BiometricsActionButtonsMobile" : "")), n(e, "class", "BiometricsWrapper " + /*isMobile*/
146
- (i[3] ? "BiometricsWrapperMobile" : ""));
147
- },
148
- m(g, A) {
149
- R(g, t, A), o(t, e), P && P.m(e, null), o(e, B), o(e, c), o(c, l), o(e, u), o(e, s), o(s, p), o(p, f), o(s, y), o(s, w), o(w, b), o(e, E), o(e, _), o(_, D), o(D, r), i[13](t), d || (T = C(
150
- D,
151
- "click",
152
- /*click_handler_1*/
153
- i[12]
154
- ), d = !0);
155
- },
156
- p(g, [A]) {
157
- /*isMobile*/
158
- g[3] && P.p(g, A), A & /*$_*/
159
- 4 && m !== (m = /*$_*/
160
- g[2]("titleBiometrics") + "") && U(l, m), A & /*$_*/
161
- 4 && a !== (a = /*$_*/
162
- g[2]("descriptionParagraph1") + "") && U(f, a), A & /*$_*/
163
- 4 && v !== (v = /*$_*/
164
- g[2]("descriptionParagraph2") + "") && U(b, v), A & /*biometricsenabled, $_*/
165
- 5 && M !== (M = /*biometricsenabled*/
166
- (g[0] === "true" ? (
167
- /*$_*/
168
- g[2]("btnDisableBiometrics")
169
- ) : (
170
- /*$_*/
171
- g[2]("btnEnableBiometrics")
172
- )) + "") && U(r, M);
173
- },
174
- i: z,
175
- o: z,
176
- d(g) {
177
- g && O(t), P && P.d(), i[13](null), d = !1, T();
178
- }
179
- };
180
- }
181
- function at(i, t, e) {
182
- let B;
183
- K(i, tt, (r) => e(2, B = r));
184
- let { biometricsenabled: c = "false" } = t, { lang: m = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: s } = t, { translationurl: p = "" } = t, a, f = window.navigator.userAgent, y = V(f) !== "PC";
185
- const w = () => {
186
- fetch(p).then((d) => d.json()).then((d) => {
187
- Object.keys(d).forEach((T) => {
188
- Y(T, d[T]);
189
- });
190
- }).catch((d) => {
191
- console.log(d);
192
- });
193
- };
194
- Object.keys(F).forEach((r) => {
195
- Y(r, F[r]);
196
- });
197
- const v = () => {
198
- it(m);
199
- }, b = () => {
200
- window.postMessage(
201
- {
202
- type: "PlayerAccountMenuActive",
203
- isMobile: y
204
- },
205
- window.location.href
206
- );
207
- }, E = () => {
208
- c === "true" ? e(0, c = "false") : c === "false" && e(0, c = "true"), window.postMessage({
209
- type: "ToggleBiometrics",
210
- data: c
211
- });
212
- };
213
- Z(() => () => {
214
- });
215
- const _ = () => b(), D = () => E();
216
- function M(r) {
217
- G[r ? "unshift" : "push"](() => {
218
- a = r, e(1, a);
219
- });
220
- }
221
- return i.$$set = (r) => {
222
- "biometricsenabled" in r && e(0, c = r.biometricsenabled), "lang" in r && e(6, m = r.lang), "clientstyling" in r && e(7, l = r.clientstyling), "clientstylingurl" in r && e(8, u = r.clientstylingurl), "mbsource" in r && e(9, s = r.mbsource), "translationurl" in r && e(10, p = r.translationurl);
223
- }, i.$$.update = () => {
224
- i.$$.dirty & /*lang*/
225
- 64 && m && v(), i.$$.dirty & /*clientstyling, customStylingContainer*/
226
- 130 && l && a && J(a, l), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
227
- 258 && u && a && Q(a, u), i.$$.dirty & /*mbsource, customStylingContainer*/
228
- 514 && s && a && X(a, `${s}.Style`), i.$$.dirty & /*translationurl*/
229
- 1024 && p && w();
230
- }, [
231
- c,
232
- a,
233
- B,
234
- y,
235
- b,
236
- E,
237
- m,
238
- l,
239
- u,
240
- s,
241
- p,
242
- _,
243
- D,
244
- M
245
- ];
246
- }
247
- class nt extends W {
248
- constructor(t) {
249
- super(), q(
250
- this,
251
- t,
252
- at,
253
- ot,
254
- H,
255
- {
256
- biometricsenabled: 0,
257
- lang: 6,
258
- clientstyling: 7,
259
- clientstylingurl: 8,
260
- mbsource: 9,
261
- translationurl: 10
262
- },
263
- et
264
- );
265
- }
266
- get biometricsenabled() {
267
- return this.$$.ctx[0];
268
- }
269
- set biometricsenabled(t) {
270
- this.$$set({ biometricsenabled: t }), k();
271
- }
272
- get lang() {
273
- return this.$$.ctx[6];
274
- }
275
- set lang(t) {
276
- this.$$set({ lang: t }), k();
277
- }
278
- get clientstyling() {
279
- return this.$$.ctx[7];
280
- }
281
- set clientstyling(t) {
282
- this.$$set({ clientstyling: t }), k();
283
- }
284
- get clientstylingurl() {
285
- return this.$$.ctx[8];
286
- }
287
- set clientstylingurl(t) {
288
- this.$$set({ clientstylingurl: t }), k();
289
- }
290
- get mbsource() {
291
- return this.$$.ctx[9];
292
- }
293
- set mbsource(t) {
294
- this.$$set({ mbsource: t }), k();
295
- }
296
- get translationurl() {
297
- return this.$$.ctx[10];
298
- }
299
- set translationurl(t) {
300
- this.$$set({ translationurl: t }), k();
301
- }
302
- }
303
- $(nt, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
304
- export {
305
- nt as default
306
- };