@everymatrix/player-account-controller 1.58.1 → 1.58.2

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 (208) hide show
  1. package/components/{GeneralLogout-BplfowFH.js → GeneralLogout-D1bnYvKD.js} +639 -617
  2. package/components/GeneralLogout-DKq7aXpj.cjs +21 -0
  3. package/components/{GeneralLogout-DuABjNp8.js → GeneralLogout-oWKFw5-U.js} +740 -718
  4. package/components/PlayerAccountBettingHistory-B5a8vPwA.js +329 -0
  5. package/components/PlayerAccountBettingHistory-Ba0rbzAt.cjs +1 -0
  6. package/components/{PlayerAccountBettingHistory-BxCRppml.js → PlayerAccountBettingHistory-cvLnLJaM.js} +126 -127
  7. package/components/{PlayerAccountBiometrics-C8NBQKUw.js → PlayerAccountBiometrics-244_l2MD.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-BEFosUME.js → PlayerAccountBiometrics-ClTvex4w.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-DTFbvNhj.cjs → PlayerAccountBiometrics-D3SdfZAk.cjs} +1 -1
  10. package/components/{PlayerAccountClosure-bkzdtq3v.js → PlayerAccountClosure-9BJkNHZ1.js} +32 -32
  11. package/components/{PlayerAccountClosure-D9hNArXT.js → PlayerAccountClosure-CUDjmpCz.js} +32 -32
  12. package/components/{PlayerAccountClosure-B2Gy9x3G.cjs → PlayerAccountClosure-Dk5N1AgF.cjs} +1 -1
  13. package/components/{PlayerAccountController-CtAC8Bkz.js → PlayerAccountController-B5Eo94jN.js} +297 -297
  14. package/components/PlayerAccountController-BR2iFVCe.js +7272 -0
  15. package/components/{PlayerAccountController-utJgFIt1.cjs → PlayerAccountController-Cl05EBau.cjs} +1 -1
  16. package/components/PlayerAccountController-D25Cayml.cjs +1 -0
  17. package/components/{PlayerAccountController-DMXXG8tF.js → PlayerAccountController-U2zDDLp1.js} +296 -296
  18. package/components/PlayerAccountController-rcttF6Lm.js +7255 -0
  19. package/components/{PlayerAccountGamingLimits-Dxz29F5p.js → PlayerAccountGamingLimits-C2OQmz0L.js} +81 -81
  20. package/components/{PlayerAccountGamingLimits-oNSvEvXz.js → PlayerAccountGamingLimits-CGZB2W3L.js} +81 -81
  21. package/components/{PlayerAccountGamingLimits-BrtFDG1O.cjs → PlayerAccountGamingLimits-FIGZjiiE.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-Bes0Svrr.js → PlayerAccountGamingLimitsConfirmationModal-CMNuF6Yo.js} +30 -30
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-aQzVqW8v.cjs → PlayerAccountGamingLimitsConfirmationModal-CyALQICB.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-BhmpbfB9.js → PlayerAccountGamingLimitsConfirmationModal-apD3a9Bz.js} +30 -30
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-gdCqCIvt.cjs → PlayerAccountGamingLimitsGroupEdit-BpaOoTGu.cjs} +2 -2
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-BS6wWGFd.js → PlayerAccountGamingLimitsGroupEdit-Cj28m25L.js} +54 -54
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-D2lkSHNX.js → PlayerAccountGamingLimitsGroupEdit-DrfWEw7D.js} +54 -54
  28. package/components/{PlayerAccountGamingLimitsHistory2-DrrIUH-E.js → PlayerAccountGamingLimitsHistory2-CL7qYX9D.js} +48 -48
  29. package/components/{PlayerAccountGamingLimitsHistory2-_bX1iIJM.js → PlayerAccountGamingLimitsHistory2-CsMgI2vP.js} +46 -46
  30. package/components/{PlayerAccountGamingLimitsHistory2-DGVBzjIn.cjs → PlayerAccountGamingLimitsHistory2-D90-0n9S.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-D73a50SO.js → PlayerAccountGamingLimitsInfoCard-C-SGItlz.js} +83 -83
  32. package/components/{PlayerAccountGamingLimitsInfoCard-Cd2oTK9r.js → PlayerAccountGamingLimitsInfoCard-CFusXmG3.js} +83 -83
  33. package/components/{PlayerAccountGamingLimitsInfoCard-DwNXbIaa.cjs → PlayerAccountGamingLimitsInfoCard-DlJXsDqV.cjs} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-DV_B0I-1.js → PlayerAccountGamingLimitsPage2Gm16-BfV10mIx.js} +9 -9
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-DzG7Yyop.cjs → PlayerAccountGamingLimitsPage2Gm16-DAMLMUMu.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-BikeP6Os.js → PlayerAccountGamingLimitsPage2Gm16-DoZ7M3C6.js} +9 -9
  37. package/components/{PlayerAccountGamingLimitsPopup-Bmo_d-SK.js → PlayerAccountGamingLimitsPopup-4sFhABTh.js} +42 -42
  38. package/components/{PlayerAccountGamingLimitsPopup-BhxPf2k2.js → PlayerAccountGamingLimitsPopup-Cut_OV-5.js} +42 -42
  39. package/components/{PlayerAccountGamingLimitsPopup-BzAiMR7P.cjs → PlayerAccountGamingLimitsPopup-Dbr-uHeX.cjs} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-Dz66ld9y.js → PlayerAccountGamingLimitsWrapper2-BBhmB2BI.js} +55 -55
  41. package/components/{PlayerAccountGamingLimitsWrapper2-Cm_s6Fie.cjs → PlayerAccountGamingLimitsWrapper2-Cr_T1GBf.cjs} +1 -1
  42. package/components/{PlayerAccountGamingLimitsWrapper2-CE96__tw.js → PlayerAccountGamingLimitsWrapper2-eTM9_1BC.js} +20 -20
  43. package/components/{PlayerAccountGeneralConfirmationModal-C_d3r_5u.cjs → PlayerAccountGeneralConfirmationModal-BJ3S0RLL.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-xn068Ofp.js → PlayerAccountGeneralConfirmationModal-Cxl-LoG0.js} +34 -34
  45. package/components/{PlayerAccountGeneralConfirmationModal-DHO5sM_A.js → PlayerAccountGeneralConfirmationModal-L97vGeau.js} +34 -34
  46. package/components/{PlayerAccountMenu-B2ipwiXm.cjs → PlayerAccountMenu-BIdnddS_.cjs} +1 -1
  47. package/components/{PlayerAccountMenu-BZMOA6FB.js → PlayerAccountMenu-CBgydCnL.js} +29 -29
  48. package/components/{PlayerAccountMenu-2fRKWX72.js → PlayerAccountMenu-DUTsp-yv.js} +32 -32
  49. package/components/{PlayerAccountModal-BPfkAiOY.js → PlayerAccountModal-7R2WRCgZ.js} +42 -42
  50. package/components/{PlayerAccountModal-DYanNf6b.js → PlayerAccountModal-C7_3et-5.js} +42 -42
  51. package/components/{PlayerAccountModal-BC3FTDl6.cjs → PlayerAccountModal-tginaXbZ.cjs} +1 -1
  52. package/components/{PlayerAccountNotifications-CcTMD34l.cjs → PlayerAccountNotifications-BLsxWrq2.cjs} +1 -1
  53. package/components/{PlayerAccountNotifications-DxM4yW0h.js → PlayerAccountNotifications-BQPI0SJW.js} +31 -31
  54. package/components/{PlayerAccountNotifications-989NFh5T.js → PlayerAccountNotifications-DcYU4F80.js} +32 -32
  55. package/components/{PlayerAccountSelfExclusion-BrQUxdxS.js → PlayerAccountSelfExclusion--Rn9q2b5.js} +786 -781
  56. package/components/{PlayerAccountSelfExclusion-D4uJysE9.cjs → PlayerAccountSelfExclusion-CKVraXB_.cjs} +153 -153
  57. package/components/{PlayerAccountSelfExclusion-tDcqpg8M.js → PlayerAccountSelfExclusion-DPebzB6p.js} +1689 -1684
  58. package/components/PlayerAccountSelfExclusion-DQemkHnw.js +16835 -0
  59. package/components/PlayerAccountSelfExclusion-EzdDd4JW.js +16757 -0
  60. package/components/PlayerAccountSelfExclusion-PIbK0zJN.cjs +3555 -0
  61. package/components/{PlayerAccountTimeout-1VU-R_sT.js → PlayerAccountTimeout-BUMA2T0A.js} +58 -58
  62. package/components/{PlayerAccountTimeout-BnBgpjeF.cjs → PlayerAccountTimeout-Canoqg7a.cjs} +1 -1
  63. package/components/PlayerAccountTimeout-DC6dXEP7.js +950 -0
  64. package/components/{PlayerAccountTimeout-DAyJv6XI.js → PlayerAccountTimeout-DGGqGhkZ.js} +58 -58
  65. package/components/PlayerAccountTimeout-DqOYXUZt.cjs +1 -0
  66. package/components/PlayerAccountTimeout-TtjDitl7.js +950 -0
  67. package/components/{PlayerActiveBonuses-BFVeH6mh.js → PlayerActiveBonuses-BbsdliMe.js} +74 -74
  68. package/components/{PlayerActiveBonuses-zUVH_ST1.js → PlayerActiveBonuses-BddZrv-Y.js} +73 -73
  69. package/components/{PlayerActiveBonuses-C2r4IPEL.cjs → PlayerActiveBonuses-BfJ_kyb8.cjs} +1 -1
  70. package/components/PlayerActiveBonuses-CS8nC9ys.js +1077 -0
  71. package/components/PlayerActiveBonuses-DTojdXrg.cjs +1 -0
  72. package/components/PlayerActiveBonuses-yGG4TUJy.js +1078 -0
  73. package/components/{PlayerBonusCard-B-cs4cqg.js → PlayerBonusCard-9sQnuijs.js} +80 -80
  74. package/components/PlayerBonusCard-BBGQvGlt.js +720 -0
  75. package/components/PlayerBonusCard-C8tT_UZL.js +720 -0
  76. package/components/PlayerBonusCard-OfcmkGqe.cjs +1 -0
  77. package/components/{PlayerBonusCard-BX-b3HKZ.js → PlayerBonusCard-QZKUlUnC.js} +80 -80
  78. package/components/{PlayerBonusCard-BrvsM8No.cjs → PlayerBonusCard-ihCApHIs.cjs} +1 -1
  79. package/components/{PlayerBonusHistory-CuOv2Hc4.js → PlayerBonusHistory-BOug6rj7.js} +33 -33
  80. package/components/{PlayerBonusHistory-Bg0Kax3B.js → PlayerBonusHistory-BXX10tEI.js} +33 -33
  81. package/components/PlayerBonusHistory-CbptkPyg.js +938 -0
  82. package/components/{PlayerBonusHistory-B_a21BCE.cjs → PlayerBonusHistory-DMC3iv-M.cjs} +1 -1
  83. package/components/PlayerBonusHistory-DYNcfnLZ.js +937 -0
  84. package/components/PlayerBonusHistory-USif1_aM.cjs +1 -0
  85. package/components/{PlayerChangePassword-BXTWOpKM.js → PlayerChangePassword-DIVU7Hm-.js} +71 -71
  86. package/components/{PlayerChangePassword-CYvwu077.js → PlayerChangePassword-DRF3YUcY.js} +71 -71
  87. package/components/{PlayerChangePassword-CbBHjN4s.cjs → PlayerChangePassword-DZ0zUct-.cjs} +1 -1
  88. package/components/PlayerDeposit-2rXfB2O5.cjs +1 -0
  89. package/components/{PlayerDeposit-VF5d6vUd.js → PlayerDeposit-Bu1poUUC.js} +75 -75
  90. package/components/{PlayerDeposit-BxvpoON-.js → PlayerDeposit-CC1ZNh0V.js} +75 -75
  91. package/components/{PlayerGamingHistory-CorLWCJo.cjs → PlayerGamingHistory-CITsPSbY.cjs} +1 -1
  92. package/components/{PlayerGamingHistory-D3Ks9sA3.js → PlayerGamingHistory-CIZ2Ous8.js} +84 -84
  93. package/components/PlayerGamingHistory-DV6n7mPC.js +982 -0
  94. package/components/{PlayerGamingHistory-D_p5zZIW.js → PlayerGamingHistory-DdtNlqpX.js} +74 -74
  95. package/components/PlayerGamingHistory-LEBGykAk.js +969 -0
  96. package/components/PlayerGamingHistory-nRhNghIt.cjs +1 -0
  97. package/components/{PlayerPendingWithdrawals-DnRLD9Qj.js → PlayerPendingWithdrawals-BAYRu_8K.js} +26 -26
  98. package/components/{PlayerPendingWithdrawals-CePMH1Ym.js → PlayerPendingWithdrawals-CaouMSqA.js} +26 -26
  99. package/components/{PlayerPendingWithdrawals-D3hbZ7iV.cjs → PlayerPendingWithdrawals-UG-bN1ca.cjs} +1 -1
  100. package/components/{PlayerProfileInfo-CGh-HMYc.js → PlayerProfileInfo-BLPDFygv.js} +56 -56
  101. package/components/{PlayerProfileInfo-BM9bYXPT.js → PlayerProfileInfo-D3NxPM1Z.js} +56 -56
  102. package/components/{PlayerProfileInfo-BST7W89r.cjs → PlayerProfileInfo-DLth9JMy.cjs} +1 -1
  103. package/components/{PlayerRealityCheck-DTbqf0Qh.cjs → PlayerRealityCheck-BmVSMTSf.cjs} +1 -1
  104. package/components/{PlayerRealityCheck-hu40INih.js → PlayerRealityCheck-CI5fiJv3.js} +33 -33
  105. package/components/{PlayerRealityCheck-Dkm-7UeP.js → PlayerRealityCheck-DL5sLluu.js} +33 -33
  106. package/components/{PlayerTransactionHistory-CmHZLNzi.js → PlayerTransactionHistory-BGPDkKNI.js} +24 -24
  107. package/components/{PlayerTransactionHistory-Cp--JykS.cjs → PlayerTransactionHistory-U2CncC4r.cjs} +1 -1
  108. package/components/{PlayerTransactionHistory-Dob8ZHvF.js → PlayerTransactionHistory-x-p-YOv6.js} +24 -24
  109. package/components/{PlayerWithdrawal-DMasfo5k.js → PlayerWithdrawal-BknOF8Sy.js} +19 -19
  110. package/components/{PlayerWithdrawal-BocnE727.cjs → PlayerWithdrawal-CsPPu5bX.cjs} +1 -1
  111. package/components/{PlayerWithdrawal-fB3IW1Dc.js → PlayerWithdrawal-Cx3cOp7C.js} +19 -19
  112. package/es2015/player-account-controller.cjs +1 -1
  113. package/es2015/player-account-controller.js +1 -1
  114. package/esnext/player-account-controller.js +1 -1
  115. package/package.json +1 -1
  116. package/stencil/{checkbox-group-input_9-DyXG_RqX.js → checkbox-group-input_9-BkT4UtkZ.js} +50 -48
  117. package/stencil/checkbox-group-input_9-CDYbpnEQ.cjs +2045 -0
  118. package/stencil/{checkbox-group-input_9-DSksAr33.js → checkbox-group-input_9-CMQLu-qB.js} +50 -48
  119. package/stencil/checkbox-group-input_9-JSy4d2L9.js +13248 -0
  120. package/stencil/checkbox-group-input_9-UDA-XaF9.js +13282 -0
  121. package/stencil/{checkbox-group-input_9-7pHEk7KK.cjs → checkbox-group-input_9-jMRVCzfy.cjs} +5 -5
  122. package/stencil/{general-input-CX-Aoxyz.cjs → general-input--MP17Hyz.cjs} +1 -1
  123. package/stencil/general-input-BbXpUFir.js +48 -0
  124. package/stencil/{general-input-CH-Wnz0o.js → general-input-BqgyG6fv.js} +1 -1
  125. package/stencil/general-input-C6k63W5y.js +48 -0
  126. package/stencil/general-input-TvqmX5hk.cjs +1 -0
  127. package/stencil/{general-input-CuV9Y7I_.js → general-input-V-ZuyFa5.js} +1 -1
  128. package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
  129. package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
  130. package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
  131. package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
  132. package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
  133. package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
  134. package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
  135. package/stencil/{index-9c0f6c58-DRP3WpwA.js → index-9c0f6c58-CqoLeK5G.js} +197 -197
  136. package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
  137. package/stencil/index-9cd44522-BQ_s4zJm.js +626 -0
  138. package/stencil/index-9cd44522-BUwXI--9.js +610 -0
  139. package/stencil/index-9cd44522-BbKqQXqL.js +610 -0
  140. package/stencil/index-9cd44522-C5N2LdVm.js +626 -0
  141. package/stencil/index-9cd44522-QIMe52Dh.cjs +1 -0
  142. package/stencil/index-9cd44522-lJqPKy7q.cjs +1 -0
  143. package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
  144. package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
  145. package/stencil/index-ae04a8b1-ixlRj3zC.js +532 -0
  146. package/stencil/locale-B5abSHU_.cjs +1 -0
  147. package/stencil/locale-BG_TzyDt.js +141 -0
  148. package/stencil/{password-input_2-oaROKAQs.js → password-input_2-C_mvPSDp.js} +19 -19
  149. package/stencil/password-input_2-DcXEnCK_.cjs +105 -0
  150. package/stencil/{password-input_2-BmdsggMk.cjs → password-input_2-DeRFrP9K.cjs} +2 -2
  151. package/stencil/password-input_2-DhPva8mM.js +589 -0
  152. package/stencil/password-input_2-DsZJxliE.js +589 -0
  153. package/stencil/{password-input_2-CPv8XrqV.js → password-input_2-g7twAnPT.js} +19 -19
  154. package/stencil/{player-change-password-gm2-039e300e-BVlNNts_.js → player-change-password-gm2-039e300e-1NkfHZ6r.js} +1 -1
  155. package/stencil/{player-change-password-gm2-039e300e-CSWUPhYT.cjs → player-change-password-gm2-039e300e-BGXXN2fy.cjs} +1 -1
  156. package/stencil/{player-change-password-gm2-039e300e-CCcJUFnW.js → player-change-password-gm2-039e300e-BLQGT3AW.js} +1 -1
  157. package/stencil/player-change-password-gm2-039e300e-BU9mX4ix.cjs +1 -0
  158. package/stencil/player-change-password-gm2-039e300e-DiWG8cwr.js +272 -0
  159. package/stencil/player-change-password-gm2-039e300e-GCkrv9Aa.js +272 -0
  160. package/stencil/{player-change-password-gm2-Ckya-tLH.js → player-change-password-gm2-B2cv54i2.js} +1 -1
  161. package/stencil/{player-change-password-gm2-C6pxbnjL.js → player-change-password-gm2-BB9nhWGy.js} +1 -1
  162. package/stencil/{player-change-password-gm2-C3qCCE1E.cjs → player-change-password-gm2-BWRiCTIP.cjs} +1 -1
  163. package/stencil/player-change-password-gm2-CWzdeleK.cjs +1 -0
  164. package/stencil/player-change-password-gm2-Cyx-9oVQ.js +25 -0
  165. package/stencil/player-change-password-gm2-E5xKJgy3.js +7 -0
  166. package/stencil/{player-kyc-verification-CK7jvih_.js → player-kyc-verification-B8arDCja.js} +1 -1
  167. package/stencil/{player-kyc-verification-ClECAHs-.js → player-kyc-verification-Di40xn9z.js} +1 -1
  168. package/stencil/{player-kyc-verification-CWBei0Yk.cjs → player-kyc-verification-GFBDUbhm.cjs} +1 -1
  169. package/stencil/toggle-checkbox-input-2FXfNCyw.js +54 -0
  170. package/stencil/{toggle-checkbox-input-C-GcqDa0.js → toggle-checkbox-input-3f7U98vC.js} +2 -2
  171. package/stencil/toggle-checkbox-input-BZQethuD.js +54 -0
  172. package/stencil/toggle-checkbox-input-CA92JmGn.cjs +1 -0
  173. package/stencil/{toggle-checkbox-input-L8SjZwTW.js → toggle-checkbox-input-DDDgLFw4.js} +2 -2
  174. package/stencil/toggle-checkbox-input-DXFebhBM.cjs +1 -0
  175. package/stencil/{ui-skeleton-r-lLy7GD.cjs → ui-skeleton-BC4mw1ae.cjs} +1 -1
  176. package/stencil/{ui-skeleton-CWQGWUte.js → ui-skeleton-DT0OMDC6.js} +2 -2
  177. package/stencil/{ui-skeleton-DGSaG5JU.js → ui-skeleton-T4HYbNcC.js} +2 -2
  178. package/stencil/{ui-skeleton-a642cced-BXc76uPc.cjs → ui-skeleton-a642cced-B8H73O_q.cjs} +1 -1
  179. package/stencil/{ui-skeleton-a642cced-21I14Ylk.js → ui-skeleton-a642cced-Ba-weZ4g.js} +1 -1
  180. package/stencil/{ui-skeleton-a642cced-C5tlYQb-.js → ui-skeleton-a642cced-DhjmNsN7.js} +1 -1
  181. package/stencil/{user-deposit-withdrawal-C8N7GB9E.cjs → user-deposit-withdrawal-BQKFgZ31.cjs} +1 -1
  182. package/stencil/{user-deposit-withdrawal-BISsu0Z-.js → user-deposit-withdrawal-DRe5oBqv.js} +1 -1
  183. package/stencil/{user-deposit-withdrawal-BmOGfPLJ.js → user-deposit-withdrawal-Dj3Po03r.js} +1 -1
  184. package/stencil/{user-transaction-history-Bg6onQ-I.js → user-transaction-history-6-z3byrF.js} +1 -1
  185. package/stencil/{user-transaction-history-BO92Qvk4.js → user-transaction-history-Dca7qx08.js} +1 -1
  186. package/stencil/{user-transaction-history-COJbthDt.cjs → user-transaction-history-DrhquxkJ.cjs} +1 -1
  187. package/stencil/{vaadin-button-mixin-5fa6ca77-BEoWt381.cjs → vaadin-button-mixin-e8c3f355-BdntioNA.cjs} +102 -94
  188. package/stencil/{vaadin-button-mixin-5fa6ca77-DNBadodK.js → vaadin-button-mixin-e8c3f355-DON-rAuy.js} +584 -569
  189. package/stencil/{vaadin-button-mixin-5fa6ca77-SQip1zuF.js → vaadin-button-mixin-e8c3f355-DQ5UgwNf.js} +601 -586
  190. package/components/GeneralLogout-aDlrOvb2.cjs +0 -21
  191. package/components/PlayerAccountBettingHistory-CIfM4HLW.js +0 -328
  192. package/components/PlayerAccountBettingHistory-CaGfH6ef.cjs +0 -1
  193. package/components/PlayerDeposit-mr7WW9bf.cjs +0 -1
  194. package/stencil/index-1ef3a64c-Dr_Pi_Tn.cjs +0 -1
  195. package/stencil/index-1ef3a64c-gNJv-qax.js +0 -572
  196. package/stencil/index-1ef3a64c-jZYsp9Sk.js +0 -556
  197. package/stencil/index-7c5e707a-40SRy2Ab.js +0 -616
  198. package/stencil/index-7c5e707a-B9tD4t-g.js +0 -643
  199. package/stencil/index-7c5e707a-DosLPDO6.cjs +0 -1
  200. package/stencil/index-9c0f6c58-CiH_jMvd.cjs +0 -1
  201. package/stencil/index-9c0f6c58-jtioo3_h.js +0 -576
  202. package/stencil/index-9cd44522-BMi5SCI8.cjs +0 -1
  203. package/stencil/index-9cd44522-C5PazzcR.js +0 -626
  204. package/stencil/index-9cd44522-CTVB6N0s.js +0 -610
  205. package/stencil/index-ae04a8b1-BIDvdZJs.js +0 -532
  206. package/stencil/index-ae04a8b1-BUa25EUq.cjs +0 -1
  207. package/stencil/index-ae04a8b1-BYWsXc_G.js +0 -516
  208. package/stencil/toggle-checkbox-input-B-OT73su.cjs +0 -1
