@everymatrix/player-account-controller 1.63.2 → 1.64.0

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 (131) hide show
  1. package/components/PlayerAccountBettingHistory-B9b7N4rK.cjs +1 -0
  2. package/components/{PlayerAccountBettingHistory-Y7x-t1aM.js → PlayerAccountBettingHistory-BxRRiwpL.js} +29 -29
  3. package/components/{PlayerAccountBettingHistory-a4zyborD.js → PlayerAccountBettingHistory-ClkfQNJv.js} +29 -29
  4. package/components/PlayerAccountBiometrics--jNdHq_x.cjs +1 -0
  5. package/components/{PlayerAccountBiometrics-BoLCbqW9.js → PlayerAccountBiometrics-B20VU-lf.js} +43 -43
  6. package/components/{PlayerAccountBiometrics-BINKHe7T.js → PlayerAccountBiometrics-CXxoE3xR.js} +43 -43
  7. package/components/PlayerAccountClosure-CqoqzuI1.cjs +1 -0
  8. package/components/{PlayerAccountClosure-BHRdQ6ku.js → PlayerAccountClosure-kB_XbZr0.js} +24 -24
  9. package/components/{PlayerAccountClosure-BhxTa3sA.js → PlayerAccountClosure-vBb0buSf.js} +24 -24
  10. package/components/{PlayerAccountController-Bm7Nv7ut.js → PlayerAccountController-BstxATpg.js} +2507 -2223
  11. package/components/PlayerAccountController-CUJDjCoW.cjs +1 -0
  12. package/components/{PlayerAccountController-DPz3zGR8.js → PlayerAccountController-DZSdP5Sq.js} +2514 -2230
  13. package/components/{PlayerAccountGamingLimits-DLbWmmx-.cjs → PlayerAccountGamingLimits-CR8NVI1l.cjs} +1 -1
  14. package/components/{PlayerAccountGamingLimits-DWUjOPm7.js → PlayerAccountGamingLimits-CoTk7Ruv.js} +39 -39
  15. package/components/{PlayerAccountGamingLimits-Bnkjuzum.js → PlayerAccountGamingLimits-DpyJd5qd.js} +39 -39
  16. package/components/{PlayerAccountGamingLimitsConfirmationModal-QUP7vWLj.js → PlayerAccountGamingLimitsConfirmationModal-CzZmLOEg.js} +1 -1
  17. package/components/{PlayerAccountGamingLimitsConfirmationModal-Bg7QGMAg.js → PlayerAccountGamingLimitsConfirmationModal-DidMr0rR.js} +1 -1
  18. package/components/PlayerAccountGamingLimitsConfirmationModal-d82kkCRB.cjs +1 -0
  19. package/components/{PlayerAccountGamingLimitsGroupEdit-DmpsyTc8.cjs → PlayerAccountGamingLimitsGroupEdit-BVnFtpmu.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimitsGroupEdit-1v80Qe8n.js → PlayerAccountGamingLimitsGroupEdit-ICoIWMGy.js} +268 -268
  21. package/components/{PlayerAccountGamingLimitsGroupEdit-DDffyxA7.js → PlayerAccountGamingLimitsGroupEdit-Th3wPl0l.js} +268 -268
  22. package/components/{PlayerAccountGamingLimitsInfoCard-C4wloIme.cjs → PlayerAccountGamingLimitsInfoCard-BeTjFC2H.cjs} +1 -1
  23. package/components/{PlayerAccountGamingLimitsInfoCard-yR5VICHH.js → PlayerAccountGamingLimitsInfoCard-CsfAZnxC.js} +53 -53
  24. package/components/{PlayerAccountGamingLimitsInfoCard-Di-tNlvO.js → PlayerAccountGamingLimitsInfoCard-ZDK0y6Yf.js} +53 -53
  25. package/components/{PlayerAccountGamingLimitsPage2Gm16-3cBoSFId.cjs → PlayerAccountGamingLimitsPage2Gm16-B7J_kBhp.cjs} +4 -4
  26. package/components/{PlayerAccountGamingLimitsPage2Gm16-eNfLqGlB.js → PlayerAccountGamingLimitsPage2Gm16-C7c5d1aD.js} +84 -84
  27. package/components/{PlayerAccountGamingLimitsPage2Gm16-CQQdpQX7.js → PlayerAccountGamingLimitsPage2Gm16-XxyZ9_Ag.js} +1 -1
  28. package/components/{PlayerAccountGamingLimitsWrapper2-DZoCbGgg.js → PlayerAccountGamingLimitsWrapper2-6DvWdMaR.js} +67 -67
  29. package/components/{PlayerAccountGamingLimitsWrapper2-DxjSzonV.js → PlayerAccountGamingLimitsWrapper2-CsWVj_tw.js} +32 -32
  30. package/components/{PlayerAccountGamingLimitsWrapper2-CaACpJkX.cjs → PlayerAccountGamingLimitsWrapper2-Nsp8qnBy.cjs} +1 -1
  31. package/components/{PlayerAccountGeneralConfirmationModal-DZGBTYv0.js → PlayerAccountGeneralConfirmationModal-BxjoWG2M.js} +9 -9
  32. package/components/{PlayerAccountGeneralConfirmationModal-CIv11GhP.js → PlayerAccountGeneralConfirmationModal-CW_W1pe4.js} +9 -9
  33. package/components/PlayerAccountGeneralConfirmationModal-CZkaGeVc.cjs +1 -0
  34. package/components/{PlayerAccountMenu-DAgWU0GU.cjs → PlayerAccountMenu-CF9cNbUq.cjs} +1 -1
  35. package/components/{PlayerAccountMenu-KlkTClRg.js → PlayerAccountMenu-Q9TA1YuM.js} +4 -4
  36. package/components/{PlayerAccountMenu-De4Qa803.js → PlayerAccountMenu-mgJz03gX.js} +4 -4
  37. package/components/PlayerAccountNotifications-0OisRcYn.cjs +1 -0
  38. package/components/{PlayerAccountNotifications-ZTSodR_w.js → PlayerAccountNotifications-CwmrLgbX.js} +39 -39
  39. package/components/{PlayerAccountNotifications-RAJoer4R.js → PlayerAccountNotifications-IxjSAXFH.js} +42 -42
  40. package/components/{PlayerAccountSelfExclusion-BzJmueBq.js → PlayerAccountSelfExclusion-DlYHEzCp.js} +1 -1
  41. package/components/{PlayerAccountSelfExclusion-0cKw8uv6.cjs → PlayerAccountSelfExclusion-Do4DebUu.cjs} +1 -1
  42. package/components/{PlayerAccountSelfExclusion-DgY6NOih.js → PlayerAccountSelfExclusion-ZPrLTTIE.js} +1 -1
  43. package/components/{PlayerAccountTimeout-DS4vaCRe.js → PlayerAccountTimeout-2Yyx53wc.js} +104 -104
  44. package/components/{PlayerAccountTimeout-Dw5oqiqy.cjs → PlayerAccountTimeout-B09Tevgw.cjs} +1 -1
  45. package/components/{PlayerAccountTimeout-D3Klg06M.js → PlayerAccountTimeout-BPJMj8oi.js} +104 -104
  46. package/components/PlayerAccountTransactionsHistory-BRz2bw7T.js +13827 -0
  47. package/components/PlayerAccountTransactionsHistory-D2lWBV-A.js +13847 -0
  48. package/components/PlayerAccountTransactionsHistory-DOyK1gIl.cjs +4546 -0
  49. package/components/{PlayerActiveBonuses-BozoNh70.js → PlayerActiveBonuses-Bv4wOqg_.js} +155 -155
  50. package/components/{PlayerActiveBonuses-TfvFcCW-.js → PlayerActiveBonuses-DKP-9UxH.js} +155 -155
  51. package/components/PlayerActiveBonuses-Dotto8Fu.cjs +1 -0
  52. package/components/{PlayerBonusCard-DUP59qHI.js → PlayerBonusCard-BQxnA6LO.js} +17 -17
  53. package/components/{PlayerBonusCard-Beuw08iH.js → PlayerBonusCard-CdZjRE8l.js} +17 -17
  54. package/components/PlayerBonusCard-nz_NWtbH.cjs +1 -0
  55. package/components/{PlayerBonusHistory-DhXgcysO.js → PlayerBonusHistory-BAENtfmk.js} +4 -4
  56. package/components/{PlayerBonusHistory-ASRMz78k.js → PlayerBonusHistory-BN9bjM4j.js} +4 -4
  57. package/components/{PlayerBonusHistory-B73-NLob.cjs → PlayerBonusHistory-BzqEz6ZW.cjs} +1 -1
  58. package/components/{PlayerChangePassword-0M_mNZGg.js → PlayerChangePassword-B9C99DR9.js} +23 -23
  59. package/components/{PlayerChangePassword-CSp7wLtb.js → PlayerChangePassword-C9U6ApPn.js} +23 -23
  60. package/components/{PlayerChangePassword-CeUedW_1.cjs → PlayerChangePassword-CsxcNZiB.cjs} +2 -2
  61. package/components/{PlayerDeposit-D_teqol-.js → PlayerDeposit-6Abphyko.js} +22 -22
  62. package/components/{PlayerDeposit-CaAAHcig.js → PlayerDeposit-BuA6tlyq.js} +22 -22
  63. package/components/PlayerDeposit-CjdOaig0.cjs +1 -0
  64. package/components/PlayerGamingHistory-B1m_yGRT.cjs +1 -0
  65. package/components/{PlayerGamingHistory-DyqZjf6k.js → PlayerGamingHistory-BBq4QHc7.js} +137 -137
  66. package/components/{PlayerGamingHistory-Do_PZpjy.js → PlayerGamingHistory-ghTzbBXa.js} +150 -150
  67. package/components/{PlayerPendingWithdrawals-BdgNl6Vs.cjs → PlayerPendingWithdrawals-B9YXwRUU.cjs} +1 -1
  68. package/components/{PlayerPendingWithdrawals-cd7rhkZE.js → PlayerPendingWithdrawals-DZS_YLjN.js} +9 -9
  69. package/components/{PlayerPendingWithdrawals-BsBdAyWz.js → PlayerPendingWithdrawals-FZpSPcJv.js} +9 -9
  70. package/components/{PlayerProfileInfo-BSSvn4ky.js → PlayerProfileInfo-BmVESplJ.js} +4 -4
  71. package/components/PlayerProfileInfo-BqzfGqWe.cjs +1 -0
  72. package/components/{PlayerProfileInfo-CljM7MQx.js → PlayerProfileInfo-C4O0IVWb.js} +4 -4
  73. package/components/{PlayerRealityCheck-DwUIXfJJ.cjs → PlayerRealityCheck-CHhkuZko.cjs} +1 -1
  74. package/components/{PlayerRealityCheck-ByaALjkI.js → PlayerRealityCheck-DiUi9mKo.js} +108 -108
  75. package/components/{PlayerRealityCheck-DordAxiB.js → PlayerRealityCheck-mv6Q6O_O.js} +111 -111
  76. package/components/{PlayerTransactionHistory-C1BTOKWO.js → PlayerTransactionHistory-BA_pB3TF.js} +29 -29
  77. package/components/{PlayerTransactionHistory-D8WUTK8U.cjs → PlayerTransactionHistory-Bh5t7Moq.cjs} +1 -1
  78. package/components/{PlayerTransactionHistory-me_c2Kdi.js → PlayerTransactionHistory-DcLM7g7T.js} +29 -29
  79. package/components/{PlayerWithdrawal-CFGV-nzN.js → PlayerWithdrawal-DQtXexHO.js} +1 -1
  80. package/components/PlayerWithdrawal-DXWxKqhW.cjs +1 -0
  81. package/components/{PlayerWithdrawal-CJsQNLis.js → PlayerWithdrawal-DfvIhSRo.js} +1 -1
  82. package/es2015/player-account-controller.cjs +1 -1
  83. package/es2015/player-account-controller.js +1 -1
  84. package/esnext/player-account-controller.js +1 -1
  85. package/package.json +1 -1
  86. package/stencil/{checkbox-group-input_9-CBlOQ2bp.cjs → checkbox-group-input_9-BVo6POrE.cjs} +2 -2
  87. package/stencil/{checkbox-group-input_9-Cf3RhgI2.js → checkbox-group-input_9-BYF0jsTq.js} +38 -38
  88. package/stencil/{checkbox-group-input_9-NOhxQ4TV.js → checkbox-group-input_9-BoeV0RWO.js} +38 -38
  89. package/stencil/{general-input-DXHAg0hj.cjs → general-input--yXMqsva.cjs} +1 -1
  90. package/stencil/{general-input-BbYl1wbH.js → general-input-BH8GcvVK.js} +1 -1
  91. package/stencil/{general-input-DOa7K2O_.js → general-input-Dl9Pmn5j.js} +1 -1
  92. package/stencil/{index-1ef3a64c-d6wOzDuW.cjs → index-1ef3a64c-40UJl6ZR.cjs} +1 -1
  93. package/stencil/{index-1ef3a64c-D_6fm_mH.js → index-1ef3a64c-D_hRnRRS.js} +1 -1
  94. package/stencil/{index-1ef3a64c-C3248BpZ.js → index-1ef3a64c-DlkA_w16.js} +1 -1
  95. package/stencil/{index-9c0f6c58-DeLVbTUg.js → index-9c0f6c58-BNoMpTuB.js} +1 -1
  96. package/stencil/{index-9c0f6c58-DeCWAW-B.cjs → index-9c0f6c58-DkHHwpww.cjs} +1 -1
  97. package/stencil/{index-9c0f6c58-D5txcAjr.js → index-9c0f6c58-pr1WGVFu.js} +1 -1
  98. package/stencil/{index-9cd44522-DZYEjrQJ.js → index-9cd44522-CYt1WZ1X.js} +4 -4
  99. package/stencil/{index-9cd44522-B5bBjvJ-.js → index-9cd44522-CcsmteW_.js} +4 -4
  100. package/stencil/{index-9cd44522-B27p0GWo.cjs → index-9cd44522-f4GYx31A.cjs} +1 -1
  101. package/stencil/{password-input_2-BPC46TAs.cjs → password-input_2-1qc8Or-g.cjs} +3 -3
  102. package/stencil/{password-input_2-D4wWQR82.js → password-input_2-BA-NStqa.js} +4 -4
  103. package/stencil/{password-input_2-BxuZdeWc.js → password-input_2-DtEUIBYt.js} +4 -4
  104. package/stencil/{player-change-password-gm2-039e300e-Dm-mYZ76.js → player-change-password-gm2-5cb5c6c1-CMg8l3iV.js} +2 -2
  105. package/stencil/{player-change-password-gm2-039e300e-Du8eNt-6.js → player-change-password-gm2-5cb5c6c1-DdQdAw8-.js} +2 -2
  106. package/stencil/{player-change-password-gm2-039e300e-WtxMW-jf.cjs → player-change-password-gm2-5cb5c6c1-P3acbHkQ.cjs} +1 -1
  107. package/stencil/{player-change-password-gm2-CL_S4kzE.cjs → player-change-password-gm2-CK45v7lD.cjs} +1 -1
  108. package/stencil/{player-change-password-gm2-CEo_RTlU.js → player-change-password-gm2-DtYM5w_o.js} +1 -1
  109. package/stencil/{player-change-password-gm2-Bc5CkDrM.js → player-change-password-gm2-LFlWDg6W.js} +1 -1
  110. package/stencil/{player-kyc-verification-z8R7nMzo.js → player-kyc-verification-CUhrMPde.js} +6 -6
  111. package/stencil/{player-kyc-verification-C0h2CP_Y.cjs → player-kyc-verification-DAy-szI5.cjs} +3 -3
  112. package/stencil/{player-kyc-verification-dmJNIHni.js → player-kyc-verification-DPUx1txP.js} +5 -5
  113. package/stencil/{toggle-checkbox-input-C7Z1kZlk.js → toggle-checkbox-input-8TVoppaZ.js} +2 -2
  114. package/stencil/{toggle-checkbox-input-DKrKPVIW.cjs → toggle-checkbox-input-BTLojIHe.cjs} +1 -1
  115. package/stencil/{toggle-checkbox-input-rkO07S5s.js → toggle-checkbox-input-CVmtbY5P.js} +2 -2
  116. package/stencil/{user-deposit-withdrawal-C8A8VDip.js → user-deposit-withdrawal-C3ngwq1c.js} +35 -35
  117. package/stencil/{user-deposit-withdrawal-8SEgGGEs.cjs → user-deposit-withdrawal-CJihIeJ7.cjs} +4 -4
  118. package/stencil/{user-deposit-withdrawal-BIEaZv3-.js → user-deposit-withdrawal-cnDUxzhZ.js} +35 -35
  119. package/components/PlayerAccountBettingHistory-Lp_KBkg4.cjs +0 -1
  120. package/components/PlayerAccountBiometrics-CeKoZNyZ.cjs +0 -1
  121. package/components/PlayerAccountClosure-BDPYRqve.cjs +0 -1
  122. package/components/PlayerAccountController-zX9qqWCI.cjs +0 -1
  123. package/components/PlayerAccountGamingLimitsConfirmationModal-D4IU66Wc.cjs +0 -1
  124. package/components/PlayerAccountGeneralConfirmationModal-C855qGTP.cjs +0 -1
  125. package/components/PlayerAccountNotifications-DN4TPQQU.cjs +0 -1
  126. package/components/PlayerActiveBonuses-DIJBqD-t.cjs +0 -1
  127. package/components/PlayerBonusCard-BDWqqpGz.cjs +0 -1
  128. package/components/PlayerDeposit-BmunpkgB.cjs +0 -1
  129. package/components/PlayerGamingHistory-DMheKbk2.cjs +0 -1
  130. package/components/PlayerProfileInfo-CGrlx6XJ.cjs +0 -1
  131. package/components/PlayerWithdrawal-g7alD3vj.cjs +0 -1
