@everymatrix/player-account-controller 1.66.1 → 1.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/components/{PlayerAccountController-CKNGbCDA.js → PlayerAccountController-BiEmKUTq.js} +90 -90
  2. package/components/PlayerAccountController-DET7Ledm.cjs +1 -0
  3. package/components/{PlayerAccountController-B61GC4da.js → PlayerAccountController-Df3HJNfF.js} +83 -83
  4. package/components/{PlayerAccountSelfExclusion-eVbVBZeH.js → PlayerAccountSelfExclusion-Bme3jA4c.js} +1 -0
  5. package/components/{PlayerAccountSelfExclusion-tbEoY1fJ.cjs → PlayerAccountSelfExclusion-CDEu24ob.cjs} +131 -131
  6. package/components/{PlayerAccountSelfExclusion-Dkhb_rb2.js → PlayerAccountSelfExclusion-CcQBa7WB.js} +1 -0
  7. package/components/{PlayerAccountTimeout-CgPnhFC2.js → PlayerAccountTimeout-9R54hZUl.js} +1 -1
  8. package/components/{PlayerAccountTimeout-B7te1qrD.cjs → PlayerAccountTimeout-BG_yWya9.cjs} +1 -1
  9. package/components/{PlayerAccountTimeout-BF6i8Aq1.js → PlayerAccountTimeout-CpDdajvl.js} +1 -1
  10. package/components/{PlayerAccountTransactionsHistory-_Sm0nfWr.cjs → PlayerAccountTransactionsHistory-BzB7rnla.cjs} +265 -265
  11. package/components/{PlayerAccountTransactionsHistory-DtHWhYf2.js → PlayerAccountTransactionsHistory-CRucfQT9.js} +1932 -1867
  12. package/components/{PlayerAccountTransactionsHistory-sQOFDhsn.js → PlayerAccountTransactionsHistory-D5xVdr5D.js} +1648 -1633
  13. package/components/{PlayerBonusHistory-B7mav-9J.js → PlayerBonusHistory-BQAF4bSM.js} +1 -1
  14. package/components/{PlayerBonusHistory-CIDfTu9W.cjs → PlayerBonusHistory-BfctVq0u.cjs} +1 -1
  15. package/components/{PlayerBonusHistory-ClKYGr0v.js → PlayerBonusHistory-wRNMiwgX.js} +1 -1
  16. package/components/{PlayerGamingHistory-C00k3Mj3.js → PlayerGamingHistory-BhmBAAFp.js} +1 -1
  17. package/components/{PlayerGamingHistory-Cqze0dx8.cjs → PlayerGamingHistory-Du5updfI.cjs} +1 -1
  18. package/components/{PlayerGamingHistory-CWN1CL1Y.js → PlayerGamingHistory-lkyuXLIU.js} +1 -1
  19. package/es2015/player-account-controller.cjs +1 -1
  20. package/es2015/player-account-controller.js +1 -1
  21. package/esnext/player-account-controller.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/{general-input-6HMiojaV.js → checkbox-group-input_14-BcBdDpf8.js} +7654 -3097
  24. package/stencil/{general-input-DGu8X142.js → checkbox-group-input_14-CJHYJs5Y.js} +7664 -3107
  25. package/stencil/checkbox-group-input_14-CNR6zkvw.cjs +5901 -0
  26. package/stencil/{index-9cd44522--OAp7ePk.js → index-13661b98-Bg3nkDqk.js} +88 -103
  27. package/stencil/index-13661b98-D16qyHKo.cjs +1 -0
  28. package/stencil/{index-9cd44522-C0ycW8_E.js → index-13661b98-DcT9swce.js} +84 -99
  29. package/stencil/pam-change-password-YhGkcb7G.js +25 -0
  30. package/stencil/{player-change-password-gm2-5cb5c6c1-Bi9IbxQV.js → pam-change-password-f4a1e7e7-CfVbvq6Y.js} +223 -74
  31. package/stencil/pam-change-password-f4a1e7e7-DtMPJ715.cjs +125 -0
  32. package/stencil/{player-change-password-gm2-5cb5c6c1-Bu5Dac83.js → pam-change-password-f4a1e7e7-e1XqJgP9.js} +223 -74
  33. package/stencil/pam-change-password-sLrzK4Qt.js +7 -0
  34. package/stencil/pam-change-password-uD3esedo.cjs +1 -0
  35. package/components/PlayerAccountController-B6D07zjj.cjs +0 -1
  36. package/stencil/checkbox-group-input_9-BVBeSmHl.js +0 -3895
  37. package/stencil/checkbox-group-input_9-CixpoaRc.cjs +0 -2
  38. package/stencil/checkbox-group-input_9-Ckf5IThK.js +0 -3895
  39. package/stencil/general-input-C54NeVAb.cjs +0 -5636
  40. package/stencil/index-9cd44522-CqgRbQOU.cjs +0 -1
  41. package/stencil/locale-CB060R77.cjs +0 -1
  42. package/stencil/locale-Cxpe53Ym.js +0 -153
  43. package/stencil/password-input_2-BWxS0D5h.js +0 -313
  44. package/stencil/password-input_2-Bz7EgS5w.cjs +0 -193
  45. package/stencil/password-input_2-KI96oR82.js +0 -313
  46. package/stencil/player-change-password-gm2-5cb5c6c1-B561Hszb.cjs +0 -1
  47. package/stencil/player-change-password-gm2-BRh6ZaCn.js +0 -25
  48. package/stencil/player-change-password-gm2-COxZYE4t.cjs +0 -1
  49. package/stencil/player-change-password-gm2-tu3usKOk.js +0 -7
  50. package/stencil/toggle-checkbox-input-BQz8G4GG.cjs +0 -1
  51. package/stencil/toggle-checkbox-input-Bhz93bXQ.js +0 -68
  52. package/stencil/toggle-checkbox-input-lRQooUAB.js +0 -68
  53. package/stencil/tooltipIcon-ee9760a8-BCCb4EU-.js +0 -4
  54. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
