@everymatrix/player-account-controller 1.55.0 → 1.56.1

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 (237) hide show
  1. package/components/GeneralLogout-BJr23vYk.cjs +8 -0
  2. package/components/GeneralLogout-BVJrgB3o.js +4819 -0
  3. package/components/GeneralLogout-BsU4ASHU.js +4856 -0
  4. package/components/GeneralLogout-CBaU48IH.js +4858 -0
  5. package/components/GeneralLogout-CtNZ2rvU.js +4821 -0
  6. package/components/GeneralLogout-DMKG3DPv.cjs +8 -0
  7. package/components/PlayerAccountBettingHistory-B5BniV4g.cjs +1 -0
  8. package/components/PlayerAccountBettingHistory-Bb3AMzX8.js +329 -0
  9. package/components/PlayerAccountBettingHistory-Bmd5vUtv.js +329 -0
  10. package/components/PlayerAccountBettingHistory-Bq4NWDqV.js +328 -0
  11. package/components/PlayerAccountBettingHistory-DNqJtC6N.js +328 -0
  12. package/components/PlayerAccountBettingHistory-o_QsnHUF.cjs +1 -0
  13. package/components/PlayerAccountBiometrics-9jkq0tvf.js +306 -0
  14. package/components/PlayerAccountBiometrics-AVQKN7o3.cjs +1 -0
  15. package/components/PlayerAccountBiometrics-CsN8vgVA.js +306 -0
  16. package/components/PlayerAccountBiometrics-Dg73RCT9.cjs +1 -0
  17. package/components/PlayerAccountBiometrics-DlroL56t.js +306 -0
  18. package/components/PlayerAccountBiometrics-Gd9NVjdX.js +306 -0
  19. package/components/PlayerAccountClosure-BJqYBJtn.js +346 -0
  20. package/components/PlayerAccountClosure-Bq8aSkiW.js +346 -0
  21. package/components/PlayerAccountClosure-DKliqI6n.js +346 -0
  22. package/components/PlayerAccountClosure-DMjXua4S.js +346 -0
  23. package/components/PlayerAccountClosure-DnkzjHvI.cjs +1 -0
  24. package/components/PlayerAccountClosure-MKEqjDLD.cjs +1 -0
  25. package/components/PlayerAccountController-4gBny5Rp.js +7209 -0
  26. package/components/PlayerAccountController-BJB0Tl_L.cjs +1 -0
  27. package/components/PlayerAccountController-BpyAtpJE.cjs +1 -0
  28. package/components/PlayerAccountController-C_emVJuv.js +7209 -0
  29. package/components/PlayerAccountController-CnAQbK4J.cjs +1 -0
  30. package/components/PlayerAccountController-DEbBohhW.js +7192 -0
  31. package/components/PlayerAccountController-DjbCb6IF.js +7209 -0
  32. package/components/PlayerAccountController-Mp8kU2tC.js +7192 -0
  33. package/components/PlayerAccountController-uMgaSyVI.js +7192 -0
  34. package/components/PlayerAccountGamingLimits-B5ZobNN6.js +817 -0
  35. package/components/PlayerAccountGamingLimits-BJcdfjxs.cjs +1 -0
  36. package/components/PlayerAccountGamingLimits-BqZOV7ER.js +817 -0
  37. package/components/PlayerAccountGamingLimits-BqtQWVJY.js +817 -0
  38. package/components/PlayerAccountGamingLimits-CEJOtmtT.js +817 -0
  39. package/components/PlayerAccountGamingLimits-CSy-XeyP.cjs +1 -0
  40. package/components/PlayerAccountGamingLimitsConfirmationModal-BGzrS313.js +306 -0
  41. package/components/PlayerAccountGamingLimitsConfirmationModal-BkfdzG8y.cjs +1 -0
  42. package/components/PlayerAccountGamingLimitsConfirmationModal-D4OvRvHS.js +306 -0
  43. package/components/PlayerAccountGamingLimitsConfirmationModal-DYzB3j6L.js +306 -0
  44. package/components/PlayerAccountGamingLimitsConfirmationModal-DhhlnYgg.cjs +1 -0
  45. package/components/PlayerAccountGamingLimitsConfirmationModal-ffEfhpF7.js +306 -0
  46. package/components/PlayerAccountGamingLimitsGroupEdit-CdEnus68.js +4166 -0
  47. package/components/PlayerAccountGamingLimitsGroupEdit-Cer2-m_x.js +4166 -0
  48. package/components/PlayerAccountGamingLimitsGroupEdit-DMt5E3K-.js +4166 -0
  49. package/components/PlayerAccountGamingLimitsGroupEdit-DUdaJ7Kq.js +4166 -0
  50. package/components/PlayerAccountGamingLimitsGroupEdit-DZ70sSBt.cjs +10 -0
  51. package/components/PlayerAccountGamingLimitsGroupEdit-Yjf_2udY.cjs +10 -0
  52. package/components/PlayerAccountGamingLimitsHistory2-BFqWdMn-.js +748 -0
  53. package/components/PlayerAccountGamingLimitsHistory2-CCJMGIcX.cjs +1 -0
  54. package/components/PlayerAccountGamingLimitsHistory2-CGy6w5_0.js +748 -0
  55. package/components/PlayerAccountGamingLimitsHistory2-ClU7aHVz.cjs +1 -0
  56. package/components/PlayerAccountGamingLimitsHistory2-PeeGekce.js +759 -0
  57. package/components/PlayerAccountGamingLimitsHistory2-j00bAoG0.js +759 -0
  58. package/components/PlayerAccountGamingLimitsInfoCard-C0h1smBV.cjs +1 -0
  59. package/components/PlayerAccountGamingLimitsInfoCard-C5Uyy4hS.js +1564 -0
  60. package/components/PlayerAccountGamingLimitsInfoCard-CV9ZhYiF.js +1564 -0
  61. package/components/PlayerAccountGamingLimitsInfoCard-CoMJRMLA.js +1564 -0
  62. package/components/PlayerAccountGamingLimitsInfoCard-lJRgmwtb.cjs +1 -0
  63. package/components/PlayerAccountGamingLimitsInfoCard-yxF974vj.js +1564 -0
  64. package/components/PlayerAccountGamingLimitsPage2Gm16-BTjt40ut.cjs +21 -0
  65. package/components/PlayerAccountGamingLimitsPage2Gm16-CxPXwme_.js +3276 -0
  66. package/components/PlayerAccountGamingLimitsPage2Gm16-Di6v3kmW.js +3307 -0
  67. package/components/PlayerAccountGamingLimitsPage2Gm16-L1Jp_iKB.js +3276 -0
  68. package/components/PlayerAccountGamingLimitsPage2Gm16-T2cmSKjm.js +3307 -0
  69. package/components/PlayerAccountGamingLimitsPage2Gm16-p3GcsFI7.cjs +21 -0
  70. package/components/PlayerAccountGamingLimitsPopup-B4-V_QNS.js +340 -0
  71. package/components/PlayerAccountGamingLimitsPopup-BzDVzkzb.js +340 -0
  72. package/components/PlayerAccountGamingLimitsPopup-C1u8s5Rb.js +340 -0
  73. package/components/PlayerAccountGamingLimitsPopup-Dcz_452O.js +340 -0
  74. package/components/PlayerAccountGamingLimitsPopup-DdcT7vPa.cjs +1 -0
  75. package/components/PlayerAccountGamingLimitsPopup-LRDbiAly.cjs +1 -0
  76. package/components/PlayerAccountGamingLimitsWrapper2-BiXnSxca.cjs +1 -0
  77. package/components/PlayerAccountGamingLimitsWrapper2-BqtUjbbu.js +1011 -0
  78. package/components/PlayerAccountGamingLimitsWrapper2-CcyRURaw.js +1017 -0
  79. package/components/PlayerAccountGamingLimitsWrapper2-_YHpEotj.js +1011 -0
  80. package/components/PlayerAccountGamingLimitsWrapper2-s5SZNIjP.cjs +1 -0
  81. package/components/PlayerAccountGamingLimitsWrapper2-x4L94fha.js +1017 -0
  82. package/components/PlayerAccountGeneralConfirmationModal-B0kXXOye.js +364 -0
  83. package/components/PlayerAccountGeneralConfirmationModal-BIT_T-29.js +364 -0
  84. package/components/PlayerAccountGeneralConfirmationModal-BRCvYq3w.js +364 -0
  85. package/components/PlayerAccountGeneralConfirmationModal-CBYinFim.js +364 -0
  86. package/components/PlayerAccountGeneralConfirmationModal-CGsrVc5R.cjs +1 -0
  87. package/components/PlayerAccountGeneralConfirmationModal-DdoBD-jg.cjs +1 -0
  88. package/components/PlayerAccountMenu-8KOKoKVb.cjs +1 -0
  89. package/components/PlayerAccountMenu-Bfre06Le.cjs +1 -0
  90. package/components/PlayerAccountMenu-C_YGuNPM.js +684 -0
  91. package/components/PlayerAccountMenu-DN2PIyCS.js +705 -0
  92. package/components/PlayerAccountMenu-DqJbyUfh.js +706 -0
  93. package/components/PlayerAccountMenu-FryvTe0M.js +683 -0
  94. package/components/PlayerAccountModal-Bc_9P-LN.cjs +1 -0
  95. package/components/PlayerAccountModal-C3LgI3bI.js +209 -0
  96. package/components/PlayerAccountModal-C6u0YlOB.js +209 -0
  97. package/components/PlayerAccountModal-Cb9Cx84R.js +209 -0
  98. package/components/PlayerAccountModal-DfP5i5EL.cjs +1 -0
  99. package/components/PlayerAccountModal-DxF0TUrk.js +209 -0
  100. package/components/PlayerAccountNotifications-C8jpcaHS.js +368 -0
  101. package/components/PlayerAccountNotifications-CGAudNFs.js +369 -0
  102. package/components/PlayerAccountNotifications-Ck05XEl9.cjs +1 -0
  103. package/components/PlayerAccountNotifications-CmREqnee.cjs +1 -0
  104. package/components/PlayerAccountNotifications-xD7DJqe7.js +368 -0
  105. package/components/PlayerAccountNotifications-zizauj3S.js +369 -0
  106. package/components/PlayerAccountSelfExclusion-BIGBywgv.cjs +4171 -0
  107. package/components/PlayerAccountSelfExclusion-BOP9Y_Cl.js +17171 -0
  108. package/components/PlayerAccountSelfExclusion-CDVz-lP6.js +17138 -0
  109. package/components/PlayerAccountSelfExclusion-CJ4jfPui.js +17138 -0
  110. package/components/PlayerAccountSelfExclusion-Cfcq-ilJ.js +17171 -0
  111. package/components/PlayerAccountSelfExclusion-Cy05j-IP.cjs +4171 -0
  112. package/components/PlayerAccountTimeout-2YkNAJ9f.cjs +1 -0
  113. package/components/PlayerAccountTimeout-BW3T413k.js +950 -0
  114. package/components/PlayerAccountTimeout-BcsZ2sb4.js +950 -0
  115. package/components/PlayerAccountTimeout-CBKTomqH.cjs +1 -0
  116. package/components/PlayerAccountTimeout-Cx77nKle.js +950 -0
  117. package/components/PlayerAccountTimeout-DiMSoYxX.js +950 -0
  118. package/components/PlayerActiveBonuses-3N_s8OrY.js +1055 -0
  119. package/components/PlayerActiveBonuses-Bk-LUaGe.cjs +1 -0
  120. package/components/PlayerActiveBonuses-CacJcfPT.js +1056 -0
  121. package/components/PlayerActiveBonuses-Dyedxyle.js +1055 -0
  122. package/components/PlayerActiveBonuses-DzsnlkKd.cjs +1 -0
  123. package/components/PlayerActiveBonuses-hMskUSPf.js +1056 -0
  124. package/components/PlayerBonusCard-2TI6CPMg.js +699 -0
  125. package/components/PlayerBonusCard-BLQee3Yl.js +699 -0
  126. package/components/PlayerBonusCard-BtmQf1aE.js +699 -0
  127. package/components/PlayerBonusCard-CzDI2441.js +699 -0
  128. package/components/PlayerBonusCard-fmiQL149.cjs +1 -0
  129. package/components/PlayerBonusCard-seJw_ipN.cjs +1 -0
  130. package/components/PlayerBonusHistory-1zb5ypXm.js +937 -0
  131. package/components/PlayerBonusHistory-B_fcWrpb.cjs +1 -0
  132. package/components/PlayerBonusHistory-Cc7KuYdG.js +938 -0
  133. package/components/PlayerBonusHistory-Cl6yHmyn.cjs +1 -0
  134. package/components/PlayerBonusHistory-DTWoOB2F.js +937 -0
  135. package/components/PlayerBonusHistory-WRG91zGG.js +938 -0
  136. package/components/PlayerChangePassword-C25k7g0R.js +1173 -0
  137. package/components/PlayerChangePassword-C8JMSlO2.cjs +3 -0
  138. package/components/PlayerChangePassword-CRAV5XBF.js +1173 -0
  139. package/components/PlayerChangePassword-ChN8vXoe.js +1173 -0
  140. package/components/PlayerChangePassword-D2hz3KZY.js +1173 -0
  141. package/components/PlayerChangePassword-Dm7ojx3B.cjs +3 -0
  142. package/components/PlayerDeposit-C3LBDk7P.js +391 -0
  143. package/components/PlayerDeposit-D-vkpaj8.js +391 -0
  144. package/components/PlayerDeposit-D9vHJT5z.cjs +1 -0
  145. package/components/PlayerDeposit-Drn_qTXy.js +391 -0
  146. package/components/PlayerDeposit-H96LYwvc.cjs +1 -0
  147. package/components/PlayerDeposit-lFMe4Ubk.js +391 -0
  148. package/components/PlayerGamingHistory-A8ezawol.cjs +1 -0
  149. package/components/PlayerGamingHistory-CBybmkzJ.js +982 -0
  150. package/components/PlayerGamingHistory-D-g7DsZY.js +969 -0
  151. package/components/PlayerGamingHistory-D4BBX_NO.js +982 -0
  152. package/components/PlayerGamingHistory-kQXWPOVX.js +969 -0
  153. package/components/PlayerGamingHistory-nXcnrY9t.cjs +1 -0
  154. package/components/PlayerPendingWithdrawals-335u7VHy.cjs +1 -0
  155. package/components/PlayerPendingWithdrawals-Bkq_LzUX.js +310 -0
  156. package/components/PlayerPendingWithdrawals-Cc5b8V0M.cjs +1 -0
  157. package/components/PlayerPendingWithdrawals-CiE7UXZE.js +310 -0
  158. package/components/PlayerPendingWithdrawals-Cv8ar9i7.js +310 -0
  159. package/components/PlayerPendingWithdrawals-D0PnJ2Ry.js +310 -0
  160. package/components/PlayerProfileInfo-BZjVrvCn.cjs +1 -0
  161. package/components/PlayerProfileInfo-BtajfoNY.cjs +1 -0
  162. package/components/PlayerProfileInfo-C3sb-ekE.js +1804 -0
  163. package/components/PlayerProfileInfo-C6wcnHjE.js +1821 -0
  164. package/components/PlayerProfileInfo-ChVQdofV.js +1821 -0
  165. package/components/PlayerProfileInfo-DGa8IkvB.js +1804 -0
  166. package/components/PlayerRealityCheck-4dDx5fG9.js +668 -0
  167. package/components/PlayerRealityCheck-Bp0kcyji.js +652 -0
  168. package/components/PlayerRealityCheck-CLNviBS2.cjs +1 -0
  169. package/components/PlayerRealityCheck-DnV8RaMw.cjs +1 -0
  170. package/components/PlayerRealityCheck-FpmFAP1-.js +668 -0
  171. package/components/PlayerRealityCheck-zj5BHTDl.js +652 -0
  172. package/components/PlayerTransactionHistory-CCdvsW9A.cjs +1 -0
  173. package/components/PlayerTransactionHistory-CM91yXea.js +314 -0
  174. package/components/PlayerTransactionHistory-CYYFJ6EG.js +314 -0
  175. package/components/PlayerTransactionHistory-DbNzhWfM.js +314 -0
  176. package/components/PlayerTransactionHistory-Gz5Ae9tP.cjs +1 -0
  177. package/components/PlayerTransactionHistory-RmKm-89S.js +314 -0
  178. package/components/PlayerWithdrawal-BrBDWDhT.cjs +1 -0
  179. package/components/PlayerWithdrawal-CUYps7WV.js +365 -0
  180. package/components/PlayerWithdrawal-CcdByNbq.js +365 -0
  181. package/components/PlayerWithdrawal-CohuE2wz.js +365 -0
  182. package/components/PlayerWithdrawal-DMhVwQlF.cjs +1 -0
  183. package/components/PlayerWithdrawal-_cBpaGNe.js +365 -0
  184. package/es2015/player-account-controller.cjs +1 -1
  185. package/es2015/player-account-controller.js +1 -1
  186. package/esnext/player-account-controller.js +1 -1
  187. package/package.json +1 -1
  188. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
  189. package/stencil/app-globals-0f993ce5-DzSE6TtH.js +13 -0
  190. package/stencil/checkbox-group-input_9-C0sxArC8.cjs +2104 -0
  191. package/stencil/checkbox-group-input_9-CgJXKrax.js +12351 -0
  192. package/stencil/checkbox-group-input_9-cgJtsdKg.js +12331 -0
  193. package/stencil/general-input-Bd9atiWx.js +48 -0
  194. package/stencil/general-input-CsKjNbmZ.js +48 -0
  195. package/stencil/general-input-DdanLnhp.cjs +1 -0
  196. package/stencil/index-1c9f7b34-Bc7D_MDc.js +566 -0
  197. package/stencil/index-1c9f7b34-CQG22CHt.cjs +1 -0
  198. package/stencil/index-1c9f7b34-DjxFQLNm.js +593 -0
  199. package/stencil/index-42a69622-Bf3iffRU.js +659 -0
  200. package/stencil/index-42a69622-D_Ld41zA.cjs +1 -0
  201. package/stencil/index-42a69622-sw0JKBUm.js +632 -0
  202. package/stencil/index-72d2f0c7-B6npgOpT.cjs +1 -0
  203. package/stencil/index-72d2f0c7-C1SVQLk_.js +642 -0
  204. package/stencil/index-72d2f0c7-DbRKphKh.js +626 -0
  205. package/stencil/index-7c2d76a2-Ac3uLCab.js +548 -0
  206. package/stencil/index-7c2d76a2-BhtzgVqi.js +532 -0
  207. package/stencil/index-7c2d76a2-BrBQDQDN.cjs +1 -0
  208. package/stencil/index-c68bbded-Ca8oRZ5p.js +572 -0
  209. package/stencil/index-c68bbded-lJvOfh6w.js +588 -0
  210. package/stencil/index-c68bbded-lic9DimW.cjs +1 -0
  211. package/stencil/password-input_2-BcA_GQhg.js +1420 -0
  212. package/stencil/password-input_2-CWC2OUx-.js +1420 -0
  213. package/stencil/password-input_2-D_l1ccPG.cjs +896 -0
  214. package/stencil/player-change-password-gm2-7b05cf53-BGg_is8g.cjs +1 -0
  215. package/stencil/player-change-password-gm2-7b05cf53-ChOp29_5.js +272 -0
  216. package/stencil/player-change-password-gm2-7b05cf53-CnV9s-Ih.js +272 -0
  217. package/stencil/player-change-password-gm2-B_kRjFUL.js +7 -0
  218. package/stencil/player-change-password-gm2-DEeeAs8O.js +25 -0
  219. package/stencil/player-change-password-gm2-DGfPRqEK.cjs +1 -0
  220. package/stencil/player-kyc-verification-2B5tE4Ms.js +885 -0
  221. package/stencil/player-kyc-verification-BV7JAA9D.js +863 -0
  222. package/stencil/player-kyc-verification-Bc4oE7cr.cjs +180 -0
  223. package/stencil/toggle-checkbox-input-CdUMWsZk.js +46 -0
  224. package/stencil/toggle-checkbox-input-CtT_ZCWu.cjs +1 -0
  225. package/stencil/toggle-checkbox-input-DXS0qpdk.js +46 -0
  226. package/stencil/ui-skeleton-82ccc79b-3ievvoeK.js +122 -0
  227. package/stencil/ui-skeleton-82ccc79b-BPwVGHA5.js +122 -0
  228. package/stencil/ui-skeleton-82ccc79b-BrQV4Gq-.cjs +1 -0
  229. package/stencil/ui-skeleton-BIkTgHQw.js +29 -0
  230. package/stencil/ui-skeleton-CYW2WO8b.js +11 -0
  231. package/stencil/ui-skeleton-DFziT7_7.cjs +1 -0
  232. package/stencil/user-deposit-withdrawal-CDH0Oqm0.cjs +59 -0
  233. package/stencil/user-deposit-withdrawal-CieORRUN.js +663 -0
  234. package/stencil/user-deposit-withdrawal-D7WNAnCv.js +685 -0
  235. package/stencil/user-transaction-history-BPKIXepd.cjs +1 -0
  236. package/stencil/user-transaction-history-C4pLTnxb.js +374 -0
  237. package/stencil/user-transaction-history-CegXbhhd.js +350 -0
