@everymatrix/player-account-controller 1.66.2 → 1.67.3

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 (173) hide show
  1. package/components/{GeneralLogout-CgxHUYZx.js → GeneralLogout-BvHI6IRl.js} +1439 -1474
  2. package/components/{GeneralLogout-CYE3twI-.js → GeneralLogout-DC1eQria.js} +1458 -1493
  3. package/components/GeneralLogout-DweBl3EQ.cjs +21 -0
  4. package/components/{PlayerAccountBettingHistory-BXBMy618.js → PlayerAccountBettingHistory-BTEzWQvN.js} +27 -27
  5. package/components/{PlayerAccountBettingHistory-B0IsJ01N.js → PlayerAccountBettingHistory-Bo3-gODs.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-BtDZukYI.cjs → PlayerAccountBettingHistory-DgHU9Jz9.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-DrmVF6dX.js → PlayerAccountBiometrics-DRMe1Ngk.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-DXk7ouzk.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-CCk_4MyI.js → PlayerAccountBiometrics-eJ0NsGhR.js} +22 -22
  10. package/components/{PlayerAccountClosure-B_xwOPds.js → PlayerAccountClosure-CenyN-4X.js} +17 -17
  11. package/components/{PlayerAccountClosure-UwL_V2IO.js → PlayerAccountClosure-D4FSDBR-.js} +17 -17
  12. package/components/{PlayerAccountClosure-DoZ91aH2.cjs → PlayerAccountClosure-DMF66IyF.cjs} +1 -1
  13. package/components/PlayerAccountController-BrHDusjh.cjs +1 -0
  14. package/components/{PlayerAccountController-C33yFWno.js → PlayerAccountController-C88OV9t0.js} +832 -519
  15. package/components/{PlayerAccountController-KYfwQerX.js → PlayerAccountController-D3jDQKMc.js} +826 -513
  16. package/components/{PlayerAccountGamingLimits-DZBzKFyv.cjs → PlayerAccountGamingLimits-C5-wP3x8.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-BF1Dd_Yw.js → PlayerAccountGamingLimits-bgH5yldD.js} +19 -19
  18. package/components/{PlayerAccountGamingLimits-BKHRQo_P.js → PlayerAccountGamingLimits-qvefhQXf.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js → PlayerAccountGamingLimitsConfirmationModal-B-Zcfwzu.js} +53 -53
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js → PlayerAccountGamingLimitsConfirmationModal-BSuURD9X.js} +53 -53
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-DzBevsyQ.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-B7O4IGQB.js → PlayerAccountGamingLimitsGroupEdit-CgtvM5l0.js} +415 -413
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DlaRG8Hg.js → PlayerAccountGamingLimitsGroupEdit-DflmfEfo.js} +415 -413
  24. package/components/PlayerAccountGamingLimitsGroupEdit-JOrwbKuQ.cjs +1 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js → PlayerAccountGamingLimitsHistory2-B0Hm0NN-.js} +48 -48
  26. package/components/{PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs → PlayerAccountGamingLimitsHistory2-C0g0UlRl.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-Br4h7_eS.js → PlayerAccountGamingLimitsHistory2-CkXX1K7L.js} +46 -46
  28. package/components/{PlayerAccountGamingLimitsInfoCard-BlMfsPqJ.js → PlayerAccountGamingLimitsInfoCard-ByqimrlU.js} +80 -80
  29. package/components/{PlayerAccountGamingLimitsInfoCard-BqsEfU1b.js → PlayerAccountGamingLimitsInfoCard-D2xDA5AE.js} +80 -80
  30. package/components/{PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs → PlayerAccountGamingLimitsInfoCard-DxIPZWF4.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-C4Cf53bH.js → PlayerAccountGamingLimitsPage2Gm16-AMitiwvP.js} +1016 -942
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-D0UaSH_1.js → PlayerAccountGamingLimitsPage2Gm16-Bjtas4Og.js} +1016 -942
  33. package/components/PlayerAccountGamingLimitsPage2Gm16-DfhEHyrV.cjs +26 -0
  34. package/components/{PlayerAccountGamingLimitsPopup-DTb6cpuT.js → PlayerAccountGamingLimitsPopup-Bhe4pnzt.js} +28 -28
  35. package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DkQcpWO7.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-Dz9ROowj.js → PlayerAccountGamingLimitsPopup-LjmHojBJ.js} +28 -28
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BNIPTcA9.cjs → PlayerAccountGamingLimitsWrapper2-DUm34VGO.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsWrapper2-B1gV6va3.js → PlayerAccountGamingLimitsWrapper2-Db4M3i4n.js} +36 -36
  39. package/components/{PlayerAccountGamingLimitsWrapper2-BxbHvpZn.js → PlayerAccountGamingLimitsWrapper2-bXqMOFZu.js} +36 -36
  40. package/components/{PlayerAccountGeneralConfirmationModal-DQ7Oklqf.js → PlayerAccountGeneralConfirmationModal-BXvbser8.js} +95 -95
  41. package/components/{PlayerAccountGeneralConfirmationModal-lHX_vmhB.js → PlayerAccountGeneralConfirmationModal-Ct4ffM2k.js} +95 -95
  42. package/components/PlayerAccountGeneralConfirmationModal-dy9TCHFm.cjs +1 -0
  43. package/components/{PlayerAccountMenu-BZnkRiU-.cjs → PlayerAccountMenu-BZSV920e.cjs} +1 -1
  44. package/components/{PlayerAccountMenu-D4d9TQsD.js → PlayerAccountMenu-COhw6RUO.js} +29 -29
  45. package/components/{PlayerAccountMenu-j3TA2Osb.js → PlayerAccountMenu-CXkbGum8.js} +29 -29
  46. package/components/{PlayerAccountModal-Cbpkb5P6.js → PlayerAccountModal-BlJKMVDD.js} +44 -44
  47. package/components/{PlayerAccountModal-Co5a_OZZ.js → PlayerAccountModal-C2BAyjz8.js} +44 -44
  48. package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal-lwDOdDa4.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-CkbUxjuk.js → PlayerAccountNotifications-Br27rQuw.js} +35 -35
  50. package/components/{PlayerAccountNotifications-ejASOsrU.cjs → PlayerAccountNotifications-CzMMRPni.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-f0A-2obd.js → PlayerAccountNotifications-YIzJUJtW.js} +120 -120
  52. package/components/{PlayerAccountTransactionsHistory-CRucfQT9.js → PlayerAccountProductRestriction-B77qHgnG.js} +3353 -3490
  53. package/components/{PlayerAccountTransactionsHistory-BzB7rnla.cjs → PlayerAccountProductRestriction-DWcq863g.cjs} +272 -269
  54. package/components/{PlayerAccountTransactionsHistory-D5xVdr5D.js → PlayerAccountProductRestriction-JWXFId11.js} +3329 -3465
  55. package/components/{PlayerAccountSelfExclusion-Bme3jA4c.js → PlayerAccountSelfExclusion-B-7yOGf0.js} +2482 -2793
  56. package/components/{PlayerAccountSelfExclusion-CDEu24ob.cjs → PlayerAccountSelfExclusion-DgB8NI71.cjs} +161 -161
  57. package/components/{PlayerAccountSelfExclusion-CcQBa7WB.js → PlayerAccountSelfExclusion-hvxg512S.js} +2324 -2635
  58. package/components/{PlayerAccountTimeout-9R54hZUl.js → PlayerAccountTimeout-BZa0DlXA.js} +103 -102
  59. package/components/{PlayerAccountTimeout-CpDdajvl.js → PlayerAccountTimeout-DiPXXjP_.js} +103 -102
  60. package/components/{PlayerAccountTimeout-BG_yWya9.cjs → PlayerAccountTimeout-ouzdA1ph.cjs} +1 -1
  61. package/components/PlayerAccountTransactionsHistory-DApJMGFo.js +1809 -0
  62. package/components/PlayerAccountTransactionsHistory-DrGUOnga.cjs +1 -0
  63. package/components/PlayerAccountTransactionsHistory-tOK25Lc2.js +1779 -0
  64. package/components/{PlayerActiveBonuses-uCEkihFw.js → PlayerActiveBonuses-5Q7f3yAG.js} +315 -315
  65. package/components/PlayerActiveBonuses-C7-7ACSS.cjs +1 -0
  66. package/components/{PlayerActiveBonuses-Cakyx19i.js → PlayerActiveBonuses-dQ_zgejC.js} +318 -318
  67. package/components/{PlayerBonusCard-6xOKi384.js → PlayerBonusCard-CBO8neP8.js} +54 -54
  68. package/components/{PlayerBonusCard-BNNcjGWn.cjs → PlayerBonusCard-nwlvuWsq.cjs} +1 -1
  69. package/components/{PlayerBonusCard-CXbETnCF.js → PlayerBonusCard-uudC6LGS.js} +54 -54
  70. package/components/{PlayerBonusHistory-wRNMiwgX.js → PlayerBonusHistory-CG01zuOG.js} +30 -30
  71. package/components/{PlayerBonusHistory-BQAF4bSM.js → PlayerBonusHistory-D1AxPL0k.js} +30 -30
  72. package/components/{PlayerBonusHistory-BfctVq0u.cjs → PlayerBonusHistory-DI5gRSGg.cjs} +1 -1
  73. package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-BUbXMFnB.js} +66 -66
  74. package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-D0aYOkoZ.cjs} +1 -1
  75. package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-D4DzBZed.js} +66 -66
  76. package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-BB64hmyO.js} +29 -29
  77. package/components/{PlayerDeposit-Dzg8Ltb1.cjs → PlayerDeposit-DAFmH9HW.cjs} +1 -1
  78. package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-lfkc7jOj.js} +29 -29
  79. package/components/{PlayerGamingHistory-Du5updfI.cjs → PlayerGamingHistory-C7HQc8KL.cjs} +1 -1
  80. package/components/{PlayerGamingHistory-lkyuXLIU.js → PlayerGamingHistory-DxA-MkBo.js} +63 -63
  81. package/components/{PlayerGamingHistory-BhmBAAFp.js → PlayerGamingHistory-NKBfYTcF.js} +63 -63
  82. package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-B6qiUkpB.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-DbuXpIXl.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-QAaJbf_-.js} +26 -26
  85. package/components/{PlayerProfileInfo-L9Iditu5.js → PlayerProfileInfo-Bpxnw7hG.js} +1035 -949
  86. package/components/{PlayerProfileInfo-Bs0bYgez.js → PlayerProfileInfo-C-yTxZtj.js} +993 -905
  87. package/components/PlayerProfileInfo-CQWJWCmN.cjs +4 -0
  88. package/components/{PlayerRealityCheck-BrVF76qp.cjs → PlayerRealityCheck-CFJVJn17.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-DMNAglZN.js → PlayerRealityCheck-CyxiiYoi.js} +44 -44
  90. package/components/{PlayerRealityCheck-C2TUMl9-.js → PlayerRealityCheck-DQ-_y3IT.js} +45 -45
  91. package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-6G6ws2ky.js} +19 -19
  92. package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-BOtRm_b6.cjs} +1 -1
  93. package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-BjRhtwD4.js} +19 -19
  94. package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-BIBZrL0i.js} +19 -19
  95. package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-CuR6Pb4o.js} +19 -19
  96. package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-OBRjEIH9.cjs} +1 -1
  97. package/es2015/player-account-controller.cjs +1 -1
  98. package/es2015/player-account-controller.js +1 -1
  99. package/esnext/player-account-controller.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/checkbox-group-input_14-BQWBhbsW.cjs +5901 -0
  102. package/stencil/{general-input-DGu8X142.js → checkbox-group-input_14-Rk4kY_Jo.js} +7680 -3123
  103. package/stencil/{general-input-6HMiojaV.js → checkbox-group-input_14-yDxYy7hE.js} +7670 -3113
  104. package/stencil/index-13661b98-Pl0EtfMi.cjs +1 -0
  105. package/stencil/{index-9cd44522--OAp7ePk.js → index-13661b98-l0CINbAR.js} +204 -219
  106. package/stencil/{index-9cd44522-C0ycW8_E.js → index-13661b98-mRWmP463.js} +215 -230
  107. package/stencil/{index-1ef3a64c-DsTe-fF4.js → index-1ef3a64c-B1Hda3TY.js} +185 -185
  108. package/stencil/index-1ef3a64c-CCWt3IAA.cjs +1 -0
  109. package/stencil/{index-1ef3a64c-BNosNJnU.js → index-1ef3a64c-Dd-0nq4l.js} +192 -192
  110. package/stencil/index-7c5e707a-8-4_dLFT.js +643 -0
  111. package/stencil/{index-7c5e707a-C9R6jYpt.js → index-7c5e707a-CuTkyLaW.js} +209 -209
  112. package/stencil/index-7c5e707a-nBsW029h.cjs +1 -0
  113. package/stencil/index-9c0f6c58-DbSOntvG.cjs +1 -0
  114. package/stencil/{index-9c0f6c58-bxjYqwOi.js → index-9c0f6c58-NlVKpLut.js} +180 -180
  115. package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-RPoO1End.js} +176 -176
  116. package/stencil/index-b2193545-BXNomIzV.js +519 -0
  117. package/stencil/index-b2193545-CYe2oVMy.js +503 -0
  118. package/stencil/index-b2193545-DxRobzZI.cjs +1 -0
  119. package/stencil/pam-change-password-CCgx2ZAF.cjs +1 -0
  120. package/stencil/pam-change-password-CDNRmQRk.js +7 -0
  121. package/stencil/pam-change-password-CThYR6vj.js +25 -0
  122. package/stencil/{player-change-password-gm2-5cb5c6c1-Bi9IbxQV.js → pam-change-password-f4a1e7e7-B0x-tDUM.js} +223 -74
  123. package/stencil/pam-change-password-f4a1e7e7-B3Gc4JmD.cjs +125 -0
  124. package/stencil/{player-change-password-gm2-5cb5c6c1-Bu5Dac83.js → pam-change-password-f4a1e7e7-DegbNPpZ.js} +223 -74
  125. package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-Cxnz1raa.js} +9 -9
  126. package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-DA_O1Dqu.js} +12 -12
  127. package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-qKWuqiUm.cjs} +2 -2
  128. package/stencil/{ui-skeleton-1cb75d00-CwDKR1VD.js → ui-skeleton-1cb75d00-CZJ4UoDJ.js} +1 -1
  129. package/stencil/{ui-skeleton-1cb75d00-BI5A-j0y.js → ui-skeleton-1cb75d00-D5Bub0nv.js} +1 -1
  130. package/stencil/{ui-skeleton-1cb75d00-Batko5iK.cjs → ui-skeleton-1cb75d00-dFWe5qbW.cjs} +1 -1
  131. package/stencil/{ui-skeleton-t0bb1jH7.cjs → ui-skeleton-BH5oLkn9.cjs} +1 -1
  132. package/stencil/{ui-skeleton-C974aG7g.js → ui-skeleton-CZ5yC1WO.js} +2 -2
  133. package/stencil/{ui-skeleton-DoX-UmRU.js → ui-skeleton-vLKdvRqw.js} +2 -2
  134. package/stencil/{user-deposit-withdrawal-Dzz_fEvK.js → user-deposit-withdrawal-BMWb-WJE.js} +45 -45
  135. package/stencil/{user-deposit-withdrawal-C7W58646.js → user-deposit-withdrawal-ByE9O4TW.js} +45 -45
  136. package/stencil/{user-deposit-withdrawal-Dfu_1g2v.cjs → user-deposit-withdrawal-DGTrOlxS.cjs} +2 -2
  137. package/stencil/{user-transaction-history-DhQ6RqNc.js → user-transaction-history-BU4-cXt6.js} +11 -11
  138. package/stencil/{user-transaction-history-BAK7MHHa.js → user-transaction-history-CXBKXul8.js} +14 -14
  139. package/stencil/{user-transaction-history-DiRXpfbN.cjs → user-transaction-history-DLLIZ5Ck.cjs} +1 -1
  140. package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
  141. package/components/PlayerAccountController-BMOvuFM3.cjs +0 -1
  142. package/components/PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs +0 -1
  143. package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +0 -1
  144. package/components/PlayerAccountGamingLimitsPage2Gm16-isbaVllo.cjs +0 -24
  145. package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +0 -1
  146. package/components/PlayerActiveBonuses-CVhSMdRf.cjs +0 -1
  147. package/components/PlayerProfileInfo-DjZCa7C6.cjs +0 -4
  148. package/stencil/checkbox-group-input_9-BVBeSmHl.js +0 -3895
  149. package/stencil/checkbox-group-input_9-CixpoaRc.cjs +0 -2
  150. package/stencil/checkbox-group-input_9-Ckf5IThK.js +0 -3895
  151. package/stencil/general-input-C54NeVAb.cjs +0 -5636
  152. package/stencil/index-1ef3a64c-CFvPR_NP.cjs +0 -1
  153. package/stencil/index-7c5e707a-DvxqcEpc.js +0 -643
  154. package/stencil/index-7c5e707a-ESX_oqGB.cjs +0 -1
  155. package/stencil/index-9c0f6c58-DmOKHEVq.cjs +0 -1
  156. package/stencil/index-9cd44522-CqgRbQOU.cjs +0 -1
  157. package/stencil/index-b2193545-CnMZ4-Ff.js +0 -519
  158. package/stencil/index-b2193545-Ct5AhxM8.cjs +0 -1
  159. package/stencil/index-b2193545-DePry399.js +0 -503
  160. package/stencil/locale-CB060R77.cjs +0 -1
  161. package/stencil/locale-Cxpe53Ym.js +0 -153
  162. package/stencil/password-input_2-BWxS0D5h.js +0 -313
  163. package/stencil/password-input_2-Bz7EgS5w.cjs +0 -193
  164. package/stencil/password-input_2-KI96oR82.js +0 -313
  165. package/stencil/player-change-password-gm2-5cb5c6c1-B561Hszb.cjs +0 -1
  166. package/stencil/player-change-password-gm2-BRh6ZaCn.js +0 -25
  167. package/stencil/player-change-password-gm2-COxZYE4t.cjs +0 -1
  168. package/stencil/player-change-password-gm2-tu3usKOk.js +0 -7
  169. package/stencil/toggle-checkbox-input-BQz8G4GG.cjs +0 -1
  170. package/stencil/toggle-checkbox-input-Bhz93bXQ.js +0 -68
  171. package/stencil/toggle-checkbox-input-lRQooUAB.js +0 -68
  172. package/stencil/tooltipIcon-ee9760a8-BCCb4EU-.js +0 -4
  173. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { r as w, h as i } from "./index-9cd44522-C0ycW8_E.js";