@@ -1,193 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-9cd44522-CqgRbQOU.cjs"),n=require("./locale-CB060R77.cjs"),h=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),u=require("./player-change-password-gm2-5cb5c6c1-B561Hszb.cjs"),c=`*,
2
- *::before,
3
- *::after {
4
- padding: 0;
5
- margin: 0;
6
- box-sizing: border-box;
7
- }
8
-
9
- .password {
10
- font-family: "Roboto";
11
- font-style: normal;
12
- }
13
- .password__wrapper {
14
- position: relative;
15
- width: 100%;
16
- display: flex;
17
- flex-direction: column;
18
- gap: 5px;
19
- container-type: inline-size;
20
- }
21
- .password__wrapper--autofilled {
22
- pointer-events: none;
23
- }
24
- .password__wrapper--autofilled .password__label {
25
- color: var(--emw--registration-typography, var(--emw--color-black, #000000));
26
- }
27
- .password__wrapper--autofilled .password__input::part(input-field) {
28
- color: var(--emw--color-black, #000000);
29
- }
30
- .password__wrapper--flex {
31
- display: flex;
32
- gap: 5px;
33
- }
34
- .password__wrapper--relative {
35
- position: relative;
36
- }
37
- .password__label {
38
- font-family: inherit;
39
- font-style: normal;
40
- font-weight: 500;
41
- font-size: 16px;
42
- line-height: 20px;
43
- color: var(--emw--registration-typography, var(--emw--color-black, #000000));
44
- }
45
- .password__label--required::after {
46
- content: "*";
47
- font-family: inherit;
48
- color: var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));
49
- margin-left: 2px;
50
- }
51
- .password__input {
52
- width: inherit;
53
- border: none;
54
- }
55
- .password__input[focused]::part(input-field) {
56
- border-color: var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));
57
- }
58
- .password__input[invalid]::part(input-field) {
59
- border: 1px solid var(--emw--color-error, var(--emw--color-red, #ed0909));
60
- }
61
- .password__input::part(input-field) {
62
- border-radius: 4px;
63
- background-color: var(--emw--color-white, #FFFFFF);
64
- border: 1px solid var(--emw--color-gray-100, #E6E6E6);
65
- color: var(--emw--color-black, #000000);
66
- background-color: var(--emw--color-white, #FFFFFF);
67
- font-family: inherit;
68
- font-style: normal;
69
- font-weight: 300;
70
- font-size: 16px;
71
- line-height: 1.5;
72
- position: relative;
73
- margin-bottom: unset;
74
- height: 44px;
75
- padding: 0;
76
- width: 100%;
77
- }
78
- .password__input::part(reveal-button) {
79
- position: relative;
80
- right: 10px;
81
- }
82
- .password__input::part(reveal-button)::before {
83
- color: var(--emw--registration-typography, var(--emw--color-black, #000000));
84
- }
85
- .password__input > input {
86
- padding: 5px 15px;
87
- }
88
- .password__input > input:placeholder-shown {
89
- color: var(--emw--color-gray-150, #828282);
90
- }
91
- .password__error-message {
92
- position: absolute;
93
- top: calc(100% + 5px);
94
- left: 0;
95
- color: var(--emw--color-error, var(--emw--color-red, #ed0909));
96
- }
97
- .password__complexity {
98
- height: 150px;
99
- position: relative;
100
- padding: 10px;
101
- display: flex;
102
- flex-direction: column;
103
- gap: 20px;
104
- justify-content: center;
105
- margin-top: 20px;
106
- font-weight: 300;
107
- background: var(--emw--color-white, #FFFFFF);
108
- -webkit-border-radius: 5px;
109
- -moz-border-radius: 5px;
110
- border-radius: 5px;
111
- border: 1px solid #B0B0B0;
112
- box-sizing: content-box;
113
- /* works only in this order */
114
- }
115
- .password__complexity meter {
116
- border-color: transparent; /* Needed for Safari */
117
- }
118
- .password__complexity meter[value="1"]::-moz-meter-bar {
119
- background-color: var(--emw--color-valid, #48952a);
120
- }
121
- .password__complexity meter[value="1"]::-webkit-meter-optimum-value {
122
- background-color: var(--emw--color-valid, #48952a);
123
- }
124
- .password__complexity meter:not([value="1"])::-moz-meter-bar {
125
- background-color: var(--emw--color-error, #FD2839);
126
- }
127
- .password__complexity meter:not([value="1"])::-webkit-meter-optimum-value {
128
- background-color: var(--emw--color-error, #FD2839);
129
- }
130
- .password__complexity--strength {
131
- display: flex;
132
- justify-content: space-evenly;
133
- align-items: center;
134
- }
135
- .password__complexity--strength meter::-moz-meter-bar { /* Firefox Pseudo Class */
136
- background: #B0B0B0;
137
- }
138
- .password__complexity--hidden {
139
- display: none;
140
- }
141
- .password__complexity--text-bold {
142
- font-weight: 500;
143
- }
144
- .password__complexity--checkbox {
145
- margin-right: 5px;
146
- }
147
- .password__complexity:after {
148
- content: "";
149
- position: absolute;
150
- width: 25px;
151
- height: 25px;
152
- border-top: 1px solid var(--emw--color-gray-150, #828282);
153
- border-right: 0 solid var(--emw--color-gray-150, #828282);
154
- border-left: 1px solid var(--emw--color-gray-150, #828282);
155
- border-bottom: 0 solid var(--emw--color-gray-150, #828282);
156
- bottom: 92%;
157
- left: 50%;
158
- margin-left: -25px;
159
- transform: rotate(45deg);
160
- margin-top: -25px;
161
- background-color: var(--emw--color-white, #FFFFFF);
162
- }
163
- @container (max-width: 300px) {
164
- .password__complexity {
165
- height: 190px;
166
- }
167
- .password__complexity:after {
168
- width: 14px;
169
- height: 14px;
170
- bottom: 96%;
171
- left: 57%;
172
- }
173
- }
174
- .password__tooltip-icon {
175
- width: 16px;
176
- height: auto;
177
- }
178
- .password__tooltip {
179
- position: absolute;
180
- top: 0;
181
- left: 20px;
182
- background-color: var(--emw--color-white, #FFFFFF);
183
- border: 1px solid var(--emw--color-gray-150, #828282);
184
- color: #2B2D3F;
185
- padding: 10px;
186
- border-radius: 5px;
187
- opacity: 0;
188
- transition: opacity 0.3s ease-in-out;
189
- z-index: 10;
190
- }
191
- .password__tooltip.visible {
192
- opacity: 1;
193
- }`,m=c,p=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 o=new RegExp(t.pattern).test(e);return{rule:t.displayName,ruleKey:t.errorKey,passed:o}})}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,o,a;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 r=(e=this.validation.custom.find(l=>l.rule==="regex"))===null||e===void 0?void 0:e.errorKey,d=(t=this.validation.custom.find(l=>l.rule==="regex"))===null||t===void 0?void 0:t.errorMessage;return n.translate(`${r}`,this.language)?n.translate(`${r}`,this.language):d}if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const r=(s=this.validation.custom.find(l=>l.rule==="duplicate-input"))===null||s===void 0?void 0:s.errorKey,d=(o=this.validation.custom.find(l=>l.rule==="duplicate-input"))===null||o===void 0?void 0:o.errorMessage;return n.translate(`${r}`,this.language)?n.translate(`${r}`,this.language):d}if(!(!((a=this.passwordComplexity)===null||a===void 0)&&a.every(r=>r.passed))&&!this.showPopup)return n.translate("invalidPassword",this.language)}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,o=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(`${o?"passwordStrengthStrong":"passwordStrengthWeak"}`,this.language))),i.h("meter",{value:s,min:"0",max:"1"})),i.h("div",null,this.passwordComplexity.map((a,r)=>i.h("div",{key:r},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:"d5757f6d03b0c3ad30b57b9c62d8cd7c8802a37a",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:t=>this.stylingContainer=t},i.h("div",{key:"7e7508731d7397b6c578335715c711ea97c46d3a",class:"password__wrapper--flex"},i.h("label",{key:"ce4fd50f4f9ae7fb772df496784a3869e29618b6",class:`password__label ${this.validation.mandatory?"password__label--required":""}`,htmlFor:`${this.name}__input`},this.displayName),i.h("div",{key:"640fa5664eede59b585bfd314854615cf4da46c1",class:"password__wrapper--relative"},this.tooltip&&i.h("img",{key:"0c0d0d71bf84c3ab6b0804424405ffacb1e87660",class:"password__tooltip-icon",src:h.tooltipIconSvg,alt:"",ref:t=>this.tooltipIconReference=t,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i.h("vaadin-password-field",{key:"4a966b226d6ec04fbebcad8cf12896bbc05b84fa",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:"1218d65c065a0dcc1b17d1422e08849b9b3de5ce",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"]}}};p.style=m;exports.player_change_password_gm2=u.PlayerChangePasswordGm2;exports.password_input=p;
@@ -1,313 +0,0 @@
1
- import { r as h, c as p, h as i, g as u } from "./index-9cd44522--OAp7ePk.js";
2
- import { t as s } from "./locale-Cxpe53Ym.js";
3
- import { t as c } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
4
- import { P as b } from "./player-change-password-gm2-5cb5c6c1-Bi9IbxQV.js";
5
- const m = `*,
6
- *::before,
7
- *::after {
8
- padding: 0;
9
- margin: 0;
10
- box-sizing: border-box;
11
- }
12
-
13
- .password {
14
- font-family: "Roboto";
15
- font-style: normal;
16
- }
17
- .password__wrapper {
18
- position: relative;
19
- width: 100%;
20
- display: flex;
21
- flex-direction: column;
22
- gap: 5px;
23
- container-type: inline-size;
24
- }
25
- .password__wrapper--autofilled {
26
- pointer-events: none;
27
- }
28
- .password__wrapper--autofilled .password__label {
29
- color: var(--emw--registration-typography, var(--emw--color-black, #000000));
30
- }
31
- .password__wrapper--autofilled .password__input::part(input-field) {
32
- color: var(--emw--color-black, #000000);
33
- }
34
- .password__wrapper--flex {
35
- display: flex;
36
- gap: 5px;
37
- }
38
- .password__wrapper--relative {
39
- position: relative;
40
- }
41
- .password__label {
42
- font-family: inherit;
43
- font-style: normal;
44
- font-weight: 500;
45
- font-size: 16px;
46
- line-height: 20px;
47
- color: var(--emw--registration-typography, var(--emw--color-black, #000000));
48
- }
49
- .password__label--required::after {
50
- content: "*";
51
- font-family: inherit;
52
- color: var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));
53
- margin-left: 2px;
54
- }
55
- .password__input {
56
- width: inherit;
57
- border: none;
58
- }
59
- .password__input[focused]::part(input-field) {
60
- border-color: var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));
61
- }
62
- .password__input[invalid]::part(input-field) {
63
- border: 1px solid var(--emw--color-error, var(--emw--color-red, #ed0909));
64
- }
65
- .password__input::part(input-field) {
66
- border-radius: 4px;
67
- background-color: var(--emw--color-white, #FFFFFF);
68
- border: 1px solid var(--emw--color-gray-100, #E6E6E6);
69
- color: var(--emw--color-black, #000000);
70
- background-color: var(--emw--color-white, #FFFFFF);
71
- font-family: inherit;
72
- font-style: normal;
73
- font-weight: 300;
74
- font-size: 16px;
75
- line-height: 1.5;
76
- position: relative;
77
- margin-bottom: unset;
78
- height: 44px;
79
- padding: 0;
80
- width: 100%;
81
- }
82
- .password__input::part(reveal-button) {
83
- position: relative;
84
- right: 10px;
85
- }
86
- .password__input::part(reveal-button)::before {
87
- color: var(--emw--registration-typography, var(--emw--color-black, #000000));
88
- }
89
- .password__input > input {
90
- padding: 5px 15px;
91
- }
92
- .password__input > input:placeholder-shown {
93
- color: var(--emw--color-gray-150, #828282);
94
- }
95
- .password__error-message {
96
- position: absolute;
97
- top: calc(100% + 5px);
98
- left: 0;
99
- color: var(--emw--color-error, var(--emw--color-red, #ed0909));
100
- }
101
- .password__complexity {
102
- height: 150px;
103
- position: relative;
104
- padding: 10px;
105
- display: flex;
106
- flex-direction: column;
107
- gap: 20px;
108
- justify-content: center;
109
- margin-top: 20px;
110
- font-weight: 300;
111
- background: var(--emw--color-white, #FFFFFF);
112
- -webkit-border-radius: 5px;
113
- -moz-border-radius: 5px;
114
- border-radius: 5px;
115
- border: 1px solid #B0B0B0;
116
- box-sizing: content-box;
117
- /* works only in this order */
118
- }
119
- .password__complexity meter {
120
- border-color: transparent; /* Needed for Safari */
121
- }
122
- .password__complexity meter[value="1"]::-moz-meter-bar {
123
- background-color: var(--emw--color-valid, #48952a);
124
- }
125
- .password__complexity meter[value="1"]::-webkit-meter-optimum-value {
126
- background-color: var(--emw--color-valid, #48952a);
127
- }
128
- .password__complexity meter:not([value="1"])::-moz-meter-bar {
129
- background-color: var(--emw--color-error, #FD2839);
130
- }
131
- .password__complexity meter:not([value="1"])::-webkit-meter-optimum-value {
132
- background-color: var(--emw--color-error, #FD2839);
133
- }
134
- .password__complexity--strength {
135
- display: flex;
136
- justify-content: space-evenly;
137
- align-items: center;
138
- }
139
- .password__complexity--strength meter::-moz-meter-bar { /* Firefox Pseudo Class */
140
- background: #B0B0B0;
141
- }
142
- .password__complexity--hidden {
143
- display: none;
144
- }
145
- .password__complexity--text-bold {
146
- font-weight: 500;
147
- }
148
- .password__complexity--checkbox {
149
- margin-right: 5px;
150
- }
151
- .password__complexity:after {
152
- content: "";
153
- position: absolute;
154
- width: 25px;
155
- height: 25px;
156
- border-top: 1px solid var(--emw--color-gray-150, #828282);
157
- border-right: 0 solid var(--emw--color-gray-150, #828282);
158
- border-left: 1px solid var(--emw--color-gray-150, #828282);
159
- border-bottom: 0 solid var(--emw--color-gray-150, #828282);
160
- bottom: 92%;
161
- left: 50%;
162
- margin-left: -25px;
163
- transform: rotate(45deg);
164
- margin-top: -25px;
165
- background-color: var(--emw--color-white, #FFFFFF);
166
- }
167
- @container (max-width: 300px) {
168
- .password__complexity {
169
- height: 190px;
170
- }
171
- .password__complexity:after {
172
- width: 14px;
173
- height: 14px;
174
- bottom: 96%;
175
- left: 57%;
176
- }
177
- }
178
- .password__tooltip-icon {
179
- width: 16px;
180
- height: auto;
181
- }
182
- .password__tooltip {
183
- position: absolute;
184
- top: 0;
185
- left: 20px;
186
- background-color: var(--emw--color-white, #FFFFFF);
187
- border: 1px solid var(--emw--color-gray-150, #828282);
188
- color: #2B2D3F;
189
- padding: 10px;
190
- border-radius: 5px;
191
- opacity: 0;
192
- transition: opacity 0.3s ease-in-out;
193
- z-index: 10;
194
- }
195
- .password__tooltip.visible {
196
- opacity: 1;
197
- }`, g = m, w = class {
198
- constructor(e) {
199
- h(this, e), this.sendOriginalValidityState = p(this, "sendOriginalValidityState"), this.sendValidityState = p(this, "sendValidityState"), this.sendInputValue = p(this, "sendInputValue"), this.touched = !1, this.originalValid = !1, this.validationPattern = "", this.duplicateInputValue = null, this.handleInput = (t) => {
200
- this.value = t.target.value, this.calculateComplexity(this.value), this.showPopup = !0, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
201
- this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
202
- }, 500);
203
- }, this.handleRevealField = (t) => {
204
- t.stopPropagation(), window.postMessage({ type: `registrationShow${this.name}` }, window.location.href);
205
- }, this.handleBlur = (t) => {
206
- this.value = t.target.value, this.showPopup = !1, this.touched = !0, this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage();
207
- }, this.handleFocus = () => {
208
- this.showPopup = !0, this.calculateComplexity(this.value);
209
- }, this.setClientStyling = () => {
210
- let t = document.createElement("style");
211
- t.innerHTML = this.clientStyling, this.stylingContainer.prepend(t);
212
- }, 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 = "";
213
- }
214
- handleStylingChange(e, t) {
215
- e !== t && this.setClientStyling();
216
- }
217
- validityChanged() {
218
- this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
219
- }
220
- valueChanged() {
221
- this.isDuplicateInput || (this.calculateComplexity(this.value), this.sendOriginalValidityState.emit({ name: this.name, valid: this.setValidity() }));
222
- }
223
- emitValueHandler(e) {
224
- e == !0 && this.isValid && this.valueHandler({ name: this.name, value: this.value, type: "duplicate" });
225
- }
226
- validityStateHandler(e) {
227
- this.sendValidityState.emit(e);
228
- }
229
- valueHandler(e) {
230
- this.sendInputValue.emit(e);
231
- }
232
- originalValidityChangedHandler(e) {
233
- this.isDuplicateInput && (e.detail.valid ? (this.originalValid = !0, this.isValid = this.setValidity()) : (this.originalValid = !1, this.isValid = !1, this.value !== "" && (this.errorMessage = this.setErrorMessage())));
234
- }
235
- valueChangedHandler(e) {
236
- 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());
237
- }
238
- handleClickOutside(e) {
239
- e.composedPath()[0] !== this.tooltipIconReference && e.composedPath()[0] !== this.tooltipReference && (this.showTooltip = !1);
240
- }
241
- componentDidRender() {
242
- !this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
243
- }
244
- componentDidLoad() {
245
- 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) => {
246
- this.handleRevealField(e);
247
- }), 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();
248
- }
249
- disconnectedCallback() {
250
- this.passwordButton.removeEventListener("click", this.handleRevealField);
251
- }
252
- calculateComplexity(e) {
253
- this.passwordComplexity = this.validation.custom.filter((t) => t.rule === "regex").map((t) => {
254
- const o = new RegExp(t.pattern).test(e);
255
- return { rule: t.displayName, ruleKey: t.errorKey, passed: o };
256
- });
257
- }
258
- setValidity() {
259
- var e, t;
260
- return this.isDuplicateInput && this.duplicateInputValue !== this.value ? !1 : !((e = this.passwordComplexity) === null || e === void 0) && e.every((n) => n.passed) ? (t = this.inputReference) === null || t === void 0 ? void 0 : t.validity.valid : !1;
261
- }
262
- setPattern() {
263
- var e, t;
264
- if (((e = this.validation.custom) === null || e === void 0 ? void 0 : e.length) > 0)
265
- return (t = this.validation.custom.find((n) => n.rule === "regex")) === null || t === void 0 ? void 0 : t.pattern;
266
- }
267
- setErrorMessage() {
268
- var e, t, n, o, a;
269
- if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
270
- return s("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
271
- if (this.inputReference.validity.valueMissing)
272
- return s("requiredError", this.language);
273
- if (this.isDuplicateInput && !this.originalValid)
274
- return s("invalidOriginalPasswordError", this.language);
275
- if (this.inputReference.validity.patternMismatch) {
276
- const r = (e = this.validation.custom.find((l) => l.rule === "regex")) === null || e === void 0 ? void 0 : e.errorKey, d = (t = this.validation.custom.find((l) => l.rule === "regex")) === null || t === void 0 ? void 0 : t.errorMessage;
277
- return s(`${r}`, this.language) ? s(`${r}`, this.language) : d;
278
- }
279
- if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
280
- const r = (n = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || n === void 0 ? void 0 : n.errorKey, d = (o = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || o === void 0 ? void 0 : o.errorMessage;
281
- return s(`${r}`, this.language) ? s(`${r}`, this.language) : d;
282
- }
283
- if (!(!((a = this.passwordComplexity) === null || a === void 0) && a.every((r) => r.passed)) && !this.showPopup)
284
- return s("invalidPassword", this.language);
285
- }
286
- renderTooltip() {
287
- return this.showTooltip ? i("div", { class: `password__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (e) => this.tooltipReference = e, innerHTML: this.tooltip }) : null;
288
- }
289
- renderComplexityPopup() {
290
- const e = this.passwordComplexity.length, n = this.passwordComplexity.filter((a) => a.passed).length / e, o = this.passwordComplexity.every((a) => a.passed);
291
- return i("div", { class: `password__complexity ${this.showPopup ? "" : "password__complexity--hidden"}` }, i("div", { class: "password__complexity--strength" }, i("p", { class: "password__complexity--text" }, s("passwordStrength", this.language), " ", i("span", { class: "password__complexity--text-bold" }, s(`${o ? "passwordStrengthStrong" : "passwordStrengthWeak"}`, this.language))), i("meter", { value: n, min: "0", max: "1" })), i("div", null, this.passwordComplexity.map((a, r) => i("div", { key: r }, i("input", { class: "password__complexity--checkbox", type: "checkbox", checked: a.passed, disabled: !0 }), i("span", null, s(`${a.ruleKey}`, this.language) ? s(`${a.ruleKey}`, this.language) : a.rule)))));
292
- }
293
- render() {
294
- let e = "";
295
- return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), i("div", { key: "d5757f6d03b0c3ad30b57b9c62d8cd7c8802a37a", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, i("div", { key: "7e7508731d7397b6c578335715c711ea97c46d3a", class: "password__wrapper--flex" }, i("label", { key: "ce4fd50f4f9ae7fb772df496784a3869e29618b6", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), i("div", { key: "640fa5664eede59b585bfd314854615cf4da46c1", class: "password__wrapper--relative" }, this.tooltip && i("img", { key: "0c0d0d71bf84c3ab6b0804424405ffacb1e87660", class: "password__tooltip-icon", src: c, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), i("vaadin-password-field", { key: "4a966b226d6ec04fbebcad8cf12896bbc05b84fa", 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: "1218d65c065a0dcc1b17d1422e08849b9b3de5ce", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
296
- }
297
- get element() {
298
- return u(this);
299
- }
300
- static get watchers() {
301
- return {
302
- clientStyling: ["handleStylingChange"],
303
- isValid: ["validityChanged"],
304
- value: ["valueChanged"],
305
- emitValue: ["emitValueHandler"]
306
- };
307
- }
308
- };
309
- w.style = g;
310
- export {
311
- w as password_input,
312
- b as player_change_password_gm2
313
- };
@@ -1 +0,0 @@
1
- "use strict";const i=require("./index-9cd44522-CqgRbQOU.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,25 +0,0 @@
1
- var u = (e, i, a) => new Promise((s, d) => {
2
- var o = (l) => {
3
- try {
4
- t(a.next(l));
5
- } catch (n) {
6
- d(n);
7
- }
8
- }, g = (l) => {
9
- try {
10
- t(a.throw(l));
11
- } catch (n) {
12
- d(n);
13
- }
14
- }, t = (l) => l.done ? s(l.value) : Promise.resolve(l.value).then(o, g);
15
- t((a = a.apply(e, i)).next());
16
- });
17
- import { b as p, p as c } from "./index-9cd44522-C0ycW8_E.js";
18
- import { g as m } from "./app-globals-0f993ce5-DzSE6TtH.js";
19
- var r = () => {
20
- const e = import.meta.url, i = {};
21
- return e !== "" && (i.resourcesUrl = new URL(".", e).href), c(i);
22
- };
23
- r().then((e) => u(void 0, null, function* () {
24
- return yield m(), p([["password-input_2", [[1, "player-change-password-gm2", { language: [513], endpoint: [513], session: [513], token: [513], forgotMode: [513, "forgot-mode"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], mbSource: [1, "mb-source"], translationUrl: [513, "translation-url"], isBtnSubmitEnabled: [32], isMobile: [32] }, [[0, "sendValidityState", "sendValidityStateHandler"], [0, "sendInputValue", "sendInputValueHandler"]], { clientStyling: ["handleClientStylingChange", "handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }], [1, "password-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32], passwordComplexity: [32], showPopup: [32], value: [32] }, [[16, "sendOriginalValidityState", "originalValidityChangedHandler"], [16, "sendInputValue", "valueChangedHandler"], [4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], value: ["valueChanged"], emitValue: ["emitValueHandler"] }]]], ["checkbox-group-input_9", [[1, "checkbox-group-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], options: [16], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32], selectedValues: [32], showCheckboxes: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], selectedValues: ["setValue"], emitValue: ["emitValueHandler"] }], [1, "checkbox-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "date-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], dateFormat: [513, "date-format"], emitOnClick: [516, "emit-on-click"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "email-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"], [16, "sendInputValue", "valueChangedHandler"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "number-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "radio-input", { name: [513], displayName: [513, "display-name"], optionsGroup: [16], validation: [16], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "select-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], action: [513], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], options: [16], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "tel-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], showLabels: [516, "show-labels"], action: [513], validation: [16], defaultValue: [520, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "text-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], checkValidity: [516, "check-validity"], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"], [16, "sendInputValue", "valueChangedHandler"], [16, "validationChange", "handleValidationChange"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }]]], ["general-input", [[1, "general-input", { type: [513], name: [513], displayName: [513, "display-name"], placeholder: [513], action: [513], validation: [16], options: [520], language: [513], autofilled: [516], tooltip: [513], defaultValue: [520, "default-value"], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [520, "client-styling"], dateFormat: [513, "date-format"], translationUrl: [513, "translation-url"], emitOnClick: [516, "emit-on-click"] }]]], ["toggle-checkbox-input", [[1, "toggle-checkbox-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], options: [16], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32], showFields: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"] }]]]], e);
25
- }));
@@ -1 +0,0 @@
1
- "use strict";var s=(l,i,a)=>new Promise((g,u)=>{var p=e=>{try{t(a.next(e))}catch(n){u(n)}},c=e=>{try{t(a.throw(e))}catch(n){u(n)}},t=e=>e.done?g(e.value):Promise.resolve(e.value).then(p,c);t((a=a.apply(l,i)).next())});const o=require("./index-9cd44522-CqgRbQOU.cjs"),r=require("./app-globals-0f993ce5-DgYhdguE.cjs");var d=typeof document!="undefined"?document.currentScript:null,m=()=>{const l=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:d&&d.tagName.toUpperCase()==="SCRIPT"&&d.src||new URL("stencil/player-change-password-gm2-COxZYE4t.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),o.promiseResolve(i)};m().then(l=>s(exports,null,function*(){return yield r.globalScripts(),o.bootstrapLazy([["password-input_2",[[1,"player-change-password-gm2",{language:[513],endpoint:[513],session:[513],token:[513],forgotMode:[513,"forgot-mode"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[513,"translation-url"],isBtnSubmitEnabled:[32],isMobile:[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}]]],["checkbox-group-input_9",[[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32],showCheckboxes:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]],["general-input",[[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"]}]]],["toggle-checkbox-input",[[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"]}]]]],l)}));
@@ -1,7 +0,0 @@
1
- import { b as i, p as a } from "./index-9cd44522--OAp7ePk.js";
2
- import { g as t } from "./app-globals-0f993ce5-DzSE6TtH.js";
3
- var n = () => {
4
- const l = import.meta.url, e = {};
5
- return l !== "" && (e.resourcesUrl = new URL(".", l).href), a(e);
6
- };
7
- n().then(async (l) => (await t(), i([["password-input_2", [[1, "player-change-password-gm2", { language: [513], endpoint: [513], session: [513], token: [513], forgotMode: [513, "forgot-mode"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], mbSource: [1, "mb-source"], translationUrl: [513, "translation-url"], isBtnSubmitEnabled: [32], isMobile: [32] }, [[0, "sendValidityState", "sendValidityStateHandler"], [0, "sendInputValue", "sendInputValueHandler"]], { clientStyling: ["handleClientStylingChange", "handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }], [1, "password-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32], passwordComplexity: [32], showPopup: [32], value: [32] }, [[16, "sendOriginalValidityState", "originalValidityChangedHandler"], [16, "sendInputValue", "valueChangedHandler"], [4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], value: ["valueChanged"], emitValue: ["emitValueHandler"] }]]], ["checkbox-group-input_9", [[1, "checkbox-group-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], options: [16], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32], selectedValues: [32], showCheckboxes: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], selectedValues: ["setValue"], emitValue: ["emitValueHandler"] }], [1, "checkbox-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "date-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], dateFormat: [513, "date-format"], emitOnClick: [516, "emit-on-click"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "email-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"], [16, "sendInputValue", "valueChangedHandler"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "number-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "radio-input", { name: [513], displayName: [513, "display-name"], optionsGroup: [16], validation: [16], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "select-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], action: [513], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], options: [16], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "tel-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], showLabels: [516, "show-labels"], action: [513], validation: [16], defaultValue: [520, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "text-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], checkValidity: [516, "check-validity"], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"], [16, "sendInputValue", "valueChangedHandler"], [16, "validationChange", "handleValidationChange"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }]]], ["general-input", [[1, "general-input", { type: [513], name: [513], displayName: [513, "display-name"], placeholder: [513], action: [513], validation: [16], options: [520], language: [513], autofilled: [516], tooltip: [513], defaultValue: [520, "default-value"], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [520, "client-styling"], dateFormat: [513, "date-format"], translationUrl: [513, "translation-url"], emitOnClick: [516, "emit-on-click"] }]]], ["toggle-checkbox-input", [[1, "toggle-checkbox-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], options: [16], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32], showFields: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"] }]]]], l)));