@everymatrix/player-account-controller-nd 1.63.3 → 1.64.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/components/PlayerAccountBettingHistory-B9b7N4rK.cjs +1 -0
  2. package/components/{PlayerAccountBettingHistory-BQDZnQJv.js → PlayerAccountBettingHistory-DF90lVOO.js} +29 -29
  3. package/components/{PlayerAccountBettingHistory-BaUkbO2e.js → PlayerAccountBettingHistory-Dz5yeKKA.js} +29 -29
  4. package/components/PlayerAccountBiometrics--jNdHq_x.cjs +1 -0
  5. package/components/{PlayerAccountBiometrics-Dbhuxb19.js → PlayerAccountBiometrics-BqXLWadL.js} +43 -43
  6. package/components/{PlayerAccountBiometrics-Dh74Qtn7.js → PlayerAccountBiometrics-Ddw_ADH3.js} +43 -43
  7. package/components/PlayerAccountClosureNd-D7du3DpH.js +346 -0
  8. package/components/PlayerAccountClosureNd-RFe9SqKa.cjs +1 -0
  9. package/components/PlayerAccountClosureNd-pyS-Vgfe.js +346 -0
  10. package/components/{PlayerAccountControllerNd-UHEMcr5V.js → PlayerAccountControllerNd-BZBbrE_G.js} +1082 -798
  11. package/components/PlayerAccountControllerNd-BorKSCp1.cjs +1 -0
  12. package/components/{PlayerAccountControllerNd-DmOFOtWH.js → PlayerAccountControllerNd-DulHOFO5.js} +1093 -809
  13. package/components/{PlayerAccountGamingLimits-DLbWmmx-.cjs → PlayerAccountGamingLimits-BeNIpTyB.cjs} +1 -1
  14. package/components/{PlayerAccountGamingLimits-CeAZM__C.js → PlayerAccountGamingLimits-Bo8MVEfr.js} +39 -39
  15. package/components/{PlayerAccountGamingLimits-D0bxzBDm.js → PlayerAccountGamingLimits-DC2VIFTm.js} +39 -39
  16. package/components/{PlayerAccountGamingLimitsConfirmationModal-DncSFVcn.js → PlayerAccountGamingLimitsConfirmationModal-CmUUxaPK.js} +1 -1
  17. package/components/{PlayerAccountGamingLimitsConfirmationModal-BnEweLIY.js → PlayerAccountGamingLimitsConfirmationModal-DZKii3hI.js} +1 -1
  18. package/components/PlayerAccountGamingLimitsConfirmationModal-d82kkCRB.cjs +1 -0
  19. package/components/{PlayerAccountGamingLimitsGroupEdit-DmpsyTc8.cjs → PlayerAccountGamingLimitsGroupEdit---hht9tC.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimitsGroupEdit-B7MQQXXb.js → PlayerAccountGamingLimitsGroupEdit-DngSUyQz.js} +269 -270
  21. package/components/{PlayerAccountGamingLimitsGroupEdit-Cz2qqAAY.js → PlayerAccountGamingLimitsGroupEdit-oHD81i9H.js} +269 -270
  22. package/components/{PlayerAccountGamingLimitsHistory2Nd-Dnahi30S.js → PlayerAccountGamingLimitsHistory2Nd-BjR_4sPM.js} +245 -245
  23. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQGrRCWJ.cjs → PlayerAccountGamingLimitsHistory2Nd-D7aSqGSa.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimitsHistory2Nd-BjyWFgbh.js → PlayerAccountGamingLimitsHistory2Nd-SXSJVgXX.js} +255 -255
  25. package/components/{PlayerAccountGamingLimitsInfoCard-DYRTXhce.js → PlayerAccountGamingLimitsInfoCard-8SE86dkP.js} +53 -53
  26. package/components/{PlayerAccountGamingLimitsInfoCard-C4wloIme.cjs → PlayerAccountGamingLimitsInfoCard-CDIlzmJc.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsInfoCard-C0V84L8B.js → PlayerAccountGamingLimitsInfoCard-Zi4i1Wtg.js} +53 -53
  28. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BPCMNRwE.js → PlayerAccountGamingLimitsPage2Gm16Nd-B2aTZQTk.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DSY26Bjc.js → PlayerAccountGamingLimitsPage2Gm16Nd-CK93bH3V.js} +1 -1
  30. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BO4C95_X.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-TqJOE-wZ.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsWrapper2Nd-PYs0Vgim.cjs → PlayerAccountGamingLimitsWrapper2Nd-B-4dzr5j.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DrK2-o5P.js → PlayerAccountGamingLimitsWrapper2Nd-BeMvidXj.js} +133 -133
  33. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CsLB_pnx.js → PlayerAccountGamingLimitsWrapper2Nd-CAhDx70z.js} +50 -50
  34. package/components/{PlayerAccountGeneralConfirmationModal-XmJMAUuW.js → PlayerAccountGeneralConfirmationModal-B1swDT-8.js} +9 -9
  35. package/components/PlayerAccountGeneralConfirmationModal-CZkaGeVc.cjs +1 -0
  36. package/components/{PlayerAccountGeneralConfirmationModal-CUpQq9mt.js → PlayerAccountGeneralConfirmationModal-DziZi8kq.js} +9 -9
  37. package/components/PlayerAccountMenuNd-BKZgzL3n.cjs +1 -0
  38. package/components/{PlayerAccountMenuNd-CxnPp8TH.js → PlayerAccountMenuNd-BhyjVRuJ.js} +9 -9
  39. package/components/{PlayerAccountMenuNd-Bp_hjRRq.js → PlayerAccountMenuNd-CJ7cm0F_.js} +9 -9
  40. package/components/PlayerAccountNotifications-0OisRcYn.cjs +1 -0
  41. package/components/{PlayerAccountNotifications-CeyX2lOx.js → PlayerAccountNotifications-Di9ejoZn.js} +42 -42
  42. package/components/{PlayerAccountNotifications-Ccv15Pjf.js → PlayerAccountNotifications-Get6mur7.js} +39 -39
  43. package/components/{PlayerAccountSelfExclusionNd-CrYM5oTU.cjs → PlayerAccountSelfExclusionNd-C_XQIyHr.cjs} +19 -19
  44. package/components/{PlayerAccountSelfExclusionNd-C3rsUt5E.js → PlayerAccountSelfExclusionNd-Ckpq0tvM.js} +1285 -1285
  45. package/components/{PlayerAccountSelfExclusionNd--JbMhz8n.js → PlayerAccountSelfExclusionNd-DnAbGzN6.js} +1315 -1315
  46. package/components/{PlayerAccountTimeout-SoqN7bMq.js → PlayerAccountTimeout-BVuTBIZ9.js} +104 -104
  47. package/components/{PlayerAccountTimeout-BJL3CfsU.js → PlayerAccountTimeout-C8cr4M3b.js} +104 -104
  48. package/components/{PlayerAccountTimeout-BUvC_yO8.cjs → PlayerAccountTimeout-CXDKPIO4.cjs} +1 -1
  49. package/components/PlayerAccountTransactionsHistory-CBysPJ7e.js +13827 -0
  50. package/components/PlayerAccountTransactionsHistory-DKv-FaMN.js +13847 -0
  51. package/components/PlayerAccountTransactionsHistory-DOyK1gIl.cjs +4546 -0
  52. package/components/{PlayerActiveBonuses-DsXZ2LWk.js → PlayerActiveBonuses-BPmBbKql.js} +155 -155
  53. package/components/PlayerActiveBonuses-CB4JoF7y.cjs +1 -0
  54. package/components/{PlayerActiveBonuses-B8GJf0af.js → PlayerActiveBonuses-D9K68q-c.js} +155 -155
  55. package/components/{PlayerBonusCard-B6ggUEkL.js → PlayerBonusCard-CZoVLqhv.js} +17 -17
  56. package/components/PlayerBonusCard-eqIrxB9j.cjs +1 -0
  57. package/components/{PlayerBonusCard-6CpIv5o1.js → PlayerBonusCard-s0AeiqPO.js} +17 -17
  58. package/components/{PlayerBonusHistory-BEKn13zi.cjs → PlayerBonusHistory-BHLJlH8s.cjs} +1 -1
  59. package/components/{PlayerBonusHistory-_Q3yY8OW.js → PlayerBonusHistory-Ofer_Ixb.js} +98 -98
  60. package/components/{PlayerBonusHistory-2cAGGFlb.js → PlayerBonusHistory-nwMVCSdy.js} +97 -97
  61. package/components/{PlayerChangePassword-CeUedW_1.cjs → PlayerChangePassword-CsxcNZiB.cjs} +2 -2
  62. package/components/{PlayerChangePassword-BpFdooht.js → PlayerChangePassword-DbkKEXRC.js} +34 -34
  63. package/components/{PlayerChangePassword-DCAPfPzU.js → PlayerChangePassword-Dg5oPNcv.js} +34 -34
  64. package/components/PlayerDeposit-CjdOaig0.cjs +1 -0
  65. package/components/{PlayerDeposit-BlaUbOFE.js → PlayerDeposit-CtaQRIt5.js} +22 -22
  66. package/components/{PlayerDeposit-CICzsn3y.js → PlayerDeposit-DBpO36if.js} +22 -22
  67. package/components/{PlayerGamingHistory-DOB0lPG1.js → PlayerGamingHistory-BIbeDLD-.js} +137 -137
  68. package/components/PlayerGamingHistory-B_jbiErd.cjs +1 -0
  69. package/components/{PlayerGamingHistory-BRpTgMhR.js → PlayerGamingHistory-Ny_tFA-0.js} +150 -150
  70. package/components/{PlayerPendingWithdrawals-BdgNl6Vs.cjs → PlayerPendingWithdrawals-B9YXwRUU.cjs} +1 -1
  71. package/components/{PlayerPendingWithdrawals-BTEMyPpn.js → PlayerPendingWithdrawals-C3NfJ7OG.js} +9 -9
  72. package/components/{PlayerPendingWithdrawals-CIZkb_Lo.js → PlayerPendingWithdrawals-CEuRpWfP.js} +9 -9
  73. package/components/{PlayerProfileInfo-DFDj3xge.js → PlayerProfileInfo-3dkuH9Q9.js} +1 -1
  74. package/components/PlayerProfileInfo-BqzfGqWe.cjs +1 -0
  75. package/components/{PlayerProfileInfo-Cw5vJCxw.js → PlayerProfileInfo-DGiKkt5w.js} +1 -1
  76. package/components/{PlayerRealityCheck-BLblY5qL.js → PlayerRealityCheck-CBrwL8VP.js} +108 -108
  77. package/components/{PlayerRealityCheck-DwUIXfJJ.cjs → PlayerRealityCheck-CHhkuZko.cjs} +1 -1
  78. package/components/{PlayerRealityCheck-iC62X6wE.js → PlayerRealityCheck-c-plaUGh.js} +111 -111
  79. package/components/{PlayerTransactionHistory-D8WUTK8U.cjs → PlayerTransactionHistory-Bh5t7Moq.cjs} +1 -1
  80. package/components/{PlayerTransactionHistory-XQ_BjuGi.js → PlayerTransactionHistory-ChaYKejr.js} +29 -29
  81. package/components/{PlayerTransactionHistory-D78rlE2i.js → PlayerTransactionHistory-CxVY-rVx.js} +29 -29
  82. package/components/{PlayerWithdrawal-mOfIFDcT.js → PlayerWithdrawal-D53e2d9k.js} +1 -1
  83. package/components/{PlayerWithdrawal-Dih0SjE2.js → PlayerWithdrawal-DBdto8RJ.js} +1 -1
  84. package/components/PlayerWithdrawal-DXWxKqhW.cjs +1 -0
  85. package/es2015/player-account-controller-nd.cjs +1 -1
  86. package/es2015/player-account-controller-nd.js +1 -1
  87. package/esnext/player-account-controller-nd.js +1 -1
  88. package/package.json +1 -1
  89. package/stencil/{checkbox-group-input_9-NOhxQ4TV.js → checkbox-group-input_9-Ccn1x-YQ.js} +58 -58
  90. package/stencil/{checkbox-group-input_9-CBlOQ2bp.cjs → checkbox-group-input_9-D2BF8AME.cjs} +2 -2
  91. package/stencil/{checkbox-group-input_9-Cf3RhgI2.js → checkbox-group-input_9-fb5AYRav.js} +58 -58
  92. package/stencil/{general-input-DXHAg0hj.cjs → general-input-BRStwjLe.cjs} +1 -1
  93. package/stencil/{general-input-BbYl1wbH.js → general-input-Bi859Arx.js} +1 -1
  94. package/stencil/{general-input-DOa7K2O_.js → general-input-VrsbUFid.js} +1 -1
  95. package/stencil/{index-1ef3a64c-d6wOzDuW.cjs → index-1ef3a64c-40UJl6ZR.cjs} +1 -1
  96. package/stencil/{index-1ef3a64c-D_6fm_mH.js → index-1ef3a64c-D_hRnRRS.js} +1 -1
  97. package/stencil/{index-1ef3a64c-C3248BpZ.js → index-1ef3a64c-DlkA_w16.js} +1 -1
  98. package/stencil/{index-9c0f6c58-DeLVbTUg.js → index-9c0f6c58-BNoMpTuB.js} +1 -1
  99. package/stencil/{index-9c0f6c58-DeCWAW-B.cjs → index-9c0f6c58-DkHHwpww.cjs} +1 -1
  100. package/stencil/{index-9c0f6c58-D5txcAjr.js → index-9c0f6c58-pr1WGVFu.js} +1 -1
  101. package/stencil/{index-9cd44522-B27p0GWo.cjs → index-9cd44522-CrgsoiAp.cjs} +1 -1
  102. package/stencil/{index-9cd44522-DZYEjrQJ.js → index-9cd44522-DxFae1MG.js} +4 -4
  103. package/stencil/{index-9cd44522-B5bBjvJ-.js → index-9cd44522-JnusBvN9.js} +4 -4
  104. package/stencil/{password-input_2-BxuZdeWc.js → password-input_2-BCOtY9sM.js} +9 -9
  105. package/stencil/{password-input_2-BPC46TAs.cjs → password-input_2-BXzfMc8X.cjs} +4 -4
  106. package/stencil/{password-input_2-D4wWQR82.js → password-input_2-DHVTL4Uw.js} +9 -9
  107. package/stencil/{player-change-password-gm2-039e300e-Du8eNt-6.js → player-change-password-gm2-5cb5c6c1-6TVYOtMo.js} +2 -2
  108. package/stencil/{player-change-password-gm2-039e300e-Dm-mYZ76.js → player-change-password-gm2-5cb5c6c1-BKCmd_cs.js} +2 -2
  109. package/stencil/{player-change-password-gm2-039e300e-WtxMW-jf.cjs → player-change-password-gm2-5cb5c6c1-BUgDtida.cjs} +1 -1
  110. package/stencil/{player-change-password-gm2-CEo_RTlU.js → player-change-password-gm2-BKBYgPz8.js} +1 -1
  111. package/stencil/{player-change-password-gm2-CL_S4kzE.cjs → player-change-password-gm2-BrSLdHlU.cjs} +1 -1
  112. package/stencil/{player-change-password-gm2-Bc5CkDrM.js → player-change-password-gm2-gjVdo1GO.js} +1 -1
  113. package/stencil/{player-kyc-verification-z8R7nMzo.js → player-kyc-verification-CUhrMPde.js} +6 -6
  114. package/stencil/{player-kyc-verification-C0h2CP_Y.cjs → player-kyc-verification-DAy-szI5.cjs} +3 -3
  115. package/stencil/{player-kyc-verification-dmJNIHni.js → player-kyc-verification-DPUx1txP.js} +5 -5
  116. package/stencil/{toggle-checkbox-input-DKrKPVIW.cjs → toggle-checkbox-input-BC2iIvnY.cjs} +1 -1
  117. package/stencil/{toggle-checkbox-input-C7Z1kZlk.js → toggle-checkbox-input-CrxkMky_.js} +2 -2
  118. package/stencil/{toggle-checkbox-input-rkO07S5s.js → toggle-checkbox-input-HnF1aSM9.js} +2 -2
  119. package/stencil/{user-deposit-withdrawal-C8A8VDip.js → user-deposit-withdrawal-C3ngwq1c.js} +35 -35
  120. package/stencil/{user-deposit-withdrawal-8SEgGGEs.cjs → user-deposit-withdrawal-CJihIeJ7.cjs} +4 -4
  121. package/stencil/{user-deposit-withdrawal-BIEaZv3-.js → user-deposit-withdrawal-cnDUxzhZ.js} +35 -35
  122. package/components/PlayerAccountBettingHistory-Lp_KBkg4.cjs +0 -1
  123. package/components/PlayerAccountBiometrics-CeKoZNyZ.cjs +0 -1
  124. package/components/PlayerAccountClosureNd-BsF9ZVbK.js +0 -346
  125. package/components/PlayerAccountClosureNd-DMGgaEs3.js +0 -346
  126. package/components/PlayerAccountClosureNd-Yd72HK-r.cjs +0 -1
  127. package/components/PlayerAccountControllerNd-DMVZGd2c.cjs +0 -1
  128. package/components/PlayerAccountGamingLimitsConfirmationModal-D4IU66Wc.cjs +0 -1
  129. package/components/PlayerAccountGeneralConfirmationModal-C855qGTP.cjs +0 -1
  130. package/components/PlayerAccountMenuNd-DydOkp6f.cjs +0 -1
  131. package/components/PlayerAccountNotifications-DN4TPQQU.cjs +0 -1
  132. package/components/PlayerActiveBonuses-DIJBqD-t.cjs +0 -1
  133. package/components/PlayerBonusCard-BDWqqpGz.cjs +0 -1
  134. package/components/PlayerDeposit-BmunpkgB.cjs +0 -1
  135. package/components/PlayerGamingHistory-BeCdiGp8.cjs +0 -1
  136. package/components/PlayerProfileInfo-CPEAe3ab.cjs +0 -1
  137. package/components/PlayerWithdrawal-g7alD3vj.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";var Ee=Object.defineProperty;var X=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var Y=(e,t,s)=>t in e?Ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,J=(e,t)=>{for(var s in t||(t={}))ke.call(t,s)&&Y(e,s,t[s]);if(X)for(var s of X(t))be.call(t,s)&&Y(e,s,t[s]);return e};var T=(e,t,s)=>new Promise((n,r)=>{var i=l=>{try{o(s.next(l))}catch($){r($)}},a=l=>{try{o(s.throw(l))}catch($){r($)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,a);o((s=s.apply(e,t)).next())});const we="player-kyc-verification",Pe={hydratedSelectorName:"hydrated"};var xe=Object.defineProperty,Te=(e,t)=>{for(var s in t)xe(e,s,{get:t[s],enumerable:!0})},B=new WeakMap,k=e=>B.get(e),_e=(e,t)=>B.set(t.$lazyInstance$=e,t),Le=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],B.set(e,s)},K=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),C=new Map,Ae=(e,t,s)=>{const n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=C.get(r);if(i)return i[n];{const a=o=>(C.set(r,o),o[n]);switch(r){case"player-kyc-verification":return Promise.resolve().then(()=>require("./player-kyc-verification-C0h2CP_Y.cjs")).then(a,b)}}return import(`./${r}.entry.js`).then(a=>(C.set(r,a),a[n]),b)},j=new Map,je="{visibility:hidden}.hydrated{visibility:inherit}",ae="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},m=I.document||{head:{}},d={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},le=e=>Promise.resolve(e),Oe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,Q=[],ie=[],Ie=(e,t)=>s=>{e.push(s),U||(U=!0,d.$flags$&4?q(z):d.raf(z))},Z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){b(s)}e.length=0},z=()=>{Z(Q),Z(ie),(U=Q.length>0)&&d.raf(z)},q=e=>le().then(e),Ce=Ie(ie),N={},Ue="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 oe(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Be={};Te(Be,{err:()=>$e,map:()=>qe,ok:()=>H,unwrap:()=>Fe,unwrapErr:()=>De});var H=e=>({isOk:!0,isErr:!1,value:e}),$e=e=>({isOk:!1,isErr:!0,value:e});function qe(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(n=>H(n)):H(s)}if(e.isErr){const s=e.value;return $e(s)}throw"should never get here"}var Fe=e=>{if(e.isOk)return e.value;throw e.value},De=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Me=(e,t)=>()=>{},D=(e,t,...s)=>{let n=null,r=!1,i=!1;const a=[],o=$=>{for(let c=0;c<$.length;c++)n=$[c],Array.isArray(n)?o(n):n!=null&&typeof n!="boolean"&&((r=typeof e!="function"&&!F(n))&&(n=String(n)),r&&i?a[a.length-1].$text$+=n:a.push(r?O(null,n):n),i=r)};if(o(s),t){const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(c=>$[c]).join(" "))}if(typeof e=="function")return e(t===null?{}:t,a,Ge);const l=O(e,null);return l.$attrs$=t,a.length>0&&(l.$children$=a),l},O=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s},Re={},We=e=>e&&e.$tag$===Re,Ge={forEach:(e,t)=>e.map(V).forEach(t),map:(e,t)=>e.map(V).map(t).map(Xe)},V=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Xe=e=>{if(typeof e.vtag=="function"){const s=J({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),D(e.vtag,s,...e.vchildren||[])}const t=O(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Ye=(e,t)=>e!=null&&!F(e)&&t&1?String(e):e,Je=(e,t,s)=>{const n=d.ce(t,s);return e.dispatchEvent(n),n},ee=new WeakMap,Ke=(e,t,s)=>{let n=j.get(e);Oe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},Qe=(e,t,s)=>{var n;const r=ce(t),i=j.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let a=ee.get(e),o;if(a||ee.set(e,a=new Set),!a.has(r)){{o=m.createElement("style"),o.innerHTML=i;const l=(n=d.$nonce$)!=null?n:oe(m);l!=null&&o.setAttribute("nonce",l),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ae),a&&a.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Ze=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=S("attachStyles",t.$tagName$),i=Qe(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&(s["s-sc"]=i,s.classList.add(i+"-h")),r()},ce=(e,t)=>"sc-"+e.$tagName$,te=(e,t,s,n,r,i)=>{if(s!==n){let a=K(e,t),o=t.toLowerCase();if(t==="class"){const l=e.classList,$=se(s),c=se(n);l.remove(...$.filter(f=>f&&!c.includes(f))),l.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const l in s)(!n||n[l]==null)&&(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in n)(!s||n[l]!==s[l])&&(l.includes("-")?e.style.setProperty(l,n[l]):e.style[l]=n[l])}else if(t==="ref")n&&n(e);else if(!a&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):K(I,o)?t=o.slice(2):t=o[2]+t.slice(3),s||n){const l=t.endsWith(fe);t=t.replace(Ve,""),s&&d.rel(e,t,s,l),n&&d.ael(e,t,n,l)}}else{const l=F(n);if((a||l&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{const $=n==null?"":n;t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch($){}n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!a||i&4||r)&&!l&&(n=n===!0?"":n,e.setAttribute(t,n))}}},Ne=/\s/,se=e=>e?e.split(Ne):[],fe="Capture",Ve=new RegExp(fe+"$"),ue=(e,t,s)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||N,i=t.$attrs$||N;for(const a of ne(Object.keys(r)))a in i||te(n,a,r[a],void 0,s,t.$flags$);for(const a of ne(Object.keys(i)))te(n,a,r[a],i[a],s,t.$flags$)};function ne(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,M,v=!1,R=(e,t,s,n)=>{const r=t.$children$[s];let i=0,a,o;if(r.$text$!==null)a=r.$elm$=m.createTextNode(r.$text$);else{if(v||(v=r.$tag$==="svg"),a=r.$elm$=m.createElementNS(v?Ue:ze,r.$tag$),v&&r.$tag$==="foreignObject"&&(v=!1),ue(null,r,v),He(L)&&a["s-si"]!==L&&a.classList.add(a["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=R(e,r,i),o&&a.appendChild(o);r.$tag$==="svg"?v=!1:a.tagName==="foreignObject"&&(v=!0)}return a["s-hn"]=M,a},de=(e,t,s,n,r,i)=>{let a=e,o;for(a.shadowRoot&&a.tagName===M&&(a=a.shadowRoot);r<=i;++r)n[r]&&(o=R(null,s,r),o&&(n[r].$elm$=o,A(a,o,t)))},ve=(e,t,s)=>{for(let n=t;n<=s;++n){const r=e[n];if(r){const i=r.$elm$;he(r),i&&i.remove()}}},et=(e,t,s,n,r=!1)=>{let i=0,a=0,o=t.length-1,l=t[0],$=t[o],c=n.length-1,f=n[0],u=n[c],h;for(;i<=o&&a<=c;)l==null?l=t[++i]:$==null?$=t[--o]:f==null?f=n[++a]:u==null?u=n[--c]:_(l,f,r)?(P(l,f,r),l=t[++i],f=n[++a]):_($,u,r)?(P($,u,r),$=t[--o],u=n[--c]):_(l,u,r)?(P(l,u,r),A(e,l.$elm$,$.$elm$.nextSibling),l=t[++i],u=n[--c]):_($,f,r)?(P($,f,r),A(e,$.$elm$,l.$elm$),$=t[--o],f=n[++a]):(h=R(t&&t[a],s,a),f=n[++a],h&&A(l.$elm$.parentNode,h,l.$elm$));i>o?de(e,n[c+1]==null?null:n[c+1].$elm$,s,n,a,c):a>c&&ve(t,i,o)},_=(e,t,s=!1)=>e.$tag$===t.$tag$,P=(e,t,s=!1)=>{const n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,a=t.$tag$,o=t.$text$;o===null?(v=a==="svg"?!0:a==="foreignObject"?!1:v,ue(e,t,v),r!==null&&i!==null?et(n,r,t,i,s):i!==null?(e.$text$!==null&&(n.textContent=""),de(n,null,t,i,0,i.length-1)):r!==null&&ve(r,0,r.length-1),v&&a==="svg"&&(v=!1)):e.$text$!==o&&(n.data=o)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),tt=(e,t,s=!1)=>{const n=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||O(null,null),a=We(t)?t:D(null,null,t);if(M=n.tagName,s&&a.$attrs$)for(const o of Object.keys(a.$attrs$))n.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(a.$attrs$[o]=n[o]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=i.$elm$=n.shadowRoot||n,L=n["s-sc"],r.$flags$&1,P(i,a,s)},pe=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return pe(e,e.$ancestorComponent$),Ce(()=>st(e,t))},st=(e,t)=>{const s=e.$hostElement$,n=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.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 i;return t&&(i=G(r,"componentWillLoad")),n(),nt(i,()=>at(e,r,t))},nt=(e,t)=>rt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),rt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",at=(e,t,s)=>T(exports,null,function*(){var n;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),a=r["s-rc"];s&&Ze(e);const o=S("render",e.$cmpMeta$.$tagName$);lt(e,t,r,s),a&&(a.map(l=>l()),r["s-rc"]=void 0),o(),i();{const l=(n=r["s-p"])!=null?n:[],$=()=>it(e);l.length===0?$():(Promise.all(l).then($),e.$flags$|=4,l.length=0)}}),lt=(e,t,s,n)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,tt(e,t,n)}catch(r){b(r,e.$hostElement$)}return null},it=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?n():(e.$flags$|=64,ye(s),G(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),i||ge()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&q(()=>W(e,!1)),e.$flags$&=-517},ge=e=>{ye(m.documentElement),q(()=>Je(I,"appload",{detail:{namespace:we}}))},G=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){b(n)}},ye=e=>{var t;return e.classList.add((t=Pe.hydratedSelectorName)!=null?t:"hydrated")},ot=(e,t)=>k(e).$instanceValues$.get(t),$t=(e,t,s,n)=>{const r=k(e);if(!r)throw new Error(`Couldn't find host element for "${n.$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 i=r.$hostElement$,a=r.$instanceValues$.get(t),o=r.$flags$,l=r.$lazyInstance$;s=Ye(s,n.$members$[t][0]);const $=Number.isNaN(a)&&Number.isNaN(s),c=s!==a&&!$;if((!(o&8)||a===void 0)&&c&&(r.$instanceValues$.set(t,s),l)){if(n.$watchers$&&o&128){const f=n.$watchers$[t];f&&f.map(u=>{try{l[u](s,a,t)}catch(h){b(h,i)}})}(o&18)===2&&W(r,!1)}},me=(e,t,s)=>{var n,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const a=Object.entries((n=t.$members$)!=null?n:{});if(a.map(([o,[l]])=>{(l&31||s&2&&l&32)&&Object.defineProperty(i,o,{get(){return ot(this,o)},set($){$t(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;i.attributeChangedCallback=function(l,$,c){d.jmp(()=>{var f;const u=o.get(l);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const h=k(this),g=h==null?void 0:h.$flags$;if(g&&!(g&8)&&g&128&&c!==$){const y=h.$lazyInstance$,w=(f=t.$watchers$)==null?void 0:f[l];w==null||w.forEach(p=>{y[p]!=null&&y[p].call(y,c,$,l)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...a.filter(([l,$])=>$[0]&15).map(([l,$])=>{const c=$[1]||l;return o.set(c,l),c})]))}}return e},ct=(e,t,s,n)=>T(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const l=Ae(s);if(l&&"then"in l){const c=Me();r=yield l,c()}else r=l;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,me(r,s,2),r.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const l=e.localName;customElements.whenDefined(l).then(()=>t.$flags$|=128)}if(r&&r.style){let l;typeof r.style=="string"&&(l=r.style);const $=ce(s);if(!j.has($)){const c=S("registerStyles",s.$tagName$);Ke($,l,!!(s.$flags$&1)),c()}}}const i=t.$ancestorComponent$,a=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(a):a()}),ft=e=>{},ut=e=>{if(!(d.$flags$&1)){const t=k(e),s=t.$cmpMeta$,n=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ft());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){pe(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const a=e[r];delete e[r],e[r]=a}}),ct(e,t,s)}n()}},re=e=>{G(e,"disconnectedCallback")},dt=e=>T(exports,null,function*(){if(!(d.$flags$&1)){const t=k(e);t!=null&&t.$lazyInstance$?re(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>re(t.$lazyInstance$))}}),vt=(e,t={})=>{var s;const n=S(),r=[],i=t.exclude||[],a=I.customElements,o=m.head,l=o.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(d,t),d.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let h=!1;if(e.map(g=>{g[1].map(y=>{var w;const p={$flags$:y[0],$tagName$:y[1],$members$:y[2],$listeners$:y[3]};p.$flags$&4&&(h=!0),p.$members$=y[2],p.$watchers$=(w=y[4])!=null?w:{};const x=p.$tagName$,Se=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,Le(E,p),p.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){k(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):d.jmp(()=>ut(this))}disconnectedCallback(){d.jmp(()=>dt(this))}componentOnReady(){return k(this).$onReadyPromise$}};p.$lazyBundleId$=g[0],!i.includes(x)&&!a.get(x)&&(r.push(x),a.define(x,me(Se,p,1)))})}),r.length>0&&(h&&($.textContent+=ae),$.textContent+=r.sort()+je,$.innerHTML.length)){$.setAttribute("data-styles","");const g=(s=d.$nonce$)!=null?s:oe(m);g!=null&&$.setAttribute("nonce",g),o.insertBefore($,l?l.nextSibling:o.firstChild)}u=!1,c.length?c.map(g=>g.connectedCallback()):d.jmp(()=>f=setTimeout(ge,30)),n()},ht=(e,t)=>t;exports.Fragment=ht;exports.bootstrapLazy=vt;exports.h=D;exports.promiseResolve=le;exports.registerInstance=_e;