@@ -42,22 +42,22 @@ var Se = Object.defineProperty, Ee = (e, t) => {
42
42
  case "password-input_2":
43
43
  return import(
44
44
  /* webpackMode: "lazy" */
45
- "./password-input_2-BxuZdeWc.js"
45
+ "./password-input_2-DtEUIBYt.js"
46
46
  ).then(a, S);
47
47
  case "checkbox-group-input_9":
48
48
  return import(
49
49
  /* webpackMode: "lazy" */
50
- "./checkbox-group-input_9-NOhxQ4TV.js"
50
+ "./checkbox-group-input_9-BoeV0RWO.js"
51
51
  ).then(a, S);
52
52
  case "general-input":
53
53
  return import(
54
54
  /* webpackMode: "lazy" */
55
- "./general-input-DOa7K2O_.js"
55
+ "./general-input-Dl9Pmn5j.js"
56
56
  ).then(a, S);
57
57
  case "toggle-checkbox-input":
58
58
  return import(
59
59
  /* webpackMode: "lazy" */
60
- "./toggle-checkbox-input-rkO07S5s.js"
60
+ "./toggle-checkbox-input-8TVoppaZ.js"
61
61
  ).then(a, S);
62
62
  }
63
63
  }
@@ -1 +1 @@
1
- "use strict";var x=(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="player-change-password-gm2",ke={hydratedSelectorName:"hydrated"};var we=Object.defineProperty,Le=(e,t)=>{for(var r in t)we(e,r,{get:t[r],enumerable:!0})},M=new WeakMap,w=e=>M.get(e),Pe=(e,t)=>M.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"]=[],M.set(e,r)},Y=(e,t)=>t in e,S=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const l=z.get(n);if(l)return l[s];{const a=i=>(z.set(n,i),i[s]);switch(n){case"password-input_2":return Promise.resolve().then(()=>require("./password-input_2-BPC46TAs.cjs")).then(a,S);case"checkbox-group-input_9":return Promise.resolve().then(()=>require("./checkbox-group-input_9-CBlOQ2bp.cjs")).then(a,S);case"general-input":return Promise.resolve().then(()=>require("./general-input-DXHAg0hj.cjs")).then(a,S);case"toggle-checkbox-input":return Promise.resolve().then(()=>require("./toggle-checkbox-input-DKrKPVIW.cjs")).then(a,S)}}return import(`./${n}.entry.js`).then(a=>(z.set(n,a),a[s]),S)},A=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",q=typeof window!="undefined"?window:{},m=q.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})(),H=!1,J=[],ne=[],Ae=(e,t)=>r=>{e.push(r),H||(H=!0,g.$flags$&4?W(U):g.raf(U))},K=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){S(r)}e.length=0},U=()=>{K(J),K(ne),(H=J.length>0)&&g.raf(U)},W=e=>se().then(e),Ie=Ae(ne),Q={},qe="http://www.w3.org/2000/svg",ze="http://www.w3.org/1999/xhtml",He=e=>e!=null,F=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 Ue={};Le(Ue,{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},k=(e,t="")=>()=>{},Me=(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"&&!F(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={},We=e=>e&&e.$tag$===ie,Fe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,$e=e=>w(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=A.get(e);je&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},Ye=(e,t,r)=>{var s;const n=ce(t),l=A.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=k("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(q,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 $=F(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 O,G,y=!1,I=(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?qe:ze,n.$tag$),y&&n.$tag$==="foreignObject"&&(y=!1),ue(null,n,y),He(O)&&a["s-si"]!==O&&a.classList.add(a["s-si"]=O),n.$children$)for(l=0;l<n.$children$.length;++l)i=I(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=I(null,r,n),i&&(s[n].$elm$=i,j(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,E;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(_(c,d,n))L(c,d,n),c=t[++l],d=s[++a];else if(_(f,v,n))L(f,v,n),f=t[--o],v=s[--u];else if(_(c,v,n))L(c,v,n),j(e,c.$elm$,f.$elm$.nextSibling),c=t[++l],v=s[--u];else if(_(f,d,n))L(f,d,n),j(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?(E=t[i],E.$tag$!==d.$tag$?p=I(t&&t[a],r,i):(L(E,d,n),t[i]=void 0,p=E.$elm$),d=s[++a]):(p=I(t&&t[a],r,a),d=s[++a]),p&&j(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)},_=(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)},j=(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=We(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,O=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=k("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)=>x(exports,null,function*(){var s;const n=e.$hostElement$,l=k("update",e.$cmpMeta$.$tagName$),a=n["s-rc"];r&&Je(e);const i=k("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){S(n,e.$hostElement$)}return null},nt=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=k("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&&W(()=>X(e,!1)),e.$flags$&=-517},he=e=>{ye(m.documentElement),W(()=>oe(q,"appload",{detail:{namespace:be}}))},P=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){S(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},rt=(e,t)=>w(e).$instanceValues$.get(t),at=(e,t,r,s)=>{const n=w(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=Fe(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){S(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=w(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const p=d.$lazyInstance$,E=(f=t.$watchers$)==null?void 0:f[$];E==null||E.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)=>x(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const $=xe(r);if($&&"then"in $){const c=Me();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=k("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){S(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(!A.has(o)){const c=k("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=w(e),r=t.$cmpMeta$,s=k("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=>x(exports,null,function*(){if(!(g.$flags$&1)){const t=w(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=k(),n=[],l=t.exclude||[],a=q.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 E;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$=(E=p[4])!=null?E:{};const T=h.$tagName$,Ee=class extends HTMLElement{constructor(b){if(super(b),this.hasRegisteredEventListeners=!1,b=this,Te(b,h),h.$flags$&1){if(!b.shadowRoot)b.attachShadow({mode:"open"});else if(b.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${h.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const b=w(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Se(this,b,h.$listeners$)),f&&(clearTimeout(f),f=null),u?c.push(this):g.jmp(()=>it(this))}disconnectedCallback(){g.jmp(()=>$t(this))}componentOnReady(){return w(this).$onReadyPromise$}};h.$lazyBundleId$=v[0],!l.includes(T)&&!a.get(T)&&(n.push(T),a.define(T,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){S(n)}},ft=(e,t)=>t&4?m: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
+ "use strict";var x=(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="player-change-password-gm2",ke={hydratedSelectorName:"hydrated"};var we=Object.defineProperty,Le=(e,t)=>{for(var r in t)we(e,r,{get:t[r],enumerable:!0})},M=new WeakMap,w=e=>M.get(e),Pe=(e,t)=>M.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"]=[],M.set(e,r)},Y=(e,t)=>t in e,S=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const l=z.get(n);if(l)return l[s];{const a=i=>(z.set(n,i),i[s]);switch(n){case"password-input_2":return Promise.resolve().then(()=>require("./password-input_2-1qc8Or-g.cjs")).then(a,S);case"checkbox-group-input_9":return Promise.resolve().then(()=>require("./checkbox-group-input_9-BVo6POrE.cjs")).then(a,S);case"general-input":return Promise.resolve().then(()=>require("./general-input--yXMqsva.cjs")).then(a,S);case"toggle-checkbox-input":return Promise.resolve().then(()=>require("./toggle-checkbox-input-BTLojIHe.cjs")).then(a,S)}}return import(`./${n}.entry.js`).then(a=>(z.set(n,a),a[s]),S)},A=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",q=typeof window!="undefined"?window:{},m=q.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})(),H=!1,J=[],ne=[],Ae=(e,t)=>r=>{e.push(r),H||(H=!0,g.$flags$&4?W(U):g.raf(U))},K=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){S(r)}e.length=0},U=()=>{K(J),K(ne),(H=J.length>0)&&g.raf(U)},W=e=>se().then(e),Ie=Ae(ne),Q={},qe="http://www.w3.org/2000/svg",ze="http://www.w3.org/1999/xhtml",He=e=>e!=null,F=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 Ue={};Le(Ue,{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},k=(e,t="")=>()=>{},Me=(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"&&!F(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={},We=e=>e&&e.$tag$===ie,Fe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,$e=e=>w(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=A.get(e);je&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},Ye=(e,t,r)=>{var s;const n=ce(t),l=A.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=k("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(q,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 $=F(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 O,G,y=!1,I=(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?qe:ze,n.$tag$),y&&n.$tag$==="foreignObject"&&(y=!1),ue(null,n,y),He(O)&&a["s-si"]!==O&&a.classList.add(a["s-si"]=O),n.$children$)for(l=0;l<n.$children$.length;++l)i=I(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=I(null,r,n),i&&(s[n].$elm$=i,j(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,E;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(_(c,d,n))L(c,d,n),c=t[++l],d=s[++a];else if(_(f,v,n))L(f,v,n),f=t[--o],v=s[--u];else if(_(c,v,n))L(c,v,n),j(e,c.$elm$,f.$elm$.nextSibling),c=t[++l],v=s[--u];else if(_(f,d,n))L(f,d,n),j(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?(E=t[i],E.$tag$!==d.$tag$?p=I(t&&t[a],r,i):(L(E,d,n),t[i]=void 0,p=E.$elm$),d=s[++a]):(p=I(t&&t[a],r,a),d=s[++a]),p&&j(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)},_=(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)},j=(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=We(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,O=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=k("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)=>x(exports,null,function*(){var s;const n=e.$hostElement$,l=k("update",e.$cmpMeta$.$tagName$),a=n["s-rc"];r&&Je(e);const i=k("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){S(n,e.$hostElement$)}return null},nt=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=k("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&&W(()=>X(e,!1)),e.$flags$&=-517},he=e=>{ye(m.documentElement),W(()=>oe(q,"appload",{detail:{namespace:be}}))},P=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){S(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},rt=(e,t)=>w(e).$instanceValues$.get(t),at=(e,t,r,s)=>{const n=w(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=Fe(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){S(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=w(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const p=d.$lazyInstance$,E=(f=t.$watchers$)==null?void 0:f[$];E==null||E.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)=>x(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const $=xe(r);if($&&"then"in $){const c=Me();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=k("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){S(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(!A.has(o)){const c=k("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=w(e),r=t.$cmpMeta$,s=k("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=>x(exports,null,function*(){if(!(g.$flags$&1)){const t=w(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=k(),n=[],l=t.exclude||[],a=q.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 E;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$=(E=p[4])!=null?E:{};const T=h.$tagName$,Ee=class extends HTMLElement{constructor(b){if(super(b),this.hasRegisteredEventListeners=!1,b=this,Te(b,h),h.$flags$&1){if(!b.shadowRoot)b.attachShadow({mode:"open"});else if(b.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${h.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const b=w(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Se(this,b,h.$listeners$)),f&&(clearTimeout(f),f=null),u?c.push(this):g.jmp(()=>it(this))}disconnectedCallback(){g.jmp(()=>$t(this))}componentOnReady(){return w(this).$onReadyPromise$}};h.$lazyBundleId$=v[0],!l.includes(T)&&!a.get(T)&&(n.push(T),a.define(T,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){S(n)}},ft=(e,t)=>t&4?m: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
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-9cd44522-B27p0GWo.cjs"),n=require("./locale-BB2iZ4t0.cjs"),p=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),h=require("./player-change-password-gm2-039e300e-WtxMW-jf.cjs"),u=`*,
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-9cd44522-f4GYx31A.cjs"),n=require("./locale-BB2iZ4t0.cjs"),p=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),h=require("./player-change-password-gm2-5cb5c6c1-P3acbHkQ.cjs"),u=`*,
2
2
  *::before,
3
3
  *::after {
4
4
  padding: 0;
@@ -45,7 +45,7 @@
45
45
  .password__label--required::after {
46
46
  content: "*";
47
47
  font-family: inherit;
48
- color: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));
48
+ color: var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));
49
49
  margin-left: 2px;
50
50
  }
51
51
  .password__input {
@@ -53,7 +53,7 @@
53
53
  border: none;
54
54
  }
55
55
  .password__input[focused]::part(input-field) {
56
- border-color: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));
56
+ border-color: var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));
57
57
  }
58
58
  .password__input[invalid]::part(input-field) {
59
59
  border: 1px solid var(--emw--color-error, var(--emw--color-red, #ed0909));
@@ -1,7 +1,7 @@
1
- import { r as p, c as d, h as i, g as h } from "./index-9cd44522-DZYEjrQJ.js";
1
+ import { r as p, c as d, h as i, g as h } from "./index-9cd44522-CYt1WZ1X.js";
2
2
  import { t as n } from "./locale-ioQf6ZrW.js";
3
3
  import { t as u } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
4
- import { P as x } from "./player-change-password-gm2-039e300e-Du8eNt-6.js";
4
+ import { P as x } from "./player-change-password-gm2-5cb5c6c1-CMg8l3iV.js";
5
5
  const c = `*,
6
6
  *::before,
7
7
  *::after {
@@ -49,7 +49,7 @@ const c = `*,
49
49
  .password__label--required::after {
50
50
  content: "*";
51
51
  font-family: inherit;
52
- color: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));
52
+ color: var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));
53
53
  margin-left: 2px;
54
54
  }
55
55
  .password__input {
@@ -57,7 +57,7 @@ const c = `*,
57
57
  border: none;
58
58
  }
59
59
  .password__input[focused]::part(input-field) {
60
- border-color: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));
60
+ border-color: var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));
61
61
  }
62
62
  .password__input[invalid]::part(input-field) {
63
63
  border: 1px solid var(--emw--color-error, var(--emw--color-red, #ed0909));
@@ -1,7 +1,7 @@
1
- import { r as p, c as d, h as i, g as h } from "./index-9cd44522-B5bBjvJ-.js";
1
+ import { r as p, c as d, h as i, g as h } from "./index-9cd44522-CcsmteW_.js";
2
2
  import { t as n } from "./locale-ioQf6ZrW.js";
3
3
  import { t as u } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
4
- import { P as x } from "./player-change-password-gm2-039e300e-Dm-mYZ76.js";
4
+ import { P as x } from "./player-change-password-gm2-5cb5c6c1-DdQdAw8-.js";
5
5
  const c = `*,
6
6
  *::before,
7
7
  *::after {
@@ -49,7 +49,7 @@ const c = `*,
49
49
  .password__label--required::after {
50
50
  content: "*";
51
51
  font-family: inherit;
52
- color: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));
52
+ color: var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));
53
53
  margin-left: 2px;
54
54
  }
55
55
  .password__input {
@@ -57,7 +57,7 @@ const c = `*,
57
57
  border: none;
58
58
  }
59
59
  .password__input[focused]::part(input-field) {
60
- border-color: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));
60
+ border-color: var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));
61
61
  }
62
62
  .password__input[invalid]::part(input-field) {
63
63
  border: 1px solid var(--emw--color-error, var(--emw--color-red, #ed0909));
@@ -1,4 +1,4 @@
1
- import { r as w, h as i } from "./index-9cd44522-B5bBjvJ-.js";
1
+ import { r as w, h as i } from "./index-9cd44522-CYt1WZ1X.js";
2
2
  const p = "en", h = {
3
3
  en: {
4
4
  title: "Change Password",
@@ -164,7 +164,7 @@ function f(e, s, a) {
164
164
  });
165
165
  }
166
166
  }
167
- const P = ":host{display:block}.PlayerChangePassword{font-family:inherit;width:100%;height:100%;container-type:inline-size}.PlayerChangePassword .Wrapper{display:flex;justify-content:center;align-items:center}.PlayerChangePassword .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #D0046C);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerChangePassword .TitleMobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #D0046C)}.PlayerChangePassword svg{fill:var(--emw--color-primary, #D0046C)}.PlayerChangePassword .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerChangePassword .Form{display:grid;grid-template-columns:repeat(1, 1fr);gap:40px;justify-items:stretch;align-content:flex-start;overflow:auto;width:100%;height:100%}.PlayerChangePassword .Form .FieldsSection{display:flex;flex-direction:column;gap:30px}.PlayerChangePassword .Form .ButtonsSection{display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative}.PlayerChangePassword .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background:var(--emw--button-background-color, var(--emw--color-primary, #D0046C));border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #D0046C));color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerChangePassword .Button:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));pointer-events:none;cursor:not-allowed}", y = P, b = class {
167
+ const P = ":host{display:block}.PlayerChangePassword{font-family:inherit;width:100%;height:100%;container-type:inline-size}.PlayerChangePassword .Wrapper{display:flex;justify-content:center;align-items:center}.PlayerChangePassword .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerChangePassword .TitleMobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #22B04E)}.PlayerChangePassword svg{fill:var(--emw--color-primary, #22B04E)}.PlayerChangePassword .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerChangePassword .Form{display:grid;grid-template-columns:repeat(1, 1fr);gap:40px;justify-items:stretch;align-content:flex-start;overflow:auto;width:100%;height:100%}.PlayerChangePassword .Form .FieldsSection{display:flex;flex-direction:column;gap:30px}.PlayerChangePassword .Form .ButtonsSection{display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative}.PlayerChangePassword .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background:var(--emw--button-background-color, var(--emw--color-primary, #22B04E));border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #22B04E));color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerChangePassword .Button:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));pointer-events:none;cursor:not-allowed}", y = P, b = class {
168
168
  constructor(e) {
169
169
  w(this, e), this.currentPasswordValue = "", this.newPasswordValue = "", this.confirmPasswordValue = "", this.isCurrentPasswordValid = !1, this.isNewPasswordValid = !1, this.isConfirmPasswordValid = !1, this.errorMsg = "", this.currentPasswordValidationSchema = { mandatory: !0, custom: [] }, this.newPasswordValidationSchema = { mandatory: !0, custom: [] }, this.confirmPasswordValidationSchema = { mandatory: !0, custom: [] }, this.initValidationSchemas = () => {
170
170
  this.policy && (this.newPasswordValidationSchema.custom = this.policy.customValidationRules, this.newPasswordValidationSchema.maxLength = this.policy.maximumPasswordLength, this.newPasswordValidationSchema.minLength = this.policy.minimumPasswordLength);
@@ -1,4 +1,4 @@
1
- import { r as w, h as i } from "./index-9cd44522-DZYEjrQJ.js";
1
+ import { r as w, h as i } from "./index-9cd44522-CcsmteW_.js";
2
2
  const p = "en", h = {
3
3
  en: {
4
4
  title: "Change Password",
@@ -164,7 +164,7 @@ function f(e, s, a) {
164
164
  });
165
165
  }
166
166
  }
167
- const P = ":host{display:block}.PlayerChangePassword{font-family:inherit;width:100%;height:100%;container-type:inline-size}.PlayerChangePassword .Wrapper{display:flex;justify-content:center;align-items:center}.PlayerChangePassword .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #D0046C);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerChangePassword .TitleMobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #D0046C)}.PlayerChangePassword svg{fill:var(--emw--color-primary, #D0046C)}.PlayerChangePassword .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerChangePassword .Form{display:grid;grid-template-columns:repeat(1, 1fr);gap:40px;justify-items:stretch;align-content:flex-start;overflow:auto;width:100%;height:100%}.PlayerChangePassword .Form .FieldsSection{display:flex;flex-direction:column;gap:30px}.PlayerChangePassword .Form .ButtonsSection{display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative}.PlayerChangePassword .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background:var(--emw--button-background-color, var(--emw--color-primary, #D0046C));border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #D0046C));color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerChangePassword .Button:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));pointer-events:none;cursor:not-allowed}", y = P, b = class {
167
+ const P = ":host{display:block}.PlayerChangePassword{font-family:inherit;width:100%;height:100%;container-type:inline-size}.PlayerChangePassword .Wrapper{display:flex;justify-content:center;align-items:center}.PlayerChangePassword .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerChangePassword .TitleMobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #22B04E)}.PlayerChangePassword svg{fill:var(--emw--color-primary, #22B04E)}.PlayerChangePassword .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerChangePassword .Form{display:grid;grid-template-columns:repeat(1, 1fr);gap:40px;justify-items:stretch;align-content:flex-start;overflow:auto;width:100%;height:100%}.PlayerChangePassword .Form .FieldsSection{display:flex;flex-direction:column;gap:30px}.PlayerChangePassword .Form .ButtonsSection{display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative}.PlayerChangePassword .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background:var(--emw--button-background-color, var(--emw--color-primary, #22B04E));border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #22B04E));color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerChangePassword .Button:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));pointer-events:none;cursor:not-allowed}", y = P, b = class {
168
168
  constructor(e) {
169
169
  w(this, e), this.currentPasswordValue = "", this.newPasswordValue = "", this.confirmPasswordValue = "", this.isCurrentPasswordValid = !1, this.isNewPasswordValid = !1, this.isConfirmPasswordValid = !1, this.errorMsg = "", this.currentPasswordValidationSchema = { mandatory: !0, custom: [] }, this.newPasswordValidationSchema = { mandatory: !0, custom: [] }, this.confirmPasswordValidationSchema = { mandatory: !0, custom: [] }, this.initValidationSchemas = () => {
170
170
  this.policy && (this.newPasswordValidationSchema.custom = this.policy.customValidationRules, this.newPasswordValidationSchema.maxLength = this.policy.maximumPasswordLength, this.newPasswordValidationSchema.minLength = this.policy.minimumPasswordLength);
@@ -1 +1 @@
1
- "use strict";const i=require("./index-9cd44522-B27p0GWo.cjs"),p="en",h={en:{title:"Change Password",btnSubmit:"Change Password",passwordPlaceholderText:"Please enter your password",newPasswordPlaceholderText:"Please enter your new password",confirmPasswordPlaceholderText:"Please confirm your new password",passwordDisplayText:"Current Password",newPasswordDisplayText:"New Password",confirmPasswordDisplayText:"Confirm Password",successMsg:"Password changed successfully",errorMsgGeneric:"There was an error when attempting to change your password","gm.pms.password_not_verified_unauthorized":"The current password you have entered is incorrect","gm.pms.password_policy_failed":"Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change."},fr:{title:"Changer le mot de passe",btnSubmit:"Changer le mot de passe",passwordPlaceholderText:"Veuillez entrer votre mot de passe",newPasswordPlaceholderText:"Veuillez entrer votre nouveau mot de passe",confirmPasswordPlaceholderText:"Veuillez confirmer votre nouveau mot de passe",passwordDisplayText:"Mot de passe actuel",newPasswordDisplayText:"Nouveau mot de passe",confirmPasswordDisplayText:"Confirmer le mot de passe",successMsg:"Mot de passe changé avec succès",errorMsgGeneric:"Une erreur est survenue lors de la tentative de changement de mot de passe","gm.pms.password_not_verified_unauthorized":"Le mot de passe actuel que vous avez entré est incorrect","gm.pms.password_policy_failed":"Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement."},ro:{title:"Schimbă Parola",btnSubmit:"Schimbă Parola",passwordPlaceholderText:"Vă rugăm să introduceți parola",newPasswordPlaceholderText:"Vă rugăm să introduceți noua parolă",confirmPasswordPlaceholderText:"Vă rugăm să confirmați noua parolă",passwordDisplayText:"Parolă Curentă",newPasswordDisplayText:"Parolă Nouă",confirmPasswordDisplayText:"Confirmă Parola",successMsg:"Parola a fost schimbată cu succes",errorMsgGeneric:"A apărut o eroare la încercarea de schimbare a parolei","gm.pms.password_not_verified_unauthorized":"Parola curentă introdusă este incorectă","gm.pms.password_policy_failed":"Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare."},es:{title:"Cambiar Contraseña",btnSubmit:"Cambiar Contraseña",passwordPlaceholderText:"Por favor, introduce tu contraseña",newPasswordPlaceholderText:"Por favor, introduce tu nueva contraseña",confirmPasswordPlaceholderText:"Por favor, confirma tu nueva contraseña",passwordDisplayText:"Contraseña Actual",newPasswordDisplayText:"Nueva Contraseña",confirmPasswordDisplayText:"Confirmar Contraseña",successMsg:"Contraseña cambiada con éxito",errorMsgGeneric:"Hubo un error al intentar cambiar tu contraseña","gm.pms.password_not_verified_unauthorized":"La contraseña actual que has introducido es incorrecta","gm.pms.password_policy_failed":"La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio."},pt:{title:"Alterar Senha",btnSubmit:"Alterar Senha",passwordPlaceholderText:"Por favor, insira sua senha",newPasswordPlaceholderText:"Por favor, insira sua nova senha",confirmPasswordPlaceholderText:"Por favor, confirme sua nova senha",passwordDisplayText:"Senha Atual",newPasswordDisplayText:"Nova Senha",confirmPasswordDisplayText:"Confirmar Senha",successMsg:"Senha alterada com sucesso",errorMsgGeneric:"Ocorreu um erro ao tentar alterar sua senha","gm.pms.password_not_verified_unauthorized":"A senha atual que você inseriu está incorreta","gm.pms.password_policy_failed":"A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração."},hr:{title:"Promijeni lozinku",btnSubmit:"Promijeni lozinku",passwordPlaceholderText:"Unesite svoju lozinku",newPasswordPlaceholderText:"Unesite novu lozinku",confirmPasswordPlaceholderText:"Potvrdite novu lozinku",passwordDisplayText:"Trenutna lozinka",newPasswordDisplayText:"Nova lozinka",confirmPasswordDisplayText:"Potvrdite lozinku",successMsg:"Lozinka je uspješno promijenjena",errorMsgGeneric:"Došlo je do pogreške prilikom pokušaja promjene lozinke","gm.pms.password_not_verified_unauthorized":"Unesena trenutna lozinka nije ispravna","gm.pms.password_policy_failed":"Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene."},tr:{title:"Şifreyi Değiştir",btnSubmit:"Şifreyi Değiştir",passwordPlaceholderText:"Lütfen şifrenizi girin",newPasswordPlaceholderText:"Lütfen yeni şifrenizi girin",confirmPasswordPlaceholderText:"Lütfen yeni şifrenizi onaylayın",passwordDisplayText:"Mevcut Şifre",newPasswordDisplayText:"Yeni Şifre",confirmPasswordDisplayText:"Şifreyi Onaylayın",successMsg:"Şifre başarıyla değiştirildi",errorMsgGeneric:"Şifrenizi değiştirirken bir hata oluştu","gm.pms.password_not_verified_unauthorized":"Girdiğiniz mevcut şifre yanlış","gm.pms.password_policy_failed":"Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez."},hu:{title:"Jelszó megváltoztatása",btnSubmit:"Jelszó megváltoztatása",passwordPlaceholderText:"Kérjük, adja meg a jelszavát",newPasswordPlaceholderText:"Kérjük, adja meg az új jelszavát",confirmPasswordPlaceholderText:"Kérjük, erősítse meg az új jelszavát",passwordDisplayText:"Jelenlegi jelszó",newPasswordDisplayText:"Új jelszó",confirmPasswordDisplayText:"Jelszó megerősítése",successMsg:"A jelszó sikeresen megváltozott",errorMsgGeneric:"Hiba történt a jelszó megváltoztatásakor","gm.pms.password_not_verified_unauthorized":"A megadott jelenlegi jelszó helytelen","gm.pms.password_policy_failed":"A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta."}},g=e=>new Promise(s=>{fetch(e).then(a=>a.json()).then(a=>{Object.keys(a).forEach(t=>{for(let r in a[t])h[t][r]=a[t][r]}),s(!0)})}),o=(e,s,a)=>{const t=s;let r=h[t!==void 0?t:p][e];if(a!==void 0)for(const[l,n]of Object.entries(a.values)){const w=new RegExp(`{${l}}`,"g");r=r.replace(w,n)}return r};function d(){const e=navigator.userAgent.toLowerCase(),s=screen.availWidth,a=screen.availHeight;if(e.includes("iphone"))return"mobile";if(e.includes("android")){if(a>s&&s<800)return"mobile";if(s>a&&a<800)return"tablet"}return"desktop"}function c(e,s){if(e){const a=document.createElement("style");a.innerHTML=s,e.appendChild(a)}}function u(e,s){const a=new URL(s);fetch(a.href).then(t=>t.text()).then(t=>{const r=document.createElement("style");r.innerHTML=t,e&&e.appendChild(r)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function f(e,s,a){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(s,r=>{t.innerHTML=r,e&&e.appendChild(t)})}}const P=":host{display:block}.PlayerChangePassword{font-family:inherit;width:100%;height:100%;container-type:inline-size}.PlayerChangePassword .Wrapper{display:flex;justify-content:center;align-items:center}.PlayerChangePassword .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #D0046C);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerChangePassword .TitleMobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #D0046C)}.PlayerChangePassword svg{fill:var(--emw--color-primary, #D0046C)}.PlayerChangePassword .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerChangePassword .Form{display:grid;grid-template-columns:repeat(1, 1fr);gap:40px;justify-items:stretch;align-content:flex-start;overflow:auto;width:100%;height:100%}.PlayerChangePassword .Form .FieldsSection{display:flex;flex-direction:column;gap:30px}.PlayerChangePassword .Form .ButtonsSection{display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative}.PlayerChangePassword .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background:var(--emw--button-background-color, var(--emw--color-primary, #D0046C));border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #D0046C));color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerChangePassword .Button:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));pointer-events:none;cursor:not-allowed}",y=P,m=class{constructor(e){i.registerInstance(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=()=>{this.policy&&(this.newPasswordValidationSchema.custom=this.policy.customValidationRules,this.newPasswordValidationSchema.maxLength=this.policy.maximumPasswordLength,this.newPasswordValidationSchema.minLength=this.policy.minimumPasswordLength)},this.setErrorMsg=s=>{switch(s){case"gm.pms.password_policy_failed":const a={forbiddenLastPasswordsCount:this.policy.forbiddenLastPasswordsCount,minimumPasswordAgeLimitHours:this.policy.minimumPasswordAgeLimitHours,hours:this.policy.minimumPasswordAgeLimitHours>1?"hours":"hour"};this.errorMsg=o(s,this.language,{values:a});break;case"gm.pms.password_not_verified_unauthorized":this.errorMsg=o(s,this.language);break;default:this.errorMsg=o("errorMsgGeneric",this.language)}},this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.getPolicy=()=>{const s=new URL("/api/v1/players/password-management/password",this.endpoint),a=new Headers;a.append("Accept","text/plain");const t={method:"GET",headers:a};fetch(s.href,t).then(r=>r.status===200&&r.json()).then(r=>this.policy=r).catch(r=>console.error(r))},this.submitNewPassword=s=>{if(s.preventDefault(),this.isBtnSubmitEnabled){const a=new URL("/api/v1/players/password-management/password",this.endpoint),t=new Headers;t.append("accept","text/plain"),t.append("Content-Type","application/json-patch+json");const r=JSON.stringify({token:this.forgotMode==="true"?this.token:this.session,oldPassword:this.currentPasswordValue,newPassword:this.confirmPasswordValue}),l={method:"PUT",headers:t,body:r};fetch(a.href,l).then(n=>n.json()).then(n=>{n.errorCode===null&&n.message==="pms.password.update.success"?(window.postMessage({type:"PasswordChangedSuccessfully"}),window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("successMsg",this.language)}},window.location.href)):(this.setErrorMsg(n.message),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMsg}},window.location.href))}).catch(n=>console.error(n))}},this.language="en",this.endpoint="",this.session="",this.token="",this.forgotMode="",this.clientStyling="",this.clientStylingUrl="",this.mbSource=void 0,this.translationUrl="",this.isBtnSubmitEnabled=!1,this.isMobile=d()==="mobile"||d()==="tablet"}handleClientStylingChange(e,s){e!=s&&c(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,s){e!=s&&this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl)}sendValidityStateHandler(e){switch(this.isBtnSubmitEnabled=!1,e.detail.name){case"password":this.isCurrentPasswordValid=e.detail.valid;break;case"newPassword":this.isNewPasswordValid=e.detail.valid;break;case"newPasswordDuplicate":this.isConfirmPasswordValid=e.detail.valid;break}(this.forgotMode==="true"||this.isCurrentPasswordValid)&&this.isNewPasswordValid&&this.isConfirmPasswordValid&&(this.isBtnSubmitEnabled=!0)}sendInputValueHandler(e){switch(e.detail.name){case"password":this.currentPasswordValue=e.detail.value;break;case"newPassword":this.newPasswordValue=e.detail.value;break;case"newPasswordDuplicate":this.confirmPasswordValue=e.detail.value;break}}componentWillLoad(){if(this.getPolicy(),this.initValidationSchemas(),this.translationUrl)return g(this.translationUrl)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?f(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&c(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return i.h("div",{key:"9a8f54fe541ef6409f7cc21bb8431c850d031830",class:"PlayerChangePassword",ref:e=>this.stylingContainer=e},i.h("form",{key:"8a3aaa6a96b16a26477657f0216a7a0a2e2e0869",class:"Form"},this.isMobile?i.h("div",{class:"ButtonReturn",onClick:this.toggleScreen},i.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},i.h("g",{transform:"translate(-20 -158)"},i.h("g",{transform:"translate(20 158)"},i.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),i.h("h2",{class:"TitleMobile"},o("title",this.language))):i.h("h2",{class:"Title"},o("title",this.language)),i.h("section",{key:"47a7214266e06ef9f8ded9f86f76e15ce4f6fc3a",class:"FieldsSection"},this.forgotMode==="false"&&i.h("password-input",{key:"41b721a65332283a3699ab8e838dadb8d73913fa",language:this.language,name:"password","display-name":o("passwordDisplayText",this.language),placeholder:o("passwordPlaceholderText",this.language),validation:this.currentPasswordValidationSchema,clientStyling:this.clientStyling,"mb-source":this.mbSource}),i.h("password-input",{key:"eb7c697eb1900ed580ff17a4cd56819993599924",language:this.language,name:"newPassword","display-name":o("newPasswordDisplayText",this.language),placeholder:o("newPasswordPlaceholderText",this.language),validation:this.newPasswordValidationSchema,clientStyling:this.clientStyling,"mb-source":this.mbSource}),i.h("password-input",{key:"4b12c17b882fe8117f9c49ad296c5918198e18f0",language:this.language,name:"newPasswordDuplicate","display-name":o("confirmPasswordDisplayText",this.language),placeholder:o("confirmPasswordPlaceholderText",this.language),validation:this.confirmPasswordValidationSchema,"is-duplicate-input":!0,clientStyling:this.clientStyling,"mb-source":this.mbSource})),i.h("section",{key:"a0cd6777b46ac8e4ba5eef6c42f77531a9c7ee0b",class:"ButtonsSection"},i.h("button",{key:"d21c481e07a7c7762bf0fa7acbb4f1d68ac92d4d",class:"Button",disabled:!this.isBtnSubmitEnabled,onClick:this.submitNewPassword},o("btnSubmit",this.language)))))}static get watchers(){return{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};m.style=y;exports.PlayerChangePasswordGm2=m;
1
+ "use strict";const i=require("./index-9cd44522-f4GYx31A.cjs"),p="en",h={en:{title:"Change Password",btnSubmit:"Change Password",passwordPlaceholderText:"Please enter your password",newPasswordPlaceholderText:"Please enter your new password",confirmPasswordPlaceholderText:"Please confirm your new password",passwordDisplayText:"Current Password",newPasswordDisplayText:"New Password",confirmPasswordDisplayText:"Confirm Password",successMsg:"Password changed successfully",errorMsgGeneric:"There was an error when attempting to change your password","gm.pms.password_not_verified_unauthorized":"The current password you have entered is incorrect","gm.pms.password_policy_failed":"Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change."},fr:{title:"Changer le mot de passe",btnSubmit:"Changer le mot de passe",passwordPlaceholderText:"Veuillez entrer votre mot de passe",newPasswordPlaceholderText:"Veuillez entrer votre nouveau mot de passe",confirmPasswordPlaceholderText:"Veuillez confirmer votre nouveau mot de passe",passwordDisplayText:"Mot de passe actuel",newPasswordDisplayText:"Nouveau mot de passe",confirmPasswordDisplayText:"Confirmer le mot de passe",successMsg:"Mot de passe changé avec succès",errorMsgGeneric:"Une erreur est survenue lors de la tentative de changement de mot de passe","gm.pms.password_not_verified_unauthorized":"Le mot de passe actuel que vous avez entré est incorrect","gm.pms.password_policy_failed":"Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement."},ro:{title:"Schimbă Parola",btnSubmit:"Schimbă Parola",passwordPlaceholderText:"Vă rugăm să introduceți parola",newPasswordPlaceholderText:"Vă rugăm să introduceți noua parolă",confirmPasswordPlaceholderText:"Vă rugăm să confirmați noua parolă",passwordDisplayText:"Parolă Curentă",newPasswordDisplayText:"Parolă Nouă",confirmPasswordDisplayText:"Confirmă Parola",successMsg:"Parola a fost schimbată cu succes",errorMsgGeneric:"A apărut o eroare la încercarea de schimbare a parolei","gm.pms.password_not_verified_unauthorized":"Parola curentă introdusă este incorectă","gm.pms.password_policy_failed":"Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare."},es:{title:"Cambiar Contraseña",btnSubmit:"Cambiar Contraseña",passwordPlaceholderText:"Por favor, introduce tu contraseña",newPasswordPlaceholderText:"Por favor, introduce tu nueva contraseña",confirmPasswordPlaceholderText:"Por favor, confirma tu nueva contraseña",passwordDisplayText:"Contraseña Actual",newPasswordDisplayText:"Nueva Contraseña",confirmPasswordDisplayText:"Confirmar Contraseña",successMsg:"Contraseña cambiada con éxito",errorMsgGeneric:"Hubo un error al intentar cambiar tu contraseña","gm.pms.password_not_verified_unauthorized":"La contraseña actual que has introducido es incorrecta","gm.pms.password_policy_failed":"La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio."},pt:{title:"Alterar Senha",btnSubmit:"Alterar Senha",passwordPlaceholderText:"Por favor, insira sua senha",newPasswordPlaceholderText:"Por favor, insira sua nova senha",confirmPasswordPlaceholderText:"Por favor, confirme sua nova senha",passwordDisplayText:"Senha Atual",newPasswordDisplayText:"Nova Senha",confirmPasswordDisplayText:"Confirmar Senha",successMsg:"Senha alterada com sucesso",errorMsgGeneric:"Ocorreu um erro ao tentar alterar sua senha","gm.pms.password_not_verified_unauthorized":"A senha atual que você inseriu está incorreta","gm.pms.password_policy_failed":"A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração."},hr:{title:"Promijeni lozinku",btnSubmit:"Promijeni lozinku",passwordPlaceholderText:"Unesite svoju lozinku",newPasswordPlaceholderText:"Unesite novu lozinku",confirmPasswordPlaceholderText:"Potvrdite novu lozinku",passwordDisplayText:"Trenutna lozinka",newPasswordDisplayText:"Nova lozinka",confirmPasswordDisplayText:"Potvrdite lozinku",successMsg:"Lozinka je uspješno promijenjena",errorMsgGeneric:"Došlo je do pogreške prilikom pokušaja promjene lozinke","gm.pms.password_not_verified_unauthorized":"Unesena trenutna lozinka nije ispravna","gm.pms.password_policy_failed":"Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene."},tr:{title:"Şifreyi Değiştir",btnSubmit:"Şifreyi Değiştir",passwordPlaceholderText:"Lütfen şifrenizi girin",newPasswordPlaceholderText:"Lütfen yeni şifrenizi girin",confirmPasswordPlaceholderText:"Lütfen yeni şifrenizi onaylayın",passwordDisplayText:"Mevcut Şifre",newPasswordDisplayText:"Yeni Şifre",confirmPasswordDisplayText:"Şifreyi Onaylayın",successMsg:"Şifre başarıyla değiştirildi",errorMsgGeneric:"Şifrenizi değiştirirken bir hata oluştu","gm.pms.password_not_verified_unauthorized":"Girdiğiniz mevcut şifre yanlış","gm.pms.password_policy_failed":"Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez."},hu:{title:"Jelszó megváltoztatása",btnSubmit:"Jelszó megváltoztatása",passwordPlaceholderText:"Kérjük, adja meg a jelszavát",newPasswordPlaceholderText:"Kérjük, adja meg az új jelszavát",confirmPasswordPlaceholderText:"Kérjük, erősítse meg az új jelszavát",passwordDisplayText:"Jelenlegi jelszó",newPasswordDisplayText:"Új jelszó",confirmPasswordDisplayText:"Jelszó megerősítése",successMsg:"A jelszó sikeresen megváltozott",errorMsgGeneric:"Hiba történt a jelszó megváltoztatásakor","gm.pms.password_not_verified_unauthorized":"A megadott jelenlegi jelszó helytelen","gm.pms.password_policy_failed":"A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta."}},g=e=>new Promise(s=>{fetch(e).then(a=>a.json()).then(a=>{Object.keys(a).forEach(t=>{for(let r in a[t])h[t][r]=a[t][r]}),s(!0)})}),o=(e,s,a)=>{const t=s;let r=h[t!==void 0?t:p][e];if(a!==void 0)for(const[l,n]of Object.entries(a.values)){const w=new RegExp(`{${l}}`,"g");r=r.replace(w,n)}return r};function d(){const e=navigator.userAgent.toLowerCase(),s=screen.availWidth,a=screen.availHeight;if(e.includes("iphone"))return"mobile";if(e.includes("android")){if(a>s&&s<800)return"mobile";if(s>a&&a<800)return"tablet"}return"desktop"}function c(e,s){if(e){const a=document.createElement("style");a.innerHTML=s,e.appendChild(a)}}function u(e,s){const a=new URL(s);fetch(a.href).then(t=>t.text()).then(t=>{const r=document.createElement("style");r.innerHTML=t,e&&e.appendChild(r)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function f(e,s,a){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(s,r=>{t.innerHTML=r,e&&e.appendChild(t)})}}const P=":host{display:block}.PlayerChangePassword{font-family:inherit;width:100%;height:100%;container-type:inline-size}.PlayerChangePassword .Wrapper{display:flex;justify-content:center;align-items:center}.PlayerChangePassword .Title{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerChangePassword .TitleMobile{font-size:var(--emw--font-size-x-large, 20px);color:var(--emw--color-primary, #22B04E)}.PlayerChangePassword svg{fill:var(--emw--color-primary, #22B04E)}.PlayerChangePassword .ButtonReturn{font-family:inherit;display:inline-flex;align-items:center;gap:10px}.PlayerChangePassword .Form{display:grid;grid-template-columns:repeat(1, 1fr);gap:40px;justify-items:stretch;align-content:flex-start;overflow:auto;width:100%;height:100%}.PlayerChangePassword .Form .FieldsSection{display:flex;flex-direction:column;gap:30px}.PlayerChangePassword .Form .ButtonsSection{display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative}.PlayerChangePassword .Button{font-family:inherit;border-radius:var(--emw--button-border-radius, var(--emw--border-radius-large, 50px));background:var(--emw--button-background-color, var(--emw--color-primary, #22B04E));border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #22B04E));color:var(--emw--button-text-color, var(--emw--color-white, #FFFFFF));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);height:50px;width:100%;text-transform:uppercase;cursor:pointer}.PlayerChangePassword .Button:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:var(--emw--button-border, 1px solid var(--emw--button-border-color, #828282));pointer-events:none;cursor:not-allowed}",y=P,m=class{constructor(e){i.registerInstance(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=()=>{this.policy&&(this.newPasswordValidationSchema.custom=this.policy.customValidationRules,this.newPasswordValidationSchema.maxLength=this.policy.maximumPasswordLength,this.newPasswordValidationSchema.minLength=this.policy.minimumPasswordLength)},this.setErrorMsg=s=>{switch(s){case"gm.pms.password_policy_failed":const a={forbiddenLastPasswordsCount:this.policy.forbiddenLastPasswordsCount,minimumPasswordAgeLimitHours:this.policy.minimumPasswordAgeLimitHours,hours:this.policy.minimumPasswordAgeLimitHours>1?"hours":"hour"};this.errorMsg=o(s,this.language,{values:a});break;case"gm.pms.password_not_verified_unauthorized":this.errorMsg=o(s,this.language);break;default:this.errorMsg=o("errorMsgGeneric",this.language)}},this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.getPolicy=()=>{const s=new URL("/api/v1/players/password-management/password",this.endpoint),a=new Headers;a.append("Accept","text/plain");const t={method:"GET",headers:a};fetch(s.href,t).then(r=>r.status===200&&r.json()).then(r=>this.policy=r).catch(r=>console.error(r))},this.submitNewPassword=s=>{if(s.preventDefault(),this.isBtnSubmitEnabled){const a=new URL("/api/v1/players/password-management/password",this.endpoint),t=new Headers;t.append("accept","text/plain"),t.append("Content-Type","application/json-patch+json");const r=JSON.stringify({token:this.forgotMode==="true"?this.token:this.session,oldPassword:this.currentPasswordValue,newPassword:this.confirmPasswordValue}),l={method:"PUT",headers:t,body:r};fetch(a.href,l).then(n=>n.json()).then(n=>{n.errorCode===null&&n.message==="pms.password.update.success"?(window.postMessage({type:"PasswordChangedSuccessfully"}),window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("successMsg",this.language)}},window.location.href)):(this.setErrorMsg(n.message),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMsg}},window.location.href))}).catch(n=>console.error(n))}},this.language="en",this.endpoint="",this.session="",this.token="",this.forgotMode="",this.clientStyling="",this.clientStylingUrl="",this.mbSource=void 0,this.translationUrl="",this.isBtnSubmitEnabled=!1,this.isMobile=d()==="mobile"||d()==="tablet"}handleClientStylingChange(e,s){e!=s&&c(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,s){e!=s&&this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl)}sendValidityStateHandler(e){switch(this.isBtnSubmitEnabled=!1,e.detail.name){case"password":this.isCurrentPasswordValid=e.detail.valid;break;case"newPassword":this.isNewPasswordValid=e.detail.valid;break;case"newPasswordDuplicate":this.isConfirmPasswordValid=e.detail.valid;break}(this.forgotMode==="true"||this.isCurrentPasswordValid)&&this.isNewPasswordValid&&this.isConfirmPasswordValid&&(this.isBtnSubmitEnabled=!0)}sendInputValueHandler(e){switch(e.detail.name){case"password":this.currentPasswordValue=e.detail.value;break;case"newPassword":this.newPasswordValue=e.detail.value;break;case"newPasswordDuplicate":this.confirmPasswordValue=e.detail.value;break}}componentWillLoad(){if(this.getPolicy(),this.initValidationSchemas(),this.translationUrl)return g(this.translationUrl)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?f(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&c(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return i.h("div",{key:"9a8f54fe541ef6409f7cc21bb8431c850d031830",class:"PlayerChangePassword",ref:e=>this.stylingContainer=e},i.h("form",{key:"8a3aaa6a96b16a26477657f0216a7a0a2e2e0869",class:"Form"},this.isMobile?i.h("div",{class:"ButtonReturn",onClick:this.toggleScreen},i.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},i.h("g",{transform:"translate(-20 -158)"},i.h("g",{transform:"translate(20 158)"},i.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),i.h("h2",{class:"TitleMobile"},o("title",this.language))):i.h("h2",{class:"Title"},o("title",this.language)),i.h("section",{key:"47a7214266e06ef9f8ded9f86f76e15ce4f6fc3a",class:"FieldsSection"},this.forgotMode==="false"&&i.h("password-input",{key:"41b721a65332283a3699ab8e838dadb8d73913fa",language:this.language,name:"password","display-name":o("passwordDisplayText",this.language),placeholder:o("passwordPlaceholderText",this.language),validation:this.currentPasswordValidationSchema,clientStyling:this.clientStyling,"mb-source":this.mbSource}),i.h("password-input",{key:"eb7c697eb1900ed580ff17a4cd56819993599924",language:this.language,name:"newPassword","display-name":o("newPasswordDisplayText",this.language),placeholder:o("newPasswordPlaceholderText",this.language),validation:this.newPasswordValidationSchema,clientStyling:this.clientStyling,"mb-source":this.mbSource}),i.h("password-input",{key:"4b12c17b882fe8117f9c49ad296c5918198e18f0",language:this.language,name:"newPasswordDuplicate","display-name":o("confirmPasswordDisplayText",this.language),placeholder:o("confirmPasswordPlaceholderText",this.language),validation:this.confirmPasswordValidationSchema,"is-duplicate-input":!0,clientStyling:this.clientStyling,"mb-source":this.mbSource})),i.h("section",{key:"a0cd6777b46ac8e4ba5eef6c42f77531a9c7ee0b",class:"ButtonsSection"},i.h("button",{key:"d21c481e07a7c7762bf0fa7acbb4f1d68ac92d4d",class:"Button",disabled:!this.isBtnSubmitEnabled,onClick:this.submitNewPassword},o("btnSubmit",this.language)))))}static get watchers(){return{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};m.style=y;exports.PlayerChangePasswordGm2=m;
@@ -1 +1 @@
1
- "use strict";var s=(l,i,a)=>new Promise((g,u)=>{var p=e=>{try{t(a.next(e))}catch(n){u(n)}},c=e=>{try{t(a.throw(e))}catch(n){u(n)}},t=e=>e.done?g(e.value):Promise.resolve(e.value).then(p,c);t((a=a.apply(l,i)).next())});const o=require("./index-9cd44522-B27p0GWo.cjs"),r=require("./app-globals-0f993ce5-DgYhdguE.cjs");var d=typeof document!="undefined"?document.currentScript:null,m=()=>{const l=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:d&&d.tagName.toUpperCase()==="SCRIPT"&&d.src||new URL("stencil/player-change-password-gm2-CL_S4kzE.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),o.promiseResolve(i)};m().then(l=>s(exports,null,function*(){return yield r.globalScripts(),o.bootstrapLazy([["password-input_2",[[1,"player-change-password-gm2",{language:[513],endpoint:[513],session:[513],token:[513],forgotMode:[513,"forgot-mode"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[513,"translation-url"],isBtnSubmitEnabled:[32],isMobile:[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}]]],["checkbox-group-input_9",[[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]],["general-input",[[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"]}]]],["toggle-checkbox-input",[[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"]}]]]],l)}));
1
+ "use strict";var s=(l,i,a)=>new Promise((g,u)=>{var p=e=>{try{t(a.next(e))}catch(n){u(n)}},c=e=>{try{t(a.throw(e))}catch(n){u(n)}},t=e=>e.done?g(e.value):Promise.resolve(e.value).then(p,c);t((a=a.apply(l,i)).next())});const o=require("./index-9cd44522-f4GYx31A.cjs"),r=require("./app-globals-0f993ce5-DgYhdguE.cjs");var d=typeof document!="undefined"?document.currentScript:null,m=()=>{const l=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:d&&d.tagName.toUpperCase()==="SCRIPT"&&d.src||new URL("stencil/player-change-password-gm2-CK45v7lD.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),o.promiseResolve(i)};m().then(l=>s(exports,null,function*(){return yield r.globalScripts(),o.bootstrapLazy([["password-input_2",[[1,"player-change-password-gm2",{language:[513],endpoint:[513],session:[513],token:[513],forgotMode:[513,"forgot-mode"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[513,"translation-url"],isBtnSubmitEnabled:[32],isMobile:[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}]]],["checkbox-group-input_9",[[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]],["general-input",[[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"]}]]],["toggle-checkbox-input",[[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"]}]]]],l)}));
@@ -1,4 +1,4 @@
1
- import { b as i, p as a } from "./index-9cd44522-DZYEjrQJ.js";
1
+ import { b as i, p as a } from "./index-9cd44522-CYt1WZ1X.js";
2
2
  import { g as t } from "./app-globals-0f993ce5-DzSE6TtH.js";
3
3
  var n = () => {
4
4
  const l = import.meta.url, e = {};
@@ -14,7 +14,7 @@ var u = (e, i, a) => new Promise((s, d) => {
14
14
  }, t = (l) => l.done ? s(l.value) : Promise.resolve(l.value).then(o, g);
15
15
  t((a = a.apply(e, i)).next());
16
16
  });
17
- import { b as p, p as c } from "./index-9cd44522-B5bBjvJ-.js";
17
+ import { b as p, p as c } from "./index-9cd44522-CcsmteW_.js";
18
18
  import { g as m } from "./app-globals-0f993ce5-DzSE6TtH.js";
19
19
  var r = () => {
20
20
  const e = import.meta.url, i = {};
@@ -1,10 +1,10 @@
1
- import { b as v, p as w, r as C, h as i, F as m } from "./index-9c0f6c58-D5txcAjr.js";
2
- import { a as k } from "./app-globals-0f993ce5-DzSE6TtH.js";
1
+ import { b as v, p as w, r as k, h as i, F as m } from "./index-9c0f6c58-pr1WGVFu.js";
2
+ import { a as C } from "./app-globals-0f993ce5-DzSE6TtH.js";
3
3
  var x = () => {
4
4
  const e = import.meta.url, t = {};
5
5
  return e !== "" && (t.resourcesUrl = new URL(".", e).href), w(t);
6
6
  };
7
- x().then(async (e) => (await k(), v([["player-kyc-verification", [[1, "player-kyc-verification", { userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], mbSource: [1, "mb-source"], verificationType: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], selectedOption: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
7
+ x().then(async (e) => (await C(), v([["player-kyc-verification", [[1, "player-kyc-verification", { userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], mbSource: [1, "mb-source"], verificationType: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], selectedOption: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
8
8
  const S = "en";
9
9
  let c = {
10
10
  en: {
@@ -667,7 +667,7 @@ button, select {
667
667
  align-items: center;
668
668
  justify-content: center;
669
669
  background-color: var(--emw--color-white, #FFFFFF);
670
- color: var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));
670
+ color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
671
671
  border: none;
672
672
  font-size: 16px;
673
673
  padding: 10px 0px 0px 0px;
@@ -732,7 +732,7 @@ button, select {
732
732
  }
733
733
  }`, O = D, I = class {
734
734
  constructor(e) {
735
- C(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = b(this.userAgent), this.handleToggleScreen = () => {
735
+ k(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = b(this.userAgent), this.handleToggleScreen = () => {
736
736
  this.toggleScreen(this.isMobile);
737
737
  }, this.userId = "", this.session = "", this.language = void 0, this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.verificationType = [], this.isLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.selectedOption = void 0, this.expandedOnDesktop = !1;
738
738
  }
@@ -872,7 +872,7 @@ button, select {
872
872
  } }, i("div", { class: "box-icon" }, f ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : u ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, s, d, l, f, u) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
873
873
  }
874
874
  renderDocumentsActions(e, t, n) {
875
- return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, t ? i("label", null, i("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, this.selectedOption, n.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
875
+ return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, t ? i("label", null, i("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, this.selectedOption, n.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
876
876
  }
877
877
  renderExpandedContent(e, t, n, o, a, s, d) {
878
878
  return a?.type === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : a?.type === "Redirect" && e.vendorName !== "Manual" && n !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(m, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : d ? i("div", { class: "verification-status" }, n === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, o.map((l) => i("option", { selected: l.code == t, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === t), t, e)) : null));