@@ -0,0 +1,589 @@
1
+ import { r as w, c as p, h as a, g as y } from "./index-9cd44522-BUwXI--9.js";
2
+ import { t as o } from "./locale-BG_TzyDt.js";
3
+ import { r as d, h, T as b, a as c, i as m, B as x, o as v, f as C, L as F, R as V, a9 as S, s as k, M as I, aa as M, g as E, n as B, j as R, H as T, I as P, b as g, E as N, P as _ } from "./vaadin-button-mixin-e8c3f355-DON-rAuy.js";
4
+ import { t as D } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
5
+ import { P as ae } from "./player-change-password-gm2-039e300e-DiWG8cwr.js";
6
+ /**
7
+ * @license
8
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
9
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10
+ */
11
+ d("vaadin-text-field", v, {
12
+ moduleId: "lumo-text-field-styles"
13
+ });
14
+ /**
15
+ * @license
16
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
17
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
18
+ */
19
+ const A = (t) => class extends P(t) {
20
+ static get properties() {
21
+ return {
22
+ /**
23
+ * Whether the value of the control can be automatically completed by the browser.
24
+ * List of available options at:
25
+ * https://developer.mozilla.org/en/docs/Web/HTML/Element/input#attr-autocomplete
26
+ */
27
+ autocomplete: {
28
+ type: String
29
+ },
30
+ /**
31
+ * This is a property supported by Safari that is used to control whether
32
+ * autocorrection should be enabled when the user is entering/editing the text.
33
+ * Possible values are:
34
+ * on: Enable autocorrection.
35
+ * off: Disable autocorrection.
36
+ */
37
+ autocorrect: {
38
+ type: String
39
+ },
40
+ /**
41
+ * This is a property supported by Safari and Chrome that is used to control whether
42
+ * autocapitalization should be enabled when the user is entering/editing the text.
43
+ * Possible values are:
44
+ * characters: Characters capitalization.
45
+ * words: Words capitalization.
46
+ * sentences: Sentences capitalization.
47
+ * none: No capitalization.
48
+ */
49
+ autocapitalize: {
50
+ type: String,
51
+ reflectToAttribute: !0
52
+ }
53
+ };
54
+ }
55
+ static get delegateAttrs() {
56
+ return [...super.delegateAttrs, "autocapitalize", "autocomplete", "autocorrect"];
57
+ }
58
+ // Workaround for https://github.com/Polymer/polymer/issues/5259
59
+ get __data() {
60
+ return this.__dataValue || {};
61
+ }
62
+ set __data(e) {
63
+ this.__dataValue = e;
64
+ }
65
+ /**
66
+ * @param {HTMLElement} input
67
+ * @protected
68
+ * @override
69
+ */
70
+ _inputElementChanged(e) {
71
+ super._inputElementChanged(e), e && (e.value && e.value !== this.value && (console.warn(`Please define value on the <${this.localName}> component!`), e.value = ""), this.value && (e.value = this.value));
72
+ }
73
+ /**
74
+ * Override an event listener from `FocusMixin`.
75
+ * @param {boolean} focused
76
+ * @protected
77
+ * @override
78
+ */
79
+ _setFocused(e) {
80
+ super._setFocused(e), !e && document.hasFocus() && this.validate();
81
+ }
82
+ /**
83
+ * Override an event listener from `InputMixin`
84
+ * to mark as valid after user started typing.
85
+ * @param {Event} event
86
+ * @protected
87
+ * @override
88
+ */
89
+ _onInput(e) {
90
+ super._onInput(e), this.invalid && this.validate();
91
+ }
92
+ /**
93
+ * Override an observer from `InputMixin` to validate the field
94
+ * when a new value is set programmatically.
95
+ *
96
+ * @param {string | undefined} newValue
97
+ * @param {string | undefined} oldValue
98
+ * @protected
99
+ * @override
100
+ */
101
+ _valueChanged(e, s) {
102
+ super._valueChanged(e, s), s !== void 0 && this.invalid && this.validate();
103
+ }
104
+ };
105
+ /**
106
+ * @license
107
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
108
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
109
+ */
110
+ const $ = (t) => class extends A(t) {
111
+ static get properties() {
112
+ return {
113
+ /**
114
+ * Maximum number of characters (in Unicode code points) that the user can enter.
115
+ */
116
+ maxlength: {
117
+ type: Number
118
+ },
119
+ /**
120
+ * Minimum number of characters (in Unicode code points) that the user can enter.
121
+ */
122
+ minlength: {
123
+ type: Number
124
+ },
125
+ /**
126
+ * A regular expression that the value is checked against.
127
+ * The pattern must match the entire value, not just some subset.
128
+ */
129
+ pattern: {
130
+ type: String
131
+ }
132
+ };
133
+ }
134
+ static get delegateAttrs() {
135
+ return [...super.delegateAttrs, "maxlength", "minlength", "pattern"];
136
+ }
137
+ static get constraints() {
138
+ return [...super.constraints, "maxlength", "minlength", "pattern"];
139
+ }
140
+ constructor() {
141
+ super(), this._setType("text");
142
+ }
143
+ /** @protected */
144
+ get clearElement() {
145
+ return this.$.clearButton;
146
+ }
147
+ /** @protected */
148
+ ready() {
149
+ super.ready(), this.addController(
150
+ new C(this, (e) => {
151
+ this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
152
+ })
153
+ ), this.addController(new F(this.inputElement, this._labelController));
154
+ }
155
+ };
156
+ /**
157
+ * @license
158
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
159
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
160
+ */
161
+ d("vaadin-text-field", V, { moduleId: "vaadin-text-field-styles" });
162
+ class f extends $(g(N(_))) {
163
+ static get is() {
164
+ return "vaadin-text-field";
165
+ }
166
+ static get template() {
167
+ return h`
168
+ <div class="vaadin-field-container">
169
+ <div part="label">
170
+ <slot name="label"></slot>
171
+ <span part="required-indicator" aria-hidden="true" on-click="focus"></span>
172
+ </div>
173
+
174
+ <vaadin-input-container
175
+ part="input-field"
176
+ readonly="[[readonly]]"
177
+ disabled="[[disabled]]"
178
+ invalid="[[invalid]]"
179
+ theme$="[[_theme]]"
180
+ >
181
+ <slot name="prefix" slot="prefix"></slot>
182
+ <slot name="input"></slot>
183
+ <slot name="suffix" slot="suffix"></slot>
184
+ <div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
185
+ </vaadin-input-container>
186
+
187
+ <div part="helper-text">
188
+ <slot name="helper"></slot>
189
+ </div>
190
+
191
+ <div part="error-message">
192
+ <slot name="error-message"></slot>
193
+ </div>
194
+ </div>
195
+ <slot name="tooltip"></slot>
196
+ `;
197
+ }
198
+ static get properties() {
199
+ return {
200
+ /**
201
+ * Maximum number of characters (in Unicode code points) that the user can enter.
202
+ */
203
+ maxlength: {
204
+ type: Number
205
+ },
206
+ /**
207
+ * Minimum number of characters (in Unicode code points) that the user can enter.
208
+ */
209
+ minlength: {
210
+ type: Number
211
+ }
212
+ };
213
+ }
214
+ /** @protected */
215
+ ready() {
216
+ super.ready(), this._tooltipController = new b(this), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this.addController(this._tooltipController);
217
+ }
218
+ }
219
+ c(f);
220
+ /**
221
+ * @license
222
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
223
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
224
+ */
225
+ const H = m`
226
+ :host {
227
+ position: absolute;
228
+ right: 0;
229
+ top: 0;
230
+ margin: 0;
231
+ padding: 0;
232
+ width: 100%;
233
+ height: 100%;
234
+ min-width: auto;
235
+ background: transparent;
236
+ outline: none;
237
+ }
238
+ `;
239
+ d("vaadin-password-field-button", [S, H], {
240
+ moduleId: "lumo-password-field-button"
241
+ });
242
+ /**
243
+ * @license
244
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
245
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
246
+ */
247
+ const L = m`
248
+ [part='reveal-button']::before {
249
+ content: var(--lumo-icons-eye);
250
+ }
251
+
252
+ :host([password-visible]) [part='reveal-button']::before {
253
+ content: var(--lumo-icons-eye-disabled);
254
+ }
255
+
256
+ /* Make it easy to hide the button across the whole app */
257
+ [part='reveal-button'] {
258
+ position: relative;
259
+ display: var(--lumo-password-field-reveal-button-display, block);
260
+ }
261
+
262
+ [part='reveal-button'][hidden] {
263
+ display: none !important;
264
+ }
265
+ `;
266
+ d("vaadin-password-field", [v, L], { moduleId: "lumo-password-field" });
267
+ /**
268
+ * @license
269
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
270
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
271
+ */
272
+ d("vaadin-password-field-button", k, { moduleId: "vaadin-password-field-button-styles" });
273
+ class z extends x(I(g(_))) {
274
+ static get is() {
275
+ return "vaadin-password-field-button";
276
+ }
277
+ static get template() {
278
+ return h``;
279
+ }
280
+ }
281
+ c(z);
282
+ /**
283
+ * @license
284
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
285
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
286
+ */
287
+ const q = (t) => class extends M(E(B(R(t)))) {
288
+ static get properties() {
289
+ return {
290
+ /**
291
+ * Set to true to hide the eye icon which toggles the password visibility.
292
+ * @attr {boolean} reveal-button-hidden
293
+ */
294
+ revealButtonHidden: {
295
+ type: Boolean,
296
+ observer: "_revealButtonHiddenChanged",
297
+ value: !1
298
+ },
299
+ /**
300
+ * True if the password is visible ([type=text]).
301
+ * @attr {boolean} password-visible
302
+ */
303
+ passwordVisible: {
304
+ type: Boolean,
305
+ value: !1,
306
+ reflectToAttribute: !0,
307
+ observer: "_passwordVisibleChanged",
308
+ readOnly: !0
309
+ },
310
+ /**
311
+ * An object with translated strings used for localization.
312
+ * It has the following structure and default values:
313
+ *
314
+ * ```
315
+ * {
316
+ * // Translation of the reveal icon button accessible label
317
+ * reveal: 'Show password'
318
+ * }
319
+ * ```
320
+ */
321
+ i18n: {
322
+ type: Object,
323
+ value: () => ({
324
+ reveal: "Show password"
325
+ })
326
+ }
327
+ };
328
+ }
329
+ static get observers() {
330
+ return ["__i18nChanged(i18n)"];
331
+ }
332
+ constructor() {
333
+ super(), this._setType("password"), this.__boundRevealButtonClick = this._onRevealButtonClick.bind(this), this.__boundRevealButtonMouseDown = this._onRevealButtonMouseDown.bind(this), this.__lastChange = "";
334
+ }
335
+ /** @protected */
336
+ get slotStyles() {
337
+ const e = this.localName;
338
+ return [
339
+ ...super.slotStyles,
340
+ `
341
+ ${e} [slot="input"]::-ms-reveal {
342
+ display: none;
343
+ }
344
+ `
345
+ ];
346
+ }
347
+ /** @protected */
348
+ get _revealNode() {
349
+ return this._revealButtonController && this._revealButtonController.node;
350
+ }
351
+ /** @protected */
352
+ ready() {
353
+ super.ready(), this._revealPart = this.shadowRoot.querySelector('[part="reveal-button"]'), this._revealButtonController = new T(this, "reveal", "vaadin-password-field-button", {
354
+ initializer: (e) => {
355
+ e.disabled = this.disabled, e.addEventListener("click", this.__boundRevealButtonClick), e.addEventListener("mousedown", this.__boundRevealButtonMouseDown);
356
+ }
357
+ }), this.addController(this._revealButtonController), this.__updateAriaLabel(this.i18n), this._updateToggleState(!1), this._toggleRevealHidden(this.revealButtonHidden), this.inputElement && (this.inputElement.autocapitalize = "off");
358
+ }
359
+ /**
360
+ * Override an event listener inherited from `InputControlMixin`
361
+ * to store the value at the moment of the native `change` event.
362
+ * @param {Event} event
363
+ * @protected
364
+ * @override
365
+ */
366
+ _onChange(e) {
367
+ super._onChange(e), this.__lastChange = this.inputElement.value;
368
+ }
369
+ /**
370
+ * Override method inherited from `FocusMixin` to mark field as focused
371
+ * when focus moves to the reveal button using Shift Tab.
372
+ * @param {Event} event
373
+ * @return {boolean}
374
+ * @protected
375
+ */
376
+ _shouldSetFocus(e) {
377
+ return e.target === this.inputElement || e.target === this._revealNode;
378
+ }
379
+ /**
380
+ * Override method inherited from `FocusMixin` to not hide password
381
+ * when focus moves to the reveal button or back to the input.
382
+ * @param {Event} event
383
+ * @return {boolean}
384
+ * @protected
385
+ */
386
+ _shouldRemoveFocus(e) {
387
+ return !(e.relatedTarget === this._revealNode || e.relatedTarget === this.inputElement && e.target === this._revealNode);
388
+ }
389
+ /**
390
+ * Override method inherited from `FocusMixin` to toggle password visibility.
391
+ * @param {boolean} focused
392
+ * @protected
393
+ * @override
394
+ */
395
+ _setFocused(e) {
396
+ if (super._setFocused(e), !e)
397
+ this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
398
+ else {
399
+ const s = this.getRootNode().activeElement === this._revealNode;
400
+ this.toggleAttribute("focus-ring", this._keyboardActive && !s);
401
+ }
402
+ }
403
+ /** @private */
404
+ __updateAriaLabel(e) {
405
+ e && e.reveal && this._revealNode && this._revealNode.setAttribute("aria-label", e.reveal);
406
+ }
407
+ /** @private */
408
+ __i18nChanged(e) {
409
+ this.__updateAriaLabel(e);
410
+ }
411
+ /** @private */
412
+ _revealButtonHiddenChanged(e) {
413
+ this._toggleRevealHidden(e);
414
+ }
415
+ /** @private */
416
+ _togglePasswordVisibility() {
417
+ this._setPasswordVisible(!this.passwordVisible);
418
+ }
419
+ /** @private */
420
+ _onRevealButtonClick() {
421
+ this._togglePasswordVisibility();
422
+ }
423
+ /** @private */
424
+ _onRevealButtonMouseDown(e) {
425
+ e.preventDefault(), this.inputElement.focus();
426
+ }
427
+ /** @private */
428
+ _toggleRevealHidden(e) {
429
+ this._revealNode && (e ? (this._revealPart.setAttribute("hidden", ""), this._revealNode.setAttribute("tabindex", "-1"), this._revealNode.setAttribute("aria-hidden", "true")) : (this._revealPart.removeAttribute("hidden"), this._revealNode.setAttribute("tabindex", "0"), this._revealNode.removeAttribute("aria-hidden")));
430
+ }
431
+ /** @private */
432
+ _updateToggleState(e) {
433
+ this._revealNode && this._revealNode.setAttribute("aria-pressed", e ? "true" : "false");
434
+ }
435
+ /** @private */
436
+ _passwordVisibleChanged(e) {
437
+ this._setType(e ? "text" : "password"), this._updateToggleState(e);
438
+ }
439
+ /**
440
+ * Override method inherited from `DisabledMixin` to synchronize the reveal button
441
+ * disabled state with the password field disabled state.
442
+ * @param {boolean} disabled
443
+ * @param {boolean} oldDisabled
444
+ * @protected
445
+ */
446
+ _disabledChanged(e, s) {
447
+ super._disabledChanged(e, s), this._revealNode && (this._revealNode.disabled = e);
448
+ }
449
+ };
450
+ /**
451
+ * @license
452
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
453
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
454
+ */
455
+ const O = h`
456
+ <div part="reveal-button" slot="suffix">
457
+ <slot name="reveal"></slot>
458
+ </div>
459
+ `;
460
+ let u;
461
+ class K extends q(f) {
462
+ static get is() {
463
+ return "vaadin-password-field";
464
+ }
465
+ static get template() {
466
+ if (!u) {
467
+ u = super.template.cloneNode(!0);
468
+ const i = O.content.querySelector('[part="reveal-button"]');
469
+ u.content.querySelector('[part="input-field"]').appendChild(i);
470
+ }
471
+ return u;
472
+ }
473
+ }
474
+ c(K);
475
+ const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}', W = j, G = class {
476
+ constructor(t) {
477
+ w(this, t), this.sendOriginalValidityState = p(this, "sendOriginalValidityState", 7), this.sendValidityState = p(this, "sendValidityState", 7), this.sendInputValue = p(this, "sendInputValue", 7), this.touched = !1, this.originalValid = !1, this.validationPattern = "", this.duplicateInputValue = null, this.handleInput = (i) => {
478
+ this.value = i.target.value, this.calculateComplexity(this.value), this.showPopup = !0, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
479
+ this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
480
+ }, 500);
481
+ }, this.handleRevealField = (i) => {
482
+ i.stopPropagation(), window.postMessage({ type: `registrationShow${this.name}` }, window.location.href);
483
+ }, this.handleBlur = (i) => {
484
+ this.value = i.target.value, this.showPopup = !1, this.touched = !0, this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage();
485
+ }, this.handleFocus = () => {
486
+ this.showPopup = !0, this.calculateComplexity(this.value);
487
+ }, this.setClientStyling = () => {
488
+ let i = document.createElement("style");
489
+ i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
490
+ }, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.defaultValue = "", this.autofilled = void 0, this.tooltip = void 0, this.validation = void 0, this.language = void 0, this.emitValue = void 0, this.isDuplicateInput = void 0, this.clientStyling = "", this.isValid = void 0, this.errorMessage = void 0, this.limitStylingAppends = !1, this.showTooltip = !1, this.passwordComplexity = void 0, this.showPopup = void 0, this.value = "";
491
+ }
492
+ handleStylingChange(t, i) {
493
+ t !== i && this.setClientStyling();
494
+ }
495
+ validityChanged() {
496
+ this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
497
+ }
498
+ valueChanged() {
499
+ this.isDuplicateInput || (this.calculateComplexity(this.value), this.sendOriginalValidityState.emit({ name: this.name, valid: this.setValidity() }));
500
+ }
501
+ emitValueHandler(t) {
502
+ t == !0 && this.isValid && this.valueHandler({ name: this.name, value: this.value, type: "duplicate" });
503
+ }
504
+ validityStateHandler(t) {
505
+ this.sendValidityState.emit(t);
506
+ }
507
+ valueHandler(t) {
508
+ this.sendInputValue.emit(t);
509
+ }
510
+ originalValidityChangedHandler(t) {
511
+ this.isDuplicateInput && (t.detail.valid ? (this.originalValid = !0, this.isValid = this.setValidity()) : (this.originalValid = !1, this.isValid = !1, this.value !== "" && (this.errorMessage = this.setErrorMessage())));
512
+ }
513
+ valueChangedHandler(t) {
514
+ this.isDuplicateInput && this.name === t.detail.name + "Duplicate" && (this.duplicateInputValue = t.detail.value, this.touched && (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage())), this.name === t.detail.name + "Duplicate" && this.name.replace("Duplicate", "") === t.detail.name && this.touched === !0 && (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage());
515
+ }
516
+ handleClickOutside(t) {
517
+ t.composedPath()[0] !== this.tooltipIconReference && t.composedPath()[0] !== this.tooltipReference && (this.showTooltip = !1);
518
+ }
519
+ componentDidRender() {
520
+ !this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
521
+ }
522
+ componentDidLoad() {
523
+ this.inputReference = this.element.shadowRoot.querySelector("input"), this.passwordButton = this.element.shadowRoot.querySelector("vaadin-password-field-button"), this.passwordButton.tabIndex = -1, this.passwordButton.addEventListener("click", (t) => {
524
+ this.handleRevealField(t);
525
+ }), this.defaultValue && (this.value = this.defaultValue, this.calculateComplexity(this.value), this.valueHandler({ name: this.name, value: this.value }), this.isDuplicateInput && (this.duplicateInputValue = this.defaultValue, this.touched = !0)), this.isValid = this.setValidity();
526
+ }
527
+ disconnectedCallback() {
528
+ this.passwordButton.removeEventListener("click", this.handleRevealField);
529
+ }
530
+ calculateComplexity(t) {
531
+ this.passwordComplexity = this.validation.custom.filter((i) => i.rule === "regex").map((i) => {
532
+ const s = new RegExp(i.pattern).test(t);
533
+ return { rule: i.displayName, ruleKey: i.errorKey, passed: s };
534
+ });
535
+ }
536
+ setValidity() {
537
+ var t, i;
538
+ return this.isDuplicateInput && this.duplicateInputValue !== this.value ? !1 : !((t = this.passwordComplexity) === null || t === void 0) && t.every((e) => e.passed) ? (i = this.inputReference) === null || i === void 0 ? void 0 : i.validity.valid : !1;
539
+ }
540
+ setPattern() {
541
+ var t, i;
542
+ if (((t = this.validation.custom) === null || t === void 0 ? void 0 : t.length) > 0)
543
+ return (i = this.validation.custom.find((e) => e.rule === "regex")) === null || i === void 0 ? void 0 : i.pattern;
544
+ }
545
+ setErrorMessage() {
546
+ var t, i, e, s;
547
+ if (this.isDuplicateInput && !this.originalValid)
548
+ return o("invalidOriginalPasswordError", this.language);
549
+ if (this.inputReference.validity.patternMismatch) {
550
+ const r = (t = this.validation.custom.find((l) => l.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, n = (i = this.validation.custom.find((l) => l.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
551
+ return o(`${r}`, this.language) ? o(`${r}`, this.language) : n;
552
+ }
553
+ if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
554
+ return o("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
555
+ if (this.inputReference.validity.valueMissing)
556
+ return o("requiredError", this.language);
557
+ if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
558
+ const r = (e = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || e === void 0 ? void 0 : e.errorKey, n = (s = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || s === void 0 ? void 0 : s.errorMessage;
559
+ return o(`${r}`, this.language) ? o(`${r}`, this.language) : n;
560
+ }
561
+ }
562
+ renderTooltip() {
563
+ return this.showTooltip ? a("div", { class: `password__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
564
+ }
565
+ renderComplexityPopup() {
566
+ const t = this.passwordComplexity.length, e = this.passwordComplexity.filter((r) => r.passed).length / t, s = this.passwordComplexity.every((r) => r.passed);
567
+ return a("div", { class: `password__complexity ${this.showPopup ? "" : "password__complexity--hidden"}` }, a("div", { class: "password__complexity--strength" }, a("p", { class: "password__complexity--text" }, o("passwordStrength", this.language), " ", a("span", { class: "password__complexity--text-bold" }, o(`${s ? "passwordStrengthStrong" : "passwordStrengthWeak"}`, this.language))), a("meter", { value: e, min: "0", max: "1" })), a("div", null, this.passwordComplexity.map((r, n) => a("div", { key: n }, a("input", { class: "password__complexity--checkbox", type: "checkbox", checked: r.passed, disabled: !0 }), a("span", null, o(`${r.ruleKey}`, this.language) ? o(`${r.ruleKey}`, this.language) : r.rule)))));
568
+ }
569
+ render() {
570
+ let t = "";
571
+ return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), a("div", { key: "36d21c63dcd15b6de2d2de417ce97b520493cd16", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, a("div", { key: "3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7", class: "password__wrapper--flex" }, a("label", { key: "74fee343f4d6adbbb22e88c5d51d3a471979d42e", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), a("div", { key: "d1f30d776c5612b1a5581859b929bee171105bf5", class: "password__wrapper--relative" }, this.tooltip && a("img", { key: "932201990b5fa67f448d4ab8ca7f844f757d5e47", class: "password__tooltip-icon", src: D, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), a("vaadin-password-field", { key: "83f00cb4452b60fd883efcd742d6eb463a8fc729", type: "password", id: `${this.name}__input`, class: `password__input ${t}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), a("small", { key: "0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
572
+ }
573
+ get element() {
574
+ return y(this);
575
+ }
576
+ static get watchers() {
577
+ return {
578
+ clientStyling: ["handleStylingChange"],
579
+ isValid: ["validityChanged"],
580
+ value: ["valueChanged"],
581
+ emitValue: ["emitValueHandler"]
582
+ };
583
+ }
584
+ };
585
+ G.style = W;
586
+ export {
587
+ G as password_input,
588
+ ae as player_change_password_gm2
589
+ };