@everymatrix/player-account-controller-nd 1.76.3 → 1.76.5

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 (161) hide show
  1. package/components/{GeneralLogout-C-KQBmk3.js → GeneralLogout-BKUfd8BJ.js} +1432 -1397
  2. package/components/GeneralLogout-CuvnoUn1.cjs +21 -0
  3. package/components/{GeneralLogout-C52-PhwD.js → GeneralLogout-oSYhP-Iy.js} +1427 -1392
  4. package/components/{PlayerAccountBettingHistory-5QM3bGgT.js → PlayerAccountBettingHistory-BgDQMawM.js} +27 -27
  5. package/components/{PlayerAccountBettingHistory-B91V20F2.js → PlayerAccountBettingHistory-BlbdV8eE.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-CE023VGz.cjs → PlayerAccountBettingHistory-Cb9zY2cj.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-CSSQNl0K.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-C5FFOJ5V.js → PlayerAccountBiometrics-DG8PwDTf.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-DuvDCmjx.js → PlayerAccountBiometrics-wy6pz2CT.js} +22 -22
  10. package/components/{PlayerAccountClosureNd-BEMKT7IM.js → PlayerAccountClosureNd-BMxbB-XD.js} +17 -17
  11. package/components/{PlayerAccountClosureNd-CYHq0859.js → PlayerAccountClosureNd-Cp7kk_QC.js} +17 -17
  12. package/components/{PlayerAccountClosureNd-CMzRAP8U.cjs → PlayerAccountClosureNd-zBlQJ0Iy.cjs} +1 -1
  13. package/components/{PlayerAccountControllerNd-5P_qraz8.cjs → PlayerAccountControllerNd-5lLrmGqW.cjs} +1 -1
  14. package/components/{PlayerAccountControllerNd-D_dltJgG.js → PlayerAccountControllerNd-CEuZJ_Oy.js} +143 -143
  15. package/components/{PlayerAccountControllerNd-C2xNfItK.js → PlayerAccountControllerNd-Dl1DjlA3.js} +141 -141
  16. package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-BPVpte4c.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-B7ppWJQ6.js → PlayerAccountGamingLimits-BgxS4Frr.js} +19 -19
  18. package/components/{PlayerAccountGamingLimits-DMS9a3TN.js → PlayerAccountGamingLimits-DxJATH5L.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js → PlayerAccountGamingLimitsConfirmationModal-CFwNex1C.js} +53 -53
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs +1 -0
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js → PlayerAccountGamingLimitsConfirmationModal-CvyHjYBX.js} +53 -53
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js → PlayerAccountGamingLimitsGroupEdit-8LGyrjL0.js} +1079 -1081
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js → PlayerAccountGamingLimitsGroupEdit-KwKmUGcw.js} +1079 -1081
  24. package/components/PlayerAccountGamingLimitsGroupEdit-gUkWnHwu.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js → PlayerAccountGamingLimitsHistory2Nd-C5iI6zPo.js} +78 -78
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs → PlayerAccountGamingLimitsHistory2Nd-DJfR3lP7.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js → PlayerAccountGamingLimitsHistory2Nd-Zl35hP7C.js} +78 -78
  28. package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-B1-rS3C8.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js → PlayerAccountGamingLimitsInfoCard-C5NKAWiQ.js} +80 -80
  30. package/components/{PlayerAccountGamingLimitsInfoCard-DjnVkaho.js → PlayerAccountGamingLimitsInfoCard-CSDRi3f-.js} +80 -80
  31. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DNNXs-Or.cjs +35 -0
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-nx7oRLey.js → PlayerAccountGamingLimitsPage2Gm16Nd-DXDdin59.js} +852 -865
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B6s5JpNY.js → PlayerAccountGamingLimitsPage2Gm16Nd-c6uRQ9jp.js} +821 -834
  34. package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPopup-1ObhRFHn.js → PlayerAccountGamingLimitsPopup-DCN31S-r.js} +28 -28
  36. package/components/{PlayerAccountGamingLimitsPopup-lZ7y_RVP.js → PlayerAccountGamingLimitsPopup-DrJTQvtg.js} +28 -28
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-D97T9bNZ.cjs → PlayerAccountGamingLimitsWrapper2Nd-BP57Wl4h.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd-Blbz-UsS.js → PlayerAccountGamingLimitsWrapper2Nd-BxM8WDun.js} +37 -37
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-Bgr6DeY3.js → PlayerAccountGamingLimitsWrapper2Nd-CpWQkiKp.js} +37 -37
  40. package/components/{PlayerAccountGeneralConfirmationModal-Bgat7eVE.js → PlayerAccountGeneralConfirmationModal-BVL5axI_.js} +68 -68
  41. package/components/{PlayerAccountGeneralConfirmationModal-DrgjMSLh.js → PlayerAccountGeneralConfirmationModal-DiAHffly.js} +68 -68
  42. package/components/PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs +1 -0
  43. package/components/{PlayerAccountMenuNd-alDPH0d2.js → PlayerAccountMenuNd-Bu9ZxduC.js} +29 -29
  44. package/components/{PlayerAccountMenuNd-Yk5u12tl.cjs → PlayerAccountMenuNd-CizaV1PR.cjs} +1 -1
  45. package/components/{PlayerAccountMenuNd-V9EOIgPS.js → PlayerAccountMenuNd-CrAZDSaS.js} +29 -29
  46. package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-CzspHDhO.cjs} +1 -1
  47. package/components/{PlayerAccountModal-9FK6eAt0.js → PlayerAccountModal-DAf18_Du.js} +25 -25
  48. package/components/{PlayerAccountModal-DCsw7iyn.js → PlayerAccountModal-YdQXeL8A.js} +25 -25
  49. package/components/{PlayerAccountNotifications-BVfKQdMA.js → PlayerAccountNotifications-5zu1lBMx.js} +36 -36
  50. package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-CGmkTd-y.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-BzEDVvTZ.js → PlayerAccountNotifications-vIvTXRgY.js} +35 -35
  52. package/components/{PlayerAccountProductRestriction-DmWDaeEI.js → PlayerAccountProductRestriction-Bc1UsZEX.js} +1498 -1494
  53. package/components/{PlayerAccountProductRestriction-BJ0LFpLp.cjs → PlayerAccountProductRestriction-D0nA5nkC.cjs} +263 -263
  54. package/components/{PlayerAccountProductRestriction-EAWMHqK4.js → PlayerAccountProductRestriction-yHlm7eYA.js} +1513 -1509
  55. package/components/{PlayerAccountSelfExclusionNd-BLr1N-Bv.cjs → PlayerAccountSelfExclusionNd-CiZhZ3oH.cjs} +154 -154
  56. package/components/{PlayerAccountSelfExclusionNd-BI74DoLY.js → PlayerAccountSelfExclusionNd-DBxusFnq.js} +1205 -1205
  57. package/components/{PlayerAccountSelfExclusionNd-CiB251y6.js → PlayerAccountSelfExclusionNd-WNVrbBiC.js} +899 -899
  58. package/components/{PlayerAccountTimeout-U0kgxhKU.cjs → PlayerAccountTimeout-C3mITswZ.cjs} +1 -1
  59. package/components/{PlayerAccountTimeout-BlJS9laL.js → PlayerAccountTimeout-CFoyQWDh.js} +103 -103
  60. package/components/{PlayerAccountTimeout-GP0WHuhG.js → PlayerAccountTimeout-DB5OWmQz.js} +103 -103
  61. package/components/{PlayerAccountTransactionsHistory-CNgQQxdT.cjs → PlayerAccountTransactionsHistory-BXPhhTn2.cjs} +1 -1
  62. package/components/{PlayerAccountTransactionsHistory-D5K0uJEO.js → PlayerAccountTransactionsHistory-Chs6yNlk.js} +84 -84
  63. package/components/{PlayerAccountTransactionsHistory-Lh_TpwTB.js → PlayerAccountTransactionsHistory-CzIF4uh5.js} +84 -84
  64. package/components/PlayerActiveBonuses-DVq9bN8v.cjs +4 -0
  65. package/components/PlayerActiveBonuses-Db-RT_8J.js +1170 -0
  66. package/components/PlayerActiveBonuses-_pLWqk1d.js +1169 -0
  67. package/components/{PlayerBonusCard-BbRQx8Gg.js → PlayerBonusCard-Bq3pVRnf.js} +81 -81
  68. package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-C6zYcpN6.cjs} +1 -1
  69. package/components/{PlayerBonusCard-BhW_g3sH.js → PlayerBonusCard-DPmKzmhw.js} +81 -81
  70. package/components/PlayerBonusHistory-CwJnu3Fk.js +1089 -0
  71. package/components/PlayerBonusHistory-DXmWAtYM.cjs +4 -0
  72. package/components/PlayerBonusHistory-DnQCKoKZ.js +1100 -0
  73. package/components/{PlayerChangePasswordNd-DUzbCK4p.js → PlayerChangePasswordNd-BJdk4OhW.js} +71 -71
  74. package/components/{PlayerChangePasswordNd-DSIi_04v.cjs → PlayerChangePasswordNd-BgLvdsST.cjs} +1 -1
  75. package/components/{PlayerChangePasswordNd-DWsHRVAH.js → PlayerChangePasswordNd-CTV_CCcj.js} +71 -71
  76. package/components/{PlayerDeposit-CmBFg6tX.cjs → PlayerDeposit-BsyYS9xx.cjs} +1 -1
  77. package/components/{PlayerDeposit-BeGgsgNu.js → PlayerDeposit-D5ykTYYS.js} +29 -29
  78. package/components/{PlayerDeposit-CI5GIyAe.js → PlayerDeposit-syo0F-Bg.js} +29 -29
  79. package/components/{PlayerGamingHistory-F3yi70Vu.cjs → PlayerGamingHistory-B0tUInli.cjs} +1 -1
  80. package/components/{PlayerGamingHistory-BJQKapHg.js → PlayerGamingHistory-DeCBpJ1N.js} +82 -82
  81. package/components/{PlayerGamingHistory-DEgVt4st.js → PlayerGamingHistory-MfkUQADr.js} +102 -102
  82. package/components/{PlayerPendingWithdrawals-BL4JTLkC.js → PlayerPendingWithdrawals-C0wYmh2S.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-Dvq9lK8F.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-o6_OjL5C.js → PlayerPendingWithdrawals-i7OozfVP.js} +26 -26
  85. package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CImeJryH.cjs} +2 -2
  86. package/components/{PlayerProfileInfo-D0A3aRV_.js → PlayerProfileInfo-D5V5FYyI.js} +162 -162
  87. package/components/{PlayerProfileInfo-xRMbiw1T.js → PlayerProfileInfo-DiCsTYSd.js} +150 -150
  88. package/components/{PlayerRealityCheck-BEiZhn6p.js → PlayerRealityCheck-BIebwdRX.js} +45 -45
  89. package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-BynMsi1X.cjs} +1 -1
  90. package/components/{PlayerRealityCheck-CYU_NrFB.js → PlayerRealityCheck-Cjp4DHJi.js} +44 -44
  91. package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-BU4_vLyx.cjs} +1 -1
  92. package/components/{PlayerTransactionHistory-BS1LjP09.js → PlayerTransactionHistory-DjQdwT5r.js} +19 -19
  93. package/components/{PlayerTransactionHistory-DdbQZ6mw.js → PlayerTransactionHistory-NAh_DclU.js} +19 -19
  94. package/components/{PlayerWithdrawal-DGN4Y9QP.js → PlayerWithdrawal-CIKlBfKQ.js} +19 -19
  95. package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-CkSCfQ4A.cjs} +1 -1
  96. package/components/{PlayerWithdrawal-DOec04Iq.js → PlayerWithdrawal-DrYfLVwI.js} +19 -19
  97. package/es2015/player-account-controller-nd.cjs +1 -1
  98. package/es2015/player-account-controller-nd.js +1 -1
  99. package/esnext/player-account-controller-nd.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-_nxwaXJG.cjs → checkbox-group-input_15-B2yBingJ.cjs} +267 -267
  102. package/stencil/{checkbox-group-input_15-DuNUJJTh.js → checkbox-group-input_15-BWrU21rm.js} +3375 -3373
  103. package/stencil/{checkbox-group-input_15-Cm-Io-xD.js → checkbox-group-input_15-EyVvrWY2.js} +3379 -3377
  104. package/stencil/index-1ef3a64c-DR7bpfUj.cjs +1 -0
  105. package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-HE2lDlEL.js} +192 -192
  106. package/stencil/{index-1ef3a64c-DQk1yZfC.js → index-1ef3a64c-zEGNB-u8.js} +185 -185
  107. package/stencil/{index-6e523641-D97cqlCQ.js → index-6e523641-C-aWDr56.js} +185 -185
  108. package/stencil/{index-6e523641-BMbc57IV.js → index-6e523641-CIqESSFm.js} +207 -207
  109. package/stencil/index-6e523641-D-RFKZXR.cjs +1 -0
  110. package/stencil/{index-9c0f6c58-GCIFeGLp.js → index-9c0f6c58-CWsaYxOT.js} +176 -176
  111. package/stencil/index-9c0f6c58-Cv5Mos03.cjs +1 -0
  112. package/stencil/{index-9c0f6c58-Ucwc3Jk1.js → index-9c0f6c58-ntq_iYNK.js} +180 -180
  113. package/stencil/index-b2193545-DQUvHUpa.cjs +1 -0
  114. package/stencil/index-b2193545-DoYU_tL8.js +503 -0
  115. package/stencil/index-b2193545-_I2wisuY.js +519 -0
  116. package/stencil/{index-c666b6e6-c0hf32cu.js → index-c666b6e6-Bair9vkk.js} +217 -217
  117. package/stencil/{index-c666b6e6-eYzoO3Jn.js → index-c666b6e6-CT8grQbi.js} +209 -209
  118. package/stencil/index-c666b6e6-DMobtuRs.cjs +1 -0
  119. package/stencil/{pam-change-password-CurSbN32.js → pam-change-password-3Apq0yuH.js} +1 -1
  120. package/stencil/{pam-change-password-9aef79f2-mdiqi4BL.js → pam-change-password-9aef79f2-BwxkeN5A.js} +59 -59
  121. package/stencil/{pam-change-password-9aef79f2-CavSOe-m.js → pam-change-password-9aef79f2-CGjJzbvH.js} +59 -59
  122. package/stencil/{pam-change-password-9aef79f2-ONc9NBqY.cjs → pam-change-password-9aef79f2-nth9tA5d.cjs} +2 -2
  123. package/stencil/{pam-change-password-BKya2rzZ.cjs → pam-change-password-B0jUik7J.cjs} +1 -1
  124. package/stencil/{pam-change-password-CZxcB-oo.js → pam-change-password-CZTBxWG0.js} +1 -1
  125. package/stencil/{player-kyc-verification-D10m225z.cjs → player-kyc-verification-BOxNJ6x_.cjs} +1 -1
  126. package/stencil/{player-kyc-verification-Wsswi9br.js → player-kyc-verification-jOo_qPpq.js} +1 -1
  127. package/stencil/{player-kyc-verification-B9ZaCq1K.js → player-kyc-verification-sZ9OAQ8Z.js} +1 -1
  128. package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-C_FDz0NJ.js} +2 -2
  129. package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-GEqIXVxo.cjs} +1 -1
  130. package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-BreM325l.js} +1 -1
  131. package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-CeNpgiKf.cjs} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-e6Wte4qi.js} +1 -1
  133. package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-mkMdvWYI.js} +2 -2
  134. package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
  135. package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-Cr0-V-2c.js} +45 -45
  136. package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-DdJYJeX1.js} +45 -45
  137. package/stencil/{user-transaction-history-DgJplHTM.js → user-transaction-history-ChQcZwtX.js} +1 -1
  138. package/stencil/{user-transaction-history-DLnBnc9G.cjs → user-transaction-history-D4WBmCh8.cjs} +1 -1
  139. package/stencil/{user-transaction-history-DmJRwGhM.js → user-transaction-history-Dla0Do5o.js} +1 -1
  140. package/stencil/{user-transaction-history_2-C4mIlMIA.js → user-transaction-history_2-B1al0Y-h.js} +841 -843
  141. package/stencil/{user-transaction-history_2-B2zGklPY.js → user-transaction-history_2-DznYNRIL.js} +847 -849
  142. package/stencil/user-transaction-history_2-bMxqSwYs.cjs +2 -0
  143. package/components/GeneralLogout-COm1JcKW.cjs +0 -21
  144. package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
  145. package/components/PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs +0 -2
  146. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-q7UT5qmk.cjs +0 -35
  147. package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
  148. package/components/PlayerActiveBonuses-D4OBnwNa.js +0 -1139
  149. package/components/PlayerActiveBonuses-Me5Q3o65.cjs +0 -1
  150. package/components/PlayerActiveBonuses-zLuqH4eW.js +0 -1140
  151. package/components/PlayerBonusHistory-BmeRyaDK.cjs +0 -1
  152. package/components/PlayerBonusHistory-BxbtWY0l.js +0 -1062
  153. package/components/PlayerBonusHistory-C_uP6nBB.js +0 -1073
  154. package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
  155. package/stencil/index-6e523641-BZDelC3M.cjs +0 -1
  156. package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +0 -1
  157. package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
  158. package/stencil/index-b2193545-DPKCFIaU.js +0 -503
  159. package/stencil/index-b2193545-LzjWxki5.js +0 -519
  160. package/stencil/index-c666b6e6-boVOGpc7.cjs +0 -1
  161. package/stencil/user-transaction-history_2-hm8W11mj.cjs +0 -2