1
+ "use strict";var Ee=Object.defineProperty;var X=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var Y=(e,t,s)=>t in e?Ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,J=(e,t)=>{for(var s in t||(t={}))ke.call(t,s)&&Y(e,s,t[s]);if(X)for(var s of X(t))be.call(t,s)&&Y(e,s,t[s]);return e};var T=(e,t,s)=>new Promise((n,r)=>{var i=l=>{try{o(s.next(l))}catch($){r($)}},a=l=>{try{o(s.throw(l))}catch($){r($)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,a);o((s=s.apply(e,t)).next())});const we="player-kyc-verification",Pe={hydratedSelectorName:"hydrated"};var xe=Object.defineProperty,Te=(e,t)=>{for(var s in t)xe(e,s,{get:t[s],enumerable:!0})},B=new WeakMap,k=e=>B.get(e),_e=(e,t)=>B.set(t.$lazyInstance$=e,t),Le=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],B.set(e,s)},K=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),C=new Map,Ae=(e,t,s)=>{const n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=C.get(r);if(i)return i[n];{const a=o=>(C.set(r,o),o[n]);switch(r){case"player-kyc-verification":return Promise.resolve().then(()=>require("./player-kyc-verification-DAy-szI5.cjs")).then(a,b)}}return import(`./${r}.entry.js`).then(a=>(C.set(r,a),a[n]),b)},j=new Map,je="{visibility:hidden}.hydrated{visibility:inherit}",ae="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},m=I.document||{head:{}},d={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},le=e=>Promise.resolve(e),Oe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,Q=[],ie=[],Ie=(e,t)=>s=>{e.push(s),U||(U=!0,d.$flags$&4?q(z):d.raf(z))},Z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){b(s)}e.length=0},z=()=>{Z(Q),Z(ie),(U=Q.length>0)&&d.raf(z)},q=e=>le().then(e),Ce=Ie(ie),N={},Ue="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 oe(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Be={};Te(Be,{err:()=>$e,map:()=>qe,ok:()=>H,unwrap:()=>Fe,unwrapErr:()=>De});var H=e=>({isOk:!0,isErr:!1,value:e}),$e=e=>({isOk:!1,isErr:!0,value:e});function qe(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(n=>H(n)):H(s)}if(e.isErr){const s=e.value;return $e(s)}throw"should never get here"}var Fe=e=>{if(e.isOk)return e.value;throw e.value},De=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Me=(e,t)=>()=>{},D=(e,t,...s)=>{let n=null,r=!1,i=!1;const a=[],o=$=>{for(let c=0;c<$.length;c++)n=$[c],Array.isArray(n)?o(n):n!=null&&typeof n!="boolean"&&((r=typeof e!="function"&&!F(n))&&(n=String(n)),r&&i?a[a.length-1].$text$+=n:a.push(r?O(null,n):n),i=r)};if(o(s),t){const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(c=>$[c]).join(" "))}if(typeof e=="function")return e(t===null?{}:t,a,Ge);const l=O(e,null);return l.$attrs$=t,a.length>0&&(l.$children$=a),l},O=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s},Re={},We=e=>e&&e.$tag$===Re,Ge={forEach:(e,t)=>e.map(V).forEach(t),map:(e,t)=>e.map(V).map(t).map(Xe)},V=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Xe=e=>{if(typeof e.vtag=="function"){const s=J({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),D(e.vtag,s,...e.vchildren||[])}const t=O(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Ye=(e,t)=>e!=null&&!F(e)&&t&1?String(e):e,Je=(e,t,s)=>{const n=d.ce(t,s);return e.dispatchEvent(n),n},ee=new WeakMap,Ke=(e,t,s)=>{let n=j.get(e);Oe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},Qe=(e,t,s)=>{var n;const r=ce(t),i=j.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let a=ee.get(e),o;if(a||ee.set(e,a=new Set),!a.has(r)){{o=m.createElement("style"),o.innerHTML=i;const l=(n=d.$nonce$)!=null?n:oe(m);l!=null&&o.setAttribute("nonce",l),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ae),a&&a.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Ze=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=S("attachStyles",t.$tagName$),i=Qe(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&(s["s-sc"]=i,s.classList.add(i+"-h")),r()},ce=(e,t)=>"sc-"+e.$tagName$,te=(e,t,s,n,r,i)=>{if(s!==n){let a=K(e,t),o=t.toLowerCase();if(t==="class"){const l=e.classList,$=se(s),c=se(n);l.remove(...$.filter(f=>f&&!c.includes(f))),l.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const l in s)(!n||n[l]==null)&&(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in n)(!s||n[l]!==s[l])&&(l.includes("-")?e.style.setProperty(l,n[l]):e.style[l]=n[l])}else if(t==="ref")n&&n(e);else if(!a&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):K(I,o)?t=o.slice(2):t=o[2]+t.slice(3),s||n){const l=t.endsWith(fe);t=t.replace(Ve,""),s&&d.rel(e,t,s,l),n&&d.ael(e,t,n,l)}}else{const l=F(n);if((a||l&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{const $=n==null?"":n;t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch($){}n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!a||i&4||r)&&!l&&(n=n===!0?"":n,e.setAttribute(t,n))}}},Ne=/\s/,se=e=>e?e.split(Ne):[],fe="Capture",Ve=new RegExp(fe+"$"),ue=(e,t,s)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||N,i=t.$attrs$||N;for(const a of ne(Object.keys(r)))a in i||te(n,a,r[a],void 0,s,t.$flags$);for(const a of ne(Object.keys(i)))te(n,a,r[a],i[a],s,t.$flags$)};function ne(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,M,v=!1,R=(e,t,s,n)=>{const r=t.$children$[s];let i=0,a,o;if(r.$text$!==null)a=r.$elm$=m.createTextNode(r.$text$);else{if(v||(v=r.$tag$==="svg"),a=r.$elm$=m.createElementNS(v?Ue:ze,r.$tag$),v&&r.$tag$==="foreignObject"&&(v=!1),ue(null,r,v),He(L)&&a["s-si"]!==L&&a.classList.add(a["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=R(e,r,i),o&&a.appendChild(o);r.$tag$==="svg"?v=!1:a.tagName==="foreignObject"&&(v=!0)}return a["s-hn"]=M,a},de=(e,t,s,n,r,i)=>{let a=e,o;for(a.shadowRoot&&a.tagName===M&&(a=a.shadowRoot);r<=i;++r)n[r]&&(o=R(null,s,r),o&&(n[r].$elm$=o,A(a,o,t)))},ve=(e,t,s)=>{for(let n=t;n<=s;++n){const r=e[n];if(r){const i=r.$elm$;he(r),i&&i.remove()}}},et=(e,t,s,n,r=!1)=>{let i=0,a=0,o=t.length-1,l=t[0],$=t[o],c=n.length-1,f=n[0],u=n[c],h;for(;i<=o&&a<=c;)l==null?l=t[++i]:$==null?$=t[--o]:f==null?f=n[++a]:u==null?u=n[--c]:_(l,f,r)?(P(l,f,r),l=t[++i],f=n[++a]):_($,u,r)?(P($,u,r),$=t[--o],u=n[--c]):_(l,u,r)?(P(l,u,r),A(e,l.$elm$,$.$elm$.nextSibling),l=t[++i],u=n[--c]):_($,f,r)?(P($,f,r),A(e,$.$elm$,l.$elm$),$=t[--o],f=n[++a]):(h=R(t&&t[a],s,a),f=n[++a],h&&A(l.$elm$.parentNode,h,l.$elm$));i>o?de(e,n[c+1]==null?null:n[c+1].$elm$,s,n,a,c):a>c&&ve(t,i,o)},_=(e,t,s=!1)=>e.$tag$===t.$tag$,P=(e,t,s=!1)=>{const n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,a=t.$tag$,o=t.$text$;o===null?(v=a==="svg"?!0:a==="foreignObject"?!1:v,ue(e,t,v),r!==null&&i!==null?et(n,r,t,i,s):i!==null?(e.$text$!==null&&(n.textContent=""),de(n,null,t,i,0,i.length-1)):r!==null&&ve(r,0,r.length-1),v&&a==="svg"&&(v=!1)):e.$text$!==o&&(n.data=o)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),tt=(e,t,s=!1)=>{const n=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||O(null,null),a=We(t)?t:D(null,null,t);if(M=n.tagName,s&&a.$attrs$)for(const o of Object.keys(a.$attrs$))n.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(a.$attrs$[o]=n[o]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=i.$elm$=n.shadowRoot||n,L=n["s-sc"],r.$flags$&1,P(i,a,s)},pe=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return pe(e,e.$ancestorComponent$),Ce(()=>st(e,t))},st=(e,t)=>{const s=e.$hostElement$,n=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.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 i;return t&&(i=G(r,"componentWillLoad")),n(),nt(i,()=>at(e,r,t))},nt=(e,t)=>rt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),rt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",at=(e,t,s)=>T(exports,null,function*(){var n;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),a=r["s-rc"];s&&Ze(e);const o=S("render",e.$cmpMeta$.$tagName$);lt(e,t,r,s),a&&(a.map(l=>l()),r["s-rc"]=void 0),o(),i();{const l=(n=r["s-p"])!=null?n:[],$=()=>it(e);l.length===0?$():(Promise.all(l).then($),e.$flags$|=4,l.length=0)}}),lt=(e,t,s,n)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,tt(e,t,n)}catch(r){b(r,e.$hostElement$)}return null},it=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?n():(e.$flags$|=64,ye(s),G(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),i||ge()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&q(()=>W(e,!1)),e.$flags$&=-517},ge=e=>{ye(m.documentElement),q(()=>Je(I,"appload",{detail:{namespace:we}}))},G=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){b(n)}},ye=e=>{var t;return e.classList.add((t=Pe.hydratedSelectorName)!=null?t:"hydrated")},ot=(e,t)=>k(e).$instanceValues$.get(t),$t=(e,t,s,n)=>{const r=k(e);if(!r)throw new Error(`Couldn't find host element for "${n.$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 i=r.$hostElement$,a=r.$instanceValues$.get(t),o=r.$flags$,l=r.$lazyInstance$;s=Ye(s,n.$members$[t][0]);const $=Number.isNaN(a)&&Number.isNaN(s),c=s!==a&&!$;if((!(o&8)||a===void 0)&&c&&(r.$instanceValues$.set(t,s),l)){if(n.$watchers$&&o&128){const f=n.$watchers$[t];f&&f.map(u=>{try{l[u](s,a,t)}catch(h){b(h,i)}})}(o&18)===2&&W(r,!1)}},me=(e,t,s)=>{var n,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const a=Object.entries((n=t.$members$)!=null?n:{});if(a.map(([o,[l]])=>{(l&31||s&2&&l&32)&&Object.defineProperty(i,o,{get(){return ot(this,o)},set($){$t(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;i.attributeChangedCallback=function(l,$,c){d.jmp(()=>{var f;const u=o.get(l);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const h=k(this),g=h==null?void 0:h.$flags$;if(g&&!(g&8)&&g&128&&c!==$){const y=h.$lazyInstance$,w=(f=t.$watchers$)==null?void 0:f[l];w==null||w.forEach(p=>{y[p]!=null&&y[p].call(y,c,$,l)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...a.filter(([l,$])=>$[0]&15).map(([l,$])=>{const c=$[1]||l;return o.set(c,l),c})]))}}return e},ct=(e,t,s,n)=>T(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const l=Ae(s);if(l&&"then"in l){const c=Me();r=yield l,c()}else r=l;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,me(r,s,2),r.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const l=e.localName;customElements.whenDefined(l).then(()=>t.$flags$|=128)}if(r&&r.style){let l;typeof r.style=="string"&&(l=r.style);const $=ce(s);if(!j.has($)){const c=S("registerStyles",s.$tagName$);Ke($,l,!!(s.$flags$&1)),c()}}}const i=t.$ancestorComponent$,a=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(a):a()}),ft=e=>{},ut=e=>{if(!(d.$flags$&1)){const t=k(e),s=t.$cmpMeta$,n=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ft());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){pe(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const a=e[r];delete e[r],e[r]=a}}),ct(e,t,s)}n()}},re=e=>{G(e,"disconnectedCallback")},dt=e=>T(exports,null,function*(){if(!(d.$flags$&1)){const t=k(e);t!=null&&t.$lazyInstance$?re(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>re(t.$lazyInstance$))}}),vt=(e,t={})=>{var s;const n=S(),r=[],i=t.exclude||[],a=I.customElements,o=m.head,l=o.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(d,t),d.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let h=!1;if(e.map(g=>{g[1].map(y=>{var w;const p={$flags$:y[0],$tagName$:y[1],$members$:y[2],$listeners$:y[3]};p.$flags$&4&&(h=!0),p.$members$=y[2],p.$watchers$=(w=y[4])!=null?w:{};const x=p.$tagName$,Se=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,Le(E,p),p.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){k(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):d.jmp(()=>ut(this))}disconnectedCallback(){d.jmp(()=>dt(this))}componentOnReady(){return k(this).$onReadyPromise$}};p.$lazyBundleId$=g[0],!i.includes(x)&&!a.get(x)&&(r.push(x),a.define(x,me(Se,p,1)))})}),r.length>0&&(h&&($.textContent+=ae),$.textContent+=r.sort()+je,$.innerHTML.length)){$.setAttribute("data-styles","");const g=(s=d.$nonce$)!=null?s:oe(m);g!=null&&$.setAttribute("nonce",g),o.insertBefore($,l?l.nextSibling:o.firstChild)}u=!1,c.length?c.map(g=>g.connectedCallback()):d.jmp(()=>f=setTimeout(ge,30)),n()},ht=(e,t)=>t;exports.Fragment=ht;exports.bootstrapLazy=vt;exports.h=D;exports.promiseResolve=le;exports.registerInstance=_e;
@@ -26,7 +26,7 @@ var ye = Object.defineProperty, me = (e, t) => {
26
26
  case "player-kyc-verification":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "./player-kyc-verification-z8R7nMzo.js"
29
+ "./player-kyc-verification-CUhrMPde.js"
30
30
  ).then(a, b);
31
31
  }
32
32
  }
@@ -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-BXzfMc8X.cjs")).then(a,S);case"checkbox-group-input_9":return Promise.resolve().then(()=>require("./checkbox-group-input_9-D2BF8AME.cjs")).then(a,S);case"general-input":return Promise.resolve().then(()=>require("./general-input-BRStwjLe.cjs")).then(a,S);case"toggle-checkbox-input":return Promise.resolve().then(()=>require("./toggle-checkbox-input-BC2iIvnY.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;
@@ -26,22 +26,22 @@ var me = Object.defineProperty, Se = (e, t) => {
26
26
  case "password-input_2":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "./password-input_2-D4wWQR82.js"
29
+ "./password-input_2-DHVTL4Uw.js"
30
30
  ).then(a, S);
31
31
  case "checkbox-group-input_9":
32
32
  return import(
33
33
  /* webpackMode: "lazy" */
34
- "./checkbox-group-input_9-Cf3RhgI2.js"
34
+ "./checkbox-group-input_9-fb5AYRav.js"
35
35
  ).then(a, S);
36
36
  case "general-input":
37
37
  return import(
38
38
  /* webpackMode: "lazy" */
39
- "./general-input-BbYl1wbH.js"
39
+ "./general-input-Bi859Arx.js"
40
40
  ).then(a, S);
41
41
  case "toggle-checkbox-input":
42
42
  return import(
43
43
  /* webpackMode: "lazy" */
44
- "./toggle-checkbox-input-C7Z1kZlk.js"
44
+ "./toggle-checkbox-input-CrxkMky_.js"
45
45
  ).then(a, S);
46
46
  }
47
47
  }
@@ -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-BCOtY9sM.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-Ccn1x-YQ.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-VrsbUFid.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-HnF1aSM9.js"
61
61
  ).then(a, S);
62
62
  }
63
63
  }
@@ -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-JnusBvN9.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-BKCmd_cs.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));
@@ -266,16 +266,16 @@ const c = `*,
266
266
  }
267
267
  setErrorMessage() {
268
268
  var e, t, s, r;
269
+ if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
270
+ return n("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
271
+ if (this.inputReference.validity.valueMissing)
272
+ return n("requiredError", this.language);
269
273
  if (this.isDuplicateInput && !this.originalValid)
270
274
  return n("invalidOriginalPasswordError", this.language);
271
275
  if (this.inputReference.validity.patternMismatch) {
272
276
  const a = (e = this.validation.custom.find((o) => o.rule === "regex")) === null || e === void 0 ? void 0 : e.errorKey, l = (t = this.validation.custom.find((o) => o.rule === "regex")) === null || t === void 0 ? void 0 : t.errorMessage;
273
277
  return n(`${a}`, this.language) ? n(`${a}`, this.language) : l;
274
278
  }
275
- if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
276
- return n("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
277
- if (this.inputReference.validity.valueMissing)
278
- return n("requiredError", this.language);
279
279
  if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
280
280
  const a = (s = this.validation.custom.find((o) => o.rule === "duplicate-input")) === null || s === void 0 ? void 0 : s.errorKey, l = (r = this.validation.custom.find((o) => o.rule === "duplicate-input")) === null || r === void 0 ? void 0 : r.errorMessage;
281
281
  return n(`${a}`, this.language) ? n(`${a}`, this.language) : l;
@@ -290,7 +290,7 @@ const c = `*,
290
290
  }
291
291
  render() {
292
292
  let e = "";
293
- return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), i("div", { key: "be707a0330de2fa306f4326a5b374d613e6633f5", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, i("div", { key: "47a7b4a114f9ccf3c8e759f2c8e933b492053a18", class: "password__wrapper--flex" }, i("label", { key: "b51e602d00798e381eea83258812e70a6fe816a0", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), i("div", { key: "585a9dd0a701429b18d767dd19392ad2373e8ce3", class: "password__wrapper--relative" }, this.tooltip && i("img", { key: "637040e9773662b80b36b2d787511778ea12daf8", class: "password__tooltip-icon", src: u, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), i("vaadin-password-field", { key: "1626a68548b795aeb709e5a3a7950f7a5017c787", type: "password", id: `${this.name}__input`, class: `password__input ${e}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), i("small", { key: "791e90e36bf2d67b2a2e68649dcf3052851f2769", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
293
+ return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), i("div", { key: "7df2b034611f7384a1eb4470e39ee580e0ae6ce5", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, i("div", { key: "fbf309a458ccfd7c7133b7f65fafc061ad7e5c37", class: "password__wrapper--flex" }, i("label", { key: "f15c05d6fa8690d6a120ab2ad56127665618cb94", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), i("div", { key: "d191b29e231685f0ceb7e42f9b1e9471450662bd", class: "password__wrapper--relative" }, this.tooltip && i("img", { key: "23052474b109d273ba94e80cbd9d72986c373910", class: "password__tooltip-icon", src: u, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), i("vaadin-password-field", { key: "cfd7bb8bf495f77037f2a519701e609f18ce072f", type: "password", id: `${this.name}__input`, class: `password__input ${e}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), i("small", { key: "e8aa77d19ed2497659f784da065720be6fa64bfd", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
294
294
  }
295
295
  get element() {
296
296
  return h(this);
@@ -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-CrgsoiAp.cjs"),n=require("./locale-BB2iZ4t0.cjs"),p=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),h=require("./player-change-password-gm2-5cb5c6c1-BUgDtida.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));
@@ -190,4 +190,4 @@
190
190
  }
191
191
  .password__tooltip.visible {
192
192
  opacity: 1;
193
- }`,c=u,d=class{constructor(e){i.registerInstance(this,e),this.sendOriginalValidityState=i.createEvent(this,"sendOriginalValidityState"),this.sendValidityState=i.createEvent(this,"sendValidityState"),this.sendInputValue=i.createEvent(this,"sendInputValue"),this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=t=>{this.value=t.target.value,this.calculateComplexity(this.value),this.showPopup=!0,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout(()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)},500)},this.handleRevealField=t=>{t.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=t=>{this.value=t.target.value,this.showPopup=!1,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage()},this.handleFocus=()=>{this.showPopup=!0,this.calculateComplexity(this.value)},this.setClientStyling=()=>{let t=document.createElement("style");t.innerHTML=this.clientStyling,this.stylingContainer.prepend(t)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.passwordComplexity=void 0,this.showPopup=void 0,this.value=""}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),this.emitValue==!0&&this.valueHandler({name:this.name,value:this.value})}valueChanged(){this.isDuplicateInput||(this.calculateComplexity(this.value),this.sendOriginalValidityState.emit({name:this.name,valid:this.setValidity()}))}emitValueHandler(e){e==!0&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"duplicate"})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}originalValidityChangedHandler(e){this.isDuplicateInput&&(e.detail.valid?(this.originalValid=!0,this.isValid=this.setValidity()):(this.originalValid=!1,this.isValid=!1,this.value!==""&&(this.errorMessage=this.setErrorMessage())))}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value,this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())),this.name===e.detail.name+"Duplicate"&&this.name.replace("Duplicate","")===e.detail.name&&this.touched===!0&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.passwordButton=this.element.shadowRoot.querySelector("vaadin-password-field-button"),this.passwordButton.tabIndex=-1,this.passwordButton.addEventListener("click",e=>{this.handleRevealField(e)}),this.defaultValue&&(this.value=this.defaultValue,this.calculateComplexity(this.value),this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.duplicateInputValue=this.defaultValue,this.touched=!0)),this.isValid=this.setValidity()}disconnectedCallback(){this.passwordButton.removeEventListener("click",this.handleRevealField)}calculateComplexity(e){this.passwordComplexity=this.validation.custom.filter(t=>t.rule==="regex").map(t=>{const r=new RegExp(t.pattern).test(e);return{rule:t.displayName,ruleKey:t.errorKey,passed:r}})}setValidity(){var e,t;return this.isDuplicateInput&&this.duplicateInputValue!==this.value?!1:!((e=this.passwordComplexity)===null||e===void 0)&&e.every(s=>s.passed)?(t=this.inputReference)===null||t===void 0?void 0:t.validity.valid:!1}setPattern(){var e,t;if(((e=this.validation.custom)===null||e===void 0?void 0:e.length)>0)return(t=this.validation.custom.find(s=>s.rule==="regex"))===null||t===void 0?void 0:t.pattern}setErrorMessage(){var e,t,s,r;if(this.isDuplicateInput&&!this.originalValid)return n.translate("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const a=(e=this.validation.custom.find(o=>o.rule==="regex"))===null||e===void 0?void 0:e.errorKey,l=(t=this.validation.custom.find(o=>o.rule==="regex"))===null||t===void 0?void 0:t.errorMessage;return n.translate(`${a}`,this.language)?n.translate(`${a}`,this.language):l}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return n.translate("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return n.translate("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const a=(s=this.validation.custom.find(o=>o.rule==="duplicate-input"))===null||s===void 0?void 0:s.errorKey,l=(r=this.validation.custom.find(o=>o.rule==="duplicate-input"))===null||r===void 0?void 0:r.errorMessage;return n.translate(`${a}`,this.language)?n.translate(`${a}`,this.language):l}}renderTooltip(){return this.showTooltip?i.h("div",{class:`password__tooltip ${this.showTooltip?"visible":""}`,ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}renderComplexityPopup(){const e=this.passwordComplexity.length,s=this.passwordComplexity.filter(a=>a.passed).length/e,r=this.passwordComplexity.every(a=>a.passed);return i.h("div",{class:`password__complexity ${this.showPopup?"":"password__complexity--hidden"}`},i.h("div",{class:"password__complexity--strength"},i.h("p",{class:"password__complexity--text"},n.translate("passwordStrength",this.language)," ",i.h("span",{class:"password__complexity--text-bold"},n.translate(`${r?"passwordStrengthStrong":"passwordStrengthWeak"}`,this.language))),i.h("meter",{value:s,min:"0",max:"1"})),i.h("div",null,this.passwordComplexity.map((a,l)=>i.h("div",{key:l},i.h("input",{class:"password__complexity--checkbox",type:"checkbox",checked:a.passed,disabled:!0}),i.h("span",null,n.translate(`${a.ruleKey}`,this.language)?n.translate(`${a.ruleKey}`,this.language):a.rule)))))}render(){let e="";return this.touched&&(e=this.isValid==!0||this.isValid==null?"":"text__input--invalid"),i.h("div",{key:"be707a0330de2fa306f4326a5b374d613e6633f5",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:t=>this.stylingContainer=t},i.h("div",{key:"47a7b4a114f9ccf3c8e759f2c8e933b492053a18",class:"password__wrapper--flex"},i.h("label",{key:"b51e602d00798e381eea83258812e70a6fe816a0",class:`password__label ${this.validation.mandatory?"password__label--required":""}`,htmlFor:`${this.name}__input`},this.displayName),i.h("div",{key:"585a9dd0a701429b18d767dd19392ad2373e8ce3",class:"password__wrapper--relative"},this.tooltip&&i.h("img",{key:"637040e9773662b80b36b2d787511778ea12daf8",class:"password__tooltip-icon",src:p.tooltipIconSvg,alt:"",ref:t=>this.tooltipIconReference=t,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i.h("vaadin-password-field",{key:"1626a68548b795aeb709e5a3a7950f7a5017c787",type:"password",id:`${this.name}__input`,class:`password__input ${e}`,name:this.name,readOnly:this.autofilled,value:this.defaultValue,required:this.validation.mandatory,maxlength:this.validation.maxLength,minlength:this.validation.minLength,pattern:this.validationPattern,placeholder:`${this.placeholder}`,onInput:this.handleInput,onBlur:this.handleBlur,onFocus:this.handleFocus}),i.h("small",{key:"791e90e36bf2d67b2a2e68649dcf3052851f2769",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return i.getElement(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};d.style=c;exports.player_change_password_gm2=h.PlayerChangePasswordGm2;exports.password_input=d;
193
+ }`,c=u,d=class{constructor(e){i.registerInstance(this,e),this.sendOriginalValidityState=i.createEvent(this,"sendOriginalValidityState"),this.sendValidityState=i.createEvent(this,"sendValidityState"),this.sendInputValue=i.createEvent(this,"sendInputValue"),this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=t=>{this.value=t.target.value,this.calculateComplexity(this.value),this.showPopup=!0,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout(()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)},500)},this.handleRevealField=t=>{t.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=t=>{this.value=t.target.value,this.showPopup=!1,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage()},this.handleFocus=()=>{this.showPopup=!0,this.calculateComplexity(this.value)},this.setClientStyling=()=>{let t=document.createElement("style");t.innerHTML=this.clientStyling,this.stylingContainer.prepend(t)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.passwordComplexity=void 0,this.showPopup=void 0,this.value=""}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),this.emitValue==!0&&this.valueHandler({name:this.name,value:this.value})}valueChanged(){this.isDuplicateInput||(this.calculateComplexity(this.value),this.sendOriginalValidityState.emit({name:this.name,valid:this.setValidity()}))}emitValueHandler(e){e==!0&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"duplicate"})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}originalValidityChangedHandler(e){this.isDuplicateInput&&(e.detail.valid?(this.originalValid=!0,this.isValid=this.setValidity()):(this.originalValid=!1,this.isValid=!1,this.value!==""&&(this.errorMessage=this.setErrorMessage())))}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value,this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())),this.name===e.detail.name+"Duplicate"&&this.name.replace("Duplicate","")===e.detail.name&&this.touched===!0&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.passwordButton=this.element.shadowRoot.querySelector("vaadin-password-field-button"),this.passwordButton.tabIndex=-1,this.passwordButton.addEventListener("click",e=>{this.handleRevealField(e)}),this.defaultValue&&(this.value=this.defaultValue,this.calculateComplexity(this.value),this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.duplicateInputValue=this.defaultValue,this.touched=!0)),this.isValid=this.setValidity()}disconnectedCallback(){this.passwordButton.removeEventListener("click",this.handleRevealField)}calculateComplexity(e){this.passwordComplexity=this.validation.custom.filter(t=>t.rule==="regex").map(t=>{const r=new RegExp(t.pattern).test(e);return{rule:t.displayName,ruleKey:t.errorKey,passed:r}})}setValidity(){var e,t;return this.isDuplicateInput&&this.duplicateInputValue!==this.value?!1:!((e=this.passwordComplexity)===null||e===void 0)&&e.every(s=>s.passed)?(t=this.inputReference)===null||t===void 0?void 0:t.validity.valid:!1}setPattern(){var e,t;if(((e=this.validation.custom)===null||e===void 0?void 0:e.length)>0)return(t=this.validation.custom.find(s=>s.rule==="regex"))===null||t===void 0?void 0:t.pattern}setErrorMessage(){var e,t,s,r;if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return n.translate("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return n.translate("requiredError",this.language);if(this.isDuplicateInput&&!this.originalValid)return n.translate("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const a=(e=this.validation.custom.find(o=>o.rule==="regex"))===null||e===void 0?void 0:e.errorKey,l=(t=this.validation.custom.find(o=>o.rule==="regex"))===null||t===void 0?void 0:t.errorMessage;return n.translate(`${a}`,this.language)?n.translate(`${a}`,this.language):l}if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const a=(s=this.validation.custom.find(o=>o.rule==="duplicate-input"))===null||s===void 0?void 0:s.errorKey,l=(r=this.validation.custom.find(o=>o.rule==="duplicate-input"))===null||r===void 0?void 0:r.errorMessage;return n.translate(`${a}`,this.language)?n.translate(`${a}`,this.language):l}}renderTooltip(){return this.showTooltip?i.h("div",{class:`password__tooltip ${this.showTooltip?"visible":""}`,ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}renderComplexityPopup(){const e=this.passwordComplexity.length,s=this.passwordComplexity.filter(a=>a.passed).length/e,r=this.passwordComplexity.every(a=>a.passed);return i.h("div",{class:`password__complexity ${this.showPopup?"":"password__complexity--hidden"}`},i.h("div",{class:"password__complexity--strength"},i.h("p",{class:"password__complexity--text"},n.translate("passwordStrength",this.language)," ",i.h("span",{class:"password__complexity--text-bold"},n.translate(`${r?"passwordStrengthStrong":"passwordStrengthWeak"}`,this.language))),i.h("meter",{value:s,min:"0",max:"1"})),i.h("div",null,this.passwordComplexity.map((a,l)=>i.h("div",{key:l},i.h("input",{class:"password__complexity--checkbox",type:"checkbox",checked:a.passed,disabled:!0}),i.h("span",null,n.translate(`${a.ruleKey}`,this.language)?n.translate(`${a.ruleKey}`,this.language):a.rule)))))}render(){let e="";return this.touched&&(e=this.isValid==!0||this.isValid==null?"":"text__input--invalid"),i.h("div",{key:"7df2b034611f7384a1eb4470e39ee580e0ae6ce5",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:t=>this.stylingContainer=t},i.h("div",{key:"fbf309a458ccfd7c7133b7f65fafc061ad7e5c37",class:"password__wrapper--flex"},i.h("label",{key:"f15c05d6fa8690d6a120ab2ad56127665618cb94",class:`password__label ${this.validation.mandatory?"password__label--required":""}`,htmlFor:`${this.name}__input`},this.displayName),i.h("div",{key:"d191b29e231685f0ceb7e42f9b1e9471450662bd",class:"password__wrapper--relative"},this.tooltip&&i.h("img",{key:"23052474b109d273ba94e80cbd9d72986c373910",class:"password__tooltip-icon",src:p.tooltipIconSvg,alt:"",ref:t=>this.tooltipIconReference=t,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i.h("vaadin-password-field",{key:"cfd7bb8bf495f77037f2a519701e609f18ce072f",type:"password",id:`${this.name}__input`,class:`password__input ${e}`,name:this.name,readOnly:this.autofilled,value:this.defaultValue,required:this.validation.mandatory,maxlength:this.validation.maxLength,minlength:this.validation.minLength,pattern:this.validationPattern,placeholder:`${this.placeholder}`,onInput:this.handleInput,onBlur:this.handleBlur,onFocus:this.handleFocus}),i.h("small",{key:"e8aa77d19ed2497659f784da065720be6fa64bfd",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return i.getElement(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};d.style=c;exports.player_change_password_gm2=h.PlayerChangePasswordGm2;exports.password_input=d;
@@ -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-DxFae1MG.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-6TVYOtMo.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));
@@ -266,16 +266,16 @@ const c = `*,
266
266
  }
267
267
  setErrorMessage() {
268
268
  var e, t, s, r;
269
+ if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
270
+ return n("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
271
+ if (this.inputReference.validity.valueMissing)
272
+ return n("requiredError", this.language);
269
273
  if (this.isDuplicateInput && !this.originalValid)
270
274
  return n("invalidOriginalPasswordError", this.language);
271
275
  if (this.inputReference.validity.patternMismatch) {
272
276
  const a = (e = this.validation.custom.find((o) => o.rule === "regex")) === null || e === void 0 ? void 0 : e.errorKey, l = (t = this.validation.custom.find((o) => o.rule === "regex")) === null || t === void 0 ? void 0 : t.errorMessage;
273
277
  return n(`${a}`, this.language) ? n(`${a}`, this.language) : l;
274
278
  }
275
- if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
276
- return n("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
277
- if (this.inputReference.validity.valueMissing)
278
- return n("requiredError", this.language);
279
279
  if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
280
280
  const a = (s = this.validation.custom.find((o) => o.rule === "duplicate-input")) === null || s === void 0 ? void 0 : s.errorKey, l = (r = this.validation.custom.find((o) => o.rule === "duplicate-input")) === null || r === void 0 ? void 0 : r.errorMessage;
281
281
  return n(`${a}`, this.language) ? n(`${a}`, this.language) : l;
@@ -290,7 +290,7 @@ const c = `*,
290
290
  }
291
291
  render() {
292
292
  let e = "";
293
- return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), i("div", { key: "be707a0330de2fa306f4326a5b374d613e6633f5", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, i("div", { key: "47a7b4a114f9ccf3c8e759f2c8e933b492053a18", class: "password__wrapper--flex" }, i("label", { key: "b51e602d00798e381eea83258812e70a6fe816a0", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), i("div", { key: "585a9dd0a701429b18d767dd19392ad2373e8ce3", class: "password__wrapper--relative" }, this.tooltip && i("img", { key: "637040e9773662b80b36b2d787511778ea12daf8", class: "password__tooltip-icon", src: u, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), i("vaadin-password-field", { key: "1626a68548b795aeb709e5a3a7950f7a5017c787", type: "password", id: `${this.name}__input`, class: `password__input ${e}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), i("small", { key: "791e90e36bf2d67b2a2e68649dcf3052851f2769", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
293
+ return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), i("div", { key: "7df2b034611f7384a1eb4470e39ee580e0ae6ce5", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, i("div", { key: "fbf309a458ccfd7c7133b7f65fafc061ad7e5c37", class: "password__wrapper--flex" }, i("label", { key: "f15c05d6fa8690d6a120ab2ad56127665618cb94", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), i("div", { key: "d191b29e231685f0ceb7e42f9b1e9471450662bd", class: "password__wrapper--relative" }, this.tooltip && i("img", { key: "23052474b109d273ba94e80cbd9d72986c373910", class: "password__tooltip-icon", src: u, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), i("vaadin-password-field", { key: "cfd7bb8bf495f77037f2a519701e609f18ce072f", type: "password", id: `${this.name}__input`, class: `password__input ${e}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), i("small", { key: "e8aa77d19ed2497659f784da065720be6fa64bfd", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
294
294
  }
295
295
  get element() {
296
296
  return h(this);
@@ -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-DxFae1MG.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-B5bBjvJ-.js";
1
+ import { r as w, h as i } from "./index-9cd44522-JnusBvN9.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-CrgsoiAp.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,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-DxFae1MG.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 = {};