@everymatrix/player-elevate-level 1.65.3 → 1.66.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.
- package/dist/cjs/user-login.cjs.entry.js +52 -35
- package/dist/esm/user-login.entry.js +52 -35
- package/dist/player-elevate-level/{p-802e0304.entry.js → p-f30f618d.entry.js} +101 -102
- package/dist/player-elevate-level/player-elevate-level.esm.js +1 -1
- package/package.json +1 -1
- /package/dist/types/Users/{raul.vasile/workspace/everymatrix → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-level/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
- /package/dist/types/Users/{raul.vasile/workspace/everymatrix → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-level/.stencil/packages/stencil/player-elevate-level/stencil.config.d.ts +0 -0
- /package/dist/types/Users/{raul.vasile/workspace/everymatrix → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-level/.stencil/packages/stencil/player-elevate-level/stencil.config.dev.d.ts +0 -0
- /package/dist/types/Users/{raul.vasile/workspace/everymatrix → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-level/.stencil/packages/stencil/player-elevate-level/storybook/main.d.ts +0 -0
- /package/dist/types/Users/{raul.vasile/workspace/everymatrix → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-level/.stencil/packages/stencil/player-elevate-level/storybook/preview.d.ts +0 -0
- /package/dist/types/Users/{raul.vasile/workspace/everymatrix → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-level/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{raul.vasile/workspace/everymatrix → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-level/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{raul.vasile/workspace/everymatrix → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-level/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{raul.vasile/workspace/everymatrix → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/player-elevate-level/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -14,14 +14,15 @@ const TRANSLATIONS = {
|
|
|
14
14
|
"userPrefix": "Phone prefix",
|
|
15
15
|
"password": "Password",
|
|
16
16
|
"login": "Login",
|
|
17
|
-
"genericError": "An unexpected error has
|
|
17
|
+
"genericError": "An unexpected error has occurred",
|
|
18
18
|
"successMessage": "Login successful",
|
|
19
19
|
"Forbidden_UserAccount_Blocked": "Player account blocked",
|
|
20
20
|
"GmErr_USER_ACCOUNT_BLOCKED": "You’re currently unable to login to your account - please contact Customer Services for more information.",
|
|
21
21
|
"setUpPassowrd": "You need to reset your password",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
22
|
+
"GmErr_USER_AUTH_FAILED": "The username/email address and/or password entered is incorrect.",
|
|
23
|
+
"AuthFailedPhoneNumber": "The phone number and/or password entered is incorrect.",
|
|
24
|
+
"CountryRestricted": "Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
|
|
25
|
+
"configError": "An unexpected error has occurred when fetching the configuration",
|
|
25
26
|
"userEmailError": "The email or username have an invalid format.",
|
|
26
27
|
"userPhoneError": "The prefix or the phone number have an invalid format.",
|
|
27
28
|
"userPasswordError": "The password has an invalid format."
|
|
@@ -39,7 +40,8 @@ const TRANSLATIONS = {
|
|
|
39
40
|
"Forbidden_UserAccount_Blocked": "Oyuncu hesabı engellendi",
|
|
40
41
|
"GmErr_USER_ACCOUNT_BLOCKED": "Şu anda hesabınıza giriş yapamıyorsunuz - daha fazla bilgi için Müşteri Hizmetleri ile iletişime geçin.",
|
|
41
42
|
"setUpPassowrd": "Şifrenizi sıfırlamanız gerekiyor",
|
|
42
|
-
"
|
|
43
|
+
"GmErr_USER_AUTH_FAILED": "Girilen kullanıcı adı/e-posta adresi ve/veya şifre yanlış.",
|
|
44
|
+
"AuthFailedPhoneNumber": "Girilen telefon numarası ve/veya şifre yanlış.",
|
|
43
45
|
"CountryRestricted": "Kısıtlı bir yargı bölgesinden kayıt yapılamaz. Daha fazla sorunla karşılaşırsanız, lütfen destek ile iletişime geçin.",
|
|
44
46
|
"configError": "Yapılandırma alınırken beklenmeyen bir hata oluştu",
|
|
45
47
|
"userEmailError": "E-posta veya kullanıcı adı geçersiz bir formata sahip.",
|
|
@@ -59,8 +61,9 @@ const TRANSLATIONS = {
|
|
|
59
61
|
"Forbidden_UserAccount_Blocked": "Player account blocked",
|
|
60
62
|
"GmErr_USER_ACCOUNT_BLOCKED": "You’re currently unable to login to your account - please contact Customer Services for more information.",
|
|
61
63
|
"setUpPassowrd": "You need to reset your password",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
+
"GmErr_USER_AUTH_FAILED": "The username/email address and/or password entered is incorrect.",
|
|
65
|
+
"AuthFailedPhoneNumber": "The phone number and/or password entered is incorrect.",
|
|
66
|
+
"CountryRestricted": "Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
|
|
64
67
|
"configError": "An unexpected error has occured when fetchig the configuration",
|
|
65
68
|
"userEmailError": "The email or username have an invalid format.",
|
|
66
69
|
"userPhoneError": "The prefix or the phone number have an invalid format.",
|
|
@@ -79,7 +82,8 @@ const TRANSLATIONS = {
|
|
|
79
82
|
"Forbidden_UserAccount_Blocked": "Contul de jucător este blocat",
|
|
80
83
|
"GmErr_USER_ACCOUNT_BLOCKED": "În prezent, nu vă puteți conecta la contul dvs. - vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",
|
|
81
84
|
"setUpPassowrd": "Trebuie să vă resetați parola",
|
|
82
|
-
"
|
|
85
|
+
"GmErr_USER_AUTH_FAILED": "Numele de utilizator/adresa de e-mail și/sau parola introduse sunt incorecte.",
|
|
86
|
+
"AuthFailedPhoneNumber": "Numărul de telefon și/sau parola introduse sunt incorecte.",
|
|
83
87
|
"CountryRestricted": "Înregistrarea nu este posibilă dintr-o jurisdicție restricționată. Dacă întâmpinați alte probleme, vă rugăm să contactați asistența.",
|
|
84
88
|
"configError": "A apărut o eroare neașteptată la preluarea configurației",
|
|
85
89
|
"userEmailError": "Emailul sau numele de utilizator au un format invalid.",
|
|
@@ -99,7 +103,8 @@ const TRANSLATIONS = {
|
|
|
99
103
|
"setUpPassowrd": "Morate resetirati svoju lozinku",
|
|
100
104
|
"Forbidden_UserAccount_Blocked": "Vaš račun je blokiran",
|
|
101
105
|
"GmErr_USER_ACCOUNT_BLOCKED": "Trenutno se ne možete prijaviti na svoj račun - molimo kontaktirajte Službu za korisnike za više informacija.",
|
|
102
|
-
"
|
|
106
|
+
"GmErr_USER_AUTH_FAILED": "Uneseno korisničko ime/adresa e-pošte i/ili lozinka su netočni.",
|
|
107
|
+
"AuthFailedPhoneNumber": "Uneseni broj telefona i/ili lozinka su netočni.",
|
|
103
108
|
"CountryRestricted": "Prijava nije moguća iz zemlje ograničene jurisdikcije. U slučaju daljnjih poteškoća, molimo kontaktirajte podršku.",
|
|
104
109
|
"configError": "Došlo je do neočekivane pogreške prilikom dohvaćanja konfiguracije",
|
|
105
110
|
"userEmailError": "E-mail ili korisničko ime imaju nevažeći format.",
|
|
@@ -119,7 +124,8 @@ const TRANSLATIONS = {
|
|
|
119
124
|
"Forbidden_UserAccount_Blocked": "Compte joueur bloqué",
|
|
120
125
|
"GmErr_USER_ACCOUNT_BLOCKED": "Vous ne pouvez actuellement pas vous connecter à votre compte - veuillez contacter le service client pour plus d'informations.",
|
|
121
126
|
"setUpPassowrd": "Vous devez réinitialiser votre mot de passe",
|
|
122
|
-
"
|
|
127
|
+
"GmErr_USER_AUTH_FAILED": "Le nom d'utilisateur/adresse e-mail et/ou le mot de passe saisis sont incorrects.",
|
|
128
|
+
"AuthFailedPhoneNumber": "Le numéro de téléphone et/ou le mot de passe saisis sont incorrects.",
|
|
123
129
|
"CountryRestricted": "L'inscription n'est pas possible depuis une juridiction restreinte. Si vous rencontrez d'autres problèmes, veuillez contacter le support.",
|
|
124
130
|
"configError": "Une erreur inattendue s'est produite lors de la récupération de la configuration",
|
|
125
131
|
"userEmailError": "L'email ou le nom d'utilisateur ont un format invalide.",
|
|
@@ -139,7 +145,8 @@ const TRANSLATIONS = {
|
|
|
139
145
|
"Forbidden_UserAccount_Blocked": "Player account blocked",
|
|
140
146
|
"GmErr_USER_ACCOUNT_BLOCKED": "Momentálně se nemůžete přihlásit ke svému účtu - pro více informací kontaktujte zákaznický servis.",
|
|
141
147
|
"setUpPassowrd": "Musíte resetovat své heslo",
|
|
142
|
-
"
|
|
148
|
+
"GmErr_USER_AUTH_FAILED": "Zadané uživatelské jméno/e-mailová adresa a/nebo heslo jsou nesprávné.",
|
|
149
|
+
"AuthFailedPhoneNumber": "Zadané telefonní číslo a/nebo heslo jsou nesprávné.",
|
|
143
150
|
"CountryRestricted": "Registrace není možná z omezené jurisdikce. Pokud narazíte na další potíže, kontaktujte prosím podporu.",
|
|
144
151
|
"configError": "Při načítání konfigurace došlo k neočekávané chybě",
|
|
145
152
|
"userEmailError": "E-mail nebo uživatelské jméno mají neplatný formát.",
|
|
@@ -159,7 +166,8 @@ const TRANSLATIONS = {
|
|
|
159
166
|
"Forbidden_UserAccount_Blocked": "Spielerkonto gesperrt",
|
|
160
167
|
"GmErr_USER_ACCOUNT_BLOCKED": "Sie können sich derzeit nicht in Ihr Konto einloggen - bitte kontaktieren Sie den Kundenservice für weitere Informationen.",
|
|
161
168
|
"setUpPassowrd": "Sie müssen Ihr Passwort zurücksetzen",
|
|
162
|
-
"
|
|
169
|
+
"GmErr_USER_AUTH_FAILED": "Der eingegebene Benutzername/die E-Mail-Adresse und/oder das Passwort sind falsch.",
|
|
170
|
+
"AuthFailedPhoneNumber": "Die eingegebene Telefonnummer und/oder das Passwort sind falsch.",
|
|
163
171
|
"CountryRestricted": "Eine Registrierung ist aus einer eingeschränkten Gerichtsbarkeit nicht möglich. Wenn Sie weitere Probleme haben, wenden Sie sich bitte an den Support.",
|
|
164
172
|
"configError": "Beim Abrufen der Konfiguration ist ein unerwarteter Fehler aufgetreten",
|
|
165
173
|
"userEmailError": "Die E-Mail oder der Benutzername haben ein ungültiges Format.",
|
|
@@ -179,7 +187,8 @@ const TRANSLATIONS = {
|
|
|
179
187
|
"Forbidden_UserAccount_Blocked": "Conta de jogador bloqueada",
|
|
180
188
|
"GmErr_USER_ACCOUNT_BLOCKED": "Você não pode fazer login na sua conta no momento - entre em contato com o Atendimento ao Cliente para mais informações.",
|
|
181
189
|
"setUpPassowrd": "Você precisa redefinir sua senha",
|
|
182
|
-
"
|
|
190
|
+
"GmErr_USER_AUTH_FAILED": "O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",
|
|
191
|
+
"AuthFailedPhoneNumber": "O número de telefone e/ou a senha inseridos estão incorretos.",
|
|
183
192
|
"CountryRestricted": "O registro não é possível a partir de uma jurisdição restrita. Caso encontre outros problemas, entre em contato com o suporte.",
|
|
184
193
|
"configError": "Ocorreu um erro inesperado ao buscar a configuração",
|
|
185
194
|
"userEmailError": "O e-mail ou nome de usuário têm um formato inválido.",
|
|
@@ -199,7 +208,8 @@ const TRANSLATIONS = {
|
|
|
199
208
|
"Forbidden_UserAccount_Blocked": "Cuenta de jugador bloqueada",
|
|
200
209
|
"GmErr_USER_ACCOUNT_BLOCKED": "Actualmente no puede iniciar sesión en su cuenta - comuníquese con el Servicio al Cliente para obtener más información.",
|
|
201
210
|
"setUpPassowrd": "Necesitas restablecer tu contraseña",
|
|
202
|
-
"
|
|
211
|
+
"GmErr_USER_AUTH_FAILED": "El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",
|
|
212
|
+
"AuthFailedPhoneNumber": "El número de teléfono y/o la contraseña ingresados son incorrectos.",
|
|
203
213
|
"CountryRestricted": "El registro no es posible desde una jurisdicción restringida. Si encuentra más problemas, por favor contacte al soporte.",
|
|
204
214
|
"configError": "Se ha producido un error inesperado al obtener la configuración",
|
|
205
215
|
"userEmailError": "El correo electrónico o nombre de usuario tienen un formato inválido.",
|
|
@@ -219,7 +229,8 @@ const TRANSLATIONS = {
|
|
|
219
229
|
"Forbidden_UserAccount_Blocked": "Cuenta de jugador bloqueada",
|
|
220
230
|
"GmErr_USER_ACCOUNT_BLOCKED": "Actualmente no puede iniciar sesión en su cuenta - comuníquese con el Servicio al Cliente para obtener más información.",
|
|
221
231
|
"setUpPassowrd": "Necesitas restablecer tu contraseña",
|
|
222
|
-
"
|
|
232
|
+
"GmErr_USER_AUTH_FAILED": "El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",
|
|
233
|
+
"AuthFailedPhoneNumber": "El número de teléfono y/o la contraseña ingresados son incorrectos.",
|
|
223
234
|
"CountryRestricted": "No es posible registrarse desde una jurisdicción restringida. Si encuentra más problemas, comuníquese con el soporte.",
|
|
224
235
|
"configError": "Se ha producido un error inesperado al obtener la configuración",
|
|
225
236
|
"userEmailError": "El correo electrónico o nombre de usuario tienen un formato inválido.",
|
|
@@ -239,7 +250,8 @@ const TRANSLATIONS = {
|
|
|
239
250
|
"Forbidden_UserAccount_Blocked": "Conta de jogador bloqueada",
|
|
240
251
|
"GmErr_USER_ACCOUNT_BLOCKED": "Você não pode fazer login na sua conta no momento - entre em contato com o Atendimento ao Cliente para mais informações.",
|
|
241
252
|
"setUpPassowrd": "Você precisa redefinir a sua senha",
|
|
242
|
-
"
|
|
253
|
+
"GmErr_USER_AUTH_FAILED": "O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",
|
|
254
|
+
"AuthFailedPhoneNumber": "O número de telefone e/ou a senha inseridos estão incorretos.",
|
|
243
255
|
"CountryRestricted": "Não é possível se registrar de uma jurisdição restrita. Se encontrar mais problemas, entre em contato com o suporte.",
|
|
244
256
|
"configError": "Ocorreu um erro inesperado ao procurar a configuração",
|
|
245
257
|
"userEmailError": "O e-mail ou nome de usuário têm um formato inválido.",
|
|
@@ -358,7 +370,7 @@ const dispatchCustomEvent = (type, data = {}) => {
|
|
|
358
370
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
359
371
|
*/
|
|
360
372
|
|
|
361
|
-
function defineCustomElement(CustomElement, version = '24.5.
|
|
373
|
+
function defineCustomElement(CustomElement, version = '24.5.12') {
|
|
362
374
|
Object.defineProperty(CustomElement, 'version', {
|
|
363
375
|
get() {
|
|
364
376
|
return version;
|
|
@@ -406,26 +418,26 @@ defineCustomElement(Lumo);
|
|
|
406
418
|
* Copyright 2019 Google LLC
|
|
407
419
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
408
420
|
*/
|
|
409
|
-
const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$
|
|
421
|
+
const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$3=new WeakMap;class n$2{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$3.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$3.set(s,t));}return t}toString(){return this.cssText}}const r$2=t=>new n$2("string"==typeof t?t:t+"",void 0,s$2),i$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$2)},S$1=(s,o)=>{if(e$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
|
|
410
422
|
|
|
411
423
|
/**
|
|
412
424
|
* @license
|
|
413
425
|
* Copyright 2017 Google LLC
|
|
414
426
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
415
|
-
*/const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:
|
|
427
|
+
*/const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:h$1,getOwnPropertyNames:r$1,getOwnPropertySymbols:o$2,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$2(t,s),b={attribute:!0,type:String,converter:u$1,reflect:!1,useDefault:!1,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=b){if(s.state&&(s.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=!0),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),h=this.getPropertyDescriptor(t,i,s);void 0!==h&&e$1(this.prototype,t,h);}}static getPropertyDescriptor(t,s,i){const{get:e,set:r}=h$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get:e,set(s){const h=e?.call(this);r?.call(this,s),this.requestUpdate(t,h,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...r$1(t),...o$2(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const h=(void 0!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==h?this.removeAttribute(e):this.setAttribute(e,h),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=h.fromAttribute(s,t.type)??this._$Ej?.get(e)??null,this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,h=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??f$1)(h,s)||i.useDefault&&i.reflect&&h===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$EP());}C(t,s,{useDefault:i,reflect:e,wrapped:h},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),!0!==h||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),!0===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t));}async _$EP(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];!0!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e);}}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM();}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EM(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM();}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[d$1("elementProperties")]=new Map,y[d$1("finalized")]=new Map,p$1?.({ReactiveElement:y}),(a$1.reactiveElementVersions??=[]).push("2.1.0");
|
|
416
428
|
|
|
417
429
|
/**
|
|
418
430
|
* @license
|
|
419
431
|
* Copyright 2017 Google LLC
|
|
420
432
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
421
433
|
*/
|
|
422
|
-
const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r
|
|
434
|
+
const t=globalThis,i$1=t.trustedTypes,s$1=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$1="?"+h,n=`<${o$1}>`,r=document,l=()=>r.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r.createTreeWalker(r,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1?s$1.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push("3.3.0");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
423
435
|
|
|
424
436
|
/**
|
|
425
437
|
* @license
|
|
426
438
|
* Copyright 2017 Google LLC
|
|
427
439
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
428
|
-
*/class
|
|
440
|
+
*/const s=globalThis;class i extends y{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(r,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T}}i._$litElement$=!0,i["finalized"]=!0,s.litElementHydrateSupport?.({LitElement:i});const o=s.litElementPolyfillSupport;o?.({LitElement:i});(s.litElementVersions??=[]).push("4.2.0");
|
|
429
441
|
|
|
430
442
|
/**
|
|
431
443
|
* @license
|
|
@@ -588,7 +600,7 @@ function updateInstanceStyles(instance) {
|
|
|
588
600
|
|
|
589
601
|
const componentClass = instance.constructor;
|
|
590
602
|
|
|
591
|
-
if (instance instanceof
|
|
603
|
+
if (instance instanceof i) {
|
|
592
604
|
// LitElement
|
|
593
605
|
|
|
594
606
|
// The adoptStyles function may fall back to appending style elements to shadow root.
|
|
@@ -629,7 +641,7 @@ function updateInstanceStylesOfType(componentClass) {
|
|
|
629
641
|
* @param {Function} componentClass
|
|
630
642
|
*/
|
|
631
643
|
function updateComponentStyles(componentClass) {
|
|
632
|
-
if (componentClass.prototype instanceof
|
|
644
|
+
if (componentClass.prototype instanceof i) {
|
|
633
645
|
// Update LitElement-based component's elementStyles
|
|
634
646
|
componentClass.elementStyles = componentClass.finalizeStyles(componentClass.styles);
|
|
635
647
|
} else {
|
|
@@ -22076,7 +22088,12 @@ const UserLogin = class {
|
|
|
22076
22088
|
// handles errors thrown by api
|
|
22077
22089
|
this.hasError = true;
|
|
22078
22090
|
this.errorCode = (_b = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _b === void 0 ? void 0 : _b.errorCode;
|
|
22079
|
-
|
|
22091
|
+
if (this.errorCode === 'GmErr_USER_AUTH_FAILED' && this.loginByPhoneNumber === 'true') {
|
|
22092
|
+
this.errorMessage = translate$1('AuthFailedPhoneNumber', this.lang);
|
|
22093
|
+
}
|
|
22094
|
+
else {
|
|
22095
|
+
this.errorMessage = translate$1(`${this.errorCode}`, this.lang) || ((_c = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _c === void 0 ? void 0 : _c.message) || translate$1('genericError', this.lang);
|
|
22096
|
+
}
|
|
22080
22097
|
if (this.errorMessage) {
|
|
22081
22098
|
console.error(this.errorMessage);
|
|
22082
22099
|
this.sendErrorNotification(this.errorMessage);
|
|
@@ -22429,20 +22446,20 @@ const UserLogin = class {
|
|
|
22429
22446
|
* Render function
|
|
22430
22447
|
*/
|
|
22431
22448
|
render() {
|
|
22432
|
-
let visibilityIcon = index.h("span", { key: '
|
|
22433
|
-
index.h("svg", { key: '
|
|
22434
|
-
index.h("svg", { key: '
|
|
22435
|
-
let userIdentification = index.h("div", { key: '
|
|
22449
|
+
let visibilityIcon = index.h("span", { key: '0567bd04c49ef7b4a31de0bf508a363d0bbaa26a', class: "InputIcon" }, this.isPasswordVisible &&
|
|
22450
|
+
index.h("svg", { key: '793920403180085cf7c365673b8302eb6aaacc4c', onClick: () => this.togglePassword(), class: "TogglePasswordVisibility", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.844", height: "12.887", viewBox: "0 0 18.844 12.887" }, index.h("g", { key: 'ae7bd644effa0491711d4b516a7059a91ee3b476', transform: "translate(-110.856 -23.242)" }, index.h("circle", { key: '9fab6b1cd86bfe21fbf1a2d87a1e2e35280ade02', class: "PasswordVisibilityIcon", cx: "0.05", cy: "0.05", r: "0.05", transform: "translate(121.017 31.148)" }), index.h("g", { key: '0152c671924811b7718e9b580c5a611b884bcd44', transform: "translate(117.499 27.37)" }, index.h("path", { key: '626a3631ab6eac6d793f3ea0648753784ce8af32', class: "PasswordVisibilityIcon", d: "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z", transform: "translate(-142.164 -39.123)" }), index.h("path", { key: '026fe2d110810902b89f1d30616a800be8ae3d3f', class: "PasswordVisibilityIcon", d: "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z", transform: "translate(-136.413 -42.068)" })), index.h("g", { key: 'caabae285980948b1c782486f47fd6e1afefdb5a', transform: "translate(110.856 24.899)" }, index.h("path", { key: '7edbbd6bd63f49875b2e9e5d58447147f5005d40', class: "PasswordVisibilityIcon", d: "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z", transform: "translate(-110.856 -33.157)" }), index.h("path", { key: 'c9ebd5b3c2d560b7a63a47c3b90fef0f8bb27d32', class: "PasswordVisibilityIcon", d: "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z", transform: "translate(-130.743 -29.617)" })), index.h("rect", { key: '493569ad725c98735032bb95be827c31a34954ed', class: "PasswordVisibilityIcon", width: "0.972", height: "15.861", rx: "0.486", transform: "translate(114.827 23.858) rotate(-39.315)" }))), !this.isPasswordVisible &&
|
|
22451
|
+
index.h("svg", { key: '82446b94cc27200bae6a4bbff93122ba81bcced8', onClick: () => this.togglePassword(), class: "TogglePasswordVisibility PasswordVisible", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.843", height: "10.5", viewBox: "0 0 18.843 10.5" }, index.h("g", { key: '84c9ca1a06fb0ee05a9a8f221d4692134be398b6', transform: "translate(-14.185 -27.832)" }, index.h("path", { key: 'f224a2009b2188a9818055aa32f57784ca075d6e', class: "PasswordVisibilityIcon", d: "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z", transform: "translate(0)" }), index.h("circle", { key: '8b393ae40f3a6b828fa98fac6049162fddd66252', class: "PasswordVisibilityIcon", cx: "2.779", cy: "2.779", r: "2.779", transform: "translate(20.827 30.303)" }))));
|
|
22452
|
+
let userIdentification = index.h("div", { key: '5d4c897408d2d4851569820e72257cfa26238827', class: "FormBox" }, index.h("div", { key: '125282b434d58a2ae594ff8c8de5acec7b16c6a0', class: "FormValue", onKeyDown: this.handleSubmit }, this.loginByPhoneNumber === 'true'
|
|
22436
22453
|
? index.h("div", { class: (!this.isValidUserPhone && this.hasError) ? 'InputBox InputInvalidBox' : 'InputBox ' }, index.h("div", { class: "PhoneInputBox" }, index.h("div", { class: "PrefixBox" }, index.h("vaadin-combo-box", { items: this.userPrefixOptions, value: this.userPrefix, onChange: this.handleInputChangePartial('prefix') }), index.h("label", { class: (this.userPrefix ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone && this.errorForFields['phone'] ? 'FieldInvalid' : '') }, translate$1('userPrefix', this.lang))), index.h("div", { class: "PhoneBox" }, index.h("input", { type: "text", placeholder: '', value: this.userPhone, onFocus: this.handleInputChangePartial('phone'), onInput: this.handleInputChangePartial('phone'), autocapitalize: "none", required: true }), index.h("label", { class: (this.userPhone ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone && this.errorForFields['phone'] ? 'FieldInvalid' : '') }, translate$1('userPhone', this.lang)), !this.isValidUserPhone && this.errorForFields['phone'] &&
|
|
22437
22454
|
index.h("p", { class: "CredentialsError" }, translate$1('userPhoneError', this.lang)))))
|
|
22438
22455
|
: index.h("div", { class: (!this.isValidUserEmail && this.errorForFields['user']) ? 'InputBox InputInvalidBox' : 'InputBox' }, index.h("input", { type: "text", placeholder: '', value: this.userNameEmail, onInput: this.handleInputChangePartial('user'), autocapitalize: "none", required: true }), index.h("label", { class: (this.userNameEmail ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserEmail && this.errorForFields['user'] ? 'FieldInvalid' : '') }, translate$1('userEmail', this.lang)), !this.isValidUserEmail && this.errorForFields['user'] &&
|
|
22439
|
-
index.h("p", { class: "CredentialsError" }, translate$1('userEmailError', this.lang))), index.h("div", { key: '
|
|
22440
|
-
index.h("p", { key: '
|
|
22441
|
-
index.h("div", { key: '
|
|
22442
|
-
index.h("slot", { key: '
|
|
22443
|
-
index.h("slot", { key: '
|
|
22444
|
-
index.h("p", { key: '
|
|
22445
|
-
return index.h("section", { key: '
|
|
22456
|
+
index.h("p", { class: "CredentialsError" }, translate$1('userEmailError', this.lang))), index.h("div", { key: '456fadfe988ea1327a908309c42789f27f2c9ff9', class: (!this.isValidPassword && this.errorForFields['password']) ? 'InputBox InputInvalidBox' : 'InputBox' }, visibilityIcon, index.h("input", { key: 'bf19272a751547f3a7dad0be9d7030dd68135664', type: this.isPasswordVisible ? "text" : "password", placeholder: '', value: this.userPassword, onInput: this.handleInputChangePartial('password'), autocapitalize: "none", required: true }), index.h("label", { key: '8b9a0ca4110096c2e7c08be75069c452b5c5da9c', class: (this.userPassword ? 'FieldFilledIn' : '') + ' ' + (!this.isValidPassword && this.errorForFields['password'] ? 'FieldInvalid' : '') }, translate$1('password', this.lang)), !this.isValidPassword && this.errorForFields['password'] &&
|
|
22457
|
+
index.h("p", { key: '17c314a82f4e15adff8918086af85e6452d4fc7d', class: "CredentialsError" }, translate$1('userPasswordError', this.lang))), this.passwordReset == 'true' &&
|
|
22458
|
+
index.h("div", { key: 'c4271c3b1f65174824b1d5a137e9562f98588f4d', class: "ForgotPassword" }, index.h("button", { key: '2e9cd528e7581c8997a40dddadd932ceb724d18f', onClick: this.resetPassword }, translate$1('forgotPassword', this.lang))), this.captchaData.isEnabled && this.captchaData.provider === 'cloudflare' &&
|
|
22459
|
+
index.h("slot", { key: 'c0d8ed9cf6fa85982bc9ca89378f359f5db9d375', name: "turnstile" }), this.captchaData.isEnabled && this.captchaData.provider === 'google' &&
|
|
22460
|
+
index.h("slot", { key: '7f63f3ea8413a3f3fcc91270de43a4cc81c0db39', name: "google" }), index.h("button", { key: '3d490cbd64e75c330c2884dc00fa76fb076b278d', disabled: this.checkIsDisabled(), class: "SubmitCredentials", onClick: this.handleLogin }, translate$1('login', this.lang)), this.hasError &&
|
|
22461
|
+
index.h("p", { key: 'b4e37899e35f7c0ba2eb158aebb7c676a61834cb', class: "CredentialsError" }, this.errorMessage)));
|
|
22462
|
+
return index.h("section", { key: '3a37084eea3c0d356eb0869f9113c173095bd33f', ref: el => this.stylingContainer = el }, userIdentification);
|
|
22446
22463
|
}
|
|
22447
22464
|
static get watchers() { return {
|
|
22448
22465
|
"translationUrl": ["handleNewTranslations"],
|