@@ -0,0 +1 @@
1
+ "use strict";var _=(e,t,r)=>new Promise((s,n)=>{var l=$=>{try{i(r.next($))}catch(o){n(o)}},a=$=>{try{i(r.throw($))}catch(o){n(o)}},i=$=>$.done?s($.value):Promise.resolve($.value).then(l,a);i((r=r.apply(e,t)).next())});const be="pam-change-password",ke={hydratedSelectorName:"hydrated"};var we=Object.defineProperty,Le=(e,t)=>{for(var r in t)we(e,r,{get:t[r],enumerable:!0})},F=new WeakMap,k=e=>F.get(e),Pe=(e,t)=>F.set(t.$lazyInstance$=e,t),Te=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],F.set(e,r)},Y=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),H=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const l=H.get(n);if(l)return l[s];{const a=i=>(H.set(n,i),i[s]);switch(n){case"checkbox-group-input_15":return Promise.resolve().then(()=>require("./checkbox-group-input_15-B2yBingJ.cjs")).then(a,w)}}return import(`./${n}.entry.js`).then(a=>(H.set(n,a),a[s]),w)},I=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",T=typeof window!="undefined"?window:{},m=T.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},Oe=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),se=e=>Promise.resolve(e),je=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,J=[],ne=[],Ae=(e,t)=>r=>{e.push(r),U||(U=!0,g.$flags$&4?M(q):g.raf(q))},K=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){w(r)}e.length=0},q=()=>{K(J),K(ne),(U=J.length>0)&&g.raf(q)},M=e=>se().then(e),Ie=Ae(ne),Q={},ze="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml",Ue=e=>e!=null,W=e=>(e=typeof e,e==="object"||e==="function");function re(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var qe={};Le(qe,{err:()=>ae,map:()=>Ce,ok:()=>C,unwrap:()=>Be,unwrapErr:()=>De});var C=e=>({isOk:!0,isErr:!1,value:e}),ae=e=>({isOk:!1,isErr:!0,value:e});function Ce(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>C(s)):C(r)}if(e.isErr){const r=e.value;return ae(r)}throw"should never get here"}var Be=e=>{if(e.isOk)return e.value;throw e.value},De=e=>{if(e.isErr)return e.value;throw e.value},b=(e,t="")=>()=>{},Fe=(e,t)=>()=>{},le=(e,t,...r)=>{let s=null,n=null,l=!1,a=!1;const i=[],$=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?$(s):s!=null&&typeof s!="boolean"&&((l=typeof e!="function"&&!W(s))&&(s=String(s)),l&&a?i[i.length-1].$text$+=s:i.push(l?B(null,s):s),a=l)};if($(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=B(e,null);return o.$attrs$=t,i.length>0&&(o.$children$=i),o.$key$=n,o},B=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ie={},Me=e=>e&&e.$tag$===ie,We=(e,t)=>e!=null&&!W(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,$e=e=>k(e).$hostElement$,Ge=(e,t,r)=>{const s=$e(e);return{emit:n=>oe(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},oe=(e,t,r)=>{const s=g.ce(t,r);return e.dispatchEvent(s),s},R=new WeakMap,Xe=(e,t,r)=>{let s=I.get(e);je&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,I.set(e,s)},Ye=(e,t,r)=>{var s;const n=ce(t),l=I.get(n);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let a=R.get(e),i;if(a||R.set(e,a=new Set),!a.has(n)){{i=m.createElement("style"),i.innerHTML=l;const $=(s=g.$nonce$)!=null?s:re(m);$!=null&&i.setAttribute("nonce",$),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=te),a&&a.add(n)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},Je=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=b("attachStyles",t.$tagName$),l=Ye(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&(r["s-sc"]=l,r.classList.add(l+"-h")),n()},ce=(e,t)=>"sc-"+e.$tagName$,Z=(e,t,r,s,n,l)=>{if(r!==s){let a=Y(e,t),i=t.toLowerCase();if(t==="class"){const $=e.classList,o=N(r),c=N(s);$.remove(...o.filter(f=>f&&!c.includes(f))),$.add(...c.filter(f=>f&&!o.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!a&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):Y(T,i)?t=i.slice(2):t=i[2]+t.slice(3),r||s){const $=t.endsWith(fe);t=t.replace(Qe,""),r&&g.rel(e,t,r,$),s&&g.ael(e,t,s,$)}}else{const $=W(s);if((a||$&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?a=!1:(r==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!a||l&4||n)&&!$&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Ke=/\s/,N=e=>e?e.split(Ke):[],fe="Capture",Qe=new RegExp(fe+"$"),ue=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||Q,l=t.$attrs$||Q;for(const a of V(Object.keys(n)))a in l||Z(s,a,n[a],void 0,r,t.$flags$);for(const a of V(Object.keys(l)))Z(s,a,n[a],l[a],r,t.$flags$)};function V(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var j,G,y=!1,z=(e,t,r,s)=>{const n=t.$children$[r];let l=0,a,i;if(n.$text$!==null)a=n.$elm$=m.createTextNode(n.$text$);else{if(y||(y=n.$tag$==="svg"),a=n.$elm$=m.createElementNS(y?ze:He,n.$tag$),y&&n.$tag$==="foreignObject"&&(y=!1),ue(null,n,y),Ue(j)&&a["s-si"]!==j&&a.classList.add(a["s-si"]=j),n.$children$)for(l=0;l<n.$children$.length;++l)i=z(e,n,l),i&&a.appendChild(i);n.$tag$==="svg"?y=!1:a.tagName==="foreignObject"&&(y=!0)}return a["s-hn"]=G,a},de=(e,t,r,s,n,l)=>{let a=e,i;for(a.shadowRoot&&a.tagName===G&&(a=a.shadowRoot);n<=l;++n)s[n]&&(i=z(null,r,n),i&&(s[n].$elm$=i,A(a,i,t)))},ve=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const l=n.$elm$;ge(n),l&&l.remove()}}},Re=(e,t,r,s,n=!1)=>{let l=0,a=0,i=0,$=0,o=t.length-1,c=t[0],f=t[o],u=s.length-1,d=s[0],v=s[u],p,S;for(;l<=o&&a<=u;)if(c==null)c=t[++l];else if(f==null)f=t[--o];else if(d==null)d=s[++a];else if(v==null)v=s[--u];else if(O(c,d,n))L(c,d,n),c=t[++l],d=s[++a];else if(O(f,v,n))L(f,v,n),f=t[--o],v=s[--u];else if(O(c,v,n))L(c,v,n),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++l],v=s[--u];else if(O(f,d,n))L(f,d,n),A(e,f.$elm$,c.$elm$),f=t[--o],d=s[++a];else{for(i=-1,$=l;$<=o;++$)if(t[$]&&t[$].$key$!==null&&t[$].$key$===d.$key$){i=$;break}i>=0?(S=t[i],S.$tag$!==d.$tag$?p=z(t&&t[a],r,i):(L(S,d,n),t[i]=void 0,p=S.$elm$),d=s[++a]):(p=z(t&&t[a],r,a),d=s[++a]),p&&A(c.$elm$.parentNode,p,c.$elm$)}l>o?de(e,s[u+1]==null?null:s[u+1].$elm$,r,s,a,u):a>u&&ve(t,l,o)},O=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,L=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,l=t.$children$,a=t.$tag$,i=t.$text$;i===null?(y=a==="svg"?!0:a==="foreignObject"?!1:y,ue(e,t,y),n!==null&&l!==null?Re(s,n,t,l,r):l!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,l,0,l.length-1)):n!==null&&ve(n,0,n.length-1),y&&a==="svg"&&(y=!1)):e.$text$!==i&&(s.data=i)},ge=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ge)},A=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Ze=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,l=e.$vnode$||B(null,null),a=Me(t)?t:le(null,null,t);if(G=s.tagName,n.$attrsToReflect$&&(a.$attrs$=a.$attrs$||{},n.$attrsToReflect$.map(([i,$])=>a.$attrs$[$]=s[i])),r&&a.$attrs$)for(const i of Object.keys(a.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(a.$attrs$[i]=s[i]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=l.$elm$=s.shadowRoot||s,j=s["s-sc"],n.$flags$&1,L(l,a,r)},pe=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},X=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return pe(e,e.$ancestorComponent$),Ie(()=>Ne(e,t))},Ne=(e,t)=>{const r=e.$hostElement$,s=b("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([a,i])=>P(n,a,i)),e.$queuedListeners$=void 0),l=P(n,"componentWillLoad")),s(),Ve(l,()=>tt(e,n,t))},Ve=(e,t)=>et(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),et=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",tt=(e,t,r)=>_(exports,null,function*(){var s;const n=e.$hostElement$,l=b("update",e.$cmpMeta$.$tagName$),a=n["s-rc"];r&&Je(e);const i=b("render",e.$cmpMeta$.$tagName$);st(e,t,n,r),a&&(a.map($=>$()),n["s-rc"]=void 0),i(),l();{const $=(s=n["s-p"])!=null?s:[],o=()=>nt(e);$.length===0?o():(Promise.all($).then(o),e.$flags$|=4,$.length=0)}}),st=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ze(e,t,s)}catch(n){w(n,e.$hostElement$)}return null},nt=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=b("postUpdate",t),n=e.$lazyInstance$,l=e.$ancestorComponent$;P(n,"componentDidRender"),e.$flags$&64?s():(e.$flags$|=64,ye(r),P(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),l||he()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&M(()=>X(e,!1)),e.$flags$&=-517},he=e=>{ye(m.documentElement),M(()=>oe(T,"appload",{detail:{namespace:be}}))},P=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){w(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},rt=(e,t)=>k(e).$instanceValues$.get(t),at=(e,t,r,s)=>{const n=k(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const l=n.$hostElement$,a=n.$instanceValues$.get(t),i=n.$flags$,$=n.$lazyInstance$;r=We(r,s.$members$[t][0]);const o=Number.isNaN(a)&&Number.isNaN(r),c=r!==a&&!o;if((!(i&8)||a===void 0)&&c&&(n.$instanceValues$.set(t,r),$)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(u=>{try{$[u](r,a,t)}catch(d){w(d,l)}})}(i&18)===2&&X(n,!1)}},me=(e,t,r)=>{var s,n;const l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const a=Object.entries((s=t.$members$)!=null?s:{});if(a.map(([i,[$]])=>{($&31||r&2&&$&32)&&Object.defineProperty(l,i,{get(){return rt(this,i)},set(o){at(this,i,o,t)},configurable:!0,enumerable:!0})}),r&1){const i=new Map;l.attributeChangedCallback=function($,o,c){g.jmp(()=>{var f;const u=i.get($);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=k(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const p=d.$lazyInstance$,S=(f=t.$watchers$)==null?void 0:f[$];S==null||S.forEach(h=>{p[h]!=null&&p[h].call(p,c,o,$)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...a.filter(([$,o])=>o[0]&15).map(([$,o])=>{var c;const f=o[1]||$;return i.set(f,$),o[0]&512&&((c=t.$attrsToReflect$)==null||c.push([$,f])),f})]))}}return e},lt=(e,t,r,s)=>_(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const $=xe(r);if($&&"then"in $){const c=Fe();n=yield $,c()}else n=$;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const o=b("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){w(c)}t.$flags$&=-9,t.$flags$|=128,o(),D(t.$lazyInstance$)}else{n=e.constructor;const $=e.localName;customElements.whenDefined($).then(()=>t.$flags$|=128)}if(n&&n.style){let $;typeof n.style=="string"&&($=n.style);const o=ce(r);if(!I.has(o)){const c=b("registerStyles",r.$tagName$);Xe(o,$,!!(r.$flags$&1)),c()}}}const l=t.$ancestorComponent$,a=()=>X(t,!0);l&&l["s-rc"]?l["s-rc"].push(a):a()}),D=e=>{P(e,"connectedCallback")},it=e=>{if(!(g.$flags$&1)){const t=k(e),r=t.$cmpMeta$,s=b("connectedCallback",r.$tagName$);if(t.$flags$&1)Se(e,t,r.$listeners$),t!=null&&t.$lazyInstance$?D(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>D(t.$lazyInstance$));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){pe(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[l]])=>{if(l&31&&e.hasOwnProperty(n)){const a=e[n];delete e[n],e[n]=a}}),lt(e,t,r)}s()}},ee=e=>{P(e,"disconnectedCallback")},$t=e=>_(exports,null,function*(){if(!(g.$flags$&1)){const t=k(e);t.$rmListeners$&&(t.$rmListeners$.map(r=>r()),t.$rmListeners$=void 0),t!=null&&t.$lazyInstance$?ee(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ee(t.$lazyInstance$))}}),ot=(e,t={})=>{var r;const s=b(),n=[],l=t.exclude||[],a=T.customElements,i=m.head,$=i.querySelector("meta[charset]"),o=m.createElement("style"),c=[];let f,u=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(p=>{var S;const h={$flags$:p[0],$tagName$:p[1],$members$:p[2],$listeners$:p[3]};h.$flags$&4&&(d=!0),h.$members$=p[2],h.$listeners$=p[3],h.$attrsToReflect$=[],h.$watchers$=(S=p[4])!=null?S:{};const x=h.$tagName$,Ee=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,Te(E,h),h.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${h.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const E=k(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Se(this,E,h.$listeners$)),f&&(clearTimeout(f),f=null),u?c.push(this):g.jmp(()=>it(this))}disconnectedCallback(){g.jmp(()=>$t(this))}componentOnReady(){return k(this).$onReadyPromise$}};h.$lazyBundleId$=v[0],!l.includes(x)&&!a.get(x)&&(n.push(x),a.define(x,me(Ee,h,1)))})}),n.length>0&&(d&&(o.textContent+=te),o.textContent+=n.sort()+_e,o.innerHTML.length)){o.setAttribute("data-styles","");const v=(r=g.$nonce$)!=null?r:re(m);v!=null&&o.setAttribute("nonce",v),i.insertBefore(o,$?$.nextSibling:i.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):g.jmp(()=>f=setTimeout(he,30)),s()},Se=(e,t,r,s)=>{r&&r.map(([n,l,a])=>{const i=ft(e,n),$=ct(t,a),o=ut(n);g.ael(i,l,$,o),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(i,l,$,o))})},ct=(e,t)=>r=>{var s;try{e.$flags$&256?(s=e.$lazyInstance$)==null||s[t](r):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}catch(n){w(n)}},ft=(e,t)=>t&8?T:t&16?m.body:e,ut=e=>Oe?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;exports.Host=ie;exports.bootstrapLazy=ot;exports.createEvent=Ge;exports.getElement=$e;exports.h=le;exports.promiseResolve=se;exports.registerInstance=Pe;
@@ -1,4 +1,4 @@
1
- import { b as i, p as a } from "./index-c666b6e6-eYzoO3Jn.js";
1
+ import { b as i, p as a } from "./index-c666b6e6-CT8grQbi.js";
2
2
  import { g as t } from "./app-globals-0f993ce5-DzSE6TtH.js";