@@ -0,0 +1,328 @@
1
+ import { a as V, $ as G, S as Z, i as F, f as k, c as J, s as K, b as Q, e as S, d as A, t as x, g as r, h as D, j as M, k as W, l as n, m as E, n as R, o as L, p as U, r as X, q as Y, u as $, v as tt, w as et, x as st, y as O, z as it, A as nt, B as lt } from "./GeneralLogout-CtNZ2rvU.js";
2
+ function z(e, t) {
3
+ V(e, t);
4
+ }
5
+ function ot(e) {
6
+ G.set(e);
7
+ }
8
+ const rt = {
9
+ en: {
10
+ titleBettingHistory: "Betting History",
11
+ settledBets: "Settled Bets",
12
+ openBets: "Open Bets"
13
+ },
14
+ ro: {
15
+ titleBettingHistory: "Istoric Pariuri",
16
+ settledBets: "Pariuri Decise",
17
+ openBets: "Pariuri Deschise"
18
+ },
19
+ es: {
20
+ titleBettingHistory: "Historial de Apuestas",
21
+ settledBets: "Apuestas cerradas",
22
+ openBets: "Apuestas abiertas"
23
+ },
24
+ hr: {
25
+ titleBettingHistory: "Povijest klađenja",
26
+ settledBets: "Obračunate oklade",
27
+ openBets: "Otvorene oklade"
28
+ },
29
+ "pt-br": {
30
+ titleBettingHistory: "Histórico de apostas",
31
+ settledBets: "Apostas liquidadas",
32
+ openBets: "apostas abertas"
33
+ },
34
+ "es-mx": {
35
+ titleBettingHistory: "Historial de apuesta",
36
+ settledBets: "Apuestas liquidadas",
37
+ openBets: "Apuestas abiertas"
38
+ },
39
+ tr: {
40
+ titleBettingHistory: "Bahis Geçmişi",
41
+ settledBets: "Sonuçlandırılmış Bahisler",
42
+ openBets: "Açık Bahisler"
43
+ },
44
+ "en-us": {
45
+ titleBettingHistory: "Betting History",
46
+ settledBets: "Settled Bets",
47
+ openBets: "Open Bets"
48
+ }
49
+ };
50
+ function at(e) {
51
+ Q(e, "svelte-8qett1", `@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`);
52
+ }
53
+ function ct(e) {
54
+ let t, i, y, B, p, b, a, l, f, m, h = (
55
+ /*$_*/
56
+ e[4]("titleBettingHistory") + ""
57
+ ), d, H, c;
58
+ return {
59
+ c() {
60
+ t = S("div"), i = O("svg"), y = O("defs"), B = O("style"), p = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), b = O("g"), a = O("g"), l = O("path"), f = A(), m = S("h2"), d = x(h), r(l, "class", "aaa"), r(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), r(l, "transform", "translate(15 15) rotate(180)"), r(a, "transform", "translate(20 158)"), r(b, "transform", "translate(-20 -158)"), r(i, "xmlns", "http://www.w3.org/2000/svg"), r(i, "width", "15"), r(i, "height", "15"), r(i, "viewBox", "0 0 15 15"), r(m, "class", "BettingHistoryTitleMobile"), r(t, "class", "MenuReturnButton");
61
+ },
62
+ m(w, o) {
63
+ W(w, t, o), n(t, i), n(i, y), n(y, B), n(B, p), n(i, b), n(b, a), n(a, l), n(t, f), n(t, m), n(m, d), H || (c = E(
64
+ t,
65
+ "click",
66
+ /*click_handler*/
67
+ e[14]
68
+ ), H = !0);
69
+ },
70
+ p(w, o) {
71
+ o & /*$_*/
72
+ 16 && h !== (h = /*$_*/
73
+ w[4]("titleBettingHistory") + "") && R(d, h);
74
+ },
75
+ d(w) {
76
+ w && U(t), H = !1, c();
77
+ }
78
+ };
79
+ }
80
+ function N(e) {
81
+ return { c: L, m: L, d: L };
82
+ }
83
+ function ut(e) {
84
+ let t, i, y, B = (
85
+ /*$_*/
86
+ e[4]("bettingHistory.title") + ""
87
+ ), p, b, a, l, f = (
88
+ /*$_*/
89
+ e[4]("bettingHistory.openBets") + ""
90
+ ), m, h, d, H = (
91
+ /*$_*/
92
+ e[4]("bettingHistory.settledBets") + ""
93
+ ), c, w, o, I, C, j, T, P, v = (
94
+ /*isMobile*/
95
+ e[5] && ct(e)
96
+ ), g = (
97
+ /*showModal*/
98
+ e[3] === "true" && /*selectedBetId*/
99
+ e[1] && N()
100
+ );
101
+ return {
102
+ c() {
103
+ t = S("div"), v && v.c(), i = A(), y = S("h2"), p = x(B), b = A(), a = S("div"), l = S("button"), m = x(f), h = A(), d = S("button"), c = x(H), w = A(), o = S("om-betting-history-list"), I = A(), g && g.c(), C = A(), j = S("div"), r(y, "class", "BettingHistoryTitle " + /*isMobile*/
104
+ (e[5] ? "BettingHistoryTitleNone" : "")), r(y, "part", "`BettingHistoryTitleMobile"), r(l, "class", "BettingHistoryButton " + /*isMobile*/
105
+ (e[5] ? "BettingHistoryButtonMobile" : "")), D(
106
+ l,
107
+ "BettingHistoryButtonSelected",
108
+ /*betstatus*/
109
+ e[0] === "openBets"
110
+ ), r(d, "class", "BettingHistoryButton"), D(
111
+ d,
112
+ "BettingHistoryButtonSelected",
113
+ /*betstatus*/
114
+ e[0] === "settledBets"
115
+ ), D(
116
+ d,
117
+ "mobile",
118
+ /*isMobile*/
119
+ e[5]
120
+ ), r(a, "class", "BettingHistoryTabs"), M(
121
+ o,
122
+ "bet-status",
123
+ /*betstatus*/
124
+ e[0]
125
+ ), M(o, "item-layout", "V2"), M(o, "match-score-layout", "v2"), M(o, "match-score-scope", "BHDetailed"), M(o, "date-format", "dd.mm.yyyy"), M(o, "time-format", "HH:MM"), M(o, "tournament-route", ":sportId/:tournamentId"), M(o, "match-route", ":betId"), r(j, "class", "OM-MatchScore OM-MatchScore__List"), r(t, "class", "BettingHistoryWrapper"), D(
126
+ t,
127
+ "BettingHistoryWrapperMobile",
128
+ /*isMobile*/
129
+ e[5]
130
+ );
131
+ },
132
+ m(u, s) {
133
+ W(u, t, s), v && v.m(t, null), n(t, i), n(t, y), n(y, p), n(t, b), n(t, a), n(a, l), n(l, m), n(a, h), n(a, d), n(d, c), n(t, w), n(t, o), n(t, I), g && g.m(t, null), n(t, C), n(t, j), e[17](t), T || (P = [
134
+ E(
135
+ l,
136
+ "click",
137
+ /*click_handler_1*/
138
+ e[15]
139
+ ),
140
+ E(
141
+ d,
142
+ "click",
143
+ /*click_handler_2*/
144
+ e[16]
145
+ ),
146
+ E(
147
+ o,
148
+ "routeChange",
149
+ /*handleMoreDetails*/
150
+ e[8]
151
+ )
152
+ ], T = !0);
153
+ },
154
+ p(u, [s]) {
155
+ /*isMobile*/
156
+ u[5] && v.p(u, s), s & /*$_*/
157
+ 16 && B !== (B = /*$_*/
158
+ u[4]("bettingHistory.title") + "") && R(p, B), s & /*$_*/
159
+ 16 && f !== (f = /*$_*/
160
+ u[4]("bettingHistory.openBets") + "") && R(m, f), s & /*betstatus*/
161
+ 1 && D(
162
+ l,
163
+ "BettingHistoryButtonSelected",
164
+ /*betstatus*/
165
+ u[0] === "openBets"
166
+ ), s & /*$_*/
167
+ 16 && H !== (H = /*$_*/
168
+ u[4]("bettingHistory.settledBets") + "") && R(c, H), s & /*betstatus*/
169
+ 1 && D(
170
+ d,
171
+ "BettingHistoryButtonSelected",
172
+ /*betstatus*/
173
+ u[0] === "settledBets"
174
+ ), s & /*betstatus*/
175
+ 1 && M(
176
+ o,
177
+ "bet-status",
178
+ /*betstatus*/
179
+ u[0]
180
+ ), /*showModal*/
181
+ u[3] === "true" && /*selectedBetId*/
182
+ u[1] ? g || (g = N(), g.c(), g.m(t, C)) : g && (g.d(1), g = null);
183
+ },
184
+ i: L,
185
+ o: L,
186
+ d(u) {
187
+ u && U(t), v && v.d(), g && g.d(), e[17](null), T = !1, X(P);
188
+ }
189
+ };
190
+ }
191
+ function gt(e, t, i) {
192
+ let y;
193
+ Y(e, lt, (s) => i(4, y = s));
194
+ let { betstatus: B = "openBets" } = t, { lang: p = "en" } = t, { selectedBetId: b = null } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: f } = t, { translationurl: m = "" } = t, h = "false", d = window.navigator.userAgent, H = $(d) !== "PC", c, w;
195
+ const o = () => {
196
+ fetch(m).then((_) => _.json()).then((_) => {
197
+ Object.keys(_).forEach((q) => {
198
+ z(q, _[q]);
199
+ });
200
+ }).catch((_) => {
201
+ console.log(_);
202
+ });
203
+ };
204
+ Object.entries(rt).forEach(([s, _]) => {
205
+ z(s, _);
206
+ });
207
+ const I = (s) => {
208
+ i(0, B = s);
209
+ }, C = () => {
210
+ window.postMessage(
211
+ {
212
+ type: "PlayerAccountMenuActive",
213
+ isMobile: H
214
+ },
215
+ window.location.href
216
+ );
217
+ }, j = (s) => {
218
+ const { betId: _ } = s.detail.params;
219
+ i(1, b = _), i(3, h = "true");
220
+ }, T = (s) => {
221
+ s.data?.type === "ModalClosed" && i(3, h = "false");
222
+ };
223
+ tt(() => (window.addEventListener("message", T, !1), () => {
224
+ window.emMessageBus && w && w.unsubscribe(), window.removeEventListener("message", T);
225
+ }));
226
+ const P = () => C(), v = () => I("openBets"), g = () => I("settledBets");
227
+ function u(s) {
228
+ it[s ? "unshift" : "push"](() => {
229
+ c = s, i(2, c);
230
+ });
231
+ }
232
+ return e.$$set = (s) => {
233
+ "betstatus" in s && i(0, B = s.betstatus), "lang" in s && i(9, p = s.lang), "selectedBetId" in s && i(1, b = s.selectedBetId), "clientstyling" in s && i(10, a = s.clientstyling), "clientstylingurl" in s && i(11, l = s.clientstylingurl), "mbsource" in s && i(12, f = s.mbsource), "translationurl" in s && i(13, m = s.translationurl);
234
+ }, e.$$.update = () => {
235
+ e.$$.dirty & /*lang*/
236
+ 512 && p && ot(p), e.$$.dirty & /*clientstyling, customStylingContainer*/
237
+ 1028 && a && c && nt(c, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
238
+ 2052 && l && c && et(c, l), e.$$.dirty & /*mbsource, customStylingContainer*/
239
+ 4100 && f && c && st(c, `${f}.Style`), e.$$.dirty & /*translationurl*/
240
+ 8192 && m && o();
241
+ }, [
242
+ B,
243
+ b,
244
+ c,
245
+ h,
246
+ y,
247
+ H,
248
+ I,
249
+ C,
250
+ j,
251
+ p,
252
+ a,
253
+ l,
254
+ f,
255
+ m,
256
+ P,
257
+ v,
258
+ g,
259
+ u
260
+ ];
261
+ }
262
+ class dt extends Z {
263
+ constructor(t) {
264
+ super(), F(
265
+ this,
266
+ t,
267
+ gt,
268
+ ut,
269
+ K,
270
+ {
271
+ betstatus: 0,
272
+ lang: 9,
273
+ selectedBetId: 1,
274
+ clientstyling: 10,
275
+ clientstylingurl: 11,
276
+ mbsource: 12,
277
+ translationurl: 13
278
+ },
279
+ at
280
+ );
281
+ }
282
+ get betstatus() {
283
+ return this.$$.ctx[0];
284
+ }
285
+ set betstatus(t) {
286
+ this.$$set({ betstatus: t }), k();
287
+ }
288
+ get lang() {
289
+ return this.$$.ctx[9];
290
+ }
291
+ set lang(t) {
292
+ this.$$set({ lang: t }), k();
293
+ }
294
+ get selectedBetId() {
295
+ return this.$$.ctx[1];
296
+ }
297
+ set selectedBetId(t) {
298
+ this.$$set({ selectedBetId: t }), k();
299
+ }
300
+ get clientstyling() {
301
+ return this.$$.ctx[10];
302
+ }
303
+ set clientstyling(t) {
304
+ this.$$set({ clientstyling: t }), k();
305
+ }
306
+ get clientstylingurl() {
307
+ return this.$$.ctx[11];
308
+ }
309
+ set clientstylingurl(t) {
310
+ this.$$set({ clientstylingurl: t }), k();
311
+ }
312
+ get mbsource() {
313
+ return this.$$.ctx[12];
314
+ }
315
+ set mbsource(t) {
316
+ this.$$set({ mbsource: t }), k();
317
+ }
318
+ get translationurl() {
319
+ return this.$$.ctx[13];
320
+ }
321
+ set translationurl(t) {
322
+ this.$$set({ translationurl: t }), k();
323
+ }
324
+ }
325
+ J(dt, { betstatus: {}, lang: {}, selectedBetId: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
326
+ export {
327
+ dt as default
328
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-DMKG3DPv.cjs");function T(s,e){t.addMessages(s,e)}function D(s){t.$locale.set(s)}const j={en:{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"},ro:{titleBettingHistory:"Istoric Pariuri",settledBets:"Pariuri Decise",openBets:"Pariuri Deschise"},es:{titleBettingHistory:"Historial de Apuestas",settledBets:"Apuestas cerradas",openBets:"Apuestas abiertas"},hr:{titleBettingHistory:"Povijest klađenja",settledBets:"Obračunate oklade",openBets:"Otvorene oklade"},"pt-br":{titleBettingHistory:"Histórico de apostas",settledBets:"Apostas liquidadas",openBets:"apostas abertas"},"es-mx":{titleBettingHistory:"Historial de apuesta",settledBets:"Apuestas liquidadas",openBets:"Apuestas abiertas"},tr:{titleBettingHistory:"Bahis Geçmişi",settledBets:"Sonuçlandırılmış Bahisler",openBets:"Açık Bahisler"},"en-us":{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"}};function x(s){t.append_styles(s,"svelte-8qett1",`@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`)}function L(s){let e,n,p,y,f,_,o,l,B,g,h=s[4]("titleBettingHistory")+"",d,b,r;return{c(){e=t.element("div"),n=t.svg_element("svg"),p=t.svg_element("defs"),y=t.svg_element("style"),f=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),_=t.svg_element("g"),o=t.svg_element("g"),l=t.svg_element("path"),B=t.space(),g=t.element("h2"),d=t.text(h),t.attr(l,"class","aaa"),t.attr(l,"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(l,"transform","translate(15 15) rotate(180)"),t.attr(o,"transform","translate(20 158)"),t.attr(_,"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","BettingHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(H,a){t.insert(H,e,a),t.append(e,n),t.append(n,p),t.append(p,y),t.append(y,f),t.append(n,_),t.append(_,o),t.append(o,l),t.append(e,B),t.append(e,g),t.append(g,d),b||(r=t.listen(e,"click",s[14]),b=!0)},p(H,a){a&16&&h!==(h=H[4]("titleBettingHistory")+"")&&t.set_data(d,h)},d(H){H&&t.detach(e),b=!1,r()}}}function C(s){return{c:t.noop,m:t.noop,d:t.noop}}function P(s){let e,n,p,y=s[4]("bettingHistory.title")+"",f,_,o,l,B=s[4]("bettingHistory.openBets")+"",g,h,d,b=s[4]("bettingHistory.settledBets")+"",r,H,a,v,M,k,S,A,w=s[5]&&L(s),u=s[3]==="true"&&s[1]&&C();return{c(){e=t.element("div"),w&&w.c(),n=t.space(),p=t.element("h2"),f=t.text(y),_=t.space(),o=t.element("div"),l=t.element("button"),g=t.text(B),h=t.space(),d=t.element("button"),r=t.text(b),H=t.space(),a=t.element("om-betting-history-list"),v=t.space(),u&&u.c(),M=t.space(),k=t.element("div"),t.attr(p,"class","BettingHistoryTitle "+(s[5]?"BettingHistoryTitleNone":"")),t.attr(p,"part","`BettingHistoryTitleMobile"),t.attr(l,"class","BettingHistoryButton "+(s[5]?"BettingHistoryButtonMobile":"")),t.toggle_class(l,"BettingHistoryButtonSelected",s[0]==="openBets"),t.attr(d,"class","BettingHistoryButton"),t.toggle_class(d,"BettingHistoryButtonSelected",s[0]==="settledBets"),t.toggle_class(d,"mobile",s[5]),t.attr(o,"class","BettingHistoryTabs"),t.set_custom_element_data(a,"bet-status",s[0]),t.set_custom_element_data(a,"item-layout","V2"),t.set_custom_element_data(a,"match-score-layout","v2"),t.set_custom_element_data(a,"match-score-scope","BHDetailed"),t.set_custom_element_data(a,"date-format","dd.mm.yyyy"),t.set_custom_element_data(a,"time-format","HH:MM"),t.set_custom_element_data(a,"tournament-route",":sportId/:tournamentId"),t.set_custom_element_data(a,"match-route",":betId"),t.attr(k,"class","OM-MatchScore OM-MatchScore__List"),t.attr(e,"class","BettingHistoryWrapper"),t.toggle_class(e,"BettingHistoryWrapperMobile",s[5])},m(c,i){t.insert(c,e,i),w&&w.m(e,null),t.append(e,n),t.append(e,p),t.append(p,f),t.append(e,_),t.append(e,o),t.append(o,l),t.append(l,g),t.append(o,h),t.append(o,d),t.append(d,r),t.append(e,H),t.append(e,a),t.append(e,v),u&&u.m(e,null),t.append(e,M),t.append(e,k),s[17](e),S||(A=[t.listen(l,"click",s[15]),t.listen(d,"click",s[16]),t.listen(a,"routeChange",s[8])],S=!0)},p(c,[i]){c[5]&&w.p(c,i),i&16&&y!==(y=c[4]("bettingHistory.title")+"")&&t.set_data(f,y),i&16&&B!==(B=c[4]("bettingHistory.openBets")+"")&&t.set_data(g,B),i&1&&t.toggle_class(l,"BettingHistoryButtonSelected",c[0]==="openBets"),i&16&&b!==(b=c[4]("bettingHistory.settledBets")+"")&&t.set_data(r,b),i&1&&t.toggle_class(d,"BettingHistoryButtonSelected",c[0]==="settledBets"),i&1&&t.set_custom_element_data(a,"bet-status",c[0]),c[3]==="true"&&c[1]?u||(u=C(),u.c(),u.m(e,M)):u&&(u.d(1),u=null)},i:t.noop,o:t.noop,d(c){c&&t.detach(e),w&&w.d(),u&&u.d(),s[17](null),S=!1,t.run_all(A)}}}function E(s,e,n){let p;t.component_subscribe(s,t.$format,i=>n(4,p=i));let{betstatus:y="openBets"}=e,{lang:f="en"}=e,{selectedBetId:_=null}=e,{clientstyling:o=""}=e,{clientstylingurl:l=""}=e,{mbsource:B}=e,{translationurl:g=""}=e,h="false",d=window.navigator.userAgent,b=t.getDevice(d)!=="PC",r,H;const a=()=>{fetch(g).then(m=>m.json()).then(m=>{Object.keys(m).forEach(I=>{T(I,m[I])})}).catch(m=>{console.log(m)})};Object.entries(j).forEach(([i,m])=>{T(i,m)});const v=i=>{n(0,y=i)},M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:b},window.location.href)},k=i=>{const{betId:m}=i.detail.params;n(1,_=m),n(3,h="true")},S=i=>{var m;((m=i.data)==null?void 0:m.type)==="ModalClosed"&&n(3,h="false")};t.onMount(()=>(window.addEventListener("message",S,!1),()=>{window.emMessageBus&&H&&H.unsubscribe(),window.removeEventListener("message",S)}));const A=()=>M(),w=()=>v("openBets"),u=()=>v("settledBets");function c(i){t.binding_callbacks[i?"unshift":"push"](()=>{r=i,n(2,r)})}return s.$$set=i=>{"betstatus"in i&&n(0,y=i.betstatus),"lang"in i&&n(9,f=i.lang),"selectedBetId"in i&&n(1,_=i.selectedBetId),"clientstyling"in i&&n(10,o=i.clientstyling),"clientstylingurl"in i&&n(11,l=i.clientstylingurl),"mbsource"in i&&n(12,B=i.mbsource),"translationurl"in i&&n(13,g=i.translationurl)},s.$$.update=()=>{s.$$.dirty&512&&f&&D(f),s.$$.dirty&1028&&o&&r&&t.setClientStyling(r,o),s.$$.dirty&2052&&l&&r&&t.setClientStylingURL(r,l),s.$$.dirty&4100&&B&&r&&t.setStreamStyling(r,`${B}.Style`),s.$$.dirty&8192&&g&&a()},[y,_,r,h,p,b,v,M,k,f,o,l,B,g,A,w,u,c]}class O extends t.SvelteComponent{constructor(e){super(),t.init(this,e,E,P,t.safe_not_equal,{betstatus:0,lang:9,selectedBetId:1,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},x)}get betstatus(){return this.$$.ctx[0]}set betstatus(e){this.$$set({betstatus:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get selectedBetId(){return this.$$.ctx[1]}set selectedBetId(e){this.$$set({selectedBetId:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(O,{betstatus:{},lang:{},selectedBetId:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=O;
@@ -0,0 +1,306 @@
1
+ import { a as L, $ as N, S as W, i as q, f as k, c as H, s as I, b as K, e as h, d as U, t as j, g as n, k as F, l as o, m as O, n as C, o as S, p as R, q as V, u as Z, v as G, w as J, x as Q, y as x, z as X, A as $, B as tt } from "./GeneralLogout-BVJrgB3o.js";
2
+ function z(i, t) {
3
+ L(i, t);
4
+ }
5
+ function it(i) {
6
+ N.set(i);
7
+ }
8
+ const Y = {
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
+ K(i, "svelte-1cpvxby", ".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, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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, g, a, f = (
92
+ /*$_*/
93
+ i[2]("titleBiometrics") + ""
94
+ ), y, w, v;
95
+ return {
96
+ c() {
97
+ t = h("div"), e = x("svg"), B = x("defs"), c = x("style"), m = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), l = x("g"), u = x("g"), s = x("path"), g = U(), a = h("h2"), y = j(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, D) {
100
+ F(b, t, D), o(t, e), o(e, B), o(B, c), o(c, m), o(e, l), o(l, u), o(u, s), o(t, g), o(t, a), o(a, y), w || (v = O(
101
+ t,
102
+ "click",
103
+ /*click_handler*/
104
+ i[11]
105
+ ), w = !0);
106
+ },
107
+ p(b, D) {
108
+ D & /*$_*/
109
+ 4 && f !== (f = /*$_*/
110
+ b[2]("titleBiometrics") + "") && C(y, f);
111
+ },
112
+ d(b) {
113
+ b && R(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, g, a = (
122
+ /*$_*/
123
+ i[2]("descriptionParagraph1") + ""
124
+ ), f, y, w, v = (
125
+ /*$_*/
126
+ i[2]("descriptionParagraph2") + ""
127
+ ), b, D, _, P, M = (
128
+ /*biometricsenabled*/
129
+ (i[0] === "true" ? (
130
+ /*$_*/
131
+ i[2]("btnDisableBiometrics")
132
+ ) : (
133
+ /*$_*/
134
+ i[2]("btnEnableBiometrics")
135
+ )) + ""
136
+ ), r, d, T, A = (
137
+ /*isMobile*/
138
+ i[3] && rt(i)
139
+ );
140
+ return {
141
+ c() {
142
+ t = h("div"), e = h("div"), A && A.c(), B = U(), c = h("h2"), l = j(m), u = U(), s = h("div"), g = h("p"), f = j(a), y = U(), w = h("p"), b = j(v), D = U(), _ = h("div"), P = h("button"), r = j(M), n(c, "class", "BiometricsTitle " + /*isMobile*/
143
+ (i[3] ? "BiometricsTitleNone" : "")), n(s, "class", "BiometricsDescription " + /*isMobile*/
144
+ (i[3] ? "BiometricsDescriptionMobile" : "")), n(P, "class", "BiometricsToggle"), n(_, "class", "BiometricsActionButtons " + /*isMobile*/
145
+ (i[3] ? "BiometricsActionButtonsMobile" : "")), n(e, "class", "BiometricsWrapper " + /*isMobile*/
146
+ (i[3] ? "BiometricsWrapperMobile" : ""));
147
+ },
148
+ m(p, E) {
149
+ F(p, t, E), o(t, e), A && A.m(e, null), o(e, B), o(e, c), o(c, l), o(e, u), o(e, s), o(s, g), o(g, f), o(s, y), o(s, w), o(w, b), o(e, D), o(e, _), o(_, P), o(P, r), i[13](t), d || (T = O(
150
+ P,
151
+ "click",
152
+ /*click_handler_1*/
153
+ i[12]
154
+ ), d = !0);
155
+ },
156
+ p(p, [E]) {
157
+ /*isMobile*/
158
+ p[3] && A.p(p, E), E & /*$_*/
159
+ 4 && m !== (m = /*$_*/
160
+ p[2]("titleBiometrics") + "") && C(l, m), E & /*$_*/
161
+ 4 && a !== (a = /*$_*/
162
+ p[2]("descriptionParagraph1") + "") && C(f, a), E & /*$_*/
163
+ 4 && v !== (v = /*$_*/
164
+ p[2]("descriptionParagraph2") + "") && C(b, v), E & /*biometricsenabled, $_*/
165
+ 5 && M !== (M = /*biometricsenabled*/
166
+ (p[0] === "true" ? (
167
+ /*$_*/
168
+ p[2]("btnDisableBiometrics")
169
+ ) : (
170
+ /*$_*/
171
+ p[2]("btnEnableBiometrics")
172
+ )) + "") && C(r, M);
173
+ },
174
+ i: S,
175
+ o: S,
176
+ d(p) {
177
+ p && R(t), A && A.d(), i[13](null), d = !1, T();
178
+ }
179
+ };
180
+ }
181
+ function at(i, t, e) {
182
+ let B;
183
+ V(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: g = "" } = t, a, f = window.navigator.userAgent, y = Z(f) !== "PC";
185
+ const w = () => {
186
+ fetch(g).then((d) => d.json()).then((d) => {
187
+ Object.keys(d).forEach((T) => {
188
+ z(T, d[T]);
189
+ });
190
+ }).catch((d) => {
191
+ console.log(d);
192
+ });
193
+ };
194
+ Object.keys(Y).forEach((r) => {
195
+ z(r, Y[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
+ }, D = () => {
208
+ c === "true" ? e(0, c = "false") : c === "false" && e(0, c = "true"), window.postMessage({
209
+ type: "ToggleBiometrics",
210
+ data: c
211
+ });
212
+ };
213
+ G(() => () => {
214
+ });
215
+ const _ = () => b(), P = () => D();
216
+ function M(r) {
217
+ X[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, g = r.translationurl);
223
+ }, i.$$.update = () => {
224
+ i.$$.dirty & /*lang*/
225
+ 64 && m && v(), i.$$.dirty & /*clientstyling, customStylingContainer*/
226
+ 130 && l && a && $(a, l), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
227
+ 258 && u && a && J(a, u), i.$$.dirty & /*mbsource, customStylingContainer*/
228
+ 514 && s && a && Q(a, `${s}.Style`), i.$$.dirty & /*translationurl*/
229
+ 1024 && g && w();
230
+ }, [
231
+ c,
232
+ a,
233
+ B,
234
+ y,
235
+ b,
236
+ D,
237
+ m,
238
+ l,
239
+ u,
240
+ s,
241
+ g,
242
+ _,
243
+ P,
244
+ M
245
+ ];
246
+ }
247
+ class nt extends W {
248
+ constructor(t) {
249
+ super(), q(
250
+ this,
251
+ t,
252
+ at,
253
+ ot,
254
+ I,
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
+ H(nt, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
304
+ export {
305
+ nt as default
306
+ };