2
- const p = "en", h = {
1
+ import { r as p, h as e } from "./index-13661b98-l0CINbAR.js";
2
+ const w = "en", h = {
3
3
  en: {
4
4
  title: "Change Password",
5
5
  btnSubmit: "Change Password",
@@ -112,152 +112,301 @@ const p = "en", h = {
112
112
  "gm.pms.password_not_verified_unauthorized": "A megadott jelenlegi jelszó helytelen",
113
113
  "gm.pms.password_policy_failed": "A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta."
114
114
  }
115
- }, g = (e) => new Promise((s) => {
116
- fetch(e).then((a) => a.json()).then((a) => {
117
- Object.keys(a).forEach((t) => {
118
- for (let r in a[t])
119
- h[t][r] = a[t][r];
120
- }), s(!0);
115
+ }, g = (s) => new Promise((t) => {
116
+ fetch(s).then((a) => a.json()).then((a) => {
117
+ Object.keys(a).forEach((n) => {
118
+ for (let i in a[n])
119
+ h[n][i] = a[n][i];
120
+ }), t(!0);
121
121
  });
122
- }), o = (e, s, a) => {
123
- const t = s;
124
- let r = h[t !== void 0 ? t : p][e];
122
+ }), r = (s, t, a) => {
123
+ const n = t;
124
+ let i = h[n !== void 0 ? n : w][s];
125
125
  if (a !== void 0)
126
- for (const [l, n] of Object.entries(a.values)) {
126
+ for (const [l, o] of Object.entries(a.values)) {
127
127
  const m = new RegExp(`{${l}}`, "g");
128
- r = r.replace(m, n);
128
+ i = i.replace(m, o);
129
129
  }
130
- return r;
130
+ return i;
131
131
  };
132
132
  function d() {
133
- const e = navigator.userAgent.toLowerCase(), s = screen.availWidth, a = screen.availHeight;
134
- if (e.includes("iphone"))
133
+ const s = navigator.userAgent.toLowerCase(), t = screen.availWidth, a = screen.availHeight;
134
+ if (s.includes("iphone"))
135
135
  return "mobile";
136
- if (e.includes("android")) {
137
- if (a > s && s < 800)
136
+ if (s.includes("android")) {
137
+ if (a > t && t < 800)
138
138
  return "mobile";
139
- if (s > a && a < 800)
139
+ if (t > a && a < 800)
140
140
  return "tablet";
141
141
  }
142
142
  return "desktop";
143
143
  }
144
- function c(e, s) {
145
- if (e) {
144
+ function c(s, t) {
145
+ if (s) {
146
146
  const a = document.createElement("style");
147
- a.innerHTML = s, e.appendChild(a);
147
+ a.innerHTML = t, s.appendChild(a);
148
148
  }
149
149
  }
150
- function u(e, s) {
151
- const a = new URL(s);
152
- fetch(a.href).then((t) => t.text()).then((t) => {
153
- const r = document.createElement("style");
154
- r.innerHTML = t, e && e.appendChild(r);
155
- }).catch((t) => {
156
- console.error("There was an error while trying to load client styling from URL", t);
150
+ function u(s, t) {
151
+ const a = new URL(t);
152
+ fetch(a.href).then((n) => n.text()).then((n) => {
153
+ const i = document.createElement("style");
154
+ i.innerHTML = n, s && s.appendChild(i);
155
+ }).catch((n) => {
156
+ console.error("There was an error while trying to load client styling from URL", n);
157
157
  });
158
158
  }
159
- function f(e, s, a) {
159
+ function P(s, t, a) {
160
160
  if (window.emMessageBus) {
161
- const t = document.createElement("style");
162
- window.emMessageBus.subscribe(s, (r) => {
163
- t.innerHTML = r, e && e.appendChild(t);
161
+ const n = document.createElement("style");
162
+ window.emMessageBus.subscribe(t, (i) => {
163
+ n.innerHTML = i, s && s.appendChild(n);
164
164
  });
165
165
  }
166
166
  }
167
- const P = ":host{display:block}.PlayerChangePassword{font-family:inherit;width:100%;height:100%;container-type:inline-size}.PlayerChangePassword .Wrapper{display:flex;justify-content:center;align-items:center}.PlayerChangePassword .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerChangePassword .TitleMobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #22B04E)}.PlayerChangePassword svg{fill:var(--emw--color-primary, #22B04E)}.PlayerChangePassword .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerChangePassword .Form{display:grid;grid-template-columns:repeat(1, 1fr);gap:40px;justify-items:stretch;align-content:flex-start;overflow:auto;width:100%;height:100%}.PlayerChangePassword .Form .FieldsSection{display:flex;flex-direction:column;gap:30px}.PlayerChangePassword .Form .ButtonsSection{display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative}.PlayerChangePassword .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background:var(--emw--button-background-color, var(--emw--color-primary, #22B04E));border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #22B04E));color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerChangePassword .Button:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));pointer-events:none;cursor:not-allowed}", y = P, b = class {
168
- constructor(e) {
169
- w(this, e), this.currentPasswordValue = "", this.newPasswordValue = "", this.confirmPasswordValue = "", this.isCurrentPasswordValid = !1, this.isNewPasswordValid = !1, this.isConfirmPasswordValid = !1, this.errorMsg = "", this.currentPasswordValidationSchema = { mandatory: !0, custom: [] }, this.newPasswordValidationSchema = { mandatory: !0, custom: [] }, this.confirmPasswordValidationSchema = { mandatory: !0, custom: [] }, this.initValidationSchemas = () => {
170
- this.policy && (this.newPasswordValidationSchema.custom = this.policy.customValidationRules, this.newPasswordValidationSchema.maxLength = this.policy.maximumPasswordLength, this.newPasswordValidationSchema.minLength = this.policy.minimumPasswordLength);
171
- }, this.setErrorMsg = (s) => {
172
- switch (s) {
167
+ const f = `:host {
168
+ display: block;
169
+ }
170
+
171
+ .PlayerChangePassword {
172
+ font-family: inherit;
173
+ width: 100%;
174
+ height: 100%;
175
+ container-type: inline-size;
176
+ opacity: 1;
177
+ animation-name: fadeIn;
178
+ animation-iteration-count: 1;
179
+ animation-timing-function: ease-in;
180
+ animation-duration: 0.3s;
181
+ container-type: inline-size;
182
+ }
183
+ .PlayerChangePassword .Wrapper {
184
+ display: flex;
185
+ justify-content: center;
186
+ align-items: center;
187
+ }
188
+ .PlayerChangePassword .Title {
189
+ background-color: transparent;
190
+ font-size: var(--emw--font-size-x-large, 26px);
191
+ color: var(--emw--color-primary, #22B04E);
192
+ font-weight: var(--emw--font-weight-semibold, 500);
193
+ }
194
+ .PlayerChangePassword .TitleMobile {
195
+ font-size: var(--emw--font-size-x-large, 20px);
196
+ color: var(--emw--color-primary, #22B04E);
197
+ }
198
+ .PlayerChangePassword svg {
199
+ fill: var(--emw--color-primary, #22B04E);
200
+ }
201
+ .PlayerChangePassword .ButtonReturn {
202
+ display: none;
203
+ font-family: inherit;
204
+ align-items: center;
205
+ gap: 10px;
206
+ }
207
+ .PlayerChangePassword .Form {
208
+ display: grid;
209
+ grid-template-columns: repeat(1, 1fr);
210
+ gap: 40px;
211
+ justify-items: stretch;
212
+ align-content: flex-start;
213
+ overflow: auto;
214
+ width: 100%;
215
+ height: 100%;
216
+ }
217
+ .PlayerChangePassword .Form .FieldsSection {
218
+ display: flex;
219
+ flex-direction: column;
220
+ gap: 30px;
221
+ }
222
+ .PlayerChangePassword .Form .ButtonsSection {
223
+ display: flex;
224
+ flex-direction: column;
225
+ justify-content: space-around;
226
+ align-items: center;
227
+ position: relative;
228
+ }
229
+ .PlayerChangePassword .Button {
230
+ font-family: inherit;
231
+ border-radius: var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));
232
+ background: var(--emw--button-background-color, var(--emw--color-primary, #22B04E));
233
+ border: var(--emw--button-border, 1px solid var(--emw--button-border-color, #22B04E));
234
+ color: var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));
235
+ font-size: var(--emw--font-size-large, 20px);
236
+ font-weight: var(--emw--font-weight-normal, 400);
237
+ height: 50px;
238
+ width: 100%;
239
+ text-transform: uppercase;
240
+ cursor: pointer;
241
+ }
242
+ .PlayerChangePassword .Button:disabled {
243
+ background: var(--emfe-w-color-gray-100, #E6E6E6);
244
+ border: var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));
245
+ pointer-events: none;
246
+ cursor: not-allowed;
247
+ }
248
+ .PlayerChangePassword.skeleton .Form .ButtonReturn {
249
+ width: 150px;
250
+ height: 30px;
251
+ margin-top: 15px;
252
+ display: block;
253
+ }
254
+ .PlayerChangePassword.skeleton .Form .FieldsSection {
255
+ display: block;
256
+ }
257
+ .PlayerChangePassword.skeleton .Form .FieldsSection .FieldContainer .FieldTitle {
258
+ width: 100px;
259
+ margin-top: 30px;
260
+ margin-bottom: 15px;
261
+ }
262
+ .PlayerChangePassword.skeleton .Form .ButtonsSection .Button {
263
+ font-family: inherit;
264
+ border-radius: 50px;
265
+ background: transparent;
266
+ border: none;
267
+ overflow: hidden;
268
+ }
269
+ @container (max-width: 425px) {
270
+ .PlayerChangePassword .Form .ButtonReturn {
271
+ display: inline-flex;
272
+ }
273
+ .PlayerChangePassword .Form .Title {
274
+ display: none;
275
+ }
276
+ }
277
+
278
+ @keyframes fadeIn {
279
+ 0% {
280
+ opacity: 0.01;
281
+ }
282
+ 1% {
283
+ opacity: 0;
284
+ }
285
+ 50% {
286
+ opacity: 0;
287
+ }
288
+ 100% {
289
+ opacity: 1;
290
+ }
291
+ }`, y = f, b = class {
292
+ constructor(s) {
293
+ p(this, s), this.currentPasswordValue = "", this.newPasswordValue = "", this.confirmPasswordValue = "", this.isCurrentPasswordValid = !1, this.isNewPasswordValid = !1, this.isConfirmPasswordValid = !1, this.errorMsg = "", this.currentPasswordValidationSchema = { mandatory: !0, custom: [] }, this.newPasswordValidationSchema = { mandatory: !0, custom: [] }, this.confirmPasswordValidationSchema = { mandatory: !0, custom: [] }, this.initValidationSchemas = () => {
294
+ this.confirmPasswordValidationSchema = {
295
+ mandatory: !0,
296
+ maxLength: this.policy.maximumPasswordLength,
297
+ minLength: this.policy.minimumPasswordLength,
298
+ custom: [
299
+ this.policy.customValidationRules.find((t) => t.rule === "duplicate-input")
300
+ ]
301
+ }, this.newPasswordValidationSchema = {
302
+ mandatory: !0,
303
+ maxLength: this.policy.maximumPasswordLength,
304
+ minLength: this.policy.minimumPasswordLength,
305
+ custom: this.policy.customValidationRules
306
+ }, this.currentPasswordValidationSchema = {
307
+ mandatory: !0,
308
+ maxLength: this.policy.maximumPasswordLength,
309
+ minLength: this.policy.minimumPasswordLength,
310
+ custom: this.policy.customValidationRules
311
+ };
312
+ }, this.setErrorMsg = (t) => {
313
+ switch (t) {
173
314
  case "gm.pms.password_policy_failed":
174
315
  const a = {
175
316
  forbiddenLastPasswordsCount: this.policy.forbiddenLastPasswordsCount,
176
317
  minimumPasswordAgeLimitHours: this.policy.minimumPasswordAgeLimitHours,
177
318
  hours: this.policy.minimumPasswordAgeLimitHours > 1 ? "hours" : "hour"
178
319
  };
179
- this.errorMsg = o(s, this.language, { values: a });
320
+ this.errorMsg = r(t, this.language, { values: a });
180
321
  break;
181
322
  case "gm.pms.password_not_verified_unauthorized":
182
- this.errorMsg = o(s, this.language);
323
+ this.errorMsg = r(t, this.language);
183
324
  break;
184
325
  default:
185
- this.errorMsg = o("errorMsgGeneric", this.language);
326
+ this.errorMsg = r("errorMsgGeneric", this.language);
186
327
  }
187
328
  }, this.toggleScreen = () => {
188
329
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
189
330
  }, this.getPolicy = () => {
190
- const s = new URL("/api/v1/players/password-management/password", this.endpoint), a = new Headers();
191
- a.append("Accept", "text/plain");
192
- const t = {
331
+ const t = new URL("/api/v1/players/password-management/password", this.endpoint), a = new Headers();
332
+ a.append("Accept", "text/plain"), a.append("Content-Type", "application/json-patch+json");
333
+ const n = {
193
334
  method: "GET",
194
335
  headers: a
195
336
  };
196
- fetch(s.href, t).then((r) => r.status === 200 && r.json()).then((r) => this.policy = r).catch((r) => console.error(r));
197
- }, this.submitNewPassword = (s) => {
198
- if (s.preventDefault(), this.isBtnSubmitEnabled) {
199
- const a = new URL("/api/v1/players/password-management/password", this.endpoint), t = new Headers();
200
- t.append("accept", "text/plain"), t.append("Content-Type", "application/json-patch+json");
201
- const r = JSON.stringify({
337
+ fetch(t.href, n).then((i) => i.status === 200 && i.json()).then((i) => {
338
+ this.policy = i, this.policy.customValidationRules.forEach((l) => {
339
+ l.rule = l.rule.toLowerCase(), l.rule === "duplicateinput" && (l.rule = "duplicate-input");
340
+ }), this.initValidationSchemas();
341
+ }).catch((i) => {
342
+ console.error(`${r("errorMsgGeneric", this.language)}:`, i), window.postMessage({ type: "WidgetNotification", data: { type: "error", message: r("errorMsgGeneric", this.language) } }, window.location.href);
343
+ }).finally(() => {
344
+ this.isSkeletonLoading = !1;
345
+ });
346
+ }, this.submitNewPassword = (t) => {
347
+ if (t.preventDefault(), this.isBtnSubmitEnabled) {
348
+ const a = new URL("/api/v1/players/password-management/password", this.endpoint), n = new Headers();
349
+ n.append("accept", "text/plain"), n.append("Content-Type", "application/json-patch+json");
350
+ const i = JSON.stringify({
202
351
  token: this.forgotMode === "true" ? this.token : this.session,
203
352
  oldPassword: this.currentPasswordValue,
204
353
  newPassword: this.confirmPasswordValue
205
354
  }), l = {
206
355
  method: "PUT",
207
- headers: t,
208
- body: r
356
+ headers: n,
357
+ body: i
209
358
  };
210
- fetch(a.href, l).then((n) => n.json()).then((n) => {
211
- n.errorCode === null && n.message === "pms.password.update.success" ? (window.postMessage({ type: "PasswordChangedSuccessfully" }), window.postMessage({ type: "WidgetNotification", data: { type: "success", message: o("successMsg", this.language) } }, window.location.href)) : (this.setErrorMsg(n.message), window.postMessage({ type: "WidgetNotification", data: { type: "error", message: this.errorMsg } }, window.location.href));
212
- }).catch((n) => console.error(n));
359
+ fetch(a.href, l).then((o) => o.json()).then((o) => {
360
+ o.errorCode === null && o.message === "pms.password.update.success" ? (window.postMessage({ type: "PasswordChangedSuccessfully" }), window.postMessage({ type: "WidgetNotification", data: { type: "success", message: r("successMsg", this.language) } }, window.location.href)) : (this.setErrorMsg(o.message), window.postMessage({ type: "WidgetNotification", data: { type: "error", message: this.errorMsg } }, window.location.href));
361
+ }).catch((o) => console.error(o));
213
362
  }
214
- }, this.language = "en", this.endpoint = "", this.session = "", this.token = "", this.forgotMode = "", this.clientStyling = "", this.clientStylingUrl = "", this.mbSource = void 0, this.translationUrl = "", this.isBtnSubmitEnabled = !1, this.isMobile = d() === "mobile" || d() === "tablet";
363
+ }, this.language = "en", this.endpoint = "", this.session = "", this.token = "", this.forgotMode = "", this.clientStyling = "", this.clientStylingUrl = "", this.mbSource = void 0, this.translationUrl = "", this.isBtnSubmitEnabled = !1, this.isSkeletonLoading = !0, this.isMobile = d() === "mobile" || d() === "tablet";
215
364
  }
216
- handleClientStylingChange(e, s) {
217
- e != s && c(this.stylingContainer, this.clientStyling);
365
+ handleClientStylingChange(s, t) {
366
+ s != t && c(this.stylingContainer, this.clientStyling);
218
367
  }
219
- handleClientStylingUrlChange(e, s) {
220
- e != s && this.clientStylingUrl && u(this.stylingContainer, this.clientStylingUrl);
368
+ handleClientStylingUrlChange(s, t) {
369
+ s != t && this.clientStylingUrl && u(this.stylingContainer, this.clientStylingUrl);
221
370
  }
222
- sendValidityStateHandler(e) {
223
- switch (this.isBtnSubmitEnabled = !1, e.detail.name) {
371
+ sendValidityStateHandler(s) {
372
+ switch (this.isBtnSubmitEnabled = !1, s.detail.name) {
224
373
  case "password":
225
- this.isCurrentPasswordValid = e.detail.valid;
374
+ this.isCurrentPasswordValid = s.detail.valid;
226
375
  break;
227
376
  case "newPassword":
228
- this.isNewPasswordValid = e.detail.valid;
377
+ this.isNewPasswordValid = s.detail.valid;
229
378
  break;
230
379
  case "newPasswordDuplicate":
231
- this.isConfirmPasswordValid = e.detail.valid;
380
+ this.isConfirmPasswordValid = s.detail.valid;
232
381
  break;
233
382
  }
234
383
  (this.forgotMode === "true" || this.isCurrentPasswordValid) && this.isNewPasswordValid && this.isConfirmPasswordValid && (this.isBtnSubmitEnabled = !0);
235
384
  }
236
- sendInputValueHandler(e) {
237
- switch (e.detail.name) {
385
+ sendInputValueHandler(s) {
386
+ switch (s.detail.name) {
238
387
  case "password":
239
- this.currentPasswordValue = e.detail.value;
388
+ this.currentPasswordValue = s.detail.value;
240
389
  break;
241
390
  case "newPassword":
242
- this.newPasswordValue = e.detail.value;
391
+ this.newPasswordValue = s.detail.value;
243
392
  break;
244
393
  case "newPasswordDuplicate":
245
- this.confirmPasswordValue = e.detail.value;
394
+ this.confirmPasswordValue = s.detail.value;
246
395
  break;
247
396
  }
248
397
  }
249
398
  componentWillLoad() {
250
- if (this.getPolicy(), this.initValidationSchemas(), this.translationUrl)
399
+ if (this.getPolicy(), this.translationUrl)
251
400
  return g(this.translationUrl);
252
401
  }
253
402
  componentDidLoad() {
254
- this.stylingContainer && (window.emMessageBus != null ? f(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && c(this.stylingContainer, this.clientStyling), this.clientStylingUrl && u(this.stylingContainer, this.clientStylingUrl)));
403
+ this.stylingContainer && (window.emMessageBus != null ? P(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && c(this.stylingContainer, this.clientStyling), this.clientStylingUrl && u(this.stylingContainer, this.clientStylingUrl)));
255
404
  }
256
405
  disconnectedCallback() {
257
406
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
258
407
  }
259
408
  render() {
260
- return i("div", { key: "9a8f54fe541ef6409f7cc21bb8431c850d031830", class: "PlayerChangePassword", ref: (e) => this.stylingContainer = e }, i("form", { key: "8a3aaa6a96b16a26477657f0216a7a0a2e2e0869", class: "Form" }, this.isMobile ? i("div", { class: "ButtonReturn", onClick: this.toggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", { class: "TitleMobile" }, o("title", this.language))) : i("h2", { class: "Title" }, o("title", this.language)), i("section", { key: "47a7214266e06ef9f8ded9f86f76e15ce4f6fc3a", class: "FieldsSection" }, this.forgotMode === "false" && i("password-input", { key: "41b721a65332283a3699ab8e838dadb8d73913fa", language: this.language, name: "password", "display-name": o("passwordDisplayText", this.language), placeholder: o("passwordPlaceholderText", this.language), validation: this.currentPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), i("password-input", { key: "eb7c697eb1900ed580ff17a4cd56819993599924", language: this.language, name: "newPassword", "display-name": o("newPasswordDisplayText", this.language), placeholder: o("newPasswordPlaceholderText", this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), i("password-input", { key: "4b12c17b882fe8117f9c49ad296c5918198e18f0", language: this.language, name: "newPasswordDuplicate", "display-name": o("confirmPasswordDisplayText", this.language), placeholder: o("confirmPasswordPlaceholderText", this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": !0, clientStyling: this.clientStyling, "mb-source": this.mbSource })), i("section", { key: "a0cd6777b46ac8e4ba5eef6c42f77531a9c7ee0b", class: "ButtonsSection" }, i("button", { key: "d21c481e07a7c7762bf0fa7acbb4f1d68ac92d4d", class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, o("btnSubmit", this.language)))));
409
+ return this.isSkeletonLoading ? e("div", { class: "PlayerChangePassword skeleton" }, e("form", { class: "Form" }, e("div", { class: "ButtonReturn" }, e("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), e("section", { class: "FieldsSection" }, e("div", { class: "FieldContainer" }, e("div", { class: "FieldTitle" }, e("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), e("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), e("div", { class: "FieldContainer" }, e("div", { class: "FieldTitle" }, e("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), e("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), e("div", { class: "FieldContainer" }, e("div", { class: "FieldTitle" }, e("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), e("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), e("section", { class: "ButtonsSection" }, e("div", { class: "Button" }, e("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))) : e("div", { class: "PlayerChangePassword", ref: (s) => this.stylingContainer = s }, e("form", { class: "Form" }, e("div", { class: "ButtonReturn", onClick: this.toggleScreen }, e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, e("g", { transform: "translate(-20 -158)" }, e("g", { transform: "translate(20 158)" }, e("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), e("h2", { class: "TitleMobile" }, r("title", this.language))), e("h2", { class: "Title" }, r("title", this.language)), e("section", { class: "FieldsSection" }, this.forgotMode === "false" && e("general-input", { type: "password", action: "input", name: "password", language: this.language, "display-name": r("passwordDisplayText", this.language), placeholder: r("passwordPlaceholderText", this.language), validation: this.currentPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource, "hide-password-complexity": !0 }), e("general-input", { type: "password", action: "input", name: "newPassword", language: this.language, "display-name": r("newPasswordDisplayText", this.language), placeholder: r("newPasswordPlaceholderText", this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), e("general-input", { type: "password", action: "input", name: "newPasswordDuplicate", language: this.language, "display-name": r("confirmPasswordDisplayText", this.language), placeholder: r("confirmPasswordPlaceholderText", this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": !0, clientStyling: this.clientStyling, "mb-source": this.mbSource })), e("section", { class: "ButtonsSection" }, e("button", { class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, r("btnSubmit", this.language)))));
261
410
  }
262
411
  static get watchers() {
263
412
  return {
@@ -1,4 +1,4 @@
1
- import { b as v, p as w, r as k, h as i, F as m } from "./index-9c0f6c58-BB5opCt9.js";
1
+ import { b as v, p as w, r as k, h as i, F as m } from "./index-9c0f6c58-RPoO1End.js";
2
2
  import { a as C } from "./app-globals-0f993ce5-DzSE6TtH.js";
3
3
  var x = () => {
4
4
  const e = import.meta.url, n = {};
@@ -829,10 +829,10 @@ button, select {
829
829
  }).then((a) => {
830
830
  if (a.ResponseCode == "Success") {
831
831
  const s = new FormData();
832
- s.append(n, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: s }).then((d) => {
833
- d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n), console.error("File upload error:", d.status));
834
- }).catch((d) => {
835
- console.error("File upload error:", d);
832
+ s.append(n, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: s }).then((l) => {
833
+ l.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n), console.error("File upload error:", l.status));
834
+ }).catch((l) => {
835
+ console.error("File upload error:", l);
836
836
  });
837
837
  } else
838
838
  this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n);
@@ -867,18 +867,18 @@ button, select {
867
867
  }
868
868
  renderVerificationTypeBox(e) {
869
869
  this.expandedOnDesktop && (e.expanded = !0);
870
- let n = this.getFirstRequestedDocument(e), t = e.expanded, o = e.type.trim(), a = e.optionChosen || n, s = e.status, d = e.documents, l = e.flowInfo;
870
+ let n = this.getFirstRequestedDocument(e), t = e.expanded, o = e.type.trim(), a = e.optionChosen || n, s = e.status, l = e.documents, d = e.flowInfo;
871
871
  const f = s === "Verified", u = s === "Failed" || s === "Expired";
872
872
  return i("div", { class: `verification-box ${t ? "expanded" : ""} ${u ? "failed" : ""} ${f ? "success" : ""}` }, i("div", { class: `box box-header ${t ? "expanded" : ""}`, onClick: () => {
873
873
  var p;
874
874
  return this.toggleVerificationType(e.type, (p = e.flowInfo) === null || p === void 0 ? void 0 : p.type);
875
- } }, i("div", { class: "box-icon" }, f ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : u ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, i("path", { d: t ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), t ? this.renderExpandedContent(e, a, s, d, l, f, u) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
875
+ } }, i("div", { class: "box-icon" }, f ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : u ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, i("path", { d: t ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), t ? this.renderExpandedContent(e, a, s, l, d, f, u) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
876
876
  }
877
877
  renderDocumentsActions(e, n, t) {
878
878
  return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, n ? i("label", null, i("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, n, t.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
879
879
  }
880
- renderExpandedContent(e, n, t, o, a, s, d) {
881
- return a?.type === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : a?.type === "Redirect" && e.vendorName !== "Manual" && t !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(m, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : d ? i("div", { class: "verification-status" }, t === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, o.map((l) => i("option", { selected: l.code == n, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === n), n, e)) : null));
880
+ renderExpandedContent(e, n, t, o, a, s, l) {
881
+ return a?.type === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : a?.type === "Redirect" && e.vendorName !== "Manual" && t !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(m, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : l ? i("div", { class: "verification-status" }, t === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (d) => this.handleOptionChange(d, e.type) }, o.map((d) => i("option", { selected: d.code == n, value: d.code }, r(d.type, this.language)))), this.renderDocumentsActions(o.find((d) => d.code === n), n, e)) : null));
882
882
  }
883
883
  render() {
884
884
  return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(m, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
@@ -1,20 +1,20 @@
1
1
  var p = (e, t, n) => new Promise((o, a) => {
2
- var s = (d) => {
2
+ var s = (l) => {
3
3
  try {
4
- l(n.next(d));
4
+ d(n.next(l));
5
5
  } catch (f) {
6
6
  a(f);
7
7
  }
8
- }, c = (d) => {
8
+ }, c = (l) => {
9
9
  try {
10
- l(n.throw(d));
10
+ d(n.throw(l));
11
11
  } catch (f) {
12
12
  a(f);
13
13
  }
14
- }, l = (d) => d.done ? o(d.value) : Promise.resolve(d.value).then(s, c);
15
- l((n = n.apply(e, t)).next());
14
+ }, d = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(s, c);
15
+ d((n = n.apply(e, t)).next());
16
16
  });
17
- import { b as w, p as k, r as C, h as i, F as h } from "./index-9c0f6c58-bxjYqwOi.js";
17
+ import { b as w, p as k, r as C, h as i, F as h } from "./index-9c0f6c58-NlVKpLut.js";
18
18
  import { a as x } from "./app-globals-0f993ce5-DzSE6TtH.js";
19
19
  var S = () => {
20
20
  const e = import.meta.url, t = {};
@@ -889,18 +889,18 @@ button, select {
889
889
  }
890
890
  renderVerificationTypeBox(e) {
891
891
  this.expandedOnDesktop && (e.expanded = !0);
892
- let t = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || t, s = e.status, c = e.documents, l = e.flowInfo;
893
- const d = s === "Verified", f = s === "Failed" || s === "Expired";
894
- return i("div", { class: `verification-box ${n ? "expanded" : ""} ${f ? "failed" : ""} ${d ? "success" : ""}` }, i("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
892
+ let t = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || t, s = e.status, c = e.documents, d = e.flowInfo;
893
+ const l = s === "Verified", f = s === "Failed" || s === "Expired";
894
+ return i("div", { class: `verification-box ${n ? "expanded" : ""} ${f ? "failed" : ""} ${l ? "success" : ""}` }, i("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
895
895
  var m;
896
896
  return this.toggleVerificationType(e.type, (m = e.flowInfo) === null || m === void 0 ? void 0 : m.type);
897
- } }, i("div", { class: "box-icon" }, d ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : f ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, s, c, l, d, f) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
897
+ } }, i("div", { class: "box-icon" }, l ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : f ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, s, c, d, l, f) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
898
898
  }
899
899
  renderDocumentsActions(e, t, n) {
900
900
  return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e != null && e.statusUploaded ? i("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : e.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, t ? i("label", null, i("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, t, n.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
901
901
  }
902
902
  renderExpandedContent(e, t, n, o, a, s, c) {
903
- return (a == null ? void 0 : a.type) === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : (a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" && n !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(h, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : c ? i("div", { class: "verification-status" }, n === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, o.map((l) => i("option", { selected: l.code == t, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === t), t, e)) : null));
903
+ return (a == null ? void 0 : a.type) === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : (a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" && n !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(h, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : c ? i("div", { class: "verification-status" }, n === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (d) => this.handleOptionChange(d, e.type) }, o.map((d) => i("option", { selected: d.code == t, value: d.code }, r(d.type, this.language)))), this.renderDocumentsActions(o.find((d) => d.code === t), t, e)) : null));
904
904
  }
905
905
  render() {
906
906
  return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(h, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));