3
3
  var n = () => {
4
4
  const e = import.meta.url, l = {};
@@ -1,4 +1,4 @@
1
- import { r as p, h as s } from "./index-c666b6e6-eYzoO3Jn.js";
1
+ import { r as p, h as s } from "./index-c666b6e6-CT8grQbi.js";
2
2
  const g = "en", w = {
3
3
  en: {
4
4
  title: "Change Password",
@@ -168,55 +168,55 @@ const g = "en", w = {
168
168
  passwordContainsFirstNameAndLastName: "Password should not contain first name and last name.",
169
169
  passwordContainsDateOfBirth: "Password should not contain date of birth."
170
170
  }
171
- }, P = (e) => new Promise((n) => {
172
- fetch(e).then((a) => a.json()).then((a) => {
173
- Object.keys(a).forEach((t) => {
174
- for (let o in a[t])
175
- w[t][o] = a[t][o];
171
+ }, P = (a) => new Promise((n) => {
172
+ fetch(a).then((e) => e.json()).then((e) => {
173
+ Object.keys(e).forEach((t) => {
174
+ for (let o in e[t])
175
+ w[t][o] = e[t][o];
176
176
  }), n(!0);
177
177
  });
178
- }), i = (e, n, a) => {
178
+ }), i = (a, n, e) => {
179
179
  const t = n;
180
- let o = w[t !== void 0 ? t : g][e];
181
- if (a !== void 0)
182
- for (const [d, r] of Object.entries(a.values)) {
183
- const l = new RegExp(`{${d}}`, "g");
184
- o = o.replace(l, r);
180
+ let o = w[t !== void 0 ? t : g][a];
181
+ if (e !== void 0)
182
+ for (const [l, r] of Object.entries(e.values)) {
183
+ const d = new RegExp(`{${l}}`, "g");
184
+ o = o.replace(d, r);
185
185
  }
186
186
  return o;
187
187
  };
188
188
  function c() {
189
- const e = navigator.userAgent.toLowerCase(), n = screen.availWidth, a = screen.availHeight;
190
- if (e.includes("iphone"))
189
+ const a = navigator.userAgent.toLowerCase(), n = screen.availWidth, e = screen.availHeight;
190
+ if (a.includes("iphone"))
191
191
  return "mobile";
192
- if (e.includes("android")) {
193
- if (a > n && n < 800)
192
+ if (a.includes("android")) {
193
+ if (e > n && n < 800)
194
194
  return "mobile";
195
- if (n > a && a < 800)
195
+ if (n > e && e < 800)
196
196
  return "tablet";
197
197
  }
198
198
  return "desktop";
199
199
  }
200
- function m(e, n) {
201
- if (e) {
202
- const a = document.createElement("style");
203
- a.innerHTML = n, e.appendChild(a);
200
+ function m(a, n) {
201
+ if (a) {
202
+ const e = document.createElement("style");
203
+ e.innerHTML = n, a.appendChild(e);
204
204
  }
205
205
  }
206
- function h(e, n) {
207
- const a = new URL(n);
208
- fetch(a.href).then((t) => t.text()).then((t) => {
206
+ function h(a, n) {
207
+ const e = new URL(n);
208
+ fetch(e.href).then((t) => t.text()).then((t) => {
209
209
  const o = document.createElement("style");
210
- o.innerHTML = t, e && e.appendChild(o);
210
+ o.innerHTML = t, a && a.appendChild(o);
211
211
  }).catch((t) => {
212
212
  console.error("There was an error while trying to load client styling from URL", t);
213
213
  });
214
214
  }
215
- function f(e, n, a) {
215
+ function f(a, n, e) {
216
216
  if (window.emMessageBus) {
217
217
  const t = document.createElement("style");
218
218
  window.emMessageBus.subscribe(n, (o) => {
219
- t.innerHTML = o, e && e.appendChild(t);
219
+ t.innerHTML = o, a && a.appendChild(t);
220
220
  });
221
221
  }
222
222
  }
@@ -345,8 +345,8 @@ const y = `:host {
345
345
  opacity: 1;
346
346
  }
347
347
  }`, C = y, b = class {
348
- constructor(e) {
349
- p(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 = () => {
348
+ constructor(a) {
349
+ p(this, a), 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 = () => {
350
350
  this.confirmPasswordValidationSchema = {
351
351
  mandatory: !0,
352
352
  maxLength: this.policy.maximumPasswordLength,
@@ -365,19 +365,19 @@ const y = `:host {
365
365
  minLength: this.policy.minimumPasswordLength,
366
366
  custom: this.policy.customValidationRules
367
367
  };
368
- }, this.setErrorMsg = (n, a) => {
369
- var t, o, d;
368
+ }, this.setErrorMsg = (n, e) => {
369
+ var t, o, l;
370
370
  switch (n) {
371
371
  case "gm.pms.password_policy_failed":
372
- if (((o = (t = a?.errors) === null || t === void 0 ? void 0 : t.policy) === null || o === void 0 ? void 0 : o.length) > 0) {
372
+ if (((o = (t = e?.errors) === null || t === void 0 ? void 0 : t.policy) === null || o === void 0 ? void 0 : o.length) > 0) {
373
373
  const r = {
374
374
  forbiddenLastPasswordsCount: this.policy.forbiddenLastPasswordsCount,
375
375
  minimumPasswordAgeLimitHours: this.policy.minimumPasswordAgeLimitHours,
376
376
  hours: this.policy.minimumPasswordAgeLimitHours > 1 ? "hours" : "hour"
377
377
  };
378
378
  this.errorMsg = i(n, this.language, { values: r });
379
- } else if (!((d = a?.errors) === null || d === void 0) && d.strength && Array.isArray(a.errors.strength)) {
380
- const r = a.errors.strength.map((l) => {
379
+ } else if (!((l = e?.errors) === null || l === void 0) && l.strength && Array.isArray(e.errors.strength)) {
380
+ const r = e.errors.strength.map((d) => {
381
381
  const u = {
382
382
  "Password should not contain first name.": "passwordContainsFirstName",
383
383
  "Password should not contain last name.": "passwordContainsLastName",
@@ -386,8 +386,8 @@ const y = `:host {
386
386
  "Password should not contain first name + last name.": "passwordContainsFirstNamePlusLastName",
387
387
  "Password should not contain first name and last name.": "passwordContainsFirstNameAndLastName",
388
388
  "Password should not contain date of birth.": "passwordContainsDateOfBirth"
389
- }[l] || null;
390
- return u ? i(u, this.language) : l;
389
+ }[d] || null;
390
+ return u ? i(u, this.language) : d;
391
391
  });
392
392
  this.errorMsg = r.join(" ");
393
393
  }
@@ -401,15 +401,15 @@ const y = `:host {
401
401
  }, this.toggleScreen = () => {
402
402
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
403
403
  }, this.getPolicy = () => {
404
- const n = new URL("/api/v1/players/password-management/password", this.endpoint), a = new Headers();
405
- a.append("Accept", "text/plain"), a.append("Content-Type", "application/json-patch+json");
404
+ const n = new URL("/api/v1/players/password-management/password", this.endpoint), e = new Headers();
405
+ e.append("Accept", "text/plain"), e.append("Content-Type", "application/json-patch+json");
406
406
  const t = {
407
407
  method: "GET",
408
- headers: a
408
+ headers: e
409
409
  };
410
410
  fetch(n.href, t).then((o) => o.status === 200 && o.json()).then((o) => {
411
- this.policy = o, this.policy.customValidationRules.forEach((d) => {
412
- d.rule = d.rule.toLowerCase(), d.rule === "duplicateinput" && (d.rule = "duplicate-input");
411
+ this.policy = o, this.policy.customValidationRules.forEach((l) => {
412
+ l.rule = l.rule.toLowerCase(), l.rule === "duplicateinput" && (l.rule = "duplicate-input");
413
413
  }), this.initValidationSchemas();
414
414
  }).catch((o) => {
415
415
  console.error(`${i("errorMsgGeneric", this.language)}:`, o), window.postMessage({ type: "WidgetNotification", data: { type: "error", message: i("errorMsgGeneric", this.language) } }, window.location.href);
@@ -418,53 +418,53 @@ const y = `:host {
418
418
  });
419
419
  }, this.submitNewPassword = (n) => {
420
420
  if (n.preventDefault(), this.isBtnSubmitEnabled) {
421
- const a = new URL("/api/v1/players/password-management/password", this.endpoint), t = new Headers();
421
+ const e = new URL("/api/v1/players/password-management/password", this.endpoint), t = new Headers();
422
422
  t.append("accept", "text/plain"), t.append("Content-Type", "application/json-patch+json");
423
423
  const o = JSON.stringify({
424
424
  token: this.forgotMode === "true" ? this.token : this.session,
425
425
  oldPassword: this.currentPasswordValue,
426
426
  newPassword: this.confirmPasswordValue
427
- }), d = {
427
+ }), l = {
428
428
  method: "PUT",
429
429
  headers: t,
430
430
  body: o
431
431
  };
432
- fetch(a.href, d).then((r) => r.json()).then((r) => {
432
+ fetch(e.href, l).then((r) => r.json()).then((r) => {
433
433
  r.errorCode === null && r.message === "pms.password.update.success" ? (window.postMessage({ type: "PasswordChangedSuccessfully" }), window.postMessage({ type: "WidgetNotification", data: { type: "success", message: i("successMsg", this.language) } }, window.location.href)) : (this.setErrorMsg(r.message, r), window.postMessage({ type: "WidgetNotification", data: { type: "error", message: this.errorMsg } }, window.location.href));
434
434
  }).catch((r) => console.error(r));
435
435
  }
436
436
  }, 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 = c() === "mobile" || c() === "tablet";
437
437
  }
438
- handleClientStylingChange(e, n) {
439
- e != n && m(this.stylingContainer, this.clientStyling);
438
+ handleClientStylingChange(a, n) {
439
+ a != n && m(this.stylingContainer, this.clientStyling);
440
440
  }
441
- handleClientStylingUrlChange(e, n) {
442
- e != n && this.clientStylingUrl && h(this.stylingContainer, this.clientStylingUrl);
441
+ handleClientStylingUrlChange(a, n) {
442
+ a != n && this.clientStylingUrl && h(this.stylingContainer, this.clientStylingUrl);
443
443
  }
444
- sendValidityStateHandler(e) {
445
- switch (this.isBtnSubmitEnabled = !1, e.detail.name) {
444
+ sendValidityStateHandler(a) {
445
+ switch (this.isBtnSubmitEnabled = !1, a.detail.name) {
446
446
  case "password":
447
- this.isCurrentPasswordValid = e.detail.valid;
447
+ this.isCurrentPasswordValid = a.detail.valid;
448
448
  break;
449
449
  case "newPassword":
450
- this.isNewPasswordValid = e.detail.valid;
450
+ this.isNewPasswordValid = a.detail.valid;
451
451
  break;
452
452
  case "newPasswordDuplicate":
453
- this.isConfirmPasswordValid = e.detail.valid;
453
+ this.isConfirmPasswordValid = a.detail.valid;
454
454
  break;
455
455
  }
456
456
  (this.forgotMode === "true" || this.isCurrentPasswordValid) && this.isNewPasswordValid && this.isConfirmPasswordValid && (this.isBtnSubmitEnabled = !0);
457
457
  }
458
- sendInputValueHandler(e) {
459
- switch (e.detail.name) {
458
+ sendInputValueHandler(a) {
459
+ switch (a.detail.name) {
460
460
  case "password":
461
- this.currentPasswordValue = e.detail.value;
461
+ this.currentPasswordValue = a.detail.value;
462
462
  break;
463
463
  case "newPassword":
464
- this.newPasswordValue = e.detail.value;
464
+ this.newPasswordValue = a.detail.value;
465
465
  break;
466
466
  case "newPasswordDuplicate":
467
- this.confirmPasswordValue = e.detail.value;
467
+ this.confirmPasswordValue = a.detail.value;
468
468
  break;
469
469
  }
470
470
  }
@@ -479,7 +479,7 @@ const y = `:host {
479
479
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
480
480
  }
481
481
  render() {
482
- return this.isSkeletonLoading ? s("div", { class: "PlayerChangePassword skeleton" }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn" }, s("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), s("section", { class: "FieldsSection" }, s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), s("section", { class: "ButtonsSection" }, s("div", { class: "Button" }, s("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))) : s("div", { class: "PlayerChangePassword", ref: (e) => this.stylingContainer = e }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn", onClick: this.toggleScreen }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, s("g", { transform: "translate(-20 -158)" }, s("g", { transform: "translate(20 158)" }, s("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)" })))), s("h2", { class: "TitleMobile" }, i("title", this.language))), s("h2", { class: "Title" }, i("title", this.language)), s("section", { class: "FieldsSection" }, this.forgotMode === "false" && s("general-input", { type: "password", action: "input", name: "password", language: this.language, "display-name": i("passwordDisplayText", this.language), placeholder: i("passwordPlaceholderText", this.language), validation: { mandatory: !1 }, "no-validation": "true", clientStyling: this.clientStyling, "mb-source": this.mbSource, "hide-password-complexity": "true" }), s("general-input", { type: "password", action: "input", name: "newPassword", language: this.language, "display-name": i("newPasswordDisplayText", this.language), placeholder: i("newPasswordPlaceholderText", this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), s("general-input", { type: "password", action: "input", name: "newPasswordDuplicate", language: this.language, "display-name": i("confirmPasswordDisplayText", this.language), placeholder: i("confirmPasswordPlaceholderText", this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": !0, clientStyling: this.clientStyling, "mb-source": this.mbSource })), s("section", { class: "ButtonsSection" }, s("button", { class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, i("btnSubmit", this.language)))));
482
+ return this.isSkeletonLoading ? s("div", { class: "PlayerChangePassword skeleton" }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn" }, s("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), s("section", { class: "FieldsSection" }, s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), s("section", { class: "ButtonsSection" }, s("div", { class: "Button" }, s("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))) : s("div", { class: "PlayerChangePassword", ref: (a) => this.stylingContainer = a }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn", onClick: this.toggleScreen }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, s("g", { transform: "translate(-20 -158)" }, s("g", { transform: "translate(20 158)" }, s("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)" })))), s("h2", { class: "TitleMobile" }, i("title", this.language))), s("h2", { class: "Title" }, i("title", this.language)), s("section", { class: "FieldsSection" }, this.forgotMode === "false" && s("general-input", { type: "password", action: "input", name: "password", language: this.language, "display-name": i("passwordDisplayText", this.language), placeholder: i("passwordPlaceholderText", this.language), validation: { mandatory: !1 }, "no-validation": "true", clientStyling: this.clientStyling, "mb-source": this.mbSource, "hide-password-complexity": "true" }), s("general-input", { type: "password", action: "input", name: "newPassword", language: this.language, "display-name": i("newPasswordDisplayText", this.language), placeholder: i("newPasswordPlaceholderText", this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), s("general-input", { type: "password", action: "input", name: "newPasswordDuplicate", language: this.language, "display-name": i("confirmPasswordDisplayText", this.language), placeholder: i("confirmPasswordPlaceholderText", this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": !0, clientStyling: this.clientStyling, "mb-source": this.mbSource })), s("section", { class: "ButtonsSection" }, s("button", { class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, i("btnSubmit", this.language)))));
483
483
  }
484
484
  static get watchers() {
485
485
  return {
@@ -1,4 +1,4 @@
1
- import { r as p, h as s } from "./index-c666b6e6-c0hf32cu.js";
1
+ import { r as p, h as s } from "./index-c666b6e6-Bair9vkk.js";
2
2
  const g = "en", w = {
3
3
  en: {
4
4
  title: "Change Password",
@@ -168,55 +168,55 @@ const g = "en", w = {
168
168
  passwordContainsFirstNameAndLastName: "Password should not contain first name and last name.",
169
169
  passwordContainsDateOfBirth: "Password should not contain date of birth."
170
170
  }
171
- }, P = (e) => new Promise((n) => {
172
- fetch(e).then((a) => a.json()).then((a) => {
173
- Object.keys(a).forEach((t) => {
174
- for (let o in a[t])
175
- w[t][o] = a[t][o];
171
+ }, P = (a) => new Promise((n) => {
172
+ fetch(a).then((e) => e.json()).then((e) => {
173
+ Object.keys(e).forEach((t) => {
174
+ for (let o in e[t])
175
+ w[t][o] = e[t][o];
176
176
  }), n(!0);
177
177
  });
178
- }), i = (e, n, a) => {
178
+ }), i = (a, n, e) => {
179
179
  const t = n;
180
- let o = w[t !== void 0 ? t : g][e];
181
- if (a !== void 0)
182
- for (const [d, r] of Object.entries(a.values)) {
183
- const l = new RegExp(`{${d}}`, "g");
184
- o = o.replace(l, r);
180
+ let o = w[t !== void 0 ? t : g][a];
181
+ if (e !== void 0)
182
+ for (const [l, r] of Object.entries(e.values)) {
183
+ const d = new RegExp(`{${l}}`, "g");
184
+ o = o.replace(d, r);
185
185
  }
186
186
  return o;
187
187
  };
188
188
  function c() {
189
- const e = navigator.userAgent.toLowerCase(), n = screen.availWidth, a = screen.availHeight;
190
- if (e.includes("iphone"))
189
+ const a = navigator.userAgent.toLowerCase(), n = screen.availWidth, e = screen.availHeight;
190
+ if (a.includes("iphone"))
191
191
  return "mobile";
192
- if (e.includes("android")) {
193
- if (a > n && n < 800)
192
+ if (a.includes("android")) {
193
+ if (e > n && n < 800)
194
194
  return "mobile";
195
- if (n > a && a < 800)
195
+ if (n > e && e < 800)
196
196
  return "tablet";
197
197
  }
198
198
  return "desktop";
199
199
  }
200
- function m(e, n) {
201
- if (e) {
202
- const a = document.createElement("style");
203
- a.innerHTML = n, e.appendChild(a);
200
+ function m(a, n) {
201
+ if (a) {
202
+ const e = document.createElement("style");
203
+ e.innerHTML = n, a.appendChild(e);
204
204
  }
205
205
  }
206
- function h(e, n) {
207
- const a = new URL(n);
208
- fetch(a.href).then((t) => t.text()).then((t) => {
206
+ function h(a, n) {
207
+ const e = new URL(n);
208
+ fetch(e.href).then((t) => t.text()).then((t) => {
209
209
  const o = document.createElement("style");
210
- o.innerHTML = t, e && e.appendChild(o);
210
+ o.innerHTML = t, a && a.appendChild(o);
211
211
  }).catch((t) => {
212
212
  console.error("There was an error while trying to load client styling from URL", t);
213
213
  });
214
214
  }
215
- function f(e, n, a) {
215
+ function f(a, n, e) {
216
216
  if (window.emMessageBus) {
217
217
  const t = document.createElement("style");
218
218
  window.emMessageBus.subscribe(n, (o) => {
219
- t.innerHTML = o, e && e.appendChild(t);
219
+ t.innerHTML = o, a && a.appendChild(t);
220
220
  });
221
221
  }
222
222
  }
@@ -345,8 +345,8 @@ const y = `:host {
345
345
  opacity: 1;
346
346
  }
347
347
  }`, C = y, b = class {
348
- constructor(e) {
349
- p(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 = () => {
348
+ constructor(a) {
349
+ p(this, a), 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 = () => {
350
350
  this.confirmPasswordValidationSchema = {
351
351
  mandatory: !0,
352
352
  maxLength: this.policy.maximumPasswordLength,
@@ -365,19 +365,19 @@ const y = `:host {
365
365
  minLength: this.policy.minimumPasswordLength,
366
366
  custom: this.policy.customValidationRules
367
367
  };
368
- }, this.setErrorMsg = (n, a) => {
369
- var t, o, d;
368
+ }, this.setErrorMsg = (n, e) => {
369
+ var t, o, l;
370
370
  switch (n) {
371
371
  case "gm.pms.password_policy_failed":
372
- if (((o = (t = a == null ? void 0 : a.errors) === null || t === void 0 ? void 0 : t.policy) === null || o === void 0 ? void 0 : o.length) > 0) {
372
+ if (((o = (t = e == null ? void 0 : e.errors) === null || t === void 0 ? void 0 : t.policy) === null || o === void 0 ? void 0 : o.length) > 0) {
373
373
  const r = {
374
374
  forbiddenLastPasswordsCount: this.policy.forbiddenLastPasswordsCount,
375
375
  minimumPasswordAgeLimitHours: this.policy.minimumPasswordAgeLimitHours,
376
376
  hours: this.policy.minimumPasswordAgeLimitHours > 1 ? "hours" : "hour"
377
377
  };
378
378
  this.errorMsg = i(n, this.language, { values: r });
379
- } else if (!((d = a == null ? void 0 : a.errors) === null || d === void 0) && d.strength && Array.isArray(a.errors.strength)) {
380
- const r = a.errors.strength.map((l) => {
379
+ } else if (!((l = e == null ? void 0 : e.errors) === null || l === void 0) && l.strength && Array.isArray(e.errors.strength)) {
380
+ const r = e.errors.strength.map((d) => {
381
381
  const u = {
382
382
  "Password should not contain first name.": "passwordContainsFirstName",
383
383
  "Password should not contain last name.": "passwordContainsLastName",
@@ -386,8 +386,8 @@ const y = `:host {
386
386
  "Password should not contain first name + last name.": "passwordContainsFirstNamePlusLastName",
387
387
  "Password should not contain first name and last name.": "passwordContainsFirstNameAndLastName",
388
388
  "Password should not contain date of birth.": "passwordContainsDateOfBirth"
389
- }[l] || null;
390
- return u ? i(u, this.language) : l;
389
+ }[d] || null;
390
+ return u ? i(u, this.language) : d;
391
391
  });
392
392
  this.errorMsg = r.join(" ");
393
393
  }
@@ -401,15 +401,15 @@ const y = `:host {
401
401
  }, this.toggleScreen = () => {
402
402
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
403
403
  }, this.getPolicy = () => {
404
- const n = new URL("/api/v1/players/password-management/password", this.endpoint), a = new Headers();
405
- a.append("Accept", "text/plain"), a.append("Content-Type", "application/json-patch+json");
404
+ const n = new URL("/api/v1/players/password-management/password", this.endpoint), e = new Headers();
405
+ e.append("Accept", "text/plain"), e.append("Content-Type", "application/json-patch+json");
406
406
  const t = {
407
407
  method: "GET",
408
- headers: a
408
+ headers: e
409
409
  };
410
410
  fetch(n.href, t).then((o) => o.status === 200 && o.json()).then((o) => {
411
- this.policy = o, this.policy.customValidationRules.forEach((d) => {
412
- d.rule = d.rule.toLowerCase(), d.rule === "duplicateinput" && (d.rule = "duplicate-input");
411
+ this.policy = o, this.policy.customValidationRules.forEach((l) => {
412
+ l.rule = l.rule.toLowerCase(), l.rule === "duplicateinput" && (l.rule = "duplicate-input");
413
413
  }), this.initValidationSchemas();
414
414
  }).catch((o) => {
415
415
  console.error(`${i("errorMsgGeneric", this.language)}:`, o), window.postMessage({ type: "WidgetNotification", data: { type: "error", message: i("errorMsgGeneric", this.language) } }, window.location.href);
@@ -418,53 +418,53 @@ const y = `:host {
418
418
  });
419
419
  }, this.submitNewPassword = (n) => {
420
420
  if (n.preventDefault(), this.isBtnSubmitEnabled) {
421
- const a = new URL("/api/v1/players/password-management/password", this.endpoint), t = new Headers();
421
+ const e = new URL("/api/v1/players/password-management/password", this.endpoint), t = new Headers();
422
422
  t.append("accept", "text/plain"), t.append("Content-Type", "application/json-patch+json");
423
423
  const o = JSON.stringify({
424
424
  token: this.forgotMode === "true" ? this.token : this.session,
425
425
  oldPassword: this.currentPasswordValue,
426
426
  newPassword: this.confirmPasswordValue
427
- }), d = {
427
+ }), l = {
428
428
  method: "PUT",
429
429
  headers: t,
430
430
  body: o
431
431
  };
432
- fetch(a.href, d).then((r) => r.json()).then((r) => {
432
+ fetch(e.href, l).then((r) => r.json()).then((r) => {
433
433
  r.errorCode === null && r.message === "pms.password.update.success" ? (window.postMessage({ type: "PasswordChangedSuccessfully" }), window.postMessage({ type: "WidgetNotification", data: { type: "success", message: i("successMsg", this.language) } }, window.location.href)) : (this.setErrorMsg(r.message, r), window.postMessage({ type: "WidgetNotification", data: { type: "error", message: this.errorMsg } }, window.location.href));
434
434
  }).catch((r) => console.error(r));
435
435
  }
436
436
  }, 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 = c() === "mobile" || c() === "tablet";
437
437
  }
438
- handleClientStylingChange(e, n) {
439
- e != n && m(this.stylingContainer, this.clientStyling);
438
+ handleClientStylingChange(a, n) {
439
+ a != n && m(this.stylingContainer, this.clientStyling);
440
440
  }
441
- handleClientStylingUrlChange(e, n) {
442
- e != n && this.clientStylingUrl && h(this.stylingContainer, this.clientStylingUrl);
441
+ handleClientStylingUrlChange(a, n) {
442
+ a != n && this.clientStylingUrl && h(this.stylingContainer, this.clientStylingUrl);
443
443
  }
444
- sendValidityStateHandler(e) {
445
- switch (this.isBtnSubmitEnabled = !1, e.detail.name) {
444
+ sendValidityStateHandler(a) {
445
+ switch (this.isBtnSubmitEnabled = !1, a.detail.name) {
446
446
  case "password":
447
- this.isCurrentPasswordValid = e.detail.valid;
447
+ this.isCurrentPasswordValid = a.detail.valid;
448
448
  break;
449
449
  case "newPassword":
450
- this.isNewPasswordValid = e.detail.valid;
450
+ this.isNewPasswordValid = a.detail.valid;
451
451
  break;
452
452
  case "newPasswordDuplicate":
453
- this.isConfirmPasswordValid = e.detail.valid;
453
+ this.isConfirmPasswordValid = a.detail.valid;
454
454
  break;
455
455
  }
456
456
  (this.forgotMode === "true" || this.isCurrentPasswordValid) && this.isNewPasswordValid && this.isConfirmPasswordValid && (this.isBtnSubmitEnabled = !0);
457
457
  }
458
- sendInputValueHandler(e) {
459
- switch (e.detail.name) {
458
+ sendInputValueHandler(a) {
459
+ switch (a.detail.name) {
460
460
  case "password":
461
- this.currentPasswordValue = e.detail.value;
461
+ this.currentPasswordValue = a.detail.value;
462
462
  break;
463
463
  case "newPassword":
464
- this.newPasswordValue = e.detail.value;
464
+ this.newPasswordValue = a.detail.value;
465
465
  break;
466
466
  case "newPasswordDuplicate":
467
- this.confirmPasswordValue = e.detail.value;
467
+ this.confirmPasswordValue = a.detail.value;
468
468
  break;
469
469
  }
470
470
  }
@@ -479,7 +479,7 @@ const y = `:host {
479
479
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
480
480
  }
481
481
  render() {
482
- return this.isSkeletonLoading ? s("div", { class: "PlayerChangePassword skeleton" }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn" }, s("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), s("section", { class: "FieldsSection" }, s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), s("section", { class: "ButtonsSection" }, s("div", { class: "Button" }, s("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))) : s("div", { class: "PlayerChangePassword", ref: (e) => this.stylingContainer = e }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn", onClick: this.toggleScreen }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, s("g", { transform: "translate(-20 -158)" }, s("g", { transform: "translate(20 158)" }, s("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)" })))), s("h2", { class: "TitleMobile" }, i("title", this.language))), s("h2", { class: "Title" }, i("title", this.language)), s("section", { class: "FieldsSection" }, this.forgotMode === "false" && s("general-input", { type: "password", action: "input", name: "password", language: this.language, "display-name": i("passwordDisplayText", this.language), placeholder: i("passwordPlaceholderText", this.language), validation: { mandatory: !1 }, "no-validation": "true", clientStyling: this.clientStyling, "mb-source": this.mbSource, "hide-password-complexity": "true" }), s("general-input", { type: "password", action: "input", name: "newPassword", language: this.language, "display-name": i("newPasswordDisplayText", this.language), placeholder: i("newPasswordPlaceholderText", this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), s("general-input", { type: "password", action: "input", name: "newPasswordDuplicate", language: this.language, "display-name": i("confirmPasswordDisplayText", this.language), placeholder: i("confirmPasswordPlaceholderText", this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": !0, clientStyling: this.clientStyling, "mb-source": this.mbSource })), s("section", { class: "ButtonsSection" }, s("button", { class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, i("btnSubmit", this.language)))));
482
+ return this.isSkeletonLoading ? s("div", { class: "PlayerChangePassword skeleton" }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn" }, s("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), s("section", { class: "FieldsSection" }, s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), s("section", { class: "ButtonsSection" }, s("div", { class: "Button" }, s("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))) : s("div", { class: "PlayerChangePassword", ref: (a) => this.stylingContainer = a }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn", onClick: this.toggleScreen }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, s("g", { transform: "translate(-20 -158)" }, s("g", { transform: "translate(20 158)" }, s("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)" })))), s("h2", { class: "TitleMobile" }, i("title", this.language))), s("h2", { class: "Title" }, i("title", this.language)), s("section", { class: "FieldsSection" }, this.forgotMode === "false" && s("general-input", { type: "password", action: "input", name: "password", language: this.language, "display-name": i("passwordDisplayText", this.language), placeholder: i("passwordPlaceholderText", this.language), validation: { mandatory: !1 }, "no-validation": "true", clientStyling: this.clientStyling, "mb-source": this.mbSource, "hide-password-complexity": "true" }), s("general-input", { type: "password", action: "input", name: "newPassword", language: this.language, "display-name": i("newPasswordDisplayText", this.language), placeholder: i("newPasswordPlaceholderText", this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), s("general-input", { type: "password", action: "input", name: "newPasswordDuplicate", language: this.language, "display-name": i("confirmPasswordDisplayText", this.language), placeholder: i("confirmPasswordPlaceholderText", this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": !0, clientStyling: this.clientStyling, "mb-source": this.mbSource })), s("section", { class: "ButtonsSection" }, s("button", { class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, i("btnSubmit", this.language)))));
483
483
  }
484
484
  static get watchers() {
485
485
  return {